@tplc/business 0.7.76 → 0.7.78
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,16 @@
|
|
|
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.78](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.30...v0.7.78) (2026-01-18)
|
|
6
|
+
|
|
7
|
+
### [0.7.77](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.76...v0.7.77) (2026-01-18)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ✨ Features | 新功能
|
|
11
|
+
|
|
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
|
+
* **wd-sticky:** add sticky event emission and improve style handling ([f85f85f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/f85f85f149b0cd715a80ff478d91af6444ca4a5f))
|
|
14
|
+
|
|
5
15
|
### [0.7.76](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.75...v0.7.76) (2026-01-18)
|
|
6
16
|
|
|
7
17
|
|
|
@@ -7,10 +7,14 @@
|
|
|
7
7
|
:formatter="calendarFormatter(holidayInfo, translate)"
|
|
8
8
|
:min-date="minDate"
|
|
9
9
|
:max-date="maxDate"
|
|
10
|
+
:default-days="defaultDays"
|
|
10
11
|
@open="emits('open')"
|
|
11
12
|
@cancel="emits('cancel')"
|
|
12
13
|
:initFun="beforeOpen"
|
|
13
14
|
>
|
|
15
|
+
<template #header>
|
|
16
|
+
<slot name="header" />
|
|
17
|
+
</template>
|
|
14
18
|
<slot />
|
|
15
19
|
</wd-calendar>
|
|
16
20
|
</template>
|
|
@@ -58,6 +62,14 @@ const props = defineProps({
|
|
|
58
62
|
type: Object,
|
|
59
63
|
default: () => ({}),
|
|
60
64
|
},
|
|
65
|
+
/**
|
|
66
|
+
* 默认选中的天数
|
|
67
|
+
* 当传入该参数时,用户点击开始日期后会自动选中结束日期(开始日期 + defaultDays 天)
|
|
68
|
+
*/
|
|
69
|
+
defaultDays: {
|
|
70
|
+
type: Number,
|
|
71
|
+
default: undefined,
|
|
72
|
+
},
|
|
61
73
|
})
|
|
62
74
|
const model = defineModel<number[]>()
|
|
63
75
|
const value = ref(model.value || props.defaultValue)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.78",
|
|
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.30"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
header?(_: {}): any
|
|
2
3
|
default?(_: {}): any
|
|
3
4
|
}
|
|
4
5
|
declare const __VLS_component: import('vue').DefineComponent<
|
|
@@ -52,6 +53,14 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
52
53
|
type: ObjectConstructor
|
|
53
54
|
default: () => {}
|
|
54
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* 默认选中的天数
|
|
58
|
+
* 当传入该参数时,用户点击开始日期后会自动选中结束日期(开始日期 + defaultDays 天)
|
|
59
|
+
*/
|
|
60
|
+
defaultDays: {
|
|
61
|
+
type: NumberConstructor
|
|
62
|
+
default: undefined
|
|
63
|
+
}
|
|
55
64
|
modelValue: {
|
|
56
65
|
type: import('vue').PropType<number[]>
|
|
57
66
|
}
|
|
@@ -121,6 +130,14 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
121
130
|
type: ObjectConstructor
|
|
122
131
|
default: () => {}
|
|
123
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* 默认选中的天数
|
|
135
|
+
* 当传入该参数时,用户点击开始日期后会自动选中结束日期(开始日期 + defaultDays 天)
|
|
136
|
+
*/
|
|
137
|
+
defaultDays: {
|
|
138
|
+
type: NumberConstructor
|
|
139
|
+
default: undefined
|
|
140
|
+
}
|
|
124
141
|
modelValue: {
|
|
125
142
|
type: import('vue').PropType<number[]>
|
|
126
143
|
}
|
|
@@ -137,6 +154,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
137
154
|
minDate: number
|
|
138
155
|
maxDate: number
|
|
139
156
|
defaultValue: number[]
|
|
157
|
+
defaultDays: number
|
|
140
158
|
},
|
|
141
159
|
{}
|
|
142
160
|
>
|