@fecp/designer 5.4.77 → 5.4.78

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 (41) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/packages/dialog/index.vue2.mjs +1 -1
  3. package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
  4. package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
  5. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +8 -17
  6. package/es/designer/src/packages/form/property/contract.vue.mjs +13 -22
  7. package/es/designer/src/packages/form/property/document.vue.mjs +11 -20
  8. package/es/designer/src/packages/form/property/subForm.vue.mjs +16 -25
  9. package/es/designer/src/packages/form/property/subTable.vue.mjs +17 -26
  10. package/es/designer/src/packages/form/property/subTitleH2.vue.mjs +5 -14
  11. package/es/designer/src/packages/form/property/widgets.vue.mjs +83 -92
  12. package/es/designer/src/packages/table/property/widgets.vue.mjs +25 -34
  13. package/es/designer.css +88 -88
  14. package/es/packages/vue/index.mjs +2 -0
  15. package/es/packages/vue/src/components/details/footer/Footer.vue.mjs +7 -4
  16. package/es/packages/vue/src/components/details/header/Header.vue.mjs +7 -4
  17. package/es/packages/vue/src/components/table/CustomButtons.vue.mjs +11 -6
  18. package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +7 -4
  19. package/es/packages/vue/src/components/table/TableColumn.vue.mjs +18 -2
  20. package/es/packages/vue/src/directive/auth.mjs +29 -0
  21. package/lib/designer/package.json.js +1 -1
  22. package/lib/designer/src/packages/dialog/index.vue2.js +1 -1
  23. package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
  24. package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
  25. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +8 -17
  26. package/lib/designer/src/packages/form/property/contract.vue.js +13 -22
  27. package/lib/designer/src/packages/form/property/document.vue.js +11 -20
  28. package/lib/designer/src/packages/form/property/subForm.vue.js +16 -25
  29. package/lib/designer/src/packages/form/property/subTable.vue.js +17 -26
  30. package/lib/designer/src/packages/form/property/subTitleH2.vue.js +5 -14
  31. package/lib/designer/src/packages/form/property/widgets.vue.js +83 -92
  32. package/lib/designer/src/packages/table/property/widgets.vue.js +25 -34
  33. package/lib/designer.css +88 -88
  34. package/lib/packages/vue/index.js +2 -0
  35. package/lib/packages/vue/src/components/details/footer/Footer.vue.js +6 -3
  36. package/lib/packages/vue/src/components/details/header/Header.vue.js +6 -3
  37. package/lib/packages/vue/src/components/table/CustomButtons.vue.js +10 -5
  38. package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +6 -3
  39. package/lib/packages/vue/src/components/table/TableColumn.vue.js +18 -2
  40. package/lib/packages/vue/src/directive/auth.js +29 -0
  41. package/package.json +1 -1
@@ -52,8 +52,8 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
52
52
  import "../../../components/TemplateSelector.vue.mjs";
53
53
  import "../../table/default.mjs";
54
54
  /* empty css */
55
- /* empty css */
56
- /* empty css */
55
+ /* empty css */
56
+ /* empty css */
57
57
  import "../../../store/index.mjs";
58
58
  /* empty css */
59
59
  import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
@@ -315,7 +315,7 @@ const _sfc_main = {
315
315
  return openBlock(), createBlock(_component_el_collapse, {
316
316
  class: "setting",
317
317
  modelValue: unref(activeName),
318
- "onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => isRef(activeName) ? activeName.value = $event : null)
318
+ "onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => isRef(activeName) ? activeName.value = $event : null)
319
319
  }, {
320
320
  default: withCtx(() => [
321
321
  createVNode(_component_el_collapse_item, {
@@ -392,20 +392,11 @@ const _sfc_main = {
392
392
  ]),
393
393
  _: 1
394
394
  })),
395
- createVNode(_component_el_form_item, { label: "权限标识" }, {
396
- default: withCtx(() => [
397
- createVNode(_component_el_input, {
398
- modelValue: unref(currentItem).permission,
399
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(currentItem).permission = $event)
400
- }, null, 8, ["modelValue"])
401
- ]),
402
- _: 1
403
- }),
404
395
  createVNode(_component_el_form_item, { label: "占位内容" }, {
405
396
  default: withCtx(() => [
406
397
  createVNode(_component_el_input, {
407
398
  modelValue: unref(currentItem).placeholder,
408
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(currentItem).placeholder = $event)
399
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(currentItem).placeholder = $event)
409
400
  }, null, 8, ["modelValue"])
410
401
  ]),
411
402
  _: 1
@@ -414,12 +405,12 @@ const _sfc_main = {
414
405
  default: withCtx(() => [
415
406
  createVNode(_component_el_checkbox, {
416
407
  modelValue: unref(currentItem).credit,
417
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(currentItem).credit = $event),
408
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(currentItem).credit = $event),
418
409
  label: "征信"
419
410
  }, null, 8, ["modelValue"]),
420
411
  createVNode(_component_el_checkbox, {
421
412
  modelValue: unref(currentItem).regulation,
422
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(currentItem).regulation = $event),
413
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(currentItem).regulation = $event),
423
414
  label: "监管"
424
415
  }, null, 8, ["modelValue"])
425
416
  ]),
