@fecp/designer 5.4.13 → 5.4.14

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.
@@ -1,4 +1,4 @@
1
- const version = "5.4.13";
1
+ const version = "5.4.14";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -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
  ]),
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.4.13";
3
+ const version = "5.4.14";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -52,7 +52,7 @@ const _sfc_main = {
52
52
  return vue.openBlock(), vue.createBlock(_component_el_collapse, {
53
53
  class: "setting",
54
54
  modelValue: vue.unref(activeName),
55
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null)
55
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null)
56
56
  }, {
57
57
  default: vue.withCtx(() => [
58
58
  vue.createVNode(_component_el_collapse_item, {
@@ -89,19 +89,19 @@ const _sfc_main = {
89
89
  }, {
90
90
  default: vue.withCtx(() => [
91
91
  vue.createVNode(_component_el_radio_button, { value: "none" }, {
92
- default: vue.withCtx(() => _cache[12] || (_cache[12] = [
92
+ default: vue.withCtx(() => _cache[13] || (_cache[13] = [
93
93
  vue.createTextVNode("无")
94
94
  ])),
95
95
  _: 1
96
96
  }),
97
97
  vue.createVNode(_component_el_radio_button, { value: "label" }, {
98
- default: vue.withCtx(() => _cache[13] || (_cache[13] = [
98
+ default: vue.withCtx(() => _cache[14] || (_cache[14] = [
99
99
  vue.createTextVNode("标题")
100
100
  ])),
101
101
  _: 1
102
102
  }),
103
103
  vue.createVNode(_component_el_radio_button, { value: "subLabel" }, {
104
- default: vue.withCtx(() => _cache[14] || (_cache[14] = [
104
+ default: vue.withCtx(() => _cache[15] || (_cache[15] = [
105
105
  vue.createTextVNode("子标题")
106
106
  ])),
107
107
  _: 1
@@ -129,16 +129,48 @@ const _sfc_main = {
129
129
  _: 1
130
130
  })) : vue.createCommentVNode("", true)
131
131
  ], 64)) : vue.createCommentVNode("", true),
132
+ vue.createVNode(_component_el_form_item, { label: "显示模式" }, {
133
+ default: vue.withCtx(() => [
134
+ vue.createVNode(_component_el_radio_group, {
135
+ modelValue: vue.unref(currentItem).displayMode,
136
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(currentItem).displayMode = $event),
137
+ size: "small"
138
+ }, {
139
+ default: vue.withCtx(() => [
140
+ vue.createVNode(_component_el_radio_button, { value: "all" }, {
141
+ default: vue.withCtx(() => _cache[16] || (_cache[16] = [
142
+ vue.createTextVNode("始终显示")
143
+ ])),
144
+ _: 1
145
+ }),
146
+ vue.createVNode(_component_el_radio_button, { value: "edit" }, {
147
+ default: vue.withCtx(() => _cache[17] || (_cache[17] = [
148
+ vue.createTextVNode("编辑时显示")
149
+ ])),
150
+ _: 1
151
+ }),
152
+ vue.createVNode(_component_el_radio_button, { value: "query" }, {
153
+ default: vue.withCtx(() => _cache[18] || (_cache[18] = [
154
+ vue.createTextVNode("查看时显示")
155
+ ])),
156
+ _: 1
157
+ })
158
+ ]),
159
+ _: 1
160
+ }, 8, ["modelValue"])
161
+ ]),
162
+ _: 1
163
+ }),
132
164
  vue.createVNode(_component_el_form_item, { label: "数据来源" }, {
133
165
  default: vue.withCtx(() => [
134
166
  vue.createVNode(_component_el_radio_group, {
135
167
  modelValue: vue.unref(currentItem).dataSourceFrom,
136
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(currentItem).dataSourceFrom = $event),
168
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(currentItem).dataSourceFrom = $event),
137
169
  size: "small"
138
170
  }, {
139
171
  default: vue.withCtx(() => [
140
172
  vue.createVNode(_component_el_radio_button, { value: "main" }, {
141
- default: vue.withCtx(() => _cache[15] || (_cache[15] = [
173
+ default: vue.withCtx(() => _cache[19] || (_cache[19] = [
142
174
  vue.createTextVNode("主页面获取")
143
175
  ])),
144
176
  _: 1
@@ -147,7 +179,7 @@ const _sfc_main = {
147
179
  value: "self",
148
180
  disabled: ""
149
181
  }, {
150
- default: vue.withCtx(() => _cache[16] || (_cache[16] = [
182
+ default: vue.withCtx(() => _cache[20] || (_cache[20] = [
151
183
  vue.createTextVNode("子表单自加载")
152
184
  ])),
153
185
  _: 1
@@ -162,7 +194,7 @@ const _sfc_main = {
162
194
  default: vue.withCtx(() => [
163
195
  vue.createVNode(_component_el_switch, {
164
196
  modelValue: vue.unref(currentItem).triggerSubFormPageEvent,
165
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(currentItem).triggerSubFormPageEvent = $event)
197
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(currentItem).triggerSubFormPageEvent = $event)
166
198
  }, null, 8, ["modelValue"])
167
199
  ]),
168
200
  _: 1
@@ -171,7 +203,7 @@ const _sfc_main = {
171
203
  default: vue.withCtx(() => [
172
204
  vue.createVNode(_component_el_input, {
173
205
  modelValue: vue.unref(currentItem).permission,
174
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(currentItem).permission = $event)
206
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(currentItem).permission = $event)
175
207
  }, null, 8, ["modelValue"])
176
208
  ]),
177
209
  _: 1
@@ -180,18 +212,18 @@ const _sfc_main = {
180
212
  default: vue.withCtx(() => [
181
213
  vue.createVNode(_component_el_radio_group, {
182
214
  modelValue: vue.unref(currentItem).formSource,
183
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(currentItem).formSource = $event),
215
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(currentItem).formSource = $event),
184
216
  size: "small"
185
217
  }, {
186
218
  default: vue.withCtx(() => [
187
219
  vue.createVNode(_component_el_radio_button, { value: "select" }, {
188
- default: vue.withCtx(() => _cache[17] || (_cache[17] = [
220
+ default: vue.withCtx(() => _cache[21] || (_cache[21] = [
189
221
  vue.createTextVNode("选择表单")
190
222
  ])),
191
223
  _: 1
192
224
  }),
193
225
  vue.createVNode(_component_el_radio_button, { value: "dynamic" }, {
194
- default: vue.withCtx(() => _cache[18] || (_cache[18] = [
226
+ default: vue.withCtx(() => _cache[22] || (_cache[22] = [
195
227
  vue.createTextVNode("动态表单")
196
228
  ])),
197
229
  _: 1
@@ -209,11 +241,11 @@ const _sfc_main = {
209
241
  default: vue.withCtx(() => [
210
242
  vue.createVNode(TemplateSelector.default, {
211
243
  modelValue: vue.unref(currentItem).subFormName,
212
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(currentItem).subFormName = $event),
244
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(currentItem).subFormName = $event),
213
245
  templateKey: vue.unref(currentItem).subFormKey,
214
- "onUpdate:templateKey": _cache[8] || (_cache[8] = ($event) => vue.unref(currentItem).subFormKey = $event),
246
+ "onUpdate:templateKey": _cache[9] || (_cache[9] = ($event) => vue.unref(currentItem).subFormKey = $event),
215
247
  templateId: vue.unref(currentItem).subFormId,
216
- "onUpdate:templateId": _cache[9] || (_cache[9] = ($event) => vue.unref(currentItem).subFormId = $event),
248
+ "onUpdate:templateId": _cache[10] || (_cache[10] = ($event) => vue.unref(currentItem).subFormId = $event),
217
249
  templateType: "form"
218
250
  }, null, 8, ["modelValue", "templateKey", "templateId"])
219
251
  ]),
@@ -225,7 +257,7 @@ const _sfc_main = {
225
257
  default: vue.withCtx(() => [
226
258
  vue.createVNode(ValueSelector.default, {
227
259
  modelValue: vue.unref(currentItem).dynamicSubFormKey,
228
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(currentItem).dynamicSubFormKey = $event),
260
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(currentItem).dynamicSubFormKey = $event),
229
261
  size: "default"
230
262
  }, null, 8, ["modelValue"])
231
263
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.13",
3
+ "version": "5.4.14",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [