Latest updates from IceHrmPro

This commit is contained in:
Thilina Pituwala
2020-05-20 18:47:29 +02:00
parent 60c92d7935
commit 7453a58aad
18012 changed files with 2089245 additions and 10173 deletions

53
web/node_modules/antd/es/progress/progress.d.ts generated vendored Normal file
View File

@@ -0,0 +1,53 @@
import * as React from 'react';
import { ConfigConsumerProps } from '../config-provider';
declare const ProgressTypes: ["line", "circle", "dashboard"];
export declare type ProgressType = typeof ProgressTypes[number];
declare const ProgressStatuses: ["normal", "exception", "active", "success"];
export declare type ProgressSize = 'default' | 'small';
export declare type StringGradients = {
[percentage: string]: string;
};
declare type FromToGradients = {
from: string;
to: string;
};
export declare type ProgressGradient = {
direction?: string;
} & (StringGradients | FromToGradients);
export interface ProgressProps {
prefixCls?: string;
className?: string;
type?: ProgressType;
percent?: number;
successPercent?: number;
format?: (percent?: number, successPercent?: number) => React.ReactNode;
status?: typeof ProgressStatuses[number];
showInfo?: boolean;
strokeWidth?: number;
strokeLinecap?: 'butt' | 'square' | 'round';
strokeColor?: string | ProgressGradient;
trailColor?: string;
width?: number;
style?: React.CSSProperties;
gapDegree?: number;
gapPosition?: 'top' | 'bottom' | 'left' | 'right';
size?: ProgressSize;
steps?: number;
}
export default class Progress extends React.Component<ProgressProps> {
static defaultProps: {
type: "circle" | "line" | "dashboard" | undefined;
percent: number;
showInfo: boolean;
trailColor: null;
size: "small" | "default" | undefined;
gapDegree: undefined;
strokeLinecap: "round" | "butt" | "square" | undefined;
};
getPercentNumber(): number;
getProgressStatus(): "success" | "normal" | "active" | "exception";
renderProcessInfo(prefixCls: string, progressStatus: typeof ProgressStatuses[number]): JSX.Element | null;
renderProgress: ({ getPrefixCls, direction }: ConfigConsumerProps) => JSX.Element;
render(): JSX.Element;
}
export {};