@tplc/business 0.4.45 → 0.4.47

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,30 @@
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.47](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.43...v0.4.47) (2025-04-01)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.4.44 ([794e216](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/794e2164498ba44d722514f90d3966e955aef4f8))
11
+ * **release:** 0.4.45 ([cb02f3b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cb02f3b16a929a07dfeb4e6d2fb52347bd4a4734))
12
+ * **release:** 0.4.46 ([87a3f7e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/87a3f7e7de6d4467f576e0cc5fa904aaf26ecf7c))
13
+
14
+
15
+ ### ✨ Features | 新功能
16
+
17
+ * rate 默认颜色 ([5c46ebb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5c46ebb1477bd42b66b9cfa9f9202b2abcf70235))
18
+ * 定位 ([0451544](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/045154458b16df438faee48015b90148bfcc842f))
19
+ * 支持 107 图片预览 ([7e9c48b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7e9c48b66193d51704662c1474b344a58d75fe6a))
20
+ * 新增 标题地址 ([2d451cd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2d451cd7a9c59e2faf6a9770dc79ca0c30b46fe2))
21
+
22
+ ### [0.4.46](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.45...v0.4.46) (2025-04-01)
23
+
24
+
25
+ ### ✨ Features | 新功能
26
+
27
+ * 新增 标题地址 ([2d451cd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2d451cd7a9c59e2faf6a9770dc79ca0c30b46fe2))
28
+
5
29
  ### [0.4.45](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.44...v0.4.45) (2025-04-01)
6
30
 
7
31
 
@@ -224,6 +224,12 @@ const onActionClick = async () => {
224
224
  getExposed?.()?.reload?.()
225
225
  uni.navigateBack()
226
226
  break
227
+ case 107:
228
+ uni.setStorageSync('imagePreview', JSON.stringify(props.content))
229
+ uni.navigateTo({
230
+ url: `/pages/system/imagePreview`,
231
+ })
232
+ break
227
233
  default:
228
234
  emits('click')
229
235
  break
@@ -15,6 +15,7 @@ export type LcbActionViewProps = {
15
15
  * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话
16
16
  * 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
17
17
  * 105 查看地图 106 查看地图 141 二维码 241 返回并刷新上个页面
18
+ * 107 图片预览
18
19
  */
19
20
  jumpType?:
20
21
  | 1
@@ -75,4 +76,11 @@ export type LcbActionViewProps = {
75
76
  | {
76
77
  jumpType: 141
77
78
  }
79
+ | {
80
+ jumpType: 107
81
+ content: {
82
+ imgUrl: string
83
+ typeName: string
84
+ }[]
85
+ }
78
86
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.45",
3
+ "version": "0.4.47",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -15,7 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<
15
15
  string,
16
16
  import('vue').PublicProps,
17
17
  any,
18
- {} | {} | {} | {} | {} | {},
18
+ {} | {} | {} | {} | {} | {} | {},
19
19
  {}
20
20
  >
21
21
  declare const _default: __VLS_WithTemplateSlots<
@@ -14,6 +14,7 @@ export type LcbActionViewProps = {
14
14
  * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话
15
15
  * 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
16
16
  * 105 查看地图 106 查看地图 141 二维码 241 返回并刷新上个页面
17
+ * 107 图片预览
17
18
  */
18
19
  jumpType?:
19
20
  | 1
@@ -72,4 +73,11 @@ export type LcbActionViewProps = {
72
73
  | {
73
74
  jumpType: 141
74
75
  }
76
+ | {
77
+ jumpType: 107
78
+ content: {
79
+ imgUrl: string
80
+ typeName: string
81
+ }[]
82
+ }
75
83
  )
@@ -468,6 +468,76 @@ declare const _default: import('vue').DefineComponent<
468
468
  }
469
469
  >
470
470
  >
471
+ >
472
+ | Readonly<
473
+ import('vue').ExtractPropTypes<
474
+ __VLS_WithDefaults<
475
+ __VLS_TypePropsToOption<
476
+ {
477
+ placeholder?: string
478
+ icon?: string
479
+ url?: string
480
+ iconSize?: string
481
+ borderWidth?: number
482
+ iconColor?: string
483
+ gap?: number
484
+ link?: import('../lcb-action-view/types').LcbActionViewProps
485
+ iconType?: 'icon' | 'img'
486
+ mode?: 'search' | 'link'
487
+ productTypeList?: string[]
488
+ city?: boolean
489
+ cityColor?: string
490
+ citySize?: number
491
+ cityIconSize?: number
492
+ cityIconColor?: string
493
+ lineColor?: string
494
+ lineWidth?: number
495
+ linePadding?: number
496
+ lineHeight?: number
497
+ historyKey?: string
498
+ initFocus?: boolean
499
+ blockBackground?: string
500
+ } & {
501
+ jumpUrl?: string
502
+ urlParams?: string
503
+ customClass?: string
504
+ customStyle?: import('vue').StyleValue
505
+ renderMode?: 'view' | 'button'
506
+ } & {
507
+ jumpType: 107
508
+ content: {
509
+ imgUrl: string
510
+ typeName: string
511
+ }[]
512
+ } & import('../lcb-block/types').LcbBlockProps
513
+ >,
514
+ {
515
+ placeholder: string
516
+ iconSize: string
517
+ borderWidth: number
518
+ color: string
519
+ iconColor: string
520
+ gap: number
521
+ paddingVertical: number
522
+ marginHorizontal: number
523
+ cityColor: string
524
+ citySize: number
525
+ cityIconSize: number
526
+ radius: number
527
+ paddingHorizontal: number
528
+ borderColor: string
529
+ cityIconColor: string
530
+ lineColor: string
531
+ lineWidth: number
532
+ linePadding: number
533
+ lineHeight: number
534
+ iconType: string
535
+ mode: string
536
+ fontSize: number
537
+ initFocus: boolean
538
+ }
539
+ >
540
+ >
471
541
  >,
472
542
  | {
473
543
  mode: 'search' | 'link'
@@ -594,6 +664,31 @@ declare const _default: import('vue').DefineComponent<
594
664
  linePadding: number
595
665
  initFocus: boolean
596
666
  }
667
+ | {
668
+ mode: 'search' | 'link'
669
+ color: string
670
+ lineHeight: number
671
+ radius: number
672
+ iconSize: string
673
+ iconColor: string
674
+ placeholder: string
675
+ lineWidth: number
676
+ marginHorizontal: number
677
+ paddingHorizontal: number
678
+ paddingVertical: number
679
+ fontSize: number
680
+ borderColor: string
681
+ gap: number
682
+ iconType: 'icon' | 'img'
683
+ borderWidth: number
684
+ cityColor: string
685
+ citySize: number
686
+ cityIconSize: number
687
+ cityIconColor: string
688
+ lineColor: string
689
+ linePadding: number
690
+ initFocus: boolean
691
+ }
597
692
  | {
598
693
  mode: 'search' | 'link'
599
694
  color: string