CI Build Artifacts (commit: a2486a7d38, version: 1.8.0-dev)

This commit is contained in:
github-actions[bot] committed 2026-03-11 07:33:51 +00:00
1 parent cf13f60a8b
commit da17f8b2de
24 files changed
+27 -71

No files matched your search

@@ -0,0 +1,2 @@
(("undefined"!==typeof self?self:this)["webpackChunkharvester_1_8_0_dev"]=("undefined"!==typeof self?self:this)["webpackChunkharvester_1_8_0_dev"]||[]).push([[882],{67740:function(e,t,r){"use strict";r.d(t,{A:function(){return v}});var s=r(9274);const o={class:"filter"},a={key:0,class:"banner-item bg-warning"},n={ref:"actionDropDown",class:"btn bg-primary mr-10"},i={class:"filter-popup"};function l(e,t,r,l,c,p){const d=(0,s.resolveComponent)("LabeledSelect"),u=(0,s.resolveComponent)("v-dropdown");return(0,s.openBlock)(),(0,s.createElementBlock)("div",o,[c.parentSriov?((0,s.openBlock)(),(0,s.createElementBlock)("span",a,[(0,s.createTextVNode)((0,s.toDisplayString)(c.parentSriov)+" ",1),(0,s.createElementVNode)("i",{class:"icon icon-close",onClick:t[0]||(t[0]=e=>p.remove())})])):(0,s.createCommentVNode)("",!0),(0,s.createVNode)(u,{"popper-class":"filter-parent-sriov",trigger:"click",placement:"bottom-end",distance:20},{popper:(0,s.withCtx)((()=>[(0,s.createElementVNode)("div",i,[(0,s.createElementVNode)("div",null,[(0,s.createVNode)(d,{value:c.parentSriov,"onUpdate:value":t[1]||(t[1]=e=>c.parentSriov=e),options:r.parentSriovOptions,searchable:!0,label:r.label},null,8,["value","options","label"])])])])),default:(0,s.withCtx)((()=>[(0,s.renderSlot)(e.$slots,"header",{},(()=>[(0,s.createElementVNode)("button",n,[(0,s.renderSlot)(e.$slots,"title",{},(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(r.label),1)]),!0)],512)]),!0)])),_:3})])}var c=r(32748),p={name:"HarvesterFilterLabel",emits:["change-rows"],components:{LabeledSelect:c.A},props:{rows:{type:Array,required:!0},parentSriovOptions:{type:Array,required:!0},parentSriovLabel:{type:String,required:!0},label:{type:String,required:!0}},data(){return{parentSriov:this.$route.query?.parentSriov||null}},methods:{remove(){this.parentSriov=null,this.filterRows()},filterRows(){const e=this.rows.filter((e=>{if(!this.parentSriov)return!0;const t=e.labels[this.parentSriovLabel];return t===this.parentSriov}));this.$emit("change-rows",e,this.parentSriov)}},watch:{parentSriov:{deep:!0,immediate:!0,handler(){this.filterRows()}}}},d=(r(73876),r(66446),r(47433));const u=(0,d.A)(p,[["render",l],["__scopeId","data-v-f3c890e8"]]);var v=u},56671:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return w}});var s=r(9274);const o=["onClick"],a=["onClick"],n={key:0},i={key:1,class:"text-muted"};function l(e,t,r,l,c,p){const d=(0,s.resolveComponent)("FilterBySriov"),u=(0,s.resolveComponent)("ResourceTable"),v=(0,s.resolveDirective)("clean-html"),h=(0,s.resolveDirective)("trim-whitespace");return(0,s.openBlock)(),(0,s.createBlock)(u,{headers:c.headers,schema:r.schema,rows:c.filterRows,"use-query-params-for-simple-filtering":!0,"sort-generation-fn":p.sortGenerationFn,"rows-per-page":10},{"group-by":(0,s.withCtx)((({group:t})=>[(0,s.withDirectives)(((0,s.openBlock)(),(0,s.createElementBlock)("div",{ref:t.key,class:"group-tab"},[p.groupIsAllEnabled(t.rows)?((0,s.openBlock)(),(0,s.createElementBlock)("button",{key:0,type:"button",class:"btn btn-sm role-secondary mr-5",onClick:e=>{p.disableGroup(t.rows),e.target.blur()}},(0,s.toDisplayString)(e.t("harvester.pci.disableGroup")),9,o)):((0,s.openBlock)(),(0,s.createElementBlock)("button",{key:1,type:"button",class:"btn btn-sm role-secondary mr-5",onClick:e=>{p.enableGroup(t.rows),e.target.blur()}},(0,s.toDisplayString)(e.t("harvester.pci.enableGroup")),9,a)),(0,s.withDirectives)((0,s.createElementVNode)("span",null,null,512),[[v,t.key]])])),[[h]])])),"cell:claimed":(0,s.withCtx)((({row:e})=>[e.isEnabled?((0,s.openBlock)(),(0,s.createElementBlock)("span",n,(0,s.toDisplayString)(e.claimedBy),1)):((0,s.openBlock)(),(0,s.createElementBlock)("span",i,"—"))])),"more-header-middle":(0,s.withCtx)((()=>[(0,s.createVNode)(d,{ref:"filterByParentSRIOV","parent-sriov-options":p.parentSriovOptions,"parent-sriov-label":p.parentSriovLabel,label:e.t("harvester.sriov.parentSriov"),rows:c.rows,onChangeRows:p.changeRows},null,8,["parent-sriov-options","parent-sriov-label","label","rows","onChangeRows"]),p.vGPUAsPCIDeviceEnabled?((0,s.openBlock)(),(0,s.createBlock)(d,{key:0,ref:"filterByParentSRIOVGPU","parent-sriov-options":p.parentSriovGPUOptions,"parent-sriov-label":p.parentSriovGPULabel,label:e.t("harvester.sriov.parentSriovGPU"),rows:c.rows,onChangeRows:p.changeRows},null,8,["parent-sriov-options","parent-sriov-label","label","rows","onChangeRows"])):(0,s.createCommentVNode)("",!0)])),_:1},8,["headers","schema","rows","sort-generation-fn"])}var c=r(76996),p=r(68774),d=r(88339),u=r(2602),v=r(32766),h=r(67740),m={name:"ListPciDevices",components:{ResourceTable:c.A,FilterBySriov:h.A},inheritAttrs:!1,props:{schema:{type:Object,required:!0},devices:{type:Array,required:!0}},async fetch(){const e=this.$store.getters["currentProduct"].inStore,t={pciclaims:this.$store.dispatch(`${e}/findAll`,{type:v.rk.PCI_CLAIM}),sriovs:this.$store.dispatch(`${e}/findAll`,{type:v.rk.SR_IOV}),srigpuovs:this.$store.dispatch(`${e}/findAll`,{type:v.rk.SR_IOVGPU_DEVICE})Line truncated
//# sourceMappingURL=harvester-1.8.0-dev.umd.min.882.js.map