@fecp/designer 5.5.39 → 5.5.43

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.
Files changed (39) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
  3. package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
  4. package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
  5. package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
  6. package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
  7. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
  8. package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
  9. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
  10. package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
  11. package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
  12. package/es/designer/src/packages/prod/index.vue.mjs +1 -1
  13. package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
  14. package/es/designer.css +48 -16
  15. package/es/packages/vue/src/components/details/footer/Footer.vue.mjs +16 -5
  16. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +24 -14
  17. package/es/packages/vue/src/components/forms/formItem/FormItem.vue.mjs +1 -1
  18. package/es/packages/vue/src/components/forms/subForm/SubForm.vue.mjs +1 -0
  19. package/lib/designer/package.json.js +1 -1
  20. package/lib/designer/src/components/DocumentParam.vue.js +1 -1
  21. package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
  22. package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
  23. package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
  24. package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
  25. package/lib/designer/src/packages/dialog/index.vue2.js +326 -326
  26. package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
  27. package/lib/designer/src/packages/dialogGlobal/index.vue2.js +297 -297
  28. package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
  29. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
  30. package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
  31. package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
  32. package/lib/designer/src/packages/prod/index.vue.js +1 -1
  33. package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
  34. package/lib/designer.css +48 -16
  35. package/lib/packages/vue/src/components/details/footer/Footer.vue.js +15 -4
  36. package/lib/packages/vue/src/components/forms/form/Form.vue.js +24 -14
  37. package/lib/packages/vue/src/components/forms/formItem/FormItem.vue.js +1 -1
  38. package/lib/packages/vue/src/components/forms/subForm/SubForm.vue.js +1 -0
  39. package/package.json +1 -1
@@ -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$5 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
32
32
  const common = require("../utils/common.js");
@@ -158,17 +158,17 @@ const _sfc_main = {
158
158
  },
159
159
  emits: ["update:modelValue"],
