PageSourceSearch

https://nusagold.com.my/assets/ProductIndex-DTc5P3Uu.js

js nusagold.com.my collected 2026-10-10 01:54:03 UTC 2,547 bytes, 1 lines download raw bytes

1import{P as b,a as m,b as f}from"./ProductTable-Do3mhb-f.js";import{h as P}from"./module-CYOBmVmI.js";import{d as _,r as a,_ as v,c as r,b as t,q as n,v as R,an as T,g as d,h as l}from"./index-BiNElWAS.js";import"./form-data-CS5u0Hln.js";import"./product-LzVBO5-h.js";import"./BaseTable-7wE6CdkE.js";import"./vue-skeletor.esm-CmHjpPLi.js";import"./assets-Ckar7Qhq.js";import"./BootstrapPagination-DTPAkT8K.js";import"./multiselect-Dt1ifPrq.js";import"./number-format-BAldXnqs.js";import"./inputmask-CAoaweY4.js";import"./index.esm-BRoZROyn.js";import"./corporate-BfNdskJn.js";import"./FileCropper-BnHMaMbK.js";const h=_({components:{ProductTable:f,ProductCreateModal:m,ProductRequestTable:b},setup(){const s=a(),e=a(),o=a();return{productTableRef:s,productRequestTableRef:e,modalCreateProductRef:o,hasRoles:P,createProduct:()=>{o.value.modalShow()}}}}),y={class:"row"},g={class:"col-12"},C={class:"card"},q={class:"card-header"},k={class:"card-toolbar"},x={key:0,class:"indicator-label"},w={key:1,class:"indicator-label"},B={class:"card-body"},$={class:"tab-content",id:"myTabContent"},A={class:"tab-pane fade show active",id:"sellAndBuyTabPane",role:"tabpanel"},N={class:"tab-pane fade",id:"othersTabPane",role:"tabpanel"};function S(s,e,o,c,V,M){const i=d("ProductTable"),u=d("ProductRequestTable"),p=d("ProductCreateModal");return l(),r("div",y,[t("div",g,[t("div",C,[t("div",q,[e[3]||(e[3]=t("div",{class:"card-title"},"Products",-1)),t("div",k,[t("button",{id:"exportSubmitButton",type:"button",ref:"btnSubmitExportRef",onClick:e[0]||(e[0]=E=>s.createProduct()),class:"btn btn-primary btn-sm"},[e[1]||(e[1]=t("i",{class:"bi bi-plus-circle"},null,-1)),s.hasRoles(["superadmin"])?(l(),r("span",x," Add Product ")):(l(),r("span",w," Request to Add Product ")),e[2]||(e[2]=t("span",{class:"indicator-progress"},[R(" Please wait... "),t("span",{class:"spinner-border spinner-border-sm align-middle ms-2"})],-1))],512)])]),t("div",B,[e[4]||(e[4]=T('<ul class="card-title nav nav-tabs nav-line-tabs fs-6 mb-0"><li class="nav-item"><a class="nav-link active fs-5 fw-bold text-gray-900 pt-2 me-2" data-bs-toggle="tab" href="#sellAndBuyTabPane"> Live Products </a></li><li class="nav-item"><a class="nav-link fs-5 fw-bold text-gray-900 pt-2 me-2" data-bs-toggle="tab" href="#othersTabPane"> Product Requests </a></li></ul>',1)),t("div",$,[t("div",A,[n(i,{ref:"productTableRef"},null,512)]),t("div",N,[n(u,{ref:"productRequestTableRef"},null,512)])])])])]),n(p,{ref:"modalCreateProductRef"},null,512)])}const Y=v(h,[["render",S]]);export{Y as default};

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.