@vtj/designer 0.17.4 → 0.17.5
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.
|
@@ -19,10 +19,10 @@ import { editor as zm } from "monaco-editor";
|
|
|
19
19
|
* Copyright (c) 2026, VTJ.PRO All rights reserved.
|
|
20
20
|
* @name @vtj/designer
|
|
21
21
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
22
|
-
* @version 0.17.
|
|
22
|
+
* @version 0.17.5
|
|
23
23
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
24
24
|
*/
|
|
25
|
-
const yr = "0.17.
|
|
25
|
+
const yr = "0.17.5", Fm = {
|
|
26
26
|
width: 390,
|
|
27
27
|
height: 844
|
|
28
28
|
}, Hm = {
|
|
@@ -2539,8 +2539,9 @@ function mv(e) {
|
|
|
2539
2539
|
parseOutput: d,
|
|
2540
2540
|
callTool: f,
|
|
2541
2541
|
processOutput: async (_) => {
|
|
2542
|
-
const x = _.content || _.reasoning
|
|
2543
|
-
|
|
2542
|
+
const x = _.content || _.reasoning;
|
|
2543
|
+
let O = d(x, "A:");
|
|
2544
|
+
if (O = O || d(_.content), _.status = "Success", !O) return { ..._ };
|
|
2544
2545
|
if (O.type === "error" && (_.status = "Error", _.message = O.content, _.toolContent = `O: ${O.label}执行失败, 错误信息:${bo(_.message)}`), O.type === "json" && (_.toolContent = await f(O.content)), O.type === "vue" || O.type === "diff") {
|
|
2545
2546
|
if (O.type === "diff")
|
|
2546
2547
|
try {
|
|
@@ -9394,7 +9395,7 @@ const Bw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
|
|
|
9394
9395
|
]));
|
|
9395
9396
|
}
|
|
9396
9397
|
}), nt = bp({
|
|
9397
|
-
loader: () => import("./Editor-
|
|
9398
|
+
loader: () => import("./Editor-DdM5ySk7.js"),
|
|
9398
9399
|
loadingComponent: F({
|
|
9399
9400
|
render() {
|
|
9400
9401
|
return ro("div", "正在拼命加载...");
|
|
@@ -29161,14 +29162,14 @@ ${g}${b}`;
|
|
|
29161
29162
|
emits: ["change"],
|
|
29162
29163
|
setup(e, { emit: t }) {
|
|
29163
29164
|
const n = e, o = t, s = R(!0), r = V(() => s.value ? "px" : void 0), a = R(n.modelValue), l = (c) => {
|
|
29164
|
-
s.value = !!Number(c);
|
|
29165
|
+
s.value = !!Number(c) && !String(c).endsWith("rpx");
|
|
29165
29166
|
};
|
|
29166
29167
|
return ae(a, (c) => {
|
|
29167
29168
|
o("change", c);
|
|
29168
29169
|
}), ae(
|
|
29169
29170
|
() => n.modelValue,
|
|
29170
29171
|
(c) => {
|
|
29171
|
-
c && (s.value = c.endsWith("px"), a.value = c);
|
|
29172
|
+
c && (s.value = c.endsWith("px") && !c.endsWith("rpx"), a.value = c);
|
|
29172
29173
|
},
|
|
29173
29174
|
{ immediate: !0 }
|
|
29174
29175
|
), (c, d) => qt((h(), T(i(oc), dt({
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as E, b as r, c as t, d as n, C as i, D as S, e as _, E as o, f as I, g as T, h as O, G as l, H as d, i as p, j as g, K as V, M as R, k as A, l as D, N, m as P, O as L, P as M, n as c, R as u, o as K, p as m, q as Y, S as b, r as B, s as G, t as U, u as W, v as y, w as F, x as f, y as k, z as w, T as x, B as C, F as H, V as X, I as J, J as Z, L as h, Q as j, U as v, W as z, X as q, Y as Q, Z as $, $ as aa, a0 as sa, a1 as ea, a2 as Ea, a3 as ra, a4 as ta, a5 as na, a6 as ia, a7 as Sa, a8 as _a, a9 as oa, aa as Ia, ab as Ta, ac as Oa, ad as la, ae as da, af as pa, ag as ga, ah as Va, ai as Ra, aj as Aa, ak as Da, al as Na, am as Pa, an as La, ao as Ma } from "./index-
|
|
1
|
+
import { A as e, a as E, b as r, c as t, d as n, C as i, D as S, e as _, E as o, f as I, g as T, h as O, G as l, H as d, i as p, j as g, K as V, M as R, k as A, l as D, N, m as P, O as L, P as M, n as c, R as u, o as K, p as m, q as Y, S as b, r as B, s as G, t as U, u as W, v as y, w as F, x as f, y as k, z as w, T as x, B as C, F as H, V as X, I as J, J as Z, L as h, Q as j, U as v, W as z, X as q, Y as Q, Z as $, $ as aa, a0 as sa, a1 as ea, a2 as Ea, a3 as ra, a4 as ta, a5 as na, a6 as ia, a7 as Sa, a8 as _a, a9 as oa, aa as Ia, ab as Ta, ac as Oa, ad as la, ae as da, af as pa, ag as ga, ah as Va, ai as Ra, aj as Aa, ak as Da, al as Na, am as Pa, an as La, ao as Ma } from "./index-C02SkvXx.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.17.
|
|
4
|
+
"version": "0.17.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"低代码引擎",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"marked": "~17.0.1",
|
|
30
30
|
"mockjs": "~1.1.0",
|
|
31
31
|
"monaco-editor": "~0.55.0",
|
|
32
|
-
"@vtj/core": "~0.17.
|
|
33
|
-
"@vtj/
|
|
34
|
-
"@vtj/
|
|
35
|
-
"@vtj/
|
|
36
|
-
"@vtj/
|
|
37
|
-
"@vtj/
|
|
32
|
+
"@vtj/core": "~0.17.5",
|
|
33
|
+
"@vtj/renderer": "~0.17.5",
|
|
34
|
+
"@vtj/icons": "~0.17.5",
|
|
35
|
+
"@vtj/uni": "~0.17.5",
|
|
36
|
+
"@vtj/ui": "~0.17.5",
|
|
37
|
+
"@vtj/utils": "~0.17.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/mockjs": "~1.0.10",
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2026, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/designer
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.17.
|
|
5
|
+
* @version 0.17.4
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.17.
|
|
8
|
+
export declare const version = "0.17.4";
|
package/dist/Editor-B9Dc_1eJ.js
DELETED