@tplc/business 0.4.120 → 0.4.122
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 +25 -0
- package/components/lcb-button/lcb-button.vue +1 -1
- package/components/{lcb-wrapper-list/components/WrapperItem/index.vue → lcb-wrapper-item/lcb-wrapper-item.vue} +2 -2
- package/components/lcb-wrapper-list/lcb-wrapper-list.vue +1 -6
- package/global.d.ts +1 -0
- package/package.json +1 -1
- package/types/components/{lcb-wrapper-list/components/WrapperItem/index.vue.d.ts → lcb-wrapper-item/lcb-wrapper-item.vue.d.ts} +2 -0
- package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
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.122](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.121...v0.4.122) (2025-05-24)
|
|
6
|
+
|
|
7
|
+
### [0.4.121](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.118...v0.4.121) (2025-05-24)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
11
|
+
|
|
12
|
+
* **release:** 0.4.119 ([fc07cca](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/fc07cca4b92b3cb37ed5b1c9dab9bc09cd9c18ba))
|
|
13
|
+
* **release:** 0.4.120 ([0149526](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/014952692ea4faa667524a9a76b2eb38c7a86633))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### ✨ Features | 新功能
|
|
17
|
+
|
|
18
|
+
* update version ([ce2daf3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ce2daf34dbb5c69b69514a15346fe2907199a276))
|
|
19
|
+
* 修改脚本 ([fa308af](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/fa308afcd6221c79d32947881b81c13288d6bc72))
|
|
20
|
+
* 支持wrapper list ([8727bb8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8727bb8d2b55f9d9d5d521175662777649acfada))
|
|
21
|
+
* 新增tabs title ([9aad0cf](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9aad0cfe0c510616b21b3656a2d6b73b7c11fcfd))
|
|
22
|
+
* 暂时提交字段 ([d2378a3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d2378a3fe2d6a68a6a32573aae61085d67bcb6e7))
|
|
23
|
+
* 暂时支持列表 ([a0e6b7b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a0e6b7b3e2c1e013427c5ab659005818ace3b092))
|
|
24
|
+
* 类型调整 ([10e87ef](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/10e87efe6511eb751ac3480ba3c1b4fab1c20df0))
|
|
25
|
+
* 调整button位置 ([f13c6ee](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f13c6ee1d678b7e24d1d71286ee10ea82a27d7d3))
|
|
26
|
+
* 调整按钮信息 ([17424ef](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/17424ef9e93fcda51e5b79de86a94c5e818f152b))
|
|
27
|
+
* 调整数据 ([f5e0fd2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f5e0fd2ccd9153d089949ce24620cd222bfc47ea))
|
|
28
|
+
* 调整配置 ([426199e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/426199e2b441a2bf17288add847874218d0f2032))
|
|
29
|
+
|
|
5
30
|
### [0.4.120](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.119...v0.4.120) (2025-05-23)
|
|
6
31
|
|
|
7
32
|
|
|
@@ -71,7 +71,7 @@ const props = withDefaults(defineProps<LcbButtonProps>(), {
|
|
|
71
71
|
iconSize: 24,
|
|
72
72
|
})
|
|
73
73
|
const pageInfo = inject(PAGE_PROVIDE_KEY) as Ref<Record<string, any>>
|
|
74
|
-
const wrapperItemData = inject(WRAPPER_ITEM_KEY) as Ref<Record<string, any>>
|
|
74
|
+
const wrapperItemData = inject(WRAPPER_ITEM_KEY, undefined) as unknown as Ref<Record<string, any>>
|
|
75
75
|
const userStore = uni.$lcb.userStore?.()
|
|
76
76
|
const store = computed(() => {
|
|
77
77
|
return props.keyFromUser
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup lang="ts">
|
|
6
|
-
import { WRAPPER_ITEM_KEY } from '../../../../constants'
|
|
7
6
|
import { provide, ref, watch } from 'vue'
|
|
8
7
|
|
|
9
8
|
defineOptions({
|
|
@@ -16,9 +15,10 @@ defineOptions({
|
|
|
16
15
|
})
|
|
17
16
|
const props = defineProps<{
|
|
18
17
|
data?: unknown
|
|
18
|
+
provideKey: string
|
|
19
19
|
}>()
|
|
20
20
|
const data = ref(props.data)
|
|
21
|
-
provide(
|
|
21
|
+
provide(props.provideKey, data)
|
|
22
22
|
|
|
23
23
|
watch(
|
|
24
24
|
() => props.data,
|
|
@@ -8,11 +8,7 @@
|
|
|
8
8
|
width: width ? transformValueUnit(width) : '100%',
|
|
9
9
|
}"
|
|
10
10
|
>
|
|
11
|
-
<
|
|
12
|
-
<block v-for="com in list" :key="com.id">
|
|
13
|
-
<slot :item="com" />
|
|
14
|
-
</block>
|
|
15
|
-
</WrapperItem>
|
|
11
|
+
<slot :data="item" :list="list" />
|
|
16
12
|
</view>
|
|
17
13
|
</lcb-block>
|
|
18
14
|
</template>
|
|
@@ -23,7 +19,6 @@ import { LcbWrapperListProps } from './types'
|
|
|
23
19
|
import { get } from 'lodash-es'
|
|
24
20
|
import { PAGE_PROVIDE_KEY } from '@tplc/business/constants'
|
|
25
21
|
import { transformValueUnit } from '@tplc/business/utils/transform'
|
|
26
|
-
import WrapperItem from './components/WrapperItem/index.vue'
|
|
27
22
|
defineOptions({
|
|
28
23
|
name: 'LcbWrapperList',
|
|
29
24
|
options: {
|
package/global.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ declare module 'vue' {
|
|
|
48
48
|
'lcb-waterfall-item': (typeof import('@tplc/business/components/lcb-waterfall/lcb-waterfall-item.vue'))['default']
|
|
49
49
|
'lcb-waterfall': (typeof import('@tplc/business/components/lcb-waterfall/lcb-waterfall.vue'))['default']
|
|
50
50
|
'lcb-wrapper-list': (typeof import('@tplc/business/components/lcb-wrapper-list/lcb-wrapper-list.vue'))['default']
|
|
51
|
+
'lcb-wrapper-item': (typeof import('@tplc/business/components/lcb-wrapper-item/lcb-wrapper-item.vue'))['default']
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ declare function __VLS_template(): {
|
|
|
4
4
|
declare const __VLS_component: import('vue').DefineComponent<
|
|
5
5
|
__VLS_TypePropsToOption<{
|
|
6
6
|
data?: unknown
|
|
7
|
+
provideKey: string
|
|
7
8
|
}>,
|
|
8
9
|
{},
|
|
9
10
|
unknown,
|
|
@@ -18,6 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
18
19
|
import('vue').ExtractPropTypes<
|
|
19
20
|
__VLS_TypePropsToOption<{
|
|
20
21
|
data?: unknown
|
|
22
|
+
provideKey: string
|
|
21
23
|
}>
|
|
22
24
|
>
|
|
23
25
|
>,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LcbWrapperListProps } from './types'
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
-
default?(_: {
|
|
3
|
+
default?(_: { data: unknown; list: import('../lcb-area/types').LcbAreaProps[] | undefined }): any
|
|
4
4
|
}
|
|
5
5
|
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
6
|
__VLS_WithDefaults<
|