@vtj/designer 0.16.1 → 0.16.2

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.
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./index-Cg42XFn5.js";
2
+ export {
3
+ f as default
4
+ };
@@ -19,10 +19,10 @@ import { editor as Bm } 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.16.1
22
+ * @version 0.16.2
23
23
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
24
24
  */
25
- const dr = "0.16.1", Um = {
25
+ const dr = "0.16.2", Um = {
26
26
  width: 390,
27
27
  height: 844
28
28
  }, zm = {
@@ -51,7 +51,7 @@ const dr = "0.16.1", Um = {
51
51
  "self",
52
52
  "once",
53
53
  "passive"
54
- ], xO = "__vue-devtools-frame-state__", CO = "@id/virtual:vue-devtools-path:overlay.js", AO = "@id/virtual:vue-devtools-path:overlay/devtools-overlay.mjs", Km = [
54
+ ], CO = "__vue-devtools-frame-state__", AO = "@id/virtual:vue-devtools-path:overlay.js", TO = "@id/virtual:vue-devtools-path:overlay/devtools-overlay.mjs", Km = [
55
55
  "h",
56
56
  "t",
57
57
  "t",
@@ -108,7 +108,7 @@ const dr = "0.16.1", Um = {
108
108
  "o",
109
109
  "r",
110
110
  "t"
111
- ].join(""), Bl = "SESSION_ID__", Ul = "ENGINE_STATE__", TO = 16 * 1024, qm = "https://app.vtj.pro/#/workbench/token", Qm = {
111
+ ].join(""), Bl = "SESSION_ID__", Ul = "ENGINE_STATE__", OO = 16 * 1024, qm = "https://app.vtj.pro/#/workbench/token", Qm = {
112
112
  package: "hotkeys-js",
113
113
  version: "latest",
114
114
  library: "hotkeys",
@@ -116,7 +116,7 @@ const dr = "0.16.1", Um = {
116
116
  required: !0,
117
117
  official: !0,
118
118
  urls: ["@vtj/materials/deps/hotkeys-js/hotkeys.min.js"]
119
- }, OO = {
119
+ }, IO = {
120
120
  package: "vue-devtools",
121
121
  version: "latest",
122
122
  library: "VueDevtools",
@@ -2402,7 +2402,7 @@ function pv(e) {
2402
2402
  toolRegistry: s,
2403
2403
  config: { activeDelayMs: r, ...e }
2404
2404
  };
2405
- yT.forEach((b) => {
2405
+ _T.forEach((b) => {
2406
2406
  s.register({
2407
2407
  name: b.name,
2408
2408
  description: b.description,
@@ -2782,7 +2782,7 @@ function hv() {
2782
2782
  if (!K.value) return;
2783
2783
  Qo && typeof Qo == "function" && Qo(), J.status = "Canceled";
2784
2784
  const oe = await x(J);
2785
- oe && oe.data && Object.assign(J, oe.data);
2785
+ t.state.streaming = !1, oe && oe.data && Object.assign(J, oe.data);
2786
2786
  }, qt = (J, oe) => {
2787
2787
  U.value = J, oe && (C.value = oe);
2788
2788
  }, ne = () => {
@@ -8964,7 +8964,7 @@ const Mw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
8964
8964
  ]));
8965
8965
  }
8966
8966
  }), Ye = pp({
8967
- loader: () => import("./Editor-aMMuGNQY.js"),
8967
+ loader: () => import("./Editor-Dg-l8kts.js"),
8968
8968
  loadingComponent: H({
8969
8969
  render() {
8970
8970
  return eo("div", "正在拼命加载...");
@@ -29348,7 +29348,7 @@ ${m}${y}`;
29348
29348
  name: "getMenus",
29349
29349
  description: "获取当前项目的页面菜单树结构",
29350
29350
  parameters: [],
29351
- createHandler: ({ project: e }) => async () => (e.pages || []).map((n) => {
29351
+ createHandler: ({ project: e }) => async () => (e.getPageTree() || []).map((n) => {
29352
29352
  const { id: o, name: s, title: r, layout: a, dir: l, icon: c, children: d } = n;
29353
29353
  return {
29354
29354
  id: o,
@@ -29377,7 +29377,7 @@ ${m}${y}`;
29377
29377
  })
29378
29378
  }, PA = {
29379
29379
  name: "createPage",
29380
- description: "在当前项目新建页面",
29380
+ description: "在当前项目新建页面, 有层级的页面,需先创建父级,如先创建目录或布局类型的页面",
29381
29381
  parameters: [
29382
29382
  {
29383
29383
  name: "page",
@@ -29492,8 +29492,26 @@ ${m}${y}`;
29492
29492
  throw new Error("页面不存在");
29493
29493
  }
29494
29494
  }, jA = {
29495
+ name: "movePage",
29496
+ description: "更改页面层级,布局和目录类型的页面可以有子级页面",
29497
+ parameters: [
29498
+ {
29499
+ name: "id",
29500
+ type: "string",
29501
+ description: "需要更改的页面ID",
29502
+ required: !0
29503
+ },
29504
+ {
29505
+ name: "parentId",
29506
+ type: "string",
29507
+ description: "更改到该页面ID的子级, 为null即移到根目录",
29508
+ required: !1
29509
+ }
29510
+ ],
29511
+ createHandler: ({ project: e }) => async (t, n) => e.movePageTo(t, n)
29512
+ }, LA = {
29495
29513
  name: "removePage",
29496
- description: "删除页面或目录文件",
29514
+ description: "删除页面或目录文件, 如删除目录或布局类型的页面,需先删除子级页面",
29497
29515
  parameters: [
29498
29516
  {
29499
29517
  name: "id",
@@ -29503,7 +29521,7 @@ ${m}${y}`;
29503
29521
  }
29504
29522
  ],
29505
29523
  createHandler: ({ project: e, config: t }) => async (n) => (e.removePage(n), await Ie(t.activeDelayMs), !0)
29506
- }, LA = {
29524
+ }, BA = {
29507
29525
  name: "getBlocks",
29508
29526
  description: "获取当前项目的全部区块组件",
29509
29527
  parameters: [],
@@ -29515,7 +29533,7 @@ ${m}${y}`;
29515
29533
  title: r
29516
29534
  };
29517
29535
  })
29518
- }, BA = {
29536
+ }, UA = {
29519
29537
  name: "createBlock",
29520
29538
  description: "在当前项目新建区块组件",
29521
29539
  parameters: [
@@ -29548,7 +29566,7 @@ ${m}${y}`;
29548
29566
  id: o.id
29549
29567
  } : null;
29550
29568
  }
29551
- }, UA = {
29569
+ }, zA = {
29552
29570
  name: "updateBlock",
29553
29571
  description: "更改区块文件元信息",
29554
29572
  parameters: [
@@ -29588,7 +29606,7 @@ ${m}${y}`;
29588
29606
  }
29589
29607
  throw new Error("区块文件不存在");
29590
29608
  }
29591
- }, zA = {
29609
+ }, $A = {
29592
29610
  name: "removeBlock",
29593
29611
  description: "删除区块文件",
29594
29612
  parameters: [
@@ -29600,7 +29618,7 @@ ${m}${y}`;
29600
29618
  }
29601
29619
  ],
29602
29620
  createHandler: ({ project: e, config: t }) => async (n) => (e.removeBlock(n), await Ie(t.activeDelayMs), !0)
29603
- }, $A = {
29621
+ }, FA = {
29604
29622
  name: "active",
29605
29623
  description: "打开一个文件(页面或区块组件)",
29606
29624
  parameters: [
@@ -29615,7 +29633,7 @@ ${m}${y}`;
29615
29633
  const o = e.getFile(n);
29616
29634
  return o ? (e.active(o), await Ie(t.activeDelayMs), !0) : null;
29617
29635
  }
29618
- }, FA = {
29636
+ }, HA = {
29619
29637
  name: "getCurrentFile",
29620
29638
  description: "获取当前打开的文件(页面、区块)元信息",
29621
29639
  parameters: [],
@@ -29631,7 +29649,7 @@ ${m}${y}`;
29631
29649
  }
29632
29650
  throw new Error("当前没有打开的文件");
29633
29651
  }
29634
- }, HA = {
29652
+ }, JA = {
29635
29653
  name: "getCurrentFileContent",
29636
29654
  description: "获取当前打开的文件(页面、区块)内容源码",
29637
29655
  parameters: [],
@@ -29645,7 +29663,7 @@ ${m}${y}`;
29645
29663
  }
29646
29664
  throw new Error("当前没有打开的文件");
29647
29665
  }
29648
- }, JA = {
29666
+ }, GA = {
29649
29667
  name: "refresh",
29650
29668
  description: "刷新当前页面或区块组件运行时,当需要检测代码是否存在运行时错误可调用",
29651
29669
  parameters: [],
@@ -29657,7 +29675,7 @@ ${m}${y}`;
29657
29675
  ${n.message}
29658
29676
  请检查页面代码并修复` : !0;
29659
29677
  }
29660
- }, GA = {
29678
+ }, KA = {
29661
29679
  name: "setApi",
29662
29680
  description: "新增或更新项目接口API",
29663
29681
  parameters: [
@@ -29694,14 +29712,14 @@ ${n.message}
29694
29712
  return await Ie(t.activeDelayMs), o;
29695
29713
  };
29696
29714
  }
29697
- }, KA = {
29715
+ }, WA = {
29698
29716
  name: "getApis",
29699
29717
  description: "获取当前项目可用的APIs",
29700
29718
  parameters: [],
29701
29719
  createHandler({ project: e, config: t }) {
29702
29720
  return async () => (await Ie(t.activeDelayMs), e.apis);
29703
29721
  }
29704
- }, WA = {
29722
+ }, qA = {
29705
29723
  name: "removeApi",
29706
29724
  description: "删除API",
29707
29725
  parameters: [
@@ -29713,7 +29731,7 @@ ${n.message}
29713
29731
  }
29714
29732
  ],
29715
29733
  createHandler: ({ project: e, config: t }) => async (n) => (e.removeApi(n), await Ie(t.activeDelayMs), !0)
29716
- }, qA = {
29734
+ }, QA = {
29717
29735
  name: "setHomepage",
29718
29736
  description: "设置应用主页, 把页面设置为应用的主页",
29719
29737
  parameters: [
@@ -29725,7 +29743,7 @@ ${n.message}
29725
29743
  }
29726
29744
  ],
29727
29745
  createHandler: ({ project: e, config: t }) => async (n) => (e.setHomepage(n), await Ie(t.activeDelayMs), !0)
29728
- }, QA = {
29746
+ }, YA = {
29729
29747
  name: "setGlobalCss",
29730
29748
  description: "设置应用的全局css代码",
29731
29749
  parameters: [
@@ -29737,12 +29755,12 @@ ${n.message}
29737
29755
  }
29738
29756
  ],
29739
29757
  createHandler: ({ project: e, config: t }) => async (n) => (e.setGloblas("css", n), await Ie(t.activeDelayMs), !0)
29740
- }, YA = {
29758
+ }, XA = {
29741
29759
  name: "getGlobalCss",
29742
29760
  description: "获取应用的全局css代码",
29743
29761
  parameters: [],
29744
29762
  createHandler: ({ project: e, config: t }) => async () => (await Ie(t.activeDelayMs), e.globals.css || "没有全局CSS")
29745
- }, XA = {
29763
+ }, ZA = {
29746
29764
  name: "setGlobalStore",
29747
29765
  description: "设置应用的全局Pinia状态",
29748
29766
  parameters: [
@@ -29776,12 +29794,12 @@ store的代码是一个js函数,函数接收的app参数是 Vue的应用实例
29776
29794
  type: "JSFunction",
29777
29795
  value: n
29778
29796
  }), await Ie(t.activeDelayMs), !0)
29779
- }, ZA = {
29797
+ }, eT = {
29780
29798
  name: "getGlobalStore",
29781
29799
  description: "获取应用的全局状态(Pinia Store)",
29782
29800
  parameters: [],
29783
29801
  createHandler: ({ project: e, config: t }) => async () => (await Ie(t.activeDelayMs), e.globals.store?.value || "当前没有配置全局状态")
29784
- }, eT = {
29802
+ }, tT = {
29785
29803
  name: "setGlobalAccess",
29786
29804
  description: `设置权限控制插件配置项, 配置样例:
29787
29805
  \`\`\`javascript
@@ -29904,17 +29922,17 @@ export interface AccessOptions {
29904
29922
  type: "JSFunction",
29905
29923
  value: n
29906
29924
  }), await Ie(t.activeDelayMs), !0)
29907
- }, tT = {
29925
+ }, nT = {
29908
29926
  name: "getGlobalAccess",
29909
29927
  description: "查看权限控制插件配置项",
29910
29928
  parameters: [],
29911
29929
  createHandler: ({ project: e, config: t }) => async () => (await Ie(t.activeDelayMs), e.globals.access?.value || "当前没有配置权限控制插件")
29912
- }, nT = {
29930
+ }, oT = {
29913
29931
  name: "getGlobalAxios",
29914
29932
  description: "查看Axios请求工具配置项",
29915
29933
  parameters: [],
29916
29934
  createHandler: ({ project: e, config: t }) => async () => (await Ie(t.activeDelayMs), e.globals.axios?.value || "当前没有配置请求工具")
29917
- }, oT = {
29935
+ }, rT = {
29918
29936
  name: "setGlobalAxios",
29919
29937
  description: `
29920
29938
  设置全局Axios请求工具配置项, 配置样例:
@@ -30023,7 +30041,7 @@ export interface IRequestSettings {
30023
30041
  type: "JSFunction",
30024
30042
  value: n
30025
30043
  }), await Ie(t.activeDelayMs), !0)
30026
- }, rT = {
30044
+ }, sT = {
30027
30045
  name: "setGlobalRequestInterceptor",
30028
30046
  description: `设置全局Axios全局请求拦截器, 代码样例:
30029
30047
 
@@ -30052,12 +30070,12 @@ axios请求拦截的代码是一个js函数,函数接收两个参数:
30052
30070
  type: "JSFunction",
30053
30071
  value: n
30054
30072
  }), await Ie(t.activeDelayMs), !0)
30055
- }, sT = {
30073
+ }, aT = {
30056
30074
  name: "getGlobalRequestInterceptor",
30057
30075
  description: "查看全局Axios全局请求拦截器",
30058
30076
  parameters: [],
30059
30077
  createHandler: ({ project: e, config: t }) => async () => (await Ie(t.activeDelayMs), e.globals.request?.value || "当前没有配置请求拦截器")
30060
- }, aT = {
30078
+ }, lT = {
30061
30079
  name: "setGlobalResponseInterceptor",
30062
30080
  description: `设置全局Axios全局响应拦截器, 代码样例:
30063
30081
 
@@ -30086,22 +30104,22 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30086
30104
  type: "JSFunction",
30087
30105
  value: n
30088
30106
  }), await Ie(t.activeDelayMs), !0)
