UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

2 lines (1 loc) 1.06 kB
import{cy as n,b9 as l,j as e,C as c,B as d,Q as a,l1 as g,dr as h,ds as p,dt as f,l2 as u,l3 as m,l4 as x,l5 as j}from"./index-Cikp5fMR.js";import{a as S}from"./formatTickValue-BxmGFWwJ.js";import{u as C,c as w,S as y,T as P,P as T,n as b,g as B}from"./networkTrafficUsageHighlightPlugin-mvUd1fv5.js";import"./LazyAdminExport-CE3juyvl.js";import"./RoleCell-4trKLU2Y.js";import"./useApiTokens-BHKIbW5c.js";import"./PercentageDonut-CC9h07JZ.js";const q=()=>{n("Network - Frontend Traffic Usage");const{isOss:s}=l(),{chartDataSelection:t,setChartDataSelection:r,options:i}=C(),{chartData:o}=w(t);return e.jsx(c,{condition:s(),show:e.jsx(a,{severity:"warning",children:"Not enabled."}),elseShow:e.jsx(e.Fragment,{children:e.jsxs(y,{children:[e.jsxs(P,{children:[e.jsx(d,{children:e.jsx(a,{severity:"info",icon:!1,children:"Frontend traffic is determined by the total SDK requests to the Frontend API"})}),e.jsx(T,{selectedPeriod:t,setPeriod:r})]}),e.jsx(g,{data:o,plugins:[b],options:i,"aria-label":B(t)})]})})})};h.register(S,p,f,u,m,x,j);export{q as default};