@tplc/business 0.7.6 → 0.7.7

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 (177) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/package.json +13 -13
  3. package/types/api/pay.d.ts +47 -0
  4. package/types/api/user.d.ts +11 -0
  5. package/types/components/lcb-absolute-config-layout/lcb-absolute-config-layout.vue.d.ts +71 -0
  6. package/types/components/lcb-absolute-config-layout/types.d.ts +26 -0
  7. package/types/components/lcb-action-view/components/CustomPopup/index.vue.d.ts +37 -0
  8. package/types/components/lcb-action-view/components/PayPopup/index.vue.d.ts +44 -0
  9. package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +41 -0
  10. package/types/components/lcb-action-view/types.d.ts +136 -0
  11. package/types/components/lcb-advert/lcb-advert.vue.d.ts +28 -0
  12. package/types/components/lcb-advert/types.d.ts +3 -0
  13. package/types/components/lcb-agreement-view/api.d.ts +4 -0
  14. package/types/components/lcb-agreement-view/lcb-agreement-view.vue.d.ts +40 -0
  15. package/types/components/lcb-agreement-view/types.d.ts +4 -0
  16. package/types/components/lcb-area/lcb-area.vue.d.ts +74 -0
  17. package/types/components/lcb-area/types.d.ts +40 -0
  18. package/types/components/lcb-area-picker/api/index.d.ts +49 -0
  19. package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +79 -0
  20. package/types/components/lcb-area-picker/types.d.ts +3 -0
  21. package/types/components/lcb-banner/lcb-banner.vue.d.ts +80 -0
  22. package/types/components/lcb-banner/types.d.ts +66 -0
  23. package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +56 -0
  24. package/types/components/lcb-banner-block/types.d.ts +20 -0
  25. package/types/components/lcb-block/lcb-block.vue.d.ts +76 -0
  26. package/types/components/lcb-block/types.d.ts +62 -0
  27. package/types/components/lcb-button/lcb-button.vue.d.ts +74 -0
  28. package/types/components/lcb-button/types.d.ts +35 -0
  29. package/types/components/lcb-calendar/api/index.d.ts +17 -0
  30. package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +152 -0
  31. package/types/components/lcb-calendar-filter/api.d.ts +5 -0
  32. package/types/components/lcb-calendar-filter/components/CalendarItem/index.vue.d.ts +40 -0
  33. package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +66 -0
  34. package/types/components/lcb-calendar-filter/types.d.ts +29 -0
  35. package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +68 -0
  36. package/types/components/lcb-calendar-search/types.d.ts +9 -0
  37. package/types/components/lcb-city-select/api/index.d.ts +44 -0
  38. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +53 -0
  39. package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +48 -0
  40. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +5 -0
  41. package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +77 -0
  42. package/types/components/lcb-city-select/types.d.ts +5 -0
  43. package/types/components/lcb-custom-content/lcb-custom-content.vue.d.ts +40 -0
  44. package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +44 -0
  45. package/types/components/lcb-dynamic-data/types.d.ts +9 -0
  46. package/types/components/lcb-fab/lcb-fab.vue.d.ts +42 -0
  47. package/types/components/lcb-fab/types.d.ts +19 -0
  48. package/types/components/lcb-filter-grid/lcb-filter-grid.vue.d.ts +82 -0
  49. package/types/components/lcb-filter-grid/types.d.ts +20 -0
  50. package/types/components/lcb-form/lcb-form.vue.d.ts +73 -0
  51. package/types/components/lcb-form/types.d.ts +82 -0
  52. package/types/components/lcb-gap/lcb-gap.vue.d.ts +42 -0
  53. package/types/components/lcb-gap/types.d.ts +7 -0
  54. package/types/components/lcb-grid/lcb-grid.vue.d.ts +74 -0
  55. package/types/components/lcb-grid/types.d.ts +16 -0
  56. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +68 -0
  57. package/types/components/lcb-home-search/types.d.ts +14 -0
  58. package/types/components/lcb-icon/lcb-icon.vue.d.ts +56 -0
  59. package/types/components/lcb-icon/types.d.ts +10 -0
  60. package/types/components/lcb-image/Image/index.vue.d.ts +56 -0
  61. package/types/components/lcb-image/lcb-image.vue.d.ts +70 -0
  62. package/types/components/lcb-image/types.d.ts +17 -0
  63. package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +113 -0
  64. package/types/components/lcb-img-nav/types.d.ts +61 -0
  65. package/types/components/lcb-light-map/api.d.ts +10 -0
  66. package/types/components/lcb-light-map/lcb-light-map.vue.d.ts +59 -0
  67. package/types/components/lcb-light-map/types.d.ts +69 -0
  68. package/types/components/lcb-light-map/util.d.ts +40 -0
  69. package/types/components/lcb-list/api.d.ts +67 -0
  70. package/types/components/lcb-list/components/ActionView/index.vue.d.ts +34 -0
  71. package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +32 -0
  72. package/types/components/lcb-list/components/ComponentGroup/type.d.ts +5 -0
  73. package/types/components/lcb-list/components/FilterList/index.vue.d.ts +50 -0
  74. package/types/components/lcb-list/components/FilterList/type.d.ts +11 -0
  75. package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +41 -0
  76. package/types/components/lcb-list/components/FilterSelect/type.d.ts +2 -0
  77. package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +64 -0
  78. package/types/components/lcb-list/components/FilterSlider/types.d.ts +2 -0
  79. package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +36 -0
  80. package/types/components/lcb-list/components/FilterTabs/type.d.ts +5 -0
  81. package/types/components/lcb-list/components/FilterView/index.vue.d.ts +36 -0
  82. package/types/components/lcb-list/components/FilterView/type.d.ts +8 -0
  83. package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +43 -0
  84. package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +76 -0
  85. package/types/components/lcb-list/components/TagSelect/type.d.ts +4 -0
  86. package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +38 -0
  87. package/types/components/lcb-list/components/TreeSelect/type.d.ts +6 -0
  88. package/types/components/lcb-list/components/UnconditionedLayout/index.vue.d.ts +85 -0
  89. package/types/components/lcb-list/hooks/useSelect.d.ts +31 -0
  90. package/types/components/lcb-list/hooks/useSyncValues.d.ts +5 -0
  91. package/types/components/lcb-list/lcb-list.vue.d.ts +139 -0
  92. package/types/components/lcb-list/types.d.ts +67 -0
  93. package/types/components/lcb-map/lcb-map.vue.d.ts +57 -0
  94. package/types/components/lcb-map/types.d.ts +36 -0
  95. package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +63 -0
  96. package/types/components/lcb-nav/Search/index.vue.d.ts +52 -0
  97. package/types/components/lcb-nav/SharePopup/api.d.ts +16 -0
  98. package/types/components/lcb-nav/SharePopup/index.vue.d.ts +37 -0
  99. package/types/components/lcb-nav/Title/index.vue.d.ts +28 -0
  100. package/types/components/lcb-nav/lcb-nav.vue.d.ts +106 -0
  101. package/types/components/lcb-nav/types.d.ts +72 -0
  102. package/types/components/lcb-notice/api/index.d.ts +18 -0
  103. package/types/components/lcb-notice/lcb-notice.vue.d.ts +77 -0
  104. package/types/components/lcb-notice/types.d.ts +14 -0
  105. package/types/components/lcb-operation-actions/BtnViews.vue.d.ts +62 -0
  106. package/types/components/lcb-operation-actions/IconActionView.vue.d.ts +61 -0
  107. package/types/components/lcb-operation-actions/IconView.vue.d.ts +41 -0
  108. package/types/components/lcb-operation-actions/components/OrderDetLogistic/index.vue.d.ts +51 -0
  109. package/types/components/lcb-operation-actions/lcb-operation-actions.vue.d.ts +34 -0
  110. package/types/components/lcb-operation-actions/types.d.ts +51 -0
  111. package/types/components/lcb-order-payment/lcb-order-payment.vue.d.ts +38 -0
  112. package/types/components/lcb-order-payment/types.d.ts +30 -0
  113. package/types/components/lcb-particulars/api.d.ts +45 -0
  114. package/types/components/lcb-particulars/lcb-particulars.vue.d.ts +56 -0
  115. package/types/components/lcb-particulars/types.d.ts +5 -0
  116. package/types/components/lcb-poster/lcb-poster.vue.d.ts +50 -0
  117. package/types/components/lcb-product/components/ProductSkeleton/index.vue.d.ts +70 -0
  118. package/types/components/lcb-product/components/SKeletonItem/index.vue.d.ts +28 -0
  119. package/types/components/lcb-product/lcb-product.vue.d.ts +96 -0
  120. package/types/components/lcb-product/types.d.ts +44 -0
  121. package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +117 -0
  122. package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +267 -0
  123. package/types/components/lcb-product-item/types.d.ts +133 -0
  124. package/types/components/lcb-render-view/lcb-render-view.vue.d.ts +35 -0
  125. package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +44 -0
  126. package/types/components/lcb-rich-text/types.d.ts +4 -0
  127. package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +68 -0
  128. package/types/components/lcb-room-calendar/types.d.ts +10 -0
  129. package/types/components/lcb-search/api.d.ts +23 -0
  130. package/types/components/lcb-search/components/SearchHistory/index.vue.d.ts +48 -0
  131. package/types/components/lcb-search/components/SearchList/index.vue.d.ts +56 -0
  132. package/types/components/lcb-search/lcb-search.vue.d.ts +1211 -0
  133. package/types/components/lcb-search/types.d.ts +29 -0
  134. package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +73 -0
  135. package/types/components/lcb-swiper/types.d.ts +17 -0
  136. package/types/components/lcb-tabs/components/Imgs/index.vue.d.ts +62 -0
  137. package/types/components/lcb-tabs/components/Tabs/index.vue.d.ts +65 -0
  138. package/types/components/lcb-tabs/components/Tags/index.vue.d.ts +68 -0
  139. package/types/components/lcb-tabs/lcb-tabs.vue.d.ts +65 -0
  140. package/types/components/lcb-tabs/types.d.ts +34 -0
  141. package/types/components/lcb-tags/lcb-tags.vue.d.ts +74 -0
  142. package/types/components/lcb-tags/types.d.ts +17 -0
  143. package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
  144. package/types/components/lcb-text/types.d.ts +4 -0
  145. package/types/components/lcb-title/lcb-title.vue.d.ts +114 -0
  146. package/types/components/lcb-title/types.d.ts +42 -0
  147. package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +62 -0
  148. package/types/components/lcb-user-order/types.d.ts +27 -0
  149. package/types/components/lcb-user-top/Nums/index.vue.d.ts +28 -0
  150. package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +158 -0
  151. package/types/components/lcb-user-top/types.d.ts +57 -0
  152. package/types/components/lcb-video/lcb-video.vue.d.ts +56 -0
  153. package/types/components/lcb-video/types.d.ts +10 -0
  154. package/types/components/lcb-vip/api/index.d.ts +70 -0
  155. package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +42 -0
  156. package/types/components/lcb-vip/lcb-vip.vue.d.ts +68 -0
  157. package/types/components/lcb-vip/types.d.ts +10 -0
  158. package/types/components/lcb-waterfall/lcb-waterfall-item.vue.d.ts +73 -0
  159. package/types/components/lcb-waterfall/lcb-waterfall.vue.d.ts +192 -0
  160. package/types/components/lcb-wrapper-item/lcb-wrapper-item.vue.d.ts +49 -0
  161. package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +71 -0
  162. package/types/components/lcb-wrapper-list/types.d.ts +14 -0
  163. package/types/constants.d.ts +17 -0
  164. package/types/hooks/useAutoHeight.d.ts +8 -0
  165. package/types/hooks/useDynamicData.d.ts +14 -0
  166. package/types/hooks/useLocation.api.d.ts +18 -0
  167. package/types/hooks/useLocation.d.ts +10 -0
  168. package/types/hooks/usePageScroll.d.ts +2 -0
  169. package/types/hooks/usePay.d.ts +13 -0
  170. package/types/hooks/useSyncForm.d.ts +5 -0
  171. package/types/hooks/useUpload.api.d.ts +12 -0
  172. package/types/hooks/useUpload.d.ts +21 -0
  173. package/types/utils/formatter.d.ts +5 -0
  174. package/types/utils/history.d.ts +5 -0
  175. package/types/utils/request.d.ts +6 -0
  176. package/types/utils/transform.d.ts +15 -0
  177. package/types/utils/utils.d.ts +51 -0
