arkenstone-ui 0.0.34 → 0.0.35
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.js +2486 -2465
- package/dist/types/components/data-manager/types.d.ts +8 -0
- package/package.json +1 -1
|
@@ -17,7 +17,9 @@ export interface FieldConfig {
|
|
|
17
17
|
name: string;
|
|
18
18
|
currentDataLoadConfig?: {
|
|
19
19
|
useObjectKey?: string;
|
|
20
|
+
/** it must return the actual value for the field */
|
|
20
21
|
transform?: (data: any) => any;
|
|
22
|
+
useObjectIdProperty?: boolean;
|
|
21
23
|
};
|
|
22
24
|
label: string;
|
|
23
25
|
type: InputType;
|
|
@@ -56,6 +58,12 @@ export interface DataManagerConfig<T extends object> {
|
|
|
56
58
|
fields: FieldConfig[];
|
|
57
59
|
submitLabel?: string;
|
|
58
60
|
liveUpdate?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* If true, skips dirty checking and sends all form values on update.
|
|
63
|
+
* Useful for legacy APIs that expect the full object.
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
disablePartialUpdate?: boolean;
|
|
59
67
|
};
|
|
60
68
|
devMode?: boolean;
|
|
61
69
|
}
|