@wellesley/apps 1.0.480 → 1.0.481

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 K_,{useCallback as qi,forwardRef as qc,createElement as Na,useState as Dr,useEffect as Gc}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Ta}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as H_,useGetApiV1AccountsProfileQuery as X_,UserAvatar as ev}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.554";import{getRoute as vc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.467";import{cn as fr,Button as Da,Dialog as tv,DialogContent as rv,Form as nv,FormField as yc,FormItem as xc,FormLabel as bc,FormControl as wc,Input as kc,FormMessage as Ac,ButtonLoader as Wa,Avatar as Jc,AvatarImage as Yc,AvatarFallback as Qc,Carousel as iv,CarouselContent as sv,CarouselItem as av,CarouselPrevious as ov,CarouselNext as uv,AlertDialog as cv,AlertDialogContent as lv,AlertDialogHeader as fv,AlertDialogTitle as dv,AlertDialogDescription as hv,AlertDialogFooter as pv,AlertDialogCancel as mv,AlertDialogAction as gv,TooltipWrapper as _v}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.501";import{get as Ca,set as wa,appendErrors as vv,useForm as yv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as xv,useGetApiV1AppsByAppIdQuery as bv,api as wv,handleBasicResponse as gt}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.539";import{usernameValidator as kv,usernameMaxLength as Av,authSlice as Sv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.595";import{getErrorByStatusCode as jv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.390";import{useNavigate as Iv,useParams as Ev}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{createAction as Kc,createSlice as Nv}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const gx=()=>{const e=Ta(H_.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":vc("/:username/posts/:postId",{username:t}),$user:vc("/:username/:tab?",{username:t})};return{getMappedRoute:qi((({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 Sc,jc,zi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ka={exports:{}},bn={};
1
+ import K_,{useCallback as qi,forwardRef as qc,createElement as Na,useState as Dr,useEffect as Gc}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useSelector as Ta}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{userSlice as H_,useGetApiV1AccountsProfileQuery as X_,UserAvatar as ev}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.555";import{getRoute as vc}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.468";import{cn as fr,Button as Da,Dialog as tv,DialogContent as rv,Form as nv,FormField as yc,FormItem as xc,FormLabel as bc,FormControl as wc,Input as kc,FormMessage as Ac,ButtonLoader as Wa,Avatar as Jc,AvatarImage as Yc,AvatarFallback as Qc,Carousel as iv,CarouselContent as sv,CarouselItem as av,CarouselPrevious as ov,CarouselNext as uv,AlertDialog as cv,AlertDialogContent as lv,AlertDialogHeader as fv,AlertDialogTitle as dv,AlertDialogDescription as hv,AlertDialogFooter as pv,AlertDialogCancel as mv,AlertDialogAction as gv,TooltipWrapper as _v}from"https://cdn.jsdelivr.net/npm/@wellesley/ui@1.0.502";import{get as Ca,set as wa,appendErrors as vv,useForm as yv}from"https://cdn.jsdelivr.net/npm/react-hook-form@7.51.0/+esm";import{usePostApiV1UsersMutation as xv,useGetApiV1AppsByAppIdQuery as bv,api as wv,handleBasicResponse as gt}from"https://cdn.jsdelivr.net/npm/@wellesley/openapi@1.0.540";import{usernameValidator as kv,usernameMaxLength as Av,authSlice as Sv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.596";import{getErrorByStatusCode as jv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.391";import{useNavigate as Iv,useParams as Ev}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{createAction as Kc,createSlice as Nv}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const gx=()=>{const e=Ta(H_.selectors.selectCurrentUser),t=`@${null==e?void 0:e.username}`,n={$root:"/","$user-post":vc("/:username/posts/:postId",{username:t}),$user:vc("/:username/:tab?",{username:t})};return{getMappedRoute:qi((({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 Sc,jc,zi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ka={exports:{}},bn={};
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.480",
3
+ "version": "1.0.481",
4
4
  "main": "index.mjs",
5
5
  "license": "UNLICENSED",
6
6
  "files": [