@fecp/mobile 1.0.62 → 1.0.64
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/packages/mobile/src/components/form/fieldDateTimePicker/FieldDateTimePicker.vue.mjs +2 -2
- package/es/packages/mobile/src/components/form/formItem/FormItem.vue.mjs +2 -0
- package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +39 -18
- package/es/packages/mobile/src/components/navigation/tabbar/index.mjs +2 -2
- package/lib/packages/mobile/src/components/form/fieldDateTimePicker/FieldDateTimePicker.vue.js +2 -2
- package/lib/packages/mobile/src/components/form/formItem/FormItem.vue.js +2 -0
- package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +38 -17
- package/package.json +1 -1
package/es/packages/mobile/src/components/form/fieldDateTimePicker/FieldDateTimePicker.vue.mjs
CHANGED
|
@@ -28,7 +28,7 @@ const _sfc_main = {
|
|
|
28
28
|
type: String,
|
|
29
29
|
default: ""
|
|
30
30
|
},
|
|
31
|
-
|
|
31
|
+
dateTimeTextFormat: {
|
|
32
32
|
//0:YYYYMMDD;1: YYYY-MM-DD;2:YYYY/MM/DD;3:YYYY年MM月DD日
|
|
33
33
|
type: String,
|
|
34
34
|
default: "1"
|
|
@@ -53,7 +53,7 @@ const _sfc_main = {
|
|
|
53
53
|
const fieldTextValue = ref("");
|
|
54
54
|
const showPicker = ref(false);
|
|
55
55
|
const emit = __emit;
|
|
56
|
-
let textFormat = parseDateFormatter(props.
|
|
56
|
+
let textFormat = parseDateFormatter(props.dateTimeTextFormat, dateColumnsType);
|
|
57
57
|
let valueFormat = parseDateFormatter("0", dateColumnsType);
|
|
58
58
|
const currentDateTime = computed(() => {
|
|
59
59
|
let date;
|
|
@@ -32,6 +32,8 @@ const _sfc_main = {
|
|
|
32
32
|
return defineAsyncComponent(() => import("../fieldCalendarPicker/index.mjs"));
|
|
33
33
|
case "date":
|
|
34
34
|
return defineAsyncComponent(() => import("../fieldDatePicker/index.mjs"));
|
|
35
|
+
case "dateTime":
|
|
36
|
+
return defineAsyncComponent(() => import("../fieldDateTimePicker/index.mjs"));
|
|
35
37
|
case "time":
|
|
36
38
|
return defineAsyncComponent(() => import("../fieldTimePicker/index.mjs"));
|
|
37
39
|
case "radio":
|
|
@@ -1,23 +1,44 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
import { createBlock, openBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
5
7
|
import { Tabbar } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar/index.mjs";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
8
|
+
import { TabbarItem } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar-item/index.mjs";
|
|
9
|
+
const _sfc_main = {
|
|
10
|
+
__name: "Tabbar",
|
|
11
|
+
props: {
|
|
12
|
+
tabbarOptions: {
|
|
13
|
+
type: Array,
|
|
14
|
+
default: []
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
setup(__props) {
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
const _component_van_tabbar_item = TabbarItem;
|
|
20
|
+
const _component_van_tabbar = Tabbar;
|
|
21
|
+
return openBlock(), createBlock(_component_van_tabbar, mergeProps(_ctx.$attrs, { route: "" }), {
|
|
22
|
+
default: withCtx(() => [
|
|
23
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabbarOptions, (item) => {
|
|
24
|
+
return openBlock(), createBlock(_component_van_tabbar_item, {
|
|
25
|
+
name: item.name,
|
|
26
|
+
icon: item.icon,
|
|
27
|
+
replace: "",
|
|
28
|
+
to: item.to
|
|
29
|
+
}, {
|
|
30
|
+
default: withCtx(() => [
|
|
31
|
+
createTextVNode(toDisplayString(item.title), 1)
|
|
32
|
+
]),
|
|
33
|
+
_: 2
|
|
34
|
+
}, 1032, ["name", "icon", "to"]);
|
|
35
|
+
}), 256))
|
|
36
|
+
]),
|
|
37
|
+
_: 1
|
|
38
|
+
}, 16);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
};
|
|
21
42
|
export {
|
|
22
|
-
|
|
43
|
+
_sfc_main as default
|
|
23
44
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _sfc_main from "./Tabbar.vue.mjs";
|
|
2
2
|
import install from "../../../utils/install.mjs";
|
|
3
|
-
const MobileTabbar = install.withInstall("MobileTabbar",
|
|
3
|
+
const MobileTabbar = install.withInstall("MobileTabbar", _sfc_main);
|
|
4
4
|
export {
|
|
5
5
|
MobileTabbar,
|
|
6
6
|
MobileTabbar as default
|
package/lib/packages/mobile/src/components/form/fieldDateTimePicker/FieldDateTimePicker.vue.js
CHANGED
|
@@ -30,7 +30,7 @@ const _sfc_main = {
|
|
|
30
30
|
type: String,
|
|
31
31
|
default: ""
|
|
32
32
|
},
|
|
33
|
-
|
|
33
|
+
dateTimeTextFormat: {
|
|
34
34
|
//0:YYYYMMDD;1: YYYY-MM-DD;2:YYYY/MM/DD;3:YYYY年MM月DD日
|
|
35
35
|
type: String,
|
|
36
36
|
default: "1"
|
|
@@ -55,7 +55,7 @@ const _sfc_main = {
|
|
|
55
55
|
const fieldTextValue = vue.ref("");
|
|
56
56
|
const showPicker = vue.ref(false);
|
|
57
57
|
const emit = __emit;
|
|
58
|
-
let textFormat = dateUtil.parseDateFormatter(props.
|
|
58
|
+
let textFormat = dateUtil.parseDateFormatter(props.dateTimeTextFormat, dateColumnsType);
|
|
59
59
|
let valueFormat = dateUtil.parseDateFormatter("0", dateColumnsType);
|
|
60
60
|
const currentDateTime = vue.computed(() => {
|
|
61
61
|
let date;
|
|
@@ -34,6 +34,8 @@ const _sfc_main = {
|
|
|
34
34
|
return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldCalendarPicker/index.js")));
|
|
35
35
|
case "date":
|
|
36
36
|
return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldDatePicker/index.js")));
|
|
37
|
+
case "dateTime":
|
|
38
|
+
return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldDateTimePicker/index.js")));
|
|
37
39
|
case "time":
|
|
38
40
|
return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldTimePicker/index.js")));
|
|
39
41
|
case "radio":
|
|
@@ -2,22 +2,43 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
|
+
;/* empty css */
|
|
6
|
+
;/* empty css */
|
|
7
|
+
;/* empty css */
|
|
5
8
|
const vue = require("vue");
|
|
6
|
-
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
7
9
|
const index = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar/index.js");
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
10
|
+
const index$1 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/tabbar-item/index.js");
|
|
11
|
+
const _sfc_main = {
|
|
12
|
+
__name: "Tabbar",
|
|
13
|
+
props: {
|
|
14
|
+
tabbarOptions: {
|
|
15
|
+
type: Array,
|
|
16
|
+
default: []
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
const _component_van_tabbar_item = index$1.TabbarItem;
|
|
22
|
+
const _component_van_tabbar = index.Tabbar;
|
|
23
|
+
return vue.openBlock(), vue.createBlock(_component_van_tabbar, vue.mergeProps(_ctx.$attrs, { route: "" }), {
|
|
24
|
+
default: vue.withCtx(() => [
|
|
25
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.tabbarOptions, (item) => {
|
|
26
|
+
return vue.openBlock(), vue.createBlock(_component_van_tabbar_item, {
|
|
27
|
+
name: item.name,
|
|
28
|
+
icon: item.icon,
|
|
29
|
+
replace: "",
|
|
30
|
+
to: item.to
|
|
31
|
+
}, {
|
|
32
|
+
default: vue.withCtx(() => [
|
|
33
|
+
vue.createTextVNode(vue.toDisplayString(item.title), 1)
|
|
34
|
+
]),
|
|
35
|
+
_: 2
|
|
36
|
+
}, 1032, ["name", "icon", "to"]);
|
|
37
|
+
}), 256))
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 16);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
exports.default = _sfc_main;
|