@wellesley/apps 1.0.451 → 1.0.452

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 Na,useState as Dr,useEffect as qc}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 K_,useGetApiV1AccountsProfileQuery as H_,UserAvatar as X_}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.525";import{getRoute as _c,useAppsNavigate as ev}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.438";import{cn as fr,Button as Da,Dialog as tv,DialogContent as rv,Form as nv,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 Jc,AvatarFallback as Yc,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.472";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.510";import{usernameValidator as kv,usernameMaxLength as Av,authSlice as Sv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.566";import{getErrorByStatusCode as jv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.361";import{useNavigate as Iv,useParams as Ev}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{createAction as Qc,createSlice as Nv}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const hx=()=>{const e=Ta(K_.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 Na,useState as Dr,useEffect as qc}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 K_,useGetApiV1AccountsProfileQuery as H_,UserAvatar as X_}from"https://cdn.jsdelivr.net/npm/@wellesley/user@1.0.526";import{getRoute as _c,useAppsNavigate as ev}from"https://cdn.jsdelivr.net/npm/@wellesley/router@1.0.439";import{cn as fr,Button as Da,Dialog as tv,DialogContent as rv,Form as nv,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 Jc,AvatarFallback as Yc,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.473";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.511";import{usernameValidator as kv,usernameMaxLength as Av,authSlice as Sv}from"https://cdn.jsdelivr.net/npm/@wellesley/auth@1.0.567";import{getErrorByStatusCode as jv}from"https://cdn.jsdelivr.net/npm/@wellesley/error-kit@1.0.362";import{useNavigate as Iv,useParams as Ev}from"https://cdn.jsdelivr.net/npm/react-router-dom@6.22.2/+esm";import{createAction as Qc,createSlice as Nv}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";const hx=()=>{const e=Ta(K_.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.451",
3
+ "version": "1.0.452",
4
4
  "main": "index.mjs",
5
5
  "license": "UNLICENSED",
6
6
  "files": [