@vtj/renderer 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.cjs +5 -5
- package/dist/index.mjs +309 -309
- package/package.json +6 -6
- package/types/plugins/access.d.ts +1 -1
- package/types/provider/defaults.d.ts +2 -5
- package/types/services/base.d.ts +2 -2
- package/types/services/local.d.ts +2 -2
- package/types/version.d.ts +2 -2
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vtj/renderer",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.
|
4
|
+
"version": "0.11.1-alpha.0",
|
5
5
|
"type": "module",
|
6
6
|
"keywords": [
|
7
7
|
"低代码引擎",
|
@@ -21,15 +21,15 @@
|
|
21
21
|
"author": "chenhuachun",
|
22
22
|
"license": "MIT",
|
23
23
|
"dependencies": {
|
24
|
-
"@vtj/
|
25
|
-
"@vtj/
|
24
|
+
"@vtj/utils": "~0.11.1-alpha.0",
|
25
|
+
"@vtj/core": "~0.11.1-alpha.0"
|
26
26
|
},
|
27
27
|
"devDependencies": {
|
28
28
|
"vue": "~3.5.5",
|
29
29
|
"vue-router": "~4.5.0",
|
30
|
-
"@vtj/
|
31
|
-
"@vtj/ui": "~0.
|
32
|
-
"@vtj/
|
30
|
+
"@vtj/icons": "~0.11.1-alpha.0",
|
31
|
+
"@vtj/ui": "~0.11.1-alpha.0",
|
32
|
+
"@vtj/cli": "~0.10.4"
|
33
33
|
},
|
34
34
|
"exports": {
|
35
35
|
".": {
|
@@ -8,7 +8,8 @@ export interface CreateAdapterOptions {
|
|
8
8
|
settings?: IRequestSettings;
|
9
9
|
Startup?: any;
|
10
10
|
access?: Partial<AccessOptions>;
|
11
|
-
|
11
|
+
useTitle?: UseTitle;
|
12
|
+
alert?: (msg: string, opt?: any) => any;
|
12
13
|
}
|
13
14
|
export interface ProvideAdapter {
|
14
15
|
request: IStaticRequest;
|
@@ -16,10 +17,6 @@ export interface ProvideAdapter {
|
|
16
17
|
metaQuery?: (...args: any[]) => Promise<any>;
|
17
18
|
access?: Access;
|
18
19
|
startupComponent?: any;
|
19
|
-
/**
|
20
|
-
* 远程服务 host
|
21
|
-
*/
|
22
|
-
remote?: string;
|
23
20
|
useTitle?: UseTitle;
|
24
21
|
[index: string]: any;
|
25
22
|
}
|
package/types/services/base.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ProjectSchema, PageFile, BlockFile, BlockSchema, MaterialDescription, HistorySchema, HistoryItem, Service, StaticFileInfo, NodeFromPlugin,
|
1
|
+
import { ProjectSchema, PageFile, BlockFile, BlockSchema, MaterialDescription, HistorySchema, HistoryItem, Service, StaticFileInfo, NodeFromPlugin, VTJConfig } from '@vtj/core';
|
2
2
|
import { IStaticRequest } from '@vtj/utils';
|
3
3
|
export declare function createServiceRequest(notify?: (msg: string) => void): IStaticRequest<any, any>;
|
4
4
|
export declare class BaseService implements Service {
|
@@ -6,7 +6,7 @@ export declare class BaseService implements Service {
|
|
6
6
|
private pluginCaches;
|
7
7
|
protected uploader: (file: File, projectId: string) => Promise<StaticFileInfo>;
|
8
8
|
constructor(req?: IStaticRequest);
|
9
|
-
getExtension(): Promise<
|
9
|
+
getExtension(): Promise<VTJConfig | undefined>;
|
10
10
|
init(project: ProjectSchema): Promise<ProjectSchema>;
|
11
11
|
saveProject(project: ProjectSchema, type?: string): Promise<boolean>;
|
12
12
|
saveMaterials(project: ProjectSchema, materials: Map<string, MaterialDescription>): Promise<boolean>;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { ProjectSchema, BlockSchema, HistorySchema, HistoryItem, MaterialDescription,
|
1
|
+
import { ProjectSchema, BlockSchema, HistorySchema, HistoryItem, MaterialDescription, VTJConfig } from '@vtj/core';
|
2
2
|
import { BaseService } from './base';
|
3
3
|
export declare class LocalService extends BaseService {
|
4
4
|
private getFileCaches;
|
5
|
-
getExtension(): Promise<
|
5
|
+
getExtension(): Promise<VTJConfig | undefined>;
|
6
6
|
init(project: ProjectSchema): Promise<ProjectSchema>;
|
7
7
|
saveProject(project: ProjectSchema, type?: string): Promise<boolean>;
|
8
8
|
saveMaterials(project: ProjectSchema, materials: Map<string, MaterialDescription>): Promise<boolean>;
|
package/types/version.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
3
3
|
* @name @vtj/renderer
|
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";
|