@vtj/designer 0.13.18 → 0.13.19
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-8RJefU0w.js +4 -0
- package/dist/{index-DOGS-4QF.js → index-CppPjCfT.js} +5 -3
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
- package/types/components/shared/binder.d.ts +4 -4
- package/types/components/shared/panel.d.ts +6 -6
- package/types/components/shared/viewer.d.ts +305 -305
- package/types/components/widgets/ai/index.d.ts +3 -3
- package/types/components/widgets/ai/json-input.d.ts +10 -10
- package/types/components/widgets/apis/form.d.ts +2 -2
- package/types/components/widgets/docs/index.d.ts +3 -3
- package/types/components/widgets/index.d.ts +9 -9
- package/types/components/widgets/market/index.d.ts +3 -3
- package/types/components/widgets/scripts/group.d.ts +16 -16
- package/types/utils.d.ts +6 -2
- package/types/version.d.ts +2 -2
- package/dist/Editor-C46Axool.js +0 -4
@@ -19,10 +19,10 @@ import { editor as ic } 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.19
|
23
23
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
24
24
|
*/
|
25
|
-
const Nn = "0.13.
|
25
|
+
const Nn = "0.13.19", rc = {
|
26
26
|
width: 390,
|
27
27
|
height: 844
|
28
28
|
}, uc = {
|
@@ -2908,7 +2908,7 @@ const Rd = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
2908
2908
|
]));
|
2909
2909
|
}
|
2910
2910
|
}), De = Hl({
|
2911
|
-
loader: () => import("./Editor-
|
2911
|
+
loader: () => import("./Editor-8RJefU0w.js"),
|
2912
2912
|
loadingComponent: P({
|
2913
2913
|
render() {
|
2914
2914
|
return pn("div", "正在拼命加载...");
|
@@ -18515,10 +18515,12 @@ class gh extends xo {
|
|
18515
18515
|
initUniFeatures(e = "web") {
|
18516
18516
|
return e === "uniapp" ? "" : `
|
18517
18517
|
<script>
|
18518
|
+
window.__uniConfig = {};
|
18518
18519
|
window.__UNI_FEATURE_UNI_CLOUD__ = false;
|
18519
18520
|
window.__UNI_FEATURE_WX__ = false;
|
18520
18521
|
window.__UNI_FEATURE_WXS__ = false;
|
18521
18522
|
window.__UNI_FEATURE_PAGES__ = false;
|
18523
|
+
window.getApp = function() {}
|
18522
18524
|
<\/script>
|
18523
18525
|
`;
|
18524
18526
|
}
|
package/dist/index.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { A as e, x as E, I as t, p as r, o as i, Q as n, T as S, E as _, j as o, F as I, z as T, G as l, k as O, n as g, K as p, g as V, M as d, a as R, N as A, e as M, U as N, P as D, l as P, R as L, B as u, a6 as K, L as b, D as c, S as B, f as W, i as Y, a8 as m, J as G, h as f, a5 as w, t as x, X as y, m as F, V as U, v as k, b as H, d as C, c as X, y as v, q as J, u as Z, W as h, a7 as z, a9 as j, Z as q, $ as Q, a1 as $, Y as aa, ac as sa, O as ea, a0 as Ea, a3 as ta, C as ra, af as ia, ag as na, ab as Sa, ad as _a, ah as oa, aa as Ia, ae as Ta, ai as la, r as Oa, a4 as ga, s as pa, H as Va, a2 as da, w as Ra } from "./index-
|
1
|
+
import { A as e, x as E, I as t, p as r, o as i, Q as n, T as S, E as _, j as o, F as I, z as T, G as l, k as O, n as g, K as p, g as V, M as d, a as R, N as A, e as M, U as N, P as D, l as P, R as L, B as u, a6 as K, L as b, D as c, S as B, f as W, i as Y, a8 as m, J as G, h as f, a5 as w, t as x, X as y, m as F, V as U, v as k, b as H, d as C, c as X, y as v, q as J, u as Z, W as h, a7 as z, a9 as j, Z as q, $ as Q, a1 as $, Y as aa, ac as sa, O as ea, a0 as Ea, a3 as ta, C as ra, af as ia, ag as na, ab as Sa, ad as _a, ah as oa, aa as Ia, ae as Ta, ai as la, r as Oa, a4 as ga, s as pa, H as Va, a2 as da, w as Ra } from "./index-CppPjCfT.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.19",
|
5
5
|
"type": "module",
|
6
6
|
"keywords": [
|
7
7
|
"低代码引擎",
|
@@ -26,12 +26,12 @@
|
|
26
26
|
"marked": "~15.0.8",
|
27
27
|
"mockjs": "~1.1.0",
|
28
28
|
"monaco-editor": "~0.52.0",
|
29
|
-
"@vtj/core": "~0.13.
|
30
|
-
"@vtj/icons": "~0.13.
|
31
|
-
"@vtj/ui": "~0.13.
|
32
|
-
"@vtj/renderer": "~0.13.
|
33
|
-
"@vtj/
|
34
|
-
"@vtj/
|
29
|
+
"@vtj/core": "~0.13.19",
|
30
|
+
"@vtj/icons": "~0.13.19",
|
31
|
+
"@vtj/ui": "~0.13.19",
|
32
|
+
"@vtj/renderer": "~0.13.19",
|
33
|
+
"@vtj/utils": "~0.13.19",
|
34
|
+
"@vtj/uni": "~0.13.19"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
37
|
"@types/mockjs": "~1.0.10",
|
@@ -210,7 +210,6 @@ declare function __VLS_template(): {
|
|
210
210
|
clearValidate: () => void;
|
211
211
|
readonly labelWidth: string | number;
|
212
212
|
readonly labelPosition: "" | "top" | "left" | "right";
|
213
|
-
readonly inlineMessage: string | boolean;
|
214
213
|
readonly showMessage: boolean;
|
215
214
|
readonly label?: string | undefined;
|
216
215
|
readonly prop?: FormItemProp | undefined;
|
@@ -760,6 +759,7 @@ declare function __VLS_template(): {
|
|
760
759
|
validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
761
760
|
}[] | undefined;
|
762
761
|
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
762
|
+
readonly inlineMessage?: boolean | undefined;
|
763
763
|
readonly for?: string | undefined;
|
764
764
|
}[];
|
765
765
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
@@ -915,7 +915,6 @@ declare function __VLS_template(): {
|
|
915
915
|
clearValidate: () => void;
|
916
916
|
readonly labelWidth: string | number;
|
917
917
|
readonly labelPosition: "" | "top" | "left" | "right";
|
918
|
-
readonly inlineMessage: string | boolean;
|
919
918
|
readonly showMessage: boolean;
|
920
919
|
readonly label?: string | undefined;
|
921
920
|
readonly prop?: FormItemProp | undefined;
|
@@ -1465,6 +1464,7 @@ declare function __VLS_template(): {
|
|
1465
1464
|
validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
1466
1465
|
}[] | undefined;
|
1467
1466
|
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
1467
|
+
readonly inlineMessage?: boolean | undefined;
|
1468
1468
|
readonly for?: string | undefined;
|
1469
1469
|
}[];
|
1470
1470
|
}> & {} & ComponentCustomProperties & {} & {
|
@@ -1845,7 +1845,6 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
1845
1845
|
clearValidate: () => void;
|
1846
1846
|
readonly labelWidth: string | number;
|
1847
1847
|
readonly labelPosition: "" | "top" | "left" | "right";
|
1848
|
-
readonly inlineMessage: string | boolean;
|
1849
1848
|
readonly showMessage: boolean;
|
1850
1849
|
readonly label?: string | undefined;
|
1851
1850
|
readonly prop?: FormItemProp | undefined;
|
@@ -2395,6 +2394,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
2395
2394
|
validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
2396
2395
|
}[] | undefined;
|
2397
2396
|
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
2397
|
+
readonly inlineMessage?: boolean | undefined;
|
2398
2398
|
readonly for?: string | undefined;
|
2399
2399
|
}[];
|
2400
2400
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
@@ -2550,7 +2550,6 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
2550
2550
|
clearValidate: () => void;
|
2551
2551
|
readonly labelWidth: string | number;
|
2552
2552
|
readonly labelPosition: "" | "top" | "left" | "right";
|
2553
|
-
readonly inlineMessage: string | boolean;
|
2554
2553
|
readonly showMessage: boolean;
|
2555
2554
|
readonly label?: string | undefined;
|
2556
2555
|
readonly prop?: FormItemProp | undefined;
|
@@ -3100,6 +3099,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
3100
3099
|
validator?: ((rule: InternalRuleItem, value: Value, callback: (error?: string | Error) => void, source: Values, options: ValidateOption) => SyncValidateResult | void) | undefined;
|
3101
3100
|
}[] | undefined;
|
3102
3101
|
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
3102
|
+
readonly inlineMessage?: boolean | undefined;
|
3103
3103
|
readonly for?: string | undefined;
|
3104
3104
|
}[];
|
3105
3105
|
}> & {} & ComponentCustomProperties & {} & {
|
@@ -33,8 +33,8 @@ declare function __VLS_template(): {
|
|
33
33
|
card: boolean;
|
34
34
|
}> & Omit<{
|
35
35
|
readonly radius: boolean;
|
36
|
-
readonly fit: boolean;
|
37
36
|
readonly border: boolean;
|
37
|
+
readonly fit: boolean;
|
38
38
|
readonly card: boolean;
|
39
39
|
readonly size?: BaseSize | undefined;
|
40
40
|
readonly height?: string | number | undefined;
|
@@ -199,7 +199,7 @@ declare function __VLS_template(): {
|
|
199
199
|
};
|
200
200
|
}>>> | null | undefined;
|
201
201
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
202
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "
|
202
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
|
203
203
|
$attrs: {
|
204
204
|
[x: string]: unknown;
|
205
205
|
};
|
@@ -577,7 +577,7 @@ declare function __VLS_template(): {
|
|
577
577
|
footer: {
|
578
578
|
type: PropType<ContainerProps>;
|
579
579
|
};
|
580
|
-
}>> & Readonly<{}>, "radius" | "
|
580
|
+
}>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
581
581
|
bodyRef: Ref<any, any>;
|
582
582
|
}> & {} & ComponentCustomProperties & {} & {
|
583
583
|
$slots: {
|
@@ -627,8 +627,8 @@ declare const __VLS_component: DefineComponent<Props, {
|
|
627
627
|
card: boolean;
|
628
628
|
}> & Omit<{
|
629
629
|
readonly radius: boolean;
|
630
|
-
readonly fit: boolean;
|
631
630
|
readonly border: boolean;
|
631
|
+
readonly fit: boolean;
|
632
632
|
readonly card: boolean;
|
633
633
|
readonly size?: BaseSize | undefined;
|
634
634
|
readonly height?: string | number | undefined;
|
@@ -793,7 +793,7 @@ declare const __VLS_component: DefineComponent<Props, {
|
|
793
793
|
};
|
794
794
|
}>>> | null | undefined;
|
795
795
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
796
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "
|
796
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "border" | "fit" | "card">;
|
797
797
|
$attrs: {
|
798
798
|
[x: string]: unknown;
|
799
799
|
};
|
@@ -1171,7 +1171,7 @@ declare const __VLS_component: DefineComponent<Props, {
|
|
1171
1171
|
footer: {
|
1172
1172
|
type: PropType<ContainerProps>;
|
1173
1173
|
};
|
1174
|
-
}>> & Readonly<{}>, "radius" | "
|
1174
|
+
}>> & Readonly<{}>, "radius" | "border" | "fit" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
1175
1175
|
bodyRef: Ref<any, any>;
|
1176
1176
|
}> & {} & ComponentCustomProperties & {} & {
|
1177
1177
|
$slots: {
|