@tplc/business 0.2.4 → 0.2.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 (115) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/components/lcb-calendar-search/lcb-calendar-search.vue +33 -3
  3. package/components/lcb-list/components/FilterList/index.vue +7 -17
  4. package/components/lcb-list/lcb-list.vue +3 -1
  5. package/components/lcb-list/types.ts +1 -0
  6. package/components/lcb-map/lcb-map.vue +203 -0
  7. package/components/lcb-map/types.ts +3 -0
  8. package/components/lcb-vip/lcb-vip.vue +1 -1
  9. package/global.d.ts +1 -0
  10. package/hooks/useAutoHeight.ts +20 -0
  11. package/iconfonts/index.css +23 -3
  12. package/package.json +1 -1
  13. package/types/api/user.d.ts +0 -6
  14. package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +0 -41
  15. package/types/components/lcb-action-view/types.d.ts +0 -33
  16. package/types/components/lcb-advert/lcb-advert.vue.d.ts +0 -28
  17. package/types/components/lcb-advert/types.d.ts +0 -3
  18. package/types/components/lcb-area-picker/api/index.d.ts +0 -48
  19. package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +0 -79
  20. package/types/components/lcb-area-picker/types.d.ts +0 -3
  21. package/types/components/lcb-banner/lcb-banner.vue.d.ts +0 -62
  22. package/types/components/lcb-banner/types.d.ts +0 -47
  23. package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +0 -56
  24. package/types/components/lcb-banner-block/types.d.ts +0 -18
  25. package/types/components/lcb-block/lcb-block.vue.d.ts +0 -74
  26. package/types/components/lcb-block/types.d.ts +0 -40
  27. package/types/components/lcb-button/lcb-button.vue.d.ts +0 -42
  28. package/types/components/lcb-button/types.d.ts +0 -7
  29. package/types/components/lcb-calendar/api/index.d.ts +0 -16
  30. package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +0 -137
  31. package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +0 -64
  32. package/types/components/lcb-calendar-search/types.d.ts +0 -4
  33. package/types/components/lcb-city-select/api/index.d.ts +0 -32
  34. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +0 -53
  35. package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +0 -48
  36. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +0 -5
  37. package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +0 -77
  38. package/types/components/lcb-city-select/types.d.ts +0 -5
  39. package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +0 -44
  40. package/types/components/lcb-dynamic-data/types.d.ts +0 -7
  41. package/types/components/lcb-gap/lcb-gap.vue.d.ts +0 -42
  42. package/types/components/lcb-gap/types.d.ts +0 -7
  43. package/types/components/lcb-grid/lcb-grid.vue.d.ts +0 -74
  44. package/types/components/lcb-grid/types.d.ts +0 -16
  45. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +0 -71
  46. package/types/components/lcb-home-search/types.d.ts +0 -7
  47. package/types/components/lcb-image/Image/index.vue.d.ts +0 -56
  48. package/types/components/lcb-image/lcb-image.vue.d.ts +0 -70
  49. package/types/components/lcb-image/types.d.ts +0 -14
  50. package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +0 -99
  51. package/types/components/lcb-img-nav/types.d.ts +0 -46
  52. package/types/components/lcb-list/api.d.ts +0 -60
  53. package/types/components/lcb-list/components/ActionView/index.vue.d.ts +0 -34
  54. package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +0 -32
  55. package/types/components/lcb-list/components/ComponentGroup/type.d.ts +0 -5
  56. package/types/components/lcb-list/components/FilterList/index.vue.d.ts +0 -48
  57. package/types/components/lcb-list/components/FilterList/type.d.ts +0 -11
  58. package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +0 -41
  59. package/types/components/lcb-list/components/FilterSelect/type.d.ts +0 -2
  60. package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +0 -36
  61. package/types/components/lcb-list/components/FilterSlider/types.d.ts +0 -2
  62. package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +0 -36
  63. package/types/components/lcb-list/components/FilterTabs/type.d.ts +0 -5
  64. package/types/components/lcb-list/components/FilterView/index.vue.d.ts +0 -36
  65. package/types/components/lcb-list/components/FilterView/type.d.ts +0 -7
  66. package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +0 -43
  67. package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +0 -39
  68. package/types/components/lcb-list/components/TagSelect/type.d.ts +0 -4
  69. package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +0 -41
  70. package/types/components/lcb-list/components/TreeSelect/type.d.ts +0 -2
  71. package/types/components/lcb-list/hooks/useSelect.d.ts +0 -25
  72. package/types/components/lcb-list/lcb-list.vue.d.ts +0 -66
  73. package/types/components/lcb-list/types.d.ts +0 -25
  74. package/types/components/lcb-nav/Search/index.vue.d.ts +0 -44
  75. package/types/components/lcb-nav/Title/index.vue.d.ts +0 -28
  76. package/types/components/lcb-nav/lcb-nav.vue.d.ts +0 -92
  77. package/types/components/lcb-nav/types.d.ts +0 -41
  78. package/types/components/lcb-notice/api/index.d.ts +0 -19
  79. package/types/components/lcb-notice/lcb-notice.vue.d.ts +0 -77
  80. package/types/components/lcb-notice/types.d.ts +0 -14
  81. package/types/components/lcb-product/lcb-product.vue.d.ts +0 -67
  82. package/types/components/lcb-product/types.d.ts +0 -10
  83. package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +0 -91
  84. package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +0 -169
  85. package/types/components/lcb-product-item/types.d.ts +0 -65
  86. package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +0 -44
  87. package/types/components/lcb-rich-text/types.d.ts +0 -4
  88. package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +0 -118
  89. package/types/components/lcb-tags/Tag/index.vue.d.ts +0 -44
  90. package/types/components/lcb-tags/lcb-tags.vue.d.ts +0 -59
  91. package/types/components/lcb-tags/types.d.ts +0 -13
  92. package/types/components/lcb-text/lcb-text.vue.d.ts +0 -42
  93. package/types/components/lcb-text/types.d.ts +0 -4
  94. package/types/components/lcb-title/lcb-title.vue.d.ts +0 -94
  95. package/types/components/lcb-title/types.d.ts +0 -22
  96. package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +0 -62
  97. package/types/components/lcb-user-order/types.d.ts +0 -27
  98. package/types/components/lcb-user-top/Nums/index.vue.d.ts +0 -32
  99. package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +0 -98
  100. package/types/components/lcb-user-top/types.d.ts +0 -38
  101. package/types/components/lcb-video/lcb-video.vue.d.ts +0 -56
  102. package/types/components/lcb-video/types.d.ts +0 -10
  103. package/types/components/lcb-vip/api/index.d.ts +0 -34
  104. package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +0 -38
  105. package/types/components/lcb-vip/lcb-vip.vue.d.ts +0 -68
  106. package/types/components/lcb-vip/types.d.ts +0 -8
  107. package/types/constants.d.ts +0 -5
  108. package/types/hooks/useLocation.api.d.ts +0 -9
  109. package/types/hooks/useLocation.d.ts +0 -7
  110. package/types/hooks/usePageScroll.d.ts +0 -2
  111. package/types/hooks/useUpload.api.d.ts +0 -12
  112. package/types/hooks/useUpload.d.ts +0 -21
  113. package/types/utils/auth.d.ts +0 -2
  114. package/types/utils/transform.d.ts +0 -5
  115. package/types/utils/utils.d.ts +0 -3
