hlyc-web-pack 3.5.71 → 3.5.73
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/Affix/index.d.ts +3 -3
- package/lib/ButtonGroup/index.d.ts +1 -2
- package/lib/Dialog/index.d.ts +1 -1
- package/lib/Empty/index.d.ts +1 -3
- package/lib/GaoDeMap/index.d.ts +1 -2
- package/lib/GenerateForm/index.d.ts +1 -1
- package/lib/GenerateTable/ResizableTitle/index.d.ts +0 -1
- package/lib/GenerateTable/index.d.ts +1 -2
- package/lib/IconSelectionModal/index.d.ts +3 -3
- package/lib/QuicklyProcessForms/index.d.ts +3 -3
- package/lib/TreeNode/index.d.ts +1 -2
- package/lib/Upload/index.d.ts +1 -3
- package/lib/index.d.ts +1 -1
- package/lib/index.js +4 -4
- package/lib/unrelated/hooks/index.d.ts +4 -0
- package/package.json +4 -1
package/lib/Affix/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { AffixProps } from 'antd/es/affix';
|
|
3
2
|
declare type PropType = AffixProps & {
|
|
4
3
|
targetId?: string;
|
|
5
4
|
};
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
/** 固钉,当内容区域比较长,需要滚动页面时,这部分内容对应的操作或者导航需要在滚动范围内始终展现 */
|
|
6
|
+
declare const Affix: (props: PropType) => JSX.Element;
|
|
7
|
+
export default Affix;
|
|
@@ -25,6 +25,5 @@ export interface ButtonGroupTypeProps {
|
|
|
25
25
|
export interface ButtonGroupCallType {
|
|
26
26
|
getButtonGroupSelected: () => ButtonGroupListType[];
|
|
27
27
|
}
|
|
28
|
-
declare const _default: React.
|
|
29
|
-
/** 按钮组,包含组件单选、多选和按钮组删除功能 */
|
|
28
|
+
declare const _default: React.ForwardRefExoticComponent<ButtonGroupTypeProps & React.RefAttributes<unknown>>;
|
|
30
29
|
export default _default;
|
package/lib/Dialog/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ interface StateType {
|
|
|
17
17
|
right: number;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
/**
|
|
20
|
+
/** 弹窗 */
|
|
21
21
|
declare class Dialog extends React.Component<DialogPropType, StateType> {
|
|
22
22
|
static show(props: any): Dialog;
|
|
23
23
|
static confirm(title: string, children: React.ReactNode, onOk: Function): Dialog;
|
package/lib/Empty/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { EmptyProps } from 'antd/lib/empty';
|
|
3
2
|
import './index.less';
|
|
4
3
|
/** 456789 */
|
|
@@ -8,6 +7,5 @@ declare type Props = EmptyProps & {
|
|
|
8
7
|
};
|
|
9
8
|
/** 控组件 */
|
|
10
9
|
declare function Empty(props?: Props): JSX.Element;
|
|
11
|
-
declare const _default: React.MemoExoticComponent<typeof Empty>;
|
|
12
10
|
/** 控组件 */
|
|
13
|
-
export default
|
|
11
|
+
export default Empty;
|
package/lib/GaoDeMap/index.d.ts
CHANGED
|
@@ -19,6 +19,5 @@ export interface MapType {
|
|
|
19
19
|
lng: number;
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
declare const _default: React.
|
|
23
|
-
/** 地图组件 */
|
|
22
|
+
declare const _default: React.ForwardRefExoticComponent<PropType & React.RefAttributes<unknown>>;
|
|
24
23
|
export default _default;
|
|
@@ -130,6 +130,6 @@ export interface GenerateFormPropType {
|
|
|
130
130
|
/** 动态渲染操作按钮或其他元素 */
|
|
131
131
|
render?: () => React.ReactElement;
|
|
132
132
|
}
|
|
133
|
-
declare const _default: React.
|
|
133
|
+
declare const _default: React.ForwardRefExoticComponent<GenerateFormPropType & React.RefAttributes<unknown>>;
|
|
134
134
|
/** 动态表单组件 */
|
|
135
135
|
export default _default;
|
|
@@ -85,6 +85,5 @@ declare type TablePaginationType = TablePaginationConfig & {
|
|
|
85
85
|
pages: number;
|
|
86
86
|
[key: string]: any;
|
|
87
87
|
};
|
|
88
|
-
declare const _default: React.
|
|
89
|
-
/** 表格组件 */
|
|
88
|
+
declare const _default: React.ForwardRefExoticComponent<GenerateTableProp & React.RefAttributes<unknown>>;
|
|
90
89
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
2
|
interface Props {
|
|
4
3
|
/** 打开关闭 */
|
|
@@ -12,5 +11,6 @@ interface Props {
|
|
|
12
11
|
/** 选择图标回调 */
|
|
13
12
|
onConfirm?: (item: string) => void;
|
|
14
13
|
}
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
/** 选择图标弹窗 */
|
|
15
|
+
declare const IconSelectionModal: (props: Props) => JSX.Element;
|
|
16
|
+
export default IconSelectionModal;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { FormListType } from '../GenerateForm';
|
|
3
2
|
import { AjaxResultType, AnyObjectType, PromiseAxiosResultType } from '../unrelated/typings';
|
|
4
3
|
import './index.less';
|
|
@@ -27,5 +26,6 @@ export interface QuicklyProcessTypes {
|
|
|
27
26
|
/** 关闭弹窗回调 */
|
|
28
27
|
onCancel?: (pageObj?: AnyObjectType) => void;
|
|
29
28
|
}
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
/** 批量编辑,用来编辑表格列表数据 */
|
|
30
|
+
declare const QuicklyProcessForms: (props: QuicklyProcessTypes) => JSX.Element;
|
|
31
|
+
export default QuicklyProcessForms;
|
package/lib/TreeNode/index.d.ts
CHANGED
|
@@ -44,6 +44,5 @@ export interface TreeType {
|
|
|
44
44
|
children?: TreeType[];
|
|
45
45
|
[key: string]: any;
|
|
46
46
|
}
|
|
47
|
-
declare const _default: React.
|
|
48
|
-
/** 树组件 */
|
|
47
|
+
declare const _default: React.ForwardRefExoticComponent<PropTypes & React.RefAttributes<unknown>>;
|
|
49
48
|
export default _default;
|
package/lib/Upload/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { UploadProps } from 'antd/es/upload';
|
|
3
2
|
import { UploadFile } from 'antd/es/upload/interface';
|
|
4
3
|
import { AnyObjectType } from '../unrelated/typings';
|
|
@@ -13,5 +12,4 @@ export declare type PropsType = {
|
|
|
13
12
|
} & UploadProps;
|
|
14
13
|
/** 上传文件组件 */
|
|
15
14
|
declare function Upload(props: PropsType): JSX.Element;
|
|
16
|
-
|
|
17
|
-
export default _default;
|
|
15
|
+
export default Upload;
|
package/lib/index.d.ts
CHANGED