@react-typed-forms/schemas 11.15.0 → 11.17.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/components/DefaultArrayRenderer.d.ts +2 -1
- package/lib/controlRender.d.ts +6 -3
- package/lib/index.js +90 -64
- package/lib/index.js.map +1 -1
- package/lib/types.d.ts +16 -1
- package/package.json +1 -1
package/lib/types.d.ts
CHANGED
|
@@ -200,7 +200,8 @@ export declare enum DataRenderType {
|
|
|
200
200
|
DisplayOnly = "DisplayOnly",
|
|
201
201
|
Group = "Group",
|
|
202
202
|
NullToggle = "NullToggle",
|
|
203
|
-
Jsonata = "Jsonata"
|
|
203
|
+
Jsonata = "Jsonata",
|
|
204
|
+
Array = "Array"
|
|
204
205
|
}
|
|
205
206
|
export interface TextfieldRenderOptions extends RenderOptions {
|
|
206
207
|
type: DataRenderType.Textfield;
|
|
@@ -243,6 +244,19 @@ export interface JsonataRenderOptions extends RenderOptions {
|
|
|
243
244
|
type: DataRenderType.Jsonata;
|
|
244
245
|
expression: string;
|
|
245
246
|
}
|
|
247
|
+
export interface JsonataRenderOptions extends RenderOptions {
|
|
248
|
+
type: DataRenderType.Jsonata;
|
|
249
|
+
expression: string;
|
|
250
|
+
}
|
|
251
|
+
export interface ArrayRenderOptions extends RenderOptions {
|
|
252
|
+
type: DataRenderType.Array;
|
|
253
|
+
addText?: string | null;
|
|
254
|
+
removeText?: string | null;
|
|
255
|
+
noAdd?: boolean | null;
|
|
256
|
+
noRemove?: boolean | null;
|
|
257
|
+
noReorder?: boolean | null;
|
|
258
|
+
childOptions?: RenderOptions | null;
|
|
259
|
+
}
|
|
246
260
|
export interface CheckListRenderOptions extends RenderOptions {
|
|
247
261
|
type: DataRenderType.CheckList;
|
|
248
262
|
}
|
|
@@ -372,3 +386,4 @@ export declare function isFlexRenderer(options: GroupRenderOptions): options is
|
|
|
372
386
|
export declare function isDisplayOnlyRenderer(options: RenderOptions): options is DisplayOnlyRenderOptions;
|
|
373
387
|
export declare function isTextfieldRenderer(options: RenderOptions): options is TextfieldRenderOptions;
|
|
374
388
|
export declare function isDataGroupRenderer(options: RenderOptions): options is DataGroupRenderOptions;
|
|
389
|
+
export declare function isArrayRenderer(options: RenderOptions): options is ArrayRenderOptions;
|