do-element
Version:
Secondary encapsulation of basic element-ui
1 lines • 16.5 kB
JavaScript
!function(){var t={6077:function(t,r,n){var e=n(111);t.exports=function(t){if(!e(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},9670:function(t,r,n){var e=n(111);t.exports=function(t){if(!e(t))throw TypeError(String(t)+" is not an object");return t}},1318:function(t,r,n){var e=n(5656),o=n(7466),i=n(1400),c=function(t){return function(r,n,c){var u,f=e(r),a=o(f.length),s=i(c,a);if(t&&n!=n){for(;a>s;)if((u=f[s++])!=u)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},1194:function(t,r,n){var e=n(7293),o=n(5112),i=n(7392),c=o("species");t.exports=function(t){return i>=51||!e((function(){var r=[];return(r.constructor={})[c]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},7475:function(t,r,n){var e=n(111),o=n(3157),i=n(5112)("species");t.exports=function(t){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?e(r)&&null===(r=r[i])&&(r=void 0):r=void 0),void 0===r?Array:r}},5417:function(t,r,n){var e=n(7475);t.exports=function(t,r){return new(e(t))(0===r?0:r)}},4326:function(t){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},9920:function(t,r,n){var e=n(6656),o=n(3887),i=n(1236),c=n(3070);t.exports=function(t,r){for(var n=o(r),u=c.f,f=i.f,a=0;a<n.length;a++){var s=n[a];e(t,s)||u(t,s,f(r,s))}}},8880:function(t,r,n){var e=n(9781),o=n(3070),i=n(9114);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},9114:function(t){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},6135:function(t,r,n){"use strict";var e=n(4948),o=n(3070),i=n(9114);t.exports=function(t,r,n){var c=e(r);c in t?o.f(t,c,i(0,n)):t[c]=n}},9781:function(t,r,n){var e=n(7293);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,r,n){var e=n(7854),o=n(111),i=e.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},8113:function(t,r,n){var e=n(5005);t.exports=e("navigator","userAgent")||""},7392:function(t,r,n){var e,o,i=n(7854),c=n(8113),u=i.process,f=i.Deno,a=u&&u.versions||f&&f.version,s=a&&a.v8;s?o=(e=s.split("."))[0]<4?1:e[0]+e[1]:c&&(!(e=c.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=c.match(/Chrome\/(\d+)/))&&(o=e[1]),t.exports=o&&+o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,r,n){var e=n(7854),o=n(1236).f,i=n(8880),c=n(1320),u=n(3505),f=n(9920),a=n(4705);t.exports=function(t,r){var n,s,p,l,v,y=t.target,d=t.global,h=t.stat;if(n=d?e:h?e[y]||u(y,{}):(e[y]||{}).prototype)for(s in r){if(l=r[s],p=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!a(d?s:y+(h?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;f(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),c(n,s,l,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},5005:function(t,r,n){var e=n(7854),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,r){return arguments.length<2?o(e[t]):e[t]&&e[t][r]}},7854:function(t,r,n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(t,r,n){var e=n(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,r){return o.call(e(t),r)}},3501:function(t){t.exports={}},490:function(t,r,n){var e=n(5005);t.exports=e("document","documentElement")},4664:function(t,r,n){var e=n(9781),o=n(7293),i=n(317);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,r,n){var e=n(7293),o=n(4326),i="".split;t.exports=e((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},9587:function(t,r,n){var e=n(111),o=n(7674);t.exports=function(t,r,n){var i,c;return o&&"function"==typeof(i=r.constructor)&&i!==n&&e(c=i.prototype)&&c!==n.prototype&&o(t,c),t}},2788:function(t,r,n){var e=n(5465),o=Function.toString;"function"!=typeof e.inspectSource&&(e.inspectSource=function(t){return o.call(t)}),t.exports=e.inspectSource},9909:function(t,r,n){var e,o,i,c=n(8536),u=n(7854),f=n(111),a=n(8880),s=n(6656),p=n(5465),l=n(6200),v=n(3501),y="Object already initialized",d=u.WeakMap;if(c||p.state){var h=p.state||(p.state=new d),g=h.get,b=h.has,x=h.set;e=function(t,r){if(b.call(h,t))throw new TypeError(y);return r.facade=t,x.call(h,t,r),r},o=function(t){return g.call(h,t)||{}},i=function(t){return b.call(h,t)}}else{var m=l("state");v[m]=!0,e=function(t,r){if(s(t,m))throw new TypeError(y);return r.facade=t,a(t,m,r),r},o=function(t){return s(t,m)?t[m]:{}},i=function(t){return s(t,m)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(r){var n;if(!f(r)||(n=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},3157:function(t,r,n){var e=n(4326);t.exports=Array.isArray||function(t){return"Array"==e(t)}},4705:function(t,r,n){var e=n(7293),o=/#|\.prototype\./,i=function(t,r){var n=u[c(t)];return n==a||n!=f&&("function"==typeof r?e(r):!!r)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},f=i.NATIVE="N",a=i.POLYFILL="P";t.exports=i},111:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:function(t){t.exports=!1},2190:function(t,r,n){var e=n(5005),o=n(3307);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var r=e("Symbol");return"function"==typeof r&&Object(t)instanceof r}},133:function(t,r,n){var e=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},8536:function(t,r,n){var e=n(7854),o=n(2788),i=e.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},30:function(t,r,n){var e,o=n(9670),i=n(6048),c=n(748),u=n(3501),f=n(490),a=n(317),s=n(6200)("IE_PROTO"),p=function(){},l=function(t){return"<script>"+t+"<\/script>"},v=function(t){t.write(l("")),t.close();var r=t.parentWindow.Object;return t=null,r},y=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}y=document.domain&&e?v(e):function(){var t,r=a("iframe");if(r.style)return r.style.display="none",f.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(l("document.F=Object")),t.close(),t.F}()||v(e);for(var t=c.length;t--;)delete y.prototype[c[t]];return y()};u[s]=!0,t.exports=Object.create||function(t,r){var n;return null!==t?(p.prototype=o(t),n=new p,p.prototype=null,n[s]=t):n=y(),void 0===r?n:i(n,r)}},6048:function(t,r,n){var e=n(9781),o=n(3070),i=n(9670),c=n(1956);t.exports=e?Object.defineProperties:function(t,r){i(t);for(var n,e=c(r),u=e.length,f=0;u>f;)o.f(t,n=e[f++],r[n]);return t}},3070:function(t,r,n){var e=n(9781),o=n(4664),i=n(9670),c=n(4948),u=Object.defineProperty;r.f=e?u:function(t,r,n){if(i(t),r=c(r),i(n),o)try{return u(t,r,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},1236:function(t,r,n){var e=n(9781),o=n(5296),i=n(9114),c=n(5656),u=n(4948),f=n(6656),a=n(4664),s=Object.getOwnPropertyDescriptor;r.f=e?s:function(t,r){if(t=c(t),r=u(r),a)try{return s(t,r)}catch(t){}if(f(t,r))return i(!o.f.call(t,r),t[r])}},8006:function(t,r,n){var e=n(6324),o=n(748).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},5181:function(t,r){r.f=Object.getOwnPropertySymbols},6324:function(t,r,n){var e=n(6656),o=n(5656),i=n(1318).indexOf,c=n(3501);t.exports=function(t,r){var n,u=o(t),f=0,a=[];for(n in u)!e(c,n)&&e(u,n)&&a.push(n);for(;r.length>f;)e(u,n=r[f++])&&(~i(a,n)||a.push(n));return a}},1956:function(t,r,n){var e=n(6324),o=n(748);t.exports=Object.keys||function(t){return e(t,o)}},5296:function(t,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,o=e&&!n.call({1:2},1);r.f=o?function(t){var r=e(this,t);return!!r&&r.enumerable}:n},7674:function(t,r,n){var e=n(9670),o=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),r=n instanceof Array}catch(t){}return function(n,i){return e(n),o(i),r?t.call(n,i):n.__proto__=i,n}}():void 0)},2140:function(t,r,n){var e=n(111);t.exports=function(t,r){var n,o;if("string"===r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!e(o=n.call(t)))return o;if("string"!==r&&"function"==typeof(n=t.toString)&&!e(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},3887:function(t,r,n){var e=n(5005),o=n(8006),i=n(5181),c=n(9670);t.exports=e("Reflect","ownKeys")||function(t){var r=o.f(c(t)),n=i.f;return n?r.concat(n(t)):r}},1320:function(t,r,n){var e=n(7854),o=n(8880),i=n(6656),c=n(3505),u=n(2788),f=n(9909),a=f.get,s=f.enforce,p=String(String).split("String");(t.exports=function(t,r,n,u){var f,a=!!u&&!!u.unsafe,l=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof r||i(n,"name")||o(n,"name",r),(f=s(n)).source||(f.source=p.join("string"==typeof r?r:""))),t!==e?(a?!v&&t[r]&&(l=!0):delete t[r],l?t[r]=n:o(t,r,n)):l?t[r]=n:c(r,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||u(this)}))},4488:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:function(t,r,n){var e=n(7854);t.exports=function(t,r){try{Object.defineProperty(e,t,{value:r,configurable:!0,writable:!0})}catch(n){e[t]=r}return r}},6200:function(t,r,n){var e=n(2309),o=n(9711),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,r,n){var e=n(7854),o=n(3505),i="__core-js_shared__",c=e[i]||o(i,{});t.exports=c},2309:function(t,r,n){var e=n(1913),o=n(5465);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.16.0",mode:e?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},3111:function(t,r,n){var e=n(4488),o=n(1340),i="["+n(1361)+"]",c=RegExp("^"+i+i+"*"),u=RegExp(i+i+"*$"),f=function(t){return function(r){var n=o(e(r));return 1&t&&(n=n.replace(c,"")),2&t&&(n=n.replace(u,"")),n}};t.exports={start:f(1),end:f(2),trim:f(3)}},1400:function(t,r,n){var e=n(9958),o=Math.max,i=Math.min;t.exports=function(t,r){var n=e(t);return n<0?o(n+r,0):i(n,r)}},5656:function(t,r,n){var e=n(8361),o=n(4488);t.exports=function(t){return e(o(t))}},9958:function(t){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},7466:function(t,r,n){var e=n(9958),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},7908:function(t,r,n){var e=n(4488);t.exports=function(t){return Object(e(t))}},7593:function(t,r,n){var e=n(111),o=n(2190),i=n(2140),c=n(5112)("toPrimitive");t.exports=function(t,r){if(!e(t)||o(t))return t;var n,u=t[c];if(void 0!==u){if(void 0===r&&(r="default"),n=u.call(t,r),!e(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===r&&(r="number"),i(t,r)}},4948:function(t,r,n){var e=n(7593),o=n(2190);t.exports=function(t){var r=e(t,"string");return o(r)?r:String(r)}},1340:function(t,r,n){var e=n(2190);t.exports=function(t){if(e(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},9711:function(t){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},3307:function(t,r,n){var e=n(133);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,r,n){var e=n(7854),o=n(2309),i=n(6656),c=n(9711),u=n(133),f=n(3307),a=o("wks"),s=e.Symbol,p=f?s:s&&s.withoutSetter||c;t.exports=function(t){return i(a,t)&&(u||"string"==typeof a[t])||(u&&i(s,t)?a[t]=s[t]:a[t]=p("Symbol."+t)),a[t]}},1361:function(t){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},2222:function(t,r,n){"use strict";var e=n(2109),o=n(7293),i=n(3157),c=n(111),u=n(7908),f=n(7466),a=n(6135),s=n(5417),p=n(1194),l=n(5112),v=n(7392),y=l("isConcatSpreadable"),d=9007199254740991,h="Maximum allowed index exceeded",g=v>=51||!o((function(){var t=[];return t[y]=!1,t.concat()[0]!==t})),b=p("concat"),x=function(t){if(!c(t))return!1;var r=t[y];return void 0!==r?!!r:i(t)};e({target:"Array",proto:!0,forced:!g||!b},{concat:function(t){var r,n,e,o,i,c=u(this),p=s(c,0),l=0;for(r=-1,e=arguments.length;r<e;r++)if(x(i=-1===r?c:arguments[r])){if(l+(o=f(i.length))>d)throw TypeError(h);for(n=0;n<o;n++,l++)n in i&&a(p,l,i[n])}else{if(l>=d)throw TypeError(h);a(p,l++,i)}return p.length=l,p}})},8309:function(t,r,n){var e=n(9781),o=n(3070).f,i=Function.prototype,c=i.toString,u=/^\s*function ([^ (]*)/,f="name";e&&!(f in i)&&o(i,f,{configurable:!0,get:function(){try{return c.call(this).match(u)[1]}catch(t){return""}}})},9653:function(t,r,n){"use strict";var e=n(9781),o=n(7854),i=n(4705),c=n(1320),u=n(6656),f=n(4326),a=n(9587),s=n(2190),p=n(7593),l=n(7293),v=n(30),y=n(8006).f,d=n(1236).f,h=n(3070).f,g=n(3111).trim,b="Number",x=o.Number,m=x.prototype,S=f(v(m))==b,w=function(t){if(s(t))throw TypeError("Cannot convert a Symbol value to a number");var r,n,e,o,i,c,u,f,a=p(t,"number");if("string"==typeof a&&a.length>2)if(43===(r=(a=g(a)).charCodeAt(0))||45===r){if(88===(n=a.charCodeAt(2))||120===n)return NaN}else if(48===r){switch(a.charCodeAt(1)){case 66:case 98:e=2,o=49;break;case 79:case 111:e=8,o=55;break;default:return+a}for(c=(i=a.slice(2)).length,u=0;u<c;u++)if((f=i.charCodeAt(u))<48||f>o)return NaN;return parseInt(i,e)}return+a};if(i(b,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var O,j=function(t){var r=arguments.length<1?0:t,n=this;return n instanceof j&&(S?l((function(){m.valueOf.call(n)})):f(n)!=b)?a(new x(w(r)),n,j):w(r)},_=e?y(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),E=0;_.length>E;E++)u(x,O=_[E])&&!u(j,O)&&h(j,O,d(x,O));j.prototype=m,m.constructor=j,c(o,b,j)}}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.d=function(t,r){for(var e in r)n.o(r,e)&&!n.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var e={};!function(){"use strict";n.r(e),n.d(e,{default:function(){return i}}),n(8309);var t=function(){var t=this,r=t.$createElement,n=t._self._c||r;return n("div",{staticClass:"d-divider",class:["d-divider--"+t.direction],style:t.style},["horizontal"===t.direction&&t.$scopedSlots.default?n("div",{staticClass:"d-divider-content",style:t.left?{left:t.left+"%"}:null},[t._t("default")],2):t._e()])};t._withStripped=!0,n(9653),n(2222);var r=function(t,r,n,e,o,i,c,u){var f,a="function"==typeof t?t.options:t;if(r&&(a.render=r,a.staticRenderFns=[],a._compiled=!0),f)if(a.functional){a._injectStyles=f;var s=a.render;a.render=function(t,r){return f.call(r),s(t,r)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,f):[f]}return{exports:t,options:a}}({name:"DDivider",props:{direction:{type:String,default:"horizontal"},margin:{type:[Number,Array],default:0},color:{type:String,default:""},left:{type:Number,default:0}},computed:{isH:function(){return"horizontal"===this.direction},style:function(){var t=this.color,r=this.margin,n={};return t&&(n.backgroundColor=t),0!==r&&("number"==typeof r?n.margin=this.isH?"".concat(r,"px 0"):"0 ".concat(r,"px"):Array.isArray(r)&&(1===r.length?n.margin=this.isH?"".concat(r[0],"px 0"):"0px ".concat(r[0],"px"):r.length>=2&&(n.margin=this.isH?"".concat(r[0],"px 0 ").concat(r[1],"px"):"0 ".concat(r[0],"px 0 ").concat(r[1],"px")))),n}}},t);r.options.__file="packages/divider/src/index.vue";var o=r.exports;o.install=function(t){t.component(o.name,o)};var i=o}(),module.exports=e}();