form-imagining 0.0.6 → 0.0.7
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 +13 -16
- package/dist/abap-5361cc9f.js +1314 -0
- package/dist/apex-f9413e6f.js +315 -0
- package/dist/assets/css.worker-c3850ceb.js +88 -0
- package/dist/assets/editor.worker-94ffd778.js +12 -0
- package/dist/assets/html.worker-88b237e1.js +460 -0
- package/dist/assets/json.worker-8dd963f3.js +43 -0
- package/dist/assets/ts.worker-184cdfdf.js +37022 -0
- package/dist/azcli-36f2cb5e.js +74 -0
- package/dist/bat-6b05202d.js +95 -0
- package/dist/bicep-788415e3.js +108 -0
- package/dist/cameligo-4e85ec93.js +168 -0
- package/dist/clojure-40fa5799.js +754 -0
- package/dist/coffee-f557f5e0.js +228 -0
- package/dist/cpp-ebbf7759.js +390 -0
- package/dist/csharp-1616f566.js +320 -0
- package/dist/csp-5f0bc3c4.js +57 -0
- package/dist/css-2b1aec9b.js +186 -0
- package/dist/cssMode-8c659100.js +1447 -0
- package/dist/cypher-b12b4ba8.js +262 -0
- package/dist/dart-e0d70030.js +270 -0
- package/dist/dockerfile-f9d4b2b0.js +132 -0
- package/dist/ecl-5b91fdec.js +454 -0
- package/dist/elixir-deffd5a6.js +489 -0
- package/dist/flow9-84cd00d7.js +141 -0
- package/dist/form-imagining.js +3 -16340
- package/dist/form-imagining.umd.cjs +1974 -101
- package/dist/freemarker2-0d5627bc.js +644 -0
- package/dist/fsharp-d296151f.js +210 -0
- package/dist/go-7e72ff3b.js +208 -0
- package/dist/graphql-a93568a1.js +141 -0
- package/dist/handlebars-f4513b36.js +392 -0
- package/dist/hcl-b3994d8f.js +177 -0
- package/dist/html-8bedbbe0.js +282 -0
- package/dist/htmlMode-659c9ca3.js +1457 -0
- package/dist/index-dfad4f82.js +122025 -0
- package/dist/ini-df84509a.js +68 -0
- package/dist/java-fba3d046.js +221 -0
- package/dist/javascript-b0034508.js +77 -0
- package/dist/jsonMode-92a1ff9b.js +1868 -0
- package/dist/julia-cefd45f6.js +496 -0
- package/dist/kotlin-b87b6942.js +245 -0
- package/dist/less-8a7f37bc.js +168 -0
- package/dist/lexon-cb95cd13.js +151 -0
- package/dist/liquid-ce28d1ae.js +239 -0
- package/dist/lua-6d5b3ea4.js +157 -0
- package/dist/m3-d0daf5d0.js +210 -0
- package/dist/markdown-48bb0c6f.js +202 -0
- package/dist/mdx-470c6c12.js +172 -0
- package/dist/mips-20dcf886.js +194 -0
- package/dist/msdax-e9759e23.js +377 -0
- package/dist/mysql-95f335b2.js +876 -0
- package/dist/objective-c-ad0cfb47.js +188 -0
- package/dist/pascal-eda19dc3.js +245 -0
- package/dist/pascaligo-b7e0c89b.js +158 -0
- package/dist/perl-bbe5d32a.js +599 -0
- package/dist/pgsql-7ebaee1c.js +847 -0
- package/dist/php-2526756d.js +471 -0
- package/dist/pla-9ebd6f68.js +131 -0
- package/dist/postiats-9ac05cf6.js +544 -0
- package/dist/powerquery-1cae399d.js +890 -0
- package/dist/powershell-093b5b87.js +233 -0
- package/dist/protobuf-37993cbc.js +422 -0
- package/dist/pug-c2a5db5f.js +393 -0
- package/dist/python-8f0249df.js +260 -0
- package/dist/qsharp-1450aac5.js +282 -0
- package/dist/r-a0642b90.js +245 -0
- package/dist/razor-e4b6515c.js +513 -0
- package/dist/redis-405cb63d.js +298 -0
- package/dist/redshift-830f82de.js +806 -0
- package/dist/restructuredtext-d81f5ef4.js +162 -0
- package/dist/ruby-d607b87e.js +444 -0
- package/dist/rust-86e74dbb.js +337 -0
- package/dist/sb-b7e5010d.js +110 -0
- package/dist/scala-a4d4a3c6.js +353 -0
- package/dist/scheme-81927e94.js +114 -0
- package/dist/scss-3f112fcd.js +244 -0
- package/dist/shell-d795bcaa.js +224 -0
- package/dist/solidity-5b556d3e.js +1351 -0
- package/dist/sophia-1da55998.js +190 -0
- package/dist/sparql-ac34318e.js +193 -0
- package/dist/sql-eef6393b.js +818 -0
- package/dist/st-758b1972.js +415 -0
- package/dist/style.css +1 -1
- package/dist/swift-63cb1847.js +315 -0
- package/dist/systemverilog-2538c608.js +556 -0
- package/dist/tcl-53e6282a.js +232 -0
- package/dist/tsMode-ddb992e8.js +815 -0
- package/dist/twig-80c3dc23.js +323 -0
- package/dist/typescript-7135e9ac.js +329 -0
- package/dist/vb-32089525.js +364 -0
- package/dist/wgsl-e681d5a0.js +420 -0
- package/dist/xml-1e98ce31.js +96 -0
- package/dist/yaml-ad99967d.js +185 -0
- package/package.json +11 -18
- package/dist/components/generate/GenerateForm.vue.d.ts +0 -2
- package/dist/components/index.d.ts +0 -9
- package/dist/components/model/baseModel.d.ts +0 -8
- package/dist/components/model/dataSourceModel.d.ts +0 -19
- package/dist/components/model/gridModel.d.ts +0 -55
- package/dist/components/model/inputModel.d.ts +0 -14
- package/dist/components/model/reportModel.d.ts +0 -43
- package/dist/components/model/scriptModel.d.ts +0 -6
- package/dist/components/model/sqlModel.d.ts +0 -7
- package/dist/components/model/tableModel.d.ts +0 -16
- package/dist/components/model/textModel.d.ts +0 -14
- package/dist/components/monaco/monacoEditorType.d.ts +0 -56
- package/dist/components/registerGlobComp.d.ts +0 -3
- package/dist/components/wonderform/HelloWord.vue.d.ts +0 -2
- package/dist/components/wonderform/config/index.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/Col.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/DataSource.vue.d.ts +0 -2
- package/dist/components/wonderform/config/modules/Form.vue.d.ts +0 -2
- package/dist/components/wonderform/config/modules/Grid.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/Properties.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/Table.vue.d.ts +0 -14
- package/dist/components/wonderform/config/modules/TypeScript.vue.d.ts +0 -2
- package/dist/components/wonderform/design/index.vue.d.ts +0 -6
- package/dist/components/wonderform/design/modules/FormGrid.vue.d.ts +0 -38
- package/dist/components/wonderform/design/modules/FormInput.vue.d.ts +0 -26
- package/dist/components/wonderform/design/modules/FormReport.vue.d.ts +0 -32
- package/dist/components/wonderform/design/modules/FormTable.vue.d.ts +0 -32
- package/dist/components/wonderform/dsource/index.vue.d.ts +0 -14
- package/dist/components/wonderform/dsource/modules/SqlModule.vue.d.ts +0 -40
- package/dist/components/wonderform/header/Header.vue.d.ts +0 -2
- package/dist/components/wonderform/header/modules/Code.vue.d.ts +0 -23
- package/dist/components/wonderform/header/modules/events.d.ts +0 -1
- package/dist/components/wonderform/index.vue.d.ts +0 -2
- package/dist/components/wonderform/tool/index.vue.d.ts +0 -2
- package/dist/enums/httpEnum.d.ts +0 -37
- package/dist/main.d.ts +0 -1
- package/dist/mock/dict.d.ts +0 -8
- package/dist/router/guard/index.d.ts +0 -2
- package/dist/router/guard/permissionGuard.d.ts +0 -2
- package/dist/router/index.d.ts +0 -3
- package/dist/router/routes/basicRoutes.d.ts +0 -8
- package/dist/stores/index.d.ts +0 -4
- package/dist/stores/modules/data.d.ts +0 -7177
- package/dist/stores/modules/form.d.ts +0 -2060
- package/dist/utils/form/commonUtils.d.ts +0 -8
- package/dist/utils/form/config.d.ts +0 -107
- package/dist/utils/form/generatecode.d.ts +0 -23
- package/dist/utils/form/validateUtil.d.ts +0 -13
- package/dist/utils/form/wonder1.0.1.d.ts +0 -29
- package/dist/utils/http/axios/axios.d.ts +0 -48
- package/dist/utils/http/axios/axiosModel.d.ts +0 -8
- package/dist/utils/http/axios/index.d.ts +0 -2
- package/dist/utils/utils.d.ts +0 -1
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
export declare const headerProperties: ({
|
|
2
|
-
title: string;
|
|
3
|
-
bind: string;
|
|
4
|
-
type: string;
|
|
5
|
-
placeholder: string;
|
|
6
|
-
code?: undefined;
|
|
7
|
-
} | {
|
|
8
|
-
title: string;
|
|
9
|
-
bind: string;
|
|
10
|
-
type: string;
|
|
11
|
-
placeholder: string;
|
|
12
|
-
code: string;
|
|
13
|
-
})[];
|
|
14
|
-
export declare const labelProperties: ({
|
|
15
|
-
title: string;
|
|
16
|
-
bind: string;
|
|
17
|
-
type: string;
|
|
18
|
-
placeholder: string;
|
|
19
|
-
children?: undefined;
|
|
20
|
-
rows?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
title: string;
|
|
23
|
-
bind: string;
|
|
24
|
-
type: string;
|
|
25
|
-
children: {
|
|
26
|
-
title: string;
|
|
27
|
-
value: string;
|
|
28
|
-
}[];
|
|
29
|
-
placeholder?: undefined;
|
|
30
|
-
rows?: undefined;
|
|
31
|
-
} | {
|
|
32
|
-
title: string;
|
|
33
|
-
bind: string;
|
|
34
|
-
type: string;
|
|
35
|
-
placeholder: string;
|
|
36
|
-
rows: number;
|
|
37
|
-
children?: undefined;
|
|
38
|
-
})[];
|
|
39
|
-
export declare const selectProperties: ({
|
|
40
|
-
title: string;
|
|
41
|
-
bind: string;
|
|
42
|
-
type: string;
|
|
43
|
-
placeholder: string;
|
|
44
|
-
mode?: undefined;
|
|
45
|
-
} | {
|
|
46
|
-
title: string;
|
|
47
|
-
bind: string;
|
|
48
|
-
type: string;
|
|
49
|
-
placeholder: string;
|
|
50
|
-
mode: string;
|
|
51
|
-
})[];
|
|
52
|
-
export declare const baseProperties: ({
|
|
53
|
-
title: string;
|
|
54
|
-
bind: string;
|
|
55
|
-
type: string;
|
|
56
|
-
placeholder: string;
|
|
57
|
-
mode?: undefined;
|
|
58
|
-
rows?: undefined;
|
|
59
|
-
} | {
|
|
60
|
-
title: string;
|
|
61
|
-
bind: string;
|
|
62
|
-
type: string;
|
|
63
|
-
placeholder: string;
|
|
64
|
-
mode: string;
|
|
65
|
-
rows?: undefined;
|
|
66
|
-
} | {
|
|
67
|
-
title: string;
|
|
68
|
-
bind: string;
|
|
69
|
-
type: string;
|
|
70
|
-
placeholder: string;
|
|
71
|
-
rows: number;
|
|
72
|
-
mode?: undefined;
|
|
73
|
-
})[];
|
|
74
|
-
export declare const radioProperties: {
|
|
75
|
-
title: string;
|
|
76
|
-
bind: string;
|
|
77
|
-
type: string;
|
|
78
|
-
placeholder: string;
|
|
79
|
-
}[];
|
|
80
|
-
export declare const checkProperties: {
|
|
81
|
-
title: string;
|
|
82
|
-
bind: string;
|
|
83
|
-
type: string;
|
|
84
|
-
placeholder: string;
|
|
85
|
-
}[];
|
|
86
|
-
export declare const inputProperties: ({
|
|
87
|
-
title: string;
|
|
88
|
-
bind: string;
|
|
89
|
-
type: string;
|
|
90
|
-
placeholder: string;
|
|
91
|
-
mode?: undefined;
|
|
92
|
-
rows?: undefined;
|
|
93
|
-
} | {
|
|
94
|
-
title: string;
|
|
95
|
-
bind: string;
|
|
96
|
-
type: string;
|
|
97
|
-
placeholder: string;
|
|
98
|
-
mode: string;
|
|
99
|
-
rows?: undefined;
|
|
100
|
-
} | {
|
|
101
|
-
title: string;
|
|
102
|
-
bind: string;
|
|
103
|
-
type: string;
|
|
104
|
-
placeholder: string;
|
|
105
|
-
rows: number;
|
|
106
|
-
mode?: undefined;
|
|
107
|
-
})[];
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 生成代码
|
|
3
|
-
* @returns
|
|
4
|
-
* code
|
|
5
|
-
*/
|
|
6
|
-
export declare function generate(): string;
|
|
7
|
-
/**
|
|
8
|
-
* 生成ts
|
|
9
|
-
* @param data
|
|
10
|
-
* @returns
|
|
11
|
-
*/
|
|
12
|
-
export declare function generateTs(data: any, columns: any): string;
|
|
13
|
-
/**
|
|
14
|
-
* 生成templage
|
|
15
|
-
* @param data
|
|
16
|
-
* @returns
|
|
17
|
-
*/
|
|
18
|
-
export declare function generateHtml(data: any): {
|
|
19
|
-
html: string;
|
|
20
|
-
columns: never[];
|
|
21
|
-
pagScript: string;
|
|
22
|
-
};
|
|
23
|
-
export declare function generateInput(element: any): string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 必填校验
|
|
3
|
-
* @param value
|
|
4
|
-
* @param msg
|
|
5
|
-
*/
|
|
6
|
-
export declare function validateRequired(value: any, msg: string): string;
|
|
7
|
-
/**
|
|
8
|
-
* 根据正则进行校验
|
|
9
|
-
* @param type
|
|
10
|
-
* @param msg
|
|
11
|
-
* @param value
|
|
12
|
-
*/
|
|
13
|
-
export declare function validateReg(type: string, msg: string, value: string): string;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare let validateInfos: any;
|
|
2
|
-
export declare function getData(): any;
|
|
3
|
-
export declare function saveData(): void;
|
|
4
|
-
/**
|
|
5
|
-
* 通用表单校验保存
|
|
6
|
-
* @param formDoms
|
|
7
|
-
*/
|
|
8
|
-
export declare function saveFormData(formDoms: any): void;
|
|
9
|
-
/**
|
|
10
|
-
* 单文件表单保存
|
|
11
|
-
*/
|
|
12
|
-
export declare function onSubmitForm(dom: any): any;
|
|
13
|
-
/**
|
|
14
|
-
* 控件规则自定义校验
|
|
15
|
-
* @param event
|
|
16
|
-
* @param eventType 事件类型
|
|
17
|
-
* @param _value select等特殊拿不到值
|
|
18
|
-
* 说明: 如果是控件触发 传blur或传值,
|
|
19
|
-
* 不传值默认是点击保存按钮统一对控件进行校验)
|
|
20
|
-
*/
|
|
21
|
-
export declare function validateFun(event: any, eventType?: string, _value?: any): void;
|
|
22
|
-
/**
|
|
23
|
-
* 初始化validateInfos
|
|
24
|
-
*/
|
|
25
|
-
export declare function initValidateInfos(): any;
|
|
26
|
-
/**
|
|
27
|
-
* 清空validateInfos
|
|
28
|
-
*/
|
|
29
|
-
export declare function resetValidateInfos(): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from "axios";
|
|
2
|
-
import { AxiosOptions } from "./axiosModel";
|
|
3
|
-
import { RequestOptions } from '../../../../typesaxios';
|
|
4
|
-
export declare class RequestHttp {
|
|
5
|
-
private axiosInstance;
|
|
6
|
-
private readonly options;
|
|
7
|
-
/**
|
|
8
|
-
* 构造函数
|
|
9
|
-
*/
|
|
10
|
-
constructor(options: AxiosOptions);
|
|
11
|
-
/**
|
|
12
|
-
* 创建axios
|
|
13
|
-
* @param config axios配置
|
|
14
|
-
*/
|
|
15
|
-
private createAxios;
|
|
16
|
-
/**
|
|
17
|
-
* 拦截器配置
|
|
18
|
-
*/
|
|
19
|
-
private setupInterceptors;
|
|
20
|
-
/**
|
|
21
|
-
* 请求之前处理config
|
|
22
|
-
* @param config
|
|
23
|
-
*/
|
|
24
|
-
private beforeRequest;
|
|
25
|
-
/**
|
|
26
|
-
* 请求拦截器配置
|
|
27
|
-
* @param config
|
|
28
|
-
* @returns
|
|
29
|
-
*/
|
|
30
|
-
private requestInterceptors;
|
|
31
|
-
/**
|
|
32
|
-
* 错误信息的处理
|
|
33
|
-
* @param err
|
|
34
|
-
*/
|
|
35
|
-
private handleErrorData;
|
|
36
|
-
/**
|
|
37
|
-
* token失效 退出登录
|
|
38
|
-
*/
|
|
39
|
-
private goLogin;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @param config
|
|
43
|
-
* @returns
|
|
44
|
-
*/
|
|
45
|
-
request<T = any>(config: AxiosRequestConfig, options?: RequestOptions): Promise<T>;
|
|
46
|
-
get<T = any>(config: AxiosRequestConfig, options?: RequestOptions): Promise<T>;
|
|
47
|
-
post<T = any>(config: AxiosRequestConfig, options?: RequestOptions): Promise<T>;
|
|
48
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from "axios";
|
|
2
|
-
import { RequestOptions } from '../../../../typesaxios';
|
|
3
|
-
export interface AxiosOptions extends AxiosRequestConfig {
|
|
4
|
-
transform?: AxiosTransform;
|
|
5
|
-
requestOptions?: RequestOptions;
|
|
6
|
-
}
|
|
7
|
-
export declare abstract class AxiosTransform {
|
|
8
|
-
}
|
package/dist/utils/utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function guid(): string;
|