@react-typed-forms/schemas 14.1.3 → 14.2.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/util.d.ts CHANGED
@@ -2,6 +2,7 @@ import { ControlActionHandler, ControlDefinition, DataControlDefinition, Display
2
2
  import { MutableRefObject } from "react";
3
3
  import { CompoundField, FieldOption, SchemaDataNode, SchemaField, SchemaNode } from "./schemaField";
4
4
  import { Control } from "@react-typed-forms/core";
5
+ import { ActionRendererProps } from "./controlRender";
5
6
  /**
6
7
  * Interface representing the classes for a control.
7
8
  */
@@ -246,6 +247,11 @@ export declare function isControlDisplayOnly(def: ControlDefinition): boolean;
246
247
  export declare function actionHandlers(...handlers: (ControlActionHandler | undefined)[]): ControlActionHandler;
247
248
  export declare function getDiffObject(dataNode: SchemaDataNode, force?: boolean): any;
248
249
  export declare function getNullToggler(c: Control<any>): Control<boolean>;
250
+ export interface ExternalEditData {
251
+ data: unknown;
252
+ actions: ActionRendererProps[];
253
+ }
254
+ export declare function getExternalEditData(c: Control<any>): Control<ExternalEditData | undefined>;
249
255
  export declare function getLastDefinedValue<V>(control: Control<V>): Control<V>;
250
256
  export declare function getIsEditing(control: Control<any>): Control<boolean | undefined>;
251
257
  export declare function getAllValues(control: Control<any>): Control<unknown[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-typed-forms/schemas",
3
- "version": "14.1.3",
3
+ "version": "14.2.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "lib/index.cjs",