@tplc/business 0.4.76 → 0.4.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,37 @@
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.78](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.76...v0.4.78) (2025-04-28)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.4.77 ([9dcddff](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9dcddff4e67e18393e24df19c8628e18ae1f3b85))
11
+
12
+
13
+ ### ✨ Features | 新功能
14
+
15
+ * 新增area in photo ([6d94de8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6d94de82a6262467a93eb8991e73d1c77935d6e7))
16
+ * 新增search ([e95f9f7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e95f9f75686dbcbe63372ecb99b0e2d5a591d62f))
17
+
18
+ ### [0.4.77](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.74...v0.4.77) (2025-04-27)
19
+
20
+
21
+ ### 🚀 Chore | 构建/工程依赖/工具
22
+
23
+ * **release:** 0.1.83 ([96d033f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/96d033f8d61e4242c62ad59f4c04f715d5d25805))
24
+ * **release:** 0.4.75 ([e6b5850](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/e6b5850162be1b57b8dbf083d124ae447b40815d))
25
+ * **release:** 0.4.76 ([2ffbdfd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2ffbdfd453962293b86add88532e773df2a51981))
26
+
27
+
28
+ ### ✨ Features | 新功能
29
+
30
+ * banner 支持video ([8dbe21d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8dbe21d2d8705f6ae50a30e84f4dc50dcbd0b85d))
31
+ * 兼容图片 ([dd37ec7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/dd37ec75663ceb4cf1821284f05bb0278a88a870))
32
+ * 兼容过滤 ([6a756d1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6a756d16a75a1e454063e880ac1cfeb2042136a4))
33
+ * 新增area in photo ([6d94de8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6d94de82a6262467a93eb8991e73d1c77935d6e7))
34
+ * 更新版本 ([4758810](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4758810119e5e47d2f705875b8ed4ba6f971046a))
35
+
5
36
  ### [0.4.76](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.83...v0.4.76) (2025-04-27)
6
37
 
7
38
 
@@ -175,7 +175,13 @@ const coverImgWidth = computed(() => {
175
175
  >
176
176
  {{ value }}
177
177
  <text
178
- v-if="itemProps.showArea && !itemProps.areaOnImg && itemAttrs.cityArea"
178
+ v-if="
179
+ itemProps.showArea &&
180
+ !itemProps.areaOnImg &&
181
+ itemAttrs.cityArea &&
182
+ !value.includes('(') &&
183
+ !value.includes('(')
184
+ "
179
185
  :style="{
180
186
  color: itemProps.areaColor,
181
187
  fontSize: `${itemProps.areaFontSize}rpx`,
@@ -93,7 +93,7 @@
93
93
  <view
94
94
  class="mr-3"
95
95
  @click="onCancel"
96
- v-if="mode === 'search'"
96
+ v-if="mode === 'search' && showCancel"
97
97
  :style="{
98
98
  fontSize: transformValueUnit(fontSize),
99
99
  }"
@@ -170,6 +170,7 @@ const props = withDefaults(defineProps<LcbSearchProps>(), {
170
170
  mode: 'link',
171
171
  fontSize: 24,
172
172
  initFocus: true,
173
+ showCancel: true,
173
174
  })
174
175
  const searchHistoryRef = ref<InstanceType<typeof LcbSearchHistory>>()
175
176
  const searchListRef = ref<InstanceType<typeof LcbSearchList>>()
@@ -28,7 +28,7 @@ export type LcbSearchProps = {
28
28
  lineHeight?: number
29
29
 
30
30
  historyKey?: string
31
-
31
+ showCancel?: boolean
32
32
  initFocus?: boolean
33
33
  blockBackground?: string
34
34
  } & LcbActionViewProps &
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.76",
3
+ "version": "0.4.78",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -26,6 +26,7 @@ declare const _default: import('vue').DefineComponent<
26
26
  mode: string
27
27
  fontSize: number
28
28
  initFocus: boolean
29
+ showCancel: boolean
29
30
  }
30
31
  >,
31
32
  {},
@@ -63,6 +64,7 @@ declare const _default: import('vue').DefineComponent<
63
64
  linePadding?: number
64
65
  lineHeight?: number
65
66
  historyKey?: string
67
+ showCancel?: boolean
66
68
  initFocus?: boolean
67
69
  blockBackground?: string
68
70
  } & {
@@ -123,6 +125,7 @@ declare const _default: import('vue').DefineComponent<
123
125
  mode: string
124
126
  fontSize: number
125
127
  initFocus: boolean
128
+ showCancel: boolean
126
129
  }
127
130
  >
128
131
  >
@@ -153,6 +156,7 @@ declare const _default: import('vue').DefineComponent<
153
156
  linePadding?: number
154
157
  lineHeight?: number
155
158
  historyKey?: string
159
+ showCancel?: boolean
156
160
  initFocus?: boolean
157
161
  blockBackground?: string
158
162
  } & {
@@ -190,6 +194,7 @@ declare const _default: import('vue').DefineComponent<
190
194
  mode: string
191
195
  fontSize: number
192
196
  initFocus: boolean
197
+ showCancel: boolean
193
198
  }
194
199
  >
195
200
  >
