@tplc/business 0.0.27 → 0.0.28

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 (79) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/components/lcb-area-picker/api/index.ts +45 -0
  3. package/components/lcb-area-picker/lcb-area-picker.vue +77 -0
  4. package/components/lcb-area-picker/types.ts +3 -0
  5. package/components/lcb-banner-block/lcb-banner-block.vue +2 -2
  6. package/components/lcb-calendar/lcb-calendar.vue +3 -3
  7. package/components/lcb-calendar-search/lcb-calendar-search.vue +5 -2
  8. package/components/lcb-city-select/api/index.ts +15 -1
  9. package/components/lcb-city-select/components/lcb-city-letter/index.vue +171 -0
  10. package/components/lcb-city-select/components/lcb-city-list/index.vue +127 -0
  11. package/components/lcb-city-select/components/lcb-city-list/types.ts +6 -0
  12. package/components/lcb-city-select/images/hot.png +0 -0
  13. package/components/lcb-city-select/lcb-city-select.vue +95 -118
  14. package/components/lcb-dynamic-data/lcb-dynamic-data.vue +25 -0
  15. package/components/lcb-dynamic-data/types.ts +7 -0
  16. package/components/lcb-home-search/lcb-home-search.vue +16 -7
  17. package/components/lcb-img-nav/lcb-img-nav.vue +70 -30
  18. package/components/lcb-img-nav/types.ts +3 -3
  19. package/components/{lcb-filter → lcb-list}/api.ts +7 -2
  20. package/components/lcb-list/components/FilterList/index.vue +78 -0
  21. package/components/lcb-list/components/FilterList/type.ts +9 -0
  22. package/components/{lcb-filter → lcb-list}/components/FilterSlider/index.vue +2 -1
  23. package/components/{lcb-filter → lcb-list}/index.scss +3 -0
  24. package/components/{lcb-filter/lcb-filter.vue → lcb-list/lcb-list.vue} +66 -50
  25. package/components/{lcb-filter → lcb-list}/types.ts +5 -1
  26. package/components/lcb-nav/lcb-nav.vue +8 -13
  27. package/components/lcb-notice/Item/index.vue +1 -1
  28. package/components/lcb-product/lcb-product.vue +7 -7
  29. package/components/lcb-product/types.ts +3 -3
  30. package/components/lcb-product-item/lcb-product-item.vue +24 -12
  31. package/components/lcb-user-order/lcb-user-order.vue +44 -23
  32. package/components/lcb-user-top/lcb-user-top.vue +77 -48
  33. package/global.d.ts +3 -1
  34. package/iconfonts/index.css +1 -175
  35. package/package.json +5 -2
  36. package/types/components/lcb-area-picker/api/index.d.ts +38 -0
  37. package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +67 -0
  38. package/types/components/lcb-area-picker/types.d.ts +1 -0
  39. package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +1 -1
  40. package/types/components/lcb-city-select/api/index.d.ts +14 -1
  41. package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +53 -0
  42. package/types/components/{lcb-filter/lcb-filter.vue.d.ts → lcb-city-select/components/lcb-city-list/index.vue.d.ts} +9 -18
  43. package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +5 -0
  44. package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +13 -4
  45. package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +44 -0
  46. package/types/components/lcb-dynamic-data/types.d.ts +7 -0
  47. package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +1 -1
  48. package/types/components/lcb-image/lcb-image.vue.d.ts +1 -1
  49. package/types/components/lcb-img-nav/types.d.ts +2 -2
  50. package/types/components/{lcb-filter → lcb-list}/api.d.ts +5 -0
  51. package/types/components/lcb-list/components/FilterList/index.vue.d.ts +28 -0
  52. package/types/components/lcb-list/components/FilterList/type.d.ts +9 -0
  53. package/types/components/lcb-list/lcb-list.vue.d.ts +71 -0
  54. package/types/components/{lcb-filter → lcb-list}/types.d.ts +4 -1
  55. /package/components/{lcb-filter → lcb-list}/components/ActionView/index.vue +0 -0
  56. /package/components/{lcb-filter → lcb-list}/components/ComponentGroup/index.vue +0 -0
  57. /package/components/{lcb-filter → lcb-list}/components/ComponentGroup/type.ts +0 -0
  58. /package/components/{lcb-filter → lcb-list}/components/FilterSelect/index.vue +0 -0
  59. /package/components/{lcb-filter → lcb-list}/components/FilterSelect/type.ts +0 -0
  60. /package/components/{lcb-filter → lcb-list}/components/FilterSlider/types.ts +0 -0
  61. /package/components/{lcb-filter → lcb-list}/components/SelectTagView/index.vue +0 -0
  62. /package/components/{lcb-filter → lcb-list}/components/TagSelect/index.vue +0 -0
  63. /package/components/{lcb-filter → lcb-list}/components/TagSelect/type.ts +0 -0
  64. /package/components/{lcb-filter → lcb-list}/components/TreeSelect/index.vue +0 -0
  65. /package/components/{lcb-filter → lcb-list}/components/TreeSelect/type.ts +0 -0
  66. /package/components/{lcb-filter → lcb-list}/hooks/useSelect.ts +0 -0
  67. /package/types/components/{lcb-filter → lcb-list}/components/ActionView/index.vue.d.ts +0 -0
  68. /package/types/components/{lcb-filter → lcb-list}/components/ComponentGroup/index.vue.d.ts +0 -0
  69. /package/types/components/{lcb-filter → lcb-list}/components/ComponentGroup/type.d.ts +0 -0
  70. /package/types/components/{lcb-filter → lcb-list}/components/FilterSelect/index.vue.d.ts +0 -0
  71. /package/types/components/{lcb-filter → lcb-list}/components/FilterSelect/type.d.ts +0 -0
  72. /package/types/components/{lcb-filter → lcb-list}/components/FilterSlider/index.vue.d.ts +0 -0
  73. /package/types/components/{lcb-filter → lcb-list}/components/FilterSlider/types.d.ts +0 -0
  74. /package/types/components/{lcb-filter → lcb-list}/components/SelectTagView/index.vue.d.ts +0 -0
  75. /package/types/components/{lcb-filter → lcb-list}/components/TagSelect/index.vue.d.ts +0 -0
  76. /package/types/components/{lcb-filter → lcb-list}/components/TagSelect/type.d.ts +0 -0
  77. /package/types/components/{lcb-filter → lcb-list}/components/TreeSelect/index.vue.d.ts +0 -0
  78. /package/types/components/{lcb-filter → lcb-list}/components/TreeSelect/type.d.ts +0 -0
  79. /package/types/components/{lcb-filter → lcb-list}/hooks/useSelect.d.ts +0 -0
