@tplc/business 0.7.4 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/components/lcb-city-select/lcb-city-select.vue +3 -1
- package/components/lcb-nav/AddressCommunity/index.vue +26 -13
- package/package.json +13 -13
- package/types/api/pay.d.ts +0 -47
- package/types/api/user.d.ts +0 -11
- package/types/components/lcb-absolute-config-layout/lcb-absolute-config-layout.vue.d.ts +0 -71
- package/types/components/lcb-absolute-config-layout/types.d.ts +0 -26
- package/types/components/lcb-action-view/components/CustomPopup/index.vue.d.ts +0 -37
- package/types/components/lcb-action-view/components/PayPopup/index.vue.d.ts +0 -44
- package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +0 -41
- package/types/components/lcb-action-view/types.d.ts +0 -136
- package/types/components/lcb-advert/lcb-advert.vue.d.ts +0 -28
- package/types/components/lcb-advert/types.d.ts +0 -3
- package/types/components/lcb-agreement-view/api.d.ts +0 -4
- package/types/components/lcb-agreement-view/lcb-agreement-view.vue.d.ts +0 -40
- package/types/components/lcb-agreement-view/types.d.ts +0 -4
- package/types/components/lcb-area/lcb-area.vue.d.ts +0 -74
- package/types/components/lcb-area/types.d.ts +0 -40
- package/types/components/lcb-area-picker/api/index.d.ts +0 -49
- package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +0 -79
- package/types/components/lcb-area-picker/types.d.ts +0 -3
- package/types/components/lcb-banner/lcb-banner.vue.d.ts +0 -80
- package/types/components/lcb-banner/types.d.ts +0 -66
- package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +0 -56
- package/types/components/lcb-banner-block/types.d.ts +0 -20
- package/types/components/lcb-block/lcb-block.vue.d.ts +0 -76
- package/types/components/lcb-block/types.d.ts +0 -62
- package/types/components/lcb-button/lcb-button.vue.d.ts +0 -74
- package/types/components/lcb-button/types.d.ts +0 -35
- package/types/components/lcb-calendar/api/index.d.ts +0 -17
- package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +0 -152
- package/types/components/lcb-calendar-filter/api.d.ts +0 -5
- package/types/components/lcb-calendar-filter/components/CalendarItem/index.vue.d.ts +0 -40
- package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +0 -66
- package/types/components/lcb-calendar-filter/types.d.ts +0 -29
- package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +0 -68
- package/types/components/lcb-calendar-search/types.d.ts +0 -9
- package/types/components/lcb-city-select/api/index.d.ts +0 -44
- package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +0 -53
- package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +0 -48
- package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +0 -5
- package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +0 -77
- package/types/components/lcb-city-select/types.d.ts +0 -5
- package/types/components/lcb-custom-content/lcb-custom-content.vue.d.ts +0 -40
- package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +0 -44
- package/types/components/lcb-dynamic-data/types.d.ts +0 -9
- package/types/components/lcb-fab/lcb-fab.vue.d.ts +0 -42
- package/types/components/lcb-fab/types.d.ts +0 -19
- package/types/components/lcb-filter-grid/lcb-filter-grid.vue.d.ts +0 -82
- package/types/components/lcb-filter-grid/types.d.ts +0 -20
- package/types/components/lcb-form/lcb-form.vue.d.ts +0 -73
- package/types/components/lcb-form/types.d.ts +0 -82
- package/types/components/lcb-gap/lcb-gap.vue.d.ts +0 -42
- package/types/components/lcb-gap/types.d.ts +0 -7
- package/types/components/lcb-grid/lcb-grid.vue.d.ts +0 -74
- package/types/components/lcb-grid/types.d.ts +0 -16
- package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +0 -68
- package/types/components/lcb-home-search/types.d.ts +0 -14
- package/types/components/lcb-icon/lcb-icon.vue.d.ts +0 -56
- package/types/components/lcb-icon/types.d.ts +0 -10
- package/types/components/lcb-image/Image/index.vue.d.ts +0 -56
- package/types/components/lcb-image/lcb-image.vue.d.ts +0 -70
- package/types/components/lcb-image/types.d.ts +0 -17
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +0 -113
- package/types/components/lcb-img-nav/types.d.ts +0 -61
- package/types/components/lcb-light-map/api.d.ts +0 -10
- package/types/components/lcb-light-map/lcb-light-map.vue.d.ts +0 -59
- package/types/components/lcb-light-map/types.d.ts +0 -69
- package/types/components/lcb-light-map/util.d.ts +0 -40
- package/types/components/lcb-list/api.d.ts +0 -67
- package/types/components/lcb-list/components/ActionView/index.vue.d.ts +0 -34
- package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +0 -32
- package/types/components/lcb-list/components/ComponentGroup/type.d.ts +0 -5
- package/types/components/lcb-list/components/FilterList/index.vue.d.ts +0 -50
- package/types/components/lcb-list/components/FilterList/type.d.ts +0 -11
- package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +0 -41
- package/types/components/lcb-list/components/FilterSelect/type.d.ts +0 -2
- package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +0 -64
- package/types/components/lcb-list/components/FilterSlider/types.d.ts +0 -2
- package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +0 -36
- package/types/components/lcb-list/components/FilterTabs/type.d.ts +0 -5
- package/types/components/lcb-list/components/FilterView/index.vue.d.ts +0 -36
- package/types/components/lcb-list/components/FilterView/type.d.ts +0 -8
- package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +0 -43
- package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +0 -76
- package/types/components/lcb-list/components/TagSelect/type.d.ts +0 -4
- package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +0 -38
- package/types/components/lcb-list/components/TreeSelect/type.d.ts +0 -6
- package/types/components/lcb-list/components/UnconditionedLayout/index.vue.d.ts +0 -85
- package/types/components/lcb-list/hooks/useSelect.d.ts +0 -31
- package/types/components/lcb-list/hooks/useSyncValues.d.ts +0 -5
- package/types/components/lcb-list/lcb-list.vue.d.ts +0 -139
- package/types/components/lcb-list/types.d.ts +0 -67
- package/types/components/lcb-map/lcb-map.vue.d.ts +0 -57
- package/types/components/lcb-map/types.d.ts +0 -36
- package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +0 -63
- package/types/components/lcb-nav/Search/index.vue.d.ts +0 -52
- package/types/components/lcb-nav/SharePopup/api.d.ts +0 -16
- package/types/components/lcb-nav/SharePopup/index.vue.d.ts +0 -37
- package/types/components/lcb-nav/Title/index.vue.d.ts +0 -28
- package/types/components/lcb-nav/lcb-nav.vue.d.ts +0 -106
- package/types/components/lcb-nav/types.d.ts +0 -72
- package/types/components/lcb-notice/api/index.d.ts +0 -18
- package/types/components/lcb-notice/lcb-notice.vue.d.ts +0 -77
- package/types/components/lcb-notice/types.d.ts +0 -14
- package/types/components/lcb-operation-actions/BtnViews.vue.d.ts +0 -62
- package/types/components/lcb-operation-actions/IconActionView.vue.d.ts +0 -61
- package/types/components/lcb-operation-actions/IconView.vue.d.ts +0 -41
- package/types/components/lcb-operation-actions/components/OrderDetLogistic/index.vue.d.ts +0 -51
- package/types/components/lcb-operation-actions/lcb-operation-actions.vue.d.ts +0 -34
- package/types/components/lcb-operation-actions/types.d.ts +0 -51
- package/types/components/lcb-order-payment/lcb-order-payment.vue.d.ts +0 -38
- package/types/components/lcb-order-payment/types.d.ts +0 -30
- package/types/components/lcb-particulars/api.d.ts +0 -45
- package/types/components/lcb-particulars/lcb-particulars.vue.d.ts +0 -56
- package/types/components/lcb-particulars/types.d.ts +0 -5
- package/types/components/lcb-poster/lcb-poster.vue.d.ts +0 -50
- package/types/components/lcb-product/components/ProductSkeleton/index.vue.d.ts +0 -70
- package/types/components/lcb-product/components/SKeletonItem/index.vue.d.ts +0 -28
- package/types/components/lcb-product/lcb-product.vue.d.ts +0 -96
- package/types/components/lcb-product/types.d.ts +0 -44
- package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +0 -117
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +0 -267
- package/types/components/lcb-product-item/types.d.ts +0 -133
- package/types/components/lcb-render-view/lcb-render-view.vue.d.ts +0 -35
- package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +0 -44
- package/types/components/lcb-rich-text/types.d.ts +0 -4
- package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +0 -68
- package/types/components/lcb-room-calendar/types.d.ts +0 -10
- package/types/components/lcb-search/api.d.ts +0 -23
- package/types/components/lcb-search/components/SearchHistory/index.vue.d.ts +0 -48
- package/types/components/lcb-search/components/SearchList/index.vue.d.ts +0 -56
- package/types/components/lcb-search/lcb-search.vue.d.ts +0 -1211
- package/types/components/lcb-search/types.d.ts +0 -29
- package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +0 -73
- package/types/components/lcb-swiper/types.d.ts +0 -17
- package/types/components/lcb-tabs/components/Imgs/index.vue.d.ts +0 -62
- package/types/components/lcb-tabs/components/Tabs/index.vue.d.ts +0 -65
- package/types/components/lcb-tabs/components/Tags/index.vue.d.ts +0 -68
- package/types/components/lcb-tabs/lcb-tabs.vue.d.ts +0 -65
- package/types/components/lcb-tabs/types.d.ts +0 -34
- package/types/components/lcb-tags/lcb-tags.vue.d.ts +0 -74
- package/types/components/lcb-tags/types.d.ts +0 -17
- package/types/components/lcb-text/lcb-text.vue.d.ts +0 -42
- package/types/components/lcb-text/types.d.ts +0 -4
- package/types/components/lcb-title/lcb-title.vue.d.ts +0 -114
- package/types/components/lcb-title/types.d.ts +0 -42
- package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +0 -62
- package/types/components/lcb-user-order/types.d.ts +0 -27
- package/types/components/lcb-user-top/Nums/index.vue.d.ts +0 -28
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +0 -158
- package/types/components/lcb-user-top/types.d.ts +0 -57
- package/types/components/lcb-video/lcb-video.vue.d.ts +0 -56
- package/types/components/lcb-video/types.d.ts +0 -10
- package/types/components/lcb-vip/api/index.d.ts +0 -70
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +0 -42
- package/types/components/lcb-vip/lcb-vip.vue.d.ts +0 -68
- package/types/components/lcb-vip/types.d.ts +0 -10
- package/types/components/lcb-waterfall/lcb-waterfall-item.vue.d.ts +0 -73
- package/types/components/lcb-waterfall/lcb-waterfall.vue.d.ts +0 -192
- package/types/components/lcb-wrapper-item/lcb-wrapper-item.vue.d.ts +0 -49
- package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +0 -71
- package/types/components/lcb-wrapper-list/types.d.ts +0 -14
- package/types/constants.d.ts +0 -17
- package/types/hooks/useAutoHeight.d.ts +0 -8
- package/types/hooks/useDynamicData.d.ts +0 -14
- package/types/hooks/useLocation.api.d.ts +0 -18
- package/types/hooks/useLocation.d.ts +0 -10
- package/types/hooks/usePageScroll.d.ts +0 -2
- package/types/hooks/usePay.d.ts +0 -13
- package/types/hooks/useSyncForm.d.ts +0 -5
- package/types/hooks/useUpload.api.d.ts +0 -12
- package/types/hooks/useUpload.d.ts +0 -21
- package/types/utils/formatter.d.ts +0 -5
- package/types/utils/history.d.ts +0 -5
- package/types/utils/request.d.ts +0 -6
- package/types/utils/transform.d.ts +0 -15
- package/types/utils/utils.d.ts +0 -51
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { PageListProps } from './components/FilterList/type'
|
|
2
|
-
import { LcbProductProps } from '../lcb-product/types'
|
|
3
|
-
import { LcbBlockProps } from '../lcb-block/types'
|
|
4
|
-
export interface LcbListProps extends LcbBlockProps {
|
|
5
|
-
pageFilterType?: string
|
|
6
|
-
pageListProps?: PageListProps
|
|
7
|
-
borderRadius?: number
|
|
8
|
-
styleMode?: 'default' | 'plain'
|
|
9
|
-
imageWidth?: number
|
|
10
|
-
border?: boolean
|
|
11
|
-
imageHeight?: number
|
|
12
|
-
titleLineClamp?: number
|
|
13
|
-
listType?: LcbProductProps['listType']
|
|
14
|
-
isSticky?: boolean
|
|
15
|
-
mode?: 'map' | 'list'
|
|
16
|
-
layoutType?: 'vertical' | 'horizontal'
|
|
17
|
-
imageRadius?: number
|
|
18
|
-
itemWidth?: number
|
|
19
|
-
dynamicScope?: string
|
|
20
|
-
gap?: number
|
|
21
|
-
borderWidth?: number
|
|
22
|
-
borderColor?: string
|
|
23
|
-
borderMode?: 'full' | 'content'
|
|
24
|
-
itemVerticalPadding?: number
|
|
25
|
-
itemHorizontalPadding?: number
|
|
26
|
-
itemContentPt?: number
|
|
27
|
-
itemContentPr?: number
|
|
28
|
-
itemContentPb?: number
|
|
29
|
-
itemContentPl?: number
|
|
30
|
-
wrapperBgColor?: string
|
|
31
|
-
wrapperTextColor?: string
|
|
32
|
-
hiddenBoxShadow?: boolean
|
|
33
|
-
tagSelectBgColor?: string
|
|
34
|
-
tagSelectTextColor?: string
|
|
35
|
-
tagSelectActiveBgColor?: string
|
|
36
|
-
tagSelectActiveTextColor?: string
|
|
37
|
-
/** 地图标签 */
|
|
38
|
-
mapTags?: {
|
|
39
|
-
label: string
|
|
40
|
-
value: string
|
|
41
|
-
}[]
|
|
42
|
-
mapTagMode?: 'single' | 'multiple'
|
|
43
|
-
mapConfigParams?: string
|
|
44
|
-
}
|
|
45
|
-
export interface Option {
|
|
46
|
-
label: string
|
|
47
|
-
value: string
|
|
48
|
-
custom?: boolean
|
|
49
|
-
max?: number
|
|
50
|
-
min?: number
|
|
51
|
-
children?: Option[]
|
|
52
|
-
unit?: string
|
|
53
|
-
valueName?: string
|
|
54
|
-
}
|
|
55
|
-
export interface FilterItemProps {
|
|
56
|
-
mode?: 'multiple' | 'single'
|
|
57
|
-
apiPath?: string
|
|
58
|
-
apiParams?: Record<string, any>
|
|
59
|
-
options?: Option[]
|
|
60
|
-
valueName: string
|
|
61
|
-
sortType?: boolean
|
|
62
|
-
tagSelectBgColor?: string
|
|
63
|
-
tagSelectTextColor?: string
|
|
64
|
-
tagSelectActiveBgColor?: string
|
|
65
|
-
tagSelectActiveTextColor?: string
|
|
66
|
-
}
|
|
67
|
-
export type ListFormChooserValues = Record<string, Option[] | undefined>
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { LcbListProps } from '@tplc/business/components/lcb-list/types'
|
|
2
|
-
import { LcbListInfo } from '@tplc/business/components/lcb-list/api'
|
|
3
|
-
declare const _default: import('vue').DefineComponent<
|
|
4
|
-
__VLS_WithDefaults<
|
|
5
|
-
__VLS_TypePropsToOption<LcbListProps & LcbListInfo>,
|
|
6
|
-
{
|
|
7
|
-
mapTagMode: string
|
|
8
|
-
}
|
|
9
|
-
>,
|
|
10
|
-
{},
|
|
11
|
-
unknown,
|
|
12
|
-
{},
|
|
13
|
-
{},
|
|
14
|
-
import('vue').ComponentOptionsMixin,
|
|
15
|
-
import('vue').ComponentOptionsMixin,
|
|
16
|
-
{},
|
|
17
|
-
string,
|
|
18
|
-
import('vue').PublicProps,
|
|
19
|
-
Readonly<
|
|
20
|
-
import('vue').ExtractPropTypes<
|
|
21
|
-
__VLS_WithDefaults<
|
|
22
|
-
__VLS_TypePropsToOption<LcbListProps & LcbListInfo>,
|
|
23
|
-
{
|
|
24
|
-
mapTagMode: string
|
|
25
|
-
}
|
|
26
|
-
>
|
|
27
|
-
>
|
|
28
|
-
>,
|
|
29
|
-
{
|
|
30
|
-
mapTagMode: 'single' | 'multiple'
|
|
31
|
-
},
|
|
32
|
-
{}
|
|
33
|
-
>
|
|
34
|
-
export default _default
|
|
35
|
-
type __VLS_WithDefaults<P, D> = {
|
|
36
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
37
|
-
? __VLS_Prettify<
|
|
38
|
-
P[K] & {
|
|
39
|
-
default: D[K]
|
|
40
|
-
}
|
|
41
|
-
>
|
|
42
|
-
: P[K]
|
|
43
|
-
}
|
|
44
|
-
type __VLS_Prettify<T> = {
|
|
45
|
-
[K in keyof T]: T[K]
|
|
46
|
-
} & {}
|
|
47
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
48
|
-
type __VLS_TypePropsToOption<T> = {
|
|
49
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
50
|
-
? {
|
|
51
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
52
|
-
}
|
|
53
|
-
: {
|
|
54
|
-
type: import('vue').PropType<T[K]>
|
|
55
|
-
required: true
|
|
56
|
-
}
|
|
57
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export interface MapMarker {
|
|
2
|
-
id: number
|
|
3
|
-
name?: string
|
|
4
|
-
longitude: number
|
|
5
|
-
latitude: number
|
|
6
|
-
iconPath: string
|
|
7
|
-
width: number
|
|
8
|
-
height: number
|
|
9
|
-
poiId: string
|
|
10
|
-
anchor?: {
|
|
11
|
-
x: number
|
|
12
|
-
y: number
|
|
13
|
-
}
|
|
14
|
-
alpha?: number
|
|
15
|
-
callout: {
|
|
16
|
-
textAlign: string
|
|
17
|
-
borderWidth: number
|
|
18
|
-
borderColor: string
|
|
19
|
-
content: string
|
|
20
|
-
color: string
|
|
21
|
-
fontSize: number
|
|
22
|
-
borderRadius: number
|
|
23
|
-
bgColor: string
|
|
24
|
-
padding: number
|
|
25
|
-
display: 'ALWAYS' | 'BYCLICK'
|
|
26
|
-
}
|
|
27
|
-
zIndex?: number
|
|
28
|
-
}
|
|
29
|
-
export interface MapItem {
|
|
30
|
-
mapPriceTips: string
|
|
31
|
-
latitude: number
|
|
32
|
-
productName: string
|
|
33
|
-
longitude: number
|
|
34
|
-
productId: string
|
|
35
|
-
link: any
|
|
36
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { AddressCommunityProps } from '../types'
|
|
2
|
-
declare let __VLS_typeProps: AddressCommunityProps
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
''?: string
|
|
5
|
-
} & typeof __VLS_typeProps
|
|
6
|
-
declare const _default: import('vue').DefineComponent<
|
|
7
|
-
__VLS_WithDefaults<
|
|
8
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
9
|
-
{
|
|
10
|
-
backgroundColor: string
|
|
11
|
-
color: string
|
|
12
|
-
fontSize: number
|
|
13
|
-
width: number
|
|
14
|
-
mode: string
|
|
15
|
-
popupWidth: number
|
|
16
|
-
switchType: string
|
|
17
|
-
}
|
|
18
|
-
>,
|
|
19
|
-
{},
|
|
20
|
-
unknown,
|
|
21
|
-
{},
|
|
22
|
-
{},
|
|
23
|
-
import('vue').ComponentOptionsMixin,
|
|
24
|
-
import('vue').ComponentOptionsMixin,
|
|
25
|
-
any,
|
|
26
|
-
string,
|
|
27
|
-
import('vue').PublicProps,
|
|
28
|
-
any,
|
|
29
|
-
{
|
|
30
|
-
mode: 'normal' | 'menu'
|
|
31
|
-
width: number
|
|
32
|
-
backgroundColor: string
|
|
33
|
-
color: string
|
|
34
|
-
fontSize: number
|
|
35
|
-
popupWidth: number
|
|
36
|
-
switchType: 'merchant' | 'address'
|
|
37
|
-
},
|
|
38
|
-
{}
|
|
39
|
-
>
|
|
40
|
-
export default _default
|
|
41
|
-
type __VLS_WithDefaults<P, D> = {
|
|
42
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
43
|
-
? __VLS_Prettify<
|
|
44
|
-
P[K] & {
|
|
45
|
-
default: D[K]
|
|
46
|
-
}
|
|
47
|
-
>
|
|
48
|
-
: P[K]
|
|
49
|
-
}
|
|
50
|
-
type __VLS_Prettify<T> = {
|
|
51
|
-
[K in keyof T]: T[K]
|
|
52
|
-
} & {}
|
|
53
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
54
|
-
type __VLS_TypePropsToOption<T> = {
|
|
55
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
56
|
-
? {
|
|
57
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
58
|
-
}
|
|
59
|
-
: {
|
|
60
|
-
type: import('vue').PropType<T[K]>
|
|
61
|
-
required: true
|
|
62
|
-
}
|
|
63
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue'
|
|
2
|
-
import { LcbActionViewProps } from '../../lcb-action-view/types'
|
|
3
|
-
declare const _default: import('vue').DefineComponent<
|
|
4
|
-
{
|
|
5
|
-
link: {
|
|
6
|
-
type: PropType<LcbActionViewProps>
|
|
7
|
-
}
|
|
8
|
-
searchText: {
|
|
9
|
-
type: StringConstructor
|
|
10
|
-
default: string
|
|
11
|
-
}
|
|
12
|
-
left: {
|
|
13
|
-
type: BooleanConstructor
|
|
14
|
-
}
|
|
15
|
-
back: {
|
|
16
|
-
type: BooleanConstructor
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
{},
|
|
20
|
-
unknown,
|
|
21
|
-
{},
|
|
22
|
-
{},
|
|
23
|
-
import('vue').ComponentOptionsMixin,
|
|
24
|
-
import('vue').ComponentOptionsMixin,
|
|
25
|
-
{},
|
|
26
|
-
string,
|
|
27
|
-
import('vue').PublicProps,
|
|
28
|
-
Readonly<
|
|
29
|
-
import('vue').ExtractPropTypes<{
|
|
30
|
-
link: {
|
|
31
|
-
type: PropType<LcbActionViewProps>
|
|
32
|
-
}
|
|
33
|
-
searchText: {
|
|
34
|
-
type: StringConstructor
|
|
35
|
-
default: string
|
|
36
|
-
}
|
|
37
|
-
left: {
|
|
38
|
-
type: BooleanConstructor
|
|
39
|
-
}
|
|
40
|
-
back: {
|
|
41
|
-
type: BooleanConstructor
|
|
42
|
-
}
|
|
43
|
-
}>
|
|
44
|
-
>,
|
|
45
|
-
{
|
|
46
|
-
left: boolean
|
|
47
|
-
back: boolean
|
|
48
|
-
searchText: string
|
|
49
|
-
},
|
|
50
|
-
{}
|
|
51
|
-
>
|
|
52
|
-
export default _default
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** 获取分享配置 */
|
|
2
|
-
export declare const getShareConfigList: (data: {
|
|
3
|
-
page: string
|
|
4
|
-
productId?: string
|
|
5
|
-
productType?: string
|
|
6
|
-
}) => Promise<
|
|
7
|
-
import('../../../action').IResData<{
|
|
8
|
-
[key: string]: unknown
|
|
9
|
-
shareConfigList: {
|
|
10
|
-
backgroundImage: string
|
|
11
|
-
staticParam: string
|
|
12
|
-
coverImg: string
|
|
13
|
-
styleConfig: string
|
|
14
|
-
}[]
|
|
15
|
-
}>
|
|
16
|
-
>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
declare let __VLS_typeProps: {
|
|
2
|
-
params?: Record<string, any>
|
|
3
|
-
}
|
|
4
|
-
type __VLS_PublicProps = {
|
|
5
|
-
modelValue?: any
|
|
6
|
-
} & typeof __VLS_typeProps
|
|
7
|
-
declare const _default: import('vue').DefineComponent<
|
|
8
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
9
|
-
{},
|
|
10
|
-
unknown,
|
|
11
|
-
{},
|
|
12
|
-
{},
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
import('vue').ComponentOptionsMixin,
|
|
15
|
-
{
|
|
16
|
-
'update:modelValue': (modelValue: any) => void
|
|
17
|
-
},
|
|
18
|
-
string,
|
|
19
|
-
import('vue').PublicProps,
|
|
20
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
21
|
-
'onUpdate:modelValue'?: ((modelValue: any) => any) | undefined
|
|
22
|
-
},
|
|
23
|
-
{},
|
|
24
|
-
{}
|
|
25
|
-
>
|
|
26
|
-
export default _default
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
30
|
-
? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
32
|
-
}
|
|
33
|
-
: {
|
|
34
|
-
type: import('vue').PropType<T[K]>
|
|
35
|
-
required: true
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { NavTitleProps } from '../types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_TypePropsToOption<NavTitleProps>,
|
|
4
|
-
{},
|
|
5
|
-
unknown,
|
|
6
|
-
{},
|
|
7
|
-
{},
|
|
8
|
-
import('vue').ComponentOptionsMixin,
|
|
9
|
-
import('vue').ComponentOptionsMixin,
|
|
10
|
-
{},
|
|
11
|
-
string,
|
|
12
|
-
import('vue').PublicProps,
|
|
13
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<NavTitleProps>>>,
|
|
14
|
-
{},
|
|
15
|
-
{}
|
|
16
|
-
>
|
|
17
|
-
export default _default
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
19
|
-
type __VLS_TypePropsToOption<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
21
|
-
? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
23
|
-
}
|
|
24
|
-
: {
|
|
25
|
-
type: import('vue').PropType<T[K]>
|
|
26
|
-
required: true
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { NavProps } from './types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_WithDefaults<
|
|
4
|
-
__VLS_TypePropsToOption<NavProps>,
|
|
5
|
-
{
|
|
6
|
-
styleGroup: number
|
|
7
|
-
titleLocation: string
|
|
8
|
-
topStyle: number
|
|
9
|
-
title: string
|
|
10
|
-
titleMode: string
|
|
11
|
-
backgroundType: string
|
|
12
|
-
colorMode: string
|
|
13
|
-
backColor: string
|
|
14
|
-
contentColor: string
|
|
15
|
-
logoImg: string
|
|
16
|
-
back: boolean
|
|
17
|
-
capsuleMode: string
|
|
18
|
-
immersionMode: number
|
|
19
|
-
textSize: number
|
|
20
|
-
fontWeight: number
|
|
21
|
-
textColor: string
|
|
22
|
-
keyFromUser: boolean
|
|
23
|
-
showAddressCommunity: boolean
|
|
24
|
-
}
|
|
25
|
-
>,
|
|
26
|
-
{},
|
|
27
|
-
unknown,
|
|
28
|
-
{},
|
|
29
|
-
{},
|
|
30
|
-
import('vue').ComponentOptionsMixin,
|
|
31
|
-
import('vue').ComponentOptionsMixin,
|
|
32
|
-
{},
|
|
33
|
-
string,
|
|
34
|
-
import('vue').PublicProps,
|
|
35
|
-
Readonly<
|
|
36
|
-
import('vue').ExtractPropTypes<
|
|
37
|
-
__VLS_WithDefaults<
|
|
38
|
-
__VLS_TypePropsToOption<NavProps>,
|
|
39
|
-
{
|
|
40
|
-
styleGroup: number
|
|
41
|
-
titleLocation: string
|
|
42
|
-
topStyle: number
|
|
43
|
-
title: string
|
|
44
|
-
titleMode: string
|
|
45
|
-
backgroundType: string
|
|
46
|
-
colorMode: string
|
|
47
|
-
backColor: string
|
|
48
|
-
contentColor: string
|
|
49
|
-
logoImg: string
|
|
50
|
-
back: boolean
|
|
51
|
-
capsuleMode: string
|
|
52
|
-
immersionMode: number
|
|
53
|
-
textSize: number
|
|
54
|
-
fontWeight: number
|
|
55
|
-
textColor: string
|
|
56
|
-
keyFromUser: boolean
|
|
57
|
-
showAddressCommunity: boolean
|
|
58
|
-
}
|
|
59
|
-
>
|
|
60
|
-
>
|
|
61
|
-
>,
|
|
62
|
-
{
|
|
63
|
-
title: string
|
|
64
|
-
back: boolean
|
|
65
|
-
fontWeight: number
|
|
66
|
-
keyFromUser: boolean
|
|
67
|
-
styleGroup: 1 | 2 | 3 | 4
|
|
68
|
-
textSize: number
|
|
69
|
-
topStyle: 1 | 2
|
|
70
|
-
immersionMode: 1 | 2 | 3
|
|
71
|
-
colorMode: 'custom' | 'default'
|
|
72
|
-
backColor: string
|
|
73
|
-
backgroundType: 'img' | 'color'
|
|
74
|
-
contentColor: string
|
|
75
|
-
capsuleMode: 'light' | 'dark'
|
|
76
|
-
showAddressCommunity: boolean
|
|
77
|
-
titleMode: 'text' | 'img'
|
|
78
|
-
logoImg: string
|
|
79
|
-
titleLocation: 'left' | 'center'
|
|
80
|
-
},
|
|
81
|
-
{}
|
|
82
|
-
>
|
|
83
|
-
export default _default
|
|
84
|
-
type __VLS_WithDefaults<P, D> = {
|
|
85
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
86
|
-
? __VLS_Prettify<
|
|
87
|
-
P[K] & {
|
|
88
|
-
default: D[K]
|
|
89
|
-
}
|
|
90
|
-
>
|
|
91
|
-
: P[K]
|
|
92
|
-
}
|
|
93
|
-
type __VLS_Prettify<T> = {
|
|
94
|
-
[K in keyof T]: T[K]
|
|
95
|
-
} & {}
|
|
96
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
97
|
-
type __VLS_TypePropsToOption<T> = {
|
|
98
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
99
|
-
? {
|
|
100
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
101
|
-
}
|
|
102
|
-
: {
|
|
103
|
-
type: import('vue').PropType<T[K]>
|
|
104
|
-
required: true
|
|
105
|
-
}
|
|
106
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { LcbActionViewProps } from '../lcb-action-view/types'
|
|
2
|
-
export interface ICapsule {
|
|
3
|
-
icon: string
|
|
4
|
-
action:
|
|
5
|
-
| 'translate'
|
|
6
|
-
| 'scanCode'
|
|
7
|
-
| 'search'
|
|
8
|
-
| 'home'
|
|
9
|
-
| 'setting'
|
|
10
|
-
| 'back'
|
|
11
|
-
| 'share'
|
|
12
|
-
| 'notification'
|
|
13
|
-
dependKey?: string
|
|
14
|
-
keyFromUser?: string
|
|
15
|
-
dependKeyCompareValue?: string
|
|
16
|
-
reverse?: boolean
|
|
17
|
-
}
|
|
18
|
-
export interface AddressCommunityProps {
|
|
19
|
-
backgroundColor?: string
|
|
20
|
-
color?: string
|
|
21
|
-
fontSize?: number
|
|
22
|
-
width?: number
|
|
23
|
-
mode: 'normal' | 'menu'
|
|
24
|
-
popupWidth?: number
|
|
25
|
-
switchType?: 'merchant' | 'address'
|
|
26
|
-
}
|
|
27
|
-
export interface NavTitleProps {
|
|
28
|
-
/** 模式 */
|
|
29
|
-
titleMode?: 'text' | 'img'
|
|
30
|
-
/** 标题 */
|
|
31
|
-
title?: string
|
|
32
|
-
/** 图片 */
|
|
33
|
-
logoImg?: string
|
|
34
|
-
typographyTextBackground?: string
|
|
35
|
-
/** 方位 */
|
|
36
|
-
titleLocation?: 'left' | 'center'
|
|
37
|
-
/** 是否沉浸式 */
|
|
38
|
-
opacity?: number
|
|
39
|
-
textSize?: number
|
|
40
|
-
fontWeight?: number
|
|
41
|
-
keyFromUser?: boolean
|
|
42
|
-
}
|
|
43
|
-
export interface NavProps extends NavTitleProps {
|
|
44
|
-
/** 是否固定 */
|
|
45
|
-
fixed?: boolean
|
|
46
|
-
/** 是否沉浸式状态栏 */
|
|
47
|
-
topStyle?: 1 | 2
|
|
48
|
-
immersionMode?: 1 | 2 | 3
|
|
49
|
-
/** 模式 1.标题 2.搜索 3.导航 4.沉浸式 */
|
|
50
|
-
styleGroup?: 1 | 2 | 3 | 4
|
|
51
|
-
/** 背景图片 */
|
|
52
|
-
backgroundImage?: string
|
|
53
|
-
/** 颜色模式 */
|
|
54
|
-
colorMode?: 'custom' | 'default'
|
|
55
|
-
/** 背景颜色 */
|
|
56
|
-
backColor?: string
|
|
57
|
-
/** 背景样式 */
|
|
58
|
-
backgroundType?: 'img' | 'color'
|
|
59
|
-
/** 内容颜色 */
|
|
60
|
-
contentColor?: string
|
|
61
|
-
searchText?: string
|
|
62
|
-
/** 是否显示返回按钮 */
|
|
63
|
-
back?: boolean
|
|
64
|
-
/** 胶囊样式 */
|
|
65
|
-
capsuleMode?: 'light' | 'dark'
|
|
66
|
-
/** 胶囊列表 */
|
|
67
|
-
capsules?: ICapsule[]
|
|
68
|
-
searchLink?: LcbActionViewProps
|
|
69
|
-
rightIcons?: ICapsule[]
|
|
70
|
-
showAddressCommunity?: boolean
|
|
71
|
-
addressCommunityProps?: AddressCommunityProps
|
|
72
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface AdvertItem {
|
|
2
|
-
adContent: string
|
|
3
|
-
advertId: string
|
|
4
|
-
closeTime: number
|
|
5
|
-
closeType: string
|
|
6
|
-
createDate: string
|
|
7
|
-
jumpType: number
|
|
8
|
-
lastModifyDate: string
|
|
9
|
-
pageType: string
|
|
10
|
-
type: number
|
|
11
|
-
title?: string
|
|
12
|
-
weightSort: string
|
|
13
|
-
}
|
|
14
|
-
/** 获取公告 */
|
|
15
|
-
export declare const getAdvertList: (data: {
|
|
16
|
-
/** 1: 文字 2: 图片 */
|
|
17
|
-
type: 1 | 2
|
|
18
|
-
}) => Promise<import('../../../action').IResData<AdvertItem[]>>
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { LcbNoticeBarProps } from './types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_WithDefaults<
|
|
4
|
-
__VLS_TypePropsToOption<LcbNoticeBarProps>,
|
|
5
|
-
{
|
|
6
|
-
speed: number
|
|
7
|
-
borderColor: string
|
|
8
|
-
direction: string
|
|
9
|
-
backgroundColor: string
|
|
10
|
-
paddingVertical: number
|
|
11
|
-
rightArrow: boolean
|
|
12
|
-
color: string
|
|
13
|
-
iconSize: number
|
|
14
|
-
}
|
|
15
|
-
>,
|
|
16
|
-
{},
|
|
17
|
-
unknown,
|
|
18
|
-
{},
|
|
19
|
-
{},
|
|
20
|
-
import('vue').ComponentOptionsMixin,
|
|
21
|
-
import('vue').ComponentOptionsMixin,
|
|
22
|
-
{},
|
|
23
|
-
string,
|
|
24
|
-
import('vue').PublicProps,
|
|
25
|
-
Readonly<
|
|
26
|
-
import('vue').ExtractPropTypes<
|
|
27
|
-
__VLS_WithDefaults<
|
|
28
|
-
__VLS_TypePropsToOption<LcbNoticeBarProps>,
|
|
29
|
-
{
|
|
30
|
-
speed: number
|
|
31
|
-
borderColor: string
|
|
32
|
-
direction: string
|
|
33
|
-
backgroundColor: string
|
|
34
|
-
paddingVertical: number
|
|
35
|
-
rightArrow: boolean
|
|
36
|
-
color: string
|
|
37
|
-
iconSize: number
|
|
38
|
-
}
|
|
39
|
-
>
|
|
40
|
-
>
|
|
41
|
-
>,
|
|
42
|
-
{
|
|
43
|
-
backgroundColor: string
|
|
44
|
-
color: string
|
|
45
|
-
direction: import('@tplc/wot/types/components/wd-notice-bar/types').NoticeBarScrollDirection
|
|
46
|
-
iconSize: number
|
|
47
|
-
paddingVertical: number
|
|
48
|
-
borderColor: string
|
|
49
|
-
speed: number
|
|
50
|
-
rightArrow: boolean
|
|
51
|
-
},
|
|
52
|
-
{}
|
|
53
|
-
>
|
|
54
|
-
export default _default
|
|
55
|
-
type __VLS_WithDefaults<P, D> = {
|
|
56
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
57
|
-
? __VLS_Prettify<
|
|
58
|
-
P[K] & {
|
|
59
|
-
default: D[K]
|
|
60
|
-
}
|
|
61
|
-
>
|
|
62
|
-
: P[K]
|
|
63
|
-
}
|
|
64
|
-
type __VLS_Prettify<T> = {
|
|
65
|
-
[K in keyof T]: T[K]
|
|
66
|
-
} & {}
|
|
67
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
68
|
-
type __VLS_TypePropsToOption<T> = {
|
|
69
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
70
|
-
? {
|
|
71
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
72
|
-
}
|
|
73
|
-
: {
|
|
74
|
-
type: import('vue').PropType<T[K]>
|
|
75
|
-
required: true
|
|
76
|
-
}
|
|
77
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NoticeBarScrollDirection } from '@tplc/wot/types/components/wd-notice-bar/types'
|
|
2
|
-
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
-
export interface LcbNoticeBarProps extends LcbBlockProps {
|
|
4
|
-
vertical?: boolean
|
|
5
|
-
/** -1 无 0 图标 1 自定义 */
|
|
6
|
-
iconType?: -1 | 0 | 1
|
|
7
|
-
direction?: NoticeBarScrollDirection
|
|
8
|
-
speed?: number
|
|
9
|
-
textColor?: string
|
|
10
|
-
pageType?: string
|
|
11
|
-
rightArrow?: boolean
|
|
12
|
-
icon?: string
|
|
13
|
-
iconSize?: number
|
|
14
|
-
}
|