@aidotnet/server-linux-arm64 0.9.0 → 0.9.1

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 (49) hide show
  1. package/bin/astra-server +2 -2
  2. package/bin/wwwroot/assets/ClientsPage-Cwjn83RD.js +11 -0
  3. package/bin/wwwroot/assets/KeyPage-IsBY88jG.js +1 -0
  4. package/bin/wwwroot/assets/ModelDetailPage-BT8_QmLF.js +1 -0
  5. package/bin/wwwroot/assets/ModelsPage-a3SNBXwe.js +1 -0
  6. package/bin/wwwroot/assets/PluginsPage-CXRMCp_F.js +2 -0
  7. package/bin/wwwroot/assets/PrivacyPage-BfdLDJ63.js +1 -0
  8. package/bin/wwwroot/assets/ProviderDetailPage-C9eabWwn.js +3 -0
  9. package/bin/wwwroot/assets/ProvidersPage-CPw-h0Uz.js +2 -0
  10. package/bin/wwwroot/assets/SettingsPage-CTnL166S.js +2 -0
  11. package/bin/wwwroot/assets/TokensPage-TPaxzBMY.js +1 -0
  12. package/bin/wwwroot/assets/TrayPanelPage-BGDBeJs0.js +1 -0
  13. package/bin/wwwroot/assets/{TrayPanelView-CQQDnzsO.js → TrayPanelView-DP-m1Cui.js} +1 -1
  14. package/bin/wwwroot/assets/alert-C-zJo-Vf.js +15 -0
  15. package/bin/wwwroot/assets/{arrow-down-DLYI19GC.js → arrow-down-DTsCyVhl.js} +1 -1
  16. package/bin/wwwroot/assets/{arrow-left-BEIa7s0v.js → arrow-left-BlStTg-u.js} +1 -1
  17. package/bin/wwwroot/assets/{checkbox-DJG4To3W.js → checkbox-B8UTLROZ.js} +1 -1
  18. package/bin/wwwroot/assets/{cloud-download-Dx8D0gGR.js → cloud-download-DoCH2MAL.js} +1 -1
  19. package/bin/wwwroot/assets/confirm-morph-BZdvZ-wI.js +1 -0
  20. package/bin/wwwroot/assets/{download-CKu95INa.js → download-zacBMjpe.js} +1 -1
  21. package/bin/wwwroot/assets/{ellipsis-D-uqKDgA.js → ellipsis-Dwk6_QlF.js} +1 -1
  22. package/bin/wwwroot/assets/{external-link-tQTMyil6.js → external-link-D-L32_ye.js} +1 -1
  23. package/bin/wwwroot/assets/{folder-open-CL6HwOra.js → folder-open-ex39110T.js} +1 -1
  24. package/bin/wwwroot/assets/index-CNdW2eN9.js +17 -0
  25. package/bin/wwwroot/assets/{index-nu-lKbLD.css → index-DSv7xAxU.css} +1 -1
  26. package/bin/wwwroot/assets/{log-out-CZYk_IyX.js → log-out-CZSB5kqp.js} +1 -1
  27. package/bin/wwwroot/assets/overlays-BBHZHl4R.js +41 -0
  28. package/bin/wwwroot/assets/{pencil-CUO0GAyP.js → pencil-C7HWLb95.js} +1 -1
  29. package/bin/wwwroot/assets/{power-USlcjghz.js → power-BggG52OJ.js} +1 -1
  30. package/bin/wwwroot/assets/radio-cards-BWCaBwfU.js +1 -0
  31. package/bin/wwwroot/assets/{rotate-ccw-Daii8PQN.js → rotate-ccw-Xx5_g9bd.js} +1 -1
  32. package/bin/wwwroot/index.html +4 -4
  33. package/package.json +1 -1
  34. package/bin/wwwroot/assets/ClientsPage-CT5PiqS3.js +0 -11
  35. package/bin/wwwroot/assets/KeyPage-DOVrI-UN.js +0 -1
  36. package/bin/wwwroot/assets/ModelDetailPage-Yu2oJf3R.js +0 -1
  37. package/bin/wwwroot/assets/ModelsPage-QefK7LU5.js +0 -1
  38. package/bin/wwwroot/assets/PluginsPage-Dl53KvHU.js +0 -2
  39. package/bin/wwwroot/assets/PrivacyPage-DmSrQ2Mk.js +0 -1
  40. package/bin/wwwroot/assets/ProviderDetailPage-BfK0We2G.js +0 -3
  41. package/bin/wwwroot/assets/ProvidersPage-dKrtvirQ.js +0 -2
  42. package/bin/wwwroot/assets/SettingsPage-4R3aVJB1.js +0 -2
  43. package/bin/wwwroot/assets/TokensPage-C1s3mguI.js +0 -1
  44. package/bin/wwwroot/assets/TrayPanelPage-INGZ1PbI.js +0 -1
  45. package/bin/wwwroot/assets/alert-D4IPjxz3.js +0 -15
  46. package/bin/wwwroot/assets/confirm-morph-BpM-aHP9.js +0 -1
  47. package/bin/wwwroot/assets/index-CdtIrMPt.js +0 -17
  48. package/bin/wwwroot/assets/overlays-BX48Gd4h.js +0 -41
  49. package/bin/wwwroot/assets/radio-cards-CGtNS_WO.js +0 -1
