@omnia/fx 8.0.149-dev → 8.0.151-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/Exposes.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/TokenBasedRouter.d.ts +6 -4
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/admin/AdminRouter.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/appprovisioning/appinstanceeditingjourney/EditProperiesBlade.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/store/index.d.ts +0 -1
- package/internal-do-not-import-from-here/ux/journey/JourneyBlade.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyRouterStore.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/oxide/btn/Button.d.ts +9 -9
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +47 -21
- package/internal-do-not-import-from-here/ux/velcron/components/definitionpicker/VelcronDefinitionPicker.d.ts +8 -8
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronDefinitions.d.ts +3 -1
- package/internal-do-not-import-from-here/ux/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +4 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/components/AddApp.d.ts +51 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/components/AddComponent.d.ts +50 -15
- package/internal-do-not-import-from-here/ux/velcron/editor/components/AppExplorer.d.ts +67 -15
- package/internal-do-not-import-from-here/ux/velcron/editor/components/EditorCanvas.css.d.ts +0 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/components/EditorCanvas.d.ts +51 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/components/StateTree.d.ts +69 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/components/panels/edit-component/PropertiesPanel.d.ts +3 -3
- package/internal-do-not-import-from-here/ux/velcron/editor/models/BuiltInDescriptors.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/models/Enums.d.ts +5 -0
- package/internal-do-not-import-from-here/ux/velcron/editor/models/VelcronDescriptors.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/velcron/editor/stores/VelcronEditorStore.d.ts +57 -17
- package/internal-do-not-import-from-here/ux/velcron/index.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ReferenceEditor.d.ts +62 -0
- package/internal-do-not-import-from-here/ux/velcron/stores/index.d.ts +1 -0
- package/package.json +2 -2
- /package/internal-do-not-import-from-here/ux/{aurora/store → velcron/stores}/VelcronDefinitionStore.d.ts +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ITokenBasedRouteContext, TokenBasedRouteStateData, IMessageBusTopicSubscription, TokenBasedRoute, InstanceLifetimes } from "../models";
|
2
2
|
import { SetupFactoryContext } from "@omnia/fx";
|
3
3
|
interface SetupRouterContext extends SetupFactoryContext {
|
4
|
-
defineRoute
|
4
|
+
defineRoute<T1 extends TokenBasedRoute, T2 extends TokenBasedRouteStateData>(buildContextPath: (routeContext: T1) => string, resolveRouteFromPath: (path: string) => T1): InternalTokenRouter<T1, T2>;
|
5
5
|
}
|
6
6
|
export declare function defineRouter<InferReturnSetup>(token: string, setup: (ctx: SetupRouterContext) => InferReturnSetup, lifeTime?: InstanceLifetimes): () => InferReturnSetup;
|
7
7
|
export declare abstract class TokenBasedRouter<T1 extends TokenBasedRoute, T2 extends TokenBasedRouteStateData> {
|
@@ -14,7 +14,7 @@ export declare abstract class TokenBasedRouter<T1 extends TokenBasedRoute, T2 ex
|
|
14
14
|
private readonly token;
|
15
15
|
private _tokenExistsOnUrl;
|
16
16
|
private _routeContext;
|
17
|
-
constructor(token: string);
|
17
|
+
constructor(token: string, autoResolveContext?: boolean);
|
18
18
|
/**
|
19
19
|
* Build the path base on the current context
|
20
20
|
*
|
@@ -27,16 +27,18 @@ export declare abstract class TokenBasedRouter<T1 extends TokenBasedRoute, T2 ex
|
|
27
27
|
protected protectedNavigate(title: string, route: T1, stateData?: T2, replaceState?: boolean): void;
|
28
28
|
protected protectedClearRoute(): void;
|
29
29
|
protected combinePathParts(...parts: string[]): string;
|
30
|
-
|
30
|
+
protected resolveContext(stateDataFromBrowserPopState?: T2): void;
|
31
31
|
static getRouterUrl(): string;
|
32
32
|
private static buildPath;
|
33
33
|
private static resolveTokenBasedContext;
|
34
34
|
private static ensureNoSlashAtTheBeginningAndTheEnd;
|
35
35
|
private static init;
|
36
36
|
}
|
37
|
-
declare class InternalTokenRouter<T1 extends TokenBasedRoute, T2 extends TokenBasedRouteStateData> extends TokenBasedRouter<T1,
|
37
|
+
declare class InternalTokenRouter<T1 extends TokenBasedRoute, T2 extends TokenBasedRouteStateData> extends TokenBasedRouter<T1, T2> {
|
38
38
|
buildContextPath: (routeContext: T1) => string;
|
39
39
|
resolveRouteFromPath: (path: string) => T1;
|
40
40
|
constructor(token: string, buildContextPath: (routeContext: T1) => string, resolveRouteFromPath: (path: string) => T1);
|
41
|
+
clearRoute(): void;
|
42
|
+
navigate(title: string, context: T1, stateData?: T2): void;
|
41
43
|
}
|
42
44
|
export {};
|
@@ -20,7 +20,6 @@ declare class InternalAdminRouter extends TokenBasedRouter<AdminRoute, TokenBase
|
|
20
20
|
* Override protected function logic
|
21
21
|
*/
|
22
22
|
protected protectedClearRoute(): void;
|
23
|
-
updateRouteContext(context: AdminRoute): void;
|
24
23
|
navigateRoot(title: string, manifestId: GuidValue, urlSegment?: string): void;
|
25
24
|
navigatePath(title: string, path: string): void;
|
26
25
|
clearRoute(): void;
|
@@ -158,9 +158,9 @@ declare const _default: {
|
|
158
158
|
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
159
159
|
propsDefinition: Omit<Readonly<{} & {
|
160
160
|
content?: JSX.Element;
|
161
|
+
next?: (appInstance: AppInstance) => Promise<void>;
|
161
162
|
onSave?: (appInstance: AppInstance) => Promise<void>;
|
162
163
|
"on-save"?: (appInstance: AppInstance) => Promise<void>;
|
163
|
-
next?: (appInstance: AppInstance) => Promise<void>;
|
164
164
|
appInstance?: AppInstance;
|
165
165
|
"app-instance"?: AppInstance;
|
166
166
|
lastStep?: boolean;
|
@@ -2,7 +2,6 @@ export * from "./ColorManager";
|
|
2
2
|
export * from "./ThemeStoreV2";
|
3
3
|
export * from "./ColorSchemaStore";
|
4
4
|
export * from "./ThemeContextStore";
|
5
|
-
export * from "./VelcronDefinitionStore";
|
6
5
|
export * from "./SpacingBlueprintStore";
|
7
6
|
export * from "./ChromeBlueprintStore";
|
8
7
|
export * from "./TypographyBlueprintStore";
|
@@ -615,10 +615,10 @@ declare const JourneyBladeComponent: {
|
|
615
615
|
variant?: "info" | "preview" | "read-only" | "edit" | "new";
|
616
616
|
subTitle?: string;
|
617
617
|
"sub-title"?: string;
|
618
|
-
|
618
|
+
create?: boolean;
|
619
619
|
ok?: boolean;
|
620
|
+
loading?: boolean;
|
620
621
|
searchable?: boolean;
|
621
|
-
create?: boolean;
|
622
622
|
onOk?: () => boolean | Promise<boolean>;
|
623
623
|
"on-ok"?: () => boolean | Promise<boolean>;
|
624
624
|
onRemove?: () => boolean | Promise<boolean>;
|
@@ -66,6 +66,6 @@ export declare const useJourneyRouterStore: () => {
|
|
66
66
|
removeBlade(blade: JourneyBladeRouter): void;
|
67
67
|
};
|
68
68
|
events: {
|
69
|
-
onMutatedBlades: import("
|
69
|
+
onMutatedBlades: import("@omnia/fx").MessageBusExposeOnlySubscription<InternalJourneyBladeRouter[]>;
|
70
70
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
71
71
|
};
|
@@ -82,9 +82,9 @@ declare const _default: {
|
|
82
82
|
type: import("vue").PropType<ButtonTooltipOptions>;
|
83
83
|
};
|
84
84
|
preset: {
|
85
|
-
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "
|
85
|
+
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "create" | "ok" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
|
86
86
|
} & {
|
87
|
-
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "
|
87
|
+
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "create" | "ok" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
|
88
88
|
};
|
89
89
|
overrides: {
|
90
90
|
type: import("vue").PropType<object>;
|
@@ -204,9 +204,9 @@ declare const _default: {
|
|
204
204
|
type: import("vue").PropType<ButtonTooltipOptions>;
|
205
205
|
};
|
206
206
|
preset: {
|
207
|
-
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "
|
207
|
+
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "create" | "ok" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
|
208
208
|
} & {
|
209
|
-
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "
|
209
|
+
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "create" | "ok" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
|
210
210
|
};
|
211
211
|
overrides: {
|
212
212
|
type: import("vue").PropType<object>;
|
@@ -337,9 +337,9 @@ declare const _default: {
|
|
337
337
|
type: import("vue").PropType<ButtonTooltipOptions>;
|
338
338
|
};
|
339
339
|
preset: {
|
340
|
-
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "
|
340
|
+
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "create" | "ok" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
|
341
341
|
} & {
|
342
|
-
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "
|
342
|
+
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "create" | "ok" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
|
343
343
|
};
|
344
344
|
overrides: {
|
345
345
|
type: import("vue").PropType<object>;
|
@@ -467,9 +467,9 @@ declare const _default: {
|
|
467
467
|
type: import("vue").PropType<ButtonTooltipOptions>;
|
468
468
|
};
|
469
469
|
preset: {
|
470
|
-
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "
|
470
|
+
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "create" | "ok" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
|
471
471
|
} & {
|
472
|
-
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "
|
472
|
+
type: import("vue").PropType<"cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "create" | "ok" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request">;
|
473
473
|
};
|
474
474
|
overrides: {
|
475
475
|
type: import("vue").PropType<object>;
|
@@ -535,7 +535,7 @@ declare const _default: {
|
|
535
535
|
grouped?: boolean;
|
536
536
|
loading?: boolean;
|
537
537
|
overrides?: object;
|
538
|
-
preset?: "cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "
|
538
|
+
preset?: "cancel" | "close" | "select" | "delete" | "details" | "settings" | "save" | "remove" | "retry" | "create" | "ok" | "icon-add" | "icon-comment" | "icon-delete" | "icon-edit" | "icon-drag-handle" | "icon-copy" | "icon-code" | "icon-close" | "icon-back" | "icon-more" | "icon-navigate" | "icon-preview" | "icon-settings" | "load-more" | "approve" | "copy-to-clipboard" | "next" | "previous" | "view-more" | "send-request";
|
539
539
|
transparentHover?: boolean;
|
540
540
|
"transparent-hover"?: boolean;
|
541
541
|
stacked?: boolean;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Func, IIcon } from "@omnia/fx/models";
|
1
|
+
import { Func, Future, IIcon, ODialogBuiltinButtons, ODialogButtonInstance } from "@omnia/fx/models";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
export * from "./Dialog.css";
|
4
4
|
type SlotNavigationType = (apis: {
|
@@ -7,12 +7,18 @@ type SlotNavigationType = (apis: {
|
|
7
7
|
}) => VNodeChild;
|
8
8
|
declare const _default: {
|
9
9
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
10
|
+
"can-close": {
|
11
|
+
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
12
|
+
};
|
13
|
+
canClose: {
|
14
|
+
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
15
|
+
};
|
10
16
|
contentWrapperClass: {
|
11
17
|
type: import("vue").PropType<string>;
|
12
18
|
required: false;
|
13
19
|
};
|
14
20
|
"content-wrapper-class": {
|
15
|
-
type: import("vue").PropType<string>;
|
21
|
+
type: import("vue").PropType<string>;
|
16
22
|
required: false;
|
17
23
|
};
|
18
24
|
"horizontal-scroll": {
|
@@ -32,18 +38,18 @@ declare const _default: {
|
|
32
38
|
required: false;
|
33
39
|
};
|
34
40
|
"content-height": {
|
35
|
-
type: import("vue").PropType<"dynamic" | "static">;
|
41
|
+
type: import("vue").PropType<"dynamic" | "static">;
|
36
42
|
required: false;
|
37
43
|
};
|
38
44
|
variant: {
|
39
|
-
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
45
|
+
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
40
46
|
required: false;
|
41
47
|
} & {
|
42
48
|
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
43
49
|
required: false;
|
44
50
|
};
|
45
51
|
size: {
|
46
|
-
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
52
|
+
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
47
53
|
required: false;
|
48
54
|
} & {
|
49
55
|
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
@@ -88,7 +94,7 @@ declare const _default: {
|
|
88
94
|
header?: Func<[VNodeChild]>;
|
89
95
|
}>;
|
90
96
|
persistent: {
|
91
|
-
type: import("vue").PropType<boolean>;
|
97
|
+
type: import("vue").PropType<boolean>;
|
92
98
|
required: false;
|
93
99
|
} & {
|
94
100
|
type: import("vue").PropType<boolean>;
|
@@ -123,12 +129,18 @@ declare const _default: {
|
|
123
129
|
"click:cancel": () => true;
|
124
130
|
"click:confirm": () => true;
|
125
131
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
132
|
+
"can-close": {
|
133
|
+
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
134
|
+
};
|
135
|
+
canClose: {
|
136
|
+
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
137
|
+
};
|
126
138
|
contentWrapperClass: {
|
127
139
|
type: import("vue").PropType<string>;
|
128
140
|
required: false;
|
129
141
|
};
|
130
142
|
"content-wrapper-class": {
|
131
|
-
type: import("vue").PropType<string>;
|
143
|
+
type: import("vue").PropType<string>;
|
132
144
|
required: false;
|
133
145
|
};
|
134
146
|
"horizontal-scroll": {
|
@@ -148,18 +160,18 @@ declare const _default: {
|
|
148
160
|
required: false;
|
149
161
|
};
|
150
162
|
"content-height": {
|
151
|
-
type: import("vue").PropType<"dynamic" | "static">;
|
163
|
+
type: import("vue").PropType<"dynamic" | "static">;
|
152
164
|
required: false;
|
153
165
|
};
|
154
166
|
variant: {
|
155
|
-
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
167
|
+
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
156
168
|
required: false;
|
157
169
|
} & {
|
158
170
|
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
159
171
|
required: false;
|
160
172
|
};
|
161
173
|
size: {
|
162
|
-
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
174
|
+
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
163
175
|
required: false;
|
164
176
|
} & {
|
165
177
|
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
@@ -204,7 +216,7 @@ declare const _default: {
|
|
204
216
|
header?: Func<[VNodeChild]>;
|
205
217
|
}>;
|
206
218
|
persistent: {
|
207
|
-
type: import("vue").PropType<boolean>;
|
219
|
+
type: import("vue").PropType<boolean>;
|
208
220
|
required: false;
|
209
221
|
} & {
|
210
222
|
type: import("vue").PropType<boolean>;
|
@@ -245,12 +257,18 @@ declare const _default: {
|
|
245
257
|
M: {};
|
246
258
|
Defaults: {};
|
247
259
|
}, Readonly<import("vue").ExtractPropTypes<{
|
260
|
+
"can-close": {
|
261
|
+
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
262
|
+
};
|
263
|
+
canClose: {
|
264
|
+
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
265
|
+
};
|
248
266
|
contentWrapperClass: {
|
249
267
|
type: import("vue").PropType<string>;
|
250
268
|
required: false;
|
251
269
|
};
|
252
270
|
"content-wrapper-class": {
|
253
|
-
type: import("vue").PropType<string>;
|
271
|
+
type: import("vue").PropType<string>;
|
254
272
|
required: false;
|
255
273
|
};
|
256
274
|
"horizontal-scroll": {
|
@@ -270,18 +288,18 @@ declare const _default: {
|
|
270
288
|
required: false;
|
271
289
|
};
|
272
290
|
"content-height": {
|
273
|
-
type: import("vue").PropType<"dynamic" | "static">;
|
291
|
+
type: import("vue").PropType<"dynamic" | "static">;
|
274
292
|
required: false;
|
275
293
|
};
|
276
294
|
variant: {
|
277
|
-
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
295
|
+
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
278
296
|
required: false;
|
279
297
|
} & {
|
280
298
|
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
281
299
|
required: false;
|
282
300
|
};
|
283
301
|
size: {
|
284
|
-
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
302
|
+
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
285
303
|
required: false;
|
286
304
|
} & {
|
287
305
|
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
@@ -326,7 +344,7 @@ declare const _default: {
|
|
326
344
|
header?: Func<[VNodeChild]>;
|
327
345
|
}>;
|
328
346
|
persistent: {
|
329
|
-
type: import("vue").PropType<boolean>;
|
347
|
+
type: import("vue").PropType<boolean>;
|
330
348
|
required: false;
|
331
349
|
} & {
|
332
350
|
type: import("vue").PropType<boolean>;
|
@@ -364,12 +382,18 @@ declare const _default: {
|
|
364
382
|
__isTeleport?: never;
|
365
383
|
__isSuspense?: never;
|
366
384
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
385
|
+
"can-close": {
|
386
|
+
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
387
|
+
};
|
388
|
+
canClose: {
|
389
|
+
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
390
|
+
};
|
367
391
|
contentWrapperClass: {
|
368
392
|
type: import("vue").PropType<string>;
|
369
393
|
required: false;
|
370
394
|
};
|
371
395
|
"content-wrapper-class": {
|
372
|
-
type: import("vue").PropType<string>;
|
396
|
+
type: import("vue").PropType<string>;
|
373
397
|
required: false;
|
374
398
|
};
|
375
399
|
"horizontal-scroll": {
|
@@ -389,18 +413,18 @@ declare const _default: {
|
|
389
413
|
required: false;
|
390
414
|
};
|
391
415
|
"content-height": {
|
392
|
-
type: import("vue").PropType<"dynamic" | "static">;
|
416
|
+
type: import("vue").PropType<"dynamic" | "static">;
|
393
417
|
required: false;
|
394
418
|
};
|
395
419
|
variant: {
|
396
|
-
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
420
|
+
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
397
421
|
required: false;
|
398
422
|
} & {
|
399
423
|
type: import("vue").PropType<"default" | "confirm" | "app" | "save-cancel" | "ok-cancel" | "retry">;
|
400
424
|
required: false;
|
401
425
|
};
|
402
426
|
size: {
|
403
|
-
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
427
|
+
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
404
428
|
required: false;
|
405
429
|
} & {
|
406
430
|
type: import("vue").PropType<"small" | "medium" | "large" | "x-small" | "full">;
|
@@ -445,7 +469,7 @@ declare const _default: {
|
|
445
469
|
header?: Func<[VNodeChild]>;
|
446
470
|
}>;
|
447
471
|
persistent: {
|
448
|
-
type: import("vue").PropType<boolean>;
|
472
|
+
type: import("vue").PropType<boolean>;
|
449
473
|
required: false;
|
450
474
|
} & {
|
451
475
|
type: import("vue").PropType<boolean>;
|
@@ -522,6 +546,8 @@ declare const _default: {
|
|
522
546
|
"horizontal-scroll"?: boolean;
|
523
547
|
contentWrapperClass?: string;
|
524
548
|
"content-wrapper-class"?: string;
|
549
|
+
canClose?: (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>;
|
550
|
+
"can-close"?: (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>;
|
525
551
|
}>, "onUpdate:modelValue" | "onClick:close" | "onClick:cancel" | "onClick:confirm"> & {
|
526
552
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
527
553
|
"onClick:close"?: () => any;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { GuidValue, IIcon,
|
1
|
+
import { GuidValue, IIcon, VelcronState } from "@omnia/fx-models";
|
2
2
|
import { VNodeChild } from "vue";
|
3
3
|
type Variant = "dialog" | "panel" | "editor" | "default";
|
4
4
|
declare const _default: {
|
@@ -116,13 +116,13 @@ declare const _default: {
|
|
116
116
|
colors?: any;
|
117
117
|
}>> & {
|
118
118
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
119
|
-
onAdd?: (
|
119
|
+
onAdd?: () => any;
|
120
120
|
onSelected?: (id: GuidValue) => any;
|
121
121
|
"onDefinition:enter"?: (id: GuidValue) => any;
|
122
122
|
"onDefinition:leave"?: (id: GuidValue) => any;
|
123
123
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
124
124
|
selected: (id: GuidValue) => any;
|
125
|
-
add: (
|
125
|
+
add: () => any;
|
126
126
|
"update:modelValue": (value: boolean) => any;
|
127
127
|
"definition:enter": (id: GuidValue) => any;
|
128
128
|
"definition:leave": (id: GuidValue) => any;
|
@@ -240,7 +240,7 @@ declare const _default: {
|
|
240
240
|
colors?: any;
|
241
241
|
}>> & {
|
242
242
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
243
|
-
onAdd?: (
|
243
|
+
onAdd?: () => any;
|
244
244
|
onSelected?: (id: GuidValue) => any;
|
245
245
|
"onDefinition:enter"?: (id: GuidValue) => any;
|
246
246
|
"onDefinition:leave"?: (id: GuidValue) => any;
|
@@ -369,7 +369,7 @@ declare const _default: {
|
|
369
369
|
colors?: any;
|
370
370
|
}>> & {
|
371
371
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
372
|
-
onAdd?: (
|
372
|
+
onAdd?: () => any;
|
373
373
|
onSelected?: (id: GuidValue) => any;
|
374
374
|
"onDefinition:enter"?: (id: GuidValue) => any;
|
375
375
|
"onDefinition:leave"?: (id: GuidValue) => any;
|
@@ -495,13 +495,13 @@ declare const _default: {
|
|
495
495
|
colors?: any;
|
496
496
|
}>> & {
|
497
497
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
498
|
-
onAdd?: (
|
498
|
+
onAdd?: () => any;
|
499
499
|
onSelected?: (id: GuidValue) => any;
|
500
500
|
"onDefinition:enter"?: (id: GuidValue) => any;
|
501
501
|
"onDefinition:leave"?: (id: GuidValue) => any;
|
502
502
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
503
503
|
selected: (id: GuidValue) => any;
|
504
|
-
add: (
|
504
|
+
add: () => any;
|
505
505
|
"update:modelValue": (value: boolean) => any;
|
506
506
|
"definition:enter": (id: GuidValue) => any;
|
507
507
|
"definition:leave": (id: GuidValue) => any;
|
@@ -595,7 +595,7 @@ declare const _default: {
|
|
595
595
|
exclusions?: GuidValue[];
|
596
596
|
}>, "onUpdate:modelValue" | "onAdd" | "onSelected" | "onDefinition:enter" | "onDefinition:leave"> & {
|
597
597
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
598
|
-
onAdd?: (
|
598
|
+
onAdd?: () => any;
|
599
599
|
onSelected?: (id: GuidValue) => any;
|
600
600
|
"onDefinition:enter"?: (id: GuidValue) => any;
|
601
601
|
"onDefinition:leave"?: (id: GuidValue) => any;
|
@@ -64,6 +64,7 @@ export interface VelcronRenderContext {
|
|
64
64
|
eventHandlers?: VelcronRenderContextEventHandlersInstance;
|
65
65
|
editMode?: boolean;
|
66
66
|
disposers: Array<() => void>;
|
67
|
+
subApp?: boolean;
|
67
68
|
}
|
68
69
|
export interface VelcronRenderContextEventHandlers {
|
69
70
|
receiving?: {
|
@@ -82,7 +83,8 @@ export interface VelcronRenderContextEventHandlersInstance extends VelcronRender
|
|
82
83
|
export interface VelcronRenderContextHooks {
|
83
84
|
dialogVisibilityChanged?: ((visible: boolean) => void);
|
84
85
|
onItemSelected?: ((item: VelcronDefinition) => void);
|
85
|
-
wrapperStyleExtensions?: ((item: VelcronDefinition) => string);
|
86
|
+
wrapperStyleExtensions?: ((item: VelcronDefinition, renderContext: VelcronRenderContext) => string);
|
87
|
+
renderExtensions?: <TNodeType>(item: VelcronDefinition) => TNodeType;
|
86
88
|
appStyleExtension?: (() => string);
|
87
89
|
onItemCreatedProps?: ((item: VelcronDefinition) => object);
|
88
90
|
}
|
@@ -14,6 +14,7 @@ export interface BuiltInPropertyEditors {
|
|
14
14
|
typography: unknown;
|
15
15
|
spacing: unknown;
|
16
16
|
"color-schema-type": unknown;
|
17
|
+
reference: unknown;
|
17
18
|
}
|
18
19
|
export declare enum BuiltInPropertyEditorTypes {
|
19
20
|
text = "text",
|
@@ -82,6 +83,9 @@ export interface VelcronImagePropertyEditor extends VelcronPropertyEditor<any> {
|
|
82
83
|
export interface VelcronSpacingPropertyEditor extends VelcronPropertyEditor<VelcronSpacingEditorSettings> {
|
83
84
|
type: "spacing";
|
84
85
|
}
|
86
|
+
export interface VelcronReferencePropertyEditor extends VelcronPropertyEditor<any> {
|
87
|
+
type: "reference";
|
88
|
+
}
|
85
89
|
export interface VelcronState {
|
86
90
|
images?: VelcronImagesState;
|
87
91
|
styling?: VelcronStylingState;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
declare const _default: (props: {} & Omit<{}, never> & {
|
2
|
+
"v-slots"?: {
|
3
|
+
default?: import("vue").Slot;
|
4
|
+
} & {};
|
5
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, never>) => {
|
6
|
+
$: import("vue").ComponentInternalInstance;
|
7
|
+
$data: {};
|
8
|
+
$props: {};
|
9
|
+
$attrs: {
|
10
|
+
[x: string]: unknown;
|
11
|
+
};
|
12
|
+
$refs: {
|
13
|
+
[x: string]: unknown;
|
14
|
+
};
|
15
|
+
$slots: Readonly<{
|
16
|
+
[name: string]: import("vue").Slot<any>;
|
17
|
+
}>;
|
18
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
19
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
20
|
+
$emit: (event: string, ...args: any[]) => void;
|
21
|
+
$el: any;
|
22
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
23
|
+
beforeCreate?: (() => void) | (() => void)[];
|
24
|
+
created?: (() => void) | (() => void)[];
|
25
|
+
beforeMount?: (() => void) | (() => void)[];
|
26
|
+
mounted?: (() => void) | (() => void)[];
|
27
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
28
|
+
updated?: (() => void) | (() => void)[];
|
29
|
+
activated?: (() => void) | (() => void)[];
|
30
|
+
deactivated?: (() => void) | (() => void)[];
|
31
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
32
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
33
|
+
destroyed?: (() => void) | (() => void)[];
|
34
|
+
unmounted?: (() => void) | (() => void)[];
|
35
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
36
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
37
|
+
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)[];
|
38
|
+
};
|
39
|
+
$forceUpdate: () => void;
|
40
|
+
$nextTick: typeof import("vue").nextTick;
|
41
|
+
$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;
|
42
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
43
|
+
propsDefinition: {} & {
|
44
|
+
"v-slots"?: {
|
45
|
+
default?: import("vue").Slot;
|
46
|
+
} & {};
|
47
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, never>;
|
48
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>;
|
51
|
+
export default _default;
|
@@ -1,16 +1,51 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
declare const _default: (props: {} & Omit<{}, never> & {
|
2
|
+
"v-slots"?: {
|
3
|
+
default?: import("vue").Slot;
|
4
|
+
} & {};
|
5
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, never>) => {
|
6
|
+
$: import("vue").ComponentInternalInstance;
|
7
|
+
$data: {};
|
8
|
+
$props: {};
|
9
|
+
$attrs: {
|
10
|
+
[x: string]: unknown;
|
11
|
+
};
|
12
|
+
$refs: {
|
13
|
+
[x: string]: unknown;
|
14
|
+
};
|
15
|
+
$slots: Readonly<{
|
16
|
+
[name: string]: import("vue").Slot<any>;
|
17
|
+
}>;
|
18
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
19
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
20
|
+
$emit: (event: string, ...args: any[]) => void;
|
21
|
+
$el: any;
|
22
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
23
|
+
beforeCreate?: (() => void) | (() => void)[];
|
24
|
+
created?: (() => void) | (() => void)[];
|
25
|
+
beforeMount?: (() => void) | (() => void)[];
|
26
|
+
mounted?: (() => void) | (() => void)[];
|
27
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
28
|
+
updated?: (() => void) | (() => void)[];
|
29
|
+
activated?: (() => void) | (() => void)[];
|
30
|
+
deactivated?: (() => void) | (() => void)[];
|
31
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
32
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
33
|
+
destroyed?: (() => void) | (() => void)[];
|
34
|
+
unmounted?: (() => void) | (() => void)[];
|
35
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
36
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
37
|
+
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)[];
|
38
|
+
};
|
39
|
+
$forceUpdate: () => void;
|
40
|
+
$nextTick: typeof import("vue").nextTick;
|
41
|
+
$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;
|
42
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
43
|
+
propsDefinition: {} & {
|
44
|
+
"v-slots"?: {
|
45
|
+
default?: import("vue").Slot;
|
46
|
+
} & {};
|
47
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, never>;
|
48
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>;
|
16
51
|
export default _default;
|
@@ -1,16 +1,68 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
}
|
1
|
+
import { TreeViewItem } from "@omnia/fx-models";
|
2
|
+
export declare const AppExplorerVariantDefinitions: readonly ["default", "statebind"];
|
3
|
+
export type OAppExplorerVariants = typeof AppExplorerVariantDefinitions[number];
|
4
|
+
declare const _default: (props: {
|
5
|
+
"v-model"?: TreeViewItem<any>;
|
6
|
+
"onUpdate:modelValue"?: (value: TreeViewItem<any>) => void;
|
7
|
+
modelValue?: TreeViewItem<any>;
|
8
|
+
variant?: "default" | "statebind";
|
9
|
+
} & Omit<{
|
10
|
+
"onItems:selected"?: (items: TreeViewItem<any>[]) => any;
|
11
|
+
}, "v-model" | "onUpdate:modelValue" | "modelValue" | "variant"> & {
|
12
|
+
"v-slots"?: {
|
13
|
+
default?: import("vue").Slot;
|
14
|
+
} & {};
|
15
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue" | "variant" | "emit:items:selected">) => {
|
16
|
+
$: import("vue").ComponentInternalInstance;
|
17
|
+
$data: {};
|
18
|
+
$props: {};
|
19
|
+
$attrs: {
|
20
|
+
[x: string]: unknown;
|
21
|
+
};
|
22
|
+
$refs: {
|
23
|
+
[x: string]: unknown;
|
24
|
+
};
|
25
|
+
$slots: Readonly<{
|
26
|
+
[name: string]: import("vue").Slot<any>;
|
27
|
+
}>;
|
28
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
29
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
30
|
+
$emit: (event: string, ...args: any[]) => void;
|
31
|
+
$el: any;
|
32
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
33
|
+
beforeCreate?: (() => void) | (() => void)[];
|
34
|
+
created?: (() => void) | (() => void)[];
|
35
|
+
beforeMount?: (() => void) | (() => void)[];
|
36
|
+
mounted?: (() => void) | (() => void)[];
|
37
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
38
|
+
updated?: (() => void) | (() => void)[];
|
39
|
+
activated?: (() => void) | (() => void)[];
|
40
|
+
deactivated?: (() => void) | (() => void)[];
|
41
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
42
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
43
|
+
destroyed?: (() => void) | (() => void)[];
|
44
|
+
unmounted?: (() => void) | (() => void)[];
|
45
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
46
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
47
|
+
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)[];
|
48
|
+
};
|
49
|
+
$forceUpdate: () => void;
|
50
|
+
$nextTick: typeof import("vue").nextTick;
|
51
|
+
$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;
|
52
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
53
|
+
propsDefinition: {
|
54
|
+
"v-model"?: TreeViewItem<any>;
|
55
|
+
"onUpdate:modelValue"?: (value: TreeViewItem<any>) => void;
|
56
|
+
modelValue?: TreeViewItem<any>;
|
57
|
+
variant?: "default" | "statebind";
|
58
|
+
} & {
|
59
|
+
"v-slots"?: {
|
60
|
+
default?: import("vue").Slot;
|
61
|
+
} & {};
|
62
|
+
} & {
|
63
|
+
"onItems:selected"?: (items: TreeViewItem<any>[]) => any;
|
64
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue" | "variant">;
|
65
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
66
|
+
[key: string]: any;
|
67
|
+
}>;
|
16
68
|
export default _default;
|
File without changes
|
@@ -0,0 +1,51 @@
|
|
1
|
+
declare const _default: (props: {} & Omit<{}, never> & {
|
2
|
+
"v-slots"?: {
|
3
|
+
default?: import("vue").Slot;
|
4
|
+
} & {};
|
5
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, never>) => {
|
6
|
+
$: import("vue").ComponentInternalInstance;
|
7
|
+
$data: {};
|
8
|
+
$props: {};
|
9
|
+
$attrs: {
|
10
|
+
[x: string]: unknown;
|
11
|
+
};
|
12
|
+
$refs: {
|
13
|
+
[x: string]: unknown;
|
14
|
+
};
|
15
|
+
$slots: Readonly<{
|
16
|
+
[name: string]: import("vue").Slot<any>;
|
17
|
+
}>;
|
18
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
19
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
20
|
+
$emit: (event: string, ...args: any[]) => void;
|
21
|
+
$el: any;
|
22
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
23
|
+
beforeCreate?: (() => void) | (() => void)[];
|
24
|
+
created?: (() => void) | (() => void)[];
|
25
|
+
beforeMount?: (() => void) | (() => void)[];
|
26
|
+
mounted?: (() => void) | (() => void)[];
|
27
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
28
|
+
updated?: (() => void) | (() => void)[];
|
29
|
+
activated?: (() => void) | (() => void)[];
|
30
|
+
deactivated?: (() => void) | (() => void)[];
|
31
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
32
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
33
|
+
destroyed?: (() => void) | (() => void)[];
|
34
|
+
unmounted?: (() => void) | (() => void)[];
|
35
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
36
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
37
|
+
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)[];
|
38
|
+
};
|
39
|
+
$forceUpdate: () => void;
|
40
|
+
$nextTick: typeof import("vue").nextTick;
|
41
|
+
$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;
|
42
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
43
|
+
propsDefinition: {} & {
|
44
|
+
"v-slots"?: {
|
45
|
+
default?: import("vue").Slot;
|
46
|
+
} & {};
|
47
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, never>;
|
48
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
49
|
+
[key: string]: any;
|
50
|
+
}>;
|
51
|
+
export default _default;
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { VelcronDataTypes } from "@omnia/fx-models";
|
2
|
+
import { VelcronComponentPropertyDescriptor } from "../models";
|
3
|
+
declare const _default: (props: {
|
4
|
+
"v-model"?: boolean;
|
5
|
+
"onUpdate:modelValue"?: (value: boolean) => void;
|
6
|
+
modelValue?: boolean;
|
7
|
+
descriptor?: VelcronComponentPropertyDescriptor;
|
8
|
+
allowedDataTypes?: VelcronDataTypes[];
|
9
|
+
} & Omit<{
|
10
|
+
"onState:selected"?: (value: string) => any;
|
11
|
+
}, "v-model" | "onUpdate:modelValue" | "modelValue" | "descriptor" | "allowedDataTypes"> & {
|
12
|
+
"v-slots"?: {
|
13
|
+
default?: import("vue").Slot;
|
14
|
+
} & {};
|
15
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue" | "descriptor" | "allowedDataTypes" | "emit:state:selected">) => {
|
16
|
+
$: import("vue").ComponentInternalInstance;
|
17
|
+
$data: {};
|
18
|
+
$props: {};
|
19
|
+
$attrs: {
|
20
|
+
[x: string]: unknown;
|
21
|
+
};
|
22
|
+
$refs: {
|
23
|
+
[x: string]: unknown;
|
24
|
+
};
|
25
|
+
$slots: Readonly<{
|
26
|
+
[name: string]: import("vue").Slot<any>;
|
27
|
+
}>;
|
28
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
29
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
30
|
+
$emit: (event: string, ...args: any[]) => void;
|
31
|
+
$el: any;
|
32
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
33
|
+
beforeCreate?: (() => void) | (() => void)[];
|
34
|
+
created?: (() => void) | (() => void)[];
|
35
|
+
beforeMount?: (() => void) | (() => void)[];
|
36
|
+
mounted?: (() => void) | (() => void)[];
|
37
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
38
|
+
updated?: (() => void) | (() => void)[];
|
39
|
+
activated?: (() => void) | (() => void)[];
|
40
|
+
deactivated?: (() => void) | (() => void)[];
|
41
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
42
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
43
|
+
destroyed?: (() => void) | (() => void)[];
|
44
|
+
unmounted?: (() => void) | (() => void)[];
|
45
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
46
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
47
|
+
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)[];
|
48
|
+
};
|
49
|
+
$forceUpdate: () => void;
|
50
|
+
$nextTick: typeof import("vue").nextTick;
|
51
|
+
$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;
|
52
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
53
|
+
propsDefinition: {
|
54
|
+
"v-model"?: boolean;
|
55
|
+
"onUpdate:modelValue"?: (value: boolean) => void;
|
56
|
+
modelValue?: boolean;
|
57
|
+
descriptor?: VelcronComponentPropertyDescriptor;
|
58
|
+
allowedDataTypes?: VelcronDataTypes[];
|
59
|
+
} & {
|
60
|
+
"v-slots"?: {
|
61
|
+
default?: import("vue").Slot;
|
62
|
+
} & {};
|
63
|
+
} & {
|
64
|
+
"onState:selected"?: (value: string) => any;
|
65
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "v-model" | "onUpdate:modelValue" | "modelValue" | "descriptor" | "allowedDataTypes">;
|
66
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
67
|
+
[key: string]: any;
|
68
|
+
}>;
|
69
|
+
export default _default;
|
@@ -1,16 +1,16 @@
|
|
1
1
|
declare const _default: {
|
2
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () =>
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
3
3
|
P: {};
|
4
4
|
B: {};
|
5
5
|
D: {};
|
6
6
|
C: {};
|
7
7
|
M: {};
|
8
8
|
Defaults: {};
|
9
|
-
}, Readonly<import("vue").ExtractPropTypes<{}>>, () =>
|
9
|
+
}, Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, {}>;
|
10
10
|
__isFragment?: never;
|
11
11
|
__isTeleport?: never;
|
12
12
|
__isSuspense?: never;
|
13
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () =>
|
13
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
14
14
|
propsDefinition: Omit<Readonly<{} & {}>, never>;
|
15
15
|
};
|
16
16
|
export default _default;
|
@@ -35,3 +35,4 @@ export declare const VelcronDialogComponentDescriptor: VelcronComponentDescripto
|
|
35
35
|
export declare const VelcronIconComponentDescriptor: VelcronComponentDescriptor;
|
36
36
|
export declare const VelcronChipComponentDescriptor: VelcronComponentDescriptor;
|
37
37
|
export declare const VelcronMarkdownComponentDescriptor: VelcronComponentDescriptor;
|
38
|
+
export declare const VelcronReferenceComponentDescriptor: VelcronComponentDescriptor;
|
@@ -4,3 +4,8 @@ export declare enum VelcronDescriptorTypes {
|
|
4
4
|
appData = 2,
|
5
5
|
dataMember = 3
|
6
6
|
}
|
7
|
+
export type AddVelcronComponentInsertionStrategy = "default" | "before" | "after" | "createnew";
|
8
|
+
export type AddVelcronComponentMode = {
|
9
|
+
show: boolean;
|
10
|
+
strategy?: AddVelcronComponentInsertionStrategy;
|
11
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { IIcon, VelcronPropertyEditor } from "@omnia/fx-models";
|
2
2
|
import { VelcronDataTypes } from "../../core/models/Enums";
|
3
|
-
import { VelcroncomponentArrayType, VelcronPrimitiveType } from "../../core/models/VelcronTypes";
|
3
|
+
import { VelcroncomponentArrayType, VelcronObjectType, VelcronPrimitiveType } from "../../core/models/VelcronTypes";
|
4
4
|
import { VelcronDescriptorTypes } from "./Enums";
|
5
5
|
export interface VelcronDescriptor {
|
6
6
|
descriptorType: VelcronDescriptorTypes;
|
@@ -24,7 +24,7 @@ export interface VelcronComponentPropertyDescriptor {
|
|
24
24
|
group?: string;
|
25
25
|
editor?: VelcronPropertyEditor<any>;
|
26
26
|
required?: boolean;
|
27
|
-
defaultValue?: VelcronPrimitiveType | VelcroncomponentArrayType
|
27
|
+
defaultValue?: VelcronPrimitiveType | VelcroncomponentArrayType | VelcronObjectType<{}>;
|
28
28
|
disableRemovePropertyOnEmptyOrFalse?: boolean;
|
29
29
|
label?: string;
|
30
30
|
}
|
@@ -1,8 +1,16 @@
|
|
1
1
|
import { TreeViewItem, VelcronAppDefinition, VelcronDefinition } from "@omnia/fx-models";
|
2
2
|
import { AppTreeItem, AppValidationState, editorModes } from "../models/Shared";
|
3
|
-
import { CodeEditorState, VelcronComponentDescriptor, codeEditorTabs } from "../models";
|
3
|
+
import { CodeEditorState, VelcronComponentDescriptor, codeEditorTabs, AddVelcronComponentMode } from "../models";
|
4
|
+
import { ThemeDefinitionV2, VelcronRenderContext } from "../../core";
|
5
|
+
type canvasMode = "split-spacing" | "design";
|
4
6
|
export declare const useVelcronEditorStore: () => {
|
7
|
+
get: {
|
8
|
+
getBodyTreeviewItem(): TreeViewItem<any>;
|
9
|
+
};
|
5
10
|
state: {
|
11
|
+
previewTheme: ThemeDefinitionV2;
|
12
|
+
previewRenderContext: VelcronRenderContext;
|
13
|
+
canvasMode: canvasMode;
|
6
14
|
appData: {};
|
7
15
|
appAsJson: string;
|
8
16
|
appDefinition: VelcronAppDefinition<object>;
|
@@ -12,9 +20,12 @@ export declare const useVelcronEditorStore: () => {
|
|
12
20
|
selectedAppTreeItem: TreeViewItem<AppTreeItem>;
|
13
21
|
editorMode: editorModes;
|
14
22
|
activeAppTreeItem: TreeViewItem<any>;
|
23
|
+
itemToCopy: TreeViewItem<AppTreeItem>;
|
15
24
|
history: string[];
|
16
|
-
showAddComponent:
|
25
|
+
showAddComponent: AddVelcronComponentMode;
|
26
|
+
showAddApp: boolean;
|
17
27
|
showAddDataObject: boolean;
|
28
|
+
showStateTree: boolean;
|
18
29
|
showShare: boolean;
|
19
30
|
codeEditor: CodeEditorState;
|
20
31
|
validation: AppValidationState;
|
@@ -52,7 +63,7 @@ export declare const useVelcronEditorStore: () => {
|
|
52
63
|
subscribe(fn: (key: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
53
64
|
};
|
54
65
|
showAddComponent: {
|
55
|
-
subscribe(fn: (
|
66
|
+
subscribe(fn: (mode: AddVelcronComponentMode) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
56
67
|
};
|
57
68
|
showShare: {
|
58
69
|
subscribe(fn: (show: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -61,7 +72,10 @@ export declare const useVelcronEditorStore: () => {
|
|
61
72
|
subscribe(fn: (show: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
62
73
|
};
|
63
74
|
addComponent: {
|
64
|
-
subscribe(fn: (descriptor: VelcronComponentDescriptor, parent?: TreeViewItem<AppTreeItem>, definition?: VelcronDefinition
|
75
|
+
subscribe(fn: (descriptor: VelcronComponentDescriptor, parent?: TreeViewItem<AppTreeItem>, definition?: VelcronDefinition, insertOptions?: {
|
76
|
+
beforeKey?: string;
|
77
|
+
afterKey?: string;
|
78
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
65
79
|
};
|
66
80
|
deleteComponent: {
|
67
81
|
subscribe(fn: (target: TreeViewItem<AppTreeItem>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -81,8 +95,11 @@ export declare const useVelcronEditorStore: () => {
|
|
81
95
|
setActiveAppTreeItem: {
|
82
96
|
subscribe(fn: (key: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
83
97
|
};
|
98
|
+
copyComponent: {
|
99
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
100
|
+
};
|
84
101
|
pasteComponent: {
|
85
|
-
subscribe(fn: (
|
102
|
+
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
86
103
|
};
|
87
104
|
reloadApp: {
|
88
105
|
subscribe(fn: () => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -120,7 +137,7 @@ export declare const useVelcronEditorStore: () => {
|
|
120
137
|
subscribe(fn: (result: void, key: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
121
138
|
};
|
122
139
|
showAddComponent: {
|
123
|
-
subscribe(fn: (result: void,
|
140
|
+
subscribe(fn: (result: void, mode: AddVelcronComponentMode) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
124
141
|
};
|
125
142
|
showShare: {
|
126
143
|
subscribe(fn: (result: void, show: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -129,13 +146,16 @@ export declare const useVelcronEditorStore: () => {
|
|
129
146
|
subscribe(fn: (result: void, show: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
130
147
|
};
|
131
148
|
addComponent: {
|
132
|
-
subscribe(fn: (result: void, descriptor: VelcronComponentDescriptor, parent?: TreeViewItem<AppTreeItem>, definition?: VelcronDefinition
|
149
|
+
subscribe(fn: (result: void, descriptor: VelcronComponentDescriptor, parent?: TreeViewItem<AppTreeItem>, definition?: VelcronDefinition, insertOptions?: {
|
150
|
+
beforeKey?: string;
|
151
|
+
afterKey?: string;
|
152
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
133
153
|
};
|
134
154
|
deleteComponent: {
|
135
155
|
subscribe(fn: (result: void, target: TreeViewItem<AppTreeItem>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
136
156
|
};
|
137
157
|
addDataMember: {
|
138
|
-
subscribe(fn: (result:
|
158
|
+
subscribe(fn: (result: TreeViewItem<AppTreeItem>, target: TreeViewItem<AppTreeItem>, propertyName: string, value: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
139
159
|
};
|
140
160
|
deleteDataMember: {
|
141
161
|
subscribe(fn: (result: void, target: TreeViewItem<AppTreeItem>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -149,8 +169,11 @@ export declare const useVelcronEditorStore: () => {
|
|
149
169
|
setActiveAppTreeItem: {
|
150
170
|
subscribe(fn: (result: void, key: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
151
171
|
};
|
172
|
+
copyComponent: {
|
173
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
174
|
+
};
|
152
175
|
pasteComponent: {
|
153
|
-
subscribe(fn: (result: void
|
176
|
+
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
154
177
|
};
|
155
178
|
reloadApp: {
|
156
179
|
subscribe(fn: (result: void) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -188,7 +211,7 @@ export declare const useVelcronEditorStore: () => {
|
|
188
211
|
subscribe(fn: (failureReason: any, key: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
189
212
|
};
|
190
213
|
showAddComponent: {
|
191
|
-
subscribe(fn: (failureReason: any,
|
214
|
+
subscribe(fn: (failureReason: any, mode: AddVelcronComponentMode) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
192
215
|
};
|
193
216
|
showShare: {
|
194
217
|
subscribe(fn: (failureReason: any, show: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -197,7 +220,10 @@ export declare const useVelcronEditorStore: () => {
|
|
197
220
|
subscribe(fn: (failureReason: any, show: boolean) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
198
221
|
};
|
199
222
|
addComponent: {
|
200
|
-
subscribe(fn: (failureReason: any, descriptor: VelcronComponentDescriptor, parent?: TreeViewItem<AppTreeItem>, definition?: VelcronDefinition
|
223
|
+
subscribe(fn: (failureReason: any, descriptor: VelcronComponentDescriptor, parent?: TreeViewItem<AppTreeItem>, definition?: VelcronDefinition, insertOptions?: {
|
224
|
+
beforeKey?: string;
|
225
|
+
afterKey?: string;
|
226
|
+
}) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
201
227
|
};
|
202
228
|
deleteComponent: {
|
203
229
|
subscribe(fn: (failureReason: any, target: TreeViewItem<AppTreeItem>) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -217,8 +243,11 @@ export declare const useVelcronEditorStore: () => {
|
|
217
243
|
setActiveAppTreeItem: {
|
218
244
|
subscribe(fn: (failureReason: any, key: string) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
219
245
|
};
|
246
|
+
copyComponent: {
|
247
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
248
|
+
};
|
220
249
|
pasteComponent: {
|
221
|
-
subscribe(fn: (failureReason: any
|
250
|
+
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
222
251
|
};
|
223
252
|
reloadApp: {
|
224
253
|
subscribe(fn: (failureReason: any) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
@@ -237,21 +266,28 @@ export declare const useVelcronEditorStore: () => {
|
|
237
266
|
setEditorMode(newState: editorModes): void;
|
238
267
|
syncState(): void;
|
239
268
|
setSelectedAppTreeItem(key: string): void;
|
240
|
-
showAddComponent(
|
269
|
+
showAddComponent(mode: AddVelcronComponentMode): void;
|
241
270
|
showShare(show: boolean): void;
|
242
271
|
showAddDataObject(show: boolean): void;
|
243
|
-
addComponent(descriptor: VelcronComponentDescriptor, parent?: TreeViewItem<AppTreeItem>, definition?: VelcronDefinition
|
272
|
+
addComponent(descriptor: VelcronComponentDescriptor, parent?: TreeViewItem<AppTreeItem>, definition?: VelcronDefinition, insertOptions?: {
|
273
|
+
beforeKey?: string;
|
274
|
+
afterKey?: string;
|
275
|
+
}): void;
|
244
276
|
deleteComponent(target: TreeViewItem<AppTreeItem>): void;
|
245
|
-
addDataMember(target: TreeViewItem<AppTreeItem>, propertyName: string, value: any):
|
277
|
+
addDataMember(target: TreeViewItem<AppTreeItem>, propertyName: string, value: any): TreeViewItem<AppTreeItem>;
|
246
278
|
deleteDataMember(target: TreeViewItem<AppTreeItem>): void;
|
247
279
|
renameDataMember(target: TreeViewItem<AppTreeItem>, newName: string): void;
|
248
280
|
updateDataMemberValue(target: TreeViewItem<AppTreeItem>, newValue: any): void;
|
249
281
|
setActiveAppTreeItem(key: string): void;
|
250
|
-
|
282
|
+
copyComponent(): void;
|
283
|
+
pasteComponent(): void;
|
251
284
|
reloadApp(): void;
|
252
285
|
updateHistory(): void;
|
253
286
|
};
|
254
287
|
events: {
|
288
|
+
onMutatedPreviewTheme: import("@omnia/fx").MessageBusExposeOnlySubscription<ThemeDefinitionV2>;
|
289
|
+
onMutatedPreviewRenderContext: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronRenderContext>;
|
290
|
+
onMutatedCanvasMode: import("@omnia/fx").MessageBusExposeOnlySubscription<canvasMode>;
|
255
291
|
onMutatedAppData: import("@omnia/fx").MessageBusExposeOnlySubscription<{}>;
|
256
292
|
onMutatedAppAsJson: import("@omnia/fx").MessageBusExposeOnlySubscription<string>;
|
257
293
|
onMutatedAppDefinition: import("@omnia/fx").MessageBusExposeOnlySubscription<VelcronAppDefinition<object>>;
|
@@ -261,9 +297,12 @@ export declare const useVelcronEditorStore: () => {
|
|
261
297
|
onMutatedSelectedAppTreeItem: import("@omnia/fx").MessageBusExposeOnlySubscription<TreeViewItem<AppTreeItem>>;
|
262
298
|
onMutatedEditorMode: import("@omnia/fx").MessageBusExposeOnlySubscription<editorModes>;
|
263
299
|
onMutatedActiveAppTreeItem: import("@omnia/fx").MessageBusExposeOnlySubscription<TreeViewItem<any>>;
|
300
|
+
onMutatedItemToCopy: import("@omnia/fx").MessageBusExposeOnlySubscription<TreeViewItem<AppTreeItem>>;
|
264
301
|
onMutatedHistory: import("@omnia/fx").MessageBusExposeOnlySubscription<string[]>;
|
265
|
-
onMutatedShowAddComponent: import("@omnia/fx").MessageBusExposeOnlySubscription<
|
302
|
+
onMutatedShowAddComponent: import("@omnia/fx").MessageBusExposeOnlySubscription<AddVelcronComponentMode>;
|
303
|
+
onMutatedShowAddApp: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
266
304
|
onMutatedShowAddDataObject: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
305
|
+
onMutatedShowStateTree: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
267
306
|
onMutatedShowShare: import("@omnia/fx").MessageBusExposeOnlySubscription<boolean>;
|
268
307
|
onMutatedCodeEditor: import("@omnia/fx").MessageBusExposeOnlySubscription<CodeEditorState>;
|
269
308
|
onMutatedValidation: import("@omnia/fx").MessageBusExposeOnlySubscription<AppValidationState>;
|
@@ -272,3 +311,4 @@ export declare const useVelcronEditorStore: () => {
|
|
272
311
|
}>;
|
273
312
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
274
313
|
};
|
314
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./stores";
|
package/internal-do-not-import-from-here/ux/velcron/renderer/propertyeditors/ReferenceEditor.d.ts
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
import { VelcronRendererResolverReference } from "@omnia/fx-models";
|
2
|
+
declare const _default: (props: {
|
3
|
+
label?: string;
|
4
|
+
"v-model"?: VelcronRendererResolverReference;
|
5
|
+
"onUpdate:modelValue"?: (value: VelcronRendererResolverReference) => void;
|
6
|
+
modelValue?: VelcronRendererResolverReference;
|
7
|
+
} & Omit<{}, "label" | "v-model" | "onUpdate:modelValue" | "modelValue"> & {
|
8
|
+
"v-slots"?: {
|
9
|
+
default?: import("vue").Slot;
|
10
|
+
} & {};
|
11
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "v-model" | "onUpdate:modelValue" | "modelValue">) => {
|
12
|
+
$: import("vue").ComponentInternalInstance;
|
13
|
+
$data: {};
|
14
|
+
$props: {};
|
15
|
+
$attrs: {
|
16
|
+
[x: string]: unknown;
|
17
|
+
};
|
18
|
+
$refs: {
|
19
|
+
[x: string]: unknown;
|
20
|
+
};
|
21
|
+
$slots: Readonly<{
|
22
|
+
[name: string]: import("vue").Slot<any>;
|
23
|
+
}>;
|
24
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
25
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
26
|
+
$emit: (event: string, ...args: any[]) => void;
|
27
|
+
$el: any;
|
28
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
29
|
+
beforeCreate?: (() => void) | (() => void)[];
|
30
|
+
created?: (() => void) | (() => void)[];
|
31
|
+
beforeMount?: (() => void) | (() => void)[];
|
32
|
+
mounted?: (() => void) | (() => void)[];
|
33
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
34
|
+
updated?: (() => void) | (() => void)[];
|
35
|
+
activated?: (() => void) | (() => void)[];
|
36
|
+
deactivated?: (() => void) | (() => void)[];
|
37
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
38
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
39
|
+
destroyed?: (() => void) | (() => void)[];
|
40
|
+
unmounted?: (() => void) | (() => void)[];
|
41
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
42
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
43
|
+
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)[];
|
44
|
+
};
|
45
|
+
$forceUpdate: () => void;
|
46
|
+
$nextTick: typeof import("vue").nextTick;
|
47
|
+
$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;
|
48
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
49
|
+
propsDefinition: {
|
50
|
+
label?: string;
|
51
|
+
"v-model"?: VelcronRendererResolverReference;
|
52
|
+
"onUpdate:modelValue"?: (value: VelcronRendererResolverReference) => void;
|
53
|
+
modelValue?: VelcronRendererResolverReference;
|
54
|
+
} & {
|
55
|
+
"v-slots"?: {
|
56
|
+
default?: import("vue").Slot;
|
57
|
+
} & {};
|
58
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "label" | "v-model" | "onUpdate:modelValue" | "modelValue">;
|
59
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
60
|
+
[key: string]: any;
|
61
|
+
}>;
|
62
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./VelcronDefinitionStore";
|
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.151-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.151-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|
File without changes
|