UNPKG

@mucfe/matui

Version:

基于Vue和ElementUi的PC组件库

1 lines 24.6 kB
module.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="/",e(e.s="92c3")}({"01f9":function(t,n,e){"use strict";var r=e("2d00"),o=e("5ca1"),i=e("2aba"),c=e("32e9"),a=e("84f2"),u=e("41a0"),f=e("7f20"),s=e("38fd"),l=e("2b4c")("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",h="values",b=function(){return this};t.exports=function(t,n,e,m,y,x,_){u(e,n,m);var g,w,j,O=function(t){if(!p&&t in M)return M[t];switch(t){case v:return function(){return new e(this,t)};case h:return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",P=y==h,E=!1,M=t.prototype,F=M[l]||M[d]||y&&M[y],T=F||O(y),A=y?P?O("entries"):T:void 0,I="Array"==n&&M.entries||F;if(I&&(j=s(I.call(new t)),j!==Object.prototype&&j.next&&(f(j,S,!0),r||"function"==typeof j[l]||c(j,l,b))),P&&F&&F.name!==h&&(E=!0,T=function(){return F.call(this)}),r&&!_||!p&&!E&&M[l]||c(M,l,T),a[n]=T,a[S]=b,y)if(g={values:P?T:O(h),keys:x?T:O(v),entries:A},_)for(w in g)w in M||i(M,w,g[w]);else o(o.P+o.F*(p||E),n,g);return g}},"097d":function(t,n,e){"use strict";var r=e("5ca1"),o=e("8378"),i=e("7726"),c=e("ebd6"),a=e("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return a(n,t()).then((function(){return e}))}:t,e?function(e){return a(n,t()).then((function(){throw e}))}:t)}})},"0d58":function(t,n,e){var r=e("ce10"),o=e("e11e");t.exports=Object.keys||function(t){return r(t,o)}},1495:function(t,n,e){var r=e("86cc"),o=e("cb7c"),i=e("0d58");t.exports=e("9e1e")?Object.defineProperties:function(t,n){o(t);var e,c=i(n),a=c.length,u=0;while(a>u)r.f(t,e=c[u++],n[e]);return t}},1991:function(t,n,e){var r,o,i,c=e("9b43"),a=e("31f4"),u=e("fab2"),f=e("230e"),s=e("7726"),l=s.process,p=s.setImmediate,d=s.clearImmediate,v=s.MessageChannel,h=s.Dispatch,b=0,m={},y="onreadystatechange",x=function(){var t=+this;if(m.hasOwnProperty(t)){var n=m[t];delete m[t],n()}},_=function(t){x.call(t.data)};p&&d||(p=function(t){var n=[],e=1;while(arguments.length>e)n.push(arguments[e++]);return m[++b]=function(){a("function"==typeof t?t:Function(t),n)},r(b),b},d=function(t){delete m[t]},"process"==e("2d95")(l)?r=function(t){l.nextTick(c(x,t,1))}:h&&h.now?r=function(t){h.now(c(x,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=_,r=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(t){s.postMessage(t+"","*")},s.addEventListener("message",_,!1)):r=y in f("script")?function(t){u.appendChild(f("script"))[y]=function(){u.removeChild(this),x.call(t)}}:function(t){setTimeout(c(x,t,1),0)}),t.exports={set:p,clear:d}},"1fa8":function(t,n,e){var r=e("cb7c");t.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(c){var i=t["return"];throw void 0!==i&&r(i.call(t)),c}}},"230e":function(t,n,e){var r=e("d3f4"),o=e("7726").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"23c6":function(t,n,e){var r=e("2d95"),o=e("2b4c")("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,n){try{return t[n]}catch(e){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(n=Object(t),o))?e:i?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},"25fc":function(t,n){t.exports=require("core-js/modules/es6.function.name")},2621:function(t,n){n.f=Object.getOwnPropertySymbols},"27ee":function(t,n,e){var r=e("23c6"),o=e("2b4c")("iterator"),i=e("84f2");t.exports=e("8378").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},2877:function(t,n,e){"use strict";function r(t,n,e,r,o,i,c,a){var u,f="function"===typeof t?t.options:t;if(n&&(f.render=n,f.staticRenderFns=e,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),c?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},f._ssrRegister=u):o&&(u=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(f.functional){f._injectStyles=u;var s=f.render;f.render=function(t,n){return u.call(n),s(t,n)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:f}}e.d(n,"a",(function(){return r}))},"2aba":function(t,n,e){var r=e("7726"),o=e("32e9"),i=e("69a8"),c=e("ca5a")("src"),a=e("fa5b"),u="toString",f=(""+a).split(u);e("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,n,e,a){var u="function"==typeof e;u&&(i(e,"name")||o(e,"name",n)),t[n]!==e&&(u&&(i(e,c)||o(e,c,t[n]?""+t[n]:f.join(String(n)))),t===r?t[n]=e:a?t[n]?t[n]=e:o(t,n,e):(delete t[n],o(t,n,e)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[c]||a.call(this)}))},"2ae6":function(t,n){t.exports=require("@babel/runtime-corejs2/core-js/array/is-array")},"2aeb":function(t,n,e){var r=e("cb7c"),o=e("1495"),i=e("e11e"),c=e("613b")("IE_PROTO"),a=function(){},u="prototype",f=function(){var t,n=e("230e")("iframe"),r=i.length,o="<",c=">";n.style.display="none",e("fab2").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+c+"document.F=Object"+o+"/script"+c),t.close(),f=t.F;while(r--)delete f[u][i[r]];return f()};t.exports=Object.create||function(t,n){var e;return null!==t?(a[u]=r(t),e=new a,a[u]=null,e[c]=t):e=f(),void 0===n?e:o(e,n)}},"2b4c":function(t,n,e){var r=e("5537")("wks"),o=e("ca5a"),i=e("7726").Symbol,c="function"==typeof i,a=t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))};a.store=r},"2d00":function(t,n){t.exports=!1},"2d95":function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},"31f4":function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},"32e9":function(t,n,e){var r=e("86cc"),o=e("4630");t.exports=e("9e1e")?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},"33a4":function(t,n,e){var r=e("84f2"),o=e("2b4c")("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},"38fd":function(t,n,e){var r=e("69a8"),o=e("4bf8"),i=e("613b")("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},3953:function(t,n,e){"use strict";e.d(n,"a",(function(){return f}));var r=e("e3b9"),o=e.n(r),i=e("e3f0"),c=e.n(i),a=e("bdaf"),u=e.n(a);function f(t){if("undefined"!==typeof o.a&&null!=t[c.a]||null!=t["@@iterator"])return u()(t)}},"41a0":function(t,n,e){"use strict";var r=e("2aeb"),o=e("4630"),i=e("7f20"),c={};e("32e9")(c,e("2b4c")("iterator"),(function(){return this})),t.exports=function(t,n,e){t.prototype=r(c,{next:o(1,e)}),i(t,n+" Iterator")}},4588:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},4630:function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},"4a59":function(t,n,e){var r=e("9b43"),o=e("1fa8"),i=e("33a4"),c=e("cb7c"),a=e("9def"),u=e("27ee"),f={},s={};n=t.exports=function(t,n,e,l,p){var d,v,h,b,m=p?function(){return t}:u(t),y=r(e,l,n?2:1),x=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(d=a(t.length);d>x;x++)if(b=n?y(c(v=t[x])[0],v[1]):y(t[x]),b===f||b===s)return b}else for(h=m.call(t);!(v=h.next()).done;)if(b=o(h,y,v.value,n),b===f||b===s)return b};n.BREAK=f,n.RETURN=s},"4bf8":function(t,n,e){var r=e("be13");t.exports=function(t){return Object(r(t))}},"52a7":function(t,n){n.f={}.propertyIsEnumerable},"551c":function(t,n,e){"use strict";var r,o,i,c,a=e("2d00"),u=e("7726"),f=e("9b43"),s=e("23c6"),l=e("5ca1"),p=e("d3f4"),d=e("d8e8"),v=e("f605"),h=e("4a59"),b=e("ebd6"),m=e("1991").set,y=e("8079")(),x=e("a5b8"),_=e("9c80"),g=e("a25f"),w=e("bcaa"),j="Promise",O=u.TypeError,S=u.process,P=S&&S.versions,E=P&&P.v8||"",M=u[j],F="process"==s(S),T=function(){},A=o=x.f,I=!!function(){try{var t=M.resolve(1),n=(t.constructor={})[e("2b4c")("species")]=function(t){t(T,T)};return(F||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof n&&0!==E.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(r){}}(),k=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},W=function(t,n){if(!t._n){t._n=!0;var e=t._c;y((function(){var r=t._v,o=1==t._s,i=0,c=function(n){var e,i,c,a=o?n.ok:n.fail,u=n.resolve,f=n.reject,s=n.domain;try{a?(o||(2==t._h&&L(t),t._h=1),!0===a?e=r:(s&&s.enter(),e=a(r),s&&(s.exit(),c=!0)),e===n.promise?f(O("Promise-chain cycle")):(i=k(e))?i.call(e,u,f):u(e)):f(r)}catch(l){s&&!c&&s.exit(),f(l)}};while(e.length>i)c(e[i++]);t._c=[],t._n=!1,n&&!t._h&&C(t)}))}},C=function(t){m.call(u,(function(){var n,e,r,o=t._v,i=R(t);if(i&&(n=_((function(){F?S.emit("unhandledRejection",o,t):(e=u.onunhandledrejection)?e({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=F||R(t)?2:1),t._a=void 0,i&&n.e)throw n.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){m.call(u,(function(){var n;F?S.emit("rejectionHandled",t):(n=u.onrejectionhandled)&&n({promise:t,reason:t._v})}))},U=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),W(n,!0))},q=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw O("Promise can't be resolved itself");(n=k(t))?y((function(){var r={_w:e,_d:!1};try{n.call(t,f(q,r,1),f(U,r,1))}catch(o){U.call(r,o)}})):(e._v=t,e._s=1,W(e,!1))}catch(r){U.call({_w:e,_d:!1},r)}}};I||(M=function(t){v(this,M,j,"_h"),d(t),r.call(this);try{t(f(q,this,1),f(U,this,1))}catch(n){U.call(this,n)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e("dcbc")(M.prototype,{then:function(t,n){var e=A(b(this,M));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=F?S.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&W(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=f(q,t,1),this.reject=f(U,t,1)},x.f=A=function(t){return t===M||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!I,{Promise:M}),e("7f20")(M,j),e("7a56")(j),c=e("8378")[j],l(l.S+l.F*!I,j,{reject:function(t){var n=A(this),e=n.reject;return e(t),n.promise}}),l(l.S+l.F*(a||!I),j,{resolve:function(t){return w(a&&this===c?M:this,t)}}),l(l.S+l.F*!(I&&e("5cc5")((function(t){M.all(t)["catch"](T)}))),j,{all:function(t){var n=this,e=A(n),r=e.resolve,o=e.reject,i=_((function(){var e=[],i=0,c=1;h(t,!1,(function(t){var a=i++,u=!1;e.push(void 0),c++,n.resolve(t).then((function(t){u||(u=!0,e[a]=t,--c||r(e))}),o)})),--c||r(e)}));return i.e&&o(i.v),e.promise},race:function(t){var n=this,e=A(n),r=e.reject,o=_((function(){h(t,!1,(function(t){n.resolve(t).then(e.resolve,r)}))}));return o.e&&r(o.v),e.promise}})},5537:function(t,n,e){var r=e("8378"),o=e("7726"),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,n){return c[t]||(c[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,n,e){var r=e("7726"),o=e("8378"),i=e("32e9"),c=e("2aba"),a=e("9b43"),u="prototype",f=function(t,n,e){var s,l,p,d,v=t&f.F,h=t&f.G,b=t&f.S,m=t&f.P,y=t&f.B,x=h?r:b?r[n]||(r[n]={}):(r[n]||{})[u],_=h?o:o[n]||(o[n]={}),g=_[u]||(_[u]={});for(s in h&&(e=n),e)l=!v&&x&&void 0!==x[s],p=(l?x:e)[s],d=y&&l?a(p,r):m&&"function"==typeof p?a(Function.call,p):p,x&&c(x,s,p,t&f.U),_[s]!=p&&i(_,s,d),m&&g[s]!=p&&(g[s]=p)};r.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},"5cc5":function(t,n,e){var r=e("2b4c")("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(c){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:e=!0}},i[r]=function(){return a},t(i)}catch(c){}return e}},"613b":function(t,n,e){var r=e("5537")("keys"),o=e("ca5a");t.exports=function(t){return r[t]||(r[t]=o(t))}},"626a":function(t,n,e){var r=e("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6821:function(t,n,e){var r=e("626a"),o=e("be13");t.exports=function(t){return r(o(t))}},"69a8":function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},"6a99":function(t,n,e){var r=e("d3f4");t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},7333:function(t,n,e){"use strict";var r=e("0d58"),o=e("2621"),i=e("52a7"),c=e("4bf8"),a=e("626a"),u=Object.assign;t.exports=!u||e("79e5")((function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach((function(t){n[t]=t})),7!=u({},t)[e]||Object.keys(u({},n)).join("")!=r}))?function(t,n){var e=c(t),u=arguments.length,f=1,s=o.f,l=i.f;while(u>f){var p,d=a(arguments[f++]),v=s?r(d).concat(s(d)):r(d),h=v.length,b=0;while(h>b)l.call(d,p=v[b++])&&(e[p]=d[p])}return e}:u},"75fc":function(t,n,e){"use strict";e.d(n,"a",(function(){return s}));var r=e("2ae6"),o=e.n(r),i=e("db2a");function c(t){if(o()(t))return Object(i["a"])(t)}var a=e("3953"),u=e("e630");function f(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t){return c(t)||Object(a["a"])(t)||Object(u["a"])(t)||f()}},7726:function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},"77f1":function(t,n,e){var r=e("4588"),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},"79e5":function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},"7a56":function(t,n,e){"use strict";var r=e("7726"),o=e("86cc"),i=e("9e1e"),c=e("2b4c")("species");t.exports=function(t){var n=r[t];i&&n&&!n[c]&&o.f(n,c,{configurable:!0,get:function(){return this}})}},"7f20":function(t,n,e){var r=e("86cc").f,o=e("69a8"),i=e("2b4c")("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},8079:function(t,n,e){var r=e("7726"),o=e("1991").set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,a=r.Promise,u="process"==e("2d95")(c);t.exports=function(){var t,n,e,f=function(){var r,o;u&&(r=c.domain)&&r.exit();while(t){o=t.fn,t=t.next;try{o()}catch(i){throw t?e():n=void 0,i}}n=void 0,r&&r.enter()};if(u)e=function(){c.nextTick(f)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var s=a.resolve(void 0);e=function(){s.then(f)}}else e=function(){o.call(r,f)};else{var l=!0,p=document.createTextNode("");new i(f).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),t||(t=o,e()),n=o}}},"80a8":function(t,n){t.exports=require("core-js/modules/web.dom.iterable")},8378:function(t,n){var e=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=e)},"84f2":function(t,n){t.exports={}},"86cc":function(t,n,e){var r=e("cb7c"),o=e("c69a"),i=e("6a99"),c=Object.defineProperty;n.f=e("9e1e")?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return c(t,n,e)}catch(a){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},"92c3":function(t,n,e){"use strict";e.r(n);e("25fc"),e("cadf"),e("551c"),e("f751"),e("097d");var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("form",{staticClass:"mat-form",class:[t.labelPosition?"mat-form--label-"+t.labelPosition:"",{"mat-form--inline":t.inline}]},[t._t("default")],2)},o=[],i=e("75fc"),c=(e("80a8"),e("e987")),a=e.n(c),u={name:"MatForm",componentName:"MatForm",provide:function(){return{matForm:this}},props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},watch:{rules:function(){this.fields.forEach((function(t){t.removeValidateEvents(),t.addValidateEvents()})),this.validateOnRuleChange&&this.validate((function(){}))}},computed:{autoLabelWidth:function(){if(!this.potentialLabelWidthArr.length)return 0;var t=Math.max.apply(Math,Object(i["a"])(this.potentialLabelWidthArr));return t?"".concat(t,"px"):""}},data:function(){return{fields:[],potentialLabelWidthArr:[]}},created:function(){var t=this;this.$on("mat.form.addField",(function(n){n&&t.fields.push(n)})),this.$on("mat.form.removeField",(function(n){n.prop&&t.fields.splice(t.fields.indexOf(n),1)}))},methods:{resetFields:function(){this.model?this.fields.forEach((function(t){t.resetField()})):console.warn("[MatUI Warn][Form]model is required for resetFields to work.")},clearValidate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=t.length?"string"===typeof t?this.fields.filter((function(n){return t===n.prop})):this.fields.filter((function(n){return t.indexOf(n.prop)>-1})):this.fields;n.forEach((function(t){t.clearValidate()}))},validate:function(t){var n=this;if(this.model){var e;"function"!==typeof t&&window.Promise&&(e=new window.Promise((function(n,e){t=function(t){t?n(t):e(t)}})));var r=!0,o=0;0===this.fields.length&&t&&t(!0);var i={};return this.fields.forEach((function(e){e.validate("",(function(e,c){e&&(r=!1),i=a()({},i,c),"function"===typeof t&&++o===n.fields.length&&t(r,i)}))})),e||void 0}console.warn("[MatUI Warn][Form]model is required for validate to work!")},validateField:function(t,n){t=[].concat(t);var e=this.fields.filter((function(n){return-1!==t.indexOf(n.prop)}));e.length?e.forEach((function(t){t.validate("",n)})):console.warn("[MatUI Warn]please pass correct props!")},getLabelWidthIndex:function(t){var n=this.potentialLabelWidthArr.indexOf(t);if(-1===n)throw new Error("[MatUI Form]unpected width ",t);return n},registerLabelWidth:function(t,n){if(t&&n){var e=this.getLabelWidthIndex(n);this.potentialLabelWidthArr.splice(e,1,t)}else t&&this.potentialLabelWidthArr.push(t)},deregisterLabelWidth:function(t){var n=this.getLabelWidthIndex(t);this.potentialLabelWidthArr.splice(n,1)}}},f=u,s=e("2877"),l=Object(s["a"])(f,r,o,!1,null,null,null),p=l.exports;p.install=function(t){t.component(p.name,p)};n["default"]=p},"9b43":function(t,n,e){var r=e("d8e8");t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},"9c6c":function(t,n,e){var r=e("2b4c")("unscopables"),o=Array.prototype;void 0==o[r]&&e("32e9")(o,r,{}),t.exports=function(t){o[r][t]=!0}},"9c80":function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(n){return{e:!0,v:n}}}},"9def":function(t,n,e){var r=e("4588"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"9e1e":function(t,n,e){t.exports=!e("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a25f:function(t,n,e){var r=e("7726"),o=r.navigator;t.exports=o&&o.userAgent||""},a5b8:function(t,n,e){"use strict";var r=e("d8e8");function o(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new o(t)}},bcaa:function(t,n,e){var r=e("cb7c"),o=e("d3f4"),i=e("a5b8");t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t),c=e.resolve;return c(n),e.promise}},bdaf:function(t,n){t.exports=require("@babel/runtime-corejs2/core-js/array/from")},be13:function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,n,e){var r=e("6821"),o=e("9def"),i=e("77f1");t.exports=function(t){return function(n,e,c){var a,u=r(n),f=o(u.length),s=i(c,f);if(t&&e!=e){while(f>s)if(a=u[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===e)return t||s||0;return!t&&-1}}},c69a:function(t,n,e){t.exports=!e("9e1e")&&!e("79e5")((function(){return 7!=Object.defineProperty(e("230e")("div"),"a",{get:function(){return 7}}).a}))},ca5a:function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},cadf:function(t,n,e){"use strict";var r=e("9c6c"),o=e("d53b"),i=e("84f2"),c=e("6821");t.exports=e("01f9")(Array,"Array",(function(t,n){this._t=c(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,n,e){var r=e("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,n,e){var r=e("69a8"),o=e("6821"),i=e("c366")(!1),c=e("613b")("IE_PROTO");t.exports=function(t,n){var e,a=o(t),u=0,f=[];for(e in a)e!=c&&r(a,e)&&f.push(e);while(n.length>u)r(a,e=n[u++])&&(~i(f,e)||f.push(e));return f}},d3f4:function(t,n){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},d8e8:function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},db2a:function(t,n,e){"use strict";function r(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}e.d(n,"a",(function(){return r}))},dcbc:function(t,n,e){var r=e("2aba");t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},e11e:function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e3b9:function(t,n){t.exports=require("@babel/runtime-corejs2/core-js/symbol")},e3f0:function(t,n){t.exports=require("@babel/runtime-corejs2/core-js/symbol/iterator")},e630:function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var r=e("bdaf"),o=e.n(r),i=e("db2a");function c(t,n){if(t){if("string"===typeof t)return Object(i["a"])(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?o()(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Object(i["a"])(t,n):void 0}}},e987:function(t,n){t.exports=require("@mucfe/matui/lib/utils/merge")},ebd6:function(t,n,e){var r=e("cb7c"),o=e("d8e8"),i=e("2b4c")("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||void 0==(e=r(c)[i])?n:o(e)}},f605:function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},f751:function(t,n,e){var r=e("5ca1");r(r.S+r.F,"Object",{assign:e("7333")})},fa5b:function(t,n,e){t.exports=e("5537")("native-function-to-string",Function.toString)},fab2:function(t,n,e){var r=e("7726").document;t.exports=r&&r.documentElement}});