import{t as e}from"./vue.runtime.esm-BkFIT5TI.js";import{i as t,l as n,n as r,s as i,t as a,u as o}from"./_plugin-vue2_normalizer-agX0mVFg.js";import{Dt as s,St as c,gt as l,ht as u,i as d,t as f}from"./lib-DPUqMlxa.js";import{t as p}from"./AppBtn-Cax1vPEQ.js";import{t as m}from"./files-CXuT-qdC.js";import{t as h}from"./AppNamedSlider-B7wmLwx1.js";f();var g=class extends e{thumbnailSize;disabled};r([t({type:Number,required:!0})],g.prototype,`thumbnailSize`,void 0),r([i({type:Boolean})],g.prototype,`disabled`,void 0),g=r([n({})],g);var _=a(g,function(){var e=this,t=e._self._c;return e._self._setupProxy,t(u,{attrs:{bottom:``,left:``,"offset-y":``,transition:`slide-y-transition`,"min-width":`150`,"close-on-content-click":!1},scopedSlots:e._u([{key:`activator`,fn:function({on:n,attrs:r}){return[t(d,{attrs:{bottom:``},scopedSlots:e._u([{key:`activator`,fn:function({on:i}){return[t(p,e._g(e._b({attrs:{disabled:e.disabled,icon:``,text:``}},`app-btn`,r,!1),{...i,...n}),[t(c,[e._v(` $imageSizeSelectLarge `)])],1)]}}],null,!0)},[t(`span`,[e._v(e._s(e.$t(`app.general.btn.thumbnail_size`)))])])]}}])},[t(s,{staticClass:`pa-2`},[t(h,{staticClass:`ma-1`,attrs:{label:e.$t(`app.general.label.thumbnail_size`),min:32,max:192,step:16,"reset-value":32,suffix:`px`},model:{value:e.thumbnailSize,callback:function(t){e.thumbnailSize=t},expression:`thumbnailSize`}})],1)],1)},[],!1,null,null,null,null).exports,v=class extends e{temps};r([i({type:Array,required:!0})],v.prototype,`temps`,void 0),v=r([n({inheritAttrs:!1})],v);var y=v;f();var b=a(y,function(){var e=this,t=e._self._c;return e._self._setupProxy,t(`div`,e._l(e.temps,function(n,r){return t(l,e._g(e._b({key:r,class:{"ms-1":r>0},attrs:{small:``}},`v-chip`,e.$attrs,!1),e.$listeners),[e._v(` `+e._s(n)),t(`small`,[e._v(`°C`)])])}),1)},[],!1,null,null,null,null).exports,x=class extends o(m){job;get icon(){switch(this.job.status){case`completed`:return`$checkedCircle`;case`printing`:case`in_progress`:return`$inProgress`;case`cancelled`:case`interrupted`:return`$cancelled`;default:return`$warning`}}get state(){switch(this.job.status){case`cancelled`:case`error`:case`interrupted`:case`server_exit`:return`error`;case`klippy_shutdown`:case`klippy_disconnect`:return`warning`;case`completed`:return`success`;case`printing`:case`in_progress`:return`info`;default:return`success`}}};r([i({type:Object,required:!0})],x.prototype,`job`,void 0),x=r([n({})],x);var S=x;f();var C=a(S,function(){var e=this,t=e._self._c;return e._self._setupProxy,t(d,{attrs:{top:``},scopedSlots:e._u([{key:`activator`,fn:function({on:n,attrs:r}){return[t(c,e._g(e._b({staticClass:`mr-1`,attrs:{small:``,color:e.job.exists?e.state:`secondary`}},`v-icon`,r,!1),n),[e._v(` `+e._s(e.icon)+` `)])]}}])},[t(`span`,[e._v(e._s(e.$filters.prettyCase(e.job.status)))])])},[],!1,null,null,null,null).exports;export{b as n,_ as r,C as t};