@vtj/designer 0.13.29 → 0.13.31
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/Editor-Dn4FMjGq.js +4 -0
- package/dist/{index-Bd05zfhh.js → index-ColnfUmh.js} +5 -4
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
- package/types/components/setters/image.d.ts +2 -2
- package/types/components/setters/index.d.ts +2 -2
- package/types/components/widgets/ai/image-input.d.ts +2 -2
- package/types/components/widgets/ai/json-input.d.ts +3 -3
- package/types/components/widgets/apis/swagger.d.ts +2 -2
- package/types/components/widgets/i18n/index.d.ts +2 -2
- package/types/components/widgets/index.d.ts +2 -2
- package/types/utils.d.ts +2 -2
- package/types/version.d.ts +2 -2
- package/dist/Editor-BMuQppe5.js +0 -4
|
@@ -19,10 +19,10 @@ import { editor as Im } from "monaco-editor";
|
|
|
19
19
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
|
20
20
|
* @name @vtj/designer
|
|
21
21
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
22
|
-
* @version 0.13.
|
|
22
|
+
* @version 0.13.31
|
|
23
23
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
24
24
|
*/
|
|
25
|
-
const ls = "0.13.
|
|
25
|
+
const ls = "0.13.31", Rm = {
|
|
26
26
|
width: 390,
|
|
27
27
|
height: 844
|
|
28
28
|
}, Nm = {
|
|
@@ -8775,7 +8775,7 @@ const Ew = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
8775
8775
|
]));
|
|
8776
8776
|
}
|
|
8777
8777
|
}), Xe = sf({
|
|
8778
|
-
loader: () => import("./Editor-
|
|
8778
|
+
loader: () => import("./Editor-Dn4FMjGq.js"),
|
|
8779
8779
|
loadingComponent: F({
|
|
8780
8780
|
render() {
|
|
8781
8781
|
return eo("div", "正在拼命加载...");
|
|
@@ -27437,6 +27437,7 @@ const Sx = ["innerHTML"], xx = /* @__PURE__ */ F({
|
|
|
27437
27437
|
urls: [
|
|
27438
27438
|
"@vtj/materials/deps/ant-design-vue/reset.css",
|
|
27439
27439
|
"@vtj/materials/deps/ant-design-vue/dayjs/dayjs.min.js",
|
|
27440
|
+
"@vtj/materials/deps/ant-design-vue/dayjs/locale/zh-cn.js",
|
|
27440
27441
|
"@vtj/materials/deps/ant-design-vue/dayjs/plugin/customParseFormat.js",
|
|
27441
27442
|
"@vtj/materials/deps/ant-design-vue/dayjs/plugin/weekday.js",
|
|
27442
27443
|
"@vtj/materials/deps/ant-design-vue/dayjs/plugin/localeData.js",
|
|
@@ -29466,7 +29467,7 @@ class EA {
|
|
|
29466
29467
|
this.dropping.value = null, n.simulator.refresh(), n.assets.clearCaches();
|
|
29467
29468
|
}
|
|
29468
29469
|
onSelected(t) {
|
|
29469
|
-
this.setHover(null), this.selected.value = this.getHelper(t);
|
|
29470
|
+
this.engine.state.activeEvent || (t.stopPropagation(), t.preventDefault()), this.setHover(null), this.selected.value = this.getHelper(t);
|
|
29470
29471
|
}
|
|
29471
29472
|
async onDragOver(t) {
|
|
29472
29473
|
const n = this.getHelper(t);
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, x as E, L as t, p as r, o as i, D as n, U as S, E as _, j as T, I as o, z as I, G as O, H as l, k as V, n as g, K as p, g as d, M as R, a as A, N as D, e as P, X as M, P as N, l as L, R as K, B as u, a7 as Y, Q as b, F as c, S as B, f as W, i as m, a9 as G, O as f, h as w, a6 as x, t as y, Y as F, m as H, V as U, v as k, b as C, d as X, c as J, y as Z, q as h, u as j, W as v, a8 as z, aa as q, $ as Q, a0 as $, a2 as aa, Z as sa, ad as ea, T as Ea, a1 as ta, a4 as ra, C as ia, ag as na, ah as Sa, ac as _a, ae as Ta, ai as oa, ab as Ia, af as Oa, aj as la, r as Va, a5 as ga, s as pa, J as da, a3 as Ra, w as Aa } from "./index-
|
|
1
|
+
import { A as e, x as E, L as t, p as r, o as i, D as n, U as S, E as _, j as T, I as o, z as I, G as O, H as l, k as V, n as g, K as p, g as d, M as R, a as A, N as D, e as P, X as M, P as N, l as L, R as K, B as u, a7 as Y, Q as b, F as c, S as B, f as W, i as m, a9 as G, O as f, h as w, a6 as x, t as y, Y as F, m as H, V as U, v as k, b as C, d as X, c as J, y as Z, q as h, u as j, W as v, a8 as z, aa as q, $ as Q, a0 as $, a2 as aa, Z as sa, ad as ea, T as Ea, a1 as ta, a4 as ra, C as ia, ag as na, ah as Sa, ac as _a, ae as Ta, ai as oa, ab as Ia, af as Oa, aj as la, r as Va, a5 as ga, s as pa, J as da, a3 as Ra, w as Aa } from "./index-ColnfUmh.js";
|
|
2
2
|
export {
|
|
3
3
|
e as API_METHOD_TYPES,
|
|
4
4
|
E as ActionMenu,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtj/designer",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.31",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"低代码引擎",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"marked": "~15.0.8",
|
|
30
30
|
"mockjs": "~1.1.0",
|
|
31
31
|
"monaco-editor": "~0.52.0",
|
|
32
|
-
"@vtj/icons": "~0.13.
|
|
33
|
-
"@vtj/core": "~0.13.
|
|
34
|
-
"@vtj/renderer": "~0.13.
|
|
35
|
-
"@vtj/
|
|
36
|
-
"@vtj/
|
|
37
|
-
"@vtj/
|
|
32
|
+
"@vtj/icons": "~0.13.31",
|
|
33
|
+
"@vtj/core": "~0.13.31",
|
|
34
|
+
"@vtj/renderer": "~0.13.31",
|
|
35
|
+
"@vtj/ui": "~0.13.31",
|
|
36
|
+
"@vtj/uni": "~0.13.31",
|
|
37
|
+
"@vtj/utils": "~0.13.31"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/mockjs": "~1.0.10",
|
|
@@ -279,7 +279,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
279
279
|
submit: () => void;
|
|
280
280
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
281
281
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
282
|
-
handleRemove: (file: UploadFile | UploadRawFile
|
|
282
|
+
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
283
283
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
|
|
284
284
|
readonly data: ({
|
|
285
285
|
[x: string]: any;
|
|
@@ -543,7 +543,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
543
543
|
submit: () => void;
|
|
544
544
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
545
545
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
546
|
-
handleRemove: (file: UploadFile | UploadRawFile
|
|
546
|
+
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
547
547
|
}> & {} & ComponentCustomProperties & {} & {
|
|
548
548
|
$slots: {
|
|
549
549
|
file?(_: {
|
|
@@ -450,7 +450,7 @@ export declare const setters: {
|
|
|
450
450
|
submit: () => void;
|
|
451
451
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
452
452
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
453
|
-
handleRemove: (file: UploadFile | UploadRawFile
|
|
453
|
+
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
454
454
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
|
|
455
455
|
readonly data: ({
|
|
456
456
|
[x: string]: any;
|
|
@@ -714,7 +714,7 @@ export declare const setters: {
|
|
|
714
714
|
submit: () => void;
|
|
715
715
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
716
716
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
717
|
-
handleRemove: (file: UploadFile | UploadRawFile
|
|
717
|
+
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
718
718
|
}> & {} & ComponentCustomProperties & {} & {
|
|
719
719
|
$slots: {
|
|
720
720
|
file?(_: {
|
|
@@ -274,7 +274,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
274
274
|
submit: () => void;
|
|
275
275
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
276
276
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
277
|
-
handleRemove: (file: UploadFile | UploadRawFile
|
|
277
|
+
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
278
278
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
|
|
279
279
|
readonly data: ({
|
|
280
280
|
[x: string]: any;
|
|
@@ -538,7 +538,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
538
538
|
submit: () => void;
|
|
539
539
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
540
540
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
541
|
-
handleRemove: (file: UploadFile | UploadRawFile
|
|
541
|
+
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
542
542
|
}> & {} & ComponentCustomProperties & {} & {
|
|
543
543
|
$slots: {
|
|
544
544
|
file?(_: {
|
|
@@ -279,9 +279,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
279
279
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
280
280
|
input: (value: string) => void;
|
|
281
281
|
focus: (evt: FocusEvent) => void;
|
|
282
|
-
clear: () => void;
|
|
283
282
|
"update:modelValue": (value: string) => void;
|
|
284
283
|
change: (value: string) => void;
|
|
284
|
+
clear: () => void;
|
|
285
285
|
blur: (evt: FocusEvent) => void;
|
|
286
286
|
compositionend: (evt: CompositionEvent) => void;
|
|
287
287
|
compositionstart: (evt: CompositionEvent) => void;
|
|
@@ -806,7 +806,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
806
806
|
submit: () => void;
|
|
807
807
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
808
808
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
809
|
-
handleRemove: (file: UploadFile | UploadRawFile
|
|
809
|
+
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
810
810
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
|
|
811
811
|
readonly data: ({
|
|
812
812
|
[x: string]: any;
|
|
@@ -1070,7 +1070,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1070
1070
|
submit: () => void;
|
|
1071
1071
|
clearFiles: (states?: UploadStatus[]) => void;
|
|
1072
1072
|
handleStart: (rawFile: UploadRawFile) => void;
|
|
1073
|
-
handleRemove: (file: UploadFile | UploadRawFile
|
|
1073
|
+
handleRemove: (file: UploadFile | UploadRawFile) => void;
|
|
1074
1074
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1075
1075
|
$slots: {
|
|
1076
1076
|
file?(_: {
|
|
@@ -633,7 +633,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
633
633
|
form?: Record<string, any> | undefined;
|
|
634
634
|
};
|
|
635
635
|
load: (reset?: boolean) => Promise<void>;
|
|
636
|
-
search: (reset?: boolean) =>
|
|
636
|
+
search: (reset?: boolean) => Promise<boolean>;
|
|
637
637
|
vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
|
|
638
638
|
rowSortable: Ref<any, any>;
|
|
639
639
|
columnSortable: Ref<any[], any[]>;
|
|
@@ -1254,7 +1254,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
1254
1254
|
form?: Record<string, any> | undefined;
|
|
1255
1255
|
};
|
|
1256
1256
|
load: (reset?: boolean) => Promise<void>;
|
|
1257
|
-
search: (reset?: boolean) =>
|
|
1257
|
+
search: (reset?: boolean) => Promise<boolean>;
|
|
1258
1258
|
vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
|
|
1259
1259
|
rowSortable: Ref<any, any>;
|
|
1260
1260
|
columnSortable: Ref<any[], any[]>;
|
|
@@ -627,7 +627,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
627
627
|
form?: Record<string, any> | undefined;
|
|
628
628
|
};
|
|
629
629
|
load: (reset?: boolean) => Promise<void>;
|
|
630
|
-
search: (reset?: boolean) =>
|
|
630
|
+
search: (reset?: boolean) => Promise<boolean>;
|
|
631
631
|
vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
|
|
632
632
|
rowSortable: Ref<any, any>;
|
|
633
633
|
columnSortable: Ref<any[], any[]>;
|
|
@@ -1248,7 +1248,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
1248
1248
|
form?: Record<string, any> | undefined;
|
|
1249
1249
|
};
|
|
1250
1250
|
load: (reset?: boolean) => Promise<void>;
|
|
1251
|
-
search: (reset?: boolean) =>
|
|
1251
|
+
search: (reset?: boolean) => Promise<boolean>;
|
|
1252
1252
|
vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
|
|
1253
1253
|
rowSortable: Ref<any, any>;
|
|
1254
1254
|
columnSortable: Ref<any[], any[]>;
|
|
@@ -2936,7 +2936,7 @@ export declare const widgets: {
|
|
|
2936
2936
|
form?: Record<string, any> | undefined;
|
|
2937
2937
|
};
|
|
2938
2938
|
load: (reset?: boolean) => Promise<void>;
|
|
2939
|
-
search: (reset?: boolean) =>
|
|
2939
|
+
search: (reset?: boolean) => Promise<boolean>;
|
|
2940
2940
|
vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
|
|
2941
2941
|
rowSortable: Ref<any, any>;
|
|
2942
2942
|
columnSortable: Ref<any[], any[]>;
|
|
@@ -3557,7 +3557,7 @@ export declare const widgets: {
|
|
|
3557
3557
|
form?: Record<string, any> | undefined;
|
|
3558
3558
|
};
|
|
3559
3559
|
load: (reset?: boolean) => Promise<void>;
|
|
3560
|
-
search: (reset?: boolean) =>
|
|
3560
|
+
search: (reset?: boolean) => Promise<boolean>;
|
|
3561
3561
|
vxeRef: Ref< VxeGridInstance | undefined, VxeGridInstance | undefined>;
|
|
3562
3562
|
rowSortable: Ref<any, any>;
|
|
3563
3563
|
columnSortable: Ref<any[], any[]>;
|
package/types/utils.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { JSExpression, JSFunction } from '@vtj/core';
|
|
2
2
|
import { LoadingOptions, MessageBoxData, NotificationHandle, LoadingParentElement, MessageHandler } from 'element-plus';
|
|
3
|
-
import { ComponentPublicInstance, ComponentOptionsBase, Ref,
|
|
3
|
+
import { VNode, ComponentPublicInstance, ComponentOptionsBase, Ref, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
export declare function alert(message: string, options?: any): Promise< MessageBoxData>;
|
|
5
5
|
export declare function notify(message: string, title?: string): NotificationHandle;
|
|
6
6
|
export declare function loading(options?: LoadingOptions): {
|
|
7
|
-
setText: (text: string) => void;
|
|
7
|
+
setText: (text: string | VNode | VNode[]) => void;
|
|
8
8
|
removeElLoadingChild: () => void;
|
|
9
9
|
close: () => void;
|
|
10
10
|
handleAfterLeave: () => void;
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/designer
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.13.
|
|
5
|
+
* @version 0.13.30
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.13.
|
|
8
|
+
export declare const version = "0.13.30";
|
package/dist/Editor-BMuQppe5.js
DELETED