@@ -1,175 +1 @@
1
- @font-face {
2
- font-family: 'iconfont'; /* Project id 4652744 */
3
- src:
4
- url('//at.alicdn.com/t/c/font_4652744_bhoie787kfq.woff2?t=1726152120892') format('woff2'),
5
- url('//at.alicdn.com/t/c/font_4652744_bhoie787kfq.woff?t=1726152120892') format('woff'),
6
- url('//at.alicdn.com/t/c/font_4652744_bhoie787kfq.ttf?t=1726152120892') format('truetype'),
7
- url('//at.alicdn.com/t/c/font_4652744_bhoie787kfq.svg?t=1726152120892#iconfont') format('svg');
8
- }
9
- .iconfont {
10
- font-family: 'iconfont' !important;
11
- font-size: 16px;
12
- font-style: normal;
13
- -webkit-font-smoothing: antialiased;
14
- -moz-osx-font-smoothing: grayscale;
15
- }
16
-
17
- .iconfont-a-xingzhuang23kaobei:before {
18
- content: '\e60f';
19
- }
20
-
21
- .iconfont-a-xingzhuang103:before {
22
- content: '\e610';
23
- }
24
-
25
- .iconfont-a-xingzhuang22:before {
26
- content: '\e611';
27
- }
28
-
29
- .iconfont-a-xingzhuang97:before {
30
- content: '\e612';
31
- }
32
-
33
- .iconfont-a-xingzhuang106:before {
34
- content: '\e613';
35
- }
36
-
37
- .iconfont-dingdanliebiao:before {
38
- content: '\e662';
39
- }
40
-
41
- .iconfont-minsuliebiao:before {
42
- content: '\e663';
43
- }
44
-
45
- .iconfont-minsufaxian:before {
46
- content: '\e664';
47
- }
48
-
49
- .iconfont-xiaoxi:before {
50
- content: '\e665';
51
- }
52
-
53
- .iconfont-tingshi:before {
54
- content: '\e653';
55
- }
56
-
57
- .iconfont-renshu:before {
58
- content: '\e654';
59
- }
60
-
61
- .iconfont-linyujian:before {
62
- content: '\e655';
63
- }
64
-
65
- .iconfont-xiayiye:before {
66
- content: '\e656';
67
- }
68
-
69
- .iconfont-youleyuan:before {
70
- content: '\e657';
71
- }
72
-
73
- .iconfont-yunxu:before {
74
- content: '\e658';
75
- }
76
-
77
- .iconfont-paizhao:before {
78
- content: '\e659';
79
- }
80
-
81
- .iconfont-shangchuanzhaopian:before {
82
- content: '\e65a';
83
- }
84
-
85
- .iconfont-shangchuanshipin:before {
86
- content: '\e65b';
87
- }
88
-
89
- .iconfont-biaoqing:before {
90
- content: '\e65c';
91
- }
92
-
93
- .iconfont-yuyin:before {
94
- content: '\e65d';
95
- }
96
-
97
- .iconfont-tianjia:before {
98
- content: '\e65e';
99
- }
100
-
101
- .iconfont-fuwubaozhang:before {
102
- content: '\e65f';
103
- }
104
-
105
- .iconfont-xiala:before {
106
- content: '\e660';
107
- }
108
-
109
- .iconfont-tijianyi:before {
110
- content: '\e661';
111
- }
112
-
113
- .iconfont-danrenchuang:before {
114
- content: '\e643';
115
- }
116
-
117
- .iconfont-buyunxu:before {
118
- content: '\e644';
119
- }
120
-
121
- .iconfont-fapiaoshuoming:before {
122
- content: '\e645';
123
- }
124
-
125
- .iconfont-fenxiang:before {
126
- content: '\e646';
127
- }
128
-
129
- .iconfont-kongtiaofang:before {
130
- content: '\e647';
131
- }
132
-
133
- .iconfont-rulishijian:before {
134
- content: '\e648';
135
- }
136
-
137
- .iconfont-pingmi:before {
138
- content: '\e649';
139
- }
140
-
141
- .iconfont-ruzhuxuzhi:before {
142
- content: '\e64a';
143
- }
144
-
145
- .iconfont-tatami:before {
146
- content: '\e64b';
147
- }
148
-
149
- .iconfont-dachuang:before {
150
- content: '\e64c';
151
- }
152
-
153
- .iconfont-mimasuo:before {
154
- content: '\e64d';
155
- }
156
-
157
- .iconfont-quxiaoguize:before {
158
- content: '\e64e';
159
- }
160
-
161
- .iconfont-tingchechang:before {
162
- content: '\e64f';
163
- }
164
-
165
- .iconfont-shuoming:before {
166
- content: '\e650';
167
- }
168
-
169
- .iconfont-xiyifang:before {
170
- content: '\e651';
171
- }
172
-
173
- .iconfont-yajinshuoming:before {
174
- content: '\e652';
175
- }
1
+ @import url(//at.alicdn.com/t/c/font_4710234_4pa59gffcpf.css);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.0.27",
3
+ "version": "0.0.28",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -11,12 +11,15 @@
11
11
  },
