@wellesley/apps 1.0.246 → 1.0.247

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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import kv,{useCallback as Pi,forwardRef as jc,createElement as ws,useState as Lr,useEffect as Ic}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as ks}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as Tc,useGetApiV1AccountsProfileQuery as Av,UserAvatar as jv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@next";import{getRoute as ac,useAppsNavigate as Iv}from"https://cdn.jsdelivr.net/npm/@wellesley/router@next";import{cn as Pr,Button as Rs,Dialog as Tv,DialogContent as Sv,Form as Nv,FormField as sc,FormItem as uc,FormLabel as oc,FormControl as cc,Input as lc,FormMessage as fc,ButtonLoader as Cs,Avatar as Sc,AvatarImage as Nc,AvatarFallback as Rc,Carousel as Rv,CarouselContent as Cv,CarouselItem as Ov,CarouselPrevious as Ev,CarouselNext as Zv,AlertDialog as Lv,AlertDialogContent as Wv,AlertDialogHeader as Mv,AlertDialogTitle as $v,AlertDialogDescription as zv,AlertDialogFooter as Pv,AlertDialogCancel as Dv,AlertDialogAction as Bv,TooltipWrapper as Vv}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@next";import{logErrorToSentry as Uv}from"https://cdn.jsdelivr.net/npm/@wellesley/sentry@next";import{get as As,set as ms,appendErrors as Fv,useForm as qv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as Gv,useGetApiV1AppsByAppIdQuery as Qv,api as Jv,handleBasicResponse as mt}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@next";import{usernameValidator as Hv,usernameMaxLength as Yv,authSlice as Kv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@next";import{getErrorByStatusCode as Xv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@next";import{useNavigate as e_,useParams as t_}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";const n0=()=>{const e=ks(Tc.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":ac("/:username/posts",{username:t}),$user:ac("/:username/:tab?",{username:t})};return{getMappedRoute:Pi((({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 dc,hc,Mi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gs={exports:{}},vn={};
1
+ import kv,{useCallback as Pi,forwardRef as jc,createElement as ws,useState as Lr,useEffect as Ic}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as ks}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as Tc,useGetApiV1AccountsProfileQuery as Av,UserAvatar as jv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.321";import{getRoute as ac,useAppsNavigate as Iv}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.234";import{cn as Pr,Button as Rs,Dialog as Tv,DialogContent as Sv,Form as Nv,FormField as sc,FormItem as uc,FormLabel as oc,FormControl as cc,Input as lc,FormMessage as fc,ButtonLoader as Cs,Avatar as Sc,AvatarImage as Nc,AvatarFallback as Rc,Carousel as Rv,CarouselContent as Cv,CarouselItem as Ov,CarouselPrevious as Ev,CarouselNext as Zv,AlertDialog as Lv,AlertDialogContent as Wv,AlertDialogHeader as Mv,AlertDialogTitle as $v,AlertDialogDescription as zv,AlertDialogFooter as Pv,AlertDialogCancel as Dv,AlertDialogAction as Bv,TooltipWrapper as Vv}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.268";import{logErrorToSentry as Uv}from"https://cdn.jsdelivr.net/npm/@wellesley/sentry@1.0.172";import{get as As,set as ms,appendErrors as Fv,useForm as qv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as Gv,useGetApiV1AppsByAppIdQuery as Qv,api as Jv,handleBasicResponse as mt}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.306";import{usernameValidator as Hv,usernameMaxLength as Yv,authSlice as Kv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.362";import{getErrorByStatusCode as Xv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.157";import{useNavigate as e_,useParams as t_}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";const n0=()=>{const e=ks(Tc.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":ac("/:username/posts",{username:t}),$user:ac("/:username/:tab?",{username:t})};return{getMappedRoute:Pi((({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 dc,hc,Mi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gs={exports:{}},vn={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wellesley/apps",
3
- "version": "1.0.246",
3
+ "version": "1.0.247",
4
4
  "main": "index.mjs",
5
5
  "license": "UNLICENSED",
6
6
  "files": [