@@ -0,0 +1,42 @@
1
+ import { LcbIconProps } from '../lcb-icon/types'
2
+ import { LcbActionViewProps } from '../lcb-action-view/types'
3
+ import { LcbBlockProps } from '../lcb-block/types'
4
+ export interface LcbTitleProps
5
+ extends LcbBlockProps,
6
+ Omit<LcbIconProps, 'color' | 'customStyle' | 'size'> {
7
+ /** 副标题 */
8
+ title: string
9
+ titleKeyFromUser?: boolean
10
+ fontWeight?: number
11
+ action?: LcbActionViewProps
12
+ justify?:
13
+ | 'justify-start'
14
+ | 'justify-end'
15
+ | 'justify-center'
16
+ | 'justify-between'
17
+ | 'justify-around'
18
+ hint?: string
19
+ hintKeyFromUser?: boolean
20
+ hintColor?: string
21
+ hintFontSize?: number
22
+ hintVerticalAlign?: 'end' | 'center'
23
+ showTitleLine?: boolean
24
+ lineRight?: number
25
+ lineColor?: string
26
+ lineWidth?: number
27
+ moreColor?: string
28
+ moreFontSize?: number
29
+ moreText?: string
30
+ moreVerticalAlign?: 'end' | 'center'
31
+ moreKeyFromUser?: boolean
32
+ iconColor?: string
33
+ iconRight?: number
34
+ iconSize?: number
35
+ showIcon?: boolean
36
+ visibleKeyFromUser?: string
37
+ /** 依赖值反选 */
38
+ visibleKeyReverse?: boolean
39
+ /** 依赖值对比类型 */
40
+ compareType?: '=' | '>=' | '<=' | '>' | '<' | '!=' | 'includes'
41
+ compareValue?: string
42
+ }
@@ -0,0 +1,62 @@
1
+ import { LcbUserOrderProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbUserOrderProps>,
5
+ {
6
+ paddingVertical: number
7
+ paddingHorizontal: number
8
+ blurSize: number
9
+ }
10
+ >,
11
+ {},
12
+ unknown,
13
+ {},
14
+ {},
15
+ import('vue').ComponentOptionsMixin,
16
+ import('vue').ComponentOptionsMixin,
17
+ {},
18
+ string,
19
+ import('vue').PublicProps,
20
+ Readonly<
21
+ import('vue').ExtractPropTypes<
22
+ __VLS_WithDefaults<
23
+ __VLS_TypePropsToOption<LcbUserOrderProps>,
24
+ {
25
+ paddingVertical: number
26
+ paddingHorizontal: number
27
+ blurSize: number
28
+ }
29
+ >
30
+ >
31
+ >,
32
+ {
33
+ paddingHorizontal: number
34
+ paddingVertical: number
35
+ blurSize: number
36
+ },
37
+ {}
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_NonUndefinedable<T> = T extends undefined ? never : T
53
+ type __VLS_TypePropsToOption<T> = {
54
+ [K in keyof T]-?: {} extends Pick<T, K>
55
+ ? {
56
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
57
+ }
58
+ : {
59
+ type: import('vue').PropType<T[K]>
60
+ required: true
61
+ }
62
+ }
@@ -0,0 +1,27 @@
1
+ export interface IIconList {
2
+ iconType: 0 | 1
3
+ iconTitle?: string
4
+ iconName?: string
5
+ iconUpload?: string
6
+ status?: string
7
+ countKey?: string
8
+ }
9
+ export interface LcbUserOrderProps {
10
+ dataUrl?: string
11
+ marginTop?: number
12
+ marginBottom?: number
13
+ marginHorizontal?: number
14
+ paddingVertical?: number
15
+ paddingHorizontal?: number
16
+ backgroundColor?: string
17
+ radius?: number
18
+ boxShadow?: string
19
+ iconSize?: number
20
+ iconColor?: string
21
+ textSize?: number
22
+ textColor?: string
23
+ shadowColor?: string
24
+ shadowSize?: number
25
+ blurSize?: number
26
+ items: IIconList[]
27
+ }
@@ -0,0 +1,28 @@
1
+ import { NumsItemProps } from '../types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_TypePropsToOption<NumsItemProps>,
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<NumsItemProps>>>,
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
+ }
@@ -0,0 +1,158 @@
1
+ import { LcbUserTopProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbUserTopProps>,
5
+ {
6
+ photoSize: number
7
+ paddingLeft: number
8
+ paddingRight: number
9
+ paddingTop: number
10
+ paddingBottom: number
11
+ photoRound: boolean
12
+ textSize: number
13
+ textColor: string
14
+ moreIcon: boolean
15
+ iconType: number
16
+ iconName: string
17
+ editText: string
18
+ editSize: number
19
+ rightIconSize: number
20
+ valuesCardText: string
21
+ couponsText: string
22
+ presalesText: string
23
+ memberPointsText: string
24
+ titleMarginTop: number
25
+ valuesCardKey: string
26
+ couponsKey: string
27
+ presalesKey: string
28
+ memberPointsKey: string
29
+ valuesCardLink: () => {
30
+ jumpType: number
31
+ jumpUrl: string
32
+ }
33
+ couponsLink: () => {
34
+ jumpType: number
35
+ jumpUrl: string
36
+ }
37
+ presalesLink: () => {
38
+ jumpType: number
39
+ jumpUrl: string
40
+ }
41
+ memberPointsLink: () => {
42
+ jumpType: number
43
+ jumpUrl: string
44
+ }
45
+ }
46
+ >,
47
+ {},
48
+ unknown,
49
+ {},
50
+ {},
51
+ import('vue').ComponentOptionsMixin,
52
+ import('vue').ComponentOptionsMixin,
53
+ {},
54
+ string,
55
+ import('vue').PublicProps,
56
+ Readonly<
57
+ import('vue').ExtractPropTypes<
58
+ __VLS_WithDefaults<
59
+ __VLS_TypePropsToOption<LcbUserTopProps>,
60
+ {
61
+ photoSize: number
62
+ paddingLeft: number
63
+ paddingRight: number
64
+ paddingTop: number
65
+ paddingBottom: number
66
+ photoRound: boolean
67
+ textSize: number
68
+ textColor: string
69
+ moreIcon: boolean
70
+ iconType: number
71
+ iconName: string
72
+ editText: string
73
+ editSize: number
74
+ rightIconSize: number
75
+ valuesCardText: string
76
+ couponsText: string
77
+ presalesText: string
78
+ memberPointsText: string
79
+ titleMarginTop: number
80
+ valuesCardKey: string
81
+ couponsKey: string
82
+ presalesKey: string
83
+ memberPointsKey: string
84
+ valuesCardLink: () => {
85
+ jumpType: number
86
+ jumpUrl: string
87
+ }
88
+ couponsLink: () => {
89
+ jumpType: number
90
+ jumpUrl: string
91
+ }
92
+ presalesLink: () => {
93
+ jumpType: number
94
+ jumpUrl: string
95
+ }
96
+ memberPointsLink: () => {
97
+ jumpType: number
98
+ jumpUrl: string
99
+ }
100
+ }
101
+ >
102
+ >
103
+ >,
104
+ {
105
+ iconName: string
106
+ paddingTop: number
107
+ paddingBottom: number
108
+ paddingLeft: number
109
+ paddingRight: number
110
+ iconType: 0 | 1
111
+ textColor: string
112
+ textSize: number
113
+ photoRound: boolean
114
+ photoSize: number
115
+ titleMarginTop: number
116
+ moreIcon: boolean
117
+ editText: string
118
+ editSize: number
119
+ rightIconSize: number
120
+ valuesCardText: string
121
+ couponsText: string
122
+ presalesText: string
123
+ memberPointsText: string
124
+ valuesCardLink: import('../lcb-action-view/types').LcbActionViewProps
125
+ couponsLink: import('../lcb-action-view/types').LcbActionViewProps
126
+ presalesLink: import('../lcb-action-view/types').LcbActionViewProps
127
+ memberPointsLink: import('../lcb-action-view/types').LcbActionViewProps
128
+ valuesCardKey: string
129
+ couponsKey: string
130
+ presalesKey: string
131
+ memberPointsKey: string
132
+ },
133
+ {}
134
+ >
135
+ export default _default
136
+ type __VLS_WithDefaults<P, D> = {
137
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
138
+ ? __VLS_Prettify<
139
+ P[K] & {
140
+ default: D[K]
141
+ }
142
+ >
143
+ : P[K]
144
+ }
145
+ type __VLS_Prettify<T> = {
146
+ [K in keyof T]: T[K]
147
+ } & {}
148
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
149
+ type __VLS_TypePropsToOption<T> = {
150
+ [K in keyof T]-?: {} extends Pick<T, K>
151
+ ? {
152
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
153
+ }
154
+ : {
155
+ type: import('vue').PropType<T[K]>
156
+ required: true
157
+ }
158
+ }
@@ -0,0 +1,57 @@
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+ export interface LcbUserTopProps extends LcbBlockProps {
4
+ photoRound?: boolean
5
+ photoSize?: number
6
+ textSize?: number
7
+ textColor?: string
8
+ backgroundColor?: string
9
+ backgroundImage?: string
10
+ moreIcon?: boolean
11
+ iconName?: string
12
+ iconUpload?: string
13
+ iconType?: 0 | 1
14
+ editText?: string
15
+ editBorder?: boolean
16
+ editSize?: number
17
+ valuesCard?: boolean
18
+ coupons?: boolean
19
+ presales?: boolean
20
+ memberPoints?: boolean
21
+ numsSize?: number
22
+ numsColor?: string
23
+ titleSize?: number
24
+ titleColor?: string
25
+ numsMarginTop?: number
26
+ numsPadLR?: number
27
+ rightIconSize?: number
28
+ rightIconLink?: LcbActionViewProps
29
+ numsBackgroundImage?: string
30
+ numsBorderRadius?: number
31
+ numsPadTB?: number
32
+ numsBackgroundColor?: string
33
+ valuesCardText?: string
34
+ couponsText?: string
35
+ presalesText?: string
36
+ memberPointsText?: string
37
+ titleMarginTop?: number
38
+ valuesCardLink?: LcbActionViewProps
39
+ couponsLink?: LcbActionViewProps
40
+ presalesLink?: LcbActionViewProps
41
+ memberPointsLink?: LcbActionViewProps
42
+ valuesCardKey?: string
43
+ couponsKey?: string
44
+ presalesKey?: string
45
+ memberPointsKey?: string
46
+ }
47
+ export interface NumsItemProps {
48
+ numsSize?: number
49
+ numsColor?: string
50
+ titleSize?: number
51
+ titleColor?: string
52
+ value?: number
53
+ title?: string
54
+ valueKey: string
55
+ titleMarginTop?: number
56
+ link?: LcbActionViewProps
57
+ }
@@ -0,0 +1,56 @@
1
+ import { LcbVideoProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbVideoProps>,
5
+ {
6
+ marginHorizontal: number
7
+ }
8
+ >,
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<
21
+ __VLS_TypePropsToOption<LcbVideoProps>,
22
+ {
23
+ marginHorizontal: number
24
+ }
25
+ >
26
+ >
27
+ >,
28
+ {
29
+ marginHorizontal: number
30
+ },
31
+ {}
32
+ >
33
+ export default _default
34
+ type __VLS_WithDefaults<P, D> = {
35
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
36
+ ? __VLS_Prettify<
37
+ P[K] & {
38
+ default: D[K]
39
+ }
40
+ >
41
+ : P[K]
42
+ }
43
+ type __VLS_Prettify<T> = {
44
+ [K in keyof T]: T[K]
45
+ } & {}
46
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
47
+ type __VLS_TypePropsToOption<T> = {
48
+ [K in keyof T]-?: {} extends Pick<T, K>
49
+ ? {
50
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
51
+ }
52
+ : {
53
+ type: import('vue').PropType<T[K]>
54
+ required: true
55
+ }
56
+ }
@@ -0,0 +1,10 @@
1
+ export interface LcbVideoProps {
2
+ src?: string
3
+ loop?: boolean
4
+ muted?: boolean
5
+ autoplay?: boolean
6
+ showProgress?: boolean
7
+ marginTop?: number
8
+ marginBottom?: number
9
+ marginHorizontal?: number
10
+ }
@@ -0,0 +1,70 @@
1
+ import { LcbActionViewProps } from '../../lcb-action-view/types'
2
+ import { ActionView } from '../../../action'
3
+ import { ButtonProps } from '@tplc/wot/types/components/wd-button/types'
4
+ export interface PageBtnProps {
5
+ buttonList: IPageBtn[]
6
+ size?: 'small' | 'medium' | 'large'
7
+ }
8
+ export interface IPageBtn {
9
+ buttonKey: string
10
+ buttonName: string
11
+ buttonType: number
12
+ popUpFlag: boolean
13
+ popUpTip: string
14
+ content: string
15
+ requestParam?: RequestParam
16
+ jumpType?: 1 | 2 | 10 | 11 | 12 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | 26 | 30 | 88
17
+ jumpUrl: string
18
+ requestUrl: string
19
+ jumpPage?: string
20
+ styleContent: StyleContent2
21
+ buttonProps?: ButtonProps
22
+ autoJumpSecond?: number
23
+ }
24
+ interface StyleContent2 {
25
+ buttonType: string
26
+ style: Style
27
+ }
28
+ interface Style {
29
+ width: string
30
+ }
31
+ interface RequestParam {
32
+ orderNo: string
33
+ }
34
+ export interface CurrentRightsDetail {
35
+ coverImg: string
36
+ effectiveDate: string
37
+ sumPoint: number
38
+ upgradeTips: string
39
+ usePoint: number
40
+ usedPoint: number
41
+ userLevelName: string
42
+ userLevelRightsList: UserLevelRightsList[]
43
+ waitPoint: number
44
+ button?: LcbActionViewProps & {
45
+ buttonName: string
46
+ }
47
+ }
48
+ export interface UserLevelRightsList extends ActionView {
49
+ categoryId: string
50
+ categoryName: string
51
+ categoryTags: string
52
+ icon: string
53
+ userRightsConfigId: string
54
+ userRightsContent: string
55
+ buttonList: IPageBtn[]
56
+ userRightsSubTitle: string
57
+ userRightsTitle: string
58
+ link: LcbActionViewProps
59
+ userRightsType: string
60
+ weightSort: string
61
+ qrCode: string
62
+ qrCodeTips: string
63
+ otherConfig: {
64
+ textColor: string
65
+ }
66
+ }
67
+ export declare const currentRightsDetail: () => Promise<
68
+ import('../../../action').IResData<CurrentRightsDetail>
69
+ >
70
+ export {}
@@ -0,0 +1,42 @@
1
+ import { UserLevelRightsList } from '../../api'
2
+ declare let __VLS_typeProps: {
3
+ hiddenDrawdown?: boolean
4
+ currentLevelFlag?: boolean
5
+ size?: 'small' | 'medium' | 'large'
6
+ }
7
+ type __VLS_PublicProps = {
8
+ modelValue?: UserLevelRightsList
9
+ } & typeof __VLS_typeProps
10
+ declare const _default: import('vue').DefineComponent<
11
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
12
+ {},
13
+ unknown,
14
+ {},
15
+ {},
16
+ import('vue').ComponentOptionsMixin,
17
+ import('vue').ComponentOptionsMixin,
18
+ {
19
+ 'update:modelValue': (modelValue: UserLevelRightsList) => void
20
+ refresh: (...args: any[]) => void
21
+ },
22
+ string,
23
+ import('vue').PublicProps,
24
+ Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
25
+ 'onUpdate:modelValue'?: ((modelValue: UserLevelRightsList) => any) | undefined
26
+ onRefresh?: ((...args: any[]) => any) | undefined
27
+ },
28
+ {},
29
+ {}
30
+ >
31
+ export default _default
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
33
+ type __VLS_TypePropsToOption<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K>
35
+ ? {
36
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
37
+ }
38
+ : {
39
+ type: import('vue').PropType<T[K]>
40
+ required: true
41
+ }
42
+ }
@@ -0,0 +1,68 @@
1
+ import { LcbVipProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbVipProps>,
5
+ {
6
+ cardHeight: number
7
+ itemIconSize: number
8
+ itemNum: number
9
+ itemTextColor: string
10
+ itemTextSize: number
11
+ }
12
+ >,
13
+ {},
14
+ unknown,
15
+ {},
16
+ {},
17
+ import('vue').ComponentOptionsMixin,
18
+ import('vue').ComponentOptionsMixin,
19
+ {},
20
+ string,
21
+ import('vue').PublicProps,
22
+ Readonly<
23
+ import('vue').ExtractPropTypes<
24
+ __VLS_WithDefaults<
25
+ __VLS_TypePropsToOption<LcbVipProps>,
26
+ {
27
+ cardHeight: number
28
+ itemIconSize: number
29
+ itemNum: number
30
+ itemTextColor: string
31
+ itemTextSize: number
32
+ }
33
+ >
34
+ >
35
+ >,
36
+ {
37
+ cardHeight: number
38
+ itemNum: 3 | 4 | 5
39
+ itemIconSize: number
40
+ itemTextColor: string
41
+ itemTextSize: number
42
+ },
43
+ {}
44
+ >
45
+ export default _default
46
+ type __VLS_WithDefaults<P, D> = {
47
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
48
+ ? __VLS_Prettify<
49
+ P[K] & {
50
+ default: D[K]
51
+ }
52
+ >
53
+ : P[K]
54
+ }
55
+ type __VLS_Prettify<T> = {
56
+ [K in keyof T]: T[K]
57
+ } & {}
58
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
59
+ type __VLS_TypePropsToOption<T> = {
60
+ [K in keyof T]-?: {} extends Pick<T, K>
61
+ ? {
62
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
63
+ }
64
+ : {
65
+ type: import('vue').PropType<T[K]>
66
+ required: true
67
+ }
68
+ }
@@ -0,0 +1,10 @@
1
+ import { LcbActionViewProps } from './../lcb-action-view/types'
2
+ import { LcbBlockProps } from './../lcb-block/types'
3
+ export interface LcbVipProps extends LcbBlockProps {
4
+ cardHeight: number
5
+ itemNum: 3 | 4 | 5
6
+ itemIconSize: number
7
+ itemTextColor: string
8
+ itemTextSize: number
9
+ link: LcbActionViewProps
10
+ }