UNPKG

unleash-server

Version:

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

2 lines (1 loc) 938 B
import{cV as n,bk as l,j as e,C as c,W as s,B as d,iQ as g,iR as h,iS as u,iT as f,iU as x,iV as m,iW as p}from"./index-DEkgmbaI.js";import{B as S}from"./index-ZiL5S4gH.js";import{a as j}from"./formatTickValue-rCxDfz30.js";import{u as C,d as P,S as w,T as y,P as B,c as T,g as b}from"./useChartDataSelection-BHo-osxd.js";const k=()=>{n("Network - Frontend Traffic Usage");const{isOss:a}=l(),{chartDataSelection:t,setChartDataSelection:i,options:r}=C(),{chartData:o}=P(t);return e.jsx(c,{condition:a(),show:e.jsx(s,{severity:"warning",children:"Not enabled."}),elseShow:e.jsx(e.Fragment,{children:e.jsxs(w,{children:[e.jsxs(y,{children:[e.jsx(d,{children:e.jsx(s,{severity:"info",icon:!1,children:"Frontend traffic is determined by the total SDK requests to the Frontend API"})}),e.jsx(B,{selectedPeriod:t,setPeriod:i})]}),e.jsx(S,{data:o,plugins:[T()],options:r,"aria-label":b(t)})]})})})};g.register(j,h,u,f,x,m,p);export{k as default};