@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
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { createBlock, openBlock,
|
|
6
|
+
import { createBlock, openBlock, mergeProps, createSlots, renderList, withCtx, renderSlot } from "vue";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
9
9
|
import { Button } from "../../../../../../node_modules/vant/es/button/index.mjs";
|
|
10
10
|
const _sfc_main = {};
|
|
11
11
|
function _sfc_render(_ctx, _cache) {
|
|
12
12
|
const _component_van_button = Button;
|
|
13
|
-
return openBlock(), createBlock(_component_van_button,
|
|
13
|
+
return openBlock(), createBlock(_component_van_button, mergeProps({ class: "fec-button" }, _ctx.$attrs), createSlots({ _: 2 }, [
|
|
14
14
|
renderList(_ctx.$slots, (item, key) => {
|
|
15
15
|
return {
|
|
16
16
|
name: key,
|
|
@@ -21,7 +21,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
21
21
|
})
|
|
22
22
|
]), 1040);
|
|
23
23
|
}
|
|
24
|
-
const _Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
24
|
+
const _Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-96b4e696"]]);
|
|
25
25
|
export {
|
|
26
26
|
_Button as default
|
|
27
27
|
};
|
|
@@ -3,42 +3,56 @@
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { createBlock, openBlock, mergeProps, withCtx, createElementBlock, renderSlot, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
6
|
+
import { computed, createBlock, openBlock, mergeProps, unref, isRef, withCtx, createElementBlock, renderSlot, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
7
7
|
import { Tabbar } from "../../../../../../node_modules/vant/es/tabbar/index.mjs";
|
|
8
8
|
import { TabbarItem } from "../../../../../../node_modules/vant/es/tabbar-item/index.mjs";
|
|
9
9
|
const _sfc_main = {
|
|
10
10
|
__name: "Tabbar",
|
|
11
11
|
props: {
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: Number,
|
|
14
|
+
default: 0
|
|
15
|
+
},
|
|
12
16
|
tabbarOptions: {
|
|
13
17
|
type: Array,
|
|
14
18
|
default: []
|
|
15
19
|
}
|
|
16
20
|
},
|
|
17
|
-
|
|
21
|
+
emits: ["update:modelValue"],
|
|
22
|
+
setup(__props, { emit: __emit }) {
|
|
23
|
+
const props = __props;
|
|
24
|
+
const emit = __emit;
|
|
25
|
+
const activeName = computed({
|
|
26
|
+
get: () => {
|
|
27
|
+
return props.modelValue;
|
|
28
|
+
},
|
|
29
|
+
set: (val) => {
|
|
30
|
+
emit("update:modelValue", val);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
18
33
|
return (_ctx, _cache) => {
|
|
19
34
|
const _component_van_tabbar_item = TabbarItem;
|
|
20
35
|
const _component_van_tabbar = Tabbar;
|
|
21
36
|
return openBlock(), createBlock(_component_van_tabbar, mergeProps(_ctx.$attrs, {
|
|
22
|
-
|
|
37
|
+
modelValue: unref(activeName),
|
|
38
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(activeName) ? activeName.value = $event : null),
|
|
23
39
|
fixed: false
|
|
24
40
|
}), {
|
|
25
41
|
default: withCtx(() => [
|
|
26
42
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabbarOptions, (item) => {
|
|
27
43
|
return openBlock(), createBlock(_component_van_tabbar_item, {
|
|
28
|
-
icon: item.icon
|
|
29
|
-
replace: "",
|
|
30
|
-
to: item.to
|
|
44
|
+
icon: item.icon
|
|
31
45
|
}, {
|
|
32
46
|
default: withCtx(() => [
|
|
33
47
|
createTextVNode(toDisplayString(item.title), 1)
|
|
34
48
|
]),
|
|
35
49
|
_: 2
|
|
36
|
-
}, 1032, ["icon"
|
|
50
|
+
}, 1032, ["icon"]);
|
|
37
51
|
}), 256)),
|
|
38
52
|
renderSlot(_ctx.$slots, "default")
|
|
39
53
|
]),
|
|
40
54
|
_: 3
|
|
41
|
-
}, 16);
|
|
55
|
+
}, 16, ["modelValue"]);
|
|
42
56
|
};
|
|
43
57
|
}
|
|
44
58
|
};
|
|
@@ -117,8 +117,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
117
117
|
const dataSourceOptions = ref({});
|
|
118
118
|
const dictionaryOptions = ref({});
|
|
119
119
|
const productData = ref({});
|
|
120
|
-
const fieldsData = ref(
|
|
121
|
-
const hiddenFields = ref(
|
|
120
|
+
const fieldsData = ref([]);
|
|
121
|
+
const hiddenFields = ref([]);
|
|
122
122
|
const rowHeight = ref(1);
|
|
123
123
|
const pageEvents = props.canPageEvent ? usePageEvents(() => ({
|
|
124
124
|
pageEventConfig: localConfig.value.pageEventConfig,
|
|
@@ -1096,7 +1096,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1096
1096
|
};
|
|
1097
1097
|
}
|
|
1098
1098
|
});
|
|
1099
|
-
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1099
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2e861481"]]);
|
|
1100
1100
|
export {
|
|
1101
1101
|
_Form as default
|
|
1102
1102
|
};
|
|
@@ -36,19 +36,13 @@ const _sfc_main = {
|
|
|
36
36
|
const formData = ref(props.initFormData);
|
|
37
37
|
const emit = __emit;
|
|
38
38
|
const showCard = ref(false);
|
|
39
|
-
const isDialog = ref(false);
|
|
40
39
|
function loaded(option, formData2) {
|
|
41
40
|
showCard.value = true;
|
|
42
|
-
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
cols.forEach((col) => {
|
|
48
|
-
col.style.height = offsetHeight + "px";
|
|
49
|
-
});
|
|
50
|
-
isDialog.value = true;
|
|
51
|
-
}
|
|
41
|
+
let offsetHeight = layoutRowRef.value.$el.offsetHeight;
|
|
42
|
+
const cols = layoutRowRef.value.$el.querySelectorAll(".el-col");
|
|
43
|
+
cols.forEach((col) => {
|
|
44
|
+
col.style.height = offsetHeight + "px";
|
|
45
|
+
});
|
|
52
46
|
emit("loaded", cloneDeep(formData2));
|
|
53
47
|
}
|
|
54
48
|
return (_ctx, _cache) => {
|
|
@@ -74,9 +68,8 @@ const _sfc_main = {
|
|
|
74
68
|
modelValue: unref(formData),
|
|
75
69
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(formData) ? formData.value = $event : null),
|
|
76
70
|
onLoaded: loaded,
|
|
77
|
-
initFormMode: __props.initFormMode
|
|
78
|
-
|
|
79
|
-
}, null, 8, ["templateKey", "modelValue", "initFormMode", "isDialog"])
|
|
71
|
+
initFormMode: __props.initFormMode
|
|
72
|
+
}, null, 8, ["templateKey", "modelValue", "initFormMode"])
|
|
80
73
|
]),
|
|
81
74
|
_: 1
|
|
82
75
|
}, 512)
|
|
@@ -100,7 +93,7 @@ const _sfc_main = {
|
|
|
100
93
|
};
|
|
101
94
|
}
|
|
102
95
|
};
|
|
103
|
-
const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
96
|
+
const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-317e7dd8"]]);
|
|
104
97
|
export {
|
|
105
98
|
_Layout as default
|
|
106
99
|
};
|
|
@@ -984,5 +984,5 @@ const _sfc_main = {
|
|
|
984
984
|
};
|
|
985
985
|
}
|
|
986
986
|
};
|
|
987
|
-
const DialogDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
987
|
+
const DialogDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-47900630"]]);
|
|
988
988
|
exports.default = DialogDialog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const vue = require("vue");
|
|
5
5
|
function useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = vue.ref(false);
|
|
@@ -1031,5 +1031,5 @@ const _sfc_main = {
|
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
1033
|
};
|
|
1034
|
-
const DialogGlobalDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1034
|
+
const DialogGlobalDialog = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-60556147"]]);
|
|
1035
1035
|
exports.default = DialogGlobalDialog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const vue = require("vue");
|
|
5
5
|
function useDialogGlobalDialog() {
|
|
6
6
|
const dialogGlobalDialogVisible = vue.ref(false);
|
|
@@ -54,8 +54,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
54
54
|
require("../../../components/TemplateSelector.vue.js");
|
|
55
55
|
require("../../table/default.js");
|
|
56
56
|
;/* empty css */
|
|
57
|
-
;/* empty css
|
|
58
|
-
;/* empty css
|
|
57
|
+
;/* empty css */
|
|
58
|
+
;/* empty css */
|
|
59
59
|
require("../../../store/index.js");
|
|
60
60
|
;/* empty css */
|
|
61
61
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|