@vtj/designer 0.13.14 → 0.13.16
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-BYRlEJ7f.js +4 -0
- package/dist/{index-PNSVcEAY.js → index-Cz7lb3tK.js} +5918 -5360
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
- package/types/components/hooks/index.d.ts +1 -0
- package/types/components/hooks/useDesigner.d.ts +2 -2
- package/types/components/hooks/useI18n.d.ts +12 -0
- package/types/components/widgets/i18n/index.d.ts +1292 -0
- package/types/components/widgets/index.d.ts +1290 -2
- package/types/framework/simulator.d.ts +2 -2
- package/types/framework/state.d.ts +7 -0
- package/types/version.d.ts +2 -2
- package/dist/Editor-aW8OJBwm.js +0 -4
package/dist/index.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { A as e, x as E, I as t, p as r, o as i, Q as n, T as S, E as _, j as o, F as I, z as T, G as l, k as O, n as p, K as V, g, M as R, a as d, N as A, e as M, U as N, P as D, l as P, R as L, B as u, a6 as K, L as b, D as c, S as B, f as W, i as Y, a8 as m, J as G, h as f, a5 as w, t as x, X as y, m as F, V as U, v as k, b as H, d as C, c as X, y as v, q as J, u as Z, W as h, a7 as z, a9 as j, Z as q, $ as Q, a1 as $, Y as aa, ab as sa, O as ea, a0 as Ea, a3 as ta, C as ra, ae as ia, af as na, ac as Sa, ag as _a, aa as oa, ad as Ia, ah as Ta, r as la, a4 as Oa, s as pa, H as Va, a2 as ga, w as Ra } from "./index-
|
1
|
+
import { A as e, x as E, I as t, p as r, o as i, Q as n, T as S, E as _, j as o, F as I, z as T, G as l, k as O, n as p, K as V, g, M as R, a as d, N as A, e as M, U as N, P as D, l as P, R as L, B as u, a6 as K, L as b, D as c, S as B, f as W, i as Y, a8 as m, J as G, h as f, a5 as w, t as x, X as y, m as F, V as U, v as k, b as H, d as C, c as X, y as v, q as J, u as Z, W as h, a7 as z, a9 as j, Z as q, $ as Q, a1 as $, Y as aa, ab as sa, O as ea, a0 as Ea, a3 as ta, C as ra, ae as ia, af as na, ac as Sa, ag as _a, aa as oa, ad as Ia, ah as Ta, r as la, a4 as Oa, s as pa, H as Va, a2 as ga, w as Ra } from "./index-Cz7lb3tK.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.16",
|
5
5
|
"type": "module",
|
6
6
|
"keywords": [
|
7
7
|
"低代码引擎",
|
@@ -26,12 +26,12 @@
|
|
26
26
|
"marked": "~15.0.8",
|
27
27
|
"mockjs": "~1.1.0",
|
28
28
|
"monaco-editor": "~0.52.0",
|
29
|
-
"@vtj/icons": "~0.13.
|
30
|
-
"@vtj/
|
31
|
-
"@vtj/
|
32
|
-
"@vtj/
|
33
|
-
"@vtj/
|
34
|
-
"@vtj/utils": "~0.13.
|
29
|
+
"@vtj/icons": "~0.13.16",
|
30
|
+
"@vtj/renderer": "~0.13.16",
|
31
|
+
"@vtj/ui": "~0.13.16",
|
32
|
+
"@vtj/uni": "~0.13.16",
|
33
|
+
"@vtj/core": "~0.13.16",
|
34
|
+
"@vtj/utils": "~0.13.16"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
37
|
"@types/mockjs": "~1.0.10",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Ref, ComputedRef } from 'vue';
|
2
|
-
import { Dependencie, ApiSchema, MetaSchema, ProjectConfig, UniConfig, GlobalConfig, NodeModel, BlockModel, DropPosition } from '@vtj/core';
|
2
|
+
import { Dependencie, ApiSchema, MetaSchema, ProjectConfig, UniConfig, GlobalConfig, I18nConfig, NodeModel, BlockModel, DropPosition } from '@vtj/core';
|
3
3
|
import { Designer, VtjElement } from '../..';
|
4
|
-
export declare function useDesigner(iframe: Ref<HTMLIFrameElement | undefined>, dependencies: Ref<Dependencie[]>, apis: Ref<ApiSchema[]>, meta: Ref<MetaSchema[]>, config: Ref<ProjectConfig>, uniConfig: Ref<UniConfig>, globals: Ref<GlobalConfig>): {
|
4
|
+
export declare function useDesigner(iframe: Ref<HTMLIFrameElement | undefined>, dependencies: Ref<Dependencie[]>, apis: Ref<ApiSchema[]>, meta: Ref<MetaSchema[]>, config: Ref<ProjectConfig>, uniConfig: Ref<UniConfig>, globals: Ref<GlobalConfig>, i18n: Ref<I18nConfig>): {
|
5
5
|
designer: ComputedRef< Designer | null>;
|
6
6
|
dropping: ComputedRef<{
|
7
7
|
style: Record<string, any>;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
2
|
+
import { ProjectModel } from '@vtj/core';
|
3
|
+
export declare function useI18n(): {
|
4
|
+
project: ComputedRef< ProjectModel | null>;
|
5
|
+
formModel: Ref<{}, {}>;
|
6
|
+
formVisible: Ref<boolean, boolean>;
|
7
|
+
submitMethod: any;
|
8
|
+
locales: {
|
9
|
+
label: string;
|
10
|
+
value: string;
|
11
|
+
}[];
|
12
|
+
};
|