@vtj/renderer 0.12.19 → 0.12.20

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.12.19",
4
+ "version": "0.12.20",
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/utils": "~0.12.19",
25
- "@vtj/core": "~0.12.19"
24
+ "@vtj/core": "~0.12.20",
25
+ "@vtj/utils": "~0.12.20"
26
26
  },
27
27
  "devDependencies": {
28
28
  "vue": "~3.5.5",
29
29
  "vue-router": "~4.5.0",
30
30
  "@vtj/cli": "~0.12.2",
31
- "@vtj/icons": "~0.12.19",
32
- "@vtj/ui": "~0.12.19"
31
+ "@vtj/ui": "~0.12.20",
32
+ "@vtj/icons": "~0.12.20"
33
33
  },
34
34
  "exports": {
35
35
  ".": {
@@ -0,0 +1,5 @@
1
+ import { EnhanceConfig } from '@vtj/core';
2
+ import { App } from 'vue';
3
+ import { Provider } from '../provider';
4
+ export type LoadEnhanceReturn = ((app: App, provider: Provider) => void) | undefined;
5
+ export declare function loadEnhance(config: EnhanceConfig, base?: string): Promise<LoadEnhanceReturn>;
@@ -1,3 +1,4 @@
1
1
  export * from './provider';
2
2
  export * from './apis';
3
3
  export * from './defaults';
4
+ export * from './enhance';
@@ -22,6 +22,7 @@ export interface ProviderOptions {
22
22
  routeAppendTo?: RouteRecordName;
23
23
  pageRouteName?: string;
24
24
  routeMeta?: RouteMeta;
25
+ enhance?: (app: App, provider: Provider) => void;
25
26
  }
26
27
  export declare enum NodeEnv {
27
28
  Production = "production",
@@ -17,3 +17,7 @@ export declare function parseDeps(deps: Dependencie[], basePath: string, isDev?:
17
17
  libraryLocaleMap: Record<string, string>;
18
18
  };
19
19
  export declare function getRawComponent(desc: MaterialDescription, lib: any): any;
20
+ export declare function parseUrls(urls?: string[]): {
21
+ css: string[];
22
+ js: string[];
23
+ };
@@ -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.12.18
5
+ * @version 0.12.19
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.12.18";
8
+ export declare const version = "0.12.19";