@wellesley/apps 1.0.378 → 1.0.379

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