xyvcard-itsm-flow 0.0.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.
- package/README.md +51 -0
- package/dist/edit-CWxy8_xc.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-Dxn9JNKd.mjs +619 -0
- package/dist/index-BSCtYzv-.mjs +327 -0
- package/dist/index-C_jhIPZS.mjs +369 -0
- package/dist/index-DKtAcP6b.mjs +1582 -0
- package/dist/index.mjs +2687 -0
- package/dist/style.css +1 -0
- package/dts/App.vue.d.ts +2 -0
- package/dts/api/dict.d.ts +18 -0
- package/dts/api/index.d.ts +13 -0
- package/dts/api/itsm-flow-entrust/index.d.ts +14 -0
- package/dts/api/itsm-flow-entrust/types.d.ts +78 -0
- package/dts/api/itsm-flow-entrust-user/index.d.ts +8 -0
- package/dts/api/itsm-flow-entrust-user/types.d.ts +26 -0
- package/dts/components/TaskItsmFlowEntrust/index.vue.d.ts +28 -0
- package/dts/constant.d.ts +28 -0
- package/dts/index.d.ts +7 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/lang/itsm-flow/en.d.ts +2 -0
- package/dts/lang/itsm-flow/zh-cn.d.ts +83 -0
- package/dts/main.d.ts +9 -0
- package/dts/permission.d.ts +1 -0
- package/dts/router/index.d.ts +7 -0
- package/dts/utils/common.d.ts +5 -0
- package/dts/utils/momentPlugin.d.ts +5 -0
- package/dts/views/itsm-flow-entrust/edit.vue.d.ts +28 -0
- package/dts/views/itsm-flow-entrust/index.vue.d.ts +2 -0
- package/package.json +64 -0
|
@@ -0,0 +1,1582 @@
|
|
|
1
|
+
var ct = Object.defineProperty;
|
|
2
|
+
var st = (r, e, t) => e in r ? ct(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var b = (r, e, t) => st(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { useUserStore as C, clearEmpty as U, request as L, BizDict as Pe, BizLayDict as pt, CustomBizDict as yt, EnumDict as dt } from "jmash-core";
|
|
5
|
+
import { contractApi as vt, contractUserApi as mt, itemApi as ht } from "xyvcard-itsm";
|
|
6
|
+
import { sysOrgApi as Qe } from "xyvcard-itsmsys";
|
|
7
|
+
import { ref as gt } from "vue";
|
|
8
|
+
import { EntryDict as St } from "jmash-dict";
|
|
9
|
+
var sr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
10
|
+
function bt(r) {
|
|
11
|
+
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
12
|
+
}
|
|
13
|
+
function wt(r) {
|
|
14
|
+
if (r.__esModule) return r;
|
|
15
|
+
var e = r.default;
|
|
16
|
+
if (typeof e == "function") {
|
|
17
|
+
var t = function n() {
|
|
18
|
+
return this instanceof n ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
|
|
19
|
+
};
|
|
20
|
+
t.prototype = e.prototype;
|
|
21
|
+
} else t = {};
|
|
22
|
+
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(r).forEach(function(n) {
|
|
23
|
+
var o = Object.getOwnPropertyDescriptor(r, n);
|
|
24
|
+
Object.defineProperty(t, n, o.get ? o : {
|
|
25
|
+
enumerable: !0,
|
|
26
|
+
get: function() {
|
|
27
|
+
return r[n];
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}), t;
|
|
31
|
+
}
|
|
32
|
+
var At = Error, Et = EvalError, Ot = RangeError, Pt = ReferenceError, Wr = SyntaxError, ue = TypeError, It = URIError, $t = Object.getOwnPropertyDescriptor, ge = $t;
|
|
33
|
+
if (ge)
|
|
34
|
+
try {
|
|
35
|
+
ge([], "length");
|
|
36
|
+
} catch {
|
|
37
|
+
ge = null;
|
|
38
|
+
}
|
|
39
|
+
var Ie = ge, Se = Object.defineProperty || !1;
|
|
40
|
+
if (Se)
|
|
41
|
+
try {
|
|
42
|
+
Se({}, "a", { value: 1 });
|
|
43
|
+
} catch {
|
|
44
|
+
Se = !1;
|
|
45
|
+
}
|
|
46
|
+
var $e = Se, De, pr;
|
|
47
|
+
function _t() {
|
|
48
|
+
return pr || (pr = 1, De = function() {
|
|
49
|
+
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
|
|
50
|
+
return !1;
|
|
51
|
+
if (typeof Symbol.iterator == "symbol")
|
|
52
|
+
return !0;
|
|
53
|
+
var e = {}, t = Symbol("test"), n = Object(t);
|
|
54
|
+
if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]")
|
|
55
|
+
return !1;
|
|
56
|
+
var o = 42;
|
|
57
|
+
e[t] = o;
|
|
58
|
+
for (var a in e)
|
|
59
|
+
return !1;
|
|
60
|
+
if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0)
|
|
61
|
+
return !1;
|
|
62
|
+
var i = Object.getOwnPropertySymbols(e);
|
|
63
|
+
if (i.length !== 1 || i[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t))
|
|
64
|
+
return !1;
|
|
65
|
+
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
66
|
+
var f = (
|
|
67
|
+
/** @type {PropertyDescriptor} */
|
|
68
|
+
Object.getOwnPropertyDescriptor(e, t)
|
|
69
|
+
);
|
|
70
|
+
if (f.value !== o || f.enumerable !== !0)
|
|
71
|
+
return !1;
|
|
72
|
+
}
|
|
73
|
+
return !0;
|
|
74
|
+
}), De;
|
|
75
|
+
}
|
|
76
|
+
var xe, yr;
|
|
77
|
+
function Ft() {
|
|
78
|
+
if (yr) return xe;
|
|
79
|
+
yr = 1;
|
|
80
|
+
var r = typeof Symbol < "u" && Symbol, e = _t();
|
|
81
|
+
return xe = function() {
|
|
82
|
+
return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : e();
|
|
83
|
+
}, xe;
|
|
84
|
+
}
|
|
85
|
+
var Re, dr;
|
|
86
|
+
function Dt() {
|
|
87
|
+
if (dr) return Re;
|
|
88
|
+
dr = 1;
|
|
89
|
+
var r = "Function.prototype.bind called on incompatible ", e = Object.prototype.toString, t = Math.max, n = "[object Function]", o = function(l, s) {
|
|
90
|
+
for (var c = [], p = 0; p < l.length; p += 1)
|
|
91
|
+
c[p] = l[p];
|
|
92
|
+
for (var u = 0; u < s.length; u += 1)
|
|
93
|
+
c[u + l.length] = s[u];
|
|
94
|
+
return c;
|
|
95
|
+
}, a = function(l, s) {
|
|
96
|
+
for (var c = [], p = s, u = 0; p < l.length; p += 1, u += 1)
|
|
97
|
+
c[u] = l[p];
|
|
98
|
+
return c;
|
|
99
|
+
}, i = function(f, l) {
|
|
100
|
+
for (var s = "", c = 0; c < f.length; c += 1)
|
|
101
|
+
s += f[c], c + 1 < f.length && (s += l);
|
|
102
|
+
return s;
|
|
103
|
+
};
|
|
104
|
+
return Re = function(l) {
|
|
105
|
+
var s = this;
|
|
106
|
+
if (typeof s != "function" || e.apply(s) !== n)
|
|
107
|
+
throw new TypeError(r + s);
|
|
108
|
+
for (var c = a(arguments, 1), p, u = function() {
|
|
109
|
+
if (this instanceof p) {
|
|
110
|
+
var P = s.apply(
|
|
111
|
+
this,
|
|
112
|
+
o(c, arguments)
|
|
113
|
+
);
|
|
114
|
+
return Object(P) === P ? P : this;
|
|
115
|
+
}
|
|
116
|
+
return s.apply(
|
|
117
|
+
l,
|
|
118
|
+
o(c, arguments)
|
|
119
|
+
);
|
|
120
|
+
}, m = t(0, s.length - c.length), v = [], g = 0; g < m; g++)
|
|
121
|
+
v[g] = "$" + g;
|
|
122
|
+
if (p = Function("binder", "return function (" + i(v, ",") + "){ return binder.apply(this,arguments); }")(u), s.prototype) {
|
|
123
|
+
var A = function() {
|
|
124
|
+
};
|
|
125
|
+
A.prototype = s.prototype, p.prototype = new A(), A.prototype = null;
|
|
126
|
+
}
|
|
127
|
+
return p;
|
|
128
|
+
}, Re;
|
|
129
|
+
}
|
|
130
|
+
var Te, vr;
|
|
131
|
+
function ce() {
|
|
132
|
+
if (vr) return Te;
|
|
133
|
+
vr = 1;
|
|
134
|
+
var r = Dt();
|
|
135
|
+
return Te = Function.prototype.bind || r, Te;
|
|
136
|
+
}
|
|
137
|
+
var Ne, mr;
|
|
138
|
+
function tr() {
|
|
139
|
+
return mr || (mr = 1, Ne = Function.prototype.call), Ne;
|
|
140
|
+
}
|
|
141
|
+
var Be, hr;
|
|
142
|
+
function nr() {
|
|
143
|
+
return hr || (hr = 1, Be = Function.prototype.apply), Be;
|
|
144
|
+
}
|
|
145
|
+
var xt = typeof Reflect == "function" && Reflect.apply, Rt = ce(), Tt = nr(), Nt = tr(), Bt = xt, kr = Bt || Rt.call(Nt, Tt), Mt = ce(), Ct = ue, Ut = tr(), Lt = kr, qr = function(e) {
|
|
146
|
+
if (e.length < 1 || typeof e[0] != "function")
|
|
147
|
+
throw new Ct("a function is required");
|
|
148
|
+
return Lt(Mt, Ut, e);
|
|
149
|
+
}, Me, gr;
|
|
150
|
+
function Wt() {
|
|
151
|
+
if (gr) return Me;
|
|
152
|
+
gr = 1;
|
|
153
|
+
var r = qr, e = Ie, t = (
|
|
154
|
+
/** @type {{ __proto__?: typeof Array.prototype }} */
|
|
155
|
+
[].__proto__ === Array.prototype
|
|
156
|
+
), n = t && e && e(
|
|
157
|
+
Object.prototype,
|
|
158
|
+
/** @type {keyof typeof Object.prototype} */
|
|
159
|
+
"__proto__"
|
|
160
|
+
), o = Object, a = o.getPrototypeOf;
|
|
161
|
+
return Me = n && typeof n.get == "function" ? r([n.get]) : typeof a == "function" ? (
|
|
162
|
+
/** @type {import('./get')} */
|
|
163
|
+
function(f) {
|
|
164
|
+
return a(f == null ? f : o(f));
|
|
165
|
+
}
|
|
166
|
+
) : !1, Me;
|
|
167
|
+
}
|
|
168
|
+
var Ce, Sr;
|
|
169
|
+
function kt() {
|
|
170
|
+
if (Sr) return Ce;
|
|
171
|
+
Sr = 1;
|
|
172
|
+
var r = Function.prototype.call, e = Object.prototype.hasOwnProperty, t = ce();
|
|
173
|
+
return Ce = t.call(r, e), Ce;
|
|
174
|
+
}
|
|
175
|
+
var y, qt = At, zt = Et, Gt = Ot, Ht = Pt, X = Wr, j = ue, Vt = It, zr = Function, Ue = function(r) {
|
|
176
|
+
try {
|
|
177
|
+
return zr('"use strict"; return (' + r + ").constructor;")();
|
|
178
|
+
} catch {
|
|
179
|
+
}
|
|
180
|
+
}, fe = Ie, Kt = $e, Le = function() {
|
|
181
|
+
throw new j();
|
|
182
|
+
}, Qt = fe ? function() {
|
|
183
|
+
try {
|
|
184
|
+
return arguments.callee, Le;
|
|
185
|
+
} catch {
|
|
186
|
+
try {
|
|
187
|
+
return fe(arguments, "callee").get;
|
|
188
|
+
} catch {
|
|
189
|
+
return Le;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}() : Le, Q = Ft()(), Jt = Wt(), w = typeof Reflect == "function" && Reflect.getPrototypeOf || Object.getPrototypeOf || Jt, Gr = nr(), se = tr(), Y = {}, Yt = typeof Uint8Array > "u" || !w ? y : w(Uint8Array), H = {
|
|
193
|
+
__proto__: null,
|
|
194
|
+
"%AggregateError%": typeof AggregateError > "u" ? y : AggregateError,
|
|
195
|
+
"%Array%": Array,
|
|
196
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? y : ArrayBuffer,
|
|
197
|
+
"%ArrayIteratorPrototype%": Q && w ? w([][Symbol.iterator]()) : y,
|
|
198
|
+
"%AsyncFromSyncIteratorPrototype%": y,
|
|
199
|
+
"%AsyncFunction%": Y,
|
|
200
|
+
"%AsyncGenerator%": Y,
|
|
201
|
+
"%AsyncGeneratorFunction%": Y,
|
|
202
|
+
"%AsyncIteratorPrototype%": Y,
|
|
203
|
+
"%Atomics%": typeof Atomics > "u" ? y : Atomics,
|
|
204
|
+
"%BigInt%": typeof BigInt > "u" ? y : BigInt,
|
|
205
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? y : BigInt64Array,
|
|
206
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? y : BigUint64Array,
|
|
207
|
+
"%Boolean%": Boolean,
|
|
208
|
+
"%DataView%": typeof DataView > "u" ? y : DataView,
|
|
209
|
+
"%Date%": Date,
|
|
210
|
+
"%decodeURI%": decodeURI,
|
|
211
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
212
|
+
"%encodeURI%": encodeURI,
|
|
213
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
214
|
+
"%Error%": qt,
|
|
215
|
+
"%eval%": eval,
|
|
216
|
+
// eslint-disable-line no-eval
|
|
217
|
+
"%EvalError%": zt,
|
|
218
|
+
"%Float32Array%": typeof Float32Array > "u" ? y : Float32Array,
|
|
219
|
+
"%Float64Array%": typeof Float64Array > "u" ? y : Float64Array,
|
|
220
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? y : FinalizationRegistry,
|
|
221
|
+
"%Function%": zr,
|
|
222
|
+
"%GeneratorFunction%": Y,
|
|
223
|
+
"%Int8Array%": typeof Int8Array > "u" ? y : Int8Array,
|
|
224
|
+
"%Int16Array%": typeof Int16Array > "u" ? y : Int16Array,
|
|
225
|
+
"%Int32Array%": typeof Int32Array > "u" ? y : Int32Array,
|
|
226
|
+
"%isFinite%": isFinite,
|
|
227
|
+
"%isNaN%": isNaN,
|
|
228
|
+
"%IteratorPrototype%": Q && w ? w(w([][Symbol.iterator]())) : y,
|
|
229
|
+
"%JSON%": typeof JSON == "object" ? JSON : y,
|
|
230
|
+
"%Map%": typeof Map > "u" ? y : Map,
|
|
231
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !Q || !w ? y : w((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
232
|
+
"%Math%": Math,
|
|
233
|
+
"%Number%": Number,
|
|
234
|
+
"%Object%": Object,
|
|
235
|
+
"%Object.getOwnPropertyDescriptor%": fe,
|
|
236
|
+
"%parseFloat%": parseFloat,
|
|
237
|
+
"%parseInt%": parseInt,
|
|
238
|
+
"%Promise%": typeof Promise > "u" ? y : Promise,
|
|
239
|
+
"%Proxy%": typeof Proxy > "u" ? y : Proxy,
|
|
240
|
+
"%RangeError%": Gt,
|
|
241
|
+
"%ReferenceError%": Ht,
|
|
242
|
+
"%Reflect%": typeof Reflect > "u" ? y : Reflect,
|
|
243
|
+
"%RegExp%": RegExp,
|
|
244
|
+
"%Set%": typeof Set > "u" ? y : Set,
|
|
245
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !Q || !w ? y : w((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
246
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? y : SharedArrayBuffer,
|
|
247
|
+
"%String%": String,
|
|
248
|
+
"%StringIteratorPrototype%": Q && w ? w(""[Symbol.iterator]()) : y,
|
|
249
|
+
"%Symbol%": Q ? Symbol : y,
|
|
250
|
+
"%SyntaxError%": X,
|
|
251
|
+
"%ThrowTypeError%": Qt,
|
|
252
|
+
"%TypedArray%": Yt,
|
|
253
|
+
"%TypeError%": j,
|
|
254
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? y : Uint8Array,
|
|
255
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? y : Uint8ClampedArray,
|
|
256
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? y : Uint16Array,
|
|
257
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? y : Uint32Array,
|
|
258
|
+
"%URIError%": Vt,
|
|
259
|
+
"%WeakMap%": typeof WeakMap > "u" ? y : WeakMap,
|
|
260
|
+
"%WeakRef%": typeof WeakRef > "u" ? y : WeakRef,
|
|
261
|
+
"%WeakSet%": typeof WeakSet > "u" ? y : WeakSet,
|
|
262
|
+
"%Function.prototype.call%": se,
|
|
263
|
+
"%Function.prototype.apply%": Gr,
|
|
264
|
+
"%Object.defineProperty%": Kt
|
|
265
|
+
};
|
|
266
|
+
if (w)
|
|
267
|
+
try {
|
|
268
|
+
null.error;
|
|
269
|
+
} catch (r) {
|
|
270
|
+
var jt = w(w(r));
|
|
271
|
+
H["%Error.prototype%"] = jt;
|
|
272
|
+
}
|
|
273
|
+
var Xt = function r(e) {
|
|
274
|
+
var t;
|
|
275
|
+
if (e === "%AsyncFunction%")
|
|
276
|
+
t = Ue("async function () {}");
|
|
277
|
+
else if (e === "%GeneratorFunction%")
|
|
278
|
+
t = Ue("function* () {}");
|
|
279
|
+
else if (e === "%AsyncGeneratorFunction%")
|
|
280
|
+
t = Ue("async function* () {}");
|
|
281
|
+
else if (e === "%AsyncGenerator%") {
|
|
282
|
+
var n = r("%AsyncGeneratorFunction%");
|
|
283
|
+
n && (t = n.prototype);
|
|
284
|
+
} else if (e === "%AsyncIteratorPrototype%") {
|
|
285
|
+
var o = r("%AsyncGenerator%");
|
|
286
|
+
o && w && (t = w(o.prototype));
|
|
287
|
+
}
|
|
288
|
+
return H[e] = t, t;
|
|
289
|
+
}, br = {
|
|
290
|
+
__proto__: null,
|
|
291
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
292
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
293
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
294
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
295
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
296
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
297
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
298
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
299
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
300
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
301
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
302
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
303
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
304
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
305
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
306
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
307
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
308
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
309
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
310
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
311
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
312
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
313
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
314
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
315
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
316
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
317
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
318
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
319
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
320
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
321
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
322
|
+
"%Promise_all%": ["Promise", "all"],
|
|
323
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
324
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
325
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
326
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
327
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
328
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
329
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
330
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
331
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
332
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
333
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
334
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
335
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
336
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
337
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
338
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
339
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
340
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
341
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
342
|
+
}, pe = ce(), we = kt(), Zt = pe.call(se, Array.prototype.concat), en = pe.call(Gr, Array.prototype.splice), wr = pe.call(se, String.prototype.replace), Ae = pe.call(se, String.prototype.slice), rn = pe.call(se, RegExp.prototype.exec), tn = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, nn = /\\(\\)?/g, an = function(e) {
|
|
343
|
+
var t = Ae(e, 0, 1), n = Ae(e, -1);
|
|
344
|
+
if (t === "%" && n !== "%")
|
|
345
|
+
throw new X("invalid intrinsic syntax, expected closing `%`");
|
|
346
|
+
if (n === "%" && t !== "%")
|
|
347
|
+
throw new X("invalid intrinsic syntax, expected opening `%`");
|
|
348
|
+
var o = [];
|
|
349
|
+
return wr(e, tn, function(a, i, f, l) {
|
|
350
|
+
o[o.length] = f ? wr(l, nn, "$1") : i || a;
|
|
351
|
+
}), o;
|
|
352
|
+
}, on = function(e, t) {
|
|
353
|
+
var n = e, o;
|
|
354
|
+
if (we(br, n) && (o = br[n], n = "%" + o[0] + "%"), we(H, n)) {
|
|
355
|
+
var a = H[n];
|
|
356
|
+
if (a === Y && (a = Xt(n)), typeof a > "u" && !t)
|
|
357
|
+
throw new j("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
358
|
+
return {
|
|
359
|
+
alias: o,
|
|
360
|
+
name: n,
|
|
361
|
+
value: a
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
throw new X("intrinsic " + e + " does not exist!");
|
|
365
|
+
}, ar = function(e, t) {
|
|
366
|
+
if (typeof e != "string" || e.length === 0)
|
|
367
|
+
throw new j("intrinsic name must be a non-empty string");
|
|
368
|
+
if (arguments.length > 1 && typeof t != "boolean")
|
|
369
|
+
throw new j('"allowMissing" argument must be a boolean');
|
|
370
|
+
if (rn(/^%?[^%]*%?$/, e) === null)
|
|
371
|
+
throw new X("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
372
|
+
var n = an(e), o = n.length > 0 ? n[0] : "", a = on("%" + o + "%", t), i = a.name, f = a.value, l = !1, s = a.alias;
|
|
373
|
+
s && (o = s[0], en(n, Zt([0, 1], s)));
|
|
374
|
+
for (var c = 1, p = !0; c < n.length; c += 1) {
|
|
375
|
+
var u = n[c], m = Ae(u, 0, 1), v = Ae(u, -1);
|
|
376
|
+
if ((m === '"' || m === "'" || m === "`" || v === '"' || v === "'" || v === "`") && m !== v)
|
|
377
|
+
throw new X("property names with quotes must have matching quotes");
|
|
378
|
+
if ((u === "constructor" || !p) && (l = !0), o += "." + u, i = "%" + o + "%", we(H, i))
|
|
379
|
+
f = H[i];
|
|
380
|
+
else if (f != null) {
|
|
381
|
+
if (!(u in f)) {
|
|
382
|
+
if (!t)
|
|
383
|
+
throw new j("base intrinsic for " + e + " exists, but the property is not available.");
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
386
|
+
if (fe && c + 1 >= n.length) {
|
|
387
|
+
var g = fe(f, u);
|
|
388
|
+
p = !!g, p && "get" in g && !("originalValue" in g.get) ? f = g.get : f = f[u];
|
|
389
|
+
} else
|
|
390
|
+
p = we(f, u), f = f[u];
|
|
391
|
+
p && !l && (H[i] = f);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
return f;
|
|
395
|
+
}, Hr = { exports: {} }, Ar = $e, ln = Wr, J = ue, Er = Ie, fn = function(e, t, n) {
|
|
396
|
+
if (!e || typeof e != "object" && typeof e != "function")
|
|
397
|
+
throw new J("`obj` must be an object or a function`");
|
|
398
|
+
if (typeof t != "string" && typeof t != "symbol")
|
|
399
|
+
throw new J("`property` must be a string or a symbol`");
|
|
400
|
+
if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null)
|
|
401
|
+
throw new J("`nonEnumerable`, if provided, must be a boolean or null");
|
|
402
|
+
if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null)
|
|
403
|
+
throw new J("`nonWritable`, if provided, must be a boolean or null");
|
|
404
|
+
if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null)
|
|
405
|
+
throw new J("`nonConfigurable`, if provided, must be a boolean or null");
|
|
406
|
+
if (arguments.length > 6 && typeof arguments[6] != "boolean")
|
|
407
|
+
throw new J("`loose`, if provided, must be a boolean");
|
|
408
|
+
var o = arguments.length > 3 ? arguments[3] : null, a = arguments.length > 4 ? arguments[4] : null, i = arguments.length > 5 ? arguments[5] : null, f = arguments.length > 6 ? arguments[6] : !1, l = !!Er && Er(e, t);
|
|
409
|
+
if (Ar)
|
|
410
|
+
Ar(e, t, {
|
|
411
|
+
configurable: i === null && l ? l.configurable : !i,
|
|
412
|
+
enumerable: o === null && l ? l.enumerable : !o,
|
|
413
|
+
value: n,
|
|
414
|
+
writable: a === null && l ? l.writable : !a
|
|
415
|
+
});
|
|
416
|
+
else if (f || !o && !a && !i)
|
|
417
|
+
e[t] = n;
|
|
418
|
+
else
|
|
419
|
+
throw new ln("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
420
|
+
}, Je = $e, Vr = function() {
|
|
421
|
+
return !!Je;
|
|
422
|
+
};
|
|
423
|
+
Vr.hasArrayLengthDefineBug = function() {
|
|
424
|
+
if (!Je)
|
|
425
|
+
return null;
|
|
426
|
+
try {
|
|
427
|
+
return Je([], "length", { value: 1 }).length !== 1;
|
|
428
|
+
} catch {
|
|
429
|
+
return !0;
|
|
430
|
+
}
|
|
431
|
+
};
|
|
432
|
+
var un = Vr, cn = ar, Or = fn, sn = un(), Pr = Ie, Ir = ue, pn = cn("%Math.floor%"), yn = function(e, t) {
|
|
433
|
+
if (typeof e != "function")
|
|
434
|
+
throw new Ir("`fn` is not a function");
|
|
435
|
+
if (typeof t != "number" || t < 0 || t > 4294967295 || pn(t) !== t)
|
|
436
|
+
throw new Ir("`length` must be a positive 32-bit integer");
|
|
437
|
+
var n = arguments.length > 2 && !!arguments[2], o = !0, a = !0;
|
|
438
|
+
if ("length" in e && Pr) {
|
|
439
|
+
var i = Pr(e, "length");
|
|
440
|
+
i && !i.configurable && (o = !1), i && !i.writable && (a = !1);
|
|
441
|
+
}
|
|
442
|
+
return (o || a || !n) && (sn ? Or(
|
|
443
|
+
/** @type {Parameters<define>[0]} */
|
|
444
|
+
e,
|
|
445
|
+
"length",
|
|
446
|
+
t,
|
|
447
|
+
!0,
|
|
448
|
+
!0
|
|
449
|
+
) : Or(
|
|
450
|
+
/** @type {Parameters<define>[0]} */
|
|
451
|
+
e,
|
|
452
|
+
"length",
|
|
453
|
+
t
|
|
454
|
+
)), e;
|
|
455
|
+
}, dn = ce(), vn = nr(), mn = kr, hn = function() {
|
|
456
|
+
return mn(dn, vn, arguments);
|
|
457
|
+
};
|
|
458
|
+
(function(r) {
|
|
459
|
+
var e = yn, t = $e, n = qr, o = hn;
|
|
460
|
+
r.exports = function(i) {
|
|
461
|
+
var f = n(arguments), l = i.length - (arguments.length - 1);
|
|
462
|
+
return e(
|
|
463
|
+
f,
|
|
464
|
+
1 + (l > 0 ? l : 0),
|
|
465
|
+
!0
|
|
466
|
+
);
|
|
467
|
+
}, t ? t(r.exports, "apply", { value: o }) : r.exports.apply = o;
|
|
468
|
+
})(Hr);
|
|
469
|
+
var gn = Hr.exports, Kr = ar, Qr = gn, Sn = Qr(Kr("String.prototype.indexOf")), bn = function(e, t) {
|
|
470
|
+
var n = Kr(e, !!t);
|
|
471
|
+
return typeof n == "function" && Sn(e, ".prototype.") > -1 ? Qr(n) : n;
|
|
472
|
+
};
|
|
473
|
+
const wn = {}, An = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
474
|
+
__proto__: null,
|
|
475
|
+
default: wn
|
|
476
|
+
}, Symbol.toStringTag, { value: "Module" })), En = /* @__PURE__ */ wt(An);
|
|
477
|
+
var or = typeof Map == "function" && Map.prototype, We = Object.getOwnPropertyDescriptor && or ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ee = or && We && typeof We.get == "function" ? We.get : null, $r = or && Map.prototype.forEach, ir = typeof Set == "function" && Set.prototype, ke = Object.getOwnPropertyDescriptor && ir ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Oe = ir && ke && typeof ke.get == "function" ? ke.get : null, _r = ir && Set.prototype.forEach, On = typeof WeakMap == "function" && WeakMap.prototype, oe = On ? WeakMap.prototype.has : null, Pn = typeof WeakSet == "function" && WeakSet.prototype, ie = Pn ? WeakSet.prototype.has : null, In = typeof WeakRef == "function" && WeakRef.prototype, Fr = In ? WeakRef.prototype.deref : null, $n = Boolean.prototype.valueOf, _n = Object.prototype.toString, Fn = Function.prototype.toString, Dn = String.prototype.match, lr = String.prototype.slice, W = String.prototype.replace, xn = String.prototype.toUpperCase, Dr = String.prototype.toLowerCase, Jr = RegExp.prototype.test, xr = Array.prototype.concat, F = Array.prototype.join, Rn = Array.prototype.slice, Rr = Math.floor, Ye = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, qe = Object.getOwnPropertySymbols, je = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Z = typeof Symbol == "function" && typeof Symbol.iterator == "object", E = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Z || !0) ? Symbol.toStringTag : null, Yr = Object.prototype.propertyIsEnumerable, Tr = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(r) {
|
|
478
|
+
return r.__proto__;
|
|
479
|
+
} : null);
|
|
480
|
+
function Nr(r, e) {
|
|
481
|
+
if (r === 1 / 0 || r === -1 / 0 || r !== r || r && r > -1e3 && r < 1e3 || Jr.call(/e/, e))
|
|
482
|
+
return e;
|
|
483
|
+
var t = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
484
|
+
if (typeof r == "number") {
|
|
485
|
+
var n = r < 0 ? -Rr(-r) : Rr(r);
|
|
486
|
+
if (n !== r) {
|
|
487
|
+
var o = String(n), a = lr.call(e, o.length + 1);
|
|
488
|
+
return W.call(o, t, "$&_") + "." + W.call(W.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
return W.call(e, t, "$&_");
|
|
492
|
+
}
|
|
493
|
+
var Xe = En, Br = Xe.custom, Mr = Zr(Br) ? Br : null, jr = {
|
|
494
|
+
__proto__: null,
|
|
495
|
+
double: '"',
|
|
496
|
+
single: "'"
|
|
497
|
+
}, Tn = {
|
|
498
|
+
__proto__: null,
|
|
499
|
+
double: /(["\\])/g,
|
|
500
|
+
single: /(['\\])/g
|
|
501
|
+
}, Nn = function r(e, t, n, o) {
|
|
502
|
+
var a = t || {};
|
|
503
|
+
if (x(a, "quoteStyle") && !x(jr, a.quoteStyle))
|
|
504
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
505
|
+
if (x(a, "maxStringLength") && (typeof a.maxStringLength == "number" ? a.maxStringLength < 0 && a.maxStringLength !== 1 / 0 : a.maxStringLength !== null))
|
|
506
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
507
|
+
var i = x(a, "customInspect") ? a.customInspect : !0;
|
|
508
|
+
if (typeof i != "boolean" && i !== "symbol")
|
|
509
|
+
throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
510
|
+
if (x(a, "indent") && a.indent !== null && a.indent !== " " && !(parseInt(a.indent, 10) === a.indent && a.indent > 0))
|
|
511
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
512
|
+
if (x(a, "numericSeparator") && typeof a.numericSeparator != "boolean")
|
|
513
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
514
|
+
var f = a.numericSeparator;
|
|
515
|
+
if (typeof e > "u")
|
|
516
|
+
return "undefined";
|
|
517
|
+
if (e === null)
|
|
518
|
+
return "null";
|
|
519
|
+
if (typeof e == "boolean")
|
|
520
|
+
return e ? "true" : "false";
|
|
521
|
+
if (typeof e == "string")
|
|
522
|
+
return rt(e, a);
|
|
523
|
+
if (typeof e == "number") {
|
|
524
|
+
if (e === 0)
|
|
525
|
+
return 1 / 0 / e > 0 ? "0" : "-0";
|
|
526
|
+
var l = String(e);
|
|
527
|
+
return f ? Nr(e, l) : l;
|
|
528
|
+
}
|
|
529
|
+
if (typeof e == "bigint") {
|
|
530
|
+
var s = String(e) + "n";
|
|
531
|
+
return f ? Nr(e, s) : s;
|
|
532
|
+
}
|
|
533
|
+
var c = typeof a.depth > "u" ? 5 : a.depth;
|
|
534
|
+
if (typeof n > "u" && (n = 0), n >= c && c > 0 && typeof e == "object")
|
|
535
|
+
return Ze(e) ? "[Array]" : "[Object]";
|
|
536
|
+
var p = Xn(a, n);
|
|
537
|
+
if (typeof o > "u")
|
|
538
|
+
o = [];
|
|
539
|
+
else if (et(o, e) >= 0)
|
|
540
|
+
return "[Circular]";
|
|
541
|
+
function u(I, B, D) {
|
|
542
|
+
if (B && (o = Rn.call(o), o.push(B)), D) {
|
|
543
|
+
var ne = {
|
|
544
|
+
depth: a.depth
|
|
545
|
+
};
|
|
546
|
+
return x(a, "quoteStyle") && (ne.quoteStyle = a.quoteStyle), r(I, ne, n + 1, o);
|
|
547
|
+
}
|
|
548
|
+
return r(I, a, n + 1, o);
|
|
549
|
+
}
|
|
550
|
+
if (typeof e == "function" && !Cr(e)) {
|
|
551
|
+
var m = zn(e), v = ve(e, u);
|
|
552
|
+
return "[Function" + (m ? ": " + m : " (anonymous)") + "]" + (v.length > 0 ? " { " + F.call(v, ", ") + " }" : "");
|
|
553
|
+
}
|
|
554
|
+
if (Zr(e)) {
|
|
555
|
+
var g = Z ? W.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : je.call(e);
|
|
556
|
+
return typeof e == "object" && !Z ? ae(g) : g;
|
|
557
|
+
}
|
|
558
|
+
if (Jn(e)) {
|
|
559
|
+
for (var A = "<" + Dr.call(String(e.nodeName)), P = e.attributes || [], R = 0; R < P.length; R++)
|
|
560
|
+
A += " " + P[R].name + "=" + Xr(Bn(P[R].value), "double", a);
|
|
561
|
+
return A += ">", e.childNodes && e.childNodes.length && (A += "..."), A += "</" + Dr.call(String(e.nodeName)) + ">", A;
|
|
562
|
+
}
|
|
563
|
+
if (Ze(e)) {
|
|
564
|
+
if (e.length === 0)
|
|
565
|
+
return "[]";
|
|
566
|
+
var d = ve(e, u);
|
|
567
|
+
return p && !jn(d) ? "[" + er(d, p) + "]" : "[ " + F.call(d, ", ") + " ]";
|
|
568
|
+
}
|
|
569
|
+
if (Cn(e)) {
|
|
570
|
+
var T = ve(e, u);
|
|
571
|
+
return !("cause" in Error.prototype) && "cause" in e && !Yr.call(e, "cause") ? "{ [" + String(e) + "] " + F.call(xr.call("[cause]: " + u(e.cause), T), ", ") + " }" : T.length === 0 ? "[" + String(e) + "]" : "{ [" + String(e) + "] " + F.call(T, ", ") + " }";
|
|
572
|
+
}
|
|
573
|
+
if (typeof e == "object" && i) {
|
|
574
|
+
if (Mr && typeof e[Mr] == "function" && Xe)
|
|
575
|
+
return Xe(e, { depth: c - n });
|
|
576
|
+
if (i !== "symbol" && typeof e.inspect == "function")
|
|
577
|
+
return e.inspect();
|
|
578
|
+
}
|
|
579
|
+
if (Gn(e)) {
|
|
580
|
+
var q = [];
|
|
581
|
+
return $r && $r.call(e, function(I, B) {
|
|
582
|
+
q.push(u(B, e, !0) + " => " + u(I, e));
|
|
583
|
+
}), Ur("Map", Ee.call(e), q, p);
|
|
584
|
+
}
|
|
585
|
+
if (Kn(e)) {
|
|
586
|
+
var te = [];
|
|
587
|
+
return _r && _r.call(e, function(I) {
|
|
588
|
+
te.push(u(I, e));
|
|
589
|
+
}), Ur("Set", Oe.call(e), te, p);
|
|
590
|
+
}
|
|
591
|
+
if (Hn(e))
|
|
592
|
+
return ze("WeakMap");
|
|
593
|
+
if (Qn(e))
|
|
594
|
+
return ze("WeakSet");
|
|
595
|
+
if (Vn(e))
|
|
596
|
+
return ze("WeakRef");
|
|
597
|
+
if (Ln(e))
|
|
598
|
+
return ae(u(Number(e)));
|
|
599
|
+
if (kn(e))
|
|
600
|
+
return ae(u(Ye.call(e)));
|
|
601
|
+
if (Wn(e))
|
|
602
|
+
return ae($n.call(e));
|
|
603
|
+
if (Un(e))
|
|
604
|
+
return ae(u(String(e)));
|
|
605
|
+
if (typeof window < "u" && e === window)
|
|
606
|
+
return "{ [object Window] }";
|
|
607
|
+
if (typeof globalThis < "u" && e === globalThis || typeof sr < "u" && e === sr)
|
|
608
|
+
return "{ [object globalThis] }";
|
|
609
|
+
if (!Mn(e) && !Cr(e)) {
|
|
610
|
+
var V = ve(e, u), ye = Tr ? Tr(e) === Object.prototype : e instanceof Object || e.constructor === Object, z = e instanceof Object ? "" : "null prototype", N = !ye && E && Object(e) === e && E in e ? lr.call(k(e), 8, -1) : z ? "Object" : "", de = ye || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", K = de + (N || z ? "[" + F.call(xr.call([], N || [], z || []), ": ") + "] " : "");
|
|
611
|
+
return V.length === 0 ? K + "{}" : p ? K + "{" + er(V, p) + "}" : K + "{ " + F.call(V, ", ") + " }";
|
|
612
|
+
}
|
|
613
|
+
return String(e);
|
|
614
|
+
};
|
|
615
|
+
function Xr(r, e, t) {
|
|
616
|
+
var n = t.quoteStyle || e, o = jr[n];
|
|
617
|
+
return o + r + o;
|
|
618
|
+
}
|
|
619
|
+
function Bn(r) {
|
|
620
|
+
return W.call(String(r), /"/g, """);
|
|
621
|
+
}
|
|
622
|
+
function Ze(r) {
|
|
623
|
+
return k(r) === "[object Array]" && (!E || !(typeof r == "object" && E in r));
|
|
624
|
+
}
|
|
625
|
+
function Mn(r) {
|
|
626
|
+
return k(r) === "[object Date]" && (!E || !(typeof r == "object" && E in r));
|
|
627
|
+
}
|
|
628
|
+
function Cr(r) {
|
|
629
|
+
return k(r) === "[object RegExp]" && (!E || !(typeof r == "object" && E in r));
|
|
630
|
+
}
|
|
631
|
+
function Cn(r) {
|
|
632
|
+
return k(r) === "[object Error]" && (!E || !(typeof r == "object" && E in r));
|
|
633
|
+
}
|
|
634
|
+
function Un(r) {
|
|
635
|
+
return k(r) === "[object String]" && (!E || !(typeof r == "object" && E in r));
|
|
636
|
+
}
|
|
637
|
+
function Ln(r) {
|
|
638
|
+
return k(r) === "[object Number]" && (!E || !(typeof r == "object" && E in r));
|
|
639
|
+
}
|
|
640
|
+
function Wn(r) {
|
|
641
|
+
return k(r) === "[object Boolean]" && (!E || !(typeof r == "object" && E in r));
|
|
642
|
+
}
|
|
643
|
+
function Zr(r) {
|
|
644
|
+
if (Z)
|
|
645
|
+
return r && typeof r == "object" && r instanceof Symbol;
|
|
646
|
+
if (typeof r == "symbol")
|
|
647
|
+
return !0;
|
|
648
|
+
if (!r || typeof r != "object" || !je)
|
|
649
|
+
return !1;
|
|
650
|
+
try {
|
|
651
|
+
return je.call(r), !0;
|
|
652
|
+
} catch {
|
|
653
|
+
}
|
|
654
|
+
return !1;
|
|
655
|
+
}
|
|
656
|
+
function kn(r) {
|
|
657
|
+
if (!r || typeof r != "object" || !Ye)
|
|
658
|
+
return !1;
|
|
659
|
+
try {
|
|
660
|
+
return Ye.call(r), !0;
|
|
661
|
+
} catch {
|
|
662
|
+
}
|
|
663
|
+
return !1;
|
|
664
|
+
}
|
|
665
|
+
var qn = Object.prototype.hasOwnProperty || function(r) {
|
|
666
|
+
return r in this;
|
|
667
|
+
};
|
|
668
|
+
function x(r, e) {
|
|
669
|
+
return qn.call(r, e);
|
|
670
|
+
}
|
|
671
|
+
function k(r) {
|
|
672
|
+
return _n.call(r);
|
|
673
|
+
}
|
|
674
|
+
function zn(r) {
|
|
675
|
+
if (r.name)
|
|
676
|
+
return r.name;
|
|
677
|
+
var e = Dn.call(Fn.call(r), /^function\s*([\w$]+)/);
|
|
678
|
+
return e ? e[1] : null;
|
|
679
|
+
}
|
|
680
|
+
function et(r, e) {
|
|
681
|
+
if (r.indexOf)
|
|
682
|
+
return r.indexOf(e);
|
|
683
|
+
for (var t = 0, n = r.length; t < n; t++)
|
|
684
|
+
if (r[t] === e)
|
|
685
|
+
return t;
|
|
686
|
+
return -1;
|
|
687
|
+
}
|
|
688
|
+
function Gn(r) {
|
|
689
|
+
if (!Ee || !r || typeof r != "object")
|
|
690
|
+
return !1;
|
|
691
|
+
try {
|
|
692
|
+
Ee.call(r);
|
|
693
|
+
try {
|
|
694
|
+
Oe.call(r);
|
|
695
|
+
} catch {
|
|
696
|
+
return !0;
|
|
697
|
+
}
|
|
698
|
+
return r instanceof Map;
|
|
699
|
+
} catch {
|
|
700
|
+
}
|
|
701
|
+
return !1;
|
|
702
|
+
}
|
|
703
|
+
function Hn(r) {
|
|
704
|
+
if (!oe || !r || typeof r != "object")
|
|
705
|
+
return !1;
|
|
706
|
+
try {
|
|
707
|
+
oe.call(r, oe);
|
|
708
|
+
try {
|
|
709
|
+
ie.call(r, ie);
|
|
710
|
+
} catch {
|
|
711
|
+
return !0;
|
|
712
|
+
}
|
|
713
|
+
return r instanceof WeakMap;
|
|
714
|
+
} catch {
|
|
715
|
+
}
|
|
716
|
+
return !1;
|
|
717
|
+
}
|
|
718
|
+
function Vn(r) {
|
|
719
|
+
if (!Fr || !r || typeof r != "object")
|
|
720
|
+
return !1;
|
|
721
|
+
try {
|
|
722
|
+
return Fr.call(r), !0;
|
|
723
|
+
} catch {
|
|
724
|
+
}
|
|
725
|
+
return !1;
|
|
726
|
+
}
|
|
727
|
+
function Kn(r) {
|
|
728
|
+
if (!Oe || !r || typeof r != "object")
|
|
729
|
+
return !1;
|
|
730
|
+
try {
|
|
731
|
+
Oe.call(r);
|
|
732
|
+
try {
|
|
733
|
+
Ee.call(r);
|
|
734
|
+
} catch {
|
|
735
|
+
return !0;
|
|
736
|
+
}
|
|
737
|
+
return r instanceof Set;
|
|
738
|
+
} catch {
|
|
739
|
+
}
|
|
740
|
+
return !1;
|
|
741
|
+
}
|
|
742
|
+
function Qn(r) {
|
|
743
|
+
if (!ie || !r || typeof r != "object")
|
|
744
|
+
return !1;
|
|
745
|
+
try {
|
|
746
|
+
ie.call(r, ie);
|
|
747
|
+
try {
|
|
748
|
+
oe.call(r, oe);
|
|
749
|
+
} catch {
|
|
750
|
+
return !0;
|
|
751
|
+
}
|
|
752
|
+
return r instanceof WeakSet;
|
|
753
|
+
} catch {
|
|
754
|
+
}
|
|
755
|
+
return !1;
|
|
756
|
+
}
|
|
757
|
+
function Jn(r) {
|
|
758
|
+
return !r || typeof r != "object" ? !1 : typeof HTMLElement < "u" && r instanceof HTMLElement ? !0 : typeof r.nodeName == "string" && typeof r.getAttribute == "function";
|
|
759
|
+
}
|
|
760
|
+
function rt(r, e) {
|
|
761
|
+
if (r.length > e.maxStringLength) {
|
|
762
|
+
var t = r.length - e.maxStringLength, n = "... " + t + " more character" + (t > 1 ? "s" : "");
|
|
763
|
+
return rt(lr.call(r, 0, e.maxStringLength), e) + n;
|
|
764
|
+
}
|
|
765
|
+
var o = Tn[e.quoteStyle || "single"];
|
|
766
|
+
o.lastIndex = 0;
|
|
767
|
+
var a = W.call(W.call(r, o, "\\$1"), /[\x00-\x1f]/g, Yn);
|
|
768
|
+
return Xr(a, "single", e);
|
|
769
|
+
}
|
|
770
|
+
function Yn(r) {
|
|
771
|
+
var e = r.charCodeAt(0), t = {
|
|
772
|
+
8: "b",
|
|
773
|
+
9: "t",
|
|
774
|
+
10: "n",
|
|
775
|
+
12: "f",
|
|
776
|
+
13: "r"
|
|
777
|
+
}[e];
|
|
778
|
+
return t ? "\\" + t : "\\x" + (e < 16 ? "0" : "") + xn.call(e.toString(16));
|
|
779
|
+
}
|
|
780
|
+
function ae(r) {
|
|
781
|
+
return "Object(" + r + ")";
|
|
782
|
+
}
|
|
783
|
+
function ze(r) {
|
|
784
|
+
return r + " { ? }";
|
|
785
|
+
}
|
|
786
|
+
function Ur(r, e, t, n) {
|
|
787
|
+
var o = n ? er(t, n) : F.call(t, ", ");
|
|
788
|
+
return r + " (" + e + ") {" + o + "}";
|
|
789
|
+
}
|
|
790
|
+
function jn(r) {
|
|
791
|
+
for (var e = 0; e < r.length; e++)
|
|
792
|
+
if (et(r[e], `
|
|
793
|
+
`) >= 0)
|
|
794
|
+
return !1;
|
|
795
|
+
return !0;
|
|
796
|
+
}
|
|
797
|
+
function Xn(r, e) {
|
|
798
|
+
var t;
|
|
799
|
+
if (r.indent === " ")
|
|
800
|
+
t = " ";
|
|
801
|
+
else if (typeof r.indent == "number" && r.indent > 0)
|
|
802
|
+
t = F.call(Array(r.indent + 1), " ");
|
|
803
|
+
else
|
|
804
|
+
return null;
|
|
805
|
+
return {
|
|
806
|
+
base: t,
|
|
807
|
+
prev: F.call(Array(e + 1), t)
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
function er(r, e) {
|
|
811
|
+
if (r.length === 0)
|
|
812
|
+
return "";
|
|
813
|
+
var t = `
|
|
814
|
+
` + e.prev + e.base;
|
|
815
|
+
return t + F.call(r, "," + t) + `
|
|
816
|
+
` + e.prev;
|
|
817
|
+
}
|
|
818
|
+
function ve(r, e) {
|
|
819
|
+
var t = Ze(r), n = [];
|
|
820
|
+
if (t) {
|
|
821
|
+
n.length = r.length;
|
|
822
|
+
for (var o = 0; o < r.length; o++)
|
|
823
|
+
n[o] = x(r, o) ? e(r[o], r) : "";
|
|
824
|
+
}
|
|
825
|
+
var a = typeof qe == "function" ? qe(r) : [], i;
|
|
826
|
+
if (Z) {
|
|
827
|
+
i = {};
|
|
828
|
+
for (var f = 0; f < a.length; f++)
|
|
829
|
+
i["$" + a[f]] = a[f];
|
|
830
|
+
}
|
|
831
|
+
for (var l in r)
|
|
832
|
+
x(r, l) && (t && String(Number(l)) === l && l < r.length || Z && i["$" + l] instanceof Symbol || (Jr.call(/[^\w$]/, l) ? n.push(e(l, r) + ": " + e(r[l], r)) : n.push(l + ": " + e(r[l], r))));
|
|
833
|
+
if (typeof qe == "function")
|
|
834
|
+
for (var s = 0; s < a.length; s++)
|
|
835
|
+
Yr.call(r, a[s]) && n.push("[" + e(a[s]) + "]: " + e(r[a[s]], r));
|
|
836
|
+
return n;
|
|
837
|
+
}
|
|
838
|
+
var tt = ar, re = bn, Zn = Nn, ea = ue, me = tt("%WeakMap%", !0), he = tt("%Map%", !0), ra = re("WeakMap.prototype.get", !0), ta = re("WeakMap.prototype.set", !0), na = re("WeakMap.prototype.has", !0), aa = re("Map.prototype.get", !0), oa = re("Map.prototype.set", !0), ia = re("Map.prototype.has", !0), fr = function(r, e) {
|
|
839
|
+
for (var t = r, n; (n = t.next) !== null; t = n)
|
|
840
|
+
if (n.key === e)
|
|
841
|
+
return t.next = n.next, n.next = /** @type {NonNullable<typeof list.next>} */
|
|
842
|
+
r.next, r.next = n, n;
|
|
843
|
+
}, la = function(r, e) {
|
|
844
|
+
var t = fr(r, e);
|
|
845
|
+
return t && t.value;
|
|
846
|
+
}, fa = function(r, e, t) {
|
|
847
|
+
var n = fr(r, e);
|
|
848
|
+
n ? n.value = t : r.next = /** @type {import('.').ListNode<typeof value>} */
|
|
849
|
+
{
|
|
850
|
+
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
851
|
+
key: e,
|
|
852
|
+
next: r.next,
|
|
853
|
+
value: t
|
|
854
|
+
};
|
|
855
|
+
}, ua = function(r, e) {
|
|
856
|
+
return !!fr(r, e);
|
|
857
|
+
}, ca = function() {
|
|
858
|
+
var e, t, n, o = {
|
|
859
|
+
assert: function(a) {
|
|
860
|
+
if (!o.has(a))
|
|
861
|
+
throw new ea("Side channel does not contain " + Zn(a));
|
|
862
|
+
},
|
|
863
|
+
get: function(a) {
|
|
864
|
+
if (me && a && (typeof a == "object" || typeof a == "function")) {
|
|
865
|
+
if (e)
|
|
866
|
+
return ra(e, a);
|
|
867
|
+
} else if (he) {
|
|
868
|
+
if (t)
|
|
869
|
+
return aa(t, a);
|
|
870
|
+
} else if (n)
|
|
871
|
+
return la(n, a);
|
|
872
|
+
},
|
|
873
|
+
has: function(a) {
|
|
874
|
+
if (me && a && (typeof a == "object" || typeof a == "function")) {
|
|
875
|
+
if (e)
|
|
876
|
+
return na(e, a);
|
|
877
|
+
} else if (he) {
|
|
878
|
+
if (t)
|
|
879
|
+
return ia(t, a);
|
|
880
|
+
} else if (n)
|
|
881
|
+
return ua(n, a);
|
|
882
|
+
return !1;
|
|
883
|
+
},
|
|
884
|
+
set: function(a, i) {
|
|
885
|
+
me && a && (typeof a == "object" || typeof a == "function") ? (e || (e = new me()), ta(e, a, i)) : he ? (t || (t = new he()), oa(t, a, i)) : (n || (n = { key: {}, next: null }), fa(n, a, i));
|
|
886
|
+
}
|
|
887
|
+
};
|
|
888
|
+
return o;
|
|
889
|
+
}, sa = String.prototype.replace, pa = /%20/g, Ge = {
|
|
890
|
+
RFC1738: "RFC1738",
|
|
891
|
+
RFC3986: "RFC3986"
|
|
892
|
+
}, ur = {
|
|
893
|
+
default: Ge.RFC3986,
|
|
894
|
+
formatters: {
|
|
895
|
+
RFC1738: function(r) {
|
|
896
|
+
return sa.call(r, pa, "+");
|
|
897
|
+
},
|
|
898
|
+
RFC3986: function(r) {
|
|
899
|
+
return String(r);
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
RFC1738: Ge.RFC1738,
|
|
903
|
+
RFC3986: Ge.RFC3986
|
|
904
|
+
}, ya = ur, He = Object.prototype.hasOwnProperty, G = Array.isArray, $ = function() {
|
|
905
|
+
for (var r = [], e = 0; e < 256; ++e)
|
|
906
|
+
r.push("%" + ((e < 16 ? "0" : "") + e.toString(16)).toUpperCase());
|
|
907
|
+
return r;
|
|
908
|
+
}(), da = function(e) {
|
|
909
|
+
for (; e.length > 1; ) {
|
|
910
|
+
var t = e.pop(), n = t.obj[t.prop];
|
|
911
|
+
if (G(n)) {
|
|
912
|
+
for (var o = [], a = 0; a < n.length; ++a)
|
|
913
|
+
typeof n[a] < "u" && o.push(n[a]);
|
|
914
|
+
t.obj[t.prop] = o;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
}, nt = function(e, t) {
|
|
918
|
+
for (var n = t && t.plainObjects ? { __proto__: null } : {}, o = 0; o < e.length; ++o)
|
|
919
|
+
typeof e[o] < "u" && (n[o] = e[o]);
|
|
920
|
+
return n;
|
|
921
|
+
}, va = function r(e, t, n) {
|
|
922
|
+
if (!t)
|
|
923
|
+
return e;
|
|
924
|
+
if (typeof t != "object" && typeof t != "function") {
|
|
925
|
+
if (G(e))
|
|
926
|
+
e.push(t);
|
|
927
|
+
else if (e && typeof e == "object")
|
|
928
|
+
(n && (n.plainObjects || n.allowPrototypes) || !He.call(Object.prototype, t)) && (e[t] = !0);
|
|
929
|
+
else
|
|
930
|
+
return [e, t];
|
|
931
|
+
return e;
|
|
932
|
+
}
|
|
933
|
+
if (!e || typeof e != "object")
|
|
934
|
+
return [e].concat(t);
|
|
935
|
+
var o = e;
|
|
936
|
+
return G(e) && !G(t) && (o = nt(e, n)), G(e) && G(t) ? (t.forEach(function(a, i) {
|
|
937
|
+
if (He.call(e, i)) {
|
|
938
|
+
var f = e[i];
|
|
939
|
+
f && typeof f == "object" && a && typeof a == "object" ? e[i] = r(f, a, n) : e.push(a);
|
|
940
|
+
} else
|
|
941
|
+
e[i] = a;
|
|
942
|
+
}), e) : Object.keys(t).reduce(function(a, i) {
|
|
943
|
+
var f = t[i];
|
|
944
|
+
return He.call(a, i) ? a[i] = r(a[i], f, n) : a[i] = f, a;
|
|
945
|
+
}, o);
|
|
946
|
+
}, ma = function(e, t) {
|
|
947
|
+
return Object.keys(t).reduce(function(n, o) {
|
|
948
|
+
return n[o] = t[o], n;
|
|
949
|
+
}, e);
|
|
950
|
+
}, ha = function(r, e, t) {
|
|
951
|
+
var n = r.replace(/\+/g, " ");
|
|
952
|
+
if (t === "iso-8859-1")
|
|
953
|
+
return n.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
954
|
+
try {
|
|
955
|
+
return decodeURIComponent(n);
|
|
956
|
+
} catch {
|
|
957
|
+
return n;
|
|
958
|
+
}
|
|
959
|
+
}, Ve = 1024, ga = function(e, t, n, o, a) {
|
|
960
|
+
if (e.length === 0)
|
|
961
|
+
return e;
|
|
962
|
+
var i = e;
|
|
963
|
+
if (typeof e == "symbol" ? i = Symbol.prototype.toString.call(e) : typeof e != "string" && (i = String(e)), n === "iso-8859-1")
|
|
964
|
+
return escape(i).replace(/%u[0-9a-f]{4}/gi, function(m) {
|
|
965
|
+
return "%26%23" + parseInt(m.slice(2), 16) + "%3B";
|
|
966
|
+
});
|
|
967
|
+
for (var f = "", l = 0; l < i.length; l += Ve) {
|
|
968
|
+
for (var s = i.length >= Ve ? i.slice(l, l + Ve) : i, c = [], p = 0; p < s.length; ++p) {
|
|
969
|
+
var u = s.charCodeAt(p);
|
|
970
|
+
if (u === 45 || u === 46 || u === 95 || u === 126 || u >= 48 && u <= 57 || u >= 65 && u <= 90 || u >= 97 && u <= 122 || a === ya.RFC1738 && (u === 40 || u === 41)) {
|
|
971
|
+
c[c.length] = s.charAt(p);
|
|
972
|
+
continue;
|
|
973
|
+
}
|
|
974
|
+
if (u < 128) {
|
|
975
|
+
c[c.length] = $[u];
|
|
976
|
+
continue;
|
|
977
|
+
}
|
|
978
|
+
if (u < 2048) {
|
|
979
|
+
c[c.length] = $[192 | u >> 6] + $[128 | u & 63];
|
|
980
|
+
continue;
|
|
981
|
+
}
|
|
982
|
+
if (u < 55296 || u >= 57344) {
|
|
983
|
+
c[c.length] = $[224 | u >> 12] + $[128 | u >> 6 & 63] + $[128 | u & 63];
|
|
984
|
+
continue;
|
|
985
|
+
}
|
|
986
|
+
p += 1, u = 65536 + ((u & 1023) << 10 | s.charCodeAt(p) & 1023), c[c.length] = $[240 | u >> 18] + $[128 | u >> 12 & 63] + $[128 | u >> 6 & 63] + $[128 | u & 63];
|
|
987
|
+
}
|
|
988
|
+
f += c.join("");
|
|
989
|
+
}
|
|
990
|
+
return f;
|
|
991
|
+
}, Sa = function(e) {
|
|
992
|
+
for (var t = [{ obj: { o: e }, prop: "o" }], n = [], o = 0; o < t.length; ++o)
|
|
993
|
+
for (var a = t[o], i = a.obj[a.prop], f = Object.keys(i), l = 0; l < f.length; ++l) {
|
|
994
|
+
var s = f[l], c = i[s];
|
|
995
|
+
typeof c == "object" && c !== null && n.indexOf(c) === -1 && (t.push({ obj: i, prop: s }), n.push(c));
|
|
996
|
+
}
|
|
997
|
+
return da(t), e;
|
|
998
|
+
}, ba = function(e) {
|
|
999
|
+
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
1000
|
+
}, wa = function(e) {
|
|
1001
|
+
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
1002
|
+
}, Aa = function(e, t) {
|
|
1003
|
+
return [].concat(e, t);
|
|
1004
|
+
}, Ea = function(e, t) {
|
|
1005
|
+
if (G(e)) {
|
|
1006
|
+
for (var n = [], o = 0; o < e.length; o += 1)
|
|
1007
|
+
n.push(t(e[o]));
|
|
1008
|
+
return n;
|
|
1009
|
+
}
|
|
1010
|
+
return t(e);
|
|
1011
|
+
}, at = {
|
|
1012
|
+
arrayToObject: nt,
|
|
1013
|
+
assign: ma,
|
|
1014
|
+
combine: Aa,
|
|
1015
|
+
compact: Sa,
|
|
1016
|
+
decode: ha,
|
|
1017
|
+
encode: ga,
|
|
1018
|
+
isBuffer: wa,
|
|
1019
|
+
isRegExp: ba,
|
|
1020
|
+
maybeMap: Ea,
|
|
1021
|
+
merge: va
|
|
1022
|
+
}, ot = ca, be = at, le = ur, Oa = Object.prototype.hasOwnProperty, it = {
|
|
1023
|
+
brackets: function(e) {
|
|
1024
|
+
return e + "[]";
|
|
1025
|
+
},
|
|
1026
|
+
comma: "comma",
|
|
1027
|
+
indices: function(e, t) {
|
|
1028
|
+
return e + "[" + t + "]";
|
|
1029
|
+
},
|
|
1030
|
+
repeat: function(e) {
|
|
1031
|
+
return e;
|
|
1032
|
+
}
|
|
1033
|
+
}, _ = Array.isArray, Pa = Array.prototype.push, lt = function(r, e) {
|
|
1034
|
+
Pa.apply(r, _(e) ? e : [e]);
|
|
1035
|
+
}, Ia = Date.prototype.toISOString, Lr = le.default, S = {
|
|
1036
|
+
addQueryPrefix: !1,
|
|
1037
|
+
allowDots: !1,
|
|
1038
|
+
allowEmptyArrays: !1,
|
|
1039
|
+
arrayFormat: "indices",
|
|
1040
|
+
charset: "utf-8",
|
|
1041
|
+
charsetSentinel: !1,
|
|
1042
|
+
commaRoundTrip: !1,
|
|
1043
|
+
delimiter: "&",
|
|
1044
|
+
encode: !0,
|
|
1045
|
+
encodeDotInKeys: !1,
|
|
1046
|
+
encoder: be.encode,
|
|
1047
|
+
encodeValuesOnly: !1,
|
|
1048
|
+
filter: void 0,
|
|
1049
|
+
format: Lr,
|
|
1050
|
+
formatter: le.formatters[Lr],
|
|
1051
|
+
// deprecated
|
|
1052
|
+
indices: !1,
|
|
1053
|
+
serializeDate: function(e) {
|
|
1054
|
+
return Ia.call(e);
|
|
1055
|
+
},
|
|
1056
|
+
skipNulls: !1,
|
|
1057
|
+
strictNullHandling: !1
|
|
1058
|
+
}, $a = function(e) {
|
|
1059
|
+
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
1060
|
+
}, Ke = {}, _a = function r(e, t, n, o, a, i, f, l, s, c, p, u, m, v, g, A, P, R) {
|
|
1061
|
+
for (var d = e, T = R, q = 0, te = !1; (T = T.get(Ke)) !== void 0 && !te; ) {
|
|
1062
|
+
var V = T.get(e);
|
|
1063
|
+
if (q += 1, typeof V < "u") {
|
|
1064
|
+
if (V === q)
|
|
1065
|
+
throw new RangeError("Cyclic object value");
|
|
1066
|
+
te = !0;
|
|
1067
|
+
}
|
|
1068
|
+
typeof T.get(Ke) > "u" && (q = 0);
|
|
1069
|
+
}
|
|
1070
|
+
if (typeof c == "function" ? d = c(t, d) : d instanceof Date ? d = m(d) : n === "comma" && _(d) && (d = be.maybeMap(d, function(Fe) {
|
|
1071
|
+
return Fe instanceof Date ? m(Fe) : Fe;
|
|
1072
|
+
})), d === null) {
|
|
1073
|
+
if (i)
|
|
1074
|
+
return s && !A ? s(t, S.encoder, P, "key", v) : t;
|
|
1075
|
+
d = "";
|
|
1076
|
+
}
|
|
1077
|
+
if ($a(d) || be.isBuffer(d)) {
|
|
1078
|
+
if (s) {
|
|
1079
|
+
var ye = A ? t : s(t, S.encoder, P, "key", v);
|
|
1080
|
+
return [g(ye) + "=" + g(s(d, S.encoder, P, "value", v))];
|
|
1081
|
+
}
|
|
1082
|
+
return [g(t) + "=" + g(String(d))];
|
|
1083
|
+
}
|
|
1084
|
+
var z = [];
|
|
1085
|
+
if (typeof d > "u")
|
|
1086
|
+
return z;
|
|
1087
|
+
var N;
|
|
1088
|
+
if (n === "comma" && _(d))
|
|
1089
|
+
A && s && (d = be.maybeMap(d, s)), N = [{ value: d.length > 0 ? d.join(",") || null : void 0 }];
|
|
1090
|
+
else if (_(c))
|
|
1091
|
+
N = c;
|
|
1092
|
+
else {
|
|
1093
|
+
var de = Object.keys(d);
|
|
1094
|
+
N = p ? de.sort(p) : de;
|
|
1095
|
+
}
|
|
1096
|
+
var K = l ? String(t).replace(/\./g, "%2E") : String(t), I = o && _(d) && d.length === 1 ? K + "[]" : K;
|
|
1097
|
+
if (a && _(d) && d.length === 0)
|
|
1098
|
+
return I + "[]";
|
|
1099
|
+
for (var B = 0; B < N.length; ++B) {
|
|
1100
|
+
var D = N[B], ne = typeof D == "object" && D && typeof D.value < "u" ? D.value : d[D];
|
|
1101
|
+
if (!(f && ne === null)) {
|
|
1102
|
+
var _e = u && l ? String(D).replace(/\./g, "%2E") : String(D), ut = _(d) ? typeof n == "function" ? n(I, _e) : I : I + (u ? "." + _e : "[" + _e + "]");
|
|
1103
|
+
R.set(e, q);
|
|
1104
|
+
var cr = ot();
|
|
1105
|
+
cr.set(Ke, R), lt(z, r(
|
|
1106
|
+
ne,
|
|
1107
|
+
ut,
|
|
1108
|
+
n,
|
|
1109
|
+
o,
|
|
1110
|
+
a,
|
|
1111
|
+
i,
|
|
1112
|
+
f,
|
|
1113
|
+
l,
|
|
1114
|
+
n === "comma" && A && _(d) ? null : s,
|
|
1115
|
+
c,
|
|
1116
|
+
p,
|
|
1117
|
+
u,
|
|
1118
|
+
m,
|
|
1119
|
+
v,
|
|
1120
|
+
g,
|
|
1121
|
+
A,
|
|
1122
|
+
P,
|
|
1123
|
+
cr
|
|
1124
|
+
));
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
return z;
|
|
1128
|
+
}, Fa = function(e) {
|
|
1129
|
+
if (!e)
|
|
1130
|
+
return S;
|
|
1131
|
+
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
1132
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1133
|
+
if (typeof e.encodeDotInKeys < "u" && typeof e.encodeDotInKeys != "boolean")
|
|
1134
|
+
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1135
|
+
if (e.encoder !== null && typeof e.encoder < "u" && typeof e.encoder != "function")
|
|
1136
|
+
throw new TypeError("Encoder has to be a function.");
|
|
1137
|
+
var t = e.charset || S.charset;
|
|
1138
|
+
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
1139
|
+
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1140
|
+
var n = le.default;
|
|
1141
|
+
if (typeof e.format < "u") {
|
|
1142
|
+
if (!Oa.call(le.formatters, e.format))
|
|
1143
|
+
throw new TypeError("Unknown format option provided.");
|
|
1144
|
+
n = e.format;
|
|
1145
|
+
}
|
|
1146
|
+
var o = le.formatters[n], a = S.filter;
|
|
1147
|
+
(typeof e.filter == "function" || _(e.filter)) && (a = e.filter);
|
|
1148
|
+
var i;
|
|
1149
|
+
if (e.arrayFormat in it ? i = e.arrayFormat : "indices" in e ? i = e.indices ? "indices" : "repeat" : i = S.arrayFormat, "commaRoundTrip" in e && typeof e.commaRoundTrip != "boolean")
|
|
1150
|
+
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
1151
|
+
var f = typeof e.allowDots > "u" ? e.encodeDotInKeys === !0 ? !0 : S.allowDots : !!e.allowDots;
|
|
1152
|
+
return {
|
|
1153
|
+
addQueryPrefix: typeof e.addQueryPrefix == "boolean" ? e.addQueryPrefix : S.addQueryPrefix,
|
|
1154
|
+
allowDots: f,
|
|
1155
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : S.allowEmptyArrays,
|
|
1156
|
+
arrayFormat: i,
|
|
1157
|
+
charset: t,
|
|
1158
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : S.charsetSentinel,
|
|
1159
|
+
commaRoundTrip: !!e.commaRoundTrip,
|
|
1160
|
+
delimiter: typeof e.delimiter > "u" ? S.delimiter : e.delimiter,
|
|
1161
|
+
encode: typeof e.encode == "boolean" ? e.encode : S.encode,
|
|
1162
|
+
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : S.encodeDotInKeys,
|
|
1163
|
+
encoder: typeof e.encoder == "function" ? e.encoder : S.encoder,
|
|
1164
|
+
encodeValuesOnly: typeof e.encodeValuesOnly == "boolean" ? e.encodeValuesOnly : S.encodeValuesOnly,
|
|
1165
|
+
filter: a,
|
|
1166
|
+
format: n,
|
|
1167
|
+
formatter: o,
|
|
1168
|
+
serializeDate: typeof e.serializeDate == "function" ? e.serializeDate : S.serializeDate,
|
|
1169
|
+
skipNulls: typeof e.skipNulls == "boolean" ? e.skipNulls : S.skipNulls,
|
|
1170
|
+
sort: typeof e.sort == "function" ? e.sort : null,
|
|
1171
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : S.strictNullHandling
|
|
1172
|
+
};
|
|
1173
|
+
}, Da = function(r, e) {
|
|
1174
|
+
var t = r, n = Fa(e), o, a;
|
|
1175
|
+
typeof n.filter == "function" ? (a = n.filter, t = a("", t)) : _(n.filter) && (a = n.filter, o = a);
|
|
1176
|
+
var i = [];
|
|
1177
|
+
if (typeof t != "object" || t === null)
|
|
1178
|
+
return "";
|
|
1179
|
+
var f = it[n.arrayFormat], l = f === "comma" && n.commaRoundTrip;
|
|
1180
|
+
o || (o = Object.keys(t)), n.sort && o.sort(n.sort);
|
|
1181
|
+
for (var s = ot(), c = 0; c < o.length; ++c) {
|
|
1182
|
+
var p = o[c], u = t[p];
|
|
1183
|
+
n.skipNulls && u === null || lt(i, _a(
|
|
1184
|
+
u,
|
|
1185
|
+
p,
|
|
1186
|
+
f,
|
|
1187
|
+
l,
|
|
1188
|
+
n.allowEmptyArrays,
|
|
1189
|
+
n.strictNullHandling,
|
|
1190
|
+
n.skipNulls,
|
|
1191
|
+
n.encodeDotInKeys,
|
|
1192
|
+
n.encode ? n.encoder : null,
|
|
1193
|
+
n.filter,
|
|
1194
|
+
n.sort,
|
|
1195
|
+
n.allowDots,
|
|
1196
|
+
n.serializeDate,
|
|
1197
|
+
n.format,
|
|
1198
|
+
n.formatter,
|
|
1199
|
+
n.encodeValuesOnly,
|
|
1200
|
+
n.charset,
|
|
1201
|
+
s
|
|
1202
|
+
));
|
|
1203
|
+
}
|
|
1204
|
+
var m = i.join(n.delimiter), v = n.addQueryPrefix === !0 ? "?" : "";
|
|
1205
|
+
return n.charsetSentinel && (n.charset === "iso-8859-1" ? v += "utf8=%26%2310003%3B&" : v += "utf8=%E2%9C%93&"), m.length > 0 ? v + m : "";
|
|
1206
|
+
}, ee = at, rr = Object.prototype.hasOwnProperty, xa = Array.isArray, h = {
|
|
1207
|
+
allowDots: !1,
|
|
1208
|
+
allowEmptyArrays: !1,
|
|
1209
|
+
allowPrototypes: !1,
|
|
1210
|
+
allowSparse: !1,
|
|
1211
|
+
arrayLimit: 20,
|
|
1212
|
+
charset: "utf-8",
|
|
1213
|
+
charsetSentinel: !1,
|
|
1214
|
+
comma: !1,
|
|
1215
|
+
decodeDotInKeys: !1,
|
|
1216
|
+
decoder: ee.decode,
|
|
1217
|
+
delimiter: "&",
|
|
1218
|
+
depth: 5,
|
|
1219
|
+
duplicates: "combine",
|
|
1220
|
+
ignoreQueryPrefix: !1,
|
|
1221
|
+
interpretNumericEntities: !1,
|
|
1222
|
+
parameterLimit: 1e3,
|
|
1223
|
+
parseArrays: !0,
|
|
1224
|
+
plainObjects: !1,
|
|
1225
|
+
strictDepth: !1,
|
|
1226
|
+
strictNullHandling: !1
|
|
1227
|
+
}, Ra = function(r) {
|
|
1228
|
+
return r.replace(/&#(\d+);/g, function(e, t) {
|
|
1229
|
+
return String.fromCharCode(parseInt(t, 10));
|
|
1230
|
+
});
|
|
1231
|
+
}, ft = function(r, e) {
|
|
1232
|
+
return r && typeof r == "string" && e.comma && r.indexOf(",") > -1 ? r.split(",") : r;
|
|
1233
|
+
}, Ta = "utf8=%26%2310003%3B", Na = "utf8=%E2%9C%93", Ba = function(e, t) {
|
|
1234
|
+
var n = { __proto__: null }, o = t.ignoreQueryPrefix ? e.replace(/^\?/, "") : e;
|
|
1235
|
+
o = o.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
1236
|
+
var a = t.parameterLimit === 1 / 0 ? void 0 : t.parameterLimit, i = o.split(t.delimiter, a), f = -1, l, s = t.charset;
|
|
1237
|
+
if (t.charsetSentinel)
|
|
1238
|
+
for (l = 0; l < i.length; ++l)
|
|
1239
|
+
i[l].indexOf("utf8=") === 0 && (i[l] === Na ? s = "utf-8" : i[l] === Ta && (s = "iso-8859-1"), f = l, l = i.length);
|
|
1240
|
+
for (l = 0; l < i.length; ++l)
|
|
1241
|
+
if (l !== f) {
|
|
1242
|
+
var c = i[l], p = c.indexOf("]="), u = p === -1 ? c.indexOf("=") : p + 1, m, v;
|
|
1243
|
+
u === -1 ? (m = t.decoder(c, h.decoder, s, "key"), v = t.strictNullHandling ? null : "") : (m = t.decoder(c.slice(0, u), h.decoder, s, "key"), v = ee.maybeMap(
|
|
1244
|
+
ft(c.slice(u + 1), t),
|
|
1245
|
+
function(A) {
|
|
1246
|
+
return t.decoder(A, h.decoder, s, "value");
|
|
1247
|
+
}
|
|
1248
|
+
)), v && t.interpretNumericEntities && s === "iso-8859-1" && (v = Ra(String(v))), c.indexOf("[]=") > -1 && (v = xa(v) ? [v] : v);
|
|
1249
|
+
var g = rr.call(n, m);
|
|
1250
|
+
g && t.duplicates === "combine" ? n[m] = ee.combine(n[m], v) : (!g || t.duplicates === "last") && (n[m] = v);
|
|
1251
|
+
}
|
|
1252
|
+
return n;
|
|
1253
|
+
}, Ma = function(r, e, t, n) {
|
|
1254
|
+
for (var o = n ? e : ft(e, t), a = r.length - 1; a >= 0; --a) {
|
|
1255
|
+
var i, f = r[a];
|
|
1256
|
+
if (f === "[]" && t.parseArrays)
|
|
1257
|
+
i = t.allowEmptyArrays && (o === "" || t.strictNullHandling && o === null) ? [] : [].concat(o);
|
|
1258
|
+
else {
|
|
1259
|
+
i = t.plainObjects ? { __proto__: null } : {};
|
|
1260
|
+
var l = f.charAt(0) === "[" && f.charAt(f.length - 1) === "]" ? f.slice(1, -1) : f, s = t.decodeDotInKeys ? l.replace(/%2E/g, ".") : l, c = parseInt(s, 10);
|
|
1261
|
+
!t.parseArrays && s === "" ? i = { 0: o } : !isNaN(c) && f !== s && String(c) === s && c >= 0 && t.parseArrays && c <= t.arrayLimit ? (i = [], i[c] = o) : s !== "__proto__" && (i[s] = o);
|
|
1262
|
+
}
|
|
1263
|
+
o = i;
|
|
1264
|
+
}
|
|
1265
|
+
return o;
|
|
1266
|
+
}, Ca = function(e, t, n, o) {
|
|
1267
|
+
if (e) {
|
|
1268
|
+
var a = n.allowDots ? e.replace(/\.([^.[]+)/g, "[$1]") : e, i = /(\[[^[\]]*])/, f = /(\[[^[\]]*])/g, l = n.depth > 0 && i.exec(a), s = l ? a.slice(0, l.index) : a, c = [];
|
|
1269
|
+
if (s) {
|
|
1270
|
+
if (!n.plainObjects && rr.call(Object.prototype, s) && !n.allowPrototypes)
|
|
1271
|
+
return;
|
|
1272
|
+
c.push(s);
|
|
1273
|
+
}
|
|
1274
|
+
for (var p = 0; n.depth > 0 && (l = f.exec(a)) !== null && p < n.depth; ) {
|
|
1275
|
+
if (p += 1, !n.plainObjects && rr.call(Object.prototype, l[1].slice(1, -1)) && !n.allowPrototypes)
|
|
1276
|
+
return;
|
|
1277
|
+
c.push(l[1]);
|
|
1278
|
+
}
|
|
1279
|
+
if (l) {
|
|
1280
|
+
if (n.strictDepth === !0)
|
|
1281
|
+
throw new RangeError("Input depth exceeded depth option of " + n.depth + " and strictDepth is true");
|
|
1282
|
+
c.push("[" + a.slice(l.index) + "]");
|
|
1283
|
+
}
|
|
1284
|
+
return Ma(c, t, n, o);
|
|
1285
|
+
}
|
|
1286
|
+
}, Ua = function(e) {
|
|
1287
|
+
if (!e)
|
|
1288
|
+
return h;
|
|
1289
|
+
if (typeof e.allowEmptyArrays < "u" && typeof e.allowEmptyArrays != "boolean")
|
|
1290
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
1291
|
+
if (typeof e.decodeDotInKeys < "u" && typeof e.decodeDotInKeys != "boolean")
|
|
1292
|
+
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
1293
|
+
if (e.decoder !== null && typeof e.decoder < "u" && typeof e.decoder != "function")
|
|
1294
|
+
throw new TypeError("Decoder has to be a function.");
|
|
1295
|
+
if (typeof e.charset < "u" && e.charset !== "utf-8" && e.charset !== "iso-8859-1")
|
|
1296
|
+
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
1297
|
+
var t = typeof e.charset > "u" ? h.charset : e.charset, n = typeof e.duplicates > "u" ? h.duplicates : e.duplicates;
|
|
1298
|
+
if (n !== "combine" && n !== "first" && n !== "last")
|
|
1299
|
+
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
1300
|
+
var o = typeof e.allowDots > "u" ? e.decodeDotInKeys === !0 ? !0 : h.allowDots : !!e.allowDots;
|
|
1301
|
+
return {
|
|
1302
|
+
allowDots: o,
|
|
1303
|
+
allowEmptyArrays: typeof e.allowEmptyArrays == "boolean" ? !!e.allowEmptyArrays : h.allowEmptyArrays,
|
|
1304
|
+
allowPrototypes: typeof e.allowPrototypes == "boolean" ? e.allowPrototypes : h.allowPrototypes,
|
|
1305
|
+
allowSparse: typeof e.allowSparse == "boolean" ? e.allowSparse : h.allowSparse,
|
|
1306
|
+
arrayLimit: typeof e.arrayLimit == "number" ? e.arrayLimit : h.arrayLimit,
|
|
1307
|
+
charset: t,
|
|
1308
|
+
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : h.charsetSentinel,
|
|
1309
|
+
comma: typeof e.comma == "boolean" ? e.comma : h.comma,
|
|
1310
|
+
decodeDotInKeys: typeof e.decodeDotInKeys == "boolean" ? e.decodeDotInKeys : h.decodeDotInKeys,
|
|
1311
|
+
decoder: typeof e.decoder == "function" ? e.decoder : h.decoder,
|
|
1312
|
+
delimiter: typeof e.delimiter == "string" || ee.isRegExp(e.delimiter) ? e.delimiter : h.delimiter,
|
|
1313
|
+
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
1314
|
+
depth: typeof e.depth == "number" || e.depth === !1 ? +e.depth : h.depth,
|
|
1315
|
+
duplicates: n,
|
|
1316
|
+
ignoreQueryPrefix: e.ignoreQueryPrefix === !0,
|
|
1317
|
+
interpretNumericEntities: typeof e.interpretNumericEntities == "boolean" ? e.interpretNumericEntities : h.interpretNumericEntities,
|
|
1318
|
+
parameterLimit: typeof e.parameterLimit == "number" ? e.parameterLimit : h.parameterLimit,
|
|
1319
|
+
parseArrays: e.parseArrays !== !1,
|
|
1320
|
+
plainObjects: typeof e.plainObjects == "boolean" ? e.plainObjects : h.plainObjects,
|
|
1321
|
+
strictDepth: typeof e.strictDepth == "boolean" ? !!e.strictDepth : h.strictDepth,
|
|
1322
|
+
strictNullHandling: typeof e.strictNullHandling == "boolean" ? e.strictNullHandling : h.strictNullHandling
|
|
1323
|
+
};
|
|
1324
|
+
}, La = function(r, e) {
|
|
1325
|
+
var t = Ua(e);
|
|
1326
|
+
if (r === "" || r === null || typeof r > "u")
|
|
1327
|
+
return t.plainObjects ? { __proto__: null } : {};
|
|
1328
|
+
for (var n = typeof r == "string" ? Ba(r, t) : r, o = t.plainObjects ? { __proto__: null } : {}, a = Object.keys(n), i = 0; i < a.length; ++i) {
|
|
1329
|
+
var f = a[i], l = Ca(f, n[f], t, typeof r == "string");
|
|
1330
|
+
o = ee.merge(o, l, t);
|
|
1331
|
+
}
|
|
1332
|
+
return t.allowSparse === !0 ? o : ee.compact(o);
|
|
1333
|
+
}, Wa = Da, ka = La, qa = ur, za = {
|
|
1334
|
+
formats: qa,
|
|
1335
|
+
parse: ka,
|
|
1336
|
+
stringify: Wa
|
|
1337
|
+
};
|
|
1338
|
+
const Ga = /* @__PURE__ */ bt(za);
|
|
1339
|
+
class Ha {
|
|
1340
|
+
getKey(e) {
|
|
1341
|
+
return {
|
|
1342
|
+
entrustId: e.entrustId
|
|
1343
|
+
};
|
|
1344
|
+
}
|
|
1345
|
+
// 查询翻页信息委托流程表
|
|
1346
|
+
findPage(e) {
|
|
1347
|
+
const t = C().user.tenant;
|
|
1348
|
+
return e && (e.hasServiceContent = e.serviceContent != null), U(e), L({
|
|
1349
|
+
url: "/v1/itsmflow/itsm_flow_entrust/mypage/" + t,
|
|
1350
|
+
method: "get",
|
|
1351
|
+
params: e
|
|
1352
|
+
});
|
|
1353
|
+
}
|
|
1354
|
+
// 查询列表信息委托流程表
|
|
1355
|
+
findList(e) {
|
|
1356
|
+
const t = C().user.tenant;
|
|
1357
|
+
return U(e), L({
|
|
1358
|
+
url: "/v1/itsmflow/itsm_flow_entrust/list/" + t,
|
|
1359
|
+
method: "get",
|
|
1360
|
+
params: e
|
|
1361
|
+
});
|
|
1362
|
+
}
|
|
1363
|
+
// 查询委托流程表
|
|
1364
|
+
findById(e) {
|
|
1365
|
+
const t = C().user.tenant;
|
|
1366
|
+
return U(e), L({
|
|
1367
|
+
url: "/v1/itsmflow/itsm_flow_entrust/id/" + t + "/" + e.entrustId,
|
|
1368
|
+
method: "get"
|
|
1369
|
+
});
|
|
1370
|
+
}
|
|
1371
|
+
// 保存草稿委托流程表
|
|
1372
|
+
save(e) {
|
|
1373
|
+
return e.tenant = C().user.tenant, U(e), L({
|
|
1374
|
+
url: "/v1/itsmflow/itsm_flow_entrust",
|
|
1375
|
+
method: "post",
|
|
1376
|
+
data: e
|
|
1377
|
+
});
|
|
1378
|
+
}
|
|
1379
|
+
// 提交委托流程表
|
|
1380
|
+
submit(e) {
|
|
1381
|
+
return e.tenant = C().user.tenant, U(e), L({
|
|
1382
|
+
url: "/v1/itsmflow/itsm_flow_entrust/submit",
|
|
1383
|
+
method: "post",
|
|
1384
|
+
data: e
|
|
1385
|
+
});
|
|
1386
|
+
}
|
|
1387
|
+
// 删除委托流程表
|
|
1388
|
+
delete(e) {
|
|
1389
|
+
return e.tenant = C().user.tenant, U(e), L({
|
|
1390
|
+
url: "/v1/itsmflow/itsm_flow_entrust/id",
|
|
1391
|
+
method: "delete",
|
|
1392
|
+
params: e
|
|
1393
|
+
});
|
|
1394
|
+
}
|
|
1395
|
+
// 打印委托流程表PDF文件
|
|
1396
|
+
exportPdf(e) {
|
|
1397
|
+
const t = C().user.tenant;
|
|
1398
|
+
U(e);
|
|
1399
|
+
const n = Ga.stringify(e, {
|
|
1400
|
+
arrayFormat: "brackets",
|
|
1401
|
+
allowDots: !0
|
|
1402
|
+
});
|
|
1403
|
+
return L({
|
|
1404
|
+
url: "/v1/itsmflow/itsm_flow_entrust/" + t + "/itsm_flow_entrusts.pdf?" + n,
|
|
1405
|
+
method: "get",
|
|
1406
|
+
responseType: "blob"
|
|
1407
|
+
});
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
const ao = new Ha();
|
|
1411
|
+
class Va extends Pe {
|
|
1412
|
+
// 实现 useValues 方法
|
|
1413
|
+
useValues() {
|
|
1414
|
+
return new Promise((e, t) => {
|
|
1415
|
+
vt.findList(this.query).then(({ data: n }) => {
|
|
1416
|
+
const o = n.results;
|
|
1417
|
+
this.values.length = 0, this.values.push(
|
|
1418
|
+
...o.map(
|
|
1419
|
+
(a) => ({
|
|
1420
|
+
key: a.contractId,
|
|
1421
|
+
value: a.contractName,
|
|
1422
|
+
contractNumber: a.contractNumber,
|
|
1423
|
+
orgId: a.orgId,
|
|
1424
|
+
mgrUserId: a.mgrUserId
|
|
1425
|
+
})
|
|
1426
|
+
)
|
|
1427
|
+
), e(this.values);
|
|
1428
|
+
}).catch(t);
|
|
1429
|
+
});
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
class Ka extends Pe {
|
|
1433
|
+
// 实现 useValues 方法
|
|
1434
|
+
useValues() {
|
|
1435
|
+
return new Promise((e, t) => {
|
|
1436
|
+
Qe.findOutSourceList(this.query).then(({ data: n }) => {
|
|
1437
|
+
const o = n.results;
|
|
1438
|
+
this.values.length = 0, this.values.push(
|
|
1439
|
+
...o.map(
|
|
1440
|
+
(a) => ({
|
|
1441
|
+
key: a.orgId,
|
|
1442
|
+
value: a.orgName
|
|
1443
|
+
})
|
|
1444
|
+
)
|
|
1445
|
+
), e(this.values);
|
|
1446
|
+
}).catch(t);
|
|
1447
|
+
});
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
class Qa extends Pe {
|
|
1451
|
+
// 实现 useValues 方法
|
|
1452
|
+
useValues() {
|
|
1453
|
+
return new Promise((e, t) => {
|
|
1454
|
+
mt.findList(this.query).then(({ data: n }) => {
|
|
1455
|
+
const o = n.results;
|
|
1456
|
+
this.values.length = 0, this.values.push(
|
|
1457
|
+
...o.map(
|
|
1458
|
+
(a) => ({
|
|
1459
|
+
key: a.userId,
|
|
1460
|
+
value: a.realName,
|
|
1461
|
+
idNo: a.idNo,
|
|
1462
|
+
cost: a.cost
|
|
1463
|
+
})
|
|
1464
|
+
)
|
|
1465
|
+
), e(this.values);
|
|
1466
|
+
}).catch(t);
|
|
1467
|
+
});
|
|
1468
|
+
}
|
|
1469
|
+
}
|
|
1470
|
+
class Ja extends pt {
|
|
1471
|
+
// 实现 useValues 方法
|
|
1472
|
+
useValues(e) {
|
|
1473
|
+
return new Promise((t, n) => {
|
|
1474
|
+
if (typeof Qe.findList > "u") {
|
|
1475
|
+
t(this.values);
|
|
1476
|
+
return;
|
|
1477
|
+
}
|
|
1478
|
+
const o = { ...this.query, excludeOrgId: e };
|
|
1479
|
+
Qe.findList(o).then(({ data: a }) => {
|
|
1480
|
+
const i = a.results;
|
|
1481
|
+
this.values.length = 0, this.values.push(...this.convertToLayEntryArray(i)), t(this.values);
|
|
1482
|
+
}).catch(n);
|
|
1483
|
+
});
|
|
1484
|
+
}
|
|
1485
|
+
convertToLayEntryArray(e) {
|
|
1486
|
+
return e.map((t) => ({
|
|
1487
|
+
value: t.orgId,
|
|
1488
|
+
label: t.orgName,
|
|
1489
|
+
parentId: t.parentId || "",
|
|
1490
|
+
children: t.children ? this.convertToLayEntryArray(t.children) : []
|
|
1491
|
+
}));
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
class Ya extends Pe {
|
|
1495
|
+
// 实现 useValues 方法
|
|
1496
|
+
useValues() {
|
|
1497
|
+
return new Promise((e, t) => {
|
|
1498
|
+
ht.findList(this.query).then(({ data: n }) => {
|
|
1499
|
+
const o = n.results;
|
|
1500
|
+
this.values.length = 0, this.values.push(
|
|
1501
|
+
...o.map(
|
|
1502
|
+
(a) => ({
|
|
1503
|
+
key: a.itemId,
|
|
1504
|
+
value: a.name,
|
|
1505
|
+
orgId: a.orgId,
|
|
1506
|
+
status: a.status
|
|
1507
|
+
})
|
|
1508
|
+
)
|
|
1509
|
+
), e(this.values);
|
|
1510
|
+
}).catch(t);
|
|
1511
|
+
});
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
class O {
|
|
1515
|
+
}
|
|
1516
|
+
// 模块
|
|
1517
|
+
b(O, "MODULE_ITSMFLOW", "itsmflow"), // 合同分类
|
|
1518
|
+
b(O, "contractSort", {
|
|
1519
|
+
// 人力
|
|
1520
|
+
manpower: "manpower"
|
|
1521
|
+
}), // 合同类型
|
|
1522
|
+
b(O, "contractType", {
|
|
1523
|
+
// 外协合同
|
|
1524
|
+
outsource: "outsource"
|
|
1525
|
+
}), // 时间格式-年月
|
|
1526
|
+
b(O, "FORMAT_MONTH", "YYYY-MM"), // 验查结果
|
|
1527
|
+
b(O, "IS_VALUES", gt([
|
|
1528
|
+
{ key: !0, value: "通过" },
|
|
1529
|
+
{ key: !1, value: "不通过" }
|
|
1530
|
+
])), // 服务内容枚举
|
|
1531
|
+
b(O, "ENUM_SERVICE_CONTENT", "xyvcard.itsmflow.protobuf.ServiceContent"), // 项目名称
|
|
1532
|
+
b(O, "DICT_PROJECT_NAME", "projectName"), // 机构类型
|
|
1533
|
+
b(O, "orgType", {
|
|
1534
|
+
// 厅局
|
|
1535
|
+
hall: "HALL"
|
|
1536
|
+
}), // 项目状态
|
|
1537
|
+
b(O, "status", {
|
|
1538
|
+
// 项目状态(正常)
|
|
1539
|
+
regular: "regular"
|
|
1540
|
+
});
|
|
1541
|
+
class M {
|
|
1542
|
+
}
|
|
1543
|
+
// 人力合同
|
|
1544
|
+
b(M, "itsmContractBizDict", new Va({})), // 服务人员所属单位
|
|
1545
|
+
b(M, "orgIdBizDict", new Ka({})), // 实际投入人员
|
|
1546
|
+
b(M, "contractUserBizDict", new Qa({})), // 验查结果
|
|
1547
|
+
b(M, "isValuesDict", new yt(O.IS_VALUES, {})), // 服务内容
|
|
1548
|
+
b(M, "serviceContentEnum", new dt(
|
|
1549
|
+
O.MODULE_ITSMFLOW,
|
|
1550
|
+
O.ENUM_SERVICE_CONTENT
|
|
1551
|
+
)), // 项目名称
|
|
1552
|
+
b(M, "projectNameDict", new St(O.DICT_PROJECT_NAME)), // 厅局管理父厅级单位
|
|
1553
|
+
b(M, "parentIdBizDict", new Ja({
|
|
1554
|
+
orgType: O.orgType.hall
|
|
1555
|
+
})), // 项目列表
|
|
1556
|
+
b(M, "itemBizLayDict", new Ya({}));
|
|
1557
|
+
class ja {
|
|
1558
|
+
getKey(e) {
|
|
1559
|
+
return {
|
|
1560
|
+
entrustUserId: e.entrustUserId
|
|
1561
|
+
};
|
|
1562
|
+
}
|
|
1563
|
+
// 查询列表信息委托服务人员信息
|
|
1564
|
+
findList(e) {
|
|
1565
|
+
const t = C().user.tenant;
|
|
1566
|
+
return U(e), L({
|
|
1567
|
+
url: "/v1/itsmflow/itsm_flow_entrust_user/list/" + t,
|
|
1568
|
+
method: "get",
|
|
1569
|
+
params: e
|
|
1570
|
+
});
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
const oo = new ja();
|
|
1574
|
+
export {
|
|
1575
|
+
O as C,
|
|
1576
|
+
M as D,
|
|
1577
|
+
Va as I,
|
|
1578
|
+
Ya as a,
|
|
1579
|
+
oo as b,
|
|
1580
|
+
Qa as c,
|
|
1581
|
+
ao as i
|
|
1582
|
+
};
|