@fecp/designer 5.4.18 → 5.4.20

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 (67) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/components/DialogSelect.vue.mjs +122 -0
  3. package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
  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/dialog/index.vue.mjs +58 -41
  9. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +62 -43
  10. package/es/designer/src/packages/event/pageEvent.vue.mjs +18 -3
  11. package/es/designer/src/packages/eventFlow/dialog/action/Dialog.vue.mjs +9 -29
  12. package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +17 -5
  13. package/es/designer/src/packages/eventFlow/dialog/action/config.mjs +1 -0
  14. package/es/designer/src/packages/form/aside/index.mjs +1 -0
  15. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
  16. package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
  17. package/es/designer/src/packages/form/property/subForm.vue.mjs +13 -15
  18. package/es/designer/src/packages/form/property/widgets.vue.mjs +27 -25
  19. package/es/designer/src/packages/prod/index.vue.mjs +1 -1
  20. package/es/designer/src/packages/table/headerBtn.vue.mjs +3 -3
  21. package/es/designer.css +1008 -1005
  22. package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
  23. package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +45 -24
  24. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +10 -0
  25. package/es/packages/vue/src/components/forms/subForm/SubForm.vue.mjs +25 -2
  26. package/es/packages/vue/src/components/forms/text/Text.vue.mjs +11 -1
  27. package/es/packages/vue/src/components/riskSch/RiskSchRenderer.vue.mjs +87 -0
  28. package/es/packages/vue/src/components/riskSch/index.mjs +71 -0
  29. package/es/packages/vue/src/components/table/Table.vue.mjs +10 -0
  30. package/es/packages/vue/src/components/table/TableColumn.vue.mjs +11 -1
  31. package/es/packages/vue/src/composables/usePageEvents.mjs +11 -1
  32. package/es/packages/vue/src/utils/datasource.mjs +1 -1
  33. package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +44 -7
  34. package/lib/designer/package.json.js +1 -1
  35. package/lib/designer/src/components/DialogSelect.vue.js +122 -0
  36. package/lib/designer/src/components/DocumentParam.vue.js +1 -1
  37. package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
  38. package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
  39. package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
  40. package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
  41. package/lib/designer/src/packages/dialog/index.vue.js +58 -41
  42. package/lib/designer/src/packages/dialogGlobal/index.vue.js +62 -43
  43. package/lib/designer/src/packages/event/pageEvent.vue.js +26 -11
  44. package/lib/designer/src/packages/eventFlow/dialog/action/Dialog.vue.js +11 -31
  45. package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +17 -5
  46. package/lib/designer/src/packages/eventFlow/dialog/action/config.js +1 -0
  47. package/lib/designer/src/packages/form/aside/index.js +1 -0
  48. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
  49. package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
  50. package/lib/designer/src/packages/form/property/subForm.vue.js +13 -15
  51. package/lib/designer/src/packages/form/property/widgets.vue.js +22 -20
  52. package/lib/designer/src/packages/prod/index.vue.js +1 -1
  53. package/lib/designer/src/packages/table/headerBtn.vue.js +3 -3
  54. package/lib/designer.css +1008 -1005
  55. package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
  56. package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +44 -23
  57. package/lib/packages/vue/src/components/forms/form/Form.vue.js +10 -0
  58. package/lib/packages/vue/src/components/forms/subForm/SubForm.vue.js +25 -2
  59. package/lib/packages/vue/src/components/forms/text/Text.vue.js +11 -1
  60. package/lib/packages/vue/src/components/riskSch/RiskSchRenderer.vue.js +87 -0
  61. package/lib/packages/vue/src/components/riskSch/index.js +71 -0
  62. package/lib/packages/vue/src/components/table/Table.vue.js +10 -0
  63. package/lib/packages/vue/src/components/table/TableColumn.vue.js +11 -1
  64. package/lib/packages/vue/src/composables/usePageEvents.js +11 -1
  65. package/lib/packages/vue/src/utils/datasource.js +1 -1
  66. package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +57 -20
  67. package/package.json +1 -1
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ require("../../../node_modules/element-plus/es/index.js");
4
+ ;/* empty css */
5
+ ;/* empty css */
6
+ ;/* empty css */
7
+ ;/* empty css */
8
+ ;/* empty css */
9
+ ;/* empty css */
10
+ ;/* empty css */
11
+ ;/* empty css */
12
+ const vue = require("vue");
13
+ const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
14
+ require("../store/index.js");
15
+ const useDialogDialog = require("../packages/dialog/useDialogDialog.js");
16
+ const useDialogGlobalDialog = require("../packages/dialogGlobal/useDialogGlobalDialog.js");
17
+ const index = require("../../../node_modules/element-plus/es/components/select/index.js");
18
+ const index$1 = require("../../../node_modules/element-plus/es/components/button/index.js");
19
+ const _sfc_main = {
20
+ __name: "DialogSelect",
21
+ props: {
22
+ modelValue: {
23
+ type: [String, Number],
24
+ default: ""
25
+ },
26
+ loading: {
27
+ type: Boolean,
28
+ default: false
29
+ },
30
+ size: {
31
+ type: String,
32
+ default: "default"
33
+ },
34
+ dialogOptions: {
35
+ type: Array,
36
+ default: []
37
+ },
38
+ isGlobal: {
39
+ type: Boolean,
40
+ default: false
41
+ }
42
+ },
43
+ emits: ["update:modelValue", "change"],
44
+ setup(__props, { emit: __emit }) {
45
+ const props = __props;
46
+ const emit = __emit;
47
+ const modelValue = vue.computed({
48
+ get: () => props.modelValue,
49
+ set: (val) => emit("update:modelValue", val)
50
+ });
51
+ function handleDialogChange(dialogId) {
52
+ emit("change", dialogId);
53
+ }
54
+ const { dialogDialogVisible, openDialogDialog, DialogDialog } = useDialogDialog.useDialogDialog();
55
+ const {
56
+ dialogGlobalDialogVisible,
57
+ openDialogGlobalDialog,
58
+ DialogGlobalDialog
59
+ } = useDialogGlobalDialog.useDialogGlobalDialog();
60
+ function handleAddDialog() {
61
+ if (props.isGlobal) {
62
+ openDialogGlobalDialog();
63
+ } else {
64
+ openDialogDialog();
65
+ }
66
+ }
67
+ return (_ctx, _cache) => {
68
+ const _component_el_option = index.ElOption;
69
+ const _component_el_button = index$1.ElButton;
70
+ const _component_el_select = index.ElSelect;
71
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
72
+ vue.createVNode(_component_el_select, {
73
+ ref: "selectRef",
74
+ modelValue: vue.unref(modelValue),
75
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
76
+ placeholder: "请选择弹层",
77
+ filterable: "",
78
+ style: { "width": "100%" },
79
+ teleported: false,
80
+ loading: __props.loading,
81
+ size: __props.size,
82
+ clearable: "",
83
+ onChange: handleDialogChange
84
+ }, {
85
+ footer: vue.withCtx(() => [
86
+ vue.createVNode(_component_el_button, {
87
+ type: "primary",
88
+ size: "small",
89
+ icon: vue.unref(index$2.Plus),
90
+ link: "",
91
+ onClick: handleAddDialog
92
+ }, {
93
+ default: vue.withCtx(() => _cache[3] || (_cache[3] = [
94
+ vue.createTextVNode(" 新增弹层 ")
95
+ ])),
96
+ _: 1
97
+ }, 8, ["icon"])
98
+ ]),
99
+ default: vue.withCtx(() => [
100
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dialogOptions, (dialog) => {
101
+ return vue.openBlock(), vue.createBlock(_component_el_option, {
102
+ key: dialog.id,
103
+ label: dialog.name,
104
+ value: dialog.id
105
+ }, null, 8, ["label", "value"]);
106
+ }), 128))
107
+ ]),
108
+ _: 1
109
+ }, 8, ["modelValue", "loading", "size"]),
110
+ vue.createVNode(vue.unref(DialogDialog), {
111
+ modelValue: vue.unref(dialogDialogVisible),
112
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(dialogDialogVisible) ? dialogDialogVisible.value = $event : null)
113
+ }, null, 8, ["modelValue"]),
114
+ vue.createVNode(vue.unref(DialogGlobalDialog), {
115
+ modelValue: vue.unref(dialogGlobalDialogVisible),
116
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(dialogGlobalDialogVisible) ? dialogGlobalDialogVisible.value = $event : null)
117
+ }, null, 8, ["modelValue"])
118
+ ], 64);
119
+ };
120
+ }
121
+ };
122
+ exports.default = _sfc_main;
@@ -11,7 +11,7 @@ require("../../../node_modules/element-plus/es/index.js");
11
11
  ;/* empty css */
