@yuku123/z-cognition-component 2.0.3 → 2.0.4
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-DHrGPDB9.js → BaseInput-rxw05EpT.js} +16 -16
- package/dist-lib/{ClockCircleOutlined-DP6fSLgk.js → ClockCircleOutlined-DqK04lTb.js} +2 -2
- package/dist-lib/{Collapse-B77SsmFh.js → Collapse-D9XOithE.js} +76 -76
- package/dist-lib/{DeleteOutlined-BAZSAooQ.js → DeleteOutlined-DnGmqa7C.js} +1 -1
- package/dist-lib/{EllipsisOutlined-Dr4orLLw.js → EllipsisOutlined-VzQrhleP.js} +144 -144
- package/dist-lib/{EyeOutlined-CudyDdjH.js → EyeOutlined-CIFgRd6d.js} +4 -4
- package/dist-lib/{LeftOutlined-CJasZIyX.js → LeftOutlined-Be44-JWT.js} +1 -1
- package/dist-lib/{Pagination-BJ8wnqAa.js → Pagination-BuFXTevS.js} +32 -32
- package/dist-lib/{RotateRightOutlined-DqyspFCO.js → RotateRightOutlined-CYlCNRvD.js} +1 -1
- package/dist-lib/{Table-J_7eBbi7.js → Table-D1RvQXGM.js} +9 -9
- package/dist-lib/{accessAk-CA30m5eX.js → accessAk-DlxcvD0O.js} +1 -1
- package/dist-lib/{agents-eZDKzePP.js → agents-CabJdV6W.js} +17 -17
- package/dist-lib/{ai-CNSn3-sd.js → ai-DZ6fqUyK.js} +1 -1
- package/dist-lib/{ai-chat-share-Yrqt_J6a.js → ai-chat-share-CYSU7UlK.js} +4 -4
- package/dist-lib/{ak-manage-DklVFT5I.js → ak-manage-MTp2UyyK.js} +12 -12
- package/dist-lib/{approval-B-bCSmfi.js → approval-F9OYS1Ov.js} +3 -3
- package/dist-lib/{approvals-B0ggYiyD.js → approvals-DDEl02-L.js} +2 -2
- package/dist-lib/{assistant-Of0mgMsM.js → assistant-CcC1rvys.js} +39 -39
- package/dist-lib/{assistant-history-DcyDhUzJ.js → assistant-history-fmy8IsJL.js} +5 -5
- package/dist-lib/{assistant-summary-CjLaTyFz.js → assistant-summary-kuK5-mku.js} +1 -1
- package/dist-lib/{audit-wDNCfmOy.js → audit-C0GYByqU.js} +1 -1
- package/dist-lib/{bios-CIwO1AUK.js → bios-_axkM_DR.js} +11 -11
- package/dist-lib/{callSuper-CpMOVGin.js → callSuper-CuPJalb0.js} +1 -1
- package/dist-lib/{category-9gqNseEa.js → category-BPLw60Ia.js} +1 -1
- package/dist-lib/{causal-CzAYukj9.js → causal-CcWolsb5.js} +5 -5
- package/dist-lib/{changelog-CQfIMS51.js → changelog-BQdmpq5H.js} +2 -2
- package/dist-lib/{changelog-sKJMQrlV.js → changelog-DC6nlUDh.js} +1 -1
- package/dist-lib/{chat-panel-BPbqKckR.js → chat-panel-CgpP4Xf5.js} +28 -28
- package/dist-lib/{code-space-D_ZE966E.js → code-space-CZ3CzVcA.js} +9 -9
- package/dist-lib/{colors-DpKdb8L-.js → colors-BsFEfaVs.js} +3 -3
- package/dist-lib/{community-CfWXxujB.js → community-D9mD_Tq1.js} +3 -3
- package/dist-lib/{community-9_7ExHcm.js → community-ESJc4qtl.js} +1 -1
- package/dist-lib/{community-material-page-Z_EZuBPl.js → community-material-page-Ct5uMwhv.js} +19 -19
- package/dist-lib/{connections-Bcqsp11M.js → connections-DrxmCfe3.js} +6 -6
- package/dist-lib/{createForOfIteratorHelper-CasBzL_Q.js → createForOfIteratorHelper-3K1vcDqi.js} +1 -1
- package/dist-lib/{detail-EyLdjGpX.js → detail-DXOJf57e.js} +37 -37
- package/dist-lib/{detail-CV6xp_Jp.js → detail-kPAVlzm3.js} +4 -4
- package/dist-lib/{detail-DioaWKWj.js → detail-lGslEB8s.js} +14 -14
- package/dist-lib/{development-CFcOIUKc.js → development-aLXXcLcF.js} +17 -17
- package/dist-lib/{downloads-DtV5hOQv.js → downloads-DFOEFvX6.js} +1 -1
- package/dist-lib/{edit-NtXUNj5N.js → edit-BbtVK23D.js} +88 -88
- package/dist-lib/{editor-KZhj-rwT.js → editor-DbLQFOUf.js} +16 -16
- package/dist-lib/{editor-page-BaxK_OYm.js → editor-page-B_H0fRAI.js} +13 -13
- package/dist-lib/{embed-mf8t3QXh.js → embed-BUaR8PAn.js} +3930 -3955
- package/dist-lib/embed.css +1 -1
- package/dist-lib/{evaluation-CZTpC9v3.js → evaluation-8Tx-3UQh.js} +2 -2
- package/dist-lib/{execution-B6HmOA2_.js → execution-Dz5dBEFl.js} +13 -13
- package/dist-lib/{graph-DHV-rdiK.js → graph-DacHEbKr.js} +5 -5
- package/dist-lib/{index-BoCtPJD4.js → index-B6G8CZ1v.js} +130 -130
- package/dist-lib/{index-DKAGVWMX.js → index-BDWjubAD.js} +6 -6
- package/dist-lib/{index-Bw4M9KLv.js → index-BI-rknta.js} +75 -75
- package/dist-lib/{index-QZ9JPfVR.js → index-BLGPH51v.js} +4 -4
- package/dist-lib/{index-BsoHetYT.js → index-BMv3kGDG.js} +20 -20
- package/dist-lib/{index-DgfIEgir.js → index-BOB3j3H_.js} +1 -1
- package/dist-lib/{index-BPbOPT2j.js → index-BU2GXuww.js} +2 -2
- package/dist-lib/{index-DU6bO95v.js → index-BWmgE7bB.js} +88 -88
- package/dist-lib/{index-CLhLA2ig.js → index-Be_iqVpx.js} +78 -78
- package/dist-lib/{index-CwyFMPcr.js → index-Bf8IQq4A.js} +15 -15
- package/dist-lib/{index-DGbjbjBY.js → index-Bi7O9pQv.js} +182 -182
- package/dist-lib/{index-BkTegt8T.js → index-Bt9F-2Fl.js} +100 -100
- package/dist-lib/{index-D6ns_Xmf.js → index-BtW_nQBU.js} +2 -2
- package/dist-lib/{index-CvxfA0ZK.js → index-BuGHtvxH.js} +16 -16
- package/dist-lib/{index-CtqUgNxs.js → index-CDxeB8C4.js} +24 -24
- package/dist-lib/{index-2SysmGHo.js → index-CNBwau86.js} +139 -139
- package/dist-lib/{index-BvJ35WL3.js → index-CS6H40rM.js} +15 -15
- package/dist-lib/{index--AI-htgA.js → index-CSoMwNHq.js} +45 -45
- package/dist-lib/{index-CgwK2maq.js → index-CdNxm2We.js} +38 -38
- package/dist-lib/{index-BqTsLClH.js → index-CjFA5T3K.js} +1 -1
- package/dist-lib/{index-3J47mTL1.js → index-D23tZfhi.js} +1 -1
- package/dist-lib/{index-BkJjYgKD.js → index-D7nLwQye.js} +486 -486
- package/dist-lib/{index-zXwXfn-X.js → index-DR9LGJpi.js} +23 -23
- package/dist-lib/{index-BEO8itgt.js → index-DTgboCiF.js} +13 -13
- package/dist-lib/{index-CSJA8wvL.js → index-Ddx6XQu5.js} +36 -36
- package/dist-lib/{index-C2CV4bte.js → index-Di2bQwQn.js} +2 -2
- package/dist-lib/{index-DhSCFLtV.js → index-DlqhOJnd.js} +98 -98
- package/dist-lib/{index-xQmDaKK3.js → index-GQGXGr9M.js} +1 -1
- package/dist-lib/{index-B7SfTpox.js → index-IB3GOib9.js} +8 -8
- package/dist-lib/{index-VeAMz0iC.js → index-Pcxp_AYe.js} +43 -43
- package/dist-lib/{index-CdJ5ggvp.js → index-QkktEus5.js} +17 -17
- package/dist-lib/{index-Bln3mJfp.js → index-fVCVIu8I.js} +2 -2
- package/dist-lib/{index-B5Roo82U.js → index-jHh-ITBK.js} +25 -25
- package/dist-lib/{index-DaMLYomP.js → index-keRQ37lH.js} +6 -6
- package/dist-lib/{index-CF0ucN_K.js → index-n6hK1r_G.js} +3 -3
- package/dist-lib/{index-Bd7AGv4a.js → index-qYfXuLnZ.js} +2 -2
- package/dist-lib/{index-B12ZggsE.js → index-yPMzsLHL.js} +3 -3
- package/dist-lib/index.js +1 -1
- package/dist-lib/{json-field-COcz5F2R.js → json-field-Bu-gFb6c.js} +2 -2
- package/dist-lib/{kb-form-modal-D9gnvXbE.js → kb-form-modal-DsXpXfNT.js} +20 -19
- package/dist-lib/{kbTeam-CorrPJFr.js → kbTeam-D8hsAHI5.js} +1 -1
- package/dist-lib/{knowledge-base-DJkjMFHW.js → knowledge-base-D2XMD7iI.js} +21 -20
- package/dist-lib/{knowledge-hub-DKiDlaZz.js → knowledge-hub-BoBR8-j-.js} +12 -12
- package/dist-lib/{login-56zv4aLO.js → login-B4C374Y_.js} +3 -3
- package/dist-lib/{markdown-lite-p1tiuSZM.js → markdown-lite-ROKlyMXg.js} +55 -55
- package/dist-lib/{material-DtPASeqq.js → material-CqtPqoZj.js} +1 -1
- package/dist-lib/{material-draft-markdown-281d5_GN.js → material-draft-markdown-BKlKt3pc.js} +2 -2
- package/dist-lib/{material-original-preview-CPGjdmbe.js → material-original-preview-pzANkVK5.js} +5 -5
- package/dist-lib/{material-workspace-model-QLsU5qUO.js → material-workspace-model-BUpogooV.js} +1 -1
- package/dist-lib/{member-Cz-OIdj9.js → member-CCTFfLDC.js} +1 -1
- package/dist-lib/{memory-reorganization-DgJnWIrW.js → memory-reorganization-CBTDCRhV.js} +1 -1
- package/dist-lib/{memory-spaces-D-orVNR7.js → memory-spaces-CZGIBlz2.js} +19 -19
- package/dist-lib/{message-D6FhzB7J.js → message-Chq3cAdy.js} +3 -3
- package/dist-lib/{message-C9gfvpGg.js → message-Rz7LvGMk.js} +1 -1
- package/dist-lib/{messages-cctmEVcG.js → messages-DciGawgR.js} +2 -2
- package/dist-lib/{meta-DT_O4zM9.js → meta-BWgVxZgd.js} +2 -2
- package/dist-lib/{metrics-BNeVcI8-.js → metrics-iWreq4IL.js} +2 -2
- package/dist-lib/{mobile-D8kZjfQU.js → mobile-CNrK04Ak.js} +2 -2
- package/dist-lib/{monitor-DexMYjzF.js → monitor-BpUJZCht.js} +3 -3
- package/dist-lib/{monitor-DTUyqumg.js → monitor-CaTKbDI1.js} +3 -3
- package/dist-lib/{my-access-DWBV6ohp.js → my-access-ZH5CWVGF.js} +3 -3
- package/dist-lib/{my-permissions-B-gJZQYM.js → my-permissions-edhi0lav.js} +4 -4
- package/dist-lib/{navigation-DVlyWnpD.js → navigation-2WdPUP2T.js} +1 -1
- package/dist-lib/{new-JmARyD88.js → new-Dq6mvU2w.js} +5 -5
- package/dist-lib/{ontology-B4rkO33J.js → ontology-BX6X1X2J.js} +5 -5
- package/dist-lib/{ontology-dataprep-BwD5TKs2.js → ontology-dataprep-BjMnFRBG.js} +1 -1
- package/dist-lib/{ontology-domains-zxFrjn0v.js → ontology-domains-B7AuwW8S.js} +63 -63
- package/dist-lib/{ontology-extract-iR_rXxFe.js → ontology-extract-FpJ6K8z6.js} +1 -1
- package/dist-lib/{ontology-extract-BHOxruRO.js → ontology-extract-wbvBwGZO.js} +22 -22
- package/dist-lib/{ontology-flow-CW0SzeK7.js → ontology-flow-CJsIvS35.js} +6 -6
- package/dist-lib/{ontology-flow-Dv5iQ20f.js → ontology-flow-Cgi8Fk-i.js} +3 -3
- package/dist-lib/{ontology-modeling-hakCluBi.js → ontology-modeling-C_6GvHBT.js} +33 -33
- package/dist-lib/{ontology-modeling-B9wswveh.js → ontology-modeling-CeDS1-FE.js} +2 -2
- package/dist-lib/{ontology-scenarios-DKnfydG6.js → ontology-scenarios-4Ar7Y8Kt.js} +11 -11
- package/dist-lib/{ontology-scenarios-C2kp7Rs-.js → ontology-scenarios-BaYN82pv.js} +392 -392
- package/dist-lib/{ontology-task-config-DmnWyCCB.js → ontology-task-config-CDt7NdIq.js} +1 -1
- package/dist-lib/{ontology-terms-BoNB-5ar.js → ontology-terms-CnFarWZX.js} +1 -1
- package/dist-lib/{ontology-terms-C-NhpcIZ.js → ontology-terms-CxTp2Dcq.js} +18 -18
- package/dist-lib/{permission-Dq1-AOQw.js → permission-CNqwhyF3.js} +2 -2
- package/dist-lib/{preset-DCNSE--Y.js → preset-CfByvcqu.js} +3 -3
- package/dist-lib/{progress-CZxOOnIs.js → progress-ImhDvynO.js} +2 -2
- package/dist-lib/{quota-oICQRHFU.js → quota-B38BWyPo.js} +7 -6
- package/dist-lib/{row-By17TCiW.js → row-DeVE0t_N.js} +2 -2
- package/dist-lib/{runs-DQTDpPaN.js → runs-ILSUwEOv.js} +6 -6
- package/dist-lib/{save-blob-CwCZE1Dn.js → save-blob-C5BbV45B.js} +2 -2
- package/dist-lib/{scenario-mapping-preview-sJtjgmry.js → scenario-mapping-preview-7v1SRE7V.js} +17 -17
- package/dist-lib/{scenario-simple-form-BvKSPFzw.js → scenario-simple-form-mFm6f2ho.js} +9 -9
- package/dist-lib/{schedule-CwkPPSuT.js → schedule-DzB9rZrm.js} +2 -2
- package/dist-lib/{script-gYJAFobb.js → script-CKdVDsYh.js} +14 -14
- package/dist-lib/{settings-CJd5Jj4y.js → settings-CaihqQtz.js} +71 -70
- package/dist-lib/{shared-DG5-VCDM.js → shared-B51Q5536.js} +1 -1
- package/dist-lib/{shared-utils-CFHws1DA.js → shared-utils-Ck5sql2m.js} +2 -2
- package/dist-lib/{skills-lxpJ5Lzx.js → skills-By3A0Dc1.js} +5 -5
- package/dist-lib/{source-selection-DJnQQckl.js → source-selection-sIKyG7xR.js} +1 -1
- package/dist-lib/{sources-C83LpCcV.js → sources-DvIMColY.js} +12 -12
- package/dist-lib/{style-B5THvtDY.js → style-BHQZmWlH.js} +8 -8
- package/dist-lib/{task-config-BNYoOb79.js → task-config-CoPFj_FN.js} +3 -3
- package/dist-lib/{tech-LuZvKDo6.js → tech-BJgEEFrT.js} +1 -1
- package/dist-lib/{templates-a-kbCamr.js → templates-CODaf2QI.js} +6 -6
- package/dist-lib/{tenant-login-COB-5h_2.js → tenant-login-DmN4qfah.js} +12 -12
- package/dist-lib/{tools-CrA6GrY6.js → tools-CyRz1Ofg.js} +4 -4
- package/dist-lib/use-current-tenant-otPCQ3X8.js +22 -0
- package/dist-lib/{use-domain-access-ehGJBGvU.js → use-domain-access-BuD99GTw.js} +1 -1
- package/dist-lib/{use-g6-graph-DfRnsBS6.js → use-g6-graph-C5h9frJM.js} +1 -1
- package/dist-lib/{use-graph-layers-CrhEeHfD.js → use-graph-layers-Cbd3Jggb.js} +9 -9
- package/dist-lib/{useBreakpoint-Cul9y9Cu.js → useBreakpoint-B8dF3ifo.js} +4 -4
- package/dist-lib/{useForm-B-dwOwJ8.js → useForm-BZkiMeaN.js} +6 -6
- package/dist-lib/{version-control-panel-mWXkC-uB.js → version-control-panel-HdMlbpbO.js} +1 -1
- package/dist-lib/{version-management-nPlG7wQO.js → version-management-BYoxw4GV.js} +2 -2
- package/dist-lib/{welcome-Cqv1-rXT.js → welcome-CMNXQf8J.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as a from "react";
|
|
2
2
|
import J, { useMemo as K } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { m as R, a as le } from "./useBreakpoint-
|
|
3
|
+
import { aS as Q, ap as L, a5 as y, a6 as Y, a7 as Z, an as k, ao as f, bI as ee, aq as te, aJ as ne } from "./embed-BUaR8PAn.js";
|
|
4
|
+
import { m as R, a as le } from "./useBreakpoint-B8dF3ifo.js";
|
|
5
5
|
const ie = {
|
|
6
6
|
xxl: 3,
|
|
7
7
|
xl: 3,
|
|
@@ -87,7 +87,7 @@ const de = (e, t) => {
|
|
|
87
87
|
bordered: m,
|
|
88
88
|
label: u,
|
|
89
89
|
content: d,
|
|
90
|
-
colon:
|
|
90
|
+
colon: E,
|
|
91
91
|
type: v,
|
|
92
92
|
styles: g
|
|
93
93
|
} = e, $ = o, {
|
|
@@ -114,7 +114,7 @@ const de = (e, t) => {
|
|
|
114
114
|
}, P(u) && /* @__PURE__ */ a.createElement("span", {
|
|
115
115
|
style: h,
|
|
116
116
|
className: y(`${t}-item-label`, i == null ? void 0 : i.label, {
|
|
117
|
-
[`${t}-item-no-colon`]: !
|
|
117
|
+
[`${t}-item-no-colon`]: !E
|
|
118
118
|
})
|
|
119
119
|
}, u), P(d) && /* @__PURE__ */ a.createElement("span", {
|
|
120
120
|
style: r,
|
|
@@ -135,7 +135,7 @@ function z(e, {
|
|
|
135
135
|
styles: d
|
|
136
136
|
}) {
|
|
137
137
|
return e.map(({
|
|
138
|
-
label:
|
|
138
|
+
label: E,
|
|
139
139
|
children: v,
|
|
140
140
|
prefixCls: g = o,
|
|
141
141
|
className: $,
|
|
@@ -158,7 +158,7 @@ function z(e, {
|
|
|
158
158
|
component: l,
|
|
159
159
|
itemPrefixCls: g,
|
|
160
160
|
bordered: n,
|
|
161
|
-
label: s ?
|
|
161
|
+
label: s ? E : null,
|
|
162
162
|
content: b ? v : null,
|
|
163
163
|
type: c
|
|
164
164
|
}) : [/* @__PURE__ */ a.createElement(M, {
|
|
@@ -170,7 +170,7 @@ function z(e, {
|
|
|
170
170
|
component: l[0],
|
|
171
171
|
itemPrefixCls: g,
|
|
172
172
|
bordered: n,
|
|
173
|
-
label:
|
|
173
|
+
label: E,
|
|
174
174
|
type: "label"
|
|
175
175
|
}), /* @__PURE__ */ a.createElement(M, {
|
|
176
176
|
key: `content-${C || N}`,
|
|
@@ -426,7 +426,7 @@ const T = (e) => {
|
|
|
426
426
|
children: m,
|
|
427
427
|
className: u,
|
|
428
428
|
rootClassName: d,
|
|
429
|
-
style:
|
|
429
|
+
style: E,
|
|
430
430
|
size: v,
|
|
431
431
|
labelStyle: g,
|
|
432
432
|
contentStyle: $,
|
|
@@ -442,14 +442,14 @@ const T = (e) => {
|
|
|
442
442
|
styles: x
|
|
443
443
|
} = te("descriptions"), O = C("descriptions", t), _ = le();
|
|
444
444
|
if (process.env.NODE_ENV !== "production") {
|
|
445
|
-
const
|
|
445
|
+
const S = L("Descriptions");
|
|
446
446
|
[["labelStyle", "styles={{ label: {} }}"], ["contentStyle", "styles={{ content: {} }}"]].forEach(([w, q]) => {
|
|
447
|
-
|
|
447
|
+
S.deprecated(!(w in e), w, q);
|
|
448
448
|
});
|
|
449
449
|
}
|
|
450
450
|
const H = a.useMemo(() => {
|
|
451
|
-
var
|
|
452
|
-
return typeof l == "number" ? l : (
|
|
451
|
+
var S;
|
|
452
|
+
return typeof l == "number" ? l : (S = R(_, Object.assign(Object.assign({}, ie), l))) !== null && S !== void 0 ? S : 3;
|
|
453
453
|
}, [_, l]), G = se(_, h, m), B = ne(v), V = de(H, G), [A, X, F] = fe(O), U = a.useMemo(() => ({
|
|
454
454
|
labelStyle: g,
|
|
455
455
|
contentStyle: $,
|
|
@@ -470,7 +470,7 @@ const T = (e) => {
|
|
|
470
470
|
[`${O}-bordered`]: !!s,
|
|
471
471
|
[`${O}-rtl`]: p === "rtl"
|
|
472
472
|
}, u, d, X, F),
|
|
473
|
-
style: Object.assign(Object.assign(Object.assign(Object.assign({}, W), x.root), i == null ? void 0 : i.root),
|
|
473
|
+
style: Object.assign(Object.assign(Object.assign(Object.assign({}, W), x.root), i == null ? void 0 : i.root), E)
|
|
474
474
|
}, I), (o || n) && /* @__PURE__ */ a.createElement("div", {
|
|
475
475
|
className: y(`${O}-header`, j.header, r == null ? void 0 : r.header),
|
|
476
476
|
style: Object.assign(Object.assign({}, x.header), i == null ? void 0 : i.header)
|
|
@@ -482,14 +482,14 @@ const T = (e) => {
|
|
|
482
482
|
style: Object.assign(Object.assign({}, x.extra), i == null ? void 0 : i.extra)
|
|
483
483
|
}, n)), /* @__PURE__ */ a.createElement("div", {
|
|
484
484
|
className: `${O}-view`
|
|
485
|
-
}, /* @__PURE__ */ a.createElement("table", null, /* @__PURE__ */ a.createElement("tbody", null, V.map((
|
|
485
|
+
}, /* @__PURE__ */ a.createElement("table", null, /* @__PURE__ */ a.createElement("tbody", null, V.map((S, w) => /* @__PURE__ */ a.createElement(be, {
|
|
486
486
|
key: w,
|
|
487
487
|
index: w,
|
|
488
488
|
colon: c,
|
|
489
489
|
prefixCls: O,
|
|
490
490
|
vertical: b === "vertical",
|
|
491
491
|
bordered: s,
|
|
492
|
-
row:
|
|
492
|
+
row: S
|
|
493
493
|
}))))))));
|
|
494
494
|
};
|
|
495
495
|
process.env.NODE_ENV !== "production" && (T.displayName = "Descriptions");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as c from "react";
|
|
2
2
|
import { useMemo as rt, useRef as U } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { g as ct, i as dt } from "./colors-
|
|
3
|
+
import { a6 as it, bS as T, a7 as xt, an as at, ao as E, a8 as Y, a5 as w, ba as lt, as as wt } from "./embed-BUaR8PAn.js";
|
|
4
|
+
import { g as ct, i as dt } from "./colors-BsFEfaVs.js";
|
|
5
5
|
const Et = new T("antStatusProcessing", {
|
|
6
6
|
"0%": {
|
|
7
7
|
transform: "scale(0.8)",
|
|
@@ -54,7 +54,7 @@ const Et = new T("antStatusProcessing", {
|
|
|
54
54
|
}), Bt = (t) => {
|
|
55
55
|
const {
|
|
56
56
|
componentCls: e,
|
|
57
|
-
iconCls:
|
|
57
|
+
iconCls: i,
|
|
58
58
|
antCls: n,
|
|
59
59
|
badgeShadowSize: o,
|
|
60
60
|
textFontSize: d,
|
|
@@ -139,7 +139,7 @@ const Et = new T("antStatusProcessing", {
|
|
|
139
139
|
insetInlineEnd: 0,
|
|
140
140
|
transform: "translate(50%, -50%)",
|
|
141
141
|
transformOrigin: "100% 0%",
|
|
142
|
-
[`&${
|
|
142
|
+
[`&${i}-spin`]: {
|
|
143
143
|
animationName: zt,
|
|
144
144
|
animationDuration: "1s",
|
|
145
145
|
animationIterationCount: "infinite",
|
|
@@ -269,10 +269,10 @@ const Et = new T("antStatusProcessing", {
|
|
|
269
269
|
}, ut = (t) => {
|
|
270
270
|
const {
|
|
271
271
|
fontHeight: e,
|
|
272
|
-
lineWidth:
|
|
272
|
+
lineWidth: i,
|
|
273
273
|
marginXS: n,
|
|
274
274
|
colorBorderBg: o
|
|
275
|
-
} = t, d = e, a =
|
|
275
|
+
} = t, d = e, a = i, $ = t.colorTextLightSolid, v = t.colorError, C = t.colorErrorHover;
|
|
276
276
|
return xt(t, {
|
|
277
277
|
badgeFontHeight: d,
|
|
278
278
|
badgeShadowSize: a,
|
|
@@ -289,13 +289,13 @@ const Et = new T("antStatusProcessing", {
|
|
|
289
289
|
}, mt = (t) => {
|
|
290
290
|
const {
|
|
291
291
|
fontSize: e,
|
|
292
|
-
lineHeight:
|
|
292
|
+
lineHeight: i,
|
|
293
293
|
fontSizeSM: n,
|
|
294
294
|
lineWidth: o
|
|
295
295
|
} = t;
|
|
296
296
|
return {
|
|
297
297
|
indicatorZIndex: "auto",
|
|
298
|
-
indicatorHeight: Math.round(e *
|
|
298
|
+
indicatorHeight: Math.round(e * i) - 2 * o,
|
|
299
299
|
indicatorHeightSM: e,
|
|
300
300
|
dotSize: n / 2,
|
|
301
301
|
textFontSize: n,
|
|
@@ -303,13 +303,13 @@ const Et = new T("antStatusProcessing", {
|
|
|
303
303
|
textFontWeight: "normal",
|
|
304
304
|
statusSize: n / 2
|
|
305
305
|
};
|
|
306
|
-
}, Rt =
|
|
306
|
+
}, Rt = it("Badge", (t) => {
|
|
307
307
|
const e = ut(t);
|
|
308
308
|
return Bt(e);
|
|
309
309
|
}, mt), Dt = (t) => {
|
|
310
310
|
const {
|
|
311
311
|
antCls: e,
|
|
312
|
-
badgeFontHeight:
|
|
312
|
+
badgeFontHeight: i,
|
|
313
313
|
marginXS: n,
|
|
314
314
|
badgeRibbonOffset: o,
|
|
315
315
|
calc: d
|
|
@@ -330,7 +330,7 @@ const Et = new T("antStatusProcessing", {
|
|
|
330
330
|
top: n,
|
|
331
331
|
padding: `0 ${E(t.paddingXS)}`,
|
|
332
332
|
color: t.colorPrimary,
|
|
333
|
-
lineHeight: E(
|
|
333
|
+
lineHeight: E(i),
|
|
334
334
|
whiteSpace: "nowrap",
|
|
335
335
|
backgroundColor: t.colorPrimary,
|
|
336
336
|
borderRadius: t.borderRadiusSM,
|
|
@@ -373,13 +373,13 @@ const Et = new T("antStatusProcessing", {
|
|
|
373
373
|
}
|
|
374
374
|
})
|
|
375
375
|
};
|
|
376
|
-
}, Wt =
|
|
376
|
+
}, Wt = it(["Badge", "Ribbon"], (t) => {
|
|
377
377
|
const e = ut(t);
|
|
378
378
|
return Dt(e);
|
|
379
379
|
}, mt), bt = (t) => {
|
|
380
380
|
const {
|
|
381
381
|
className: e,
|
|
382
|
-
prefixCls:
|
|
382
|
+
prefixCls: i,
|
|
383
383
|
style: n,
|
|
384
384
|
color: o,
|
|
385
385
|
children: d,
|
|
@@ -389,7 +389,7 @@ const Et = new T("antStatusProcessing", {
|
|
|
389
389
|
} = t, {
|
|
390
390
|
getPrefixCls: C,
|
|
391
391
|
direction: l
|
|
392
|
-
} = c.useContext(Y), r = C("ribbon",
|
|
392
|
+
} = c.useContext(Y), r = C("ribbon", i), m = `${r}-wrapper`, [g, u, h] = Wt(r, m), f = dt(o, !1), y = w(r, `${r}-placement-${$}`, {
|
|
393
393
|
[`${r}-rtl`]: l === "rtl",
|
|
394
394
|
[`${r}-color-${o}`]: f
|
|
395
395
|
}, e), b = {}, N = {};
|
|
@@ -406,10 +406,10 @@ const Et = new T("antStatusProcessing", {
|
|
|
406
406
|
}))));
|
|
407
407
|
};
|
|
408
408
|
process.env.NODE_ENV !== "production" && (bt.displayName = "Ribbon");
|
|
409
|
-
const
|
|
409
|
+
const st = (t) => {
|
|
410
410
|
const {
|
|
411
411
|
prefixCls: e,
|
|
412
|
-
value:
|
|
412
|
+
value: i,
|
|
413
413
|
current: n,
|
|
414
414
|
offset: o = 0
|
|
415
415
|
} = t;
|
|
@@ -423,20 +423,20 @@ const it = (t) => {
|
|
|
423
423
|
className: w(`${e}-only-unit`, {
|
|
424
424
|
current: n
|
|
425
425
|
})
|
|
426
|
-
},
|
|
426
|
+
}, i);
|
|
427
427
|
};
|
|
428
|
-
function Ft(t, e,
|
|
428
|
+
function Ft(t, e, i) {
|
|
429
429
|
let n = t, o = 0;
|
|
430
430
|
for (; (n + 10) % 10 !== e; )
|
|
431
|
-
n +=
|
|
431
|
+
n += i, o += i;
|
|
432
432
|
return o;
|
|
433
433
|
}
|
|
434
434
|
const Ht = (t) => {
|
|
435
435
|
const {
|
|
436
436
|
prefixCls: e,
|
|
437
|
-
count:
|
|
437
|
+
count: i,
|
|
438
438
|
value: n
|
|
439
|
-
} = t, o = Number(n), d = Math.abs(
|
|
439
|
+
} = t, o = Number(n), d = Math.abs(i), [a, $] = c.useState(o), [v, C] = c.useState(d), l = () => {
|
|
440
440
|
$(o), C(d);
|
|
441
441
|
};
|
|
442
442
|
c.useEffect(() => {
|
|
@@ -445,7 +445,7 @@ const Ht = (t) => {
|
|
|
445
445
|
}, [o]);
|
|
446
446
|
let r, m;
|
|
447
447
|
if (a === o || Number.isNaN(o) || Number.isNaN(a))
|
|
448
|
-
r = [/* @__PURE__ */ c.createElement(
|
|
448
|
+
r = [/* @__PURE__ */ c.createElement(st, Object.assign({}, t, {
|
|
449
449
|
key: o,
|
|
450
450
|
current: !0
|
|
451
451
|
}))], m = {
|
|
@@ -459,7 +459,7 @@ const Ht = (t) => {
|
|
|
459
459
|
const h = v < d ? 1 : -1, f = u.findIndex((b) => b % 10 === a);
|
|
460
460
|
r = (h < 0 ? u.slice(0, f + 1) : u.slice(f)).map((b, N) => {
|
|
461
461
|
const H = b % 10;
|
|
462
|
-
return /* @__PURE__ */ c.createElement(
|
|
462
|
+
return /* @__PURE__ */ c.createElement(st, Object.assign({}, t, {
|
|
463
463
|
key: b,
|
|
464
464
|
value: H,
|
|
465
465
|
offset: h < 0 ? N - f : N,
|
|
@@ -476,15 +476,15 @@ const Ht = (t) => {
|
|
|
476
476
|
}, r);
|
|
477
477
|
};
|
|
478
478
|
var _t = function(t, e) {
|
|
479
|
-
var
|
|
480
|
-
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (
|
|
479
|
+
var i = {};
|
|
480
|
+
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (i[n] = t[n]);
|
|
481
481
|
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(t); o < n.length; o++)
|
|
482
|
-
e.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[o]) && (
|
|
483
|
-
return
|
|
482
|
+
e.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[o]) && (i[n[o]] = t[n[o]]);
|
|
483
|
+
return i;
|
|
484
484
|
};
|
|
485
485
|
const Mt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
486
486
|
const {
|
|
487
|
-
prefixCls:
|
|
487
|
+
prefixCls: i,
|
|
488
488
|
count: n,
|
|
489
489
|
className: o,
|
|
490
490
|
motionClassName: d,
|
|
@@ -495,7 +495,7 @@ const Mt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
495
495
|
children: l
|
|
496
496
|
} = t, r = _t(t, ["prefixCls", "count", "className", "motionClassName", "style", "title", "show", "component", "children"]), {
|
|
497
497
|
getPrefixCls: m
|
|
498
|
-
} = c.useContext(Y), g = m("scroll-number",
|
|
498
|
+
} = c.useContext(Y), g = m("scroll-number", i), u = Object.assign(Object.assign({}, r), {
|
|
499
499
|
"data-show": v,
|
|
500
500
|
style: a,
|
|
501
501
|
className: w(g, o, d),
|
|
@@ -521,14 +521,14 @@ const Mt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
521
521
|
}), h);
|
|
522
522
|
});
|
|
523
523
|
var Zt = function(t, e) {
|
|
524
|
-
var
|
|
525
|
-
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (
|
|
524
|
+
var i = {};
|
|
525
|
+
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (i[n] = t[n]);
|
|
526
526
|
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(t); o < n.length; o++)
|
|
527
|
-
e.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[o]) && (
|
|
528
|
-
return
|
|
527
|
+
e.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[o]) && (i[n[o]] = t[n[o]]);
|
|
528
|
+
return i;
|
|
529
529
|
};
|
|
530
530
|
const Vt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
531
|
-
var
|
|
531
|
+
var i, n, o, d, a;
|
|
532
532
|
const {
|
|
533
533
|
prefixCls: $,
|
|
534
534
|
scrollNumberPrefixCls: v,
|
|
@@ -551,7 +551,7 @@ const Vt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
551
551
|
} = t, K = Zt(t, ["prefixCls", "scrollNumberPrefixCls", "children", "status", "text", "color", "count", "overflowCount", "dot", "size", "title", "offset", "style", "className", "rootClassName", "classNames", "styles", "showZero"]), {
|
|
552
552
|
getPrefixCls: G,
|
|
553
553
|
direction: _,
|
|
554
|
-
badge:
|
|
554
|
+
badge: s
|
|
555
555
|
} = c.useContext(Y), p = G("badge", $), [J, pt, vt] = Rt(p), M = g > u ? `${u}+` : g, z = M === "0" || M === 0 || r === "0" || r === 0, Q = g === null || z && !R, Z = (l != null || m != null) && Q, Ct = l != null || !z, B = h && !z, j = B ? "" : M, P = rt(() => ((j == null || j === "") && (r == null || r === "") || z && !R) && !B, [j, z, R, B, r]), k = U(g);
|
|
556
556
|
P || (k.current = g);
|
|
557
557
|
const I = k.current, tt = U(j);
|
|
@@ -560,16 +560,16 @@ const Vt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
560
560
|
P || (et.current = B);
|
|
561
561
|
const D = rt(() => {
|
|
562
562
|
if (!b)
|
|
563
|
-
return Object.assign(Object.assign({},
|
|
563
|
+
return Object.assign(Object.assign({}, s == null ? void 0 : s.style), N);
|
|
564
564
|
const O = {
|
|
565
565
|
marginTop: b[1]
|
|
566
566
|
};
|
|
567
|
-
return _ === "rtl" ? O.left = Number.parseInt(b[0], 10) : O.right = -Number.parseInt(b[0], 10), Object.assign(Object.assign(Object.assign({}, O),
|
|
568
|
-
}, [_, b, N,
|
|
567
|
+
return _ === "rtl" ? O.left = Number.parseInt(b[0], 10) : O.right = -Number.parseInt(b[0], 10), Object.assign(Object.assign(Object.assign({}, O), s == null ? void 0 : s.style), N);
|
|
568
|
+
}, [_, b, N, s == null ? void 0 : s.style]), $t = y ?? (typeof I == "string" || typeof I == "number" ? I : void 0), ot = !P && (r === 0 ? R : !!r && r !== !0), ht = ot ? /* @__PURE__ */ c.createElement("span", {
|
|
569
569
|
className: `${p}-status-text`
|
|
570
570
|
}, r) : null, yt = !I || typeof I != "object" ? void 0 : lt(I, (O) => ({
|
|
571
571
|
style: Object.assign(Object.assign({}, D), O.style)
|
|
572
|
-
})), W = dt(m, !1), St = w(x == null ? void 0 : x.indicator, (
|
|
572
|
+
})), W = dt(m, !1), St = w(x == null ? void 0 : x.indicator, (i = s == null ? void 0 : s.classNames) === null || i === void 0 ? void 0 : i.indicator, {
|
|
573
573
|
[`${p}-status-dot`]: Z,
|
|
574
574
|
[`${p}-status-${l}`]: !!l,
|
|
575
575
|
[`${p}-color-${m}`]: W
|
|
@@ -579,15 +579,15 @@ const Vt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
579
579
|
[`${p}-status`]: Z,
|
|
580
580
|
[`${p}-not-a-wrapper`]: !C,
|
|
581
581
|
[`${p}-rtl`]: _ === "rtl"
|
|
582
|
-
}, H, ft,
|
|
582
|
+
}, H, ft, s == null ? void 0 : s.className, (n = s == null ? void 0 : s.classNames) === null || n === void 0 ? void 0 : n.root, x == null ? void 0 : x.root, pt, vt);
|
|
583
583
|
if (!C && Z && (r || Ct || !Q)) {
|
|
584
584
|
const O = D.color;
|
|
585
585
|
return J(/* @__PURE__ */ c.createElement("span", Object.assign({}, K, {
|
|
586
586
|
className: nt,
|
|
587
|
-
style: Object.assign(Object.assign(Object.assign({}, S == null ? void 0 : S.root), (o =
|
|
587
|
+
style: Object.assign(Object.assign(Object.assign({}, S == null ? void 0 : S.root), (o = s == null ? void 0 : s.styles) === null || o === void 0 ? void 0 : o.root), D)
|
|
588
588
|
}), /* @__PURE__ */ c.createElement("span", {
|
|
589
589
|
className: St,
|
|
590
|
-
style: Object.assign(Object.assign(Object.assign({}, S == null ? void 0 : S.indicator), (d =
|
|
590
|
+
style: Object.assign(Object.assign(Object.assign({}, S == null ? void 0 : S.indicator), (d = s == null ? void 0 : s.styles) === null || d === void 0 ? void 0 : d.indicator), A)
|
|
591
591
|
}), ot && /* @__PURE__ */ c.createElement("span", {
|
|
592
592
|
style: {
|
|
593
593
|
color: O
|
|
@@ -599,7 +599,7 @@ const Vt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
599
599
|
ref: e
|
|
600
600
|
}, K, {
|
|
601
601
|
className: nt,
|
|
602
|
-
style: Object.assign(Object.assign({}, (a =
|
|
602
|
+
style: Object.assign(Object.assign({}, (a = s == null ? void 0 : s.styles) === null || a === void 0 ? void 0 : a.root), S == null ? void 0 : S.root)
|
|
603
603
|
}), C, /* @__PURE__ */ c.createElement(wt, {
|
|
604
604
|
visible: !P,
|
|
605
605
|
motionName: `${p}-zoom`,
|
|
@@ -609,7 +609,7 @@ const Vt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
609
609
|
className: O
|
|
610
610
|
}) => {
|
|
611
611
|
var L, q;
|
|
612
|
-
const Nt = G("scroll-number", v), X = et.current, Ot = w(x == null ? void 0 : x.indicator, (L =
|
|
612
|
+
const Nt = G("scroll-number", v), X = et.current, Ot = w(x == null ? void 0 : x.indicator, (L = s == null ? void 0 : s.classNames) === null || L === void 0 ? void 0 : L.indicator, {
|
|
613
613
|
[`${p}-dot`]: X,
|
|
614
614
|
[`${p}-count`]: !X,
|
|
615
615
|
[`${p}-count-sm`]: f === "small",
|
|
@@ -617,7 +617,7 @@ const Vt = /* @__PURE__ */ c.forwardRef((t, e) => {
|
|
|
617
617
|
[`${p}-status-${l}`]: !!l,
|
|
618
618
|
[`${p}-color-${m}`]: W
|
|
619
619
|
});
|
|
620
|
-
let F = Object.assign(Object.assign(Object.assign({}, S == null ? void 0 : S.indicator), (q =
|
|
620
|
+
let F = Object.assign(Object.assign(Object.assign({}, S == null ? void 0 : S.indicator), (q = s == null ? void 0 : s.styles) === null || q === void 0 ? void 0 : q.indicator), D);
|
|
621
621
|
return m && !W && (F = F || {}, F.background = m), /* @__PURE__ */ c.createElement(Mt, {
|
|
622
622
|
prefixCls: Nt,
|
|
623
623
|
show: !P,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as l, Fragment as
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as l, Fragment as K, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { bg as qe, a5 as F, bj as V, bf as Ae, a$ as ae, bG as Te, ao as c, bI as ot, a6 as He, a7 as Be, an as je, bs as lt, ap as Me, aS as Le, aq as at, aJ as ct, az as st, cO as dt, a8 as We, ag as mt, b2 as ut, aF as pt, r as fe, R as gt, aa as te, a as ht, A as ft, B as de, S as bt } from "./embed-BUaR8PAn.js";
|
|
3
3
|
import * as h from "react";
|
|
4
4
|
import Ne, { useState as G, useRef as k, useCallback as $t, useEffect as Oe } from "react";
|
|
5
|
-
import { T as x } from "./index-
|
|
6
|
-
import { D as g } from "./index-
|
|
7
|
-
import { T as ue } from "./index-
|
|
8
|
-
import { C as Ve } from "./Collapse-
|
|
9
|
-
import { M as St } from "./index-
|
|
10
|
-
import { A as pe } from "./index-
|
|
11
|
-
import { F as me } from "./index-
|
|
12
|
-
import { I as De } from "./index-
|
|
13
|
-
import { D as vt } from "./index-
|
|
14
|
-
import { S as It } from "./index-
|
|
15
|
-
import { a as yt } from "./useBreakpoint-
|
|
16
|
-
import { P as Ct } from "./progress-
|
|
17
|
-
import { T as Et } from "./index-
|
|
5
|
+
import { T as x } from "./index-BI-rknta.js";
|
|
6
|
+
import { D as g } from "./index-CS6H40rM.js";
|
|
7
|
+
import { T as ue } from "./index-CDxeB8C4.js";
|
|
8
|
+
import { C as Ve } from "./Collapse-D9XOithE.js";
|
|
9
|
+
import { M as St } from "./index-yPMzsLHL.js";
|
|
10
|
+
import { A as pe } from "./index-IB3GOib9.js";
|
|
11
|
+
import { F as me } from "./index-Bt9F-2Fl.js";
|
|
12
|
+
import { I as De } from "./index-CNBwau86.js";
|
|
13
|
+
import { D as vt } from "./index-DlqhOJnd.js";
|
|
14
|
+
import { S as It } from "./index-BLGPH51v.js";
|
|
15
|
+
import { a as yt } from "./useBreakpoint-B8dF3ifo.js";
|
|
16
|
+
import { P as Ct } from "./progress-ImhDvynO.js";
|
|
17
|
+
import { T as Et } from "./index-DR9LGJpi.js";
|
|
18
18
|
var Tt = ["className", "prefixCls", "style", "active", "status", "iconPrefix", "icon", "wrapperStyle", "stepNumber", "disabled", "description", "title", "subTitle", "progressDot", "stepIcon", "tailContent", "icons", "stepIndex", "onStepClick", "onClick", "render"];
|
|
19
19
|
function Pe(e) {
|
|
20
20
|
return typeof e == "string";
|
|
@@ -30,19 +30,19 @@ function Ue(e) {
|
|
|
30
30
|
(E === Te.ENTER || E === Te.SPACE) && I(D);
|
|
31
31
|
});
|
|
32
32
|
var X = function() {
|
|
33
|
-
var E, T, U = F("".concat(n, "-icon"), "".concat(p, "icon"), (E = {}, V(E, "".concat(p, "icon-").concat(u), u && Pe(u)), V(E, "".concat(p, "icon-check"), !u && a === "finish" && (S && !S.finish || !S)), V(E, "".concat(p, "icon-cross"), !u && a === "error" && (S && !S.error || !S)), E)),
|
|
33
|
+
var E, T, U = F("".concat(n, "-icon"), "".concat(p, "icon"), (E = {}, V(E, "".concat(p, "icon-").concat(u), u && Pe(u)), V(E, "".concat(p, "icon-check"), !u && a === "finish" && (S && !S.finish || !S)), V(E, "".concat(p, "icon-cross"), !u && a === "error" && (S && !S.error || !S)), E)), Y = /* @__PURE__ */ h.createElement("span", {
|
|
34
34
|
className: "".concat(n, "-icon-dot")
|
|
35
35
|
});
|
|
36
36
|
return C ? typeof C == "function" ? T = /* @__PURE__ */ h.createElement("span", {
|
|
37
37
|
className: "".concat(n, "-icon")
|
|
38
|
-
}, C(
|
|
38
|
+
}, C(Y, {
|
|
39
39
|
index: s - 1,
|
|
40
40
|
status: a,
|
|
41
41
|
title: b,
|
|
42
42
|
description: m
|
|
43
43
|
})) : T = /* @__PURE__ */ h.createElement("span", {
|
|
44
44
|
className: "".concat(n, "-icon")
|
|
45
|
-
},
|
|
45
|
+
}, Y) : u && !Pe(u) ? T = /* @__PURE__ */ h.createElement("span", {
|
|
46
46
|
className: "".concat(n, "-icon")
|
|
47
47
|
}, u) : S && S.finish && a === "finish" ? T = /* @__PURE__ */ h.createElement("span", {
|
|
48
48
|
className: "".concat(n, "-icon")
|
|
@@ -86,7 +86,7 @@ var Nt = ["prefixCls", "style", "className", "children", "direction", "type", "l
|
|
|
86
86
|
function be(e) {
|
|
87
87
|
var t, i = e.prefixCls, n = i === void 0 ? "rc-steps" : i, r = e.style, o = r === void 0 ? {} : r, a = e.className;
|
|
88
88
|
e.children;
|
|
89
|
-
var p = e.direction, u = p === void 0 ? "horizontal" : p, s = e.type, d = s === void 0 ? "default" : s, m = e.labelPlacement, b = m === void 0 ? "horizontal" : m, v = e.iconPrefix, C = v === void 0 ? "rc" : v, z = e.status, _ = z === void 0 ? "process" : z, S = e.size, D = e.current, I = D === void 0 ? 0 : D, P = e.progressDot, $ = P === void 0 ? !1 : P, N = e.stepIcon, R = e.initial, q = R === void 0 ? 0 : R, X = e.icons, y = e.onChange, w = e.itemRender, H = e.items, O = H === void 0 ? [] : H, j = qe(e, Nt), E = d === "navigation", T = d === "inline", U = T || $,
|
|
89
|
+
var p = e.direction, u = p === void 0 ? "horizontal" : p, s = e.type, d = s === void 0 ? "default" : s, m = e.labelPlacement, b = m === void 0 ? "horizontal" : m, v = e.iconPrefix, C = v === void 0 ? "rc" : v, z = e.status, _ = z === void 0 ? "process" : z, S = e.size, D = e.current, I = D === void 0 ? 0 : D, P = e.progressDot, $ = P === void 0 ? !1 : P, N = e.stepIcon, R = e.initial, q = R === void 0 ? 0 : R, X = e.icons, y = e.onChange, w = e.itemRender, H = e.items, O = H === void 0 ? [] : H, j = qe(e, Nt), E = d === "navigation", T = d === "inline", U = T || $, Y = T ? "horizontal" : u, Ce = T ? void 0 : S, et = U ? "vertical" : b, tt = F(n, "".concat(n, "-").concat(Y), a, (t = {}, V(t, "".concat(n, "-").concat(Ce), Ce), V(t, "".concat(n, "-label-").concat(et), Y === "horizontal"), V(t, "".concat(n, "-dot"), !!U), V(t, "".concat(n, "-navigation"), E), V(t, "".concat(n, "-inline"), T), t)), it = function(ie) {
|
|
90
90
|
y && I !== ie && y(ie);
|
|
91
91
|
}, nt = function(ie, Ee) {
|
|
92
92
|
var M = Ae({}, ie), Q = q + Ee;
|
|
@@ -1069,7 +1069,7 @@ function Ft(e, t) {
|
|
|
1069
1069
|
});
|
|
1070
1070
|
return Gt(i);
|
|
1071
1071
|
}
|
|
1072
|
-
var
|
|
1072
|
+
var Yt = function(e, t) {
|
|
1073
1073
|
var i = {};
|
|
1074
1074
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
|
|
1075
1075
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
|
|
@@ -1088,7 +1088,7 @@ const $e = (e) => {
|
|
|
1088
1088
|
current: u = 0,
|
|
1089
1089
|
children: s,
|
|
1090
1090
|
style: d
|
|
1091
|
-
} = e, m =
|
|
1091
|
+
} = e, m = Yt(e, ["percent", "size", "className", "rootClassName", "direction", "items", "responsive", "current", "children", "style"]), {
|
|
1092
1092
|
xs: b
|
|
1093
1093
|
} = yt(p), {
|
|
1094
1094
|
getPrefixCls: v,
|
|
@@ -1110,13 +1110,13 @@ const $e = (e) => {
|
|
|
1110
1110
|
status: U
|
|
1111
1111
|
}) => {
|
|
1112
1112
|
if (U === "process" && y !== void 0) {
|
|
1113
|
-
const
|
|
1113
|
+
const Y = D === "small" ? 32 : 40;
|
|
1114
1114
|
return /* @__PURE__ */ h.createElement("div", {
|
|
1115
1115
|
className: `${I}-progress-icon`
|
|
1116
1116
|
}, /* @__PURE__ */ h.createElement(Ct, {
|
|
1117
1117
|
type: "circle",
|
|
1118
1118
|
percent: y,
|
|
1119
|
-
size:
|
|
1119
|
+
size: Y,
|
|
1120
1120
|
strokeWidth: 4,
|
|
1121
1121
|
format: () => null
|
|
1122
1122
|
}), T);
|
|
@@ -1142,7 +1142,7 @@ const $e = (e) => {
|
|
|
1142
1142
|
};
|
|
1143
1143
|
$e.Step = be.Step;
|
|
1144
1144
|
process.env.NODE_ENV !== "production" && ($e.displayName = "Steps");
|
|
1145
|
-
const
|
|
1145
|
+
const Kt = (e) => {
|
|
1146
1146
|
const {
|
|
1147
1147
|
componentCls: t,
|
|
1148
1148
|
calc: i
|
|
@@ -1330,7 +1330,7 @@ const Yt = (e) => {
|
|
|
1330
1330
|
customHeadPaddingVertical: e.paddingXXS,
|
|
1331
1331
|
paddingInlineEnd: 2
|
|
1332
1332
|
});
|
|
1333
|
-
return
|
|
1333
|
+
return Kt(t);
|
|
1334
1334
|
}, Qt);
|
|
1335
1335
|
var Zt = function(e, t) {
|
|
1336
1336
|
var i = {};
|
|
@@ -1613,21 +1613,21 @@ const ze = {
|
|
|
1613
1613
|
APPROVE_PRODUCTION: { label: "批准发布生产", permission: "development.deploy.production", consequence: "目标环境:生产(PRODUCTION)。此操作将授权发布已验收的冻结分支与 commit,可能影响线上用户。" },
|
|
1614
1614
|
RETRY: { label: "重试", permission: "development.approve", consequence: "请求后端重试失败执行;具体可重试阶段由后端决定。" }
|
|
1615
1615
|
};
|
|
1616
|
-
function
|
|
1616
|
+
function Ye(e) {
|
|
1617
1617
|
return Object.prototype.hasOwnProperty.call(Z, e);
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1619
|
+
function Ke(e) {
|
|
1620
1620
|
return [...e.runs].sort((t, i) => i.createTime.localeCompare(t.createTime) || i.updateTime.localeCompare(t.updateTime))[0];
|
|
1621
1621
|
}
|
|
1622
1622
|
function Qe(e, t) {
|
|
1623
1623
|
var i;
|
|
1624
|
-
return t === "APPROVE_PRODUCTION" || t === "RETRY" && ((i =
|
|
1624
|
+
return t === "APPROVE_PRODUCTION" || t === "RETRY" && ((i = Ke(e)) == null ? void 0 : i.stage) === "PRODUCTION";
|
|
1625
1625
|
}
|
|
1626
1626
|
function he(e, t) {
|
|
1627
|
-
return [...new Set(e.allowedActions)].filter(
|
|
1627
|
+
return [...new Set(e.allowedActions)].filter(Ye).filter((i) => {
|
|
1628
1628
|
var r;
|
|
1629
1629
|
if (i !== "RETRY") return t(Z[i].permission);
|
|
1630
|
-
const n = (r =
|
|
1630
|
+
const n = (r = Ke(e)) == null ? void 0 : r.stage;
|
|
1631
1631
|
return n === "PRODUCTION" ? t("development.deploy.production") : n === "DEV" ? t("development.deploy.dev") : n === "DEVELOPMENT" && t("development.approve");
|
|
1632
1632
|
});
|
|
1633
1633
|
}
|
|
@@ -1758,7 +1758,7 @@ function di({ run: e }) {
|
|
|
1758
1758
|
/* @__PURE__ */ l(g.Item, { label: "DSH session", children: /* @__PURE__ */ l(W, { value: i }) }),
|
|
1759
1759
|
/* @__PURE__ */ l(g.Item, { label: "DSH call", children: /* @__PURE__ */ l(W, { value: n }) })
|
|
1760
1760
|
] }),
|
|
1761
|
-
(e.stage === "DEVELOPMENT" || t.branches.length > 0) && /* @__PURE__ */ f(
|
|
1761
|
+
(e.stage === "DEVELOPMENT" || t.branches.length > 0) && /* @__PURE__ */ f(K, { children: [
|
|
1762
1762
|
/* @__PURE__ */ l("h4", { children: "分支与提交" }),
|
|
1763
1763
|
/* @__PURE__ */ l(ke, { branches: t.branches }),
|
|
1764
1764
|
/* @__PURE__ */ l("h4", { children: "测试执行证据" }),
|
|
@@ -1769,7 +1769,7 @@ function di({ run: e }) {
|
|
|
1769
1769
|
/* @__PURE__ */ l(g.Item, { label: "SHA-256", children: /* @__PURE__ */ l(W, { value: r.sha256 }) })
|
|
1770
1770
|
] }, o))
|
|
1771
1771
|
] }),
|
|
1772
|
-
(e.stage !== "DEVELOPMENT" || t.deployments.length > 0) && /* @__PURE__ */ f(
|
|
1772
|
+
(e.stage !== "DEVELOPMENT" || t.deployments.length > 0) && /* @__PURE__ */ f(K, { children: [
|
|
1773
1773
|
/* @__PURE__ */ f("h4", { children: [
|
|
1774
1774
|
"发布记录 · ",
|
|
1775
1775
|
_e(e.stage)
|
|
@@ -1790,7 +1790,7 @@ function di({ run: e }) {
|
|
|
1790
1790
|
] });
|
|
1791
1791
|
}
|
|
1792
1792
|
function mi({ runs: e }) {
|
|
1793
|
-
return e.length ? /* @__PURE__ */ l(
|
|
1793
|
+
return e.length ? /* @__PURE__ */ l(K, { children: [...e].sort((t, i) => i.createTime.localeCompare(t.createTime)).map((t) => /* @__PURE__ */ l(di, { run: t }, t.code)) }) : /* @__PURE__ */ l(te, { image: te.PRESENTED_IMAGE_SIMPLE, description: "尚无执行记录" });
|
|
1794
1794
|
}
|
|
1795
1795
|
function ui({ pending: e, busy: t, error: i, stale: n, onCancel: r, onSubmit: o }) {
|
|
1796
1796
|
const [a, p] = G(""), [u, s] = G(""), { action: d, issue: m } = e, b = Qe(m, d), v = Z[d];
|
|
@@ -1838,7 +1838,7 @@ function B(e) {
|
|
|
1838
1838
|
function pi({ context: e }) {
|
|
1839
1839
|
if (!e || Object.keys(e).length === 0) return /* @__PURE__ */ l(x.Text, { type: "secondary", children: "未附带诊断上下文" });
|
|
1840
1840
|
const t = Array.isArray(e.events) ? e.events.filter(J) : [], i = J(e.viewport) ? e.viewport : null, n = { runtime: "运行时异常", unhandledrejection: "未处理的异步异常", resource: "资源加载失败", http: "接口失败" };
|
|
1841
|
-
return /* @__PURE__ */ f(
|
|
1841
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
1842
1842
|
/* @__PURE__ */ f(g, { column: 1, size: "small", children: [
|
|
1843
1843
|
/* @__PURE__ */ l(g.Item, { label: "采集时间", children: B(e.capturedAt) }),
|
|
1844
1844
|
/* @__PURE__ */ l(g.Item, { label: "页面路径", children: B(e.route) }),
|
|
@@ -1863,7 +1863,7 @@ function pi({ context: e }) {
|
|
|
1863
1863
|
}
|
|
1864
1864
|
function gi({ issue: e }) {
|
|
1865
1865
|
const t = ci(e), i = Fe(e.status) ? "每 5 秒刷新执行状态" : e.status === "CLOSED" || e.status === "REJECTED" ? "流程已结束,可手动刷新" : t < 0 ? "请查看执行记录,可手动刷新" : "在此卡点等待人工处理,可手动刷新";
|
|
1866
|
-
return /* @__PURE__ */ f(
|
|
1866
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
1867
1867
|
/* @__PURE__ */ f("section", { className: "development-section", children: [
|
|
1868
1868
|
/* @__PURE__ */ f("div", { className: "development-section-heading", children: [
|
|
1869
1869
|
/* @__PURE__ */ l(x.Title, { level: 4, children: e.title }),
|
|
@@ -1911,8 +1911,8 @@ function gi({ issue: e }) {
|
|
|
1911
1911
|
] }),
|
|
1912
1912
|
/* @__PURE__ */ f("section", { className: "development-section", children: [
|
|
1913
1913
|
/* @__PURE__ */ l("h3", { children: "历史人工决策" }),
|
|
1914
|
-
e.history.length ? /* @__PURE__ */ l(Se, { items: e.history.map((n) => ({ children: /* @__PURE__ */ f(
|
|
1915
|
-
/* @__PURE__ */ l(x.Text, { strong: !0, children:
|
|
1914
|
+
e.history.length ? /* @__PURE__ */ l(Se, { items: e.history.map((n) => ({ children: /* @__PURE__ */ f(K, { children: [
|
|
1915
|
+
/* @__PURE__ */ l(x.Text, { strong: !0, children: Ye(n.action) ? Z[n.action].label : n.action }),
|
|
1916
1916
|
/* @__PURE__ */ f("p", { children: [
|
|
1917
1917
|
n.at,
|
|
1918
1918
|
" · 操作人 ",
|
|
@@ -1926,7 +1926,7 @@ function gi({ issue: e }) {
|
|
|
1926
1926
|
function zi({ code: e, onClose: t, onChanged: i }) {
|
|
1927
1927
|
var s;
|
|
1928
1928
|
const n = ht(), { message: r } = ft.useApp(), o = (d) => !n.loading && n.can(d), a = si(e, o, i), p = a.issue ? he(a.issue, o) : [], u = !!(a.pending && (a.conflict || a.pending.issue.version !== ((s = a.issue) == null ? void 0 : s.version) || !p.includes(a.pending.action)));
|
|
1929
|
-
return /* @__PURE__ */ f(
|
|
1929
|
+
return /* @__PURE__ */ f(K, { children: [
|
|
1930
1930
|
/* @__PURE__ */ f(
|
|
1931
1931
|
vt,
|
|
1932
1932
|
{
|
|
@@ -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-BUaR8PAn.js";
|
|
4
4
|
function Y({
|
|
5
5
|
target: l,
|
|
6
6
|
onClose: r,
|