@@ -429,24 +420,24 @@ const _sfc_main = {
429
420
  default: withCtx(() => [
430
421
  createVNode(_component_el_radio_group, {
431
422
  modelValue: unref(currentItem).labelMode,
432
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(currentItem).labelMode = $event),
423
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(currentItem).labelMode = $event),
433
424
  size: "small"
434
425
  }, {
435
426
  default: withCtx(() => [
436
427
  createVNode(_component_el_radio_button, { value: "default" }, {
437
- default: withCtx(() => _cache[55] || (_cache[55] = [
428
+ default: withCtx(() => _cache[54] || (_cache[54] = [
438
429
  createTextVNode("默认")
439
430
  ])),
440
431
  _: 1
441
432
  }),
442
433
  createVNode(_component_el_radio_button, { value: "label" }, {
443
- default: withCtx(() => _cache[56] || (_cache[56] = [
434
+ default: withCtx(() => _cache[55] || (_cache[55] = [
444
435
  createTextVNode("标签")
445
436
  ])),
446
437
  _: 1
447
438
  }),
448
439
  createVNode(_component_el_radio_button, { value: "input" }, {
449
- default: withCtx(() => _cache[57] || (_cache[57] = [
440
+ default: withCtx(() => _cache[56] || (_cache[56] = [
450
441
  createTextVNode("输入框")
451
442
  ])),
452
443
  _: 1
@@ -461,24 +452,24 @@ const _sfc_main = {
461
452
  default: withCtx(() => [
462
453
  createVNode(_component_el_radio_group, {
463
454
  modelValue: unref(currentItem).displayMode,
464
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(currentItem).displayMode = $event),
455
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(currentItem).displayMode = $event),
465
456
  size: "small"
466
457
  }, {
467
458
  default: withCtx(() => [
468
459
  createVNode(_component_el_radio_button, { value: "all" }, {
469
- default: withCtx(() => _cache[58] || (_cache[58] = [
460
+ default: withCtx(() => _cache[57] || (_cache[57] = [
470
461
  createTextVNode("始终显示")
471
462
  ])),
472
463
  _: 1
473
464
  }),
474
465
  createVNode(_component_el_radio_button, { value: "edit" }, {
475
- default: withCtx(() => _cache[59] || (_cache[59] = [
466
+ default: withCtx(() => _cache[58] || (_cache[58] = [
476
467
  createTextVNode("编辑时显示")
477
468
  ])),
478
469
  _: 1
479
470
  }),
480
471
  createVNode(_component_el_radio_button, { value: "query" }, {
481
- default: withCtx(() => _cache[60] || (_cache[60] = [
472
+ default: withCtx(() => _cache[59] || (_cache[59] = [
482
473
  createTextVNode("查看时显示")
483
474
  ])),
484
475
  _: 1
@@ -493,7 +484,7 @@ const _sfc_main = {
493
484
  default: withCtx(() => [
494
485
  createVNode(_component_el_checkbox, {
495
486
  modelValue: unref(currentItem).disabled,
496
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(currentItem).disabled = $event),
487
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(currentItem).disabled = $event),
497
488
  label: "只读"
498
489
  }, null, 8, ["modelValue"])
499
490
  ]),
@@ -503,7 +494,7 @@ const _sfc_main = {
503
494
  default: withCtx(() => [
504
495
  createVNode(_component_el_input, {
505
496
  modelValue: unref(currentItem).tooltip,
506
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(currentItem).tooltip = $event),
497
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(currentItem).tooltip = $event),
507
498
  rows: 2,
508
499
  type: "textarea",
509
500
  resize: "none"
@@ -515,7 +506,7 @@ const _sfc_main = {
515
506
  default: withCtx(() => [
516
507
  createVNode(DefaultValueEditor, {
517
508
  modelValue: unref(currentItem).defaultValue,
518
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(currentItem).defaultValue = $event),
509
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(currentItem).defaultValue = $event),
519
510
  config: unref(currentItem)
520
511
  }, null, 8, ["modelValue", "config"])
521
512
  ]),
@@ -527,7 +518,7 @@ const _sfc_main = {
527
518
  createVNode(_component_el_input_number, {
528
519
  style: { "width": "100%" },
529
520
  modelValue: unref(currentItem).maxLength,
530
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(currentItem).maxLength = $event),
521
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(currentItem).maxLength = $event),
531
522
  min: 0,
532
523
  max: 1e4,
533
524
  "controls-position": "right"
@@ -539,7 +530,7 @@ const _sfc_main = {
539
530
  default: withCtx(() => [
540
531
  createVNode(_component_el_checkbox, {
541
532
  modelValue: unref(currentItem).showWordCount,
542
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(currentItem).showWordCount = $event),
533
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(currentItem).showWordCount = $event),
543
534
  label: "显示字数统计"
544
535
  }, null, 8, ["modelValue"])
545
536
  ]),
@@ -549,7 +540,7 @@ const _sfc_main = {
549
540
  default: withCtx(() => [
550
541
  createVNode(_component_el_input, {
551
542
  modelValue: unref(currentItem).dataMasking,
552
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(currentItem).dataMasking = $event)
543
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(currentItem).dataMasking = $event)
553
544
  }, null, 8, ["modelValue"])
554
545
  ]),
555
546
  _: 1
@@ -557,30 +548,30 @@ const _sfc_main = {
557
548
  ], 64)) : createCommentVNode("", true),
558
549
  unref(currentItem).fieldType === "text" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
559
550
  createVNode(_component_el_form_item, null, {
560
- label: withCtx(() => _cache[61] || (_cache[61] = [
551
+ label: withCtx(() => _cache[60] || (_cache[60] = [
561
552
  createElementVNode("span", null, "尾部按钮", -1)
562
553
  ])),
563
554
  default: withCtx(() => [
564
555
  createVNode(_component_el_radio_group, {
565
556
  modelValue: unref(currentItem).suffixButton,
566
- "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(currentItem).suffixButton = $event),
557
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(currentItem).suffixButton = $event),
567
558
  size: "small"
568
559
  }, {
569
560
  default: withCtx(() => [
570
561
  createVNode(_component_el_radio_button, { value: "none" }, {
571
- default: withCtx(() => _cache[62] || (_cache[62] = [
562
+ default: withCtx(() => _cache[61] || (_cache[61] = [
572
563
  createTextVNode("无")
573
564
  ])),
574
565
  _: 1
575
566
  }),
576
567
  createVNode(_component_el_radio_button, { value: "dialog" }, {
577
- default: withCtx(() => _cache[63] || (_cache[63] = [
568
+ default: withCtx(() => _cache[62] || (_cache[62] = [
578
569
  createTextVNode("弹层选择")
579
570
  ])),
580
571
  _: 1
581
572
  }),
582
573
  createVNode(_component_el_radio_button, { value: "custom" }, {
583
- default: withCtx(() => _cache[64] || (_cache[64] = [
574
+ default: withCtx(() => _cache[63] || (_cache[63] = [
584
575
  createTextVNode("自定义")
585
576
  ])),
586
577
  _: 1
@@ -593,28 +584,28 @@ const _sfc_main = {
593
584
  }),
594
585
  unref(currentItem).suffixButton == "dialog" ? (openBlock(), createElementBlock("div", _hoisted_1, [
595
586
  createElementVNode("div", _hoisted_2, [
596
- _cache[65] || (_cache[65] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
587
+ _cache[64] || (_cache[64] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
597
588
  createVNode(_component_el_input, {
598
589
  modelValue: unref(currentItem).suffixDialogName,
599
- "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => unref(currentItem).suffixDialogName = $event)
590
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(currentItem).suffixDialogName = $event)
600
591
  }, null, 8, ["modelValue"])
601
592
  ]),
602
593
  createElementVNode("div", _hoisted_3, [
603
- _cache[68] || (_cache[68] = createElementVNode("span", { class: "field-label" }, "弹层来源", -1)),
594
+ _cache[67] || (_cache[67] = createElementVNode("span", { class: "field-label" }, "弹层来源", -1)),
604
595
  createVNode(_component_el_radio_group, {
605
596
  modelValue: unref(currentItem).dialogSource,
606
- "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => unref(currentItem).dialogSource = $event),
597
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => unref(currentItem).dialogSource = $event),
607
598
  size: "small"
608
599
  }, {
609
600
  default: withCtx(() => [
610
601
  createVNode(_component_el_radio_button, { value: "global" }, {
611
- default: withCtx(() => _cache[66] || (_cache[66] = [
602
+ default: withCtx(() => _cache[65] || (_cache[65] = [
612
603
  createTextVNode("全局")
613
604
  ])),
614
605
  _: 1
615
606
  }),
616
607
  createVNode(_component_el_radio_button, { value: "custom" }, {
617
- default: withCtx(() => _cache[67] || (_cache[67] = [
608
+ default: withCtx(() => _cache[66] || (_cache[66] = [
618
609
  createTextVNode("自定义")
619
610
  ])),
620
611
  _: 1
@@ -624,10 +615,10 @@ const _sfc_main = {
624
615
  }, 8, ["modelValue"])
625
616
  ]),
626
617
  createElementVNode("div", _hoisted_4, [
627
- _cache[69] || (_cache[69] = createElementVNode("span", { class: "field-label" }, "选择弹层", -1)),
618
+ _cache[68] || (_cache[68] = createElementVNode("span", { class: "field-label" }, "选择弹层", -1)),
628
619
  createVNode(_component_el_select, {
629
620
  modelValue: unref(currentItem).suffixDialogId,
630
- "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => unref(currentItem).suffixDialogId = $event),
621
+ "onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => unref(currentItem).suffixDialogId = $event),
631
622
  placeholder: "请选择弹层",
632
623
  filterable: "",
633
624
  loading: unref(dialogLoading),
@@ -648,27 +639,27 @@ const _sfc_main = {
648
639
  ]),
649
640
  unref(currentItem).dialogSource == "global" && unref(currentItem).suffixDialogId ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
650
641
  createElementVNode("div", _hoisted_5, [
651
- _cache[73] || (_cache[73] = createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
642
+ _cache[72] || (_cache[72] = createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
652
643
  createVNode(_component_el_radio_group, {
653
644
  modelValue: unref(currentItem).selectionMode,
654
- "onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => unref(currentItem).selectionMode = $event),
645
+ "onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => unref(currentItem).selectionMode = $event),
655
646
  size: "small"
656
647
  }, {
657
648
  default: withCtx(() => [
658
649
  createVNode(_component_el_radio_button, { value: "none" }, {
659
- default: withCtx(() => _cache[70] || (_cache[70] = [
650
+ default: withCtx(() => _cache[69] || (_cache[69] = [
660
651
  createTextVNode("无")
661
652
  ])),
662
653
  _: 1
663
654
  }),
664
655
  createVNode(_component_el_radio_button, { value: "single" }, {
665
- default: withCtx(() => _cache[71] || (_cache[71] = [
656
+ default: withCtx(() => _cache[70] || (_cache[70] = [
666
657
  createTextVNode("单选")
667
658
  ])),
668
659
  _: 1
669
660
  }),
670
661
  createVNode(_component_el_radio_button, { value: "multiple" }, {
671
- default: withCtx(() => _cache[72] || (_cache[72] = [
662
+ default: withCtx(() => _cache[71] || (_cache[71] = [
672
663
  createTextVNode("多选")
673
664
  ])),
674
665
  _: 1
@@ -679,24 +670,24 @@ const _sfc_main = {
679
670
  ]),
680
671
  unref(currentItem).selectionMode != "none" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
681
672
  createElementVNode("div", _hoisted_6, [
682
- _cache[74] || (_cache[74] = createElementVNode("span", { class: "field-label" }, "反显格式", -1)),
673
+ _cache[73] || (_cache[73] = createElementVNode("span", { class: "field-label" }, "反显格式", -1)),
683
674
  createVNode(unref(_sfc_main$1), {
684
675
  title: "反显格式配置",
685
676
  formulaConf: unref(currentItem).displayFormat,
686
- "onUpdate:formulaConf": _cache[22] || (_cache[22] = ($event) => unref(currentItem).displayFormat = $event),
677
+ "onUpdate:formulaConf": _cache[21] || (_cache[21] = ($event) => unref(currentItem).displayFormat = $event),
687
678
  modelValue: unref(currentItem).displayFormatText,
688
- "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => unref(currentItem).displayFormatText = $event),
679
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => unref(currentItem).displayFormatText = $event),
689
680
  fieldList: unref(tableFields)
690
681
  }, null, 8, ["formulaConf", "modelValue", "fieldList"])
691
682
  ]),
692
683
  createElementVNode("div", _hoisted_7, [
693
- _cache[75] || (_cache[75] = createElementVNode("span", {
684
+ _cache[74] || (_cache[74] = createElementVNode("span", {
694
685
  class: "field-label",
695
686
  style: { "width": "100%", "text-align": "left" }
696
687
  }, "选取后表单赋值", -1)),
697
688
  createVNode(FieldSetMapping, {
698
689
  modelValue: unref(currentItem).fieldMapping,
699
- "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => unref(currentItem).fieldMapping = $event),
690
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => unref(currentItem).fieldMapping = $event),
700
691
  fieldLabel: "赋值表单字段",
701
692
  valueLabel: "列表字段",
702
693
  valueOptions: unref(tableFields),
@@ -706,7 +697,7 @@ const _sfc_main = {
706
697
  ])
707
698
  ], 64)) : createCommentVNode("", true),
708
699
  createElementVNode("div", _hoisted_8, [
709
- _cache[76] || (_cache[76] = createElementVNode("span", { class: "field-label" }, "回调事件", -1)),
700
+ _cache[75] || (_cache[75] = createElementVNode("span", { class: "field-label" }, "回调事件", -1)),
710
701
  createVNode(OnlyFLowConfigButton, {
711
702
  config: unref(currentItem).callbackEventConfig,
712
703
  onConfirm: handleOnlyFlowConfirm
@@ -715,14 +706,14 @@ const _sfc_main = {
715
706
  ], 64)) : createCommentVNode("", true)
716
707
  ])) : unref(currentItem).suffixButton == "custom" ? (openBlock(), createElementBlock("div", _hoisted_9, [
717
708
  createElementVNode("div", _hoisted_10, [
718
- _cache[77] || (_cache[77] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
709
+ _cache[76] || (_cache[76] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
719
710
  createVNode(_component_el_input, {
720
711
  modelValue: unref(currentItem).suffixButtonName,
721
- "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => unref(currentItem).suffixButtonName = $event)
712
+ "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => unref(currentItem).suffixButtonName = $event)
722
713
  }, null, 8, ["modelValue"])
723
714
  ]),
724
715
  createElementVNode("div", _hoisted_11, [
725
- _cache[78] || (_cache[78] = createElementVNode("span", { class: "field-label" }, "按钮事件", -1)),
716
+ _cache[77] || (_cache[77] = createElementVNode("span", { class: "field-label" }, "按钮事件", -1)),
726
717
  createVNode(EventConfigButton, {
727
718
  config: unref(currentItem).suffixButtonConfig,
728
719
  onConfirm: handleSuffixButtonConfirm
@@ -735,7 +726,7 @@ const _sfc_main = {
735
726
  default: withCtx(() => [
736
727
  createVNode(_component_el_select, {
737
728
  modelValue: unref(currentItem).format,
738
- "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => unref(currentItem).format = $event),
729
+ "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => unref(currentItem).format = $event),
739
730
  onChange: handleFormatChange
740
731
  }, {
741
732
  default: withCtx(() => [
@@ -777,14 +768,14 @@ const _sfc_main = {
777
768
  default: withCtx(() => [
778
769
  createVNode(_component_el_checkbox, {
779
770
  modelValue: unref(currentItem).hasDecimalPlaces,
780
- "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => unref(currentItem).hasDecimalPlaces = $event),
771
+ "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => unref(currentItem).hasDecimalPlaces = $event),
781
772
  label: "保留小数位数"
782
773
  }, null, 8, ["modelValue"]),
783
774
  unref(currentItem).hasDecimalPlaces ? (openBlock(), createBlock(_component_el_input_number, {
784
775
  key: 0,
785
776
  style: { "margin-left": "10px", "width": "80px" },
786
777
  modelValue: unref(currentItem).decimalPlaces,
787
- "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => unref(currentItem).decimalPlaces = $event),
778
+ "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => unref(currentItem).decimalPlaces = $event),
788
779
  min: 0,
789
780
  max: 10,
790
781
  "controls-position": "right",
@@ -802,17 +793,17 @@ const _sfc_main = {
802
793
  createVNode(_component_el_input_number, {
803
794
  style: { "width": "100%" },
804
795
  modelValue: unref(currentItem).minValue,
805
- "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => unref(currentItem).minValue = $event),
796
+ "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => unref(currentItem).minValue = $event),
806
797
  min: 0,
807
798
  max: 999999,
808
799
  "controls-position": "right",
809
800
  placeholder: "最小值"
810
801
  }, null, 8, ["modelValue"]),
811
- _cache[79] || (_cache[79] = createElementVNode("span", { style: { "color": "#909399", "font-size": "14px" } }, "-", -1)),
802
+ _cache[78] || (_cache[78] = createElementVNode("span", { style: { "color": "#909399", "font-size": "14px" } }, "-", -1)),
812
803
  createVNode(_component_el_input_number, {
813
804
  style: { "width": "100%" },
814
805
  modelValue: unref(currentItem).maxValue,
815
- "onUpdate:modelValue": _cache[30] || (_cache[30] = ($event) => unref(currentItem).maxValue = $event),
806
+ "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => unref(currentItem).maxValue = $event),
816
807
  min: 0,
817
808
  max: 999999,
818
809
  "controls-position": "right",
@@ -828,7 +819,7 @@ const _sfc_main = {
828
819
  default: withCtx(() => [
829
820
  createVNode(_component_el_input, {
830
821
  modelValue: unref(currentItem).prefix,
831
- "onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => unref(currentItem).prefix = $event)
822
+ "onUpdate:modelValue": _cache[30] || (_cache[30] = ($event) => unref(currentItem).prefix = $event)
832
823
  }, null, 8, ["modelValue"])
833
824
  ]),
834
825
  _: 1
@@ -837,7 +828,7 @@ const _sfc_main = {
837
828
  default: withCtx(() => [
838
829
  createVNode(_component_el_input, {
839
830
  modelValue: unref(currentItem).suffix,
840
- "onUpdate:modelValue": _cache[32] || (_cache[32] = ($event) => unref(currentItem).suffix = $event)
831
+ "onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => unref(currentItem).suffix = $event)
841
832
  }, null, 8, ["modelValue"])
842
833
  ]),
843
834
  _: 1
@@ -846,48 +837,48 @@ const _sfc_main = {
846
837
  unref(currentItem).fieldType === "select" || unref(currentItem).fieldType === "multipleSelection" || unref(currentItem).fieldType === "radio" || unref(currentItem).fieldType === "checkbox" ? (openBlock(), createBlock(OptionConfig, {
847
838
  key: 6,
848
839
  modelValue: unref(currentItem).optionConfig,
849
- "onUpdate:modelValue": _cache[33] || (_cache[33] = ($event) => unref(currentItem).optionConfig = $event)
840
+ "onUpdate:modelValue": _cache[32] || (_cache[32] = ($event) => unref(currentItem).optionConfig = $event)
850
841
  }, null, 8, ["modelValue"])) : createCommentVNode("", true),
851
842
  unref(currentItem).fieldType === "cascader" ? (openBlock(), createElementBlock(Fragment, { key: 7 }, [
852
843
  createVNode(_component_el_form_item, { label: "数据源" }, {
853
844
  default: withCtx(() => [
854
845
  createVNode(_sfc_main$2, {
855
846
  modelValue: unref(currentItem).optionConfig.dataSourceValue,
856
- "onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => unref(currentItem).optionConfig.dataSourceValue = $event)
847
+ "onUpdate:modelValue": _cache[33] || (_cache[33] = ($event) => unref(currentItem).optionConfig.dataSourceValue = $event)
857
848
  }, null, 8, ["modelValue"])
858
849
  ]),
859
850
  _: 1
860
851
  }),
861
852
  createElementVNode("div", _hoisted_13, [
862
853
  createElementVNode("div", _hoisted_14, [
863
- _cache[80] || (_cache[80] = createElementVNode("span", { class: "field-label" }, "显示字段", -1)),
854
+ _cache[79] || (_cache[79] = createElementVNode("span", { class: "field-label" }, "显示字段", -1)),
864
855
  createVNode(_component_el_input, {
865
856
  modelValue: unref(currentItem).optionConfig.displayField,
866
- "onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => unref(currentItem).optionConfig.displayField = $event),
857
+ "onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => unref(currentItem).optionConfig.displayField = $event),
867
858
  placeholder: "如:optName"
868
859
  }, null, 8, ["modelValue"])
869
860
  ]),
870
861
  createElementVNode("div", _hoisted_15, [
871
- _cache[81] || (_cache[81] = createElementVNode("span", { class: "field-label" }, "值字段", -1)),
862
+ _cache[80] || (_cache[80] = createElementVNode("span", { class: "field-label" }, "值字段", -1)),
872
863
  createVNode(_component_el_input, {
873
864
  modelValue: unref(currentItem).optionConfig.valueField,
874
- "onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => unref(currentItem).optionConfig.valueField = $event),
865
+ "onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => unref(currentItem).optionConfig.valueField = $event),
875
866
  placeholder: "如:optCode"
876
867
  }, null, 8, ["modelValue"])
877
868
  ]),
878
869
  createElementVNode("div", _hoisted_16, [
879
- _cache[82] || (_cache[82] = createElementVNode("span", { class: "field-label" }, "主键字段", -1)),
870
+ _cache[81] || (_cache[81] = createElementVNode("span", { class: "field-label" }, "主键字段", -1)),
880
871
  createVNode(_component_el_input, {
881
872
  modelValue: unref(currentItem).optionConfig.idField,
882
- "onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => unref(currentItem).optionConfig.idField = $event),
873
+ "onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => unref(currentItem).optionConfig.idField = $event),
883
874
  placeholder: "如:id"
884
875
  }, null, 8, ["modelValue"])
885
876
  ]),
886
877
  createElementVNode("div", _hoisted_17, [
887
- _cache[83] || (_cache[83] = createElementVNode("span", { class: "field-label" }, "父主键字段", -1)),
878
+ _cache[82] || (_cache[82] = createElementVNode("span", { class: "field-label" }, "父主键字段", -1)),
888
879
  createVNode(_component_el_input, {
889
880
  modelValue: unref(currentItem).optionConfig.pidField,
890
- "onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => unref(currentItem).optionConfig.pidField = $event),
881
+ "onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => unref(currentItem).optionConfig.pidField = $event),
891
882
  placeholder: "如:pid"
892
883
  }, null, 8, ["modelValue"])
893
884
  ])
@@ -898,7 +889,7 @@ const _sfc_main = {
898
889
  default: withCtx(() => [
899
890
  createVNode(_component_el_switch, {
900
891
  modelValue: unref(currentItem).multiple,
901
- "onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => unref(currentItem).multiple = $event)
892
+ "onUpdate:modelValue": _cache[38] || (_cache[38] = ($event) => unref(currentItem).multiple = $event)
902
893
  }, null, 8, ["modelValue"])
903
894
  ]),
904
895
  _: 1
@@ -907,7 +898,7 @@ const _sfc_main = {
907
898
  default: withCtx(() => [
908
899
  createVNode(_component_el_switch, {
909
900
  modelValue: unref(currentItem).showFullPath,
910
- "onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => unref(currentItem).showFullPath = $event)
901
+ "onUpdate:modelValue": _cache[39] || (_cache[39] = ($event) => unref(currentItem).showFullPath = $event)
911
902
  }, null, 8, ["modelValue"])
912
903
  ]),
913
904
  _: 1
@@ -916,7 +907,7 @@ const _sfc_main = {
916
907
  default: withCtx(() => [
917
908
  createVNode(_component_el_switch, {
918
909
  modelValue: unref(currentItem).checkStrictly,
919
- "onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => unref(currentItem).checkStrictly = $event)
910
+ "onUpdate:modelValue": _cache[40] || (_cache[40] = ($event) => unref(currentItem).checkStrictly = $event)
920
911
  }, null, 8, ["modelValue"])
921
912
  ]),
922
913
  _: 1
@@ -925,7 +916,7 @@ const _sfc_main = {
925
916
  default: withCtx(() => [
926
917
  createVNode(_component_el_input_number, {
927
918
  modelValue: unref(currentItem).maxLevel,
928
- "onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => unref(currentItem).maxLevel = $event),
919
+ "onUpdate:modelValue": _cache[41] || (_cache[41] = ($event) => unref(currentItem).maxLevel = $event),
929
920
  min: 1,
930
921
  style: { "width": "100%" }
931
922
  }, null, 8, ["modelValue"])
@@ -940,7 +931,7 @@ const _sfc_main = {
940
931
  default: withCtx(() => [
941
932
  createVNode(_component_el_select, {
942
933
  modelValue: unref(currentItem).optionStyle,
943
- "onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => unref(currentItem).optionStyle = $event)
934
+ "onUpdate:modelValue": _cache[42] || (_cache[42] = ($event) => unref(currentItem).optionStyle = $event)
944
935
  }, {
945
936
  default: withCtx(() => [
946
937
  createVNode(_component_el_option, {
@@ -958,7 +949,7 @@ const _sfc_main = {
958
949
  default: withCtx(() => [
959
950
  createVNode(_component_el_select, {
960
951
  modelValue: unref(currentItem).dateType,
961
- "onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => unref(currentItem).dateType = $event)
952
+ "onUpdate:modelValue": _cache[43] || (_cache[43] = ($event) => unref(currentItem).dateType = $event)
962
953
  }, {
963
954
  default: withCtx(() => [
964
955
  createVNode(_component_el_option, {
@@ -991,7 +982,7 @@ const _sfc_main = {
991
982
  default: withCtx(() => [
992
983
  createVNode(_component_el_select, {
993
984
  modelValue: unref(currentItem).dateValueType,
994
- "onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => unref(currentItem).dateValueType = $event)
985
+ "onUpdate:modelValue": _cache[44] || (_cache[44] = ($event) => unref(currentItem).dateValueType = $event)
995
986
  }, {
996
987
  default: withCtx(() => [
997
988
  createVNode(_component_el_option, {
@@ -1018,7 +1009,7 @@ const _sfc_main = {
1018
1009
  default: withCtx(() => [
1019
1010
  createVNode(_component_el_input, {
1020
1011
  modelValue: unref(currentItem).dialogConfig.dialogTitle,
1021
- "onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => unref(currentItem).dialogConfig.dialogTitle = $event)
1012
+ "onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => unref(currentItem).dialogConfig.dialogTitle = $event)
1022
1013
  }, null, 8, ["modelValue"])
1023
1014
  ]),
1024
1015
  _: 1
@@ -1027,7 +1018,7 @@ const _sfc_main = {
1027
1018
  default: withCtx(() => [
1028
1019
  createVNode(_component_ParamsConfig, {
1029
1020
  modelValue: unref(currentItem).dialogConfig.dialogParams,
1030
- "onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => unref(currentItem).dialogConfig.dialogParams = $event)
1021
+ "onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => unref(currentItem).dialogConfig.dialogParams = $event)
1031
1022
  }, null, 8, ["modelValue"])
1032
1023
  ]),
1033
1024
  _: 1
@@ -1039,17 +1030,17 @@ const _sfc_main = {
1039
1030
  default: withCtx(() => [
1040
1031
  createVNode(_component_el_radio_group, {
1041
1032
  modelValue: unref(currentItem).dialogConfig.selectionMode,
1042
- "onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => unref(currentItem).dialogConfig.selectionMode = $event)
1033
+ "onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => unref(currentItem).dialogConfig.selectionMode = $event)
1043
1034
  }, {
1044
1035
  default: withCtx(() => [
1045
1036
  createVNode(_component_el_radio_button, { value: "single" }, {
1046
- default: withCtx(() => _cache[84] || (_cache[84] = [
1037
+ default: withCtx(() => _cache[83] || (_cache[83] = [
1047
1038
  createTextVNode("单选")
1048
1039
  ])),
1049
1040
  _: 1
1050
1041
  }),
1051
1042
  createVNode(_component_el_radio_button, { value: "multiple" }, {
1052
- default: withCtx(() => _cache[85] || (_cache[85] = [
1043
+ default: withCtx(() => _cache[84] || (_cache[84] = [
1053
1044
  createTextVNode("多选")
1054
1045
  ])),
1055
1046
  _: 1
@@ -1078,12 +1069,12 @@ const _sfc_main = {
1078
1069
  createElementVNode("div", _hoisted_18, [
1079
1070
  createVNode(_component_el_switch, {
1080
1071
  modelValue: unref(currentItem).required,
1081
- "onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => unref(currentItem).required = $event)
1072
+ "onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => unref(currentItem).required = $event)
1082
1073
  }, null, 8, ["modelValue"]),
1083
1074
  unref(currentItem).required ? (openBlock(), createBlock(_component_el_input, {
1084
1075
  key: 0,
1085
1076
  modelValue: unref(currentItem).requiredMessage,
1086
- "onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => unref(currentItem).requiredMessage = $event),
1077
+ "onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => unref(currentItem).requiredMessage = $event),
1087
1078
  placeholder: "请输入提示信息",
1088
1079
  style: { "flex": "1" }
1089
1080
  }, null, 8, ["modelValue"])) : createCommentVNode("", true)
@@ -1098,7 +1089,7 @@ const _sfc_main = {
1098
1089
  default: withCtx(() => [
1099
1090
  createVNode(_component_el_select, {
1100
1091
  modelValue: unref(currentItem).validationType,
1101
- "onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => unref(currentItem).validationType = $event),
1092
+ "onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => unref(currentItem).validationType = $event),
1102
1093
  placeholder: "选择校验规则",
1103
1094
  onChange: handleValidationChange,
1104
1095
  style: { "margin-bottom": "12px" }
@@ -1164,13 +1155,13 @@ const _sfc_main = {
1164
1155
  unref(currentItem).validationType === "custom" ? (openBlock(), createElementBlock("div", _hoisted_20, [
1165
1156
  createVNode(_sfc_main$2, {
1166
1157
  modelValue: unref(currentItem).validationDataSource,
1167
- "onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => unref(currentItem).validationDataSource = $event)
1158
+ "onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => unref(currentItem).validationDataSource = $event)
1168
1159
  }, null, 8, ["modelValue"])
1169
1160
  ])) : createCommentVNode("", true),
1170
1161
  unref(currentItem).validationType !== "none" ? (openBlock(), createBlock(_component_el_input, {
1171
1162
  key: 2,
1172
1163
  modelValue: unref(currentItem).validationMessage,
1173
- "onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => unref(currentItem).validationMessage = $event),
1164
+ "onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => unref(currentItem).validationMessage = $event),
1174
1165
  placeholder: getValidationPlaceholder(),
1175
1166
  style: { "margin-bottom": "12px" }
1176
1167
  }, null, 8, ["modelValue", "placeholder"])) : createCommentVNode("", true)
@@ -1189,7 +1180,7 @@ const _sfc_main = {
1189
1180
  };
1190
1181
  }
1191
1182
  };
1192
- const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-70b9496e"]]);
1183
+ const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b26b8fa8"]]);
1193
1184
  export {
1194
1185
  widgets as default
1195
1186
  };