@ganglion/xacpx-relay 0.4.0 → 0.5.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.
- package/dist/relay-web/apple-touch-icon-180x180.png +0 -0
- package/dist/relay-web/assets/{BrandLogo.vue_vue_type_script_setup_true_lang-XzbW2yS0.js → BrandLogo.vue_vue_type_script_setup_true_lang-BWvSYb7-.js} +1 -1
- package/dist/relay-web/assets/{DashboardView-DRJKYEs5.js → DashboardView-qeO0cGEa.js} +1 -1
- package/dist/relay-web/assets/{LoginView-DNZBIoE-.js → LoginView-Bc0b1UH3.js} +1 -1
- package/dist/relay-web/assets/{SettingsView-BUnfSfl7.js → SettingsView-X2_13xBa.js} +1 -1
- package/dist/relay-web/assets/{index-CyMgv7-t.js → index-Ccu9C2LP.js} +23 -23
- package/dist/relay-web/assets/{theme-BYwU4uAb.js → theme-CSnImvQq.js} +1 -1
- package/dist/relay-web/assets/workbox-window.prod.es5-BqEJf4Xk.js +2 -0
- package/dist/relay-web/favicon.ico +0 -0
- package/dist/relay-web/index.html +11 -3
- package/dist/relay-web/manifest.webmanifest +1 -0
- package/dist/relay-web/maskable-icon-512x512.png +0 -0
- package/dist/relay-web/pwa-192x192.png +0 -0
- package/dist/relay-web/pwa-512x512.png +0 -0
- package/dist/relay-web/pwa-64x64.png +0 -0
- package/dist/relay-web/sw.js +1 -0
- package/dist/relay-web/workbox-9c191d2f.js +1 -0
- package/package.json +1 -1
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,c as s,Q as a,o as n}from"./index-
|
|
1
|
+
import{d as e,c as s,Q as a,o as n}from"./index-Ccu9C2LP.js";const o={class:"flex items-center gap-2 select-none"},d=e({__name:"BrandLogo",setup(r){return(p,t)=>(n(),s("div",o,[...t[0]||(t[0]=[a('<svg data-test="brand-x" width="22" height="22" viewBox="0 0 24 24" fill="none" aria-hidden="true"><defs><linearGradient id="xacpxBrand" x1="3" y1="3" x2="21" y2="21" gradientUnits="userSpaceOnUse"><stop stop-color="#4F9BF5"></stop><stop offset="1" stop-color="#69D689"></stop></linearGradient></defs><path d="M5 5 L19 19 M19 5 L5 19" stroke="url(#xacpxBrand)" stroke-width="3.2" stroke-linecap="round"></path></svg><span class="text-[15px] font-semibold tracking-tight text-fg">xacpx</span><span class="text-fg-muted text-xs">· relay</span>',3)])]))}});export{d as _};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as X,k as yt,r as T,l as ue,A as Su,m as K,n as Ma,d as ie,p as mt,q as zu,c as y,a as f,s as W,t as k,b as O,f as x,F as Y,x as oe,g as I,h as Xe,y as j,o as d,z as St,B as he,T as Ru,e as le,w as Ee,v as Oe,C as On,D as iu,E as Lu,G as bu,H as Oa,I as zn,J as Rn,K as rt,L as za,M as Tt,N as ft,O as Ra,P as La}from"./index-
|
|
1
|
+
import{j as X,k as yt,r as T,l as ue,A as Su,m as K,n as Ma,d as ie,p as mt,q as zu,c as y,a as f,s as W,t as k,b as O,f as x,F as Y,x as oe,g as I,h as Xe,y as j,o as d,z as St,B as he,T as Ru,e as le,w as Ee,v as Oe,C as On,D as iu,E as Lu,G as bu,H as Oa,I as zn,J as Rn,K as rt,L as za,M as Tt,N as ft,O as Ra,P as La}from"./index-Ccu9C2LP.js";import{_ as Na}from"./BrandLogo.vue_vue_type_script_setup_true_lang-BWvSYb7-.js";import{u as Pa}from"./theme-CSnImvQq.js";/**
|
|
2
2
|
* @license lucide-vue-next v1.0.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as g,u as m,c as i,a as e,b as h,t as o,w as v,v as y,e as l,f as d,g as _,h as
|
|
1
|
+
import{d as g,u as m,c as i,a as e,b as h,t as o,w as v,v as y,e as l,f as d,g as _,h as x,r as c,i as k,o as u}from"./index-Ccu9C2LP.js";import{_ as w}from"./BrandLogo.vue_vue_type_script_setup_true_lang-BWvSYb7-.js";const $={class:"flex h-screen items-center justify-center bg-bg"},V={class:"mb-2 flex justify-center"},B={for:"access-token",class:"sr-only"},N=["placeholder","disabled"],S={id:"token-hint",class:"text-sm text-fg-muted"},j={key:0,class:"text-sm text-danger"},A=["disabled"],L=g({__name:"LoginView",setup(C){const n=m(),f=k(),r=c(""),t=c(!1);async function b(){if(!t.value){t.value=!0;try{await n.login(r.value)&&f.replace("/")}finally{t.value=!1}}}return(s,a)=>(u(),i("div",$,[e("form",{class:"w-80 space-y-3 rounded-lg border border-border bg-surface p-6 shadow-xl",onSubmit:x(b,["prevent"])},[e("div",V,[h(w)]),e("label",B,o(s.$t("login.tokenLabel")),1),v(e("input",{id:"access-token","onUpdate:modelValue":a[0]||(a[0]=p=>r.value=p),type:"password",autocomplete:"off","aria-describedby":"token-hint",class:"w-full rounded border border-border bg-bg px-3 py-2 text-fg placeholder:text-fg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent disabled:opacity-50",placeholder:s.$t("login.tokenPlaceholder"),disabled:t.value},null,8,N),[[y,r.value]]),e("p",S,[l(o(s.$t("login.hintBefore")),1),a[1]||(a[1]=e("code",null,"xacpx-relay add token",-1)),l(o(s.$t("login.hintAfter")),1)]),d(n).error?(u(),i("p",j,o(d(n).error),1)):_("",!0),e("button",{class:"w-full rounded bg-accent px-3 py-2 text-white hover:bg-accent-hover disabled:opacity-50",type:"submit",disabled:t.value},o(t.value?s.$t("login.signingIn"):s.$t("login.signIn")),9,A)],32)]))}});export{L as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as S,d as N,u as O,R as T,z as V,p as P,l as x,c as r,a as t,t as s,b as v,N as B,f as o,s as m,F as z,x as E,S as M,w as R,v as j,g as D,e as _,r as p,G as H,P as I,i as A,o as d}from"./index-
|
|
1
|
+
import{j as S,d as N,u as O,R as T,z as V,p as P,l as x,c as r,a as t,t as s,b as v,N as B,f as o,s as m,F as z,x as E,S as M,w as R,v as j,g as D,e as _,r as p,G as H,P as I,i as A,o as d}from"./index-Ccu9C2LP.js";import{u as F}from"./theme-CSnImvQq.js";/**
|
|
2
2
|
* @license lucide-vue-next v1.0.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|