@kentico/xperience-admin-base 30.4.2 → 30.5.1
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/entry.d.ts
CHANGED
|
@@ -314,11 +314,29 @@ declare interface FormCategoryProps {
|
|
|
314
314
|
* Represents basic set of form component properties.
|
|
315
315
|
*/
|
|
316
316
|
export declare interface FormComponentProps extends FieldInfo {
|
|
317
|
+
/**
|
|
318
|
+
* Name of the component.
|
|
319
|
+
*/
|
|
317
320
|
readonly componentName: string;
|
|
321
|
+
/**
|
|
322
|
+
* Indicates whether evaluation of a visibility condition of some other component depends on this component's value.
|
|
323
|
+
*/
|
|
318
324
|
readonly hasDependencies: boolean;
|
|
325
|
+
/**
|
|
326
|
+
* Label of the form component.
|
|
327
|
+
*/
|
|
319
328
|
readonly label?: string;
|
|
329
|
+
/**
|
|
330
|
+
* Status text of the form component.
|
|
331
|
+
*/
|
|
320
332
|
readonly statusText?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Explanation text of the form component.
|
|
335
|
+
*/
|
|
321
336
|
readonly explanationText?: string;
|
|
337
|
+
/**
|
|
338
|
+
* Tooltip of the form component.
|
|
339
|
+
*/
|
|
322
340
|
readonly tooltip?: string;
|
|
323
341
|
/**
|
|
324
342
|
* @deprecated Property is deprecated and will be removed in the next version. Use `editMode` set to `FormEditMode.Disabled` instead.
|
|
@@ -328,15 +346,46 @@ export declare interface FormComponentProps extends FieldInfo {
|
|
|
328
346
|
* Edit mode of the form component.
|
|
329
347
|
*/
|
|
330
348
|
readonly editMode?: FormEditMode;
|
|
349
|
+
/**
|
|
350
|
+
* Value of the form component.
|
|
351
|
+
*/
|
|
331
352
|
readonly value?: any;
|
|
353
|
+
/**
|
|
354
|
+
* Indicates if the form component is in invalid state.
|
|
355
|
+
*/
|
|
332
356
|
readonly invalid?: boolean;
|
|
357
|
+
/**
|
|
358
|
+
* Validation message displayed when the form component is in invalid state.
|
|
359
|
+
*/
|
|
333
360
|
readonly validationMessage?: string;
|
|
361
|
+
/**
|
|
362
|
+
* Form component's validation rules.
|
|
363
|
+
*/
|
|
334
364
|
readonly validationRules?: ValidationRuleProps[];
|
|
365
|
+
/**
|
|
366
|
+
* Additional actions associated with the form component.
|
|
367
|
+
*/
|
|
335
368
|
readonly additionalActions?: AdditionalActionProps[];
|
|
369
|
+
/**
|
|
370
|
+
* Action element to be displayed in the label of the form component.
|
|
371
|
+
*/
|
|
336
372
|
readonly labelActionsElement?: React.ReactNode;
|
|
373
|
+
/**
|
|
374
|
+
* The callback function called when the value of the form component changes.
|
|
375
|
+
* * @argument value changed value of the form component.
|
|
376
|
+
*/
|
|
337
377
|
readonly onChange?: (value: OnChangeValueType) => void;
|
|
378
|
+
/**
|
|
379
|
+
* Indicates whether the value of the form component is required.
|
|
380
|
+
*/
|
|
338
381
|
readonly required?: boolean;
|
|
382
|
+
/**
|
|
383
|
+
* Tooltip message displayed when the form component is disabled.
|
|
384
|
+
*/
|
|
339
385
|
readonly inactiveMessage?: string;
|
|
386
|
+
/**
|
|
387
|
+
* GUID of the form component.
|
|
388
|
+
*/
|
|
340
389
|
readonly guid: string;
|
|
341
390
|
/**
|
|
342
391
|
* Dangerously sets tooltip as inner HTML.
|