@tplc/business 0.2.7 → 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 (108) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/package.json +1 -1
  3. package/types/api/user.d.ts +6 -0
  4. package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +41 -0
  5. package/types/components/lcb-action-view/types.d.ts +33 -0
  6. package/types/components/lcb-advert/lcb-advert.vue.d.ts +28 -0
  7. package/types/components/lcb-advert/types.d.ts +3 -0
  8. package/types/components/lcb-area-picker/api/index.d.ts +48 -0
  9. package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +79 -0
  10. package/types/components/lcb-area-picker/types.d.ts +3 -0
  11. package/types/components/lcb-banner/lcb-banner.vue.d.ts +62 -0
  12. package/types/components/lcb-banner/types.d.ts +47 -0
  13. package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +56 -0
  14. package/types/components/lcb-banner-block/types.d.ts +18 -0
  15. package/types/components/lcb-block/lcb-block.vue.d.ts +74 -0
  16. package/types/components/lcb-block/types.d.ts +40 -0
  17. package/types/components/lcb-button/lcb-button.vue.d.ts +42 -0
  18. package/types/components/lcb-button/types.d.ts +7 -0
  19. package/types/components/lcb-calendar/api/index.d.ts +16 -0
  20. package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +137 -0
  21. package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +64 -0
  22. package/types/components/lcb-calendar-search/types.d.ts +4 -0
  23. package/types/components/lcb-city-select/api/index.d.ts +32 -0
  24. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +53 -0
  25. package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +48 -0
  26. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +5 -0
  27. package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +77 -0
  28. package/types/components/lcb-city-select/types.d.ts +5 -0
  29. package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +44 -0
  30. package/types/components/lcb-dynamic-data/types.d.ts +7 -0
  31. package/types/components/lcb-gap/lcb-gap.vue.d.ts +42 -0
  32. package/types/components/lcb-gap/types.d.ts +7 -0
  33. package/types/components/lcb-grid/lcb-grid.vue.d.ts +74 -0
  34. package/types/components/lcb-grid/types.d.ts +16 -0
  35. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +71 -0
  36. package/types/components/lcb-home-search/types.d.ts +7 -0
  37. package/types/components/lcb-image/Image/index.vue.d.ts +56 -0
  38. package/types/components/lcb-image/lcb-image.vue.d.ts +70 -0
  39. package/types/components/lcb-image/types.d.ts +14 -0
  40. package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +99 -0
  41. package/types/components/lcb-img-nav/types.d.ts +46 -0
  42. package/types/components/lcb-list/api.d.ts +60 -0
  43. package/types/components/lcb-list/components/ActionView/index.vue.d.ts +34 -0
  44. package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +32 -0
  45. package/types/components/lcb-list/components/ComponentGroup/type.d.ts +5 -0
  46. package/types/components/lcb-list/components/FilterList/index.vue.d.ts +48 -0
  47. package/types/components/lcb-list/components/FilterList/type.d.ts +11 -0
  48. package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +41 -0
  49. package/types/components/lcb-list/components/FilterSelect/type.d.ts +2 -0
  50. package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +36 -0
  51. package/types/components/lcb-list/components/FilterSlider/types.d.ts +2 -0
  52. package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +36 -0
  53. package/types/components/lcb-list/components/FilterTabs/type.d.ts +5 -0
  54. package/types/components/lcb-list/components/FilterView/index.vue.d.ts +36 -0
  55. package/types/components/lcb-list/components/FilterView/type.d.ts +7 -0
  56. package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +43 -0
  57. package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +39 -0
  58. package/types/components/lcb-list/components/TagSelect/type.d.ts +4 -0
  59. package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +41 -0
  60. package/types/components/lcb-list/components/TreeSelect/type.d.ts +2 -0
  61. package/types/components/lcb-list/hooks/useSelect.d.ts +25 -0
  62. package/types/components/lcb-list/lcb-list.vue.d.ts +67 -0
  63. package/types/components/lcb-list/types.d.ts +26 -0
  64. package/types/components/lcb-map/lcb-map.vue.d.ts +56 -0
  65. package/types/components/lcb-map/types.d.ts +1 -0
  66. package/types/components/lcb-nav/Search/index.vue.d.ts +44 -0
  67. package/types/components/lcb-nav/Title/index.vue.d.ts +28 -0
  68. package/types/components/lcb-nav/lcb-nav.vue.d.ts +92 -0
  69. package/types/components/lcb-nav/types.d.ts +41 -0
  70. package/types/components/lcb-notice/api/index.d.ts +19 -0
  71. package/types/components/lcb-notice/lcb-notice.vue.d.ts +77 -0
  72. package/types/components/lcb-notice/types.d.ts +14 -0
  73. package/types/components/lcb-product/lcb-product.vue.d.ts +67 -0
  74. package/types/components/lcb-product/types.d.ts +10 -0
  75. package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +91 -0
  76. package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +169 -0
  77. package/types/components/lcb-product-item/types.d.ts +65 -0
  78. package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +44 -0
  79. package/types/components/lcb-rich-text/types.d.ts +4 -0
  80. package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +118 -0
  81. package/types/components/lcb-tags/Tag/index.vue.d.ts +44 -0
  82. package/types/components/lcb-tags/lcb-tags.vue.d.ts +59 -0
  83. package/types/components/lcb-tags/types.d.ts +13 -0
  84. package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
  85. package/types/components/lcb-text/types.d.ts +4 -0
  86. package/types/components/lcb-title/lcb-title.vue.d.ts +94 -0
  87. package/types/components/lcb-title/types.d.ts +22 -0
  88. package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +62 -0
  89. package/types/components/lcb-user-order/types.d.ts +27 -0
  90. package/types/components/lcb-user-top/Nums/index.vue.d.ts +32 -0
  91. package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +98 -0
  92. package/types/components/lcb-user-top/types.d.ts +38 -0
  93. package/types/components/lcb-video/lcb-video.vue.d.ts +56 -0
  94. package/types/components/lcb-video/types.d.ts +10 -0
  95. package/types/components/lcb-vip/api/index.d.ts +34 -0
  96. package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +38 -0
  97. package/types/components/lcb-vip/lcb-vip.vue.d.ts +68 -0
  98. package/types/components/lcb-vip/types.d.ts +8 -0
  99. package/types/constants.d.ts +5 -0
  100. package/types/hooks/useAutoHeight.d.ts +2 -0
  101. package/types/hooks/useLocation.api.d.ts +9 -0
  102. package/types/hooks/useLocation.d.ts +7 -0
  103. package/types/hooks/usePageScroll.d.ts +2 -0
  104. package/types/hooks/useUpload.api.d.ts +12 -0
  105. package/types/hooks/useUpload.d.ts +21 -0
  106. package/types/utils/auth.d.ts +2 -0
  107. package/types/utils/transform.d.ts +5 -0
  108. package/types/utils/utils.d.ts +3 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.2.8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.7...v0.2.8) (2024-12-03)
