@tplc/business 0.1.11 → 0.1.13
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 +49 -0
- package/action.d.ts +1 -1
- package/components/lcb-image/Image/index.vue +2 -1
- package/components/lcb-list/components/FilterList/index.vue +9 -4
- package/components/lcb-list/components/FilterList/mockData.ts +575 -0
- package/components/lcb-list/lcb-list.vue +28 -16
- package/components/lcb-list/types.ts +0 -13
- package/components/lcb-product/lcb-product.vue +37 -33
- package/components/lcb-product-item/components/ItemValue.vue +103 -22
- package/components/lcb-product-item/lcb-product-item.vue +249 -70
- package/components/lcb-product-item/types.ts +15 -14
- package/package.json +1 -1
- package/types/components/lcb-list/components/FilterList/mockData.d.ts +63 -0
- package/types/components/lcb-list/lcb-list.vue.d.ts +7 -3
- package/types/components/lcb-list/types.d.ts +0 -1
- package/types/components/lcb-product/lcb-product.vue.d.ts +2 -22
- package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +26 -8
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +63 -23
- package/types/components/lcb-product-item/types.d.ts +14 -13
|
@@ -1,34 +1,57 @@
|
|
|
1
1
|
import { LcbProductItemProps } from './types'
|
|
2
2
|
declare function __VLS_template(): Readonly<{
|
|
3
|
-
image(): any
|
|
4
|
-
title(): any
|
|
5
|
-
subTitle(): any
|
|
6
|
-
price(): any
|
|
7
|
-
priceUnit(): any
|
|
8
|
-
priceSuffix(): any
|
|
9
|
-
originPrice(): any
|
|
10
|
-
originPriceUnit(): any
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
image(props: { value: any }): any
|
|
4
|
+
title(props: { value: any }): any
|
|
5
|
+
subTitle(props: { value: any }): any
|
|
6
|
+
price(props: { value: any }): any
|
|
7
|
+
priceUnit(props: { value: any }): any
|
|
8
|
+
priceSuffix(props: { value: any }): any
|
|
9
|
+
originPrice(props: { value: any }): any
|
|
10
|
+
originPriceUnit(props: { value: any }): any
|
|
11
|
+
originPriceSuffix(props: { value: any }): any
|
|
12
|
+
tags(props: { value: any }): any
|
|
13
|
+
location(props: { value: any }): any
|
|
14
|
+
distance(props: { value: any }): any
|
|
15
|
+
itemSection(): any
|
|
16
|
+
itemTopSection(): any
|
|
17
|
+
itemBottomSection(): any
|
|
18
|
+
itemLeftSection(): any
|
|
19
|
+
itemRightSection(): any
|
|
20
|
+
imageSection(): any
|
|
21
|
+
contentSection(): any
|
|
14
22
|
}> & {
|
|
15
|
-
image(): any
|
|
16
|
-
title(): any
|
|
17
|
-
subTitle(): any
|
|
18
|
-
price(): any
|
|
19
|
-
priceUnit(): any
|
|
20
|
-
priceSuffix(): any
|
|
21
|
-
originPrice(): any
|
|
22
|
-
originPriceUnit(): any
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
image(props: { value: any }): any
|
|
24
|
+
title(props: { value: any }): any
|
|
25
|
+
subTitle(props: { value: any }): any
|
|
26
|
+
price(props: { value: any }): any
|
|
27
|
+
priceUnit(props: { value: any }): any
|
|
28
|
+
priceSuffix(props: { value: any }): any
|
|
29
|
+
originPrice(props: { value: any }): any
|
|
30
|
+
originPriceUnit(props: { value: any }): any
|
|
31
|
+
originPriceSuffix(props: { value: any }): any
|
|
32
|
+
tags(props: { value: any }): any
|
|
33
|
+
location(props: { value: any }): any
|
|
34
|
+
distance(props: { value: any }): any
|
|
35
|
+
itemSection(): any
|
|
36
|
+
itemTopSection(): any
|
|
37
|
+
itemBottomSection(): any
|
|
38
|
+
itemLeftSection(): any
|
|
39
|
+
itemRightSection(): any
|
|
40
|
+
imageSection(): any
|
|
41
|
+
contentSection(): any
|
|
26
42
|
}
|
|
27
43
|
declare const __VLS_component: import('vue').DefineComponent<
|
|
28
44
|
__VLS_WithDefaults<
|
|
29
45
|
__VLS_TypePropsToOption<LcbProductItemProps>,
|
|
30
46
|
{
|
|
31
47
|
layoutType: string
|
|
48
|
+
titleLineClamp: number
|
|
49
|
+
tagOverflowWrap: boolean
|
|
50
|
+
tagType: string
|
|
51
|
+
tagPlain: boolean
|
|
52
|
+
tagMark: boolean
|
|
53
|
+
tagRound: boolean
|
|
54
|
+
distanceUnit: string
|
|
32
55
|
priceUnit: string
|
|
33
56
|
originPriceUnit: string
|
|
34
57
|
imageVisible: boolean
|
|
@@ -39,6 +62,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
39
62
|
priceSuffixVisible: boolean
|
|
40
63
|
originPriceVisible: boolean
|
|
41
64
|
originPriceUnitVisible: boolean
|
|
65
|
+
originPriceSuffixVisible: boolean
|
|
42
66
|
tagsVisible: boolean
|
|
43
67
|
locationVisible: boolean
|
|
44
68
|
distanceVisible: boolean
|
|
@@ -59,6 +83,13 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
59
83
|
__VLS_TypePropsToOption<LcbProductItemProps>,
|
|
60
84
|
{
|
|
61
85
|
layoutType: string
|
|
86
|
+
titleLineClamp: number
|
|
87
|
+
tagOverflowWrap: boolean
|
|
88
|
+
tagType: string
|
|
89
|
+
tagPlain: boolean
|
|
90
|
+
tagMark: boolean
|
|
91
|
+
tagRound: boolean
|
|
92
|
+
distanceUnit: string
|
|
62
93
|
priceUnit: string
|
|
63
94
|
originPriceUnit: string
|
|
64
95
|
imageVisible: boolean
|
|
@@ -69,6 +100,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
69
100
|
priceSuffixVisible: boolean
|
|
70
101
|
originPriceVisible: boolean
|
|
71
102
|
originPriceUnitVisible: boolean
|
|
103
|
+
originPriceSuffixVisible: boolean
|
|
72
104
|
tagsVisible: boolean
|
|
73
105
|
locationVisible: boolean
|
|
74
106
|
distanceVisible: boolean
|
|
@@ -77,9 +109,16 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
77
109
|
>
|
|
78
110
|
>,
|
|
79
111
|
{
|
|
112
|
+
layoutType: 'vertical' | 'horizontal'
|
|
80
113
|
priceUnit: any
|
|
81
114
|
originPriceUnit: any
|
|
82
|
-
|
|
115
|
+
titleLineClamp: number
|
|
116
|
+
tagOverflowWrap: boolean
|
|
117
|
+
tagType: import('@tplc/wot/components/wd-tag/types').TagType
|
|
118
|
+
tagPlain: boolean
|
|
119
|
+
tagMark: boolean
|
|
120
|
+
tagRound: boolean
|
|
121
|
+
distanceUnit: string
|
|
83
122
|
imageVisible: boolean
|
|
84
123
|
titleVisible: boolean
|
|
85
124
|
subTitleVisible: boolean
|
|
@@ -88,6 +127,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
88
127
|
priceSuffixVisible: boolean
|
|
89
128
|
originPriceVisible: boolean
|
|
90
129
|
originPriceUnitVisible: boolean
|
|
130
|
+
originPriceSuffixVisible: boolean
|
|
91
131
|
tagsVisible: boolean
|
|
92
132
|
locationVisible: boolean
|
|
93
133
|
distanceVisible: boolean
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue'
|
|
2
|
-
|
|
3
|
-
'image',
|
|
4
|
-
'title',
|
|
5
|
-
'subTitle',
|
|
6
|
-
'price',
|
|
7
|
-
'priceUnit',
|
|
8
|
-
'priceSuffix',
|
|
9
|
-
'originPrice',
|
|
10
|
-
'originPriceUnit',
|
|
11
|
-
'tags',
|
|
12
|
-
'location',
|
|
13
|
-
'distance',
|
|
14
|
-
]
|
|
2
|
+
import { TagType } from '@tplc/wot/components/wd-tag/types'
|
|
15
3
|
export interface LcbProductItemProps {
|
|
16
4
|
className?: string
|
|
17
5
|
layoutType?: 'vertical' | 'horizontal'
|
|
6
|
+
titleLineClamp?: number
|
|
7
|
+
tagOverflowWrap?: boolean
|
|
8
|
+
tagType?: TagType
|
|
9
|
+
tagContentColor?: string
|
|
10
|
+
tagBgColor?: string
|
|
11
|
+
tagPlain?: boolean
|
|
12
|
+
tagMark?: boolean
|
|
13
|
+
tagRound?: boolean
|
|
14
|
+
distanceUnit?: string
|
|
18
15
|
image?: any
|
|
19
16
|
title?: any
|
|
20
17
|
subTitle?: any
|
|
@@ -23,6 +20,7 @@ export interface LcbProductItemProps {
|
|
|
23
20
|
priceSuffix?: any
|
|
24
21
|
originPrice?: any
|
|
25
22
|
originPriceUnit?: any
|
|
23
|
+
originPriceSuffix?: any
|
|
26
24
|
tags?: any
|
|
27
25
|
location?: any
|
|
28
26
|
distance?: any
|
|
@@ -34,6 +32,7 @@ export interface LcbProductItemProps {
|
|
|
34
32
|
priceSuffixVisible?: boolean
|
|
35
33
|
originPriceVisible?: boolean
|
|
36
34
|
originPriceUnitVisible?: boolean
|
|
35
|
+
originPriceSuffixVisible?: boolean
|
|
37
36
|
tagsVisible?: boolean
|
|
38
37
|
locationVisible?: boolean
|
|
39
38
|
distanceVisible?: boolean
|
|
@@ -45,6 +44,7 @@ export interface LcbProductItemProps {
|
|
|
45
44
|
priceSuffixClass?: string
|
|
46
45
|
originPriceClass?: string
|
|
47
46
|
originPriceUnitClass?: string
|
|
47
|
+
originPriceSuffixClass?: string
|
|
48
48
|
tagsClass?: string
|
|
49
49
|
tagsWrapperClass?: string
|
|
50
50
|
locationClass?: string
|
|
@@ -57,6 +57,7 @@ export interface LcbProductItemProps {
|
|
|
57
57
|
priceSuffixStyle?: CSSProperties
|
|
58
58
|
originPriceStyle?: CSSProperties
|
|
59
59
|
originPriceUnitStyle?: CSSProperties
|
|
60
|
+
originPriceSuffixStyle?: CSSProperties
|
|
60
61
|
tagsStyle?: CSSProperties
|
|
61
62
|
tagsWrapperStyle?: CSSProperties
|
|
62
63
|
locationStyle?: CSSProperties
|