@fecp/designer 5.4.13 → 5.4.15

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/components/DocumentParam.vue.mjs +15 -17
  3. package/es/designer/src/packages/dataSource/dataSource.vue.mjs +1 -1
  4. package/es/designer/src/packages/form/aside/index.mjs +6 -2
  5. package/es/designer/src/packages/form/components/Contract.vue.mjs +80 -0
  6. package/es/designer/src/packages/form/components/Document.vue.mjs +27 -10
  7. package/es/designer/src/packages/form/index.vue.mjs +10 -17
  8. package/es/designer/src/packages/form/property/contract.vue.mjs +212 -0
  9. package/es/designer/src/packages/form/property/document.vue.mjs +3 -3
  10. package/es/designer/src/packages/form/property/index.vue.mjs +5 -2
  11. package/es/designer/src/packages/form/property/subForm.vue.mjs +48 -16
  12. package/es/designer.css +196 -105
  13. package/es/packages/vue/src/components/bus/contract/Contract.vue.mjs +96 -0
  14. package/es/packages/vue/src/components/bus/contract/index.mjs +7 -0
  15. package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +1 -1
  16. package/es/packages/vue/src/components/forms/formItem/FormItem.vue.mjs +10 -3
  17. package/es/packages/vue/src/components/forms/text/Text.vue.mjs +1 -1
  18. package/es/packages/vue/src/components/table/TableColumn.vue.mjs +1 -1
  19. package/es/packages/vue/src/composables/usePageEvents.mjs +1 -1
  20. package/es/packages/vue/src/utils/datasource.mjs +1 -1
  21. package/lib/designer/package.json.js +1 -1
  22. package/lib/designer/src/components/DocumentParam.vue.js +14 -16
  23. package/lib/designer/src/packages/dataSource/dataSource.vue.js +1 -1
  24. package/lib/designer/src/packages/form/aside/index.js +6 -2
  25. package/lib/designer/src/packages/form/components/Contract.vue.js +80 -0
  26. package/lib/designer/src/packages/form/components/Document.vue.js +26 -9
  27. package/lib/designer/src/packages/form/index.vue.js +10 -17
  28. package/lib/designer/src/packages/form/property/contract.vue.js +212 -0
  29. package/lib/designer/src/packages/form/property/document.vue.js +3 -3
  30. package/lib/designer/src/packages/form/property/index.vue.js +5 -2
  31. package/lib/designer/src/packages/form/property/subForm.vue.js +48 -16
  32. package/lib/designer.css +196 -105
  33. package/lib/packages/vue/src/components/bus/contract/Contract.vue.js +96 -0
  34. package/lib/packages/vue/src/components/bus/contract/index.js +7 -0
  35. package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +1 -1
  36. package/lib/packages/vue/src/components/forms/formItem/FormItem.vue.js +14 -7
  37. package/lib/packages/vue/src/components/forms/text/Text.vue.js +1 -1
  38. package/lib/packages/vue/src/components/table/TableColumn.vue.js +1 -1
  39. package/lib/packages/vue/src/composables/usePageEvents.js +1 -1
  40. package/lib/packages/vue/src/utils/datasource.js +1 -1
  41. package/package.json +1 -1
