mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
2 lines
3.7 KiB
JavaScript
2 lines
3.7 KiB
JavaScript
/*! For license information please see 6964.78d23d2f.js.LICENSE.txt */
|
|
(self.webpackChunk=self.webpackChunk||[]).push([["6964"],{44370:function(t,e,n){"use strict";n.r(e);var i=n("4475");n("90200");let r=i.Z;e.default=r},4475:function(t,e,n){"use strict";var i=n("80681"),r=n("11848"),l=n("57122"),a=n("28564"),o=n("54369"),u={class:"content"};e.Z=(0,i.aZ)({__name:"index",setup(t){var e=(0,o.q)({"zh-CN":{text:"\u6587\u672C",dashed:"\u865A\u7EBF",withText:"\u5C55\u793A\u6587\u672C",contentPosition:"\u5185\u5BB9\u4F4D\u7F6E",customStyle:"\u81EA\u5B9A\u4E49\u6837\u5F0F",vertical:"\u5782\u76F4"},"en-US":{text:"Text",dashed:"Dashed",withText:"With Text",contentPosition:"Content Position",customStyle:"Custom Style",vertical:"Vertical"}});return(t,n)=>{var o=(0,i.up)("demo-block");return(0,i.wg)(),(0,i.iD)(i.HY,null,[(0,i.Wm)(o,{title:(0,r.SU)(e)("basicUsage")},{default:(0,i.w5)(()=>[(0,i.Wm)((0,r.SU)(a.ZP))]),_:1},8,["title"]),(0,i.Wm)(o,{title:(0,r.SU)(e)("withText")},{default:(0,i.w5)(()=>[(0,i.Wm)((0,r.SU)(a.ZP),null,{default:(0,i.w5)(()=>[(0,i.Uk)((0,l.zw)((0,r.SU)(e)("text")),1)]),_:1})]),_:1},8,["title"]),(0,i.Wm)(o,{title:(0,r.SU)(e)("contentPosition")},{default:(0,i.w5)(()=>[(0,i.Wm)((0,r.SU)(a.ZP),{"content-position":"left"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,l.zw)((0,r.SU)(e)("text")),1)]),_:1}),(0,i.Wm)((0,r.SU)(a.ZP),{"content-position":"right"},{default:(0,i.w5)(()=>[(0,i.Uk)((0,l.zw)((0,r.SU)(e)("text")),1)]),_:1})]),_:1},8,["title"]),(0,i.Wm)(o,{title:(0,r.SU)(e)("dashed")},{default:(0,i.w5)(()=>[(0,i.Wm)((0,r.SU)(a.ZP),{dashed:"",hairline:!1},{default:(0,i.w5)(()=>[(0,i.Uk)((0,l.zw)((0,r.SU)(e)("text")),1)]),_:1})]),_:1},8,["title"]),(0,i.Wm)(o,{title:(0,r.SU)(e)("customStyle")},{default:(0,i.w5)(()=>[(0,i.Wm)((0,r.SU)(a.ZP),{style:{borderColor:"#1989fa",color:"#1989fa",padding:"0 16px"}},{default:(0,i.w5)(()=>[(0,i.Uk)((0,l.zw)((0,r.SU)(e)("text")),1)]),_:1})]),_:1},8,["title"]),(0,i.Wm)(o,{title:(0,r.SU)(e)("vertical")},{default:(0,i.w5)(()=>[(0,i._)("div",u,[(0,i.Wm)((0,r.SU)(a.ZP),{vertical:""}),(0,i.Uk)(" "+(0,l.zw)((0,r.SU)(e)("text"))+" ",1),(0,i.Wm)((0,r.SU)(a.ZP),{vertical:"",dashed:""}),(0,i.Uk)(" "+(0,l.zw)((0,r.SU)(e)("text"))+" ",1),(0,i.Wm)((0,r.SU)(a.ZP),{vertical:"",hairline:!1}),(0,i.Uk)(" "+(0,l.zw)((0,r.SU)(e)("text"))+" ",1),(0,i.Wm)((0,r.SU)(a.ZP),{vertical:"",style:{borderColor:"#1989fa"}})])]),_:1},8,["title"])],64)}}})},28564:function(t,e,n){"use strict";var i=n("63112"),r=n("97073"),l=(0,i.n)(r.Z);e.ZP=l},78335:function(t,e,n){"use strict";n.d(e,{Ce:function(){return o},J5:function(){return l},Or:function(){return r},SI:function(){return c},SQ:function(){return s},Vg:function(){return i},ir:function(){return a},qM:function(){return u}});var i=null,r=[Number,String],l={type:Boolean,default:!0},a=t=>({type:t,required:!0}),o=()=>({type:Array,default:()=>[]}),u=t=>({type:Number,default:t}),c=t=>({type:r,default:t}),s=t=>({type:String,default:t})},63112:function(t,e,n){"use strict";n.d(e,{n:function(){return r}});var i=n("20358");function r(t){return t.install=e=>{var{name:n}=t;n&&(e.component(n,t),e.component((0,i._A)("-".concat(n)),t))},t}},97073:function(t,e,n){"use strict";n("82116"),n("17989");var i=n("80681"),r=n("62568"),l=n("78335"),[a,o]=(0,r.do)("divider"),u={dashed:Boolean,hairline:l.J5,vertical:Boolean,contentPosition:(0,l.SQ)("center")};e.Z=(0,i.aZ)({name:a,props:u,setup(t,e){var{slots:n}=e;return()=>{var e;return(0,i.Wm)("div",{role:"separator",class:o({dashed:t.dashed,hairline:t.hairline,vertical:t.vertical,["content-".concat(t.contentPosition)]:!!n.default&&!t.vertical})},[!t.vertical&&(null===(e=n.default)||void 0===e?void 0:e.call(n))])}}})},90200:function(t,e,n){"use strict";n.r(t.exports={})},61012:function(t,e,n){"use strict";n.r(t.exports={})}}]); |