first commit

This commit is contained in:
rayd1o
2026-03-05 11:46:58 +08:00
commit e7033775d8
20657 changed files with 1988940 additions and 0 deletions

36
frontend/node_modules/antd/lib/tour/interface.d.ts generated vendored Normal file
View File

@@ -0,0 +1,36 @@
import type { ReactNode } from 'react';
import type { TourProps as RCTourProps, TourStepProps as RCTourStepProps } from '@rc-component/tour';
export interface TourProps extends Omit<RCTourProps, 'renderPanel'> {
steps?: TourStepProps[];
prefixCls?: string;
current?: number;
indicatorsRender?: (current: number, total: number) => ReactNode;
actionsRender?: TourStepProps['actionsRender'];
type?: 'default' | 'primary';
}
export interface TourStepProps extends RCTourStepProps {
cover?: ReactNode;
nextButtonProps?: {
children?: ReactNode;
onClick?: () => void;
className?: string;
style?: React.CSSProperties;
};
prevButtonProps?: {
children?: ReactNode;
onClick?: () => void;
className?: string;
style?: React.CSSProperties;
};
indicatorsRender?: (current: number, total: number) => ReactNode;
actionsRender?: (originNode: ReactNode, info: {
current: number;
total: number;
}) => ReactNode;
type?: 'default' | 'primary';
}
export interface TourLocale {
Next: string;
Previous: string;
Finish: string;
}