@tplc/business 0.7.4 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/components/lcb-city-select/lcb-city-select.vue +3 -1
  3. package/components/lcb-nav/AddressCommunity/index.vue +26 -13
  4. package/package.json +13 -13
  5. package/types/api/pay.d.ts +0 -47
  6. package/types/api/user.d.ts +0 -11
  7. package/types/components/lcb-absolute-config-layout/lcb-absolute-config-layout.vue.d.ts +0 -71
  8. package/types/components/lcb-absolute-config-layout/types.d.ts +0 -26
  9. package/types/components/lcb-action-view/components/CustomPopup/index.vue.d.ts +0 -37
  10. package/types/components/lcb-action-view/components/PayPopup/index.vue.d.ts +0 -44
  11. package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +0 -41
  12. package/types/components/lcb-action-view/types.d.ts +0 -136
  13. package/types/components/lcb-advert/lcb-advert.vue.d.ts +0 -28
  14. package/types/components/lcb-advert/types.d.ts +0 -3
  15. package/types/components/lcb-agreement-view/api.d.ts +0 -4
  16. package/types/components/lcb-agreement-view/lcb-agreement-view.vue.d.ts +0 -40
  17. package/types/components/lcb-agreement-view/types.d.ts +0 -4
  18. package/types/components/lcb-area/lcb-area.vue.d.ts +0 -74
  19. package/types/components/lcb-area/types.d.ts +0 -40
  20. package/types/components/lcb-area-picker/api/index.d.ts +0 -49
  21. package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +0 -79
  22. package/types/components/lcb-area-picker/types.d.ts +0 -3
  23. package/types/components/lcb-banner/lcb-banner.vue.d.ts +0 -80
  24. package/types/components/lcb-banner/types.d.ts +0 -66
  25. package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +0 -56
  26. package/types/components/lcb-banner-block/types.d.ts +0 -20
  27. package/types/components/lcb-block/lcb-block.vue.d.ts +0 -76
  28. package/types/components/lcb-block/types.d.ts +0 -62
  29. package/types/components/lcb-button/lcb-button.vue.d.ts +0 -74
  30. package/types/components/lcb-button/types.d.ts +0 -35
  31. package/types/components/lcb-calendar/api/index.d.ts +0 -17
  32. package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +0 -152
  33. package/types/components/lcb-calendar-filter/api.d.ts +0 -5
  34. package/types/components/lcb-calendar-filter/components/CalendarItem/index.vue.d.ts +0 -40
  35. package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +0 -66
  36. package/types/components/lcb-calendar-filter/types.d.ts +0 -29
  37. package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +0 -68
  38. package/types/components/lcb-calendar-search/types.d.ts +0 -9
  39. package/types/components/lcb-city-select/api/index.d.ts +0 -44
  40. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +0 -53
  41. package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +0 -48
  42. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +0 -5
  43. package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +0 -77
  44. package/types/components/lcb-city-select/types.d.ts +0 -5
  45. package/types/components/lcb-custom-content/lcb-custom-content.vue.d.ts +0 -40
  46. package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +0 -44
  47. package/types/components/lcb-dynamic-data/types.d.ts +0 -9
  48. package/types/components/lcb-fab/lcb-fab.vue.d.ts +0 -42
  49. package/types/components/lcb-fab/types.d.ts +0 -19
  50. package/types/components/lcb-filter-grid/lcb-filter-grid.vue.d.ts +0 -82
  51. package/types/components/lcb-filter-grid/types.d.ts +0 -20
  52. package/types/components/lcb-form/lcb-form.vue.d.ts +0 -73
  53. package/types/components/lcb-form/types.d.ts +0 -82
  54. package/types/components/lcb-gap/lcb-gap.vue.d.ts +0 -42
  55. package/types/components/lcb-gap/types.d.ts +0 -7
  56. package/types/components/lcb-grid/lcb-grid.vue.d.ts +0 -74
  57. package/types/components/lcb-grid/types.d.ts +0 -16
  58. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +0 -68
  59. package/types/components/lcb-home-search/types.d.ts +0 -14
  60. package/types/components/lcb-icon/lcb-icon.vue.d.ts +0 -56
  61. package/types/components/lcb-icon/types.d.ts +0 -10
  62. package/types/components/lcb-image/Image/index.vue.d.ts +0 -56
  63. package/types/components/lcb-image/lcb-image.vue.d.ts +0 -70
  64. package/types/components/lcb-image/types.d.ts +0 -17
  65. package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +0 -113
  66. package/types/components/lcb-img-nav/types.d.ts +0 -61
  67. package/types/components/lcb-light-map/api.d.ts +0 -10
  68. package/types/components/lcb-light-map/lcb-light-map.vue.d.ts +0 -59
  69. package/types/components/lcb-light-map/types.d.ts +0 -69
  70. package/types/components/lcb-light-map/util.d.ts +0 -40
  71. package/types/components/lcb-list/api.d.ts +0 -67
  72. package/types/components/lcb-list/components/ActionView/index.vue.d.ts +0 -34
  73. package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +0 -32
  74. package/types/components/lcb-list/components/ComponentGroup/type.d.ts +0 -5
  75. package/types/components/lcb-list/components/FilterList/index.vue.d.ts +0 -50
  76. package/types/components/lcb-list/components/FilterList/type.d.ts +0 -11
  77. package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +0 -41
  78. package/types/components/lcb-list/components/FilterSelect/type.d.ts +0 -2
  79. package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +0 -64
  80. package/types/components/lcb-list/components/FilterSlider/types.d.ts +0 -2
  81. package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +0 -36
  82. package/types/components/lcb-list/components/FilterTabs/type.d.ts +0 -5
  83. package/types/components/lcb-list/components/FilterView/index.vue.d.ts +0 -36
  84. package/types/components/lcb-list/components/FilterView/type.d.ts +0 -8
  85. package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +0 -43
  86. package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +0 -76
  87. package/types/components/lcb-list/components/TagSelect/type.d.ts +0 -4
  88. package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +0 -38
  89. package/types/components/lcb-list/components/TreeSelect/type.d.ts +0 -6
  90. package/types/components/lcb-list/components/UnconditionedLayout/index.vue.d.ts +0 -85
  91. package/types/components/lcb-list/hooks/useSelect.d.ts +0 -31
  92. package/types/components/lcb-list/hooks/useSyncValues.d.ts +0 -5
  93. package/types/components/lcb-list/lcb-list.vue.d.ts +0 -139
  94. package/types/components/lcb-list/types.d.ts +0 -67
  95. package/types/components/lcb-map/lcb-map.vue.d.ts +0 -57
  96. package/types/components/lcb-map/types.d.ts +0 -36
  97. package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +0 -63
  98. package/types/components/lcb-nav/Search/index.vue.d.ts +0 -52
  99. package/types/components/lcb-nav/SharePopup/api.d.ts +0 -16
  100. package/types/components/lcb-nav/SharePopup/index.vue.d.ts +0 -37
  101. package/types/components/lcb-nav/Title/index.vue.d.ts +0 -28
  102. package/types/components/lcb-nav/lcb-nav.vue.d.ts +0 -106
  103. package/types/components/lcb-nav/types.d.ts +0 -72
  104. package/types/components/lcb-notice/api/index.d.ts +0 -18
  105. package/types/components/lcb-notice/lcb-notice.vue.d.ts +0 -77
  106. package/types/components/lcb-notice/types.d.ts +0 -14
  107. package/types/components/lcb-operation-actions/BtnViews.vue.d.ts +0 -62
  108. package/types/components/lcb-operation-actions/IconActionView.vue.d.ts +0 -61
  109. package/types/components/lcb-operation-actions/IconView.vue.d.ts +0 -41
  110. package/types/components/lcb-operation-actions/components/OrderDetLogistic/index.vue.d.ts +0 -51
  111. package/types/components/lcb-operation-actions/lcb-operation-actions.vue.d.ts +0 -34
  112. package/types/components/lcb-operation-actions/types.d.ts +0 -51
  113. package/types/components/lcb-order-payment/lcb-order-payment.vue.d.ts +0 -38
  114. package/types/components/lcb-order-payment/types.d.ts +0 -30
  115. package/types/components/lcb-particulars/api.d.ts +0 -45
  116. package/types/components/lcb-particulars/lcb-particulars.vue.d.ts +0 -56
  117. package/types/components/lcb-particulars/types.d.ts +0 -5
  118. package/types/components/lcb-poster/lcb-poster.vue.d.ts +0 -50
  119. package/types/components/lcb-product/components/ProductSkeleton/index.vue.d.ts +0 -70
  120. package/types/components/lcb-product/components/SKeletonItem/index.vue.d.ts +0 -28
  121. package/types/components/lcb-product/lcb-product.vue.d.ts +0 -96
  122. package/types/components/lcb-product/types.d.ts +0 -44
  123. package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +0 -117
  124. package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +0 -267
  125. package/types/components/lcb-product-item/types.d.ts +0 -133
  126. package/types/components/lcb-render-view/lcb-render-view.vue.d.ts +0 -35
  127. package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +0 -44
  128. package/types/components/lcb-rich-text/types.d.ts +0 -4
  129. package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +0 -68
  130. package/types/components/lcb-room-calendar/types.d.ts +0 -10
  131. package/types/components/lcb-search/api.d.ts +0 -23
  132. package/types/components/lcb-search/components/SearchHistory/index.vue.d.ts +0 -48
  133. package/types/components/lcb-search/components/SearchList/index.vue.d.ts +0 -56
  134. package/types/components/lcb-search/lcb-search.vue.d.ts +0 -1211
  135. package/types/components/lcb-search/types.d.ts +0 -29
  136. package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +0 -73
  137. package/types/components/lcb-swiper/types.d.ts +0 -17
  138. package/types/components/lcb-tabs/components/Imgs/index.vue.d.ts +0 -62
  139. package/types/components/lcb-tabs/components/Tabs/index.vue.d.ts +0 -65
  140. package/types/components/lcb-tabs/components/Tags/index.vue.d.ts +0 -68
  141. package/types/components/lcb-tabs/lcb-tabs.vue.d.ts +0 -65
  142. package/types/components/lcb-tabs/types.d.ts +0 -34
  143. package/types/components/lcb-tags/lcb-tags.vue.d.ts +0 -74
  144. package/types/components/lcb-tags/types.d.ts +0 -17
  145. package/types/components/lcb-text/lcb-text.vue.d.ts +0 -42
  146. package/types/components/lcb-text/types.d.ts +0 -4
  147. package/types/components/lcb-title/lcb-title.vue.d.ts +0 -114
  148. package/types/components/lcb-title/types.d.ts +0 -42
  149. package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +0 -62
  150. package/types/components/lcb-user-order/types.d.ts +0 -27
  151. package/types/components/lcb-user-top/Nums/index.vue.d.ts +0 -28
  152. package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +0 -158
  153. package/types/components/lcb-user-top/types.d.ts +0 -57
  154. package/types/components/lcb-video/lcb-video.vue.d.ts +0 -56
  155. package/types/components/lcb-video/types.d.ts +0 -10
  156. package/types/components/lcb-vip/api/index.d.ts +0 -70
  157. package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +0 -42
  158. package/types/components/lcb-vip/lcb-vip.vue.d.ts +0 -68
  159. package/types/components/lcb-vip/types.d.ts +0 -10
  160. package/types/components/lcb-waterfall/lcb-waterfall-item.vue.d.ts +0 -73
  161. package/types/components/lcb-waterfall/lcb-waterfall.vue.d.ts +0 -192
  162. package/types/components/lcb-wrapper-item/lcb-wrapper-item.vue.d.ts +0 -49
  163. package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +0 -71
  164. package/types/components/lcb-wrapper-list/types.d.ts +0 -14
  165. package/types/constants.d.ts +0 -17
  166. package/types/hooks/useAutoHeight.d.ts +0 -8
  167. package/types/hooks/useDynamicData.d.ts +0 -14
  168. package/types/hooks/useLocation.api.d.ts +0 -18
  169. package/types/hooks/useLocation.d.ts +0 -10
  170. package/types/hooks/usePageScroll.d.ts +0 -2
  171. package/types/hooks/usePay.d.ts +0 -13
  172. package/types/hooks/useSyncForm.d.ts +0 -5
  173. package/types/hooks/useUpload.api.d.ts +0 -12
  174. package/types/hooks/useUpload.d.ts +0 -21
  175. package/types/utils/formatter.d.ts +0 -5
  176. package/types/utils/history.d.ts +0 -5
  177. package/types/utils/request.d.ts +0 -6
  178. package/types/utils/transform.d.ts +0 -15
  179. package/types/utils/utils.d.ts +0 -51
