@tplc/business 0.2.7 → 0.2.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 (108) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/package.json +1 -1
  3. package/types/api/user.d.ts +6 -0
  4. package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +41 -0
  5. package/types/components/lcb-action-view/types.d.ts +33 -0
  6. package/types/components/lcb-advert/lcb-advert.vue.d.ts +28 -0
  7. package/types/components/lcb-advert/types.d.ts +3 -0
  8. package/types/components/lcb-area-picker/api/index.d.ts +48 -0
  9. package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +79 -0
  10. package/types/components/lcb-area-picker/types.d.ts +3 -0
  11. package/types/components/lcb-banner/lcb-banner.vue.d.ts +62 -0
  12. package/types/components/lcb-banner/types.d.ts +47 -0
  13. package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +56 -0
  14. package/types/components/lcb-banner-block/types.d.ts +18 -0
  15. package/types/components/lcb-block/lcb-block.vue.d.ts +74 -0
  16. package/types/components/lcb-block/types.d.ts +40 -0
  17. package/types/components/lcb-button/lcb-button.vue.d.ts +42 -0
  18. package/types/components/lcb-button/types.d.ts +7 -0
  19. package/types/components/lcb-calendar/api/index.d.ts +16 -0
  20. package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +137 -0
  21. package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +64 -0
  22. package/types/components/lcb-calendar-search/types.d.ts +4 -0
  23. package/types/components/lcb-city-select/api/index.d.ts +32 -0
  24. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +53 -0
  25. package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +48 -0
  26. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +5 -0
  27. package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +77 -0
  28. package/types/components/lcb-city-select/types.d.ts +5 -0
  29. package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +44 -0
  30. package/types/components/lcb-dynamic-data/types.d.ts +7 -0
  31. package/types/components/lcb-gap/lcb-gap.vue.d.ts +42 -0
  32. package/types/components/lcb-gap/types.d.ts +7 -0
  33. package/types/components/lcb-grid/lcb-grid.vue.d.ts +74 -0
  34. package/types/components/lcb-grid/types.d.ts +16 -0
  35. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +71 -0
  36. package/types/components/lcb-home-search/types.d.ts +7 -0
  37. package/types/components/lcb-image/Image/index.vue.d.ts +56 -0
  38. package/types/components/lcb-image/lcb-image.vue.d.ts +70 -0
  39. package/types/components/lcb-image/types.d.ts +14 -0
  40. package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +99 -0
  41. package/types/components/lcb-img-nav/types.d.ts +46 -0
  42. package/types/components/lcb-list/api.d.ts +60 -0
  43. package/types/components/lcb-list/components/ActionView/index.vue.d.ts +34 -0
  44. package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +32 -0
  45. package/types/components/lcb-list/components/ComponentGroup/type.d.ts +5 -0
  46. package/types/components/lcb-list/components/FilterList/index.vue.d.ts +48 -0
  47. package/types/components/lcb-list/components/FilterList/type.d.ts +11 -0
  48. package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +41 -0
  49. package/types/components/lcb-list/components/FilterSelect/type.d.ts +2 -0
  50. package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +36 -0
  51. package/types/components/lcb-list/components/FilterSlider/types.d.ts +2 -0
  52. package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +36 -0
  53. package/types/components/lcb-list/components/FilterTabs/type.d.ts +5 -0
  54. package/types/components/lcb-list/components/FilterView/index.vue.d.ts +36 -0
  55. package/types/components/lcb-list/components/FilterView/type.d.ts +7 -0
  56. package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +43 -0
  57. package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +39 -0
  58. package/types/components/lcb-list/components/TagSelect/type.d.ts +4 -0
  59. package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +41 -0
  60. package/types/components/lcb-list/components/TreeSelect/type.d.ts +2 -0
  61. package/types/components/lcb-list/hooks/useSelect.d.ts +25 -0
  62. package/types/components/lcb-list/lcb-list.vue.d.ts +67 -0
  63. package/types/components/lcb-list/types.d.ts +26 -0
  64. package/types/components/lcb-map/lcb-map.vue.d.ts +56 -0
  65. package/types/components/lcb-map/types.d.ts +1 -0
  66. package/types/components/lcb-nav/Search/index.vue.d.ts +44 -0
  67. package/types/components/lcb-nav/Title/index.vue.d.ts +28 -0
  68. package/types/components/lcb-nav/lcb-nav.vue.d.ts +92 -0
  69. package/types/components/lcb-nav/types.d.ts +41 -0
  70. package/types/components/lcb-notice/api/index.d.ts +19 -0
  71. package/types/components/lcb-notice/lcb-notice.vue.d.ts +77 -0
  72. package/types/components/lcb-notice/types.d.ts +14 -0
  73. package/types/components/lcb-product/lcb-product.vue.d.ts +67 -0
  74. package/types/components/lcb-product/types.d.ts +10 -0
  75. package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +91 -0
  76. package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +169 -0
  77. package/types/components/lcb-product-item/types.d.ts +65 -0
  78. package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +44 -0
  79. package/types/components/lcb-rich-text/types.d.ts +4 -0
  80. package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +118 -0
  81. package/types/components/lcb-tags/Tag/index.vue.d.ts +44 -0
  82. package/types/components/lcb-tags/lcb-tags.vue.d.ts +59 -0
  83. package/types/components/lcb-tags/types.d.ts +13 -0
  84. package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
  85. package/types/components/lcb-text/types.d.ts +4 -0
  86. package/types/components/lcb-title/lcb-title.vue.d.ts +94 -0
  87. package/types/components/lcb-title/types.d.ts +22 -0
  88. package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +62 -0
  89. package/types/components/lcb-user-order/types.d.ts +27 -0
  90. package/types/components/lcb-user-top/Nums/index.vue.d.ts +32 -0
  91. package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +98 -0
  92. package/types/components/lcb-user-top/types.d.ts +38 -0
  93. package/types/components/lcb-video/lcb-video.vue.d.ts +56 -0
  94. package/types/components/lcb-video/types.d.ts +10 -0
  95. package/types/components/lcb-vip/api/index.d.ts +34 -0
  96. package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +38 -0
  97. package/types/components/lcb-vip/lcb-vip.vue.d.ts +68 -0
  98. package/types/components/lcb-vip/types.d.ts +8 -0
  99. package/types/constants.d.ts +5 -0
  100. package/types/hooks/useAutoHeight.d.ts +2 -0
  101. package/types/hooks/useLocation.api.d.ts +9 -0
  102. package/types/hooks/useLocation.d.ts +7 -0
  103. package/types/hooks/usePageScroll.d.ts +2 -0
  104. package/types/hooks/useUpload.api.d.ts +12 -0
  105. package/types/hooks/useUpload.d.ts +21 -0
  106. package/types/utils/auth.d.ts +2 -0
  107. package/types/utils/transform.d.ts +5 -0
  108. package/types/utils/utils.d.ts +3 -0