12
12
  "peerDependencies": {
13
13
  "vue": ">=3.2.47",
14
- "@tplc/wot": "0.1.12"
14
+ "@tplc/wot": "0.1.13"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",
18
18
  "pnpm": ">=7.30"
19
19
  },
20
+ "dependencies": {
21
+ "qs": "6.5.3"
22
+ },
20
23
  "scripts": {
21
24
  "pub": "pnpm dts && pnpm publish --no-git-checks",
22
25
  "dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
@@ -0,0 +1,38 @@
1
+ export interface ProvinceCityArea {
2
+ cityList: CityList[]
3
+ provinceId: string
4
+ provinceName: string
5
+ }
6
+ interface CityList {
7
+ areaList?: AreaList[]
8
+ cityId: string
9
+ cityName: string
10
+ provinceId: string
11
+ }
12
+ interface AreaList {
13
+ areaId: string
14
+ areaName: string
15
+ cityId: string
16
+ }
17
+ export interface AreaOptions {
18
+ label: string
19
+ value: string
20
+ children?: AreaOptions[]
21
+ }
22
+ export declare const getProvinceCityArea: () => Promise<
23
+ {
24
+ label: string
25
+ value: string
26
+ children: {
27
+ label: string
28
+ value: string
29
+ children:
30
+ | {
31
+ label: string
32
+ value: string
33
+ }[]
34
+ | undefined
35
+ }[]
36
+ }[]
37
+ >
38
+ export {}
@@ -0,0 +1,67 @@
1
+ import { LcbAreaPickerProps } from './types'
2
+ import { AreaOptions } from './api'
3
+ declare let __VLS_typeProps: LcbAreaPickerProps
4
+ type __VLS_PublicProps = {
5
+ modelValue?: string[]
6
+ } & typeof __VLS_typeProps
7
+ declare function __VLS_template(): {
8
+ default?(_: { text: string[] | undefined }): any
9
+ }
10
+ declare const __VLS_component: import('vue').DefineComponent<
11
+ __VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {}>,
12
+ {},
13
+ unknown,
14
+ {},
15
+ {},
16
+ import('vue').ComponentOptionsMixin,
17
+ import('vue').ComponentOptionsMixin,
18
+ {
19
+ 'update:modelValue': (modelValue: string[]) => void
20
+ confirm: (payload: AreaOptions[]) => void
21
+ },
22
+ string,
23
+ import('vue').PublicProps,
24
+ Readonly<
25
+ import('vue').ExtractPropTypes<
26
+ __VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {}>
27
+ >
28
+ > & {
29
+ onConfirm?: ((payload: AreaOptions[]) => any) | undefined
30
+ 'onUpdate:modelValue'?: ((modelValue: string[]) => any) | undefined
31
+ },
32
+ {},
33
+ {}
34
+ >
35
+ declare const _default: __VLS_WithTemplateSlots<
36
+ typeof __VLS_component,
37
+ ReturnType<typeof __VLS_template>
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_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S
55
+ }
56
+ }
57
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
58
+ type __VLS_TypePropsToOption<T> = {
59
+ [K in keyof T]-?: {} extends Pick<T, K>
60
+ ? {
61
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
62
+ }
63
+ : {
64
+ type: import('vue').PropType<T[K]>
65
+ required: true
66
+ }
67
+ }
@@ -0,0 +1 @@
1
+ export interface LcbAreaPickerProps {}
@@ -30,9 +30,9 @@ declare const _default: import('vue').DefineComponent<
30
30
  >
