@fecp/mobile 1.0.64 → 1.0.66

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.
@@ -1,11 +1,7 @@
1
1
  /* empty css */
2
2
  /* empty css */
3
- /* empty css */
4
- /* empty css */
5
- /* empty css */
6
- import { createBlock, openBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
3
+ import { createBlock, openBlock, mergeProps, withCtx, renderSlot } from "vue";
7
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";
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
5
  const _sfc_main = {
10
6
  __name: "Tabbar",
11
7
  props: {
@@ -16,25 +12,12 @@ const _sfc_main = {
16
12
  },
17
13
  setup(__props) {
18
14
  return (_ctx, _cache) => {
19
- const _component_van_tabbar_item = TabbarItem;
20
15
  const _component_van_tabbar = Tabbar;
21
16
  return openBlock(), createBlock(_component_van_tabbar, mergeProps(_ctx.$attrs, { route: "" }), {
22
17
  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))
18
+ renderSlot(_ctx.$slots, "default")
36
19
  ]),
37
- _: 1
20
+ _: 3
38
21
  }, 16);
39
22
  };
40
23
  }
@@ -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,
@@ -2,12 +2,8 @@
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 */
8
5
  const vue = require("vue");
9
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");
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
7
  const _sfc_main = {
12
8
  __name: "Tabbar",
13
9
  props: {
@@ -18,25 +14,12 @@ const _sfc_main = {
18
14
  },
19
15
  setup(__props) {
20
16
  return (_ctx, _cache) => {
21
- const _component_van_tabbar_item = index$1.TabbarItem;
22
17
  const _component_van_tabbar = index.Tabbar;
23
18
  return vue.openBlock(), vue.createBlock(_component_van_tabbar, vue.mergeProps(_ctx.$attrs, { route: "" }), {
24
19
  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))
20
+ vue.renderSlot(_ctx.$slots, "default")
38
21
  ]),
39
- _: 1
22
+ _: 3
40
23
  }, 16);
41
24
  };
42
25
  }
@@ -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.64",
3
+ "version": "1.0.66",
4
4
  "main": "lib/packages/mobile/index.js",
5
5
  "module": "es/packages/mobile/index.mjs",
6
6
  "files": [