@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.
- package/CHANGELOG.md +2 -0
- package/package.json +13 -13
- package/types/api/pay.d.ts +47 -0
- package/types/api/user.d.ts +11 -0
- package/types/components/lcb-absolute-config-layout/lcb-absolute-config-layout.vue.d.ts +71 -0
- package/types/components/lcb-absolute-config-layout/types.d.ts +26 -0
- package/types/components/lcb-action-view/components/CustomPopup/index.vue.d.ts +37 -0
- package/types/components/lcb-action-view/components/PayPopup/index.vue.d.ts +44 -0
- package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +41 -0
- package/types/components/lcb-action-view/types.d.ts +136 -0
- package/types/components/lcb-advert/lcb-advert.vue.d.ts +28 -0
- package/types/components/lcb-advert/types.d.ts +3 -0
- package/types/components/lcb-agreement-view/api.d.ts +4 -0
- package/types/components/lcb-agreement-view/lcb-agreement-view.vue.d.ts +40 -0
- package/types/components/lcb-agreement-view/types.d.ts +4 -0
- package/types/components/lcb-area/lcb-area.vue.d.ts +74 -0
- package/types/components/lcb-area/types.d.ts +40 -0
- package/types/components/lcb-area-picker/api/index.d.ts +49 -0
- package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +79 -0
- package/types/components/lcb-area-picker/types.d.ts +3 -0
- package/types/components/lcb-banner/lcb-banner.vue.d.ts +80 -0
- package/types/components/lcb-banner/types.d.ts +66 -0
- package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +56 -0
- package/types/components/lcb-banner-block/types.d.ts +20 -0
- package/types/components/lcb-block/lcb-block.vue.d.ts +76 -0
- package/types/components/lcb-block/types.d.ts +62 -0
- package/types/components/lcb-button/lcb-button.vue.d.ts +74 -0
- package/types/components/lcb-button/types.d.ts +35 -0
- package/types/components/lcb-calendar/api/index.d.ts +17 -0
- package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +152 -0
- package/types/components/lcb-calendar-filter/api.d.ts +5 -0
- package/types/components/lcb-calendar-filter/components/CalendarItem/index.vue.d.ts +40 -0
- package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +66 -0
- package/types/components/lcb-calendar-filter/types.d.ts +29 -0
- package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +68 -0
- package/types/components/lcb-calendar-search/types.d.ts +9 -0
- package/types/components/lcb-city-select/api/index.d.ts +44 -0
- package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +53 -0
- package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +48 -0
- package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +5 -0
- package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +77 -0
- package/types/components/lcb-city-select/types.d.ts +5 -0
- package/types/components/lcb-custom-content/lcb-custom-content.vue.d.ts +40 -0
- package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +44 -0
- package/types/components/lcb-dynamic-data/types.d.ts +9 -0
- package/types/components/lcb-fab/lcb-fab.vue.d.ts +42 -0
- package/types/components/lcb-fab/types.d.ts +19 -0
- package/types/components/lcb-filter-grid/lcb-filter-grid.vue.d.ts +82 -0
- package/types/components/lcb-filter-grid/types.d.ts +20 -0
- package/types/components/lcb-form/lcb-form.vue.d.ts +73 -0
- package/types/components/lcb-form/types.d.ts +82 -0
- package/types/components/lcb-gap/lcb-gap.vue.d.ts +42 -0
- package/types/components/lcb-gap/types.d.ts +7 -0
- package/types/components/lcb-grid/lcb-grid.vue.d.ts +74 -0
- package/types/components/lcb-grid/types.d.ts +16 -0
- package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +68 -0
- package/types/components/lcb-home-search/types.d.ts +14 -0
- package/types/components/lcb-icon/lcb-icon.vue.d.ts +56 -0
- package/types/components/lcb-icon/types.d.ts +10 -0
- package/types/components/lcb-image/Image/index.vue.d.ts +56 -0
- package/types/components/lcb-image/lcb-image.vue.d.ts +70 -0
- package/types/components/lcb-image/types.d.ts +17 -0
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +113 -0
- package/types/components/lcb-img-nav/types.d.ts +61 -0
- package/types/components/lcb-light-map/api.d.ts +10 -0
- package/types/components/lcb-light-map/lcb-light-map.vue.d.ts +59 -0
- package/types/components/lcb-light-map/types.d.ts +69 -0
- package/types/components/lcb-light-map/util.d.ts +40 -0
- package/types/components/lcb-list/api.d.ts +67 -0
- package/types/components/lcb-list/components/ActionView/index.vue.d.ts +34 -0
- package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +32 -0
- package/types/components/lcb-list/components/ComponentGroup/type.d.ts +5 -0
- package/types/components/lcb-list/components/FilterList/index.vue.d.ts +50 -0
- package/types/components/lcb-list/components/FilterList/type.d.ts +11 -0
- package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +41 -0
- package/types/components/lcb-list/components/FilterSelect/type.d.ts +2 -0
- package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +64 -0
- package/types/components/lcb-list/components/FilterSlider/types.d.ts +2 -0
- package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +36 -0
- package/types/components/lcb-list/components/FilterTabs/type.d.ts +5 -0
- package/types/components/lcb-list/components/FilterView/index.vue.d.ts +36 -0
- package/types/components/lcb-list/components/FilterView/type.d.ts +8 -0
- package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +43 -0
- package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +76 -0
- package/types/components/lcb-list/components/TagSelect/type.d.ts +4 -0
- package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +38 -0
- package/types/components/lcb-list/components/TreeSelect/type.d.ts +6 -0
- package/types/components/lcb-list/components/UnconditionedLayout/index.vue.d.ts +85 -0
- package/types/components/lcb-list/hooks/useSelect.d.ts +31 -0
- package/types/components/lcb-list/hooks/useSyncValues.d.ts +5 -0
- package/types/components/lcb-list/lcb-list.vue.d.ts +139 -0
- package/types/components/lcb-list/types.d.ts +67 -0
- package/types/components/lcb-map/lcb-map.vue.d.ts +57 -0
- package/types/components/lcb-map/types.d.ts +36 -0
- package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +63 -0
- package/types/components/lcb-nav/Search/index.vue.d.ts +52 -0
- package/types/components/lcb-nav/SharePopup/api.d.ts +16 -0
- package/types/components/lcb-nav/SharePopup/index.vue.d.ts +37 -0
- package/types/components/lcb-nav/Title/index.vue.d.ts +28 -0
- package/types/components/lcb-nav/lcb-nav.vue.d.ts +106 -0
- package/types/components/lcb-nav/types.d.ts +72 -0
- package/types/components/lcb-notice/api/index.d.ts +18 -0
- package/types/components/lcb-notice/lcb-notice.vue.d.ts +77 -0
- package/types/components/lcb-notice/types.d.ts +14 -0
- package/types/components/lcb-operation-actions/BtnViews.vue.d.ts +62 -0
- package/types/components/lcb-operation-actions/IconActionView.vue.d.ts +61 -0
- package/types/components/lcb-operation-actions/IconView.vue.d.ts +41 -0
- package/types/components/lcb-operation-actions/components/OrderDetLogistic/index.vue.d.ts +51 -0
- package/types/components/lcb-operation-actions/lcb-operation-actions.vue.d.ts +34 -0
- package/types/components/lcb-operation-actions/types.d.ts +51 -0
- package/types/components/lcb-order-payment/lcb-order-payment.vue.d.ts +38 -0
- package/types/components/lcb-order-payment/types.d.ts +30 -0
- package/types/components/lcb-particulars/api.d.ts +45 -0
- package/types/components/lcb-particulars/lcb-particulars.vue.d.ts +56 -0
- package/types/components/lcb-particulars/types.d.ts +5 -0
- package/types/components/lcb-poster/lcb-poster.vue.d.ts +50 -0
- package/types/components/lcb-product/components/ProductSkeleton/index.vue.d.ts +70 -0
- package/types/components/lcb-product/components/SKeletonItem/index.vue.d.ts +28 -0
- package/types/components/lcb-product/lcb-product.vue.d.ts +96 -0
- package/types/components/lcb-product/types.d.ts +44 -0
- package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +117 -0
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +267 -0
- package/types/components/lcb-product-item/types.d.ts +133 -0
- package/types/components/lcb-render-view/lcb-render-view.vue.d.ts +35 -0
- package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +44 -0
- package/types/components/lcb-rich-text/types.d.ts +4 -0
- package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +68 -0
- package/types/components/lcb-room-calendar/types.d.ts +10 -0
- package/types/components/lcb-search/api.d.ts +23 -0
- package/types/components/lcb-search/components/SearchHistory/index.vue.d.ts +48 -0
- package/types/components/lcb-search/components/SearchList/index.vue.d.ts +56 -0
- package/types/components/lcb-search/lcb-search.vue.d.ts +1211 -0
- package/types/components/lcb-search/types.d.ts +29 -0
- package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +73 -0
- package/types/components/lcb-swiper/types.d.ts +17 -0
- package/types/components/lcb-tabs/components/Imgs/index.vue.d.ts +62 -0
- package/types/components/lcb-tabs/components/Tabs/index.vue.d.ts +65 -0
- package/types/components/lcb-tabs/components/Tags/index.vue.d.ts +68 -0
- package/types/components/lcb-tabs/lcb-tabs.vue.d.ts +65 -0
- package/types/components/lcb-tabs/types.d.ts +34 -0
- package/types/components/lcb-tags/lcb-tags.vue.d.ts +74 -0
- package/types/components/lcb-tags/types.d.ts +17 -0
- package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
- package/types/components/lcb-text/types.d.ts +4 -0
- package/types/components/lcb-title/lcb-title.vue.d.ts +114 -0
- package/types/components/lcb-title/types.d.ts +42 -0
- package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +62 -0
- package/types/components/lcb-user-order/types.d.ts +27 -0
- package/types/components/lcb-user-top/Nums/index.vue.d.ts +28 -0
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +158 -0
- package/types/components/lcb-user-top/types.d.ts +57 -0
- package/types/components/lcb-video/lcb-video.vue.d.ts +56 -0
- package/types/components/lcb-video/types.d.ts +10 -0
- package/types/components/lcb-vip/api/index.d.ts +70 -0
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +42 -0
- package/types/components/lcb-vip/lcb-vip.vue.d.ts +68 -0
- package/types/components/lcb-vip/types.d.ts +10 -0
- package/types/components/lcb-waterfall/lcb-waterfall-item.vue.d.ts +73 -0
- package/types/components/lcb-waterfall/lcb-waterfall.vue.d.ts +192 -0
- package/types/components/lcb-wrapper-item/lcb-wrapper-item.vue.d.ts +49 -0
- package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +71 -0
- package/types/components/lcb-wrapper-list/types.d.ts +14 -0
- package/types/constants.d.ts +17 -0
- package/types/hooks/useAutoHeight.d.ts +8 -0
- package/types/hooks/useDynamicData.d.ts +14 -0
- package/types/hooks/useLocation.api.d.ts +18 -0
- package/types/hooks/useLocation.d.ts +10 -0
- package/types/hooks/usePageScroll.d.ts +2 -0
- package/types/hooks/usePay.d.ts +13 -0
- package/types/hooks/useSyncForm.d.ts +5 -0
- package/types/hooks/useUpload.api.d.ts +12 -0
- package/types/hooks/useUpload.d.ts +21 -0
- package/types/utils/formatter.d.ts +5 -0
- package/types/utils/history.d.ts +5 -0
- package/types/utils/request.d.ts +6 -0
- package/types/utils/transform.d.ts +15 -0
- package/types/utils/utils.d.ts +51 -0
|
@@ -0,0 +1,152 @@
|
|
|
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
|
+
params: {
|
|
52
|
+
type: ObjectConstructor
|
|
53
|
+
default: () => {}
|
|
54
|
+
}
|
|
55
|
+
modelValue: {
|
|
56
|
+
type: import('vue').PropType<number[]>
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{},
|
|
60
|
+
unknown,
|
|
61
|
+
{},
|
|
62
|
+
{},
|
|
63
|
+
import('vue').ComponentOptionsMixin,
|
|
64
|
+
import('vue').ComponentOptionsMixin,
|
|
65
|
+
{
|
|
66
|
+
'update:modelValue': (modelValue: number[]) => void
|
|
67
|
+
confirm: (...args: any[]) => void
|
|
68
|
+
cancel: (...args: any[]) => void
|
|
69
|
+
open: (...args: any[]) => void
|
|
70
|
+
},
|
|
71
|
+
string,
|
|
72
|
+
import('vue').PublicProps,
|
|
73
|
+
Readonly<
|
|
74
|
+
import('vue').ExtractPropTypes<{
|
|
75
|
+
customClass: {
|
|
76
|
+
type: StringConstructor
|
|
77
|
+
default: string
|
|
78
|
+
}
|
|
79
|
+
minDate: {
|
|
80
|
+
type: NumberConstructor
|
|
81
|
+
default: number
|
|
82
|
+
}
|
|
83
|
+
maxDate: {
|
|
84
|
+
type: NumberConstructor
|
|
85
|
+
default: number
|
|
86
|
+
}
|
|
87
|
+
defaultValue: {
|
|
88
|
+
type: {
|
|
89
|
+
(arrayLength: number): number[]
|
|
90
|
+
(...items: number[]): number[]
|
|
91
|
+
new (arrayLength: number): number[]
|
|
92
|
+
new (...items: number[]): number[]
|
|
93
|
+
isArray(arg: any): arg is any[]
|
|
94
|
+
readonly prototype: any[]
|
|
95
|
+
from<T>(arrayLike: ArrayLike<T>): T[]
|
|
96
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]
|
|
97
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[]
|
|
98
|
+
from<T, U>(
|
|
99
|
+
iterable: Iterable<T> | ArrayLike<T>,
|
|
100
|
+
mapfn: (v: T, k: number) => U,
|
|
101
|
+
thisArg?: any,
|
|
102
|
+
): U[]
|
|
103
|
+
of<T>(...items: T[]): T[]
|
|
104
|
+
fromAsync<T>(
|
|
105
|
+
iterableOrArrayLike:
|
|
106
|
+
| AsyncIterable<T>
|
|
107
|
+
| Iterable<T | PromiseLike<T>>
|
|
108
|
+
| ArrayLike<T | PromiseLike<T>>,
|
|
109
|
+
): Promise<T[]>
|
|
110
|
+
fromAsync<T, U>(
|
|
111
|
+
iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>,
|
|
112
|
+
mapFn: (value: Awaited<T>) => U,
|
|
113
|
+
thisArg?: any,
|
|
114
|
+
): Promise<Awaited<U>[]>
|
|
115
|
+
readonly [Symbol.species]: ArrayConstructor
|
|
116
|
+
}
|
|
117
|
+
/** 最近三个月 number[] */
|
|
118
|
+
default: () => number[]
|
|
119
|
+
}
|
|
120
|
+
params: {
|
|
121
|
+
type: ObjectConstructor
|
|
122
|
+
default: () => {}
|
|
123
|
+
}
|
|
124
|
+
modelValue: {
|
|
125
|
+
type: import('vue').PropType<number[]>
|
|
126
|
+
}
|
|
127
|
+
}>
|
|
128
|
+
> & {
|
|
129
|
+
'onUpdate:modelValue'?: ((modelValue: number[]) => any) | undefined
|
|
130
|
+
onConfirm?: ((...args: any[]) => any) | undefined
|
|
131
|
+
onCancel?: ((...args: any[]) => any) | undefined
|
|
132
|
+
onOpen?: ((...args: any[]) => any) | undefined
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
customClass: string
|
|
136
|
+
params: Record<string, any>
|
|
137
|
+
minDate: number
|
|
138
|
+
maxDate: number
|
|
139
|
+
defaultValue: number[]
|
|
140
|
+
},
|
|
141
|
+
{}
|
|
142
|
+
>
|
|
143
|
+
declare const _default: __VLS_WithTemplateSlots<
|
|
144
|
+
typeof __VLS_component,
|
|
145
|
+
ReturnType<typeof __VLS_template>
|
|
146
|
+
>
|
|
147
|
+
export default _default
|
|
148
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
149
|
+
new (): {
|
|
150
|
+
$slots: S
|
|
151
|
+
}
|
|
152
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { HolidayInfo } from '../../types'
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
date?: HolidayInfo
|
|
4
|
+
showAll?: boolean
|
|
5
|
+
customClass: string
|
|
6
|
+
}
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
modelValue?: string | undefined
|
|
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: string | undefined) => void
|
|
20
|
+
},
|
|
21
|
+
string,
|
|
22
|
+
import('vue').PublicProps,
|
|
23
|
+
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
24
|
+
'onUpdate:modelValue'?: ((modelValue: string | undefined) => any) | undefined
|
|
25
|
+
},
|
|
26
|
+
{},
|
|
27
|
+
{}
|
|
28
|
+
>
|
|
29
|
+
export default _default
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
31
|
+
type __VLS_TypePropsToOption<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
33
|
+
? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
35
|
+
}
|
|
36
|
+
: {
|
|
37
|
+
type: import('vue').PropType<T[K]>
|
|
38
|
+
required: true
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import 'dayjs/esm/locale/zh-cn'
|
|
2
|
+
import { LcbCalendarFilterProps } from './types'
|
|
3
|
+
declare const _default: import('vue').DefineComponent<
|
|
4
|
+
__VLS_WithDefaults<
|
|
5
|
+
__VLS_TypePropsToOption<LcbCalendarFilterProps>,
|
|
6
|
+
{
|
|
7
|
+
showAll: boolean
|
|
8
|
+
showMore: boolean
|
|
9
|
+
formKey: string
|
|
10
|
+
fontSize: 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<LcbCalendarFilterProps>,
|
|
26
|
+
{
|
|
27
|
+
showAll: boolean
|
|
28
|
+
showMore: boolean
|
|
29
|
+
formKey: string
|
|
30
|
+
fontSize: number
|
|
31
|
+
}
|
|
32
|
+
>
|
|
33
|
+
>
|
|
34
|
+
>,
|
|
35
|
+
{
|
|
36
|
+
fontSize: number
|
|
37
|
+
showAll: boolean
|
|
38
|
+
showMore: boolean
|
|
39
|
+
formKey: string
|
|
40
|
+
},
|
|
41
|
+
{}
|
|
42
|
+
>
|
|
43
|
+
export default _default
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
46
|
+
? __VLS_Prettify<
|
|
47
|
+
P[K] & {
|
|
48
|
+
default: D[K]
|
|
49
|
+
}
|
|
50
|
+
>
|
|
51
|
+
: P[K]
|
|
52
|
+
}
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K]
|
|
55
|
+
} & {}
|
|
56
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
57
|
+
type __VLS_TypePropsToOption<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
59
|
+
? {
|
|
60
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
61
|
+
}
|
|
62
|
+
: {
|
|
63
|
+
type: import('vue').PropType<T[K]>
|
|
64
|
+
required: true
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LcbBlockProps } from '../../components/lcb-block/types'
|
|
2
|
+
export interface LcbCalendarFilterProps extends LcbBlockProps {
|
|
3
|
+
/**
|
|
4
|
+
* 是否显示"全部"按钮
|
|
5
|
+
* @default true
|
|
6
|
+
*/
|
|
7
|
+
showAll?: boolean
|
|
8
|
+
/**
|
|
9
|
+
* 当前选中的日期值
|
|
10
|
+
*/
|
|
11
|
+
showMore?: boolean
|
|
12
|
+
/**
|
|
13
|
+
* 表单key
|
|
14
|
+
*/
|
|
15
|
+
formKey?: string
|
|
16
|
+
}
|
|
17
|
+
export interface HolidayInfo {
|
|
18
|
+
bottomText?: string
|
|
19
|
+
date: string
|
|
20
|
+
floorText?: string
|
|
21
|
+
topTextOutside?: string
|
|
22
|
+
buttomText?: string
|
|
23
|
+
price: number
|
|
24
|
+
topText?: string
|
|
25
|
+
status: number
|
|
26
|
+
corner?: string
|
|
27
|
+
centerText?: string
|
|
28
|
+
restFlag: boolean
|
|
29
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
mode: string
|
|
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<LcbCalendarSearchProps>,
|
|
26
|
+
{
|
|
27
|
+
paddingHorizontal: number
|
|
28
|
+
radius: number
|
|
29
|
+
placeholder: string
|
|
30
|
+
icon: string
|
|
31
|
+
mode: string
|
|
32
|
+
}
|
|
33
|
+
>
|
|
34
|
+
>
|
|
35
|
+
>,
|
|
36
|
+
{
|
|
37
|
+
mode: 'link' | 'search'
|
|
38
|
+
icon: string
|
|
39
|
+
radius: number
|
|
40
|
+
placeholder: string
|
|
41
|
+
paddingHorizontal: 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,9 @@
|
|
|
1
|
+
import { LcbActionViewProps } from '../lcb-action-view/types'
|
|
2
|
+
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
+
export interface LcbCalendarSearchProps extends LcbBlockProps {
|
|
4
|
+
placeholder?: string
|
|
5
|
+
link?: LcbActionViewProps
|
|
6
|
+
icon?: string
|
|
7
|
+
mode?: 'link' | 'search'
|
|
8
|
+
inputLink?: LcbActionViewProps
|
|
9
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface HotAddress {
|
|
2
|
+
categoryName: string
|
|
3
|
+
hint?: string
|
|
4
|
+
tips?: string
|
|
5
|
+
childAddress: ChildHotAddress[]
|
|
6
|
+
}
|
|
7
|
+
export interface ChildHotAddress {
|
|
8
|
+
addressName: string
|
|
9
|
+
addrFlag?: boolean
|
|
10
|
+
addressType?: string
|
|
11
|
+
area?: string
|
|
12
|
+
categoryName?: string
|
|
13
|
+
createDate?: string
|
|
14
|
+
hotAddressId?: string
|
|
15
|
+
icon?: string
|
|
16
|
+
lastModifyDate?: string
|
|
17
|
+
latitude?: string
|
|
18
|
+
keywords?: string
|
|
19
|
+
className?: string
|
|
20
|
+
cityId: string
|
|
21
|
+
areaId: string
|
|
22
|
+
provinceId: string
|
|
23
|
+
longitude?: string
|
|
24
|
+
weightSort?: string
|
|
25
|
+
addressInfo?: string
|
|
26
|
+
}
|
|
27
|
+
export declare const getHotAddress: () => Promise<import('../../../action').IResData<HotAddress[]>>
|
|
28
|
+
export interface LcbAddress {
|
|
29
|
+
addressName: string
|
|
30
|
+
addrFlag: boolean
|
|
31
|
+
addressType: string
|
|
32
|
+
categoryName: string
|
|
33
|
+
keywords?: string
|
|
34
|
+
cityId: string
|
|
35
|
+
areaId: string
|
|
36
|
+
provinceId: string
|
|
37
|
+
hotAddressId: string
|
|
38
|
+
provinceCityName: string
|
|
39
|
+
area: string
|
|
40
|
+
weightSort: string
|
|
41
|
+
}
|
|
42
|
+
export declare const getAddressList: (
|
|
43
|
+
addressName: string,
|
|
44
|
+
) => Promise<import('../../../action').IResData<LcbAddress[]>>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { LcbCitySelectProps } from '../../../lcb-city-select/types'
|
|
2
|
+
import { ChildHotAddress } from '../../api'
|
|
3
|
+
declare let __VLS_typeProps: LcbCitySelectProps
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: ChildHotAddress
|
|
6
|
+
} & typeof __VLS_typeProps
|
|
7
|
+
declare const _default: import('vue').DefineComponent<
|
|
8
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {}>,
|
|
9
|
+
{},
|
|
10
|
+
unknown,
|
|
11
|
+
{},
|
|
12
|
+
{},
|
|
13
|
+
import('vue').ComponentOptionsMixin,
|
|
14
|
+
import('vue').ComponentOptionsMixin,
|
|
15
|
+
{
|
|
16
|
+
'update:modelValue': (modelValue: ChildHotAddress) => void
|
|
17
|
+
},
|
|
18
|
+
string,
|
|
19
|
+
import('vue').PublicProps,
|
|
20
|
+
Readonly<
|
|
21
|
+
import('vue').ExtractPropTypes<
|
|
22
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {}>
|
|
23
|
+
>
|
|
24
|
+
> & {
|
|
25
|
+
'onUpdate:modelValue'?: ((modelValue: ChildHotAddress) => any) | undefined
|
|
26
|
+
},
|
|
27
|
+
{},
|
|
28
|
+
{}
|
|
29
|
+
>
|
|
30
|
+
export default _default
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
33
|
+
? __VLS_Prettify<
|
|
34
|
+
P[K] & {
|
|
35
|
+
default: D[K]
|
|
36
|
+
}
|
|
37
|
+
>
|
|
38
|
+
: P[K]
|
|
39
|
+
}
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K]
|
|
42
|
+
} & {}
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
44
|
+
type __VLS_TypePropsToOption<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
46
|
+
? {
|
|
47
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
48
|
+
}
|
|
49
|
+
: {
|
|
50
|
+
type: import('vue').PropType<T[K]>
|
|
51
|
+
required: true
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { LcbCityListProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbCityListProps>, {}>,
|
|
4
|
+
{},
|
|
5
|
+
unknown,
|
|
6
|
+
{},
|
|
7
|
+
{},
|
|
8
|
+
import('vue').ComponentOptionsMixin,
|
|
9
|
+
import('vue').ComponentOptionsMixin,
|
|
10
|
+
{
|
|
11
|
+
click: (...args: any[]) => void
|
|
12
|
+
},
|
|
13
|
+
string,
|
|
14
|
+
import('vue').PublicProps,
|
|
15
|
+
Readonly<
|
|
16
|
+
import('vue').ExtractPropTypes<
|
|
17
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbCityListProps>, {}>
|
|
18
|
+
>
|
|
19
|
+
> & {
|
|
20
|
+
onClick?: ((...args: any[]) => any) | undefined
|
|
21
|
+
},
|
|
22
|
+
{},
|
|
23
|
+
{}
|
|
24
|
+
>
|
|
25
|
+
export default _default
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
28
|
+
? __VLS_Prettify<
|
|
29
|
+
P[K] & {
|
|
30
|
+
default: D[K]
|
|
31
|
+
}
|
|
32
|
+
>
|
|
33
|
+
: P[K]
|
|
34
|
+
}
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K]
|
|
37
|
+
} & {}
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
39
|
+
type __VLS_TypePropsToOption<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
41
|
+
? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
43
|
+
}
|
|
44
|
+
: {
|
|
45
|
+
type: import('vue').PropType<T[K]>
|
|
46
|
+
required: true
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ChildHotAddress } from './api'
|
|
2
|
+
import { LcbCitySelectProps } from './types'
|
|
3
|
+
declare let __VLS_typeProps: LcbCitySelectProps
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: ChildHotAddress
|
|
6
|
+
} & typeof __VLS_typeProps
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
default?(_: {}): any
|
|
9
|
+
}
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<
|
|
11
|
+
__VLS_WithDefaults<
|
|
12
|
+
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
13
|
+
{
|
|
14
|
+
placeholder: string
|
|
15
|
+
}
|
|
16
|
+
>,
|
|
17
|
+
{},
|
|
18
|
+
unknown,
|
|
19
|
+
{},
|
|
20
|
+
{},
|
|
21
|
+
import('vue').ComponentOptionsMixin,
|
|
22
|
+
import('vue').ComponentOptionsMixin,
|
|
23
|
+
{
|
|
24
|
+
'update:modelValue': (modelValue: ChildHotAddress) => void
|
|
25
|
+
},
|
|
26
|
+
string,
|
|
27
|
+
import('vue').PublicProps,
|
|
28
|
+
Readonly<
|
|
29
|
+
import('vue').ExtractPropTypes<
|
|
30
|
+
__VLS_WithDefaults<
|
|
31
|
+
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
32
|
+
{
|
|
33
|
+
placeholder: string
|
|
34
|
+
}
|
|
35
|
+
>
|
|
36
|
+
>
|
|
37
|
+
> & {
|
|
38
|
+
'onUpdate:modelValue'?: ((modelValue: ChildHotAddress) => any) | undefined
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
placeholder: string
|
|
42
|
+
},
|
|
43
|
+
{}
|
|
44
|
+
>
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<
|
|
46
|
+
typeof __VLS_component,
|
|
47
|
+
ReturnType<typeof __VLS_template>
|
|
48
|
+
>
|
|
49
|
+
export default _default
|
|
50
|
+
type __VLS_WithDefaults<P, D> = {
|
|
51
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
52
|
+
? __VLS_Prettify<
|
|
53
|
+
P[K] & {
|
|
54
|
+
default: D[K]
|
|
55
|
+
}
|
|
56
|
+
>
|
|
57
|
+
: P[K]
|
|
58
|
+
}
|
|
59
|
+
type __VLS_Prettify<T> = {
|
|
60
|
+
[K in keyof T]: T[K]
|
|
61
|
+
} & {}
|
|
62
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
|
+
new (): {
|
|
64
|
+
$slots: S
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
68
|
+
type __VLS_TypePropsToOption<T> = {
|
|
69
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
70
|
+
? {
|
|
71
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
72
|
+
}
|
|
73
|
+
: {
|
|
74
|
+
type: import('vue').PropType<T[K]>
|
|
75
|
+
required: true
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { TextRenderViewItem } from '../../action'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_TypePropsToOption<
|
|
4
|
+
TextRenderViewItem & {
|
|
5
|
+
customStyle?: Record<string, any>
|
|
6
|
+
}
|
|
7
|
+
>,
|
|
8
|
+
{},
|
|
9
|
+
unknown,
|
|
10
|
+
{},
|
|
11
|
+
{},
|
|
12
|
+
import('vue').ComponentOptionsMixin,
|
|
13
|
+
import('vue').ComponentOptionsMixin,
|
|
14
|
+
{},
|
|
15
|
+
string,
|
|
16
|
+
import('vue').PublicProps,
|
|
17
|
+
Readonly<
|
|
18
|
+
import('vue').ExtractPropTypes<
|
|
19
|
+
__VLS_TypePropsToOption<
|
|
20
|
+
TextRenderViewItem & {
|
|
21
|
+
customStyle?: Record<string, any>
|
|
22
|
+
}
|
|
23
|
+
>
|
|
24
|
+
>
|
|
25
|
+
>,
|
|
26
|
+
{},
|
|
27
|
+
{}
|
|
28
|
+
>
|
|
29
|
+
export default _default
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
31
|
+
type __VLS_TypePropsToOption<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
33
|
+
? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
35
|
+
}
|
|
36
|
+
: {
|
|
37
|
+
type: import('vue').PropType<T[K]>
|
|
38
|
+
required: true
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { LcbDynamicDataProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbDynamicDataProps>, {}>,
|
|
4
|
+
{},
|
|
5
|
+
unknown,
|
|
6
|
+
{},
|
|
7
|
+
{},
|
|
8
|
+
import('vue').ComponentOptionsMixin,
|
|
9
|
+
import('vue').ComponentOptionsMixin,
|
|
10
|
+
{},
|
|
11
|
+
string,
|
|
12
|
+
import('vue').PublicProps,
|
|
13
|
+
Readonly<
|
|
14
|
+
import('vue').ExtractPropTypes<
|
|
15
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbDynamicDataProps>, {}>
|
|
16
|
+
>
|
|
17
|
+
>,
|
|
18
|
+
{},
|
|
19
|
+
{}
|
|
20
|
+
>
|
|
21
|
+
export default _default
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
24
|
+
? __VLS_Prettify<
|
|
25
|
+
P[K] & {
|
|
26
|
+
default: D[K]
|
|
27
|
+
}
|
|
28
|
+
>
|
|
29
|
+
: P[K]
|
|
30
|
+
}
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K]
|
|
33
|
+
} & {}
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
37
|
+
? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
39
|
+
}
|
|
40
|
+
: {
|
|
41
|
+
type: import('vue').PropType<T[K]>
|
|
42
|
+
required: true
|
|
43
|
+
}
|
|
44
|
+
}
|