12
12
  const vue = require("vue");
13
13
  const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
14
- const ValueSelector = require("./ValueSelector.vue2.js");
14
+ const ValueSelector = require("./ValueSelector.vue.js");
15
15
  const index = require("../api/index.js");
16
16
  ;/* empty css */
17
17
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
@@ -6,7 +6,7 @@ require("../../../node_modules/element-plus/es/index.js");
6
6
  ;/* empty css */
7
7
  const vue = require("vue");
8
8
  const index$1 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
9
- const ValueSelector = require("./ValueSelector.vue2.js");
9
+ const ValueSelector = require("./ValueSelector.vue.js");
10
10
  ;/* empty css */
11
11
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
12
12
  const index = require("../../../node_modules/element-plus/es/components/button/index.js");
@@ -18,7 +18,7 @@ const index$2 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
18
18
  const common = require("../../packages/utils/common.js");
19
19
  const index$5 = require("../../packages/form/aside/index.js");
20
20
  const index$6 = require("../../packages/table/aside/index.js");
21
- const ValueSelector = require("../../components/ValueSelector.vue2.js");
21
+ const ValueSelector = require("../../components/ValueSelector.vue.js");
22
22
  ;/* empty css */
23
23
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
24
24
  const index = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
16
16
  require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js");
17
17
  const vue = require("vue");
