@tplc/business 0.4.35 → 0.4.37

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.4.37](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.36...v0.4.37) (2025-03-30)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * action 支持view ([1e4eb10](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1e4eb108272db236548b3450aee3648f37beec4c))
11
+ * h5 不需要这样 ([6498ea3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6498ea38727aff5d9e1f2db95f83a5ad133f9e34))
12
+ * lcb-search zindex ([07277f4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/07277f4b15c3f7f0ba62e312b907a69fd9362134))
13
+ * 不能返回 ([946f96c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/946f96c28d154888dcc3af3865ffe7ccfecb1844))
14
+ * 支持颜色切换 ([b6cc634](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b6cc63429d2d307afa5efbd6fae34a5cf482c79e))
15
+ * 样式调整 ([be16331](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/be163315ece2f853a4996ec784dca2ac21fc27a2))
16
+
17
+
18
+ ### 🐛 Bug Fixes | Bug 修复
19
+
20
+ * fab 兼容ios ([354fd16](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/354fd16004779f1ecd192f524c680b63143117e5))
21
+ * 兼容瀑布流 ([0e1d50e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0e1d50edf49bc853f6da3d2f1c3ea33871b2475a))
22
+ * 胖头鱼 ([4a1b827](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4a1b8278d6a1b67b477cfd9c7a3576e345bad395))
23
+
24
+ ### [0.4.36](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.35...v0.4.36) (2025-03-30)
25
+
5
26
  ### [0.4.35](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.34...v0.4.35) (2025-03-29)
6
27
 
7
28
 
@@ -1,5 +1,15 @@
1
1
  <template>
2
+ <view
3
+ v-if="props.renderMode === 'view'"
4
+ class="lcb-action-btn"
5
+ :class="customClass"
6
+ :style="customStyle"
7
+ @click.stop="onActionClick"
8
+ >
9
+ <slot />
10
+ </view>
2
11
  <button
12
+ v-else
3
13
  @click.stop="onActionClick"
4
14
  class="lcb-action-btn"
5
15
  :open-type="openType"
