@fecp/designer 5.5.99 → 5.5.100
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/components/FieldSetMapping.vue2.mjs +1 -2
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/components/ComponentPreviewWrapper.vue.mjs +23 -11
- package/es/designer/src/packages/form/property/widgets.vue.mjs +108 -84
- package/es/designer.css +113 -112
- package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
- package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +16 -17
- package/es/packages/mobile/src/components/navigation/tabs/Tabs.vue.mjs +9 -8
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +11 -2
- package/es/packages/vue/src/components/forms/formItem/FormItem.vue.mjs +22 -5
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/FieldSetMapping.vue2.js +1 -2
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/components/ComponentPreviewWrapper.vue.js +25 -13
- package/lib/designer/src/packages/form/property/widgets.vue.js +108 -84
- package/lib/designer.css +113 -112
- package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
- package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +15 -16
- package/lib/packages/mobile/src/components/navigation/tabs/Tabs.vue.js +8 -7
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +11 -2
- package/lib/packages/vue/src/components/forms/formItem/FormItem.vue.js +23 -6
- package/package.json +1 -1
|
@@ -93,7 +93,6 @@ const _sfc_main = {
|
|
|
93
93
|
const hiddenFields = computed(() => {
|
|
94
94
|
const editConfigData = getEditConfigData();
|
|
95
95
|
const fields = (editConfigData == null ? void 0 : editConfigData.hiddenFields) || [];
|
|
96
|
-
debugger;
|
|
97
96
|
return fields.map((item) => ({
|
|
98
97
|
id: item == null ? void 0 : item.id,
|
|
99
98
|
fieldId: item == null ? void 0 : item.id,
|
|
@@ -405,7 +404,7 @@ const _sfc_main = {
|
|
|
405
404
|
};
|
|
406
405
|
}
|
|
407
406
|
};
|
|
408
|
-
const FieldSetMapping = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
407
|
+
const FieldSetMapping = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-15f7f3da"]]);
|
|
409
408
|
export {
|
|
410
409
|
FieldSetMapping as default
|
|
411
410
|
};
|
|
@@ -19,6 +19,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
19
19
|
/* empty css */
|
|
20
20
|
import "../../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
|
|
21
21
|
import "../../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.mjs";
|
|
22
|
+
/* empty css */
|
|
22
23
|
import { getCurrentInstance, computed, createElementBlock, openBlock, createBlock, createCommentVNode, createSlots, withCtx, Fragment, normalizeProps, mergeProps, createElementVNode, toDisplayString, createVNode, createTextVNode, renderList, unref } from "vue";
|
|
23
24
|
import { useOptions } from "../../../utils/optionLoader.mjs";
|
|
24
25
|
/* empty css */
|
|
@@ -32,6 +33,7 @@ import { ElSelect, ElOption } from "../../../../../node_modules/element-plus/es/
|
|
|
32
33
|
import { ElRadioGroup, ElRadio } from "../../../../../node_modules/element-plus/es/components/radio/index.mjs";
|
|
33
34
|
import { ElCheckboxGroup, ElCheckbox } from "../../../../../node_modules/element-plus/es/components/checkbox/index.mjs";
|
|
34
35
|
import { ElSwitch } from "../../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
36
|
+
import { ElLink } from "../../../../../node_modules/element-plus/es/components/link/index.mjs";
|
|
35
37
|
import { ElTooltip } from "../../../../../node_modules/element-plus/es/components/tooltip/index.mjs";
|
|
36
38
|
const _hoisted_1 = { class: "component-preview" };
|
|
37
39
|
const _hoisted_2 = {
|
|
@@ -42,10 +44,11 @@ const _hoisted_3 = {
|
|
|
42
44
|
key: 1,
|
|
43
45
|
class: "iconfont icon-iconJian regulation-icon"
|
|
44
46
|
};
|
|
45
|
-
const _hoisted_4 = {
|
|
46
|
-
const _hoisted_5 = { class: "
|
|
47
|
-
const _hoisted_6 = { class: "
|
|
48
|
-
const _hoisted_7 = { class: "
|
|
47
|
+
const _hoisted_4 = { key: 3 };
|
|
48
|
+
const _hoisted_5 = { class: "prefix-content" };
|
|
49
|
+
const _hoisted_6 = { class: "suffix-content" };
|
|
50
|
+
const _hoisted_7 = { class: "prefix-content" };
|
|
51
|
+
const _hoisted_8 = { class: "suffix-content" };
|
|
49
52
|
const _sfc_main = {
|
|
50
53
|
__name: "ComponentPreviewWrapper",
|
|
51
54
|
props: {
|
|
@@ -132,6 +135,7 @@ const _sfc_main = {
|
|
|
132
135
|
return formatMap[props.componentData.dateType] || "YYYY-MM-DD";
|
|
133
136
|
});
|
|
134
137
|
return (_ctx, _cache) => {
|
|
138
|
+
const _component_el_link = ElLink;
|
|
135
139
|
const _component_el_tooltip = ElTooltip;
|
|
136
140
|
const _component_el_button = ElButton;
|
|
137
141
|
const _component_el_input = ElInput;
|
|
@@ -158,14 +162,14 @@ const _sfc_main = {
|
|
|
158
162
|
__props.componentData.prefix ? {
|
|
159
163
|
name: "prefix",
|
|
160
164
|
fn: withCtx(() => [
|
|
161
|
-
createElementVNode("span",
|
|
165
|
+
createElementVNode("span", _hoisted_5, toDisplayString(__props.componentData.prefix), 1)
|
|
162
166
|
]),
|
|
163
167
|
key: "0"
|
|
164
168
|
} : void 0,
|
|
165
169
|
__props.componentData.suffix ? {
|
|
166
170
|
name: "suffix",
|
|
167
171
|
fn: withCtx(() => [
|
|
168
|
-
createElementVNode("span",
|
|
172
|
+
createElementVNode("span", _hoisted_6, toDisplayString(__props.componentData.suffix), 1)
|
|
169
173
|
]),
|
|
170
174
|
key: "1"
|
|
171
175
|
} : void 0,
|
|
@@ -206,14 +210,14 @@ const _sfc_main = {
|
|
|
206
210
|
__props.componentData.prefix ? {
|
|
207
211
|
name: "prefix",
|
|
208
212
|
fn: withCtx(() => [
|
|
209
|
-
createElementVNode("span",
|
|
213
|
+
createElementVNode("span", _hoisted_7, toDisplayString(__props.componentData.prefix), 1)
|
|
210
214
|
]),
|
|
211
215
|
key: "0"
|
|
212
216
|
} : void 0,
|
|
213
217
|
__props.componentData.suffix ? {
|
|
214
218
|
name: "suffix",
|
|
215
219
|
fn: withCtx(() => [
|
|
216
|
-
createElementVNode("span",
|
|
220
|
+
createElementVNode("span", _hoisted_8, toDisplayString(__props.componentData.suffix), 1)
|
|
217
221
|
]),
|
|
218
222
|
key: "1"
|
|
219
223
|
} : void 0,
|
|
@@ -295,9 +299,17 @@ const _sfc_main = {
|
|
|
295
299
|
return [
|
|
296
300
|
__props.componentData.credit ? (openBlock(), createElementBlock("i", _hoisted_2)) : createCommentVNode("", true),
|
|
297
301
|
__props.componentData.regulation ? (openBlock(), createElementBlock("i", _hoisted_3)) : createCommentVNode("", true),
|
|
298
|
-
|
|
299
|
-
((_a = __props.componentData.tooltip) == null ? void 0 : _a.trim()) ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
302
|
+
__props.componentData.labelLink ? (openBlock(), createBlock(_component_el_link, {
|
|
300
303
|
key: 2,
|
|
304
|
+
type: "primary"
|
|
305
|
+
}, {
|
|
306
|
+
default: withCtx(() => [
|
|
307
|
+
createTextVNode(toDisplayString(__props.componentData.label), 1)
|
|
308
|
+
]),
|
|
309
|
+
_: 1
|
|
310
|
+
})) : (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(__props.componentData.label), 1)),
|
|
311
|
+
((_a = __props.componentData.tooltip) == null ? void 0 : _a.trim()) ? (openBlock(), createBlock(_component_el_tooltip, {
|
|
312
|
+
key: 4,
|
|
301
313
|
content: __props.componentData.tooltip,
|
|
302
314
|
placement: "top"
|
|
303
315
|
}, {
|
|
@@ -315,7 +327,7 @@ const _sfc_main = {
|
|
|
315
327
|
};
|
|
316
328
|
}
|
|
317
329
|
};
|
|
318
|
-
const ComponentPreviewWrapper = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
330
|
+
const ComponentPreviewWrapper = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3fc3e6c0"]]);
|
|
319
331
|
export {
|
|
320
332
|
ComponentPreviewWrapper as default
|
|
321
333
|
};
|