@tplc/business 0.2.5 → 0.2.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 +15 -0
- package/components/lcb-vip/lcb-vip.vue +1 -1
- package/package.json +1 -1
- package/types/api/user.d.ts +0 -6
- package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +0 -41
- package/types/components/lcb-action-view/types.d.ts +0 -33
- 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-area-picker/api/index.d.ts +0 -48
- 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 -62
- package/types/components/lcb-banner/types.d.ts +0 -47
- package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +0 -56
- package/types/components/lcb-banner-block/types.d.ts +0 -18
- package/types/components/lcb-block/lcb-block.vue.d.ts +0 -74
- package/types/components/lcb-block/types.d.ts +0 -40
- package/types/components/lcb-button/lcb-button.vue.d.ts +0 -42
- package/types/components/lcb-button/types.d.ts +0 -7
- package/types/components/lcb-calendar/api/index.d.ts +0 -16
- package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +0 -137
- package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +0 -64
- package/types/components/lcb-calendar-search/types.d.ts +0 -4
- package/types/components/lcb-city-select/api/index.d.ts +0 -32
- 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-dynamic-data/lcb-dynamic-data.vue.d.ts +0 -44
- package/types/components/lcb-dynamic-data/types.d.ts +0 -7
- 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 -71
- package/types/components/lcb-home-search/types.d.ts +0 -7
- 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 -14
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +0 -99
- package/types/components/lcb-img-nav/types.d.ts +0 -46
- package/types/components/lcb-list/api.d.ts +0 -60
- 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 -48
- 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 -36
- 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 -7
- 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 -39
- package/types/components/lcb-list/components/TagSelect/type.d.ts +0 -4
- package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +0 -41
- package/types/components/lcb-list/components/TreeSelect/type.d.ts +0 -2
- package/types/components/lcb-list/hooks/useSelect.d.ts +0 -25
- package/types/components/lcb-list/lcb-list.vue.d.ts +0 -67
- package/types/components/lcb-list/types.d.ts +0 -26
- package/types/components/lcb-map/lcb-map.vue.d.ts +0 -56
- package/types/components/lcb-map/types.d.ts +0 -1
- package/types/components/lcb-nav/Search/index.vue.d.ts +0 -44
- package/types/components/lcb-nav/Title/index.vue.d.ts +0 -28
- package/types/components/lcb-nav/lcb-nav.vue.d.ts +0 -92
- package/types/components/lcb-nav/types.d.ts +0 -41
- package/types/components/lcb-notice/api/index.d.ts +0 -19
- 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-product/lcb-product.vue.d.ts +0 -67
- package/types/components/lcb-product/types.d.ts +0 -10
- package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +0 -91
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +0 -169
- package/types/components/lcb-product-item/types.d.ts +0 -65
- 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-swiper/lcb-swiper.vue.d.ts +0 -118
- package/types/components/lcb-tags/Tag/index.vue.d.ts +0 -44
- package/types/components/lcb-tags/lcb-tags.vue.d.ts +0 -59
- package/types/components/lcb-tags/types.d.ts +0 -13
- 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 -94
- package/types/components/lcb-title/types.d.ts +0 -22
- 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 -32
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +0 -98
- package/types/components/lcb-user-top/types.d.ts +0 -38
- 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 -34
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +0 -38
- package/types/components/lcb-vip/lcb-vip.vue.d.ts +0 -68
- package/types/components/lcb-vip/types.d.ts +0 -8
- package/types/constants.d.ts +0 -5
- package/types/hooks/useAutoHeight.d.ts +0 -2
- package/types/hooks/useLocation.api.d.ts +0 -9
- package/types/hooks/useLocation.d.ts +0 -7
- package/types/hooks/usePageScroll.d.ts +0 -2
- package/types/hooks/useUpload.api.d.ts +0 -12
- package/types/hooks/useUpload.d.ts +0 -21
- package/types/utils/auth.d.ts +0 -2
- package/types/utils/transform.d.ts +0 -5
- package/types/utils/utils.d.ts +0 -3
|
@@ -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,39 +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_TypePropsToOption<__VLS_PublicProps>,
|
|
9
|
-
{},
|
|
10
|
-
unknown,
|
|
11
|
-
{},
|
|
12
|
-
{},
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
import('vue').ComponentOptionsMixin,
|
|
15
|
-
{
|
|
16
|
-
'update:modelValue': (modelValue: string | string[]) => void
|
|
17
|
-
'update:title': (title: string) => void
|
|
18
|
-
},
|
|
19
|
-
string,
|
|
20
|
-
import('vue').PublicProps,
|
|
21
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
22
|
-
'onUpdate:modelValue'?: ((modelValue: string | string[]) => any) | undefined
|
|
23
|
-
'onUpdate:title'?: ((title: string) => any) | undefined
|
|
24
|
-
},
|
|
25
|
-
{},
|
|
26
|
-
{}
|
|
27
|
-
>
|
|
28
|
-
export default _default
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
30
|
-
type __VLS_TypePropsToOption<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
32
|
-
? {
|
|
33
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
34
|
-
}
|
|
35
|
-
: {
|
|
36
|
-
type: import('vue').PropType<T[K]>
|
|
37
|
-
required: true
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { TreeSelectProps } from './type'
|
|
2
|
-
declare let __VLS_typeProps: TreeSelectProps
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: string | string[]
|
|
5
|
-
title?: string
|
|
6
|
-
} & typeof __VLS_typeProps
|
|
7
|
-
declare const _default: import('vue').DefineComponent<
|
|
8
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
9
|
-
{},
|
|
10
|
-
unknown,
|
|
11
|
-
{},
|
|
12
|
-
{},
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
import('vue').ComponentOptionsMixin,
|
|
15
|
-
{
|
|
16
|
-
'update:modelValue': (modelValue: string | string[]) => void
|
|
17
|
-
'update:title': (title: string) => void
|
|
18
|
-
submit: (...args: any[]) => void
|
|
19
|
-
},
|
|
20
|
-
string,
|
|
21
|
-
import('vue').PublicProps,
|
|
22
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
23
|
-
onSubmit?: ((...args: any[]) => any) | undefined
|
|
24
|
-
'onUpdate:modelValue'?: ((modelValue: string | string[]) => any) | undefined
|
|
25
|
-
'onUpdate:title'?: ((title: string) => any) | undefined
|
|
26
|
-
},
|
|
27
|
-
{},
|
|
28
|
-
{}
|
|
29
|
-
>
|
|
30
|
-
export default _default
|
|
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
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue'
|
|
2
|
-
import { FilterItemProps, Option } from '../types'
|
|
3
|
-
declare const useSelect: (
|
|
4
|
-
props: FilterItemProps,
|
|
5
|
-
{
|
|
6
|
-
model,
|
|
7
|
-
}: {
|
|
8
|
-
model: Ref<string | string[] | undefined>
|
|
9
|
-
},
|
|
10
|
-
) => {
|
|
11
|
-
options: Ref<
|
|
12
|
-
{
|
|
13
|
-
label: string
|
|
14
|
-
value: string | string[]
|
|
15
|
-
custom?: boolean | undefined
|
|
16
|
-
max?: number | undefined
|
|
17
|
-
min?: number | undefined
|
|
18
|
-
children?: any[] | undefined
|
|
19
|
-
unit?: string | undefined
|
|
20
|
-
}[]
|
|
21
|
-
>
|
|
22
|
-
getChecked: (item: Option) => boolean
|
|
23
|
-
onItemClick: (item: Option) => void
|
|
24
|
-
}
|
|
25
|
-
export default useSelect
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { LcbListProps } from './types'
|
|
2
|
-
import './index.scss'
|
|
3
|
-
declare function __VLS_template(): Readonly<{
|
|
4
|
-
list(props: { items: any }): any
|
|
5
|
-
item(props: { item: any }): any
|
|
6
|
-
}> & {
|
|
7
|
-
list(props: { items: any }): any
|
|
8
|
-
item(props: { item: any }): any
|
|
9
|
-
}
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
11
|
-
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbListProps>, any>,
|
|
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<__VLS_WithDefaults<__VLS_TypePropsToOption<LcbListProps>, any>>
|
|
23
|
-
>,
|
|
24
|
-
{
|
|
25
|
-
mode: 'map' | 'list'
|
|
26
|
-
listType: 'list' | 'horizontal' | 'grid' | 'waterfall'
|
|
27
|
-
pageFilterType: string
|
|
28
|
-
pageListProps: import('./components/FilterList/type').PageListProps
|
|
29
|
-
border: boolean
|
|
30
|
-
styleMode: 'default' | 'plain'
|
|
31
|
-
isSticky: boolean
|
|
32
|
-
},
|
|
33
|
-
{}
|
|
34
|
-
>
|
|
35
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
36
|
-
typeof __VLS_component,
|
|
37
|
-
ReturnType<typeof __VLS_template>
|
|
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_WithTemplateSlots<T, S> = T & {
|
|
53
|
-
new (): {
|
|
54
|
-
$slots: S
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
58
|
-
type __VLS_TypePropsToOption<T> = {
|
|
59
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
60
|
-
? {
|
|
61
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
62
|
-
}
|
|
63
|
-
: {
|
|
64
|
-
type: import('vue').PropType<T[K]>
|
|
65
|
-
required: true
|
|
66
|
-
}
|
|
67
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { PageListProps } from './components/FilterList/type'
|
|
2
|
-
import { LcbProductProps } from '../lcb-product/types'
|
|
3
|
-
export interface LcbListProps {
|
|
4
|
-
pageFilterType?: string
|
|
5
|
-
pageListProps?: PageListProps
|
|
6
|
-
border?: boolean
|
|
7
|
-
styleMode?: 'default' | 'plain'
|
|
8
|
-
listType?: LcbProductProps['listType']
|
|
9
|
-
isSticky?: boolean
|
|
10
|
-
mode?: 'map' | 'list'
|
|
11
|
-
}
|
|
12
|
-
export interface Option {
|
|
13
|
-
label: string
|
|
14
|
-
value: string | string[]
|
|
15
|
-
custom?: boolean
|
|
16
|
-
max?: number
|
|
17
|
-
min?: number
|
|
18
|
-
children?: Option[]
|
|
19
|
-
unit?: string
|
|
20
|
-
}
|
|
21
|
-
export interface FilterItemProps {
|
|
22
|
-
mode?: 'multiple' | 'single'
|
|
23
|
-
apiPath?: string
|
|
24
|
-
options?: Option[]
|
|
25
|
-
test?: 1
|
|
26
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export interface MapMarker {
|
|
2
|
-
id: number
|
|
3
|
-
name?: string
|
|
4
|
-
longitude: number
|
|
5
|
-
latitude: number
|
|
6
|
-
iconPath: string
|
|
7
|
-
width: number
|
|
8
|
-
height: number
|
|
9
|
-
poiId: string
|
|
10
|
-
anchor?: {
|
|
11
|
-
x: number
|
|
12
|
-
y: number
|
|
13
|
-
}
|
|
14
|
-
callout?: {
|
|
15
|
-
content: string
|
|
16
|
-
color: string
|
|
17
|
-
fontSize: number
|
|
18
|
-
borderRadius: number
|
|
19
|
-
bgColor: string
|
|
20
|
-
padding: number
|
|
21
|
-
display: 'ALWAYS' | 'BYCLICK'
|
|
22
|
-
}
|
|
23
|
-
zIndex?: number
|
|
24
|
-
}
|
|
25
|
-
declare const _default: import('vue').DefineComponent<
|
|
26
|
-
Readonly<
|
|
27
|
-
import('vue').ComponentPropsOptions<{
|
|
28
|
-
[x: string]: unknown
|
|
29
|
-
}>
|
|
30
|
-
>,
|
|
31
|
-
{},
|
|
32
|
-
unknown,
|
|
33
|
-
{},
|
|
34
|
-
{},
|
|
35
|
-
import('vue').ComponentOptionsMixin,
|
|
36
|
-
import('vue').ComponentOptionsMixin,
|
|
37
|
-
{},
|
|
38
|
-
string,
|
|
39
|
-
import('vue').PublicProps,
|
|
40
|
-
| readonly string[]
|
|
41
|
-
| Readonly<
|
|
42
|
-
import('vue').ExtractPropTypes<
|
|
43
|
-
Readonly<
|
|
44
|
-
import('vue').ComponentObjectPropsOptions<{
|
|
45
|
-
[x: string]: unknown
|
|
46
|
-
}>
|
|
47
|
-
>
|
|
48
|
-
>
|
|
49
|
-
>,
|
|
50
|
-
| {
|
|
51
|
-
readonly [x: number]: string
|
|
52
|
-
}
|
|
53
|
-
| {},
|
|
54
|
-
{}
|
|
55
|
-
>
|
|
56
|
-
export default _default
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export interface LcbMapProps {}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
{
|
|
3
|
-
searchText: {
|
|
4
|
-
type: StringConstructor
|
|
5
|
-
default: string
|
|
6
|
-
}
|
|
7
|
-
left: {
|
|
8
|
-
type: BooleanConstructor
|
|
9
|
-
}
|
|
10
|
-
back: {
|
|
11
|
-
type: BooleanConstructor
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
{},
|
|
15
|
-
unknown,
|
|
16
|
-
{},
|
|
17
|
-
{},
|
|
18
|
-
import('vue').ComponentOptionsMixin,
|
|
19
|
-
import('vue').ComponentOptionsMixin,
|
|
20
|
-
{},
|
|
21
|
-
string,
|
|
22
|
-
import('vue').PublicProps,
|
|
23
|
-
Readonly<
|
|
24
|
-
import('vue').ExtractPropTypes<{
|
|
25
|
-
searchText: {
|
|
26
|
-
type: StringConstructor
|
|
27
|
-
default: string
|
|
28
|
-
}
|
|
29
|
-
left: {
|
|
30
|
-
type: BooleanConstructor
|
|
31
|
-
}
|
|
32
|
-
back: {
|
|
33
|
-
type: BooleanConstructor
|
|
34
|
-
}
|
|
35
|
-
}>
|
|
36
|
-
>,
|
|
37
|
-
{
|
|
38
|
-
left: boolean
|
|
39
|
-
back: boolean
|
|
40
|
-
searchText: string
|
|
41
|
-
},
|
|
42
|
-
{}
|
|
43
|
-
>
|
|
44
|
-
export default _default
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { NavTitleProps } from '../types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_TypePropsToOption<NavTitleProps>,
|
|
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<NavTitleProps>>>,
|
|
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
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { NavProps } from './types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_WithDefaults<
|
|
4
|
-
__VLS_TypePropsToOption<NavProps>,
|
|
5
|
-
{
|
|
6
|
-
styleGroup: number
|
|
7
|
-
titleLocation: string
|
|
8
|
-
topStyle: number
|
|
9
|
-
title: string
|
|
10
|
-
titleMode: string
|
|
11
|
-
backgroundType: string
|
|
12
|
-
colorMode: string
|
|
13
|
-
backColor: string
|
|
14
|
-
contentColor: string
|
|
15
|
-
logoImg: string
|
|
16
|
-
back: boolean
|
|
17
|
-
capsuleMode: string
|
|
18
|
-
immersionMode: number
|
|
19
|
-
}
|
|
20
|
-
>,
|
|
21
|
-
{},
|
|
22
|
-
unknown,
|
|
23
|
-
{},
|
|
24
|
-
{},
|
|
25
|
-
import('vue').ComponentOptionsMixin,
|
|
26
|
-
import('vue').ComponentOptionsMixin,
|
|
27
|
-
{},
|
|
28
|
-
string,
|
|
29
|
-
import('vue').PublicProps,
|
|
30
|
-
Readonly<
|
|
31
|
-
import('vue').ExtractPropTypes<
|
|
32
|
-
__VLS_WithDefaults<
|
|
33
|
-
__VLS_TypePropsToOption<NavProps>,
|
|
34
|
-
{
|
|
35
|
-
styleGroup: number
|
|
36
|
-
titleLocation: string
|
|
37
|
-
topStyle: number
|
|
38
|
-
title: string
|
|
39
|
-
titleMode: string
|
|
40
|
-
backgroundType: string
|
|
41
|
-
colorMode: string
|
|
42
|
-
backColor: string
|
|
43
|
-
contentColor: string
|
|
44
|
-
logoImg: string
|
|
45
|
-
back: boolean
|
|
46
|
-
capsuleMode: string
|
|
47
|
-
immersionMode: number
|
|
48
|
-
}
|
|
49
|
-
>
|
|
50
|
-
>
|
|
51
|
-
>,
|
|
52
|
-
{
|
|
53
|
-
title: string
|
|
54
|
-
styleGroup: 1 | 2 | 3 | 4
|
|
55
|
-
back: boolean
|
|
56
|
-
topStyle: 1 | 2
|
|
57
|
-
immersionMode: 1 | 2
|
|
58
|
-
colorMode: 'custom' | 'default'
|
|
59
|
-
backColor: string
|
|
60
|
-
backgroundType: 'img' | 'color'
|
|
61
|
-
contentColor: string
|
|
62
|
-
capsuleMode: 'light' | 'dark'
|
|
63
|
-
titleMode: 'text' | 'img'
|
|
64
|
-
logoImg: string
|
|
65
|
-
titleLocation: 'left' | 'center'
|
|
66
|
-
},
|
|
67
|
-
{}
|
|
68
|
-
>
|
|
69
|
-
export default _default
|
|
70
|
-
type __VLS_WithDefaults<P, D> = {
|
|
71
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
72
|
-
? __VLS_Prettify<
|
|
73
|
-
P[K] & {
|
|
74
|
-
default: D[K]
|
|
75
|
-
}
|
|
76
|
-
>
|
|
77
|
-
: P[K]
|
|
78
|
-
}
|
|
79
|
-
type __VLS_Prettify<T> = {
|
|
80
|
-
[K in keyof T]: T[K]
|
|
81
|
-
} & {}
|
|
82
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
83
|
-
type __VLS_TypePropsToOption<T> = {
|
|
84
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
85
|
-
? {
|
|
86
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
87
|
-
}
|
|
88
|
-
: {
|
|
89
|
-
type: import('vue').PropType<T[K]>
|
|
90
|
-
required: true
|
|
91
|
-
}
|
|
92
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export interface ICapsule {
|
|
2
|
-
icon: string
|
|
3
|
-
action: 'translate' | 'scanCode' | 'search' | 'home' | 'setting' | 'back'
|
|
4
|
-
}
|
|
5
|
-
export interface NavTitleProps {
|
|
6
|
-
/** 模式 */
|
|
7
|
-
titleMode?: 'text' | 'img'
|
|
8
|
-
/** 标题 */
|
|
9
|
-
title?: string
|
|
10
|
-
/** 图片 */
|
|
11
|
-
logoImg?: string
|
|
12
|
-
typographyTextBackground?: string
|
|
13
|
-
/** 方位 */
|
|
14
|
-
titleLocation?: 'left' | 'center'
|
|
15
|
-
}
|
|
16
|
-
export interface NavProps extends NavTitleProps {
|
|
17
|
-
/** 是否固定 */
|
|
18
|
-
fixed?: boolean
|
|
19
|
-
/** 是否沉浸式状态栏 */
|
|
20
|
-
topStyle?: 1 | 2
|
|
21
|
-
immersionMode?: 1 | 2
|
|
22
|
-
/** 模式 1.标题 2.搜索 3.导航 4.沉浸式 */
|
|
23
|
-
styleGroup?: 1 | 2 | 3 | 4
|
|
24
|
-
/** 背景图片 */
|
|
25
|
-
backgroundImage?: string
|
|
26
|
-
/** 颜色模式 */
|
|
27
|
-
colorMode?: 'custom' | 'default'
|
|
28
|
-
/** 背景颜色 */
|
|
29
|
-
backColor?: string
|
|
30
|
-
/** 背景样式 */
|
|
31
|
-
backgroundType?: 'img' | 'color'
|
|
32
|
-
/** 内容颜色 */
|
|
33
|
-
contentColor?: string
|
|
34
|
-
searchText?: string
|
|
35
|
-
/** 是否显示返回按钮 */
|
|
36
|
-
back?: boolean
|
|
37
|
-
/** 胶囊样式 */
|
|
38
|
-
capsuleMode?: 'light' | 'dark'
|
|
39
|
-
/** 胶囊列表 */
|
|
40
|
-
capsules?: ICapsule[]
|
|
41
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface AdvertItem {
|
|
2
|
-
adContent: string
|
|
3
|
-
advertId: string
|
|
4
|
-
closeTime: number
|
|
5
|
-
closeType: string
|
|
6
|
-
createDate: string
|
|
7
|
-
jumpType: number
|
|
8
|
-
lastModifyDate: string
|
|
9
|
-
pageType: string
|
|
10
|
-
type: number
|
|
11
|
-
title?: string
|
|
12
|
-
weightSort: string
|
|
13
|
-
}
|
|
14
|
-
/** 获取公告 */
|
|
15
|
-
export declare const getAdvertList: (data: {
|
|
16
|
-
pageType: string
|
|
17
|
-
/** 1: 文字 2: 图片 */
|
|
18
|
-
type: 1 | 2
|
|
19
|
-
}) => Promise<import('../../../action').IResData<AdvertItem[]>>
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { LcbNoticeBarProps } from './types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_WithDefaults<
|
|
4
|
-
__VLS_TypePropsToOption<LcbNoticeBarProps>,
|
|
5
|
-
{
|
|
6
|
-
speed: number
|
|
7
|
-
borderColor: string
|
|
8
|
-
direction: string
|
|
9
|
-
backgroundColor: string
|
|
10
|
-
paddingVertical: number
|
|
11
|
-
rightArrow: boolean
|
|
12
|
-
color: string
|
|
13
|
-
iconSize: 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<LcbNoticeBarProps>,
|
|
29
|
-
{
|
|
30
|
-
speed: number
|
|
31
|
-
borderColor: string
|
|
32
|
-
direction: string
|
|
33
|
-
backgroundColor: string
|
|
34
|
-
paddingVertical: number
|
|
35
|
-
rightArrow: boolean
|
|
36
|
-
color: string
|
|
37
|
-
iconSize: number
|
|
38
|
-
}
|
|
39
|
-
>
|
|
40
|
-
>
|
|
41
|
-
>,
|
|
42
|
-
{
|
|
43
|
-
direction: import('@tplc/wot/types/components/wd-notice-bar/types').NoticeBarScrollDirection
|
|
44
|
-
color: string
|
|
45
|
-
paddingVertical: number
|
|
46
|
-
backgroundColor: string
|
|
47
|
-
borderColor: string
|
|
48
|
-
iconSize: number
|
|
49
|
-
speed: number
|
|
50
|
-
rightArrow: boolean
|
|
51
|
-
},
|
|
52
|
-
{}
|
|
53
|
-
>
|
|
54
|
-
export default _default
|
|
55
|
-
type __VLS_WithDefaults<P, D> = {
|
|
56
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
57
|
-
? __VLS_Prettify<
|
|
58
|
-
P[K] & {
|
|
59
|
-
default: D[K]
|
|
60
|
-
}
|
|
61
|
-
>
|
|
62
|
-
: P[K]
|
|
63
|
-
}
|
|
64
|
-
type __VLS_Prettify<T> = {
|
|
65
|
-
[K in keyof T]: T[K]
|
|
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
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NoticeBarScrollDirection } from '@tplc/wot/types/components/wd-notice-bar/types'
|
|
2
|
-
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
-
export interface LcbNoticeBarProps extends LcbBlockProps {
|
|
4
|
-
vertical?: boolean
|
|
5
|
-
/** -1 无 0 图标 1 自定义 */
|
|
6
|
-
iconType?: -1 | 0 | 1
|
|
7
|
-
direction?: NoticeBarScrollDirection
|
|
8
|
-
speed?: number
|
|
9
|
-
textColor?: string
|
|
10
|
-
pageType?: string
|
|
11
|
-
rightArrow?: boolean
|
|
12
|
-
icon?: string
|
|
13
|
-
iconSize?: number
|
|
14
|
-
}
|