@tplc/business 0.7.4 → 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 +31 -0
- package/components/lcb-city-select/lcb-city-select.vue +3 -1
- package/components/lcb-nav/AddressCommunity/index.vue +26 -13
- package/package.json +13 -13
- 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,74 +0,0 @@
|
|
|
1
|
-
import { LcbAreaProps } from './types'
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
default?(_: { item: LcbAreaProps }): any
|
|
4
|
-
}
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
|
-
__VLS_WithDefaults<
|
|
7
|
-
__VLS_TypePropsToOption<LcbAreaProps>,
|
|
8
|
-
{
|
|
9
|
-
displayFlex: string
|
|
10
|
-
display: string
|
|
11
|
-
overflowX: string
|
|
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
|
-
__VLS_WithDefaults<
|
|
26
|
-
__VLS_TypePropsToOption<LcbAreaProps>,
|
|
27
|
-
{
|
|
28
|
-
displayFlex: string
|
|
29
|
-
display: string
|
|
30
|
-
overflowX: string
|
|
31
|
-
}
|
|
32
|
-
>
|
|
33
|
-
>
|
|
34
|
-
>,
|
|
35
|
-
{
|
|
36
|
-
display: 'flex' | 'grid'
|
|
37
|
-
displayFlex: 'row' | 'column'
|
|
38
|
-
overflowX: 'hidden' | 'initial' | 'auto'
|
|
39
|
-
},
|
|
40
|
-
{}
|
|
41
|
-
>
|
|
42
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
43
|
-
typeof __VLS_component,
|
|
44
|
-
ReturnType<typeof __VLS_template>
|
|
45
|
-
>
|
|
46
|
-
export default _default
|
|
47
|
-
type __VLS_WithDefaults<P, D> = {
|
|
48
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
49
|
-
? __VLS_Prettify<
|
|
50
|
-
P[K] & {
|
|
51
|
-
default: D[K]
|
|
52
|
-
}
|
|
53
|
-
>
|
|
54
|
-
: P[K]
|
|
55
|
-
}
|
|
56
|
-
type __VLS_Prettify<T> = {
|
|
57
|
-
[K in keyof T]: T[K]
|
|
58
|
-
} & {}
|
|
59
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
60
|
-
new (): {
|
|
61
|
-
$slots: S
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
65
|
-
type __VLS_TypePropsToOption<T> = {
|
|
66
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
67
|
-
? {
|
|
68
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
69
|
-
}
|
|
70
|
-
: {
|
|
71
|
-
type: import('vue').PropType<T[K]>
|
|
72
|
-
required: true
|
|
73
|
-
}
|
|
74
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { LcbActionViewProps } from 'components/lcb-action-view/types'
|
|
2
|
-
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
-
import { DataSource } from 'action'
|
|
4
|
-
export interface LcbAreaProps extends LcbBlockProps {
|
|
5
|
-
id?: number
|
|
6
|
-
fixed?: boolean
|
|
7
|
-
unDraggable?: boolean
|
|
8
|
-
display?: 'flex' | 'grid'
|
|
9
|
-
displayFlex?: 'row' | 'column'
|
|
10
|
-
gap?: number
|
|
11
|
-
scrollX?: boolean
|
|
12
|
-
gridColumns?: number
|
|
13
|
-
list?: LcbAreaProps[]
|
|
14
|
-
areaItems?: {
|
|
15
|
-
colSpan?: number
|
|
16
|
-
}[]
|
|
17
|
-
areaFlexs?: {
|
|
18
|
-
flex?: number
|
|
19
|
-
}[]
|
|
20
|
-
flexShrink?: number
|
|
21
|
-
overflowX?: 'hidden' | 'initial' | 'auto'
|
|
22
|
-
dependKey?: string
|
|
23
|
-
keyFromUser?: boolean
|
|
24
|
-
reverse?: boolean
|
|
25
|
-
dependKeyCompareValue?: string
|
|
26
|
-
position?: 'relative' | 'absolute'
|
|
27
|
-
compareType?: '=' | '>=' | '<=' | '>' | '<' | '!=' | 'includes'
|
|
28
|
-
dataSource?: DataSource
|
|
29
|
-
action?: LcbActionViewProps
|
|
30
|
-
itemAlign?:
|
|
31
|
-
| 'top-left'
|
|
32
|
-
| 'top-center'
|
|
33
|
-
| 'top-right'
|
|
34
|
-
| 'center-left'
|
|
35
|
-
| 'center-center'
|
|
36
|
-
| 'center-right'
|
|
37
|
-
| 'bottom-left'
|
|
38
|
-
| 'bottom-center'
|
|
39
|
-
| 'bottom-right'
|
|
40
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
export interface ProvinceCityArea {
|
|
2
|
-
cityList: CityList[]
|
|
3
|
-
provinceId: string
|
|
4
|
-
provinceName: string
|
|
5
|
-
}
|
|
6
|
-
interface CityList {
|
|
7
|
-
areaList?: AreaList[]
|
|
8
|
-
cityId: string
|
|
9
|
-
cityName: string
|
|
10
|
-
provinceId: string
|
|
11
|
-
}
|
|
12
|
-
interface AreaList {
|
|
13
|
-
areaId: string
|
|
14
|
-
areaName: string
|
|
15
|
-
cityId: string
|
|
16
|
-
provinceId: string
|
|
17
|
-
}
|
|
18
|
-
export interface AreaOptions {
|
|
19
|
-
label: string
|
|
20
|
-
value: string
|
|
21
|
-
children?: AreaOptions[]
|
|
22
|
-
}
|
|
23
|
-
export declare const getProvinceCityArea: () => Promise<
|
|
24
|
-
{
|
|
25
|
-
label: string
|
|
26
|
-
value: string
|
|
27
|
-
children: {
|
|
28
|
-
label: string
|
|
29
|
-
value: string
|
|
30
|
-
children:
|
|
31
|
-
| {
|
|
32
|
-
label: string
|
|
33
|
-
value: string
|
|
34
|
-
}[]
|
|
35
|
-
| undefined
|
|
36
|
-
}[]
|
|
37
|
-
}[]
|
|
38
|
-
>
|
|
39
|
-
export declare const getProvinceCity: () => Promise<
|
|
40
|
-
{
|
|
41
|
-
label: string
|
|
42
|
-
value: string
|
|
43
|
-
children: {
|
|
44
|
-
label: string
|
|
45
|
-
value: string
|
|
46
|
-
}[]
|
|
47
|
-
}[]
|
|
48
|
-
>
|
|
49
|
-
export {}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { LcbAreaPickerProps } from './types'
|
|
2
|
-
import { AreaOptions } from './api'
|
|
3
|
-
declare let __VLS_typeProps: LcbAreaPickerProps
|
|
4
|
-
type __VLS_PublicProps = {
|
|
5
|
-
modelValue?: string[]
|
|
6
|
-
} & typeof __VLS_typeProps
|
|
7
|
-
declare function __VLS_template(): {
|
|
8
|
-
default?(_: { text: string[] | undefined }): any
|
|
9
|
-
}
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
11
|
-
__VLS_WithDefaults<
|
|
12
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
13
|
-
{
|
|
14
|
-
mode: string
|
|
15
|
-
}
|
|
16
|
-
>,
|
|
17
|
-
{},
|
|
18
|
-
unknown,
|
|
19
|
-
{},
|
|
20
|
-
{},
|
|
21
|
-
import('vue').ComponentOptionsMixin,
|
|
22
|
-
import('vue').ComponentOptionsMixin,
|
|
23
|
-
{
|
|
24
|
-
'update:modelValue': (modelValue: string[]) => void
|
|
25
|
-
confirm: (payload: AreaOptions[]) => void
|
|
26
|
-
},
|
|
27
|
-
string,
|
|
28
|
-
import('vue').PublicProps,
|
|
29
|
-
Readonly<
|
|
30
|
-
import('vue').ExtractPropTypes<
|
|
31
|
-
__VLS_WithDefaults<
|
|
32
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
33
|
-
{
|
|
34
|
-
mode: string
|
|
35
|
-
}
|
|
36
|
-
>
|
|
37
|
-
>
|
|
38
|
-
> & {
|
|
39
|
-
'onUpdate:modelValue'?: ((modelValue: string[]) => any) | undefined
|
|
40
|
-
onConfirm?: ((payload: AreaOptions[]) => any) | undefined
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
mode: 'city' | 'area'
|
|
44
|
-
},
|
|
45
|
-
{}
|
|
46
|
-
>
|
|
47
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
48
|
-
typeof __VLS_component,
|
|
49
|
-
ReturnType<typeof __VLS_template>
|
|
50
|
-
>
|
|
51
|
-
export default _default
|
|
52
|
-
type __VLS_WithDefaults<P, D> = {
|
|
53
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
54
|
-
? __VLS_Prettify<
|
|
55
|
-
P[K] & {
|
|
56
|
-
default: D[K]
|
|
57
|
-
}
|
|
58
|
-
>
|
|
59
|
-
: P[K]
|
|
60
|
-
}
|
|
61
|
-
type __VLS_Prettify<T> = {
|
|
62
|
-
[K in keyof T]: T[K]
|
|
63
|
-
} & {}
|
|
64
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
65
|
-
new (): {
|
|
66
|
-
$slots: S
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
70
|
-
type __VLS_TypePropsToOption<T> = {
|
|
71
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
72
|
-
? {
|
|
73
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
74
|
-
}
|
|
75
|
-
: {
|
|
76
|
-
type: import('vue').PropType<T[K]>
|
|
77
|
-
required: true
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { LcbBannerProps } from './types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_WithDefaults<
|
|
4
|
-
__VLS_TypePropsToOption<LcbBannerProps>,
|
|
5
|
-
{
|
|
6
|
-
styleGroup: number
|
|
7
|
-
radius: number
|
|
8
|
-
slidingStyle: number
|
|
9
|
-
titleColor: string
|
|
10
|
-
titleFontSize: number
|
|
11
|
-
titleTop: number
|
|
12
|
-
titleLeft: number
|
|
13
|
-
fontWeight: number
|
|
14
|
-
supportClickScroll: boolean
|
|
15
|
-
}
|
|
16
|
-
>,
|
|
17
|
-
{},
|
|
18
|
-
unknown,
|
|
19
|
-
{},
|
|
20
|
-
{},
|
|
21
|
-
import('vue').ComponentOptionsMixin,
|
|
22
|
-
import('vue').ComponentOptionsMixin,
|
|
23
|
-
{},
|
|
24
|
-
string,
|
|
25
|
-
import('vue').PublicProps,
|
|
26
|
-
Readonly<
|
|
27
|
-
import('vue').ExtractPropTypes<
|
|
28
|
-
__VLS_WithDefaults<
|
|
29
|
-
__VLS_TypePropsToOption<LcbBannerProps>,
|
|
30
|
-
{
|
|
31
|
-
styleGroup: number
|
|
32
|
-
radius: number
|
|
33
|
-
slidingStyle: number
|
|
34
|
-
titleColor: string
|
|
35
|
-
titleFontSize: number
|
|
36
|
-
titleTop: number
|
|
37
|
-
titleLeft: number
|
|
38
|
-
fontWeight: number
|
|
39
|
-
supportClickScroll: boolean
|
|
40
|
-
}
|
|
41
|
-
>
|
|
42
|
-
>
|
|
43
|
-
>,
|
|
44
|
-
{
|
|
45
|
-
radius: number
|
|
46
|
-
fontWeight: number
|
|
47
|
-
styleGroup: 1 | 2
|
|
48
|
-
slidingStyle: 1 | 2
|
|
49
|
-
supportClickScroll: boolean
|
|
50
|
-
titleColor: string
|
|
51
|
-
titleFontSize: number
|
|
52
|
-
titleTop: number
|
|
53
|
-
titleLeft: number
|
|
54
|
-
},
|
|
55
|
-
{}
|
|
56
|
-
>
|
|
57
|
-
export default _default
|
|
58
|
-
type __VLS_WithDefaults<P, D> = {
|
|
59
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
60
|
-
? __VLS_Prettify<
|
|
61
|
-
P[K] & {
|
|
62
|
-
default: D[K]
|
|
63
|
-
}
|
|
64
|
-
>
|
|
65
|
-
: P[K]
|
|
66
|
-
}
|
|
67
|
-
type __VLS_Prettify<T> = {
|
|
68
|
-
[K in keyof T]: T[K]
|
|
69
|
-
} & {}
|
|
70
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
71
|
-
type __VLS_TypePropsToOption<T> = {
|
|
72
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
73
|
-
? {
|
|
74
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
75
|
-
}
|
|
76
|
-
: {
|
|
77
|
-
type: import('vue').PropType<T[K]>
|
|
78
|
-
required: true
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { ActionView } from 'action'
|
|
2
|
-
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
-
export interface LcbBannerProps extends LcbBlockProps {
|
|
4
|
-
items?: Partial<
|
|
5
|
-
ActionView & {
|
|
6
|
-
maskBgColor?: string
|
|
7
|
-
}
|
|
8
|
-
>[]
|
|
9
|
-
imageWidth?: number
|
|
10
|
-
/** 风格 1.平铺 2.卡片 */
|
|
11
|
-
styleGroup?: 1 | 2
|
|
12
|
-
autoplay?: boolean
|
|
13
|
-
/** 滚动方向 默认 horizontal */
|
|
14
|
-
direction?: 'horizontal' | 'vertical'
|
|
15
|
-
/** 同时显示的滑块数量 默认 1 */
|
|
16
|
-
displayMultipleItems?: number
|
|
17
|
-
/** 滑动时长 300ms */
|
|
18
|
-
duration?: number
|
|
19
|
-
/** 轮播图高度 默认192 */
|
|
20
|
-
height?: number
|
|
21
|
-
imgWidth?: number
|
|
22
|
-
/** 轮播间隔时间 5000ms */
|
|
23
|
-
interval?: number
|
|
24
|
-
/** 是否循环播放 默认 true */
|
|
25
|
-
loop?: boolean
|
|
26
|
-
/** 后边间距 */
|
|
27
|
-
nextMargin?: number
|
|
28
|
-
/** 前边间距 */
|
|
29
|
-
previousMargin?: number
|
|
30
|
-
/** 指示器位置 bottom */
|
|
31
|
-
indicatorPosition?:
|
|
32
|
-
| 'left'
|
|
33
|
-
| 'top-left'
|
|
34
|
-
| 'top'
|
|
35
|
-
| 'top-right'
|
|
36
|
-
| 'bottom-left'
|
|
37
|
-
| 'bottom'
|
|
38
|
-
| 'bottom-right'
|
|
39
|
-
| 'right'
|
|
40
|
-
/** 边距是否应用到第一个、最后一个元素 */
|
|
41
|
-
paddingBottom?: number
|
|
42
|
-
/** 指示器底部距离 */
|
|
43
|
-
indicatorBottom?: number
|
|
44
|
-
indicatorTop?: number
|
|
45
|
-
snapToEdge?: boolean
|
|
46
|
-
itemPadding?: number
|
|
47
|
-
/** 图片圆角 */
|
|
48
|
-
imageRadius?: number
|
|
49
|
-
radius?: number
|
|
50
|
-
customPrevImageClass?: string
|
|
51
|
-
customNextImageClass?: string
|
|
52
|
-
indicator?: 'dots' | 'dots-bar' | 'fraction'
|
|
53
|
-
/** 滑动样式 1平面 2立体 */
|
|
54
|
-
slidingStyle?: 1 | 2
|
|
55
|
-
maskBgColor?: string
|
|
56
|
-
fullScreenBackground?: boolean
|
|
57
|
-
supportClickScroll?: boolean
|
|
58
|
-
/** 是否全屏流式banner */
|
|
59
|
-
fullBannerFlow?: boolean
|
|
60
|
-
titleColor?: string
|
|
61
|
-
titleFontSize?: number
|
|
62
|
-
titleFontWeight?: number
|
|
63
|
-
titleTop?: number
|
|
64
|
-
titleLeft?: number
|
|
65
|
-
showTitle?: boolean
|
|
66
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { LcbBannerListProps } from './types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_WithDefaults<
|
|
4
|
-
__VLS_TypePropsToOption<LcbBannerListProps>,
|
|
5
|
-
{
|
|
6
|
-
backgroundColor: string
|
|
7
|
-
}
|
|
8
|
-
>,
|
|
9
|
-
{},
|
|
10
|
-
unknown,
|
|
11
|
-
{},
|
|
12
|
-
{},
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
import('vue').ComponentOptionsMixin,
|
|
15
|
-
{},
|
|
16
|
-
string,
|
|
17
|
-
import('vue').PublicProps,
|
|
18
|
-
Readonly<
|
|
19
|
-
import('vue').ExtractPropTypes<
|
|
20
|
-
__VLS_WithDefaults<
|
|
21
|
-
__VLS_TypePropsToOption<LcbBannerListProps>,
|
|
22
|
-
{
|
|
23
|
-
backgroundColor: string
|
|
24
|
-
}
|
|
25
|
-
>
|
|
26
|
-
>
|
|
27
|
-
>,
|
|
28
|
-
{
|
|
29
|
-
backgroundColor: string
|
|
30
|
-
},
|
|
31
|
-
{}
|
|
32
|
-
>
|
|
33
|
-
export default _default
|
|
34
|
-
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
36
|
-
? __VLS_Prettify<
|
|
37
|
-
P[K] & {
|
|
38
|
-
default: D[K]
|
|
39
|
-
}
|
|
40
|
-
>
|
|
41
|
-
: P[K]
|
|
42
|
-
}
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K]
|
|
45
|
-
} & {}
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
47
|
-
type __VLS_TypePropsToOption<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
49
|
-
? {
|
|
50
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
51
|
-
}
|
|
52
|
-
: {
|
|
53
|
-
type: import('vue').PropType<T[K]>
|
|
54
|
-
required: true
|
|
55
|
-
}
|
|
56
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { LcbActionViewProps } from '../lcb-action-view/types'
|
|
2
|
-
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
-
import { ActionView } from 'action'
|
|
4
|
-
export interface LcbBannerListProps extends LcbBlockProps {
|
|
5
|
-
items?: ActionView[]
|
|
6
|
-
/** 风格 1.顶部title 2.底部title */
|
|
7
|
-
styleGroup?: 1 | 2
|
|
8
|
-
/** 轮播图高度 默认192 */
|
|
9
|
-
height?: number
|
|
10
|
-
/** 轮播图宽度 */
|
|
11
|
-
imgWidth?: number
|
|
12
|
-
title: string
|
|
13
|
-
hint?: string
|
|
14
|
-
logo?: string
|
|
15
|
-
rightIcon?: string
|
|
16
|
-
leftIcon?: string
|
|
17
|
-
itemPadding?: number
|
|
18
|
-
imageRadius?: number
|
|
19
|
-
link?: LcbActionViewProps
|
|
20
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { LcbBlockInnerProps } from './types'
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
default?(_: {}): any
|
|
4
|
-
}
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
|
-
__VLS_WithDefaults<
|
|
7
|
-
__VLS_TypePropsToOption<LcbBlockInnerProps>,
|
|
8
|
-
{
|
|
9
|
-
backgroundSize: string
|
|
10
|
-
backgroundRepeat: string
|
|
11
|
-
backgroundPosition: string
|
|
12
|
-
opacity: number
|
|
13
|
-
fontSize: number
|
|
14
|
-
position: string
|
|
15
|
-
}
|
|
16
|
-
>,
|
|
17
|
-
{},
|
|
18
|
-
unknown,
|
|
19
|
-
{},
|
|
20
|
-
{},
|
|
21
|
-
import('vue').ComponentOptionsMixin,
|
|
22
|
-
import('vue').ComponentOptionsMixin,
|
|
23
|
-
{},
|
|
24
|
-
string,
|
|
25
|
-
import('vue').PublicProps,
|
|
26
|
-
Readonly<
|
|
27
|
-
import('vue').ExtractPropTypes<
|
|
28
|
-
__VLS_WithDefaults<
|
|
29
|
-
__VLS_TypePropsToOption<LcbBlockInnerProps>,
|
|
30
|
-
{
|
|
31
|
-
backgroundSize: string
|
|
32
|
-
backgroundRepeat: string
|
|
33
|
-
backgroundPosition: string
|
|
34
|
-
opacity: number
|
|
35
|
-
fontSize: number
|
|
36
|
-
position: string
|
|
37
|
-
}
|
|
38
|
-
>
|
|
39
|
-
>
|
|
40
|
-
>,
|
|
41
|
-
{},
|
|
42
|
-
{}
|
|
43
|
-
>
|
|
44
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
45
|
-
typeof __VLS_component,
|
|
46
|
-
ReturnType<typeof __VLS_template>
|
|
47
|
-
>
|
|
48
|
-
export default _default
|
|
49
|
-
type __VLS_WithDefaults<P, D> = {
|
|
50
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
51
|
-
? __VLS_Prettify<
|
|
52
|
-
P[K] & {
|
|
53
|
-
default: D[K]
|
|
54
|
-
}
|
|
55
|
-
>
|
|
56
|
-
: P[K]
|
|
57
|
-
}
|
|
58
|
-
type __VLS_Prettify<T> = {
|
|
59
|
-
[K in keyof T]: T[K]
|
|
60
|
-
} & {}
|
|
61
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
-
new (): {
|
|
63
|
-
$slots: S
|
|
64
|
-
}
|
|
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,62 +0,0 @@
|
|
|
1
|
-
import { DynamicOptions } from 'action'
|
|
2
|
-
export interface LcbBlockProps {
|
|
3
|
-
/** 左右外距 */
|
|
4
|
-
marginHorizontal?: number
|
|
5
|
-
/** 左右内距 */
|
|
6
|
-
paddingHorizontal?: number
|
|
7
|
-
/** 上下内距 */
|
|
8
|
-
paddingVertical?: number
|
|
9
|
-
/** 背景颜色 #ffffff */
|
|
10
|
-
backgroundColor?: string
|
|
11
|
-
/** 背景图片 */
|
|
12
|
-
backgroundImage?: string
|
|
13
|
-
/** 上浮距离 */
|
|
14
|
-
floatUp?: number
|
|
15
|
-
/** 阴影颜色 */
|
|
16
|
-
shadowColor?: string
|
|
17
|
-
/** 阴影大小 */
|
|
18
|
-
shadowSize?: number
|
|
19
|
-
/** 模糊大小 */
|
|
20
|
-
blurSize?: number
|
|
21
|
-
/** 透明度 */
|
|
22
|
-
opacity?: number
|
|
23
|
-
paddingTop?: number
|
|
24
|
-
paddingBottom?: number
|
|
25
|
-
paddingLeft?: number
|
|
26
|
-
paddingRight?: number
|
|
27
|
-
marginTop?: number
|
|
28
|
-
marginBottom?: number
|
|
29
|
-
marginLeft?: number
|
|
30
|
-
marginRight?: number
|
|
31
|
-
zIndex?: number
|
|
32
|
-
position?: 'relative' | 'absolute'
|
|
33
|
-
color?: string
|
|
34
|
-
fontSize?: number
|
|
35
|
-
fontWeight?: number
|
|
36
|
-
radius?: number
|
|
37
|
-
topRadius?: number
|
|
38
|
-
bottomRadius?: number
|
|
39
|
-
customClass?: string
|
|
40
|
-
backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
|
|
41
|
-
backgroundSize?: string
|
|
42
|
-
backgroundPosition?: string
|
|
43
|
-
borderColor?: string
|
|
44
|
-
borderWidth?: number
|
|
45
|
-
textAlign?: 'left' | 'center' | 'right'
|
|
46
|
-
customStyle?: Record<string, any>
|
|
47
|
-
align?:
|
|
48
|
-
| 'top-left'
|
|
49
|
-
| 'top-center'
|
|
50
|
-
| 'top-right'
|
|
51
|
-
| 'center-left'
|
|
52
|
-
| 'center-center'
|
|
53
|
-
| 'center-right'
|
|
54
|
-
| 'bottom-left'
|
|
55
|
-
| 'bottom-center'
|
|
56
|
-
| 'bottom-right'
|
|
57
|
-
dynamicStyleOptions?: Record<string, DynamicOptions>
|
|
58
|
-
dynamicBgImage?: string
|
|
59
|
-
}
|
|
60
|
-
export interface LcbBlockInnerProps extends LcbBlockProps {
|
|
61
|
-
[key: string]: any
|
|
62
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { LcbButtonProps } from './types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_WithDefaults<
|
|
4
|
-
__VLS_TypePropsToOption<LcbButtonProps>,
|
|
5
|
-
{
|
|
6
|
-
color: string
|
|
7
|
-
backgroundColor: string
|
|
8
|
-
hideWhenDynamicKeyNotExist: boolean
|
|
9
|
-
enablePreview: boolean
|
|
10
|
-
iconGap: number
|
|
11
|
-
iconSize: number
|
|
12
|
-
qrCodeSize: number
|
|
13
|
-
}
|
|
14
|
-
>,
|
|
15
|
-
{},
|
|
16
|
-
unknown,
|
|
17
|
-
{},
|
|
18
|
-
{},
|
|
19
|
-
import('vue').ComponentOptionsMixin,
|
|
20
|
-
import('vue').ComponentOptionsMixin,
|
|
21
|
-
{},
|
|
22
|
-
string,
|
|
23
|
-
import('vue').PublicProps,
|
|
24
|
-
Readonly<
|
|
25
|
-
import('vue').ExtractPropTypes<
|
|
26
|
-
__VLS_WithDefaults<
|
|
27
|
-
__VLS_TypePropsToOption<LcbButtonProps>,
|
|
28
|
-
{
|
|
29
|
-
color: string
|
|
30
|
-
backgroundColor: string
|
|
31
|
-
hideWhenDynamicKeyNotExist: boolean
|
|
32
|
-
enablePreview: boolean
|
|
33
|
-
iconGap: number
|
|
34
|
-
iconSize: number
|
|
35
|
-
qrCodeSize: number
|
|
36
|
-
}
|
|
37
|
-
>
|
|
38
|
-
>
|
|
39
|
-
>,
|
|
40
|
-
{
|
|
41
|
-
backgroundColor: string
|
|
42
|
-
color: string
|
|
43
|
-
enablePreview: boolean
|
|
44
|
-
iconSize: number
|
|
45
|
-
qrCodeSize: number
|
|
46
|
-
iconGap: number
|
|
47
|
-
hideWhenDynamicKeyNotExist: boolean
|
|
48
|
-
},
|
|
49
|
-
{}
|
|
50
|
-
>
|
|
51
|
-
export default _default
|
|
52
|
-
type __VLS_WithDefaults<P, D> = {
|
|
53
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
54
|
-
? __VLS_Prettify<
|
|
55
|
-
P[K] & {
|
|
56
|
-
default: D[K]
|
|
57
|
-
}
|
|
58
|
-
>
|
|
59
|
-
: P[K]
|
|
60
|
-
}
|
|
61
|
-
type __VLS_Prettify<T> = {
|
|
62
|
-
[K in keyof T]: T[K]
|
|
63
|
-
} & {}
|
|
64
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
65
|
-
type __VLS_TypePropsToOption<T> = {
|
|
66
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
67
|
-
? {
|
|
68
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
69
|
-
}
|
|
70
|
-
: {
|
|
71
|
-
type: import('vue').PropType<T[K]>
|
|
72
|
-
required: true
|
|
73
|
-
}
|
|
74
|
-
}
|