UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

2 lines 1.48 MB
/*! For license information please see antd.min.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("moment"),require("vue")):"function"==typeof define&&define.amd?define(["moment","vue"],t):"object"==typeof exports?exports.antd=t(require("moment"),require("vue")):e.antd=t(e.moment,e.Vue)}(window,(function(e,t){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=435)}([function(e,t,n){"use strict";var i=n(14),r=n.n(i),o=n(35),a=n.n(o),s=Object.prototype,c=s.toString,l=s.hasOwnProperty,u=/^\s*function (\w+)/,h=function(e){var t=null!=e?e.type?e.type:e:null,n=t&&t.toString().match(u);return n&&n[1]},d=function(e){if(null==e)return null;var t=e.constructor.toString().match(u);return t&&t[1]},f=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},p=Array.isArray||function(e){return"[object Array]"===c.call(e)},v=function(e){return"[object Function]"===c.call(e)},m=function(e,t){var n;return Object.defineProperty(t,"_vueTypes_name",{enumerable:!1,writable:!1,value:e}),n=t,Object.defineProperty(n,"isRequired",{get:function(){return this.required=!0,this},enumerable:!1}),function(e){Object.defineProperty(e,"def",{value:function(e){return void 0===e&&void 0===this.default?(this.default=void 0,this):v(e)||g(this,e)?(this.default=p(e)||a()(e)?function(){return e}:e,this):(b(this._vueTypes_name+' - invalid default value: "'+e+'"',e),this)},enumerable:!1,writable:!1})}(t),v(t.validator)&&(t.validator=t.validator.bind(t)),t},g=function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t,o=!0,s=void 0;a()(t)||(r={type:t});var c=r._vueTypes_name?r._vueTypes_name+" - ":"";return l.call(r,"type")&&null!==r.type&&(p(r.type)?(o=r.type.some((function(t){return e(t,n,!0)})),s=r.type.map((function(e){return h(e)})).join(" or ")):o="Array"===(s=h(r))?p(n):"Object"===s?a()(n):"String"===s||"Number"===s||"Boolean"===s||"Function"===s?d(n)===s:n instanceof r.type),o?l.call(r,"validator")&&v(r.validator)?((o=r.validator(n))||!1!==i||b(c+"custom validation failed"),o):o:(!1===i&&b(c+'value "'+n+'" should be of type "'+s+'"'),!1)},b=function(){},y={get any(){return m("any",{type:null})},get func(){return m("function",{type:Function}).def(C.func)},get bool(){return m("boolean",{type:Boolean}).def(C.bool)},get string(){return m("string",{type:String}).def(C.string)},get number(){return m("number",{type:Number}).def(C.number)},get array(){return m("array",{type:Array}).def(C.array)},get object(){return m("object",{type:Object}).def(C.object)},get integer(){return m("integer",{type:Number,validator:function(e){return f(e)}}).def(C.integer)},get symbol(){return m("symbol",{type:null,validator:function(e){return"symbol"===(void 0===e?"undefined":r()(e))}})},custom:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom validation failed";if("function"!=typeof e)throw new TypeError("[VueTypes error]: You must provide a function as argument");return m(e.name||"<<anonymous function>>",{validator:function(){var n=e.apply(void 0,arguments);return n||b(this._vueTypes_name+" - "+t),n}})},oneOf:function(e){if(!p(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");var t='oneOf - value should be one of "'+e.join('", "')+'"',n=e.reduce((function(e,t){return null!=t&&-1===e.indexOf(t.constructor)&&e.push(t.constructor),e}),[]);return m("oneOf",{type:n.length>0?n:null,validator:function(n){var i=-1!==e.indexOf(n);return i||b(t),i}})},instanceOf:function(e){return m("instanceOf",{type:e})},oneOfType:function(e){if(!p(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");var t=!1,n=e.reduce((function(e,n){if(a()(n)){if("oneOf"===n._vueTypes_name)return e.concat(n.type||[]);if(n.type&&!v(n.validator)){if(p(n.type))return e.concat(n.type);e.push(n.type)}else v(n.validator)&&(t=!0);return e}return e.push(n),e}),[]);if(!t)return m("oneOfType",{type:n}).def(void 0);var i=e.map((function(e){return e&&p(e.type)?e.type.map(h):h(e)})).reduce((function(e,t){return e.concat(p(t)?t:[t])}),[]).join('", "');return this.custom((function(t){var n=e.some((function(e){return"oneOf"===e._vueTypes_name?!e.type||g(e.type,t,!0):g(e,t,!0)}));return n||b('oneOfType - value type should be one of "'+i+'"'),n})).def(void 0)},arrayOf:function(e){return m("arrayOf",{type:Array,validator:function(t){var n=t.every((function(t){return g(e,t)}));return n||b('arrayOf - value must be an array of "'+h(e)+'"'),n}})},objectOf:function(e){return m("objectOf",{type:Object,validator:function(t){var n=Object.keys(t).every((function(n){return g(e,t[n])}));return n||b('objectOf - value must be an object of "'+h(e)+'"'),n}})},shape:function(e){var t=Object.keys(e),n=t.filter((function(t){return e[t]&&!0===e[t].required})),i=m("shape",{type:Object,validator:function(i){var r=this;if(!a()(i))return!1;var o=Object.keys(i);return n.length>0&&n.some((function(e){return-1===o.indexOf(e)}))?(b('shape - at least one of required properties "'+n.join('", "')+'" is not present'),!1):o.every((function(n){if(-1===t.indexOf(n))return!0===r._vueTypes_isLoose||(b('shape - object is missing "'+n+'" property'),!1);var o=e[n];return g(o,i[n])}))}});return Object.defineProperty(i,"_vueTypes_isLoose",{enumerable:!1,writable:!0,value:!1}),Object.defineProperty(i,"loose",{get:function(){return this._vueTypes_isLoose=!0,this},enumerable:!1}),i}},C={func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0};Object.defineProperty(y,"sensibleDefaults",{enumerable:!1,set:function(e){!1===e?C={}:!0===e?C={func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0}:a()(e)&&(C=e)},get:function(){return C}});t.a=y},function(e,t,n){"use strict";n.d(t,"i",(function(){return V})),n.d(t,"h",(function(){return T})),n.d(t,"k",(function(){return H})),n.d(t,"f",(function(){return j})),n.d(t,"q",(function(){return P})),n.d(t,"u",(function(){return L})),n.d(t,"v",(function(){return _})),n.d(t,"c",(function(){return $})),n.d(t,"x",(function(){return A})),n.d(t,"s",(function(){return m})),n.d(t,"l",(function(){return z})),n.d(t,"g",(function(){return w})),n.d(t,"o",(function(){return x})),n.d(t,"m",(function(){return O})),n.d(t,"j",(function(){return k})),n.d(t,"e",(function(){return M})),n.d(t,"r",(function(){return S})),n.d(t,"y",(function(){return v})),n.d(t,"t",(function(){return E})),n.d(t,"w",(function(){return F})),n.d(t,"a",(function(){return p})),n.d(t,"p",(function(){return b})),n.d(t,"n",(function(){return y})),n.d(t,"d",(function(){return C}));var i=n(14),r=n.n(i),o=n(22),a=n.n(o),s=n(2),c=n.n(s),l=n(35),u=n.n(l),h=n(5),d=n.n(h);var f=/-(\w)/g,p=function(e){return e.replace(f,(function(e,t){return t?t.toUpperCase():""}))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1],n={},i=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(i).forEach((function(e){if(e){var i=e.split(r);if(i.length>1){var o=t?p(i[0].trim()):i[0].trim();n[o]=i[1].trim()}}})),n},m=function(e,t){return t in((e.$options||{}).propsData||{})},g=function(e){return e.data&&e.data.scopedSlots||{}},b=function(e){var t=e.componentOptions||{};e.$vnode&&(t=e.$vnode.componentOptions||{});var n=e.children||t.children||[],i={};return n.forEach((function(e){if(!L(e)){var t=e.data&&e.data.slot||"default";i[t]=i[t]||[],i[t].push(e)}})),c()({},i,g(e))},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.$scopedSlots&&e.$scopedSlots[t]&&e.$scopedSlots[t](n)||e.$slots[t]||[]},C=function(e){var t=e.componentOptions||{};return e.$vnode&&(t=e.$vnode.componentOptions||{}),e.children||t.children||[]},x=function(e){if(e.fnOptions)return e.fnOptions;var t=e.componentOptions;return e.$vnode&&(t=e.$vnode.componentOptions),t&&t.Ctor.options||{}},z=function(e){if(e.componentOptions){var t=e.componentOptions,n=t.propsData,i=void 0===n?{}:n,r=t.Ctor,o=((void 0===r?{}:r).options||{}).props||{},s={},l=!0,u=!1,h=void 0;try{for(var d,f=Object.entries(o)[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var p=d.value,v=a()(p,2),m=v[0],g=v[1],b=g.default;void 0!==b&&(s[m]="function"==typeof b&&"Function"!==(y=g.type,C=void 0,(C=y&&y.toString().match(/^\s*function (\w+)/))?C[1]:"")?b.call(e):b)}}catch(e){u=!0,h=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw h}}return c()({},s,i)}var y,C,x=e.$options,z=void 0===x?{}:x,w=e.$props;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};return Object.keys(e).forEach((function(i){(i in t||void 0!==e[i])&&(n[i]=e[i])})),n}(void 0===w?{}:w,z.propsData)},w=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.$createElement){var r=e.$createElement,o=e[t];return void 0!==o?"function"==typeof o&&i?o(r,n):o:e.$scopedSlots[t]&&i&&e.$scopedSlots[t](n)||e.$scopedSlots[t]||e.$slots[t]||void 0}var a=e.context.$createElement,s=O(e)[t];if(void 0!==s)return"function"==typeof s&&i?s(a,n):s;var c=g(e)[t];if(void 0!==c)return"function"==typeof c&&i?c(a,n):c;var l=[],u=e.componentOptions||{};return(u.children||[]).forEach((function(e){e.data&&e.data.slot===t&&(e.data.attrs&&delete e.data.attrs.slot,"template"===e.tag?l.push(e.children):l.push(e))})),l.length?l:void 0},O=function(e){var t=e.componentOptions;return e.$vnode&&(t=e.$vnode.componentOptions),t&&t.propsData||{}},S=function(e,t){return O(e)[t]},M=function(e){var t=e.data;return e.$vnode&&(t=e.$vnode.data),t&&t.attrs||{}},k=function(e){var t=e.key;return e.$vnode&&(t=e.$vnode.key),t};function V(e){var t={};return e.componentOptions&&e.componentOptions.listeners?t=e.componentOptions.listeners:e.data&&e.data.on&&(t=e.data.on),c()({},t)}function T(e){var t={};return e.data&&e.data.on&&(t=e.data.on),c()({},t)}function H(e){return(e.$vnode?e.$vnode.componentOptions.listeners:e.$listeners)||{}}function j(e){var t={};e.data?t=e.data:e.$vnode&&e.$vnode.data&&(t=e.$vnode.data);var n=t.class||{},i=t.staticClass,r={};return i&&i.split(" ").forEach((function(e){r[e.trim()]=!0})),"string"==typeof n?n.split(" ").forEach((function(e){r[e.trim()]=!0})):Array.isArray(n)?d()(n).split(" ").forEach((function(e){r[e.trim()]=!0})):r=c()({},r,n),r}function P(e,t){var n={};e.data?n=e.data:e.$vnode&&e.$vnode.data&&(n=e.$vnode.data);var i=n.style||n.staticStyle;if("string"==typeof i)i=v(i,t);else if(t&&i){var r={};return Object.keys(i).forEach((function(e){return r[p(e)]=i[e]})),r}return i}function L(e){return!(e.tag||e.text&&""!==e.text.trim())}function _(e){return!e.tag}function $(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter((function(e){return!L(e)}))}var E=function(e,t){return Object.keys(t).forEach((function(n){if(!e[n])throw new Error("not have "+n+" prop");e[n].def&&(e[n]=e[n].def(t[n]))})),e};function A(){var e=[].slice.call(arguments,0),t={};return e.forEach((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!0,i=!1,r=void 0;try{for(var o,s=Object.entries(e)[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value,h=a()(l,2),d=h[0],f=h[1];t[d]=t[d]||{},u()(f)?c()(t[d],f):t[d]=f}}catch(e){i=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw r}}})),t}function F(e){return e&&"object"===(void 0===e?"undefined":r()(e))&&"componentOptions"in e&&"context"in e&&void 0!==e.tag}t.b=m},function(e,t,n){"use strict";t.__esModule=!0;var i,r=n(245),o=(i=r)&&i.__esModule?i:{default:i};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}},function(e,t,n){"use strict";t.__esModule=!0;var i,r=n(165),o=(i=r)&&i.__esModule?i:{default:i};t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";var i=n(11),r=n.n(i),o=n(2),a=n.n(o),s=n(1);t.a={methods:{setState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n="function"==typeof e?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){var i=this.getDerivedStateFromProps(Object(s.l)(this),a()({},this.$data,n));if(null===i)return;n=a()({},n,i||{})}a()(this.$data,n),this.$forceUpdate(),this.$nextTick((function(){t&&t()}))},__emit:function(){var e=[].slice.call(arguments,0),t=e[0],n=this.$listeners[t];if(e.length&&n)if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)n[i].apply(n,r()(e.slice(1)));else n.apply(void 0,r()(e.slice(1)))}}}},function(e,t,n){var i;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)){if(i.length){var a=r.apply(null,i);a&&e.push(a)}}else if("object"===o)if(i.toString===Object.prototype.toString)for(var s in i)n.call(i,s)&&i[s]&&e.push(s);else e.push(i.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(i=function(){return r}.apply(t,[]))||(e.exports=i)}()},function(e,t){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function i(e,t){return function(){e&&e.apply(this,arguments),t&&t.apply(this,arguments)}}e.exports=function(e){return e.reduce((function(e,t){var r,o,a,s,c;for(a in t)if(r=e[a],o=t[a],r&&n.test(a))if("class"===a&&("string"==typeof r&&(c=r,e[a]=r={},r[c]=!0),"string"==typeof o&&(c=o,t[a]=o={},o[c]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)r[s]=i(r[s],o[s]);else if(Array.isArray(r))e[a]=r.concat(o);else if(Array.isArray(o))e[a]=[r].concat(o);else for(s in o)r[s]=o[s];else e[a]=t[a];return e}),{})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i={getPrefixCls:function(e,t){return t||"ant-"+e},renderEmpty:n(113).a}},function(e,t,n){"use strict";var i=n(6),r=n.n(i),o=n(2),a=n.n(o),s=n(3),c=n.n(s),l=n(11),u=n.n(l),h=n(5),d=n.n(h),f=n(157),p=n.n(f),v=n(59),m={primaryColor:"#333",secondaryColor:"#E6E6E6"},g={name:"AntdIcon",props:["type","primaryColor","secondaryColor"],displayName:"IconVue",definitions:new v.a,data:function(){return{twoToneColorPalette:m}},add:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach((function(e){g.definitions.set(Object(v.f)(e.name,e.theme),e)}))},clear:function(){g.definitions.clear()},get:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:m;if(e){var n=g.definitions.get(e);return n&&"function"==typeof n.icon&&(n=a()({},n,{icon:n.icon(t.primaryColor,t.secondaryColor)})),n}},setTwoToneColors:function(e){var t=e.primaryColor,n=e.secondaryColor;m.primaryColor=t,m.secondaryColor=n||Object(v.c)(t)},getTwoToneColors:function(){return a()({},m)},render:function(e){var t=this.$props,n=t.type,i=t.primaryColor,r=t.secondaryColor,o=void 0,s=m;if(i&&(s={primaryColor:i,secondaryColor:r||Object(v.c)(i)}),Object(v.d)(n))o=n;else if("string"==typeof n&&!(o=g.get(n,s)))return null;return o?(o&&"function"==typeof o.icon&&(o=a()({},o,{icon:o.icon(s.primaryColor,s.secondaryColor)})),Object(v.b)(e,o.icon,"svg-"+o.name,{attrs:{"data-icon":o.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},on:this.$listeners})):(Object(v.e)("type should be string or icon definiton, but got "+n),null)},install:function(e){e.component(g.name,g)}},b=g,y=n(0),C=n(12),x=n.n(C),z=n(1),w=new Set;var O=n(13),S={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},M=/-fill$/,k=/-o$/,V=/-twotone$/;var T=n(26);function H(e){return b.setTwoToneColors({primaryColor:e})}var j=n(10),P=p.a||f;b.add.apply(b,u()(Object.keys(P).map((function(e){return P[e]})))),H("#1890ff");function L(e,t,n){var i,o=n.$props,s=n.$slots,l=Object(z.k)(n),u=o.type,h=o.component,f=o.viewBox,p=o.spin,v=o.theme,m=o.twoToneColor,g=o.rotate,y=o.tabIndex,C=Object(z.c)(s.default);C=0===C.length?void 0:C,Object(O.a)(Boolean(u||h||C),"Icon","Icon should have `type` prop or `component` prop or `children`.");var x=d()((i={},c()(i,"anticon",!0),c()(i,"anticon-"+u,!!u),i)),w=d()(c()({},"anticon-spin",!!p||"loading"===u)),T=g?{msTransform:"rotate("+g+"deg)",transform:"rotate("+g+"deg)"}:void 0,H={attrs:a()({},S,{viewBox:f}),class:w,style:T};f||delete H.attrs.viewBox;var j=y;void 0===j&&"click"in l&&(j=-1);var P={attrs:{"aria-label":u&&t.icon+": "+u,tabIndex:j},on:l,class:x,staticClass:""};return e("i",P,[function(){if(h)return e(h,H,[C]);if(C){Object(O.a)(Boolean(f)||1===C.length&&"use"===C[0].tag,"Icon","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon.");var t={attrs:a()({},S),class:w,style:T};return e("svg",r()([t,{attrs:{viewBox:f}}]),[C])}if("string"==typeof u){var n=u;if(v){var i=function(e){var t=null;return M.test(e)?t="filled":k.test(e)?t="outlined":V.test(e)&&(t="twoTone"),t}(u);Object(O.a)(!i||v===i,"Icon","The icon name '"+u+"' already specify a theme '"+i+"', the 'theme' prop '"+v+"' will be ignored.")}return n=function(e,t){var n=e;return"filled"===t?n+="-fill":"outlined"===t?n+="-o":"twoTone"===t?n+="-twotone":Object(O.a)(!1,"Icon","This icon '"+e+"' has unknown theme '"+t+"'"),n}(function(e){return e.replace(M,"").replace(k,"").replace(V,"")}(function(e){var t=e;switch(e){case"cross":t="close";break;case"interation":t="interaction";break;case"canlendar":t="calendar";break;case"colum-height":t="column-height"}return Object(O.a)(t===e,"Icon","Icon '"+e+"' was a typo and is now deprecated, please use '"+t+"' instead."),t}(n)),v||"outlined"),e(b,{attrs:{focusable:"false",type:n,primaryColor:m},class:w,style:T})}}()])}var _={name:"AIcon",props:{tabIndex:y.a.number,type:y.a.string,component:y.a.any,viewBox:y.a.any,spin:y.a.bool.def(!1),rotate:y.a.number,theme:y.a.oneOf(["filled","outlined","twoTone"]),twoToneColor:y.a.string,role:y.a.string},render:function(e){var t=this;return e(T.a,{attrs:{componentName:"Icon"},scopedSlots:{default:function(n){return L(e,n,t)}}})},createFromIconfontCN:function(e){var t=e.scriptUrl,n=e.extraCommonProps,i=void 0===n?{}:n;if("undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&"string"==typeof t&&t.length&&!w.has(t)){var r=document.createElement("script");r.setAttribute("src",t),r.setAttribute("data-namespace",t),w.add(t),document.body.appendChild(r)}return{functional:!0,name:"AIconfont",props:$.props,render:function(e,t){var n=t.props,r=t.slots,o=t.listeners,a=t.data,s=n.type,c=x()(n,["type"]),l=r().default,u=null;s&&(u=e("use",{attrs:{"xlink:href":"#"+s}})),l&&(u=l);var h=Object(z.x)(i,a,{props:c,on:o});return e($,h,[u])}}},getTwoToneColor:function(){return b.getTwoToneColors().primaryColor}};_.setTwoToneColor=H,_.install=function(e){e.use(j.a),e.component(_.name,_)};var $=t.a=_},function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return d}));var i=n(11),r=n.n(i),o=n(2),a=n.n(o),s=n(1),c=n(5),l=n.n(c);function u(e,t){var n=e.componentOptions,i=e.data,r={};n&&n.listeners&&(r=a()({},n.listeners));var o={};i&&i.on&&(o=a()({},i.on));var s=new e.constructor(e.tag,i?a()({},i,{on:o}):i,e.children,e.text,e.elm,e.context,n?a()({},n,{listeners:r}):n,e.asyncFactory);return s.ns=e.ns,s.isStatic=e.isStatic,s.key=e.key,s.isComment=e.isComment,s.fnContext=e.fnContext,s.fnOptions=e.fnOptions,s.fnScopeId=e.fnScopeId,s.isCloned=!0,t&&(e.children&&(s.children=h(e.children,!0)),n&&n.children&&(n.children=h(n.children,!0))),s}function h(e,t){for(var n=e.length,i=new Array(n),r=0;r<n;r++)i[r]=u(e[r],t);return i}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2],i=e;if(Array.isArray(e)&&(i=Object(s.c)(e)[0]),!i)return null;var o=u(i,n),c=t.props,h=void 0===c?{}:c,d=t.key,f=t.on,p=void 0===f?{}:f,v=t.nativeOn,m=void 0===v?{}:v,g=t.children,b=t.directives,y=void 0===b?[]:b,C=o.data||{},x={},z={},w=t.attrs,O=void 0===w?{}:w,S=t.ref,M=t.domProps,k=void 0===M?{}:M,V=t.style,T=void 0===V?{}:V,H=t.class,j=void 0===H?{}:H,P=t.scopedSlots,L=void 0===P?{}:P;return z="string"==typeof C.style?Object(s.y)(C.style):a()({},C.style,z),z="string"==typeof T?a()({},z,Object(s.y)(z)):a()({},z,T),"string"==typeof C.class&&""!==C.class.trim()?C.class.split(" ").forEach((function(e){x[e.trim()]=!0})):Array.isArray(C.class)?l()(C.class).split(" ").forEach((function(e){x[e.trim()]=!0})):x=a()({},C.class,x),"string"==typeof j&&""!==j.trim()?j.split(" ").forEach((function(e){x[e.trim()]=!0})):x=a()({},x,j),o.data=a()({},C,{style:z,attrs:a()({},C.attrs,O),class:x,domProps:a()({},C.domProps,k),scopedSlots:a()({},C.scopedSlots,L),directives:[].concat(r()(C.directives||[]),r()(y))}),o.componentOptions?(o.componentOptions.propsData=o.componentOptions.propsData||{},o.componentOptions.listeners=o.componentOptions.listeners||{},o.componentOptions.propsData=a()({},o.componentOptions.propsData,h),o.componentOptions.listeners=a()({},o.componentOptions.listeners,p),g&&(o.componentOptions.children=g)):(g&&(o.children=g),o.data.on=a()({},o.data.on||{},p)),o.data.on=a()({},o.data.on||{},m),void 0!==d&&(o.key=d,o.data.key=d),"string"==typeof S&&(o.data.ref=S),o}},function(e,t,n){"use strict";var i=n(25),r=n.n(i),o=n(112),a=n(77);function s(e){return e.directive("ant-portal",{inserted:function(e,t){var n=t.value,i="function"==typeof n?n(e):n;i!==e.parentNode&&i.appendChild(e)},componentUpdated:function(e,t){var n=t.value,i="function"==typeof n?n(e):n;i!==e.parentNode&&i.appendChild(e)}})}var c={install:function(e){e.use(r.a,{name:"ant-ref"}),Object(o.a)(e),Object(a.a)(e),s(e)}},l={};l.install=function(e){l.Vue=e,e.use(c)};t.a=l},function(e,t,n){"use strict";t.__esModule=!0;var i,r=n(274),o=(i=r)&&i.__esModule?i:{default:i};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}},function(e,t,n){"use strict";var i={};function r(e,t){0}function o(e,t,n){t||i[n]||(e(!1,n),i[n]=!0)}var a=function(e,t){o(r,e,t)};t.a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";a(e,"[antdv: "+t+"] "+n)}},function(e,t,n){"use strict";t.__esModule=!0;var i=a(n(251)),r=a(n(261)),o="function"==typeof r.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof r.default&&"symbol"===o(i.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof r.default&&e.constructor===r.default&&e!==r.default.prototype?"symbol":void 0===e?"undefined":o(e)}},function(t,n){t.exports=e},function(e,t,n){"use strict";var i=n(2),r=n.n(i);t.a=function(e,t){for(var n=r()({},e),i=0;i<t.length;i++){delete n[t[i]]}return n}},function(e,n){e.exports=t},function(e,t,n){"use strict";n.d(t,"o",(function(){return g})),n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return y})),n.d(t,"n",(function(){return C})),n.d(t,"k",(function(){return x})),n.d(t,"j",(function(){return w})),n.d(t,"l",(function(){return M})),n.d(t,"i",(function(){return k})),n.d(t,"c",(function(){return V})),n.d(t,"d",(function(){return T})),n.d(t,"g",(function(){return j})),n.d(t,"h",(function(){return P})),n.d(t,"m",(function(){return L})),n.d(t,"e",(function(){return _})),n.d(t,"f",(function(){return $}));var i=n(11),r=n.n(i),o=n(22),a=n.n(o),s=n(14),c=n.n(s),l=n(12),u=n.n(l),h=n(24),d=n.n(h),f=n(16),p=n(80),v=n(1),m=!1;function g(){m||(m=!0,d()(!1,"Tree only accept TreeNode as children."))}function b(e,t){var n=e.slice(),i=n.indexOf(t);return i>=0&&n.splice(i,1),n}function y(e,t){var n=e.slice();return-1===n.indexOf(t)&&n.push(t),n}function C(e){return e.split("-")}function x(e,t){return e+"-"+t}function z(e){return Object(v.o)(e).isTreeNode}function w(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter(z)}function O(e){var t=Object(v.l)(e)||{},n=t.disabled,i=t.disableCheckbox,r=t.checkable;return!(!n&&!i)||!1===r}function S(e,t){!function n(i,r,o){var a=i?i.componentOptions.children:e,s=i?x(o.pos,r):0,c=w(a);if(i){var l=i.key;l||null!=l||(l=s);var u={node:i,index:r,pos:s,key:l,parentPos:o.node?o.pos:null};t(u)}c.forEach((function(e,t){n(e,t,{node:i,pos:s})}))}(null)}function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=e.map(t);return 1===n.length?n[0]:n}function k(e,t){var n=Object(v.l)(t),i=n.eventKey,r=n.pos,o=[];return S(e,(function(e){var t=e.key;o.push(t)})),o.push(i||r),o}function V(e,t){var n=e.clientY,i=t.$refs.selectHandle.getBoundingClientRect(),r=i.top,o=i.bottom,a=i.height,s=Math.max(.25*a,2);return n<=r+s?-1:n>=o-s?1:0}function T(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}var H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{props:Object(f.a)(e,["on","key","class","className","style"]),on:e.on||{},class:e.class||e.className,style:e.style,key:e.key}};function j(e,t,n){if(!t)return[];var i=(n||{}).processProps,r=void 0===i?H:i;return(Array.isArray(t)?t:[t]).map((function(t){var i=t.children,o=u()(t,["children"]),a=j(e,i,n);return e(p.a,r(o),[a])}))}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,i=t.processEntity,r=t.onProcessFinished,o=new Map,a=new Map,s={posEntities:o,keyEntities:a};return n&&(s=n(s)||s),S(e,(function(e){var t=e.node,n=e.index,r=e.pos,c=e.key,l=e.parentPos,u={node:t,index:n,key:c,pos:r};o.set(r,u),a.set(c,u),u.parent=o.get(l),u.parent&&(u.parent.children=u.parent.children||[],u.parent.children.push(u)),i&&i(u,s)})),r&&r(s),s}function L(e){if(!e)return null;var t=void 0;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(void 0===e?"undefined":c()(e)))return d()(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function _(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=new Map,o=new Map;function s(e){if(r.get(e)!==t){var i=n.get(e);if(i){var a=i.children,c=i.parent;if(!O(i.node)){var l=!0,u=!1;(a||[]).filter((function(e){return!O(e.node)})).forEach((function(e){var t=e.key,n=r.get(t),i=o.get(t);(n||i)&&(u=!0),n||(l=!1)})),t?r.set(e,l):r.set(e,!1),o.set(e,u),c&&s(c.key)}}}}function c(e){if(r.get(e)!==t){var i=n.get(e);if(i){var o=i.children;O(i.node)||(r.set(e,t),(o||[]).forEach((function(e){c(e.key)})))}}}function l(e){var i=n.get(e);if(i){var o=i.children,a=i.parent,l=i.node;r.set(e,t),O(l)||((o||[]).filter((function(e){return!O(e.node)})).forEach((function(e){c(e.key)})),a&&s(a.key))}else d()(!1,"'"+e+"' does not exist in the tree.")}(i.checkedKeys||[]).forEach((function(e){r.set(e,!0)})),(i.halfCheckedKeys||[]).forEach((function(e){o.set(e,!0)})),(e||[]).forEach((function(e){l(e)}));var u=[],h=[],f=!0,p=!1,v=void 0;try{for(var m,g=r[Symbol.iterator]();!(f=(m=g.next()).done);f=!0){var b=m.value,y=a()(b,2),C=y[0],x=y[1];x&&u.push(C)}}catch(e){p=!0,v=e}finally{try{!f&&g.return&&g.return()}finally{if(p)throw v}}var z=!0,w=!1,S=void 0;try{for(var M,k=o[Symbol.iterator]();!(z=(M=k.next()).done);z=!0){var V=M.value,T=a()(V,2),H=T[0],j=T[1];!r.get(H)&&j&&h.push(H)}}catch(e){w=!0,S=e}finally{try{!z&&k.return&&k.return()}finally{if(w)throw S}}return{checkedKeys:u,halfCheckedKeys:h}}function $(e,t){var n=new Map;return(e||[]).forEach((function(e){!function e(i){if(!n.get(i)){var r=t.get(i);if(r){n.set(i,!0);var o=r.parent,a=r.node,s=Object(v.l)(a);s&&s.disabled||o&&e(o.key)}}}(e)})),[].concat(r()(n.keys()))}},function(e,t,n){(function(t){for(var i=n(287),r="undefined"==typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=r["request"+a],c=r["cancel"+a]||r["cancelRequest"+a],l=0;!s&&l<o.length;l++)s=r[o[l]+"Request"+a],c=r[o[l]+"Cancel"+a]||r[o[l]+"CancelRequest"+a];if(!s||!c){var u=0,h=0,d=[];s=function(e){if(0===d.length){var t=i(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return d.push({handle:++h,callback:e,cancelled:!1}),h},c=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}e.exports=function(e){return s.call(r,e)},e.exports.cancel=function(){c.apply(r,arguments)},e.exports.polyfill=function(e){e||(e=r),e.requestAnimationFrame=s,e.cancelAnimationFrame=c}}).call(this,n(134))},function(e,t,n){},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(220),r=n.n(i);function o(e,t,n,i){return r()(e,t,n,i)}},function(e,t,n){"use strict";t.__esModule=!0;var i=o(n(281)),r=o(n(284));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,i.default)(Object(e)))return function(e,t){var n=[],i=!0,o=!1,a=void 0;try{for(var s,c=(0,r.default)(e);!(i=(s=c.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){o=!0,a=e}finally{try{!i&&c.return&&c.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){"use strict";var i=n(46),r=function(){};t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.beforeEnter,o=t.enter,a=t.afterEnter,s=t.leave,c=t.afterLeave,l=t.appear,u=void 0===l||l,h=t.tag,d=t.nativeOn,f={props:{appear:u,css:!1},on:{beforeEnter:n||r,enter:o||function(t,n){Object(i.a)(t,e+"-enter",n)},afterEnter:a||r,leave:s||function(t,n){Object(i.a)(t,e+"-leave",n)},afterLeave:c||r},nativeOn:d};return h&&(f.tag=h),f}},function(e,t,n){"use strict";var i=function(){};e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name||"ref";e.directive(n,{bind:function(t,n,i){e.nextTick((function(){n.value(i.componentInstance||t,i.key)})),n.value(i.componentInstance||t,i.key)},update:function(e,t,i,r){if(r.data&&r.data.directives){var o=r.data.directives.find((function(e){return e.name===n}));if(o&&o.value!==t.value)return o&&o.value(null,r.key),void t.value(i.componentInstance||e,i.key)}i.componentInstance===r.componentInstance&&i.elm===r.elm||t.value(i.componentInstance||e,i.key)},unbind:function(e,t,n){t.value(null,n.key)}})}}},function(e,t,n){"use strict";var i=n(2),r=n.n(i),o=n(0),a=n(36);t.a={name:"LocaleReceiver",props:{componentName:o.a.string.def("global"),defaultLocale:o.a.oneOfType([o.a.object,o.a.func]),children:o.a.func},inject:{localeData:{default:function(){return{}}}},methods:{getLocale:function(){var e=this.componentName,t=this.defaultLocale||a.a[e||"global"],n=this.localeData.antLocale,i=e&&n?n[e]:{};return r()({},"function"==typeof t?t():t,i||{})},getLocaleCode:function(){var e=this.localeData.antLocale,t=e&&e.locale;return e&&e.exist&&!t?a.a.locale:t}},render:function(){var e=this.$scopedSlots,t=this.children||e.default,n=this.localeData.antLocale;return t(this.getLocale(),this.getLocaleCode(),n)}}},function(e,t){e.exports=function(e,t,n,i){var r=n?n.call(i,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<o.length;c++){var l=o[c];if(!s(l))return!1;var u=e[l],h=t[l];if(!1===(r=n?n.call(i,u,h,l):void 0)||void 0===r&&u!==h)return!1}return!0}},function(e,t,n){"use strict";var i,r=n(2),o=n.n(r),a=n(17),s=n.n(a),c=n(25),l=n.n(c),u=n(0),h=n(41),d=n(1),f=n(31),p=n(21),v=n(13),m=n(14),g=n.n(m);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function w(){if(void 0!==i)return i;i="";var e=document.createElement("p").style;for(var t in z)t+"Transform"in e&&(i=t);return i}function O(){return w()?"".concat(w(),"TransitionProperty"):"transitionProperty"}function S(){return w()?"".concat(w(),"Transform"):"transform"}function M(e,t){var n=O();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function k(e,t){var n=S();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var V,T=/matrix\((.*)\)/,H=/matrix3d\((.*)\)/;function j(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function P(e,t,n){var i=n;if("object"!==C(t))return void 0!==i?("number"==typeof i&&(i="".concat(i,"px")),void(e.style[t]=i)):V(e,t);for(var r in t)t.hasOwnProperty(r)&&P(e,r,t[r])}function L(e,t){var n=e["page".concat(t?"Y":"X","Offset")],i="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[i])&&(n=r.body[i])}return n}function _(e){return L(e)}function $(e){return L(e,!0)}function E(e){var t=function(e){var t,n,i,r=e.ownerDocument,o=r.body,a=r&&r.documentElement;return n=(t=e.getBoundingClientRect()).left,i=t.top,{left:n-=a.clientLeft||o.clientLeft||0,top:i-=a.clientTop||o.clientTop||0}}(e),n=e.ownerDocument,i=n.defaultView||n.parentWindow;return t.left+=_(i),t.top+=$(i),t}function A(e){return null!=e&&e==e.window}function F(e){return A(e)?e.document:9===e.nodeType?e:e.ownerDocument}var I=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),R=/^(top|right|bottom|left)$/,D="left";function N(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function K(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function B(e,t,n){"static"===P(e,"position")&&(e.style.position="relative");var i=-999,r=-999,o=N("left",n),a=N("top",n),s=K(o),c=K(a);"left"!==o&&(i=999),"top"!==a&&(r=999);var l,u="",h=E(e);("left"in t||"top"in t)&&(u=(l=e).style.transitionProperty||l.style[O()]||"",M(e,"none")),"left"in t&&(e.style[s]="",e.style[o]="".concat(i,"px")),"top"in t&&(e.style[c]="",e.style[a]="".concat(r,"px")),j(e);var d=E(e),f={};for(var p in t)if(t.hasOwnProperty(p)){var v=N(p,n),m="left"===p?i:r,g=h[p]-d[p];f[v]=v===p?m+g:m-g}P(e,f),j(e),("left"in t||"top"in t)&&M(e,u);var b={};for(var y in t)if(t.hasOwnProperty(y)){var C=N(y,n),x=t[y]-h[y];b[C]=y===C?f[C]+x:f[C]-x}P(e,b)}function W(e,t){var n=E(e),i=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(S());if(n&&"none"!==n){var i=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(i[12]||i[4],0),y:parseFloat(i[13]||i[5],0)}}return{x:0,y:0}}(e),r={x:i.x,y:i.y};"left"in t&&(r.x=i.x+t.left-n.left),"top"in t&&(r.y=i.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),i=n.getPropertyValue("transform")||n.getPropertyValue(S());if(i&&"none"!==i){var r,o=i.match(T);if(o)(r=(o=o[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,r[5]=t.y,k(e,"matrix(".concat(r.join(","),")"));else(r=i.match(H)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,r[13]=t.y,k(e,"matrix3d(".concat(r.join(","),")"))}else k(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,r)}function q(e,t){for(var n=0;n<e.length;n++)t(e[n])}function U(e){return"border-box"===V(e,"boxSizing")}"undefined"!=typeof window&&(V=window.getComputedStyle?function(e,t,n){var i=n,r="",o=F(e);return(i=i||o.defaultView.getComputedStyle(e,null))&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(I.test(n)&&!R.test(t)){var i=e.style,r=i[D],o=e.runtimeStyle[D];e.runtimeStyle[D]=e.currentStyle[D],i[D]="fontSize"===t?"1em":n||0,n=i.pixelLeft+"px",i[D]=r,e.runtimeStyle[D]=o}return""===n?"auto":n});var Y=["margin","border","padding"];function G(e,t,n){var i,r={},o=e.style;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function X(e,t,n){var i,r,o,a=0;for(r=0;r<t.length;r++)if(i=t[r])for(o=0;o<n.length;o++){var s=void 0;s="border"===i?"".concat(i).concat(n[o],"Width"):i+n[o],a+=parseFloat(V(e,s))||0}return a}var Q={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function Z(e,t,n){var i=n;if(A(e))return"width"===t?Q.viewportWidth(e):Q.viewportHeight(e);if(9===e.nodeType)return"width"===t?Q.docWidth(e):Q.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,a=U(e),s=0;(null==o||o<=0)&&(o=void 0,(null==(s=V(e,t))||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===i&&(i=a?1:-1);var c=void 0!==o||a,l=o||s;return-1===i?c?l-X(e,["border","padding"],r):s:c?1===i?l:l+(2===i?-X(e,["border"],r):X(e,["margin"],r)):s+X(e,Y.slice(i),r)}q(["Width","Height"],(function(e){Q["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],Q["viewport".concat(e)](n))},Q["viewport".concat(e)]=function(t){var n="client".concat(e),i=t.document,r=i.body,o=i.documentElement[n];return"CSS1Compat"===i.compatMode&&o||r&&r[n]||o}}));var J={position:"absolute",visibility:"hidden",display:"block"};function ee(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i,r=t[0];return 0!==r.offsetWidth?i=Z.apply(void 0,t):G(r,J,(function(){i=Z.apply(void 0,t)})),i}function te(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}q(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Q["outer".concat(t)]=function(t,n){return t&&ee(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];Q[e]=function(t,i){var r=i;return void 0!==r?t?(U(t)&&(r+=X(t,["padding","border"],n)),P(t,e,r)):void 0:t&&ee(t,e,-1)}}));var ne={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:F,offset:function(e,t,n){if(void 0===t)return E(e);!function(e,t,n){if(n.ignoreShake){var i=E(e),r=i.left.toFixed(0),o=i.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(r===a&&o===s)return}n.useCssRight||n.useCssBottom?B(e,t,n):n.useCssTransform&&S()in document.body.style?W(e,t):B(e,t,n)}(e,t,n||{})},isWindow:A,each:q,css:P,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:te,getWindowScrollLeft:function(e){return _(e)},getWindowScrollTop:function(e){return $(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)ne.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};te(ne,Q);var ie=ne.getParent;function re(e){if(ne.isWindow(e)||9===e.nodeType)return null;var t,n=ne.getDocument(e).body,i=ne.css(e,"position");if(!("fixed"===i||"absolute"===i))return"html"===e.nodeName.toLowerCase()?null:ie(e);for(t=ie(e);t&&t!==n&&9!==t.nodeType;t=ie(t))if("static"!==(i=ne.css(t,"position")))return t;return null}var oe=ne.getParent;function ae(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},i=re(e),r=ne.getDocument(e),o=r.defaultView||r.parentWindow,a=r.body,s=r.documentElement;i;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===i.clientWidth||i===a||i===s||"visible"===ne.css(i,"overflow")){if(i===a||i===s)break}else{var c=ne.offset(i);c.left+=i.clientLeft,c.top+=i.clientTop,n.top=Math.max(n.top,c.top),n.right=Math.min(n.right,c.left+i.clientWidth),n.bottom=Math.min(n.bottom,c.top+i.clientHeight),n.left=Math.max(n.left,c.left)}i=re(i)}var l=null;ne.isWindow(e)||9===e.nodeType||(l=e.style.position,"absolute"===ne.css(e,"position")&&(e.style.position="fixed"));var u=ne.getWindowScrollLeft(o),h=ne.getWindowScrollTop(o),d=ne.viewportWidth(o),f=ne.viewportHeight(o),p=s.scrollWidth,v=s.scrollHeight,m=window.getComputedStyle(a);if("hidden"===m.overflowX&&(p=o.innerWidth),"hidden"===m.overflowY&&(v=o.innerHeight),e.style&&(e.style.position=l),t||function(e){if(ne.isWindow(e)||9===e.nodeType)return!1;var t=ne.getDocument(e),n=t.body,i=null;for(i=oe(e);i&&i!==n&&i!==t;i=oe(i)){if("fixed"===ne.css(i,"position"))return!0}return!1}(e))n.left=Math.max(n.left,u),n.top=Math.max(n.top,h),n.right=Math.min(n.right,u+d),n.bottom=Math.min(n.bottom,h+f);else{var g=Math.max(p,u+d);n.right=Math.min(n.right,g);var b=Math.max(v,h+f);n.bottom=Math.min(n.bottom,b)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function se(e){var t,n,i;if(ne.isWindow(e)||9===e.nodeType){var r=ne.getWindow(e);t={left:ne.getWindowScrollLeft(r),top:ne.getWindowScrollTop(r)},n=ne.viewportWidth(r),i=ne.viewportHeight(r)}else t=ne.offset(e),n=ne.outerWidth(e),i=ne.outerHeight(e);return t.width=n,t.height=i,t}function ce(e,t){var n=t.charAt(0),i=t.charAt(1),r=e.width,o=e.height,a=e.left,s=e.top;return"c"===n?s+=o/2:"b"===n&&(s+=o),"c"===i?a+=r/2:"r"===i&&(a+=r),{left:a,top:s}}function le(e,t,n,i,r){var o=ce(t,n[1]),a=ce(e,n[0]),s=[a.left-o.left,a.top-o.top];return{left:Math.round(e.left-s[0]+i[0]-r[0]),top:Math.round(e.top-s[1]+i[1]-r[1])}}function ue(e,t,n){return e.left<n.left||e.left+t.width>n.right}function he(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function de(e,t,n){var i=[];return ne.each(e,(function(e){i.push(e.replace(t,(function(e){return n[e]})))})),i}function fe(e,t){return e[t]=-e[t],e}function pe(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function ve(e,t){e[0]=pe(e[0],t.width),e[1]=pe(e[1],t.height)}function me(e,t,n,i){var r=n.points,o=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,c=n.source||e;o=[].concat(o),a=[].concat(a);var l={},u=0,h=ae(c,!(!(s=s||{})||!s.alwaysByViewport)),d=se(c);ve(o,d),ve(a,t);var f=le(d,t,r,o,a),p=ne.merge(d,f);if(h&&(s.adjustX||s.adjustY)&&i){if(s.adjustX&&ue(f,d,h)){var v=de(r,/[lr]/gi,{l:"r",r:"l"}),m=fe(o,0),g=fe(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(le(d,t,v,m,g),d,h)||(u=1,r=v,o=m,a=g)}if(s.adjustY&&he(f,d,h)){var b=de(r,/[tb]/gi,{t:"b",b:"t"}),y=fe(o,1),C=fe(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(le(d,t,b,y,C),d,h)||(u=1,r=b,o=y,a=C)}u&&(f=le(d,t,r,o,a),ne.mix(p,f));var x=ue(f,d,h),z=he(f,d,h);if(x||z){var w=r;x&&(w=de(r,/[lr]/gi,{l:"r",r:"l"})),z&&(w=de(r,/[tb]/gi,{t:"b",b:"t"})),r=w,o=n.offset||[0,0],a=n.targetOffset||[0,0]}l.adjustX=s.adjustX&&x,l.adjustY=s.adjustY&&z,(l.adjustX||l.adjustY)&&(p=function(e,t,n,i){var r=ne.clone(e),o={width:t.width,height:t.height};return i.adjustX&&r.left<n.left&&(r.left=n.left),i.resizeWidth&&r.left>=n.left&&r.left+o.width>n.right&&(o.width-=r.left+o.width-n.right),i.adjustX&&r.left+o.width>n.right&&(r.left=Math.max(n.right-o.width,n.left)),i.adjustY&&r.top<n.top&&(r.top=n.top),i.resizeHeight&&r.top>=n.top&&r.top+o.height>n.bottom&&(o.height-=r.top+o.height-n.bottom),i.adjustY&&r.top+o.height>n.bottom&&(r.top=Math.max(n.bottom-o.height,n.top)),ne.mix(r,o)}(f,d,h,l))}return p.width!==d.width&&ne.css(c,"width",ne.width(c)+p.width-d.width),p.height!==d.height&&ne.css(c,"height",ne.height(c)+p.height-d.height),ne.offset(c,{left:p.left,top:p.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:r,offset:o,targetOffset:a,overflow:l}}function ge(e,t,n){var i=n.target||t;return me(e,se(i),n,!function(e,t){var n=ae(e,t),i=se(e);return!n||i.left+i.width<=n.left||i.top+i.height<=n.top||i.left>=n.right||i.top>=n.bottom}(i,n.overflow&&n.overflow.alwaysByViewport))}ge.__getOffsetParent=re,ge.__getVisibleRectForElement=ae;function be(e){return e&&"object"===(void 0===e?"undefined":g()(e))&&e.window===e}function ye(e,t){var n=Math.floor(e),i=Math.floor(t);return Math.abs(n-i)<=1}var Ce=n(9),xe=n(114),ze=n.n(xe);function we(e){return"function"==typeof e&&e?e():null}function Oe(e){return"object"===(void 0===e?"undefined":g()(e))&&e?e:null}var Se={props:{childrenProps:u.a.object,align:u.a.object.isRequired,target:u.a.oneOfType([u.a.func,u.a.object]).def((function(){return window})),monitorBufferTime:u.a.number.def(50),monitorWindowResize:u.a.bool.def(!1),disabled:u.a.bool.def(!1)},data:function(){return this.aligned=!1,{}},mounted:function(){var e=this;this.$nextTick((function(){e.prevProps=o()({},e.$props);var t=e.$props;!e.aligned&&e.forceAlign(),!t.disabled&&t.monitorWindowResize&&e.startMonitorWindowResize()}))},updated:function(){var e=this;this.$nextTick((function(){var t,n,i=e.prevProps,r=e.$props,a=!1;if(!r.disabled){var s=e.$el,c=s?s.getBoundingClientRect():null;if(i.disabled)a=!0;else{var l=we(i.target),u=we(r.target),h=Oe(i.target),d=Oe(r.target);be(l)&&be(u)?a=!1:(l!==u||l&&!u&&d||h&&d&&u||d&&!((t=h)===(n=d)||t&&n&&("pageX"in n&&"pageY"in n?t.pageX===n.pageX&&t.pageY===n.pageY:"clientX"in n&&"clientY"in n&&t.clientX===n.clientX&&t.clientY===n.clientY)))&&(a=!0);var f=e.sourceRect||{};a||!s||ye(f.width,c.width)&&ye(f.height,c.height)||(a=!0)}e.sourceRect=c}a&&e.forceAlign(),r.monitorWindowResize&&!r.disabled?e.startMonitorWindowResize():e.stopMonitorWindowResize(),e.prevProps=o()({},e.$props,{align:ze()(e.$props.align)})}))},beforeDestroy:function(){this.stopMonitorWindowResize()},methods:{startMonitorWindowResize:function(){this.resizeHandler||(this.bufferMonitor=function(e,t){var n=void 0;function i(){n&&(clearTimeout(n),n=null)}function r(){i(),n=setTimeout(e,t)}return r.clear=i,r}(this.forceAlign,this.$props.monitorBufferTime),this.resizeHandler=Object(p.a)(window,"resize",this.bufferMonitor))},stopMonitorWindowResize:function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)},forceAlign:function(){var e=this.$props,t=e.disabled,n=e.target,i=e.align;if(!t&&n){var r=this.$el,o=Object(d.k)(this),a=void 0,s=we(n),c=Oe(n),l=document.activeElement;s?a=ge(r,s,i):c&&(a=function(e,t,n){var i,r,o=ne.getDocument(e),a=o.defaultView||o.parentWindow,s=ne.getWindowScrollLeft(a),c=ne.getWindowScrollTop(a),l=ne.viewportWidth(a),u=ne.viewportHeight(a),h={left:i="pageX"in t?t.pageX:s+t.clientX,top:r="pageY"in t?t.pageY:c+t.clientY,width:0,height:0},d=i>=0&&i<=s+l&&r>=0&&r<=c+u,f=[n.points[0],"cc"];return me(e,h,y(y({},n),{},{points:f}),d)}(r,c,i)),function(e,t){e!==document.activeElement&&Object(h.a)(t,e)&&e.focus()}(l,r),this.aligned=!0,o.align&&o.align(r,a)}}},render:function(){var e=this.$props.childrenProps,t=Object(d.n)(this)[0];return t&&e?Object(Ce.a)(t,{props:e}):t}},Me=n(6),ke=n.n(Me),Ve={props:{visible:u.a.bool,hiddenClassName:u.a.string},render:function(){var e=arguments[0],t=this.$props,n=t.hiddenClassName,i=(t.visible,null);if(n||!this.$slots.default||this.$slots.default.length>1){var r="";i=e("div",{class:r},[this.$slots.default])}else i=this.$slots.default[0];return i}},Te={props:{hiddenClassName:u.a.string.def(""),prefixCls:u.a.string,visible:u.a.bool},render:function(){var e=arguments[0],t=this.$props,n=t.prefixCls,i=t.visible,r=t.hiddenClassName,o={on:Object(d.k)(this)};return e("div",ke()([o,{class:i?"":r}]),[e(Ve,{class:n+"-content",attrs:{visible:i}},[this.$slots.default])])}},He=n(46),je=n(4),Pe={name:"VCTriggerPopup",mixins:[je.a],props:{visible:u.a.bool,getClassNameFromAlign:u.a.func,getRootDomNode:u.a.func,align:u.a.any,destroyPopupOnHide:u.a.bool,prefixCls:u.a.string,getContainer:u.a.func,transitionName:u.a.string,animation:u.a.any,maskAnimation:u.a.string,maskTransitionName:u.a.string,mask:u.a.bool,zIndex:u.a.number,popupClassName:u.a.any,popupStyle:u.a.object.def((function(){return{}})),stretch:u.a.string,point:u.a.shape({pageX:u.a.number,pageY:u.a.number})},data:function(){return this.domEl=null,{stretchChecked:!1,targetWidth:void 0,targetHeight:void 0}},mounted:function(){var e=this;this.$nextTick((function(){e.rootNode=e.getPopupDomNode(),e.setStretchSize()}))},updated:function(){var e=this;this.$nextTick((function(){e.setStretchSize()}))},beforeDestroy:function(){this.$el.parentNode?this.$el.parentNode.removeChild(this.$el):this.$el.remove&&this.$el.remove()},methods:{onAlign:function(e,t){var n=this.$props.getClassNameFromAlign(t);this.currentAlignClassName!==n&&(this.currentAlignClassName=n,e.className=this.getClassName(n));var i=Object(d.k)(this);i.align&&i.ali