build revisions and layout updates for toast
This commit is contained in:
parent
b341a3675e
commit
39235193e6
1116 changed files with 130517 additions and 12 deletions
1
node_modules/@hookform/resolvers/valibot/dist/index.d.ts
generated
vendored
Normal file
1
node_modules/@hookform/resolvers/valibot/dist/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
export * from './valibot';
|
||||
10
node_modules/@hookform/resolvers/valibot/dist/valibot.d.ts
generated
vendored
Normal file
10
node_modules/@hookform/resolvers/valibot/dist/valibot.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { FieldValues, Resolver } from 'react-hook-form';
|
||||
import { BaseSchema, BaseSchemaAsync, Config, InferIssue } from 'valibot';
|
||||
export declare function valibotResolver<Input extends FieldValues, Context, Output>(schema: BaseSchema<Input, Output, any> | BaseSchemaAsync<Input, Output, any>, schemaOptions?: Partial<Omit<Config<InferIssue<typeof schema>>, 'abortPipeEarly' | 'skipPipe'>>, resolverOptions?: {
|
||||
mode?: 'async' | 'sync';
|
||||
raw?: false;
|
||||
}): Resolver<Input, Context, Output>;
|
||||
export declare function valibotResolver<Input extends FieldValues, Context, Output>(schema: BaseSchema<Input, Output, any> | BaseSchemaAsync<Input, Output, any>, schemaOptions: Partial<Omit<Config<InferIssue<typeof schema>>, 'abortPipeEarly' | 'skipPipe'>> | undefined, resolverOptions: {
|
||||
mode?: 'async' | 'sync';
|
||||
raw: true;
|
||||
}): Resolver<Input, Context, Input>;
|
||||
2
node_modules/@hookform/resolvers/valibot/dist/valibot.js
generated
vendored
Normal file
2
node_modules/@hookform/resolvers/valibot/dist/valibot.js
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
var e=require("@hookform/resolvers"),r=require("react-hook-form"),s=require("valibot");exports.valibotResolver=function(t,o,a){return void 0===a&&(a={}),function(i,u,n){try{var v=!n.shouldUseNativeValidation&&"all"===n.criteriaMode;return Promise.resolve(s.safeParseAsync(t,i,Object.assign({},o,{abortPipeEarly:!v}))).then(function(t){if(t.issues){for(var o={};t.issues.length;){var u=t.issues[0],c=s.getDotPath(u);if(c&&(o[c]||(o[c]={message:u.message,type:u.type}),v)){var l=o[c].types,f=l&&l[u.type];o[c]=r.appendErrors(c,v,o,u.type,f?[].concat(f,u.message):u.message)}t.issues.shift()}return{values:{},errors:e.toNestErrors(o,n)}}return{values:a.raw?Object.assign({},i):t.output,errors:{}}})}catch(e){return Promise.reject(e)}}};
|
||||
//# sourceMappingURL=valibot.js.map
|
||||
1
node_modules/@hookform/resolvers/valibot/dist/valibot.js.map
generated
vendored
Normal file
1
node_modules/@hookform/resolvers/valibot/dist/valibot.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2
node_modules/@hookform/resolvers/valibot/dist/valibot.mjs
generated
vendored
Normal file
2
node_modules/@hookform/resolvers/valibot/dist/valibot.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
import{toNestErrors as e}from"@hookform/resolvers";import{appendErrors as r}from"react-hook-form";import{safeParseAsync as s,getDotPath as t}from"valibot";function o(o,i,a){return void 0===a&&(a={}),function(n,u,m){try{var c=!m.shouldUseNativeValidation&&"all"===m.criteriaMode;return Promise.resolve(s(o,n,Object.assign({},i,{abortPipeEarly:!c}))).then(function(s){if(s.issues){for(var o={};s.issues.length;){var i=s.issues[0],u=t(i);if(u&&(o[u]||(o[u]={message:i.message,type:i.type}),c)){var f=o[u].types,l=f&&f[i.type];o[u]=r(u,c,o,i.type,l?[].concat(l,i.message):i.message)}s.issues.shift()}return{values:{},errors:e(o,m)}}return{values:a.raw?Object.assign({},n):s.output,errors:{}}})}catch(e){return Promise.reject(e)}}}export{o as valibotResolver};
|
||||
//# sourceMappingURL=valibot.module.js.map
|
||||
2
node_modules/@hookform/resolvers/valibot/dist/valibot.modern.mjs
generated
vendored
Normal file
2
node_modules/@hookform/resolvers/valibot/dist/valibot.modern.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
import{toNestErrors as s}from"@hookform/resolvers";import{appendErrors as e}from"react-hook-form";import{safeParseAsync as t,getDotPath as r}from"valibot";function o(o,a,i={}){return async(n,u,c)=>{const m=!c.shouldUseNativeValidation&&"all"===c.criteriaMode,p=await t(o,n,Object.assign({},a,{abortPipeEarly:!m}));if(p.issues){const t={};for(;p.issues.length;){const s=p.issues[0],o=r(s);if(o&&(t[o]||(t[o]={message:s.message,type:s.type}),m)){const r=t[o].types,a=r&&r[s.type];t[o]=e(o,m,t,s.type,a?[].concat(a,s.message):s.message)}p.issues.shift()}return{values:{},errors:s(t,c)}}return{values:i.raw?Object.assign({},n):p.output,errors:{}}}}export{o as valibotResolver};
|
||||
//# sourceMappingURL=valibot.modern.mjs.map
|
||||
1
node_modules/@hookform/resolvers/valibot/dist/valibot.modern.mjs.map
generated
vendored
Normal file
1
node_modules/@hookform/resolvers/valibot/dist/valibot.modern.mjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2
node_modules/@hookform/resolvers/valibot/dist/valibot.module.js
generated
vendored
Normal file
2
node_modules/@hookform/resolvers/valibot/dist/valibot.module.js
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
import{toNestErrors as e}from"@hookform/resolvers";import{appendErrors as r}from"react-hook-form";import{safeParseAsync as s,getDotPath as t}from"valibot";function o(o,i,a){return void 0===a&&(a={}),function(n,u,m){try{var c=!m.shouldUseNativeValidation&&"all"===m.criteriaMode;return Promise.resolve(s(o,n,Object.assign({},i,{abortPipeEarly:!c}))).then(function(s){if(s.issues){for(var o={};s.issues.length;){var i=s.issues[0],u=t(i);if(u&&(o[u]||(o[u]={message:i.message,type:i.type}),c)){var f=o[u].types,l=f&&f[i.type];o[u]=r(u,c,o,i.type,l?[].concat(l,i.message):i.message)}s.issues.shift()}return{values:{},errors:e(o,m)}}return{values:a.raw?Object.assign({},n):s.output,errors:{}}})}catch(e){return Promise.reject(e)}}}export{o as valibotResolver};
|
||||
//# sourceMappingURL=valibot.module.js.map
|
||||
1
node_modules/@hookform/resolvers/valibot/dist/valibot.module.js.map
generated
vendored
Normal file
1
node_modules/@hookform/resolvers/valibot/dist/valibot.module.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2
node_modules/@hookform/resolvers/valibot/dist/valibot.umd.js
generated
vendored
Normal file
2
node_modules/@hookform/resolvers/valibot/dist/valibot.umd.js
generated
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@hookform/resolvers"),require("react-hook-form"),require("valibot")):"function"==typeof define&&define.amd?define(["exports","@hookform/resolvers","react-hook-form","valibot"],o):o((e||self).hookformResolversValibot={},e.hookformResolvers,e.ReactHookForm,e.valibot)}(this,function(e,o,r,s){e.valibotResolver=function(e,t,i){return void 0===i&&(i={}),function(a,n,f){try{var u=!f.shouldUseNativeValidation&&"all"===f.criteriaMode;return Promise.resolve(s.safeParseAsync(e,a,Object.assign({},t,{abortPipeEarly:!u}))).then(function(e){if(e.issues){for(var t={};e.issues.length;){var n=e.issues[0],l=s.getDotPath(n);if(l&&(t[l]||(t[l]={message:n.message,type:n.type}),u)){var c=t[l].types,v=c&&c[n.type];t[l]=r.appendErrors(l,u,t,n.type,v?[].concat(v,n.message):n.message)}e.issues.shift()}return{values:{},errors:o.toNestErrors(t,f)}}return{values:i.raw?Object.assign({},a):e.output,errors:{}}})}catch(e){return Promise.reject(e)}}}});
|
||||
//# sourceMappingURL=valibot.umd.js.map
|
||||
1
node_modules/@hookform/resolvers/valibot/dist/valibot.umd.js.map
generated
vendored
Normal file
1
node_modules/@hookform/resolvers/valibot/dist/valibot.umd.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue