@fecp/designer 5.5.99 → 5.5.101

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 (55) 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/FieldSetMapping.vue2.mjs +1 -2
  4. package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
  5. package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
  6. package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
  7. package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
  8. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
  9. package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
  10. package/es/designer/src/packages/form/components/ComponentPreviewWrapper.vue.mjs +23 -11
  11. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
  12. package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
  13. package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
  14. package/es/designer/src/packages/form/property/widgets.vue.mjs +106 -82
  15. package/es/designer/src/packages/prod/index.vue.mjs +1 -1
  16. package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
  17. package/es/designer.css +179 -156
  18. package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
  19. package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +51 -15
  20. package/es/packages/mobile/src/components/dataDisplay/table/Table.vue.mjs +3 -3
  21. package/es/packages/mobile/src/components/navigation/tabs/Tabs.vue.mjs +33 -8
  22. package/es/packages/mobile/src/index.vue.mjs +4 -17
  23. package/es/packages/mobile/src/page.vue.mjs +12 -3
  24. package/es/packages/mobile/src/utils/common.mjs +15 -0
  25. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +11 -2
  26. package/es/packages/vue/src/components/forms/formItem/FormItem.vue.mjs +22 -5
  27. package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +8 -7
  28. package/lib/designer/package.json.js +1 -1
  29. package/lib/designer/src/components/DocumentParam.vue.js +1 -1
  30. package/lib/designer/src/components/FieldSetMapping.vue2.js +1 -2
  31. package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
  32. package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
  33. package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
  34. package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
  35. package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
  36. package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
  37. package/lib/designer/src/packages/form/components/ComponentPreviewWrapper.vue.js +25 -13
  38. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
  39. package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
  40. package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
  41. package/lib/designer/src/packages/form/property/widgets.vue.js +106 -82
  42. package/lib/designer/src/packages/prod/index.vue.js +1 -1
  43. package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
  44. package/lib/designer.css +179 -156
  45. package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
  46. package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +50 -14
  47. package/lib/packages/mobile/src/components/dataDisplay/table/Table.vue.js +3 -3
  48. package/lib/packages/mobile/src/components/navigation/tabs/Tabs.vue.js +32 -7
  49. package/lib/packages/mobile/src/index.vue.js +4 -17
  50. package/lib/packages/mobile/src/page.vue.js +12 -3
  51. package/lib/packages/mobile/src/utils/common.js +15 -0
  52. package/lib/packages/vue/src/components/forms/form/Form.vue.js +11 -2
  53. package/lib/packages/vue/src/components/forms/formItem/FormItem.vue.js +23 -6
  54. package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +7 -6
  55. package/package.json +1 -1
@@ -194,6 +194,9 @@ const _sfc_main = {
194
194
  function handleEventConfirm(data) {
195
195
  currentItem.value.eventConfig = data;
196
196
  }
197
+ function handleLabelLinkEventConfirm(data) {
198
+ currentItem.value.labelLinkEventConfig = data;
199
+ }
197
200
  function handleSuffixButtonConfirm(data) {
198
201
  currentItem.value.suffixButtonConfig = data;
199
202
  }
@@ -317,7 +320,7 @@ const _sfc_main = {
317
320
  return openBlock(), createBlock(_component_el_collapse, {
318
321
  class: "setting",
319
322
  modelValue: unref(activeName),
320
- "onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => isRef(activeName) ? activeName.value = $event : null)
323
+ "onUpdate:modelValue": _cache[55] || (_cache[55] = ($event) => isRef(activeName) ? activeName.value = $event : null)
321
324
  }, {
322
325
  default: withCtx(() => [
323
326
  createVNode(_component_el_collapse_item, {
@@ -427,19 +430,19 @@ const _sfc_main = {
427
430
  }, {
428
431
  default: withCtx(() => [
429
432
  createVNode(_component_el_radio_button, { value: "default" }, {
430
- default: withCtx(() => _cache[55] || (_cache[55] = [
433
+ default: withCtx(() => _cache[56] || (_cache[56] = [
431
434
  createTextVNode("默认")
432
435
  ])),
433
436
  _: 1
434
437
  }),
435
438
  createVNode(_component_el_radio_button, { value: "label" }, {
436
- default: withCtx(() => _cache[56] || (_cache[56] = [
439
+ default: withCtx(() => _cache[57] || (_cache[57] = [
437
440
  createTextVNode("标签")
438
441
  ])),
439
442
  _: 1
440
443
  }),
441
444
  createVNode(_component_el_radio_button, { value: "input" }, {
442
- default: withCtx(() => _cache[57] || (_cache[57] = [
445
+ default: withCtx(() => _cache[58] || (_cache[58] = [
443
446
  createTextVNode("输入框")
444
447
  ])),
445
448
  _: 1
@@ -459,19 +462,19 @@ const _sfc_main = {
459
462
  }, {
460
463
  default: withCtx(() => [
461
464
  createVNode(_component_el_radio_button, { value: "all" }, {
462
- default: withCtx(() => _cache[58] || (_cache[58] = [
465
+ default: withCtx(() => _cache[59] || (_cache[59] = [
463
466
  createTextVNode("始终显示")
464
467
  ])),
465
468
  _: 1
466
469
  }),
467
470
  createVNode(_component_el_radio_button, { value: "edit" }, {
468
- default: withCtx(() => _cache[59] || (_cache[59] = [
471
+ default: withCtx(() => _cache[60] || (_cache[60] = [
469
472
  createTextVNode("编辑时显示")
470
473
  ])),
471
474
  _: 1
472
475
  }),
473
476
  createVNode(_component_el_radio_button, { value: "query" }, {
474
- default: withCtx(() => _cache[60] || (_cache[60] = [
477
+ default: withCtx(() => _cache[61] || (_cache[61] = [
475
478
  createTextVNode("查看时显示")
476
479
  ])),
477
480
  _: 1
@@ -548,32 +551,53 @@ const _sfc_main = {
548
551
  _: 1
549
552
  })
550
553
  ], 64)) : createCommentVNode("", true),
551
- unref(currentItem).fieldType == "text" || unref(currentItem).fieldType == "number" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
554
+ createVNode(_component_el_form_item, { label: "标签超链接" }, {
555
+ default: withCtx(() => [
556
+ createVNode(_component_el_switch, {
557
+ modelValue: unref(currentItem).labelLink,
558
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(currentItem).labelLink = $event)
559
+ }, null, 8, ["modelValue"])
560
+ ]),
561
+ _: 1
562
+ }),
563
+ unref(currentItem).labelLink ? (openBlock(), createBlock(_component_el_form_item, {
564
+ key: 3,
565
+ label: "超链接事件配置"
566
+ }, {
567
+ default: withCtx(() => [
568
+ createVNode(EventConfigButton, {
569
+ config: unref(currentItem).labelLinkEventConfig,
570
+ onConfirm: handleLabelLinkEventConfirm
571
+ }, null, 8, ["config"])
572
+ ]),
573
+ _: 1
574
+ })) : createCommentVNode("", true),
575
+ unref(currentItem).fieldType == "text" || unref(currentItem).fieldType == "number" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
552
576
  createVNode(_component_el_form_item, null, {
553
- label: withCtx(() => _cache[61] || (_cache[61] = [
577
+ label: withCtx(() => _cache[62] || (_cache[62] = [
554
578
  createElementVNode("span", null, "尾部按钮", -1)
555
579
  ])),
556
580
  default: withCtx(() => [
557
581
  createVNode(_component_el_radio_group, {
558
582
  modelValue: unref(currentItem).suffixButton,
559
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(currentItem).suffixButton = $event),
583
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(currentItem).suffixButton = $event),
560
584
  size: "small"
561
585
  }, {
562
586
  default: withCtx(() => [
563
587
  createVNode(_component_el_radio_button, { value: "none" }, {
564
- default: withCtx(() => _cache[62] || (_cache[62] = [
588
+ default: withCtx(() => _cache[63] || (_cache[63] = [
565
589
  createTextVNode("无")
566
590
  ])),
567
591
  _: 1
568
592
  }),
569
593
  createVNode(_component_el_radio_button, { value: "dialog" }, {
570
- default: withCtx(() => _cache[63] || (_cache[63] = [
594
+ default: withCtx(() => _cache[64] || (_cache[64] = [
571
595
  createTextVNode("弹层选择")
572
596
  ])),
573
597
  _: 1
574
598
  }),
575
599
  createVNode(_component_el_radio_button, { value: "custom" }, {
576
- default: withCtx(() => _cache[64] || (_cache[64] = [
600
+ default: withCtx(() => _cache[65] || (_cache[65] = [
577
601
  createTextVNode("自定义")
578
602
  ])),
579
603
  _: 1
@@ -586,28 +610,28 @@ const _sfc_main = {
586
610
  }),
587
611
  unref(currentItem).suffixButton == "dialog" ? (openBlock(), createElementBlock("div", _hoisted_1, [
588
612
  createElementVNode("div", _hoisted_2, [
589
- _cache[65] || (_cache[65] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
613
+ _cache[66] || (_cache[66] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
590
614
  createVNode(_component_el_input, {
591
615
  modelValue: unref(currentItem).suffixDialogName,
592
- "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(currentItem).suffixDialogName = $event)
616
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => unref(currentItem).suffixDialogName = $event)
593
617
  }, null, 8, ["modelValue"])
594
618
  ]),
595
619
  createElementVNode("div", _hoisted_3, [
596
- _cache[68] || (_cache[68] = createElementVNode("span", { class: "field-label" }, "弹层来源", -1)),
620
+ _cache[69] || (_cache[69] = createElementVNode("span", { class: "field-label" }, "弹层来源", -1)),
597
621
  createVNode(_component_el_radio_group, {
598
622
  modelValue: unref(currentItem).dialogSource,
599
- "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => unref(currentItem).dialogSource = $event),
623
+ "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => unref(currentItem).dialogSource = $event),
600
624
  size: "small"
601
625
  }, {
602
626
  default: withCtx(() => [
603
627
  createVNode(_component_el_radio_button, { value: "global" }, {
604
- default: withCtx(() => _cache[66] || (_cache[66] = [
628
+ default: withCtx(() => _cache[67] || (_cache[67] = [
605
629
  createTextVNode("全局")
606
630
  ])),
607
631
  _: 1
608
632
  }),
609
633
  createVNode(_component_el_radio_button, { value: "custom" }, {
610
- default: withCtx(() => _cache[67] || (_cache[67] = [
634
+ default: withCtx(() => _cache[68] || (_cache[68] = [
611
635
  createTextVNode("自定义")
612
636
  ])),
613
637
  _: 1
@@ -617,10 +641,10 @@ const _sfc_main = {
617
641
  }, 8, ["modelValue"])
618
642
  ]),
619
643
  createElementVNode("div", _hoisted_4, [
620
- _cache[69] || (_cache[69] = createElementVNode("span", { class: "field-label" }, "选择弹层", -1)),
644
+ _cache[70] || (_cache[70] = createElementVNode("span", { class: "field-label" }, "选择弹层", -1)),
621
645
  createVNode(_component_el_select, {
622
646
  modelValue: unref(currentItem).suffixDialogId,
623
- "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => unref(currentItem).suffixDialogId = $event),
647
+ "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => unref(currentItem).suffixDialogId = $event),
624
648
  placeholder: "请选择弹层",
625
649
  filterable: "",
626
650
  loading: unref(dialogLoading),
@@ -641,27 +665,27 @@ const _sfc_main = {
641
665
  ]),
642
666
  unref(currentItem).dialogSource == "global" && unref(currentItem).suffixDialogId ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
643
667
  createElementVNode("div", _hoisted_5, [
644
- _cache[73] || (_cache[73] = createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
668
+ _cache[74] || (_cache[74] = createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
645
669
  createVNode(_component_el_radio_group, {
646
670
  modelValue: unref(currentItem).selectionMode,
647
- "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => unref(currentItem).selectionMode = $event),
671
+ "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => unref(currentItem).selectionMode = $event),
648
672
  size: "small"
649
673
  }, {
650
674
  default: withCtx(() => [
651
675
  createVNode(_component_el_radio_button, { value: "none" }, {
652
- default: withCtx(() => _cache[70] || (_cache[70] = [
676
+ default: withCtx(() => _cache[71] || (_cache[71] = [
653
677
  createTextVNode("无")
654
678
  ])),
655
679
  _: 1
656
680
  }),
657
681
  createVNode(_component_el_radio_button, { value: "single" }, {
658
- default: withCtx(() => _cache[71] || (_cache[71] = [
682
+ default: withCtx(() => _cache[72] || (_cache[72] = [
659
683
  createTextVNode("单选")
660
684
  ])),
661
685
  _: 1
662
686
  }),
663
687
  createVNode(_component_el_radio_button, { value: "multiple" }, {
664
- default: withCtx(() => _cache[72] || (_cache[72] = [
688
+ default: withCtx(() => _cache[73] || (_cache[73] = [
665
689
  createTextVNode("多选")
666
690
  ])),
667
691
  _: 1
@@ -672,24 +696,24 @@ const _sfc_main = {
672
696
  ]),
673
697
  unref(currentItem).selectionMode != "none" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
674
698
  createElementVNode("div", _hoisted_6, [
675
- _cache[74] || (_cache[74] = createElementVNode("span", { class: "field-label" }, "反显格式", -1)),
699
+ _cache[75] || (_cache[75] = createElementVNode("span", { class: "field-label" }, "反显格式", -1)),
676
700
  createVNode(unref(_sfc_main$1), {
677
701
  title: "反显格式配置",
678
702
  formulaConf: unref(currentItem).displayFormat,
679
- "onUpdate:formulaConf": _cache[21] || (_cache[21] = ($event) => unref(currentItem).displayFormat = $event),
703
+ "onUpdate:formulaConf": _cache[22] || (_cache[22] = ($event) => unref(currentItem).displayFormat = $event),
680
704
  modelValue: unref(currentItem).displayFormatText,
681
- "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => unref(currentItem).displayFormatText = $event),
705
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => unref(currentItem).displayFormatText = $event),
682
706
  fieldList: unref(tableFields)
683
707
  }, null, 8, ["formulaConf", "modelValue", "fieldList"])
684
708
  ]),
685
709
  createElementVNode("div", _hoisted_7, [
686
- _cache[75] || (_cache[75] = createElementVNode("span", {
710
+ _cache[76] || (_cache[76] = createElementVNode("span", {
687
711
  class: "field-label",
688
712
  style: { "width": "100%", "text-align": "left" }
689
713
  }, "选取后表单赋值", -1)),
690
714
  createVNode(FieldSetMapping, {
691
715
  modelValue: unref(currentItem).fieldMapping,
692
- "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => unref(currentItem).fieldMapping = $event),
716
+ "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => unref(currentItem).fieldMapping = $event),
693
717
  fieldLabel: "赋值表单字段",
694
718
  valueLabel: "列表字段",
695
719
  valueOptions: unref(tableFields),
@@ -699,7 +723,7 @@ const _sfc_main = {
699
723
  ])
700
724
  ], 64)) : createCommentVNode("", true),
701
725
  createElementVNode("div", _hoisted_8, [
702
- _cache[76] || (_cache[76] = createElementVNode("span", { class: "field-label" }, "回调事件", -1)),
726
+ _cache[77] || (_cache[77] = createElementVNode("span", { class: "field-label" }, "回调事件", -1)),
703
727
  createVNode(OnlyFLowConfigButton, {
704
728
  config: unref(currentItem).callbackEventConfig,
705
729
  onConfirm: handleOnlyFlowConfirm
@@ -708,14 +732,14 @@ const _sfc_main = {
708
732
  ], 64)) : createCommentVNode("", true)
709
733
  ])) : unref(currentItem).suffixButton == "custom" ? (openBlock(), createElementBlock("div", _hoisted_9, [
710
734
  createElementVNode("div", _hoisted_10, [
711
- _cache[77] || (_cache[77] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
735
+ _cache[78] || (_cache[78] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
712
736
  createVNode(_component_el_input, {
713
737
  modelValue: unref(currentItem).suffixButtonName,
714
- "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => unref(currentItem).suffixButtonName = $event)
738
+ "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => unref(currentItem).suffixButtonName = $event)
715
739
  }, null, 8, ["modelValue"])
716
740
  ]),
717
741
  createElementVNode("div", _hoisted_11, [
718
- _cache[78] || (_cache[78] = createElementVNode("span", { class: "field-label" }, "按钮事件", -1)),
742
+ _cache[79] || (_cache[79] = createElementVNode("span", { class: "field-label" }, "按钮事件", -1)),
719
743
  createVNode(EventConfigButton, {
720
744
  config: unref(currentItem).suffixButtonConfig,
721
745
  onConfirm: handleSuffixButtonConfirm
@@ -723,12 +747,12 @@ const _sfc_main = {
723
747
  ])
724
748
  ])) : createCommentVNode("", true)
725
749
  ], 64)) : createCommentVNode("", true),
726
- unref(currentItem).fieldType === "number" ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
750
+ unref(currentItem).fieldType === "number" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
727
751
  createVNode(_component_el_form_item, { label: "格式" }, {
728
752
  default: withCtx(() => [
729
753
  createVNode(_component_el_select, {
730
754
  modelValue: unref(currentItem).format,
731
- "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => unref(currentItem).format = $event),
755
+ "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => unref(currentItem).format = $event),
732
756
  onChange: handleFormatChange
733
757
  }, {
734
758
  default: withCtx(() => [
@@ -770,14 +794,14 @@ const _sfc_main = {
770
794
  default: withCtx(() => [
771
795
  createVNode(_component_el_checkbox, {
772
796
  modelValue: unref(currentItem).hasDecimalPlaces,
773
- "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => unref(currentItem).hasDecimalPlaces = $event),
797
+ "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => unref(currentItem).hasDecimalPlaces = $event),
774
798
  label: "保留小数位数"
775
799
  }, null, 8, ["modelValue"]),
776
800
  unref(currentItem).hasDecimalPlaces ? (openBlock(), createBlock(_component_el_input_number, {
777
801
  key: 0,
778
802
  style: { "margin-left": "10px", "width": "80px" },
779
803
  modelValue: unref(currentItem).decimalPlaces,
780
- "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => unref(currentItem).decimalPlaces = $event),
804
+ "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => unref(currentItem).decimalPlaces = $event),
781
805
  min: 0,
782
806
  max: 10,
783
807
  "controls-position": "right",
@@ -792,15 +816,15 @@ const _sfc_main = {
792
816
  createVNode(_component_el_input_number, {
793
817
  style: { "width": "100%" },
794
818
  modelValue: unref(currentItem).minValue,
795
- "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => unref(currentItem).minValue = $event),
819
+ "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => unref(currentItem).minValue = $event),
796
820
  "controls-position": "right",
797
821
  placeholder: "最小值"
798
822
  }, null, 8, ["modelValue"]),
799
- _cache[79] || (_cache[79] = createElementVNode("span", { style: { "color": "#909399", "font-size": "14px" } }, "-", -1)),
823
+ _cache[80] || (_cache[80] = createElementVNode("span", { style: { "color": "#909399", "font-size": "14px" } }, "-", -1)),
800
824
  createVNode(_component_el_input_number, {
801
825
  style: { "width": "100%" },
802
826
  modelValue: unref(currentItem).maxValue,
803
- "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => unref(currentItem).maxValue = $event),
827
+ "onUpdate:modelValue": _cache[30] || (_cache[30] = ($event) => unref(currentItem).maxValue = $event),
804
828
  "controls-position": "right",
805
829
  max: 99999999999999,
806
830
  placeholder: "最大值"
@@ -810,12 +834,12 @@ const _sfc_main = {
810
834
  _: 1
811
835
  })
812
836
  ], 64)) : createCommentVNode("", true),
813
- unref(currentItem).fieldType === "text" || unref(currentItem).fieldType === "number" ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
837
+ unref(currentItem).fieldType === "text" || unref(currentItem).fieldType === "number" ? (openBlock(), createElementBlock(Fragment, { key: 6 }, [
814
838
  createVNode(_component_el_form_item, { label: "前置内容" }, {
815
839
  default: withCtx(() => [
816
840
  createVNode(_component_el_input, {
817
841
  modelValue: unref(currentItem).prefix,
818
- "onUpdate:modelValue": _cache[30] || (_cache[30] = ($event) => unref(currentItem).prefix = $event)
842
+ "onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => unref(currentItem).prefix = $event)
819
843
  }, null, 8, ["modelValue"])
820
844
  ]),
821
845
  _: 1
@@ -824,68 +848,68 @@ const _sfc_main = {
824
848
  default: withCtx(() => [
825
849
  createVNode(_component_el_input, {
826
850
  modelValue: unref(currentItem).suffix,
827
- "onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => unref(currentItem).suffix = $event)
851
+ "onUpdate:modelValue": _cache[32] || (_cache[32] = ($event) => unref(currentItem).suffix = $event)
828
852
  }, null, 8, ["modelValue"])
829
853
  ]),
830
854
  _: 1
831
855
  })
832
856
  ], 64)) : createCommentVNode("", true),
833
857
  unref(currentItem).fieldType === "select" || unref(currentItem).fieldType === "multipleSelection" || unref(currentItem).fieldType === "radio" || unref(currentItem).fieldType === "checkbox" ? (openBlock(), createBlock(OptionConfig, {
834
- key: 6,
858
+ key: 7,
835
859
  modelValue: unref(currentItem).optionConfig,
836
- "onUpdate:modelValue": _cache[32] || (_cache[32] = ($event) => unref(currentItem).optionConfig = $event)
860
+ "onUpdate:modelValue": _cache[33] || (_cache[33] = ($event) => unref(currentItem).optionConfig = $event)
837
861
  }, null, 8, ["modelValue"])) : createCommentVNode("", true),
838
- unref(currentItem).fieldType === "cascader" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
862
+ unref(currentItem).fieldType === "cascader" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
839
863
  createVNode(_component_el_form_item, { label: "数据源" }, {
840
864
  default: withCtx(() => [
841
865
  createVNode(_sfc_main$2, {
842
866
  modelValue: unref(currentItem).optionConfig.dataSourceValue,
843
- "onUpdate:modelValue": _cache[33] || (_cache[33] = ($event) => unref(currentItem).optionConfig.dataSourceValue = $event)
867
+ "onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => unref(currentItem).optionConfig.dataSourceValue = $event)
844
868
  }, null, 8, ["modelValue"])
845
869
  ]),
846
870
  _: 1
847
871
  }),
848
872
  createElementVNode("div", _hoisted_13, [
849
873
  createElementVNode("div", _hoisted_14, [
850
- _cache[80] || (_cache[80] = createElementVNode("span", { class: "field-label" }, "显示字段", -1)),
874
+ _cache[81] || (_cache[81] = createElementVNode("span", { class: "field-label" }, "显示字段", -1)),
851
875
  createVNode(_component_el_input, {
852
876
  modelValue: unref(currentItem).optionConfig.displayField,
853
- "onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => unref(currentItem).optionConfig.displayField = $event),
877
+ "onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => unref(currentItem).optionConfig.displayField = $event),
854
878
  placeholder: "如:optName"
855
879
  }, null, 8, ["modelValue"])
856
880
  ]),
857
881
  createElementVNode("div", _hoisted_15, [
858
- _cache[81] || (_cache[81] = createElementVNode("span", { class: "field-label" }, "值字段", -1)),
882
+ _cache[82] || (_cache[82] = createElementVNode("span", { class: "field-label" }, "值字段", -1)),
859
883
  createVNode(_component_el_input, {
860
884
  modelValue: unref(currentItem).optionConfig.valueField,
861
- "onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => unref(currentItem).optionConfig.valueField = $event),
885
+ "onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => unref(currentItem).optionConfig.valueField = $event),
862
886
  placeholder: "如:optCode"
863
887
  }, null, 8, ["modelValue"])
864
888
  ]),
865
889
  createElementVNode("div", _hoisted_16, [
866
- _cache[82] || (_cache[82] = createElementVNode("span", { class: "field-label" }, "主键字段", -1)),
890
+ _cache[83] || (_cache[83] = createElementVNode("span", { class: "field-label" }, "主键字段", -1)),
867
891
  createVNode(_component_el_input, {
868
892
  modelValue: unref(currentItem).optionConfig.idField,
869
- "onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => unref(currentItem).optionConfig.idField = $event),
893
+ "onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => unref(currentItem).optionConfig.idField = $event),
870
894
  placeholder: "如:id"
871
895
  }, null, 8, ["modelValue"])
872
896
  ]),
873
897
  createElementVNode("div", _hoisted_17, [
874
- _cache[83] || (_cache[83] = createElementVNode("span", { class: "field-label" }, "父主键字段", -1)),
898
+ _cache[84] || (_cache[84] = createElementVNode("span", { class: "field-label" }, "父主键字段", -1)),
875
899
  createVNode(_component_el_input, {
876
900
  modelValue: unref(currentItem).optionConfig.pidField,
877
- "onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => unref(currentItem).optionConfig.pidField = $event),
901
+ "onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => unref(currentItem).optionConfig.pidField = $event),
878
902
  placeholder: "如:pid"
879
903
  }, null, 8, ["modelValue"])
880
904
  ])
881
905
  ])
882
906
  ], 64)) : createCommentVNode("", true),
883
- unref(currentItem).fieldType === "cascader" || unref(currentItem).fieldType === "area" || unref(currentItem).fieldType === "industry" ? (openBlock(), createElementBlock(Fragment, { key: 8 }, [
907
+ unref(currentItem).fieldType === "cascader" || unref(currentItem).fieldType === "area" || unref(currentItem).fieldType === "industry" ? (openBlock(), createElementBlock(Fragment, { key: 9 }, [
884
908
  createVNode(_component_el_form_item, { label: "是否多选" }, {
885
909
  default: withCtx(() => [
886
910
  createVNode(_component_el_switch, {
887
911
  modelValue: unref(currentItem).multiple,
888
- "onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => unref(currentItem).multiple = $event)
912
+ "onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => unref(currentItem).multiple = $event)
889
913
  }, null, 8, ["modelValue"])
890
914
  ]),
891
915
  _: 1
@@ -894,7 +918,7 @@ const _sfc_main = {
894
918
  default: withCtx(() => [
895
919
  createVNode(_component_el_switch, {
896
920
  modelValue: unref(currentItem).showFullPath,
897
- "onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => unref(currentItem).showFullPath = $event)
921
+ "onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => unref(currentItem).showFullPath = $event)
898
922
  }, null, 8, ["modelValue"])
899
923
  ]),
900
924
  _: 1
@@ -903,7 +927,7 @@ const _sfc_main = {
903
927
  default: withCtx(() => [
904
928
  createVNode(_component_el_switch, {
905
929
  modelValue: unref(currentItem).checkStrictly,
906
- "onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => unref(currentItem).checkStrictly = $event)
930
+ "onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => unref(currentItem).checkStrictly = $event)
907
931
  }, null, 8, ["modelValue"])
908
932
  ]),
909
933
  _: 1
@@ -912,7 +936,7 @@ const _sfc_main = {
912
936
  default: withCtx(() => [
913
937
  createVNode(_component_el_input_number, {
914
938
  modelValue: unref(currentItem).maxLevel,
915
- "onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => unref(currentItem).maxLevel = $event),
939
+ "onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => unref(currentItem).maxLevel = $event),
916
940
  min: 1,
917
941
  style: { "width": "100%" }
918
942
  }, null, 8, ["modelValue"])
@@ -921,13 +945,13 @@ const _sfc_main = {
921
945
  })
922
946
  ], 64)) : createCommentVNode("", true),
923
947
  unref(currentItem).fieldType === "select" || unref(currentItem).fieldType === "multipleSelection" ? (openBlock(), createBlock(_component_el_form_item, {
924
- key: 9,
948
+ key: 10,
925
949
  label: "标签效果"
926
950
  }, {
927
951
  default: withCtx(() => [
928
952
  createVNode(_component_el_select, {
929
953
  modelValue: unref(currentItem).optionStyle,
930
- "onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => unref(currentItem).optionStyle = $event)
954
+ "onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => unref(currentItem).optionStyle = $event)
931
955
  }, {
932
956
  default: withCtx(() => [
933
957
  createVNode(_component_el_option, {
@@ -940,12 +964,12 @@ const _sfc_main = {
940
964
  ]),
941
965
  _: 1
942
966
  })) : createCommentVNode("", true),
943
- unref(currentItem).fieldType === "date" ? (openBlock(), createElementBlock(Fragment, { key: 10 }, [
967
+ unref(currentItem).fieldType === "date" ? (openBlock(), createElementBlock(Fragment, { key: 11 }, [
944
968
  createVNode(_component_el_form_item, { label: "显示格式" }, {
945
969
  default: withCtx(() => [
946
970
  createVNode(_component_el_select, {
947
971
  modelValue: unref(currentItem).dateType,
948
- "onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => unref(currentItem).dateType = $event)
972
+ "onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => unref(currentItem).dateType = $event)
949
973
  }, {
950
974
  default: withCtx(() => [
951
975
  createVNode(_component_el_option, {
@@ -978,7 +1002,7 @@ const _sfc_main = {
978
1002
  default: withCtx(() => [
979
1003
  createVNode(_component_el_select, {
980
1004
  modelValue: unref(currentItem).dateValueType,
981
- "onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => unref(currentItem).dateValueType = $event)
1005
+ "onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => unref(currentItem).dateValueType = $event)
982
1006
  }, {
983
1007
  default: withCtx(() => [
984
1008
  createVNode(_component_el_option, {
@@ -1003,7 +1027,7 @@ const _sfc_main = {
1003
1027
  default: withCtx(() => [
1004
1028
  createVNode(_component_el_select, {
1005
1029
  modelValue: unref(currentItem).dateRange,
1006
- "onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => unref(currentItem).dateRange = $event),
1030
+ "onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => unref(currentItem).dateRange = $event),
1007
1031
  "empty-values": [null, void 0],
1008
1032
  "value-on-clear": null
1009
1033
  }, {
@@ -1027,12 +1051,12 @@ const _sfc_main = {
1027
1051
  _: 1
1028
1052
  })
1029
1053
  ], 64)) : createCommentVNode("", true),
1030
- unref(isSysSelect) ? (openBlock(), createElementBlock(Fragment, { key: 11 }, [
1054
+ unref(isSysSelect) ? (openBlock(), createElementBlock(Fragment, { key: 12 }, [
1031
1055
  createVNode(_component_el_form_item, { label: "弹层标题" }, {
1032
1056
  default: withCtx(() => [
1033
1057
  createVNode(_component_el_input, {
1034
1058
  modelValue: unref(currentItem).dialogConfig.dialogTitle,
1035
- "onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => unref(currentItem).dialogConfig.dialogTitle = $event)
1059
+ "onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => unref(currentItem).dialogConfig.dialogTitle = $event)
1036
1060
  }, null, 8, ["modelValue"])
1037
1061
  ]),
1038
1062
  _: 1
@@ -1041,7 +1065,7 @@ const _sfc_main = {
1041
1065
  default: withCtx(() => [
1042
1066
  createVNode(_component_ParamsConfig, {
1043
1067
  modelValue: unref(currentItem).dialogConfig.dialogParams,
1044
- "onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => unref(currentItem).dialogConfig.dialogParams = $event)
1068
+ "onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => unref(currentItem).dialogConfig.dialogParams = $event)
1045
1069
  }, null, 8, ["modelValue"])
1046
1070
  ]),
1047
1071
  _: 1
@@ -1053,17 +1077,17 @@ const _sfc_main = {
1053
1077
  default: withCtx(() => [
1054
1078
  createVNode(_component_el_radio_group, {
1055
1079
  modelValue: unref(currentItem).dialogConfig.selectionMode,
1056
- "onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => unref(currentItem).dialogConfig.selectionMode = $event)
1080
+ "onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => unref(currentItem).dialogConfig.selectionMode = $event)
1057
1081
  }, {
1058
1082
  default: withCtx(() => [
1059
1083
  createVNode(_component_el_radio_button, { value: "single" }, {
1060
- default: withCtx(() => _cache[84] || (_cache[84] = [
1084
+ default: withCtx(() => _cache[85] || (_cache[85] = [
1061
1085
  createTextVNode("单选")
1062
1086
  ])),
1063
1087
  _: 1
1064
1088
  }),
1065
1089
  createVNode(_component_el_radio_button, { value: "multiple" }, {
1066
- default: withCtx(() => _cache[85] || (_cache[85] = [
1090
+ default: withCtx(() => _cache[86] || (_cache[86] = [
1067
1091
  createTextVNode("多选")
1068
1092
  ])),
1069
1093
  _: 1
@@ -1076,7 +1100,7 @@ const _sfc_main = {
1076
1100
  })
1077
1101
  ], 64)) : createCommentVNode("", true),
1078
1102
  !unref(isSysSelect) ? (openBlock(), createBlock(_component_el_form_item, {
1079
- key: 12,
1103
+ key: 13,
1080
1104
  label: "事件配置"
1081
1105
  }, {
1082
1106
  default: withCtx(() => [
@@ -1092,12 +1116,12 @@ const _sfc_main = {
1092
1116
  createElementVNode("div", _hoisted_18, [
1093
1117
  createVNode(_component_el_switch, {
1094
1118
  modelValue: unref(currentItem).required,
1095
- "onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => unref(currentItem).required = $event)
1119
+ "onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => unref(currentItem).required = $event)
1096
1120
  }, null, 8, ["modelValue"]),
1097
1121
  unref(currentItem).required ? (openBlock(), createBlock(_component_el_input, {
1098
1122
  key: 0,
1099
1123
  modelValue: unref(currentItem).requiredMessage,
1100
- "onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => unref(currentItem).requiredMessage = $event),
1124
+ "onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => unref(currentItem).requiredMessage = $event),
1101
1125
  placeholder: "请输入提示信息",
1102
1126
  style: { "flex": "1" }
1103
1127
  }, null, 8, ["modelValue"])) : createCommentVNode("", true)
@@ -1106,13 +1130,13 @@ const _sfc_main = {
1106
1130
  _: 1
1107
1131
  }),
1108
1132
  !unref(isSysSelect) ? (openBlock(), createBlock(_component_el_form_item, {
1109
- key: 13,
1133
+ key: 14,
1110
1134
  label: "校验规则"
1111
1135
  }, {
1112
1136
  default: withCtx(() => [
1113
1137
  createVNode(_component_el_select, {
1114
1138
  modelValue: unref(currentItem).validationType,
1115
- "onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => unref(currentItem).validationType = $event),
1139
+ "onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => unref(currentItem).validationType = $event),
1116
1140
  placeholder: "选择校验规则",
1117
1141
  onChange: handleValidationChange,
1118
1142
  style: { "margin-bottom": "12px" }
@@ -1178,13 +1202,13 @@ const _sfc_main = {
1178
1202
  unref(currentItem).validationType === "custom" ? (openBlock(), createElementBlock("div", _hoisted_20, [
1179
1203
  createVNode(_sfc_main$2, {
1180
1204
  modelValue: unref(currentItem).validationDataSource,
1181
- "onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => unref(currentItem).validationDataSource = $event)
1205
+ "onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => unref(currentItem).validationDataSource = $event)
1182
1206
  }, null, 8, ["modelValue"])
1183
1207
  ])) : createCommentVNode("", true),
1184
1208
  unref(currentItem).validationType !== "none" ? (openBlock(), createBlock(_component_el_input, {
1185
1209
  key: 2,
1186
1210
  modelValue: unref(currentItem).validationMessage,
1187
- "onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => unref(currentItem).validationMessage = $event),
1211
+ "onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => unref(currentItem).validationMessage = $event),
1188
1212
  placeholder: getValidationPlaceholder(),
1189
1213
  style: { "margin-bottom": "12px" }
1190
1214
  }, null, 8, ["modelValue", "placeholder"])) : createCommentVNode("", true)
@@ -1203,7 +1227,7 @@ const _sfc_main = {
1203
1227
  };
1204
1228
  }
1205
1229
  };
1206
- const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1834d1bb"]]);
1230
+ const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c6d9f6a6"]]);
1207
1231
  export {
1208
1232
  widgets as default
1209
1233
  };
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/es/index.mjs";
14
14
  import { getCurrentInstance, useModel, ref, watch, computed, createBlock, openBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, unref } from "vue";
15
15
  import { Plus as plus_default } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
16
16
  import { getEditConfigData, getEditConfigDataFields, setEditConfigData } from "../utils/common.mjs";
17
- import ValueSelector from "../../components/ValueSelector.vue.mjs";
17
+ import ValueSelector from "../../components/ValueSelector.vue2.mjs";
18
18
  import api from "../../api/index.mjs";
19
19
  /* empty css */
20
20
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
@@ -45,7 +45,7 @@ import { Connection as connection_default, Grid as grid_default, ChatLineSquare
45
45
  /* empty css */
46
46
  import "../../store/index.mjs";
47
47
  /* empty css */
48
- /* empty css */
48
+ /* empty css */
49
49
  /* empty css */
50
50
  /* empty css */
51
51
  /* empty css */