@vtj/renderer 0.13.36 → 0.13.38

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/renderer",
3
3
  "private": false,
4
- "version": "0.13.36",
4
+ "version": "0.13.38",
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/core": "~0.13.36",
25
- "@vtj/utils": "~0.13.36"
24
+ "@vtj/utils": "~0.13.38",
25
+ "@vtj/core": "~0.13.38"
26
26
  },
27
27
  "devDependencies": {
28
28
  "vue": "~3.5.5",
29
29
  "vue-router": "~4.6.0",
30
- "@vtj/cli": "~0.12.16",
31
- "@vtj/icons": "~0.13.36",
32
- "@vtj/ui": "~0.13.36"
30
+ "@vtj/cli": "~0.12.17",
31
+ "@vtj/ui": "~0.13.38",
32
+ "@vtj/icons": "~0.13.38"
33
33
  },
34
34
  "exports": {
35
35
  ".": {
@@ -97,6 +97,7 @@ export declare class Access {
97
97
  private data;
98
98
  private mode?;
99
99
  private interceptResponse;
100
+ private isTipShowing;
100
101
  constructor(options: Partial<AccessOptions>);
101
102
  enableIntercept(): void;
102
103
  disableIntercept(): void;
@@ -1,6 +1,6 @@
1
1
  import { App, InjectionKey } from 'vue';
2
2
  import { Router, RouteRecordName, RouteMeta } from 'vue-router';
3
- import { ProjectSchema, PageFile, BlockFile, Service, BlockSchema, NodeFromPlugin, GlobalConfig, I18nConfig, Base } from '@vtj/core';
3
+ import { ProjectSchema, PageFile, BlockFile, Service, BlockSchema, NodeFromPlugin, GlobalConfig, I18nConfig, EnvConfig, Base } from '@vtj/core';
4
4
  import { ContextMode } from '../constants';
5
5
  import { CreateRendererOptions } from '../render';
6
6
  import { ProvideAdapter } from './defaults';
@@ -56,6 +56,7 @@ export declare class Provider extends Base {
56
56
  project: ProjectSchema | null;
57
57
  components: Record<string, any>;
58
58
  nodeEnv: NodeEnv;
59
+ env: Record<string, string>;
59
60
  private router;
60
61
  private materialPath;
61
62
  private urlDslCaches;
@@ -145,6 +146,7 @@ export declare class Provider extends Base {
145
146
  */
146
147
  initGlobals(globals: GlobalConfig, options: Partial<InitGlobalsOptions>): void;
147
148
  initI18n(app: App, libs: Record<string, any>, i18n?: I18nConfig): void;
149
+ initEnv(envConfig?: EnvConfig[]): void;
148
150
  }
149
151
  /**
150
152
  * 创建 Provider 实例
@@ -1,5 +1,6 @@
1
1
  import { ContextMode } from '../constants';
2
2
  import { BlockSchema, JSFunction, JSExpression } from '@vtj/core';
3
+ import { Provider } from '../provider';
3
4
  export interface ContextOptions {
4
5
  mode: ContextMode;
5
6
  dsl?: BlockSchema;
@@ -35,6 +36,7 @@ export declare class Context {
35
36
  $components: Record<string, any>;
36
37
  $libs: Record<string, any>;
37
38
  $apis: Record<string, any>;
39
+ $provider: Provider | null;
38
40
  private __transform;
39
41
  constructor(options: ContextOptions);
40
42
  setup(attrs: Record<string, any>, Vue?: any): void;
@@ -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.13.35
5
+ * @version 0.13.37
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.13.35";
8
+ export declare const version = "0.13.37";