@jiaozhiye/qm-design-react 1.0.0-beta.6 → 1.0.0-beta.7
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.d.ts +2 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +3 -2
package/lib/form/src/form.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
3
|
import { IFieldData } from './types';
|
|
4
4
|
import type { IFormProps, IFormData, IFormItem, IExtraData, IViewData, IExpandData } from './types';
|
|
5
|
-
import { JSXElement, ValueOf } from '../../_utils/types';
|
|
5
|
+
import type { JSXElement, ValueOf } from '../../_utils/types';
|
|
6
6
|
import type { FormProps } from '../../antd';
|
|
7
7
|
declare type IProps = FormProps & IFormProps;
|
|
8
8
|
declare type IState = {
|
|
@@ -146,6 +146,7 @@ declare class QmForm extends Component<IProps, IState> {
|
|
|
146
146
|
createFormLayout(): (JSX.Element | null)[];
|
|
147
147
|
createSearchButtonLayout(lastCols?: number): JSX.Element | null;
|
|
148
148
|
createFormButtonLayout(): JSX.Element | null;
|
|
149
|
+
createFieldsDefine: () => JSX.Element;
|
|
149
150
|
setExpandHandle: (collapse: boolean) => void;
|
|
150
151
|
valuesChangeHandle: (changedValues: IFormData, allValues: IFormData) => void;
|
|
151
152
|
fieldsChangeHandle: (changedFields: IFieldData[], allFields: IFieldData[]) => void;
|