@fecp/designer 5.4.78 → 5.4.79
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/dialog/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +160 -141
- package/es/packages/mobile/src/components/base/button/Button.vue.mjs +3 -3
- package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +22 -8
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +3 -3
- package/es/packages/vue/src/components/forms/h2/H2.vue.mjs +1 -1
- package/es/packages/vue/src/components/layout/Layout.vue.mjs +8 -15
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/index.vue.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +160 -141
- package/lib/packages/mobile/src/components/base/button/Button.vue.js +2 -2
- package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +21 -7
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +3 -3
- package/lib/packages/vue/src/components/forms/h2/H2.vue.js +1 -1
- package/lib/packages/vue/src/components/layout/Layout.vue.js +8 -15
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ const index = require("../../../../../../node_modules/vant/es/button/index.js");
|
|
|
12
12
|
const _sfc_main = {};
|
|
13
13
|
function _sfc_render(_ctx, _cache) {
|
|
14
14
|
const _component_van_button = index.Button;
|
|
15
|
-
return vue.openBlock(), vue.createBlock(_component_van_button, vue.
|
|
15
|
+
return vue.openBlock(), vue.createBlock(_component_van_button, vue.mergeProps({ class: "fec-button" }, _ctx.$attrs), vue.createSlots({ _: 2 }, [
|
|
16
16
|
vue.renderList(_ctx.$slots, (item, key) => {
|
|
17
17
|
return {
|
|
18
18
|
name: key,
|
|
@@ -23,5 +23,5 @@ function _sfc_render(_ctx, _cache) {
|
|
|
23
23
|
})
|
|
24
24
|
]), 1040);
|
|
25
25
|
}
|
|
26
|
-
const _Button = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
26
|
+
const _Button = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-96b4e696"]]);
|
|
27
27
|
exports.default = _Button;
|
|
@@ -11,36 +11,50 @@ const index$1 = require("../../../../../../node_modules/vant/es/tabbar-item/inde
|
|
|
11
11
|
const _sfc_main = {
|
|
12
12
|
__name: "Tabbar",
|
|
13
13
|
props: {
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: Number,
|
|
16
|
+
default: 0
|
|
17
|
+
},
|
|
14
18
|
tabbarOptions: {
|
|
15
19
|
type: Array,
|
|
16
20
|
default: []
|
|
17
21
|
}
|
|
18
22
|
},
|
|
19
|
-
|
|
23
|
+
emits: ["update:modelValue"],
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
const emit = __emit;
|
|
27
|
+
const activeName = vue.computed({
|
|
28
|
+
get: () => {
|
|
29
|
+
return props.modelValue;
|
|
30
|
+
},
|
|
31
|
+
set: (val) => {
|
|
32
|
+
emit("update:modelValue", val);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
20
35
|
return (_ctx, _cache) => {
|
|
21
36
|
const _component_van_tabbar_item = index$1.TabbarItem;
|
|
22
37
|
const _component_van_tabbar = index.Tabbar;
|
|
23
38
|
return vue.openBlock(), vue.createBlock(_component_van_tabbar, vue.mergeProps(_ctx.$attrs, {
|
|
24
|
-
|
|
39
|
+
modelValue: vue.unref(activeName),
|
|
40
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(activeName) ? activeName.value = $event : null),
|
|
25
41
|
fixed: false
|
|
26
42
|
}), {
|
|
27
43
|
default: vue.withCtx(() => [
|
|
28
44
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.tabbarOptions, (item) => {
|
|
29
45
|
return vue.openBlock(), vue.createBlock(_component_van_tabbar_item, {
|
|
30
|
-
icon: item.icon
|
|
31
|
-
replace: "",
|
|
32
|
-
to: item.to
|
|
46
|
+
icon: item.icon
|
|
33
47
|
}, {
|
|
34
48
|
default: vue.withCtx(() => [
|
|
35
49
|
vue.createTextVNode(vue.toDisplayString(item.title), 1)
|
|
36
50
|
]),
|
|
37
51
|
_: 2
|
|
38
|
-
}, 1032, ["icon"
|
|
52
|
+
}, 1032, ["icon"]);
|
|
39
53
|
}), 256)),
|
|
40
54
|
vue.renderSlot(_ctx.$slots, "default")
|
|
41
55
|
]),
|
|
42
56
|
_: 3
|
|
43
|
-
}, 16);
|
|
57
|
+
}, 16, ["modelValue"]);
|
|
44
58
|
};
|
|
45
59
|
}
|
|
46
60
|
};
|
|
@@ -119,8 +119,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
119
119
|
const dataSourceOptions = vue.ref({});
|
|
120
120
|
const dictionaryOptions = vue.ref({});
|
|
121
121
|
const productData = vue.ref({});
|
|
122
|
-
const fieldsData = vue.ref(
|
|
123
|
-
const hiddenFields = vue.ref(
|
|
122
|
+
const fieldsData = vue.ref([]);
|
|
123
|
+
const hiddenFields = vue.ref([]);
|
|
124
124
|
const rowHeight = vue.ref(1);
|
|
125
125
|
const pageEvents = props.canPageEvent ? usePageEvents.usePageEvents(() => ({
|
|
126
126
|
pageEventConfig: localConfig.value.pageEventConfig,
|
|
@@ -1098,5 +1098,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1098
1098
|
};
|
|
1099
1099
|
}
|
|
1100
1100
|
});
|
|
1101
|
-
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1101
|
+
const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-2e861481"]]);
|
|
1102
1102
|
exports.default = _Form;
|
|
@@ -38,5 +38,5 @@ const _sfc_main = {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
|
-
const _H2 = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
41
|
+
const _H2 = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-60bd3722"]]);
|
|
42
42
|
exports.default = _H2;
|
|
@@ -38,19 +38,13 @@ const _sfc_main = {
|
|
|
38
38
|
const formData = vue.ref(props.initFormData);
|
|
39
39
|
const emit = __emit;
|
|
40
40
|
const showCard = vue.ref(false);
|
|
41
|
-
const isDialog = vue.ref(false);
|
|
42
41
|
function loaded(option, formData2) {
|
|
43
42
|
showCard.value = true;
|
|
44
|
-
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
cols.forEach((col) => {
|
|
50
|
-
col.style.height = offsetHeight + "px";
|
|
51
|
-
});
|
|
52
|
-
isDialog.value = true;
|
|
53
|
-
}
|
|
43
|
+
let offsetHeight = layoutRowRef.value.$el.offsetHeight;
|
|
44
|
+
const cols = layoutRowRef.value.$el.querySelectorAll(".el-col");
|
|
45
|
+
cols.forEach((col) => {
|
|
46
|
+
col.style.height = offsetHeight + "px";
|
|
47
|
+
});
|
|
54
48
|
emit("loaded", common.cloneDeep(formData2));
|
|
55
49
|
}
|
|
56
50
|
return (_ctx, _cache) => {
|
|
@@ -76,9 +70,8 @@ const _sfc_main = {
|
|
|
76
70
|
modelValue: vue.unref(formData),
|
|
77
71
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(formData) ? formData.value = $event : null),
|
|
78
72
|
onLoaded: loaded,
|
|
79
|
-
initFormMode: __props.initFormMode
|
|
80
|
-
|
|
81
|
-
}, null, 8, ["templateKey", "modelValue", "initFormMode", "isDialog"])
|
|
73
|
+
initFormMode: __props.initFormMode
|
|
74
|
+
}, null, 8, ["templateKey", "modelValue", "initFormMode"])
|
|
82
75
|
]),
|
|
83
76
|
_: 1
|
|
84
77
|
}, 512)
|
|
@@ -102,5 +95,5 @@ const _sfc_main = {
|
|
|
102
95
|
};
|
|
103
96
|
}
|
|
104
97
|
};
|
|
105
|
-
const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
98
|
+
const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-317e7dd8"]]);
|
|
106
99
|
exports.default = _Layout;
|