@fecp/mobile 1.0.21 → 1.0.22

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.
Files changed (21) hide show
  1. package/es/packages/mobile/src/components/form/checkbox/Checkbox.vue.mjs +2 -2
  2. package/es/packages/mobile/src/components/form/checkboxGroup/CheckboxGroup.vue.mjs +2 -2
  3. package/es/packages/mobile/src/components/form/fieldCascaderPicker/fieldCascaderPicker.vue.mjs +7 -7
  4. package/es/packages/mobile/src/components/form/fieldCheckbox/FieldCheckbox.vue.mjs +1 -0
  5. package/es/packages/mobile/src/components/form/fieldDatePicker/FieldDatePicker.vue.mjs +6 -1
  6. package/es/packages/mobile/src/components/form/fieldPicker/FieldPicker.vue.mjs +4 -4
  7. package/es/packages/mobile/src/components/form/fieldRadio/FieldRadio.vue.mjs +1 -0
  8. package/es/packages/mobile/src/components/form/fieldTimePicker/FieldTimePicker.vue.mjs +6 -1
  9. package/es/packages/mobile/src/components/form/formItem/FormItem.vue.mjs +18 -20
  10. package/es/packages/mobile/src/components/form/radioGroup/RadioGroup.vue.mjs +2 -2
  11. package/lib/packages/mobile/src/components/form/checkbox/Checkbox.vue.js +1 -1
  12. package/lib/packages/mobile/src/components/form/checkboxGroup/CheckboxGroup.vue.js +1 -1
  13. package/lib/packages/mobile/src/components/form/fieldCascaderPicker/fieldCascaderPicker.vue.js +7 -7
  14. package/lib/packages/mobile/src/components/form/fieldCheckbox/FieldCheckbox.vue.js +1 -0
  15. package/lib/packages/mobile/src/components/form/fieldDatePicker/FieldDatePicker.vue.js +6 -1
  16. package/lib/packages/mobile/src/components/form/fieldPicker/FieldPicker.vue.js +4 -4
  17. package/lib/packages/mobile/src/components/form/fieldRadio/FieldRadio.vue.js +1 -0
  18. package/lib/packages/mobile/src/components/form/fieldTimePicker/FieldTimePicker.vue.js +6 -1
  19. package/lib/packages/mobile/src/components/form/formItem/FormItem.vue.js +18 -20
  20. package/lib/packages/mobile/src/components/form/radioGroup/RadioGroup.vue.js +1 -1
  21. package/package.json +1 -1
@@ -3,7 +3,7 @@
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- import { createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createTextVNode, toDisplayString } from "vue";
6
+ import { createBlock, openBlock, mergeProps, withCtx, createTextVNode, toDisplayString } from "vue";
7
7
  import { Checkbox } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox/index.mjs";
