hlyc-web-pack 3.5.74 → 3.5.75

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.
Files changed (28) hide show
  1. package/lib/{components/GenerateForm → GenerateForm}/index.d.ts +1 -1
  2. package/lib/{components/GenerateTable → GenerateTable}/EditableCell/index.d.ts +1 -1
  3. package/lib/{components/GenerateTable → GenerateTable}/index.d.ts +1 -1
  4. package/lib/{components/LayoutFormModal → LayoutFormModal}/index.d.ts +1 -1
  5. package/lib/{components/LayoutTableModal → LayoutTableModal}/index.d.ts +1 -1
  6. package/lib/{components/QuicklyProcessForms → QuicklyProcessForms}/index.d.ts +1 -1
  7. package/lib/{components/TreeNode → TreeNode}/index.d.ts +1 -1
  8. package/lib/{components/Upload → Upload}/index.d.ts +1 -1
  9. package/lib/brother/hooks/useMemoizedFn/index.d.ts +3 -0
  10. package/lib/{components/unrelated → brother}/utils/index.d.ts +1 -1
  11. package/lib/{components/index.d.ts → index.d.ts} +1 -1
  12. package/package.json +1 -1
  13. /package/lib/{components/Affix → Affix}/index.d.ts +0 -0
  14. /package/lib/{components/ButtonGroup → ButtonGroup}/index.d.ts +0 -0
  15. /package/lib/{components/Dialog → Dialog}/index.d.ts +0 -0
  16. /package/lib/{components/Empty → Empty}/index.d.ts +0 -0
  17. /package/lib/{components/GaoDeMap → GaoDeMap}/index.d.ts +0 -0
  18. /package/lib/{components/GenerateTable → GenerateTable}/ResizableTitle/index.d.ts +0 -0
  19. /package/lib/{components/IconSelectionModal → IconSelectionModal}/index.d.ts +0 -0
  20. /package/lib/{components/unrelated → brother}/ConfigProvider/index.d.ts +0 -0
  21. /package/lib/{components/unrelated → brother}/DndWrap/index.d.ts +0 -0
  22. /package/lib/{hooks → brother/hooks}/index.d.ts +0 -0
  23. /package/lib/{hooks → brother/hooks}/useDeepCompareEffect/index.d.ts +0 -0
  24. /package/lib/{hooks → brother/hooks}/useMount/index.d.ts +0 -0
  25. /package/lib/{hooks → brother/hooks}/useSetState/index.d.ts +0 -0
  26. /package/lib/{hooks → brother/hooks}/useUnmount/index.d.ts +0 -0
  27. /package/lib/{hooks → brother/hooks}/useUpdateEffect/index.d.ts +0 -0
  28. /package/lib/{components/unrelated → brother}/typings/index.d.ts +0 -0
@@ -13,7 +13,7 @@ import { CheckboxValueType } from 'antd/es/checkbox/Group';
13
13
  import { DataNode, DefaultValueType } from 'rc-tree-select/es/interface';
14
14
  import { FormInstance } from 'rc-field-form/es/interface';
15
15
  import { DatePickerProps, RangePickerProps } from 'antd/es/date-picker';
16
- import { AnyObjectType, SelectType } from '../unrelated/typings';
16
+ import { AnyObjectType, SelectType } from '../brother/typings';
17
17
  import './index.less';
18
18
  export interface DefaultOptionType {
19
19
  value?: string | number;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { InternalFieldProps } from 'rc-field-form/lib/Field';
3
- import { SelectType, AnyObjectType } from '../../unrelated/typings';
3
+ import { SelectType, AnyObjectType } from '../../brother/typings';
4
4
  import './index.less';
5
5
  declare type remoteValueType = string | undefined;
6
6
  declare type remotePromiseType = (value: remoteValueType, record: AnyObjectType) => Promise<SelectType[]>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TablePaginationConfig, TableProps, ColumnType } from 'antd/es/table';
