18 lines
502 KiB
JavaScript
18 lines
502 KiB
JavaScript
|
|
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["lformdesign"]=e():t["lformdesign"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"014b":function(t,e,n){"use strict";var a=n("e53d"),r=n("07e3"),i=n("8e60"),o=n("63b6"),l=n("9138"),s=n("ebfd").KEY,c=n("294c"),u=n("dbdb"),d=n("45f2"),f=n("62a0"),p=n("5168"),h=n("ccb9"),m=n("6718"),b=n("47ee"),v=n("9003"),y=n("e4ae"),g=n("f772"),_=n("241e"),w=n("36c3"),x=n("1bc3"),O=n("aebd"),k=n("a159"),C=n("0395"),E=n("bf0b"),$=n("9aa9"),S=n("d9f6"),T=n("c3a1"),j=E.f,P=S.f,A=C.f,N=a.Symbol,L=a.JSON,D=L&&L.stringify,I="prototype",q=p("_hidden"),R=p("toPrimitive"),M={}.propertyIsEnumerable,B=u("symbol-registry"),F=u("symbols"),K=u("op-symbols"),U=Object[I],V="function"==typeof N&&!!$.f,W=a.QObject,z=!W||!W[I]||!W[I].findChild,H=i&&c((function(){return 7!=k(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(t,e,n){var a=j(U,e);a&&delete U[e],P(t,e,n),a&&t!==U&&P(U,e,a)}:P,G=function(t){var e=F[t]=k(N[I]);return e._k=t,e},Y=V&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},Z=function(t,e,n){return t===U&&Z(K,e,n),y(t),e=x(e,!0),y(n),r(F,e)?(n.enumerable?(r(t,q)&&t[q][e]&&(t[q][e]=!1),n=k(n,{enumerable:O(0,!1)})):(r(t,q)||P(t,q,O(1,{})),t[q][e]=!0),H(t,e,n)):P(t,e,n)},X=function(t,e){y(t);var n,a=b(e=w(e)),r=0,i=a.length;while(i>r)Z(t,n=a[r++],e[n]);return t},Q=function(t,e){return void 0===e?k(t):X(k(t),e)},J=function(t){var e=M.call(this,t=x(t,!0));return!(this===U&&r(F,t)&&!r(K,t))&&(!(e||!r(this,t)||!r(F,t)||r(this,q)&&this[q][t])||e)},tt=function(t,e){if(t=w(t),e=x(e,!0),t!==U||!r(F,e)||r(K,e)){var n=j(t,e);return!n||!r(F,e)||r(t,q)&&t[q][e]||(n.enumerable=!0),n}},et=function(t){var e,n=A(w(t)),a=[],i=0;while(n.length>i)r(F,e=n[i++])||e==q||e==s||a.push(e);return a},nt=function(t){var e,n=t===U,a=A(n?K:w(t)),i=[],o=0;while(a.length>o)!r(F,e=a[o++])||n&&!r(U,e)||i.push(F[e]);return i};V||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(K,n),r(this,q)&&r(this[q],t)&&(this[q][t]=!1),H(this,t,O(1,n))};return i&&z&&H(U,t,{configurable:!0,set:e}),G(t)},l(N[I],"toString",(function(){return this._k})),E.f=tt,S.f=Z,n("6abf").f=C.f=et,n("355d").f=J,$.f=nt,i&&!n("b8e3")&&l(U,"propertyIsEnumerable",J,!0),h.f=function(t){return G(p(t))}),o(o.G+o.W+o.F*!V,{Symbol:N});for(var at="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;at.length>rt;)p(at[rt++]);for(var it=T(p.store),ot=0;it.length>ot;)m(it[ot++]);o(o.S+o.F*!V,"Symbol",{for:function(t){return r(B,t+="")?B[t]:B[t]=N(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),o(o.S+o.F*!V,"Object",{create:Q,defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var lt=c((functi
|
||
|
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||
|
|
e.read=function(t,e,n,a,r){var i,o,l=8*r-a-1,s=(1<<l)-1,c=s>>1,u=-7,d=n?r-1:0,f=n?-1:1,p=t[e+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=l;u>0;i=256*i+t[e+d],d+=f,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=a;u>0;o=256*o+t[e+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===s)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,a),i-=c}return(p?-1:1)*o*Math.pow(2,i-a)},e.write=function(t,e,n,a,r,i){var o,l,s,c=8*i-r-1,u=(1<<c)-1,d=u>>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=a?0:i-1,h=a?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,o=u):(o=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-o))<1&&(o--,s*=2),e+=o+d>=1?f/s:f*Math.pow(2,1-d),e*s>=2&&(o++,s/=2),o+d>=u?(l=0,o=u):o+d>=1?(l=(e*s-1)*Math.pow(2,r),o+=d):(l=e*Math.pow(2,d-1)*Math.pow(2,r),o=0));r>=8;t[n+p]=255&l,p+=h,l/=256,r-=8);for(o=o<<r|l,c+=r;c>0;t[n+p]=255&o,p+=h,o/=256,c-=8);t[n+p-h]|=128*m}},9224:function(t){t.exports=JSON.parse('{"name":"learun-form-design","version":"2.6.7","company":"力软信息技术(苏州)有限公司","description":"vue for form.","author":"cbb1127","main":"dist2/lformdesign.common.js","keywords":["vue","form-design","form-design-vue"],"license":"ISC","scripts":{"dev":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","test:unit":"vue-cli-service test:unit","prepublishOnly":"npm run lib","lib":"vue-cli-service build --target lib --name lformdesign --dest dist2 lib/index.js"},"dependencies":{"element-ui":"^2.15.0","vue":"^2.6.14","vue-quill-editor":"^3.0.6","vue-router":"^3.0.6"},"devDependencies":{"@vue/cli-plugin-babel":"^3.7.0","@vue/cli-plugin-eslint":"^3.7.0","@vue/cli-service":"^4.5.9","@vue/eslint-config-standard":"^4.0.0","@vue/test-utils":"^1.0.0-beta.29","babel-eslint":"^10.0.1","chai":"^4.2.0","core-js":"^2.6.5","css-loader":"^3.1.0","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","highlight.js":"^9.15.8","less":"^3.9.0","less-loader":"^5.0.0","markdown-it-chain":"^1.3.0","markdown-it-container":"^2.0.0","shelljs":"^0.8.3","style-loader":"^0.23.1","transliteration":"^2.1.4","vue-markdown-loader":"^2.4.1","vue-template-compiler":"^2.6.10"},"eslintConfig":{"root":true,"env":{"node":true,"browser":true},"extends":["plugin:vue/essential","eslint:recommended"],"rules":{"vue/no-reserved-keys":0,"no-empty":0,"no-useless-escape":0,"no-console":0},"parserOptions":{"parser":"babel-eslint"}},"eslintIgnore":["/src/docs","dist2"],"postcss":{"plugins":{"autoprefixer":{}}},"babel":{"presets":["@vue/app"]}}')},9339:function(t,e,n){(function(e){
|
||
|
|
/*!
|
||
|
|
* Quill Editor v1.3.7
|
||
|
|
* https://quilljs.com/
|
||
|
|
* Copyright (c) 2014, Jason Chen
|
||
|
|
* Copyright (c) 2013, salesforce.com
|
||
|
|
*/
|
||
|
|
(function(e,n){t.exports=n()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:a})},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(17),r=n(18),i=n(19),o=n(45),l=n(46),s=n(47),c=n(48),u=n(49),d=n(12),f=n(32),p=n(33),h=n(31),m=n(1),b={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:a.default,Format:r.default,Leaf:i.default,Embed:c.default,Scroll:o.default,Block:s.default,Inline:l.default,Text:u.default,Attributor:{Attribute:d.default,Class:f.default,Style:p.default,Store:h.default}};e.default=b},function(t,e,n){"use strict";var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function a(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return a(e,t),e}(Error);e.ParchmentError=r;var i,o={},l={},s={},c={};function u(t,e){var n=f(t);if(null==n)throw new r("Unable to create "+t+" blot");var a=n,i=t instanceof Node||t["nodeType"]===Node.TEXT_NODE?t:a.create(e);return new a(i,e)}function d(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?d(t.parentNode,n):null}function f(t,e){var n;if(void 0===e&&(e=i.ANY),"string"===typeof t)n=c[t]||o[t];else if(t instanceof Text||t["nodeType"]===Node.TEXT_NODE)n=c["text"];else if("number"===typeof t)t&i.LEVEL&i.BLOCK?n=c["block"]:t&i.LEVEL&i.INLINE&&(n=c["inline"]);else if(t instanceof HTMLElement){var a=(t.getAttribute("class")||"").split(/\s+/);for(var r in a)if(n=l[a[r]],n)break;n=n||s[t.tagName]}return null==n?null:e&i.LEVEL&n.scope&&e&i.TYPE&n.scope?n:null}function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map((function(t){return p(t)}));var n=t[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new r("Invalid definition");if("abstract"===n.blotName)throw new r("Cannot register abstract class");if(c[n.blotName||n.attrName]=n,"string"===typeof n.keyName)o[n.keyName]=n;else if(null!=n.className&&(l[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(t){return t.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var a=Array.isArray(n.tagName)?n.tagName:[n.tagName];a.forEach((function(t){null!=s[t]&&null!=n.className||(s[t]=n)}))}return n}e.DATA_KEY="__blot",function(t){t[t["TYPE"]=3]="TYPE",t[t["LEVEL"]=12]="LEVEL",t[t["ATTRIBUTE"]=13]="ATTRIBUTE",t[t["BLOT"]=14]="BLOT",t[t["INLINE"]=7]="INLINE",t[t["BLOCK"]=11]="BLOCK",t[t["BLOCK_BLOT"]=10]="BLOCK_BLOT",t[t["INLINE_BLOT"]=6]="INLINE_BLOT",t[t["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",t[t["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",t[t["ANY"]=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=u,e.find=d,e.query=f,e.register=p},function(t,e,n){var a=n(51),r=n(11),i=n(3),o=n(20),l=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},s.prototype["delete"]=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(
|
||
|
|
/*!
|
||
|
|
* The buffer module from node.js, for the browser.
|
||
|
|
*
|
||
|
|
* @author Feross Aboukhadijeh <http://feross.org>
|
||
|
|
* @license MIT
|
||
|
|
*/
|
||
|
|
var a=n("1fb5"),r=n("9152"),i=n("e3db");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function l(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(l()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=c.prototype):(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return u(this,t,e,n)}function u(t,e,n,a){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?b(t,e,n,a):"string"===typeof e?h(t,e,n):v(t,e)}function d(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e,n,a){return d(e),e<=0?s(t,e):void 0!==n?"string"===typeof a?s(t,e).fill(n,a):s(t,e).fill(n):s(t,e)}function p(t,e){if(d(e),t=s(t,e<0?0:0|y(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var a=0|_(e,n);t=s(t,a);var r=t.write(e,n);return r!==a&&(t=t.slice(0,r)),t}function m(t,e){var n=e.length<0?0:0|y(e.length);t=s(t,n);for(var a=0;a<n;a+=1)t[a]=255&e[a];return t}function b(t,e,n,a){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(a||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===a?new Uint8Array(e):void 0===a?new Uint8Array(e,n):new Uint8Array(e,n,a),c.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=c.prototype):t=m(t,e),t}function v(t,e){if(c.isBuffer(e)){var n=0|y(e.length);return t=s(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?s(t,0):m(t,e);if("Buffer"===e.type&&i(e.data))return m(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),c.alloc(+t)}function _(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(a)return Z(t).length;e=(""+e).toLowerCase(),a=!0}}function w(t,e,n){var a=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return q(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return D(this,e,n);case"latin1":case"binary":return I(this,e,n);case"base64":return P(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,n);default:if(a)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function x(t,e,n){var a=t[e];t[e]=t[n],t[n]=a}function O(t,e,n,a,r){if(0===t.length)return-1;if("string"===typeof n?(a=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"===typeof e&&(e=c.from(e,a)),c.isBuffer(e))retu
|
||
|
|
//# sourceMappingURL=lformdesign.umd.min.js.map
|