@tplc/business 0.7.6 → 0.7.8
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 +9 -0
- package/components/lcb-nav/AddressCommunity/index.vue +1 -1
- package/components/lcb-nav/lcb-nav.vue +8 -2
- package/package.json +13 -13
- package/types/api/pay.d.ts +47 -0
- package/types/api/user.d.ts +11 -0
- package/types/components/lcb-absolute-config-layout/lcb-absolute-config-layout.vue.d.ts +71 -0
- package/types/components/lcb-absolute-config-layout/types.d.ts +26 -0
- package/types/components/lcb-action-view/components/CustomPopup/index.vue.d.ts +37 -0
- package/types/components/lcb-action-view/components/PayPopup/index.vue.d.ts +44 -0
- package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +41 -0
- package/types/components/lcb-action-view/types.d.ts +136 -0
- package/types/components/lcb-advert/lcb-advert.vue.d.ts +28 -0
- package/types/components/lcb-advert/types.d.ts +3 -0
- package/types/components/lcb-agreement-view/api.d.ts +4 -0
- package/types/components/lcb-agreement-view/lcb-agreement-view.vue.d.ts +40 -0
- package/types/components/lcb-agreement-view/types.d.ts +4 -0
- package/types/components/lcb-area/lcb-area.vue.d.ts +74 -0
- package/types/components/lcb-area/types.d.ts +40 -0
- package/types/components/lcb-area-picker/api/index.d.ts +49 -0
- package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +79 -0
- package/types/components/lcb-area-picker/types.d.ts +3 -0
- package/types/components/lcb-banner/lcb-banner.vue.d.ts +80 -0
- package/types/components/lcb-banner/types.d.ts +66 -0
- package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +56 -0
- package/types/components/lcb-banner-block/types.d.ts +20 -0
- package/types/components/lcb-block/lcb-block.vue.d.ts +76 -0
- package/types/components/lcb-block/types.d.ts +62 -0
- package/types/components/lcb-button/lcb-button.vue.d.ts +74 -0
- package/types/components/lcb-button/types.d.ts +35 -0
- package/types/components/lcb-calendar/api/index.d.ts +17 -0
- package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +152 -0
- package/types/components/lcb-calendar-filter/api.d.ts +5 -0
- package/types/components/lcb-calendar-filter/components/CalendarItem/index.vue.d.ts +40 -0
- package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +66 -0
- package/types/components/lcb-calendar-filter/types.d.ts +29 -0
- package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +68 -0
- package/types/components/lcb-calendar-search/types.d.ts +9 -0
- package/types/components/lcb-city-select/api/index.d.ts +44 -0
- package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +53 -0
- package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +48 -0
- package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +5 -0
- package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +77 -0
- package/types/components/lcb-city-select/types.d.ts +5 -0
- package/types/components/lcb-custom-content/lcb-custom-content.vue.d.ts +40 -0
- package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +44 -0
- package/types/components/lcb-dynamic-data/types.d.ts +9 -0
- package/types/components/lcb-fab/lcb-fab.vue.d.ts +42 -0
- package/types/components/lcb-fab/types.d.ts +19 -0
- package/types/components/lcb-filter-grid/lcb-filter-grid.vue.d.ts +82 -0
- package/types/components/lcb-filter-grid/types.d.ts +20 -0
- package/types/components/lcb-form/lcb-form.vue.d.ts +73 -0
- package/types/components/lcb-form/types.d.ts +82 -0
- package/types/components/lcb-gap/lcb-gap.vue.d.ts +42 -0
- package/types/components/lcb-gap/types.d.ts +7 -0
- package/types/components/lcb-grid/lcb-grid.vue.d.ts +74 -0
- package/types/components/lcb-grid/types.d.ts +16 -0
- package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +68 -0
- package/types/components/lcb-home-search/types.d.ts +14 -0
- package/types/components/lcb-icon/lcb-icon.vue.d.ts +56 -0
- package/types/components/lcb-icon/types.d.ts +10 -0
- package/types/components/lcb-image/Image/index.vue.d.ts +56 -0
- package/types/components/lcb-image/lcb-image.vue.d.ts +70 -0
- package/types/components/lcb-image/types.d.ts +17 -0
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +113 -0
- package/types/components/lcb-img-nav/types.d.ts +61 -0
- package/types/components/lcb-light-map/api.d.ts +10 -0
- package/types/components/lcb-light-map/lcb-light-map.vue.d.ts +59 -0
- package/types/components/lcb-light-map/types.d.ts +69 -0
- package/types/components/lcb-light-map/util.d.ts +40 -0
- package/types/components/lcb-list/api.d.ts +67 -0
- package/types/components/lcb-list/components/ActionView/index.vue.d.ts +34 -0
- package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +32 -0
- package/types/components/lcb-list/components/ComponentGroup/type.d.ts +5 -0
- package/types/components/lcb-list/components/FilterList/index.vue.d.ts +50 -0
- package/types/components/lcb-list/components/FilterList/type.d.ts +11 -0
- package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +41 -0
- package/types/components/lcb-list/components/FilterSelect/type.d.ts +2 -0
- package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +64 -0
- package/types/components/lcb-list/components/FilterSlider/types.d.ts +2 -0
- package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +36 -0
- package/types/components/lcb-list/components/FilterTabs/type.d.ts +5 -0
- package/types/components/lcb-list/components/FilterView/index.vue.d.ts +36 -0
- package/types/components/lcb-list/components/FilterView/type.d.ts +8 -0
- package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +43 -0
- package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +76 -0
- package/types/components/lcb-list/components/TagSelect/type.d.ts +4 -0
- package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +38 -0
- package/types/components/lcb-list/components/TreeSelect/type.d.ts +6 -0
- package/types/components/lcb-list/components/UnconditionedLayout/index.vue.d.ts +85 -0
- package/types/components/lcb-list/hooks/useSelect.d.ts +31 -0
- package/types/components/lcb-list/hooks/useSyncValues.d.ts +5 -0
- package/types/components/lcb-list/lcb-list.vue.d.ts +139 -0
- package/types/components/lcb-list/types.d.ts +67 -0
- package/types/components/lcb-map/lcb-map.vue.d.ts +57 -0
- package/types/components/lcb-map/types.d.ts +36 -0
- package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +63 -0
- package/types/components/lcb-nav/Search/index.vue.d.ts +52 -0
- package/types/components/lcb-nav/SharePopup/api.d.ts +16 -0
- package/types/components/lcb-nav/SharePopup/index.vue.d.ts +37 -0
- package/types/components/lcb-nav/Title/index.vue.d.ts +28 -0
- package/types/components/lcb-nav/lcb-nav.vue.d.ts +106 -0
- package/types/components/lcb-nav/types.d.ts +72 -0
- package/types/components/lcb-notice/api/index.d.ts +18 -0
- package/types/components/lcb-notice/lcb-notice.vue.d.ts +77 -0
- package/types/components/lcb-notice/types.d.ts +14 -0
- package/types/components/lcb-operation-actions/BtnViews.vue.d.ts +62 -0
- package/types/components/lcb-operation-actions/IconActionView.vue.d.ts +61 -0
- package/types/components/lcb-operation-actions/IconView.vue.d.ts +41 -0
- package/types/components/lcb-operation-actions/components/OrderDetLogistic/index.vue.d.ts +51 -0
- package/types/components/lcb-operation-actions/lcb-operation-actions.vue.d.ts +34 -0
- package/types/components/lcb-operation-actions/types.d.ts +51 -0
- package/types/components/lcb-order-payment/lcb-order-payment.vue.d.ts +38 -0
- package/types/components/lcb-order-payment/types.d.ts +30 -0
- package/types/components/lcb-particulars/api.d.ts +45 -0
- package/types/components/lcb-particulars/lcb-particulars.vue.d.ts +56 -0
- package/types/components/lcb-particulars/types.d.ts +5 -0
- package/types/components/lcb-poster/lcb-poster.vue.d.ts +50 -0
- package/types/components/lcb-product/components/ProductSkeleton/index.vue.d.ts +70 -0
- package/types/components/lcb-product/components/SKeletonItem/index.vue.d.ts +28 -0
- package/types/components/lcb-product/lcb-product.vue.d.ts +96 -0
- package/types/components/lcb-product/types.d.ts +44 -0
- package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +117 -0
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +267 -0
- package/types/components/lcb-product-item/types.d.ts +133 -0
- package/types/components/lcb-render-view/lcb-render-view.vue.d.ts +35 -0
- package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +44 -0
- package/types/components/lcb-rich-text/types.d.ts +4 -0
- package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +68 -0
- package/types/components/lcb-room-calendar/types.d.ts +10 -0
- package/types/components/lcb-search/api.d.ts +23 -0
- package/types/components/lcb-search/components/SearchHistory/index.vue.d.ts +48 -0
- package/types/components/lcb-search/components/SearchList/index.vue.d.ts +56 -0
- package/types/components/lcb-search/lcb-search.vue.d.ts +1211 -0
- package/types/components/lcb-search/types.d.ts +29 -0
- package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +73 -0
- package/types/components/lcb-swiper/types.d.ts +17 -0
- package/types/components/lcb-tabs/components/Imgs/index.vue.d.ts +62 -0
- package/types/components/lcb-tabs/components/Tabs/index.vue.d.ts +65 -0
- package/types/components/lcb-tabs/components/Tags/index.vue.d.ts +68 -0
- package/types/components/lcb-tabs/lcb-tabs.vue.d.ts +65 -0
- package/types/components/lcb-tabs/types.d.ts +34 -0
- package/types/components/lcb-tags/lcb-tags.vue.d.ts +74 -0
- package/types/components/lcb-tags/types.d.ts +17 -0
- package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
- package/types/components/lcb-text/types.d.ts +4 -0
- package/types/components/lcb-title/lcb-title.vue.d.ts +114 -0
- package/types/components/lcb-title/types.d.ts +42 -0
- package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +62 -0
- package/types/components/lcb-user-order/types.d.ts +27 -0
- package/types/components/lcb-user-top/Nums/index.vue.d.ts +28 -0
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +158 -0
- package/types/components/lcb-user-top/types.d.ts +57 -0
- package/types/components/lcb-video/lcb-video.vue.d.ts +56 -0
- package/types/components/lcb-video/types.d.ts +10 -0
- package/types/components/lcb-vip/api/index.d.ts +70 -0
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +42 -0
- package/types/components/lcb-vip/lcb-vip.vue.d.ts +68 -0
- package/types/components/lcb-vip/types.d.ts +10 -0
- package/types/components/lcb-waterfall/lcb-waterfall-item.vue.d.ts +73 -0
- package/types/components/lcb-waterfall/lcb-waterfall.vue.d.ts +192 -0
- package/types/components/lcb-wrapper-item/lcb-wrapper-item.vue.d.ts +49 -0
- package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +71 -0
- package/types/components/lcb-wrapper-list/types.d.ts +14 -0
- package/types/constants.d.ts +17 -0
- package/types/hooks/useAutoHeight.d.ts +8 -0
- package/types/hooks/useDynamicData.d.ts +14 -0
- package/types/hooks/useLocation.api.d.ts +18 -0
- package/types/hooks/useLocation.d.ts +10 -0
- package/types/hooks/usePageScroll.d.ts +2 -0
- package/types/hooks/usePay.d.ts +13 -0
- package/types/hooks/useSyncForm.d.ts +5 -0
- package/types/hooks/useUpload.api.d.ts +12 -0
- package/types/hooks/useUpload.d.ts +21 -0
- package/types/utils/formatter.d.ts +5 -0
- package/types/utils/history.d.ts +5 -0
- package/types/utils/request.d.ts +6 -0
- package/types/utils/transform.d.ts +15 -0
- package/types/utils/utils.d.ts +51 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { LcbBlockProps } from '../lcb-block/types'
|
|
2
|
+
export interface LcbProductProps extends LcbBlockProps {
|
|
3
|
+
listType?: 'list' | 'horizontal' | 'grid' | 'waterfall'
|
|
4
|
+
shadowColor?: string
|
|
5
|
+
shadowSize?: number
|
|
6
|
+
blurSize?: number
|
|
7
|
+
blockShadowColor?: string
|
|
8
|
+
blockShadowSize?: number
|
|
9
|
+
blockBlurSize?: number
|
|
10
|
+
imageWidth?: number
|
|
11
|
+
imageHeight?: number
|
|
12
|
+
imageRadius?: number
|
|
13
|
+
borderRadius?: number
|
|
14
|
+
column?: number
|
|
15
|
+
itemWidth?: number
|
|
16
|
+
sortType?: number
|
|
17
|
+
items?: {
|
|
18
|
+
productId: string
|
|
19
|
+
[key: string]: any
|
|
20
|
+
}[]
|
|
21
|
+
sourceMode?: 1 | 2
|
|
22
|
+
requestUrl?: string
|
|
23
|
+
requestParams?: string
|
|
24
|
+
layoutType?: 'vertical' | 'horizontal'
|
|
25
|
+
titleLineClamp?: number
|
|
26
|
+
coverImgStyle?: Record<string, any>
|
|
27
|
+
filterList?: boolean
|
|
28
|
+
renderItemAbsoluteConfigLayout?: {
|
|
29
|
+
dataset?: Record<string, any>
|
|
30
|
+
blocks: any[]
|
|
31
|
+
canvas: {
|
|
32
|
+
width: number
|
|
33
|
+
height: number
|
|
34
|
+
backgroundColor?: string
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
dynamicScope?: string
|
|
38
|
+
gap?: number
|
|
39
|
+
borderWidth?: number
|
|
40
|
+
borderColor?: string
|
|
41
|
+
borderMode?: 'full' | 'content'
|
|
42
|
+
itemVerticalPadding?: number
|
|
43
|
+
itemHorizontalPadding?: number
|
|
44
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
declare function __VLS_template(): Readonly<{
|
|
2
|
+
coverImg(props: { value: any }): any
|
|
3
|
+
headImg(props: { value: any }): any
|
|
4
|
+
userName(props: { value: any }): any
|
|
5
|
+
productName(props: { value: any }): any
|
|
6
|
+
subTitle(props: { value: any }): any
|
|
7
|
+
price(props: { value: any }): any
|
|
8
|
+
priceUnit(props: { value: any }): any
|
|
9
|
+
priceSuffix(props: { value: any }): any
|
|
10
|
+
scribePrice(props: { value: any }): any
|
|
11
|
+
scribePriceUnit(props: { value: any }): any
|
|
12
|
+
scribePriceSuffix(props: { value: any }): any
|
|
13
|
+
tags(props: { value: any }): any
|
|
14
|
+
addressIntro(props: { value: any }): any
|
|
15
|
+
distance(props: { value: any }): any
|
|
16
|
+
scoreAvg(props: { value: any }): any
|
|
17
|
+
scoreTips(props: { value: any }): any
|
|
18
|
+
level(props: { value: any }): any
|
|
19
|
+
imgCornerIcon(props: { value: any }): any
|
|
20
|
+
imgBottomIcon(props: { value: any }): any
|
|
21
|
+
titleIcon(props: { value: any }): any
|
|
22
|
+
userInteractionInfo(props: { value: any }): any
|
|
23
|
+
orderTips(props: { value: any }): any
|
|
24
|
+
distanceTips(props: { value: any }): any
|
|
25
|
+
orderSkuCountTips(props: { value: any }): any
|
|
26
|
+
priceTips(props: { value: any }): any
|
|
27
|
+
}> & {
|
|
28
|
+
coverImg(props: { value: any }): any
|
|
29
|
+
headImg(props: { value: any }): any
|
|
30
|
+
userName(props: { value: any }): any
|
|
31
|
+
productName(props: { value: any }): any
|
|
32
|
+
subTitle(props: { value: any }): any
|
|
33
|
+
price(props: { value: any }): any
|
|
34
|
+
priceUnit(props: { value: any }): any
|
|
35
|
+
priceSuffix(props: { value: any }): any
|
|
36
|
+
scribePrice(props: { value: any }): any
|
|
37
|
+
scribePriceUnit(props: { value: any }): any
|
|
38
|
+
scribePriceSuffix(props: { value: any }): any
|
|
39
|
+
tags(props: { value: any }): any
|
|
40
|
+
addressIntro(props: { value: any }): any
|
|
41
|
+
distance(props: { value: any }): any
|
|
42
|
+
scoreAvg(props: { value: any }): any
|
|
43
|
+
scoreTips(props: { value: any }): any
|
|
44
|
+
level(props: { value: any }): any
|
|
45
|
+
imgCornerIcon(props: { value: any }): any
|
|
46
|
+
imgBottomIcon(props: { value: any }): any
|
|
47
|
+
titleIcon(props: { value: any }): any
|
|
48
|
+
userInteractionInfo(props: { value: any }): any
|
|
49
|
+
orderTips(props: { value: any }): any
|
|
50
|
+
distanceTips(props: { value: any }): any
|
|
51
|
+
orderSkuCountTips(props: { value: any }): any
|
|
52
|
+
priceTips(props: { value: any }): any
|
|
53
|
+
}
|
|
54
|
+
declare const __VLS_component: import('vue').DefineComponent<
|
|
55
|
+
__VLS_WithDefaults<
|
|
56
|
+
__VLS_TypePropsToOption<{
|
|
57
|
+
prop: string
|
|
58
|
+
customClass?: string
|
|
59
|
+
}>,
|
|
60
|
+
{}
|
|
61
|
+
>,
|
|
62
|
+
{},
|
|
63
|
+
unknown,
|
|
64
|
+
{},
|
|
65
|
+
{},
|
|
66
|
+
import('vue').ComponentOptionsMixin,
|
|
67
|
+
import('vue').ComponentOptionsMixin,
|
|
68
|
+
{},
|
|
69
|
+
string,
|
|
70
|
+
import('vue').PublicProps,
|
|
71
|
+
Readonly<
|
|
72
|
+
import('vue').ExtractPropTypes<
|
|
73
|
+
__VLS_WithDefaults<
|
|
74
|
+
__VLS_TypePropsToOption<{
|
|
75
|
+
prop: string
|
|
76
|
+
customClass?: string
|
|
77
|
+
}>,
|
|
78
|
+
{}
|
|
79
|
+
>
|
|
80
|
+
>
|
|
81
|
+
>,
|
|
82
|
+
{},
|
|
83
|
+
{}
|
|
84
|
+
>
|
|
85
|
+
declare const _default: __VLS_WithTemplateSlots<
|
|
86
|
+
typeof __VLS_component,
|
|
87
|
+
ReturnType<typeof __VLS_template>
|
|
88
|
+
>
|
|
89
|
+
export default _default
|
|
90
|
+
type __VLS_WithDefaults<P, D> = {
|
|
91
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
92
|
+
? __VLS_Prettify<
|
|
93
|
+
P[K] & {
|
|
94
|
+
default: D[K]
|
|
95
|
+
}
|
|
96
|
+
>
|
|
97
|
+
: P[K]
|
|
98
|
+
}
|
|
99
|
+
type __VLS_Prettify<T> = {
|
|
100
|
+
[K in keyof T]: T[K]
|
|
101
|
+
} & {}
|
|
102
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
103
|
+
new (): {
|
|
104
|
+
$slots: S
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
108
|
+
type __VLS_TypePropsToOption<T> = {
|
|
109
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
110
|
+
? {
|
|
111
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
112
|
+
}
|
|
113
|
+
: {
|
|
114
|
+
type: import('vue').PropType<T[K]>
|
|
115
|
+
required: true
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { LcbProductItemProps } from './types'
|
|
2
|
+
declare function __VLS_template(): Readonly<{
|
|
3
|
+
coverImg(props: { value: any }): any
|
|
4
|
+
userName(props: { value: any }): any
|
|
5
|
+
headImg(props: { value: any }): any
|
|
6
|
+
productName(props: { value: any }): any
|
|
7
|
+
subTitle(props: { value: any }): any
|
|
8
|
+
price(props: { value: any }): any
|
|
9
|
+
priceUnit(props: { value: any }): any
|
|
10
|
+
priceSuffix(props: { value: any }): any
|
|
11
|
+
scribePrice(props: { value: any }): any
|
|
12
|
+
scribePriceUnit(props: { value: any }): any
|
|
13
|
+
scribePriceSuffix(props: { value: any }): any
|
|
14
|
+
tags(props: { value: any }): any
|
|
15
|
+
addressIntro(props: { value: any }): any
|
|
16
|
+
distance(props: { value: any }): any
|
|
17
|
+
scoreAvg(props: { value: any }): any
|
|
18
|
+
scoreTips(props: { value: any }): any
|
|
19
|
+
level(props: { value: any }): any
|
|
20
|
+
imgCornerIcon(props: { value: any }): any
|
|
21
|
+
imgBottomIcon(props: { value: any }): any
|
|
22
|
+
titleIcon(props: { value: any }): any
|
|
23
|
+
userInteractionInfo(props: { value: any }): any
|
|
24
|
+
orderTips(props: { value: any }): any
|
|
25
|
+
priceTips(props: { value: any }): any
|
|
26
|
+
distanceTips(props: { value: any }): any
|
|
27
|
+
orderSkuCountTips(props: { value: any }): any
|
|
28
|
+
itemSection(): any
|
|
29
|
+
itemTopSection(): any
|
|
30
|
+
itemBottomSection(): any
|
|
31
|
+
itemLeftSection(): any
|
|
32
|
+
itemRightSection(): any
|
|
33
|
+
coverImgSection(): any
|
|
34
|
+
contentSection(): any
|
|
35
|
+
}> & {
|
|
36
|
+
coverImg(props: { value: any }): any
|
|
37
|
+
userName(props: { value: any }): any
|
|
38
|
+
headImg(props: { value: any }): any
|
|
39
|
+
productName(props: { value: any }): any
|
|
40
|
+
subTitle(props: { value: any }): any
|
|
41
|
+
price(props: { value: any }): any
|
|
42
|
+
priceUnit(props: { value: any }): any
|
|
43
|
+
priceSuffix(props: { value: any }): any
|
|
44
|
+
scribePrice(props: { value: any }): any
|
|
45
|
+
scribePriceUnit(props: { value: any }): any
|
|
46
|
+
scribePriceSuffix(props: { value: any }): any
|
|
47
|
+
tags(props: { value: any }): any
|
|
48
|
+
addressIntro(props: { value: any }): any
|
|
49
|
+
distance(props: { value: any }): any
|
|
50
|
+
scoreAvg(props: { value: any }): any
|
|
51
|
+
scoreTips(props: { value: any }): any
|
|
52
|
+
level(props: { value: any }): any
|
|
53
|
+
imgCornerIcon(props: { value: any }): any
|
|
54
|
+
imgBottomIcon(props: { value: any }): any
|
|
55
|
+
titleIcon(props: { value: any }): any
|
|
56
|
+
userInteractionInfo(props: { value: any }): any
|
|
57
|
+
orderTips(props: { value: any }): any
|
|
58
|
+
priceTips(props: { value: any }): any
|
|
59
|
+
distanceTips(props: { value: any }): any
|
|
60
|
+
orderSkuCountTips(props: { value: any }): any
|
|
61
|
+
itemSection(): any
|
|
62
|
+
itemTopSection(): any
|
|
63
|
+
itemBottomSection(): any
|
|
64
|
+
itemLeftSection(): any
|
|
65
|
+
itemRightSection(): any
|
|
66
|
+
coverImgSection(): any
|
|
67
|
+
contentSection(): any
|
|
68
|
+
}
|
|
69
|
+
declare const __VLS_component: import('vue').DefineComponent<
|
|
70
|
+
__VLS_WithDefaults<
|
|
71
|
+
__VLS_TypePropsToOption<LcbProductItemProps>,
|
|
72
|
+
{
|
|
73
|
+
layoutType: string
|
|
74
|
+
titleLineClamp: number
|
|
75
|
+
tagOverflowWrap: boolean
|
|
76
|
+
tagType: string
|
|
77
|
+
tagPlain: boolean
|
|
78
|
+
tagMark: boolean
|
|
79
|
+
tagRound: boolean
|
|
80
|
+
distanceUnit: string
|
|
81
|
+
imageType: string
|
|
82
|
+
priceUnit: string
|
|
83
|
+
scribePriceUnit: string
|
|
84
|
+
coverImgVisible: boolean
|
|
85
|
+
productNameVisible: boolean
|
|
86
|
+
subTitleVisible: boolean
|
|
87
|
+
priceVisible: boolean
|
|
88
|
+
userInfoVisible: boolean
|
|
89
|
+
priceTipsVisible: boolean
|
|
90
|
+
distanceTipsVisible: boolean
|
|
91
|
+
orderSkuCountTipsVisible: boolean
|
|
92
|
+
priceUnitVisible: boolean
|
|
93
|
+
priceSuffixVisible: boolean
|
|
94
|
+
scribePriceVisible: boolean
|
|
95
|
+
scribePriceUnitVisible: boolean
|
|
96
|
+
scribePriceSuffixVisible: boolean
|
|
97
|
+
scoreAvgVisible: boolean
|
|
98
|
+
scoreTipsVisible: boolean
|
|
99
|
+
levelVisible: boolean
|
|
100
|
+
imgCornerIconVisible: boolean
|
|
101
|
+
imgBottomIconVisible: boolean
|
|
102
|
+
titleIconVisible: boolean
|
|
103
|
+
userInteractionInfoVisible: boolean
|
|
104
|
+
orderTipsVisible: boolean
|
|
105
|
+
tagsVisible: boolean
|
|
106
|
+
addressIntroVisible: boolean
|
|
107
|
+
distanceVisible: boolean
|
|
108
|
+
borderRadius: number
|
|
109
|
+
shadowSize: number
|
|
110
|
+
shadowColor: string
|
|
111
|
+
blurSize: number
|
|
112
|
+
itemVerticalPadding: number
|
|
113
|
+
itemHorizontalPadding: number
|
|
114
|
+
itemContentPt: number
|
|
115
|
+
itemContentPr: number
|
|
116
|
+
itemContentPb: number
|
|
117
|
+
itemContentPl: number
|
|
118
|
+
itemGap: number
|
|
119
|
+
}
|
|
120
|
+
>,
|
|
121
|
+
{},
|
|
122
|
+
unknown,
|
|
123
|
+
{},
|
|
124
|
+
{},
|
|
125
|
+
import('vue').ComponentOptionsMixin,
|
|
126
|
+
import('vue').ComponentOptionsMixin,
|
|
127
|
+
{},
|
|
128
|
+
string,
|
|
129
|
+
import('vue').PublicProps,
|
|
130
|
+
Readonly<
|
|
131
|
+
import('vue').ExtractPropTypes<
|
|
132
|
+
__VLS_WithDefaults<
|
|
133
|
+
__VLS_TypePropsToOption<LcbProductItemProps>,
|
|
134
|
+
{
|
|
135
|
+
layoutType: string
|
|
136
|
+
titleLineClamp: number
|
|
137
|
+
tagOverflowWrap: boolean
|
|
138
|
+
tagType: string
|
|
139
|
+
tagPlain: boolean
|
|
140
|
+
tagMark: boolean
|
|
141
|
+
tagRound: boolean
|
|
142
|
+
distanceUnit: string
|
|
143
|
+
imageType: string
|
|
144
|
+
priceUnit: string
|
|
145
|
+
scribePriceUnit: string
|
|
146
|
+
coverImgVisible: boolean
|
|
147
|
+
productNameVisible: boolean
|
|
148
|
+
subTitleVisible: boolean
|
|
149
|
+
priceVisible: boolean
|
|
150
|
+
userInfoVisible: boolean
|
|
151
|
+
priceTipsVisible: boolean
|
|
152
|
+
distanceTipsVisible: boolean
|
|
153
|
+
orderSkuCountTipsVisible: boolean
|
|
154
|
+
priceUnitVisible: boolean
|
|
155
|
+
priceSuffixVisible: boolean
|
|
156
|
+
scribePriceVisible: boolean
|
|
157
|
+
scribePriceUnitVisible: boolean
|
|
158
|
+
scribePriceSuffixVisible: boolean
|
|
159
|
+
scoreAvgVisible: boolean
|
|
160
|
+
scoreTipsVisible: boolean
|
|
161
|
+
levelVisible: boolean
|
|
162
|
+
imgCornerIconVisible: boolean
|
|
163
|
+
imgBottomIconVisible: boolean
|
|
164
|
+
titleIconVisible: boolean
|
|
165
|
+
userInteractionInfoVisible: boolean
|
|
166
|
+
orderTipsVisible: boolean
|
|
167
|
+
tagsVisible: boolean
|
|
168
|
+
addressIntroVisible: boolean
|
|
169
|
+
distanceVisible: boolean
|
|
170
|
+
borderRadius: number
|
|
171
|
+
shadowSize: number
|
|
172
|
+
shadowColor: string
|
|
173
|
+
blurSize: number
|
|
174
|
+
itemVerticalPadding: number
|
|
175
|
+
itemHorizontalPadding: number
|
|
176
|
+
itemContentPt: number
|
|
177
|
+
itemContentPr: number
|
|
178
|
+
itemContentPb: number
|
|
179
|
+
itemContentPl: number
|
|
180
|
+
itemGap: number
|
|
181
|
+
}
|
|
182
|
+
>
|
|
183
|
+
>
|
|
184
|
+
>,
|
|
185
|
+
{
|
|
186
|
+
shadowColor: string
|
|
187
|
+
shadowSize: number
|
|
188
|
+
blurSize: number
|
|
189
|
+
borderRadius: number
|
|
190
|
+
itemVerticalPadding: number
|
|
191
|
+
itemHorizontalPadding: number
|
|
192
|
+
itemGap: number
|
|
193
|
+
titleLineClamp: number
|
|
194
|
+
layoutType: 'vertical' | 'horizontal'
|
|
195
|
+
itemContentPt: number
|
|
196
|
+
itemContentPr: number
|
|
197
|
+
itemContentPb: number
|
|
198
|
+
itemContentPl: number
|
|
199
|
+
priceUnit: any
|
|
200
|
+
scribePriceUnit: any
|
|
201
|
+
tagOverflowWrap: boolean
|
|
202
|
+
tagType: import('@tplc/wot/components/wd-tag/types').TagType
|
|
203
|
+
tagPlain: boolean
|
|
204
|
+
tagMark: boolean
|
|
205
|
+
tagRound: boolean
|
|
206
|
+
distanceUnit: string
|
|
207
|
+
imageType: 'square' | 'vertical' | 'horizontal'
|
|
208
|
+
coverImgVisible: boolean
|
|
209
|
+
productNameVisible: boolean
|
|
210
|
+
subTitleVisible: boolean
|
|
211
|
+
userInfoVisible: boolean
|
|
212
|
+
priceVisible: boolean
|
|
213
|
+
priceUnitVisible: boolean
|
|
214
|
+
priceSuffixVisible: boolean
|
|
215
|
+
priceTipsVisible: boolean
|
|
216
|
+
scribePriceVisible: boolean
|
|
217
|
+
scribePriceUnitVisible: boolean
|
|
218
|
+
scribePriceSuffixVisible: boolean
|
|
219
|
+
tagsVisible: boolean
|
|
220
|
+
addressIntroVisible: boolean
|
|
221
|
+
distanceVisible: boolean
|
|
222
|
+
scoreAvgVisible: boolean
|
|
223
|
+
scoreTipsVisible: boolean
|
|
224
|
+
levelVisible: boolean
|
|
225
|
+
imgCornerIconVisible: boolean
|
|
226
|
+
imgBottomIconVisible: boolean
|
|
227
|
+
titleIconVisible: boolean
|
|
228
|
+
userInteractionInfoVisible: boolean
|
|
229
|
+
orderTipsVisible: boolean
|
|
230
|
+
distanceTipsVisible: boolean
|
|
231
|
+
orderSkuCountTipsVisible: boolean
|
|
232
|
+
},
|
|
233
|
+
{}
|
|
234
|
+
>
|
|
235
|
+
declare const _default: __VLS_WithTemplateSlots<
|
|
236
|
+
typeof __VLS_component,
|
|
237
|
+
ReturnType<typeof __VLS_template>
|
|
238
|
+
>
|
|
239
|
+
export default _default
|
|
240
|
+
type __VLS_WithDefaults<P, D> = {
|
|
241
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
242
|
+
? __VLS_Prettify<
|
|
243
|
+
P[K] & {
|
|
244
|
+
default: D[K]
|
|
245
|
+
}
|
|
246
|
+
>
|
|
247
|
+
: P[K]
|
|
248
|
+
}
|
|
249
|
+
type __VLS_Prettify<T> = {
|
|
250
|
+
[K in keyof T]: T[K]
|
|
251
|
+
} & {}
|
|
252
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
253
|
+
new (): {
|
|
254
|
+
$slots: S
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
258
|
+
type __VLS_TypePropsToOption<T> = {
|
|
259
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
260
|
+
? {
|
|
261
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
262
|
+
}
|
|
263
|
+
: {
|
|
264
|
+
type: import('vue').PropType<T[K]>
|
|
265
|
+
required: true
|
|
266
|
+
}
|
|
267
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue'
|
|
2
|
+
import { TagType } from '@tplc/wot/components/wd-tag/types'
|
|
3
|
+
export interface LcbProductItemProps {
|
|
4
|
+
className?: string
|
|
5
|
+
layoutType?: 'vertical' | 'horizontal'
|
|
6
|
+
titleLineClamp?: number
|
|
7
|
+
itemGap?: number
|
|
8
|
+
showArea?: string
|
|
9
|
+
areaOnImg?: boolean
|
|
10
|
+
areaColor?: string
|
|
11
|
+
areaFontSize?: number
|
|
12
|
+
tagOverflowWrap?: boolean
|
|
13
|
+
tagType?: TagType
|
|
14
|
+
tagContentColor?: string
|
|
15
|
+
addressOnImg?: boolean
|
|
16
|
+
tagBgColor?: string
|
|
17
|
+
tagPlain?: boolean
|
|
18
|
+
tagMark?: boolean
|
|
19
|
+
tagRound?: boolean
|
|
20
|
+
distanceUnit?: string
|
|
21
|
+
imageType?: 'square' | 'vertical' | 'horizontal'
|
|
22
|
+
borderRadius?: number
|
|
23
|
+
coverImg?: any
|
|
24
|
+
productName?: any
|
|
25
|
+
headImg?: string
|
|
26
|
+
userName?: string
|
|
27
|
+
subTitle?: any
|
|
28
|
+
price?: any
|
|
29
|
+
priceUnit?: any
|
|
30
|
+
priceSuffix?: any
|
|
31
|
+
priceTips?: any
|
|
32
|
+
scribePrice?: any
|
|
33
|
+
scribePriceUnit?: any
|
|
34
|
+
scribePriceSuffix?: any
|
|
35
|
+
tags?: any
|
|
36
|
+
addressIntro?: any
|
|
37
|
+
distance?: any
|
|
38
|
+
scoreAvg?: any
|
|
39
|
+
scoreTips?: any
|
|
40
|
+
level?: any
|
|
41
|
+
imgCornerIcon?: any
|
|
42
|
+
imgBottomIcon?: any
|
|
43
|
+
titleIcon?: any
|
|
44
|
+
userInteractionInfo?: any
|
|
45
|
+
orderTips?: any
|
|
46
|
+
distanceTips?: any
|
|
47
|
+
orderSkuCountTips?: any
|
|
48
|
+
coverImgVisible?: boolean
|
|
49
|
+
productNameVisible?: boolean
|
|
50
|
+
subTitleVisible?: boolean
|
|
51
|
+
userInfoVisible?: boolean
|
|
52
|
+
priceVisible?: boolean
|
|
53
|
+
priceUnitVisible?: boolean
|
|
54
|
+
priceSuffixVisible?: boolean
|
|
55
|
+
priceTipsVisible?: boolean
|
|
56
|
+
scribePriceVisible?: boolean
|
|
57
|
+
scribePriceUnitVisible?: boolean
|
|
58
|
+
scribePriceSuffixVisible?: boolean
|
|
59
|
+
tagsVisible?: boolean
|
|
60
|
+
addressIntroVisible?: boolean
|
|
61
|
+
distanceVisible?: boolean
|
|
62
|
+
scoreAvgVisible?: boolean
|
|
63
|
+
scoreTipsVisible?: boolean
|
|
64
|
+
levelVisible?: boolean
|
|
65
|
+
imgCornerIconVisible?: boolean
|
|
66
|
+
imgBottomIconVisible?: boolean
|
|
67
|
+
titleIconVisible?: boolean
|
|
68
|
+
userInteractionInfoVisible?: boolean
|
|
69
|
+
orderTipsVisible?: boolean
|
|
70
|
+
distanceTipsVisible?: boolean
|
|
71
|
+
orderSkuCountTipsVisible?: boolean
|
|
72
|
+
coverImgClass?: string
|
|
73
|
+
productNameClass?: string
|
|
74
|
+
subTitleClass?: string
|
|
75
|
+
priceClass?: string
|
|
76
|
+
priceUnitClass?: string
|
|
77
|
+
priceSuffixClass?: string
|
|
78
|
+
priceTipsClass?: string
|
|
79
|
+
scribePriceClass?: string
|
|
80
|
+
scribePriceUnitClass?: string
|
|
81
|
+
scribePriceSuffixClass?: string
|
|
82
|
+
tagsClass?: string
|
|
83
|
+
tagsWrapperClass?: string
|
|
84
|
+
addressIntroClass?: string
|
|
85
|
+
distanceClass?: string
|
|
86
|
+
scoreAvgClass?: string
|
|
87
|
+
scoreTipsClass?: string
|
|
88
|
+
levelClass?: string
|
|
89
|
+
imgCornerIconClass?: string
|
|
90
|
+
imgBottomIconClass?: string
|
|
91
|
+
titleIconClass?: string
|
|
92
|
+
userInteractionInfoClass?: string
|
|
93
|
+
orderTipsClass?: string
|
|
94
|
+
distanceTipsClass?: string
|
|
95
|
+
orderSkuCountTipsClass?: string
|
|
96
|
+
coverImgStyle?: CSSProperties
|
|
97
|
+
productNameStyle?: CSSProperties
|
|
98
|
+
subTitleStyle?: CSSProperties
|
|
99
|
+
priceStyle?: CSSProperties
|
|
100
|
+
priceUnitStyle?: CSSProperties
|
|
101
|
+
priceSuffixStyle?: CSSProperties
|
|
102
|
+
priceTipsStyle?: CSSProperties
|
|
103
|
+
scribePriceStyle?: CSSProperties
|
|
104
|
+
scribePriceUnitStyle?: CSSProperties
|
|
105
|
+
scribePriceSuffixStyle?: CSSProperties
|
|
106
|
+
tagsStyle?: CSSProperties
|
|
107
|
+
tagsWrapperStyle?: CSSProperties
|
|
108
|
+
addressIntroStyle?: CSSProperties
|
|
109
|
+
distanceStyle?: CSSProperties
|
|
110
|
+
scoreAvgStyle?: CSSProperties
|
|
111
|
+
scoreTipsStyle?: CSSProperties
|
|
112
|
+
levelStyle?: CSSProperties
|
|
113
|
+
imgCornerIconStyle?: CSSProperties
|
|
114
|
+
imgBottomIconStyle?: CSSProperties
|
|
115
|
+
titleIconStyle?: CSSProperties
|
|
116
|
+
userInteractionInfoStyle?: CSSProperties
|
|
117
|
+
orderTipsStyle?: CSSProperties
|
|
118
|
+
distanceTipsStyle?: CSSProperties
|
|
119
|
+
orderSkuCountTipsStyle?: CSSProperties
|
|
120
|
+
blurSize?: number
|
|
121
|
+
shadowColor?: string
|
|
122
|
+
shadowSize?: number
|
|
123
|
+
borderWidth?: number
|
|
124
|
+
borderColor?: string
|
|
125
|
+
borderMode?: 'full' | 'content'
|
|
126
|
+
itemVerticalPadding?: number
|
|
127
|
+
itemHorizontalPadding?: number
|
|
128
|
+
itemContentPt?: number
|
|
129
|
+
itemContentPr?: number
|
|
130
|
+
itemContentPb?: number
|
|
131
|
+
itemContentPl?: number
|
|
132
|
+
priceAlignLeft?: boolean
|
|
133
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<
|
|
2
|
+
__VLS_TypePropsToOption<{
|
|
3
|
+
element: any
|
|
4
|
+
}>,
|
|
5
|
+
{},
|
|
6
|
+
unknown,
|
|
7
|
+
{},
|
|
8
|
+
{},
|
|
9
|
+
import('vue').ComponentOptionsMixin,
|
|
10
|
+
import('vue').ComponentOptionsMixin,
|
|
11
|
+
{},
|
|
12
|
+
string,
|
|
13
|
+
import('vue').PublicProps,
|
|
14
|
+
Readonly<
|
|
15
|
+
import('vue').ExtractPropTypes<
|
|
16
|
+
__VLS_TypePropsToOption<{
|
|
17
|
+
element: any
|
|
18
|
+
}>
|
|
19
|
+
>
|
|
20
|
+
>,
|
|
21
|
+
{},
|
|
22
|
+
{}
|
|
23
|
+
>
|
|
24
|
+
export default _default
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
28
|
+
? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
30
|
+
}
|
|
31
|
+
: {
|
|
32
|
+
type: import('vue').PropType<T[K]>
|
|
33
|
+
required: true
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { LcbRichTextProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbRichTextProps>, {}>,
|
|
4
|
+
{},
|
|
5
|
+
unknown,
|
|
6
|
+
{},
|
|
7
|
+
{},
|
|
8
|
+
import('vue').ComponentOptionsMixin,
|
|
9
|
+
import('vue').ComponentOptionsMixin,
|
|
10
|
+
{},
|
|
11
|
+
string,
|
|
12
|
+
import('vue').PublicProps,
|
|
13
|
+
Readonly<
|
|
14
|
+
import('vue').ExtractPropTypes<
|
|
15
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbRichTextProps>, {}>
|
|
16
|
+
>
|
|
17
|
+
>,
|
|
18
|
+
{},
|
|
19
|
+
{}
|
|
20
|
+
>
|
|
21
|
+
export default _default
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
24
|
+
? __VLS_Prettify<
|
|
25
|
+
P[K] & {
|
|
26
|
+
default: D[K]
|
|
27
|
+
}
|
|
28
|
+
>
|
|
29
|
+
: P[K]
|
|
30
|
+
}
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K]
|
|
33
|
+
} & {}
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
37
|
+
? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
39
|
+
}
|
|
40
|
+
: {
|
|
41
|
+
type: import('vue').PropType<T[K]>
|
|
42
|
+
required: true
|
|
43
|
+
}
|
|
44
|
+
}
|