@wellesley/apps 1.0.613 → 1.0.614
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _v,{useCallback as Ji,forwardRef as nl,createElement as Ra,useState as Wr,useEffect as il}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as La}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as vv,useGetApiV1AccountsProfileQuery as yv,UserAvatar as xv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.
|
|
1
|
+
import _v,{useCallback as Ji,forwardRef as nl,createElement as Ra,useState as Wr,useEffect as il}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as La}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as vv,useGetApiV1AccountsProfileQuery as yv,UserAvatar as xv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.688";import{getRoute as Sc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.601";import{cn as hr,Button as za,Dialog as bv,DialogContent as wv,Form as kv,FormField as jc,FormItem as Ic,FormLabel as Ec,FormControl as Cc,Input as Tc,FormMessage as Nc,ButtonLoader as Ua,Avatar as sl,AvatarImage as al,AvatarFallback as ol,Carousel as Av,CarouselContent as Sv,CarouselItem as jv,CarouselPrevious as Iv,CarouselNext as Ev,AlertDialog as Cv,AlertDialogContent as Tv,AlertDialogHeader as Nv,AlertDialogTitle as Ov,AlertDialogDescription as Rv,AlertDialogFooter as Lv,AlertDialogCancel as Pv,AlertDialogAction as Zv,TooltipWrapper as Mv}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.635";import{get as Pa,set as Sa,appendErrors as $v,useForm as Wv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as Dv,useGetApiV1AppsByAppIdQuery as zv,api as Uv}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.673";import{getStore as Bv}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.672";import{getErrorByStatusCode as Vv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.524";import{useNavigate as Fv,useParams as qv}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{toast as Oc}from"https://cdn.jsdelivr.net/npm/@wellesley/system-toast@1.0.17";import{authSlice as Gv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.729";import{createAction as ul,createSlice as cl}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const Jx=()=>{const e=La(vv.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":Sc("/:username/posts/:postId",{username:t}),$user:Sc("/:username/profile/:tab?",{username:t})};return{getMappedRoute:Ji((({id:e,manifest:{routes:t}})=>{var r;const i=null==(r=t.find((e=>!!e.entryPointFor)))?void 0:r.path,a=`/${e}`;return i&&i.startsWith("$")?n[i]||a:i||a}),[])}};var Rc,Lc,Fi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ja={exports:{}},kn={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|