@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,29 @@
|
|
|
1
|
+
import { LcbActionViewProps } from '../lcb-action-view/types'
|
|
2
|
+
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
+
export type LcbSearchProps = {
|
|
4
|
+
placeholder?: string
|
|
5
|
+
icon?: string
|
|
6
|
+
url?: string
|
|
7
|
+
iconSize?: string
|
|
8
|
+
borderWidth?: number
|
|
9
|
+
iconColor?: string
|
|
10
|
+
gap?: number
|
|
11
|
+
link?: LcbActionViewProps
|
|
12
|
+
iconType?: 'icon' | 'img'
|
|
13
|
+
mode?: 'search' | 'link'
|
|
14
|
+
productTypeList?: string[]
|
|
15
|
+
city?: boolean
|
|
16
|
+
cityColor?: string
|
|
17
|
+
citySize?: number
|
|
18
|
+
cityIconSize?: number
|
|
19
|
+
cityIconColor?: string
|
|
20
|
+
lineColor?: string
|
|
21
|
+
lineWidth?: number
|
|
22
|
+
linePadding?: number
|
|
23
|
+
lineHeight?: number
|
|
24
|
+
historyKey?: string
|
|
25
|
+
showCancel?: boolean
|
|
26
|
+
initFocus?: boolean
|
|
27
|
+
blockBackground?: string
|
|
28
|
+
} & LcbActionViewProps &
|
|
29
|
+
LcbBlockProps
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { LcbSwiperProps } from './types'
|
|
2
|
+
type DataRecord = Record<string, any>
|
|
3
|
+
declare const _default: import('vue').DefineComponent<
|
|
4
|
+
__VLS_WithDefaults<
|
|
5
|
+
__VLS_TypePropsToOption<LcbSwiperProps>,
|
|
6
|
+
{
|
|
7
|
+
itemWidth: number
|
|
8
|
+
itemHeight: number
|
|
9
|
+
enableOpacity: boolean
|
|
10
|
+
mode: string
|
|
11
|
+
scaleStep: number
|
|
12
|
+
}
|
|
13
|
+
>,
|
|
14
|
+
{},
|
|
15
|
+
unknown,
|
|
16
|
+
{},
|
|
17
|
+
{},
|
|
18
|
+
import('vue').ComponentOptionsMixin,
|
|
19
|
+
import('vue').ComponentOptionsMixin,
|
|
20
|
+
{
|
|
21
|
+
selection: (item: DataRecord) => void
|
|
22
|
+
},
|
|
23
|
+
string,
|
|
24
|
+
import('vue').PublicProps,
|
|
25
|
+
Readonly<
|
|
26
|
+
import('vue').ExtractPropTypes<
|
|
27
|
+
__VLS_WithDefaults<
|
|
28
|
+
__VLS_TypePropsToOption<LcbSwiperProps>,
|
|
29
|
+
{
|
|
30
|
+
itemWidth: number
|
|
31
|
+
itemHeight: number
|
|
32
|
+
enableOpacity: boolean
|
|
33
|
+
mode: string
|
|
34
|
+
scaleStep: number
|
|
35
|
+
}
|
|
36
|
+
>
|
|
37
|
+
>
|
|
38
|
+
> & {
|
|
39
|
+
onSelection?: ((item: DataRecord) => any) | undefined
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
mode: 'stackLeft' | 'stackRight' | 'stackCenter' | 'tinder'
|
|
43
|
+
itemWidth: number
|
|
44
|
+
itemHeight: number
|
|
45
|
+
enableOpacity: boolean
|
|
46
|
+
scaleStep: number
|
|
47
|
+
},
|
|
48
|
+
{}
|
|
49
|
+
>
|
|
50
|
+
export default _default
|
|
51
|
+
type __VLS_WithDefaults<P, D> = {
|
|
52
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
53
|
+
? __VLS_Prettify<
|
|
54
|
+
P[K] & {
|
|
55
|
+
default: D[K]
|
|
56
|
+
}
|
|
57
|
+
>
|
|
58
|
+
: P[K]
|
|
59
|
+
}
|
|
60
|
+
type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K]
|
|
62
|
+
} & {}
|
|
63
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
64
|
+
type __VLS_TypePropsToOption<T> = {
|
|
65
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
66
|
+
? {
|
|
67
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
68
|
+
}
|
|
69
|
+
: {
|
|
70
|
+
type: import('vue').PropType<T[K]>
|
|
71
|
+
required: true
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ActionView } from 'action'
|
|
2
|
+
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
+
export interface LcbSwiperProps extends LcbBlockProps {
|
|
4
|
+
items?: Partial<
|
|
5
|
+
ActionView & {
|
|
6
|
+
maskBgColor?: string
|
|
7
|
+
}
|
|
8
|
+
>[]
|
|
9
|
+
itemWidth?: number
|
|
10
|
+
itemHeight?: number
|
|
11
|
+
mode?: 'stackLeft' | 'stackRight' | 'stackCenter' | 'tinder'
|
|
12
|
+
visibleCount?: number
|
|
13
|
+
imageRadius?: number
|
|
14
|
+
enableOpacity?: boolean
|
|
15
|
+
/** 缩放步长:仅针对 stackLeft/stackRight 模式,每张卡片缩小的比例,默认 0.1 (10%) */
|
|
16
|
+
scaleStep?: number
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { LcbTabsProps } from '../../types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbTabsProps>,
|
|
5
|
+
{
|
|
6
|
+
imgTitleGap: number
|
|
7
|
+
activeColor: string
|
|
8
|
+
inactiveColor: string
|
|
9
|
+
}
|
|
10
|
+
>,
|
|
11
|
+
{},
|
|
12
|
+
unknown,
|
|
13
|
+
{},
|
|
14
|
+
{},
|
|
15
|
+
import('vue').ComponentOptionsMixin,
|
|
16
|
+
import('vue').ComponentOptionsMixin,
|
|
17
|
+
{},
|
|
18
|
+
string,
|
|
19
|
+
import('vue').PublicProps,
|
|
20
|
+
Readonly<
|
|
21
|
+
import('vue').ExtractPropTypes<
|
|
22
|
+
__VLS_WithDefaults<
|
|
23
|
+
__VLS_TypePropsToOption<LcbTabsProps>,
|
|
24
|
+
{
|
|
25
|
+
imgTitleGap: number
|
|
26
|
+
activeColor: string
|
|
27
|
+
inactiveColor: string
|
|
28
|
+
}
|
|
29
|
+
>
|
|
30
|
+
>
|
|
31
|
+
>,
|
|
32
|
+
{
|
|
33
|
+
activeColor: string
|
|
34
|
+
inactiveColor: string
|
|
35
|
+
imgTitleGap: number
|
|
36
|
+
},
|
|
37
|
+
{}
|
|
38
|
+
>
|
|
39
|
+
export default _default
|
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
|
41
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
42
|
+
? __VLS_Prettify<
|
|
43
|
+
P[K] & {
|
|
44
|
+
default: D[K]
|
|
45
|
+
}
|
|
46
|
+
>
|
|
47
|
+
: P[K]
|
|
48
|
+
}
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K]
|
|
51
|
+
} & {}
|
|
52
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
53
|
+
type __VLS_TypePropsToOption<T> = {
|
|
54
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
55
|
+
? {
|
|
56
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
57
|
+
}
|
|
58
|
+
: {
|
|
59
|
+
type: import('vue').PropType<T[K]>
|
|
60
|
+
required: true
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { LcbTabsProps } from '../../types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbTabsProps>,
|
|
5
|
+
{
|
|
6
|
+
lineWidth: number
|
|
7
|
+
lineHeight: number
|
|
8
|
+
slidable: string
|
|
9
|
+
slidableNum: number
|
|
10
|
+
}
|
|
11
|
+
>,
|
|
12
|
+
{},
|
|
13
|
+
unknown,
|
|
14
|
+
{},
|
|
15
|
+
{},
|
|
16
|
+
import('vue').ComponentOptionsMixin,
|
|
17
|
+
import('vue').ComponentOptionsMixin,
|
|
18
|
+
{},
|
|
19
|
+
string,
|
|
20
|
+
import('vue').PublicProps,
|
|
21
|
+
Readonly<
|
|
22
|
+
import('vue').ExtractPropTypes<
|
|
23
|
+
__VLS_WithDefaults<
|
|
24
|
+
__VLS_TypePropsToOption<LcbTabsProps>,
|
|
25
|
+
{
|
|
26
|
+
lineWidth: number
|
|
27
|
+
lineHeight: number
|
|
28
|
+
slidable: string
|
|
29
|
+
slidableNum: number
|
|
30
|
+
}
|
|
31
|
+
>
|
|
32
|
+
>
|
|
33
|
+
>,
|
|
34
|
+
{
|
|
35
|
+
lineHeight: number
|
|
36
|
+
lineWidth: number
|
|
37
|
+
slidableNum: number
|
|
38
|
+
slidable: 'always' | 'auto'
|
|
39
|
+
},
|
|
40
|
+
{}
|
|
41
|
+
>
|
|
42
|
+
export default _default
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
45
|
+
? __VLS_Prettify<
|
|
46
|
+
P[K] & {
|
|
47
|
+
default: D[K]
|
|
48
|
+
}
|
|
49
|
+
>
|
|
50
|
+
: P[K]
|
|
51
|
+
}
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K]
|
|
54
|
+
} & {}
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
56
|
+
type __VLS_TypePropsToOption<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
58
|
+
? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
60
|
+
}
|
|
61
|
+
: {
|
|
62
|
+
type: import('vue').PropType<T[K]>
|
|
63
|
+
required: true
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { LcbTabsProps } from '../../types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbTabsProps>,
|
|
5
|
+
{
|
|
6
|
+
tagActiveColor: string
|
|
7
|
+
tagInactiveColor: string
|
|
8
|
+
tagTitleActiveColor: string
|
|
9
|
+
tagTitleInactiveColor: string
|
|
10
|
+
tagRadius: 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<LcbTabsProps>,
|
|
26
|
+
{
|
|
27
|
+
tagActiveColor: string
|
|
28
|
+
tagInactiveColor: string
|
|
29
|
+
tagTitleActiveColor: string
|
|
30
|
+
tagTitleInactiveColor: string
|
|
31
|
+
tagRadius: number
|
|
32
|
+
}
|
|
33
|
+
>
|
|
34
|
+
>
|
|
35
|
+
>,
|
|
36
|
+
{
|
|
37
|
+
tagActiveColor: string
|
|
38
|
+
tagInactiveColor: string
|
|
39
|
+
tagTitleActiveColor: string
|
|
40
|
+
tagTitleInactiveColor: string
|
|
41
|
+
tagRadius: 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,65 @@
|
|
|
1
|
+
import { LcbTabsProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbTabsProps>,
|
|
5
|
+
{
|
|
6
|
+
itemFontSize: number
|
|
7
|
+
tagsMode: string
|
|
8
|
+
gap: number
|
|
9
|
+
imgHeight: number
|
|
10
|
+
}
|
|
11
|
+
>,
|
|
12
|
+
{},
|
|
13
|
+
unknown,
|
|
14
|
+
{},
|
|
15
|
+
{},
|
|
16
|
+
import('vue').ComponentOptionsMixin,
|
|
17
|
+
import('vue').ComponentOptionsMixin,
|
|
18
|
+
{},
|
|
19
|
+
string,
|
|
20
|
+
import('vue').PublicProps,
|
|
21
|
+
Readonly<
|
|
22
|
+
import('vue').ExtractPropTypes<
|
|
23
|
+
__VLS_WithDefaults<
|
|
24
|
+
__VLS_TypePropsToOption<LcbTabsProps>,
|
|
25
|
+
{
|
|
26
|
+
itemFontSize: number
|
|
27
|
+
tagsMode: string
|
|
28
|
+
gap: number
|
|
29
|
+
imgHeight: number
|
|
30
|
+
}
|
|
31
|
+
>
|
|
32
|
+
>
|
|
33
|
+
>,
|
|
34
|
+
{
|
|
35
|
+
gap: number
|
|
36
|
+
itemFontSize: number
|
|
37
|
+
tagsMode: 'scroll' | 'tiled'
|
|
38
|
+
imgHeight: number
|
|
39
|
+
},
|
|
40
|
+
{}
|
|
41
|
+
>
|
|
42
|
+
export default _default
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
45
|
+
? __VLS_Prettify<
|
|
46
|
+
P[K] & {
|
|
47
|
+
default: D[K]
|
|
48
|
+
}
|
|
49
|
+
>
|
|
50
|
+
: P[K]
|
|
51
|
+
}
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K]
|
|
54
|
+
} & {}
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
56
|
+
type __VLS_TypePropsToOption<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
58
|
+
? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
60
|
+
}
|
|
61
|
+
: {
|
|
62
|
+
type: import('vue').PropType<T[K]>
|
|
63
|
+
required: true
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { LcbBlockProps } from '../../components/lcb-block/types'
|
|
2
|
+
export interface LcbTabsProps extends LcbBlockProps {
|
|
3
|
+
/** 是否吸顶 */
|
|
4
|
+
sticky?: boolean
|
|
5
|
+
items: {
|
|
6
|
+
title: string
|
|
7
|
+
name: string
|
|
8
|
+
activeUrl?: string
|
|
9
|
+
inactiveUrl?: string
|
|
10
|
+
}[]
|
|
11
|
+
showTitle?: boolean
|
|
12
|
+
lineWidth?: number
|
|
13
|
+
lineHeight?: number
|
|
14
|
+
slidable?: 'always' | 'auto'
|
|
15
|
+
slidableNum?: number
|
|
16
|
+
itemFontSize?: number
|
|
17
|
+
mode?: 'tabs' | 'block' | 'image'
|
|
18
|
+
tagsMode?: 'scroll' | 'tiled'
|
|
19
|
+
gap?: number
|
|
20
|
+
dynamicScope?: string
|
|
21
|
+
imgHeight?: number
|
|
22
|
+
imgTitleGap?: number
|
|
23
|
+
activeColor?: string
|
|
24
|
+
inactiveColor?: string
|
|
25
|
+
tagActiveColor?: string
|
|
26
|
+
tagInactiveColor?: string
|
|
27
|
+
tagTitleActiveColor?: string
|
|
28
|
+
tagTitleInactiveColor?: string
|
|
29
|
+
tagRadius?: number
|
|
30
|
+
tagMinWidth?: number
|
|
31
|
+
tabActiveFontWeight?: string
|
|
32
|
+
tabInactiveFontWeight?: string
|
|
33
|
+
tabActiveFontSize?: number
|
|
34
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { LcbTagsProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbTagsProps>,
|
|
5
|
+
{
|
|
6
|
+
itemBackgroundColor: string
|
|
7
|
+
itemRadius: number
|
|
8
|
+
itemFontSize: number
|
|
9
|
+
tagsMode: string
|
|
10
|
+
gap: number
|
|
11
|
+
itemVerticalPadding: number
|
|
12
|
+
itemHorizontalPadding: 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<LcbTagsProps>,
|
|
28
|
+
{
|
|
29
|
+
itemBackgroundColor: string
|
|
30
|
+
itemRadius: number
|
|
31
|
+
itemFontSize: number
|
|
32
|
+
tagsMode: string
|
|
33
|
+
gap: number
|
|
34
|
+
itemVerticalPadding: number
|
|
35
|
+
itemHorizontalPadding: number
|
|
36
|
+
}
|
|
37
|
+
>
|
|
38
|
+
>
|
|
39
|
+
>,
|
|
40
|
+
{
|
|
41
|
+
gap: number
|
|
42
|
+
itemRadius: number
|
|
43
|
+
itemVerticalPadding: number
|
|
44
|
+
itemHorizontalPadding: number
|
|
45
|
+
itemFontSize: number
|
|
46
|
+
tagsMode: 'scroll' | 'tiled'
|
|
47
|
+
itemBackgroundColor: string
|
|
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
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LcbActionViewProps } from '../lcb-action-view/types'
|
|
2
|
+
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
+
export interface LcbTagsProps extends LcbBlockProps {
|
|
4
|
+
tagsMode?: 'scroll' | 'tiled'
|
|
5
|
+
gap?: number
|
|
6
|
+
items: {
|
|
7
|
+
title: string
|
|
8
|
+
link?: LcbActionViewProps
|
|
9
|
+
}[]
|
|
10
|
+
itemFontSize?: number
|
|
11
|
+
itemBackgroundColor?: string
|
|
12
|
+
itemRadius?: number
|
|
13
|
+
itemBorderColor?: string
|
|
14
|
+
itemBorderWidth?: number
|
|
15
|
+
itemVerticalPadding?: number
|
|
16
|
+
itemHorizontalPadding?: number
|
|
17
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LcbTextProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbTextProps>, {}>,
|
|
4
|
+
{},
|
|
5
|
+
unknown,
|
|
6
|
+
{},
|
|
7
|
+
{},
|
|
8
|
+
import('vue').ComponentOptionsMixin,
|
|
9
|
+
import('vue').ComponentOptionsMixin,
|
|
10
|
+
{},
|
|
11
|
+
string,
|
|
12
|
+
import('vue').PublicProps,
|
|
13
|
+
Readonly<
|
|
14
|
+
import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<LcbTextProps>, {}>>
|
|
15
|
+
>,
|
|
16
|
+
{},
|
|
17
|
+
{}
|
|
18
|
+
>
|
|
19
|
+
export default _default
|
|
20
|
+
type __VLS_WithDefaults<P, D> = {
|
|
21
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
22
|
+
? __VLS_Prettify<
|
|
23
|
+
P[K] & {
|
|
24
|
+
default: D[K]
|
|
25
|
+
}
|
|
26
|
+
>
|
|
27
|
+
: P[K]
|
|
28
|
+
}
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K]
|
|
31
|
+
} & {}
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
33
|
+
type __VLS_TypePropsToOption<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
35
|
+
? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
37
|
+
}
|
|
38
|
+
: {
|
|
39
|
+
type: import('vue').PropType<T[K]>
|
|
40
|
+
required: true
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { LcbTitleProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbTitleProps>,
|
|
5
|
+
{
|
|
6
|
+
marginHorizontal: number
|
|
7
|
+
fontWeight: number
|
|
8
|
+
fontSize: number
|
|
9
|
+
color: string
|
|
10
|
+
title: string
|
|
11
|
+
justify: string
|
|
12
|
+
moreFontSize: number
|
|
13
|
+
moreColor: string
|
|
14
|
+
moreVerticalAlign: string
|
|
15
|
+
hintFontSize: number
|
|
16
|
+
hintColor: string
|
|
17
|
+
hintVerticalAlign: string
|
|
18
|
+
showTitleLine: boolean
|
|
19
|
+
lineRight: number
|
|
20
|
+
lineWidth: number
|
|
21
|
+
iconRight: number
|
|
22
|
+
size: string
|
|
23
|
+
iconType: string
|
|
24
|
+
iconColor: string
|
|
25
|
+
}
|
|
26
|
+
>,
|
|
27
|
+
{},
|
|
28
|
+
unknown,
|
|
29
|
+
{},
|
|
30
|
+
{},
|
|
31
|
+
import('vue').ComponentOptionsMixin,
|
|
32
|
+
import('vue').ComponentOptionsMixin,
|
|
33
|
+
{},
|
|
34
|
+
string,
|
|
35
|
+
import('vue').PublicProps,
|
|
36
|
+
Readonly<
|
|
37
|
+
import('vue').ExtractPropTypes<
|
|
38
|
+
__VLS_WithDefaults<
|
|
39
|
+
__VLS_TypePropsToOption<LcbTitleProps>,
|
|
40
|
+
{
|
|
41
|
+
marginHorizontal: number
|
|
42
|
+
fontWeight: number
|
|
43
|
+
fontSize: number
|
|
44
|
+
color: string
|
|
45
|
+
title: string
|
|
46
|
+
justify: string
|
|
47
|
+
moreFontSize: number
|
|
48
|
+
moreColor: string
|
|
49
|
+
moreVerticalAlign: string
|
|
50
|
+
hintFontSize: number
|
|
51
|
+
hintColor: string
|
|
52
|
+
hintVerticalAlign: string
|
|
53
|
+
showTitleLine: boolean
|
|
54
|
+
lineRight: number
|
|
55
|
+
lineWidth: number
|
|
56
|
+
iconRight: number
|
|
57
|
+
size: string
|
|
58
|
+
iconType: string
|
|
59
|
+
iconColor: string
|
|
60
|
+
}
|
|
61
|
+
>
|
|
62
|
+
>
|
|
63
|
+
>,
|
|
64
|
+
{
|
|
65
|
+
title: string
|
|
66
|
+
color: string
|
|
67
|
+
iconColor: string
|
|
68
|
+
marginHorizontal: number
|
|
69
|
+
fontSize: number
|
|
70
|
+
fontWeight: number
|
|
71
|
+
lineWidth: number
|
|
72
|
+
justify:
|
|
73
|
+
| 'justify-start'
|
|
74
|
+
| 'justify-end'
|
|
75
|
+
| 'justify-center'
|
|
76
|
+
| 'justify-between'
|
|
77
|
+
| 'justify-around'
|
|
78
|
+
iconType: 'icon' | 'img'
|
|
79
|
+
hintColor: string
|
|
80
|
+
hintFontSize: number
|
|
81
|
+
hintVerticalAlign: 'end' | 'center'
|
|
82
|
+
showTitleLine: boolean
|
|
83
|
+
lineRight: number
|
|
84
|
+
moreColor: string
|
|
85
|
+
moreFontSize: number
|
|
86
|
+
moreVerticalAlign: 'end' | 'center'
|
|
87
|
+
iconRight: number
|
|
88
|
+
},
|
|
89
|
+
{}
|
|
90
|
+
>
|
|
91
|
+
export default _default
|
|
92
|
+
type __VLS_WithDefaults<P, D> = {
|
|
93
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
94
|
+
? __VLS_Prettify<
|
|
95
|
+
P[K] & {
|
|
96
|
+
default: D[K]
|
|
97
|
+
}
|
|
98
|
+
>
|
|
99
|
+
: P[K]
|
|
100
|
+
}
|
|
101
|
+
type __VLS_Prettify<T> = {
|
|
102
|
+
[K in keyof T]: T[K]
|
|
103
|
+
} & {}
|
|
104
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
105
|
+
type __VLS_TypePropsToOption<T> = {
|
|
106
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
107
|
+
? {
|
|
108
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
109
|
+
}
|
|
110
|
+
: {
|
|
111
|
+
type: import('vue').PropType<T[K]>
|
|
112
|
+
required: true
|
|
113
|
+
}
|
|
114
|
+
}
|