@@ -6,6 +6,7 @@ export type LcbActionViewProps = {
6
6
  urlParams?: string
7
7
  customClass?: string
8
8
  customStyle?: StyleValue
9
+ renderMode?: 'view' | 'button'
9
10
  } & (
10
11
  | {
11
12
  /**
@@ -30,7 +31,6 @@ export type LcbActionViewProps = {
30
31
  | 24
31
32
  | 25
32
33
  | 26
33
- | 30
34
34
  | 88
35
35
  | 101
36
36
  | 102
@@ -40,8 +40,6 @@ export type LcbActionViewProps = {
40
40
 
41
41
  /** 小程序appid */
42
42
  jumpAppid?: string
43
- /** 手机号 */
44
- phoneNumber?: string
45
43
  /** 弹窗文案 */
46
44
  content?: string
47
45
  /** 弹窗标题 */
@@ -50,6 +48,10 @@ export type LcbActionViewProps = {
50
48
  position?: string
51
49
  /** 查看地图信息 */
52
50
  }
51
+ | {
52
+ jumpType: 30
53
+ phoneNumber?: string
54
+ }
53
55
  | {
54
56
  jumpType: 17
55
57
  requestInfo?: {
@@ -56,6 +56,7 @@ const customStyle = computed(() => {
56
56
  padding: `0 ${transformValueUnit(padding)}`,
57
57
  backgroundSize: '100% 100%',
58
58
  backgroundRepeat: 'no-repeat',
59
+ marginBottom: `var(--safe-bottom)`,
59
60
  }
60
61
  })
61
62
  </script>
@@ -58,15 +58,12 @@
58
58
  :size="iconSize + 'rpx'"
59
59
  :color="iconColor"
60
60
  />
61
- <img
62
- v-else
63
- class="block object-contain"
64
- :style="{
65
- borderRadius: iconRadius + 'rpx',
66
- height: iconSize + 'rpx',
67
- width: iconSize + 'rpx',
68
- }"
61
+ <wd-img
62
+ :width="iconSize + 'rpx'"
63
+ :height="iconSize + 'rpx'"
64
+ :radius="iconRadius + 'rpx'"
69
65
  :src="item[urlKey]"
66
+ mode="aspectFit"
70
67
  />
71
68
  </view>
72
69
  <view
@@ -25,9 +25,8 @@
25
25
  >
26
26
  <!-- 左边布局 -->
27
27
  <view class="navbar-left z-1">
28
- <!-- 返回按钮 -->
29
28
  <view
30
- v-if="(styleGroup === 3 || moreThanTwoPages()) && capsuleList.length"
29
+ v-if="(styleGroup === 3 || moreThanTwoPages() || !canBack) && capsuleList.length"
31
30
  class="navbar-capsule flex justify-center items-center"
32
31
  :class="[capsuleMode]"
33
32
  :style="{
@@ -229,7 +228,7 @@ const capsuleList = computed(() => {
229
228
  })
230
229
  }
231
230
  /** 如果超过俩个的层级的话并且支持返回 */
232
- if (moreThanTwoPages()) {
231
+ if (moreThanTwoPages() || (!uni.$lcb.getIsTabbar() && !canBack.value)) {
233
232
  list.push({
234
233
  icon: 'shouye_home1',
235
234
  action: 'home',
@@ -140,7 +140,12 @@ defineExpose({
140
140
 
141
141
  <template>
142
142
  <lcb-block
143
- v-bind="$props"
143
+ v-bind="{
144
+ ...$props,
145
+ shadowColor: blockShadowColor,
146
+ shadowSize: blockShadowSize,
147
+ blurSize: blockBlurSize,
148
+ }"
144
149
  :custom-class="`${listType == 'horizontal' ? 'h-fit overflow-x-auto whitespace-nowrap flex items-stretch w-full' : ''}`"
145
150
  >
146
151
  <!-- 单列 -->
@@ -156,7 +161,7 @@ defineExpose({
156
161
  v-if="item.productType === 'noProductOption'"
157
162
  v-bind="{ ...item, ...$props, ...attrs }"
158
163
  />
159
- <lcb-action-view v-bind="item.link" v-else>
164
+ <lcb-action-view v-bind="item.link" render-mode="view" v-else>
160
165
  <slot name="item" :item="item">
161
166
  <lcb-absolute-config-layout
162
167
  v-if="renderItemAbsoluteConfigLayout"
@@ -195,6 +200,7 @@ defineExpose({
195
200
  v-for="(item, index) in renderList"
196
201
  :key="`${item?.productId}:${index}`"
197
202
  v-bind="item.link"
203
+ render-mode="view"
198
204
  custom-class="h-full rounded-md overflow-hidden"
199
205
  >
200
206
  <slot name="item" :item="item">
@@ -237,6 +243,7 @@ defineExpose({
237
243
  v-for="(item, index) in list"
238
244
  :key="`${item?.productId}:${index}`"
239
245
  v-bind="item.link"
246
+ render-mode="view"
240
247
  >
241
248
  <slot name="item" :item="item">
242
249
  <lcb-absolute-config-layout
@@ -281,6 +288,7 @@ defineExpose({
281
288
  v-for="(item, index) in list"
282
289
  :key="`${item?.productId}:${index}`"
283
290
  v-bind="item.link"
291
+ render-mode="view"
284
292
  >
285
293
  <slot name="item" :item="item">
286
294
  <lcb-absolute-config-layout
@@ -327,6 +335,7 @@ defineExpose({
327
335
  :key="`${item?.productId}:${index}`"
328
336
  custom-class="flex-shrink-0 w-fit !h-auto"
329
337
  v-bind="item.link"
338
+ render-mode="view"
330
339
  >
331
340
  <view
332
341
  :style="{
@@ -372,6 +381,7 @@ defineExpose({
372
381
  }
373
382
  :deep(.u-column) {
374
383
  overflow: initial;
384
+ width: 0;
375
385
  }
376
386
  }
377
387
  </style>
@@ -6,6 +6,10 @@ export interface LcbProductProps extends LcbBlockProps {
6
6
  shadowColor?: string
7
7
  shadowSize?: number
8
8
  blurSize?: number
9
+
10
+ blockShadowColor?: string
11
+ blockShadowSize?: number
12
+ blockBlurSize?: number
9
13
  imageWidth?: number
10
14
  imageHeight?: number
11
15
  imageRadius?: number
@@ -9,6 +9,7 @@ export interface LcbProductItemProps {
9
9
  tagOverflowWrap?: boolean
10
10
  tagType?: TagType
11
11
  tagContentColor?: string
12
+ addressOnImg?: boolean
12
13
  tagBgColor?: string
13
14
  tagPlain?: boolean
14
15
  tagMark?: boolean
@@ -103,7 +103,7 @@
103
103
  </view>
104
104
  <view id="searchPagingTop"></view>
105
105
  <view
106
- class="fixed left-0 w-full z-1 bg-white"
106
+ class="fixed left-0 w-full z-2 bg-white"
107
107
  :style="{ height: height, top: top }"
108
108
  v-if="form?.keywords && productTypeList && top"
109
109
  >
@@ -0,0 +1,61 @@
1
+ <template>
2
+ <view class="w-100vw">
3
+ <lcb-block v-bind="$props">
4
+ <view
5
+ :class="{
6
+ 'flex flex-wrap': tagsMode === 'tiled',
7
+ 'flex whitespace-nowrap overflow-x-auto': tagsMode === 'scroll',
8
+ }"
9
+ :style="{
10
+ gap: transformValueUnit(gap),
11
+ }"
12
+ >
13
+ <lcb-action-view
14
+ v-for="(item, index) in items"
15
+ :key="index"
16
+ :custom-class="{
17
+ 'lcb-tag': true,
18
+ 'inline-block': tagsMode === 'scroll',
19
+ }"
20
+ :custom-style="{
21
+ fontSize: transformValueUnit(itemFontSize),
22
+ backgroundColor: itemBackgroundColor,
23
+ borderRadius: transformValueUnit(itemRadius),
24
+ boxSizing: 'border-box',
25
+ padding: `${transformValueUnit(itemVerticalPadding)} ${transformValueUnit(itemHorizontalPadding)}`,
26
+ display: tagsMode === 'scroll' ? 'inline-block' : 'block',
27
+ borderWidth: transformValueUnit(itemBorderWidth),
28
+ borderColor: itemBorderColor,
29
+ borderStyle: 'solid',
30
+ }"
31
+ v-bind="item.link"
32
+ >
33
+ {{ item.title }}
34
+ </lcb-action-view>
35
+ </view>
36
+ </lcb-block>
37
+ </view>
38
+ </template>
39
+
40
+ <script setup lang="ts">
41
+ import { transformValueUnit } from '../../utils/transform'
42
+ import { LcbTagsProps } from './types'
43
+
44
+ defineOptions({
45
+ name: 'LcbTags',
46
+ options: {
47
+ addGlobalClass: true,
48
+ virtualHost: true,
49
+ styleIsolation: 'shared',
50
+ },
51
+ })
52
+ withDefaults(defineProps<LcbTagsProps>(), {
53
+ itemBackgroundColor: '#eeeeee',
54
+ itemRadius: 100,
55
+ itemFontSize: 28,
56
+ tagsMode: 'tiled',
57
+ gap: 16,
58
+ itemVerticalPadding: 8,
59
+ itemHorizontalPadding: 32,
60
+ })
61
+ </script>
@@ -0,0 +1,17 @@
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+ export interface LcbTagsProps extends LcbBlockProps {
4
+ tagsMode?: 'scroll' | 'tiled'
5
+ gap?: number
6
+ items: {
7
+ title: string
8
+ link?: LcbActionViewProps
9
+ }[]
10
+ itemFontSize?: number
11
+ itemBackgroundColor?: string
12
+ itemRadius?: number
13
+ itemBorderColor?: string
14
+ itemBorderWidth?: number
15
+ itemVerticalPadding?: number
16
+ itemHorizontalPadding?: number
17
+ }
package/global.d.ts CHANGED
@@ -37,6 +37,7 @@ declare module 'vue' {
37
37
  'lcb-search': (typeof import('@tplc/business/components/lcb-search/lcb-search.vue'))['default']
38
38
  'lcb-swiper': (typeof import('@tplc/business/components/lcb-swiper/lcb-swiper.vue'))['default']
39
39
  'lcb-tabs': (typeof import('@tplc/business/components/lcb-tabs/lcb-tabs.vue'))['default']
40
+ 'lcb-tags': (typeof import('@tplc/business/components/lcb-tags/lcb-tags.vue'))['default']
40
41
  'lcb-text': (typeof import('@tplc/business/components/lcb-text/lcb-text.vue'))['default']
41
42
  'lcb-title': (typeof import('@tplc/business/components/lcb-title/lcb-title.vue'))['default']
42
43
  'lcb-user-order': (typeof import('@tplc/business/components/lcb-user-order/lcb-user-order.vue'))['default']
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.35",
3
+ "version": "0.4.37",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -1,6 +1,7 @@
1
1
  import { LcbActionViewProps } from './types'
2
2
  declare function __VLS_template(): {
3
3
  default?(_: {}): any
4
+ default?(_: {}): any
4
5
  }
5
6
  declare const __VLS_component: import('vue').DefineComponent<
6
7
  __VLS_TypePropsToOption<LcbActionViewProps>,
@@ -14,7 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<
14
15
  string,
15
16
  import('vue').PublicProps,
16
17
  any,
17
- {} | {} | {} | {} | {},
18
+ {} | {} | {} | {} | {} | {},
18
19
  {}
19
20
  >
20
21
  declare const _default: __VLS_WithTemplateSlots<
@@ -5,6 +5,7 @@ export type LcbActionViewProps = {
5
5
  urlParams?: string
6
6
  customClass?: string
7
7
  customStyle?: StyleValue
8
+ renderMode?: 'view' | 'button'
8
9
  } & (
9
10
  | {
10
11
  /**
@@ -29,7 +30,6 @@ export type LcbActionViewProps = {
29
30
  | 24
30
31
  | 25
31
32
  | 26
32
- | 30
33
33
  | 88
34
34
  | 101
35
35
  | 102
@@ -38,8 +38,6 @@ export type LcbActionViewProps = {
38
38
  | 241
39
39
  /** 小程序appid */
40
40
  jumpAppid?: string
41
- /** 手机号 */
42
- phoneNumber?: string
43
41
  /** 弹窗文案 */
44
42
  content?: string
45
43
  /** 弹窗标题 */
@@ -47,6 +45,10 @@ export type LcbActionViewProps = {
47
45
  /** 弹窗位置 */
48
46
  position?: string
49
47
  }
48
+ | {
49
+ jumpType: 30
50
+ phoneNumber?: string
51
+ }
50
52
  | {
51
53
  jumpType: 17
52
54
  requestInfo?: {
@@ -4,6 +4,9 @@ export interface LcbProductProps extends LcbBlockProps {
4
4
  shadowColor?: string
5
5
  shadowSize?: number
6
6
  blurSize?: number
7
+ blockShadowColor?: string
8
+ blockShadowSize?: number
9
+ blockBlurSize?: number
7
10
  imageWidth?: number
8
11
  imageHeight?: number
9
12
  imageRadius?: number
@@ -7,6 +7,7 @@ export interface LcbProductItemProps {
7
7
  tagOverflowWrap?: boolean
8
8
  tagType?: TagType
9
9
  tagContentColor?: string
10
+ addressOnImg?: boolean
10
11
  tagBgColor?: string
11
12
  tagPlain?: boolean
12
13
  tagMark?: boolean
@@ -70,6 +70,7 @@ declare const _default: import('vue').DefineComponent<
70
70
  urlParams?: string
71
71
  customClass?: string
72
72
  customStyle?: import('vue').StyleValue
73
+ renderMode?: 'view' | 'button'
73
74
  } & {
74
75
  jumpType?:
75
76
  | 1
@@ -86,7 +87,6 @@ declare const _default: import('vue').DefineComponent<
86
87
  | 24
87
88
  | 25
88
89
  | 26
89
- | 30
90
90
  | 88
91
91
  | 101
92
92
  | 102
@@ -94,7 +94,6 @@ declare const _default: import('vue').DefineComponent<
94
94
  | 104
95
95
  | 241
96
96
  jumpAppid?: string
97
- phoneNumber?: string
98
97
  content?: string
99
98
  title?: string
100
99
  position?: string
@@ -161,6 +160,74 @@ declare const _default: import('vue').DefineComponent<
161
160
  urlParams?: string
162
161
  customClass?: string
163
162
  customStyle?: import('vue').StyleValue
163
+ renderMode?: 'view' | 'button'
164
+ } & {
165
+ jumpType: 30
166
+ phoneNumber?: string
167
+ } & import('../lcb-block/types').LcbBlockProps
168
+ >,
169
+ {
170
+ placeholder: string
171
+ iconSize: string
172
+ borderWidth: number
173
+ color: string
174
+ iconColor: string
175
+ gap: number
176
+ paddingVertical: number
177
+ marginHorizontal: number
178
+ cityColor: string
179
+ citySize: number
180
+ cityIconSize: number
181
+ radius: number
182
+ paddingHorizontal: number
183
+ borderColor: string
184
+ cityIconColor: string
185
+ lineColor: string
186
+ lineWidth: number
187
+ linePadding: number
188
+ lineHeight: number
189
+ iconType: string
190
+ mode: string
191
+ fontSize: number
192
+ initFocus: boolean
193
+ }
194
+ >
195
+ >
196
+ >
197
+ | Readonly<
198
+ import('vue').ExtractPropTypes<
199
+ __VLS_WithDefaults<
200
+ __VLS_TypePropsToOption<
201
+ {
202
+ placeholder?: string
203
+ icon?: string
204
+ url?: string
205
+ iconSize?: string
206
+ borderWidth?: number
207
+ iconColor?: string
208
+ gap?: number
209
+ link?: import('../lcb-action-view/types').LcbActionViewProps
210
+ iconType?: 'icon' | 'img'
211
+ mode?: 'search' | 'link'
212
+ productTypeList?: string[]
213
+ city?: boolean
214
+ cityColor?: string
215
+ citySize?: number
216
+ cityIconSize?: number
217
+ cityIconColor?: string
218
+ lineColor?: string
219
+ lineWidth?: number
220
+ linePadding?: number
221
+ lineHeight?: number
222
+ historyKey?: string
223
+ initFocus?: boolean
224
+ blockBackground?: string
225
+ } & {
226
+ jumpUrl?: string
227
+ urlParams?: string
228
+ customClass?: string
229
+ customStyle?: import('vue').StyleValue
230
+ renderMode?: 'view' | 'button'
164
231
  } & {
165
232
  jumpType: 17
166
233
  requestInfo?: {
@@ -230,6 +297,7 @@ declare const _default: import('vue').DefineComponent<
230
297
  urlParams?: string
231
298
  customClass?: string
232
299
  customStyle?: import('vue').StyleValue
300
+ renderMode?: 'view' | 'button'
233
301
  } & {
234
302
  jumpType: 105
235
303
  addressInfo?: {
@@ -301,6 +369,7 @@ declare const _default: import('vue').DefineComponent<
301
369
  urlParams?: string
302
370
  customClass?: string
303
371
  customStyle?: import('vue').StyleValue
372
+ renderMode?: 'view' | 'button'
304
373
  } & {
305
374
  jumpType: 106
306
375
  requestParam?: Record<string, any>
@@ -367,6 +436,7 @@ declare const _default: import('vue').DefineComponent<
367
436
  urlParams?: string
368
437
  customClass?: string
369
438
  customStyle?: import('vue').StyleValue
439
+ renderMode?: 'view' | 'button'
370
440
  } & {
371
441
  jumpType: 141
372
442
  } & import('../lcb-block/types').LcbBlockProps
@@ -499,6 +569,31 @@ declare const _default: import('vue').DefineComponent<
499
569
  linePadding: number
500
570
  initFocus: boolean
501
571
  }
572
+ | {
573
+ mode: 'search' | 'link'
574
+ color: string
575
+ lineHeight: number
576
+ radius: number
577
+ iconSize: string
578
+ iconColor: string
579
+ placeholder: string
580
+ lineWidth: number
581
+ marginHorizontal: number
582
+ paddingHorizontal: number
583
+ paddingVertical: number
584
+ fontSize: number
585
+ borderColor: string
586
+ gap: number
587
+ iconType: 'icon' | 'img'
588
+ borderWidth: number
589
+ cityColor: string
590
+ citySize: number
591
+ cityIconSize: number
592
+ cityIconColor: string
593
+ lineColor: string
594
+ linePadding: number
595
+ initFocus: boolean
596
+ }
502
597
  | {
503
598
  mode: 'search' | 'link'
504
599
  color: string
@@ -0,0 +1,74 @@
1
+ import { LcbTagsProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<
4
+ __VLS_TypePropsToOption<LcbTagsProps>,
5
+ {
6
+ itemBackgroundColor: string
7
+ itemRadius: number
8
+ itemFontSize: number
9
+ tagsMode: string
10
+ gap: number
11
+ itemVerticalPadding: number
12
+ itemHorizontalPadding: 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<LcbTagsProps>,
28
+ {
29
+ itemBackgroundColor: string
30
+ itemRadius: number
31
+ itemFontSize: number
32
+ tagsMode: string
33
+ gap: number
34
+ itemVerticalPadding: number
35
+ itemHorizontalPadding: number
36
+ }
37
+ >
38
+ >
39
+ >,
40
+ {
41
+ gap: number
42
+ itemRadius: number
43
+ itemVerticalPadding: number
44
+ itemHorizontalPadding: number
45
+ itemFontSize: number
46
+ tagsMode: 'scroll' | 'tiled'
47
+ itemBackgroundColor: string
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,17 @@
1
+ import { LcbActionViewProps } from '../lcb-action-view/types'
2
+ import { LcbBlockProps } from '../lcb-block/types'
3
+ export interface LcbTagsProps extends LcbBlockProps {
4
+ tagsMode?: 'scroll' | 'tiled'
5
+ gap?: number
6
+ items: {
7
+ title: string
8
+ link?: LcbActionViewProps
9
+ }[]
10
+ itemFontSize?: number
11
+ itemBackgroundColor?: string
12
+ itemRadius?: number
13
+ itemBorderColor?: string
14
+ itemBorderWidth?: number
15
+ itemVerticalPadding?: number
16
+ itemHorizontalPadding?: number
17
+ }