PageSourceSearch

https://www.baywa-re.com/_nuxt/DUxD5ONy.js

js baywa-re.com collected 2026-10-03 21:10:31 UTC 5,089 bytes, 1 lines download raw bytes

1import{A as e,G as t,Ht as n,S as r,Ut as i,V as a,Vt as o,W as s,Wt as c,d as l,m as u,p as d,r as f,u as p,w as m,y as h,yt as g}from"./Cb8twsq3.js";import{n as _}from"./ZIazvXJ1.js";import{c as v,d as y,g as b,l as x}from"./dYGC0xno.js";var S=y(_.ui.strategy,_.ui.progress,{wrapper:`w-full flex flex-col gap-2`,indicator:{container:{base:`flex flex-row justify-end`,width:`min-w-fit`,transition:`transition-all`},align:`text-end`,width:`w-fit`,color:`text-gray-400 dark:text-gray-500`,size:{"2xs":`text-xs`,xs:`text-xs`,sm:`text-sm`,md:`text-sm`,lg:`text-sm`,xl:`text-base`,"2xl":`text-base`}},progress:{base:`block appearance-none border-none overflow-hidden`,width:`w-full [&::-webkit-progress-bar]:w-full`,size:{"2xs":`h-px`,xs:`h-0.5`,sm:`h-1`,md:`h-2`,lg:`h-3`,xl:`h-4`,"2xl":`h-5`},rounded:`rounded-full [&::-webkit-progress-bar]:rounded-full`,track:`[&::-webkit-progress-bar]:bg-gray-200 [&::-webkit-progress-bar]:dark:bg-gray-700 [@supports(selector(&::-moz-progress-bar))]:bg-gray-200 [@supports(selector(&::-moz-progress-bar))]:dark:bg-gray-700`,bar:`[&::-webkit-progress-value]:rounded-full [&::-webkit-progress-value]:transition-all [&::-webkit-progress-value]:ease-in-out [&::-moz-progress-bar]:rounded-full`,color:`text-{color}-500 dark:text-{color}-400`,background:`[&::-webkit-progress-value]:bg-current [&::-moz-progress-bar]:bg-current`,indeterminate:{base:`indeterminate:relative`,rounded:`indeterminate:after:rounded-full [&:indeterminate::-webkit-progress-value]:rounded-full [&:indeterminate::-moz-progress-bar]:rounded-full`}},steps:{base:`grid grid-cols-1`,color:`text-{color}-500 dark:text-{color}-400`,size:{"2xs":`text-xs`,xs:`text-xs`,sm:`text-sm`,md:`text-sm`,lg:`text-sm`,xl:`text-base`,"2xl":`text-base`}},step:{base:`transition-all opacity-0 truncate row-start-1 col-start-1`,align:`text-end`,active:`opacity-100`,first:`text-gray-500 dark:text-gray-400`},animation:{carousel:`bar-animation-carousel`,"carousel-inverse":`bar-animation-carousel-inverse`,swing:`bar-animation-swing`,elastic:`bar-animation-elastic`},default:{color:`primary`,size:`md`,animation:`carousel`}}),C=r({inheritAttrs:!1,props:{value:{type:Number,default:null},max:{type:[Number,Array],default:100},indicator:{type:Boolean,default:!1},animation:{type:String,default:()=>S.default.animation,validator(e){return Object.keys(S.animation).includes(e)}},size:{type:String,default:()=>S.default.size,validator(e){return Object.keys(S.progress.size).includes(e)}},color:{type:String,default:()=>S.default.color,validator(e){return _.ui.colors.includes(e)}},class:{type:[String,Object,Array],default:()=>``},ui:{type:Object,default:()=>({})}},setup(e){let{ui:t,attrs:n}=v(`progress`,g(e,`ui`),S,g(e,`class`)),r=p(()=>b(t.value.indicator.container.base,t.value.indicator.container.width,t.value.indicator.container.transition)),i=p(()=>b(t.value.indicator.align,t.value.indicator.width,t.value.indicator.color,t.value.indicator.size[e.size])),a=p(()=>{let n=[t.value.progress.base,t.value.progress.width,t.value.progress.size[e.size],t.value.progress.rounded,t.value.progress.track,t.value.progress.bar,t.value.progress.color?.replaceAll(`{color}`,e.color),t.value.progress.background,t.value.progress.indeterminate.base,t.value.progress.indeterminate.rounded];return m.value&&n.push(t.value.animation[e.animation]),b(...n)}),o=p(()=>b(t.value.steps.base,t.value.steps.color?.replaceAll(`{color}`,e.color),t.value.steps.size[e.size])),s=p(()=>b(t.value.step.base,t.value.step.align)),c=p(()=>b(t.value.step.active)),l=p(()=>b(t.value.step.first));function u(t){return t===Number(e.value)}function d(e){return e===0}function f(e){e=Number(e);let t=[s.value];return d(e)&&t.push(l.value),u(e)&&t.push(c.value),t.join(` `)}let m=p(()=>e.value===void 0||e.value===null),h=p(()=>Array.isArray(e.max)),_=p(()=>m.value?null:Array.isArray(e.max)?e.max.length-1:Number(e.max));return{ui:t,attrs:n,indicatorContainerClass:r,indicatorClass:i,progressClass:a,stepsClass:o,stepClasses:f,isIndeterminate:m,isSteps:h,realMax:_,percent:p(()=>{if(!m.value)switch(!0){case e.value<0:return 0;case e.value>_.value:return 100;default:return e.value/_.value*100}})}}}),w=[`aria-valuemax`,`aria-valuenow`];function T(r,p,g,_,v,y){return a(),u(`div`,{class:o(r.ui.wrapper),role:`progressbar`},[r.indicator||r.$slots.indicator?t(r.$slots,`indicator`,n(m({percent:r.percent})),()=>[r.isSteps?d(``,!0):(a(),u(`div`,{key:0,class:o(r.indicatorContainerClass),style:i({width:`${r.percent}%`})},[l(`div`,{class:o(r.indicatorClass)},c(Math.round(r.percent))+`% `,3)],6))],!0,0):d(``,!0),l(`progress`,e({"aria-valuemax":r.realMax,"aria-valuenow":r.value,class:r.progressClass},{value:r.value,max:r.realMax,...r.attrs}),c(r.percent===void 0?void 0:`${Math.round(r.percent)}
1%`),17,w),r.isSteps?(a(),u(`div`,{key:1,class:o(r.stepsClass)},[(a(!0),u(f,null,s(r.max,(n,i)=>(a(),u(`div`,{key:i,class:o(r.stepClasses(i))},[t(r.$slots,`step-${i}`,e({ref_for:!0},{step:n}),()=>[h(c(n),1)],!0)],2))),128))],2)):d(``,!0)],2)}var E=Object.assign(x(C,[[`render`,T],[`__scopeId`,`data-v-a68e7b5e`]]),{__name:`UProgress`});export{E as t};

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.