mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
1 line
11 KiB
JavaScript
1 line
11 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["d1261d4a"],{b59de89e:function(e,s,a){"use strict";a.d(s,"__esModule",{value:!0}),a.d(s,"texts",{enumerable:!0,get:function(){return i;}}),a("06c0490d");let i=[{value:"Used to provide feedback to the user on the results of their actions or to convey messages when necessary.",paraId:0},{value:"Ensure that users receive feedback or messages that match the context and urgency of their actions under different scenarios, achieving reasonable and effective communication.",paraId:1,tocIndex:0},{value:"When designing, consider the task the user is attempting to complete and the method of attention required. The feedback methods are listed below:",paraId:2,tocIndex:1},{value:"\n ",paraId:3},{value:"\n ",paraId:3},{value:"Modal Dialog",paraId:4},{value:"Notify users of important success results without interrupting their workflow.",paraId:5},{value:"Global Message",paraId:6},{value:"Display a brief success message without interrupting the user\u2019s ongoing task.",paraId:7},{value:"Inline Text & Illustration",paraId:8},{value:"Notify users of success at the end of a long-form process;",paraId:9},{value:"Provide detailed supplementary information (e.g., configuration details).",paraId:9},{value:"Global Message",paraId:10},{value:"Display a brief success message without interrupting the user\u2019s ongoing task.",paraId:11},{value:"Modal Dialog",paraId:12},{value:"Alert users to important actions outside the current workflow (e.g., safety warnings).",paraId:13},{value:"Alert",paraId:14},{value:"Inform users of critical errors that require immediate attention.",paraId:15},{value:"Form Validation",paraId:16},{value:"User input does not meet field or form requirements;",paraId:17},{value:"User skipped required fields;",paraId:17},{value:"System detects errors in form data.",paraId:17},{value:"Notification",paraId:18},{value:"Inform users of important issues or failure statuses that require immediate decisions;",paraId:19},{value:"Feedback on backend process failures & alerts.",paraId:19},{value:"Inline Text & Illustration",paraId:20},{value:"Notify users of failure at the end of a long-form process due to third-party causes (e.g., application engine creation failure);",paraId:21},{value:"Provide detailed failure information.",paraId:21},{value:"Notification",paraId:22},{value:"Inform users of important issues or failure statuses that require immediate decisions;",paraId:23},{value:"Feedback on backend process results.",paraId:23},{value:"Notification Center",paraId:24},{value:"Notify users of related activity information (e.g., items that need user approval or the progress of user-submitted approvals).",paraId:25}];},d1261d4a:function(e,s,a){"use strict";a.d(s,"__esModule",{value:!0}),a.d(s,"default",{enumerable:!0,get:function(){return u;}});var i=a("777fffbe"),r=a("f19d2b93"),n=i._(a("75f4da45")),d=i._(a("97c488ea")),t=i._(a("c96b0d01")),l=a("5b220c3d"),c=a("9c86e52a"),o=a("b59de89e"),u=function(){return(0,r.jsx)(c.DumiPage,{children:(0,r.jsx)(l.Suspense,{fallback:(0,r.jsx)(t.default,{}),children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:o.texts[0].value}),(0,r.jsxs)("h2",{id:"design-goals",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#design-goals",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Design Goals"]}),(0,r.jsx)("p",{children:o.texts[1].value}),(0,r.jsxs)("h2",{id:"feedback-methods",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#feedback-methods",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Feedback Methods"]}),(0,r.jsx)("p",{children:o.texts[2].value}),(0,r.jsxs)("div",{children:[o.texts[3].value,(0,r.jsx)("img",{src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*SKfjS7vyRP4AAAAAAAAAAABkARQnAQ"})]}),(0,r.jsxs)("h2",{id:"when-to-use",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#when-to-use",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"When to Use"]}),(0,r.jsxs)("div",{children:[o.texts[4].value,(0,r.jsx)("img",{src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*vv37RaVAXhAAAAAAAAAAAABkARQnAQ"})]}),(0,r.jsxs)("h3",{id:"success",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#success",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Success"]}),(0,r.jsxs)("h4",{id:"stay-in-place",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#stay-in-place",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Stay in Place"]})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*qQ8NTKMH-2IAAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[5].value})}),(0,r.jsx)("p",{children:o.texts[6].value}),(0,r.jsx)("h4",{id:"",children:(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})})})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*NPVGQr6f5-4AAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[7].value})}),(0,r.jsx)("p",{children:o.texts[8].value}),(0,r.jsxs)("h4",{id:"redirect",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#redirect",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Redirect"]})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*0EdyRa7WeUAAAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[9].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:o.texts[10].value}),(0,r.jsx)("li",{children:o.texts[11].value})]}),(0,r.jsx)("h4",{id:"-1",children:(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#-1",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})})})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*524fSKE97wYAAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[12].value})}),(0,r.jsx)("p",{children:o.texts[13].value}),(0,r.jsxs)("h3",{id:"failure",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#failure",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Failure"]}),(0,r.jsxs)("h4",{id:"stay-in-place-1",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#stay-in-place-1",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Stay in Place"]})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*S03WS5uHqDsAAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[14].value})}),(0,r.jsx)("p",{children:o.texts[15].value}),(0,r.jsx)("h4",{id:"-2",children:(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#-2",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})})})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*4sHLQowCs6IAAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[16].value})}),(0,r.jsx)("p",{children:o.texts[17].value}),(0,r.jsx)("h4",{id:"-3",children:(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#-3",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})})})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*Qg51Sq2A_M4AAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[18].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:o.texts[19].value}),(0,r.jsx)("li",{children:o.texts[20].value}),(0,r.jsx)("li",{children:o.texts[21].value})]}),(0,r.jsx)("h4",{id:"-4",children:(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#-4",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})})})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*QeWqTIWqrWEAAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[22].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:o.texts[23].value}),(0,r.jsx)("li",{children:o.texts[24].value})]}),(0,r.jsxs)("h4",{id:"redirect-1",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#redirect-1",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Redirect"]})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*7ES2TrY6UJgAAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[25].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:o.texts[26].value}),(0,r.jsx)("li",{children:o.texts[27].value})]}),(0,r.jsxs)("h3",{id:"background-operations",children:[(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#background-operations",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})}),"Background Operations"]})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*owL_SK1xmggAAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[28].value})}),(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:o.texts[29].value}),(0,r.jsx)("li",{children:o.texts[30].value})]}),(0,r.jsx)("h4",{id:"-5",children:(0,r.jsx)(d.default,{"aria-hidden":"true",tabIndex:"-1",href:"#-5",sourceType:"a",children:(0,r.jsx)("span",{className:"icon icon-link"})})})]}),(0,r.jsx)(n.default,{children:(0,r.jsx)("img",{className:"preview-img no-padding",src:"https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*IGpqRbPGZxQAAAAAAAAAAABkARQnAQ"})}),(0,r.jsxs)("div",{className:"markdown",children:[(0,r.jsx)("p",{children:(0,r.jsx)("strong",{children:o.texts[31].value})}),(0,r.jsx)("p",{children:o.texts[32].value})]})]})})});};}}]); |