sun-form-v3 1.0.65 → 1.0.66
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -5
- package/src/App.vue +9 -0
- package/src/assets/font/YouSheBiaoTiHei-2.ttf +0 -0
- package/src/assets/font/demo.css +539 -0
- package/src/assets/font/demo_index.html +1200 -0
- package/src/assets/font/iconfont.css +191 -0
- package/src/assets/font/iconfont.js +1 -0
- package/src/assets/font/iconfont.json +317 -0
- package/src/assets/font/iconfont.ttf +0 -0
- package/src/assets/font/iconfont.woff +0 -0
- package/src/assets/font/iconfont.woff2 +0 -0
- package/src/assets/img/bg_footer.png +0 -0
- package/src/assets/img/bg_title.png +0 -0
- package/src/assets/img/file.png +0 -0
- package/src/assets/img/logo.png +0 -0
- package/src/assets/img/logo2.png +0 -0
- package/src/assets/img/logo22.png +0 -0
- package/src/assets/img/logo23.png +0 -0
- package/src/assets/img/logo3.png +0 -0
- package/src/assets/img//347/237/251/345/275/242@2x.png +0 -0
- package/src/assets/logo.svg +1 -0
- package/src/assets/styles/element/index.scss +15 -0
- package/src/assets/styles/index.css +3 -0
- package/src/components/a.js +14 -0
- package/src/components/aDesigner/config.vue +127 -0
- package/src/components/aDesigner/design.vue +21 -0
- package/src/components/aDesigner/designer.js +342 -0
- package/src/components/aDesigner/http.js +292 -0
- package/src/components/aDesigner/index.vue +144 -0
- package/src/components/aDesigner/panel.vue +144 -0
- package/src/components/aDesigner/show.vue +24 -0
- package/src/components/widgetCommonComps/commonApiConfig/index.vue +194 -0
- package/src/components/widgetCommonComps/commonCard/index.vue +36 -0
- package/src/components/widgetCommonComps/commonCodeEditor/editor.vue +219 -0
- package/src/components/widgetCommonComps/commonCodeEditor/modalEditor.vue +68 -0
- package/src/components/widgetCommonComps/commonCollapseCard/index.vue +10 -0
- package/src/components/widgetCommonComps/commonContainer/index.vue +95 -0
- package/src/components/widgetCommonComps/commonJsonInput/index.vue +59 -0
- package/src/components/widgetCommonComps/commonLabelContainer/index.vue +39 -0
- package/src/components/widgetCommonComps/commonSidetree/index.vue +61 -0
- package/src/components/widgetCommonComps/commonTypeInput/index.vue +75 -0
- package/src/components/widgetCommonComps/commonWidgetLabelContainer/index.vue +55 -0
- package/src/components/widgetCommonComps/index copy.js +17 -0
- package/src/components/widgetCommonComps/index.js +17 -0
- package/src/components/widgetConfigComps/config-input/index.vue +60 -0
- package/src/components/widgetConfigComps/index copy.js +13 -0
- package/src/components/widgetConfigComps/index.js +17 -0
- package/src/components/widgetShowComps/index.js +29 -0
- package/src/components/widgetShowComps/widget-form/index.vue +43 -0
- package/src/components/widgetShowComps/widget-homepage/index.vue +41 -0
- package/src/components/widgetShowComps/widget-input/index.vue +85 -0
- package/src/components/widgetShowComps/widget-select/index.vue +31 -0
- package/src/designer.js +342 -0
- package/src/http.js +292 -0
- package/src/index.js +24 -0
- package/src/index2.js +23 -0
- package/src/main.js +19 -0
- package/src/remark.js +708 -0
- package/src/testBtn.vue +11 -0
- package/src/testInput.vue +12 -0
- package/src/util/jsformat.js +568 -0
- package/src/widgetConfig.js +1112 -0
- package/dist/abap-DfvySaIJ.js +0 -1404
- package/dist/apex-B__0irD3.js +0 -332
- package/dist/assets/css.worker-OK053IOu.js +0 -84
- package/dist/assets/editor.worker-D9iUZyMP.js +0 -11
- package/dist/assets/html.worker-CL40hqKM.js +0 -458
- package/dist/assets/json.worker-6f9bhSHY.js +0 -42
- package/dist/assets/ts.worker-B6g3wjaE.js +0 -37021
- package/dist/azcli-CDMGhRmx.js +0 -74
- package/dist/bat-0Mk8aqzx.js +0 -106
- package/dist/bicep-BBi_I06Z.js +0 -108
- package/dist/cameligo-D0G_Zm6X.js +0 -180
- package/dist/clojure-o2ZKLeMp.js +0 -767
- package/dist/coffee-DOQff5VC.js +0 -238
- package/dist/cpp-CQGJnWhD.js +0 -395
- package/dist/csharp-C1jLsHl8.js +0 -332
- package/dist/csp-C_ttMQaW.js +0 -59
- package/dist/css-BC202kVV.js +0 -193
- package/dist/cssMode-B2c4O0YS.js +0 -1541
- package/dist/cypher-DwtEH7Fi.js +0 -269
- package/dist/dart-D9XknsP2.js +0 -287
- package/dist/dockerfile-DgsNjqqa.js +0 -136
- package/dist/ecl-BAMCHBl6.js +0 -462
- package/dist/elixir-CegIttP8.js +0 -575
- package/dist/favicon.ico +0 -0
- package/dist/flow9-9608t7UV.js +0 -148
- package/dist/freemarker2-C0V-2C6A.js +0 -995
- package/dist/fsharp-CCtt9-1_.js +0 -223
- package/dist/go-CGUIPbct.js +0 -224
- package/dist/graphql-BNRIFFIn.js +0 -157
- package/dist/handlebars-Dq-D2gGP.js +0 -425
- package/dist/hcl-C__KLIXe.js +0 -189
- package/dist/html-CHe4dRTt.js +0 -314
- package/dist/htmlMode-DmZav6BJ.js +0 -1551
- package/dist/index2-CDdAhO0H.js +0 -124690
- package/dist/ini-CeKYn_zA.js +0 -77
- package/dist/java-Dm24deQl.js +0 -238
- package/dist/javascript-e6NjSQC6.js +0 -76
- package/dist/jsonMode-pOauncTt.js +0 -1957
- package/dist/julia-BImNW7VE.js +0 -517
- package/dist/kotlin-BfE79GEb.js +0 -259
- package/dist/less-DglNOcaC.js +0 -168
- package/dist/lexon-BA0dRz9Q.js +0 -163
- package/dist/liquid-DGCC4WOg.js +0 -246
- package/dist/lua-DMkWzJcm.js +0 -168
- package/dist/m3-sA-5shO8.js +0 -216
- package/dist/markdown-OYRB1igA.js +0 -235
- package/dist/mdx-GitjX2xy.js +0 -171
- package/dist/mips-rRzkJ_7G.js +0 -204
- package/dist/msdax-DoVJdUhd.js +0 -381
- package/dist/mysql-Ty44IHXo.js +0 -884
- package/dist/objective-c-VUfyhYrA.js +0 -189
- package/dist/pascal-DkASiYyw.js +0 -257
- package/dist/pascaligo-p-ELPlVO.js +0 -170
- package/dist/perl-Cjl1FxLZ.js +0 -632
- package/dist/pgsql-DjVenF7s.js +0 -857
- package/dist/php-CwvGzZOO.js +0 -506
- package/dist/pla-Br1iaBIV.js +0 -143
- package/dist/postiats-BaeP8zZY.js +0 -913
- package/dist/powerquery-CLCshuo8.js +0 -896
- package/dist/powershell-CZV50w5N.js +0 -245
- package/dist/protobuf-MV3XTewJ.js +0 -426
- package/dist/pug-DkDg4c4l.js +0 -408
- package/dist/python-BxUPejAm.js +0 -282
- package/dist/qsharp-BAtiKA97.js +0 -291
- package/dist/r-8ocrd-h-.js +0 -249
- package/dist/razor-B0zHeS7k.js +0 -556
- package/dist/redis-9sZiddxc.js +0 -308
- package/dist/redshift-DQfTOGC0.js +0 -815
- package/dist/restructuredtext-DXU-vkgr.js +0 -180
- package/dist/ruby-DotfqwMf.js +0 -517
- package/dist/rust-BIauJ5KN.js +0 -349
- package/dist/sb-CmWMvDEV.js +0 -121
- package/dist/scala-C81brEbk.js +0 -376
- package/dist/scheme-D0pcFz2x.js +0 -114
- package/dist/scss-BOdN2fGG.js +0 -268
- package/dist/shell-6E09eAkU.js +0 -227
- package/dist/solidity-CWStzA1K.js +0 -1373
- package/dist/sophia-76Sb6CWe.js +0 -205
- package/dist/sparql-BmZTkOWT.js +0 -207
- package/dist/sql-Cs9TBAW5.js +0 -859
- package/dist/st-B-rqE1Bu.js +0 -422
- package/dist/style.css +0 -1
- package/dist/sun-form-v3.es.js +0 -4
- package/dist/sun-form-v3.umd.js +0 -1908
- package/dist/swift-Btsj6YxQ.js +0 -318
- package/dist/systemverilog-B3RHBRa2.js +0 -582
- package/dist/tcl-Dpj776pn.js +0 -238
- package/dist/tsMode-AhR0apFR.js +0 -886
- package/dist/twig-Bb9JmBsE.js +0 -398
- package/dist/typescript-DW_IjlW5.js +0 -349
- package/dist/typespec-CDWeg3SU.js +0 -123
- package/dist/vb-DEXnYwEI.js +0 -378
- package/dist/wgsl-D602c1lx.js +0 -445
- package/dist/xml-CraN90Vi.js +0 -101
- package/dist/yaml-D6yA8dTm.js +0 -212
package/src/remark.js
ADDED
@@ -0,0 +1,708 @@
|
|
1
|
+
export default {
|
2
|
+
app: [{
|
3
|
+
name: "console.log",
|
4
|
+
description: "打印日志",
|
5
|
+
example: `console.log(message)`,
|
6
|
+
}, {
|
7
|
+
name: "app.getParentVueInstance",
|
8
|
+
description: "获取业务框架内Vue实例",
|
9
|
+
example: `app.getParentVueInstance()`,
|
10
|
+
}, {
|
11
|
+
name: "app.$http.get",
|
12
|
+
description: "get请求",
|
13
|
+
example: `app.$http.get(url, data)
|
14
|
+
.then(res => {
|
15
|
+
//do something
|
16
|
+
})`,
|
17
|
+
}, {
|
18
|
+
name: "app.$http.getBlob",
|
19
|
+
description: "获取文件",
|
20
|
+
example: `app.$http.getBlob(url, data)
|
21
|
+
.then(res => {
|
22
|
+
//do something
|
23
|
+
})`,
|
24
|
+
}, {
|
25
|
+
name: "app.$http.post",
|
26
|
+
description: "post请求",
|
27
|
+
example: `app.$http.post(url, data)
|
28
|
+
.then(res => {
|
29
|
+
//do something
|
30
|
+
})`,
|
31
|
+
}, {
|
32
|
+
name: "app.$http.put",
|
33
|
+
description: "put请求",
|
34
|
+
example: `app.$http.put(url, data)
|
35
|
+
.then(res => {
|
36
|
+
//do something
|
37
|
+
})`,
|
38
|
+
}, {
|
39
|
+
name: "app.$http.patch",
|
40
|
+
description: "patch请求",
|
41
|
+
example: `app.$http.patch(url, data)
|
42
|
+
.then(res => {
|
43
|
+
//do something
|
44
|
+
})`,
|
45
|
+
}, {
|
46
|
+
name: "app.$http.delete",
|
47
|
+
description: "delete请求",
|
48
|
+
example: `app.$http.delete(url, data)
|
49
|
+
.then(res => {
|
50
|
+
//do something
|
51
|
+
})`,
|
52
|
+
}, {
|
53
|
+
name: "app.$http.postFormData",
|
54
|
+
description: "formdata的post请求",
|
55
|
+
example: `app.$http.postFormData(url, data)
|
56
|
+
.then(res => {
|
57
|
+
//do something
|
58
|
+
})`,
|
59
|
+
}, {
|
60
|
+
name: "app.$http.postFile",
|
61
|
+
description: "上传文件",
|
62
|
+
example: `app.$http.postFile(url, data)
|
63
|
+
.then(res => {
|
64
|
+
//do something
|
65
|
+
})`,
|
66
|
+
}, {
|
67
|
+
name: "app.$http.putFormData",
|
68
|
+
description: "formdata的put请求",
|
69
|
+
example: `app.$http.putFormData(url, data)
|
70
|
+
.then(res => {
|
71
|
+
//do something
|
72
|
+
})`,
|
73
|
+
}, {
|
74
|
+
name: "app.$http.patchFormData",
|
75
|
+
description: "formdata的patch请求",
|
76
|
+
example: `app.$http.patchFormData(url, data)
|
77
|
+
.then(res => {
|
78
|
+
//do something
|
79
|
+
})`,
|
80
|
+
}, {
|
81
|
+
name: "app.$message.success",
|
82
|
+
description: "成功提示",
|
83
|
+
example: `app.$message.success(message)`
|
84
|
+
}, {
|
85
|
+
name: "app.$message.error",
|
86
|
+
description: "错误提示",
|
87
|
+
example: `app.$message.error(message)`
|
88
|
+
}, {
|
89
|
+
name: "app.$message.warning",
|
90
|
+
description: "警告提示",
|
91
|
+
example: `app.$message.warning(message)`
|
92
|
+
}, {
|
93
|
+
name: "app.$message.info",
|
94
|
+
description: "信息提示",
|
95
|
+
example: `app.$message.info(message)`
|
96
|
+
}, {
|
97
|
+
name: "app.$confirm",
|
98
|
+
description: "确定提示",
|
99
|
+
example: `app.$confirm("是否确定", "提示", {
|
100
|
+
confirmButtonText: "确定",
|
101
|
+
cancelButtonText: "取消",
|
102
|
+
type: "warning"
|
103
|
+
})
|
104
|
+
.then(() => {})
|
105
|
+
.catch(() => {});`
|
106
|
+
}, {
|
107
|
+
name: "app.setParam",
|
108
|
+
description: "设置全局参数",
|
109
|
+
example: `app.setParam(key, value)`
|
110
|
+
}, {
|
111
|
+
name: "app.getParam",
|
112
|
+
description: "获取全局参数",
|
113
|
+
example: `app.getParam(key)`
|
114
|
+
}, {
|
115
|
+
name: "app.getParentApp",
|
116
|
+
description: "获取父级app",
|
117
|
+
example: `app.getParentApp()`
|
118
|
+
}, {
|
119
|
+
name: "app.getQueryString",
|
120
|
+
description: "获取url参数",
|
121
|
+
example: `app.getQueryString()`
|
122
|
+
}, {
|
123
|
+
name: "app.eventToParent",
|
124
|
+
description: "触发父级组件事件",
|
125
|
+
example: `app.eventToParent(val)`
|
126
|
+
}],
|
127
|
+
tabs: [{
|
128
|
+
name: "app.getWidget",
|
129
|
+
description: "获取组件Vue实例",
|
130
|
+
example: `app.getWidget({id})`
|
131
|
+
}, {
|
132
|
+
name: "app.setHide",
|
133
|
+
description: "设置隐藏",
|
134
|
+
example: `app.setHide({id}, type)`
|
135
|
+
}],
|
136
|
+
grid: [{
|
137
|
+
name: "app.getWidget",
|
138
|
+
description: "获取组件Vue实例",
|
139
|
+
example: `app.getWidget({id})`
|
140
|
+
}, {
|
141
|
+
name: "app.reset",
|
142
|
+
description: "重置表单数据",
|
143
|
+
example: `app.getWidget({id}).reset()`
|
144
|
+
}, {
|
145
|
+
name: "app.submit",
|
146
|
+
description: "提交表单数据",
|
147
|
+
example: `app.getWidget({id}).submit()`
|
148
|
+
}, {
|
149
|
+
name: "app.setFormType",
|
150
|
+
description: "设置表单类型Create/Update/Detail",
|
151
|
+
example: `app.setFormType({id}, type)`
|
152
|
+
}, {
|
153
|
+
name: "app.getFormType",
|
154
|
+
description: "获取表单类型Create/Update/Detail",
|
155
|
+
example: `app.getWidget({id}).getFormType()`
|
156
|
+
}, {
|
157
|
+
name: "app.setHide",
|
158
|
+
description: "设置隐藏",
|
159
|
+
example: `app.setHide({id}, type)`
|
160
|
+
}, {
|
161
|
+
name: "app.getResult",
|
162
|
+
description: "获取表单数据",
|
163
|
+
example: `app.getWidget({id}).getResult()`
|
164
|
+
}, {
|
165
|
+
name: "app.inputData",
|
166
|
+
description: "设置表单数据",
|
167
|
+
example: `app.getWidget({id}).inputData({})`
|
168
|
+
}],
|
169
|
+
file: [{
|
170
|
+
name: "app.getWidget",
|
171
|
+
description: "获取组件Vue实例",
|
172
|
+
example: `app.getWidget({id})`
|
173
|
+
}, {
|
174
|
+
name: "app.setHide",
|
175
|
+
description: "设置隐藏",
|
176
|
+
example: `app.setHide({id}, type)`
|
177
|
+
}],
|
178
|
+
service: [{
|
179
|
+
name: "app.getWidget",
|
180
|
+
description: "获取组件Vue实例",
|
181
|
+
example: `app.getWidget({id})`
|
182
|
+
}, {
|
183
|
+
name: "app.getApp",
|
184
|
+
description: "获取服务组件下的app",
|
185
|
+
example: `app.getWidget({id}).getApp()`
|
186
|
+
}, {
|
187
|
+
name: "app.setHide",
|
188
|
+
description: "设置隐藏",
|
189
|
+
example: `app.setHide({id}, type)`
|
190
|
+
}, {
|
191
|
+
name: "app.onConfigLoaded",
|
192
|
+
description: "当服务组件获取配置之后执行",
|
193
|
+
example: `app.getWidget({id}).onConfigLoaded(()=>{})`
|
194
|
+
}],
|
195
|
+
modal: [{
|
196
|
+
name: "app.getWidget",
|
197
|
+
description: "获取组件Vue实例",
|
198
|
+
example: `app.getWidget({id})`
|
199
|
+
}, {
|
200
|
+
name: "app.setHide",
|
201
|
+
description: "设置隐藏",
|
202
|
+
example: `app.setHide({id}, type)`
|
203
|
+
}, {
|
204
|
+
name: "app.confirm",
|
205
|
+
description: "点击弹窗确定按钮",
|
206
|
+
example: `app.getWidget({id}).confirm()`
|
207
|
+
}, {
|
208
|
+
name: "app.open",
|
209
|
+
description: "打开弹窗并传入回调函数",
|
210
|
+
example: `app.getWidget({id}).open(function(){
|
211
|
+
//do something
|
212
|
+
})`
|
213
|
+
}, {
|
214
|
+
name: "app.close",
|
215
|
+
description: "关闭弹窗并传入回调函数",
|
216
|
+
example: `app.getWidget({id}).close(function(){
|
217
|
+
//do something
|
218
|
+
})`
|
219
|
+
}],
|
220
|
+
input: [{
|
221
|
+
name: "app.getWidget",
|
222
|
+
description: "获取组件Vue实例",
|
223
|
+
example: `app.getWidget({id})`
|
224
|
+
}, {
|
225
|
+
name: "app.setHide",
|
226
|
+
description: "设置隐藏",
|
227
|
+
example: `app.setHide({id}, type)`
|
228
|
+
}, {
|
229
|
+
name: "app.setRequired",
|
230
|
+
description: "设置必填",
|
231
|
+
example: `app.setRequired({id}, type)`
|
232
|
+
}, {
|
233
|
+
name: "app.setValue",
|
234
|
+
description: "设置值",
|
235
|
+
example: `app.setValue({id}, value)`,
|
236
|
+
}, {
|
237
|
+
name: "app.getValue",
|
238
|
+
description: "设置值",
|
239
|
+
example: `app.getValue({id})`,
|
240
|
+
}],
|
241
|
+
checkCode: [{
|
242
|
+
name: "app.getWidget",
|
243
|
+
description: "获取组件Vue实例",
|
244
|
+
example: `app.getWidget({id})`
|
245
|
+
}, {
|
246
|
+
name: "app.setHide",
|
247
|
+
description: "设置隐藏",
|
248
|
+
example: `app.setHide({id}, type)`
|
249
|
+
}, {
|
250
|
+
name: "app.setRequired",
|
251
|
+
description: "设置必填",
|
252
|
+
example: `app.setRequired({id}, type)`
|
253
|
+
}, {
|
254
|
+
name: "app.setValue",
|
255
|
+
description: "设置值",
|
256
|
+
example: `app.setValue({id}, value)`,
|
257
|
+
}, {
|
258
|
+
name: "app.getValue",
|
259
|
+
description: "设置值",
|
260
|
+
example: `app.getValue({id})`,
|
261
|
+
}],
|
262
|
+
switch: [{
|
263
|
+
name: "app.getWidget",
|
264
|
+
description: "获取组件Vue实例",
|
265
|
+
example: `app.getWidget({id})`
|
266
|
+
}, {
|
267
|
+
name: "app.setHide",
|
268
|
+
description: "设置隐藏",
|
269
|
+
example: `app.setHide({id}, type)`
|
270
|
+
}, {
|
271
|
+
name: "app.setRequired",
|
272
|
+
description: "设置必填",
|
273
|
+
example: `app.setRequired({id}, type)`
|
274
|
+
}, {
|
275
|
+
name: "app.setValue",
|
276
|
+
description: "设置值",
|
277
|
+
example: `app.setValue({id}, value)`,
|
278
|
+
}, {
|
279
|
+
name: "app.getValue",
|
280
|
+
description: "设置值",
|
281
|
+
example: `app.getValue({id})`,
|
282
|
+
}],
|
283
|
+
codeEditor: [{
|
284
|
+
name: "app.getWidget",
|
285
|
+
description: "获取组件Vue实例",
|
286
|
+
example: `app.getWidget({id})`
|
287
|
+
}, {
|
288
|
+
name: "app.setHide",
|
289
|
+
description: "设置隐藏",
|
290
|
+
example: `app.setHide({id}, type)`
|
291
|
+
}, {
|
292
|
+
name: "app.setRequired",
|
293
|
+
description: "设置必填",
|
294
|
+
example: `app.setRequired({id}, type)`
|
295
|
+
}, {
|
296
|
+
name: "app.setValue",
|
297
|
+
description: "设置值",
|
298
|
+
example: `app.setValue({id}, value)`,
|
299
|
+
}, {
|
300
|
+
name: "app.getValue",
|
301
|
+
description: "设置值",
|
302
|
+
example: `app.getValue({id})`,
|
303
|
+
}],
|
304
|
+
textarea: [{
|
305
|
+
name: "app.getWidget",
|
306
|
+
description: "获取组件Vue实例",
|
307
|
+
example: `app.getWidget({id})`
|
308
|
+
}, {
|
309
|
+
name: "app.setHide",
|
310
|
+
description: "设置隐藏",
|
311
|
+
example: `app.setHide({id}, type)`
|
312
|
+
}, {
|
313
|
+
name: "app.setRequired",
|
314
|
+
description: "设置必填",
|
315
|
+
example: `app.setRequired({id}, type)`
|
316
|
+
}, {
|
317
|
+
name: "app.setValue",
|
318
|
+
description: "设置值",
|
319
|
+
example: `app.setValue({id}, value)`,
|
320
|
+
}, {
|
321
|
+
name: "app.getValue",
|
322
|
+
description: "设置值",
|
323
|
+
example: `app.getValue({id})`,
|
324
|
+
}],
|
325
|
+
radio: [{
|
326
|
+
name: "app.getWidget",
|
327
|
+
description: "获取组件Vue实例",
|
328
|
+
example: `app.getWidget({id})`
|
329
|
+
}, {
|
330
|
+
name: "app.setHide",
|
331
|
+
description: "设置隐藏",
|
332
|
+
example: `app.setHide({id}, type)`
|
333
|
+
}, {
|
334
|
+
name: "app.setRequired",
|
335
|
+
description: "设置必填",
|
336
|
+
example: `app.setRequired({id}, type)`
|
337
|
+
}, {
|
338
|
+
name: "app.setValue",
|
339
|
+
description: "设置值",
|
340
|
+
example: `app.setValue({id}, value)`,
|
341
|
+
}, {
|
342
|
+
name: "app.getValue",
|
343
|
+
description: "设置值",
|
344
|
+
example: `app.getValue({id})`,
|
345
|
+
}, {
|
346
|
+
name: "app.setList",
|
347
|
+
description: "设置选项列表",
|
348
|
+
example: `app.setList({id}, value)`
|
349
|
+
}],
|
350
|
+
checkbox: [{
|
351
|
+
name: "app.getWidget",
|
352
|
+
description: "获取组件Vue实例",
|
353
|
+
example: `app.getWidget({id})`
|
354
|
+
}, {
|
355
|
+
name: "app.setHide",
|
356
|
+
description: "设置隐藏",
|
357
|
+
example: `app.setHide({id}, type)`
|
358
|
+
}, {
|
359
|
+
name: "app.setRequired",
|
360
|
+
description: "设置必填",
|
361
|
+
example: `app.setRequired({id}, type)`
|
362
|
+
}, {
|
363
|
+
name: "app.setValue",
|
364
|
+
description: "设置值",
|
365
|
+
example: `app.setValue({id}, value)`,
|
366
|
+
}, {
|
367
|
+
name: "app.getValue",
|
368
|
+
description: "设置值",
|
369
|
+
example: `app.getValue({id})`,
|
370
|
+
}, {
|
371
|
+
name: "app.setList",
|
372
|
+
description: "设置选项列表",
|
373
|
+
example: `app.setList({id}, value)`
|
374
|
+
}],
|
375
|
+
select: [{
|
376
|
+
name: "app.getWidget",
|
377
|
+
description: "获取组件Vue实例",
|
378
|
+
example: `app.getWidget({id})`
|
379
|
+
}, {
|
380
|
+
name: "app.setHide",
|
381
|
+
description: "设置隐藏",
|
382
|
+
example: `app.setHide({id}, type)`
|
383
|
+
}, {
|
384
|
+
name: "app.setRequired",
|
385
|
+
description: "设置必填",
|
386
|
+
example: `app.setRequired({id}, type)`
|
387
|
+
}, {
|
388
|
+
name: "app.setValue",
|
389
|
+
description: "设置值",
|
390
|
+
example: `app.setValue({id}, value)`,
|
391
|
+
}, {
|
392
|
+
name: "app.getValue",
|
393
|
+
description: "设置值",
|
394
|
+
example: `app.getValue({id})`,
|
395
|
+
}, {
|
396
|
+
name: "app.setList",
|
397
|
+
description: "设置选项列表",
|
398
|
+
example: `app.setList({id}, value)`
|
399
|
+
}],
|
400
|
+
selects: [{
|
401
|
+
name: "app.getWidget",
|
402
|
+
description: "获取组件Vue实例",
|
403
|
+
example: `app.getWidget({id})`
|
404
|
+
}, {
|
405
|
+
name: "app.setHide",
|
406
|
+
description: "设置隐藏",
|
407
|
+
example: `app.setHide({id}, type)`
|
408
|
+
}, {
|
409
|
+
name: "app.setRequired",
|
410
|
+
description: "设置必填",
|
411
|
+
example: `app.setRequired({id}, type)`
|
412
|
+
}, {
|
413
|
+
name: "app.setValue",
|
414
|
+
description: "设置值",
|
415
|
+
example: `app.setValue({id}, value)`,
|
416
|
+
}, {
|
417
|
+
name: "app.getValue",
|
418
|
+
description: "设置值",
|
419
|
+
example: `app.getValue({id})`,
|
420
|
+
}, {
|
421
|
+
name: "app.setList",
|
422
|
+
description: "设置选项列表",
|
423
|
+
example: `app.setList({id}, value)`
|
424
|
+
}],
|
425
|
+
date: [{
|
426
|
+
name: "app.getWidget",
|
427
|
+
description: "获取组件Vue实例",
|
428
|
+
example: `app.getWidget({id})`
|
429
|
+
}, {
|
430
|
+
name: "app.setHide",
|
431
|
+
description: "设置隐藏",
|
432
|
+
example: `app.setHide({id}, type)`
|
433
|
+
}, {
|
434
|
+
name: "app.setRequired",
|
435
|
+
description: "设置必填",
|
436
|
+
example: `app.setRequired({id}, type)`
|
437
|
+
}, {
|
438
|
+
name: "app.setValue",
|
439
|
+
description: "设置值",
|
440
|
+
example: `app.setValue({id}, value)`,
|
441
|
+
}, {
|
442
|
+
name: "app.getValue",
|
443
|
+
description: "设置值",
|
444
|
+
example: `app.getValue({id})`,
|
445
|
+
}],
|
446
|
+
daterange: [{
|
447
|
+
name: "app.getWidget",
|
448
|
+
description: "获取组件Vue实例",
|
449
|
+
example: `app.getWidget({id})`
|
450
|
+
}, {
|
451
|
+
name: "app.setHide",
|
452
|
+
description: "设置隐藏",
|
453
|
+
example: `app.setHide({id}, type)`
|
454
|
+
}, {
|
455
|
+
name: "app.setRequired",
|
456
|
+
description: "设置必填",
|
457
|
+
example: `app.setRequired({id}, type)`
|
458
|
+
}, {
|
459
|
+
name: "app.setValue",
|
460
|
+
description: "设置值",
|
461
|
+
example: `app.setValue({id}, value)`,
|
462
|
+
}, {
|
463
|
+
name: "app.getValue",
|
464
|
+
description: "设置值",
|
465
|
+
example: `app.getValue({id})`,
|
466
|
+
}],
|
467
|
+
time: [{
|
468
|
+
name: "app.getWidget",
|
469
|
+
description: "获取组件Vue实例",
|
470
|
+
example: `app.getWidget({id})`
|
471
|
+
}, {
|
472
|
+
name: "app.setHide",
|
473
|
+
description: "设置隐藏",
|
474
|
+
example: `app.setHide({id}, type)`
|
475
|
+
}, {
|
476
|
+
name: "app.setRequired",
|
477
|
+
description: "设置必填",
|
478
|
+
example: `app.setRequired({id}, type)`
|
479
|
+
}, {
|
480
|
+
name: "app.setValue",
|
481
|
+
description: "设置值",
|
482
|
+
example: `app.setValue({id}, value)`,
|
483
|
+
}, {
|
484
|
+
name: "app.getValue",
|
485
|
+
description: "设置值",
|
486
|
+
example: `app.getValue({id})`,
|
487
|
+
}],
|
488
|
+
timerange: [{
|
489
|
+
name: "app.getWidget",
|
490
|
+
description: "获取组件Vue实例",
|
491
|
+
example: `app.getWidget({id})`
|
492
|
+
}, {
|
493
|
+
name: "app.setHide",
|
494
|
+
description: "设置隐藏",
|
495
|
+
example: `app.setHide({id}, type)`
|
496
|
+
}, {
|
497
|
+
name: "app.setRequired",
|
498
|
+
description: "设置必填",
|
499
|
+
example: `app.setRequired({id}, type)`
|
500
|
+
}, {
|
501
|
+
name: "app.setValue",
|
502
|
+
description: "设置值",
|
503
|
+
example: `app.setValue({id}, value)`,
|
504
|
+
}, {
|
505
|
+
name: "app.getValue",
|
506
|
+
description: "设置值",
|
507
|
+
example: `app.getValue({id})`,
|
508
|
+
}],
|
509
|
+
button: [{
|
510
|
+
name: "app.getWidget",
|
511
|
+
description: "获取组件Vue实例",
|
512
|
+
example: `app.getWidget({id})`
|
513
|
+
}, {
|
514
|
+
name: "app.setHide",
|
515
|
+
description: "设置隐藏",
|
516
|
+
example: `app.setHide({id}, type)`
|
517
|
+
}],
|
518
|
+
divider: [{
|
519
|
+
name: "app.getWidget",
|
520
|
+
description: "获取组件Vue实例",
|
521
|
+
example: `app.getWidget({id})`
|
522
|
+
}, {
|
523
|
+
name: "app.setHide",
|
524
|
+
description: "设置隐藏",
|
525
|
+
example: `app.setHide({id}, type)`
|
526
|
+
}],
|
527
|
+
title: [{
|
528
|
+
name: "app.getWidget",
|
529
|
+
description: "获取组件Vue实例",
|
530
|
+
example: `app.getWidget({id})`
|
531
|
+
}, {
|
532
|
+
name: "app.setHide",
|
533
|
+
description: "设置隐藏",
|
534
|
+
example: `app.setHide({id}, type)`
|
535
|
+
}],
|
536
|
+
datatable: [{
|
537
|
+
name: "app.getWidget",
|
538
|
+
description: "获取组件Vue实例",
|
539
|
+
example: `app.getWidget({id})`
|
540
|
+
}, {
|
541
|
+
name: "app.setHide",
|
542
|
+
description: "设置隐藏",
|
543
|
+
example: `app.setHide({id}, type)`
|
544
|
+
},
|
545
|
+
{
|
546
|
+
name: "app.setValue",
|
547
|
+
description: "设置值",
|
548
|
+
example: `app.setValue({id}, value)`,
|
549
|
+
}, {
|
550
|
+
name: "app.refresh",
|
551
|
+
description: "刷新表格,传true则会跳到首页",
|
552
|
+
example: `app.getWidget({id}).refresh()`
|
553
|
+
}, {
|
554
|
+
name: "app.chosen",
|
555
|
+
description: "获取表格选中数据",
|
556
|
+
example: `app.getWidget({id}).chosen()`
|
557
|
+
}, {
|
558
|
+
name: "app.getRows",
|
559
|
+
description: "普通表格获取所有表格数据",
|
560
|
+
example: `app.getWidget({id}).getRows()`
|
561
|
+
}, {
|
562
|
+
name: "app.setRows",
|
563
|
+
description: "普通表格设置所有表格数据",
|
564
|
+
example: `app.getWidget({id}).setRows([])`
|
565
|
+
},
|
566
|
+
{
|
567
|
+
name: "app.setTotal",
|
568
|
+
description: "设置表格数据总数量",
|
569
|
+
example: `app.getWidget({id}).setTotal()`
|
570
|
+
}, {
|
571
|
+
name: "app.setAllTableData",
|
572
|
+
description: "设置表格全部数据",
|
573
|
+
example: `app.getWidget({id}).setAllTableData()`
|
574
|
+
},
|
575
|
+
{
|
576
|
+
name: "app.clearRow",
|
577
|
+
description: "普通表格清空表格数据",
|
578
|
+
example: `app.getWidget({id}).clearRow()`
|
579
|
+
}, {
|
580
|
+
name: "app.addRow",
|
581
|
+
description: "普通表格添加一行默认数据",
|
582
|
+
example: `app.getWidget({id}).addRow()`
|
583
|
+
}, {
|
584
|
+
name: "app.addRowByObject",
|
585
|
+
description: "普通表格添加一行数据",
|
586
|
+
example: `app.getWidget({id}).addRowByObject()`
|
587
|
+
}, {
|
588
|
+
name: "app.removeRow",
|
589
|
+
description: "普通表格删除一行数据",
|
590
|
+
example: `app.getWidget({id}).removeRow(rowIndex)`
|
591
|
+
}, {
|
592
|
+
name: "app.allTreeChosen",
|
593
|
+
description: "树形表格获取所有选中数据",
|
594
|
+
example: `app.getWidget({id}).allTreeChosen()`
|
595
|
+
}, {
|
596
|
+
name: "app.halfChosen",
|
597
|
+
description: "树形表格获取半选中数据",
|
598
|
+
example: `app.getWidget({id}).halfChosen()`
|
599
|
+
}, {
|
600
|
+
name: "app.setAllTreeExpand",
|
601
|
+
description: "树形表格展开/收起所有节点",
|
602
|
+
example: `app.getWidget({id}).setAllTreeExpand(true)`
|
603
|
+
}, {
|
604
|
+
name: "app.setRowsCheckedByIds",
|
605
|
+
description: "树形表格根据id设置选中",
|
606
|
+
example: `app.getWidget({id}).setRowsCheckedByIds([])`
|
607
|
+
}, {
|
608
|
+
name: "app.setRowsCheckedByIndex",
|
609
|
+
description: "表格根据index的数组设置选中",
|
610
|
+
example: `app.getWidget({id}).setRowsCheckedByIndex([])`
|
611
|
+
}, {
|
612
|
+
name: "app.getSearchParams",
|
613
|
+
description: "获取搜索参数",
|
614
|
+
example: `app.getWidget({id}).getSearchParams()`
|
615
|
+
},{
|
616
|
+
name: "app.reloadRowExpand",
|
617
|
+
description: "树形表格重新加载子节点",
|
618
|
+
example: `app.getWidget({id}).reloadRowExpand(row)`
|
619
|
+
},
|
620
|
+
],
|
621
|
+
datatableitem: [{
|
622
|
+
name: "app.getWidget",
|
623
|
+
description: "获取组件Vue实例",
|
624
|
+
example: `app.getWidget({id})`
|
625
|
+
}, {
|
626
|
+
name: "app.setHide",
|
627
|
+
description: "设置隐藏",
|
628
|
+
example: `app.setHide({id}, type)`
|
629
|
+
}],
|
630
|
+
transfer: [{
|
631
|
+
name: "app.getWidget",
|
632
|
+
description: "获取组件Vue实例",
|
633
|
+
example: `app.getWidget({id})`
|
634
|
+
}, {
|
635
|
+
name: "app.setHide",
|
636
|
+
description: "设置隐藏",
|
637
|
+
example: `app.setHide({id}, type)`
|
638
|
+
}, {
|
639
|
+
name: "app.setList",
|
640
|
+
description: "设置选项数据",
|
641
|
+
example: `app.setList({id}, value)`
|
642
|
+
}],
|
643
|
+
div: [{
|
644
|
+
name: "app.getWidget",
|
645
|
+
description: "获取组件Vue实例",
|
646
|
+
example: `app.getWidget({id})`
|
647
|
+
}, {
|
648
|
+
name: "app.setHide",
|
649
|
+
description: "设置隐藏",
|
650
|
+
example: `app.setHide({id}, type)`
|
651
|
+
}],
|
652
|
+
alert: [{
|
653
|
+
name: "app.getWidget",
|
654
|
+
description: "获取组件Vue实例",
|
655
|
+
example: `app.getWidget({id})`
|
656
|
+
}, {
|
657
|
+
name: "app.setValue",
|
658
|
+
description: "设置值",
|
659
|
+
example: `app.setValue({id}, value)`,
|
660
|
+
}, {
|
661
|
+
name: "app.setHide",
|
662
|
+
description: "设置隐藏",
|
663
|
+
example: `app.setHide({id}, type)`
|
664
|
+
}, {
|
665
|
+
name: "app.setType",
|
666
|
+
description: "设置类型",
|
667
|
+
example: `app.getWidget({id}).setType(val)`
|
668
|
+
},
|
669
|
+
{
|
670
|
+
name: "app.setEffect",
|
671
|
+
description: "设置动画",
|
672
|
+
example: `app.getWidget({id}).setEffect(val)`
|
673
|
+
},
|
674
|
+
{
|
675
|
+
name: "app.setCloseText",
|
676
|
+
description: "设置关闭按钮文本",
|
677
|
+
example: `app.getWidget({id}).setCloseText(val)`
|
678
|
+
},
|
679
|
+
{
|
680
|
+
name: "app.setCenter",
|
681
|
+
description: "设置是否居中",
|
682
|
+
example: `app.getWidget({id}).setCenter(val)`
|
683
|
+
},
|
684
|
+
{
|
685
|
+
name: "app.setClosable",
|
686
|
+
description: "设置是否可关闭",
|
687
|
+
example: `app.getWidget({id}).setClosable(val)`
|
688
|
+
},
|
689
|
+
{
|
690
|
+
name: "app.setDescription",
|
691
|
+
description: "设置描述",
|
692
|
+
example: `app.getWidget({id}).setDescription(val)`
|
693
|
+
},
|
694
|
+
],
|
695
|
+
image: [{
|
696
|
+
name: "app.getWidget",
|
697
|
+
description: "获取组件Vue实例",
|
698
|
+
example: `app.getWidget({id})`
|
699
|
+
}, {
|
700
|
+
name: "app.setValue",
|
701
|
+
description: "设置值",
|
702
|
+
example: `app.setValue({id}, value)`,
|
703
|
+
}, {
|
704
|
+
name: "app.setHide",
|
705
|
+
description: "设置隐藏",
|
706
|
+
example: `app.setHide({id}, type)`
|
707
|
+
}],
|
708
|
+
}
|