@fuf-stack/uniform 1.8.1 → 1.8.4
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/Checkboxes/index.cjs +10 -10
- package/dist/Checkboxes/index.js +9 -9
- package/dist/FieldArray/index.cjs +10 -10
- package/dist/FieldArray/index.js +9 -9
- package/dist/Form/index.cjs +10 -10
- package/dist/Form/index.js +9 -9
- package/dist/Input/index.cjs +10 -10
- package/dist/Input/index.js +9 -9
- package/dist/RadioBoxes/index.cjs +10 -10
- package/dist/RadioBoxes/index.js +9 -9
- package/dist/RadioTabs/index.cjs +10 -10
- package/dist/RadioTabs/index.js +9 -9
- package/dist/Radios/index.cjs +10 -10
- package/dist/Radios/index.js +9 -9
- package/dist/Select/index.cjs +10 -10
- package/dist/Select/index.js +9 -9
- package/dist/SubmitButton/index.cjs +10 -10
- package/dist/SubmitButton/index.js +9 -9
- package/dist/Switch/index.cjs +10 -10
- package/dist/Switch/index.js +9 -9
- package/dist/TextArea/index.cjs +10 -10
- package/dist/TextArea/index.js +9 -9
- package/dist/{chunk-U45RW4FC.js → chunk-2BWUTUVE.js} +5 -5
- package/dist/chunk-2BWUTUVE.js.map +1 -0
- package/dist/{chunk-LKR6D3RL.js → chunk-2YHO6FBK.js} +2 -2
- package/dist/{chunk-S3H432Z2.cjs → chunk-4UBIV2LI.cjs} +3 -3
- package/dist/{chunk-S3H432Z2.cjs.map → chunk-4UBIV2LI.cjs.map} +1 -1
- package/dist/{chunk-KQQAESO7.js → chunk-5ASOVFNF.js} +4 -4
- package/dist/{chunk-K33E67GR.js → chunk-5RNATZD6.js} +3 -3
- package/dist/{chunk-5RPUTRV5.js → chunk-64YW5GV2.js} +3 -3
- package/dist/{chunk-4TQ53WAY.js → chunk-6NJJHUKF.js} +3 -3
- package/dist/{chunk-BUJNCVUR.js → chunk-BGNZCW7J.js} +2 -2
- package/dist/{chunk-6LQ2O6SC.cjs → chunk-C2JPKUCY.cjs} +11 -11
- package/dist/chunk-C2JPKUCY.cjs.map +1 -0
- package/dist/{chunk-ZFZK6EM2.cjs → chunk-CHBLPOFP.cjs} +3 -3
- package/dist/{chunk-ZFZK6EM2.cjs.map → chunk-CHBLPOFP.cjs.map} +1 -1
- package/dist/{chunk-IFBKJ5UZ.cjs → chunk-CUVHORQH.cjs} +7 -7
- package/dist/{chunk-IFBKJ5UZ.cjs.map → chunk-CUVHORQH.cjs.map} +1 -1
- package/dist/{chunk-EUO4VWRX.js → chunk-DFVZ4AV5.js} +2 -2
- package/dist/{chunk-ZEJ45LLM.cjs → chunk-FBH7RW4U.cjs} +3 -3
- package/dist/{chunk-ZEJ45LLM.cjs.map → chunk-FBH7RW4U.cjs.map} +1 -1
- package/dist/{chunk-EUTTXFWA.cjs → chunk-FP5KRDUN.cjs} +5 -5
- package/dist/{chunk-EUTTXFWA.cjs.map → chunk-FP5KRDUN.cjs.map} +1 -1
- package/dist/{chunk-EGFB5WEK.js → chunk-G3A7AEDA.js} +3 -3
- package/dist/{chunk-VUW522KH.js → chunk-GNK45IFM.js} +2 -2
- package/dist/{chunk-FND5Z5BW.js → chunk-HH7YK5QR.js} +4 -4
- package/dist/{chunk-OQUTHTOK.cjs → chunk-IXJISVRO.cjs} +5 -5
- package/dist/{chunk-OQUTHTOK.cjs.map → chunk-IXJISVRO.cjs.map} +1 -1
- package/dist/{chunk-N24A7PIL.js → chunk-K6TW2OY3.js} +2 -2
- package/dist/{chunk-4L3JXJ62.cjs → chunk-KQEM5HFD.cjs} +5 -5
- package/dist/{chunk-4L3JXJ62.cjs.map → chunk-KQEM5HFD.cjs.map} +1 -1
- package/dist/{chunk-6F5EZ6QN.cjs → chunk-LB6GH6FJ.cjs} +3 -3
- package/dist/{chunk-6F5EZ6QN.cjs.map → chunk-LB6GH6FJ.cjs.map} +1 -1
- package/dist/{chunk-OJGPW4Z6.cjs → chunk-M5CEG4RM.cjs} +3 -3
- package/dist/{chunk-OJGPW4Z6.cjs.map → chunk-M5CEG4RM.cjs.map} +1 -1
- package/dist/{chunk-ZLTMRO6X.cjs → chunk-MKANLM7V.cjs} +3 -3
- package/dist/{chunk-ZLTMRO6X.cjs.map → chunk-MKANLM7V.cjs.map} +1 -1
- package/dist/{chunk-SWPFSD3Y.js → chunk-MUKDMHP6.js} +2 -2
- package/dist/{chunk-7KEUEGRC.cjs → chunk-MZIVLP3U.cjs} +7 -7
- package/dist/chunk-MZIVLP3U.cjs.map +1 -0
- package/dist/{chunk-CST35FDK.cjs → chunk-NAHYXRGT.cjs} +5 -5
- package/dist/{chunk-CST35FDK.cjs.map → chunk-NAHYXRGT.cjs.map} +1 -1
- package/dist/{chunk-76KOVUDN.js → chunk-O2XJNQQK.js} +18 -2
- package/dist/chunk-O2XJNQQK.js.map +1 -0
- package/dist/{chunk-PY4GCAFN.js → chunk-O56EUQR7.js} +2 -2
- package/dist/{chunk-Z353BLWI.cjs → chunk-OKJWLH7T.cjs} +18 -2
- package/dist/chunk-OKJWLH7T.cjs.map +1 -0
- package/dist/{chunk-KGN5JQGG.js → chunk-QOBWD4QR.js} +3 -3
- package/dist/{chunk-UT6VUGFP.cjs → chunk-ROFP3IVU.cjs} +9 -9
- package/dist/{chunk-UT6VUGFP.cjs.map → chunk-ROFP3IVU.cjs.map} +1 -1
- package/dist/{chunk-4F45XA7Y.cjs → chunk-SDHZAPPA.cjs} +3 -3
- package/dist/{chunk-4F45XA7Y.cjs.map → chunk-SDHZAPPA.cjs.map} +1 -1
- package/dist/{chunk-GEJUMUTH.js → chunk-TGYJUEO2.js} +2 -2
- package/dist/{chunk-TJY5FK4B.cjs → chunk-TJK2MERL.cjs} +5 -5
- package/dist/{chunk-TJY5FK4B.cjs.map → chunk-TJK2MERL.cjs.map} +1 -1
- package/dist/{chunk-WWGKXYZB.js → chunk-TPZTWRPL.js} +2 -2
- package/dist/{chunk-4CWB5XBW.cjs → chunk-TZSGJQNR.cjs} +3 -3
- package/dist/{chunk-4CWB5XBW.cjs.map → chunk-TZSGJQNR.cjs.map} +1 -1
- package/dist/{chunk-EB3RNELT.cjs → chunk-XOXGE2E3.cjs} +5 -5
- package/dist/{chunk-EB3RNELT.cjs.map → chunk-XOXGE2E3.cjs.map} +1 -1
- package/dist/{chunk-GKP3ONKO.js → chunk-ZLFYOJ4M.js} +4 -4
- package/dist/{chunk-GKP3ONKO.js.map → chunk-ZLFYOJ4M.js.map} +1 -1
- package/dist/helpers/index.cjs +4 -2
- package/dist/helpers/index.cjs.map +1 -1
- package/dist/helpers/index.d.cts +21 -1
- package/dist/helpers/index.d.ts +21 -1
- package/dist/helpers/index.js +3 -1
- package/dist/hooks/index.cjs +9 -9
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +8 -8
- package/dist/hooks/useClientValidation/index.cjs +5 -5
- package/dist/hooks/useClientValidation/index.d.cts +2 -2
- package/dist/hooks/useClientValidation/index.d.ts +2 -2
- package/dist/hooks/useClientValidation/index.js +4 -4
- package/dist/hooks/useController/index.cjs +4 -4
- package/dist/hooks/useController/index.js +3 -3
- package/dist/hooks/useFormContext/index.cjs +4 -4
- package/dist/hooks/useFormContext/index.d.cts +7 -0
- package/dist/hooks/useFormContext/index.d.ts +7 -0
- package/dist/hooks/useFormContext/index.js +3 -3
- package/dist/hooks/useUniformField/index.cjs +6 -6
- package/dist/hooks/useUniformField/index.js +5 -5
- package/dist/hooks/useUniformFieldArray/index.cjs +7 -7
- package/dist/hooks/useUniformFieldArray/index.js +6 -6
- package/dist/hooks/useWatchUserChange/index.cjs +5 -5
- package/dist/hooks/useWatchUserChange/index.js +4 -4
- package/dist/index.cjs +22 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +21 -19
- package/package.json +13 -11
- package/dist/chunk-6LQ2O6SC.cjs.map +0 -1
- package/dist/chunk-76KOVUDN.js.map +0 -1
- package/dist/chunk-7KEUEGRC.cjs.map +0 -1
- package/dist/chunk-U45RW4FC.js.map +0 -1
- package/dist/chunk-Z353BLWI.cjs.map +0 -1
- /package/dist/{chunk-LKR6D3RL.js.map → chunk-2YHO6FBK.js.map} +0 -0
- /package/dist/{chunk-KQQAESO7.js.map → chunk-5ASOVFNF.js.map} +0 -0
- /package/dist/{chunk-K33E67GR.js.map → chunk-5RNATZD6.js.map} +0 -0
- /package/dist/{chunk-5RPUTRV5.js.map → chunk-64YW5GV2.js.map} +0 -0
- /package/dist/{chunk-4TQ53WAY.js.map → chunk-6NJJHUKF.js.map} +0 -0
- /package/dist/{chunk-BUJNCVUR.js.map → chunk-BGNZCW7J.js.map} +0 -0
- /package/dist/{chunk-EUO4VWRX.js.map → chunk-DFVZ4AV5.js.map} +0 -0
- /package/dist/{chunk-EGFB5WEK.js.map → chunk-G3A7AEDA.js.map} +0 -0
- /package/dist/{chunk-VUW522KH.js.map → chunk-GNK45IFM.js.map} +0 -0
- /package/dist/{chunk-FND5Z5BW.js.map → chunk-HH7YK5QR.js.map} +0 -0
- /package/dist/{chunk-N24A7PIL.js.map → chunk-K6TW2OY3.js.map} +0 -0
- /package/dist/{chunk-SWPFSD3Y.js.map → chunk-MUKDMHP6.js.map} +0 -0
- /package/dist/{chunk-PY4GCAFN.js.map → chunk-O56EUQR7.js.map} +0 -0
- /package/dist/{chunk-KGN5JQGG.js.map → chunk-QOBWD4QR.js.map} +0 -0
- /package/dist/{chunk-GEJUMUTH.js.map → chunk-TGYJUEO2.js.map} +0 -0
- /package/dist/{chunk-WWGKXYZB.js.map → chunk-TPZTWRPL.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/hooks/useController/useController.ts"],"sourcesContent":["import type {\n ControllerFieldState,\n ControllerRenderProps,\n UseControllerProps as RHFUseControllerProps,\n UseFormStateReturn,\n} from 'react-hook-form';\n\nimport { useContext } from 'react';\nimport { useController as useRHFController } from 'react-hook-form';\n\nimport { UniformContext } from '../../Form/subcomponents/FormContext';\nimport { fromNullishString, toNullishString } from '../../helpers';\n\nexport type UseControllerProps<TFieldValues extends object = object> =\n RHFUseControllerProps<TFieldValues>;\n\nexport interface UseControllerReturn<TFieldValues extends object = object> {\n field: Omit<ControllerRenderProps<TFieldValues>, 'onChange' | 'value'> & {\n // Using any[] to support both direct value changes and React synthetic events\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onChange: (...event: any[]) => void;\n value: string;\n };\n formState: UseFormStateReturn<TFieldValues>;\n fieldState: ControllerFieldState;\n}\n\n/**\n * A wrapper around react-hook-form's useController that transparently handles nullish string conversions.\n *\n * Key features:\n * 1. Empty strings ('') in the UI are stored as null in form state\n * 2. Null/undefined values in form state are displayed as empty strings in the UI\n * 3. Handles both direct value changes and React synthetic events\n * 4. Maintains the same API as react-hook-form's useController\n * 5. Notifies UniformContext's userChange listeners on field changes (enables useWatchUserChange hook)\n *\n * This enables consistent handling of empty/null values while keeping a clean API\n * for form inputs that expect string values.\n *\n * @see https://react-hook-form.com/docs/usecontroller\n */\nexport const useController = <TFieldValues extends object = object>(\n props: UseControllerProps<TFieldValues>,\n): UseControllerReturn<TFieldValues> => {\n const { field, formState, fieldState } = useRHFController(props);\n const { userChange } = useContext(UniformContext);\n\n return {\n field: {\n ...field,\n // Handles both direct values (onChange(\"value\")) and events (onChange(event))\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onChange: (...event: any[]) => {\n const value = event[0]?.target?.value ?? event[0];\n const formattedValue = value === '' ? '' : toNullishString(value);\n\n // Update form state first\n field.onChange(formattedValue);\n\n // Then notify userChange listeners (for useWatchUserChange hook)\n // This ensures getValues() in listeners returns the updated value\n userChange
|
|
1
|
+
{"version":3,"sources":["../src/hooks/useController/useController.ts"],"sourcesContent":["import type {\n ControllerFieldState,\n ControllerRenderProps,\n UseControllerProps as RHFUseControllerProps,\n UseFormStateReturn,\n} from 'react-hook-form';\n\nimport { useContext } from 'react';\nimport { useController as useRHFController } from 'react-hook-form';\n\nimport { UniformContext } from '../../Form/subcomponents/FormContext';\nimport { fromNullishString, toNullishString } from '../../helpers';\n\nexport type UseControllerProps<TFieldValues extends object = object> =\n RHFUseControllerProps<TFieldValues>;\n\nexport interface UseControllerReturn<TFieldValues extends object = object> {\n field: Omit<ControllerRenderProps<TFieldValues>, 'onChange' | 'value'> & {\n // Using any[] to support both direct value changes and React synthetic events\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onChange: (...event: any[]) => void;\n value: string;\n };\n formState: UseFormStateReturn<TFieldValues>;\n fieldState: ControllerFieldState;\n}\n\n/**\n * A wrapper around react-hook-form's useController that transparently handles nullish string conversions.\n *\n * Key features:\n * 1. Empty strings ('') in the UI are stored as null in form state\n * 2. Null/undefined values in form state are displayed as empty strings in the UI\n * 3. Handles both direct value changes and React synthetic events\n * 4. Maintains the same API as react-hook-form's useController\n * 5. Notifies UniformContext's userChange listeners on field changes (enables useWatchUserChange hook)\n *\n * This enables consistent handling of empty/null values while keeping a clean API\n * for form inputs that expect string values.\n *\n * @see https://react-hook-form.com/docs/usecontroller\n */\nexport const useController = <TFieldValues extends object = object>(\n props: UseControllerProps<TFieldValues>,\n): UseControllerReturn<TFieldValues> => {\n const { field, formState, fieldState } = useRHFController(props);\n const { userChange } = useContext(UniformContext);\n\n return {\n field: {\n ...field,\n // Handles both direct values (onChange(\"value\")) and events (onChange(event))\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n onChange: (...event: any[]) => {\n const value = event[0]?.target?.value ?? event[0];\n const formattedValue = value === '' ? '' : toNullishString(value);\n\n // Update form state first\n field.onChange(formattedValue);\n\n // Then notify userChange listeners (for useWatchUserChange hook)\n // This ensures getValues() in listeners returns the updated value\n // Guard against undefined userChange (when used outside FormProvider)\n userChange?.notify(field.name, formattedValue);\n },\n // Convert null/undefined to empty string for UI display\n value: fromNullishString(field.value) as string,\n },\n formState,\n fieldState,\n };\n};\n"],"mappings":";;;;;;;;;;;;;AAOA,SAAS,kBAAkB;AAC3B,SAAS,iBAAiB,wBAAwB;AAkC3C,IAAM,gBAAgB,CAC3B,UACsC;AACtC,QAAM,EAAE,OAAO,WAAW,WAAW,IAAI,iBAAiB,KAAK;AAC/D,QAAM,EAAE,WAAW,IAAI,WAAW,cAAc;AAEhD,SAAO;AAAA,IACL,OAAO,iCACF,QADE;AAAA;AAAA;AAAA,MAIL,UAAU,IAAI,UAAiB;AArDrC;AAsDQ,cAAM,SAAQ,uBAAM,CAAC,MAAP,mBAAU,WAAV,mBAAkB,UAAlB,YAA2B,MAAM,CAAC;AAChD,cAAM,iBAAiB,UAAU,KAAK,KAAK,gBAAgB,KAAK;AAGhE,cAAM,SAAS,cAAc;AAK7B,iDAAY,OAAO,MAAM,MAAM;AAAA,MACjC;AAAA;AAAA,MAEA,OAAO,kBAAkB,MAAM,KAAK;AAAA,IACtC;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;","names":[]}
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
var _chunkOKJWLH7Tcjs = require('../chunk-OKJWLH7T.cjs');
|
|
8
9
|
require('../chunk-555JRYCS.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
@@ -12,5 +13,6 @@ require('../chunk-555JRYCS.cjs');
|
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
|
|
17
|
+
exports.flatArrayKey = _chunkOKJWLH7Tcjs.flatArrayKey; exports.fromNullishString = _chunkOKJWLH7Tcjs.fromNullishString; exports.nameToTestId = _chunkOKJWLH7Tcjs.nameToTestId; exports.toFormFormat = _chunkOKJWLH7Tcjs.toFormFormat; exports.toNullishString = _chunkOKJWLH7Tcjs.toNullishString; exports.toValidationFormat = _chunkOKJWLH7Tcjs.toValidationFormat;
|
|
16
18
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/helpers/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/pixels/pixels/packages/uniform/dist/helpers/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,qWAAC","file":"/home/runner/work/pixels/pixels/packages/uniform/dist/helpers/index.cjs"}
|
package/dist/helpers/index.d.cts
CHANGED
|
@@ -108,5 +108,25 @@ declare const toFormFormat: (fields: Record<string, unknown>) => Record<string,
|
|
|
108
108
|
* }
|
|
109
109
|
*/
|
|
110
110
|
declare const toValidationFormat: (formState: Record<string, unknown> | null | undefined) => Record<string, unknown> | null | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* Converts a field name to a testId by removing flat array key segments and slugifying.
|
|
113
|
+
* Removes all occurrences of `flatArrayKey` from the field name and applies slugify transformation.
|
|
114
|
+
*
|
|
115
|
+
* This is used to generate stable testIds for form fields that don't include
|
|
116
|
+
* the internal `__FLAT__` marker used for flat arrays.
|
|
117
|
+
*
|
|
118
|
+
* @param name - The field name as a string (e.g., 'tags.0.__FLAT__') or array path (e.g., ['tags', '0', '__FLAT__'])
|
|
119
|
+
* @returns The slugified field name with all flat array key segments removed (e.g., 'tags_0')
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* ```ts
|
|
123
|
+
* nameToTestId('tags.0.__FLAT__') // => 'tags_0'
|
|
124
|
+
* nameToTestId('array.0.__FLAT__') // => 'array_0'
|
|
125
|
+
* nameToTestId('nested.array.0.__FLAT__.field') // => 'nested_array_0_field'
|
|
126
|
+
* nameToTestId('simple.field') // => 'simple_field'
|
|
127
|
+
* nameToTestId(['tags', '0', '__FLAT__']) // => 'tags_0'
|
|
128
|
+
* ```
|
|
129
|
+
*/
|
|
130
|
+
declare const nameToTestId: (name: string | readonly string[]) => string;
|
|
111
131
|
|
|
112
|
-
export { flatArrayKey, fromNullishString, toFormFormat, toNullishString, toValidationFormat };
|
|
132
|
+
export { flatArrayKey, fromNullishString, nameToTestId, toFormFormat, toNullishString, toValidationFormat };
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -108,5 +108,25 @@ declare const toFormFormat: (fields: Record<string, unknown>) => Record<string,
|
|
|
108
108
|
* }
|
|
109
109
|
*/
|
|
110
110
|
declare const toValidationFormat: (formState: Record<string, unknown> | null | undefined) => Record<string, unknown> | null | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* Converts a field name to a testId by removing flat array key segments and slugifying.
|
|
113
|
+
* Removes all occurrences of `flatArrayKey` from the field name and applies slugify transformation.
|
|
114
|
+
*
|
|
115
|
+
* This is used to generate stable testIds for form fields that don't include
|
|
116
|
+
* the internal `__FLAT__` marker used for flat arrays.
|
|
117
|
+
*
|
|
118
|
+
* @param name - The field name as a string (e.g., 'tags.0.__FLAT__') or array path (e.g., ['tags', '0', '__FLAT__'])
|
|
119
|
+
* @returns The slugified field name with all flat array key segments removed (e.g., 'tags_0')
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* ```ts
|
|
123
|
+
* nameToTestId('tags.0.__FLAT__') // => 'tags_0'
|
|
124
|
+
* nameToTestId('array.0.__FLAT__') // => 'array_0'
|
|
125
|
+
* nameToTestId('nested.array.0.__FLAT__.field') // => 'nested_array_0_field'
|
|
126
|
+
* nameToTestId('simple.field') // => 'simple_field'
|
|
127
|
+
* nameToTestId(['tags', '0', '__FLAT__']) // => 'tags_0'
|
|
128
|
+
* ```
|
|
129
|
+
*/
|
|
130
|
+
declare const nameToTestId: (name: string | readonly string[]) => string;
|
|
111
131
|
|
|
112
|
-
export { flatArrayKey, fromNullishString, toFormFormat, toNullishString, toValidationFormat };
|
|
132
|
+
export { flatArrayKey, fromNullishString, nameToTestId, toFormFormat, toNullishString, toValidationFormat };
|
package/dist/helpers/index.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
flatArrayKey,
|
|
3
3
|
fromNullishString,
|
|
4
|
+
nameToTestId,
|
|
4
5
|
toFormFormat,
|
|
5
6
|
toNullishString,
|
|
6
7
|
toValidationFormat
|
|
7
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-O2XJNQQK.js";
|
|
8
9
|
import "../chunk-K2V4ULA2.js";
|
|
9
10
|
export {
|
|
10
11
|
flatArrayKey,
|
|
11
12
|
fromNullishString,
|
|
13
|
+
nameToTestId,
|
|
12
14
|
toFormFormat,
|
|
13
15
|
toNullishString,
|
|
14
16
|
toValidationFormat
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
var _chunkNTOYCWCJcjs = require('../chunk-NTOYCWCJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkCUVHORQHcjs = require('../chunk-CUVHORQH.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkIXJISVROcjs = require('../chunk-IXJISVRO.cjs');
|
|
11
11
|
require('../chunk-OE5BOGGX.cjs');
|
|
12
12
|
require('../chunk-NHEZXA4H.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkMZIVLP3Ucjs = require('../chunk-MZIVLP3U.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkPCTYJUY7cjs = require('../chunk-PCTYJUY7.cjs');
|
|
@@ -21,17 +21,17 @@ var _chunkPCTYJUY7cjs = require('../chunk-PCTYJUY7.cjs');
|
|
|
21
21
|
var _chunk56TQOKG7cjs = require('../chunk-56TQOKG7.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkSDHZAPPAcjs = require('../chunk-SDHZAPPA.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkFP5KRDUNcjs = require('../chunk-FP5KRDUN.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
33
|
-
require('../chunk-
|
|
34
|
-
require('../chunk-
|
|
32
|
+
var _chunkC2JPKUCYcjs = require('../chunk-C2JPKUCY.cjs');
|
|
33
|
+
require('../chunk-KQEM5HFD.cjs');
|
|
34
|
+
require('../chunk-OKJWLH7T.cjs');
|
|
35
35
|
require('../chunk-555JRYCS.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
@@ -45,5 +45,5 @@ require('../chunk-555JRYCS.cjs');
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
exports.checkFieldIsRequired =
|
|
48
|
+
exports.checkFieldIsRequired = _chunkC2JPKUCYcjs.checkFieldIsRequired; exports.clientValidationSchemaByName = _chunkFP5KRDUNcjs.clientValidationSchemaByName; exports.useClientValidation = _chunkFP5KRDUNcjs.useClientValidation; exports.useController = _chunkMZIVLP3Ucjs.useController; exports.useFormContext = _chunkC2JPKUCYcjs.useFormContext; exports.useInput = _chunkPCTYJUY7cjs.useInput; exports.useInputValueDebounce = _chunkNTOYCWCJcjs.useInputValueDebounce; exports.useInputValueTransform = _chunk56TQOKG7cjs.useInputValueTransform; exports.useUniformField = _chunkIXJISVROcjs.useUniformField; exports.useUniformFieldArray = _chunkCUVHORQHcjs.useUniformFieldArray; exports.useWatchUserChange = _chunkSDHZAPPAcjs.useWatchUserChange;
|
|
49
49
|
//# sourceMappingURL=index.cjs.map
|
package/dist/hooks/index.d.cts
CHANGED
|
@@ -7,7 +7,7 @@ export { UseInputValueDebounceOptions, UseInputValueDebounceReturn, useInputValu
|
|
|
7
7
|
export { InputValueTransform, UseInputValueTransformOptions, UseInputValueTransformReturn, useInputValueTransform } from './useInputValueTransform/index.cjs';
|
|
8
8
|
export { UseUniformFieldParams, UseUniformFieldReturn, useUniformField } from './useUniformField/index.cjs';
|
|
9
9
|
export { UseWatchUserChangeOptions, useWatchUserChange } from './useWatchUserChange/index.cjs';
|
|
10
|
-
import '@fuf-stack/veto/dist/types.d-
|
|
10
|
+
import '@fuf-stack/veto/dist/types.d-CNPgNK-V';
|
|
11
11
|
import '@fuf-stack/veto';
|
|
12
12
|
import 'react-hook-form';
|
|
13
13
|
import 'react';
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { UseInputValueDebounceOptions, UseInputValueDebounceReturn, useInputValu
|
|
|
7
7
|
export { InputValueTransform, UseInputValueTransformOptions, UseInputValueTransformReturn, useInputValueTransform } from './useInputValueTransform/index.js';
|
|
8
8
|
export { UseUniformFieldParams, UseUniformFieldReturn, useUniformField } from './useUniformField/index.js';
|
|
9
9
|
export { UseWatchUserChangeOptions, useWatchUserChange } from './useWatchUserChange/index.js';
|
|
10
|
-
import '@fuf-stack/veto/dist/types.d-
|
|
10
|
+
import '@fuf-stack/veto/dist/types.d-CNPgNK-V';
|
|
11
11
|
import '@fuf-stack/veto';
|
|
12
12
|
import 'react-hook-form';
|
|
13
13
|
import 'react';
|
package/dist/hooks/index.js
CHANGED
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
} from "../chunk-ZJDU5EPE.js";
|
|
5
5
|
import {
|
|
6
6
|
useUniformFieldArray
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-HH7YK5QR.js";
|
|
8
8
|
import {
|
|
9
9
|
useUniformField
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-G3A7AEDA.js";
|
|
11
11
|
import "../chunk-NTDKZW4E.js";
|
|
12
12
|
import "../chunk-ELYGQTXB.js";
|
|
13
13
|
import {
|
|
14
14
|
useController
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-ZLFYOJ4M.js";
|
|
16
16
|
import {
|
|
17
17
|
useInput
|
|
18
18
|
} from "../chunk-AHJJIANM.js";
|
|
@@ -21,17 +21,17 @@ import {
|
|
|
21
21
|
} from "../chunk-CNTOODUQ.js";
|
|
22
22
|
import {
|
|
23
23
|
useWatchUserChange
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-O56EUQR7.js";
|
|
25
25
|
import {
|
|
26
26
|
clientValidationSchemaByName,
|
|
27
27
|
useClientValidation
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-6NJJHUKF.js";
|
|
29
29
|
import {
|
|
30
30
|
checkFieldIsRequired,
|
|
31
31
|
useFormContext
|
|
32
|
-
} from "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
32
|
+
} from "../chunk-2BWUTUVE.js";
|
|
33
|
+
import "../chunk-2YHO6FBK.js";
|
|
34
|
+
import "../chunk-O2XJNQQK.js";
|
|
35
35
|
import "../chunk-K2V4ULA2.js";
|
|
36
36
|
export {
|
|
37
37
|
checkFieldIsRequired,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
4
|
+
var _chunkFP5KRDUNcjs = require('../../chunk-FP5KRDUN.cjs');
|
|
5
|
+
require('../../chunk-C2JPKUCY.cjs');
|
|
6
|
+
require('../../chunk-KQEM5HFD.cjs');
|
|
7
|
+
require('../../chunk-OKJWLH7T.cjs');
|
|
8
8
|
require('../../chunk-555JRYCS.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.clientValidationSchemaByName =
|
|
12
|
+
exports.clientValidationSchemaByName = _chunkFP5KRDUNcjs.clientValidationSchemaByName; exports.useClientValidation = _chunkFP5KRDUNcjs.useClientValidation;
|
|
13
13
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _fuf_stack_veto_dist_types_d_CNPgNK_V from '@fuf-stack/veto/dist/types.d-CNPgNK-V';
|
|
2
2
|
import { VetoTypeAny } from '@fuf-stack/veto';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -142,6 +142,6 @@ declare const useClientValidation: <TData = unknown>(data: TData | null | undefi
|
|
|
142
142
|
* // => objectLoose({ tags: array(vt.string().refine(...).nullish()).optional() })
|
|
143
143
|
* ```
|
|
144
144
|
*/
|
|
145
|
-
declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) =>
|
|
145
|
+
declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_CNPgNK_V.Z;
|
|
146
146
|
|
|
147
147
|
export { clientValidationSchemaByName, useClientValidation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _fuf_stack_veto_dist_types_d_CNPgNK_V from '@fuf-stack/veto/dist/types.d-CNPgNK-V';
|
|
2
2
|
import { VetoTypeAny } from '@fuf-stack/veto';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -142,6 +142,6 @@ declare const useClientValidation: <TData = unknown>(data: TData | null | undefi
|
|
|
142
142
|
* // => objectLoose({ tags: array(vt.string().refine(...).nullish()).optional() })
|
|
143
143
|
* ```
|
|
144
144
|
*/
|
|
145
|
-
declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) =>
|
|
145
|
+
declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_CNPgNK_V.Z;
|
|
146
146
|
|
|
147
147
|
export { clientValidationSchemaByName, useClientValidation };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clientValidationSchemaByName,
|
|
3
3
|
useClientValidation
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-6NJJHUKF.js";
|
|
5
|
+
import "../../chunk-2BWUTUVE.js";
|
|
6
|
+
import "../../chunk-2YHO6FBK.js";
|
|
7
|
+
import "../../chunk-O2XJNQQK.js";
|
|
8
8
|
import "../../chunk-K2V4ULA2.js";
|
|
9
9
|
export {
|
|
10
10
|
clientValidationSchemaByName,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
3
|
+
var _chunkMZIVLP3Ucjs = require('../../chunk-MZIVLP3U.cjs');
|
|
4
|
+
require('../../chunk-KQEM5HFD.cjs');
|
|
5
|
+
require('../../chunk-OKJWLH7T.cjs');
|
|
6
6
|
require('../../chunk-555JRYCS.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.useController =
|
|
9
|
+
exports.useController = _chunkMZIVLP3Ucjs.useController;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useController
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-ZLFYOJ4M.js";
|
|
4
|
+
import "../../chunk-2YHO6FBK.js";
|
|
5
|
+
import "../../chunk-O2XJNQQK.js";
|
|
6
6
|
import "../../chunk-K2V4ULA2.js";
|
|
7
7
|
export {
|
|
8
8
|
useController
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
4
|
+
var _chunkC2JPKUCYcjs = require('../../chunk-C2JPKUCY.cjs');
|
|
5
|
+
require('../../chunk-KQEM5HFD.cjs');
|
|
6
|
+
require('../../chunk-OKJWLH7T.cjs');
|
|
7
7
|
require('../../chunk-555JRYCS.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.checkFieldIsRequired =
|
|
11
|
+
exports.checkFieldIsRequired = _chunkC2JPKUCYcjs.checkFieldIsRequired; exports.useFormContext = _chunkC2JPKUCYcjs.useFormContext;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -9,6 +9,13 @@ import { FieldValues, Path, FieldError } from 'react-hook-form';
|
|
|
9
9
|
declare const checkFieldIsRequired: (validation: VetoInstance, path: string[]) => boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Custom hook that extends react-hook-form's useFormContext to add validation and state management.
|
|
12
|
+
*
|
|
13
|
+
* Key features:
|
|
14
|
+
* - Enhanced `getFieldState` that includes validation schema-based "required" status and testId generation
|
|
15
|
+
* - Automatic conversion of form values via `getValues`, `watch`, and `subscribe`:
|
|
16
|
+
* - Unwraps flat array wrappers (`{ __FLAT__: value }` → `value`)
|
|
17
|
+
* - Converts nullish string markers (`__NULL__` → `null`, `__FALSE__` → `false`, `__ZERO__` → `0`)
|
|
18
|
+
* - Filters out empty/null values
|
|
12
19
|
*/
|
|
13
20
|
declare const useFormContext: <TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues = TFieldValues>() => {
|
|
14
21
|
formState: react_hook_form.FormState<TFieldValues>;
|
|
@@ -9,6 +9,13 @@ import { FieldValues, Path, FieldError } from 'react-hook-form';
|
|
|
9
9
|
declare const checkFieldIsRequired: (validation: VetoInstance, path: string[]) => boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Custom hook that extends react-hook-form's useFormContext to add validation and state management.
|
|
12
|
+
*
|
|
13
|
+
* Key features:
|
|
14
|
+
* - Enhanced `getFieldState` that includes validation schema-based "required" status and testId generation
|
|
15
|
+
* - Automatic conversion of form values via `getValues`, `watch`, and `subscribe`:
|
|
16
|
+
* - Unwraps flat array wrappers (`{ __FLAT__: value }` → `value`)
|
|
17
|
+
* - Converts nullish string markers (`__NULL__` → `null`, `__FALSE__` → `false`, `__ZERO__` → `0`)
|
|
18
|
+
* - Filters out empty/null values
|
|
12
19
|
*/
|
|
13
20
|
declare const useFormContext: <TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues = TFieldValues>() => {
|
|
14
21
|
formState: react_hook_form.FormState<TFieldValues>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkFieldIsRequired,
|
|
3
3
|
useFormContext
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-2BWUTUVE.js";
|
|
5
|
+
import "../../chunk-2YHO6FBK.js";
|
|
6
|
+
import "../../chunk-O2XJNQQK.js";
|
|
7
7
|
import "../../chunk-K2V4ULA2.js";
|
|
8
8
|
export {
|
|
9
9
|
checkFieldIsRequired,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkIXJISVROcjs = require('../../chunk-IXJISVRO.cjs');
|
|
4
4
|
require('../../chunk-OE5BOGGX.cjs');
|
|
5
5
|
require('../../chunk-NHEZXA4H.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-MZIVLP3U.cjs');
|
|
7
7
|
require('../../chunk-PCTYJUY7.cjs');
|
|
8
8
|
require('../../chunk-56TQOKG7.cjs');
|
|
9
|
-
require('../../chunk-
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
require('../../chunk-
|
|
9
|
+
require('../../chunk-C2JPKUCY.cjs');
|
|
10
|
+
require('../../chunk-KQEM5HFD.cjs');
|
|
11
|
+
require('../../chunk-OKJWLH7T.cjs');
|
|
12
12
|
require('../../chunk-555JRYCS.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.useUniformField =
|
|
15
|
+
exports.useUniformField = _chunkIXJISVROcjs.useUniformField;
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useUniformField
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-G3A7AEDA.js";
|
|
4
4
|
import "../../chunk-NTDKZW4E.js";
|
|
5
5
|
import "../../chunk-ELYGQTXB.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-ZLFYOJ4M.js";
|
|
7
7
|
import "../../chunk-AHJJIANM.js";
|
|
8
8
|
import "../../chunk-CNTOODUQ.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-2BWUTUVE.js";
|
|
10
|
+
import "../../chunk-2YHO6FBK.js";
|
|
11
|
+
import "../../chunk-O2XJNQQK.js";
|
|
12
12
|
import "../../chunk-K2V4ULA2.js";
|
|
13
13
|
export {
|
|
14
14
|
useUniformField
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var _chunkCUVHORQHcjs = require('../../chunk-CUVHORQH.cjs');
|
|
4
|
+
require('../../chunk-IXJISVRO.cjs');
|
|
5
5
|
require('../../chunk-OE5BOGGX.cjs');
|
|
6
6
|
require('../../chunk-NHEZXA4H.cjs');
|
|
7
|
-
require('../../chunk-
|
|
7
|
+
require('../../chunk-MZIVLP3U.cjs');
|
|
8
8
|
require('../../chunk-PCTYJUY7.cjs');
|
|
9
9
|
require('../../chunk-56TQOKG7.cjs');
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
require('../../chunk-
|
|
12
|
-
require('../../chunk-
|
|
10
|
+
require('../../chunk-C2JPKUCY.cjs');
|
|
11
|
+
require('../../chunk-KQEM5HFD.cjs');
|
|
12
|
+
require('../../chunk-OKJWLH7T.cjs');
|
|
13
13
|
require('../../chunk-555JRYCS.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.useUniformFieldArray =
|
|
16
|
+
exports.useUniformFieldArray = _chunkCUVHORQHcjs.useUniformFieldArray;
|
|
17
17
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useUniformFieldArray
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-HH7YK5QR.js";
|
|
4
|
+
import "../../chunk-G3A7AEDA.js";
|
|
5
5
|
import "../../chunk-NTDKZW4E.js";
|
|
6
6
|
import "../../chunk-ELYGQTXB.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-ZLFYOJ4M.js";
|
|
8
8
|
import "../../chunk-AHJJIANM.js";
|
|
9
9
|
import "../../chunk-CNTOODUQ.js";
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-2BWUTUVE.js";
|
|
11
|
+
import "../../chunk-2YHO6FBK.js";
|
|
12
|
+
import "../../chunk-O2XJNQQK.js";
|
|
13
13
|
import "../../chunk-K2V4ULA2.js";
|
|
14
14
|
export {
|
|
15
15
|
useUniformFieldArray
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
3
|
+
var _chunkSDHZAPPAcjs = require('../../chunk-SDHZAPPA.cjs');
|
|
4
|
+
require('../../chunk-C2JPKUCY.cjs');
|
|
5
|
+
require('../../chunk-KQEM5HFD.cjs');
|
|
6
|
+
require('../../chunk-OKJWLH7T.cjs');
|
|
7
7
|
require('../../chunk-555JRYCS.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.useWatchUserChange =
|
|
10
|
+
exports.useWatchUserChange = _chunkSDHZAPPAcjs.useWatchUserChange;
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useWatchUserChange
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-O56EUQR7.js";
|
|
4
|
+
import "../../chunk-2BWUTUVE.js";
|
|
5
|
+
import "../../chunk-2YHO6FBK.js";
|
|
6
|
+
import "../../chunk-O2XJNQQK.js";
|
|
7
7
|
import "../../chunk-K2V4ULA2.js";
|
|
8
8
|
export {
|
|
9
9
|
useWatchUserChange
|
package/dist/index.cjs
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkM5CEG4RMcjs = require('./chunk-M5CEG4RM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkNAHYXRGTcjs = require('./chunk-NAHYXRGT.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkFBH7RW4Ucjs = require('./chunk-FBH7RW4U.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkTJK2MERLcjs = require('./chunk-TJK2MERL.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkTZSGJQNRcjs = require('./chunk-TZSGJQNR.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkCHBLPOFPcjs = require('./chunk-CHBLPOFP.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkROFP3IVUcjs = require('./chunk-ROFP3IVU.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkXOXGE2E3cjs = require('./chunk-XOXGE2E3.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkTTD3KL6Ecjs = require('./chunk-TTD3KL6E.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkMKANLM7Vcjs = require('./chunk-MKANLM7V.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunk4UBIV2LIcjs = require('./chunk-4UBIV2LI.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _chunkLB6GH6FJcjs = require('./chunk-LB6GH6FJ.cjs');
|
|
37
37
|
require('./chunk-KWJMKX5J.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
var _chunkNTOYCWCJcjs = require('./chunk-NTOYCWCJ.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkCUVHORQHcjs = require('./chunk-CUVHORQH.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkIXJISVROcjs = require('./chunk-IXJISVRO.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var _chunkOE5BOGGXcjs = require('./chunk-OE5BOGGX.cjs');
|
|
@@ -52,7 +52,7 @@ var _chunkOE5BOGGXcjs = require('./chunk-OE5BOGGX.cjs');
|
|
|
52
52
|
var _chunkNHEZXA4Hcjs = require('./chunk-NHEZXA4H.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var _chunkMZIVLP3Ucjs = require('./chunk-MZIVLP3U.cjs');
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
var _chunkPCTYJUY7cjs = require('./chunk-PCTYJUY7.cjs');
|
|
@@ -61,23 +61,24 @@ var _chunkPCTYJUY7cjs = require('./chunk-PCTYJUY7.cjs');
|
|
|
61
61
|
var _chunk56TQOKG7cjs = require('./chunk-56TQOKG7.cjs');
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
var
|
|
64
|
+
var _chunkSDHZAPPAcjs = require('./chunk-SDHZAPPA.cjs');
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
var
|
|
68
|
+
var _chunkFP5KRDUNcjs = require('./chunk-FP5KRDUN.cjs');
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
var
|
|
73
|
-
require('./chunk-
|
|
72
|
+
var _chunkC2JPKUCYcjs = require('./chunk-C2JPKUCY.cjs');
|
|
73
|
+
require('./chunk-KQEM5HFD.cjs');
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
|
|
81
|
+
var _chunkOKJWLH7Tcjs = require('./chunk-OKJWLH7T.cjs');
|
|
81
82
|
require('./chunk-555JRYCS.cjs');
|
|
82
83
|
|
|
83
84
|
|
|
@@ -110,5 +111,6 @@ require('./chunk-555JRYCS.cjs');
|
|
|
110
111
|
|
|
111
112
|
|
|
112
113
|
|
|
113
|
-
|
|
114
|
+
|
|
115
|
+
exports.Checkboxes = _chunkCHBLPOFPcjs.Checkboxes_default; exports.FieldArray = _chunkROFP3IVUcjs.FieldArray_default; exports.FieldCopyTestIdButton = _chunkOE5BOGGXcjs.FieldCopyTestIdButton_default; exports.FieldValidationError = _chunkNHEZXA4Hcjs.FieldValidationError_default; exports.Form = _chunkXOXGE2E3cjs.Form_default; exports.Grid = _chunkTTD3KL6Ecjs.Grid_default; exports.Input = _chunkMKANLM7Vcjs.Input_default; exports.RadioBoxes = _chunk4UBIV2LIcjs.RadioBoxes_default; exports.RadioTabs = _chunkLB6GH6FJcjs.RadioTabs_default; exports.Radios = _chunkM5CEG4RMcjs.Radios_default; exports.Select = _chunkNAHYXRGTcjs.Select_default; exports.SubmitButton = _chunkFBH7RW4Ucjs.SubmitButton_default; exports.Switch = _chunkTJK2MERLcjs.Switch_default; exports.TextArea = _chunkTZSGJQNRcjs.TextArea_default; exports.checkFieldIsRequired = _chunkC2JPKUCYcjs.checkFieldIsRequired; exports.clientValidationSchemaByName = _chunkFP5KRDUNcjs.clientValidationSchemaByName; exports.flatArrayKey = _chunkOKJWLH7Tcjs.flatArrayKey; exports.fromNullishString = _chunkOKJWLH7Tcjs.fromNullishString; exports.nameToTestId = _chunkOKJWLH7Tcjs.nameToTestId; exports.toFormFormat = _chunkOKJWLH7Tcjs.toFormFormat; exports.toNullishString = _chunkOKJWLH7Tcjs.toNullishString; exports.toValidationFormat = _chunkOKJWLH7Tcjs.toValidationFormat; exports.useClientValidation = _chunkFP5KRDUNcjs.useClientValidation; exports.useController = _chunkMZIVLP3Ucjs.useController; exports.useFormContext = _chunkC2JPKUCYcjs.useFormContext; exports.useInput = _chunkPCTYJUY7cjs.useInput; exports.useInputValueDebounce = _chunkNTOYCWCJcjs.useInputValueDebounce; exports.useInputValueTransform = _chunk56TQOKG7cjs.useInputValueTransform; exports.useUniformField = _chunkIXJISVROcjs.useUniformField; exports.useUniformFieldArray = _chunkCUVHORQHcjs.useUniformFieldArray; exports.useWatchUserChange = _chunkSDHZAPPAcjs.useWatchUserChange;
|
|
114
116
|
//# sourceMappingURL=index.cjs.map
|