@acuteinfo/common-base 1.2.66 → 1.2.68
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DependentValuesType } from "packages/form";
|
|
2
|
+
import { CSSProperties } from "react";
|
|
2
3
|
export type Merge<A, B> = {
|
|
3
4
|
[K in keyof A]: K extends keyof B ? B[K] : A[K];
|
|
4
5
|
} & B extends infer O ? {
|
|
@@ -12,6 +13,7 @@ export interface OptionsProps {
|
|
|
12
13
|
label: string;
|
|
13
14
|
value: any;
|
|
14
15
|
disabled?: boolean;
|
|
16
|
+
style?: CSSProperties;
|
|
15
17
|
}
|
|
16
18
|
export interface dependentOptionsFn {
|
|
17
19
|
(optionsFn?: DependentValuesType, formName?: string): OptionsProps[] | Promise<OptionsProps[]>;
|
|
@@ -216,6 +216,8 @@ export interface GridConfigType {
|
|
|
216
216
|
* Set false to prevent auto fetch api for server grid
|
|
217
217
|
*/
|
|
218
218
|
autoFetch?: boolean;
|
|
219
|
+
showUserCode?: boolean;
|
|
220
|
+
setScreenCode?: boolean;
|
|
219
221
|
}
|
|
220
222
|
export interface GridMetaDataType {
|
|
221
223
|
columns: GridColumnType[];
|