@fecp/mobile 1.0.11 → 1.0.12

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,22 +1,35 @@
1
1
  /* empty css */
2
- import { createBlock, openBlock, normalizeProps, guardReactiveProps, createSlots, renderList, withCtx, renderSlot } from "vue";
3
- import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
2
+ /* empty css */
3
+ import { createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createVNode, renderSlot } from "vue";
4
4
  import { Form } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/form/index.mjs";
5
- const _sfc_main = {};
6
- function _sfc_render(_ctx, _cache) {
7
- const _component_van_form = Form;
8
- return openBlock(), createBlock(_component_van_form, normalizeProps(guardReactiveProps(_ctx.$attrs)), createSlots({ _: 2 }, [
9
- renderList(_ctx.$slots, (item, key) => {
10
- return {
11
- name: key,
12
- fn: withCtx(() => [
13
- renderSlot(_ctx.$slots, key)
14
- ])
15
- };
16
- })
17
- ]), 1040);
18
- }
19
- const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
5
+ import { CellGroup } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/cell-group/index.mjs";
6
+ const _sfc_main = {
7
+ __name: "Form",
8
+ props: {
9
+ isCard: {
10
+ //卡片风格
11
+ type: Boolean,
12
+ default: false
13
+ }
14
+ },
15
+ setup(__props) {
16
+ return (_ctx, _cache) => {
17
+ const _component_van_cell_group = CellGroup;
18
+ const _component_van_form = Form;
19
+ return openBlock(), createBlock(_component_van_form, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
20
+ default: withCtx(() => [
21
+ createVNode(_component_van_cell_group, { inset: __props.isCard }, {
22
+ default: withCtx(() => [
23
+ renderSlot(_ctx.$slots, "default")
24
+ ]),
25
+ _: 3
26
+ }, 8, ["inset"])
27
+ ]),
28
+ _: 3
29
+ }, 16);
30
+ };
31
+ }
32
+ };
20
33
  export {
21
- _Form as default
34
+ _sfc_main as default
22
35
  };
@@ -1,6 +1,6 @@
1
- import _Form from "./Form.vue.mjs";
1
+ import _sfc_main from "./Form.vue.mjs";
2
2
  import install from "../../../utils/install.mjs";
3
- const MobileForm = install.withInstall("MobileForm", _Form);
3
+ const MobileForm = install.withInstall("MobileForm", _sfc_main);
4
4
  export {
5
5
  MobileForm,
6
6
  MobileForm as default
@@ -1,22 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  ;/* empty css */
4
+ ;/* empty css */
4
5
  const vue = require("vue");
5
- const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
6
6
  const index = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/form/index.js");
7
- const _sfc_main = {};
8
- function _sfc_render(_ctx, _cache) {
9
- const _component_van_form = index.Form;
10
- return vue.openBlock(), vue.createBlock(_component_van_form, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), vue.createSlots({ _: 2 }, [
11
- vue.renderList(_ctx.$slots, (item, key) => {
12
- return {
13
- name: key,
14
- fn: vue.withCtx(() => [
15
- vue.renderSlot(_ctx.$slots, key)
16
- ])
17
- };
18
- })
19
- ]), 1040);
20
- }
21
- const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render]]);
22
- exports.default = _Form;
7
+ const index$1 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/cell-group/index.js");
8
+ const _sfc_main = {
9
+ __name: "Form",
10
+ props: {
11
+ isCard: {
12
+ //卡片风格
13
+ type: Boolean,
14
+ default: false
15
+ }
16
+ },
17
+ setup(__props) {
18
+ return (_ctx, _cache) => {
19
+ const _component_van_cell_group = index$1.CellGroup;
20
+ const _component_van_form = index.Form;
21
+ return vue.openBlock(), vue.createBlock(_component_van_form, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), {
22
+ default: vue.withCtx(() => [
23
+ vue.createVNode(_component_van_cell_group, { inset: __props.isCard }, {
24
+ default: vue.withCtx(() => [
25
+ vue.renderSlot(_ctx.$slots, "default")
26
+ ]),
27
+ _: 3
28
+ }, 8, ["inset"])
29
+ ]),
30
+ _: 3
31
+ }, 16);
32
+ };
33
+ }
34
+ };
35
+ exports.default = _sfc_main;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/mobile",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "main": "lib/packages/mobile/index.js",
5
5
  "module": "es/packages/mobile/index.mjs",
6
6
  "files": [