@fecp/designer 5.5.69 → 5.5.71
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.
- package/es/designer/package.json.mjs +1 -1
- package/es/designer/src/packages/form/components/ComponentPreviewWrapper.vue.mjs +131 -129
- package/es/designer/src/packages/form/property/widgets.vue.mjs +1 -5
- package/es/designer.css +128 -134
- package/es/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.mjs +32 -11
- package/es/packages/mobile/src/components/dataDisplay/menuGrid/MenuGrid.vue.mjs +1 -1
- package/es/packages/mobile/src/index.vue.mjs +29 -34
- package/es/packages/mobile/src/page.vue.mjs +39 -25
- package/es/packages/mobile/src/utils/pageHistory.mjs +17 -10
- package/es/packages/vue/src/components/forms/formItem/FormItem.vue.mjs +1 -1
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +2 -2
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +2 -2
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/form/components/ComponentPreviewWrapper.vue.js +130 -128
- package/lib/designer/src/packages/form/property/widgets.vue.js +1 -5
- package/lib/designer.css +128 -134
- package/lib/packages/mobile/src/components/dataDisplay/cardList/CardList.vue.js +32 -11
- package/lib/packages/mobile/src/components/dataDisplay/menuGrid/MenuGrid.vue.js +1 -1
- package/lib/packages/mobile/src/index.vue.js +29 -34
- package/lib/packages/mobile/src/page.vue.js +38 -24
- package/lib/packages/mobile/src/utils/pageHistory.js +17 -10
- package/lib/packages/vue/src/components/forms/formItem/FormItem.vue.js +1 -1
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +2 -2
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +2 -2
- package/package.json +1 -1
|
@@ -155,136 +155,138 @@ const _sfc_main = {
|
|
|
155
155
|
class: "preview-form-item"
|
|
156
156
|
}, Vue.createSlots({
|
|
157
157
|
default: Vue.withCtx(() => [
|
|
158
|
-
__props.componentData.
|
|
159
|
-
__props.componentData.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
158
|
+
__props.componentData.labelMode != "label" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
|
|
159
|
+
__props.componentData.fieldType == "text" ? (Vue.openBlock(), Vue.createBlock(_component_el_input, Vue.normalizeProps(Vue.mergeProps({ key: 0 }, commProps.value)), Vue.createSlots({ _: 2 }, [
|
|
160
|
+
__props.componentData.prefix ? {
|
|
161
|
+
name: "prefix",
|
|
162
|
+
fn: Vue.withCtx(() => [
|
|
163
|
+
Vue.createElementVNode("span", _hoisted_4, Vue.toDisplayString(__props.componentData.prefix), 1)
|
|
164
|
+
]),
|
|
165
|
+
key: "0"
|
|
166
|
+
} : void 0,
|
|
167
|
+
__props.componentData.suffix ? {
|
|
168
|
+
name: "suffix",
|
|
169
|
+
fn: Vue.withCtx(() => [
|
|
170
|
+
Vue.createElementVNode("span", _hoisted_5, Vue.toDisplayString(__props.componentData.suffix), 1)
|
|
171
|
+
]),
|
|
172
|
+
key: "1"
|
|
173
|
+
} : void 0,
|
|
174
|
+
!__props.componentData.disabled && __props.componentData.suffixButton && __props.componentData.suffixButton != "none" ? {
|
|
175
|
+
name: "append",
|
|
176
|
+
fn: Vue.withCtx(() => [
|
|
177
|
+
Vue.createVNode(_component_el_button, { class: "suffixButton" }, {
|
|
178
|
+
default: Vue.withCtx(() => [
|
|
179
|
+
Vue.createTextVNode(Vue.toDisplayString(__props.componentData.suffixButton == "dialog" ? __props.componentData.suffixDialogName ? __props.componentData.suffixDialogName : "选择" : __props.componentData.suffixButtonName), 1)
|
|
180
|
+
]),
|
|
181
|
+
_: 1
|
|
182
|
+
})
|
|
183
|
+
]),
|
|
184
|
+
key: "2"
|
|
185
|
+
} : void 0
|
|
186
|
+
]), 1040)) : __props.componentData.fieldType == "userSelect" || __props.componentData.fieldType == "roleSelect" || __props.componentData.fieldType == "orgSelect" ? (Vue.openBlock(), Vue.createBlock(_component_el_input, Vue.normalizeProps(Vue.mergeProps({ key: 1 }, commProps.value)), Vue.createSlots({ _: 2 }, [
|
|
187
|
+
!__props.componentData.readOnly && !__props.componentData.disabled ? {
|
|
188
|
+
name: "append",
|
|
189
|
+
fn: Vue.withCtx(() => [
|
|
190
|
+
Vue.createVNode(_component_el_button, { class: "suffixButton" }, {
|
|
191
|
+
default: Vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
192
|
+
Vue.createTextVNode("选择")
|
|
193
|
+
])),
|
|
194
|
+
_: 1
|
|
195
|
+
})
|
|
196
|
+
]),
|
|
197
|
+
key: "0"
|
|
198
|
+
} : void 0
|
|
199
|
+
]), 1040)) : __props.componentData.fieldType == "textarea" ? (Vue.openBlock(), Vue.createBlock(_component_el_input, Vue.mergeProps({
|
|
200
|
+
key: 2,
|
|
201
|
+
rows: 4,
|
|
202
|
+
type: "textarea"
|
|
203
|
+
}, commProps.value, {
|
|
204
|
+
resize: "none",
|
|
205
|
+
style: { "height": "100%" }
|
|
206
|
+
}), null, 16)) : Vue.createCommentVNode("", true),
|
|
207
|
+
__props.componentData.fieldType == "number" ? (Vue.openBlock(), Vue.createBlock(_component_el_input, Vue.mergeProps({ key: 3 }, commProps.value, { controls: false }), Vue.createSlots({ _: 2 }, [
|
|
208
|
+
__props.componentData.prefix ? {
|
|
209
|
+
name: "prefix",
|
|
210
|
+
fn: Vue.withCtx(() => [
|
|
211
|
+
Vue.createElementVNode("span", _hoisted_6, Vue.toDisplayString(__props.componentData.prefix), 1)
|
|
212
|
+
]),
|
|
213
|
+
key: "0"
|
|
214
|
+
} : void 0,
|
|
215
|
+
__props.componentData.suffix ? {
|
|
216
|
+
name: "suffix",
|
|
217
|
+
fn: Vue.withCtx(() => [
|
|
218
|
+
Vue.createElementVNode("span", _hoisted_7, Vue.toDisplayString(__props.componentData.suffix), 1)
|
|
219
|
+
]),
|
|
220
|
+
key: "1"
|
|
221
|
+
} : void 0,
|
|
222
|
+
!__props.componentData.disabled && __props.componentData.suffixButton && __props.componentData.suffixButton != "none" ? {
|
|
223
|
+
name: "append",
|
|
224
|
+
fn: Vue.withCtx(() => [
|
|
225
|
+
Vue.createVNode(_component_el_button, { class: "suffixButton" }, {
|
|
226
|
+
default: Vue.withCtx(() => [
|
|
227
|
+
Vue.createTextVNode(Vue.toDisplayString(__props.componentData.suffixButton == "dialog" ? __props.componentData.suffixDialogName ? __props.componentData.suffixDialogName : "选择" : __props.componentData.suffixButtonName), 1)
|
|
228
|
+
]),
|
|
229
|
+
_: 1
|
|
230
|
+
})
|
|
231
|
+
]),
|
|
232
|
+
key: "2"
|
|
233
|
+
} : void 0
|
|
234
|
+
]), 1040)) : __props.componentData.fieldType == "date" ? (Vue.openBlock(), Vue.createBlock(_component_el_date_picker, Vue.mergeProps({ key: 4 }, commProps.value, {
|
|
235
|
+
type: __props.componentData.dateType || "date",
|
|
236
|
+
format: computedFormat.value,
|
|
237
|
+
style: { "width": "100%" }
|
|
238
|
+
}), null, 16, ["type", "format"])) : __props.componentData.fieldType == "cascader" || __props.componentData.fieldType == "area" || __props.componentData.fieldType == "industry" ? (Vue.openBlock(), Vue.createBlock(_component_el_cascader, Vue.mergeProps({ key: 5 }, commProps.value, {
|
|
239
|
+
options: cascaderOptions.value,
|
|
240
|
+
props: cascaderPropsDataValue.value,
|
|
241
|
+
"show-all-levels": __props.componentData.showFullPath,
|
|
242
|
+
style: { "width": "100%" }
|
|
243
|
+
}), null, 16, ["options", "props", "show-all-levels"])) : __props.componentData.fieldType == "select" || __props.componentData.fieldType == "multipleSelection" ? (Vue.openBlock(), Vue.createBlock(_component_el_select, Vue.mergeProps({ key: 6 }, commProps.value, {
|
|
244
|
+
multiple: __props.componentData.fieldType == "multipleSelection"
|
|
245
|
+
}), {
|
|
246
|
+
default: Vue.withCtx(() => [
|
|
247
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(options), (option) => {
|
|
248
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_option, {
|
|
249
|
+
key: option.value,
|
|
250
|
+
label: option.label,
|
|
251
|
+
value: option.value
|
|
252
|
+
}, null, 8, ["label", "value"]);
|
|
253
|
+
}), 128))
|
|
163
254
|
]),
|
|
164
|
-
|
|
165
|
-
} :
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
255
|
+
_: 1
|
|
256
|
+
}, 16, ["multiple"])) : __props.componentData.fieldType == "radio" ? (Vue.openBlock(), Vue.createBlock(_component_el_radio_group, Vue.normalizeProps(Vue.mergeProps({ key: 7 }, commProps.value)), {
|
|
257
|
+
default: Vue.withCtx(() => [
|
|
258
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(options), (option) => {
|
|
259
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_radio, {
|
|
260
|
+
key: option.value,
|
|
261
|
+
value: option.value
|
|
262
|
+
}, {
|
|
263
|
+
default: Vue.withCtx(() => [
|
|
264
|
+
Vue.createTextVNode(Vue.toDisplayString(option.label), 1)
|
|
265
|
+
]),
|
|
266
|
+
_: 2
|
|
267
|
+
}, 1032, ["value"]);
|
|
268
|
+
}), 128))
|
|
170
269
|
]),
|
|
171
|
-
|
|
172
|
-
} :
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
270
|
+
_: 1
|
|
271
|
+
}, 16)) : __props.componentData.fieldType == "checkbox" ? (Vue.openBlock(), Vue.createBlock(_component_el_checkbox_group, Vue.normalizeProps(Vue.mergeProps({ key: 8 }, commProps.value)), {
|
|
272
|
+
default: Vue.withCtx(() => [
|
|
273
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(options), (option) => {
|
|
274
|
+
return Vue.openBlock(), Vue.createBlock(_component_el_checkbox, {
|
|
275
|
+
key: option.value,
|
|
276
|
+
value: option.value
|
|
277
|
+
}, {
|
|
278
|
+
default: Vue.withCtx(() => [
|
|
279
|
+
Vue.createTextVNode(Vue.toDisplayString(option.label), 1)
|
|
280
|
+
]),
|
|
281
|
+
_: 2
|
|
282
|
+
}, 1032, ["value"]);
|
|
283
|
+
}), 128))
|
|
182
284
|
]),
|
|
183
|
-
|
|
184
|
-
} :
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
fn: Vue.withCtx(() => [
|
|
189
|
-
Vue.createVNode(_component_el_button, { class: "suffixButton" }, {
|
|
190
|
-
default: Vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
191
|
-
Vue.createTextVNode("选择")
|
|
192
|
-
])),
|
|
193
|
-
_: 1
|
|
194
|
-
})
|
|
195
|
-
]),
|
|
196
|
-
key: "0"
|
|
197
|
-
} : void 0
|
|
198
|
-
]), 1040)) : __props.componentData.fieldType == "textarea" ? (Vue.openBlock(), Vue.createBlock(_component_el_input, Vue.mergeProps({
|
|
199
|
-
key: 2,
|
|
200
|
-
rows: 4,
|
|
201
|
-
type: "textarea"
|
|
202
|
-
}, commProps.value, {
|
|
203
|
-
resize: "none",
|
|
204
|
-
style: { "height": "100%" }
|
|
205
|
-
}), null, 16)) : Vue.createCommentVNode("", true),
|
|
206
|
-
__props.componentData.fieldType == "number" ? (Vue.openBlock(), Vue.createBlock(_component_el_input, Vue.mergeProps({ key: 3 }, commProps.value, { controls: false }), Vue.createSlots({ _: 2 }, [
|
|
207
|
-
__props.componentData.prefix ? {
|
|
208
|
-
name: "prefix",
|
|
209
|
-
fn: Vue.withCtx(() => [
|
|
210
|
-
Vue.createElementVNode("span", _hoisted_6, Vue.toDisplayString(__props.componentData.prefix), 1)
|
|
211
|
-
]),
|
|
212
|
-
key: "0"
|
|
213
|
-
} : void 0,
|
|
214
|
-
__props.componentData.suffix ? {
|
|
215
|
-
name: "suffix",
|
|
216
|
-
fn: Vue.withCtx(() => [
|
|
217
|
-
Vue.createElementVNode("span", _hoisted_7, Vue.toDisplayString(__props.componentData.suffix), 1)
|
|
218
|
-
]),
|
|
219
|
-
key: "1"
|
|
220
|
-
} : void 0,
|
|
221
|
-
!__props.componentData.disabled && __props.componentData.suffixButton && __props.componentData.suffixButton != "none" ? {
|
|
222
|
-
name: "append",
|
|
223
|
-
fn: Vue.withCtx(() => [
|
|
224
|
-
Vue.createVNode(_component_el_button, { class: "suffixButton" }, {
|
|
225
|
-
default: Vue.withCtx(() => [
|
|
226
|
-
Vue.createTextVNode(Vue.toDisplayString(__props.componentData.suffixButton == "dialog" ? __props.componentData.suffixDialogName ? __props.componentData.suffixDialogName : "选择" : __props.componentData.suffixButtonName), 1)
|
|
227
|
-
]),
|
|
228
|
-
_: 1
|
|
229
|
-
})
|
|
230
|
-
]),
|
|
231
|
-
key: "2"
|
|
232
|
-
} : void 0
|
|
233
|
-
]), 1040)) : __props.componentData.fieldType == "date" ? (Vue.openBlock(), Vue.createBlock(_component_el_date_picker, Vue.mergeProps({ key: 4 }, commProps.value, {
|
|
234
|
-
type: __props.componentData.dateType || "date",
|
|
235
|
-
format: computedFormat.value,
|
|
236
|
-
style: { "width": "100%" }
|
|
237
|
-
}), null, 16, ["type", "format"])) : __props.componentData.fieldType == "cascader" || __props.componentData.fieldType == "area" || __props.componentData.fieldType == "industry" ? (Vue.openBlock(), Vue.createBlock(_component_el_cascader, Vue.mergeProps({ key: 5 }, commProps.value, {
|
|
238
|
-
options: cascaderOptions.value,
|
|
239
|
-
props: cascaderPropsDataValue.value,
|
|
240
|
-
"show-all-levels": __props.componentData.showFullPath,
|
|
241
|
-
style: { "width": "100%" }
|
|
242
|
-
}), null, 16, ["options", "props", "show-all-levels"])) : __props.componentData.fieldType == "select" || __props.componentData.fieldType == "multipleSelection" ? (Vue.openBlock(), Vue.createBlock(_component_el_select, Vue.mergeProps({ key: 6 }, commProps.value, {
|
|
243
|
-
multiple: __props.componentData.fieldType == "multipleSelection"
|
|
244
|
-
}), {
|
|
245
|
-
default: Vue.withCtx(() => [
|
|
246
|
-
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(options), (option) => {
|
|
247
|
-
return Vue.openBlock(), Vue.createBlock(_component_el_option, {
|
|
248
|
-
key: option.value,
|
|
249
|
-
label: option.label,
|
|
250
|
-
value: option.value
|
|
251
|
-
}, null, 8, ["label", "value"]);
|
|
252
|
-
}), 128))
|
|
253
|
-
]),
|
|
254
|
-
_: 1
|
|
255
|
-
}, 16, ["multiple"])) : __props.componentData.fieldType == "radio" ? (Vue.openBlock(), Vue.createBlock(_component_el_radio_group, Vue.normalizeProps(Vue.mergeProps({ key: 7 }, commProps.value)), {
|
|
256
|
-
default: Vue.withCtx(() => [
|
|
257
|
-
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(options), (option) => {
|
|
258
|
-
return Vue.openBlock(), Vue.createBlock(_component_el_radio, {
|
|
259
|
-
key: option.value,
|
|
260
|
-
value: option.value
|
|
261
|
-
}, {
|
|
262
|
-
default: Vue.withCtx(() => [
|
|
263
|
-
Vue.createTextVNode(Vue.toDisplayString(option.label), 1)
|
|
264
|
-
]),
|
|
265
|
-
_: 2
|
|
266
|
-
}, 1032, ["value"]);
|
|
267
|
-
}), 128))
|
|
268
|
-
]),
|
|
269
|
-
_: 1
|
|
270
|
-
}, 16)) : __props.componentData.fieldType == "checkbox" ? (Vue.openBlock(), Vue.createBlock(_component_el_checkbox_group, Vue.normalizeProps(Vue.mergeProps({ key: 8 }, commProps.value)), {
|
|
271
|
-
default: Vue.withCtx(() => [
|
|
272
|
-
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(options), (option) => {
|
|
273
|
-
return Vue.openBlock(), Vue.createBlock(_component_el_checkbox, {
|
|
274
|
-
key: option.value,
|
|
275
|
-
value: option.value
|
|
276
|
-
}, {
|
|
277
|
-
default: Vue.withCtx(() => [
|
|
278
|
-
Vue.createTextVNode(Vue.toDisplayString(option.label), 1)
|
|
279
|
-
]),
|
|
280
|
-
_: 2
|
|
281
|
-
}, 1032, ["value"]);
|
|
282
|
-
}), 128))
|
|
283
|
-
]),
|
|
284
|
-
_: 1
|
|
285
|
-
}, 16)) : Vue.createCommentVNode("", true),
|
|
286
|
-
__props.componentData.fieldType == "switch" ? (Vue.openBlock(), Vue.createBlock(_component_el_switch, Vue.normalizeProps(Vue.mergeProps({ key: 9 }, commProps.value)), null, 16)) : Vue.createCommentVNode("", true),
|
|
287
|
-
__props.componentData.fieldType == "upload" ? (Vue.openBlock(), Vue.createBlock(_component_el_input, Vue.normalizeProps(Vue.mergeProps({ key: 10 }, commProps.value)), null, 16)) : Vue.createCommentVNode("", true)
|
|
285
|
+
_: 1
|
|
286
|
+
}, 16)) : Vue.createCommentVNode("", true),
|
|
287
|
+
__props.componentData.fieldType == "switch" ? (Vue.openBlock(), Vue.createBlock(_component_el_switch, Vue.normalizeProps(Vue.mergeProps({ key: 9 }, commProps.value)), null, 16)) : Vue.createCommentVNode("", true),
|
|
288
|
+
__props.componentData.fieldType == "upload" ? (Vue.openBlock(), Vue.createBlock(_component_el_input, Vue.normalizeProps(Vue.mergeProps({ key: 10 }, commProps.value)), null, 16)) : Vue.createCommentVNode("", true)
|
|
289
|
+
], 64)) : Vue.createCommentVNode("", true)
|
|
288
290
|
]),
|
|
289
291
|
_: 2
|
|
290
292
|
}, [
|
|
@@ -315,5 +317,5 @@ const _sfc_main = {
|
|
|
315
317
|
};
|
|
316
318
|
}
|
|
317
319
|
};
|
|
318
|
-
const ComponentPreviewWrapper = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
320
|
+
const ComponentPreviewWrapper = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-820bce57"]]);
|
|
319
321
|
exports.default = ComponentPreviewWrapper;
|
|
@@ -795,8 +795,6 @@ const _sfc_main = {
|
|
|
795
795
|
style: { "width": "100%" },
|
|
796
796
|
modelValue: Vue.unref(currentItem).minValue,
|
|
797
797
|
"onUpdate:modelValue": _cache[28] || (_cache[28] = ($event) => Vue.unref(currentItem).minValue = $event),
|
|
798
|
-
min: 0,
|
|
799
|
-
max: 999999,
|
|
800
798
|
"controls-position": "right",
|
|
801
799
|
placeholder: "最小值"
|
|
802
800
|
}, null, 8, ["modelValue"]),
|
|
@@ -805,8 +803,6 @@ const _sfc_main = {
|
|
|
805
803
|
style: { "width": "100%" },
|
|
806
804
|
modelValue: Vue.unref(currentItem).maxValue,
|
|
807
805
|
"onUpdate:modelValue": _cache[29] || (_cache[29] = ($event) => Vue.unref(currentItem).maxValue = $event),
|
|
808
|
-
min: 0,
|
|
809
|
-
max: 999999,
|
|
810
806
|
"controls-position": "right",
|
|
811
807
|
placeholder: "最大值"
|
|
812
808
|
}, null, 8, ["modelValue"])
|
|
@@ -1208,5 +1204,5 @@ const _sfc_main = {
|
|
|
1208
1204
|
};
|
|
1209
1205
|
}
|
|
1210
1206
|
};
|
|
1211
|
-
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1207
|
+
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-892218ae"]]);
|
|
1212
1208
|
exports.default = widgets;
|