@cgboiler/biz-mobile 1.18.5 → 1.18.7
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/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/md-preview/index.less +101 -101
- package/es/org-picker/index.less +181 -181
- package/es/org-picker/useApi.js +5 -5
- package/es/project-select/index.less +45 -45
- package/es/project-select/useApi.js +3 -6
- package/es/rich-text-editor/RichTextEditor.js +2 -2
- package/es/vue-sfc-shim.d.ts +8 -8
- package/es/vue-tsx-shim.d.ts +24 -24
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/md-preview/index.less +101 -101
- package/lib/org-picker/index.less +181 -181
- package/lib/org-picker/useApi.js +5 -5
- package/lib/project-select/index.less +45 -45
- package/lib/project-select/useApi.js +3 -6
- package/lib/vue-sfc-shim.d.ts +8 -8
- package/lib/vue-tsx-shim.d.ts +24 -24
- package/package.json +4 -4
|
@@ -1,181 +1,181 @@
|
|
|
1
|
-
:root:root {
|
|
2
|
-
--van-action-sheet-max-height: 100%;
|
|
3
|
-
}
|
|
4
|
-
.org-list {
|
|
5
|
-
height: 85vh;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
|
|
9
|
-
.highlight {
|
|
10
|
-
color: var(--van-primary-color);
|
|
11
|
-
font-weight: bold;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.breadcrumb-nav {
|
|
15
|
-
margin-bottom: 4px;
|
|
16
|
-
padding: 2px 16px;
|
|
17
|
-
border-radius: 4px;
|
|
18
|
-
font-size: 12px;
|
|
19
|
-
|
|
20
|
-
.dept-name {
|
|
21
|
-
&.current-dept {
|
|
22
|
-
color: #969799; /* 提示文字颜色 */
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.separator {
|
|
27
|
-
color: #969799;
|
|
28
|
-
margin: 0 4px;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.search-bar {
|
|
33
|
-
position: sticky;
|
|
34
|
-
top: 0;
|
|
35
|
-
z-index: 1;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.org-selected-items {
|
|
39
|
-
display: flex;
|
|
40
|
-
flex-wrap: nowrap;
|
|
41
|
-
padding: 12px 16px;
|
|
42
|
-
gap: 12px;
|
|
43
|
-
background-color: #fff;
|
|
44
|
-
overflow-x: auto;
|
|
45
|
-
height: 68px;
|
|
46
|
-
border-bottom: 1px solid #eee;
|
|
47
|
-
|
|
48
|
-
.selected-tag {
|
|
49
|
-
flex-shrink: 0;
|
|
50
|
-
background: none;
|
|
51
|
-
border: none;
|
|
52
|
-
padding: 0;
|
|
53
|
-
margin: 0;
|
|
54
|
-
position: relative;
|
|
55
|
-
.close-icon {
|
|
56
|
-
position: absolute;
|
|
57
|
-
top: 0;
|
|
58
|
-
right: 0;
|
|
59
|
-
z-index: 1;
|
|
60
|
-
background-color: #fff;
|
|
61
|
-
border-radius: 50%;
|
|
62
|
-
border: 1px solid #eee;
|
|
63
|
-
width: 10px;
|
|
64
|
-
height: 10px;
|
|
65
|
-
display: flex;
|
|
66
|
-
align-items: center;
|
|
67
|
-
justify-content: center;
|
|
68
|
-
font-size: 6px;
|
|
69
|
-
color: #969799;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.tag-avatar {
|
|
73
|
-
width: 40px;
|
|
74
|
-
height: 40px;
|
|
75
|
-
img {
|
|
76
|
-
border-radius: 4px;
|
|
77
|
-
border: 1px solid #eee;
|
|
78
|
-
object-fit: contain;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.bottom-section {
|
|
85
|
-
border-top: 1px solid #eee;
|
|
86
|
-
background-color: #fff;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.van-list {
|
|
90
|
-
flex: 1;
|
|
91
|
-
overflow-y: auto;
|
|
92
|
-
padding: 0 16px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.org-content-wrap {
|
|
96
|
-
flex: 1;
|
|
97
|
-
display: flex;
|
|
98
|
-
flex-direction: column;
|
|
99
|
-
overflow: hidden;
|
|
100
|
-
position: relative;
|
|
101
|
-
padding-top: 4px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.feed-list-wrap {
|
|
105
|
-
flex: 1;
|
|
106
|
-
display: flex;
|
|
107
|
-
overflow: hidden;
|
|
108
|
-
position: relative;
|
|
109
|
-
justify-content: center;
|
|
110
|
-
}
|
|
111
|
-
.search-result-list {
|
|
112
|
-
position: absolute;
|
|
113
|
-
top: 0; /* Adjust based on search bar and breadcrumb height */
|
|
114
|
-
left: 0;
|
|
115
|
-
right: 0;
|
|
116
|
-
bottom: 0; /* Adjust based on bottom section height if multiple is true */
|
|
117
|
-
z-index: 1;
|
|
118
|
-
background-color: #fff; /* Ensure background is white */
|
|
119
|
-
overflow-y: auto;
|
|
120
|
-
padding: 0 16px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.org-item {
|
|
124
|
-
padding: 12px 0;
|
|
125
|
-
border-bottom: 1px solid #eee;
|
|
126
|
-
cursor: pointer;
|
|
127
|
-
display: flex;
|
|
128
|
-
align-items: center;
|
|
129
|
-
gap: 12px;
|
|
130
|
-
|
|
131
|
-
.org-item-select-icon {
|
|
132
|
-
display: none;
|
|
133
|
-
padding-left: 4px;
|
|
134
|
-
}
|
|
135
|
-
&.selected {
|
|
136
|
-
color: var(--van-primary-color);
|
|
137
|
-
.org-item-select-icon {
|
|
138
|
-
display: inline;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.org-avatar {
|
|
143
|
-
flex-shrink: 0;
|
|
144
|
-
width: 40px;
|
|
145
|
-
height: 40px;
|
|
146
|
-
display: flex;
|
|
147
|
-
align-items: center;
|
|
148
|
-
justify-content: center;
|
|
149
|
-
img {
|
|
150
|
-
border-radius: 4px;
|
|
151
|
-
border: 1px solid #eee;
|
|
152
|
-
object-fit: contain;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.org-name {
|
|
157
|
-
font-size: 14px;
|
|
158
|
-
flex: 1;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&:last-child {
|
|
162
|
-
border-bottom: none;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.action-buttons {
|
|
167
|
-
padding: 16px;
|
|
168
|
-
display: flex;
|
|
169
|
-
justify-content: center;
|
|
170
|
-
|
|
171
|
-
.confirm-button {
|
|
172
|
-
background-color: var(--van-primary-color);
|
|
173
|
-
color: white;
|
|
174
|
-
padding: 10px 0;
|
|
175
|
-
border-radius: 4px;
|
|
176
|
-
text-align: center;
|
|
177
|
-
width: 100%;
|
|
178
|
-
font-size: 14px;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
1
|
+
:root:root {
|
|
2
|
+
--van-action-sheet-max-height: 100%;
|
|
3
|
+
}
|
|
4
|
+
.org-list {
|
|
5
|
+
height: 85vh;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
|
|
9
|
+
.highlight {
|
|
10
|
+
color: var(--van-primary-color);
|
|
11
|
+
font-weight: bold;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.breadcrumb-nav {
|
|
15
|
+
margin-bottom: 4px;
|
|
16
|
+
padding: 2px 16px;
|
|
17
|
+
border-radius: 4px;
|
|
18
|
+
font-size: 12px;
|
|
19
|
+
|
|
20
|
+
.dept-name {
|
|
21
|
+
&.current-dept {
|
|
22
|
+
color: #969799; /* 提示文字颜色 */
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.separator {
|
|
27
|
+
color: #969799;
|
|
28
|
+
margin: 0 4px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.search-bar {
|
|
33
|
+
position: sticky;
|
|
34
|
+
top: 0;
|
|
35
|
+
z-index: 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.org-selected-items {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-wrap: nowrap;
|
|
41
|
+
padding: 12px 16px;
|
|
42
|
+
gap: 12px;
|
|
43
|
+
background-color: #fff;
|
|
44
|
+
overflow-x: auto;
|
|
45
|
+
height: 68px;
|
|
46
|
+
border-bottom: 1px solid #eee;
|
|
47
|
+
|
|
48
|
+
.selected-tag {
|
|
49
|
+
flex-shrink: 0;
|
|
50
|
+
background: none;
|
|
51
|
+
border: none;
|
|
52
|
+
padding: 0;
|
|
53
|
+
margin: 0;
|
|
54
|
+
position: relative;
|
|
55
|
+
.close-icon {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 0;
|
|
58
|
+
right: 0;
|
|
59
|
+
z-index: 1;
|
|
60
|
+
background-color: #fff;
|
|
61
|
+
border-radius: 50%;
|
|
62
|
+
border: 1px solid #eee;
|
|
63
|
+
width: 10px;
|
|
64
|
+
height: 10px;
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
font-size: 6px;
|
|
69
|
+
color: #969799;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.tag-avatar {
|
|
73
|
+
width: 40px;
|
|
74
|
+
height: 40px;
|
|
75
|
+
img {
|
|
76
|
+
border-radius: 4px;
|
|
77
|
+
border: 1px solid #eee;
|
|
78
|
+
object-fit: contain;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.bottom-section {
|
|
85
|
+
border-top: 1px solid #eee;
|
|
86
|
+
background-color: #fff;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.van-list {
|
|
90
|
+
flex: 1;
|
|
91
|
+
overflow-y: auto;
|
|
92
|
+
padding: 0 16px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.org-content-wrap {
|
|
96
|
+
flex: 1;
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
position: relative;
|
|
101
|
+
padding-top: 4px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.feed-list-wrap {
|
|
105
|
+
flex: 1;
|
|
106
|
+
display: flex;
|
|
107
|
+
overflow: hidden;
|
|
108
|
+
position: relative;
|
|
109
|
+
justify-content: center;
|
|
110
|
+
}
|
|
111
|
+
.search-result-list {
|
|
112
|
+
position: absolute;
|
|
113
|
+
top: 0; /* Adjust based on search bar and breadcrumb height */
|
|
114
|
+
left: 0;
|
|
115
|
+
right: 0;
|
|
116
|
+
bottom: 0; /* Adjust based on bottom section height if multiple is true */
|
|
117
|
+
z-index: 1;
|
|
118
|
+
background-color: #fff; /* Ensure background is white */
|
|
119
|
+
overflow-y: auto;
|
|
120
|
+
padding: 0 16px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.org-item {
|
|
124
|
+
padding: 12px 0;
|
|
125
|
+
border-bottom: 1px solid #eee;
|
|
126
|
+
cursor: pointer;
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
gap: 12px;
|
|
130
|
+
|
|
131
|
+
.org-item-select-icon {
|
|
132
|
+
display: none;
|
|
133
|
+
padding-left: 4px;
|
|
134
|
+
}
|
|
135
|
+
&.selected {
|
|
136
|
+
color: var(--van-primary-color);
|
|
137
|
+
.org-item-select-icon {
|
|
138
|
+
display: inline;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.org-avatar {
|
|
143
|
+
flex-shrink: 0;
|
|
144
|
+
width: 40px;
|
|
145
|
+
height: 40px;
|
|
146
|
+
display: flex;
|
|
147
|
+
align-items: center;
|
|
148
|
+
justify-content: center;
|
|
149
|
+
img {
|
|
150
|
+
border-radius: 4px;
|
|
151
|
+
border: 1px solid #eee;
|
|
152
|
+
object-fit: contain;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.org-name {
|
|
157
|
+
font-size: 14px;
|
|
158
|
+
flex: 1;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&:last-child {
|
|
162
|
+
border-bottom: none;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.action-buttons {
|
|
167
|
+
padding: 16px;
|
|
168
|
+
display: flex;
|
|
169
|
+
justify-content: center;
|
|
170
|
+
|
|
171
|
+
.confirm-button {
|
|
172
|
+
background-color: var(--van-primary-color);
|
|
173
|
+
color: white;
|
|
174
|
+
padding: 10px 0;
|
|
175
|
+
border-radius: 4px;
|
|
176
|
+
text-align: center;
|
|
177
|
+
width: 100%;
|
|
178
|
+
font-size: 14px;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
package/lib/org-picker/useApi.js
CHANGED
|
@@ -55,7 +55,7 @@ const fetchData = (url, cacheKey) => __async(void 0, null, function* () {
|
|
|
55
55
|
return res;
|
|
56
56
|
});
|
|
57
57
|
const fetchOrgList = (deptId) => __async(void 0, null, function* () {
|
|
58
|
-
const url = `https://wflow.
|
|
58
|
+
const url = `https://wflow.hrbbrg.cn/v1/oa/org/tree/cloud?deptId=${deptId}&type=user`;
|
|
59
59
|
return fetchData(url, deptId || "");
|
|
60
60
|
});
|
|
61
61
|
const userList = (0, import_vue.ref)([]);
|
|
@@ -106,7 +106,7 @@ const useApi = () => {
|
|
|
106
106
|
orgSearchList.value = [];
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
const url = `https://wflow.
|
|
109
|
+
const url = `https://wflow.hrbbrg.cn/v1/oa/org/tree/user/search/cloud?userName=${userName}`;
|
|
110
110
|
orgSearchList.value = yield fetchData(url);
|
|
111
111
|
}), 300);
|
|
112
112
|
const RECENT_SELECTED_USERS_KEY = "recent_selected_users_history";
|
|
@@ -122,7 +122,7 @@ const useApi = () => {
|
|
|
122
122
|
}
|
|
123
123
|
});
|
|
124
124
|
const url = decodeURIComponent(
|
|
125
|
-
`https://wflow.
|
|
125
|
+
`https://wflow.hrbbrg.cn/v1/wflow/process/form/wf687dda91e4b027b047d4654c/data?keywords=${name}_${user.userId}&pageNo=1&pageSize=20`
|
|
126
126
|
);
|
|
127
127
|
const res = yield fetchData(url);
|
|
128
128
|
let recentList = [];
|
|
@@ -159,10 +159,10 @@ const useApi = () => {
|
|
|
159
159
|
data.field5375578403639 = JSON.stringify(list);
|
|
160
160
|
}
|
|
161
161
|
if (dataId.value) {
|
|
162
|
-
url = `https://wflow.
|
|
162
|
+
url = `https://wflow.hrbbrg.cn/v1/wflow/process/form/wf687dda91e4b027b047d4654c/data/${dataId.value}`;
|
|
163
163
|
method = "PUT";
|
|
164
164
|
} else {
|
|
165
|
-
url = "https://wflow.
|
|
165
|
+
url = "https://wflow.hrbbrg.cn/v1/wflow/process/start/4e441786-65fa-11f0-aef7-ce938f4cd78d";
|
|
166
166
|
method = "POST";
|
|
167
167
|
}
|
|
168
168
|
const token = user.token;
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
:root:root {
|
|
2
|
-
--van-action-sheet-max-height: 100%;
|
|
3
|
-
}
|
|
4
|
-
.project-list {
|
|
5
|
-
height: 85vh;
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
|
|
9
|
-
.search-bar {
|
|
10
|
-
position: sticky;
|
|
11
|
-
top: 0;
|
|
12
|
-
z-index: 1;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.van-list {
|
|
16
|
-
flex: 1;
|
|
17
|
-
overflow-y: auto;
|
|
18
|
-
padding: 0 16px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.project-item {
|
|
22
|
-
padding: 12px 0;
|
|
23
|
-
border-bottom: 1px solid #eee;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
|
|
26
|
-
&.selected {
|
|
27
|
-
color: var(--van-primary-color);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.project-name {
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
|
|
33
|
-
.highlight {
|
|
34
|
-
color: var(--van-primary-color);
|
|
35
|
-
font-weight: bold;
|
|
36
|
-
padding: 0 2px;
|
|
37
|
-
border-radius: 2px;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&:last-child {
|
|
42
|
-
border-bottom: none;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
1
|
+
:root:root {
|
|
2
|
+
--van-action-sheet-max-height: 100%;
|
|
3
|
+
}
|
|
4
|
+
.project-list {
|
|
5
|
+
height: 85vh;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
|
|
9
|
+
.search-bar {
|
|
10
|
+
position: sticky;
|
|
11
|
+
top: 0;
|
|
12
|
+
z-index: 1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.van-list {
|
|
16
|
+
flex: 1;
|
|
17
|
+
overflow-y: auto;
|
|
18
|
+
padding: 0 16px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.project-item {
|
|
22
|
+
padding: 12px 0;
|
|
23
|
+
border-bottom: 1px solid #eee;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
|
|
26
|
+
&.selected {
|
|
27
|
+
color: var(--van-primary-color);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.project-name {
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
|
|
33
|
+
.highlight {
|
|
34
|
+
color: var(--van-primary-color);
|
|
35
|
+
font-weight: bold;
|
|
36
|
+
padding: 0 2px;
|
|
37
|
+
border-radius: 2px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:last-child {
|
|
42
|
+
border-bottom: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -45,12 +45,9 @@ var import_core = require("@cgboiler/core");
|
|
|
45
45
|
const useApi = () => {
|
|
46
46
|
const projectList = (0, import_vue.ref)([]);
|
|
47
47
|
const getProjectList = () => __async(void 0, null, function* () {
|
|
48
|
-
const res = yield (0, import_core.useFetch)(
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
method: "GET"
|
|
52
|
-
}
|
|
53
|
-
);
|
|
48
|
+
const res = yield (0, import_core.useFetch)("https://wx.hrbbrg.cn/v1/note/projects", {
|
|
49
|
+
method: "GET"
|
|
50
|
+
});
|
|
54
51
|
if (res == null ? void 0 : res.d) {
|
|
55
52
|
projectList.value = res.d.filter((item) => item.projectName).map((item) => {
|
|
56
53
|
return {
|
package/lib/vue-sfc-shim.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare module '*.vue' {
|
|
2
|
-
// eslint-disable-next-line
|
|
3
|
-
import { DefineComponent } from 'vue'
|
|
4
|
-
const Component: DefineComponent
|
|
5
|
-
export default Component
|
|
6
|
-
}
|
|
7
|
-
declare module "marked";
|
|
8
|
-
declare module "katex";
|
|
1
|
+
declare module '*.vue' {
|
|
2
|
+
// eslint-disable-next-line
|
|
3
|
+
import { DefineComponent } from 'vue'
|
|
4
|
+
const Component: DefineComponent
|
|
5
|
+
export default Component
|
|
6
|
+
}
|
|
7
|
+
declare module "marked";
|
|
8
|
+
declare module "katex";
|
|
9
9
|
declare module "diff-match-patch";
|
package/lib/vue-tsx-shim.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import 'vue';
|
|
2
|
-
|
|
3
|
-
type EventHandler = (...args: any[]) => void;
|
|
4
|
-
|
|
5
|
-
declare module 'vue' {
|
|
6
|
-
interface ComponentCustomProps {
|
|
7
|
-
id?: string;
|
|
8
|
-
role?: string;
|
|
9
|
-
tabindex?: number;
|
|
10
|
-
onClick?: EventHandler;
|
|
11
|
-
onTouchend?: EventHandler;
|
|
12
|
-
onTouchmove?: EventHandler;
|
|
13
|
-
onTouchstart?: EventHandler;
|
|
14
|
-
onTouchcancel?: EventHandler;
|
|
15
|
-
onTouchmovePassive?: EventHandler;
|
|
16
|
-
onTouchstartPassive?: EventHandler;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface HTMLAttributes {
|
|
20
|
-
onTouchmovePassive?: EventHandler;
|
|
21
|
-
onTouchstartPassive?: EventHandler;
|
|
22
|
-
onClickCapture?: EventHandler;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
import 'vue';
|
|
2
|
+
|
|
3
|
+
type EventHandler = (...args: any[]) => void;
|
|
4
|
+
|
|
5
|
+
declare module 'vue' {
|
|
6
|
+
interface ComponentCustomProps {
|
|
7
|
+
id?: string;
|
|
8
|
+
role?: string;
|
|
9
|
+
tabindex?: number;
|
|
10
|
+
onClick?: EventHandler;
|
|
11
|
+
onTouchend?: EventHandler;
|
|
12
|
+
onTouchmove?: EventHandler;
|
|
13
|
+
onTouchstart?: EventHandler;
|
|
14
|
+
onTouchcancel?: EventHandler;
|
|
15
|
+
onTouchmovePassive?: EventHandler;
|
|
16
|
+
onTouchstartPassive?: EventHandler;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface HTMLAttributes {
|
|
20
|
+
onTouchmovePassive?: EventHandler;
|
|
21
|
+
onTouchstartPassive?: EventHandler;
|
|
22
|
+
onClickCapture?: EventHandler;
|
|
23
|
+
}
|
|
24
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cgboiler/biz-mobile",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"iOS >= 10"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
+
"@cgboiler/biz-basic": "^1.0.10",
|
|
45
46
|
"@tiptap/extension-collaboration": "3.0.0-beta.16",
|
|
46
47
|
"@tiptap/extension-table": "3.0.0-beta.5",
|
|
47
48
|
"@tiptap/extensions": "3.0.0-beta.5",
|
|
@@ -50,9 +51,8 @@
|
|
|
50
51
|
"@tiptap/vue-3": "3.0.0-beta.5",
|
|
51
52
|
"lodash-es": "^4.17.21",
|
|
52
53
|
"vant": "^4.9.19",
|
|
53
|
-
"@cgboiler/
|
|
54
|
-
"@cgboiler/
|
|
55
|
-
"@cgboiler/shared": "1.1.1"
|
|
54
|
+
"@cgboiler/shared": "1.1.1",
|
|
55
|
+
"@cgboiler/core": "1.2.6"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"dev": "cg-cli dev",
|