@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.
- package/es/packages/mobile/src/components/form/fieldCalendarPicker/FieldCalendarPicker.vue.mjs +1 -0
- package/es/packages/mobile/src/components/form/fieldDatePicker/FieldDatePicker.vue.mjs +1 -0
- package/es/packages/mobile/src/components/form/fieldPicker/FieldPicker.vue.mjs +1 -0
- package/es/packages/mobile/src/components/form/fieldTimePicker/FieldTimePicker.vue.mjs +1 -0
- package/es/packages/mobile/src/components/form/form/Form.vue.mjs +31 -18
- package/es/packages/mobile/src/components/form/form/index.mjs +2 -2
- package/lib/packages/mobile/src/components/form/fieldCalendarPicker/FieldCalendarPicker.vue.js +1 -0
- package/lib/packages/mobile/src/components/form/fieldDatePicker/FieldDatePicker.vue.js +1 -0
- package/lib/packages/mobile/src/components/form/fieldPicker/FieldPicker.vue.js +1 -0
- package/lib/packages/mobile/src/components/form/fieldTimePicker/FieldTimePicker.vue.js +1 -0
- package/lib/packages/mobile/src/components/form/form/Form.vue.js +30 -17
- package/package.json +1 -1
|
@@ -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
|
-
|
|
3
|
-
import
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
34
|
+
_sfc_main as default
|
|
22
35
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _sfc_main from "./Form.vue.mjs";
|
|
2
2
|
import install from "../../../utils/install.mjs";
|
|
3
|
-
const MobileForm = install.withInstall("MobileForm",
|
|
3
|
+
const MobileForm = install.withInstall("MobileForm", _sfc_main);
|
|
4
4
|
export {
|
|
5
5
|
MobileForm,
|
|
6
6
|
MobileForm as default
|
|
@@ -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
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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;
|