31
31
  >,
32
32
  {
33
+ placeholder: string
33
34
  marginHorizontal: number
34
35
  radius: number
35
- placeholder: string
36
36
  },
37
37
  {}
38
38
  >
@@ -1,6 +1,6 @@
1
1
  export interface HotAddress {
2
2
  categoryName: string
3
- hint: string
3
+ hint?: string
4
4
  childHotAddress: ChildHotAddress[]
5
5
  }
6
6
  export interface ChildHotAddress {
@@ -17,3 +17,16 @@ export interface ChildHotAddress {
17
17
  addressInfo?: string
18
18
  }
19
19
  export declare const getHotAddress: () => Promise<import('../../../action').IResData<HotAddress[]>>
20
+ export interface LcbAddress {
21
+ addr: string
22
+ addrFlag: boolean
23
+ categoryName: string
24
+ cityId: string
25
+ hotAddressId: string
26
+ provinceCityName: string
27
+ area: string
28
+ weightSort: string
29
+ }
30
+ export declare const getAddressList: (
31
+ addr: string,
32
+ ) => Promise<import('../../../action').IResData<LcbAddress[]>>
@@ -0,0 +1,53 @@
1
+ import { LcbCitySelectProps } from '../../../lcb-city-select/types'
2
+ import { ChildHotAddress } from '../../../lcb-city-select/api'
3
+ declare let __VLS_typeProps: LcbCitySelectProps
4
+ type __VLS_PublicProps = {
5
+ modelValue?: ChildHotAddress
6
+ } & typeof __VLS_typeProps
7
+ declare const _default: import('vue').DefineComponent<
8
+ __VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {}>,
9
+ {},
10
+ unknown,
11
+ {},
12
+ {},
13
+ import('vue').ComponentOptionsMixin,
14
+ import('vue').ComponentOptionsMixin,
15
+ {
16
+ 'update:modelValue': (modelValue: ChildHotAddress) => void
17
+ },
18
+ string,
19
+ import('vue').PublicProps,
20
+ Readonly<
21
+ import('vue').ExtractPropTypes<
22
+ __VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {}>
23
+ >
24
+ > & {
25
+ 'onUpdate:modelValue'?: ((modelValue: ChildHotAddress) => any) | undefined
26
+ },
27
+ {},
28
+ {}
29
+ >
30
+ export default _default
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
33
+ ? __VLS_Prettify<
34
+ P[K] & {
35
+ default: D[K]
36
+ }
37
+ >
38
+ : P[K]
39
+ }
40
+ type __VLS_Prettify<T> = {
41
+ [K in keyof T]: T[K]
42
+ } & {}
43
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
44
+ type __VLS_TypePropsToOption<T> = {
45
+ [K in keyof T]-?: {} extends Pick<T, K>
46
+ ? {
47
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
48
+ }
49
+ : {
50
+ type: import('vue').PropType<T[K]>
51
+ required: true
52
+ }
53
+ }
@@ -1,34 +1,25 @@
1
- import { LcbFilterProps } from './types'
2
- import './index.scss'
1
+ import { LcbCityListProps } from './types'
3
2
  declare const _default: import('vue').DefineComponent<
