@fecp/designer 5.5.37 → 5.5.40

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.
@@ -26,7 +26,7 @@ require("../../../../node_modules/element-plus/es/index.js");
26
26
  ;/* empty css */
27
27
  ;/* empty css */
28
28
  ;/* empty css */
29
- const vue = require("vue");
29
+ const Vue = require("vue");
30
30
  const vueDraggablePlus = require("../../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js");
31
31
  const index$4 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
32
32
  const common = require("../utils/common.js");
@@ -94,15 +94,15 @@ const _sfc_main = {
94
94
  },
95
95
  emits: ["update:modelValue"],
96
96
  setup(__props) {
97
- const currentInstance = vue.getCurrentInstance();
97
+ const currentInstance = Vue.getCurrentInstance();
98
98
  const ctx = currentInstance.proxy;
99
- const editConfigData = vue.computed(() => {
99
+ const editConfigData = Vue.computed(() => {
100
100
  return common.getEditConfigData();
101
101
  });
102
- const dialogVisible = vue.useModel(__props, "modelValue");
103
- const selectedDialogs = vue.ref([]);
104
- const activeDialogIndex = vue.ref(-1);
105
- vue.watch(dialogVisible, (val) => {
102
+ const dialogVisible = Vue.useModel(__props, "modelValue");
103
+ const selectedDialogs = Vue.ref([]);
104
+ const activeDialogIndex = Vue.ref(-1);
105
+ Vue.watch(dialogVisible, (val) => {
106
106
  if (val) {
107
107
  isEditingNew.value = false;
108
108
  editingDialogIndex.value = -1;
@@ -112,10 +112,10 @@ const _sfc_main = {
112
112
  }
113
113
  }
114
114
  });
115
- const isEditingNew = vue.ref(false);
116
- const newDialogName = vue.ref("");
117
- const editingDialogIndex = vue.ref(-1);
118
- const editingDialogName = vue.ref("");
115
+ const isEditingNew = Vue.ref(false);
116
+ const newDialogName = Vue.ref("");
117
+ const editingDialogIndex = Vue.ref(-1);
118
+ const editingDialogName = Vue.ref("");
119
119
  const startAddDialog = () => {
120
120
  isEditingNew.value = true;
121
121
  newDialogName.value = "";
@@ -181,9 +181,9 @@ const _sfc_main = {
181
181
  common.setEditConfigDialogs(selectedDialogs.value);
182
182
  dialogVisible.value = false;
183
183
  };
184
- const tableOptions = vue.ref(null);
185
- const formOptions = vue.ref(null);
186
- const currentDialog = vue.computed(() => {
184
+ const tableOptions = Vue.ref(null);
185
+ const formOptions = Vue.ref(null);
186
+ const currentDialog = Vue.computed(() => {
187
187
  const data = selectedDialogs.value[activeDialogIndex.value];
188
188
  if (!data.fieldMapping) {
189
189
  data.fieldMapping = [];
@@ -220,11 +220,11 @@ const _sfc_main = {
220
220
  function formSelectorConfirm(data) {
221
221
  formOptions.value = data;
222
222
  }
223
- const tableMode = vue.computed(() => {
223
+ const tableMode = Vue.computed(() => {
224
224
  var _a;
225
225
  return (_a = tableOptions.value) == null ? void 0 : _a.mode;
226
226
  });
227
- const tableFields = vue.computed(() => {
227
+ const tableFields = Vue.computed(() => {
228
228
  var _a, _b, _c, _d;
229
229
  if (currentDialog.value.tableContent === "custom") {
230
230
  return ((_b = (_a = currentDialog.value) == null ? void 0 : _a.customTableConfig) == null ? void 0 : _b.fieldsData) || [];
@@ -235,7 +235,7 @@ const _sfc_main = {
235
235
  ];
236
236
  }
237
237
  });
238
- const formFooterBtn = vue.computed(() => {
238
+ const formFooterBtn = Vue.computed(() => {
239
239
  var _a;
240
240
  const btnList = (_a = formOptions.value) == null ? void 0 : _a.pageFooterConfig.actions;
241
241
  if (btnList) {
@@ -292,7 +292,7 @@ const _sfc_main = {
292
292
  const _component_el_checkbox = index$e.ElCheckbox;
293
293
  const _component_el_form = index$9.ElForm;
294
294
  const _component_el_dialog = index$1.ElDialog;
295
- return vue.openBlock(), vue.createBlock(_component_el_dialog, {
295
+ return Vue.openBlock(), Vue.createBlock(_component_el_dialog, {
296
296
  modelValue: dialogVisible.value,
297
297
  "onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => dialogVisible.value = $event),
298
298
  width: "50%",
@@ -302,130 +302,130 @@ const _sfc_main = {
302
302
  "append-to-body": "",
303
303
  class: "fec-dev-designer-dialog"
304
304
  }, {
305
- footer: vue.withCtx(() => [
306
- vue.createElementVNode("div", _hoisted_19, [
307
- vue.createVNode(_component_el_button, {
305
+ footer: Vue.withCtx(() => [
306
+ Vue.createElementVNode("div", _hoisted_19, [
307
+ Vue.createVNode(_component_el_button, {
308
308
  onClick: _cache[30] || (_cache[30] = ($event) => dialogVisible.value = false)
309
309
  }, {
310
- default: vue.withCtx(() => _cache[51] || (_cache[51] = [
311
- vue.createTextVNode("取消")
310
+ default: Vue.withCtx(() => _cache[51] || (_cache[51] = [
311
+ Vue.createTextVNode("取消")
312
312
  ])),
313
313
  _: 1
314
314
  }),
315
- vue.createVNode(_component_el_button, {
315
+ Vue.createVNode(_component_el_button, {
316
316
  type: "primary",
317
317
  onClick: onConfirm
318
318
  }, {
319
- default: vue.withCtx(() => _cache[52] || (_cache[52] = [
320
- vue.createTextVNode("确定")
319
+ default: Vue.withCtx(() => _cache[52] || (_cache[52] = [
320
+ Vue.createTextVNode("确定")
321
321
  ])),
322
322
  _: 1
323
323
  })
324
324
  ])
325
325
  ]),
326
- default: vue.withCtx(() => [
327
- vue.createVNode(_component_el_container, { style: { "border": "1px solid #ebeef5", "border-radius": "4px", "height": "600px" } }, {
328
- default: vue.withCtx(() => [
329
- vue.createVNode(_component_el_aside, { width: "300px" }, {
330
- default: vue.withCtx(() => [
331
- vue.createVNode(_component_el_container, null, {
332
- default: vue.withCtx(() => [
333
- vue.createVNode(_component_el_header, {
326
+ default: Vue.withCtx(() => [
327
+ Vue.createVNode(_component_el_container, { style: { "border": "1px solid #ebeef5", "border-radius": "4px", "height": "600px" } }, {
328
+ default: Vue.withCtx(() => [
329
+ Vue.createVNode(_component_el_aside, { width: "300px" }, {
330
+ default: Vue.withCtx(() => [
331
+ Vue.createVNode(_component_el_container, null, {
332
+ default: Vue.withCtx(() => [
333
+ Vue.createVNode(_component_el_header, {
334
334
  height: "40px",
335
335
  style: { "background-color": "#f2f2f2", "line-height": "40px" }
336
336
  }, {
337
- default: vue.withCtx(() => [
338
- vue.createVNode(_component_el_button, {
337
+ default: Vue.withCtx(() => [
338
+ Vue.createVNode(_component_el_button, {
339
339
  type: "primary",
340
340
  link: "",
341
- icon: vue.unref(index$4.Plus),
341
+ icon: Vue.unref(index$4.Plus),
342
342
  onClick: startAddDialog
343
343
  }, {
344
- default: vue.withCtx(() => _cache[32] || (_cache[32] = [
345
- vue.createTextVNode(" 新增弹层 ")
344
+ default: Vue.withCtx(() => _cache[32] || (_cache[32] = [
345
+ Vue.createTextVNode(" 新增弹层 ")
346
346
  ])),
347
347
  _: 1
348
348
  }, 8, ["icon"])
349
349
  ]),
350
350
  _: 1
351
351
  }),
352
- vue.createVNode(_component_el_main, { style: { "padding": "10px" } }, {
353
- default: vue.withCtx(() => [
354
- vue.unref(isEditingNew) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
355
- vue.createElementVNode("div", _hoisted_2, [
356
- vue.createElementVNode("div", _hoisted_3, [
357
- vue.createVNode(_component_el_input, {
358
- modelValue: vue.unref(newDialogName),
359
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(newDialogName) ? newDialogName.value = $event : null),
352
+ Vue.createVNode(_component_el_main, { style: { "padding": "10px" } }, {
353
+ default: Vue.withCtx(() => [
354
+ Vue.unref(isEditingNew) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
355
+ Vue.createElementVNode("div", _hoisted_2, [
356
+ Vue.createElementVNode("div", _hoisted_3, [
357
+ Vue.createVNode(_component_el_input, {
358
+ modelValue: Vue.unref(newDialogName),
359
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.isRef(newDialogName) ? newDialogName.value = $event : null),
360
360
  placeholder: "请输入弹层名称",
361
361
  size: "default",
362
- onKeyup: vue.withKeys(confirmAddDialog, ["enter"]),
362
+ onKeyup: Vue.withKeys(confirmAddDialog, ["enter"]),
363
363
  class: "new-item-input"
364
364
  }, null, 8, ["modelValue"]),
365
- vue.createElementVNode("div", _hoisted_4, [
366
- vue.createVNode(_component_el_button, {
365
+ Vue.createElementVNode("div", _hoisted_4, [
366
+ Vue.createVNode(_component_el_button, {
367
367
  size: "small",
368
- icon: vue.unref(index$4.Close),
368
+ icon: Vue.unref(index$4.Close),
369
369
  onClick: cancelAddDialog
370
370
  }, {
371
- default: vue.withCtx(() => _cache[33] || (_cache[33] = [
372
- vue.createTextVNode(" 取消 ")
371
+ default: Vue.withCtx(() => _cache[33] || (_cache[33] = [
372
+ Vue.createTextVNode(" 取消 ")
373
373
  ])),
374
374
  _: 1
375
375
  }, 8, ["icon"]),
376
- vue.createVNode(_component_el_button, {
376
+ Vue.createVNode(_component_el_button, {
377
377
  type: "primary",
378
378
  size: "small",
379
- icon: vue.unref(index$4.Check),
379
+ icon: Vue.unref(index$4.Check),
380
380
  onClick: confirmAddDialog
381
381
  }, {
382
- default: vue.withCtx(() => _cache[34] || (_cache[34] = [
383
- vue.createTextVNode(" 确认 ")
382
+ default: Vue.withCtx(() => _cache[34] || (_cache[34] = [
383
+ Vue.createTextVNode(" 确认 ")
384
384
  ])),
385
385
  _: 1
386
386
  }, 8, ["icon"])
387
387
  ])
388
388
  ])
389
389
  ])
390
- ])) : vue.createCommentVNode("", true),
391
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectedDialogs), (dialog, index2) => {
392
- return vue.openBlock(), vue.createElementBlock("div", {
390
+ ])) : Vue.createCommentVNode("", true),
391
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(selectedDialogs), (dialog, index2) => {
392
+ return Vue.openBlock(), Vue.createElementBlock("div", {
393
393
  key: index2,
394
- class: vue.normalizeClass([
394
+ class: Vue.normalizeClass([
395
395
  "dialog-menu-item",
396
- { "is-active": vue.unref(activeDialogIndex) === index2 }
396
+ { "is-active": Vue.unref(activeDialogIndex) === index2 }
397
397
  ]),
398
398
  onClick: ($event) => activeDialogIndex.value = index2
399
399
  }, [
400
- vue.createElementVNode("div", _hoisted_6, [
401
- vue.createElementVNode("div", _hoisted_7, [
402
- vue.withDirectives(vue.createVNode(_component_el_input, {
400
+ Vue.createElementVNode("div", _hoisted_6, [
401
+ Vue.createElementVNode("div", _hoisted_7, [
402
+ Vue.withDirectives(Vue.createVNode(_component_el_input, {
403
403
  onBlur: ($event) => onEditOutside(),
404
404
  maxlength: "30",
405
- modelValue: vue.unref(editingDialogName),
406
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(editingDialogName) ? editingDialogName.value = $event : null),
405
+ modelValue: Vue.unref(editingDialogName),
406
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => Vue.isRef(editingDialogName) ? editingDialogName.value = $event : null),
407
407
  size: "small"
408
408
  }, null, 8, ["onBlur", "modelValue"]), [
409
- [vue.vShow, vue.unref(editingDialogIndex) === index2]
409
+ [Vue.vShow, Vue.unref(editingDialogIndex) === index2]
410
410
  ]),
411
- vue.withDirectives(vue.createVNode(_component_el_link, {
411
+ Vue.withDirectives(Vue.createVNode(_component_el_link, {
412
412
  icon: "Edit",
413
- onClick: vue.withModifiers(($event) => startEditDialog(index2), ["stop"])
413
+ onClick: Vue.withModifiers(($event) => startEditDialog(index2), ["stop"])
414
414
  }, {
415
- default: vue.withCtx(() => [
416
- vue.createTextVNode(vue.toDisplayString(dialog.name), 1)
415
+ default: Vue.withCtx(() => [
416
+ Vue.createTextVNode(Vue.toDisplayString(dialog.name), 1)
417
417
  ]),
418
418
  _: 2
419
419
  }, 1032, ["onClick"]), [
420
- [vue.vShow, vue.unref(editingDialogIndex) !== index2]
420
+ [Vue.vShow, Vue.unref(editingDialogIndex) !== index2]
421
421
  ])
422
422
  ]),
423
- vue.createVNode(_component_el_icon, {
423
+ Vue.createVNode(_component_el_icon, {
424
424
  class: "delete-icon",
425
- onClick: vue.withModifiers(($event) => handleRemoveDialog(index2), ["stop"])
425
+ onClick: Vue.withModifiers(($event) => handleRemoveDialog(index2), ["stop"])
426
426
  }, {
427
- default: vue.withCtx(() => [
428
- vue.createVNode(vue.unref(index$4.Delete))
427
+ default: Vue.withCtx(() => [
428
+ Vue.createVNode(Vue.unref(index$4.Delete))
429
429
  ]),
430
430
  _: 2
431
431
  }, 1032, ["onClick"])
@@ -441,72 +441,72 @@ const _sfc_main = {
441
441
  ]),
442
442
  _: 1
443
443
  }),
444
- vue.createVNode(_component_el_main, { style: { "border-left": "1px solid #ebeef5", "padding": "0" } }, {
445
- default: vue.withCtx(() => [
446
- vue.unref(activeDialogIndex) !== -1 ? (vue.openBlock(), vue.createBlock(_component_el_container, {
444
+ Vue.createVNode(_component_el_main, { style: { "border-left": "1px solid #ebeef5", "padding": "0" } }, {
445
+ default: Vue.withCtx(() => [
446
+ Vue.unref(activeDialogIndex) !== -1 ? (Vue.openBlock(), Vue.createBlock(_component_el_container, {
447
447
  key: 0,
448
448
  style: { "height": "100%" }
449
449
  }, {
450
- default: vue.withCtx(() => [
451
- vue.createVNode(_component_el_header, {
450
+ default: Vue.withCtx(() => [
451
+ Vue.createVNode(_component_el_header, {
452
452
  height: "40px",
453
453
  class: "dialog-header"
454
454
  }, {
455
- default: vue.withCtx(() => [
456
- vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(currentDialog).name), 1)
455
+ default: Vue.withCtx(() => [
456
+ Vue.createElementVNode("div", null, Vue.toDisplayString(Vue.unref(currentDialog).name), 1)
457
457
  ]),
458
458
  _: 1
459
459
  }),
460
- vue.createVNode(_component_el_main, { style: { "padding": "12px 20px 0 20px" } }, {
461
- default: vue.withCtx(() => [
462
- vue.createVNode(_component_el_scrollbar, null, {
463
- default: vue.withCtx(() => [
464
- vue.createVNode(_component_el_form, {
465
- model: vue.unref(currentDialog),
460
+ Vue.createVNode(_component_el_main, { style: { "padding": "12px 20px 0 20px" } }, {
461
+ default: Vue.withCtx(() => [
462
+ Vue.createVNode(_component_el_scrollbar, null, {
463
+ default: Vue.withCtx(() => [
464
+ Vue.createVNode(_component_el_form, {
465
+ model: Vue.unref(currentDialog),
466
466
  "label-width": "130px",
467
467
  style: { "padding-right": "20px" },
468
468
  size: "small"
469
469
  }, {
470
- default: vue.withCtx(() => [
471
- vue.createVNode(_component_el_form_item, { label: "弹层标题" }, {
472
- default: vue.withCtx(() => [
473
- vue.createVNode(_component_el_input, {
474
- modelValue: vue.unref(currentDialog).dialogTitle,
475
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(currentDialog).dialogTitle = $event),
470
+ default: Vue.withCtx(() => [
471
+ Vue.createVNode(_component_el_form_item, { label: "弹层标题" }, {
472
+ default: Vue.withCtx(() => [
473
+ Vue.createVNode(_component_el_input, {
474
+ modelValue: Vue.unref(currentDialog).dialogTitle,
475
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => Vue.unref(currentDialog).dialogTitle = $event),
476
476
  placeholder: "请输入弹层标题",
477
477
  clearable: ""
478
478
  }, null, 8, ["modelValue"])
479
479
  ]),
480
480
  _: 1
481
481
  }),
482
- vue.createVNode(_component_el_form_item, { label: "弹层尺寸" }, {
483
- default: vue.withCtx(() => [
484
- vue.createVNode(_component_el_radio_group, {
485
- modelValue: vue.unref(currentDialog).dialogSize,
486
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(currentDialog).dialogSize = $event)
482
+ Vue.createVNode(_component_el_form_item, { label: "弹层尺寸" }, {
483
+ default: Vue.withCtx(() => [
484
+ Vue.createVNode(_component_el_radio_group, {
485
+ modelValue: Vue.unref(currentDialog).dialogSize,
486
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => Vue.unref(currentDialog).dialogSize = $event)
487
487
  }, {
488
- default: vue.withCtx(() => [
489
- vue.createVNode(_component_el_radio_button, { value: "standard" }, {
490
- default: vue.withCtx(() => _cache[35] || (_cache[35] = [
491
- vue.createTextVNode("标准")
488
+ default: Vue.withCtx(() => [
489
+ Vue.createVNode(_component_el_radio_button, { value: "standard" }, {
490
+ default: Vue.withCtx(() => _cache[35] || (_cache[35] = [
491
+ Vue.createTextVNode("标准")
492
492
  ])),
493
493
  _: 1
494
494
  }),
495
- vue.createVNode(_component_el_radio_button, { value: "large" }, {
496
- default: vue.withCtx(() => _cache[36] || (_cache[36] = [
497
- vue.createTextVNode("更大")
495
+ Vue.createVNode(_component_el_radio_button, { value: "large" }, {
496
+ default: Vue.withCtx(() => _cache[36] || (_cache[36] = [
497
+ Vue.createTextVNode("更大")
498
498
  ])),
499
499
  _: 1
500
500
  }),
501
- vue.createVNode(_component_el_radio_button, { value: "small" }, {
502
- default: vue.withCtx(() => _cache[37] || (_cache[37] = [
503
- vue.createTextVNode("更小")
501
+ Vue.createVNode(_component_el_radio_button, { value: "small" }, {
502
+ default: Vue.withCtx(() => _cache[37] || (_cache[37] = [
503
+ Vue.createTextVNode("更小")
504
504
  ])),
505
505
  _: 1
506
506
  }),
507
- vue.createVNode(_component_el_radio_button, { value: "custom" }, {
508
- default: vue.withCtx(() => _cache[38] || (_cache[38] = [
509
- vue.createTextVNode("自定义")
507
+ Vue.createVNode(_component_el_radio_button, { value: "custom" }, {
508
+ default: Vue.withCtx(() => _cache[38] || (_cache[38] = [
509
+ Vue.createTextVNode("自定义")
510
510
  ])),
511
511
  _: 1
512
512
  })
@@ -516,65 +516,65 @@ const _sfc_main = {
516
516
  ]),
517
517
  _: 1
518
518
  }),
519
- vue.unref(currentDialog).dialogSize === "custom" ? (vue.openBlock(), vue.createBlock(_component_el_form_item, {
519
+ Vue.unref(currentDialog).dialogSize === "custom" ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
520
520
  key: 0,
521
521
  label: "自定义尺寸"
522
522
  }, {
523
- default: vue.withCtx(() => [
524
- vue.createElementVNode("div", _hoisted_8, [
525
- vue.createVNode(_component_el_input, {
526
- modelValue: vue.unref(currentDialog).customWidth,
527
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(currentDialog).customWidth = $event),
523
+ default: Vue.withCtx(() => [
524
+ Vue.createElementVNode("div", _hoisted_8, [
525
+ Vue.createVNode(_component_el_input, {
526
+ modelValue: Vue.unref(currentDialog).customWidth,
527
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => Vue.unref(currentDialog).customWidth = $event),
528
528
  placeholder: "宽度,如:800px、60%",
529
529
  style: { "flex": "1" }
530
530
  }, null, 8, ["modelValue"]),
531
- vue.createVNode(_component_el_input, {
532
- modelValue: vue.unref(currentDialog).customMaxHeight,
533
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(currentDialog).customMaxHeight = $event),
531
+ Vue.createVNode(_component_el_input, {
532
+ modelValue: Vue.unref(currentDialog).customMaxHeight,
533
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => Vue.unref(currentDialog).customMaxHeight = $event),
534
534
  placeholder: "最大高度,如:600px、80vh",
535
535
  style: { "flex": "1" }
536
536
  }, null, 8, ["modelValue"])
537
537
  ])
538
538
  ]),
539
539
  _: 1
540
- })) : vue.createCommentVNode("", true),
541
- vue.createVNode(_component_el_form_item, { label: "弹层参数" }, {
542
- default: vue.withCtx(() => [
543
- vue.createVNode(ParamsConfig.default, {
544
- modelValue: vue.unref(currentDialog).dialogParams,
545
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(currentDialog).dialogParams = $event)
540
+ })) : Vue.createCommentVNode("", true),
541
+ Vue.createVNode(_component_el_form_item, { label: "弹层参数" }, {
542
+ default: Vue.withCtx(() => [
543
+ Vue.createVNode(ParamsConfig.default, {
544
+ modelValue: Vue.unref(currentDialog).dialogParams,
545
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => Vue.unref(currentDialog).dialogParams = $event)
546
546
  }, null, 8, ["modelValue"])
547
547
  ]),
548
548
  _: 1
549
549
  }),
550
- vue.createVNode(_component_el_form_item, { label: "弹层类型" }, {
551
- default: vue.withCtx(() => [
552
- vue.createVNode(_component_el_radio_group, {
553
- modelValue: vue.unref(currentDialog).contentSource,
554
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(currentDialog).contentSource = $event)
550
+ Vue.createVNode(_component_el_form_item, { label: "弹层类型" }, {
551
+ default: Vue.withCtx(() => [
552
+ Vue.createVNode(_component_el_radio_group, {
553
+ modelValue: Vue.unref(currentDialog).contentSource,
554
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => Vue.unref(currentDialog).contentSource = $event)
555
555
  }, {
556
- default: vue.withCtx(() => [
557
- vue.createVNode(_component_el_radio_button, { value: "table" }, {
558
- default: vue.withCtx(() => _cache[39] || (_cache[39] = [
559
- vue.createTextVNode("列表")
556
+ default: Vue.withCtx(() => [
557
+ Vue.createVNode(_component_el_radio_button, { value: "table" }, {
558
+ default: Vue.withCtx(() => _cache[39] || (_cache[39] = [
559
+ Vue.createTextVNode("列表")
560
560
  ])),
561
561
  _: 1
562
562
  }),
563
- vue.createVNode(_component_el_radio_button, { value: "form" }, {
564
- default: vue.withCtx(() => _cache[40] || (_cache[40] = [
565
- vue.createTextVNode("表单")
563
+ Vue.createVNode(_component_el_radio_button, { value: "form" }, {
564
+ default: Vue.withCtx(() => _cache[40] || (_cache[40] = [
565
+ Vue.createTextVNode("表单")
566
566
  ])),
567
567
  _: 1
568
568
  }),
569
- vue.createVNode(_component_el_radio_button, { value: "tree" }, {
570
- default: vue.withCtx(() => _cache[41] || (_cache[41] = [
571
- vue.createTextVNode("树形")
569
+ Vue.createVNode(_component_el_radio_button, { value: "tree" }, {
570
+ default: Vue.withCtx(() => _cache[41] || (_cache[41] = [
571
+ Vue.createTextVNode("树形")
572
572
  ])),
573
573
  _: 1
574
574
  }),
575
- vue.createVNode(_component_el_radio_button, { value: "component" }, {
576
- default: vue.withCtx(() => _cache[42] || (_cache[42] = [
577
- vue.createTextVNode("组件")
575
+ Vue.createVNode(_component_el_radio_button, { value: "component" }, {
576
+ default: Vue.withCtx(() => _cache[42] || (_cache[42] = [
577
+ Vue.createTextVNode("组件")
578
578
  ])),
579
579
  _: 1
580
580
  })
@@ -584,23 +584,23 @@ const _sfc_main = {
584
584
  ]),
585
585
  _: 1
586
586
  }),
587
- vue.unref(currentDialog).contentSource === "table" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
588
- vue.createVNode(_component_el_form_item, { label: "列表内容" }, {
589
- default: vue.withCtx(() => [
590
- vue.createVNode(_component_el_radio_group, {
591
- modelValue: vue.unref(currentDialog).tableContent,
592
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(currentDialog).tableContent = $event)
587
+ Vue.unref(currentDialog).contentSource === "table" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
588
+ Vue.createVNode(_component_el_form_item, { label: "列表内容" }, {
589
+ default: Vue.withCtx(() => [
590
+ Vue.createVNode(_component_el_radio_group, {
591
+ modelValue: Vue.unref(currentDialog).tableContent,
592
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => Vue.unref(currentDialog).tableContent = $event)
593
593
  }, {
594
- default: vue.withCtx(() => [
595
- vue.createVNode(_component_el_radio_button, { value: "select" }, {
596
- default: vue.withCtx(() => _cache[43] || (_cache[43] = [
597
- vue.createTextVNode("选择列表")
594
+ default: Vue.withCtx(() => [
595
+ Vue.createVNode(_component_el_radio_button, { value: "select" }, {
596
+ default: Vue.withCtx(() => _cache[43] || (_cache[43] = [
597
+ Vue.createTextVNode("选择列表")
598
598
  ])),
599
599
  _: 1
600
600
  }),
601
- vue.createVNode(_component_el_radio_button, { value: "custom" }, {
602
- default: vue.withCtx(() => _cache[44] || (_cache[44] = [
603
- vue.createTextVNode("自定义")
601
+ Vue.createVNode(_component_el_radio_button, { value: "custom" }, {
602
+ default: Vue.withCtx(() => _cache[44] || (_cache[44] = [
603
+ Vue.createTextVNode("自定义")
604
604
  ])),
605
605
  _: 1
606
606
  })
@@ -610,32 +610,32 @@ const _sfc_main = {
610
610
  ]),
611
611
  _: 1
612
612
  }),
613
- vue.unref(currentDialog).tableContent === "select" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
614
- vue.createVNode(_component_el_form_item, { label: "选择列表" }, {
615
- default: vue.withCtx(() => [
616
- vue.createVNode(TemplateSelector.default, {
617
- modelValue: vue.unref(currentDialog).subTableName,
618
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(currentDialog).subTableName = $event),
619
- templateKey: vue.unref(currentDialog).subTableKey,
620
- "onUpdate:templateKey": _cache[10] || (_cache[10] = ($event) => vue.unref(currentDialog).subTableKey = $event),
621
- templateId: vue.unref(currentDialog).subTableId,
622
- "onUpdate:templateId": _cache[11] || (_cache[11] = ($event) => vue.unref(currentDialog).subTableId = $event),
613
+ Vue.unref(currentDialog).tableContent === "select" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
614
+ Vue.createVNode(_component_el_form_item, { label: "选择列表" }, {
615
+ default: Vue.withCtx(() => [
616
+ Vue.createVNode(TemplateSelector.default, {
617
+ modelValue: Vue.unref(currentDialog).subTableName,
618
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => Vue.unref(currentDialog).subTableName = $event),
619
+ templateKey: Vue.unref(currentDialog).subTableKey,
620
+ "onUpdate:templateKey": _cache[10] || (_cache[10] = ($event) => Vue.unref(currentDialog).subTableKey = $event),
621
+ templateId: Vue.unref(currentDialog).subTableId,
622
+ "onUpdate:templateId": _cache[11] || (_cache[11] = ($event) => Vue.unref(currentDialog).subTableId = $event),
623
623
  templateType: "table",
624
624
  onConfirm: tableSelectorConfirm
625
625
  }, null, 8, ["modelValue", "templateKey", "templateId"])
626
626
  ]),
627
627
  _: 1
628
628
  }),
629
- vue.createVNode(_component_el_form_item, { label: "列表模式" }, {
630
- default: vue.withCtx(() => [
631
- vue.createVNode(_component_el_select, {
632
- modelValue: vue.unref(currentDialog).subTableMode,
633
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(currentDialog).subTableMode = $event),
629
+ Vue.createVNode(_component_el_form_item, { label: "列表模式" }, {
630
+ default: Vue.withCtx(() => [
631
+ Vue.createVNode(_component_el_select, {
632
+ modelValue: Vue.unref(currentDialog).subTableMode,
633
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => Vue.unref(currentDialog).subTableMode = $event),
634
634
  clearable: ""
635
635
  }, {
636
- default: vue.withCtx(() => [
637
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(tableMode), (mode) => {
638
- return vue.openBlock(), vue.createBlock(_component_el_option, {
636
+ default: Vue.withCtx(() => [
637
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(tableMode), (mode) => {
638
+ return Vue.openBlock(), Vue.createBlock(_component_el_option, {
639
639
  key: mode.key,
640
640
  label: mode.name,
641
641
  value: mode.key
@@ -647,77 +647,77 @@ const _sfc_main = {
647
647
  ]),
648
648
  _: 1
649
649
  })
650
- ], 64)) : vue.createCommentVNode("", true),
651
- vue.unref(currentDialog).tableContent === "custom" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
652
- vue.createVNode(_component_el_form_item, { label: "列配置" }, {
653
- default: vue.withCtx(() => [
654
- vue.createElementVNode("div", _hoisted_9, [
655
- vue.createElementVNode("div", _hoisted_10, [
656
- vue.createVNode(_component_el_button, {
650
+ ], 64)) : Vue.createCommentVNode("", true),
651
+ Vue.unref(currentDialog).tableContent === "custom" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
652
+ Vue.createVNode(_component_el_form_item, { label: "列配置" }, {
653
+ default: Vue.withCtx(() => [
654
+ Vue.createElementVNode("div", _hoisted_9, [
655
+ Vue.createElementVNode("div", _hoisted_10, [
656
+ Vue.createVNode(_component_el_button, {
657
657
  type: "primary",
658
658
  size: "small",
659
659
  onClick: addTableCol,
660
660
  icon: "Plus",
661
661
  link: ""
662
662
  }, {
663
- default: vue.withCtx(() => _cache[45] || (_cache[45] = [
664
- vue.createTextVNode(" 添加列配置 ")
663
+ default: Vue.withCtx(() => _cache[45] || (_cache[45] = [
664
+ Vue.createTextVNode(" 添加列配置 ")
665
665
  ])),
666
666
  _: 1
667
667
  })
668
668
  ]),
669
- vue.createElementVNode("div", _hoisted_11, [
670
- vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable), {
671
- modelValue: vue.unref(currentDialog).customTableConfig.fieldsData,
672
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(currentDialog).customTableConfig.fieldsData = $event),
669
+ Vue.createElementVNode("div", _hoisted_11, [
670
+ Vue.createVNode(Vue.unref(vueDraggablePlus.VueDraggable), {
671
+ modelValue: Vue.unref(currentDialog).customTableConfig.fieldsData,
672
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => Vue.unref(currentDialog).customTableConfig.fieldsData = $event),
673
673
  animation: 150,
674
674
  handle: ".drag-handle"
675
675
  }, {
676
- default: vue.withCtx(() => [
677
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(currentDialog).customTableConfig.fieldsData, (col, index2) => {
678
- return vue.openBlock(), vue.createElementBlock("div", {
676
+ default: Vue.withCtx(() => [
677
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(currentDialog).customTableConfig.fieldsData, (col, index2) => {
678
+ return Vue.openBlock(), Vue.createElementBlock("div", {
679
679
  key: index2,
680
680
  class: "col-rule-item"
681
681
  }, [
682
- vue.createElementVNode("div", _hoisted_12, [
683
- vue.createVNode(_component_el_icon, null, {
684
- default: vue.withCtx(() => [
685
- vue.createVNode(vue.unref(index$4.Rank))
682
+ Vue.createElementVNode("div", _hoisted_12, [
683
+ Vue.createVNode(_component_el_icon, null, {
684
+ default: Vue.withCtx(() => [
685
+ Vue.createVNode(Vue.unref(index$4.Rank))
686
686
  ]),
687
687
  _: 1
688
688
  })
689
689
  ]),
690
- vue.createVNode(_component_el_input, {
690
+ Vue.createVNode(_component_el_input, {
691
691
  modelValue: col.label,
692
692
  "onUpdate:modelValue": ($event) => col.label = $event,
693
693
  size: "small",
694
694
  placeholder: "列标题"
695
695
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
696
- vue.createVNode(_component_el_input, {
696
+ Vue.createVNode(_component_el_input, {
697
697
  modelValue: col.fieldName,
698
698
  "onUpdate:modelValue": ($event) => col.fieldName = $event,
699
699
  size: "small",
700
700
  placeholder: "字段名"
701
701
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
702
- vue.createElementVNode("div", _hoisted_13, [
703
- vue.createVNode(_component_el_popover, {
702
+ Vue.createElementVNode("div", _hoisted_13, [
703
+ Vue.createVNode(_component_el_popover, {
704
704
  placement: "right",
705
705
  width: 200,
706
706
  trigger: "click"
707
707
  }, {
708
- reference: vue.withCtx(() => [
709
- vue.createVNode(_component_el_button, {
710
- icon: vue.unref(index$4.Edit),
708
+ reference: Vue.withCtx(() => [
709
+ Vue.createVNode(_component_el_button, {
710
+ icon: Vue.unref(index$4.Edit),
711
711
  link: "",
712
712
  type: "primary",
713
713
  class: "edit-btn"
714
714
  }, null, 8, ["icon"])
715
715
  ]),
716
- default: vue.withCtx(() => [
717
- vue.createElementVNode("div", _hoisted_14, [
718
- vue.createVNode(_component_el_scrollbar, { "wrap-class": "col-property-scrollbar" }, {
719
- default: vue.withCtx(() => [
720
- vue.createVNode(widgets.default, {
716
+ default: Vue.withCtx(() => [
717
+ Vue.createElementVNode("div", _hoisted_14, [
718
+ Vue.createVNode(_component_el_scrollbar, { "wrap-class": "col-property-scrollbar" }, {
719
+ default: Vue.withCtx(() => [
720
+ Vue.createVNode(widgets.default, {
721
721
  column: col,
722
722
  isComp: ""
723
723
  }, null, 8, ["column"])
@@ -728,8 +728,8 @@ const _sfc_main = {
728
728
  ]),
729
729
  _: 2
730
730
  }, 1024),
731
- vue.createVNode(_component_el_button, {
732
- icon: vue.unref(index$4.Delete),
731
+ Vue.createVNode(_component_el_button, {
732
+ icon: Vue.unref(index$4.Delete),
733
733
  link: "",
734
734
  type: "danger",
735
735
  class: "delete-btn",
@@ -746,68 +746,68 @@ const _sfc_main = {
746
746
  ]),
747
747
  _: 1
748
748
  }),
749
- vue.createVNode(_component_el_form_item, { label: "主键字段" }, {
750
- default: vue.withCtx(() => [
751
- vue.createVNode(_component_el_input, {
752
- modelValue: vue.unref(currentDialog).customTableConfig.pkFieldName,
753
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(currentDialog).customTableConfig.pkFieldName = $event),
749
+ Vue.createVNode(_component_el_form_item, { label: "主键字段" }, {
750
+ default: Vue.withCtx(() => [
751
+ Vue.createVNode(_component_el_input, {
752
+ modelValue: Vue.unref(currentDialog).customTableConfig.pkFieldName,
753
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => Vue.unref(currentDialog).customTableConfig.pkFieldName = $event),
754
754
  placeholder: "请输入主键字段",
755
755
  clearable: ""
756
756
  }, null, 8, ["modelValue"])
757
757
  ]),
758
758
  _: 1
759
759
  }),
760
- vue.createVNode(_component_el_form_item, { label: "数据源" }, {
761
- default: vue.withCtx(() => [
762
- vue.createVNode(DataSourceSelect.default, {
763
- modelValue: vue.unref(currentDialog).customTableConfig.dataSourceId,
764
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(currentDialog).customTableConfig.dataSourceId = $event)
760
+ Vue.createVNode(_component_el_form_item, { label: "数据源" }, {
761
+ default: Vue.withCtx(() => [
762
+ Vue.createVNode(DataSourceSelect.default, {
763
+ modelValue: Vue.unref(currentDialog).customTableConfig.dataSourceId,
764
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => Vue.unref(currentDialog).customTableConfig.dataSourceId = $event)
765
765
  }, null, 8, ["modelValue"])
766
766
  ]),
767
767
  _: 1
768
768
  })
769
- ], 64)) : vue.createCommentVNode("", true),
770
- vue.createVNode(_component_el_form_item, { label: "是否翻页" }, {
771
- default: vue.withCtx(() => [
772
- vue.createVNode(_component_el_switch, {
773
- modelValue: vue.unref(currentDialog).isSubTablePagination,
774
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(currentDialog).isSubTablePagination = $event)
769
+ ], 64)) : Vue.createCommentVNode("", true),
770
+ Vue.createVNode(_component_el_form_item, { label: "是否翻页" }, {
771
+ default: Vue.withCtx(() => [
772
+ Vue.createVNode(_component_el_switch, {
773
+ modelValue: Vue.unref(currentDialog).isSubTablePagination,
774
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => Vue.unref(currentDialog).isSubTablePagination = $event)
775
775
  }, null, 8, ["modelValue"])
776
776
  ]),
777
777
  _: 1
778
778
  }),
779
- vue.createVNode(_component_el_form_item, { label: "是否只读" }, {
780
- default: vue.withCtx(() => [
781
- vue.createVNode(_component_el_switch, {
782
- modelValue: vue.unref(currentDialog).isSubTableReadOnly,
783
- "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(currentDialog).isSubTableReadOnly = $event)
779
+ Vue.createVNode(_component_el_form_item, { label: "是否只读" }, {
780
+ default: Vue.withCtx(() => [
781
+ Vue.createVNode(_component_el_switch, {
782
+ modelValue: Vue.unref(currentDialog).isSubTableReadOnly,
783
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => Vue.unref(currentDialog).isSubTableReadOnly = $event)
784
784
  }, null, 8, ["modelValue"])
785
785
  ]),
786
786
  _: 1
787
787
  }),
788
- !vue.unref(currentDialog).isSubTableReadOnly ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
789
- vue.createVNode(_component_el_form_item, { label: "选择模式" }, {
790
- default: vue.withCtx(() => [
791
- vue.createVNode(_component_el_radio_group, {
792
- modelValue: vue.unref(currentDialog).selectionMode,
793
- "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => vue.unref(currentDialog).selectionMode = $event)
788
+ !Vue.unref(currentDialog).isSubTableReadOnly ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 2 }, [
789
+ Vue.createVNode(_component_el_form_item, { label: "选择模式" }, {
790
+ default: Vue.withCtx(() => [
791
+ Vue.createVNode(_component_el_radio_group, {
792
+ modelValue: Vue.unref(currentDialog).selectionMode,
793
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => Vue.unref(currentDialog).selectionMode = $event)
794
794
  }, {
795
- default: vue.withCtx(() => [
796
- vue.createVNode(_component_el_radio_button, { value: "none" }, {
797
- default: vue.withCtx(() => _cache[46] || (_cache[46] = [
798
- vue.createTextVNode("无")
795
+ default: Vue.withCtx(() => [
796
+ Vue.createVNode(_component_el_radio_button, { value: "none" }, {
797
+ default: Vue.withCtx(() => _cache[46] || (_cache[46] = [
798
+ Vue.createTextVNode("无")
799
799
  ])),
800
800
  _: 1
801
801
  }),
802
- vue.createVNode(_component_el_radio_button, { value: "single" }, {
803
- default: vue.withCtx(() => _cache[47] || (_cache[47] = [
804
- vue.createTextVNode("单选")
802
+ Vue.createVNode(_component_el_radio_button, { value: "single" }, {
803
+ default: Vue.withCtx(() => _cache[47] || (_cache[47] = [
804
+ Vue.createTextVNode("单选")
805
805
  ])),
806
806
  _: 1
807
807
  }),
808
- vue.createVNode(_component_el_radio_button, { value: "multiple" }, {
809
- default: vue.withCtx(() => _cache[48] || (_cache[48] = [
810
- vue.createTextVNode("多选")
808
+ Vue.createVNode(_component_el_radio_button, { value: "multiple" }, {
809
+ default: Vue.withCtx(() => _cache[48] || (_cache[48] = [
810
+ Vue.createTextVNode("多选")
811
811
  ])),
812
812
  _: 1
813
813
  })
@@ -817,89 +817,89 @@ const _sfc_main = {
817
817
  ]),
818
818
  _: 1
819
819
  }),
820
- vue.unref(currentDialog).selectionMode != "none" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
821
- vue.createVNode(_component_el_form_item, { label: "选取后反显格式" }, {
822
- default: vue.withCtx(() => [
823
- vue.createVNode(vue.unref(FormulaEditorInput.default), {
820
+ Vue.unref(currentDialog).selectionMode != "none" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
821
+ Vue.createVNode(_component_el_form_item, { label: "选取后反显格式" }, {
822
+ default: Vue.withCtx(() => [
823
+ Vue.createVNode(Vue.unref(FormulaEditorInput.default), {
824
824
  title: "反显格式配置",
825
- formulaConf: vue.unref(currentDialog).displayFormat,
826
- "onUpdate:formulaConf": _cache[19] || (_cache[19] = ($event) => vue.unref(currentDialog).displayFormat = $event),
827
- modelValue: vue.unref(currentDialog).displayFormatText,
828
- "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => vue.unref(currentDialog).displayFormatText = $event),
829
- fieldList: vue.unref(tableFields)
825
+ formulaConf: Vue.unref(currentDialog).displayFormat,
826
+ "onUpdate:formulaConf": _cache[19] || (_cache[19] = ($event) => Vue.unref(currentDialog).displayFormat = $event),
827
+ modelValue: Vue.unref(currentDialog).displayFormatText,
828
+ "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => Vue.unref(currentDialog).displayFormatText = $event),
829
+ fieldList: Vue.unref(tableFields)
830
830
  }, null, 8, ["formulaConf", "modelValue", "fieldList"])
831
831
  ]),
832
832
  _: 1
833
833
  }),
834
- vue.unref(currentDialog).selectionMode == "single" ? (vue.openBlock(), vue.createBlock(_component_el_form_item, {
834
+ Vue.unref(currentDialog).selectionMode == "single" ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
835
835
  key: 0,
836
836
  label: "行数据全部赋值表单"
837
837
  }, {
838
- default: vue.withCtx(() => [
839
- vue.createVNode(_component_el_switch, {
840
- modelValue: vue.unref(currentDialog).isRowDataAssignToForm,
841
- "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => vue.unref(currentDialog).isRowDataAssignToForm = $event)
838
+ default: Vue.withCtx(() => [
839
+ Vue.createVNode(_component_el_switch, {
840
+ modelValue: Vue.unref(currentDialog).isRowDataAssignToForm,
841
+ "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => Vue.unref(currentDialog).isRowDataAssignToForm = $event)
842
842
  }, null, 8, ["modelValue"])
843
843
  ]),
844
844
  _: 1
845
- })) : vue.createCommentVNode("", true),
846
- vue.createVNode(_component_el_form_item, { label: "选取后表单赋值映射" }, {
847
- default: vue.withCtx(() => [
848
- vue.createVNode(FieldSetMapping.default, {
849
- modelValue: vue.unref(currentDialog).fieldMapping,
850
- "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => vue.unref(currentDialog).fieldMapping = $event),
845
+ })) : Vue.createCommentVNode("", true),
846
+ Vue.createVNode(_component_el_form_item, { label: "选取后表单赋值映射" }, {
847
+ default: Vue.withCtx(() => [
848
+ Vue.createVNode(FieldSetMapping.default, {
849
+ modelValue: Vue.unref(currentDialog).fieldMapping,
850
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => Vue.unref(currentDialog).fieldMapping = $event),
851
851
  fieldLabel: "赋值表单字段",
852
852
  valueLabel: "列表字段",
853
- valueOptions: vue.unref(tableFields),
853
+ valueOptions: Vue.unref(tableFields),
854
854
  valueSelectMode: ""
855
855
  }, null, 8, ["modelValue", "valueOptions"])
856
856
  ]),
857
857
  _: 1
858
858
  })
859
- ], 64)) : vue.createCommentVNode("", true),
860
- vue.createVNode(_component_el_form_item, { label: "回调事件配置" }, {
861
- default: vue.withCtx(() => [
862
- vue.createVNode(OnlyFLowConfigButton.default, {
863
- config: vue.unref(currentDialog).callbackEventConfig,
859
+ ], 64)) : Vue.createCommentVNode("", true),
860
+ Vue.createVNode(_component_el_form_item, { label: "回调事件配置" }, {
861
+ default: Vue.withCtx(() => [
862
+ Vue.createVNode(OnlyFLowConfigButton.default, {
863
+ config: Vue.unref(currentDialog).callbackEventConfig,
864
864
  onConfirm: handleOnlyFlowConfirm
865
865
  }, null, 8, ["config"])
866
866
  ]),
867
867
  _: 1
868
868
  })
869
- ], 64)) : vue.createCommentVNode("", true)
870
- ], 64)) : vue.createCommentVNode("", true),
871
- vue.unref(currentDialog).contentSource === "form" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
872
- vue.createVNode(_component_el_form_item, { label: "选择表单" }, {
873
- default: vue.withCtx(() => [
874
- vue.createVNode(TemplateSelector.default, {
875
- modelValue: vue.unref(currentDialog).subFormName,
876
- "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => vue.unref(currentDialog).subFormName = $event),
877
- templateKey: vue.unref(currentDialog).subFormKey,
878
- "onUpdate:templateKey": _cache[24] || (_cache[24] = ($event) => vue.unref(currentDialog).subFormKey = $event),
879
- templateId: vue.unref(currentDialog).subFormId,
880
- "onUpdate:templateId": _cache[25] || (_cache[25] = ($event) => vue.unref(currentDialog).subFormId = $event),
869
+ ], 64)) : Vue.createCommentVNode("", true)
870
+ ], 64)) : Vue.createCommentVNode("", true),
871
+ Vue.unref(currentDialog).contentSource === "form" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 2 }, [
872
+ Vue.createVNode(_component_el_form_item, { label: "选择表单" }, {
873
+ default: Vue.withCtx(() => [
874
+ Vue.createVNode(TemplateSelector.default, {
875
+ modelValue: Vue.unref(currentDialog).subFormName,
876
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => Vue.unref(currentDialog).subFormName = $event),
877
+ templateKey: Vue.unref(currentDialog).subFormKey,
878
+ "onUpdate:templateKey": _cache[24] || (_cache[24] = ($event) => Vue.unref(currentDialog).subFormKey = $event),
879
+ templateId: Vue.unref(currentDialog).subFormId,
880
+ "onUpdate:templateId": _cache[25] || (_cache[25] = ($event) => Vue.unref(currentDialog).subFormId = $event),
881
881
  templateType: "form",
882
882
  onConfirm: formSelectorConfirm
883
883
  }, null, 8, ["modelValue", "templateKey", "templateId"])
884
884
  ]),
885
885
  _: 1
886
886
  }),
887
- vue.createVNode(_component_el_form_item, { label: "表单模式" }, {
888
- default: vue.withCtx(() => [
889
- vue.createVNode(_component_el_radio_group, {
890
- modelValue: vue.unref(currentDialog).subFormMode,
891
- "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => vue.unref(currentDialog).subFormMode = $event)
887
+ Vue.createVNode(_component_el_form_item, { label: "表单模式" }, {
888
+ default: Vue.withCtx(() => [
889
+ Vue.createVNode(_component_el_radio_group, {
890
+ modelValue: Vue.unref(currentDialog).subFormMode,
891
+ "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => Vue.unref(currentDialog).subFormMode = $event)
892
892
  }, {
893
- default: vue.withCtx(() => [
894
- vue.createVNode(_component_el_radio_button, { value: "edit" }, {
895
- default: vue.withCtx(() => _cache[49] || (_cache[49] = [
896
- vue.createTextVNode("编辑")
893
+ default: Vue.withCtx(() => [
894
+ Vue.createVNode(_component_el_radio_button, { value: "edit" }, {
895
+ default: Vue.withCtx(() => _cache[49] || (_cache[49] = [
896
+ Vue.createTextVNode("编辑")
897
897
  ])),
898
898
  _: 1
899
899
  }),
900
- vue.createVNode(_component_el_radio_button, { value: "query" }, {
901
- default: vue.withCtx(() => _cache[50] || (_cache[50] = [
902
- vue.createTextVNode("查看")
900
+ Vue.createVNode(_component_el_radio_button, { value: "query" }, {
901
+ default: Vue.withCtx(() => _cache[50] || (_cache[50] = [
902
+ Vue.createTextVNode("查看")
903
903
  ])),
904
904
  _: 1
905
905
  })
@@ -909,18 +909,18 @@ const _sfc_main = {
909
909
  ]),
910
910
  _: 1
911
911
  }),
912
- vue.createVNode(_component_el_form_item, { label: "表单底部按钮" }, {
913
- default: vue.withCtx(() => [
914
- vue.createElementVNode("div", _hoisted_15, [
915
- !vue.unref(formFooterBtn) || vue.unref(formFooterBtn).length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16, " 暂无可用按钮 ")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, [
916
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(formFooterBtn), (btn) => {
917
- return vue.openBlock(), vue.createBlock(_component_el_checkbox, {
912
+ Vue.createVNode(_component_el_form_item, { label: "表单底部按钮" }, {
913
+ default: Vue.withCtx(() => [
914
+ Vue.createElementVNode("div", _hoisted_15, [
915
+ !Vue.unref(formFooterBtn) || Vue.unref(formFooterBtn).length === 0 ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_16, " 暂无可用按钮 ")) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_17, [
916
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(formFooterBtn), (btn) => {
917
+ return Vue.openBlock(), Vue.createBlock(_component_el_checkbox, {
918
918
  key: btn.id,
919
919
  "model-value": isButtonSelected(btn.id),
920
920
  onChange: ($event) => toggleButton(btn)
921
921
  }, {
922
- default: vue.withCtx(() => [
923
- vue.createTextVNode(vue.toDisplayString(btn.label), 1)
922
+ default: Vue.withCtx(() => [
923
+ Vue.createTextVNode(Vue.toDisplayString(btn.label), 1)
924
924
  ]),
925
925
  _: 2
926
926
  }, 1032, ["model-value", "onChange"]);
@@ -930,38 +930,38 @@ const _sfc_main = {
930
930
  ]),
931
931
  _: 1
932
932
  })
933
- ], 64)) : vue.createCommentVNode("", true),
934
- vue.unref(currentDialog).contentSource === "component" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
935
- vue.createVNode(_component_el_form_item, { label: "组件路由地址" }, {
936
- default: vue.withCtx(() => [
937
- vue.createVNode(_component_el_input, {
938
- modelValue: vue.unref(currentDialog).componentPath,
939
- "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => vue.unref(currentDialog).componentPath = $event),
933
+ ], 64)) : Vue.createCommentVNode("", true),
934
+ Vue.unref(currentDialog).contentSource === "component" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 3 }, [
935
+ Vue.createVNode(_component_el_form_item, { label: "组件路由地址" }, {
936
+ default: Vue.withCtx(() => [
937
+ Vue.createVNode(_component_el_input, {
938
+ modelValue: Vue.unref(currentDialog).componentPath,
939
+ "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => Vue.unref(currentDialog).componentPath = $event),
940
940
  placeholder: "请输入组件路径",
941
941
  clearable: ""
942
942
  }, null, 8, ["modelValue"])
943
943
  ]),
944
944
  _: 1
945
945
  }),
946
- vue.createVNode(_component_el_form_item, { label: "组件参数" }, {
947
- default: vue.withCtx(() => [
948
- vue.createVNode(ParamsConfig.default, {
949
- modelValue: vue.unref(currentDialog).componentParams,
950
- "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => vue.unref(currentDialog).componentParams = $event)
946
+ Vue.createVNode(_component_el_form_item, { label: "组件参数" }, {
947
+ default: Vue.withCtx(() => [
948
+ Vue.createVNode(ParamsConfig.default, {
949
+ modelValue: Vue.unref(currentDialog).componentParams,
950
+ "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => Vue.unref(currentDialog).componentParams = $event)
951
951
  }, null, 8, ["modelValue"])
952
952
  ]),
953
953
  _: 1
954
954
  }),
955
- vue.createVNode(_component_el_form_item, { label: "组件是否是弹层" }, {
956
- default: vue.withCtx(() => [
957
- vue.createVNode(_component_el_switch, {
958
- modelValue: vue.unref(currentDialog).componentIsDialog,
959
- "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => vue.unref(currentDialog).componentIsDialog = $event)
955
+ Vue.createVNode(_component_el_form_item, { label: "组件是否是弹层" }, {
956
+ default: Vue.withCtx(() => [
957
+ Vue.createVNode(_component_el_switch, {
958
+ modelValue: Vue.unref(currentDialog).componentIsDialog,
959
+ "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => Vue.unref(currentDialog).componentIsDialog = $event)
960
960
  }, null, 8, ["modelValue"])
961
961
  ]),
962
962
  _: 1
963
963
  })
964
- ], 64)) : vue.createCommentVNode("", true)
964
+ ], 64)) : Vue.createCommentVNode("", true)
965
965
  ]),
966
966
  _: 1
967
967
  }, 8, ["model"])
@@ -973,7 +973,7 @@ const _sfc_main = {
973
973
  })
974
974
  ]),
975
975
  _: 1
976
- })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_18, "请从左侧选择一个弹层"))
976
+ })) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_18, "请从左侧选择一个弹层"))
977
977
  ]),
978
978
  _: 1
979
979
  })