vant 2.12.43 → 2.12.44
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/index.js +1 -1
- package/es/utils/validate/email.js +2 -2
- package/lib/index.js +1 -1
- package/lib/utils/validate/email.js +2 -2
- package/lib/vant.js +3 -3
- package/lib/vant.min.js +1 -1
- package/package.json +1 -1
- package/vetur/attributes.json +431 -431
- package/vetur/tags.json +114 -114
- package/vetur/web-types.json +1056 -1056
package/es/index.js
CHANGED
@@ -87,7 +87,7 @@ import Tag from './tag';
|
|
87
87
|
import Toast from './toast';
|
88
88
|
import TreeSelect from './tree-select';
|
89
89
|
import Uploader from './uploader';
|
90
|
-
var version = '2.12.
|
90
|
+
var version = '2.12.44';
|
91
91
|
|
92
92
|
function install(Vue) {
|
93
93
|
var components = [ActionSheet, AddressEdit, AddressList, Area, Badge, Button, Calendar, Card, Cascader, Cell, CellGroup, Checkbox, CheckboxGroup, Circle, Col, Collapse, CollapseItem, ContactCard, ContactEdit, ContactList, CountDown, Coupon, CouponCell, CouponList, DatetimePicker, Dialog, Divider, DropdownItem, DropdownMenu, Empty, Field, Form, GoodsAction, GoodsActionButton, GoodsActionIcon, Grid, GridItem, Icon, Image, ImagePreview, IndexAnchor, IndexBar, Info, List, Loading, Locale, NavBar, NoticeBar, Notify, NumberKeyboard, Overlay, Pagination, Panel, PasswordInput, Picker, Popover, Popup, Progress, PullRefresh, Radio, RadioGroup, Rate, Row, Search, ShareSheet, Sidebar, SidebarItem, Skeleton, Sku, Slider, Step, Stepper, Steps, Sticky, SubmitBar, Swipe, SwipeCell, SwipeItem, Switch, SwitchCell, Tab, Tabbar, TabbarItem, Tabs, Tag, Toast, TreeSelect, Uploader];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/* eslint-disable */
|
2
2
|
export function isEmail(value) {
|
3
|
-
var reg = /^
|
4
|
-
return reg.test(value);
|
3
|
+
var reg = /^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/;
|
4
|
+
return reg.test(value.trim());
|
5
5
|
}
|
package/lib/index.js
CHANGED
@@ -361,7 +361,7 @@ exports.TreeSelect = _treeSelect.default;
|
|
361
361
|
var _uploader = _interopRequireDefault(require("./uploader"));
|
362
362
|
|
363
363
|
exports.Uploader = _uploader.default;
|
364
|
-
var version = '2.12.
|
364
|
+
var version = '2.12.44';
|
365
365
|
exports.version = version;
|
366
366
|
|
367
367
|
function install(Vue) {
|
@@ -5,6 +5,6 @@ exports.isEmail = isEmail;
|
|
5
5
|
|
6
6
|
/* eslint-disable */
|
7
7
|
function isEmail(value) {
|
8
|
-
var reg = /^
|
9
|
-
return reg.test(value);
|
8
|
+
var reg = /^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/;
|
9
|
+
return reg.test(value.trim());
|
10
10
|
}
|
package/lib/vant.js
CHANGED
@@ -19037,8 +19037,8 @@ var QUOTA_LIMIT = LIMIT_TYPE.QUOTA_LIMIT,
|
|
19037
19037
|
// CONCATENATED MODULE: ./es/utils/validate/email.js
|
19038
19038
|
/* eslint-disable */
|
19039
19039
|
function isEmail(value) {
|
19040
|
-
var reg = /^
|
19041
|
-
return reg.test(value);
|
19040
|
+
var reg = /^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/;
|
19041
|
+
return reg.test(value.trim());
|
19042
19042
|
}
|
19043
19043
|
// CONCATENATED MODULE: ./es/uploader/utils.js
|
19044
19044
|
|
@@ -22226,7 +22226,7 @@ TreeSelect.props = {
|
|
22226
22226
|
|
22227
22227
|
|
22228
22228
|
|
22229
|
-
var version = '2.12.
|
22229
|
+
var version = '2.12.44';
|
22230
22230
|
|
22231
22231
|
function install(Vue) {
|
22232
22232
|
var components = [action_sheet, address_edit, address_list, es_area, badge, es_button, calendar, card, cascader, cell, cell_group, es_checkbox, checkbox_group, circle, col, collapse, collapse_item, contact_card, contact_edit, contact_list, count_down, es_coupon, coupon_cell, coupon_list, datetime_picker, dialog, divider, dropdown_item, dropdown_menu, empty, es_field, es_form, goods_action, goods_action_button, goods_action_icon, grid, grid_item, es_icon, es_image, image_preview, index_anchor, index_bar, es_info, es_list, es_loading, locale["a" /* default */], nav_bar, notice_bar, notify, number_keyboard, es_overlay, pagination, panel, password_input, es_picker, popover, popup, es_progress, pull_refresh, es_radio, radio_group, es_rate, row, search, share_sheet, sidebar, sidebar_item, skeleton, es_sku, slider, es_step, stepper, steps, es_sticky, submit_bar, swipe, swipe_cell, swipe_item, es_switch, switch_cell, tab, tabbar, tabbar_item, tabs, es_tag, es_toast, tree_select, uploader];
|