@tplc/business 0.3.89 → 0.3.91

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,27 @@
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.91](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.72...v0.3.91) (2025-03-20)
6
+
7
+ ### [0.3.90](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.86...v0.3.90) (2025-03-20)
8
+
9
+
10
+ ### 🚀 Chore | 构建/工程依赖/工具
11
+
12
+ * **release:** 0.1.70 ([8f53746](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8f53746e4eb21464008af99988609ca72e765f93))
13
+ * **release:** 0.3.87 ([eea281e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/eea281e8ae4592f85e2e082c22f02d4de294ca8e))
14
+ * **release:** 0.3.88 ([5976b7a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5976b7a436ac9dc479235e9ae15d69e30a523a04))
15
+ * **release:** 0.3.89 ([3ba3d7d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3ba3d7d2a0655d4c443f92e032bcef2e19591a1a))
16
+
17
+
18
+ ### ✨ Features | 新功能
19
+
20
+ * 修改ui ([68a2962](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/68a296215291241f71d8c52425e150685ccff6f7))
21
+ * 修改地图 ([21c29af](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/21c29af3b75767e14c9706225773ea0ba07def16))
22
+ * 发布新版 ([44f0f9b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/44f0f9b524e9c8dea2a1092c651efb1bb7988dbd))
23
+ * 地图防抖 ([6e3aa28](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6e3aa28dc9fb36663553f02f8db2d12720d4a73e))
24
+ * 调整按钮样式 ([313aa60](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/313aa60b21a3abc1f001f25bec87f8715a9f7366))
25
+
5
26
  ### [0.3.89](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.88...v0.3.89) (2025-03-19)
6
27
 
7
28
 
@@ -58,7 +58,6 @@ defineProps({
58
58
  })
59
59
  const form = inject<Ref<Record<string, any>>>(FORM_KEY)
