sun-form-v3 1.0.71 → 1.0.72

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. package/dist/abap-DfvySaIJ.js +1404 -0
  2. package/dist/apex-B__0irD3.js +332 -0
  3. package/dist/assets/css.worker-OK053IOu.js +84 -0
  4. package/dist/assets/editor.worker-D9iUZyMP.js +11 -0
  5. package/dist/assets/html.worker-CL40hqKM.js +458 -0
  6. package/dist/assets/json.worker-6f9bhSHY.js +42 -0
  7. package/dist/assets/ts.worker-B6g3wjaE.js +37021 -0
  8. package/dist/azcli-CDMGhRmx.js +74 -0
  9. package/dist/bat-0Mk8aqzx.js +106 -0
  10. package/dist/bicep-BBi_I06Z.js +108 -0
  11. package/dist/cameligo-D0G_Zm6X.js +180 -0
  12. package/dist/clojure-o2ZKLeMp.js +767 -0
  13. package/dist/coffee-DOQff5VC.js +238 -0
  14. package/dist/cpp-CQGJnWhD.js +395 -0
  15. package/dist/csharp-C1jLsHl8.js +332 -0
  16. package/dist/csp-C_ttMQaW.js +59 -0
  17. package/dist/css-BC202kVV.js +193 -0
  18. package/dist/cssMode-D3INtz5D.js +1541 -0
  19. package/dist/cypher-DwtEH7Fi.js +269 -0
  20. package/dist/dart-D9XknsP2.js +287 -0
  21. package/dist/dockerfile-DgsNjqqa.js +136 -0
  22. package/dist/ecl-BAMCHBl6.js +462 -0
  23. package/dist/elixir-CegIttP8.js +575 -0
  24. package/dist/favicon.ico +0 -0
  25. package/dist/flow9-9608t7UV.js +148 -0
  26. package/dist/freemarker2-hasIzj0A.js +995 -0
  27. package/dist/fsharp-CCtt9-1_.js +223 -0
  28. package/dist/go-CGUIPbct.js +224 -0
  29. package/dist/graphql-BNRIFFIn.js +157 -0
  30. package/dist/handlebars-Cqza9dif.js +425 -0
  31. package/dist/hcl-C__KLIXe.js +189 -0
  32. package/dist/html-QpDlLWtS.js +314 -0
  33. package/dist/htmlMode-3p93KT8l.js +1551 -0
  34. package/dist/index2-jkDcibEo.js +120443 -0
  35. package/dist/ini-CeKYn_zA.js +77 -0
  36. package/dist/java-Dm24deQl.js +238 -0
  37. package/dist/javascript-CSPB5Brm.js +76 -0
  38. package/dist/jsonMode-qA6pURD0.js +1957 -0
  39. package/dist/julia-BImNW7VE.js +517 -0
  40. package/dist/kotlin-BfE79GEb.js +259 -0
  41. package/dist/less-DglNOcaC.js +168 -0
  42. package/dist/lexon-BA0dRz9Q.js +163 -0
  43. package/dist/liquid-BWuASSim.js +246 -0
  44. package/dist/lua-DMkWzJcm.js +168 -0
  45. package/dist/m3-sA-5shO8.js +216 -0
  46. package/dist/markdown-OYRB1igA.js +235 -0
  47. package/dist/mdx-CnHJXO9F.js +171 -0
  48. package/dist/mips-rRzkJ_7G.js +204 -0
  49. package/dist/msdax-DoVJdUhd.js +381 -0
  50. package/dist/mysql-Ty44IHXo.js +884 -0
  51. package/dist/objective-c-VUfyhYrA.js +189 -0
  52. package/dist/pascal-DkASiYyw.js +257 -0
  53. package/dist/pascaligo-p-ELPlVO.js +170 -0
  54. package/dist/perl-Cjl1FxLZ.js +632 -0
  55. package/dist/pgsql-DjVenF7s.js +857 -0
  56. package/dist/php-CwvGzZOO.js +506 -0
  57. package/dist/pla-Br1iaBIV.js +143 -0
  58. package/dist/postiats-BaeP8zZY.js +913 -0
  59. package/dist/powerquery-CLCshuo8.js +896 -0
  60. package/dist/powershell-CZV50w5N.js +245 -0
  61. package/dist/protobuf-MV3XTewJ.js +426 -0
  62. package/dist/pug-DkDg4c4l.js +408 -0
  63. package/dist/python-CRYsEVap.js +282 -0
  64. package/dist/qsharp-BAtiKA97.js +291 -0
  65. package/dist/r-8ocrd-h-.js +249 -0
  66. package/dist/razor-DyEtGntt.js +556 -0
  67. package/dist/redis-9sZiddxc.js +308 -0
  68. package/dist/redshift-DQfTOGC0.js +815 -0
  69. package/dist/restructuredtext-DXU-vkgr.js +180 -0
  70. package/dist/ruby-DotfqwMf.js +517 -0
  71. package/dist/rust-BIauJ5KN.js +349 -0
  72. package/dist/sb-CmWMvDEV.js +121 -0
  73. package/dist/scala-C81brEbk.js +376 -0
  74. package/dist/scheme-D0pcFz2x.js +114 -0
  75. package/dist/scss-BOdN2fGG.js +268 -0
  76. package/dist/shell-6E09eAkU.js +227 -0
  77. package/dist/solidity-CWStzA1K.js +1373 -0
  78. package/dist/sophia-76Sb6CWe.js +205 -0
  79. package/dist/sparql-BmZTkOWT.js +207 -0
  80. package/dist/sql-Cs9TBAW5.js +859 -0
  81. package/dist/st-B-rqE1Bu.js +422 -0
  82. package/dist/style.css +1 -0
  83. package/dist/sun-form-v3.es.js +4 -0
  84. package/dist/sun-form-v3.umd.js +1902 -0
  85. package/dist/swift-Btsj6YxQ.js +318 -0
  86. package/dist/systemverilog-B3RHBRa2.js +582 -0
  87. package/dist/tcl-Dpj776pn.js +238 -0
  88. package/dist/tsMode-BrlIPEQw.js +885 -0
  89. package/dist/twig-Bb9JmBsE.js +398 -0
  90. package/dist/typescript-CYTudnTM.js +349 -0
  91. package/dist/typespec-CDWeg3SU.js +123 -0
  92. package/dist/vb-DEXnYwEI.js +378 -0
  93. package/dist/wgsl-D602c1lx.js +445 -0
  94. package/dist/xml-B-x5164u.js +101 -0
  95. package/dist/yaml-Buq2hM65.js +212 -0
  96. package/package.json +7 -10
  97. package/src/App.vue +0 -9
  98. package/src/assets/font/YouSheBiaoTiHei-2.ttf +0 -0
  99. package/src/assets/font/demo.css +0 -539
  100. package/src/assets/font/demo_index.html +0 -1200
  101. package/src/assets/font/iconfont.css +0 -191
  102. package/src/assets/font/iconfont.js +0 -1
  103. package/src/assets/font/iconfont.json +0 -317
  104. package/src/assets/font/iconfont.ttf +0 -0
  105. package/src/assets/font/iconfont.woff +0 -0
  106. package/src/assets/font/iconfont.woff2 +0 -0
  107. package/src/assets/img/bg_footer.png +0 -0
  108. package/src/assets/img/bg_title.png +0 -0
  109. package/src/assets/img/file.png +0 -0
  110. package/src/assets/img/logo.png +0 -0
  111. package/src/assets/img/logo2.png +0 -0
  112. package/src/assets/img/logo22.png +0 -0
  113. package/src/assets/img/logo23.png +0 -0
  114. package/src/assets/img/logo3.png +0 -0
  115. package/src/assets/img//347/237/251/345/275/242@2x.png +0 -0
  116. package/src/assets/logo.svg +0 -1
  117. package/src/assets/styles/element/index.scss +0 -15
  118. package/src/assets/styles/index.css +0 -3
  119. package/src/components/a.js +0 -14
  120. package/src/components/aDesigner/config.vue +0 -127
  121. package/src/components/aDesigner/design.vue +0 -20
  122. package/src/components/aDesigner/index.vue +0 -144
  123. package/src/components/aDesigner/panel.vue +0 -144
  124. package/src/components/aDesigner/show.vue +0 -24
  125. package/src/components/widgetCommonComps/commonApiConfig/index.vue +0 -194
  126. package/src/components/widgetCommonComps/commonCard/index.vue +0 -36
  127. package/src/components/widgetCommonComps/commonCodeEditor/editor.vue +0 -219
  128. package/src/components/widgetCommonComps/commonCodeEditor/modalEditor.vue +0 -68
  129. package/src/components/widgetCommonComps/commonCollapseCard/index.vue +0 -10
  130. package/src/components/widgetCommonComps/commonContainer/index.vue +0 -95
  131. package/src/components/widgetCommonComps/commonJsonInput/index.vue +0 -59
  132. package/src/components/widgetCommonComps/commonLabelContainer/index.vue +0 -39
  133. package/src/components/widgetCommonComps/commonSidetree/index.vue +0 -61
  134. package/src/components/widgetCommonComps/commonTypeInput/index.vue +0 -75
  135. package/src/components/widgetCommonComps/commonWidgetLabelContainer/index.vue +0 -55
  136. package/src/components/widgetCommonComps/index copy.js +0 -17
  137. package/src/components/widgetCommonComps/index.js +0 -17
  138. package/src/components/widgetConfigComps/config-input/index.vue +0 -60
  139. package/src/components/widgetConfigComps/index copy.js +0 -13
  140. package/src/components/widgetConfigComps/index.js +0 -17
  141. package/src/components/widgetShowComps/index.js +0 -29
  142. package/src/components/widgetShowComps/widget-form/index.vue +0 -43
  143. package/src/components/widgetShowComps/widget-homepage/index.vue +0 -41
  144. package/src/components/widgetShowComps/widget-input/index.vue +0 -85
  145. package/src/components/widgetShowComps/widget-select/index.vue +0 -31
  146. package/src/designer.js +0 -342
  147. package/src/http.js +0 -293
  148. package/src/index.js +0 -24
  149. package/src/index2.js +0 -23
  150. package/src/main.js +0 -19
  151. package/src/remark.js +0 -708
  152. package/src/testBtn.vue +0 -11
  153. package/src/testInput.vue +0 -12
  154. package/src/util/jsformat.js +0 -568
  155. package/src/widgetConfig.js +0 -1112
package/src/remark.js DELETED
@@ -1,708 +0,0 @@
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
- }