8
8
  const _sfc_main = {
9
9
  __name: "Checkbox",
@@ -16,7 +16,7 @@ const _sfc_main = {
16
16
  setup(__props) {
17
17
  return (_ctx, _cache) => {
18
18
  const _component_van_checkbox = Checkbox;
19
- return openBlock(), createBlock(_component_van_checkbox, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
19
+ return openBlock(), createBlock(_component_van_checkbox, mergeProps(_ctx.$attrs, { shape: "square" }), {
20
20
  default: withCtx(() => [
21
21
  createTextVNode(toDisplayString(__props.label), 1)
22
22
  ]),
@@ -3,7 +3,7 @@
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- import { createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
6
+ import { createBlock, openBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
7
7
  import { CheckboxGroup } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox-group/index.mjs";
8
8
  import { Checkbox } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox/index.mjs";
9
9
  const _sfc_main = {
@@ -26,7 +26,7 @@ const _sfc_main = {
26
26
  return (_ctx, _cache) => {
27
27
  const _component_van_checkbox = Checkbox;
28
28
  const _component_van_checkbox_group = CheckboxGroup;
29
- return openBlock(), createBlock(_component_van_checkbox_group, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
29
+ return openBlock(), createBlock(_component_van_checkbox_group, mergeProps(_ctx.$attrs, { shape: "square" }), {
30
30
  default: withCtx(() => [
31
31
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (item) => {
32
32
  return openBlock(), createBlock(_component_van_checkbox, {
@@ -16,11 +16,11 @@ import { Popup } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.
16
16
  const _sfc_main = {
17
17
  __name: "fieldCascaderPicker",
18
18
  props: {
19
- options: {
19
+ treeOptions: {
20
20
  type: Array,
21
21
  default: []
22
22
  },
23
- fieldNames: {
23
+ treeOptionsFieldNames: {
24
24
  type: Object,
25
25
  default: {
26
26
  text: "text",
@@ -80,15 +80,15 @@ const _sfc_main = {
80
80
  () => props.modelValue,
81
81
  (value) => {
82
82
  fieldTextValue.value = getDisplayValue(
83
- props.options,
84
- props.fieldNames,
83
+ props.treeOptions,
84
+ props.treeOptionsFieldNames,
85
85
  value
86
86
  );
87
87
  },
88
88
  { immediate: true }
89
89
  );
90
90
  const onFinish = ({ selectedOptions }) => {
91
- pickerValue.value = selectedOptions.map((option) => option[props.fieldNames.value]).join("/");
91
+ pickerValue.value = selectedOptions.map((option) => option[props.treeOptionsFieldNames.value]).join("/");
92
92
  showPicker.value = false;
93
93
  };
94
94
  return (_ctx, _cache) => {
@@ -112,8 +112,8 @@ const _sfc_main = {
112
112
  createVNode(_component_van_cascader, mergeProps(_ctx.$attrs, {
113
113
  modelValue: unref(pickerValue),
114
114
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(pickerValue) ? pickerValue.value = $event : null),
115
- options: __props.options,
116
- "field-names": _ctx.columnsFieldNames,
115
+ options: __props.treeOptions,
116
+ "field-names": __props.treeOptionsFieldNames,
117
117
  placeholder: "请选择",
118
118
  onFinish,
119
119
  onClose: _cache[1] || (_cache[1] = ($event) => showPicker.value = false)
@@ -11,6 +11,7 @@ const _sfc_main = {
11
11
  },
12
12
  emits: ["update:modelValue"],
13
13
  setup(__props, { emit: __emit }) {
14
+ debugger;
14
15
  const props = __props;
15
16
  const emit = __emit;
16
17
  const compValue = computed({
@@ -31,6 +31,10 @@ const _sfc_main = {
31
31
  type: String,
32
32
  default: "YYYYMMDD"
33
33
  },
34
+ dateColumnsType: {
35
+ type: Array,
36
+ default: ["year", "month", "day"]
37
+ },
34
38
  readonly: false,
35
39
  "is-link": false
36
40
  },
@@ -92,8 +96,9 @@ const _sfc_main = {
92
96
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(pickerValue) ? pickerValue.value = $event : null),
93
97
  readonly: false,
94
98
  onConfirm,
99
+ columnsType: __props.dateColumnsType,
95
100
  onCancel: _cache[1] || (_cache[1] = ($event) => showPicker.value = false)
96
- }), null, 16, ["modelValue"])
101
+ }), null, 16, ["modelValue", "columnsType"])
97
102
  ]),
98
103
  _: 1
99
104
  }, 8, ["show"])
@@ -22,7 +22,7 @@ const _sfc_main = {
22
22
  type: Array,
23
23
  default: []
24
24
  },
25
- fieldNames: {
25
+ treeOptionsFieldNames: {
26
26
  type: Object,
27
27
  default: {
28
28
  text: "text",
@@ -58,9 +58,9 @@ const _sfc_main = {
58
58
  return;
59
59
  }
60
60
  const optionItem = props.options.find(
61
- (item) => item[props.fieldNames.value] == value
61
+ (item) => item[props.treeOptionsFieldNames.value] == value
62
62
  );
63
- fieldTextValue.value = optionItem == null ? void 0 : optionItem[props.fieldNames.text];
63
+ fieldTextValue.value = optionItem == null ? void 0 : optionItem[props.treeOptionsFieldNames.text];
64
64
  },
65
65
  { immediate: true }
66
66
  );
@@ -88,7 +88,7 @@ const _sfc_main = {
88
88
  default: withCtx(() => [
89
89
  createVNode(_component_van_picker, mergeProps(_ctx.$attrs, {
90
90
  columns: __props.options,
91
- "columns-field-names": __props.fieldNames,
91
+ "columns-field-names": __props.treeOptionsFieldNames,
92
92
  "model-value": unref(pickerValue),
93
93
  readonly: false,
94
94
  onConfirm,
@@ -4,6 +4,7 @@ import { MobileRadioGroup } from "../radioGroup/index.mjs";
4
4
  const _sfc_main = {
5
5
  __name: "FieldRadio",
6
6
  setup(__props) {
7
+ debugger;
7
8
  return (_ctx, _cache) => {
8
9
  return openBlock(), createBlock(unref(MobileField), normalizeProps(guardReactiveProps(_ctx.$attrs)), {
9
10
  input: withCtx(() => [
@@ -31,6 +31,10 @@ const _sfc_main = {
31
31
  type: String,
32
32
  default: "HH:mm:ss"
33
33
  },
34
+ timeColumnsType: {
35
+ type: Array,
36
+ default: ["hour", "minute", "second"]
37
+ },
34
38
  readonly: false,
35
39
  "is-link": false
36
40
  },
@@ -91,9 +95,10 @@ const _sfc_main = {
91
95
  modelValue: unref(pickerValue),
92
96
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(pickerValue) ? pickerValue.value = $event : null),
93
97
  readonly: false,
98
+ columnsType: __props.timeColumnsType,
94
99
  onConfirm,
95
100
  onCancel: _cache[1] || (_cache[1] = ($event) => showPicker.value = false)
96
- }), null, 16, ["modelValue"])
101
+ }), null, 16, ["modelValue", "columnsType"])
97
102
  ]),
98
103
  _: 1
99
104
  }, 8, ["show"])
@@ -12,26 +12,24 @@ const _sfc_main = {
12
12
  setup(__props, { emit: __emit }) {
13
13
  const props = __props;
14
14
  const formItem = computed(() => {
15
- return defineAsyncComponent(() => {
16
- switch (props.fieldType) {
17
- case "text":
18
- return import("../field/index.mjs");
19
- case "picker":
20
- return import("../fieldPicker/index.mjs");
21
- case "cascader":
22
- return import("../fieldCascaderPicker/index.mjs");
23
- case "calendar":
24
- return import("../fieldCalendarPicker/index.mjs");
25
- case "date":
26
- return import("../fieldDatePicker/index.mjs");
27
- case "time":
28
- return import("../fieldTimePicker/index.mjs");
29
- case "radio":
30
- return import("../fieldRadio/index.mjs");
31
- case "checkbox":
32
- return import("../fieldCheckbox/index.mjs");
33
- }
34
- });
15
+ switch (props.fieldType) {
16
+ case "text":
17
+ return defineAsyncComponent(() => import("../field/index.mjs"));
18
+ case "picker":
19
+ return defineAsyncComponent(() => import("../fieldPicker/index.mjs"));
20
+ case "cascader":
21
+ return defineAsyncComponent(() => import("../fieldCascaderPicker/index.mjs"));
22
+ case "calendar":
23
+ return defineAsyncComponent(() => import("../fieldCalendarPicker/index.mjs"));
24
+ case "date":
25
+ return defineAsyncComponent(() => import("../fieldDatePicker/index.mjs"));
26
+ case "time":
27
+ return defineAsyncComponent(() => import("../fieldTimePicker/index.mjs"));
28
+ case "radio":
29
+ return defineAsyncComponent(() => import("../fieldRadio/index.mjs"));
30
+ case "checkbox":
31
+ return defineAsyncComponent(() => import("../fieldCheckbox/index.mjs"));
32
+ }
35
33
  });
36
34
  const formData = inject("formData");
37
35
  const attrs = useAttrs();
@@ -4,7 +4,7 @@
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- import { createBlock, openBlock, normalizeProps, guardReactiveProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
7
+ import { createBlock, openBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
8
8
  import { RadioGroup } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/radio-group/index.mjs";
9
9
  import { Radio } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/radio/index.mjs";
10
10
  const _sfc_main = {
@@ -27,7 +27,7 @@ const _sfc_main = {
27
27
  return (_ctx, _cache) => {
28
28
  const _component_van_radio = Radio;
29
29
  const _component_van_radio_group = RadioGroup;
30
- return openBlock(), createBlock(_component_van_radio_group, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
30
+ return openBlock(), createBlock(_component_van_radio_group, mergeProps(_ctx.$attrs, { shape: "round" }), {
31
31
  default: withCtx(() => [
32
32
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (item) => {
33
33
  return openBlock(), createBlock(_component_van_radio, {
@@ -18,7 +18,7 @@ const _sfc_main = {
18
18
  setup(__props) {
19
19
  return (_ctx, _cache) => {
20
20
  const _component_van_checkbox = index.Checkbox;
21
- return vue.openBlock(), vue.createBlock(_component_van_checkbox, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), {
21
+ return vue.openBlock(), vue.createBlock(_component_van_checkbox, vue.mergeProps(_ctx.$attrs, { shape: "square" }), {
22
22
  default: vue.withCtx(() => [
23
23
  vue.createTextVNode(vue.toDisplayString(__props.label), 1)
24
24
  ]),
@@ -28,7 +28,7 @@ const _sfc_main = {
28
28
  return (_ctx, _cache) => {
29
29
  const _component_van_checkbox = index$1.Checkbox;
30
30
  const _component_van_checkbox_group = index.CheckboxGroup;
31
- return vue.openBlock(), vue.createBlock(_component_van_checkbox_group, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), {
31
+ return vue.openBlock(), vue.createBlock(_component_van_checkbox_group, vue.mergeProps(_ctx.$attrs, { shape: "square" }), {
32
32
  default: vue.withCtx(() => [
33
33
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (item) => {
34
34
  return vue.openBlock(), vue.createBlock(_component_van_checkbox, {
@@ -18,11 +18,11 @@ const index$1 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.
18
18
  const _sfc_main = {
19
19
  __name: "fieldCascaderPicker",
20
20
  props: {
21
- options: {
21
+ treeOptions: {
22
22
  type: Array,
23
23
  default: []
24
24
  },
25
- fieldNames: {
25
+ treeOptionsFieldNames: {
26
26
  type: Object,
27
27
  default: {
28
28
  text: "text",
@@ -82,15 +82,15 @@ const _sfc_main = {
82
82
  () => props.modelValue,
83
83
  (value) => {
84
84
  fieldTextValue.value = getDisplayValue(
85
- props.options,
86
- props.fieldNames,
85
+ props.treeOptions,
86
+ props.treeOptionsFieldNames,
87
87
  value
88
88
  );
89
89
  },
90
90
  { immediate: true }
91
91
  );
92
92
  const onFinish = ({ selectedOptions }) => {
93
- pickerValue.value = selectedOptions.map((option) => option[props.fieldNames.value]).join("/");
93
+ pickerValue.value = selectedOptions.map((option) => option[props.treeOptionsFieldNames.value]).join("/");
94
94
  showPicker.value = false;
95
95
  };
96
96
  return (_ctx, _cache) => {
@@ -114,8 +114,8 @@ const _sfc_main = {
114
114
  vue.createVNode(_component_van_cascader, vue.mergeProps(_ctx.$attrs, {
115
115
  modelValue: vue.unref(pickerValue),
116
116
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(pickerValue) ? pickerValue.value = $event : null),
117
- options: __props.options,
118
- "field-names": _ctx.columnsFieldNames,
117
+ options: __props.treeOptions,
118
+ "field-names": __props.treeOptionsFieldNames,
119
119
  placeholder: "请选择",
120
120
  onFinish,
121
121
  onClose: _cache[1] || (_cache[1] = ($event) => showPicker.value = false)
@@ -13,6 +13,7 @@ const _sfc_main = {
13
13
  },
14
14
  emits: ["update:modelValue"],
15
15
  setup(__props, { emit: __emit }) {
16
+ debugger;
16
17
  const props = __props;
17
18
  const emit = __emit;
18
19
  const compValue = vue.computed({
@@ -33,6 +33,10 @@ const _sfc_main = {
33
33
  type: String,
34
34
  default: "YYYYMMDD"
35
35
  },
36
+ dateColumnsType: {
37
+ type: Array,
38
+ default: ["year", "month", "day"]
39
+ },
36
40
  readonly: false,
37
41
  "is-link": false
38
42
  },
@@ -94,8 +98,9 @@ const _sfc_main = {
94
98
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(pickerValue) ? pickerValue.value = $event : null),
95
99
  readonly: false,
96
100
  onConfirm,
101
+ columnsType: __props.dateColumnsType,
97
102
  onCancel: _cache[1] || (_cache[1] = ($event) => showPicker.value = false)
98
- }), null, 16, ["modelValue"])
103
+ }), null, 16, ["modelValue", "columnsType"])
99
104
  ]),
100
105
  _: 1
101
106
  }, 8, ["show"])
@@ -24,7 +24,7 @@ const _sfc_main = {
24
24
  type: Array,
25
25
  default: []
26
26
  },
27
- fieldNames: {
27
+ treeOptionsFieldNames: {
28
28
  type: Object,
29
29
  default: {
30
30
  text: "text",
@@ -60,9 +60,9 @@ const _sfc_main = {
60
60
  return;
61
61
  }
62
62
  const optionItem = props.options.find(
63
- (item) => item[props.fieldNames.value] == value
63
+ (item) => item[props.treeOptionsFieldNames.value] == value
64
64
  );
65
- fieldTextValue.value = optionItem == null ? void 0 : optionItem[props.fieldNames.text];
65
+ fieldTextValue.value = optionItem == null ? void 0 : optionItem[props.treeOptionsFieldNames.text];
66
66
  },
67
67
  { immediate: true }
68
68
  );
@@ -90,7 +90,7 @@ const _sfc_main = {
90
90
  default: vue.withCtx(() => [
91
91
  vue.createVNode(_component_van_picker, vue.mergeProps(_ctx.$attrs, {
92
92
  columns: __props.options,
93
- "columns-field-names": __props.fieldNames,
93
+ "columns-field-names": __props.treeOptionsFieldNames,
94
94
  "model-value": vue.unref(pickerValue),
95
95
  readonly: false,
96
96
  onConfirm,
@@ -6,6 +6,7 @@ const index$1 = require("../radioGroup/index.js");
6
6
  const _sfc_main = {
7
7
  __name: "FieldRadio",
8
8
  setup(__props) {
9
+ debugger;
9
10
  return (_ctx, _cache) => {
10
11
  return vue.openBlock(), vue.createBlock(vue.unref(index.MobileField), vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), {
11
12
  input: vue.withCtx(() => [
@@ -33,6 +33,10 @@ const _sfc_main = {
33
33
  type: String,
34
34
  default: "HH:mm:ss"
35
35
  },
36
+ timeColumnsType: {
37
+ type: Array,
38
+ default: ["hour", "minute", "second"]
39
+ },
36
40
  readonly: false,
37
41
  "is-link": false
38
42
  },
@@ -93,9 +97,10 @@ const _sfc_main = {
93
97
  modelValue: vue.unref(pickerValue),
94
98
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(pickerValue) ? pickerValue.value = $event : null),
95
99
  readonly: false,
100
+ columnsType: __props.timeColumnsType,
96
101
  onConfirm,
97
102
  onCancel: _cache[1] || (_cache[1] = ($event) => showPicker.value = false)
98
- }), null, 16, ["modelValue"])
103
+ }), null, 16, ["modelValue", "columnsType"])
99
104
  ]),
100
105
  _: 1
101
106
  }, 8, ["show"])
@@ -14,26 +14,24 @@ const _sfc_main = {
14
14
  setup(__props, { emit: __emit }) {
15
15
  const props = __props;
16
16
  const formItem = vue.computed(() => {
17
- return vue.defineAsyncComponent(() => {
18
- switch (props.fieldType) {
19
- case "text":
20
- return Promise.resolve().then(() => require("../field/index.js"));
21
- case "picker":
22
- return Promise.resolve().then(() => require("../fieldPicker/index.js"));
23
- case "cascader":
24
- return Promise.resolve().then(() => require("../fieldCascaderPicker/index.js"));
25
- case "calendar":
26
- return Promise.resolve().then(() => require("../fieldCalendarPicker/index.js"));
27
- case "date":
28
- return Promise.resolve().then(() => require("../fieldDatePicker/index.js"));
29
- case "time":
30
- return Promise.resolve().then(() => require("../fieldTimePicker/index.js"));
31
- case "radio":
32
- return Promise.resolve().then(() => require("../fieldRadio/index.js"));
33
- case "checkbox":
34
- return Promise.resolve().then(() => require("../fieldCheckbox/index.js"));
35
- }
36
- });
17
+ switch (props.fieldType) {
18
+ case "text":
19
+ return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../field/index.js")));
20
+ case "picker":
21
+ return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldPicker/index.js")));
22
+ case "cascader":
23
+ return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldCascaderPicker/index.js")));
24
+ case "calendar":
25
+ return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldCalendarPicker/index.js")));
26
+ case "date":
27
+ return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldDatePicker/index.js")));
28
+ case "time":
29
+ return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldTimePicker/index.js")));
30
+ case "radio":
31
+ return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldRadio/index.js")));
32
+ case "checkbox":
33
+ return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldCheckbox/index.js")));
34
+ }
37
35
  });
38
36
  const formData = vue.inject("formData");
39
37
  const attrs = vue.useAttrs();
@@ -29,7 +29,7 @@ const _sfc_main = {
29
29
  return (_ctx, _cache) => {
30
30
  const _component_van_radio = index$1.Radio;
31
31
  const _component_van_radio_group = index.RadioGroup;
32
- return vue.openBlock(), vue.createBlock(_component_van_radio_group, vue.normalizeProps(vue.guardReactiveProps(_ctx.$attrs)), {
32
+ return vue.openBlock(), vue.createBlock(_component_van_radio_group, vue.mergeProps(_ctx.$attrs, { shape: "round" }), {
33
33
  default: vue.withCtx(() => [
34
34
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (item) => {
35
35
  return vue.openBlock(), vue.createBlock(_component_van_radio, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/mobile",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "main": "lib/packages/mobile/index.js",
5
5
  "module": "es/packages/mobile/index.mjs",
6
6
  "files": [