@das-fed/upf-utils 6.4.0-dev.238 → 6.4.0-dev.240
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/api-services/es5.d.ts +2 -0
- package/api-services/es5.js +1360 -1345
- package/api-services/i18n/es5.d.ts +63 -0
- package/api-services/index.js +1076 -1060
- package/api-services/index.js.gz +0 -0
- package/api-services/modules/app-manage/es5.d.ts +2 -0
- package/api-services/modules/app-manage/es5.js +25 -19
- package/api-services/modules/app-manage/index.js +17 -15
- package/api-services/modules/app-manage/index.js.gz +0 -0
- package/api-services/modules/authentication/es5.d.ts +2 -0
- package/api-services/modules/authentication/es5.js +1100 -1082
- package/api-services/modules/authentication/index.js +911 -891
- package/api-services/modules/authentication/index.js.gz +0 -0
- package/api-services/modules/bems/es5.d.ts +6 -0
- package/api-services/modules/bems/es5.js +96 -90
- package/api-services/modules/bems/index.js +75 -73
- package/api-services/modules/bems/index.js.gz +0 -0
- package/api-services/modules/contract/es5.d.ts +2 -0
- package/api-services/modules/contract/es5.js +25 -19
- package/api-services/modules/contract/index.js +17 -15
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/es5.d.ts +7 -0
- package/api-services/modules/duty-manage/es5.js +23 -17
- package/api-services/modules/duty-manage/index.js +16 -14
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/enterpriseright/es5.d.ts +2 -0
- package/api-services/modules/enterpriseright/es5.js +829 -826
- package/api-services/modules/enterpriseright/index.js +651 -653
- package/api-services/modules/enterpriseright/index.js.gz +0 -0
- package/api-services/modules/es5.d.ts +21 -0
- package/api-services/modules/es5.js +1353 -1356
- package/api-services/modules/file/es5.d.ts +37 -0
- package/api-services/modules/file/es5.js +1226 -1232
- package/api-services/modules/file/index.js +993 -1009
- package/api-services/modules/file/index.js.gz +0 -0
- package/api-services/modules/gateway-edge/es5.d.ts +2 -0
- package/api-services/modules/gateway-edge/es5.js +1343 -1325
- package/api-services/modules/gateway-edge/index.js +1140 -1120
- package/api-services/modules/gateway-edge/index.js.gz +0 -0
- package/api-services/modules/index.js +1062 -1074
- package/api-services/modules/index.js.gz +0 -0
- package/api-services/modules/iot/es5.d.ts +16 -0
- package/api-services/modules/iot/es5.js +33 -27
- package/api-services/modules/iot/index.js +23 -21
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/justauth/es5.d.ts +3 -0
- package/api-services/modules/justauth/es5.js +1345 -1351
- package/api-services/modules/justauth/index.js +1127 -1143
- package/api-services/modules/justauth/index.js.gz +0 -0
- package/api-services/modules/knowledge/es5.d.ts +2 -0
- package/api-services/modules/knowledge/es5.js +1343 -1325
- package/api-services/modules/knowledge/index.js +1140 -1120
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/es5.d.ts +2 -0
- package/api-services/modules/link/es5.js +25 -19
- package/api-services/modules/link/index.js +17 -15
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/es5.d.ts +2 -0
- package/api-services/modules/permission/es5.js +1100 -1106
- package/api-services/modules/permission/index.js +897 -913
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/es5.d.ts +14 -0
- package/api-services/modules/platformManage/es5.js +1350 -1356
- package/api-services/modules/platformManage/index.js +1131 -1147
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/es5.d.ts +2 -0
- package/api-services/modules/portal/es5.js +1343 -1349
- package/api-services/modules/portal/index.js +1126 -1142
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/es5.d.ts +2 -0
- package/api-services/modules/space-manage/es5.js +1343 -1349
- package/api-services/modules/space-manage/index.js +1126 -1142
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/es5.d.ts +8 -0
- package/api-services/modules/super-admin/es5.js +1104 -1110
- package/api-services/modules/super-admin/index.js +899 -915
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/es5.d.ts +6 -0
- package/api-services/modules/supplier/es5.js +1104 -1110
- package/api-services/modules/supplier/index.js +899 -915
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/modules/supplychain-manage/es5.d.ts +2 -0
- package/api-services/modules/supplychain-manage/es5.js +1343 -1325
- package/api-services/modules/supplychain-manage/index.js +1140 -1120
- package/api-services/modules/supplychain-manage/index.js.gz +0 -0
- package/api-services/modules/systemConfiguration/es5.d.ts +2 -0
- package/api-services/modules/systemConfiguration/es5.js +25 -19
- package/api-services/modules/systemConfiguration/index.js +17 -15
- package/api-services/modules/systemConfiguration/index.js.gz +0 -0
- package/api-services/modules/tool/es5.d.ts +2 -0
- package/api-services/modules/tool/es5.js +845 -836
- package/api-services/modules/tool/index.js +660 -654
- package/api-services/modules/tool/index.js.gz +0 -0
- package/api-services/src/create-service/es5.d.ts +1 -0
- package/api-services/src/create-service/es5.js +99 -93
- package/api-services/src/create-service/index.js +78 -76
- package/api-services/src/create-service/index.js.gz +0 -0
- package/atob/es5.d.ts +2 -0
- package/common-info/es5.d.ts +48 -0
- package/common-info/es5.js +915 -965
- package/common-info/getIframeUrl/es5.d.ts +9 -0
- package/common-info/getInfoFromUrl/es5.d.ts +8 -0
- package/common-info/getPermissionMethod/es5.d.ts +77 -0
- package/common-info/getPermissionMethod/es5.js +1371 -1355
- package/common-info/getPermissionMethod/index.d.ts +27 -9
- package/common-info/getPermissionMethod/index.js +1141 -1125
- package/common-info/getPermissionMethod/index.js.gz +0 -0
- package/common-info/index.d.ts +1 -29
- package/common-info/index.js +725 -757
- package/common-info/index.js.gz +0 -0
- package/common-info/set-personal-info/es5.d.ts +5 -0
- package/common-info/type.d.ts +2 -2
- package/common-tools/arr-tools/es5.d.ts +15 -0
- package/common-tools/calc-text-width/es5.d.ts +1 -0
- package/common-tools/date-format/es5.d.ts +7 -0
- package/common-tools/es5.d.ts +15 -0
- package/common-tools/es5.js +9 -0
- package/common-tools/extract-file-name/es5.d.ts +1 -0
- package/common-tools/get-file-extension/es5.d.ts +6 -0
- package/common-tools/get-url-params/es5.d.ts +46 -0
- package/common-tools/handle-data/es5.d.ts +34 -0
- package/common-tools/handle-data/es5.js +44 -6
- package/common-tools/handle-data/index.d.ts +16 -1
- package/common-tools/handle-data/index.js +1 -1
- package/common-tools/handle-data/index.js.gz +0 -0
- package/common-tools/index.d.ts +1 -0
- package/common-tools/index.js +1 -0
- package/common-tools/nest-tree-format/es5.d.ts +30 -0
- package/common-tools/obj-tools/es5.d.ts +7 -0
- package/common-tools/platform-tools/es5.d.ts +19 -0
- package/common-tools/queue-promise/es5.d.ts +6 -0
- package/common-tools/setHtmlMinWH/es5.d.ts +5 -0
- package/common-tools/timezone-format/es5.d.ts +28 -0
- package/common-tools/timezone-format/es5.js +140 -0
- package/common-tools/timezone-format/index.d.ts +28 -0
- package/common-tools/timezone-format/index.js +81 -0
- package/common-tools/timezone-format/index.js.gz +0 -0
- package/common-tools/update-browser-title/es5.d.ts +1 -0
- package/common-tools/update-fav-icon/es5.d.ts +11 -0
- package/config/es5.d.ts +2 -0
- package/create-api-service/access-token-auto-refresh/es5.d.ts +20 -0
- package/create-api-service/access-token-auto-refresh/es5.js +27 -26
- package/create-api-service/access-token-auto-refresh/index.js +27 -26
- package/create-api-service/access-token-auto-refresh/index.js.gz +0 -0
- package/create-api-service/check-token/es5.d.ts +12 -0
- package/create-api-service/es5.d.ts +8 -0
- package/create-api-service/es5.js +24 -18
- package/create-api-service/i18n/es5.d.ts +39 -0
- package/create-api-service/index.js +17 -15
- package/create-api-service/index.js.gz +0 -0
- package/create-api-service/proxy-sso/es5.d.ts +3 -0
- package/create-api-service/sso/es5.d.ts +21 -0
- package/create-api-service/token-refresh-shared/es5.d.ts +30 -0
- package/curring-http/es5.d.ts +12 -0
- package/dimple-canvas/es5.d.ts +3 -0
- package/directive/auth/es5.d.ts +8 -0
- package/directive/clickOutside/es5.d.ts +6 -0
- package/directive/es5.d.ts +3 -0
- package/directive/hoverInside/es5.d.ts +6 -0
- package/directive/utils/es5.d.ts +7 -0
- package/dom-check-in/es5.d.ts +6 -0
- package/dom-watcher/es5.d.ts +25 -0
- package/esm-map.json +32 -7
- package/hooks/popup-manager/use-zindex/es5.d.ts +3 -0
- package/i18n-bridge/es5.d.ts +10 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/load-js/es5.d.ts +3 -0
- package/nextTiken/es5.d.ts +12 -0
- package/oss/es5.d.ts +2 -0
- package/package.json +4 -3
- package/pinyin-first-character/es5.d.ts +2 -0
- package/process-engine-info/es5.d.ts +13 -0
- package/pure-image-src/es5.d.ts +2 -0
- package/size-watcher/es5.d.ts +6 -0
- package/style/es5.d.ts +2 -0
- package/theme/es5.d.ts +92 -0
- package/theme/es5.js +1365 -0
- package/theme/index.d.ts +92 -0
- package/theme/index.js +871 -0
- package/theme/index.js.gz +0 -0
- package/token-tools/es5.d.ts +21 -0
- package/use-low-code/es5.d.ts +1 -0
- package/vue/es5.d.ts +1 -0
- package/vue/hooks/use-model-value/es5.d.ts +9 -0
- package/webSocket-service/es5.d.ts +41 -0
- package/with-install/es5.d.ts +11 -0
- package/hooks/use-get-auth/es5.js +0 -67
- package/hooks/use-get-auth/index.d.ts +0 -4
- package/hooks/use-get-auth/index.js +0 -19
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { createService } from '../../../create-api-service';
|
|
@@ -73,7 +73,7 @@ var po = Object.prototype.toString,
|
|
|
73
73
|
he = Array.isArray,
|
|
74
74
|
pe = Ze("undefined");
|
|
75
75
|
function Te(t) {
|
|
76
|
-
return t !== null && !pe(t) && t.constructor !== null && !pe(t.constructor) &&
|
|
76
|
+
return t !== null && !pe(t) && t.constructor !== null && !pe(t.constructor) && $(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
77
77
|
}
|
|
78
78
|
var rn = q("ArrayBuffer");
|
|
79
79
|
function yo(t) {
|
|
@@ -81,7 +81,7 @@ function yo(t) {
|
|
|
81
81
|
return (typeof ArrayBuffer === "undefined" ? "undefined" : _typeof(ArrayBuffer)) < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && rn(t.buffer), e;
|
|
82
82
|
}
|
|
83
83
|
var ho = Ze("string"),
|
|
84
|
-
|
|
84
|
+
$ = Ze("function"),
|
|
85
85
|
nn = Ze("number"),
|
|
86
86
|
xe = function xe(t) {
|
|
87
87
|
return t !== null && _typeof(t) == "object";
|
|
@@ -107,13 +107,13 @@ var ho = Ze("string"),
|
|
|
107
107
|
bo = q("Blob"),
|
|
108
108
|
So = q("FileList"),
|
|
109
109
|
Eo = function Eo(t) {
|
|
110
|
-
return xe(t) &&
|
|
110
|
+
return xe(t) && $(t.pipe);
|
|
111
111
|
},
|
|
112
112
|
Oo = function Oo(t) {
|
|
113
113
|
var e;
|
|
114
|
-
return t && (typeof FormData == "function" && t instanceof FormData ||
|
|
114
|
+
return t && (typeof FormData == "function" && t instanceof FormData || $(t.append) && ((e = Xe(t)) === "formdata" ||
|
|
115
115
|
// detect form-data instance
|
|
116
|
-
e === "object" &&
|
|
116
|
+
e === "object" && $(t.toString) && t.toString() === "[object FormData]"));
|
|
117
117
|
},
|
|
118
118
|
Ao = q("URLSearchParams"),
|
|
119
119
|
_map = ["ReadableStream", "Request", "Response", "Headers"].map(q),
|
|
@@ -168,7 +168,7 @@ var Co = function Co(t, e, r) {
|
|
|
168
168
|
var _ref5 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
|
|
169
169
|
n = _ref5.allOwnKeys;
|
|
170
170
|
return _e(e, function (o, i) {
|
|
171
|
-
r &&
|
|
171
|
+
r && $(o) ? t[i] = en(o, r) : t[i] = o;
|
|
172
172
|
}, {
|
|
173
173
|
allOwnKeys: n
|
|
174
174
|
}), t;
|
|
@@ -181,7 +181,7 @@ var Co = function Co(t, e, r) {
|
|
|
181
181
|
value: e.prototype
|
|
182
182
|
}), r && Object.assign(t.prototype, r);
|
|
183
183
|
},
|
|
184
|
-
|
|
184
|
+
Io = function Io(t, e, r, n) {
|
|
185
185
|
var o, i, a;
|
|
186
186
|
var s = {};
|
|
187
187
|
if (e = e || {}, t == null) return e;
|
|
@@ -191,7 +191,7 @@ var Co = function Co(t, e, r) {
|
|
|
191
191
|
} while (t && (!r || r(t, e)) && t !== Object.prototype);
|
|
192
192
|
return e;
|
|
193
193
|
},
|
|
194
|
-
|
|
194
|
+
$o = function $o(t, e, r) {
|
|
195
195
|
t = String(t), (r === undefined || r > t.length) && (r = t.length), r -= e.length;
|
|
196
196
|
var n = t.indexOf(e, r);
|
|
197
197
|
return n !== -1 && n === r;
|
|
@@ -247,9 +247,9 @@ var Co = function Co(t, e, r) {
|
|
|
247
247
|
},
|
|
248
248
|
jo = function jo(t) {
|
|
249
249
|
sn(t, function (e, r) {
|
|
250
|
-
if (
|
|
250
|
+
if ($(t) && ["arguments", "caller", "callee"].indexOf(r) !== -1) return false;
|
|
251
251
|
var n = t[r];
|
|
252
|
-
if (
|
|
252
|
+
if ($(n)) {
|
|
253
253
|
if (e.enumerable = false, "writable" in e) {
|
|
254
254
|
e.writable = false;
|
|
255
255
|
return;
|
|
@@ -274,7 +274,7 @@ var Co = function Co(t, e, r) {
|
|
|
274
274
|
return t != null && Number.isFinite(t = +t) ? t : e;
|
|
275
275
|
};
|
|
276
276
|
function Go(t) {
|
|
277
|
-
return !!(t &&
|
|
277
|
+
return !!(t && $(t.append) && t[tn] === "FormData" && t[Qe]);
|
|
278
278
|
}
|
|
279
279
|
var Jo = function Jo(t) {
|
|
280
280
|
var e = new Array(10),
|
|
@@ -297,7 +297,7 @@ var Jo = function Jo(t) {
|
|
|
297
297
|
},
|
|
298
298
|
Vo = q("AsyncFunction"),
|
|
299
299
|
Ko = function Ko(t) {
|
|
300
|
-
return t && (xe(t) ||
|
|
300
|
+
return t && (xe(t) || $(t)) && $(t.then) && $(t["catch"]);
|
|
301
301
|
},
|
|
302
302
|
ln = function (t, e) {
|
|
303
303
|
return t ? setImmediate : e ? function (r, n) {
|
|
@@ -311,10 +311,10 @@ var Jo = function Jo(t) {
|
|
|
311
311
|
}("axios@".concat(Math.random()), []) : function (r) {
|
|
312
312
|
return setTimeout(r);
|
|
313
313
|
};
|
|
314
|
-
}(typeof setImmediate == "function",
|
|
314
|
+
}(typeof setImmediate == "function", $(ee.postMessage)),
|
|
315
315
|
Qo = (typeof queueMicrotask === "undefined" ? "undefined" : _typeof(queueMicrotask)) < "u" ? queueMicrotask.bind(ee) : (typeof process === "undefined" ? "undefined" : _typeof(process)) < "u" && process.nextTick || ln,
|
|
316
316
|
Xo = function Xo(t) {
|
|
317
|
-
return t != null &&
|
|
317
|
+
return t != null && $(t[Qe]);
|
|
318
318
|
},
|
|
319
319
|
f = {
|
|
320
320
|
isArray: he,
|
|
@@ -337,7 +337,7 @@ var Jo = function Jo(t) {
|
|
|
337
337
|
isFile: wo,
|
|
338
338
|
isBlob: bo,
|
|
339
339
|
isRegExp: qo,
|
|
340
|
-
isFunction:
|
|
340
|
+
isFunction: $,
|
|
341
341
|
isStream: Eo,
|
|
342
342
|
isURLSearchParams: Ao,
|
|
343
343
|
isTypedArray: Uo,
|
|
@@ -348,10 +348,10 @@ var Jo = function Jo(t) {
|
|
|
348
348
|
trim: _o,
|
|
349
349
|
stripBOM: Fo,
|
|
350
350
|
inherits: No,
|
|
351
|
-
toFlatObject:
|
|
351
|
+
toFlatObject: Io,
|
|
352
352
|
kindOf: Xe,
|
|
353
353
|
kindOfTest: q,
|
|
354
|
-
endsWith:
|
|
354
|
+
endsWith: $o,
|
|
355
355
|
toArray: Do,
|
|
356
356
|
forEachEntry: Lo,
|
|
357
357
|
matchAll: Bo,
|
|
@@ -623,8 +623,8 @@ var yn = {
|
|
|
623
623
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
624
624
|
},
|
|
625
625
|
Wt = (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" && (typeof document === "undefined" ? "undefined" : _typeof(document)) < "u",
|
|
626
|
-
|
|
627
|
-
ai = Wt && (
|
|
626
|
+
It = (typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) == "object" && navigator || undefined,
|
|
627
|
+
ai = Wt && (!It || ["ReactNative", "NativeScript", "NS"].indexOf(It.product) < 0),
|
|
628
628
|
si = (typeof WorkerGlobalScope === "undefined" ? "undefined" : _typeof(WorkerGlobalScope)) < "u" &&
|
|
629
629
|
// eslint-disable-next-line no-undef
|
|
630
630
|
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
@@ -634,16 +634,16 @@ var yn = {
|
|
|
634
634
|
hasBrowserEnv: Wt,
|
|
635
635
|
hasStandardBrowserEnv: ai,
|
|
636
636
|
hasStandardBrowserWebWorkerEnv: si,
|
|
637
|
-
navigator:
|
|
637
|
+
navigator: It,
|
|
638
638
|
origin: li
|
|
639
639
|
}, Symbol.toStringTag, {
|
|
640
640
|
value: "Module"
|
|
641
641
|
})),
|
|
642
|
-
|
|
642
|
+
I = _objectSpread(_objectSpread({}, ci), ii);
|
|
643
643
|
function ui(t, e) {
|
|
644
|
-
return Ye(t, new
|
|
644
|
+
return Ye(t, new I.classes.URLSearchParams(), _objectSpread({
|
|
645
645
|
visitor: function visitor(r, n, o, i) {
|
|
646
|
-
return
|
|
646
|
+
return I.isNode && f.isBuffer(r) ? (this.append(n, r.toString("base64")), false) : i.defaultVisitor.apply(this, arguments);
|
|
647
647
|
}
|
|
648
648
|
}, e));
|
|
649
649
|
}
|
|
@@ -733,8 +733,8 @@ var Ce = {
|
|
|
733
733
|
maxContentLength: -1,
|
|
734
734
|
maxBodyLength: -1,
|
|
735
735
|
env: {
|
|
736
|
-
FormData:
|
|
737
|
-
Blob:
|
|
736
|
+
FormData: I.classes.FormData,
|
|
737
|
+
Blob: I.classes.Blob
|
|
738
738
|
},
|
|
739
739
|
validateStatus: function validateStatus(e) {
|
|
740
740
|
return e >= 200 && e < 300;
|
|
@@ -1100,14 +1100,14 @@ var We = function We(t, e) {
|
|
|
1100
1100
|
});
|
|
1101
1101
|
};
|
|
1102
1102
|
},
|
|
1103
|
-
Oi =
|
|
1103
|
+
Oi = I.hasStandardBrowserEnv ? /* @__PURE__ */function (t, e) {
|
|
1104
1104
|
return function (r) {
|
|
1105
|
-
return r = new URL(r,
|
|
1105
|
+
return r = new URL(r, I.origin), t.protocol === r.protocol && t.host === r.host && (e || t.port === r.port);
|
|
1106
1106
|
};
|
|
1107
|
-
}(new URL(
|
|
1107
|
+
}(new URL(I.origin), I.navigator && /(msie|trident)/i.test(I.navigator.userAgent)) : function () {
|
|
1108
1108
|
return true;
|
|
1109
1109
|
},
|
|
1110
|
-
Ai =
|
|
1110
|
+
Ai = I.hasStandardBrowserEnv ?
|
|
1111
1111
|
// Standard browser envs support document.cookie
|
|
1112
1112
|
{
|
|
1113
1113
|
write: function write(t, e, r, n, o, i, a) {
|
|
@@ -1218,7 +1218,7 @@ var wn = function wn(t) {
|
|
|
1218
1218
|
a = e.headers,
|
|
1219
1219
|
s = e.auth;
|
|
1220
1220
|
if (e.headers = a = D.from(a), e.url = dn(vn(e.baseURL, e.url, e.allowAbsoluteUrls), t.params, t.paramsSerializer), s && a.set("Authorization", "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))), f.isFormData(r)) {
|
|
1221
|
-
if (
|
|
1221
|
+
if (I.hasStandardBrowserEnv || I.hasStandardBrowserWebWorkerEnv) a.setContentType(undefined);else if (f.isFunction(r.getHeaders)) {
|
|
1222
1222
|
var u = r.getHeaders(),
|
|
1223
1223
|
c = ["content-type", "content-length"];
|
|
1224
1224
|
Object.entries(u).forEach(function (_ref1) {
|
|
@@ -1229,7 +1229,7 @@ var wn = function wn(t) {
|
|
|
1229
1229
|
});
|
|
1230
1230
|
}
|
|
1231
1231
|
}
|
|
1232
|
-
if (
|
|
1232
|
+
if (I.hasStandardBrowserEnv && (n && f.isFunction(n) && (n = n(e)), n || n !== false && Oi(e.url))) {
|
|
1233
1233
|
var _u = o && i && Ai.read(i);
|
|
1234
1234
|
_u && a.set(o, _u);
|
|
1235
1235
|
}
|
|
@@ -1290,7 +1290,7 @@ var wn = function wn(t) {
|
|
|
1290
1290
|
h && (n(!g || g.type ? new me(null, t, h) : g), h.abort(), h = null);
|
|
1291
1291
|
}, o.cancelToken && o.cancelToken.subscribe(l), o.signal && (o.signal.aborted ? l() : o.signal.addEventListener("abort", l)));
|
|
1292
1292
|
var O = bi(o.url);
|
|
1293
|
-
if (O &&
|
|
1293
|
+
if (O && I.protocols.indexOf(O) === -1) {
|
|
1294
1294
|
n(new w("Unsupported protocol " + O + ":", w.ERR_BAD_REQUEST, t));
|
|
1295
1295
|
return;
|
|
1296
1296
|
}
|
|
@@ -1526,7 +1526,7 @@ var wn = function wn(t) {
|
|
|
1526
1526
|
},
|
|
1527
1527
|
fr = 64 * 1024,
|
|
1528
1528
|
De = f.isFunction,
|
|
1529
|
-
|
|
1529
|
+
Ii = function (_ref11) {
|
|
1530
1530
|
var t = _ref11.Request,
|
|
1531
1531
|
e = _ref11.Response;
|
|
1532
1532
|
return {
|
|
@@ -1547,10 +1547,10 @@ var wn = function wn(t) {
|
|
|
1547
1547
|
return false;
|
|
1548
1548
|
}
|
|
1549
1549
|
},
|
|
1550
|
-
|
|
1550
|
+
$i = function $i(t) {
|
|
1551
1551
|
t = f.merge.call({
|
|
1552
1552
|
skipUndefined: true
|
|
1553
|
-
},
|
|
1553
|
+
}, Ii, t);
|
|
1554
1554
|
var _t5 = t,
|
|
1555
1555
|
e = _t5.fetch,
|
|
1556
1556
|
r = _t5.Request,
|
|
@@ -1585,7 +1585,7 @@ var wn = function wn(t) {
|
|
|
1585
1585
|
}())),
|
|
1586
1586
|
c = i && s && yr(function () {
|
|
1587
1587
|
var d = !1;
|
|
1588
|
-
var m = new r(
|
|
1588
|
+
var m = new r(I.origin, {
|
|
1589
1589
|
body: new pr(),
|
|
1590
1590
|
method: "POST",
|
|
1591
1591
|
get duplex() {
|
|
@@ -1631,7 +1631,7 @@ var wn = function wn(t) {
|
|
|
1631
1631
|
break;
|
|
1632
1632
|
}
|
|
1633
1633
|
_context6.n = 3;
|
|
1634
|
-
return new r(
|
|
1634
|
+
return new r(I.origin, {
|
|
1635
1635
|
method: "POST",
|
|
1636
1636
|
body: d
|
|
1637
1637
|
}).arrayBuffer();
|
|
@@ -1678,7 +1678,7 @@ var wn = function wn(t) {
|
|
|
1678
1678
|
}();
|
|
1679
1679
|
return /*#__PURE__*/function () {
|
|
1680
1680
|
var _ref15 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(d) {
|
|
1681
|
-
var _wn, m, h, b, O, g, E, P, U, T, V, _wn$withCredentials, L, M, Z, k, C, F, B, K, se, _sr, _sr2, it,
|
|
1681
|
+
var _wn, m, h, b, O, g, E, P, U, T, V, _wn$withCredentials, L, M, Z, k, C, F, B, K, se, _sr, _sr2, it, $e, N, ae, j, ve, _K, _se, _ref16, _ref17, _it, _$e, we, _t8, _t9, _t0;
|
|
1682
1682
|
return _regenerator().w(function (_context8) {
|
|
1683
1683
|
while (1) switch (_context8.p = _context8.n) {
|
|
1684
1684
|
case 0:
|
|
@@ -1710,8 +1710,8 @@ var wn = function wn(t) {
|
|
|
1710
1710
|
duplex: "half"
|
|
1711
1711
|
});
|
|
1712
1712
|
if (f.isFormData(b) && (se = K.headers.get("content-type")) && V.setContentType(se), K.body) {
|
|
1713
|
-
_sr = sr(B, We(lr(U))), _sr2 = _slicedToArray(_sr, 2), it = _sr2[0],
|
|
1714
|
-
b = ur(K.body, fr, it,
|
|
1713
|
+
_sr = sr(B, We(lr(U))), _sr2 = _slicedToArray(_sr, 2), it = _sr2[0], $e = _sr2[1];
|
|
1714
|
+
b = ur(K.body, fr, it, $e);
|
|
1715
1715
|
}
|
|
1716
1716
|
case 4:
|
|
1717
1717
|
f.isString(L) || (L = L ? "include" : "omit");
|
|
@@ -1734,9 +1734,9 @@ var wn = function wn(t) {
|
|
|
1734
1734
|
["status", "statusText", "headers"].forEach(function (tr) {
|
|
1735
1735
|
_K[tr] = j[tr];
|
|
1736
1736
|
});
|
|
1737
|
-
_se = f.toFiniteNumber(j.headers.get("content-length")), _ref16 = P && sr(_se, We(lr(P), !0)) || [], _ref17 = _slicedToArray(_ref16, 2), _it = _ref17[0],
|
|
1737
|
+
_se = f.toFiniteNumber(j.headers.get("content-length")), _ref16 = P && sr(_se, We(lr(P), !0)) || [], _ref17 = _slicedToArray(_ref16, 2), _it = _ref17[0], _$e = _ref17[1];
|
|
1738
1738
|
j = new n(ur(j.body, fr, _it, function () {
|
|
1739
|
-
|
|
1739
|
+
_$e && _$e(), F && F();
|
|
1740
1740
|
}), _K);
|
|
1741
1741
|
}
|
|
1742
1742
|
T = T || "text";
|
|
@@ -1786,7 +1786,7 @@ var wn = function wn(t) {
|
|
|
1786
1786
|
u,
|
|
1787
1787
|
c,
|
|
1788
1788
|
l = Di;
|
|
1789
|
-
for (; s--;) u = i[s], c = l.get(u), c === undefined && l.set(u, c = s ? /* @__PURE__ */new Map() :
|
|
1789
|
+
for (; s--;) u = i[s], c = l.get(u), c === undefined && l.set(u, c = s ? /* @__PURE__ */new Map() : $i(e)), l = c;
|
|
1790
1790
|
return c;
|
|
1791
1791
|
};
|
|
1792
1792
|
bn();
|
|
@@ -2144,7 +2144,7 @@ function Mi(t) {
|
|
|
2144
2144
|
function ki(t) {
|
|
2145
2145
|
return f.isObject(t) && t.isAxiosError === true;
|
|
2146
2146
|
}
|
|
2147
|
-
var
|
|
2147
|
+
var $t = {
|
|
2148
2148
|
Continue: 100,
|
|
2149
2149
|
SwitchingProtocols: 101,
|
|
2150
2150
|
Processing: 102,
|
|
@@ -2215,11 +2215,11 @@ var It = {
|
|
|
2215
2215
|
SslHandshakeFailed: 525,
|
|
2216
2216
|
InvalidSslCertificate: 526
|
|
2217
2217
|
};
|
|
2218
|
-
Object.entries(
|
|
2218
|
+
Object.entries($t).forEach(function (_ref20) {
|
|
2219
2219
|
var _ref21 = _slicedToArray(_ref20, 2),
|
|
2220
2220
|
t = _ref21[0],
|
|
2221
2221
|
e = _ref21[1];
|
|
2222
|
-
|
|
2222
|
+
$t[e] = t;
|
|
2223
2223
|
});
|
|
2224
2224
|
function On(t) {
|
|
2225
2225
|
var e = new te(t),
|
|
@@ -2252,7 +2252,7 @@ R.formToJSON = function (t) {
|
|
|
2252
2252
|
return hn(f.isHTMLForm(t) ? new FormData(t) : t);
|
|
2253
2253
|
};
|
|
2254
2254
|
R.getAdapter = Sn.getAdapter;
|
|
2255
|
-
R.HttpStatusCode =
|
|
2255
|
+
R.HttpStatusCode = $t;
|
|
2256
2256
|
R["default"] = R;
|
|
2257
2257
|
var vr = (typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) < "u" ? globalThis : (typeof window === "undefined" ? "undefined" : _typeof(window)) < "u" ? window : (typeof global === "undefined" ? "undefined" : _typeof(global)) < "u" ? global : (typeof self === "undefined" ? "undefined" : _typeof(self)) < "u" ? self : {};
|
|
2258
2258
|
function qi(t) {
|
|
@@ -2701,8 +2701,8 @@ var ba = tt,
|
|
|
2701
2701
|
Ca = ReferenceError,
|
|
2702
2702
|
Fa = SyntaxError,
|
|
2703
2703
|
Na = URIError,
|
|
2704
|
-
|
|
2705
|
-
|
|
2704
|
+
Ia = Math.abs,
|
|
2705
|
+
$a = Math.floor,
|
|
2706
2706
|
Da = Math.max,
|
|
2707
2707
|
Ua = Math.min,
|
|
2708
2708
|
La = Math.pow,
|
|
@@ -2765,14 +2765,14 @@ function Wa() {
|
|
|
2765
2765
|
return typeof t != "function" || typeof Symbol != "function" || _typeof(t("foo")) != "symbol" || _typeof(Symbol("bar")) != "symbol" ? false : e();
|
|
2766
2766
|
}, yt;
|
|
2767
2767
|
}
|
|
2768
|
-
var ht,
|
|
2769
|
-
function $n() {
|
|
2770
|
-
return $r || ($r = 1, ht = (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) < "u" && Reflect.getPrototypeOf || null), ht;
|
|
2771
|
-
}
|
|
2772
|
-
var mt, Ir;
|
|
2768
|
+
var ht, Ir;
|
|
2773
2769
|
function In() {
|
|
2774
|
-
|
|
2775
|
-
|
|
2770
|
+
return Ir || (Ir = 1, ht = (typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) < "u" && Reflect.getPrototypeOf || null), ht;
|
|
2771
|
+
}
|
|
2772
|
+
var mt, $r;
|
|
2773
|
+
function $n() {
|
|
2774
|
+
if ($r) return mt;
|
|
2775
|
+
$r = 1;
|
|
2776
2776
|
var t = Fn;
|
|
2777
2777
|
return mt = t.getPrototypeOf || null, mt;
|
|
2778
2778
|
}
|
|
@@ -2870,8 +2870,8 @@ var Et, kr;
|
|
|
2870
2870
|
function os() {
|
|
2871
2871
|
if (kr) return Et;
|
|
2872
2872
|
kr = 1;
|
|
2873
|
-
var t =
|
|
2874
|
-
e =
|
|
2873
|
+
var t = In(),
|
|
2874
|
+
e = $n(),
|
|
2875
2875
|
r = ns();
|
|
2876
2876
|
return Et = t ? function (o) {
|
|
2877
2877
|
return t(o);
|
|
@@ -2900,8 +2900,8 @@ var S,
|
|
|
2900
2900
|
ye = Fa,
|
|
2901
2901
|
fe = ge,
|
|
2902
2902
|
fs = Na,
|
|
2903
|
-
ps =
|
|
2904
|
-
ds =
|
|
2903
|
+
ps = Ia,
|
|
2904
|
+
ds = $a,
|
|
2905
2905
|
ys = Da,
|
|
2906
2906
|
hs = Ua,
|
|
2907
2907
|
ms = La,
|
|
@@ -2931,8 +2931,8 @@ var S,
|
|
|
2931
2931
|
}() : Rt,
|
|
2932
2932
|
le = Wa()(),
|
|
2933
2933
|
_ = os(),
|
|
2934
|
-
Ss =
|
|
2935
|
-
Es =
|
|
2934
|
+
Ss = $n(),
|
|
2935
|
+
Es = In(),
|
|
2936
2936
|
Bn = Dn(),
|
|
2937
2937
|
Fe = Xt(),
|
|
2938
2938
|
ue = {},
|
|
@@ -3158,23 +3158,23 @@ var Rs = function t(e) {
|
|
|
3158
3158
|
},
|
|
3159
3159
|
Mn = Zt,
|
|
3160
3160
|
kn = Un,
|
|
3161
|
-
|
|
3161
|
+
Is = kn([Mn("%String.prototype.indexOf%")]),
|
|
3162
3162
|
qn = function qn(e, r) {
|
|
3163
3163
|
var n = /** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
3164
3164
|
Mn(e, !!r);
|
|
3165
|
-
return typeof n == "function" &&
|
|
3165
|
+
return typeof n == "function" && Is(e, ".prototype.") > -1 ? kn(/** @type {const} */
|
|
3166
3166
|
[n]) : n;
|
|
3167
3167
|
},
|
|
3168
|
-
|
|
3169
|
-
|
|
3168
|
+
$s = Zt,
|
|
3169
|
+
Ie = qn,
|
|
3170
3170
|
Ds = tt,
|
|
3171
3171
|
Us = ge,
|
|
3172
|
-
zr =
|
|
3173
|
-
Ls =
|
|
3174
|
-
Bs =
|
|
3175
|
-
Ms =
|
|
3176
|
-
ks =
|
|
3177
|
-
qs =
|
|
3172
|
+
zr = $s("%Map%", true),
|
|
3173
|
+
Ls = Ie("Map.prototype.get", true),
|
|
3174
|
+
Bs = Ie("Map.prototype.set", true),
|
|
3175
|
+
Ms = Ie("Map.prototype.has", true),
|
|
3176
|
+
ks = Ie("Map.prototype.delete", true),
|
|
3177
|
+
qs = Ie("Map.prototype.size", true),
|
|
3178
3178
|
jn = !!zr && /** @type {Exclude<import('.'), false>} */
|
|
3179
3179
|
function () {
|
|
3180
3180
|
var e,
|
|
@@ -3736,13 +3736,13 @@ var Rs = function t(e) {
|
|
|
3736
3736
|
},
|
|
3737
3737
|
Fl = El,
|
|
3738
3738
|
Nl = Cl,
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
formats:
|
|
3739
|
+
Il = Yt,
|
|
3740
|
+
$l = {
|
|
3741
|
+
formats: Il,
|
|
3742
3742
|
parse: Nl,
|
|
3743
3743
|
stringify: Fl
|
|
3744
3744
|
};
|
|
3745
|
-
var Dl = /* @__PURE__ */qi(
|
|
3745
|
+
var Dl = /* @__PURE__ */qi($l);
|
|
3746
3746
|
/*! js-cookie v3.0.5 | MIT */
|
|
3747
3747
|
function Be(t) {
|
|
3748
3748
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -3809,13 +3809,17 @@ var Jr = qt(Ul, {
|
|
|
3809
3809
|
});
|
|
3810
3810
|
jt.extend(io);
|
|
3811
3811
|
jt.extend(ao);
|
|
3812
|
-
var
|
|
3812
|
+
var Ll = "UTC",
|
|
3813
|
+
Bl = function Bl() {
|
|
3814
|
+
return jt.tz.guess() || Ll;
|
|
3815
|
+
},
|
|
3816
|
+
er = config.getConfig(),
|
|
3813
3817
|
Kn = (_er$sso = er.sso) !== null && _er$sso !== void 0 ? _er$sso : true,
|
|
3814
3818
|
Vr = (_er$i18n = er.i18n) !== null && _er$i18n !== void 0 ? _er$i18n : true,
|
|
3815
3819
|
Qn = (_er$noRedireLogin = er.noRedireLogin) !== null && _er$noRedireLogin !== void 0 ? _er$noRedireLogin : false;
|
|
3816
3820
|
var Kr = "",
|
|
3817
3821
|
Qr = 0;
|
|
3818
|
-
var
|
|
3822
|
+
var Ml = 1e3,
|
|
3819
3823
|
Xr = /*#__PURE__*/function () {
|
|
3820
3824
|
var _ref22 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(t, e) {
|
|
3821
3825
|
var r,
|
|
@@ -3858,24 +3862,26 @@ var Ll = 1e3,
|
|
|
3858
3862
|
};
|
|
3859
3863
|
}();
|
|
3860
3864
|
var Ct = false;
|
|
3861
|
-
var
|
|
3865
|
+
var kl = 5e3,
|
|
3862
3866
|
Xn = function Xn() {
|
|
3863
3867
|
return Ct ? false : (Ct = true, setTimeout(function () {
|
|
3864
3868
|
Ct = false;
|
|
3865
|
-
},
|
|
3869
|
+
}, kl), true);
|
|
3866
3870
|
},
|
|
3867
3871
|
Zn = function Zn() {
|
|
3868
|
-
var e, r;
|
|
3869
3872
|
if (Qn) return;
|
|
3870
3873
|
var t = "/login";
|
|
3871
|
-
location.pathname
|
|
3874
|
+
if (location.pathname === t) return;
|
|
3875
|
+
window.sessionStorage.clear(), window.localStorage.clear(), window.__isAutoCloseApp = false;
|
|
3876
|
+
var e = window.top;
|
|
3877
|
+
e != null && e.vueRouter ? e.vueRouter.replace(t) : window.location.replace("/#".concat(t));
|
|
3872
3878
|
},
|
|
3873
|
-
|
|
3879
|
+
ql = function ql() {
|
|
3874
3880
|
return sso.getQuery("code") || "" || Qn ? false : Xn() ? (Kn ? sso.login(_objectSpread(_objectSpread({}, sso.getTokenParams), {}, {
|
|
3875
3881
|
redirect_uri: sso.real_uri
|
|
3876
3882
|
})) : Zn(), true) : false;
|
|
3877
3883
|
},
|
|
3878
|
-
|
|
3884
|
+
jl = /*#__PURE__*/function () {
|
|
3879
3885
|
var _ref23 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(t) {
|
|
3880
3886
|
var _t$data;
|
|
3881
3887
|
var r;
|
|
@@ -3886,11 +3892,11 @@ var Bl = 5e3,
|
|
|
3886
3892
|
}
|
|
3887
3893
|
}, _callee0);
|
|
3888
3894
|
}));
|
|
3889
|
-
return function
|
|
3895
|
+
return function jl(_x11) {
|
|
3890
3896
|
return _ref23.apply(this, arguments);
|
|
3891
3897
|
};
|
|
3892
3898
|
}(),
|
|
3893
|
-
|
|
3899
|
+
Hl = /*#__PURE__*/function () {
|
|
3894
3900
|
var _ref24 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(t, e) {
|
|
3895
3901
|
var d, m, h, b, _i18nBridge$getI18nBr, r, n, o, i, a, s, u, c, _ref25, O, g, E, _ref26, _ref27, _O, _g, _E, p, y, v, _t11, _t12, _t13;
|
|
3896
3902
|
return _regenerator().w(function (_context10) {
|
|
@@ -3909,7 +3915,7 @@ var Bl = 5e3,
|
|
|
3909
3915
|
_context10.n = 6;
|
|
3910
3916
|
break;
|
|
3911
3917
|
}
|
|
3912
|
-
|
|
3918
|
+
ql(), n = u || c, i = s;
|
|
3913
3919
|
O = (_ref25 = e == null ? undefined : e.i18n) !== null && _ref25 !== void 0 ? _ref25 : true;
|
|
3914
3920
|
if (!(Vr && O && s != null && s.status)) {
|
|
3915
3921
|
_context10.n = 4;
|
|
@@ -4006,7 +4012,7 @@ var Bl = 5e3,
|
|
|
4006
4012
|
t.request ? (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("网络异常,请检查您的网络情况")) : (n = 500, t.code === "ERR_CANCELED" ? o = t.abortReason || "" : o = r("请求配置异常"));
|
|
4007
4013
|
case 17:
|
|
4008
4014
|
e != null && e.customErrorMessage && (o = e == null ? undefined : e.customErrorMessage(o, t));
|
|
4009
|
-
p = Date.now(), y = o === Kr, v = p - Qr <
|
|
4015
|
+
p = Date.now(), y = o === Kr, v = p - Qr < Ml;
|
|
4010
4016
|
return _context10.a(2, (!(e != null && e.ignoreErrorMessage) && o && (!y || !v) && ((b = (h = window.DasMessage) == null ? undefined : h.error) == null || b.call(h, {
|
|
4011
4017
|
message: o,
|
|
4012
4018
|
showClose: true
|
|
@@ -4018,11 +4024,11 @@ var Bl = 5e3,
|
|
|
4018
4024
|
}
|
|
4019
4025
|
}, _callee1);
|
|
4020
4026
|
}));
|
|
4021
|
-
return function
|
|
4027
|
+
return function Hl(_x12, _x13) {
|
|
4022
4028
|
return _ref24.apply(this, arguments);
|
|
4023
4029
|
};
|
|
4024
4030
|
}();
|
|
4025
|
-
function
|
|
4031
|
+
function tc(t, e) {
|
|
4026
4032
|
var r = R.create();
|
|
4027
4033
|
return curringHttp.curringHttp(r, /*#__PURE__*/function () {
|
|
4028
4034
|
var _ref28 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee10(n) {
|
|
@@ -4083,7 +4089,7 @@ function Yl(t, e) {
|
|
|
4083
4089
|
indices: false
|
|
4084
4090
|
});
|
|
4085
4091
|
}
|
|
4086
|
-
}), n.onSuccess || (n.onSuccess =
|
|
4092
|
+
}), n.onSuccess || (n.onSuccess = jl), n.onError || (n.onError = Hl), ((_n$csrf = n.csrf) !== null && _n$csrf !== void 0 ? _n$csrf : false) && (n.headers["csrf-token"] = Jr.get("csrf-token"));
|
|
4087
4093
|
u = n.params || {};
|
|
4088
4094
|
if (u.project === undefined) {
|
|
4089
4095
|
_p = 0;
|
|
@@ -4094,7 +4100,7 @@ function Yl(t, e) {
|
|
|
4094
4100
|
_commonInfo$getInstan = commonInfo.getInstanceInfo(), _p2 = _commonInfo$getInstan.instanceInfo;
|
|
4095
4101
|
_p2 != null && _p2.instanceId && (u.instance = _p2.instanceId);
|
|
4096
4102
|
}
|
|
4097
|
-
n.params = u, n.headers.Timezone =
|
|
4103
|
+
n.params = u, n.headers.Timezone = Bl(), n.headers["X-Origin"] = location.origin;
|
|
4098
4104
|
l = (_ref29 = o == null ? undefined : o.value) !== null && _ref29 !== void 0 ? _ref29 : "";
|
|
4099
4105
|
return _context11.a(2, (l && (n.headers["Accept-Language"] = l), l && Jr.set("locale", l), (e == null ? undefined : e(n)) || n));
|
|
4100
4106
|
}
|
|
@@ -4105,4 +4111,4 @@ function Yl(t, e) {
|
|
|
4105
4111
|
};
|
|
4106
4112
|
}());
|
|
4107
4113
|
}
|
|
4108
|
-
exports.createService =
|
|
4114
|
+
exports.createService = tc;
|