框架源码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

0 lines
1.8 MiB

4 years ago
  1. !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define("TIS",["vue"],t):"object"==typeof exports?exports.TIS=t(require("vue")):e.TIS=t(e.Vue)}("undefined"!=typeof self?self:this,(function(e){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/dist/",i(i.s=404)}([function(e,t){var i={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},n={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},r=Object.prototype.toString,o=Array.prototype,a=o.forEach,s=o.filter,l=o.slice,c=o.map,u=o.reduce,h={};function d(e){if(null==e||"object"!=typeof e)return e;var t=e,o=r.call(e);if("[object Array]"===o){if(!k(e)){t=[];for(var a=0,s=e.length;a<s;a++)t[a]=d(e[a])}}else if(n[o]){if(!k(e)){var l=e.constructor;if(e.constructor.from)t=l.from(e);else{t=new l(e.length);for(a=0,s=e.length;a<s;a++)t[a]=d(e[a])}}}else if(!i[o]&&!k(e)&&!w(e))for(var c in t={},e)e.hasOwnProperty(c)&&(t[c]=d(e[c]));return t}function f(e,t,i){if(!b(t)||!b(e))return i?d(t):e;for(var n in t)if(t.hasOwnProperty(n)){var r=e[n],o=t[n];!b(o)||!b(r)||x(o)||x(r)||w(o)||w(r)||_(o)||_(r)||k(o)||k(r)?!i&&n in e||(e[n]=d(t[n])):f(r,o,i)}return e}function p(e,t,i){for(var n in t)t.hasOwnProperty(n)&&(i?null!=t[n]:null==e[n])&&(e[n]=t[n]);return e}var m,g=function(){return h.createCanvas()};function v(e,t,i){if(e&&t)if(e.forEach&&e.forEach===a)e.forEach(t,i);else if(e.length===+e.length)for(var n=0,r=e.length;n<r;n++)t.call(i,e[n],n,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e)}function y(e,t){var i=l.call(arguments,2);return function(){return e.apply(t,i.concat(l.call(arguments)))}}function x(e){return"[object Array]"===r.call(e)}function b(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function _(e){return!!i[r.call(e)]}function w(e){return"object"==typeof e&&"number"==typeof e.nodeType&&"object"==typeof e.ownerDocument}h.createCanvas=function(){return document.createElement("canvas")};function k(e){return e.__ec_primitive__}function S(e){var t=x(e);this.data={};var i=this;function n(e,n){t?i.set(e,n):i.set(n,e)}e instanceof S?e.each(n):e&&v(e,n)}S.prototype={constructor:S,get:function(e){return this.data.hasOwnProperty(e)?this.data[e]:null},set:function(e,t){return this.data[e]=t},each:function(e,t){for(var i in void 0!==t&&(e=y(e,t)),this.data)this.data.hasOwnProperty(i)&&e(this.data[i],i)},removeKey:function(e){delete this.data[e]}},t.$override=function(e,t){"createCanvas"===e&&(m=null),h[e]=t},t.clone=d,t.merge=f,t.mergeAll=function(e,t){for(var i=e[0],n=1,r=e.length;n<r;n++)i=f(i,e[n],t);return i},t.extend=function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e},t.defaults=p,t.createCanvas=g,t.getContext=function(){return m||(m=g().getContext("2d")),m},t.indexOf=function(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var i=0,n=e.length;i<n;i++)if(e[i]===t)return i}return-1},t.inherits=function(e,t){var i=e.pr