@@ -1,10 +0,0 @@
1
- export interface LcbIconProps {
2
- icon?: string
3
- size?: string
4
- color?: string
5
- customClass?: string
6
- customStyle?: string
7
- url?: string
8
- classPrefix?: string
9
- iconType?: 'icon' | 'img'
10
- }
@@ -1,56 +0,0 @@
1
- import { LcbImageProps } from '../types'
2
- declare const _default: import('vue').DefineComponent<
3
- __VLS_WithDefaults<
4
- __VLS_TypePropsToOption<LcbImageProps>,
5
- {
6
- imageMargin: 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<LcbImageProps>,
22
- {
23
- imageMargin: number
24
- }
25
- >
26
- >
27
- >,
28
- {
29
- imageMargin: 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
- }
@@ -1,70 +0,0 @@
1
- import { LcbImageProps } from './types'
2
- declare const _default: import('vue').DefineComponent<
3
- __VLS_WithDefaults<
4
- __VLS_TypePropsToOption<LcbImageProps>,
5
- {
6
- styleGroup: number
7
- imageMargin: number
8
- imageSize: number
9
- marginTop: number
10
- marginBottom: number
11
- marginHorizontal: number
12
- }
13
- >,
14
- {},
15
- unknown,
16
- {},
17
- {},
18
- import('vue').ComponentOptionsMixin,
19
- import('vue').ComponentOptionsMixin,
20
- {},
21
- string,
22
- import('vue').PublicProps,
23
- Readonly<
24
- import('vue').ExtractPropTypes<
25
- __VLS_WithDefaults<
26
- __VLS_TypePropsToOption<LcbImageProps>,
27
- {
28
- styleGroup: number
29
- imageMargin: number
30
- imageSize: number
31
- marginTop: number
32
- marginBottom: number
33
- marginHorizontal: number
34
- }
35
- >
36
- >
37
- >,
38
- {
39
- marginHorizontal: number
40
- marginBottom: number
41
- styleGroup: number
42
- imageSize: number
43
- imageMargin: number
44
- },
45
- {}
46
- >
47
- export default _default
48
- type __VLS_WithDefaults<P, D> = {
49
- [K in keyof Pick<P, keyof P>]: K extends keyof D
50
- ? __VLS_Prettify<
51
- P[K] & {
52
- default: D[K]
53
- }
54
- >
55
- : P[K]
56
- }
57
- type __VLS_Prettify<T> = {
58
- [K in keyof T]: T[K]
59
- } & {}
60
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
61
- type __VLS_TypePropsToOption<T> = {
62
- [K in keyof T]-?: {} extends Pick<T, K>
63
- ? {
64
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
65
- }
66
- : {
67
- type: import('vue').PropType<T[K]>
68
- required: true
69
- }
70
- }
@@ -1,17 +0,0 @@
1
- import { ActionView } from 'action'
2
- export interface LcbImageProps {
3
- items?: Partial<ActionView>[]
4
- styleGroup?: number
5
- imageRadius?: number
6
- itemPadding?: number
7
- enablePreview?: boolean
8
- marginHorizontal?: number
9
- imageMargin?: number
10
- imageSize?: number
11
- floatUp?: number
12
- shadowColor?: string
13
- shadowSize?: number
14
- blurSize?: number
15
- marginBottom?: number
16
- imageHeight?: number
17
- }
@@ -1,113 +0,0 @@
1
- import { LcbImgNavProps } from './types'
2
- declare const _default: import('vue').DefineComponent<
3
- __VLS_WithDefaults<
4
- __VLS_TypePropsToOption<LcbImgNavProps>,
5
- {
6
- textColor: string
7
- iconColor: string
8
- iconRadius: number
9
- paddingVertical: number
10
- iconSize: number
11
- paddingHorizontal: number
12
- iconTextMargin: number
13
- pictureDistribution: number
14
- textSize: number
15
- urlKey: string
16
- titleKey: string
17
- itemFlexMode: string
18
- itemGap: number
19
- titleBottom: number
20
- textFontWeight: number
21
- divider: boolean
22
- arrowSize: number
23
- arrowColor: string
24
- reverse: boolean
25
- }
26
- >,
27
- {},
28
- unknown,
29
- {},
30
- {},
31
- import('vue').ComponentOptionsMixin,
32
- import('vue').ComponentOptionsMixin,
33
- {
34
- click: (...args: any[]) => void
35
- },
36
- string,
37
- import('vue').PublicProps,
38
- Readonly<
39
- import('vue').ExtractPropTypes<
40
- __VLS_WithDefaults<
41
- __VLS_TypePropsToOption<LcbImgNavProps>,
42
- {
43
- textColor: string
44
- iconColor: string
45
- iconRadius: number
46
- paddingVertical: number
47
- iconSize: number
48
- paddingHorizontal: number
49
- iconTextMargin: number
50
- pictureDistribution: number
51
- textSize: number
52
- urlKey: string
53
- titleKey: string
54
- itemFlexMode: string
55
- itemGap: number
56
- titleBottom: number
57
- textFontWeight: number
58
- divider: boolean
59
- arrowSize: number
60
- arrowColor: string
61
- reverse: boolean
62
- }
63
- >
64
- >
65
- > & {
66
- onClick?: ((...args: any[]) => any) | undefined
67
- },
68
- {
69
- iconSize: number
70
- iconColor: string
71
- paddingHorizontal: number
72
- paddingVertical: number
73
- textColor: string
74
- pictureDistribution: 3 | 4 | 5
75
- iconRadius: number
76
- iconTextMargin: number
77
- textFontWeight: number
78
- divider: boolean
79
- arrowColor: string
80
- arrowSize: number
81
- textSize: number
82
- urlKey: string
83
- titleKey: string
84
- titleBottom: number
85
- itemGap: number
86
- itemFlexMode: 'row' | 'column'
87
- },
88
- {}
89
- >
90
- export default _default
91
- type __VLS_WithDefaults<P, D> = {
92
- [K in keyof Pick<P, keyof P>]: K extends keyof D
93
- ? __VLS_Prettify<
94
- P[K] & {
95
- default: D[K]
96
- }
97
- >
98
- : P[K]
99
- }
100
- type __VLS_Prettify<T> = {
101
- [K in keyof T]: T[K]
102
- } & {}
103
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
104
- type __VLS_TypePropsToOption<T> = {
105
- [K in keyof T]-?: {} extends Pick<T, K>
106
- ? {
107
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
108
- }
109
- : {
110
- type: import('vue').PropType<T[K]>
111
- required: true
112
- }
113
- }
@@ -1,61 +0,0 @@
1
- import { ActionView } from 'action'
2
- import { LcbBlockProps } from '../lcb-block/types'
3
- export interface LcbImgNavProps extends LcbBlockProps {
4
- /** 模式 1.单行 2.多行 3.cell */
5
- styleGroup?: 1 | 2 | 3
6
- /** 文字颜色 #212121 */
7
- textColor?: string
8
- /** 背景图片 */
9
- bgImg?: string
10
- /** 图标颜色 #212121 */
11
- iconColor?: string
12
- /** 图标类型 0.系统 1.自定义 */
13
- iconType?: 0 | 1
14
- /** 数据内容 */
15
- items?: (ActionView & {
16
- /** 依赖值 */
17
- dependKey?: string
18
- /** 依赖值类型 */
19
- keyFromUser?: boolean
20
- /** 依赖值反选 */
21
- reverse?: boolean
22
- /** 依赖值对比值 */
23
- dependKeyCompareValue?: string
24
- })[]
25
- /** 排布方式每行几个 */
26
- pictureDistribution?: 3 | 4 | 5
27
- /** 图标尺寸 0.小40px 2.大50px */
28
- iconSize?: number
29
- /** 图标圆角 默认 0 */
30
- iconRadius?: number
31
- /** 文字与图标距离 */
32
- iconTextMargin?: number
33
- textFontWeight?: number
34
- divider?: boolean
35
- /** 箭头颜色 */
36
- arrowColor?: string
37
- /** 箭头大小 */
38
- arrowSize?: number
39
- showTitle?: boolean
40
- title?: string
41
- fontWeight?: number
42
- fontSize?: number
43
- color?: string
44
- titlePadding?: number
45
- textSize?: number
46
- urlKey?: string
47
- titleKey?: string
48
- titleBottom?: number
49
- itemBgColor?: string
50
- itemRadius?: number
51
- itemVerticalPadding?: number
52
- itemHorizontalPadding?: number
53
- itemGap?: number
54
- itemFlexMode?: 'row' | 'column'
55
- /** 阴影颜色 */
56
- itemShadowColor?: string
57
- /** 阴影大小 */
58
- itemShadowSize?: number
59
- /** 模糊大小 */
60
- itemBlurSize?: number
61
- }
@@ -1,10 +0,0 @@
1
- import type { LightMapConfig, MapDetail } from './types'
2
- /**
3
- * 获取地图配置列表
4
- */
5
- export declare const getMapConfigListApi: () => Promise<LightMapConfig[]>
6
- /**
7
- * 获取地图详细信息
8
- * @param clockLightConfigId 地图配置ID
9
- */
10
- export declare const getMapDetailApi: (clockLightConfigId: string) => Promise<MapDetail>
@@ -1,59 +0,0 @@
1
- import type { LcbLightMapProps } from './types'
2
- declare const _default: import('vue').DefineComponent<
3
- __VLS_WithDefaults<
4
- __VLS_TypePropsToOption<LcbLightMapProps>,
5
- {
6
- width: number
7
- height: number
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<LcbLightMapProps>,
23
- {
24
- width: number
25
- height: number
26
- }
27
- >
28
- >
29
- >,
30
- {
31
- width: number
32
- height: number
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
- }
@@ -1,69 +0,0 @@
1
- import { LcbBlockProps } from '../lcb-block/types'
2
- export interface LcbLightMapProps extends LcbBlockProps {
3
- width: number
4
- height: number
5
- }
6
- /**
7
- * 位置记录接口
8
- */
9
- export interface LocationRecord {
10
- latitude: number
11
- longitude: number
12
- [key: string]: any
13
- }
14
- /**
15
- * 地图详细配置接口
16
- */
17
- export interface MapDetailConfig {
18
- boundaries: {
19
- southwest: {
20
- latitude: number
21
- longitude: number
22
- }
23
- northeast: {
24
- latitude: number
25
- longitude: number
26
- }
27
- }
28
- physicalSize: {
29
- xSize: number
30
- ySize: number
31
- }
32
- backgroundImages: {
33
- default: string
34
- p30: string
35
- p60: string
36
- p80: string
37
- p100: string
38
- }
39
- displaySize?: {
40
- normal?: {
41
- width: number
42
- height: number
43
- }
44
- index?: {
45
- width: number
46
- height: number
47
- }
48
- }
49
- dotStyle: {
50
- width: number
51
- height: number
52
- backgroundColor: string
53
- }
54
- }
55
- /**
56
- * 地图配置接口
57
- */
58
- export interface LightMapConfig {
59
- clockLightConfigId: string
60
- subTitle: string
61
- title: string
62
- mapConfig: MapDetailConfig
63
- }
64
- export interface MapDetail {
65
- clockLightConfigId: string
66
- clockLightProductCountRate: number
67
- clockLightUserRecordList: LocationRecord[]
68
- clockLightConfigList: LightMapConfig[]
69
- }
@@ -1,40 +0,0 @@
1
- import type { LightMapConfig, LocationRecord } from './types'
2
- /**
3
- * 使用 Haversine 公式计算两个经纬度坐标之间的距离
4
- * @param lat1 起点纬度
5
- * @param lng1 起点经度
6
- * @param lat2 终点纬度
7
- * @param lng2 终点经度
8
- * @returns 距离(单位:米)
9
- */
10
- export declare const getDistanceByLoc: (
11
- lat1?: number,
12
- lng1?: number,
13
- lat2?: number,
14
- lng2?: number,
15
- ) => number
16
- /**
17
- * 计算位置点相对于地图的百分比位置
18
- */
19
- export declare const getPosition: (
20
- item: LocationRecord,
21
- mapConfig: LightMapConfig,
22
- ) => {
23
- left: number
24
- bottom: number
25
- }
26
- /**
27
- * 获取点的完整样式
28
- */
29
- export declare const getDotStyle: (
30
- item: LocationRecord,
31
- mapConfig: LightMapConfig,
32
- ) => {
33
- left: string
34
- bottom: string
35
- width: string
36
- height: string
37
- backgroundColor: string
38
- marginLeft: string
39
- marginBottom: string
40
- }
@@ -1,67 +0,0 @@
1
- import { FilterTabsProps } from './components/FilterTabs/type'
2
- import { Option } from './types'
3
- export interface LcbListInfo {
4
- url: string
5
- baseParam?: Record<string, unknown>
6
- }
7
- export interface LcbFilterResult {
8
- btnComponent: BtnComponent
9
- filterTags: FilterTags[]
10
- filterComponent: FilterComponent[]
11
- listInfo: LcbListInfo
12
- filterTabs?: {
13
- componentProps: FilterTabsProps
14
- valueName: string
15
- sortType?: boolean
16
- defaultValue?: string
17
- }
18
- }
19
- export interface FilterComponent {
20
- filterName?: string
21
- component: string
22
- defaultValue?: string
23
- defaultName?: string
24
- valueName: string
25
- sortType?: boolean
26
- componentProps: FilterComponentProps
27
- }
28
- interface FilterComponentProps {
29
- mode?: 'multiple' | 'single'
30
- apiPath?: string
31
- options?: Option[]
32
- componentList?: ComponentList[]
33
- }
34
- export interface ComponentList {
35
- filterName: string
36
- component: string
37
- valueName: string
38
- sortType?: boolean
39
- defaultValue?: string | string[] | number[]
40
- componentProps: FilterTagsProps
41
- }
42
- export interface FilterTags {
43
- component: string
44
- valueName: string
45
- sortType?: boolean
46
- defaultValue?: string
47
- defaultName?: string
48
- componentProps: FilterTagsProps
49
- }
50
- export interface FilterTagsProps {
51
- mode?: 'multiple' | 'single'
52
- max: number
53
- min: number
54
- apiPath: string
55
- options: Option[]
56
- unit?: string
57
- step?: number
58
- valueName: string
59
- sortType?: boolean
60
- }
61
- interface BtnComponent {
62
- postRequest: string
63
- }
64
- export declare const getFilterDetail: (
65
- val: string,
66
- ) => Promise<import('../../action').IResData<LcbFilterResult>>
67
- export {}
@@ -1,34 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<
2
- {
3
- disabled: {
4
- type: BooleanConstructor
5
- }
6
- },
7
- {},
8
- unknown,
9
- {},
10
- {},
11
- import('vue').ComponentOptionsMixin,
12
- import('vue').ComponentOptionsMixin,
13
- {
14
- cancel: (...args: any[]) => void
15
- submit: (...args: any[]) => void
16
- },
17
- string,
18
- import('vue').PublicProps,
19
- Readonly<
20
- import('vue').ExtractPropTypes<{
21
- disabled: {
22
- type: BooleanConstructor
23
- }
24
- }>
25
- > & {
26
- onSubmit?: ((...args: any[]) => any) | undefined
27
- onCancel?: ((...args: any[]) => any) | undefined
28
- },
29
- {
30
- disabled: boolean
31
- },
32
- {}
33
- >
34
- export default _default
@@ -1,32 +0,0 @@
1
- import { ComponentGroupProps } from './type'
2
- declare const _default: import('vue').DefineComponent<
3
- __VLS_TypePropsToOption<ComponentGroupProps>,
4
- {},
5
- unknown,
6
- {},
7
- {},
8
- import('vue').ComponentOptionsMixin,
9
- import('vue').ComponentOptionsMixin,
10
- {
11
- submit: (...args: any[]) => void
12
- },
13
- string,
14
- import('vue').PublicProps,
15
- Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<ComponentGroupProps>>> & {
16
- onSubmit?: ((...args: any[]) => any) | undefined
17
- },
18
- {},
19
- {}
20
- >
21
- export default _default
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
23
- type __VLS_TypePropsToOption<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K>
25
- ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
27
- }
28
- : {
29
- type: import('vue').PropType<T[K]>
30
- required: true
31
- }
32
- }
@@ -1,5 +0,0 @@
1
- import { ComponentList } from '../../api'
2
- export interface ComponentGroupProps {
3
- componentList?: ComponentList[]
4
- filter?: Record<string, string>
5
- }
@@ -1,50 +0,0 @@
1
- import { LcbFilterListProps } from './type'
2
- declare let __VLS_typeProps: LcbFilterListProps
3
- type __VLS_PublicProps = {
4
- modelValue?: unknown[]
5
- } & typeof __VLS_typeProps
6
- declare function __VLS_template(): {
7
- default?(_: {}): any
8
- }
9
- declare const __VLS_component: import('vue').DefineComponent<
10
- __VLS_TypePropsToOption<__VLS_PublicProps>,
11
- {},
12
- unknown,
13
- {},
14
- {},
15
- import('vue').ComponentOptionsMixin,
16
- import('vue').ComponentOptionsMixin,
17
- {
18
- 'update:modelValue': (modelValue: unknown[]) => void
19
- refresh: (...args: any[]) => void
20
- },
21
- string,
22
- import('vue').PublicProps,
23
- Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
24
- 'onUpdate:modelValue'?: ((modelValue: unknown[]) => any) | undefined
25
- onRefresh?: ((...args: any[]) => any) | undefined
26
- },
27
- {},
28
- {}
29
- >
30
- declare const _default: __VLS_WithTemplateSlots<
31
- typeof __VLS_component,
32
- ReturnType<typeof __VLS_template>
33
- >
34
- export default _default
35
- type __VLS_WithTemplateSlots<T, S> = T & {
36
- new (): {
37
- $slots: S
38
- }
39
- }
40
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
41
- type __VLS_TypePropsToOption<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K>
43
- ? {
44
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
45
- }
46
- : {
47
- type: import('vue').PropType<T[K]>
48
- required: true
49
- }
50
- }