@tplc/business 0.3.76 → 0.3.78

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 CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.3.78](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.65...v0.3.78) (2025-03-11)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.1.66 ([f23f243](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f23f2437450743054ccbfd05dcdd8a24e74a355b))
11
+ * **release:** 0.3.77 ([0e84283](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0e8428369c5fbcaa5e3f77f50cee3391856c33c1))
12
+
13
+
14
+ ### ✨ Features | 新功能
15
+
16
+ * 支持search ([b40bddd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b40bddd4bb1441a389475df4dae0ce98dc0176b8))
17
+ * 调整icon ([ded88ce](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ded88ce1bfe0cfd08dbc4cc2843d60ca3f1c2a1b))
18
+
19
+ ### [0.3.77](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.63...v0.3.77) (2025-03-11)
20
+
21
+
22
+ ### 🚀 Chore | 构建/工程依赖/工具
23
+
24
+ * **release:** 0.1.64 ([fd47263](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/fd47263c97888ca9972ff138da22e46082781769))
25
+ * **release:** 0.1.65 ([ca4697e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ca4697e3af5c537fcadaad6a972bca0bf6e3df1e))
26
+
27
+
28
+ ### ✨ Features | 新功能
29
+
30
+ * 支持banner 底部 ([1e0b38c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1e0b38ccba18240f4b18f78a84e0810ae8b67460))
31
+ * 支持search ([b40bddd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b40bddd4bb1441a389475df4dae0ce98dc0176b8))
32
+
5
33
  ### [0.3.76](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.75...v0.3.76) (2025-03-10)
6
34
 
7
35
  ### [0.3.75](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.73...v0.3.75) (2025-03-10)
