PageSourceSearch

https://plotfactorystudios.com/vue/assets/OnboardingIntroduction-DFKD7NPR.js

js plotfactorystudios.com collected 2026-10-06 19:52:58 UTC 2,558 bytes, 1 lines download raw bytes

1import{a as I,d as h,g as S}from"./invites-CxdHVX0X.js";import{x,r as p,A as z,K as k,o as n,d as l,c as u,t as f,f as s,w as e,b as t,a3 as A,a$ as B,m as i,M as L,Q as M,a4 as N,aW as $,F as b,h as m,B as g,D as _,E as F,n as O,b0 as P,ac as j}from"./index-Gf3RWEu2.js";import{V as T}from"./VChip-DjhLPIJL.js";import{V as D}from"./VListItemAction-INv7dCcu.js";function E(r){return x.get(`meta/user/${r}`)}function U(r){return x.delete(`meta/user/${r.handle}`)}const W={class:"ma-auto"},q={class:"text-end"},G={__name:"OnboardingIntroduction",setup(r){const d=p(),o=p(),v=p(!1);z(async()=>{o.value=(await E("registration_invite_accepted_message")).data.meta});async function y(){d.value=(await S()).data.invites}async function C(){await U(o.value),o.value=null,v.value=!0}return(V,a)=>(n(),k("div",{class:P(["d-flex mx-auto",("inject"in V?V.inject:s(j))("containerClasses")]),style:{"max-width":"700px"}},[l("div",W,[a[3]||(a[3]=l("h1",{class:"text-h3 mb-5"},"Welcome to Plot Factory",-1)),a[4]||(a[4]=l("p",{class:"text-body-1 mb-5"},"Plot Factory is a collaborative, planning, organizing, and writing application.",-1)),s(d)&&s(d).length?(n(),u(g,{key:0,class:"my-8"},{default:e(()=>[t(A,{density:"compact"},{default:e(()=>[t(B,null,{default:e(()=>a[0]||(a[0]=[i("You have pending invites")])),_:1}),(n(!0),k(L,null,M(s(d),c=>(n(),u(N,{title:`Invite from ${c.workspace.owner.name}`},{append:e(()=>[t(D,null,{default:e(()=>[t(m,{size:"small",color:"secondary",onClick:w=>s(I)(c).then(y),icon:"mdi-check"},null,8,["onClick"]),t(m,{size:"small",color:"danger",class:"ms-3",onClick:w=>s(h)(c).then(y),icon:"mdi-close"},null,8,["onClick"])]),_:2},1024)]),default:e(()=>[t($,null,{default:e(()=>[a[1]||(a[1]=i(" Role: ")),t(T,{size:"small",color:"secondary",variant:"flat",rounded:""},{default:e(()=>[i(b(c.role),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["title"]))),256))]),_:1})]),_:1})):f("",!0),s(o)?(n(),u(g,{key:1,class:"my-8"},{default:e(()=>[t(_,null,{default:e(()=>[i(b(s(o).value),1)]),_:1}),t(F,null,{default:e(()=>[t(O),t(m,{text:"Ok",onClick:C,"data-testid":"registration-invite-accepted-message-button"})]),_:1})]),_:1})):f("",!0),s(v)?(n(),u(g,{key:2,class:"my-8"},{default:e(()=>[t(_,null,{default:e(()=>a[2]||(a[2]=[l("b",null,"Note",-1),i(": A subscription to Plot Factory Studios premium plans is not required to work in workspaces that you have been invited to. ")])),_:1})]),_:1})):f("",!0),l("div",q,[t(m,{color:"secondary",variant:"elevated",to:{name:"OnboardingThemeSelector"},text:"Next",size:"large"})])])],2))}};export{G 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.