@@ -1 +0,0 @@
1
- import{E as e,_i as t,bi as n,ca as r,da as i,gi as a,hi as o,mi as s,mt as c,sa as l,yi as ee}from"./alert-D4IPjxz3.js";import{N as te}from"./index-CdtIrMPt.js";var u=i(r(),1),d={root:`_root_8729c_1`,surface:`_surface_8729c_16`,trigger:`_trigger_8729c_39`,face:`_face_8729c_41`,icon:`_icon_8729c_64`,prompt:`_prompt_8729c_68`,secondary:`_secondary_8729c_70`,primary:`_primary_8729c_71`,status:`_status_8729c_90`,statusText:`_statusText_8729c_95`,check:`_check_8729c_97`,checkDisc:`_checkDisc_8729c_98`,checkTick:`_checkTick_8729c_99`,spinner:`_spinner_8729c_100`,spin:`_spin_8729c_100`,srOnly:`_srOnly_8729c_103`},f=l(),p=12,{blur:m}=e,h=[...e.ease.enter],g=[...e.ease.standard],_=(e,t)=>{let n=2*Math.PI/(e*1.2);return{type:`spring`,stiffness:n*n,damping:2*(1-t)*n,mass:1}},ne=_(.44,.18),re=_(.34,0),v=_(.36,.06),y=()=>()=>{};function b(){let e=(0,u.useSyncExternalStore)(y,()=>!0,()=>!1);return!!a()&&e}var x={hidden:e=>({opacity:0,x:e*p,filter:`blur(${m.soft}px)`}),shown:{opacity:1,x:0,filter:`blur(0px)`,transition:{x:v,opacity:{duration:.2,ease:h,delay:.04},filter:{duration:.22,ease:h,delay:.04}}},gone:e=>({opacity:0,x:e*-12*.6,filter:`blur(${m.soft}px)`,transition:{x:v,opacity:{duration:.12,ease:g},filter:{duration:.12,ease:g}}})},S={hidden:{opacity:0},shown:{opacity:1,transition:{duration:.14}},gone:{opacity:0,transition:{duration:.1}}};function ie({id:e,direction:t,reduced:r,onSize:i,children:a,labelledBy:o}){let c=(0,u.useRef)(null),l=n();return(0,u.useLayoutEffect)(()=>{let t=c.current;if(!t||!l)return;let n=()=>{let n=t.style.flex;t.style.flex=`none`;let r=t.offsetWidth;t.style.flex=n,i(e,r)};if(n(),typeof ResizeObserver>`u`)return;let r=new ResizeObserver(n);return r.observe(t),()=>r.disconnect()},[e,i,l]),(0,f.jsx)(s.div,{ref:c,className:d.face,"data-face":e,custom:t,role:o?`group`:void 0,"aria-labelledby":o,variants:r?S:x,initial:`hidden`,animate:`shown`,exit:`gone`,inert:!l||void 0,children:a})}function ae({reduced:e}){return(0,f.jsxs)(`svg`,{className:d.check,viewBox:`0 0 18 18`,fill:`none`,"aria-hidden":`true`,children:[(0,f.jsx)(s.circle,{className:d.checkDisc,cx:`9`,cy:`9`,r:`8`,style:{transformOrigin:`9px 9px`},initial:!e&&{scale:.4,opacity:0},animate:{scale:1,opacity:1},transition:{scale:_(.34,.3),opacity:{duration:.12}}}),(0,f.jsx)(s.path,{className:d.checkTick,d:`M5.6 9.3 7.8 11.4 12.4 6.7`,strokeWidth:`1.9`,strokeLinecap:`round`,strokeLinejoin:`round`,initial:!e&&{pathLength:0},animate:{pathLength:1},transition:{duration:.28,ease:h,delay:.12}})]})}function C({label:e,icon:n,prompt:r,confirmLabel:i=`Delete`,cancelLabel:a=`Cancel`,pendingLabel:l=`Deleting`,doneLabel:p=`Deleted`,errorLabel:m=`Couldn’t finish`,retryLabel:h=`Retry`,undoLabel:g=`Undo`,undoingLabel:_=`Restoring`,tone:v=`danger`,onConfirm:y,onUndo:x,onCancel:S,state:C,defaultState:w=`idle`,onStateChange:T,confirmTimeout:oe=6e3,resultTimeout:se=5e3,cancelOnOutsidePress:E=!0,disabled:D=!1,className:ce,ref:le}){let O=b(),k=`${(0,u.useId)()}-prompt`,A=(0,u.useRef)(null);(0,u.useImperativeHandle)(le,()=>A.current,[]);let[ue,de]=(0,u.useState)(w),j=C??ue,[M,N]=(0,u.useState)(1),[P,F]=(0,u.useState)(`confirm`),[fe,I]=(0,u.useState)(``),L=(0,u.useRef)({state:j,onStateChange:T,controlled:C!==void 0});(0,u.useLayoutEffect)(()=>{L.current={state:j,onStateChange:T,controlled:C!==void 0}});let R=(0,u.useRef)(!1),z=(0,u.useRef)(0),B=(0,u.useCallback)(e=>{if(e===L.current.state)return;let t=A.current;R.current=!!t&&(t.contains(document.activeElement)||document.activeElement===document.body),N(e===`idle`?-1:1),L.current.controlled||de(e),L.current.state=e,L.current.onStateChange?.(e)},[]),V=(0,u.useCallback)(()=>{z.current++,B(`idle`)},[B]),H=(0,u.useCallback)(async e=>{let t=e===`confirm`?y:x,n=++z.current;F(e);let r;try{r=t?.()}catch{B(`error`),I(m);return}if(r&&typeof r.then==`function`){B(`pending`),I(e===`confirm`?l:_);try{await r}catch{if(n!==z.current)return;B(`error`),I(m);return}if(n!==z.current)return}if(e===`undo`){B(`idle`),I(`Undone`);return}B(`done`),I(x?`${p}. ${g} is available.`:p)},[p,m,B,y,x,l,g,_]),U=(0,u.useCallback)(()=>{S?.(),V(),I(`Cancelled`)},[S,V]),W=(0,u.useRef)(()=>{});(0,u.useLayoutEffect)(()=>{W.current=()=>{L.current.state===`confirming`?U():V()}});let G=t(`auto`),K=(0,u.useRef)(0),q=(0,u.useRef)(0),pe=(0,u.useCallback)((e,t)=>{if(e!==L.current.state||Math.abs(t-K.current)<.5)return;let n=K.current;if(K.current=t,!n||O){G.jump(`auto`);return}G.get()===`auto`&&G.jump(n);let r=++q.current;o(G,t,t>n?ne:re).then(()=>{r===q.current&&G.jump(`auto`)})},[O,G]),J=t(1),Y=(0,u.useRef)(null),X=(0,u.useRef)({hover:!1,hidden:!1}),Z=j===`confirming`?oe:j===`done`||j===`error`?se:0,Q=(0,u.useCallback)(()=>{let e=Y.current;e&&(X.current.hover||X.current.hidden?e.pause():e.play())},[]);(0,u.useEffect)(()=>{if(!Z)return;J.jump(1);let e=o(J,0,{duration:Z/1e3,ease:`linear`});return Y.current=e,e.then(()=>{Y.current===e&&(Y.current=null,W.current())}),Q(),()=>{Y.current===e&&(Y.current=null),e.stop()}},[J,j,Q,Z]),(0,u.useEffect)(()=>{let e=()=>{X.current.hidden=document.hidden,Q()};return document.addEventListener(`visibilitychange`,e),()=>document.removeEventListener(`visibilitychange`,e)},[Q]),(0,u.useEffect)(()=>{if(j!==`confirming`||!E)return;let e=e=>{A.current?.contains(e.target)||U()};return document.addEventListener(`pointerdown`,e),()=>document.removeEventListener(`pointerdown`,e)},[U,E,j]),(0,u.useLayoutEffect)(()=>{if(!R.current)return;R.current=!1;let e=A.current;e&&(e.querySelector(`[data-face="${j}"]`)?.querySelector(`[data-autofocus]:not(:disabled)`)??e).focus({preventScroll:!0})},[j]);let me=e=>{e.key===`Escape`&&(j===`confirming`?(e.preventDefault(),e.stopPropagation(),U()):(j===`done`||j===`error`)&&(e.preventDefault(),e.stopPropagation(),V()))},$=r??(0,f.jsxs)(f.Fragment,{children:[e,`?`]}),he=(()=>{switch(j){case`confirming`:return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`span`,{id:k,className:d.prompt,children:$}),(0,f.jsx)(`button`,{type:`button`,className:d.secondary,"data-autofocus":!0,onClick:U,children:a}),(0,f.jsx)(`button`,{type:`button`,className:d.primary,onClick:()=>void H(`confirm`),children:i})]});case`pending`:return(0,f.jsxs)(`span`,{className:d.status,children:[(0,f.jsx)(te,{className:d.spinner,size:16,strokeWidth:1.75,"aria-hidden":`true`}),(0,f.jsx)(`span`,{children:P===`undo`?_:l})]});case`done`:return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(`span`,{className:d.status,"data-tone":`success`,children:[(0,f.jsx)(ae,{reduced:O}),(0,f.jsx)(`span`,{className:d.statusText,children:p})]}),x&&(0,f.jsx)(`button`,{type:`button`,className:d.secondary,"data-autofocus":!0,onClick:()=>void H(`undo`),children:g})]});case`error`:return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(`span`,{className:d.status,"data-tone":`danger`,children:[(0,f.jsx)(c,{size:16,strokeWidth:1.75,"aria-hidden":`true`}),(0,f.jsx)(`span`,{className:d.statusText,children:m})]}),(0,f.jsx)(`button`,{type:`button`,className:d.secondary,"data-autofocus":!0,onClick:()=>void H(P),children:h})]});default:return(0,f.jsxs)(`button`,{type:`button`,className:d.trigger,"data-autofocus":!0,disabled:D,onClick:()=>{I(typeof $==`string`?$:``),B(`confirming`)},children:[n&&(0,f.jsx)(`span`,{className:d.icon,"aria-hidden":`true`,children:n}),(0,f.jsx)(`span`,{children:e})]})}})();return(0,f.jsxs)(`div`,{ref:A,className:[d.root,ce].filter(Boolean).join(` `),"data-state":j,"data-tone":v,"data-disabled":D||void 0,tabIndex:-1,onKeyDown:me,"aria-busy":j===`pending`||void 0,onPointerEnter:()=>{X.current.hover=!0,Q()},onPointerLeave:()=>{X.current.hover=!1,Q()},onPointerCancel:()=>{X.current.hover=!1,Q()},children:[(0,f.jsx)(s.div,{className:d.surface,style:{width:G},children:(0,f.jsx)(ee,{initial:!1,custom:M,children:(0,f.jsx)(ie,{id:j,direction:M,reduced:O,onSize:pe,labelledBy:j===`confirming`?k:void 0,children:he},j)})}),(0,f.jsx)(`span`,{className:d.srOnly,role:`status`,"aria-live":`polite`,children:fe})]})}export{C as t};