@fecp/mobile 1.0.58 → 1.0.59
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/node_modules/.pnpm/@vant_area-data@2.0.0/node_modules/@vant/area-data/dist/index.esm.mjs +3924 -0
- package/es/packages/mobile/index.mjs +2 -0
- package/es/packages/mobile/src/components/all.mjs +2 -0
- package/es/packages/mobile/src/components/form/fieldArea/FieldArea.vue.mjs +159 -0
- package/es/packages/mobile/src/components/form/fieldArea/index.mjs +10 -0
- package/es/packages/mobile/src/components/form/formItem/FormItem.vue.mjs +2 -0
- package/lib/node_modules/.pnpm/@vant_area-data@2.0.0/node_modules/@vant/area-data/dist/index.esm.js +3924 -0
- package/lib/packages/mobile/index.js +46 -44
- package/lib/packages/mobile/src/components/all.js +46 -44
- package/lib/packages/mobile/src/components/form/fieldArea/FieldArea.vue.js +159 -0
- package/lib/packages/mobile/src/components/form/fieldArea/index.js +10 -0
- package/lib/packages/mobile/src/components/form/formItem/FormItem.vue.js +2 -0
- package/package.json +1 -1
|
@@ -39,28 +39,29 @@ const index$x = require("./src/components/form/fieldTimePicker/index.js");
|
|
|
39
39
|
const index$y = require("./src/components/form/fieldCascaderPicker/index.js");
|
|
40
40
|
const index$z = require("./src/components/form/fieldCheckbox/index.js");
|
|
41
41
|
const index$A = require("./src/components/form/fieldRadio/index.js");
|
|
42
|
-
const index$B = require("./src/components/form/
|
|
43
|
-
const index$C = require("./src/components/form/
|
|
44
|
-
const index$D = require("./src/components/form/
|
|
45
|
-
const index$E = require("./src/components/form/
|
|
46
|
-
const index$F = require("./src/components/form/
|
|
47
|
-
const index$G = require("./src/components/form/
|
|
48
|
-
const index$H = require("./src/components/form/
|
|
49
|
-
const index$I = require("./src/components/
|
|
50
|
-
const index$J = require("./src/components/navigation/
|
|
51
|
-
const index$K = require("./src/components/navigation/
|
|
52
|
-
const index$L = require("./src/components/navigation/
|
|
53
|
-
const index$M = require("./src/components/navigation/
|
|
54
|
-
const index$N = require("./src/components/navigation/
|
|
55
|
-
const index$O = require("./src/components/navigation/
|
|
56
|
-
const index$P = require("./src/components/navigation/
|
|
57
|
-
const index$Q = require("./src/components/navigation/
|
|
58
|
-
const index$R = require("./src/components/navigation/
|
|
59
|
-
const index$S = require("./src/components/navigation/
|
|
60
|
-
const index$T = require("./src/components/navigation/
|
|
61
|
-
const index$U = require("./src/components/navigation/
|
|
62
|
-
const index$V = require("./src/components/navigation/
|
|
63
|
-
const index$W = require("./src/components/navigation/
|
|
42
|
+
const index$B = require("./src/components/form/fieldArea/index.js");
|
|
43
|
+
const index$C = require("./src/components/form/form/index.js");
|
|
44
|
+
const index$D = require("./src/components/form/formItem/index.js");
|
|
45
|
+
const index$E = require("./src/components/form/radioGroup/index.js");
|
|
46
|
+
const index$F = require("./src/components/form/search/index.js");
|
|
47
|
+
const index$G = require("./src/components/form/uploader/index.js");
|
|
48
|
+
const index$H = require("./src/components/form/fieldUploader/index.js");
|
|
49
|
+
const index$I = require("./src/components/form/submitButton/index.js");
|
|
50
|
+
const index$J = require("./src/components/navigation/actionBar/index.js");
|
|
51
|
+
const index$K = require("./src/components/navigation/backTop/index.js");
|
|
52
|
+
const index$L = require("./src/components/navigation/grid/index.js");
|
|
53
|
+
const index$M = require("./src/components/navigation/gridItem/index.js");
|
|
54
|
+
const index$N = require("./src/components/navigation/indexBar/index.js");
|
|
55
|
+
const index$O = require("./src/components/navigation/indexAnchor/index.js");
|
|
56
|
+
const index$P = require("./src/components/navigation/navBar/index.js");
|
|
57
|
+
const index$Q = require("./src/components/navigation/pagination/index.js");
|
|
58
|
+
const index$R = require("./src/components/navigation/sidebar/index.js");
|
|
59
|
+
const index$S = require("./src/components/navigation/sidebarItem/index.js");
|
|
60
|
+
const index$T = require("./src/components/navigation/tab/index.js");
|
|
61
|
+
const index$U = require("./src/components/navigation/tabs/index.js");
|
|
62
|
+
const index$V = require("./src/components/navigation/tabbar/index.js");
|
|
63
|
+
const index$W = require("./src/components/navigation/tabbarItem/index.js");
|
|
64
|
+
const index$X = require("./src/components/navigation/treeSelect/index.js");
|
|
64
65
|
const functionCall = require("../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/dialog/function-call.js");
|
|
65
66
|
const functionCall$1 = require("../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/image-preview/function-call.js");
|
|
66
67
|
const functionCall$2 = require("../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/notify/function-call.js");
|
|
@@ -108,28 +109,29 @@ exports.MobileFieldTimePicker = index$x.MobileFieldTimePicker;
|
|
|
108
109
|
exports.MobileFieldCascaderPicker = index$y.MobileFieldCascaderPicker;
|
|
109
110
|
exports.MobileFieldCheckbox = index$z.MobileFieldCheckbox;
|
|
110
111
|
exports.MobileFieldRadio = index$A.MobileFieldRadio;
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
113
|
-
exports.
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
119
|
-
exports.
|
|
120
|
-
exports.
|
|
121
|
-
exports.
|
|
122
|
-
exports.
|
|
123
|
-
exports.
|
|
124
|
-
exports.
|
|
125
|
-
exports.
|
|
126
|
-
exports.
|
|
127
|
-
exports.
|
|
128
|
-
exports.
|
|
129
|
-
exports.
|
|
130
|
-
exports.
|
|
131
|
-
exports.
|
|
132
|
-
exports.
|
|
112
|
+
exports.MobileFieldArea = index$B.MobileFieldArea;
|
|
113
|
+
exports.MobileForm = index$C.MobileForm;
|
|
114
|
+
exports.MobileFormItem = index$D.MobileFormItem;
|
|
115
|
+
exports.MobileRadioGroup = index$E.MobileRadioGroup;
|
|
116
|
+
exports.MobileSearch = index$F.MobileSearch;
|
|
117
|
+
exports.MobileUploader = index$G.MobileUploader;
|
|
118
|
+
exports.MobileFieldUploader = index$H.MobileFieldUploader;
|
|
119
|
+
exports.MobileSubmitButton = index$I.MobileSubmitButton;
|
|
120
|
+
exports.MobileActionBar = index$J.MobileActionBar;
|
|
121
|
+
exports.MobileBackTop = index$K.MobileBackTop;
|
|
122
|
+
exports.MobileGrid = index$L.MobileGrid;
|
|
123
|
+
exports.MobileGridItem = index$M.MobileGridItem;
|
|
124
|
+
exports.MobileIndexBar = index$N.MobileIndexBar;
|
|
125
|
+
exports.MobileIndexAnchor = index$O.MobileIndexAnchor;
|
|
126
|
+
exports.MobileNavBar = index$P.MobileNavBar;
|
|
127
|
+
exports.MobilePagination = index$Q.MobilePagination;
|
|
128
|
+
exports.MobileSidebar = index$R.MobileSidebar;
|
|
129
|
+
exports.MobileSidebarItem = index$S.MobileSidebarItem;
|
|
130
|
+
exports.MobileTab = index$T.MobileTab;
|
|
131
|
+
exports.MobileTabs = index$U.MobileTabs;
|
|
132
|
+
exports.MobileTabbar = index$V.MobileTabbar;
|
|
133
|
+
exports.MobileTabbarItem = index$W.MobileTabbarItem;
|
|
134
|
+
exports.MobileTreeSelect = index$X.MobileTreeSelect;
|
|
133
135
|
exports.closeDialog = functionCall.closeDialog;
|
|
134
136
|
exports.showConfirmDialog = functionCall.showConfirmDialog;
|
|
135
137
|
exports.showDialog = functionCall.showDialog;
|
|
@@ -36,28 +36,29 @@ const index$w = require("./form/fieldTimePicker/index.js");
|
|
|
36
36
|
const index$x = require("./form/fieldCascaderPicker/index.js");
|
|
37
37
|
const index$y = require("./form/fieldCheckbox/index.js");
|
|
38
38
|
const index$z = require("./form/fieldRadio/index.js");
|
|
39
|
-
const index$A = require("./form/
|
|
40
|
-
const index$B = require("./form/
|
|
41
|
-
const index$C = require("./form/
|
|
42
|
-
const index$D = require("./form/
|
|
43
|
-
const index$E = require("./form/
|
|
44
|
-
const index$F = require("./form/
|
|
45
|
-
const index$G = require("./form/
|
|
46
|
-
const index$H = require("./
|
|
47
|
-
const index$I = require("./navigation/
|
|
48
|
-
const index$J = require("./navigation/
|
|
49
|
-
const index$K = require("./navigation/
|
|
50
|
-
const index$L = require("./navigation/
|
|
51
|
-
const index$M = require("./navigation/
|
|
52
|
-
const index$N = require("./navigation/
|
|
53
|
-
const index$O = require("./navigation/
|
|
54
|
-
const index$P = require("./navigation/
|
|
55
|
-
const index$Q = require("./navigation/
|
|
56
|
-
const index$R = require("./navigation/
|
|
57
|
-
const index$S = require("./navigation/
|
|
58
|
-
const index$T = require("./navigation/
|
|
59
|
-
const index$U = require("./navigation/
|
|
60
|
-
const index$V = require("./navigation/
|
|
39
|
+
const index$A = require("./form/fieldArea/index.js");
|
|
40
|
+
const index$B = require("./form/form/index.js");
|
|
41
|
+
const index$C = require("./form/formItem/index.js");
|
|
42
|
+
const index$D = require("./form/radioGroup/index.js");
|
|
43
|
+
const index$E = require("./form/search/index.js");
|
|
44
|
+
const index$F = require("./form/uploader/index.js");
|
|
45
|
+
const index$G = require("./form/fieldUploader/index.js");
|
|
46
|
+
const index$H = require("./form/submitButton/index.js");
|
|
47
|
+
const index$I = require("./navigation/actionBar/index.js");
|
|
48
|
+
const index$J = require("./navigation/backTop/index.js");
|
|
49
|
+
const index$K = require("./navigation/grid/index.js");
|
|
50
|
+
const index$L = require("./navigation/gridItem/index.js");
|
|
51
|
+
const index$M = require("./navigation/indexBar/index.js");
|
|
52
|
+
const index$N = require("./navigation/indexAnchor/index.js");
|
|
53
|
+
const index$O = require("./navigation/navBar/index.js");
|
|
54
|
+
const index$P = require("./navigation/pagination/index.js");
|
|
55
|
+
const index$Q = require("./navigation/sidebar/index.js");
|
|
56
|
+
const index$R = require("./navigation/sidebarItem/index.js");
|
|
57
|
+
const index$S = require("./navigation/tab/index.js");
|
|
58
|
+
const index$T = require("./navigation/tabs/index.js");
|
|
59
|
+
const index$U = require("./navigation/tabbar/index.js");
|
|
60
|
+
const index$V = require("./navigation/tabbarItem/index.js");
|
|
61
|
+
const index$W = require("./navigation/treeSelect/index.js");
|
|
61
62
|
exports.MobileButton = index.MobileButton;
|
|
62
63
|
exports.MobileCell = index$1.MobileCell;
|
|
63
64
|
exports.MobileCellGroup = index$2.MobileCellGroup;
|
|
@@ -94,25 +95,26 @@ exports.MobileFieldTimePicker = index$w.MobileFieldTimePicker;
|
|
|
94
95
|
exports.MobileFieldCascaderPicker = index$x.MobileFieldCascaderPicker;
|
|
95
96
|
exports.MobileFieldCheckbox = index$y.MobileFieldCheckbox;
|
|
96
97
|
exports.MobileFieldRadio = index$z.MobileFieldRadio;
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.
|
|
109
|
-
exports.
|
|
110
|
-
exports.
|
|
111
|
-
exports.
|
|
112
|
-
exports.
|
|
113
|
-
exports.
|
|
114
|
-
exports.
|
|
115
|
-
exports.
|
|
116
|
-
exports.
|
|
117
|
-
exports.
|
|
118
|
-
exports.
|
|
98
|
+
exports.MobileFieldArea = index$A.MobileFieldArea;
|
|
99
|
+
exports.MobileForm = index$B.MobileForm;
|
|
100
|
+
exports.MobileFormItem = index$C.MobileFormItem;
|
|
101
|
+
exports.MobileRadioGroup = index$D.MobileRadioGroup;
|
|
102
|
+
exports.MobileSearch = index$E.MobileSearch;
|
|
103
|
+
exports.MobileUploader = index$F.MobileUploader;
|
|
104
|
+
exports.MobileFieldUploader = index$G.MobileFieldUploader;
|
|
105
|
+
exports.MobileSubmitButton = index$H.MobileSubmitButton;
|
|
106
|
+
exports.MobileActionBar = index$I.MobileActionBar;
|
|
107
|
+
exports.MobileBackTop = index$J.MobileBackTop;
|
|
108
|
+
exports.MobileGrid = index$K.MobileGrid;
|
|
109
|
+
exports.MobileGridItem = index$L.MobileGridItem;
|
|
110
|
+
exports.MobileIndexBar = index$M.MobileIndexBar;
|
|
111
|
+
exports.MobileIndexAnchor = index$N.MobileIndexAnchor;
|
|
112
|
+
exports.MobileNavBar = index$O.MobileNavBar;
|
|
113
|
+
exports.MobilePagination = index$P.MobilePagination;
|
|
114
|
+
exports.MobileSidebar = index$Q.MobileSidebar;
|
|
115
|
+
exports.MobileSidebarItem = index$R.MobileSidebarItem;
|
|
116
|
+
exports.MobileTab = index$S.MobileTab;
|
|
117
|
+
exports.MobileTabs = index$T.MobileTabs;
|
|
118
|
+
exports.MobileTabbar = index$U.MobileTabbar;
|
|
119
|
+
exports.MobileTabbarItem = index$V.MobileTabbarItem;
|
|
120
|
+
exports.MobileTreeSelect = index$W.MobileTreeSelect;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
;/* empty css */
|
|
5
|
+
;/* empty css */
|
|
6
|
+
;/* empty css */
|
|
7
|
+
;/* empty css */
|
|
8
|
+
;/* empty css */
|
|
9
|
+
;/* empty css */
|
|
10
|
+
;/* empty css */
|
|
11
|
+
;/* empty css */
|
|
12
|
+
;/* empty css */
|
|
13
|
+
;/* empty css */
|
|
14
|
+
const vue = require("vue");
|
|
15
|
+
const index = require("../field/index.js");
|
|
16
|
+
const index_esm = require("../../../../../../node_modules/.pnpm/@vant_area-data@2.0.0/node_modules/@vant/area-data/dist/index.esm.js");
|
|
17
|
+
const index$1 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/popup/index.js");
|
|
18
|
+
const index$2 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/cascader/index.js");
|
|
19
|
+
const index$3 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/icon/index.js");
|
|
20
|
+
const _sfc_main = {
|
|
21
|
+
__name: "FieldArea",
|
|
22
|
+
props: {
|
|
23
|
+
treeOptionsFieldNames: {
|
|
24
|
+
type: Object,
|
|
25
|
+
default: {
|
|
26
|
+
text: "text",
|
|
27
|
+
value: "value",
|
|
28
|
+
children: "children"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
modelValue: {
|
|
32
|
+
type: String,
|
|
33
|
+
default: ""
|
|
34
|
+
},
|
|
35
|
+
disabled: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
39
|
+
readonly: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: false
|
|
42
|
+
},
|
|
43
|
+
"is-link": false
|
|
44
|
+
},
|
|
45
|
+
emits: ["update:modelValue"],
|
|
46
|
+
setup(__props, { emit: __emit }) {
|
|
47
|
+
const props = __props;
|
|
48
|
+
const finalOptions = vue.ref(index_esm.useCascaderAreaData());
|
|
49
|
+
const fieldTextValue = vue.ref("");
|
|
50
|
+
const showPicker = vue.ref(false);
|
|
51
|
+
const emit = __emit;
|
|
52
|
+
const pickerValue = vue.computed({
|
|
53
|
+
get: () => {
|
|
54
|
+
const value = props.modelValue.split("/");
|
|
55
|
+
return value[value.length - 1];
|
|
56
|
+
},
|
|
57
|
+
set: (val) => {
|
|
58
|
+
emit("update:modelValue", val);
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
function getDisplayValue(options, fieldNames, modelValue) {
|
|
62
|
+
const { text, value, children } = fieldNames;
|
|
63
|
+
const values = modelValue.split("/");
|
|
64
|
+
const displayValues = [];
|
|
65
|
+
function findValueInOptions(currentOptions, targetValue) {
|
|
66
|
+
for (const option of currentOptions) {
|
|
67
|
+
if (option[value] === targetValue) {
|
|
68
|
+
return option[text];
|
|
69
|
+
}
|
|
70
|
+
if (option[children] && option[children].length > 0) {
|
|
71
|
+
const result = findValueInOptions(option[children], targetValue);
|
|
72
|
+
if (result) {
|
|
73
|
+
return result;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return null;
|
|
78
|
+
}
|
|
79
|
+
for (const val of values) {
|
|
80
|
+
const displayValue = findValueInOptions(options, val);
|
|
81
|
+
if (displayValue) {
|
|
82
|
+
displayValues.push(displayValue);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return displayValues.join("/");
|
|
86
|
+
}
|
|
87
|
+
vue.watch(
|
|
88
|
+
[() => props.modelValue, finalOptions],
|
|
89
|
+
([value, options]) => {
|
|
90
|
+
if (!value) {
|
|
91
|
+
fieldTextValue.value = "";
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
fieldTextValue.value = getDisplayValue(
|
|
95
|
+
options,
|
|
96
|
+
props.treeOptionsFieldNames,
|
|
97
|
+
value
|
|
98
|
+
);
|
|
99
|
+
},
|
|
100
|
+
{ immediate: true }
|
|
101
|
+
);
|
|
102
|
+
const onFinish = ({ selectedOptions }) => {
|
|
103
|
+
pickerValue.value = selectedOptions.map((option) => option[props.treeOptionsFieldNames.value]).join("/");
|
|
104
|
+
showPicker.value = false;
|
|
105
|
+
};
|
|
106
|
+
return (_ctx, _cache) => {
|
|
107
|
+
const _component_van_icon = index$3.Icon;
|
|
108
|
+
const _component_van_cascader = index$2.Cascader;
|
|
109
|
+
const _component_van_popup = index$1.Popup;
|
|
110
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index.MobileField), vue.mergeProps(_ctx.$attrs, {
|
|
111
|
+
modelValue: vue.unref(fieldTextValue),
|
|
112
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(fieldTextValue) ? fieldTextValue.value = $event : null),
|
|
113
|
+
isLink: __props.readonly ? false : true,
|
|
114
|
+
readonly: "",
|
|
115
|
+
disabled: __props.disabled,
|
|
116
|
+
onClick: _cache[5] || (_cache[5] = () => {
|
|
117
|
+
if (!__props.readonly) {
|
|
118
|
+
showPicker.value = true;
|
|
119
|
+
}
|
|
120
|
+
})
|
|
121
|
+
}), vue.createSlots({
|
|
122
|
+
default: vue.withCtx(() => [
|
|
123
|
+
vue.createVNode(_component_van_popup, {
|
|
124
|
+
show: vue.unref(showPicker),
|
|
125
|
+
"onUpdate:show": _cache[3] || (_cache[3] = ($event) => vue.isRef(showPicker) ? showPicker.value = $event : null),
|
|
126
|
+
"destroy-on-close": "",
|
|
127
|
+
position: "bottom"
|
|
128
|
+
}, {
|
|
129
|
+
default: vue.withCtx(() => [
|
|
130
|
+
vue.createVNode(_component_van_cascader, vue.mergeProps(_ctx.$attrs, {
|
|
131
|
+
modelValue: vue.unref(pickerValue),
|
|
132
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(pickerValue) ? pickerValue.value = $event : null),
|
|
133
|
+
options: vue.unref(finalOptions),
|
|
134
|
+
placeholder: "请选择",
|
|
135
|
+
onFinish,
|
|
136
|
+
onClose: _cache[2] || (_cache[2] = ($event) => showPicker.value = false)
|
|
137
|
+
}), null, 16, ["modelValue", "options"])
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
}, 8, ["show"])
|
|
141
|
+
]),
|
|
142
|
+
_: 2
|
|
143
|
+
}, [
|
|
144
|
+
!__props.readonly && !__props.disabled && vue.unref(fieldTextValue) ? {
|
|
145
|
+
name: "right-icon",
|
|
146
|
+
fn: vue.withCtx(() => [
|
|
147
|
+
vue.createVNode(_component_van_icon, {
|
|
148
|
+
name: "clear",
|
|
149
|
+
class: "custom-close-icon",
|
|
150
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => pickerValue.value = null, ["stop"]))
|
|
151
|
+
})
|
|
152
|
+
]),
|
|
153
|
+
key: "0"
|
|
154
|
+
} : void 0
|
|
155
|
+
]), 1040, ["modelValue", "isLink", "disabled"]);
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const FieldArea = require("./FieldArea.vue.js");
|
|
4
|
+
const install = require("../../../utils/install.js");
|
|
5
|
+
const MobileFieldArea = install.default.withInstall(
|
|
6
|
+
"MobileFieldArea",
|
|
7
|
+
FieldArea.default
|
|
8
|
+
);
|
|
9
|
+
exports.MobileFieldArea = MobileFieldArea;
|
|
10
|
+
exports.default = MobileFieldArea;
|
|
@@ -42,6 +42,8 @@ const _sfc_main = {
|
|
|
42
42
|
return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldCheckbox/index.js")));
|
|
43
43
|
case "upload":
|
|
44
44
|
return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldUploader/index.js")));
|
|
45
|
+
case "area":
|
|
46
|
+
return vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../fieldArea/index.js")));
|
|
45
47
|
}
|
|
46
48
|
});
|
|
47
49
|
const formData = vue.inject("formData");
|