30089
- }, lT = {
30107
+ }, iT = {
30090
30108
  name: "getGlobalResponseInterceptor",
30091
30109
  description: "查看全局Axios全局响应拦截器",
30092
30110
  parameters: [],
30093
30111
  createHandler: ({ project: e, config: t }) => async () => (await Ie(t.activeDelayMs), e.globals.response?.value || "当前没有配置响应拦截器")
30094
- }, iT = {
30112
+ }, cT = {
30095
30113
  name: "getGlobalBeforeEach",
30096
30114
  description: "查看全局前置路由守卫",
30097
30115
  parameters: [],
30098
30116
  createHandler: ({ project: e, config: t }) => async () => (await Ie(t.activeDelayMs), e.globals.beforeEach?.value || "当前没有全局前置路由守卫")
30099
- }, cT = {
30117
+ }, uT = {
30100
30118
  name: "getGlobalAfterEach",
30101
30119
  description: "查看全局后置路由守卫",
30102
30120
  parameters: [],
30103
30121
  createHandler: ({ project: e, config: t }) => async () => (await Ie(t.activeDelayMs), e.globals.afterEach?.value || "当前没有全局后置路由守卫")
30104
- }, uT = {
30122
+ }, dT = {
30105
30123
  name: "setGlobalBeforeEach",
30106
30124
  description: `设置全局前置路由守卫, 代码样例:
30107
30125
 
@@ -30132,7 +30150,7 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30132
30150
  type: "JSFunction",
30133
30151
  value: n
30134
30152
  }), await Ie(t.activeDelayMs), !0)
30135
- }, dT = {
30153
+ }, pT = {
30136
30154
  name: "setGlobalAfterEach",
30137
30155
  description: `设置全局后置路由守卫, 代码样例:
30138
30156
 
@@ -30163,7 +30181,7 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30163
30181
  type: "JSFunction",
30164
30182
  value: n
30165
30183
  }), await Ie(t.activeDelayMs), !0)
