@vtj/designer 0.13.30 → 0.13.32
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-i5P81huw.js +4 -0
- package/dist/{index-2WnfQvl8.js → index-BA9KnV6D.js} +34 -46
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
- package/types/components/shared/viewer.d.ts +2 -2
- package/types/components/widgets/ai/json-input.d.ts +43 -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/version.d.ts +2 -2
- package/dist/Editor-Cxmxy6YC.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.32
|
|
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.32", Rm = {
|
|
26
26
|
width: 390,
|
|
27
27
|
height: 844
|
|
28
28
|
}, Nm = {
|
|
@@ -3366,8 +3366,7 @@ function bn(e) {
|
|
|
3366
3366
|
return n || "Anonymous Component";
|
|
3367
3367
|
}
|
|
3368
3368
|
function Wa(e) {
|
|
3369
|
-
|
|
3370
|
-
return `${t}:${n}`;
|
|
3369
|
+
return `${e?.appContext?.app?.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__ ?? 0}:${e === e?.root ? "root" : e.uid}`;
|
|
3371
3370
|
}
|
|
3372
3371
|
function Zv(e) {
|
|
3373
3372
|
return e == null ? "" : typeof e == "number" ? e : typeof e == "string" ? `'${e}'` : Array.isArray(e) ? "Array" : "Object";
|
|
@@ -3551,10 +3550,7 @@ function ia(e) {
|
|
|
3551
3550
|
}
|
|
3552
3551
|
}
|
|
3553
3552
|
function db(e, t) {
|
|
3554
|
-
|
|
3555
|
-
const n = Wa(la);
|
|
3556
|
-
t(n);
|
|
3557
|
-
}
|
|
3553
|
+
e.preventDefault(), e.stopPropagation(), la && t(Wa(la));
|
|
3558
3554
|
}
|
|
3559
3555
|
let Ys = null;
|
|
3560
3556
|
function fb() {
|
|
@@ -3733,7 +3729,7 @@ function Sb() {
|
|
|
3733
3729
|
performanceEventEnabled: !1,
|
|
3734
3730
|
selected: ""
|
|
3735
3731
|
};
|
|
3736
|
-
const e = localStorage.getItem(iu);
|
|
3732
|
+
const e = typeof localStorage.getItem < "u" ? localStorage.getItem(iu) : null;
|
|
3737
3733
|
return e ? JSON.parse(e) : {
|
|
3738
3734
|
recordingState: !1,
|
|
3739
3735
|
mouseEventEnabled: !1,
|
|
@@ -4015,11 +4011,7 @@ function fu(e, t) {
|
|
|
4015
4011
|
const o = localStorage.getItem(n);
|
|
4016
4012
|
if (o) return JSON.parse(o);
|
|
4017
4013
|
}
|
|
4018
|
-
|
|
4019
|
-
const o = _s.find((r) => r[0].id === e)?.[0] ?? null;
|
|
4020
|
-
return ua(o?.settings ?? {});
|
|
4021
|
-
}
|
|
4022
|
-
return ua(t);
|
|
4014
|
+
return ua(e ? (_s.find((o) => o[0].id === e)?.[0] ?? null)?.settings ?? {} : t);
|
|
4023
4015
|
}
|
|
4024
4016
|
function pu(e, t) {
|
|
4025
4017
|
const n = Xa(e);
|
|
@@ -4413,10 +4405,10 @@ function ny(e) {
|
|
|
4413
4405
|
}));
|
|
4414
4406
|
}
|
|
4415
4407
|
function oy(e) {
|
|
4416
|
-
const t = e.computed ? "computed" : e.ref ? "ref" : e.reactive ? "reactive" : null
|
|
4408
|
+
const t = e.computed ? "computed" : e.ref ? "ref" : e.reactive ? "reactive" : null;
|
|
4417
4409
|
return {
|
|
4418
4410
|
stateType: t,
|
|
4419
|
-
stateTypeName:
|
|
4411
|
+
stateTypeName: t ? `${t.charAt(0).toUpperCase()}${t.slice(1)}` : null
|
|
4420
4412
|
};
|
|
4421
4413
|
}
|
|
4422
4414
|
function sy(e) {
|
|
@@ -4521,12 +4513,12 @@ function Su(e) {
|
|
|
4521
4513
|
return ty(e).concat(ny(e), sy(e), ry(e, t), ay(e), ly(e), iy(e, t), cy(e), uy(e));
|
|
4522
4514
|
}
|
|
4523
4515
|
function dy(e) {
|
|
4524
|
-
const t = jo(je.value, e.instanceId)
|
|
4516
|
+
const t = jo(je.value, e.instanceId);
|
|
4525
4517
|
return {
|
|
4526
|
-
id:
|
|
4527
|
-
name:
|
|
4528
|
-
file:
|
|
4529
|
-
state:
|
|
4518
|
+
id: Wa(t),
|
|
4519
|
+
name: bn(t),
|
|
4520
|
+
file: t?.type?.__file,
|
|
4521
|
+
state: Su(t),
|
|
4530
4522
|
instance: t
|
|
4531
4523
|
};
|
|
4532
4524
|
}
|
|
@@ -4724,7 +4716,7 @@ function xu(e, t, n, o, r, s) {
|
|
|
4724
4716
|
if (!a) return;
|
|
4725
4717
|
const l = bn(o) || "Unknown Component", c = `${n}-${r}`, d = a.perfGroupIds.get(c);
|
|
4726
4718
|
if (d) {
|
|
4727
|
-
const p = d.groupId, u =
|
|
4719
|
+
const p = d.groupId, u = s - d.time;
|
|
4728
4720
|
e.addTimelineEvent({
|
|
4729
4721
|
layerId: Za,
|
|
4730
4722
|
event: {
|
|
@@ -4735,8 +4727,8 @@ function xu(e, t, n, o, r, s) {
|
|
|
4735
4727
|
measure: "end",
|
|
4736
4728
|
duration: { _custom: {
|
|
4737
4729
|
type: "Duration",
|
|
4738
|
-
value:
|
|
4739
|
-
display: `${
|
|
4730
|
+
value: u,
|
|
4731
|
+
display: `${u} ms`
|
|
4740
4732
|
} }
|
|
4741
4733
|
},
|
|
4742
4734
|
title: l,
|
|
@@ -4879,13 +4871,13 @@ function yy(e) {
|
|
|
4879
4871
|
}
|
|
4880
4872
|
}), o.on.getInspectorState(async (a) => {
|
|
4881
4873
|
if (a.app === e && a.inspectorId === go) {
|
|
4882
|
-
const l = dy({ instanceId: a.nodeId }), c = l.instance, d =
|
|
4874
|
+
const l = dy({ instanceId: a.nodeId }), c = l.instance, d = {
|
|
4883
4875
|
componentInstance: c,
|
|
4884
|
-
app:
|
|
4876
|
+
app: l.instance?.appContext.app,
|
|
4885
4877
|
instanceData: l
|
|
4886
4878
|
};
|
|
4887
|
-
Sn.hooks.callHookWith((
|
|
4888
|
-
|
|
4879
|
+
Sn.hooks.callHookWith((p) => {
|
|
4880
|
+
p.forEach((u) => u(d));
|
|
4889
4881
|
}, It.INSPECT_COMPONENT), a.state = l, by(c);
|
|
4890
4882
|
}
|
|
4891
4883
|
}), o.on.editInspectorState(async (a) => {
|
|
@@ -6580,9 +6572,7 @@ function Ou(e) {
|
|
|
6580
6572
|
Te.devtoolsClientDetected = {
|
|
6581
6573
|
...Te.devtoolsClientDetected,
|
|
6582
6574
|
...e
|
|
6583
|
-
};
|
|
6584
|
-
const t = Object.values(Te.devtoolsClientDetected).some(Boolean);
|
|
6585
|
-
My(!t);
|
|
6575
|
+
}, My(!Object.values(Te.devtoolsClientDetected).some(Boolean));
|
|
6586
6576
|
}
|
|
6587
6577
|
z.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ ?? (z.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = Ou);
|
|
6588
6578
|
var jy = class {
|
|
@@ -6986,8 +6976,8 @@ function ga(e, t = {}) {
|
|
|
6986
6976
|
const n = Object.getOwnPropertyNames(e), o = Object.getOwnPropertySymbols(e);
|
|
6987
6977
|
return [...n, ...o].reduce((r, s) => {
|
|
6988
6978
|
if (oi(t.props) && !t.props.includes(s)) return r;
|
|
6989
|
-
const a = e[s]
|
|
6990
|
-
return d_(r, s,
|
|
6979
|
+
const a = e[s];
|
|
6980
|
+
return d_(r, s, ga(a, t), e, t.nonenumerable), r;
|
|
6991
6981
|
}, {});
|
|
6992
6982
|
}
|
|
6993
6983
|
var ye = class {
|
|
@@ -7349,10 +7339,10 @@ function F_(e) {
|
|
|
7349
7339
|
t = Function.prototype.toString.call(e), n = String.prototype.match.call(t, /\([\s\S]*?\)/);
|
|
7350
7340
|
} catch {
|
|
7351
7341
|
}
|
|
7352
|
-
const o = n && n[0], r = typeof o == "string" ? o : "(?)"
|
|
7342
|
+
const o = n && n[0], r = typeof o == "string" ? o : "(?)";
|
|
7353
7343
|
return { _custom: {
|
|
7354
7344
|
type: "function",
|
|
7355
|
-
displayText: `<span style="opacity:.8;margin-right:5px;">function</span> <span style="white-space:nowrap;">${Zb(
|
|
7345
|
+
displayText: `<span style="opacity:.8;margin-right:5px;">function</span> <span style="white-space:nowrap;">${Zb(typeof e.name == "string" ? e.name : "")}${r}</span>`,
|
|
7356
7346
|
tooltipText: t.trim() ? `<pre>${t}</pre>` : null
|
|
7357
7347
|
} };
|
|
7358
7348
|
}
|
|
@@ -7719,12 +7709,12 @@ function va(e, t = {}, n) {
|
|
|
7719
7709
|
}
|
|
7720
7710
|
const mw = { run: (e) => e() }, hw = () => mw, Gu = typeof console.createTask < "u" ? console.createTask : hw;
|
|
7721
7711
|
function vw(e, t) {
|
|
7722
|
-
const n = t.shift()
|
|
7723
|
-
return e.reduce((
|
|
7712
|
+
const n = Gu(t.shift());
|
|
7713
|
+
return e.reduce((o, r) => o.then(() => n.run(() => r(...t))), Promise.resolve());
|
|
7724
7714
|
}
|
|
7725
7715
|
function bw(e, t) {
|
|
7726
|
-
const n = t.shift()
|
|
7727
|
-
return Promise.all(e.map((
|
|
7716
|
+
const n = Gu(t.shift());
|
|
7717
|
+
return Promise.all(e.map((o) => n.run(() => o(...t))));
|
|
7728
7718
|
}
|
|
7729
7719
|
function Kr(e, t) {
|
|
7730
7720
|
for (const n of [...e]) n(t);
|
|
@@ -7866,14 +7856,11 @@ const ho = {
|
|
|
7866
7856
|
heartbeat: () => !0,
|
|
7867
7857
|
devtoolsState: () => ii(),
|
|
7868
7858
|
async getInspectorTree(e) {
|
|
7869
|
-
|
|
7870
|
-
return Go(t);
|
|
7859
|
+
return Go(await qe.ctx.api.getInspectorTree(e));
|
|
7871
7860
|
},
|
|
7872
7861
|
async getInspectorState(e) {
|
|
7873
7862
|
const t = Xn(e.inspectorId);
|
|
7874
|
-
t && (t.selectedNodeId = e.nodeId);
|
|
7875
|
-
const n = await qe.ctx.api.getInspectorState(e);
|
|
7876
|
-
return Go(n);
|
|
7863
|
+
return t && (t.selectedNodeId = e.nodeId), Go(await qe.ctx.api.getInspectorState(e));
|
|
7877
7864
|
},
|
|
7878
7865
|
async editInspectorState(e) {
|
|
7879
7866
|
return await qe.ctx.api.editInspectorState(e);
|
|
@@ -8775,7 +8762,7 @@ const Ew = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!
|
|
|
8775
8762
|
]));
|
|
8776
8763
|
}
|
|
8777
8764
|
}), Xe = sf({
|
|
8778
|
-
loader: () => import("./Editor-
|
|
8765
|
+
loader: () => import("./Editor-i5P81huw.js"),
|
|
8779
8766
|
loadingComponent: F({
|
|
8780
8767
|
render() {
|
|
8781
8768
|
return eo("div", "正在拼命加载...");
|
|
@@ -27437,6 +27424,7 @@ const Sx = ["innerHTML"], xx = /* @__PURE__ */ F({
|
|
|
27437
27424
|
urls: [
|
|
27438
27425
|
"@vtj/materials/deps/ant-design-vue/reset.css",
|
|
27439
27426
|
"@vtj/materials/deps/ant-design-vue/dayjs/dayjs.min.js",
|
|
27427
|
+
"@vtj/materials/deps/ant-design-vue/dayjs/locale/zh-cn.js",
|
|
27440
27428
|
"@vtj/materials/deps/ant-design-vue/dayjs/plugin/customParseFormat.js",
|
|
27441
27429
|
"@vtj/materials/deps/ant-design-vue/dayjs/plugin/weekday.js",
|
|
27442
27430
|
"@vtj/materials/deps/ant-design-vue/dayjs/plugin/localeData.js",
|
|
@@ -29466,7 +29454,7 @@ class EA {
|
|
|
29466
29454
|
this.dropping.value = null, n.simulator.refresh(), n.assets.clearCaches();
|
|
29467
29455
|
}
|
|
29468
29456
|
onSelected(t) {
|
|
29469
|
-
this.engine.state.activeEvent || t.stopPropagation(), this.setHover(null), this.selected.value = this.getHelper(t);
|
|
29457
|
+
this.engine.state.activeEvent || (t.stopPropagation(), t.preventDefault()), this.setHover(null), this.selected.value = this.getHelper(t);
|
|
29470
29458
|
}
|
|
29471
29459
|
async onDragOver(t) {
|
|
29472
29460
|
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-BA9KnV6D.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.32",
|
|
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/
|
|
33
|
-
"@vtj/icons": "~0.13.
|
|
34
|
-
"@vtj/
|
|
35
|
-
"@vtj/
|
|
36
|
-
"@vtj/
|
|
37
|
-
"@vtj/
|
|
32
|
+
"@vtj/core": "~0.13.32",
|
|
33
|
+
"@vtj/icons": "~0.13.32",
|
|
34
|
+
"@vtj/renderer": "~0.13.32",
|
|
35
|
+
"@vtj/uni": "~0.13.32",
|
|
36
|
+
"@vtj/ui": "~0.13.32",
|
|
37
|
+
"@vtj/utils": "~0.13.32"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/mockjs": "~1.0.10",
|
|
@@ -7202,9 +7202,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
7202
7202
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, string[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
|
7203
7203
|
data: TreeData;
|
|
7204
7204
|
props: TreeOptionProps;
|
|
7205
|
+
lazy: boolean;
|
|
7205
7206
|
draggable: boolean;
|
|
7206
7207
|
checkStrictly: boolean;
|
|
7207
|
-
lazy: boolean;
|
|
7208
7208
|
checkOnClickNode: boolean;
|
|
7209
7209
|
checkOnClickLeaf: boolean;
|
|
7210
7210
|
accordion: boolean;
|
|
@@ -14414,9 +14414,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
14414
14414
|
}, {}, {}, {}, {
|
|
14415
14415
|
data: TreeData;
|
|
14416
14416
|
props: TreeOptionProps;
|
|
14417
|
+
lazy: boolean;
|
|
14417
14418
|
draggable: boolean;
|
|
14418
14419
|
checkStrictly: boolean;
|
|
14419
|
-
lazy: boolean;
|
|
14420
14420
|
checkOnClickNode: boolean;
|
|
14421
14421
|
checkOnClickLeaf: boolean;
|
|
14422
14422
|
accordion: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, StyleValue, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ShallowRef, ComputedRef, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
|
-
import { UploadFile, InputAutoSize, UploadRawFile, UploadFiles, UploadProgressEvent, UploadUserFile, UploadRequestHandler, UploadStatus } from 'element-plus';
|
|
2
|
+
import { UploadFile, InputModelModifiers, InputAutoSize, UploadRawFile, UploadFiles, UploadProgressEvent, UploadUserFile, UploadRequestHandler, UploadStatus } from 'element-plus';
|
|
3
3
|
import { OnCleanup } from '@vue/reactivity';
|
|
4
4
|
export interface Props {
|
|
5
5
|
loading?: boolean;
|
|
@@ -19,8 +19,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
19
19
|
readonly type: string;
|
|
20
20
|
readonly modelValue: string | number | null | undefined;
|
|
21
21
|
readonly readonly: boolean;
|
|
22
|
+
readonly modelModifiers: InputModelModifiers;
|
|
22
23
|
readonly autosize: InputAutoSize;
|
|
23
24
|
readonly autocomplete: AutoFill;
|
|
25
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
24
26
|
readonly containerRole: string;
|
|
25
27
|
readonly validateEvent: boolean;
|
|
26
28
|
readonly inputStyle: StyleValue;
|
|
@@ -36,12 +38,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
36
38
|
readonly disabled: boolean;
|
|
37
39
|
readonly tabindex: string | number;
|
|
38
40
|
readonly autofocus: boolean;
|
|
41
|
+
readonly modelModifiers: InputModelModifiers;
|
|
39
42
|
readonly autosize: InputAutoSize;
|
|
40
43
|
readonly autocomplete: AutoFill;
|
|
41
44
|
readonly readonly: boolean;
|
|
42
45
|
readonly clearable: boolean;
|
|
43
46
|
readonly showPassword: boolean;
|
|
44
47
|
readonly showWordLimit: boolean;
|
|
48
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
45
49
|
readonly validateEvent: boolean;
|
|
46
50
|
readonly inputStyle: string | false | CSSProperties | StyleValue[] | null;
|
|
47
51
|
readonly rows: number;
|
|
@@ -73,7 +77,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
73
77
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
74
78
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
75
79
|
onClear?: (() => any) | undefined | undefined;
|
|
76
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "id" | "modelValue" | "disabled" | "tabindex" | "autofocus" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "validateEvent" | "inputStyle" | "rows">;
|
|
80
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "type" | "id" | "modelValue" | "disabled" | "tabindex" | "autofocus" | "inputmode" | "modelModifiers" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "wordLimitPosition" | "containerRole" | "validateEvent" | "inputStyle" | "rows">;
|
|
77
81
|
$attrs: {
|
|
78
82
|
[x: string]: unknown;
|
|
79
83
|
};
|
|
@@ -122,6 +126,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
122
126
|
} & {
|
|
123
127
|
readonly default: "";
|
|
124
128
|
};
|
|
129
|
+
readonly modelModifiers: {
|
|
130
|
+
readonly type: PropType<InputModelModifiers>;
|
|
131
|
+
readonly required: false;
|
|
132
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
|
+
__epPropKey: true;
|
|
134
|
+
} & {
|
|
135
|
+
readonly default: () => {};
|
|
136
|
+
};
|
|
125
137
|
readonly maxlength: {
|
|
126
138
|
readonly type: PropType<string | number>;
|
|
127
139
|
readonly required: false;
|
|
@@ -198,6 +210,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
198
210
|
};
|
|
199
211
|
readonly showPassword: BooleanConstructor;
|
|
200
212
|
readonly showWordLimit: BooleanConstructor;
|
|
213
|
+
readonly wordLimitPosition: {
|
|
214
|
+
readonly type: PropType<"inside" | "outside">;
|
|
215
|
+
readonly required: false;
|
|
216
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
217
|
+
__epPropKey: true;
|
|
218
|
+
} & {
|
|
219
|
+
readonly default: "inside";
|
|
220
|
+
};
|
|
201
221
|
readonly suffixIcon: {
|
|
202
222
|
readonly type: PropType<string | Component>;
|
|
203
223
|
readonly required: false;
|
|
@@ -296,8 +316,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
296
316
|
readonly type: string;
|
|
297
317
|
readonly modelValue: string | number | null | undefined;
|
|
298
318
|
readonly readonly: boolean;
|
|
319
|
+
readonly modelModifiers: InputModelModifiers;
|
|
299
320
|
readonly autosize: InputAutoSize;
|
|
300
321
|
readonly autocomplete: AutoFill;
|
|
322
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
301
323
|
readonly containerRole: string;
|
|
302
324
|
readonly validateEvent: boolean;
|
|
303
325
|
readonly inputStyle: StyleValue;
|
|
@@ -334,8 +356,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
334
356
|
readonly type: string;
|
|
335
357
|
readonly modelValue: string | number | null | undefined;
|
|
336
358
|
readonly readonly: boolean;
|
|
359
|
+
readonly modelModifiers: InputModelModifiers;
|
|
337
360
|
readonly autosize: InputAutoSize;
|
|
338
361
|
readonly autocomplete: AutoFill;
|
|
362
|
+
readonly wordLimitPosition: "inside" | "outside";
|
|
339
363
|
readonly containerRole: string;
|
|
340
364
|
readonly validateEvent: boolean;
|
|
341
365
|
readonly inputStyle: StyleValue;
|
|
@@ -379,6 +403,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
379
403
|
} & {
|
|
380
404
|
readonly default: "";
|
|
381
405
|
};
|
|
406
|
+
readonly modelModifiers: {
|
|
407
|
+
readonly type: PropType<InputModelModifiers>;
|
|
408
|
+
readonly required: false;
|
|
409
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
410
|
+
__epPropKey: true;
|
|
411
|
+
} & {
|
|
412
|
+
readonly default: () => {};
|
|
413
|
+
};
|
|
382
414
|
readonly maxlength: {
|
|
383
415
|
readonly type: PropType<string | number>;
|
|
384
416
|
readonly required: false;
|
|
@@ -455,6 +487,14 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
455
487
|
};
|
|
456
488
|
readonly showPassword: BooleanConstructor;
|
|
457
489
|
readonly showWordLimit: BooleanConstructor;
|
|
490
|
+
readonly wordLimitPosition: {
|
|
491
|
+
readonly type: PropType<"inside" | "outside">;
|
|
492
|
+
readonly required: false;
|
|
493
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
494
|
+
__epPropKey: true;
|
|
495
|
+
} & {
|
|
496
|
+
readonly default: "inside";
|
|
497
|
+
};
|
|
458
498
|
readonly suffixIcon: {
|
|
459
499
|
readonly type: PropType<string | Component>;
|
|
460
500
|
readonly required: false;
|
|
@@ -521,7 +561,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
521
561
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
522
562
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
523
563
|
onClear?: (() => any) | undefined;
|
|
524
|
-
}, "clear" | "type" | "id" | "ref" | "modelValue" | "disabled" | "focus" | "tabindex" | "autofocus" | "input" | "select" | "textarea" | "inputmode" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "blur" | "resizeTextarea"> & ShallowUnwrapRef<{
|
|
564
|
+
}, "clear" | "type" | "id" | "ref" | "modelValue" | "disabled" | "focus" | "tabindex" | "autofocus" | "input" | "select" | "textarea" | "inputmode" | "modelModifiers" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "wordLimitPosition" | "containerRole" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "blur" | "resizeTextarea"> & ShallowUnwrapRef<{
|
|
525
565
|
input: ShallowRef<HTMLInputElement | undefined>;
|
|
526
566
|
textarea: ShallowRef<HTMLTextAreaElement | undefined>;
|
|
527
567
|
ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
@@ -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/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.31
|
|
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.31";
|
package/dist/Editor-Cxmxy6YC.js
DELETED