@vtj/designer 0.16.16 → 0.16.17
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/README.md +2 -2
- package/dist/Editor-Cvt7c1SM.js +4 -0
- package/dist/{index-BFdZZysd.js → index-D1sVGKz7.js} +2009 -1936
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
- package/types/components/hooks/useDesigner.d.ts +3 -0
- package/types/components/widgets/about/index.d.ts +6 -1
- package/types/components/widgets/index.d.ts +4 -1
- package/types/framework/designer.d.ts +2 -0
- package/types/version.d.ts +2 -2
- package/dist/Editor-DIkkoBrq.js +0 -4
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-D1sVGKz7.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.
|
|
4
|
+
"version": "0.16.17",
|
|
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/
|
|
33
|
-
"@vtj/
|
|
34
|
-
"@vtj/
|
|
35
|
-
"@vtj/
|
|
36
|
-
"@vtj/
|
|
37
|
-
"@vtj/
|
|
32
|
+
"@vtj/core": "~0.16.17",
|
|
33
|
+
"@vtj/icons": "~0.16.17",
|
|
34
|
+
"@vtj/uni": "~0.16.17",
|
|
35
|
+
"@vtj/renderer": "~0.16.17",
|
|
36
|
+
"@vtj/utils": "~0.16.17",
|
|
37
|
+
"@vtj/ui": "~0.16.17"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/mockjs": "~1.0.10",
|
|
@@ -12,6 +12,7 @@ export declare function useDesigner(iframe: Ref<HTMLIFrameElement | undefined>,
|
|
|
12
12
|
rect: DOMRect;
|
|
13
13
|
type?: DropPosition;
|
|
14
14
|
path?: Array< NodeModel | BlockModel>;
|
|
15
|
+
indexes?: number[];
|
|
15
16
|
} | null>;
|
|
16
17
|
hover: ComputedRef<{
|
|
17
18
|
style: Record<string, any>;
|
|
@@ -21,6 +22,7 @@ export declare function useDesigner(iframe: Ref<HTMLIFrameElement | undefined>,
|
|
|
21
22
|
rect: DOMRect;
|
|
22
23
|
type?: DropPosition;
|
|
23
24
|
path?: Array< NodeModel | BlockModel>;
|
|
25
|
+
indexes?: number[];
|
|
24
26
|
} | null>;
|
|
25
27
|
selected: ComputedRef<{
|
|
26
28
|
style: Record<string, any>;
|
|
@@ -30,6 +32,7 @@ export declare function useDesigner(iframe: Ref<HTMLIFrameElement | undefined>,
|
|
|
30
32
|
rect: DOMRect;
|
|
31
33
|
type?: DropPosition;
|
|
32
34
|
path?: Array< NodeModel | BlockModel>;
|
|
35
|
+
indexes?: number[];
|
|
33
36
|
} | null>;
|
|
34
37
|
lines: ComputedRef<{
|
|
35
38
|
width: string;
|
|
@@ -3,6 +3,11 @@ export interface Props {
|
|
|
3
3
|
engine: any;
|
|
4
4
|
isLogined: any;
|
|
5
5
|
toRemoteAuth: any;
|
|
6
|
+
logo?: string;
|
|
7
|
+
title?: string;
|
|
6
8
|
}
|
|
7
|
-
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
|
+
title: string;
|
|
11
|
+
logo: string;
|
|
12
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
13
|
export default _default;
|
|
@@ -973,7 +973,10 @@ export declare const widgets: {
|
|
|
973
973
|
}) | null;
|
|
974
974
|
frame: HTMLIFrameElement;
|
|
975
975
|
}, any>;
|
|
976
|
-
About: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
|
|
976
|
+
About: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
|
|
977
|
+
title: string;
|
|
978
|
+
logo: string;
|
|
979
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
977
980
|
ProjectConfig: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
978
981
|
UniConfig: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
979
982
|
Market: DefineComponent<{}, {
|
|
@@ -13,6 +13,7 @@ export interface DesignHelper {
|
|
|
13
13
|
rect: DOMRect;
|
|
14
14
|
type?: DropPosition;
|
|
15
15
|
path?: Array<NodeModel | BlockModel>;
|
|
16
|
+
indexes?: number[];
|
|
16
17
|
}
|
|
17
18
|
export declare class Designer {
|
|
18
19
|
engine: Engine;
|
|
@@ -46,6 +47,7 @@ export declare class Designer {
|
|
|
46
47
|
private getNodeByElement;
|
|
47
48
|
private getDropType;
|
|
48
49
|
private getNodePath;
|
|
50
|
+
private getNodePathIndex;
|
|
49
51
|
private setDslFrom;
|
|
50
52
|
private createNodeDsl;
|
|
51
53
|
private getElmenetByModel;
|
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.16.
|
|
5
|
+
* @version 0.16.16
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.16.
|
|
8
|
+
export declare const version = "0.16.16";
|
package/dist/Editor-DIkkoBrq.js
DELETED