@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.
Files changed (179) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/components/lcb-nav/AddressCommunity/index.vue +1 -1
  3. package/components/lcb-nav/lcb-nav.vue +8 -2
  4. package/package.json +13 -13
  5. package/types/api/pay.d.ts +47 -0
  6. package/types/api/user.d.ts +11 -0
  7. package/types/components/lcb-absolute-config-layout/lcb-absolute-config-layout.vue.d.ts +71 -0
  8. package/types/components/lcb-absolute-config-layout/types.d.ts +26 -0
  9. package/types/components/lcb-action-view/components/CustomPopup/index.vue.d.ts +37 -0
  10. package/types/components/lcb-action-view/components/PayPopup/index.vue.d.ts +44 -0
  11. package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +41 -0
  12. package/types/components/lcb-action-view/types.d.ts +136 -0
  13. package/types/components/lcb-advert/lcb-advert.vue.d.ts +28 -0
  14. package/types/components/lcb-advert/types.d.ts +3 -0
  15. package/types/components/lcb-agreement-view/api.d.ts +4 -0
  16. package/types/components/lcb-agreement-view/lcb-agreement-view.vue.d.ts +40 -0
  17. package/types/components/lcb-agreement-view/types.d.ts +4 -0
  18. package/types/components/lcb-area/lcb-area.vue.d.ts +74 -0
  19. package/types/components/lcb-area/types.d.ts +40 -0
  20. package/types/components/lcb-area-picker/api/index.d.ts +49 -0
  21. package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +79 -0
  22. package/types/components/lcb-area-picker/types.d.ts +3 -0
  23. package/types/components/lcb-banner/lcb-banner.vue.d.ts +80 -0
  24. package/types/components/lcb-banner/types.d.ts +66 -0
  25. package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +56 -0
  26. package/types/components/lcb-banner-block/types.d.ts +20 -0
  27. package/types/components/lcb-block/lcb-block.vue.d.ts +76 -0
  28. package/types/components/lcb-block/types.d.ts +62 -0
  29. package/types/components/lcb-button/lcb-button.vue.d.ts +74 -0
  30. package/types/components/lcb-button/types.d.ts +35 -0
  31. package/types/components/lcb-calendar/api/index.d.ts +17 -0
  32. package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +152 -0
  33. package/types/components/lcb-calendar-filter/api.d.ts +5 -0
  34. package/types/components/lcb-calendar-filter/components/CalendarItem/index.vue.d.ts +40 -0
  35. package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +66 -0
  36. package/types/components/lcb-calendar-filter/types.d.ts +29 -0
  37. package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +68 -0
  38. package/types/components/lcb-calendar-search/types.d.ts +9 -0
  39. package/types/components/lcb-city-select/api/index.d.ts +44 -0
  40. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +53 -0
  41. package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +48 -0
  42. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +5 -0
  43. package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +77 -0
  44. package/types/components/lcb-city-select/types.d.ts +5 -0
  45. package/types/components/lcb-custom-content/lcb-custom-content.vue.d.ts +40 -0
  46. package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +44 -0
  47. package/types/components/lcb-dynamic-data/types.d.ts +9 -0
  48. package/types/components/lcb-fab/lcb-fab.vue.d.ts +42 -0
  49. package/types/components/lcb-fab/types.d.ts +19 -0
  50. package/types/components/lcb-filter-grid/lcb-filter-grid.vue.d.ts +82 -0
  51. package/types/components/lcb-filter-grid/types.d.ts +20 -0
  52. package/types/components/lcb-form/lcb-form.vue.d.ts +73 -0
  53. package/types/components/lcb-form/types.d.ts +82 -0
  54. package/types/components/lcb-gap/lcb-gap.vue.d.ts +42 -0
  55. package/types/components/lcb-gap/types.d.ts +7 -0
  56. package/types/components/lcb-grid/lcb-grid.vue.d.ts +74 -0
  57. package/types/components/lcb-grid/types.d.ts +16 -0
  58. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +68 -0
  59. package/types/components/lcb-home-search/types.d.ts +14 -0
  60. package/types/components/lcb-icon/lcb-icon.vue.d.ts +56 -0
  61. package/types/components/lcb-icon/types.d.ts +10 -0
  62. package/types/components/lcb-image/Image/index.vue.d.ts +56 -0
  63. package/types/components/lcb-image/lcb-image.vue.d.ts +70 -0
  64. package/types/components/lcb-image/types.d.ts +17 -0
  65. package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +113 -0
  66. package/types/components/lcb-img-nav/types.d.ts +61 -0
  67. package/types/components/lcb-light-map/api.d.ts +10 -0
  68. package/types/components/lcb-light-map/lcb-light-map.vue.d.ts +59 -0
  69. package/types/components/lcb-light-map/types.d.ts +69 -0
  70. package/types/components/lcb-light-map/util.d.ts +40 -0
  71. package/types/components/lcb-list/api.d.ts +67 -0
  72. package/types/components/lcb-list/components/ActionView/index.vue.d.ts +34 -0
  73. package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +32 -0
  74. package/types/components/lcb-list/components/ComponentGroup/type.d.ts +5 -0
  75. package/types/components/lcb-list/components/FilterList/index.vue.d.ts +50 -0
  76. package/types/components/lcb-list/components/FilterList/type.d.ts +11 -0
  77. package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +41 -0
  78. package/types/components/lcb-list/components/FilterSelect/type.d.ts +2 -0
  79. package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +64 -0
  80. package/types/components/lcb-list/components/FilterSlider/types.d.ts +2 -0
  81. package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +36 -0
  82. package/types/components/lcb-list/components/FilterTabs/type.d.ts +5 -0
  83. package/types/components/lcb-list/components/FilterView/index.vue.d.ts +36 -0
  84. package/types/components/lcb-list/components/FilterView/type.d.ts +8 -0
  85. package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +43 -0
  86. package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +76 -0
  87. package/types/components/lcb-list/components/TagSelect/type.d.ts +4 -0
  88. package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +38 -0
  89. package/types/components/lcb-list/components/TreeSelect/type.d.ts +6 -0
  90. package/types/components/lcb-list/components/UnconditionedLayout/index.vue.d.ts +85 -0
  91. package/types/components/lcb-list/hooks/useSelect.d.ts +31 -0
  92. package/types/components/lcb-list/hooks/useSyncValues.d.ts +5 -0
  93. package/types/components/lcb-list/lcb-list.vue.d.ts +139 -0
  94. package/types/components/lcb-list/types.d.ts +67 -0
  95. package/types/components/lcb-map/lcb-map.vue.d.ts +57 -0
  96. package/types/components/lcb-map/types.d.ts +36 -0
  97. package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +63 -0
  98. package/types/components/lcb-nav/Search/index.vue.d.ts +52 -0
  99. package/types/components/lcb-nav/SharePopup/api.d.ts +16 -0
  100. package/types/components/lcb-nav/SharePopup/index.vue.d.ts +37 -0
  101. package/types/components/lcb-nav/Title/index.vue.d.ts +28 -0
  102. package/types/components/lcb-nav/lcb-nav.vue.d.ts +106 -0
  103. package/types/components/lcb-nav/types.d.ts +72 -0
  104. package/types/components/lcb-notice/api/index.d.ts +18 -0
  105. package/types/components/lcb-notice/lcb-notice.vue.d.ts +77 -0
  106. package/types/components/lcb-notice/types.d.ts +14 -0
  107. package/types/components/lcb-operation-actions/BtnViews.vue.d.ts +62 -0
  108. package/types/components/lcb-operation-actions/IconActionView.vue.d.ts +61 -0
  109. package/types/components/lcb-operation-actions/IconView.vue.d.ts +41 -0
  110. package/types/components/lcb-operation-actions/components/OrderDetLogistic/index.vue.d.ts +51 -0
  111. package/types/components/lcb-operation-actions/lcb-operation-actions.vue.d.ts +34 -0
  112. package/types/components/lcb-operation-actions/types.d.ts +51 -0
  113. package/types/components/lcb-order-payment/lcb-order-payment.vue.d.ts +38 -0
  114. package/types/components/lcb-order-payment/types.d.ts +30 -0
  115. package/types/components/lcb-particulars/api.d.ts +45 -0
  116. package/types/components/lcb-particulars/lcb-particulars.vue.d.ts +56 -0
  117. package/types/components/lcb-particulars/types.d.ts +5 -0
  118. package/types/components/lcb-poster/lcb-poster.vue.d.ts +50 -0
  119. package/types/components/lcb-product/components/ProductSkeleton/index.vue.d.ts +70 -0
  120. package/types/components/lcb-product/components/SKeletonItem/index.vue.d.ts +28 -0
  121. package/types/components/lcb-product/lcb-product.vue.d.ts +96 -0
  122. package/types/components/lcb-product/types.d.ts +44 -0
  123. package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +117 -0
  124. package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +267 -0
  125. package/types/components/lcb-product-item/types.d.ts +133 -0
  126. package/types/components/lcb-render-view/lcb-render-view.vue.d.ts +35 -0
  127. package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +44 -0
  128. package/types/components/lcb-rich-text/types.d.ts +4 -0
  129. package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +68 -0
  130. package/types/components/lcb-room-calendar/types.d.ts +10 -0
  131. package/types/components/lcb-search/api.d.ts +23 -0
  132. package/types/components/lcb-search/components/SearchHistory/index.vue.d.ts +48 -0
  133. package/types/components/lcb-search/components/SearchList/index.vue.d.ts +56 -0
  134. package/types/components/lcb-search/lcb-search.vue.d.ts +1211 -0
  135. package/types/components/lcb-search/types.d.ts +29 -0
  136. package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +73 -0
  137. package/types/components/lcb-swiper/types.d.ts +17 -0
  138. package/types/components/lcb-tabs/components/Imgs/index.vue.d.ts +62 -0
  139. package/types/components/lcb-tabs/components/Tabs/index.vue.d.ts +65 -0
  140. package/types/components/lcb-tabs/components/Tags/index.vue.d.ts +68 -0
  141. package/types/components/lcb-tabs/lcb-tabs.vue.d.ts +65 -0
  142. package/types/components/lcb-tabs/types.d.ts +34 -0
  143. package/types/components/lcb-tags/lcb-tags.vue.d.ts +74 -0
  144. package/types/components/lcb-tags/types.d.ts +17 -0
  145. package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
  146. package/types/components/lcb-text/types.d.ts +4 -0
  147. package/types/components/lcb-title/lcb-title.vue.d.ts +114 -0
  148. package/types/components/lcb-title/types.d.ts +42 -0
  149. package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +62 -0
  150. package/types/components/lcb-user-order/types.d.ts +27 -0
  151. package/types/components/lcb-user-top/Nums/index.vue.d.ts +28 -0
  152. package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +158 -0
  153. package/types/components/lcb-user-top/types.d.ts +57 -0
  154. package/types/components/lcb-video/lcb-video.vue.d.ts +56 -0
  155. package/types/components/lcb-video/types.d.ts +10 -0
  156. package/types/components/lcb-vip/api/index.d.ts +70 -0
  157. package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +42 -0
  158. package/types/components/lcb-vip/lcb-vip.vue.d.ts +68 -0
  159. package/types/components/lcb-vip/types.d.ts +10 -0
  160. package/types/components/lcb-waterfall/lcb-waterfall-item.vue.d.ts +73 -0
  161. package/types/components/lcb-waterfall/lcb-waterfall.vue.d.ts +192 -0
  162. package/types/components/lcb-wrapper-item/lcb-wrapper-item.vue.d.ts +49 -0
  163. package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +71 -0
  164. package/types/components/lcb-wrapper-list/types.d.ts +14 -0
  165. package/types/constants.d.ts +17 -0
  166. package/types/hooks/useAutoHeight.d.ts +8 -0
  167. package/types/hooks/useDynamicData.d.ts +14 -0
  168. package/types/hooks/useLocation.api.d.ts +18 -0
  169. package/types/hooks/useLocation.d.ts +10 -0
  170. package/types/hooks/usePageScroll.d.ts +2 -0
  171. package/types/hooks/usePay.d.ts +13 -0
  172. package/types/hooks/useSyncForm.d.ts +5 -0
  173. package/types/hooks/useUpload.api.d.ts +12 -0
  174. package/types/hooks/useUpload.d.ts +21 -0
  175. package/types/utils/formatter.d.ts +5 -0
  176. package/types/utils/history.d.ts +5 -0
  177. package/types/utils/request.d.ts +6 -0
  178. package/types/utils/transform.d.ts +15 -0
  179. package/types/utils/utils.d.ts +51 -0
@@ -0,0 +1,9 @@
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ export interface LcbDynamicDataProps {
3
+ items: {
4
+ title: string
5
+ unit?: string
6
+ key: string
7
+ link?: LcbActionViewProps
8
+ }[]
9
+ }
@@ -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,7 @@
1
+ import { LcbBlockProps } from '../lcb-block/types'
2
+ export interface LcbGapProps extends LcbBlockProps {
3
+ height?: number | string
4
+ safeAreaBottom?: boolean
5
+ bgColor?: string
6
+ safeAreaTop?: boolean
7
+ }
@@ -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,10 @@
1
+ export interface LcbIconProps {
2
+ icon?: string
3
+ size?: string
4
+ color?: string
5
+ customClass?: string
6
+ customStyle?: string
7
+ url?: string
8
+ classPrefix?: string
9
+ iconType?: 'icon' | 'img'
10
+ }
@@ -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
+ }