@tplc/business 0.7.6 → 0.7.8
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 +9 -0
- package/components/lcb-nav/AddressCommunity/index.vue +1 -1
- package/components/lcb-nav/lcb-nav.vue +8 -2
- 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,42 @@
|
|
|
1
|
+
import { LcbFabProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbFabProps>, {}>,
|
|
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<LcbFabProps>, {}>>
|
|
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,19 @@
|
|
|
1
|
+
import { LcbActionViewProps } from '../lcb-action-view/types'
|
|
2
|
+
export interface LcbFabProps {
|
|
3
|
+
right: number
|
|
4
|
+
bottom: number
|
|
5
|
+
backgroundColor?: string
|
|
6
|
+
backgroundImage?: string
|
|
7
|
+
width: number
|
|
8
|
+
height: number
|
|
9
|
+
borderRadius: number
|
|
10
|
+
text?: string
|
|
11
|
+
padding?: number
|
|
12
|
+
color?: string
|
|
13
|
+
fontSize?: number
|
|
14
|
+
fontWeight?: number
|
|
15
|
+
type?: 'icon' | 'text'
|
|
16
|
+
icon?: string
|
|
17
|
+
link?: LcbActionViewProps
|
|
18
|
+
shadow?: boolean
|
|
19
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { LcbFilterGridProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbFilterGridProps>,
|
|
5
|
+
{
|
|
6
|
+
marginHorizontal: number
|
|
7
|
+
height: number
|
|
8
|
+
cols: number
|
|
9
|
+
gap: number
|
|
10
|
+
textAlign: string
|
|
11
|
+
imgRadius: number
|
|
12
|
+
fontSize: number
|
|
13
|
+
activeColor: string
|
|
14
|
+
activeFontSize: number
|
|
15
|
+
activeBgColor: string
|
|
16
|
+
}
|
|
17
|
+
>,
|
|
18
|
+
{},
|
|
19
|
+
unknown,
|
|
20
|
+
{},
|
|
21
|
+
{},
|
|
22
|
+
import('vue').ComponentOptionsMixin,
|
|
23
|
+
import('vue').ComponentOptionsMixin,
|
|
24
|
+
{},
|
|
25
|
+
string,
|
|
26
|
+
import('vue').PublicProps,
|
|
27
|
+
Readonly<
|
|
28
|
+
import('vue').ExtractPropTypes<
|
|
29
|
+
__VLS_WithDefaults<
|
|
30
|
+
__VLS_TypePropsToOption<LcbFilterGridProps>,
|
|
31
|
+
{
|
|
32
|
+
marginHorizontal: number
|
|
33
|
+
height: number
|
|
34
|
+
cols: number
|
|
35
|
+
gap: number
|
|
36
|
+
textAlign: string
|
|
37
|
+
imgRadius: number
|
|
38
|
+
fontSize: number
|
|
39
|
+
activeColor: string
|
|
40
|
+
activeFontSize: number
|
|
41
|
+
activeBgColor: string
|
|
42
|
+
}
|
|
43
|
+
>
|
|
44
|
+
>
|
|
45
|
+
>,
|
|
46
|
+
{
|
|
47
|
+
height: number
|
|
48
|
+
marginHorizontal: number
|
|
49
|
+
fontSize: number
|
|
50
|
+
textAlign: 'left' | 'center' | 'right'
|
|
51
|
+
gap: number
|
|
52
|
+
cols: number
|
|
53
|
+
activeColor: string
|
|
54
|
+
activeFontSize: number
|
|
55
|
+
activeBgColor: string
|
|
56
|
+
},
|
|
57
|
+
{}
|
|
58
|
+
>
|
|
59
|
+
export default _default
|
|
60
|
+
type __VLS_WithDefaults<P, D> = {
|
|
61
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
62
|
+
? __VLS_Prettify<
|
|
63
|
+
P[K] & {
|
|
64
|
+
default: D[K]
|
|
65
|
+
}
|
|
66
|
+
>
|
|
67
|
+
: P[K]
|
|
68
|
+
}
|
|
69
|
+
type __VLS_Prettify<T> = {
|
|
70
|
+
[K in keyof T]: T[K]
|
|
71
|
+
} & {}
|
|
72
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
73
|
+
type __VLS_TypePropsToOption<T> = {
|
|
74
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
75
|
+
? {
|
|
76
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
77
|
+
}
|
|
78
|
+
: {
|
|
79
|
+
type: import('vue').PropType<T[K]>
|
|
80
|
+
required: true
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LcbBlockProps } from '../lcb-block/types'
|
|
2
|
+
export interface LcbFilterGridProps extends LcbBlockProps {
|
|
3
|
+
items: {
|
|
4
|
+
name: string
|
|
5
|
+
title: string
|
|
6
|
+
url?: string
|
|
7
|
+
}[]
|
|
8
|
+
height?: number
|
|
9
|
+
cols?: number
|
|
10
|
+
gap?: number
|
|
11
|
+
textAlign?: 'left' | 'center' | 'right'
|
|
12
|
+
textBgColor?: string
|
|
13
|
+
textPH?: number
|
|
14
|
+
textPV?: number
|
|
15
|
+
borderColor?: string
|
|
16
|
+
dynamicScope?: string
|
|
17
|
+
activeColor?: string
|
|
18
|
+
activeFontSize?: number
|
|
19
|
+
activeBgColor?: string
|
|
20
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { LcbFormProps } from './types'
|
|
2
|
+
declare let __VLS_typeProps: LcbFormProps
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: Record<string, any>
|
|
5
|
+
} & typeof __VLS_typeProps
|
|
6
|
+
declare const _default: import('vue').DefineComponent<
|
|
7
|
+
__VLS_WithDefaults<
|
|
8
|
+
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
9
|
+
{
|
|
10
|
+
submitText: string
|
|
11
|
+
affirmText: string
|
|
12
|
+
bottomFixed: boolean
|
|
13
|
+
vertical: boolean
|
|
14
|
+
}
|
|
15
|
+
>,
|
|
16
|
+
{},
|
|
17
|
+
unknown,
|
|
18
|
+
{},
|
|
19
|
+
{},
|
|
20
|
+
import('vue').ComponentOptionsMixin,
|
|
21
|
+
import('vue').ComponentOptionsMixin,
|
|
22
|
+
{
|
|
23
|
+
'update:modelValue': (modelValue: Record<string, any>) => void
|
|
24
|
+
},
|
|
25
|
+
string,
|
|
26
|
+
import('vue').PublicProps,
|
|
27
|
+
Readonly<
|
|
28
|
+
import('vue').ExtractPropTypes<
|
|
29
|
+
__VLS_WithDefaults<
|
|
30
|
+
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
31
|
+
{
|
|
32
|
+
submitText: string
|
|
33
|
+
affirmText: string
|
|
34
|
+
bottomFixed: boolean
|
|
35
|
+
vertical: boolean
|
|
36
|
+
}
|
|
37
|
+
>
|
|
38
|
+
>
|
|
39
|
+
> & {
|
|
40
|
+
'onUpdate:modelValue'?: ((modelValue: Record<string, any>) => any) | undefined
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
vertical: boolean
|
|
44
|
+
submitText: string
|
|
45
|
+
affirmText: string
|
|
46
|
+
bottomFixed: boolean
|
|
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,82 @@
|
|
|
1
|
+
import { LcbBlockProps } from '../lcb-block/types'
|
|
2
|
+
export interface LcbFormField {
|
|
3
|
+
/**
|
|
4
|
+
* 业务主键ID
|
|
5
|
+
*/
|
|
6
|
+
entryFormFieldConfigId: string
|
|
7
|
+
/**
|
|
8
|
+
* 表单配置主键ID
|
|
9
|
+
*/
|
|
10
|
+
entryFormConfigId: string
|
|
11
|
+
/**
|
|
12
|
+
* 字段
|
|
13
|
+
*/
|
|
14
|
+
field: string
|
|
15
|
+
/**
|
|
16
|
+
* 默认字段名称
|
|
17
|
+
*/
|
|
18
|
+
fieldName: string
|
|
19
|
+
/**
|
|
20
|
+
* 自定义字段名称
|
|
21
|
+
*/
|
|
22
|
+
fieldCustomName: string
|
|
23
|
+
/**
|
|
24
|
+
* 前端输入类型:如text date select img等
|
|
25
|
+
*/
|
|
26
|
+
frontInputType: string
|
|
27
|
+
/**
|
|
28
|
+
* 前端输入类型对应的值 如:year month day
|
|
29
|
+
*/
|
|
30
|
+
frontInputTypeValue: string
|
|
31
|
+
/**
|
|
32
|
+
* 前端输入的固定内容,如[\"计算机\",\"国际金融\",“UI视觉”]
|
|
33
|
+
*/
|
|
34
|
+
frontInputContent: string
|
|
35
|
+
/**
|
|
36
|
+
* 前端文本提示信息
|
|
37
|
+
*/
|
|
38
|
+
frontPlaceholder: string
|
|
39
|
+
/**
|
|
40
|
+
* 文本提示信息
|
|
41
|
+
*/
|
|
42
|
+
frontTip: string
|
|
43
|
+
/**
|
|
44
|
+
* 必填标识
|
|
45
|
+
*/
|
|
46
|
+
requiredFlag: boolean
|
|
47
|
+
/**
|
|
48
|
+
* 是否存在子集
|
|
49
|
+
*/
|
|
50
|
+
childFlag: boolean
|
|
51
|
+
/**
|
|
52
|
+
* 显示条件的字段是什么,数组[field:content,field:content2]
|
|
53
|
+
*/
|
|
54
|
+
conditionField: string
|
|
55
|
+
/**
|
|
56
|
+
* 组件的props
|
|
57
|
+
*/
|
|
58
|
+
props: Record<string, any>
|
|
59
|
+
range: string[]
|
|
60
|
+
/**
|
|
61
|
+
* 最小日期
|
|
62
|
+
*/
|
|
63
|
+
minDate: number
|
|
64
|
+
/**
|
|
65
|
+
* 最大日期
|
|
66
|
+
*/
|
|
67
|
+
maxDate: number
|
|
68
|
+
/**
|
|
69
|
+
* 默认日期
|
|
70
|
+
*/
|
|
71
|
+
defaultDate: number
|
|
72
|
+
}
|
|
73
|
+
export interface LcbFormProps extends LcbBlockProps {
|
|
74
|
+
fields: LcbFormField[]
|
|
75
|
+
formType?: string
|
|
76
|
+
submitText?: string
|
|
77
|
+
submitUrl?: string
|
|
78
|
+
agreementType?: string
|
|
79
|
+
affirmText?: string
|
|
80
|
+
bottomFixed?: boolean
|
|
81
|
+
vertical?: boolean
|
|
82
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { LcbGapProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<__VLS_TypePropsToOption<LcbGapProps>, {}>,
|
|
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<LcbGapProps>, {}>>
|
|
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,74 @@
|
|
|
1
|
+
import { LcbGridProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbGridProps>,
|
|
5
|
+
{
|
|
6
|
+
marginHorizontal: number
|
|
7
|
+
height: number
|
|
8
|
+
cols: number
|
|
9
|
+
gap: number
|
|
10
|
+
textAlign: string
|
|
11
|
+
imgRadius: number
|
|
12
|
+
fontSize: 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<LcbGridProps>,
|
|
28
|
+
{
|
|
29
|
+
marginHorizontal: number
|
|
30
|
+
height: number
|
|
31
|
+
cols: number
|
|
32
|
+
gap: number
|
|
33
|
+
textAlign: string
|
|
34
|
+
imgRadius: number
|
|
35
|
+
fontSize: number
|
|
36
|
+
}
|
|
37
|
+
>
|
|
38
|
+
>
|
|
39
|
+
>,
|
|
40
|
+
{
|
|
41
|
+
height: number
|
|
42
|
+
marginHorizontal: number
|
|
43
|
+
fontSize: number
|
|
44
|
+
textAlign: 'left' | 'center' | 'right'
|
|
45
|
+
gap: number
|
|
46
|
+
cols: number
|
|
47
|
+
imgRadius: number
|
|
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,16 @@
|
|
|
1
|
+
import { LcbBlockProps } from '../lcb-block/types'
|
|
2
|
+
import { ActionView } from 'action'
|
|
3
|
+
export interface LcbGridProps extends LcbBlockProps {
|
|
4
|
+
items?: ActionView[]
|
|
5
|
+
height?: number
|
|
6
|
+
width?: number
|
|
7
|
+
cols?: number
|
|
8
|
+
gap?: number
|
|
9
|
+
imgRadius?: number
|
|
10
|
+
imgBgColor?: string
|
|
11
|
+
imgPadding?: number
|
|
12
|
+
textAlign?: 'left' | 'center' | 'right'
|
|
13
|
+
textBgColor?: string
|
|
14
|
+
textPH?: number
|
|
15
|
+
textPV?: number
|
|
16
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { LcbHomeSearch } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbHomeSearch>,
|
|
5
|
+
{
|
|
6
|
+
marginHorizontal: number
|
|
7
|
+
backgroundColor: string
|
|
8
|
+
radius: number
|
|
9
|
+
placeholder: string
|
|
10
|
+
opacity: 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<LcbHomeSearch>,
|
|
26
|
+
{
|
|
27
|
+
marginHorizontal: number
|
|
28
|
+
backgroundColor: string
|
|
29
|
+
radius: number
|
|
30
|
+
placeholder: string
|
|
31
|
+
opacity: number
|
|
32
|
+
}
|
|
33
|
+
>
|
|
34
|
+
>
|
|
35
|
+
>,
|
|
36
|
+
{
|
|
37
|
+
backgroundColor: string
|
|
38
|
+
radius: number
|
|
39
|
+
placeholder: string
|
|
40
|
+
marginHorizontal: number
|
|
41
|
+
opacity: 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,14 @@
|
|
|
1
|
+
import { ActionView } from 'action'
|
|
2
|
+
import { LcbBlockProps } from '../lcb-block/types'
|
|
3
|
+
import { LcbActionViewProps } from '../lcb-action-view/types'
|
|
4
|
+
export interface LcbHomeSearch extends LcbBlockProps {
|
|
5
|
+
placeholder?: string
|
|
6
|
+
items?: ActionView[]
|
|
7
|
+
btnText?: string
|
|
8
|
+
tabs?: {
|
|
9
|
+
label: string
|
|
10
|
+
value: string
|
|
11
|
+
}[]
|
|
12
|
+
link?: LcbActionViewProps
|
|
13
|
+
inputLink?: LcbActionViewProps
|
|
14
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { LcbIconProps } from './types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbIconProps>,
|
|
5
|
+
{
|
|
6
|
+
iconType: 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<LcbIconProps>,
|
|
22
|
+
{
|
|
23
|
+
iconType: string
|
|
24
|
+
}
|
|
25
|
+
>
|
|
26
|
+
>
|
|
27
|
+
>,
|
|
28
|
+
{
|
|
29
|
+
iconType: 'icon' | 'img'
|
|
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
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { LcbImageProps } from '../types'
|
|
2
|
+
declare const _default: import('vue').DefineComponent<
|
|
3
|
+
__VLS_WithDefaults<
|
|
4
|
+
__VLS_TypePropsToOption<LcbImageProps>,
|
|
5
|
+
{
|
|
6
|
+
imageMargin: number
|
|
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<LcbImageProps>,
|
|
22
|
+
{
|
|
23
|
+
imageMargin: number
|
|
24
|
+
}
|
|
25
|
+
>
|
|
26
|
+
>
|
|
27
|
+
>,
|
|
28
|
+
{
|
|
29
|
+
imageMargin: number
|
|
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
|
+
}
|