mirror of
https://github.com/SoPat712/dotfiles.git
synced 2025-08-21 18:38:46 -04:00
qbit and vim
This commit is contained in:
@@ -0,0 +1 @@
|
||||
import{aA as f}from"./index-135ae4c1.js";import{c as d,J as t}from"./vue-d2584a6d.js";function h(a,e,o=1){const{currentPage:n,currentPageSize:r,pageCount:u,isFirstPage:c,isLastPage:i,next:g,prev:l}=f({total:()=>t(a).length,page:o,pageSize:()=>t(e)===-1?t(a).length:t(e)}),p=d(()=>{const s=(n.value-1)*t(e),P=s+r.value;return t(a).slice(s,P)});return{currentPage:n,currentPageSize:r,pageCount:u,isFirstPage:c,isLastPage:i,next:g,prev:l,paginatedResults:p}}export{h as u};
|
1
qbit/vuetorrent/public/assets/Dashboard-e1ea0c85.css
Normal file
1
qbit/vuetorrent/public/assets/Dashboard-e1ea0c85.css
Normal file
@@ -0,0 +1 @@
|
||||
.menu-scrollable[data-v-4e81b4b5]{max-height:500px;overflow:visible}.gap[data-v-08ef66f1]{gap:8px}.gap[data-v-60c9ae77]{gap:8px 16px}#torrentList[data-v-31f288a6]{background-color:unset}.gap[data-v-e5ea358f]{gap:8px 16px}#torrentList[data-v-e8f6336b]{background-color:unset}.gap[data-v-23c01601]{gap:8px}#torrentList[data-v-8832d38a]{background-color:unset}#torrentList tbody tr[data-v-8832d38a]:nth-child(odd){background-color:rgb(var(--v-theme-surface))}#torrentList tbody tr.selected[data-v-8832d38a]{position:relative}#torrentList tbody tr.selected[data-v-8832d38a]:nth-child(odd):after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}
|
1
qbit/vuetorrent/public/assets/Dashboard-e667d93a.js
Normal file
1
qbit/vuetorrent/public/assets/Dashboard-e667d93a.js
Normal file
File diff suppressed because one or more lines are too long
1
qbit/vuetorrent/public/assets/Login-4fd3fce4.js
Normal file
1
qbit/vuetorrent/public/assets/Login-4fd3fce4.js
Normal file
@@ -0,0 +1 @@
|
||||
import{g as v,K as b,$ as h,aa as q,r as x,d as C,x as k,a as S,a1 as K,a2 as T,a3 as s,m as e,W as m,Z as p,u as l,Y as f,ao as _,a9 as y}from"./vue-d2584a6d.js";import{_ as A}from"./PasswordField.vue_vue_type_script_setup_true_lang-f7d196be.js";import{aS as B,aT as F,f as L,aL as U,g as I,h as M,i as N,V as O,j as R,k as $,l as j}from"./index-135ae4c1.js";import"./faker-c43f92d4.js";import"./vuetify-e547ef1b.js";const G=v({__name:"Login",setup(D){const{t:a}=b(),V=h(),o=q(),u=B(),r=x({username:"",password:""}),c=C(!1),w={username:[d=>!!d||a("login.rules.username_required")],password:[d=>!!d||a("login.rules.password_required")]},i=async()=>{c.value&&(await u.login(r.username,r.password),u.isAuthenticated?(y.success(a("login.success")),g()):y.error(a("login.error")))},g=()=>{o.query.redirect?V.push(o.query.redirect):V.push({name:"dashboard"})};return k(async()=>{o.query.username&&o.query.password&&await u.login(o.query.username,o.query.password)}),S(()=>{u.isAuthenticated&&g()}),(d,t)=>(K(),T(F,{class:"mt-16"},{default:s(()=>[e(j,{class:"mx-auto",rounded:"lg","min-width":"250"},{default:s(()=>[e(L,null,{default:s(()=>[m(p(l(a)("login.title")),1)]),_:1}),e(U,null,{default:s(()=>[m(p(l(a)("login.subtitle")),1)]),_:1}),e(I,null,{default:s(()=>[e(M,{modelValue:c.value,"onUpdate:modelValue":t[2]||(t[2]=n=>c.value=n),onSubmit:f(i,["prevent"])},{default:s(()=>[e(N,{modelValue:r.username,"onUpdate:modelValue":t[0]||(t[0]=n=>r.username=n),label:l(a)("login.username"),autofocus:"",rules:w.username,onKeydown:_(f(i,["prevent"]),["enter"]),variant:"outlined"},{prepend:s(()=>[e(O,{color:"accent",icon:"mdi-account"})]),_:1},8,["modelValue","label","rules","onKeydown"]),e(A,{modelValue:r.password,"onUpdate:modelValue":t[1]||(t[1]=n=>r.password=n),label:l(a)("login.password"),rules:w.password,"prepend-icon":"mdi-lock",onKeydown:_(f(i,["prevent"]),["enter"]),variant:"outlined"},null,8,["modelValue","label","rules","onKeydown"])]),_:1},8,["modelValue"])]),_:1}),e(R,null,{default:s(()=>[e($,{variant:"elevated",block:"",color:"accent",onClick:i},{default:s(()=>[m(p(l(a)("login.submit")),1)]),_:1})]),_:1})]),_:1})]),_:1}))}});export{G as default};
|
1
qbit/vuetorrent/public/assets/Logs-a45762d4.css
Normal file
1
qbit/vuetorrent/public/assets/Logs-a45762d4.css
Normal file
@@ -0,0 +1 @@
|
||||
.v-theme--darkTheme .logtype-normal[data-v-77aed2b3]{color:#fff!important}.v-theme--darkTheme .logtype-info[data-v-77aed2b3]{color:gray!important}.v-theme--darkTheme .logtype-warning[data-v-77aed2b3]{color:#b8860b!important}.v-theme--darkTheme .logtype-critical[data-v-77aed2b3]{color:#c80000!important}.v-theme--lightTheme .logtype-normal[data-v-77aed2b3]{color:#000!important}.v-theme--lightTheme .logtype-info[data-v-77aed2b3]{color:gray!important}.v-theme--lightTheme .logtype-warning[data-v-77aed2b3]{color:#daa520!important}.v-theme--lightTheme .logtype-critical[data-v-77aed2b3]{color:red!important}
|
1
qbit/vuetorrent/public/assets/Logs-c238f379.js
Normal file
1
qbit/vuetorrent/public/assets/Logs-c238f379.js
Normal file
@@ -0,0 +1 @@
|
||||
import{u as G}from"./ArrayPagination-26934cac.js";import{ay as P,y as K,az as l,av as H,ai as Q,q as b,c as Z,r as g,k as J,d,a1 as X,s as Y,a3 as c,i as ee,N as S,aw as te,ax as le,_ as ae}from"./index-135ae4c1.js";import"./faker-c43f92d4.js";import{g as se,$ as oe,K as ne,d as h,c as f,M as ue,I as ie,a1 as i,a6 as I,m as e,a3 as a,ab as F,Z as m,u as o,a2 as v,D as x,a8 as y,F as B,a7 as re,a5 as de,W as N}from"./vue-d2584a6d.js";import{d as me}from"./dayjs.min-1969f9c6.js";import"./vuetify-e547ef1b.js";const ce={class:"pa-3"},pe={style:{"font-size":"1.6em !important"},class:"subtitle-1 ml-2"},ge={class:"d-flex justify-end"},fe=se({__name:"Logs",setup(ve){const w=oe(),{t:O}=ne(),_=P(),$=K(),V=h([{title:l[l.NORMAL],value:l.NORMAL},{title:l[l.INFO],value:l.INFO},{title:l[l.WARNING],value:l.WARNING},{title:l[l.CRITICAL],value:l.CRITICAL}]),u=h([l.NORMAL,l.INFO,l.WARNING,l.CRITICAL]),L=h(""),M=f(()=>_.logs),U=f(()=>M.value.filter(t=>u.value.includes(t.type))),{results:C}=H(U,L,t=>t.message),T=f(()=>u.value.length>0),k=f(()=>u.value.length===V.value.length),{paginatedResults:E,currentPage:r,pageCount:p}=G(C,30),A=()=>{w.push({name:"dashboard"})},W=t=>`logtype-${l[t?.type]?.toLowerCase()}`,j=t=>l[t.type],q=t=>me(t.timestamp*1e3).format($.dateFormat),z=()=>{k.value?u.value=[]:u.value=V.value.map(t=>t.value)},R=t=>{t.key==="Escape"&&A()};return ue(async()=>{document.addEventListener("keydown",R),await _.cleanAndFetchLogs(),Q(_.fetchLogs,15e3)}),ie(()=>{document.removeEventListener("keydown",R)}),(t,n)=>(i(),I("div",ce,[e(b,{"no-gutters":"",align:"center",justify:"center"},{default:a(()=>[e(g,null,{default:a(()=>[F("h1",pe,m(o(O)("logs.title")),1)]),_:1}),e(g,null,{default:a(()=>[F("div",ge,[e(J,{icon:"mdi-close",variant:"plain",onClick:A})])]),_:1})]),_:1}),e(Z,null,{default:a(()=>[e(d,null,{default:a(()=>[e(b,null,{default:a(()=>[e(g,{cols:"6"},{default:a(()=>[e(X,{modelValue:u.value,"onUpdate:modelValue":n[0]||(n[0]=s=>u.value=s),items:V.value,label:t.$t("logs.filters.type"),"hide-details":"",multiple:"",chips:""},{"prepend-item":a(()=>[e(d,{title:t.$t("common.selectAll"),onClick:z},{prepend:a(()=>[e(Y,{indeterminate:T.value&&!k.value,"model-value":T.value},null,8,["indeterminate","model-value"])]),_:1},8,["title"]),e(c)]),_:1},8,["modelValue","items","label"])]),_:1}),e(g,{cols:"6"},{default:a(()=>[e(ee,{modelValue:L.value,"onUpdate:modelValue":n[1]||(n[1]=s=>L.value=s),label:t.$t("logs.filters.query"),"hide-details":""},null,8,["modelValue","label"])]),_:1})]),_:1})]),_:1}),e(c,{class:"my-3",thickness:"5"}),o(p)>1?(i(),v(d,{key:0},{default:a(()=>[e(S,{modelValue:o(r),"onUpdate:modelValue":n[2]||(n[2]=s=>x(r)?r.value=s:null),length:o(p),"prev-icon":"mdi-menu-left","next-icon":"mdi-menu-right"},null,8,["modelValue","length"])]),_:1})):y("",!0),e(c),(i(!0),I(B,null,re(o(E),(s,D)=>(i(),I(B,null,[D>0?(i(),v(c,{key:0})):y("",!0),e(d,{class:de(W(s))},{default:a(()=>[e(te,null,{default:a(()=>[N(m(s.id)+") "+m(s.message),1)]),_:2},1024),e(le,null,{default:a(()=>[N(m(j(s))+" | "+m(q(s)),1)]),_:2},1024)]),_:2},1032,["class"])],64))),256)),o(C).length===0?(i(),v(d,{key:1},{default:a(()=>[N(m(t.$t("logs.emptyLogList")),1)]),_:1})):y("",!0),e(c),o(p)>1?(i(),v(d,{key:2},{default:a(()=>[e(S,{modelValue:o(r),"onUpdate:modelValue":n[3]||(n[3]=s=>x(r)?r.value=s:null),length:o(p),"prev-icon":"mdi-menu-left","next-icon":"mdi-menu-right"},null,8,["modelValue","length"])]),_:1})):y("",!0)]),_:1})]))}});const Ne=ae(fe,[["__scopeId","data-v-77aed2b3"]]);export{Ne as default};
|
1
qbit/vuetorrent/public/assets/MagnetHandler-d77b3bb6.js
Normal file
1
qbit/vuetorrent/public/assets/MagnetHandler-d77b3bb6.js
Normal file
@@ -0,0 +1 @@
|
||||
import{au as r,v as s,aR as n}from"./index-135ae4c1.js";import{g as u,aa as i,$ as m,M as p}from"./vue-d2584a6d.js";import"./faker-c43f92d4.js";import"./vuetify-e547ef1b.js";const l=u({__name:"MagnetHandler",setup(d){const o=i(),a=m();return p(async()=>{const e=decodeURIComponent(o.params.url);if(e.startsWith("magnet:")){const t=r();t.isFirstInit=!1,t.pushTorrentToQueue(e),s().createDialog(n,{})}await a.push({name:"dashboard"})}),()=>{}}});export{l as default};
|
@@ -0,0 +1 @@
|
||||
import{g as s,d as r,c as o,a1 as t,a2 as i,au as d,a3 as l,m as u}from"./vue-d2584a6d.js";import{V as m,i as f}from"./index-135ae4c1.js";const h=s({__name:"PasswordField",props:{hideIcon:{type:Boolean},prependIcon:{}},setup(v){const e=r(!1);function a(){e.value=!e.value}const p=o(()=>e.value?"text":"password"),c=o(()=>e.value?"mdi-eye":"mdi-eye-off");return(n,y)=>(t(),i(f,{type:p.value,"append-inner-icon":n.hideIcon?"":c.value,"onClick:appendInner":a},d({_:2},[n.prependIcon?{name:"prepend",fn:l(()=>[u(m,{color:"accent",icon:n.prependIcon},null,8,["icon"])]),key:"0"}:void 0]),1032,["type","append-inner-icon"]))}});export{h as _};
|
1
qbit/vuetorrent/public/assets/RssArticles-1fe4e4bd.js
Normal file
1
qbit/vuetorrent/public/assets/RssArticles-1fe4e4bd.js
Normal file
File diff suppressed because one or more lines are too long
1
qbit/vuetorrent/public/assets/RssArticles-cd150368.css
Normal file
1
qbit/vuetorrent/public/assets/RssArticles-cd150368.css
Normal file
@@ -0,0 +1 @@
|
||||
.rss-read.v-theme--darkTheme[data-v-87c5959f]{color:#b6b6b6!important}.rss-read.v-theme--lightTheme[data-v-87c5959f]{color:gray!important}.description-container[data-v-87c5959f]{border:solid red 5px}.description-container img{max-width:100%;height:auto}
|
1
qbit/vuetorrent/public/assets/SearchEngine-b38d96d6.js
Normal file
1
qbit/vuetorrent/public/assets/SearchEngine-b38d96d6.js
Normal file
File diff suppressed because one or more lines are too long
1
qbit/vuetorrent/public/assets/Settings-af9c84ca.js
Normal file
1
qbit/vuetorrent/public/assets/Settings-af9c84ca.js
Normal file
File diff suppressed because one or more lines are too long
1
qbit/vuetorrent/public/assets/Settings-cac9dd1a.css
Normal file
1
qbit/vuetorrent/public/assets/Settings-cac9dd1a.css
Normal file
@@ -0,0 +1 @@
|
||||
.scrollable-col[data-v-8013deca]{@media (min-width: 600px){max-height:calc(100vh - 200px)}@media (max-width: 599px){max-height:calc(60vh - 200px)}overflow-y:auto}.gap[data-v-1eb1c7d2]{margin-bottom:8px}.gap[data-v-1eb1c7d2]:last-child{margin-bottom:unset}td .dnd-handle[data-v-63969f1b]{cursor:move}
|
2
qbit/vuetorrent/public/assets/TorrentDetail-85e789b3.js
Normal file
2
qbit/vuetorrent/public/assets/TorrentDetail-85e789b3.js
Normal file
File diff suppressed because one or more lines are too long
1
qbit/vuetorrent/public/assets/TorrentDetail-cad7bace.css
Normal file
1
qbit/vuetorrent/public/assets/TorrentDetail-cad7bace.css
Normal file
@@ -0,0 +1 @@
|
||||
.gap[data-v-bb1329d2]{gap:8px}canvas[data-v-0d43f850]{height:100%;width:100%}.chipgap[data-v-0d43f850]{gap:4px}.gap[data-v-04aee0ca]{gap:8px}.cursor-help[data-v-04aee0ca]{cursor:help}.gap[data-v-ed947913]{gap:8px}.v-theme--darkTheme .tracker-disabled[data-v-ed947913]{color:#c6c6c6}.v-theme--darkTheme .tracker-not_yet_contacted[data-v-ed947913]{color:orange}.v-theme--darkTheme .tracker-working[data-v-ed947913]{color:#90ee90}.v-theme--darkTheme .tracker-not_working[data-v-ed947913]{color:#f08080}.v-theme--darkTheme .tracker-updating[data-v-ed947913]{color:#add8e6}.v-theme--lightTheme .tracker-disabled[data-v-ed947913]{color:gray}.v-theme--lightTheme .tracker-not_yet_contacted[data-v-ed947913]{color:orange}.v-theme--lightTheme .tracker-working[data-v-ed947913]{color:green}.v-theme--lightTheme .tracker-not_working[data-v-ed947913]{color:red}.v-theme--lightTheme .tracker-updating[data-v-ed947913]{color:#1e90ff}
|
1
qbit/vuetorrent/public/assets/dayjs-f7aba705.js
Normal file
1
qbit/vuetorrent/public/assets/dayjs-f7aba705.js
Normal file
File diff suppressed because one or more lines are too long
1
qbit/vuetorrent/public/assets/dayjs.min-1969f9c6.js
Normal file
1
qbit/vuetorrent/public/assets/dayjs.min-1969f9c6.js
Normal file
File diff suppressed because one or more lines are too long
15
qbit/vuetorrent/public/assets/faker-c43f92d4.js
Normal file
15
qbit/vuetorrent/public/assets/faker-c43f92d4.js
Normal file
File diff suppressed because one or more lines are too long
731
qbit/vuetorrent/public/assets/index-135ae4c1.js
Normal file
731
qbit/vuetorrent/public/assets/index-135ae4c1.js
Normal file
File diff suppressed because one or more lines are too long
5
qbit/vuetorrent/public/assets/index-6e88811a.css
Normal file
5
qbit/vuetorrent/public/assets/index-6e88811a.css
Normal file
File diff suppressed because one or more lines are too long
1
qbit/vuetorrent/public/assets/index-fd06c5c5.js
Normal file
1
qbit/vuetorrent/public/assets/index-fd06c5c5.js
Normal file
@@ -0,0 +1 @@
|
||||
import{at as g,ad as F}from"./vue-d2584a6d.js";var M="Expected a function",S=0/0,N="[object Symbol]",W=/^\s+|\s+$/g,A=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,R=/^0o[0-7]+$/i,_=parseInt,D=typeof g=="object"&&g&&g.Object===Object&&g,G=typeof self=="object"&&self&&self.Object===Object&&self,P=D||G||Function("return this")(),H=Object.prototype,U=H.toString,X=Math.max,q=Math.min,T=function(){return P.Date.now()};function z(e,t,i){var a,s,l,c,r,f,u=0,x=!1,d=!1,y=!0;if(typeof e!="function")throw new TypeError(M);t=E(t)||0,v(i)&&(x=!!i.leading,d="maxWait"in i,l=d?X(E(i.maxWait)||0,t):l,y="trailing"in i?!!i.trailing:y);function p(n){var o=a,m=s;return a=s=void 0,u=n,c=e.apply(m,o),c}function k(n){return u=n,r=setTimeout(b,t),x?p(n):c}function C(n){var o=n-f,m=n-u,h=t-o;return d?q(h,l-m):h}function I(n){var o=n-f,m=n-u;return f===void 0||o>=t||o<0||d&&m>=l}function b(){var n=T();if(I(n))return O(n);r=setTimeout(b,C(n))}function O(n){return r=void 0,y&&a?p(n):(a=s=void 0,c)}function L(){r!==void 0&&clearTimeout(r),u=0,a=f=s=r=void 0}function $(){return r===void 0?c:O(T())}function j(){var n=T(),o=I(n);if(a=arguments,s=this,f=n,o){if(r===void 0)return k(f);if(d)return r=setTimeout(b,t),p(f)}return r===void 0&&(r=setTimeout(b,t)),c}return j.cancel=L,j.flush=$,j}function v(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function J(e){return!!e&&typeof e=="object"}function K(e){return typeof e=="symbol"||J(e)&&U.call(e)==N}function E(e){if(typeof e=="number")return e;if(K(e))return S;if(v(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=v(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(W,"");var i=B.test(e);return i||R.test(e)?_(e.slice(2),i?2:8):A.test(e)?S:+e}var Q=z;const Y=F(Q);export{Y as d};
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1
qbit/vuetorrent/public/assets/torrents-f1a47456.js
Normal file
1
qbit/vuetorrent/public/assets/torrents-f1a47456.js
Normal file
@@ -0,0 +1 @@
|
||||
const t=[{name:"First torrent"},{name:"Second torrent"}];export{t as default};
|
36
qbit/vuetorrent/public/assets/vue-d2584a6d.js
Normal file
36
qbit/vuetorrent/public/assets/vue-d2584a6d.js
Normal file
File diff suppressed because one or more lines are too long
5
qbit/vuetorrent/public/assets/vuetify-e547ef1b.js
Normal file
5
qbit/vuetorrent/public/assets/vuetify-e547ef1b.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user