@react-typed-forms/schemas 11.4.0 → 11.5.0
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/lib/createDefaultRenderers.d.ts +1 -0
- package/lib/index.js +29 -19
- package/lib/index.js.map +1 -1
- package/lib/util.d.ts +1 -1
- package/package.json +1 -1
package/lib/util.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface ControlDataContext extends DataContext {
|
|
|
13
13
|
export declare function applyDefaultValues(v: Record<string, any> | undefined, fields: SchemaField[], doneSet?: Set<Record<string, any>>): any;
|
|
14
14
|
export declare function applyDefaultForField(v: any, field: SchemaField, parent: SchemaField[], notElement?: boolean, doneSet?: Set<Record<string, any>>): any;
|
|
15
15
|
export declare function defaultValueForFields(fields: SchemaField[]): any;
|
|
16
|
-
export declare function defaultValueForField(sf: SchemaField, required?: boolean | null): any;
|
|
16
|
+
export declare function defaultValueForField(sf: SchemaField, required?: boolean | null, forceNotNull?: boolean): any;
|
|
17
17
|
export declare function elementValueForField(sf: SchemaField): any;
|
|
18
18
|
export declare function findScalarField(fields: SchemaField[], field: string): SchemaField | undefined;
|
|
19
19
|
export declare function findCompoundField(fields: SchemaField[], field: string): CompoundField | undefined;
|