@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
|
@@ -8,13 +8,13 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
8
8
|
;/* empty css */
|
|
9
9
|
;/* empty css */
|
|
10
10
|
const Vue = require("vue");
|
|
11
|
+
;/* empty css */
|
|
12
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
11
13
|
;/* empty css */
|
|
12
14
|
;/* empty css */
|
|
13
15
|
;/* empty css */
|
|
14
16
|
;/* empty css */
|
|
15
17
|
;/* empty css */
|
|
16
|
-
;/* empty css */
|
|
17
|
-
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
18
18
|
const index$1 = require("../../../../node_modules/vant/es/swipe-cell/index.js");
|
|
19
19
|
const functionCall = require("../../../../node_modules/vant/es/dialog/function-call.js");
|
|
20
20
|
require("../../../../node_modules/vant/es/dialog/index.js");
|
|
@@ -3,31 +3,30 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const Vue = require("vue");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const _hoisted_1 = {
|
|
7
|
-
key: 0,
|
|
8
|
-
class: "route-wrapper"
|
|
9
|
-
};
|
|
10
6
|
const _sfc_main = {
|
|
11
7
|
__name: "AppDetail",
|
|
12
8
|
props: {
|
|
13
|
-
isDev: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: false
|
|
16
|
-
},
|
|
17
9
|
//任务对象+流程变量
|
|
18
|
-
|
|
19
|
-
type:
|
|
20
|
-
default:
|
|
10
|
+
options: {
|
|
11
|
+
type: Array,
|
|
12
|
+
default: []
|
|
21
13
|
}
|
|
22
14
|
},
|
|
23
15
|
setup(__props) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const tabsOptions = Vue.computed(() => {
|
|
18
|
+
return [
|
|
19
|
+
{ id: "tab_base_info", title: "基本信息" },
|
|
20
|
+
...props.options || [],
|
|
21
|
+
{ id: "tab_doc_info", title: "要件信息" },
|
|
22
|
+
{ id: "tab_timeline_info", title: "审批历史" }
|
|
23
|
+
];
|
|
24
|
+
});
|
|
24
25
|
return (_ctx, _cache) => {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
Vue.createElementVNode("div", { class: "route-hint" }, "传递 任务对象+流程变量 到页面中", -1)
|
|
28
|
-
]))) : Vue.createCommentVNode("", true);
|
|
26
|
+
const _component_FecMobileTabs = Vue.resolveComponent("FecMobileTabs");
|
|
27
|
+
return Vue.openBlock(), Vue.createBlock(_component_FecMobileTabs, { options: Vue.unref(tabsOptions) }, null, 8, ["options"]);
|
|
29
28
|
};
|
|
30
29
|
}
|
|
31
30
|
};
|
|
32
|
-
const _AppDetail = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
31
|
+
const _AppDetail = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-8844ccf3"]]);
|
|
33
32
|
exports.default = _AppDetail;
|
|
@@ -12,7 +12,6 @@ const Vue = require("vue");
|
|
|
12
12
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
13
13
|
const index = require("../../../../node_modules/vant/es/tabs/index.js");
|
|
14
14
|
const index$1 = require("../../../../node_modules/vant/es/tab/index.js");
|
|
15
|
-
const _hoisted_1 = { class: "fec-tab-content" };
|
|
16
15
|
const _sfc_main = {
|
|
17
16
|
__name: "Tabs",
|
|
18
17
|
props: {
|
|
@@ -72,17 +71,19 @@ const _sfc_main = {
|
|
|
72
71
|
return Vue.openBlock(), Vue.createBlock(_component_van_tab, Vue.mergeProps({ ref_for: true }, item, {
|
|
73
72
|
replace: "",
|
|
74
73
|
"show-zero-badge": false
|
|
75
|
-
}),
|
|
74
|
+
}), {
|
|
75
|
+
default: Vue.withCtx(() => [
|
|
76
|
+
Vue.createTextVNode(Vue.toDisplayString(item.title), 1)
|
|
77
|
+
]),
|
|
78
|
+
_: 2
|
|
79
|
+
}, 1040);
|
|
76
80
|
}), 256))
|
|
77
81
|
]),
|
|
78
82
|
_: 1
|
|
79
|
-
}, 8, ["active"])
|
|
80
|
-
Vue.createElementVNode("div", _hoisted_1, [
|
|
81
|
-
Vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
82
|
-
])
|
|
83
|
+
}, 8, ["active"])
|
|
83
84
|
], 4);
|
|
84
85
|
};
|
|
85
86
|
}
|
|
86
87
|
};
|
|
87
|
-
const _Tabs = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
88
|
+
const _Tabs = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b46f66e8"]]);
|
|
88
89
|
exports.default = _Tabs;
|
|
@@ -560,6 +560,14 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
560
560
|
}
|
|
561
561
|
});
|
|
562
562
|
}
|
|
563
|
+
function handleLabelLink(config) {
|
|
564
|
+
var _a;
|
|
565
|
+
handleEvent.value(
|
|
566
|
+
getFormData(),
|
|
567
|
+
config,
|
|
568
|
+
(_a = config.labelLinkEventConfig) == null ? void 0 : _a.find((item) => item.name == "Click")
|
|
569
|
+
);
|
|
570
|
+
}
|
|
563
571
|
const gridLayoutFieldsData = Vue.ref([]);
|
|
564
572
|
const oriGridLayoutData = Vue.ref([]);
|
|
565
573
|
const formItemRefs = Vue.ref(/* @__PURE__ */ new Map());
|
|
@@ -1230,7 +1238,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1230
1238
|
error: getFieldError(component.fieldName),
|
|
1231
1239
|
formRef: formRef.value,
|
|
1232
1240
|
formMode: formMode.value,
|
|
1233
|
-
onChange: handleFieldChange
|
|
1241
|
+
onChange: handleFieldChange,
|
|
1242
|
+
onLabelLink: handleLabelLink
|
|
1234
1243
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "config", "localConfig", "error", "formRef", "formMode"])
|
|
1235
1244
|
]),
|
|
1236
1245
|
_: 1
|
|
@@ -1282,5 +1291,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1282
1291
|
};
|
|
1283
1292
|
}
|
|
1284
1293
|
});
|
|
1285
|
-
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1294
|
+
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-4436064b"]]);
|
|
1286
1295
|
exports.default = _Form;
|
|
@@ -5,6 +5,7 @@ require("../../../../../../node_modules/element-plus/es/index.js");
|
|
|
5
5
|
;/* empty css */
|
|
6
6
|
;/* empty css */
|
|
7
7
|
require("../../../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
|
|
8
|
+
;/* empty css */
|
|
8
9
|
const Vue = require("vue");
|
|
9
10
|
const debounce = require("../form/debounce.js");
|
|
10
11
|
const index$3 = require("../subTitle/index.js");
|
|
@@ -19,7 +20,8 @@ const index = require("../../bus/index.js");
|
|
|
19
20
|
;/* empty css */
|
|
20
21
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
21
22
|
const index$9 = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
22
|
-
const index$a = require("../../../../../../node_modules/element-plus/es/components/
|
|
23
|
+
const index$a = require("../../../../../../node_modules/element-plus/es/components/link/index.js");
|
|
24
|
+
const index$b = require("../../../../../../node_modules/element-plus/es/components/tooltip/index.js");
|
|
23
25
|
const _hoisted_1 = {
|
|
24
26
|
key: 0,
|
|
25
27
|
class: "iconfont icon-iconZheng credit-icon"
|
|
@@ -28,6 +30,7 @@ const _hoisted_2 = {
|
|
|
28
30
|
key: 1,
|
|
29
31
|
class: "iconfont icon-iconJian regulation-icon"
|
|
30
32
|
};
|
|
33
|
+
const _hoisted_3 = { key: 3 };
|
|
31
34
|
const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
32
35
|
inheritAttrs: false
|
|
33
36
|
}, {
|
|
@@ -58,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
58
61
|
default: ""
|
|
59
62
|
}
|
|
60
63
|
},
|
|
61
|
-
emits: ["update:modelValue", "change"],
|
|
64
|
+
emits: ["update:modelValue", "change", "labelLink"],
|
|
62
65
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
63
66
|
const props = __props;
|
|
64
67
|
const emit = __emit;
|
|
@@ -103,6 +106,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
103
106
|
}
|
|
104
107
|
}
|
|
105
108
|
});
|
|
109
|
+
function handleLabelLink() {
|
|
110
|
+
emit("labelLink", props.config);
|
|
111
|
+
}
|
|
106
112
|
const getInnerComponentRef = () => {
|
|
107
113
|
return innerComponentRef.value;
|
|
108
114
|
};
|
|
@@ -111,7 +117,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
111
117
|
getInnerComponentRef
|
|
112
118
|
});
|
|
113
119
|
return (_ctx, _cache) => {
|
|
114
|
-
const
|
|
120
|
+
const _component_el_link = index$a.ElLink;
|
|
121
|
+
const _component_el_tooltip = index$b.ElTooltip;
|
|
115
122
|
const _component_el_form_item = index$9.ElFormItem;
|
|
116
123
|
return __props.config.fieldType == "h2" ? (Vue.openBlock(), Vue.createBlock(Vue.unref(index$2.H2), {
|
|
117
124
|
key: 0,
|
|
@@ -189,9 +196,19 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
189
196
|
return [
|
|
190
197
|
__props.config.credit ? (Vue.openBlock(), Vue.createElementBlock("i", _hoisted_1)) : Vue.createCommentVNode("", true),
|
|
191
198
|
__props.config.regulation ? (Vue.openBlock(), Vue.createElementBlock("i", _hoisted_2)) : Vue.createCommentVNode("", true),
|
|
192
|
-
Vue.
|
|
193
|
-
((_a = __props.config.tooltip) == null ? void 0 : _a.trim()) ? (Vue.openBlock(), Vue.createBlock(_component_el_tooltip, {
|
|
199
|
+
__props.config.labelLink ? (Vue.openBlock(), Vue.createBlock(_component_el_link, {
|
|
194
200
|
key: 2,
|
|
201
|
+
type: "primary",
|
|
202
|
+
style: { "pointer-events": "all" },
|
|
203
|
+
onClick: Vue.withModifiers(handleLabelLink, ["prevent"])
|
|
204
|
+
}, {
|
|
205
|
+
default: Vue.withCtx(() => [
|
|
206
|
+
Vue.createTextVNode(Vue.toDisplayString(__props.config.label), 1)
|
|
207
|
+
]),
|
|
208
|
+
_: 1
|
|
209
|
+
})) : (Vue.openBlock(), Vue.createElementBlock("span", _hoisted_3, Vue.toDisplayString(__props.config.label), 1)),
|
|
210
|
+
((_a = __props.config.tooltip) == null ? void 0 : _a.trim()) ? (Vue.openBlock(), Vue.createBlock(_component_el_tooltip, {
|
|
211
|
+
key: 4,
|
|
195
212
|
content: __props.config.tooltip,
|
|
196
213
|
placement: "top"
|
|
197
214
|
}, {
|
|
@@ -208,5 +225,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
208
225
|
};
|
|
209
226
|
}
|
|
210
227
|
});
|
|
211
|
-
const _FormItem = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
228
|
+
const _FormItem = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-ebc3ff2b"]]);
|
|
212
229
|
exports.default = _FormItem;
|