@socotra/ec-react-components 2.25.0-next.2 → 2.25.0-next.3
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/index.d.ts +2 -34
- package/dist/index.es.js +13508 -13430
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +51 -51
- package/dist/index.umd.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { FieldConfigRecord } from '@socotra/ec-react-schemas';
|
|
|
21
21
|
import { FnolCreateRequest } from '@socotra/ec-react-schemas';
|
|
22
22
|
import { FnolPatchRequest } from '@socotra/ec-react-schemas';
|
|
23
23
|
import { FnolResponse } from '@socotra/ec-react-schemas';
|
|
24
|
+
import { FormBaseProps } from '../../global';
|
|
24
25
|
import { ForwardRefExoticComponent } from 'react';
|
|
25
26
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
26
27
|
import { ModifyChangeInstructionCreateRequest } from '@socotra/ec-react-schemas';
|
|
@@ -388,39 +389,11 @@ declare type Props_11 = {
|
|
|
388
389
|
scope?: Array<'P' | 'Q' | 'QQ'>;
|
|
389
390
|
};
|
|
390
391
|
|
|
391
|
-
declare interface Props_12 {
|
|
392
|
+
declare interface Props_12 extends FormBaseProps {
|
|
392
393
|
/**
|
|
393
394
|
* The resolved data model retrieved from data model response
|
|
394
395
|
*/
|
|
395
396
|
dataModel: DataModel;
|
|
396
|
-
/**
|
|
397
|
-
* Set to true when the form is submitting to set fields to readonly and disable the submit button
|
|
398
|
-
*/
|
|
399
|
-
isSubmitting?: boolean;
|
|
400
|
-
/**
|
|
401
|
-
* Disables the form
|
|
402
|
-
*/
|
|
403
|
-
disabled?: boolean;
|
|
404
|
-
/**
|
|
405
|
-
* Hides the submit button
|
|
406
|
-
*/
|
|
407
|
-
hideSubmitButton?: boolean;
|
|
408
|
-
/**
|
|
409
|
-
* Whether to validate the form on submit
|
|
410
|
-
*/
|
|
411
|
-
validateOnSubmit?: boolean;
|
|
412
|
-
/**
|
|
413
|
-
* The text to display on the submit button
|
|
414
|
-
*/
|
|
415
|
-
submitButtonText?: string;
|
|
416
|
-
/**
|
|
417
|
-
* Readonly mode for the form
|
|
418
|
-
*/
|
|
419
|
-
readonly?: boolean;
|
|
420
|
-
/**
|
|
421
|
-
* ID for the form wrapper
|
|
422
|
-
*/
|
|
423
|
-
id?: string;
|
|
424
397
|
/**
|
|
425
398
|
* Titles for the form and boolean labels
|
|
426
399
|
*/
|
|
@@ -433,11 +406,6 @@ declare interface Props_12 {
|
|
|
433
406
|
truthyLabel?: string;
|
|
434
407
|
falsyLabel?: string;
|
|
435
408
|
};
|
|
436
|
-
/**
|
|
437
|
-
* Custom form styling
|
|
438
|
-
* See https://github.com/eclipsesource/jsonforms/blob/master/packages/vanilla-renderers/Styles.md
|
|
439
|
-
*/
|
|
440
|
-
styles?: StyleDefinition[];
|
|
441
409
|
}
|
|
442
410
|
|
|
443
411
|
declare type Props_2 = {
|