@vtj/designer 0.10.15 → 0.11.1-alpha.0
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/dist/index.mjs +1484 -1482
- package/package.json +7 -7
- package/types/components/hooks/useOpenApi.d.ts +1 -1
- package/types/framework/engine.d.ts +7 -2
- package/types/version.d.ts +2 -2
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vtj/designer",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.
|
4
|
+
"version": "0.11.1-alpha.0",
|
5
5
|
"type": "module",
|
6
6
|
"keywords": [
|
7
7
|
"低代码引擎",
|
@@ -24,12 +24,12 @@
|
|
24
24
|
"html2canvas": "~1.4.1",
|
25
25
|
"mockjs": "~1.1.0",
|
26
26
|
"monaco-editor": "~0.52.0",
|
27
|
-
"@vtj/core": "~0.
|
28
|
-
"@vtj/
|
29
|
-
"@vtj/
|
30
|
-
"@vtj/ui": "~0.
|
31
|
-
"@vtj/uni": "~0.
|
32
|
-
"@vtj/
|
27
|
+
"@vtj/core": "~0.11.1-alpha.0",
|
28
|
+
"@vtj/renderer": "~0.11.1-alpha.0",
|
29
|
+
"@vtj/utils": "~0.11.1-alpha.0",
|
30
|
+
"@vtj/ui": "~0.11.1-alpha.0",
|
31
|
+
"@vtj/uni": "~0.11.1-alpha.0",
|
32
|
+
"@vtj/icons": "~0.11.1-alpha.0"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
35
|
"@types/mockjs": "~1.0.10",
|
@@ -30,7 +30,7 @@ export interface TemplateDto {
|
|
30
30
|
export declare function useOpenApi(): {
|
31
31
|
engine: ShallowReactive<Engine>;
|
32
32
|
access: Access | undefined;
|
33
|
-
remote: string
|
33
|
+
remote: string;
|
34
34
|
toRemoteAuth: () => void;
|
35
35
|
isLogined: () => Promise<boolean>;
|
36
36
|
getTemplates: (platform?: PlatformType) => Promise<TemplateDto[]>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ShallowReactive, InjectionKey, MaybeRef, App, Ref } from 'vue';
|
2
2
|
import { Base, ProjectModel, BlockModel, HistoryModel, Service, Emitter, ProjectSchema, ProjectModelEvent } from '@vtj/core';
|
3
|
-
import { Context, Provider, Access, ProvideAdapter
|
3
|
+
import { Context, Provider, Access, ProvideAdapter } from '@vtj/renderer';
|
4
4
|
import { SkeletonWrapperInstance } from '../wrappers';
|
5
5
|
import { Simulator } from './simulator';
|
6
6
|
import { Assets } from './assets';
|
@@ -20,7 +20,11 @@ export interface EngineOptions {
|
|
20
20
|
/**
|
21
21
|
* 这个是引擎自己的Access,不是业务应用,应用的在 adapter 中设置
|
22
22
|
*/
|
23
|
-
access?:
|
23
|
+
access?: Access;
|
24
|
+
/**
|
25
|
+
* 远程服务host
|
26
|
+
*/
|
27
|
+
remote?: string;
|
24
28
|
}
|
25
29
|
export declare const SAVE_BLOCK_FILE_FINISH = "SAVE_BLOCK_FILE_FINISH";
|
26
30
|
export declare class Engine extends Base {
|
@@ -44,6 +48,7 @@ export declare class Engine extends Base {
|
|
44
48
|
*/
|
45
49
|
changed: Ref<symbol>;
|
46
50
|
access?: Access;
|
51
|
+
remote: string;
|
47
52
|
constructor(options: EngineOptions);
|
48
53
|
private init;
|
49
54
|
private render;
|
package/types/version.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
3
3
|
* @name @vtj/designer
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
5
|
-
* @version 0.
|
5
|
+
* @version 0.11.0
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.
|
8
|
+
export declare const version = "0.11.0";
|