@@ -220,6 +225,7 @@ declare const _default: import('vue').DefineComponent<
220
225
  linePadding?: number
221
226
  lineHeight?: number
222
227
  historyKey?: string
228
+ showCancel?: boolean
223
229
  initFocus?: boolean
224
230
  blockBackground?: string
225
231
  } & {
@@ -260,6 +266,7 @@ declare const _default: import('vue').DefineComponent<
260
266
  mode: string
261
267
  fontSize: number
262
268
  initFocus: boolean
269
+ showCancel: boolean
263
270
  }
264
271
  >
265
272
  >
@@ -290,6 +297,7 @@ declare const _default: import('vue').DefineComponent<
290
297
  linePadding?: number
291
298
  lineHeight?: number
292
299
  historyKey?: string
300
+ showCancel?: boolean
293
301
  initFocus?: boolean
294
302
  blockBackground?: string
295
303
  } & {
@@ -332,6 +340,7 @@ declare const _default: import('vue').DefineComponent<
332
340
  mode: string
333
341
  fontSize: number
334
342
  initFocus: boolean
343
+ showCancel: boolean
335
344
  }
336
345
  >
337
346
  >
@@ -362,6 +371,7 @@ declare const _default: import('vue').DefineComponent<
362
371
  linePadding?: number
363
372
  lineHeight?: number
364
373
  historyKey?: string
374
+ showCancel?: boolean
365
375
  initFocus?: boolean
366
376
  blockBackground?: string
367
377
  } & {
@@ -399,6 +409,7 @@ declare const _default: import('vue').DefineComponent<
399
409
  mode: string
400
410
  fontSize: number
401
411
  initFocus: boolean
412
+ showCancel: boolean
402
413
  }
403
414
  >
404
415
  >
@@ -429,6 +440,7 @@ declare const _default: import('vue').DefineComponent<
429
440
  linePadding?: number
430
441
  lineHeight?: number
431
442
  historyKey?: string
443
+ showCancel?: boolean
432
444
  initFocus?: boolean
433
445
  blockBackground?: string
434
446
  } & {
@@ -465,6 +477,7 @@ declare const _default: import('vue').DefineComponent<
465
477
  mode: string
466
478
  fontSize: number
467
479
  initFocus: boolean
480
+ showCancel: boolean
468
481
  }
469
482
  >
470
483
  >
@@ -495,6 +508,7 @@ declare const _default: import('vue').DefineComponent<
495
508
  linePadding?: number
496
509
  lineHeight?: number
497
510
  historyKey?: string
511
+ showCancel?: boolean
498
512
  initFocus?: boolean
499
513
  blockBackground?: string
500
514
  } & {
@@ -535,6 +549,7 @@ declare const _default: import('vue').DefineComponent<
535
549
  mode: string
536
550
  fontSize: number
537
551
  initFocus: boolean
552
+ showCancel: boolean
538
553
  }
539
554
  >
540
555
  >
@@ -562,6 +577,7 @@ declare const _default: import('vue').DefineComponent<
562
577
  cityIconColor: string
563
578
  lineColor: string
564
579
  linePadding: number
580
+ showCancel: boolean
565
581
  initFocus: boolean
566
582
  }
567
583
  | {
@@ -587,6 +603,7 @@ declare const _default: import('vue').DefineComponent<
587
603
  cityIconColor: string
588
604
  lineColor: string
589
605
  linePadding: number
606
+ showCancel: boolean
590
607
  initFocus: boolean
591
608
  }
592
609
  | {
@@ -612,6 +629,7 @@ declare const _default: import('vue').DefineComponent<
612
629
  cityIconColor: string
613
630
  lineColor: string
614
631
  linePadding: number
632
+ showCancel: boolean
615
633
  initFocus: boolean
616
634
  }
617
635
  | {
@@ -637,6 +655,7 @@ declare const _default: import('vue').DefineComponent<
637
655
  cityIconColor: string
638
656
  lineColor: string
639
657
  linePadding: number
658
+ showCancel: boolean
640
659
  initFocus: boolean
641
660
  }
642
661
  | {
@@ -662,6 +681,7 @@ declare const _default: import('vue').DefineComponent<
662
681
  cityIconColor: string
663
682
  lineColor: string
664
683
  linePadding: number
684
+ showCancel: boolean
665
685
  initFocus: boolean
666
686
  }
667
687
  | {
@@ -687,6 +707,7 @@ declare const _default: import('vue').DefineComponent<
687
707
  cityIconColor: string
688
708
  lineColor: string
689
709
  linePadding: number
710
+ showCancel: boolean
690
711
  initFocus: boolean
691
712
  }
692
713
  | {
@@ -712,6 +733,7 @@ declare const _default: import('vue').DefineComponent<
712
733
  cityIconColor: string
713
734
  lineColor: string
714
735
  linePadding: number
736
+ showCancel: boolean
715
737
  initFocus: boolean
716
738
  },
717
739
  {}
@@ -22,6 +22,7 @@ export type LcbSearchProps = {
22
22
  linePadding?: number
23
23
  lineHeight?: number
24
24
  historyKey?: string
25
+ showCancel?: boolean
25
26
  initFocus?: boolean
26
27
  blockBackground?: string
27
28
  } & LcbActionViewProps &