@tplc/business 0.7.59 → 0.7.61

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,21 @@
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.7.61](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.60...v0.7.61) (2026-01-09)
6
+
7
+
8
+ ### ♻️ Code Refactoring | 代码重构
9
+
10
+ * **lcb-image, lcb-nav:** remove unused TypeScript declaration files for Image and Title components ([431ddb8](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/431ddb85ab02ad2f23436496a4a59cea9c8dcbcd))
11
+
12
+ ### [0.7.60](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.59...v0.7.60) (2026-01-09)
13
+
14
+
15
+ ### ♻️ Code Refactoring | 代码重构
16
+
17
+ * **lcb-image:** replace Image component with LcbWrapperImage and remove unused Image file ([d489b3b](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d489b3b226d158cc17abff03b5152ca9398c97ce))
18
+ * **lcb-nav:** replace Title component with LcbNavTitle and remove unused Title file ([d51695b](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d51695bfe336809741d4743356e35d12d2707f83))
19
+
5
20
  ### [0.7.59](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.56...v0.7.59) (2026-01-09)
6
21
 
7
22
 
@@ -69,7 +69,7 @@ import { transformValueUnit } from '../../../utils/transform'
69
69
  import { calcAutoHeight, getOssImageSize } from '../../../utils/utils'
70
70
  import { getCurrentInstance, onMounted, ref } from 'vue'
71
71
  defineOptions({
72
- name: 'LcbImageImage',
72
+ name: 'LcbWrapperImage',
73
73
  options: {
74
74
  addGlobalClass: true,
75
75
  virtualHost: true,
@@ -20,7 +20,7 @@
20
20
  marginTop: transformValueUnit(-(floatUp || 0)),
21
21
  }"
22
22
  >
23
- <Image v-bind="$props" />
23
+ <LcbWrapperImage v-bind="$props" />
24
24
  </view>
25
25
 
26
26
  <scroll-view
@@ -34,14 +34,14 @@
34
34
  }"
35
35
  >
36
36
  <view class="flex shrink-0">
37
- <Image v-bind="$props" />
37
+ <LcbWrapperImage v-bind="$props" />
38
38
  </view>
39
39
  </scroll-view>
40
40
  </template>
41
41
 
42
42
  <script setup lang="ts">
43
43
  import { transformValueUnit } from '../../utils/transform'
44
- import Image from './Image/index.vue'
44
+ import LcbWrapperImage from './LcbWrapperImage/index.vue'
45
45
  import { LcbImageProps } from './types'
46
46
  defineOptions({
47
47
  name: 'LcbImage',
@@ -15,7 +15,7 @@
15
15
  fontWeight: fontWeight,
16
16
  }"
17
17
  >
18
- <lcb-button mode="noStyle" :text="title" :keyFromUser="keyFromUser" />
18
+ <lcb-button mode="noStyle" :text="title || ''" :keyFromUser="keyFromUser" />
19
19
  </view>
20
20
  </view>
21
21
  <view class="images" v-else>
@@ -95,7 +95,7 @@
95
95
  left
96
96
  v-if="styleGroup === 2 && titleLocation === 'left'"
97
97
  />
98
- <Title v-bind="titleProps" v-else-if="topStyle !== 2" :opacity="titleOpacity" />
98
+ <LcbNavTitle v-bind="titleProps" v-else-if="topStyle !== 2" :opacity="titleOpacity" />
99
99
  </view>
100
100
  </view>
101
101
  <!-- 中间布局 -->
@@ -105,7 +105,7 @@
105
105
  :back="canBack"
106
106
  :link="searchLink"
107
107
  />
108
- <Title
108
+ <LcbNavTitle
109
109
  v-bind="titleProps"
110
110
  v-else-if="styleGroup === 2 || titleLocation === 'center'"
111
111
  :opacity="titleOpacity"
@@ -143,7 +143,7 @@
143
143
  import { addUnit } from '@tplc/wot/components/common/util'
144
144
  import { computed, inject, ref, Ref } from 'vue'
145
145
  import { ICapsule, NavProps } from './types'
146
- import Title from './Title/index.vue'
146
+ import LcbNavTitle from './LcbNavTitle/index.vue'
147
147
  import Search from './Search/index.vue'
148
148
  import { Locale } from '@tplc/wot'
149
149
  import usePageScroll from '../../hooks/usePageScroll'
@@ -60,7 +60,7 @@ watch(
60
60
  onMounted(() => {
61
61
  setTimeout(() => {
62
62
  currentTab.value = props.items?.[props.defaultIndex]?.name
63
- }, 100)
63
+ }, 150)
64
64
  })
65
65
  </script>
66
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.59",
3
+ "version": "0.7.61",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],