PageSourceSearch

https://datasuite.fptcloud.com/assets/index-LlXUxn6T.js

js fptcloud.com collected 2026-10-01 12:39:54 UTC 3,802 bytes, 1 lines download raw bytes

1import{j as e}from"./react-DJo-hRcj.js";import{_ as m}from"./lodash-D9U91hCZ.js";import{bb as P,I as f,bd as L,c8 as A,b$ as _,bq as d,be as C,J as F,bc as c}from"./vendors-_9dKRPAn.js";import{d as n,e as M,T as l,B as k,bt as I,Y as S}from"./index-B5XNITP8.js";import{A as w}from"./index-SnFB1gz5.js";import{C as B}from"./index-D_wmWopG.js";import{H as D}from"./index-fAv5m2E8.js";import"./SharedComponents-CFIIYYlL.js";import{L as v}from"./LogoLoading-3jPleMLf.js";import{aq as U,aV as u}from"./mui-core-DIGHSUz9.js";import{L as q}from"./Layout-hleQVaK2.js";import{P as H}from"./PipelineTemplateRepository-DV76QlCI.js";import{R as K}from"./ReportTemplateQueryRepository-Bp6yVYvw.js";import"./mui-x-WaaF4sFd.js";import"./toastifyV2-JsPZrQKQ.js";import"./LogoSkeleton-mOXeuBlj.js";import"./useCheckPermissionSidebar-BJ_M-sXv.js";import"./LocalStorageManager-Brbsb2wO.js";import"./index-C6hXkfvS.js";import"./useUrlParams-9vBjnh_J.js";import"./Search-BtClgkYE.js";import"./ModalV2-Bwgoj2D8.js";import"./org-switch-rules-CALv74Cz.js";import"./useOrgList-CLYvyZdj.js";import"./DashboardQueryRepository-BaKnPLob.js";import"./Search-CSvDv4Dl.js";import"./Building-_OqbRV1u.js";import"./Check-DzZWfpvT.js";import"./languageManager-_RIZidnS.js";import"./LocalStorageManager-Cf9EMmua.js";import"./constants-BhQb0AAi.js";import"./getHttpStatusCode-D6Fy-dO9.js";import"./getTenantId-D-FzaJmc.js";const N=({image:t,title:r,description:s,sx:o,to:a})=>e.jsxs(U,{className:"card-item",gap:2,sx:{padding:2,borderRadius:M.small,border:`1px solid ${n.bd.surface.main}`,backgroundColor:"#FFF","&:hover":{border:`1px solid ${n.bd.surface.sf2}`},...o},children:[a?e.jsx(e.Fragment,{children:e.jsxs(P,{to:a,style:{textDecoration:"none",color:n.txt.normal.secondary},children:[e.jsx("img",{src:t,alt:r,style:{width:"100%"}}),e.jsx(l,{variant:"h4SMedium",children:r})]})}):e.jsxs(e.Fragment,{children:[e.jsx("img",{src:t,alt:r}),e.jsx(l,{variant:"h4SMedium",children:r})]}),e.jsx(l,{variant:"bodyMBaseRegular",color:n.txt.normal.tertiary,children:s})]});function Re(){const{t}=f(),r=L(),{tenantId:s,projectId:o}=A(),a=_(),x=new K({queryClient:a}),{data:T,isLoading:g}=d({...x.getReportTemplate(),suspense:!1}),h=new H({queryClient:a}),{data:j}=d({...h.getPipelineTemplates({workspaceId:o,page:0,pageSize:1,isPending:"true"}),enabled:!!o,keepPreviousData:!0}),y=m(T,"data.data.data",[]),p=m(j,"data.data.rows",[]),E=m(p,"[0].id",""),b=()=>{r.replace(c(S,{projectId:o,pipelineReleaseId:E,tenantId:s}))};return e.jsxs(q,{children:[e.jsxs(C,{children:[e.jsxs("title",{children:[t("template_marketplace")," - FPT Data Suite"]}),e.jsx("meta",{name:"description",content:"Your personalized dashboard with reports"}),e.jsx("meta",{name:"keywords",content:"dashboard, reports, workspace, analytics"})]}),e.jsx(B,{header:e.jsx(D,{title:t("template_marketplace"),description:t("template_marketplace.description")}),content:e.jsxs(e.Fragment,{children:[p&&p.length>0&&e.jsx(w,{hasButton:!0,variant:"warning",buttonStyle:{minWidth:120,backgroundColor:"#F79F08"},buttonText:t("MARKET_TEMPLATE.REPORT_TEMPLATE_ALERT.BTN_CONTINUE_SETUP")||"Continue Setup",title:t("MARKET_TEMPLATE.REPORT_TEMPLATE_ALERT.TITLE","Incomplete Pipeline"),onButtonClick:b,descriptionStyle:{flex:1},description:e.jsx(k,{style:{color:"#DC6903"},children:e.jsx(F,{i18nKey:"MARKET_TEMPLATE.REPORT_TEMPLATE_ALERT.SUMMARY",components:{bold:e.jsx("span",{style:{fontWeight:"500",color:"#DC6903"}})}})}),sx:{marginBottom:"24px",backgroundColor:"#FFFAB8",border:"1px solid #F3D768",color:"#DC6903"}}),e.jsxs(u,{container:!0,spacing:4,children:[g??e.jsx(v,{}),y.map((i,R)=>e.jsx(u,{item:!0,xs:12,sm:6,md:4,lg:3,children:e.jsx(N,{image:i.image,title:i.name,description:i.summary,to:c(I,{reportTemplateId:i.id,tenantId:s,projectId:o})})},R))]})]})})]})}export{Re 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.