@tplc/business 0.7.81 → 0.7.83
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,22 @@
|
|
|
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.83](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.82...v0.7.83) (2026-01-20)
|
|
6
|
+
|
|
7
|
+
### [0.7.82](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.81...v0.7.82) (2026-01-20)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ✨ Features | 新功能
|
|
11
|
+
|
|
12
|
+
* **docs:** enhance documentation for various components, adding usage scenarios, examples, and source locations ([aa54921](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/aa549217140ebd93b569d4fbd1e5236fe66e2c72))
|
|
13
|
+
* **docs:** update lcb-calendar-search and lcb-grid documentation with new examples, configurations, and improved styling ([934131d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/934131d6bdaba664a789e3c560db19497b630a44))
|
|
14
|
+
* **lcb-list, lcb-product, lcb-wrapper-list:** add empty state support with customizable properties ([a8be092](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/a8be0925ce92256dfb0f164fc9bd21b25b6351d2))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
18
|
+
|
|
19
|
+
* **MemberRolePopup:** add immediate option to watch for role list fetching ([3bd2d82](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3bd2d829366d502fe7cde5616572b8b3797fc6bd))
|
|
20
|
+
|
|
5
21
|
### [0.7.81](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.80...v0.7.81) (2026-01-19)
|
|
6
22
|
|
|
7
23
|
|
|
@@ -153,11 +153,15 @@ const close = () => {
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
// 监听弹窗打开,获取角色列表
|
|
156
|
-
watch(
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
156
|
+
watch(
|
|
157
|
+
show,
|
|
158
|
+
(newVal) => {
|
|
159
|
+
if (newVal && roleList.value.length === 0) {
|
|
160
|
+
fetchRoleList()
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{ immediate: true },
|
|
164
|
+
)
|
|
161
165
|
</script>
|
|
162
166
|
|
|
163
167
|
<style lang="scss" scoped>
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
@open="emits('open')"
|
|
12
12
|
@cancel="emits('cancel')"
|
|
13
13
|
:initFun="beforeOpen"
|
|
14
|
+
:confirmText="confirmText"
|
|
15
|
+
@change="emits('change', $event)"
|
|
14
16
|
>
|
|
15
17
|
<template #header>
|
|
16
18
|
<slot name="header" />
|
|
@@ -36,7 +38,7 @@ defineOptions({
|
|
|
36
38
|
},
|
|
37
39
|
})
|
|
38
40
|
const holidayInfo = ref<Record<string, LcbHistoryResult>>({})
|
|
39
|
-
const emits = defineEmits(['open', 'cancel', 'confirm'])
|
|
41
|
+
const emits = defineEmits(['open', 'cancel', 'confirm', 'change'])
|
|
40
42
|
const props = defineProps({
|
|
41
43
|
customClass: {
|
|
42
44
|
type: String,
|
|
@@ -70,6 +72,10 @@ const props = defineProps({
|
|
|
70
72
|
type: Number,
|
|
71
73
|
default: undefined,
|
|
72
74
|
},
|
|
75
|
+
confirmText: {
|
|
76
|
+
type: String,
|
|
77
|
+
default: '确认',
|
|
78
|
+
},
|
|
73
79
|
})
|
|
74
80
|
const model = defineModel<number[]>()
|
|
75
81
|
const value = ref(model.value || props.defaultValue)
|
package/package.json
CHANGED
|
@@ -61,6 +61,10 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
61
61
|
type: NumberConstructor
|
|
62
62
|
default: undefined
|
|
63
63
|
}
|
|
64
|
+
confirmText: {
|
|
65
|
+
type: StringConstructor
|
|
66
|
+
default: string
|
|
67
|
+
}
|
|
64
68
|
modelValue: {
|
|
65
69
|
type: import('vue').PropType<number[]>
|
|
66
70
|
}
|
|
@@ -74,6 +78,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
74
78
|
{
|
|
75
79
|
'update:modelValue': (modelValue: number[]) => void
|
|
76
80
|
confirm: (...args: any[]) => void
|
|
81
|
+
change: (...args: any[]) => void
|
|
77
82
|
cancel: (...args: any[]) => void
|
|
78
83
|
open: (...args: any[]) => void
|
|
79
84
|
},
|
|
@@ -138,12 +143,17 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
138
143
|
type: NumberConstructor
|
|
139
144
|
default: undefined
|
|
140
145
|
}
|
|
146
|
+
confirmText: {
|
|
147
|
+
type: StringConstructor
|
|
148
|
+
default: string
|
|
149
|
+
}
|
|
141
150
|
modelValue: {
|
|
142
151
|
type: import('vue').PropType<number[]>
|
|
143
152
|
}
|
|
144
153
|
}>
|
|
145
154
|
> & {
|
|
146
155
|
'onUpdate:modelValue'?: ((modelValue: number[]) => any) | undefined
|
|
156
|
+
onChange?: ((...args: any[]) => any) | undefined
|
|
147
157
|
onConfirm?: ((...args: any[]) => any) | undefined
|
|
148
158
|
onCancel?: ((...args: any[]) => any) | undefined
|
|
149
159
|
onOpen?: ((...args: any[]) => any) | undefined
|
|
@@ -155,6 +165,7 @@ declare const __VLS_component: import('vue').DefineComponent<
|
|
|
155
165
|
maxDate: number
|
|
156
166
|
defaultValue: number[]
|
|
157
167
|
defaultDays: number
|
|
168
|
+
confirmText: string
|
|
158
169
|
},
|
|
159
170
|
{}
|
|
160
171
|
>
|