@@ -0,0 +1,7 @@
1
+ import { ActionView } from 'action'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+ export interface LcbHomeSearch extends LcbBlockProps {
4
+ placeholder?: string
5
+ items?: ActionView[]
6
+ btnText?: string
7
+ }
@@ -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
+ }
@@ -0,0 +1,70 @@
1
+ import { LcbImageProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbImageProps>,
5
+ {
6
+ styleGroup: number
7
+ imageMargin: number
8
+ imageSize: number
9
+ marginTop: number
10
+ marginBottom: number
11
+ marginHorizontal: number
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<LcbImageProps>,
27
+ {
28
+ styleGroup: number
29
+ imageMargin: number
30
+ imageSize: number
31
+ marginTop: number
32
+ marginBottom: number
33
+ marginHorizontal: number
34
+ }
35
+ >
36
+ >
37
+ >,
38
+ {
39
+ marginHorizontal: number
40
+ styleGroup: number
41
+ imageSize: number
42
+ imageMargin: number
43
+ marginBottom: number
44
+ },
45
+ {}
46
+ >
47
+ export default _default
48
+ type __VLS_WithDefaults<P, D> = {
49
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
50
+ ? __VLS_Prettify<
51
+ P[K] & {
52
+ default: D[K]
53
+ }
54
+ >
55
+ : P[K]
56
+ }
57
+ type __VLS_Prettify<T> = {
58
+ [K in keyof T]: T[K]
59
+ } & {}
60
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
61
+ type __VLS_TypePropsToOption<T> = {
62
+ [K in keyof T]-?: {} extends Pick<T, K>
63
+ ? {
64
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
65
+ }
66
+ : {
67
+ type: import('vue').PropType<T[K]>
68
+ required: true
69
+ }
70
+ }
@@ -0,0 +1,14 @@
1
+ import { ActionView } from 'action'
2
+ export interface LcbImageProps {
3
+ items?: Partial<ActionView>[]
4
+ styleGroup?: number
5
+ imageRadius?: number
6
+ itemPadding?: number
7
+ enablePreview?: boolean
8
+ marginHorizontal?: number
9
+ imageMargin?: number
10
+ imageSize?: number
11
+ floatUp?: number
12
+ marginBottom?: number
13
+ imageHeight?: number
14
+ }
@@ -0,0 +1,99 @@
1
+ import { LcbImgNavProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbImgNavProps>,
5
+ {
6
+ textColor: string
7
+ iconColor: string
8
+ iconRadius: number
9
+ paddingVertical: number
10
+ iconSize: number
11
+ paddingHorizontal: number
12
+ iconTextMargin: number
13
+ pictureDistribution: number
14
+ textSize: number
15
+ urlKey: string
16
+ titleKey: string
17
+ itemFlexMode: string
18
+ itemGap: number
19
+ titleBottom: number
20
+ }
21
+ >,
22
+ {},
23
+ unknown,
24
+ {},
25
+ {},
26
+ import('vue').ComponentOptionsMixin,
27
+ import('vue').ComponentOptionsMixin,
28
+ {
29
+ click: (...args: any[]) => void
30
+ },
31
+ string,
32
+ import('vue').PublicProps,
33
+ Readonly<
34
+ import('vue').ExtractPropTypes<
35
+ __VLS_WithDefaults<
36
+ __VLS_TypePropsToOption<LcbImgNavProps>,
37
+ {
38
+ textColor: string
39
+ iconColor: string
40
+ iconRadius: number
41
+ paddingVertical: number
42
+ iconSize: number
43
+ paddingHorizontal: number
44
+ iconTextMargin: number
45
+ pictureDistribution: number
46
+ textSize: number
47
+ urlKey: string
48
+ titleKey: string
49
+ itemFlexMode: string
50
+ itemGap: number
51
+ titleBottom: number
52
+ }
53
+ >
54
+ >
55
+ > & {
56
+ onClick?: ((...args: any[]) => any) | undefined
57
+ },
58
+ {
59
+ paddingHorizontal: number
60
+ paddingVertical: number
61
+ iconSize: number
62
+ iconColor: string
63
+ textColor: string
64
+ pictureDistribution: 3 | 4 | 5
65
+ iconRadius: number
66
+ iconTextMargin: number
67
+ textSize: number
68
+ urlKey: string
69
+ titleKey: string
70
+ titleBottom: number
71
+ itemGap: number
72
+ itemFlexMode: 'row' | 'column'
73
+ },
74
+ {}
75
+ >
76
+ export default _default
77
+ type __VLS_WithDefaults<P, D> = {
78
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
79
+ ? __VLS_Prettify<
80
+ P[K] & {
81
+ default: D[K]
82
+ }
83
+ >
84
+ : P[K]
85
+ }
86
+ type __VLS_Prettify<T> = {
87
+ [K in keyof T]: T[K]
88
+ } & {}
89
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
90
+ type __VLS_TypePropsToOption<T> = {
91
+ [K in keyof T]-?: {} extends Pick<T, K>
92
+ ? {
93
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
94
+ }
95
+ : {
96
+ type: import('vue').PropType<T[K]>
97
+ required: true
98
+ }
99
+ }
@@ -0,0 +1,46 @@
1
+ import { ActionView } from 'action'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+ export interface LcbImgNavProps extends LcbBlockProps {
4
+ /** 模式 1.单行 2.多行 3.cell */
5
+ styleGroup?: 1 | 2 | 3
6
+ /** 文字颜色 #212121 */
7
+ textColor?: string
8
+ /** 背景图片 */
9
+ bgImg?: string
10
+ /** 图标颜色 #212121 */
11
+ iconColor?: string
12
+ /** 图标类型 0.系统 1.自定义 */
13
+ iconType?: 0 | 1
14
+ /** 数据内容 */
15
+ items?: ActionView[]
16
+ /** 排布方式每行几个 */
17
+ pictureDistribution?: 3 | 4 | 5
18
+ /** 图标尺寸 0.小40px 2.大50px */
19
+ iconSize?: number
20
+ /** 图标圆角 默认 0 */
21
+ iconRadius?: number
22
+ /** 文字与图标距离 */
23
+ iconTextMargin?: number
24
+ showTitle?: boolean
25
+ title?: string
26
+ fontWeight?: number
27
+ fontSize?: number
28
+ color?: string
29
+ titlePadding?: number
30
+ textSize?: number
31
+ urlKey?: string
32
+ titleKey?: string
33
+ titleBottom?: number
34
+ itemBgColor?: string
35
+ itemRadius?: number
36
+ itemVerticalPadding?: number
37
+ itemHorizontalPadding?: number
38
+ itemGap?: number
39
+ itemFlexMode?: 'row' | 'column'
40
+ /** 阴影颜色 */
41
+ itemShadowColor?: string
42
+ /** 阴影大小 */
43
+ itemShadowSize?: number
44
+ /** 模糊大小 */
45
+ itemBlurSize?: number
46
+ }
@@ -0,0 +1,60 @@
1
+ import { FilterTabsProps } from './components/FilterTabs/type'
2
+ import { Option } from './types'
3
+ export interface LcbListInfo {
4
+ url: string
5
+ baseParam: Record<string, unknown>
6
+ }
7
+ export interface LcbFilterResult {
8
+ btnComponent: BtnComponent
9
+ filterTags: FilterTags
10
+ filterComponent: FilterComponent[]
11
+ listInfo: LcbListInfo
12
+ filterTabs?: {
13
+ componentProps: FilterTabsProps
14
+ valueName: string
15
+ defaultValue?: string
16
+ }
17
+ }
18
+ export interface FilterComponent {
19
+ filterName?: string
20
+ component: string
21
+ defaultValue?: string
22
+ defaultName?: string
23
+ valueName: string
24
+ componentProps: FilterComponentProps
25
+ }
26
+ interface FilterComponentProps {
27
+ mode?: 'multiple' | 'single'
28
+ apiPath?: string
29
+ options?: Option[]
30
+ componentList?: ComponentList[]
31
+ }
32
+ export interface ComponentList {
33
+ filterName: string
34
+ component: string
35
+ valueName: string
36
+ defaultValue?: string | string[] | number[]
37
+ componentProps: FilterTagsProps
38
+ }
39
+ export interface FilterTags {
40
+ component: string
41
+ valueName: string
42
+ defaultValue?: string
43
+ defaultName?: string
44
+ componentProps: FilterTagsProps
45
+ }
46
+ export interface FilterTagsProps {
47
+ mode?: 'multiple' | 'single'
48
+ max: number
49
+ min: number
50
+ apiPath: string
51
+ options: Option[]
52
+ unit?: string
53
+ }
54
+ interface BtnComponent {
55
+ postRequest: string
56
+ }
57
+ export declare const getFilterDetail: (
58
+ val: string,
59
+ ) => Promise<import('../../action').IResData<LcbFilterResult>>
60
+ export {}
@@ -0,0 +1,34 @@
1
+ declare const _default: import('vue').DefineComponent<
2
+ {
3
+ disabled: {
4
+ type: BooleanConstructor
5
+ }
6
+ },
7
+ {},
8
+ unknown,
9
+ {},
10
+ {},
11
+ import('vue').ComponentOptionsMixin,
12
+ import('vue').ComponentOptionsMixin,
13
+ {
14
+ cancel: (...args: any[]) => void
15
+ submit: (...args: any[]) => void
16
+ },
17
+ string,
18
+ import('vue').PublicProps,
19
+ Readonly<
20
+ import('vue').ExtractPropTypes<{
21
+ disabled: {
22
+ type: BooleanConstructor
23
+ }
24
+ }>
25
+ > & {
26
+ onSubmit?: ((...args: any[]) => any) | undefined
27
+ onCancel?: ((...args: any[]) => any) | undefined
28
+ },
29
+ {
30
+ disabled: boolean
31
+ },
32
+ {}
33
+ >
34
+ export default _default
@@ -0,0 +1,32 @@
1
+ import { ComponentGroupProps } from './type'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_TypePropsToOption<ComponentGroupProps>,
4
+ {},
5
+ unknown,
6
+ {},
7
+ {},
8
+ import('vue').ComponentOptionsMixin,
9
+ import('vue').ComponentOptionsMixin,
10
+ {
11
+ submit: (...args: any[]) => void
12
+ },
13
+ string,
14
+ import('vue').PublicProps,
15
+ Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<ComponentGroupProps>>> & {
16
+ onSubmit?: ((...args: any[]) => any) | undefined
17
+ },
18
+ {},
19
+ {}
20
+ >
21
+ export default _default
22
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
23
+ type __VLS_TypePropsToOption<T> = {
24
+ [K in keyof T]-?: {} extends Pick<T, K>
25
+ ? {
26
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
27
+ }
28
+ : {
29
+ type: import('vue').PropType<T[K]>
30
+ required: true
31
+ }
32
+ }
@@ -0,0 +1,5 @@
1
+ import { ComponentList } from '../../api'
2
+ export interface ComponentGroupProps {
3
+ componentList?: ComponentList[]
4
+ filter?: Record<string, string>
5
+ }
@@ -0,0 +1,48 @@
1
+ import { LcbFilterListProps } from './type'
2
+ declare let __VLS_typeProps: LcbFilterListProps
3
+ type __VLS_PublicProps = {
4
+ modelValue?: unknown[]
5
+ } & typeof __VLS_typeProps
6
+ declare function __VLS_template(): {
7
+ default?(_: {}): any
8
+ }
9
+ declare const __VLS_component: import('vue').DefineComponent<
10
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
11
+ {},
12
+ unknown,
13
+ {},
14
+ {},
15
+ import('vue').ComponentOptionsMixin,
16
+ import('vue').ComponentOptionsMixin,
17
+ {
18
+ 'update:modelValue': (modelValue: unknown[]) => void
19
+ },
20
+ string,
21
+ import('vue').PublicProps,
22
+ Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
23
+ 'onUpdate:modelValue'?: ((modelValue: unknown[]) => any) | undefined
24
+ },
25
+ {},
26
+ {}
27
+ >
28
+ declare const _default: __VLS_WithTemplateSlots<
29
+ typeof __VLS_component,
30
+ ReturnType<typeof __VLS_template>
31
+ >
32
+ export default _default
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S
36
+ }
37
+ }
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
39
+ type __VLS_TypePropsToOption<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K>
41
+ ? {
42
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
43
+ }
44
+ : {
45
+ type: import('vue').PropType<T[K]>
46
+ required: true
47
+ }
48
+ }
@@ -0,0 +1,11 @@
1
+ import { LcbListInfo } from '../../api'
2
+ import { LcbProductProps } from '../../../lcb-product/types'
3
+ export interface PageListProps {
4
+ emptyImage?: string
5
+ listType?: LcbProductProps['listType']
6
+ productProps?: LcbProductProps
7
+ }
8
+ export interface LcbFilterListProps extends PageListProps, LcbListInfo {
9
+ filter?: Record<string, any>
10
+ autoHeight?: boolean
11
+ }
@@ -0,0 +1,41 @@
1
+ import { FilterSelectProps } from './type'
2
+ declare let __VLS_typeProps: FilterSelectProps
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string | string[]
5
+ title?: string
6
+ } & typeof __VLS_typeProps
7
+ declare const _default: import('vue').DefineComponent<
8
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
9
+ {},
10
+ unknown,
11
+ {},
12
+ {},
13
+ import('vue').ComponentOptionsMixin,
14
+ import('vue').ComponentOptionsMixin,
15
+ {
16
+ 'update:modelValue': (modelValue: string | string[]) => void
17
+ 'update:title': (title: string) => void
18
+ submit: (...args: any[]) => void
19
+ },
20
+ string,
21
+ import('vue').PublicProps,
22
+ Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
23
+ onSubmit?: ((...args: any[]) => any) | undefined
24
+ 'onUpdate:modelValue'?: ((modelValue: string | string[]) => any) | undefined
25
+ 'onUpdate:title'?: ((title: string) => any) | undefined
26
+ },
27
+ {},
28
+ {}
29
+ >
30
+ export default _default
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
32
+ type __VLS_TypePropsToOption<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K>
34
+ ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
36
+ }
37
+ : {
38
+ type: import('vue').PropType<T[K]>
39
+ required: true
40
+ }
41
+ }
@@ -0,0 +1,2 @@
1
+ import { FilterItemProps } from '../../types'
2
+ export interface FilterSelectProps extends FilterItemProps {}
@@ -0,0 +1,36 @@
1
+ import { FilterSliderProps } from './types'
2
+ declare let __VLS_typeProps: FilterSliderProps
3
+ type __VLS_PublicProps = {
4
+ modelValue?: number[]
5
+ } & typeof __VLS_typeProps
6
+ declare const _default: import('vue').DefineComponent<
7
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
8
+ {},
9
+ unknown,
10
+ {},
11
+ {},
12
+ import('vue').ComponentOptionsMixin,
13
+ import('vue').ComponentOptionsMixin,
14
+ {
15
+ 'update:modelValue': (modelValue: number[]) => void
16
+ },
17
+ string,
18
+ import('vue').PublicProps,
19
+ Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
20
+ 'onUpdate:modelValue'?: ((modelValue: number[]) => any) | undefined
21
+ },
22
+ {},
23
+ {}
24
+ >
25
+ export default _default
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
27
+ type __VLS_TypePropsToOption<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K>
29
+ ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
31
+ }
32
+ : {
33
+ type: import('vue').PropType<T[K]>
34
+ required: true
35
+ }
36
+ }
@@ -0,0 +1,2 @@
1
+ import { FilterTagsProps } from '../../api'
2
+ export interface FilterSliderProps extends FilterTagsProps {}
@@ -0,0 +1,36 @@
1
+ import { FilterTabsProps } from './type'
2
+ declare let __VLS_typeProps: FilterTabsProps
3
+ type __VLS_PublicProps = {
4
+ modelValue?: string
5
+ } & typeof __VLS_typeProps
6
+ declare const _default: import('vue').DefineComponent<
7
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
8
+ {},
9
+ unknown,
10
+ {},
11
+ {},
12
+ import('vue').ComponentOptionsMixin,
13
+ import('vue').ComponentOptionsMixin,
14
+ {
15
+ 'update:modelValue': (modelValue: string) => void
16
+ },
17
+ string,
18
+ import('vue').PublicProps,
19
+ Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
20
+ 'onUpdate:modelValue'?: ((modelValue: string) => any) | undefined
21
+ },
22
+ {},
23
+ {}
24
+ >
25
+ export default _default
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
27
+ type __VLS_TypePropsToOption<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K>
29
+ ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
31
+ }
32
+ : {
33
+ type: import('vue').PropType<T[K]>
34
+ required: true
35
+ }
36
+ }
@@ -0,0 +1,5 @@
1
+ import { FilterItemProps } from '../../types'
2
+ export interface FilterTabsProps extends Omit<FilterItemProps, 'mode'> {
3
+ mode?: 'semicircle'
4
+ slidableNum?: number
5
+ }
@@ -0,0 +1,36 @@
1
+ import { FilterViewProps } from './type'
2
+ declare let __VLS_typeProps: FilterViewProps
3
+ type __VLS_PublicProps = {
4
+ modelValue?: Record<string, any>
5
+ } & typeof __VLS_typeProps
6
+ declare const _default: import('vue').DefineComponent<
7
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
8
+ {},
9
+ unknown,
10
+ {},
11
+ {},
12
+ import('vue').ComponentOptionsMixin,
13
+ import('vue').ComponentOptionsMixin,
14
+ {
15
+ 'update:modelValue': (modelValue: Record<string, any>) => void
16
+ },
17
+ string,
18
+ import('vue').PublicProps,
19
+ Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
20
+ 'onUpdate:modelValue'?: ((modelValue: Record<string, any>) => any) | undefined
21
+ },
22
+ {},
23
+ {}
24
+ >
25
+ export default _default
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
27
+ type __VLS_TypePropsToOption<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K>
29
+ ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
31
+ }
32
+ : {
33
+ type: import('vue').PropType<T[K]>
34
+ required: true
35
+ }
36
+ }
@@ -0,0 +1,7 @@
1
+ import { LcbFilterResult } from '../../../lcb-list/api'
2
+ import { LcbListProps } from '../../types'
3
+ export interface FilterViewProps extends LcbListProps {
4
+ info: LcbFilterResult
5
+ titleObj: Record<string, any>
6
+ sticky: boolean
7
+ }