@@ -50,7 +50,7 @@ const _sfc_main = {
50
50
  return openBlock(), createBlock(_component_el_collapse, {
51
51
  class: "setting",
52
52
  modelValue: unref(activeName),
53
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => isRef(activeName) ? activeName.value = $event : null)
53
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => isRef(activeName) ? activeName.value = $event : null)
54
54
  }, {
55
55
  default: withCtx(() => [
56
56
  createVNode(_component_el_collapse_item, {
@@ -87,19 +87,19 @@ const _sfc_main = {
87
87
  }, {
88
88
  default: withCtx(() => [
89
89
  createVNode(_component_el_radio_button, { value: "none" }, {
90
- default: withCtx(() => _cache[12] || (_cache[12] = [
90
+ default: withCtx(() => _cache[13] || (_cache[13] = [
91
91
  createTextVNode("无")
92
92
  ])),
93
93
  _: 1
94
94
  }),
95
95
  createVNode(_component_el_radio_button, { value: "label" }, {
96
- default: withCtx(() => _cache[13] || (_cache[13] = [
96
+ default: withCtx(() => _cache[14] || (_cache[14] = [
97
97
  createTextVNode("标题")
98
98
  ])),
99
99
  _: 1
100
100
  }),
101
101
  createVNode(_component_el_radio_button, { value: "subLabel" }, {
102
- default: withCtx(() => _cache[14] || (_cache[14] = [
102
+ default: withCtx(() => _cache[15] || (_cache[15] = [
103
103
  createTextVNode("子标题")
104
104
  ])),
105
105
  _: 1
@@ -127,16 +127,48 @@ const _sfc_main = {
127
127
  _: 1
128
128
  })) : createCommentVNode("", true)
129
129
  ], 64)) : createCommentVNode("", true),
130
+ createVNode(_component_el_form_item, { label: "显示模式" }, {
131
+ default: withCtx(() => [
132
+ createVNode(_component_el_radio_group, {
133
+ modelValue: unref(currentItem).displayMode,
134
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(currentItem).displayMode = $event),
135
+ size: "small"
136
+ }, {
137
+ default: withCtx(() => [
138
+ createVNode(_component_el_radio_button, { value: "all" }, {
139
+ default: withCtx(() => _cache[16] || (_cache[16] = [
140
+ createTextVNode("始终显示")
141
+ ])),
142
+ _: 1
143
+ }),
144
+ createVNode(_component_el_radio_button, { value: "edit" }, {
145
+ default: withCtx(() => _cache[17] || (_cache[17] = [
146
+ createTextVNode("编辑时显示")
147
+ ])),
148
+ _: 1
149
+ }),
150
+ createVNode(_component_el_radio_button, { value: "query" }, {
151
+ default: withCtx(() => _cache[18] || (_cache[18] = [
152
+ createTextVNode("查看时显示")
153
+ ])),
154
+ _: 1
155
+ })
156
+ ]),
157
+ _: 1
158
+ }, 8, ["modelValue"])
159
+ ]),
160
+ _: 1
161
+ }),
130
162
  createVNode(_component_el_form_item, { label: "数据来源" }, {
131
163
  default: withCtx(() => [
132
164
  createVNode(_component_el_radio_group, {
133
165
  modelValue: unref(currentItem).dataSourceFrom,
134
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => unref(currentItem).dataSourceFrom = $event),
166
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(currentItem).dataSourceFrom = $event),
135
167
  size: "small"
136
168
  }, {
137
169
  default: withCtx(() => [
138
170
  createVNode(_component_el_radio_button, { value: "main" }, {
139
- default: withCtx(() => _cache[15] || (_cache[15] = [
171
+ default: withCtx(() => _cache[19] || (_cache[19] = [
140
172
  createTextVNode("主页面获取")
141
173
  ])),
142
174
  _: 1
@@ -145,7 +177,7 @@ const _sfc_main = {
145
177
  value: "self",
146
178
  disabled: ""
147
179
  }, {
148
- default: withCtx(() => _cache[16] || (_cache[16] = [
180
+ default: withCtx(() => _cache[20] || (_cache[20] = [
149
181
  createTextVNode("子表单自加载")
150
182
  ])),
151
183
  _: 1
@@ -160,7 +192,7 @@ const _sfc_main = {
160
192
  default: withCtx(() => [
161
193
  createVNode(_component_el_switch, {
162
194
  modelValue: unref(currentItem).triggerSubFormPageEvent,
163
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(currentItem).triggerSubFormPageEvent = $event)
195
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(currentItem).triggerSubFormPageEvent = $event)
164
196
  }, null, 8, ["modelValue"])
165
197
  ]),
166
198
  _: 1
@@ -169,7 +201,7 @@ const _sfc_main = {
169
201
  default: withCtx(() => [
170
202
  createVNode(_component_el_input, {
171
203
  modelValue: unref(currentItem).permission,
172
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(currentItem).permission = $event)
204
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(currentItem).permission = $event)
173
205
  }, null, 8, ["modelValue"])
174
206
  ]),
175
207
  _: 1
@@ -178,18 +210,18 @@ const _sfc_main = {
178
210
  default: withCtx(() => [
179
211
  createVNode(_component_el_radio_group, {
180
212
  modelValue: unref(currentItem).formSource,
181
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(currentItem).formSource = $event),
213
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(currentItem).formSource = $event),
182
214
  size: "small"
183
215
  }, {
184
216
  default: withCtx(() => [
185
217
  createVNode(_component_el_radio_button, { value: "select" }, {
186
- default: withCtx(() => _cache[17] || (_cache[17] = [
218
+ default: withCtx(() => _cache[21] || (_cache[21] = [
187
219
  createTextVNode("选择表单")
188
220
  ])),
189
221
  _: 1
190
222
  }),
191
223
  createVNode(_component_el_radio_button, { value: "dynamic" }, {
192
- default: withCtx(() => _cache[18] || (_cache[18] = [
224
+ default: withCtx(() => _cache[22] || (_cache[22] = [
193
225
  createTextVNode("动态表单")
194
226
  ])),
195
227
  _: 1
@@ -207,11 +239,11 @@ const _sfc_main = {
207
239
  default: withCtx(() => [
208
240
  createVNode(TemplateSelector, {
209
241
  modelValue: unref(currentItem).subFormName,
210
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(currentItem).subFormName = $event),
242
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(currentItem).subFormName = $event),
211
243
  templateKey: unref(currentItem).subFormKey,
212
- "onUpdate:templateKey": _cache[8] || (_cache[8] = ($event) => unref(currentItem).subFormKey = $event),
244
+ "onUpdate:templateKey": _cache[9] || (_cache[9] = ($event) => unref(currentItem).subFormKey = $event),
213
245
  templateId: unref(currentItem).subFormId,
214
- "onUpdate:templateId": _cache[9] || (_cache[9] = ($event) => unref(currentItem).subFormId = $event),
246
+ "onUpdate:templateId": _cache[10] || (_cache[10] = ($event) => unref(currentItem).subFormId = $event),
215
247
  templateType: "form"
216
248
  }, null, 8, ["modelValue", "templateKey", "templateId"])
217
249
  ]),
@@ -223,7 +255,7 @@ const _sfc_main = {
223
255
  default: withCtx(() => [
224
256
  createVNode(ValueSelector, {
225
257
  modelValue: unref(currentItem).dynamicSubFormKey,
226
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(currentItem).dynamicSubFormKey = $event),
258
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(currentItem).dynamicSubFormKey = $event),
227
259
  size: "default"
228
260
  }, null, 8, ["modelValue"])
229
261
  ]),