@fecp/mobile 1.0.63 → 1.0.65

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.
@@ -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,22 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
- import { createBlock, openBlock, normalizeProps, guardReactiveProps, createSlots, renderList, withCtx, renderSlot } from "vue";
4
- import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ import { createBlock, openBlock, mergeProps } from "vue";
5
4
  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
- const _sfc_main = {};
7
- function _sfc_render(_ctx, _cache) {
8
- const _component_van_tabbar = Tabbar;
9
- return openBlock(), createBlock(_component_van_tabbar, normalizeProps(guardReactiveProps(_ctx.$attrs)), createSlots({ _: 2 }, [
10
- renderList(_ctx.$slots, (item, key) => {
11
- return {
12
- name: key,
13
- fn: withCtx(() => [
14
- renderSlot(_ctx.$slots, key)
15
- ])
16
- };
17
- })
18
- ]), 1040);
19
- }
20
- const _Tabbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
5
+ const _sfc_main = {
6
+ __name: "Tabbar",
7
+ props: {
8
+ tabbarOptions: {
9
+ type: Array,
10
+ default: []
11
+ }
12
+ },
13
+ setup(__props) {
14
+ return (_ctx, _cache) => {
15
+ const _component_van_tabbar = Tabbar;
16
+ return openBlock(), createBlock(_component_van_tabbar, mergeProps(_ctx.$attrs, { route: "" }), null, 16);
17
+ };
18
+ }
19
+ };
21
20
  export {
22
- _Tabbar as default
21
+ _sfc_main as default
23
22
  };
@@ -1,6 +1,6 @@
1
- import _Tabbar from "./Tabbar.vue.mjs";
1
+ import _sfc_main from "./Tabbar.vue.mjs";
2
2
  import install from "../../../utils/install.mjs";
3
- const MobileTabbar = install.withInstall("MobileTabbar", _Tabbar);
3
+ const MobileTabbar = install.withInstall("MobileTabbar", _sfc_main);
4
4
  export {
5
5
  MobileTabbar,
6
6
  MobileTabbar as default
@@ -3,24 +3,28 @@
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- import { createBlock, openBlock, normalizeProps, guardReactiveProps, createSlots, renderList, withCtx, renderSlot } from "vue";
7
- import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
6
+ import { createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createTextVNode, toDisplayString } from "vue";
8
7
  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
- function _sfc_render(_ctx, _cache) {
11
- const _component_van_tabbar_item = TabbarItem;
12
- return openBlock(), createBlock(_component_van_tabbar_item, normalizeProps(guardReactiveProps(_ctx.$attrs)), createSlots({ _: 2 }, [
13
- renderList(_ctx.$slots, (item, key) => {
14
- return {
15
- name: key,
16
- fn: withCtx(() => [
17
- renderSlot(_ctx.$slots, key)
18
- ])
19
- };
20
- })
21
- ]), 1040);
22
- }
23
- const _TabbarItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
8
+ const _sfc_main = {
9
+ __name: "TabbarItem",
10
+ props: {
11
+ title: {
12
+ type: String,
13
+ default: "标签"
14
+ }
15
+ },
16
+ setup(__props) {
17
+ return (_ctx, _cache) => {
18
+ const _component_van_tabbar_item = TabbarItem;
19
+ return openBlock(), createBlock(_component_van_tabbar_item, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
20
+ default: withCtx(() => [
21
+ createTextVNode(toDisplayString(__props.title), 1)
22
+ ]),
23
+ _: 1
24
+ }, 16);
25
+ };
26
+ }
27
+ };
24
28
  export {
25
- _TabbarItem as default
29
+ _sfc_main as default
26
30
  };
@@ -1,8 +1,8 @@
1
- import _TabbarItem from "./TabbarItem.vue.mjs";
1
+ import _sfc_main from "./TabbarItem.vue.mjs";
2
2
  import install from "../../../utils/install.mjs";
3
3
  const MobileTabbarItem = install.withInstall(
4
4
  "MobileTabbarItem",
5
- _TabbarItem
5
+ _sfc_main
6
6
  );
7
7
  export {
8
8
  MobileTabbarItem,
@@ -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":
@@ -3,21 +3,20 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  ;/* empty css */
4
4
  ;/* empty css */
5
5
  const vue = require("vue");
6
- const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
7
6
  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 _sfc_main = {};
9
- function _sfc_render(_ctx, _cache) {
10
- const _component_van_tabbar = index.Tabbar;
11
- return vue.openBlock(), vue.createBlock(_component_van_tabbar, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), vue.createSlots({ _: 2 }, [
12
- vue.renderList(_ctx.$slots, (item, key) => {
13
- return {
14
- name: key,
15
- fn: vue.withCtx(() => [
16
- vue.renderSlot(_ctx.$slots, key)
17
- ])
18
- };
19
- })
20
- ]), 1040);
21
- }
22
- const _Tabbar = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render]]);
23
- exports.default = _Tabbar;
7
+ const _sfc_main = {
8
+ __name: "Tabbar",
9
+ props: {
10
+ tabbarOptions: {
11
+ type: Array,
12
+ default: []
13
+ }
14
+ },
15
+ setup(__props) {
16
+ return (_ctx, _cache) => {
17
+ const _component_van_tabbar = index.Tabbar;
18
+ return vue.openBlock(), vue.createBlock(_component_van_tabbar, vue.mergeProps(_ctx.$attrs, { route: "" }), null, 16);
19
+ };
20
+ }
21
+ };
22
+ exports.default = _sfc_main;
@@ -6,21 +6,25 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
6
6
  ;/* empty css */
7
7
  ;/* empty css */
8
8
  const vue = require("vue");
9
- const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
10
9
  const index = 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
- function _sfc_render(_ctx, _cache) {
13
- const _component_van_tabbar_item = index.TabbarItem;
14
- return vue.openBlock(), vue.createBlock(_component_van_tabbar_item, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), vue.createSlots({ _: 2 }, [
15
- vue.renderList(_ctx.$slots, (item, key) => {
16
- return {
17
- name: key,
18
- fn: vue.withCtx(() => [
19
- vue.renderSlot(_ctx.$slots, key)
20
- ])
21
- };
22
- })
23
- ]), 1040);
24
- }
25
- const _TabbarItem = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render]]);
26
- exports.default = _TabbarItem;
10
+ const _sfc_main = {
11
+ __name: "TabbarItem",
12
+ props: {
13
+ title: {
14
+ type: String,
15
+ default: "标签"
16
+ }
17
+ },
18
+ setup(__props) {
19
+ return (_ctx, _cache) => {
20
+ const _component_van_tabbar_item = index.TabbarItem;
21
+ return vue.openBlock(), vue.createBlock(_component_van_tabbar_item, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), {
22
+ default: vue.withCtx(() => [
23
+ vue.createTextVNode(vue.toDisplayString(__props.title), 1)
24
+ ]),
25
+ _: 1
26
+ }, 16);
27
+ };
28
+ }
29
+ };
30
+ exports.default = _sfc_main;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/mobile",
3
- "version": "1.0.63",
3
+ "version": "1.0.65",
4
4
  "main": "lib/packages/mobile/index.js",
5
5
  "module": "es/packages/mobile/index.mjs",
6
6
  "files": [