Files
yakpanel-core/YakPanel/static/vite/js/CveSection-legacy-I4w86H3T.js
2026-04-07 02:04:22 +05:30

2 lines
4.0 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785"],(function(e,s){"use strict";var i,t,a,r,u,o,l,d,n;return{setters:[e=>{i=e.k,t=e.$,a=e.Z,r=e.F,u=e.P,o=e._,l=e.aa,d=e.ak},e=>{n=e.c},null,null],execute:function(){var s=document.createElement("style");s.textContent=".issues-list .issue-item[data-v-97e90b76]{margin-bottom:20px;border:2px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1);page-break-inside:avoid}.issues-list .issue-item.high[data-v-97e90b76]{border-left:6px solid #ff4d4f}.issues-list .issue-item.medium[data-v-97e90b76]{border-left:6px solid #faad14}.issues-list .issue-item.low[data-v-97e90b76]{border-left:6px solid #52c41a}.issues-list .issue-item.cve[data-v-97e90b76]{border-left:6px solid #722ed1}.issues-list .issue-item.ignore[data-v-97e90b76]{border-left:6px solid #999}.issues-list .issue-item .issue-header[data-v-97e90b76]{display:flex;align-items:center;padding:15px 20px;background-color:var(--home-risk-security-report-bg)}.issues-list .issue-item .issue-header .issue-number[data-v-97e90b76]{flex:0 0 40px;height:40px;border-radius:50%;background-color:#07f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px;font-size:16px}.issues-list .issue-item .issue-header .issue-name[data-v-97e90b76]{flex:1;font-weight:500;font-size:16px}.issues-list .issue-item .issue-header .issue-level[data-v-97e90b76]{padding:4px 12px;border-radius:6px;font-size:14px;margin-right:15px;font-weight:700}.issues-list .issue-item .issue-header .issue-level.high[data-v-97e90b76]{background-color:#ff4d4f;color:#fff}.issues-list .issue-item .issue-header .issue-level.medium[data-v-97e90b76]{background-color:#faad14;color:#fff}.issues-list .issue-item .issue-header .issue-level.low[data-v-97e90b76]{background-color:#52c41a;color:#fff}.issues-list .issue-item .issue-header .issue-level.ignore[data-v-97e90b76]{background-color:#f0f0f0;color:#666}.issues-list .issue-item .issue-header .issue-auto[data-v-97e90b76]{padding:4px 12px;border-radius:6px;font-size:14px;background-color:#f5f5f5;color:#666}.issues-list .issue-item .issue-header .issue-auto.supported[data-v-97e90b76]{background-color:#e6f7ff;color:#07f}.issues-list .issue-item .issue-content[data-v-97e90b76]{padding:20px}.issues-list .issue-item .issue-content .issue-ps[data-v-97e90b76]{margin-bottom:15px;color:#666;font-size:16px;line-height:1.6}.issues-list .issue-item .issue-content .issue-tips[data-v-97e90b76]{background-color:var(--home-risk-security-report-bg);padding:15px;border-radius:8px;border-left:4px solid #0077ff}.issues-list .issue-item .issue-content .issue-tips .tips-title[data-v-97e90b76]{font-weight:500;margin-bottom:10px;font-size:16px;color:#333}.issues-list .issue-item .issue-content .issue-tips .tips-content[data-v-97e90b76]{color:#666;white-space:pre-line;line-height:1.6;font-size:15px}\n/*$vite$:1*/",document.head.appendChild(s);const c={class:"issues-list"},p=["item"],f={class:"issue-header"},b={class:"issue-number"},m=["innerHTML"],v={class:"issue-level high"},g={class:"issue-content"},x={class:"issue-ps"},h={class:"issue-tips"},y=["innerHTML"],k={key:0,class:"pagination-note"};e("default",n(i({__name:"CveSection",props:{data:{type:Array,required:!0},pageIndex:{type:Number,required:!0},totalPages:{type:Number,required:!0}},setup(e){const s=e;return(e,i)=>(t(),a("div",c,[(t(!0),a(r,null,u(s.data,((e,s)=>(t(),a("div",{class:"issue-item cve",key:"cve-"+s,item:e},[o("div",f,[o("div",b,l(e.num),1),o("div",{class:"issue-name",innerHTML:e.name},null,8,m),o("div",v,l(e.level),1)]),o("div",g,[o("div",x,l(e.ps),1),o("div",h,[i[0]||(i[0]=o("div",{class:"tips-title"},"Solution",-1)),o("div",{class:"tips-content",innerHTML:e.tips.replace(/\n/g,"<br>")},null,8,y)])])],8,p)))),128)),s.totalPages>1?(t(),a("div",k," Total "+l(s.totalPages)+" pages, current page "+l(s.pageIndex+1)+". ",1)):d("",!0)]))}}),[["__scopeId","data-v-97e90b76"]]))}}}));