@vtj/designer 0.8.123 → 0.8.124

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 Es 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.123
14
+ * @version 0.8.124
15
15
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
16
16
  */
17
- const Ps = "0.8.123", qt = {
17
+ const Ps = "0.8.124", qt = {
18
18
  width: 390,
19
19
  height: 844
20
20
  }, Ht = {
@@ -8947,6 +8947,10 @@ class wu {
8947
8947
  e.use(this.provider);
8948
8948
  const o = Object.entries(t);
8949
8949
  Object.assign(e.config.globalProperties, l), o.forEach(([r, i]) => {
8950
+ if (!i) {
8951
+ console.warn(`plugin: ${r} is undefined`);
8952
+ return;
8953
+ }
8950
8954
  if (typeof i == "function" || typeof i.install == "function") {
8951
8955
  let g = {};
8952
8956
  const d = s[r];
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.8.123",
4
+ "version": "0.8.124",
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.123",
10
- "@vtj/renderer": "~0.8.123",
11
- "@vtj/icons": "~0.8.123",
12
- "@vtj/ui": "~0.8.123",
13
- "@vtj/utils": "~0.8.123"
9
+ "@vtj/core": "~0.8.124",
10
+ "@vtj/icons": "~0.8.124",
11
+ "@vtj/renderer": "~0.8.124",
12
+ "@vtj/ui": "~0.8.124",
13
+ "@vtj/utils": "~0.8.124"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/mockjs": "~1.0.10",
17
17
  "vue": "~3.4.15",
18
18
  "vue-router": "~4.4.0",
19
- "@vtj/cli": "~0.8.26"
19
+ "@vtj/cli": "~0.8.27"
20
20
  },
21
21
  "files": [
22
22
  "dist",
@@ -17,8 +17,8 @@ declare function __VLS_template(): {
17
17
  };
18
18
  declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
19
19
  cancel: (...args: any[]) => void;
20
- "update:modelValue": (...args: any[]) => void;
21
20
  close: (...args: any[]) => void;
21
+ "update:modelValue": (...args: any[]) => void;
22
22
  submit: (...args: any[]) => void;
23
23
  unbind: (...args: any[]) => void;
24
24
  pick: (...args: any[]) => void;
@@ -5,8 +5,8 @@ export interface Props {
5
5
  auto?: boolean;
6
6
  }
7
7
  declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
- "update:modelValue": (...args: any[]) => void;
9
8
  close: (...args: any[]) => void;
9
+ "update:modelValue": (...args: any[]) => void;
10
10
  submit: (...args: any[]) => void;
11
11
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
12
12
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -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.122
5
+ * @version 0.8.123
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.8.122";
8
+ export declare const version = "0.8.123";