@@ -1,79 +0,0 @@
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
- }
@@ -1,3 +0,0 @@
1
- export interface LcbAreaPickerProps {
2
- mode: 'city' | 'area'
3
- }
@@ -1,62 +0,0 @@
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
- }
@@ -1,47 +0,0 @@
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
- }
@@ -1,56 +0,0 @@
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
- }
@@ -1,18 +0,0 @@
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
- }
@@ -1,74 +0,0 @@
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
- }
@@ -1,40 +0,0 @@
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
- }
@@ -1,42 +0,0 @@
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
- }
@@ -1,7 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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[]>>
@@ -1,137 +0,0 @@
1
- declare function __VLS_template(): {
2
- default?(_: {}): any
3
- }
4
- declare const __VLS_component: import('vue').DefineComponent<
5
- {
6
- customClass: {
7
- type: StringConstructor
8
- default: string
9
- }
10
- minDate: {
11
- type: NumberConstructor
12
- default: number
13
- }
14
- maxDate: {
15
- type: NumberConstructor
16
- default: number
17
- }
18
- defaultValue: {
19
- type: {
20
- (arrayLength: number): number[]
21
- (...items: number[]): number[]
22
- new (arrayLength: number): number[]
23
- new (...items: number[]): number[]
24
- isArray(arg: any): arg is any[]
25
- readonly prototype: any[]
26
- from<T>(arrayLike: ArrayLike<T>): T[]
27
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]
28
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[]
29
- from<T, U>(
30
- iterable: Iterable<T> | ArrayLike<T>,
31
- mapfn: (v: T, k: number) => U,
32
- thisArg?: any,
33
- ): U[]
34
- of<T>(...items: T[]): T[]
35
- fromAsync<T>(
36
- iterableOrArrayLike:
37
- | AsyncIterable<T>
38
- | Iterable<T | PromiseLike<T>>
39
- | ArrayLike<T | PromiseLike<T>>,
40
- ): Promise<T[]>
41
- fromAsync<T, U>(
42
- iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>,
43
- mapFn: (value: Awaited<T>) => U,
44
- thisArg?: any,
45
- ): Promise<Awaited<U>[]>
46
- readonly [Symbol.species]: ArrayConstructor
47
- }
48
- /** 最近三个月 number[] */
49
- default: () => number[]
50
- }
51
- modelValue: {
52
- type: import('vue').PropType<number[]>
53
- }
54
- },
55
- {},
56
- unknown,
57
- {},
58
- {},
59
- import('vue').ComponentOptionsMixin,
60
- import('vue').ComponentOptionsMixin,
61
- {
62
- 'update:modelValue': (modelValue: number[]) => void
63
- },
64
- string,
65
- import('vue').PublicProps,
66
- Readonly<
67
- import('vue').ExtractPropTypes<{
68
- customClass: {
69
- type: StringConstructor
70
- default: string
71
- }
72
- minDate: {
73
- type: NumberConstructor
74
- default: number
75
- }
76
- maxDate: {
77
- type: NumberConstructor
78
- default: number
79
- }
80
- defaultValue: {
81
- type: {
82
- (arrayLength: number): number[]
83
- (...items: number[]): number[]
84
- new (arrayLength: number): number[]
85
- new (...items: number[]): number[]
86
- isArray(arg: any): arg is any[]
87
- readonly prototype: any[]
88
- from<T>(arrayLike: ArrayLike<T>): T[]
89
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]
90
- from<T>(iterable: Iterable<T> | ArrayLike<T>): T[]
91
- from<T, U>(
92
- iterable: Iterable<T> | ArrayLike<T>,
93
- mapfn: (v: T, k: number) => U,
94
- thisArg?: any,
95
- ): U[]
96
- of<T>(...items: T[]): T[]
97
- fromAsync<T>(
98
- iterableOrArrayLike:
99
- | AsyncIterable<T>
100
- | Iterable<T | PromiseLike<T>>
101
- | ArrayLike<T | PromiseLike<T>>,
102
- ): Promise<T[]>
103
- fromAsync<T, U>(
104
- iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>,
105
- mapFn: (value: Awaited<T>) => U,
106
- thisArg?: any,
107
- ): Promise<Awaited<U>[]>
108
- readonly [Symbol.species]: ArrayConstructor
109
- }
110
- /** 最近三个月 number[] */
111
- default: () => number[]
112
- }
113
- modelValue: {
114
- type: import('vue').PropType<number[]>
115
- }
116
- }>
117
- > & {
118
- 'onUpdate:modelValue'?: ((modelValue: number[]) => any) | undefined
119
- },
120
- {
121
- customClass: string
122
- minDate: number
123
- maxDate: number
124
- defaultValue: number[]
125
- },
126
- {}
127
- >
128
- declare const _default: __VLS_WithTemplateSlots<
129
- typeof __VLS_component,
130
- ReturnType<typeof __VLS_template>
131
- >
132
- export default _default
133
- type __VLS_WithTemplateSlots<T, S> = T & {
134
- new (): {
135
- $slots: S
136
- }
137
- }
@@ -1,64 +0,0 @@
1
- import { LcbCalendarSearchProps } from './types'
2
- declare const _default: import('vue').DefineComponent<
3
- __VLS_WithDefaults<
4
- __VLS_TypePropsToOption<LcbCalendarSearchProps>,
5
- {
6
- paddingHorizontal: number
7
- radius: number
8
- placeholder: string
9
- icon: string
10
- }
11
- >,
12
- {},
13
- unknown,
14
- {},
15
- {},
16
- import('vue').ComponentOptionsMixin,
17
- import('vue').ComponentOptionsMixin,
18
- {},
19
- string,
20
- import('vue').PublicProps,
21
- Readonly<
22
- import('vue').ExtractPropTypes<
23
- __VLS_WithDefaults<
24
- __VLS_TypePropsToOption<LcbCalendarSearchProps>,
25
- {
26
- paddingHorizontal: number
27
- radius: number
28
- placeholder: string
29
- icon: string
30
- }
31
- >
32
- >
33
- >,
34
- {
35
- radius: number
36
- placeholder: string
37
- paddingHorizontal: number
38
- },
39
- {}
40
- >
41
- export default _default
42
- type __VLS_WithDefaults<P, D> = {
43
- [K in keyof Pick<P, keyof P>]: K extends keyof D
44
- ? __VLS_Prettify<
45
- P[K] & {
46
- default: D[K]
47
- }
48
- >
49
- : P[K]
50
- }
51
- type __VLS_Prettify<T> = {
52
- [K in keyof T]: T[K]
53
- } & {}
54
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
55
- type __VLS_TypePropsToOption<T> = {
56
- [K in keyof T]-?: {} extends Pick<T, K>
57
- ? {
58
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
59
- }
60
- : {
61
- type: import('vue').PropType<T[K]>
62
- required: true
63
- }
64
- }
@@ -1,4 +0,0 @@
1
- import { LcbBlockProps } from '../lcb-block/types'
2
- export interface LcbCalendarSearchProps extends LcbBlockProps {
3
- placeholder?: string
4
- }
@@ -1,32 +0,0 @@
1
- export interface HotAddress {
2
- categoryName: string
3
- hint?: string
4
- childHotAddress: ChildHotAddress[]
5
- }
6
- export interface ChildHotAddress {
7
- addr: string
8
- addrFlag: boolean
9
- area: string
10
- categoryName: string
11
- createDate?: string
12
- hotAddressId: string
13
- lastModifyDate?: string
14
- latitude?: string
15
- longitude?: string
16
- weightSort: string
17
- addressInfo?: string
18
- }
19
- export declare const getHotAddress: () => Promise<import('../../../action').IResData<HotAddress[]>>
20
- export interface LcbAddress {
21
- addr: string
22
- addrFlag: boolean
23
- categoryName: string
24
- cityId: string
25
- hotAddressId: string
26
- provinceCityName: string
27
- area: string
28
- weightSort: string
29
- }
30
- export declare const getAddressList: (
31
- addr: string,
32
- ) => Promise<import('../../../action').IResData<LcbAddress[]>>