3
3
  import { EditableColumnsType } from './EditableCell';
4
- import { AnyObjectType, PromiseAxiosResultType } from '../unrelated/typings';
4
+ import { AnyObjectType, PromiseAxiosResultType } from '../brother/typings';
5
5
  import './index.less';
6
6
  export declare type TableColumns<T = AnyObjectType> = ColumnType<T> & Partial<EditableColumnsType>;
7
7
  export interface getTableListQueryType {
@@ -3,7 +3,7 @@ import { FormInstance } from 'rc-field-form/es/interface';
3
3
  import { FormProps } from 'antd/es/form';
4
4
  import { ColProps } from 'antd/es/col';
5
5
  import { FormListType } from '../GenerateForm';
6
- import { AnyObjectType, SubmitApiType } from '../unrelated/typings';
6
+ import { AnyObjectType, SubmitApiType } from '../brother/typings';
7
7
  import './index.less';
8
8
  export interface LayoutFormPropTypes {
9
9
  /** 打开或关闭 */
@@ -5,7 +5,7 @@ import { TableProps } from 'antd/es/table';
5
5
  import { FormProps } from 'antd/es/form';
6
6
  import { FormListType, FormCallType } from '../GenerateForm';
7
7
  import { TableCallType, GenerateTableProp, TableColumns, getTableListQueryType } from '../GenerateTable';
8
- import { AnyObjectType, PromiseAxiosResultType } from '../unrelated/typings';
8
+ import { AnyObjectType, PromiseAxiosResultType } from '../brother/typings';
9
9
  import './index.less';
10
10
  export declare type LayoutTableModalCallType = TableCallType & FormCallType & {
11
11
  setSavaLoading: (data: boolean) => void;
@@ -1,5 +1,5 @@
1
1
  import { FormListType } from '../GenerateForm';
2
- import { AjaxResultType, AnyObjectType, PromiseAxiosResultType } from '../unrelated/typings';
2
+ import { AjaxResultType, AnyObjectType, PromiseAxiosResultType } from '../brother/typings';
3
3
  import './index.less';
4
4
  export interface QuicklyProcessTypes {
5
5
  /** 打开或关闭 */
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TreeProps } from 'antd/es/tree';
3
- import { AnyObjectType } from '../unrelated/typings';
3
+ import { AnyObjectType } from '../brother/typings';
4
4
  import './index.less';
5
5
  export interface TreeNodeCallType {
6
6
  setLoading: (data: boolean) => void;
@@ -1,6 +1,6 @@
1
1
  import { UploadProps } from 'antd/es/upload';
2
2
  import { UploadFile } from 'antd/es/upload/interface';
3
- import { AnyObjectType } from '../unrelated/typings';
3
+ import { AnyObjectType } from '../brother/typings';
4
4
  import './index.less';
5
5
  export declare type PropsType = {
6
6
  /** 选择文件按钮 */
@@ -0,0 +1,3 @@
1
+ declare type noop = (...args: any[]) => any;
2
+ declare function useMemoizedFn<T extends noop>(fn: T): T;
3
+ export default useMemoizedFn;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { FormListType } from '../../GenerateForm';
3
- import { SelectType } from '../../unrelated/typings';
3
+ import { SelectType } from '../../brother/typings';
4
4
  /**
5
5
  * @Description 组件是否重新渲染比较
6
6
  * @Author bihongbin
@@ -1,5 +1,5 @@
1
1
  import 'antd/dist/antd.less';
2
- export { default as hooks } from '../hooks';
2
+ export { default as hooks } from './brother/hooks';
3
3
  export { default as Affix } from './Affix';
4
4
  export { default as Dialog } from './Dialog';
5
5
  export { default as GaoDeMap } from './GaoDeMap';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hlyc-web-pack",
3
- "version": "3.5.74",
3
+ "version": "3.5.75",
4
4
  "description": "华旅云创web端组件",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.js",
File without changes
File without changes
File without changes
File without changes