@alwith/module-auth 0.1.8 → 0.1.9
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.
- package/README.md +1 -1
- package/dist/chunk-0gf7vwzk.js +2 -0
- package/dist/chunk-0x7ssxpn.js +2 -0
- package/dist/chunk-0ze5xzg5.js +2 -0
- package/dist/chunk-14dfwbk0.js +2 -0
- package/dist/chunk-1hxexf7n.js +6 -0
- package/dist/chunk-1mq984ah.js +2 -0
- package/dist/chunk-21abksd2.js +2 -0
- package/dist/chunk-2aq8zkwb.js +2 -0
- package/dist/chunk-2k8my1h9.js +2 -0
- package/dist/chunk-2skzpxsk.js +2 -0
- package/dist/chunk-2x5tzfgv.js +2 -0
- package/dist/chunk-37ctfsy1.js +1 -0
- package/dist/chunk-38y9615y.js +2 -0
- package/dist/chunk-3vpcfe38.js +2 -0
- package/dist/chunk-44at74bw.js +2 -0
- package/dist/chunk-4gegjx79.js +2 -0
- package/dist/chunk-4h2756zy.js +2 -0
- package/dist/chunk-4xk0z8t0.js +2 -0
- package/dist/chunk-5jz8vnk5.js +1 -0
- package/dist/chunk-5v4zm9s3.js +2 -0
- package/dist/chunk-5w675j2g.js +2 -0
- package/dist/chunk-70nb6x0r.js +2 -0
- package/dist/chunk-74hpp4me.js +2 -0
- package/dist/chunk-7xtvv8a7.js +2 -0
- package/dist/chunk-8kcmwm3k.js +2 -0
- package/dist/chunk-8w0zccsf.js +0 -0
- package/dist/chunk-8xd6kn1b.js +2 -0
- package/dist/chunk-96emfz6b.js +2 -0
- package/dist/chunk-9h4j75af.js +2 -0
- package/dist/chunk-9tramdds.js +2 -0
- package/dist/chunk-9wqfns8y.js +2 -0
- package/dist/chunk-9zhxpvxw.js +2 -0
- package/dist/chunk-afy09ajr.js +2 -0
- package/dist/chunk-b5zfgr86.js +2 -0
- package/dist/chunk-bgc7s9q5.js +2 -0
- package/dist/chunk-c9banqkx.js +2 -0
- package/dist/chunk-d13j3xks.js +2 -0
- package/dist/chunk-ezj6gpm0.js +2 -0
- package/dist/chunk-fkj53yw2.js +2 -0
- package/dist/chunk-g47n16v3.js +2 -0
- package/dist/chunk-hj17ea3j.js +2 -0
- package/dist/chunk-hk9j0kvg.js +2 -0
- package/dist/chunk-htw56xtp.js +2 -0
- package/dist/chunk-j03we9jz.js +2 -0
- package/dist/chunk-j3ez3fz2.js +2 -0
- package/dist/chunk-jf6z5rh7.js +1 -0
- package/dist/chunk-jf77909y.js +2 -0
- package/dist/chunk-jjb1befc.js +2 -0
- package/dist/chunk-khnyadsg.js +0 -0
- package/dist/chunk-kwq26qhs.js +2 -0
- package/dist/chunk-m18rjmg2.js +2 -0
- package/dist/chunk-m96z2xh6.js +2 -0
- package/dist/chunk-mandqn4e.js +2 -0
- package/dist/chunk-mdqxdcxh.js +2 -0
- package/dist/chunk-mmj02855.js +2 -0
- package/dist/chunk-mnrtrr2j.js +2 -0
- package/dist/chunk-ms8jh9xz.js +2 -0
- package/dist/chunk-my19acdk.js +2 -0
- package/dist/chunk-nbzm95mz.js +2 -0
- package/dist/chunk-npcgz51c.js +2 -0
- package/dist/chunk-p1ywvmqa.js +2 -0
- package/dist/chunk-pbwt3qj9.js +0 -0
- package/dist/chunk-pha0eyam.js +2 -0
- package/dist/chunk-q8ebj5e6.js +2 -0
- package/dist/chunk-rerywpwe.js +2 -0
- package/dist/chunk-sp65sdp3.js +1 -0
- package/dist/chunk-v9czb1e6.js +2 -0
- package/dist/chunk-vnnyvrrd.js +3 -0
- package/dist/chunk-vr4ye1z4.js +2 -0
- package/dist/chunk-vsxgxkg5.js +0 -0
- package/dist/chunk-vz0m347h.js +2 -0
- package/dist/chunk-w1z1g5c5.js +2 -0
- package/dist/chunk-w5yer870.js +2 -0
- package/dist/chunk-wbvah1ty.js +2 -0
- package/dist/chunk-wcenmfkf.js +2 -0
- package/dist/chunk-xrw9s1th.js +2 -0
- package/dist/chunk-xs0abxzp.js +2 -0
- package/dist/chunk-yjdj2mf9.js +2 -0
- package/dist/chunk-z5nmdjb9.js +2 -0
- package/dist/chunk-zhbj6cm5.js +2 -0
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/oauth.js +1 -1
- package/dist/password.js +1 -1
- package/dist/pets/assets.d.ts +8 -8
- package/dist/pets/assets.js +1 -1
- package/dist/pets/client.d.ts +2 -2
- package/dist/pets/client.js +1 -1
- package/dist/pets/core/engine.d.ts +2 -2
- package/dist/pets/core/engine.js +1 -1
- package/dist/pets/core/host.d.ts +3 -3
- package/dist/pets/core/host.js +1 -1
- package/dist/pets/core/index.d.ts +11 -11
- package/dist/pets/core/index.js +1 -1
- package/dist/pets/core/lib/account-state.d.ts +1 -1
- package/dist/pets/core/lib/account-state.js +1 -1
- package/dist/pets/core/lib/bubble-outline.js +1 -1
- package/dist/pets/core/lib/draw-result.d.ts +1 -1
- package/dist/pets/core/lib/draw-result.js +1 -1
- package/dist/pets/core/lib/endpoints.d.ts +1 -1
- package/dist/pets/core/lib/endpoints.js +1 -1
- package/dist/pets/core/lib/gacha-pools.d.ts +1 -1
- package/dist/pets/core/lib/gacha-pools.js +1 -1
- package/dist/pets/core/lib/loading-progress.js +1 -1
- package/dist/pets/core/lib/pet-animation-sync.d.ts +2 -2
- package/dist/pets/core/lib/pet-animation-sync.js +1 -1
- package/dist/pets/core/lib/pet-bubble-state.d.ts +1 -1
- package/dist/pets/core/lib/pet-bubble-state.js +1 -1
- package/dist/pets/core/lib/pet-drag.d.ts +2 -2
- package/dist/pets/core/lib/pet-drag.js +1 -1
- package/dist/pets/core/lib/pet-presentation.d.ts +3 -3
- package/dist/pets/core/lib/pet-presentation.js +1 -1
- package/dist/pets/core/lib/pet-session-context.js +1 -1
- package/dist/pets/core/lib/preload-images.js +1 -1
- package/dist/pets/core/lib/presentation-readiness.js +1 -1
- package/dist/pets/core/lib/rarity.d.ts +1 -1
- package/dist/pets/core/lib/rarity.js +1 -1
- package/dist/pets/core/lib/recharge.js +1 -1
- package/dist/pets/core/lib/reply-submission.d.ts +1 -1
- package/dist/pets/core/lib/reply-submission.js +1 -1
- package/dist/pets/core/lib/resource-sync.js +1 -1
- package/dist/pets/core/lib/runtime-types.d.ts +1 -1
- package/dist/pets/core/lib/settings.js +1 -1
- package/dist/pets/core/lib/sprite-config.d.ts +2 -2
- package/dist/pets/core/lib/sprite-config.js +1 -1
- package/dist/pets/core/lib/vibemon-resources.d.ts +1 -1
- package/dist/pets/core/lib/vibemon-resources.js +1 -1
- package/dist/pets/core/lib/view-request.js +1 -1
- package/dist/pets/core/lib/window-frame.d.ts +1 -1
- package/dist/pets/core/lib/window-frame.js +1 -1
- package/dist/pets/core/lib/window-manager.d.ts +1 -1
- package/dist/pets/core/lib/window-manager.js +1 -1
- package/dist/pets/core/session-icon.js +1 -5
- package/dist/pets/core/types.js +1 -1
- package/dist/pets/host.js +1 -1
- package/dist/pets/index.d.ts +6 -6
- package/dist/pets/index.js +1 -1
- package/dist/pets/react/assets.js +1 -1
- package/dist/pets/react/components/album-view.d.ts +1 -1
- package/dist/pets/react/components/album-view.js +1 -1
- package/dist/pets/react/components/back-to-home.js +1 -1
- package/dist/pets/react/components/equip-view.d.ts +1 -1
- package/dist/pets/react/components/equip-view.js +1 -1
- package/dist/pets/react/components/gem-balance.js +1 -1
- package/dist/pets/react/components/home-view.js +1 -1
- package/dist/pets/react/components/insufficient-points-dialog.js +1 -1
- package/dist/pets/react/components/intro-overlay.js +1 -1
- package/dist/pets/react/components/loading-view.js +1 -1
- package/dist/pets/react/components/onboarding-guide.js +1 -1
- package/dist/pets/react/components/pet-bubble-background.js +1 -1
- package/dist/pets/react/components/pet-lounge.css +1 -0
- package/dist/pets/react/components/pet-lounge.js +1 -1
- package/dist/pets/react/components/pet-mode-button.js +1 -1
- package/dist/pets/react/components/pet-window.js +1 -1
- package/dist/pets/react/components/pull-overlay.d.ts +1 -1
- package/dist/pets/react/components/pull-overlay.js +1 -1
- package/dist/pets/react/components/pull-video.js +1 -1
- package/dist/pets/react/components/pull-view.d.ts +1 -1
- package/dist/pets/react/components/pull-view.js +1 -1
- package/dist/pets/react/components/quick-reply.js +1 -2
- package/dist/pets/react/components/session-icon.d.ts +2 -2
- package/dist/pets/react/components/session-icon.js +1 -1
- package/dist/pets/react/components/single-pet-toast.js +1 -1
- package/dist/pets/react/components/sprite-renderer.d.ts +1 -1
- package/dist/pets/react/components/sprite-renderer.js +1 -1
- package/dist/pets/react/components/vibemon-empty-state.js +1 -1
- package/dist/pets/react/components/vibemon-header.js +1 -1
- package/dist/pets/react/components/vibemon-page.js +1 -1
- package/dist/pets/react/components/vibemon-scene.js +1 -1
- package/dist/pets/react/components/video-fader.js +1 -1
- package/dist/pets/react/components/wish-button.js +1 -1
- package/dist/pets/react/index.d.ts +5 -5
- package/dist/pets/react/index.js +1 -1
- package/dist/pets/react/lib/account-state.d.ts +1 -1
- package/dist/pets/react/lib/account-state.js +1 -1
- package/dist/pets/react/lib/card-image.js +1 -1
- package/dist/pets/react/lib/resource-sync.d.ts +2 -2
- package/dist/pets/react/lib/resource-sync.js +1 -1
- package/dist/pets/react/lib/season.js +1 -1
- package/dist/pets/react/lib/use-season.d.ts +1 -1
- package/dist/pets/react/lib/use-season.js +1 -1
- package/dist/pets/react/lib/utils.js +1 -1
- package/dist/pets/react/ui/button.d.ts +2 -2
- package/dist/pets/react/ui/button.js +1 -1
- package/dist/pets/react/ui/card.js +1 -1
- package/dist/pets/react/ui/input-group.d.ts +3 -3
- package/dist/pets/react/ui/input-group.js +1 -1
- package/dist/pets/react/ui/textarea.js +1 -1
- package/dist/pets/resource-package.d.ts +2 -2
- package/dist/pets/resource-package.js +1 -1
- package/dist/pets/resources.d.ts +5 -5
- package/dist/pets/resources.js +1 -1
- package/dist/pets/selection.d.ts +1 -1
- package/dist/pets/selection.js +1 -1
- package/dist/pets/sheet-layout.js +1 -1
- package/dist/pets/types.js +1 -0
- package/dist/state.d.ts +2 -2
- package/dist/state.js +1 -1
- package/dist/token-storage.d.ts +1 -1
- package/dist/token-storage.js +1 -1
- package/dist/types.js +1 -0
- package/package.json +12 -12
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`)){R(!0);return}let e=ce.current;if(e===null)return;let s=()=>{let x=Math.ceil(Number.parseFloat(getComputedStyle(e).minHeight));if(e.scrollHeight>x)R(!0)};s();let n=new ResizeObserver(s);return n.observe(e),()=>n.disconnect()},[y,O,z,c]);let je=j?Ye:"div";return v("div",{ref:de,"data-pet-bubble":!0,className:"relative pb-1.5",style:{paddingTop:se,paddingInline:se},onPointerEnter:()=>ie(!0),onPointerLeave:()=>ie(!1),children:[S!==null&&o($e,{cardRef:pe}),S!==null&&v("div",{ref:pe,"data-pet-bubble-card":!0,role:"presentation",onClick:(e)=>{if(d&&e.target.closest("button")===null)X()},style:{...en,position:"relative",background:"transparent",borderColor:"transparent",boxShadow:"none",animation:"none",maxHeight:(h??Ie)-6},className:ee("overflow-y-auto p-2",d?"grid cursor-pointer grid-cols-[minmax(0,1fr)_auto] items-center gap-x-3 gap-y-1 px-3":c?"flex flex-col gap-1 py-1.5":"flex flex-col gap-2"),children:[he&&o("p",{className:"line-clamp-2 text-sm break-words whitespace-pre-wrap",children:he}),F!==null&&o("p",{className:"line-clamp-2 text-sm break-words whitespace-pre-wrap",children:F.text}),L&&o("p",{role:"alert",className:"text-muted-foreground text-xs",children:L}),f!==null&&v("section",{"aria-label":r(f.kind==="permission"?"petMode.permission":"petMode.question"),className:"flex min-w-0 flex-col gap-2",children:[o("p",{className:"text-sm break-words whitespace-pre-wrap",children:f.title}),f.detail!==""&&o("pre",{className:"text-muted-foreground max-h-24 overflow-auto text-xs break-words whitespace-pre-wrap",children:f.detail}),f.options.length>0&&!Q?o("div",{className:"flex flex-wrap gap-1",children:f.options.map((e)=>o(te,{size:"xs",className:"h-auto min-h-6 max-w-full whitespace-normal",disabled:N||Me===f.token,onClick:()=>void B((s)=>Re(f,e.id,s)),children:e.label},e.id))}):o(te,{size:"xs",onClick:X,children:r("petMode.openToAnswer")})]}),v(je,{className:d?"col-start-1 row-start-2":void 0,children:[j&&o(Je,{ref:ce,rows:1,className:"field-sizing-fixed max-h-[calc(3lh+1rem)] min-h-[calc(1lh+1rem)] min-w-0 overflow-y-auto",style:{height:O?"calc(3lh + 1rem)":"calc(1lh + 1rem)"},value:y,placeholder:r("petMode.placeholder"),"aria-label":r("petMode.placeholder"),disabled:N||Q||!Te||M===null,onChange:(e)=>{T(),H(e.target.value)},onFocus:()=>{T(),Le().catch(K)},onCompositionStart:()=>{if(u.current!==null)cancelAnimationFrame(u.current);u.current=null,C.current=!1,A.current=!0},onCompositionEnd:()=>{if(A.current=!1,C.current=!0,u.current!==null)cancelAnimationFrame(u.current);u.current=requestAnimationFrame(()=>{C.current=!1,u.current=null})},onKeyDown:(e)=>{if(e.key!=="Enter"||e.shiftKey||A.current||e.nativeEvent.isComposing||C.current||e.nativeEvent.keyCode===229)return;if(e.preventDefault(),me)B(fe)}}),v(Ze,{align:"block-end",className:ee("shrink-0",(d||c)&&"gap-1 p-0"),children:[v("div",{className:ee("flex min-w-0 items-center gap-2",!d&&"flex-1"),children:[Z&&o("p",{role:"status",className:"text-muted-foreground text-xs",children:c&&!w?o("span",{className:"shimmer",children:Z}):Z}),j?v(P,{className:"min-w-0 flex-1 justify-start",title:r("petMode.chooseSession"),"aria-label":r("petMode.chooseSession"),"aria-haspopup":"menu",disabled:N||M===null,onClick:(e)=>{let s=e.currentTarget.getBoundingClientRect();ze({x:s.left,y:s.bottom}).catch(K)},children:[a&&o("span",{role:"img","aria-label":r(a.windowLabel==="main"?"navigation.mainWindow":"navigation.chatWindow"),"data-icon":"inline-start",className:"inline-flex shrink-0",children:o(ke,{name:a.windowLabel,icons:t.sessionIcons})}),o("span",{className:"min-w-0 flex-1 truncate text-start",title:a?[a.cwd,a.title||r("collection.defaultChatTitle")].filter(Boolean).join(" / "):"",children:a?tn(a,r("collection.defaultChatTitle")):""})]}):!c&&o(P,{size:"icon-xs",className:d?"size-5":void 0,title:r("petMode.continue"),"aria-label":r("petMode.continue"),disabled:N||w||m!==null&&!m.accepted,onClick:()=>{T(),k(null),D(!1)},children:o(Oe,{})})]}),j&&o(P,{size:"icon-xs",variant:"default",className:"size-5 shrink-0",title:r("petMode.send"),"aria-label":r("petMode.send"),disabled:!me,onClick:()=>void B(fe),children:o(Pe,{className:"size-3"})}),o(P,{size:"icon-xs",className:"size-5 shrink-0",title:xe,"aria-label":xe,disabled:M===null||!a,onClick:X,children:a&&t.sessionIcons?o(ke,{name:a.windowLabel,icons:t.sessionIcons}):o(He,{className:"size-4"})})]})]}),d&&o("span",{role:"img","aria-label":r("petMode.completed"),title:r("petMode.completed"),className:"col-start-2 row-span-2 row-start-1 inline-flex size-7 items-center justify-center rounded-full bg-[var(--vibemon-completed-background)] text-[var(--vibemon-completed-foreground)]",children:o(Ue,{className:"size-4"})})]}),V&&M!==null&&S!==null&&o(te,{variant:"outline",size:"icon-xs",className:"text-muted-foreground absolute top-1 left-1 cursor-pointer rounded-full",style:{width:oe,height:oe},title:r("close"),"aria-label":r("close"),onClick:()=>void t.windows.call("bubble-close").catch(t.onError),children:o(De,{className:"size-2.5"})})]})}export{hn as PetQuickReply};
|
|
1
|
+
import{Ft}from"../../../chunk-vnnyvrrd.js";import"../../../chunk-sp65sdp3.js";import"../../../chunk-jf6z5rh7.js";import"../../../chunk-npcgz51c.js";import"../../../chunk-mnrtrr2j.js";import"../../../chunk-vz0m347h.js";import"../../../chunk-5jz8vnk5.js";import"../../../chunk-pha0eyam.js";import"../../../chunk-1hxexf7n.js";import"../../../chunk-yjdj2mf9.js";import"../../../chunk-w1z1g5c5.js";import"../../../chunk-38y9615y.js";import"../../../chunk-khnyadsg.js";import"../../../chunk-pbwt3qj9.js";import"../../../chunk-htw56xtp.js";import"../../../chunk-xs0abxzp.js";import"../../../chunk-afy09ajr.js";import"../../../chunk-21abksd2.js";import"../../../chunk-mmj02855.js";import"../../../chunk-9tramdds.js";import"../../../chunk-rerywpwe.js";import"../../../chunk-4gegjx79.js";export{Ft as PetQuickReply};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SessionIcons } from "../../core/session-icon
|
|
2
|
-
export { sessionIconSvg, type SessionIcons } from "../../core/session-icon
|
|
1
|
+
import { type SessionIcons } from "../../core/session-icon";
|
|
2
|
+
export { sessionIconSvg, type SessionIcons } from "../../core/session-icon";
|
|
3
3
|
export declare function SessionIcon({ name, icons }: {
|
|
4
4
|
name: "main" | "chat";
|
|
5
5
|
icons?: SessionIcons;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{le}from"../../../chunk-vz0m347h.js";import{S}from"../../../chunk-1hxexf7n.js";export{le as SessionIcon,S as sessionIconSvg};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Xt,Kt,He}from"../../../chunk-vr4ye1z4.js";import"../../../chunk-5jz8vnk5.js";import"../../../chunk-2k8my1h9.js";export{Kt as SINGLE_PET_TOAST_DURATION_MS,Xt as SINGLE_PET_TOAST_MESSAGE,He as SinglePetToast};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{R}from"../../../chunk-j3ez3fz2.js";export{R as SpriteRenderer};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{B}from"../../../chunk-0x7ssxpn.js";import"../../../chunk-5jz8vnk5.js";import"../../../chunk-2k8my1h9.js";export{B as VibemonEmptyState};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{N}from"../../../chunk-zhbj6cm5.js";import"../../../chunk-p1ywvmqa.js";import"../../../chunk-mandqn4e.js";import"../../../chunk-37ctfsy1.js";import"../../../chunk-0gf7vwzk.js";import"../../../chunk-xrw9s1th.js";import"../../../chunk-5jz8vnk5.js";import"../../../chunk-2k8my1h9.js";import"../../../chunk-14dfwbk0.js";import"../../../chunk-htw56xtp.js";export{N as VibemonHeader};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Gt}from"../../../chunk-5v4zm9s3.js";import"../../../chunk-2aq8zkwb.js";import"../../../chunk-hj17ea3j.js";import"../../../chunk-wcenmfkf.js";import"../../../chunk-m18rjmg2.js";import"../../../chunk-0ze5xzg5.js";import"../../../chunk-8kcmwm3k.js";import"../../../chunk-my19acdk.js";import"../../../chunk-fkj53yw2.js";import"../../../chunk-mnrtrr2j.js";import"../../../chunk-vr4ye1z4.js";import"../../../chunk-q8ebj5e6.js";import"../../../chunk-8xd6kn1b.js";import"../../../chunk-z5nmdjb9.js";import"../../../chunk-wbvah1ty.js";import"../../../chunk-2skzpxsk.js";import"../../../chunk-zhbj6cm5.js";import"../../../chunk-p1ywvmqa.js";import"../../../chunk-mandqn4e.js";import"../../../chunk-37ctfsy1.js";import"../../../chunk-0gf7vwzk.js";import"../../../chunk-xrw9s1th.js";import"../../../chunk-0x7ssxpn.js";import"../../../chunk-w5yer870.js";import"../../../chunk-5jz8vnk5.js";import"../../../chunk-2k8my1h9.js";import"../../../chunk-70nb6x0r.js";import"../../../chunk-j03we9jz.js";import"../../../chunk-b5zfgr86.js";import"../../../chunk-yjdj2mf9.js";import"../../../chunk-1mq984ah.js";import"../../../chunk-9wqfns8y.js";import"../../../chunk-2x5tzfgv.js";import"../../../chunk-g47n16v3.js";import"../../../chunk-4h2756zy.js";import"../../../chunk-w1z1g5c5.js";import"../../../chunk-14dfwbk0.js";import"../../../chunk-khnyadsg.js";import"../../../chunk-pbwt3qj9.js";import"../../../chunk-44at74bw.js";import"../../../chunk-htw56xtp.js";import"../../../chunk-9h4j75af.js";import"../../../chunk-v9czb1e6.js";import"../../../chunk-xs0abxzp.js";import"../../../chunk-afy09ajr.js";import"../../../chunk-21abksd2.js";import"../../../chunk-mmj02855.js";import"../../../chunk-9tramdds.js";import"../../../chunk-rerywpwe.js";import"../../../chunk-4gegjx79.js";export{Gt as VibemonPage};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{p}from"../../../chunk-w5yer870.js";export{p as VibemonScene};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{T}from"../../../chunk-q8ebj5e6.js";export{T as VideoFader};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{je}from"../../../chunk-p1ywvmqa.js";import"../../../chunk-xrw9s1th.js";import"../../../chunk-5jz8vnk5.js";import"../../../chunk-2k8my1h9.js";export{je as WishButton};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { VibemonPage as PetCenter } from "./components/vibemon-page
|
|
2
|
-
export { PetWindow } from "./components/pet-window
|
|
3
|
-
export { PetQuickReply } from "./components/quick-reply
|
|
4
|
-
export { PetModeButton } from "./components/pet-mode-button
|
|
5
|
-
export { PetLounge } from "./components/pet-lounge
|
|
1
|
+
export { VibemonPage as PetCenter } from "./components/vibemon-page";
|
|
2
|
+
export { PetWindow } from "./components/pet-window";
|
|
3
|
+
export { PetQuickReply } from "./components/quick-reply";
|
|
4
|
+
export { PetModeButton } from "./components/pet-mode-button";
|
|
5
|
+
export { PetLounge } from "./components/pet-lounge";
|
package/dist/pets/react/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import"../../chunk-htw56xtp.js";import"../../chunk-g47n16v3.js";import"../../chunk-9wqfns8y.js";import"../../chunk-1mq984ah.js";import"../../chunk-9h4j75af.js";import"../../chunk-w1z1g5c5.js";import"../../chunk-70nb6x0r.js";import"../../chunk-2k8my1h9.js";import"../../chunk-pbwt3qj9.js";import"../../chunk-rerywpwe.js";import"../../chunk-afy09ajr.js";import"../../chunk-9tramdds.js";import"../../chunk-4gegjx79.js";import"../../chunk-mmj02855.js";import"../../chunk-21abksd2.js";import"../../chunk-xs0abxzp.js";import"../../chunk-khnyadsg.js";import"../../chunk-yjdj2mf9.js";import"../../chunk-mnrtrr2j.js";import"../../chunk-2skzpxsk.js";import"../../chunk-4h2756zy.js";import"../../chunk-fkj53yw2.js";import"../../chunk-2x5tzfgv.js";import"../../chunk-xrw9s1th.js";import"../../chunk-5jz8vnk5.js";import"../../chunk-0x7ssxpn.js";import"../../chunk-14dfwbk0.js";import"../../chunk-0gf7vwzk.js";import"../../chunk-37ctfsy1.js";import"../../chunk-mandqn4e.js";import"../../chunk-p1ywvmqa.js";import"../../chunk-zhbj6cm5.js";import"../../chunk-w5yer870.js";import"../../chunk-wbvah1ty.js";import"../../chunk-v9czb1e6.js";import"../../chunk-44at74bw.js";import"../../chunk-j03we9jz.js";import"../../chunk-vr4ye1z4.js";import"../../chunk-my19acdk.js";import"../../chunk-m18rjmg2.js";import"../../chunk-2aq8zkwb.js";import"../../chunk-q8ebj5e6.js";import"../../chunk-hj17ea3j.js";import"../../chunk-b5zfgr86.js";import"../../chunk-8xd6kn1b.js";import"../../chunk-8kcmwm3k.js";import"../../chunk-0ze5xzg5.js";import"../../chunk-z5nmdjb9.js";import"../../chunk-wcenmfkf.js";import{Gt}from"../../chunk-5v4zm9s3.js";import"../../chunk-hk9j0kvg.js";import"../../chunk-jjb1befc.js";import"../../chunk-mdqxdcxh.js";import"../../chunk-3vpcfe38.js";import"../../chunk-9zhxpvxw.js";import"../../chunk-96emfz6b.js";import"../../chunk-kwq26qhs.js";import"../../chunk-nbzm95mz.js";import"../../chunk-j3ez3fz2.js";import{Ht}from"../../chunk-ms8jh9xz.js";import"../../chunk-pha0eyam.js";import"../../chunk-jf6z5rh7.js";import"../../chunk-sp65sdp3.js";import"../../chunk-38y9615y.js";import"../../chunk-npcgz51c.js";import"../../chunk-1hxexf7n.js";import"../../chunk-vz0m347h.js";import{Ft}from"../../chunk-vnnyvrrd.js";import{$t}from"../../chunk-4xk0z8t0.js";import"../../chunk-7xtvv8a7.js";import"../../chunk-5w675j2g.js";import{Ot}from"../../chunk-bgc7s9q5.js";export{Gt as PetCenter,Ot as PetLounge,$t as PetModeButton,Ft as PetQuickReply,Ht as PetWindow};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "../../core/lib/account-state
|
|
1
|
+
export * from "../../core/lib/account-state";
|
|
2
2
|
export declare const useVibemonState: () => import("../../core/lib/settings").PetAccountState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{d}from"../../../chunk-mnrtrr2j.js";import{a,Q,X,h,de}from"../../../chunk-yjdj2mf9.js";import"../../../chunk-w1z1g5c5.js";import"../../../chunk-khnyadsg.js";import"../../../chunk-pbwt3qj9.js";import"../../../chunk-htw56xtp.js";import"../../../chunk-xs0abxzp.js";import"../../../chunk-afy09ajr.js";import"../../../chunk-21abksd2.js";import"../../../chunk-mmj02855.js";import"../../../chunk-9tramdds.js";import"../../../chunk-rerywpwe.js";import"../../../chunk-4gegjx79.js";export{Q as currentState,de as equipVibemonAfterDraw,a as getVibemonScopeSync,X as getVibemonState,h as updateVibemonState,d as useVibemonState};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{i}from"../../../chunk-2skzpxsk.js";import"../../../chunk-2k8my1h9.js";export{i as cardThumb};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type ResourceSyncStatus } from "../../core/lib/resource-sync
|
|
1
|
+
import { type ResourceSyncStatus } from "../../core/lib/resource-sync";
|
|
2
2
|
export declare const useVibemonSyncStore: <T>(selector: (state: {
|
|
3
3
|
status: ResourceSyncStatus;
|
|
4
4
|
}) => T) => T;
|
|
5
|
-
export { syncVibemonResources } from "../../core/lib/resource-sync
|
|
5
|
+
export { syncVibemonResources } from "../../core/lib/resource-sync";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Me}from"../../../chunk-fkj53yw2.js";import{te}from"../../../chunk-4h2756zy.js";import"../../../chunk-khnyadsg.js";import"../../../chunk-pbwt3qj9.js";import"../../../chunk-htw56xtp.js";import"../../../chunk-xs0abxzp.js";import"../../../chunk-afy09ajr.js";import"../../../chunk-21abksd2.js";import"../../../chunk-mmj02855.js";import"../../../chunk-9tramdds.js";import"../../../chunk-rerywpwe.js";import"../../../chunk-4gegjx79.js";export{te as syncVibemonResources,Me as useVibemonSyncStore};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ee}from"../../../chunk-7xtvv8a7.js";export{Ee as currentSeason};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type Season } from "./season
|
|
1
|
+
import { type Season } from "./season";
|
|
2
2
|
export declare function useSeason(): Season;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ie}from"../../../chunk-5w675j2g.js";import"../../../chunk-7xtvv8a7.js";export{Ie as useSeason};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{o}from"../../../chunk-xrw9s1th.js";export{o as cn};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Button as ButtonPrimitive } from "@base-ui/react/button";
|
|
2
2
|
import { type VariantProps } from "class-variance-authority";
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
5
|
-
size?: "
|
|
4
|
+
variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
|
|
5
|
+
size?: "default" | "icon" | "icon-lg" | "icon-sm" | "icon-xs" | "lg" | "sm" | "xs" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
7
|
declare function Button({ className, variant, size, ...props }: ButtonPrimitive.Props & VariantProps<typeof buttonVariants>): import("react").JSX.Element;
|
|
8
8
|
export { Button, buttonVariants };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Jt,t}from"../../../chunk-5jz8vnk5.js";export{t as Button,Jt as buttonVariants};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{We,hn,bn,wn,vn,yn,xn}from"../../../chunk-37ctfsy1.js";export{We as Card,vn as CardAction,yn as CardContent,wn as CardDescription,xn as CardFooter,hn as CardHeader,bn as CardTitle};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { Button } from "./button
|
|
3
|
+
import { Button } from "./button";
|
|
4
4
|
declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
5
5
|
declare const inputGroupAddonVariants: (props?: ({
|
|
6
|
-
align?: "
|
|
6
|
+
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React.JSX.Element;
|
|
9
9
|
declare const inputGroupButtonVariants: (props?: ({
|
|
10
|
-
size?: "
|
|
10
|
+
size?: "icon-sm" | "icon-xs" | "sm" | "xs" | null | undefined;
|
|
11
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
12
|
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size" | "type"> & VariantProps<typeof inputGroupButtonVariants> & {
|
|
13
13
|
type?: "button" | "submit" | "reset";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{qe,De,V,Le}from"../../../chunk-sp65sdp3.js";import"../../../chunk-jf6z5rh7.js";import"../../../chunk-5jz8vnk5.js";export{qe as InputGroup,De as InputGroupAddon,V as InputGroupButton,Le as InputGroupTextarea};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ze}from"../../../chunk-jf6z5rh7.js";export{ze as Textarea};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PetAssetsHost } from "./host
|
|
2
|
-
import { type SheetLayout } from "./sheet-layout
|
|
1
|
+
import type { PetAssetsHost } from "./host";
|
|
2
|
+
import { type SheetLayout } from "./sheet-layout";
|
|
3
3
|
export declare const IMAGE_ASSETS: readonly ["cover", "gacha", "multi_draw", "icon", "background", "pool_card", "sidebar_selected", "sidebar_hover", "sidebar_unselected"];
|
|
4
4
|
export type ImageAsset = (typeof IMAGE_ASSETS)[number];
|
|
5
5
|
export interface PackageAsset {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y,_e,ie,se,Pe,E,Se,zt}from"../chunk-mmj02855.js";import"../chunk-4gegjx79.js";export{y as IMAGE_ASSETS,_e as PACKAGE_LIMIT,E as imageInfo,Pe as parseManifest,ie as resourcePath,se as sha256,zt as unpackResourcePackage,Se as validatePackageFiles};
|
package/dist/pets/resources.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type PetAssetsHost } from "./host
|
|
2
|
-
import { type ImageAsset, type PackageManifest } from "./resource-package
|
|
3
|
-
import { type SheetLayout } from "./sheet-layout
|
|
4
|
-
import type { VibemonResourceDescriptor } from "./types
|
|
5
|
-
export { parseSheetLayout, type SheetLayout } from "./sheet-layout
|
|
1
|
+
import { type PetAssetsHost } from "./host";
|
|
2
|
+
import { type ImageAsset, type PackageManifest } from "./resource-package";
|
|
3
|
+
import { type SheetLayout } from "./sheet-layout";
|
|
4
|
+
import type { VibemonResourceDescriptor } from "./types";
|
|
5
|
+
export { parseSheetLayout, type SheetLayout } from "./sheet-layout";
|
|
6
6
|
export interface CachedPetMetadata {
|
|
7
7
|
directory: string;
|
|
8
8
|
sheetName: string | null;
|
package/dist/pets/resources.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{re,xe}from"../chunk-21abksd2.js";import"../chunk-mmj02855.js";import"../chunk-rerywpwe.js";import{m}from"../chunk-4gegjx79.js";export{xe as createPetResources,re as matchesResource,m as parseSheetLayout};
|
package/dist/pets/selection.d.ts
CHANGED
package/dist/pets/selection.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ae}from"../chunk-9tramdds.js";import"../chunk-rerywpwe.js";export{Ae as createPetSelection};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{m}from"../chunk-4gegjx79.js";export{m as parseSheetLayout};
|
package/dist/pets/types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunk-pbwt3qj9.js";
|
package/dist/state.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { createTokenStorage } from "./token-storage
|
|
2
|
-
import type { AuthUser, LoginResponse } from "./types
|
|
1
|
+
import type { createTokenStorage } from "./token-storage";
|
|
2
|
+
import type { AuthUser, LoginResponse } from "./types";
|
|
3
3
|
export interface AuthState {
|
|
4
4
|
user: AuthUser | null;
|
|
5
5
|
isAuthenticated: boolean;
|
package/dist/state.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{nn}from"./chunk-d13j3xks.js";export{nn as createAuthState};
|
package/dist/token-storage.d.ts
CHANGED
package/dist/token-storage.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{pn,fn}from"./chunk-m96z2xh6.js";export{pn as authStoreName,fn as createTokenStorage};
|
package/dist/types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-8w0zccsf.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwith/module-auth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
"import": "./dist/pets/react/locales.js",
|
|
60
60
|
"default": "./dist/pets/react/locales.js"
|
|
61
61
|
},
|
|
62
|
-
"./pets/styles.css": "./dist/pets/react/styles.css"
|
|
62
|
+
"./pets/styles.css": "./dist/pets/react/styles.css",
|
|
63
|
+
"./assets/*": "./assets/*"
|
|
63
64
|
},
|
|
64
65
|
"files": [
|
|
65
66
|
"dist",
|
|
@@ -71,13 +72,12 @@
|
|
|
71
72
|
],
|
|
72
73
|
"devDependencies": {
|
|
73
74
|
"typescript": "^7.0.2",
|
|
74
|
-
"@types/bun": "^1.4.
|
|
75
|
+
"@types/bun": "^1.4.4",
|
|
75
76
|
"@types/react": "^19.3.0",
|
|
76
77
|
"@types/react-dom": "^19.3.0"
|
|
77
78
|
},
|
|
78
79
|
"scripts": {
|
|
79
80
|
"test": "bun test src",
|
|
80
|
-
"typecheck": "tsc --noEmit",
|
|
81
81
|
"build": "bun ../../../scripts/build-npm.ts",
|
|
82
82
|
"prepack": "bun run build"
|
|
83
83
|
},
|
|
@@ -92,21 +92,21 @@
|
|
|
92
92
|
"directory": "crates/auth/guest-js"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@base-ui/react": "^1.
|
|
95
|
+
"@base-ui/react": "^1.9.0",
|
|
96
96
|
"class-variance-authority": "^0.7.1",
|
|
97
97
|
"cn": "^0.5.0",
|
|
98
98
|
"fflate": "0.8.3",
|
|
99
|
-
"i18next": "^26.
|
|
100
|
-
"lucide-react": "^1.
|
|
101
|
-
"motion": "^
|
|
102
|
-
"react-i18next": "^17.
|
|
99
|
+
"i18next": "^26.5.10",
|
|
100
|
+
"lucide-react": "^1.61.0",
|
|
101
|
+
"motion": "^14.6.0",
|
|
102
|
+
"react-i18next": "^17.1.8",
|
|
103
103
|
"sonner": "^2.0.8",
|
|
104
104
|
"tyme4ts": "^1.5.3",
|
|
105
|
-
"zustand": "^5.0.
|
|
105
|
+
"zustand": "^5.0.16"
|
|
106
106
|
},
|
|
107
107
|
"peerDependencies": {
|
|
108
|
-
"react": "^19.3.
|
|
109
|
-
"react-dom": "^19.3.
|
|
108
|
+
"react": "^19.3.1",
|
|
109
|
+
"react-dom": "^19.3.1"
|
|
110
110
|
},
|
|
111
111
|
"peerDependenciesMeta": {
|
|
112
112
|
"react": {
|