zyjj-web-sdk 1.1.2 → 1.1.3
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/lib/{APlayer.min-cYakPUtE.js → APlayer.min-C6eUvo87.js} +1 -1
- package/lib/{DPlayer.min-6i8RTupf.js → DPlayer.min--N3EyiyZ.js} +1 -1
- package/lib/{ElementTypeAlert-BN8F6PHX.js → ElementTypeAlert-D2XUeyVu.js} +1 -1
- package/lib/{ElementTypeAudio-CpOL1JSg.js → ElementTypeAudio-C6tNX7KG.js} +3 -3
- package/lib/{ElementTypeImage-CK4q6bI7.js → ElementTypeImage-DgwJWSdq.js} +2 -2
- package/lib/{ElementTypeImageList-DQon_M46.js → ElementTypeImageList-BUekmsgR.js} +2 -2
- package/lib/{ElementTypeInput-Mx1txBsc.js → ElementTypeInput-ho3VTwUY.js} +1 -1
- package/lib/{ElementTypeNumber-Be9gUlCJ.js → ElementTypeNumber-DOQ4eZUg.js} +1 -1
- package/lib/{ElementTypeSelect-TTtjEVOj.js → ElementTypeSelect-Dw7dRxZx.js} +1 -1
- package/lib/{ElementTypeText-ByyMD0FT.js → ElementTypeText-0IpMkUzr.js} +3 -3
- package/lib/{ElementTypeTextArea-CE2X9ol7.js → ElementTypeTextArea-D75agq-U.js} +1 -1
- package/lib/{ElementTypeUpload-O411cbP7.js → ElementTypeUpload-Chc6ZFsh.js} +1 -1
- package/lib/{ElementTypeVideo-D-c4fzS7.js → ElementTypeVideo-CFoEKGuu.js} +3 -3
- package/lib/api/api.d.ts +1 -0
- package/lib/{common-fg-GJh8W.js → common-aHiRc_Z1.js} +1 -1
- package/lib/{index-oS0LMsZ4.js → index-BIMdL_-7.js} +745 -727
- package/lib/{index-4CgKoZea.js → index-R1icPDui.js} +2 -2
- package/lib/index.d.ts +15 -6
- package/lib/index.js +1 -1
- package/lib/index.umd.cjs +46 -46
- package/lib/tool/utils.d.ts +8 -1
- package/lib/types/local-task.d.ts +4 -2
- package/package.json +3 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Z, p as ne, r as xn, s as xe, c as Mn, b as ue, d as sn, e as dr, m as R, f as H, g as gr, h as yr, i as cn, j as A, k as ee, n as Ee, l as Qe, o as De, q as xr, t as kr, v as It, u as br } from "./ElementTypeText-
|
|
2
|
-
import { c as _n, g as wr, j as Ke } from "./index-
|
|
1
|
+
import { a as Z, p as ne, r as xn, s as xe, c as Mn, b as ue, d as sn, e as dr, m as R, f as H, g as gr, h as yr, i as cn, j as A, k as ee, n as Ee, l as Qe, o as De, q as xr, t as kr, v as It, u as br } from "./ElementTypeText-0IpMkUzr.js";
|
|
2
|
+
import { c as _n, g as wr, j as Ke } from "./index-BIMdL_-7.js";
|
|
3
3
|
const Bn = document.createElement("i");
|
|
4
4
|
function kn(e) {
|
|
5
5
|
const n = "&" + e + ";";
|
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="ali-oss" />
|
|
1
2
|
import { FileSource, LocalTaskStatus, LocalActionReqType, LocalActionResType, LocalTaskEventType, TaskType } from "./types/local-task.ts";
|
|
2
3
|
import { CloudTaskStatus, ToolType } from "./types/cloud.ts";
|
|
3
4
|
import { MQTTEventType } from "./types/mqtt.ts";
|
|
@@ -64,12 +65,6 @@ export declare const Tool: {
|
|
|
64
65
|
utils: {
|
|
65
66
|
file2ToolParamFile: (file: File, no_path?: boolean | undefined) => import("./types/local-task.ts").ToolParamFile;
|
|
66
67
|
seconds2TimeStr: (seconds: number) => string;
|
|
67
|
-
getTencentInfo: () => Promise<{
|
|
68
|
-
cos: import("cos-js-sdk-v5");
|
|
69
|
-
path: string;
|
|
70
|
-
bucket: string;
|
|
71
|
-
region: string;
|
|
72
|
-
}>;
|
|
73
68
|
object2query: (data: {
|
|
74
69
|
[key: string]: any;
|
|
75
70
|
}) => string;
|
|
@@ -83,6 +78,20 @@ export declare const Tool: {
|
|
|
83
78
|
downloadFile: (url: string) => Promise<void>;
|
|
84
79
|
downloadFileDirect: (url: string, name?: string | undefined) => void;
|
|
85
80
|
};
|
|
81
|
+
cloud: {
|
|
82
|
+
getTencentCosInfo: () => Promise<{
|
|
83
|
+
cos: import("cos-js-sdk-v5");
|
|
84
|
+
path: string;
|
|
85
|
+
bucket: string;
|
|
86
|
+
region: string;
|
|
87
|
+
}>;
|
|
88
|
+
getAliYunOssInfo: () => Promise<{
|
|
89
|
+
oss: import("ali-oss");
|
|
90
|
+
path: string;
|
|
91
|
+
bucket: string;
|
|
92
|
+
region: string;
|
|
93
|
+
}>;
|
|
94
|
+
};
|
|
86
95
|
db: {
|
|
87
96
|
addTask: (data: import("./types/local-task.ts").LocalTaskInfo, table?: string) => Promise<IDBValidKey>;
|
|
88
97
|
getAllData: <T>(table?: string) => Promise<T[]>;
|
package/lib/index.js
CHANGED