30166
- }, pT = {
30184
+ }, fT = {
30167
30185
  name: "getNodeSelected",
30168
30186
  description: "获取当前页面选中的节点路径,用于定位当前选中的页面元素,路径最后一个是选中的元素名称",
30169
30187
  parameters: [],
@@ -30173,12 +30191,12 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30173
30191
  const n = t.selected.value?.path;
30174
30192
  return n ? n.map((o) => o.name).reverse().join(">") : null;
30175
30193
  }
30176
- }, fT = {
30194
+ }, gT = {
30177
30195
  name: "getEnv",
30178
30196
  description: "获取环境变量列表, 环境变量的值可用 `app.config.globalProperties.$provider.env.变量名` 或在组件中用 `this.$provider.env.变量名`获取",
30179
30197
  parameters: [],
30180
30198
  createHandler: ({ project: e }) => async () => e.env || []
30181
- }, gT = {
30199
+ }, mT = {
30182
30200
  name: "createEnv",
30183
30201
  description: "新增环境变量",
30184
30202
  parameters: [
@@ -30210,7 +30228,7 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30210
30228
  const n = [...e.env, t];
30211
30229
  return e.setEnv(n), !0;
30212
30230
  }
30213
- }, mT = {
30231
+ }, hT = {
30214
30232
  name: "removeEnv",
30215
30233
  description: "删除环境变量",
30216
30234
  parameters: [
@@ -30225,12 +30243,12 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30225
30243
  const n = (e.env || []).filter((o) => o.name !== t);
30226
30244
  return e.setEnv(n), !0;
30227
30245
  }
30228
- }, hT = {
30246
+ }, vT = {
30229
30247
  name: "getI18nMessage",
30230
30248
  description: "获取 vue-i18n 的 message 中英对照词条, 在组件可用 `this.$t.key` 调用词条",
30231
30249
  parameters: [],
30232
30250
  createHandler: ({ project: e }) => async () => e.i18n.messages || []
30233
- }, vT = {
30251
+ }, bT = {
30234
30252
  name: "createI18nMessage",
30235
30253
  description: "新增 vue-i18n 的 message 中英对照词条",
30236
30254
  parameters: [
@@ -30259,7 +30277,7 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30259
30277
  }
30260
30278
  ],
