PageSourceSearch

https://cdn.clo3d.com/clo3d/static/assets/entries/pages_enterprise_clo-vise_installer_index.page.b1328915.js

js clo3d.com collected 2026-09-24 17:17:38 UTC 10,034 bytes, 1 lines download raw bytes

1import{_ as e}from"../chunks/chunk-1b428a4d.js";import{$ as t,o as l,c as s,Y as a,Z as n,a0 as o,w as i,a1 as r,d as c,a3 as u,b as p,p as d,q as v,F as x,a5 as h,n as f,L as m,M as y,Q as b,e as k,a9 as g,aa as w,_}from"../chunks/chunk-c66576e6.js";import{j as E,k as O,a as C}from"../chunks/chunk-c3764b25.js";import{_ as L}from"../chunks/chunk-34c19c5c.js";import{b as S}from"../chunks/chunk-60b288e7.js";import{a as I,u as D}from"../chunks/chunk-9eb6db91.js";import{b as V,i as T}from"../chunks/chunk-3108bd5d.js";import{u as j}from"../chunks/chunk-3780ceb2.js";import{b as N,d as $}from"../chunks/chunk-6ba00b54.js";import"../chunks/chunk-db2f9d69.js";import"../chunks/chunk-6e78ded2.js";import"../chunks/chunk-8e08fe3c.js";import"../chunks/chunk-0036ce92.js";import"../chunks/chunk-3ecc9afb.js";import"../chunks/chunk-057345b1.js";const A={class:"text-center py-14"},H={class:"mb-2 text-title-1"},W={class:"text-body-2"};const X=e({},[["render",function(e,c){const u=t("CLink"),p=t("i18n-t");return l(),s("header",A,[a("h1",H,n(e.$t("CLOVISE.CLOVISE_INSTALLER")),1),a("div",W,[a("p",null,n(e.$t("CLOVISE.DOWNLOAD_DESC")),1),o(p,{keypath:"CLOVISE.CONTACTUS_DESC",tag:"p",scope:"global"},{default:i(()=>[o(u,{to:"/support/contactus",class:"text-primary"},{default:i(()=>[r(n(e.$t("CLOVISE.CONTACTUS_LINK")),1)]),_:1})]),_:1})])])}]]),z={class:"space-y-[10px] h-fit sticky top-[80px] left-0"},R=["onClick"],M=c({__name:"VersionButtons",props:{versions:{},activeBtn:{},tblHeaderHeight:{},scrollInfoList:{}},setup(e){const t=e,{tblHeaderHeight:o,scrollInfoList:i}=u(t),{y:c}=E(),y=p(()=>{const e=c.value+o.value+80+4,t=m();if(null==i?void 0:i.value){const l=null==i?void 0:i.value.find(t=>e<t.scrollY);t.value=l?i.value[i.value.indexOf(l)-1]?i.value[i.value.indexOf(l)-1]:(null==i?void 0:i.value)&&(null==i?void 0:i.value[0]):(null==i?void 0:i.value)&&(null==i?void 0:i.value[i.value.length-1])}else t.value=(null==i?void 0:i.value)&&(null==i?void 0:i.value[0]);return t.value}),b=e=>{var t;return e===(null==(t=y.value)?void 0:t.version)},k=e=>{(e=>{var l;const s=m();t.scrollInfoList&&(s.value=null==(l=t.scrollInfoList)?void 0:l.find(t=>t.version===e)),s.value&&window.scrollTo(0,s.value.scrollY-o.value-80)})(e)};return d(()=>{document.documentElement.style.scrollBehavior="smooth"}),v(()=>{document.documentElement.style.scrollBehavior="unset"}),(e,t)=>(l(),s("ol",z,[(l(!0),s(x,null,h(e.versions,(e,t)=>(l(),s("li",{key:t},[a("button",{type:"button",class:f(["flex items-center min-w-[260px] w-full text-subtitle-3 text-left",b(e)?"bg-gray-100":"text-gray-700"]),onClick:t=>k(e)},[a("div",{class:f(["rounded-[10px] w-[4px] h-[60px] mr-[10px]",b(e)&&"bg-primary"])},null,2),r(" "+n(e),1)],10,R)]))),128))]))}}),U=["colspan"],Y={class:"sr-only"},B=["onClick","onKeyup"],F={class:"bg-gray-100 row-border-b"},K=["colspan"],P={class:"px-[50px] py-[10px] xs:px-[14px] text-right flex justify-end"},G={type:"button","aria-label":"See all versions",class:"flex flex-grow-0"},q={class:"px-[50px] py-[20px] text-body-4 text-center"},Q={class:"px-[50px] py-[20px] text-body-4 text-center"},Z={class:"px-[50px] py-[20px] text-body-4 text-center"},J={class:"px-[50px] py-[20px] text-body-4 text-center"},ee={class:"text-center py-[20px] sm:hidden"},te={class:"flex justify-center items-center md:flex-col md:gap-2"},le={key:1,class:"cursor-not-allowed"},se=["loading","onClick"],ae=(e=>(g("data-v-8ebb9a5a"),e=e(),w(),e))(()=>a("div",{class:"w-[1px] h-[20px] mx-[32px] lg:mx-[14px] md:hidden bg-gray-400","aria-hidden":""},null,-1)),ne={key:1,class:"cursor-not-allowed"},oe=["loading","onClick"],ie=e(c({__name:"VersionRows",props:{cloviseVersionInfos:{}},emits:["update:CategoryScrollList"],setup(e,{emit:t}){const i=e,c=m(),u=m(),v=m({}),g=j(),{token:w}=V(),{height:_}=O(c),{width:E}=C(),D=p(()=>i.cloviseVersionInfos.flatMap(e=>e.installers)),T=p(()=>N(D.value)),N=e=>e.reduce((e,t)=>{var l;const s=null==(l=i.cloviseVersionInfos.find(e=>e.installers.includes(t)))?void 0:l.clo;return e[s||""]||(e[s||""]={group:[],folded:m(!1)}),e[s||""].group.push(t),e},{}),$=e=>{const t=[],l=u.value.map(e=>e.getBoundingClientRect().top+window.scrollY);for(const[s,a]of Object.keys(e).entries())t.push({version:a,scrollY:l[s]});return t},A=e=>{T.value[e].folded.value=!T.value[e].folded.value},H=()=>{const e=$(T.value);t("update:CategoryScrollList",e)},W=async(e,t)=>{const{data:l,fetch:s}=I();try{v.value[e]||(v.value[e]={mac:!1,windows:!1}),v.value[e][t]=!0,await s(w.value,e),l.value&&(window.location.href=l.value)}catch(a){}finally{v.value[e][t]=!1}};return d(()=>{E.value>1023&&H()}),y([_,E],()=>{E.value>1023&&H()}),(e,t)=>{const i=L;return l(),s("tr",{ref_key:"contentEl",ref:c},[a("td",{colspan:b(E)<1024?"4":"5"},[(l(!0),s(x,null,h(T.value,(t,c)=>(l(),s("table",{key:c,class:"w-full table-fixed border-collapse"},[a("caption",Y,n(c)+" version table ",1),a("thead",{ref_for:!0,ref_key:"categoryEl",ref:u,role:"button",tabindex:"0",onClick:e=>A(c),onKeyup:e=>A(c)},[a("tr",F,[a("th",{class:"px-[50px] py-[10px] xs:px-[14px] text-subtitle-5 text-gray-600",colspan:b(E)<1024?"3":"4"},n(c),9,K),a("th",P,[a("button",G,[t.folded.value?(l(),k(i,{key:0,name:"down",size:"16",class:"fill-gray-600"})):(l(),k(i,{key:1,name:"up",size:"16",class:"fill-gray-600"}))])])])],40,B),a("tbody",{class:f({hidden:t.folded.value})},[(l(!0),s(x,null,h(t.group,t=>{var c,u,p,d;return l(),s("tr",{key:t.path,class:"row-border-b"}
1,[a("td",q,n(t.cloVersion),1),a("td",Q,n(t.version),1),a("td",Z,n(t.plmVersion),1),a("td",J,n(b(S)(t.releaseDate,b(g).locale)),1),a("td",ee,[a("ul",te,[a("li",null,[(null==(c=v.value[t.path])?void 0:c.mac)?(l(),k(i,{key:0,name:"loading",size:"20",class:"shrink-0 animate-spin fill-primary"})):(l(),s("div",le,[a("button",{type:"button","aria-label":"Download this version.",class:f(["flex items-center justify-center text-subtitle-5",t.mac?"text-gray-800":"text-gray-600 pointer-events-none"]),loading:null==(u=v.value[t.path])?void 0:u.mac,onClick:e=>W(t.path,"mac")},[o(i,{name:"Mac",size:"20",class:f(["shrink-0",t.mac?"fill-primary":"fill-gray-600 cursor-not-allowed"])},null,8,["class"]),r(" "+n(e.$t("DOWNLOAD.DOWNLOAD_OS_MAC")),1)],10,se)]))]),ae,a("li",null,[(null==(p=v.value[t.path])?void 0:p.windows)?(l(),k(i,{key:0,name:"loading",size:"20",class:"shrink-0 animate-spin fill-primary"})):(l(),s("div",ne,[a("button",{type:"button","aria-label":"Download this version.",class:f(["flex items-center justify-center text-subtitle-5",t.windows?"text-gray-800":"text-gray-600 pointer-events-none"]),loading:null==(d=v.value[t.path])?void 0:d.windows,onClick:e=>W(t.path,"windows")},[o(i,{name:"Window",size:"20",class:f(["shrink-0",t.windows?"fill-primary":"fill-gray-600 cursor-not-allowed"])},null,8,["class"]),r(" "+n(e.$t("DOWNLOAD.DOWNLOAD_OS_WINDOWS")),1)],10,oe)]))])])])])}),128))],2)]))),128))],8,U)],512)}}}),[["__scopeId","data-v-8ebb9a5a"]]),re={class:"flex flex-col items-center"},ce={class:"w-full table-fixed border-collapse text-left"},ue=(e=>(g("data-v-618a1c67"),e=e(),w(),e))(()=>a("caption",{class:"sr-only"}," clo-vise product version table ",-1)),pe={class:"text-subtitle-5 p-[10px] text-center"},de={class:"text-subtitle-5 p-[10px] text-center"},ve={class:"text-subtitle-5 p-[10px] text-center"},xe={class:"text-subtitle-5 p-[10px] text-center"},he={class:"text-subtitle-5 p-[10px] text-center sm:hidden"},fe={class:"text-body-4"},me={class:"items-center mt-[40px] hidden sm:flex"},ye={class:"text-body-4"},be=e(c({__name:"VersionTable",props:{cloviseVersionInfos:{}},emits:["update:CategoryScrollList","update:TblHeaderHeight"],setup(e,{emit:t}){const i=m(),{height:r}=O(i),c=m([]);y(c,()=>t("update:CategoryScrollList",c.value));const u=e=>{c.value=e};return y(r,()=>t("update:TblHeaderHeight",r.value)),(e,t)=>{const r=L;return l(),s("div",re,[a("table",ce,[ue,a("thead",{ref_key:"tblHeaderEl",ref:i,class:"table-head-shadow bg-gray-0 sticky top-[72px] sm:top-[57px] left-0"},[a("tr",null,[a("th",pe,n(e.$t("CLOVISE.CLO_TEXT"))+" "+n(e.$t("CLOVISE.VERSION_TEXT")),1),a("th",de,n(e.$t("CLOVISE.CLOVISE_TEXT"))+" "+n(e.$t("CLOVISE.VERSION_TEXT")),1),a("th",ve,n(e.$t("CLOVISE.PLM_TEXT"))+" "+n(e.$t("CLOVISE.VERSION_TEXT")),1),a("th",xe,n(e.$t("CLOVISE.RELEASE_DATE_TEXT")),1),a("th",he,n(e.$t("CLOVISE.DOWNLOAD_TEXT")),1)])],512),a("tbody",fe,[o(ie,{"clovise-version-infos":e.cloviseVersionInfos,"onUpdate:CategoryScrollList":u},null,8,["clovise-version-infos"])])]),a("div",me,[o(r,{name:"warning",size:"18",class:"shrink-0 fill-gray-600 mr-[4px]"}),a("strong",ye,n(e.$t("CLOVISE.DOWNLOAD_GUIDE_MESSAGE_1")),1)])])}}}),[["__scopeId","data-v-618a1c67"]]),ke={class:"flex"},ge={class:"flex flex-col space-y-5"},we={class:"text-subtitle-5 px-[50px] py-[10px] text-center bg-primary-50"},_e=c({__name:"ProductContent",props:{cloviseData:{}},setup(e){const t=e,i=m([]),r=m(0),c=p(()=>t.cloviseData.buckets.map(e=>e.installers&&e.clo)),u=m(c.value[0]),d=e=>{i.value=e},v=e=>{r.value=e};return(e,t)=>(l(),s("div",ke,[o(M,{versions:c.value,"active-btn":u.value,"scroll-info-list":i.value,"tbl-header-height":r.value,class:"sm:hidden mr-[20px]"},null,8,["versions","active-btn","scroll-info-list","tbl-header-height"]),a("section",ge,[a("p",we,n(e.cloviseData.plm),1),e.cloviseData?(l(),k(be,{key:0,"clovise-version-infos":e.cloviseData.buckets,"onUpdate:CategoryScrollList":d,"onUpdate:TblHeaderHeight":v},null,8,["clovise-version-infos"])):_("",!0)])]))}});async function Ee(e){var t;const{token:l,user:s}=T();if(!l)throw N(e);if("individual"===(null==s?void 0:s.role))throw $(403,"Forbidden");const{data:a,fetch:n,loading:o}=D();try{if(await n(l),!a.value)throw $(403,"Forbidden")}catch(i){if(403===(null==(t=i.response)?void 0:t.status))throw $(403,"Forbidden");throw i}return{pageContext:{pageProps:{installerData:a.value}}}}const Oe={class:"container mx-auto pb-14"},Ce=c({__name:"index.page",props:{installerData:{}},setup:e=>(e,t)=>
1(l(),s("div",Oe,[o(X),e.installerData?(l(),k(_e,{key:0,"clovise-data":e.installerData},null,8,["clovise-data"])):_("",!0)]))});export{Ce as default,Ee as onBeforeRender};

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.