2018-09-05 21:28:54 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2021-09-25 16:51:32 +08:00
|
|
|
exports[`renders ./components/drawer/demo/basic.vue correctly 1`] = `
|
2020-08-14 14:53:07 +08:00
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 17:16:16 +08:00
|
|
|
<!----><span>Open</span>
|
|
|
|
</button>
|
2020-08-14 14:53:07 +08:00
|
|
|
<!---->
|
2018-09-05 21:28:54 +08:00
|
|
|
`;
|
|
|
|
|
2021-09-25 16:51:32 +08:00
|
|
|
exports[`renders ./components/drawer/demo/form-in-drawer.vue correctly 1`] = `
|
2020-08-14 14:53:07 +08:00
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2021-09-25 16:51:32 +08:00
|
|
|
<!----><span role="img" aria-label="plus" class="anticon anticon-plus"><svg focusable="false" class="" data-icon="plus" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="64 64 896 896"><defs><style></style></defs><path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"></path><path d="M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"></path></svg></span><span>New account</span>
|
2020-08-31 17:16:16 +08:00
|
|
|
</button>
|
2020-08-14 14:53:07 +08:00
|
|
|
<!---->
|
2019-01-02 20:22:19 +08:00
|
|
|
`;
|
|
|
|
|
2021-09-25 16:51:32 +08:00
|
|
|
exports[`renders ./components/drawer/demo/multi-level-drawer.vue correctly 1`] = `
|
2020-08-14 14:53:07 +08:00
|
|
|
<button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 17:16:16 +08:00
|
|
|
<!----><span>Open</span>
|
|
|
|
</button>
|
2020-08-14 14:53:07 +08:00
|
|
|
<!---->
|
2018-09-05 21:28:54 +08:00
|
|
|
`;
|
|
|
|
|
2021-09-25 16:51:32 +08:00
|
|
|
exports[`renders ./components/drawer/demo/placement.vue correctly 1`] = `
|
|
|
|
<div class="ant-radio-group ant-radio-group-outline ant-radio-group-default" style="margin-right: 8px;"><label class="ant-radio-wrapper"><span class="ant-radio"><input type="radio" class="ant-radio-input" value="top"><span class="ant-radio-inner"></span></span><span>top</span></label><label class="ant-radio-wrapper"><span class="ant-radio"><input type="radio" class="ant-radio-input" value="right"><span class="ant-radio-inner"></span></span><span>right</span></label><label class="ant-radio-wrapper"><span class="ant-radio"><input type="radio" class="ant-radio-input" value="bottom"><span class="ant-radio-inner"></span></span><span>bottom</span></label><label class="ant-radio-wrapper ant-radio-wrapper-checked"><span class="ant-radio ant-radio-checked"><input type="radio" class="ant-radio-input" value="left"><span class="ant-radio-inner"></span></span><span>left</span></label></div><button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 17:16:16 +08:00
|
|
|
<!----><span>Open</span>
|
|
|
|
</button>
|
2020-08-14 14:53:07 +08:00
|
|
|
<!---->
|
2018-09-05 21:28:54 +08:00
|
|
|
`;
|
|
|
|
|
2021-09-25 16:51:32 +08:00
|
|
|
exports[`renders ./components/drawer/demo/render-in-current.vue correctly 1`] = `
|
|
|
|
<div style="height: 200px; overflow: hidden; position: relative; border: 1px solid #ebedf0; border-radius: 2px; padding: 48px; text-align: center; background: rgb(250, 250, 250); width: 100%;"> Render in this <div style="margin-top: 16px;"><button class="ant-btn ant-btn-primary" type="button">
|
2020-08-31 17:16:16 +08:00
|
|
|
<!----><span>Open</span>
|
|
|
|
</button></div>
|
2020-05-13 18:36:53 +08:00
|
|
|
<div class="">
|
2020-08-14 14:53:07 +08:00
|
|
|
<div class="ant-drawer ant-drawer-right" style="position: absolute;" tabindex="-1">
|
2020-03-07 19:45:13 +08:00
|
|
|
<div class="ant-drawer-mask"></div>
|
|
|
|
<div class="ant-drawer-content-wrapper" style="transform: translateX(100%); width: 256px;">
|
|
|
|
<div class="ant-drawer-content">
|
|
|
|
<div class="ant-drawer-wrapper-body">
|
|
|
|
<div class="ant-drawer-header">
|
|
|
|
<div class="ant-drawer-title">Basic Drawer</div>
|
2020-08-14 14:53:07 +08:00
|
|
|
<!---->
|
2020-03-07 19:45:13 +08:00
|
|
|
</div>
|
|
|
|
<div class="ant-drawer-body">
|
|
|
|
<p>Some contents...</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-14 14:53:07 +08:00
|
|
|
<!---->
|
2020-03-07 19:45:13 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-09-25 16:51:32 +08:00
|
|
|
exports[`renders ./components/drawer/demo/user-profile.vue correctly 1`] = `
|
2020-08-14 14:53:07 +08:00
|
|
|
<div class="ant-list ant-list-split ant-list-bordered">
|
|
|
|
<!---->
|
|
|
|
<!---->
|
|
|
|
<div class="ant-spin-nested-loading">
|
|
|
|
<!---->
|
|
|
|
<div class="ant-spin-container">
|
|
|
|
<ul class="ant-list-items">
|
|
|
|
<li class="ant-list-item">
|
|
|
|
<div class="ant-list-item-meta">
|
2021-09-25 16:51:32 +08:00
|
|
|
<div class="ant-list-item-meta-avatar"><span class="ant-avatar ant-avatar-circle ant-avatar-image"><img draggable="false" src="https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png"></span></div>
|
2020-08-14 14:53:07 +08:00
|
|
|
<div class="ant-list-item-meta-content">
|
|
|
|
<h4 class="ant-list-item-meta-title"><a href="https://www.antdv.com/">Lily</a></h4>
|
|
|
|
<div class="ant-list-item-meta-description">Progresser XTech</div>
|
2018-09-05 21:28:54 +08:00
|
|
|
</div>
|
2020-08-14 14:53:07 +08:00
|
|
|
</div>
|
|
|
|
<ul class="ant-list-item-action">
|
|
|
|
<li><a>View Profile</a>
|
|
|
|
<!---->
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<!---->
|
|
|
|
</li>
|
|
|
|
<li class="ant-list-item">
|
|
|
|
<div class="ant-list-item-meta">
|
2021-09-25 16:51:32 +08:00
|
|
|
<div class="ant-list-item-meta-avatar"><span class="ant-avatar ant-avatar-circle ant-avatar-image"><img draggable="false" src="https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png"></span></div>
|
2020-08-14 14:53:07 +08:00
|
|
|
<div class="ant-list-item-meta-content">
|
|
|
|
<h4 class="ant-list-item-meta-title"><a href="https://www.antdv.com/">Lily</a></h4>
|
|
|
|
<div class="ant-list-item-meta-description">Progresser XTech</div>
|
2018-09-05 21:28:54 +08:00
|
|
|
</div>
|
2020-08-14 14:53:07 +08:00
|
|
|
</div>
|
|
|
|
<ul class="ant-list-item-action">
|
|
|
|
<li><a>View Profile</a>
|
|
|
|
<!---->
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<!---->
|
|
|
|
</li>
|
|
|
|
</ul>
|
2018-09-05 21:28:54 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!---->
|
2020-08-14 14:53:07 +08:00
|
|
|
<!---->
|
2018-09-05 21:28:54 +08:00
|
|
|
</div>
|
2020-08-14 14:53:07 +08:00
|
|
|
<!---->
|
2018-09-05 21:28:54 +08:00
|
|
|
`;
|