@vtj/designer 0.8.49 → 0.8.51

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 CHANGED
@@ -11,10 +11,10 @@ import Vs from "mockjs";
11
11
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
12
12
  * @name @vtj/designer
13
13
  * @author CHC chenhuachun1549@dingtalk.com
14
- * @version 0.8.49
14
+ * @version 0.8.51
15
15
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
16
16
  */
17
- const As = "0.8.49", Lt = {
17
+ const As = "0.8.51", Lt = {
18
18
  width: 390,
19
19
  height: 844
20
20
  }, Ut = {
@@ -8873,6 +8873,7 @@ class hu {
8873
8873
  blockChange;
8874
8874
  context = null;
8875
8875
  install(e) {
8876
+ e.__vtj_env__ = this.env;
8876
8877
  const { library: t, globals: l, VueRouter: a, locales: r } = this.env;
8877
8878
  if (a) {
8878
8879
  const o = a.createRouter({
@@ -8881,7 +8882,7 @@ class hu {
8881
8882
  });
8882
8883
  e.use(o);
8883
8884
  }
8884
- e.use(this.provider), e.__vtj_env__ = this.env;
8885
+ e.use(this.provider);
8885
8886
  const s = Object.entries(t);
8886
8887
  Object.assign(e.config.globalProperties, l), e.config.errorHandler = (o, i, g) => {
8887
8888
  const p = i?.$options.name, m = o?.message || o?.msg || "未知错误", h = `[ ${p} ] ${m}`;
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.8.49",
4
+ "version": "0.8.51",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "mockjs": "~1.1.0",
8
8
  "monaco-editor": "~0.48.0",
9
- "@vtj/core": "~0.8.49",
10
- "@vtj/utils": "~0.8.49",
11
- "@vtj/icons": "~0.8.49",
12
- "@vtj/ui": "~0.8.49",
13
- "@vtj/renderer": "~0.8.49"
9
+ "@vtj/core": "~0.8.51",
10
+ "@vtj/renderer": "~0.8.51",
11
+ "@vtj/icons": "~0.8.51",
12
+ "@vtj/ui": "~0.8.51",
13
+ "@vtj/utils": "~0.8.51"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/mockjs": "~1.0.10",
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/designer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.8.48
5
+ * @version 0.8.50
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.8.48";
8
+ export declare const version = "0.8.50";