160
160
  setup(__props) {
161
- const currentInstance = vue.getCurrentInstance();
161
+ const currentInstance = Vue.getCurrentInstance();
162
162
  const ctx = currentInstance.proxy;
163
- const editConfigData = vue.computed(() => {
163
+ const editConfigData = Vue.computed(() => {
164
164
  return common.getEditConfigData();
165
165
  });
166
- const dialogVisible = vue.useModel(__props, "modelValue");
167
- const loading = vue.ref(false);
168
- const saving = vue.ref(false);
169
- const selectedDialogs = vue.ref([]);
170
- const activeDialogIndex = vue.ref(-1);
171
- vue.watch(dialogVisible, async (val) => {
166
+ const dialogVisible = Vue.useModel(__props, "modelValue");
167
+ const loading = Vue.ref(false);
168
+ const saving = Vue.ref(false);
169
+ const selectedDialogs = Vue.ref([]);
170
+ const activeDialogIndex = Vue.ref(-1);
171
+ Vue.watch(dialogVisible, async (val) => {
172
172
  if (val) {
173
173
  isEditingNew.value = false;
174
174
  editingDialogIndex.value = -1;
@@ -195,10 +195,10 @@ const _sfc_main = {
195
195
  }
196
196
  }
197
197
  });
198
- const isEditingNew = vue.ref(false);
199
- const newDialogName = vue.ref("");
200
- const editingDialogIndex = vue.ref(-1);
201
- const editingDialogName = vue.ref("");
198
+ const isEditingNew = Vue.ref(false);
199
+ const newDialogName = Vue.ref("");
200
+ const editingDialogIndex = Vue.ref(-1);
201
+ const editingDialogName = Vue.ref("");
202
202
  const startAddDialog = () => {
203
203
  isEditingNew.value = true;
204
204
  newDialogName.value = "";
@@ -297,9 +297,9 @@ const _sfc_main = {
297
297
  saving.value = false;
298
298
  }
299
299
  };
300
- const tableOptions = vue.ref(null);
301
- const formOptions = vue.ref(null);
302
- const currentDialog = vue.computed(() => {
300
+ const tableOptions = Vue.ref(null);
301
+ const formOptions = Vue.ref(null);
302
+ const currentDialog = Vue.computed(() => {
303
303
  const data = selectedDialogs.value[activeDialogIndex.value];
304
304
  if (!data.fieldMapping) {
305
305
  data.fieldMapping = [];
@@ -336,11 +336,11 @@ const _sfc_main = {
336
336
  function formSelectorConfirm(data) {
337
337
  formOptions.value = data;
338
338
  }
339
- const tableMode = vue.computed(() => {
339
+ const tableMode = Vue.computed(() => {
340
340
  var _a;
341
341
  return (_a = tableOptions.value) == null ? void 0 : _a.mode;
342
342
  });
343
- vue.computed(() => {
343
+ Vue.computed(() => {
344
344
  var _a, _b, _c, _d;
345
345
  if (currentDialog.value.tableContent === "custom") {
346
346
  return ((_b = (_a = currentDialog.value) == null ? void 0 : _a.customTableConfig) == null ? void 0 : _b.fieldsData) || [];
@@ -351,7 +351,7 @@ const _sfc_main = {
351
351
  ];
352
352
  }
353
353
  });
354
- const formFooterBtn = vue.computed(() => {
354
+ const formFooterBtn = Vue.computed(() => {
355
355
  var _a;
356
356
  const btnList = (_a = formOptions.value) == null ? void 0 : _a.pageFooterConfig.actions;
357
357
  if (btnList) {
@@ -405,7 +405,7 @@ const _sfc_main = {
405
405
  const _component_el_checkbox = index$f.ElCheckbox;
406
406
  const _component_el_form = index$a.ElForm;
407
407
  const _component_el_dialog = index$2.ElDialog;
408
- return vue.openBlock(), vue.createBlock(_component_el_dialog, {
408
+ return Vue.openBlock(), Vue.createBlock(_component_el_dialog, {
409
409
  modelValue: dialogVisible.value,
410
410
  "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => dialogVisible.value = $event),
411
411
  width: "50%",
@@ -414,146 +414,146 @@ const _sfc_main = {
414
414
  overflow: "",
415
415
  "append-to-body": "",
416
416
  class: "fec-dev-designer-dialog",
417
- "close-on-click-modal": !vue.unref(saving),
418
- "close-on-press-escape": !vue.unref(saving),
419
- "show-close": !vue.unref(saving)
417
+ "close-on-click-modal": !Vue.unref(saving),
418
+ "close-on-press-escape": !Vue.unref(saving),
419
+ "show-close": !Vue.unref(saving)
420
420
  }, {
421
- footer: vue.withCtx(() => [
422
- vue.createElementVNode("div", _hoisted_21, [
423
- vue.createVNode(_component_el_button, {
421
+ footer: Vue.withCtx(() => [
422
+ Vue.createElementVNode("div", _hoisted_21, [
423
+ Vue.createVNode(_component_el_button, {
424
424
  onClick: _cache[25] || (_cache[25] = ($event) => dialogVisible.value = false),
425
- disabled: vue.unref(saving)
425
+ disabled: Vue.unref(saving)
426
426
  }, {
427
- default: vue.withCtx(() => _cache[43] || (_cache[43] = [
428
- vue.createTextVNode("取消")
427
+ default: Vue.withCtx(() => _cache[43] || (_cache[43] = [
428
+ Vue.createTextVNode("取消")
429
429
  ])),
430
430
  _: 1
431
431
  }, 8, ["disabled"]),
432
- vue.createVNode(_component_el_button, {
432
+ Vue.createVNode(_component_el_button, {
433
433
  type: "primary",
434
434
  onClick: onConfirm,
435
- loading: vue.unref(saving),
436
- disabled: vue.unref(loading) || vue.unref(saving)
435
+ loading: Vue.unref(saving),
436
+ disabled: Vue.unref(loading) || Vue.unref(saving)
437
437
  }, {
438
- default: vue.withCtx(() => _cache[44] || (_cache[44] = [
439
- vue.createTextVNode(" 确定 ")
438
+ default: Vue.withCtx(() => _cache[44] || (_cache[44] = [
439
+ Vue.createTextVNode(" 确定 ")
440
440
  ])),
441
441
  _: 1
442
442
  }, 8, ["loading", "disabled"])
443
443
  ])
444
444
  ]),
445
- default: vue.withCtx(() => [
446
- vue.createVNode(_component_el_container, { style: { "border": "1px solid #ebeef5", "border-radius": "4px", "height": "600px", "position": "relative" } }, {
447
- default: vue.withCtx(() => [
448
- vue.unref(loading) || vue.unref(saving) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
449
- vue.createVNode(_component_el_icon, { class: "loading-icon" }, {
450
- default: vue.withCtx(() => [
451
- vue.createVNode(vue.unref(index$5.Loading))
445
+ default: Vue.withCtx(() => [
446
+ Vue.createVNode(_component_el_container, { style: { "border": "1px solid #ebeef5", "border-radius": "4px", "height": "600px", "position": "relative" } }, {
447
+ default: Vue.withCtx(() => [
448
+ Vue.unref(loading) || Vue.unref(saving) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
449
+ Vue.createVNode(_component_el_icon, { class: "loading-icon" }, {
450
+ default: Vue.withCtx(() => [
451
+ Vue.createVNode(Vue.unref(index$5.Loading))
452
452
  ]),
453
453
  _: 1
454
454
  }),
455
- vue.createElementVNode("div", _hoisted_2, vue.toDisplayString(vue.unref(loading) ? "加载中..." : "保存中..."), 1)
456
- ])) : vue.createCommentVNode("", true),
457
- vue.createVNode(_component_el_aside, { width: "300px" }, {
458
- default: vue.withCtx(() => [
459
- vue.createVNode(_component_el_container, null, {
460
- default: vue.withCtx(() => [
461
- vue.createVNode(_component_el_header, {
455
+ Vue.createElementVNode("div", _hoisted_2, Vue.toDisplayString(Vue.unref(loading) ? "加载中..." : "保存中..."), 1)
456
+ ])) : Vue.createCommentVNode("", true),
457
+ Vue.createVNode(_component_el_aside, { width: "300px" }, {
458
+ default: Vue.withCtx(() => [
459
+ Vue.createVNode(_component_el_container, null, {
460
+ default: Vue.withCtx(() => [
461
+ Vue.createVNode(_component_el_header, {
462
462
  height: "40px",
463
463
  style: { "background-color": "#f2f2f2", "line-height": "40px" }
464
464
  }, {
465
- default: vue.withCtx(() => [
466
- vue.createVNode(_component_el_button, {
465
+ default: Vue.withCtx(() => [
466
+ Vue.createVNode(_component_el_button, {
467
467
  type: "primary",
468
468
  link: "",
469
- icon: vue.unref(index$5.Plus),
469
+ icon: Vue.unref(index$5.Plus),
470
470
  onClick: startAddDialog
471
471
  }, {
472
- default: vue.withCtx(() => _cache[27] || (_cache[27] = [
473
- vue.createTextVNode(" 新增弹层 ")
472
+ default: Vue.withCtx(() => _cache[27] || (_cache[27] = [
473
+ Vue.createTextVNode(" 新增弹层 ")
474
474
  ])),
475
475
  _: 1
476
476
  }, 8, ["icon"])
477
477
  ]),
478
478
  _: 1
479
479
  }),
480
- vue.createVNode(_component_el_main, { style: { "padding": "10px" } }, {
481
- default: vue.withCtx(() => [
482
- vue.unref(isEditingNew) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
483
- vue.createElementVNode("div", _hoisted_4, [
484
- vue.createElementVNode("div", _hoisted_5, [
485
- vue.createVNode(_component_el_input, {
486
- modelValue: vue.unref(newDialogName),
487
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(newDialogName) ? newDialogName.value = $event : null),
480
+ Vue.createVNode(_component_el_main, { style: { "padding": "10px" } }, {
481
+ default: Vue.withCtx(() => [
482
+ Vue.unref(isEditingNew) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3, [
483
+ Vue.createElementVNode("div", _hoisted_4, [
484
+ Vue.createElementVNode("div", _hoisted_5, [
485
+ Vue.createVNode(_component_el_input, {
486
+ modelValue: Vue.unref(newDialogName),
487
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.isRef(newDialogName) ? newDialogName.value = $event : null),
488
488
  placeholder: "请输入弹层名称",
489
489
  size: "default",
490
- onKeyup: vue.withKeys(confirmAddDialog, ["enter"]),
490
+ onKeyup: Vue.withKeys(confirmAddDialog, ["enter"]),
491
491
  class: "new-item-input"
492
492
  }, null, 8, ["modelValue"]),
493
- vue.createElementVNode("div", _hoisted_6, [
494
- vue.createVNode(_component_el_button, {
493
+ Vue.createElementVNode("div", _hoisted_6, [
494
+ Vue.createVNode(_component_el_button, {
495
495
  size: "small",
496
- icon: vue.unref(index$5.Close),
496
+ icon: Vue.unref(index$5.Close),
497
497
  onClick: cancelAddDialog
498
498
  }, {
499
- default: vue.withCtx(() => _cache[28] || (_cache[28] = [
500
- vue.createTextVNode(" 取消 ")
499
+ default: Vue.withCtx(() => _cache[28] || (_cache[28] = [
500
+ Vue.createTextVNode(" 取消 ")
501
501
  ])),
502
502
  _: 1
503
503
  }, 8, ["icon"]),
504
- vue.createVNode(_component_el_button, {
504
+ Vue.createVNode(_component_el_button, {
505
505
  type: "primary",
506
506
  size: "small",
507
- icon: vue.unref(index$5.Check),
507
+ icon: Vue.unref(index$5.Check),
508
508
  onClick: confirmAddDialog
509
509
  }, {
510
- default: vue.withCtx(() => _cache[29] || (_cache[29] = [
511
- vue.createTextVNode(" 确认 ")
510
+ default: Vue.withCtx(() => _cache[29] || (_cache[29] = [
511
+ Vue.createTextVNode(" 确认 ")
512
512
  ])),
513
513
  _: 1
514
514
  }, 8, ["icon"])
515
515
  ])
516
516
  ])
517
517
  ])
518
- ])) : vue.createCommentVNode("", true),
519
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(selectedDialogs), (dialog, index2) => {
520
- return vue.openBlock(), vue.createElementBlock("div", {
518
+ ])) : Vue.createCommentVNode("", true),
519
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(selectedDialogs), (dialog, index2) => {
520
+ return Vue.openBlock(), Vue.createElementBlock("div", {
521
521
  key: index2,
522
- class: vue.normalizeClass([
522
+ class: Vue.normalizeClass([
523
523
  "dialog-menu-item",
524
- { "is-active": vue.unref(activeDialogIndex) === index2 }
524
+ { "is-active": Vue.unref(activeDialogIndex) === index2 }
525
525
  ]),
526
526
  onClick: ($event) => activeDialogIndex.value = index2
527
527
  }, [
528
- vue.createElementVNode("div", _hoisted_8, [
529
- vue.createElementVNode("div", _hoisted_9, [
530
- vue.withDirectives(vue.createVNode(_component_el_input, {
528
+ Vue.createElementVNode("div", _hoisted_8, [
529
+ Vue.createElementVNode("div", _hoisted_9, [
530
+ Vue.withDirectives(Vue.createVNode(_component_el_input, {
531
531
  onBlur: ($event) => onEditOutside(),
532
532
  maxlength: "30",
533
- modelValue: vue.unref(editingDialogName),
534
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(editingDialogName) ? editingDialogName.value = $event : null),
533
+ modelValue: Vue.unref(editingDialogName),
534
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => Vue.isRef(editingDialogName) ? editingDialogName.value = $event : null),
535
535
  size: "small"
536
536
  }, null, 8, ["onBlur", "modelValue"]), [
537
- [vue.vShow, vue.unref(editingDialogIndex) === index2]
537
+ [Vue.vShow, Vue.unref(editingDialogIndex) === index2]
538
538
  ]),
539
- vue.withDirectives(vue.createVNode(_component_el_link, {
539
+ Vue.withDirectives(Vue.createVNode(_component_el_link, {
540
540
  icon: "Edit",
541
- onClick: vue.withModifiers(($event) => startEditDialog(index2), ["stop"])
541
+ onClick: Vue.withModifiers(($event) => startEditDialog(index2), ["stop"])
542
542
  }, {
543
- default: vue.withCtx(() => [
544
- vue.createTextVNode(vue.toDisplayString(dialog.name), 1)
543
+ default: Vue.withCtx(() => [
544
+ Vue.createTextVNode(Vue.toDisplayString(dialog.name), 1)
545
545
  ]),
546
546
  _: 2
547
547
  }, 1032, ["onClick"]), [
548
- [vue.vShow, vue.unref(editingDialogIndex) !== index2]
548
+ [Vue.vShow, Vue.unref(editingDialogIndex) !== index2]
549
549
  ])
550
550
  ]),
551
- vue.createVNode(_component_el_icon, {
551
+ Vue.createVNode(_component_el_icon, {
552
552
  class: "delete-icon",
553
- onClick: vue.withModifiers(($event) => handleRemoveDialog(index2), ["stop"])
553
+ onClick: Vue.withModifiers(($event) => handleRemoveDialog(index2), ["stop"])
554
554
  }, {
555
- default: vue.withCtx(() => [
556
- vue.createVNode(vue.unref(index$5.Delete))
555
+ default: Vue.withCtx(() => [
556
+ Vue.createVNode(Vue.unref(index$5.Delete))
557
557
  ]),
558
558
  _: 2
559
559
  }, 1032, ["onClick"])
@@ -569,72 +569,72 @@ const _sfc_main = {
569
569
  ]),
570
570
  _: 1
571
571
  }),
572
- vue.createVNode(_component_el_main, { style: { "border-left": "1px solid #ebeef5", "padding": "0" } }, {
573
- default: vue.withCtx(() => [
574
- vue.unref(activeDialogIndex) !== -1 ? (vue.openBlock(), vue.createBlock(_component_el_container, {
572
+ Vue.createVNode(_component_el_main, { style: { "border-left": "1px solid #ebeef5", "padding": "0" } }, {
573
+ default: Vue.withCtx(() => [
574
+ Vue.unref(activeDialogIndex) !== -1 ? (Vue.openBlock(), Vue.createBlock(_component_el_container, {
575
575
  key: 0,
576
576
  style: { "height": "100%" }
577
577
  }, {
578
- default: vue.withCtx(() => [
579
- vue.createVNode(_component_el_header, {
578
+ default: Vue.withCtx(() => [
579
+ Vue.createVNode(_component_el_header, {
580
580
  height: "40px",
581
581
  class: "dialog-header"
582
582
  }, {
583
- default: vue.withCtx(() => [
584
- vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(currentDialog).name), 1)
583
+ default: Vue.withCtx(() => [
584
+ Vue.createElementVNode("div", null, Vue.toDisplayString(Vue.unref(currentDialog).name), 1)
585
585
  ]),
586
586
  _: 1
587
587
  }),
588
- vue.createVNode(_component_el_main, { style: { "padding": "12px 20px 0 20px" } }, {
589
- default: vue.withCtx(() => [
590
- vue.createVNode(_component_el_scrollbar, null, {
591
- default: vue.withCtx(() => [
592
- vue.createVNode(_component_el_form, {
593
- model: vue.unref(currentDialog),
588
+ Vue.createVNode(_component_el_main, { style: { "padding": "12px 20px 0 20px" } }, {
589
+ default: Vue.withCtx(() => [
590
+ Vue.createVNode(_component_el_scrollbar, null, {
591
+ default: Vue.withCtx(() => [
592
+ Vue.createVNode(_component_el_form, {
593
+ model: Vue.unref(currentDialog),
594
594
  "label-width": "120px",
595
595
  style: { "padding-right": "20px" },
596
596
  size: "small"
597
597
  }, {
598
- default: vue.withCtx(() => [
599
- vue.createVNode(_component_el_form_item, { label: "弹层标题" }, {
600
- default: vue.withCtx(() => [
601
- vue.createVNode(_component_el_input, {
602
- modelValue: vue.unref(currentDialog).dialogTitle,
603
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(currentDialog).dialogTitle = $event),
598
+ default: Vue.withCtx(() => [
599
+ Vue.createVNode(_component_el_form_item, { label: "弹层标题" }, {
600
+ default: Vue.withCtx(() => [
601
+ Vue.createVNode(_component_el_input, {
602
+ modelValue: Vue.unref(currentDialog).dialogTitle,
603
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => Vue.unref(currentDialog).dialogTitle = $event),
604
604
  placeholder: "请输入弹层标题",
605
605
  clearable: ""
606
606
  }, null, 8, ["modelValue"])
607
607
  ]),
608
608
  _: 1
609
609
  }),
610
- vue.createVNode(_component_el_form_item, { label: "弹层尺寸" }, {
611
- default: vue.withCtx(() => [
612
- vue.createVNode(_component_el_radio_group, {
613
- modelValue: vue.unref(currentDialog).dialogSize,
614
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(currentDialog).dialogSize = $event)
610
+ Vue.createVNode(_component_el_form_item, { label: "弹层尺寸" }, {
611
+ default: Vue.withCtx(() => [
612
+ Vue.createVNode(_component_el_radio_group, {
613
+ modelValue: Vue.unref(currentDialog).dialogSize,
614
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => Vue.unref(currentDialog).dialogSize = $event)
615
615
  }, {
616
- default: vue.withCtx(() => [
617
- vue.createVNode(_component_el_radio_button, { value: "standard" }, {
618
- default: vue.withCtx(() => _cache[30] || (_cache[30] = [
619
- vue.createTextVNode("标准")
616
+ default: Vue.withCtx(() => [
617
+ Vue.createVNode(_component_el_radio_button, { value: "standard" }, {
618
+ default: Vue.withCtx(() => _cache[30] || (_cache[30] = [
619
+ Vue.createTextVNode("标准")
620
620
  ])),
621
621
  _: 1
622
622
  }),
623
- vue.createVNode(_component_el_radio_button, { value: "large" }, {
624
- default: vue.withCtx(() => _cache[31] || (_cache[31] = [
625
- vue.createTextVNode("更大")
623
+ Vue.createVNode(_component_el_radio_button, { value: "large" }, {
624
+ default: Vue.withCtx(() => _cache[31] || (_cache[31] = [
625
+ Vue.createTextVNode("更大")
626
626
  ])),
627
627
  _: 1
628
628
  }),
629
- vue.createVNode(_component_el_radio_button, { value: "small" }, {
630
- default: vue.withCtx(() => _cache[32] || (_cache[32] = [
631
- vue.createTextVNode("更小")
629
+ Vue.createVNode(_component_el_radio_button, { value: "small" }, {
630
+ default: Vue.withCtx(() => _cache[32] || (_cache[32] = [
631
+ Vue.createTextVNode("更小")
632
632
  ])),
633
633
  _: 1
634
634
  }),
635
- vue.createVNode(_component_el_radio_button, { value: "custom" }, {
636
- default: vue.withCtx(() => _cache[33] || (_cache[33] = [
637
- vue.createTextVNode("自定义")
635
+ Vue.createVNode(_component_el_radio_button, { value: "custom" }, {
636
+ default: Vue.withCtx(() => _cache[33] || (_cache[33] = [
637
+ Vue.createTextVNode("自定义")
638
638
  ])),
639
639
  _: 1
640
640
  })
@@ -644,65 +644,65 @@ const _sfc_main = {
644
644
  ]),
645
645
  _: 1
646
646
  }),
647
- vue.unref(currentDialog).dialogSize === "custom" ? (vue.openBlock(), vue.createBlock(_component_el_form_item, {
647
+ Vue.unref(currentDialog).dialogSize === "custom" ? (Vue.openBlock(), Vue.createBlock(_component_el_form_item, {
648
648
  key: 0,
649
649
  label: "自定义尺寸"
650
650
  }, {
651
- default: vue.withCtx(() => [
652
- vue.createElementVNode("div", _hoisted_10, [
653
- vue.createVNode(_component_el_input, {
654
- modelValue: vue.unref(currentDialog).customWidth,
655
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(currentDialog).customWidth = $event),
651
+ default: Vue.withCtx(() => [
652
+ Vue.createElementVNode("div", _hoisted_10, [
653
+ Vue.createVNode(_component_el_input, {
654
+ modelValue: Vue.unref(currentDialog).customWidth,
655
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => Vue.unref(currentDialog).customWidth = $event),
656
656
  placeholder: "宽度,如:800px、60%",
657
657
  style: { "flex": "1" }
658
658
  }, null, 8, ["modelValue"]),
659
- vue.createVNode(_component_el_input, {
660
- modelValue: vue.unref(currentDialog).customMaxHeight,
661
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(currentDialog).customMaxHeight = $event),
659
+ Vue.createVNode(_component_el_input, {
660
+ modelValue: Vue.unref(currentDialog).customMaxHeight,
661
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => Vue.unref(currentDialog).customMaxHeight = $event),
662
662
  placeholder: "最大高度,如:600px、80vh",
663
663
  style: { "flex": "1" }
664
664
  }, null, 8, ["modelValue"])
665
665
  ])
666
666
  ]),
667
667
  _: 1
668
- })) : vue.createCommentVNode("", true),
669
- vue.createVNode(_component_el_form_item, { label: "弹层参数" }, {
670
- default: vue.withCtx(() => [
671
- vue.createVNode(ParamsConfig.default, {
672
- modelValue: vue.unref(currentDialog).dialogParams,
673
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(currentDialog).dialogParams = $event)
668
+ })) : Vue.createCommentVNode("", true),
669
+ Vue.createVNode(_component_el_form_item, { label: "弹层参数" }, {
670
+ default: Vue.withCtx(() => [
671
+ Vue.createVNode(ParamsConfig.default, {
672
+ modelValue: Vue.unref(currentDialog).dialogParams,
673
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => Vue.unref(currentDialog).dialogParams = $event)
674
674
  }, null, 8, ["modelValue"])
675
675
  ]),
676
676
  _: 1
677
677
  }),
678
- vue.createVNode(_component_el_form_item, { label: "弹层类型" }, {
679
- default: vue.withCtx(() => [
680
- vue.createVNode(_component_el_radio_group, {
681
- modelValue: vue.unref(currentDialog).contentSource,
682
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(currentDialog).contentSource = $event)
678
+ Vue.createVNode(_component_el_form_item, { label: "弹层类型" }, {
679
+ default: Vue.withCtx(() => [
680
+ Vue.createVNode(_component_el_radio_group, {
681
+ modelValue: Vue.unref(currentDialog).contentSource,
682
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => Vue.unref(currentDialog).contentSource = $event)
683
683
  }, {
684
- default: vue.withCtx(() => [
685
- vue.createVNode(_component_el_radio_button, { value: "table" }, {
686
- default: vue.withCtx(() => _cache[34] || (_cache[34] = [
687
- vue.createTextVNode("列表")
684
+ default: Vue.withCtx(() => [
685
+ Vue.createVNode(_component_el_radio_button, { value: "table" }, {
686
+ default: Vue.withCtx(() => _cache[34] || (_cache[34] = [
687
+ Vue.createTextVNode("列表")
688
688
  ])),
689
689
  _: 1
690
690
  }),
691
- vue.createVNode(_component_el_radio_button, { value: "form" }, {
692
- default: vue.withCtx(() => _cache[35] || (_cache[35] = [
693
- vue.createTextVNode("表单")
691
+ Vue.createVNode(_component_el_radio_button, { value: "form" }, {
692
+ default: Vue.withCtx(() => _cache[35] || (_cache[35] = [
693
+ Vue.createTextVNode("表单")
694
694
  ])),
695
695
  _: 1
696
696
  }),
697
- vue.createVNode(_component_el_radio_button, { value: "tree" }, {
698
- default: vue.withCtx(() => _cache[36] || (_cache[36] = [
699
- vue.createTextVNode("树形")
697
+ Vue.createVNode(_component_el_radio_button, { value: "tree" }, {
698
+ default: Vue.withCtx(() => _cache[36] || (_cache[36] = [
699
+ Vue.createTextVNode("树形")
700
700
  ])),
701
701
  _: 1
702
702
  }),
703
- vue.createVNode(_component_el_radio_button, { value: "component" }, {
704
- default: vue.withCtx(() => _cache[37] || (_cache[37] = [
705
- vue.createTextVNode("组件")
703
+ Vue.createVNode(_component_el_radio_button, { value: "component" }, {
704
+ default: Vue.withCtx(() => _cache[37] || (_cache[37] = [
705
+ Vue.createTextVNode("组件")
706
706
  ])),
707
707
  _: 1
708
708
  })
@@ -712,23 +712,23 @@ const _sfc_main = {
712
712
  ]),
713
713
  _: 1
714
714
  }),
715
- vue.unref(currentDialog).contentSource === "table" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
716
- vue.createVNode(_component_el_form_item, { label: "列表内容" }, {
717
- default: vue.withCtx(() => [
718
- vue.createVNode(_component_el_radio_group, {
719
- modelValue: vue.unref(currentDialog).tableContent,
720
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(currentDialog).tableContent = $event)
715
+ Vue.unref(currentDialog).contentSource === "table" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
716
+ Vue.createVNode(_component_el_form_item, { label: "列表内容" }, {
717
+ default: Vue.withCtx(() => [
718
+ Vue.createVNode(_component_el_radio_group, {
719
+ modelValue: Vue.unref(currentDialog).tableContent,
720
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => Vue.unref(currentDialog).tableContent = $event)
721
721
  }, {
722
- default: vue.withCtx(() => [
723
- vue.createVNode(_component_el_radio_button, { value: "select" }, {
724
- default: vue.withCtx(() => _cache[38] || (_cache[38] = [
725
- vue.createTextVNode("选择列表")
722
+ default: Vue.withCtx(() => [
723
+ Vue.createVNode(_component_el_radio_button, { value: "select" }, {
724
+ default: Vue.withCtx(() => _cache[38] || (_cache[38] = [
725
+ Vue.createTextVNode("选择列表")
726
726
  ])),
727
727
  _: 1
728
728
  }),
729
- vue.createVNode(_component_el_radio_button, { value: "custom" }, {
730
- default: vue.withCtx(() => _cache[39] || (_cache[39] = [
731
- vue.createTextVNode("自定义")
729
+ Vue.createVNode(_component_el_radio_button, { value: "custom" }, {
730
+ default: Vue.withCtx(() => _cache[39] || (_cache[39] = [
731
+ Vue.createTextVNode("自定义")
732
732
  ])),
733
733
  _: 1
734
734
  })
@@ -738,32 +738,32 @@ const _sfc_main = {
738
738
  ]),
739
739
  _: 1
740
740
  }),
741
- vue.unref(currentDialog).tableContent === "select" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
742
- vue.createVNode(_component_el_form_item, { label: "选择列表" }, {
743
- default: vue.withCtx(() => [
744
- vue.createVNode(TemplateSelector.default, {
745
- modelValue: vue.unref(currentDialog).subTableName,
746
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(currentDialog).subTableName = $event),
747
- templateKey: vue.unref(currentDialog).subTableKey,
748
- "onUpdate:templateKey": _cache[10] || (_cache[10] = ($event) => vue.unref(currentDialog).subTableKey = $event),
749
- templateId: vue.unref(currentDialog).subTableId,
750
- "onUpdate:templateId": _cache[11] || (_cache[11] = ($event) => vue.unref(currentDialog).subTableId = $event),
741
+ Vue.unref(currentDialog).tableContent === "select" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
742
+ Vue.createVNode(_component_el_form_item, { label: "选择列表" }, {
743
+ default: Vue.withCtx(() => [
744
+ Vue.createVNode(TemplateSelector.default, {
745
+ modelValue: Vue.unref(currentDialog).subTableName,
746
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => Vue.unref(currentDialog).subTableName = $event),
747
+ templateKey: Vue.unref(currentDialog).subTableKey,
748
+ "onUpdate:templateKey": _cache[10] || (_cache[10] = ($event) => Vue.unref(currentDialog).subTableKey = $event),
749
+ templateId: Vue.unref(currentDialog).subTableId,
750
+ "onUpdate:templateId": _cache[11] || (_cache[11] = ($event) => Vue.unref(currentDialog).subTableId = $event),
751
751
  templateType: "table",
752
752
  onConfirm: tableSelectorConfirm
753
753
  }, null, 8, ["modelValue", "templateKey", "templateId"])
754
754
  ]),
755
755
  _: 1
756
756
  }),
757
- vue.createVNode(_component_el_form_item, { label: "列表模式" }, {
758
- default: vue.withCtx(() => [
759
- vue.createVNode(_component_el_select, {
760
- modelValue: vue.unref(currentDialog).subTableMode,
761
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(currentDialog).subTableMode = $event),
757
+ Vue.createVNode(_component_el_form_item, { label: "列表模式" }, {
758
+ default: Vue.withCtx(() => [
759
+ Vue.createVNode(_component_el_select, {
760
+ modelValue: Vue.unref(currentDialog).subTableMode,
761
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => Vue.unref(currentDialog).subTableMode = $event),
762
762
  clearable: ""
763
763
  }, {
764
- default: vue.withCtx(() => [
765
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(tableMode), (mode) => {
766
- return vue.openBlock(), vue.createBlock(_component_el_option, {
764
+ default: Vue.withCtx(() => [
765
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(tableMode), (mode) => {
766
+ return Vue.openBlock(), Vue.createBlock(_component_el_option, {
767
767
  key: mode.key,
768
768
  label: mode.name,
769
769
  value: mode.key
@@ -775,77 +775,77 @@ const _sfc_main = {
775
775
  ]),
776
776
  _: 1
777
777
  })
778
- ], 64)) : vue.createCommentVNode("", true),
779
- vue.unref(currentDialog).tableContent === "custom" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
780
- vue.createVNode(_component_el_form_item, { label: "列配置" }, {
781
- default: vue.withCtx(() => [
782
- vue.createElementVNode("div", _hoisted_11, [
783
- vue.createElementVNode("div", _hoisted_12, [
784
- vue.createVNode(_component_el_button, {
778
+ ], 64)) : Vue.createCommentVNode("", true),
779
+ Vue.unref(currentDialog).tableContent === "custom" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 1 }, [
780
+ Vue.createVNode(_component_el_form_item, { label: "列配置" }, {
781
+ default: Vue.withCtx(() => [
782
+ Vue.createElementVNode("div", _hoisted_11, [
783
+ Vue.createElementVNode("div", _hoisted_12, [
784
+ Vue.createVNode(_component_el_button, {
785
785
  type: "primary",
786
786
  size: "small",
787
787
  onClick: addTableCol,
788
788
  icon: "Plus",
789
789
  link: ""
790
790
  }, {
791
- default: vue.withCtx(() => _cache[40] || (_cache[40] = [
792
- vue.createTextVNode(" 添加列配置 ")
791
+ default: Vue.withCtx(() => _cache[40] || (_cache[40] = [
792
+ Vue.createTextVNode(" 添加列配置 ")
793
793
  ])),
794
794
  _: 1
795
795
  })
796
796
  ]),
797
- vue.createElementVNode("div", _hoisted_13, [
798
- vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable), {
799
- modelValue: vue.unref(currentDialog).customTableConfig.fieldsData,
800
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(currentDialog).customTableConfig.fieldsData = $event),
797
+ Vue.createElementVNode("div", _hoisted_13, [
798
+ Vue.createVNode(Vue.unref(vueDraggablePlus.VueDraggable), {
799
+ modelValue: Vue.unref(currentDialog).customTableConfig.fieldsData,
800
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => Vue.unref(currentDialog).customTableConfig.fieldsData = $event),
801
801
  animation: 150,
802
802
  handle: ".drag-handle"
803
803
  }, {
804
- default: vue.withCtx(() => [
805
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(currentDialog).customTableConfig.fieldsData, (col, index2) => {
806
- return vue.openBlock(), vue.createElementBlock("div", {
804
+ default: Vue.withCtx(() => [
805
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(currentDialog).customTableConfig.fieldsData, (col, index2) => {
806
+ return Vue.openBlock(), Vue.createElementBlock("div", {
807
807
  key: index2,
808
808
  class: "col-rule-item"
809
809
  }, [
810
- vue.createElementVNode("div", _hoisted_14, [
811
- vue.createVNode(_component_el_icon, null, {
812
- default: vue.withCtx(() => [
813
- vue.createVNode(vue.unref(index$5.Rank))
810
+ Vue.createElementVNode("div", _hoisted_14, [
811
+ Vue.createVNode(_component_el_icon, null, {
812
+ default: Vue.withCtx(() => [
813
+ Vue.createVNode(Vue.unref(index$5.Rank))
814
814
  ]),
815
815
  _: 1
816
816
  })
817
817
  ]),
818
- vue.createVNode(_component_el_input, {
818
+ Vue.createVNode(_component_el_input, {
819
819
  modelValue: col.label,
820
820
  "onUpdate:modelValue": ($event) => col.label = $event,
821
821
  size: "small",
822
822
  placeholder: "列标题"
823
823
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
824
- vue.createVNode(_component_el_input, {
824
+ Vue.createVNode(_component_el_input, {
825
825
  modelValue: col.fieldName,
826
826
  "onUpdate:modelValue": ($event) => col.fieldName = $event,
827
827
  size: "small",
828
828
  placeholder: "字段名"
829
829
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
830
- vue.createElementVNode("div", _hoisted_15, [
831
- vue.createVNode(_component_el_popover, {
830
+ Vue.createElementVNode("div", _hoisted_15, [
831
+ Vue.createVNode(_component_el_popover, {
832
832
  placement: "right",
833
833
  width: 200,
834
834
  trigger: "click"
835
835
  }, {
836
- reference: vue.withCtx(() => [
837
- vue.createVNode(_component_el_button, {
838
- icon: vue.unref(index$5.Edit),
836
+ reference: Vue.withCtx(() => [
837
+ Vue.createVNode(_component_el_button, {
838
+ icon: Vue.unref(index$5.Edit),
839
839
  link: "",
840
840
  type: "primary",
841
841
  class: "edit-btn"
842
842
  }, null, 8, ["icon"])
843
843
  ]),
844
- default: vue.withCtx(() => [
845
- vue.createElementVNode("div", _hoisted_16, [
846
- vue.createVNode(_component_el_scrollbar, { "wrap-class": "col-property-scrollbar" }, {
847
- default: vue.withCtx(() => [
848
- vue.createVNode(widgets.default, {
844
+ default: Vue.withCtx(() => [
845
+ Vue.createElementVNode("div", _hoisted_16, [
846
+ Vue.createVNode(_component_el_scrollbar, { "wrap-class": "col-property-scrollbar" }, {
847
+ default: Vue.withCtx(() => [
848
+ Vue.createVNode(widgets.default, {
849
849
  column: col,
850
850
  isComp: ""
851
851
  }, null, 8, ["column"])
@@ -856,8 +856,8 @@ const _sfc_main = {
856
856
  ]),
857
857
  _: 2
858
858
  }, 1024),
859
- vue.createVNode(_component_el_button, {
860
- icon: vue.unref(index$5.Delete),
859
+ Vue.createVNode(_component_el_button, {
860
+ icon: Vue.unref(index$5.Delete),
861
861
  link: "",
862
862
  type: "danger",
863
863
  class: "delete-btn",
@@ -874,78 +874,78 @@ const _sfc_main = {
874
874
  ]),
875
875
  _: 1
876
876
  }),
877
- vue.createVNode(_component_el_form_item, { label: "主键字段" }, {
878
- default: vue.withCtx(() => [
879
- vue.createVNode(_component_el_input, {
880
- modelValue: vue.unref(currentDialog).customTableConfig.pkFieldName,
881
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(currentDialog).customTableConfig.pkFieldName = $event),
877
+ Vue.createVNode(_component_el_form_item, { label: "主键字段" }, {
878
+ default: Vue.withCtx(() => [
879
+ Vue.createVNode(_component_el_input, {
880
+ modelValue: Vue.unref(currentDialog).customTableConfig.pkFieldName,
881
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => Vue.unref(currentDialog).customTableConfig.pkFieldName = $event),
882
882
  placeholder: "请输入主键字段",
883
883
  clearable: ""
884
884
  }, null, 8, ["modelValue"])
885
885
  ]),
886
886
  _: 1
887
887
  }),
888
- vue.createVNode(_component_el_form_item, { label: "数据源" }, {
889
- default: vue.withCtx(() => [
890
- vue.createVNode(DataSourceSelect.default, {
891
- modelValue: vue.unref(currentDialog).customTableConfig.dataSourceId,
892
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(currentDialog).customTableConfig.dataSourceId = $event)
888
+ Vue.createVNode(_component_el_form_item, { label: "数据源" }, {
889
+ default: Vue.withCtx(() => [
890
+ Vue.createVNode(DataSourceSelect.default, {
891
+ modelValue: Vue.unref(currentDialog).customTableConfig.dataSourceId,
892
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => Vue.unref(currentDialog).customTableConfig.dataSourceId = $event)
893
893
  }, null, 8, ["modelValue"])
894
894
  ]),
895
895
  _: 1
896
896
  })
897
- ], 64)) : vue.createCommentVNode("", true),
898
- vue.createVNode(_component_el_form_item, { label: "是否翻页" }, {
899
- default: vue.withCtx(() => [
900
- vue.createVNode(_component_el_switch, {
901
- modelValue: vue.unref(currentDialog).isSubTablePagination,
902
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(currentDialog).isSubTablePagination = $event)
897
+ ], 64)) : Vue.createCommentVNode("", true),
898
+ Vue.createVNode(_component_el_form_item, { label: "是否翻页" }, {
899
+ default: Vue.withCtx(() => [
900
+ Vue.createVNode(_component_el_switch, {
901
+ modelValue: Vue.unref(currentDialog).isSubTablePagination,
902
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => Vue.unref(currentDialog).isSubTablePagination = $event)
903
903
  }, null, 8, ["modelValue"])
904
904
  ]),
905
905
  _: 1
906
906
  }),
907
- vue.createVNode(_component_el_form_item, { label: "是否只读" }, {
908
- default: vue.withCtx(() => [
909
- vue.createVNode(_component_el_switch, {
910
- modelValue: vue.unref(currentDialog).isSubTableReadOnly,
911
- "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(currentDialog).isSubTableReadOnly = $event)
907
+ Vue.createVNode(_component_el_form_item, { label: "是否只读" }, {
908
+ default: Vue.withCtx(() => [
909
+ Vue.createVNode(_component_el_switch, {
910
+ modelValue: Vue.unref(currentDialog).isSubTableReadOnly,
911
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => Vue.unref(currentDialog).isSubTableReadOnly = $event)
912
912
  }, null, 8, ["modelValue"])
913
913
  ]),
914
914
  _: 1
915
915
  })
916
- ], 64)) : vue.createCommentVNode("", true),
917
- vue.unref(currentDialog).contentSource === "form" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
918
- vue.createVNode(_component_el_form_item, { label: "选择表单" }, {
919
- default: vue.withCtx(() => [
920
- vue.createVNode(TemplateSelector.default, {
921
- modelValue: vue.unref(currentDialog).subFormName,
922
- "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => vue.unref(currentDialog).subFormName = $event),
923
- templateKey: vue.unref(currentDialog).subFormKey,
924
- "onUpdate:templateKey": _cache[19] || (_cache[19] = ($event) => vue.unref(currentDialog).subFormKey = $event),
925
- templateId: vue.unref(currentDialog).subFormId,
926
- "onUpdate:templateId": _cache[20] || (_cache[20] = ($event) => vue.unref(currentDialog).subFormId = $event),
916
+ ], 64)) : Vue.createCommentVNode("", true),
917
+ Vue.unref(currentDialog).contentSource === "form" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 2 }, [
918
+ Vue.createVNode(_component_el_form_item, { label: "选择表单" }, {
919
+ default: Vue.withCtx(() => [
920
+ Vue.createVNode(TemplateSelector.default, {
921
+ modelValue: Vue.unref(currentDialog).subFormName,
922
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => Vue.unref(currentDialog).subFormName = $event),
923
+ templateKey: Vue.unref(currentDialog).subFormKey,
924
+ "onUpdate:templateKey": _cache[19] || (_cache[19] = ($event) => Vue.unref(currentDialog).subFormKey = $event),
925
+ templateId: Vue.unref(currentDialog).subFormId,
926
+ "onUpdate:templateId": _cache[20] || (_cache[20] = ($event) => Vue.unref(currentDialog).subFormId = $event),
927
927
  templateType: "form",
928
928
  onConfirm: formSelectorConfirm
929
929
  }, null, 8, ["modelValue", "templateKey", "templateId"])
930
930
  ]),
931
931
  _: 1
932
932
  }),
933
- vue.createVNode(_component_el_form_item, { label: "表单模式" }, {
934
- default: vue.withCtx(() => [
935
- vue.createVNode(_component_el_radio_group, {
936
- modelValue: vue.unref(currentDialog).subFormMode,
937
- "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => vue.unref(currentDialog).subFormMode = $event)
933
+ Vue.createVNode(_component_el_form_item, { label: "表单模式" }, {
934
+ default: Vue.withCtx(() => [
935
+ Vue.createVNode(_component_el_radio_group, {
936
+ modelValue: Vue.unref(currentDialog).subFormMode,
937
+ "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => Vue.unref(currentDialog).subFormMode = $event)
938
938
  }, {
939
- default: vue.withCtx(() => [
940
- vue.createVNode(_component_el_radio_button, { value: "edit" }, {
941
- default: vue.withCtx(() => _cache[41] || (_cache[41] = [
942
- vue.createTextVNode("编辑")
939
+ default: Vue.withCtx(() => [
940
+ Vue.createVNode(_component_el_radio_button, { value: "edit" }, {
941
+ default: Vue.withCtx(() => _cache[41] || (_cache[41] = [
942
+ Vue.createTextVNode("编辑")
943
943
  ])),
944
944
  _: 1
945
945
  }),
946
- vue.createVNode(_component_el_radio_button, { value: "query" }, {
947
- default: vue.withCtx(() => _cache[42] || (_cache[42] = [
948
- vue.createTextVNode("查看")
946
+ Vue.createVNode(_component_el_radio_button, { value: "query" }, {
947
+ default: Vue.withCtx(() => _cache[42] || (_cache[42] = [
948
+ Vue.createTextVNode("查看")
949
949
  ])),
950
950
  _: 1
951
951
  })
@@ -955,18 +955,18 @@ const _sfc_main = {
955
955
  ]),
956
956
  _: 1
957
957
  }),
958
- vue.createVNode(_component_el_form_item, { label: "表单底部按钮" }, {
959
- default: vue.withCtx(() => [
960
- vue.createElementVNode("div", _hoisted_17, [
961
- !vue.unref(formFooterBtn) || vue.unref(formFooterBtn).length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18, " 暂无可用按钮 ")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_19, [
962
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(formFooterBtn), (btn) => {
963
- return vue.openBlock(), vue.createBlock(_component_el_checkbox, {
958
+ Vue.createVNode(_component_el_form_item, { label: "表单底部按钮" }, {
959
+ default: Vue.withCtx(() => [
960
+ Vue.createElementVNode("div", _hoisted_17, [
961
+ !Vue.unref(formFooterBtn) || Vue.unref(formFooterBtn).length === 0 ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_18, " 暂无可用按钮 ")) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_19, [
962
+ (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(formFooterBtn), (btn) => {
963
+ return Vue.openBlock(), Vue.createBlock(_component_el_checkbox, {
964
964
  key: btn.id,
965
965
  "model-value": isButtonSelected(btn.id),
966
966
  onChange: ($event) => toggleButton(btn)
967
967
  }, {
968
- default: vue.withCtx(() => [
969
- vue.createTextVNode(vue.toDisplayString(btn.label), 1)
968
+ default: Vue.withCtx(() => [
969
+ Vue.createTextVNode(Vue.toDisplayString(btn.label), 1)
970
970
  ]),
971
971
  _: 2
972
972
  }, 1032, ["model-value", "onChange"]);
@@ -976,38 +976,38 @@ const _sfc_main = {
976
976
  ]),
977
977
  _: 1
978
978
  })
979
- ], 64)) : vue.createCommentVNode("", true),
980
- vue.unref(currentDialog).contentSource === "component" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
981
- vue.createVNode(_component_el_form_item, { label: "组件路由地址" }, {
982
- default: vue.withCtx(() => [
983
- vue.createVNode(_component_el_input, {
984
- modelValue: vue.unref(currentDialog).componentPath,
985
- "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => vue.unref(currentDialog).componentPath = $event),
979
+ ], 64)) : Vue.createCommentVNode("", true),
980
+ Vue.unref(currentDialog).contentSource === "component" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 3 }, [
981
+ Vue.createVNode(_component_el_form_item, { label: "组件路由地址" }, {
982
+ default: Vue.withCtx(() => [
983
+ Vue.createVNode(_component_el_input, {
984
+ modelValue: Vue.unref(currentDialog).componentPath,
985
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => Vue.unref(currentDialog).componentPath = $event),
986
986
  placeholder: "请输入组件路径",
987
987
  clearable: ""
988
988
  }, null, 8, ["modelValue"])
989
989
  ]),
990
990
  _: 1
991
991
  }),
992
- vue.createVNode(_component_el_form_item, { label: "组件参数" }, {
993
- default: vue.withCtx(() => [
994
- vue.createVNode(ParamsConfig.default, {
995
- modelValue: vue.unref(currentDialog).componentParams,
996
- "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => vue.unref(currentDialog).componentParams = $event)
992
+ Vue.createVNode(_component_el_form_item, { label: "组件参数" }, {
993
+ default: Vue.withCtx(() => [
994
+ Vue.createVNode(ParamsConfig.default, {
995
+ modelValue: Vue.unref(currentDialog).componentParams,
996
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => Vue.unref(currentDialog).componentParams = $event)
997
997
  }, null, 8, ["modelValue"])
998
998
  ]),
999
999
  _: 1
1000
1000
  }),
1001
- vue.createVNode(_component_el_form_item, { label: "组件是否是弹层" }, {
1002
- default: vue.withCtx(() => [
1003
- vue.createVNode(_component_el_switch, {
1004
- modelValue: vue.unref(currentDialog).componentIsDialog,
1005
- "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => vue.unref(currentDialog).componentIsDialog = $event)
1001
+ Vue.createVNode(_component_el_form_item, { label: "组件是否是弹层" }, {
1002
+ default: Vue.withCtx(() => [
1003
+ Vue.createVNode(_component_el_switch, {
1004
+ modelValue: Vue.unref(currentDialog).componentIsDialog,
1005
+ "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => Vue.unref(currentDialog).componentIsDialog = $event)
1006
1006
  }, null, 8, ["modelValue"])
1007
1007
  ]),
1008
1008
  _: 1
1009
1009
  })
1010
- ], 64)) : vue.createCommentVNode("", true)
1010
+ ], 64)) : Vue.createCommentVNode("", true)
1011
1011
  ]),
1012
1012
  _: 1
1013
1013
  }, 8, ["model"])
@@ -1019,7 +1019,7 @@ const _sfc_main = {
1019
1019
  })
1020
1020
  ]),
1021
1021
  _: 1
1022
- })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_20, "请从左侧选择一个弹层"))
1022
+ })) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_20, "请从左侧选择一个弹层"))
1023
1023
  ]),
1024
1024
  _: 1
1025
1025
  })