@infinilabs/entity-ui 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -119
- package/dist/entity-ui.cjs +10 -10
- package/dist/entity-ui.js +193 -193
- package/dist/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/entity-ui.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Breadcrumb as
|
|
3
|
-
import * as
|
|
4
|
-
import { ExternalLink as
|
|
5
|
-
var
|
|
1
|
+
import Ye, { useState as We, useRef as xt } from "react";
|
|
2
|
+
import { Breadcrumb as _t, Tag as ze, Progress as bt, Button as wt, Popover as Rt, Skeleton as jt, Avatar as $e } from "antd";
|
|
3
|
+
import * as Je from "lucide-react";
|
|
4
|
+
import { ExternalLink as Et, Tags as Ct } from "lucide-react";
|
|
5
|
+
var be = { exports: {} }, X = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,17 +12,17 @@ var xe = { exports: {} }, X = {};
|
|
|
12
12
|
* This source code is licensed under the MIT license found in the
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
|
-
var
|
|
15
|
+
var Be;
|
|
16
16
|
function Tt() {
|
|
17
|
-
if (
|
|
18
|
-
|
|
19
|
-
var t =
|
|
20
|
-
function m(
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
for (
|
|
24
|
-
if (
|
|
25
|
-
return { $$typeof: v, type:
|
|
17
|
+
if (Be) return X;
|
|
18
|
+
Be = 1;
|
|
19
|
+
var t = Ye, v = Symbol.for("react.element"), f = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
20
|
+
function m(w, u, R) {
|
|
21
|
+
var _, S = {}, C = null, O = null;
|
|
22
|
+
R !== void 0 && (C = "" + R), u.key !== void 0 && (C = "" + u.key), u.ref !== void 0 && (O = u.ref);
|
|
23
|
+
for (_ in u) c.call(u, _) && !g.hasOwnProperty(_) && (S[_] = u[_]);
|
|
24
|
+
if (w && w.defaultProps) for (_ in u = w.defaultProps, u) S[_] === void 0 && (S[_] = u[_]);
|
|
25
|
+
return { $$typeof: v, type: w, key: C, ref: O, props: S, _owner: s.current };
|
|
26
26
|
}
|
|
27
27
|
return X.Fragment = f, X.jsx = m, X.jsxs = m, X;
|
|
28
28
|
}
|
|
@@ -36,25 +36,25 @@ var Z = {};
|
|
|
36
36
|
* This source code is licensed under the MIT license found in the
|
|
37
37
|
* LICENSE file in the root directory of this source tree.
|
|
38
38
|
*/
|
|
39
|
-
var
|
|
39
|
+
var Me;
|
|
40
40
|
function St() {
|
|
41
|
-
return
|
|
42
|
-
var t =
|
|
41
|
+
return Me || (Me = 1, process.env.NODE_ENV !== "production" && function() {
|
|
42
|
+
var t = Ye, v = Symbol.for("react.element"), f = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), w = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), $ = Symbol.iterator, ae = "@@iterator";
|
|
43
43
|
function ce(e) {
|
|
44
44
|
if (e === null || typeof e != "object")
|
|
45
45
|
return null;
|
|
46
|
-
var r =
|
|
46
|
+
var r = $ && e[$] || e[ae];
|
|
47
47
|
return typeof r == "function" ? r : null;
|
|
48
48
|
}
|
|
49
49
|
var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
50
|
-
function
|
|
50
|
+
function j(e) {
|
|
51
51
|
{
|
|
52
52
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
53
53
|
i[o - 1] = arguments[o];
|
|
54
|
-
|
|
54
|
+
we("error", e, i);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function we(e, r, i) {
|
|
58
58
|
{
|
|
59
59
|
var o = A.ReactDebugCurrentFrame, p = o.getStackAddendum();
|
|
60
60
|
p !== "" && (r += "%s", i = i.concat([p]));
|
|
@@ -66,8 +66,8 @@ function St() {
|
|
|
66
66
|
}
|
|
67
67
|
var ue = !1, fe = !1, Q = !1, pe = !1, he = !1, d;
|
|
68
68
|
d = Symbol.for("react.module.reference");
|
|
69
|
-
function
|
|
70
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === g || he || e === s || e ===
|
|
69
|
+
function B(e) {
|
|
70
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === g || he || e === s || e === R || e === _ || pe || e === O || ue || fe || Q || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === S || e.$$typeof === m || e.$$typeof === w || e.$$typeof === u || // This needs to include all possible module reference object
|
|
71
71
|
// types supported by any Flight configuration anywhere since
|
|
72
72
|
// we don't know which Flight build this will end up being used
|
|
73
73
|
// with.
|
|
@@ -86,7 +86,7 @@ function St() {
|
|
|
86
86
|
function I(e) {
|
|
87
87
|
if (e == null)
|
|
88
88
|
return null;
|
|
89
|
-
if (typeof e.tag == "number" &&
|
|
89
|
+
if (typeof e.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
90
90
|
return e.displayName || e.name || null;
|
|
91
91
|
if (typeof e == "string")
|
|
92
92
|
return e;
|
|
@@ -99,14 +99,14 @@ function St() {
|
|
|
99
99
|
return "Profiler";
|
|
100
100
|
case s:
|
|
101
101
|
return "StrictMode";
|
|
102
|
-
case
|
|
102
|
+
case R:
|
|
103
103
|
return "Suspense";
|
|
104
|
-
case
|
|
104
|
+
case _:
|
|
105
105
|
return "SuspenseList";
|
|
106
106
|
}
|
|
107
107
|
if (typeof e == "object")
|
|
108
108
|
switch (e.$$typeof) {
|
|
109
|
-
case
|
|
109
|
+
case w:
|
|
110
110
|
var r = e;
|
|
111
111
|
return ee(r) + ".Consumer";
|
|
112
112
|
case m:
|
|
@@ -128,14 +128,14 @@ function St() {
|
|
|
128
128
|
}
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
|
-
var F = Object.assign,
|
|
131
|
+
var F = Object.assign, L = 0, te, Y, z, J, q, P, re;
|
|
132
132
|
function ne() {
|
|
133
133
|
}
|
|
134
134
|
ne.__reactDisabledLog = !0;
|
|
135
135
|
function ie() {
|
|
136
136
|
{
|
|
137
|
-
if (
|
|
138
|
-
te = console.log,
|
|
137
|
+
if (L === 0) {
|
|
138
|
+
te = console.log, Y = console.info, z = console.warn, J = console.error, q = console.group, P = console.groupCollapsed, re = console.groupEnd;
|
|
139
139
|
var e = {
|
|
140
140
|
configurable: !0,
|
|
141
141
|
enumerable: !0,
|
|
@@ -152,12 +152,12 @@ function St() {
|
|
|
152
152
|
groupEnd: e
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
L++;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
function ge() {
|
|
159
159
|
{
|
|
160
|
-
if (
|
|
160
|
+
if (L--, L === 0) {
|
|
161
161
|
var e = {
|
|
162
162
|
configurable: !0,
|
|
163
163
|
enumerable: !0,
|
|
@@ -168,16 +168,16 @@ function St() {
|
|
|
168
168
|
value: te
|
|
169
169
|
}),
|
|
170
170
|
info: F({}, e, {
|
|
171
|
-
value:
|
|
171
|
+
value: Y
|
|
172
172
|
}),
|
|
173
173
|
warn: F({}, e, {
|
|
174
|
-
value:
|
|
174
|
+
value: z
|
|
175
175
|
}),
|
|
176
176
|
error: F({}, e, {
|
|
177
|
-
value:
|
|
177
|
+
value: J
|
|
178
178
|
}),
|
|
179
179
|
group: F({}, e, {
|
|
180
|
-
value:
|
|
180
|
+
value: q
|
|
181
181
|
}),
|
|
182
182
|
groupCollapsed: F({}, e, {
|
|
183
183
|
value: P
|
|
@@ -187,11 +187,11 @@ function St() {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
|
-
|
|
190
|
+
L < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
193
|
var H = A.ReactCurrentDispatcher, K;
|
|
194
|
-
function
|
|
194
|
+
function M(e, r, i) {
|
|
195
195
|
{
|
|
196
196
|
if (K === void 0)
|
|
197
197
|
try {
|
|
@@ -204,21 +204,21 @@ function St() {
|
|
|
204
204
|
` + K + e;
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
var
|
|
207
|
+
var N = !1, D;
|
|
208
208
|
{
|
|
209
209
|
var oe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
210
|
-
|
|
210
|
+
D = new oe();
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
if (!e ||
|
|
212
|
+
function Re(e, r) {
|
|
213
|
+
if (!e || N)
|
|
214
214
|
return "";
|
|
215
215
|
{
|
|
216
|
-
var i =
|
|
216
|
+
var i = D.get(e);
|
|
217
217
|
if (i !== void 0)
|
|
218
218
|
return i;
|
|
219
219
|
}
|
|
220
220
|
var o;
|
|
221
|
-
|
|
221
|
+
N = !0;
|
|
222
222
|
var p = Error.prepareStackTrace;
|
|
223
223
|
Error.prepareStackTrace = void 0;
|
|
224
224
|
var y;
|
|
@@ -258,30 +258,30 @@ function St() {
|
|
|
258
258
|
} catch (T) {
|
|
259
259
|
if (T && o && typeof T.stack == "string") {
|
|
260
260
|
for (var l = T.stack.split(`
|
|
261
|
-
`),
|
|
262
|
-
`),
|
|
263
|
-
|
|
264
|
-
for (;
|
|
265
|
-
if (l[
|
|
266
|
-
if (
|
|
261
|
+
`), E = o.stack.split(`
|
|
262
|
+
`), x = l.length - 1, b = E.length - 1; x >= 1 && b >= 0 && l[x] !== E[b]; )
|
|
263
|
+
b--;
|
|
264
|
+
for (; x >= 1 && b >= 0; x--, b--)
|
|
265
|
+
if (l[x] !== E[b]) {
|
|
266
|
+
if (x !== 1 || b !== 1)
|
|
267
267
|
do
|
|
268
|
-
if (
|
|
268
|
+
if (x--, b--, b < 0 || l[x] !== E[b]) {
|
|
269
269
|
var k = `
|
|
270
|
-
` + l[
|
|
271
|
-
return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
270
|
+
` + l[x].replace(" at new ", " at ");
|
|
271
|
+
return e.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", e.displayName)), typeof e == "function" && D.set(e, k), k;
|
|
272
272
|
}
|
|
273
|
-
while (
|
|
273
|
+
while (x >= 1 && b >= 0);
|
|
274
274
|
break;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
} finally {
|
|
278
|
-
|
|
278
|
+
N = !1, H.current = y, ge(), Error.prepareStackTrace = p;
|
|
279
279
|
}
|
|
280
|
-
var
|
|
281
|
-
return typeof e == "function" &&
|
|
280
|
+
var V = e ? e.displayName || e.name : "", W = V ? M(V) : "";
|
|
281
|
+
return typeof e == "function" && D.set(e, W), W;
|
|
282
282
|
}
|
|
283
283
|
function Ke(e, r, i) {
|
|
284
|
-
return
|
|
284
|
+
return Re(e, !1);
|
|
285
285
|
}
|
|
286
286
|
function Ge(e) {
|
|
287
287
|
var r = e.prototype;
|
|
@@ -291,14 +291,14 @@ function St() {
|
|
|
291
291
|
if (e == null)
|
|
292
292
|
return "";
|
|
293
293
|
if (typeof e == "function")
|
|
294
|
-
return
|
|
294
|
+
return Re(e, Ge(e));
|
|
295
295
|
if (typeof e == "string")
|
|
296
|
-
return
|
|
296
|
+
return M(e);
|
|
297
297
|
switch (e) {
|
|
298
|
-
case
|
|
299
|
-
return
|
|
300
|
-
case
|
|
301
|
-
return
|
|
298
|
+
case R:
|
|
299
|
+
return M("Suspense");
|
|
300
|
+
case _:
|
|
301
|
+
return M("SuspenseList");
|
|
302
302
|
}
|
|
303
303
|
if (typeof e == "object")
|
|
304
304
|
switch (e.$$typeof) {
|
|
@@ -316,13 +316,13 @@ function St() {
|
|
|
316
316
|
}
|
|
317
317
|
return "";
|
|
318
318
|
}
|
|
319
|
-
var G = Object.prototype.hasOwnProperty,
|
|
319
|
+
var G = Object.prototype.hasOwnProperty, je = {}, Ee = A.ReactDebugCurrentFrame;
|
|
320
320
|
function le(e) {
|
|
321
321
|
if (e) {
|
|
322
322
|
var r = e._owner, i = se(e.type, e._source, r ? r.type : null);
|
|
323
|
-
|
|
323
|
+
Ee.setExtraStackFrame(i);
|
|
324
324
|
} else
|
|
325
|
-
|
|
325
|
+
Ee.setExtraStackFrame(null);
|
|
326
326
|
}
|
|
327
327
|
function Xe(e, r, i, o, p) {
|
|
328
328
|
{
|
|
@@ -332,14 +332,14 @@ function St() {
|
|
|
332
332
|
var l = void 0;
|
|
333
333
|
try {
|
|
334
334
|
if (typeof e[a] != "function") {
|
|
335
|
-
var
|
|
336
|
-
throw
|
|
335
|
+
var E = Error((o || "React class") + ": " + i + " type `" + a + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[a] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
336
|
+
throw E.name = "Invariant Violation", E;
|
|
337
337
|
}
|
|
338
338
|
l = e[a](r, a, o, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
339
|
-
} catch (
|
|
340
|
-
l =
|
|
339
|
+
} catch (x) {
|
|
340
|
+
l = x;
|
|
341
341
|
}
|
|
342
|
-
l && !(l instanceof Error) && (le(p),
|
|
342
|
+
l && !(l instanceof Error) && (le(p), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", i, a, typeof l), le(null)), l instanceof Error && !(l.message in je) && (je[l.message] = !0, le(p), j("Failed %s type: %s", i, l.message), le(null));
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
}
|
|
@@ -365,7 +365,7 @@ function St() {
|
|
|
365
365
|
}
|
|
366
366
|
function Te(e) {
|
|
367
367
|
if (et(e))
|
|
368
|
-
return
|
|
368
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Qe(e)), Ce(e);
|
|
369
369
|
}
|
|
370
370
|
var Se = A.ReactCurrentOwner, tt = {
|
|
371
371
|
key: !0,
|
|
@@ -395,7 +395,7 @@ function St() {
|
|
|
395
395
|
function ot(e, r) {
|
|
396
396
|
{
|
|
397
397
|
var i = function() {
|
|
398
|
-
Pe || (Pe = !0,
|
|
398
|
+
Pe || (Pe = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
399
399
|
};
|
|
400
400
|
i.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
401
401
|
get: i,
|
|
@@ -406,7 +406,7 @@ function St() {
|
|
|
406
406
|
function st(e, r) {
|
|
407
407
|
{
|
|
408
408
|
var i = function() {
|
|
409
|
-
ke || (ke = !0,
|
|
409
|
+
ke || (ke = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
410
410
|
};
|
|
411
411
|
i.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
412
412
|
get: i,
|
|
@@ -445,24 +445,24 @@ function St() {
|
|
|
445
445
|
};
|
|
446
446
|
function at(e, r, i, o, p) {
|
|
447
447
|
{
|
|
448
|
-
var y, a = {}, l = null,
|
|
449
|
-
i !== void 0 && (Te(i), l = "" + i), nt(r) && (Te(r.key), l = "" + r.key), rt(r) && (
|
|
448
|
+
var y, a = {}, l = null, E = null;
|
|
449
|
+
i !== void 0 && (Te(i), l = "" + i), nt(r) && (Te(r.key), l = "" + r.key), rt(r) && (E = r.ref, it(r, p));
|
|
450
450
|
for (y in r)
|
|
451
451
|
G.call(r, y) && !tt.hasOwnProperty(y) && (a[y] = r[y]);
|
|
452
452
|
if (e && e.defaultProps) {
|
|
453
|
-
var
|
|
454
|
-
for (y in
|
|
455
|
-
a[y] === void 0 && (a[y] =
|
|
453
|
+
var x = e.defaultProps;
|
|
454
|
+
for (y in x)
|
|
455
|
+
a[y] === void 0 && (a[y] = x[y]);
|
|
456
456
|
}
|
|
457
|
-
if (l ||
|
|
458
|
-
var
|
|
459
|
-
l && ot(a,
|
|
457
|
+
if (l || E) {
|
|
458
|
+
var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
459
|
+
l && ot(a, b), E && st(a, b);
|
|
460
460
|
}
|
|
461
|
-
return lt(e, l,
|
|
461
|
+
return lt(e, l, E, p, o, Se.current, a);
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
464
|
var ye = A.ReactCurrentOwner, Oe = A.ReactDebugCurrentFrame;
|
|
465
|
-
function
|
|
465
|
+
function U(e) {
|
|
466
466
|
if (e) {
|
|
467
467
|
var r = e._owner, i = se(e.type, e._source, r ? r.type : null);
|
|
468
468
|
Oe.setExtraStackFrame(i);
|
|
@@ -471,7 +471,7 @@ function St() {
|
|
|
471
471
|
}
|
|
472
472
|
var de;
|
|
473
473
|
de = !1;
|
|
474
|
-
function
|
|
474
|
+
function xe(e) {
|
|
475
475
|
return typeof e == "object" && e !== null && e.$$typeof === v;
|
|
476
476
|
}
|
|
477
477
|
function Ie() {
|
|
@@ -512,25 +512,25 @@ Check the top-level render call using <` + i + ">.");
|
|
|
512
512
|
return;
|
|
513
513
|
Ae[i] = !0;
|
|
514
514
|
var o = "";
|
|
515
|
-
e && e._owner && e._owner !== ye.current && (o = " It was passed a child from " + I(e._owner.type) + "."),
|
|
515
|
+
e && e._owner && e._owner !== ye.current && (o = " It was passed a child from " + I(e._owner.type) + "."), U(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, o), U(null);
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function Ne(e, r) {
|
|
519
519
|
{
|
|
520
520
|
if (typeof e != "object")
|
|
521
521
|
return;
|
|
522
522
|
if (me(e))
|
|
523
523
|
for (var i = 0; i < e.length; i++) {
|
|
524
524
|
var o = e[i];
|
|
525
|
-
|
|
525
|
+
xe(o) && Fe(o, r);
|
|
526
526
|
}
|
|
527
|
-
else if (
|
|
527
|
+
else if (xe(e))
|
|
528
528
|
e._store && (e._store.validated = !0);
|
|
529
529
|
else if (e) {
|
|
530
530
|
var p = ce(e);
|
|
531
531
|
if (typeof p == "function" && p !== e.entries)
|
|
532
532
|
for (var y = p.call(e), a; !(a = y.next()).done; )
|
|
533
|
-
|
|
533
|
+
xe(a.value) && Fe(a.value, r);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
}
|
|
@@ -554,9 +554,9 @@ Check the top-level render call using <` + i + ">.");
|
|
|
554
554
|
} else if (r.PropTypes !== void 0 && !de) {
|
|
555
555
|
de = !0;
|
|
556
556
|
var p = I(r);
|
|
557
|
-
|
|
557
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
558
558
|
}
|
|
559
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
559
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
562
|
function pt(e) {
|
|
@@ -564,93 +564,93 @@ Check the top-level render call using <` + i + ">.");
|
|
|
564
564
|
for (var r = Object.keys(e.props), i = 0; i < r.length; i++) {
|
|
565
565
|
var o = r[i];
|
|
566
566
|
if (o !== "children" && o !== "key") {
|
|
567
|
-
|
|
567
|
+
U(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), U(null);
|
|
568
568
|
break;
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
e.ref !== null && (
|
|
571
|
+
e.ref !== null && (U(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
var
|
|
575
|
-
function
|
|
574
|
+
var De = {};
|
|
575
|
+
function Le(e, r, i, o, p, y) {
|
|
576
576
|
{
|
|
577
|
-
var a =
|
|
577
|
+
var a = B(e);
|
|
578
578
|
if (!a) {
|
|
579
579
|
var l = "";
|
|
580
580
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
581
|
-
var
|
|
582
|
-
|
|
583
|
-
var
|
|
584
|
-
e === null ?
|
|
581
|
+
var E = ct();
|
|
582
|
+
E ? l += E : l += Ie();
|
|
583
|
+
var x;
|
|
584
|
+
e === null ? x = "null" : me(e) ? x = "array" : e !== void 0 && e.$$typeof === v ? (x = "<" + (I(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : x = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, l);
|
|
585
585
|
}
|
|
586
|
-
var
|
|
587
|
-
if (
|
|
588
|
-
return
|
|
586
|
+
var b = at(e, r, i, p, y);
|
|
587
|
+
if (b == null)
|
|
588
|
+
return b;
|
|
589
589
|
if (a) {
|
|
590
590
|
var k = r.children;
|
|
591
591
|
if (k !== void 0)
|
|
592
592
|
if (o)
|
|
593
593
|
if (me(k)) {
|
|
594
|
-
for (var
|
|
595
|
-
|
|
594
|
+
for (var V = 0; V < k.length; V++)
|
|
595
|
+
Ne(k[V], e);
|
|
596
596
|
Object.freeze && Object.freeze(k);
|
|
597
597
|
} else
|
|
598
|
-
|
|
598
|
+
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
599
599
|
else
|
|
600
|
-
|
|
600
|
+
Ne(k, e);
|
|
601
601
|
}
|
|
602
602
|
if (G.call(r, "key")) {
|
|
603
|
-
var
|
|
603
|
+
var W = I(e), T = Object.keys(r).filter(function(dt) {
|
|
604
604
|
return dt !== "key";
|
|
605
|
-
}),
|
|
606
|
-
if (!
|
|
605
|
+
}), _e = T.length > 0 ? "{key: someKey, " + T.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
606
|
+
if (!De[W + _e]) {
|
|
607
607
|
var yt = T.length > 0 ? "{" + T.join(": ..., ") + ": ...}" : "{}";
|
|
608
|
-
|
|
608
|
+
j(`A props object containing a "key" prop is being spread into JSX:
|
|
609
609
|
let props = %s;
|
|
610
610
|
<%s {...props} />
|
|
611
611
|
React keys must be passed directly to JSX without using spread:
|
|
612
612
|
let props = %s;
|
|
613
|
-
<%s key={someKey} {...props} />`,
|
|
613
|
+
<%s key={someKey} {...props} />`, _e, W, yt, W), De[W + _e] = !0;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
return e === c ? pt(
|
|
616
|
+
return e === c ? pt(b) : ft(b), b;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
619
|
function ht(e, r, i) {
|
|
620
|
-
return
|
|
620
|
+
return Le(e, r, i, !0);
|
|
621
621
|
}
|
|
622
622
|
function vt(e, r, i) {
|
|
623
|
-
return
|
|
623
|
+
return Le(e, r, i, !1);
|
|
624
624
|
}
|
|
625
625
|
var gt = vt, mt = ht;
|
|
626
626
|
Z.Fragment = c, Z.jsx = gt, Z.jsxs = mt;
|
|
627
627
|
}()), Z;
|
|
628
628
|
}
|
|
629
|
-
process.env.NODE_ENV === "production" ?
|
|
630
|
-
var n =
|
|
631
|
-
const Pt = "
|
|
629
|
+
process.env.NODE_ENV === "production" ? be.exports = Tt() : be.exports = St();
|
|
630
|
+
var n = be.exports;
|
|
631
|
+
const Pt = "_entityCard_1xtgw_1", kt = "_pcCover_1xtgw_15", Ot = "_pcSection_1xtgw_31", It = "_pcBreadcrumbSep_1xtgw_38", At = "_pcBasic_1xtgw_43", Ft = "_pcBasicRow_1xtgw_49", Nt = "_pcBasicRowLeft_1xtgw_56", Dt = "_pcLinkIconRight_1xtgw_61", Lt = "_pcColorSwatch_1xtgw_72", Wt = "_pcTitleText_1xtgw_99", $t = "_pcSubTitleText_1xtgw_106", Bt = "_pcProperties_1xtgw_119", Mt = "_pcProperty_1xtgw_127", Ut = "_pcTagsRow_1xtgw_138", Vt = "_pcDetails_1xtgw_151", Yt = "_pcRow_1xtgw_157", zt = "_pcCol_1xtgw_72", Jt = "_pcColLabel_1xtgw_179", qt = "_pcColValue_1xtgw_183", Ht = "_pcProgressText_1xtgw_188", Kt = "_entityLabel_1xtgw_194", h = {
|
|
632
632
|
entityCard: Pt,
|
|
633
633
|
pcCover: kt,
|
|
634
634
|
pcSection: Ot,
|
|
635
635
|
pcBreadcrumbSep: It,
|
|
636
636
|
pcBasic: At,
|
|
637
637
|
pcBasicRow: Ft,
|
|
638
|
-
pcBasicRowLeft:
|
|
639
|
-
pcLinkIconRight:
|
|
640
|
-
pcColorSwatch:
|
|
641
|
-
pcTitleText:
|
|
642
|
-
pcSubTitleText:
|
|
643
|
-
pcProperties:
|
|
644
|
-
pcProperty:
|
|
645
|
-
pcTagsRow:
|
|
646
|
-
pcDetails:
|
|
647
|
-
pcRow:
|
|
648
|
-
pcCol:
|
|
649
|
-
pcColLabel:
|
|
650
|
-
pcColValue:
|
|
638
|
+
pcBasicRowLeft: Nt,
|
|
639
|
+
pcLinkIconRight: Dt,
|
|
640
|
+
pcColorSwatch: Lt,
|
|
641
|
+
pcTitleText: Wt,
|
|
642
|
+
pcSubTitleText: $t,
|
|
643
|
+
pcProperties: Bt,
|
|
644
|
+
pcProperty: Mt,
|
|
645
|
+
pcTagsRow: Ut,
|
|
646
|
+
pcDetails: Vt,
|
|
647
|
+
pcRow: Yt,
|
|
648
|
+
pcCol: zt,
|
|
649
|
+
pcColLabel: Jt,
|
|
650
|
+
pcColValue: qt,
|
|
651
651
|
pcProgressText: Ht,
|
|
652
652
|
entityLabel: Kt
|
|
653
|
-
},
|
|
653
|
+
}, Ue = (t) => {
|
|
654
654
|
if (!t) return null;
|
|
655
655
|
const v = t.trim(), s = {
|
|
656
656
|
user: "User",
|
|
@@ -662,12 +662,12 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
662
662
|
time: "Clock",
|
|
663
663
|
tags: "Tag"
|
|
664
664
|
}[v] ?? v.replace(/(^\w|-\w)/g, (m) => m.replace("-", "").toUpperCase());
|
|
665
|
-
return
|
|
665
|
+
return Je[s] || null;
|
|
666
666
|
}, Gt = (t, v) => {
|
|
667
667
|
const f = typeof t == "number" ? t : typeof t == "string" ? parseFloat(t) : NaN, c = isFinite(f) ? f <= 1 ? Math.max(0, Math.min(1, f)) * 100 : Math.max(0, Math.min(100, f)) : 0;
|
|
668
668
|
return /* @__PURE__ */ n.jsxs("div", { className: h.pcProgress, children: [
|
|
669
669
|
/* @__PURE__ */ n.jsx(
|
|
670
|
-
|
|
670
|
+
bt,
|
|
671
671
|
{
|
|
672
672
|
percent: c,
|
|
673
673
|
showInfo: !1,
|
|
@@ -677,8 +677,8 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
677
677
|
),
|
|
678
678
|
(v == null ? void 0 : v.text) && /* @__PURE__ */ n.jsx("div", { className: h.pcProgressText, children: v.text })
|
|
679
679
|
] });
|
|
680
|
-
},
|
|
681
|
-
|
|
680
|
+
}, qe = (t) => !Array.isArray(t) || t.length === 0 ? null : /* @__PURE__ */ n.jsx("div", { className: h.pcTagsRow, children: t.map((v, f) => /* @__PURE__ */ n.jsx(
|
|
681
|
+
ze,
|
|
682
682
|
{
|
|
683
683
|
color: "default",
|
|
684
684
|
style: {
|
|
@@ -693,7 +693,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
693
693
|
`${v}-${f}`
|
|
694
694
|
)) }), Xt = (t) => {
|
|
695
695
|
const { view: v, value: f, payload: c } = t;
|
|
696
|
-
return v === "percent_bar" ? Gt(f, c) : v === "tags" ?
|
|
696
|
+
return v === "percent_bar" ? Gt(f, c) : v === "tags" ? qe(Array.isArray(f) ? f : []) : /* @__PURE__ */ n.jsx("div", { className: h.pcColValue, children: String(f ?? "") });
|
|
697
697
|
}, He = ({
|
|
698
698
|
data: t
|
|
699
699
|
}) => {
|
|
@@ -708,7 +708,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
708
708
|
}
|
|
709
709
|
),
|
|
710
710
|
Array.isArray(t == null ? void 0 : t.categories) && t.categories.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx(
|
|
711
|
-
|
|
711
|
+
_t,
|
|
712
712
|
{
|
|
713
713
|
items: t.categories.map((s, g) => ({
|
|
714
714
|
key: `${s}-${g}`,
|
|
@@ -743,7 +743,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
743
743
|
style: { objectFit: "contain" }
|
|
744
744
|
}
|
|
745
745
|
);
|
|
746
|
-
const g =
|
|
746
|
+
const g = Ue(s);
|
|
747
747
|
return g ? /* @__PURE__ */ n.jsx(g, { className: h.pcIcon, size: 18, strokeWidth: 2 }) : null;
|
|
748
748
|
})(),
|
|
749
749
|
(t == null ? void 0 : t.title) && /* @__PURE__ */ n.jsx("span", { className: h.pcTitleText, title: t.title, children: t.title }),
|
|
@@ -762,7 +762,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
762
762
|
title: t.url,
|
|
763
763
|
className: h.pcLinkIconRight,
|
|
764
764
|
children: /* @__PURE__ */ n.jsx(
|
|
765
|
-
|
|
765
|
+
Et,
|
|
766
766
|
{
|
|
767
767
|
style: { width: 12, height: 12, color: "#027FFE" }
|
|
768
768
|
}
|
|
@@ -770,10 +770,10 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
770
770
|
}
|
|
771
771
|
)
|
|
772
772
|
] }) }),
|
|
773
|
-
Array.isArray(t == null ? void 0 : t.properties) && t.properties.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx("div", { className: h.pcProperties, children: t.properties.map((s, g) => {
|
|
774
|
-
const m =
|
|
773
|
+
Array.isArray(t == null ? void 0 : t.properties) && t.properties.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, style: { paddingTop: 25 }, children: /* @__PURE__ */ n.jsx("div", { className: h.pcProperties, children: t.properties.map((s, g) => {
|
|
774
|
+
const m = Ue(s.icon), w = () => {
|
|
775
775
|
if (s.view === "tags")
|
|
776
|
-
return
|
|
776
|
+
return qe(Array.isArray(s.value) ? s.value : []);
|
|
777
777
|
if (s.view === "datetime_with_time_zone") {
|
|
778
778
|
const u = String(s.value ?? "");
|
|
779
779
|
return /* @__PURE__ */ n.jsx("span", { className: h.pcPropertyValue, children: u });
|
|
@@ -789,30 +789,30 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
789
789
|
strokeWidth: 2
|
|
790
790
|
}
|
|
791
791
|
),
|
|
792
|
-
|
|
792
|
+
w()
|
|
793
793
|
] }, g);
|
|
794
794
|
}) }) }),
|
|
795
795
|
Array.isArray((c = (f = t == null ? void 0 : t.details) == null ? void 0 : f.table) == null ? void 0 : c.rows) && t.details.table.rows.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: /* @__PURE__ */ n.jsx("div", { className: h.pcDetails, children: t.details.table.rows.map((s, g) => {
|
|
796
796
|
const m = Array.isArray(s.columns) ? s.columns.filter(
|
|
797
797
|
(u) => u && (u.label !== void 0 || u.value !== void 0)
|
|
798
|
-
) : [],
|
|
798
|
+
) : [], w = m.length;
|
|
799
799
|
return /* @__PURE__ */ n.jsx(
|
|
800
800
|
"div",
|
|
801
801
|
{
|
|
802
802
|
className: h.pcRow,
|
|
803
803
|
style: {
|
|
804
|
-
gridTemplateColumns:
|
|
804
|
+
gridTemplateColumns: w <= 1 ? "1fr" : "repeat(2, minmax(0, 1fr))"
|
|
805
805
|
},
|
|
806
|
-
children: m.map((u,
|
|
806
|
+
children: m.map((u, R) => /* @__PURE__ */ n.jsxs("div", { className: h.pcCol, children: [
|
|
807
807
|
Xt(u),
|
|
808
808
|
u.label && /* @__PURE__ */ n.jsx("div", { className: h.pcColLabel, children: u.label })
|
|
809
|
-
] },
|
|
809
|
+
] }, R))
|
|
810
810
|
},
|
|
811
811
|
g
|
|
812
812
|
);
|
|
813
813
|
}) }) }),
|
|
814
814
|
Array.isArray(t == null ? void 0 : t.tags) && t.tags.length > 0 && /* @__PURE__ */ n.jsx("div", { className: h.pcSection, children: t.tags.map((s, g) => /* @__PURE__ */ n.jsx(
|
|
815
|
-
|
|
815
|
+
ze,
|
|
816
816
|
{
|
|
817
817
|
style: {
|
|
818
818
|
display: "inline-flex",
|
|
@@ -836,48 +836,48 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
836
836
|
actions: s = [],
|
|
837
837
|
footer: g,
|
|
838
838
|
triggerType: m = "hover",
|
|
839
|
-
popupMode:
|
|
839
|
+
popupMode: w = "modal",
|
|
840
840
|
trigger: u,
|
|
841
|
-
open:
|
|
842
|
-
onOpenChange:
|
|
841
|
+
open: R,
|
|
842
|
+
onOpenChange: _,
|
|
843
843
|
modalTitle: S,
|
|
844
844
|
width: C,
|
|
845
845
|
placement: O = "right",
|
|
846
|
-
data:
|
|
846
|
+
data: $,
|
|
847
847
|
hoverOpenDelay: ae = 500,
|
|
848
848
|
closeDelay: ce = 200,
|
|
849
849
|
autoPlacement: A = !1,
|
|
850
|
-
hoverAutoClose:
|
|
851
|
-
hoverAutoCloseDelay:
|
|
850
|
+
hoverAutoClose: j = !1,
|
|
851
|
+
hoverAutoCloseDelay: we = 2e3
|
|
852
852
|
}) => {
|
|
853
|
-
var
|
|
854
|
-
const [ue, fe] =
|
|
855
|
-
Q ?
|
|
856
|
-
}, d =
|
|
857
|
-
if (
|
|
858
|
-
const P =
|
|
853
|
+
var Y, z, J, q;
|
|
854
|
+
const [ue, fe] = We(!1), Q = typeof R == "boolean", pe = Q ? R : ue, he = (P) => {
|
|
855
|
+
Q ? _ == null || _(P) : fe(P);
|
|
856
|
+
}, d = $, B = xt(null), [ve, ee] = We(O), I = () => {
|
|
857
|
+
if (!B.current) return;
|
|
858
|
+
const P = B.current.getBoundingClientRect(), re = window.innerWidth, ne = window.innerHeight, ie = (() => {
|
|
859
859
|
var oe;
|
|
860
|
-
const
|
|
861
|
-
return
|
|
862
|
-
})(), ge = 300, H = re - P.right, K = P.left,
|
|
860
|
+
const D = (typeof C == "number" ? C : void 0) ?? ((oe = d == null ? void 0 : d.style) == null ? void 0 : oe.width);
|
|
861
|
+
return D ? typeof D == "string" ? parseInt(D, 10) || 376 : D : 376;
|
|
862
|
+
})(), ge = 300, H = re - P.right, K = P.left, M = ne - P.bottom;
|
|
863
863
|
P.top;
|
|
864
|
-
let
|
|
865
|
-
H >= ie ?
|
|
866
|
-
}, F = /* @__PURE__ */ n.jsx(
|
|
867
|
-
|
|
864
|
+
let N = O;
|
|
865
|
+
H >= ie ? N = "right" : K >= ie ? N = "left" : M >= ge ? N = "bottom" : N = "top", ee(N);
|
|
866
|
+
}, F = /* @__PURE__ */ n.jsx(wt, { type: "default", children: `打开:${(d == null ? void 0 : d.title) ?? t ?? "详情"}` }), L = /* @__PURE__ */ n.jsx("span", { ref: B, style: { display: "inline-block" }, children: u ?? F }), te = /* @__PURE__ */ n.jsx(
|
|
867
|
+
Rt,
|
|
868
868
|
{
|
|
869
869
|
content: /* @__PURE__ */ n.jsx(
|
|
870
870
|
"div",
|
|
871
871
|
{
|
|
872
872
|
className: h.entityCard,
|
|
873
873
|
style: {
|
|
874
|
-
width: (
|
|
875
|
-
height: (
|
|
876
|
-
maxWidth: (
|
|
877
|
-
maxHeight: (
|
|
874
|
+
width: (Y = d == null ? void 0 : d.style) == null ? void 0 : Y.width,
|
|
875
|
+
height: (z = d == null ? void 0 : d.style) == null ? void 0 : z.height,
|
|
876
|
+
maxWidth: (J = d == null ? void 0 : d.style) == null ? void 0 : J.max_width,
|
|
877
|
+
maxHeight: (q = d == null ? void 0 : d.style) == null ? void 0 : q.max_height
|
|
878
878
|
},
|
|
879
879
|
children: d != null && d.id ? /* @__PURE__ */ n.jsx(He, { data: d }) : /* @__PURE__ */ n.jsx(
|
|
880
|
-
|
|
880
|
+
jt,
|
|
881
881
|
{
|
|
882
882
|
active: !0,
|
|
883
883
|
title: !1,
|
|
@@ -896,9 +896,9 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
896
896
|
mouseEnterDelay: m === "hover" ? ae / 1e3 : 0,
|
|
897
897
|
mouseLeaveDelay: m === "hover" ? ce / 1e3 : 0,
|
|
898
898
|
autoAdjustOverflow: !0,
|
|
899
|
-
getPopupContainer: () =>
|
|
899
|
+
getPopupContainer: () => B.current || document.body,
|
|
900
900
|
overlayInnerStyle: { padding: 0 },
|
|
901
|
-
children:
|
|
901
|
+
children: L
|
|
902
902
|
}
|
|
903
903
|
);
|
|
904
904
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: te });
|
|
@@ -913,7 +913,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
913
913
|
time: "Clock",
|
|
914
914
|
tags: "Tag"
|
|
915
915
|
}[v] ?? v.replace(/(^\w|-\w)/g, (g) => g.replace("-", "").toUpperCase());
|
|
916
|
-
return
|
|
916
|
+
return Je[c] || null;
|
|
917
917
|
}, Qt = (t) => {
|
|
918
918
|
if (t) {
|
|
919
919
|
if (/^mailto:/i.test(t))
|
|
@@ -924,7 +924,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
924
924
|
}
|
|
925
925
|
return t;
|
|
926
926
|
}
|
|
927
|
-
},
|
|
927
|
+
}, Ve = () => /* @__PURE__ */ n.jsxs(
|
|
928
928
|
"span",
|
|
929
929
|
{
|
|
930
930
|
style: {
|
|
@@ -962,32 +962,32 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
962
962
|
]
|
|
963
963
|
}
|
|
964
964
|
), er = ({ data: t }) => {
|
|
965
|
-
var
|
|
966
|
-
if (!t || !t.title && !t.icon && !t.subtitle && !t.color && !t.url) return /* @__PURE__ */ n.jsx(
|
|
967
|
-
const f = (
|
|
965
|
+
var _, S;
|
|
966
|
+
if (!t || !t.title && !t.icon && !t.subtitle && !t.color && !t.url) return /* @__PURE__ */ n.jsx(Ve, {});
|
|
967
|
+
const f = (_ = t == null ? void 0 : t.icon) == null ? void 0 : _.trim(), c = (S = t == null ? void 0 : t.title) == null ? void 0 : S.trim(), s = Qt(t == null ? void 0 : t.url), g = !!f, m = !!c, w = !!s, u = !!(t != null && t.color) || !!(t != null && t.subtitle), R = (C = 20) => {
|
|
968
968
|
if (f && /^https?:\/\//i.test(f))
|
|
969
|
-
return /* @__PURE__ */ n.jsx(
|
|
970
|
-
const O = Zt(f || "user"),
|
|
971
|
-
return /* @__PURE__ */ n.jsx(
|
|
969
|
+
return /* @__PURE__ */ n.jsx($e, { size: C, src: f });
|
|
970
|
+
const O = Zt(f || "user"), $ = Math.max(8, C - 4);
|
|
971
|
+
return /* @__PURE__ */ n.jsx($e, { size: C, icon: O ? /* @__PURE__ */ n.jsx(O, { size: $ }) : void 0 });
|
|
972
972
|
};
|
|
973
|
-
return g && m && !
|
|
974
|
-
|
|
973
|
+
return g && m && !w && !u ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
|
|
974
|
+
R(),
|
|
975
975
|
/* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500, lineHeight: "20px" }, title: c, children: c })
|
|
976
|
-
] }) : g && !m && !
|
|
976
|
+
] }) : g && !m && !w && !u ? /* @__PURE__ */ n.jsx("span", { style: { display: "inline-flex" }, children: R() }) : !g && m && !w && !u ? /* @__PURE__ */ n.jsx(
|
|
977
977
|
"span",
|
|
978
978
|
{
|
|
979
979
|
style: { display: "inline-block", color: "#027FFE", fontWeight: 500 },
|
|
980
980
|
title: c,
|
|
981
981
|
children: c
|
|
982
982
|
}
|
|
983
|
-
) : g && m &&
|
|
984
|
-
|
|
983
|
+
) : g && m && w ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
|
|
984
|
+
R(40),
|
|
985
985
|
/* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", flexDirection: "column", justifyContent: "space-between" }, children: [
|
|
986
986
|
/* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }),
|
|
987
987
|
/* @__PURE__ */ n.jsx("span", { style: { color: "#888", fontSize: 12 }, title: s, children: s })
|
|
988
988
|
] })
|
|
989
989
|
] }) : g && m && u ? /* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", alignItems: "center", gap: 8 }, children: [
|
|
990
|
-
|
|
990
|
+
R(40),
|
|
991
991
|
/* @__PURE__ */ n.jsxs("span", { style: { display: "inline-flex", flexDirection: "column", justifyContent: "space-between" }, children: [
|
|
992
992
|
/* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }),
|
|
993
993
|
/* @__PURE__ */ n.jsxs(
|
|
@@ -1019,7 +1019,7 @@ const Pt = "_entityCard_qqftp_1", kt = "_pcCover_qqftp_15", Ot = "_pcSection_qqf
|
|
|
1019
1019
|
}
|
|
1020
1020
|
)
|
|
1021
1021
|
] })
|
|
1022
|
-
] }) : m ? /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }) : /* @__PURE__ */ n.jsx(
|
|
1022
|
+
] }) : m ? /* @__PURE__ */ n.jsx("span", { style: { color: "#027FFE", fontWeight: 500 }, title: c, children: c }) : /* @__PURE__ */ n.jsx(Ve, {});
|
|
1023
1023
|
};
|
|
1024
1024
|
function or({ data: t }) {
|
|
1025
1025
|
var f, c, s, g;
|