vant 2.12.36 → 2.12.40

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/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.36';
364
+ var version = '2.12.40';
365
365
  exports.version = version;
366
366
 
367
367
  function install(Vue) {
@@ -5,14 +5,12 @@ exports.TouchMixin = void 0;
5
5
 
6
6
  var _event = require("../utils/dom/event");
7
7
 
8
- var MIN_DISTANCE = 10;
9
-
10
8
  function getDirection(x, y) {
11
- if (x > y && x > MIN_DISTANCE) {
9
+ if (x > y) {
12
10
  return 'horizontal';
13
11
  }
14
12
 
15
- if (y > x && y > MIN_DISTANCE) {
13
+ if (y > x) {
16
14
  return 'vertical';
17
15
  }
18
16
 
@@ -32,13 +30,18 @@ var TouchMixin = {
32
30
  this.startY = event.touches[0].clientY;
33
31
  },
34
32
  touchMove: function touchMove(event) {
35
- var touch = event.touches[0]; // Fix: Safari back will set clientX to negative number
33
+ var touch = event.touches[0]; // safari back will set clientX to negative number
36
34
 
37
35
  this.deltaX = touch.clientX < 0 ? 0 : touch.clientX - this.startX;
38
36
  this.deltaY = touch.clientY - this.startY;
39
37
  this.offsetX = Math.abs(this.deltaX);
40
- this.offsetY = Math.abs(this.deltaY);
41
- this.direction = this.direction || getDirection(this.offsetX, this.offsetY);
38
+ this.offsetY = Math.abs(this.deltaY); // lock direction when distance is greater than a certain value
39
+
40
+ var LOCK_DIRECTION_DISTANCE = 10;
41
+
42
+ if (!this.direction || this.offsetX < LOCK_DIRECTION_DISTANCE && this.offsetY < LOCK_DIRECTION_DISTANCE) {
43
+ this.direction = getDirection(this.offsetX, this.offsetY);
44
+ }
42
45
  },
43
46
  resetTouchStatus: function resetTouchStatus() {
44
47
  this.direction = '';
@@ -38,8 +38,16 @@ var _default = createComponent({
38
38
  };
39
39
  },
40
40
  mounted: function mounted() {
41
+ var _this = this;
42
+
41
43
  if (this.placeholder && this.fixed) {
42
- this.height = this.$refs.navBar.getBoundingClientRect().height;
44
+ var setHeight = function setHeight() {
45
+ _this.height = _this.$refs.navBar.getBoundingClientRect().height;
46
+ };
47
+
48
+ setHeight(); // https://github.com/youzan/vant/issues/10131
49
+
50
+ setTimeout(setHeight, 100);
43
51
  }
44
52
  },
45
53
  methods: {
@@ -243,6 +243,7 @@ var _default = createComponent({
243
243
  var renderButton = function renderButton(i) {
244
244
  var map = ['left', 'right'];
245
245
  var isNumber = typeof i === 'number';
246
+ var current = isNumber ? _this.value[i] : _this.value;
246
247
 
247
248
  var getClassName = function getClassName() {
248
249
  if (isNumber) {
@@ -260,6 +261,27 @@ var _default = createComponent({
260
261
  return "wrapper";
261
262
  };
262
263
 
264
+ var renderButtonContent = function renderButtonContent() {
265
+ if (isNumber) {
266
+ var slot = _this.slots(i === 0 ? 'left-button' : 'right-button', {
267
+ value: current
268
+ });
269
+
270
+ if (slot) {
271
+ return slot;
272
+ }
273
+ }
274
+
275
+ if (_this.slots('button')) {
276
+ return _this.slots('button');
277
+ }
278
+
279
+ return h("div", {
280
+ "class": bem('button'),
281
+ "style": _this.buttonStyle
282
+ });
283
+ };
284
+
263
285
  return h("div", {
264
286
  "ref": getRefName(),
265
287
  "attrs": {
@@ -282,10 +304,7 @@ var _default = createComponent({
282
304
  return e.stopPropagation();
283
305
  }
284
306
  }
285
- }, [_this.slots('button') || h("div", {
286
- "class": bem('button'),
287
- "style": _this.buttonStyle
288
- })]);
307
+ }, [renderButtonContent()]);
289
308
  };
290
309
 
291
310
  return h("div", {
@@ -193,16 +193,10 @@ var _default = createComponent({
193
193
  },
194
194
  onTouchMove: function onTouchMove(event) {
195
195
  if (!this.touchable || !this.swiping) return;
196
- this.touchMove(event); // if user starting to touchmove, prevent the event bubbling to
197
- // avoid affecting the parent components
198
-
199
- var shouldPrevent = this.isCorrectDirection || this.offsetY > this.offsetX === this.vertical;
200
-
201
- if (shouldPrevent) {
202
- (0, _event.preventDefault)(event, this.stopPropagation);
203
- }
196
+ this.touchMove(event);
204
197
 
205
198
  if (this.isCorrectDirection) {
199
+ (0, _event.preventDefault)(event, this.stopPropagation);
206
200
  this.move({
207
201
  offset: this.delta
208
202
  });
@@ -61,28 +61,36 @@ var _default = createComponent({
61
61
  children: 'setActiveItem'
62
62
  },
63
63
  mounted: function mounted() {
64
+ var _this = this;
65
+
64
66
  if (this.placeholder && this.fixed) {
65
- this.height = this.$refs.tabbar.getBoundingClientRect().height;
67
+ var setHeight = function setHeight() {
68
+ _this.height = _this.$refs.tabbar.getBoundingClientRect().height;
69
+ };
70
+
71
+ setHeight(); // https://github.com/youzan/vant/issues/10131
72
+
73
+ setTimeout(setHeight, 100);
66
74
  }
67
75
  },
68
76
  methods: {
69
77
  setActiveItem: function setActiveItem() {
70
- var _this = this;
78
+ var _this2 = this;
71
79
 
72
80
  this.children.forEach(function (item, index) {
73
- item.nameMatched = (item.name || index) === _this.value;
81
+ item.nameMatched = (item.name || index) === _this2.value;
74
82
  });
75
83
  },
76
84
  triggerChange: function triggerChange(active, afterChange) {
77
- var _this2 = this;
85
+ var _this3 = this;
78
86
 
79
87
  (0, _interceptor.callInterceptor)({
80
88
  interceptor: this.beforeChange,
81
89
  args: [active],
82
90
  done: function done() {
83
- _this2.$emit('input', active);
91
+ _this3.$emit('input', active);
84
92
 
85
- _this2.$emit('change', active);
93
+ _this3.$emit('change', active);
86
94
 
87
95
  afterChange();
88
96
  }
package/lib/vant.js CHANGED
@@ -790,7 +790,7 @@ __webpack_require__.d(__webpack_exports__, "Overlay", function() { return /* ree
790
790
  __webpack_require__.d(__webpack_exports__, "Pagination", function() { return /* reexport */ pagination; });
791
791
  __webpack_require__.d(__webpack_exports__, "Panel", function() { return /* reexport */ panel; });
792
792
  __webpack_require__.d(__webpack_exports__, "PasswordInput", function() { return /* reexport */ password_input; });
793
- __webpack_require__.d(__webpack_exports__, "Picker", function() { return /* reexport */ picker; });
793
+ __webpack_require__.d(__webpack_exports__, "Picker", function() { return /* reexport */ es_picker; });
794
794
  __webpack_require__.d(__webpack_exports__, "Popover", function() { return /* reexport */ popover; });
795
795
  __webpack_require__.d(__webpack_exports__, "Popup", function() { return /* reexport */ popup; });
796
796
  __webpack_require__.d(__webpack_exports__, "Progress", function() { return /* reexport */ es_progress; });
@@ -1194,14 +1194,13 @@ function getVisibleTop(el) {
1194
1194
  }
1195
1195
  // CONCATENATED MODULE: ./es/mixins/touch.js
1196
1196
 
1197
- var MIN_DISTANCE = 10;
1198
1197
 
1199
1198
  function getDirection(x, y) {
1200
- if (x > y && x > MIN_DISTANCE) {
1199
+ if (x > y) {
1201
1200
  return 'horizontal';
1202
1201
  }
1203
1202
 
1204
- if (y > x && y > MIN_DISTANCE) {
1203
+ if (y > x) {
1205
1204
  return 'vertical';
1206
1205
  }
1207
1206
 
@@ -1221,13 +1220,18 @@ var TouchMixin = {
1221
1220
  this.startY = event.touches[0].clientY;
1222
1221
  },
1223
1222
  touchMove: function touchMove(event) {
1224
- var touch = event.touches[0]; // Fix: Safari back will set clientX to negative number
1223
+ var touch = event.touches[0]; // safari back will set clientX to negative number
1225
1224
 
1226
1225
  this.deltaX = touch.clientX < 0 ? 0 : touch.clientX - this.startX;
1227
1226
  this.deltaY = touch.clientY - this.startY;
1228
1227
  this.offsetX = Math.abs(this.deltaX);
1229
- this.offsetY = Math.abs(this.deltaY);
1230
- this.direction = this.direction || getDirection(this.offsetX, this.offsetY);
1228
+ this.offsetY = Math.abs(this.deltaY); // lock direction when distance is greater than a certain value
1229
+
1230
+ var LOCK_DIRECTION_DISTANCE = 10;
1231
+
1232
+ if (!this.direction || this.offsetX < LOCK_DIRECTION_DISTANCE && this.offsetY < LOCK_DIRECTION_DISTANCE) {
1233
+ this.direction = getDirection(this.offsetX, this.offsetY);
1234
+ }
1231
1235
  },
1232
1236
  resetTouchStatus: function resetTouchStatus() {
1233
1237
  this.direction = '';
@@ -2560,7 +2564,7 @@ var picker_createNamespace = Object(create["a" /* createNamespace */])('picker')
2560
2564
  picker_bem = picker_createNamespace[1],
2561
2565
  t = picker_createNamespace[2];
2562
2566
 
2563
- /* harmony default export */ var picker = (picker_createComponent({
2567
+ /* harmony default export */ var es_picker = (picker_createComponent({
2564
2568
  props: _extends({}, pickerProps, {
2565
2569
  defaultIndex: {
2566
2570
  type: [Number, String],
@@ -3228,7 +3232,7 @@ function pickSlots(instance, keys) {
3228
3232
  confirm: this.onConfirm
3229
3233
  });
3230
3234
 
3231
- return h(picker, {
3235
+ return h(es_picker, {
3232
3236
  "ref": "picker",
3233
3237
  "class": area_bem(),
3234
3238
  "attrs": {
@@ -6557,6 +6561,10 @@ function copyDates(dates) {
6557
6561
  // CONCATENATED MODULE: ./es/datetime-picker/utils.js
6558
6562
 
6559
6563
  function times(n, iteratee) {
6564
+ if (n < 0) {
6565
+ return [];
6566
+ }
6567
+
6560
6568
  var index = -1;
6561
6569
  var result = Array(n);
6562
6570
 
@@ -8835,6 +8843,10 @@ var cascader_createNamespace = Object(create["a" /* createNamespace */])('cascad
8835
8843
  closeable: {
8836
8844
  type: Boolean,
8837
8845
  default: true
8846
+ },
8847
+ showHeader: {
8848
+ type: Boolean,
8849
+ default: true
8838
8850
  }
8839
8851
  },
8840
8852
  data: function data() {
@@ -8995,19 +9007,22 @@ var cascader_createNamespace = Object(create["a" /* createNamespace */])('cascad
8995
9007
  },
8996
9008
  renderHeader: function renderHeader() {
8997
9009
  var h = this.$createElement;
8998
- return h("div", {
8999
- "class": cascader_bem('header')
9000
- }, [h("h2", {
9001
- "class": cascader_bem('title')
9002
- }, [this.slots('title') || this.title]), this.closeable ? h(es_icon, {
9003
- "attrs": {
9004
- "name": "cross"
9005
- },
9006
- "class": cascader_bem('close-icon'),
9007
- "on": {
9008
- "click": this.onClose
9009
- }
9010
- }) : null]);
9010
+
9011
+ if (this.showHeader) {
9012
+ return h("div", {
9013
+ "class": cascader_bem('header')
9014
+ }, [h("h2", {
9015
+ "class": cascader_bem('title')
9016
+ }, [this.slots('title') || this.title]), this.closeable ? h(es_icon, {
9017
+ "attrs": {
9018
+ "name": "cross"
9019
+ },
9020
+ "class": cascader_bem('close-icon'),
9021
+ "on": {
9022
+ "click": this.onClose
9023
+ }
9024
+ }) : null]);
9025
+ }
9011
9026
  },
9012
9027
  renderOptions: function renderOptions(options, selectedOption, tabIndex) {
9013
9028
  var _this4 = this;
@@ -10881,10 +10896,32 @@ var TimePickerMixin = {
10881
10896
  });
10882
10897
  },
10883
10898
  methods: {
10884
- // @exposed-api
10885
10899
  getPicker: function getPicker() {
10886
10900
  return this.$refs.picker;
10887
10901
  },
10902
+ // https://github.com/youzan/vant/issues/10013
10903
+ getProxiedPicker: function getProxiedPicker() {
10904
+ var _this4 = this;
10905
+
10906
+ var picker = this.$refs.picker;
10907
+
10908
+ if (picker) {
10909
+ var proxy = function proxy(fn) {
10910
+ return function () {
10911
+ picker[fn].apply(picker, arguments);
10912
+
10913
+ _this4.updateInnerValue();
10914
+ };
10915
+ };
10916
+
10917
+ return _extends({}, picker, {
10918
+ setValues: proxy('setValues'),
10919
+ setIndexes: proxy('setIndexes'),
10920
+ setColumnIndex: proxy('setColumnIndex'),
10921
+ setColumnValue: proxy('setColumnValue')
10922
+ });
10923
+ }
10924
+ },
10888
10925
  onConfirm: function onConfirm() {
10889
10926
  this.$emit('input', this.innerValue);
10890
10927
  this.$emit('confirm', this.innerValue);
@@ -10894,14 +10931,14 @@ var TimePickerMixin = {
10894
10931
  }
10895
10932
  },
10896
10933
  render: function render() {
10897
- var _this4 = this;
10934
+ var _this5 = this;
10898
10935
 
10899
10936
  var h = arguments[0];
10900
10937
  var props = {};
10901
10938
  Object.keys(pickerProps).forEach(function (key) {
10902
- props[key] = _this4[key];
10939
+ props[key] = _this5[key];
10903
10940
  });
10904
- return h(picker, {
10941
+ return h(es_picker, {
10905
10942
  "ref": "picker",
10906
10943
  "attrs": {
10907
10944
  "columns": this.columns,
@@ -11424,7 +11461,7 @@ var datetime_picker_createNamespace = Object(create["a" /* createNamespace */])(
11424
11461
  methods: {
11425
11462
  // @exposed-api
11426
11463
  getPicker: function getPicker() {
11427
- return this.$refs.root.getPicker();
11464
+ return this.$refs.root.getProxiedPicker();
11428
11465
  }
11429
11466
  },
11430
11467
  render: function render() {
@@ -12794,16 +12831,10 @@ var swipe_createNamespace = Object(create["a" /* createNamespace */])('swipe'),
12794
12831
  },
12795
12832
  onTouchMove: function onTouchMove(event) {
12796
12833
  if (!this.touchable || !this.swiping) return;
12797
- this.touchMove(event); // if user starting to touchmove, prevent the event bubbling to
12798
- // avoid affecting the parent components
12799
-
12800
- var shouldPrevent = this.isCorrectDirection || this.offsetY > this.offsetX === this.vertical;
12801
-
12802
- if (shouldPrevent) {
12803
- preventDefault(event, this.stopPropagation);
12804
- }
12834
+ this.touchMove(event);
12805
12835
 
12806
12836
  if (this.isCorrectDirection) {
12837
+ preventDefault(event, this.stopPropagation);
12807
12838
  this.move({
12808
12839
  offset: this.delta
12809
12840
  });
@@ -13245,10 +13276,11 @@ function getDistance(touches) {
13245
13276
  offsetX = _this$offsetX === void 0 ? 0 : _this$offsetX;
13246
13277
  this.touchStart(event);
13247
13278
  this.touchStartTime = new Date();
13279
+ this.fingerNum = touches.length;
13248
13280
  this.startMoveX = this.moveX;
13249
13281
  this.startMoveY = this.moveY;
13250
- this.moving = touches.length === 1 && this.scale !== 1;
13251
- this.zooming = touches.length === 2 && !offsetX;
13282
+ this.moving = this.fingerNum === 1 && this.scale !== 1;
13283
+ this.zooming = this.fingerNum === 2 && !offsetX;
13252
13284
 
13253
13285
  if (this.zooming) {
13254
13286
  this.startScale = this.scale;
@@ -13313,13 +13345,17 @@ function getDistance(touches) {
13313
13345
  checkTap: function checkTap() {
13314
13346
  var _this = this;
13315
13347
 
13348
+ if (this.fingerNum > 1) {
13349
+ return;
13350
+ }
13351
+
13316
13352
  var _this$offsetX2 = this.offsetX,
13317
13353
  offsetX = _this$offsetX2 === void 0 ? 0 : _this$offsetX2,
13318
13354
  _this$offsetY = this.offsetY,
13319
13355
  offsetY = _this$offsetY === void 0 ? 0 : _this$offsetY;
13320
13356
  var deltaTime = new Date() - this.touchStartTime;
13321
13357
  var TAP_TIME = 250;
13322
- var TAP_OFFSET = 10;
13358
+ var TAP_OFFSET = 5;
13323
13359
 
13324
13360
  if (offsetX < TAP_OFFSET && offsetY < TAP_OFFSET && deltaTime < TAP_TIME) {
13325
13361
  if (this.doubleTapTimer) {
@@ -13393,6 +13429,7 @@ function getDistance(touches) {
13393
13429
  className: null,
13394
13430
  closeable: Boolean,
13395
13431
  asyncClose: Boolean,
13432
+ overlayStyle: Object,
13396
13433
  showIndicators: Boolean,
13397
13434
  images: {
13398
13435
  type: Array,
@@ -13626,6 +13663,7 @@ var image_preview_defaultConfig = {
13626
13663
  asyncClose: false,
13627
13664
  transition: 'van-fade',
13628
13665
  getContainer: 'body',
13666
+ overlayStyle: null,
13629
13667
  startPosition: 0,
13630
13668
  swipeDuration: 300,
13631
13669
  showIndicators: false,
@@ -14222,8 +14260,16 @@ var nav_bar_createNamespace = Object(create["a" /* createNamespace */])('nav-bar
14222
14260
  };
14223
14261
  },
14224
14262
  mounted: function mounted() {
14263
+ var _this = this;
14264
+
14225
14265
  if (this.placeholder && this.fixed) {
14226
- this.height = this.$refs.navBar.getBoundingClientRect().height;
14266
+ var setHeight = function setHeight() {
14267
+ _this.height = _this.$refs.navBar.getBoundingClientRect().height;
14268
+ };
14269
+
14270
+ setHeight(); // https://github.com/youzan/vant/issues/10131
14271
+
14272
+ setTimeout(setHeight, 100);
14227
14273
  }
14228
14274
  },
14229
14275
  methods: {
@@ -21085,6 +21131,7 @@ var isSameValue = function isSameValue(newValue, oldValue) {
21085
21131
  var renderButton = function renderButton(i) {
21086
21132
  var map = ['left', 'right'];
21087
21133
  var isNumber = typeof i === 'number';
21134
+ var current = isNumber ? _this.value[i] : _this.value;
21088
21135
 
21089
21136
  var getClassName = function getClassName() {
21090
21137
  if (isNumber) {
@@ -21102,6 +21149,27 @@ var isSameValue = function isSameValue(newValue, oldValue) {
21102
21149
  return "wrapper";
21103
21150
  };
21104
21151
 
21152
+ var renderButtonContent = function renderButtonContent() {
21153
+ if (isNumber) {
21154
+ var slot = _this.slots(i === 0 ? 'left-button' : 'right-button', {
21155
+ value: current
21156
+ });
21157
+
21158
+ if (slot) {
21159
+ return slot;
21160
+ }
21161
+ }
21162
+
21163
+ if (_this.slots('button')) {
21164
+ return _this.slots('button');
21165
+ }
21166
+
21167
+ return h("div", {
21168
+ "class": slider_bem('button'),
21169
+ "style": _this.buttonStyle
21170
+ });
21171
+ };
21172
+
21105
21173
  return h("div", {
21106
21174
  "ref": getRefName(),
21107
21175
  "attrs": {
@@ -21124,10 +21192,7 @@ var isSameValue = function isSameValue(newValue, oldValue) {
21124
21192
  return e.stopPropagation();
21125
21193
  }
21126
21194
  }
21127
- }, [_this.slots('button') || h("div", {
21128
- "class": slider_bem('button'),
21129
- "style": _this.buttonStyle
21130
- })]);
21195
+ }, [renderButtonContent()]);
21131
21196
  };
21132
21197
 
21133
21198
  return h("div", {
@@ -21744,28 +21809,36 @@ var tabbar_createNamespace = Object(create["a" /* createNamespace */])('tabbar')
21744
21809
  children: 'setActiveItem'
21745
21810
  },
21746
21811
  mounted: function mounted() {
21812
+ var _this = this;
21813
+
21747
21814
  if (this.placeholder && this.fixed) {
21748
- this.height = this.$refs.tabbar.getBoundingClientRect().height;
21815
+ var setHeight = function setHeight() {
21816
+ _this.height = _this.$refs.tabbar.getBoundingClientRect().height;
21817
+ };
21818
+
21819
+ setHeight(); // https://github.com/youzan/vant/issues/10131
21820
+
21821
+ setTimeout(setHeight, 100);
21749
21822
  }
21750
21823
  },
21751
21824
  methods: {
21752
21825
  setActiveItem: function setActiveItem() {
21753
- var _this = this;
21826
+ var _this2 = this;
21754
21827
 
21755
21828
  this.children.forEach(function (item, index) {
21756
- item.nameMatched = (item.name || index) === _this.value;
21829
+ item.nameMatched = (item.name || index) === _this2.value;
21757
21830
  });
21758
21831
  },
21759
21832
  triggerChange: function triggerChange(active, afterChange) {
21760
- var _this2 = this;
21833
+ var _this3 = this;
21761
21834
 
21762
21835
  callInterceptor({
21763
21836
  interceptor: this.beforeChange,
21764
21837
  args: [active],
21765
21838
  done: function done() {
21766
- _this2.$emit('input', active);
21839
+ _this3.$emit('input', active);
21767
21840
 
21768
- _this2.$emit('change', active);
21841
+ _this3.$emit('change', active);
21769
21842
 
21770
21843
  afterChange();
21771
21844
  }
@@ -22149,10 +22222,10 @@ TreeSelect.props = {
22149
22222
 
22150
22223
 
22151
22224
 
22152
- var version = '2.12.36';
22225
+ var version = '2.12.40';
22153
22226
 
22154
22227
  function install(Vue) {
22155
- 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, 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];
22228
+ 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];
22156
22229
  components.forEach(function (item) {
22157
22230
  if (item.install) {
22158
22231
  Vue.use(item);