@tplc/business 0.3.36 → 0.3.38

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,32 @@
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.38](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.32...v0.3.38) (2025-02-12)
6
+
7
+
8
+ ### 🐛 Bug Fixes | Bug 修复
9
+
10
+ * 修改组件样式 ([ca5d275](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ca5d275c2f909289729879c1fa7275e6dac2f1bf))
11
+
12
+
13
+ ### 🚀 Chore | 构建/工程依赖/工具
14
+
15
+ * **release:** 0.3.33 ([ced1bf4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ced1bf4e6f2f1ff6fbeafae1af57de075c0639c2))
16
+ * **release:** 0.3.34 ([d103638](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d103638caf69257cec334d50aec089738a002e38))
17
+ * **release:** 0.3.35 ([37be581](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/37be581dd1e2e60a4e341f67278826455afbb28a))
18
+ * **release:** 0.3.36 ([ab06b9a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ab06b9ade5a593c3e48277b025b2f58c07a739e2))
19
+ * **release:** 0.3.37 ([d40168f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d40168fd3f12ce9db0a7960920ebb0fa63282ed7))
20
+
21
+
22
+ ### ✨ Features | 新功能
23
+
24
+ * 兼容popup 多次 ([a613b56](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a613b5636f3f8354960e3d116155a1b36b80aaae))
25
+ * 兼容user info ([2097a3f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2097a3f346a064bdd2ab26900782722943bb20a2))
26
+ * 新增btn cancel ([ce2e4f2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ce2e4f27ed09c8432ea1cd6ae9ae589a1103d946))
27
+ * 还差pop 嵌套问题 ([053c621](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/053c621898385b93683218c69ae18fcdad7486d9))
28
+
29
+ ### [0.3.37](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.36...v0.3.37) (2025-02-11)
30
+
5
31
  ### [0.3.36](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.35...v0.3.36) (2025-02-11)
6
32
 
7
33
 
@@ -29,7 +29,7 @@ defineOptions({
29
29
  withDefaults(defineProps<LcbOperationActionsProps>(), {
30
30
  size: 'small',
31
31
  })
32
- const emits = defineEmits(['refresh'])
32
+ const emits = defineEmits(['refresh', 'cancel'])
33
33
  const getBtnProps = (item: IPageBtn) => {
34
34
  return {
35
35
  type: item.styleContent?.buttonType?.includes?.('theme') ? 'primary' : 'info',
@@ -82,6 +82,8 @@ async function link({ item }: { item: IPageBtn }) {
82
82
  })
83
83
  },
84
84
  })
85
+ } else {
86
+ emits('cancel')
85
87
  }
86
88
  }
87
89
  </script>
@@ -27,7 +27,12 @@
27
27
  <IconActionView v-bind="item" v-else @refresh="$emit('refresh')" ref="popverRef" />
28
28
  </block>
29
29
  <view class="flex-1" v-if="!noIcons"></view>
30
- <BtnViews :button-list="buttonList" @refresh="emits('refresh')" :size="size" />
30
+ <BtnViews
31
+ :button-list="buttonList"
32
+ @refresh="emits('refresh')"
33
+ @cancel="emits('cancel')"
34
+ :size="size"
35
+ />
31
36
  </view>
32
37
  <wd-message-box />
33
38
  </view>
@@ -48,7 +53,7 @@ defineOptions({
48
53
  },
49
54
  })
50
55
  defineProps<LcbOperationActionsProps>()
51
- const emits = defineEmits(['refresh'])
56
+ const emits = defineEmits(['refresh', 'cancel'])
52
57
  const popverRef = ref()
53
58
  const message = useMessage()
54
59
  const getMenu = (list: IPageBtn[]) => {
@@ -13,8 +13,8 @@
13
13
  :height="transformValueUnit(cardHeight)"
14
14
  radius="16rpx"
15
15
  />
16
- <view class="absolute w-20 text-center leading-6 top-0 left-0">
17
- {{ info.effectiveDate }}
16
+ <view class="absolute text-center top-2 right-8 text-3">
17
+ {{ translate('有效期至') }} {{ info.effectiveDate }}
18
18
  </view>
19
19
  <!-- <view
20
20
  class="absolute leading-4.5 top-156rpx left-4 flex items-center gap-0.5"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.36",
3
+ "version": "0.3.38",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -14,6 +14,7 @@ declare const _default: import('vue').DefineComponent<
14
14
  import('vue').ComponentOptionsMixin,
15
15
  {
16
16
  refresh: (...args: any[]) => void
17
+ cancel: (...args: any[]) => void
17
18
  },
18
19
  string,
19
20
  import('vue').PublicProps,
@@ -27,6 +28,7 @@ declare const _default: import('vue').DefineComponent<
27
28
  >
28
29
  >
29
30
  > & {
31
+ onCancel?: ((...args: any[]) => any) | undefined
30
32
  onRefresh?: ((...args: any[]) => any) | undefined
31
33
  },
32
34
  {
@@ -9,10 +9,12 @@ declare const _default: import('vue').DefineComponent<
9
9
  import('vue').ComponentOptionsMixin,
10
10
  {
11
11
  refresh: (...args: any[]) => void
12
+ cancel: (...args: any[]) => void
12
13
  },
13
14
  string,
14
15
  import('vue').PublicProps,
15
16
  Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<LcbOperationActionsProps>>> & {
17
+ onCancel?: ((...args: any[]) => any) | undefined
16
18
  onRefresh?: ((...args: any[]) => any) | undefined
17
19
  },
18
20
  {},