@jiaozhiye/qm-design-react 1.8.27 → 1.8.29
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 -2
- package/lib/form/src/types.d.ts +1 -1
- package/lib/form/src/utils.d.ts +2 -0
- package/lib/icons/EraserOutlined/index.d.ts +3 -0
- package/lib/icons/UndoOutlined/index.d.ts +3 -0
- package/lib/icons/index.d.ts +2 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/signature/src/lib/index.d.ts +8 -5
- package/lib/signature/src/signature.d.ts +2 -1
- package/lib/signature/style/index.less +170 -165
- package/lib/style/index.css +3 -0
- package/lib/style/index.less +41 -41
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/table/types.d.ts +1 -1
- package/lib/table/src/utils/index.d.ts +4 -3
- package/lib/tour/src/util.d.ts +1 -0
- package/package.json +4 -4
package/lib/form/src/form.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ declare class QmForm extends Component<IProps, IState> {
|
|
|
119
119
|
getViewValue(fieldName: string): string;
|
|
120
120
|
setExpandHandle(collapse: boolean): void;
|
|
121
121
|
createInputFocus(): void;
|
|
122
|
-
getFormItemLabel(label:
|
|
122
|
+
getFormItemLabel(label: React.ReactNode | IFormItem): string;
|
|
123
123
|
getBlockDerivedItems(): Pick<IFormItem, "label" | "fieldName">[][];
|
|
124
124
|
getFormItemDisplay({ type, fieldName }: {
|
|
125
125
|
type: any;
|
|
@@ -160,7 +160,7 @@ declare class QmForm extends Component<IProps, IState> {
|
|
|
160
160
|
UPLOAD_FILE(option: IFormItem): JSXElement;
|
|
161
161
|
UPLOAD_IMG(option: IFormItem): JSXElement;
|
|
162
162
|
TINYMCE(option: IFormItem): JSXElement;
|
|
163
|
-
renderFormLabel(label:
|
|
163
|
+
renderFormLabel(label: React.ReactNode | IFormItem): React.ReactNode;
|
|
164
164
|
renderFormItemExtra(option: IFormItem['extra'] & {
|
|
165
165
|
fieldName: string;
|
|
166
166
|
}): React.JSX.Element;
|
package/lib/form/src/types.d.ts
CHANGED
package/lib/form/src/utils.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export declare const deepGetPath: (arr: any[], value: string) => string[] | unde
|
|
|
18
18
|
export declare const formatNumber: (value: string | number) => string;
|
|
19
19
|
export declare const parserNumber: (value: string) => string;
|
|
20
20
|
export declare const secretFormat: (value: string | number | undefined, type: string) => string;
|
|
21
|
+
export declare const isValidLabel: (label: any) => boolean;
|
|
22
|
+
export declare const getTitleFromNode: (vNode: React.ReactNode) => string;
|
|
21
23
|
export declare const createShConfig: (data: any, fieldName: string, createFetch: IFetchFnMaker, multiple?: boolean) => {
|
|
22
24
|
name?: string | undefined;
|
|
23
25
|
getServerConfig?: import("./types").IFetchFn | undefined;
|
package/lib/icons/index.d.ts
CHANGED
|
@@ -2,3 +2,5 @@ export { default as CircleOutlined } from './CircleOutlined';
|
|
|
2
2
|
export { default as FontOutlined } from './FontOutlined';
|
|
3
3
|
export { default as ArrowTopRightOutlined } from './ArrowTopRightOutlined';
|
|
4
4
|
export { default as MosaicOutlined } from './MosaicOutlined';
|
|
5
|
+
export { default as EraserOutlined } from './EraserOutlined';
|
|
6
|
+
export { default as UndoOutlined } from './UndoOutlined';
|