@das-fed/utils 6.3.0-beta.0 → 6.3.0-beta.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/atob/index.d.ts +2 -2
- package/common-info/index.d.ts +1 -1
- package/common-info/index.js +2 -4
- package/common-info/index.js.gz +0 -0
- package/create-api-service/index.js +255 -295
- package/create-api-service/index.js.gz +0 -0
- package/curring-http/index.js +1626 -4809
- package/curring-http/index.js.gz +0 -0
- package/dom-check-in/index.js +5 -5
- package/dom-watcher/index.d.ts +1 -1
- package/esm-map.json +8 -0
- package/load-js/index.d.ts +1 -1
- package/load-js/index.js +1 -2
- package/nextTiken/index.js +5 -10
- package/nextTiken/index.js.gz +0 -0
- package/oss/index.d.ts +1 -1
- package/oss/index.js +1 -2
- package/package.json +10 -3
- package/pinyin-first-character/index.js +45 -50
- package/pinyin-first-character/index.js.gz +0 -0
- package/style/index.js +5 -9
- package/style/index.js.gz +0 -0
- package/style/style.d.ts +3 -3
- package/token-tools/index.d.ts +1 -1
- package/token-tools/index.js.gz +0 -0
- package/use-low-code/index.js +1 -2
- package/use-low-code/index.js.gz +0 -0
- package/webSocket-service/index.js +41 -52
- package/webSocket-service/index.js.gz +0 -0
- package/with-install/index.d.ts +1 -1
- package/api-services/modules/app-manage.d.ts +0 -2
- package/api-services/modules/app-manage.js +0 -5
- package/api-services/modules/authentication.d.ts +0 -2
- package/api-services/modules/authentication.js +0 -5
- package/api-services/modules/bems.d.ts +0 -6
- package/api-services/modules/bems.js +0 -9
- package/api-services/modules/contract.d.ts +0 -2
- package/api-services/modules/contract.js +0 -5
- package/api-services/modules/duty-manage.d.ts +0 -7
- package/api-services/modules/duty-manage.js +0 -14
- package/api-services/modules/enterpriseright.d.ts +0 -2
- package/api-services/modules/enterpriseright.js +0 -5
- package/api-services/modules/file.d.ts +0 -36
- package/api-services/modules/file.js +0 -517
- package/api-services/modules/gateway-edge.d.ts +0 -2
- package/api-services/modules/gateway-edge.js +0 -5
- package/api-services/modules/index.d.ts +0 -21
- package/api-services/modules/index.js +0 -59
- package/api-services/modules/iot.d.ts +0 -15
- package/api-services/modules/iot.js +0 -18
- package/api-services/modules/justauth.d.ts +0 -3
- package/api-services/modules/justauth.js +0 -6
- package/api-services/modules/knowledge.d.ts +0 -2
- package/api-services/modules/knowledge.js +0 -5
- package/api-services/modules/link.d.ts +0 -2
- package/api-services/modules/link.js +0 -5
- package/api-services/modules/permission.d.ts +0 -2
- package/api-services/modules/permission.js +0 -5
- package/api-services/modules/platformManage.d.ts +0 -14
- package/api-services/modules/platformManage.js +0 -13
- package/api-services/modules/portal.d.ts +0 -2
- package/api-services/modules/portal.js +0 -5
- package/api-services/modules/space-manage.d.ts +0 -2
- package/api-services/modules/space-manage.js +0 -5
- package/api-services/modules/super-admin.d.ts +0 -8
- package/api-services/modules/super-admin.js +0 -8
- package/api-services/modules/supplier.d.ts +0 -6
- package/api-services/modules/supplier.js +0 -7
- package/api-services/modules/supplychain-manage.d.ts +0 -2
- package/api-services/modules/supplychain-manage.js +0 -5
- package/api-services/modules/systemConfiguration.d.ts +0 -2
- package/api-services/modules/systemConfiguration.js +0 -5
- package/api-services/modules/tool.d.ts +0 -2
- package/api-services/modules/tool.js +0 -5
- package/api-services/src/create-service.d.ts +0 -1
- package/api-services/src/create-service.js +0 -4
- package/common-info/getIframeUrl.d.ts +0 -9
- package/common-info/getIframeUrl.js +0 -11
- package/common-info/getInfoFromUrl.d.ts +0 -8
- package/common-info/getInfoFromUrl.js +0 -85
- package/common-info/set-personal-info.d.ts +0 -5
- package/common-info/set-personal-info.js +0 -1678
- package/common-tools/arr-tools.d.ts +0 -15
- package/common-tools/arr-tools.js +0 -8
- package/common-tools/date-format.d.ts +0 -7
- package/common-tools/date-format.js +0 -19
- package/common-tools/get-url-params.d.ts +0 -46
- package/common-tools/get-url-params.js +0 -62
- package/common-tools/handle-data.d.ts +0 -6
- package/common-tools/handle-data.js +0 -4
- package/common-tools/nest-tree-format.d.ts +0 -30
- package/common-tools/nest-tree-format.js +0 -26
- package/common-tools/obj-tools.d.ts +0 -7
- package/common-tools/obj-tools.js +0 -20
- package/common-tools/platform-tools.d.ts +0 -18
- package/common-tools/platform-tools.js +0 -15
- package/common-tools/queue-promise.d.ts +0 -6
- package/common-tools/queue-promise.js +0 -9
- package/common-tools/setHtmlMinWH.d.ts +0 -5
- package/common-tools/setHtmlMinWH.js +0 -11
- package/common-tools/update-fav-icon.d.ts +0 -10
- package/common-tools/update-fav-icon.js +0 -22
- package/create-api-service/proxy-sso.d.ts +0 -3
- package/create-api-service/proxy-sso.js +0 -21
- package/create-api-service/sso.d.ts +0 -23
- package/create-api-service/sso.js +0 -1969
- package/dimple-canvas/use-dimple-canvas/core/antv-x6/index.d.ts +0 -29
- package/dimple-canvas/use-dimple-canvas/core/antv-x6/index.js +0 -19925
- package/dimple-canvas/use-dimple-canvas/core/konva/index.d.ts +0 -54
- package/dimple-canvas/use-dimple-canvas/core/konva/index.js +0 -119
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/add-event-listener.d.ts +0 -101
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/add-event-listener.js +0 -17
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/add-object/index.d.ts +0 -8
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/add-object/index.js +0 -55
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/create-canvas.d.ts +0 -5
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/create-canvas.js +0 -14
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/find.d.ts +0 -5
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/find.js +0 -5
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/guideline.d.ts +0 -5
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/guideline.js +0 -181
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/lib.d.ts +0 -4
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/lib.js +0 -7402
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/load-json.d.ts +0 -6
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/load-json.js +0 -13
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/remove-object.d.ts +0 -4
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/remove-object.js +0 -7
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/rule.d.ts +0 -8
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/rule.js +0 -193
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/transform-axis.d.ts +0 -11
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/transform-axis.js +0 -20
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/transformer.d.ts +0 -5
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/transformer.js +0 -52
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/wheel-zoom.d.ts +0 -2
- package/dimple-canvas/use-dimple-canvas/core/konva/utils/wheel-zoom.js +0 -14
- package/dimple-canvas/use-dimple-canvas/index.d.ts +0 -9
- package/dimple-canvas/use-dimple-canvas/index.js +0 -10
- package/directive/auth.d.ts +0 -8
- package/directive/auth.js +0 -64
- package/directive/clickOutside.d.ts +0 -6
- package/directive/clickOutside.js +0 -27
- package/directive/hoverInside.d.ts +0 -6
- package/directive/hoverInside.js +0 -21
- package/directive/utils.d.ts +0 -7
- package/directive/utils.js +0 -7
- package/hooks/popup-manager/use-zindex.d.ts +0 -5
- package/hooks/popup-manager/use-zindex.js +0 -22
- package/hooks/use-get-auth/apis.d.ts +0 -4
- package/hooks/use-get-auth/apis.js +0 -8
- package/hooks/use-get-auth/index.d.ts +0 -9
- package/hooks/use-get-auth/index.js +0 -57
- package/style/math.js +0 -17
- package/style/style.js +0 -61
- package/vue/hooks/use-model-value.d.ts +0 -3
- package/vue/hooks/use-model-value.js +0 -10
|
@@ -1,517 +0,0 @@
|
|
|
1
|
-
import { iotMinio as G, iotProgress as te } from "@das-fed/utils/api-services/modules/iot";
|
|
2
|
-
import { ref as C } from "vue";
|
|
3
|
-
import { getConfig as Q } from "@das-fed/utils/config";
|
|
4
|
-
let re = (l = 21) => {
|
|
5
|
-
let v = "", $ = crypto.getRandomValues(new Uint8Array(l));
|
|
6
|
-
for (; l--; ) {
|
|
7
|
-
let c = $[l] & 63;
|
|
8
|
-
c < 36 ? v += c.toString(36) : c < 62 ? v += (c - 26).toString(36).toUpperCase() : c < 63 ? v += "_" : v += "-";
|
|
9
|
-
}
|
|
10
|
-
return v;
|
|
11
|
-
};
|
|
12
|
-
var se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
13
|
-
function ne(l) {
|
|
14
|
-
return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l;
|
|
15
|
-
}
|
|
16
|
-
var ee = { exports: {} };
|
|
17
|
-
(function(l, v) {
|
|
18
|
-
(function($, c) {
|
|
19
|
-
l.exports = c();
|
|
20
|
-
})(se, function() {
|
|
21
|
-
var $ = 1e3, c = 6e4, j = 36e5, M = "millisecond", T = "second", b = "minute", _ = "hour", y = "day", Y = "week", D = "month", R = "quarter", k = "year", P = "date", B = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Z = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, F = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t) {
|
|
22
|
-
var r = ["th", "st", "nd", "rd"], e = t % 100;
|
|
23
|
-
return "[" + t + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
|
24
|
-
} }, E = function(t, r, e) {
|
|
25
|
-
var n = String(t);
|
|
26
|
-
return !n || n.length >= r ? t : "" + Array(r + 1 - n.length).join(e) + t;
|
|
27
|
-
}, z = { s: E, z: function(t) {
|
|
28
|
-
var r = -t.utcOffset(), e = Math.abs(r), n = Math.floor(e / 60), s = e % 60;
|
|
29
|
-
return (r <= 0 ? "+" : "-") + E(n, 2, "0") + ":" + E(s, 2, "0");
|
|
30
|
-
}, m: function t(r, e) {
|
|
31
|
-
if (r.date() < e.date())
|
|
32
|
-
return -t(e, r);
|
|
33
|
-
var n = 12 * (e.year() - r.year()) + (e.month() - r.month()), s = r.clone().add(n, D), i = e - s < 0, u = r.clone().add(n + (i ? -1 : 1), D);
|
|
34
|
-
return +(-(n + (e - s) / (i ? s - u : u - s)) || 0);
|
|
35
|
-
}, a: function(t) {
|
|
36
|
-
return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
|
|
37
|
-
}, p: function(t) {
|
|
38
|
-
return { M: D, y: k, w: Y, d: y, D: P, h: _, m: b, s: T, ms: M, Q: R }[t] || String(t || "").toLowerCase().replace(/s$/, "");
|
|
39
|
-
}, u: function(t) {
|
|
40
|
-
return t === void 0;
|
|
41
|
-
} }, I = "en", H = {};
|
|
42
|
-
H[I] = F;
|
|
43
|
-
var W = "$isDayjsObject", J = function(t) {
|
|
44
|
-
return t instanceof h || !(!t || !t[W]);
|
|
45
|
-
}, f = function t(r, e, n) {
|
|
46
|
-
var s;
|
|
47
|
-
if (!r)
|
|
48
|
-
return I;
|
|
49
|
-
if (typeof r == "string") {
|
|
50
|
-
var i = r.toLowerCase();
|
|
51
|
-
H[i] && (s = i), e && (H[i] = e, s = i);
|
|
52
|
-
var u = r.split("-");
|
|
53
|
-
if (!s && u.length > 1)
|
|
54
|
-
return t(u[0]);
|
|
55
|
-
} else {
|
|
56
|
-
var d = r.name;
|
|
57
|
-
H[d] = r, s = d;
|
|
58
|
-
}
|
|
59
|
-
return !n && s && (I = s), s || !n && I;
|
|
60
|
-
}, a = function(t, r) {
|
|
61
|
-
if (J(t))
|
|
62
|
-
return t.clone();
|
|
63
|
-
var e = typeof r == "object" ? r : {};
|
|
64
|
-
return e.date = t, e.args = arguments, new h(e);
|
|
65
|
-
}, o = z;
|
|
66
|
-
o.l = f, o.i = J, o.w = function(t, r) {
|
|
67
|
-
return a(t, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
68
|
-
};
|
|
69
|
-
var h = function() {
|
|
70
|
-
function t(e) {
|
|
71
|
-
this.$L = f(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[W] = !0;
|
|
72
|
-
}
|
|
73
|
-
var r = t.prototype;
|
|
74
|
-
return r.parse = function(e) {
|
|
75
|
-
this.$d = function(n) {
|
|
76
|
-
var s = n.date, i = n.utc;
|
|
77
|
-
if (s === null)
|
|
78
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
79
|
-
if (o.u(s))
|
|
80
|
-
return /* @__PURE__ */ new Date();
|
|
81
|
-
if (s instanceof Date)
|
|
82
|
-
return new Date(s);
|
|
83
|
-
if (typeof s == "string" && !/Z$/i.test(s)) {
|
|
84
|
-
var u = s.match(q);
|
|
85
|
-
if (u) {
|
|
86
|
-
var d = u[2] - 1 || 0, p = (u[7] || "0").substring(0, 3);
|
|
87
|
-
return i ? new Date(Date.UTC(u[1], d, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, p)) : new Date(u[1], d, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, p);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
return new Date(s);
|
|
91
|
-
}(e), this.init();
|
|
92
|
-
}, r.init = function() {
|
|
93
|
-
var e = this.$d;
|
|
94
|
-
this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
|
|
95
|
-
}, r.$utils = function() {
|
|
96
|
-
return o;
|
|
97
|
-
}, r.isValid = function() {
|
|
98
|
-
return this.$d.toString() !== B;
|
|
99
|
-
}, r.isSame = function(e, n) {
|
|
100
|
-
var s = a(e);
|
|
101
|
-
return this.startOf(n) <= s && s <= this.endOf(n);
|
|
102
|
-
}, r.isAfter = function(e, n) {
|
|
103
|
-
return a(e) < this.startOf(n);
|
|
104
|
-
}, r.isBefore = function(e, n) {
|
|
105
|
-
return this.endOf(n) < a(e);
|
|
106
|
-
}, r.$g = function(e, n, s) {
|
|
107
|
-
return o.u(e) ? this[n] : this.set(s, e);
|
|
108
|
-
}, r.unix = function() {
|
|
109
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
110
|
-
}, r.valueOf = function() {
|
|
111
|
-
return this.$d.getTime();
|
|
112
|
-
}, r.startOf = function(e, n) {
|
|
113
|
-
var s = this, i = !!o.u(n) || n, u = o.p(e), d = function(L, x) {
|
|
114
|
-
var N = o.w(s.$u ? Date.UTC(s.$y, x, L) : new Date(s.$y, x, L), s);
|
|
115
|
-
return i ? N : N.endOf(y);
|
|
116
|
-
}, p = function(L, x) {
|
|
117
|
-
return o.w(s.toDate()[L].apply(s.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(x)), s);
|
|
118
|
-
}, m = this.$W, g = this.$M, w = this.$D, A = "set" + (this.$u ? "UTC" : "");
|
|
119
|
-
switch (u) {
|
|
120
|
-
case k:
|
|
121
|
-
return i ? d(1, 0) : d(31, 11);
|
|
122
|
-
case D:
|
|
123
|
-
return i ? d(1, g) : d(0, g + 1);
|
|
124
|
-
case Y:
|
|
125
|
-
var O = this.$locale().weekStart || 0, U = (m < O ? m + 7 : m) - O;
|
|
126
|
-
return d(i ? w - U : w + (6 - U), g);
|
|
127
|
-
case y:
|
|
128
|
-
case P:
|
|
129
|
-
return p(A + "Hours", 0);
|
|
130
|
-
case _:
|
|
131
|
-
return p(A + "Minutes", 1);
|
|
132
|
-
case b:
|
|
133
|
-
return p(A + "Seconds", 2);
|
|
134
|
-
case T:
|
|
135
|
-
return p(A + "Milliseconds", 3);
|
|
136
|
-
default:
|
|
137
|
-
return this.clone();
|
|
138
|
-
}
|
|
139
|
-
}, r.endOf = function(e) {
|
|
140
|
-
return this.startOf(e, !1);
|
|
141
|
-
}, r.$set = function(e, n) {
|
|
142
|
-
var s, i = o.p(e), u = "set" + (this.$u ? "UTC" : ""), d = (s = {}, s[y] = u + "Date", s[P] = u + "Date", s[D] = u + "Month", s[k] = u + "FullYear", s[_] = u + "Hours", s[b] = u + "Minutes", s[T] = u + "Seconds", s[M] = u + "Milliseconds", s)[i], p = i === y ? this.$D + (n - this.$W) : n;
|
|
143
|
-
if (i === D || i === k) {
|
|
144
|
-
var m = this.clone().set(P, 1);
|
|
145
|
-
m.$d[d](p), m.init(), this.$d = m.set(P, Math.min(this.$D, m.daysInMonth())).$d;
|
|
146
|
-
} else
|
|
147
|
-
d && this.$d[d](p);
|
|
148
|
-
return this.init(), this;
|
|
149
|
-
}, r.set = function(e, n) {
|
|
150
|
-
return this.clone().$set(e, n);
|
|
151
|
-
}, r.get = function(e) {
|
|
152
|
-
return this[o.p(e)]();
|
|
153
|
-
}, r.add = function(e, n) {
|
|
154
|
-
var s, i = this;
|
|
155
|
-
e = Number(e);
|
|
156
|
-
var u = o.p(n), d = function(g) {
|
|
157
|
-
var w = a(i);
|
|
158
|
-
return o.w(w.date(w.date() + Math.round(g * e)), i);
|
|
159
|
-
};
|
|
160
|
-
if (u === D)
|
|
161
|
-
return this.set(D, this.$M + e);
|
|
162
|
-
if (u === k)
|
|
163
|
-
return this.set(k, this.$y + e);
|
|
164
|
-
if (u === y)
|
|
165
|
-
return d(1);
|
|
166
|
-
if (u === Y)
|
|
167
|
-
return d(7);
|
|
168
|
-
var p = (s = {}, s[b] = c, s[_] = j, s[T] = $, s)[u] || 1, m = this.$d.getTime() + e * p;
|
|
169
|
-
return o.w(m, this);
|
|
170
|
-
}, r.subtract = function(e, n) {
|
|
171
|
-
return this.add(-1 * e, n);
|
|
172
|
-
}, r.format = function(e) {
|
|
173
|
-
var n = this, s = this.$locale();
|
|
174
|
-
if (!this.isValid())
|
|
175
|
-
return s.invalidDate || B;
|
|
176
|
-
var i = e || "YYYY-MM-DDTHH:mm:ssZ", u = o.z(this), d = this.$H, p = this.$m, m = this.$M, g = s.weekdays, w = s.months, A = s.meridiem, O = function(x, N, K, V) {
|
|
177
|
-
return x && (x[N] || x(n, i)) || K[N].slice(0, V);
|
|
178
|
-
}, U = function(x) {
|
|
179
|
-
return o.s(d % 12 || 12, x, "0");
|
|
180
|
-
}, L = A || function(x, N, K) {
|
|
181
|
-
var V = x < 12 ? "AM" : "PM";
|
|
182
|
-
return K ? V.toLowerCase() : V;
|
|
183
|
-
};
|
|
184
|
-
return i.replace(Z, function(x, N) {
|
|
185
|
-
return N || function(K) {
|
|
186
|
-
switch (K) {
|
|
187
|
-
case "YY":
|
|
188
|
-
return String(n.$y).slice(-2);
|
|
189
|
-
case "YYYY":
|
|
190
|
-
return o.s(n.$y, 4, "0");
|
|
191
|
-
case "M":
|
|
192
|
-
return m + 1;
|
|
193
|
-
case "MM":
|
|
194
|
-
return o.s(m + 1, 2, "0");
|
|
195
|
-
case "MMM":
|
|
196
|
-
return O(s.monthsShort, m, w, 3);
|
|
197
|
-
case "MMMM":
|
|
198
|
-
return O(w, m);
|
|
199
|
-
case "D":
|
|
200
|
-
return n.$D;
|
|
201
|
-
case "DD":
|
|
202
|
-
return o.s(n.$D, 2, "0");
|
|
203
|
-
case "d":
|
|
204
|
-
return String(n.$W);
|
|
205
|
-
case "dd":
|
|
206
|
-
return O(s.weekdaysMin, n.$W, g, 2);
|
|
207
|
-
case "ddd":
|
|
208
|
-
return O(s.weekdaysShort, n.$W, g, 3);
|
|
209
|
-
case "dddd":
|
|
210
|
-
return g[n.$W];
|
|
211
|
-
case "H":
|
|
212
|
-
return String(d);
|
|
213
|
-
case "HH":
|
|
214
|
-
return o.s(d, 2, "0");
|
|
215
|
-
case "h":
|
|
216
|
-
return U(1);
|
|
217
|
-
case "hh":
|
|
218
|
-
return U(2);
|
|
219
|
-
case "a":
|
|
220
|
-
return L(d, p, !0);
|
|
221
|
-
case "A":
|
|
222
|
-
return L(d, p, !1);
|
|
223
|
-
case "m":
|
|
224
|
-
return String(p);
|
|
225
|
-
case "mm":
|
|
226
|
-
return o.s(p, 2, "0");
|
|
227
|
-
case "s":
|
|
228
|
-
return String(n.$s);
|
|
229
|
-
case "ss":
|
|
230
|
-
return o.s(n.$s, 2, "0");
|
|
231
|
-
case "SSS":
|
|
232
|
-
return o.s(n.$ms, 3, "0");
|
|
233
|
-
case "Z":
|
|
234
|
-
return u;
|
|
235
|
-
}
|
|
236
|
-
return null;
|
|
237
|
-
}(x) || u.replace(":", "");
|
|
238
|
-
});
|
|
239
|
-
}, r.utcOffset = function() {
|
|
240
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
241
|
-
}, r.diff = function(e, n, s) {
|
|
242
|
-
var i, u = this, d = o.p(n), p = a(e), m = (p.utcOffset() - this.utcOffset()) * c, g = this - p, w = function() {
|
|
243
|
-
return o.m(u, p);
|
|
244
|
-
};
|
|
245
|
-
switch (d) {
|
|
246
|
-
case k:
|
|
247
|
-
i = w() / 12;
|
|
248
|
-
break;
|
|
249
|
-
case D:
|
|
250
|
-
i = w();
|
|
251
|
-
break;
|
|
252
|
-
case R:
|
|
253
|
-
i = w() / 3;
|
|
254
|
-
break;
|
|
255
|
-
case Y:
|
|
256
|
-
i = (g - m) / 6048e5;
|
|
257
|
-
break;
|
|
258
|
-
case y:
|
|
259
|
-
i = (g - m) / 864e5;
|
|
260
|
-
break;
|
|
261
|
-
case _:
|
|
262
|
-
i = g / j;
|
|
263
|
-
break;
|
|
264
|
-
case b:
|
|
265
|
-
i = g / c;
|
|
266
|
-
break;
|
|
267
|
-
case T:
|
|
268
|
-
i = g / $;
|
|
269
|
-
break;
|
|
270
|
-
default:
|
|
271
|
-
i = g;
|
|
272
|
-
}
|
|
273
|
-
return s ? i : o.a(i);
|
|
274
|
-
}, r.daysInMonth = function() {
|
|
275
|
-
return this.endOf(D).$D;
|
|
276
|
-
}, r.$locale = function() {
|
|
277
|
-
return H[this.$L];
|
|
278
|
-
}, r.locale = function(e, n) {
|
|
279
|
-
if (!e)
|
|
280
|
-
return this.$L;
|
|
281
|
-
var s = this.clone(), i = f(e, n, !0);
|
|
282
|
-
return i && (s.$L = i), s;
|
|
283
|
-
}, r.clone = function() {
|
|
284
|
-
return o.w(this.$d, this);
|
|
285
|
-
}, r.toDate = function() {
|
|
286
|
-
return new Date(this.valueOf());
|
|
287
|
-
}, r.toJSON = function() {
|
|
288
|
-
return this.isValid() ? this.toISOString() : null;
|
|
289
|
-
}, r.toISOString = function() {
|
|
290
|
-
return this.$d.toISOString();
|
|
291
|
-
}, r.toString = function() {
|
|
292
|
-
return this.$d.toUTCString();
|
|
293
|
-
}, t;
|
|
294
|
-
}(), S = h.prototype;
|
|
295
|
-
return a.prototype = S, [["$ms", M], ["$s", T], ["$m", b], ["$H", _], ["$W", y], ["$M", D], ["$y", k], ["$D", P]].forEach(function(t) {
|
|
296
|
-
S[t[1]] = function(r) {
|
|
297
|
-
return this.$g(r, t[0], t[1]);
|
|
298
|
-
};
|
|
299
|
-
}), a.extend = function(t, r) {
|
|
300
|
-
return t.$i || (t(r, h, a), t.$i = !0), a;
|
|
301
|
-
}, a.locale = f, a.isDayjs = J, a.unix = function(t) {
|
|
302
|
-
return a(1e3 * t);
|
|
303
|
-
}, a.en = H[I], a.Ls = H, a.p = {}, a;
|
|
304
|
-
});
|
|
305
|
-
})(ee);
|
|
306
|
-
var ae = ee.exports;
|
|
307
|
-
const ie = /* @__PURE__ */ ne(ae), oe = G.get("token"), ue = G.post("putObject", (l) => (l.headers || (l.headers = {}), l.headers["Content-Type"] = "multipart/form-data", l.responseType = "blob", l)), le = G.post("upload-objects", (l) => (l.headers || (l.headers = {}), l.headers["Content-Type"] = "multipart/form-data", l.responseType = "blob", l)), ce = te.get("progress"), ve = () => {
|
|
308
|
-
let l = C(!1), v = C(""), $ = C(0), c = C("normal"), j = C(!1), M, T = C(""), b = C(""), _ = C(""), y = C(""), Y = C(!1), D = C(""), R = "", k;
|
|
309
|
-
const P = () => {
|
|
310
|
-
b.value = "", _.value = "", y.value = "", Y.value = !1, D.value = "";
|
|
311
|
-
}, B = async () => {
|
|
312
|
-
const [f, a] = await oe().run();
|
|
313
|
-
return f ? { stauts: !1 } : { status: !0, data: a };
|
|
314
|
-
}, q = (f) => new Promise((a, o) => {
|
|
315
|
-
const S = [];
|
|
316
|
-
let t = 0;
|
|
317
|
-
for (; t < f.size; ) {
|
|
318
|
-
const e = f.slice(t, t + 1048576);
|
|
319
|
-
S.push(e), t += 1048576;
|
|
320
|
-
}
|
|
321
|
-
const r = new Blob(S, { type: f.type });
|
|
322
|
-
a(r);
|
|
323
|
-
}), Z = async (f, a, o, h = !0, S = "", t = !1) => {
|
|
324
|
-
var A;
|
|
325
|
-
R = S, h && (c.value = "normal", $.value = 0, v.value = "导入进度", l.value = !0, T.value = ""), k = a;
|
|
326
|
-
const r = await B();
|
|
327
|
-
if (!r.status)
|
|
328
|
-
return;
|
|
329
|
-
let e = r.data, n = null, { autoContentType: s, bucketName: i, importFileName: u } = o;
|
|
330
|
-
const d = t ? le : ue;
|
|
331
|
-
if (t) {
|
|
332
|
-
let O = [];
|
|
333
|
-
await a.forEach(async (U) => {
|
|
334
|
-
let L = await q(U);
|
|
335
|
-
O.push(L);
|
|
336
|
-
}), n = new FormData(), n.append("accessKeyId", e.accessKeyId), n.append("secretAccessKey", e.secretAccessKey), n.append("sessionToken", e.sessionToken), n.append("bucketName", i), a.forEach((U, L) => {
|
|
337
|
-
n.append("file", O[L]);
|
|
338
|
-
}), u.forEach((U) => {
|
|
339
|
-
n.append("filePaths", U);
|
|
340
|
-
});
|
|
341
|
-
} else {
|
|
342
|
-
const O = await q(a);
|
|
343
|
-
n = {
|
|
344
|
-
accessKeyId: e.accessKeyId,
|
|
345
|
-
secretAccessKey: e.secretAccessKey,
|
|
346
|
-
sessionToken: e.sessionToken,
|
|
347
|
-
file: O,
|
|
348
|
-
bucketName: i,
|
|
349
|
-
filePath: u,
|
|
350
|
-
autoContentType: s
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
const [p, m] = await d(n).run();
|
|
354
|
-
if (p)
|
|
355
|
-
return;
|
|
356
|
-
const g = await de(m.data), w = await (f == null ? void 0 : f(g));
|
|
357
|
-
if (h) {
|
|
358
|
-
if (!w.status) {
|
|
359
|
-
l.value = !1, c.value = "error";
|
|
360
|
-
return;
|
|
361
|
-
}
|
|
362
|
-
v.value = "导入进度", l.value = !0, z(w.taskId, "import", "");
|
|
363
|
-
} else {
|
|
364
|
-
if (!w.status)
|
|
365
|
-
return;
|
|
366
|
-
c.value = "success", (A = window.DasMessage) == null || A.success({
|
|
367
|
-
message: "导入成功",
|
|
368
|
-
grouping: !0,
|
|
369
|
-
repeatNum: 1
|
|
370
|
-
});
|
|
371
|
-
}
|
|
372
|
-
}, F = async (f, a = "", o = "") => {
|
|
373
|
-
c.value = "normal", $.value = 0, v.value = o || "导出进度", l.value = !0;
|
|
374
|
-
const h = await (f == null ? void 0 : f());
|
|
375
|
-
if (!h.status) {
|
|
376
|
-
l.value = !1, c.value = "error";
|
|
377
|
-
return;
|
|
378
|
-
}
|
|
379
|
-
z(h.taskId, "action", "");
|
|
380
|
-
}, E = async (f, a = "", o = "", h = !0) => {
|
|
381
|
-
h && (c.value = "normal", $.value = 0, v.value = "导出进度", l.value = !0);
|
|
382
|
-
const S = await (f == null ? void 0 : f());
|
|
383
|
-
if (!S.status) {
|
|
384
|
-
l.value = !1, c.value = "error";
|
|
385
|
-
return;
|
|
386
|
-
}
|
|
387
|
-
ie().format("YYYYMMDDHHmmss") + "", z(S.taskId, "export", a || "", o);
|
|
388
|
-
}, z = async (f, a, o, h = "") => {
|
|
389
|
-
j.value = !0, H(f, a, o, h), M = setTimeout(() => {
|
|
390
|
-
}, 50);
|
|
391
|
-
}, I = () => {
|
|
392
|
-
clearTimeout(M), M = null, l.value = !1;
|
|
393
|
-
}, H = async (f, a = "export", o, h = "") => {
|
|
394
|
-
var e, n, s;
|
|
395
|
-
const [S, t] = await ce("", {
|
|
396
|
-
url: `progress/${f}`
|
|
397
|
-
}).run();
|
|
398
|
-
if (S) {
|
|
399
|
-
j.value = !1;
|
|
400
|
-
return;
|
|
401
|
-
}
|
|
402
|
-
$.value = t.percentage;
|
|
403
|
-
const r = a == "export" ? "导出" : "导入";
|
|
404
|
-
if ($.value == 100)
|
|
405
|
-
if (T.value = t, j.value = !1, I(), a == "export")
|
|
406
|
-
t.status == 1 ? (c.value = "success", X(`${Q().baseURL}/oss${t.filePath}`, o, h), j.value = !1) : t.status == 2 && (y.value = t.message || `${r}失败`, (e = window.DasMessage) == null || e.error({
|
|
407
|
-
message: t.message || `${r}失败`,
|
|
408
|
-
grouping: !0,
|
|
409
|
-
repeatNum: 1
|
|
410
|
-
}));
|
|
411
|
-
else if (a == "import") {
|
|
412
|
-
if (t.filePath) {
|
|
413
|
-
c.value = "error";
|
|
414
|
-
const i = (n = k.name) == null ? void 0 : n.match(/(.*?)(\.[^.]*$|$)/), u = i.length ? i[2] : "";
|
|
415
|
-
Y.value = !0;
|
|
416
|
-
const d = (s = t.filePath) == null ? void 0 : s.replace(/(.*\/)*([^.]+).*/gi, "$2");
|
|
417
|
-
b.value = R || `${d}${u}`, _.value = k.sizeText, y.value = "部分数据校验不通过,请下载附件并修改,重新导入!", D.value = `${Q().baseURL}/oss${t.filePath}`;
|
|
418
|
-
}
|
|
419
|
-
W(t.status, r, t.message);
|
|
420
|
-
} else
|
|
421
|
-
a == "action" && (c.value = "success");
|
|
422
|
-
else
|
|
423
|
-
M && t.status != 2 ? M = setTimeout(() => {
|
|
424
|
-
H(f, a, o, h);
|
|
425
|
-
}, 50) : (T.value = t, j.value = !1, W(t.status, r, t.message), I(), Y.value = !0, y.value = (t == null ? void 0 : t.message) || "");
|
|
426
|
-
}, W = (f, a, o) => {
|
|
427
|
-
var h, S, t;
|
|
428
|
-
f == 1 ? (c.value = "success", (h = window.DasMessage) == null || h.success({
|
|
429
|
-
message: `${a}成功`,
|
|
430
|
-
grouping: !0,
|
|
431
|
-
repeatNum: 1
|
|
432
|
-
}), b.value = "", _.value = "", y.value = "") : f == 2 ? (c.value = "error", (S = window.DasMessage) == null || S.error({
|
|
433
|
-
message: o || `${a}失败`,
|
|
434
|
-
grouping: !0,
|
|
435
|
-
repeatNum: 1
|
|
436
|
-
}), y.value = o || "部分数据校验不通过,请下载附件并修改,重新导入!") : f == 3 && (c.value = "error", (t = window.DasMessage) == null || t.error({
|
|
437
|
-
message: `部分${a}失败`,
|
|
438
|
-
grouping: !0,
|
|
439
|
-
repeatNum: 1
|
|
440
|
-
}));
|
|
441
|
-
};
|
|
442
|
-
return {
|
|
443
|
-
showProgressDialog: l,
|
|
444
|
-
progressTitle: v,
|
|
445
|
-
percent: $,
|
|
446
|
-
progressStatus: c,
|
|
447
|
-
progressLoading: j,
|
|
448
|
-
progressResult: T,
|
|
449
|
-
errorFileName: b,
|
|
450
|
-
errorFileSize: _,
|
|
451
|
-
errorMessage: y,
|
|
452
|
-
errorImport: Y,
|
|
453
|
-
errorFilePath: D,
|
|
454
|
-
fileImport: Z,
|
|
455
|
-
fileExport: E,
|
|
456
|
-
fileAction: F,
|
|
457
|
-
generateUniqueName: (f) => {
|
|
458
|
-
const a = f == null ? void 0 : f.match(/(.*?)(\.[^.]*$|$)/), o = a.length ? a[2] : "";
|
|
459
|
-
return `${a.length ? a[1] : f}${re()}${o}`;
|
|
460
|
-
},
|
|
461
|
-
downloadFile: X,
|
|
462
|
-
resetStataus: P,
|
|
463
|
-
checkProgress: z
|
|
464
|
-
};
|
|
465
|
-
}, fe = (l) => {
|
|
466
|
-
let v = l == null ? void 0 : l.toLocaleLowerCase();
|
|
467
|
-
return {
|
|
468
|
-
excel: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
469
|
-
pdf: "application/pdf",
|
|
470
|
-
doc: "application/msword",
|
|
471
|
-
docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
472
|
-
xls: "application/vnd.ms-excel",
|
|
473
|
-
xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
474
|
-
zip: "application/zip",
|
|
475
|
-
txt: "text/plain",
|
|
476
|
-
html: "text/html",
|
|
477
|
-
xml: "application/xml",
|
|
478
|
-
json: "application/json",
|
|
479
|
-
css: "text/css",
|
|
480
|
-
js: "application/javascript",
|
|
481
|
-
svg: "image/svg+xml",
|
|
482
|
-
jpg: "image/jpeg",
|
|
483
|
-
jpeg: "image/jpeg",
|
|
484
|
-
gif: "image/gif",
|
|
485
|
-
bmp: "image/bmp",
|
|
486
|
-
ico: "image/x-icon",
|
|
487
|
-
mp3: "audio/mpeg",
|
|
488
|
-
mp4: "video/mp4",
|
|
489
|
-
pem: "application/x-pem-file",
|
|
490
|
-
crt: "application/x-x509-ca-cert",
|
|
491
|
-
der: "application/x-x509-ca-cert",
|
|
492
|
-
cer: "application/pkix-cert"
|
|
493
|
-
}[v];
|
|
494
|
-
}, X = (l, v, $ = "excel") => {
|
|
495
|
-
const c = new XMLHttpRequest();
|
|
496
|
-
c.open("get", l), c.setRequestHeader("Content-Type", "application/json; charset=UTF-8"), c.responseType = "blob", c.onload = function(j) {
|
|
497
|
-
const M = new Blob([this.response], {
|
|
498
|
-
type: fe($)
|
|
499
|
-
}), T = URL.createObjectURL(M);
|
|
500
|
-
if (window.navigator.msSaveOrOpenBlob)
|
|
501
|
-
navigator.msSaveBlob(M, v);
|
|
502
|
-
else {
|
|
503
|
-
const b = document.createElement("a");
|
|
504
|
-
b.href = T, b.download = v, b.click(), window.URL.revokeObjectURL(T);
|
|
505
|
-
}
|
|
506
|
-
}, c.send();
|
|
507
|
-
}, de = (l) => new Promise((v, $) => {
|
|
508
|
-
var c = new FileReader();
|
|
509
|
-
c.onload = function(j) {
|
|
510
|
-
let M = "";
|
|
511
|
-
typeof c.result == "string" && (M = JSON.parse(c.result)), v(M);
|
|
512
|
-
}, c.readAsText(l);
|
|
513
|
-
});
|
|
514
|
-
export {
|
|
515
|
-
X as downloadFile,
|
|
516
|
-
ve as useFile
|
|
517
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export { appManage } from '@das-fed/utils/api-services/modules/app-manage';
|
|
2
|
-
export { authentication } from '@das-fed/utils/api-services/modules/authentication';
|
|
3
|
-
export { bemsModules } from '@das-fed/utils/api-services/modules/bems';
|
|
4
|
-
export { contract } from '@das-fed/utils/api-services/modules/contract';
|
|
5
|
-
export { dutyModules } from '@das-fed/utils/api-services/modules/duty-manage';
|
|
6
|
-
export { enterpriseright } from '@das-fed/utils/api-services/modules/enterpriseright';
|
|
7
|
-
export { downloadFile, useFile } from '@das-fed/utils/api-services/modules/file';
|
|
8
|
-
export { gatewayEdge } from '@das-fed/utils/api-services/modules/gateway-edge';
|
|
9
|
-
export { iot, iotMinio, iotModules, iotProgress, iotRelationModules } from '@das-fed/utils/api-services/modules/iot';
|
|
10
|
-
export { justauth, oauthServer } from '@das-fed/utils/api-services/modules/justauth';
|
|
11
|
-
export { knowledgeBase } from '@das-fed/utils/api-services/modules/knowledge';
|
|
12
|
-
export { daslink } from '@das-fed/utils/api-services/modules/link';
|
|
13
|
-
export { permission } from '@das-fed/utils/api-services/modules/permission';
|
|
14
|
-
export { company, customer, customerGrade, customerType, projectManage, } from '@das-fed/utils/api-services/modules/platformManage';
|
|
15
|
-
export { portal } from '@das-fed/utils/api-services/modules/portal';
|
|
16
|
-
export { spaceManage } from '@das-fed/utils/api-services/modules/space-manage';
|
|
17
|
-
export { superadminLicense, superadminPermission, superadminPortal, superadminResource, } from '@das-fed/utils/api-services/modules/super-admin';
|
|
18
|
-
export { supplier, supplierClassification, supplierManage } from '@das-fed/utils/api-services/modules/supplier';
|
|
19
|
-
export { enterpriseadminBrandModel } from '@das-fed/utils/api-services/modules/supplychain-manage';
|
|
20
|
-
export { tool } from '@das-fed/utils/api-services/modules/tool';
|
|
21
|
-
export { systemConfiguration } from '@das-fed/utils/api-services/modules/systemConfiguration';
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { appManage as r } from "@das-fed/utils/api-services/modules/app-manage";
|
|
2
|
-
import { authentication as p } from "@das-fed/utils/api-services/modules/authentication";
|
|
3
|
-
import { bemsModules as i } from "@das-fed/utils/api-services/modules/bems";
|
|
4
|
-
import { contract as s } from "@das-fed/utils/api-services/modules/contract";
|
|
5
|
-
import { dutyModules as f } from "@das-fed/utils/api-services/modules/duty-manage";
|
|
6
|
-
import { enterpriseright as x } from "@das-fed/utils/api-services/modules/enterpriseright";
|
|
7
|
-
import { downloadFile as l, useFile as c } from "@das-fed/utils/api-services/modules/file";
|
|
8
|
-
import { gatewayEdge as M } from "@das-fed/utils/api-services/modules/gateway-edge";
|
|
9
|
-
import { iot as h, iotMinio as w, iotModules as P, iotProgress as j, iotRelationModules as k } from "@das-fed/utils/api-services/modules/iot";
|
|
10
|
-
import { justauth as C, oauthServer as F } from "@das-fed/utils/api-services/modules/justauth";
|
|
11
|
-
import { knowledgeBase as b } from "@das-fed/utils/api-services/modules/knowledge";
|
|
12
|
-
import { daslink as E } from "@das-fed/utils/api-services/modules/link";
|
|
13
|
-
import { permission as L } from "@das-fed/utils/api-services/modules/permission";
|
|
14
|
-
import { company as T, customer as q, customerGrade as z, customerType as A, projectManage as D } from "@das-fed/utils/api-services/modules/platformManage";
|
|
15
|
-
import { portal as I } from "@das-fed/utils/api-services/modules/portal";
|
|
16
|
-
import { spaceManage as K } from "@das-fed/utils/api-services/modules/space-manage";
|
|
17
|
-
import { superadminLicense as O, superadminPermission as Q, superadminPortal as U, superadminResource as V } from "@das-fed/utils/api-services/modules/super-admin";
|
|
18
|
-
import { supplier as X, supplierClassification as Y, supplierManage as Z } from "@das-fed/utils/api-services/modules/supplier";
|
|
19
|
-
import { enterpriseadminBrandModel as $ } from "@das-fed/utils/api-services/modules/supplychain-manage";
|
|
20
|
-
import { tool as eo } from "@das-fed/utils/api-services/modules/tool";
|
|
21
|
-
import { systemConfiguration as to } from "@das-fed/utils/api-services/modules/systemConfiguration";
|
|
22
|
-
export {
|
|
23
|
-
r as appManage,
|
|
24
|
-
p as authentication,
|
|
25
|
-
i as bemsModules,
|
|
26
|
-
T as company,
|
|
27
|
-
s as contract,
|
|
28
|
-
q as customer,
|
|
29
|
-
z as customerGrade,
|
|
30
|
-
A as customerType,
|
|
31
|
-
E as daslink,
|
|
32
|
-
l as downloadFile,
|
|
33
|
-
f as dutyModules,
|
|
34
|
-
$ as enterpriseadminBrandModel,
|
|
35
|
-
x as enterpriseright,
|
|
36
|
-
M as gatewayEdge,
|
|
37
|
-
h as iot,
|
|
38
|
-
w as iotMinio,
|
|
39
|
-
P as iotModules,
|
|
40
|
-
j as iotProgress,
|
|
41
|
-
k as iotRelationModules,
|
|
42
|
-
C as justauth,
|
|
43
|
-
b as knowledgeBase,
|
|
44
|
-
F as oauthServer,
|
|
45
|
-
L as permission,
|
|
46
|
-
I as portal,
|
|
47
|
-
D as projectManage,
|
|
48
|
-
K as spaceManage,
|
|
49
|
-
O as superadminLicense,
|
|
50
|
-
Q as superadminPermission,
|
|
51
|
-
U as superadminPortal,
|
|
52
|
-
V as superadminResource,
|
|
53
|
-
X as supplier,
|
|
54
|
-
Y as supplierClassification,
|
|
55
|
-
Z as supplierManage,
|
|
56
|
-
to as systemConfiguration,
|
|
57
|
-
eo as tool,
|
|
58
|
-
c as useFile
|
|
59
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** iot服务 */
|
|
2
|
-
export declare const iot: any;
|
|
3
|
-
export declare const iotModules: {
|
|
4
|
-
thingmodel: any;
|
|
5
|
-
deviceManage: any;
|
|
6
|
-
product: any;
|
|
7
|
-
productStorage: any;
|
|
8
|
-
};
|
|
9
|
-
export declare const iotRelationModules: {
|
|
10
|
-
projectDevice: any;
|
|
11
|
-
deviceRules: any;
|
|
12
|
-
project: any;
|
|
13
|
-
};
|
|
14
|
-
export declare const iotMinio: any;
|
|
15
|
-
export declare const iotProgress: any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { createService as e } from "@das-fed/utils/create-api-service";
|
|
2
|
-
const i = "v1", t = e(`/api/iot/${i}`), c = {
|
|
3
|
-
thingmodel: e(`/api/iot-device/thingmodel/${i}`),
|
|
4
|
-
deviceManage: e(`/api/iot-device/devicemanage/${i}`),
|
|
5
|
-
product: e(`/api/iot-device/product/${i}`),
|
|
6
|
-
productStorage: e(`/api/iot-device/product-storage/${i}`)
|
|
7
|
-
}, r = {
|
|
8
|
-
projectDevice: e(`/api/device-relation/deviceproject/${i}`),
|
|
9
|
-
deviceRules: e(`/api/device-relation/devicerule/${i}`),
|
|
10
|
-
project: e(`/api/device-relation/project/${i}`)
|
|
11
|
-
}, a = e(`/api/oss/minio/${i}`), p = e(`/api/progress/accessor/${i}`);
|
|
12
|
-
export {
|
|
13
|
-
t as iot,
|
|
14
|
-
a as iotMinio,
|
|
15
|
-
c as iotModules,
|
|
16
|
-
p as iotProgress,
|
|
17
|
-
r as iotRelationModules
|
|
18
|
-
};
|