@wellesley/apps 1.0.566 → 1.0.568

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 fv,{useCallback as Ji,forwardRef as el,createElement as Na,useState as Dr,useEffect as tl}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Ca}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as dv,useGetApiV1AccountsProfileQuery as hv,UserAvatar as pv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.640";import{getRoute as wc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.553";import{cn as hr,Button as $a,Dialog as gv,DialogContent as mv,Form as _v,FormField as kc,FormItem as Ac,FormLabel as Sc,FormControl as jc,Input as Ic,FormMessage as Ec,ButtonLoader as Da,Avatar as rl,AvatarImage as nl,AvatarFallback as il,Carousel as vv,CarouselContent as yv,CarouselItem as xv,CarouselPrevious as bv,CarouselNext as wv,AlertDialog as kv,AlertDialogContent as Av,AlertDialogHeader as Sv,AlertDialogTitle as jv,AlertDialogDescription as Iv,AlertDialogFooter as Ev,AlertDialogCancel as Tv,AlertDialogAction as Nv,TooltipWrapper as Cv}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.587";import{get as Oa,set as ka,appendErrors as Ov,useForm as Rv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as Lv,useGetApiV1AppsByAppIdQuery as Pv,api as Zv,handleBasicResponse as vt}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.625";import{getStore as Mv}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.624";import{getErrorByStatusCode as $v}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.476";import{useNavigate as Dv,useParams as Wv}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{authSlice as zv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.681";import{createAction as sl,createSlice as al}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const Dx=()=>{const e=Ca(dv.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":wc("/:username/posts/:postId",{username:t}),$user:wc("/: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 Tc,Nc,Fi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Aa={exports:{}},kn={};
1
+ import fv,{useCallback as Ji,forwardRef as el,createElement as Na,useState as Dr,useEffect as tl}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Ca}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as dv,useGetApiV1AccountsProfileQuery as hv,UserAvatar as pv}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.642";import{getRoute as wc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.555";import{cn as hr,Button as $a,Dialog as gv,DialogContent as mv,Form as _v,FormField as kc,FormItem as Ac,FormLabel as Sc,FormControl as jc,Input as Ic,FormMessage as Ec,ButtonLoader as Da,Avatar as rl,AvatarImage as nl,AvatarFallback as il,Carousel as vv,CarouselContent as yv,CarouselItem as xv,CarouselPrevious as bv,CarouselNext as wv,AlertDialog as kv,AlertDialogContent as Av,AlertDialogHeader as Sv,AlertDialogTitle as jv,AlertDialogDescription as Iv,AlertDialogFooter as Ev,AlertDialogCancel as Tv,AlertDialogAction as Nv,TooltipWrapper as Cv}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.589";import{get as Oa,set as ka,appendErrors as Ov,useForm as Rv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as Lv,useGetApiV1AppsByAppIdQuery as Pv,api as Zv,handleBasicResponse as vt}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.627";import{getStore as Mv}from"https://cdn.jsdelivr.net/npm/@wellesley/store@1.0.626";import{getErrorByStatusCode as $v}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.478";import{useNavigate as Dv,useParams as Wv}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{authSlice as zv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.683";import{createAction as sl,createSlice as al}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const Dx=()=>{const e=Ca(dv.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":wc("/:username/posts/:postId",{username:t}),$user:wc("/: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 Tc,Nc,Fi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Aa={exports:{}},kn={};
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.566",
3
+ "version": "1.0.568",
4
4
  "main": "index.mjs",
5
5
  "license": "UNLICENSED",
6
6
  "files": [