jobsys-explore 4.0.22 → 4.0.23
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/.changeset/red-geckos-change.md +5 -0
- package/CHANGELOG.md +26 -0
- package/components/form/ExField.jsx +19 -11
- package/components/utils.js +1 -1
- package/dist/jobsys-explore.cjs +6 -6
- package/dist/jobsys-explore.cjs.map +1 -1
- package/dist/jobsys-explore.js +351 -351
- package/dist/jobsys-explore.js.map +1 -1
- package/package.json +1 -1
- package/playground/TestForm.vue +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# jobsys-explore
|
|
2
2
|
|
|
3
|
+
## 4.0.23
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- address
|
|
8
|
+
- form loading status
|
|
9
|
+
- fixed date modelValue
|
|
10
|
+
- date default value
|
|
11
|
+
- y
|
|
12
|
+
- add exPros parameter
|
|
13
|
+
- select add textInValue
|
|
14
|
+
- option fetch data only once
|
|
15
|
+
- add form reset
|
|
16
|
+
- fixed
|
|
17
|
+
- add sm2 encrypt
|
|
18
|
+
- form expose fetchItem method
|
|
19
|
+
- fixed address modelValue
|
|
20
|
+
- fixed textInValue
|
|
21
|
+
- fixed textInValue
|
|
22
|
+
- help add function
|
|
23
|
+
- add key_cn
|
|
24
|
+
- search watch model value
|
|
25
|
+
- address
|
|
26
|
+
- cascader
|
|
27
|
+
- e
|
|
28
|
+
|
|
3
29
|
## 4.0.22
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -53,21 +53,29 @@ export default defineComponent({
|
|
|
53
53
|
|
|
54
54
|
/****************** render **********************/
|
|
55
55
|
|
|
56
|
+
const helpElem = () => {
|
|
57
|
+
if (props.append) {
|
|
58
|
+
return (
|
|
59
|
+
<Popover v-model:show={state.showHelp} theme={"dark"} placement={"bottom-start"}>
|
|
60
|
+
{{
|
|
61
|
+
default: () => <div class={"ex-field__help"}>{isString(props.help) ? props.help : props.help()}</div>,
|
|
62
|
+
reference: () =>
|
|
63
|
+
props.help ? (
|
|
64
|
+
<span class={"ex-field__help-handler"}>
|
|
65
|
+
<Icon name={"warning-o"}></Icon>
|
|
66
|
+
</span>
|
|
67
|
+
) : null,
|
|
68
|
+
}}
|
|
69
|
+
</Popover>
|
|
70
|
+
)
|
|
71
|
+
}
|
|
72
|
+
return null
|
|
73
|
+
}
|
|
56
74
|
const labelElem = () => (
|
|
57
75
|
<div class={"ex-field__label"}>
|
|
58
76
|
<span>{props.label || slots.label?.()}</span>
|
|
59
77
|
|
|
60
|
-
|
|
61
|
-
{{
|
|
62
|
-
default: () => <div class={"ex-field__help"}>{props.help}</div>,
|
|
63
|
-
reference: () =>
|
|
64
|
-
props.help ? (
|
|
65
|
-
<span class={"ex-field__help-handler"}>
|
|
66
|
-
<Icon name={"warning-o"}></Icon>
|
|
67
|
-
</span>
|
|
68
|
-
) : null,
|
|
69
|
-
}}
|
|
70
|
-
</Popover>
|
|
78
|
+
{helpElem()}
|
|
71
79
|
</div>
|
|
72
80
|
)
|
|
73
81
|
|