@wellesley/apps 1.0.92 → 1.0.93
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*as xe from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import $v,{useCallback as Di,forwardRef as Lc,createElement as Cs,useState as Pr,useEffect as Zc}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Is}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as Wc,useGetApiV1AccountsProfileQuery as zv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.
|
|
1
|
+
import*as xe from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import $v,{useCallback as Di,forwardRef as Lc,createElement as Cs,useState as Pr,useEffect as Zc}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Is}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as Wc,useGetApiV1AccountsProfileQuery as zv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.169";import{getRoute as dc,useAppsNavigate as Dv}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.83";import{cn as Br,Button as Ws,Dialog as Uv,DialogContent as Vv,Form as Fv,FormField as hc,FormItem as pc,FormLabel as mc,FormControl as gc,Input as vc,FormMessage as _c,ButtonLoader as Ps,Avatar as Pc,AvatarImage as Mc,AvatarFallback as Bc,Carousel as qv,CarouselContent as Jv,CarouselItem as Gv,CarouselPrevious as Qv,CarouselNext as Yv,AlertDialog as Kv,AlertDialogContent as Hv,AlertDialogHeader as Xv,AlertDialogTitle as e_,AlertDialogDescription as t_,AlertDialogFooter as r_,AlertDialogCancel as n_,AlertDialogAction as i_,TooltipWrapper as a_}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.116";import{logErrorToSentry as s_}from"https://cdn.jsdelivr.net/npm/@wellesley/sentry@1.0.20";import{get as Ts,set as _s,appendErrors as u_,useForm as o_}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as c_,useGetApiV1AppsByAppIdQuery as l_,api as f_,handleBasicResponse as mt}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.154";import{usernameValidator as d_,usernameMaxLength as h_,authSlice as p_}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.210";import{getErrorByStatusCode as m_}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.7";const L0=()=>{const e=Is(Wc.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-posts":dc("/:username/posts",{username:t}),$user:dc("/:username/:tab?",{username:t})};return{getMappedRoute:Di((({id:e,manifest:{routes:t}})=>{var r;const i=null==(r=t.find((e=>!!e.default)))?void 0:r.path,a=`/${e}`;return i&&i.startsWith("$")?n[i]||a:i||a}),[])}};var yc,xc,Bi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ys={exports:{}},yn={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|