PageSourceSearch

https://kindredly.ai/js/JobsPanelC56xSRZv.js

js kindredly.ai collected 2026-10-02 01:11:30 UTC 3,139 bytes, 1 lines download raw bytes

1import{d as w,c as J,B,a4 as u,f as i,o as s,b as r,z as a,u as $,e as n,j as N,F as P,q as z,l,w as p,k as m,S as D,T}from"./vue-runtimeBHGad_ZB.js";import{j as V,r as F,a as S,i as q,b as A,d as M,e as R,f as E,h as G}from"./appHandoffGuestC-3-OP66.js";import{_ as I}from"./chunkReloadRecoveryrjuMb-b8.js";import"./cjs-helpersC4iS2aBk.js";import"./item-name.utilsBH3paGZr.js";import"./dexie2jmnBxhj.js";import"./OperationQueueKzEpmh-u.js";import"./item.typesx7Q7rrX9.js";import"./content.typesyje91KzF.js";import"./constantsDW26WJ6H.js";import"./extraction.pure.utilsDQPW8yIh.js";import"./url.utils3SlYVg-c.js";import"./urlDuplicateMatchingB9T_GhRn.js";import"./bootstrap-vue-nextDXY4qsO1.js";const L={class:"knd-jobs-panel",role:"dialog","aria-label":"Background jobs"},O={class:"knd-panel__topbar d-flex align-items-center justify-content-between px-3"},W={class:"knd-jobs-panel__body p-3"},H={key:0,class:"text-muted mb-0"},K={class:"d-flex align-items-center justify-content-between flex-gap-xs"},Q={class:"text-truncate"},U={class:"text-muted small flex-shrink-0"},X={key:1,class:"text-danger small mt-1"},Y={class:"d-flex flex-gap-xs mt-2"},Z=w({__name:"JobsPanel",setup(j){const _=J(()=>V.visible.value);B(()=>{F()});function c(e){return q(e)}function b(e){return A(e)}function y(e){switch(e.status){case"running":return`${e.completedCount}/${e.totalCount}`;case"queued":return"Waiting";case"paused":return`Paused at ${e.completedCount}/${e.totalCount}`;case"completed":return"Done";case"failed":return"Finished with errors";case"cancelled":return"Cancelled";default:return""}}function f(){M()}async function C(e){await R(e)}async function v(e){await E(e)}async function x(e){await G(e)}return(e,o)=>{const g=u("b-icon"),h=u("b-progress"),d=u("b-button");return s(),i(T,{to:"body"},[$(S).panelOpen?(s(),r("div",{key:0,class:"knd-jobs-backdrop",onClick:D(f,["self"])},[n("section",L,[n("header",O,[o[0]||(o[0]=n("span",{class:"fw-semibold"},"Background jobs",-1)),n("button",{type:"button",class:"knd-panel__topbar-btn","aria-label":"Close background jobs",onClick:f},[N(g,{icon:"x-lg"})])]),n("div",W,[_.value.length?a("",!0):(s(),r("p",H,"Nothing running.")),(s(!0),r(P,null,z(_.value,t=>(s(),r("div",{key:t.id,class:"knd-jobs-row py-2"},[n("div",K,[n("span",Q,l(t.label),1),n("span",U,l(y(t)),1)]),c(t.status)?(s(),i(h,{key:0,class:"mt-1",height:"0.5rem",value:b(t),max:100},null,8,["value"])):a("",!0),t.failedCount?(s(),r("div",X,l(t.failedCount)+" of "+l(t.totalCount)+" could not be added. ",1)):a("",!0),n("div",Y,[c(t.status)?(s(),i(d,{key:0,size:"sm",variant:"outline-secondary",onClick:k=>C(t.id)},{default:p(()=>[...o[1]||(o[1]=[m(" Cancel ",-1)])]),_:1},8,["onClick"])):a("",!0),t.failedCount>0?(s(),i(d,{key:1,size:"sm",variant:"outline-primary",onClick:k=>v(t.id)},{default:p(()=>[...o[2]||(o[2]=[m(" Retry ",-1)])]),_:1},8,["onClick"])):a("",!0),c(t.status)?a("",!0):(s(),i(d,{key:2,size:"sm",variant:"outline-secondary",onClick:k=>x(t.id)},{default:p(()=>[...o[3]||(o[3]=[m(" Dismiss ",-1)])]),_:1},8,["onClick"]))])]))),128))])])])):a("",!0)])}}}),_e=I(Z,[["__scopeId","data-v-05d0c124"]]);export{_e as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.