bi-components-library 1.3.2-next.55 → 1.3.2-next.56
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/bi-components-library.css +1 -1
- package/dist/index.es.js +356 -349
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as v, jsxs as
|
|
1
|
+
import { jsx as v, jsxs as W, Fragment as ot } from "react/jsx-runtime";
|
|
2
2
|
import ye, { useState as J, useRef as te, useMemo as Ue, useCallback as V, useEffect as ge, createContext as go, useContext as Ff, useLayoutEffect as We, useDebugValue as Hf, forwardRef as ob } from "react";
|
|
3
3
|
import { Button as Jn, Card as vo, Modal as ub, Table as yo, Flex as Vu, Spin as Za, Empty as cb, Select as Hl, Form as na, Input as Eo, Space as db, unstableSetRender as fb, Tooltip as To, DatePicker as hb, Cascader as pb, Popover as Oa, Image as Uf, App as dr, Dropdown as mb, Popconfirm as bb, ConfigProvider as gb, Progress as vb, Pagination as yb, theme as Eb } from "antd";
|
|
4
4
|
import { createFromIconfontCN as Tb, LeftOutlined as Cb, SearchOutlined as xb, ReloadOutlined as Sb, CloseCircleFilled as zf, InfoCircleOutlined as kb, SendOutlined as Ab, PauseCircleOutlined as Nb, PlayCircleOutlined as wb } from "@ant-design/icons";
|
|
@@ -151,7 +151,7 @@ const Rb = ({
|
|
|
151
151
|
showDefaultFooter: e = !0,
|
|
152
152
|
...t
|
|
153
153
|
}) => {
|
|
154
|
-
const n = t.footer !== void 0 ? t.footer : e ? (r, { OkBtn: l, CancelBtn: a }) => /* @__PURE__ */
|
|
154
|
+
const n = t.footer !== void 0 ? t.footer : e ? (r, { OkBtn: l, CancelBtn: a }) => /* @__PURE__ */ W(ot, { children: [
|
|
155
155
|
/* @__PURE__ */ v(l, {}),
|
|
156
156
|
/* @__PURE__ */ v(a, {})
|
|
157
157
|
] }) : null;
|
|
@@ -362,7 +362,7 @@ const Bb = ({
|
|
|
362
362
|
emptyChildren: r,
|
|
363
363
|
loadingText: l,
|
|
364
364
|
emptyImage: a
|
|
365
|
-
}) => e ? /* @__PURE__ */
|
|
365
|
+
}) => e ? /* @__PURE__ */ W(
|
|
366
366
|
Vu,
|
|
367
367
|
{
|
|
368
368
|
className: `pt-10 w-full ${n || ""}`,
|
|
@@ -613,8 +613,8 @@ const { Option: Ub } = Hl, zb = ({
|
|
|
613
613
|
return ge(() => {
|
|
614
614
|
const L = Object.keys(o).length > 0;
|
|
615
615
|
(s && !O.current || L) && (A(), O.current = !0);
|
|
616
|
-
}, [s, o, A]), /* @__PURE__ */
|
|
617
|
-
r && n.length > 0 && /* @__PURE__ */ v(vo, { size: "small", style: { marginBottom: 16 }, children: /* @__PURE__ */
|
|
616
|
+
}, [s, o, A]), /* @__PURE__ */ W("div", { children: [
|
|
617
|
+
r && n.length > 0 && /* @__PURE__ */ v(vo, { size: "small", style: { marginBottom: 16 }, children: /* @__PURE__ */ W(
|
|
618
618
|
na,
|
|
619
619
|
{
|
|
620
620
|
form: R,
|
|
@@ -637,7 +637,7 @@ const { Option: Ub } = Hl, zb = ({
|
|
|
637
637
|
children: L.options?.map((E) => /* @__PURE__ */ v(Ub, { value: E.value, children: E.label }, E.value))
|
|
638
638
|
}
|
|
639
639
|
) }, L.key)),
|
|
640
|
-
/* @__PURE__ */ v(na.Item, { children: /* @__PURE__ */
|
|
640
|
+
/* @__PURE__ */ v(na.Item, { children: /* @__PURE__ */ W(db, { children: [
|
|
641
641
|
/* @__PURE__ */ v(Jn, { type: "primary", htmlType: "submit", icon: /* @__PURE__ */ v(xb, {}), children: "查询" }),
|
|
642
642
|
/* @__PURE__ */ v(Jn, { onClick: S, children: "重置" }),
|
|
643
643
|
l && /* @__PURE__ */ v(Jn, { icon: /* @__PURE__ */ v(Sb, {}), onClick: B, children: "刷新" })
|
|
@@ -7554,7 +7554,7 @@ function r2(e, t) {
|
|
|
7554
7554
|
components: l,
|
|
7555
7555
|
ignoreInvalidStyle: !0,
|
|
7556
7556
|
jsx: v,
|
|
7557
|
-
jsxs:
|
|
7557
|
+
jsxs: W,
|
|
7558
7558
|
passKeys: !0,
|
|
7559
7559
|
passNode: !0
|
|
7560
7560
|
});
|
|
@@ -8136,10 +8136,10 @@ function Rh(e) {
|
|
|
8136
8136
|
function Dh(e) {
|
|
8137
8137
|
return e >= 64976 && e <= 65007 || _2.has(e);
|
|
8138
8138
|
}
|
|
8139
|
-
var
|
|
8139
|
+
var Y;
|
|
8140
8140
|
(function(e) {
|
|
8141
8141
|
e.controlCharacterInInputStream = "control-character-in-input-stream", e.noncharacterInInputStream = "noncharacter-in-input-stream", e.surrogateInInputStream = "surrogate-in-input-stream", e.nonVoidHtmlElementStartTagWithTrailingSolidus = "non-void-html-element-start-tag-with-trailing-solidus", e.endTagWithAttributes = "end-tag-with-attributes", e.endTagWithTrailingSolidus = "end-tag-with-trailing-solidus", e.unexpectedSolidusInTag = "unexpected-solidus-in-tag", e.unexpectedNullCharacter = "unexpected-null-character", e.unexpectedQuestionMarkInsteadOfTagName = "unexpected-question-mark-instead-of-tag-name", e.invalidFirstCharacterOfTagName = "invalid-first-character-of-tag-name", e.unexpectedEqualsSignBeforeAttributeName = "unexpected-equals-sign-before-attribute-name", e.missingEndTagName = "missing-end-tag-name", e.unexpectedCharacterInAttributeName = "unexpected-character-in-attribute-name", e.unknownNamedCharacterReference = "unknown-named-character-reference", e.missingSemicolonAfterCharacterReference = "missing-semicolon-after-character-reference", e.unexpectedCharacterAfterDoctypeSystemIdentifier = "unexpected-character-after-doctype-system-identifier", e.unexpectedCharacterInUnquotedAttributeValue = "unexpected-character-in-unquoted-attribute-value", e.eofBeforeTagName = "eof-before-tag-name", e.eofInTag = "eof-in-tag", e.missingAttributeValue = "missing-attribute-value", e.missingWhitespaceBetweenAttributes = "missing-whitespace-between-attributes", e.missingWhitespaceAfterDoctypePublicKeyword = "missing-whitespace-after-doctype-public-keyword", e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers = "missing-whitespace-between-doctype-public-and-system-identifiers", e.missingWhitespaceAfterDoctypeSystemKeyword = "missing-whitespace-after-doctype-system-keyword", e.missingQuoteBeforeDoctypePublicIdentifier = "missing-quote-before-doctype-public-identifier", e.missingQuoteBeforeDoctypeSystemIdentifier = "missing-quote-before-doctype-system-identifier", e.missingDoctypePublicIdentifier = "missing-doctype-public-identifier", e.missingDoctypeSystemIdentifier = "missing-doctype-system-identifier", e.abruptDoctypePublicIdentifier = "abrupt-doctype-public-identifier", e.abruptDoctypeSystemIdentifier = "abrupt-doctype-system-identifier", e.cdataInHtmlContent = "cdata-in-html-content", e.incorrectlyOpenedComment = "incorrectly-opened-comment", e.eofInScriptHtmlCommentLikeText = "eof-in-script-html-comment-like-text", e.eofInDoctype = "eof-in-doctype", e.nestedComment = "nested-comment", e.abruptClosingOfEmptyComment = "abrupt-closing-of-empty-comment", e.eofInComment = "eof-in-comment", e.incorrectlyClosedComment = "incorrectly-closed-comment", e.eofInCdata = "eof-in-cdata", e.absenceOfDigitsInNumericCharacterReference = "absence-of-digits-in-numeric-character-reference", e.nullCharacterReference = "null-character-reference", e.surrogateCharacterReference = "surrogate-character-reference", e.characterReferenceOutsideUnicodeRange = "character-reference-outside-unicode-range", e.controlCharacterReference = "control-character-reference", e.noncharacterCharacterReference = "noncharacter-character-reference", e.missingWhitespaceBeforeDoctypeName = "missing-whitespace-before-doctype-name", e.missingDoctypeName = "missing-doctype-name", e.invalidCharacterSequenceAfterDoctypeName = "invalid-character-sequence-after-doctype-name", e.duplicateAttribute = "duplicate-attribute", e.nonConformingDoctype = "non-conforming-doctype", e.missingDoctype = "missing-doctype", e.misplacedDoctype = "misplaced-doctype", e.endTagWithoutMatchingOpenElement = "end-tag-without-matching-open-element", e.closingOfElementWithOpenChildElements = "closing-of-element-with-open-child-elements", e.disallowedContentInNoscriptInHead = "disallowed-content-in-noscript-in-head", e.openElementsLeftAfterEof = "open-elements-left-after-eof", e.abandonedHeadElementChild = "abandoned-head-element-child", e.misplacedStartTagForHeadElement = "misplaced-start-tag-for-head-element", e.nestedNoscriptInHead = "nested-noscript-in-head", e.eofInElementThatCanContainOnlyText = "eof-in-element-that-can-contain-only-text";
|
|
8142
|
-
})(
|
|
8142
|
+
})(Y || (Y = {}));
|
|
8143
8143
|
const M2 = 65536;
|
|
8144
8144
|
class R2 {
|
|
8145
8145
|
constructor(t) {
|
|
@@ -8177,7 +8177,7 @@ class R2 {
|
|
|
8177
8177
|
return this.pos++, this._addGap(), O2(t, n);
|
|
8178
8178
|
} else if (!this.lastChunkWritten)
|
|
8179
8179
|
return this.endOfChunkHit = !0, x.EOF;
|
|
8180
|
-
return this._err(
|
|
8180
|
+
return this._err(Y.surrogateInInputStream), t;
|
|
8181
8181
|
}
|
|
8182
8182
|
willDropParsedChunk() {
|
|
8183
8183
|
return this.pos > this.bufferWaterline;
|
|
@@ -8215,7 +8215,7 @@ class R2 {
|
|
|
8215
8215
|
return t === x.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, x.LINE_FEED) : t === x.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, Mh(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === x.LINE_FEED || t === x.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
|
|
8216
8216
|
}
|
|
8217
8217
|
_checkForProblematicCharacters(t) {
|
|
8218
|
-
Rh(t) ? this._err(
|
|
8218
|
+
Rh(t) ? this._err(Y.controlCharacterInInputStream) : Dh(t) && this._err(Y.noncharacterInInputStream);
|
|
8219
8219
|
}
|
|
8220
8220
|
retreat(t) {
|
|
8221
8221
|
for (this.pos -= t; this.pos < this.lastGapPos; )
|
|
@@ -8785,7 +8785,7 @@ function Lc(e) {
|
|
|
8785
8785
|
return Ph(e) || e === x.SOLIDUS || e === x.GREATER_THAN_SIGN;
|
|
8786
8786
|
}
|
|
8787
8787
|
function j2(e) {
|
|
8788
|
-
return e === x.NULL ?
|
|
8788
|
+
return e === x.NULL ? Y.nullCharacterReference : e > 1114111 ? Y.characterReferenceOutsideUnicodeRange : Mh(e) ? Y.surrogateCharacterReference : Dh(e) ? Y.noncharacterCharacterReference : Rh(e) || e === x.CARRIAGE_RETURN ? Y.controlCharacterReference : null;
|
|
8789
8789
|
}
|
|
8790
8790
|
class G2 {
|
|
8791
8791
|
constructor(t, n) {
|
|
@@ -8793,10 +8793,10 @@ class G2 {
|
|
|
8793
8793
|
this.preprocessor.pos = this.entityStartPos + l - 1, this._flushCodePointConsumedAsCharacterReference(r);
|
|
8794
8794
|
}, n.onParseError ? {
|
|
8795
8795
|
missingSemicolonAfterCharacterReference: () => {
|
|
8796
|
-
this._err(
|
|
8796
|
+
this._err(Y.missingSemicolonAfterCharacterReference, 1);
|
|
8797
8797
|
},
|
|
8798
8798
|
absenceOfDigitsInNumericCharacterReference: (r) => {
|
|
8799
|
-
this._err(
|
|
8799
|
+
this._err(Y.absenceOfDigitsInNumericCharacterReference, this.entityStartPos - this.preprocessor.pos + r);
|
|
8800
8800
|
},
|
|
8801
8801
|
validateNumericCharacterReference: (r) => {
|
|
8802
8802
|
const l = j2(r);
|
|
@@ -8924,7 +8924,7 @@ class G2 {
|
|
|
8924
8924
|
l[this.currentAttr.name] = this.currentLocation, this._leaveAttrValue();
|
|
8925
8925
|
}
|
|
8926
8926
|
} else
|
|
8927
|
-
this._err(
|
|
8927
|
+
this._err(Y.duplicateAttribute);
|
|
8928
8928
|
}
|
|
8929
8929
|
_leaveAttrValue() {
|
|
8930
8930
|
this.currentLocation && (this.currentLocation.endLine = this.preprocessor.line, this.currentLocation.endCol = this.preprocessor.col, this.currentLocation.endOffset = this.preprocessor.offset);
|
|
@@ -8935,7 +8935,7 @@ class G2 {
|
|
|
8935
8935
|
}
|
|
8936
8936
|
emitCurrentTagToken() {
|
|
8937
8937
|
const t = this.currentToken;
|
|
8938
|
-
this.prepareToken(t), t.tagID = $r(t.tagName), t.type === Ne.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(
|
|
8938
|
+
this.prepareToken(t), t.tagID = $r(t.tagName), t.type === Ne.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(Y.endTagWithAttributes), t.selfClosing && this._err(Y.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
|
|
8939
8939
|
}
|
|
8940
8940
|
emitCurrentComment(t) {
|
|
8941
8941
|
this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
|
|
@@ -9316,7 +9316,7 @@ class G2 {
|
|
|
9316
9316
|
break;
|
|
9317
9317
|
}
|
|
9318
9318
|
case x.NULL: {
|
|
9319
|
-
this._err(
|
|
9319
|
+
this._err(Y.unexpectedNullCharacter), this._emitCodePoint(t);
|
|
9320
9320
|
break;
|
|
9321
9321
|
}
|
|
9322
9322
|
case x.EOF: {
|
|
@@ -9340,7 +9340,7 @@ class G2 {
|
|
|
9340
9340
|
break;
|
|
9341
9341
|
}
|
|
9342
9342
|
case x.NULL: {
|
|
9343
|
-
this._err(
|
|
9343
|
+
this._err(Y.unexpectedNullCharacter), this._emitChars(He);
|
|
9344
9344
|
break;
|
|
9345
9345
|
}
|
|
9346
9346
|
case x.EOF: {
|
|
@@ -9360,7 +9360,7 @@ class G2 {
|
|
|
9360
9360
|
break;
|
|
9361
9361
|
}
|
|
9362
9362
|
case x.NULL: {
|
|
9363
|
-
this._err(
|
|
9363
|
+
this._err(Y.unexpectedNullCharacter), this._emitChars(He);
|
|
9364
9364
|
break;
|
|
9365
9365
|
}
|
|
9366
9366
|
case x.EOF: {
|
|
@@ -9380,7 +9380,7 @@ class G2 {
|
|
|
9380
9380
|
break;
|
|
9381
9381
|
}
|
|
9382
9382
|
case x.NULL: {
|
|
9383
|
-
this._err(
|
|
9383
|
+
this._err(Y.unexpectedNullCharacter), this._emitChars(He);
|
|
9384
9384
|
break;
|
|
9385
9385
|
}
|
|
9386
9386
|
case x.EOF: {
|
|
@@ -9396,7 +9396,7 @@ class G2 {
|
|
|
9396
9396
|
_statePlaintext(t) {
|
|
9397
9397
|
switch (t) {
|
|
9398
9398
|
case x.NULL: {
|
|
9399
|
-
this._err(
|
|
9399
|
+
this._err(Y.unexpectedNullCharacter), this._emitChars(He);
|
|
9400
9400
|
break;
|
|
9401
9401
|
}
|
|
9402
9402
|
case x.EOF: {
|
|
@@ -9423,15 +9423,15 @@ class G2 {
|
|
|
9423
9423
|
break;
|
|
9424
9424
|
}
|
|
9425
9425
|
case x.QUESTION_MARK: {
|
|
9426
|
-
this._err(
|
|
9426
|
+
this._err(Y.unexpectedQuestionMarkInsteadOfTagName), this._createCommentToken(1), this.state = N.BOGUS_COMMENT, this._stateBogusComment(t);
|
|
9427
9427
|
break;
|
|
9428
9428
|
}
|
|
9429
9429
|
case x.EOF: {
|
|
9430
|
-
this._err(
|
|
9430
|
+
this._err(Y.eofBeforeTagName), this._emitChars("<"), this._emitEOFToken();
|
|
9431
9431
|
break;
|
|
9432
9432
|
}
|
|
9433
9433
|
default:
|
|
9434
|
-
this._err(
|
|
9434
|
+
this._err(Y.invalidFirstCharacterOfTagName), this._emitChars("<"), this.state = N.DATA, this._stateData(t);
|
|
9435
9435
|
}
|
|
9436
9436
|
}
|
|
9437
9437
|
// End tag open state
|
|
@@ -9442,15 +9442,15 @@ class G2 {
|
|
|
9442
9442
|
else
|
|
9443
9443
|
switch (t) {
|
|
9444
9444
|
case x.GREATER_THAN_SIGN: {
|
|
9445
|
-
this._err(
|
|
9445
|
+
this._err(Y.missingEndTagName), this.state = N.DATA;
|
|
9446
9446
|
break;
|
|
9447
9447
|
}
|
|
9448
9448
|
case x.EOF: {
|
|
9449
|
-
this._err(
|
|
9449
|
+
this._err(Y.eofBeforeTagName), this._emitChars("</"), this._emitEOFToken();
|
|
9450
9450
|
break;
|
|
9451
9451
|
}
|
|
9452
9452
|
default:
|
|
9453
|
-
this._err(
|
|
9453
|
+
this._err(Y.invalidFirstCharacterOfTagName), this._createCommentToken(2), this.state = N.BOGUS_COMMENT, this._stateBogusComment(t);
|
|
9454
9454
|
}
|
|
9455
9455
|
}
|
|
9456
9456
|
// Tag name state
|
|
@@ -9474,11 +9474,11 @@ class G2 {
|
|
|
9474
9474
|
break;
|
|
9475
9475
|
}
|
|
9476
9476
|
case x.NULL: {
|
|
9477
|
-
this._err(
|
|
9477
|
+
this._err(Y.unexpectedNullCharacter), n.tagName += He;
|
|
9478
9478
|
break;
|
|
9479
9479
|
}
|
|
9480
9480
|
case x.EOF: {
|
|
9481
|
-
this._err(
|
|
9481
|
+
this._err(Y.eofInTag), this._emitEOFToken();
|
|
9482
9482
|
break;
|
|
9483
9483
|
}
|
|
9484
9484
|
default:
|
|
@@ -9583,11 +9583,11 @@ class G2 {
|
|
|
9583
9583
|
break;
|
|
9584
9584
|
}
|
|
9585
9585
|
case x.NULL: {
|
|
9586
|
-
this._err(
|
|
9586
|
+
this._err(Y.unexpectedNullCharacter), this._emitChars(He);
|
|
9587
9587
|
break;
|
|
9588
9588
|
}
|
|
9589
9589
|
case x.EOF: {
|
|
9590
|
-
this._err(
|
|
9590
|
+
this._err(Y.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
9591
9591
|
break;
|
|
9592
9592
|
}
|
|
9593
9593
|
default:
|
|
@@ -9607,11 +9607,11 @@ class G2 {
|
|
|
9607
9607
|
break;
|
|
9608
9608
|
}
|
|
9609
9609
|
case x.NULL: {
|
|
9610
|
-
this._err(
|
|
9610
|
+
this._err(Y.unexpectedNullCharacter), this.state = N.SCRIPT_DATA_ESCAPED, this._emitChars(He);
|
|
9611
9611
|
break;
|
|
9612
9612
|
}
|
|
9613
9613
|
case x.EOF: {
|
|
9614
|
-
this._err(
|
|
9614
|
+
this._err(Y.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
9615
9615
|
break;
|
|
9616
9616
|
}
|
|
9617
9617
|
default:
|
|
@@ -9635,11 +9635,11 @@ class G2 {
|
|
|
9635
9635
|
break;
|
|
9636
9636
|
}
|
|
9637
9637
|
case x.NULL: {
|
|
9638
|
-
this._err(
|
|
9638
|
+
this._err(Y.unexpectedNullCharacter), this.state = N.SCRIPT_DATA_ESCAPED, this._emitChars(He);
|
|
9639
9639
|
break;
|
|
9640
9640
|
}
|
|
9641
9641
|
case x.EOF: {
|
|
9642
|
-
this._err(
|
|
9642
|
+
this._err(Y.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
9643
9643
|
break;
|
|
9644
9644
|
}
|
|
9645
9645
|
default:
|
|
@@ -9684,11 +9684,11 @@ class G2 {
|
|
|
9684
9684
|
break;
|
|
9685
9685
|
}
|
|
9686
9686
|
case x.NULL: {
|
|
9687
|
-
this._err(
|
|
9687
|
+
this._err(Y.unexpectedNullCharacter), this._emitChars(He);
|
|
9688
9688
|
break;
|
|
9689
9689
|
}
|
|
9690
9690
|
case x.EOF: {
|
|
9691
|
-
this._err(
|
|
9691
|
+
this._err(Y.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
9692
9692
|
break;
|
|
9693
9693
|
}
|
|
9694
9694
|
default:
|
|
@@ -9708,11 +9708,11 @@ class G2 {
|
|
|
9708
9708
|
break;
|
|
9709
9709
|
}
|
|
9710
9710
|
case x.NULL: {
|
|
9711
|
-
this._err(
|
|
9711
|
+
this._err(Y.unexpectedNullCharacter), this.state = N.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(He);
|
|
9712
9712
|
break;
|
|
9713
9713
|
}
|
|
9714
9714
|
case x.EOF: {
|
|
9715
|
-
this._err(
|
|
9715
|
+
this._err(Y.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
9716
9716
|
break;
|
|
9717
9717
|
}
|
|
9718
9718
|
default:
|
|
@@ -9736,11 +9736,11 @@ class G2 {
|
|
|
9736
9736
|
break;
|
|
9737
9737
|
}
|
|
9738
9738
|
case x.NULL: {
|
|
9739
|
-
this._err(
|
|
9739
|
+
this._err(Y.unexpectedNullCharacter), this.state = N.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(He);
|
|
9740
9740
|
break;
|
|
9741
9741
|
}
|
|
9742
9742
|
case x.EOF: {
|
|
9743
|
-
this._err(
|
|
9743
|
+
this._err(Y.eofInScriptHtmlCommentLikeText), this._emitEOFToken();
|
|
9744
9744
|
break;
|
|
9745
9745
|
}
|
|
9746
9746
|
default:
|
|
@@ -9778,7 +9778,7 @@ class G2 {
|
|
|
9778
9778
|
break;
|
|
9779
9779
|
}
|
|
9780
9780
|
case x.EQUALS_SIGN: {
|
|
9781
|
-
this._err(
|
|
9781
|
+
this._err(Y.unexpectedEqualsSignBeforeAttributeName), this._createAttr("="), this.state = N.ATTRIBUTE_NAME;
|
|
9782
9782
|
break;
|
|
9783
9783
|
}
|
|
9784
9784
|
default:
|
|
@@ -9806,11 +9806,11 @@ class G2 {
|
|
|
9806
9806
|
case x.QUOTATION_MARK:
|
|
9807
9807
|
case x.APOSTROPHE:
|
|
9808
9808
|
case x.LESS_THAN_SIGN: {
|
|
9809
|
-
this._err(
|
|
9809
|
+
this._err(Y.unexpectedCharacterInAttributeName), this.currentAttr.name += String.fromCodePoint(t);
|
|
9810
9810
|
break;
|
|
9811
9811
|
}
|
|
9812
9812
|
case x.NULL: {
|
|
9813
|
-
this._err(
|
|
9813
|
+
this._err(Y.unexpectedNullCharacter), this.currentAttr.name += He;
|
|
9814
9814
|
break;
|
|
9815
9815
|
}
|
|
9816
9816
|
default:
|
|
@@ -9839,7 +9839,7 @@ class G2 {
|
|
|
9839
9839
|
break;
|
|
9840
9840
|
}
|
|
9841
9841
|
case x.EOF: {
|
|
9842
|
-
this._err(
|
|
9842
|
+
this._err(Y.eofInTag), this._emitEOFToken();
|
|
9843
9843
|
break;
|
|
9844
9844
|
}
|
|
9845
9845
|
default:
|
|
@@ -9864,7 +9864,7 @@ class G2 {
|
|
|
9864
9864
|
break;
|
|
9865
9865
|
}
|
|
9866
9866
|
case x.GREATER_THAN_SIGN: {
|
|
9867
|
-
this._err(
|
|
9867
|
+
this._err(Y.missingAttributeValue), this.state = N.DATA, this.emitCurrentTagToken();
|
|
9868
9868
|
break;
|
|
9869
9869
|
}
|
|
9870
9870
|
default:
|
|
@@ -9884,11 +9884,11 @@ class G2 {
|
|
|
9884
9884
|
break;
|
|
9885
9885
|
}
|
|
9886
9886
|
case x.NULL: {
|
|
9887
|
-
this._err(
|
|
9887
|
+
this._err(Y.unexpectedNullCharacter), this.currentAttr.value += He;
|
|
9888
9888
|
break;
|
|
9889
9889
|
}
|
|
9890
9890
|
case x.EOF: {
|
|
9891
|
-
this._err(
|
|
9891
|
+
this._err(Y.eofInTag), this._emitEOFToken();
|
|
9892
9892
|
break;
|
|
9893
9893
|
}
|
|
9894
9894
|
default:
|
|
@@ -9908,11 +9908,11 @@ class G2 {
|
|
|
9908
9908
|
break;
|
|
9909
9909
|
}
|
|
9910
9910
|
case x.NULL: {
|
|
9911
|
-
this._err(
|
|
9911
|
+
this._err(Y.unexpectedNullCharacter), this.currentAttr.value += He;
|
|
9912
9912
|
break;
|
|
9913
9913
|
}
|
|
9914
9914
|
case x.EOF: {
|
|
9915
|
-
this._err(
|
|
9915
|
+
this._err(Y.eofInTag), this._emitEOFToken();
|
|
9916
9916
|
break;
|
|
9917
9917
|
}
|
|
9918
9918
|
default:
|
|
@@ -9939,7 +9939,7 @@ class G2 {
|
|
|
9939
9939
|
break;
|
|
9940
9940
|
}
|
|
9941
9941
|
case x.NULL: {
|
|
9942
|
-
this._err(
|
|
9942
|
+
this._err(Y.unexpectedNullCharacter), this.currentAttr.value += He;
|
|
9943
9943
|
break;
|
|
9944
9944
|
}
|
|
9945
9945
|
case x.QUOTATION_MARK:
|
|
@@ -9947,11 +9947,11 @@ class G2 {
|
|
|
9947
9947
|
case x.LESS_THAN_SIGN:
|
|
9948
9948
|
case x.EQUALS_SIGN:
|
|
9949
9949
|
case x.GRAVE_ACCENT: {
|
|
9950
|
-
this._err(
|
|
9950
|
+
this._err(Y.unexpectedCharacterInUnquotedAttributeValue), this.currentAttr.value += String.fromCodePoint(t);
|
|
9951
9951
|
break;
|
|
9952
9952
|
}
|
|
9953
9953
|
case x.EOF: {
|
|
9954
|
-
this._err(
|
|
9954
|
+
this._err(Y.eofInTag), this._emitEOFToken();
|
|
9955
9955
|
break;
|
|
9956
9956
|
}
|
|
9957
9957
|
default:
|
|
@@ -9978,11 +9978,11 @@ class G2 {
|
|
|
9978
9978
|
break;
|
|
9979
9979
|
}
|
|
9980
9980
|
case x.EOF: {
|
|
9981
|
-
this._err(
|
|
9981
|
+
this._err(Y.eofInTag), this._emitEOFToken();
|
|
9982
9982
|
break;
|
|
9983
9983
|
}
|
|
9984
9984
|
default:
|
|
9985
|
-
this._err(
|
|
9985
|
+
this._err(Y.missingWhitespaceBetweenAttributes), this.state = N.BEFORE_ATTRIBUTE_NAME, this._stateBeforeAttributeName(t);
|
|
9986
9986
|
}
|
|
9987
9987
|
}
|
|
9988
9988
|
// Self-closing start tag state
|
|
@@ -9995,11 +9995,11 @@ class G2 {
|
|
|
9995
9995
|
break;
|
|
9996
9996
|
}
|
|
9997
9997
|
case x.EOF: {
|
|
9998
|
-
this._err(
|
|
9998
|
+
this._err(Y.eofInTag), this._emitEOFToken();
|
|
9999
9999
|
break;
|
|
10000
10000
|
}
|
|
10001
10001
|
default:
|
|
10002
|
-
this._err(
|
|
10002
|
+
this._err(Y.unexpectedSolidusInTag), this.state = N.BEFORE_ATTRIBUTE_NAME, this._stateBeforeAttributeName(t);
|
|
10003
10003
|
}
|
|
10004
10004
|
}
|
|
10005
10005
|
// Bogus comment state
|
|
@@ -10016,7 +10016,7 @@ class G2 {
|
|
|
10016
10016
|
break;
|
|
10017
10017
|
}
|
|
10018
10018
|
case x.NULL: {
|
|
10019
|
-
this._err(
|
|
10019
|
+
this._err(Y.unexpectedNullCharacter), n.data += He;
|
|
10020
10020
|
break;
|
|
10021
10021
|
}
|
|
10022
10022
|
default:
|
|
@@ -10026,7 +10026,7 @@ class G2 {
|
|
|
10026
10026
|
// Markup declaration open state
|
|
10027
10027
|
//------------------------------------------------------------------
|
|
10028
10028
|
_stateMarkupDeclarationOpen(t) {
|
|
10029
|
-
this._consumeSequenceIfMatch(St.DASH_DASH, !0) ? (this._createCommentToken(St.DASH_DASH.length + 1), this.state = N.COMMENT_START) : this._consumeSequenceIfMatch(St.DOCTYPE, !1) ? (this.currentLocation = this.getCurrentLocation(St.DOCTYPE.length + 1), this.state = N.DOCTYPE) : this._consumeSequenceIfMatch(St.CDATA_START, !0) ? this.inForeignNode ? this.state = N.CDATA_SECTION : (this._err(
|
|
10029
|
+
this._consumeSequenceIfMatch(St.DASH_DASH, !0) ? (this._createCommentToken(St.DASH_DASH.length + 1), this.state = N.COMMENT_START) : this._consumeSequenceIfMatch(St.DOCTYPE, !1) ? (this.currentLocation = this.getCurrentLocation(St.DOCTYPE.length + 1), this.state = N.DOCTYPE) : this._consumeSequenceIfMatch(St.CDATA_START, !0) ? this.inForeignNode ? this.state = N.CDATA_SECTION : (this._err(Y.cdataInHtmlContent), this._createCommentToken(St.CDATA_START.length + 1), this.currentToken.data = "[CDATA[", this.state = N.BOGUS_COMMENT) : this._ensureHibernation() || (this._err(Y.incorrectlyOpenedComment), this._createCommentToken(2), this.state = N.BOGUS_COMMENT, this._stateBogusComment(t));
|
|
10030
10030
|
}
|
|
10031
10031
|
// Comment start state
|
|
10032
10032
|
//------------------------------------------------------------------
|
|
@@ -10037,7 +10037,7 @@ class G2 {
|
|
|
10037
10037
|
break;
|
|
10038
10038
|
}
|
|
10039
10039
|
case x.GREATER_THAN_SIGN: {
|
|
10040
|
-
this._err(
|
|
10040
|
+
this._err(Y.abruptClosingOfEmptyComment), this.state = N.DATA;
|
|
10041
10041
|
const n = this.currentToken;
|
|
10042
10042
|
this.emitCurrentComment(n);
|
|
10043
10043
|
break;
|
|
@@ -10056,11 +10056,11 @@ class G2 {
|
|
|
10056
10056
|
break;
|
|
10057
10057
|
}
|
|
10058
10058
|
case x.GREATER_THAN_SIGN: {
|
|
10059
|
-
this._err(
|
|
10059
|
+
this._err(Y.abruptClosingOfEmptyComment), this.state = N.DATA, this.emitCurrentComment(n);
|
|
10060
10060
|
break;
|
|
10061
10061
|
}
|
|
10062
10062
|
case x.EOF: {
|
|
10063
|
-
this._err(
|
|
10063
|
+
this._err(Y.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
10064
10064
|
break;
|
|
10065
10065
|
}
|
|
10066
10066
|
default:
|
|
@@ -10081,11 +10081,11 @@ class G2 {
|
|
|
10081
10081
|
break;
|
|
10082
10082
|
}
|
|
10083
10083
|
case x.NULL: {
|
|
10084
|
-
this._err(
|
|
10084
|
+
this._err(Y.unexpectedNullCharacter), n.data += He;
|
|
10085
10085
|
break;
|
|
10086
10086
|
}
|
|
10087
10087
|
case x.EOF: {
|
|
10088
|
-
this._err(
|
|
10088
|
+
this._err(Y.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
10089
10089
|
break;
|
|
10090
10090
|
}
|
|
10091
10091
|
default:
|
|
@@ -10122,7 +10122,7 @@ class G2 {
|
|
|
10122
10122
|
// Comment less-than sign bang dash dash state
|
|
10123
10123
|
//------------------------------------------------------------------
|
|
10124
10124
|
_stateCommentLessThanSignBangDashDash(t) {
|
|
10125
|
-
t !== x.GREATER_THAN_SIGN && t !== x.EOF && this._err(
|
|
10125
|
+
t !== x.GREATER_THAN_SIGN && t !== x.EOF && this._err(Y.nestedComment), this.state = N.COMMENT_END, this._stateCommentEnd(t);
|
|
10126
10126
|
}
|
|
10127
10127
|
// Comment end dash state
|
|
10128
10128
|
//------------------------------------------------------------------
|
|
@@ -10134,7 +10134,7 @@ class G2 {
|
|
|
10134
10134
|
break;
|
|
10135
10135
|
}
|
|
10136
10136
|
case x.EOF: {
|
|
10137
|
-
this._err(
|
|
10137
|
+
this._err(Y.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
10138
10138
|
break;
|
|
10139
10139
|
}
|
|
10140
10140
|
default:
|
|
@@ -10159,7 +10159,7 @@ class G2 {
|
|
|
10159
10159
|
break;
|
|
10160
10160
|
}
|
|
10161
10161
|
case x.EOF: {
|
|
10162
|
-
this._err(
|
|
10162
|
+
this._err(Y.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
10163
10163
|
break;
|
|
10164
10164
|
}
|
|
10165
10165
|
default:
|
|
@@ -10176,11 +10176,11 @@ class G2 {
|
|
|
10176
10176
|
break;
|
|
10177
10177
|
}
|
|
10178
10178
|
case x.GREATER_THAN_SIGN: {
|
|
10179
|
-
this._err(
|
|
10179
|
+
this._err(Y.incorrectlyClosedComment), this.state = N.DATA, this.emitCurrentComment(n);
|
|
10180
10180
|
break;
|
|
10181
10181
|
}
|
|
10182
10182
|
case x.EOF: {
|
|
10183
|
-
this._err(
|
|
10183
|
+
this._err(Y.eofInComment), this.emitCurrentComment(n), this._emitEOFToken();
|
|
10184
10184
|
break;
|
|
10185
10185
|
}
|
|
10186
10186
|
default:
|
|
@@ -10203,13 +10203,13 @@ class G2 {
|
|
|
10203
10203
|
break;
|
|
10204
10204
|
}
|
|
10205
10205
|
case x.EOF: {
|
|
10206
|
-
this._err(
|
|
10206
|
+
this._err(Y.eofInDoctype), this._createDoctypeToken(null);
|
|
10207
10207
|
const n = this.currentToken;
|
|
10208
10208
|
n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10209
10209
|
break;
|
|
10210
10210
|
}
|
|
10211
10211
|
default:
|
|
10212
|
-
this._err(
|
|
10212
|
+
this._err(Y.missingWhitespaceBeforeDoctypeName), this.state = N.BEFORE_DOCTYPE_NAME, this._stateBeforeDoctypeName(t);
|
|
10213
10213
|
}
|
|
10214
10214
|
}
|
|
10215
10215
|
// Before DOCTYPE name state
|
|
@@ -10225,17 +10225,17 @@ class G2 {
|
|
|
10225
10225
|
case x.FORM_FEED:
|
|
10226
10226
|
break;
|
|
10227
10227
|
case x.NULL: {
|
|
10228
|
-
this._err(
|
|
10228
|
+
this._err(Y.unexpectedNullCharacter), this._createDoctypeToken(He), this.state = N.DOCTYPE_NAME;
|
|
10229
10229
|
break;
|
|
10230
10230
|
}
|
|
10231
10231
|
case x.GREATER_THAN_SIGN: {
|
|
10232
|
-
this._err(
|
|
10232
|
+
this._err(Y.missingDoctypeName), this._createDoctypeToken(null);
|
|
10233
10233
|
const n = this.currentToken;
|
|
10234
10234
|
n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = N.DATA;
|
|
10235
10235
|
break;
|
|
10236
10236
|
}
|
|
10237
10237
|
case x.EOF: {
|
|
10238
|
-
this._err(
|
|
10238
|
+
this._err(Y.eofInDoctype), this._createDoctypeToken(null);
|
|
10239
10239
|
const n = this.currentToken;
|
|
10240
10240
|
n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10241
10241
|
break;
|
|
@@ -10261,11 +10261,11 @@ class G2 {
|
|
|
10261
10261
|
break;
|
|
10262
10262
|
}
|
|
10263
10263
|
case x.NULL: {
|
|
10264
|
-
this._err(
|
|
10264
|
+
this._err(Y.unexpectedNullCharacter), n.name += He;
|
|
10265
10265
|
break;
|
|
10266
10266
|
}
|
|
10267
10267
|
case x.EOF: {
|
|
10268
|
-
this._err(
|
|
10268
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10269
10269
|
break;
|
|
10270
10270
|
}
|
|
10271
10271
|
default:
|
|
@@ -10287,11 +10287,11 @@ class G2 {
|
|
|
10287
10287
|
break;
|
|
10288
10288
|
}
|
|
10289
10289
|
case x.EOF: {
|
|
10290
|
-
this._err(
|
|
10290
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10291
10291
|
break;
|
|
10292
10292
|
}
|
|
10293
10293
|
default:
|
|
10294
|
-
this._consumeSequenceIfMatch(St.PUBLIC, !1) ? this.state = N.AFTER_DOCTYPE_PUBLIC_KEYWORD : this._consumeSequenceIfMatch(St.SYSTEM, !1) ? this.state = N.AFTER_DOCTYPE_SYSTEM_KEYWORD : this._ensureHibernation() || (this._err(
|
|
10294
|
+
this._consumeSequenceIfMatch(St.PUBLIC, !1) ? this.state = N.AFTER_DOCTYPE_PUBLIC_KEYWORD : this._consumeSequenceIfMatch(St.SYSTEM, !1) ? this.state = N.AFTER_DOCTYPE_SYSTEM_KEYWORD : this._ensureHibernation() || (this._err(Y.invalidCharacterSequenceAfterDoctypeName), n.forceQuirks = !0, this.state = N.BOGUS_DOCTYPE, this._stateBogusDoctype(t));
|
|
10295
10295
|
}
|
|
10296
10296
|
}
|
|
10297
10297
|
// After DOCTYPE public keyword state
|
|
@@ -10307,23 +10307,23 @@ class G2 {
|
|
|
10307
10307
|
break;
|
|
10308
10308
|
}
|
|
10309
10309
|
case x.QUOTATION_MARK: {
|
|
10310
|
-
this._err(
|
|
10310
|
+
this._err(Y.missingWhitespaceAfterDoctypePublicKeyword), n.publicId = "", this.state = N.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;
|
|
10311
10311
|
break;
|
|
10312
10312
|
}
|
|
10313
10313
|
case x.APOSTROPHE: {
|
|
10314
|
-
this._err(
|
|
10314
|
+
this._err(Y.missingWhitespaceAfterDoctypePublicKeyword), n.publicId = "", this.state = N.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;
|
|
10315
10315
|
break;
|
|
10316
10316
|
}
|
|
10317
10317
|
case x.GREATER_THAN_SIGN: {
|
|
10318
|
-
this._err(
|
|
10318
|
+
this._err(Y.missingDoctypePublicIdentifier), n.forceQuirks = !0, this.state = N.DATA, this.emitCurrentDoctype(n);
|
|
10319
10319
|
break;
|
|
10320
10320
|
}
|
|
10321
10321
|
case x.EOF: {
|
|
10322
|
-
this._err(
|
|
10322
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10323
10323
|
break;
|
|
10324
10324
|
}
|
|
10325
10325
|
default:
|
|
10326
|
-
this._err(
|
|
10326
|
+
this._err(Y.missingQuoteBeforeDoctypePublicIdentifier), n.forceQuirks = !0, this.state = N.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
10327
10327
|
}
|
|
10328
10328
|
}
|
|
10329
10329
|
// Before DOCTYPE public identifier state
|
|
@@ -10345,15 +10345,15 @@ class G2 {
|
|
|
10345
10345
|
break;
|
|
10346
10346
|
}
|
|
10347
10347
|
case x.GREATER_THAN_SIGN: {
|
|
10348
|
-
this._err(
|
|
10348
|
+
this._err(Y.missingDoctypePublicIdentifier), n.forceQuirks = !0, this.state = N.DATA, this.emitCurrentDoctype(n);
|
|
10349
10349
|
break;
|
|
10350
10350
|
}
|
|
10351
10351
|
case x.EOF: {
|
|
10352
|
-
this._err(
|
|
10352
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10353
10353
|
break;
|
|
10354
10354
|
}
|
|
10355
10355
|
default:
|
|
10356
|
-
this._err(
|
|
10356
|
+
this._err(Y.missingQuoteBeforeDoctypePublicIdentifier), n.forceQuirks = !0, this.state = N.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
10357
10357
|
}
|
|
10358
10358
|
}
|
|
10359
10359
|
// DOCTYPE public identifier (double-quoted) state
|
|
@@ -10366,15 +10366,15 @@ class G2 {
|
|
|
10366
10366
|
break;
|
|
10367
10367
|
}
|
|
10368
10368
|
case x.NULL: {
|
|
10369
|
-
this._err(
|
|
10369
|
+
this._err(Y.unexpectedNullCharacter), n.publicId += He;
|
|
10370
10370
|
break;
|
|
10371
10371
|
}
|
|
10372
10372
|
case x.GREATER_THAN_SIGN: {
|
|
10373
|
-
this._err(
|
|
10373
|
+
this._err(Y.abruptDoctypePublicIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = N.DATA;
|
|
10374
10374
|
break;
|
|
10375
10375
|
}
|
|
10376
10376
|
case x.EOF: {
|
|
10377
|
-
this._err(
|
|
10377
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10378
10378
|
break;
|
|
10379
10379
|
}
|
|
10380
10380
|
default:
|
|
@@ -10391,15 +10391,15 @@ class G2 {
|
|
|
10391
10391
|
break;
|
|
10392
10392
|
}
|
|
10393
10393
|
case x.NULL: {
|
|
10394
|
-
this._err(
|
|
10394
|
+
this._err(Y.unexpectedNullCharacter), n.publicId += He;
|
|
10395
10395
|
break;
|
|
10396
10396
|
}
|
|
10397
10397
|
case x.GREATER_THAN_SIGN: {
|
|
10398
|
-
this._err(
|
|
10398
|
+
this._err(Y.abruptDoctypePublicIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = N.DATA;
|
|
10399
10399
|
break;
|
|
10400
10400
|
}
|
|
10401
10401
|
case x.EOF: {
|
|
10402
|
-
this._err(
|
|
10402
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10403
10403
|
break;
|
|
10404
10404
|
}
|
|
10405
10405
|
default:
|
|
@@ -10423,19 +10423,19 @@ class G2 {
|
|
|
10423
10423
|
break;
|
|
10424
10424
|
}
|
|
10425
10425
|
case x.QUOTATION_MARK: {
|
|
10426
|
-
this._err(
|
|
10426
|
+
this._err(Y.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers), n.systemId = "", this.state = N.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
|
|
10427
10427
|
break;
|
|
10428
10428
|
}
|
|
10429
10429
|
case x.APOSTROPHE: {
|
|
10430
|
-
this._err(
|
|
10430
|
+
this._err(Y.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers), n.systemId = "", this.state = N.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
|
|
10431
10431
|
break;
|
|
10432
10432
|
}
|
|
10433
10433
|
case x.EOF: {
|
|
10434
|
-
this._err(
|
|
10434
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10435
10435
|
break;
|
|
10436
10436
|
}
|
|
10437
10437
|
default:
|
|
10438
|
-
this._err(
|
|
10438
|
+
this._err(Y.missingQuoteBeforeDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = N.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
10439
10439
|
}
|
|
10440
10440
|
}
|
|
10441
10441
|
// Between DOCTYPE public and system identifiers state
|
|
@@ -10461,11 +10461,11 @@ class G2 {
|
|
|
10461
10461
|
break;
|
|
10462
10462
|
}
|
|
10463
10463
|
case x.EOF: {
|
|
10464
|
-
this._err(
|
|
10464
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10465
10465
|
break;
|
|
10466
10466
|
}
|
|
10467
10467
|
default:
|
|
10468
|
-
this._err(
|
|
10468
|
+
this._err(Y.missingQuoteBeforeDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = N.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
10469
10469
|
}
|
|
10470
10470
|
}
|
|
10471
10471
|
// After DOCTYPE system keyword state
|
|
@@ -10481,23 +10481,23 @@ class G2 {
|
|
|
10481
10481
|
break;
|
|
10482
10482
|
}
|
|
10483
10483
|
case x.QUOTATION_MARK: {
|
|
10484
|
-
this._err(
|
|
10484
|
+
this._err(Y.missingWhitespaceAfterDoctypeSystemKeyword), n.systemId = "", this.state = N.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;
|
|
10485
10485
|
break;
|
|
10486
10486
|
}
|
|
10487
10487
|
case x.APOSTROPHE: {
|
|
10488
|
-
this._err(
|
|
10488
|
+
this._err(Y.missingWhitespaceAfterDoctypeSystemKeyword), n.systemId = "", this.state = N.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;
|
|
10489
10489
|
break;
|
|
10490
10490
|
}
|
|
10491
10491
|
case x.GREATER_THAN_SIGN: {
|
|
10492
|
-
this._err(
|
|
10492
|
+
this._err(Y.missingDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = N.DATA, this.emitCurrentDoctype(n);
|
|
10493
10493
|
break;
|
|
10494
10494
|
}
|
|
10495
10495
|
case x.EOF: {
|
|
10496
|
-
this._err(
|
|
10496
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10497
10497
|
break;
|
|
10498
10498
|
}
|
|
10499
10499
|
default:
|
|
10500
|
-
this._err(
|
|
10500
|
+
this._err(Y.missingQuoteBeforeDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = N.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
10501
10501
|
}
|
|
10502
10502
|
}
|
|
10503
10503
|
// Before DOCTYPE system identifier state
|
|
@@ -10519,15 +10519,15 @@ class G2 {
|
|
|
10519
10519
|
break;
|
|
10520
10520
|
}
|
|
10521
10521
|
case x.GREATER_THAN_SIGN: {
|
|
10522
|
-
this._err(
|
|
10522
|
+
this._err(Y.missingDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = N.DATA, this.emitCurrentDoctype(n);
|
|
10523
10523
|
break;
|
|
10524
10524
|
}
|
|
10525
10525
|
case x.EOF: {
|
|
10526
|
-
this._err(
|
|
10526
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10527
10527
|
break;
|
|
10528
10528
|
}
|
|
10529
10529
|
default:
|
|
10530
|
-
this._err(
|
|
10530
|
+
this._err(Y.missingQuoteBeforeDoctypeSystemIdentifier), n.forceQuirks = !0, this.state = N.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
10531
10531
|
}
|
|
10532
10532
|
}
|
|
10533
10533
|
// DOCTYPE system identifier (double-quoted) state
|
|
@@ -10540,15 +10540,15 @@ class G2 {
|
|
|
10540
10540
|
break;
|
|
10541
10541
|
}
|
|
10542
10542
|
case x.NULL: {
|
|
10543
|
-
this._err(
|
|
10543
|
+
this._err(Y.unexpectedNullCharacter), n.systemId += He;
|
|
10544
10544
|
break;
|
|
10545
10545
|
}
|
|
10546
10546
|
case x.GREATER_THAN_SIGN: {
|
|
10547
|
-
this._err(
|
|
10547
|
+
this._err(Y.abruptDoctypeSystemIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = N.DATA;
|
|
10548
10548
|
break;
|
|
10549
10549
|
}
|
|
10550
10550
|
case x.EOF: {
|
|
10551
|
-
this._err(
|
|
10551
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10552
10552
|
break;
|
|
10553
10553
|
}
|
|
10554
10554
|
default:
|
|
@@ -10565,15 +10565,15 @@ class G2 {
|
|
|
10565
10565
|
break;
|
|
10566
10566
|
}
|
|
10567
10567
|
case x.NULL: {
|
|
10568
|
-
this._err(
|
|
10568
|
+
this._err(Y.unexpectedNullCharacter), n.systemId += He;
|
|
10569
10569
|
break;
|
|
10570
10570
|
}
|
|
10571
10571
|
case x.GREATER_THAN_SIGN: {
|
|
10572
|
-
this._err(
|
|
10572
|
+
this._err(Y.abruptDoctypeSystemIdentifier), n.forceQuirks = !0, this.emitCurrentDoctype(n), this.state = N.DATA;
|
|
10573
10573
|
break;
|
|
10574
10574
|
}
|
|
10575
10575
|
case x.EOF: {
|
|
10576
|
-
this._err(
|
|
10576
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10577
10577
|
break;
|
|
10578
10578
|
}
|
|
10579
10579
|
default:
|
|
@@ -10595,11 +10595,11 @@ class G2 {
|
|
|
10595
10595
|
break;
|
|
10596
10596
|
}
|
|
10597
10597
|
case x.EOF: {
|
|
10598
|
-
this._err(
|
|
10598
|
+
this._err(Y.eofInDoctype), n.forceQuirks = !0, this.emitCurrentDoctype(n), this._emitEOFToken();
|
|
10599
10599
|
break;
|
|
10600
10600
|
}
|
|
10601
10601
|
default:
|
|
10602
|
-
this._err(
|
|
10602
|
+
this._err(Y.unexpectedCharacterAfterDoctypeSystemIdentifier), this.state = N.BOGUS_DOCTYPE, this._stateBogusDoctype(t);
|
|
10603
10603
|
}
|
|
10604
10604
|
}
|
|
10605
10605
|
// Bogus DOCTYPE state
|
|
@@ -10612,7 +10612,7 @@ class G2 {
|
|
|
10612
10612
|
break;
|
|
10613
10613
|
}
|
|
10614
10614
|
case x.NULL: {
|
|
10615
|
-
this._err(
|
|
10615
|
+
this._err(Y.unexpectedNullCharacter);
|
|
10616
10616
|
break;
|
|
10617
10617
|
}
|
|
10618
10618
|
case x.EOF: {
|
|
@@ -10630,7 +10630,7 @@ class G2 {
|
|
|
10630
10630
|
break;
|
|
10631
10631
|
}
|
|
10632
10632
|
case x.EOF: {
|
|
10633
|
-
this._err(
|
|
10633
|
+
this._err(Y.eofInCdata), this._emitEOFToken();
|
|
10634
10634
|
break;
|
|
10635
10635
|
}
|
|
10636
10636
|
default:
|
|
@@ -10674,7 +10674,7 @@ class G2 {
|
|
|
10674
10674
|
// Ambiguos ampersand state
|
|
10675
10675
|
//------------------------------------------------------------------
|
|
10676
10676
|
_stateAmbiguousAmpersand(t) {
|
|
10677
|
-
Dc(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === x.SEMICOLON && this._err(
|
|
10677
|
+
Dc(t) ? this._flushCodePointConsumedAsCharacterReference(t) : (t === x.SEMICOLON && this._err(Y.unknownNamedCharacterReference), this.state = this.returnState, this._callState(t));
|
|
10678
10678
|
}
|
|
10679
10679
|
}
|
|
10680
10680
|
const Bh = /* @__PURE__ */ new Set([p.DD, p.DT, p.LI, p.OPTGROUP, p.OPTION, p.P, p.RB, p.RP, p.RT, p.RTC]), Pc = /* @__PURE__ */ new Set([
|
|
@@ -12037,7 +12037,7 @@ class $c {
|
|
|
12037
12037
|
case M.IN_HEAD:
|
|
12038
12038
|
case M.IN_HEAD_NO_SCRIPT:
|
|
12039
12039
|
case M.AFTER_HEAD: {
|
|
12040
|
-
this._err(t,
|
|
12040
|
+
this._err(t, Y.misplacedDoctype);
|
|
12041
12041
|
break;
|
|
12042
12042
|
}
|
|
12043
12043
|
case M.IN_TABLE_TEXT: {
|
|
@@ -12048,7 +12048,7 @@ class $c {
|
|
|
12048
12048
|
}
|
|
12049
12049
|
/** @internal */
|
|
12050
12050
|
onStartTag(t) {
|
|
12051
|
-
this.skipNextNewLine = !1, this.currentToken = t, this._processStartTag(t), t.selfClosing && !t.ackSelfClosing && this._err(t,
|
|
12051
|
+
this.skipNextNewLine = !1, this.currentToken = t, this._processStartTag(t), t.selfClosing && !t.ackSelfClosing && this._err(t, Y.nonVoidHtmlElementStartTagWithTrailingSolidus);
|
|
12052
12052
|
}
|
|
12053
12053
|
/**
|
|
12054
12054
|
* Processes a given start tag.
|
|
@@ -12441,10 +12441,10 @@ function Ho(e, t) {
|
|
|
12441
12441
|
function RE(e, t) {
|
|
12442
12442
|
e._setDocumentType(t);
|
|
12443
12443
|
const n = t.forceQuirks ? Ht.QUIRKS : uE(t);
|
|
12444
|
-
oE(t) || e._err(t,
|
|
12444
|
+
oE(t) || e._err(t, Y.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = M.BEFORE_HTML;
|
|
12445
12445
|
}
|
|
12446
12446
|
function tl(e, t) {
|
|
12447
|
-
e._err(t,
|
|
12447
|
+
e._err(t, Y.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, Ht.QUIRKS), e.insertionMode = M.BEFORE_HTML, e._processToken(t);
|
|
12448
12448
|
}
|
|
12449
12449
|
function DE(e, t) {
|
|
12450
12450
|
t.tagID === p.HTML ? (e._insertElement(t, G.HTML), e.insertionMode = M.BEFORE_HEAD) : dl(e, t);
|
|
@@ -12472,7 +12472,7 @@ function PE(e, t) {
|
|
|
12472
12472
|
}
|
|
12473
12473
|
function BE(e, t) {
|
|
12474
12474
|
const n = t.tagID;
|
|
12475
|
-
n === p.HEAD || n === p.BODY || n === p.HTML || n === p.BR ? fl(e, t) : e._err(t,
|
|
12475
|
+
n === p.HEAD || n === p.BODY || n === p.HTML || n === p.BR ? fl(e, t) : e._err(t, Y.endTagWithoutMatchingOpenElement);
|
|
12476
12476
|
}
|
|
12477
12477
|
function fl(e, t) {
|
|
12478
12478
|
e._insertFakeElement(H.HEAD, p.HEAD), e.headElement = e.openElements.current, e.insertionMode = M.IN_HEAD, e._processToken(t);
|
|
@@ -12513,7 +12513,7 @@ function Gt(e, t) {
|
|
|
12513
12513
|
break;
|
|
12514
12514
|
}
|
|
12515
12515
|
case p.HEAD: {
|
|
12516
|
-
e._err(t,
|
|
12516
|
+
e._err(t, Y.misplacedStartTagForHeadElement);
|
|
12517
12517
|
break;
|
|
12518
12518
|
}
|
|
12519
12519
|
default:
|
|
@@ -12537,11 +12537,11 @@ function FE(e, t) {
|
|
|
12537
12537
|
break;
|
|
12538
12538
|
}
|
|
12539
12539
|
default:
|
|
12540
|
-
e._err(t,
|
|
12540
|
+
e._err(t, Y.endTagWithoutMatchingOpenElement);
|
|
12541
12541
|
}
|
|
12542
12542
|
}
|
|
12543
12543
|
function hr(e, t) {
|
|
12544
|
-
e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== p.TEMPLATE && e._err(t,
|
|
12544
|
+
e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== p.TEMPLATE && e._err(t, Y.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(p.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(t, Y.endTagWithoutMatchingOpenElement);
|
|
12545
12545
|
}
|
|
12546
12546
|
function hl(e, t) {
|
|
12547
12547
|
e.openElements.pop(), e.insertionMode = M.AFTER_HEAD, e._processToken(t);
|
|
@@ -12563,7 +12563,7 @@ function HE(e, t) {
|
|
|
12563
12563
|
break;
|
|
12564
12564
|
}
|
|
12565
12565
|
case p.NOSCRIPT: {
|
|
12566
|
-
e._err(t,
|
|
12566
|
+
e._err(t, Y.nestedNoscriptInHead);
|
|
12567
12567
|
break;
|
|
12568
12568
|
}
|
|
12569
12569
|
default:
|
|
@@ -12581,11 +12581,11 @@ function UE(e, t) {
|
|
|
12581
12581
|
break;
|
|
12582
12582
|
}
|
|
12583
12583
|
default:
|
|
12584
|
-
e._err(t,
|
|
12584
|
+
e._err(t, Y.endTagWithoutMatchingOpenElement);
|
|
12585
12585
|
}
|
|
12586
12586
|
}
|
|
12587
12587
|
function pl(e, t) {
|
|
12588
|
-
const n = t.type === Ne.EOF ?
|
|
12588
|
+
const n = t.type === Ne.EOF ? Y.openElementsLeftAfterEof : Y.disallowedContentInNoscriptInHead;
|
|
12589
12589
|
e._err(t, n), e.openElements.pop(), e.insertionMode = M.IN_HEAD, e._processToken(t);
|
|
12590
12590
|
}
|
|
12591
12591
|
function zE(e, t) {
|
|
@@ -12612,11 +12612,11 @@ function zE(e, t) {
|
|
|
12612
12612
|
case p.STYLE:
|
|
12613
12613
|
case p.TEMPLATE:
|
|
12614
12614
|
case p.TITLE: {
|
|
12615
|
-
e._err(t,
|
|
12615
|
+
e._err(t, Y.abandonedHeadElementChild), e.openElements.push(e.headElement, p.HEAD), Gt(e, t), e.openElements.remove(e.headElement);
|
|
12616
12616
|
break;
|
|
12617
12617
|
}
|
|
12618
12618
|
case p.HEAD: {
|
|
12619
|
-
e._err(t,
|
|
12619
|
+
e._err(t, Y.misplacedStartTagForHeadElement);
|
|
12620
12620
|
break;
|
|
12621
12621
|
}
|
|
12622
12622
|
default:
|
|
@@ -12636,7 +12636,7 @@ function VE(e, t) {
|
|
|
12636
12636
|
break;
|
|
12637
12637
|
}
|
|
12638
12638
|
default:
|
|
12639
|
-
e._err(t,
|
|
12639
|
+
e._err(t, Y.endTagWithoutMatchingOpenElement);
|
|
12640
12640
|
}
|
|
12641
12641
|
}
|
|
12642
12642
|
function ml(e, t) {
|
|
@@ -13156,7 +13156,7 @@ function NT(e, t) {
|
|
|
13156
13156
|
t.tagID === p.SCRIPT && ((n = e.scriptHandler) === null || n === void 0 || n.call(e, e.openElements.current)), e.openElements.pop(), e.insertionMode = e.originalInsertionMode;
|
|
13157
13157
|
}
|
|
13158
13158
|
function wT(e, t) {
|
|
13159
|
-
e._err(t,
|
|
13159
|
+
e._err(t, Y.eofInElementThatCanContainOnlyText), e.openElements.pop(), e.insertionMode = e.originalInsertionMode, e.onEof(t);
|
|
13160
13160
|
}
|
|
13161
13161
|
function Qi(e, t) {
|
|
13162
13162
|
if (e.openElements.currentTagId !== void 0 && $h.has(e.openElements.currentTagId))
|
|
@@ -15172,7 +15172,7 @@ const CC = {
|
|
|
15172
15172
|
}) => /* @__PURE__ */ v("p", { style: { margin: 0 }, children: e }), AC = ({
|
|
15173
15173
|
href: e,
|
|
15174
15174
|
children: t
|
|
15175
|
-
}) => /* @__PURE__ */
|
|
15175
|
+
}) => /* @__PURE__ */ W(
|
|
15176
15176
|
"a",
|
|
15177
15177
|
{
|
|
15178
15178
|
className: "rte-steps-tooltip-link",
|
|
@@ -15232,8 +15232,8 @@ const CC = {
|
|
|
15232
15232
|
onClick: (O) => {
|
|
15233
15233
|
O.target === O.currentTarget && r();
|
|
15234
15234
|
},
|
|
15235
|
-
children: /* @__PURE__ */
|
|
15236
|
-
/* @__PURE__ */
|
|
15235
|
+
children: /* @__PURE__ */ W("div", { className: "rte-steps-preview-stage", onClick: (O) => O.stopPropagation(), children: [
|
|
15236
|
+
/* @__PURE__ */ W("div", { className: "rte-steps-preview-header", children: [
|
|
15237
15237
|
/* @__PURE__ */ v("span", { className: "rte-steps-preview-title", children: e.title }),
|
|
15238
15238
|
/* @__PURE__ */ v(
|
|
15239
15239
|
"button",
|
|
@@ -15246,8 +15246,8 @@ const CC = {
|
|
|
15246
15246
|
}
|
|
15247
15247
|
)
|
|
15248
15248
|
] }),
|
|
15249
|
-
/* @__PURE__ */
|
|
15250
|
-
w || k ? /* @__PURE__ */
|
|
15249
|
+
/* @__PURE__ */ W("div", { className: "rte-steps-preview-body", children: [
|
|
15250
|
+
w || k ? /* @__PURE__ */ W(
|
|
15251
15251
|
"div",
|
|
15252
15252
|
{
|
|
15253
15253
|
className: "rte-steps-preview-top-row" + (!w && k ? " is-description-only" : ""),
|
|
@@ -15268,7 +15268,7 @@ const CC = {
|
|
|
15268
15268
|
]
|
|
15269
15269
|
}
|
|
15270
15270
|
) : null,
|
|
15271
|
-
/* @__PURE__ */
|
|
15271
|
+
/* @__PURE__ */ W("div", { className: "rte-steps-preview-image-wrap", children: [
|
|
15272
15272
|
y ? /* @__PURE__ */ v(
|
|
15273
15273
|
"img",
|
|
15274
15274
|
{
|
|
@@ -15277,9 +15277,9 @@ const CC = {
|
|
|
15277
15277
|
alt: `step-${g + 1}`
|
|
15278
15278
|
}
|
|
15279
15279
|
) : null,
|
|
15280
|
-
b > 0 ? /* @__PURE__ */
|
|
15280
|
+
b > 0 ? /* @__PURE__ */ W("div", { className: "rte-steps-preview-step-badge", children: [
|
|
15281
15281
|
/* @__PURE__ */ v("span", { children: "步骤" }),
|
|
15282
|
-
/* @__PURE__ */
|
|
15282
|
+
/* @__PURE__ */ W("span", { children: [
|
|
15283
15283
|
g + 1,
|
|
15284
15284
|
"/",
|
|
15285
15285
|
b
|
|
@@ -15314,7 +15314,7 @@ const CC = {
|
|
|
15314
15314
|
)) }) : null
|
|
15315
15315
|
] }),
|
|
15316
15316
|
I ? /* @__PURE__ */ v("div", { className: "rte-steps-preview-step-text", children: nd(I) }) : null,
|
|
15317
|
-
R ? /* @__PURE__ */
|
|
15317
|
+
R ? /* @__PURE__ */ W("div", { className: "rte-steps-preview-warning", children: [
|
|
15318
15318
|
/* @__PURE__ */ v(
|
|
15319
15319
|
"i",
|
|
15320
15320
|
{
|
|
@@ -15332,8 +15332,8 @@ const CC = {
|
|
|
15332
15332
|
);
|
|
15333
15333
|
}, er = ({ data: e, hidden: t }) => {
|
|
15334
15334
|
const [n, r] = J(!1);
|
|
15335
|
-
return t ? null : /* @__PURE__ */
|
|
15336
|
-
/* @__PURE__ */
|
|
15335
|
+
return t ? null : /* @__PURE__ */ W(ot, { children: [
|
|
15336
|
+
/* @__PURE__ */ W(
|
|
15337
15337
|
"span",
|
|
15338
15338
|
{
|
|
15339
15339
|
className: "rte-tutorial-btn",
|
|
@@ -15388,7 +15388,7 @@ const CC = {
|
|
|
15388
15388
|
onMouseLeave: () => i(!1)
|
|
15389
15389
|
}
|
|
15390
15390
|
);
|
|
15391
|
-
return pp(s) ? o : /* @__PURE__ */
|
|
15391
|
+
return pp(s) ? o : /* @__PURE__ */ W(ot, { children: [
|
|
15392
15392
|
o,
|
|
15393
15393
|
/* @__PURE__ */ v(Mr, { title: s, open: a, children: /* @__PURE__ */ v(
|
|
15394
15394
|
"span",
|
|
@@ -15440,7 +15440,7 @@ const CC = {
|
|
|
15440
15440
|
const S = new ResizeObserver(() => w(!0));
|
|
15441
15441
|
return S.observe(P), () => S.disconnect();
|
|
15442
15442
|
}, [w]);
|
|
15443
|
-
const T = (o ? i : s) + " ", O = /* @__PURE__ */
|
|
15443
|
+
const T = (o ? i : s) + " ", O = /* @__PURE__ */ W(
|
|
15444
15444
|
"span",
|
|
15445
15445
|
{
|
|
15446
15446
|
ref: h,
|
|
@@ -15479,11 +15479,11 @@ const CC = {
|
|
|
15479
15479
|
)
|
|
15480
15480
|
]
|
|
15481
15481
|
}
|
|
15482
|
-
), _ = c ? /* @__PURE__ */
|
|
15482
|
+
), _ = c ? /* @__PURE__ */ W(ot, { children: [
|
|
15483
15483
|
O,
|
|
15484
15484
|
/* @__PURE__ */ v(er, { data: u, hidden: o })
|
|
15485
15485
|
] }) : O;
|
|
15486
|
-
return e.required ? /* @__PURE__ */
|
|
15486
|
+
return e.required ? /* @__PURE__ */ W(
|
|
15487
15487
|
"span",
|
|
15488
15488
|
{
|
|
15489
15489
|
className: "exclusion-wrapper required-upload-group",
|
|
@@ -15541,7 +15541,7 @@ const bp = ye.memo(
|
|
|
15541
15541
|
We(() => {
|
|
15542
15542
|
u.current && f(u.current.offsetWidth);
|
|
15543
15543
|
}, [c]);
|
|
15544
|
-
const h = Math.max(24, Math.min(600, d + 2)), m = /* @__PURE__ */
|
|
15544
|
+
const h = Math.max(24, Math.min(600, d + 2)), m = /* @__PURE__ */ W(
|
|
15545
15545
|
"span",
|
|
15546
15546
|
{
|
|
15547
15547
|
className: "rte-number-input-wrap",
|
|
@@ -15588,7 +15588,7 @@ const bp = ye.memo(
|
|
|
15588
15588
|
]
|
|
15589
15589
|
}
|
|
15590
15590
|
);
|
|
15591
|
-
return e.required ? /* @__PURE__ */
|
|
15591
|
+
return e.required ? /* @__PURE__ */ W(
|
|
15592
15592
|
"span",
|
|
15593
15593
|
{
|
|
15594
15594
|
className: "exclusion-wrapper required-upload-group",
|
|
@@ -15602,7 +15602,7 @@ const bp = ye.memo(
|
|
|
15602
15602
|
}
|
|
15603
15603
|
);
|
|
15604
15604
|
bp.displayName = "NumberInputNode";
|
|
15605
|
-
const Bn = ({ node: e, children: t }) => e.required ? /* @__PURE__ */
|
|
15605
|
+
const Bn = ({ node: e, children: t }) => e.required ? /* @__PURE__ */ W(
|
|
15606
15606
|
"span",
|
|
15607
15607
|
{
|
|
15608
15608
|
className: "exclusion-wrapper required-upload-group",
|
|
@@ -22371,7 +22371,7 @@ const jo = (e) => {
|
|
|
22371
22371
|
},
|
|
22372
22372
|
[a]
|
|
22373
22373
|
);
|
|
22374
|
-
return /* @__PURE__ */ v("div", { className: "rte-report-dropdown-panel", onMouseDown: (T) => T.preventDefault(), children: u ? /* @__PURE__ */ v("div", { className: "rte-report-dropdown-loading", children: /* @__PURE__ */ v(Za, { size: "small" }) }) : d ? /* @__PURE__ */
|
|
22374
|
+
return /* @__PURE__ */ v("div", { className: "rte-report-dropdown-panel", onMouseDown: (T) => T.preventDefault(), children: u ? /* @__PURE__ */ v("div", { className: "rte-report-dropdown-loading", children: /* @__PURE__ */ v(Za, { size: "small" }) }) : d ? /* @__PURE__ */ W(ot, { children: [
|
|
22375
22375
|
d.tabs.length > 1 && /* @__PURE__ */ v("div", { className: "rte-report-dropdown-tab-outer", children: /* @__PURE__ */ v("div", { className: "rte-report-dropdown-tab-inner", children: d.tabs.map((T) => /* @__PURE__ */ v(
|
|
22376
22376
|
"div",
|
|
22377
22377
|
{
|
|
@@ -22381,7 +22381,7 @@ const jo = (e) => {
|
|
|
22381
22381
|
},
|
|
22382
22382
|
T.key
|
|
22383
22383
|
)) }) }),
|
|
22384
|
-
/* @__PURE__ */ v("div", { className: "rte-report-dropdown-list", onScroll: R, children: !I || k.length === 0 ? /* @__PURE__ */
|
|
22384
|
+
/* @__PURE__ */ v("div", { className: "rte-report-dropdown-list", onScroll: R, children: !I || k.length === 0 ? /* @__PURE__ */ W("div", { className: "rte-report-dropdown-empty", children: [
|
|
22385
22385
|
/* @__PURE__ */ v(
|
|
22386
22386
|
"img",
|
|
22387
22387
|
{
|
|
@@ -22390,7 +22390,7 @@ const jo = (e) => {
|
|
|
22390
22390
|
alt: ""
|
|
22391
22391
|
}
|
|
22392
22392
|
),
|
|
22393
|
-
/* @__PURE__ */
|
|
22393
|
+
/* @__PURE__ */ W("div", { className: "rte-report-dropdown-empty-text", children: [
|
|
22394
22394
|
/* @__PURE__ */ v("span", { className: "rte-report-dropdown-empty-label", children: s ? "未找到匹配的报告" : "暂无生成的报告" }),
|
|
22395
22395
|
l && I?.agentType !== void 0 && /* @__PURE__ */ v(
|
|
22396
22396
|
"span",
|
|
@@ -22401,7 +22401,7 @@ const jo = (e) => {
|
|
|
22401
22401
|
}
|
|
22402
22402
|
)
|
|
22403
22403
|
] })
|
|
22404
|
-
] }) : k.map((T, O) => /* @__PURE__ */
|
|
22404
|
+
] }) : k.map((T, O) => /* @__PURE__ */ W(
|
|
22405
22405
|
"div",
|
|
22406
22406
|
{
|
|
22407
22407
|
className: "rte-report-dropdown-item",
|
|
@@ -22415,7 +22415,7 @@ const jo = (e) => {
|
|
|
22415
22415
|
children: T.name
|
|
22416
22416
|
}
|
|
22417
22417
|
),
|
|
22418
|
-
/* @__PURE__ */
|
|
22418
|
+
/* @__PURE__ */ W(
|
|
22419
22419
|
"span",
|
|
22420
22420
|
{
|
|
22421
22421
|
className: "rte-report-dropdown-item-action",
|
|
@@ -22672,7 +22672,7 @@ const kp = ({
|
|
|
22672
22672
|
R ? "rte-report-name-chip" : "",
|
|
22673
22673
|
O ? "rte-variable-with-icon" : ""
|
|
22674
22674
|
].filter(Boolean).join(" ");
|
|
22675
|
-
return /* @__PURE__ */
|
|
22675
|
+
return /* @__PURE__ */ W(
|
|
22676
22676
|
"span",
|
|
22677
22677
|
{
|
|
22678
22678
|
ref: I,
|
|
@@ -22702,7 +22702,7 @@ const kp = ({
|
|
|
22702
22702
|
children: z
|
|
22703
22703
|
}
|
|
22704
22704
|
),
|
|
22705
|
-
R ? /* @__PURE__ */
|
|
22705
|
+
R ? /* @__PURE__ */ W(ot, { children: [
|
|
22706
22706
|
/* @__PURE__ */ v(
|
|
22707
22707
|
"span",
|
|
22708
22708
|
{
|
|
@@ -22921,7 +22921,7 @@ const JC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, ZC = (e) => JC.test(e), ex
|
|
|
22921
22921
|
q.stopPropagation(), !a && d(e);
|
|
22922
22922
|
},
|
|
22923
22923
|
[d, e, a]
|
|
22924
|
-
), S = y ? typeof t == "string" ? decodeURIComponent(t.split("/").pop()?.split("?")[0] || "file") : t.name : null, B = (y ? S : n) ?? "", z = y && (typeof t == "string" && ZC(t) || typeof t == "object" && t !== null && ex(t)), L = z ? /* @__PURE__ */ v("img", { className: "upload-icon-img upload-icon-preview", src: I, alt: "preview" }) : y ? /* @__PURE__ */ v("i", { className: "iconfont icon-exlwenjian" }) : /* @__PURE__ */ v("i", { className: "iconfont icon-shangchuan1" }), E = /* @__PURE__ */ v("span", { className: "upload-label", "data-file-name": B, children: B }), F = /* @__PURE__ */
|
|
22924
|
+
), S = y ? typeof t == "string" ? decodeURIComponent(t.split("/").pop()?.split("?")[0] || "file") : t.name : null, B = (y ? S : n) ?? "", z = y && (typeof t == "string" && ZC(t) || typeof t == "object" && t !== null && ex(t)), L = z ? /* @__PURE__ */ v("img", { className: "upload-icon-img upload-icon-preview", src: I, alt: "preview" }) : y ? /* @__PURE__ */ v("i", { className: "iconfont icon-exlwenjian" }) : /* @__PURE__ */ v("i", { className: "iconfont icon-shangchuan1" }), E = /* @__PURE__ */ v("span", { className: "upload-label", "data-file-name": B, children: B }), F = /* @__PURE__ */ W("span", { className: `upload-inner-wrapper${y ? " has-file" : ""}`, children: [
|
|
22925
22925
|
/* @__PURE__ */ v("span", { className: "upload-icon", children: L }),
|
|
22926
22926
|
y && B && !z ? (
|
|
22927
22927
|
// 气泡往上推 8px 拉开与 chip 的间距:已填非图片 chip 点本体=重选替换,
|
|
@@ -22954,7 +22954,7 @@ const JC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, ZC = (e) => JC.test(e), ex
|
|
|
22954
22954
|
] });
|
|
22955
22955
|
if (y) {
|
|
22956
22956
|
if (z) {
|
|
22957
|
-
const q = /* @__PURE__ */
|
|
22957
|
+
const q = /* @__PURE__ */ W(
|
|
22958
22958
|
"span",
|
|
22959
22959
|
{
|
|
22960
22960
|
className: `upload-chip${s ? " upload-chip-batch" : ""}`,
|
|
@@ -22999,7 +22999,7 @@ const JC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, ZC = (e) => JC.test(e), ex
|
|
|
22999
22999
|
}
|
|
23000
23000
|
);
|
|
23001
23001
|
}
|
|
23002
|
-
return /* @__PURE__ */
|
|
23002
|
+
return /* @__PURE__ */ W(
|
|
23003
23003
|
"span",
|
|
23004
23004
|
{
|
|
23005
23005
|
className: `upload-chip${s ? " upload-chip-batch" : ""}`,
|
|
@@ -23025,7 +23025,7 @@ const JC = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, ZC = (e) => JC.test(e), ex
|
|
|
23025
23025
|
}
|
|
23026
23026
|
);
|
|
23027
23027
|
}
|
|
23028
|
-
const $ = /* @__PURE__ */
|
|
23028
|
+
const $ = /* @__PURE__ */ W(
|
|
23029
23029
|
"button",
|
|
23030
23030
|
{
|
|
23031
23031
|
type: "button",
|
|
@@ -23163,8 +23163,8 @@ const ax = (e = Date.now()) => e - od < lx ? !1 : (od = e, !0), ix = 32, sx = (e
|
|
|
23163
23163
|
children: L
|
|
23164
23164
|
}
|
|
23165
23165
|
) : null, q = f && d ? /* @__PURE__ */ v(er, { data: d, hidden: z }) : null;
|
|
23166
|
-
return e.required ? /* @__PURE__ */
|
|
23167
|
-
/* @__PURE__ */
|
|
23166
|
+
return e.required ? /* @__PURE__ */ W("span", { className: l ? "rte-upload-error" : void 0, children: [
|
|
23167
|
+
/* @__PURE__ */ W(
|
|
23168
23168
|
"span",
|
|
23169
23169
|
{
|
|
23170
23170
|
className: "exclusion-wrapper required-upload-group",
|
|
@@ -23177,7 +23177,7 @@ const ax = (e = Date.now()) => e - od < lx ? !1 : (od = e, !0), ix = 32, sx = (e
|
|
|
23177
23177
|
),
|
|
23178
23178
|
q,
|
|
23179
23179
|
$
|
|
23180
|
-
] }) : /* @__PURE__ */
|
|
23180
|
+
] }) : /* @__PURE__ */ W("span", { className: l ? "rte-upload-error" : void 0, children: [
|
|
23181
23181
|
F,
|
|
23182
23182
|
q,
|
|
23183
23183
|
$
|
|
@@ -23230,7 +23230,7 @@ const ax = (e = Date.now()) => e - od < lx ? !1 : (od = e, !0), ix = 32, sx = (e
|
|
|
23230
23230
|
S
|
|
23231
23231
|
)
|
|
23232
23232
|
);
|
|
23233
|
-
return e.required ? /* @__PURE__ */
|
|
23233
|
+
return e.required ? /* @__PURE__ */ W(
|
|
23234
23234
|
"span",
|
|
23235
23235
|
{
|
|
23236
23236
|
className: `exclusion-wrapper required-upload-group rte-required-upload-batch${c ? " rte-batch-wrapped" : ""}${l ? " rte-upload-error" : ""}`,
|
|
@@ -23241,7 +23241,7 @@ const ax = (e = Date.now()) => e - od < lx ? !1 : (od = e, !0), ix = 32, sx = (e
|
|
|
23241
23241
|
f && d ? /* @__PURE__ */ v(er, { data: d, hidden: w > 0 }) : null
|
|
23242
23242
|
]
|
|
23243
23243
|
}
|
|
23244
|
-
) : /* @__PURE__ */
|
|
23244
|
+
) : /* @__PURE__ */ W(
|
|
23245
23245
|
"span",
|
|
23246
23246
|
{
|
|
23247
23247
|
className: `rte-upload-batch-chips${c ? " rte-batch-wrapped" : ""}${l ? " rte-upload-error" : ""}`,
|
|
@@ -23315,12 +23315,12 @@ const ud = 2 * Math.PI * 6.5, _p = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23315
23315
|
}, n.onerror = () => {
|
|
23316
23316
|
l(), t("");
|
|
23317
23317
|
};
|
|
23318
|
-
}), Ip = () => /* @__PURE__ */
|
|
23318
|
+
}), Ip = () => /* @__PURE__ */ W("svg", { className: "video-play-icon", viewBox: "0 0 16 16", width: "16", height: "16", children: [
|
|
23319
23319
|
/* @__PURE__ */ v("circle", { cx: "8", cy: "8", r: "8", fill: "rgba(0,0,0,0.5)" }),
|
|
23320
23320
|
/* @__PURE__ */ v("polygon", { points: "6.5,4.5 6.5,11.5 12,8", fill: "#fff" })
|
|
23321
23321
|
] }), Op = ({ percent: e }) => {
|
|
23322
23322
|
const t = Math.min(Math.max(e, 0), 100), n = ud * (1 - t / 100);
|
|
23323
|
-
return /* @__PURE__ */
|
|
23323
|
+
return /* @__PURE__ */ W(
|
|
23324
23324
|
"svg",
|
|
23325
23325
|
{
|
|
23326
23326
|
className: "video-upload-progress-ring",
|
|
@@ -23462,8 +23462,8 @@ const ud = 2 * Math.PI * 6.5, _p = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23462
23462
|
[e.key, r, l]
|
|
23463
23463
|
), q = (C) => {
|
|
23464
23464
|
const se = A && _ ? /* @__PURE__ */ v(er, { data: _, hidden: S }) : null;
|
|
23465
|
-
return e.required ? /* @__PURE__ */
|
|
23466
|
-
/* @__PURE__ */
|
|
23465
|
+
return e.required ? /* @__PURE__ */ W(ot, { children: [
|
|
23466
|
+
/* @__PURE__ */ W(
|
|
23467
23467
|
"span",
|
|
23468
23468
|
{
|
|
23469
23469
|
className: "exclusion-wrapper required-upload-group",
|
|
@@ -23475,7 +23475,7 @@ const ud = 2 * Math.PI * 6.5, _p = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23475
23475
|
}
|
|
23476
23476
|
),
|
|
23477
23477
|
se
|
|
23478
|
-
] }) : se ? /* @__PURE__ */
|
|
23478
|
+
] }) : se ? /* @__PURE__ */ W(ot, { children: [
|
|
23479
23479
|
C,
|
|
23480
23480
|
se
|
|
23481
23481
|
] }) : C;
|
|
@@ -23489,8 +23489,8 @@ const ud = 2 * Math.PI * 6.5, _p = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23489
23489
|
"data-key": e.key,
|
|
23490
23490
|
"data-tooltip": P || void 0,
|
|
23491
23491
|
"data-group": e.exclusionGroup,
|
|
23492
|
-
children: /* @__PURE__ */
|
|
23493
|
-
/* @__PURE__ */
|
|
23492
|
+
children: /* @__PURE__ */ W("span", { className: "video-inner-wrapper video-url-inner has-video", children: [
|
|
23493
|
+
/* @__PURE__ */ W("span", { className: "video-thumbnail-wrapper", children: [
|
|
23494
23494
|
n ? /* @__PURE__ */ v(
|
|
23495
23495
|
"img",
|
|
23496
23496
|
{
|
|
@@ -23523,8 +23523,8 @@ const ud = 2 * Math.PI * 6.5, _p = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23523
23523
|
"data-key": e.key,
|
|
23524
23524
|
"data-tooltip": P || void 0,
|
|
23525
23525
|
"data-group": e.exclusionGroup,
|
|
23526
|
-
children: /* @__PURE__ */
|
|
23527
|
-
/* @__PURE__ */
|
|
23526
|
+
children: /* @__PURE__ */ W("span", { className: "video-inner-wrapper video-upload-inner video-uploading", children: [
|
|
23527
|
+
/* @__PURE__ */ W("span", { className: "video-thumbnail-wrapper", children: [
|
|
23528
23528
|
/* @__PURE__ */ v("img", { className: "video-thumbnail", src: _p, alt: "thumbnail" }),
|
|
23529
23529
|
/* @__PURE__ */ v("span", { className: "video-thumbnail-overlay" }),
|
|
23530
23530
|
/* @__PURE__ */ v(Op, { percent: c })
|
|
@@ -23540,7 +23540,7 @@ const ud = 2 * Math.PI * 6.5, _p = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23540
23540
|
"data-key": e.key,
|
|
23541
23541
|
"data-tooltip": P || void 0,
|
|
23542
23542
|
"data-group": e.exclusionGroup,
|
|
23543
|
-
children: /* @__PURE__ */
|
|
23543
|
+
children: /* @__PURE__ */ W("span", { className: "video-inner-wrapper video-url-inner", children: [
|
|
23544
23544
|
/* @__PURE__ */ v("span", { className: "video-label", children: m || "解析失败" }),
|
|
23545
23545
|
/* @__PURE__ */ v(
|
|
23546
23546
|
"span",
|
|
@@ -23555,7 +23555,7 @@ const ud = 2 * Math.PI * 6.5, _p = "data:image/svg+xml,%3Csvg xmlns='http://www.
|
|
|
23555
23555
|
)
|
|
23556
23556
|
] })
|
|
23557
23557
|
}
|
|
23558
|
-
) : /* @__PURE__ */
|
|
23558
|
+
) : /* @__PURE__ */ W(
|
|
23559
23559
|
"span",
|
|
23560
23560
|
{
|
|
23561
23561
|
className: [
|
|
@@ -23655,8 +23655,8 @@ const bx = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", gx = 10
|
|
|
23655
23655
|
[e.key, r, l]
|
|
23656
23656
|
), B = (z) => {
|
|
23657
23657
|
const L = w && R ? /* @__PURE__ */ v(er, { data: R, hidden: O }) : null;
|
|
23658
|
-
return e.required ? /* @__PURE__ */
|
|
23659
|
-
/* @__PURE__ */
|
|
23658
|
+
return e.required ? /* @__PURE__ */ W(ot, { children: [
|
|
23659
|
+
/* @__PURE__ */ W(
|
|
23660
23660
|
"span",
|
|
23661
23661
|
{
|
|
23662
23662
|
className: "exclusion-wrapper required-upload-group",
|
|
@@ -23668,13 +23668,13 @@ const bx = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", gx = 10
|
|
|
23668
23668
|
}
|
|
23669
23669
|
),
|
|
23670
23670
|
L
|
|
23671
|
-
] }) : L ? /* @__PURE__ */
|
|
23671
|
+
] }) : L ? /* @__PURE__ */ W(ot, { children: [
|
|
23672
23672
|
z,
|
|
23673
23673
|
L
|
|
23674
23674
|
] }) : z;
|
|
23675
23675
|
};
|
|
23676
23676
|
if (O) {
|
|
23677
|
-
const z = g || "视频文件", L = /* @__PURE__ */
|
|
23677
|
+
const z = g || "视频文件", L = /* @__PURE__ */ W(
|
|
23678
23678
|
"span",
|
|
23679
23679
|
{
|
|
23680
23680
|
className: `video-chip ${s ? "rte-video-error" : ""}`,
|
|
@@ -23683,8 +23683,8 @@ const bx = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", gx = 10
|
|
|
23683
23683
|
"data-tooltip": T || void 0,
|
|
23684
23684
|
"data-group": e.exclusionGroup,
|
|
23685
23685
|
children: [
|
|
23686
|
-
/* @__PURE__ */
|
|
23687
|
-
/* @__PURE__ */
|
|
23686
|
+
/* @__PURE__ */ W("span", { className: "video-inner-wrapper video-upload-inner has-video", children: [
|
|
23687
|
+
/* @__PURE__ */ W("span", { className: "video-thumbnail-wrapper", children: [
|
|
23688
23688
|
n ? /* @__PURE__ */ v(
|
|
23689
23689
|
"img",
|
|
23690
23690
|
{
|
|
@@ -23738,8 +23738,8 @@ const bx = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", gx = 10
|
|
|
23738
23738
|
"data-key": e.key,
|
|
23739
23739
|
"data-tooltip": T || void 0,
|
|
23740
23740
|
"data-group": e.exclusionGroup,
|
|
23741
|
-
children: /* @__PURE__ */
|
|
23742
|
-
/* @__PURE__ */
|
|
23741
|
+
children: /* @__PURE__ */ W("span", { className: "video-inner-wrapper video-upload-inner video-uploading", children: [
|
|
23742
|
+
/* @__PURE__ */ W("span", { className: "video-thumbnail-wrapper", children: [
|
|
23743
23743
|
/* @__PURE__ */ v(
|
|
23744
23744
|
"img",
|
|
23745
23745
|
{
|
|
@@ -23754,7 +23754,7 @@ const bx = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", gx = 10
|
|
|
23754
23754
|
/* @__PURE__ */ v("span", { className: "video-label", children: g || "上传中..." })
|
|
23755
23755
|
] })
|
|
23756
23756
|
}
|
|
23757
|
-
) : c === "error" ? /* @__PURE__ */
|
|
23757
|
+
) : c === "error" ? /* @__PURE__ */ W(
|
|
23758
23758
|
"span",
|
|
23759
23759
|
{
|
|
23760
23760
|
className: "video-chip rte-video-error",
|
|
@@ -23763,7 +23763,7 @@ const bx = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", gx = 10
|
|
|
23763
23763
|
"data-tooltip": T || void 0,
|
|
23764
23764
|
"data-group": e.exclusionGroup,
|
|
23765
23765
|
children: [
|
|
23766
|
-
/* @__PURE__ */
|
|
23766
|
+
/* @__PURE__ */ W("span", { className: "video-inner-wrapper video-upload-inner", children: [
|
|
23767
23767
|
/* @__PURE__ */ v("span", { className: "video-label", children: I || "上传失败" }),
|
|
23768
23768
|
/* @__PURE__ */ v(
|
|
23769
23769
|
"span",
|
|
@@ -23789,7 +23789,7 @@ const bx = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", gx = 10
|
|
|
23789
23789
|
)
|
|
23790
23790
|
]
|
|
23791
23791
|
}
|
|
23792
|
-
) : /* @__PURE__ */
|
|
23792
|
+
) : /* @__PURE__ */ W(
|
|
23793
23793
|
"button",
|
|
23794
23794
|
{
|
|
23795
23795
|
type: "button",
|
|
@@ -23801,7 +23801,7 @@ const bx = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", gx = 10
|
|
|
23801
23801
|
onClick: A,
|
|
23802
23802
|
disabled: i,
|
|
23803
23803
|
children: [
|
|
23804
|
-
/* @__PURE__ */
|
|
23804
|
+
/* @__PURE__ */ W("span", { className: "video-inner-wrapper video-upload-inner", children: [
|
|
23805
23805
|
/* @__PURE__ */ v("i", { className: "iconfont icon-shangchuan1", style: { fontSize: 16 } }),
|
|
23806
23806
|
/* @__PURE__ */ v("span", { className: "video-label", children: e.text ?? "请上传想要分析的视频文件" }),
|
|
23807
23807
|
T && /* @__PURE__ */ v(
|
|
@@ -23893,7 +23893,7 @@ const yx = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23893
23893
|
},
|
|
23894
23894
|
[l]
|
|
23895
23895
|
);
|
|
23896
|
-
return /* @__PURE__ */ v("div", { className: "rte-report-dropdown-panel", onMouseDown: (w) => w.preventDefault(), children: o ? /* @__PURE__ */ v("div", { className: "rte-report-dropdown-loading", children: /* @__PURE__ */ v(Za, { size: "small" }) }) : c ? /* @__PURE__ */
|
|
23896
|
+
return /* @__PURE__ */ v("div", { className: "rte-report-dropdown-panel", onMouseDown: (w) => w.preventDefault(), children: o ? /* @__PURE__ */ v("div", { className: "rte-report-dropdown-loading", children: /* @__PURE__ */ v(Za, { size: "small" }) }) : c ? /* @__PURE__ */ W(ot, { children: [
|
|
23897
23897
|
c.tabs.length > 1 && /* @__PURE__ */ v("div", { className: "rte-report-dropdown-tab-outer", children: /* @__PURE__ */ v("div", { className: "rte-report-dropdown-tab-inner", children: c.tabs.map((w) => /* @__PURE__ */ v(
|
|
23898
23898
|
"div",
|
|
23899
23899
|
{
|
|
@@ -23903,7 +23903,7 @@ const yx = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23903
23903
|
},
|
|
23904
23904
|
w.key
|
|
23905
23905
|
)) }) }),
|
|
23906
|
-
/* @__PURE__ */ v("div", { className: "rte-report-dropdown-list", onScroll: k, children: !y || I.length === 0 ? /* @__PURE__ */
|
|
23906
|
+
/* @__PURE__ */ v("div", { className: "rte-report-dropdown-list", onScroll: k, children: !y || I.length === 0 ? /* @__PURE__ */ W("div", { className: "rte-report-dropdown-empty", children: [
|
|
23907
23907
|
/* @__PURE__ */ v(
|
|
23908
23908
|
"img",
|
|
23909
23909
|
{
|
|
@@ -23912,7 +23912,7 @@ const yx = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23912
23912
|
alt: ""
|
|
23913
23913
|
}
|
|
23914
23914
|
),
|
|
23915
|
-
/* @__PURE__ */
|
|
23915
|
+
/* @__PURE__ */ W("div", { className: "rte-report-dropdown-empty-text", children: [
|
|
23916
23916
|
/* @__PURE__ */ v("span", { className: "rte-report-dropdown-empty-label", children: i ? "未找到匹配的报告" : "暂无生成的报告" }),
|
|
23917
23917
|
r && y?.agentType !== void 0 && /* @__PURE__ */ v(
|
|
23918
23918
|
"span",
|
|
@@ -23923,7 +23923,7 @@ const yx = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23923
23923
|
}
|
|
23924
23924
|
)
|
|
23925
23925
|
] })
|
|
23926
|
-
] }) : I.map((w, T) => /* @__PURE__ */
|
|
23926
|
+
] }) : I.map((w, T) => /* @__PURE__ */ W(
|
|
23927
23927
|
"div",
|
|
23928
23928
|
{
|
|
23929
23929
|
className: "rte-report-dropdown-item",
|
|
@@ -23937,7 +23937,7 @@ const yx = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
23937
23937
|
children: w.name
|
|
23938
23938
|
}
|
|
23939
23939
|
),
|
|
23940
|
-
/* @__PURE__ */
|
|
23940
|
+
/* @__PURE__ */ W(
|
|
23941
23941
|
"span",
|
|
23942
23942
|
{
|
|
23943
23943
|
className: "rte-report-dropdown-item-action",
|
|
@@ -24097,7 +24097,7 @@ const yx = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
24097
24097
|
Ve.closest(".rte-report-chip-clear-host") || Ve.closest(".rte-report-dropdown-host") || (Oe.stopPropagation(), O ? _(!1) : L());
|
|
24098
24098
|
},
|
|
24099
24099
|
[b, c, I, O, L]
|
|
24100
|
-
), zn = /* @__PURE__ */
|
|
24100
|
+
), zn = /* @__PURE__ */ W(
|
|
24101
24101
|
"span",
|
|
24102
24102
|
{
|
|
24103
24103
|
ref: K,
|
|
@@ -24163,7 +24163,7 @@ const yx = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
|
|
|
24163
24163
|
open: O
|
|
24164
24164
|
}
|
|
24165
24165
|
) : null;
|
|
24166
|
-
return e.required ? /* @__PURE__ */ v(ot, { children: /* @__PURE__ */
|
|
24166
|
+
return e.required ? /* @__PURE__ */ v(ot, { children: /* @__PURE__ */ W(
|
|
24167
24167
|
"span",
|
|
24168
24168
|
{
|
|
24169
24169
|
className: "exclusion-wrapper required-upload-group",
|
|
@@ -24301,7 +24301,7 @@ function Fp(e, t) {
|
|
|
24301
24301
|
onBlur: g,
|
|
24302
24302
|
onPaste: y
|
|
24303
24303
|
}
|
|
24304
|
-
), A = T ? /* @__PURE__ */
|
|
24304
|
+
), A = T ? /* @__PURE__ */ W("span", { className: "rte-markdown-host", children: [
|
|
24305
24305
|
_,
|
|
24306
24306
|
/* @__PURE__ */ v(
|
|
24307
24307
|
Wr,
|
|
@@ -24312,11 +24312,11 @@ function Fp(e, t) {
|
|
|
24312
24312
|
dataVariableKey: r.key
|
|
24313
24313
|
}
|
|
24314
24314
|
)
|
|
24315
|
-
] }) : _, P = /* @__PURE__ */
|
|
24315
|
+
] }) : _, P = /* @__PURE__ */ W(ot, { children: [
|
|
24316
24316
|
A,
|
|
24317
24317
|
R ? /* @__PURE__ */ v(er, { data: R, hidden: !I }) : null
|
|
24318
24318
|
] });
|
|
24319
|
-
return r.required ? /* @__PURE__ */
|
|
24319
|
+
return r.required ? /* @__PURE__ */ W(
|
|
24320
24320
|
"span",
|
|
24321
24321
|
{
|
|
24322
24322
|
className: "exclusion-wrapper required-upload-group",
|
|
@@ -38646,7 +38646,7 @@ function Q4(e) {
|
|
|
38646
38646
|
})
|
|
38647
38647
|
];
|
|
38648
38648
|
}
|
|
38649
|
-
const X4 = ({ expanded: e, onToggle: t }) => /* @__PURE__ */
|
|
38649
|
+
const X4 = ({ expanded: e, onToggle: t }) => /* @__PURE__ */ W(
|
|
38650
38650
|
"button",
|
|
38651
38651
|
{
|
|
38652
38652
|
type: "button",
|
|
@@ -38709,7 +38709,7 @@ const X4 = ({ expanded: e, onToggle: t }) => /* @__PURE__ */ Y(
|
|
|
38709
38709
|
{
|
|
38710
38710
|
className: `rte-richtext-container ${d ? "rte-richtext-host-expanded" : ""} ${l ? "rte-richtext-error" : ""}`,
|
|
38711
38711
|
"data-key": e.key,
|
|
38712
|
-
children: /* @__PURE__ */
|
|
38712
|
+
children: /* @__PURE__ */ W("div", { className: I, style: y, children: [
|
|
38713
38713
|
/* @__PURE__ */ v(LN, { editor: b }),
|
|
38714
38714
|
c && /* @__PURE__ */ v(X4, { expanded: d, onToggle: g })
|
|
38715
38715
|
] })
|
|
@@ -39432,7 +39432,7 @@ const mw = {
|
|
|
39432
39432
|
}, M0 = ye.memo(({ options: e, onSelect: t, disabled: n, currentAgent: r }) => {
|
|
39433
39433
|
const [l, a] = J(!1), i = e.filter((u) => u.isShowNew !== 1).map((u) => ({
|
|
39434
39434
|
key: u.key,
|
|
39435
|
-
label: /* @__PURE__ */
|
|
39435
|
+
label: /* @__PURE__ */ W("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
39436
39436
|
u.icon && /* @__PURE__ */ v("i", { className: u.icon }),
|
|
39437
39437
|
/* @__PURE__ */ v("span", { children: u.label })
|
|
39438
39438
|
] }),
|
|
@@ -39448,7 +39448,7 @@ const mw = {
|
|
|
39448
39448
|
trigger: ["click"],
|
|
39449
39449
|
overlayClassName: "rte-agent-dropdown",
|
|
39450
39450
|
onOpenChange: a,
|
|
39451
|
-
children: /* @__PURE__ */
|
|
39451
|
+
children: /* @__PURE__ */ W(
|
|
39452
39452
|
"div",
|
|
39453
39453
|
{
|
|
39454
39454
|
className: o,
|
|
@@ -39463,12 +39463,16 @@ const mw = {
|
|
|
39463
39463
|
);
|
|
39464
39464
|
});
|
|
39465
39465
|
M0.displayName = "AgentDropdown";
|
|
39466
|
-
const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw = ["all", "mine", "subscribe", "system"], yw = 20,
|
|
39466
|
+
const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw = ["all", "mine", "subscribe", "system"], yw = 20, Ew = {
|
|
39467
|
+
system: "系统技能",
|
|
39468
|
+
mine: "我的技能",
|
|
39469
|
+
subscribe: "订阅技能"
|
|
39470
|
+
}, ga = "基于用户上传的抖音推广数据,智能分析高潜力商品与爆品抖音推广数据,智能分析高潜力商品与爆品商品机会", va = ["淘宝天猫", "抖音电商", "市场选品", "京东商城", "拼多多", "小红书", "快手电商", "视频号"], Tw = [
|
|
39467
39471
|
{ id: "c1", title: "抖音推广找潜力爆品", desc: ga, tags: va, badge: "system", heat: "3.5" },
|
|
39468
39472
|
{ id: "c2", title: "抖音推广找潜力爆品", desc: ga, tags: va, badge: "system", heat: "6.6" },
|
|
39469
39473
|
{ id: "c3", title: "抖音推广找潜力爆品", desc: ga, tags: va, badge: "mine" },
|
|
39470
39474
|
{ id: "c4", title: "抖音推广找潜力爆品", desc: ga, tags: va, badge: "subscribe", heat: "6.6" }
|
|
39471
|
-
],
|
|
39475
|
+
], Cw = (e) => ({
|
|
39472
39476
|
id: e.id,
|
|
39473
39477
|
title: e.title,
|
|
39474
39478
|
desc: e.desc ?? "",
|
|
@@ -39476,47 +39480,47 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39476
39480
|
tags: e.tags ?? [],
|
|
39477
39481
|
badge: e.badge ?? "system",
|
|
39478
39482
|
heat: e.heat
|
|
39479
|
-
}),
|
|
39483
|
+
}), xw = () => /* @__PURE__ */ v("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ v(
|
|
39480
39484
|
"path",
|
|
39481
39485
|
{
|
|
39482
39486
|
d: "M6.2 1a5.2 5.2 0 0 1 4.06 8.45l2.6 2.6a.6.6 0 0 1-.85.85l-2.6-2.6A5.2 5.2 0 1 1 6.2 1Zm0 1.2a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z",
|
|
39483
39487
|
fill: "#4E5969"
|
|
39484
39488
|
}
|
|
39485
|
-
) }),
|
|
39489
|
+
) }), Sw = () => /* @__PURE__ */ v("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ v("path", { d: "M5.99358 8.85714C6.27231 8.85714 6.53962 8.97003 6.73671 9.17096C6.9338 9.37189 7.04453 9.64441 7.04453 9.92857V12.9286C7.04453 13.2127 6.9338 13.4853 6.73671 13.6862C6.53962 13.8871 6.27231 14 5.99358 14H3.05094L2.94375 13.9946C2.6849 13.9676 2.4451 13.8436 2.27076 13.6467C2.09642 13.4497 1.99994 13.1939 2 12.9286V9.92857C1.99994 9.66329 2.09642 9.40742 2.27076 9.21049C2.4451 9.01355 2.6849 8.88956 2.94375 8.8625L3.05094 8.85714H5.99358ZM11.0087 8.74571C11.0323 8.68643 11.0727 8.63567 11.1247 8.59993C11.1768 8.5642 11.2381 8.54511 11.3008 8.54511C11.3636 8.54511 11.4249 8.5642 11.477 8.59993C11.529 8.63567 11.5694 8.68643 11.593 8.74571L12.1521 10.1675C12.168 10.2079 12.1917 10.2446 12.2219 10.2753C12.252 10.3061 12.288 10.3303 12.3276 10.3464L13.8021 10.9486C13.8585 10.9716 13.9072 11.0109 13.9423 11.0615C13.9773 11.1121 13.9973 11.172 13.9997 11.234C14.0022 11.2959 13.987 11.3572 13.956 11.4106C13.9251 11.4639 13.8796 11.507 13.8252 11.5346L12.3024 12.3104C12.2369 12.3438 12.1849 12.3995 12.1553 12.4679L11.5888 13.7675C11.564 13.8242 11.5236 13.8724 11.4725 13.9062C11.4214 13.94 11.3618 13.958 11.3008 13.958C11.2399 13.958 11.1803 13.94 11.1292 13.9062C11.0781 13.8724 11.0377 13.8242 11.0129 13.7675L10.4454 12.4679C10.4158 12.3995 10.3638 12.3438 10.2982 12.3104L8.77753 11.5357C8.7231 11.5081 8.67767 11.465 8.6467 11.4117C8.61574 11.3583 8.60056 11.297 8.603 11.235C8.60545 11.1731 8.62541 11.1132 8.66047 11.0626C8.69554 11.0119 8.74422 10.9727 8.80065 10.9496L10.2751 10.3475C10.3147 10.3313 10.3507 10.3071 10.3809 10.2764C10.411 10.2456 10.4348 10.209 10.4506 10.1686L11.0097 8.74679L11.0087 8.74571ZM3.05094 12.9286H5.99358V9.92857H3.05094V12.9286ZM5.99358 2C6.57371 2 7.04453 2.48 7.04453 3.07143V6.07143C7.04453 6.35559 6.9338 6.62811 6.73671 6.82904C6.53962 7.02997 6.27231 7.14286 5.99358 7.14286H3.05094L2.94375 7.1375C2.6849 7.11044 2.4451 6.98644 2.27076 6.78951C2.09642 6.59258 1.99994 6.33671 2 6.07143V3.07143C1.99994 2.80615 2.09642 2.55028 2.27076 2.35335C2.4451 2.15641 2.6849 2.03242 2.94375 2.00536L3.05094 2H5.99358ZM12.7196 2C12.9984 2 13.2657 2.11288 13.4628 2.31381C13.6598 2.51475 13.7706 2.78727 13.7706 3.07143V6.07143C13.7706 6.35559 13.6598 6.62811 13.4628 6.82904C13.2657 7.02997 12.9984 7.14286 12.7196 7.14286H9.77698L9.66873 7.1375C9.41016 7.10996 9.17075 6.98579 8.99668 6.78893C8.8226 6.59207 8.72619 6.33647 8.72604 6.07143V3.07143C8.72596 2.80632 8.82228 2.55059 8.99641 2.35368C9.17053 2.15677 9.41007 2.03266 9.66873 2.00536L9.77698 2H12.7196ZM9.77698 6.07143H12.7196V3.07143H9.77698V6.07143ZM3.05094 6.07143H5.99358V3.07143H3.05094V6.07143Z", fill: "currentColor" }) }), kw = () => /* @__PURE__ */ W("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
|
|
39486
39490
|
/* @__PURE__ */ v("path", { d: "M12.6358 2.44435C12.8831 2.19815 13.2831 2.199 13.5293 2.44624C13.7755 2.69349 13.7746 3.0935 13.5274 3.33968L3.31858 13.5054C3.07133 13.7516 2.67132 13.7508 2.42513 13.5035C2.17893 13.2563 2.17977 12.8563 2.42701 12.6101L12.6358 2.44435Z", fill: "currentColor" }),
|
|
39487
39491
|
/* @__PURE__ */ v("path", { d: "M5.27212 5.97815L4.9117 7.22356C4.85382 7.42362 4.64471 7.53887 4.44466 7.48097C4.38352 7.46327 4.32785 7.43039 4.28284 7.38538C4.23783 7.34037 4.20495 7.2847 4.18726 7.22356L3.82686 5.97814C3.76198 5.75394 3.64142 5.54982 3.47639 5.38478C3.31136 5.21975 3.10723 5.09917 2.88304 5.03429L1.6376 4.67391C1.43755 4.61602 1.3223 4.40692 1.3802 4.20687C1.39789 4.14573 1.43077 4.09006 1.47578 4.04505C1.52079 4.00004 1.57646 3.96716 1.6376 3.94946L2.88303 3.58908C3.10722 3.5242 3.31135 3.40363 3.47638 3.23859C3.64141 3.07356 3.76198 2.86943 3.82686 2.64523L4.18726 1.39981C4.24514 1.19975 4.45425 1.08451 4.65429 1.1424C4.71544 1.1601 4.77111 1.19298 4.81612 1.23799C4.86112 1.283 4.89401 1.33867 4.9117 1.39981L5.27209 2.64523C5.33696 2.86943 5.45753 3.07356 5.62257 3.2386C5.7876 3.40363 5.99173 3.5242 6.21593 3.58908L7.46135 3.94946C7.66141 4.00735 7.77666 4.21646 7.71876 4.4165C7.70107 4.47764 7.66818 4.53331 7.62318 4.57832C7.57817 4.62333 7.5225 4.65621 7.46135 4.67391L6.21593 5.03429C5.99173 5.09917 5.7876 5.21974 5.62257 5.38478C5.45753 5.54981 5.33696 5.75394 5.27209 5.97814L5.27212 5.97815ZM12.4587 10.7095L12.3937 10.934C12.3494 11.0869 12.1896 11.175 12.0368 11.1308C11.99 11.1172 11.9475 11.0921 11.9131 11.0577C11.8787 11.0233 11.8536 10.9808 11.8401 10.934L11.7751 10.7095C11.7102 10.4853 11.5896 10.2811 11.4246 10.1161C11.2596 9.95108 11.0554 9.83051 10.8312 9.76564L10.6067 9.70065C10.4538 9.65642 10.3657 9.49662 10.41 9.34376C10.4235 9.29703 10.4486 9.25448 10.483 9.22009C10.5174 9.18569 10.5599 9.16056 10.6067 9.14704L10.8312 9.08206C11.0554 9.01718 11.2596 8.89661 11.4246 8.73158C11.5896 8.56655 11.7102 8.36242 11.7751 8.13823L11.8401 7.91366C11.8843 7.76078 12.0441 7.67272 12.197 7.71694C12.2437 7.73046 12.2862 7.75559 12.3206 7.78999C12.355 7.82439 12.3801 7.86693 12.3937 7.91366L12.4587 8.13823C12.5235 8.36242 12.6441 8.56655 12.8091 8.73158C12.9742 8.89661 13.1783 9.01718 13.4025 9.08206L13.6271 9.14704C13.7799 9.19129 13.868 9.35108 13.8238 9.50394C13.8102 9.55067 13.7851 9.59321 13.7507 9.62761C13.7163 9.662 13.6738 9.68713 13.6271 9.70065L13.4025 9.76564C13.1783 9.83051 12.9742 9.95108 12.8091 10.1161C12.6441 10.2811 12.5235 10.4853 12.4587 10.7095ZM8.73493 13.6947L8.66994 13.9193C8.6257 14.0722 8.46591 14.1602 8.31305 14.116C8.26632 14.1025 8.22378 14.0774 8.18938 14.043C8.15498 14.0086 8.12986 13.966 8.11634 13.9193L8.05135 13.6947C7.98647 13.4705 7.8659 13.2664 7.70087 13.1014C7.53584 12.9363 7.33171 12.8158 7.10752 12.7509L6.88295 12.6859C6.73007 12.6417 6.64201 12.4819 6.68624 12.329C6.69976 12.2823 6.72489 12.2397 6.75928 12.2054C6.79368 12.171 6.83622 12.1458 6.88295 12.1323L7.10752 12.0673C7.33171 12.0024 7.53584 11.8819 7.70087 11.7168C7.8659 11.5518 7.98647 11.3477 8.05135 11.1235L8.11634 10.8989C8.16058 10.746 8.32037 10.658 8.47323 10.7022C8.51996 10.7157 8.5625 10.7409 8.5969 10.7753C8.6313 10.8097 8.65642 10.8522 8.66994 10.8989L8.73493 11.1235C8.7998 11.3477 8.92037 11.5518 9.08541 11.7168C9.25044 11.8819 9.45456 12.0024 9.67876 12.0673L9.90333 12.1323C10.0562 12.1766 10.1443 12.3363 10.1 12.4892C10.0865 12.5359 10.0614 12.5785 10.027 12.6129C9.9926 12.6473 9.95006 12.6724 9.90333 12.6859L9.67876 12.7509C9.45456 12.8158 9.25044 12.9363 9.08541 13.1014C8.92037 13.2664 8.7998 13.4705 8.73493 13.6947Z", fill: "currentColor" })
|
|
39488
|
-
] }),
|
|
39492
|
+
] }), Aw = () => /* @__PURE__ */ W("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
|
|
39489
39493
|
/* @__PURE__ */ v("path", { d: "M12.2 1.69995H3.8C3.2201 1.69995 2.75 2.17467 2.75 2.76025V13.3632C2.75 13.3754 2.75021 13.3875 2.75061 13.3996C2.76856 13.9361 3.21367 14.2996 3.68722 14.2996C3.86807 14.2996 4.05311 14.2465 4.22003 14.1298L7.39764 11.9084C7.5726 11.7858 7.78102 11.72 7.99466 11.7198C8.2083 11.7197 8.4168 11.7853 8.59191 11.9077L11.7803 14.1308C11.9471 14.2471 12.1318 14.3 12.3124 14.3C12.7861 14.3 13.2314 13.9362 13.2494 13.3996C13.2498 13.3875 13.25 13.3754 13.25 13.3632V2.76025C13.25 2.17467 12.7799 1.69995 12.2 1.69995ZM12.2 13.1434L9.19248 11.0464C8.83927 10.8001 8.42531 10.6699 7.99537 10.6699C7.56449 10.6698 7.14976 10.8005 6.79602 11.0478L3.8 13.1423V2.76025C3.8 2.75802 3.8 2.75322 3.80289 2.74995H12.1971C12.2 2.75322 12.2 2.75801 12.2 2.76025V13.1434Z", fill: "currentColor" }),
|
|
39490
39494
|
/* @__PURE__ */ v("path", { d: "M10.4117 6.27223H8.52499V4.36187C8.52499 4.07192 8.28994 3.83687 7.99999 3.83687C7.71004 3.83687 7.47499 4.07192 7.47499 4.36187V6.27223H5.58828C5.29833 6.27223 5.06328 6.50728 5.06328 6.79723V6.80751C5.06328 7.09746 5.29833 7.33251 5.58828 7.33251H7.47499V9.24287C7.47499 9.53282 7.71004 9.76787 7.99999 9.76787C8.28994 9.76787 8.52499 9.53282 8.52499 9.24287V7.33251H10.4117C10.7017 7.33251 10.9367 7.09746 10.9367 6.80751V6.79723C10.9367 6.50728 10.7017 6.27223 10.4117 6.27223Z", fill: "currentColor" })
|
|
39491
|
-
] }),
|
|
39495
|
+
] }), Nw = () => /* @__PURE__ */ W("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
|
|
39492
39496
|
/* @__PURE__ */ v("path", { d: "M11.8231 2.3562H4.19204C3.60373 2.36812 3.04399 2.61212 2.63483 3.03501C2.22567 3.4579 2.00026 4.02539 2.00775 4.61377V9.14983C2.00026 9.73821 2.22567 10.3057 2.63483 10.7286C3.04399 11.1515 3.60373 11.3955 4.19204 11.4074H11.8231C12.4114 11.3955 12.9711 11.1515 13.3803 10.7286C13.7895 10.3057 14.0149 9.73821 14.0074 9.14983V4.61377C14.0149 4.02539 13.7895 3.4579 13.3803 3.03501C12.9711 2.61212 12.4114 2.36812 11.8231 2.3562ZM12.9152 9.12192C12.9176 9.26764 12.8911 9.41238 12.8375 9.54789C12.7839 9.6834 12.704 9.80701 12.6026 9.91167C12.5012 10.0163 12.3802 10.1 12.2464 10.1579C12.1127 10.2157 11.9688 10.2467 11.8231 10.249H4.19204C3.89804 10.2434 3.61817 10.1218 3.41354 9.91067C3.20891 9.6995 3.09616 9.41594 3.09989 9.12192V4.61377C3.09759 4.46822 3.12403 4.32364 3.17771 4.18833C3.23139 4.05303 3.31126 3.92964 3.41272 3.82526C3.51418 3.72088 3.63525 3.63756 3.76898 3.58006C3.90272 3.52257 4.04648 3.49204 4.19204 3.49022H11.8231C12.1165 3.49572 12.3958 3.61686 12.6004 3.82727C12.8049 4.03768 12.9181 4.32034 12.9152 4.61377V9.12192Z", fill: "currentColor" }),
|
|
39493
39497
|
/* @__PURE__ */ v("path", { d: "M11.0091 13.6431H5.01099C4.862 13.6431 4.71911 13.5839 4.61376 13.4785C4.50841 13.3732 4.44922 13.2303 4.44922 13.0813C4.44922 12.9323 4.50841 12.7894 4.61376 12.6841C4.71911 12.5787 4.862 12.5195 5.01099 12.5195H11.0091C11.1581 12.5195 11.3009 12.5787 11.4063 12.6841C11.5117 12.7894 11.5708 12.9323 11.5708 13.0813C11.5708 13.2303 11.5117 13.3732 11.4063 13.4785C11.3009 13.5839 11.1581 13.6431 11.0091 13.6431Z", fill: "currentColor" })
|
|
39494
|
-
] }),
|
|
39498
|
+
] }), ww = [Sw, kw, Aw, Nw], _w = () => /* @__PURE__ */ W("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
|
|
39495
39499
|
/* @__PURE__ */ v("path", { d: "M14.365 4.88313C13.9832 4.88313 13.7286 5.13768 13.7286 5.51949V12.9649C13.7286 13.4104 13.4104 13.7286 12.965 13.7286H3.03771C2.59225 13.7286 2.27407 13.4104 2.27407 12.9649V3.03768C2.27407 2.59222 2.59225 2.27404 3.03771 2.27404H6.66498C7.0468 2.27404 7.30134 2.01949 7.30134 1.63768C7.30134 1.25586 7.0468 1.00131 6.66498 1.00131H3.03771C1.89225 1.00131 1.00134 1.89222 1.00134 3.03768V12.9649C1.00134 14.1104 1.89225 15.0013 3.03771 15.0013H12.965C14.1104 15.0013 15.0013 14.1104 15.0013 12.9649V5.51949C15.0013 5.20131 14.7468 4.88313 14.365 4.88313Z", fill: "#666666" }),
|
|
39496
39500
|
/* @__PURE__ */ v("path", { d: "M5.2637 7.55586C5.00916 7.30131 4.62734 7.30131 4.37279 7.55586C4.11825 7.8104 4.11825 8.19222 4.37279 8.44677L7.55461 11.6286C7.61825 11.6922 7.68188 11.7559 7.74552 11.7559C7.80916 11.8195 7.93643 11.8195 8.00007 11.8195C8.0637 11.8195 8.19098 11.8195 8.25461 11.7559C8.31825 11.6922 8.38188 11.6922 8.44552 11.6286L11.6273 8.44677C11.8819 8.19222 11.8819 7.8104 11.6273 7.55586C11.3728 7.30131 10.991 7.30131 10.7364 7.55586L8.63643 9.65586V8.00131C8.63643 4.81949 11.1819 2.27404 14.3637 2.27404C14.7455 2.27404 15.0001 2.01949 15.0001 1.63768C15.0001 1.25586 14.7455 1.00131 14.3637 1.00131C10.4819 1.00131 7.3637 4.11949 7.3637 8.00131V9.65586L5.2637 7.55586Z", fill: "#666666" })
|
|
39497
|
-
] }),
|
|
39501
|
+
] }), Iw = () => /* @__PURE__ */ W("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
|
|
39498
39502
|
/* @__PURE__ */ v("g", { clipPath: "url(#rte-skill-create-clip)", children: /* @__PURE__ */ v("path", { d: "M11.6295 1.6535L11.25 0.5L10.8705 1.6535C10.8155 1.82079 10.7219 1.97283 10.5974 2.09736C10.4728 2.2219 10.3208 2.31545 10.1535 2.3705L9 2.75L10.1535 3.1295C10.3208 3.18455 10.4728 3.2781 10.5974 3.40264C10.7219 3.52717 10.8155 3.67921 10.8705 3.8465L11.25 5L11.6295 3.8465C11.6845 3.67921 11.7781 3.52717 11.9026 3.40264C12.0272 3.2781 12.1792 3.18455 12.3465 3.1295L13.5 2.75L12.3465 2.3705C12.1792 2.31545 12.0272 2.2219 11.9026 2.09736C11.7781 1.97283 11.6845 1.82079 11.6295 1.6535ZM5.5 2.5L6.0725 4.24C6.31713 4.98377 6.73301 5.6597 7.28666 6.21334C7.8403 6.76699 8.51623 7.18287 9.26 7.4275L11 8L9.26 8.5725C8.51623 8.81713 7.8403 9.23301 7.28666 9.78666C6.73301 10.3403 6.31713 11.0162 6.0725 11.76L5.5 13.5L4.9275 11.76C4.68287 11.0162 4.26699 10.3403 3.71334 9.78666C3.1597 9.23301 2.48377 8.81713 1.74 8.5725L0 8L1.74 7.4275C2.48377 7.18287 3.1597 6.76699 3.71334 6.21334C4.26699 5.6597 4.68287 4.98377 4.9275 4.24L5.5 2.5ZM13.67 11.278L13.25 10L12.83 11.278C12.7493 11.5235 12.612 11.7466 12.4293 11.9293C12.2466 12.112 12.0235 12.2493 11.778 12.33L10.5 12.75L11.778 13.17C12.0235 13.2507 12.2466 13.388 12.4293 13.5707C12.612 13.7534 12.7493 13.9765 12.83 14.222L13.25 15.5L13.67 14.222C13.7507 13.9765 13.888 13.7534 14.0707 13.5707C14.2534 13.388 14.4765 13.2507 14.722 13.17L16 12.75L14.722 12.33C14.4765 12.2493 14.2534 12.112 14.0707 11.9293C13.888 11.7466 13.7507 11.5235 13.67 11.278Z", fill: "white" }) }),
|
|
39499
39503
|
/* @__PURE__ */ v("defs", { children: /* @__PURE__ */ v("clipPath", { id: "rte-skill-create-clip", children: /* @__PURE__ */ v("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
39500
|
-
] }),
|
|
39504
|
+
] }), Ow = () => /* @__PURE__ */ v("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ v("path", { d: "M9.60187 14.5546C9.23569 14.5546 8.94275 14.4081 8.6498 14.1884C8.35686 13.8955 8.13716 13.5293 8.13716 13.0899V11.6251C6.52597 11.6251 3.88948 12.0646 2.49801 13.9687C2.2783 14.3349 1.76565 14.5546 1.32623 14.6278H1.10653C0.374166 14.4813 -0.0652517 13.8222 0.00799105 13.0899C0.374166 9.94073 1.47272 7.67041 3.37683 6.13247C4.76831 5.03394 6.3795 4.44805 8.13716 4.30157V2.9101C8.13716 2.25098 8.4301 1.66509 9.01599 1.44538C9.52864 1.29892 10.1145 1.37215 10.5539 1.81157L15.241 6.57189C15.6072 6.86484 15.8269 7.30424 15.9001 7.81689C15.9734 8.32955 15.8269 8.8422 15.4607 9.20837C15.3875 9.28161 15.3143 9.42807 15.1678 9.50132L10.6272 14.1152C10.3342 14.4081 9.96804 14.5546 9.60187 14.5546ZM8.43009 10.1604H9.60187V13.0899L14.2157 8.32955L14.289 8.25631C14.3622 8.18308 14.3622 8.0366 14.3622 7.96336C14.3622 7.81689 14.289 7.74366 14.2157 7.67041L14.1425 7.59718L9.52864 2.9101V5.69306L8.50333 5.7663C6.96539 5.7663 5.50066 6.27894 4.25567 7.23101C2.79094 8.40278 1.83889 10.3069 1.54595 12.7969C3.37683 10.5266 6.5992 10.1604 8.43009 10.1604Z", fill: "currentColor" }) }), Mw = () => /* @__PURE__ */ W("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
39501
39505
|
/* @__PURE__ */ v("path", { d: "M13.85 7.35C13.4903 7.35 13.2 7.64033 13.2 8V12.3333C13.2 12.8114 12.8114 13.2 12.3333 13.2H3.66667C3.18856 13.2 2.8 12.8114 2.8 12.3333V3.66667C2.8 3.18856 3.18856 2.8 3.66667 2.8H8C8.35967 2.8 8.65 2.50967 8.65 2.15C8.65 1.79033 8.35967 1.5 8 1.5H3.23333C2.27567 1.5 1.5 2.27567 1.5 3.23333V12.7667C1.5 13.7243 2.27567 14.5 3.23333 14.5H12.7667C13.7243 14.5 14.5 13.7243 14.5 12.7667V8C14.5 7.64033 14.2097 7.35 13.85 7.35Z", fill: "currentColor" }),
|
|
39502
39506
|
/* @__PURE__ */ v("path", { d: "M5.7483 10.4682C6.00108 10.721 6.41419 10.721 6.66697 10.4682L13.7144 3.42075C13.9672 3.16797 13.9672 2.75486 13.7144 2.50208C13.4616 2.24931 13.0485 2.24931 12.7957 2.50208L5.7483 9.54808C5.49552 9.80086 5.49552 10.2154 5.7483 10.4682Z", fill: "currentColor" })
|
|
39503
|
-
] }),
|
|
39507
|
+
] }), Rw = () => /* @__PURE__ */ W("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
39504
39508
|
/* @__PURE__ */ v("path", { d: "M4.12488 5.02012H11.8779L11.1331 12.6138C11.1164 12.7828 11.0373 12.9396 10.9114 13.0536C10.7855 13.1676 10.6217 13.2307 10.4518 13.2306H5.55096C5.38127 13.2304 5.21769 13.1672 5.09198 13.0533C4.96627 12.9393 4.88739 12.7827 4.87067 12.6138L4.12488 5.02012ZM3.80233 3.74945C3.66582 3.74934 3.53081 3.77782 3.40598 3.83306C3.28116 3.8883 3.16929 3.96908 3.07757 4.07018C2.98586 4.17128 2.91634 4.29048 2.8735 4.42008C2.83065 4.54969 2.81542 4.68683 2.8288 4.82268L3.60586 12.738C3.65342 13.2208 3.87886 13.6688 4.23837 13.9947C4.59787 14.3206 5.06573 14.5012 5.55096 14.5012H10.4518C10.9371 14.5012 11.4049 14.3206 11.7644 13.9947C12.1239 13.6688 12.3494 13.2208 12.3969 12.738L13.175 4.82268C13.1883 4.68683 13.1731 4.54969 13.1303 4.42008C13.0874 4.29048 13.0179 4.17128 12.9262 4.07018C12.8345 3.96908 12.7226 3.8883 12.5978 3.83306C12.4729 3.77782 12.3379 3.74934 12.2014 3.74945H3.80135H3.80233Z", fill: "currentColor" }),
|
|
39505
39509
|
/* @__PURE__ */ v("path", { d: "M1.5 4.28322C1.5 4.11472 1.56694 3.95312 1.68608 3.83397C1.80523 3.71482 1.96683 3.64789 2.13533 3.64789H13.8646C13.948 3.64787 14.0306 3.6643 14.1077 3.69622C14.1848 3.72814 14.2549 3.77494 14.3139 3.83394C14.3729 3.89293 14.4197 3.96298 14.4516 4.04007C14.4836 4.11715 14.5 4.19978 14.5 4.28322C14.5 4.36666 14.4836 4.44929 14.4516 4.52638C14.4197 4.60347 14.3729 4.67351 14.3139 4.73251C14.2549 4.7915 14.1848 4.8383 14.1077 4.87022C14.0306 4.90214 13.948 4.91857 13.8646 4.91855H2.13533C1.96683 4.91855 1.80523 4.85162 1.68608 4.73247C1.56694 4.61332 1.5 4.45172 1.5 4.28322Z", fill: "currentColor" }),
|
|
39506
39510
|
/* @__PURE__ */ v("path", { d: "M5.02081 3.11277C5.02081 2.22135 5.74314 1.5 6.63358 1.5H9.3704C10.2618 1.5 10.9832 2.22135 10.9832 3.11277V4.92102H5.02081V3.11277ZM6.63358 2.77067C6.58866 2.77067 6.54417 2.77952 6.50266 2.79671C6.46116 2.8139 6.42345 2.8391 6.39168 2.87087C6.35991 2.90263 6.33471 2.94035 6.31752 2.98185C6.30033 3.02336 6.29148 3.06784 6.29148 3.11277V3.65036H9.7125V3.11277C9.7125 3.06784 9.70366 3.02336 9.68646 2.98185C9.66927 2.94035 9.64407 2.90263 9.61231 2.87087C9.58054 2.8391 9.54282 2.8139 9.50132 2.79671C9.45981 2.77952 9.41533 2.77067 9.3704 2.77067H6.63358Z", fill: "currentColor" })
|
|
39507
|
-
] }),
|
|
39511
|
+
] }), Dw = () => /* @__PURE__ */ v("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ v("path", { d: "M8.87301 3.52364C9.08579 3.52364 9.28984 3.60817 9.4403 3.75862C9.59075 3.90907 9.67527 4.11313 9.67527 4.3259V11.8137C9.67527 12.0265 9.59075 12.2305 9.4403 12.381C9.28984 12.5314 9.08579 12.6159 8.87301 12.6159H2.98976C2.88441 12.6159 2.78008 12.5952 2.68275 12.5549C2.58541 12.5146 2.49697 12.4555 2.42248 12.381C2.34798 12.3065 2.28889 12.218 2.24857 12.1207C2.20825 12.0234 2.1875 11.919 2.1875 11.8137V4.3259C2.1875 4.11313 2.27202 3.90907 2.42248 3.75862C2.57293 3.60817 2.77699 3.52364 2.98976 3.52364H8.87301ZM8.60559 4.59332H3.25718V11.5463H8.60559V4.59332ZM11.0102 1.38428C11.2098 1.38415 11.4022 1.45838 11.5499 1.59248C11.6977 1.72658 11.7901 1.91092 11.8093 2.10952L11.8125 2.18654V9.40315C11.8123 9.53947 11.7601 9.67059 11.6666 9.76971C11.573 9.86884 11.4451 9.92849 11.309 9.93648C11.1729 9.94447 11.0389 9.90019 10.9344 9.8127C10.8298 9.7252 10.7627 9.60109 10.7466 9.46573L10.7428 9.40315V2.45396H5.39655C5.26555 2.45394 5.13911 2.40585 5.04121 2.3188C4.94332 2.23175 4.88078 2.1118 4.86545 1.9817L4.86171 1.91912C4.86172 1.78812 4.90982 1.66168 4.99687 1.56379C5.08392 1.46589 5.20387 1.40335 5.33397 1.38802L5.39655 1.38428H11.0102Z", fill: "currentColor" }) }), Lw = () => /* @__PURE__ */ v("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ v("path", { d: "M1.5548 5.88011C1.4304 5.76419 1.26586 5.70108 1.09584 5.70408C0.925831 5.70708 0.76362 5.77595 0.643383 5.89619C0.523147 6.01643 0.454274 6.17864 0.451274 6.34865C0.448274 6.51867 0.511382 6.68321 0.627302 6.80761L5.0023 11.1826C5.12535 11.3055 5.29215 11.3745 5.46605 11.3745C5.63996 11.3745 5.80676 11.3055 5.9298 11.1826L13.3673 3.74511C13.4832 3.62071 13.5463 3.45617 13.5433 3.28615C13.5403 3.11614 13.4715 2.95393 13.3512 2.83369C13.231 2.71345 13.0688 2.64458 12.8988 2.64158C12.7287 2.63858 12.5642 2.70169 12.4398 2.81761L5.46605 9.79049L1.5548 5.87923V5.88011Z", fill: "currentColor" }) }), Pw = () => /* @__PURE__ */ v("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: /* @__PURE__ */ v("path", { d: "M9.60188 14.5546C9.23571 14.5546 8.94276 14.4081 8.64982 14.1884C8.35687 13.8955 8.13717 13.5293 8.13717 13.0899V11.6251C6.52599 11.6251 3.88949 12.0646 2.49803 13.9687C2.27831 14.3349 1.76566 14.5546 1.32625 14.6278H1.10654C0.374181 14.4813 -0.0652364 13.8222 0.00800631 13.0899C0.374181 9.94073 1.47273 7.67041 3.37685 6.13247C4.76833 5.03394 6.37951 4.44805 8.13717 4.30157V2.9101C8.13717 2.25098 8.43012 1.66509 9.01601 1.44538C9.52865 1.29892 10.1145 1.37215 10.5539 1.81157L15.241 6.57189C15.6072 6.86484 15.8269 7.30424 15.9002 7.81689C15.9734 8.32955 15.8269 8.8422 15.4607 9.20837C15.3875 9.28161 15.3143 9.42807 15.1678 9.50132L10.6272 14.1152C10.3342 14.4081 9.96806 14.5546 9.60188 14.5546ZM8.4301 10.1604H9.60188V13.0899L14.2157 8.32955L14.289 8.25631C14.3622 8.18308 14.3622 8.0366 14.3622 7.96336C14.3622 7.81689 14.289 7.74366 14.2157 7.67041L14.1425 7.59718L9.52865 2.9101V5.69306L8.50335 5.7663C6.9654 5.7663 5.50068 6.27894 4.25568 7.23101C2.79096 8.40278 1.83891 10.3069 1.54596 12.7969C3.37685 10.5266 6.59922 10.1604 8.4301 10.1604Z", fill: "#7C3AED" }) }), Bw = ({ code: e }) => {
|
|
39508
39512
|
const { message: t } = dr.useApp(), [n, r] = J(!1);
|
|
39509
|
-
return /* @__PURE__ */
|
|
39510
|
-
/* @__PURE__ */
|
|
39511
|
-
/* @__PURE__ */
|
|
39512
|
-
/* @__PURE__ */ v(
|
|
39513
|
+
return /* @__PURE__ */ W("div", { className: "rte-skill-share", onClick: (a) => a.stopPropagation(), children: [
|
|
39514
|
+
/* @__PURE__ */ W("div", { className: "rte-skill-share-head", children: [
|
|
39515
|
+
/* @__PURE__ */ W("div", { className: "rte-skill-share-title", children: [
|
|
39516
|
+
/* @__PURE__ */ v(Pw, {}),
|
|
39513
39517
|
/* @__PURE__ */ v("span", { children: "分享码" })
|
|
39514
39518
|
] }),
|
|
39515
39519
|
/* @__PURE__ */ v("span", { className: "rte-skill-share-hint", children: "复制后粘贴在「导入技能」即可使用" })
|
|
39516
39520
|
] }),
|
|
39517
|
-
/* @__PURE__ */
|
|
39521
|
+
/* @__PURE__ */ W("div", { className: "rte-skill-share-box", children: [
|
|
39518
39522
|
/* @__PURE__ */ v("span", { className: "rte-skill-share-code", children: e }),
|
|
39519
|
-
/* @__PURE__ */
|
|
39523
|
+
/* @__PURE__ */ W(
|
|
39520
39524
|
"button",
|
|
39521
39525
|
{
|
|
39522
39526
|
type: "button",
|
|
@@ -39530,14 +39534,14 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39530
39534
|
}
|
|
39531
39535
|
},
|
|
39532
39536
|
children: [
|
|
39533
|
-
n ? /* @__PURE__ */ v(
|
|
39537
|
+
n ? /* @__PURE__ */ v(Lw, {}) : /* @__PURE__ */ v(Dw, {}),
|
|
39534
39538
|
/* @__PURE__ */ v("span", { children: n ? "已复制" : "复制" })
|
|
39535
39539
|
]
|
|
39536
39540
|
}
|
|
39537
39541
|
)
|
|
39538
39542
|
] })
|
|
39539
39543
|
] });
|
|
39540
|
-
},
|
|
39544
|
+
}, Fw = ({ card: e, selected: t, onClick: n, onShare: r, onEdit: l, onDelete: a, onUse: i, getPopupContainer: s }) => {
|
|
39541
39545
|
const o = (w) => w.stopPropagation(), u = te(null), [c, d] = J(!1), f = V(() => {
|
|
39542
39546
|
const w = u.current;
|
|
39543
39547
|
w && d(w.scrollWidth > w.clientWidth);
|
|
@@ -39553,7 +39557,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39553
39557
|
g(`SK-${e.id}`);
|
|
39554
39558
|
}
|
|
39555
39559
|
};
|
|
39556
|
-
return /* @__PURE__ */
|
|
39560
|
+
return /* @__PURE__ */ W(
|
|
39557
39561
|
"div",
|
|
39558
39562
|
{
|
|
39559
39563
|
className: `rte-skill-card${t ? " rte-skill-card-selected" : ""}`,
|
|
@@ -39561,19 +39565,22 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39561
39565
|
"data-rte-skill-card": "true",
|
|
39562
39566
|
"aria-pressed": t,
|
|
39563
39567
|
children: [
|
|
39564
|
-
/* @__PURE__ */
|
|
39565
|
-
/* @__PURE__ */
|
|
39566
|
-
|
|
39567
|
-
|
|
39568
|
-
|
|
39569
|
-
|
|
39570
|
-
|
|
39571
|
-
|
|
39572
|
-
|
|
39573
|
-
|
|
39574
|
-
|
|
39575
|
-
|
|
39576
|
-
|
|
39568
|
+
/* @__PURE__ */ W("div", { className: "rte-skill-card-header", children: [
|
|
39569
|
+
/* @__PURE__ */ W("div", { className: "rte-skill-card-title-wrap", children: [
|
|
39570
|
+
/* @__PURE__ */ v(
|
|
39571
|
+
Mr,
|
|
39572
|
+
{
|
|
39573
|
+
title: c ? e.title : "",
|
|
39574
|
+
placement: "top",
|
|
39575
|
+
mouseEnterDelay: 0.3,
|
|
39576
|
+
getPopupContainer: s,
|
|
39577
|
+
zIndex: 1e4,
|
|
39578
|
+
children: /* @__PURE__ */ v("div", { className: "rte-skill-card-title", ref: u, onMouseEnter: f, children: e.title })
|
|
39579
|
+
}
|
|
39580
|
+
),
|
|
39581
|
+
/* @__PURE__ */ v("span", { className: `rte-skill-card-badge rte-skill-card-badge-${e.badge}`, children: Ew[e.badge] })
|
|
39582
|
+
] }),
|
|
39583
|
+
/* @__PURE__ */ W("div", { className: `rte-skill-card-actions${k ? " rte-skill-card-actions-pinned" : ""}`, children: [
|
|
39577
39584
|
e.badge === "mine" && /* @__PURE__ */ v(
|
|
39578
39585
|
Oa,
|
|
39579
39586
|
{
|
|
@@ -39585,7 +39592,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39585
39592
|
overlayClassName: "rte-skill-share-popover",
|
|
39586
39593
|
zIndex: 1e4,
|
|
39587
39594
|
getPopupContainer: s,
|
|
39588
|
-
content: /* @__PURE__ */ v(
|
|
39595
|
+
content: /* @__PURE__ */ v(Bw, { code: b }),
|
|
39589
39596
|
children: /* @__PURE__ */ v(
|
|
39590
39597
|
"button",
|
|
39591
39598
|
{
|
|
@@ -39594,7 +39601,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39594
39601
|
title: "分享",
|
|
39595
39602
|
"aria-label": "分享",
|
|
39596
39603
|
onClick: o,
|
|
39597
|
-
children: /* @__PURE__ */ v(
|
|
39604
|
+
children: /* @__PURE__ */ v(Ow, {})
|
|
39598
39605
|
}
|
|
39599
39606
|
)
|
|
39600
39607
|
}
|
|
@@ -39609,7 +39616,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39609
39616
|
onClick: (w) => {
|
|
39610
39617
|
o(w), l();
|
|
39611
39618
|
},
|
|
39612
|
-
children: /* @__PURE__ */ v(
|
|
39619
|
+
children: /* @__PURE__ */ v(Mw, {})
|
|
39613
39620
|
}
|
|
39614
39621
|
),
|
|
39615
39622
|
/* @__PURE__ */ v(
|
|
@@ -39641,7 +39648,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39641
39648
|
title: "删除",
|
|
39642
39649
|
"aria-label": "删除",
|
|
39643
39650
|
onClick: o,
|
|
39644
|
-
children: /* @__PURE__ */ v(
|
|
39651
|
+
children: /* @__PURE__ */ v(Rw, {})
|
|
39645
39652
|
}
|
|
39646
39653
|
)
|
|
39647
39654
|
}
|
|
@@ -39663,7 +39670,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39663
39670
|
}
|
|
39664
39671
|
);
|
|
39665
39672
|
}, R0 = ye.memo(({ selectedId: e, onSelect: t, onCardClick: n, onAction: r, skillListFetch: l, onHeaderAction: a, showCreateSkill: i = !0 }) => {
|
|
39666
|
-
const { message: s } = dr.useApp(), [o, u] = J(0), [c, d] = J(l ? [] :
|
|
39673
|
+
const { message: s } = dr.useApp(), [o, u] = J(0), [c, d] = J(l ? [] : Tw), [f, h] = J(!1), [m, b] = J(""), [g, y] = J(""), I = pr(), k = I ? () => I : void 0, R = te(0), w = te(null), T = te(0), O = V(() => {
|
|
39667
39674
|
const S = w.current;
|
|
39668
39675
|
S && (S.classList.add("is-scrolling"), window.clearTimeout(T.current), T.current = window.setTimeout(() => {
|
|
39669
39676
|
S.classList.remove("is-scrolling");
|
|
@@ -39685,7 +39692,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39685
39692
|
keyword: g || void 0
|
|
39686
39693
|
});
|
|
39687
39694
|
if (S !== R.current) return;
|
|
39688
|
-
d(B.map(
|
|
39695
|
+
d(B.map(Cw));
|
|
39689
39696
|
} catch {
|
|
39690
39697
|
S === R.current && s.error("技能列表加载失败");
|
|
39691
39698
|
} finally {
|
|
@@ -39696,7 +39703,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39696
39703
|
_();
|
|
39697
39704
|
}, [_]);
|
|
39698
39705
|
const A = (S) => {
|
|
39699
|
-
n?.({ id: S.id, title: S.title });
|
|
39706
|
+
n?.({ id: S.id, title: S.title }), t?.({ id: S.id, title: S.title, desc: S.desc || void 0, usageInstruction: S.usageInstruction });
|
|
39700
39707
|
}, P = async (S) => {
|
|
39701
39708
|
try {
|
|
39702
39709
|
await r?.("delete", { id: S.id, title: S.title });
|
|
@@ -39706,9 +39713,9 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39706
39713
|
}
|
|
39707
39714
|
e === S.id && t?.(null), l ? await _() : d((B) => B.filter((z) => z.id !== S.id)), s.success("已删除技能");
|
|
39708
39715
|
};
|
|
39709
|
-
return /* @__PURE__ */
|
|
39710
|
-
/* @__PURE__ */
|
|
39711
|
-
/* @__PURE__ */
|
|
39716
|
+
return /* @__PURE__ */ W("div", { className: "rte-skill-panel", children: [
|
|
39717
|
+
/* @__PURE__ */ W("div", { className: "rte-skill-panel-header", children: [
|
|
39718
|
+
/* @__PURE__ */ W("div", { className: "rte-skill-search", children: [
|
|
39712
39719
|
/* @__PURE__ */ v(
|
|
39713
39720
|
"input",
|
|
39714
39721
|
{
|
|
@@ -39718,23 +39725,23 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39718
39725
|
onChange: (S) => b(S.target.value)
|
|
39719
39726
|
}
|
|
39720
39727
|
),
|
|
39721
|
-
/* @__PURE__ */ v("span", { className: "rte-skill-search-icon", children: /* @__PURE__ */ v(
|
|
39728
|
+
/* @__PURE__ */ v("span", { className: "rte-skill-search-icon", children: /* @__PURE__ */ v(xw, {}) })
|
|
39722
39729
|
] }),
|
|
39723
|
-
/* @__PURE__ */
|
|
39724
|
-
/* @__PURE__ */
|
|
39725
|
-
/* @__PURE__ */ v(
|
|
39730
|
+
/* @__PURE__ */ W("div", { className: "rte-skill-actions", children: [
|
|
39731
|
+
/* @__PURE__ */ W("button", { type: "button", className: "rte-skill-import-btn", onClick: () => a?.("import"), children: [
|
|
39732
|
+
/* @__PURE__ */ v(_w, {}),
|
|
39726
39733
|
/* @__PURE__ */ v("span", { children: "导入技能" })
|
|
39727
39734
|
] }),
|
|
39728
|
-
i && /* @__PURE__ */
|
|
39729
|
-
/* @__PURE__ */ v(
|
|
39735
|
+
i && /* @__PURE__ */ W("button", { type: "button", className: "rte-skill-create-btn", onClick: () => a?.("create"), children: [
|
|
39736
|
+
/* @__PURE__ */ v(Iw, {}),
|
|
39730
39737
|
/* @__PURE__ */ v("span", { children: "基于当前会话创建技能" })
|
|
39731
39738
|
] })
|
|
39732
39739
|
] })
|
|
39733
39740
|
] }),
|
|
39734
|
-
/* @__PURE__ */
|
|
39741
|
+
/* @__PURE__ */ W("div", { className: "rte-skill-panel-body", children: [
|
|
39735
39742
|
/* @__PURE__ */ v("div", { className: "rte-skill-sidebar", children: gw.map((S, B) => {
|
|
39736
|
-
const z =
|
|
39737
|
-
return /* @__PURE__ */
|
|
39743
|
+
const z = ww[B];
|
|
39744
|
+
return /* @__PURE__ */ W(
|
|
39738
39745
|
"div",
|
|
39739
39746
|
{
|
|
39740
39747
|
className: `rte-skill-sidebar-item${B === o ? " rte-skill-sidebar-item-active" : ""}`,
|
|
@@ -39748,7 +39755,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39748
39755
|
);
|
|
39749
39756
|
}) }),
|
|
39750
39757
|
f ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: /* @__PURE__ */ v(Za, {}) }) : c.length === 0 ? /* @__PURE__ */ v("div", { className: "rte-skill-cards-status", children: "暂无技能" }) : /* @__PURE__ */ v("div", { className: "rte-skill-cards", ref: w, onScroll: O, children: c.map((S) => /* @__PURE__ */ v(
|
|
39751
|
-
|
|
39758
|
+
Fw,
|
|
39752
39759
|
{
|
|
39753
39760
|
card: S,
|
|
39754
39761
|
selected: e === S.id,
|
|
@@ -39765,7 +39772,7 @@ const gw = ["全部技能", "我的技能", "订阅技能", "系统技能"], vw
|
|
|
39765
39772
|
] });
|
|
39766
39773
|
});
|
|
39767
39774
|
R0.displayName = "SkillPanel";
|
|
39768
|
-
const ya = 4,
|
|
39775
|
+
const ya = 4, Hw = () => /* @__PURE__ */ v(
|
|
39769
39776
|
"svg",
|
|
39770
39777
|
{
|
|
39771
39778
|
width: "16",
|
|
@@ -39823,8 +39830,8 @@ const ya = 4, Fw = () => /* @__PURE__ */ v(
|
|
|
39823
39830
|
},
|
|
39824
39831
|
[n]
|
|
39825
39832
|
), _ = !!t;
|
|
39826
|
-
return /* @__PURE__ */
|
|
39827
|
-
/* @__PURE__ */
|
|
39833
|
+
return /* @__PURE__ */ W(ot, { children: [
|
|
39834
|
+
/* @__PURE__ */ W(
|
|
39828
39835
|
"div",
|
|
39829
39836
|
{
|
|
39830
39837
|
ref: y,
|
|
@@ -39834,7 +39841,7 @@ const ya = 4, Fw = () => /* @__PURE__ */ v(
|
|
|
39834
39841
|
"aria-pressed": h || _,
|
|
39835
39842
|
style: { cursor: e ? "not-allowed" : "pointer" },
|
|
39836
39843
|
children: [
|
|
39837
|
-
/* @__PURE__ */ v(
|
|
39844
|
+
/* @__PURE__ */ v(Hw, {}),
|
|
39838
39845
|
/* @__PURE__ */ v("span", { className: "rte-skill-text", children: "技能" })
|
|
39839
39846
|
]
|
|
39840
39847
|
}
|
|
@@ -39876,12 +39883,12 @@ const ya = 4, Fw = () => /* @__PURE__ */ v(
|
|
|
39876
39883
|
] });
|
|
39877
39884
|
});
|
|
39878
39885
|
D0.displayName = "SkillButton";
|
|
39879
|
-
const
|
|
39886
|
+
const Uw = 10 * 1024 * 1024, zw = 50 * 1024 * 1024, Vw = "图片大小不能超过 10MB", $w = "文件总大小不能超过 50MB", qw = (e) => e.type?.startsWith("image/") || /\.(png|jpe?g|gif|webp|bmp|svg)$/i.test(e.name || ""), Ww = (e, t) => {
|
|
39880
39887
|
let n = !1;
|
|
39881
|
-
const r = t.filter((o) =>
|
|
39888
|
+
const r = t.filter((o) => qw(o) && o.size > Uw ? (n = !0, !1) : !0), l = e.reduce((o, u) => o + u.size, 0), a = [];
|
|
39882
39889
|
let i = l, s = !1;
|
|
39883
39890
|
for (const o of r) {
|
|
39884
|
-
if (i + o.size >
|
|
39891
|
+
if (i + o.size > zw) {
|
|
39885
39892
|
s = !0;
|
|
39886
39893
|
break;
|
|
39887
39894
|
}
|
|
@@ -39893,14 +39900,14 @@ const Hw = 10 * 1024 * 1024, Uw = 50 * 1024 * 1024, zw = "图片大小不能超
|
|
|
39893
39900
|
(s) => {
|
|
39894
39901
|
const o = Array.from(s.target.files ?? []);
|
|
39895
39902
|
if (s.target.value = "", o.length === 0) return;
|
|
39896
|
-
const { accepted: u, imageOversize: c, totalExceeded: d } =
|
|
39897
|
-
c && r.error(
|
|
39903
|
+
const { accepted: u, imageOversize: c, totalExceeded: d } = Ww(e, o);
|
|
39904
|
+
c && r.error(Vw), d && r.error($w), u.length > 0 && t([...e, ...u]);
|
|
39898
39905
|
},
|
|
39899
39906
|
[e, t, r]
|
|
39900
39907
|
), i = V(() => {
|
|
39901
39908
|
n || l.current?.click();
|
|
39902
39909
|
}, [n]);
|
|
39903
|
-
return /* @__PURE__ */
|
|
39910
|
+
return /* @__PURE__ */ W("div", { className: "rte-footer-upload", children: [
|
|
39904
39911
|
/* @__PURE__ */ v(
|
|
39905
39912
|
"div",
|
|
39906
39913
|
{
|
|
@@ -39934,7 +39941,7 @@ P0.displayName = "SendButton";
|
|
|
39934
39941
|
const B0 = ye.memo(
|
|
39935
39942
|
({ currentAgent: e }) => {
|
|
39936
39943
|
const t = e?.points;
|
|
39937
|
-
return t == null ? null : /* @__PURE__ */
|
|
39944
|
+
return t == null ? null : /* @__PURE__ */ W("div", { className: "rte-points-badge", style: { position: "relative" }, children: [
|
|
39938
39945
|
/* @__PURE__ */ v(
|
|
39939
39946
|
"i",
|
|
39940
39947
|
{
|
|
@@ -39942,7 +39949,7 @@ const B0 = ye.memo(
|
|
|
39942
39949
|
style: { marginRight: "4px", fontSize: "16px" }
|
|
39943
39950
|
}
|
|
39944
39951
|
),
|
|
39945
|
-
/* @__PURE__ */
|
|
39952
|
+
/* @__PURE__ */ W("span", { style: { fontSize: "16px", lineHeight: "22px" }, children: [
|
|
39946
39953
|
"-",
|
|
39947
39954
|
String(t)
|
|
39948
39955
|
] }),
|
|
@@ -39991,9 +39998,9 @@ const F0 = ye.memo(
|
|
|
39991
39998
|
},
|
|
39992
39999
|
[i]
|
|
39993
40000
|
);
|
|
39994
|
-
return /* @__PURE__ */
|
|
39995
|
-
/* @__PURE__ */
|
|
39996
|
-
/* @__PURE__ */
|
|
40001
|
+
return /* @__PURE__ */ W("div", { className: "rich-text-editor-footer", style: { padding: w }, children: [
|
|
40002
|
+
/* @__PURE__ */ W("div", { className: "rich-text-editor-footer-left", children: [
|
|
40003
|
+
/* @__PURE__ */ W("div", { className: "rich-text-editor-brand", children: [
|
|
39997
40004
|
!u && s && s.length > 0 && /* @__PURE__ */ v(
|
|
39998
40005
|
M0,
|
|
39999
40006
|
{
|
|
@@ -40028,8 +40035,8 @@ const F0 = ye.memo(
|
|
|
40028
40035
|
}
|
|
40029
40036
|
)
|
|
40030
40037
|
] }),
|
|
40031
|
-
/* @__PURE__ */
|
|
40032
|
-
/* @__PURE__ */
|
|
40038
|
+
/* @__PURE__ */ W("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
40039
|
+
/* @__PURE__ */ W("div", { className: "rte-brand-badge", children: [
|
|
40033
40040
|
/* @__PURE__ */ v("div", { className: "rte-brand-badge", children: /* @__PURE__ */ v("img", { src: "https://oospublic.sealseek.cn/file/website/ball.png", alt: "" }) }),
|
|
40034
40041
|
/* @__PURE__ */ v("span", { className: "rte-brand-text", style: { marginLeft: "4px" }, children: "SealSeek 2.0" })
|
|
40035
40042
|
] }),
|
|
@@ -40040,12 +40047,12 @@ const F0 = ye.memo(
|
|
|
40040
40047
|
}
|
|
40041
40048
|
);
|
|
40042
40049
|
F0.displayName = "Footer";
|
|
40043
|
-
const
|
|
40050
|
+
const Yw = (e) => e < 1024 ? `${e}B` : e < 1024 * 1024 ? `${Math.round(e / 1024)}KB` : `${(e / (1024 * 1024)).toFixed(1)}MB`, jw = (e) => (e.type?.startsWith("image/") ?? !1) || /\.(png|jpe?g|gif|webp|bmp|svg)$/i.test(e.name || ""), Gw = (e) => {
|
|
40044
40051
|
const t = (e || "").split(".").pop()?.toLowerCase() || "";
|
|
40045
40052
|
return ["xls", "xla", "xlb", "xlc", "xlm", "xlsx", "xlt", "xlw", "csv", "tsv", "iif"].includes(t) ? "icon-a-xlsxcsv" : ["doc", "docx", "dot", "odt", "rtf", "wiz"].includes(t) ? "icon-docx" : ["ppt", "pptx", "pot", "ppa", "pps", "pwz"].includes(t) ? "icon-ppt" : ["txt", "asm", "bat", "c", "cc", "conf", "cpp", "css", "cxx", "def", "dic", "eml", "h", "hh", "in", "js", "ksh", "php", "pkl", "rb", "tar", "tex", "ts", "xml"].includes(t) ? "icon-txt" : t === "pdf" ? "icon-pdf" : ["html", "htm", "json", "ics", "ifb"].includes(t) ? "icon-a-htmljson" : t === "md" ? "icon-md" : "icon-lianjie";
|
|
40046
|
-
},
|
|
40047
|
-
const n =
|
|
40048
|
-
return /* @__PURE__ */
|
|
40053
|
+
}, Kw = ({ file: e, onRemove: t }) => {
|
|
40054
|
+
const n = jw(e), r = pr(), l = Np(n ? e : null);
|
|
40055
|
+
return /* @__PURE__ */ W("div", { className: "rte-footer-file-chip", children: [
|
|
40049
40056
|
n ? /* @__PURE__ */ v(
|
|
40050
40057
|
Uf,
|
|
40051
40058
|
{
|
|
@@ -40056,10 +40063,10 @@ const Ww = (e) => e < 1024 ? `${e}B` : e < 1024 * 1024 ? `${Math.round(e / 1024)
|
|
|
40056
40063
|
alt: e.name,
|
|
40057
40064
|
preview: r ? { getContainer: () => r } : void 0
|
|
40058
40065
|
}
|
|
40059
|
-
) : /* @__PURE__ */ v("div", { className: "rte-footer-file-icon", children: /* @__PURE__ */ v("svg", { style: { width: "18px", height: "18px" }, "aria-hidden": "true", children: /* @__PURE__ */ v("use", { xlinkHref: `#${
|
|
40060
|
-
/* @__PURE__ */
|
|
40066
|
+
) : /* @__PURE__ */ v("div", { className: "rte-footer-file-icon", children: /* @__PURE__ */ v("svg", { style: { width: "18px", height: "18px" }, "aria-hidden": "true", children: /* @__PURE__ */ v("use", { xlinkHref: `#${Gw(e.name)}` }) }) }),
|
|
40067
|
+
/* @__PURE__ */ W("div", { className: "rte-footer-file-info", children: [
|
|
40061
40068
|
/* @__PURE__ */ v("span", { className: "rte-footer-file-name", title: e.name, children: e.name }),
|
|
40062
|
-
/* @__PURE__ */ v("span", { className: "rte-footer-file-size", children:
|
|
40069
|
+
/* @__PURE__ */ v("span", { className: "rte-footer-file-size", children: Yw(e.size) })
|
|
40063
40070
|
] }),
|
|
40064
40071
|
/* @__PURE__ */ v(
|
|
40065
40072
|
"span",
|
|
@@ -40102,7 +40109,7 @@ const Ww = (e) => e < 1024 ? `${e}B` : e < 1024 * 1024 ? `${Math.round(e / 1024)
|
|
|
40102
40109
|
(o) => () => t(e.filter((u, c) => c !== o)),
|
|
40103
40110
|
[e, t]
|
|
40104
40111
|
);
|
|
40105
|
-
return e.length === 0 ? null : /* @__PURE__ */
|
|
40112
|
+
return e.length === 0 ? null : /* @__PURE__ */ W("div", { className: "rte-footer-files-wrapper", children: [
|
|
40106
40113
|
r.showLeft && /* @__PURE__ */ v("div", { className: "rte-footer-files-mask rte-footer-files-mask-left", children: /* @__PURE__ */ v(
|
|
40107
40114
|
"span",
|
|
40108
40115
|
{
|
|
@@ -40111,7 +40118,7 @@ const Ww = (e) => e < 1024 ? `${e}B` : e < 1024 * 1024 ? `${Math.round(e / 1024)
|
|
|
40111
40118
|
children: /* @__PURE__ */ v("svg", { style: { width: "16px", height: "16px", transform: "rotate(180deg)" }, "aria-hidden": "true", children: /* @__PURE__ */ v("use", { xlinkHref: "#icon-fanhuijiantou" }) })
|
|
40112
40119
|
}
|
|
40113
40120
|
) }),
|
|
40114
|
-
/* @__PURE__ */ v("div", { className: "rte-footer-files-list", ref: n, onScroll: a, children: e.map((o, u) => /* @__PURE__ */ v(
|
|
40121
|
+
/* @__PURE__ */ v("div", { className: "rte-footer-files-list", ref: n, onScroll: a, children: e.map((o, u) => /* @__PURE__ */ v(Kw, { file: o, onRemove: s(u) }, `${o.name}-${o.size}-${u}`)) }),
|
|
40115
40122
|
r.showRight && /* @__PURE__ */ v("div", { className: "rte-footer-files-mask rte-footer-files-mask-right", children: /* @__PURE__ */ v(
|
|
40116
40123
|
"span",
|
|
40117
40124
|
{
|
|
@@ -40123,10 +40130,10 @@ const Ww = (e) => e < 1024 ? `${e}B` : e < 1024 * 1024 ? `${Math.round(e / 1024)
|
|
|
40123
40130
|
] });
|
|
40124
40131
|
});
|
|
40125
40132
|
H0.displayName = "FooterFilesList";
|
|
40126
|
-
const Pf = 9999,
|
|
40133
|
+
const Pf = 9999, Qw = ({ messageRef: e }) => {
|
|
40127
40134
|
const { message: t } = dr.useApp();
|
|
40128
40135
|
return e.current = t, null;
|
|
40129
|
-
},
|
|
40136
|
+
}, x5 = (e) => {
|
|
40130
40137
|
const {
|
|
40131
40138
|
config: t,
|
|
40132
40139
|
onSend: n,
|
|
@@ -40698,10 +40705,10 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40698
40705
|
},
|
|
40699
40706
|
[Uu, t, ut]
|
|
40700
40707
|
);
|
|
40701
|
-
return /* @__PURE__ */ v(gb, { getPopupContainer: Vn, children: /* @__PURE__ */
|
|
40702
|
-
/* @__PURE__ */ v(
|
|
40703
|
-
/* @__PURE__ */
|
|
40704
|
-
/* @__PURE__ */
|
|
40708
|
+
return /* @__PURE__ */ v(gb, { getPopupContainer: Vn, children: /* @__PURE__ */ W(dr, { component: !1, message: { getContainer: () => Pt ?? document.body }, children: [
|
|
40709
|
+
/* @__PURE__ */ v(Qw, { messageRef: an }),
|
|
40710
|
+
/* @__PURE__ */ W(hp.Provider, { value: Pt, children: [
|
|
40711
|
+
/* @__PURE__ */ W(
|
|
40705
40712
|
"div",
|
|
40706
40713
|
{
|
|
40707
40714
|
className: `rich-text-editor ${Qe ? "rte-richtext-container-expanded" : ""} ${y ?? ""}`,
|
|
@@ -40710,7 +40717,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40710
40717
|
onPaste: ib,
|
|
40711
40718
|
children: [
|
|
40712
40719
|
/* @__PURE__ */ v(H0, { files: ut, onChange: mn }),
|
|
40713
|
-
t.length === 0 ? /* @__PURE__ */
|
|
40720
|
+
t.length === 0 ? /* @__PURE__ */ W(
|
|
40714
40721
|
"div",
|
|
40715
40722
|
{
|
|
40716
40723
|
ref: br,
|
|
@@ -40822,12 +40829,12 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40822
40829
|
/* @__PURE__ */ v("div", { className: "rte-popup-host", ref: qt })
|
|
40823
40830
|
] })
|
|
40824
40831
|
] }) });
|
|
40825
|
-
}, Bf = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgB3ZTtccIwDIaVXv83I2SDZgSP0BHMBG0naEZhA2boBGQDswHdQJUOGRxjO0Z8HPDe6eJzJD2W4gjgEYSIn2xwK6EIFHqBGysJpMP3ZB0oRbEtmal1NtIxl4OWWsoxEsvqofJ0rgTNASOYq+7SXKDsuYvAcgkq/PWwBLQWqIfdjeRStaBUc4qzgLi9/BzJNmS/sh6bpvmrTfSFacU3scWy1mQryWdSnXiFE8QVUJINLTuyhWzzz/1OZmTN9hEckqtfUOwIGlGCpVRjE+94JFqpMtTeVzO8/UmPxpZU8Qa7aln8Tb9pfwla4WHWrjPvvbbnTBsX7PmLs83EDAH0BxSw1G31+/1FoDg/vPcXR+wocQS1apj4+P92FfhOoLyuBfYlmPgYnGoCjWADzAkzUyJ430awLmphPaxWQVU22BuuApPkHaanjcXSN3t6/QNjTMSJWDcs1QAAAABJRU5ErkJggg==",
|
|
40832
|
+
}, Bf = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgB3ZTtccIwDIaVXv83I2SDZgSP0BHMBG0naEZhA2boBGQDswHdQJUOGRxjO0Z8HPDe6eJzJD2W4gjgEYSIn2xwK6EIFHqBGysJpMP3ZB0oRbEtmal1NtIxl4OWWsoxEsvqofJ0rgTNASOYq+7SXKDsuYvAcgkq/PWwBLQWqIfdjeRStaBUc4qzgLi9/BzJNmS/sh6bpvmrTfSFacU3scWy1mQryWdSnXiFE8QVUJINLTuyhWzzz/1OZmTN9hEckqtfUOwIGlGCpVRjE+94JFqpMtTeVzO8/UmPxpZU8Qa7aln8Tb9pfwla4WHWrjPvvbbnTBsX7PmLs83EDAH0BxSw1G31+/1FoDg/vPcXR+wocQS1apj4+P92FfhOoLyuBfYlmPgYnGoCjWADzAkzUyJ430awLmphPaxWQVU22BuuApPkHaanjcXSN3t6/QNjTMSJWDcs1QAAAABJRU5ErkJggg==", Xw = [
|
|
40826
40833
|
{ label: "5页", value: 5 },
|
|
40827
40834
|
{ label: "10页", value: 10 },
|
|
40828
40835
|
{ label: "15页", value: 15 },
|
|
40829
40836
|
{ label: "30页", value: 30 }
|
|
40830
|
-
],
|
|
40837
|
+
], Jw = ({
|
|
40831
40838
|
autoLoading: e,
|
|
40832
40839
|
batchSize: t,
|
|
40833
40840
|
loadingProgress: n,
|
|
@@ -40836,9 +40843,9 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40836
40843
|
onLoadNextPage: a,
|
|
40837
40844
|
onStartAutoLoad: i,
|
|
40838
40845
|
onStopLoad: s
|
|
40839
|
-
}) => e && n ? /* @__PURE__ */
|
|
40846
|
+
}) => e && n ? /* @__PURE__ */ W("div", { className: "auto_load_progress", children: [
|
|
40840
40847
|
r || /* @__PURE__ */ v("img", { src: Bf, alt: "自动加载", width: 14, height: 14 }),
|
|
40841
|
-
/* @__PURE__ */
|
|
40848
|
+
/* @__PURE__ */ W("span", { children: [
|
|
40842
40849
|
"正在加载第",
|
|
40843
40850
|
n.currentPage,
|
|
40844
40851
|
"/",
|
|
@@ -40854,7 +40861,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40854
40861
|
}
|
|
40855
40862
|
),
|
|
40856
40863
|
/* @__PURE__ */ v("span", { onClick: s, className: "auto_load_stop_btn", children: "停止加载" })
|
|
40857
|
-
] }) : /* @__PURE__ */
|
|
40864
|
+
] }) : /* @__PURE__ */ W("div", { className: "auto_load_container", children: [
|
|
40858
40865
|
/* @__PURE__ */ v(
|
|
40859
40866
|
"div",
|
|
40860
40867
|
{
|
|
@@ -40866,7 +40873,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40866
40873
|
children: "加载下一页"
|
|
40867
40874
|
}
|
|
40868
40875
|
),
|
|
40869
|
-
/* @__PURE__ */
|
|
40876
|
+
/* @__PURE__ */ W(
|
|
40870
40877
|
"div",
|
|
40871
40878
|
{
|
|
40872
40879
|
className: "right_control_wrap",
|
|
@@ -40874,7 +40881,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40874
40881
|
backgroundColor: e ? "#f5f5f5" : "#2563eb"
|
|
40875
40882
|
},
|
|
40876
40883
|
children: [
|
|
40877
|
-
/* @__PURE__ */
|
|
40884
|
+
/* @__PURE__ */ W(
|
|
40878
40885
|
"div",
|
|
40879
40886
|
{
|
|
40880
40887
|
className: "auto_load_btn",
|
|
@@ -40890,7 +40897,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40890
40897
|
{
|
|
40891
40898
|
value: t,
|
|
40892
40899
|
onChange: l,
|
|
40893
|
-
options:
|
|
40900
|
+
options: Xw,
|
|
40894
40901
|
disabled: e,
|
|
40895
40902
|
size: "small",
|
|
40896
40903
|
className: "auto_load_select",
|
|
@@ -40900,7 +40907,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40900
40907
|
]
|
|
40901
40908
|
}
|
|
40902
40909
|
)
|
|
40903
|
-
] }),
|
|
40910
|
+
] }), Zw = ({
|
|
40904
40911
|
current: e,
|
|
40905
40912
|
loadIcon: t,
|
|
40906
40913
|
pageSize: n,
|
|
@@ -40918,9 +40925,9 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40918
40925
|
{ length: m },
|
|
40919
40926
|
(k, R) => R + 1
|
|
40920
40927
|
).filter((k) => !l.includes(k)).slice(0, f);
|
|
40921
|
-
return /* @__PURE__ */
|
|
40922
|
-
/* @__PURE__ */
|
|
40923
|
-
/* @__PURE__ */
|
|
40928
|
+
return /* @__PURE__ */ W("div", { className: "pagination_footer", children: [
|
|
40929
|
+
/* @__PURE__ */ W("div", { className: "pagination_leftWrap", children: [
|
|
40930
|
+
/* @__PURE__ */ W("span", { className: "pagination_total", children: [
|
|
40924
40931
|
/* @__PURE__ */ v(
|
|
40925
40932
|
kb,
|
|
40926
40933
|
{
|
|
@@ -40934,7 +40941,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40934
40941
|
"条数据"
|
|
40935
40942
|
] }),
|
|
40936
40943
|
!b && /* @__PURE__ */ v(
|
|
40937
|
-
|
|
40944
|
+
Jw,
|
|
40938
40945
|
{
|
|
40939
40946
|
loadIcon: t || void 0,
|
|
40940
40947
|
autoLoading: i,
|
|
@@ -40963,7 +40970,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40963
40970
|
showTotal: () => "",
|
|
40964
40971
|
itemRender: (I, k, R) => {
|
|
40965
40972
|
const w = l.includes(I);
|
|
40966
|
-
return k === "prev" || k === "next" || k === "jump-prev" || k === "jump-next" ? /* @__PURE__ */ v("div", { className: "pageBox", children: R }) : /* @__PURE__ */
|
|
40973
|
+
return k === "prev" || k === "next" || k === "jump-prev" || k === "jump-next" ? /* @__PURE__ */ v("div", { className: "pageBox", children: R }) : /* @__PURE__ */ W(
|
|
40967
40974
|
"div",
|
|
40968
40975
|
{
|
|
40969
40976
|
className: "pageBox",
|
|
@@ -40981,7 +40988,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
40981
40988
|
}
|
|
40982
40989
|
)
|
|
40983
40990
|
] });
|
|
40984
|
-
},
|
|
40991
|
+
}, e5 = (e) => {
|
|
40985
40992
|
const {
|
|
40986
40993
|
loading: t,
|
|
40987
40994
|
autoLoading: n,
|
|
@@ -41005,7 +41012,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
41005
41012
|
},
|
|
41006
41013
|
[u, c, o]
|
|
41007
41014
|
);
|
|
41008
|
-
return /* @__PURE__ */
|
|
41015
|
+
return /* @__PURE__ */ W("div", { className: "flex flex-col", children: [
|
|
41009
41016
|
/* @__PURE__ */ v(
|
|
41010
41017
|
yo,
|
|
41011
41018
|
{
|
|
@@ -41018,7 +41025,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
41018
41025
|
}
|
|
41019
41026
|
),
|
|
41020
41027
|
/* @__PURE__ */ v(
|
|
41021
|
-
|
|
41028
|
+
Zw,
|
|
41022
41029
|
{
|
|
41023
41030
|
loading: t,
|
|
41024
41031
|
autoLoading: n,
|
|
@@ -41036,7 +41043,7 @@ const Pf = 9999, Kw = ({ messageRef: e }) => {
|
|
|
41036
41043
|
)
|
|
41037
41044
|
] });
|
|
41038
41045
|
};
|
|
41039
|
-
|
|
41046
|
+
e5.__docgenInfo = {
|
|
41040
41047
|
displayName: "VirtualTable",
|
|
41041
41048
|
description: "虚拟滚动表格组件,支持分页、数据缓存和自动加载功能。",
|
|
41042
41049
|
props: {
|
|
@@ -41143,7 +41150,7 @@ Zw.__docgenInfo = {
|
|
|
41143
41150
|
}
|
|
41144
41151
|
}
|
|
41145
41152
|
};
|
|
41146
|
-
const
|
|
41153
|
+
const t5 = ({
|
|
41147
41154
|
texts: e = [],
|
|
41148
41155
|
placeholder: t = "请输入内容",
|
|
41149
41156
|
animationSpeed: n = 100,
|
|
@@ -41189,7 +41196,7 @@ const e5 = ({
|
|
|
41189
41196
|
y.current && window.clearTimeout(y.current), I.current && window.clearTimeout(I.current);
|
|
41190
41197
|
}), [u, h, r, e.length, A]), ge(() => {
|
|
41191
41198
|
!d && r && e.length > 0 && !h && A();
|
|
41192
|
-
}, [u, d, r, e.length, h, A]), /* @__PURE__ */
|
|
41199
|
+
}, [u, d, r, e.length, h, A]), /* @__PURE__ */ W("div", { style: { position: "relative" }, children: [
|
|
41193
41200
|
/* @__PURE__ */ v(
|
|
41194
41201
|
Eo,
|
|
41195
41202
|
{
|
|
@@ -41213,7 +41220,7 @@ const e5 = ({
|
|
|
41213
41220
|
}
|
|
41214
41221
|
}
|
|
41215
41222
|
),
|
|
41216
|
-
!h && !l && s && /* @__PURE__ */
|
|
41223
|
+
!h && !l && s && /* @__PURE__ */ W(
|
|
41217
41224
|
"div",
|
|
41218
41225
|
{
|
|
41219
41226
|
style: {
|
|
@@ -41258,7 +41265,7 @@ const e5 = ({
|
|
|
41258
41265
|
` })
|
|
41259
41266
|
] });
|
|
41260
41267
|
};
|
|
41261
|
-
|
|
41268
|
+
t5.__docgenInfo = {
|
|
41262
41269
|
displayName: "DynamicInput",
|
|
41263
41270
|
description: "动态文案输入框组件,支持流式文字动画效果",
|
|
41264
41271
|
props: {
|
|
@@ -41303,7 +41310,7 @@ e5.__docgenInfo = {
|
|
|
41303
41310
|
}
|
|
41304
41311
|
}
|
|
41305
41312
|
};
|
|
41306
|
-
const
|
|
41313
|
+
const n5 = ({
|
|
41307
41314
|
texts: e = [],
|
|
41308
41315
|
// 动态文案数组,默认为空数组
|
|
41309
41316
|
placeholder: t = "请输入内容",
|
|
@@ -41384,8 +41391,8 @@ const t5 = ({
|
|
|
41384
41391
|
}, be = (fe) => {
|
|
41385
41392
|
(fe.ctrlKey || fe.metaKey) && fe.key === "Enter" && (fe.preventDefault(), D()), h.onKeyDown?.(fe);
|
|
41386
41393
|
}, Ie = a ? l : _, we = c || !Ie.trim() || (s ? Ie.length > s : !1);
|
|
41387
|
-
return /* @__PURE__ */
|
|
41388
|
-
/* @__PURE__ */
|
|
41394
|
+
return /* @__PURE__ */ W("div", { style: { position: "relative", ...f }, children: [
|
|
41395
|
+
/* @__PURE__ */ W("div", { style: { position: "relative" }, children: [
|
|
41389
41396
|
/* @__PURE__ */ v(
|
|
41390
41397
|
"textarea",
|
|
41391
41398
|
{
|
|
@@ -41423,7 +41430,7 @@ const t5 = ({
|
|
|
41423
41430
|
...h
|
|
41424
41431
|
}
|
|
41425
41432
|
),
|
|
41426
|
-
!R && !Ie && m && /* @__PURE__ */
|
|
41433
|
+
!R && !Ie && m && /* @__PURE__ */ W(
|
|
41427
41434
|
"div",
|
|
41428
41435
|
{
|
|
41429
41436
|
style: {
|
|
@@ -41493,7 +41500,7 @@ const t5 = ({
|
|
|
41493
41500
|
}
|
|
41494
41501
|
)
|
|
41495
41502
|
] }),
|
|
41496
|
-
o && /* @__PURE__ */
|
|
41503
|
+
o && /* @__PURE__ */ W(
|
|
41497
41504
|
"div",
|
|
41498
41505
|
{
|
|
41499
41506
|
style: {
|
|
@@ -41517,7 +41524,7 @@ const t5 = ({
|
|
|
41517
41524
|
` })
|
|
41518
41525
|
] });
|
|
41519
41526
|
};
|
|
41520
|
-
|
|
41527
|
+
n5.__docgenInfo = {
|
|
41521
41528
|
displayName: "DynamicTextArea",
|
|
41522
41529
|
description: "动态文案文本域组件,支持流式文字动画效果",
|
|
41523
41530
|
props: {
|
|
@@ -41663,7 +41670,7 @@ const U0 = ({
|
|
|
41663
41670
|
onMouseEnter: P,
|
|
41664
41671
|
onMouseLeave: S,
|
|
41665
41672
|
onClick: F,
|
|
41666
|
-
children: /* @__PURE__ */
|
|
41673
|
+
children: /* @__PURE__ */ W("div", { className: "video-card-container", children: [
|
|
41667
41674
|
/* @__PURE__ */ v(
|
|
41668
41675
|
"video",
|
|
41669
41676
|
{
|
|
@@ -41793,7 +41800,7 @@ U0.__docgenInfo = {
|
|
|
41793
41800
|
}
|
|
41794
41801
|
}
|
|
41795
41802
|
};
|
|
41796
|
-
const
|
|
41803
|
+
const r5 = (e) => [".mp4", ".webm", ".ogg", ".mov", ".avi", ".wmv", ".flv", ".mkv"].some((n) => e.toLowerCase().includes(n)), l5 = (e) => e.type ? e.type : r5(e.url) ? "video" : "image", a5 = ({
|
|
41797
41804
|
items: e,
|
|
41798
41805
|
columns: t,
|
|
41799
41806
|
gap: n = 0,
|
|
@@ -41856,7 +41863,7 @@ const n5 = (e) => [".mp4", ".webm", ".ogg", ".mov", ".avi", ".wmv", ".flv", ".mk
|
|
|
41856
41863
|
...i
|
|
41857
41864
|
},
|
|
41858
41865
|
children: e.map((g, y) => {
|
|
41859
|
-
const I = g.id || y, k =
|
|
41866
|
+
const I = g.id || y, k = l5(g);
|
|
41860
41867
|
return /* @__PURE__ */ v(
|
|
41861
41868
|
"div",
|
|
41862
41869
|
{
|
|
@@ -41907,7 +41914,7 @@ const n5 = (e) => [".mp4", ".webm", ".ogg", ".mov", ".avi", ".wmv", ".flv", ".mk
|
|
|
41907
41914
|
}
|
|
41908
41915
|
);
|
|
41909
41916
|
};
|
|
41910
|
-
|
|
41917
|
+
a5.__docgenInfo = {
|
|
41911
41918
|
displayName: "Waterfall",
|
|
41912
41919
|
description: "瀑布流布局组件,支持图片和视频混合展示",
|
|
41913
41920
|
props: {
|
|
@@ -42024,7 +42031,7 @@ const Ea = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
42024
42031
|
旺旺咨询量: "wangwangConsultationCount",
|
|
42025
42032
|
自然流量转化金额: "organicTrafficAmount",
|
|
42026
42033
|
自然流量曝光量: "organicTrafficImpressions"
|
|
42027
|
-
},
|
|
42034
|
+
}, i5 = [
|
|
42028
42035
|
"日期",
|
|
42029
42036
|
"展现量",
|
|
42030
42037
|
"点击量",
|
|
@@ -42085,7 +42092,7 @@ const Ea = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
42085
42092
|
"成交新客占比",
|
|
42086
42093
|
"自然流量转化金额",
|
|
42087
42094
|
"自然流量曝光量"
|
|
42088
|
-
], ol = (e) => Tl[e] ?? e,
|
|
42095
|
+
], ol = (e) => Tl[e] ?? e, s5 = (e) => e ? !!(Tl[e] !== void 0 || e.length <= 20 && /[\u4e00-\u9fff]/.test(e)) : !1, o5 = (e) => {
|
|
42089
42096
|
const t = e.trim();
|
|
42090
42097
|
if (!t) return [];
|
|
42091
42098
|
const n = t.split(/[\r\n]+/).map((i) => i.trim()).filter(Boolean);
|
|
@@ -42102,28 +42109,28 @@ const Ea = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
42102
42109
|
const s = i.some((o) => Tl[o] !== void 0);
|
|
42103
42110
|
return i.length >= 2 && s ? i : [];
|
|
42104
42111
|
}
|
|
42105
|
-
const l = n.filter(
|
|
42112
|
+
const l = n.filter(s5);
|
|
42106
42113
|
return l.some((i) => Tl[i] !== void 0) && l.length >= 2 && l.length / n.length >= 0.5 ? l : [];
|
|
42107
|
-
},
|
|
42114
|
+
}, u5 = (e) => {
|
|
42108
42115
|
if (!e || e.trim() === "") return "";
|
|
42109
42116
|
const t = e.trim();
|
|
42110
42117
|
if (t.toLowerCase() === "nan") return "NaN";
|
|
42111
42118
|
const n = t.match(/^(.+?)([+-]\d)/);
|
|
42112
42119
|
return n ? n[1].trim() : t;
|
|
42113
|
-
},
|
|
42120
|
+
}, c5 = (e) => e.replace(/[\u00a0\u3000]/g, " ").replace(/[–—]/g, "-").replace(/%(\d)/g, "% $1").replace(/NaN(\d)/gi, "NaN $1").replace(/(\.\d+)(\d,\d{3})/g, "$1 $2").replace(/(\.\d+)(\d+\.)/g, "$1 $2").replace(/(\.\d{2})(\d+[+-]\d+\.?\d*%)/g, "$1 $2").replace(/(,\d{3})(\d+[+-]\d+\.?\d*%)/g, "$1 $2").split(/\s+/).map((n) => n.trim()).filter((n) => n !== ""), d5 = (e) => {
|
|
42114
42121
|
const t = (e || "").replace(/[\u00a0\u3000]/g, " "), n = /20\d{2}-\d{2}-\d{2}/g, r = t.match(n) || [];
|
|
42115
42122
|
if (r.length === 0)
|
|
42116
42123
|
return { markdown: "", jsonData: [] };
|
|
42117
|
-
const l = t.split(n).filter((y) => y.trim() !== ""), a = l.length > 0 ?
|
|
42124
|
+
const l = t.split(n).filter((y) => y.trim() !== ""), a = l.length > 0 ? o5(l[0]) : [], i = a.length >= 2, s = i ? a : i5, o = i || l.length > 0 && l[0].includes("展现量") ? 1 : 0, u = s.filter((y) => y !== "日期"), c = u.length, d = [];
|
|
42118
42125
|
r.forEach((y, I) => {
|
|
42119
42126
|
const k = I + o;
|
|
42120
42127
|
if (k >= l.length) return;
|
|
42121
42128
|
const R = l[k];
|
|
42122
42129
|
let w = R.split(/[\r\n]+/).map((_) => _.trim()).filter((_) => _ !== "");
|
|
42123
|
-
w.length < c && (w =
|
|
42130
|
+
w.length < c && (w = c5(R));
|
|
42124
42131
|
const T = (_) => w.length === c * 2 ? w[_ * 2] ?? "" : w[_] ?? "", O = {};
|
|
42125
42132
|
O[ol("日期")] = y, u.forEach((_, A) => {
|
|
42126
|
-
const P = T(A), S =
|
|
42133
|
+
const P = T(A), S = u5(P), B = ol(_);
|
|
42127
42134
|
O[B] = S;
|
|
42128
42135
|
}), d.push(O);
|
|
42129
42136
|
});
|
|
@@ -42142,7 +42149,7 @@ const Ea = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
42142
42149
|
`),
|
|
42143
42150
|
jsonData: d
|
|
42144
42151
|
};
|
|
42145
|
-
},
|
|
42152
|
+
}, f5 = (e) => {
|
|
42146
42153
|
if (!e)
|
|
42147
42154
|
return "";
|
|
42148
42155
|
const t = e.trim().split(`
|
|
@@ -42162,7 +42169,7 @@ const Ea = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
42162
42169
|
c += `<td style="${u}">${Ea(m)}</td>`;
|
|
42163
42170
|
}), c += "</tr>";
|
|
42164
42171
|
}), c += "</tbody></table></div>", c;
|
|
42165
|
-
},
|
|
42172
|
+
}, h5 = (e) => {
|
|
42166
42173
|
const t = [], n = e.querySelector("thead tr");
|
|
42167
42174
|
if (!n) return t;
|
|
42168
42175
|
const r = [];
|
|
@@ -42177,22 +42184,22 @@ const Ea = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
42177
42184
|
i[d] = f === "-" ? "" : f;
|
|
42178
42185
|
}), Object.keys(i).length > 0 && t.push(i);
|
|
42179
42186
|
}), t;
|
|
42180
|
-
},
|
|
42181
|
-
const n =
|
|
42187
|
+
}, S5 = (e) => async (t) => {
|
|
42188
|
+
const n = d5(t.text);
|
|
42182
42189
|
return e && e(n.jsonData), {
|
|
42183
42190
|
modules: [
|
|
42184
42191
|
{
|
|
42185
42192
|
title: "推广分析表格",
|
|
42186
|
-
content:
|
|
42193
|
+
content: f5(n.markdown),
|
|
42187
42194
|
markdown: n.markdown
|
|
42188
42195
|
}
|
|
42189
42196
|
]
|
|
42190
42197
|
};
|
|
42191
|
-
},
|
|
42198
|
+
}, k5 = (e, t, n) => {
|
|
42192
42199
|
const r = parseFloat(String(e.get("grossProfitMargin") || "0")) || 0, l = parseFloat(String(e.get("refundRate") || "0")) || 0;
|
|
42193
42200
|
let a = [];
|
|
42194
42201
|
if (t) {
|
|
42195
|
-
const i =
|
|
42202
|
+
const i = h5(t);
|
|
42196
42203
|
i.length > 0 && (a = i);
|
|
42197
42204
|
}
|
|
42198
42205
|
return a.length === 0 && n && n.length > 0 && (a = n), {
|
|
@@ -42200,7 +42207,7 @@ const Ea = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
42200
42207
|
refundRate: l,
|
|
42201
42208
|
tableData: a
|
|
42202
42209
|
};
|
|
42203
|
-
},
|
|
42210
|
+
}, A5 = {
|
|
42204
42211
|
algorithm: Eb.defaultAlgorithm,
|
|
42205
42212
|
token: {
|
|
42206
42213
|
// 主色
|
|
@@ -42272,24 +42279,24 @@ export {
|
|
|
42272
42279
|
Fb as BackButton,
|
|
42273
42280
|
Ob as Button,
|
|
42274
42281
|
Mb as Card,
|
|
42275
|
-
|
|
42276
|
-
|
|
42282
|
+
t5 as DynamicInput,
|
|
42283
|
+
n5 as DynamicTextArea,
|
|
42277
42284
|
Bb as EmptyAndSpin,
|
|
42278
42285
|
Tl as HEADER_TO_FIELD,
|
|
42279
42286
|
Hb as LinkButton,
|
|
42280
42287
|
Db as PageTable,
|
|
42281
|
-
|
|
42282
|
-
|
|
42288
|
+
x5 as RichTextEditor,
|
|
42289
|
+
x5 as StructuredEditor,
|
|
42283
42290
|
U0 as VideoCard,
|
|
42284
|
-
|
|
42285
|
-
|
|
42291
|
+
e5 as VirtualTable,
|
|
42292
|
+
a5 as Waterfall,
|
|
42286
42293
|
Pb as XcIcon,
|
|
42287
|
-
|
|
42288
|
-
|
|
42294
|
+
k5 as buildPromotionSendPayload,
|
|
42295
|
+
S5 as createMarkdownAnalyze,
|
|
42289
42296
|
Ea as escapeHtml,
|
|
42290
|
-
|
|
42291
|
-
|
|
42292
|
-
|
|
42293
|
-
|
|
42297
|
+
h5 as extractTableDataFromHtml,
|
|
42298
|
+
A5 as lightTheme,
|
|
42299
|
+
d5 as parsePromotionTableMarkdown,
|
|
42300
|
+
f5 as renderMarkdownToHtml
|
|
42294
42301
|
};
|
|
42295
42302
|
//# sourceMappingURL=index.es.js.map
|