@fecp/mobile 1.0.18 → 1.0.19
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/mobile.css +5 -5
- package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker/Picker.mjs +2 -2
- package/es/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker-group/PickerGroup.mjs +3 -4
- package/es/packages/mobile/index.mjs +4 -12
- package/es/packages/mobile/src/components/all.mjs +4 -12
- package/es/packages/mobile/src/components/form/checkboxGroup/CheckboxGroup.vue.mjs +1 -1
- package/es/packages/mobile/src/components/form/field/Field.vue.mjs +17 -14
- package/es/packages/mobile/src/components/form/fieldCalendarPicker/FieldCalendarPicker.vue.mjs +23 -35
- package/es/packages/mobile/src/components/form/fieldCascaderPicker/fieldCascaderPicker.vue.mjs +33 -45
- package/es/packages/mobile/src/components/form/fieldCheckbox/FieldCheckbox.vue.mjs +43 -0
- package/es/packages/mobile/src/components/form/fieldCheckbox/index.mjs +10 -0
- package/es/packages/mobile/src/components/form/fieldDatePicker/FieldDatePicker.vue.mjs +31 -43
- package/es/packages/mobile/src/components/form/fieldPicker/FieldPicker.vue.mjs +31 -43
- package/es/packages/mobile/src/components/form/fieldRadio/FieldRadio.vue.mjs +19 -0
- package/es/packages/mobile/src/components/form/fieldRadio/index.mjs +10 -0
- package/es/packages/mobile/src/components/form/fieldTimePicker/FieldTimePicker.vue.mjs +30 -42
- package/es/packages/mobile/src/utils/formRule.mjs +49 -11
- package/lib/mobile.css +5 -5
- package/lib/node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/picker-group/PickerGroup.js +2 -3
- package/lib/packages/mobile/index.js +60 -68
- package/lib/packages/mobile/src/components/all.js +60 -68
- package/lib/packages/mobile/src/components/form/checkboxGroup/CheckboxGroup.vue.js +1 -1
- package/lib/packages/mobile/src/components/form/field/Field.vue.js +16 -13
- package/lib/packages/mobile/src/components/form/fieldCalendarPicker/FieldCalendarPicker.vue.js +22 -34
- package/lib/packages/mobile/src/components/form/fieldCascaderPicker/fieldCascaderPicker.vue.js +32 -44
- package/lib/packages/mobile/src/components/form/fieldCheckbox/FieldCheckbox.vue.js +43 -0
- package/lib/packages/mobile/src/components/form/fieldCheckbox/index.js +10 -0
- package/lib/packages/mobile/src/components/form/fieldDatePicker/FieldDatePicker.vue.js +30 -42
- package/lib/packages/mobile/src/components/form/fieldPicker/FieldPicker.vue.js +30 -42
- package/lib/packages/mobile/src/components/form/fieldRadio/FieldRadio.vue.js +19 -0
- package/lib/packages/mobile/src/components/form/fieldRadio/index.js +10 -0
- package/lib/packages/mobile/src/components/form/fieldTimePicker/FieldTimePicker.vue.js +29 -41
- package/lib/packages/mobile/src/utils/formRule.js +49 -11
- package/package.json +1 -1
|
@@ -26,40 +26,36 @@ const index$l = require("./src/components/feedback/floatingBubble/index.js");
|
|
|
26
26
|
const index$m = require("./src/components/feedback/loading/index.js");
|
|
27
27
|
const index$n = require("./src/components/feedback/pullRefresh/index.js");
|
|
28
28
|
const index$o = require("./src/components/feedback/swipeCell/index.js");
|
|
29
|
-
const index$p = require("./src/components/form/
|
|
30
|
-
const index$q = require("./src/components/form/
|
|
31
|
-
const index$r = require("./src/components/form/
|
|
32
|
-
const index$s = require("./src/components/form/
|
|
33
|
-
const index$t = require("./src/components/form/
|
|
34
|
-
const index$u = require("./src/components/form/
|
|
35
|
-
const index$v = require("./src/components/form/
|
|
36
|
-
const index$w = require("./src/components/form/
|
|
37
|
-
const index$x = require("./src/components/form/
|
|
38
|
-
const index$y = require("./src/components/form/
|
|
39
|
-
const index$z = require("./src/components/form/
|
|
40
|
-
const index$A = require("./src/components/form/
|
|
41
|
-
const index$B = require("./src/components/form/
|
|
42
|
-
const index$C = require("./src/components/form/
|
|
43
|
-
const index$D = require("./src/components/form/
|
|
44
|
-
const index$E = require("./src/components/
|
|
45
|
-
const index$F = require("./src/components/
|
|
46
|
-
const index$G = require("./src/components/
|
|
47
|
-
const index$H = require("./src/components/
|
|
48
|
-
const index$I = require("./src/components/navigation/
|
|
49
|
-
const index$J = require("./src/components/navigation/
|
|
50
|
-
const index$K = require("./src/components/navigation/
|
|
51
|
-
const index$L = require("./src/components/navigation/
|
|
52
|
-
const index$M = require("./src/components/navigation/
|
|
53
|
-
const index$N = require("./src/components/navigation/
|
|
54
|
-
const index$O = require("./src/components/navigation/
|
|
55
|
-
const index$P = require("./src/components/navigation/
|
|
56
|
-
const index$Q = require("./src/components/navigation/
|
|
57
|
-
const index$R = require("./src/components/navigation/
|
|
58
|
-
const index$S = require("./src/components/navigation/
|
|
59
|
-
const index$T = require("./src/components/navigation/tabs/index.js");
|
|
60
|
-
const index$U = require("./src/components/navigation/tabbar/index.js");
|
|
61
|
-
const index$V = require("./src/components/navigation/tabbarItem/index.js");
|
|
62
|
-
const index$W = require("./src/components/navigation/treeSelect/index.js");
|
|
29
|
+
const index$p = require("./src/components/form/checkbox/index.js");
|
|
30
|
+
const index$q = require("./src/components/form/checkboxGroup/index.js");
|
|
31
|
+
const index$r = require("./src/components/form/field/index.js");
|
|
32
|
+
const index$s = require("./src/components/form/fieldPicker/index.js");
|
|
33
|
+
const index$t = require("./src/components/form/fieldCalendarPicker/index.js");
|
|
34
|
+
const index$u = require("./src/components/form/fieldDatePicker/index.js");
|
|
35
|
+
const index$v = require("./src/components/form/fieldTimePicker/index.js");
|
|
36
|
+
const index$w = require("./src/components/form/fieldCascaderPicker/index.js");
|
|
37
|
+
const index$x = require("./src/components/form/fieldCheckbox/index.js");
|
|
38
|
+
const index$y = require("./src/components/form/fieldRadio/index.js");
|
|
39
|
+
const index$z = require("./src/components/form/form/index.js");
|
|
40
|
+
const index$A = require("./src/components/form/radioGroup/index.js");
|
|
41
|
+
const index$B = require("./src/components/form/search/index.js");
|
|
42
|
+
const index$C = require("./src/components/form/uploader/index.js");
|
|
43
|
+
const index$D = require("./src/components/form/submitButton/index.js");
|
|
44
|
+
const index$E = require("./src/components/navigation/actionBar/index.js");
|
|
45
|
+
const index$F = require("./src/components/navigation/backTop/index.js");
|
|
46
|
+
const index$G = require("./src/components/navigation/grid/index.js");
|
|
47
|
+
const index$H = require("./src/components/navigation/gridItem/index.js");
|
|
48
|
+
const index$I = require("./src/components/navigation/indexBar/index.js");
|
|
49
|
+
const index$J = require("./src/components/navigation/indexAnchor/index.js");
|
|
50
|
+
const index$K = require("./src/components/navigation/navBar/index.js");
|
|
51
|
+
const index$L = require("./src/components/navigation/pagination/index.js");
|
|
52
|
+
const index$M = require("./src/components/navigation/sidebar/index.js");
|
|
53
|
+
const index$N = require("./src/components/navigation/sidebarItem/index.js");
|
|
54
|
+
const index$O = require("./src/components/navigation/tab/index.js");
|
|
55
|
+
const index$P = require("./src/components/navigation/tabs/index.js");
|
|
56
|
+
const index$Q = require("./src/components/navigation/tabbar/index.js");
|
|
57
|
+
const index$R = require("./src/components/navigation/tabbarItem/index.js");
|
|
58
|
+
const index$S = require("./src/components/navigation/treeSelect/index.js");
|
|
63
59
|
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");
|
|
64
60
|
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");
|
|
65
61
|
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");
|
|
@@ -95,40 +91,36 @@ exports.MobileFloatingBubble = index$l.MobileFloatingBubble;
|
|
|
95
91
|
exports.MobileLoading = index$m.MobileLoading;
|
|
96
92
|
exports.MobilePullRefresh = index$n.MobilePullRefresh;
|
|
97
93
|
exports.MobileSwipeCell = index$o.MobileSwipeCell;
|
|
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.
|
|
119
|
-
exports.
|
|
120
|
-
exports.
|
|
121
|
-
exports.
|
|
122
|
-
exports.
|
|
123
|
-
exports.
|
|
124
|
-
exports.
|
|
125
|
-
exports.
|
|
126
|
-
exports.
|
|
127
|
-
exports.
|
|
128
|
-
exports.MobileTabs = index$T.MobileTabs;
|
|
129
|
-
exports.MobileTabbar = index$U.MobileTabbar;
|
|
130
|
-
exports.MobileTabbarItem = index$V.MobileTabbarItem;
|
|
131
|
-
exports.MobileTreeSelect = index$W.MobileTreeSelect;
|
|
94
|
+
exports.MobileCheckbox = index$p.MobileCheckbox;
|
|
95
|
+
exports.MobileCheckboxGroup = index$q.MobileCheckboxGroup;
|
|
96
|
+
exports.MobileField = index$r.MobileField;
|
|
97
|
+
exports.MobileFieldPicker = index$s.MobileFieldPicker;
|
|
98
|
+
exports.MobileFieldCalendarPicker = index$t.MobileFieldCalendarPicker;
|
|
99
|
+
exports.MobileFieldDatePicker = index$u.MobileFieldDatePicker;
|
|
100
|
+
exports.MobileFieldTimePicker = index$v.MobileFieldTimePicker;
|
|
101
|
+
exports.MobileFieldCascaderPicker = index$w.MobileFieldCascaderPicker;
|
|
102
|
+
exports.MobileFieldCheckbox = index$x.MobileFieldCheckbox;
|
|
103
|
+
exports.MobileFieldRadio = index$y.MobileFieldRadio;
|
|
104
|
+
exports.MobileForm = index$z.MobileForm;
|
|
105
|
+
exports.MobileRadioGroup = index$A.MobileRadioGroup;
|
|
106
|
+
exports.MobileSearch = index$B.MobileSearch;
|
|
107
|
+
exports.MobileUploader = index$C.MobileUploader;
|
|
108
|
+
exports.MobileSubmitButton = index$D.MobileSubmitButton;
|
|
109
|
+
exports.MobileActionBar = index$E.MobileActionBar;
|
|
110
|
+
exports.MobileBackTop = index$F.MobileBackTop;
|
|
111
|
+
exports.MobileGrid = index$G.MobileGrid;
|
|
112
|
+
exports.MobileGridItem = index$H.MobileGridItem;
|
|
113
|
+
exports.MobileIndexBar = index$I.MobileIndexBar;
|
|
114
|
+
exports.MobileIndexAnchor = index$J.MobileIndexAnchor;
|
|
115
|
+
exports.MobileNavBar = index$K.MobileNavBar;
|
|
116
|
+
exports.MobilePagination = index$L.MobilePagination;
|
|
117
|
+
exports.MobileSidebar = index$M.MobileSidebar;
|
|
118
|
+
exports.MobileSidebarItem = index$N.MobileSidebarItem;
|
|
119
|
+
exports.MobileTab = index$O.MobileTab;
|
|
120
|
+
exports.MobileTabs = index$P.MobileTabs;
|
|
121
|
+
exports.MobileTabbar = index$Q.MobileTabbar;
|
|
122
|
+
exports.MobileTabbarItem = index$R.MobileTabbarItem;
|
|
123
|
+
exports.MobileTreeSelect = index$S.MobileTreeSelect;
|
|
132
124
|
exports.closeDialog = functionCall.closeDialog;
|
|
133
125
|
exports.showConfirmDialog = functionCall.showConfirmDialog;
|
|
134
126
|
exports.showDialog = functionCall.showDialog;
|
|
@@ -24,40 +24,36 @@ const index$k = require("./feedback/floatingBubble/index.js");
|
|
|
24
24
|
const index$l = require("./feedback/loading/index.js");
|
|
25
25
|
const index$m = require("./feedback/pullRefresh/index.js");
|
|
26
26
|
const index$n = require("./feedback/swipeCell/index.js");
|
|
27
|
-
const index$o = require("./form/
|
|
28
|
-
const index$p = require("./form/
|
|
29
|
-
const index$q = require("./form/
|
|
30
|
-
const index$r = require("./form/
|
|
31
|
-
const index$s = require("./form/
|
|
32
|
-
const index$t = require("./form/
|
|
33
|
-
const index$u = require("./form/
|
|
34
|
-
const index$v = require("./form/
|
|
35
|
-
const index$w = require("./form/
|
|
36
|
-
const index$x = require("./form/
|
|
37
|
-
const index$y = require("./form/
|
|
38
|
-
const index$z = require("./form/
|
|
39
|
-
const index$A = require("./form/
|
|
40
|
-
const index$B = require("./form/
|
|
41
|
-
const index$C = require("./form/
|
|
42
|
-
const index$D = require("./
|
|
43
|
-
const index$E = require("./
|
|
44
|
-
const index$F = require("./
|
|
45
|
-
const index$G = require("./
|
|
46
|
-
const index$H = require("./navigation/
|
|
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/tabs/index.js");
|
|
58
|
-
const index$T = require("./navigation/tabbar/index.js");
|
|
59
|
-
const index$U = require("./navigation/tabbarItem/index.js");
|
|
60
|
-
const index$V = require("./navigation/treeSelect/index.js");
|
|
27
|
+
const index$o = require("./form/checkbox/index.js");
|
|
28
|
+
const index$p = require("./form/checkboxGroup/index.js");
|
|
29
|
+
const index$q = require("./form/field/index.js");
|
|
30
|
+
const index$r = require("./form/fieldPicker/index.js");
|
|
31
|
+
const index$s = require("./form/fieldCalendarPicker/index.js");
|
|
32
|
+
const index$t = require("./form/fieldDatePicker/index.js");
|
|
33
|
+
const index$u = require("./form/fieldTimePicker/index.js");
|
|
34
|
+
const index$v = require("./form/fieldCascaderPicker/index.js");
|
|
35
|
+
const index$w = require("./form/fieldCheckbox/index.js");
|
|
36
|
+
const index$x = require("./form/fieldRadio/index.js");
|
|
37
|
+
const index$y = require("./form/form/index.js");
|
|
38
|
+
const index$z = require("./form/radioGroup/index.js");
|
|
39
|
+
const index$A = require("./form/search/index.js");
|
|
40
|
+
const index$B = require("./form/uploader/index.js");
|
|
41
|
+
const index$C = require("./form/submitButton/index.js");
|
|
42
|
+
const index$D = require("./navigation/actionBar/index.js");
|
|
43
|
+
const index$E = require("./navigation/backTop/index.js");
|
|
44
|
+
const index$F = require("./navigation/grid/index.js");
|
|
45
|
+
const index$G = require("./navigation/gridItem/index.js");
|
|
46
|
+
const index$H = require("./navigation/indexBar/index.js");
|
|
47
|
+
const index$I = require("./navigation/indexAnchor/index.js");
|
|
48
|
+
const index$J = require("./navigation/navBar/index.js");
|
|
49
|
+
const index$K = require("./navigation/pagination/index.js");
|
|
50
|
+
const index$L = require("./navigation/sidebar/index.js");
|
|
51
|
+
const index$M = require("./navigation/sidebarItem/index.js");
|
|
52
|
+
const index$N = require("./navigation/tab/index.js");
|
|
53
|
+
const index$O = require("./navigation/tabs/index.js");
|
|
54
|
+
const index$P = require("./navigation/tabbar/index.js");
|
|
55
|
+
const index$Q = require("./navigation/tabbarItem/index.js");
|
|
56
|
+
const index$R = require("./navigation/treeSelect/index.js");
|
|
61
57
|
exports.MobileButton = index.MobileButton;
|
|
62
58
|
exports.MobileCell = index$1.MobileCell;
|
|
63
59
|
exports.MobileCellGroup = index$2.MobileCellGroup;
|
|
@@ -82,37 +78,33 @@ exports.MobileFloatingBubble = index$k.MobileFloatingBubble;
|
|
|
82
78
|
exports.MobileLoading = index$l.MobileLoading;
|
|
83
79
|
exports.MobilePullRefresh = index$m.MobilePullRefresh;
|
|
84
80
|
exports.MobileSwipeCell = index$n.MobileSwipeCell;
|
|
85
|
-
exports.
|
|
86
|
-
exports.
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
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.MobileTabs = index$S.MobileTabs;
|
|
116
|
-
exports.MobileTabbar = index$T.MobileTabbar;
|
|
117
|
-
exports.MobileTabbarItem = index$U.MobileTabbarItem;
|
|
118
|
-
exports.MobileTreeSelect = index$V.MobileTreeSelect;
|
|
81
|
+
exports.MobileCheckbox = index$o.MobileCheckbox;
|
|
82
|
+
exports.MobileCheckboxGroup = index$p.MobileCheckboxGroup;
|
|
83
|
+
exports.MobileField = index$q.MobileField;
|
|
84
|
+
exports.MobileFieldPicker = index$r.MobileFieldPicker;
|
|
85
|
+
exports.MobileFieldCalendarPicker = index$s.MobileFieldCalendarPicker;
|
|
86
|
+
exports.MobileFieldDatePicker = index$t.MobileFieldDatePicker;
|
|
87
|
+
exports.MobileFieldTimePicker = index$u.MobileFieldTimePicker;
|
|
88
|
+
exports.MobileFieldCascaderPicker = index$v.MobileFieldCascaderPicker;
|
|
89
|
+
exports.MobileFieldCheckbox = index$w.MobileFieldCheckbox;
|
|
90
|
+
exports.MobileFieldRadio = index$x.MobileFieldRadio;
|
|
91
|
+
exports.MobileForm = index$y.MobileForm;
|
|
92
|
+
exports.MobileRadioGroup = index$z.MobileRadioGroup;
|
|
93
|
+
exports.MobileSearch = index$A.MobileSearch;
|
|
94
|
+
exports.MobileUploader = index$B.MobileUploader;
|
|
95
|
+
exports.MobileSubmitButton = index$C.MobileSubmitButton;
|
|
96
|
+
exports.MobileActionBar = index$D.MobileActionBar;
|
|
97
|
+
exports.MobileBackTop = index$E.MobileBackTop;
|
|
98
|
+
exports.MobileGrid = index$F.MobileGrid;
|
|
99
|
+
exports.MobileGridItem = index$G.MobileGridItem;
|
|
100
|
+
exports.MobileIndexBar = index$H.MobileIndexBar;
|
|
101
|
+
exports.MobileIndexAnchor = index$I.MobileIndexAnchor;
|
|
102
|
+
exports.MobileNavBar = index$J.MobileNavBar;
|
|
103
|
+
exports.MobilePagination = index$K.MobilePagination;
|
|
104
|
+
exports.MobileSidebar = index$L.MobileSidebar;
|
|
105
|
+
exports.MobileSidebarItem = index$M.MobileSidebarItem;
|
|
106
|
+
exports.MobileTab = index$N.MobileTab;
|
|
107
|
+
exports.MobileTabs = index$O.MobileTabs;
|
|
108
|
+
exports.MobileTabbar = index$P.MobileTabbar;
|
|
109
|
+
exports.MobileTabbarItem = index$Q.MobileTabbarItem;
|
|
110
|
+
exports.MobileTreeSelect = index$R.MobileTreeSelect;
|
|
@@ -36,7 +36,7 @@ const _sfc_main = {
|
|
|
36
36
|
disabled: item[__props.fieldNames.disabled]
|
|
37
37
|
}, {
|
|
38
38
|
default: vue.withCtx(() => [
|
|
39
|
-
vue.createTextVNode(vue.toDisplayString(item[__props.fieldNames.text]), 1)
|
|
39
|
+
vue.createTextVNode(vue.toDisplayString(item[__props.fieldNames.disabled]) + " " + vue.toDisplayString(item[__props.fieldNames.text]), 1)
|
|
40
40
|
]),
|
|
41
41
|
_: 2
|
|
42
42
|
}, 1032, ["name", "disabled"]);
|
|
@@ -17,19 +17,22 @@ const _sfc_main = {
|
|
|
17
17
|
});
|
|
18
18
|
return (_ctx, _cache) => {
|
|
19
19
|
const _component_van_field = index.Field;
|
|
20
|
-
return vue.openBlock(), vue.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
vue.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
vue.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
21
|
+
vue.createVNode(_component_van_field, vue.mergeProps(_ctx.$attrs, {
|
|
22
|
+
rules: rules.value,
|
|
23
|
+
required: "auto"
|
|
24
|
+
}), vue.createSlots({ _: 2 }, [
|
|
25
|
+
vue.renderList(_ctx.$slots, (item, key) => {
|
|
26
|
+
return {
|
|
27
|
+
name: key,
|
|
28
|
+
fn: vue.withCtx(() => [
|
|
29
|
+
vue.renderSlot(_ctx.$slots, key)
|
|
30
|
+
])
|
|
31
|
+
};
|
|
32
|
+
})
|
|
33
|
+
]), 1040, ["rules"]),
|
|
34
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
35
|
+
], 64);
|
|
33
36
|
};
|
|
34
37
|
}
|
|
35
38
|
};
|
package/lib/packages/mobile/src/components/form/fieldCalendarPicker/FieldCalendarPicker.vue.js
CHANGED
|
@@ -16,11 +16,9 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
16
16
|
;/* empty css */
|
|
17
17
|
;/* empty css */
|
|
18
18
|
;/* empty css */
|
|
19
|
-
;/* empty css */
|
|
20
|
-
;/* empty css */
|
|
21
19
|
const vue = require("vue");
|
|
20
|
+
const index = require("../field/index.js");
|
|
22
21
|
const moment = require("../../../../../../node_modules/.pnpm/moment@2.30.1/node_modules/moment/dist/moment.js");
|
|
23
|
-
const index = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/field/index.js");
|
|
24
22
|
const index$1 = require("../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/calendar/index.js");
|
|
25
23
|
const _sfc_main = {
|
|
26
24
|
__name: "FieldCalendarPicker",
|
|
@@ -125,38 +123,28 @@ const _sfc_main = {
|
|
|
125
123
|
showCalendar.value = false;
|
|
126
124
|
};
|
|
127
125
|
return (_ctx, _cache) => {
|
|
128
|
-
const _component_van_field = index.Field;
|
|
129
126
|
const _component_van_calendar = index$1.Calendar;
|
|
130
|
-
return vue.openBlock(), vue.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
})
|
|
148
|
-
]),
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
"onUpdate:show": _cache[2] || (_cache[2] = ($event) => vue.isRef(showCalendar) ? showCalendar.value = $event : null),
|
|
152
|
-
"default-date": vue.unref(defaultDate),
|
|
153
|
-
title: __props.title,
|
|
154
|
-
type: __props.calendarType,
|
|
155
|
-
readonly: false,
|
|
156
|
-
"switch-mode": "year-month",
|
|
157
|
-
onConfirm
|
|
158
|
-
}), null, 16, ["show", "default-date", "title", "type"])
|
|
159
|
-
], 64);
|
|
127
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index.MobileField), vue.mergeProps(_ctx.$attrs, {
|
|
128
|
+
modelValue: vue.unref(fieldTextValue),
|
|
129
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(fieldTextValue) ? fieldTextValue.value = $event : null),
|
|
130
|
+
"is-link": "",
|
|
131
|
+
readonly: "",
|
|
132
|
+
onClick: _cache[2] || (_cache[2] = ($event) => showCalendar.value = true)
|
|
133
|
+
}), {
|
|
134
|
+
default: vue.withCtx(() => [
|
|
135
|
+
vue.createVNode(_component_van_calendar, vue.mergeProps(_ctx.$attrs, {
|
|
136
|
+
show: vue.unref(showCalendar),
|
|
137
|
+
"onUpdate:show": _cache[0] || (_cache[0] = ($event) => vue.isRef(showCalendar) ? showCalendar.value = $event : null),
|
|
138
|
+
"default-date": vue.unref(defaultDate),
|
|
139
|
+
title: __props.title,
|
|
140
|
+
type: __props.calendarType,
|
|
141
|
+
readonly: false,
|
|
142
|
+
"switch-mode": "year-month",
|
|
143
|
+
onConfirm
|
|
144
|
+
}), null, 16, ["show", "default-date", "title", "type"])
|
|
145
|
+
]),
|
|
146
|
+
_: 1
|
|
147
|
+
}, 16, ["modelValue"]);
|
|
160
148
|
};
|
|
161
149
|
}
|
|
162
150
|
};
|
package/lib/packages/mobile/src/components/form/fieldCascaderPicker/fieldCascaderPicker.vue.js
CHANGED
|
@@ -11,12 +11,10 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
11
11
|
;/* empty css */
|
|
12
12
|
;/* empty css */
|
|
13
13
|
;/* empty css */
|
|
14
|
-
;/* empty css */
|
|
15
|
-
;/* empty css */
|
|
16
14
|
const vue = require("vue");
|
|
17
|
-
const index = require("
|
|
18
|
-
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");
|
|
15
|
+
const index = require("../field/index.js");
|
|
19
16
|
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");
|
|
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");
|
|
20
18
|
const _sfc_main = {
|
|
21
19
|
__name: "fieldCascaderPicker",
|
|
22
20
|
props: {
|
|
@@ -94,48 +92,38 @@ const _sfc_main = {
|
|
|
94
92
|
showPicker.value = false;
|
|
95
93
|
};
|
|
96
94
|
return (_ctx, _cache) => {
|
|
97
|
-
const _component_van_field = index.Field;
|
|
98
95
|
const _component_van_cascader = index$2.Cascader;
|
|
99
96
|
const _component_van_popup = index$1.Popup;
|
|
100
|
-
return vue.openBlock(), vue.
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"field-names": _ctx.columnsFieldNames,
|
|
131
|
-
placeholder: "请选择",
|
|
132
|
-
onFinish,
|
|
133
|
-
onClose: _cache[3] || (_cache[3] = ($event) => showPicker.value = false)
|
|
134
|
-
}), null, 16, ["modelValue", "options", "field-names"])
|
|
135
|
-
]),
|
|
136
|
-
_: 1
|
|
137
|
-
}, 8, ["show"])
|
|
138
|
-
], 64);
|
|
97
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index.MobileField), vue.mergeProps(_ctx.$attrs, {
|
|
98
|
+
modelValue: vue.unref(fieldTextValue),
|
|
99
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(fieldTextValue) ? fieldTextValue.value = $event : null),
|
|
100
|
+
"is-link": "",
|
|
101
|
+
readonly: "",
|
|
102
|
+
onClick: _cache[4] || (_cache[4] = ($event) => showPicker.value = true)
|
|
103
|
+
}), {
|
|
104
|
+
default: vue.withCtx(() => [
|
|
105
|
+
vue.createVNode(_component_van_popup, {
|
|
106
|
+
show: vue.unref(showPicker),
|
|
107
|
+
"onUpdate:show": _cache[2] || (_cache[2] = ($event) => vue.isRef(showPicker) ? showPicker.value = $event : null),
|
|
108
|
+
"destroy-on-close": "",
|
|
109
|
+
position: "bottom"
|
|
110
|
+
}, {
|
|
111
|
+
default: vue.withCtx(() => [
|
|
112
|
+
vue.createVNode(_component_van_cascader, vue.mergeProps(_ctx.$attrs, {
|
|
113
|
+
modelValue: vue.unref(pickerValue),
|
|
114
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(pickerValue) ? pickerValue.value = $event : null),
|
|
115
|
+
options: __props.options,
|
|
116
|
+
"field-names": _ctx.columnsFieldNames,
|
|
117
|
+
placeholder: "请选择",
|
|
118
|
+
onFinish,
|
|
119
|
+
onClose: _cache[1] || (_cache[1] = ($event) => showPicker.value = false)
|
|
120
|
+
}), null, 16, ["modelValue", "options", "field-names"])
|
|
121
|
+
]),
|
|
122
|
+
_: 1
|
|
123
|
+
}, 8, ["show"])
|
|
124
|
+
]),
|
|
125
|
+
_: 1
|
|
126
|
+
}, 16, ["modelValue"]);
|
|
139
127
|
};
|
|
140
128
|
}
|
|
141
129
|
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const index = require("../field/index.js");
|
|
5
|
+
const index$1 = require("../checkboxGroup/index.js");
|
|
6
|
+
const _sfc_main = {
|
|
7
|
+
__name: "FieldCheckbox",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default: []
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
emits: ["update:modelValue"],
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const emit = __emit;
|
|
18
|
+
const compValue = vue.computed({
|
|
19
|
+
get: () => {
|
|
20
|
+
if (Array.isArray(props.modelValue)) {
|
|
21
|
+
return props.modelValue;
|
|
22
|
+
} else {
|
|
23
|
+
return [];
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
set: (val) => {
|
|
27
|
+
emit("update:modelValue", val);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
return (_ctx, _cache) => {
|
|
31
|
+
return vue.openBlock(), vue.createBlock(vue.unref(index.MobileField), vue.mergeProps(_ctx.$attrs, { modelValue: "" }), {
|
|
32
|
+
input: vue.withCtx(() => [
|
|
33
|
+
vue.createVNode(vue.unref(index$1.MobileCheckboxGroup), vue.mergeProps(_ctx.$attrs, {
|
|
34
|
+
modelValue: vue.unref(compValue),
|
|
35
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(compValue) ? compValue.value = $event : null)
|
|
36
|
+
}), null, 16, ["modelValue"])
|
|
37
|
+
]),
|
|
38
|
+
_: 1
|
|
39
|
+
}, 16);
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const FieldCheckbox = require("./FieldCheckbox.vue.js");
|
|
4
|
+
const install = require("../../../utils/install.js");
|
|
5
|
+
const MobileFieldCheckbox = install.default.withInstall(
|
|
6
|
+
"MobileFieldCheckbox",
|
|
7
|
+
FieldCheckbox.default
|
|
8
|
+
);
|
|
9
|
+
exports.MobileFieldCheckbox = MobileFieldCheckbox;
|
|
10
|
+
exports.default = MobileFieldCheckbox;
|