From 577ad7b2e007c5c6163390bd55a0700a280cca24 Mon Sep 17 00:00:00 2001 From: Marina Mosti Date: Fri, 15 Jan 2021 11:03:23 +0000 Subject: [PATCH] 1.0.0-alpha.3 --- dist/formvuelate-plugin-vuelidate.cjs.js | 10 +++++----- dist/formvuelate-plugin-vuelidate.es.js | 10 +++++----- dist/formvuelate-plugin-vuelidate.js | 10 +++++----- dist/formvuelate-plugin-vuelidate.min.js | 6 +++--- package.json | 2 +- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/dist/formvuelate-plugin-vuelidate.cjs.js b/dist/formvuelate-plugin-vuelidate.cjs.js index 34eefcc..a3b0eb5 100644 --- a/dist/formvuelate-plugin-vuelidate.cjs.js +++ b/dist/formvuelate-plugin-vuelidate.cjs.js @@ -1,6 +1,6 @@ /** - * @formvuelate/plugin-vuelidate v1.0.0-alpha.1 - * (c) 2020 Damian Dulisz , Marina Mosti + * @formvuelate/plugin-vuelidate v1.0.0-alpha.3 + * (c) 2021 Damian Dulisz , Marina Mosti * @license MIT */ @@ -4299,13 +4299,13 @@ function VuelidatePlugin (baseReturns) { var parsedSchema = baseReturns.parsedSchema; // Wrap all components with the "withVuelidate" component - var schemaWithVuelidate = mapElementsInSchema(parsedSchema.value, function (el) { + var schemaWithVuelidate = computed$$1(function () { return mapElementsInSchema(parsedSchema.value, function (el) { return Object.assign({}, el, {component: markRaw(withVuelidate(el.component))}) - }); + }); }); return Object.assign({}, baseReturns, - {parsedSchema: computed$$1(function () { return schemaWithVuelidate; })}) + {parsedSchema: schemaWithVuelidate}) } function withVuelidate (Comp) { diff --git a/dist/formvuelate-plugin-vuelidate.es.js b/dist/formvuelate-plugin-vuelidate.es.js index 5b251d8..bdaed62 100644 --- a/dist/formvuelate-plugin-vuelidate.es.js +++ b/dist/formvuelate-plugin-vuelidate.es.js @@ -1,6 +1,6 @@ /** - * @formvuelate/plugin-vuelidate v1.0.0-alpha.1 - * (c) 2020 Damian Dulisz , Marina Mosti + * @formvuelate/plugin-vuelidate v1.0.0-alpha.3 + * (c) 2021 Damian Dulisz , Marina Mosti * @license MIT */ @@ -4295,13 +4295,13 @@ function VuelidatePlugin (baseReturns) { var parsedSchema = baseReturns.parsedSchema; // Wrap all components with the "withVuelidate" component - var schemaWithVuelidate = mapElementsInSchema(parsedSchema.value, function (el) { + var schemaWithVuelidate = computed$$1(function () { return mapElementsInSchema(parsedSchema.value, function (el) { return Object.assign({}, el, {component: markRaw(withVuelidate(el.component))}) - }); + }); }); return Object.assign({}, baseReturns, - {parsedSchema: computed$$1(function () { return schemaWithVuelidate; })}) + {parsedSchema: schemaWithVuelidate}) } function withVuelidate (Comp) { diff --git a/dist/formvuelate-plugin-vuelidate.js b/dist/formvuelate-plugin-vuelidate.js index 9a18563..e3b6b7e 100644 --- a/dist/formvuelate-plugin-vuelidate.js +++ b/dist/formvuelate-plugin-vuelidate.js @@ -1,6 +1,6 @@ /** - * @formvuelate/plugin-vuelidate v1.0.0-alpha.1 - * (c) 2020 Damian Dulisz , Marina Mosti + * @formvuelate/plugin-vuelidate v1.0.0-alpha.3 + * (c) 2021 Damian Dulisz , Marina Mosti * @license MIT */ @@ -4301,13 +4301,13 @@ function VuelidatePlugin (baseReturns) { var parsedSchema = baseReturns.parsedSchema; // Wrap all components with the "withVuelidate" component - var schemaWithVuelidate = mapElementsInSchema(parsedSchema.value, function (el) { + var schemaWithVuelidate = computed$$1(function () { return mapElementsInSchema(parsedSchema.value, function (el) { return Object.assign({}, el, {component: markRaw(withVuelidate(el.component))}) - }); + }); }); return Object.assign({}, baseReturns, - {parsedSchema: computed$$1(function () { return schemaWithVuelidate; })}) + {parsedSchema: schemaWithVuelidate}) } function withVuelidate (Comp) { diff --git a/dist/formvuelate-plugin-vuelidate.min.js b/dist/formvuelate-plugin-vuelidate.min.js index 83f8476..fbcc47e 100644 --- a/dist/formvuelate-plugin-vuelidate.min.js +++ b/dist/formvuelate-plugin-vuelidate.min.js @@ -1,7 +1,7 @@ /** - * @formvuelate/plugin-vuelidate v1.0.0-alpha.1 - * (c) 2020 Damian Dulisz , Marina Mosti + * @formvuelate/plugin-vuelidate v1.0.0-alpha.3 + * (c) 2021 Damian Dulisz , Marina Mosti * @license MIT */ -!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(e["@formvuelate/pluginVuelidate"]={})}(this,function(e){"use strict";function n(e,n){for(var t=Object.create(null),r=e.split(","),i=0;idocument.createEvent("Event").timeStamp&&(ht=function(){return performance.now()});var gt=0,_t=Promise.resolve(),yt=function(){gt=0},mt=function(){return gt||(_t.then(yt),gt=ht())};function bt(e,n,t,r,i){void 0===i&&(i=null);var a,o,u,c,l,s,f,v,p=e._vei||(e._vei={}),d=p[n];if(r&&d)d.value=r;else{var h=function(e){var n;if($t.test(e)){var t;for(n={};t=e.match($t);)e=e.slice(0,e.length-t[0].length),n[t[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),n]}(n),g=h[0],_=h[1];if(r){var y=p[n]=(f=i,(v=function(e){var n=e.timeStamp||ht();n>=v.attached-1&&Ke(function(e,n){{if(b(n)){var t=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){t.call(e),e._stopped=!0},n.map(function(n){return function(e){return!e._stopped&&n(e)}})}return n}}(e,v.value),f,5,[e])}).value=r,v.attached=mt(),v);c=g,l=y,s=_,e.addEventListener(c,l,s)}else d&&(a=g,o=d,u=_,e.removeEventListener(a,o,u),p[n]=void 0)}}var $t=/(?:Once|Passive|Capture)$/;var Ct=/^on[a-z]/;var St="transition",wt="animation";var Et={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},At=R({},Nn.props,Et);function Ot(e){var n=e.name;void 0===n&&(n="v");var a=e.type,t=e.css;void 0===t&&(t=!0);var r=e.duration,o=e.enterFromClass;void 0===o&&(o=n+"-enter-from");var i=e.enterActiveClass;void 0===i&&(i=n+"-enter-active");var u=e.enterToClass;void 0===u&&(u=n+"-enter-to");var c=e.appearFromClass;void 0===c&&(c=o);var l=e.appearActiveClass;void 0===l&&(l=i);var s=e.appearToClass;void 0===s&&(s=u);var f=e.leaveFromClass;void 0===f&&(f=n+"-leave-from");var v=e.leaveActiveClass;void 0===v&&(v=n+"-leave-active");var p=e.leaveToClass;void 0===p&&(p=n+"-leave-to");var d={};for(var h in e)h in Et||(d[h]=e[h]);if(!t)return d;var g=function(e){{if(null==e)return null;if(j(e))return[xt(e.enter),xt(e.leave)];var n=xt(e);return[n,n]}}(r),_=g&&g[0],y=g&&g[1],m=d.onBeforeEnter,b=d.onEnter,$=d.onEnterCancelled,C=d.onLeave,S=d.onLeaveCancelled,w=d.onBeforeAppear;void 0===w&&(w=m);var E=d.onAppear;void 0===E&&(E=b);var A=d.onAppearCancelled;void 0===A&&(A=$);var O=function(e,n,t){Rt(e,n?s:u),Rt(e,n?l:i),t&&t()},x=function(e,n){Rt(e,p),Rt(e,v),n&&n()},k=function(i){return function(e,n){var t=i?E:b,r=function(){return O(e,i,n)};t&&t(e,r),jt(function(){Rt(e,i?c:o),kt(e,i?s:u),t&&1=o&&l()};setTimeout(function(){cdocument.createEvent("Event").timeStamp&&(ht=function(){return performance.now()});var gt=0,_t=Promise.resolve(),yt=function(){gt=0},mt=function(){return gt||(_t.then(yt),gt=ht())};function bt(e,n,t,r,i){void 0===i&&(i=null);var a,o,u,c,l,s,f,v,p=e._vei||(e._vei={}),d=p[n];if(r&&d)d.value=r;else{var h=function(e){var n;if($t.test(e)){var t;for(n={};t=e.match($t);)e=e.slice(0,e.length-t[0].length),n[t[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),n]}(n),g=h[0],_=h[1];if(r){var y=p[n]=(f=i,(v=function(e){var n=e.timeStamp||ht();n>=v.attached-1&&Ke(function(e,n){{if(b(n)){var t=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){t.call(e),e._stopped=!0},n.map(function(n){return function(e){return!e._stopped&&n(e)}})}return n}}(e,v.value),f,5,[e])}).value=r,v.attached=mt(),v);c=g,l=y,s=_,e.addEventListener(c,l,s)}else d&&(a=g,o=d,u=_,e.removeEventListener(a,o,u),p[n]=void 0)}}var $t=/(?:Once|Passive|Capture)$/;var Ct=/^on[a-z]/;var St="transition",wt="animation";var Et={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},At=R({},Nn.props,Et);function Ot(e){var n=e.name;void 0===n&&(n="v");var a=e.type,t=e.css;void 0===t&&(t=!0);var r=e.duration,o=e.enterFromClass;void 0===o&&(o=n+"-enter-from");var i=e.enterActiveClass;void 0===i&&(i=n+"-enter-active");var u=e.enterToClass;void 0===u&&(u=n+"-enter-to");var c=e.appearFromClass;void 0===c&&(c=o);var l=e.appearActiveClass;void 0===l&&(l=i);var s=e.appearToClass;void 0===s&&(s=u);var f=e.leaveFromClass;void 0===f&&(f=n+"-leave-from");var v=e.leaveActiveClass;void 0===v&&(v=n+"-leave-active");var p=e.leaveToClass;void 0===p&&(p=n+"-leave-to");var d={};for(var h in e)h in Et||(d[h]=e[h]);if(!t)return d;var g=function(e){{if(null==e)return null;if(j(e))return[xt(e.enter),xt(e.leave)];var n=xt(e);return[n,n]}}(r),_=g&&g[0],y=g&&g[1],m=d.onBeforeEnter,b=d.onEnter,$=d.onEnterCancelled,C=d.onLeave,S=d.onLeaveCancelled,w=d.onBeforeAppear;void 0===w&&(w=m);var E=d.onAppear;void 0===E&&(E=b);var A=d.onAppearCancelled;void 0===A&&(A=$);var O=function(e,n,t){Rt(e,n?s:u),Rt(e,n?l:i),t&&t()},x=function(e,n){Rt(e,p),Rt(e,v),n&&n()},k=function(i){return function(e,n){var t=i?E:b,r=function(){return O(e,i,n)};t&&t(e,r),jt(function(){Rt(e,i?c:o),kt(e,i?s:u),t&&1=o&&l()};setTimeout(function(){c