UNPKG

@tplc/business

Version:

52 lines (51 loc) 1.26 kB
import type { ButtonProps } from '@tplc/wot/components/wd-button/types' import { InputType } from '@tplc/wot/components/wd-input/types' export interface IconList { iconName: string iconUrl: string iconNameColor?: string jumpUrl?: string jumpPage?: string jumpType?: 1 | 2 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 88 buttonList?: IPageBtn[] iconType?: number iconKey?: string } export interface IPageBtn { buttonKey: string buttonName: string name: string buttonType: number popUpFlag: boolean popUpTip: string content: string popUpTitle: string popUpRequestInfo: { defaultValue?: string inputKey: string inputType: InputType | undefined } requestParam?: { orderNo: string } refreshCurrentPage?: boolean jumpType?: 1 | 2 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 88 jumpUrl: string requestUrl: string jumpPage?: string styleContent: { buttonType: string style: { width: string } } buttonProps?: ButtonProps autoJumpSecond?: number } export interface LcbOperationActionsProps { buttonList: IPageBtn[] iconList?: IconList[] size?: 'small' | 'medium' | 'large' noIcons?: boolean countObject?: Record<string, number> }