1import{_ as y}from"./DemoUnityDashboard.vue_vue_type_script_setup_true_lang.5f299a3b.js";import{e as b,S as n,x,P as r,o as g,c as w,b as s,a as t,w as d,u as m,ar as D}from"./entry.468881b9.js";import{_ as E}from"./DemoUnityNavbar.vue_vue_type_script_setup_true_lang.fdd2745a.js";import{_ as S}from"./DemoUnityOrgSwitcher.vue_vue_type_script_setup_true_lang.8e9d516b.js";import{_ as W}from"./PreviewWindow.vue_vue_type_script_setup_true_lang.95b41485.js";const k={class:"text-left z-20 py-4 px-4 md:px-8 lg:px-16 2xl:container 2xl:px-24 overflow-x-hidden",style:{width:"100vw"}},C={class:"h-full flex flex-col-reverse"},I={class:"flex flex-row-reverse"},$=b({__name:"DemoUnity",setup(A){const i=n({name:"Internal Admin",pages:[{name:"Customers",blocks:[{type:"TEXT",details:{value:"Account Managers, here are all our customers. Please use this page to view or update your clients’ details."}},{type:"DIVIDER",details:{}},{type:"TABLE",details:{label:"Foo",tableId:"companies"}},{type:"DIVIDER",details:{}},{type:"TEXT",details:{value:"Note: If you need their billing information, feel free to check with Amelia, who has access to more data."}}]},{name:"Plans",blocks:[]},{name:"Countries",blocks:[]},{name:"Tags",blocks:[]}]}),l={companies:[{name:"Atomic Supplies",email_address:"[email protected]",contact_person:"Alvin",plan:"Free",country:"Singapore"},{name:"Bombastic Co",email_address:"[email protected]",contact_person:"Billy",plan:"Starter",country:"United States"},{name:"Concurrent Company",email_address:"[email protected]",contact_person:"Carrie",plan:"Business",country:"Spain"},{name:"Dashing Domain",email_address:"[email protected]",contact_person:"Dom",plan:"Enterprise",country:"India"},{name:"Exciting Electronics",email_address:"[email protected]",contact_person:"Edison",plan:"Starter",country:"Australia"},{name:"Fantastic Fund",email_address:"[email protected]",contact_person:"Filip",plan:"Enterprise",country:"Singapore"}]},e=n(null);x(()=>{!e.value||(e.value.offsetWidth<1500?(a.value=1500,o.value=e.value.offsetWidth/1500):a.value=e.value.offsetWidth,window.addEventListener("resize",()=>{e.value.offsetWidth<1500?(a.value=1500,o.value=e.value.offsetWidth/1500):a.value=e.value.offsetWidth}))});const a=n(0),o=n(1),c=r(()=>a.value),u=r(()=>c.value*.649);return(B,N)=>{const p=y,_=E,f=S,h=D,v=W;return g(),w("div",k,[s("div",{ref_key:"container",ref:e,class:"w-full"},[t(v,{url:"https://dashibase.com",scale:o.value,initialWidth:m(c),initialHeight:m(u)},{default:d(()=>[t(h,null,{default:d(()=>[s("div",C,[t(p,{dashboard:i.value,data:l},null,8,["dashboard"]),s("div",I,[t(_,{dashboardName:i.value.name,data:l},null,8,["dashboardName"]),t(f)])])]),_:1})]),_:1},8,["scale","initialWidth","initialHeight"])],512)])}}});
1export{$ as _};
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.