30261
30279
  createHandler: ({ project: e }) => async (t) => (e.i18n.messages?.push(t), e.setI18n(e.i18n), !0)
30262
- }, bT = {
30280
+ }, yT = {
30263
30281
  name: "removeI18nMessage",
30264
30282
  description: "删除 vue-i18n 的 message 词条",
30265
30283
  parameters: [
@@ -30273,15 +30291,15 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30273
30291
  createHandler: ({ project: e }) => async (t) => (e.i18n.messages = e.i18n.messages?.filter(
30274
30292
  (n) => n.key !== t
30275
30293
  ), e.setI18n(e.i18n), !0)
30276
- }, yT = [
30294
+ }, _T = [
30277
30295
  DA,
30278
30296
  NA,
30279
30297
  VA,
30280
- LA,
30298
+ BA,
30281
30299
  PA,
30282
30300
  MA,
30283
30301
  jA,
30284
- BA,
30302
+ LA,
30285
30303
  UA,
30286
30304
  zA,
30287
30305
  $A,
@@ -30302,9 +30320,9 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30302
30320
  oT,
30303
30321
  rT,
30304
30322
  sT,
30305
- lT,
30306
30323
  aT,
30307
30324
  iT,
30325
+ lT,
30308
30326
  cT,
30309
30327
  uT,
30310
30328
  dT,
@@ -30314,9 +30332,10 @@ axios响应拦截的代码是一个js函数,函数接收两个参数:
30314
30332
  mT,
30315
30333
  hT,
30316
30334
  vT,
30317
- bT
30335
+ bT,
30336
+ yT
30318
30337
  ];
30319
- class _T {
30338
+ class wT {
30320
30339
  constructor() {
30321
30340
  fe(this, "widgets", {});
30322
30341
  this.widgets = this.createWidgets();
@@ -30386,8 +30405,8 @@ class _T {
30386
30405
  this.getRemoteWidgets().forEach((n) => this.unregister(n.name));
30387
30406
  }
30388
30407
  }
30389
- const Zn = new _T();
30390
- class wT {
30408
+ const Zn = new wT();
30409
+ class ET {
30391
30410
  constructor(t = eA) {
30392
30411
  this.deps = t;
30393
30412
  }
@@ -30462,8 +30481,8 @@ class wT {
30462
30481
  n > -1 && this.deps.splice(n, 1);
30463
30482
  }
30464
30483
  }
30465
- const Mi = new wT();
30466
- class ET {
30484
+ const Mi = new ET();
30485
+ class kT {
30467
30486
  constructor() {
30468
30487
  fe(this, "setters", {});
30469
30488
  fe(this, "defaultSetter", IA);
@@ -30508,7 +30527,7 @@ class ET {
30508
30527
  return Object.values(this.setters).filter((o) => o.type.toLowerCase() === t.toLowerCase()).map((o) => o.name);
30509
30528
  }
30510
30529
  }
30511
- const nr = new ET(), Jn = H({
30530
+ const nr = new kT(), Jn = H({
30512
30531
  name: "RegionWrapper",
30513
30532
  props: {
30514
30533
  region: {
@@ -30551,7 +30570,7 @@ const nr = new ET(), Jn = H({
30551
30570
  ref: "widgetRef"
30552
30571
  });
30553
30572
  }
30554
- }), kT = H({
30573
+ }), ST = H({
30555
30574
  name: "SkeletonWrapper",
30556
30575
  setup() {
30557
30576
  const e = D(), t = Be(), n = D({});
@@ -30566,7 +30585,7 @@ const nr = new ET(), Jn = H({
30566
30585
  },
30567
30586
  render() {
30568
30587
  const { $props: e = {}, $attrs: t = {} } = this;
30569
- return eo(MT, { ...e, ...t, ref: "skeletonRef" });
30588
+ return eo(jT, { ...e, ...t, ref: "skeletonRef" });
30570
30589
  },
30571
30590
  methods: {
30572
30591
  /**
@@ -30721,7 +30740,7 @@ const nr = new ET(), Jn = H({
30721
30740
  onRemove: p,
30722
30741
  disabled: g
30723
30742
  } = this;
30724
- return eo(FT, {
30743
+ return eo(HT, {
30725
30744
  context: e,
30726
30745
  current: t,
30727
30746
  name: n,
@@ -30751,7 +30770,7 @@ const nr = new ET(), Jn = H({
30751
30770
  }
30752
30771
  }
30753
30772
  });
30754
- function ST(e, t) {
30773
+ function xT(e, t) {
30755
30774
  return new Promise((n, o) => {
30756
30775
  const s = Da(kE, {
30757
30776
  name: e,
@@ -30766,7 +30785,7 @@ function ST(e, t) {
30766
30785
  s.mount(document.createElement("div"));
30767
30786
  });
30768
30787
  }
30769
- class xT {
30788
+ class CT {
30770
30789
  constructor(t, n, o) {
30771
30790
  fe(this, "proxied", {});
30772
30791
  fe(this, "document", null);
@@ -30863,7 +30882,7 @@ class xT {
30863
30882
  const { name: p, params: g = [] } = f[0];
30864
30883
  return p === "default" && !g.length ? void 0 : f[0];
30865
30884
  }
30866
- const u = await ST(t.name, f).catch(() => null);
30885
+ const u = await xT(t.name, f).catch(() => null);
30867
30886
  if (!(u && u.name === "default" && (!u.params || u.params?.length === 0)))
30868
30887
  return u;
30869
30888
  }
@@ -31090,13 +31109,13 @@ class xT {
31090
31109
  this.setSelected(null), this.setHover(null), this.setDragging(null), this.lines.value = [], t && n && this.unbindEvents(t, n), this.document = null;
31091
31110
  }
31092
31111
  }
31093
- const CT = [
31112
+ const AT = [
31094
31113
  '"ResizeObserver loop completed with undelivered notifications."',
31095
31114
  "ResizeObserver loop completed with undelivered notifications.",
31096
31115
  '"ResizeObserver loop completed with undelivered notifications."',
31097
31116
  "ResizeObserver loop limit exceeded"
31098
31117
  ];
31099
- class AT {
31118
+ class TT {
31100
31119
  constructor(t, n, o) {
31101
31120
  fe(this, "api");
31102
31121
  fe(this, "remote");
@@ -31137,7 +31156,7 @@ class AT {
31137
31156
  bindGlobalError() {
31138
31157
  window.addEventListener("error", (t) => {
31139
31158
  const n = t.error || t;
31140
- CT.includes(n.message) || this.error(n, {
31159
+ AT.includes(n.message) || this.error(n, {
31141
31160
  type: "window.error",
31142
31161
  event: n,
31143
31162
  eventString: n.toString()
@@ -31206,7 +31225,7 @@ class AT {
31206
31225
  }), console.error(t);
31207
31226
  }
31208
31227
  }
31209
- class TT {
31228
+ class OT {
31210
31229
  constructor(t, n, o, s, r = null, a = null) {
31211
31230
  fe(this, "app", null);
31212
31231
  fe(this, "dsl", null);
@@ -31363,7 +31382,7 @@ class TT {
31363
31382
  return !1;
31364
31383
  }
31365
31384
  }
31366
- class OT extends Zi {
31385
+ class IT extends Zi {
31367
31386
  constructor(n) {
31368
31387
  super();
31369
31388
  fe(this, "contentWindow", null);
@@ -31382,7 +31401,7 @@ class OT extends Zi {
31382
31401
  le(
31383
31402
  [n, o, s, r, a, l, c, d],
31384
31403
  () => {
31385
- n.value && o.value.length && (this.resetReady(), this.renderer?.dispose(), this.renderer = null, this.setup(n.value, o.value), this.contentWindow && (this.designer.value?.dispose(), this.designer.value = new xT(
31404
+ n.value && o.value.length && (this.resetReady(), this.renderer?.dispose(), this.renderer = null, this.setup(n.value, o.value), this.contentWindow && (this.designer.value?.dispose(), this.designer.value = new CT(
31386
31405
  this.engine,
31387
31406
  this.contentWindow,
31388
31407
  o
@@ -31515,7 +31534,7 @@ class OT extends Zi {
31515
31534
  m,
31516
31535
  r
31517
31536
  );
31518
- this.renderer = new TT(
31537
+ this.renderer = new OT(
31519
31538
  y,
31520
31539
  c,
31521
31540
  f,
@@ -31591,7 +31610,7 @@ class OT extends Zi {
31591
31610
  this.renderer?.dispose(), this.designer.value?.dispose(), this.contentWindow = null, this.renderer = null, this.designer.value = null, this.resetReady();
31592
31611
  }
31593
31612
  }
31594
- class IT {
31613
+ class RT {
31595
31614
  constructor(t, n) {
31596
31615
  fe(this, "components", []);
31597
31616
  fe(this, "componentMap", /* @__PURE__ */ new Map());
@@ -31680,9 +31699,9 @@ class IT {
31680
31699
  this.caches = {};
31681
31700
  }
31682
31701
  }
31683
- class RO {
31702
+ class DO {
31684
31703
  }
31685
- const RT = {
31704
+ const DT = {
31686
31705
  outlineEnabled: !0,
31687
31706
  activeEvent: !0,
31688
31707
  autoApply: !0,
@@ -31693,9 +31712,9 @@ const RT = {
31693
31712
  dark: !1,
31694
31713
  streaming: !1
31695
31714
  };
31696
- class DT {
31715
+ class NT {
31697
31716
  constructor() {
31698
- fe(this, "__state", an(RT));
31717
+ fe(this, "__state", an(DT));
31699
31718
  fe(this, "__isDark", Oh({
31700
31719
  storageKey: "color-schema"
31701
31720
  }));
@@ -31780,7 +31799,7 @@ class DT {
31780
31799
  return this.__state.LLMs.find((n) => n.id === t);
31781
31800
  }
31782
31801
  }
31783
- class NT {
31802
+ class VT {
31784
31803
  constructor() {
31785
31804
  /**
31786
31805
  * 工具存储
@@ -31905,7 +31924,7 @@ class NT {
31905
31924
  }
31906
31925
  }
31907
31926
  const Bd = Symbol("VtjEngine"), aa = "SAVE_BLOCK_FILE_FINISH";
31908
- class DO extends Zi {
31927
+ class NO extends Zi {
31909
31928
  constructor(n) {
31910
31929
  super();
31911
31930
  fe(this, "app");
@@ -31951,9 +31970,9 @@ class DO extends Zi {
31951
31970
  // 是否检查版本
31952
31971
  fe(this, "openApi");
31953
31972
  // OpenAPI服务
31954
- fe(this, "state", new DT());
31973
+ fe(this, "state", new NT());
31955
31974
  // 引擎状态
31956
- fe(this, "toolRegistry", new NT());
31975
+ fe(this, "toolRegistry", new VT());
31957
31976
  this.options = n;
31958
31977
  const {
31959
31978
  container: o,
@@ -31985,11 +32004,11 @@ class DO extends Zi {
31985
32004
  adapter: p,
31986
32005
  pageRouteName: u,
31987
32006
  install: g
31988
- }), this.assets = new IT(this.service, this.provider), this.simulator = new OT({
32007
+ }), this.assets = new RT(this.service, this.provider), this.simulator = new IT({
31989
32008
  engine: this,
31990
32009
  materialPath: d,
31991
32010
  enhance: this.getEnhanceConfig(k)
31992
- }), this.access = m || new uf({ alert: Kt, ...df }), this.remote = y, this.report = new AT(this.remote, this.access, this.service), this.checkVersion = _, this.bindEvents(), this.init(r).then(this.render.bind(this)), gs(this.dispose.bind(this));
32011
+ }), this.access = m || new uf({ alert: Kt, ...df }), this.remote = y, this.report = new TT(this.remote, this.access, this.service), this.checkVersion = _, this.bindEvents(), this.init(r).then(this.render.bind(this)), gs(this.dispose.bind(this));
31993
32012
  }
31994
32013
  /**
31995
32014
  * 初始化引擎
@@ -32046,7 +32065,7 @@ class DO extends Zi {
32046
32065
  render() {
32047
32066
  const n = i(this.container);
32048
32067
  if (n) {
32049
- const o = Da(kT);
32068
+ const o = Da(ST);
32050
32069
  this.options.install && o.use(this.options.install, this), o.provide(Bd, gp(this)), o.mount(n), this.app = o;
32051
32070
  } else
32052
32071
  jn.warn("VTJEngine constructor param [ container ] is undefined");
@@ -32122,7 +32141,7 @@ class DO extends Zi {
32122
32141
  }
32123
32142
  if (o === "delete") {
32124
32143
  const a = n.data;
32125
- a && s.isPageFile(a) && a.raw ? await this.service.removeRawPage(a.id, r) : a.dir || (await this.service.removeFile(a.id, r), await this.service.removeRawPage(a.id, r), await this.service.removeHistory(a.id, r));
32144
+ a && s.isPageFile(a) && a.raw ? await this.service.removeRawPage(a.id, r) : a && !a.dir && (await this.service.removeFile(a.id, r), await this.service.removeRawPage(a.id, r), await this.service.removeHistory(a.id, r));
32126
32145
  }
32127
32146
  if (o === "clone") {
32128
32147
  const { source: a, target: l } = n.data, c = await this.service.getFile(a.id, r);
@@ -32285,7 +32304,7 @@ function Be() {
32285
32304
  const e = fs(Bd, null);
32286
32305
  return e || jn.error("VTJEngine is not exist"), e;
32287
32306
  }
32288
- class VT {
32307
+ class PT {
32289
32308
  constructor() {
32290
32309
  // 缓存正则表达式,避免重复编译
32291
32310
  fe(this, "vueCodeRegex", /```vue\r?\n([\s\S]*?)(?:\r?\n```|$)/);
@@ -32587,7 +32606,7 @@ ${r.join(`
32587
32606
  }), n;
32588
32607
  }
32589
32608
  }
32590
- const ji = new VT(), PT = /* @__PURE__ */ H({
32609
+ const ji = new PT(), MT = /* @__PURE__ */ H({
32591
32610
  __name: "tour",
32592
32611
  setup(e) {
32593
32612
  const t = Be();
@@ -32647,7 +32666,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
32647
32666
  _: 1
32648
32667
  }, 8, ["modelValue"]));
32649
32668
  }
32650
- }), MT = /* @__PURE__ */ H({
32669
+ }), jT = /* @__PURE__ */ H({
32651
32670
  name: "Skeletion",
32652
32671
  __name: "skeleton",
32653
32672
  props: {
@@ -32805,15 +32824,15 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
32805
32824
  ]),
32806
32825
  _: 1
32807
32826
  }),
32808
- v(PT)
32827
+ v(MT)
32809
32828
  ]),
32810
32829
  _: 1
32811
32830
  }, 8, ["locale"]));
32812
32831
  }
32813
- }), jT = ["title"], LT = { class: "v-setter__content" }, BT = {
32832
+ }), LT = ["title"], BT = { class: "v-setter__content" }, UT = {
32814
32833
  key: 0,
32815
32834
  class: "v-setter__input"
32816
- }, UT = { class: "v-setter__action" }, zT = "{{", $T = "}}", FT = /* @__PURE__ */ H({
32835
+ }, zT = { class: "v-setter__action" }, $T = "{{", FT = "}}", HT = /* @__PURE__ */ H({
32817
32836
  __name: "setter",
32818
32837
  props: {
32819
32838
  context: {},
@@ -32881,11 +32900,11 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
32881
32900
  }, 8, ["content"])) : (h(), j("span", {
32882
32901
  key: 1,
32883
32902
  title: n.name
32884
- }, se(n.label || n.name), 9, jT))
32903
+ }, se(n.label || n.name), 9, LT))
32885
32904
  ]),
32886
32905
  default: E(() => [
32887
- N("div", LT, [
32888
- a.value ? (h(), j("div", BT, [
32906
+ N("div", BT, [
32907
+ a.value ? (h(), j("div", UT, [
32889
32908
  c.value ? B("", !0) : (h(), A(zi(a.value.component), it({
32890
32909
  key: 0,
32891
32910
  current: n.current,
@@ -32904,15 +32923,15 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
32904
32923
  "model-value": "JSExpression"
32905
32924
  }, {
32906
32925
  prefix: E(() => [
32907
- ee(se(zT))
32926
+ ee(se($T))
32908
32927
  ]),
32909
32928
  suffix: E(() => [
32910
- ee(se($T))
32929
+ ee(se(FT))
32911
32930
  ]),
32912
32931
  _: 1
32913
32932
  })) : B("", !0)
32914
32933
  ])) : B("", !0),
32915
- N("div", UT, [
32934
+ N("div", zT, [
32916
32935
  n.variable ? (h(), A(i(Im), {
32917
32936
  key: 0,
32918
32937
  onClick: g,
@@ -32974,16 +32993,16 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
32974
32993
  _: 1
32975
32994
  }));
32976
32995
  }
32977
- }), HT = { class: "v-empty-region" }, JT = /* @__PURE__ */ H({
32996
+ }), JT = { class: "v-empty-region" }, GT = /* @__PURE__ */ H({
32978
32997
  name: "EmptyRegion",
32979
32998
  __name: "empty",
32980
32999
  props: {
32981
33000
  region: {}
32982
33001
  },
32983
33002
  setup(e) {
32984
- return (t, n) => (h(), j("div", HT, "找不到符合【" + se(e.region) + "】名称的区域组件", 1));
33003
+ return (t, n) => (h(), j("div", JT, "找不到符合【" + se(e.region) + "】名称的区域组件", 1));
32985
33004
  }
32986
- }), GT = { class: "v-brand-region" }, KT = /* @__PURE__ */ H({
33005
+ }), KT = { class: "v-brand-region" }, WT = /* @__PURE__ */ H({
32987
33006
  name: "BrandRegion",
32988
33007
  inheritAttrs: !1,
32989
33008
  __name: "brand",
@@ -32995,7 +33014,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
32995
33014
  return t({
32996
33015
  widgets: o,
32997
33016
  widgetsRef: s
32998
- }), (r, a) => (h(), j("div", GT, [
33017
+ }), (r, a) => (h(), j("div", KT, [
32999
33018
  (h(!0), j(Z, null, pe(i(o), (l) => (h(), A(i(Cn), {
33000
33019
  ref_for: !0,
33001
33020
  ref_key: "widgetsRef",
@@ -33005,7 +33024,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33005
33024
  }, null, 8, ["region", "widget"]))), 256))
33006
33025
  ]));
33007
33026
  }
33008
- }), WT = { class: "v-toolbar-region" }, qT = /* @__PURE__ */ H({
33027
+ }), qT = { class: "v-toolbar-region" }, QT = /* @__PURE__ */ H({
33009
33028
  name: "ToolbarRegion",
33010
33029
  __name: "toolbar",
33011
33030
  props: {
@@ -33017,7 +33036,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33017
33036
  return t({
33018
33037
  widgets: o,
33019
33038
  widgetsRef: s
33020
- }), (r, a) => (h(), j("div", WT, [
33039
+ }), (r, a) => (h(), j("div", qT, [
33021
33040
  (h(!0), j(Z, null, pe(i(o), (l) => (h(), A(i(Cn), {
33022
33041
  ref_for: !0,
33023
33042
  ref_key: "widgetsRef",
@@ -33028,7 +33047,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33028
33047
  }, null, 8, ["region", "widget", "preview"]))), 256))
33029
33048
  ]));
33030
33049
  }
33031
- }), QT = { class: "v-actions-region" }, YT = /* @__PURE__ */ H({
33050
+ }), YT = { class: "v-actions-region" }, XT = /* @__PURE__ */ H({
33032
33051
  name: "ActionsRegion",
33033
33052
  inheritAttrs: !1,
33034
33053
  __name: "actions",
@@ -33040,7 +33059,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33040
33059
  return t({
33041
33060
  widgets: o,
33042
33061
  widgetsRef: s
33043
- }), (r, a) => (h(), j("div", QT, [
33062
+ }), (r, a) => (h(), j("div", YT, [
33044
33063
  (h(!0), j(Z, null, pe(i(o), (l) => (h(), A(i(Cn), {
33045
33064
  ref_for: !0,
33046
33065
  ref_key: "widgetsRef",
@@ -33050,7 +33069,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33050
33069
  }, null, 8, ["region", "widget"]))), 256))
33051
33070
  ]));
33052
33071
  }
33053
- }), XT = { class: "v-apps-region" }, ZT = { class: "v-apps-region__header" }, eO = { class: "v-apps-region__top" }, tO = { class: "v-apps-region__bottom" }, nO = { class: "v-apps-region__panels" }, oO = /* @__PURE__ */ H({
33072
+ }), ZT = { class: "v-apps-region" }, eO = { class: "v-apps-region__header" }, tO = { class: "v-apps-region__top" }, nO = { class: "v-apps-region__bottom" }, oO = { class: "v-apps-region__panels" }, rO = /* @__PURE__ */ H({
33054
33073
  name: "AppsRegion",
33055
33074
  inheritAttrs: !1,
33056
33075
  __name: "apps",
@@ -33083,9 +33102,9 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33083
33102
  const b = c.value.find((k) => k.name === _);
33084
33103
  u.value = b, p.value = b;
33085
33104
  }
33086
- }), (_, b) => (h(), j("div", XT, [
33087
- N("div", ZT, [
33088
- N("div", eO, [
33105
+ }), (_, b) => (h(), j("div", ZT, [
33106
+ N("div", eO, [
33107
+ N("div", tO, [
33089
33108
  (h(!0), j(Z, null, pe(c.value, (k) => (h(), A(i(vi), {
33090
33109
  key: `icon-${k.name}`,
33091
33110
  class: ye(`v-apps-region-${k.name}`),
@@ -33096,7 +33115,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33096
33115
  onClick: (x) => g(k)
33097
33116
  }, null, 8, ["class", "icon", "label", "active", "open", "onClick"]))), 128))
33098
33117
  ]),
33099
- N("div", tO, [
33118
+ N("div", nO, [
33100
33119
  (h(!0), j(Z, null, pe(d.value, (k) => (h(), A(i(vi), {
33101
33120
  key: `icon-${k.name}`,
33102
33121
  icon: k.icon,
@@ -33105,7 +33124,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33105
33124
  }, null, 8, ["icon", "label", "onClick"]))), 128))
33106
33125
  ])
33107
33126
  ]),
33108
- N("div", nO, [
33127
+ N("div", oO, [
33109
33128
  (h(!0), j(Z, null, pe(c.value, (k) => (h(), j(Z, {
33110
33129
  key: k.name
33111
33130
  }, [
@@ -33132,7 +33151,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33132
33151
  ])
33133
33152
  ]));
33134
33153
  }
33135
- }), rO = /* @__PURE__ */ H({
33154
+ }), sO = /* @__PURE__ */ H({
33136
33155
  name: "WorkspaceRegion",
33137
33156
  __name: "workspace",
33138
33157
  props: {
@@ -33225,7 +33244,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33225
33244
  _: 1
33226
33245
  }, 8, ["items", "menus", "modelValue", "onRemove"]));
33227
33246
  }
33228
- }), sO = /* @__PURE__ */ H({
33247
+ }), aO = /* @__PURE__ */ H({
33229
33248
  name: "SettingsRegion",
33230
33249
  __name: "settings",
33231
33250
  props: {
@@ -33357,7 +33376,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33357
33376
  _: 1
33358
33377
  })) : B("", !0);
33359
33378
  }
33360
- }), aO = { class: "v-status-region" }, lO = { class: "v-status-region__left" }, iO = { class: "v-status-region__right" }, cO = /* @__PURE__ */ H({
33379
+ }), lO = { class: "v-status-region" }, iO = { class: "v-status-region__left" }, cO = { class: "v-status-region__right" }, uO = /* @__PURE__ */ H({
33361
33380
  name: "StatusRegion",
33362
33381
  inheritAttrs: !1,
33363
33382
  __name: "status",
@@ -33369,8 +33388,8 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33369
33388
  return t({
33370
33389
  widgets: o,
33371
33390
  widgetsRef: s
33372
- }), (l, c) => (h(), j("div", aO, [
33373
- N("div", lO, [
33391
+ }), (l, c) => (h(), j("div", lO, [
33392
+ N("div", iO, [
33374
33393
  (h(!0), j(Z, null, pe(r.value, (d) => (h(), A(i(Cn), {
33375
33394
  ref_for: !0,
33376
33395
  ref_key: "widgetsRef",
@@ -33379,7 +33398,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33379
33398
  widget: d
33380
33399
  }, null, 8, ["region", "widget"]))), 256))
33381
33400
  ]),
33382
- N("div", iO, [
33401
+ N("div", cO, [
33383
33402
  (h(!0), j(Z, null, pe(a.value, (d) => (h(), A(i(Cn), {
33384
33403
  ref_for: !0,
33385
33404
  ref_key: "widgetsRef",
@@ -33390,7 +33409,7 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33390
33409
  ])
33391
33410
  ]));
33392
33411
  }
33393
- }), uO = /* @__PURE__ */ H({
33412
+ }), dO = /* @__PURE__ */ H({
33394
33413
  name: "PreviewRegion",
33395
33414
  __name: "preview",
33396
33415
  props: {
@@ -33434,38 +33453,38 @@ const ji = new VT(), PT = /* @__PURE__ */ H({
33434
33453
  }, 8, ["items", "modelValue"]));
33435
33454
  }
33436
33455
  }), Li = {
33437
- EmptyRegion: JT,
33438
- Brand: KT,
33439
- Toolbar: qT,
33440
- Actions: YT,
33441
- Apps: oO,
33442
- Workspace: rO,
33443
- Settings: sO,
33444
- Status: cO,
33445
- Preview: uO
33456
+ EmptyRegion: GT,
33457
+ Brand: WT,
33458
+ Toolbar: QT,
33459
+ Actions: XT,
33460
+ Apps: rO,
33461
+ Workspace: sO,
33462
+ Settings: aO,
33463
+ Status: uO,
33464
+ Preview: dO
33446
33465
  };
33447
33466
  export {
33448
33467
  Kt as $,
33449
33468
  Jm as A,
33450
33469
  As as B,
33451
- VT as C,
33452
- OO as D,
33470
+ PT as C,
33471
+ IO as D,
33453
33472
  Gm as E,
33454
- NT as F,
33473
+ VT as F,
33455
33474
  qm as G,
33456
33475
  Qm as H,
33457
33476
  dr as I,
33458
- xO as J,
33477
+ CO as J,
33459
33478
  Hm as K,
33460
- AO as L,
33461
- TO as M,
33479
+ TO as L,
33480
+ OO as M,
33462
33481
  An as N,
33463
- RO as O,
33482
+ DO as O,
33464
33483
  zm as P,
33465
- CO as Q,
33484
+ AO as Q,
33466
33485
  Wm as R,
33467
33486
  aa as S,
33468
- yT as T,
33487
+ _T as T,
33469
33488
  vk as U,
33470
33489
  $m as V,
33471
33490
  wE as W,
@@ -33480,7 +33499,7 @@ export {
33480
33499
  ZC as a3,
33481
33500
  ji as a4,
33482
33501
  Tn as a5,
33483
- ST as a6,
33502
+ xT as a6,
33484
33503
  IA as a7,
33485
33504
  Mi as a8,
33486
33505
  Bd as a9,
@@ -33498,12 +33517,12 @@ export {
33498
33517
  Be as al,
33499
33518
  Zn as am,
33500
33519
  Ve as an,
33501
- IT as b,
33520
+ RT as b,
33502
33521
  dl as c,
33503
33522
  cs as d,
33504
- xT as e,
33523
+ CT as e,
33505
33524
  Ye as f,
33506
- DO as g,
33525
+ NO as g,
33507
33526
  bk as h,
33508
33527
  vi as i,
33509
33528
  St as j,
@@ -33513,14 +33532,14 @@ export {
33513
33532
  xe as n,
33514
33533
  Ym as o,
33515
33534
  Jn as p,
33516
- TT as q,
33535
+ OT as q,
33517
33536
  Bl as r,
33518
33537
  Ul as s,
33519
- FT as t,
33538
+ HT as t,
33520
33539
  Se as u,
33521
- OT as v,
33522
- MT as w,
33523
- kT as x,
33540
+ IT as v,
33541
+ jT as w,
33542
+ ST as x,
33524
33543
  kE as y,
33525
- DT as z
33544
+ NT as z
33526
33545
  };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as e, a as E, b as t, c as r, 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 K, o as m, p as u, 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 ta, a4 as ra, 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 } from "./index-BRR2Y_Wa.js";
1
+ import { A as e, a as E, b as t, c as r, 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 K, o as m, p as u, 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 ta, a4 as ra, 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 } from "./index-Cg42XFn5.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.16.1",
4
+ "version": "0.16.2",
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.16.1",
33
- "@vtj/icons": "~0.16.1",
34
- "@vtj/ui": "~0.16.1",
35
- "@vtj/uni": "~0.16.1",
36
- "@vtj/utils": "~0.16.1",
37
- "@vtj/renderer": "~0.16.1"
32
+ "@vtj/core": "~0.16.2",
33
+ "@vtj/ui": "~0.16.2",
34
+ "@vtj/renderer": "~0.16.2",
35
+ "@vtj/uni": "~0.16.2",
36
+ "@vtj/utils": "~0.16.2",
37
+ "@vtj/icons": "~0.16.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/mockjs": "~1.0.10",
@@ -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.16.0
5
+ * @version 0.16.1
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.16.0";
8
+ export declare const version = "0.16.1";
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index-BRR2Y_Wa.js";
2
- export {
3
- f as default
4
- };