@vtj/renderer 0.10.14 → 0.11.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/package.json CHANGED
@@ -1,18 +1,35 @@
1
1
  {
2
2
  "name": "@vtj/renderer",
3
3
  "private": false,
4
- "version": "0.10.14",
4
+ "version": "0.11.0",
5
5
  "type": "module",
6
+ "keywords": [
7
+ "低代码引擎",
8
+ "LowCode Engine",
9
+ "Vue3低代码",
10
+ "低代码渲染器",
11
+ "低代码设计器",
12
+ "代码生成器",
13
+ "代码可视化"
14
+ ],
15
+ "description": "VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://gitee.com/newgateway/vtj.git"
19
+ },
20
+ "homepage": "https://gitee.com/newgateway/vtj",
21
+ "author": "chenhuachun",
22
+ "license": "MIT",
6
23
  "dependencies": {
7
- "@vtj/core": "~0.10.14",
8
- "@vtj/utils": "~0.10.14"
24
+ "@vtj/utils": "~0.11.0",
25
+ "@vtj/core": "~0.11.0"
9
26
  },
10
27
  "devDependencies": {
11
28
  "vue": "~3.5.5",
12
29
  "vue-router": "~4.5.0",
13
- "@vtj/cli": "~0.10.3",
14
- "@vtj/ui": "~0.10.14",
15
- "@vtj/icons": "~0.10.14"
30
+ "@vtj/icons": "~0.11.0",
31
+ "@vtj/cli": "~0.10.4",
32
+ "@vtj/ui": "~0.11.0"
16
33
  },
17
34
  "exports": {
18
35
  ".": {
@@ -50,7 +50,7 @@ export interface AccessOptions {
50
50
  * @param message
51
51
  * @returns
52
52
  */
53
- alert?: (message: string, options: Record<string, any>) => Promise<any>;
53
+ alert?: (message: string, options?: Record<string, any>) => Promise<any>;
54
54
  /**
55
55
  * 未登录提示文本
56
56
  */
@@ -92,7 +92,10 @@ export declare class Access {
92
92
  options: AccessOptions;
93
93
  private data;
94
94
  private mode?;
95
+ private interceptResponse;
95
96
  constructor(options: Partial<AccessOptions>);
97
+ enableIntercept(): void;
98
+ disableIntercept(): void;
96
99
  connect(params: AccessConnectParams): void;
97
100
  login(data: AccessData | string | string[]): void;
98
101
  clear(): void;
@@ -8,7 +8,7 @@ export interface CreateAdapterOptions {
8
8
  settings?: IRequestSettings;
9
9
  Startup?: any;
10
10
  access?: Partial<AccessOptions>;
11
- remote?: string;
11
+ useTitle?: UseTitle;
12
12
  }
13
13
  export interface ProvideAdapter {
14
14
  request: IStaticRequest;
@@ -16,10 +16,6 @@ export interface ProvideAdapter {
16
16
  metaQuery?: (...args: any[]) => Promise<any>;
17
17
  access?: Access;
18
18
  startupComponent?: any;
19
- /**
20
- * 远程服务 host
21
- */
22
- remote?: string;
23
19
  useTitle?: UseTitle;
24
20
  [index: string]: any;
25
21
  }
@@ -1,4 +1,4 @@
1
- import { ProjectSchema, PageFile, BlockFile, BlockSchema, MaterialDescription, HistorySchema, HistoryItem, Service, StaticFileInfo, NodeFromPlugin, ExtensionConfig } from '@vtj/core';
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<ExtensionConfig | undefined>;
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, ExtensionConfig } from '@vtj/core';
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<ExtensionConfig | undefined>;
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>;
@@ -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.10.14
5
+ * @version 0.10.15
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.10.14";
8
+ export declare const version = "0.10.15";