4
- __VLS_WithDefaults<
5
- __VLS_TypePropsToOption<LcbFilterProps>,
6
- {
7
- pageFilterType: string
8
- }
9
- >,
3
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbCityListProps>, {}>,
10
4
  {},
11
5
  unknown,
12
6
  {},
13
7
  {},
14
8
  import('vue').ComponentOptionsMixin,
15
9
  import('vue').ComponentOptionsMixin,
16
- {},
10
+ {
11
+ click: (...args: any[]) => void
12
+ },
17
13
  string,
18
14
  import('vue').PublicProps,
19
15
  Readonly<
20
16
  import('vue').ExtractPropTypes<
21
- __VLS_WithDefaults<
22
- __VLS_TypePropsToOption<LcbFilterProps>,
23
- {
24
- pageFilterType: string
25
- }
26
- >
17
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbCityListProps>, {}>
27
18
  >
28
- >,
29
- {
30
- pageFilterType: string
19
+ > & {
20
+ onClick?: ((...args: any[]) => any) | undefined
31
21
  },
22
+ {},
32
23
  {}
33
24
  >
34
25
  export default _default
@@ -0,0 +1,5 @@
1
+ import { LcbAddress } from '../../../lcb-city-select/api'
2
+ export interface LcbCityListProps {
3
+ list: LcbAddress[]
4
+ keyword: string
5
+ }
@@ -1,10 +1,15 @@
1
+ import { ChildHotAddress } from './api'
1
2
  import { LcbCitySelectProps } from './types'
3
+ declare let __VLS_typeProps: LcbCitySelectProps
4
+ type __VLS_PublicProps = {
5
+ modelValue?: ChildHotAddress
6
+ } & typeof __VLS_typeProps
2
7
  declare function __VLS_template(): {
3
8
  default?(_: {}): any
4
9
  }
5
10
  declare const __VLS_component: import('vue').DefineComponent<
6
11
  __VLS_WithDefaults<
7
- __VLS_TypePropsToOption<LcbCitySelectProps>,
12
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
8
13
  {
9
14
  placeholder: string
10
15
  }
@@ -15,19 +20,23 @@ declare const __VLS_component: import('vue').DefineComponent<
15
20
  {},
16
21
  import('vue').ComponentOptionsMixin,
17
22
  import('vue').ComponentOptionsMixin,
18
- {},
23
+ {
24
+ 'update:modelValue': (modelValue: ChildHotAddress) => void
25
+ },
19
26
  string,
20
27
  import('vue').PublicProps,
21
28
  Readonly<
22
29
  import('vue').ExtractPropTypes<
23
30
  __VLS_WithDefaults<
24
- __VLS_TypePropsToOption<LcbCitySelectProps>,
31
+ __VLS_TypePropsToOption<__VLS_PublicProps>,
25
32
  {
26
33
  placeholder: string
27
34
  }
28
35
  >
29
36
  >
30
- >,
37
+ > & {
38
+ 'onUpdate:modelValue'?: ((modelValue: ChildHotAddress) => any) | undefined
39
+ },
31
40
  {
32
41
  placeholder: string
33
42
  },
@@ -0,0 +1,44 @@
1
+ import { LcbDynamicDataProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbDynamicDataProps>, {}>,
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<
15
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbDynamicDataProps>, {}>
16
+ >
17
+ >,
18
+ {},
19
+ {}
20
+ >
21
+ export default _default
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
24
+ ? __VLS_Prettify<
25
+ P[K] & {
26
+ default: D[K]
27
+ }
28
+ >
29
+ : P[K]
30
+ }
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K]
33
+ } & {}
34
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
35
+ type __VLS_TypePropsToOption<T> = {
36
+ [K in keyof T]-?: {} extends Pick<T, K>
37
+ ? {
38
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
39
+ }
40
+ : {
41
+ type: import('vue').PropType<T[K]>
42
+ required: true
43
+ }
44
+ }
@@ -0,0 +1,7 @@
1
+ export interface LcbDynamicDataProps {
2
+ items: {
3
+ title: string
4
+ unit?: string
5
+ key?: string
6
+ }[]
7
+ }
@@ -34,10 +34,10 @@ declare const _default: import('vue').DefineComponent<
34
34
  >
