Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@calibur/sakura

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@calibur/sakura - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

2

lib/v-form/index.js

@@ -1,1 +0,1 @@

!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["@calibur/sakura"]=r():e["@calibur/sakura"]=r()}(this,(function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)t.d(n,i,function(r){return e[r]}.bind(null,i));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=41)}({0:function(e,r,t){"use strict";function n(e,r,t,n,i,a,o,s){var u,f="function"==typeof e?e.options:e;if(r&&(f.render=r,f.staticRenderFns=t,f._compiled=!0),n&&(f.functional=!0),a&&(f._scopeId="data-v-"+a),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},f._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(f.functional){f._injectStyles=u;var l=f.render;f.render=function(e,r){return u.call(r),l(e,r)}}else{var c=f.beforeCreate;f.beforeCreate=c?[].concat(c,u):[u]}return{exports:e,options:f}}t.d(r,"a",(function(){return n}))},14:function(e,r,t){"use strict";var n=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("button",{class:e.classList,attrs:{disabled:e.disabled||e.loading},on:{click:e.handle}},[e.loading?t("em",{staticClass:"loading"}):e._e(),e._v(" "),e._t("default")],2)};n._withStripped=!0;t(22);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var a={name:"VButton",props:{text:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},block:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},theme:{type:String,default:"primary",validator:function(e){return~["primary","success","info","warning","danger"].indexOf(e)}},size:{type:String,default:"medium",validator:function(e){return~["small","medium","large"].indexOf(e)}}},computed:{classList:function(){var e,r="v-button";return i(e={},r,!0),i(e,"".concat(r,"--text"),!!this.text),i(e,"".concat(r,"--icon"),!!this.icon),i(e,"".concat(r,"--plain"),!!this.plain),i(e,"".concat(r,"--block"),!!this.block),i(e,"".concat(r,"--loading"),!!this.loading),i(e,"".concat(r,"--disabled"),!!this.disabled),i(e,"".concat(r,"--").concat(this.theme),!!this.theme),i(e,"".concat(r,"--").concat(this.size),!!this.size),e}},methods:{handle:function(){this.loading||this.disabled||this.$emit("click")}}},o=t(0),s=Object(o.a)(a,n,[],!1,null,null,null);s.options.__file="src/components/button/button.vue";r.a=s.exports},22:function(e,r,t){},30:function(e,r,t){"use strict";(function(e){function t(){return(t=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var n=/%[sdj%]/g,i=function(){};function a(e){if(!e||!e.length)return null;var r={};return e.forEach((function(e){var t=e.field;r[t]=r[t]||[],r[t].push(e)})),r}function o(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var i=1,a=r[0],o=r.length;if("function"==typeof a)return a.apply(null,r.slice(1));if("string"==typeof a){for(var s=String(a).replace(n,(function(e){if("%%"===e)return"%";if(i>=o)return e;switch(e){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch(t){return"[Circular]"}break;default:return e}})),u=r[i];i<o;u=r[++i])s+=" "+u;return s}return a}function s(e,r){return null==e||(!("array"!==r||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}(r)||"string"!=typeof e||e))}function u(e,r,t){var n=0,i=e.length;!function a(o){if(o&&o.length)t(o);else{var s=n;n+=1,s<i?r(e[s],a):t([])}}([])}function f(e,r,t,n){if(r.first){var i=new Promise((function(r,i){u(function(e){var r=[];return Object.keys(e).forEach((function(t){r.push.apply(r,e[t])})),r}(e),t,(function(e){return n(e),e.length?i({errors:e,fields:a(e)}):r()}))}));return i.catch((function(e){return e})),i}var o=r.firstFields||[];!0===o&&(o=Object.keys(e));var s=Object.keys(e),f=s.length,l=0,c=[],d=new Promise((function(r,i){var d=function(e){if(c.push.apply(c,e),++l===f)return n(c),c.length?i({errors:c,fields:a(c)}):r()};s.forEach((function(r){var n=e[r];-1!==o.indexOf(r)?u(n,t,d):function(e,r,t){var n=[],i=0,a=e.length;function o(e){n.push.apply(n,e),++i===a&&t(n)}e.forEach((function(e){r(e,o)}))}(n,t,d)}))}));return d.catch((function(e){return e})),d}function l(e){return function(r){return r&&r.message?(r.field=r.field||e.fullField,r):{message:"function"==typeof r?r():r,field:r.field||e.fullField}}}function c(e,r){if(r)for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];"object"==typeof i&&"object"==typeof e[n]?e[n]=t({},e[n],{},i):e[n]=i}return e}function d(e,r,t,n,i,a){!e.required||t.hasOwnProperty(e.field)&&!s(r,a||e.type)||n.push(o(i.messages.required,e.fullField))}void 0!==e&&e.env;var p={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},h={integer:function(e){return h.number(e)&&parseInt(e,10)===e},float:function(e){return h.number(e)&&!h.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(r){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!h.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(p.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(p.url)},hex:function(e){return"string"==typeof e&&!!e.match(p.hex)}};var y="enum";var m={required:d,whitespace:function(e,r,t,n,i){(/^\s+$/.test(r)||""===r)&&n.push(o(i.messages.whitespace,e.fullField))},type:function(e,r,t,n,i){if(e.required&&void 0===r)d(e,r,t,n,i);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?h[a](r)||n.push(o(i.messages.types[a],e.fullField,e.type)):a&&typeof r!==e.type&&n.push(o(i.messages.types[a],e.fullField,e.type))}},range:function(e,r,t,n,i){var a="number"==typeof e.len,s="number"==typeof e.min,u="number"==typeof e.max,f=r,l=null,c="number"==typeof r,d="string"==typeof r,p=Array.isArray(r);if(c?l="number":d?l="string":p&&(l="array"),!l)return!1;p&&(f=r.length),d&&(f=r.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?f!==e.len&&n.push(o(i.messages[l].len,e.fullField,e.len)):s&&!u&&f<e.min?n.push(o(i.messages[l].min,e.fullField,e.min)):u&&!s&&f>e.max?n.push(o(i.messages[l].max,e.fullField,e.max)):s&&u&&(f<e.min||f>e.max)&&n.push(o(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,r,t,n,i){e[y]=Array.isArray(e[y])?e[y]:[],-1===e[y].indexOf(r)&&n.push(o(i.messages[y],e.fullField,e[y].join(", ")))},pattern:function(e,r,t,n,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(r)||n.push(o(i.messages.pattern.mismatch,e.fullField,r,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(r)||n.push(o(i.messages.pattern.mismatch,e.fullField,r,e.pattern))}}};var g="enum";function v(e,r,t,n,i){var a=e.type,o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r,a)&&!e.required)return t();m.required(e,r,n,o,i,a),s(r,a)||m.type(e,r,n,o,i)}t(o)}var b={string:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r,"string")&&!e.required)return t();m.required(e,r,n,a,i,"string"),s(r,"string")||(m.type(e,r,n,a,i),m.range(e,r,n,a,i),m.pattern(e,r,n,a,i),!0===e.whitespace&&m.whitespace(e,r,n,a,i))}t(a)},method:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&m.type(e,r,n,a,i)}t(a)},number:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===r&&(r=void 0),s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&(m.type(e,r,n,a,i),m.range(e,r,n,a,i))}t(a)},boolean:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&m.type(e,r,n,a,i)}t(a)},regexp:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),s(r)||m.type(e,r,n,a,i)}t(a)},integer:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&(m.type(e,r,n,a,i),m.range(e,r,n,a,i))}t(a)},float:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&(m.type(e,r,n,a,i),m.range(e,r,n,a,i))}t(a)},array:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r,"array")&&!e.required)return t();m.required(e,r,n,a,i,"array"),s(r,"array")||(m.type(e,r,n,a,i),m.range(e,r,n,a,i))}t(a)},object:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&m.type(e,r,n,a,i)}t(a)},enum:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&m[g](e,r,n,a,i)}t(a)},pattern:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r,"string")&&!e.required)return t();m.required(e,r,n,a,i),s(r,"string")||m.pattern(e,r,n,a,i)}t(a)},date:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();var o;if(m.required(e,r,n,a,i),!s(r))o="number"==typeof r?new Date(r):r,m.type(e,o,n,a,i),o&&m.range(e,o.getTime(),n,a,i)}t(a)},url:v,hex:v,email:v,required:function(e,r,t,n,i){var a=[],o=Array.isArray(r)?"array":typeof r;m.required(e,r,n,a,i,o),t(a)},any:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i)}t(a)}};function q(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var w=q();function x(e){this.rules=null,this._messages=w,this.define(e)}x.prototype={messages:function(e){return e&&(this._messages=c(q(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");var r,t;for(r in this.rules={},e)e.hasOwnProperty(r)&&(t=e[r],this.rules[r]=Array.isArray(t)?t:[t])},validate:function(e,r,n){var i=this;void 0===r&&(r={}),void 0===n&&(n=function(){});var s,u,d=e,p=r,h=n;if("function"==typeof p&&(h=p,p={}),!this.rules||0===Object.keys(this.rules).length)return h&&h(),Promise.resolve();if(p.messages){var y=this.messages();y===w&&(y=q()),c(y,p.messages),p.messages=y}else p.messages=this.messages();var m={};(p.keys||Object.keys(this.rules)).forEach((function(r){s=i.rules[r],u=d[r],s.forEach((function(n){var a=n;"function"==typeof a.transform&&(d===e&&(d=t({},d)),u=d[r]=a.transform(u)),(a="function"==typeof a?{validator:a}:t({},a)).validator=i.getValidationMethod(a),a.field=r,a.fullField=a.fullField||r,a.type=i.getType(a),a.validator&&(m[r]=m[r]||[],m[r].push({rule:a,value:u,source:d,field:r}))}))}));var g={};return f(m,p,(function(e,r){var n,i=e.rule,a=!("object"!==i.type&&"array"!==i.type||"object"!=typeof i.fields&&"object"!=typeof i.defaultField);function s(e,r){return t({},r,{fullField:i.fullField+"."+e})}function u(n){void 0===n&&(n=[]);var u=n;if(Array.isArray(u)||(u=[u]),!p.suppressWarning&&u.length&&x.warning("async-validator:",u),u.length&&i.message&&(u=[].concat(i.message)),u=u.map(l(i)),p.first&&u.length)return g[i.field]=1,r(u);if(a){if(i.required&&!e.value)return u=i.message?[].concat(i.message).map(l(i)):p.error?[p.error(i,o(p.messages.required,i.field))]:[],r(u);var f={};if(i.defaultField)for(var c in e.value)e.value.hasOwnProperty(c)&&(f[c]=i.defaultField);for(var d in f=t({},f,{},e.rule.fields))if(f.hasOwnProperty(d)){var h=Array.isArray(f[d])?f[d]:[f[d]];f[d]=h.map(s.bind(null,d))}var y=new x(f);y.messages(p.messages),e.rule.options&&(e.rule.options.messages=p.messages,e.rule.options.error=p.error),y.validate(e.value,e.rule.options||p,(function(e){var t=[];u&&u.length&&t.push.apply(t,u),e&&e.length&&t.push.apply(t,e),r(t.length?t:null)}))}else r(u)}a=a&&(i.required||!i.required&&e.value),i.field=e.field,i.asyncValidator?n=i.asyncValidator(i,e.value,u,e.source,p):i.validator&&(!0===(n=i.validator(i,e.value,u,e.source,p))?u():!1===n?u(i.message||i.field+" fails"):n instanceof Array?u(n):n instanceof Error&&u(n.message)),n&&n.then&&n.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){!function(e){var r,t,n,i=[],o={};for(r=0;r<e.length;r++)t=e[r],n=void 0,Array.isArray(t)?i=(n=i).concat.apply(n,t):i.push(t);i.length?o=a(i):(i=null,o=null),h(i,o)}(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!b.hasOwnProperty(e.type))throw new Error(o("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var r=Object.keys(e),t=r.indexOf("message");return-1!==t&&r.splice(t,1),1===r.length&&"required"===r[0]?b.required:b[this.getType(e)]||!1}},x.register=function(e,r){if("function"!=typeof r)throw new Error("Cannot register a validator by type, validator is not a function");b[e]=r},x.warning=i,x.messages=w,r.a=x}).call(this,t(59))},41:function(e,r,t){"use strict";t.r(r);var n=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"v-form",class:{"is-loading":e.loading}},[e._t("default"),e._v(" "),e.errors.length?t("ul",{staticClass:"v-form__errors"},e._l(e.errors,(function(r){return t("li",{key:r,domProps:{textContent:e._s(r)}})})),0):e._e(),e._v(" "),t("div",{staticClass:"v-form__submit",on:{click:e.submit}},[e._t("submit",[t("VButton",{attrs:{loading:e.loading,size:"large",block:""}},[e._v("提交")])])],2)],2)};n._withStripped=!0;var i=t(30),a=t(14),o=(t(58),{name:"VForm",components:{VButton:a.a},props:{rule:{type:Object,default:function(){return null}},form:{type:Object,default:function(){return null}},loading:{type:Boolean,default:!1}},data:function(){return{errors:[]}},methods:{submit:function(){var e=this;(this.errors=[],this.rule&&this.form)?new i.a(this.rule).validate(this.form).then((function(){e.$emit("submit")})).catch((function(r){var t=r.errors;e.errors=t.map((function(e){return e.message}))})):this.$emit("submit")}}}),s=t(0),u=Object(s.a)(o,n,[],!1,null,null,null);u.options.__file="src/components/form/form.vue";var f=u.exports;r.default=f},58:function(e,r,t){},59:function(e,r){var t,n,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var u,f=[],l=!1,c=-1;function d(){l&&u&&(l=!1,u.length?f=u.concat(f):c=-1,f.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var r=f.length;r;){for(u=f,f=[];++c<r;)u&&u[c].run();c=-1,r=f.length}u=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(r){try{return n.call(null,e)}catch(r){return n.call(this,e)}}}(e)}}function h(e,r){this.fun=e,this.array=r}function y(){}i.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];f.push(new h(e,r)),1!==f.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}}})}));
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports["@calibur/sakura"]=r():e["@calibur/sakura"]=r()}(this,(function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var i in e)t.d(n,i,function(r){return e[r]}.bind(null,i));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=41)}({0:function(e,r,t){"use strict";function n(e,r,t,n,i,a,o,s){var u,f="function"==typeof e?e.options:e;if(r&&(f.render=r,f.staticRenderFns=t,f._compiled=!0),n&&(f.functional=!0),a&&(f._scopeId="data-v-"+a),o?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},f._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(f.functional){f._injectStyles=u;var l=f.render;f.render=function(e,r){return u.call(r),l(e,r)}}else{var c=f.beforeCreate;f.beforeCreate=c?[].concat(c,u):[u]}return{exports:e,options:f}}t.d(r,"a",(function(){return n}))},14:function(e,r,t){"use strict";var n=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("button",{class:e.classList,attrs:{disabled:e.disabled||e.loading},on:{click:e.handle}},[e.loading?t("em",{staticClass:"loading"}):e._e(),e._v(" "),e._t("default")],2)};n._withStripped=!0;t(22);function i(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var a={name:"VButton",props:{text:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},block:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},theme:{type:String,default:"primary",validator:function(e){return~["primary","success","info","warning","danger"].indexOf(e)}},size:{type:String,default:"medium",validator:function(e){return~["small","medium","large"].indexOf(e)}}},computed:{classList:function(){var e,r="v-button";return i(e={},r,!0),i(e,"".concat(r,"--text"),!!this.text),i(e,"".concat(r,"--icon"),!!this.icon),i(e,"".concat(r,"--plain"),!!this.plain),i(e,"".concat(r,"--block"),!!this.block),i(e,"".concat(r,"--loading"),!!this.loading),i(e,"".concat(r,"--disabled"),!!this.disabled),i(e,"".concat(r,"--").concat(this.theme),!!this.theme),i(e,"".concat(r,"--").concat(this.size),!!this.size),e}},methods:{handle:function(){this.loading||this.disabled||this.$emit("click")}}},o=t(0),s=Object(o.a)(a,n,[],!1,null,null,null);s.options.__file="src/components/button/button.vue";r.a=s.exports},22:function(e,r,t){},30:function(e,r,t){"use strict";(function(e){function t(){return(t=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var n=/%[sdj%]/g,i=function(){};function a(e){if(!e||!e.length)return null;var r={};return e.forEach((function(e){var t=e.field;r[t]=r[t]||[],r[t].push(e)})),r}function o(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var i=1,a=r[0],o=r.length;if("function"==typeof a)return a.apply(null,r.slice(1));if("string"==typeof a){for(var s=String(a).replace(n,(function(e){if("%%"===e)return"%";if(i>=o)return e;switch(e){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch(t){return"[Circular]"}break;default:return e}})),u=r[i];i<o;u=r[++i])s+=" "+u;return s}return a}function s(e,r){return null==e||(!("array"!==r||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}(r)||"string"!=typeof e||e))}function u(e,r,t){var n=0,i=e.length;!function a(o){if(o&&o.length)t(o);else{var s=n;n+=1,s<i?r(e[s],a):t([])}}([])}function f(e,r,t,n){if(r.first){var i=new Promise((function(r,i){u(function(e){var r=[];return Object.keys(e).forEach((function(t){r.push.apply(r,e[t])})),r}(e),t,(function(e){return n(e),e.length?i({errors:e,fields:a(e)}):r()}))}));return i.catch((function(e){return e})),i}var o=r.firstFields||[];!0===o&&(o=Object.keys(e));var s=Object.keys(e),f=s.length,l=0,c=[],d=new Promise((function(r,i){var d=function(e){if(c.push.apply(c,e),++l===f)return n(c),c.length?i({errors:c,fields:a(c)}):r()};s.forEach((function(r){var n=e[r];-1!==o.indexOf(r)?u(n,t,d):function(e,r,t){var n=[],i=0,a=e.length;function o(e){n.push.apply(n,e),++i===a&&t(n)}e.forEach((function(e){r(e,o)}))}(n,t,d)}))}));return d.catch((function(e){return e})),d}function l(e){return function(r){return r&&r.message?(r.field=r.field||e.fullField,r):{message:"function"==typeof r?r():r,field:r.field||e.fullField}}}function c(e,r){if(r)for(var n in r)if(r.hasOwnProperty(n)){var i=r[n];"object"==typeof i&&"object"==typeof e[n]?e[n]=t({},e[n],{},i):e[n]=i}return e}function d(e,r,t,n,i,a){!e.required||t.hasOwnProperty(e.field)&&!s(r,a||e.type)||n.push(o(i.messages.required,e.fullField))}void 0!==e&&e.env;var p={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},h={integer:function(e){return h.number(e)&&parseInt(e,10)===e},float:function(e){return h.number(e)&&!h.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(r){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!h.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(p.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(p.url)},hex:function(e){return"string"==typeof e&&!!e.match(p.hex)}};var y="enum";var m={required:d,whitespace:function(e,r,t,n,i){(/^\s+$/.test(r)||""===r)&&n.push(o(i.messages.whitespace,e.fullField))},type:function(e,r,t,n,i){if(e.required&&void 0===r)d(e,r,t,n,i);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?h[a](r)||n.push(o(i.messages.types[a],e.fullField,e.type)):a&&typeof r!==e.type&&n.push(o(i.messages.types[a],e.fullField,e.type))}},range:function(e,r,t,n,i){var a="number"==typeof e.len,s="number"==typeof e.min,u="number"==typeof e.max,f=r,l=null,c="number"==typeof r,d="string"==typeof r,p=Array.isArray(r);if(c?l="number":d?l="string":p&&(l="array"),!l)return!1;p&&(f=r.length),d&&(f=r.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),a?f!==e.len&&n.push(o(i.messages[l].len,e.fullField,e.len)):s&&!u&&f<e.min?n.push(o(i.messages[l].min,e.fullField,e.min)):u&&!s&&f>e.max?n.push(o(i.messages[l].max,e.fullField,e.max)):s&&u&&(f<e.min||f>e.max)&&n.push(o(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,r,t,n,i){e[y]=Array.isArray(e[y])?e[y]:[],-1===e[y].indexOf(r)&&n.push(o(i.messages[y],e.fullField,e[y].join(", ")))},pattern:function(e,r,t,n,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(r)||n.push(o(i.messages.pattern.mismatch,e.fullField,r,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(r)||n.push(o(i.messages.pattern.mismatch,e.fullField,r,e.pattern))}}};var g="enum";function v(e,r,t,n,i){var a=e.type,o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r,a)&&!e.required)return t();m.required(e,r,n,o,i,a),s(r,a)||m.type(e,r,n,o,i)}t(o)}var b={string:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r,"string")&&!e.required)return t();m.required(e,r,n,a,i,"string"),s(r,"string")||(m.type(e,r,n,a,i),m.range(e,r,n,a,i),m.pattern(e,r,n,a,i),!0===e.whitespace&&m.whitespace(e,r,n,a,i))}t(a)},method:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&m.type(e,r,n,a,i)}t(a)},number:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===r&&(r=void 0),s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&(m.type(e,r,n,a,i),m.range(e,r,n,a,i))}t(a)},boolean:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&m.type(e,r,n,a,i)}t(a)},regexp:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),s(r)||m.type(e,r,n,a,i)}t(a)},integer:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&(m.type(e,r,n,a,i),m.range(e,r,n,a,i))}t(a)},float:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&(m.type(e,r,n,a,i),m.range(e,r,n,a,i))}t(a)},array:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r,"array")&&!e.required)return t();m.required(e,r,n,a,i,"array"),s(r,"array")||(m.type(e,r,n,a,i),m.range(e,r,n,a,i))}t(a)},object:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&m.type(e,r,n,a,i)}t(a)},enum:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i),void 0!==r&&m[g](e,r,n,a,i)}t(a)},pattern:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r,"string")&&!e.required)return t();m.required(e,r,n,a,i),s(r,"string")||m.pattern(e,r,n,a,i)}t(a)},date:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();var o;if(m.required(e,r,n,a,i),!s(r))o="number"==typeof r?new Date(r):r,m.type(e,o,n,a,i),o&&m.range(e,o.getTime(),n,a,i)}t(a)},url:v,hex:v,email:v,required:function(e,r,t,n,i){var a=[],o=Array.isArray(r)?"array":typeof r;m.required(e,r,n,a,i,o),t(a)},any:function(e,r,t,n,i){var a=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(s(r)&&!e.required)return t();m.required(e,r,n,a,i)}t(a)}};function q(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var w=q();function x(e){this.rules=null,this._messages=w,this.define(e)}x.prototype={messages:function(e){return e&&(this._messages=c(q(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");var r,t;for(r in this.rules={},e)e.hasOwnProperty(r)&&(t=e[r],this.rules[r]=Array.isArray(t)?t:[t])},validate:function(e,r,n){var i=this;void 0===r&&(r={}),void 0===n&&(n=function(){});var s,u,d=e,p=r,h=n;if("function"==typeof p&&(h=p,p={}),!this.rules||0===Object.keys(this.rules).length)return h&&h(),Promise.resolve();if(p.messages){var y=this.messages();y===w&&(y=q()),c(y,p.messages),p.messages=y}else p.messages=this.messages();var m={};(p.keys||Object.keys(this.rules)).forEach((function(r){s=i.rules[r],u=d[r],s.forEach((function(n){var a=n;"function"==typeof a.transform&&(d===e&&(d=t({},d)),u=d[r]=a.transform(u)),(a="function"==typeof a?{validator:a}:t({},a)).validator=i.getValidationMethod(a),a.field=r,a.fullField=a.fullField||r,a.type=i.getType(a),a.validator&&(m[r]=m[r]||[],m[r].push({rule:a,value:u,source:d,field:r}))}))}));var g={};return f(m,p,(function(e,r){var n,i=e.rule,a=!("object"!==i.type&&"array"!==i.type||"object"!=typeof i.fields&&"object"!=typeof i.defaultField);function s(e,r){return t({},r,{fullField:i.fullField+"."+e})}function u(n){void 0===n&&(n=[]);var u=n;if(Array.isArray(u)||(u=[u]),!p.suppressWarning&&u.length&&x.warning("async-validator:",u),u.length&&i.message&&(u=[].concat(i.message)),u=u.map(l(i)),p.first&&u.length)return g[i.field]=1,r(u);if(a){if(i.required&&!e.value)return u=i.message?[].concat(i.message).map(l(i)):p.error?[p.error(i,o(p.messages.required,i.field))]:[],r(u);var f={};if(i.defaultField)for(var c in e.value)e.value.hasOwnProperty(c)&&(f[c]=i.defaultField);for(var d in f=t({},f,{},e.rule.fields))if(f.hasOwnProperty(d)){var h=Array.isArray(f[d])?f[d]:[f[d]];f[d]=h.map(s.bind(null,d))}var y=new x(f);y.messages(p.messages),e.rule.options&&(e.rule.options.messages=p.messages,e.rule.options.error=p.error),y.validate(e.value,e.rule.options||p,(function(e){var t=[];u&&u.length&&t.push.apply(t,u),e&&e.length&&t.push.apply(t,e),r(t.length?t:null)}))}else r(u)}a=a&&(i.required||!i.required&&e.value),i.field=e.field,i.asyncValidator?n=i.asyncValidator(i,e.value,u,e.source,p):i.validator&&(!0===(n=i.validator(i,e.value,u,e.source,p))?u():!1===n?u(i.message||i.field+" fails"):n instanceof Array?u(n):n instanceof Error&&u(n.message)),n&&n.then&&n.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){!function(e){var r,t,n,i=[],o={};for(r=0;r<e.length;r++)t=e[r],n=void 0,Array.isArray(t)?i=(n=i).concat.apply(n,t):i.push(t);i.length?o=a(i):(i=null,o=null),h(i,o)}(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!b.hasOwnProperty(e.type))throw new Error(o("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var r=Object.keys(e),t=r.indexOf("message");return-1!==t&&r.splice(t,1),1===r.length&&"required"===r[0]?b.required:b[this.getType(e)]||!1}},x.register=function(e,r){if("function"!=typeof r)throw new Error("Cannot register a validator by type, validator is not a function");b[e]=r},x.warning=i,x.messages=w,r.a=x}).call(this,t(59))},41:function(e,r,t){"use strict";t.r(r);var n=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"v-form",class:{"is-loading":e.loading}},[e._t("default"),e._v(" "),e.errors.length?t("ul",{staticClass:"v-form__errors"},e._l(e.errors,(function(r){return t("li",{key:r,domProps:{textContent:e._s(r)}})})),0):e._e(),e._v(" "),t("div",{staticClass:"v-form__submit",on:{click:e.submit}},[e._t("submit",[t("VButton",{attrs:{loading:e.loading,size:"large",block:""}},[e._v("提交")])])],2)],2)};n._withStripped=!0;var i=t(30),a=t(14),o=(t(58),{name:"VForm",components:{VButton:a.a},props:{rule:{type:Object,default:function(){return null}},form:{type:Object,default:function(){return null}},loading:{type:Boolean,default:!1}},data:function(){return{errors:[]}},methods:{submit:function(){var e=this;(this.errors=[],this.rule&&this.form)?new i.a(this.rule).validate(this.form).then((function(){e.$emit("submit")})).catch((function(r){var t=r.errors,n=r.fields;e.$emit("error",{errors:t,fields:n}),e.errors=t.map((function(e){return e.message}))})):this.$emit("submit")}}}),s=t(0),u=Object(s.a)(o,n,[],!1,null,null,null);u.options.__file="src/components/form/form.vue";var f=u.exports;r.default=f},58:function(e,r,t){},59:function(e,r){var t,n,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var u,f=[],l=!1,c=-1;function d(){l&&u&&(l=!1,u.length?f=u.concat(f):c=-1,f.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var r=f.length;r;){for(u=f,f=[];++c<r;)u&&u[c].run();c=-1,r=f.length}u=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(r){try{return n.call(null,e)}catch(r){return n.call(this,e)}}}(e)}}function h(e,r){this.fun=e,this.array=r}function y(){}i.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];f.push(new h(e,r)),1!==f.length||l||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}}})}));
{
"name": "@calibur/sakura",
"version": "1.5.3",
"version": "1.5.4",
"description": "bilibili h5 vue components",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc