@tplc/business 0.2.6 → 0.2.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.
Files changed (109) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/components/lcb-vip/lcb-vip.vue +1 -1
  3. package/package.json +1 -1
  4. package/types/api/user.d.ts +6 -0
  5. package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +41 -0
  6. package/types/components/lcb-action-view/types.d.ts +33 -0
  7. package/types/components/lcb-advert/lcb-advert.vue.d.ts +28 -0
  8. package/types/components/lcb-advert/types.d.ts +3 -0
  9. package/types/components/lcb-area-picker/api/index.d.ts +48 -0
  10. package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +79 -0
  11. package/types/components/lcb-area-picker/types.d.ts +3 -0
  12. package/types/components/lcb-banner/lcb-banner.vue.d.ts +62 -0
  13. package/types/components/lcb-banner/types.d.ts +47 -0
  14. package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +56 -0
  15. package/types/components/lcb-banner-block/types.d.ts +18 -0
  16. package/types/components/lcb-block/lcb-block.vue.d.ts +74 -0
  17. package/types/components/lcb-block/types.d.ts +40 -0
  18. package/types/components/lcb-button/lcb-button.vue.d.ts +42 -0
  19. package/types/components/lcb-button/types.d.ts +7 -0
  20. package/types/components/lcb-calendar/api/index.d.ts +16 -0
  21. package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +137 -0
  22. package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +64 -0
  23. package/types/components/lcb-calendar-search/types.d.ts +4 -0
  24. package/types/components/lcb-city-select/api/index.d.ts +32 -0
  25. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +53 -0
  26. package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +48 -0
  27. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +5 -0
  28. package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +77 -0
  29. package/types/components/lcb-city-select/types.d.ts +5 -0
  30. package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +44 -0
  31. package/types/components/lcb-dynamic-data/types.d.ts +7 -0
  32. package/types/components/lcb-gap/lcb-gap.vue.d.ts +42 -0
  33. package/types/components/lcb-gap/types.d.ts +7 -0
  34. package/types/components/lcb-grid/lcb-grid.vue.d.ts +74 -0
  35. package/types/components/lcb-grid/types.d.ts +16 -0
  36. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +71 -0
  37. package/types/components/lcb-home-search/types.d.ts +7 -0
  38. package/types/components/lcb-image/Image/index.vue.d.ts +56 -0
  39. package/types/components/lcb-image/lcb-image.vue.d.ts +70 -0
  40. package/types/components/lcb-image/types.d.ts +14 -0
  41. package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +99 -0
  42. package/types/components/lcb-img-nav/types.d.ts +46 -0
  43. package/types/components/lcb-list/api.d.ts +60 -0
  44. package/types/components/lcb-list/components/ActionView/index.vue.d.ts +34 -0
  45. package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +32 -0
  46. package/types/components/lcb-list/components/ComponentGroup/type.d.ts +5 -0
  47. package/types/components/lcb-list/components/FilterList/index.vue.d.ts +48 -0
  48. package/types/components/lcb-list/components/FilterList/type.d.ts +11 -0
  49. package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +41 -0
  50. package/types/components/lcb-list/components/FilterSelect/type.d.ts +2 -0
  51. package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +36 -0
  52. package/types/components/lcb-list/components/FilterSlider/types.d.ts +2 -0
  53. package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +36 -0
  54. package/types/components/lcb-list/components/FilterTabs/type.d.ts +5 -0
  55. package/types/components/lcb-list/components/FilterView/index.vue.d.ts +36 -0
  56. package/types/components/lcb-list/components/FilterView/type.d.ts +7 -0
  57. package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +43 -0
  58. package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +39 -0
  59. package/types/components/lcb-list/components/TagSelect/type.d.ts +4 -0
  60. package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +41 -0
  61. package/types/components/lcb-list/components/TreeSelect/type.d.ts +2 -0
  62. package/types/components/lcb-list/hooks/useSelect.d.ts +25 -0
  63. package/types/components/lcb-list/lcb-list.vue.d.ts +67 -0
  64. package/types/components/lcb-list/types.d.ts +26 -0
  65. package/types/components/lcb-map/lcb-map.vue.d.ts +56 -0
  66. package/types/components/lcb-map/types.d.ts +1 -0
  67. package/types/components/lcb-nav/Search/index.vue.d.ts +44 -0
  68. package/types/components/lcb-nav/Title/index.vue.d.ts +28 -0
  69. package/types/components/lcb-nav/lcb-nav.vue.d.ts +92 -0
  70. package/types/components/lcb-nav/types.d.ts +41 -0
  71. package/types/components/lcb-notice/api/index.d.ts +19 -0
  72. package/types/components/lcb-notice/lcb-notice.vue.d.ts +77 -0
  73. package/types/components/lcb-notice/types.d.ts +14 -0
  74. package/types/components/lcb-product/lcb-product.vue.d.ts +67 -0
  75. package/types/components/lcb-product/types.d.ts +10 -0
  76. package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +91 -0
  77. package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +169 -0
  78. package/types/components/lcb-product-item/types.d.ts +65 -0
  79. package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +44 -0
  80. package/types/components/lcb-rich-text/types.d.ts +4 -0
  81. package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +118 -0
  82. package/types/components/lcb-tags/Tag/index.vue.d.ts +44 -0
  83. package/types/components/lcb-tags/lcb-tags.vue.d.ts +59 -0
  84. package/types/components/lcb-tags/types.d.ts +13 -0
  85. package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
  86. package/types/components/lcb-text/types.d.ts +4 -0
  87. package/types/components/lcb-title/lcb-title.vue.d.ts +94 -0
  88. package/types/components/lcb-title/types.d.ts +22 -0
  89. package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +62 -0
  90. package/types/components/lcb-user-order/types.d.ts +27 -0
  91. package/types/components/lcb-user-top/Nums/index.vue.d.ts +32 -0
  92. package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +98 -0
  93. package/types/components/lcb-user-top/types.d.ts +38 -0
  94. package/types/components/lcb-video/lcb-video.vue.d.ts +56 -0
  95. package/types/components/lcb-video/types.d.ts +10 -0
  96. package/types/components/lcb-vip/api/index.d.ts +34 -0
  97. package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +38 -0
  98. package/types/components/lcb-vip/lcb-vip.vue.d.ts +68 -0
  99. package/types/components/lcb-vip/types.d.ts +8 -0
  100. package/types/constants.d.ts +5 -0
  101. package/types/hooks/useAutoHeight.d.ts +2 -0
  102. package/types/hooks/useLocation.api.d.ts +9 -0
  103. package/types/hooks/useLocation.d.ts +7 -0
  104. package/types/hooks/usePageScroll.d.ts +2 -0
  105. package/types/hooks/useUpload.api.d.ts +12 -0
  106. package/types/hooks/useUpload.d.ts +21 -0
  107. package/types/utils/auth.d.ts +2 -0
  108. package/types/utils/transform.d.ts +5 -0
  109. package/types/utils/utils.d.ts +3 -0
@@ -0,0 +1,67 @@
1
+ import { LcbProductProps } from './types'
2
+ declare function __VLS_template(): Readonly<{
3
+ item(props: { item: any }): any
4
+ }> & {
5
+ item(props: { item: any }): any
6
+ }
7
+ declare const __VLS_component: import('vue').DefineComponent<
8
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbProductProps>, any>,
9
+ {},
10
+ unknown,
11
+ {},
12
+ {},
13
+ import('vue').ComponentOptionsMixin,
14
+ import('vue').ComponentOptionsMixin,
15
+ {},
16
+ string,
17
+ import('vue').PublicProps,
18
+ Readonly<
19
+ import('vue').ExtractPropTypes<
20
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbProductProps>, any>
21
+ >
22
+ >,
23
+ {
24
+ imageRadius: number
25
+ items: Record<string, any>[]
26
+ imageWidth: number
27
+ imageHeight: number
28
+ listType: 'list' | 'horizontal' | 'grid' | 'waterfall'
29
+ imageWidthPercent: number
30
+ imageHeightPercent: number
31
+ itemHeight: number
32
+ },
33
+ {}
34
+ >
35
+ declare const _default: __VLS_WithTemplateSlots<
36
+ typeof __VLS_component,
37
+ ReturnType<typeof __VLS_template>
38
+ >
39
+ export default _default
40
+ type __VLS_WithDefaults<P, D> = {
41
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
42
+ ? __VLS_Prettify<
43
+ P[K] & {
44
+ default: D[K]
45
+ }
46
+ >
47
+ : P[K]
48
+ }
49
+ type __VLS_Prettify<T> = {
50
+ [K in keyof T]: T[K]
51
+ } & {}
52
+ type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S
55
+ }
56
+ }
57
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
58
+ type __VLS_TypePropsToOption<T> = {
59
+ [K in keyof T]-?: {} extends Pick<T, K>
60
+ ? {
61
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
62
+ }
63
+ : {
64
+ type: import('vue').PropType<T[K]>
65
+ required: true
66
+ }
67
+ }
@@ -0,0 +1,10 @@
1
+ export interface LcbProductProps {
2
+ listType?: 'list' | 'horizontal' | 'grid' | 'waterfall'
3
+ imageWidthPercent?: number
4
+ imageHeightPercent?: number
5
+ imageWidth?: number
6
+ imageHeight?: number
7
+ imageRadius?: number
8
+ itemHeight?: number
9
+ items?: Record<string, any>[]
10
+ }
@@ -0,0 +1,91 @@
1
+ declare function __VLS_template(): Readonly<{
2
+ image(props: { value: any }): any
3
+ title(props: { value: any }): any
4
+ subTitle(props: { value: any }): any
5
+ price(props: { value: any }): any
6
+ priceUnit(props: { value: any }): any
7
+ priceSuffix(props: { value: any }): any
8
+ originPrice(props: { value: any }): any
9
+ originPriceUnit(props: { value: any }): any
10
+ originPriceSuffix(props: { value: any }): any
11
+ tags(props: { value: any }): any
12
+ location(props: { value: any }): any
13
+ distance(props: { value: any }): any
14
+ }> & {
15
+ image(props: { value: any }): any
16
+ title(props: { value: any }): any
17
+ subTitle(props: { value: any }): any
18
+ price(props: { value: any }): any
19
+ priceUnit(props: { value: any }): any
20
+ priceSuffix(props: { value: any }): any
21
+ originPrice(props: { value: any }): any
22
+ originPriceUnit(props: { value: any }): any
23
+ originPriceSuffix(props: { value: any }): any
24
+ tags(props: { value: any }): any
25
+ location(props: { value: any }): any
26
+ distance(props: { value: any }): any
27
+ }
28
+ declare const __VLS_component: import('vue').DefineComponent<
29
+ __VLS_WithDefaults<
30
+ __VLS_TypePropsToOption<{
31
+ prop: string
32
+ className?: string
33
+ }>,
34
+ {}
35
+ >,
36
+ {},
37
+ unknown,
38
+ {},
39
+ {},
40
+ import('vue').ComponentOptionsMixin,
41
+ import('vue').ComponentOptionsMixin,
42
+ {},
43
+ string,
44
+ import('vue').PublicProps,
45
+ Readonly<
46
+ import('vue').ExtractPropTypes<
47
+ __VLS_WithDefaults<
48
+ __VLS_TypePropsToOption<{
49
+ prop: string
50
+ className?: string
51
+ }>,
52
+ {}
53
+ >
54
+ >
55
+ >,
56
+ {},
57
+ {}
58
+ >
59
+ declare const _default: __VLS_WithTemplateSlots<
60
+ typeof __VLS_component,
61
+ ReturnType<typeof __VLS_template>
62
+ >
63
+ export default _default
64
+ type __VLS_WithDefaults<P, D> = {
65
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
66
+ ? __VLS_Prettify<
67
+ P[K] & {
68
+ default: D[K]
69
+ }
70
+ >
71
+ : P[K]
72
+ }
73
+ type __VLS_Prettify<T> = {
74
+ [K in keyof T]: T[K]
75
+ } & {}
76
+ type __VLS_WithTemplateSlots<T, S> = T & {
77
+ new (): {
78
+ $slots: S
79
+ }
80
+ }
81
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
82
+ type __VLS_TypePropsToOption<T> = {
83
+ [K in keyof T]-?: {} extends Pick<T, K>
84
+ ? {
85
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
86
+ }
87
+ : {
88
+ type: import('vue').PropType<T[K]>
89
+ required: true
90
+ }
91
+ }
@@ -0,0 +1,169 @@
1
+ import { LcbProductItemProps } from './types'
2
+ declare function __VLS_template(): Readonly<{
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
22
+ }> & {
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
42
+ }
43
+ declare const __VLS_component: import('vue').DefineComponent<
44
+ __VLS_WithDefaults<
45
+ __VLS_TypePropsToOption<LcbProductItemProps>,
46
+ {
47
+ layoutType: string
48
+ titleLineClamp: number
49
+ tagOverflowWrap: boolean
50
+ tagType: string
51
+ tagPlain: boolean
52
+ tagMark: boolean
53
+ tagRound: boolean
54
+ distanceUnit: string
55
+ priceUnit: string
56
+ originPriceUnit: string
57
+ imageVisible: boolean
58
+ titleVisible: boolean
59
+ subTitleVisible: boolean
60
+ priceVisible: boolean
61
+ priceUnitVisible: boolean
62
+ priceSuffixVisible: boolean
63
+ originPriceVisible: boolean
64
+ originPriceUnitVisible: boolean
65
+ originPriceSuffixVisible: boolean
66
+ tagsVisible: boolean
67
+ locationVisible: boolean
68
+ distanceVisible: boolean
69
+ }
70
+ >,
71
+ {},
72
+ unknown,
73
+ {},
74
+ {},
75
+ import('vue').ComponentOptionsMixin,
76
+ import('vue').ComponentOptionsMixin,
77
+ {},
78
+ string,
79
+ import('vue').PublicProps,
80
+ Readonly<
81
+ import('vue').ExtractPropTypes<
82
+ __VLS_WithDefaults<
83
+ __VLS_TypePropsToOption<LcbProductItemProps>,
84
+ {
85
+ layoutType: string
86
+ titleLineClamp: number
87
+ tagOverflowWrap: boolean
88
+ tagType: string
89
+ tagPlain: boolean
90
+ tagMark: boolean
91
+ tagRound: boolean
92
+ distanceUnit: string
93
+ priceUnit: string
94
+ originPriceUnit: string
95
+ imageVisible: boolean
96
+ titleVisible: boolean
97
+ subTitleVisible: boolean
98
+ priceVisible: boolean
99
+ priceUnitVisible: boolean
100
+ priceSuffixVisible: boolean
101
+ originPriceVisible: boolean
102
+ originPriceUnitVisible: boolean
103
+ originPriceSuffixVisible: boolean
104
+ tagsVisible: boolean
105
+ locationVisible: boolean
106
+ distanceVisible: boolean
107
+ }
108
+ >
109
+ >
110
+ >,
111
+ {
112
+ layoutType: 'vertical' | 'horizontal'
113
+ tagOverflowWrap: boolean
114
+ titleLineClamp: number
115
+ priceUnit: any
116
+ originPriceUnit: any
117
+ tagType: import('@tplc/wot/components/wd-tag/types').TagType
118
+ tagPlain: boolean
119
+ tagMark: boolean
120
+ tagRound: boolean
121
+ distanceUnit: string
122
+ imageVisible: boolean
123
+ titleVisible: boolean
124
+ subTitleVisible: boolean
125
+ priceVisible: boolean
126
+ priceUnitVisible: boolean
127
+ priceSuffixVisible: boolean
128
+ originPriceVisible: boolean
129
+ originPriceUnitVisible: boolean
130
+ originPriceSuffixVisible: boolean
131
+ tagsVisible: boolean
132
+ locationVisible: boolean
133
+ distanceVisible: boolean
134
+ },
135
+ {}
136
+ >
137
+ declare const _default: __VLS_WithTemplateSlots<
138
+ typeof __VLS_component,
139
+ ReturnType<typeof __VLS_template>
140
+ >
141
+ export default _default
142
+ type __VLS_WithDefaults<P, D> = {
143
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
144
+ ? __VLS_Prettify<
145
+ P[K] & {
146
+ default: D[K]
147
+ }
148
+ >
149
+ : P[K]
150
+ }
151
+ type __VLS_Prettify<T> = {
152
+ [K in keyof T]: T[K]
153
+ } & {}
154
+ type __VLS_WithTemplateSlots<T, S> = T & {
155
+ new (): {
156
+ $slots: S
157
+ }
158
+ }
159
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
160
+ type __VLS_TypePropsToOption<T> = {
161
+ [K in keyof T]-?: {} extends Pick<T, K>
162
+ ? {
163
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
164
+ }
165
+ : {
166
+ type: import('vue').PropType<T[K]>
167
+ required: true
168
+ }
169
+ }
@@ -0,0 +1,65 @@
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
+ tagOverflowWrap?: boolean
8
+ tagType?: TagType
9
+ tagContentColor?: string
10
+ tagBgColor?: string
11
+ tagPlain?: boolean
12
+ tagMark?: boolean
13
+ tagRound?: boolean
14
+ distanceUnit?: string
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
+ originPriceSuffix?: any
24
+ tags?: any
25
+ location?: any
26
+ distance?: any
27
+ imageVisible?: boolean
28
+ titleVisible?: boolean
29
+ subTitleVisible?: boolean
30
+ priceVisible?: boolean
31
+ priceUnitVisible?: boolean
32
+ priceSuffixVisible?: boolean
33
+ originPriceVisible?: boolean
34
+ originPriceUnitVisible?: boolean
35
+ originPriceSuffixVisible?: boolean
36
+ tagsVisible?: boolean
37
+ locationVisible?: boolean
38
+ distanceVisible?: boolean
39
+ imageClass?: string
40
+ titleClass?: string
41
+ subTitleClass?: string
42
+ priceClass?: string
43
+ priceUnitClass?: string
44
+ priceSuffixClass?: string
45
+ originPriceClass?: string
46
+ originPriceUnitClass?: string
47
+ originPriceSuffixClass?: string
48
+ tagsClass?: string
49
+ tagsWrapperClass?: string
50
+ locationClass?: string
51
+ distanceClass?: string
52
+ imageStyle?: CSSProperties
53
+ titleStyle?: CSSProperties
54
+ subTitleStyle?: CSSProperties
55
+ priceStyle?: CSSProperties
56
+ priceUnitStyle?: CSSProperties
57
+ priceSuffixStyle?: CSSProperties
58
+ originPriceStyle?: CSSProperties
59
+ originPriceUnitStyle?: CSSProperties
60
+ originPriceSuffixStyle?: CSSProperties
61
+ tagsStyle?: CSSProperties
62
+ tagsWrapperStyle?: CSSProperties
63
+ locationStyle?: CSSProperties
64
+ distanceStyle?: CSSProperties
65
+ }
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ import { LcbBlockProps } from '../lcb-block/types'
2
+ export interface LcbRichTextProps extends LcbBlockProps {
3
+ content?: string
4
+ }
@@ -0,0 +1,118 @@
1
+ interface NanProps {
2
+ list?: Array<any>
3
+ /** 是否自动播放 */
4
+ autoplay?: boolean
5
+ /** 模式 1.标题 2.搜索 3.导航 4.沉浸式 */
6
+ styleGroup?: 1 | 2 | 3 | 4
7
+ /** 轮播滑动方向 */
8
+ direction?: 'horizontal' | 'vertical'
9
+ displayMultipleItems?: number
10
+ duration?: number
11
+ height?: number
12
+ loop?: boolean
13
+ indicator?: boolean
14
+ indicatorType?: 'dots' | 'dots-bar' | 'fraction'
15
+ indicatorPosition?:
16
+ | 'left'
17
+ | 'top-left'
18
+ | 'top'
19
+ | 'top-right'
20
+ | 'bottom-left'
21
+ | 'bottom'
22
+ | 'bottom-right'
23
+ | 'right'
24
+ borderRadius?: number
25
+ }
26
+ declare const _default: import('vue').DefineComponent<
27
+ __VLS_WithDefaults<
28
+ __VLS_TypePropsToOption<NanProps>,
29
+ {
30
+ autoplay: boolean
31
+ styleGroup: number
32
+ direction: string
33
+ displayMultipleItems: number
34
+ duration: number
35
+ height: number
36
+ loop: boolean
37
+ indicator: boolean
38
+ indicatorType: string
39
+ indicatorPosition: string
40
+ borderRadius: number
41
+ }
42
+ >,
43
+ {},
44
+ unknown,
45
+ {},
46
+ {},
47
+ import('vue').ComponentOptionsMixin,
48
+ import('vue').ComponentOptionsMixin,
49
+ {},
50
+ string,
51
+ import('vue').PublicProps,
52
+ Readonly<
53
+ import('vue').ExtractPropTypes<
54
+ __VLS_WithDefaults<
55
+ __VLS_TypePropsToOption<NanProps>,
56
+ {
57
+ autoplay: boolean
58
+ styleGroup: number
59
+ direction: string
60
+ displayMultipleItems: number
61
+ duration: number
62
+ height: number
63
+ loop: boolean
64
+ indicator: boolean
65
+ indicatorType: string
66
+ indicatorPosition: string
67
+ borderRadius: number
68
+ }
69
+ >
70
+ >
71
+ >,
72
+ {
73
+ duration: number
74
+ autoplay: boolean
75
+ direction: 'horizontal' | 'vertical'
76
+ displayMultipleItems: number
77
+ height: number
78
+ loop: boolean
79
+ indicatorPosition:
80
+ | 'left'
81
+ | 'top-left'
82
+ | 'top'
83
+ | 'top-right'
84
+ | 'bottom-left'
85
+ | 'bottom'
86
+ | 'bottom-right'
87
+ | 'right'
88
+ indicator: boolean
89
+ styleGroup: 1 | 2 | 3 | 4
90
+ borderRadius: number
91
+ indicatorType: 'dots' | 'dots-bar' | 'fraction'
92
+ },
93
+ {}
94
+ >
95
+ export default _default
96
+ type __VLS_WithDefaults<P, D> = {
97
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
98
+ ? __VLS_Prettify<
99
+ P[K] & {
100
+ default: D[K]
101
+ }
102
+ >
103
+ : P[K]
104
+ }
105
+ type __VLS_Prettify<T> = {
106
+ [K in keyof T]: T[K]
107
+ } & {}
108
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
109
+ type __VLS_TypePropsToOption<T> = {
110
+ [K in keyof T]-?: {} extends Pick<T, K>
111
+ ? {
112
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
113
+ }
114
+ : {
115
+ type: import('vue').PropType<T[K]>
116
+ required: true
117
+ }
118
+ }
@@ -0,0 +1,44 @@
1
+ import type { LcbTagsItemProps } from '../types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbTagsItemProps>, {}>,
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<LcbTagsItemProps>, {}>
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
+ }
@@ -0,0 +1,59 @@
1
+ import { LcbTagsProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbTagsProps>,
5
+ {
6
+ fontSize: number
7
+ tagColor: 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<LcbTagsProps>,
23
+ {
24
+ fontSize: number
25
+ tagColor: string
26
+ }
27
+ >
28
+ >
29
+ >,
30
+ {
31
+ fontSize: number
32
+ tagColor: string
33
+ },
34
+ {}
35
+ >
36
+ export default _default
37
+ type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
39
+ ? __VLS_Prettify<
40
+ P[K] & {
41
+ default: D[K]
42
+ }
43
+ >
44
+ : P[K]
45
+ }
46
+ type __VLS_Prettify<T> = {
47
+ [K in keyof T]: T[K]
48
+ } & {}
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
50
+ type __VLS_TypePropsToOption<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K>
52
+ ? {
53
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
54
+ }
55
+ : {
56
+ type: import('vue').PropType<T[K]>
57
+ required: true
58
+ }
59
+ }
@@ -0,0 +1,13 @@
1
+ export interface LcbTagsProps {
2
+ items?: any
3
+ mode?: 1 | 2
4
+ tagRadius?: number
5
+ fontSize?: number
6
+ tagColor?: string
7
+ }
8
+ export interface LcbTagsItemProps {
9
+ items: object[]
10
+ tagRadius?: number
11
+ fontSize?: number
12
+ tagColor?: string
13
+ }