Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mint-ui

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mint-ui - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

28

lib/actionsheet/index.js

@@ -64,2 +64,3 @@ module.exports =

var __vue_script__, __vue_template__
var __vue_styles__ = {}
__webpack_require__(3)

@@ -71,8 +72,14 @@ __vue_script__ = __webpack_require__(7)

console.warn("[vue-loader] packages/actionsheet/src/actionsheet.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(13)
__vue_template__ = __webpack_require__(12)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -103,3 +110,3 @@

__webpack_require__(10);
__webpack_require__(9);

@@ -158,6 +165,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/* 8 */
/***/ function(module, exports, __webpack_require__) {
/***/ function(module, exports) {
!function(e,t){ true?module.exports=t(__webpack_require__(9)):"function"==typeof define&&define.amd?define("VuePopup",["vue"],t):"object"==typeof exports?exports.VuePopup=t(require("vue")):e.VuePopup=t(e.vue)}(this,function(e){return function(e){function t(n){if(o[n])return o[n].exports;var i=o[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,t,o){Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var o=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/lib/",t(t.s=5)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(4),l=n(i),s=o(2),r=o(1),d=n(r);o(3);var a=1,u=[],c=function(e){if(u.indexOf(e)===-1){var t=function(e){var t=e.__vue__;if(!t){var o=e.previousSibling;o.__vue__&&(t=o.__vue__)}return t};l["default"].transition(e,{afterEnter:function(e){var o=t(e);o&&o.doAfterOpen&&o.doAfterOpen()},afterLeave:function(e){var o=t(e);o&&o.doAfterClose&&o.doAfterClose()}})}},f=function p(e){return 3===e.nodeType&&(e=e.nextElementSibling||e.nextSibling,p(e)),e};t["default"]={props:{visible:{type:Boolean,twoWay:!0,"default":!1},transition:{type:String,"default":""},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,"default":!1},lockScroll:{type:Boolean,"default":!0},modalClass:{},closeOnPressEscape:{type:Boolean,"default":!1},closeOnClickModal:{type:Boolean,"default":!1}},created:function(){this.transition&&c(this.transition)},compiled:function(){this._popupId="popup-"+a++,d["default"].register(this._popupId,this)},beforeDestroy:function(){d["default"].deregister(this._popupId),d["default"].closeModal(this._popupId)},data:function(){return{bodyOverflow:null,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,l["default"].nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(e){var t=this;if(!this.rendered)return this.rendered=!0,void(this.visible=!0);var o=(0,s.merge)({},this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var n=Number(o.openDelay);n>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(o)},n):this.doOpen(o)},doOpen:function(e){if(!this.willOpen||this.willOpen()){this._opening=!0,this.visible=!0;var t=f(this.$el),o=e.modal,n=e.zIndex;n&&(d["default"].zIndex=n),o&&(this._closing&&(d["default"].closeModal(this._popupId),this._closing=!1),d["default"].openModal(this._popupId,d["default"].nextZIndex(),t,e.modalClass),e.lockScroll&&(this.bodyOverflow||(this.bodyOverflow=document.body.style.overflow),document.body.style.overflow="hidden")),"static"===getComputedStyle(t).position&&(t.style.position="absolute"),o?t.style.zIndex=d["default"].nextZIndex():n&&(t.style.zIndex=n),this.onOpen&&this.onOpen(),this.transition||this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this.visible=!1,this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&this.modal&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow),this.transition||this.doAfterClose()},doAfterClose:function(){d["default"].closeModal(this._popupId),this._closing=!1}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){var e=l.modalDom;return e||(e=document.createElement("div"),l.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()})),e},n=function(){l.doOnModalClick&&l.doOnModalClick()},i={},l={zIndex:1e3,getInstance:function(e){return i[e]},register:function(e,t){e&&t&&(i[e]=t)},deregister:function(e){e&&(i[e]=null,delete i[e])},nextZIndex:function(){return l.zIndex++},modalStack:[],doOnModalClick:function(){var e=l.modalStack[l.modalStack.length-1];if(e){var t=l.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,i,l){if(e&&void 0!==t){for(var s=this.modalStack,r=0,d=s.length;r<d;r++){var a=s[r];if(a.id===e)return}var u=o();if(setTimeout(function(){u.addEventListener("click",n)},300),u.classList.add("v-modal"),u.classList.add("v-modal-enter"),l){var c=l.trim().split(/\s+/);c.forEach(function(e){return u.classList.add(e)})}setTimeout(function(){u.classList.remove("v-modal-enter")},200),i&&i.parentNode&&11!==i.parentNode.nodeType?i.parentNode.appendChild(u):document.body.appendChild(u),t&&(u.style.zIndex=t),u.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:l})}},closeModal:function(e){var t=this.modalStack,i=o();if(t.length>0){var l=t[t.length-1];if(l.id===e){if(l.modalClass){var s=l.modalClass.trim().split(/\s+/);s.forEach(function(e){return i.classList.remove(e)})}t.pop(),t.length>0&&(i.style.zIndex=t[t.length-1].zIndex)}else for(var r=t.length-1;r>=0;r--)if(t[r].id===e){t.splice(r,1);break}}0===t.length&&(i.classList.add("v-modal-leave"),setTimeout(function(){0===t.length&&(i.parentNode&&i.parentNode.removeChild(i),i.style.display="none"),i.removeEventListener("click",n),i.classList.remove("v-modal-leave")},200))}};window.addEventListener("keydown",function(e){if(27===e.keyCode&&l.modalStack.length>0){var t=l.modalStack[l.modalStack.length-1];if(!t)return;var o=l.getInstance(t.id);o.closeOnPressEscape&&o.close()}}),t["default"]=l},function(e,t){"use strict";function o(e){for(var t=1,o=arguments.length;t<o;t++){var n=arguments[t];for(var i in n)if(n.hasOwnProperty(i)){var l=n[i];void 0!==l&&(e[i]=l)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.merge=o},function(e,t){},function(t,o){t.exports=e},function(e,t,o){e.exports=o(0)}])});
//# sourceMappingURL=index.js.map
module.exports = require("vue-popup");

@@ -168,14 +174,8 @@ /***/ },

module.exports = require("vue");
/***/ },
/* 10 */
/***/ function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ },
/* 10 */,
/* 11 */,
/* 12 */,
/* 13 */
/* 12 */
/***/ function(module, exports) {

@@ -182,0 +182,0 @@

@@ -48,3 +48,3 @@ module.exports =

module.exports = __webpack_require__(14);
module.exports = __webpack_require__(13);

@@ -65,4 +65,3 @@

/* 12 */,
/* 13 */,
/* 14 */
/* 13 */
/***/ function(module, exports, __webpack_require__) {

@@ -72,11 +71,12 @@

module.exports = __webpack_require__(15);
module.exports = __webpack_require__(14);
/***/ },
/* 15 */
/* 14 */
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(16)
__vue_script__ = __webpack_require__(18)
var __vue_styles__ = {}
__webpack_require__(15)
__vue_script__ = __webpack_require__(17)
if (__vue_script__ &&

@@ -86,12 +86,18 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/badge/src/badge.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(19)
__vue_template__ = __webpack_require__(18)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})
/***/ },
/* 16 */
/* 15 */
/***/ function(module, exports) {

@@ -102,4 +108,4 @@

/***/ },
/* 17 */,
/* 18 */
/* 16 */,
/* 17 */
/***/ function(module, exports) {

@@ -129,3 +135,3 @@

/***/ },
/* 19 */
/* 18 */
/***/ function(module, exports) {

@@ -132,0 +138,0 @@

@@ -44,13 +44,29 @@ module.exports =

/************************************************************************/
/******/ ({
/***/ 0:
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(20);
module.exports = __webpack_require__(19);
/***/ },
/***/ 20:
/* 1 */,
/* 2 */,
/* 3 */,
/* 4 */,
/* 5 */,
/* 6 */,
/* 7 */,
/* 8 */,
/* 9 */,
/* 10 */,
/* 11 */,
/* 12 */,
/* 13 */,
/* 14 */,
/* 15 */,
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */
/***/ function(module, exports, __webpack_require__) {

@@ -60,12 +76,12 @@

module.exports = __webpack_require__(21);
module.exports = __webpack_require__(20);
/***/ },
/***/ 21:
/* 20 */
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(22)
__vue_script__ = __webpack_require__(24)
var __vue_styles__ = {}
__webpack_require__(21)
__vue_script__ = __webpack_require__(23)
if (__vue_script__ &&

@@ -75,13 +91,18 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/button/src/button.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(26)
__vue_template__ = __webpack_require__(25)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})
/***/ },
/***/ 22:
/* 21 */
/***/ function(module, exports) {

@@ -92,4 +113,4 @@

/***/ },
/***/ 24:
/* 22 */,
/* 23 */
/***/ function(module, exports, __webpack_require__) {

@@ -104,3 +125,3 @@

if (true) {
__webpack_require__(25);
__webpack_require__(24);
}

@@ -132,4 +153,3 @@ exports.default = {

/***/ },
/***/ 25:
/* 24 */
/***/ function(module, exports) {

@@ -140,4 +160,3 @@

/***/ },
/***/ 26:
/* 25 */
/***/ function(module, exports) {

@@ -148,3 +167,2 @@

/***/ }
/******/ });
/******/ ]);

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(33);
module.exports = __webpack_require__(32);

@@ -55,3 +55,3 @@

/***/ 33:
/***/ 32:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(34);
module.exports = __webpack_require__(33);
/***/ },
/***/ 34:
/***/ 33:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(35)
__vue_script__ = __webpack_require__(37)
var __vue_styles__ = {}
__webpack_require__(34)
__vue_script__ = __webpack_require__(36)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/cell-swipe/src/cell-swipe.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(42)
__vue_template__ = __webpack_require__(41)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 35:
/***/ 34:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 37:
/***/ 36:
/***/ function(module, exports, __webpack_require__) {

@@ -105,9 +112,9 @@

var _event = __webpack_require__(38);
var _event = __webpack_require__(37);
var _index = __webpack_require__(39);
var _index = __webpack_require__(38);
var _index2 = _interopRequireDefault(_index);
var _vueClickoutside = __webpack_require__(40);
var _vueClickoutside = __webpack_require__(39);

@@ -119,3 +126,3 @@ var _vueClickoutside2 = _interopRequireDefault(_vueClickoutside);

if (true) {
__webpack_require__(41);
__webpack_require__(40);
}

@@ -167,3 +174,3 @@

swipeMove: function swipeMove() {
var offset = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];
var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;

@@ -243,3 +250,3 @@ this.wrap.style.webkitTransform = this.translate3d(offset);

/***/ 38:
/***/ 37:
/***/ function(module, exports) {

@@ -297,3 +304,3 @@

/***/ 39:
/***/ 38:
/***/ function(module, exports) {

@@ -305,44 +312,10 @@

/***/ 40:
/***/ 39:
/***/ function(module, exports) {
'use strict';
module.exports = require("vue-clickoutside");
/**
* v-clickoutside
* @desc 点击元素外面才会触发的事件
* @example
* ```vue
* <div v-element-clickoutside="show = false">
* ```
*/
var index = {
id: 'clickoutside',
bind: function bind() {
var _this = this;
this.handler = function (e) {
if (_this.vm && !_this.el.contains(e.target)) {
_this.vm.$eval(_this.expression);
}
};
document.addEventListener(this.arg || 'click', this.handler);
},
unbind: function unbind() {
document.removeEventListener(this.arg || 'click', this.handler);
},
install: function install(Vue) {
Vue.directive('clickoutside', {
bind: this.bind,
unbind: this.unbind
});
}
};
module.exports = index;
/***/ },
/***/ 41:
/***/ 40:
/***/ function(module, exports) {

@@ -354,3 +327,3 @@

/***/ 42:
/***/ 41:
/***/ function(module, exports) {

@@ -357,0 +330,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(27);
module.exports = __webpack_require__(26);

@@ -55,3 +55,3 @@

/***/ 25:
/***/ 24:
/***/ function(module, exports) {

@@ -63,3 +63,3 @@

/***/ 27:
/***/ 26:
/***/ function(module, exports, __webpack_require__) {

@@ -69,12 +69,13 @@

module.exports = __webpack_require__(28);
module.exports = __webpack_require__(27);
/***/ },
/***/ 28:
/***/ 27:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(29)
__vue_script__ = __webpack_require__(31)
var __vue_styles__ = {}
__webpack_require__(28)
__vue_script__ = __webpack_require__(30)
if (__vue_script__ &&

@@ -84,8 +85,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/cell/src/cell.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(32)
__vue_template__ = __webpack_require__(31)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -95,3 +102,3 @@

/***/ 29:
/***/ 28:
/***/ function(module, exports) {

@@ -103,3 +110,3 @@

/***/ 31:
/***/ 30:
/***/ function(module, exports, __webpack_require__) {

@@ -114,3 +121,3 @@

if (true) {
__webpack_require__(25);
__webpack_require__(24);
}

@@ -132,3 +139,3 @@

/***/ 32:
/***/ 31:
/***/ function(module, exports) {

@@ -135,0 +142,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(43);
module.exports = __webpack_require__(42);

@@ -55,3 +55,3 @@

/***/ 39:
/***/ 38:
/***/ function(module, exports) {

@@ -63,3 +63,3 @@

/***/ 41:
/***/ 40:
/***/ function(module, exports) {

@@ -71,3 +71,3 @@

/***/ 43:
/***/ 42:
/***/ function(module, exports, __webpack_require__) {

@@ -77,12 +77,13 @@

module.exports = __webpack_require__(44);
module.exports = __webpack_require__(43);
/***/ },
/***/ 44:
/***/ 43:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(45)
__vue_script__ = __webpack_require__(47)
var __vue_styles__ = {}
__webpack_require__(44)
__vue_script__ = __webpack_require__(46)
if (__vue_script__ &&

@@ -92,8 +93,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/checklist/src/checklist.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(48)
__vue_template__ = __webpack_require__(47)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -103,3 +110,3 @@

/***/ 45:
/***/ 44:
/***/ function(module, exports) {

@@ -111,3 +118,3 @@

/***/ 47:
/***/ 46:
/***/ function(module, exports, __webpack_require__) {

@@ -121,3 +128,3 @@

var _index = __webpack_require__(39);
var _index = __webpack_require__(38);

@@ -129,3 +136,3 @@ var _index2 = _interopRequireDefault(_index);

if (true) {
__webpack_require__(41);
__webpack_require__(40);
}

@@ -168,3 +175,3 @@

/***/ 48:
/***/ 47:
/***/ function(module, exports) {

@@ -171,0 +178,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(49);
module.exports = __webpack_require__(48);

@@ -55,3 +55,3 @@

/***/ 49:
/***/ 48:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(50);
module.exports = __webpack_require__(49);
/***/ },
/***/ 50:
/***/ 49:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(51)
__vue_script__ = __webpack_require__(53)
var __vue_styles__ = {}
__webpack_require__(50)
__vue_script__ = __webpack_require__(52)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/datetime-picker/src/datetime-picker.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(58)
__vue_template__ = __webpack_require__(57)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 51:
/***/ 50:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 53:
/***/ 52:
/***/ function(module, exports, __webpack_require__) {

@@ -105,7 +112,7 @@

var _index = __webpack_require__(54);
var _index = __webpack_require__(53);
var _index2 = _interopRequireDefault(_index);
var _index3 = __webpack_require__(55);
var _index3 = __webpack_require__(54);

@@ -117,4 +124,4 @@ var _index4 = _interopRequireDefault(_index3);

if (true) {
__webpack_require__(55);
__webpack_require__(56);
__webpack_require__(57);
}

@@ -449,2 +456,5 @@

watch: {
value: function value() {
this.handleExceededValue();
},
rims: function rims(val, oldVal) {

@@ -474,3 +484,3 @@ var same = Object.keys(val).every(function (key) {

/***/ 54:
/***/ 53:
/***/ function(module, exports) {

@@ -482,3 +492,3 @@

/***/ 55:
/***/ 54:
/***/ function(module, exports) {

@@ -490,3 +500,3 @@

/***/ 56:
/***/ 55:
/***/ function(module, exports) {

@@ -498,3 +508,3 @@

/***/ 57:
/***/ 56:
/***/ function(module, exports) {

@@ -506,3 +516,3 @@

/***/ 58:
/***/ 57:
/***/ function(module, exports) {

@@ -509,0 +519,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(59);
module.exports = __webpack_require__(58);

@@ -55,3 +55,3 @@

/***/ 39:
/***/ 38:
/***/ function(module, exports) {

@@ -63,44 +63,10 @@

/***/ 40:
/***/ 39:
/***/ function(module, exports) {
'use strict';
module.exports = require("vue-clickoutside");
/**
* v-clickoutside
* @desc 点击元素外面才会触发的事件
* @example
* ```vue
* <div v-element-clickoutside="show = false">
* ```
*/
var index = {
id: 'clickoutside',
bind: function bind() {
var _this = this;
this.handler = function (e) {
if (_this.vm && !_this.el.contains(e.target)) {
_this.vm.$eval(_this.expression);
}
};
document.addEventListener(this.arg || 'click', this.handler);
},
unbind: function unbind() {
document.removeEventListener(this.arg || 'click', this.handler);
},
install: function install(Vue) {
Vue.directive('clickoutside', {
bind: this.bind,
unbind: this.unbind
});
}
};
module.exports = index;
/***/ },
/***/ 41:
/***/ 40:
/***/ function(module, exports) {

@@ -112,3 +78,3 @@

/***/ 59:
/***/ 58:
/***/ function(module, exports, __webpack_require__) {

@@ -118,12 +84,13 @@

module.exports = __webpack_require__(60);
module.exports = __webpack_require__(59);
/***/ },
/***/ 60:
/***/ 59:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(61)
__vue_script__ = __webpack_require__(63)
var __vue_styles__ = {}
__webpack_require__(60)
__vue_script__ = __webpack_require__(62)
if (__vue_script__ &&

@@ -133,8 +100,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/field/src/field.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(64)
__vue_template__ = __webpack_require__(63)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -144,3 +117,3 @@

/***/ 61:
/***/ 60:
/***/ function(module, exports) {

@@ -152,3 +125,3 @@

/***/ 63:
/***/ 62:
/***/ function(module, exports, __webpack_require__) {

@@ -162,7 +135,7 @@

var _index = __webpack_require__(39);
var _index = __webpack_require__(38);
var _index2 = _interopRequireDefault(_index);
var _vueClickoutside = __webpack_require__(40);
var _vueClickoutside = __webpack_require__(39);

@@ -174,3 +147,3 @@ var _vueClickoutside2 = _interopRequireDefault(_vueClickoutside);

if (true) {
__webpack_require__(41);
__webpack_require__(40);
}

@@ -214,3 +187,3 @@

if (this.disabled || this.readonly) return;
this.vulue = '';
this.value = '';
}

@@ -241,3 +214,3 @@ },

/***/ 64:
/***/ 63:
/***/ function(module, exports) {

@@ -244,0 +217,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(65);
module.exports = __webpack_require__(64);

@@ -55,3 +55,3 @@

/***/ 65:
/***/ 64:
/***/ function(module, exports) {

@@ -58,0 +58,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(68);
module.exports = __webpack_require__(67);

@@ -55,3 +55,3 @@

/***/ 68:
/***/ 67:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(69);
module.exports = __webpack_require__(68);
/***/ },
/***/ 69:
/***/ 68:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(70)
__vue_script__ = __webpack_require__(72)
var __vue_styles__ = {}
__webpack_require__(69)
__vue_script__ = __webpack_require__(71)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/header/src/header.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(73)
__vue_template__ = __webpack_require__(72)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 70:
/***/ 69:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 72:
/***/ 71:
/***/ function(module, exports) {

@@ -115,3 +122,3 @@

/***/ 73:
/***/ 72:
/***/ function(module, exports) {

@@ -118,0 +125,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(74);
module.exports = __webpack_require__(73);

@@ -55,3 +55,3 @@

/***/ 74:
/***/ 73:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(75);
module.exports = __webpack_require__(74);
/***/ },
/***/ 75:
/***/ 74:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(76)
__vue_script__ = __webpack_require__(78)
var __vue_styles__ = {}
__webpack_require__(75)
__vue_script__ = __webpack_require__(77)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/index-list/src/index-list.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(79)
__vue_template__ = __webpack_require__(78)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 76:
/***/ 75:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 78:
/***/ 77:
/***/ function(module, exports) {

@@ -202,3 +209,3 @@

/***/ 79:
/***/ 78:
/***/ function(module, exports) {

@@ -205,0 +212,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(80);
module.exports = __webpack_require__(79);

@@ -55,3 +55,3 @@

/***/ 80:
/***/ 79:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(81);
module.exports = __webpack_require__(80);
/***/ },
/***/ 81:
/***/ 80:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(82)
__vue_script__ = __webpack_require__(84)
var __vue_styles__ = {}
__webpack_require__(81)
__vue_script__ = __webpack_require__(83)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/index-section/src/index-section.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(85)
__vue_template__ = __webpack_require__(84)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 82:
/***/ 81:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 84:
/***/ 83:
/***/ function(module, exports) {

@@ -127,3 +134,3 @@

/***/ 85:
/***/ 84:
/***/ function(module, exports) {

@@ -130,0 +137,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(86);
module.exports = __webpack_require__(85);

@@ -55,10 +55,3 @@

/***/ 9:
/***/ function(module, exports) {
module.exports = require("vue");
/***/ },
/***/ 86:
/***/ 85:
/***/ function(module, exports, __webpack_require__) {

@@ -68,3 +61,3 @@

var _vue = __webpack_require__(9);
var _vue = __webpack_require__(86);

@@ -110,10 +103,8 @@ var _vue2 = _interopRequireDefault(_vue);

if (instance) {
_vue2.default.nextTick(function () {
instance.visible = false;
timer = setTimeout(function () {
if (instance.$el) {
instance.$el.style.display = 'none';
}
}, 400);
});
instance.visible = false;
timer = setTimeout(function () {
if (instance.$el) {
instance.$el.style.display = 'none';
}
}, 400);
}

@@ -125,2 +116,9 @@ }

/***/ 86:
/***/ function(module, exports) {
module.exports = require("vue");
/***/ },
/***/ 87:

@@ -137,2 +135,3 @@ /***/ function(module, exports) {

var __vue_script__, __vue_template__
var __vue_styles__ = {}
__vue_script__ = __webpack_require__(90)

@@ -146,5 +145,11 @@ if (__vue_script__ &&

if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -151,0 +156,0 @@

@@ -79,219 +79,6 @@ module.exports =

/***/ 96:
/***/ function(module, exports, __webpack_require__) {
/***/ function(module, exports) {
(function (global, factory) {
true ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.infiniteScroll = global.infiniteScroll || {})));
}(this, function (exports) { 'use strict';
module.exports = require("vue-infinite-scroll");
var throttle = function throttle(fn, delay) {
var now, lastExec, timer, context, args; //eslint-disable-line
var execute = function execute() {
fn.apply(context, args);
lastExec = now;
};
return function () {
context = this;
args = arguments;
now = Date.now();
if (timer) {
clearTimeout(timer);
timer = null;
}
if (lastExec) {
var diff = delay - (now - lastExec);
if (diff < 0) {
execute();
} else {
timer = setTimeout(function () {
execute();
}, diff);
}
} else {
execute();
}
};
};
var getScrollTop = function getScrollTop(element) {
if (element === window) {
return Math.max(window.pageYOffset || 0, document.documentElement.scrollTop);
}
return element.scrollTop;
};
var getComputedStyle = document.defaultView.getComputedStyle;
var getScrollEventTarget = function getScrollEventTarget(element) {
var currentNode = element;
// bugfix, see http://w3help.org/zh-cn/causes/SD9013 and http://stackoverflow.com/questions/17016740/onscroll-function-is-not-working-for-chrome
while (currentNode && currentNode.tagName !== 'HTML' && currentNode.tagName !== 'BODY' && currentNode.nodeType === 1) {
var overflowY = getComputedStyle(currentNode).overflowY;
if (overflowY === 'scroll' || overflowY === 'auto') {
return currentNode;
}
currentNode = currentNode.parentNode;
}
return window;
};
var getVisibleHeight = function getVisibleHeight(element) {
if (element === window) {
return document.documentElement.clientHeight;
}
return element.clientHeight;
};
var getElementTop = function getElementTop(element) {
if (element === window) {
return getScrollTop(window);
}
return element.getBoundingClientRect().top + getScrollTop(window);
};
var isAttached = function isAttached(element) {
var currentNode = element.parentNode;
while (currentNode) {
if (currentNode.tagName === 'HTML') {
return true;
}
if (currentNode.nodeType === 11) {
return false;
}
currentNode = currentNode.parentNode;
}
return false;
};
var infiniteScroll = {
doBind: function doBind() {
if (this.binded) return; // eslint-disable-line
this.binded = true;
var directive = this;
var element = directive.el;
directive.scrollEventTarget = getScrollEventTarget(element);
directive.scrollListener = throttle(directive.doCheck.bind(directive), 200);
directive.scrollEventTarget.addEventListener('scroll', directive.scrollListener);
var disabledExpr = element.getAttribute('infinite-scroll-disabled');
var disabled = false;
if (disabledExpr) {
this.vm.$watch(disabledExpr, function (value) {
directive.disabled = value;
if (!value && directive.immediateCheck) {
directive.doCheck();
}
});
disabled = Boolean(directive.vm.$get(disabledExpr));
}
directive.disabled = disabled;
var distanceExpr = element.getAttribute('infinite-scroll-distance');
var distance = 0;
if (distanceExpr) {
distance = Number(directive.vm.$get(distanceExpr));
if (isNaN(distance)) {
distance = 0;
}
}
directive.distance = distance;
var immediateCheckExpr = element.getAttribute('infinite-scroll-immediate-check');
var immediateCheck = true;
if (immediateCheckExpr) {
immediateCheck = Boolean(directive.vm.$get(immediateCheckExpr));
}
directive.immediateCheck = immediateCheck;
if (immediateCheck) {
directive.doCheck();
}
var eventName = element.getAttribute('infinite-scroll-listen-for-event');
if (eventName) {
directive.vm.$on(eventName, function () {
directive.doCheck();
});
}
},
doCheck: function doCheck(force) {
var scrollEventTarget = this.scrollEventTarget;
var element = this.el;
var distance = this.distance;
if (force !== true && this.disabled) return; //eslint-disable-line
var viewportScrollTop = getScrollTop(scrollEventTarget);
var viewportBottom = viewportScrollTop + getVisibleHeight(scrollEventTarget);
var shouldTrigger = false;
if (scrollEventTarget === element) {
shouldTrigger = scrollEventTarget.scrollHeight - viewportBottom <= distance;
} else {
var elementBottom = getElementTop(element) - getElementTop(scrollEventTarget) + element.offsetHeight + viewportScrollTop;
shouldTrigger = viewportBottom + distance >= elementBottom;
}
if (shouldTrigger && this.expression) {
this.vm.$get(this.expression);
}
},
bind: function bind() {
var directive = this;
var element = this.el;
directive.vm.$on('hook:ready', function () {
if (isAttached(element)) {
directive.doBind();
}
});
this.bindTryCount = 0;
var tryBind = function tryBind() {
if (directive.bindTryCount > 10) return; //eslint-disable-line
directive.bindTryCount++;
if (isAttached(element)) {
directive.doBind();
} else {
setTimeout(tryBind, 50);
}
};
tryBind();
},
unbind: function unbind() {
this.scrollEventTarget.removeEventListener('scroll', this.scrollListener);
}
};
if (window.Vue) {
window.infiniteScroll = infiniteScroll;
Vue.use(install);
}
function install(Vue) {
Vue.directive('infiniteScroll', infiniteScroll);
}
exports.install = install;
exports.infiniteScroll = infiniteScroll;
}));
/***/ },

@@ -298,0 +85,0 @@

@@ -89,1602 +89,8 @@ module.exports =

/***/ 101:
/***/ function(module, exports, __webpack_require__) {
'use strict';
var Promise = __webpack_require__(102).Promise;
if (!Array.prototype.find) {
Array.prototype.find = function (predicate) {
'use strict';
if (this == null) {
throw new TypeError('Array.prototype.find called on null or undefined');
}
if (typeof predicate !== 'function') {
throw new TypeError('predicate must be a function');
}
var list = Object(this);
var length = list.length >>> 0;
var thisArg = arguments[1];
var value;
for (var i = 0; i < length; i++) {
value = list[i];
if (predicate.call(thisArg, value, i, list)) {
return value;
}
}
return undefined;
};
}
exports.install = function (Vue, Options) {
var isVueNext = Vue.version.split('.')[0] === '2';
var DEFAULT_PRE = 1.3;
var DEFAULT_URL = 'data:img/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEXs7Oxc9QatAAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg==';
if (!Options) {
Options = {
preLoad: DEFAULT_PRE,
error: DEFAULT_URL,
loading: DEFAULT_URL,
try: 3
};
}
var Init = {
preLoad: Options.preLoad || DEFAULT_PRE,
error: Options.error ? Options.error : DEFAULT_URL,
loading: Options.loading ? Options.loading : DEFAULT_URL,
hasbind: false,
try: Options.try ? Options.try : 1
};
var Listeners = [];
var Loaded = [];
var throttle = function throttle(action, delay) {
var timeout = null;
var lastRun = 0;
return function () {
if (timeout) {
return;
}
var elapsed = +new Date() - lastRun;
var context = this;
var args = arguments;
var runCallback = function runCallback() {
lastRun = +new Date();
timeout = false;
action.apply(context, args);
};
if (elapsed >= delay) {
runCallback();
} else {
timeout = setTimeout(runCallback, delay);
}
};
};
var _ = {
on: function on(el, type, func) {
el.addEventListener(type, func);
},
off: function off(el, type, func) {
el.removeEventListener(type, func);
}
};
var lazyLoadHandler = throttle(function () {
for (var i = 0, len = Listeners.length; i < len; ++i) {
checkCanShow(Listeners[i]);
}
}, 300);
var onListen = function onListen(el, start) {
if (start) {
_.on(el, 'scroll', lazyLoadHandler);
_.on(el, 'wheel', lazyLoadHandler);
_.on(el, 'mousewheel', lazyLoadHandler);
_.on(el, 'resize', lazyLoadHandler);
_.on(el, 'animationend', lazyLoadHandler);
_.on(el, 'transitionend', lazyLoadHandler);
} else {
Init.hasbind = false;
_.off(el, 'scroll', lazyLoadHandler);
_.off(el, 'wheel', lazyLoadHandler);
_.off(el, 'mousewheel', lazyLoadHandler);
_.off(el, 'resize', lazyLoadHandler);
_.off(el, 'animationend', lazyLoadHandler);
_.off(el, 'transitionend', lazyLoadHandler);
}
};
var checkCanShow = function checkCanShow(listener) {
if (Loaded.indexOf(listener.src) > -1) return setElRender(listener.el, listener.bindType, listener.src, 'loaded');
var rect = listener.el.getBoundingClientRect();
if (rect.top < window.innerHeight * Init.preLoad && rect.bottom > 0) {
render(listener);
}
};
var setElRender = function setElRender(el, bindType, src, state) {
if (!bindType) {
el.setAttribute('src', src);
} else {
el.setAttribute('style', bindType + ': url(' + src + ')');
}
el.setAttribute('lazy', state);
};
var render = function render(item) {
if (item.try >= Init.try) {
return false;
}
item.try++;
loadImageAsync(item).then(function (url) {
var index = Listeners.indexOf(item);
if (index !== -1) {
Listeners.splice(index, 1);
}
setElRender(item.el, item.bindType, item.src, 'loaded');
Loaded.push(item.src);
}).catch(function (error) {
setElRender(item.el, item.bindType, Init.error, 'error');
});
};
var loadImageAsync = function loadImageAsync(item) {
return new Promise(function (resolve, reject) {
var image = new Image();
image.src = item.src;
image.onload = function () {
resolve(item.src);
};
image.onerror = function () {
reject();
};
});
};
var componentWillUnmount = function componentWillUnmount(el, binding, vnode, OldVnode) {
if (!el) return;
for (var i = 0, len = Listeners.length; i < len; i++) {
if (Listeners[i] && Listeners[i].el === el) {
Listeners.splice(i, 1);
}
}
if (Init.hasbind && Listeners.length == 0) {
onListen(window, false);
}
};
var addListener = function addListener(el, binding, vnode) {
if (el.getAttribute('lazy') === 'loaded') return;
var hasIt = Listeners.find(function (item) {
return item.el === el;
});
if (hasIt) {
return Vue.nextTick(function () {
setTimeout(function () {
lazyLoadHandler();
}, 0);
});
}
var parentEl = null;
if (binding.modifiers) {
parentEl = window.document.getElementById(Object.keys(binding.modifiers)[0]);
}
setElRender(el, binding.arg, Init.loading, 'loading');
Vue.nextTick(function () {
Listeners.push({
bindType: binding.arg,
try: 0,
parentEl: parentEl,
el: el,
src: binding.value
});
lazyLoadHandler();
if (Listeners.length > 0 && !Init.hasbind) {
Init.hasbind = true;
onListen(window, true);
}
if (parentEl) {
onListen(parentEl, true);
}
});
};
if (isVueNext) {
Vue.directive('lazy', {
bind: addListener,
update: addListener,
componentUpdated: lazyLoadHandler,
unbind: componentWillUnmount
});
} else {
Vue.directive('lazy', {
bind: function bind() {},
update: function update(newValue, oldValue) {
addListener(this.el, {
modifiers: this.modifiers,
arg: this.arg,
value: newValue,
oldValue: oldValue
});
},
unbind: function unbind() {
componentWillUnmount(this.el);
}
});
}
};
/***/ },
/***/ 102:
/***/ function(module, exports, __webpack_require__) {
var require;/* WEBPACK VAR INJECTION */(function(process, global) {/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version 3.3.1
*/
(function (global, factory) {
true ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.ES6Promise = factory());
}(this, (function () { 'use strict';
function objectOrFunction(x) {
return typeof x === 'function' || typeof x === 'object' && x !== null;
}
function isFunction(x) {
return typeof x === 'function';
}
var _isArray = undefined;
if (!Array.isArray) {
_isArray = function (x) {
return Object.prototype.toString.call(x) === '[object Array]';
};
} else {
_isArray = Array.isArray;
}
var isArray = _isArray;
var len = 0;
var vertxNext = undefined;
var customSchedulerFn = undefined;
var asap = function asap(callback, arg) {
queue[len] = callback;
queue[len + 1] = arg;
len += 2;
if (len === 2) {
// If len is 2, that means that we need to schedule an async flush.
// If additional callbacks are queued before the queue is flushed, they
// will be processed by this flush that we are scheduling.
if (customSchedulerFn) {
customSchedulerFn(flush);
} else {
scheduleFlush();
}
}
};
function setScheduler(scheduleFn) {
customSchedulerFn = scheduleFn;
}
function setAsap(asapFn) {
asap = asapFn;
}
var browserWindow = typeof window !== 'undefined' ? window : undefined;
var browserGlobal = browserWindow || {};
var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;
var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && ({}).toString.call(process) === '[object process]';
// test for web worker but not in IE10
var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';
// node
function useNextTick() {
// node version 0.10.x displays a deprecation warning when nextTick is used recursively
// see https://github.com/cujojs/when/issues/410 for details
return function () {
return process.nextTick(flush);
};
}
// vertx
function useVertxTimer() {
return function () {
vertxNext(flush);
};
}
function useMutationObserver() {
var iterations = 0;
var observer = new BrowserMutationObserver(flush);
var node = document.createTextNode('');
observer.observe(node, { characterData: true });
return function () {
node.data = iterations = ++iterations % 2;
};
}
// web worker
function useMessageChannel() {
var channel = new MessageChannel();
channel.port1.onmessage = flush;
return function () {
return channel.port2.postMessage(0);
};
}
function useSetTimeout() {
// Store setTimeout reference so es6-promise will be unaffected by
// other code modifying setTimeout (like sinon.useFakeTimers())
var globalSetTimeout = setTimeout;
return function () {
return globalSetTimeout(flush, 1);
};
}
var queue = new Array(1000);
function flush() {
for (var i = 0; i < len; i += 2) {
var callback = queue[i];
var arg = queue[i + 1];
callback(arg);
queue[i] = undefined;
queue[i + 1] = undefined;
}
len = 0;
}
function attemptVertx() {
try {
var r = require;
var vertx = __webpack_require__(104);
vertxNext = vertx.runOnLoop || vertx.runOnContext;
return useVertxTimer();
} catch (e) {
return useSetTimeout();
}
}
var scheduleFlush = undefined;
// Decide what async method to use to triggering processing of queued callbacks:
if (isNode) {
scheduleFlush = useNextTick();
} else if (BrowserMutationObserver) {
scheduleFlush = useMutationObserver();
} else if (isWorker) {
scheduleFlush = useMessageChannel();
} else if (browserWindow === undefined && "function" === 'function') {
scheduleFlush = attemptVertx();
} else {
scheduleFlush = useSetTimeout();
}
function then(onFulfillment, onRejection) {
var _arguments = arguments;
var parent = this;
var child = new this.constructor(noop);
if (child[PROMISE_ID] === undefined) {
makePromise(child);
}
var _state = parent._state;
if (_state) {
(function () {
var callback = _arguments[_state - 1];
asap(function () {
return invokeCallback(_state, child, callback, parent._result);
});
})();
} else {
subscribe(parent, child, onFulfillment, onRejection);
}
return child;
}
/**
`Promise.resolve` returns a promise that will become resolved with the
passed `value`. It is shorthand for the following:
```javascript
let promise = new Promise(function(resolve, reject){
resolve(1);
});
promise.then(function(value){
// value === 1
});
```
Instead of writing the above, your code now simply becomes the following:
```javascript
let promise = Promise.resolve(1);
promise.then(function(value){
// value === 1
});
```
@method resolve
@static
@param {Any} value value that the returned promise will be resolved with
Useful for tooling.
@return {Promise} a promise that will become fulfilled with the given
`value`
*/
function resolve(object) {
/*jshint validthis:true */
var Constructor = this;
if (object && typeof object === 'object' && object.constructor === Constructor) {
return object;
}
var promise = new Constructor(noop);
_resolve(promise, object);
return promise;
}
var PROMISE_ID = Math.random().toString(36).substring(16);
function noop() {}
var PENDING = void 0;
var FULFILLED = 1;
var REJECTED = 2;
var GET_THEN_ERROR = new ErrorObject();
function selfFulfillment() {
return new TypeError("You cannot resolve a promise with itself");
}
function cannotReturnOwn() {
return new TypeError('A promises callback cannot return that same promise.');
}
function getThen(promise) {
try {
return promise.then;
} catch (error) {
GET_THEN_ERROR.error = error;
return GET_THEN_ERROR;
}
}
function tryThen(then, value, fulfillmentHandler, rejectionHandler) {
try {
then.call(value, fulfillmentHandler, rejectionHandler);
} catch (e) {
return e;
}
}
function handleForeignThenable(promise, thenable, then) {
asap(function (promise) {
var sealed = false;
var error = tryThen(then, thenable, function (value) {
if (sealed) {
return;
}
sealed = true;
if (thenable !== value) {
_resolve(promise, value);
} else {
fulfill(promise, value);
}
}, function (reason) {
if (sealed) {
return;
}
sealed = true;
_reject(promise, reason);
}, 'Settle: ' + (promise._label || ' unknown promise'));
if (!sealed && error) {
sealed = true;
_reject(promise, error);
}
}, promise);
}
function handleOwnThenable(promise, thenable) {
if (thenable._state === FULFILLED) {
fulfill(promise, thenable._result);
} else if (thenable._state === REJECTED) {
_reject(promise, thenable._result);
} else {
subscribe(thenable, undefined, function (value) {
return _resolve(promise, value);
}, function (reason) {
return _reject(promise, reason);
});
}
}
function handleMaybeThenable(promise, maybeThenable, then$$) {
if (maybeThenable.constructor === promise.constructor && then$$ === then && maybeThenable.constructor.resolve === resolve) {
handleOwnThenable(promise, maybeThenable);
} else {
if (then$$ === GET_THEN_ERROR) {
_reject(promise, GET_THEN_ERROR.error);
} else if (then$$ === undefined) {
fulfill(promise, maybeThenable);
} else if (isFunction(then$$)) {
handleForeignThenable(promise, maybeThenable, then$$);
} else {
fulfill(promise, maybeThenable);
}
}
}
function _resolve(promise, value) {
if (promise === value) {
_reject(promise, selfFulfillment());
} else if (objectOrFunction(value)) {
handleMaybeThenable(promise, value, getThen(value));
} else {
fulfill(promise, value);
}
}
function publishRejection(promise) {
if (promise._onerror) {
promise._onerror(promise._result);
}
publish(promise);
}
function fulfill(promise, value) {
if (promise._state !== PENDING) {
return;
}
promise._result = value;
promise._state = FULFILLED;
if (promise._subscribers.length !== 0) {
asap(publish, promise);
}
}
function _reject(promise, reason) {
if (promise._state !== PENDING) {
return;
}
promise._state = REJECTED;
promise._result = reason;
asap(publishRejection, promise);
}
function subscribe(parent, child, onFulfillment, onRejection) {
var _subscribers = parent._subscribers;
var length = _subscribers.length;
parent._onerror = null;
_subscribers[length] = child;
_subscribers[length + FULFILLED] = onFulfillment;
_subscribers[length + REJECTED] = onRejection;
if (length === 0 && parent._state) {
asap(publish, parent);
}
}
function publish(promise) {
var subscribers = promise._subscribers;
var settled = promise._state;
if (subscribers.length === 0) {
return;
}
var child = undefined,
callback = undefined,
detail = promise._result;
for (var i = 0; i < subscribers.length; i += 3) {
child = subscribers[i];
callback = subscribers[i + settled];
if (child) {
invokeCallback(settled, child, callback, detail);
} else {
callback(detail);
}
}
promise._subscribers.length = 0;
}
function ErrorObject() {
this.error = null;
}
var TRY_CATCH_ERROR = new ErrorObject();
function tryCatch(callback, detail) {
try {
return callback(detail);
} catch (e) {
TRY_CATCH_ERROR.error = e;
return TRY_CATCH_ERROR;
}
}
function invokeCallback(settled, promise, callback, detail) {
var hasCallback = isFunction(callback),
value = undefined,
error = undefined,
succeeded = undefined,
failed = undefined;
if (hasCallback) {
value = tryCatch(callback, detail);
if (value === TRY_CATCH_ERROR) {
failed = true;
error = value.error;
value = null;
} else {
succeeded = true;
}
if (promise === value) {
_reject(promise, cannotReturnOwn());
return;
}
} else {
value = detail;
succeeded = true;
}
if (promise._state !== PENDING) {
// noop
} else if (hasCallback && succeeded) {
_resolve(promise, value);
} else if (failed) {
_reject(promise, error);
} else if (settled === FULFILLED) {
fulfill(promise, value);
} else if (settled === REJECTED) {
_reject(promise, value);
}
}
function initializePromise(promise, resolver) {
try {
resolver(function resolvePromise(value) {
_resolve(promise, value);
}, function rejectPromise(reason) {
_reject(promise, reason);
});
} catch (e) {
_reject(promise, e);
}
}
var id = 0;
function nextId() {
return id++;
}
function makePromise(promise) {
promise[PROMISE_ID] = id++;
promise._state = undefined;
promise._result = undefined;
promise._subscribers = [];
}
function Enumerator(Constructor, input) {
this._instanceConstructor = Constructor;
this.promise = new Constructor(noop);
if (!this.promise[PROMISE_ID]) {
makePromise(this.promise);
}
if (isArray(input)) {
this._input = input;
this.length = input.length;
this._remaining = input.length;
this._result = new Array(this.length);
if (this.length === 0) {
fulfill(this.promise, this._result);
} else {
this.length = this.length || 0;
this._enumerate();
if (this._remaining === 0) {
fulfill(this.promise, this._result);
}
}
} else {
_reject(this.promise, validationError());
}
}
function validationError() {
return new Error('Array Methods must be provided an Array');
};
Enumerator.prototype._enumerate = function () {
var length = this.length;
var _input = this._input;
for (var i = 0; this._state === PENDING && i < length; i++) {
this._eachEntry(_input[i], i);
}
};
Enumerator.prototype._eachEntry = function (entry, i) {
var c = this._instanceConstructor;
var resolve$$ = c.resolve;
if (resolve$$ === resolve) {
var _then = getThen(entry);
if (_then === then && entry._state !== PENDING) {
this._settledAt(entry._state, i, entry._result);
} else if (typeof _then !== 'function') {
this._remaining--;
this._result[i] = entry;
} else if (c === Promise) {
var promise = new c(noop);
handleMaybeThenable(promise, entry, _then);
this._willSettleAt(promise, i);
} else {
this._willSettleAt(new c(function (resolve$$) {
return resolve$$(entry);
}), i);
}
} else {
this._willSettleAt(resolve$$(entry), i);
}
};
Enumerator.prototype._settledAt = function (state, i, value) {
var promise = this.promise;
if (promise._state === PENDING) {
this._remaining--;
if (state === REJECTED) {
_reject(promise, value);
} else {
this._result[i] = value;
}
}
if (this._remaining === 0) {
fulfill(promise, this._result);
}
};
Enumerator.prototype._willSettleAt = function (promise, i) {
var enumerator = this;
subscribe(promise, undefined, function (value) {
return enumerator._settledAt(FULFILLED, i, value);
}, function (reason) {
return enumerator._settledAt(REJECTED, i, reason);
});
};
/**
`Promise.all` accepts an array of promises, and returns a new promise which
is fulfilled with an array of fulfillment values for the passed promises, or
rejected with the reason of the first passed promise to be rejected. It casts all
elements of the passed iterable to promises as it runs this algorithm.
Example:
```javascript
let promise1 = resolve(1);
let promise2 = resolve(2);
let promise3 = resolve(3);
let promises = [ promise1, promise2, promise3 ];
Promise.all(promises).then(function(array){
// The array here would be [ 1, 2, 3 ];
});
```
If any of the `promises` given to `all` are rejected, the first promise
that is rejected will be given as an argument to the returned promises's
rejection handler. For example:
Example:
```javascript
let promise1 = resolve(1);
let promise2 = reject(new Error("2"));
let promise3 = reject(new Error("3"));
let promises = [ promise1, promise2, promise3 ];
Promise.all(promises).then(function(array){
// Code here never runs because there are rejected promises!
}, function(error) {
// error.message === "2"
});
```
@method all
@static
@param {Array} entries array of promises
@param {String} label optional string for labeling the promise.
Useful for tooling.
@return {Promise} promise that is fulfilled when all `promises` have been
fulfilled, or rejected if any of them become rejected.
@static
*/
function all(entries) {
return new Enumerator(this, entries).promise;
}
/**
`Promise.race` returns a new promise which is settled in the same way as the
first passed promise to settle.
Example:
```javascript
let promise1 = new Promise(function(resolve, reject){
setTimeout(function(){
resolve('promise 1');
}, 200);
});
let promise2 = new Promise(function(resolve, reject){
setTimeout(function(){
resolve('promise 2');
}, 100);
});
Promise.race([promise1, promise2]).then(function(result){
// result === 'promise 2' because it was resolved before promise1
// was resolved.
});
```
`Promise.race` is deterministic in that only the state of the first
settled promise matters. For example, even if other promises given to the
`promises` array argument are resolved, but the first settled promise has
become rejected before the other promises became fulfilled, the returned
promise will become rejected:
```javascript
let promise1 = new Promise(function(resolve, reject){
setTimeout(function(){
resolve('promise 1');
}, 200);
});
let promise2 = new Promise(function(resolve, reject){
setTimeout(function(){
reject(new Error('promise 2'));
}, 100);
});
Promise.race([promise1, promise2]).then(function(result){
// Code here never runs
}, function(reason){
// reason.message === 'promise 2' because promise 2 became rejected before
// promise 1 became fulfilled
});
```
An example real-world use case is implementing timeouts:
```javascript
Promise.race([ajax('foo.json'), timeout(5000)])
```
@method race
@static
@param {Array} promises array of promises to observe
Useful for tooling.
@return {Promise} a promise which settles in the same way as the first passed
promise to settle.
*/
function race(entries) {
/*jshint validthis:true */
var Constructor = this;
if (!isArray(entries)) {
return new Constructor(function (_, reject) {
return reject(new TypeError('You must pass an array to race.'));
});
} else {
return new Constructor(function (resolve, reject) {
var length = entries.length;
for (var i = 0; i < length; i++) {
Constructor.resolve(entries[i]).then(resolve, reject);
}
});
}
}
/**
`Promise.reject` returns a promise rejected with the passed `reason`.
It is shorthand for the following:
```javascript
let promise = new Promise(function(resolve, reject){
reject(new Error('WHOOPS'));
});
promise.then(function(value){
// Code here doesn't run because the promise is rejected!
}, function(reason){
// reason.message === 'WHOOPS'
});
```
Instead of writing the above, your code now simply becomes the following:
```javascript
let promise = Promise.reject(new Error('WHOOPS'));
promise.then(function(value){
// Code here doesn't run because the promise is rejected!
}, function(reason){
// reason.message === 'WHOOPS'
});
```
@method reject
@static
@param {Any} reason value that the returned promise will be rejected with.
Useful for tooling.
@return {Promise} a promise rejected with the given `reason`.
*/
function reject(reason) {
/*jshint validthis:true */
var Constructor = this;
var promise = new Constructor(noop);
_reject(promise, reason);
return promise;
}
function needsResolver() {
throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');
}
function needsNew() {
throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
}
/**
Promise objects represent the eventual result of an asynchronous operation. The
primary way of interacting with a promise is through its `then` method, which
registers callbacks to receive either a promise's eventual value or the reason
why the promise cannot be fulfilled.
Terminology
-----------
- `promise` is an object or function with a `then` method whose behavior conforms to this specification.
- `thenable` is an object or function that defines a `then` method.
- `value` is any legal JavaScript value (including undefined, a thenable, or a promise).
- `exception` is a value that is thrown using the throw statement.
- `reason` is a value that indicates why a promise was rejected.
- `settled` the final resting state of a promise, fulfilled or rejected.
A promise can be in one of three states: pending, fulfilled, or rejected.
Promises that are fulfilled have a fulfillment value and are in the fulfilled
state. Promises that are rejected have a rejection reason and are in the
rejected state. A fulfillment value is never a thenable.
Promises can also be said to *resolve* a value. If this value is also a
promise, then the original promise's settled state will match the value's
settled state. So a promise that *resolves* a promise that rejects will
itself reject, and a promise that *resolves* a promise that fulfills will
itself fulfill.
Basic Usage:
------------
```js
let promise = new Promise(function(resolve, reject) {
// on success
resolve(value);
// on failure
reject(reason);
});
promise.then(function(value) {
// on fulfillment
}, function(reason) {
// on rejection
});
```
Advanced Usage:
---------------
Promises shine when abstracting away asynchronous interactions such as
`XMLHttpRequest`s.
```js
function getJSON(url) {
return new Promise(function(resolve, reject){
let xhr = new XMLHttpRequest();
xhr.open('GET', url);
xhr.onreadystatechange = handler;
xhr.responseType = 'json';
xhr.setRequestHeader('Accept', 'application/json');
xhr.send();
function handler() {
if (this.readyState === this.DONE) {
if (this.status === 200) {
resolve(this.response);
} else {
reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));
}
}
};
});
}
getJSON('/posts.json').then(function(json) {
// on fulfillment
}, function(reason) {
// on rejection
});
```
Unlike callbacks, promises are great composable primitives.
```js
Promise.all([
getJSON('/posts'),
getJSON('/comments')
]).then(function(values){
values[0] // => postsJSON
values[1] // => commentsJSON
return values;
});
```
@class Promise
@param {function} resolver
Useful for tooling.
@constructor
*/
function Promise(resolver) {
this[PROMISE_ID] = nextId();
this._result = this._state = undefined;
this._subscribers = [];
if (noop !== resolver) {
typeof resolver !== 'function' && needsResolver();
this instanceof Promise ? initializePromise(this, resolver) : needsNew();
}
}
Promise.all = all;
Promise.race = race;
Promise.resolve = resolve;
Promise.reject = reject;
Promise._setScheduler = setScheduler;
Promise._setAsap = setAsap;
Promise._asap = asap;
Promise.prototype = {
constructor: Promise,
/**
The primary way of interacting with a promise is through its `then` method,
which registers callbacks to receive either a promise's eventual value or the
reason why the promise cannot be fulfilled.
```js
findUser().then(function(user){
// user is available
}, function(reason){
// user is unavailable, and you are given the reason why
});
```
Chaining
--------
The return value of `then` is itself a promise. This second, 'downstream'
promise is resolved with the return value of the first promise's fulfillment
or rejection handler, or rejected if the handler throws an exception.
```js
findUser().then(function (user) {
return user.name;
}, function (reason) {
return 'default name';
}).then(function (userName) {
// If `findUser` fulfilled, `userName` will be the user's name, otherwise it
// will be `'default name'`
});
findUser().then(function (user) {
throw new Error('Found user, but still unhappy');
}, function (reason) {
throw new Error('`findUser` rejected and we're unhappy');
}).then(function (value) {
// never reached
}, function (reason) {
// if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.
// If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'.
});
```
If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.
```js
findUser().then(function (user) {
throw new PedagogicalException('Upstream error');
}).then(function (value) {
// never reached
}).then(function (value) {
// never reached
}, function (reason) {
// The `PedgagocialException` is propagated all the way down to here
});
```
Assimilation
------------
Sometimes the value you want to propagate to a downstream promise can only be
retrieved asynchronously. This can be achieved by returning a promise in the
fulfillment or rejection handler. The downstream promise will then be pending
until the returned promise is settled. This is called *assimilation*.
```js
findUser().then(function (user) {
return findCommentsByAuthor(user);
}).then(function (comments) {
// The user's comments are now available
});
```
If the assimliated promise rejects, then the downstream promise will also reject.
```js
findUser().then(function (user) {
return findCommentsByAuthor(user);
}).then(function (comments) {
// If `findCommentsByAuthor` fulfills, we'll have the value here
}, function (reason) {
// If `findCommentsByAuthor` rejects, we'll have the reason here
});
```
Simple Example
--------------
Synchronous Example
```javascript
let result;
try {
result = findResult();
// success
} catch(reason) {
// failure
}
```
Errback Example
```js
findResult(function(result, err){
if (err) {
// failure
} else {
// success
}
});
```
Promise Example;
```javascript
findResult().then(function(result){
// success
}, function(reason){
// failure
});
```
Advanced Example
--------------
Synchronous Example
```javascript
let author, books;
try {
author = findAuthor();
books = findBooksByAuthor(author);
// success
} catch(reason) {
// failure
}
```
Errback Example
```js
function foundBooks(books) {
}
function failure(reason) {
}
findAuthor(function(author, err){
if (err) {
failure(err);
// failure
} else {
try {
findBoooksByAuthor(author, function(books, err) {
if (err) {
failure(err);
} else {
try {
foundBooks(books);
} catch(reason) {
failure(reason);
}
}
});
} catch(error) {
failure(err);
}
// success
}
});
```
Promise Example;
```javascript
findAuthor().
then(findBooksByAuthor).
then(function(books){
// found books
}).catch(function(reason){
// something went wrong
});
```
@method then
@param {Function} onFulfilled
@param {Function} onRejected
Useful for tooling.
@return {Promise}
*/
then: then,
/**
`catch` is simply sugar for `then(undefined, onRejection)` which makes it the same
as the catch block of a try/catch statement.
```js
function findAuthor(){
throw new Error('couldn't find that author');
}
// synchronous
try {
findAuthor();
} catch(reason) {
// something went wrong
}
// async with promises
findAuthor().catch(function(reason){
// something went wrong
});
```
@method catch
@param {Function} onRejection
Useful for tooling.
@return {Promise}
*/
'catch': function _catch(onRejection) {
return this.then(null, onRejection);
}
};
function polyfill() {
var local = undefined;
if (typeof global !== 'undefined') {
local = global;
} else if (typeof self !== 'undefined') {
local = self;
} else {
try {
local = Function('return this')();
} catch (e) {
throw new Error('polyfill failed because global object is unavailable in this environment');
}
}
var P = local.Promise;
if (P) {
var promiseToString = null;
try {
promiseToString = Object.prototype.toString.call(P.resolve());
} catch (e) {
// silently ignored
}
if (promiseToString === '[object Promise]' && !P.cast) {
return;
}
}
local.Promise = Promise;
}
polyfill();
// Strange compat..
Promise.polyfill = polyfill;
Promise.Promise = Promise;
return Promise;
})));
//# sourceMappingURL=es6-promise.map
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(103), (function() { return this; }())))
/***/ },
/***/ 103:
/***/ function(module, exports) {
// shim for using process in browser
var process = module.exports = {};
module.exports = require("vue-lazyload");
// cached from whatever global is present so that test runners that stub it
// don't break things. But we need to wrap it in a try catch in case it is
// wrapped in strict mode code which doesn't define any globals. It's inside a
// function because try/catches deoptimize in certain engines.
var cachedSetTimeout;
var cachedClearTimeout;
function defaultSetTimout() {
throw new Error('setTimeout has not been defined');
}
function defaultClearTimeout () {
throw new Error('clearTimeout has not been defined');
}
(function () {
try {
if (typeof setTimeout === 'function') {
cachedSetTimeout = setTimeout;
} else {
cachedSetTimeout = defaultSetTimout;
}
} catch (e) {
cachedSetTimeout = defaultSetTimout;
}
try {
if (typeof clearTimeout === 'function') {
cachedClearTimeout = clearTimeout;
} else {
cachedClearTimeout = defaultClearTimeout;
}
} catch (e) {
cachedClearTimeout = defaultClearTimeout;
}
} ())
function runTimeout(fun) {
if (cachedSetTimeout === setTimeout) {
//normal enviroments in sane situations
return setTimeout(fun, 0);
}
// if setTimeout wasn't available but was latter defined
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
cachedSetTimeout = setTimeout;
return setTimeout(fun, 0);
}
try {
// when when somebody has screwed with setTimeout but no I.E. maddness
return cachedSetTimeout(fun, 0);
} catch(e){
try {
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
return cachedSetTimeout.call(null, fun, 0);
} catch(e){
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
return cachedSetTimeout.call(this, fun, 0);
}
}
}
function runClearTimeout(marker) {
if (cachedClearTimeout === clearTimeout) {
//normal enviroments in sane situations
return clearTimeout(marker);
}
// if clearTimeout wasn't available but was latter defined
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
cachedClearTimeout = clearTimeout;
return clearTimeout(marker);
}
try {
// when when somebody has screwed with setTimeout but no I.E. maddness
return cachedClearTimeout(marker);
} catch (e){
try {
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
return cachedClearTimeout.call(null, marker);
} catch (e){
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
return cachedClearTimeout.call(this, marker);
}
}
}
var queue = [];
var draining = false;
var currentQueue;
var queueIndex = -1;
function cleanUpNextTick() {
if (!draining || !currentQueue) {
return;
}
draining = false;
if (currentQueue.length) {
queue = currentQueue.concat(queue);
} else {
queueIndex = -1;
}
if (queue.length) {
drainQueue();
}
}
function drainQueue() {
if (draining) {
return;
}
var timeout = runTimeout(cleanUpNextTick);
draining = true;
var len = queue.length;
while(len) {
currentQueue = queue;
queue = [];
while (++queueIndex < len) {
if (currentQueue) {
currentQueue[queueIndex].run();
}
}
queueIndex = -1;
len = queue.length;
}
currentQueue = null;
draining = false;
runClearTimeout(timeout);
}
process.nextTick = function (fun) {
var args = new Array(arguments.length - 1);
if (arguments.length > 1) {
for (var i = 1; i < arguments.length; i++) {
args[i - 1] = arguments[i];
}
}
queue.push(new Item(fun, args));
if (queue.length === 1 && !draining) {
runTimeout(drainQueue);
}
};
// v8 likes predictible objects
function Item(fun, array) {
this.fun = fun;
this.array = array;
}
Item.prototype.run = function () {
this.fun.apply(null, this.array);
};
process.title = 'browser';
process.browser = true;
process.env = {};
process.argv = [];
process.version = ''; // empty string to avoid regexp issues
process.versions = {};
function noop() {}
process.on = noop;
process.addListener = noop;
process.once = noop;
process.off = noop;
process.removeListener = noop;
process.removeAllListeners = noop;
process.emit = noop;
process.binding = function (name) {
throw new Error('process.binding is not supported');
};
process.cwd = function () { return '/' };
process.chdir = function (dir) {
throw new Error('process.chdir is not supported');
};
process.umask = function() { return 0; };
/***/ },
/***/ 104:
/***/ function(module, exports) {
/* (ignored) */
/***/ }
/******/ });

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(105);
module.exports = __webpack_require__(102);

@@ -55,3 +55,3 @@

/***/ 105:
/***/ 102:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(106);
module.exports = __webpack_require__(103);
/***/ },
/***/ 106:
/***/ 103:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(107)
__vue_script__ = __webpack_require__(109)
var __vue_styles__ = {}
__webpack_require__(104)
__vue_script__ = __webpack_require__(106)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/loadmore/src/loadmore.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(117)
__vue_template__ = __webpack_require__(114)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 107:
/***/ 104:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 109:
/***/ 106:
/***/ function(module, exports, __webpack_require__) {

@@ -105,3 +112,3 @@

var _fadingCircle = __webpack_require__(110);
var _fadingCircle = __webpack_require__(107);

@@ -399,8 +406,9 @@ var _fadingCircle2 = _interopRequireDefault(_fadingCircle);

/***/ 110:
/***/ 107:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(111)
__vue_script__ = __webpack_require__(113)
var __vue_styles__ = {}
__webpack_require__(108)
__vue_script__ = __webpack_require__(110)
if (__vue_script__ &&

@@ -410,8 +418,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/spinner/src/spinner/fading-circle.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(116)
__vue_template__ = __webpack_require__(113)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -421,3 +435,3 @@

/***/ 111:
/***/ 108:
/***/ function(module, exports) {

@@ -429,3 +443,3 @@

/***/ 113:
/***/ 110:
/***/ function(module, exports, __webpack_require__) {

@@ -439,3 +453,3 @@

var _common = __webpack_require__(114);
var _common = __webpack_require__(111);

@@ -470,7 +484,8 @@ var _common2 = _interopRequireDefault(_common);

/***/ 114:
/***/ 111:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__vue_script__ = __webpack_require__(115)
var __vue_styles__ = {}
__vue_script__ = __webpack_require__(112)
if (__vue_script__ &&

@@ -482,5 +497,11 @@ __vue_script__.__esModule &&

if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -490,3 +511,3 @@

/***/ 115:
/***/ 112:
/***/ function(module, exports) {

@@ -517,3 +538,3 @@

/***/ 116:
/***/ 113:
/***/ function(module, exports) {

@@ -525,3 +546,3 @@

/***/ 117:
/***/ 114:
/***/ function(module, exports) {

@@ -528,0 +549,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(118);
module.exports = __webpack_require__(115);

@@ -56,10 +56,9 @@

/***/ 8:
/***/ function(module, exports, __webpack_require__) {
/***/ function(module, exports) {
!function(e,t){ true?module.exports=t(__webpack_require__(9)):"function"==typeof define&&define.amd?define("VuePopup",["vue"],t):"object"==typeof exports?exports.VuePopup=t(require("vue")):e.VuePopup=t(e.vue)}(this,function(e){return function(e){function t(n){if(o[n])return o[n].exports;var i=o[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,t,o){Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var o=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/lib/",t(t.s=5)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(4),l=n(i),s=o(2),r=o(1),d=n(r);o(3);var a=1,u=[],c=function(e){if(u.indexOf(e)===-1){var t=function(e){var t=e.__vue__;if(!t){var o=e.previousSibling;o.__vue__&&(t=o.__vue__)}return t};l["default"].transition(e,{afterEnter:function(e){var o=t(e);o&&o.doAfterOpen&&o.doAfterOpen()},afterLeave:function(e){var o=t(e);o&&o.doAfterClose&&o.doAfterClose()}})}},f=function p(e){return 3===e.nodeType&&(e=e.nextElementSibling||e.nextSibling,p(e)),e};t["default"]={props:{visible:{type:Boolean,twoWay:!0,"default":!1},transition:{type:String,"default":""},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,"default":!1},lockScroll:{type:Boolean,"default":!0},modalClass:{},closeOnPressEscape:{type:Boolean,"default":!1},closeOnClickModal:{type:Boolean,"default":!1}},created:function(){this.transition&&c(this.transition)},compiled:function(){this._popupId="popup-"+a++,d["default"].register(this._popupId,this)},beforeDestroy:function(){d["default"].deregister(this._popupId),d["default"].closeModal(this._popupId)},data:function(){return{bodyOverflow:null,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,l["default"].nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(e){var t=this;if(!this.rendered)return this.rendered=!0,void(this.visible=!0);var o=(0,s.merge)({},this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var n=Number(o.openDelay);n>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(o)},n):this.doOpen(o)},doOpen:function(e){if(!this.willOpen||this.willOpen()){this._opening=!0,this.visible=!0;var t=f(this.$el),o=e.modal,n=e.zIndex;n&&(d["default"].zIndex=n),o&&(this._closing&&(d["default"].closeModal(this._popupId),this._closing=!1),d["default"].openModal(this._popupId,d["default"].nextZIndex(),t,e.modalClass),e.lockScroll&&(this.bodyOverflow||(this.bodyOverflow=document.body.style.overflow),document.body.style.overflow="hidden")),"static"===getComputedStyle(t).position&&(t.style.position="absolute"),o?t.style.zIndex=d["default"].nextZIndex():n&&(t.style.zIndex=n),this.onOpen&&this.onOpen(),this.transition||this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this.visible=!1,this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&this.modal&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow),this.transition||this.doAfterClose()},doAfterClose:function(){d["default"].closeModal(this._popupId),this._closing=!1}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){var e=l.modalDom;return e||(e=document.createElement("div"),l.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()})),e},n=function(){l.doOnModalClick&&l.doOnModalClick()},i={},l={zIndex:1e3,getInstance:function(e){return i[e]},register:function(e,t){e&&t&&(i[e]=t)},deregister:function(e){e&&(i[e]=null,delete i[e])},nextZIndex:function(){return l.zIndex++},modalStack:[],doOnModalClick:function(){var e=l.modalStack[l.modalStack.length-1];if(e){var t=l.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,i,l){if(e&&void 0!==t){for(var s=this.modalStack,r=0,d=s.length;r<d;r++){var a=s[r];if(a.id===e)return}var u=o();if(setTimeout(function(){u.addEventListener("click",n)},300),u.classList.add("v-modal"),u.classList.add("v-modal-enter"),l){var c=l.trim().split(/\s+/);c.forEach(function(e){return u.classList.add(e)})}setTimeout(function(){u.classList.remove("v-modal-enter")},200),i&&i.parentNode&&11!==i.parentNode.nodeType?i.parentNode.appendChild(u):document.body.appendChild(u),t&&(u.style.zIndex=t),u.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:l})}},closeModal:function(e){var t=this.modalStack,i=o();if(t.length>0){var l=t[t.length-1];if(l.id===e){if(l.modalClass){var s=l.modalClass.trim().split(/\s+/);s.forEach(function(e){return i.classList.remove(e)})}t.pop(),t.length>0&&(i.style.zIndex=t[t.length-1].zIndex)}else for(var r=t.length-1;r>=0;r--)if(t[r].id===e){t.splice(r,1);break}}0===t.length&&(i.classList.add("v-modal-leave"),setTimeout(function(){0===t.length&&(i.parentNode&&i.parentNode.removeChild(i),i.style.display="none"),i.removeEventListener("click",n),i.classList.remove("v-modal-leave")},200))}};window.addEventListener("keydown",function(e){if(27===e.keyCode&&l.modalStack.length>0){var t=l.modalStack[l.modalStack.length-1];if(!t)return;var o=l.getInstance(t.id);o.closeOnPressEscape&&o.close()}}),t["default"]=l},function(e,t){"use strict";function o(e){for(var t=1,o=arguments.length;t<o;t++){var n=arguments[t];for(var i in n)if(n.hasOwnProperty(i)){var l=n[i];void 0!==l&&(e[i]=l)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.merge=o},function(e,t){},function(t,o){t.exports=e},function(e,t,o){e.exports=o(0)}])});
//# sourceMappingURL=index.js.map
module.exports = require("vue-popup");
/***/ },
/***/ 9:
/***/ 86:
/***/ function(module, exports) {

@@ -71,3 +70,3 @@

/***/ 118:
/***/ 115:
/***/ function(module, exports, __webpack_require__) {

@@ -77,7 +76,7 @@

module.exports = __webpack_require__(119);
module.exports = __webpack_require__(116);
/***/ },
/***/ 119:
/***/ 116:
/***/ function(module, exports, __webpack_require__) {

@@ -87,7 +86,7 @@

var _src = __webpack_require__(120);
var _src = __webpack_require__(117);
var _src2 = _interopRequireDefault(_src);
__webpack_require__(128);
__webpack_require__(125);

@@ -100,3 +99,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ 120:
/***/ 117:
/***/ function(module, exports, __webpack_require__) {

@@ -111,9 +110,9 @@

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _vue = __webpack_require__(9);
var _vue = __webpack_require__(86);
var _vue2 = _interopRequireDefault(_vue);
var _msgbox = __webpack_require__(121);
var _msgbox = __webpack_require__(118);

@@ -171,37 +170,39 @@ var _msgbox2 = _interopRequireDefault(_msgbox);

var initInstance = function initInstance() {
instance = new MessageBoxConstructor({
el: document.createElement('div')
});
instance.callback = function (action) {
if (currentMsg) {
var callback = currentMsg.callback;
if (typeof callback === 'function') {
if (instance.showInput) {
callback(instance.inputValue, action);
} else {
callback(action);
}
var defaultCallback = function defaultCallback(action) {
if (currentMsg) {
var callback = currentMsg.callback;
if (typeof callback === 'function') {
if (instance.showInput) {
callback(instance.inputValue, action);
} else {
callback(action);
}
if (currentMsg.resolve) {
var $type = currentMsg.options.$type;
if ($type === 'confirm' || $type === 'prompt') {
if (action === 'confirm') {
if (instance.showInput) {
currentMsg.resolve({ value: instance.inputValue, action: action });
} else {
currentMsg.resolve(action);
}
} else if (action === 'cancel' && currentMsg.reject) {
currentMsg.reject(action);
}
if (currentMsg.resolve) {
var $type = currentMsg.options.$type;
if ($type === 'confirm' || $type === 'prompt') {
if (action === 'confirm') {
if (instance.showInput) {
currentMsg.resolve({ value: instance.inputValue, action: action });
} else {
currentMsg.resolve(action);
}
} else {
currentMsg.resolve(action);
} else if (action === 'cancel' && currentMsg.reject) {
currentMsg.reject(action);
}
} else {
currentMsg.resolve(action);
}
}
};
}
};
var initInstance = function initInstance() {
instance = new MessageBoxConstructor({
el: document.createElement('div')
});
instance.callback = defaultCallback;
};
var showNextMsg = function showNextMsg() {

@@ -222,2 +223,5 @@ if (!instance) {

}
if (options.callback === undefined) {
instance.callback = defaultCallback;
}
instance.$appendTo(document.body);

@@ -322,9 +326,10 @@

/***/ 121:
/***/ 118:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(122)
__webpack_require__(124)
__vue_script__ = __webpack_require__(126)
var __vue_styles__ = {}
__webpack_require__(119)
__webpack_require__(121)
__vue_script__ = __webpack_require__(123)
if (__vue_script__ &&

@@ -334,8 +339,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] node_modules/vue-msgbox/src/msgbox.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(127)
__vue_template__ = __webpack_require__(124)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -345,3 +356,3 @@

/***/ 122:
/***/ 119:
/***/ function(module, exports) {

@@ -353,3 +364,3 @@

/***/ 124:
/***/ 121:
/***/ function(module, exports) {

@@ -361,3 +372,3 @@

/***/ 126:
/***/ 123:
/***/ function(module, exports, __webpack_require__) {

@@ -386,3 +397,3 @@

// <div class="msgbox-status d-icon {{ type ? 'icon-' + type : '' }}"></div>
// <div class="msgbox-message"><p>{{ message }}</p></div>
// <div class="msgbox-message">{{{ message }}}</div>
// <div class="msgbox-input" v-show="showInput">

@@ -685,10 +696,10 @@ // <input :type="inputType" v-model="inputValue" :placeholder="inputPlaceholder" v-el:input />

/***/ 127:
/***/ 124:
/***/ function(module, exports) {
module.exports = "\n<div class=\"msgbox-wrapper\">\n <div class=\"msgbox\" v-if=\"rendered\" v-show=\"visible\" transition=\"pop-bounce\">\n <div class=\"msgbox-header\" v-if=\"title !== ''\">\n <div class=\"msgbox-title\">{{ title }}</div>\n <!--<div class=\"msgbox-close d-icon icon-close\" @click=\"handleAction('close')\"></div>-->\n </div>\n <div class=\"msgbox-content\" v-if=\"message !== ''\">\n <div class=\"msgbox-status d-icon {{ type ? 'icon-' + type : '' }}\"></div>\n <div class=\"msgbox-message\"><p>{{ message }}</p></div>\n <div class=\"msgbox-input\" v-show=\"showInput\">\n <input :type=\"inputType\" v-model=\"inputValue\" :placeholder=\"inputPlaceholder\" v-el:input />\n <div class=\"msgbox-errormsg\" :style=\"{ visibility: !!editorErrorMessage ? 'visible' : 'hidden' }\">{{editorErrorMessage}}</div>\n </div>\n </div>\n <div class=\"msgbox-btns\" :class=\"{ 'msgbox-btns-reverse': confirmButtonPosition === 'left' }\">\n <button class=\"{{ cancelButtonClasses }}\" v-show=\"showCancelButton\" @click=\"handleAction('cancel')\">{{ cancelButtonText }}</button>\n <button class=\"{{ confirmButtonClasses }}\" v-show=\"showConfirmButton\" @click=\"handleAction('confirm')\">{{ confirmButtonText }}</button>\n </div>\n </div>\n</div>\n";
module.exports = "\n<div class=\"msgbox-wrapper\">\n <div class=\"msgbox\" v-if=\"rendered\" v-show=\"visible\" transition=\"pop-bounce\">\n <div class=\"msgbox-header\" v-if=\"title !== ''\">\n <div class=\"msgbox-title\">{{ title }}</div>\n <!--<div class=\"msgbox-close d-icon icon-close\" @click=\"handleAction('close')\"></div>-->\n </div>\n <div class=\"msgbox-content\" v-if=\"message !== ''\">\n <div class=\"msgbox-status d-icon {{ type ? 'icon-' + type : '' }}\"></div>\n <div class=\"msgbox-message\">{{{ message }}}</div>\n <div class=\"msgbox-input\" v-show=\"showInput\">\n <input :type=\"inputType\" v-model=\"inputValue\" :placeholder=\"inputPlaceholder\" v-el:input />\n <div class=\"msgbox-errormsg\" :style=\"{ visibility: !!editorErrorMessage ? 'visible' : 'hidden' }\">{{editorErrorMessage}}</div>\n </div>\n </div>\n <div class=\"msgbox-btns\" :class=\"{ 'msgbox-btns-reverse': confirmButtonPosition === 'left' }\">\n <button class=\"{{ cancelButtonClasses }}\" v-show=\"showCancelButton\" @click=\"handleAction('cancel')\">{{ cancelButtonText }}</button>\n <button class=\"{{ confirmButtonClasses }}\" v-show=\"showConfirmButton\" @click=\"handleAction('confirm')\">{{ confirmButtonText }}</button>\n </div>\n </div>\n</div>\n";
/***/ },
/***/ 128:
/***/ 125:
/***/ function(module, exports) {

@@ -695,0 +706,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(130);
module.exports = __webpack_require__(127);

@@ -55,3 +55,3 @@

/***/ 130:
/***/ 127:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(131);
module.exports = __webpack_require__(128);
/***/ },
/***/ 131:
/***/ 128:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(132)
__vue_script__ = __webpack_require__(134)
var __vue_styles__ = {}
__webpack_require__(129)
__vue_script__ = __webpack_require__(131)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/navbar/src/navbar.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(135)
__vue_template__ = __webpack_require__(132)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 132:
/***/ 129:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 134:
/***/ 131:
/***/ function(module, exports) {

@@ -115,3 +122,3 @@

/***/ 135:
/***/ 132:
/***/ function(module, exports) {

@@ -118,0 +125,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(136);
module.exports = __webpack_require__(133);

@@ -55,12 +55,5 @@

/***/ 9:
/***/ 37:
/***/ function(module, exports) {
module.exports = require("vue");
/***/ },
/***/ 38:
/***/ function(module, exports) {
var bindEvent = (function() {

@@ -116,3 +109,10 @@ if(document.addEventListener) {

/***/ 136:
/***/ 86:
/***/ function(module, exports) {
module.exports = require("vue");
/***/ },
/***/ 133:
/***/ function(module, exports, __webpack_require__) {

@@ -122,12 +122,13 @@

module.exports = __webpack_require__(137);
module.exports = __webpack_require__(134);
/***/ },
/***/ 137:
/***/ 134:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(138)
__vue_script__ = __webpack_require__(140)
var __vue_styles__ = {}
__webpack_require__(135)
__vue_script__ = __webpack_require__(137)
if (__vue_script__ &&

@@ -137,8 +138,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/picker/src/picker.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(150)
__vue_template__ = __webpack_require__(147)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -148,3 +155,3 @@

/***/ 138:
/***/ 135:
/***/ function(module, exports) {

@@ -156,3 +163,3 @@

/***/ 140:
/***/ 137:
/***/ function(module, exports, __webpack_require__) {

@@ -288,3 +295,3 @@

components: {
PickerSlot: __webpack_require__(141)
PickerSlot: __webpack_require__(138)
}

@@ -295,8 +302,9 @@ };

/***/ 141:
/***/ 138:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(142)
__vue_script__ = __webpack_require__(144)
var __vue_styles__ = {}
__webpack_require__(139)
__vue_script__ = __webpack_require__(141)
if (__vue_script__ &&

@@ -306,8 +314,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/picker/src/picker-slot.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(149)
__vue_template__ = __webpack_require__(146)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -317,3 +331,3 @@

/***/ 142:
/***/ 139:
/***/ function(module, exports) {

@@ -325,3 +339,3 @@

/***/ 144:
/***/ 141:
/***/ function(module, exports, __webpack_require__) {

@@ -335,19 +349,19 @@

var _vue = __webpack_require__(9);
var _vue = __webpack_require__(86);
var _vue2 = _interopRequireDefault(_vue);
var _draggable = __webpack_require__(145);
var _draggable = __webpack_require__(142);
var _draggable2 = _interopRequireDefault(_draggable);
var _translate = __webpack_require__(146);
var _translate = __webpack_require__(143);
var _translate2 = _interopRequireDefault(_translate);
var _event = __webpack_require__(38);
var _event = __webpack_require__(37);
var _class = __webpack_require__(147);
var _class = __webpack_require__(144);
__webpack_require__(148);
__webpack_require__(145);

@@ -658,3 +672,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ 145:
/***/ 142:
/***/ function(module, exports) {

@@ -725,3 +739,3 @@

/***/ 146:
/***/ 143:
/***/ function(module, exports) {

@@ -826,3 +840,3 @@

/***/ 147:
/***/ 144:
/***/ function(module, exports) {

@@ -896,51 +910,10 @@

/***/ 148:
/***/ 145:
/***/ function(module, exports) {
/*
* raf.js
* https://github.com/ngryman/raf.js
*
* original requestAnimationFrame polyfill by Erik Möller
* inspired from paul_irish gist and post
*
* Copyright (c) 2013 ngryman
* Licensed under the MIT license.
*/
module.exports = require("raf.js");
(function(window) {
var lastTime = 0,
vendors = ['webkit', 'moz'],
requestAnimationFrame = window.requestAnimationFrame,
cancelAnimationFrame = window.cancelAnimationFrame,
i = vendors.length;
// try to un-prefix existing raf
while (--i >= 0 && !requestAnimationFrame) {
requestAnimationFrame = window[vendors[i] + 'RequestAnimationFrame'];
cancelAnimationFrame = window[vendors[i] + 'CancelAnimationFrame'];
}
// polyfill with setTimeout fallback
// heavily inspired from @darius gist mod: https://gist.github.com/paulirish/1579671#comment-837945
if (!requestAnimationFrame || !cancelAnimationFrame) {
requestAnimationFrame = function(callback) {
var now = +new Date(), nextTime = Math.max(lastTime + 16, now);
return setTimeout(function() {
callback(lastTime = nextTime);
}, nextTime - now);
};
cancelAnimationFrame = clearTimeout;
}
// export to window
window.requestAnimationFrame = requestAnimationFrame;
window.cancelAnimationFrame = cancelAnimationFrame;
}(window));
/***/ },
/***/ 149:
/***/ 146:
/***/ function(module, exports) {

@@ -952,3 +925,3 @@

/***/ 150:
/***/ 147:
/***/ function(module, exports) {

@@ -955,0 +928,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(151);
module.exports = __webpack_require__(148);

@@ -56,6 +56,5 @@

/***/ 8:
/***/ function(module, exports, __webpack_require__) {
/***/ function(module, exports) {
!function(e,t){ true?module.exports=t(__webpack_require__(9)):"function"==typeof define&&define.amd?define("VuePopup",["vue"],t):"object"==typeof exports?exports.VuePopup=t(require("vue")):e.VuePopup=t(e.vue)}(this,function(e){return function(e){function t(n){if(o[n])return o[n].exports;var i=o[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,t,o){Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var o=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/lib/",t(t.s=5)}([function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(4),l=n(i),s=o(2),r=o(1),d=n(r);o(3);var a=1,u=[],c=function(e){if(u.indexOf(e)===-1){var t=function(e){var t=e.__vue__;if(!t){var o=e.previousSibling;o.__vue__&&(t=o.__vue__)}return t};l["default"].transition(e,{afterEnter:function(e){var o=t(e);o&&o.doAfterOpen&&o.doAfterOpen()},afterLeave:function(e){var o=t(e);o&&o.doAfterClose&&o.doAfterClose()}})}},f=function p(e){return 3===e.nodeType&&(e=e.nextElementSibling||e.nextSibling,p(e)),e};t["default"]={props:{visible:{type:Boolean,twoWay:!0,"default":!1},transition:{type:String,"default":""},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,"default":!1},lockScroll:{type:Boolean,"default":!0},modalClass:{},closeOnPressEscape:{type:Boolean,"default":!1},closeOnClickModal:{type:Boolean,"default":!1}},created:function(){this.transition&&c(this.transition)},compiled:function(){this._popupId="popup-"+a++,d["default"].register(this._popupId,this)},beforeDestroy:function(){d["default"].deregister(this._popupId),d["default"].closeModal(this._popupId)},data:function(){return{bodyOverflow:null,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,l["default"].nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(e){var t=this;if(!this.rendered)return this.rendered=!0,void(this.visible=!0);var o=(0,s.merge)({},this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var n=Number(o.openDelay);n>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(o)},n):this.doOpen(o)},doOpen:function(e){if(!this.willOpen||this.willOpen()){this._opening=!0,this.visible=!0;var t=f(this.$el),o=e.modal,n=e.zIndex;n&&(d["default"].zIndex=n),o&&(this._closing&&(d["default"].closeModal(this._popupId),this._closing=!1),d["default"].openModal(this._popupId,d["default"].nextZIndex(),t,e.modalClass),e.lockScroll&&(this.bodyOverflow||(this.bodyOverflow=document.body.style.overflow),document.body.style.overflow="hidden")),"static"===getComputedStyle(t).position&&(t.style.position="absolute"),o?t.style.zIndex=d["default"].nextZIndex():n&&(t.style.zIndex=n),this.onOpen&&this.onOpen(),this.transition||this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this.visible=!1,this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&this.modal&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow),this.transition||this.doAfterClose()},doAfterClose:function(){d["default"].closeModal(this._popupId),this._closing=!1}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){var e=l.modalDom;return e||(e=document.createElement("div"),l.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()})),e},n=function(){l.doOnModalClick&&l.doOnModalClick()},i={},l={zIndex:1e3,getInstance:function(e){return i[e]},register:function(e,t){e&&t&&(i[e]=t)},deregister:function(e){e&&(i[e]=null,delete i[e])},nextZIndex:function(){return l.zIndex++},modalStack:[],doOnModalClick:function(){var e=l.modalStack[l.modalStack.length-1];if(e){var t=l.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,i,l){if(e&&void 0!==t){for(var s=this.modalStack,r=0,d=s.length;r<d;r++){var a=s[r];if(a.id===e)return}var u=o();if(setTimeout(function(){u.addEventListener("click",n)},300),u.classList.add("v-modal"),u.classList.add("v-modal-enter"),l){var c=l.trim().split(/\s+/);c.forEach(function(e){return u.classList.add(e)})}setTimeout(function(){u.classList.remove("v-modal-enter")},200),i&&i.parentNode&&11!==i.parentNode.nodeType?i.parentNode.appendChild(u):document.body.appendChild(u),t&&(u.style.zIndex=t),u.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:l})}},closeModal:function(e){var t=this.modalStack,i=o();if(t.length>0){var l=t[t.length-1];if(l.id===e){if(l.modalClass){var s=l.modalClass.trim().split(/\s+/);s.forEach(function(e){return i.classList.remove(e)})}t.pop(),t.length>0&&(i.style.zIndex=t[t.length-1].zIndex)}else for(var r=t.length-1;r>=0;r--)if(t[r].id===e){t.splice(r,1);break}}0===t.length&&(i.classList.add("v-modal-leave"),setTimeout(function(){0===t.length&&(i.parentNode&&i.parentNode.removeChild(i),i.style.display="none"),i.removeEventListener("click",n),i.classList.remove("v-modal-leave")},200))}};window.addEventListener("keydown",function(e){if(27===e.keyCode&&l.modalStack.length>0){var t=l.modalStack[l.modalStack.length-1];if(!t)return;var o=l.getInstance(t.id);o.closeOnPressEscape&&o.close()}}),t["default"]=l},function(e,t){"use strict";function o(e){for(var t=1,o=arguments.length;t<o;t++){var n=arguments[t];for(var i in n)if(n.hasOwnProperty(i)){var l=n[i];void 0!==l&&(e[i]=l)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.merge=o},function(e,t){},function(t,o){t.exports=e},function(e,t,o){e.exports=o(0)}])});
//# sourceMappingURL=index.js.map
module.exports = require("vue-popup");

@@ -67,9 +66,2 @@ /***/ },

module.exports = require("vue");
/***/ },
/***/ 10:
/***/ function(module, exports) {
// removed by extract-text-webpack-plugin

@@ -79,3 +71,3 @@

/***/ 151:
/***/ 148:
/***/ function(module, exports, __webpack_require__) {

@@ -85,12 +77,13 @@

module.exports = __webpack_require__(152);
module.exports = __webpack_require__(149);
/***/ },
/***/ 152:
/***/ 149:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(153)
__vue_script__ = __webpack_require__(155)
var __vue_styles__ = {}
__webpack_require__(150)
__vue_script__ = __webpack_require__(152)
if (__vue_script__ &&

@@ -100,8 +93,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/popup/src/popup.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(156)
__vue_template__ = __webpack_require__(153)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -111,3 +110,3 @@

/***/ 153:
/***/ 150:
/***/ function(module, exports) {

@@ -119,3 +118,3 @@

/***/ 155:
/***/ 152:
/***/ function(module, exports, __webpack_require__) {

@@ -133,3 +132,3 @@

__webpack_require__(10);
__webpack_require__(9);

@@ -182,3 +181,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ 156:
/***/ 153:
/***/ function(module, exports) {

@@ -185,0 +184,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(157);
module.exports = __webpack_require__(154);

@@ -55,3 +55,3 @@

/***/ 157:
/***/ 154:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(158);
module.exports = __webpack_require__(155);
/***/ },
/***/ 158:
/***/ 155:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(159)
__vue_script__ = __webpack_require__(161)
var __vue_styles__ = {}
__webpack_require__(156)
__vue_script__ = __webpack_require__(158)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/progress/src/progress.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(162)
__vue_template__ = __webpack_require__(159)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 159:
/***/ 156:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 161:
/***/ 158:
/***/ function(module, exports) {

@@ -120,3 +127,3 @@

/***/ 162:
/***/ 159:
/***/ function(module, exports) {

@@ -123,0 +130,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(163);
module.exports = __webpack_require__(160);

@@ -55,3 +55,3 @@

/***/ 39:
/***/ 38:
/***/ function(module, exports) {

@@ -63,3 +63,3 @@

/***/ 41:
/***/ 40:
/***/ function(module, exports) {

@@ -71,3 +71,3 @@

/***/ 163:
/***/ 160:
/***/ function(module, exports, __webpack_require__) {

@@ -77,12 +77,13 @@

module.exports = __webpack_require__(164);
module.exports = __webpack_require__(161);
/***/ },
/***/ 164:
/***/ 161:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(165)
__vue_script__ = __webpack_require__(167)
var __vue_styles__ = {}
__webpack_require__(162)
__vue_script__ = __webpack_require__(164)
if (__vue_script__ &&

@@ -92,8 +93,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/radio/src/radio.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(168)
__vue_template__ = __webpack_require__(165)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -103,3 +110,3 @@

/***/ 165:
/***/ 162:
/***/ function(module, exports) {

@@ -111,3 +118,3 @@

/***/ 167:
/***/ 164:
/***/ function(module, exports, __webpack_require__) {

@@ -121,3 +128,3 @@

var _index = __webpack_require__(39);
var _index = __webpack_require__(38);

@@ -129,3 +136,3 @@ var _index2 = _interopRequireDefault(_index);

if (true) {
__webpack_require__(41);
__webpack_require__(40);
}

@@ -152,3 +159,3 @@ exports.default = {

/***/ 168:
/***/ 165:
/***/ function(module, exports) {

@@ -155,0 +162,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(169);
module.exports = __webpack_require__(166);

@@ -55,3 +55,3 @@

/***/ 169:
/***/ 166:
/***/ function(module, exports, __webpack_require__) {

@@ -61,3 +61,3 @@

var MintRange = __webpack_require__(170);
var MintRange = __webpack_require__(167);

@@ -72,8 +72,9 @@ MintRange.install = function (Vue) {

/***/ 170:
/***/ 167:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(171)
__vue_script__ = __webpack_require__(173)
var __vue_styles__ = {}
__webpack_require__(168)
__vue_script__ = __webpack_require__(170)
if (__vue_script__ &&

@@ -83,8 +84,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/range/src/index.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(175)
__vue_template__ = __webpack_require__(172)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -94,3 +101,3 @@

/***/ 171:
/***/ 168:
/***/ function(module, exports) {

@@ -102,3 +109,3 @@

/***/ 173:
/***/ 170:
/***/ function(module, exports, __webpack_require__) {

@@ -112,3 +119,3 @@

var _draggable = __webpack_require__(174);
var _draggable = __webpack_require__(171);

@@ -156,5 +163,5 @@ var _draggable2 = _interopRequireDefault(_draggable);

var _$els = this.$els;
var thumb = _$els.thumb;
var content = _$els.content;
var _$els = this.$els,
thumb = _$els.thumb,
content = _$els.content;

@@ -209,3 +216,3 @@

/***/ 174:
/***/ 171:
/***/ function(module, exports) {

@@ -276,3 +283,3 @@

/***/ 175:
/***/ 172:
/***/ function(module, exports) {

@@ -279,0 +286,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(176);
module.exports = __webpack_require__(173);

@@ -55,3 +55,3 @@

/***/ 39:
/***/ 38:
/***/ function(module, exports) {

@@ -63,3 +63,3 @@

/***/ 41:
/***/ 40:
/***/ function(module, exports) {

@@ -71,3 +71,3 @@

/***/ 176:
/***/ 173:
/***/ function(module, exports, __webpack_require__) {

@@ -77,12 +77,13 @@

module.exports = __webpack_require__(177);
module.exports = __webpack_require__(174);
/***/ },
/***/ 177:
/***/ 174:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(178)
__vue_script__ = __webpack_require__(180)
var __vue_styles__ = {}
__webpack_require__(175)
__vue_script__ = __webpack_require__(177)
if (__vue_script__ &&

@@ -92,8 +93,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/search/src/search.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(181)
__vue_template__ = __webpack_require__(178)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -103,3 +110,3 @@

/***/ 178:
/***/ 175:
/***/ function(module, exports) {

@@ -111,3 +118,3 @@

/***/ 180:
/***/ 177:
/***/ function(module, exports, __webpack_require__) {

@@ -121,3 +128,3 @@

var _index = __webpack_require__(39);
var _index = __webpack_require__(38);

@@ -129,3 +136,3 @@ var _index2 = _interopRequireDefault(_index);

if (true) {
__webpack_require__(41);
__webpack_require__(40);
}

@@ -161,3 +168,3 @@

/***/ 181:
/***/ 178:
/***/ function(module, exports) {

@@ -164,0 +171,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(182);
module.exports = __webpack_require__(179);

@@ -55,8 +55,9 @@

/***/ 110:
/***/ 107:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(111)
__vue_script__ = __webpack_require__(113)
var __vue_styles__ = {}
__webpack_require__(108)
__vue_script__ = __webpack_require__(110)
if (__vue_script__ &&

@@ -66,8 +67,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/spinner/src/spinner/fading-circle.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(116)
__vue_template__ = __webpack_require__(113)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -77,3 +84,3 @@

/***/ 111:
/***/ 108:
/***/ function(module, exports) {

@@ -85,3 +92,3 @@

/***/ 113:
/***/ 110:
/***/ function(module, exports, __webpack_require__) {

@@ -95,3 +102,3 @@

var _common = __webpack_require__(114);
var _common = __webpack_require__(111);

@@ -126,7 +133,8 @@ var _common2 = _interopRequireDefault(_common);

/***/ 114:
/***/ 111:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__vue_script__ = __webpack_require__(115)
var __vue_styles__ = {}
__vue_script__ = __webpack_require__(112)
if (__vue_script__ &&

@@ -138,5 +146,11 @@ __vue_script__.__esModule &&

if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -146,3 +160,3 @@

/***/ 115:
/***/ 112:
/***/ function(module, exports) {

@@ -173,3 +187,3 @@

/***/ 116:
/***/ 113:
/***/ function(module, exports) {

@@ -181,3 +195,3 @@

/***/ 182:
/***/ 179:
/***/ function(module, exports, __webpack_require__) {

@@ -187,3 +201,3 @@

var _spinner = __webpack_require__(183);
var _spinner = __webpack_require__(180);

@@ -202,7 +216,8 @@ var _spinner2 = _interopRequireDefault(_spinner);

/***/ 183:
/***/ 180:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__vue_script__ = __webpack_require__(184)
var __vue_styles__ = {}
__vue_script__ = __webpack_require__(181)
if (__vue_script__ &&

@@ -212,8 +227,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/spinner/src/spinner.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(200)
__vue_template__ = __webpack_require__(197)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -223,3 +244,3 @@

/***/ 184:
/***/ 181:
/***/ function(module, exports, __webpack_require__) {

@@ -260,6 +281,6 @@

components: {
SpinnerSnake: __webpack_require__(185),
SpinnerDoubleBounce: __webpack_require__(190),
SpinnerTripleBounce: __webpack_require__(195),
SpinnerFadingCircle: __webpack_require__(110)
SpinnerSnake: __webpack_require__(182),
SpinnerDoubleBounce: __webpack_require__(187),
SpinnerTripleBounce: __webpack_require__(192),
SpinnerFadingCircle: __webpack_require__(107)
},

@@ -284,8 +305,9 @@

/***/ 185:
/***/ 182:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(186)
__vue_script__ = __webpack_require__(188)
var __vue_styles__ = {}
__webpack_require__(183)
__vue_script__ = __webpack_require__(185)
if (__vue_script__ &&

@@ -295,8 +317,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/spinner/src/spinner/snake.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(189)
__vue_template__ = __webpack_require__(186)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -306,3 +334,3 @@

/***/ 186:
/***/ 183:
/***/ function(module, exports) {

@@ -314,3 +342,3 @@

/***/ 188:
/***/ 185:
/***/ function(module, exports, __webpack_require__) {

@@ -324,3 +352,3 @@

var _common = __webpack_require__(114);
var _common = __webpack_require__(111);

@@ -339,3 +367,3 @@ var _common2 = _interopRequireDefault(_common);

/***/ 189:
/***/ 186:
/***/ function(module, exports) {

@@ -347,8 +375,9 @@

/***/ 190:
/***/ 187:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(191)
__vue_script__ = __webpack_require__(193)
var __vue_styles__ = {}
__webpack_require__(188)
__vue_script__ = __webpack_require__(190)
if (__vue_script__ &&

@@ -358,8 +387,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/spinner/src/spinner/double-bounce.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(194)
__vue_template__ = __webpack_require__(191)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -369,3 +404,3 @@

/***/ 191:
/***/ 188:
/***/ function(module, exports) {

@@ -377,3 +412,3 @@

/***/ 193:
/***/ 190:
/***/ function(module, exports, __webpack_require__) {

@@ -387,3 +422,3 @@

var _common = __webpack_require__(114);
var _common = __webpack_require__(111);

@@ -402,3 +437,3 @@ var _common2 = _interopRequireDefault(_common);

/***/ 194:
/***/ 191:
/***/ function(module, exports) {

@@ -410,8 +445,9 @@

/***/ 195:
/***/ 192:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(196)
__vue_script__ = __webpack_require__(198)
var __vue_styles__ = {}
__webpack_require__(193)
__vue_script__ = __webpack_require__(195)
if (__vue_script__ &&

@@ -421,8 +457,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/spinner/src/spinner/triple-bounce.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(199)
__vue_template__ = __webpack_require__(196)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -432,3 +474,3 @@

/***/ 196:
/***/ 193:
/***/ function(module, exports) {

@@ -440,3 +482,3 @@

/***/ 198:
/***/ 195:
/***/ function(module, exports, __webpack_require__) {

@@ -450,3 +492,3 @@

var _common = __webpack_require__(114);
var _common = __webpack_require__(111);

@@ -478,3 +520,3 @@ var _common2 = _interopRequireDefault(_common);

/***/ 199:
/***/ 196:
/***/ function(module, exports) {

@@ -486,3 +528,3 @@

/***/ 200:
/***/ 197:
/***/ function(module, exports) {

@@ -489,0 +531,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(206);
module.exports = __webpack_require__(203);

@@ -62,10 +62,10 @@

/***/ 203:
/***/ function(module, exports, __webpack_require__) {
/***/ 200:
/***/ function(module, exports) {
!function(t,e){ true?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueSwipe=e():t.VueSwipe=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var s=n[i]={exports:{},id:i,loaded:!1};return t[i].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SwipeItem=e.Swipe=void 0;var s=n(12),r=i(s),a=n(11),o=i(a);e.Swipe=r["default"],e.SwipeItem=o["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={name:"mt-swipe-item",ready:function(){this.$dispatch("swipeItemCreated",this)},detached:function(){this.$dispatch("swipeItemDestroyed",this)},destroyed:function(){this.$dispatch("swipeItemDestroyed",this)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(6);e["default"]={name:"mt-swipe",created:function(){this.dragState={}},data:function(){return{ready:!1,dragging:!1,userScrolling:!1,animating:!1,index:0,pages:[],timer:null,reInitTimer:null,noDrag:!1}},props:{speed:{type:Number,"default":300},auto:{type:Number,"default":3e3},continuous:{type:Boolean,"default":!0},showIndicators:{type:Boolean,"default":!0},noDragWhenSingle:{type:Boolean,"default":!0},prevent:{type:Boolean,"default":!1}},events:{swipeItemCreated:function(){var t=this;this.ready&&(clearTimeout(this.reInitTimer),this.reInitTimer=setTimeout(function(){t.reInitPages()},100))},swipeItemDestroyed:function(){var t=this;this.ready&&(clearTimeout(this.reInitTimer),this.reInitTimer=setTimeout(function(){t.reInitPages()},100))}},methods:{translate:function(t,e,n,s){var r=this,a=arguments;if(n){this.animating=!0,t.style.webkitTransition="-webkit-transform "+n+"ms ease-in-out",setTimeout(function(){return t.style.webkitTransform="translate3d("+e+"px, 0, 0)"},50);var o=!1,l=function(){o||(o=!0,r.animating=!1,t.style.webkitTransition="",t.style.webkitTransform="",s&&s.apply(r,a))};(0,i.once)(t,"webkitTransitionEnd",l),setTimeout(l,n+100)}else t.style.webkitTransition="",t.style.webkitTransform="translate3d("+e+"px, 0, 0)"},reInitPages:function(){var t=this.$children;this.noDrag=1===t.length&&this.noDragWhenSingle;var e=[];this.index=0,t.forEach(function(t,n){e.push(t.$el),(0,i.removeClass)(t.$el,"active"),0===n&&(0,i.addClass)(t.$el,"active")}),this.pages=e},doAnimate:function(t,e){var n=this;if(0!==this.$children.length&&(e||!(this.$children.length<2))){var s,r,a,o,l,u=this.speed||300,c=this.index,d=this.pages,f=d.length;e?(s=e.prevPage,a=e.currentPage,r=e.nextPage,o=e.pageWidth,l=e.offsetLeft):(o=this.$el.clientWidth,a=d[c],s=d[c-1],r=d[c+1],this.continuous&&d.length>1&&(s||(s=d[d.length-1]),r||(r=d[0])),s&&(s.style.display="block",this.translate(s,-o)),r&&(r.style.display="block",this.translate(r,o)));var p,h=this.$children[c].$el;"prev"===t?(c>0&&(p=c-1),this.continuous&&0===c&&(p=f-1)):"next"===t&&(f-1>c&&(p=c+1),this.continuous&&c===f-1&&(p=0));var g=function(){if(void 0!==p){var t=n.$children[p].$el;(0,i.removeClass)(h,"active"),(0,i.addClass)(t,"active"),n.index=p}s&&(s.style.display=""),r&&(r.style.display="")};setTimeout(function(){"next"===t?(n.translate(a,-o,u,g),r&&n.translate(r,0,u)):"prev"===t?(n.translate(a,o,u,g),s&&n.translate(s,0,u)):(n.translate(a,0,u,g),"undefined"!=typeof l?(s&&l>0&&n.translate(s,-1*o,u),r&&0>l&&n.translate(r,o,u)):(s&&n.translate(s,-1*o,u),r&&n.translate(r,o,u)))},10)}},next:function(){this.doAnimate("next")},prev:function(){this.doAnimate("prev")},doOnTouchStart:function(t){if(!this.noDrag){var e=this.$el,n=this.dragState,i=t.touches[0];n.startTime=new Date,n.startLeft=i.pageX,n.startTop=i.pageY,n.startTopAbsolute=i.clientY,n.pageWidth=e.offsetWidth,n.pageHeight=e.offsetHeight;var s=this.$children[this.index-1],r=this.$children[this.index],a=this.$children[this.index+1];this.continuous&&this.pages.length>1&&(s||(s=this.$children[this.$children.length-1]),a||(a=this.$children[0])),n.prevPage=s?s.$el:null,n.dragPage=r?r.$el:null,n.nextPage=a?a.$el:null,n.prevPage&&(n.prevPage.style.display="block"),n.nextPage&&(n.nextPage.style.display="block")}},doOnTouchMove:function(t){if(!this.noDrag){var e=this.dragState,n=t.touches[0];e.currentLeft=n.pageX,e.currentTop=n.pageY,e.currentTopAbsolute=n.clientY;var i=e.currentLeft-e.startLeft,s=e.currentTopAbsolute-e.startTopAbsolute,r=Math.abs(i),a=Math.abs(s);if(5>r||r>=5&&a>=1.73*r)return void(this.userScrolling=!0);this.userScrolling=!1,t.preventDefault(),i=Math.min(Math.max(-e.pageWidth+1,i),e.pageWidth-1);var o=0>i?"next":"prev";e.prevPage&&"prev"===o&&this.translate(e.prevPage,i-e.pageWidth),this.translate(e.dragPage,i),e.nextPage&&"next"===o&&this.translate(e.nextPage,i+e.pageWidth)}},doOnTouchEnd:function(){if(!this.noDrag){var t=this.dragState,e=new Date-t.startTime,n=null,i=t.currentLeft-t.startLeft,s=t.currentTop-t.startTop,r=t.pageWidth,a=this.index,o=this.pages.length;if(300>e){var l=Math.abs(i)<5&&Math.abs(s)<5;(isNaN(i)||isNaN(s))&&(l=!0),l&&this.$children[this.index].$emit("tap")}300>e&&void 0===t.currentLeft||((300>e||Math.abs(i)>r/2)&&(n=0>i?"next":"prev"),this.continuous||(0===a&&"prev"===n||a===o-1&&"next"===n)&&(n=null),this.$children.length<2&&(n=null),this.doAnimate(n,{offsetLeft:i,pageWidth:t.pageWidth,prevPage:t.prevPage,currentPage:t.dragPage,nextPage:t.nextPage}),this.dragState={})}}},destroyed:function(){this.timer&&(clearInterval(this.timer),this.timer=null),this.reInitTimer&&(clearTimeout(this.reInitTimer),this.reInitTimer=null)},ready:function(){var t=this;this.ready=!0,this.auto>0&&(this.timer=setInterval(function(){t.dragging||t.animating||t.next()},this.auto)),this.reInitPages();var e=this.$el;e.addEventListener("touchstart",function(e){t.prevent&&e.preventDefault(),t.animating||(t.dragging=!0,t.userScrolling=!1,t.doOnTouchStart(e))}),e.addEventListener("touchmove",function(e){t.dragging&&t.doOnTouchMove(e)}),e.addEventListener("touchend",function(e){return t.userScrolling?(t.dragging=!1,void(t.dragState={})):void(t.dragging&&(t.doOnTouchEnd(e),t.dragging=!1))})}}},function(t,e){"use strict";var n=function(t){return(t||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},i=function(t,e){if(!t||!e)return!1;if(-1!=e.indexOf(" "))throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1},s=function(t,e){if(t){for(var n=t.className,s=(e||"").split(" "),r=0,a=s.length;a>r;r++){var o=s[r];o&&(t.classList?t.classList.add(o):i(t,o)||(n+=" "+o))}t.classList||(t.className=n)}},r=function(t,e){if(t&&e){for(var s=e.split(" "),r=" "+t.className+" ",a=0,o=s.length;o>a;a++){var l=s[a];l&&(t.classList?t.classList.remove(l):i(t,l)&&(r=r.replace(" "+l+" "," ")))}t.classList||(t.className=n(r))}};t.exports={hasClass:i,addClass:s,removeClass:r}},function(t,e){"use strict";var n=function i(t,e){if(!t)return null;var n,s;if("string"==typeof t)return document.createTextNode(t);if(t.tag){n=document.createElement(t.tag);for(var r in t)if(t.hasOwnProperty(r)){if("content"===r||"tag"===r)continue;if("key"===r&&e){var a=t[r];a&&(e[a]=n);continue}n[r]=t[r]}var o=t.content;if(o)if("string"==typeof o)s=document.createTextNode(o),n.appendChild(s);else{o instanceof Array||(o=[o]);for(var l=0,u=o.length;u>l;l++){var c=o[l];s=i(c,e),n.appendChild(s)}}}return n};t.exports=n},function(t,e){"use strict";var n=function(){return document.addEventListener?function(t,e,n){t&&e&&n&&t.addEventListener(e,n,!1)}:function(t,e,n){t&&e&&n&&t.attachEvent("on"+e,n)}}(),i=function(){return document.removeEventListener?function(t,e,n){t&&e&&t.removeEventListener(e,n,!1)}:function(t,e,n){t&&e&&t.detachEvent("on"+e,n)}}(),s=function(t,e,s){var r=function a(){s&&s.apply(this,arguments),i(t,e,a)};n(t,e,r)};t.exports={on:n,off:i,once:s}},function(t,e,n){"use strict";var i=n(3),s=n(5),r=n(7),a=n(4);t.exports={on:s.on,off:s.off,once:s.once,getStyle:r.getStyle,setStyle:r.setStyle,removeClass:i.removeClass,addClass:i.addClass,hasClass:i.hasClass,create:a}},function(t,e){"use strict";function n(t){return t.replace(s,function(t,e,n,i){return i?n.toUpperCase():n}).replace(r,"Moz$1")}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},s=/([\:\-\_]+(.))/g,r=/^moz([A-Z])/,a=Number(document.documentMode),o=9>a?function(t,e){if(!t||!e)return null;e=n(e),"float"===e&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(i){return 1}break;default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(i){return t.style[e]}}:function(t,e){if(!t||!e)return null;e=n(e),"float"===e&&(e="cssFloat");try{var i=document.defaultView.getComputedStyle(t,"");return t.style[e]||i?i[e]:null}catch(s){return t.style[e]}},l=function u(t,e,s){if(t&&e)if("object"===("undefined"==typeof e?"undefined":i(e)))for(var r in e)e.hasOwnProperty(r)&&u(t,r,e[r]);else e=n(e),"opacity"===e&&9>a?t.style.filter=isNaN(s)?"":"alpha(opacity="+100*s+")":t.style[e]=s};t.exports={getStyle:o,setStyle:l}},function(t,e){},function(t,e){t.exports="<div class=swipe-item> <slot></slot> </div>"},function(t,e){t.exports='<div class=swipe> <div class=swipe-items-wrap v-el:wrap> <slot></slot> </div> <div class=swipe-indicators v-show=showIndicators> <div class=swipe-indicator v-for="page in pages" :class="{ active: $index === index }"></div> </div> </div>'},function(t,e,n){var i,s;i=n(1),s=n(9),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options:t.exports).template=s)},function(t,e,n){var i,s;n(8),i=n(2),s=n(10),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options:t.exports).template=s)}])});
module.exports = require("vue-swipe");
/***/ },
/***/ 206:
/***/ 203:
/***/ function(module, exports, __webpack_require__) {

@@ -75,7 +75,7 @@

module.exports = __webpack_require__(207);
module.exports = __webpack_require__(204);
/***/ },
/***/ 207:
/***/ 204:
/***/ function(module, exports, __webpack_require__) {

@@ -85,3 +85,3 @@

var _vueSwipe = __webpack_require__(203);
var _vueSwipe = __webpack_require__(200);

@@ -88,0 +88,0 @@ __webpack_require__(97);

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(201);
module.exports = __webpack_require__(198);

@@ -55,3 +55,3 @@

/***/ 201:
/***/ 198:
/***/ function(module, exports, __webpack_require__) {

@@ -61,7 +61,7 @@

module.exports = __webpack_require__(202);
module.exports = __webpack_require__(199);
/***/ },
/***/ 202:
/***/ 199:
/***/ function(module, exports, __webpack_require__) {

@@ -71,5 +71,5 @@

var _vueSwipe = __webpack_require__(203);
var _vueSwipe = __webpack_require__(200);
__webpack_require__(204);
__webpack_require__(201);

@@ -81,10 +81,10 @@ _vueSwipe.Swipe.name = 'mt-swipe';

/***/ 203:
/***/ function(module, exports, __webpack_require__) {
/***/ 200:
/***/ function(module, exports) {
!function(t,e){ true?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.VueSwipe=e():t.VueSwipe=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var s=n[i]={exports:{},id:i,loaded:!1};return t[i].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e.SwipeItem=e.Swipe=void 0;var s=n(12),r=i(s),a=n(11),o=i(a);e.Swipe=r["default"],e.SwipeItem=o["default"]},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]={name:"mt-swipe-item",ready:function(){this.$dispatch("swipeItemCreated",this)},detached:function(){this.$dispatch("swipeItemDestroyed",this)},destroyed:function(){this.$dispatch("swipeItemDestroyed",this)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(6);e["default"]={name:"mt-swipe",created:function(){this.dragState={}},data:function(){return{ready:!1,dragging:!1,userScrolling:!1,animating:!1,index:0,pages:[],timer:null,reInitTimer:null,noDrag:!1}},props:{speed:{type:Number,"default":300},auto:{type:Number,"default":3e3},continuous:{type:Boolean,"default":!0},showIndicators:{type:Boolean,"default":!0},noDragWhenSingle:{type:Boolean,"default":!0},prevent:{type:Boolean,"default":!1}},events:{swipeItemCreated:function(){var t=this;this.ready&&(clearTimeout(this.reInitTimer),this.reInitTimer=setTimeout(function(){t.reInitPages()},100))},swipeItemDestroyed:function(){var t=this;this.ready&&(clearTimeout(this.reInitTimer),this.reInitTimer=setTimeout(function(){t.reInitPages()},100))}},methods:{translate:function(t,e,n,s){var r=this,a=arguments;if(n){this.animating=!0,t.style.webkitTransition="-webkit-transform "+n+"ms ease-in-out",setTimeout(function(){return t.style.webkitTransform="translate3d("+e+"px, 0, 0)"},50);var o=!1,l=function(){o||(o=!0,r.animating=!1,t.style.webkitTransition="",t.style.webkitTransform="",s&&s.apply(r,a))};(0,i.once)(t,"webkitTransitionEnd",l),setTimeout(l,n+100)}else t.style.webkitTransition="",t.style.webkitTransform="translate3d("+e+"px, 0, 0)"},reInitPages:function(){var t=this.$children;this.noDrag=1===t.length&&this.noDragWhenSingle;var e=[];this.index=0,t.forEach(function(t,n){e.push(t.$el),(0,i.removeClass)(t.$el,"active"),0===n&&(0,i.addClass)(t.$el,"active")}),this.pages=e},doAnimate:function(t,e){var n=this;if(0!==this.$children.length&&(e||!(this.$children.length<2))){var s,r,a,o,l,u=this.speed||300,c=this.index,d=this.pages,f=d.length;e?(s=e.prevPage,a=e.currentPage,r=e.nextPage,o=e.pageWidth,l=e.offsetLeft):(o=this.$el.clientWidth,a=d[c],s=d[c-1],r=d[c+1],this.continuous&&d.length>1&&(s||(s=d[d.length-1]),r||(r=d[0])),s&&(s.style.display="block",this.translate(s,-o)),r&&(r.style.display="block",this.translate(r,o)));var p,h=this.$children[c].$el;"prev"===t?(c>0&&(p=c-1),this.continuous&&0===c&&(p=f-1)):"next"===t&&(f-1>c&&(p=c+1),this.continuous&&c===f-1&&(p=0));var g=function(){if(void 0!==p){var t=n.$children[p].$el;(0,i.removeClass)(h,"active"),(0,i.addClass)(t,"active"),n.index=p}s&&(s.style.display=""),r&&(r.style.display="")};setTimeout(function(){"next"===t?(n.translate(a,-o,u,g),r&&n.translate(r,0,u)):"prev"===t?(n.translate(a,o,u,g),s&&n.translate(s,0,u)):(n.translate(a,0,u,g),"undefined"!=typeof l?(s&&l>0&&n.translate(s,-1*o,u),r&&0>l&&n.translate(r,o,u)):(s&&n.translate(s,-1*o,u),r&&n.translate(r,o,u)))},10)}},next:function(){this.doAnimate("next")},prev:function(){this.doAnimate("prev")},doOnTouchStart:function(t){if(!this.noDrag){var e=this.$el,n=this.dragState,i=t.touches[0];n.startTime=new Date,n.startLeft=i.pageX,n.startTop=i.pageY,n.startTopAbsolute=i.clientY,n.pageWidth=e.offsetWidth,n.pageHeight=e.offsetHeight;var s=this.$children[this.index-1],r=this.$children[this.index],a=this.$children[this.index+1];this.continuous&&this.pages.length>1&&(s||(s=this.$children[this.$children.length-1]),a||(a=this.$children[0])),n.prevPage=s?s.$el:null,n.dragPage=r?r.$el:null,n.nextPage=a?a.$el:null,n.prevPage&&(n.prevPage.style.display="block"),n.nextPage&&(n.nextPage.style.display="block")}},doOnTouchMove:function(t){if(!this.noDrag){var e=this.dragState,n=t.touches[0];e.currentLeft=n.pageX,e.currentTop=n.pageY,e.currentTopAbsolute=n.clientY;var i=e.currentLeft-e.startLeft,s=e.currentTopAbsolute-e.startTopAbsolute,r=Math.abs(i),a=Math.abs(s);if(5>r||r>=5&&a>=1.73*r)return void(this.userScrolling=!0);this.userScrolling=!1,t.preventDefault(),i=Math.min(Math.max(-e.pageWidth+1,i),e.pageWidth-1);var o=0>i?"next":"prev";e.prevPage&&"prev"===o&&this.translate(e.prevPage,i-e.pageWidth),this.translate(e.dragPage,i),e.nextPage&&"next"===o&&this.translate(e.nextPage,i+e.pageWidth)}},doOnTouchEnd:function(){if(!this.noDrag){var t=this.dragState,e=new Date-t.startTime,n=null,i=t.currentLeft-t.startLeft,s=t.currentTop-t.startTop,r=t.pageWidth,a=this.index,o=this.pages.length;if(300>e){var l=Math.abs(i)<5&&Math.abs(s)<5;(isNaN(i)||isNaN(s))&&(l=!0),l&&this.$children[this.index].$emit("tap")}300>e&&void 0===t.currentLeft||((300>e||Math.abs(i)>r/2)&&(n=0>i?"next":"prev"),this.continuous||(0===a&&"prev"===n||a===o-1&&"next"===n)&&(n=null),this.$children.length<2&&(n=null),this.doAnimate(n,{offsetLeft:i,pageWidth:t.pageWidth,prevPage:t.prevPage,currentPage:t.dragPage,nextPage:t.nextPage}),this.dragState={})}}},destroyed:function(){this.timer&&(clearInterval(this.timer),this.timer=null),this.reInitTimer&&(clearTimeout(this.reInitTimer),this.reInitTimer=null)},ready:function(){var t=this;this.ready=!0,this.auto>0&&(this.timer=setInterval(function(){t.dragging||t.animating||t.next()},this.auto)),this.reInitPages();var e=this.$el;e.addEventListener("touchstart",function(e){t.prevent&&e.preventDefault(),t.animating||(t.dragging=!0,t.userScrolling=!1,t.doOnTouchStart(e))}),e.addEventListener("touchmove",function(e){t.dragging&&t.doOnTouchMove(e)}),e.addEventListener("touchend",function(e){return t.userScrolling?(t.dragging=!1,void(t.dragState={})):void(t.dragging&&(t.doOnTouchEnd(e),t.dragging=!1))})}}},function(t,e){"use strict";var n=function(t){return(t||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},i=function(t,e){if(!t||!e)return!1;if(-1!=e.indexOf(" "))throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1},s=function(t,e){if(t){for(var n=t.className,s=(e||"").split(" "),r=0,a=s.length;a>r;r++){var o=s[r];o&&(t.classList?t.classList.add(o):i(t,o)||(n+=" "+o))}t.classList||(t.className=n)}},r=function(t,e){if(t&&e){for(var s=e.split(" "),r=" "+t.className+" ",a=0,o=s.length;o>a;a++){var l=s[a];l&&(t.classList?t.classList.remove(l):i(t,l)&&(r=r.replace(" "+l+" "," ")))}t.classList||(t.className=n(r))}};t.exports={hasClass:i,addClass:s,removeClass:r}},function(t,e){"use strict";var n=function i(t,e){if(!t)return null;var n,s;if("string"==typeof t)return document.createTextNode(t);if(t.tag){n=document.createElement(t.tag);for(var r in t)if(t.hasOwnProperty(r)){if("content"===r||"tag"===r)continue;if("key"===r&&e){var a=t[r];a&&(e[a]=n);continue}n[r]=t[r]}var o=t.content;if(o)if("string"==typeof o)s=document.createTextNode(o),n.appendChild(s);else{o instanceof Array||(o=[o]);for(var l=0,u=o.length;u>l;l++){var c=o[l];s=i(c,e),n.appendChild(s)}}}return n};t.exports=n},function(t,e){"use strict";var n=function(){return document.addEventListener?function(t,e,n){t&&e&&n&&t.addEventListener(e,n,!1)}:function(t,e,n){t&&e&&n&&t.attachEvent("on"+e,n)}}(),i=function(){return document.removeEventListener?function(t,e,n){t&&e&&t.removeEventListener(e,n,!1)}:function(t,e,n){t&&e&&t.detachEvent("on"+e,n)}}(),s=function(t,e,s){var r=function a(){s&&s.apply(this,arguments),i(t,e,a)};n(t,e,r)};t.exports={on:n,off:i,once:s}},function(t,e,n){"use strict";var i=n(3),s=n(5),r=n(7),a=n(4);t.exports={on:s.on,off:s.off,once:s.once,getStyle:r.getStyle,setStyle:r.setStyle,removeClass:i.removeClass,addClass:i.addClass,hasClass:i.hasClass,create:a}},function(t,e){"use strict";function n(t){return t.replace(s,function(t,e,n,i){return i?n.toUpperCase():n}).replace(r,"Moz$1")}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},s=/([\:\-\_]+(.))/g,r=/^moz([A-Z])/,a=Number(document.documentMode),o=9>a?function(t,e){if(!t||!e)return null;e=n(e),"float"===e&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(i){return 1}break;default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(i){return t.style[e]}}:function(t,e){if(!t||!e)return null;e=n(e),"float"===e&&(e="cssFloat");try{var i=document.defaultView.getComputedStyle(t,"");return t.style[e]||i?i[e]:null}catch(s){return t.style[e]}},l=function u(t,e,s){if(t&&e)if("object"===("undefined"==typeof e?"undefined":i(e)))for(var r in e)e.hasOwnProperty(r)&&u(t,r,e[r]);else e=n(e),"opacity"===e&&9>a?t.style.filter=isNaN(s)?"":"alpha(opacity="+100*s+")":t.style[e]=s};t.exports={getStyle:o,setStyle:l}},function(t,e){},function(t,e){t.exports="<div class=swipe-item> <slot></slot> </div>"},function(t,e){t.exports='<div class=swipe> <div class=swipe-items-wrap v-el:wrap> <slot></slot> </div> <div class=swipe-indicators v-show=showIndicators> <div class=swipe-indicator v-for="page in pages" :class="{ active: $index === index }"></div> </div> </div>'},function(t,e,n){var i,s;i=n(1),s=n(9),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options:t.exports).template=s)},function(t,e,n){var i,s;n(8),i=n(2),s=n(10),t.exports=i||{},t.exports.__esModule&&(t.exports=t.exports["default"]),s&&(("function"==typeof t.exports?t.exports.options:t.exports).template=s)}])});
module.exports = require("vue-swipe");
/***/ },
/***/ 204:
/***/ 201:
/***/ function(module, exports) {

@@ -91,0 +91,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(208);
module.exports = __webpack_require__(205);

@@ -55,3 +55,3 @@

/***/ 208:
/***/ 205:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(209);
module.exports = __webpack_require__(206);
/***/ },
/***/ 209:
/***/ 206:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(210)
__vue_script__ = __webpack_require__(212)
var __vue_styles__ = {}
__webpack_require__(207)
__vue_script__ = __webpack_require__(209)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/switch/src/switch.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(213)
__vue_template__ = __webpack_require__(210)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 210:
/***/ 207:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 212:
/***/ 209:
/***/ function(module, exports) {

@@ -114,3 +121,3 @@

/***/ 213:
/***/ 210:
/***/ function(module, exports) {

@@ -117,0 +124,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(221);
module.exports = __webpack_require__(218);

@@ -55,3 +55,3 @@

/***/ 221:
/***/ 218:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(222);
module.exports = __webpack_require__(219);
/***/ },
/***/ 222:
/***/ 219:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(223)
__vue_script__ = __webpack_require__(225)
var __vue_styles__ = {}
__webpack_require__(220)
__vue_script__ = __webpack_require__(222)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/tab-container-item/src/tab-container-item.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(226)
__vue_template__ = __webpack_require__(223)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 223:
/***/ 220:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 225:
/***/ 222:
/***/ function(module, exports) {

@@ -112,3 +119,3 @@

/***/ 226:
/***/ 223:
/***/ function(module, exports) {

@@ -115,0 +122,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(214);
module.exports = __webpack_require__(211);

@@ -55,3 +55,3 @@

/***/ 38:
/***/ 37:
/***/ function(module, exports) {

@@ -109,3 +109,3 @@

/***/ 214:
/***/ 211:
/***/ function(module, exports, __webpack_require__) {

@@ -115,12 +115,13 @@

module.exports = __webpack_require__(215);
module.exports = __webpack_require__(212);
/***/ },
/***/ 215:
/***/ 212:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(216)
__vue_script__ = __webpack_require__(218)
var __vue_styles__ = {}
__webpack_require__(213)
__vue_script__ = __webpack_require__(215)
if (__vue_script__ &&

@@ -130,8 +131,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/tab-container/src/tab-container.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(220)
__vue_template__ = __webpack_require__(217)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -141,3 +148,3 @@

/***/ 216:
/***/ 213:
/***/ function(module, exports) {

@@ -149,3 +156,3 @@

/***/ 218:
/***/ 215:
/***/ function(module, exports, __webpack_require__) {

@@ -159,5 +166,5 @@

var _event = __webpack_require__(38);
var _event = __webpack_require__(37);
var _arrayFindIndex = __webpack_require__(219);
var _arrayFindIndex = __webpack_require__(216);

@@ -215,3 +222,3 @@ var _arrayFindIndex2 = _interopRequireDefault(_arrayFindIndex);

var lastIndex = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];
var lastIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;

@@ -301,35 +308,10 @@ if (typeof this.index !== 'number') {

/***/ 219:
/***/ 216:
/***/ function(module, exports) {
'use strict';
module.exports = function (arr, predicate, ctx) {
if (typeof Array.prototype.findIndex === 'function') {
return arr.findIndex(predicate, ctx);
}
module.exports = require("array-find-index");
if (typeof predicate !== 'function') {
throw new TypeError('predicate must be a function');
}
var list = Object(arr);
var len = list.length;
if (len === 0) {
return -1;
}
for (var i = 0; i < len; i++) {
if (predicate.call(ctx, list[i], i, list)) {
return i;
}
}
return -1;
};
/***/ },
/***/ 220:
/***/ 217:
/***/ function(module, exports) {

@@ -336,0 +318,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(227);
module.exports = __webpack_require__(224);

@@ -55,3 +55,3 @@

/***/ 227:
/***/ 224:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(228);
module.exports = __webpack_require__(225);
/***/ },
/***/ 228:
/***/ 225:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(229)
__vue_script__ = __webpack_require__(231)
var __vue_styles__ = {}
__webpack_require__(226)
__vue_script__ = __webpack_require__(228)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/tab-item/src/tab-item.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(232)
__vue_template__ = __webpack_require__(229)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 229:
/***/ 226:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 231:
/***/ 228:
/***/ function(module, exports) {

@@ -114,3 +121,3 @@

/***/ 232:
/***/ 229:
/***/ function(module, exports) {

@@ -117,0 +124,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(233);
module.exports = __webpack_require__(230);

@@ -55,3 +55,3 @@

/***/ 233:
/***/ 230:
/***/ function(module, exports, __webpack_require__) {

@@ -61,12 +61,13 @@

module.exports = __webpack_require__(234);
module.exports = __webpack_require__(231);
/***/ },
/***/ 234:
/***/ 231:
/***/ function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
__webpack_require__(235)
__vue_script__ = __webpack_require__(237)
var __vue_styles__ = {}
__webpack_require__(232)
__vue_script__ = __webpack_require__(234)
if (__vue_script__ &&

@@ -76,8 +77,14 @@ __vue_script__.__esModule &&

console.warn("[vue-loader] packages/tabbar/src/tabbar.vue: named exports in *.vue files are ignored.")}
__vue_template__ = __webpack_require__(238)
__vue_template__ = __webpack_require__(235)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
var __vue_options__ = typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports
if (__vue_template__) {
(typeof module.exports === "function" ? (module.exports.options || (module.exports.options = {})) : module.exports).template = __vue_template__
__vue_options__.template = __vue_template__
}
if (!__vue_options__.computed) __vue_options__.computed = {}
Object.keys(__vue_styles__).forEach(function (key) {
var module = __vue_styles__[key]
__vue_options__.computed[key] = function () { return module }
})

@@ -87,3 +94,3 @@

/***/ 235:
/***/ 232:
/***/ function(module, exports) {

@@ -95,3 +102,3 @@

/***/ 237:
/***/ 234:
/***/ function(module, exports) {

@@ -115,3 +122,3 @@

/***/ 238:
/***/ 235:
/***/ function(module, exports) {

@@ -118,0 +125,0 @@

@@ -49,3 +49,3 @@ module.exports =

module.exports = __webpack_require__(239);
module.exports = __webpack_require__(236);

@@ -55,10 +55,3 @@

/***/ 9:
/***/ function(module, exports) {
module.exports = require("vue");
/***/ },
/***/ 239:
/***/ 236:
/***/ function(module, exports, __webpack_require__) {

@@ -68,7 +61,7 @@

module.exports = __webpack_require__(240);
module.exports = __webpack_require__(237);
/***/ },
/***/ 240:
/***/ 237:
/***/ function(module, exports, __webpack_require__) {

@@ -78,7 +71,7 @@

var _vueToastMobile = __webpack_require__(241);
var _vueToastMobile = __webpack_require__(238);
var _vueToastMobile2 = _interopRequireDefault(_vueToastMobile);
__webpack_require__(242);
__webpack_require__(239);

@@ -91,10 +84,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/***/ 241:
/***/ function(module, exports, __webpack_require__) {
/***/ 238:
/***/ function(module, exports) {
!function(e,t){ true?module.exports=t(__webpack_require__(9)):"function"==typeof define&&define.amd?define("VueToastMobile",["vue"],t):"object"==typeof exports?exports.VueToastMobile=t(require("vue")):e.VueToastMobile=t(e.vue)}(this,function(e){return function(e){function t(s){if(o[s])return o[s].exports;var i=o[s]={exports:{},id:s,loaded:!1};return e[s].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var o={};return t.m=e,t.c=o,t.p="/lib/",t(0)}([function(e,t,o){"use strict";function s(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e){e=e||{};var t=void 0,o=void 0,s=void 0,i=void 0,a=void 0;"string"==typeof e?(t=e,s=3e3,o="middle",i="",a=""):(t=e.message,s=e.duration||3e3,o=e.position||"middle",i=e.className||"",a=e.iconClass||"");var u=r();u.message=t,u.position=o,u.className=i,u.iconClass=a,n["default"].nextTick(function(){u.$appendTo(document.body),setTimeout(function(){u.$remove(),p(u)},s)})};var i=o(5),n=s(i),a=n["default"].extend(o(3)),u=[],r=function(){if(u.length>0){var e=u[0];return u.splice(0,1),e}return new a({el:document.createElement("div")})},p=function(e){e&&u.push(e)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={props:{message:String,className:{type:String,"default":""},position:{type:String,"default":"middle"},iconClass:{type:String,"default":""}},computed:{customClass:function(){var e=[];switch(this.position){case"top":e.push("is-placetop");break;case"bottom":e.push("is-placebottom");break;default:e.push("is-placemiddle")}return e.push(this.className),e.join(" ")}}}},function(e,t){e.exports="<div class=\"mint-toast {{ customClass }}\" transition=mint-toast-pop :style=\"{ 'padding': iconClass === '' ? '10px' : '20px' }\"> <i class=\"mint-toast-icon {{ iconClass }}\" v-if=\"iconClass !== ''\"></i> <span class=mint-toast-text :style=\"{ 'padding-top': iconClass === '' ? '0' : '10px' }\">{{ message }}</span> </div>"},function(e,t,o){var s,i;o(4),s=o(1),i=o(2),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),i&&(("function"==typeof e.exports?e.exports.options:e.exports).template=i)},function(e,t){},function(t,o){t.exports=e}])});
module.exports = require("vue-toast-mobile");
/***/ },
/***/ 242:
/***/ 239:
/***/ function(module, exports) {

@@ -101,0 +94,0 @@

{
"name": "mint-ui",
"version": "1.0.1",
"version": "1.0.2",
"description": "Mobile UI elements for vue.js",

@@ -45,3 +45,3 @@ "keywords": [

"vue-lazyload": "^0.7.1",
"vue-msgbox": "^0.2.13",
"vue-msgbox": "^0.2.14",
"vue-popup": "0.1.13",

@@ -48,0 +48,0 @@ "vue-swipe": "^0.2.7",

@@ -38,12 +38,10 @@ import Vue from 'vue';

if (instance) {
Vue.nextTick(() => {
instance.visible = false;
timer = setTimeout(() => {
if (instance.$el) {
instance.$el.style.display = 'none';
}
}, 400);
});
instance.visible = false;
timer = setTimeout(() => {
if (instance.$el) {
instance.$el.style.display = 'none';
}
}, 400);
}
}
};

@@ -82,3 +82,3 @@ import Header from '../packages/header/index.js';

module.exports = {
version: '1.0.1',
version: '1.0.2',
install,

@@ -85,0 +85,0 @@ Header,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc