This repository has been archived by the owner on Aug 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d7e5f86
commit 577ad7b
Showing
5 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* @formvuelate/plugin-vuelidate v1.0.0-alpha.1 | ||
* (c) 2020 Damian Dulisz <[email protected]>, Marina Mosti <[email protected]> | ||
* @formvuelate/plugin-vuelidate v1.0.0-alpha.3 | ||
* (c) 2021 Damian Dulisz <[email protected]>, Marina Mosti <[email protected]> | ||
* @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) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* @formvuelate/plugin-vuelidate v1.0.0-alpha.1 | ||
* (c) 2020 Damian Dulisz <[email protected]>, Marina Mosti <[email protected]> | ||
* @formvuelate/plugin-vuelidate v1.0.0-alpha.3 | ||
* (c) 2021 Damian Dulisz <[email protected]>, Marina Mosti <[email protected]> | ||
* @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) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/** | ||
* @formvuelate/plugin-vuelidate v1.0.0-alpha.1 | ||
* (c) 2020 Damian Dulisz <[email protected]>, Marina Mosti <[email protected]> | ||
* @formvuelate/plugin-vuelidate v1.0.0-alpha.3 | ||
* (c) 2021 Damian Dulisz <[email protected]>, Marina Mosti <[email protected]> | ||
* @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) { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters