
/**
 * 由 Fantastic-admin 提供技术支持
 * Powered by Fantastic-admin
 * https://fantastic-admin.hurui.me
 */
  
import{B as e,C as t,Ct as n}from"./reactivity.esm-bundler-D9OPVc9J.js";import{_ as r,b as i,g as a,mt as o,y as s}from"./runtime-core.esm-bundler-D-xeQwTN.js";import{m as c}from"./runtime-dom.esm-bundler-Dnva3vcP.js";import{d as l}from"./lib-C-QGo8GG-CvPpiVvZ.js";import{t as u}from"./rolldown-runtime-Dy4uBu1J-DK3Fl9T5.js";import{t as d}from"./useConfig-C0V0eG7L-BW30Wel-.js";import{t as f}from"./_plugin-vue_export-helper-B3ysoDQm-BDNMzG2s.js";import{t as p}from"./useNestedProp-BYfiWVP8-DbrxFlsg.js";var m=u({default:()=>w}),h=[`xmlns`,`viewBox`],g={key:0},_=[`stroke`],v=[`stroke`],y=[`stroke`],b={key:1},x=[`stroke`],S={key:2},C=[`stroke`],w=f({__name:`vue-ui-mini-loader`,props:{config:{type:Object,default(){return{}}}},setup(u){c(e=>({v52026c5d:k.value,v571acde0:A.value,v222cd9e5:j.value}));let{vue_ui_mini_loader:f}=d(),m=u,w=a(()=>p({userConfig:m.config,defaultConfig:f})),T=t({onion:`-10 -10 84 84`,line:`-10 -10 112 84`,bar:`-10 -10 106 84`}),E=a(()=>({gutter:`stroke:${w.value.line.gutterColor};opacity:${w.value.line.gutterOpacity};`,gutterBlur:`filter:blur(${w.value.line.gutterBlur}px);`})),D=a(()=>({gutter:`stroke:${w.value.bar.gutterColor};opacity:${w.value.bar.gutterOpacity};`,gutterBlur:`filter:blur(${w.value.bar.gutterBlur}px);`})),O=a(()=>({gutter:`stroke:${w.value.onion.gutterColor};opacity:${w.value.onion.gutterOpacity};`,gutterBlur:`filter:blur(${w.value.onion.gutterBlur}px);`})),k=a(()=>`blur(${w.value.onion.trackBlur}px) hue-rotate(${w.value.onion.trackHueRotate}deg)`),A=a(()=>`blur(${w.value.line.trackBlur}px) hue-rotate(${w.value.line.trackHueRotate}deg)`),j=a(()=>`blur(${w.value.bar.trackBlur}px) hue-rotate(${w.value.bar.trackHueRotate}deg)`);return(t,a)=>(o(),i(`svg`,{class:`vue-data-ui-component vue-ui-mini-loader`,xmlns:e(l),viewBox:T.value[w.value.type],style:{background:`transparent`},width:`100%`},[w.value.type===`onion`?(o(),i(`g`,g,[r(`path`,{d:`M 3 32 C 3 45 12 62 32 62 A 1 1 0 0 0 32 3`,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,style:n(O.value.gutter+O.value.gutterBlur)},null,4),r(`path`,{d:`M 13 32 C 13 39 19 52 32 52 A 1 1 0 0 0 32 13`,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,style:n(O.value.gutter+O.value.gutterBlur)},null,4),r(`path`,{d:`M 23 32 C 23 37 26.5 41 32 41 A 1 1 0 0 0 32 25`,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,style:n(O.value.gutter+O.value.gutterBlur)},null,4),r(`path`,{d:`M 3 32 C 3 45 12 62 32 62 A 1 1 0 0 0 32 3`,stroke:w.value.onion.trackColor,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,class:`onion-animated`},null,8,_),r(`path`,{d:`M 13 32 C 13 39 19 52 32 52 A 1 1 0 0 0 32 13`,stroke:w.value.onion.trackColor,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,class:`onion-animated`},null,8,v),r(`path`,{d:`M 23 32 C 23 37 26.5 41 32 41 A 1 1 0 0 0 32 25`,stroke:w.value.onion.trackColor,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,class:`onion-animated`},null,8,y)])):s(``,!0),w.value.type===`line`?(o(),i(`g`,b,[r(`path`,{d:`M 3 62 C 6 57 6 48 11 45 C 16 44 17 53 22 52 C 27 49 25 32 30 31 C 34 29 37 47 42 47 C 46 47 45 38 49 36 C 53 34 56 45 61 45 C 66 45 65 24 69 24 C 73 22 75 35 79 34 C 84 34 83 11 91 5`,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,style:n(E.value.gutter+E.value.gutterBlur)},null,4),r(`path`,{d:`M 3 62 C 6 57 6 48 11 45 C 16 44 17 53 22 52 C 27 49 25 32 30 31 C 34 29 37 47 42 47 C 46 47 45 38 49 36 C 53 34 56 45 61 45 C 66 45 65 24 69 24 C 73 22 75 35 79 34 C 84 34 83 11 91 5`,stroke:w.value.line.trackColor,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,class:`line-animated`},null,8,x)])):s(``,!0),w.value.type===`bar`?(o(),i(`g`,S,[r(`path`,{d:`M 3 62 L 3 44 M 12 62 L 12 49 M 21 62 L 21 37 M 30 62 L 30 29 M 39 62 L 39 43 M 48 62 L 48 16 M 57 62 L 57 24 M 66 62 L 66 35 M 75 62 L 75 20 M 84 62 L 84 5`,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,style:n(D.value.gutter+D.value.gutterBlur)},null,4),r(`path`,{d:`M 3 62 L 3 44 M 12 62 L 12 49 M 21 62 L 21 37 M 30 62 L 30 29 M 39 62 L 39 43 M 48 62 L 48 16 M 57 62 L 57 24 M 66 62 L 66 35 M 75 62 L 75 20 M 84 62 L 84 5`,stroke:w.value.bar.trackColor,"stroke-width":`4`,fill:`none`,"stroke-linecap":`round`,class:`bar-animated`},null,8,C)])):s(``,!0)],8,h))}},[[`__scopeId`,`data-v-9dd280d2`]]);export{m as n};