UNPKG

@tplc/business

Version:

870 lines (869 loc) 24.8 kB
import { LcbSearchProps } from './types' declare const _default: import('vue').DefineComponent< __VLS_WithDefaults< __VLS_TypePropsToOption<LcbSearchProps>, { placeholder: string iconSize: string borderWidth: number color: string iconColor: string gap: number paddingVertical: number marginHorizontal: number cityColor: string citySize: number cityIconSize: number radius: number paddingHorizontal: number borderColor: string cityIconColor: string lineColor: string lineWidth: number linePadding: number lineHeight: number iconType: string mode: string fontSize: number initFocus: boolean showCancel: boolean } >, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, | Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption< { placeholder?: string icon?: string url?: string iconSize?: string borderWidth?: number iconColor?: string gap?: number link?: import('../lcb-action-view/types').LcbActionViewProps iconType?: 'icon' | 'img' mode?: 'search' | 'link' productTypeList?: string[] city?: boolean cityColor?: string citySize?: number cityIconSize?: number cityIconColor?: string lineColor?: string lineWidth?: number linePadding?: number lineHeight?: number historyKey?: string showCancel?: boolean initFocus?: boolean blockBackground?: string } & { jumpUrl?: string urlParams?: string customClass?: string customStyle?: import('vue').StyleValue renderMode?: 'view' | 'button' autoJumpSecond?: number } & { jumpType?: | 1 | 2 | 10 | 11 | 12 | 13 | 14 | 16 | 21 | 22 | 23 | 24 | 25 | 26 | 88 | 101 | 102 | 103 | 104 | 241 | 143 jumpAppid?: string content?: string title?: string position?: string } & import('../lcb-block/types').LcbBlockProps >, { placeholder: string iconSize: string borderWidth: number color: string iconColor: string gap: number paddingVertical: number marginHorizontal: number cityColor: string citySize: number cityIconSize: number radius: number paddingHorizontal: number borderColor: string cityIconColor: string lineColor: string lineWidth: number linePadding: number lineHeight: number iconType: string mode: string fontSize: number initFocus: boolean showCancel: boolean } > > > | Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption< { placeholder?: string icon?: string url?: string iconSize?: string borderWidth?: number iconColor?: string gap?: number link?: import('../lcb-action-view/types').LcbActionViewProps iconType?: 'icon' | 'img' mode?: 'search' | 'link' productTypeList?: string[] city?: boolean cityColor?: string citySize?: number cityIconSize?: number cityIconColor?: string lineColor?: string lineWidth?: number linePadding?: number lineHeight?: number historyKey?: string showCancel?: boolean initFocus?: boolean blockBackground?: string } & { jumpUrl?: string urlParams?: string customClass?: string customStyle?: import('vue').StyleValue renderMode?: 'view' | 'button' autoJumpSecond?: number } & { jumpType: 30 phoneNumber?: string } & import('../lcb-block/types').LcbBlockProps >, { placeholder: string iconSize: string borderWidth: number color: string iconColor: string gap: number paddingVertical: number marginHorizontal: number cityColor: string citySize: number cityIconSize: number radius: number paddingHorizontal: number borderColor: string cityIconColor: string lineColor: string lineWidth: number linePadding: number lineHeight: number iconType: string mode: string fontSize: number initFocus: boolean showCancel: boolean } > > > | Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption< { placeholder?: string icon?: string url?: string iconSize?: string borderWidth?: number iconColor?: string gap?: number link?: import('../lcb-action-view/types').LcbActionViewProps iconType?: 'icon' | 'img' mode?: 'search' | 'link' productTypeList?: string[] city?: boolean cityColor?: string citySize?: number cityIconSize?: number cityIconColor?: string lineColor?: string lineWidth?: number linePadding?: number lineHeight?: number historyKey?: string showCancel?: boolean initFocus?: boolean blockBackground?: string } & { jumpUrl?: string urlParams?: string customClass?: string customStyle?: import('vue').StyleValue renderMode?: 'view' | 'button' autoJumpSecond?: number } & { jumpType: 17 requestInfo?: { requestUrl: string requestParams: Record<string, any> refreshSchemaPage?: boolean } } & import('../lcb-block/types').LcbBlockProps >, { placeholder: string iconSize: string borderWidth: number color: string iconColor: string gap: number paddingVertical: number marginHorizontal: number cityColor: string citySize: number cityIconSize: number radius: number paddingHorizontal: number borderColor: string cityIconColor: string lineColor: string lineWidth: number linePadding: number lineHeight: number iconType: string mode: string fontSize: number initFocus: boolean showCancel: boolean } > > > | Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption< { placeholder?: string icon?: string url?: string iconSize?: string borderWidth?: number iconColor?: string gap?: number link?: import('../lcb-action-view/types').LcbActionViewProps iconType?: 'icon' | 'img' mode?: 'search' | 'link' productTypeList?: string[] city?: boolean cityColor?: string citySize?: number cityIconSize?: number cityIconColor?: string lineColor?: string lineWidth?: number linePadding?: number lineHeight?: number historyKey?: string showCancel?: boolean initFocus?: boolean blockBackground?: string } & { jumpUrl?: string urlParams?: string customClass?: string customStyle?: import('vue').StyleValue renderMode?: 'view' | 'button' autoJumpSecond?: number } & { jumpType: 105 addressInfo?: { address: string latitude: number longitude: number name: string } } & import('../lcb-block/types').LcbBlockProps >, { placeholder: string iconSize: string borderWidth: number color: string iconColor: string gap: number paddingVertical: number marginHorizontal: number cityColor: string citySize: number cityIconSize: number radius: number paddingHorizontal: number borderColor: string cityIconColor: string lineColor: string lineWidth: number linePadding: number lineHeight: number iconType: string mode: string fontSize: number initFocus: boolean showCancel: boolean } > > > | Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption< { placeholder?: string icon?: string url?: string iconSize?: string borderWidth?: number iconColor?: string gap?: number link?: import('../lcb-action-view/types').LcbActionViewProps iconType?: 'icon' | 'img' mode?: 'search' | 'link' productTypeList?: string[] city?: boolean cityColor?: string citySize?: number cityIconSize?: number cityIconColor?: string lineColor?: string lineWidth?: number linePadding?: number lineHeight?: number historyKey?: string showCancel?: boolean initFocus?: boolean blockBackground?: string } & { jumpUrl?: string urlParams?: string customClass?: string customStyle?: import('vue').StyleValue renderMode?: 'view' | 'button' autoJumpSecond?: number } & { jumpType: 106 requestParam?: Record<string, any> } & import('../lcb-block/types').LcbBlockProps >, { placeholder: string iconSize: string borderWidth: number color: string iconColor: string gap: number paddingVertical: number marginHorizontal: number cityColor: string citySize: number cityIconSize: number radius: number paddingHorizontal: number borderColor: string cityIconColor: string lineColor: string lineWidth: number linePadding: number lineHeight: number iconType: string mode: string fontSize: number initFocus: boolean showCancel: boolean } > > > | Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption< { placeholder?: string icon?: string url?: string iconSize?: string borderWidth?: number iconColor?: string gap?: number link?: import('../lcb-action-view/types').LcbActionViewProps iconType?: 'icon' | 'img' mode?: 'search' | 'link' productTypeList?: string[] city?: boolean cityColor?: string citySize?: number cityIconSize?: number cityIconColor?: string lineColor?: string lineWidth?: number linePadding?: number lineHeight?: number historyKey?: string showCancel?: boolean initFocus?: boolean blockBackground?: string } & { jumpUrl?: string urlParams?: string customClass?: string customStyle?: import('vue').StyleValue renderMode?: 'view' | 'button' autoJumpSecond?: number } & { jumpType: 141 } & import('../lcb-block/types').LcbBlockProps >, { placeholder: string iconSize: string borderWidth: number color: string iconColor: string gap: number paddingVertical: number marginHorizontal: number cityColor: string citySize: number cityIconSize: number radius: number paddingHorizontal: number borderColor: string cityIconColor: string lineColor: string lineWidth: number linePadding: number lineHeight: number iconType: string mode: string fontSize: number initFocus: boolean showCancel: boolean } > > > | Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption< { placeholder?: string icon?: string url?: string iconSize?: string borderWidth?: number iconColor?: string gap?: number link?: import('../lcb-action-view/types').LcbActionViewProps iconType?: 'icon' | 'img' mode?: 'search' | 'link' productTypeList?: string[] city?: boolean cityColor?: string citySize?: number cityIconSize?: number cityIconColor?: string lineColor?: string lineWidth?: number linePadding?: number lineHeight?: number historyKey?: string showCancel?: boolean initFocus?: boolean blockBackground?: string } & { jumpUrl?: string urlParams?: string customClass?: string customStyle?: import('vue').StyleValue renderMode?: 'view' | 'button' autoJumpSecond?: number } & { jumpType: 107 content: { imgUrl: string typeName: string }[] } & import('../lcb-block/types').LcbBlockProps >, { placeholder: string iconSize: string borderWidth: number color: string iconColor: string gap: number paddingVertical: number marginHorizontal: number cityColor: string citySize: number cityIconSize: number radius: number paddingHorizontal: number borderColor: string cityIconColor: string lineColor: string lineWidth: number linePadding: number lineHeight: number iconType: string mode: string fontSize: number initFocus: boolean showCancel: boolean } > > > | Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption< { placeholder?: string icon?: string url?: string iconSize?: string borderWidth?: number iconColor?: string gap?: number link?: import('../lcb-action-view/types').LcbActionViewProps iconType?: 'icon' | 'img' mode?: 'search' | 'link' productTypeList?: string[] city?: boolean cityColor?: string citySize?: number cityIconSize?: number cityIconColor?: string lineColor?: string lineWidth?: number linePadding?: number lineHeight?: number historyKey?: string showCancel?: boolean initFocus?: boolean blockBackground?: string } & { jumpUrl?: string urlParams?: string customClass?: string customStyle?: import('vue').StyleValue renderMode?: 'view' | 'button' autoJumpSecond?: number } & { jumpType: 142 events: string } & import('../lcb-block/types').LcbBlockProps >, { placeholder: string iconSize: string borderWidth: number color: string iconColor: string gap: number paddingVertical: number marginHorizontal: number cityColor: string citySize: number cityIconSize: number radius: number paddingHorizontal: number borderColor: string cityIconColor: string lineColor: string lineWidth: number linePadding: number lineHeight: number iconType: string mode: string fontSize: number initFocus: boolean showCancel: boolean } > > >, | { mode: 'search' | 'link' color: string lineHeight: number radius: number iconSize: string iconColor: string marginHorizontal: number paddingHorizontal: number paddingVertical: number fontSize: number borderColor: string borderWidth: number gap: number placeholder: string lineWidth: number iconType: 'icon' | 'img' cityColor: string citySize: number cityIconSize: number cityIconColor: string lineColor: string linePadding: number showCancel: boolean initFocus: boolean } | { mode: 'search' | 'link' color: string lineHeight: number radius: number iconSize: string iconColor: string marginHorizontal: number paddingHorizontal: number paddingVertical: number fontSize: number borderColor: string borderWidth: number gap: number placeholder: string lineWidth: number iconType: 'icon' | 'img' cityColor: string citySize: number cityIconSize: number cityIconColor: string lineColor: string linePadding: number showCancel: boolean initFocus: boolean } | { mode: 'search' | 'link' color: string lineHeight: number radius: number iconSize: string iconColor: string marginHorizontal: number paddingHorizontal: number paddingVertical: number fontSize: number borderColor: string borderWidth: number gap: number placeholder: string lineWidth: number iconType: 'icon' | 'img' cityColor: string citySize: number cityIconSize: number cityIconColor: string lineColor: string linePadding: number showCancel: boolean initFocus: boolean } | { mode: 'search' | 'link' color: string lineHeight: number radius: number iconSize: string iconColor: string marginHorizontal: number paddingHorizontal: number paddingVertical: number fontSize: number borderColor: string borderWidth: number gap: number placeholder: string lineWidth: number iconType: 'icon' | 'img' cityColor: string citySize: number cityIconSize: number cityIconColor: string lineColor: string linePadding: number showCancel: boolean initFocus: boolean } | { mode: 'search' | 'link' color: string lineHeight: number radius: number iconSize: string iconColor: string marginHorizontal: number paddingHorizontal: number paddingVertical: number fontSize: number borderColor: string borderWidth: number gap: number placeholder: string lineWidth: number iconType: 'icon' | 'img' cityColor: string citySize: number cityIconSize: number cityIconColor: string lineColor: string linePadding: number showCancel: boolean initFocus: boolean } | { mode: 'search' | 'link' color: string lineHeight: number radius: number iconSize: string iconColor: string marginHorizontal: number paddingHorizontal: number paddingVertical: number fontSize: number borderColor: string borderWidth: number gap: number placeholder: string lineWidth: number iconType: 'icon' | 'img' cityColor: string citySize: number cityIconSize: number cityIconColor: string lineColor: string linePadding: number showCancel: boolean initFocus: boolean } | { mode: 'search' | 'link' color: string lineHeight: number radius: number iconSize: string iconColor: string marginHorizontal: number paddingHorizontal: number paddingVertical: number fontSize: number borderColor: string borderWidth: number gap: number placeholder: string lineWidth: number iconType: 'icon' | 'img' cityColor: string citySize: number cityIconSize: number cityIconColor: string lineColor: string linePadding: number showCancel: boolean initFocus: boolean } | { mode: 'search' | 'link' color: string lineHeight: number radius: number iconSize: string iconColor: string marginHorizontal: number paddingHorizontal: number paddingVertical: number fontSize: number borderColor: string borderWidth: number gap: number placeholder: string lineWidth: number iconType: 'icon' | 'img' cityColor: string citySize: number cityIconSize: number cityIconColor: string lineColor: string linePadding: number showCancel: boolean initFocus: boolean }, {} > export default _default type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify< P[K] & { default: D[K] } > : P[K] } type __VLS_Prettify<T> = { [K in keyof T]: T[K] } & {} type __VLS_NonUndefinedable<T> = T extends undefined ? never : T type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>> } : { type: import('vue').PropType<T[K]> required: true } }