attaform 0.18.1 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/devtools.mjs +1 -1
- package/dist/chunks/indexeddb.mjs +1 -1
- package/dist/chunks/local-storage.mjs +1 -1
- package/dist/chunks/session-storage.mjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +5 -5
- package/dist/nuxt.d.cts +1 -1
- package/dist/nuxt.d.mts +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/runtime/plugins/attaform.mjs +2 -2
- package/dist/shared/{attaform.Xt0A3QUd.mjs → attaform.-1GQTX2T.mjs} +3 -3
- package/dist/shared/{attaform.Xt0A3QUd.mjs.map → attaform.-1GQTX2T.mjs.map} +1 -1
- package/dist/shared/{attaform.2b7M2mww.d.mts → attaform.B957T6NU.d.ts} +1 -1
- package/dist/shared/{attaform.Xhg0AYNa.mjs → attaform.CDmaxrt2.mjs} +2 -2
- package/dist/shared/{attaform.Xhg0AYNa.mjs.map → attaform.CDmaxrt2.mjs.map} +1 -1
- package/dist/shared/{attaform.DK9aj0N8.d.ts → attaform.CGX1CNpz.d.ts} +3 -3
- package/dist/shared/{attaform.DVLB6CAn.d.mts → attaform.CRmmNAYp.d.cts} +1 -1
- package/dist/shared/{attaform.DsC3rZHG.mjs → attaform.CZ-XtZt_.mjs} +3 -3
- package/dist/shared/{attaform.DsC3rZHG.mjs.map → attaform.CZ-XtZt_.mjs.map} +1 -1
- package/dist/shared/{attaform.Dj9mwbaV.d.cts → attaform.Ca5_6Ky-.d.cts} +2 -2
- package/dist/shared/{attaform.Dj9mwbaV.d.mts → attaform.Ca5_6Ky-.d.mts} +2 -2
- package/dist/shared/{attaform.Dj9mwbaV.d.ts → attaform.Ca5_6Ky-.d.ts} +2 -2
- package/dist/shared/{attaform.DoSuaKMd.d.cts → attaform.CuN7ZhBy.d.cts} +3 -3
- package/dist/shared/{attaform.iTqxvl-P.d.mts → attaform.D1gzu2GL.d.mts} +3 -3
- package/dist/shared/{attaform.tts_OM7j.d.cts → attaform.D9wuTGu9.d.mts} +1 -1
- package/dist/shared/{attaform.CtNUB9nf.mjs → attaform.Df0tU0Ut.mjs} +3 -3
- package/dist/shared/{attaform.CtNUB9nf.mjs.map → attaform.Df0tU0Ut.mjs.map} +1 -1
- package/dist/shared/{attaform.BDdFdjeX.mjs → attaform.Dl161U6E.mjs} +3 -3
- package/dist/shared/{attaform.BDdFdjeX.mjs.map → attaform.Dl161U6E.mjs.map} +1 -1
- package/dist/shared/{attaform.DF8wo-ry.d.ts → attaform.FnEwjhvX.d.ts} +1 -1
- package/dist/shared/{attaform.M33WKVV4.d.cts → attaform.M-RanbyV.d.mts} +1 -1
- package/dist/shared/{attaform.tsNFcEW7.d.ts → attaform.XDjA7sRz.d.cts} +1 -1
- package/dist/zod-v3.d.cts +4 -4
- package/dist/zod-v3.d.mts +4 -4
- package/dist/zod-v3.d.ts +4 -4
- package/dist/zod-v3.mjs +3 -3
- package/dist/zod-v4.d.cts +4 -4
- package/dist/zod-v4.d.mts +4 -4
- package/dist/zod-v4.d.ts +4 -4
- package/dist/zod-v4.mjs +3 -3
- package/dist/zod.d.cts +6 -6
- package/dist/zod.d.mts +6 -6
- package/dist/zod.d.ts +6 -6
- package/dist/zod.mjs +5 -5
- package/package.json +4 -4
package/dist/chunks/devtools.mjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Plugin, App } from 'vue';
|
|
2
|
-
import { S as SSRDetectOptions,
|
|
3
|
-
export {
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
2
|
+
import { S as SSRDetectOptions, d as SerializedFormData, c as AttaformRegistry } from './shared/attaform.CuN7ZhBy.cjs';
|
|
3
|
+
export { A as AggregateError, a as AnyForm, b as AttaformErrorCode, C as CompiledStep, F as FormStatus, I as InjectWizardInput, L as LazyMarker, e as StepSlot, U as UseRegisterReturn, f as UseWizardReturnType, W as WizardCtx, g as WizardCtxForm, h as WizardOnError, i as WizardOnSubmit, j as WizardOptions, k as WizardPersistFn, l as WizardRestoreFn, m as WizardRestoreState, n as WizardStatusesProxy, o as WizardSubmitContext, p as createRegistry, q as defaultCoercionRules, r as defineCoercion, s as getRegistryFromApp, t as injectForm, u as injectWizard, v as kAttaformRegistry, w as lazy, x as useRegister, y as useRegistry, z as useWizard } from './shared/attaform.CuN7ZhBy.cjs';
|
|
4
|
+
import { f as AttaformDefaults, s as FormKey, G as GenericForm, ai as UseFormConfiguration, A as AbstractSchema, j as DefaultValuesInput, aj as UseFormReturnType, a6 as RegisterValue, a1 as RegisterModelDynamicCustomDirective, a8 as Segment, ac as ShouldShowErrors, am as ValidationError, c as ApiErrorEnvelope, a as ApiErrorDetails } from './shared/attaform.Ca5_6Ky-.cjs';
|
|
5
|
+
export { b as ApiErrorEntry, d as ArrayItem, e as ArrayPath, C as CoercionEntry, g as CoercionRegistry, h as CoercionResult, i as CustomDirectiveRegisterAssignerFn, D as DeepPartial, k as DefaultValuesResponse, l as DefaultValuesShape, E as ErrorsProxyShape, F as FieldMetaPayload, m as FieldState, n as FieldStateMap, o as FieldStateMapEntry, p as FlatPath, q as FormErrorRecord, r as FormErrorsSurface, t as FormMeta, u as FormStorage, v as FormStorageKind, H as HandleSubmit, w as HistoryConfig, I as IsTuple, x as IsUnion, J as JoinSegments, K as KeyofUnion, L as LiftedValueShape, M as MetaTrackerValue, N as NestedReadType, y as NestedType, O as OnError, z as OnInvalidSubmitPolicy, B as OnSubmit, P as PartialFlatPath, Q as Path, R as PathKey, S as PendingValidationStatus, T as PersistConfig, U as PersistConfigOptions, V as PersistIncludeMode, X as Primitive, Y as ROOT_PATH, Z as ROOT_PATH_KEY, _ as ReactiveValidationStatus, $ as RegisterDirective, a0 as RegisterFlatPath, a2 as RegisterOptions, a3 as RegisterSelectModifier, a4 as RegisterTextModifier, a5 as RegisterTransform, a9 as SetValueCallback, aa as SetValuePayload, ab as SettledValidationStatus, ad as ShouldShowErrorsConfig, ae as SlimPrimitiveKind, af as SlimRuntimeOf, ag as SubmitHandler, ah as Unset, ak as ValidateOn, al as ValidateOnConfig, an as ValidationResponse, ao as ValidationResponseWithoutValue, ap as ValueOfUnion, aq as WriteMeta, ar as WriteShape, as as canonicalizePath, at as isPathPrefix, au as isUnset, av as parseDottedPath, aw as unset } from './shared/attaform.Ca5_6Ky-.cjs';
|
|
6
6
|
export { A as AnonPersistError, a as AttaformError, I as InvalidPathError, b as InvalidUseFormConfigError, O as OutsideSetupError, R as RegistryNotInstalledError, c as ReservedFormKeyError, S as SensitivePersistFieldError, d as SubmitErrorHandlerError } from './shared/attaform.B7rzpK1U.cjs';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Plugin, App } from 'vue';
|
|
2
|
-
import { S as SSRDetectOptions,
|
|
3
|
-
export {
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
2
|
+
import { S as SSRDetectOptions, d as SerializedFormData, c as AttaformRegistry } from './shared/attaform.D1gzu2GL.mjs';
|
|
3
|
+
export { A as AggregateError, a as AnyForm, b as AttaformErrorCode, C as CompiledStep, F as FormStatus, I as InjectWizardInput, L as LazyMarker, e as StepSlot, U as UseRegisterReturn, f as UseWizardReturnType, W as WizardCtx, g as WizardCtxForm, h as WizardOnError, i as WizardOnSubmit, j as WizardOptions, k as WizardPersistFn, l as WizardRestoreFn, m as WizardRestoreState, n as WizardStatusesProxy, o as WizardSubmitContext, p as createRegistry, q as defaultCoercionRules, r as defineCoercion, s as getRegistryFromApp, t as injectForm, u as injectWizard, v as kAttaformRegistry, w as lazy, x as useRegister, y as useRegistry, z as useWizard } from './shared/attaform.D1gzu2GL.mjs';
|
|
4
|
+
import { f as AttaformDefaults, s as FormKey, G as GenericForm, ai as UseFormConfiguration, A as AbstractSchema, j as DefaultValuesInput, aj as UseFormReturnType, a6 as RegisterValue, a1 as RegisterModelDynamicCustomDirective, a8 as Segment, ac as ShouldShowErrors, am as ValidationError, c as ApiErrorEnvelope, a as ApiErrorDetails } from './shared/attaform.Ca5_6Ky-.mjs';
|
|
5
|
+
export { b as ApiErrorEntry, d as ArrayItem, e as ArrayPath, C as CoercionEntry, g as CoercionRegistry, h as CoercionResult, i as CustomDirectiveRegisterAssignerFn, D as DeepPartial, k as DefaultValuesResponse, l as DefaultValuesShape, E as ErrorsProxyShape, F as FieldMetaPayload, m as FieldState, n as FieldStateMap, o as FieldStateMapEntry, p as FlatPath, q as FormErrorRecord, r as FormErrorsSurface, t as FormMeta, u as FormStorage, v as FormStorageKind, H as HandleSubmit, w as HistoryConfig, I as IsTuple, x as IsUnion, J as JoinSegments, K as KeyofUnion, L as LiftedValueShape, M as MetaTrackerValue, N as NestedReadType, y as NestedType, O as OnError, z as OnInvalidSubmitPolicy, B as OnSubmit, P as PartialFlatPath, Q as Path, R as PathKey, S as PendingValidationStatus, T as PersistConfig, U as PersistConfigOptions, V as PersistIncludeMode, X as Primitive, Y as ROOT_PATH, Z as ROOT_PATH_KEY, _ as ReactiveValidationStatus, $ as RegisterDirective, a0 as RegisterFlatPath, a2 as RegisterOptions, a3 as RegisterSelectModifier, a4 as RegisterTextModifier, a5 as RegisterTransform, a9 as SetValueCallback, aa as SetValuePayload, ab as SettledValidationStatus, ad as ShouldShowErrorsConfig, ae as SlimPrimitiveKind, af as SlimRuntimeOf, ag as SubmitHandler, ah as Unset, ak as ValidateOn, al as ValidateOnConfig, an as ValidationResponse, ao as ValidationResponseWithoutValue, ap as ValueOfUnion, aq as WriteMeta, ar as WriteShape, as as canonicalizePath, at as isPathPrefix, au as isUnset, av as parseDottedPath, aw as unset } from './shared/attaform.Ca5_6Ky-.mjs';
|
|
6
6
|
export { A as AnonPersistError, a as AttaformError, I as InvalidPathError, b as InvalidUseFormConfigError, O as OutsideSetupError, R as RegistryNotInstalledError, c as ReservedFormKeyError, S as SensitivePersistFieldError, d as SubmitErrorHandlerError } from './shared/attaform.B7rzpK1U.mjs';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Plugin, App } from 'vue';
|
|
2
|
-
import { S as SSRDetectOptions,
|
|
3
|
-
export {
|
|
4
|
-
import {
|
|
5
|
-
export {
|
|
2
|
+
import { S as SSRDetectOptions, d as SerializedFormData, c as AttaformRegistry } from './shared/attaform.CGX1CNpz.js';
|
|
3
|
+
export { A as AggregateError, a as AnyForm, b as AttaformErrorCode, C as CompiledStep, F as FormStatus, I as InjectWizardInput, L as LazyMarker, e as StepSlot, U as UseRegisterReturn, f as UseWizardReturnType, W as WizardCtx, g as WizardCtxForm, h as WizardOnError, i as WizardOnSubmit, j as WizardOptions, k as WizardPersistFn, l as WizardRestoreFn, m as WizardRestoreState, n as WizardStatusesProxy, o as WizardSubmitContext, p as createRegistry, q as defaultCoercionRules, r as defineCoercion, s as getRegistryFromApp, t as injectForm, u as injectWizard, v as kAttaformRegistry, w as lazy, x as useRegister, y as useRegistry, z as useWizard } from './shared/attaform.CGX1CNpz.js';
|
|
4
|
+
import { f as AttaformDefaults, s as FormKey, G as GenericForm, ai as UseFormConfiguration, A as AbstractSchema, j as DefaultValuesInput, aj as UseFormReturnType, a6 as RegisterValue, a1 as RegisterModelDynamicCustomDirective, a8 as Segment, ac as ShouldShowErrors, am as ValidationError, c as ApiErrorEnvelope, a as ApiErrorDetails } from './shared/attaform.Ca5_6Ky-.js';
|
|
5
|
+
export { b as ApiErrorEntry, d as ArrayItem, e as ArrayPath, C as CoercionEntry, g as CoercionRegistry, h as CoercionResult, i as CustomDirectiveRegisterAssignerFn, D as DeepPartial, k as DefaultValuesResponse, l as DefaultValuesShape, E as ErrorsProxyShape, F as FieldMetaPayload, m as FieldState, n as FieldStateMap, o as FieldStateMapEntry, p as FlatPath, q as FormErrorRecord, r as FormErrorsSurface, t as FormMeta, u as FormStorage, v as FormStorageKind, H as HandleSubmit, w as HistoryConfig, I as IsTuple, x as IsUnion, J as JoinSegments, K as KeyofUnion, L as LiftedValueShape, M as MetaTrackerValue, N as NestedReadType, y as NestedType, O as OnError, z as OnInvalidSubmitPolicy, B as OnSubmit, P as PartialFlatPath, Q as Path, R as PathKey, S as PendingValidationStatus, T as PersistConfig, U as PersistConfigOptions, V as PersistIncludeMode, X as Primitive, Y as ROOT_PATH, Z as ROOT_PATH_KEY, _ as ReactiveValidationStatus, $ as RegisterDirective, a0 as RegisterFlatPath, a2 as RegisterOptions, a3 as RegisterSelectModifier, a4 as RegisterTextModifier, a5 as RegisterTransform, a9 as SetValueCallback, aa as SetValuePayload, ab as SettledValidationStatus, ad as ShouldShowErrorsConfig, ae as SlimPrimitiveKind, af as SlimRuntimeOf, ag as SubmitHandler, ah as Unset, ak as ValidateOn, al as ValidateOnConfig, an as ValidationResponse, ao as ValidationResponseWithoutValue, ap as ValueOfUnion, aq as WriteMeta, ar as WriteShape, as as canonicalizePath, at as isPathPrefix, au as isUnset, av as parseDottedPath, aw as unset } from './shared/attaform.Ca5_6Ky-.js';
|
|
6
6
|
export { A as AnonPersistError, a as AttaformError, I as InvalidPathError, b as InvalidUseFormConfigError, O as OutsideSetupError, R as RegistryNotInstalledError, c as ReservedFormKeyError, S as SensitivePersistFieldError, d as SubmitErrorHandlerError } from './shared/attaform.B7rzpK1U.js';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AnonPersistError,
|
|
3
|
-
export { D as DEVTOOLS_WINDOW_KEY, R as REDACTED, h as hydrateAttaformState,
|
|
4
|
-
import { n as normalizeNumericOption } from './shared/attaform.
|
|
5
|
-
export { A as AttaformErrorCode, d as defaultCoercionRules,
|
|
1
|
+
import { i as canonicalizePath, I as InvalidPathError } from './shared/attaform.CDmaxrt2.mjs';
|
|
2
|
+
export { A as AnonPersistError, a as AttaformError, D as DEFAULT_SENSITIVE_NAMES, c as InvalidUseFormConfigError, O as OutsideSetupError, R as ROOT_PATH, d as ROOT_PATH_KEY, e as RegistryNotInstalledError, f as ReservedFormKeyError, S as SensitivePersistFieldError, g as SubmitErrorHandlerError, h as assignKey, l as createAttaform, o as createRegistry, s as getRegistryFromApp, t as isPathPrefix, u as isRegisterValue, x as kAttaformRegistry, C as parseDottedPath, J as useRegister, K as useRegistry, L as vRegister } from './shared/attaform.CDmaxrt2.mjs';
|
|
3
|
+
export { D as DEVTOOLS_WINDOW_KEY, R as REDACTED, h as hydrateAttaformState, r as redactSensitiveLeaves, a as renderAttaformState } from './shared/attaform.Dl161U6E.mjs';
|
|
4
|
+
import { n as normalizeNumericOption } from './shared/attaform.CZ-XtZt_.mjs';
|
|
5
|
+
export { A as AttaformErrorCode, d as defaultCoercionRules, a as defaultShouldShowErrors, b as defineCoercion, i as injectForm, c as injectWizard, f as isUnset, l as lazy, u as unset, k as useForm, m as useWizard } from './shared/attaform.CZ-XtZt_.mjs';
|
|
6
6
|
|
|
7
7
|
function escapeForInlineScript(json) {
|
|
8
8
|
return json.replace(/[<>&\u2028\u2029]/g, (char) => {
|
package/dist/nuxt.d.cts
CHANGED
package/dist/nuxt.d.mts
CHANGED
package/dist/nuxt.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineNuxtPlugin, useRuntimeConfig, useRoute } from 'nuxt/app';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { a as renderAttaformState, h as hydrateAttaformState, D as DEVTOOLS_WINDOW_KEY } from '../../shared/attaform.Dl161U6E.mjs';
|
|
3
|
+
import { l as createAttaform, y as kAttaformWizardActiveStepResolver, s as getRegistryFromApp } from '../../shared/attaform.CDmaxrt2.mjs';
|
|
4
4
|
|
|
5
5
|
var attaform_default = defineNuxtPlugin({
|
|
6
6
|
// `enforce: 'pre'` makes the "we run before any component's setup" claim
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { g as getAtPath, j as slimKindOf, s as setAtPath, e as isPlainRecord, A as AttaformErrorCode, h as humanize, k as useAbstractForm } from './attaform.CZ-XtZt_.mjs';
|
|
2
|
+
import { a as AttaformError, _ as __DEV__, i as canonicalizePath, c as InvalidUseFormConfigError } from './attaform.CDmaxrt2.mjs';
|
|
3
3
|
import { f as fieldMetaStore, g as getFieldMetaForSchema, a as getFieldMetaListForSchema } from './attaform.D13GMFgK.mjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
@@ -2164,4 +2164,4 @@ function useForm(configuration) {
|
|
|
2164
2164
|
}
|
|
2165
2165
|
|
|
2166
2166
|
export { UnsupportedSchemaError as U, assertZodVersion as a, fieldMeta as f, kindOf as k, useForm as u, withMeta as w, zodV4Adapter as z };
|
|
2167
|
-
//# sourceMappingURL=attaform.
|
|
2167
|
+
//# sourceMappingURL=attaform.-1GQTX2T.mjs.map
|