@jiaozhiye/qm-design-react 1.2.0-beta.5 → 1.2.0-beta.8

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.
@@ -18,6 +18,11 @@ export declare type ICheckStrategy = 'SHOW_ALL' | 'SHOW_PARENT' | 'SHOW_CHILD';
18
18
  export declare type IFormItemType = 'DIVIDER' | 'INPUT' | 'TEXT_AREA' | 'RANGE_INPUT' | 'INPUT_NUMBER' | 'RANGE_INPUT_NUMBER' | 'CHECKBOX' | 'MULTIPLE_CHECKBOX' | 'RADIO' | 'SWITCH' | 'DATE' | 'RANGE_DATE' | 'TIME' | 'RANGE_TIME' | 'SELECT' | 'MULTIPLE_SELECT' | 'IMMEDIATE' | 'SEARCH_HELPER' | 'MULTIPLE_SEARCH_HELPER' | 'TREE_SELECT' | 'MULTIPLE_TREE_SELECT' | 'CASCADER' | 'MULTIPLE_CASCADER' | 'CITY_SELECT' | 'REGION_SELECT' | 'UPLOAD_FILE' | 'UPLOAD_IMG' | 'TINYMCE';
19
19
  export declare const ARRAY_TYPE: IFormItemType[];
20
20
  export declare const BUILT_IN_PLACEMENTS: BuildInPlacements;
21
+ export declare type IFieldsDefine = {
22
+ valueKey: string;
23
+ displayKey?: string;
24
+ extraKey?: string;
25
+ };
21
26
  export declare type ISecretType = 'name' | 'phone' | 'IDnumber' | 'bankCard';
22
27
  export declare type IDateType = 'date' | 'datetime' | 'exactdate' | 'week' | 'month' | 'quarter' | 'year';
23
28
  export declare enum EDateType {
@@ -145,6 +150,7 @@ export declare type IFormItem = {
145
150
  name?: string;
146
151
  getServerConfig?: IFetchFn;
147
152
  createTableFetch?: (url: string) => IFetchFn;
153
+ fieldsDefine?: IFieldsDefine;
148
154
  filters?: IFormItem[];
149
155
  table?: {
150
156
  fetch?: IFetch;