@yuku123/z-cognition-component 2.0.4 → 2.0.5
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-lib/{BaseInput-rxw05EpT.js → BaseInput-BYGhTvYI.js} +16 -16
- package/dist-lib/{ClockCircleOutlined-DqK04lTb.js → ClockCircleOutlined-DACEazDR.js} +2 -2
- package/dist-lib/{Collapse-D9XOithE.js → Collapse-CZbXdmBX.js} +98 -98
- package/dist-lib/{DeleteOutlined-DnGmqa7C.js → DeleteOutlined-CtmAIIV3.js} +4 -4
- package/dist-lib/{EllipsisOutlined-VzQrhleP.js → EllipsisOutlined-pgnttbec.js} +73 -73
- package/dist-lib/{EyeOutlined-CIFgRd6d.js → EyeOutlined-WKo_SfEi.js} +4 -4
- package/dist-lib/{LeftOutlined-Be44-JWT.js → LeftOutlined-B79bB1ZG.js} +1 -1
- package/dist-lib/{Pagination-BuFXTevS.js → Pagination-CFhUxTf8.js} +32 -32
- package/dist-lib/{RotateRightOutlined-CYlCNRvD.js → RotateRightOutlined-TrlUrEUZ.js} +1 -1
- package/dist-lib/{Table-D1RvQXGM.js → Table-BF9fhMoT.js} +120 -120
- package/dist-lib/{accessAk-DlxcvD0O.js → accessAk-BKnWRdnG.js} +1 -1
- package/dist-lib/{agents-CabJdV6W.js → agents-B5wsLzS-.js} +6 -6
- package/dist-lib/{ai-DZ6fqUyK.js → ai-CccmxFWN.js} +1 -1
- package/dist-lib/{ai-chat-share-CYSU7UlK.js → ai-chat-share-BjZFvUph.js} +4 -4
- package/dist-lib/{ak-manage-MTp2UyyK.js → ak-manage-DD_F6560.js} +12 -12
- package/dist-lib/{approval-F9OYS1Ov.js → approval-a4d4zlUd.js} +3 -3
- package/dist-lib/{approvals-DDEl02-L.js → approvals-DnwdMEU5.js} +2 -2
- package/dist-lib/{assistant-CcC1rvys.js → assistant-BA6oeNSC.js} +5 -5
- package/dist-lib/{assistant-history-fmy8IsJL.js → assistant-history-Dfykk2a4.js} +5 -5
- package/dist-lib/{assistant-summary-kuK5-mku.js → assistant-summary-BkmSqskU.js} +1 -1
- package/dist-lib/{audit-C0GYByqU.js → audit-ZZhtw95x.js} +1 -1
- package/dist-lib/{bios-_axkM_DR.js → bios-CSjjJ5Bc.js} +11 -11
- package/dist-lib/{callSuper-CuPJalb0.js → callSuper-Bk-mj4By.js} +1 -1
- package/dist-lib/{category-BPLw60Ia.js → category-9CorlqP4.js} +1 -1
- package/dist-lib/{causal-CcWolsb5.js → causal-CYR-CTQK.js} +5 -5
- package/dist-lib/{changelog-BQdmpq5H.js → changelog-BcZ6KQ3C.js} +2 -2
- package/dist-lib/{changelog-DC6nlUDh.js → changelog-Bqm52V9T.js} +1 -1
- package/dist-lib/{chat-panel-CgpP4Xf5.js → chat-panel-Ctr_CdZu.js} +3 -3
- package/dist-lib/{code-space-CZ3CzVcA.js → code-space-DG83npvh.js} +9 -9
- package/dist-lib/{colors-BsFEfaVs.js → colors-DJzrNkCt.js} +1 -1
- package/dist-lib/{community-ESJc4qtl.js → community-CXEbdg7X.js} +1 -1
- package/dist-lib/{community-D9mD_Tq1.js → community-Cmx4qRHG.js} +3 -3
- package/dist-lib/{community-material-page-Ct5uMwhv.js → community-material-page-jguoD9kV.js} +7 -7
- package/dist-lib/{connections-DrxmCfe3.js → connections-DJAsz2Hb.js} +6 -6
- package/dist-lib/{createForOfIteratorHelper-3K1vcDqi.js → createForOfIteratorHelper-BArIG0W5.js} +1 -1
- package/dist-lib/{detail-kPAVlzm3.js → detail-BWBtDkWH.js} +4 -4
- package/dist-lib/{detail-DXOJf57e.js → detail-CLqCbf3i.js} +2 -2
- package/dist-lib/{detail-lGslEB8s.js → detail-DKLwIzyI.js} +14 -14
- package/dist-lib/{development-aLXXcLcF.js → development-DG37KZEV.js} +9 -9
- package/dist-lib/{downloads-DFOEFvX6.js → downloads-Cg8PCqDp.js} +1 -1
- package/dist-lib/{edit-BbtVK23D.js → edit-Cfv83zho.js} +77 -77
- package/dist-lib/{editor-DbLQFOUf.js → editor-BriqrlTB.js} +5 -5
- package/dist-lib/{editor-page-B_H0fRAI.js → editor-page-p2TQlJtq.js} +13 -13
- package/dist-lib/{embed-BUaR8PAn.js → embed-CoEyJMJx.js} +2235 -2219
- package/dist-lib/embed.css +1 -1
- package/dist-lib/{evaluation-8Tx-3UQh.js → evaluation-C6CAwoWp.js} +2 -2
- package/dist-lib/{execution-Dz5dBEFl.js → execution-BMkglxKG.js} +9 -9
- package/dist-lib/{graph-DacHEbKr.js → graph-DkaHV2AX.js} +5 -5
- package/dist-lib/{index-CS6H40rM.js → index-B21fkm-c.js} +21 -21
- package/dist-lib/{index-jHh-ITBK.js → index-B2Hx9Q2V.js} +40 -40
- package/dist-lib/{index-Ddx6XQu5.js → index-BMVRmc79.js} +2 -2
- package/dist-lib/{index-QkktEus5.js → index-BQnPPCKW.js} +9 -9
- package/dist-lib/{index-CjFA5T3K.js → index-BRyPjc2E.js} +1 -1
- package/dist-lib/{index-Bt9F-2Fl.js → index-BeejupFS.js} +64 -64
- package/dist-lib/{index-DTgboCiF.js → index-BelOhXK9.js} +10 -10
- package/dist-lib/{index-BWmgE7bB.js → index-Bqkx1OMz.js} +50 -50
- package/dist-lib/{index-CSoMwNHq.js → index-Bqpk0cSp.js} +54 -54
- package/dist-lib/{index-B6G8CZ1v.js → index-BqvwZwaa.js} +109 -109
- package/dist-lib/{index-keRQ37lH.js → index-BwkQzFNo.js} +4 -4
- package/dist-lib/{index-BU2GXuww.js → index-By7lJ7OM.js} +2 -2
- package/dist-lib/{index-IB3GOib9.js → index-C0bjp6yU.js} +23 -23
- package/dist-lib/{index-yPMzsLHL.js → index-C8VIE0cr.js} +4 -4
- package/dist-lib/{index-Di2bQwQn.js → index-CAk-RbBL.js} +2 -2
- package/dist-lib/{index-D23tZfhi.js → index-CFMm6EBU.js} +1 -1
- package/dist-lib/{index-DR9LGJpi.js → index-CkrD_v5E.js} +14 -14
- package/dist-lib/{index-DlqhOJnd.js → index-Ct0MiSE7.js} +79 -79
- package/dist-lib/{index-BDWjubAD.js → index-D1vltZIy.js} +58 -58
- package/dist-lib/{index-BMv3kGDG.js → index-DQ1YCU_6.js} +31 -31
- package/dist-lib/{index-GQGXGr9M.js → index-DQL0rlRD.js} +1 -1
- package/dist-lib/{index-BOB3j3H_.js → index-Dfpj76EP.js} +1 -1
- package/dist-lib/{index-BI-rknta.js → index-DljgNXFS.js} +29 -29
- package/dist-lib/{index-CdNxm2We.js → index-DrC19OH2.js} +14 -14
- package/dist-lib/{index-Be_iqVpx.js → index-DvdRKgvN.js} +68 -68
- package/dist-lib/{index-Bi7O9pQv.js → index-EoyTsMVR.js} +182 -182
- package/dist-lib/{index-fVCVIu8I.js → index-MN71_qSy.js} +2 -2
- package/dist-lib/{index-Bf8IQq4A.js → index-MrasjwT1.js} +18 -18
- package/dist-lib/{index-Pcxp_AYe.js → index-TVyOVj_f.js} +75 -75
- package/dist-lib/{index-BtW_nQBU.js → index-cWJDD_7e.js} +2 -2
- package/dist-lib/{index-BLGPH51v.js → index-fSzyAUm4.js} +10 -10
- package/dist-lib/{index-n6hK1r_G.js → index-gSQpnDVD.js} +3 -3
- package/dist-lib/{index-D7nLwQye.js → index-jfZsBNfr.js} +274 -274
- package/dist-lib/{index-qYfXuLnZ.js → index-lpiHPbbx.js} +2 -2
- package/dist-lib/{index-BuGHtvxH.js → index-ly9q05gX.js} +8 -8
- package/dist-lib/{index-CDxeB8C4.js → index-mANVYpNc.js} +16 -16
- package/dist-lib/{index-CNBwau86.js → index-o4EXX17N.js} +73 -73
- package/dist-lib/index.js +1 -1
- package/dist-lib/{json-field-Bu-gFb6c.js → json-field-BqyYVncd.js} +2 -2
- package/dist-lib/{kb-form-modal-DsXpXfNT.js → kb-form-modal-B9_s7HKJ.js} +2 -2
- package/dist-lib/{kbTeam-D8hsAHI5.js → kbTeam-D_xeQOnk.js} +1 -1
- package/dist-lib/{knowledge-base-D2XMD7iI.js → knowledge-base-BIlYHNX_.js} +6 -6
- package/dist-lib/{knowledge-hub-BoBR8-j-.js → knowledge-hub-DS9jz2ml.js} +4 -4
- package/dist-lib/{login-B4C374Y_.js → login-81vYOi7C.js} +6 -6
- package/dist-lib/{markdown-lite-ROKlyMXg.js → markdown-lite-C0TxiY46.js} +35 -35
- package/dist-lib/{material-CqtPqoZj.js → material-0d6ENLyU.js} +1 -1
- package/dist-lib/{material-draft-markdown-BKlKt3pc.js → material-draft-markdown-BqqPZtbw.js} +2 -2
- package/dist-lib/{material-original-preview-pzANkVK5.js → material-original-preview-BDeVDdfb.js} +5 -5
- package/dist-lib/{material-workspace-model-BUpogooV.js → material-workspace-model-DPaWrRpo.js} +1 -1
- package/dist-lib/{member-CCTFfLDC.js → member-Dc8Fi9Yt.js} +1 -1
- package/dist-lib/memory-reorganization-DN4oUE9r.js +1007 -0
- package/dist-lib/{memory-spaces-CZGIBlz2.js → memory-spaces-BJp4AIUb.js} +19 -19
- package/dist-lib/{message-Rz7LvGMk.js → message-C6yBkCNm.js} +1 -1
- package/dist-lib/{message-Chq3cAdy.js → message-DPeo_cTR.js} +3 -3
- package/dist-lib/{messages-DciGawgR.js → messages-DdfLmuQI.js} +2 -2
- package/dist-lib/{meta-BWgVxZgd.js → meta-CBLO5qXw.js} +2 -2
- package/dist-lib/{metrics-iWreq4IL.js → metrics-7ptCjiKn.js} +2 -2
- package/dist-lib/{mobile-CNrK04Ak.js → mobile-DC0hcQji.js} +2 -2
- package/dist-lib/{monitor-BpUJZCht.js → monitor-DX1u-yHi.js} +3 -3
- package/dist-lib/{monitor-CaTKbDI1.js → monitor-DoWMKmYn.js} +3 -3
- package/dist-lib/{my-access-ZH5CWVGF.js → my-access-64Rn1HXY.js} +3 -3
- package/dist-lib/{my-permissions-edhi0lav.js → my-permissions-DKjDBIjY.js} +4 -4
- package/dist-lib/{navigation-2WdPUP2T.js → navigation-B_vBrx_f.js} +1 -1
- package/dist-lib/{new-Dq6mvU2w.js → new-D3Q8_hzT.js} +5 -5
- package/dist-lib/{ontology-BX6X1X2J.js → ontology-Ct7a7W50.js} +5 -5
- package/dist-lib/{ontology-dataprep-BjMnFRBG.js → ontology-dataprep-DhZWKCnw.js} +1 -1
- package/dist-lib/{ontology-domains-B7AuwW8S.js → ontology-domains-BG6ZPWXm.js} +57 -57
- package/dist-lib/{ontology-extract-wbvBwGZO.js → ontology-extract-53pAcKaP.js} +22 -22
- package/dist-lib/{ontology-extract-FpJ6K8z6.js → ontology-extract-D9RViy3r.js} +1 -1
- package/dist-lib/{ontology-flow-Cgi8Fk-i.js → ontology-flow-Dx_5Dv1S.js} +3 -3
- package/dist-lib/{ontology-flow-CJsIvS35.js → ontology-flow-cbGY8kOV.js} +6 -6
- package/dist-lib/{ontology-modeling-CeDS1-FE.js → ontology-modeling-9beSFK8t.js} +2 -2
- package/dist-lib/{ontology-modeling-C_6GvHBT.js → ontology-modeling-BkFq7sU1.js} +33 -33
- package/dist-lib/{ontology-scenarios-4Ar7Y8Kt.js → ontology-scenarios-ANZMjyMB.js} +11 -11
- package/dist-lib/{ontology-scenarios-BaYN82pv.js → ontology-scenarios-BC1UBvtT.js} +85 -85
- package/dist-lib/{ontology-task-config-CDt7NdIq.js → ontology-task-config-dDFRrWtJ.js} +1 -1
- package/dist-lib/{ontology-terms-CxTp2Dcq.js → ontology-terms-B9H9VcuR.js} +18 -18
- package/dist-lib/{ontology-terms-CnFarWZX.js → ontology-terms-BcXCuUsy.js} +1 -1
- package/dist-lib/{permission-CNqwhyF3.js → permission-pETAJZl6.js} +2 -2
- package/dist-lib/{preset-CfByvcqu.js → preset-5F2VcdUE.js} +3 -3
- package/dist-lib/{progress-ImhDvynO.js → progress-COKT887h.js} +31 -31
- package/dist-lib/{quota-B38BWyPo.js → quota-BzWY9oeV.js} +2 -2
- package/dist-lib/{row-DeVE0t_N.js → row-BFBgIphS.js} +2 -2
- package/dist-lib/{runs-ILSUwEOv.js → runs-7LWS6iAN.js} +6 -6
- package/dist-lib/{save-blob-C5BbV45B.js → save-blob-D_q2LunT.js} +2 -2
- package/dist-lib/{scenario-mapping-preview-7v1SRE7V.js → scenario-mapping-preview-CDg3_f0U.js} +17 -17
- package/dist-lib/{scenario-simple-form-mFm6f2ho.js → scenario-simple-form--KSAzRS6.js} +9 -9
- package/dist-lib/{schedule-DzB9rZrm.js → schedule-BDrhhUsA.js} +2 -2
- package/dist-lib/{script-CKdVDsYh.js → script-CtLQ-RSy.js} +14 -14
- package/dist-lib/{settings-CaihqQtz.js → settings--NTE0Hux.js} +8 -8
- package/dist-lib/{shared-B51Q5536.js → shared-BJA7rkgy.js} +1 -1
- package/dist-lib/{shared-utils-Ck5sql2m.js → shared-utils-E5RBBDWx.js} +2 -2
- package/dist-lib/{skills-By3A0Dc1.js → skills-IziqBZOm.js} +5 -5
- package/dist-lib/{source-selection-sIKyG7xR.js → source-selection-WsUOEBKN.js} +1 -1
- package/dist-lib/{sources-DvIMColY.js → sources-D7ViKZtA.js} +12 -12
- package/dist-lib/{style-BHQZmWlH.js → style-B7phAB4-.js} +4 -4
- package/dist-lib/{task-config-CoPFj_FN.js → task-config-BhVD-uNg.js} +3 -3
- package/dist-lib/{tech-BJgEEFrT.js → tech-C2bOwBWk.js} +1 -1
- package/dist-lib/{templates-CODaf2QI.js → templates-Bh3ryZxt.js} +6 -6
- package/dist-lib/{tenant-login-DmN4qfah.js → tenant-login-D3193dIQ.js} +24 -24
- package/dist-lib/{tools-CyRz1Ofg.js → tools-DCLdtvbE.js} +56 -56
- package/dist-lib/{use-current-tenant-otPCQ3X8.js → use-current-tenant-KGbU5HpT.js} +1 -1
- package/dist-lib/{use-domain-access-BuD99GTw.js → use-domain-access-CcPd_gzX.js} +1 -1
- package/dist-lib/{use-g6-graph-C5h9frJM.js → use-g6-graph-CPKL_pXo.js} +1 -1
- package/dist-lib/{use-graph-layers-Cbd3Jggb.js → use-graph-layers-Bi90s60B.js} +9 -9
- package/dist-lib/{useBreakpoint-B8dF3ifo.js → useBreakpoint-SG_cMfLJ.js} +6 -6
- package/dist-lib/{useForm-BZkiMeaN.js → useForm-Cp45oXOc.js} +13 -13
- package/dist-lib/{version-control-panel-HdMlbpbO.js → version-control-panel-Db_RP6gX.js} +1 -1
- package/dist-lib/{version-management-BYoxw4GV.js → version-management-DuCdU_fJ.js} +2 -2
- package/dist-lib/{welcome-CMNXQf8J.js → welcome-DLcdZGtl.js} +1 -1
- package/package.json +1 -1
- package/dist-lib/memory-reorganization-CBTDCRhV.js +0 -8
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as x, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as g, useCallback as J, useEffect as O, useMemo as X } from "react";
|
|
3
3
|
import { createPortal as Q } from "react-dom";
|
|
4
|
-
import { t as z, r as d, K as R, I as f, j as W } from "./embed-
|
|
5
|
-
import { l as Z, n as B, S as ee, i as te, a as ne, g as ae, r as re } from "./ontology-task-config-
|
|
4
|
+
import { t as z, r as d, K as R, I as f, j as W } from "./embed-CoEyJMJx.js";
|
|
5
|
+
import { l as Z, n as B, S as ee, i as te, a as ne, g as ae, r as re } from "./ontology-task-config-dDFRrWtJ.js";
|
|
6
6
|
import { u as se } from "./use-escape-key-4SZ4l7av.js";
|
|
7
7
|
import { f as oe } from "./format-CWI99NCN.js";
|
|
8
8
|
const h = "/kb/v1/taskConfig", m = () => ({ "X-Tenant-Code": R() });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import { a6 as K,
|
|
3
|
-
import { _ as ue } from "./callSuper-
|
|
2
|
+
import { a6 as K, ad as Q, ac as P, ah as Y, aj as Z, a5 as v, ak as ee, az as oe, aA as ne, aB as te, aC as re, aD as se, aE as ae, aF as ie, aG as ce, aH as le, aI as de, aJ as pe } from "./embed-CoEyJMJx.js";
|
|
3
|
+
import { _ as ue } from "./callSuper-Bk-mj4By.js";
|
|
4
4
|
const S = (e, o, t, n, r) => ({
|
|
5
5
|
background: e,
|
|
6
|
-
border: `${
|
|
6
|
+
border: `${P(n.lineWidth)} ${n.lineType} ${o}`,
|
|
7
7
|
[`${r}-icon`]: {
|
|
8
8
|
color: t
|
|
9
9
|
}
|
|
@@ -140,7 +140,7 @@ const S = (e, o, t, n, r) => ({
|
|
|
140
140
|
padding: 0,
|
|
141
141
|
overflow: "hidden",
|
|
142
142
|
fontSize: a,
|
|
143
|
-
lineHeight:
|
|
143
|
+
lineHeight: P(a),
|
|
144
144
|
backgroundColor: "transparent",
|
|
145
145
|
border: "none",
|
|
146
146
|
outline: "none",
|
|
@@ -167,7 +167,7 @@ const S = (e, o, t, n, r) => ({
|
|
|
167
167
|
defaultPadding: `${e.paddingContentVerticalSM}px 12px`,
|
|
168
168
|
withDescriptionPadding: `${e.paddingMD}px ${e.paddingContentHorizontalLG}px`
|
|
169
169
|
}), Ce = K("Alert", (e) => [me(e), fe(e), ge(e)], ye);
|
|
170
|
-
var
|
|
170
|
+
var H = function(e, o) {
|
|
171
171
|
var t = {};
|
|
172
172
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && o.indexOf(n) < 0 && (t[n] = e[n]);
|
|
173
173
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
|
|
@@ -224,42 +224,42 @@ const $e = {
|
|
|
224
224
|
closeText: I,
|
|
225
225
|
closeIcon: C,
|
|
226
226
|
action: x,
|
|
227
|
-
id:
|
|
228
|
-
} = e, _ =
|
|
227
|
+
id: z
|
|
228
|
+
} = e, _ = H(e, ["description", "prefixCls", "message", "banner", "className", "rootClassName", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action", "id"]), [w, D] = s.useState(!1);
|
|
229
229
|
process.env.NODE_ENV !== "production" && Y("Alert").deprecated(!I, "closeText", "closable.closeIcon");
|
|
230
230
|
const N = s.useRef(null);
|
|
231
231
|
s.useImperativeHandle(o, () => ({
|
|
232
232
|
nativeElement: N.current
|
|
233
233
|
}));
|
|
234
234
|
const {
|
|
235
|
-
getPrefixCls:
|
|
236
|
-
direction:
|
|
235
|
+
getPrefixCls: R,
|
|
236
|
+
direction: A,
|
|
237
237
|
closable: f,
|
|
238
238
|
closeIcon: O,
|
|
239
239
|
className: T,
|
|
240
|
-
style:
|
|
241
|
-
} = Z("alert"), c =
|
|
240
|
+
style: k
|
|
241
|
+
} = Z("alert"), c = R("alert", n), [L, W, V] = Ce(c), G = (u) => {
|
|
242
242
|
var h;
|
|
243
|
-
|
|
244
|
-
}, j = s.useMemo(() => e.type !== void 0 ? e.type : a ? "warning" : "info", [e.type, a]), X = s.useMemo(() => typeof i == "object" && i.closeIcon || I ? !0 : typeof i == "boolean" ? i : C !== !1 && C !== null && C !== void 0 ? !0 : !!f, [I, C, i, f]), B = a && b === void 0 ? !0 : b,
|
|
243
|
+
D(!0), (h = e.onClose) === null || h === void 0 || h.call(e, u);
|
|
244
|
+
}, j = s.useMemo(() => e.type !== void 0 ? e.type : a ? "warning" : "info", [e.type, a]), X = s.useMemo(() => typeof i == "object" && i.closeIcon || I ? !0 : typeof i == "boolean" ? i : C !== !1 && C !== null && C !== void 0 ? !0 : !!f, [I, C, i, f]), B = a && b === void 0 ? !0 : b, F = v(c, `${c}-${j}`, {
|
|
245
245
|
[`${c}-with-description`]: !!t,
|
|
246
246
|
[`${c}-no-icon`]: !B,
|
|
247
247
|
[`${c}-banner`]: !!a,
|
|
248
|
-
[`${c}-rtl`]:
|
|
249
|
-
}, T, l, d, V, W),
|
|
248
|
+
[`${c}-rtl`]: A === "rtl"
|
|
249
|
+
}, T, l, d, V, W), J = ee(_, {
|
|
250
250
|
aria: !0,
|
|
251
251
|
data: !0
|
|
252
|
-
}), U = s.useMemo(() => typeof i == "object" && i.closeIcon ? i.closeIcon : I || (C !== void 0 ? C : typeof f == "object" && f.closeIcon ? f.closeIcon : O), [C, i, f, I, O]),
|
|
252
|
+
}), U = s.useMemo(() => typeof i == "object" && i.closeIcon ? i.closeIcon : I || (C !== void 0 ? C : typeof f == "object" && f.closeIcon ? f.closeIcon : O), [C, i, f, I, O]), q = s.useMemo(() => {
|
|
253
253
|
const u = i ?? f;
|
|
254
254
|
if (typeof u == "object") {
|
|
255
255
|
const {
|
|
256
256
|
closeIcon: h
|
|
257
257
|
} = u;
|
|
258
|
-
return
|
|
258
|
+
return H(u, ["closeIcon"]);
|
|
259
259
|
}
|
|
260
260
|
return {};
|
|
261
261
|
}, [i, f]);
|
|
262
|
-
return
|
|
262
|
+
return L(/* @__PURE__ */ s.createElement(oe, {
|
|
263
263
|
visible: !w,
|
|
264
264
|
motionName: `${c}-motion`,
|
|
265
265
|
motionAppear: !1,
|
|
@@ -272,16 +272,16 @@ const $e = {
|
|
|
272
272
|
className: u,
|
|
273
273
|
style: h
|
|
274
274
|
}, M) => /* @__PURE__ */ s.createElement("div", Object.assign({
|
|
275
|
-
id:
|
|
275
|
+
id: z,
|
|
276
276
|
ref: ne(N, M),
|
|
277
277
|
"data-show": !w,
|
|
278
|
-
className: v(
|
|
279
|
-
style: Object.assign(Object.assign(Object.assign({},
|
|
278
|
+
className: v(F, u),
|
|
279
|
+
style: Object.assign(Object.assign(Object.assign({}, k), m), h),
|
|
280
280
|
onMouseEnter: p,
|
|
281
281
|
onMouseLeave: g,
|
|
282
282
|
onClick: y,
|
|
283
283
|
role: "alert"
|
|
284
|
-
},
|
|
284
|
+
}, J), B ? /* @__PURE__ */ s.createElement(be, {
|
|
285
285
|
description: t,
|
|
286
286
|
icon: e.icon,
|
|
287
287
|
prefixCls: c,
|
|
@@ -299,7 +299,7 @@ const $e = {
|
|
|
299
299
|
prefixCls: c,
|
|
300
300
|
closeIcon: U,
|
|
301
301
|
handleClose: G,
|
|
302
|
-
ariaProps:
|
|
302
|
+
ariaProps: q
|
|
303
303
|
}))));
|
|
304
304
|
});
|
|
305
305
|
process.env.NODE_ENV !== "production" && (E.displayName = "Alert");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bT as F, a8 as I,
|
|
1
|
+
import { bT as F, a8 as I, aM as N, bU as S, bV as j, bW as v, bX as E, a5 as M, bY as _, bZ as $, b_ as V, b$ as a, c0 as W, c1 as A, c2 as D, c3 as R, c4 as p, c5 as T, c6 as U } from "./embed-CoEyJMJx.js";
|
|
2
2
|
import * as i from "react";
|
|
3
3
|
var Y = function(e, o) {
|
|
4
4
|
var l = {};
|
|
@@ -38,16 +38,16 @@ const z = (e) => {
|
|
|
38
38
|
children: d
|
|
39
39
|
}, O(/* @__PURE__ */ i.createElement(E, Object.assign({
|
|
40
40
|
prefixCls: s,
|
|
41
|
-
className:
|
|
41
|
+
className: M(w, `${s}-pure-panel`, c && f, c && `${f}-${c}`, l, g, C)
|
|
42
42
|
}, y, {
|
|
43
|
-
closeIcon:
|
|
43
|
+
closeIcon: _(s, r),
|
|
44
44
|
closable: n
|
|
45
45
|
}, u)));
|
|
46
46
|
}, B = F(z);
|
|
47
47
|
function P(e) {
|
|
48
48
|
return a(U(e));
|
|
49
49
|
}
|
|
50
|
-
const t =
|
|
50
|
+
const t = $;
|
|
51
51
|
t.useModal = V;
|
|
52
52
|
t.info = function(o) {
|
|
53
53
|
return a(W(o));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as j } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as C, useEffect as I, useCallback as x, Fragment as V } from "react";
|
|
3
|
-
import { I as N } from "./embed-
|
|
4
|
-
import { T as R } from "./index-
|
|
3
|
+
import { I as N } from "./embed-CoEyJMJx.js";
|
|
4
|
+
import { T as R } from "./index-CkrD_v5E.js";
|
|
5
5
|
const S = [
|
|
6
6
|
"headings",
|
|
7
7
|
"bold",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s, jsxs as a, Fragment as A } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useEffect as R } from "react";
|
|
3
|
-
import { j as $, I as E, y as k, t, z } from "./embed-
|
|
3
|
+
import { j as $, I as E, y as k, t, z } from "./embed-CoEyJMJx.js";
|
|
4
4
|
function Y({
|
|
5
5
|
target: l,
|
|
6
6
|
onClose: r,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
2
|
import { forwardRef as Et, useRef as It, useImperativeHandle as Vt } from "react";
|
|
3
|
-
import { cx as lt, a5 as S,
|
|
4
|
-
import { g as te, i as ee } from "./colors-
|
|
3
|
+
import { cx as lt, a5 as S, bk as kt, bx as zt, bj as j, cy as Lt, b4 as Dt, ac as z, a6 as Bt, a7 as ft, cd as Mt, ad as Ht, a8 as Xt, bM as Wt, aj as Yt, ah as qt, bm as Ft, bq as Zt, cz as Ut, cn as Gt, ce as Jt, an as Kt, cu as Qt } from "./embed-CoEyJMJx.js";
|
|
4
|
+
import { g as te, i as ee } from "./colors-DJzrNkCt.js";
|
|
5
5
|
const oe = (e) => e instanceof lt ? e : new lt(e);
|
|
6
6
|
function pt(e) {
|
|
7
7
|
var o = e.children, a = e.prefixCls, t = e.id, r = e.overlayInnerStyle, s = e.bodyClassName, n = e.className, i = e.style;
|
|
@@ -95,13 +95,13 @@ var I = {
|
|
|
95
95
|
targetOffset: y
|
|
96
96
|
}
|
|
97
97
|
}, ae = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow", "classNames", "styles"], ne = function(o, a) {
|
|
98
|
-
var t = o.overlayClassName, r = o.trigger, s = r === void 0 ? ["hover"] : r, n = o.mouseEnterDelay, i = n === void 0 ? 0 : n, l = o.mouseLeaveDelay, d = l === void 0 ? 0.1 : l, f = o.overlayStyle, h = o.prefixCls, c = h === void 0 ? "rc-tooltip" : h, b = o.children, m = o.onVisibleChange, g = o.afterVisibleChange, O = o.transitionName, $ = o.animation, C = o.motion,
|
|
98
|
+
var t = o.overlayClassName, r = o.trigger, s = r === void 0 ? ["hover"] : r, n = o.mouseEnterDelay, i = n === void 0 ? 0 : n, l = o.mouseLeaveDelay, d = l === void 0 ? 0.1 : l, f = o.overlayStyle, h = o.prefixCls, c = h === void 0 ? "rc-tooltip" : h, b = o.children, m = o.onVisibleChange, g = o.afterVisibleChange, O = o.transitionName, $ = o.animation, C = o.motion, T = o.placement, L = T === void 0 ? "right" : T, D = o.align, J = D === void 0 ? {} : D, B = o.destroyTooltipOnHide, K = B === void 0 ? !1 : B, Q = o.defaultVisible, tt = o.getTooltipContainer, et = o.overlayInnerStyle;
|
|
99
99
|
o.arrowContent;
|
|
100
100
|
var x = o.overlay, P = o.id, k = o.showArrow, M = k === void 0 ? !0 : k, w = o.classNames, _ = o.styles, H = kt(o, ae), X = zt(P), W = It(null);
|
|
101
101
|
Vt(a, function() {
|
|
102
102
|
return W.current;
|
|
103
103
|
});
|
|
104
|
-
var Y =
|
|
104
|
+
var Y = j({}, H);
|
|
105
105
|
"visible" in o && (Y.popupVisible = o.visible);
|
|
106
106
|
var q = function() {
|
|
107
107
|
return /* @__PURE__ */ p.createElement(pt, {
|
|
@@ -109,10 +109,10 @@ var I = {
|
|
|
109
109
|
prefixCls: c,
|
|
110
110
|
id: X,
|
|
111
111
|
bodyClassName: w == null ? void 0 : w.body,
|
|
112
|
-
overlayInnerStyle:
|
|
112
|
+
overlayInnerStyle: j(j({}, et), _ == null ? void 0 : _.body)
|
|
113
113
|
}, x);
|
|
114
114
|
}, F = function() {
|
|
115
|
-
var N = p.Children.only(b), Z = (N == null ? void 0 : N.props) || {}, ot =
|
|
115
|
+
var N = p.Children.only(b), Z = (N == null ? void 0 : N.props) || {}, ot = j(j({}, Z), {}, {
|
|
116
116
|
"aria-describedby": x ? X : null
|
|
117
117
|
});
|
|
118
118
|
return /* @__PURE__ */ p.cloneElement(b, ot);
|
|
@@ -135,7 +135,7 @@ var I = {
|
|
|
135
135
|
defaultPopupVisible: Q,
|
|
136
136
|
autoDestroy: K,
|
|
137
137
|
mouseLeaveDelay: d,
|
|
138
|
-
popupStyle:
|
|
138
|
+
popupStyle: j(j({}, f), _ == null ? void 0 : _.root),
|
|
139
139
|
mouseEnterDelay: i,
|
|
140
140
|
arrow: M
|
|
141
141
|
}, Y), F());
|
|
@@ -146,11 +146,11 @@ function ie(e) {
|
|
|
146
146
|
sizePopupArrow: o,
|
|
147
147
|
borderRadiusXS: a,
|
|
148
148
|
borderRadiusOuter: t
|
|
149
|
-
} = e, r = o / 2, s = 0, n = r, i = t * 1 / Math.sqrt(2), l = r - t * (1 - 1 / Math.sqrt(2)), d = r - a * (1 / Math.sqrt(2)), f = t * (Math.sqrt(2) - 1) + a * (1 / Math.sqrt(2)), h = 2 * r - d, c = f, b = 2 * r - i, m = l, g = 2 * r - s, O = n, $ = r * Math.sqrt(2) + t * (Math.sqrt(2) - 2), C = t * (Math.sqrt(2) - 1),
|
|
149
|
+
} = e, r = o / 2, s = 0, n = r, i = t * 1 / Math.sqrt(2), l = r - t * (1 - 1 / Math.sqrt(2)), d = r - a * (1 / Math.sqrt(2)), f = t * (Math.sqrt(2) - 1) + a * (1 / Math.sqrt(2)), h = 2 * r - d, c = f, b = 2 * r - i, m = l, g = 2 * r - s, O = n, $ = r * Math.sqrt(2) + t * (Math.sqrt(2) - 2), C = t * (Math.sqrt(2) - 1), T = `polygon(${C}px 100%, 50% ${C}px, ${2 * r - C}px 100%, ${C}px 100%)`, L = `path('M ${s} ${n} A ${t} ${t} 0 0 0 ${i} ${l} L ${d} ${f} A ${a} ${a} 0 0 1 ${h} ${c} L ${b} ${m} A ${t} ${t} 0 0 0 ${g} ${O} Z')`;
|
|
150
150
|
return {
|
|
151
151
|
arrowShadowWidth: $,
|
|
152
152
|
arrowPath: L,
|
|
153
|
-
arrowPolygon:
|
|
153
|
+
arrowPolygon: T
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
156
|
const le = (e, o, a) => {
|
|
@@ -659,7 +659,7 @@ const he = /* @__PURE__ */ p.forwardRef((e, o) => {
|
|
|
659
659
|
overlay: O,
|
|
660
660
|
builtinPlacements: $,
|
|
661
661
|
arrowPointAtCenter: C = !1,
|
|
662
|
-
autoAdjustOverflow:
|
|
662
|
+
autoAdjustOverflow: T = !0,
|
|
663
663
|
motion: L,
|
|
664
664
|
getPopupContainer: D,
|
|
665
665
|
placement: J = "top",
|
|
@@ -706,7 +706,7 @@ const he = /* @__PURE__ */ p.forwardRef((e, o) => {
|
|
|
706
706
|
let E = C;
|
|
707
707
|
return typeof m == "object" && (E = (v = (u = m.pointAtCenter) !== null && u !== void 0 ? u : m.arrowPointAtCenter) !== null && v !== void 0 ? v : C), $ || ue({
|
|
708
708
|
arrowPointAtCenter: E,
|
|
709
|
-
autoAdjustOverflow:
|
|
709
|
+
autoAdjustOverflow: T,
|
|
710
710
|
arrowWidth: M ? w.sizePopupArrow : 0,
|
|
711
711
|
borderRadius: w.borderRadius,
|
|
712
712
|
offset: w.marginXXS,
|
|
@@ -719,8 +719,8 @@ const he = /* @__PURE__ */ p.forwardRef((e, o) => {
|
|
|
719
719
|
!("open" in e) && !("visible" in e) && rt && (nt = !1);
|
|
720
720
|
const st = /* @__PURE__ */ p.isValidElement(d) && !Ut(d) ? d : /* @__PURE__ */ p.createElement("span", null, d), U = st.props, $t = !U.className || typeof U.className == "string" ? S(U.className, s || `${R}-open`) : U.className, [xt, Pt, _t] = mt(R, !Ot), it = gt(R, i), Nt = it.arrowStyle, St = S(et, {
|
|
721
721
|
[`${R}-rtl`]: X === "rtl"
|
|
722
|
-
}, it.className, tt, Pt, _t, W, q.root, P == null ? void 0 : P.root),
|
|
723
|
-
zIndex:
|
|
722
|
+
}, it.className, tt, Pt, _t, W, q.root, P == null ? void 0 : P.root), jt = S(q.body, P == null ? void 0 : P.body), [Tt, At] = Gt("Tooltip", k.zIndex), Rt = /* @__PURE__ */ p.createElement(se, Object.assign({}, k, {
|
|
723
|
+
zIndex: Tt,
|
|
724
724
|
showArrow: M,
|
|
725
725
|
placement: J,
|
|
726
726
|
mouseEnterDelay: B,
|
|
@@ -728,7 +728,7 @@ const he = /* @__PURE__ */ p.forwardRef((e, o) => {
|
|
|
728
728
|
prefixCls: R,
|
|
729
729
|
classNames: {
|
|
730
730
|
root: St,
|
|
731
|
-
body:
|
|
731
|
+
body: jt
|
|
732
732
|
},
|
|
733
733
|
styles: {
|
|
734
734
|
root: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Nt), F.root), Y), Q), x == null ? void 0 : x.root),
|