@overmap-ai/forms 1.0.17-radio-field.18 → 1.0.17
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/form/fields/RadioField/RadioField.d.ts +1 -1
- package/dist/form/fields/utils.d.ts +1 -1
- package/dist/forms.js +949 -940
- package/dist/forms.umd.cjs +18 -18
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ export interface RadioFieldConfig extends ChildFieldOptions<string> {
|
|
|
17
17
|
export declare class RadioField extends BaseField<string, "radio"> {
|
|
18
18
|
readonly options: SelectFieldOption[];
|
|
19
19
|
readonly onlyValidateAfterTouched = false;
|
|
20
|
-
static readonly fieldTypeName = "
|
|
20
|
+
static readonly fieldTypeName = "Option list";
|
|
21
21
|
static readonly fieldTypeDescription = "Allows the user to select a single option from a list of options.";
|
|
22
22
|
static Icon: typeof RiRadioButtonFill;
|
|
23
23
|
constructor(config: RadioFieldConfig);
|
|
@@ -13,4 +13,4 @@ export declare function getFieldsMapping(fields: BaseFormElement[]): Record<stri
|
|
|
13
13
|
export declare function decodeFieldValues(fields: BaseFormElement[], values: Record<string, string>): Record<string, FieldValue>;
|
|
14
14
|
export declare function encodeFieldValues(fields: BaseFormElement[], values: Record<string, FieldValue>): Record<string, string>;
|
|
15
15
|
export declare function valueIsFile(v: FieldValue | Promise<File>[] | undefined): v is File[] | Promise<File>[];
|
|
16
|
-
export declare function isConditionMet<TValue extends FieldValue | Promise<File>[]>(condition: TValue extends FieldValue ? SerializedCondition<TValue> | null : null, value: TValue): boolean;
|
|
16
|
+
export declare function isConditionMet<TValue extends FieldValue | Promise<File>[]>(condition: TValue extends FieldValue ? SerializedCondition<TValue> | null : null, value: TValue | undefined): boolean;
|