@tplc/business 0.7.78 → 0.7.80
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,60 @@
|
|
|
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.80](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.71...v0.7.80) (2026-01-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* Add multiple new LCB component demo pages, update routing and types, and enhance the LCB search demo with new attributes. ([dae3560](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/dae3560de985f84e888e5ac18ba0960941e1aa7c))
|
|
11
|
+
* **calendar:** add defaultDays prop to support automatic end date selection in date ranges ([2e5157a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/2e5157af7fb0fd198ce129bd5017eeb753617807))
|
|
12
|
+
* **lcb-action-view, lcb-button, lcb-form:** add formKeys support to merge form data into request parameters ([79341ae](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/79341ae258b77a5578e645f8dddd91b8e6fb9459))
|
|
13
|
+
* **lcb-action-view:** add language selection feature to action view component ([42402c4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/42402c41de1bba1b26e37155cf462f27bc4a0528))
|
|
14
|
+
* **lcb-action-view:** add MemberRolePopup component and update jump type handling for member role ([82e094a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/82e094a20e121ce7b960d94a46a80e2a77722df7))
|
|
15
|
+
* **lcb-area:** add IS_EDITOR_MODE constant and optimize lcb-area and lcb-block components for fixed positioning and style caching ([ba958ae](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/ba958ae70cdfb74068799319d2ef4226738a6065))
|
|
16
|
+
* **lcb-form:** enhance form component with customizable title styles and conditional submit button visibility ([6b24629](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/6b246290e9a8a066353b461fd4cfdba62477c388))
|
|
17
|
+
* **lcb-product:** add headImgStyle property to LcbProductProps and LcbProductItemProps, update ItemValue component to use wd-img for head image rendering ([2ae9d8f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/2ae9d8f51700a275ce37a53faebcb1109f753094))
|
|
18
|
+
* **lcb-product:** add support for configurable row count in horizontal layout and implement row-based rendering ([d6d773d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d6d773da60a5a65d2dba4e47aed5969e6b22399b))
|
|
19
|
+
* Update PayPopup z-index, enhance LcbListProps with tagPosition, and improve lcb-map layout and loading handling ([6b04414](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/6b044148a01f929804259298c3206849121dfa71))
|
|
20
|
+
* **wd-calendar:** add header slot support to calendar component ([67d4872](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/67d487278240242b97edd97ec22279d33fb9d769))
|
|
21
|
+
* **wd-sticky:** add sticky event emission and improve style handling ([f85f85f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/f85f85f149b0cd715a80ff478d91af6444ca4a5f))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### ♻️ Code Refactoring | 代码重构
|
|
25
|
+
|
|
26
|
+
* **lcb-calendar-filter:** simplify CalendarItem component and update styles for better consistency ([b63b489](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/b63b4893313cba648c1f2b62618e2ccb06e567af))
|
|
27
|
+
* **types:** remove unused properties from LcbGapProps and LcbAreaProps, enhance LcbBlockProps with additional positioning attributes ([3e5dd22](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3e5dd22dca2a854fc7760ef7f824c3b23a1c59db))
|
|
28
|
+
* **wd-popup, wd-transition:** enhance component structure and add reactive properties ([c32d1dc](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c32d1dccce79e65bf125e41f7efaab51c72d48bb))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
32
|
+
|
|
33
|
+
* **release:** 0.7.72 ([7bcfdc1](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/7bcfdc1e909e9bc5ac55a6d62cda06d388460b3b))
|
|
34
|
+
* **release:** 0.7.73 ([7389cf5](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/7389cf5639e7abb23ccd881b6db18ef549840a20))
|
|
35
|
+
* **release:** 0.7.74 ([6a32dd2](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/6a32dd2e7f2675bc3ce28466424733e130f45f7b))
|
|
36
|
+
* **release:** 0.7.75 ([b80d674](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/b80d6747eb1278a5822c0306403624f8adbc0b9a))
|
|
37
|
+
* **release:** 0.7.76 ([b399fec](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/b399fecab289571e152338fc21acac085b841dc5))
|
|
38
|
+
* **release:** 0.7.77 ([03e75ec](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/03e75eced49a50a5ba3ecd6ab9ba9559fabab7a6))
|
|
39
|
+
* **release:** 0.7.78 ([d170ccc](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d170ccc964abf627f3909e579839ac655251887a))
|
|
40
|
+
* **release:** 0.7.79 ([8473b1e](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/8473b1ec90f7ba12df44e854fd6445a7e3030798))
|
|
41
|
+
* **release:** 1.0.29 ([7a4a536](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/7a4a5362dfab3ed9cde6a71928e3b555c2400a9c))
|
|
42
|
+
* **release:** 1.0.30 ([89828ea](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/89828ead3f211909a9cf75570dfce3780601f601))
|
|
43
|
+
* **release:** 1.0.31 ([64f22c2](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/64f22c25be141fa6b2128436a66cbbd4bbebf1f8))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
47
|
+
|
|
48
|
+
* **lcb-action-view:** rename memberRole to userLevelRole in jumpTypeMap for clarity ([9d52eaf](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9d52eaf956d8a7e9d931d1f6ceb256ed0cf3ce4e))
|
|
49
|
+
* **lcb-button, wd-button, NestedDraggable:** improve null safety and style adjustments ([0c858c0](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/0c858c02493a58be1d376a6ed2442013635bc376))
|
|
50
|
+
* **lcb-map:** replace loading GIF with a webp image and remove the old GIF file ([6f69363](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/6f693637439cc77ff651713dd3708da23c3712d0))
|
|
51
|
+
|
|
52
|
+
### [0.7.79](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.31...v0.7.79) (2026-01-18)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### ♻️ Code Refactoring | 代码重构
|
|
56
|
+
|
|
57
|
+
* **wd-popup, wd-transition:** enhance component structure and add reactive properties ([c32d1dc](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c32d1dccce79e65bf125e41f7efaab51c72d48bb))
|
|
58
|
+
|
|
5
59
|
### [0.7.78](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.30...v0.7.78) (2026-01-18)
|
|
6
60
|
|
|
7
61
|
### [0.7.77](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.76...v0.7.77) (2026-01-18)
|
|
@@ -80,18 +80,18 @@ const getInnerStyle = computed(() => {
|
|
|
80
80
|
|
|
81
81
|
// 优化:合并 padding/margin/borderRadius 计算,减少函数调用
|
|
82
82
|
const spacingStyles = computed(() => {
|
|
83
|
-
const pTop = props.paddingTop
|
|
84
|
-
const pRight = props.paddingRight
|
|
85
|
-
const pBottom = props.paddingBottom
|
|
86
|
-
const pLeft = props.paddingLeft
|
|
83
|
+
const pTop = props.paddingTop || props.paddingVertical
|
|
84
|
+
const pRight = props.paddingRight || props.paddingHorizontal
|
|
85
|
+
const pBottom = props.paddingBottom || props.paddingVertical
|
|
86
|
+
const pLeft = props.paddingLeft || props.paddingHorizontal
|
|
87
87
|
|
|
88
88
|
const mTop = props.floatUp ? -props.floatUp : (props.marginTop ?? 0)
|
|
89
|
-
const mRight = props.marginRight
|
|
90
|
-
const mBottom = props.marginBottom
|
|
91
|
-
const mLeft = props.marginLeft
|
|
89
|
+
const mRight = props.marginRight || props.marginHorizontal
|
|
90
|
+
const mBottom = props.marginBottom || props.marginHorizontal
|
|
91
|
+
const mLeft = props.marginLeft || props.marginHorizontal
|
|
92
92
|
|
|
93
|
-
const topR = props.topRadius
|
|
94
|
-
const bottomR = props.bottomRadius
|
|
93
|
+
const topR = props.topRadius || props.radius
|
|
94
|
+
const bottomR = props.bottomRadius || props.radius
|
|
95
95
|
|
|
96
96
|
return {
|
|
97
97
|
padding: `${transformValueUnit(pTop)} ${transformValueUnit(pRight)} ${transformValueUnit(pBottom)} ${transformValueUnit(pLeft)}`,
|
|
@@ -136,7 +136,7 @@ const actionProps = computed(() => {
|
|
|
136
136
|
})
|
|
137
137
|
|
|
138
138
|
// 如果 button 有 formKeys,传递给 action 的 requestInfo
|
|
139
|
-
if (props.formKeys && resolvedProps
|
|
139
|
+
if (props.formKeys && resolvedProps?.requestInfo) {
|
|
140
140
|
return {
|
|
141
141
|
...resolvedProps,
|
|
142
142
|
requestInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.80",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"vue": ">=3.2.47",
|
|
14
|
-
"@tplc/wot": "1.0.
|
|
14
|
+
"@tplc/wot": "1.0.31"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|