6
+
5
7
  ### [0.2.7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.6...v0.2.7) (2024-12-03)
6
8
 
7
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -0,0 +1,6 @@
1
+ /** 获取用户手机号 */
2
+ export declare const getUserPhone: (data: {
3
+ encryptedData: string
4
+ iv: string
5
+ code?: string
6
+ }) => Promise<import('../action').IResData<unknown>>
@@ -0,0 +1,41 @@
1
+ import { LcbActionViewProps } from './types'
2
+ declare function __VLS_template(): {
3
+ default?(_: {}): any
4
+ }
5
+ declare const __VLS_component: import('vue').DefineComponent<
6
+ __VLS_TypePropsToOption<LcbActionViewProps>,
7
+ {},
8
+ unknown,
9
+ {},
10
+ {},
11
+ import('vue').ComponentOptionsMixin,
12
+ import('vue').ComponentOptionsMixin,
13
+ any,
14
+ string,
15
+ import('vue').PublicProps,
16
+ any,
17
+ {},
18
+ {}
19
+ >
20
+ declare const _default: __VLS_WithTemplateSlots<
21
+ typeof __VLS_component,
22
+ ReturnType<typeof __VLS_template>
23
+ >
24
+ export default _default
25
+
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S
29
+ }
30
+ }
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
32
+ type __VLS_TypePropsToOption<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K>
34
+ ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
36
+ }
37
+ : {
38
+ type: import('vue').PropType<T[K]>
39
+ required: true
40
+ }
41
+ }
@@ -0,0 +1,33 @@
1
+ export interface LcbActionViewProps {
2
+ /**
3
+ * 跳转类型 1: 网页 2: 小程序内页 10: 跳转小程序 11: 跳转半屏小程序 12: 小程序客服
4
+ * 13: 退出登录 14: 小程序弹框 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
5
+ * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
6
+ */
7
+ jumpType?:
8
+ | 1
9
+ | 2
10
+ | 10
11
+ | 11
12
+ | 12
13
+ | 13
14
+ | 14
15
+ | 21
16
+ | 22
17
+ | 23
18
+ | 24
19
+ | 25
20
+ | 26
21
+ | 30
22
+ | 88
23
+ | 101
24
+ | 102
25
+ | 103
26
+ | 104
27
+ /** 跳转路径 */
28
+ jumpUrl?: string
29
+ /** 小程序appid */
30
+ jumpAppid?: string
31
+ phoneNumber?: string
32
+ customClass?: string
33
+ }
@@ -0,0 +1,28 @@
1
+ import { LcbAdvertProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_TypePropsToOption<LcbAdvertProps>,
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<LcbAdvertProps>>>,
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,3 @@
1
+ export interface LcbAdvertProps {
2
+ pageType?: string
3
+ }
@@ -0,0 +1,48 @@
1
+ export interface ProvinceCityArea {
2
+ cityList: CityList[]
3
+ provinceId: string
4
+ provinceName: string
5
+ }
6
+ interface CityList {
7
+ areaList?: AreaList[]
8
+ cityId: string
9
+ cityName: string
10
+ provinceId: string
11
+ }
12
+ interface AreaList {
13
+ areaId: string
14
+ areaName: string
15
+ cityId: string
16
+ }
17
+ export interface AreaOptions {
18
+ label: string
19
+ value: string
20
+ children?: AreaOptions[]
21
+ }
22
+ export declare const getProvinceCityArea: () => Promise<
23
+ {
24
+ label: string
25
+ value: string
26
+ children: {
27
+ label: string
28
+ value: string
29
+ children:
30
+ | {
31
+ label: string
32
+ value: string
33
+ }[]
34
+ | undefined
35
+ }[]
36
+ }[]
37
+ >
38
+ export declare const getProvinceCity: () => Promise<
39
+ {
40
+ label: string
41
+ value: string
42
+ children: {
43
+ label: string
44
+ value: string
45
+ }[]
46
+ }[]
47
+ >
48
+ export {}
@@ -0,0 +1,79 @@
1
+ import { LcbAreaPickerProps } from './types'
2
+ import { AreaOptions } from './api'
3
+ declare let __VLS_typeProps: LcbAreaPickerProps
4
+ type __VLS_PublicProps = {
5
+ modelValue?: string[]
6
+ } & typeof __VLS_typeProps
7
+ declare function __VLS_template(): {
8
+ default?(_: { text: string[] | undefined }): any
9
+ }
10
+ declare const __VLS_component: import('vue').DefineComponent<
11
+ __VLS_WithDefaults<
12
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
13
+ {
14
+ mode: string
15
+ }
16
+ >,
17
+ {},
18
+ unknown,
19
+ {},
20
+ {},
21
+ import('vue').ComponentOptionsMixin,
22
+ import('vue').ComponentOptionsMixin,
23
+ {
24
+ 'update:modelValue': (modelValue: string[]) => void
25
+ confirm: (payload: AreaOptions[]) => void
26
+ },
27
+ string,
28
+ import('vue').PublicProps,
29
+ Readonly<
30
+ import('vue').ExtractPropTypes<
31
+ __VLS_WithDefaults<
32
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
33
+ {
34
+ mode: string
35
+ }
36
+ >
37
+ >
38
+ > & {
39
+ 'onUpdate:modelValue'?: ((modelValue: string[]) => any) | undefined
40
+ onConfirm?: ((payload: AreaOptions[]) => any) | undefined
41
+ },
42
+ {
43
+ mode: 'city' | 'area'
44
+ },
45
+ {}
46
+ >
47
+ declare const _default: __VLS_WithTemplateSlots<
48
+ typeof __VLS_component,
49
+ ReturnType<typeof __VLS_template>
50
+ >
51
+ export default _default
52
+ type __VLS_WithDefaults<P, D> = {
53
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
54
+ ? __VLS_Prettify<
55
+ P[K] & {
56
+ default: D[K]
57
+ }
58
+ >
59
+ : P[K]
60
+ }
61
+ type __VLS_Prettify<T> = {
62
+ [K in keyof T]: T[K]
63
+ } & {}
64
+ type __VLS_WithTemplateSlots<T, S> = T & {
65
+ new (): {
66
+ $slots: S
67
+ }
68
+ }
69
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
70
+ type __VLS_TypePropsToOption<T> = {
71
+ [K in keyof T]-?: {} extends Pick<T, K>
72
+ ? {
73
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
74
+ }
75
+ : {
76
+ type: import('vue').PropType<T[K]>
77
+ required: true
78
+ }
79
+ }
@@ -0,0 +1,3 @@
1
+ export interface LcbAreaPickerProps {
2
+ mode: 'city' | 'area'
3
+ }
@@ -0,0 +1,62 @@
1
+ import { LcbBannerProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbBannerProps>,
5
+ {
6
+ styleGroup: number
7
+ radius: number
8
+ slidingStyle: 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<LcbBannerProps>,
24
+ {
25
+ styleGroup: number
26
+ radius: number
27
+ slidingStyle: number
28
+ }
29
+ >
30
+ >
31
+ >,
32
+ {
33
+ radius: number
34
+ styleGroup: 1 | 2
35
+ slidingStyle: 1 | 2
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,47 @@
1
+ import { ActionView } from 'action'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+ export interface LcbBannerProps extends LcbBlockProps {
4
+ items?: Partial<ActionView>[]
5
+ imageWidth?: number
6
+ /** 风格 1.平铺 2.卡片 */
7
+ styleGroup?: 1 | 2
8
+ autoplay?: boolean
9
+ /** 滚动方向 默认 horizontal */
10
+ direction?: 'horizontal' | 'vertical'
11
+ /** 同时显示的滑块数量 默认 1 */
12
+ displayMultipleItems?: number
13
+ /** 滑动时长 300ms */
14
+ duration?: number
15
+ /** 轮播图高度 默认192 */
16
+ height?: number
17
+ imgWidth?: number
18
+ /** 轮播间隔时间 5000ms */
19
+ interval?: number
20
+ /** 是否循环播放 默认 true */
21
+ loop?: boolean
22
+ /** 后边间距 */
23
+ nextMargin?: number
24
+ /** 前边间距 */
25
+ previousMargin?: number
26
+ /** 指示器位置 bottom */
27
+ indicatorPosition?:
28
+ | 'left'
29
+ | 'top-left'
30
+ | 'top'
31
+ | 'top-right'
32
+ | 'bottom-left'
33
+ | 'bottom'
34
+ | 'bottom-right'
35
+ | 'right'
36
+ /** 边距是否应用到第一个、最后一个元素 */
37
+ snapToEdge?: boolean
38
+ itemPadding?: number
39
+ /** 图片圆角 */
40
+ imageRadius?: number
41
+ radius?: number
42
+ customPrevImageClass?: string
43
+ customNextImageClass?: string
44
+ indicator?: 'dots' | 'dots-bar' | 'fraction'
45
+ /** 滑动样式 1平面 2立体 */
46
+ slidingStyle?: 1 | 2
47
+ }
@@ -0,0 +1,56 @@
1
+ import { LcbBannerListProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbBannerListProps>,
5
+ {
6
+ backgroundColor: string
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<LcbBannerListProps>,
22
+ {
23
+ backgroundColor: string
24
+ }
25
+ >
26
+ >
27
+ >,
28
+ {
29
+ backgroundColor: string
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,18 @@
1
+ import { LcbBlockProps } from '../lcb-block/types'
2
+ import { ActionView } from 'action'
3
+ export interface LcbBannerListProps extends LcbBlockProps {
4
+ items?: ActionView[]
5
+ /** 风格 1.顶部title 2.底部title */
6
+ styleGroup?: 1 | 2
7
+ /** 轮播图高度 默认192 */
8
+ height?: number
9
+ /** 轮播图宽度 */
10
+ imgWidth?: number
11
+ title: string
12
+ hint?: string
13
+ logo?: string
14
+ rightIcon?: string
15
+ leftIcon?: string
16
+ itemPadding?: number
17
+ imageRadius?: number
18
+ }
@@ -0,0 +1,74 @@
1
+ import { LcbBlockInnerProps } from './types'
2
+ declare function __VLS_template(): {
3
+ default?(_: {}): any
4
+ }
5
+ declare const __VLS_component: import('vue').DefineComponent<
6
+ __VLS_WithDefaults<
7
+ __VLS_TypePropsToOption<LcbBlockInnerProps>,
8
+ {
9
+ backgroundSize: string
10
+ backgroundRepeat: string
11
+ backgroundPosition: string
12
+ opacity: number
13
+ fontSize: number
14
+ }
15
+ >,
16
+ {},
17
+ unknown,
18
+ {},
19
+ {},
20
+ import('vue').ComponentOptionsMixin,
21
+ import('vue').ComponentOptionsMixin,
22
+ {},
23
+ string,
24
+ import('vue').PublicProps,
25
+ Readonly<
26
+ import('vue').ExtractPropTypes<
27
+ __VLS_WithDefaults<
28
+ __VLS_TypePropsToOption<LcbBlockInnerProps>,
29
+ {
30
+ backgroundSize: string
31
+ backgroundRepeat: string
32
+ backgroundPosition: string
33
+ opacity: number
34
+ fontSize: number
35
+ }
36
+ >
37
+ >
38
+ >,
39
+ {},
40
+ {}
41
+ >
42
+ declare const _default: __VLS_WithTemplateSlots<
43
+ typeof __VLS_component,
44
+ ReturnType<typeof __VLS_template>
45
+ >
46
+ export default _default
47
+ type __VLS_WithDefaults<P, D> = {
48
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
49
+ ? __VLS_Prettify<
50
+ P[K] & {
51
+ default: D[K]
52
+ }
53
+ >
54
+ : P[K]
55
+ }
56
+ type __VLS_Prettify<T> = {
57
+ [K in keyof T]: T[K]
58
+ } & {}
59
+ type __VLS_WithTemplateSlots<T, S> = T & {
60
+ new (): {
61
+ $slots: S
62
+ }
63
+ }
64
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
65
+ type __VLS_TypePropsToOption<T> = {
66
+ [K in keyof T]-?: {} extends Pick<T, K>
67
+ ? {
68
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
69
+ }
70
+ : {
71
+ type: import('vue').PropType<T[K]>
72
+ required: true
73
+ }
74
+ }
@@ -0,0 +1,40 @@
1
+ export interface LcbBlockProps {
2
+ /** 左右外距 */
3
+ marginHorizontal?: number
4
+ /** 左右内距 */
5
+ paddingHorizontal?: number
6
+ /** 上下内距 */
7
+ paddingVertical?: number
8
+ /** 背景颜色 #ffffff */
9
+ backgroundColor?: string
10
+ /** 背景图片 */
11
+ backgroundImage?: string
12
+ /** 上浮距离 */
13
+ floatUp?: number
14
+ /** 阴影颜色 */
15
+ shadowColor?: string
16
+ /** 阴影大小 */
17
+ shadowSize?: number
18
+ /** 模糊大小 */
19
+ blurSize?: number
20
+ /** 透明度 */
21
+ opacity?: number
22
+ paddingTop?: number
23
+ paddingBottom?: number
24
+ paddingLeft?: number
25
+ paddingRight?: number
26
+ color?: string
27
+ fontSize?: number
28
+ radius?: number
29
+ topRadius?: number
30
+ bottomRadius?: number
31
+ customClass?: string
32
+ backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
33
+ backgroundSize?: string
34
+ backgroundPosition?: string
35
+ borderColor?: string
36
+ textAlign?: 'left' | 'center' | 'right'
37
+ }
38
+ export interface LcbBlockInnerProps extends LcbBlockProps {
39
+ [key: string]: any
40
+ }
@@ -0,0 +1,42 @@
1
+ import { LcbButtonProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbButtonProps>, {}>,
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<__VLS_WithDefaults<__VLS_TypePropsToOption<LcbButtonProps>, {}>>
15
+ >,
16
+ {},
17
+ {}
18
+ >
19
+ export default _default
20
+ type __VLS_WithDefaults<P, D> = {
21
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
22
+ ? __VLS_Prettify<
23
+ P[K] & {
24
+ default: D[K]
25
+ }
26
+ >
27
+ : P[K]
28
+ }
29
+ type __VLS_Prettify<T> = {
30
+ [K in keyof T]: T[K]
31
+ } & {}
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,7 @@
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+ export interface LcbButtonProps extends LcbBlockProps {
4
+ type: 'phone-auth'
5
+ text: string
6
+ action: LcbActionViewProps
7
+ }
@@ -0,0 +1,16 @@
1
+ export interface LcbHistoryResult {
2
+ date: string
3
+ topText: string
4
+ centerText: string
5
+ bottomText: string
6
+ dateName: string
7
+ price: number
8
+ status: number
9
+ }
10
+ export declare const queryHolidayInfoList: (data: {
11
+ startDate: string
12
+ endDate: string
13
+ /** 日历数据类型·住宿··hotel..门票·ticket */
14
+ businessType?: string
15
+ businessId?: string
16
+ }) => Promise<import('../../../action').IResData<LcbHistoryResult[]>>