bi-components-library 1.1.56 → 1.1.57
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/dist/index.es.js +56 -56
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -14271,7 +14271,7 @@ const xm = [
|
|
|
14271
14271
|
1048575,
|
|
14272
14272
|
1114110,
|
|
14273
14273
|
1114111
|
|
14274
|
-
]),
|
|
14274
|
+
]), ke = "�";
|
|
14275
14275
|
var L;
|
|
14276
14276
|
(function(e) {
|
|
14277
14277
|
e[e.EOF = -1] = "EOF", e[e.NULL = 0] = "NULL", e[e.TABULATION = 9] = "TABULATION", e[e.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", e[e.LINE_FEED = 10] = "LINE_FEED", e[e.FORM_FEED = 12] = "FORM_FEED", e[e.SPACE = 32] = "SPACE", e[e.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", e[e.QUOTATION_MARK = 34] = "QUOTATION_MARK", e[e.AMPERSAND = 38] = "AMPERSAND", e[e.APOSTROPHE = 39] = "APOSTROPHE", e[e.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", e[e.SOLIDUS = 47] = "SOLIDUS", e[e.DIGIT_0 = 48] = "DIGIT_0", e[e.DIGIT_9 = 57] = "DIGIT_9", e[e.SEMICOLON = 59] = "SEMICOLON", e[e.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", e[e.EQUALS_SIGN = 61] = "EQUALS_SIGN", e[e.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", e[e.QUESTION_MARK = 63] = "QUESTION_MARK", e[e.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", e[e.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", e[e.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", e[e.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", e[e.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", e[e.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z";
|
|
@@ -15503,7 +15503,7 @@ class Um {
|
|
|
15503
15503
|
break;
|
|
15504
15504
|
}
|
|
15505
15505
|
case L.NULL: {
|
|
15506
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15506
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(ke);
|
|
15507
15507
|
break;
|
|
15508
15508
|
}
|
|
15509
15509
|
case L.EOF: {
|
|
@@ -15523,7 +15523,7 @@ class Um {
|
|
|
15523
15523
|
break;
|
|
15524
15524
|
}
|
|
15525
15525
|
case L.NULL: {
|
|
15526
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15526
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(ke);
|
|
15527
15527
|
break;
|
|
15528
15528
|
}
|
|
15529
15529
|
case L.EOF: {
|
|
@@ -15543,7 +15543,7 @@ class Um {
|
|
|
15543
15543
|
break;
|
|
15544
15544
|
}
|
|
15545
15545
|
case L.NULL: {
|
|
15546
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15546
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(ke);
|
|
15547
15547
|
break;
|
|
15548
15548
|
}
|
|
15549
15549
|
case L.EOF: {
|
|
@@ -15559,7 +15559,7 @@ class Um {
|
|
|
15559
15559
|
_statePlaintext(t) {
|
|
15560
15560
|
switch (t) {
|
|
15561
15561
|
case L.NULL: {
|
|
15562
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15562
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(ke);
|
|
15563
15563
|
break;
|
|
15564
15564
|
}
|
|
15565
15565
|
case L.EOF: {
|
|
@@ -15637,7 +15637,7 @@ class Um {
|
|
|
15637
15637
|
break;
|
|
15638
15638
|
}
|
|
15639
15639
|
case L.NULL: {
|
|
15640
|
-
this._err(z.unexpectedNullCharacter), n.tagName +=
|
|
15640
|
+
this._err(z.unexpectedNullCharacter), n.tagName += ke;
|
|
15641
15641
|
break;
|
|
15642
15642
|
}
|
|
15643
15643
|
case L.EOF: {
|
|
@@ -15746,7 +15746,7 @@ class Um {
|
|
|
15746
15746
|
break;
|
|
15747
15747
|
}
|
|
15748
15748
|
case L.NULL: {
|
|
15749
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15749
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(ke);
|
|
15750
15750
|
break;
|
|
15751
15751
|
}
|
|
15752
15752
|
case L.EOF: {
|
|
@@ -15770,7 +15770,7 @@ class Um {
|
|
|
15770
15770
|
break;
|
|
15771
15771
|
}
|
|
15772
15772
|
case L.NULL: {
|
|
15773
|
-
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_ESCAPED, this._emitChars(
|
|
15773
|
+
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_ESCAPED, this._emitChars(ke);
|
|
15774
15774
|
break;
|
|
15775
15775
|
}
|
|
15776
15776
|
case L.EOF: {
|
|
@@ -15798,7 +15798,7 @@ class Um {
|
|
|
15798
15798
|
break;
|
|
15799
15799
|
}
|
|
15800
15800
|
case L.NULL: {
|
|
15801
|
-
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_ESCAPED, this._emitChars(
|
|
15801
|
+
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_ESCAPED, this._emitChars(ke);
|
|
15802
15802
|
break;
|
|
15803
15803
|
}
|
|
15804
15804
|
case L.EOF: {
|
|
@@ -15847,7 +15847,7 @@ class Um {
|
|
|
15847
15847
|
break;
|
|
15848
15848
|
}
|
|
15849
15849
|
case L.NULL: {
|
|
15850
|
-
this._err(z.unexpectedNullCharacter), this._emitChars(
|
|
15850
|
+
this._err(z.unexpectedNullCharacter), this._emitChars(ke);
|
|
15851
15851
|
break;
|
|
15852
15852
|
}
|
|
15853
15853
|
case L.EOF: {
|
|
@@ -15871,7 +15871,7 @@ class Um {
|
|
|
15871
15871
|
break;
|
|
15872
15872
|
}
|
|
15873
15873
|
case L.NULL: {
|
|
15874
|
-
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(
|
|
15874
|
+
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(ke);
|
|
15875
15875
|
break;
|
|
15876
15876
|
}
|
|
15877
15877
|
case L.EOF: {
|
|
@@ -15899,7 +15899,7 @@ class Um {
|
|
|
15899
15899
|
break;
|
|
15900
15900
|
}
|
|
15901
15901
|
case L.NULL: {
|
|
15902
|
-
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(
|
|
15902
|
+
this._err(z.unexpectedNullCharacter), this.state = M.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(ke);
|
|
15903
15903
|
break;
|
|
15904
15904
|
}
|
|
15905
15905
|
case L.EOF: {
|
|
@@ -15973,7 +15973,7 @@ class Um {
|
|
|
15973
15973
|
break;
|
|
15974
15974
|
}
|
|
15975
15975
|
case L.NULL: {
|
|
15976
|
-
this._err(z.unexpectedNullCharacter), this.currentAttr.name +=
|
|
15976
|
+
this._err(z.unexpectedNullCharacter), this.currentAttr.name += ke;
|
|
15977
15977
|
break;
|
|
15978
15978
|
}
|
|
15979
15979
|
default:
|
|
@@ -16047,7 +16047,7 @@ class Um {
|
|
|
16047
16047
|
break;
|
|
16048
16048
|
}
|
|
16049
16049
|
case L.NULL: {
|
|
16050
|
-
this._err(z.unexpectedNullCharacter), this.currentAttr.value +=
|
|
16050
|
+
this._err(z.unexpectedNullCharacter), this.currentAttr.value += ke;
|
|
16051
16051
|
break;
|
|
16052
16052
|
}
|
|
16053
16053
|
case L.EOF: {
|
|
@@ -16071,7 +16071,7 @@ class Um {
|
|
|
16071
16071
|
break;
|
|
16072
16072
|
}
|
|
16073
16073
|
case L.NULL: {
|
|
16074
|
-
this._err(z.unexpectedNullCharacter), this.currentAttr.value +=
|
|
16074
|
+
this._err(z.unexpectedNullCharacter), this.currentAttr.value += ke;
|
|
16075
16075
|
break;
|
|
16076
16076
|
}
|
|
16077
16077
|
case L.EOF: {
|
|
@@ -16102,7 +16102,7 @@ class Um {
|
|
|
16102
16102
|
break;
|
|
16103
16103
|
}
|
|
16104
16104
|
case L.NULL: {
|
|
16105
|
-
this._err(z.unexpectedNullCharacter), this.currentAttr.value +=
|
|
16105
|
+
this._err(z.unexpectedNullCharacter), this.currentAttr.value += ke;
|
|
16106
16106
|
break;
|
|
16107
16107
|
}
|
|
16108
16108
|
case L.QUOTATION_MARK:
|
|
@@ -16179,7 +16179,7 @@ class Um {
|
|
|
16179
16179
|
break;
|
|
16180
16180
|
}
|
|
16181
16181
|
case L.NULL: {
|
|
16182
|
-
this._err(z.unexpectedNullCharacter), n.data +=
|
|
16182
|
+
this._err(z.unexpectedNullCharacter), n.data += ke;
|
|
16183
16183
|
break;
|
|
16184
16184
|
}
|
|
16185
16185
|
default:
|
|
@@ -16244,7 +16244,7 @@ class Um {
|
|
|
16244
16244
|
break;
|
|
16245
16245
|
}
|
|
16246
16246
|
case L.NULL: {
|
|
16247
|
-
this._err(z.unexpectedNullCharacter), n.data +=
|
|
16247
|
+
this._err(z.unexpectedNullCharacter), n.data += ke;
|
|
16248
16248
|
break;
|
|
16249
16249
|
}
|
|
16250
16250
|
case L.EOF: {
|
|
@@ -16388,7 +16388,7 @@ class Um {
|
|
|
16388
16388
|
case L.FORM_FEED:
|
|
16389
16389
|
break;
|
|
16390
16390
|
case L.NULL: {
|
|
16391
|
-
this._err(z.unexpectedNullCharacter), this._createDoctypeToken(
|
|
16391
|
+
this._err(z.unexpectedNullCharacter), this._createDoctypeToken(ke), this.state = M.DOCTYPE_NAME;
|
|
16392
16392
|
break;
|
|
16393
16393
|
}
|
|
16394
16394
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -16424,7 +16424,7 @@ class Um {
|
|
|
16424
16424
|
break;
|
|
16425
16425
|
}
|
|
16426
16426
|
case L.NULL: {
|
|
16427
|
-
this._err(z.unexpectedNullCharacter), n.name +=
|
|
16427
|
+
this._err(z.unexpectedNullCharacter), n.name += ke;
|
|
16428
16428
|
break;
|
|
16429
16429
|
}
|
|
16430
16430
|
case L.EOF: {
|
|
@@ -16529,7 +16529,7 @@ class Um {
|
|
|
16529
16529
|
break;
|
|
16530
16530
|
}
|
|
16531
16531
|
case L.NULL: {
|
|
16532
|
-
this._err(z.unexpectedNullCharacter), n.publicId +=
|
|
16532
|
+
this._err(z.unexpectedNullCharacter), n.publicId += ke;
|
|
16533
16533
|
break;
|
|
16534
16534
|
}
|
|
16535
16535
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -16554,7 +16554,7 @@ class Um {
|
|
|
16554
16554
|
break;
|
|
16555
16555
|
}
|
|
16556
16556
|
case L.NULL: {
|
|
16557
|
-
this._err(z.unexpectedNullCharacter), n.publicId +=
|
|
16557
|
+
this._err(z.unexpectedNullCharacter), n.publicId += ke;
|
|
16558
16558
|
break;
|
|
16559
16559
|
}
|
|
16560
16560
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -16703,7 +16703,7 @@ class Um {
|
|
|
16703
16703
|
break;
|
|
16704
16704
|
}
|
|
16705
16705
|
case L.NULL: {
|
|
16706
|
-
this._err(z.unexpectedNullCharacter), n.systemId +=
|
|
16706
|
+
this._err(z.unexpectedNullCharacter), n.systemId += ke;
|
|
16707
16707
|
break;
|
|
16708
16708
|
}
|
|
16709
16709
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -16728,7 +16728,7 @@ class Um {
|
|
|
16728
16728
|
break;
|
|
16729
16729
|
}
|
|
16730
16730
|
case L.NULL: {
|
|
16731
|
-
this._err(z.unexpectedNullCharacter), n.systemId +=
|
|
16731
|
+
this._err(z.unexpectedNullCharacter), n.systemId += ke;
|
|
16732
16732
|
break;
|
|
16733
16733
|
}
|
|
16734
16734
|
case L.GREATER_THAN_SIGN: {
|
|
@@ -19830,7 +19830,7 @@ function G1(e, t) {
|
|
|
19830
19830
|
}
|
|
19831
19831
|
}
|
|
19832
19832
|
function Y1(e, t) {
|
|
19833
|
-
t.chars =
|
|
19833
|
+
t.chars = ke, e._insertCharacters(t);
|
|
19834
19834
|
}
|
|
19835
19835
|
function W1(e, t) {
|
|
19836
19836
|
e._insertCharacters(t), e.framesetOk = !1;
|
|
@@ -23273,10 +23273,10 @@ const { RangePicker: iy } = cl, sy = ({ host: e, onChange: t }) => {
|
|
|
23273
23273
|
const me = {};
|
|
23274
23274
|
e.forEach((le) => {
|
|
23275
23275
|
if (le.type === "multi-variable" && le.key) {
|
|
23276
|
-
const
|
|
23277
|
-
if (Array.isArray(
|
|
23276
|
+
const Se = N[le.key];
|
|
23277
|
+
if (Array.isArray(Se) && Se.length > 0) {
|
|
23278
23278
|
const tt = le.maxCount ?? 9;
|
|
23279
|
-
me[le.key] = Math.min(
|
|
23279
|
+
me[le.key] = Math.min(Se.length, tt);
|
|
23280
23280
|
}
|
|
23281
23281
|
}
|
|
23282
23282
|
}), Object.keys(me).length > 0 && tn((le) => ({ ...le, ...me }));
|
|
@@ -23309,44 +23309,44 @@ const { RangePicker: iy } = cl, sy = ({ host: e, onChange: t }) => {
|
|
|
23309
23309
|
if (!N || !Ae || Ae.length === 0) return;
|
|
23310
23310
|
const me = Ae.filter((Te) => Te.type === "upload" && Te.key);
|
|
23311
23311
|
if (me.length === 0) return;
|
|
23312
|
-
const le = {},
|
|
23313
|
-
|
|
23312
|
+
const le = {}, Se = (Te, _e) => {
|
|
23313
|
+
_e && (_e instanceof File ? le[Te] = _e : typeof _e == "string" && _e.trim() && (le[Te] = _e.trim()));
|
|
23314
23314
|
};
|
|
23315
23315
|
for (const Te of me) {
|
|
23316
|
-
const
|
|
23317
|
-
if (Dr.current.has(
|
|
23318
|
-
const ve = N[
|
|
23316
|
+
const _e = Te.key;
|
|
23317
|
+
if (Dr.current.has(_e)) continue;
|
|
23318
|
+
const ve = N[_e], nt = typeof Te.maxCount == "number" && Te.maxCount > 1;
|
|
23319
23319
|
if (Array.isArray(ve) && ve.length > 0) {
|
|
23320
|
-
nt ? ve.forEach((qe, We) =>
|
|
23320
|
+
nt ? ve.forEach((qe, We) => Se(`${_e}-${We}`, qe)) : Se(_e, ve[0]);
|
|
23321
23321
|
continue;
|
|
23322
23322
|
}
|
|
23323
23323
|
if (ve && !Array.isArray(ve)) {
|
|
23324
|
-
|
|
23324
|
+
Se(_e, ve);
|
|
23325
23325
|
continue;
|
|
23326
23326
|
}
|
|
23327
23327
|
if (nt)
|
|
23328
23328
|
for (let qe = 0; qe < Te.maxCount; qe++) {
|
|
23329
|
-
const We = `${
|
|
23329
|
+
const We = `${_e}-${qe}`, zn = N[We];
|
|
23330
23330
|
if (!zn) break;
|
|
23331
|
-
|
|
23331
|
+
Se(We, zn);
|
|
23332
23332
|
}
|
|
23333
23333
|
}
|
|
23334
23334
|
if (Object.keys(le).length === 0) return;
|
|
23335
23335
|
for (const Te of me)
|
|
23336
23336
|
N[Te.key] !== void 0 && Dr.current.add(Te.key);
|
|
23337
23337
|
H((Te) => {
|
|
23338
|
-
const
|
|
23338
|
+
const _e = { ...Te };
|
|
23339
23339
|
let ve = !1;
|
|
23340
23340
|
for (const [nt, qe] of Object.entries(le))
|
|
23341
|
-
Te[nt] || (
|
|
23342
|
-
return ve ?
|
|
23341
|
+
Te[nt] || (_e[nt] = qe, ve = !0);
|
|
23342
|
+
return ve ? _e : Te;
|
|
23343
23343
|
});
|
|
23344
23344
|
const tt = Object.entries(le).filter(
|
|
23345
23345
|
([, Te]) => typeof Te == "string"
|
|
23346
23346
|
);
|
|
23347
23347
|
if (tt.length === 0) return;
|
|
23348
23348
|
const rn = async (Te) => {
|
|
23349
|
-
const
|
|
23349
|
+
const _e = Te.split("/").pop()?.split("?")[0] || "file", ve = decodeURIComponent(_e), nt = async (qe) => {
|
|
23350
23350
|
const We = await qe.blob();
|
|
23351
23351
|
return new File([We], ve, { type: We.type || "application/octet-stream" });
|
|
23352
23352
|
};
|
|
@@ -23359,19 +23359,19 @@ const { RangePicker: iy } = cl, sy = ({ host: e, onChange: t }) => {
|
|
|
23359
23359
|
};
|
|
23360
23360
|
let yi = !1;
|
|
23361
23361
|
return Promise.all(
|
|
23362
|
-
tt.map(async ([Te,
|
|
23363
|
-
const ve = await rn(
|
|
23362
|
+
tt.map(async ([Te, _e]) => {
|
|
23363
|
+
const ve = await rn(_e);
|
|
23364
23364
|
return ve ? { key: Te, file: ve } : null;
|
|
23365
23365
|
})
|
|
23366
23366
|
).then((Te) => {
|
|
23367
23367
|
if (yi) return;
|
|
23368
|
-
const
|
|
23368
|
+
const _e = {};
|
|
23369
23369
|
for (const ve of Te)
|
|
23370
|
-
ve && (
|
|
23371
|
-
Object.keys(
|
|
23370
|
+
ve && (_e[ve.key] = ve.file);
|
|
23371
|
+
Object.keys(_e).length > 0 && H((ve) => {
|
|
23372
23372
|
const nt = { ...ve };
|
|
23373
23373
|
let qe = !1;
|
|
23374
|
-
for (const [We, zn] of Object.entries(
|
|
23374
|
+
for (const [We, zn] of Object.entries(_e))
|
|
23375
23375
|
typeof nt[We] == "string" && (nt[We] = zn, qe = !0);
|
|
23376
23376
|
return qe ? nt : ve;
|
|
23377
23377
|
});
|
|
@@ -23385,13 +23385,13 @@ const { RangePicker: iy } = cl, sy = ({ host: e, onChange: t }) => {
|
|
|
23385
23385
|
const me = e.filter((le) => le.type === "report-url" && le.key);
|
|
23386
23386
|
if (console.log("[report-url-backfill] reportUrlNodes=", me.map((le) => le.key)), me.length !== 0)
|
|
23387
23387
|
for (const le of me) {
|
|
23388
|
-
const
|
|
23389
|
-
if (console.log("[report-url-backfill] checking key=",
|
|
23390
|
-
const tt = N[
|
|
23388
|
+
const Se = le.key;
|
|
23389
|
+
if (console.log("[report-url-backfill] checking key=", Se, "nodeValues[key]=", N[Se], "done=", qn.current.has(Se)), qn.current.has(Se)) continue;
|
|
23390
|
+
const tt = N[Se] ?? N[`${Se}__url`];
|
|
23391
23391
|
if (!tt || typeof tt == "string" && !tt.trim()) continue;
|
|
23392
23392
|
const rn = Array.isArray(tt) ? tt[0] : String(tt);
|
|
23393
|
-
rn && (qn.current.add(
|
|
23394
|
-
console.log("[report-url-backfill] setTimeout 执行, reportAnalyzeRef.current=", He.current), He.current(
|
|
23393
|
+
rn && (qn.current.add(Se), console.log("[report-url-backfill] 触发解析 key=", Se, "url=", rn), setTimeout(() => {
|
|
23394
|
+
console.log("[report-url-backfill] setTimeout 执行, reportAnalyzeRef.current=", He.current), He.current(Se, rn);
|
|
23395
23395
|
}, 100));
|
|
23396
23396
|
}
|
|
23397
23397
|
}, [N, e, He]), zb(F, Ae, P, he, S), Vb(F, Ae, he, h, S), Yb(F, Ae, P, he, S), Gb(F, Ae, he, S), Wb(F, Ae, P, Nt), jb(F, ge);
|
|
@@ -23399,8 +23399,8 @@ const { RangePicker: iy } = cl, sy = ({ host: e, onChange: t }) => {
|
|
|
23399
23399
|
ne(() => {
|
|
23400
23400
|
if (!F.current) return;
|
|
23401
23401
|
F.current.querySelectorAll(".rte-richtext-toggle").forEach((le) => {
|
|
23402
|
-
const
|
|
23403
|
-
le.innerHTML =
|
|
23402
|
+
const Se = le.getAttribute("data-expanded") === "true";
|
|
23403
|
+
le.innerHTML = Se ? '<i class="iconfont icon-shouqi1"></i><span class="rte-richtext-toggle-label">收起</span>' : '<i class="iconfont icon-zhankai2"></i><span class="rte-richtext-toggle-label">展开</span>';
|
|
23404
23404
|
});
|
|
23405
23405
|
}, [Ae, F]);
|
|
23406
23406
|
const bi = oy(F), { measureExpandedContentHeight: nn } = Zl({
|
|
@@ -23625,9 +23625,9 @@ const { RangePicker: iy } = cl, sy = ({ host: e, onChange: t }) => {
|
|
|
23625
23625
|
] }) }),
|
|
23626
23626
|
/* @__PURE__ */ fe("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
23627
23627
|
(() => {
|
|
23628
|
-
const me = e.find((
|
|
23628
|
+
const me = e.find((Se) => Se.type === "tag");
|
|
23629
23629
|
if (!me || !me.text) return null;
|
|
23630
|
-
const le = s.find((
|
|
23630
|
+
const le = s.find((Se) => Se.label === me.text);
|
|
23631
23631
|
return !le || le.points === void 0 || le.points === null ? null : /* @__PURE__ */ fe("div", { className: "rte-points-badge", style: { position: "relative" }, children: [
|
|
23632
23632
|
/* @__PURE__ */ G("i", { className: "iconfont icon-jifen", style: { marginRight: "4px", fontSize: "16px" } }),
|
|
23633
23633
|
/* @__PURE__ */ fe("span", { style: { fontSize: "16px", lineHeight: "22px" }, children: [
|