@jiaozhiye/qm-design-react 1.7.46 → 1.7.48
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/form/src/form-select.d.ts +8 -0
- package/lib/form/src/form.d.ts +1 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/upload-file/style/index.less +37 -37
- package/package.json +1 -1
|
@@ -9,6 +9,14 @@ type IState = {
|
|
|
9
9
|
itemList: IDict[];
|
|
10
10
|
loading: boolean;
|
|
11
11
|
};
|
|
12
|
+
type IVSelectProps<T = string | string[]> = IProps & {
|
|
13
|
+
items: IDict[];
|
|
14
|
+
loading: boolean;
|
|
15
|
+
value?: T;
|
|
16
|
+
onChange?: (value: T) => void;
|
|
17
|
+
onValuesChange: (value: T, text: string, items: IDict[]) => void;
|
|
18
|
+
};
|
|
19
|
+
export declare const VSelect: React.FC<IVSelectProps>;
|
|
12
20
|
declare class FormSelect extends Component<IProps, IState> {
|
|
13
21
|
static contextType: React.Context<import("./context").IFormContext | undefined>;
|
|
14
22
|
state: IState;
|
package/lib/form/src/form.d.ts
CHANGED
|
@@ -89,6 +89,7 @@ declare class QmForm extends Component<IProps, IState> {
|
|
|
89
89
|
get dividers(): IFormItem[];
|
|
90
90
|
get isFilterType(): boolean;
|
|
91
91
|
get isOnlyShow(): boolean;
|
|
92
|
+
get isFormDisabled(): boolean | undefined;
|
|
92
93
|
get isCompactMode(): boolean;
|
|
93
94
|
get showDividerCollapse(): boolean;
|
|
94
95
|
get showFilterCollapse(): boolean | undefined;
|