@customize-agent/server 4.0.19 → 4.0.20
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +18 -18
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/asset-library.html +1 -1
- package/.next/server/pages/context/long-term.html +1 -1
- package/.next/server/pages/context/short-term.html +1 -1
- package/.next/server/pages/document-roles.html +1 -1
- package/.next/server/pages/document-specs.html +1 -1
- package/.next/server/pages/documents.html +1 -1
- package/.next/server/pages/guide.html +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/knowledge/file-detail.html +1 -1
- package/.next/server/pages/knowledge/files.html +1 -1
- package/.next/server/pages/knowledge/manage.html +1 -1
- package/.next/server/pages/knowledge/search.html +1 -1
- package/.next/server/pages/knowledge.html +1 -1
- package/.next/server/pages/models.html +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/prompt.html +1 -1
- package/.next/server/pages/settings.html +1 -1
- package/.next/server/pages/system/logs.html +1 -1
- package/.next/server/pages-manifest.json +28 -28
- package/.next/static/2yJF145BHLlGlhyHDMt8X/_buildManifest.js +1 -0
- package/.next/static/chunks/131-907e8df9052564a3.js +1 -0
- package/.next/static/chunks/{150-134099bf526e9292.js → 150-8039a46df62c9b21.js} +2 -2
- package/.next/static/chunks/412-03a4cc00655c0ec0.js +1 -0
- package/.next/static/chunks/698-c87adab5a75148d5.js +1 -0
- package/.next/static/chunks/788-db05269178a28c20.js +1 -0
- package/.next/static/chunks/pages/document-roles-fb9e3ce4719fda9b.js +1 -0
- package/.next/static/chunks/pages/documents-a21e4c98480b1a95.js +1 -0
- package/.next/static/chunks/pages/guide-6c680688d15f6200.js +1 -0
- package/.next/static/chunks/pages/overview-96cebf2b8f4a5d4d.js +1 -0
- package/.next/static/chunks/pages/prompt-3661b18672ac6e6f.js +1 -0
- package/package.json +3 -3
- package/.next/static/L8VozJMjOhfyjhAlVliVF/_buildManifest.js +0 -1
- package/.next/static/chunks/131-e2f0164f12b82496.js +0 -1
- package/.next/static/chunks/412-b9c854c6a76db67d.js +0 -1
- package/.next/static/chunks/698-5f16390243596219.js +0 -1
- package/.next/static/chunks/788-7f7359a830e3f4fd.js +0 -1
- package/.next/static/chunks/pages/document-roles-7197641736843503.js +0 -1
- package/.next/static/chunks/pages/documents-3b2f23e2d6b27f1b.js +0 -1
- package/.next/static/chunks/pages/guide-cdf68a096918c979.js +0 -1
- package/.next/static/chunks/pages/overview-28c7ceeca56e6a78.js +0 -1
- package/.next/static/chunks/pages/prompt-3be228b7b80373ca.js +0 -1
- /package/.next/static/{L8VozJMjOhfyjhAlVliVF → 2yJF145BHLlGlhyHDMt8X}/_ssgManifest.js +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
{
|
|
2
2
|
"/_app": "pages/_app.js",
|
|
3
3
|
"/api/assets/generated/preview": "pages/api/assets/generated/preview.js",
|
|
4
|
-
"/api/assets/generated": "pages/api/assets/generated.js",
|
|
5
4
|
"/api/config/embedding/healthCheck": "pages/api/config/embedding/healthCheck.js",
|
|
5
|
+
"/api/assets/generated": "pages/api/assets/generated.js",
|
|
6
6
|
"/api/config/models": "pages/api/config/models.js",
|
|
7
7
|
"/api/context": "pages/api/context.js",
|
|
8
8
|
"/api/documents/chapter/regenerate": "pages/api/documents/chapter/regenerate.js",
|
|
9
|
-
"/api/documents/drafts": "pages/api/documents/drafts.js",
|
|
10
|
-
"/api/documents/generate": "pages/api/documents/generate.js",
|
|
11
9
|
"/api/documents/generated": "pages/api/documents/generated.js",
|
|
10
|
+
"/api/documents/roles": "pages/api/documents/roles.js",
|
|
12
11
|
"/api/documents/specs": "pages/api/documents/specs.js",
|
|
12
|
+
"/api/documents/drafts": "pages/api/documents/drafts.js",
|
|
13
13
|
"/api/documents/generated/[id]": "pages/api/documents/generated/[id].js",
|
|
14
|
-
"/api/documents/roles": "pages/api/documents/roles.js",
|
|
15
14
|
"/api/health": "pages/api/health.js",
|
|
16
|
-
"/api/
|
|
15
|
+
"/api/documents/generate": "pages/api/documents/generate.js",
|
|
17
16
|
"/api/documents/templates": "pages/api/documents/templates.js",
|
|
17
|
+
"/api/jobs/[id]": "pages/api/jobs/[id].js",
|
|
18
18
|
"/api/kb/categories": "pages/api/kb/categories.js",
|
|
19
19
|
"/api/kb/duplicates": "pages/api/kb/duplicates.js",
|
|
20
|
-
"/api/jobs": "pages/api/jobs.js",
|
|
21
|
-
"/api/kb/files/detail": "pages/api/kb/files/detail.js",
|
|
22
20
|
"/api/kb/features": "pages/api/kb/features.js",
|
|
23
|
-
"/api/
|
|
21
|
+
"/api/jobs": "pages/api/jobs.js",
|
|
24
22
|
"/api/kb/files/open": "pages/api/kb/files/open.js",
|
|
25
|
-
"/api/kb/
|
|
26
|
-
"/api/kb/operations": "pages/api/kb/operations.js",
|
|
23
|
+
"/api/kb/files": "pages/api/kb/files.js",
|
|
27
24
|
"/api/kb/files/reindex": "pages/api/kb/files/reindex.js",
|
|
28
|
-
"/api/kb/
|
|
25
|
+
"/api/kb/ignore": "pages/api/kb/ignore.js",
|
|
26
|
+
"/api/kb/files/detail": "pages/api/kb/files/detail.js",
|
|
29
27
|
"/api/kb/search": "pages/api/kb/search.js",
|
|
30
28
|
"/api/kb/reindex": "pages/api/kb/reindex.js",
|
|
31
|
-
"/api/kb/
|
|
29
|
+
"/api/kb/operations": "pages/api/kb/operations.js",
|
|
30
|
+
"/api/kb/stats": "pages/api/kb/stats.js",
|
|
32
31
|
"/api/kb/upload/progress": "pages/api/kb/upload/progress.js",
|
|
33
|
-
"/api/
|
|
32
|
+
"/api/kb/tags": "pages/api/kb/tags.js",
|
|
34
33
|
"/api/prompt": "pages/api/prompt.js",
|
|
35
|
-
"/api/system/stats": "pages/api/system/stats.js",
|
|
36
34
|
"/asset-library": "pages/asset-library.html",
|
|
35
|
+
"/api/system/logs": "pages/api/system/logs.js",
|
|
36
|
+
"/api/system/stats": "pages/api/system/stats.js",
|
|
37
37
|
"/context/short-term": "pages/context/short-term.html",
|
|
38
|
+
"/guide": "pages/guide.html",
|
|
38
39
|
"/context/long-term": "pages/context/long-term.html",
|
|
39
40
|
"/documents": "pages/documents.html",
|
|
40
|
-
"/document-specs": "pages/document-specs.html",
|
|
41
|
-
"/guide": "pages/guide.html",
|
|
42
41
|
"/": "pages/index.html",
|
|
43
|
-
"/
|
|
44
|
-
"/knowledge/files": "pages/knowledge/files.html",
|
|
45
|
-
"/knowledge": "pages/knowledge.html",
|
|
42
|
+
"/_error": "pages/_error.js",
|
|
46
43
|
"/document-roles": "pages/document-roles.html",
|
|
47
|
-
"/models": "pages/models.html",
|
|
48
44
|
"/knowledge/search": "pages/knowledge/search.html",
|
|
49
|
-
"/
|
|
45
|
+
"/knowledge": "pages/knowledge.html",
|
|
46
|
+
"/document-specs": "pages/document-specs.html",
|
|
47
|
+
"/knowledge/file-detail": "pages/knowledge/file-detail.html",
|
|
48
|
+
"/settings": "pages/settings.html",
|
|
49
|
+
"/models": "pages/models.html",
|
|
50
|
+
"/system/logs": "pages/system/logs.html",
|
|
50
51
|
"/knowledge/manage": "pages/knowledge/manage.html",
|
|
51
|
-
"/
|
|
52
|
-
"/api/config/
|
|
52
|
+
"/knowledge/files": "pages/knowledge/files.html",
|
|
53
|
+
"/api/config/healthCheck": "pages/api/config/healthCheck.js",
|
|
53
54
|
"/api/config/providers/[provider]": "pages/api/config/providers/[provider].js",
|
|
55
|
+
"/api/config/embedding": "pages/api/config/embedding.js",
|
|
54
56
|
"/api/config/providers": "pages/api/config/providers.js",
|
|
55
|
-
"/
|
|
56
|
-
"/system/logs": "pages/system/logs.html",
|
|
57
|
-
"/api/kb/files/preview-pdf-page": "pages/api/kb/files/preview-pdf-page.js",
|
|
58
|
-
"/settings": "pages/settings.html",
|
|
57
|
+
"/overview": "pages/overview.html",
|
|
59
58
|
"/prompt": "pages/prompt.html",
|
|
59
|
+
"/api/kb/files/preview-pdf-page": "pages/api/kb/files/preview-pdf-page.js",
|
|
60
60
|
"/api/documents/export": "pages/api/documents/export.js",
|
|
61
|
-
"/api/kb/upload": "pages/api/kb/upload.js",
|
|
62
61
|
"/api/prompt/chat": "pages/api/prompt/chat.js",
|
|
62
|
+
"/api/kb/upload": "pages/api/kb/upload.js",
|
|
63
63
|
"/_document": "pages/_document.js",
|
|
64
64
|
"/404": "pages/404.html"
|
|
65
65
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,e,t,c,a,n,d,i,u,o,r,k,g,b,f,h,l){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:b,bitArray:[]},__routerFilterDynamic:{numItems:u,errorRate:1e-4,numBits:u,numHashes:b,bitArray:[]},"/":["static/chunks/pages/index-c5e0758e6b31deee.js"],"/_error":["static/chunks/pages/_error-282257fbdcc167b4.js"],"/asset-library":[s,e,n,"static/chunks/749-83476f9bcd014a5a.js","static/chunks/pages/asset-library-e9ddfe1cbaac42d9.js"],"/context/long-term":[s,e,t,c,a,n,d,i,f,"static/chunks/pages/context/long-term-2e6a30a8f879df47.js"],"/context/short-term":[s,e,t,c,a,n,d,i,f,"static/chunks/pages/context/short-term-730211234fa3add6.js"],"/document-roles":[s,e,t,c,d,"static/chunks/698-c87adab5a75148d5.js","static/chunks/pages/document-roles-fb9e3ce4719fda9b.js"],"/document-specs":[s,e,t,c,d,r,"static/chunks/265-32ec272a49cfacef.js","static/chunks/pages/document-specs-033d848b03b54df3.js"],"/documents":[s,e,t,c,d,o,h,"static/chunks/447-fa0c71b418e19135.js","static/chunks/pages/documents-a21e4c98480b1a95.js"],"/guide":[s,e,h,"static/chunks/20-00147a779147a5a4.js","static/chunks/pages/guide-6c680688d15f6200.js"],"/knowledge":["static/chunks/pages/knowledge-905248d8dcb15453.js"],"/knowledge/file-detail":[s,e,t,a,n,i,o,l,k,"static/chunks/pages/knowledge/file-detail-0a5e267f77f4e8b3.js"],"/knowledge/files":[s,e,t,a,n,i,k,"static/chunks/pages/knowledge/files-bc2ad2b01cb1f568.js"],"/knowledge/manage":[s,e,o,"static/chunks/788-db05269178a28c20.js","static/chunks/pages/knowledge/manage-25eb1a993b155450.js"],"/knowledge/search":[s,e,t,o,r,k,"static/chunks/pages/knowledge/search-2cee4e8b8792170c.js"],"/models":[s,e,t,c,a,d,r,"static/chunks/pages/models-b5f68c4c70257495.js"],"/overview":[s,e,"static/chunks/131-907e8df9052564a3.js","static/chunks/pages/overview-96cebf2b8f4a5d4d.js"],"/prompt":[s,e,t,c,a,"static/chunks/525-5d947137d894f5fe.js","static/chunks/pages/prompt-3661b18672ac6e6f.js"],"/settings":[s,e,"static/chunks/pages/settings-fa9d6a56898ba678.js"],"/system/logs":[s,t,c,a,n,i,l,"static/chunks/pages/system/logs-f4e222140dc7b30c.js"],sortedPages:["/","/_app","/_error","/asset-library","/context/long-term","/context/short-term","/document-roles","/document-specs","/documents","/guide","/knowledge","/knowledge/file-detail","/knowledge/files","/knowledge/manage","/knowledge/search","/models","/overview","/prompt","/settings","/system/logs"]}}("static/chunks/433-233659be69169c19.js","static/chunks/787-c18af810af3433f6.js","static/chunks/576-6699fed6c88502fe.js","static/chunks/195-2c0168eacab722d2.js","static/chunks/985-4b4a3ed36ada16eb.js","static/chunks/150-8039a46df62c9b21.js","static/chunks/455-e04e99d9e242de44.js","static/chunks/289-6bf8af72114aefd5.js",0,"static/chunks/506-93f730bc149d0dce.js","static/chunks/938-45efd516bb130bd5.js","static/css/09be1fdeab8595ab.css",1e-4,NaN,"static/chunks/932-2f195f4200ce9378.js","static/chunks/412-03a4cc00655c0ec0.js","static/chunks/512-12bd409cebeca05b.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[131],{520:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(18200),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},2256:(e,t,a)=>{a.d(t,{A:()=>r});let r=a(25341).A},5450:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"}},9020:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(92556),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},12887:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"}},13114:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(5450),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},14995:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"}},18200:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"}},24810:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(31738),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},26631:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(12887),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},29071:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(78847),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},30960:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(95008),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},31738:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"}},32632:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(68552),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},38770:(e,t,a)=>{a.d(t,{A:()=>r});let r=a(51916).A},53234:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"hdd",theme:"outlined"}},54849:(e,t,a)=>{a.d(t,{A:()=>w});var r=a(97109),n=a(42644),c=a(52690),l=a(3638),o=a(92162),s=a(26047),i=a(74567),f=a(88762);let v=e=>{let t,{value:a,formatter:n,precision:c,decimalSeparator:l,groupSeparator:o="",prefixCls:i,className:f,style:v}=e;if((0,s.Tn)(n))t=n(a);else{let e=String(a),n=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(n&&"-"!==e){let e=n[1],a=n[2]||"0",f=n[4]||"";a=a.replace(/\B(?=(\d{3})+(?!\d))/g,o),(0,s.Et)(c)&&(f=f.padEnd(c,"0").slice(0,c>0?c:0)),f&&(f=`${l}${f}`),t=[r.createElement("span",{key:"int",className:`${i}-content-value-int`},e,a),f&&r.createElement("span",{key:"decimal",className:`${i}-content-value-decimal`},f)]}else t=e}return r.createElement("span",{className:f,style:v},t)};var d=a(7961),u=a(10540),h=a(28403);let p=(0,u.OF)("Statistic",e=>(e=>{let{componentCls:t,marginXXS:a,padding:r,colorTextDescription:n,titleFontSize:c,colorTextHeading:l,contentFontSize:o,fontFamily:s}=e;return{[t]:{...(0,d.dF)(e),[`${t}-header`]:{paddingBottom:a,[`${t}-title`]:{color:n,fontSize:c}},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:l,fontSize:o,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:a},[`${t}-content-suffix`]:{marginInlineStart:a}}}}})((0,h.oX)(e,{})),e=>{let{fontSizeHeading3:t,fontSize:a}=e;return{titleFontSize:a,contentFontSize:t}}),m=r.forwardRef((e,t)=>{let{prefixCls:a,className:c,rootClassName:d,style:u,valueStyle:h,value:m=0,title:g,valueRender:b,prefix:A,suffix:y,loading:w=!1,formatter:z,precision:O,decimalSeparator:E=".",groupSeparator:M=",",onMouseEnter:j,onMouseLeave:H,styles:$,classNames:x,...V}=e,{getPrefixCls:L,direction:S,className:N,style:R,classNames:B,styles:P}=(0,i.TP)("statistic"),k=L("statistic",a),[T,C]=p(k),I={...e,decimalSeparator:E,groupSeparator:M,loading:w,value:m},D=(0,o.XT)(R),_=(0,o.XT)(u),[F,X]=(0,o.AV)([B,x],[P,D,$,_],{props:I}),q=(0,l.$)(k,{[`${k}-rtl`]:"rtl"===S},N,c,d,F.root,T,C),K=(0,l.$)(`${k}-header`,F.header),Y=(0,l.$)(`${k}-title`,F.title),G=(0,l.$)(`${k}-content`,F.content),J=(0,l.$)(`${k}-content-value`,F.value),Q=(0,l.$)(`${k}-content-prefix`,F.prefix),U=(0,l.$)(`${k}-content-suffix`,F.suffix),W=r.createElement(v,{decimalSeparator:E,groupSeparator:M,prefixCls:k,formatter:z,precision:O,value:m,className:J,style:X.value}),Z=r.useRef(null);r.useImperativeHandle(t,()=>({nativeElement:Z.current}));let ee=(0,n.KE)(V,{aria:!0,data:!0});return r.createElement("div",{...ee,className:q,style:X.root,ref:Z,onMouseEnter:j,onMouseLeave:H},g&&r.createElement("div",{className:K,style:X.header},r.createElement("div",{className:Y,style:X.title},g)),r.createElement(f.A,{paragraph:!1,loading:w,className:`${k}-skeleton`,active:!0},r.createElement("div",{className:G,style:{...h,...X.content}},A&&r.createElement("span",{className:Q,style:X.prefix},A),(0,s.Tn)(b)?b(W):W,y&&r.createElement("span",{className:U,style:X.suffix},y))))}),g=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],b=1e3/60,A=e=>{let{value:t,format:a="HH:mm:ss",onChange:l,onFinish:o,type:s,...i}=e,f="countdown"===s,[v,d]=r.useState(null),u=(0,n._q)(()=>{let e=Date.now(),a=new Date(t).getTime();d({});let r=f?a-e:e-a;return l?.(r),!f||!(a<e)||(o?.(),!1)});return r.useEffect(()=>{let e;return e=window.setInterval(()=>{u()||window.clearInterval(e)},b),()=>{window.clearInterval(e)}},[t,f]),r.useEffect(()=>{d({})},[]),r.createElement(m,{...i,value:t,valueRender:e=>(0,c.Ob)(e,{title:void 0}),formatter:(e,t)=>v?function(e,t,a){let{format:r=""}=t,n=new Date(e).getTime(),c=Date.now();return function(e,t){let a=e,r=/\[[^\]]*]/g,n=(t.match(r)||[]).map(e=>e.slice(1,-1)),c=t.replace(r,"[]"),l=g.reduce((e,[t,r])=>{if(e.includes(t)){let n=Math.floor(a/r);return a-=n*r,e.replace(RegExp(`${t}+`,"g"),e=>{let t=e.length;return n.toString().padStart(t,"0")})}return e},c),o=0;return l.replace(r,()=>{let e=n[o];return o+=1,e})}(a?Math.max(n-c,0):Math.max(c-n,0),r)}(e,{...t,format:a},f):"-"})},y=r.memo(e=>r.createElement(A,{...e,type:"countdown"}));m.Timer=A,m.Countdown=y;let w=m},68552:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z"}}]},name:"layout",theme:"outlined"}},75710:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4-76.3-.6-140.9 56.1-150.1 131.9s40 146.3 114.2 163.9c74.2 17.6 149.9-23.3 175.7-95.1 9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6zM329.1 345.2a83.3 83.3 0 11.01-166.61 83.3 83.3 0 01-.01 166.61zM695.6 845a83.3 83.3 0 11.01-166.61A83.3 83.3 0 01695.6 845z"}}]},name:"node-index",theme:"outlined"}},78847:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"}},92556:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z"}},{tag:"path",attrs:{d:"M378.4 475.1a35.91 35.91 0 00-50.9 0 35.91 35.91 0 000 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0048.1 0L730.6 434a33.98 33.98 0 000-48.1l-2.8-2.8a33.98 33.98 0 00-48.1 0L483 579.7 378.4 475.1z"}}]},name:"safety",theme:"outlined"}},93314:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(53234),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},95008:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"}},95118:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(75710),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))},99811:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(14995),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(c.A,l({},e,{ref:t,icon:n.A})))}}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{11162:(e,t,o)=>{o.d(t,{A:()=>a,h:()=>d});var n=o(97109),i=o(42644),l=o(44137);let r=n.createContext(null),a=n.forwardRef((e,t)=>{let{children:o,...a}=e,d=n.useContext(r),s=n.useMemo(()=>({...d,...a}),[d,a.prefixCls,a.mode,a.selectable,a.rootClassName]),c=(0,i.H3)(o),m=(0,i.xK)(t,c?(0,i.A9)(o):null);return n.createElement(r.Provider,{value:s},n.createElement(l.A,{space:!0},c?n.cloneElement(o,{ref:m}):o))}),d=r},15437:(e,t,o)=>{o.d(t,{A:()=>n});let n=e=>{let{componentCls:t,antCls:o,motionDurationMid:n,motionEaseInOut:i}=e;return{[t]:{[`${o}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${n} ${i}`).join(", ")} !important`}},[`${o}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${n} ${i}`).join(", ")} !important`}}}}},
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{8579:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"}},11162:(e,t,o)=>{o.d(t,{A:()=>a,h:()=>d});var n=o(97109),i=o(42644),l=o(44137);let r=n.createContext(null),a=n.forwardRef((e,t)=>{let{children:o,...a}=e,d=n.useContext(r),s=n.useMemo(()=>({...d,...a}),[d,a.prefixCls,a.mode,a.selectable,a.rootClassName]),c=(0,i.H3)(o),m=(0,i.xK)(t,c?(0,i.A9)(o):null);return n.createElement(r.Provider,{value:s},n.createElement(l.A,{space:!0},c?n.cloneElement(o,{ref:m}):o))}),d=r},15437:(e,t,o)=>{o.d(t,{A:()=>n});let n=e=>{let{componentCls:t,antCls:o,motionDurationMid:n,motionEaseInOut:i}=e;return{[t]:{[`${o}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${n} ${i}`).join(", ")} !important`}},[`${o}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${n} ${i}`).join(", ")} !important`}}}}},37041:(e,t,o)=>{o.d(t,{A:()=>W});var n=o(97109),i=o(29292),l=o(42644);let r=n.createContext({});(()=>{let e=0;return (t="")=>(e+=1,`${t}${e}`)})();var a=o(20241),d=o(3638),s=o(92162),c=o(26047),m=o(84649),u=o(52690),p=o(74567),$=o(632);let g=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1,styles:null,classNames:null}),b=e=>{let{prefixCls:t,className:o,dashed:l,...r}=e,{getPrefixCls:a}=n.useContext(p.QO),s=a("menu",t),c=(0,d.$)({[`${s}-item-divider-dashed`]:!!l},o);return n.createElement(i.cG,{className:c,...r})};var h=o(14932);let v=e=>{let{className:t,children:o,icon:a,title:s,danger:m,extra:p}=e,{prefixCls:$,firstLevel:b,direction:v,disableMenuItemTitleTooltip:f,tooltip:I,inlineCollapsed:C,styles:w,classNames:x}=n.useContext(g),{siderCollapsed:S}=n.useContext(r),B=s;void 0===s?B=b?o:"":!1===s&&(B="");let y=!1===I?void 0:I,A=y&&void 0!==y.title?y.title:B,z={...y??null,title:A};S||C||(z.title=null,z.open=!1);let k=(0,l.$r)(o).length,H=n.createElement(i.q7,{...(0,l.cJ)(e,["title","icon","danger"]),className:(0,d.$)(b?x?.item:x?.subMenu?.item,{[`${$}-item-danger`]:m,[`${$}-item-only-child`]:(a?k+1:k)===1},t),style:{...b?w?.item:w?.subMenu?.item,...e.style},title:"string"==typeof s?s:void 0,itemData:e?.itemData??{...e,key:e.eventKey}},(0,u.Ob)(a,e=>({className:(0,d.$)(`${$}-item-icon`,b?x?.itemIcon:x?.subMenu?.itemIcon,e.className),style:{...b?w?.itemIcon:w?.subMenu?.itemIcon,...e.style}})),(e=>{let t=o?.[0],i=n.createElement("span",{className:(0,d.$)(`${$}-title-content`,b?x?.itemContent:x?.subMenu?.itemContent,{[`${$}-title-content-with-extra`]:!!p||0===p}),style:b?w?.itemContent:w?.subMenu?.itemContent},o);return(!a||n.isValidElement(o)&&"span"===o.type)&&o&&e&&b&&"string"==typeof t?n.createElement("div",{className:`${$}-inline-collapsed-noicon`},t.charAt(0)):i})(C));if(!f&&!1!==I){let e=y&&y.placement?y.placement:"rtl"===v?"left":"right",t=`${$}-inline-collapsed-tooltip`,o=e=>({...e,root:(0,d.$)(t,e?.root)}),i=(0,c.Tn)(y?.classNames)?e=>o(y.classNames(e)):o(y?.classNames);H=n.createElement(h.A,{...z,placement:e,classNames:i},H)}return H};var f=o(11162),I=o(15561),C=o(47252),w=o(7961),x=o(15437),S=o(86827),B=o(49345),y=o(10540),A=o(28403);let z=e=>(0,w.jk)(e),k=(e,t)=>{let{componentCls:o,itemColor:n,itemSelectedColor:i,subMenuItemSelectedColor:l,groupTitleColor:r,itemBg:a,subMenuItemBg:d,itemSelectedBg:s,activeBarHeight:c,activeBarWidth:m,activeBarBorderWidth:u,motionDurationSlow:p,motionEaseInOut:$,motionEaseOut:g,itemPaddingInline:b,motionDurationMid:h,itemHoverColor:v,lineType:f,colorSplit:C,itemDisabledColor:w,dangerItemColor:x,dangerItemHoverColor:S,dangerItemSelectedColor:B,dangerItemActiveBg:y,dangerItemSelectedBg:A,popupBg:k,itemHoverBg:H,itemActiveBg:T,menuSubMenuBg:E,horizontalItemSelectedColor:N,horizontalItemSelectedBg:M,horizontalItemBorderRadius:R,horizontalItemHoverBg:O}=e;return{[`${o}-${t}, ${o}-${t} > ${o}`]:{color:n,background:a,[`&${o}-root:focus-visible`]:{...z(e)},[`${o}-item`]:{"&-group-title, &-extra":{color:r}},[`${o}-submenu-selected > ${o}-submenu-title`]:{color:l},[`${o}-item, ${o}-submenu-title`]:{color:n,[`&:not(${o}-item-disabled):focus-visible`]:{...z(e)}},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${w} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:v}},[`${o}-submenu:not(${o}-submenu-selected)`]:{[`> ${o}-submenu-title:hover`]:{color:v}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:H},"&:active":{backgroundColor:T}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:H},"&:active":{backgroundColor:T}}},[`${o}-item-danger`]:{color:x,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:S}},[`&${o}-item:active`]:{background:y}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:i,[`&${o}-item-danger`]:{color:B},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:s,[`&${o}-item-danger`]:{backgroundColor:A}},[`&${o}-submenu > ${o}`]:{backgroundColor:E},[`&${o}-popup > ${o}`]:{backgroundColor:k},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:k},[`&${o}-horizontal`]:{..."dark"===t?{borderBottom:0}:{},[`> ${o}-item, > ${o}-submenu`]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:R,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:`${(0,I.zA)(c)} solid transparent`,transition:`border-color ${p} ${$}`,content:'""'},"&:hover, &-active, &-open":{background:O,"&::after":{borderBottomWidth:c,borderBottomColor:N}},"&-selected":{color:N,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:c,borderBottomColor:N}}}},[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${(0,I.zA)(u)} ${f} ${C}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:d},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,I.zA)(m)} solid ${i}`,transform:"scaleY(0.0001)",opacity:0,transition:["transform","opacity"].map(e=>`${e} ${h} ${g}`).join(","),content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:B}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:["transform","opacity"].map(e=>`${e} ${h} ${$}`).join(",")}}}}}},H=e=>{let{componentCls:t,itemHeight:o,itemMarginInline:n,padding:i,menuArrowSize:l,marginXS:r,itemMarginBlock:a,itemWidth:d,itemPaddingInline:s}=e,c=e.calc(l).add(i).add(r).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:o,lineHeight:(0,I.zA)(o),paddingInline:s,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:a,width:d},[`> ${t}-item,
|
|
2
2
|
> ${t}-submenu > ${t}-submenu-title`]:{height:o,lineHeight:(0,I.zA)(o)},[`${t}-item-group-list ${t}-submenu-title,
|
|
3
3
|
${t}-submenu-title`]:{paddingInlineEnd:c}}},T=e=>{let{componentCls:t,motionDurationSlow:o,motionDurationMid:n,motionEaseInOut:i,motionEaseOut:l,iconCls:r,iconSize:a,iconMarginInlineEnd:d}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:`border-color ${o},background-color ${o},padding calc(${o} + 0.1s) ${i}`,[`${t}-item-icon, ${r}`]:{minWidth:a,fontSize:a,transition:`font-size ${n} ${l},margin ${o} ${i},color ${o}`,"+ span":{marginInlineStart:d,opacity:1,transition:`opacity ${o} ${i},margin ${o},color ${o}`}},[`${t}-item-icon`]:{...(0,w.Nk)()},[`&${t}-item-only-child`]:{[`> ${r}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},E=e=>{let{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,borderRadius:i,menuArrowSize:l,menuArrowOffset:r}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:l,color:"currentcolor",transform:"translateY(-50%)",transition:["transform","opacity"].map(e=>`${e} ${o}`).join(",")},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(l).mul(.6).equal(),height:e.calc(l).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:i,transition:["background-color","transform","top","color"].map(e=>`${e} ${o} ${n}`).join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,I.zA)(e.calc(r).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,I.zA)(r)})`}}}}},N=e=>{let{colorPrimary:t,colorError:o,colorTextDisabled:n,colorErrorBg:i,colorText:l,colorTextDescription:r,colorBgContainer:a,colorFillAlter:d,colorFillContent:s,lineWidth:c,lineWidthBold:m,controlItemBgActive:u,colorBgTextHover:p,controlHeightLG:$,lineHeight:g,colorBgElevated:b,marginXXS:h,padding:v,fontSize:f,controlHeightSM:I,fontSizeLG:w,colorTextLightSolid:x,colorErrorHover:S}=e,B=e.activeBarWidth??0,y=e.activeBarBorderWidth??c,A=e.itemMarginInline??e.marginXXS,z=new C.Y(x).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:r,groupTitleColor:r,colorItemTextSelected:t,itemSelectedColor:t,subMenuItemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:a,itemBg:a,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:s,itemActiveBg:u,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:u,itemSelectedBg:u,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:B,colorActiveBarHeight:m,activeBarHeight:m,colorActiveBarBorderSize:c,activeBarBorderWidth:y,colorItemTextDisabled:n,itemDisabledColor:n,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:i,dangerItemActiveBg:i,colorDangerItemBgSelected:i,dangerItemSelectedBg:i,itemMarginInline:A,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:$,groupTitleLineHeight:g,collapsedWidth:2*$,popupBg:b,itemMarginBlock:h,itemPaddingInline:v,horizontalLineHeight:`${1.15*$}px`,iconSize:f,iconMarginInlineEnd:I-f,collapsedIconSize:w,groupTitleFontSize:f,darkItemDisabledColor:new C.Y(x).setA(.25).toRgbString(),darkItemColor:z,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:x,darkItemSelectedBg:t,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:z,darkItemHoverColor:x,darkDangerItemHoverColor:S,darkDangerItemSelectedColor:x,darkDangerItemActiveBg:o,itemWidth:B?`calc(100% + ${y}px)`:`calc(100% - ${2*A}px)`}};var M=o(36319);let R=e=>{let t,{popupClassName:o,icon:r,title:a,theme:s}=e,c=n.useContext(g),{prefixCls:m,inlineCollapsed:p,theme:$,classNames:b,styles:h}=c,v=(0,i.Wj)();if(r){let e=n.isValidElement(a)&&"span"===a.type;t=n.createElement(n.Fragment,null,(0,u.Ob)(r,e=>({className:(0,d.$)(e.className,`${m}-item-icon`,b?.itemIcon),style:{...e.style,...h?.itemIcon}})),e?a:n.createElement("span",{className:`${m}-title-content`},a))}else t=p&&!v.length&&a&&"string"==typeof a?n.createElement("div",{className:`${m}-inline-collapsed-noicon`},a.charAt(0)):n.createElement("span",{className:`${m}-title-content`},a);let f=n.useMemo(()=>({...c,firstLevel:!1}),[c]),[I]=(0,M.YK)("Menu");return n.createElement(g.Provider,{value:f},n.createElement(i.g8,{...(0,l.cJ)(e,["icon"]),title:t,classNames:{list:b?.subMenu?.list,listTitle:b?.subMenu?.itemTitle},styles:{list:h?.subMenu?.list,listTitle:h?.subMenu?.itemTitle},popupClassName:(0,d.$)(m,o,b?.popup?.root,`${m}-${s||$}`),popupStyle:{zIndex:I,...e.popupStyle,...h?.popup?.root}}))};function O(e){return null===e||!1===e}let D={item:v,submenu:R,divider:b},P=(0,n.forwardRef)((e,t)=>{let o=n.useContext(f.h),r=o||{},{prefixCls:b,className:h,style:v,theme:C="light",expandIcon:z,_internalDisableMenuItemTitleTooltip:M,tooltip:R,inlineCollapsed:P,siderCollapsed:L,rootClassName:W,mode:j,selectable:q,onClick:X,overflowedIndicatorPopupClassName:_,classNames:Y,styles:V,...G}=e,{menu:J}=n.useContext(p.QO),{getPrefixCls:K,getPopupContainer:F,direction:Q,className:U,style:Z,classNames:ee,styles:et}=(0,p.TP)("menu"),eo=K(),en=(0,l.cJ)(G,["collapsedWidth"]);r.validator?.({mode:j});let ei=(0,l._q)((...e)=>{X?.(...e),r.onClick?.()}),el=r.mode||j,er=q??r.selectable,ea=P??L,ed={...e,mode:el,inlineCollapsed:ea,selectable:er,theme:C},es=(0,s.XT)(Z),ec=(0,s.XT)(v),[em,eu]=(0,s.AV)([ee,Y],[et,es,V,ec],{props:ed},{popup:{_default:"root"},subMenu:{_default:"item"}}),ep={horizontal:{motionName:`${eo}-slide-up`},inline:(0,m.A)(eo),other:{motionName:`${eo}-zoom-big`}},e$=K("menu",b||r.prefixCls),eg=(0,$.A)(e$),[eb,eh]=((e,t=e,o=!0)=>(0,y.OF)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:o,fontSize:n,darkItemColor:i,darkDangerItemColor:l,darkItemBg:r,darkSubMenuItemBg:a,darkItemSelectedColor:d,darkItemSelectedBg:s,darkDangerItemSelectedBg:c,darkItemHoverBg:m,darkGroupTitleColor:u,darkItemHoverColor:p,darkItemDisabledColor:$,darkDangerItemHoverColor:g,darkDangerItemSelectedColor:b,darkDangerItemActiveBg:h,popupBg:v,darkPopupBg:f}=e,C=e.calc(n).div(7).mul(5).equal(),y=(0,A.oX)(e,{menuArrowSize:C,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(C).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:v}),z=(0,A.oX)(y,{itemColor:i,itemHoverColor:p,groupTitleColor:u,itemSelectedColor:d,subMenuItemSelectedColor:d,itemBg:r,popupBg:f,subMenuItemBg:a,itemActiveBg:"transparent",itemSelectedBg:s,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:m,itemDisabledColor:$,dangerItemColor:l,dangerItemHoverColor:g,dangerItemSelectedColor:b,dangerItemActiveBg:h,dangerItemSelectedBg:c,menuSubMenuBg:a,horizontalItemSelectedColor:d,horizontalItemSelectedBg:s});return[(e=>{let{antCls:t,componentCls:o,fontSize:n,motionDurationSlow:i,motionDurationMid:l,motionEaseInOut:r,paddingXS:a,padding:d,colorSplit:s,lineWidth:c,zIndexPopup:m,borderRadiusLG:u,subMenuItemBorderRadius:p,menuArrowSize:$,menuArrowOffset:g,lineType:b,groupTitleLineHeight:h,groupTitleFontSize:v,iconSize:f,iconMarginInlineEnd:C}=e,x=`> ${t}-typography-ellipsis-single-line,> ${o}-item-label > ${t}-typography-ellipsis-single-line`;return[{"":{[o]:{...(0,w.t6)(),"&-hidden":{display:"none"}}},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:{...(0,w.dF)(e),...(0,w.t6)(),marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${(0,I.zA)(a)} ${(0,I.zA)(d)}`,fontSize:v,lineHeight:h,transition:`all ${i}`},[`&-horizontal ${o}-submenu`]:{transition:["border-color","background-color"].map(e=>`${e} ${i} ${r}`).join(",")},[`${o}-submenu, ${o}-submenu-inline`]:{transition:[`border-color ${i}`,`background-color ${i}`,`padding ${l}`].map(e=>`${e} ${r}`).join(",")},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:["background-color","padding"].map(e=>`${e} ${i} ${r}`).join(",")},[`${o}-title-content`]:{transition:`color ${i}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%",minWidth:0},[`${o}-item-label`]:{flex:"auto",minWidth:0,...w.L9},[x]:{display:"inline",verticalAlign:"unset"},[`${o}-item-extra`]:{flex:"none",marginInlineStart:"auto",paddingInlineStart:e.padding}},[`${o}-item-icon + ${o}-title-content-with-extra`]:{width:`calc(100% - ${(0,I.zA)(e.calc(f).add(C??0).equal())})`},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:s,borderStyle:b,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}},...T(e),[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${(0,I.zA)(e.calc(n).mul(2).equal())} ${(0,I.zA)(d)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:m,borderRadius:u,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:{borderRadius:u,...T(e),...E(e),[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:p},[`${o}-submenu-title::after`]:{transition:`transform ${i} ${r}`}}},"&-placement-leftTop, &-placement-bottomRight":{transformOrigin:"100% 0"},"&-placement-leftBottom, &-placement-topRight":{transformOrigin:"100% 100%"},"&-placement-rightBottom, &-placement-topLeft":{transformOrigin:"0 100%"},"&-placement-bottomLeft, &-placement-rightTop":{transformOrigin:"0 0"},"&-placement-leftTop, &-placement-leftBottom":{paddingInlineEnd:e.paddingXS},"&-placement-rightTop, &-placement-rightBottom":{paddingInlineStart:e.paddingXS},"&-placement-topRight, &-placement-topLeft":{paddingBottom:e.paddingXS},"&-placement-bottomRight, &-placement-bottomLeft":{paddingTop:e.paddingXS}},...E(e),[`&-inline-collapsed ${o}-submenu-arrow,
|
|
4
4
|
&-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,I.zA)(g)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,I.zA)(e.calc(g).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${(0,I.zA)(e.calc($).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,I.zA)(e.calc(g).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,I.zA)(g)})`}}}},{[`${t}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]})(y),(e=>{let{componentCls:t,motionDurationSlow:o,horizontalLineHeight:n,colorSplit:i,lineWidth:l,lineType:r,itemPaddingInline:a}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${(0,I.zA)(l)} ${r} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:a},[`> ${t}-item:hover,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
${t}-submenu-arrow,
|
|
11
11
|
${t}-submenu-expand-icon
|
|
12
12
|
`]:{opacity:0},[`> ${t}-title-content`]:{width:0,opacity:0,overflow:"hidden"},[`${t}-item-icon, ${o}`]:{margin:0,fontSize:h,lineHeight:(0,I.zA)(n),"+ span":{display:"inline-block",width:0,opacity:0,overflow:"hidden",marginInlineStart:0}}},[`${t}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${o}`]:{display:"none"},[`${t}-item-extra`]:{paddingInlineStart:d},"a, a:hover":{color:i}},[`${t}-item-group-title`]:{...w.L9,paddingInline:$}}}]})(y),k(y,"light"),k(z,"dark"),(({componentCls:e,menuArrowOffset:t,calc:o})=>({[`${e}-rtl`]:{direction:"rtl"},[`${e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e}-rtl${e}-vertical,
|
|
13
|
-
${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,I.zA)(o(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,I.zA)(t)})`}}}}))(y),(0,x.A)(y),(0,S._j)(y,"slide-up"),(0,S._j)(y,"slide-down"),(0,B.aB)(y,"zoom-big")]},N,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}})(e,t))(e$,eg,!o),ev=(0,d.$)(`${e$}-${C}`,U,h),ef=n.useMemo(()=>{if((0,c.Tn)(z)||O(z))return z||null;if((0,c.Tn)(r.expandIcon)||O(r.expandIcon))return r.expandIcon||null;if((0,c.Tn)(J?.expandIcon)||O(J?.expandIcon))return J?.expandIcon||null;let e=z??r?.expandIcon??J?.expandIcon;return(0,u.Ob)(e,{className:(0,d.$)(`${e$}-submenu-expand-icon`,n.isValidElement(e)?e.props?.className:void 0)})},[z,r?.expandIcon,J?.expandIcon,e$]),eI=n.useMemo(()=>({prefixCls:e$,inlineCollapsed:ea||!1,direction:Q,firstLevel:!0,theme:C,mode:el,disableMenuItemTitleTooltip:M,tooltip:R,classNames:em,styles:eu}),[e$,ea,Q,M,C,el,em,eu,R]);return n.createElement(f.h.Provider,{value:null},n.createElement(g.Provider,{value:eI},n.createElement(i.Ay,{getPopupContainer:F,overflowedIndicator:n.createElement(a.A,null),overflowedIndicatorPopupClassName:(0,d.$)(e$,`${e$}-${C}`,_),classNames:{list:em.list,listTitle:em.itemTitle},styles:{list:eu.list,listTitle:eu.itemTitle},mode:el,selectable:er,onClick:ei,...en,inlineCollapsed:ea,style:eu.root,className:ev,prefixCls:e$,direction:Q,defaultMotions:ep,expandIcon:ef,ref:t,rootClassName:(0,d.$)(W,eb,r.rootClassName,eh,eg,em.root),_internalComponents:D})))}),L=(0,n.forwardRef)((e,t)=>{let o=(0,n.useRef)(null),i=n.useContext(r);return(0,n.useImperativeHandle)(t,()=>({menu:o.current,focus:e=>{o.current?.focus(e)}})),n.createElement(P,{ref:o,...e,...i})});L.Item=v,L.SubMenu=R,L.Divider=b,L.ItemGroup=i.te;let W=L},56768:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(97109),i=o(
|
|
13
|
+
${e}-submenu-rtl ${e}-vertical`]:{[`${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,I.zA)(o(t).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,I.zA)(t)})`}}}}))(y),(0,x.A)(y),(0,S._j)(y,"slide-up"),(0,S._j)(y,"slide-down"),(0,B.aB)(y,"zoom-big")]},N,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}})(e,t))(e$,eg,!o),ev=(0,d.$)(`${e$}-${C}`,U,h),ef=n.useMemo(()=>{if((0,c.Tn)(z)||O(z))return z||null;if((0,c.Tn)(r.expandIcon)||O(r.expandIcon))return r.expandIcon||null;if((0,c.Tn)(J?.expandIcon)||O(J?.expandIcon))return J?.expandIcon||null;let e=z??r?.expandIcon??J?.expandIcon;return(0,u.Ob)(e,{className:(0,d.$)(`${e$}-submenu-expand-icon`,n.isValidElement(e)?e.props?.className:void 0)})},[z,r?.expandIcon,J?.expandIcon,e$]),eI=n.useMemo(()=>({prefixCls:e$,inlineCollapsed:ea||!1,direction:Q,firstLevel:!0,theme:C,mode:el,disableMenuItemTitleTooltip:M,tooltip:R,classNames:em,styles:eu}),[e$,ea,Q,M,C,el,em,eu,R]);return n.createElement(f.h.Provider,{value:null},n.createElement(g.Provider,{value:eI},n.createElement(i.Ay,{getPopupContainer:F,overflowedIndicator:n.createElement(a.A,null),overflowedIndicatorPopupClassName:(0,d.$)(e$,`${e$}-${C}`,_),classNames:{list:em.list,listTitle:em.itemTitle},styles:{list:eu.list,listTitle:eu.itemTitle},mode:el,selectable:er,onClick:ei,...en,inlineCollapsed:ea,style:eu.root,className:ev,prefixCls:e$,direction:Q,defaultMotions:ep,expandIcon:ef,ref:t,rootClassName:(0,d.$)(W,eb,r.rootClassName,eh,eg,em.root),_internalComponents:D})))}),L=(0,n.forwardRef)((e,t)=>{let o=(0,n.useRef)(null),i=n.useContext(r);return(0,n.useImperativeHandle)(t,()=>({menu:o.current,focus:e=>{o.current?.focus(e)}})),n.createElement(P,{ref:o,...e,...i})});L.Item=v,L.SubMenu=R,L.Divider=b,L.ItemGroup=i.te;let W=L},56768:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(97109),i=o(8579),l=o(88483);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}let a=n.forwardRef((e,t)=>n.createElement(l.A,r({},e,{ref:t,icon:i.A})))},64254:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(97109),i=o(79662),l=o(88483);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}let a=n.forwardRef((e,t)=>n.createElement(l.A,r({},e,{ref:t,icon:i.A})))},71102:(e,t,o)=>{o.d(t,{A:()=>L});var n=o(97109),i=o(50379),l=o(52116),r=o(31566),a=o(42644),d=o(3638),s=o(36319),c=o(92162),m=o(26047),u=o(8627),p=o(82725),$=o(52690),g=o(29633),b=o(58860),h=o(74567),v=o(632),f=o(37041),I=o(11162),C=o(7709),w=o(15561),x=o(7961),S=o(86827),B=o(69811),y=o(49345),A=o(13911),z=o(21701),k=o(10540),H=o(28403);let T=(0,k.OF)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:o,paddingXXS:n,componentCls:i}=e,l=(0,H.oX)(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(o).div(2).add(t).equal(),dropdownEdgeChildPadding:n});return[(e=>{let{componentCls:t,menuCls:o,zIndexPopup:n,dropdownArrowDistance:i,sizePopupArrow:l,antCls:r,iconCls:a,motionDurationMid:d,paddingBlock:s,fontSize:c,dropdownEdgeChildPadding:m,colorTextDisabled:u,fontSizeIcon:p,controlPaddingHorizontal:$,colorBgElevated:g,controlHeightLG:b}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:e.calc(l).div(2).sub(i).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:`calc(100vh - ${(0,w.zA)(e.calc(b).mul(2.5).equal())})`,overflowY:"auto"},[`&-trigger${r}-btn`]:{[`& > ${a}-down, & > ${r}-btn-icon > ${a}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${r}-btn > ${a}-down`]:{fontSize:p},[`${a}-down::before`]:{transition:`transform ${d}`}},[`${t}-wrap-open`]:{[`${a}-down::before`]:{transform:"rotate(180deg)"}},"&-hidden, &-menu-hidden, &-menu-submenu-hidden":{display:"none"},[`&${r}-slide-down-enter${r}-slide-down-enter-active${t}-placement-bottomLeft,
|
|
14
14
|
&${r}-slide-down-appear${r}-slide-down-appear-active${t}-placement-bottomLeft,
|
|
15
15
|
&${r}-slide-down-enter${r}-slide-down-enter-active${t}-placement-bottom,
|
|
16
16
|
&${r}-slide-down-appear${r}-slide-down-appear-active${t}-placement-bottom,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[412],{2256:(e,t,i)=>{i.d(t,{A:()=>o});let o=i(25341).A},7851:(e,t,i)=>{i.d(t,{A:()=>a});var o=i(97109),r=i(12059),n=i(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let a=o.forwardRef((e,t)=>o.createElement(n.A,l({},e,{ref:t,icon:r.A})))},9730:(e,t,i)=>{i.d(t,{A:()=>P});var o=i(97109),r=i(84190),n=i(45042),l=i(99981),a=i(3638),c=i(92162),s=i(26047),m=i(38862),d=i(35622),p=i(74567),$=i(27273),h=i(59609),u=i(10540),g=i(14932),b=i(17564);let v=e=>{let{prefixCls:t}=e;return o.createElement("svg",{className:`${t}-panel-arrow`,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},o.createElement("title",null,"Arrow"),o.createElement("path",{d:"M 0 0 L 100 50 L 0 100"}))},f=e=>{let{prefixCls:t,rootPrefixCls:i,children:r,percent:n}=e,l=`${t}-item-progress-icon`,c=`${l}-circle`,[,s]=(0,u.PN)(i,"cmp-steps"),m=`calc(${s("progress-radius")} * 2 * ${Math.PI*n/100}) 9999`;return o.createElement(o.Fragment,null,o.createElement("svg",{className:`${l}-svg`,viewBox:"0 0 100 100",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":n},o.createElement("title",null,"Progress"),o.createElement("circle",{className:(0,a.$)(c,`${c}-rail`)}),o.createElement("circle",{className:(0,a.$)(c,`${c}-ptg`),strokeDasharray:m,transform:"rotate(-90 50 50)"})),r)};var x=i(7961),z=i(28403);let w=(e,t,i)=>{let{calc:o,componentCls:r,descriptionMaxWidth:n,antCls:l}=e,a=`${r}-item`,[,c]=(0,u.PN)(l,"cmp-steps");return{[`@container style(${(n||"--ant-not-exist").replace(/var\((.*)\)/,"$1")})`]:[{[`${a}-icon`]:{marginInlineStart:o(n).sub(c("icon-size")).div(2).equal()},[`${a}-rail`]:{width:"auto",insetInlineStart:o(n).add(c("icon-size")).div(2).add(t).equal(),insetInlineEnd:o(n).sub(c("icon-size")).div(2).sub(t).mul(-1).equal()}},i]}};var y=i(15561);let S="wait",I="process",k="finish",A="error",E=(0,u.OF)("Steps",e=>{let t=(0,z.oX)(e,{inlineDotSize:6});return[(e=>{let{componentCls:t,antCls:i}=e,o=`${t}-item`,[r,n]=(0,u.PN)(i,"cmp-steps");return{[t]:{[r("title-font-size")]:e.fontSizeLG,[r("title-line-height")]:e.lineHeightLG,[r("subtitle-font-size")]:e.fontSize,[r("subtitle-line-height")]:e.lineHeight,[r("item-wrapper-padding-top")]:"0px",[r("rail-size")]:e.lineWidth,[r("rail-line-style")]:e.lineType,...(0,x.dF)(e),display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[o]:{flex:"none",position:"relative"},[`${o}-wrapper`]:{display:"flex",flexWrap:"nowrap",paddingTop:n("item-wrapper-padding-top")},[`${o}-header`]:{display:"flex",flexWrap:"nowrap",alignItems:"center"},[`${o}-title`]:{color:e.colorText,fontSize:n("title-font-size"),lineHeight:n("title-line-height"),wordBreak:"break-word"},[`${o}-subtitle`]:{color:e.colorTextDescription,fontWeight:"normal",fontSize:n("subtitle-font-size"),lineHeight:n("subtitle-line-height"),marginInlineStart:e.marginXS,wordBreak:"break-word"},[`${o}-content`]:{color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word"},[`${o}-rail`]:{borderStyle:n("rail-line-style"),borderWidth:0},[`${o}-title, ${o}-subtitle, ${o}-content, ${o}-rail`]:{transition:`all ${e.motionDurationSlow}`},[`&${t}-ellipsis`]:{[`${o}-title, ${o}-subtitle, ${o}-content`]:x.L9},[`${o}[role='button']:not(${o}-active):hover`]:{cursor:"pointer"}}}})(t),(e=>{let{componentCls:t,customIconFontSize:i,motionDurationSlow:o,iconSize:r,lineWidth:n,lineType:l,antCls:a}=e,c=`${t}-item`,[s,m]=(0,u.PN)(a,"cmp-steps");return{[t]:{[s("icon-size")]:r,[s("icon-border-width")]:n,[`${c}-icon`]:{width:m("icon-size"),height:m("icon-size"),margin:0,flex:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:m("icon-size"),textAlign:"center",borderRadius:m("icon-size"),border:`${m("icon-border-width")} ${l} transparent`,transition:["background-color","border","color","inset","transform"].map(e=>`${e} ${o}`).join(", "),zIndex:1},[`${c}-custom ${c}-icon`]:{background:"none",border:0,fontSize:i}}}})(t),(e=>{let{componentCls:t,marginXXS:i,paddingSM:o,controlHeight:r,antCls:n,calc:l}=e,a=`${t}-item`,[c,s]=(0,u.PN)(n,"cmp-steps");return{[`${t}-vertical`]:{[c("vertical-rail-margin")]:l(i).mul(1.5).equal(),flexDirection:"column",alignItems:"stretch",[`> ${a}`]:{minHeight:l(r).mul(1.5).equal(),paddingBottom:o,"&:last-child":{paddingBottom:0},[`${a}-icon`]:{marginInlineStart:`calc((${s("icon-size-max")} - ${s("icon-size")}) / 2)`},[`${a}-rail`]:{[c("rail-offset")]:l(s("heading-height")).sub(s("icon-size")).div(2).equal(),borderInlineStartWidth:s("rail-size"),position:"absolute",top:l(s("icon-size")).add(s("item-wrapper-padding-top")).add(s("rail-offset")).add(s("vertical-rail-margin")).equal(),insetInlineStart:l(s("icon-size-max")).div(2).equal(),bottom:l(s("vertical-rail-margin")).sub(s("rail-offset")).equal(),marginInlineStart:`calc(${s("rail-size")} / -2)`}}}}})(t),(e=>{let{componentCls:t,antCls:i}=e,o=`${t}-item`,[r,n]=(0,u.PN)(i,"cmp-steps");return{[`${t}-horizontal`]:{[`> ${o}`]:{flex:"1 1 auto",minWidth:e.iconSize,[`${o}-rail`]:{[r("horizontal-rail-margin")]:`calc(${n("icon-size-max")} / 2 - ${n("rail-size")} / 2 + ${n("item-wrapper-padding-top")})`,position:"static",marginTop:n("horizontal-rail-margin"),width:"auto",borderBlockStartWidth:n("rail-size"),flex:1,minWidth:0,alignSelf:"flex-start"}}}}})(t),(e=>{let{componentCls:t,descriptionMaxWidth:i,marginXS:o,fontHeightLG:r,margin:n,paddingSM:l,marginXXS:a,antCls:c,calc:s}=e,m=`${t}-item`,[d,p]=(0,u.PN)(c,"cmp-steps");return{[t]:{[d("icon-size-max")]:`max(${p("icon-size")}, ${p("icon-size-active",p("icon-size"))})`,[`${m}-icon`]:{marginBlockStart:`calc((${p("heading-height")} - ${p("icon-size")}) / 2)`}},[`${t}-title-horizontal`]:{[d("title-horizontal-item-margin")]:n,[d("title-horizontal-rail-margin")]:n,[d("title-horizontal-title-height")]:r,[d("heading-height")]:`max(${p("icon-size")}, ${p("title-horizontal-title-height")})`,[`&${t}-horizontal, &${t}-horizontal-alternate`]:{[`${m}:not(:first-child)`]:{marginInlineStart:p("title-horizontal-item-margin")},[`${m}:last-child`]:{flex:"0 1 auto"},[`${m}-wrapper`]:{columnGap:e.marginXS}},[`&${t}-vertical`]:{[`${m}-wrapper`]:{columnGap:e.margin},[`${m}-empty-header`]:{[`${m}-header`]:{minHeight:"auto"},[`${m}-content`]:{marginTop:s(p("heading-height")).sub(e.fontHeight).div(2).equal()}}},[`${m}-section`]:{flex:1,minWidth:0},[`${m}-header`]:{minHeight:p("heading-height")},[`${m}-title`]:{flex:"0 1 auto"},[`${m}-content`]:{maxWidth:i},[`${m}-subtitle`]:{flex:"0 9999 auto"},[`&${t}-horizontal ${m}-rail`]:{[d("item-wrapper-padding-top")]:"0px",flex:"1 1 0%",marginInlineStart:p("title-horizontal-rail-margin")}},[`${t}-title-vertical`]:{[d("title-vertical-row-gap")]:l,[d("title-horizontal-rail-gap")]:a,[d("heading-height")]:p("icon-size-max"),[`> ${m}`]:{flex:"1 1 0%",[`${m}-wrapper`]:{flexDirection:"column",rowGap:p("title-vertical-row-gap"),alignItems:"center"},[`${m}-section`]:{alignSelf:"stretch"},[`${m}-header`]:{flexDirection:"column",alignItems:"center"},[`${m}-title, ${m}-subtitle, ${m}-content`]:{textAlign:"center",maxWidth:"100%"},[`${m}-subtitle`]:{margin:0},[`${m}-rail`]:{position:"absolute",top:0,width:`calc(100% - ${p("icon-size")} - ${p("title-horizontal-rail-gap")} * 2)`,insetInlineStart:`calc(50% + ${p("icon-size")} / 2 + ${p("title-horizontal-rail-gap")})`}},...w(e,o,{[`${m}:last-child`]:{flex:"none"},[`${m}-icon`]:{alignSelf:"flex-start"},[`${m}-section`]:{width:i}})}}})(t),(e=>{let{componentCls:t,iconSizeSM:i,fontSize:o,lineHeight:r,marginXS:n,fontHeight:l,marginSM:a,paddingXS:c,antCls:s}=e,[m]=(0,u.PN)(s,"cmp-steps");return{[`${t}${t}-small`]:{[m("icon-size")]:i,[m("title-horizontal-item-margin")]:a,[m("title-vertical-row-gap")]:c,[m("title-font-size")]:o,[m("title-line-height")]:r,[m("title-horizontal-rail-margin")]:n,[m("title-horizontal-title-height")]:l,[`&${t}-horizontal${t}-title-vertical`]:w(e,n)}}})(t),(e=>{let{componentCls:t,iconSize:i,dotSize:o,dotCurrentSize:r,marginXXS:n,lineWidthBold:l,fontSizeSM:a,antCls:c}=e,s=`${t}-item`,[m,d]=(0,u.PN)(c,"cmp-steps");return{[`${t}${t}-dot`]:{[m("icon-size-active")]:r,[m("icon-size")]:o,[m("dot-icon-size")]:o,[m("dot-icon-border-width")]:l,[m("rail-size")]:l,[m("icon-border-width")]:l,[`${s}-custom ${s}-icon`]:{fontSize:a},[`${s}-icon`]:{position:"relative","&:after":{content:'""',width:i,height:i,display:"block",position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"}},[`${s}-active ${s}-icon`]:{[m("icon-size")]:d("icon-size-active")},[`&${t}-horizontal`]:{[`&, &${t}-small`]:w(e,n)}}}})(t),(e=>{let{componentCls:t,colorTextDisabled:i,colorTextLightSolid:o,colorPrimary:r,colorTextLabel:n,colorError:l,colorErrorHover:a,colorErrorBgFilledHover:c,colorFillTertiary:s,colorErrorBg:m,colorPrimaryBgHover:d,colorPrimaryBg:p,colorText:$,colorTextDescription:h,colorBgContainer:g,colorPrimaryHover:b,lineType:v,antCls:f}=e,x=`${t}-item`,[z,w]=(0,u.PN)(f,"cmp-steps");return{[t]:[{[x]:{[z("item-solid-line-color")]:"#000",[z("item-title-color")]:"#000",[z("item-content-color")]:"#000",[z("item-subtitle-color")]:w("item-content-color"),[z("item-icon-custom-color")]:"#000",[z("item-icon-bg-color")]:"#000",[z("item-icon-border-color")]:"#000",[z("item-icon-text-color")]:"#fff",[z("item-icon-dot-color")]:"#000",[z("item-icon-dot-bg-color")]:w("item-icon-dot-color"),[z("item-icon-dot-border-color")]:w("item-icon-dot-color"),[z("item-text-hover-color")]:"#000",[z("item-icon-bg-hover-color")]:w("item-icon-bg-color"),[z("item-icon-border-hover-color")]:w("item-icon-border-color"),[z("item-icon-text-hover-color")]:w("item-icon-text-color"),[z("item-content-active-color")]:w("item-content-color"),[z("item-icon-active-bg-color")]:w("item-icon-bg-color"),[z("item-icon-active-border-color")]:w("item-icon-border-color"),[z("item-icon-active-text-color")]:w("item-icon-text-color"),[z("item-process-rail-line-style")]:v},[`${x}-rail`]:{borderColor:w("item-solid-line-color")},[`${x}-custom ${x}-icon`]:{color:w("item-icon-custom-color")},[`${x}-title`]:{color:w("item-title-color")},[`${x}-subtitle`]:{color:w("item-subtitle-color")},[`${x}-content`]:{color:w("item-content-color")},[`${x}-active ${x}-icon`]:{},[`${x}-active ${x}-content`]:{color:w("item-content-active-color")},[`${x}[role='button']:not(${x}-active):hover`]:{[`${x}-title, ${x}-content`]:{color:w("item-text-hover-color")}},[`&:not(${t}-dot)`]:{[`${x}:not(${x}-custom)`]:{[`${x}-icon`]:{background:w("item-icon-bg-color"),borderColor:w("item-icon-border-color"),color:w("item-icon-text-color")},[`&[role='button']:not(${x}-active):hover`]:{[`${x}-icon`]:{background:w("item-icon-bg-hover-color"),borderColor:w("item-icon-border-hover-color"),color:w("item-icon-text-hover-color")}},[`&${x}-active`]:{[`${x}-icon`]:{background:w("item-icon-active-bg-color"),borderColor:w("item-icon-active-border-color"),color:w("item-icon-active-text-color")}}}},[`&${t}-dot`]:{[`${x}-icon`]:{background:w("item-icon-dot-bg-color"),borderColor:w("item-icon-dot-border-color"),color:w("item-icon-dot-color"),[`&${x}-icon-dot-custom`]:{background:"transparent",border:"none"}}}},{[`${x}-${S}`]:{[z("item-icon-custom-color")]:i,[z("item-title-color")]:h,[z("item-content-color")]:h,[z("item-content-active-color")]:$,[z("item-text-hover-color")]:b},[`${x}-rail-${S}`]:{[z("item-solid-line-color")]:i},[`${x}-${I}`]:{[z("item-icon-custom-color")]:r,[z("item-title-color")]:$,[z("item-content-color")]:h,[z("item-content-active-color")]:$,[z("item-text-hover-color")]:b},[`${x}-rail-${I}`]:{[z("item-solid-line-color")]:r,[z("rail-line-style")]:w("item-process-rail-line-style")},[`${x}-${k}`]:{[z("item-icon-custom-color")]:r,[z("item-title-color")]:$,[z("item-content-color")]:h,[z("item-content-active-color")]:$,[z("item-text-hover-color")]:b},[`${x}-rail-${k}`]:{[z("item-solid-line-color")]:r},[`${x}-${A}`]:{[z("item-icon-custom-color")]:l,[z("item-title-color")]:l,[z("item-content-color")]:l,[z("item-content-active-color")]:l,[z("item-text-hover-color")]:a},[`${x}-rail-${A}`]:{[z("item-solid-line-color")]:l}},{[`&${t}-filled`]:{[x]:{[z("item-icon-dot-border-color")]:"transparent"},[`${x}-${S}`]:{[z("item-icon-bg-color")]:s,[z("item-icon-border-color")]:"transparent",[z("item-icon-text-color")]:n,[z("item-icon-dot-bg-color")]:i,[z("item-icon-bg-hover-color")]:d,[z("item-icon-border-hover-color")]:"transparent",[z("item-icon-text-hover-color")]:r,[z("item-icon-active-bg-color")]:r,[z("item-icon-active-border-color")]:"transparent",[z("item-icon-active-text-color")]:o},[`${x}-${I}, ${x}-${k}`]:{[z("item-icon-bg-color")]:p,[z("item-icon-border-color")]:"transparent",[z("item-icon-text-color")]:r,[z("item-icon-dot-bg-color")]:r,[z("item-icon-bg-hover-color")]:d,[z("item-icon-border-hover-color")]:"transparent",[z("item-icon-text-hover-color")]:r,[z("item-icon-active-bg-color")]:r,[z("item-icon-active-border-color")]:"transparent",[z("item-icon-active-text-color")]:o},[`${x}-${A}`]:{[z("item-icon-bg-color")]:m,[z("item-icon-border-color")]:"transparent",[z("item-icon-text-color")]:l,[z("item-icon-dot-bg-color")]:l,[z("item-icon-bg-hover-color")]:c,[z("item-icon-border-hover-color")]:"transparent",[z("item-icon-text-hover-color")]:l,[z("item-icon-active-bg-color")]:l,[z("item-icon-active-border-color")]:"transparent",[z("item-icon-active-text-color")]:o}}},{[`&${t}-outlined`]:{[x]:{[z("item-icon-dot-bg-color")]:"transparent"},[`${x}-${S}`]:{[z("item-icon-bg-color")]:g,[z("item-icon-border-color")]:i,[z("item-icon-text-color")]:i,[z("item-icon-dot-color")]:i,[z("item-icon-bg-hover-color")]:"transparent",[z("item-icon-border-hover-color")]:b,[z("item-icon-text-hover-color")]:b,[z("item-icon-active-bg-color")]:s},[`${x}-${I}, ${x}-${k}`]:{[z("item-icon-bg-color")]:g,[z("item-icon-border-color")]:r,[z("item-icon-text-color")]:r,[z("item-icon-dot-color")]:r,[z("item-icon-bg-hover-color")]:"transparent",[z("item-icon-border-hover-color")]:b,[z("item-icon-text-hover-color")]:b,[z("item-icon-active-bg-color")]:p},[`${x}-${A}`]:{[z("item-icon-bg-color")]:g,[z("item-icon-border-color")]:l,[z("item-icon-text-color")]:l,[z("item-icon-dot-color")]:l,[z("item-icon-bg-hover-color")]:"transparent",[z("item-icon-border-hover-color")]:a,[z("item-icon-text-hover-color")]:a,[z("item-icon-active-bg-color")]:m}}}]}})(t),(e=>{let{componentCls:t,fontSizeIcon:i,navContentMaxWidth:o,navArrowColor:r,colorPrimary:n,motionDurationSlow:l,antCls:a,calc:c}=e,s=`${t}-item`,[m,d]=(0,u.PN)(a,"cmp-steps");return{[`${t}${t}-navigation`]:{[s.repeat(4)]:{display:"flex",justifyContent:"center",position:"relative",flex:1,marginInlineStart:0,[`${s}-wrapper`]:{paddingBlock:e.paddingSM},[`${s}-section`]:{maxWidth:o},[`${s}-rail`]:{display:"none"},"&:before":{position:"absolute",display:"block",backgroundColor:n,transition:`all ${l}`,transitionTimingFunction:"ease-out",content:'""'},"&:not(:last-child):after":{position:"absolute",display:"block",borderTop:`${(0,y.zA)(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,y.zA)(e.lineWidth)} ${e.lineType} ${r}`,content:'""'},[`&${s}-active`]:{[m("item-content-active-color")]:d("item-content-color"),[m("item-icon-active-bg-color")]:d("item-icon-bg-color"),[m("item-icon-active-border-color")]:d("item-icon-border-color"),[m("item-icon-active-text-color")]:d("item-icon-text-color")}},[`&${t}-horizontal`]:{[s]:{"&:before":{bottom:0,insetInlineStart:"50%",width:0,height:e.lineWidthBold},[`&${s}-active:before`]:{insetInlineStart:0,width:"100%"},"&:not(:last-child):after":{top:"50%",insetInlineStart:c(i).div(2).mul(-1).add("100%").equal(),width:i,height:i,transform:"translateY(-50%) rotate(45deg)"}}},[`&${t}-vertical`]:{[s.repeat(4)]:{[`${s}-content`]:{padding:0},"&:before":{insetInlineEnd:0,top:"50%",width:e.lineWidthBold,height:0},[`&${s}-active::before`]:{top:0,height:"100%"},"&:not(:last-child):after":{left:{_skip_check_:!0,value:"50%"},top:"100%",width:c(i).div(3).mul(2).equal(),height:c(i).div(3).mul(2).equal(),transform:"translateY(-50%) translateX(-50%) rotate(135deg)"}}}}}})(t),(e=>{let{componentCls:t,lineWidthBold:i,borderRadius:o,borderRadiusSM:r,motionDurationMid:n,paddingXS:l,lineType:a,paddingSM:c,antCls:s,calc:m}=e,d=`${t}-item`,[p,$]=(0,u.PN)(s,"cmp-steps"),h=`${(0,y.zA)(i)} ${a} ${$("panel-border-color")}`;return{[`${t}${t}-panel`]:[{[`${d}-rail`]:{display:"none"},[`&${t}-horizontal`]:{alignItems:"stretch",[d]:{flex:1,margin:0}}},{"&":{[p("panel-padding")]:c,[p("item-border-radius")]:o,[d]:{[p("panel-bg-color")]:$("item-icon-bg-color"),[p("panel-border-color")]:$("item-icon-border-color"),[p("panel-active-bg-color")]:$("item-icon-active-bg-color"),[p("panel-active-border-color")]:$("item-icon-active-border-color"),[p("panel-title-height")]:`calc(${$("title-font-size")} * ${$("title-line-height")})`,[p("item-base-height")]:m($("panel-padding")).mul(2).add($("icon-size")).add($("panel-title-height")).equal(),[p("item-base-width")]:`calc(${$("item-base-height")} * 0.7071)`,transition:`background-color ${n}`}},[`${d}-icon`]:{display:"none"},[`${d}-header`]:{minHeight:"auto"},[`${t}-panel-arrow`]:{position:"absolute",top:m(i).mul(-1).equal(),insetInlineStart:"100%",zIndex:1,height:m(i).mul(2).add("100%").equal(),width:$("item-base-width"),overflow:"visible",strokeLinecap:"round",path:{fill:$("panel-bg-color"),stroke:$("panel-border-color"),strokeWidth:i,vectorEffect:"non-scaling-stroke",transition:`fill ${n}`}},[`${d}:last-child ${t}-panel-arrow`]:{display:"none"},[d]:{padding:$("panel-padding"),background:$("panel-bg-color"),position:"relative",borderBlock:h,"&:not(:first-child)":{paddingInlineStart:`calc(${$("panel-padding")} + ${$("item-base-width")})`},"&:first-child":{borderInlineStart:h,borderStartStartRadius:$("item-border-radius"),borderEndStartRadius:$("item-border-radius")},"&:last-child":{borderInlineEnd:h,borderStartEndRadius:$("item-border-radius"),borderEndEndRadius:$("item-border-radius")},"&-active":{background:$("panel-active-bg-color"),borderColor:$("panel-active-border-color"),[`${t}-panel-arrow`]:{path:{fill:$("panel-active-bg-color"),stroke:$("panel-active-border-color")}},[`${d}-title, ${d}-subtitle, ${d}-content`]:{color:$("item-icon-active-text-color")}}}},{[`&${t}-small`]:{[p("panel-padding")]:l,[p("item-border-radius")]:r}},{[`&${t}-filled`]:{[d]:{"&:not(:first-child)":{clipPath:`polygon(${(0,y.zA)(i)} 0,calc(100% + ${$("item-base-width")}) 0,calc(100% + ${$("item-base-width")}) 100%,${(0,y.zA)(i)} 100%,calc(${$("item-base-width")} + ${(0,y.zA)(i)}) 50%)`}}}},{[`&${t}-outlined`]:{[`${t}-panel-arrow`]:{top:m(i).div(2).mul(-1).equal(),height:m(i).add("100%").equal()}}}]}})(t),(e=>{let{componentCls:t,inlineDotSize:i,paddingXS:o,lineWidth:r,antCls:n,calc:l}=e,a=l(o).add(r).equal(),c=`${t}-item`,[s,m]=(0,u.PN)(n,"cmp-steps");return{[`${t}-inline`]:{[s("items-offset")]:"0",[s("item-wrapper-padding-top")]:a,display:"inline-flex","&:before":{content:'""',flex:m("items-offset")},[c]:{[s("title-vertical-row-gap")]:o,[s("icon-size")]:i,[s("icon-size-active")]:i,[s("title-font-size")]:e.fontSizeSM,[s("title-line-height")]:e.lineHeightSM,[s("item-title-color")]:e.colorTextSecondary,[s("subtitle-font-size")]:e.fontSizeSM,[s("subtitle-line-height")]:e.lineHeightSM,[s("item-subtitle-color")]:e.colorTextQuaternary,[s("rail-size")]:e.lineWidth,[s("title-horizontal-rail-gap")]:"0px",flex:1,"&-wrapper":{paddingInline:e.paddingXXS,marginInline:e.calc(e.marginXXS).div(2).equal(),borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover}},"&-icon":{[`${c}-icon-dot`]:{"&:after":{display:"none"}}},"&-title":{fontWeight:"normal",whiteSpace:"nowrap"},"&-content":{display:"none"}}}}})(t),(e=>{let{componentCls:t}=e,i=`${t}-item`;return{[`${t}-max-count`]:{[`${i}-ellipsis`]:{[`${i}-title, ${i}-subtitle, ${i}-content`]:{color:e.colorTextDescription}}}}})(t),(e=>{let{calc:t,antCls:i,componentCls:o,lineWidthBold:r,motionDurationSlow:n}=e,l=`${o}-item`,[a,c]=(0,u.PN)(i,"cmp-steps"),s=t(r).add(r).equal();return{[`${o}${o}-with-progress`]:{[a("item-wrapper-padding-top")]:s,[`${l}${l}-process`]:{[`${l}-icon`]:{position:"relative"}},[`${l}-progress-icon`]:{"&-svg":{[a("svg-size")]:t(s).mul(2).add(c("icon-size")).equal(),[a("icon-size-ptg-unitless")]:`calc(100 / tan(atan2(${c("svg-size")}, 1px)))`,fontSize:c("svg-size"),lineHeight:c("icon-size-ptg-unitless"),position:"absolute",inset:t(s).mul(-1).equal(),width:"auto",height:"auto"},"&-circle":{lineHeight:c("icon-size-ptg-unitless"),strokeWidth:t(c("icon-size-ptg-unitless")).mul(r).equal(),[a("progress-radius")]:t(c("svg-size")).sub(r).mul(c("icon-size-ptg-unitless")).div(2).equal(),r:c("progress-radius"),fill:"none",cx:50,cy:50,transition:`all ${n} ease-in-out`,"&-rail":{stroke:e.colorSplit},"&-ptg":{stroke:e.colorPrimary}}}}}})(t),(e=>{let{componentCls:t,lineWidthBold:i,antCls:o}=e,r=`${t}-item`,[,n]=(0,u.PN)(o,"cmp-steps");return{[`${t}${t}-rtl`]:{direction:"rtl",[`&${t}-navigation${t}-horizontal`]:{[`${r}:after`]:{transform:"translateY(-50%) rotate(-45deg)"}},[`&${t}-panel`]:{[`${t}-panel-arrow`]:{transform:"scaleX(-1)"},[`&${t}-filled`]:{[r]:{"&:not(:first-child)":{clipPath:`polygon(calc(0px - ${n("item-base-width")}) 0px,calc(100% - ${(0,y.zA)(i)}) 0px,calc(100% - ${n("item-base-width")} - ${(0,y.zA)(i)}) 50%,calc(100% - ${(0,y.zA)(i)}) 100%,calc(0px - ${n("item-base-width")}) 100%)`}}}}}}})(t)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"unset",descriptionMaxWidth:void 0,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}));var C=i(20241);let N={itemIcon:d.D},P=e=>{let t,i,{size:d,className:x,rootClassName:z,style:w,variant:y="filled",type:S,classNames:I,styles:k,direction:A,orientation:P,responsive:M=!0,progressDot:H,labelPlacement:B,titlePlacement:W,ellipsis:O,maxCount:T,offset:j=0,items:q,percent:R,current:L=0,initial:D=0,onChange:F,iconRender:_,...X}=e,G=o.useContext(b.j),V=(0,p.TP)("steps"),{getPrefixCls:Y,direction:Q,className:K,style:J}=V,U={};G?U={root:G.rootComponent,item:G.itemComponent}:{classNames:t,styles:i}=V;let Z=Y(),ee=Y("steps",e.prefixCls),et=`${ee}-item-icon`,[ei,eo]=E(ee),[er]=(0,u.PN)(Z,"cmp-steps"),en=(0,$.A)(d),el=o.useMemo(()=>(q||[]).filter(Boolean),[q]),{xs:ea}=(0,h.A)(M),ec=o.useMemo(()=>S&&"default"!==S?S:H?"dot":S,[H,S]),es="inline"===ec,em="dot"===ec||"inline"===ec,ed=o.useMemo(()=>"dot"===ec&&(0,s.Tn)(H)?H:void 0,[ec,H]),ep=o.useMemo(()=>{let e=P||A;return"panel"===ec?"horizontal":M&&ea||"vertical"===e?"vertical":"horizontal"},[P,A,ec,M,ea]),e$=o.useMemo(()=>em||"vertical"===ep?"vertical"===ep?"horizontal":"vertical":"navigation"===S?"horizontal":W||B||"horizontal",[em,B,ep,W,S]),eh=es?void 0:R,{canApplyMaxCount:eu,displaySteps:eg,mappedDisplayCurrent:eb,displayItems:ev}=function(e,t,i,r,n){let l=void 0!==r&&r>=3&&e.length>r,a=t-i,c=o.useMemo(()=>{if(!l)return e.map((e,t)=>({item:e,originIndex:t}));let t=function(e,t,i){let o=Math.min(Math.max(t,0),e-1),r=Math.min(i,e),n=new Set([0,o,e-1]);for(let t=1;n.size<r&&t<e;t+=1)for(let i of[o-t,o+t,t,e-1-t]){if(n.size>=r)break;i>=0&&i<e&&n.add(i)}return Array.from(n).sort((e,t)=>e-t).flatMap((e,t,i)=>t>0&&e-i[t-1]>1?[null,e]:[e])}(e.length,a,r);return t.map((i,r)=>{var l;return null===i?function(e,t,i,r,n){let l=e[i].key??i,a=e[r].key??r,c=e.slice(i+1,r).some(e=>"error"===e.status)?"error":r-1<t?"finish":"wait";return{item:{key:`ellipsis-${l}-${a}`,title:"",icon:o.createElement(C.A),status:c,disabled:!0,className:`${n}-item-ellipsis`},originIndex:-1}}(e,a,t[r-1],t[r+1],n):(l=e[i],{item:{...l,key:l.key??i},originIndex:i})})},[l,a,e,r,n]),s=c.findIndex(e=>e.originIndex===a);return{canApplyMaxCount:l,displaySteps:c,mappedDisplayCurrent:s>=0?s:a,displayItems:c.map(e=>e.item)}}(el,L,D,T,ee),ef={...e,variant:y,size:en,type:ec,orientation:ep,titlePlacement:e$,current:L,initial:D,percent:eh,responsive:M,offset:j,ellipsis:O,maxCount:T},[ex,ez]=(0,c.AV)([N,t,I],[i,k],{props:ef}),ew="panel"===ec?e=>o.createElement(o.Fragment,null,e,o.createElement(v,{prefixCls:ee})):void 0,ey={[er("items-offset")]:`${j}`,...J,...w},eS=(0,a.$)(K,`${ee}-${y}`,{[`${ee}-${ec}`]:"dot"!==ec&&ec,[`${ee}-rtl`]:"rtl"===Q,[`${ee}-dot`]:em,[`${ee}-ellipsis`]:O,[`${ee}-max-count`]:eu,[`${ee}-with-progress`]:void 0!==eh,[`${ee}-small`]:"small"===en},x,z,ei,eo);return o.createElement(l.Ay,{...X,prefixCls:ee,className:eS,style:ey,classNames:ex,styles:ez,orientation:ep,titlePlacement:e$,components:U,initial:0,current:eb,items:ev,onChange:F?e=>{let t=eg[e];F&&t&&t.originIndex>=0&&F(D+t.originIndex)}:void 0,iconRender:(e,t)=>{let{item:i,index:l,active:a,components:{Icon:c}}=t,m=eg[l]?.originIndex,d=void 0!==m&&m>=0?D+m:l,{status:p,icon:$}=i,h=null;if(em||$)h=$;else switch(p){case"finish":h=o.createElement(r.A,{className:`${et}-finish`});break;case"error":h=o.createElement(n.A,{className:`${et}-error`});break;default:{let e=o.createElement("span",{className:`${et}-number`},d+1);"process"===p&&void 0!==eh&&(e=o.createElement(f,{prefixCls:ee,rootPrefixCls:Z,percent:eh},e)),h=e}}let u=o.createElement(c,null,h);return _?u=_(u,{index:d,active:a,item:i,components:{Icon:c}}):(0,s.Tn)(ed)&&(u=ed(u,{index:d,...i})),u},itemRender:(e,t)=>{let i=e;return es&&t.item.content&&(i=o.createElement(g.A,{destroyOnHidden:!0,title:t.item.content},e)),o.createElement(m.A,{component:"Steps",disabled:t.item.disabled||!F,colorSource:"filled"===y?"color":null},i)},itemWrapperRender:ew})}},12059:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"}},15437:(e,t,i)=>{i.d(t,{A:()=>o});let o=e=>{let{componentCls:t,antCls:i,motionDurationMid:o,motionEaseInOut:r}=e;return{[t]:{[`${i}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${o} ${r}`).join(", ")} !important`}},[`${i}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${o} ${r}`).join(", ")} !important`}}}}},17564:(e,t,i)=>{i.d(t,{j:()=>o});let o=i(97109).createContext(null)},30960:(e,t,i)=>{i.d(t,{A:()=>a});var o=i(97109),r=i(95008),n=i(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let a=o.forwardRef((e,t)=>o.createElement(n.A,l({},e,{ref:t,icon:r.A})))},38770:(e,t,i)=>{i.d(t,{A:()=>o});let o=i(51916).A},68498:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"}},71330:(e,t,i)=>{i.d(t,{A:()=>a});var o=i(97109),r=i(68498),n=i(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let a=o.forwardRef((e,t)=>o.createElement(n.A,l({},e,{ref:t,icon:r.A})))},95008:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"}},99981:(e,t,i)=>{i.d(t,{QB:()=>a,Ay:()=>b});var o=i(3638),r=i(97109),n=i(99452);function l(e){let{prefixCls:t,className:i,style:n,status:l}=e,a=`${t}-rail`;return r.createElement("div",{className:(0,o.$)(a,`${a}-${l}`,i),style:n})}let a=r.createContext({}),c=r.createContext(null);var s=i(17597);function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let d=r.createContext({}),p=r.forwardRef((e,t)=>{let{className:i,style:n,children:l,...a}=e,{prefixCls:p,classNames:$,styles:h}=r.useContext(c),{className:u,style:g}=r.useContext(d),b=`${p}-item`;return r.createElement("div",m({},(0,s.A)(a,!1),{ref:t,className:(0,o.$)(`${b}-icon`,$.itemIcon,u,i),style:{...h.itemIcon,...g,...n}}),l)});function $(){return($=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}function h(e){let{prefixCls:t,classNames:i,styles:s,data:m,last:h,nextStatus:u,active:g,index:b,itemRender:v,iconRender:f,itemWrapperRender:x,onClick:z}=e,w=`${t}-item`,{railFollowPrevStatus:y}=r.useContext(a),{ItemComponent:S}=r.useContext(c),{onClick:I,title:k,subTitle:A,content:E,description:C,disabled:N,icon:P,status:M,className:H,style:B,classNames:W={},styles:O={},...T}=m,j=E??C,q={item:{...m,content:j},index:b,active:g},R={};(z||I)&&!N&&(R.role="button",R.tabIndex=0,R.onClick=e=>{I?.(e),z(b)},R.onKeyDown=e=>{let{which:t}=e;(t===n.A.ENTER||t===n.A.SPACE)&&z(b)});let L=M||"wait",D=null!=k,F=null!=A,_=(0,o.$)(w,`${w}-${L}`,{[`${w}-custom`]:P,[`${w}-active`]:g,[`${w}-disabled`]:!0===N,[`${w}-empty-header`]:!D&&!F},H,i.item,W.root),X=r.createElement(p,null);f&&(X=f(X,{...q,components:{Icon:p}}));let G=r.createElement("div",{className:(0,o.$)(`${w}-wrapper`,i.itemWrapper,W.wrapper),style:{...s.itemWrapper,...O.wrapper}},r.createElement(d.Provider,{value:{className:W.icon,style:O.icon}},X),r.createElement("div",{className:(0,o.$)(`${w}-section`,i.itemSection,W.section),style:{...s.itemSection,...O.section}},r.createElement("div",{className:(0,o.$)(`${w}-header`,i.itemHeader,W.header),style:{...s.itemHeader,...O.header}},D&&r.createElement("div",{className:(0,o.$)(`${w}-title`,i.itemTitle,W.title),style:{...s.itemTitle,...O.title}},k),F&&r.createElement("div",{title:"string"==typeof A?A:void 0,className:(0,o.$)(`${w}-subtitle`,i.itemSubtitle,W.subtitle),style:{...s.itemSubtitle,...O.subtitle}},A),!h&&r.createElement(l,{prefixCls:w,className:(0,o.$)(i.itemRail,W.rail),style:{...s.itemRail,...O.rail},status:y?M:u})),null!=j&&r.createElement("div",{className:(0,o.$)(`${w}-content`,i.itemContent,W.content),style:{...s.itemContent,...O.content}},j))),V=r.createElement(S,$({},T,R,{className:_,style:{...s.item,...O.root,...B}}),x?x(G):G);return v&&(V=v(V,q)||null),V}function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let g={},b=function(e){let{prefixCls:t="rc-steps",style:i,className:n,classNames:l=g,styles:a=g,rootClassName:s,orientation:m,titlePlacement:d,components:p,status:$="process",current:b=0,initial:v=0,onChange:f,items:x,iconRender:z,itemRender:w,itemWrapperRender:y,...S}=e,I="vertical"===m,k=(0,o.$)(t,`${t}-${I?"vertical":"horizontal"}`,`${t}-title-${I||"vertical"!==d?"horizontal":"vertical"}`,s,n,l.root),A=r.useMemo(()=>(x||[]).filter(Boolean),[x]),E=r.useMemo(()=>A.map(({status:e},t)=>{let i=v+t;return e?e:i===b?$:i<b?"finish":"wait"}),[A,$,b,v]),C=e=>{f&&b!==e&&f(e)},{root:N="div",item:P="div"}=p||{},M=r.useMemo(()=>({prefixCls:t,classNames:l,styles:a,ItemComponent:P}),[t,l,a,P]);return r.createElement(N,u({className:k,style:{...i,...a?.root}},S),r.createElement(c.Provider,{value:M},A.map((e,i)=>{let o=v+i,n=E[i],c=E[i+1],s={...e,status:n};return r.createElement(h,{key:o,prefixCls:t,classNames:l,styles:a,data:s,nextStatus:c,active:o===b,index:o,last:A.length-1===i,iconRender:z,itemRender:w,itemWrapperRender:y,onClick:f&&C})})))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[698],{2256:(e,t,n)=>{n.d(t,{A:()=>r});let r=n(25341).A},12887:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"}},15437:(e,t,n)=>{n.d(t,{A:()=>r});let r=e=>{let{componentCls:t,antCls:n,motionDurationMid:r,motionEaseInOut:o}=e;return{[t]:{[`${n}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${r} ${o}`).join(", ")} !important`}},[`${n}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${r} ${o}`).join(", ")} !important`}}}}},20966:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"}},25345:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(99729),a=n(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,c({},e,{ref:t,icon:o.A})))},26631:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(12887),a=n(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,c({},e,{ref:t,icon:o.A})))},30960:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(95008),a=n(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,c({},e,{ref:t,icon:o.A})))},38770:(e,t,n)=>{n.d(t,{A:()=>r});let r=n(51916).A},43094:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(72870),a=n(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,c({},e,{ref:t,icon:o.A})))},43979:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(59291),a=n(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,c({},e,{ref:t,icon:o.A})))},44858:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z"}}]},name:"table",theme:"outlined"}},59291:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"profile",theme:"outlined"}},66284:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"}},72870:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"align-left",theme:"outlined"}},75548:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(66284),a=n(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,c({},e,{ref:t,icon:o.A})))},80042:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(44858),a=n(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,c({},e,{ref:t,icon:o.A})))},84662:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(20966),a=n(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,c({},e,{ref:t,icon:o.A})))},85493:(e,t,n)=>{n.d(t,{A:()=>x});var r=n(97109),o=n(59188),a=n(4216),c=n(45042),i=n(97137),l=n(62188),s=n(67189),d=n(42644),v=n(3638),p=n(92162),h=n(26047),m=n(74567),f=n(15561),u=n(7961),g=n(10540);let b=(e,t,n)=>({background:e,[`${n}-icon`]:{color:t}}),y=(0,g.OF)("Alert",e=>[(e=>{let{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:o,fontSize:a,fontSizeLG:c,lineHeight:i,borderRadiusLG:l,motionEaseInOutCirc:s,withDescriptionIconSize:d,colorText:v,colorTextHeading:p,withDescriptionPadding:h,defaultPadding:m,lineWidth:g,lineType:b,colorSuccessBorder:y,colorWarningBorder:A,colorErrorBorder:$,colorInfoBorder:z}=e;return{[t]:{...(0,u.dF)(e),position:"relative",display:"flex",alignItems:"center",padding:m,wordWrap:"break-word",borderRadius:l,borderWidth:(0,f.zA)(g),borderStyle:b,[`&${t}-success`]:{borderColor:y},[`&${t}-info`]:{borderColor:z},[`&${t}-warning`]:{borderColor:A},[`&${t}-error`]:{borderColor:$},[`&${t}-filled`]:{borderColor:"transparent"},[`&${t}-rtl`]:{direction:"rtl"},[`${t}-section`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:a,lineHeight:i},"&-title":{color:p},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:["max-height","opacity","padding-top","padding-bottom","margin-bottom"].map(e=>`${e} ${n} ${s}`).join(", ")},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0},[`&${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:o,fontSize:d,lineHeight:0},[`${t}-title`]:{display:"block",marginBottom:r,color:p,fontSize:c},[`${t}-description`]:{display:"block",color:v}},[`&${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}}})(e),(e=>{let{componentCls:t,colorSuccess:n,colorSuccessBg:r,colorWarning:o,colorWarningBg:a,colorError:c,colorErrorBg:i,colorInfo:l,colorInfoBg:s}=e;return{[t]:{"&-success":b(r,n,t),"&-info":b(s,l,t),"&-warning":b(a,o,t),"&-error":{...b(i,c,t),[`${t}-description > pre`]:{margin:0,padding:0}}}}})(e),(e=>{let{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:o,fontSizeIcon:a,colorIcon:c,colorIconHover:i}=e;return{[t]:{[`${t}-actions`]:{marginInlineStart:o},[`${t}-close-icon`]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:a,lineHeight:(0,f.zA)(a),backgroundColor:"transparent",border:"none",cursor:"pointer",...(0,u.K8)(e),[`${n}-close`]:{color:c,transition:`color ${r}`,"&:hover":{color:i}}},"&-close-text":{color:c,transition:`color ${r}`,"&:hover":{color:i}}}}})(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),A=e=>{let{icon:t,type:n,className:c,style:s,successIcon:d,infoIcon:v,warningIcon:p,errorIcon:h}=e,m={success:d??r.createElement(o.A,null),info:v??r.createElement(l.A,null),error:h??r.createElement(a.A,null),warning:p??r.createElement(i.A,null)};return r.createElement("span",{className:c,style:s},t??m[n])},$=e=>{let{isClosable:t,prefixCls:n,closeIcon:o,handleClose:a,ariaProps:i,className:l,style:s}=e,d=!0===o||void 0===o?r.createElement(c.A,null):o;return t?r.createElement("button",{type:"button",onClick:a,className:(0,v.$)(`${n}-close-icon`,l),tabIndex:0,style:s,...i},d):null},z=r.forwardRef((e,t)=>{let{description:n,prefixCls:o,message:a,title:c,banner:i,className:l,rootClassName:f,style:u,onMouseEnter:g,onMouseLeave:b,onClick:z,afterClose:w,showIcon:H,closable:E,closeText:O,closeIcon:j,action:M,id:V,styles:x,classNames:L,...C}=e,I=c??a,[R,S]=r.useState(!1),k=r.useRef(null);r.useImperativeHandle(t,()=>({nativeElement:k.current}));let{getPrefixCls:N,direction:B,variant:P,closable:D,closeIcon:Q,className:K,style:T,classNames:_,styles:W,successIcon:X,infoIcon:F,warningIcon:G,errorIcon:q}=(0,m.TP)("alert"),J=N("alert",o),[U,Y]=y(J),{onClose:Z,afterClose:ee}=(0,h.Qd)(E)?E:{},et=t=>{S(!0),(Z??e.onClose)?.(t)},en=r.useMemo(()=>void 0!==e.type?e.type:i?"warning":"info",[e.type,i]),er=e.variant??P??"outlined",eo=r.useMemo(()=>!!(0,h.Qd)(E)&&!!E.closeIcon||!!O||("boolean"==typeof E?E:!!(!1!==j&&(0,h.R)(j))||!!D),[O,j,E,D]),ea=!!i&&void 0===H||H,ec={...e,prefixCls:J,variant:er,type:en,showIcon:ea,closable:eo},ei=(0,p.XT)(T),el=(0,p.XT)(u),[es,ed]=(0,p.AV)([_,L],[W,ei,x,el],{props:ec}),ev=(0,v.$)(J,`${J}-${en}`,`${J}-${er}`,{[`${J}-with-description`]:!!n,[`${J}-no-icon`]:!ea,[`${J}-banner`]:!!i,[`${J}-rtl`]:"rtl"===B},K,l,f,es.root,Y,U),ep=(0,d.KE)(C,{aria:!0,data:!0}),eh=r.useMemo(()=>(0,h.Qd)(E)&&E.closeIcon?E.closeIcon:O||(void 0!==j?j:(0,h.Qd)(D)&&D.closeIcon?D.closeIcon:Q),[j,E,D,O,Q]),em=r.useMemo(()=>{let e=E??D;return(0,h.Qd)(e)?(0,d.KE)(e,{data:!0,aria:!0}):{}},[E,D]);return r.createElement(s.Ay,{visible:!R,motionName:`${J}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:ee??w},({className:t,style:o},a)=>r.createElement("div",{id:V,ref:(0,d.K4)(k,a),"data-show":!R,className:(0,v.$)(ev,t),style:{...ed.root,...o},onMouseEnter:g,onMouseLeave:b,onClick:z,role:"alert",...ep},ea?r.createElement(A,{className:(0,v.$)(`${J}-icon`,es.icon),style:ed.icon,description:n,icon:e.icon,prefixCls:J,type:en,successIcon:X,infoIcon:F,warningIcon:G,errorIcon:q}):null,r.createElement("div",{className:(0,v.$)(`${J}-section`,es.section),style:ed.section},I?r.createElement("div",{className:(0,v.$)(`${J}-title`,es.title),style:ed.title},I):null,n?r.createElement("div",{className:(0,v.$)(`${J}-description`,es.description),style:ed.description},n):null),M?r.createElement("div",{className:(0,v.$)(`${J}-actions`,es.actions),style:ed.actions},M):null,r.createElement($,{className:es.close,style:ed.close,isClosable:eo,prefixCls:J,closeIcon:eh,handleClose:et,ariaProps:em})))});var w=n(41113),H=n(49939),E=n(90218),O=n(13076),j=n(83784),M=n(15472);let V=function(e){function t(){var e,n,r;return(0,w.A)(this,t),n=t,r=arguments,n=(0,E.A)(n),(e=(0,j.A)(this,(0,O.A)()?Reflect.construct(n,r||[],(0,E.A)(this).constructor):n.apply(this,r))).state={error:void 0,info:{}},e}return(0,M.A)(t,e),(0,H.A)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,title:t,description:n,id:o,children:a}=this.props,{error:c,info:i}=this.state,l=t??e,s=i?.componentStack||null,d=(0,h.R)(l)?l:c?.toString(),v=(0,h.R)(n)?n:s;return c?r.createElement(z,{id:o,type:"error",title:d,description:r.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},v)}):a}}])}(r.PureComponent);z.ErrorBoundary=V;let x=z},92123:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"}},95008:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"}},96651:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(92123),a=n(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,c({},e,{ref:t,icon:o.A})))},99729:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z"}}]},name:"audit",theme:"outlined"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[788],{1611:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"}},2256:(e,t,a)=>{a.d(t,{A:()=>n});let n=a(25341).A},8579:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"}},11100:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M567.1 512l318.5-319.3c5-5 1.5-13.7-5.6-13.7h-90.5c-2.1 0-4.2.8-5.6 2.3l-273.3 274-90.2-90.5c12.5-22.1 19.7-47.6 19.7-74.8 0-83.9-68.1-152-152-152s-152 68.1-152 152 68.1 152 152 152c27.7 0 53.6-7.4 75.9-20.3l90 90.3-90.1 90.3A151.04 151.04 0 00288 582c-83.9 0-152 68.1-152 152s68.1 152 152 152 152-68.1 152-152c0-27.2-7.2-52.7-19.7-74.8l90.2-90.5 273.3 274c1.5 1.5 3.5 2.3 5.6 2.3H880c7.1 0 10.7-8.6 5.6-13.7L567.1 512zM288 370c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80zm0 444c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"}}]},name:"scissor",theme:"outlined"}},14995:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"}},21247:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482.2 508.4L331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"}}]},name:"merge-cells",theme:"outlined"}},23216:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(97109),r=a(29664),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}let s=n.forwardRef((e,t)=>n.createElement(c.A,l({},e,{ref:t,icon:r.A})))},23830:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"}},26619:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(97109),r=a(1611),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}let s=n.forwardRef((e,t)=>n.createElement(c.A,l({},e,{ref:t,icon:r.A})))},29606:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(97109),r=a(23830),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}let s=n.forwardRef((e,t)=>n.createElement(c.A,l({},e,{ref:t,icon:r.A})))},29664:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z"}}]},name:"apartment",theme:"outlined"}},35459:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(97109),r=a(98995),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}let s=n.forwardRef((e,t)=>n.createElement(c.A,l({},e,{ref:t,icon:r.A})))},38770:(e,t,a)=>{a.d(t,{A:()=>n});let n=a(51916).A},49484:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(97109),r=a(11100),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}let s=n.forwardRef((e,t)=>n.createElement(c.A,l({},e,{ref:t,icon:r.A})))},53234:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"hdd",theme:"outlined"}},54849:(e,t,a)=>{a.d(t,{A:()=>w});var n=a(97109),r=a(42644),c=a(52690),l=a(3638),s=a(92162),o=a(26047),i=a(74567),f=a(88762);let v=e=>{let t,{value:a,formatter:r,precision:c,decimalSeparator:l,groupSeparator:s="",prefixCls:i,className:f,style:v}=e;if((0,o.Tn)(r))t=r(a);else{let e=String(a),r=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(r&&"-"!==e){let e=r[1],a=r[2]||"0",f=r[4]||"";a=a.replace(/\B(?=(\d{3})+(?!\d))/g,s),(0,o.Et)(c)&&(f=f.padEnd(c,"0").slice(0,c>0?c:0)),f&&(f=`${l}${f}`),t=[n.createElement("span",{key:"int",className:`${i}-content-value-int`},e,a),f&&n.createElement("span",{key:"decimal",className:`${i}-content-value-decimal`},f)]}else t=e}return n.createElement("span",{className:f,style:v},t)};var h=a(7961),d=a(10540),u=a(28403);let m=(0,d.OF)("Statistic",e=>(e=>{let{componentCls:t,marginXXS:a,padding:n,colorTextDescription:r,titleFontSize:c,colorTextHeading:l,contentFontSize:s,fontFamily:o}=e;return{[t]:{...(0,h.dF)(e),[`${t}-header`]:{paddingBottom:a,[`${t}-title`]:{color:r,fontSize:c}},[`${t}-skeleton`]:{paddingTop:n},[`${t}-content`]:{color:l,fontSize:s,fontFamily:o,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:a},[`${t}-content-suffix`]:{marginInlineStart:a}}}}})((0,u.oX)(e,{})),e=>{let{fontSizeHeading3:t,fontSize:a}=e;return{titleFontSize:a,contentFontSize:t}}),p=n.forwardRef((e,t)=>{let{prefixCls:a,className:c,rootClassName:h,style:d,valueStyle:u,value:p=0,title:g,valueRender:b,prefix:A,suffix:H,loading:w=!1,formatter:y,precision:O,decimalSeparator:z=".",groupSeparator:V=",",onMouseEnter:E,onMouseLeave:$,styles:j,classNames:x,...M}=e,{getPrefixCls:N,direction:R,className:S,style:k,classNames:B,styles:P}=(0,i.TP)("statistic"),T=N("statistic",a),[C,I]=m(T),L={...e,decimalSeparator:z,groupSeparator:V,loading:w,value:p},D=(0,s.XT)(k),_=(0,s.XT)(d),[F,X]=(0,s.AV)([B,x],[P,D,j,_],{props:L}),q=(0,l.$)(T,{[`${T}-rtl`]:"rtl"===R},S,c,h,F.root,C,I),K=(0,l.$)(`${T}-header`,F.header),Y=(0,l.$)(`${T}-title`,F.title),G=(0,l.$)(`${T}-content`,F.content),J=(0,l.$)(`${T}-content-value`,F.value),Q=(0,l.$)(`${T}-content-prefix`,F.prefix),U=(0,l.$)(`${T}-content-suffix`,F.suffix),W=n.createElement(v,{decimalSeparator:z,groupSeparator:V,prefixCls:T,formatter:y,precision:O,value:p,className:J,style:X.value}),Z=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:Z.current}));let ee=(0,r.KE)(M,{aria:!0,data:!0});return n.createElement("div",{...ee,className:q,style:X.root,ref:Z,onMouseEnter:E,onMouseLeave:$},g&&n.createElement("div",{className:K,style:X.header},n.createElement("div",{className:Y,style:X.title},g)),n.createElement(f.A,{paragraph:!1,loading:w,className:`${T}-skeleton`,active:!0},n.createElement("div",{className:G,style:{...u,...X.content}},A&&n.createElement("span",{className:Q,style:X.prefix},A),(0,o.Tn)(b)?b(W):W,H&&n.createElement("span",{className:U,style:X.suffix},H))))}),g=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],b=1e3/60,A=e=>{let{value:t,format:a="HH:mm:ss",onChange:l,onFinish:s,type:o,...i}=e,f="countdown"===o,[v,h]=n.useState(null),d=(0,r._q)(()=>{let e=Date.now(),a=new Date(t).getTime();h({});let n=f?a-e:e-a;return l?.(n),!f||!(a<e)||(s?.(),!1)});return n.useEffect(()=>{let e;return e=window.setInterval(()=>{d()||window.clearInterval(e)},b),()=>{window.clearInterval(e)}},[t,f]),n.useEffect(()=>{h({})},[]),n.createElement(p,{...i,value:t,valueRender:e=>(0,c.Ob)(e,{title:void 0}),formatter:(e,t)=>v?function(e,t,a){let{format:n=""}=t,r=new Date(e).getTime(),c=Date.now();return function(e,t){let a=e,n=/\[[^\]]*]/g,r=(t.match(n)||[]).map(e=>e.slice(1,-1)),c=t.replace(n,"[]"),l=g.reduce((e,[t,n])=>{if(e.includes(t)){let r=Math.floor(a/n);return a-=r*n,e.replace(RegExp(`${t}+`,"g"),e=>{let t=e.length;return r.toString().padStart(t,"0")})}return e},c),s=0;return l.replace(n,()=>{let e=r[s];return s+=1,e})}(a?Math.max(r-c,0):Math.max(c-r,0),n)}(e,{...t,format:a},f):"-"})},H=n.memo(e=>n.createElement(A,{...e,type:"countdown"}));p.Timer=A,p.Countdown=H;let w=p},56768:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(97109),r=a(8579),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}let s=n.forwardRef((e,t)=>n.createElement(c.A,l({},e,{ref:t,icon:r.A})))},63663:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(97109),r=a(21247),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}let s=n.forwardRef((e,t)=>n.createElement(c.A,l({},e,{ref:t,icon:r.A})))},93314:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(97109),r=a(53234),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}let s=n.forwardRef((e,t)=>n.createElement(c.A,l({},e,{ref:t,icon:r.A})))},98995:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M856 376H648V168c0-8.8-7.2-16-16-16H168c-8.8 0-16 7.2-16 16v464c0 8.8 7.2 16 16 16h208v208c0 8.8 7.2 16 16 16h464c8.8 0 16-7.2 16-16V392c0-8.8-7.2-16-16-16zm-480 16v188H220V220h360v156H392c-8.8 0-16 7.2-16 16zm204 52v136H444V444h136zm224 360H444V648h188c8.8 0 16-7.2 16-16V444h156v360z"}}]},name:"block",theme:"outlined"}},99811:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(97109),r=a(14995),c=a(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}let s=n.forwardRef((e,t)=>n.createElement(c.A,l({},e,{ref:t,icon:r.A})))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[623],{23507:(e,l,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/document-roles",function(){return i(59889)}])},59889:(e,l,i)=>{"use strict";i.r(l),i.d(l,{default:()=>K});var r=i(65321),n=i(97109),s=i(35292),t=i(11702),o=i(17807),a=i(63455),c=i(84253),d=i(68787),p=i(85114),x=i(26171),m=i(33442),h=i(57271),u=i(85493),f=i(34052),y=i(7576),g=i(2256),j=i(38770),A=i(58569),b=i(25345),v=i(43979),I=i(80042),w=i(75548),S=i(26631),T=i(84662),z=i(30486),C=i(99650),k=i(8263),R=i(84742),_=i(43094),F=i(30960),B=i(58209),H=i(54746),W=i(96651),N=i(60470),D=i(6578),E=i(79059);let{Paragraph:P}=s.A,q={rule:(0,r.jsx)(b.A,{}),project_fact:(0,r.jsx)(v.A,{}),table:(0,r.jsx)(I.A,{}),drawing:(0,r.jsx)(w.A,{}),specification:(0,r.jsx)(S.A,{}),reference:(0,r.jsx)(T.A,{})},V={fact_extraction:(0,r.jsx)(z.A,{}),chapter_generation:(0,r.jsx)(C.A,{}),llm_review:(0,r.jsx)(k.A,{}),validation:(0,r.jsx)(R.A,{}),formatting:(0,r.jsx)(_.A,{}),reference:(0,r.jsx)(T.A,{})},O={rule:"#fa8c16",project_fact:"#1677ff",table:"#52c41a",drawing:"#722ed1",specification:"#eb2f96",reference:"#13c2c2"},G={fact_extraction:"#fa8c16",chapter_generation:"#1677ff",llm_review:"#722ed1",validation:"#52c41a",formatting:"#eb2f96",reference:"#13c2c2"},L={rule:"roles.ruleFile",project_fact:"roles.projectFactFile",table:"roles.tableFile",drawing:"roles.drawingFile",specification:"roles.specificationFile",reference:"roles.reference"},Q={fact_extraction:"roles.factExtraction",chapter_generation:"roles.chapterGeneration",llm_review:"roles.llmReview",validation:"roles.validation",formatting:"roles.formatting",reference:"roles.reference"},X=e=>(0,r.jsx)(t.A,{closable:e.closable,onClose:e.onClose,color:"blue",style:{margin:"1px 2px",fontSize:11,lineHeight:"18px"},children:e.label});function K(){let e,l,i=(0,E.Vr)(),{message:s}=o.A.useApp(),[b]=a.A.useForm(),[v]=a.A.useForm(),[I,w]=(0,n.useState)([]),[T,z]=(0,n.useState)([]),[k,R]=(0,n.useState)([]),[_,K]=(0,n.useState)([]),[U,J]=(0,n.useState)(!1),[M,Y]=(0,n.useState)(!1),[Z,$]=(0,n.useState)(!1),[ee,el]=(0,n.useState)("file"),[ei,er]=(0,n.useState)("custom"),en=async()=>{let[e,l,i]=await Promise.all([(0,D.lv)(),(0,D.HT)(),(0,D.dx)()]);w(e.roles),z(e.configs),R(l.files),K(i)};(0,n.useEffect)(()=>{en().catch(()=>s.error(i("common.error")))},[s,i]);let es=I.filter(e=>!e.builtIn),et=I.filter(e=>e.builtIn),eo=T.filter(e=>!e.builtIn),ea=T.filter(e=>e.builtIn),ec=e=>"all"===ei||("builtin"===ei?e.builtIn:!e.builtIn),ed=I.filter(ec),ep=T.filter(ec),ex=ed.filter(e=>"file"===e.type),em=ed.filter(e=>"prompt"===e.type),eh=I.filter(e=>"file"===e.type),eu=I.filter(e=>"prompt"===e.type),ef=async()=>{try{let e=await b.validateFields(),l=await (0,D.dg)(e);w(l.roles),z(l.configs),J(!1),s.success(i("common.success"))}catch(e){s.error(i("common.error"))}},ey=async()=>{try{let e=await v.validateFields(),l=e=>(null!=e?e:[]).map((e,l)=>{var i;return{roleId:e.roleId,order:Number(null!=(i=e.order)?i:l)}}),r=await (0,D.NR)({...e,fileRoles:l(e.fileRoles),promptRoles:l(e.promptRoles)});w(r.roles),z(r.configs),Y(!1),s.success(i("common.success"))}catch(e){s.error(i("common.error"))}},eg=async e=>{let l=await (0,D.FV)(e.type,e.id);w(l.roles),z(l.configs)},ej=async e=>{let l=await (0,D.dw)(e);w(l.roles),z(l.configs)},eA=function(e){var l;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"file",r=(null==e?void 0:e.builtIn)?{...e,id:"".concat(e.id,"-copy-").concat(Date.now()),name:"".concat(e.name," Copy"),builtIn:!1}:e;(null==e?void 0:e.builtIn)&&s.info("内置角色不可直接编辑,已为你创建副本"),b.setFieldsValue(r?{...r,resourceIds:(null==(l=r.resourceIds)?void 0:l.length)?r.resourceIds:r.resourceId?[r.resourceId]:[]}:{id:"role-".concat(Date.now()),name:"",description:"",type:i,resourceIds:[],executionType:"prompt"===i?"reference":void 0,processingType:"file"===i?"reference":void 0}),J(!0)},eb=e=>{let l=(null==e?void 0:e.builtIn)?{...e,id:"".concat(e.id,"-copy-").concat(Date.now()),name:"".concat(e.name," Copy"),builtIn:!1}:e;(null==e?void 0:e.builtIn)&&s.info("内置项目配置不可直接编辑,已为你创建副本"),v.setFieldsValue(null!=l?l:{id:"config-".concat(Date.now()),name:"",description:"",fileRoles:[],promptRoles:[],builtIn:!1}),Y(!0)},ev=e=>I.find(l=>l.id===e);return(0,r.jsxs)("div",{className:"space-y-5 animateFadeIn",children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:12},children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"pageTitle",children:i("roles.title")}),(0,r.jsx)("p",{className:"pageDesc",children:i("roles.description")})]}),(0,r.jsxs)(m.A,{children:[(0,r.jsx)(h.A,{value:ei,onChange:er,style:{width:170},options:[{label:"我的配置 (".concat(es.length+eo.length,")"),value:"custom"},{label:"内置示例 (".concat(et.length+ea.length,")"),value:"builtin"},{label:"全部来源 (".concat(I.length+T.length,")"),value:"all"}]}),(0,r.jsx)(p.Ay,{icon:(0,r.jsx)(H.A,{}),onClick:()=>eA(void 0,"file"),children:i("roles.newFileRole")}),(0,r.jsx)(p.Ay,{icon:(0,r.jsx)(H.A,{}),onClick:()=>eA(void 0,"prompt"),children:i("roles.newPromptRole")}),(0,r.jsx)(p.Ay,{type:"primary",icon:(0,r.jsx)(H.A,{}),onClick:()=>eb(),children:i("roles.newConfig")})]})]}),(0,r.jsx)(u.A,{type:"info",showIcon:!0,message:(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,r.jsx)("span",{children:i("roles.plainGuideTitle")}),(0,r.jsx)(p.Ay,{type:"link",size:"small",icon:Z?(0,r.jsx)(W.A,{}):(0,r.jsx)(N.A,{}),onClick:()=>$(!Z),style:{padding:"0 4px"},children:Z?"收起说明":"展开说明"})]}),description:Z?i("roles.plainGuideDesc"):void 0}),(0,r.jsx)(d.A,{size:"small",tabList:[{key:"file",label:"文件角色 (".concat(ex.length,")")},{key:"prompt",label:"提示词角色 (".concat(em.length,")")},{key:"configs",label:"项目角色配置 (".concat(ep.length,")")}],activeTabKey:ee,onTabChange:el,children:"configs"===ee?0===ep.length?(0,r.jsx)(c.A,{description:i("common.noData")}):(0,r.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(300px, 1fr))",gap:12},children:ep.map(e=>{let l=e.fileRoles.map(e=>({...e,role:ev(e.roleId)})).filter(e=>e.role),n=e.promptRoles.map(e=>({...e,role:ev(e.roleId)})).filter(e=>e.role);return(0,r.jsxs)(d.A,{size:"small",hoverable:!0,style:{minWidth:0},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:8,marginBottom:6},children:[(0,r.jsx)("span",{style:{fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1},children:e.name}),e.builtIn?(0,r.jsx)(t.A,{color:"gold",style:{margin:0,fontSize:10,lineHeight:"16px"},children:"内置示例"}):(0,r.jsx)(t.A,{color:"cyan",style:{margin:0,fontSize:10,lineHeight:"16px"},children:"我的配置"}),(0,r.jsxs)("div",{style:{display:"flex",gap:4,flexShrink:0},children:[(0,r.jsx)(p.Ay,{size:"small",icon:(0,r.jsx)(C.A,{}),onClick:()=>eb(e),children:e.builtIn?"复制":"编辑"}),(0,r.jsx)(x.A,{title:i("common.confirm"),disabled:e.builtIn,onConfirm:()=>{ej(e.id)},children:(0,r.jsx)(p.Ay,{size:"small",danger:!0,icon:(0,r.jsx)(B.A,{}),disabled:e.builtIn})})]})]}),e.description&&(0,r.jsx)(P,{ellipsis:{rows:2},style:{fontSize:12,color:"var(--colorTextSecondary)",marginBottom:8},children:e.description}),(0,r.jsxs)("div",{style:{fontSize:12,color:"var(--colorTextSecondary)"},children:[(0,r.jsxs)("div",{style:{marginBottom:4},children:[(0,r.jsxs)("span",{children:["文件角色 (",e.fileRoles.length,"): "]}),l.length>0?(0,r.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:4,marginTop:2},children:[l.slice(0,4).map(e=>(0,r.jsx)(t.A,{color:"blue",style:{margin:0,fontSize:10,lineHeight:"16px"},children:e.role.name},e.roleId)),l.length>4&&(0,r.jsxs)(t.A,{style:{margin:0,fontSize:10,lineHeight:"16px"},children:["+",l.length-4]})]}):(0,r.jsx)("span",{style:{color:"var(--colorTextQuaternary)"},children:"无"})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("span",{children:["提示词角色 (",e.promptRoles.length,"): "]}),n.length>0?(0,r.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:4,marginTop:2},children:[n.slice(0,4).map(e=>(0,r.jsx)(t.A,{color:"purple",style:{margin:0,fontSize:10,lineHeight:"16px"},children:e.role.name},e.roleId)),n.length>4&&(0,r.jsxs)(t.A,{style:{margin:0,fontSize:10,lineHeight:"16px"},children:["+",n.length-4]})]}):(0,r.jsx)("span",{style:{color:"var(--colorTextQuaternary)"},children:"无"})]})]})]},e.id)})}):(e="file"===ee?ex:em,l=i,0===e.length?(0,r.jsx)(c.A,{description:i("common.noData")}):(0,r.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(270px, 1fr))",gap:12},children:e.map((e,n)=>{var s,o,a,c,m,h,u,f,y;let g=(null==(s=e.resourceIds)?void 0:s.length)?e.resourceIds:e.resourceId?[e.resourceId]:[],j=g.slice(0,3),A=g.length-j.length,b="file"===e.type?null!=(a=q[null!=(o=e.processingType)?o:""])?a:(0,r.jsx)(S.A,{}):null!=(m=V[null!=(c=e.executionType)?c:""])?m:(0,r.jsx)(F.A,{}),v="file"===e.type?null!=(u=O[null!=(h=e.processingType)?h:""])?u:"var(--colorAccent)":null!=(y=G[null!=(f=e.executionType)?f:""])?y:"var(--colorWarning)";return(0,r.jsxs)(d.A,{size:"small",hoverable:!0,style:{minWidth:0},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:8,marginBottom:8},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,minWidth:0,flex:1},children:[(0,r.jsx)("span",{style:{color:v,fontSize:16,flexShrink:0,lineHeight:1},children:b}),(0,r.jsx)("span",{style:{fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",lineHeight:"20px"},children:e.name})]}),(0,r.jsx)("div",{style:{display:"flex",gap:4,flexShrink:0},children:e.builtIn?(0,r.jsx)(t.A,{color:"gold",style:{margin:0,fontSize:10,lineHeight:"16px"},children:"内置示例"}):(0,r.jsx)(t.A,{color:"cyan",style:{margin:0,fontSize:10,lineHeight:"16px"},children:"我的角色"})})]}),e.description&&(0,r.jsx)(P,{ellipsis:{rows:2},style:{fontSize:12,color:"var(--colorTextSecondary)",marginBottom:8},children:e.description}),(0,r.jsxs)("div",{style:{marginBottom:8,display:"flex",alignItems:"center",gap:6,flexWrap:"wrap"},children:[(0,r.jsx)(t.A,{color:"file"===e.type?"blue":"purple",style:{margin:0},children:function(e,l){var i,r,n;let s="file"===e.type?L[null!=(i=e.processingType)?i:""]:Q[null!=(r=e.executionType)?r:""];return s?l(s):null!=(n="file"===e.type?e.processingType:e.executionType)?n:""}(e,l)}),g.length>0&&(0,r.jsxs)("span",{style:{fontSize:12,color:"var(--colorTextSecondary)"},children:["绑定 ",g.length," 个资源"]})]}),j.length>0&&(0,r.jsx)("div",{style:{marginBottom:10},children:(0,r.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:4},children:[j.map(e=>(0,r.jsx)(t.A,{color:"blue",style:{margin:0,fontSize:10,lineHeight:"16px",maxWidth:140,overflow:"hidden",textOverflow:"ellipsis"},children:e},e)),A>0&&(0,r.jsxs)(t.A,{style:{margin:0,fontSize:10,lineHeight:"16px"},children:["+",A]})]})}),(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",gap:6,paddingTop:4,borderTop:"1px solid var(--colorBorderSecondary)"},children:[(0,r.jsx)(p.Ay,{size:"small",icon:(0,r.jsx)(C.A,{}),onClick:()=>eA(e),children:e.builtIn?"复制":"编辑"}),(0,r.jsx)(x.A,{title:i("common.confirm"),disabled:e.builtIn,onConfirm:()=>{eg(e)},children:(0,r.jsx)(p.Ay,{size:"small",danger:!0,icon:(0,r.jsx)(B.A,{}),disabled:e.builtIn})})]})]},e.id)})}))}),(0,r.jsx)(f.A,{title:i("roles.roleEditor"),open:U,onClose:()=>J(!1),width:800,maskClosable:!1,style:{borderRadius:"12px 0 0 12px"},styles:{body:{padding:"16px 24px"},header:{borderRadius:"12px 0 0 0",borderBottom:"1px solid var(--colorBorderSecondary)"}},extra:(0,r.jsx)(p.Ay,{type:"primary",onClick:()=>{ef()},children:i("common.save")}),children:(0,r.jsxs)(a.A,{form:b,layout:"vertical",children:[(0,r.jsx)(a.A.Item,{name:"id",hidden:!0,children:(0,r.jsx)(y.A,{})}),(0,r.jsxs)(g.A,{gutter:16,children:[(0,r.jsx)(j.A,{span:12,children:(0,r.jsx)(a.A.Item,{name:"type",label:i("roles.roleType"),rules:[{required:!0}],children:(0,r.jsx)(h.A,{options:[{label:i("roles.fileRole"),value:"file"},{label:i("roles.promptRole"),value:"prompt"}]})})}),(0,r.jsx)(j.A,{span:12,children:(0,r.jsx)(a.A.Item,{name:"name",label:i("roles.roleName"),rules:[{required:!0}],children:(0,r.jsx)(y.A,{})})})]}),(0,r.jsx)(a.A.Item,{name:"description",label:i("roles.roleDescription"),children:(0,r.jsx)(y.A.TextArea,{rows:2})}),(0,r.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,l)=>e.type!==l.type,children:e=>{let{getFieldValue:l}=e,n="prompt"===l("type");return(0,r.jsx)(d.A,{size:"small",title:n?"提示词角色配置":"文件角色配置",style:{border:"1px solid var(--colorBorderSecondary)"},children:n?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.A.Item,{name:"executionType",label:i("roles.executionType"),rules:[{required:!0}],style:{marginBottom:12},children:(0,r.jsx)(h.A,{options:[{label:i("roles.factExtraction"),value:"fact_extraction"},{label:i("roles.chapterGeneration"),value:"chapter_generation"},{label:i("roles.validation"),value:"validation"},{label:i("roles.formatting"),value:"formatting"},{label:i("roles.reference"),value:"reference"}]})}),(0,r.jsx)(a.A.Item,{name:"resourceIds",label:i("roles.bindPrompt"),style:{marginBottom:0},help:(0,r.jsx)("span",{style:{fontSize:11,color:"var(--colorTextSecondary)"},children:i("roles.multiBindPromptHelp")}),children:(0,r.jsx)(h.A,{mode:"multiple",showSearch:!0,tagRender:X,placeholder:"选择提示词",options:_.filter(e=>e.hasFile).map(e=>({label:e.projectName,value:e.id}))})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.A.Item,{name:"processingType",label:i("roles.processingType"),rules:[{required:!0}],style:{marginBottom:12},children:(0,r.jsx)(h.A,{options:[{label:i("roles.ruleFile"),value:"rule"},{label:i("roles.projectFactFile"),value:"project_fact"},{label:i("roles.tableFile"),value:"table"},{label:i("roles.drawingFile"),value:"drawing"},{label:i("roles.specificationFile"),value:"specification"},{label:i("roles.reference"),value:"reference"}]})}),(0,r.jsx)(a.A.Item,{name:"resourceIds",label:i("roles.bindFile"),style:{marginBottom:0},help:(0,r.jsx)("span",{style:{fontSize:11,color:"var(--colorTextSecondary)"},children:i("roles.multiBindFileHelp")}),children:(0,r.jsx)(h.A,{mode:"multiple",showSearch:!0,tagRender:X,placeholder:"选择知识库文件",options:k.map(e=>({label:e.relativePath,value:e.relativePath}))})})]})})}})]})}),(0,r.jsx)(f.A,{title:i("roles.configEditor"),open:M,onClose:()=>Y(!1),width:800,maskClosable:!1,style:{borderRadius:"12px 0 0 12px"},styles:{body:{padding:"16px 24px"},header:{borderRadius:"12px 0 0 0",borderBottom:"1px solid var(--colorBorderSecondary)"}},extra:(0,r.jsx)(p.Ay,{type:"primary",onClick:()=>{ey()},children:i("common.save")}),children:(0,r.jsxs)(a.A,{form:v,layout:"vertical",children:[(0,r.jsx)(a.A.Item,{name:"id",hidden:!0,children:(0,r.jsx)(y.A,{})}),(0,r.jsxs)(g.A,{gutter:16,children:[(0,r.jsx)(j.A,{span:12,children:(0,r.jsx)(a.A.Item,{name:"name",label:i("roles.configName"),rules:[{required:!0}],children:(0,r.jsx)(y.A,{})})}),(0,r.jsx)(j.A,{span:12,children:(0,r.jsx)(a.A.Item,{name:"description",label:i("roles.configDescription"),children:(0,r.jsx)(y.A,{})})})]}),(0,r.jsx)(A.A,{destroyInactiveTabPane:!1,items:[{key:"file",label:"文件角色 (".concat(ex.length,")"),children:(0,r.jsx)(a.A.List,{name:"fileRoles",children:(e,l)=>{let{add:n,remove:s}=l;return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[0===e.length&&(0,r.jsx)(c.A,{description:"暂未添加文件角色"}),e.map((e,l)=>(0,r.jsxs)(d.A,{size:"small",style:{border:"1px solid var(--colorBorderSecondary)",position:"relative"},children:[(0,r.jsxs)("div",{style:{position:"absolute",top:-10,left:12,background:"#1677ff",color:"#fff",fontSize:11,fontWeight:700,padding:"1px 8px",borderRadius:10},children:["#",l+1]}),(0,r.jsx)(p.Ay,{danger:!0,size:"small",icon:(0,r.jsx)(B.A,{}),onClick:()=>s(e.name),style:{position:"absolute",top:8,right:8,zIndex:1}}),(0,r.jsxs)(g.A,{gutter:[16,8],align:"middle",style:{marginTop:4},children:[(0,r.jsx)(j.A,{flex:"auto",children:(0,r.jsx)(a.A.Item,{name:[e.name,"roleId"],label:"文件角色",rules:[{required:!0}],style:{marginBottom:0},children:(0,r.jsx)(h.A,{placeholder:"选择文件角色",size:"small",options:eh.map(e=>{var l;return{label:"".concat(e.name," (").concat(i(L[null!=(l=e.processingType)?l:""]||"roles.reference"),")"),value:e.id}})})})}),(0,r.jsx)(j.A,{style:{width:90},children:(0,r.jsx)(a.A.Item,{name:[e.name,"order"],label:"排序",initialValue:l,style:{marginBottom:0},children:(0,r.jsx)(y.A,{type:"number",size:"small"})})})]})]},e.key)),(0,r.jsx)(p.Ay,{icon:(0,r.jsx)(H.A,{}),onClick:()=>n({order:e.length}),children:i("roles.addRole")})]})}})},{key:"prompt",label:"提示词角色 (".concat(eu.length,")"),children:(0,r.jsx)(a.A.List,{name:"promptRoles",children:(e,l)=>{let{add:n,remove:s}=l;return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:[0===e.length&&(0,r.jsx)(c.A,{description:"暂未添加提示词角色"}),e.map((e,l)=>(0,r.jsxs)(d.A,{size:"small",style:{border:"1px solid var(--colorBorderSecondary)",position:"relative"},children:[(0,r.jsxs)("div",{style:{position:"absolute",top:-10,left:12,background:"#722ed1",color:"#fff",fontSize:11,fontWeight:700,padding:"1px 8px",borderRadius:10},children:["#",l+1]}),(0,r.jsx)(p.Ay,{danger:!0,size:"small",icon:(0,r.jsx)(B.A,{}),onClick:()=>s(e.name),style:{position:"absolute",top:8,right:8,zIndex:1}}),(0,r.jsxs)(g.A,{gutter:[16,8],align:"middle",style:{marginTop:4},children:[(0,r.jsx)(j.A,{flex:"auto",children:(0,r.jsx)(a.A.Item,{name:[e.name,"roleId"],label:"提示词角色",rules:[{required:!0}],style:{marginBottom:0},children:(0,r.jsx)(h.A,{placeholder:"选择提示词角色",size:"small",options:eu.map(e=>{var l;return{label:"".concat(e.name," (").concat(i(Q[null!=(l=e.executionType)?l:""]||"roles.reference"),")"),value:e.id}})})})}),(0,r.jsx)(j.A,{style:{width:90},children:(0,r.jsx)(a.A.Item,{name:[e.name,"order"],label:"排序",initialValue:l,style:{marginBottom:0},children:(0,r.jsx)(y.A,{type:"number",size:"small"})})})]})]},e.key)),(0,r.jsx)(p.Ay,{icon:(0,r.jsx)(H.A,{}),onClick:()=>n({order:e.length}),children:i("roles.addRole")})]})}})}]})]})})]})}}},e=>{e.O(0,[433,787,576,195,455,698,636,593,792],()=>e(e.s=23507)),_N_E=e.O()}]);
|