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/affix/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,53 @@
import * as React from 'react';
import { ConfigConsumerProps } from '../config-provider';
declare function getDefaultTarget(): (Window & typeof globalThis) | null;
export interface AffixProps {
/**
* 距离窗口顶部达到指定偏移量后触发
*/
offsetTop?: number;
/** 距离窗口底部达到指定偏移量后触发 */
offsetBottom?: number;
style?: React.CSSProperties;
/** 固定状态改变时触发的回调函数 */
onChange?: (affixed?: boolean) => void;
/** 设置 Affix 需要监听其滚动事件的元素,值为一个返回对应 DOM 元素的函数 */
target?: () => Window | HTMLElement | null;
prefixCls?: string;
className?: string;
children: React.ReactNode;
}
declare enum AffixStatus {
None = 0,
Prepare = 1
}
export interface AffixState {
affixStyle?: React.CSSProperties;
placeholderStyle?: React.CSSProperties;
status: AffixStatus;
lastAffix: boolean;
prevTarget: Window | HTMLElement | null;
}
declare class Affix extends React.Component<AffixProps, AffixState> {
static defaultProps: {
target: typeof getDefaultTarget;
};
state: AffixState;
placeholderNode: HTMLDivElement;
fixedNode: HTMLDivElement;
private timeout;
componentDidMount(): void;
componentDidUpdate(prevProps: AffixProps): void;
componentWillUnmount(): void;
getOffsetTop: () => number | undefined;
getOffsetBottom: () => number | undefined;
savePlaceholderNode: (node: HTMLDivElement) => void;
saveFixedNode: (node: HTMLDivElement) => void;
measure: () => void;
prepareMeasure: () => void;
updatePosition(): void;
lazyUpdatePosition(): void;
renderAffix: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element;
render(): JSX.Element;
}
export default Affix;