@vtj/designer 0.16.19 → 0.16.21

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-SbxDpiMm.js";
2
+ export {
3
+ f as default
4
+ };
@@ -6,7 +6,7 @@ import { ElMessage as St, ElNotification as La, ElMessageBox as rn, ElLoading as
6
6
  import Mp from "element-plus/es/locale/lang/zh-cn";
7
7
  import { XDialogForm as Wt, XField as Y, XIcon as $t, createDialog as ec, XDialog as Xt, XPanel as ws, XAction as Ne, XTabs as Es, XContainer as Ie, XForm as Fa, XAttachment as jp, XGrid as Ha, XActionBar as tc, XInputUnit as nc, vResizable as Ll } from "@vtj/ui";
8
8
  import { BUILT_IN_NAME as ns, isNode as Dn, isBlockSchema as Lp, NodeModel as Vo, cloneDsl as Ul, isBlock as it, DirectiveModel as oc, I18N_LOCALES as Up, createNodeFrom as Bp, BUILT_IN_VUE as Bl, BUILT_IN_VUE_ROUTER as $p, emitter as vt, EVENT_PROJECT_ACTIVED as fa, EVENT_NODE_CHANGE as mr, EVENT_BLOCK_CHANGE as ga, Base as rc, BUILT_IN_LIBRARAY_MAP as zp, ProjectModel as Fp, EVENT_PROJECT_CHANGE as Hp, EVENT_PROJECT_BLOCKS_CHANGE as Jp, EVENT_PROJECT_PAGES_CHANGE as Gp, EVENT_PROJECT_DEPS_CHANGE as Kp, EVENT_PROJECT_PUBLISH as Wp, EVENT_PROJECT_FILE_PUBLISH as qp, EVENT_HISTORY_CHANGE as Qp, EVENT_HISTORY_LOAD as Yp, EVENT_PROJECT_GEN_SOURCE as Xp, BlockModel as Bs, HistoryModel as Zp } from "@vtj/core";
9
- import { parseExpression as Lo, parseFunction as Ja, BUILT_IN_DIRECTIVES as ef, clearNodeCache as tf, createSchemaApi as nf, isJSFunction as sc, JSCodeToString as Uo, LIFE_CYCLES_LIST as of, DATA_TYPES as rf, createMock as sf, isJSExpression as Eo, REMOTE as ac, NodeEnv as Hn, HTML_TAGS as af, ContextMode as ma, clearLoaderCache as $l, parseDeps as lf, parseUrls as cf, createAssetsCss as uf, createAssetScripts as zl, getRawComponent as Fl, createSchemaApis as df, mockCleanup as pf, mockApis as ff, adoptStylesToInline as gf, Provider as mf, Access as hf, ACCESS as vf } from "@vtj/renderer";
9
+ import { parseExpression as Lo, parseFunction as Ja, BUILT_IN_DIRECTIVES as ef, nodeCache as tf, createSchemaApi as nf, isJSFunction as sc, JSCodeToString as Uo, LIFE_CYCLES_LIST as of, DATA_TYPES as rf, createMock as sf, isJSExpression as Eo, REMOTE as ac, NodeEnv as Hn, HTML_TAGS as af, ContextMode as ma, clearLoaderCache as $l, parseDeps as lf, parseUrls as cf, createAssetsCss as uf, createAssetScripts as zl, getRawComponent as Fl, createSchemaApis as df, mockCleanup as pf, mockApis as ff, adoptStylesToInline as gf, Provider as mf, Access as hf, ACCESS as vf } from "@vtj/renderer";
10
10
  import { delay as Oe, storage as ln, uid as ks, kebabCase as bf, jsonp as Gn, groupBy as hr, isUrl as yf, camelCase as _f, dataURLtoBlob as lc, fileToBase64 as Ga, upperFirstCamelCase as ic, toRawType as $s, cloneDeep as Tr, merge as Ss, logger as jn, isPlainObject as wf, throttle as Ef, toArray as Ka, debounce as kf, uuid as Sf, getClientInfo as xf, base64 as Cf, arrayToMap as Af, isBoolean as Tf } from "@vtj/utils";
11
11
  import * as Of from "@vtj/icons";
12
12
  import { VtjIconBack as If, VtjIconPc as Rf, VtjIconPhone as Df, VtjIconPad as Nf, VtjIconEdit as Wa, VtjIconUndo as Vf, VtjIconRedo as Pf, VtjIconTemplate as lr, Upload as cc, Share as Mf, Lock as jf, VtjIconPreview as Lf, VtjIconRefresh as uc, VtjIconPageSetting as Uf, Download as ir, VtjIconPublish as Hl, VtjIconProject as Bf, icons as ha, ArrowDown as xs, Search as un, CopyDocument as dc, Back as $f, VtjIconPlus as pc, EditPen as fc, Delete as qa, VtjIconSave as Qa, ArrowUp as gc, MoreFilled as So, VtjIconCheck as Ya, VtjIconComponents as mc, VtjIconShare as zf, VtjIconHome as Ff, VtjIconVisible as Hf, VtjIconInvisible as hc, VtjIconUnlock as Jf, VtjIconLock as vc, VtjIconRemove as Cs, VtjIconCopy as Xa, Files as Gf, VtjIconSearch as Kf, Flag as Wf, VtjIconDiff as qf, VtjIconHelp as bc, VtjIconOpenapi as Qf, VtjIconLayers as yc, Edit as Yf, Rank as Xf, VtjIconArrowUp as Zf, VtjIconArrowDown as eg, IconDisplayBlock as tg, IconDisplayFlex as ng, IconDisplayInlineBlock as og, IconDisplayInline as rg, IconEyeInvisible as sg, IconFlexDirectionrow as ag, IconFlexDirectionrowReverse as lg, IconFlexDirectioncolumn as ig, IconFlexDirectioncolumnReverse as cg, IconFlexJustifyflexStartrow as ug, IconFlexJustifyflexEndrow as dg, IconFlexJustifycenterrow as pg, IconFlexJustifyspaceBetweenrow as fg, IconFlexJustifyspaceAroundrow as gg, IconFlexAlignflexStartrow as mg, IconFlexAlignflexEndrow as hg, IconFlexAligncenterrow as vg, IconFlexAlignbaselinerow as bg, IconFlexAlignstretchrow as yg, IconPositionTopLeft as _g, IconPositionTopRight as wg, IconPositionBottomLeft as Eg, IconPositionBottomRight as kg, IconPositionLeft as Sg, IconPositionRight as xg, IconPositionTop as Cg, IconPositionBottom as Ag, IconPositionAll as Tg, IconTextAlignLeft as Og, IconTextAlignCenter as Ig, IconTextAlignRight as Rg, IconTextAlignJustify as Dg, IconFontStyleNone as Ng, IconFontStyleItalic as Vg, IconCross as _c, IconTextDecorationUnderline as Pg, IconTextDecorationStrike as Mg, IconTextDecorationOverline as jg, IconTileXy as Lg, IconTileX as Ug, IconTileY as Bg, IconClose as $g, IconBorderAll as zg, IconBorderLeft as Fg, IconBorderTop as Hg, IconBorderBottom as Jg, IconBorderRight as Gg, IconBorderStyleSolid as Kg, IconBorderStyleDashed as Wg, IconBorderStyleDotted as qg, IconCursorAuto as Qg, IconCursorPointer as Yg, IconCursorNotAllowed as Xg, IconCursorNone as Zg, ArrowRight as em, UserFilled as Za, VtjIconInfo as tm, VtjIconNewChat as wc, Plus as Ec, Promotion as os, CircleClose as nm, ArrowDownBold as om, ArrowUpBold as rm, Refresh as sm, View as kc, VtjIconAi as Sc, VtjIconNpCancel as am, UploadFilled as xc, CloseBold as Cc, ShoppingCart as lm, Finished as im, Hide as cm, Top as um, Bottom as dm, VtjIconChatRecord as pm, VtjIconClose as fm, Setting as gm, VtjIconDevTools as mm, VtjIconLeftPanel as hm, VtjIconBottomPanel as vm, VtjIconRightPanel as bm, Sunny as ym, Moon as _m, VtjIconDocument as wm, VtjIconBlock as Em, VtjIconOutline as km, VtjIconHistory as Sm, VtjIconApi as xm, VtjIconCategory as Cm, VtjIconUniapp as Am, VtjIconMaster as Tm, VtjIconGlobal as Om, VtjIconLang as Im, VtjIconEnv as Rm, HomeFilled as Dm, Close as Nm, VtjIconVars as Vm, VtjIconSwitch as Pm, Switch as Mm } from "@vtj/icons";
@@ -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.16.19
22
+ * @version 0.16.21
23
23
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
24
24
  */
25
- const vr = "0.16.19", Fm = {
25
+ const vr = "0.16.21", Fm = {
26
26
  width: 390,
27
27
  height: 844
28
28
  }, Hm = {
@@ -9298,7 +9298,7 @@ const Uw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
9298
9298
  ]));
