f127f07ab2
rdp_hosts 表与专用 API,在 3389远程页添加/连接,不再依赖子机列表。 Co-authored-by: Cursor <cursoragent@cursor.com>
1 line
2.3 KiB
JavaScript
1 line
2.3 KiB
JavaScript
import{Mr as e,X as t,Y as n,ar as r,br as i,cn as a,gr as o,ht as s,kn as c,lt as l,mt as u,pi as d,pn as f,sn as p,vn as m,wn as h,yr as g}from"./index-_6O5JL4W.js";var _={actions:`button@2`,article:`heading, paragraph`,avatar:`avatar`,button:`button`,card:`image, heading`,"card-avatar":`image, list-item-avatar`,chip:`chip`,"date-picker":`list-item, heading, divider, date-picker-options, date-picker-days, actions`,"date-picker-options":`text, avatar@2`,"date-picker-days":`avatar@28`,divider:`divider`,heading:`heading`,image:`image`,"list-item":`text`,"list-item-avatar":`avatar, text`,"list-item-two-line":`sentences`,"list-item-avatar-two-line":`avatar, sentences`,"list-item-three-line":`paragraph`,"list-item-avatar-three-line":`avatar, paragraph`,ossein:`ossein`,paragraph:`text@3`,sentences:`text@2`,subtitle:`text`,table:`table-heading, table-thead, table-tbody, table-tfoot`,"table-heading":`chip, text`,"table-thead":`heading@6`,"table-tbody":`table-row-divider@6`,"table-row-divider":`table-row, divider`,"table-row":`text@6`,"table-tfoot":`text@2, avatar@2`,text:`text`};function v(e,t=[]){return i(`div`,{class:d([`v-skeleton-loader__bone`,`v-skeleton-loader__${e}`])},[t])}function y(e){let[t,n]=e.split(`@`);return Array.from({length:n}).map(()=>b(t))}function b(e){let t=[];if(!e)return t;let n=_[e];if(e!==n){if(e.includes(`,`))return x(e);if(e.includes(`@`))return y(e);n.includes(`,`)?t=x(n):n.includes(`@`)?t=y(n):n&&t.push(b(n))}return[v(e,t)]}function x(e){return e.replace(/\s/g,``).split(`,`).map(b)}var S=c({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:`$vuetify.loading`},type:{type:[String,Array],default:`ossein`},...n(),...u(),...p()},`VSkeletonLoader`),C=h()({name:`VSkeletonLoader`,inheritAttrs:!1,props:S(),setup(n,{attrs:c,slots:u}){let{backgroundColorClasses:d,backgroundColorStyles:p}=l(()=>n.color),{dimensionStyles:h}=t(n),{elevationClasses:_}=s(n),{themeClasses:v}=a(n),{t:y}=f(),x=g(()=>b(r(n.type).join(`,`)));return m(()=>{let t=!u.default||n.loading,r=n.boilerplate||!t?{}:{ariaLive:`polite`,ariaLabel:y(n.loadingText),role:`alert`};return t?i(`div`,e({class:[`v-skeleton-loader`,{"v-skeleton-loader--boilerplate":n.boilerplate},v.value,d.value,_.value],style:[p.value,h.value]},r,c),[x.value]):i(o,null,[u.default?.()])}),{}}});export{C as t}; |