35
35
  >,
36
36
  {
37
+ placeholder: string
37
38
  marginHorizontal: number
38
39
  backgroundColor: string
39
40
  radius: number
40
- placeholder: string
41
41
  btnText: string
42
42
  },
43
43
  {}
@@ -38,8 +38,8 @@ declare const _default: import('vue').DefineComponent<
38
38
  {
39
39
  marginHorizontal: number
40
40
  styleGroup: number
41
- imageMargin: number
42
41
  imageSize: number
42
+ imageMargin: number
43
43
  marginBottom: number
44
44
  },
45
45
  {}
@@ -1,8 +1,8 @@
1
1
  import { ActionView } from 'action'
2
2
  import { LcbBlockProps } from '../lcb-block/types'
3
3
  export interface LcbImgNavProps extends LcbBlockProps {
4
- /** 模式 1.单行 2.多行 */
5
- styleGroup?: 1 | 2
4
+ /** 模式 1.单行 2.多行 3.cell */
5
+ styleGroup?: 1 | 2 | 3
6
6
  /** 文字颜色 #212121 */
7
7
  textColor?: string
8
8
  /** 背景图片 */
@@ -1,8 +1,13 @@
1
1
  import { Option } from './types'
2
+ export interface LcbListInfo {
3
+ url: string
4
+ baseParam: Record<string, unknown>
5
+ }
2
6
  export interface LcbFilterResult {
3
7
  btnComponent: BtnComponent
4
8
  filterTags: FilterTags
5
9
  filterComponent: FilterComponent[]
10
+ listInfo: LcbListInfo
6
11
  }
7
12
  export interface FilterComponent {
8
13
  fitlerName?: string
@@ -0,0 +1,28 @@
1
+ import { LcbFilterListProps } from './type'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_TypePropsToOption<LcbFilterListProps>,
4
+ {},
5
+ unknown,
6
+ {},
7
+ {},
8
+ import('vue').ComponentOptionsMixin,
9
+ import('vue').ComponentOptionsMixin,
10
+ {},
11
+ string,
12
+ import('vue').PublicProps,
13
+ Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<LcbFilterListProps>>>,
14
+ {},
15
+ {}
16
+ >
17
+ export default _default
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K>
21
+ ? {
22
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
23
+ }
24
+ : {
25
+ type: import('vue').PropType<T[K]>
26
+ required: true
27
+ }
28
+ }
@@ -0,0 +1,9 @@
1
+ import { LcbListInfo } from '../../api'
2
+ import { LcbProductProps } from '../../../lcb-product/types'
3
+ export interface PageListProps {
4
+ emptyImage?: string
5
+ productProps?: LcbProductProps
6
+ }
7
+ export interface LcbFilterListProps extends PageListProps, LcbListInfo {
8
+ filter?: Record<string, any>
9
+ }