inl-ui 0.1.170 → 0.1.171
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/dist/components/index.cjs +9 -8
- package/dist/components/index.js +9 -8
- package/dist/index.cjs +9 -8
- package/dist/index.d.ts +5 -0
- package/dist/index.js +9 -8
- package/dist/utils/index.cjs +8 -8
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/index.js +8 -8
- package/dist/video/index.cjs +1 -0
- package/dist/video/index.js +1 -0
- package/dist/videoMobile/index.cjs +1 -0
- package/dist/videoMobile/index.js +1 -0
- package/package.json +1 -1
|
@@ -88,20 +88,20 @@ const getUserinfo = () => {
|
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
const getCommonHeaders = () => {
|
|
91
|
-
getUserinfo();
|
|
92
|
-
getUserId();
|
|
91
|
+
const userInfo = getUserinfo();
|
|
92
|
+
const userId = getUserId();
|
|
93
93
|
const token = getToken();
|
|
94
94
|
const appId = getAppId();
|
|
95
|
-
getCorpId();
|
|
95
|
+
const corpId = getCorpId();
|
|
96
96
|
const Authorization = `Bearer ${token}`;
|
|
97
97
|
return {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
98
|
+
userName: userInfo?.userName,
|
|
99
|
+
userId: userInfo?.userId || userId,
|
|
100
|
+
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
101
|
+
employeeId: userInfo?.employeeId,
|
|
102
102
|
token,
|
|
103
103
|
appId,
|
|
104
|
-
|
|
104
|
+
corpId,
|
|
105
105
|
Authorization,
|
|
106
106
|
"Content-Type": "application/json;charset=utf-8"
|
|
107
107
|
};
|
|
@@ -9028,6 +9028,7 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
9028
9028
|
if ("stopPlay" in play) {
|
|
9029
9029
|
play.stopPlay(`videoPlayer_${uuid}`);
|
|
9030
9030
|
}
|
|
9031
|
+
release();
|
|
9031
9032
|
};
|
|
9032
9033
|
const init = () => {
|
|
9033
9034
|
let camera = videoInfo2.value;
|
package/dist/components/index.js
CHANGED
|
@@ -59,20 +59,20 @@ const getUserinfo = () => {
|
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
const getCommonHeaders = () => {
|
|
62
|
-
getUserinfo();
|
|
63
|
-
getUserId();
|
|
62
|
+
const userInfo = getUserinfo();
|
|
63
|
+
const userId = getUserId();
|
|
64
64
|
const token = getToken();
|
|
65
65
|
const appId = getAppId();
|
|
66
|
-
getCorpId();
|
|
66
|
+
const corpId = getCorpId();
|
|
67
67
|
const Authorization = `Bearer ${token}`;
|
|
68
68
|
return {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
userName: userInfo?.userName,
|
|
70
|
+
userId: userInfo?.userId || userId,
|
|
71
|
+
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
72
|
+
employeeId: userInfo?.employeeId,
|
|
73
73
|
token,
|
|
74
74
|
appId,
|
|
75
|
-
|
|
75
|
+
corpId,
|
|
76
76
|
Authorization,
|
|
77
77
|
"Content-Type": "application/json;charset=utf-8"
|
|
78
78
|
};
|
|
@@ -8999,6 +8999,7 @@ const VideoPlayerV2 = defineComponent({
|
|
|
8999
8999
|
if ("stopPlay" in play) {
|
|
9000
9000
|
play.stopPlay(`videoPlayer_${uuid}`);
|
|
9001
9001
|
}
|
|
9002
|
+
release();
|
|
9002
9003
|
};
|
|
9003
9004
|
const init = () => {
|
|
9004
9005
|
let camera = videoInfo2.value;
|
package/dist/index.cjs
CHANGED
|
@@ -227,20 +227,20 @@ const getUserinfo = () => {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
const getCommonHeaders = () => {
|
|
230
|
-
getUserinfo();
|
|
231
|
-
getUserId();
|
|
230
|
+
const userInfo = getUserinfo();
|
|
231
|
+
const userId = getUserId();
|
|
232
232
|
const token = getToken();
|
|
233
233
|
const appId = getAppId();
|
|
234
|
-
getCorpId();
|
|
234
|
+
const corpId = getCorpId();
|
|
235
235
|
const Authorization = `Bearer ${token}`;
|
|
236
236
|
return {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
userName: userInfo?.userName,
|
|
238
|
+
userId: userInfo?.userId || userId,
|
|
239
|
+
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
240
|
+
employeeId: userInfo?.employeeId,
|
|
241
241
|
token,
|
|
242
242
|
appId,
|
|
243
|
-
|
|
243
|
+
corpId,
|
|
244
244
|
Authorization,
|
|
245
245
|
"Content-Type": "application/json;charset=utf-8"
|
|
246
246
|
};
|
|
@@ -10014,6 +10014,7 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
10014
10014
|
if ("stopPlay" in play) {
|
|
10015
10015
|
play.stopPlay(`videoPlayer_${uuid}`);
|
|
10016
10016
|
}
|
|
10017
|
+
release();
|
|
10017
10018
|
};
|
|
10018
10019
|
const init = () => {
|
|
10019
10020
|
let camera = videoInfo2.value;
|
package/dist/index.d.ts
CHANGED
|
@@ -78,8 +78,13 @@ interface IApiInstanceConfig extends AxiosRequestConfig {
|
|
|
78
78
|
* keepProperty: boolean; 保留多余的属性,如createUser
|
|
79
79
|
*/
|
|
80
80
|
declare const getCommonHeaders: () => {
|
|
81
|
+
userName: any;
|
|
82
|
+
userId: any;
|
|
83
|
+
employeeName: string;
|
|
84
|
+
employeeId: any;
|
|
81
85
|
token: string;
|
|
82
86
|
appId: any;
|
|
87
|
+
corpId: any;
|
|
83
88
|
Authorization: string;
|
|
84
89
|
"Content-Type": string;
|
|
85
90
|
};
|
package/dist/index.js
CHANGED
|
@@ -196,20 +196,20 @@ const getUserinfo = () => {
|
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
const getCommonHeaders = () => {
|
|
199
|
-
getUserinfo();
|
|
200
|
-
getUserId();
|
|
199
|
+
const userInfo = getUserinfo();
|
|
200
|
+
const userId = getUserId();
|
|
201
201
|
const token = getToken();
|
|
202
202
|
const appId = getAppId();
|
|
203
|
-
getCorpId();
|
|
203
|
+
const corpId = getCorpId();
|
|
204
204
|
const Authorization = `Bearer ${token}`;
|
|
205
205
|
return {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
206
|
+
userName: userInfo?.userName,
|
|
207
|
+
userId: userInfo?.userId || userId,
|
|
208
|
+
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
209
|
+
employeeId: userInfo?.employeeId,
|
|
210
210
|
token,
|
|
211
211
|
appId,
|
|
212
|
-
|
|
212
|
+
corpId,
|
|
213
213
|
Authorization,
|
|
214
214
|
"Content-Type": "application/json;charset=utf-8"
|
|
215
215
|
};
|
|
@@ -9983,6 +9983,7 @@ const VideoPlayerV2 = defineComponent({
|
|
|
9983
9983
|
if ("stopPlay" in play) {
|
|
9984
9984
|
play.stopPlay(`videoPlayer_${uuid}`);
|
|
9985
9985
|
}
|
|
9986
|
+
release();
|
|
9986
9987
|
};
|
|
9987
9988
|
const init = () => {
|
|
9988
9989
|
let camera = videoInfo2.value;
|
package/dist/utils/index.cjs
CHANGED
|
@@ -213,20 +213,20 @@ const getUserinfo = () => {
|
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
const getCommonHeaders = () => {
|
|
216
|
-
getUserinfo();
|
|
217
|
-
getUserId();
|
|
216
|
+
const userInfo = getUserinfo();
|
|
217
|
+
const userId = getUserId();
|
|
218
218
|
const token = getToken();
|
|
219
219
|
const appId = getAppId();
|
|
220
|
-
getCorpId();
|
|
220
|
+
const corpId = getCorpId();
|
|
221
221
|
const Authorization = `Bearer ${token}`;
|
|
222
222
|
return {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
223
|
+
userName: userInfo?.userName,
|
|
224
|
+
userId: userInfo?.userId || userId,
|
|
225
|
+
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
226
|
+
employeeId: userInfo?.employeeId,
|
|
227
227
|
token,
|
|
228
228
|
appId,
|
|
229
|
-
|
|
229
|
+
corpId,
|
|
230
230
|
Authorization,
|
|
231
231
|
"Content-Type": "application/json;charset=utf-8"
|
|
232
232
|
};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -69,8 +69,13 @@ interface IApiInstanceConfig extends AxiosRequestConfig {
|
|
|
69
69
|
* keepProperty: boolean; 保留多余的属性,如createUser
|
|
70
70
|
*/
|
|
71
71
|
declare const getCommonHeaders: () => {
|
|
72
|
+
userName: any;
|
|
73
|
+
userId: any;
|
|
74
|
+
employeeName: string;
|
|
75
|
+
employeeId: any;
|
|
72
76
|
token: string;
|
|
73
77
|
appId: any;
|
|
78
|
+
corpId: any;
|
|
74
79
|
Authorization: string;
|
|
75
80
|
"Content-Type": string;
|
|
76
81
|
};
|
package/dist/utils/index.js
CHANGED
|
@@ -185,20 +185,20 @@ const getUserinfo = () => {
|
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
const getCommonHeaders = () => {
|
|
188
|
-
getUserinfo();
|
|
189
|
-
getUserId();
|
|
188
|
+
const userInfo = getUserinfo();
|
|
189
|
+
const userId = getUserId();
|
|
190
190
|
const token = getToken();
|
|
191
191
|
const appId = getAppId();
|
|
192
|
-
getCorpId();
|
|
192
|
+
const corpId = getCorpId();
|
|
193
193
|
const Authorization = `Bearer ${token}`;
|
|
194
194
|
return {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
195
|
+
userName: userInfo?.userName,
|
|
196
|
+
userId: userInfo?.userId || userId,
|
|
197
|
+
employeeName: encodeURIComponent(userInfo?.employeeName ?? ""),
|
|
198
|
+
employeeId: userInfo?.employeeId,
|
|
199
199
|
token,
|
|
200
200
|
appId,
|
|
201
|
-
|
|
201
|
+
corpId,
|
|
202
202
|
Authorization,
|
|
203
203
|
"Content-Type": "application/json;charset=utf-8"
|
|
204
204
|
};
|
package/dist/video/index.cjs
CHANGED
package/dist/video/index.js
CHANGED