linkmore-design 1.0.67 → 1.0.68
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/dist/Approval/handle.d.ts +11 -0
- package/dist/Approval/type.d.ts +39 -8
- package/dist/Approval/util.d.ts +26 -0
- package/dist/AutoComplete/index.d.ts +2 -1
- package/dist/Calendar/demos/basic.d.ts +2 -0
- package/dist/Calendar/index.d.ts +4 -0
- package/dist/Calendar/style/index.d.ts +1 -0
- package/dist/CardTable/hooks/usePagination.d.ts +1 -1
- package/dist/CardTable/utils.d.ts +2 -2
- package/dist/Carousel/demos/basic.d.ts +2 -0
- package/dist/Carousel/index.d.ts +3 -0
- package/dist/Carousel/style/index.d.ts +1 -0
- package/dist/CkFilter/components/CascaderFilter.d.ts +1 -1
- package/dist/Collapse/demos/basic.d.ts +2 -0
- package/dist/Collapse/index.d.ts +3 -0
- package/dist/Collapse/style/index.d.ts +1 -0
- package/dist/Comment/demos/basic.d.ts +2 -0
- package/dist/Comment/index.d.ts +3 -0
- package/dist/Comment/style/index.d.ts +1 -0
- package/dist/LmFilter/components/CascaderFilter.d.ts +1 -1
- package/dist/LmFilter/components/CheckboxFilter.d.ts +1 -1
- package/dist/LmFilter/components/DateFilter.d.ts +1 -1
- package/dist/LmFilter/components/SelectFilter.d.ts +1 -1
- package/dist/LmSelect/useCheckboxOptions.d.ts +1 -1
- package/dist/LmTable/components/DndContainer.d.ts +5 -0
- package/dist/LmTable/components/sortableBoxCol.d.ts +5 -0
- package/dist/LmTable/components/sortableItemCol.d.ts +1 -0
- package/dist/LmTable/demos/tableColSort.d.ts +2 -0
- package/dist/LmUpload/LmUpload.d.ts +4 -1
- package/dist/LmUpload/UploadList/index.d.ts +1 -1
- package/dist/LmUpload/body/Progress.d.ts +4 -0
- package/dist/LmUpload/fns/index.d.ts +4 -1
- package/dist/Modal/index.d.ts +1 -1
- package/dist/Popconfirm/demos/basic.d.ts +2 -0
- package/dist/Popconfirm/index.d.ts +3 -0
- package/dist/Popconfirm/style/index.d.ts +1 -0
- package/dist/Progress/demos/basic.d.ts +2 -0
- package/dist/Progress/demos/circle.d.ts +2 -0
- package/dist/Progress/demos/dynamic.d.ts +2 -0
- package/dist/Progress/demos/small.d.ts +2 -0
- package/dist/Progress/index.d.ts +3 -0
- package/dist/Progress/style/index.d.ts +1 -0
- package/dist/Segmented/demos/basic.d.ts +2 -0
- package/dist/Segmented/index.d.ts +3 -0
- package/dist/Segmented/style/index.d.ts +1 -0
- package/dist/Slider/demos/basic.d.ts +2 -0
- package/dist/Slider/index.d.ts +2 -0
- package/dist/Slider/style/index.d.ts +1 -0
- package/dist/Statistic/demos/basic.d.ts +2 -0
- package/dist/Statistic/index.d.ts +3 -0
- package/dist/Statistic/style/index.d.ts +1 -0
- package/dist/TimePicker/demos/basic.d.ts +3 -0
- package/dist/TimePicker/index.d.ts +3 -0
- package/dist/TimePicker/style/index.d.ts +1 -0
- package/dist/Timeline/demos/basic.d.ts +2 -0
- package/dist/Timeline/index.d.ts +3 -0
- package/dist/Timeline/style/index.d.ts +1 -0
- package/dist/Transfer/demos/basic.d.ts +2 -0
- package/dist/Transfer/index.d.ts +3 -0
- package/dist/Transfer/style/index.d.ts +1 -0
- package/dist/TreeSelect/demos/basic.d.ts +2 -0
- package/dist/TreeSelect/index.d.ts +3 -0
- package/dist/TreeSelect/style/index.d.ts +1 -0
- package/dist/hooks/useFullscreen/demos/useInModal.d.ts +2 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.umd.js +3780 -1343
- package/dist/index.umd.min.js +6 -6
- package/es/Alert/index.js +27 -5
- package/es/Alert/style/index.css +1 -1
- package/es/Approval/handle.d.ts +11 -0
- package/es/Approval/handle.js +138 -0
- package/es/Approval/index.js +279 -121
- package/es/Approval/style/index.css +42 -4
- package/es/Approval/type.d.ts +39 -8
- package/es/Approval/type.js +97 -1
- package/es/Approval/util.d.ts +26 -0
- package/es/Approval/util.js +132 -0
- package/es/AutoComplete/index.d.ts +2 -1
- package/es/Calendar/index.d.ts +4 -0
- package/es/Calendar/index.js +3 -0
- package/es/Calendar/style/index.css +505 -0
- package/es/Calendar/style/index.d.ts +1 -0
- package/es/Calendar/style/index.js +1 -0
- package/es/Carousel/index.d.ts +3 -0
- package/es/Carousel/index.js +3 -0
- package/es/Carousel/style/index.css +505 -0
- package/es/Carousel/style/index.d.ts +1 -0
- package/es/Carousel/style/index.js +1 -0
- package/es/Collapse/index.d.ts +3 -0
- package/es/Collapse/index.js +3 -0
- package/es/Collapse/style/index.css +505 -0
- package/es/Collapse/style/index.d.ts +1 -0
- package/es/Collapse/style/index.js +1 -0
- package/es/Comment/index.d.ts +3 -0
- package/es/Comment/index.js +3 -0
- package/es/Comment/style/index.css +505 -0
- package/es/Comment/style/index.d.ts +1 -0
- package/es/Comment/style/index.js +1 -0
- package/es/LmEditTable/EditTable.js +5 -3
- package/es/LmEditTable/style/index.css +6 -0
- package/es/LmFilter/customFilter/index.js +2 -1
- package/es/LmFilter/customFilter/saveModal.js +5 -6
- package/es/LmFilter/filterFns/index.js +0 -1
- package/es/LmSelect/useCheckboxOptions.d.ts +1 -1
- package/es/LmTable/Table.js +79 -45
- package/es/LmTable/components/DndContainer.d.ts +5 -0
- package/es/LmTable/components/DndContainer.js +35 -0
- package/es/LmTable/components/sortableBoxCol.js +24 -0
- package/es/LmTable/components/sortableItemCol.js +54 -0
- package/es/LmUpload/LmUpload.d.ts +4 -1
- package/es/LmUpload/LmUpload.js +30 -6
- package/es/LmUpload/UploadList/ItemPictureCard.js +67 -10
- package/es/LmUpload/UploadList/index.d.ts +1 -1
- package/es/LmUpload/UploadList/index.js +3 -2
- package/es/LmUpload/body/Progress.d.ts +4 -0
- package/es/LmUpload/body/Progress.js +16 -0
- package/es/LmUpload/body/UploadCore.js +16 -10
- package/es/LmUpload/body/UploadPicture.js +12 -4
- package/es/LmUpload/fns/index.d.ts +3 -0
- package/es/LmUpload/fns/index.js +135 -25
- package/es/LmUpload/style/index.css +20 -3
- package/es/LmUpload/wrapper/reducer.js +7 -1
- package/es/Modal/index.d.ts +1 -1
- package/es/Popconfirm/index.d.ts +3 -0
- package/es/Popconfirm/index.js +3 -0
- package/es/Popconfirm/style/index.css +505 -0
- package/es/Popconfirm/style/index.d.ts +1 -0
- package/es/Popconfirm/style/index.js +1 -0
- package/es/Progress/index.d.ts +3 -0
- package/es/Progress/index.js +3 -0
- package/es/Progress/style/index.css +505 -0
- package/es/Progress/style/index.d.ts +1 -0
- package/es/Progress/style/index.js +1 -0
- package/es/Segmented/index.d.ts +3 -0
- package/es/Segmented/index.js +3 -0
- package/es/Segmented/style/index.css +505 -0
- package/es/Segmented/style/index.d.ts +1 -0
- package/es/Segmented/style/index.js +1 -0
- package/es/Slider/index.d.ts +2 -0
- package/es/Slider/index.js +3 -0
- package/es/Slider/style/index.css +505 -0
- package/es/Slider/style/index.d.ts +1 -0
- package/es/Slider/style/index.js +1 -0
- package/es/Statistic/index.d.ts +3 -0
- package/es/Statistic/index.js +3 -0
- package/es/Statistic/style/index.css +505 -0
- package/es/Statistic/style/index.d.ts +1 -0
- package/es/Statistic/style/index.js +1 -0
- package/es/TimePicker/index.d.ts +3 -0
- package/es/TimePicker/index.js +3 -0
- package/es/TimePicker/style/index.css +505 -0
- package/es/TimePicker/style/index.d.ts +1 -0
- package/es/TimePicker/style/index.js +1 -0
- package/es/Timeline/index.d.ts +3 -0
- package/es/Timeline/index.js +3 -0
- package/es/Timeline/style/index.css +505 -0
- package/es/Timeline/style/index.d.ts +1 -0
- package/es/Timeline/style/index.js +1 -0
- package/es/Transfer/index.d.ts +3 -0
- package/es/Transfer/index.js +3 -0
- package/es/Transfer/style/index.css +505 -0
- package/es/Transfer/style/index.d.ts +1 -0
- package/es/Transfer/style/index.js +1 -0
- package/es/TreeSelect/index.d.ts +3 -0
- package/es/TreeSelect/index.js +3 -0
- package/es/TreeSelect/style/index.css +505 -0
- package/es/TreeSelect/style/index.d.ts +1 -0
- package/es/TreeSelect/style/index.js +1 -0
- package/es/hooks/useFullscreen/index.js +6 -8
- package/es/index.d.ts +18 -0
- package/es/index.js +10 -1
- package/lib/Alert/index.js +27 -5
- package/lib/Alert/style/index.css +1 -1
- package/lib/Approval/handle.d.ts +11 -0
- package/lib/Approval/handle.js +160 -0
- package/lib/Approval/index.js +286 -121
- package/lib/Approval/style/index.css +42 -4
- package/lib/Approval/type.d.ts +39 -8
- package/lib/Approval/type.js +101 -1
- package/lib/Approval/util.d.ts +26 -0
- package/lib/Approval/util.js +148 -0
- package/lib/AutoComplete/index.d.ts +2 -1
- package/lib/Calendar/index.d.ts +4 -0
- package/lib/Calendar/index.js +15 -0
- package/lib/Calendar/style/index.css +505 -0
- package/lib/Calendar/style/index.d.ts +1 -0
- package/lib/Calendar/style/index.js +3 -0
- package/lib/Carousel/index.d.ts +3 -0
- package/lib/Carousel/index.js +15 -0
- package/lib/Carousel/style/index.css +505 -0
- package/lib/Carousel/style/index.d.ts +1 -0
- package/lib/Carousel/style/index.js +3 -0
- package/lib/Collapse/index.d.ts +3 -0
- package/lib/Collapse/index.js +15 -0
- package/lib/Collapse/style/index.css +505 -0
- package/lib/Collapse/style/index.d.ts +1 -0
- package/lib/Collapse/style/index.js +3 -0
- package/lib/Comment/index.d.ts +3 -0
- package/lib/Comment/index.js +15 -0
- package/lib/Comment/style/index.css +505 -0
- package/lib/Comment/style/index.d.ts +1 -0
- package/lib/Comment/style/index.js +3 -0
- package/lib/LmEditTable/EditTable.js +5 -3
- package/lib/LmEditTable/style/index.css +6 -0
- package/lib/LmFilter/customFilter/index.js +2 -1
- package/lib/LmFilter/customFilter/saveModal.js +5 -6
- package/lib/LmFilter/filterFns/index.js +0 -1
- package/lib/LmSelect/useCheckboxOptions.d.ts +1 -1
- package/lib/LmTable/Table.js +79 -45
- package/lib/LmTable/components/DndContainer.d.ts +5 -0
- package/lib/LmTable/components/DndContainer.js +49 -0
- package/lib/LmTable/components/sortableBoxCol.js +24 -0
- package/lib/LmTable/components/sortableItemCol.js +54 -0
- package/lib/LmUpload/LmUpload.d.ts +4 -1
- package/lib/LmUpload/LmUpload.js +31 -6
- package/lib/LmUpload/UploadList/ItemPictureCard.js +66 -10
- package/lib/LmUpload/UploadList/index.d.ts +1 -1
- package/lib/LmUpload/UploadList/index.js +6 -2
- package/lib/LmUpload/body/Progress.d.ts +4 -0
- package/lib/LmUpload/body/{UploadDrag.js → Progress.js} +10 -5
- package/lib/LmUpload/body/UploadCore.js +16 -10
- package/lib/LmUpload/body/UploadPicture.js +14 -3
- package/lib/LmUpload/fns/index.d.ts +3 -0
- package/lib/LmUpload/fns/index.js +141 -29
- package/lib/LmUpload/style/index.css +20 -3
- package/lib/LmUpload/wrapper/reducer.js +7 -1
- package/lib/Modal/index.d.ts +1 -1
- package/lib/Popconfirm/index.d.ts +3 -0
- package/lib/Popconfirm/index.js +15 -0
- package/lib/Popconfirm/style/index.css +505 -0
- package/lib/Popconfirm/style/index.d.ts +1 -0
- package/lib/Popconfirm/style/index.js +3 -0
- package/lib/Progress/index.d.ts +3 -0
- package/lib/Progress/index.js +15 -0
- package/lib/Progress/style/index.css +505 -0
- package/lib/Progress/style/index.d.ts +1 -0
- package/lib/Progress/style/index.js +3 -0
- package/lib/Segmented/index.d.ts +3 -0
- package/lib/Segmented/index.js +15 -0
- package/lib/Segmented/style/index.css +505 -0
- package/lib/Segmented/style/index.d.ts +1 -0
- package/lib/Segmented/style/index.js +3 -0
- package/lib/Slider/index.d.ts +2 -0
- package/lib/Slider/index.js +15 -0
- package/lib/Slider/style/index.css +505 -0
- package/lib/Slider/style/index.d.ts +1 -0
- package/lib/Slider/style/index.js +3 -0
- package/lib/Statistic/index.d.ts +3 -0
- package/lib/Statistic/index.js +15 -0
- package/lib/Statistic/style/index.css +505 -0
- package/lib/Statistic/style/index.d.ts +1 -0
- package/lib/Statistic/style/index.js +3 -0
- package/lib/TimePicker/index.d.ts +3 -0
- package/lib/TimePicker/index.js +15 -0
- package/lib/TimePicker/style/index.css +505 -0
- package/lib/TimePicker/style/index.d.ts +1 -0
- package/lib/TimePicker/style/index.js +3 -0
- package/lib/Timeline/index.d.ts +3 -0
- package/lib/Timeline/index.js +15 -0
- package/lib/Timeline/style/index.css +505 -0
- package/lib/Timeline/style/index.d.ts +1 -0
- package/lib/Timeline/style/index.js +3 -0
- package/lib/Transfer/index.d.ts +3 -0
- package/lib/Transfer/index.js +15 -0
- package/lib/Transfer/style/index.css +505 -0
- package/lib/Transfer/style/index.d.ts +1 -0
- package/lib/Transfer/style/index.js +3 -0
- package/lib/TreeSelect/index.d.ts +3 -0
- package/lib/TreeSelect/index.js +15 -0
- package/lib/TreeSelect/style/index.css +505 -0
- package/lib/TreeSelect/style/index.d.ts +1 -0
- package/lib/TreeSelect/style/index.js +3 -0
- package/lib/hooks/useFullscreen/index.js +6 -10
- package/lib/index.d.ts +18 -0
- package/lib/index.js +73 -1
- package/package.json +2 -1
- package/typings/index.d.ts +1 -1
- package/dist/LmUpload/body/UploadDrag.d.ts +0 -4
- package/es/LmUpload/body/UploadDrag.d.ts +0 -4
- package/es/LmUpload/body/UploadDrag.js +0 -10
- package/lib/LmUpload/body/UploadDrag.d.ts +0 -4
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IApprovalItemProps } from "./type";
|
|
2
|
+
/**
|
|
3
|
+
* 获取现在到之前的时间差
|
|
4
|
+
* @param time
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare function getDistanceTime(time: string | number | Date): string;
|
|
8
|
+
export declare function getCurrentTime(): string;
|
|
9
|
+
export declare const wrapperComment: (user: string, steps: Array<IApprovalItemProps>, update: any, setUpdate: any) => (value: string) => void;
|
|
10
|
+
export declare const wrapperAgree: (user: string, steps: Array<IApprovalItemProps>, update: any, setUpdate: any) => (value: string) => void;
|
|
11
|
+
export declare const wrapperRefuse: (user: string, steps: Array<IApprovalItemProps>, update: any, setUpdate: any) => (value: string) => void;
|
package/dist/Approval/type.d.ts
CHANGED
|
@@ -1,24 +1,55 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare type VoidFunction = () => void;
|
|
3
|
+
export declare enum ApprovalType {
|
|
4
|
+
START = "START",
|
|
5
|
+
APPROVAL = "APPROVAL",
|
|
6
|
+
CARBON_COPY = "CARBON_COPY",
|
|
7
|
+
ONLY_COMMENT = "ONLY_COMMENT"
|
|
8
|
+
}
|
|
9
|
+
export declare enum StatusType {
|
|
10
|
+
AGREE = "AGREE",
|
|
11
|
+
REFUSE = "REFUSE",
|
|
12
|
+
PENDING = "PENDING"
|
|
13
|
+
}
|
|
14
|
+
export declare namespace ApprovalType {
|
|
15
|
+
function isAgree(type: ApprovalType, status: StatusType): boolean;
|
|
16
|
+
function isPending(type: ApprovalType, status: StatusType): boolean;
|
|
17
|
+
function isRefuse(type: ApprovalType, status: StatusType): boolean;
|
|
18
|
+
function isCC(type: ApprovalType): boolean;
|
|
19
|
+
function isOnlyComment(type: ApprovalType): boolean;
|
|
20
|
+
function isApproval(type: ApprovalType): boolean;
|
|
21
|
+
function toText(type: ApprovalType, status: StatusType): "" | "审核中" | "未通过" | "已审核" | "仅评论";
|
|
22
|
+
}
|
|
3
23
|
export interface IApprovalItemProps {
|
|
4
24
|
avator?: string;
|
|
5
25
|
name?: string;
|
|
6
26
|
time?: string;
|
|
7
|
-
|
|
27
|
+
urge?: boolean;
|
|
28
|
+
type?: ApprovalType;
|
|
29
|
+
approvalStatus?: StatusType;
|
|
8
30
|
everyoneAgree?: boolean;
|
|
9
|
-
approverList
|
|
31
|
+
approverList?: Array<string>;
|
|
32
|
+
agreeList?: Array<string>;
|
|
33
|
+
refuse?: string;
|
|
34
|
+
carbonCopyList?: Array<string>;
|
|
35
|
+
isCarbonCopy?: boolean;
|
|
36
|
+
comment?: string;
|
|
10
37
|
[prop: string]: any;
|
|
11
38
|
}
|
|
12
39
|
export interface IApprovalProps {
|
|
13
40
|
visible?: boolean;
|
|
14
41
|
title?: string;
|
|
15
|
-
close?: () => void;
|
|
16
42
|
className?: string;
|
|
17
43
|
style?: React.CSSProperties;
|
|
18
|
-
|
|
19
|
-
|
|
44
|
+
proposer: string;
|
|
45
|
+
user: string;
|
|
20
46
|
steps?: Array<IApprovalItemProps>;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
47
|
+
onClose?: VoidFunction;
|
|
48
|
+
onComment?: VoidFunction;
|
|
49
|
+
onRefuse?: VoidFunction;
|
|
50
|
+
onAgree?: VoidFunction;
|
|
51
|
+
onUrge?: (approvalItem: IApprovalItemProps, i: number, list: Array<IApprovalItemProps>) => void;
|
|
52
|
+
onCarbonCopy?: (approvalItem: IApprovalItemProps, i: number, list: Array<IApprovalItemProps>) => void;
|
|
53
|
+
onDeleteComment?: (approvalItem: IApprovalItemProps, i: number, list: Array<IApprovalItemProps>) => void;
|
|
54
|
+
__update?: boolean;
|
|
24
55
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IApprovalItemProps, StatusType } from "./type";
|
|
2
|
+
/**
|
|
3
|
+
* 当前用户是否可以审批
|
|
4
|
+
* @param steps
|
|
5
|
+
* @param user
|
|
6
|
+
*/
|
|
7
|
+
export declare function currentUserIsApprover(steps: Array<IApprovalItemProps>, user: string): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* 当前用户是否是提议发起者
|
|
10
|
+
* @param proposer
|
|
11
|
+
* @param user
|
|
12
|
+
*/
|
|
13
|
+
export declare function currentUserIsProposer(proposer: string, user: string): boolean;
|
|
14
|
+
/**
|
|
15
|
+
* 审批节点是否通过
|
|
16
|
+
* @param approverList 审批人列表
|
|
17
|
+
* @param agreeList 已通过列表
|
|
18
|
+
* @param everyoneAgree 是否需要所有人都通过
|
|
19
|
+
*/
|
|
20
|
+
export declare function isAgreeOfApproverNode(approverList: Array<string>, agreeList: Array<string>, everyoneAgree: boolean): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* 获取当前审批单状态
|
|
23
|
+
* @param steps
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
export declare function getStatus(steps: Array<IApprovalItemProps>): StatusType;
|
|
@@ -10,6 +10,7 @@ import * as React from 'react';
|
|
|
10
10
|
import type { BaseOptionType, DefaultOptionType, InternalSelectProps } from 'antd/es/select';
|
|
11
11
|
import type { InputStatus } from '../_util/statusUtils';
|
|
12
12
|
import { AutoComplete as AntdAutoComplete } from 'antd';
|
|
13
|
+
declare const Option: import("rc-select/lib/Option").OptionFC;
|
|
13
14
|
export interface DataSourceItemObject {
|
|
14
15
|
value: string;
|
|
15
16
|
text: string;
|
|
@@ -24,7 +25,7 @@ declare const RefAutoComplete: (<ValueType = any, OptionType extends BaseOptionT
|
|
|
24
25
|
} & {
|
|
25
26
|
ref?: React.Ref<BaseSelectRef>;
|
|
26
27
|
}) => React.ReactElement) & {
|
|
27
|
-
Option:
|
|
28
|
+
Option: typeof Option;
|
|
28
29
|
AntdAutoComplete: typeof AntdAutoComplete;
|
|
29
30
|
};
|
|
30
31
|
export default RefAutoComplete;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export function getResizeColumnCount({ width
|
|
1
|
+
export function getResizeColumnCount({ width }: {
|
|
2
2
|
width: any;
|
|
3
|
-
}, colWidth: any):
|
|
3
|
+
}, colWidth: any): 4 | 2 | 3 | 5 | 6 | 7;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default CascaderFilter;
|
|
2
|
-
declare function CascaderFilter({ visible, options
|
|
2
|
+
declare function CascaderFilter({ visible, options, value, onChange, props }: {
|
|
3
3
|
visible: any;
|
|
4
4
|
options: any;
|
|
5
5
|
value: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function SortableItem(props: any): JSX.Element;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
ossConfig: any;
|
|
5
|
+
}, string | number> & React.RefAttributes<unknown>>;
|
|
3
6
|
export default _default;
|
|
@@ -4,7 +4,10 @@ declare const useCoreOptions: ({ state, dispatch, props }: {
|
|
|
4
4
|
props: any;
|
|
5
5
|
}) => {
|
|
6
6
|
CoreMethods: {
|
|
7
|
-
beforeUpload: (e: any) =>
|
|
7
|
+
beforeUpload: (e: any) => false | import("../../message").MessageType;
|
|
8
|
+
getUploadStatus: () => {
|
|
9
|
+
uploading: boolean;
|
|
10
|
+
};
|
|
8
11
|
};
|
|
9
12
|
RefMethods: {
|
|
10
13
|
getState: () => any;
|
package/dist/Modal/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface ILMModalProps extends ModalProps {
|
|
|
4
4
|
wrapClassName?: string;
|
|
5
5
|
size?: 'default' | 'small';
|
|
6
6
|
}
|
|
7
|
-
declare const LMModal: React.FC<ModalProps> & import("antd/lib/modal/confirm").ModalStaticFunctions & {
|
|
7
|
+
declare const LMModal: React.FC<ILMModalProps> & React.FC<ModalProps> & import("antd/lib/modal/confirm").ModalStaticFunctions & {
|
|
8
8
|
useModal: typeof import("antd/lib/modal/useModal").default;
|
|
9
9
|
destroyAll: () => void;
|
|
10
10
|
config: typeof import("antd/lib/modal/confirm").modalGlobalConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export { default as LmSelect } from './LmSelect';
|
|
|
22
22
|
export { default as LoadingPage } from './LoadingPage';
|
|
23
23
|
export { default as Menu } from './Menu';
|
|
24
24
|
export { default as Modal } from './Modal';
|
|
25
|
+
export type { ILMModalProps } from './Modal';
|
|
25
26
|
export { default as notification } from './notification';
|
|
26
27
|
export { default as OldModal } from './OldModal';
|
|
27
28
|
export { default as Pagination } from './Pagination';
|
|
@@ -66,3 +67,20 @@ export { default as Col } from './Col';
|
|
|
66
67
|
export type { ColProps } from './Col';
|
|
67
68
|
export { default as Layout } from './Layout';
|
|
68
69
|
export type { LayoutProps, SiderProps } from './Layout';
|
|
70
|
+
export { default as Steps } from './Steps';
|
|
71
|
+
export type { StepsProps, StepProps } from './Steps';
|
|
72
|
+
export { default as Mentions } from './Mentions';
|
|
73
|
+
export type { MentionProps } from './Mentions';
|
|
74
|
+
export { default as Rate } from './Rate';
|
|
75
|
+
export type { RateProps } from './Rate';
|
|
76
|
+
export { default as Slider } from './Slider';
|
|
77
|
+
export { default as Transfer } from './Transfer';
|
|
78
|
+
export type { TransferProps } from './Transfer';
|
|
79
|
+
export { default as TreeSelect } from './TreeSelect';
|
|
80
|
+
export type { TreeSelectProps } from './TreeSelect';
|
|
81
|
+
export { default as Calendar } from './Calendar';
|
|
82
|
+
export type { CalendarProps, CalendarMode } from './Calendar';
|
|
83
|
+
export { default as Carousel } from './Carousel';
|
|
84
|
+
export type { CarouselProps } from './Carousel';
|
|
85
|
+
export { default as Alert } from './Alert';
|
|
86
|
+
export type { AlertProps } from './Alert';
|