sun-form-v3 1.0.177 → 1.0.178

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.
@@ -2054,75 +2054,87 @@ const kXe = {
2054
2054
  r.designer.setVueIncetance(r.widget.id, Ur());
2055
2055
  let a = ve(() => r.widget.props);
2056
2056
  const o = ve({
2057
- set: (p) => {
2058
- let h = null;
2059
- p && p.length > 0 && (a.value.postLastLevel ? h = p[p.length - 1] : h = p.join(",")), a.value.isTableItem ? i("update:modelValue", h) : a.value.value = h;
2057
+ set: (h) => {
2058
+ let f = null;
2059
+ h && h.length > 0 && (a.value.postLastLevel ? f = h[h.length - 1] : f = h.join(",")), a.value.isTableItem ? i("update:modelValue", f) : a.value.value = f;
2060
2060
  },
2061
2061
  get: () => {
2062
- let p;
2063
- if (a.value.isTableItem ? p = r.modelValue || a.value.value : p = a.value.value, p && typeof p == "string")
2062
+ let h;
2063
+ if (a.value.isTableItem ? h = r.modelValue || a.value.value : h = a.value.value, h && typeof h == "string")
2064
2064
  if (a.value.postLastLevel && !a.value.multiple) {
2065
2065
  if (a.value.checkStrictly)
2066
- return u(a.value.options || [], p);
2066
+ return u(a.value.options || [], h);
2067
2067
  if (a.value.options)
2068
- return c(a.value.options, p);
2068
+ return c(a.value.options, h);
2069
2069
  } else
2070
- return p.split(",");
2070
+ return h.split(",");
2071
2071
  return null;
2072
2072
  }
2073
- }), s = async (p, h) => {
2073
+ }), s = async (h, f) => {
2074
2074
  if (a.value.onLazyLoad) {
2075
- p.resolve = h;
2075
+ h.resolve = f;
2076
2076
  try {
2077
- const f = await r.designer.eventHandle({
2077
+ const m = await r.designer.eventHandle({
2078
2078
  eventType: "onLazyLoad",
2079
- value: p,
2079
+ value: h,
2080
2080
  widget: r.widget,
2081
2081
  tableItemData: r.tableItemData
2082
2082
  });
2083
2083
  return;
2084
- } catch (f) {
2085
- console.error("LazyLoad error:", f), h([]);
2084
+ } catch (m) {
2085
+ console.error("LazyLoad error:", m), f([]);
2086
2086
  return;
2087
2087
  }
2088
2088
  }
2089
- }, l = (p) => {
2089
+ }, l = (h) => {
2090
2090
  r.designer.eventHandle({
2091
2091
  eventType: "onChange",
2092
- value: p,
2092
+ value: h,
2093
2093
  tableItemData: r.tableItemData,
2094
2094
  widget: r.widget
2095
2095
  });
2096
- }, c = (p, h) => {
2097
- for (let f of p)
2098
- if (f[a.value.propsChildren] && f[a.value.propsChildren].length) {
2099
- const m = c(
2100
- f[a.value.propsChildren],
2101
- h
2096
+ }, c = (h, f) => {
2097
+ for (let m of h)
2098
+ if (m[a.value.propsChildren] && m[a.value.propsChildren].length) {
2099
+ const g = c(
2100
+ m[a.value.propsChildren],
2101
+ f
2102
2102
  );
2103
- if (m)
2104
- return [f[a.value.propsKey], ...m];
2105
- } else if (f[a.value.propsKey] === h)
2106
- return [f[a.value.propsKey]];
2103
+ if (g)
2104
+ return [m[a.value.propsKey], ...g];
2105
+ } else if (m[a.value.propsKey] === f)
2106
+ return [m[a.value.propsKey]];
2107
2107
  return null;
2108
- }, u = (p, h) => {
2109
- for (let f of p) {
2110
- if (f[a.value.propsKey] === h)
2111
- return [f[a.value.propsKey]];
2112
- if (f[a.value.propsChildren] && f[a.value.propsChildren].length) {
2113
- const m = u(f[a.value.propsChildren], h);
2114
- if (m)
2115
- return [f[a.value.propsKey], ...m];
2108
+ }, u = (h, f) => {
2109
+ for (let m of h) {
2110
+ if (m[a.value.propsKey] === f)
2111
+ return [m[a.value.propsKey]];
2112
+ if (m[a.value.propsChildren] && m[a.value.propsChildren].length) {
2113
+ const g = u(m[a.value.propsChildren], f);
2114
+ if (g)
2115
+ return [m[a.value.propsKey], ...g];
2116
2116
  }
2117
2117
  }
2118
2118
  return null;
2119
- }, d = (p) => {
2120
- a.value.options = p;
2119
+ }, d = (h) => {
2120
+ a.value.options = h;
2121
+ }, p = (h) => {
2122
+ const f = (m, g) => {
2123
+ for (let v of m)
2124
+ if (v[a.value.propsChildren] && v[a.value.propsChildren].length) {
2125
+ const _ = f(v[a.value.propsChildren], g);
2126
+ if (_)
2127
+ return _;
2128
+ } else if (v[a.value.propsKey] === g)
2129
+ return v;
2130
+ return null;
2131
+ };
2132
+ return f(a.value.options, h);
2121
2133
  };
2122
2134
  return r.designer.requestByApisetConfig({
2123
2135
  widget: r.widget,
2124
- resultCb: ({ funRes: p, httpRes: h }) => {
2125
- p && (a.value.options = p);
2136
+ resultCb: ({ funRes: h, httpRes: f }) => {
2137
+ h && (a.value.options = h);
2126
2138
  }
2127
2139
  }), r.designer.eventHandle({
2128
2140
  eventType: "onCreated",
@@ -2134,15 +2146,16 @@ const kXe = {
2134
2146
  });
2135
2147
  }), e({
2136
2148
  changeHandle: l,
2149
+ findLastLevelNodeByValue: p,
2137
2150
  setOption: d
2138
- }), (p, h) => {
2139
- const f = nn("el-cascader"), m = nn("common-widget-label-container");
2140
- return oe(), Pt(m, { props: O(a) }, {
2151
+ }), (h, f) => {
2152
+ const m = nn("el-cascader"), g = nn("common-widget-label-container");
2153
+ return oe(), Pt(g, { props: O(a) }, {
2141
2154
  default: Ze(() => [
2142
- He(f, {
2155
+ He(m, {
2143
2156
  class: "w-full",
2144
2157
  modelValue: o.value,
2145
- "onUpdate:modelValue": h[0] || (h[0] = (g) => o.value = g),
2158
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => o.value = v),
2146
2159
  options: O(a).options,
2147
2160
  size: O(a).size,
2148
2161
  disabled: O(a).isDetail || O(a).disabled,
@@ -255996,7 +256009,7 @@ const i8n = { key: 1 }, a8n = /* @__PURE__ */ Object.assign({ name: "widget-sfc"
255996
256009
  "element-plus": D8t,
255997
256010
  "@element-plus/icons-vue": h1t,
255998
256011
  echarts: Bcn,
255999
- "echarts-gl": () => import("./index-DT6ZcAmA.js")
256012
+ "echarts-gl": () => import("./index-B5WN5mxT.js")
256000
256013
  },
256001
256014
  async getFile(d) {
256002
256015
  return d === "element-plus" ? "export * from 'element-plus'; export { default } from 'element-plus';" : d === "@element-plus/icons-vue" ? "export * from '@element-plus/icons-vue'; export { default } from '@element-plus/icons-vue';" : d === "echarts" ? "export * from 'echarts'; export { default } from 'echarts';" : d === "echarts-gl" ? "import 'echarts-gl'; export {};" : d === "vue" ? "export * from 'vue'; export { default } from 'vue';" : s();
@@ -258165,577 +258178,729 @@ const i8n = { key: 1 }, a8n = /* @__PURE__ */ Object.assign({ name: "widget-sfc"
258165
258178
  example: 'let res = await app.$http.postFormData("url",{})'
258166
258179
  }
258167
258180
  ],
258168
- datatable: [{
258169
- name: "app.getPropsById",
258170
- description: "获取当前组件参数值",
258171
- example: "app.getPropsById({id})"
258172
- }, {
258173
- name: "app.setVisible",
258174
- description: "设置可见",
258175
- example: "app.setVisible({id}, false)"
258176
- }, {
258177
- name: "app.chosen",
258178
- description: "获取当前选中行数据",
258179
- example: "app.getMethodById({id}).chosen()"
258180
- }, {
258181
- name: "app.refresh",
258182
- description: "刷新表格",
258183
- example: "app.getMethodById({id}).refresh()"
258184
- }, {
258185
- name: "app.getRows",
258186
- description: "获取表格数据",
258187
- example: "app.getMethodById({id}).getRows()"
258188
- }, {
258189
- name: "app.setRows",
258190
- description: "设置表格数据",
258191
- example: "app.getMethodById({id}).setRows([])"
258192
- }, {
258193
- name: "app.setTotal",
258194
- description: "设置表格数据总数",
258195
- example: "app.getMethodById({id}).setTotal(0)"
258196
- }, {
258197
- name: "app.getSearchParams",
258198
- description: "获取搜索参数",
258199
- example: "app.getMethodById({id}).getSearchParams()"
258200
- }, {
258201
- name: "app.allTreeChosen",
258202
- description: "获取选中id",
258203
- example: "app.getMethodById({id}).allTreeChosen()"
258204
- }, {
258205
- name: "app.setRowsCheckedByIds",
258206
- description: "通过id数组设置选中",
258207
- example: "app.getMethodById({id}).setRowsCheckedByIds([])"
258208
- }, {
258209
- name: "app.addRow",
258210
- description: "新增行数据",
258211
- example: "app.getMethodById({id}).addRow({})"
258212
- }, {
258213
- name: "app.addRowByTop",
258214
- description: "新增行数据到最上",
258215
- example: "app.getMethodById({id}).addRowByTop({})"
258216
- }, {
258217
- name: "app.addRowByDefault",
258218
- description: "新增行数据默认值",
258219
- example: "app.getMethodById({id}).addRowByDefault()"
258220
- }, {
258221
- name: "app.removeRow",
258222
- description: "删除行数据",
258223
- example: "app.getMethodById({id}).removeRow(row)"
258224
- }, {
258225
- name: "app.setAllTreeExpand",
258226
- description: "展开/收缩树形表格",
258227
- example: "app.getMethodById({id}).setAllTreeExpand(true)"
258228
- }, {
258229
- name: "app.setAllRowExpand",
258230
- description: "展开/收缩表格",
258231
- example: "app.getMethodById({id}).setAllRowExpand(true)"
258232
- }, {
258233
- name: "app.setFooter",
258234
- description: "设置底部数据",
258235
- example: "app.getMethodById({id}).setFooter({})"
258236
- }, {
258237
- name: "app.clearChosen",
258238
- description: "清空选中数据",
258239
- example: "app.getMethodById({id}).clearChosen()"
258240
- }, {
258241
- name: "app.getReservedChosen",
258242
- description: "获取跨页选中数据",
258243
- example: "app.getMethodById({id}).getReservedChosen()"
258244
- }, {
258245
- name: "app.clearReservedChosen",
258246
- description: "清空跨页选中数据",
258247
- example: "app.getMethodById({id}).clearReservedChosen()"
258248
- }, {
258249
- name: "app.getAllSelectedData",
258250
- description: "获取所有跨页选中的数据",
258251
- example: "app.getMethodById({id}).getAllSelectedData()"
258252
- }, {
258253
- name: "app.setSelectedData",
258254
- description: "设置选中的数据(用于回显)",
258255
- example: "app.getMethodById({id}).setSelectedData([{id:1,name:'张三'}])"
258256
- }, {
258257
- name: "app.clearAllSelected",
258258
- description: "清空所有跨页选择",
258259
- example: "app.getMethodById({id}).clearAllSelected()"
258260
- }, {
258261
- name: "app.getSelectedCount",
258262
- description: "获取跨页选中数据的数量",
258263
- example: "app.getMethodById({id}).getSelectedCount()"
258264
- }, {
258265
- name: "app.setSelectedByKeys",
258266
- description: "根据key数组设置选中状态",
258267
- example: "app.getMethodById({id}).setSelectedByKeys([1,2,3])"
258268
- }],
258269
- modal: [{
258270
- name: "app.getPropsById",
258271
- description: "获取当前组件参数值",
258272
- example: "app.getPropsById({id})"
258273
- }, {
258274
- name: "app.open",
258275
- description: "打开弹窗",
258276
- example: "app.getMethodById({id}).open(()=>{})"
258277
- }, {
258278
- name: "app.close",
258279
- description: "关闭弹窗",
258280
- example: "app.getMethodById({id}).close(()=>{})"
258281
- }],
258282
- form: [{
258283
- name: "app.getPropsById",
258284
- description: "获取当前组件参数值",
258285
- example: "app.getPropsById({id})"
258286
- }, {
258287
- name: "app.setVisible",
258288
- description: "设置可见",
258289
- example: "app.setVisible({id}, false)"
258290
- }, {
258291
- name: "app.setFormType",
258292
- description: "设置表单类型",
258293
- example: 'app.setFormType({id},"Create")'
258294
- }, {
258295
- name: "app.getFormType",
258296
- description: "获取表单类型",
258297
- example: "app.getFormType({id})"
258298
- }, {
258299
- name: "app.getResult",
258300
- description: "获取表单结果",
258301
- example: "app.getWidgetListResultById({id})"
258302
- }, {
258303
- name: "app.reset",
258304
- description: "重置表单",
258305
- example: "app.resetWidgetListById({id})"
258306
- }, {
258307
- name: "app.submit",
258308
- description: "提交表单数据",
258309
- example: "app.getMethodById({id}).submit()"
258310
- }, {
258311
- name: "app.inputData",
258312
- description: "赋值表单数据",
258313
- example: "app.inputWidgetListValueById({id},{})"
258314
- }],
258315
- card: [{
258316
- name: "app.getPropsById",
258317
- description: "获取当前组件参数值",
258318
- example: "app.getPropsById({id})"
258319
- }, {
258320
- name: "app.setVisible",
258321
- description: "设置可见",
258322
- example: "app.setVisible({id}, false)"
258323
- }],
258324
- iframe: [{
258325
- name: "app.getPropsById",
258326
- description: "获取当前组件参数值",
258327
- example: "app.getPropsById({id})"
258328
- }, {
258329
- name: "app.setVisible",
258330
- description: "设置可见",
258331
- example: "app.setVisible({id}, false)"
258332
- }],
258333
- input: [{
258334
- name: "app.getPropsById",
258335
- description: "获取当前组件参数值",
258336
- example: "app.getPropsById({id})"
258337
- }, {
258338
- name: "app.setValue",
258339
- description: "设置组件的值",
258340
- example: "app.setValue({id},123)"
258341
- }, {
258342
- name: "app.getValue",
258343
- description: "获取组件的值",
258344
- example: "app.getValue({id})"
258345
- }, {
258346
- name: "app.setVisible",
258347
- description: "设置可见",
258348
- example: "app.setVisible({id}, false)"
258349
- }],
258350
- select: [{
258351
- name: "app.getPropsById",
258352
- description: "获取当前组件参数值",
258353
- example: "app.getPropsById({id})"
258354
- }, {
258355
- name: "app.setValue",
258356
- description: "设置组件的值",
258357
- example: "app.setValue({id},123)"
258358
- }, {
258359
- name: "app.getValue",
258360
- description: "获取组件的值",
258361
- example: "app.getValue({id})"
258362
- }, {
258363
- name: "app.setVisible",
258364
- description: "设置可见",
258365
- example: "app.setVisible({id}, false)"
258366
- }],
258367
- selects: [{
258368
- name: "app.getPropsById",
258369
- description: "获取当前组件参数值",
258370
- example: "app.getPropsById({id})"
258371
- }, {
258372
- name: "app.setValue",
258373
- description: "设置组件的值",
258374
- example: "app.setValue({id},[])"
258375
- }, {
258376
- name: "app.getValue",
258377
- description: "获取组件的值",
258378
- example: "app.getValue({id})"
258379
- }, {
258380
- name: "app.setVisible",
258381
- description: "设置可见",
258382
- example: "app.setVisible({id}, false)"
258383
- }],
258384
- radio: [{
258385
- name: "app.getPropsById",
258386
- description: "获取当前组件参数值",
258387
- example: "app.getPropsById({id})"
258388
- }, {
258389
- name: "app.setValue",
258390
- description: "设置组件的值",
258391
- example: "app.setValue({id},123)"
258392
- }, {
258393
- name: "app.getValue",
258394
- description: "获取组件的值",
258395
- example: "app.getValue({id})"
258396
- }, {
258397
- name: "app.setVisible",
258398
- description: "设置可见",
258399
- example: "app.setVisible({id}, false)"
258400
- }],
258401
- checkbox: [{
258402
- name: "app.getPropsById",
258403
- description: "获取当前组件参数值",
258404
- example: "app.getPropsById({id})"
258405
- }, {
258406
- name: "app.setValue",
258407
- description: "设置组件的值",
258408
- example: "app.setValue({id},[])"
258409
- }, {
258410
- name: "app.getValue",
258411
- description: "获取组件的值",
258412
- example: "app.getValue({id})"
258413
- }, {
258414
- name: "app.setVisible",
258415
- description: "设置可见",
258416
- example: "app.setVisible({id}, false)"
258417
- }],
258418
- date: [{
258419
- name: "app.getPropsById",
258420
- description: "获取当前组件参数值",
258421
- example: "app.getPropsById({id})"
258422
- }, {
258423
- name: "app.setValue",
258424
- description: "设置组件的值",
258425
- example: "app.setValue({id},123)"
258426
- }, {
258427
- name: "app.getValue",
258428
- description: "获取组件的值",
258429
- example: "app.getValue({id})"
258430
- }, {
258431
- name: "app.setVisible",
258432
- description: "设置可见",
258433
- example: "app.setVisible({id}, false)"
258434
- }],
258435
- progress: [{
258436
- name: "app.getPropsById",
258437
- description: "获取当前组件参数值",
258438
- example: "app.getPropsById({id})"
258439
- }, {
258440
- name: "app.setVisible",
258441
- description: "设置可见",
258442
- example: "app.setVisible({id}, false)"
258443
- }],
258444
- switch: [{
258445
- name: "app.getPropsById",
258446
- description: "获取当前组件参数值",
258447
- example: "app.getPropsById({id})"
258448
- }, {
258449
- name: "app.setValue",
258450
- description: "设置组件的值",
258451
- example: "app.setValue({id},true)"
258452
- }, {
258453
- name: "app.getValue",
258454
- description: "获取组件的值",
258455
- example: "app.getValue({id})"
258456
- }, {
258457
- name: "app.setVisible",
258458
- description: "设置可见",
258459
- example: "app.setVisible({id}, false)"
258460
- }],
258461
- time: [{
258462
- name: "app.getPropsById",
258463
- description: "获取当前组件参数值",
258464
- example: "app.getPropsById({id})"
258465
- }, {
258466
- name: "app.setValue",
258467
- description: "设置组件的值",
258468
- example: "app.setValue({id},123)"
258469
- }, {
258470
- name: "app.getValue",
258471
- description: "获取组件的值",
258472
- example: "app.getValue({id})"
258473
- }, {
258474
- name: "app.setVisible",
258475
- description: "设置可见",
258476
- example: "app.setVisible({id}, false)"
258477
- }],
258478
- rate: [{
258479
- name: "app.getPropsById",
258480
- description: "获取当前组件参数值",
258481
- example: "app.getPropsById({id})"
258482
- }, {
258483
- name: "app.setValue",
258484
- description: "设置组件的值",
258485
- example: "app.setValue({id},5)"
258486
- }, {
258487
- name: "app.getValue",
258488
- description: "获取组件的值",
258489
- example: "app.getValue({id})"
258490
- }, {
258491
- name: "app.setVisible",
258492
- description: "设置可见",
258493
- example: "app.setVisible({id}, false)"
258494
- }],
258495
- cascader: [{
258496
- name: "app.getPropsById",
258497
- description: "获取当前组件参数值",
258498
- example: "app.getPropsById({id})"
258499
- }, {
258500
- name: "app.setValue",
258501
- description: "设置组件的值",
258502
- example: "app.setValue({id},5)"
258503
- }, {
258504
- name: "app.getValue",
258505
- description: "获取组件的值",
258506
- example: "app.getValue({id})"
258507
- }, {
258508
- name: "app.setVisible",
258509
- description: "设置可见",
258510
- example: "app.setVisible({id}, false)"
258511
- }],
258512
- file: [{
258513
- name: "app.getPropsById",
258514
- description: "获取当前组件参数值",
258515
- example: "app.getPropsById({id})"
258516
- }, {
258517
- name: "app.setValue",
258518
- description: "设置组件的值",
258519
- example: "app.setValue({id},123)"
258520
- }, {
258521
- name: "app.getValue",
258522
- description: "获取组件的值",
258523
- example: "app.getValue({id})"
258524
- }, {
258525
- name: "app.setVisible",
258526
- description: "设置可见",
258527
- example: "app.setVisible({id}, false)"
258528
- }],
258529
- editor: [{
258530
- name: "app.getPropsById",
258531
- description: "获取当前组件参数值",
258532
- example: "app.getPropsById({id})"
258533
- }, {
258534
- name: "app.setVisible",
258535
- description: "设置可见",
258536
- example: "app.setVisible({id}, false)"
258537
- }],
258538
- codeEditor: [{
258539
- name: "app.getPropsById",
258540
- description: "获取当前组件参数值",
258541
- example: "app.getPropsById({id})"
258542
- }, {
258543
- name: "app.setVisible",
258544
- description: "设置可见",
258545
- example: "app.setVisible({id}, false)"
258546
- }],
258547
- button: [{
258548
- name: "app.getPropsById",
258549
- description: "获取当前组件参数值",
258550
- example: "app.getPropsById({id})"
258551
- }, {
258552
- name: "app.setVisible",
258553
- description: "设置可见",
258554
- example: "app.setVisible({id}, false)"
258555
- }],
258556
- divider: [{
258557
- name: "app.getPropsById",
258558
- description: "获取当前组件参数值",
258559
- example: "app.getPropsById({id})"
258560
- }, {
258561
- name: "app.setVisible",
258562
- description: "设置可见",
258563
- example: "app.setVisible({id}, false)"
258564
- }],
258565
- html: [{
258566
- name: "app.getPropsById",
258567
- description: "获取当前组件参数值",
258568
- example: "app.getPropsById({id})"
258569
- }, {
258570
- name: "app.setVisible",
258571
- description: "设置可见",
258572
- example: "app.setVisible({id}, false)"
258573
- }],
258574
- alert: [{
258575
- name: "app.getPropsById",
258576
- description: "获取当前组件参数值",
258577
- example: "app.getPropsById({id})"
258578
- }, {
258579
- name: "app.setVisible",
258580
- description: "设置可见",
258581
- example: "app.setVisible({id}, false)"
258582
- }],
258583
- image: [{
258584
- name: "app.getPropsById",
258585
- description: "获取当前组件参数值",
258586
- example: "app.getPropsById({id})"
258587
- }, {
258588
- name: "app.setVisible",
258589
- description: "设置可见",
258590
- example: "app.setVisible({id}, false)"
258591
- }],
258592
- checkCode: [{
258593
- name: "app.getPropsById",
258594
- description: "获取当前组件参数值",
258595
- example: "app.getPropsById({id})"
258596
- }, {
258597
- name: "app.setVisible",
258598
- description: "设置可见",
258599
- example: "app.setVisible({id}, false)"
258600
- }],
258601
- echarts: [{
258602
- name: "app.getPropsById",
258603
- description: "获取当前组件参数值",
258604
- example: "app.getPropsById({id})"
258605
- }, {
258606
- name: "app.setVisible",
258607
- description: "设置可见",
258608
- example: "app.setVisible({id}, false)"
258609
- }],
258610
- statistic: [{
258611
- name: "app.getPropsById",
258612
- description: "获取当前组件参数值",
258613
- example: "app.getPropsById({id})"
258614
- }, {
258615
- name: "app.setVisible",
258616
- description: "设置可见",
258617
- example: "app.setVisible({id}, false)"
258618
- }],
258619
- text: [{
258620
- name: "app.getPropsById",
258621
- description: "获取当前组件参数值",
258622
- example: "app.getPropsById({id})"
258623
- }, {
258624
- name: "app.setVisible",
258625
- description: "设置可见",
258626
- example: "app.setVisible({id}, false)"
258627
- }],
258628
- tag: [{
258629
- name: "app.getPropsById",
258630
- description: "获取当前组件参数值",
258631
- example: "app.getPropsById({id})"
258632
- }, {
258633
- name: "app.setVisible",
258634
- description: "设置可见",
258635
- example: "app.setVisible({id}, false)"
258636
- }],
258637
- steps: [{
258638
- name: "app.getPropsById",
258639
- description: "获取当前组件参数值",
258640
- example: "app.getPropsById({id})"
258641
- }, {
258642
- name: "app.setVisible",
258643
- description: "设置可见",
258644
- example: "app.setVisible({id}, false)"
258645
- }],
258646
- timeline: [{
258647
- name: "app.getPropsById",
258648
- description: "获取当前组件参数值",
258649
- example: "app.getPropsById({id})"
258650
- }, {
258651
- name: "app.setVisible",
258652
- description: "设置可见",
258653
- example: "app.setVisible({id}, false)"
258654
- }],
258655
- service: [{
258656
- name: "app.getPropsById",
258657
- description: "获取当前组件参数值",
258658
- example: "app.getPropsById({id})"
258659
- }, {
258660
- name: "app.setVisible",
258661
- description: "设置可见",
258662
- example: "app.setVisible({id}, false)"
258663
- }],
258664
- flow: [{
258665
- name: "app.getPropsById",
258666
- description: "获取当前组件参数值",
258667
- example: "app.getPropsById({id})"
258668
- }, {
258669
- name: "app.setVisible",
258670
- description: "设置可见",
258671
- example: "app.setVisible({id}, false)"
258672
- }, {
258673
- name: "app.getData",
258674
- description: "获取流程图数据",
258675
- example: "app.getMethodById({id}).getData()"
258676
- }, {
258677
- name: "app.setData",
258678
- description: "设置流程图数据",
258679
- example: "app.getMethodById({id}).setData({})"
258680
- }, {
258681
- name: "app.clearData",
258682
- description: "清空流程图",
258683
- example: "app.getMethodById({id}).clearData()"
258684
- }, {
258685
- name: "app.exportImg",
258686
- description: "导出截图",
258687
- example: "app.getMethodById({id}).exportImg()"
258688
- }],
258689
- cascader: [{
258690
- name: "app.getPropsById",
258691
- description: "获取当前组件参数值",
258692
- example: "app.getPropsById({id})"
258693
- }, {
258694
- name: "app.setValue",
258695
- description: "设置组件的值",
258696
- example: "app.setValue({id},123)"
258697
- }, {
258698
- name: "app.getValue",
258699
- description: "获取组件的值",
258700
- example: "app.getValue({id})"
258701
- }, {
258702
- name: "app.setOption",
258703
- description: "设置树",
258704
- example: "app.setOption({id},options)"
258705
- }],
258706
- qrcode: [{
258707
- name: "app.getPropsById",
258708
- description: "获取当前组件参数值",
258709
- example: "app.getPropsById({id})"
258710
- }, {
258711
- name: "app.setValue",
258712
- description: "设置二维码内容",
258713
- example: 'app.setValue({id},"https://example.com")'
258714
- }, {
258715
- name: "app.getValue",
258716
- description: "获取二维码内容",
258717
- example: "app.getValue({id})"
258718
- }, {
258719
- name: "app.setVisible",
258720
- description: "设置可见",
258721
- example: "app.setVisible({id}, false)"
258722
- }, {
258723
- name: "app.setQrCodeSize",
258724
- description: "设置二维码尺寸",
258725
- example: "app.getPropsById({id}).size = 300"
258726
- }, {
258727
- name: "app.setQrCodeColor",
258728
- description: "设置二维码颜色",
258729
- example: 'app.getPropsById({id}).fgColor = "#ff0000"'
258730
- }, {
258731
- name: "app.setQrCodeBgColor",
258732
- description: "设置二维码背景色",
258733
- example: 'app.getPropsById({id}).bgColor = "#ffffff"'
258734
- }, {
258735
- name: "app.setQrCodeLevel",
258736
- description: "设置纠错级别",
258737
- example: 'app.getPropsById({id}).level = "H"'
258738
- }]
258181
+ datatable: [
258182
+ {
258183
+ name: "app.getPropsById",
258184
+ description: "获取当前组件参数值",
258185
+ example: "app.getPropsById({id})"
258186
+ },
258187
+ {
258188
+ name: "app.setVisible",
258189
+ description: "设置可见",
258190
+ example: "app.setVisible({id}, false)"
258191
+ },
258192
+ {
258193
+ name: "app.chosen",
258194
+ description: "获取当前选中行数据",
258195
+ example: "app.getMethodById({id}).chosen()"
258196
+ },
258197
+ {
258198
+ name: "app.refresh",
258199
+ description: "刷新表格",
258200
+ example: "app.getMethodById({id}).refresh()"
258201
+ },
258202
+ {
258203
+ name: "app.getRows",
258204
+ description: "获取表格数据",
258205
+ example: "app.getMethodById({id}).getRows()"
258206
+ },
258207
+ {
258208
+ name: "app.setRows",
258209
+ description: "设置表格数据",
258210
+ example: "app.getMethodById({id}).setRows([])"
258211
+ },
258212
+ {
258213
+ name: "app.setTotal",
258214
+ description: "设置表格数据总数",
258215
+ example: "app.getMethodById({id}).setTotal(0)"
258216
+ },
258217
+ {
258218
+ name: "app.getSearchParams",
258219
+ description: "获取搜索参数",
258220
+ example: "app.getMethodById({id}).getSearchParams()"
258221
+ },
258222
+ {
258223
+ name: "app.allTreeChosen",
258224
+ description: "获取选中id",
258225
+ example: "app.getMethodById({id}).allTreeChosen()"
258226
+ },
258227
+ {
258228
+ name: "app.setRowsCheckedByIds",
258229
+ description: "通过id数组设置选中",
258230
+ example: "app.getMethodById({id}).setRowsCheckedByIds([])"
258231
+ },
258232
+ {
258233
+ name: "app.addRow",
258234
+ description: "新增行数据",
258235
+ example: "app.getMethodById({id}).addRow({})"
258236
+ },
258237
+ {
258238
+ name: "app.addRowByTop",
258239
+ description: "新增行数据到最上",
258240
+ example: "app.getMethodById({id}).addRowByTop({})"
258241
+ },
258242
+ {
258243
+ name: "app.addRowByDefault",
258244
+ description: "新增行数据默认值",
258245
+ example: "app.getMethodById({id}).addRowByDefault()"
258246
+ },
258247
+ {
258248
+ name: "app.removeRow",
258249
+ description: "删除行数据",
258250
+ example: "app.getMethodById({id}).removeRow(row)"
258251
+ },
258252
+ {
258253
+ name: "app.setAllTreeExpand",
258254
+ description: "展开/收缩树形表格",
258255
+ example: "app.getMethodById({id}).setAllTreeExpand(true)"
258256
+ },
258257
+ {
258258
+ name: "app.setAllRowExpand",
258259
+ description: "展开/收缩表格",
258260
+ example: "app.getMethodById({id}).setAllRowExpand(true)"
258261
+ },
258262
+ {
258263
+ name: "app.setFooter",
258264
+ description: "设置底部数据",
258265
+ example: "app.getMethodById({id}).setFooter({})"
258266
+ },
258267
+ {
258268
+ name: "app.clearChosen",
258269
+ description: "清空选中数据",
258270
+ example: "app.getMethodById({id}).clearChosen()"
258271
+ },
258272
+ {
258273
+ name: "app.getReservedChosen",
258274
+ description: "获取跨页选中数据",
258275
+ example: "app.getMethodById({id}).getReservedChosen()"
258276
+ },
258277
+ {
258278
+ name: "app.clearReservedChosen",
258279
+ description: "清空跨页选中数据",
258280
+ example: "app.getMethodById({id}).clearReservedChosen()"
258281
+ },
258282
+ {
258283
+ name: "app.getAllSelectedData",
258284
+ description: "获取所有跨页选中的数据",
258285
+ example: "app.getMethodById({id}).getAllSelectedData()"
258286
+ },
258287
+ {
258288
+ name: "app.setSelectedData",
258289
+ description: "设置选中的数据(用于回显)",
258290
+ example: "app.getMethodById({id}).setSelectedData([{id:1,name:'张三'}])"
258291
+ },
258292
+ {
258293
+ name: "app.clearAllSelected",
258294
+ description: "清空所有跨页选择",
258295
+ example: "app.getMethodById({id}).clearAllSelected()"
258296
+ },
258297
+ {
258298
+ name: "app.getSelectedCount",
258299
+ description: "获取跨页选中数据的数量",
258300
+ example: "app.getMethodById({id}).getSelectedCount()"
258301
+ },
258302
+ {
258303
+ name: "app.setSelectedByKeys",
258304
+ description: "根据key数组设置选中状态",
258305
+ example: "app.getMethodById({id}).setSelectedByKeys([1,2,3])"
258306
+ }
258307
+ ],
258308
+ modal: [
258309
+ {
258310
+ name: "app.getPropsById",
258311
+ description: "获取当前组件参数值",
258312
+ example: "app.getPropsById({id})"
258313
+ },
258314
+ {
258315
+ name: "app.open",
258316
+ description: "打开弹窗",
258317
+ example: "app.getMethodById({id}).open(()=>{})"
258318
+ },
258319
+ {
258320
+ name: "app.close",
258321
+ description: "关闭弹窗",
258322
+ example: "app.getMethodById({id}).close(()=>{})"
258323
+ }
258324
+ ],
258325
+ form: [
258326
+ {
258327
+ name: "app.getPropsById",
258328
+ description: "获取当前组件参数值",
258329
+ example: "app.getPropsById({id})"
258330
+ },
258331
+ {
258332
+ name: "app.setVisible",
258333
+ description: "设置可见",
258334
+ example: "app.setVisible({id}, false)"
258335
+ },
258336
+ {
258337
+ name: "app.setFormType",
258338
+ description: "设置表单类型",
258339
+ example: 'app.setFormType({id},"Create")'
258340
+ },
258341
+ {
258342
+ name: "app.getFormType",
258343
+ description: "获取表单类型",
258344
+ example: "app.getFormType({id})"
258345
+ },
258346
+ {
258347
+ name: "app.getResult",
258348
+ description: "获取表单结果",
258349
+ example: "app.getWidgetListResultById({id})"
258350
+ },
258351
+ {
258352
+ name: "app.reset",
258353
+ description: "重置表单",
258354
+ example: "app.resetWidgetListById({id})"
258355
+ },
258356
+ {
258357
+ name: "app.submit",
258358
+ description: "提交表单数据",
258359
+ example: "app.getMethodById({id}).submit()"
258360
+ },
258361
+ {
258362
+ name: "app.inputData",
258363
+ description: "赋值表单数据",
258364
+ example: "app.inputWidgetListValueById({id},{})"
258365
+ }
258366
+ ],
258367
+ card: [
258368
+ {
258369
+ name: "app.getPropsById",
258370
+ description: "获取当前组件参数值",
258371
+ example: "app.getPropsById({id})"
258372
+ },
258373
+ {
258374
+ name: "app.setVisible",
258375
+ description: "设置可见",
258376
+ example: "app.setVisible({id}, false)"
258377
+ }
258378
+ ],
258379
+ iframe: [
258380
+ {
258381
+ name: "app.getPropsById",
258382
+ description: "获取当前组件参数值",
258383
+ example: "app.getPropsById({id})"
258384
+ },
258385
+ {
258386
+ name: "app.setVisible",
258387
+ description: "设置可见",
258388
+ example: "app.setVisible({id}, false)"
258389
+ }
258390
+ ],
258391
+ input: [
258392
+ {
258393
+ name: "app.getPropsById",
258394
+ description: "获取当前组件参数值",
258395
+ example: "app.getPropsById({id})"
258396
+ },
258397
+ {
258398
+ name: "app.setValue",
258399
+ description: "设置组件的值",
258400
+ example: "app.setValue({id},123)"
258401
+ },
258402
+ {
258403
+ name: "app.getValue",
258404
+ description: "获取组件的值",
258405
+ example: "app.getValue({id})"
258406
+ },
258407
+ {
258408
+ name: "app.setVisible",
258409
+ description: "设置可见",
258410
+ example: "app.setVisible({id}, false)"
258411
+ }
258412
+ ],
258413
+ select: [
258414
+ {
258415
+ name: "app.getPropsById",
258416
+ description: "获取当前组件参数值",
258417
+ example: "app.getPropsById({id})"
258418
+ },
258419
+ {
258420
+ name: "app.setValue",
258421
+ description: "设置组件的值",
258422
+ example: "app.setValue({id},123)"
258423
+ },
258424
+ {
258425
+ name: "app.getValue",
258426
+ description: "获取组件的值",
258427
+ example: "app.getValue({id})"
258428
+ },
258429
+ {
258430
+ name: "app.setVisible",
258431
+ description: "设置可见",
258432
+ example: "app.setVisible({id}, false)"
258433
+ }
258434
+ ],
258435
+ selects: [
258436
+ {
258437
+ name: "app.getPropsById",
258438
+ description: "获取当前组件参数值",
258439
+ example: "app.getPropsById({id})"
258440
+ },
258441
+ {
258442
+ name: "app.setValue",
258443
+ description: "设置组件的值",
258444
+ example: "app.setValue({id},[])"
258445
+ },
258446
+ {
258447
+ name: "app.getValue",
258448
+ description: "获取组件的值",
258449
+ example: "app.getValue({id})"
258450
+ },
258451
+ {
258452
+ name: "app.setVisible",
258453
+ description: "设置可见",
258454
+ example: "app.setVisible({id}, false)"
258455
+ }
258456
+ ],
258457
+ radio: [
258458
+ {
258459
+ name: "app.getPropsById",
258460
+ description: "获取当前组件参数值",
258461
+ example: "app.getPropsById({id})"
258462
+ },
258463
+ {
258464
+ name: "app.setValue",
258465
+ description: "设置组件的值",
258466
+ example: "app.setValue({id},123)"
258467
+ },
258468
+ {
258469
+ name: "app.getValue",
258470
+ description: "获取组件的值",
258471
+ example: "app.getValue({id})"
258472
+ },
258473
+ {
258474
+ name: "app.setVisible",
258475
+ description: "设置可见",
258476
+ example: "app.setVisible({id}, false)"
258477
+ }
258478
+ ],
258479
+ checkbox: [
258480
+ {
258481
+ name: "app.getPropsById",
258482
+ description: "获取当前组件参数值",
258483
+ example: "app.getPropsById({id})"
258484
+ },
258485
+ {
258486
+ name: "app.setValue",
258487
+ description: "设置组件的值",
258488
+ example: "app.setValue({id},[])"
258489
+ },
258490
+ {
258491
+ name: "app.getValue",
258492
+ description: "获取组件的值",
258493
+ example: "app.getValue({id})"
258494
+ },
258495
+ {
258496
+ name: "app.setVisible",
258497
+ description: "设置可见",
258498
+ example: "app.setVisible({id}, false)"
258499
+ }
258500
+ ],
258501
+ date: [
258502
+ {
258503
+ name: "app.getPropsById",
258504
+ description: "获取当前组件参数值",
258505
+ example: "app.getPropsById({id})"
258506
+ },
258507
+ {
258508
+ name: "app.setValue",
258509
+ description: "设置组件的值",
258510
+ example: "app.setValue({id},123)"
258511
+ },
258512
+ {
258513
+ name: "app.getValue",
258514
+ description: "获取组件的值",
258515
+ example: "app.getValue({id})"
258516
+ },
258517
+ {
258518
+ name: "app.setVisible",
258519
+ description: "设置可见",
258520
+ example: "app.setVisible({id}, false)"
258521
+ }
258522
+ ],
258523
+ progress: [
258524
+ {
258525
+ name: "app.getPropsById",
258526
+ description: "获取当前组件参数值",
258527
+ example: "app.getPropsById({id})"
258528
+ },
258529
+ {
258530
+ name: "app.setVisible",
258531
+ description: "设置可见",
258532
+ example: "app.setVisible({id}, false)"
258533
+ }
258534
+ ],
258535
+ switch: [
258536
+ {
258537
+ name: "app.getPropsById",
258538
+ description: "获取当前组件参数值",
258539
+ example: "app.getPropsById({id})"
258540
+ },
258541
+ {
258542
+ name: "app.setValue",
258543
+ description: "设置组件的值",
258544
+ example: "app.setValue({id},true)"
258545
+ },
258546
+ {
258547
+ name: "app.getValue",
258548
+ description: "获取组件的值",
258549
+ example: "app.getValue({id})"
258550
+ },
258551
+ {
258552
+ name: "app.setVisible",
258553
+ description: "设置可见",
258554
+ example: "app.setVisible({id}, false)"
258555
+ }
258556
+ ],
258557
+ time: [
258558
+ {
258559
+ name: "app.getPropsById",
258560
+ description: "获取当前组件参数值",
258561
+ example: "app.getPropsById({id})"
258562
+ },
258563
+ {
258564
+ name: "app.setValue",
258565
+ description: "设置组件的值",
258566
+ example: "app.setValue({id},123)"
258567
+ },
258568
+ {
258569
+ name: "app.getValue",
258570
+ description: "获取组件的值",
258571
+ example: "app.getValue({id})"
258572
+ },
258573
+ {
258574
+ name: "app.setVisible",
258575
+ description: "设置可见",
258576
+ example: "app.setVisible({id}, false)"
258577
+ }
258578
+ ],
258579
+ rate: [
258580
+ {
258581
+ name: "app.getPropsById",
258582
+ description: "获取当前组件参数值",
258583
+ example: "app.getPropsById({id})"
258584
+ },
258585
+ {
258586
+ name: "app.setValue",
258587
+ description: "设置组件的值",
258588
+ example: "app.setValue({id},5)"
258589
+ },
258590
+ {
258591
+ name: "app.getValue",
258592
+ description: "获取组件的值",
258593
+ example: "app.getValue({id})"
258594
+ },
258595
+ {
258596
+ name: "app.setVisible",
258597
+ description: "设置可见",
258598
+ example: "app.setVisible({id}, false)"
258599
+ }
258600
+ ],
258601
+ file: [
258602
+ {
258603
+ name: "app.getPropsById",
258604
+ description: "获取当前组件参数值",
258605
+ example: "app.getPropsById({id})"
258606
+ },
258607
+ {
258608
+ name: "app.setValue",
258609
+ description: "设置组件的值",
258610
+ example: "app.setValue({id},123)"
258611
+ },
258612
+ {
258613
+ name: "app.getValue",
258614
+ description: "获取组件的值",
258615
+ example: "app.getValue({id})"
258616
+ },
258617
+ {
258618
+ name: "app.setVisible",
258619
+ description: "设置可见",
258620
+ example: "app.setVisible({id}, false)"
258621
+ }
258622
+ ],
258623
+ editor: [
258624
+ {
258625
+ name: "app.getPropsById",
258626
+ description: "获取当前组件参数值",
258627
+ example: "app.getPropsById({id})"
258628
+ },
258629
+ {
258630
+ name: "app.setVisible",
258631
+ description: "设置可见",
258632
+ example: "app.setVisible({id}, false)"
258633
+ }
258634
+ ],
258635
+ codeEditor: [
258636
+ {
258637
+ name: "app.getPropsById",
258638
+ description: "获取当前组件参数值",
258639
+ example: "app.getPropsById({id})"
258640
+ },
258641
+ {
258642
+ name: "app.setVisible",
258643
+ description: "设置可见",
258644
+ example: "app.setVisible({id}, false)"
258645
+ }
258646
+ ],
258647
+ button: [
258648
+ {
258649
+ name: "app.getPropsById",
258650
+ description: "获取当前组件参数值",
258651
+ example: "app.getPropsById({id})"
258652
+ },
258653
+ {
258654
+ name: "app.setVisible",
258655
+ description: "设置可见",
258656
+ example: "app.setVisible({id}, false)"
258657
+ }
258658
+ ],
258659
+ divider: [
258660
+ {
258661
+ name: "app.getPropsById",
258662
+ description: "获取当前组件参数值",
258663
+ example: "app.getPropsById({id})"
258664
+ },
258665
+ {
258666
+ name: "app.setVisible",
258667
+ description: "设置可见",
258668
+ example: "app.setVisible({id}, false)"
258669
+ }
258670
+ ],
258671
+ html: [
258672
+ {
258673
+ name: "app.getPropsById",
258674
+ description: "获取当前组件参数值",
258675
+ example: "app.getPropsById({id})"
258676
+ },
258677
+ {
258678
+ name: "app.setVisible",
258679
+ description: "设置可见",
258680
+ example: "app.setVisible({id}, false)"
258681
+ }
258682
+ ],
258683
+ alert: [
258684
+ {
258685
+ name: "app.getPropsById",
258686
+ description: "获取当前组件参数值",
258687
+ example: "app.getPropsById({id})"
258688
+ },
258689
+ {
258690
+ name: "app.setVisible",
258691
+ description: "设置可见",
258692
+ example: "app.setVisible({id}, false)"
258693
+ }
258694
+ ],
258695
+ image: [
258696
+ {
258697
+ name: "app.getPropsById",
258698
+ description: "获取当前组件参数值",
258699
+ example: "app.getPropsById({id})"
258700
+ },
258701
+ {
258702
+ name: "app.setVisible",
258703
+ description: "设置可见",
258704
+ example: "app.setVisible({id}, false)"
258705
+ }
258706
+ ],
258707
+ checkCode: [
258708
+ {
258709
+ name: "app.getPropsById",
258710
+ description: "获取当前组件参数值",
258711
+ example: "app.getPropsById({id})"
258712
+ },
258713
+ {
258714
+ name: "app.setVisible",
258715
+ description: "设置可见",
258716
+ example: "app.setVisible({id}, false)"
258717
+ }
258718
+ ],
258719
+ echarts: [
258720
+ {
258721
+ name: "app.getPropsById",
258722
+ description: "获取当前组件参数值",
258723
+ example: "app.getPropsById({id})"
258724
+ },
258725
+ {
258726
+ name: "app.setVisible",
258727
+ description: "设置可见",
258728
+ example: "app.setVisible({id}, false)"
258729
+ }
258730
+ ],
258731
+ statistic: [
258732
+ {
258733
+ name: "app.getPropsById",
258734
+ description: "获取当前组件参数值",
258735
+ example: "app.getPropsById({id})"
258736
+ },
258737
+ {
258738
+ name: "app.setVisible",
258739
+ description: "设置可见",
258740
+ example: "app.setVisible({id}, false)"
258741
+ }
258742
+ ],
258743
+ text: [
258744
+ {
258745
+ name: "app.getPropsById",
258746
+ description: "获取当前组件参数值",
258747
+ example: "app.getPropsById({id})"
258748
+ },
258749
+ {
258750
+ name: "app.setVisible",
258751
+ description: "设置可见",
258752
+ example: "app.setVisible({id}, false)"
258753
+ }
258754
+ ],
258755
+ tag: [
258756
+ {
258757
+ name: "app.getPropsById",
258758
+ description: "获取当前组件参数值",
258759
+ example: "app.getPropsById({id})"
258760
+ },
258761
+ {
258762
+ name: "app.setVisible",
258763
+ description: "设置可见",
258764
+ example: "app.setVisible({id}, false)"
258765
+ }
258766
+ ],
258767
+ steps: [
258768
+ {
258769
+ name: "app.getPropsById",
258770
+ description: "获取当前组件参数值",
258771
+ example: "app.getPropsById({id})"
258772
+ },
258773
+ {
258774
+ name: "app.setVisible",
258775
+ description: "设置可见",
258776
+ example: "app.setVisible({id}, false)"
258777
+ }
258778
+ ],
258779
+ timeline: [
258780
+ {
258781
+ name: "app.getPropsById",
258782
+ description: "获取当前组件参数值",
258783
+ example: "app.getPropsById({id})"
258784
+ },
258785
+ {
258786
+ name: "app.setVisible",
258787
+ description: "设置可见",
258788
+ example: "app.setVisible({id}, false)"
258789
+ }
258790
+ ],
258791
+ service: [
258792
+ {
258793
+ name: "app.getPropsById",
258794
+ description: "获取当前组件参数值",
258795
+ example: "app.getPropsById({id})"
258796
+ },
258797
+ {
258798
+ name: "app.setVisible",
258799
+ description: "设置可见",
258800
+ example: "app.setVisible({id}, false)"
258801
+ }
258802
+ ],
258803
+ flow: [
258804
+ {
258805
+ name: "app.getPropsById",
258806
+ description: "获取当前组件参数值",
258807
+ example: "app.getPropsById({id})"
258808
+ },
258809
+ {
258810
+ name: "app.setVisible",
258811
+ description: "设置可见",
258812
+ example: "app.setVisible({id}, false)"
258813
+ },
258814
+ {
258815
+ name: "app.getData",
258816
+ description: "获取流程图数据",
258817
+ example: "app.getMethodById({id}).getData()"
258818
+ },
258819
+ {
258820
+ name: "app.setData",
258821
+ description: "设置流程图数据",
258822
+ example: "app.getMethodById({id}).setData({})"
258823
+ },
258824
+ {
258825
+ name: "app.clearData",
258826
+ description: "清空流程图",
258827
+ example: "app.getMethodById({id}).clearData()"
258828
+ },
258829
+ {
258830
+ name: "app.exportImg",
258831
+ description: "导出截图",
258832
+ example: "app.getMethodById({id}).exportImg()"
258833
+ }
258834
+ ],
258835
+ cascader: [
258836
+ {
258837
+ name: "app.getPropsById",
258838
+ description: "获取当前组件参数值",
258839
+ example: "app.getPropsById({id})"
258840
+ },
258841
+ {
258842
+ name: "app.setValue",
258843
+ description: "设置组件的值",
258844
+ example: "app.setValue({id},123)"
258845
+ },
258846
+ {
258847
+ name: "app.getValue",
258848
+ description: "获取组件的值",
258849
+ example: "app.getValue({id})"
258850
+ },
258851
+ {
258852
+ name: "app.setOption",
258853
+ description: "设置树",
258854
+ example: "app.setOption({id},options)"
258855
+ },
258856
+ {
258857
+ name: "app.findLastLevelNodeByValue",
258858
+ description: "根据最末级的值获取最末级的树对象",
258859
+ example: "app.getMethodById({id}).findLastLevelNodeByValue(value)"
258860
+ }
258861
+ ],
258862
+ qrcode: [
258863
+ {
258864
+ name: "app.getPropsById",
258865
+ description: "获取当前组件参数值",
258866
+ example: "app.getPropsById({id})"
258867
+ },
258868
+ {
258869
+ name: "app.setValue",
258870
+ description: "设置二维码内容",
258871
+ example: 'app.setValue({id},"https://example.com")'
258872
+ },
258873
+ {
258874
+ name: "app.getValue",
258875
+ description: "获取二维码内容",
258876
+ example: "app.getValue({id})"
258877
+ },
258878
+ {
258879
+ name: "app.setVisible",
258880
+ description: "设置可见",
258881
+ example: "app.setVisible({id}, false)"
258882
+ },
258883
+ {
258884
+ name: "app.setQrCodeSize",
258885
+ description: "设置二维码尺寸",
258886
+ example: "app.getPropsById({id}).size = 300"
258887
+ },
258888
+ {
258889
+ name: "app.setQrCodeColor",
258890
+ description: "设置二维码颜色",
258891
+ example: 'app.getPropsById({id}).fgColor = "#ff0000"'
258892
+ },
258893
+ {
258894
+ name: "app.setQrCodeBgColor",
258895
+ description: "设置二维码背景色",
258896
+ example: 'app.getPropsById({id}).bgColor = "#ffffff"'
258897
+ },
258898
+ {
258899
+ name: "app.setQrCodeLevel",
258900
+ description: "设置纠错级别",
258901
+ example: 'app.getPropsById({id}).level = "H"'
258902
+ }
258903
+ ]
258739
258904
  }, nFn = ["onClick", "onContextmenu"], rFn = { class: "text-xs" }, iFn = { class: "text-xs text-gray-400" }, aFn = { class: "text-xs text-gray-400" }, oFn = {
258740
258905
  key: 0,
258741
258906
  class: "text-xs"
@@ -260079,7 +260244,7 @@ const i8n = { key: 1 }, a8n = /* @__PURE__ */ Object.assign({ name: "widget-sfc"
260079
260244
  },
260080
260245
  setup(t) {
260081
260246
  const n = Object.fromEntries(
260082
- Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-alert/index.vue": () => import("./index-ZVIqhtUw.js"), "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-card/index.vue": () => import("./index-BJ0vPF5A.js"), "../widgetConfigComps/config-cascader/index.vue": () => import("./index-BcUJtkEW.js"), "../widgetConfigComps/config-checkCode/index.vue": () => import("./index-kUQct_cM.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-codeEditor/index.vue": () => import("./index-CzkuANsf.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-BTbXk0Ul.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-div/index.vue": () => import("./index-BAEL_Fhr.js"), "../widgetConfigComps/config-dropdown/index.vue": () => import("./index-BZ_40krq.js"), "../widgetConfigComps/config-echarts/index.vue": () => import("./index-ChKyOvXt.js"), "../widgetConfigComps/config-editor/index.vue": () => import("./index-CXNYHPLK.js"), "../widgetConfigComps/config-file/index.vue": () => import("./index-nY_E-1Gm.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CIaeKFCl.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CifChfEv.js"), "../widgetConfigComps/config-iframe/index.vue": () => import("./index-BkftF1Ew.js"), "../widgetConfigComps/config-image/index.vue": () => import("./index-dGJDj4ro.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-kzElMYkk.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-CiNAZsvy.js"), "../widgetConfigComps/config-modal2/index.vue": () => import("./index-D7zr1ztZ.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-qrcode/index.vue": () => import("./index-DHjsGntq.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DYFp4hH-.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-B0fldwhm.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-B1b5cejN.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-CZZfzYn7.js"), "../widgetConfigComps/config-statistic/index.vue": () => import("./index-BlPvyPrd.js"), "../widgetConfigComps/config-steps/index.vue": () => import("./index-DmwitUZc.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-Dag4zSq7.js"), "../widgetConfigComps/config-tag/index.vue": () => import("./index-DuyOBhEf.js"), "../widgetConfigComps/config-text/index.vue": () => import("./index-BYbxnzUx.js"), "../widgetConfigComps/config-time/index.vue": () => import("./index-zkXVDNsL.js"), "../widgetConfigComps/config-timeline/index.vue": () => import("./index-Bw9BT5oa.js"), "../widgetConfigComps/config-title/index.vue": () => import("./index-C78PiK5v.js"), "../widgetConfigComps/config-transfer/index.vue": () => import("./index-DQ3y00Pa.js") })).map(([V, L]) => {
260247
+ Object.entries(/* @__PURE__ */ Object.assign({ "../widgetConfigComps/config-alert/index.vue": () => import("./index-ZVIqhtUw.js"), "../widgetConfigComps/config-button/index.vue": () => import("./index-CvnfmMTc.js"), "../widgetConfigComps/config-card/index.vue": () => import("./index-BJ0vPF5A.js"), "../widgetConfigComps/config-cascader/index.vue": () => import("./index-BcUJtkEW.js"), "../widgetConfigComps/config-checkCode/index.vue": () => import("./index-kUQct_cM.js"), "../widgetConfigComps/config-checkbox/index.vue": () => import("./index-DM5DPltp.js"), "../widgetConfigComps/config-codeEditor/index.vue": () => import("./index-CzkuANsf.js"), "../widgetConfigComps/config-datatable/index.vue": () => import("./index-Bu8V1ojw.js"), "../widgetConfigComps/config-date/index.vue": () => import("./index-C0NmmaE2.js"), "../widgetConfigComps/config-div/index.vue": () => import("./index-BAEL_Fhr.js"), "../widgetConfigComps/config-dropdown/index.vue": () => import("./index-BZ_40krq.js"), "../widgetConfigComps/config-echarts/index.vue": () => import("./index-CCycwFEk.js"), "../widgetConfigComps/config-editor/index.vue": () => import("./index-CXNYHPLK.js"), "../widgetConfigComps/config-file/index.vue": () => import("./index-nY_E-1Gm.js"), "../widgetConfigComps/config-form/index.vue": () => import("./index-CIaeKFCl.js"), "../widgetConfigComps/config-homepage/index.vue": () => import("./index-CifChfEv.js"), "../widgetConfigComps/config-iframe/index.vue": () => import("./index-BkftF1Ew.js"), "../widgetConfigComps/config-image/index.vue": () => import("./index-dGJDj4ro.js"), "../widgetConfigComps/config-input/index.vue": () => import("./index-kzElMYkk.js"), "../widgetConfigComps/config-modal/index.vue": () => import("./index-CiNAZsvy.js"), "../widgetConfigComps/config-modal2/index.vue": () => import("./index-D7zr1ztZ.js"), "../widgetConfigComps/config-progress/index.vue": () => import("./index-c0zw96Jm.js"), "../widgetConfigComps/config-qrcode/index.vue": () => import("./index-DHjsGntq.js"), "../widgetConfigComps/config-radio/index.vue": () => import("./index-DYFp4hH-.js"), "../widgetConfigComps/config-rate/index.vue": () => import("./index-B0fldwhm.js"), "../widgetConfigComps/config-select/index.vue": () => import("./index-B1b5cejN.js"), "../widgetConfigComps/config-selects/index.vue": () => import("./index-CZZfzYn7.js"), "../widgetConfigComps/config-statistic/index.vue": () => import("./index-CSHvvsBb.js"), "../widgetConfigComps/config-steps/index.vue": () => import("./index-B7STaNP2.js"), "../widgetConfigComps/config-switch/index.vue": () => import("./index-Dag4zSq7.js"), "../widgetConfigComps/config-tag/index.vue": () => import("./index-oU2XQP7U.js"), "../widgetConfigComps/config-text/index.vue": () => import("./index-BYbxnzUx.js"), "../widgetConfigComps/config-time/index.vue": () => import("./index-zkXVDNsL.js"), "../widgetConfigComps/config-timeline/index.vue": () => import("./index-DWKJ7CpO.js"), "../widgetConfigComps/config-title/index.vue": () => import("./index-C78PiK5v.js"), "../widgetConfigComps/config-transfer/index.vue": () => import("./index-DQ3y00Pa.js") })).map(([V, L]) => {
260083
260248
  const $ = V.match(/\/([^/]+)\/index\.vue$/);
260084
260249
  return [$ ? $[1] : null, VKe(L)];
260085
260250
  })