@das-fed/utils 6.4.0-test.7.1 → 6.4.0-test.8.1

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.
@@ -17,11 +17,11 @@ function Wr(t, e) {
17
17
  const { toString: eo } = Object.prototype, { getPrototypeOf: qt } = Object, tt = /* @__PURE__ */ ((t) => (e) => {
18
18
  const n = eo.call(e);
19
19
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
20
- })(/* @__PURE__ */ Object.create(null)), Q = (t) => (t = t.toLowerCase(), (e) => tt(e) === t), rt = (t) => (e) => typeof e === t, { isArray: Ae } = Array, Fe = rt("undefined");
20
+ })(/* @__PURE__ */ Object.create(null)), X = (t) => (t = t.toLowerCase(), (e) => tt(e) === t), rt = (t) => (e) => typeof e === t, { isArray: Ae } = Array, Fe = rt("undefined");
21
21
  function to(t) {
22
22
  return t !== null && !Fe(t) && t.constructor !== null && !Fe(t.constructor) && K(t.constructor.isBuffer) && t.constructor.isBuffer(t);
23
23
  }
24
- const Kr = Q("ArrayBuffer");
24
+ const Kr = X("ArrayBuffer");
25
25
  function ro(t) {
26
26
  let e;
27
27
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Kr(t.buffer), e;
@@ -31,11 +31,11 @@ const no = rt("string"), K = rt("function"), Gr = rt("number"), nt = (t) => t !=
31
31
  return !1;
32
32
  const e = qt(t);
33
33
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
34
- }, ao = Q("Date"), io = Q("File"), so = Q("Blob"), lo = Q("FileList"), co = (t) => nt(t) && K(t.pipe), uo = (t) => {
34
+ }, ao = X("Date"), io = X("File"), so = X("Blob"), lo = X("FileList"), co = (t) => nt(t) && K(t.pipe), uo = (t) => {
35
35
  let e;
36
36
  return t && (typeof FormData == "function" && t instanceof FormData || K(t.append) && ((e = tt(t)) === "formdata" || // detect form-data instance
37
37
  e === "object" && K(t.toString) && t.toString() === "[object FormData]"));
38
- }, fo = Q("URLSearchParams"), [po, yo, mo, ho] = ["ReadableStream", "Request", "Response", "Headers"].map(Q), go = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
38
+ }, fo = X("URLSearchParams"), [po, yo, mo, ho] = ["ReadableStream", "Request", "Response", "Headers"].map(X), go = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
39
39
  function De(t, e, { allOwnKeys: n = !1 } = {}) {
40
40
  if (t === null || typeof t > "u")
41
41
  return;
@@ -111,12 +111,12 @@ const vo = (t, e, n, { allOwnKeys: r } = {}) => (De(e, (o, a) => {
111
111
  for (; (n = t.exec(e)) !== null; )
112
112
  r.push(n);
113
113
  return r;
114
- }, To = Q("HTMLFormElement"), xo = (t) => t.toLowerCase().replace(
114
+ }, To = X("HTMLFormElement"), xo = (t) => t.toLowerCase().replace(
115
115
  /[-_\s]([a-z\d])(\w*)/g,
116
116
  function(n, r, o) {
117
117
  return r.toUpperCase() + o;
118
118
  }
119
- ), ir = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), $o = Q("RegExp"), Qr = (t, e) => {
119
+ ), ir = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), $o = X("RegExp"), Qr = (t, e) => {
120
120
  const n = Object.getOwnPropertyDescriptors(t), r = {};
121
121
  De(n, (o, a) => {
122
122
  let i;
@@ -176,7 +176,7 @@ const Bo = (t) => {
176
176
  return r;
177
177
  };
178
178
  return n(t, 0);
179
- }, Lo = Q("AsyncFunction"), Uo = (t) => t && (nt(t) || K(t)) && K(t.then) && K(t.catch), Yr = ((t, e) => t ? setImmediate : e ? ((n, r) => (ce.addEventListener("message", ({ source: o, data: a }) => {
179
+ }, Lo = X("AsyncFunction"), Uo = (t) => t && (nt(t) || K(t)) && K(t.then) && K(t.catch), Yr = ((t, e) => t ? setImmediate : e ? ((n, r) => (ce.addEventListener("message", ({ source: o, data: a }) => {
180
180
  o === ce && a === n && r.length && r.shift()();
181
181
  }, !1), (o) => {
182
182
  r.push(o), ce.postMessage(n, "*");
@@ -216,7 +216,7 @@ const Bo = (t) => {
216
216
  inherits: wo,
217
217
  toFlatObject: So,
218
218
  kindOf: tt,
219
- kindOfTest: Q,
219
+ kindOfTest: X,
220
220
  endsWith: Eo,
221
221
  toArray: Ao,
222
222
  forEachEntry: Ro,
@@ -2127,7 +2127,7 @@ const xi = {}, $i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2127
2127
  __proto__: null,
2128
2128
  default: xi
2129
2129
  }, Symbol.toStringTag, { value: "Module" })), Ci = /* @__PURE__ */ Na($i);
2130
- var Vt = typeof Map == "function" && Map.prototype, vt = Object.getOwnPropertyDescriptor && Vt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ye = Vt && vt && typeof vt.get == "function" ? vt.get : null, Nr = Vt && Map.prototype.forEach, Qt = typeof Set == "function" && Set.prototype, bt = Object.getOwnPropertyDescriptor && Qt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ze = Qt && bt && typeof bt.get == "function" ? bt.get : null, Fr = Qt && Set.prototype.forEach, Ni = typeof WeakMap == "function" && WeakMap.prototype, $e = Ni ? WeakMap.prototype.has : null, Fi = typeof WeakSet == "function" && WeakSet.prototype, Ce = Fi ? WeakSet.prototype.has : null, Di = typeof WeakRef == "function" && WeakRef.prototype, Dr = Di ? WeakRef.prototype.deref : null, Ii = Boolean.prototype.valueOf, _i = Object.prototype.toString, Bi = Function.prototype.toString, Li = String.prototype.match, Xt = String.prototype.slice, ae = String.prototype.replace, Ui = String.prototype.toUpperCase, Ir = String.prototype.toLowerCase, An = RegExp.prototype.test, _r = Array.prototype.concat, ee = Array.prototype.join, ki = Array.prototype.slice, Br = Math.floor, _t = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, wt = Object.getOwnPropertySymbols, Bt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Se = typeof Symbol == "function" && typeof Symbol.iterator == "object", k = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Se || !0) ? Symbol.toStringTag : null, On = Object.prototype.propertyIsEnumerable, Lr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2130
+ var Vt = typeof Map == "function" && Map.prototype, vt = Object.getOwnPropertyDescriptor && Vt ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ye = Vt && vt && typeof vt.get == "function" ? vt.get : null, Nr = Vt && Map.prototype.forEach, Qt = typeof Set == "function" && Set.prototype, bt = Object.getOwnPropertyDescriptor && Qt ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ze = Qt && bt && typeof bt.get == "function" ? bt.get : null, Fr = Qt && Set.prototype.forEach, Ni = typeof WeakMap == "function" && WeakMap.prototype, $e = Ni ? WeakMap.prototype.has : null, Fi = typeof WeakSet == "function" && WeakSet.prototype, Ce = Fi ? WeakSet.prototype.has : null, Di = typeof WeakRef == "function" && WeakRef.prototype, Dr = Di ? WeakRef.prototype.deref : null, Ii = Boolean.prototype.valueOf, _i = Object.prototype.toString, Bi = Function.prototype.toString, Li = String.prototype.match, Xt = String.prototype.slice, ae = String.prototype.replace, Ui = String.prototype.toUpperCase, Ir = String.prototype.toLowerCase, An = RegExp.prototype.test, _r = Array.prototype.concat, te = Array.prototype.join, ki = Array.prototype.slice, Br = Math.floor, _t = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, wt = Object.getOwnPropertySymbols, Bt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Se = typeof Symbol == "function" && typeof Symbol.iterator == "object", k = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Se || !0) ? Symbol.toStringTag : null, On = Object.prototype.propertyIsEnumerable, Lr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2131
2131
  return t.__proto__;
2132
2132
  } : null);
2133
2133
  function Ur(t, e) {
@@ -2194,7 +2194,7 @@ var Lt = Ci, kr = Lt.custom, Mr = Pn(kr) ? kr : null, Mi = function t(e, n, r, o
2194
2194
  }
2195
2195
  if (typeof e == "function" && !jr(e)) {
2196
2196
  var g = Vi(e), y = Ue(e, d);
2197
- return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (y.length > 0 ? " { " + ee.call(y, ", ") + " }" : "");
2197
+ return "[Function" + (g ? ": " + g : " (anonymous)") + "]" + (y.length > 0 ? " { " + te.call(y, ", ") + " }" : "");
2198
2198
  }
2199
2199
  if (Pn(e)) {
2200
2200
  var h = Se ? ae.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : Bt.call(e);
@@ -2209,11 +2209,11 @@ var Lt = Ci, kr = Lt.custom, Mr = Pn(kr) ? kr : null, Mi = function t(e, n, r, o
2209
2209
  if (e.length === 0)
2210
2210
  return "[]";
2211
2211
  var v = Ue(e, d);
2212
- return p && !ns(v) ? "[" + kt(v, p) + "]" : "[ " + ee.call(v, ", ") + " ]";
2212
+ return p && !ns(v) ? "[" + kt(v, p) + "]" : "[ " + te.call(v, ", ") + " ]";
2213
2213
  }
2214
2214
  if (zi(e)) {
2215
2215
  var D = Ue(e, d);
2216
- return !("cause" in Error.prototype) && "cause" in e && !On.call(e, "cause") ? "{ [" + String(e) + "] " + ee.call(_r.call("[cause]: " + d(e.cause), D), ", ") + " }" : D.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + ee.call(D, ", ") + " }";
2216
+ return !("cause" in Error.prototype) && "cause" in e && !On.call(e, "cause") ? "{ [" + String(e) + "] " + te.call(_r.call("[cause]: " + d(e.cause), D), ", ") + " }" : D.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + te.call(D, ", ") + " }";
2217
2217
  }
2218
2218
  if (typeof e == "object" && i) {
2219
2219
  if (Mr && typeof e[Mr] == "function" && Lt)
@@ -2252,8 +2252,8 @@ var Lt = Ci, kr = Lt.custom, Mr = Pn(kr) ? kr : null, Mi = function t(e, n, r, o
2252
2252
  if (typeof globalThis < "u" && e === globalThis || typeof wr < "u" && e === wr)
2253
2253
  return "{ [object globalThis] }";
2254
2254
  if (!qi(e) && !jr(e)) {
2255
- var U = Ue(e, d), G = Lr ? Lr(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", E = !G && k && Object(e) === e && k in e ? Xt.call(ie(e), 8, -1) : V ? "Object" : "", O = G || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", $ = O + (E || V ? "[" + ee.call(_r.call([], E || [], V || []), ": ") + "] " : "");
2256
- return U.length === 0 ? $ + "{}" : p ? $ + "{" + kt(U, p) + "}" : $ + "{ " + ee.call(U, ", ") + " }";
2255
+ var U = Ue(e, d), G = Lr ? Lr(e) === Object.prototype : e instanceof Object || e.constructor === Object, V = e instanceof Object ? "" : "null prototype", E = !G && k && Object(e) === e && k in e ? Xt.call(ie(e), 8, -1) : V ? "Object" : "", O = G || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", $ = O + (E || V ? "[" + te.call(_r.call([], E || [], V || []), ": ") + "] " : "");
2256
+ return U.length === 0 ? $ + "{}" : p ? $ + "{" + kt(U, p) + "}" : $ + "{ " + te.call(U, ", ") + " }";
2257
2257
  }
2258
2258
  return String(e);
2259
2259
  };
@@ -2427,7 +2427,7 @@ function St(t) {
2427
2427
  return t + " { ? }";
2428
2428
  }
2429
2429
  function qr(t, e, n, r) {
2430
- var o = r ? kt(n, r) : ee.call(n, ", ");
2430
+ var o = r ? kt(n, r) : te.call(n, ", ");
2431
2431
  return t + " (" + e + ") {" + o + "}";
2432
2432
  }
2433
2433
  function ns(t) {
@@ -2442,12 +2442,12 @@ function os(t, e) {
2442
2442
  if (t.indent === " ")
2443
2443
  n = " ";
2444
2444
  else if (typeof t.indent == "number" && t.indent > 0)
2445
- n = ee.call(Array(t.indent + 1), " ");
2445
+ n = te.call(Array(t.indent + 1), " ");
2446
2446
  else
2447
2447
  return null;
2448
2448
  return {
2449
2449
  base: n,
2450
- prev: ee.call(Array(e + 1), n)
2450
+ prev: te.call(Array(e + 1), n)
2451
2451
  };
2452
2452
  }
2453
2453
  function kt(t, e) {
@@ -2455,7 +2455,7 @@ function kt(t, e) {
2455
2455
  return "";
2456
2456
  var n = `
2457
2457
  ` + e.prev + e.base;
2458
- return n + ee.call(t, "," + n) + `
2458
+ return n + te.call(t, "," + n) + `
2459
2459
  ` + e.prev;
2460
2460
  }
2461
2461
  function Ue(t, e) {
@@ -2544,7 +2544,7 @@ var $n = Re, Pe = Ti, as = Mi, is = _e, ke = $n("%WeakMap%", !0), Me = $n("%Map%
2544
2544
  },
2545
2545
  RFC1738: Et.RFC1738,
2546
2546
  RFC3986: Et.RFC3986
2547
- }, bs = Zt, At = Object.prototype.hasOwnProperty, le = Array.isArray, Y = function() {
2547
+ }, bs = Zt, At = Object.prototype.hasOwnProperty, le = Array.isArray, Z = function() {
2548
2548
  for (var t = [], e = 0; e < 256; ++e)
2549
2549
  t.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
2550
2550
  return t;
@@ -2615,18 +2615,18 @@ var $n = Re, Pe = Ti, as = Mi, is = _e, ke = $n("%WeakMap%", !0), Me = $n("%Map%
2615
2615
  continue;
2616
2616
  }
2617
2617
  if (d < 128) {
2618
- c[c.length] = Y[d];
2618
+ c[c.length] = Z[d];
2619
2619
  continue;
2620
2620
  }
2621
2621
  if (d < 2048) {
2622
- c[c.length] = Y[192 | d >> 6] + Y[128 | d & 63];
2622
+ c[c.length] = Z[192 | d >> 6] + Z[128 | d & 63];
2623
2623
  continue;
2624
2624
  }
2625
2625
  if (d < 55296 || d >= 57344) {
2626
- c[c.length] = Y[224 | d >> 12] + Y[128 | d >> 6 & 63] + Y[128 | d & 63];
2626
+ c[c.length] = Z[224 | d >> 12] + Z[128 | d >> 6 & 63] + Z[128 | d & 63];
2627
2627
  continue;
2628
2628
  }
2629
- p += 1, d = 65536 + ((d & 1023) << 10 | l.charCodeAt(p) & 1023), c[c.length] = Y[240 | d >> 18] + Y[128 | d >> 12 & 63] + Y[128 | d >> 6 & 63] + Y[128 | d & 63];
2629
+ p += 1, d = 65536 + ((d & 1023) << 10 | l.charCodeAt(p) & 1023), c[c.length] = Z[240 | d >> 18] + Z[128 | d >> 12 & 63] + Z[128 | d >> 6 & 63] + Z[128 | d & 63];
2630
2630
  }
2631
2631
  s += c.join("");
2632
2632
  }
@@ -2673,8 +2673,8 @@ var $n = Re, Pe = Ti, as = Mi, is = _e, ke = $n("%WeakMap%", !0), Me = $n("%Map%
2673
2673
  repeat: function(e) {
2674
2674
  return e;
2675
2675
  }
2676
- }, Z = Array.isArray, Ns = Array.prototype.push, In = function(t, e) {
2677
- Ns.apply(t, Z(e) ? e : [e]);
2676
+ }, ee = Array.isArray, Ns = Array.prototype.push, In = function(t, e) {
2677
+ Ns.apply(t, ee(e) ? e : [e]);
2678
2678
  }, Fs = Date.prototype.toISOString, zr = Ne.default, _ = {
2679
2679
  addQueryPrefix: !1,
2680
2680
  allowDots: !1,
@@ -2708,7 +2708,7 @@ var $n = Re, Pe = Ti, as = Mi, is = _e, ke = $n("%WeakMap%", !0), Me = $n("%Map%
2708
2708
  }
2709
2709
  typeof D.get(Rt) > "u" && (x = 0);
2710
2710
  }
2711
- if (typeof c == "function" ? v = c(n, v) : v instanceof Date ? v = g(v) : r === "comma" && Z(v) && (v = Ke.maybeMap(v, function(z) {
2711
+ if (typeof c == "function" ? v = c(n, v) : v instanceof Date ? v = g(v) : r === "comma" && ee(v) && (v = Ke.maybeMap(v, function(z) {
2712
2712
  return z instanceof Date ? g(z) : z;
2713
2713
  })), v === null) {
2714
2714
  if (i)
@@ -2726,21 +2726,21 @@ var $n = Re, Pe = Ti, as = Mi, is = _e, ke = $n("%WeakMap%", !0), Me = $n("%Map%
2726
2726
  if (typeof v > "u")
2727
2727
  return V;
2728
2728
  var E;
2729
- if (r === "comma" && Z(v))
2729
+ if (r === "comma" && ee(v))
2730
2730
  m && l && (v = Ke.maybeMap(v, l)), E = [{ value: v.length > 0 ? v.join(",") || null : void 0 }];
2731
- else if (Z(c))
2731
+ else if (ee(c))
2732
2732
  E = c;
2733
2733
  else {
2734
2734
  var O = Object.keys(v);
2735
2735
  E = p ? O.sort(p) : O;
2736
2736
  }
2737
- var $ = u ? n.replace(/\./g, "%2E") : n, T = o && Z(v) && v.length === 1 ? $ + "[]" : $;
2738
- if (a && Z(v) && v.length === 0)
2737
+ var $ = u ? n.replace(/\./g, "%2E") : n, T = o && ee(v) && v.length === 1 ? $ + "[]" : $;
2738
+ if (a && ee(v) && v.length === 0)
2739
2739
  return T + "[]";
2740
2740
  for (var F = 0; F < E.length; ++F) {
2741
2741
  var b = E[F], M = typeof b == "object" && typeof b.value < "u" ? b.value : v[b];
2742
2742
  if (!(s && M === null)) {
2743
- var j = d && u ? b.replace(/\./g, "%2E") : b, q = Z(v) ? typeof r == "function" ? r(T, j) : T : T + (d ? "." + j : "[" + j + "]");
2743
+ var j = d && u ? b.replace(/\./g, "%2E") : b, q = ee(v) ? typeof r == "function" ? r(T, j) : T : T + (d ? "." + j : "[" + j + "]");
2744
2744
  P.set(e, x);
2745
2745
  var se = Fn();
2746
2746
  se.set(Rt, P), In(V, t(
@@ -2752,7 +2752,7 @@ var $n = Re, Pe = Ti, as = Mi, is = _e, ke = $n("%WeakMap%", !0), Me = $n("%Map%
2752
2752
  i,
2753
2753
  s,
2754
2754
  u,
2755
- r === "comma" && m && Z(v) ? null : l,
2755
+ r === "comma" && m && ee(v) ? null : l,
2756
2756
  c,
2757
2757
  p,
2758
2758
  d,
@@ -2785,7 +2785,7 @@ var $n = Re, Pe = Ti, as = Mi, is = _e, ke = $n("%WeakMap%", !0), Me = $n("%Map%
2785
2785
  r = e.format;
2786
2786
  }
2787
2787
  var o = Ne.formatters[r], a = _.filter;
2788
- (typeof e.filter == "function" || Z(e.filter)) && (a = e.filter);
2788
+ (typeof e.filter == "function" || ee(e.filter)) && (a = e.filter);
2789
2789
  var i;
2790
2790
  if (e.arrayFormat in Dn ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = _.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
2791
2791
  throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
@@ -2813,7 +2813,7 @@ var $n = Re, Pe = Ti, as = Mi, is = _e, ke = $n("%WeakMap%", !0), Me = $n("%Map%
2813
2813
  };
2814
2814
  }, Bs = function(t, e) {
2815
2815
  var n = t, r = _s(e), o, a;
2816
- typeof r.filter == "function" ? (a = r.filter, n = a("", n)) : Z(r.filter) && (a = r.filter, o = a);
2816
+ typeof r.filter == "function" ? (a = r.filter, n = a("", n)) : ee(r.filter) && (a = r.filter, o = a);
2817
2817
  var i = [];
2818
2818
  if (typeof n != "object" || n === null)
2819
2819
  return "";
@@ -3139,16 +3139,16 @@ const er = Ge(), Bn = er.sso ?? !0, el = er.i18n ?? !0, Ln = er.noRedireLogin ??
3139
3139
  // 排班管理
3140
3140
  shift: w(`/api/duty-manage/shift/${qe}`)
3141
3141
  // 交接班管理
3142
- }, sl = "v1", jl = w(`/api/enterpriseright/permission/${sl}`), te = "v1", ql = w(`/api/iot/${te}`), zl = {
3143
- thingmodel: w(`/api/iot-device/thingmodel/${te}`),
3144
- deviceManage: w(`/api/iot-device/devicemanage/${te}`),
3145
- product: w(`/api/iot-device/product/${te}`),
3146
- productStorage: w(`/api/iot-device/product-storage/${te}`)
3142
+ }, sl = "v1", jl = w(`/api/enterpriseright/permission/${sl}`), Q = "v1", ql = w(`/api/iot/${Q}`), zl = {
3143
+ thingmodel: w(`/api/iot-device/thingmodel/${Q}`),
3144
+ deviceManage: w(`/api/iot-device/devicemanage/${Q}`),
3145
+ product: w(`/api/iot-device/product/${Q}`),
3146
+ productStorage: w(`/api/iot-device/product-storage/${Q}`)
3147
3147
  }, Hl = {
3148
- projectDevice: w(`/api/device-relation/deviceproject/${te}`),
3149
- deviceRules: w(`/api/device-relation/devicerule/${te}`),
3150
- project: w(`/api/device-relation/project/${te}`)
3151
- }, tr = w(`/api/oss/minio/${te}`), ll = w(`/api/progress/accessor/${te}`);
3148
+ projectDevice: w(`/api/device-relation/deviceproject/${Q}`),
3149
+ deviceRules: w(`/api/device-relation/devicerule/${Q}`),
3150
+ project: w(`/api/device-relation/project/${Q}`)
3151
+ }, tr = w(`/api/oss/minio/${Q}`), ll = w(`/api/progress/accessor/${Q}`), Wl = w(`/api/dms/analysis/${Q}`);
3152
3152
  let cl = (t = 21) => {
3153
3153
  let e = "", n = crypto.getRandomValues(new Uint8Array(t));
3154
3154
  for (; t--; ) {
@@ -3157,7 +3157,7 @@ let cl = (t = 21) => {
3157
3157
  }
3158
3158
  return e;
3159
3159
  };
3160
- const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), pl = tr.post("upload-objects", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), dl = ll.get("progress"), Wl = () => {
3160
+ const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), pl = tr.post("upload-objects", (t) => (t.headers || (t.headers = {}), t.headers["Content-Type"] = "multipart/form-data", t.responseType = "blob", t)), dl = ll.get("progress"), Kl = () => {
3161
3161
  let t = J(!1), e = J(""), n = J(0), r = J("normal"), o = J(!1), a, i = J(""), s = J(""), u = J(""), l = J(""), c = J(!1), p = J(""), d = "", g = J(""), y;
3162
3162
  const h = () => {
3163
3163
  s.value = "", u.value = "", l.value = "", c.value = !1, p.value = "";
@@ -3204,16 +3204,16 @@ const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.h
3204
3204
  }
3205
3205
  const [Mn, jn] = await st(q).run();
3206
3206
  if (Mn) return t.value = !1;
3207
- const X = await ml(jn.data);
3208
- if (!b && (X == null ? void 0 : X.statusCode) != 200 || b && (X != null && X.some((re) => (re == null ? void 0 : re.statusCode) != 200))) {
3207
+ const Y = await ml(jn.data);
3208
+ if (!b && (Y == null ? void 0 : Y.statusCode) != 200 || b && (Y != null && Y.some((re) => (re == null ? void 0 : re.statusCode) != 200))) {
3209
3209
  t.value = !1, (nr = window.DasMessage) == null || nr.error({
3210
- message: (X == null ? void 0 : X.errorMsg) || C("上传失败"),
3210
+ message: (Y == null ? void 0 : Y.errorMsg) || C("上传失败"),
3211
3211
  grouping: !0,
3212
3212
  repeatNum: 1
3213
3213
  });
3214
3214
  return;
3215
3215
  }
3216
- const lt = await (E == null ? void 0 : E(X));
3216
+ const lt = await (E == null ? void 0 : E(Y));
3217
3217
  if (T) {
3218
3218
  if (!lt.status) {
3219
3219
  t.value = !1, r.value = "error";
@@ -3374,46 +3374,47 @@ const ul = tr.get("token"), fl = tr.post("put-object", (t) => (t.headers || (t.h
3374
3374
  let a = "";
3375
3375
  typeof r.result == "string" && (a = JSON.parse(r.result)), e(a);
3376
3376
  }, r.readAsText(t);
3377
- }), hl = "v2", Kl = w(`/api/edge/${hl}`), kn = "v1", Gl = w(`/api/justauth/oauth-server/${kn}/visitor`), Jl = w(`/api/justauth/oauth-server/${kn}`), gl = "v1", Vl = w(`/api/knowledge-base/knowledge/${gl}`), vl = "v1", Ql = w(`/api/custom-datasource/custom/${vl}`), bl = "v1", Xl = w(`/api/permission/${bl}`), de = "v1", Yl = w(`/api/customer/customer/${de}`), Zl = w(`/api/customer/company/${de}`), ec = w(`/api/customer/customer-grade/${de}`), tc = w(`/api/customer/customer-type/${de}`), rc = {
3377
+ }), hl = "v2", Gl = w(`/api/edge/${hl}`), kn = "v1", Jl = w(`/api/justauth/oauth-server/${kn}/visitor`), Vl = w(`/api/justauth/oauth-server/${kn}`), gl = "v1", Ql = w(`/api/knowledge-base/knowledge/${gl}`), vl = "v1", Xl = w(`/api/custom-datasource/custom/${vl}`), bl = "v1", Yl = w(`/api/permission/${bl}`), de = "v1", Zl = w(`/api/customer/customer/${de}`), ec = w(`/api/customer/company/${de}`), tc = w(`/api/customer/customer-grade/${de}`), rc = w(`/api/customer/customer-type/${de}`), nc = {
3378
3378
  list: w(`/api/project/${de}/list`),
3379
3379
  app: w(`/api/project/${de}/app`),
3380
3380
  people: w(`/api/project/${de}/people`)
3381
- }, wl = "v1", nc = w(`/api/portal/user/${wl}`), Sl = "v1", oc = w(`/api/space-manage/space-tree/${Sl}`), it = "v1", ac = w(`/api/superadmin/portal/${it}`), ic = w(`/api/superadmin/permission/${it}`), sc = w(`/api/superadmin/resource/${it}`), lc = w(`/api/superadmin/license/${it}`), rr = "v1", cc = w(`/api/supply/supplier/${rr}`), uc = w(`/api/supplier/${rr}`), fc = w(`/api/supplier/${rr}/classification`), El = "v1", pc = w(`/api/supply/brand/${El}`), Al = "v2", dc = w(`/api/tool/${Al}`), Ol = "v1", yc = w(`/api/system-config/${Ol}`);
3381
+ }, wl = "v1", oc = w(`/api/portal/user/${wl}`), Sl = "v1", ac = w(`/api/space-manage/space-tree/${Sl}`), it = "v1", ic = w(`/api/superadmin/portal/${it}`), sc = w(`/api/superadmin/permission/${it}`), lc = w(`/api/superadmin/resource/${it}`), cc = w(`/api/superadmin/license/${it}`), rr = "v1", uc = w(`/api/supply/supplier/${rr}`), fc = w(`/api/supplier/${rr}`), pc = w(`/api/supplier/${rr}/classification`), El = "v1", dc = w(`/api/supply/brand/${El}`), Al = "v2", yc = w(`/api/tool/${Al}`), Ol = "v1", mc = w(`/api/system-config/${Ol}`);
3382
3382
  export {
3383
+ Wl as analyApi,
3383
3384
  Bl as appManage,
3384
3385
  Ll as authentication,
3385
3386
  Ul as bemsModules,
3386
- Zl as company,
3387
+ ec as company,
3387
3388
  kl as contract,
3388
- Yl as customer,
3389
- ec as customerGrade,
3390
- tc as customerType,
3391
- Ql as daslink,
3389
+ Zl as customer,
3390
+ tc as customerGrade,
3391
+ rc as customerType,
3392
+ Xl as daslink,
3392
3393
  Hr as downloadFile,
3393
3394
  Ml as dutyModules,
3394
- pc as enterpriseadminBrandModel,
3395
+ dc as enterpriseadminBrandModel,
3395
3396
  jl as enterpriseright,
3396
- Kl as gatewayEdge,
3397
+ Gl as gatewayEdge,
3397
3398
  ql as iot,
3398
3399
  tr as iotMinio,
3399
3400
  zl as iotModules,
3400
3401
  ll as iotProgress,
3401
3402
  Hl as iotRelationModules,
3402
- Gl as justauth,
3403
- Vl as knowledgeBase,
3404
- Jl as oauthServer,
3405
- Xl as permission,
3406
- nc as portal,
3407
- rc as projectManage,
3408
- oc as spaceManage,
3409
- lc as superadminLicense,
3410
- ic as superadminPermission,
3411
- ac as superadminPortal,
3412
- sc as superadminResource,
3413
- cc as supplier,
3414
- fc as supplierClassification,
3415
- uc as supplierManage,
3416
- yc as systemConfiguration,
3417
- dc as tool,
3418
- Wl as useFile
3403
+ Jl as justauth,
3404
+ Ql as knowledgeBase,
3405
+ Vl as oauthServer,
3406
+ Yl as permission,
3407
+ oc as portal,
3408
+ nc as projectManage,
3409
+ ac as spaceManage,
3410
+ cc as superadminLicense,
3411
+ sc as superadminPermission,
3412
+ ic as superadminPortal,
3413
+ lc as superadminResource,
3414
+ uc as supplier,
3415
+ pc as supplierClassification,
3416
+ fc as supplierManage,
3417
+ mc as systemConfiguration,
3418
+ yc as tool,
3419
+ Kl as useFile
3419
3420
  };
Binary file
@@ -13,3 +13,4 @@ export declare const iotRelationModules: {
13
13
  };
14
14
  export declare const iotMinio: any;
15
15
  export declare const iotProgress: any;
16
+ export declare const analyApi: any;