60
60
  const onSearch = ({ value }: { value: string }) => {
61
- console.log('xx')
62
61
  if (form) {
63
62
  form.value.search = value
64
63
  }
@@ -44,6 +44,8 @@ defineSlots<{
44
44
  titleIcon(props: { value: any }): any
45
45
  userInteractionInfo(props: { value: any }): any
46
46
  orderTips(props: { value: any }): any
47
+ distanceTips(props: { value: any }): any
48
+ orderSkuCountTips(props: { value: any }): any
47
49
  priceTips(props: { value: any }): any
48
50
  }>()
49
51
 
@@ -314,6 +316,13 @@ const value = computed(() => {
314
316
  <view>{{ value }}</view>
315
317
  </view>
316
318
  </slot>
319
+ <slot :value="value" v-if="prop === 'distanceTips'" name="distanceTips">
320
+ <view :class="className" :style="style" class="text-22rpx text-gray-500 flex items-center">
321
+ <lcb-icon name="location" />
322
+ <view>{{ value }}</view>
323
+ </view>
324
+ </slot>
325
+
317
326
  <slot :value="value" v-if="prop === 'headImg'" name="headImg">
318
327
  <img
319
328
  :src="value + `?x-oss-process=image/resize,m_mfit,w_${64}&imageView2/2/w/${64}`"
@@ -31,6 +31,8 @@ const props = withDefaults(defineProps<LcbProductItemProps>(), {
31
31
  priceVisible: true,
32
32
  userInfoVisible: false,
33
33
  priceTipsVisible: true,
34
+ distanceTipsVisible: false,
35
+ orderSkuCountTipsVisible: false,
34
36
  priceUnitVisible: true,
35
37
  priceSuffixVisible: true,
36
38
  scribePriceVisible: true,
@@ -80,6 +82,8 @@ defineSlots<{
80
82
  userInteractionInfo(props: { value: any }): any
81
83
  orderTips(props: { value: any }): any
82
84
  priceTips(props: { value: any }): any
85
+ distanceTips(props: { value: any }): any
86
+ orderSkuCountTips(props: { value: any }): any
83
87
 
84
88
  itemSection(): any
85
89
  itemTopSection(): any
@@ -185,6 +189,11 @@ const itemStyle = computed(() => {
185
189
  <!-- <slot name="orderTips" :value="value" /> -->
186
190
  <!-- </template> -->
187
191
  </ItemValue>
192
+ <ItemValue prop="distanceTips">
193
+ <!-- <template #distanceTips="{ value }"> -->
194
+ <!-- <slot name="distanceTips" :value="value" /> -->
195
+ <!-- </template> -->
196
+ </ItemValue>
188
197
  </view>
189
198
  <view class="flex-1"></view>
190
199
  <view class="flex flex-col gap-1 items-end leading-none">
@@ -322,6 +331,7 @@ const itemStyle = computed(() => {
322
331
  <slot name="orderTips" :value="value" />
323
332
  </template> -->
324
333
  </ItemValue>
334
+ <ItemValue prop="distanceTips"></ItemValue>
325
335
  </view>
326
336
  <view class="flex-1"></view>
327
337
  <view class="flex flex-col gap-1 items-end leading-none">
@@ -39,6 +39,8 @@ export interface LcbProductItemProps {
39
39
  titleIcon?: any
40
40
  userInteractionInfo?: any
41
41
  orderTips?: any
42
+ distanceTips?: any
43
+ orderSkuCountTips?: any
42
44
 
43
45
  coverImgVisible?: boolean
44
46
  productNameVisible?: boolean
@@ -62,6 +64,8 @@ export interface LcbProductItemProps {
62
64
  titleIconVisible?: boolean
63
65
  userInteractionInfoVisible?: boolean
64
66
  orderTipsVisible?: boolean
67
+ distanceTipsVisible?: boolean
68
+ orderSkuCountTipsVisible?: boolean
65
69
 
66
70
  coverImgClass?: string
67
71
  productNameClass?: string
@@ -85,6 +89,8 @@ export interface LcbProductItemProps {
85
89
  titleIconClass?: string
86
90
  userInteractionInfoClass?: string
87
91
  orderTipsClass?: string
92
+ distanceTipsClass?: string
93
+ orderSkuCountTipsClass?: string
88
94
 
89
95
  coverImgStyle?: CSSProperties
90
96
  productNameStyle?: CSSProperties
@@ -108,6 +114,8 @@ export interface LcbProductItemProps {
108
114
  titleIconStyle?: CSSProperties
109
115
  userInteractionInfoStyle?: CSSProperties
110
116
  orderTipsStyle?: CSSProperties
117
+ distanceTipsStyle?: CSSProperties
118
+ orderSkuCountTipsStyle?: CSSProperties
111
119
  blurSize?: number
112
120
  shadowColor?: string
113
121
  shadowSize?: number
@@ -6,53 +6,63 @@
6
6
  borderWidth: `${borderWidth}px`,
7
7
  }"
8
8
  >
9
- <lcb-action-view v-bind="link" :urlParams="stringify(addressCity)">
10
- <view
11
- class="flex items-center"
12
- :style="{
13
- gap: transformValueUnit(gap),
14
- }"
15
- >
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>
9
+ <view
10
+ class="flex items-center"
11
+ :style="{
12
+ gap: transformValueUnit(gap),
13
+ }"
14
+ >
15
+ <!-- v-if="city" -->
16
+ <lcb-city-select :location="userLocation" v-model="addressCity" v-if="city">
17
+ <view class="flex items-center h-full gap-1">
18
+ <wd-icon
19
+ name="location"
20
+ :size="transformValueUnit(cityIconSize)"
21
+ :color="cityIconColor"
22
+ />
23
+ <view
24
+ class="max-w-13 truncate"
25
+ :style="{
26
+ color: cityColor,
27
+ fontSize: transformValueUnit(citySize),
28
+ }"
29
+ >
30
+ {{ addressCity?.addr || '全国' }}
41
31
  </view>
42
- </lcb-city-select>
32
+ <view
33
+ :style="{
34
+ backgroundColor: lineColor,
35
+ width: transformValueUnit(lineWidth),
36
+ margin: `0 ${transformValueUnit(linePadding)}`,
37
+ height: transformValueUnit(lineHeight),
38
+ }"
39
+ ></view>
40
+ </view>
41
+ </lcb-city-select>
43
42
 
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
- />
53
- <view>{{ placeholder }}</view>
54
- </view>
55
- </lcb-action-view>
43
+ <lcb-icon
44
+ v-if="icon || url"
45
+ :url="url"
46
+ :size="iconSize"
47
+ :color="iconColor"
48
+ :icon="icon"
49
+ class-prefix="lcb"
50
+ :iconType="iconType"
51
+ />
52
+ <input
53
+ v-if="mode === 'search'"
54
+ class="search-input"
55
+ :style="{
56
+ fontSize: transformValueUnit(fontSize),
57
+ }"
58
+ confirm-type="search"
59
+ :placeholder="placeholder"
60
+ @confirm="onSearch"
61
+ />
62
+ <lcb-action-view v-bind="link" :urlParams="stringify(addressCity)" v-else>
63
+ {{ placeholder }}
64
+ </lcb-action-view>
65
+ </view>
56
66
  </lcb-block>
57
67
  </template>
58
68
 
@@ -63,7 +73,8 @@ import { ChildHotAddress } from '../lcb-city-select/api'
63
73
  import useLocation from '../../hooks/useLocation'
64
74
  import { getHistoryCity } from '../../utils/history'
65
75
  import { stringify } from 'qs'
66
- import { ref } from 'vue'
76
+ import { inject, Ref, ref } from 'vue'
77
+ import { FORM_KEY } from '../../constants'
67
78
  defineOptions({
68
79
  name: 'LcbSearch',
69
80
  options: {
@@ -88,10 +99,23 @@ withDefaults(defineProps<LcbSearchProps>(), {
88
99
  linePadding: 24,
89
100
  lineHeight: 24,
90
101
  iconType: 'icon',
102
+ mode: 'link',
103
+ fontSize: 24,
91
104
  })
92
105
  const { getLocation, userLocation } = useLocation()
93
106
  const addressCity = ref<ChildHotAddress | undefined>(getHistoryCity())
94
107
  getLocation()
108
+ const form = inject<Ref<Record<string, any>>>(FORM_KEY)
109
+ const onSearch = ({ value }: { value: string }) => {
110
+ console.log('value', value)
111
+ if (form) {
112
+ form.value.search = value
113
+ }
114
+ }
95
115
  </script>
96
116
 
97
- <style lang="scss" scoped></style>
117
+ <style lang="scss" scoped>
118
+ .search-input {
119
+ flex: 1;
120
+ }
121
+ </style>
@@ -1,4 +1,5 @@
1
- import { LcbActionViewProps } from 'components/lcb-action-view/types'
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ import { LcbBlockProps } from '../lcb-block/types'
2
3
 
3
4
  export type LcbSearchProps = {
4
5
  // Define the component's prop types here
@@ -12,6 +13,8 @@ export type LcbSearchProps = {
12
13
  link?: LcbActionViewProps
13
14
  iconType?: 'icon' | 'img'
14
15
 
16
+ mode?: 'search' | 'link'
17
+
15
18
  city?: boolean
16
19
  cityColor?: string
17
20
  citySize?: number
@@ -21,4 +24,5 @@ export type LcbSearchProps = {
21
24
  lineWidth?: number
22
25
  linePadding?: number
23
26
  lineHeight?: number
24
- } & LcbActionViewProps
27
+ } & LcbActionViewProps &
28
+ LcbBlockProps
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.89",
3
+ "version": "0.3.91",
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.70"
14
+ "@tplc/wot": "0.1.72"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",
@@ -21,6 +21,8 @@ declare function __VLS_template(): Readonly<{
21
21
  titleIcon(props: { value: any }): any
22
22
  userInteractionInfo(props: { value: any }): any
23
23
  orderTips(props: { value: any }): any
24
+ distanceTips(props: { value: any }): any
25
+ orderSkuCountTips(props: { value: any }): any
24
26
  priceTips(props: { value: any }): any
25
27
  }> & {
26
28
  coverImg(props: { value: any }): any
@@ -45,6 +47,8 @@ declare function __VLS_template(): Readonly<{
45
47
  titleIcon(props: { value: any }): any
46
48
  userInteractionInfo(props: { value: any }): any
47
49
  orderTips(props: { value: any }): any
50
+ distanceTips(props: { value: any }): any
51
+ orderSkuCountTips(props: { value: any }): any
48
52
  priceTips(props: { value: any }): any
49
53
  }
50
54
  declare const __VLS_component: import('vue').DefineComponent<
@@ -23,6 +23,8 @@ declare function __VLS_template(): Readonly<{
23
23
  userInteractionInfo(props: { value: any }): any
24
24
  orderTips(props: { value: any }): any
25
25
  priceTips(props: { value: any }): any
26
+ distanceTips(props: { value: any }): any
27
+ orderSkuCountTips(props: { value: any }): any
26
28
  itemSection(): any
27
29
  itemTopSection(): any
28
30
  itemBottomSection(): any
@@ -54,6 +56,8 @@ declare function __VLS_template(): Readonly<{
54
56
  userInteractionInfo(props: { value: any }): any
55
57
  orderTips(props: { value: any }): any
56
58
  priceTips(props: { value: any }): any
59
+ distanceTips(props: { value: any }): any
60
+ orderSkuCountTips(props: { value: any }): any
57
61
  itemSection(): any
58
62
  itemTopSection(): any
59
63
  itemBottomSection(): any
@@ -83,6 +87,8 @@ declare const __VLS_component: import('vue').DefineComponent<
83
87
  priceVisible: boolean
84
88
  userInfoVisible: boolean
85
89
  priceTipsVisible: boolean
90
+ distanceTipsVisible: boolean
91
+ orderSkuCountTipsVisible: boolean
86
92
  priceUnitVisible: boolean
87
93
  priceSuffixVisible: boolean
88
94
  scribePriceVisible: boolean
@@ -136,6 +142,8 @@ declare const __VLS_component: import('vue').DefineComponent<
136
142
  priceVisible: boolean
137
143
  userInfoVisible: boolean
138
144
  priceTipsVisible: boolean
145
+ distanceTipsVisible: boolean
146
+ orderSkuCountTipsVisible: boolean
139
147
  priceUnitVisible: boolean
140
148
  priceSuffixVisible: boolean
141
149
  scribePriceVisible: boolean
@@ -198,6 +206,8 @@ declare const __VLS_component: import('vue').DefineComponent<
198
206
  titleIconVisible: boolean
199
207
  userInteractionInfoVisible: boolean
200
208
  orderTipsVisible: boolean
209
+ distanceTipsVisible: boolean
210
+ orderSkuCountTipsVisible: boolean
201
211
  },
202
212
  {}
203
213
  >
@@ -37,6 +37,8 @@ export interface LcbProductItemProps {
37
37
  titleIcon?: any
38
38
  userInteractionInfo?: any
39
39
  orderTips?: any
40
+ distanceTips?: any
41
+ orderSkuCountTips?: any
40
42
  coverImgVisible?: boolean
41
43
  productNameVisible?: boolean
42
44
  subTitleVisible?: boolean
@@ -59,6 +61,8 @@ export interface LcbProductItemProps {
59
61
  titleIconVisible?: boolean
60
62
  userInteractionInfoVisible?: boolean
61
63
  orderTipsVisible?: boolean
64
+ distanceTipsVisible?: boolean
65
+ orderSkuCountTipsVisible?: boolean
62
66
  coverImgClass?: string
63
67
  productNameClass?: string
64
68
  subTitleClass?: string
@@ -81,6 +85,8 @@ export interface LcbProductItemProps {
81
85
  titleIconClass?: string
82
86
  userInteractionInfoClass?: string
83
87
  orderTipsClass?: string
88
+ distanceTipsClass?: string
89
+ orderSkuCountTipsClass?: string
84
90
  coverImgStyle?: CSSProperties
85
91
  productNameStyle?: CSSProperties
86
92
  subTitleStyle?: CSSProperties
@@ -103,6 +109,8 @@ export interface LcbProductItemProps {
103
109
  titleIconStyle?: CSSProperties
104
110
  userInteractionInfoStyle?: CSSProperties
105
111
  orderTipsStyle?: CSSProperties
112
+ distanceTipsStyle?: CSSProperties
113
+ orderSkuCountTipsStyle?: CSSProperties
106
114
  blurSize?: number
107
115
  shadowColor?: string
108
116
  shadowSize?: number
@@ -18,6 +18,8 @@ declare const _default: import('vue').DefineComponent<
18
18
  linePadding: number
19
19
  lineHeight: number
20
20
  iconType: string
21
+ mode: string
22
+ fontSize: number
21
23
  }
22
24
  >,
23
25
  {},
@@ -43,6 +45,7 @@ declare const _default: import('vue').DefineComponent<
43
45
  gap?: number
44
46
  link?: import('../lcb-action-view/types').LcbActionViewProps
45
47
  iconType?: 'icon' | 'img'
48
+ mode?: 'search' | 'link'
46
49
  city?: boolean
47
50
  cityColor?: string
48
51
  citySize?: number
@@ -85,7 +88,7 @@ declare const _default: import('vue').DefineComponent<
85
88
  content?: string
86
89
  title?: string
87
90
  position?: string
88
- }
91
+ } & import('../lcb-block/types').LcbBlockProps
89
92
  >,
90
93
  {
91
94
  placeholder: string
@@ -103,6 +106,8 @@ declare const _default: import('vue').DefineComponent<
103
106
  linePadding: number
104
107
  lineHeight: number
105
108
  iconType: string
109
+ mode: string
110
+ fontSize: number
106
111
  }
107
112
  >
108
113
  >
@@ -121,6 +126,7 @@ declare const _default: import('vue').DefineComponent<
121
126
  gap?: number
122
127
  link?: import('../lcb-action-view/types').LcbActionViewProps
123
128
  iconType?: 'icon' | 'img'
129
+ mode?: 'search' | 'link'
124
130
  city?: boolean
125
131
  cityColor?: string
126
132
  citySize?: number
@@ -141,7 +147,7 @@ declare const _default: import('vue').DefineComponent<
141
147
  requestUrl: string
142
148
  requestParams: Record<string, any>
143
149
  }
144
- }
150
+ } & import('../lcb-block/types').LcbBlockProps
145
151
  >,
146
152
  {
147
153
  placeholder: string
@@ -159,6 +165,8 @@ declare const _default: import('vue').DefineComponent<
159
165
  linePadding: number
160
166
  lineHeight: number
161
167
  iconType: string
168
+ mode: string
169
+ fontSize: number
162
170
  }
163
171
  >
164
172
  >
@@ -177,6 +185,7 @@ declare const _default: import('vue').DefineComponent<
177
185
  gap?: number
178
186
  link?: import('../lcb-action-view/types').LcbActionViewProps
179
187
  iconType?: 'icon' | 'img'
188
+ mode?: 'search' | 'link'
180
189
  city?: boolean
181
190
  cityColor?: string
182
191
  citySize?: number
@@ -199,7 +208,7 @@ declare const _default: import('vue').DefineComponent<
199
208
  longitude: number
200
209
  name: string
201
210
  }
202
- }
211
+ } & import('../lcb-block/types').LcbBlockProps
203
212
  >,
204
213
  {
205
214
  placeholder: string
@@ -217,6 +226,8 @@ declare const _default: import('vue').DefineComponent<
217
226
  linePadding: number
218
227
  lineHeight: number
219
228
  iconType: string
229
+ mode: string
230
+ fontSize: number
220
231
  }
221
232
  >
222
233
  >
@@ -235,6 +246,7 @@ declare const _default: import('vue').DefineComponent<
235
246
  gap?: number
236
247
  link?: import('../lcb-action-view/types').LcbActionViewProps
237
248
  iconType?: 'icon' | 'img'
249
+ mode?: 'search' | 'link'
238
250
  city?: boolean
239
251
  cityColor?: string
240
252
  citySize?: number
@@ -252,7 +264,7 @@ declare const _default: import('vue').DefineComponent<
252
264
  } & {
253
265
  jumpType: 106
254
266
  requestParam?: Record<string, any>
255
- }
267
+ } & import('../lcb-block/types').LcbBlockProps
256
268
  >,
257
269
  {
258
270
  placeholder: string
@@ -270,6 +282,8 @@ declare const _default: import('vue').DefineComponent<
270
282
  linePadding: number
271
283
  lineHeight: number
272
284
  iconType: string
285
+ mode: string
286
+ fontSize: number
273
287
  }
274
288
  >
275
289
  >
@@ -288,6 +302,7 @@ declare const _default: import('vue').DefineComponent<
288
302
  gap?: number
289
303
  link?: import('../lcb-action-view/types').LcbActionViewProps
290
304
  iconType?: 'icon' | 'img'
305
+ mode?: 'search' | 'link'
291
306
  city?: boolean
292
307
  cityColor?: string
293
308
  citySize?: number
@@ -304,7 +319,7 @@ declare const _default: import('vue').DefineComponent<
304
319
  customStyle?: import('vue').StyleValue
305
320
  } & {
306
321
  jumpType: 141
307
- }
322
+ } & import('../lcb-block/types').LcbBlockProps
308
323
  >,
309
324
  {
310
325
  placeholder: string
@@ -322,16 +337,21 @@ declare const _default: import('vue').DefineComponent<
322
337
  linePadding: number
323
338
  lineHeight: number
324
339
  iconType: string
340
+ mode: string
341
+ fontSize: number
325
342
  }
326
343
  >
327
344
  >
328
345
  >,
329
346
  | {
347
+ mode: 'search' | 'link'
348
+ color: string
330
349
  lineHeight: number
331
350
  iconSize: string
332
351
  iconColor: string
333
352
  placeholder: string
334
353
  lineWidth: number
354
+ fontSize: number
335
355
  gap: number
336
356
  iconType: 'icon' | 'img'
337
357
  borderWidth: number
@@ -343,11 +363,14 @@ declare const _default: import('vue').DefineComponent<
343
363
  linePadding: number
344
364
  }
345
365
  | {
366
+ mode: 'search' | 'link'
367
+ color: string
346
368
  lineHeight: number
347
369
  iconSize: string
348
370
  iconColor: string
349
371
  placeholder: string
350
372
  lineWidth: number
373
+ fontSize: number
351
374
  gap: number
352
375
  iconType: 'icon' | 'img'
353
376
  borderWidth: number
@@ -359,11 +382,14 @@ declare const _default: import('vue').DefineComponent<
359
382
  linePadding: number
360
383
  }
361
384
  | {
385
+ mode: 'search' | 'link'
386
+ color: string
362
387
  lineHeight: number
363
388
  iconSize: string
364
389
  iconColor: string
365
390
  placeholder: string
366
391
  lineWidth: number
392
+ fontSize: number
367
393
  gap: number
368
394
  iconType: 'icon' | 'img'
369
395
  borderWidth: number
@@ -375,11 +401,14 @@ declare const _default: import('vue').DefineComponent<
375
401
  linePadding: number
376
402
  }
377
403
  | {
404
+ mode: 'search' | 'link'
405
+ color: string
378
406
  lineHeight: number
379
407
  iconSize: string
380
408
  iconColor: string
381
409
  placeholder: string
382
410
  lineWidth: number
411
+ fontSize: number
383
412
  gap: number
384
413
  iconType: 'icon' | 'img'
385
414
  borderWidth: number
@@ -391,11 +420,14 @@ declare const _default: import('vue').DefineComponent<
391
420
  linePadding: number
392
421
  }
393
422
  | {
423
+ mode: 'search' | 'link'
424
+ color: string
394
425
  lineHeight: number
395
426
  iconSize: string
396
427
  iconColor: string
397
428
  placeholder: string
398
429
  lineWidth: number
430
+ fontSize: number
399
431
  gap: number
400
432
  iconType: 'icon' | 'img'
401
433
  borderWidth: number
@@ -1,4 +1,5 @@
1
- import { LcbActionViewProps } from 'components/lcb-action-view/types'
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ import { LcbBlockProps } from '../lcb-block/types'
2
3
  export type LcbSearchProps = {
3
4
  placeholder?: string
4
5
  icon?: string
@@ -9,6 +10,7 @@ export type LcbSearchProps = {
9
10
  gap?: number
10
11
  link?: LcbActionViewProps
11
12
  iconType?: 'icon' | 'img'
13
+ mode?: 'search' | 'link'
12
14
  city?: boolean
13
15
  cityColor?: string
14
16
  citySize?: number
@@ -18,4 +20,5 @@ export type LcbSearchProps = {
18
20
  lineWidth?: number
19
21
  linePadding?: number
20
22
  lineHeight?: number
21
- } & LcbActionViewProps
23
+ } & LcbActionViewProps &
24
+ LcbBlockProps