@@ -48,7 +48,7 @@ const props = withDefaults(defineProps<LcbBannerProps>(), {
48
48
  const supplementProps = computed(() => {
49
49
  if (props.styleGroup === 2) {
50
50
  return {
51
- nextMargin: transformValueUnit(props.previousMargin ?? 24),
51
+ nextMargin: transformValueUnit(props.nextMargin ?? 24),
52
52
  previousMargin: transformValueUnit(props.previousMargin ?? 24),
53
53
  itemPadding: `${transformValueUnit(props.itemPadding ?? 10)}`,
54
54
  customPrevImageHeight:
@@ -0,0 +1,36 @@
1
+ <template>
2
+ <wd-icon
3
+ v-if="icon && iconType === 'icon'"
4
+ :name="icon"
5
+ :size="size"
6
+ :color="color"
7
+ :custom-class="customClass"
8
+ :custom-style="customStyle"
9
+ :class-prefix="classPrefix"
10
+ />
11
+ <wd-img
12
+ v-else-if="url && iconType === 'img'"
13
+ :src="url"
14
+ :width="size"
15
+ :height="size"
16
+ :custom-class="customClass"
17
+ :custom-style="customStyle"
18
+ />
19
+ </template>
20
+
21
+ <script setup lang="ts">
22
+ import { LcbIconProps } from './types'
23
+ defineOptions({
24
+ name: 'LcbIcon',
25
+ options: {
26
+ addGlobalClass: true,
27
+ virtualHost: true,
28
+ styleIsolation: 'shared',
29
+ },
30
+ })
31
+ withDefaults(defineProps<LcbIconProps>(), {
32
+ iconType: 'icon',
33
+ })
34
+ </script>
35
+
36
+ <style lang="scss" scoped></style>
@@ -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
+ }
@@ -67,7 +67,7 @@
67
67
  left
68
68
  v-if="styleGroup === 2 && titleLocation === 'left'"
69
69
  />
70
- <Title v-bind="titleProps" v-else-if="topStyle !== 2" :opacity="navbarBgOpacity" />
70
+ <Title v-bind="titleProps" v-else-if="topStyle !== 2" :opacity="titleOpacity" />
71
71
  </view>
72
72
  </view>
73
73
  <!-- 中间布局 -->
@@ -80,7 +80,7 @@
80
80
  <Title
81
81
  v-bind="titleProps"
82
82
  v-else-if="styleGroup === 2 || titleLocation === 'center'"
83
- :opacity="navbarBgOpacity"
83
+ :opacity="titleOpacity"
84
84
  />
85
85
  </view>
86
86
  <view
@@ -192,6 +192,13 @@ const navbarBgOpacity = computed(() => {
192
192
  }
193
193
  return 1
194
194
  })
195
+ const titleOpacity = computed(() => {
196
+ const { topStyle, immersionMode } = props
197
+ if (topStyle === 2 && immersionMode === 3) {
198
+ return 1
199
+ }
200
+ return navbarBgOpacity.value
201
+ })
195
202
  /** 标题样式 */
196
203
  const titleProps = computed(() => {
197
204
  return {
@@ -26,8 +26,8 @@ export interface NavProps extends NavTitleProps {
26
26
  /** 是否沉浸式状态栏 */
27
27
  // 1 标准 2沉浸式
28
28
  topStyle?: 1 | 2
29
- // 沉浸规则 1滑动后恢复 2永久沉浸式
30
- immersionMode?: 1 | 2
29
+ // 沉浸规则 1滑动后恢复 2永久沉浸式 3 永久沉浸式且显示标题
30
+ immersionMode?: 1 | 2 | 3
31
31
  /** 模式 1.标题 2.搜索 3.导航 4.沉浸式 */
32
32
  styleGroup?: 1 | 2 | 3 | 4
33
33
  /** 背景图片 */
@@ -6,14 +6,50 @@
6
6
  borderWidth: `${borderWidth}px`,
7
7
  }"
8
8
  >
9
- <lcb-action-view v-bind="link">
9
+ <lcb-action-view v-bind="link" :urlParams="stringify(addressCity)">
10
10
  <view
11
11
  class="flex items-center"
12
12
  :style="{
13
13
  gap: transformValueUnit(gap),
14
14
  }"
15
15
  >
16
- <wd-icon :name="icon" :size="iconSize" class-prefix="lcb" :color="iconColor" v-if="icon" />
16
+ <!-- v-if="city" -->
17
+ <lcb-city-select :location="userLocation" v-model="addressCity" v-if="city">
18
+ <view class="flex items-center h-full gap-1">
19
+ <wd-icon
20
+ name="location"
21
+ :size="transformValueUnit(cityIconSize)"
22
+ :color="cityIconColor"
23
+ />
24
+ <view
25
+ class="max-w-13 truncate"
26
+ :style="{
27
+ color: cityColor,
28
+ fontSize: transformValueUnit(citySize),
29
+ }"
30
+ >
31
+ {{ addressCity?.addr || '全国' }}
32
+ </view>
33
+ <view
34
+ :style="{
35
+ backgroundColor: lineColor,
36
+ width: transformValueUnit(lineWidth),
37
+ margin: `0 ${transformValueUnit(linePadding)}`,
38
+ height: transformValueUnit(lineHeight),
39
+ }"
40
+ ></view>
41
+ </view>
42
+ </lcb-city-select>
43
+
44
+ <lcb-icon
45
+ v-if="icon || url"
46
+ :url="url"
47
+ :size="iconSize"
48
+ :color="iconColor"
49
+ :icon="icon"
50
+ class-prefix="lcb"
51
+ :iconType="iconType"
52
+ />
17
53
  <view>{{ placeholder }}</view>
18
54
  </view>
19
55
  </lcb-action-view>
@@ -23,6 +59,11 @@
23
59
  <script setup lang="ts">
24
60
  import { LcbSearchProps } from './types'
25
61
  import { transformValueUnit } from '../../utils/transform'
62
+ import { ChildHotAddress } from '../lcb-city-select/api'
63
+ import useLocation from '../../hooks/useLocation'
64
+ import { getHistoryCity } from '../../utils/history'
65
+ import { stringify } from 'qs'
66
+ import { ref } from 'vue'
26
67
  defineOptions({
27
68
  name: 'LcbSearch',
28
69
  options: {
@@ -35,9 +76,22 @@ withDefaults(defineProps<LcbSearchProps>(), {
35
76
  placeholder: '搜索',
36
77
  iconSize: '16',
37
78
  borderWidth: 1,
38
- iconColor: '#333',
79
+ color: '#000',
80
+ iconColor: '#000',
39
81
  gap: 16,
82
+ cityColor: '#000',
83
+ citySize: 24,
84
+ cityIconSize: 24,
85
+ cityIconColor: '#000',
86
+ lineColor: '#000',
87
+ lineWidth: 2,
88
+ linePadding: 24,
89
+ lineHeight: 24,
90
+ iconType: 'icon',
40
91
  })
92
+ const { getLocation, userLocation } = useLocation()
93
+ const addressCity = ref<ChildHotAddress | undefined>(getHistoryCity())
94
+ getLocation()
41
95
  </script>
42
96
 
43
97
  <style lang="scss" scoped></style>
@@ -1,12 +1,24 @@
1
1
  import { LcbActionViewProps } from 'components/lcb-action-view/types'
2
2
 
3
- export interface LcbSearchProps {
3
+ export type LcbSearchProps = {
4
4
  // Define the component's prop types here
5
5
  placeholder?: string
6
6
  icon?: string
7
+ url?: string
7
8
  iconSize?: string
8
9
  borderWidth?: number
9
10
  iconColor?: string
10
11
  gap?: number
11
12
  link?: LcbActionViewProps
12
- }
13
+ iconType?: 'icon' | 'img'
14
+
15
+ city?: boolean
16
+ cityColor?: string
17
+ citySize?: number
18
+ cityIconSize?: number
19
+ cityIconColor?: string
20
+ lineColor?: string
21
+ lineWidth?: number
22
+ linePadding?: number
23
+ lineHeight?: number
24
+ } & LcbActionViewProps
package/global.d.ts CHANGED
@@ -18,6 +18,7 @@ declare module 'vue' {
18
18
  'lcb-gap': (typeof import('@tplc/business/components/lcb-gap/lcb-gap.vue'))['default']
19
19
  'lcb-grid': (typeof import('@tplc/business/components/lcb-grid/lcb-grid.vue'))['default']
20
20
  'lcb-home-search': (typeof import('@tplc/business/components/lcb-home-search/lcb-home-search.vue'))['default']
21
+ 'lcb-icon': (typeof import('@tplc/business/components/lcb-icon/lcb-icon.vue'))['default']
21
22
  'lcb-image': (typeof import('@tplc/business/components/lcb-image/lcb-image.vue'))['default']
22
23
  'lcb-img-nav': (typeof import('@tplc/business/components/lcb-img-nav/lcb-img-nav.vue'))['default']
23
24
  'lcb-list': (typeof import('@tplc/business/components/lcb-list/lcb-list.vue'))['default']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.76",
3
+ "version": "0.3.78",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "peerDependencies": {
13
13
  "vue": ">=3.2.47",
14
- "@tplc/wot": "0.1.62"
14
+ "@tplc/wot": "0.1.66"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",
@@ -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
+ }
@@ -62,7 +62,7 @@ declare const _default: import('vue').DefineComponent<
62
62
  textSize: number
63
63
  back: boolean
64
64
  topStyle: 1 | 2
65
- immersionMode: 1 | 2
65
+ immersionMode: 1 | 2 | 3
66
66
  colorMode: 'custom' | 'default'
67
67
  backColor: string
68
68
  backgroundType: 'img' | 'color'
@@ -23,7 +23,7 @@ export interface NavProps extends NavTitleProps {
23
23
  fixed?: boolean
24
24
  /** 是否沉浸式状态栏 */
25
25
  topStyle?: 1 | 2
26
- immersionMode?: 1 | 2
26
+ immersionMode?: 1 | 2 | 3
27
27
  /** 模式 1.标题 2.搜索 3.导航 4.沉浸式 */
28
28
  styleGroup?: 1 | 2 | 3 | 4
29
29
  /** 背景图片 */
@@ -6,8 +6,18 @@ declare const _default: import('vue').DefineComponent<
6
6
  placeholder: string
7
7
  iconSize: string
8
8
  borderWidth: number
9
+ color: string
9
10
  iconColor: string
10
11
  gap: number
12
+ cityColor: string
13
+ citySize: number
14
+ cityIconSize: number
15
+ cityIconColor: string
16
+ lineColor: string
17
+ lineWidth: number
18
+ linePadding: number
19
+ lineHeight: number
20
+ iconType: string
11
21
  }
12
22
  >,
13
23
  {},
@@ -19,27 +29,383 @@ declare const _default: import('vue').DefineComponent<
19
29
  {},
20
30
  string,
21
31
  import('vue').PublicProps,
22
- Readonly<
23
- import('vue').ExtractPropTypes<
24
- __VLS_WithDefaults<
25
- __VLS_TypePropsToOption<LcbSearchProps>,
26
- {
27
- placeholder: string
28
- iconSize: string
29
- borderWidth: number
30
- iconColor: string
31
- gap: number
32
- }
32
+ | Readonly<
33
+ import('vue').ExtractPropTypes<
34
+ __VLS_WithDefaults<
35
+ __VLS_TypePropsToOption<
36
+ {
37
+ placeholder?: string
38
+ icon?: string
39
+ url?: string
40
+ iconSize?: string
41
+ borderWidth?: number
42
+ iconColor?: string
43
+ gap?: number
44
+ link?: import('../lcb-action-view/types').LcbActionViewProps
45
+ iconType?: 'icon' | 'img'
46
+ city?: boolean
47
+ cityColor?: string
48
+ citySize?: number
49
+ cityIconSize?: number
50
+ cityIconColor?: string
51
+ lineColor?: string
52
+ lineWidth?: number
53
+ linePadding?: number
54
+ lineHeight?: number
55
+ } & {
56
+ jumpUrl?: string
57
+ urlParams?: string
58
+ customClass?: string
59
+ customStyle?: import('vue').StyleValue
60
+ } & {
61
+ jumpType?:
62
+ | 1
63
+ | 2
64
+ | 10
65
+ | 11
66
+ | 12
67
+ | 13
68
+ | 14
69
+ | 16
70
+ | 21
71
+ | 22
72
+ | 23
73
+ | 24
74
+ | 25
75
+ | 26
76
+ | 30
77
+ | 88
78
+ | 101
79
+ | 102
80
+ | 103
81
+ | 104
82
+ | 241
83
+ jumpAppid?: string
84
+ phoneNumber?: string
85
+ content?: string
86
+ title?: string
87
+ position?: string
88
+ }
89
+ >,
90
+ {
91
+ placeholder: string
92
+ iconSize: string
93
+ borderWidth: number
94
+ color: string
95
+ iconColor: string
96
+ gap: number
97
+ cityColor: string
98
+ citySize: number
99
+ cityIconSize: number
100
+ cityIconColor: string
101
+ lineColor: string
102
+ lineWidth: number
103
+ linePadding: number
104
+ lineHeight: number
105
+ iconType: string
106
+ }
107
+ >
33
108
  >
34
109
  >
35
- >,
36
- {
37
- iconSize: string
38
- iconColor: string
39
- placeholder: string
40
- gap: number
41
- borderWidth: number
42
- },
110
+ | Readonly<
111
+ import('vue').ExtractPropTypes<
112
+ __VLS_WithDefaults<
113
+ __VLS_TypePropsToOption<
114
+ {
115
+ placeholder?: string
116
+ icon?: string
117
+ url?: string
118
+ iconSize?: string
119
+ borderWidth?: number
120
+ iconColor?: string
121
+ gap?: number
122
+ link?: import('../lcb-action-view/types').LcbActionViewProps
123
+ iconType?: 'icon' | 'img'
124
+ city?: boolean
125
+ cityColor?: string
126
+ citySize?: number
127
+ cityIconSize?: number
128
+ cityIconColor?: string
129
+ lineColor?: string
130
+ lineWidth?: number
131
+ linePadding?: number
132
+ lineHeight?: number
133
+ } & {
134
+ jumpUrl?: string
135
+ urlParams?: string
136
+ customClass?: string
137
+ customStyle?: import('vue').StyleValue
138
+ } & {
139
+ jumpType: 17
140
+ requestInfo?: {
141
+ requestUrl: string
142
+ requestParams: Record<string, any>
143
+ }
144
+ }
145
+ >,
146
+ {
147
+ placeholder: string
148
+ iconSize: string
149
+ borderWidth: number
150
+ color: string
151
+ iconColor: string
152
+ gap: number
153
+ cityColor: string
154
+ citySize: number
155
+ cityIconSize: number
156
+ cityIconColor: string
157
+ lineColor: string
158
+ lineWidth: number
159
+ linePadding: number
160
+ lineHeight: number
161
+ iconType: string
162
+ }
163
+ >
164
+ >
165
+ >
166
+ | Readonly<
167
+ import('vue').ExtractPropTypes<
168
+ __VLS_WithDefaults<
169
+ __VLS_TypePropsToOption<
170
+ {
171
+ placeholder?: string
172
+ icon?: string
173
+ url?: string
174
+ iconSize?: string
175
+ borderWidth?: number
176
+ iconColor?: string
177
+ gap?: number
178
+ link?: import('../lcb-action-view/types').LcbActionViewProps
179
+ iconType?: 'icon' | 'img'
180
+ city?: boolean
181
+ cityColor?: string
182
+ citySize?: number
183
+ cityIconSize?: number
184
+ cityIconColor?: string
185
+ lineColor?: string
186
+ lineWidth?: number
187
+ linePadding?: number
188
+ lineHeight?: number
189
+ } & {
190
+ jumpUrl?: string
191
+ urlParams?: string
192
+ customClass?: string
193
+ customStyle?: import('vue').StyleValue
194
+ } & {
195
+ jumpType: 105
196
+ addressInfo?: {
197
+ address: string
198
+ latitude: number
199
+ longitude: number
200
+ name: string
201
+ }
202
+ }
203
+ >,
204
+ {
205
+ placeholder: string
206
+ iconSize: string
207
+ borderWidth: number
208
+ color: string
209
+ iconColor: string
210
+ gap: number
211
+ cityColor: string
212
+ citySize: number
213
+ cityIconSize: number
214
+ cityIconColor: string
215
+ lineColor: string
216
+ lineWidth: number
217
+ linePadding: number
218
+ lineHeight: number
219
+ iconType: string
220
+ }
221
+ >
222
+ >
223
+ >
224
+ | Readonly<
225
+ import('vue').ExtractPropTypes<
226
+ __VLS_WithDefaults<
227
+ __VLS_TypePropsToOption<
228
+ {
229
+ placeholder?: string
230
+ icon?: string
231
+ url?: string
232
+ iconSize?: string
233
+ borderWidth?: number
234
+ iconColor?: string
235
+ gap?: number
236
+ link?: import('../lcb-action-view/types').LcbActionViewProps
237
+ iconType?: 'icon' | 'img'
238
+ city?: boolean
239
+ cityColor?: string
240
+ citySize?: number
241
+ cityIconSize?: number
242
+ cityIconColor?: string
243
+ lineColor?: string
244
+ lineWidth?: number
245
+ linePadding?: number
246
+ lineHeight?: number
247
+ } & {
248
+ jumpUrl?: string
249
+ urlParams?: string
250
+ customClass?: string
251
+ customStyle?: import('vue').StyleValue
252
+ } & {
253
+ jumpType: 106
254
+ requestParam?: Record<string, any>
255
+ }
256
+ >,
257
+ {
258
+ placeholder: string
259
+ iconSize: string
260
+ borderWidth: number
261
+ color: string
262
+ iconColor: string
263
+ gap: number
264
+ cityColor: string
265
+ citySize: number
266
+ cityIconSize: number
267
+ cityIconColor: string
268
+ lineColor: string
269
+ lineWidth: number
270
+ linePadding: number
271
+ lineHeight: number
272
+ iconType: string
273
+ }
274
+ >
275
+ >
276
+ >
277
+ | Readonly<
278
+ import('vue').ExtractPropTypes<
279
+ __VLS_WithDefaults<
280
+ __VLS_TypePropsToOption<
281
+ {
282
+ placeholder?: string
283
+ icon?: string
284
+ url?: string
285
+ iconSize?: string
286
+ borderWidth?: number
287
+ iconColor?: string
288
+ gap?: number
289
+ link?: import('../lcb-action-view/types').LcbActionViewProps
290
+ iconType?: 'icon' | 'img'
291
+ city?: boolean
292
+ cityColor?: string
293
+ citySize?: number
294
+ cityIconSize?: number
295
+ cityIconColor?: string
296
+ lineColor?: string
297
+ lineWidth?: number
298
+ linePadding?: number
299
+ lineHeight?: number
300
+ } & {
301
+ jumpUrl?: string
302
+ urlParams?: string
303
+ customClass?: string
304
+ customStyle?: import('vue').StyleValue
305
+ } & {
306
+ jumpType: 141
307
+ }
308
+ >,
309
+ {
310
+ placeholder: string
311
+ iconSize: string
312
+ borderWidth: number
313
+ color: string
314
+ iconColor: string
315
+ gap: number
316
+ cityColor: string
317
+ citySize: number
318
+ cityIconSize: number
319
+ cityIconColor: string
320
+ lineColor: string
321
+ lineWidth: number
322
+ linePadding: number
323
+ lineHeight: number
324
+ iconType: string
325
+ }
326
+ >
327
+ >
328
+ >,
329
+ | {
330
+ lineHeight: number
331
+ iconSize: string
332
+ iconColor: string
333
+ placeholder: string
334
+ lineWidth: number
335
+ gap: number
336
+ iconType: 'icon' | 'img'
337
+ borderWidth: number
338
+ cityColor: string
339
+ citySize: number
340
+ cityIconSize: number
341
+ cityIconColor: string
342
+ lineColor: string
343
+ linePadding: number
344
+ }
345
+ | {
346
+ lineHeight: number
347
+ iconSize: string
348
+ iconColor: string
349
+ placeholder: string
350
+ lineWidth: number
351
+ gap: number
352
+ iconType: 'icon' | 'img'
353
+ borderWidth: number
354
+ cityColor: string
355
+ citySize: number
356
+ cityIconSize: number
357
+ cityIconColor: string
358
+ lineColor: string
359
+ linePadding: number
360
+ }
361
+ | {
362
+ lineHeight: number
363
+ iconSize: string
364
+ iconColor: string
365
+ placeholder: string
366
+ lineWidth: number
367
+ gap: number
368
+ iconType: 'icon' | 'img'
369
+ borderWidth: number
370
+ cityColor: string
371
+ citySize: number
372
+ cityIconSize: number
373
+ cityIconColor: string
374
+ lineColor: string
375
+ linePadding: number
376
+ }
377
+ | {
378
+ lineHeight: number
379
+ iconSize: string
380
+ iconColor: string
381
+ placeholder: string
382
+ lineWidth: number
383
+ gap: number
384
+ iconType: 'icon' | 'img'
385
+ borderWidth: number
386
+ cityColor: string
387
+ citySize: number
388
+ cityIconSize: number
389
+ cityIconColor: string
390
+ lineColor: string
391
+ linePadding: number
392
+ }
393
+ | {
394
+ lineHeight: number
395
+ iconSize: string
396
+ iconColor: string
397
+ placeholder: string
398
+ lineWidth: number
399
+ gap: number
400
+ iconType: 'icon' | 'img'
401
+ borderWidth: number
402
+ cityColor: string
403
+ citySize: number
404
+ cityIconSize: number
405
+ cityIconColor: string
406
+ lineColor: string
407
+ linePadding: number
408
+ },
43
409
  {}
44
410
  >
45
411
  export default _default
@@ -1,10 +1,21 @@
1
1
  import { LcbActionViewProps } from 'components/lcb-action-view/types'
2
- export interface LcbSearchProps {
2
+ export type LcbSearchProps = {
3
3
  placeholder?: string
4
4
  icon?: string
5
+ url?: string
5
6
  iconSize?: string
6
7
  borderWidth?: number
7
8
  iconColor?: string
8
9
  gap?: number
9
10
  link?: LcbActionViewProps
10
- }
11
+ iconType?: 'icon' | 'img'
12
+ city?: boolean
13
+ cityColor?: string
14
+ citySize?: number
15
+ cityIconSize?: number
16
+ cityIconColor?: string
17
+ lineColor?: string
18
+ lineWidth?: number
19
+ linePadding?: number
20
+ lineHeight?: number
21
+ } & LcbActionViewProps
@@ -57,8 +57,8 @@ declare const _default: import('vue').DefineComponent<
57
57
  paddingBottom: number
58
58
  paddingLeft: number
59
59
  paddingRight: number
60
- textColor: string
61
60
  iconType: 0 | 1
61
+ textColor: string
62
62
  textSize: number
63
63
  photoRound: boolean
64
64
  photoSize: number