@kentico/xperience-admin-base 30.3.3 → 30.4.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
|
@@ -320,7 +320,14 @@ export declare interface FormComponentProps extends FieldInfo {
|
|
|
320
320
|
readonly statusText?: string;
|
|
321
321
|
readonly explanationText?: string;
|
|
322
322
|
readonly tooltip?: string;
|
|
323
|
+
/**
|
|
324
|
+
* @deprecated Property is deprecated and will be removed in the next version. Use `editMode` set to `FormEditMode.Disabled` instead.
|
|
325
|
+
*/
|
|
323
326
|
readonly disabled?: boolean;
|
|
327
|
+
/**
|
|
328
|
+
* Edit mode of the form component.
|
|
329
|
+
*/
|
|
330
|
+
readonly editMode?: FormEditMode;
|
|
324
331
|
readonly value?: any;
|
|
325
332
|
readonly invalid?: boolean;
|
|
326
333
|
readonly validationMessage?: string;
|
|
@@ -341,6 +348,21 @@ export declare interface FormComponentProps extends FieldInfo {
|
|
|
341
348
|
readonly explanationTextAsHtml?: boolean;
|
|
342
349
|
}
|
|
343
350
|
|
|
351
|
+
declare enum FormEditMode {
|
|
352
|
+
/**
|
|
353
|
+
* Element is editable.
|
|
354
|
+
*/
|
|
355
|
+
Default = 'default',
|
|
356
|
+
/**
|
|
357
|
+
* Element is disabled.
|
|
358
|
+
*/
|
|
359
|
+
Disabled = 'disabled',
|
|
360
|
+
/**
|
|
361
|
+
* Element is read-only.
|
|
362
|
+
*/
|
|
363
|
+
ReadOnly = 'readOnly'
|
|
364
|
+
}
|
|
365
|
+
|
|
344
366
|
/**
|
|
345
367
|
* Array of form components and their categories.
|
|
346
368
|
*/
|
|
@@ -386,7 +408,7 @@ declare interface LinkParameters {
|
|
|
386
408
|
/**
|
|
387
409
|
* Parameters used when link is opened using window.open().
|
|
388
410
|
*/
|
|
389
|
-
readonly windowOpenLinkParameters
|
|
411
|
+
readonly windowOpenLinkParameters?: WindowOpenLinkParameters;
|
|
390
412
|
}
|
|
391
413
|
|
|
392
414
|
/**
|