2018-05-15 01:52:44 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`renders ./components/notification/demo/basic.vue correctly 1`] = `
|
2020-08-14 03:10:37 +00:00
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`renders ./components/notification/demo/custom-icon.vue correctly 1`] = `
|
2020-08-14 03:10:37 +00:00
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`renders ./components/notification/demo/custom-style.vue correctly 1`] = `
|
2020-08-14 03:10:37 +00:00
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`renders ./components/notification/demo/duration.vue correctly 1`] = `
|
2020-08-14 03:10:37 +00:00
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`renders ./components/notification/demo/placement.vue correctly 1`] = `
|
2022-05-22 09:01:43 +00:00
|
|
|
<div><button class="ant-btn ant-btn-primary" type="button"><span role="img" aria-label="border-top" class="anticon anticon-border-top"><svg focusable="false" class="" data-icon="border-top" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M872 144H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM208 310h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166-166h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm166 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332-498h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm332 332h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-332 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"></path></svg></span><span>top</span></button><button class="ant-btn ant-btn-primary" type="button"><span role="img" aria-label="border-bottom" class="anticon anticon-border-bottom"><svg focusable="false" class="" data-icon="border-bottom" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M872 808H152c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-720-94h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-498h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm166 166h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm332 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 332h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm222-72h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388 426h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm388-404h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-388 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"></path></svg></span><span>bottom</span></button><button class="ant-btn ant-btn-primary" type="button"><span role="img" aria-label="radius-upleft" class="anticon anticon-radius-upleft"><svg focusable="false" class="" data-icon="radius-upleft" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M656 200h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm58 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3
|
2020-08-14 03:10:37 +00:00
|
|
|
<div class="ant-divider ant-divider-horizontal" role="separator">
|
|
|
|
<!---->
|
2022-05-22 09:01:43 +00:00
|
|
|
</div><button class="ant-btn ant-btn-primary" type="button"><span role="img" aria-label="radius-bottomleft" class="anticon anticon-radius-bottomleft"><svg focusable="false" class="" data-icon="radius-bottomleft" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M712 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm2-696h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM136 374h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0-174h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm752 624h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-348 0h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-230 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 624H358c-87.3 0-158-70.7-158-158V484c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v182c0 127 103 230 230 230h182c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"></path></svg></span><span>bottomLeft</span></button><button class="ant-btn ant-btn-primary" type="button"><span role="img" aria-label="radius-bottomright" class="anticon anticon-radius-bottomright"><svg focusable="false" class="" data-icon="radius-bottomright" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><path d="M368 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm-58-624h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm578 102h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM192 824h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-174h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm292 72h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm174 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm230 276h-56c-4.4 0-8 3.6-8 8v182c0 87.3-70.7 158-158 158H484c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h182c127 0 230-103 230-230V484c0-4.4-3.6-8-8-8z"></path></svg></span><span>bottomRight</span></button>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`renders ./components/notification/demo/update.vue correctly 1`] = `
|
2020-08-14 03:10:37 +00:00
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2022-01-01 02:34:37 +00:00
|
|
|
<!----><span>Open the notification box (update by key)</span>
|
2022-04-06 02:48:46 +00:00
|
|
|
</button>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2022-01-01 02:34:37 +00:00
|
|
|
<!----><span>Open the notification box (update by reactive)</span>
|
2020-08-31 09:16:16 +00:00
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-09-05 13:28:54 +00:00
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`renders ./components/notification/demo/with-btn.vue correctly 1`] = `
|
2020-08-14 03:10:37 +00:00
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Open the notification box</span>
|
|
|
|
</button>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2021-09-25 08:51:32 +00:00
|
|
|
exports[`renders ./components/notification/demo/with-icon.vue correctly 1`] = `
|
2020-08-14 03:10:37 +00:00
|
|
|
<div><button class="ant-btn" type="button">
|
2020-08-31 09:16:16 +00:00
|
|
|
<!----><span>Success</span>
|
|
|
|
</button><button class="ant-btn" type="button">
|
|
|
|
<!----><span>Info</span>
|
|
|
|
</button><button class="ant-btn" type="button">
|
|
|
|
<!----><span>Warning</span>
|
|
|
|
</button><button class="ant-btn" type="button">
|
|
|
|
<!----><span>Error</span>
|
|
|
|
</button></div>
|
2020-08-14 03:10:37 +00:00
|
|
|
`;
|