yzms/touch_mz/dist/2.chunk.js

20 lines
46 KiB
JavaScript
Raw Normal View History

2024-04-01 15:54:27 +08:00
webpackJsonp([2],{47:function(t,e,o){o(58);var i=o(19)(o(53),o(64),"data-v-2e56d9ac",null);i.options.__file="E:\\git_project\\backups_source\\标准版敏卓触摸版\\src\\views\\order.vue",i.esModule&&Object.keys(i.esModule).some(function(t){return"default"!==t&&"__esModule"!==t})&&console.error("named exports are not supported in *.vue files."),i.options.functional&&console.error("[vue-loader] order.vue: functional components are not supported with templates, they should use render functions."),t.exports=i.exports},49:function(t,e,o){"use strict";function i(t,e){function o(){this.constructor=t}S(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}function s(t){console.error("[BScroll warn]: "+t)}function n(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function r(t){for(var e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];for(var i=0;i<e.length;i++){var s=e[i];for(var n in s)t[n]=s[n]}return t}function a(t){return void 0===t||null===t}function c(t){return!1===Y?t:"standard"===Y?"transitionEnd"===t?"transitionend":t:Y+t.charAt(0).toUpperCase()+t.substr(1)}function h(t){return"string"==typeof t?document.querySelector(t):t}function l(t,e,o,i){t.addEventListener(e,o,{passive:!1,capture:!!i})}function u(t,e,o,i){t.removeEventListener(e,o,{capture:!!i})}function p(t){for(var e=0,o=0;t;)e-=t.offsetLeft,o-=t.offsetTop,t=t.offsetParent;return{left:e,top:o}}function d(t){if(t instanceof window.SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function f(t,e){for(var o in e)if(e[o].test(t[o]))return!0;return!1}function m(t,e){var o=document.createEvent("Event");o.initEvent(e,!0,!0),o.pageX=t.pageX,o.pageY=t.pageY,t.target.dispatchEvent(o)}function v(t,e){function o(){n=document.createEvent("Event"),n.initEvent(e,a,c),r(n,s)}void 0===e&&(e="click");var i;"mouseup"===t.type?i=t:"touchend"!==t.type&&"touchcancel"!==t.type||(i=t.changedTouches[0]);var s={};i&&(s.screenX=i.screenX||0,s.screenY=i.screenY||0,s.clientX=i.clientX||0,s.clientY=i.clientY||0);var n,a=!0,c=!0;if("undefined"!=typeof MouseEvent)try{n=new MouseEvent(e,r({bubbles:a,cancelable:c},s))}catch(t){o()}else o();n.forwardedTouchEvent=!0,n._constructed=!0,t.target.dispatchEvent(n)}function y(t){v(t,"dblclick")}function g(){}function k(t,e,o){q.get=function(){return V(this,e)},q.set=function(t){W(this,e,t)},Object.defineProperty(t,o,q)}function b(t,e,o){var i=o.useTransition,s={};return Object.defineProperty(s,"probeType",{enumerable:!0,configurable:!1,get:function(){return o.probeType}}),i?new pt(t,e,s):new dt(t,e,s)}function T(t){return["click","bindToWrapper","disableMouse","disableTouch","preventDefault","stopPropagation","tagException","preventDefaultException"].reduce(function(e,o){return e[o]=t[o],e},{})}function w(t,e,o,i){var s=["momentum","momentumLimitTime","momentumLimitDistance","deceleration","swipeBounceTime","swipeTime"].reduce(function(e,o){return e[o]=t[o],e},{});return s.scrollable=t[e],s.bounces=o,s.rect=i,s}function _(t,e,o){o.forEach(function(o){var i,s;"string"==typeof o?i=s=o:(i=o.source,s=o.target),t.on(i,function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return e.trigger.apply(e,[s].concat(t))})})}/*!
* better-scroll / core
* (c) 2016-2019 ustbhuangyi
* Released under the MIT License.
*/
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var P,S=function(t,e){return(S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},D=function(){return D=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++){e=arguments[o];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},D.apply(this,arguments)},E="undefined"!=typeof window,x=E&&navigator.userAgent.toLowerCase(),C=x&&/wechatdevtools/.test(x),B=x&&x.indexOf("android")>0,M=E&&document.createElement("div").style,Y=function(){if(!E)return!1;var t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(var e in t)if(void 0!==M[t[e]])return e;return!1}(),L=(Y&&"standard"!==Y&&Y.toLowerCase(),c("transform")),X=c("transition"),z=E&&c("perspective")in M,H=E&&("ontouchstart"in window||C),O=E&&X in M,I={transform:L,transition:X,transitionTimingFunction:c("transitionTimingFunction"),transitionDuration:c("transitionDuration"),transitionDelay:c("transitionDelay"),transformOrigin:c("transformOrigin"),transitionEnd:c("transitionEnd")},R={touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2},j=f,A={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},$=E&&window,N=function(){return E?$.requestAnimationFrame||$.webkitRequestAnimationFrame||$.mozRequestAnimationFrame||$.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||100/60)/2)}:g}(),F=function(){return E?$.cancelAnimationFrame||$.webkitCancelAnimationFrame||$.mozCancelAnimationFrame||$.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:g}(),K=function(t){},q={enumerable:!0,configurable:!0,get:K,set:K},V=function(t,e){for(var o=e.split("."),i=0;i<o.length-1;i++)if("object"!=typeof(t=t[o[i]])||!t)return;var s=o.pop();return"function"==typeof t[s]?function(){return t[s].apply(t,arguments)}:t[s]},W=function(t,e,o){for(var i,s=e.split("."),n=0;n<s.length-1;n++)i=s[n],t[i]||(t[i]={}),t=t[i];t[s.pop()]=o},U=function(){function t(t){this.events={},this.eventTypes={},this.registerType(t)}return t.prototype.on=function(t,e,o){return void 0===o&&(o=this),this._checkInTypes(t),this.events[t]||(this.events[t]=[]),this.events[t].push([e,o]),this},t.prototype.once=function(t,e,o){var i=this;void 0===o&&(o=this),this._checkInTypes(t);var s=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];i.off(t,s),e.apply(o,n)};return s.fn=e,this.on(t,s),this},t.prototype.off=function(t,e){if(!t&&!e)return this.events={},this;if(t){if(this._checkInTypes(t),!e)return this.events[t]=[],this;var o=this.events[t];if(!o)return this;for(var i=o.length;i--;)(o[i][0]===e||o[i][0]&&o[i][0].fn===e)&&o.splice(i,1);return this}},t.prototype.trigger=function(t){for(var e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];this._checkInTypes(t);var i=this.events[t];if(i)for(var s,n=i.length,r=i.slice(),a=0;a<n;a++){var c=r[a],h=c[0],l=c[1];if(h&&!0===(s=h.apply(l,e)))return s}},t.prototype.registerType=function(t){var e=this;t.forEach(function(t){e.eventTypes[t]=t})},t.prototype.destroy=function(){this.events={},this.eventTypes={}},t.prototype._checkInTypes=function(t){var e=this.eventTypes;e[t]===t||s('EventEmitter has used unknown event type: "'+t+'", should be oneof ['+Object.keys(e)+"]")},t}();!function(t){t[t.Positive=1]="Positive",t[t.Negative=-1]="Negative",t[t.Default=0]="Default"}(P||(P={}));var Z;!function(t){t.Default="",t.Horizontal="horizontal",t.Vertical="vertical",t.None="none"}(Z||(Z={}));var G;!function(t){t.None="",t.Horizontal="horizontal",t.Vertical="vertical"}(G||(G={}));var J;!function(t){t[t.Touch=1]="Touch",t[t.Mouse=2]="Mouse"}(J||(J={}));var Q;!function(t){t[t.Left=0]="Left",t[t.Middle=1]="Middle",t[t.Right=2]="Right"}(Q||(Q={}));var tt;!function(t){t[t.Default=0]="Default",t[t.Throttle=1]="Throttle",t[t.Normal=2]="Normal",t[t.Realtime=3