Skip to content

Commit 27f0f18

Browse files
committed
publish build
1 parent 255dbb2 commit 27f0f18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2218
-1476
lines changed

lib/action-sheet/action-sheet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/action-sheet/index.js

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports =
6161
/******/ __webpack_require__.p = "./";
6262
/******/
6363
/******/ // Load entry module and return exports
64-
/******/ return __webpack_require__(__webpack_require__.s = 116);
64+
/******/ return __webpack_require__(__webpack_require__.s = 118);
6565
/******/ })
6666
/************************************************************************/
6767
/******/ ([
@@ -98,16 +98,6 @@ if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
9898
/* 3 */
9999
/***/ (function(module, exports) {
100100

101-
module.exports = function (it) {
102-
return typeof it === 'object' ? it !== null : typeof it === 'function';
103-
};
104-
105-
106-
/***/ }),
107-
/* 4 */,
108-
/* 5 */
109-
/***/ (function(module, exports) {
110-
111101
/* globals __VUE_SSR_CONTEXT__ */
112102

113103
// this module is a runtime utility for cleaner component module output and will
@@ -202,6 +192,16 @@ module.exports = function normalizeComponent (
202192

203193

204194
/***/ }),
195+
/* 4 */
196+
/***/ (function(module, exports) {
197+
198+
module.exports = function (it) {
199+
return typeof it === 'object' ? it !== null : typeof it === 'function';
200+
};
201+
202+
203+
/***/ }),
204+
/* 5 */,
205205
/* 6 */
206206
/***/ (function(module, exports) {
207207

@@ -218,7 +218,7 @@ module.exports = function (exec) {
218218
/* 7 */
219219
/***/ (function(module, exports, __webpack_require__) {
220220

221-
var isObject = __webpack_require__(3);
221+
var isObject = __webpack_require__(4);
222222
module.exports = function (it) {
223223
if (!isObject(it)) throw TypeError(it + ' is not an object!');
224224
return it;
@@ -462,7 +462,7 @@ module.exports = function (it) {
462462
/* 21 */
463463
/***/ (function(module, exports, __webpack_require__) {
464464

465-
var isObject = __webpack_require__(3);
465+
var isObject = __webpack_require__(4);
466466
var document = __webpack_require__(0).document;
467467
// typeof document.createElement is 'object' in old IE
468468
var is = isObject(document) && isObject(document.createElement);
@@ -633,7 +633,7 @@ module.exports = !__webpack_require__(1) && !__webpack_require__(6)(function ()
633633
/***/ (function(module, exports, __webpack_require__) {
634634

635635
// 7.1.1 ToPrimitive(input [, PreferredType])
636-
var isObject = __webpack_require__(3);
636+
var isObject = __webpack_require__(4);
637637
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
638638
// and the second argument - flag - preferred type is a string
639639
module.exports = function (it, S) {
@@ -1121,7 +1121,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
11211121
function injectStyle (ssrContext) {
11221122
__webpack_require__(49)
11231123
}
1124-
var Component = __webpack_require__(5)(
1124+
var Component = __webpack_require__(3)(
11251125
/* script */
11261126
__webpack_require__(50),
11271127
/* template */
@@ -1320,12 +1320,14 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
13201320
/* 113 */,
13211321
/* 114 */,
13221322
/* 115 */,
1323-
/* 116 */
1323+
/* 116 */,
1324+
/* 117 */,
1325+
/* 118 */
13241326
/***/ (function(module, exports, __webpack_require__) {
13251327

13261328
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
13271329
if (true) {
1328-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(117), __webpack_require__(121)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
1330+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(119), __webpack_require__(123)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
13291331
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
13301332
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
13311333
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -1365,17 +1367,17 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13651367
});
13661368

13671369
/***/ }),
1368-
/* 117 */
1370+
/* 119 */
13691371
/***/ (function(module, exports, __webpack_require__) {
13701372

13711373
function injectStyle (ssrContext) {
1372-
__webpack_require__(118)
1374+
__webpack_require__(120)
13731375
}
1374-
var Component = __webpack_require__(5)(
1376+
var Component = __webpack_require__(3)(
13751377
/* script */
1376-
__webpack_require__(119),
1378+
__webpack_require__(121),
13771379
/* template */
1378-
__webpack_require__(120),
1380+
__webpack_require__(122),
13791381
/* styles */
13801382
injectStyle,
13811383
/* scopeId */
@@ -1388,13 +1390,13 @@ module.exports = Component.exports
13881390

13891391

13901392
/***/ }),
1391-
/* 118 */
1393+
/* 120 */
13921394
/***/ (function(module, exports) {
13931395

13941396
// removed by extract-text-webpack-plugin
13951397

13961398
/***/ }),
1397-
/* 119 */
1399+
/* 121 */
13981400
/***/ (function(module, exports, __webpack_require__) {
13991401

14001402
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
@@ -1475,7 +1477,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14751477
});
14761478

14771479
/***/ }),
1478-
/* 120 */
1480+
/* 122 */
14791481
/***/ (function(module, exports) {
14801482

14811483
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@@ -1565,7 +1567,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
15651567
},staticRenderFns: []}
15661568

15671569
/***/ }),
1568-
/* 121 */
1570+
/* 123 */
15691571
/***/ (function(module, exports, __webpack_require__) {
15701572

15711573
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {

lib/better-scroll/better-scroll.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/better-scroll/index.js

Lines changed: 53 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ module.exports =
6161
/******/ __webpack_require__.p = "./";
6262
/******/
6363
/******/ // Load entry module and return exports
64-
/******/ return __webpack_require__(__webpack_require__.s = 122);
64+
/******/ return __webpack_require__(__webpack_require__.s = 124);
6565
/******/ })
6666
/************************************************************************/
6767
/******/ ({
6868

69-
/***/ 122:
69+
/***/ 124:
7070
/***/ (function(module, exports, __webpack_require__) {
7171

7272
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
@@ -111,7 +111,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
111111
"use strict";
112112
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
113113
/*!
114-
* better-normal-scroll v1.6.0
114+
* better-normal-scroll v1.6.2
115115
* (c) 2016-2017 ustbhuangyi
116116
* Released under the MIT License.
117117
*/
@@ -246,6 +246,24 @@ var ua = navigator.userAgent;
246246

247247
var isWeChatDevTools = /wechatdevtools/.test(ua);
248248

249+
function getNow() {
250+
return window.performance && window.performance.now ? window.performance.now() + window.performance.timing.navigationStart : +new Date();
251+
}
252+
253+
function extend(target) {
254+
for (var _len = arguments.length, rest = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
255+
rest[_key - 1] = arguments[_key];
256+
}
257+
258+
for (var i = 0; i < rest.length; i++) {
259+
var source = rest[i];
260+
for (var key in source) {
261+
target[key] = source[key];
262+
}
263+
}
264+
return target;
265+
}
266+
249267
var elementStyle = document.createElement('div').style;
250268

251269
var vendor = function () {
@@ -376,20 +394,33 @@ function click(e) {
376394
var target = e.target;
377395

378396
if (!/(SELECT|INPUT|TEXTAREA)/i.test(target.tagName)) {
379-
var ev = document.createEvent('Event');
380-
// cancelable set to false in case of the conflict with fastclick
381-
ev.initEvent('click', true, false);
382-
var posSrc = void 0;
397+
var eventSource = void 0;
383398
if (e.type === 'mouseup' || e.type === 'mousecancel') {
384-
posSrc = e;
399+
eventSource = e;
385400
} else if (e.type === 'touchend' || e.type === 'touchcancel') {
386-
posSrc = e.changedTouches[0];
387-
}
388-
if (posSrc) {
389-
ev.screenX = posSrc.screenX || 0;
390-
ev.screenY = posSrc.screenY || 0;
391-
ev.clientX = posSrc.clientX || 0;
392-
ev.clientY = posSrc.clientY || 0;
401+
eventSource = e.changedTouches[0];
402+
}
403+
var posSrc = {};
404+
if (eventSource) {
405+
posSrc.screenX = eventSource.screenX || 0;
406+
posSrc.screenY = eventSource.screenY || 0;
407+
posSrc.clientX = eventSource.clientX || 0;
408+
posSrc.clientY = eventSource.clientY || 0;
409+
}
410+
var ev = void 0;
411+
var event = 'click';
412+
var bubbles = true;
413+
// cancelable set to false in case of the conflict with fastclick
414+
var cancelable = false;
415+
if (typeof MouseEvent !== 'undefined') {
416+
ev = new MouseEvent(event, extend({
417+
bubbles: bubbles,
418+
cancelable: cancelable
419+
}, posSrc));
420+
} else {
421+
ev = document.createEvent('Event');
422+
ev.initEvent(event, bubbles, cancelable);
423+
extend(ev, posSrc);
393424
}
394425
ev._constructed = true;
395426
target.dispatchEvent(ev);
@@ -412,24 +443,6 @@ function removeChild(el, child) {
412443
el.removeChild(child);
413444
}
414445

415-
function getNow() {
416-
return window.performance && window.performance.now ? window.performance.now() + window.performance.timing.navigationStart : +new Date();
417-
}
418-
419-
function extend(target) {
420-
for (var _len = arguments.length, rest = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
421-
rest[_key - 1] = arguments[_key];
422-
}
423-
424-
for (var i = 0; i < rest.length; i++) {
425-
var source = rest[i];
426-
for (var key in source) {
427-
target[key] = source[key];
428-
}
429-
}
430-
return target;
431-
}
432-
433446
var DEFAULT_OPTIONS = {
434447
startX: 0,
435448
startY: 0,
@@ -1223,11 +1236,11 @@ function coreMixin(BScroll) {
12231236
var me = this;
12241237

12251238
function probe() {
1239+
var pos = me.getComputedPosition();
1240+
me.trigger('scroll', pos);
12261241
if (!me.isInTransition) {
12271242
return;
12281243
}
1229-
var pos = me.getComputedPosition();
1230-
me.trigger('scroll', pos);
12311244
me.probeTimer = requestAnimationFrame(probe);
12321245
}
12331246
};
@@ -1656,8 +1669,10 @@ function snapMixin(BScroll) {
16561669
this.on('destroy', function () {
16571670
if (snap.loop) {
16581671
var _children = _this.scroller.children;
1659-
removeChild(_this.scroller, _children[_children.length - 1]);
1660-
removeChild(_this.scroller, _children[0]);
1672+
if (_children.length > 2) {
1673+
removeChild(_this.scroller, _children[_children.length - 1]);
1674+
removeChild(_this.scroller, _children[0]);
1675+
}
16611676
}
16621677
});
16631678
};
@@ -2199,7 +2214,7 @@ scrollbarMixin(BScroll);
21992214
pullDownMixin(BScroll);
22002215
pullUpMixin(BScroll);
22012216

2202-
BScroll.Version = '1.6.0';
2217+
BScroll.Version = '1.6.2';
22032218

22042219
/* harmony default export */ __webpack_exports__["default"] = (BScroll);
22052220

lib/button/button.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/button/index.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ module.exports =
6161
/******/ __webpack_require__.p = "./";
6262
/******/
6363
/******/ // Load entry module and return exports
64-
/******/ return __webpack_require__(__webpack_require__.s = 123);
64+
/******/ return __webpack_require__(__webpack_require__.s = 125);
6565
/******/ })
6666
/************************************************************************/
6767
/******/ ({
6868

69-
/***/ 123:
69+
/***/ 125:
7070
/***/ (function(module, exports, __webpack_require__) {
7171

7272
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
7373
if (true) {
74-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(124)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
74+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [module, exports, __webpack_require__(126)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
7575
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
7676
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
7777
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -109,17 +109,17 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
109109

110110
/***/ }),
111111

112-
/***/ 124:
112+
/***/ 126:
113113
/***/ (function(module, exports, __webpack_require__) {
114114

115115
function injectStyle (ssrContext) {
116-
__webpack_require__(125)
116+
__webpack_require__(127)
117117
}
118-
var Component = __webpack_require__(5)(
118+
var Component = __webpack_require__(3)(
119119
/* script */
120-
__webpack_require__(126),
120+
__webpack_require__(128),
121121
/* template */
122-
__webpack_require__(127),
122+
__webpack_require__(129),
123123
/* styles */
124124
injectStyle,
125125
/* scopeId */
@@ -133,14 +133,14 @@ module.exports = Component.exports
133133

134134
/***/ }),
135135

136-
/***/ 125:
136+
/***/ 127:
137137
/***/ (function(module, exports) {
138138

139139
// removed by extract-text-webpack-plugin
140140

141141
/***/ }),
142142

143-
/***/ 126:
143+
/***/ 128:
144144
/***/ (function(module, exports, __webpack_require__) {
145145

146146
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;(function (global, factory) {
@@ -232,7 +232,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
232232

233233
/***/ }),
234234

235-
/***/ 127:
235+
/***/ 129:
236236
/***/ (function(module, exports) {
237237

238238
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
@@ -252,7 +252,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
252252

253253
/***/ }),
254254

255-
/***/ 5:
255+
/***/ 3:
256256
/***/ (function(module, exports) {
257257

258258
/* globals __VUE_SSR_CONTEXT__ */

0 commit comments

Comments
 (0)