@jsonforms/core 3.3.0 → 3.4.0-alpha.0
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/lib/util/renderer.d.ts
CHANGED
|
@@ -291,6 +291,7 @@ export interface OwnPropsOfMasterListItem {
|
|
|
291
291
|
handleSelect(index: number): () => void;
|
|
292
292
|
removeItem(path: string, value: number): () => void;
|
|
293
293
|
translations: ArrayTranslations;
|
|
294
|
+
disableRemove?: boolean;
|
|
294
295
|
}
|
|
295
296
|
export interface StatePropsOfMasterItem extends OwnPropsOfMasterListItem {
|
|
296
297
|
childLabel: string;
|
|
@@ -401,6 +402,8 @@ export interface StatePropsOfArrayLayout extends StatePropsOfControlWithDetail {
|
|
|
401
402
|
data: number;
|
|
402
403
|
translations: ArrayTranslations;
|
|
403
404
|
minItems?: number;
|
|
405
|
+
disableRemove?: boolean;
|
|
406
|
+
disableAdd?: boolean;
|
|
404
407
|
}
|
|
405
408
|
/**
|
|
406
409
|
* Map state to table props
|
package/package.json
CHANGED
package/src/util/renderer.ts
CHANGED
|
@@ -726,6 +726,7 @@ export interface OwnPropsOfMasterListItem {
|
|
|
726
726
|
handleSelect(index: number): () => void;
|
|
727
727
|
removeItem(path: string, value: number): () => void;
|
|
728
728
|
translations: ArrayTranslations;
|
|
729
|
+
disableRemove?: boolean;
|
|
729
730
|
}
|
|
730
731
|
|
|
731
732
|
export interface StatePropsOfMasterItem extends OwnPropsOfMasterListItem {
|
|
@@ -1133,6 +1134,8 @@ export interface StatePropsOfArrayLayout extends StatePropsOfControlWithDetail {
|
|
|
1133
1134
|
data: number;
|
|
1134
1135
|
translations: ArrayTranslations;
|
|
1135
1136
|
minItems?: number;
|
|
1137
|
+
disableRemove?: boolean;
|
|
1138
|
+
disableAdd?: boolean;
|
|
1136
1139
|
}
|
|
1137
1140
|
/**
|
|
1138
1141
|
* Map state to table props
|