1import{_ as p}from"./B_HnwwPz.js";import{_ as u}from"./Y1uRMGfA.js";import{c as f}from"./fcjR_dWV.js";import{i as l}from"./CZ5p_PVZ.js";import{W as g,bR as i,ak as n,ah as c,g as y,c4 as h,bB as r,ap as _,bq as x}from"./C9Z41gEb.js";import"./BvYC9Rxf.js";import"./EiDZpNsD.js";import"./5TQJ3fzz.js";import"./BpTVF4It.js";import"./BK53tKGP.js";import"./96wVROSt.js";import"./D6j_4Kib.js";import"./BKRS8239.js";import"./BNIV_b_X.js";import"./Ddqj9abs.js";import"./CsmPXbsj.js";import"./DsQPStvC.js";import"./CZGg5nIu.js";import"./DL7JO2kz.js";const b={name:"WsImageList",components:{WsImage:u},props:{contentAlign:{type:String,default:void 0},contentVerticalAlign:{type:String,default:void 0},gutterSize:{type:Number,default:0},images:{type:Array,default:()=>[]},marginBottom:{type:Number,default:void 0},marginLeft:{type:Number,default:void 0},marginRight:{type:Number,default:void 0},marginTop:{type:Number,default:void 0},maxHeight:{type:Number,default:void 0},maxWidth:{type:Number,default:void 0},paddingBottom:{type:Number,default:void 0},paddingLeft:{type:Number,default:void 0},paddingRight:{type:Number,default:void 0},paddingTop:{type:Number,default:void 0}},setup(t){const{getRowStyles:e}=f(t);return{getRowStyles:e}},created(){this.styles=l({...this.$props,marginBottom:this.marginBottom??4,marginTop:this.marginTop??4,maxHeight:void 0,maxWidth:void 0}),this.containerStyle={...this.getRowStyles,flexWrap:"wrap"}},methods:{itemStyle(t){if(t.image?.[0])return{margin:`${this.gutterSize/2}px`,maxWidth:this.maxWidth?`${this.maxWidth}px`:void 0}},prepareImageProps(t){const e={...t};return e.component=void 0,e.maxHeight=this.maxHeight,e.maxWidth=this.maxWidth,e.name=void 0,e.targetWindow=t.targetWindow||"New",e.kontentId=void 0,e}}};function N(t,e,d,W,S,a){const s=p;return i(),n("div",{style:r(t.styles),class:"ws-image-list"},[c("div",{style:r(t.containerStyle),class:"ws-image-list__container"},[(i(!0),n(y,null,h(d.images,(m,o)=>(i(),n("div",{key:o,style:r(a.itemStyle(m))},[_(s,x({ref_for:!0},a.prepareImageProps(m)),null,16)],4))),128))],4)],4)}const D=Object.assign(g(b,[["render",N]]),{__name:"WsImageList"});export{D as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.