9299
9299
  }
9300
9300
  }), Ze = vp({
9301
- loader: () => import("./Editor-CnrmSJC0.js"),
9301
+ loader: () => import("./Editor-DOwRDnWV.js"),
9302
9302
  loadingComponent: H({
9303
9303
  render() {
9304
9304
  return eo("div", "正在拼命加载...");
@@ -10322,7 +10322,7 @@ const Uw = "data:image/svg+xml,%3csvg%20width='200'%20height='200'%20xmlns='http
10322
10322
  const x = a.project.value?.i18n.messages ?? [];
10323
10323
  return p.value ? x.filter((I) => I.key.includes(p.value) || I["zh-CN"].includes(p.value) || I.en.includes(p.value)) : x;
10324
10324
  }), y = async (x) => {
10325
- tf(), o("submit", x), n.submitMethod ? await n.submitMethod(x) && S() : S();
10325
+ tf.clear(), o("submit", x), n.submitMethod ? await n.submitMethod(x) && S() : S();
10326
10326
  }, S = () => {
10327
10327
  o("update:modelValue", !1), o("close");
10328
10328
  }, C = () => {
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-zZjDhe0H.js";
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-SbxDpiMm.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.19",
4
+ "version": "0.16.21",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -29,18 +29,18 @@
29
29
  "marked": "~17.0.1",
30
30
  "mockjs": "~1.1.0",
31
31
  "monaco-editor": "~0.55.0",
32
- "@vtj/core": "~0.16.19",
33
- "@vtj/uni": "~0.16.19",
34
- "@vtj/icons": "~0.16.19",
35
- "@vtj/renderer": "~0.16.19",
36
- "@vtj/ui": "~0.16.19",
37
- "@vtj/utils": "~0.16.19"
32
+ "@vtj/renderer": "~0.16.21",
33
+ "@vtj/core": "~0.16.21",
34
+ "@vtj/utils": "~0.16.21",
35
+ "@vtj/uni": "~0.16.21",
36
+ "@vtj/icons": "~0.16.21",
37
+ "@vtj/ui": "~0.16.21"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/mockjs": "~1.0.10",
41
41
  "vue": "~3.5.5",
42
42
  "vue-router": "~4.6.0",
43
- "@vtj/cli": "~0.12.18"
43
+ "@vtj/cli": "~0.12.19"
44
44
  },
45
45
  "files": [
46
46
  "dist",
@@ -116,7 +116,8 @@ declare function __VLS_template(): {
116
116
  beforeMount?: (() => void) | (() => void)[];
117
117
  mounted?: (() => void) | (() => void)[];
118
118
  beforeUpdate?: (() => void) | (() => void)[];
119
- updated?: (() => void) | (() => void)[];
119
+ updated
120
+ /** @type { [typeof Tabs, typeof Tabs, ] } */ ? /** @type { [typeof Tabs, typeof Tabs, ] } */: (() => void) | (() => void)[];
120
121
  activated?: (() => void) | (() => void)[];
121
122
  deactivated?: (() => void) | (() => void)[];
122
123
  beforeDestroy?: (() => void) | (() => void)[];
@@ -433,7 +434,8 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
433
434
  beforeMount?: (() => void) | (() => void)[];
434
435
  mounted?: (() => void) | (() => void)[];
435
436
  beforeUpdate?: (() => void) | (() => void)[];
436
- updated?: (() => void) | (() => void)[];
437
+ updated
438
+ /** @type { [typeof Tabs, typeof Tabs, ] } */ ? /** @type { [typeof Tabs, typeof Tabs, ] } */: (() => void) | (() => void)[];
437
439
  activated?: (() => void) | (() => void)[];
438
440
  deactivated?: (() => void) | (() => void)[];
439
441
  beforeDestroy?: (() => void) | (() => void)[];
@@ -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.18
5
+ * @version 0.16.20
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.16.18";
8
+ export declare const version = "0.16.20";
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index-zZjDhe0H.js";
2
- export {
3
- f as default
4
- };