18
18
  const index = require("../../../../node_modules/@vueuse/core/dist/index.js");
19
- const ValueSelector = require("../../components/ValueSelector.vue2.js");
19
+ const ValueSelector = require("../../components/ValueSelector.vue.js");
20
20
  const index$1 = require("../../api/index.js");
21
21
  const common = require("../utils/common.js");
22
22
  const datasource = require("../utils/datasource.js");
@@ -32,7 +32,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js
32
32
  ;/* empty css */
33
33
  ;/* empty css */
34
34
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
35
- ;/* empty css */
35
+ ;/* empty css */
36
36
  require("../../axios/config.js");
37
37
  require("../../../../_virtual/FileSaver.min.js");
38
38
  require("../../../../_virtual/index.js");
@@ -140,9 +140,9 @@ const _sfc_main = {
140
140
  componentPath: "",
141
141
  fieldMapping: [],
142
142
  subFormMode: "edit",
143
- subFormFooterButtons: []
143
+ subFormFooterButtons: [],
144
144
  // 表单底部按钮
145
- // callbackEventConfig: {},
145
+ componentParams: []
146
146
  });
147
147
  isEditingNew.value = false;
148
148
  newDialogName.value = "";
@@ -292,9 +292,9 @@ const _sfc_main = {
292
292
  const _component_el_dialog = index$1.ElDialog;
293
293
  return vue.openBlock(), vue.createBlock(_component_el_dialog, {
294
294
  modelValue: dialogVisible.value,
295
- "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => dialogVisible.value = $event),
295
+ "onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => dialogVisible.value = $event),
296
296
  width: "50%",
297
- title: "弹层配置",
297
+ title: "页面弹层配置",
298
298
  draggable: "",
299
299
  overflow: "",
300
300
  "append-to-body": "",
@@ -303,9 +303,9 @@ const _sfc_main = {
303
303
  footer: vue.withCtx(() => [
304
304
  vue.createElementVNode("div", _hoisted_19, [
305
305
  vue.createVNode(_component_el_button, {
306
- onClick: _cache[28] || (_cache[28] = ($event) => dialogVisible.value = false)
306
+ onClick: _cache[30] || (_cache[30] = ($event) => dialogVisible.value = false)
307
307
  }, {
308
- default: vue.withCtx(() => _cache[49] || (_cache[49] = [
308
+ default: vue.withCtx(() => _cache[51] || (_cache[51] = [
309
309
  vue.createTextVNode("取消")
310
310
  ])),
311
311
  _: 1
@@ -314,7 +314,7 @@ const _sfc_main = {
314
314
  type: "primary",
315
315
  onClick: onConfirm
316
316
  }, {
317
- default: vue.withCtx(() => _cache[50] || (_cache[50] = [
317
+ default: vue.withCtx(() => _cache[52] || (_cache[52] = [
318
318
  vue.createTextVNode("确定")
319
319
  ])),
320
320
  _: 1
@@ -339,7 +339,7 @@ const _sfc_main = {
339
339
  icon: vue.unref(index$4.Plus),
340
340
  onClick: startAddDialog
341
341
  }, {
342
- default: vue.withCtx(() => _cache[30] || (_cache[30] = [
342
+ default: vue.withCtx(() => _cache[32] || (_cache[32] = [
343
343
  vue.createTextVNode(" 新增弹层 ")
344
344
  ])),
345
345
  _: 1
@@ -366,7 +366,7 @@ const _sfc_main = {
366
366
  icon: vue.unref(index$4.Close),
367
367
  onClick: cancelAddDialog
368
368
  }, {
369
- default: vue.withCtx(() => _cache[31] || (_cache[31] = [
369
+ default: vue.withCtx(() => _cache[33] || (_cache[33] = [
370
370
  vue.createTextVNode(" 取消 ")
371
371
  ])),
372
372
  _: 1
@@ -377,7 +377,7 @@ const _sfc_main = {
377
377
  icon: vue.unref(index$4.Check),
378
378
  onClick: confirmAddDialog
379
379
  }, {
380
- default: vue.withCtx(() => _cache[32] || (_cache[32] = [
380
+ default: vue.withCtx(() => _cache[34] || (_cache[34] = [
381
381
  vue.createTextVNode(" 确认 ")
382
382
  ])),
383
383
  _: 1
@@ -485,25 +485,25 @@ const _sfc_main = {
485
485
  }, {
486
486
  default: vue.withCtx(() => [
487
487
  vue.createVNode(_component_el_radio_button, { value: "standard" }, {
488
- default: vue.withCtx(() => _cache[33] || (_cache[33] = [
488
+ default: vue.withCtx(() => _cache[35] || (_cache[35] = [
489
489
  vue.createTextVNode("标准")
490
490
  ])),
491
491
  _: 1
492
492
  }),
493
493
  vue.createVNode(_component_el_radio_button, { value: "large" }, {
494
- default: vue.withCtx(() => _cache[34] || (_cache[34] = [
494
+ default: vue.withCtx(() => _cache[36] || (_cache[36] = [
495
495
  vue.createTextVNode("更大")
496
496
  ])),
497
497
  _: 1
498
498
  }),
499
499
  vue.createVNode(_component_el_radio_button, { value: "small" }, {
500
- default: vue.withCtx(() => _cache[35] || (_cache[35] = [
500
+ default: vue.withCtx(() => _cache[37] || (_cache[37] = [
501
501
  vue.createTextVNode("更小")
502
502
  ])),
503
503
  _: 1
504
504
  }),
505
505
  vue.createVNode(_component_el_radio_button, { value: "custom" }, {
506
- default: vue.withCtx(() => _cache[36] || (_cache[36] = [
506
+ default: vue.withCtx(() => _cache[38] || (_cache[38] = [
507
507
  vue.createTextVNode("自定义")
508
508
  ])),
509
509
  _: 1
@@ -553,25 +553,25 @@ const _sfc_main = {
553
553
  }, {
554
554
  default: vue.withCtx(() => [
555
555
  vue.createVNode(_component_el_radio_button, { value: "table" }, {
556
- default: vue.withCtx(() => _cache[37] || (_cache[37] = [
556
+ default: vue.withCtx(() => _cache[39] || (_cache[39] = [
557
557
  vue.createTextVNode("列表")
558
558
  ])),
559
559
  _: 1
560
560
  }),
561
561
  vue.createVNode(_component_el_radio_button, { value: "form" }, {
562
- default: vue.withCtx(() => _cache[38] || (_cache[38] = [
562
+ default: vue.withCtx(() => _cache[40] || (_cache[40] = [
563
563
  vue.createTextVNode("表单")
564
564
  ])),
565
565
  _: 1
566
566
  }),
567
567
  vue.createVNode(_component_el_radio_button, { value: "tree" }, {
568
- default: vue.withCtx(() => _cache[39] || (_cache[39] = [
568
+ default: vue.withCtx(() => _cache[41] || (_cache[41] = [
569
569
  vue.createTextVNode("树形")
570
570
  ])),
571
571
  _: 1
572
572
  }),
573
573
  vue.createVNode(_component_el_radio_button, { value: "component" }, {
574
- default: vue.withCtx(() => _cache[40] || (_cache[40] = [
574
+ default: vue.withCtx(() => _cache[42] || (_cache[42] = [
575
575
  vue.createTextVNode("组件")
576
576
  ])),
577
577
  _: 1
@@ -591,13 +591,13 @@ const _sfc_main = {
591
591
  }, {
592
592
  default: vue.withCtx(() => [
593
593
  vue.createVNode(_component_el_radio_button, { value: "select" }, {
594
- default: vue.withCtx(() => _cache[41] || (_cache[41] = [
594
+ default: vue.withCtx(() => _cache[43] || (_cache[43] = [
595
595
  vue.createTextVNode("选择列表")
596
596
  ])),
597
597
  _: 1
598
598
  }),
599
599
  vue.createVNode(_component_el_radio_button, { value: "custom" }, {
600
- default: vue.withCtx(() => _cache[42] || (_cache[42] = [
600
+ default: vue.withCtx(() => _cache[44] || (_cache[44] = [
601
601
  vue.createTextVNode("自定义")
602
602
  ])),
603
603
  _: 1
@@ -658,7 +658,7 @@ const _sfc_main = {
658
658
  icon: "Plus",
659
659
  link: ""
660
660
  }, {
661
- default: vue.withCtx(() => _cache[43] || (_cache[43] = [
661
+ default: vue.withCtx(() => _cache[45] || (_cache[45] = [
662
662
  vue.createTextVNode(" 添加列配置 ")
663
663
  ])),
664
664
  _: 1
@@ -792,19 +792,19 @@ const _sfc_main = {
792
792
  }, {
793
793
  default: vue.withCtx(() => [
794
794
  vue.createVNode(_component_el_radio_button, { value: "none" }, {
795
- default: vue.withCtx(() => _cache[44] || (_cache[44] = [
795
+ default: vue.withCtx(() => _cache[46] || (_cache[46] = [
796
796
  vue.createTextVNode("无")
797
797
  ])),
798
798
  _: 1
799
799
  }),
800
800
  vue.createVNode(_component_el_radio_button, { value: "single" }, {
801
- default: vue.withCtx(() => _cache[45] || (_cache[45] = [
801
+ default: vue.withCtx(() => _cache[47] || (_cache[47] = [
802
802
  vue.createTextVNode("单选")
803
803
  ])),
804
804
  _: 1
805
805
  }),
806
806
  vue.createVNode(_component_el_radio_button, { value: "multiple" }, {
807
- default: vue.withCtx(() => _cache[46] || (_cache[46] = [
807
+ default: vue.withCtx(() => _cache[48] || (_cache[48] = [
808
808
  vue.createTextVNode("多选")
809
809
  ])),
810
810
  _: 1
@@ -890,13 +890,13 @@ const _sfc_main = {
890
890
  }, {
891
891
  default: vue.withCtx(() => [
892
892
  vue.createVNode(_component_el_radio_button, { value: "edit" }, {
893
- default: vue.withCtx(() => _cache[47] || (_cache[47] = [
893
+ default: vue.withCtx(() => _cache[49] || (_cache[49] = [
894
894
  vue.createTextVNode("编辑")
895
895
  ])),
896
896
  _: 1
897
897
  }),
898
898
  vue.createVNode(_component_el_radio_button, { value: "query" }, {
899
- default: vue.withCtx(() => _cache[48] || (_cache[48] = [
899
+ default: vue.withCtx(() => _cache[50] || (_cache[50] = [
900
900
  vue.createTextVNode("查看")
901
901
  ])),
902
902
  _: 1
@@ -929,20 +929,37 @@ const _sfc_main = {
929
929
  _: 1
930
930
  })
931
931
  ], 64)) : vue.createCommentVNode("", true),
932
- vue.unref(currentDialog).contentSource === "component" ? (vue.openBlock(), vue.createBlock(_component_el_form_item, {
933
- key: 3,
934
- label: "选择组件"
935
- }, {
936
- default: vue.withCtx(() => [
937
- vue.createVNode(_component_el_input, {
938
- modelValue: vue.unref(currentDialog).componentPath,
939
- "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => vue.unref(currentDialog).componentPath = $event),
940
- placeholder: "请输入组件路径",
941
- clearable: ""
942
- }, null, 8, ["modelValue"])
943
- ]),
944
- _: 1
945
- })) : vue.createCommentVNode("", true)
932
+ vue.unref(currentDialog).contentSource === "component" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
933
+ vue.createVNode(_component_el_form_item, { label: "组件路由地址" }, {
934
+ default: vue.withCtx(() => [
935
+ vue.createVNode(_component_el_input, {
936
+ modelValue: vue.unref(currentDialog).componentPath,
937
+ "onUpdate:modelValue": _cache[27] || (_cache[27] = ($event) => vue.unref(currentDialog).componentPath = $event),
938
+ placeholder: "请输入组件路径",
939
+ clearable: ""
940
+ }, null, 8, ["modelValue"])
941
+ ]),
942
+ _: 1
943
+ }),
944
+ vue.createVNode(_component_el_form_item, { label: "组件参数" }, {
945
+ default: vue.withCtx(() => [
946
+ vue.createVNode(ParamsConfig.default, {
947
+ modelValue: vue.unref(currentDialog).componentParams,
948
+ "onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => vue.unref(currentDialog).componentParams = $event)
949
+ }, null, 8, ["modelValue"])
950
+ ]),
951
+ _: 1
952
+ }),
953
+ vue.createVNode(_component_el_form_item, { label: "组件是否是弹层" }, {
954
+ default: vue.withCtx(() => [
955
+ vue.createVNode(_component_el_switch, {
956
+ modelValue: vue.unref(currentDialog).componentIsDialog,
957
+ "onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => vue.unref(currentDialog).componentIsDialog = $event)
958
+ }, null, 8, ["modelValue"])
959
+ ]),
960
+ _: 1
961
+ })
962
+ ], 64)) : vue.createCommentVNode("", true)
946
963
  ]),
947
964
  _: 1
948
965
  }, 8, ["model"])
@@ -967,5 +984,5 @@ const _sfc_main = {
967
984
  };
968
985
  }
969
986
  };
970
- const DialogDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-24eec868"]]);
987
+ const DialogDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-90bb67fd"]]);
971
988
  exports.default = DialogDialog;