@tplc/business 0.7.5 → 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.
- package/CHANGELOG.md +7 -0
- package/components/lcb-city-select/lcb-city-select.vue +3 -1
- package/components/lcb-nav/AddressCommunity/index.vue +16 -12
- package/package.json +1 -1
- package/types/api/pay.d.ts +0 -47
- package/types/api/user.d.ts +0 -11
- package/types/components/lcb-absolute-config-layout/lcb-absolute-config-layout.vue.d.ts +0 -71
- package/types/components/lcb-absolute-config-layout/types.d.ts +0 -26
- package/types/components/lcb-action-view/components/CustomPopup/index.vue.d.ts +0 -37
- package/types/components/lcb-action-view/components/PayPopup/index.vue.d.ts +0 -44
- package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +0 -41
- package/types/components/lcb-action-view/types.d.ts +0 -136
- package/types/components/lcb-advert/lcb-advert.vue.d.ts +0 -28
- package/types/components/lcb-advert/types.d.ts +0 -3
- package/types/components/lcb-agreement-view/api.d.ts +0 -4
- package/types/components/lcb-agreement-view/lcb-agreement-view.vue.d.ts +0 -40
- package/types/components/lcb-agreement-view/types.d.ts +0 -4
- package/types/components/lcb-area/lcb-area.vue.d.ts +0 -74
- package/types/components/lcb-area/types.d.ts +0 -40
- package/types/components/lcb-area-picker/api/index.d.ts +0 -49
- package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +0 -79
- package/types/components/lcb-area-picker/types.d.ts +0 -3
- package/types/components/lcb-banner/lcb-banner.vue.d.ts +0 -80
- package/types/components/lcb-banner/types.d.ts +0 -66
- package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +0 -56
- package/types/components/lcb-banner-block/types.d.ts +0 -20
- package/types/components/lcb-block/lcb-block.vue.d.ts +0 -76
- package/types/components/lcb-block/types.d.ts +0 -62
- package/types/components/lcb-button/lcb-button.vue.d.ts +0 -74
- package/types/components/lcb-button/types.d.ts +0 -35
- package/types/components/lcb-calendar/api/index.d.ts +0 -17
- package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +0 -152
- package/types/components/lcb-calendar-filter/api.d.ts +0 -5
- package/types/components/lcb-calendar-filter/components/CalendarItem/index.vue.d.ts +0 -40
- package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +0 -66
- package/types/components/lcb-calendar-filter/types.d.ts +0 -29
- package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +0 -68
- package/types/components/lcb-calendar-search/types.d.ts +0 -9
- package/types/components/lcb-city-select/api/index.d.ts +0 -44
- package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +0 -53
- package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +0 -48
- package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +0 -5
- package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +0 -77
- package/types/components/lcb-city-select/types.d.ts +0 -5
- package/types/components/lcb-custom-content/lcb-custom-content.vue.d.ts +0 -40
- package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +0 -44
- package/types/components/lcb-dynamic-data/types.d.ts +0 -9
- package/types/components/lcb-fab/lcb-fab.vue.d.ts +0 -42
- package/types/components/lcb-fab/types.d.ts +0 -19
- package/types/components/lcb-filter-grid/lcb-filter-grid.vue.d.ts +0 -82
- package/types/components/lcb-filter-grid/types.d.ts +0 -20
- package/types/components/lcb-form/lcb-form.vue.d.ts +0 -73
- package/types/components/lcb-form/types.d.ts +0 -82
- package/types/components/lcb-gap/lcb-gap.vue.d.ts +0 -42
- package/types/components/lcb-gap/types.d.ts +0 -7
- package/types/components/lcb-grid/lcb-grid.vue.d.ts +0 -74
- package/types/components/lcb-grid/types.d.ts +0 -16
- package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +0 -68
- package/types/components/lcb-home-search/types.d.ts +0 -14
- package/types/components/lcb-icon/lcb-icon.vue.d.ts +0 -56
- package/types/components/lcb-icon/types.d.ts +0 -10
- package/types/components/lcb-image/Image/index.vue.d.ts +0 -56
- package/types/components/lcb-image/lcb-image.vue.d.ts +0 -70
- package/types/components/lcb-image/types.d.ts +0 -17
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +0 -113
- package/types/components/lcb-img-nav/types.d.ts +0 -61
- package/types/components/lcb-light-map/api.d.ts +0 -10
- package/types/components/lcb-light-map/lcb-light-map.vue.d.ts +0 -59
- package/types/components/lcb-light-map/types.d.ts +0 -69
- package/types/components/lcb-light-map/util.d.ts +0 -40
- package/types/components/lcb-list/api.d.ts +0 -67
- package/types/components/lcb-list/components/ActionView/index.vue.d.ts +0 -34
- package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +0 -32
- package/types/components/lcb-list/components/ComponentGroup/type.d.ts +0 -5
- package/types/components/lcb-list/components/FilterList/index.vue.d.ts +0 -50
- package/types/components/lcb-list/components/FilterList/type.d.ts +0 -11
- package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +0 -41
- package/types/components/lcb-list/components/FilterSelect/type.d.ts +0 -2
- package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +0 -64
- package/types/components/lcb-list/components/FilterSlider/types.d.ts +0 -2
- package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +0 -36
- package/types/components/lcb-list/components/FilterTabs/type.d.ts +0 -5
- package/types/components/lcb-list/components/FilterView/index.vue.d.ts +0 -36
- package/types/components/lcb-list/components/FilterView/type.d.ts +0 -8
- package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +0 -43
- package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +0 -76
- package/types/components/lcb-list/components/TagSelect/type.d.ts +0 -4
- package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +0 -38
- package/types/components/lcb-list/components/TreeSelect/type.d.ts +0 -6
- package/types/components/lcb-list/components/UnconditionedLayout/index.vue.d.ts +0 -85
- package/types/components/lcb-list/hooks/useSelect.d.ts +0 -31
- package/types/components/lcb-list/hooks/useSyncValues.d.ts +0 -5
- package/types/components/lcb-list/lcb-list.vue.d.ts +0 -139
- package/types/components/lcb-list/types.d.ts +0 -67
- package/types/components/lcb-map/lcb-map.vue.d.ts +0 -57
- package/types/components/lcb-map/types.d.ts +0 -36
- package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +0 -63
- package/types/components/lcb-nav/Search/index.vue.d.ts +0 -52
- package/types/components/lcb-nav/SharePopup/api.d.ts +0 -16
- package/types/components/lcb-nav/SharePopup/index.vue.d.ts +0 -37
- package/types/components/lcb-nav/Title/index.vue.d.ts +0 -28
- package/types/components/lcb-nav/lcb-nav.vue.d.ts +0 -106
- package/types/components/lcb-nav/types.d.ts +0 -72
- package/types/components/lcb-notice/api/index.d.ts +0 -18
- package/types/components/lcb-notice/lcb-notice.vue.d.ts +0 -77
- package/types/components/lcb-notice/types.d.ts +0 -14
- package/types/components/lcb-operation-actions/BtnViews.vue.d.ts +0 -62
- package/types/components/lcb-operation-actions/IconActionView.vue.d.ts +0 -61
- package/types/components/lcb-operation-actions/IconView.vue.d.ts +0 -41
- package/types/components/lcb-operation-actions/components/OrderDetLogistic/index.vue.d.ts +0 -51
- package/types/components/lcb-operation-actions/lcb-operation-actions.vue.d.ts +0 -34
- package/types/components/lcb-operation-actions/types.d.ts +0 -51
- package/types/components/lcb-order-payment/lcb-order-payment.vue.d.ts +0 -38
- package/types/components/lcb-order-payment/types.d.ts +0 -30
- package/types/components/lcb-particulars/api.d.ts +0 -45
- package/types/components/lcb-particulars/lcb-particulars.vue.d.ts +0 -56
- package/types/components/lcb-particulars/types.d.ts +0 -5
- package/types/components/lcb-poster/lcb-poster.vue.d.ts +0 -50
- package/types/components/lcb-product/components/ProductSkeleton/index.vue.d.ts +0 -70
- package/types/components/lcb-product/components/SKeletonItem/index.vue.d.ts +0 -28
- package/types/components/lcb-product/lcb-product.vue.d.ts +0 -96
- package/types/components/lcb-product/types.d.ts +0 -44
- package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +0 -117
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +0 -267
- package/types/components/lcb-product-item/types.d.ts +0 -133
- package/types/components/lcb-render-view/lcb-render-view.vue.d.ts +0 -35
- package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +0 -44
- package/types/components/lcb-rich-text/types.d.ts +0 -4
- package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +0 -68
- package/types/components/lcb-room-calendar/types.d.ts +0 -10
- package/types/components/lcb-search/api.d.ts +0 -23
- package/types/components/lcb-search/components/SearchHistory/index.vue.d.ts +0 -48
- package/types/components/lcb-search/components/SearchList/index.vue.d.ts +0 -56
- package/types/components/lcb-search/lcb-search.vue.d.ts +0 -1211
- package/types/components/lcb-search/types.d.ts +0 -29
- package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +0 -73
- package/types/components/lcb-swiper/types.d.ts +0 -17
- package/types/components/lcb-tabs/components/Imgs/index.vue.d.ts +0 -62
- package/types/components/lcb-tabs/components/Tabs/index.vue.d.ts +0 -65
- package/types/components/lcb-tabs/components/Tags/index.vue.d.ts +0 -68
- package/types/components/lcb-tabs/lcb-tabs.vue.d.ts +0 -65
- package/types/components/lcb-tabs/types.d.ts +0 -34
- package/types/components/lcb-tags/lcb-tags.vue.d.ts +0 -74
- package/types/components/lcb-tags/types.d.ts +0 -17
- package/types/components/lcb-text/lcb-text.vue.d.ts +0 -42
- package/types/components/lcb-text/types.d.ts +0 -4
- package/types/components/lcb-title/lcb-title.vue.d.ts +0 -114
- package/types/components/lcb-title/types.d.ts +0 -42
- package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +0 -62
- package/types/components/lcb-user-order/types.d.ts +0 -27
- package/types/components/lcb-user-top/Nums/index.vue.d.ts +0 -28
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +0 -158
- package/types/components/lcb-user-top/types.d.ts +0 -57
- package/types/components/lcb-video/lcb-video.vue.d.ts +0 -56
- package/types/components/lcb-video/types.d.ts +0 -10
- package/types/components/lcb-vip/api/index.d.ts +0 -70
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +0 -42
- package/types/components/lcb-vip/lcb-vip.vue.d.ts +0 -68
- package/types/components/lcb-vip/types.d.ts +0 -10
- package/types/components/lcb-waterfall/lcb-waterfall-item.vue.d.ts +0 -73
- package/types/components/lcb-waterfall/lcb-waterfall.vue.d.ts +0 -192
- package/types/components/lcb-wrapper-item/lcb-wrapper-item.vue.d.ts +0 -49
- package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +0 -71
- package/types/components/lcb-wrapper-list/types.d.ts +0 -14
- package/types/constants.d.ts +0 -17
- package/types/hooks/useAutoHeight.d.ts +0 -8
- package/types/hooks/useDynamicData.d.ts +0 -14
- package/types/hooks/useLocation.api.d.ts +0 -18
- package/types/hooks/useLocation.d.ts +0 -10
- package/types/hooks/usePageScroll.d.ts +0 -2
- package/types/hooks/usePay.d.ts +0 -13
- package/types/hooks/useSyncForm.d.ts +0 -5
- package/types/hooks/useUpload.api.d.ts +0 -12
- package/types/hooks/useUpload.d.ts +0 -21
- package/types/utils/formatter.d.ts +0 -5
- package/types/utils/history.d.ts +0 -5
- package/types/utils/request.d.ts +0 -6
- package/types/utils/transform.d.ts +0 -15
- package/types/utils/utils.d.ts +0 -51
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { FilterSliderProps } from './types'
|
|
2
|
-
declare let __VLS_typeProps: FilterSliderProps
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: number[]
|
|
5
|
-
} & typeof __VLS_typeProps
|
|
6
|
-
declare const _default: import('vue').DefineComponent<
|
|
7
|
-
__VLS_WithDefaults<
|
|
8
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
9
|
-
{
|
|
10
|
-
step: number
|
|
11
|
-
}
|
|
12
|
-
>,
|
|
13
|
-
{},
|
|
14
|
-
unknown,
|
|
15
|
-
{},
|
|
16
|
-
{},
|
|
17
|
-
import('vue').ComponentOptionsMixin,
|
|
18
|
-
import('vue').ComponentOptionsMixin,
|
|
19
|
-
{
|
|
20
|
-
'update:modelValue': (modelValue: number[]) => void
|
|
21
|
-
},
|
|
22
|
-
string,
|
|
23
|
-
import('vue').PublicProps,
|
|
24
|
-
Readonly<
|
|
25
|
-
import('vue').ExtractPropTypes<
|
|
26
|
-
__VLS_WithDefaults<
|
|
27
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
28
|
-
{
|
|
29
|
-
step: number
|
|
30
|
-
}
|
|
31
|
-
>
|
|
32
|
-
>
|
|
33
|
-
> & {
|
|
34
|
-
'onUpdate:modelValue'?: ((modelValue: number[]) => any) | undefined
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
step: 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,36 +0,0 @@
|
|
|
1
|
-
import { FilterTabsProps } from './type'
|
|
2
|
-
declare let __VLS_typeProps: FilterTabsProps
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: string
|
|
5
|
-
} & typeof __VLS_typeProps
|
|
6
|
-
declare const _default: import('vue').DefineComponent<
|
|
7
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
8
|
-
{},
|
|
9
|
-
unknown,
|
|
10
|
-
{},
|
|
11
|
-
{},
|
|
12
|
-
import('vue').ComponentOptionsMixin,
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
{
|
|
15
|
-
'update:modelValue': (modelValue: string) => void
|
|
16
|
-
},
|
|
17
|
-
string,
|
|
18
|
-
import('vue').PublicProps,
|
|
19
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
20
|
-
'onUpdate:modelValue'?: ((modelValue: string) => any) | undefined
|
|
21
|
-
},
|
|
22
|
-
{},
|
|
23
|
-
{}
|
|
24
|
-
>
|
|
25
|
-
export default _default
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
27
|
-
type __VLS_TypePropsToOption<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
29
|
-
? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
31
|
-
}
|
|
32
|
-
: {
|
|
33
|
-
type: import('vue').PropType<T[K]>
|
|
34
|
-
required: true
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { FilterViewProps } from './type'
|
|
2
|
-
declare let __VLS_typeProps: FilterViewProps
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: Record<string, any>
|
|
5
|
-
} & typeof __VLS_typeProps
|
|
6
|
-
declare const _default: import('vue').DefineComponent<
|
|
7
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
8
|
-
{},
|
|
9
|
-
unknown,
|
|
10
|
-
{},
|
|
11
|
-
{},
|
|
12
|
-
import('vue').ComponentOptionsMixin,
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
{
|
|
15
|
-
'update:modelValue': (modelValue: Record<string, any>) => void
|
|
16
|
-
},
|
|
17
|
-
string,
|
|
18
|
-
import('vue').PublicProps,
|
|
19
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
20
|
-
'onUpdate:modelValue'?: ((modelValue: Record<string, any>) => any) | undefined
|
|
21
|
-
},
|
|
22
|
-
{},
|
|
23
|
-
{}
|
|
24
|
-
>
|
|
25
|
-
export default _default
|
|
26
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
27
|
-
type __VLS_TypePropsToOption<T> = {
|
|
28
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
29
|
-
? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
31
|
-
}
|
|
32
|
-
: {
|
|
33
|
-
type: import('vue').PropType<T[K]>
|
|
34
|
-
required: true
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { LcbFilterResult } from '../../../lcb-list/api'
|
|
2
|
-
import { LcbListProps } from '../../types'
|
|
3
|
-
export interface FilterViewProps extends LcbListProps {
|
|
4
|
-
info: LcbFilterResult
|
|
5
|
-
titleObj: Record<string, any>
|
|
6
|
-
titleCount: Record<string, number>
|
|
7
|
-
sticky: boolean
|
|
8
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
__VLS_TypePropsToOption<{
|
|
3
|
-
title: string
|
|
4
|
-
checked?: boolean
|
|
5
|
-
size?: 'small' | 'normal'
|
|
6
|
-
}>,
|
|
7
|
-
{},
|
|
8
|
-
unknown,
|
|
9
|
-
{},
|
|
10
|
-
{},
|
|
11
|
-
import('vue').ComponentOptionsMixin,
|
|
12
|
-
import('vue').ComponentOptionsMixin,
|
|
13
|
-
{
|
|
14
|
-
click: (...args: any[]) => void
|
|
15
|
-
},
|
|
16
|
-
string,
|
|
17
|
-
import('vue').PublicProps,
|
|
18
|
-
Readonly<
|
|
19
|
-
import('vue').ExtractPropTypes<
|
|
20
|
-
__VLS_TypePropsToOption<{
|
|
21
|
-
title: string
|
|
22
|
-
checked?: boolean
|
|
23
|
-
size?: 'small' | 'normal'
|
|
24
|
-
}>
|
|
25
|
-
>
|
|
26
|
-
> & {
|
|
27
|
-
onClick?: ((...args: any[]) => any) | undefined
|
|
28
|
-
},
|
|
29
|
-
{},
|
|
30
|
-
{}
|
|
31
|
-
>
|
|
32
|
-
export default _default
|
|
33
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
34
|
-
type __VLS_TypePropsToOption<T> = {
|
|
35
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
36
|
-
? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
38
|
-
}
|
|
39
|
-
: {
|
|
40
|
-
type: import('vue').PropType<T[K]>
|
|
41
|
-
required: true
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { TagSelectProps } from './type'
|
|
2
|
-
declare let __VLS_typeProps: TagSelectProps
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: string | string[]
|
|
5
|
-
title?: string
|
|
6
|
-
} & typeof __VLS_typeProps
|
|
7
|
-
declare const _default: import('vue').DefineComponent<
|
|
8
|
-
__VLS_WithDefaults<
|
|
9
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
10
|
-
{
|
|
11
|
-
tagSelectBgColor: string
|
|
12
|
-
tagSelectTextColor: string
|
|
13
|
-
tagSelectActiveBgColor: string
|
|
14
|
-
tagSelectActiveTextColor: string
|
|
15
|
-
}
|
|
16
|
-
>,
|
|
17
|
-
{},
|
|
18
|
-
unknown,
|
|
19
|
-
{},
|
|
20
|
-
{},
|
|
21
|
-
import('vue').ComponentOptionsMixin,
|
|
22
|
-
import('vue').ComponentOptionsMixin,
|
|
23
|
-
{
|
|
24
|
-
'update:modelValue': (modelValue: string | string[]) => void
|
|
25
|
-
'update:title': (title: string) => void
|
|
26
|
-
},
|
|
27
|
-
string,
|
|
28
|
-
import('vue').PublicProps,
|
|
29
|
-
Readonly<
|
|
30
|
-
import('vue').ExtractPropTypes<
|
|
31
|
-
__VLS_WithDefaults<
|
|
32
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
33
|
-
{
|
|
34
|
-
tagSelectBgColor: string
|
|
35
|
-
tagSelectTextColor: string
|
|
36
|
-
tagSelectActiveBgColor: string
|
|
37
|
-
tagSelectActiveTextColor: string
|
|
38
|
-
}
|
|
39
|
-
>
|
|
40
|
-
>
|
|
41
|
-
> & {
|
|
42
|
-
'onUpdate:modelValue'?: ((modelValue: string | string[]) => any) | undefined
|
|
43
|
-
'onUpdate:title'?: ((title: string) => any) | undefined
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
tagSelectBgColor: string
|
|
47
|
-
tagSelectTextColor: string
|
|
48
|
-
tagSelectActiveBgColor: string
|
|
49
|
-
tagSelectActiveTextColor: string
|
|
50
|
-
},
|
|
51
|
-
{}
|
|
52
|
-
>
|
|
53
|
-
export default _default
|
|
54
|
-
type __VLS_WithDefaults<P, D> = {
|
|
55
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
56
|
-
? __VLS_Prettify<
|
|
57
|
-
P[K] & {
|
|
58
|
-
default: D[K]
|
|
59
|
-
}
|
|
60
|
-
>
|
|
61
|
-
: P[K]
|
|
62
|
-
}
|
|
63
|
-
type __VLS_Prettify<T> = {
|
|
64
|
-
[K in keyof T]: T[K]
|
|
65
|
-
} & {}
|
|
66
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
67
|
-
type __VLS_TypePropsToOption<T> = {
|
|
68
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
69
|
-
? {
|
|
70
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
71
|
-
}
|
|
72
|
-
: {
|
|
73
|
-
type: import('vue').PropType<T[K]>
|
|
74
|
-
required: true
|
|
75
|
-
}
|
|
76
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { TreeSelectProps } from './type'
|
|
2
|
-
declare let __VLS_typeProps: TreeSelectProps
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
keys?: string[]
|
|
5
|
-
} & typeof __VLS_typeProps
|
|
6
|
-
declare const _default: import('vue').DefineComponent<
|
|
7
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
8
|
-
{},
|
|
9
|
-
unknown,
|
|
10
|
-
{},
|
|
11
|
-
{},
|
|
12
|
-
import('vue').ComponentOptionsMixin,
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
{
|
|
15
|
-
'update:keys': (keys: string[]) => void
|
|
16
|
-
submit: (...args: any[]) => void
|
|
17
|
-
},
|
|
18
|
-
string,
|
|
19
|
-
import('vue').PublicProps,
|
|
20
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
21
|
-
onSubmit?: ((...args: any[]) => any) | undefined
|
|
22
|
-
'onUpdate:keys'?: ((keys: string[]) => any) | undefined
|
|
23
|
-
},
|
|
24
|
-
{},
|
|
25
|
-
{}
|
|
26
|
-
>
|
|
27
|
-
export default _default
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
29
|
-
type __VLS_TypePropsToOption<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
31
|
-
? {
|
|
32
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
33
|
-
}
|
|
34
|
-
: {
|
|
35
|
-
type: import('vue').PropType<T[K]>
|
|
36
|
-
required: true
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
interface UnconditionedLayoutConfig {
|
|
2
|
-
optionTitle: string
|
|
3
|
-
resultIcon: string
|
|
4
|
-
resultTitle: string
|
|
5
|
-
optionIcon: string
|
|
6
|
-
resultSubTitle: string
|
|
7
|
-
recommendTitle: string
|
|
8
|
-
recommendIcon: string
|
|
9
|
-
}
|
|
10
|
-
declare const _default: import('vue').DefineComponent<
|
|
11
|
-
__VLS_WithDefaults<
|
|
12
|
-
__VLS_TypePropsToOption<{
|
|
13
|
-
extendJson?: UnconditionedLayoutConfig
|
|
14
|
-
borderRadius?: number
|
|
15
|
-
shadowSize?: number
|
|
16
|
-
shadowColor?: string
|
|
17
|
-
blurSize?: number
|
|
18
|
-
}>,
|
|
19
|
-
{
|
|
20
|
-
borderRadius: number
|
|
21
|
-
shadowSize: number
|
|
22
|
-
shadowColor: string
|
|
23
|
-
blurSize: number
|
|
24
|
-
}
|
|
25
|
-
>,
|
|
26
|
-
{},
|
|
27
|
-
unknown,
|
|
28
|
-
{},
|
|
29
|
-
{},
|
|
30
|
-
import('vue').ComponentOptionsMixin,
|
|
31
|
-
import('vue').ComponentOptionsMixin,
|
|
32
|
-
{},
|
|
33
|
-
string,
|
|
34
|
-
import('vue').PublicProps,
|
|
35
|
-
Readonly<
|
|
36
|
-
import('vue').ExtractPropTypes<
|
|
37
|
-
__VLS_WithDefaults<
|
|
38
|
-
__VLS_TypePropsToOption<{
|
|
39
|
-
extendJson?: UnconditionedLayoutConfig
|
|
40
|
-
borderRadius?: number
|
|
41
|
-
shadowSize?: number
|
|
42
|
-
shadowColor?: string
|
|
43
|
-
blurSize?: number
|
|
44
|
-
}>,
|
|
45
|
-
{
|
|
46
|
-
borderRadius: number
|
|
47
|
-
shadowSize: number
|
|
48
|
-
shadowColor: string
|
|
49
|
-
blurSize: number
|
|
50
|
-
}
|
|
51
|
-
>
|
|
52
|
-
>
|
|
53
|
-
>,
|
|
54
|
-
{
|
|
55
|
-
shadowColor: string
|
|
56
|
-
shadowSize: number
|
|
57
|
-
blurSize: number
|
|
58
|
-
borderRadius: number
|
|
59
|
-
},
|
|
60
|
-
{}
|
|
61
|
-
>
|
|
62
|
-
export default _default
|
|
63
|
-
type __VLS_WithDefaults<P, D> = {
|
|
64
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
65
|
-
? __VLS_Prettify<
|
|
66
|
-
P[K] & {
|
|
67
|
-
default: D[K]
|
|
68
|
-
}
|
|
69
|
-
>
|
|
70
|
-
: P[K]
|
|
71
|
-
}
|
|
72
|
-
type __VLS_Prettify<T> = {
|
|
73
|
-
[K in keyof T]: T[K]
|
|
74
|
-
} & {}
|
|
75
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
76
|
-
type __VLS_TypePropsToOption<T> = {
|
|
77
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
78
|
-
? {
|
|
79
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
80
|
-
}
|
|
81
|
-
: {
|
|
82
|
-
type: import('vue').PropType<T[K]>
|
|
83
|
-
required: true
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue'
|
|
2
|
-
import { FilterItemProps, Option } from '../types'
|
|
3
|
-
declare const useSelect: (
|
|
4
|
-
props: FilterItemProps,
|
|
5
|
-
{
|
|
6
|
-
model,
|
|
7
|
-
extraModel,
|
|
8
|
-
onOpen,
|
|
9
|
-
}: {
|
|
10
|
-
model: Ref<string | string[] | undefined>
|
|
11
|
-
extraModel?: Ref<Record<string, any>>
|
|
12
|
-
onOpen?: () => void
|
|
13
|
-
},
|
|
14
|
-
) => {
|
|
15
|
-
options: Ref<
|
|
16
|
-
{
|
|
17
|
-
label: string
|
|
18
|
-
value: string
|
|
19
|
-
custom?: boolean | undefined
|
|
20
|
-
max?: number | undefined
|
|
21
|
-
min?: number | undefined
|
|
22
|
-
children?: any[] | undefined
|
|
23
|
-
unit?: string | undefined
|
|
24
|
-
valueName?: string | undefined
|
|
25
|
-
}[]
|
|
26
|
-
>
|
|
27
|
-
getOptions: () => Promise<void>
|
|
28
|
-
getChecked: (item: Option, valueName?: string) => boolean
|
|
29
|
-
onItemClick: (item: Option, valueName?: string) => void
|
|
30
|
-
}
|
|
31
|
-
export default useSelect
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { LcbListProps } from './types'
|
|
2
|
-
import './index.scss'
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
list?(_: { items: never[] }): any
|
|
5
|
-
item?(_: { item: any }): any
|
|
6
|
-
}
|
|
7
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
8
|
-
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbListProps>, any>,
|
|
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<__VLS_WithDefaults<__VLS_TypePropsToOption<LcbListProps>, any>>
|
|
20
|
-
>,
|
|
21
|
-
{
|
|
22
|
-
mode: 'map' | 'list'
|
|
23
|
-
backgroundColor: string
|
|
24
|
-
color: string
|
|
25
|
-
customStyle: Record<string, any>
|
|
26
|
-
customClass: string
|
|
27
|
-
zIndex: number
|
|
28
|
-
radius: number
|
|
29
|
-
position: 'relative' | 'absolute'
|
|
30
|
-
backgroundImage: string
|
|
31
|
-
border: boolean
|
|
32
|
-
imageRadius: number
|
|
33
|
-
marginHorizontal: number
|
|
34
|
-
paddingHorizontal: number
|
|
35
|
-
paddingVertical: number
|
|
36
|
-
floatUp: number
|
|
37
|
-
shadowColor: string
|
|
38
|
-
shadowSize: number
|
|
39
|
-
blurSize: number
|
|
40
|
-
opacity: number
|
|
41
|
-
paddingTop: number
|
|
42
|
-
paddingBottom: number
|
|
43
|
-
paddingLeft: number
|
|
44
|
-
paddingRight: number
|
|
45
|
-
marginTop: number
|
|
46
|
-
marginBottom: number
|
|
47
|
-
marginLeft: number
|
|
48
|
-
marginRight: number
|
|
49
|
-
fontSize: number
|
|
50
|
-
fontWeight: number
|
|
51
|
-
topRadius: number
|
|
52
|
-
bottomRadius: number
|
|
53
|
-
backgroundRepeat: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
|
|
54
|
-
backgroundSize: string
|
|
55
|
-
backgroundPosition: string
|
|
56
|
-
borderColor: string
|
|
57
|
-
borderWidth: number
|
|
58
|
-
textAlign: 'left' | 'center' | 'right'
|
|
59
|
-
align:
|
|
60
|
-
| 'top-left'
|
|
61
|
-
| 'top-center'
|
|
62
|
-
| 'top-right'
|
|
63
|
-
| 'center-left'
|
|
64
|
-
| 'center-center'
|
|
65
|
-
| 'center-right'
|
|
66
|
-
| 'bottom-left'
|
|
67
|
-
| 'bottom-center'
|
|
68
|
-
| 'bottom-right'
|
|
69
|
-
dynamicStyleOptions: Record<string, import('../../action').DynamicOptions>
|
|
70
|
-
dynamicBgImage: string
|
|
71
|
-
gap: number
|
|
72
|
-
imageWidth: number
|
|
73
|
-
borderRadius: number
|
|
74
|
-
imageHeight: number
|
|
75
|
-
dynamicScope: string
|
|
76
|
-
itemVerticalPadding: number
|
|
77
|
-
itemHorizontalPadding: number
|
|
78
|
-
listType: 'horizontal' | 'list' | 'grid' | 'waterfall'
|
|
79
|
-
pageFilterType: string
|
|
80
|
-
pageListProps: import('./components/FilterList/type').PageListProps
|
|
81
|
-
styleMode: 'default' | 'plain'
|
|
82
|
-
titleLineClamp: number
|
|
83
|
-
isSticky: boolean
|
|
84
|
-
layoutType: 'vertical' | 'horizontal'
|
|
85
|
-
itemWidth: number
|
|
86
|
-
tagSelectBgColor: string
|
|
87
|
-
tagSelectTextColor: string
|
|
88
|
-
tagSelectActiveBgColor: string
|
|
89
|
-
tagSelectActiveTextColor: string
|
|
90
|
-
borderMode: 'full' | 'content'
|
|
91
|
-
itemContentPt: number
|
|
92
|
-
itemContentPr: number
|
|
93
|
-
itemContentPb: number
|
|
94
|
-
itemContentPl: number
|
|
95
|
-
wrapperBgColor: string
|
|
96
|
-
wrapperTextColor: string
|
|
97
|
-
hiddenBoxShadow: boolean
|
|
98
|
-
mapTags: {
|
|
99
|
-
label: string
|
|
100
|
-
value: string
|
|
101
|
-
}[]
|
|
102
|
-
mapTagMode: 'single' | 'multiple'
|
|
103
|
-
mapConfigParams: string
|
|
104
|
-
},
|
|
105
|
-
{}
|
|
106
|
-
>
|
|
107
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
108
|
-
typeof __VLS_component,
|
|
109
|
-
ReturnType<typeof __VLS_template>
|
|
110
|
-
>
|
|
111
|
-
export default _default
|
|
112
|
-
type __VLS_WithDefaults<P, D> = {
|
|
113
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
114
|
-
? __VLS_Prettify<
|
|
115
|
-
P[K] & {
|
|
116
|
-
default: D[K]
|
|
117
|
-
}
|
|
118
|
-
>
|
|
119
|
-
: P[K]
|
|
120
|
-
}
|
|
121
|
-
type __VLS_Prettify<T> = {
|
|
122
|
-
[K in keyof T]: T[K]
|
|
123
|
-
} & {}
|
|
124
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
125
|
-
new (): {
|
|
126
|
-
$slots: S
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
130
|
-
type __VLS_TypePropsToOption<T> = {
|
|
131
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
132
|
-
? {
|
|
133
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
134
|
-
}
|
|
135
|
-
: {
|
|
136
|
-
type: import('vue').PropType<T[K]>
|
|
137
|
-
required: true
|
|
138
|
-
}
|
|
139
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { PageListProps } from './components/FilterList/type'
|
|
2
|
-
import { LcbProductProps } from '../lcb-product/types'
|
|
3
|
-
import { LcbBlockProps } from '../lcb-block/types'
|
|
4
|
-
export interface LcbListProps extends LcbBlockProps {
|
|
5
|
-
pageFilterType?: string
|
|
6
|
-
pageListProps?: PageListProps
|
|
7
|
-
borderRadius?: number
|
|
8
|
-
styleMode?: 'default' | 'plain'
|
|
9
|
-
imageWidth?: number
|
|
10
|
-
border?: boolean
|
|
11
|
-
imageHeight?: number
|
|
12
|
-
titleLineClamp?: number
|
|
13
|
-
listType?: LcbProductProps['listType']
|
|
14
|
-
isSticky?: boolean
|
|
15
|
-
mode?: 'map' | 'list'
|
|
16
|
-
layoutType?: 'vertical' | 'horizontal'
|
|
17
|
-
imageRadius?: number
|
|
18
|
-
itemWidth?: number
|
|
19
|
-
dynamicScope?: string
|
|
20
|
-
gap?: number
|
|
21
|
-
borderWidth?: number
|
|
22
|
-
borderColor?: string
|
|
23
|
-
borderMode?: 'full' | 'content'
|
|
24
|
-
itemVerticalPadding?: number
|
|
25
|
-
itemHorizontalPadding?: number
|
|
26
|
-
itemContentPt?: number
|
|
27
|
-
itemContentPr?: number
|
|
28
|
-
itemContentPb?: number
|
|
29
|
-
itemContentPl?: number
|
|
30
|
-
wrapperBgColor?: string
|
|
31
|
-
wrapperTextColor?: string
|
|
32
|
-
hiddenBoxShadow?: boolean
|
|
33
|
-
tagSelectBgColor?: string
|
|
34
|
-
tagSelectTextColor?: string
|
|
35
|
-
tagSelectActiveBgColor?: string
|
|
36
|
-
tagSelectActiveTextColor?: string
|
|
37
|
-
/** 地图标签 */
|
|
38
|
-
mapTags?: {
|
|
39
|
-
label: string
|
|
40
|
-
value: string
|
|
41
|
-
}[]
|
|
42
|
-
mapTagMode?: 'single' | 'multiple'
|
|
43
|
-
mapConfigParams?: string
|
|
44
|
-
}
|
|
45
|
-
export interface Option {
|
|
46
|
-
label: string
|
|
47
|
-
value: string
|
|
48
|
-
custom?: boolean
|
|
49
|
-
max?: number
|
|
50
|
-
min?: number
|
|
51
|
-
children?: Option[]
|
|
52
|
-
unit?: string
|
|
53
|
-
valueName?: string
|
|
54
|
-
}
|
|
55
|
-
export interface FilterItemProps {
|
|
56
|
-
mode?: 'multiple' | 'single'
|
|
57
|
-
apiPath?: string
|
|
58
|
-
apiParams?: Record<string, any>
|
|
59
|
-
options?: Option[]
|
|
60
|
-
valueName: string
|
|
61
|
-
sortType?: boolean
|
|
62
|
-
tagSelectBgColor?: string
|
|
63
|
-
tagSelectTextColor?: string
|
|
64
|
-
tagSelectActiveBgColor?: string
|
|
65
|
-
tagSelectActiveTextColor?: string
|
|
66
|
-
}
|
|
67
|
-
export type ListFormChooserValues = Record<string, Option[] | undefined>
|