@fecp/mobile 1.0.10 → 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.
@@ -150,6 +150,7 @@ const _sfc_main = {
150
150
  "default-date": unref(defaultDate),
151
151
  title: __props.title,
152
152
  type: __props.calendarType,
153
+ readonly: false,
153
154
  "switch-mode": "year-month",
154
155
  onConfirm
155
156
  }), null, 16, ["show", "default-date", "title", "type"])
@@ -102,6 +102,7 @@ const _sfc_main = {
102
102
  createVNode(_component_van_date_picker, mergeProps(_ctx.$attrs, {
103
103
  modelValue: unref(pickerValue),
104
104
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(pickerValue) ? pickerValue.value = $event : null),
105
+ readonly: false,
105
106
  onConfirm,
106
107
  onCancel: _cache[3] || (_cache[3] = ($event) => showPicker.value = false)
107
108
  }), null, 16, ["modelValue"])
@@ -102,6 +102,7 @@ const _sfc_main = {
102
102
  columns: __props.columns,
103
103
  "columns-field-names": __props.columnsFieldNames,
104
104
  "model-value": unref(pickerValue),
105
+ readonly: false,
105
106
  onConfirm,
106
107
  onCancel: _cache[2] || (_cache[2] = ($event) => showPicker.value = false)
107
108
  }), null, 16, ["columns", "columns-field-names", "model-value"])
@@ -102,6 +102,7 @@ const _sfc_main = {
102
102
  createVNode(_component_van_time_picker, mergeProps(_ctx.$attrs, {
103
103
  modelValue: unref(pickerValue),
104
104
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(pickerValue) ? pickerValue.value = $event : null),
105
+ readonly: false,
105
106
  onConfirm,
106
107
  onCancel: _cache[3] || (_cache[3] = ($event) => showPicker.value = false)
107
108
  }), null, 16, ["modelValue"])
@@ -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
@@ -152,6 +152,7 @@ const _sfc_main = {
152
152
  "default-date": vue.unref(defaultDate),
153
153
  title: __props.title,
154
154
  type: __props.calendarType,
155
+ readonly: false,
155
156
  "switch-mode": "year-month",
156
157
  onConfirm
157
158
  }), null, 16, ["show", "default-date", "title", "type"])
@@ -104,6 +104,7 @@ const _sfc_main = {
104
104
  vue.createVNode(_component_van_date_picker, vue.mergeProps(_ctx.$attrs, {
105
105
  modelValue: vue.unref(pickerValue),
106
106
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(pickerValue) ? pickerValue.value = $event : null),
107
+ readonly: false,
107
108
  onConfirm,
108
109
  onCancel: _cache[3] || (_cache[3] = ($event) => showPicker.value = false)
109
110
  }), null, 16, ["modelValue"])
@@ -104,6 +104,7 @@ const _sfc_main = {
104
104
  columns: __props.columns,
105
105
  "columns-field-names": __props.columnsFieldNames,
106
106
  "model-value": vue.unref(pickerValue),
107
+ readonly: false,
107
108
  onConfirm,
108
109
  onCancel: _cache[2] || (_cache[2] = ($event) => showPicker.value = false)
109
110
  }), null, 16, ["columns", "columns-field-names", "model-value"])
@@ -104,6 +104,7 @@ const _sfc_main = {
104
104
  vue.createVNode(_component_van_time_picker, vue.mergeProps(_ctx.$attrs, {
105
105
  modelValue: vue.unref(pickerValue),
106
106
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(pickerValue) ? pickerValue.value = $event : null),
107
+ readonly: false,
107
108
  onConfirm,
108
109
  onCancel: _cache[3] || (_cache[3] = ($event) => showPicker.value = false)
109
110
  }), null, 16, ["modelValue"])
@@ -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.10",
3
+ "version": "1.0.12",
4
4
  "main": "lib/packages/mobile/index.js",
5
5
  "module": "es/packages/mobile/index.mjs",
6
6
  "files": [