1import{d as V,r as k,o as a,f as l,w as m,j as f,b as c,a9 as _,a8 as p,a1 as W,ac as D,ab as B,g as I,av as S,aw as $,_ as F}from"./Bzz9Ij3h.js";import{I as L,E as j,D as w,a as E,C as O}from"./DpG46kQI.js";import{I as A}from"./Cw5iecFQ.js";const M={class:"s-flexomat"},N={class:"s-flexomat__row"},P=V({__name:"WskFlexomat",props:{field:{type:Object,required:!0},alignLeft:{type:Boolean,default:!1}},setup(g){const r=g,C=()=>S("flexomat",{fields:{flexomat:r.field}}),x=(e,n)=>{const s=n==="cell0"?0:1;return e.settings.columnWidths[s]},y=(e,n)=>{const s=e.cells[n],t={top:"flex-start",center:"center",bottom:"flex-end"},i=r.alignLeft?0:(12-e.settings.rowWidth)/2;if(n==="cell0"){const u=1+i;return{"--align":t[s.verticalAlignment],"--start":`${u}`,"--end":`${u+e.settings.columnWidths[0]}`}}const o=1+i+e.settings.columnWidths[0];return{"--align":t[s.verticalAlignment],"--start":`${o}`,"--end":`${o+e.settings.columnWidths[1]}`}},d=e=>{switch(e.module_id){case 11:return O;case 15:return E;case 17:return w;case 19:return j;case 25:return L;case 31:return A;default:return}},b=e=>({moduleData:e[e.module_id],...e.module_id===15&&{iconColor:"black-100"},...[19,25].includes(e.module_id)&&{lastDesignColumnUpdate:Date.now()}}),h=e=>{const n=Object.entries(e.cells);return n.sort(([s],[t])=>s.localeCompare(t)),n},v=e=>$(e.settings);return(e,n)=>{const s=k("wsk-visible");return a(),l(s,{condition:()=>C()},{default:m(()=>[f("div",M,[(a(!0),c(p,null,_(r.field.rows,t=>(a(),l(s,{key:t.id,condition:()=>v(t)},{default:m(()=>[f("div",N,[(a(!0),c(p,null,_(h(t),([i,o])=>(a(),c("div",{key:`${o.id}-${x(t,i)}`,class:"s-flexomat__cell -c12",style:W(y(t,i))},[d(o)?(a(),l(D(d(o)),B({key:0,ref_for:!0},b(o)),null,16)):I("",!0)],4))),128))])]),_:2},1032,["condition"]))),128))])]),_:1},8,["condition"])}}}),R=F(P,[["__scopeId","data-v-32a1e565"]]);export{R as W};
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.