@e-llm-studio/federated-dashboard-components 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js +1 -1
- package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +1 -1
- package/dist/ExecutiveDashboard/components/Graph/LineChart.js +1 -1
- package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +1 -1
- package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +1 -1
- package/dist/cjs/styles.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__awaiter as n,__rest as e,__assign as r,__generator as t,__spreadArray as l}from"../_virtual/_tslib.js";import{jsx as o,Fragment as a,jsxs as i}from"react/jsx-runtime";import u,{useState as d,useRef as s,useMemo as c,useCallback as v,useEffect as f}from"react";import{ExecutiveDashboard as b}from"./components/ExecutiveDashboard.js";import{DATE_PRESETS as g}from"./components/DashboardDateFilter/datePreset.js";import{DashboardSkeleton as p}from"./components/DashboardSkeleton/DashboardSkeleton.js";import{fetchUIConfig as h,fetchCurrentConfigUIVersionFromRedis as m,fetchDashboardData as D,fetchTableData as E}from"./api/dashboardApi.js";import{useVisibilityPolling as y}from"./hooks/useVisibilityPolling.js";var I=1e4;function w(w){var C,F,S=this,A=w.baseUrl,P=void 0===A?"https://dev.appmod.ai":A,R=w.configId,j=w.graphEmptyState,M=w.tables,x=w.tableLayout,L=w.sectionOrder,O=w.hiddenSections,k=w.fetchUIConfig,T=w.fetchUIVersionFromRedis,U=w.fetchDashboardData,N=w.fetchTableData,V=w.initialStartDate,K=w.initialEndDate,B=w.onDateChange,_=w.onFiltersApplied,z=w.renderLoading,G=w.renderError,H=w.pollingConfigProp,q=null!=k?k:h,J=null!=T?T:m,Q=null!=U?U:D,W=null!=N?N:E,X=d(null),Y=X[0],Z=X[1],$=d(null),nn=$[0],en=$[1],rn=d(!0),tn=rn[0],ln=rn[1],on=d(!0),an=on[0],un=on[1],dn=d(null),sn=dn[0],cn=dn[1],vn=d(!1),fn=vn[0],bn=vn[1],gn=d({}),pn=gn[0],hn=gn[1],mn=d({}),Dn=mn[0],En=mn[1],yn=d({}),In=yn[0],wn=yn[1],Cn=d(null),Fn=Cn[0],Sn=Cn[1],An=u.useRef(null),Pn=u.useRef(!1),Rn=s(null),jn=s(null),Mn=s({}),xn=s(null),Ln=s(new Set),On=s(!1),kn=s(I),Tn=s(-1),Un=s(!0),Nn=d(null!==(F=null===(C=null==Y?void 0:Y.data)||void 0===C?void 0:C.dateFilters.defaultPreset)&&void 0!==F?F:"today"),Vn=Nn[0],Kn=Nn[1],Bn=d(!1),_n=Bn[0],zn=Bn[1],Gn=d({}),Hn=Gn[0],qn=Gn[1],Jn=c(function(){var n,e;if(Y){var r=Y.data.dateFilters;return(null==r?void 0:r.pollingEnabled)&&(kn.current=null!==(n=r.pollingInterval)&&void 0!==n?n:I),{pollingEnabled:null!==(e=Boolean("yes"===(null==r?void 0:r.pollingEnabled)))&&void 0!==e&&e,pollingInterval:I,maxErrorInterval:5e4,backoffMultiplier:1.5}}},[Y]),Qn=c(function(){return null!=H?H:Jn},[H,Jn]),Wn=function(n){var e=Object.values(g).find(function(e){return e.value===n});return e&&"getRange"in e?e.getRange():null},Xn=v(function(){return n(S,void 0,void 0,function(){var n,e,r,l,o,a,i,u,d,s,c,v,f,b;return t(this,function(t){switch(t.label){case 0:ln(!0),cn(null),null===(i=Rn.current)||void 0===i||i.abort(),n=new AbortController,Rn.current=n,t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,q({configId:R,baseUrl:P},n.signal)];case 2:return e=t.sent(),Z(e),r={},null===(s=null===(d=null===(u=null==e?void 0:e.data)||void 0===u?void 0:u.graphBuilder)||void 0===d?void 0:d.tiers)||void 0===s||s.forEach(function(n){n.plotOptions.length>0&&(r[n.key]=n.plotOptions[0].value)}),hn(r),l={},null===(v=null===(c=null==e?void 0:e.data)||void 0===c?void 0:c.sidebarFilters)||void 0===v||v.forEach(function(n){l[n.schemaFilterName]="Multi select"===n.type?[]:""}),En(l),wn(l),Pn.current||(o=V&&K?{startDate:V,endDate:K}:Wn(null===(b=null===(f=null==e?void 0:e.data)||void 0===f?void 0:f.dateFilters)||void 0===b?void 0:b.defaultPreset))&&(Pn.current=!0,An.current={start:o.startDate.getTime(),end:o.endDate.getTime()},Sn({start:o.startDate,end:o.endDate})),[3,5];case 3:return"AbortError"===(null==(a=t.sent())?void 0:a.name)?[2]:(cn(a),[3,5]);case 4:return Rn.current===n&&ln(!1),[7];case 5:return[2]}})})},[R,P,q,V,K]),Yn=v(function(){return n(S,void 0,void 0,function(){var n,e,r,l,o;return t(this,function(t){switch(t.label){case 0:if(On.current)return[3,7];On.current=!0,console.log("----- POLLING API ----"),null===(o=xn.current)||void 0===o||o.abort(),n=new AbortController,xn.current=n,t.label=1;case 1:return t.trys.push([1,5,6,7]),[4,J({configId:R,baseUrl:P},n.signal)];case 2:return(null==(e=t.sent())?void 0:e.timestamp)&&parseInt(null==e?void 0:e.timestamp)>Tn.current?(r=Wn(Vn),console.log("loadData ranges: ",{selectedPreset:Vn,currentRange:r}),[4,Zn(r).then(function(){return Tn.current=parseInt(e.timestamp)})]):[3,4];case 3:t.sent(),t.label=4;case 4:return Un.current=!1,[3,7];case 5:return"AbortError"===(null==(l=t.sent())?void 0:l.name)?[2]:(console.error("Something went wrong while fetching version from Redis"),[3,7]);case 6:return On.current=!1,[7];case 7:return[2]}})})},[Vn,J]);y((null==Jn?void 0:Jn.pollingEnabled)&&_n,kn.current,Yn,[Qn,_n,Vn,Yn]),f(function(){return Xn(),function(){var n;return null===(n=Rn.current)||void 0===n?void 0:n.abort()}},[Xn]),f(function(){if(Jn&&Jn.pollingEnabled){var n=Jn.pollingInterval;"number"==typeof n&&!isNaN(n)&&n>0&&(kn.current=n)}},[Jn]);var Zn=v(function(e){return n(S,void 0,void 0,function(){var n,r,l,o,a,i,u,d;return t(this,function(t){switch(t.label){case 0:if(!Fn)return[2];null===(a=jn.current)||void 0===a||a.abort(),n=new AbortController,jn.current=n,Un.current&&un(!0),cn(null),console.log("loadData ranges: ",{selectedPreset:Vn,currentRange:e}),t.label=1;case 1:return t.trys.push([1,3,4,5]),r={startDate:(null==Jn?void 0:Jn.pollingEnabled)&&e&&"custom"!==Vn?e.startDate:Fn.start,endDate:(null==Jn?void 0:Jn.pollingEnabled)&&e&&"custom"!==Vn?e.endDate:Fn.end,filters:In},[4,Q({configId:R,baseUrl:P},r,n.signal)];case 2:return l=t.sent(),en(l),(null==Jn?void 0:Jn.pollingEnabled)||qn({}),kn.current&&(null==Qn?void 0:Qn.pollingEnabled)&&(null==Jn?void 0:Jn.pollingInterval)&&(kn.current=null!==(i=null==Qn?void 0:Qn.pollingInterval)&&void 0!==i?i:I),[3,5];case 3:return"AbortError"===(null==(o=t.sent())?void 0:o.name)?[2]:(cn(o),kn.current&&(null==Qn?void 0:Qn.maxErrorInterval)&&(kn.current=Math.min(kn.current*(null!==(u=null==Jn?void 0:Jn.backoffMultiplier)&&void 0!==u?u:1.5),null!==(d=null==Jn?void 0:Jn.maxErrorInterval)&&void 0!==d?d:5e4)),[3,5]);case 4:return jn.current===n&&un(!1),[7];case 5:return[2]}})})},[R,P,Fn,In,Q]),$n=v(function(e,o){return n(S,void 0,void 0,function(){var n,a,i,u,d,s,c;return t(this,function(t){switch(t.label){case 0:if(!Fn||!Ln.current.has(e)||Mn.current[e])return[2];n=new AbortController,Mn.current[e]=n,a=function(){return!Ln.current.has(e)||n.signal.aborted||Mn.current[e]!==n},qn(function(n){var t,l,o,a,i,u,d,s;return r(r({},n),((t={})[e]={rows:null!==(o=null===(l=n[e])||void 0===l?void 0:l.rows)&&void 0!==o?o:[],cursor:null===(a=n[e])||void 0===a?void 0:a.cursor,hasMore:null!==(u=null===(i=n[e])||void 0===i?void 0:i.hasMore)&&void 0!==u&&u,loading:!0,loaded:null!==(s=null===(d=n[e])||void 0===d?void 0:d.loaded)&&void 0!==s&&s},t))}),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,W({configId:R,baseUrl:P},r({startDate:Fn.start,endDate:Fn.end,filters:In,tableKey:e,pageSize:20},o?{cursor:o}:{}),n.signal)];case 2:return i=t.sent(),u=null!==(c=null===(s=i.table)||void 0===s?void 0:s[e])&&void 0!==c?c:[],a()?[2]:(qn(function(n){var t,o,a=n[e];return a?r(r({},n),((t={})[e]={rows:l(l([],a.rows,!0),u,!0),cursor:null!==(o=i.nextCursor)&&void 0!==o?o:void 0,hasMore:i.hasNext,loading:!1,loaded:!0},t)):n}),[3,5]);case 3:return"AbortError"===(null==(d=t.sent())?void 0:d.name)||a()?[2]:(qn(function(n){var t;return n[e]?r(r({},n),((t={})[e]=r(r({},n[e]),{loading:!1,hasMore:!1}),t)):n}),[3,5]);case 4:return Mn.current[e]===n&&delete Mn.current[e],[7];case 5:return[2]}})})},[R,P,Fn,In,W]),ne=v(function(n,r){var t;if(!r)return Ln.current.delete(n),null===(t=Mn.current[n])||void 0===t||t.abort(),delete Mn.current[n],void qn(function(r){var t=r,l=n;return t[l],e(t,["symbol"==typeof l?l:l+""])});Ln.current.add(n),$n(n)},[$n]),ee=v(function(n){var e=Hn[n];(null==e?void 0:e.hasMore)&&!e.loading&&e.cursor&&$n(n,e.cursor)},[$n,Hn]);f(function(){return function(){Ln.current.clear(),Object.values(Mn.current).forEach(function(n){return n.abort()})}},[]),f(function(){return Zn(),function(){var n;return null===(n=jn.current)||void 0===n?void 0:n.abort()}},[Zn]),f(function(){return function(){var n;return null===(n=xn.current)||void 0===n?void 0:n.abort()}},[]),f(function(){!function(n){var e=Object.values(g).find(function(e){return e.value===n}),r=!(!e||!("pollingEnabled"in e)||!1===e.pollingEnabled);zn(r)}(Vn)},[Vn]);var re=v(function(n){if((null==n?void 0:n.startDate)&&(null==n?void 0:n.endDate)){var e=n.startDate.getTime(),r=n.endDate.getTime();An.current&&An.current.start===e&&An.current.end===r||(An.current={start:e,end:r},Sn({start:n.startDate,end:n.endDate}))}null==B||B(n),un(!0)},[B]),te=tn||an&&!nn;return sn?G?o(a,{children:G(sn,Xn)}):i("div",r({style:{padding:24,color:"#b91c1c"}},{children:["Failed to load dashboard: ",sn.message,o("button",r({onClick:Xn,style:{marginLeft:12}},{children:"Retry"}))]})):!te&&Y&&nn&&Fn?(console.log("pollingEnabled: ",null==Jn?void 0:Jn.pollingEnabled,_n),o(b,{uiConfig:Y,data:nn,dataLoading:an,startDate:Fn.start,endDate:Fn.end,onDateChange:re,onRefresh:function(){Zn(),un(!0)},selectedKpis:pn,onKpiChange:function(n,e){hn(function(t){var l;return r(r({},t),((l={})[n]=e,l))})},sidebarVisible:fn,onSidebarShow:function(){return bn(!0)},onSidebarHide:function(){return bn(!1)},filterValues:Dn,onFilterChange:function(n,e){En(function(t){var l;return r(r({},t),((l={})[n]=e,l))})},onFilterReset:function(){if(Y){var n={};Y.data.sidebarFilters.forEach(function(e){n[e.id]="multiSelect"===e.type?[]:""}),En(n)}},onFilterApply:function(){wn(Dn),bn(!1),null==_||_(Dn)},appliedFilters:In,graphEmptyState:j,tables:M,tableLayout:x,sectionOrder:L,hiddenSections:O,tablePages:Hn,onTableExpand:ne,onTableLoadMore:ee,pollingEnabled:(null==Jn?void 0:Jn.pollingEnabled)&&_n,selectedPreset:Vn,handlePresetChange:function(n){Kn(n)}})):z?o(a,{children:z()}):o(p,{})}export{w as ExecutiveDashboardWrapper,w as default};
|
|
1
|
+
import{__awaiter as n,__rest as e,__assign as r,__generator as t,__spreadArray as l}from"../_virtual/_tslib.js";import{jsx as o,Fragment as a,jsxs as i}from"react/jsx-runtime";import u,{useState as d,useRef as s,useMemo as c,useCallback as v,useEffect as f}from"react";import{ExecutiveDashboard as b}from"./components/ExecutiveDashboard.js";import{DATE_PRESETS as g}from"./components/DashboardDateFilter/datePreset.js";import{DashboardSkeleton as p}from"./components/DashboardSkeleton/DashboardSkeleton.js";import{fetchUIConfig as h,fetchCurrentConfigUIVersionFromRedis as m,fetchDashboardData as D,fetchTableData as E}from"./api/dashboardApi.js";import{useVisibilityPolling as y}from"./hooks/useVisibilityPolling.js";var I=1e4;function w(w){var C,F,S=this,A=w.baseUrl,P=void 0===A?"https://dev.appmod.ai":A,R=w.configId,j=w.graphEmptyState,M=w.tables,x=w.tableLayout,L=w.sectionOrder,O=w.hiddenSections,k=w.fetchUIConfig,T=w.fetchUIVersionFromRedis,U=w.fetchDashboardData,N=w.fetchTableData,V=w.initialStartDate,K=w.initialEndDate,B=w.onDateChange,_=w.onFiltersApplied,z=w.renderLoading,G=w.renderError,H=w.pollingConfigProp,q=null!=k?k:h,J=null!=T?T:m,Q=null!=U?U:D,W=null!=N?N:E,X=d(null),Y=X[0],Z=X[1],$=d(null),nn=$[0],en=$[1],rn=d(!0),tn=rn[0],ln=rn[1],on=d(!0),an=on[0],un=on[1],dn=d(null),sn=dn[0],cn=dn[1],vn=d(!1),fn=vn[0],bn=vn[1],gn=d({}),pn=gn[0],hn=gn[1],mn=d({}),Dn=mn[0],En=mn[1],yn=d({}),In=yn[0],wn=yn[1],Cn=d(null),Fn=Cn[0],Sn=Cn[1],An=u.useRef(null),Pn=u.useRef(!1),Rn=s(null),jn=s(null),Mn=s({}),xn=s(null),Ln=s(new Set),On=s(!1),kn=s(I),Tn=s(-1),Un=s(!0),Nn=d(null!==(F=null===(C=null==Y?void 0:Y.data)||void 0===C?void 0:C.dateFilters.defaultPreset)&&void 0!==F?F:"today"),Vn=Nn[0],Kn=Nn[1],Bn=d(!1),_n=Bn[0],zn=Bn[1],Gn=d({}),Hn=Gn[0],qn=Gn[1],Jn=c(function(){var n,e;if(Y){var r=Y.data.dateFilters;return(null==r?void 0:r.pollingEnabled)&&(kn.current=null!==(n=r.pollingInterval)&&void 0!==n?n:I),{pollingEnabled:null!==(e=Boolean("yes"===(null==r?void 0:r.pollingEnabled)))&&void 0!==e&&e,pollingInterval:I,maxErrorInterval:5e4,backoffMultiplier:1.5}}},[Y]),Qn=c(function(){return null!=H?H:Jn},[H,Jn]),Wn=function(n){var e=Object.values(g).find(function(e){return e.value===n});return e&&"getRange"in e?e.getRange():null},Xn=v(function(){return n(S,void 0,void 0,function(){var n,e,r,l,o,a,i,u,d,s,c,v,f,b;return t(this,function(t){switch(t.label){case 0:ln(!0),cn(null),null===(i=Rn.current)||void 0===i||i.abort(),n=new AbortController,Rn.current=n,t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,q({configId:R,baseUrl:P},n.signal)];case 2:return e=t.sent(),Z(e),r={},null===(s=null===(d=null===(u=null==e?void 0:e.data)||void 0===u?void 0:u.graphBuilder)||void 0===d?void 0:d.tiers)||void 0===s||s.forEach(function(n){n.plotOptions.length>0&&(r[n.key]=n.plotOptions[0].value)}),hn(r),l={},null===(v=null===(c=null==e?void 0:e.data)||void 0===c?void 0:c.sidebarFilters)||void 0===v||v.forEach(function(n){l[n.schemaFilterName]="Multi select"===n.type?[]:""}),En(l),wn(l),Pn.current||(o=V&&K?{startDate:V,endDate:K}:Wn(null===(b=null===(f=null==e?void 0:e.data)||void 0===f?void 0:f.dateFilters)||void 0===b?void 0:b.defaultPreset))&&(Pn.current=!0,An.current={start:o.startDate.getTime(),end:o.endDate.getTime()},Sn({start:o.startDate,end:o.endDate})),[3,5];case 3:return"AbortError"===(null==(a=t.sent())?void 0:a.name)?[2]:(cn(a),[3,5]);case 4:return Rn.current===n&&ln(!1),[7];case 5:return[2]}})})},[R,P,q,V,K]),Yn=v(function(){return n(S,void 0,void 0,function(){var n,e,r,l,o;return t(this,function(t){switch(t.label){case 0:if(On.current)return[3,7];On.current=!0,console.log("----- POLLING API ----"),null===(o=xn.current)||void 0===o||o.abort(),n=new AbortController,xn.current=n,t.label=1;case 1:return t.trys.push([1,5,6,7]),[4,J({configId:R,baseUrl:P},n.signal)];case 2:return(null==(e=t.sent())?void 0:e.timestamp)&&parseInt(null==e?void 0:e.timestamp)>Tn.current?(r=Wn(Vn),console.log("loadData ranges: ",{selectedPreset:Vn,currentRange:r}),[4,Zn(r).then(function(){return Tn.current=parseInt(e.timestamp)})]):[3,4];case 3:t.sent(),t.label=4;case 4:return Un.current=!1,[3,7];case 5:return"AbortError"===(null==(l=t.sent())?void 0:l.name)?[2]:(console.error("Something went wrong while fetching version from Redis"),[3,7]);case 6:return On.current=!1,[7];case 7:return[2]}})})},[Vn,J]);y((null==Jn?void 0:Jn.pollingEnabled)&&_n,kn.current,Yn,[Qn,_n,Vn,Yn]),f(function(){return Xn(),function(){var n;return null===(n=Rn.current)||void 0===n?void 0:n.abort()}},[Xn]),f(function(){if(Jn&&Jn.pollingEnabled){var n=Jn.pollingInterval;"number"==typeof n&&!isNaN(n)&&n>0&&(kn.current=n)}},[Jn]);var Zn=v(function(e){return n(S,void 0,void 0,function(){var n,r,l,o,a,i,u,d;return t(this,function(t){switch(t.label){case 0:if(!Fn)return[2];null===(a=jn.current)||void 0===a||a.abort(),n=new AbortController,jn.current=n,Un.current&&un(!0),cn(null),console.log("loadData ranges: ",{selectedPreset:Vn,currentRange:e}),t.label=1;case 1:return t.trys.push([1,3,4,5]),r={startDate:(null==Jn?void 0:Jn.pollingEnabled)&&e&&"custom"!==Vn?e.startDate:Fn.start,endDate:(null==Jn?void 0:Jn.pollingEnabled)&&e&&"custom"!==Vn?e.endDate:Fn.end,filters:In},[4,Q({configId:R,baseUrl:P},r,n.signal)];case 2:return l=t.sent(),en(l),(null==Jn?void 0:Jn.pollingEnabled)||qn({}),kn.current&&(null==Qn?void 0:Qn.pollingEnabled)&&(null==Jn?void 0:Jn.pollingInterval)&&(kn.current=null!==(i=null==Qn?void 0:Qn.pollingInterval)&&void 0!==i?i:I,Un.current=!1),[3,5];case 3:return"AbortError"===(null==(o=t.sent())?void 0:o.name)?[2]:(cn(o),kn.current&&(null==Qn?void 0:Qn.maxErrorInterval)&&(kn.current=Math.min(kn.current*(null!==(u=null==Jn?void 0:Jn.backoffMultiplier)&&void 0!==u?u:1.5),null!==(d=null==Jn?void 0:Jn.maxErrorInterval)&&void 0!==d?d:5e4)),[3,5]);case 4:return jn.current===n&&un(!1),[7];case 5:return[2]}})})},[R,P,Fn,In,Q]),$n=v(function(e,o){return n(S,void 0,void 0,function(){var n,a,i,u,d,s,c;return t(this,function(t){switch(t.label){case 0:if(!Fn||!Ln.current.has(e)||Mn.current[e])return[2];n=new AbortController,Mn.current[e]=n,a=function(){return!Ln.current.has(e)||n.signal.aborted||Mn.current[e]!==n},qn(function(n){var t,l,o,a,i,u,d,s;return r(r({},n),((t={})[e]={rows:null!==(o=null===(l=n[e])||void 0===l?void 0:l.rows)&&void 0!==o?o:[],cursor:null===(a=n[e])||void 0===a?void 0:a.cursor,hasMore:null!==(u=null===(i=n[e])||void 0===i?void 0:i.hasMore)&&void 0!==u&&u,loading:!0,loaded:null!==(s=null===(d=n[e])||void 0===d?void 0:d.loaded)&&void 0!==s&&s},t))}),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,W({configId:R,baseUrl:P},r({startDate:Fn.start,endDate:Fn.end,filters:In,tableKey:e,pageSize:20},o?{cursor:o}:{}),n.signal)];case 2:return i=t.sent(),u=null!==(c=null===(s=i.table)||void 0===s?void 0:s[e])&&void 0!==c?c:[],a()?[2]:(qn(function(n){var t,o,a=n[e];return a?r(r({},n),((t={})[e]={rows:l(l([],a.rows,!0),u,!0),cursor:null!==(o=i.nextCursor)&&void 0!==o?o:void 0,hasMore:i.hasNext,loading:!1,loaded:!0},t)):n}),[3,5]);case 3:return"AbortError"===(null==(d=t.sent())?void 0:d.name)||a()?[2]:(qn(function(n){var t;return n[e]?r(r({},n),((t={})[e]=r(r({},n[e]),{loading:!1,hasMore:!1}),t)):n}),[3,5]);case 4:return Mn.current[e]===n&&delete Mn.current[e],[7];case 5:return[2]}})})},[R,P,Fn,In,W]),ne=v(function(n,r){var t;if(!r)return Ln.current.delete(n),null===(t=Mn.current[n])||void 0===t||t.abort(),delete Mn.current[n],void qn(function(r){var t=r,l=n;return t[l],e(t,["symbol"==typeof l?l:l+""])});Ln.current.add(n),$n(n)},[$n]),ee=v(function(n){var e=Hn[n];(null==e?void 0:e.hasMore)&&!e.loading&&e.cursor&&$n(n,e.cursor)},[$n,Hn]);f(function(){return function(){Ln.current.clear(),Object.values(Mn.current).forEach(function(n){return n.abort()})}},[]),f(function(){return Zn(),function(){var n;return null===(n=jn.current)||void 0===n?void 0:n.abort()}},[Zn]),f(function(){return function(){var n;return null===(n=xn.current)||void 0===n?void 0:n.abort()}},[]),f(function(){!function(n){var e=Object.values(g).find(function(e){return e.value===n}),r=!(!e||!("pollingEnabled"in e)||!1===e.pollingEnabled);zn(r)}(Vn)},[Vn]);var re=v(function(n){if((null==n?void 0:n.startDate)&&(null==n?void 0:n.endDate)){var e=n.startDate.getTime(),r=n.endDate.getTime();An.current&&An.current.start===e&&An.current.end===r||(An.current={start:e,end:r},Sn({start:n.startDate,end:n.endDate}))}null==B||B(n),un(!0)},[B]),te=tn||an&&!nn;return sn?G?o(a,{children:G(sn,Xn)}):i("div",r({style:{padding:24,color:"#b91c1c"}},{children:["Failed to load dashboard: ",sn.message,o("button",r({onClick:Xn,style:{marginLeft:12}},{children:"Retry"}))]})):!te&&Y&&nn&&Fn?(console.log("pollingEnabled: ",null==Jn?void 0:Jn.pollingEnabled,_n),o(b,{uiConfig:Y,data:nn,dataLoading:an,startDate:Fn.start,endDate:Fn.end,onDateChange:re,onRefresh:function(){Zn(),un(!0)},selectedKpis:pn,onKpiChange:function(n,e){hn(function(t){var l;return r(r({},t),((l={})[n]=e,l))})},sidebarVisible:fn,onSidebarShow:function(){return bn(!0)},onSidebarHide:function(){return bn(!1)},filterValues:Dn,onFilterChange:function(n,e){En(function(t){var l;return r(r({},t),((l={})[n]=e,l))})},onFilterReset:function(){if(Y){var n={};Y.data.sidebarFilters.forEach(function(e){n[e.id]="multiSelect"===e.type?[]:""}),En(n)}},onFilterApply:function(){wn(Dn),bn(!1),null==_||_(Dn)},appliedFilters:In,graphEmptyState:j,tables:M,tableLayout:x,sectionOrder:L,hiddenSections:O,tablePages:Hn,onTableExpand:ne,onTableLoadMore:ee,pollingEnabled:(null==Jn?void 0:Jn.pollingEnabled)&&_n,selectedPreset:Vn,handlePresetChange:function(n){Kn(n)}})):z?o(a,{children:z()}):o(p,{})}export{w as ExecutiveDashboardWrapper,w as default};
|
|
2
2
|
//# sourceMappingURL=ExecutiveDashboardWrapper.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as l,__spreadArray as i}from"../../_virtual/_tslib.js";import{jsx as e,Fragment as o,jsxs as n}from"react/jsx-runtime";import t,{useMemo as d}from"react";import{ChartLine as a}from"lucide-react";import r from"./DashboardDateFilter/DashboardDateFilter.js";import u from"./MetricCard/MetricCard.js";import v from"./FiltersSidebar/FiltersSidebar.js";import s from"./Graph/Graph.js";import p from"./Graph/GraphEmptyState.js";import{DATE_PRESET_MAP as c}from"./DashboardDateFilter/datePreset.js";import g from"./Table/TableCard.js";import m from"./Table/TableGrid/TableGrid.js";import{buildColumns as h,withRowIds as b}from"../utils/tableColumns.js";import{resolveSectionOrder as f,isSectionHidden as y}from"../utils/sectionOrder.js";import{getActiveFilterCount as C,isKpiValueObject as F,getKpiValueColor as k,getKpiDelta as x,formatKpiValue as D}from"../utils/index.js";import{getKpiIcon as w}from"../utils/kpiIcon.js";var B=["#7c3aed","#FFC130","#F43F5E","#10b981","#3b82f6"];function S(S){var j,L,P,O,A,T,E,M,R,V,G,H,z,I,W,q,K,N,Z,_,J,Q,U,X,Y,$,ll,il,el,ol,nl,tl,dl,al,rl,ul,vl,sl=S.uiConfig,pl=S.data,cl=S.dataLoading,gl=S.startDate,ml=S.endDate,hl=S.onDateChange,bl=S.onRefresh,fl=S.selectedKpis,yl=S.onKpiChange,Cl=S.sidebarVisible,Fl=S.onSidebarShow,kl=S.onSidebarHide,xl=S.filterValues,Dl=S.onFilterChange,wl=S.onFilterReset,Bl=S.onFilterApply,Sl=S.appliedFilters,jl=S.graphEmptyState,Ll=S.tables,Pl=S.tableLayout,Ol=S.sectionOrder,Al=S.hiddenSections,Tl=S.tablePages,El=S.onTableExpand,Ml=S.onTableLoadMore,Rl=S.pollingEnabled,Vl=void 0!==Rl&&Rl,Gl=S.selectedPreset,Hl=S.handlePresetChange,zl=null!==(P=null===(L=null===(j=null==sl?void 0:sl.data)||void 0===j?void 0:j.dateFilters)||void 0===L?void 0:L.datepresets)&&void 0!==P?P:[],Il=d(function(){return zl.map(function(l){return c[l]}).filter(Boolean)},[JSON.stringify(zl)]),Wl=d(function(){return C(Sl)},[Sl]),ql=d(function(){var l,i,e=null==Pl?void 0:Pl.spans;if(e)return(null!==(i=null===(l=null==sl?void 0:sl.data)||void 0===l?void 0:l.tableBuilder)&&void 0!==i?i:[]).map(function(l,i){return Array.isArray(e)?e[i]:e[l.key]})},[null==Pl?void 0:Pl.spans,null===(O=null==sl?void 0:sl.data)||void 0===O?void 0:O.tableBuilder]),Kl=e("div",l({style:{padding:"4px"}},{children:e(s,{loading:cl,emptyState:null!=jl?jl:e(p,{}),title:null===(A=null==sl?void 0:sl.data)||void 0===A?void 0:A.graphBuilder.title,description:null===(E=null===(T=null==sl?void 0:sl.data)||void 0===T?void 0:T.graphBuilder)||void 0===E?void 0:E.subtitle,icon:e(a,{size:18}),xAxis:{label:(null===(R=null===(M=null==sl?void 0:sl.data)||void 0===M?void 0:M.graphBuilder)||void 0===R?void 0:R.axis.xAxisLabel)||"Date"},style:{chartHeight:220},scrollable:Vl,panes:null===(V=null==sl?void 0:sl.data)||void 0===V?void 0:V.graphBuilder.tiers.map(function(l,i){var o,n,t,d,r,u,v,s,p,c,g,m,h=fl[l.key]||(null===(o=l.plotOptions[0])||void 0===o?void 0:o.key),b=pl.graph.tier.find(function(i){return i.key===l.key}),f=(null===(n=null==b?void 0:b.referenceOptions)||void 0===n?void 0:n[h])||{},y=(null===(t=null==b?void 0:b.plotbyoptions)||void 0===t?void 0:t[h])||{},C=(null==l?void 0:l.series)||[],F=Object.keys(y),k=l.plotOptions.find(function(l){return l.value===h});return{key:l.key,selector:{label:"Plot By",value:h,onChange:function(i){yl(l.key,i)},options:l.plotOptions.map(function(l){return{label:l.label,value:l.value}}),triggerIcon:e(a,{size:16,color:0===i?"green":"purple"})},yAxis:{label:null==k?void 0:k.yAxisLabel,beginAtZero:"false"!==(null==h?void 0:h.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(u=null===(r=null===(d=null==sl?void 0:sl.data)||void 0===d?void 0:d.graphBuilder)||void 0===r?void 0:r.legend)||void 0===u?void 0:u.position)||"bottom",toggle:"yes"===(null===(p=null===(s=null===(v=null==sl?void 0:sl.data)||void 0===v?void 0:v.graphBuilder)||void 0===s?void 0:s.legend)||void 0===p?void 0:p.allowToggle),align:(null===(m=null===(g=null===(c=null==sl?void 0:sl.data)||void 0===c?void 0:c.graphBuilder)||void 0===g?void 0:g.legend)||void 0===m?void 0:m.alignment)||"center"},height:0===i?300:250,series:F.map(function(l,i){var e,o,n=(null===(o=null===(e=null==b?void 0:b.plotbyoptions)||void 0===e?void 0:e[h])||void 0===o?void 0:o[l])||[],t=B[i%B.length],d=C.find(function(i){return i.key===l});return{key:l,label:(null==d?void 0:d.name)||l,data:n,area:"yes"===(null==d?void 0:d.areaFill),curve:(null==d?void 0:d.curveType)||"linear",color:"#".concat(null==d?void 0:d.color)||t,dashed:"dashed"===(null==d?void 0:d.style),strokeWidth:parseInt(null==d?void 0:d.strokeWidth)||2,showPoints:"yes"===(null==d?void 0:d.showPoints),pointRadius:parseInt(null==d?void 0:d.pointRadius)||3,showInLegend:!0,valueFormatter:function(l){return"".concat(l)}}}),reference:f}})})})),Nl=e("div",l({style:{padding:"4px",display:"flex",gap:"10px",flexWrap:"wrap"}},{children:i([],null!==(H=null===(G=null==sl?void 0:sl.data)||void 0===G?void 0:G.kpiCards)&&void 0!==H?H:[],!0).sort(function(l,i){var e,o;return(null!==(e=l.displayOrder)&&void 0!==e?e:0)-(null!==(o=i.displayOrder)&&void 0!==o?o:0)}).map(function(l){var i,o=null===(i=null==pl?void 0:pl.kpiCards)||void 0===i?void 0:i[l.title],n=F(o)?k(o.currentValue,o.baselineValue,l.indicatorLogic):void 0,t=F(o)?x(o.currentValue,o.baselineValue,l.indicatorLogic):void 0;return e(u,{title:l.title,subtitle:l.subtitle,value:D(o,l.valueFormat),valueColor:n,delta:t&&{label:t.label,direction:t.direction,color:n},icon:w(l.icon),loading:cl},l.title)})})),Zl=(null!==(W=null===(I=null===(z=null==sl?void 0:sl.data)||void 0===z?void 0:z.tableBuilder)||void 0===I?void 0:I.length)&&void 0!==W?W:0)>0?e("div",l({style:{padding:"4px"}},{children:e(m,l({itemSpans:ql,totalColumns:null!==(q=null==Pl?void 0:Pl.totalColumns)&&void 0!==q?q:12,defaultSpan:null==Pl?void 0:Pl.defaultSpan,options:null!==(K=null==Pl?void 0:Pl.options)&&void 0!==K?K:[1,2,3],defaultColumns:null==Pl?void 0:Pl.defaultColumns,columns:null==Pl?void 0:Pl.columns,onColumnsChange:null==Pl?void 0:Pl.onColumnsChange,showToggle:(null===(N=null==Pl?void 0:Pl.showToggle)||void 0===N||N)&&(null!==(J=null===(_=null===(Z=null==sl?void 0:sl.data)||void 0===Z?void 0:Z.tableBuilder)||void 0===_?void 0:_.length)&&void 0!==J?J:0)>1,toggleLabel:null==Pl?void 0:Pl.toggleLabel,minColumnWidth:null!==(Q=null==Pl?void 0:Pl.minColumnWidth)&&void 0!==Q?Q:380,gap:null!==(U=null==Pl?void 0:Pl.gap)&&void 0!==U?U:12,equalHeights:null===(X=null==Pl?void 0:Pl.equalHeights)||void 0===X||X},{children:sl.data.tableBuilder.map(function(i){var o,n,d=null!==(n=null===(o=null==pl?void 0:pl.table)||void 0===o?void 0:o[i.key])&&void 0!==n?n:[],a=null==Tl?void 0:Tl[i.key],r=!!(null==a?void 0:a.loaded),u=r?a.rows:d,v=!r&&i.rowLimit&&i.rowLimit>0?d.slice(0,i.rowLimit):u,s=null==Ll?void 0:Ll[i.key],p=h(i,s),c=null==s?void 0:s.card,m=null==c?void 0:c.icon,f=w(i.icon),y=f&&t.isValidElement(f)?t.cloneElement(f,l(l({},null!=(null==m?void 0:m.size)?{size:m.size}:{}),(null==m?void 0:m.color)?{color:m.color}:{})):f,C=m?l(l(l({width:"auto",height:"auto"},m.color?{color:m.color}:{}),m.background?{background:m.background,padding:6,borderRadius:8}:{}),m.style):void 0;return e(g,{title:i.title,icon:y,styles:{root:null==c?void 0:c.root,header:null==c?void 0:c.header,title:null==c?void 0:c.title,icon:C},onExpand:function(l){return null==El?void 0:El(i.key,l)},table:{rows:b(v),columns:p,loading:cl,loadingMore:null==a?void 0:a.loading,hasMore:null==a?void 0:a.hasMore,onLoadMore:a?function(){return null==Ml?void 0:Ml(i.key)}:void 0,tableProps:null==s?void 0:s.tableProps}},i.key)})}))})):null,_l={graphBuilder:Kl,kpiCards:Nl,tableBuilder:Zl},Jl=f(Ol,Al,null===(Y=null==sl?void 0:sl.data)||void 0===Y?void 0:Y.sectionOrder,Object.keys(_l)),Ql=y(Al,"dateFilters"),Ul=y(Al,"sidebarFilters");return e(o,{children:n("div",l({style:{display:"flex",flexDirection:"column",gap:12}},{children:[!Ql&&e("div",l({style:{padding:"4px"}},{children:e(r,{filterCount:Wl,initialStartDate:gl,initialEndDate:ml,onDateChange:hl,onRefresh:bl,onFilterClick:Fl,presets:Il,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:gl,maxDate:new Date}},defaultPresets:null===($=null==sl?void 0:sl.data)||void 0===$?void 0:$.dateFilters.defaultPreset,showLiveButton:"yes"===(null===(il=null===(ll=null==sl?void 0:sl.data)||void 0===ll?void 0:ll.dateFilters)||void 0===il?void 0:il.showLiveButton),showFilterButton:!Ul&&"yes"===(null===(ol=null===(el=null==sl?void 0:sl.data)||void 0===el?void 0:el.dateFilters)||void 0===ol?void 0:ol.showFilterButton),showFilterCount:!Ul&&"yes"===(null===(tl=null===(nl=null==sl?void 0:sl.data)||void 0===nl?void 0:nl.dateFilters)||void 0===tl?void 0:tl.showFilterCount),liveDuration:null===(al=null===(dl=null==sl?void 0:sl.data)||void 0===dl?void 0:dl.dateFilters)||void 0===al?void 0:al.liveDurationMs,pollingEnabled:Vl,selectedPreset:Gl,handlePresetChange:Hl})})),Jl.map(function(l){return e(t.Fragment,{children:_l[l]},l)}),!Ul&&e(v,{visible:Cl,onHide:kl,onReset:wl,onApply:Bl,fields:null!==(vl=null===(ul=null===(rl=null==sl?void 0:sl.data)||void 0===rl?void 0:rl.sidebarFilters)||void 0===ul?void 0:ul.map(function(l){var i,e,o,n,t=l.schemaFilterName,d="Single select"===l.type?"singleSelect":"Multi select"===l.type?"multiSelect":"Date Range"===l.type?"dateRange":"Date"===l.type?"date":"text",a=null!==(e=null===(i=l.options)||void 0===i?void 0:i.map(function(l){return{label:l,value:l}}))&&void 0!==e?e:[];return{id:t,label:l.label,hint:l.description,type:d,placeholder:l.placeholder,options:a,value:"multiSelect"===d?null!==(o=xl[t])&&void 0!==o?o:[]:null!==(n=xl[t])&&void 0!==n?n:"",onChange:function(l){return Dl(t,l)}}}))&&void 0!==vl?vl:[]})]}))})}export{S as ExecutiveDashboard,S as default};
|
|
1
|
+
import{__assign as l,__spreadArray as i}from"../../_virtual/_tslib.js";import{jsx as e,Fragment as o,jsxs as n}from"react/jsx-runtime";import t,{useMemo as d}from"react";import{ChartLine as a}from"lucide-react";import r from"./DashboardDateFilter/DashboardDateFilter.js";import u from"./MetricCard/MetricCard.js";import v from"./FiltersSidebar/FiltersSidebar.js";import s from"./Graph/Graph.js";import p from"./Graph/GraphEmptyState.js";import{DATE_PRESET_MAP as c}from"./DashboardDateFilter/datePreset.js";import g from"./Table/TableCard.js";import m from"./Table/TableGrid/TableGrid.js";import{buildColumns as h,withRowIds as b}from"../utils/tableColumns.js";import{resolveSectionOrder as f,isSectionHidden as y}from"../utils/sectionOrder.js";import{getActiveFilterCount as C,isKpiValueObject as F,getKpiValueColor as k,getKpiDelta as x,formatKpiValue as D}from"../utils/index.js";import{getKpiIcon as w}from"../utils/kpiIcon.js";var B=["#7c3aed","#FFC130","#F43F5E","#10b981","#3b82f6"];function S(S){var j,L,P,O,A,T,E,M,R,V,G,H,z,I,W,q,K,N,Z,_,J,Q,U,X,Y,$,ll,il,el,ol,nl,tl,dl,al,rl,ul,vl,sl=S.uiConfig,pl=S.data,cl=S.dataLoading,gl=S.startDate,ml=S.endDate,hl=S.onDateChange,bl=S.onRefresh,fl=S.selectedKpis,yl=S.onKpiChange,Cl=S.sidebarVisible,Fl=S.onSidebarShow,kl=S.onSidebarHide,xl=S.filterValues,Dl=S.onFilterChange,wl=S.onFilterReset,Bl=S.onFilterApply,Sl=S.appliedFilters,jl=S.graphEmptyState,Ll=S.tables,Pl=S.tableLayout,Ol=S.sectionOrder,Al=S.hiddenSections,Tl=S.tablePages,El=S.onTableExpand,Ml=S.onTableLoadMore,Rl=S.pollingEnabled,Vl=void 0!==Rl&&Rl,Gl=S.selectedPreset,Hl=S.handlePresetChange,zl=null!==(P=null===(L=null===(j=null==sl?void 0:sl.data)||void 0===j?void 0:j.dateFilters)||void 0===L?void 0:L.datepresets)&&void 0!==P?P:[],Il=d(function(){return zl.map(function(l){return c[l]}).filter(Boolean)},[JSON.stringify(zl)]),Wl=d(function(){return C(Sl)},[Sl]),ql=d(function(){var l,i,e=null==Pl?void 0:Pl.spans;if(e)return(null!==(i=null===(l=null==sl?void 0:sl.data)||void 0===l?void 0:l.tableBuilder)&&void 0!==i?i:[]).map(function(l,i){return Array.isArray(e)?e[i]:e[l.key]})},[null==Pl?void 0:Pl.spans,null===(O=null==sl?void 0:sl.data)||void 0===O?void 0:O.tableBuilder]),Kl=e("div",l({style:{padding:"4px"}},{children:e(s,{loading:cl,emptyState:null!=jl?jl:e(p,{}),title:null===(A=null==sl?void 0:sl.data)||void 0===A?void 0:A.graphBuilder.title,description:null===(E=null===(T=null==sl?void 0:sl.data)||void 0===T?void 0:T.graphBuilder)||void 0===E?void 0:E.subtitle,icon:e(a,{size:18}),xAxis:{label:(null===(R=null===(M=null==sl?void 0:sl.data)||void 0===M?void 0:M.graphBuilder)||void 0===R?void 0:R.axis.xAxisLabel)||"Date"},style:{chartHeight:220},scrollable:Vl,panes:null===(V=null==sl?void 0:sl.data)||void 0===V?void 0:V.graphBuilder.tiers.map(function(l,i){var o,n,t,d,r,u,v,s,p,c,g,m,h=fl[l.key]||(null===(o=l.plotOptions[0])||void 0===o?void 0:o.key),b=pl.graph.tier.find(function(i){return i.key===l.key}),f=(null===(n=null==b?void 0:b.referenceOptions)||void 0===n?void 0:n[h])||{},y=(null===(t=null==b?void 0:b.plotbyoptions)||void 0===t?void 0:t[h])||{},C=(null==l?void 0:l.series)||[],F=Object.keys(y),k=l.plotOptions.find(function(l){return l.value===h});return{key:l.key,selector:{label:"Plot By",value:h,onChange:function(i){yl(l.key,i)},options:l.plotOptions.map(function(l){return{label:l.label,value:l.value}}),triggerIcon:e(a,{size:16,color:0===i?"green":"purple"})},yAxis:{label:null==k?void 0:k.yAxisLabel,beginAtZero:"false"!==(null==h?void 0:h.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(u=null===(r=null===(d=null==sl?void 0:sl.data)||void 0===d?void 0:d.graphBuilder)||void 0===r?void 0:r.legend)||void 0===u?void 0:u.position)||"bottom",toggle:"yes"===(null===(p=null===(s=null===(v=null==sl?void 0:sl.data)||void 0===v?void 0:v.graphBuilder)||void 0===s?void 0:s.legend)||void 0===p?void 0:p.allowToggle),align:(null===(m=null===(g=null===(c=null==sl?void 0:sl.data)||void 0===c?void 0:c.graphBuilder)||void 0===g?void 0:g.legend)||void 0===m?void 0:m.alignment)||"center"},height:0===i?300:250,series:F.map(function(l,i){var e,o,n=(null===(o=null===(e=null==b?void 0:b.plotbyoptions)||void 0===e?void 0:e[h])||void 0===o?void 0:o[l])||[],t=B[i%B.length],d=C.find(function(i){return i.key===l});return{key:l,label:(null==d?void 0:d.name)||l,data:n,area:"yes"===(null==d?void 0:d.areaFill),curve:(null==d?void 0:d.curveType)||"linear",color:"#".concat(null==d?void 0:d.color)||t,dashed:"dashed"===(null==d?void 0:d.style),strokeWidth:parseInt(null==d?void 0:d.strokeWidth)||2,showPoints:"yes"===(null==d?void 0:d.showPoints),pointRadius:parseInt(null==d?void 0:d.pointRadius)||3,showInLegend:!0,valueFormatter:function(l){return"".concat(l)}}}),reference:f}})})})),Nl=e("div",l({style:{padding:"4px",display:"flex",gap:"10px",flexWrap:"wrap"}},{children:i([],null!==(H=null===(G=null==sl?void 0:sl.data)||void 0===G?void 0:G.kpiCards)&&void 0!==H?H:[],!0).sort(function(l,i){var e,o;return(null!==(e=l.displayOrder)&&void 0!==e?e:0)-(null!==(o=i.displayOrder)&&void 0!==o?o:0)}).map(function(l){var i,o=null===(i=null==pl?void 0:pl.kpiCards)||void 0===i?void 0:i[l.title],n=F(o)?k(o.currentValue,o.baselineValue,l.indicatorLogic):void 0,t=F(o)?x(o.currentValue,o.baselineValue,l.indicatorLogic):void 0;return e(u,{title:l.title,subtitle:l.subtitle,value:D(o,l.valueFormat),valueColor:n,delta:t&&{label:t.label,direction:t.direction,color:n},icon:w(l.icon),loading:cl},l.title)})})),Zl=(null!==(W=null===(I=null===(z=null==sl?void 0:sl.data)||void 0===z?void 0:z.tableBuilder)||void 0===I?void 0:I.length)&&void 0!==W?W:0)>0?e("div",l({style:{padding:"4px"}},{children:e(m,l({itemSpans:ql,totalColumns:null!==(q=null==Pl?void 0:Pl.totalColumns)&&void 0!==q?q:12,defaultSpan:null==Pl?void 0:Pl.defaultSpan,options:null!==(K=null==Pl?void 0:Pl.options)&&void 0!==K?K:[1,2,3],defaultColumns:null==Pl?void 0:Pl.defaultColumns,columns:null==Pl?void 0:Pl.columns,onColumnsChange:null==Pl?void 0:Pl.onColumnsChange,showToggle:(null===(N=null==Pl?void 0:Pl.showToggle)||void 0===N||N)&&(null!==(J=null===(_=null===(Z=null==sl?void 0:sl.data)||void 0===Z?void 0:Z.tableBuilder)||void 0===_?void 0:_.length)&&void 0!==J?J:0)>1,toggleLabel:null==Pl?void 0:Pl.toggleLabel,minColumnWidth:null!==(Q=null==Pl?void 0:Pl.minColumnWidth)&&void 0!==Q?Q:380,gap:null!==(U=null==Pl?void 0:Pl.gap)&&void 0!==U?U:12,equalHeights:null===(X=null==Pl?void 0:Pl.equalHeights)||void 0===X||X},{children:sl.data.tableBuilder.map(function(i){var o,n,d=null!==(n=null===(o=null==pl?void 0:pl.table)||void 0===o?void 0:o[i.key])&&void 0!==n?n:[],a=null==Tl?void 0:Tl[i.key],r=!!(null==a?void 0:a.loaded),u=r?a.rows:d,v=!r&&i.rowLimit&&i.rowLimit>0?d.slice(0,i.rowLimit):u,s=null==Ll?void 0:Ll[i.key],p=h(i,s),c=null==s?void 0:s.card,m=null==c?void 0:c.icon,f=w(i.icon),y=f&&t.isValidElement(f)?t.cloneElement(f,l(l({},null!=(null==m?void 0:m.size)?{size:m.size}:{}),(null==m?void 0:m.color)?{color:m.color}:{})):f,C=m?l(l(l({width:"auto",height:"auto"},m.color?{color:m.color}:{}),m.background?{background:m.background,padding:6,borderRadius:8}:{}),m.style):void 0;return e(g,{title:i.title,icon:y,styles:{root:null==c?void 0:c.root,header:null==c?void 0:c.header,title:null==c?void 0:c.title,icon:C},onExpand:function(l){return null==El?void 0:El(i.key,l)},table:{rows:b(v),columns:p,loading:cl,loadingMore:null==a?void 0:a.loading,hasMore:null==a?void 0:a.hasMore,onLoadMore:a?function(){return null==Ml?void 0:Ml(i.key)}:void 0,tableProps:null==s?void 0:s.tableProps}},i.key)})}))})):null,_l={graphBuilder:Kl,kpiCards:Nl,tableBuilder:Zl},Jl=f(Ol,Al,null===(Y=null==sl?void 0:sl.data)||void 0===Y?void 0:Y.sectionOrder,Object.keys(_l)),Ql=y(Al,"dateFilters"),Ul=y(Al,"sidebarFilters");return e(o,{children:n("div",l({style:{display:"flex",flexDirection:"column",gap:12,width:"100%"}},{children:[!Ql&&e("div",l({style:{padding:"4px"}},{children:e(r,{filterCount:Wl,initialStartDate:gl,initialEndDate:ml,onDateChange:hl,onRefresh:bl,onFilterClick:Fl,presets:Il,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:gl,maxDate:new Date}},defaultPresets:null===($=null==sl?void 0:sl.data)||void 0===$?void 0:$.dateFilters.defaultPreset,showLiveButton:"yes"===(null===(il=null===(ll=null==sl?void 0:sl.data)||void 0===ll?void 0:ll.dateFilters)||void 0===il?void 0:il.showLiveButton),showFilterButton:!Ul&&"yes"===(null===(ol=null===(el=null==sl?void 0:sl.data)||void 0===el?void 0:el.dateFilters)||void 0===ol?void 0:ol.showFilterButton),showFilterCount:!Ul&&"yes"===(null===(tl=null===(nl=null==sl?void 0:sl.data)||void 0===nl?void 0:nl.dateFilters)||void 0===tl?void 0:tl.showFilterCount),liveDuration:null===(al=null===(dl=null==sl?void 0:sl.data)||void 0===dl?void 0:dl.dateFilters)||void 0===al?void 0:al.liveDurationMs,pollingEnabled:Vl,selectedPreset:Gl,handlePresetChange:Hl})})),Jl.map(function(l){return e(t.Fragment,{children:_l[l]},l)}),!Ul&&e(v,{visible:Cl,onHide:kl,onReset:wl,onApply:Bl,fields:null!==(vl=null===(ul=null===(rl=null==sl?void 0:sl.data)||void 0===rl?void 0:rl.sidebarFilters)||void 0===ul?void 0:ul.map(function(l){var i,e,o,n,t=l.schemaFilterName,d="Single select"===l.type?"singleSelect":"Multi select"===l.type?"multiSelect":"Date Range"===l.type?"dateRange":"Date"===l.type?"date":"text",a=null!==(e=null===(i=l.options)||void 0===i?void 0:i.map(function(l){return{label:l,value:l}}))&&void 0!==e?e:[];return{id:t,label:l.label,hint:l.description,type:d,placeholder:l.placeholder,options:a,value:"multiSelect"===d?null!==(o=xl[t])&&void 0!==o?o:[]:null!==(n=xl[t])&&void 0!==n?n:"",onChange:function(l){return Dl(t,l)}}}))&&void 0!==vl?vl:[]})]}))})}export{S as ExecutiveDashboard,S as default};
|
|
2
2
|
//# sourceMappingURL=ExecutiveDashboard.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__spreadArray as e,__assign as n}from"../../../_virtual/_tslib.js";import{jsx as l,jsxs as i}from"react/jsx-runtime";import{useState as o,useMemo as r}from"react";import{ComposedChart as t,CartesianGrid as a,XAxis as u,YAxis as d,ReferenceArea as c,ReferenceLine as v,Area as s,Line as f}from"recharts";import{ChartContainer as h,ChartTooltip as y,ChartTooltipContent as m,ChartLegend as p,ChartLegendContent as g}from"../ui/chart.js";import{colorForIndex as k}from"./types.js";import{compactNumber as x}from"../../utils/index.js";import b from"./Seperator.js";var w=function(e){return"number"==typeof e&&!Number.isNaN(e)},A=function(e){switch(e){case"linear":return"linear";case"step":return"stepAfter";default:return"monotone"}};function C(C){var L,S,T,F,E,K,N,I,P,W=C.series,j=C.hiddenKeys,D=C.onToggleSeries,M=C.xAxis,R=C.yAxis,z=C.tooltip,_=C.legend,B=C.style,H=C.syncId,O=C.reference
|
|
1
|
+
import{__spreadArray as e,__assign as n}from"../../../_virtual/_tslib.js";import{jsx as l,jsxs as i}from"react/jsx-runtime";import{useState as o,useMemo as r}from"react";import{ComposedChart as t,CartesianGrid as a,XAxis as u,YAxis as d,ReferenceArea as c,ReferenceLine as v,Area as s,Line as f}from"recharts";import{ChartContainer as h,ChartTooltip as y,ChartTooltipContent as m,ChartLegend as p,ChartLegendContent as g}from"../ui/chart.js";import{colorForIndex as k}from"./types.js";import{compactNumber as x}from"../../utils/index.js";import b from"./Seperator.js";var w=function(e){return"number"==typeof e&&!Number.isNaN(e)},A=function(e){switch(e){case"linear":return"linear";case"step":return"stepAfter";default:return"monotone"}};function C(C){var L,S,T,F,E,K,N,I,P,W=C.series,j=C.hiddenKeys,D=C.onToggleSeries,M=C.xAxis,R=C.yAxis,z=C.tooltip,_=C.legend,B=C.style,H=C.syncId,O=C.reference;C.scrollable;var G=C.onPointClick,V=null!==(L=null==B?void 0:B.chartHeight)&&void 0!==L?L:300,Z=null!==(S=null==B?void 0:B.gridColor)&&void 0!==S?S:"#eef0f4",q=null!==(T=null==B?void 0:B.axisColor)&&void 0!==T?T:"#d7dbe3",J=null!==(F=null==B?void 0:B.axisLabelColor)&&void 0!==F?F:"#6b7280",Q=null!==(E=null==B?void 0:B.tickColor)&&void 0!==E?E:"#9ca3af",U=null!==(K=null==B?void 0:B.fontFamily)&&void 0!==K?K:"Inter, system-ui, -apple-system, sans-serif",X=o(null),Y=X[0],$=X[1],ee=r(function(){var n,l,i;if(null===(n=null==M?void 0:M.categories)||void 0===n?void 0:n.length)return{categories:M.categories,xType:null!==(l=M.type)&&void 0!==l?l:"category"};var o=new Set,r=[];W.forEach(function(e){return e.data.forEach(function(e){o.has(e.x)||(o.add(e.x),r.push(e.x))})});var t=r.every(w),a=null!==(i=null==M?void 0:M.type)&&void 0!==i?i:t?"number":"category";return{categories:"number"===a?e([],r,!0).sort(function(e,n){return Number(e)-Number(n)}):r,xType:a}},[W,null==M?void 0:M.categories,null==M?void 0:M.type]),ne=ee.categories,le=ee.xType,ie=r(function(){var e=new Map;return W.forEach(function(n){var l=new Map;n.data.forEach(function(e){return l.set(e.x,e.y)}),e.set(n.key,l)}),ne.map(function(n){var l={x:n};return W.forEach(function(i){var o,r=null===(o=e.get(i.key))||void 0===o?void 0:o.get(n);l[i.key]=null==r?null:r}),l})},[W,ne]),oe=r(function(){var e={},n=W.map(function(n,l){var i,o=null!==(i=n.color)&&void 0!==i?i:k(null==B?void 0:B.colors,l);return e[n.key]={label:n.label,color:o},{series:n,color:o,index:l}});return{chartConfig:e,resolved:n}},[W,null==B?void 0:B.colors]),re=oe.chartConfig,te=oe.resolved,ae=r(function(){var e={};return W.forEach(function(n){n.valueFormatter&&(e[n.key]=function(e,l){var i;return n.valueFormatter(e,null!==(i=null==l?void 0:l.payload)&&void 0!==i?i:{x:null==l?void 0:l.x,y:e})})}),e},[W]),ue=!1!==(null==z?void 0:z.enabled),de=(null==z?void 0:z.seriesKeys)?new Set(z.seriesKeys):null,ce=!1!==(null==_?void 0:_.show),ve="top"===(null==_?void 0:_.position)?"top":"bottom",se="start"===(null==_?void 0:_.align)?"left":"end"===(null==_?void 0:_.align)?"right":"center",fe=!1!==(null==M?void 0:M.show),he=!1!==(null==R?void 0:R.show),ye=!1!==(null==B?void 0:B.showGrid),me=!!(null==B?void 0:B.showVerticalGrid),pe=r(function(){return Math.max.apply(Math,ie.flatMap(function(e){return W.map(function(n){return Number(e[n.key])||0})}))},[ie]),ge=r(function(){return Math.ceil(1.1*pe)},[pe]),ke=[null!=(null==R?void 0:R.min)?R.min:!1!==(null==R?void 0:R.beginAtZero)?0:"auto",null!=(null==R?void 0:R.max)?R.max:ge],xe=null!==(N=null==B?void 0:B.yAxisWidth)&&void 0!==N?N:(null==R?void 0:R.label)?64:48,be={top:12,right:16,bottom:8,left:null!=(null==B?void 0:B.yAxisWidth)?0:(null==R?void 0:R.label)?16:0},we=null!==(I=null==M?void 0:M.enableScroll)&&void 0!==I&&I,Ae=null!==(P=null==M?void 0:M.minTickGap)&&void 0!==P?P:2;r(function(){if(!we||!Y||ne.length<=1)return"100%";var e=(ne.length-1)*Ae+200;return e>Y-xe-be.left-be.right?"".concat(e,"px"):"100%"},[we,Y,ne.length,Ae,xe,be]);return l(h,n({config:re,style:{height:V,fontFamily:U},ref:function(e){e&&null===Y&&$(e.clientWidth)}},{children:function(){var e,o;return i(t,n({data:ie,margin:be,syncId:H},{children:[l(a,{vertical:me,horizontal:ye,stroke:Z}),l(u,{dataKey:"x",type:"number"===le?"number":"category",hide:!fe,height:(null==M?void 0:M.label)?52:void 0,tickLine:!1,axisLine:!(null==M?void 0:M.hideLine)&&{stroke:q},tickMargin:8,interval:"preserveStartEnd",tick:{fill:Q,fontSize:11},tickFormatter:(null==M?void 0:M.formatTick)?function(e,n){return M.formatTick(e,n)}:void 0,label:(null==O?void 0:O.showReferenceAreaLabel)?function(e){return function(e){var o=e.viewBox;e.startTick,e.endTick;var r=o.x,t=o.y,a=o.width,u=1;if((null==O?void 0:O.showReferenceArea)&&null!=(null==O?void 0:O.referencePoint)&&ne.length>1){var d=ne.indexOf(O.referencePoint);-1!==d&&(u=d/(ne.length-1))}var c=100*u,v=100-c;return l("foreignObject",n({x:r,y:t+24,width:a,height:40},{children:i("div",n({className:"ellm-graph__liveLabelContainer"},{children:[i("div",n({style:{flex:c,display:"flex",alignItems:"center"}},{children:[l(b,{}),l("span",n({style:{padding:"0 12px",color:"#6b7280",fontSize:"12px"}},{children:null==O?void 0:O.referenceAreaLabel})),l(b,{})]})),v>0&&i("div",n({style:{flex:v,display:"flex",alignItems:"center"}},{children:[l(b,{style:{backgroundColor:"#DC2626"}}),i("div",n({className:"ellm-graph__liveLabel"},{children:[l(b,{style:{width:"8px",height:"8px",borderRadius:"100%",backgroundColor:"#DC2626",flex:"auto"},pulse:!0}),"LIVE - ",null==O?void 0:O.referenceAreaLiveLabel]})),l(b,{style:{backgroundColor:"#DC2626"}})]}))]}))}))}(n(n({},e),{startTick:ne[0],endTick:ne[ne.length-1]}))}:(null==M?void 0:M.label)?{value:M.label,position:"insideBottom",offset:4,fill:J,fontSize:12,fontWeight:500}:void 0}),l(d,{hide:!he,domain:ke,tickLine:!1,axisLine:!1===(null==R?void 0:R.hideLine)&&{stroke:q},tickCount:null==R?void 0:R.tickCount,width:xe,tick:{fill:Q,fontSize:11},tickFormatter:(null==R?void 0:R.formatTick)?function(e,n){return R.formatTick(e,n)}:function(e){return"number"==typeof e?x(e):String(e)},label:(null==R?void 0:R.label)?{value:R.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"},fill:J,fontSize:12,fontWeight:500}:void 0}),ue&&l(y,{cursor:{stroke:q,strokeDasharray:"4 4"},content:function(e){var i,o=(null!==(i=e.payload)&&void 0!==i?i:[]).filter(function(e){var n=W.find(function(n){return n.key===e.dataKey});return!1!==(null==n?void 0:n.showInTooltip)&&!(de&&!de.has(String(e.dataKey)))});return(null==z?void 0:z.render)?z.render({x:e.label,points:o.map(function(n){var l;return{series:W.find(function(e){return e.key===n.dataKey}),value:null!==(l=n.value)&&void 0!==l?l:null,point:{x:e.label,y:n.value},color:n.color}})}):l(m,n({},e,{payload:o,hideLabel:!1===(null==z?void 0:z.showHeading),valueFormatters:ae,labelFormatter:(null==z?void 0:z.formatHeading)?function(e){return z.formatHeading(e)}:void 0}))}}),ce&&l(p,{verticalAlign:ve,content:function(e){return l(g,n({},e,{verticalAlign:ve,align:se,hiddenKeys:j,onItemClick:!1!==(null==_?void 0:_.toggle)&&D?D:void 0}))}}),(null==O?void 0:O.showReferenceArea)&&null!=(null==O?void 0:O.referencePoint)&&l(c,{x1:O.referencePoint,fill:null!==(e=O.referenceAreaFill)&&void 0!==e?e:"#2563EB1A"}),(null==O?void 0:O.showReferenceArea)&&null!=O.referencePoint&&l(v,{x:O.referencePoint,stroke:null!==(o=O.referenceLineStroke)&&void 0!==o?o:"#3B82F6",strokeDasharray:"4 4"}),te.map(function(e){var i,o,r,t,a=e.series,u=j.has(a.key),d="var(--color-".concat(a.key,")"),c=!0===a.dashed?"6 5":"string"==typeof a.dashed?a.dashed:void 0,v=!1!==a.showPoints&&{r:null!==(i=a.pointRadius)&&void 0!==i?i:3,fill:"#fff",stroke:d,strokeWidth:2},h={r:(null!==(o=a.pointRadius)&&void 0!==o?o:3)+2,onClick:G?function(e,n){var l,i;return function(e,n,l){if(G){var i=W.find(function(n){return n.key===e});i&&G({series:i,point:{x:null==n?void 0:n.x,y:null==n?void 0:n[e]},index:l})}}(a.key,null!==(l=null==n?void 0:n.payload)&&void 0!==l?l:n,null!==(i=null==n?void 0:n.index)&&void 0!==i?i:0)}:void 0},y={key:a.key,dataKey:a.key,name:a.key,type:A(a.curve),stroke:d,strokeWidth:null!==(r=a.strokeWidth)&&void 0!==r?r:2,strokeDasharray:c,connectNulls:!1,isAnimationActive:!1,hide:u,dot:v,activeDot:h};return a.area?l(s,n({},y,{fill:d,fillOpacity:null!==(t=a.areaOpacity)&&void 0!==t?t:.12})):l(f,n({},y))})]}))}()}))}export{C as default};
|
|
2
2
|
//# sourceMappingURL=LineChart.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_tslib.js"),n=require("react/jsx-runtime"),r=require("react"),t=require("./components/ExecutiveDashboard.js"),l=require("./components/DashboardDateFilter/datePreset.js"),a=require("./components/DashboardSkeleton/DashboardSkeleton.js"),o=require("./api/dashboardApi.js"),u=require("./hooks/useVisibilityPolling.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(r),d=1e4;function c(i){var c,v,f=this,g=i.baseUrl,b=void 0===g?"https://dev.appmod.ai":g,p=i.configId,h=i.graphEmptyState,_=i.tables,E=i.tableLayout,m=i.sectionOrder,D=i.hiddenSections,S=i.fetchUIConfig,y=i.fetchUIVersionFromRedis,C=i.fetchDashboardData,R=i.fetchTableData,w=i.initialStartDate,I=i.initialEndDate,x=i.onDateChange,j=i.onFiltersApplied,F=i.renderLoading,A=i.renderError,P=i.pollingConfigProp,k=null!=S?S:o.fetchUIConfig,M=null!=y?y:o.fetchCurrentConfigUIVersionFromRedis,T=null!=C?C:o.fetchDashboardData,O=null!=R?R:o.fetchTableData,U=r.useState(null),q=U[0],L=U[1],V=r.useState(null),N=V[0],K=V[1],B=r.useState(!0),z=B[0],G=B[1],H=r.useState(!0),W=H[0],J=H[1],Q=r.useState(null),X=Q[0],Y=Q[1],Z=r.useState(!1),$=Z[0],ee=Z[1],ne=r.useState({}),re=ne[0],te=ne[1],le=r.useState({}),ae=le[0],oe=le[1],ue=r.useState({}),ie=ue[0],se=ue[1],de=r.useState(null),ce=de[0],ve=de[1],fe=s.default.useRef(null),ge=s.default.useRef(!1),be=r.useRef(null),pe=r.useRef(null),he=r.useRef({}),_e=r.useRef(null),Ee=r.useRef(new Set),me=r.useRef(!1),De=r.useRef(d),Se=r.useRef(-1),ye=r.useRef(!0),Ce=r.useState(null!==(v=null===(c=null==q?void 0:q.data)||void 0===c?void 0:c.dateFilters.defaultPreset)&&void 0!==v?v:"today"),Re=Ce[0],we=Ce[1],Ie=r.useState(!1),xe=Ie[0],je=Ie[1],Fe=r.useState({}),Ae=Fe[0],Pe=Fe[1],ke=r.useMemo(function(){var e,n;if(q){var r=q.data.dateFilters;return(null==r?void 0:r.pollingEnabled)&&(De.current=null!==(e=r.pollingInterval)&&void 0!==e?e:d),{pollingEnabled:null!==(n=Boolean("yes"===(null==r?void 0:r.pollingEnabled)))&&void 0!==n&&n,pollingInterval:d,maxErrorInterval:5e4,backoffMultiplier:1.5}}},[q]),Me=r.useMemo(function(){return null!=P?P:ke},[P,ke]),Te=function(e){var n=Object.values(l.DATE_PRESETS).find(function(n){return n.value===e});return n&&"getRange"in n?n.getRange():null},Oe=r.useCallback(function(){return e.__awaiter(f,void 0,void 0,function(){var n,r,t,l,a,o,u,i,s,d,c,v,f,g;return e.__generator(this,function(e){switch(e.label){case 0:G(!0),Y(null),null===(u=be.current)||void 0===u||u.abort(),n=new AbortController,be.current=n,e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,k({configId:p,baseUrl:b},n.signal)];case 2:return r=e.sent(),L(r),t={},null===(d=null===(s=null===(i=null==r?void 0:r.data)||void 0===i?void 0:i.graphBuilder)||void 0===s?void 0:s.tiers)||void 0===d||d.forEach(function(e){e.plotOptions.length>0&&(t[e.key]=e.plotOptions[0].value)}),te(t),l={},null===(v=null===(c=null==r?void 0:r.data)||void 0===c?void 0:c.sidebarFilters)||void 0===v||v.forEach(function(e){l[e.schemaFilterName]="Multi select"===e.type?[]:""}),oe(l),se(l),ge.current||(a=w&&I?{startDate:w,endDate:I}:Te(null===(g=null===(f=null==r?void 0:r.data)||void 0===f?void 0:f.dateFilters)||void 0===g?void 0:g.defaultPreset))&&(ge.current=!0,fe.current={start:a.startDate.getTime(),end:a.endDate.getTime()},ve({start:a.startDate,end:a.endDate})),[3,5];case 3:return"AbortError"===(null==(o=e.sent())?void 0:o.name)?[2]:(Y(o),[3,5]);case 4:return be.current===n&&G(!1),[7];case 5:return[2]}})})},[p,b,k,w,I]),Ue=r.useCallback(function(){return e.__awaiter(f,void 0,void 0,function(){var n,r,t,l,a;return e.__generator(this,function(e){switch(e.label){case 0:if(me.current)return[3,7];me.current=!0,console.log("----- POLLING API ----"),null===(a=_e.current)||void 0===a||a.abort(),n=new AbortController,_e.current=n,e.label=1;case 1:return e.trys.push([1,5,6,7]),[4,M({configId:p,baseUrl:b},n.signal)];case 2:return(null==(r=e.sent())?void 0:r.timestamp)&&parseInt(null==r?void 0:r.timestamp)>Se.current?(t=Te(Re),console.log("loadData ranges: ",{selectedPreset:Re,currentRange:t}),[4,qe(t).then(function(){return Se.current=parseInt(r.timestamp)})]):[3,4];case 3:e.sent(),e.label=4;case 4:return ye.current=!1,[3,7];case 5:return"AbortError"===(null==(l=e.sent())?void 0:l.name)?[2]:(console.error("Something went wrong while fetching version from Redis"),[3,7]);case 6:return me.current=!1,[7];case 7:return[2]}})})},[Re,M]);u.useVisibilityPolling((null==ke?void 0:ke.pollingEnabled)&&xe,De.current,Ue,[Me,xe,Re,Ue]),r.useEffect(function(){return Oe(),function(){var e;return null===(e=be.current)||void 0===e?void 0:e.abort()}},[Oe]),r.useEffect(function(){if(ke&&ke.pollingEnabled){var e=ke.pollingInterval;"number"==typeof e&&!isNaN(e)&&e>0&&(De.current=e)}},[ke]);var qe=r.useCallback(function(n){return e.__awaiter(f,void 0,void 0,function(){var r,t,l,a,o,u,i,s;return e.__generator(this,function(e){switch(e.label){case 0:if(!ce)return[2];null===(o=pe.current)||void 0===o||o.abort(),r=new AbortController,pe.current=r,ye.current&&J(!0),Y(null),console.log("loadData ranges: ",{selectedPreset:Re,currentRange:n}),e.label=1;case 1:return e.trys.push([1,3,4,5]),t={startDate:(null==ke?void 0:ke.pollingEnabled)&&n&&"custom"!==Re?n.startDate:ce.start,endDate:(null==ke?void 0:ke.pollingEnabled)&&n&&"custom"!==Re?n.endDate:ce.end,filters:ie},[4,T({configId:p,baseUrl:b},t,r.signal)];case 2:return l=e.sent(),K(l),(null==ke?void 0:ke.pollingEnabled)||Pe({}),De.current&&(null==Me?void 0:Me.pollingEnabled)&&(null==ke?void 0:ke.pollingInterval)&&(De.current=null!==(u=null==Me?void 0:Me.pollingInterval)&&void 0!==u?u:d),[3,5];case 3:return"AbortError"===(null==(a=e.sent())?void 0:a.name)?[2]:(Y(a),De.current&&(null==Me?void 0:Me.maxErrorInterval)&&(De.current=Math.min(De.current*(null!==(i=null==ke?void 0:ke.backoffMultiplier)&&void 0!==i?i:1.5),null!==(s=null==ke?void 0:ke.maxErrorInterval)&&void 0!==s?s:5e4)),[3,5]);case 4:return pe.current===r&&J(!1),[7];case 5:return[2]}})})},[p,b,ce,ie,T]),Le=r.useCallback(function(n,r){return e.__awaiter(f,void 0,void 0,function(){var t,l,a,o,u,i,s;return e.__generator(this,function(d){switch(d.label){case 0:if(!ce||!Ee.current.has(n)||he.current[n])return[2];t=new AbortController,he.current[n]=t,l=function(){return!Ee.current.has(n)||t.signal.aborted||he.current[n]!==t},Pe(function(r){var t,l,a,o,u,i,s,d;return e.__assign(e.__assign({},r),((t={})[n]={rows:null!==(a=null===(l=r[n])||void 0===l?void 0:l.rows)&&void 0!==a?a:[],cursor:null===(o=r[n])||void 0===o?void 0:o.cursor,hasMore:null!==(i=null===(u=r[n])||void 0===u?void 0:u.hasMore)&&void 0!==i&&i,loading:!0,loaded:null!==(d=null===(s=r[n])||void 0===s?void 0:s.loaded)&&void 0!==d&&d},t))}),d.label=1;case 1:return d.trys.push([1,3,4,5]),[4,O({configId:p,baseUrl:b},e.__assign({startDate:ce.start,endDate:ce.end,filters:ie,tableKey:n,pageSize:20},r?{cursor:r}:{}),t.signal)];case 2:return a=d.sent(),o=null!==(s=null===(i=a.table)||void 0===i?void 0:i[n])&&void 0!==s?s:[],l()?[2]:(Pe(function(r){var t,l,u=r[n];return u?e.__assign(e.__assign({},r),((t={})[n]={rows:e.__spreadArray(e.__spreadArray([],u.rows,!0),o,!0),cursor:null!==(l=a.nextCursor)&&void 0!==l?l:void 0,hasMore:a.hasNext,loading:!1,loaded:!0},t)):r}),[3,5]);case 3:return"AbortError"===(null==(u=d.sent())?void 0:u.name)||l()?[2]:(Pe(function(r){var t;return r[n]?e.__assign(e.__assign({},r),((t={})[n]=e.__assign(e.__assign({},r[n]),{loading:!1,hasMore:!1}),t)):r}),[3,5]);case 4:return he.current[n]===t&&delete he.current[n],[7];case 5:return[2]}})})},[p,b,ce,ie,O]),Ve=r.useCallback(function(n,r){var t;if(!r)return Ee.current.delete(n),null===(t=he.current[n])||void 0===t||t.abort(),delete he.current[n],void Pe(function(r){var t=r,l=n;return t[l],e.__rest(t,["symbol"==typeof l?l:l+""])});Ee.current.add(n),Le(n)},[Le]),Ne=r.useCallback(function(e){var n=Ae[e];(null==n?void 0:n.hasMore)&&!n.loading&&n.cursor&&Le(e,n.cursor)},[Le,Ae]);r.useEffect(function(){return function(){Ee.current.clear(),Object.values(he.current).forEach(function(e){return e.abort()})}},[]),r.useEffect(function(){return qe(),function(){var e;return null===(e=pe.current)||void 0===e?void 0:e.abort()}},[qe]),r.useEffect(function(){return function(){var e;return null===(e=_e.current)||void 0===e?void 0:e.abort()}},[]),r.useEffect(function(){!function(e){var n=Object.values(l.DATE_PRESETS).find(function(n){return n.value===e}),r=!(!n||!("pollingEnabled"in n)||!1===n.pollingEnabled);je(r)}(Re)},[Re]);var Ke=r.useCallback(function(e){if((null==e?void 0:e.startDate)&&(null==e?void 0:e.endDate)){var n=e.startDate.getTime(),r=e.endDate.getTime();fe.current&&fe.current.start===n&&fe.current.end===r||(fe.current={start:n,end:r},ve({start:e.startDate,end:e.endDate}))}null==x||x(e),J(!0)},[x]),Be=z||W&&!N;return X?A?n.jsx(n.Fragment,{children:A(X,Oe)}):n.jsxs("div",e.__assign({style:{padding:24,color:"#b91c1c"}},{children:["Failed to load dashboard: ",X.message,n.jsx("button",e.__assign({onClick:Oe,style:{marginLeft:12}},{children:"Retry"}))]})):!Be&&q&&N&&ce?(console.log("pollingEnabled: ",null==ke?void 0:ke.pollingEnabled,xe),n.jsx(t.ExecutiveDashboard,{uiConfig:q,data:N,dataLoading:W,startDate:ce.start,endDate:ce.end,onDateChange:Ke,onRefresh:function(){qe(),J(!0)},selectedKpis:re,onKpiChange:function(n,r){te(function(t){var l;return e.__assign(e.__assign({},t),((l={})[n]=r,l))})},sidebarVisible:$,onSidebarShow:function(){return ee(!0)},onSidebarHide:function(){return ee(!1)},filterValues:ae,onFilterChange:function(n,r){oe(function(t){var l;return e.__assign(e.__assign({},t),((l={})[n]=r,l))})},onFilterReset:function(){if(q){var e={};q.data.sidebarFilters.forEach(function(n){e[n.id]="multiSelect"===n.type?[]:""}),oe(e)}},onFilterApply:function(){se(ae),ee(!1),null==j||j(ae)},appliedFilters:ie,graphEmptyState:h,tables:_,tableLayout:E,sectionOrder:m,hiddenSections:D,tablePages:Ae,onTableExpand:Ve,onTableLoadMore:Ne,pollingEnabled:(null==ke?void 0:ke.pollingEnabled)&&xe,selectedPreset:Re,handlePresetChange:function(e){we(e)}})):F?n.jsx(n.Fragment,{children:F()}):n.jsx(a.DashboardSkeleton,{})}exports.ExecutiveDashboardWrapper=c,exports.default=c;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_tslib.js"),n=require("react/jsx-runtime"),r=require("react"),t=require("./components/ExecutiveDashboard.js"),l=require("./components/DashboardDateFilter/datePreset.js"),a=require("./components/DashboardSkeleton/DashboardSkeleton.js"),o=require("./api/dashboardApi.js"),u=require("./hooks/useVisibilityPolling.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(r),d=1e4;function c(i){var c,v,f=this,g=i.baseUrl,b=void 0===g?"https://dev.appmod.ai":g,p=i.configId,h=i.graphEmptyState,_=i.tables,E=i.tableLayout,m=i.sectionOrder,D=i.hiddenSections,S=i.fetchUIConfig,y=i.fetchUIVersionFromRedis,C=i.fetchDashboardData,R=i.fetchTableData,w=i.initialStartDate,I=i.initialEndDate,x=i.onDateChange,j=i.onFiltersApplied,F=i.renderLoading,A=i.renderError,P=i.pollingConfigProp,k=null!=S?S:o.fetchUIConfig,M=null!=y?y:o.fetchCurrentConfigUIVersionFromRedis,T=null!=C?C:o.fetchDashboardData,O=null!=R?R:o.fetchTableData,U=r.useState(null),q=U[0],L=U[1],V=r.useState(null),N=V[0],K=V[1],B=r.useState(!0),z=B[0],G=B[1],H=r.useState(!0),W=H[0],J=H[1],Q=r.useState(null),X=Q[0],Y=Q[1],Z=r.useState(!1),$=Z[0],ee=Z[1],ne=r.useState({}),re=ne[0],te=ne[1],le=r.useState({}),ae=le[0],oe=le[1],ue=r.useState({}),ie=ue[0],se=ue[1],de=r.useState(null),ce=de[0],ve=de[1],fe=s.default.useRef(null),ge=s.default.useRef(!1),be=r.useRef(null),pe=r.useRef(null),he=r.useRef({}),_e=r.useRef(null),Ee=r.useRef(new Set),me=r.useRef(!1),De=r.useRef(d),Se=r.useRef(-1),ye=r.useRef(!0),Ce=r.useState(null!==(v=null===(c=null==q?void 0:q.data)||void 0===c?void 0:c.dateFilters.defaultPreset)&&void 0!==v?v:"today"),Re=Ce[0],we=Ce[1],Ie=r.useState(!1),xe=Ie[0],je=Ie[1],Fe=r.useState({}),Ae=Fe[0],Pe=Fe[1],ke=r.useMemo(function(){var e,n;if(q){var r=q.data.dateFilters;return(null==r?void 0:r.pollingEnabled)&&(De.current=null!==(e=r.pollingInterval)&&void 0!==e?e:d),{pollingEnabled:null!==(n=Boolean("yes"===(null==r?void 0:r.pollingEnabled)))&&void 0!==n&&n,pollingInterval:d,maxErrorInterval:5e4,backoffMultiplier:1.5}}},[q]),Me=r.useMemo(function(){return null!=P?P:ke},[P,ke]),Te=function(e){var n=Object.values(l.DATE_PRESETS).find(function(n){return n.value===e});return n&&"getRange"in n?n.getRange():null},Oe=r.useCallback(function(){return e.__awaiter(f,void 0,void 0,function(){var n,r,t,l,a,o,u,i,s,d,c,v,f,g;return e.__generator(this,function(e){switch(e.label){case 0:G(!0),Y(null),null===(u=be.current)||void 0===u||u.abort(),n=new AbortController,be.current=n,e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,k({configId:p,baseUrl:b},n.signal)];case 2:return r=e.sent(),L(r),t={},null===(d=null===(s=null===(i=null==r?void 0:r.data)||void 0===i?void 0:i.graphBuilder)||void 0===s?void 0:s.tiers)||void 0===d||d.forEach(function(e){e.plotOptions.length>0&&(t[e.key]=e.plotOptions[0].value)}),te(t),l={},null===(v=null===(c=null==r?void 0:r.data)||void 0===c?void 0:c.sidebarFilters)||void 0===v||v.forEach(function(e){l[e.schemaFilterName]="Multi select"===e.type?[]:""}),oe(l),se(l),ge.current||(a=w&&I?{startDate:w,endDate:I}:Te(null===(g=null===(f=null==r?void 0:r.data)||void 0===f?void 0:f.dateFilters)||void 0===g?void 0:g.defaultPreset))&&(ge.current=!0,fe.current={start:a.startDate.getTime(),end:a.endDate.getTime()},ve({start:a.startDate,end:a.endDate})),[3,5];case 3:return"AbortError"===(null==(o=e.sent())?void 0:o.name)?[2]:(Y(o),[3,5]);case 4:return be.current===n&&G(!1),[7];case 5:return[2]}})})},[p,b,k,w,I]),Ue=r.useCallback(function(){return e.__awaiter(f,void 0,void 0,function(){var n,r,t,l,a;return e.__generator(this,function(e){switch(e.label){case 0:if(me.current)return[3,7];me.current=!0,console.log("----- POLLING API ----"),null===(a=_e.current)||void 0===a||a.abort(),n=new AbortController,_e.current=n,e.label=1;case 1:return e.trys.push([1,5,6,7]),[4,M({configId:p,baseUrl:b},n.signal)];case 2:return(null==(r=e.sent())?void 0:r.timestamp)&&parseInt(null==r?void 0:r.timestamp)>Se.current?(t=Te(Re),console.log("loadData ranges: ",{selectedPreset:Re,currentRange:t}),[4,qe(t).then(function(){return Se.current=parseInt(r.timestamp)})]):[3,4];case 3:e.sent(),e.label=4;case 4:return ye.current=!1,[3,7];case 5:return"AbortError"===(null==(l=e.sent())?void 0:l.name)?[2]:(console.error("Something went wrong while fetching version from Redis"),[3,7]);case 6:return me.current=!1,[7];case 7:return[2]}})})},[Re,M]);u.useVisibilityPolling((null==ke?void 0:ke.pollingEnabled)&&xe,De.current,Ue,[Me,xe,Re,Ue]),r.useEffect(function(){return Oe(),function(){var e;return null===(e=be.current)||void 0===e?void 0:e.abort()}},[Oe]),r.useEffect(function(){if(ke&&ke.pollingEnabled){var e=ke.pollingInterval;"number"==typeof e&&!isNaN(e)&&e>0&&(De.current=e)}},[ke]);var qe=r.useCallback(function(n){return e.__awaiter(f,void 0,void 0,function(){var r,t,l,a,o,u,i,s;return e.__generator(this,function(e){switch(e.label){case 0:if(!ce)return[2];null===(o=pe.current)||void 0===o||o.abort(),r=new AbortController,pe.current=r,ye.current&&J(!0),Y(null),console.log("loadData ranges: ",{selectedPreset:Re,currentRange:n}),e.label=1;case 1:return e.trys.push([1,3,4,5]),t={startDate:(null==ke?void 0:ke.pollingEnabled)&&n&&"custom"!==Re?n.startDate:ce.start,endDate:(null==ke?void 0:ke.pollingEnabled)&&n&&"custom"!==Re?n.endDate:ce.end,filters:ie},[4,T({configId:p,baseUrl:b},t,r.signal)];case 2:return l=e.sent(),K(l),(null==ke?void 0:ke.pollingEnabled)||Pe({}),De.current&&(null==Me?void 0:Me.pollingEnabled)&&(null==ke?void 0:ke.pollingInterval)&&(De.current=null!==(u=null==Me?void 0:Me.pollingInterval)&&void 0!==u?u:d,ye.current=!1),[3,5];case 3:return"AbortError"===(null==(a=e.sent())?void 0:a.name)?[2]:(Y(a),De.current&&(null==Me?void 0:Me.maxErrorInterval)&&(De.current=Math.min(De.current*(null!==(i=null==ke?void 0:ke.backoffMultiplier)&&void 0!==i?i:1.5),null!==(s=null==ke?void 0:ke.maxErrorInterval)&&void 0!==s?s:5e4)),[3,5]);case 4:return pe.current===r&&J(!1),[7];case 5:return[2]}})})},[p,b,ce,ie,T]),Le=r.useCallback(function(n,r){return e.__awaiter(f,void 0,void 0,function(){var t,l,a,o,u,i,s;return e.__generator(this,function(d){switch(d.label){case 0:if(!ce||!Ee.current.has(n)||he.current[n])return[2];t=new AbortController,he.current[n]=t,l=function(){return!Ee.current.has(n)||t.signal.aborted||he.current[n]!==t},Pe(function(r){var t,l,a,o,u,i,s,d;return e.__assign(e.__assign({},r),((t={})[n]={rows:null!==(a=null===(l=r[n])||void 0===l?void 0:l.rows)&&void 0!==a?a:[],cursor:null===(o=r[n])||void 0===o?void 0:o.cursor,hasMore:null!==(i=null===(u=r[n])||void 0===u?void 0:u.hasMore)&&void 0!==i&&i,loading:!0,loaded:null!==(d=null===(s=r[n])||void 0===s?void 0:s.loaded)&&void 0!==d&&d},t))}),d.label=1;case 1:return d.trys.push([1,3,4,5]),[4,O({configId:p,baseUrl:b},e.__assign({startDate:ce.start,endDate:ce.end,filters:ie,tableKey:n,pageSize:20},r?{cursor:r}:{}),t.signal)];case 2:return a=d.sent(),o=null!==(s=null===(i=a.table)||void 0===i?void 0:i[n])&&void 0!==s?s:[],l()?[2]:(Pe(function(r){var t,l,u=r[n];return u?e.__assign(e.__assign({},r),((t={})[n]={rows:e.__spreadArray(e.__spreadArray([],u.rows,!0),o,!0),cursor:null!==(l=a.nextCursor)&&void 0!==l?l:void 0,hasMore:a.hasNext,loading:!1,loaded:!0},t)):r}),[3,5]);case 3:return"AbortError"===(null==(u=d.sent())?void 0:u.name)||l()?[2]:(Pe(function(r){var t;return r[n]?e.__assign(e.__assign({},r),((t={})[n]=e.__assign(e.__assign({},r[n]),{loading:!1,hasMore:!1}),t)):r}),[3,5]);case 4:return he.current[n]===t&&delete he.current[n],[7];case 5:return[2]}})})},[p,b,ce,ie,O]),Ve=r.useCallback(function(n,r){var t;if(!r)return Ee.current.delete(n),null===(t=he.current[n])||void 0===t||t.abort(),delete he.current[n],void Pe(function(r){var t=r,l=n;return t[l],e.__rest(t,["symbol"==typeof l?l:l+""])});Ee.current.add(n),Le(n)},[Le]),Ne=r.useCallback(function(e){var n=Ae[e];(null==n?void 0:n.hasMore)&&!n.loading&&n.cursor&&Le(e,n.cursor)},[Le,Ae]);r.useEffect(function(){return function(){Ee.current.clear(),Object.values(he.current).forEach(function(e){return e.abort()})}},[]),r.useEffect(function(){return qe(),function(){var e;return null===(e=pe.current)||void 0===e?void 0:e.abort()}},[qe]),r.useEffect(function(){return function(){var e;return null===(e=_e.current)||void 0===e?void 0:e.abort()}},[]),r.useEffect(function(){!function(e){var n=Object.values(l.DATE_PRESETS).find(function(n){return n.value===e}),r=!(!n||!("pollingEnabled"in n)||!1===n.pollingEnabled);je(r)}(Re)},[Re]);var Ke=r.useCallback(function(e){if((null==e?void 0:e.startDate)&&(null==e?void 0:e.endDate)){var n=e.startDate.getTime(),r=e.endDate.getTime();fe.current&&fe.current.start===n&&fe.current.end===r||(fe.current={start:n,end:r},ve({start:e.startDate,end:e.endDate}))}null==x||x(e),J(!0)},[x]),Be=z||W&&!N;return X?A?n.jsx(n.Fragment,{children:A(X,Oe)}):n.jsxs("div",e.__assign({style:{padding:24,color:"#b91c1c"}},{children:["Failed to load dashboard: ",X.message,n.jsx("button",e.__assign({onClick:Oe,style:{marginLeft:12}},{children:"Retry"}))]})):!Be&&q&&N&&ce?(console.log("pollingEnabled: ",null==ke?void 0:ke.pollingEnabled,xe),n.jsx(t.ExecutiveDashboard,{uiConfig:q,data:N,dataLoading:W,startDate:ce.start,endDate:ce.end,onDateChange:Ke,onRefresh:function(){qe(),J(!0)},selectedKpis:re,onKpiChange:function(n,r){te(function(t){var l;return e.__assign(e.__assign({},t),((l={})[n]=r,l))})},sidebarVisible:$,onSidebarShow:function(){return ee(!0)},onSidebarHide:function(){return ee(!1)},filterValues:ae,onFilterChange:function(n,r){oe(function(t){var l;return e.__assign(e.__assign({},t),((l={})[n]=r,l))})},onFilterReset:function(){if(q){var e={};q.data.sidebarFilters.forEach(function(n){e[n.id]="multiSelect"===n.type?[]:""}),oe(e)}},onFilterApply:function(){se(ae),ee(!1),null==j||j(ae)},appliedFilters:ie,graphEmptyState:h,tables:_,tableLayout:E,sectionOrder:m,hiddenSections:D,tablePages:Ae,onTableExpand:Ve,onTableLoadMore:Ne,pollingEnabled:(null==ke?void 0:ke.pollingEnabled)&&xe,selectedPreset:Re,handlePresetChange:function(e){we(e)}})):F?n.jsx(n.Fragment,{children:F()}):n.jsx(a.DashboardSkeleton,{})}exports.ExecutiveDashboardWrapper=c,exports.default=c;
|
|
2
2
|
//# sourceMappingURL=ExecutiveDashboardWrapper.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var l=require("../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),i=require("react"),o=require("lucide-react"),n=require("./DashboardDateFilter/DashboardDateFilter.js"),t=require("./MetricCard/MetricCard.js"),d=require("./FiltersSidebar/FiltersSidebar.js"),a=require("./Graph/Graph.js"),r=require("./Graph/GraphEmptyState.js"),u=require("./DashboardDateFilter/datePreset.js"),s=require("./Table/TableCard.js"),v=require("./Table/TableGrid/TableGrid.js"),c=require("../utils/tableColumns.js"),p=require("../utils/sectionOrder.js"),g=require("../utils/index.js"),h=require("../utils/kpiIcon.js");function b(l){return l&&"object"==typeof l&&"default"in l?l:{default:l}}var f=b(i),y=["#7c3aed","#FFC130","#F43F5E","#10b981","#3b82f6"];function m(b){var m,x,C,j,F,_,k,D,w,S,B,q,L,P,O,A,E,M,T,R,V,K,H,I,G,z,W,N,Z,J,Q,U,X,Y,$,ll,el,il=b.uiConfig,ol=b.data,nl=b.dataLoading,tl=b.startDate,dl=b.endDate,al=b.onDateChange,rl=b.onRefresh,ul=b.selectedKpis,sl=b.onKpiChange,vl=b.sidebarVisible,cl=b.onSidebarShow,pl=b.onSidebarHide,gl=b.filterValues,hl=b.onFilterChange,bl=b.onFilterReset,fl=b.onFilterApply,yl=b.appliedFilters,ml=b.graphEmptyState,xl=b.tables,Cl=b.tableLayout,jl=b.sectionOrder,Fl=b.hiddenSections,_l=b.tablePages,kl=b.onTableExpand,Dl=b.onTableLoadMore,wl=b.pollingEnabled,Sl=void 0!==wl&&wl,Bl=b.selectedPreset,ql=b.handlePresetChange,Ll=null!==(C=null===(x=null===(m=null==il?void 0:il.data)||void 0===m?void 0:m.dateFilters)||void 0===x?void 0:x.datepresets)&&void 0!==C?C:[],Pl=i.useMemo(function(){return Ll.map(function(l){return u.DATE_PRESET_MAP[l]}).filter(Boolean)},[JSON.stringify(Ll)]),Ol=i.useMemo(function(){return g.getActiveFilterCount(yl)},[yl]),Al=i.useMemo(function(){var l,e,i=null==Cl?void 0:Cl.spans;if(i)return(null!==(e=null===(l=null==il?void 0:il.data)||void 0===l?void 0:l.tableBuilder)&&void 0!==e?e:[]).map(function(l,e){return Array.isArray(i)?i[e]:i[l.key]})},[null==Cl?void 0:Cl.spans,null===(j=null==il?void 0:il.data)||void 0===j?void 0:j.tableBuilder]),El=e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(a.default,{loading:nl,emptyState:null!=ml?ml:e.jsx(r.default,{}),title:null===(F=null==il?void 0:il.data)||void 0===F?void 0:F.graphBuilder.title,description:null===(k=null===(_=null==il?void 0:il.data)||void 0===_?void 0:_.graphBuilder)||void 0===k?void 0:k.subtitle,icon:e.jsx(o.ChartLine,{size:18}),xAxis:{label:(null===(w=null===(D=null==il?void 0:il.data)||void 0===D?void 0:D.graphBuilder)||void 0===w?void 0:w.axis.xAxisLabel)||"Date"},style:{chartHeight:220},scrollable:Sl,panes:null===(S=null==il?void 0:il.data)||void 0===S?void 0:S.graphBuilder.tiers.map(function(l,i){var n,t,d,a,r,u,s,v,c,p,g,h,b=ul[l.key]||(null===(n=l.plotOptions[0])||void 0===n?void 0:n.key),f=ol.graph.tier.find(function(e){return e.key===l.key}),m=(null===(t=null==f?void 0:f.referenceOptions)||void 0===t?void 0:t[b])||{},x=(null===(d=null==f?void 0:f.plotbyoptions)||void 0===d?void 0:d[b])||{},C=(null==l?void 0:l.series)||[],j=Object.keys(x),F=l.plotOptions.find(function(l){return l.value===b});return{key:l.key,selector:{label:"Plot By",value:b,onChange:function(e){sl(l.key,e)},options:l.plotOptions.map(function(l){return{label:l.label,value:l.value}}),triggerIcon:e.jsx(o.ChartLine,{size:16,color:0===i?"green":"purple"})},yAxis:{label:null==F?void 0:F.yAxisLabel,beginAtZero:"false"!==(null==b?void 0:b.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(u=null===(r=null===(a=null==il?void 0:il.data)||void 0===a?void 0:a.graphBuilder)||void 0===r?void 0:r.legend)||void 0===u?void 0:u.position)||"bottom",toggle:"yes"===(null===(c=null===(v=null===(s=null==il?void 0:il.data)||void 0===s?void 0:s.graphBuilder)||void 0===v?void 0:v.legend)||void 0===c?void 0:c.allowToggle),align:(null===(h=null===(g=null===(p=null==il?void 0:il.data)||void 0===p?void 0:p.graphBuilder)||void 0===g?void 0:g.legend)||void 0===h?void 0:h.alignment)||"center"},height:0===i?300:250,series:j.map(function(l,e){var i,o,n=(null===(o=null===(i=null==f?void 0:f.plotbyoptions)||void 0===i?void 0:i[b])||void 0===o?void 0:o[l])||[],t=y[e%y.length],d=C.find(function(e){return e.key===l});return{key:l,label:(null==d?void 0:d.name)||l,data:n,area:"yes"===(null==d?void 0:d.areaFill),curve:(null==d?void 0:d.curveType)||"linear",color:"#".concat(null==d?void 0:d.color)||t,dashed:"dashed"===(null==d?void 0:d.style),strokeWidth:parseInt(null==d?void 0:d.strokeWidth)||2,showPoints:"yes"===(null==d?void 0:d.showPoints),pointRadius:parseInt(null==d?void 0:d.pointRadius)||3,showInLegend:!0,valueFormatter:function(l){return"".concat(l)}}}),reference:m}})})})),Ml=e.jsx("div",l.__assign({style:{padding:"4px",display:"flex",gap:"10px",flexWrap:"wrap"}},{children:l.__spreadArray([],null!==(q=null===(B=null==il?void 0:il.data)||void 0===B?void 0:B.kpiCards)&&void 0!==q?q:[],!0).sort(function(l,e){var i,o;return(null!==(i=l.displayOrder)&&void 0!==i?i:0)-(null!==(o=e.displayOrder)&&void 0!==o?o:0)}).map(function(l){var i,o=null===(i=null==ol?void 0:ol.kpiCards)||void 0===i?void 0:i[l.title],n=g.isKpiValueObject(o)?g.getKpiValueColor(o.currentValue,o.baselineValue,l.indicatorLogic):void 0,d=g.isKpiValueObject(o)?g.getKpiDelta(o.currentValue,o.baselineValue,l.indicatorLogic):void 0;return e.jsx(t.default,{title:l.title,subtitle:l.subtitle,value:g.formatKpiValue(o,l.valueFormat),valueColor:n,delta:d&&{label:d.label,direction:d.direction,color:n},icon:h.getKpiIcon(l.icon),loading:nl},l.title)})})),Tl=(null!==(O=null===(P=null===(L=null==il?void 0:il.data)||void 0===L?void 0:L.tableBuilder)||void 0===P?void 0:P.length)&&void 0!==O?O:0)>0?e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(v.default,l.__assign({itemSpans:Al,totalColumns:null!==(A=null==Cl?void 0:Cl.totalColumns)&&void 0!==A?A:12,defaultSpan:null==Cl?void 0:Cl.defaultSpan,options:null!==(E=null==Cl?void 0:Cl.options)&&void 0!==E?E:[1,2,3],defaultColumns:null==Cl?void 0:Cl.defaultColumns,columns:null==Cl?void 0:Cl.columns,onColumnsChange:null==Cl?void 0:Cl.onColumnsChange,showToggle:(null===(M=null==Cl?void 0:Cl.showToggle)||void 0===M||M)&&(null!==(V=null===(R=null===(T=null==il?void 0:il.data)||void 0===T?void 0:T.tableBuilder)||void 0===R?void 0:R.length)&&void 0!==V?V:0)>1,toggleLabel:null==Cl?void 0:Cl.toggleLabel,minColumnWidth:null!==(K=null==Cl?void 0:Cl.minColumnWidth)&&void 0!==K?K:380,gap:null!==(H=null==Cl?void 0:Cl.gap)&&void 0!==H?H:12,equalHeights:null===(I=null==Cl?void 0:Cl.equalHeights)||void 0===I||I},{children:il.data.tableBuilder.map(function(i){var o,n,t=null!==(n=null===(o=null==ol?void 0:ol.table)||void 0===o?void 0:o[i.key])&&void 0!==n?n:[],d=null==_l?void 0:_l[i.key],a=!!(null==d?void 0:d.loaded),r=a?d.rows:t,u=!a&&i.rowLimit&&i.rowLimit>0?t.slice(0,i.rowLimit):r,v=null==xl?void 0:xl[i.key],p=c.buildColumns(i,v),g=null==v?void 0:v.card,b=null==g?void 0:g.icon,y=h.getKpiIcon(i.icon),m=y&&f.default.isValidElement(y)?f.default.cloneElement(y,l.__assign(l.__assign({},null!=(null==b?void 0:b.size)?{size:b.size}:{}),(null==b?void 0:b.color)?{color:b.color}:{})):y,x=b?l.__assign(l.__assign(l.__assign({width:"auto",height:"auto"},b.color?{color:b.color}:{}),b.background?{background:b.background,padding:6,borderRadius:8}:{}),b.style):void 0;return e.jsx(s.default,{title:i.title,icon:m,styles:{root:null==g?void 0:g.root,header:null==g?void 0:g.header,title:null==g?void 0:g.title,icon:x},onExpand:function(l){return null==kl?void 0:kl(i.key,l)},table:{rows:c.withRowIds(u),columns:p,loading:nl,loadingMore:null==d?void 0:d.loading,hasMore:null==d?void 0:d.hasMore,onLoadMore:d?function(){return null==Dl?void 0:Dl(i.key)}:void 0,tableProps:null==v?void 0:v.tableProps}},i.key)})}))})):null,Rl={graphBuilder:El,kpiCards:Ml,tableBuilder:Tl},Vl=p.resolveSectionOrder(jl,Fl,null===(G=null==il?void 0:il.data)||void 0===G?void 0:G.sectionOrder,Object.keys(Rl)),Kl=p.isSectionHidden(Fl,"dateFilters"),Hl=p.isSectionHidden(Fl,"sidebarFilters");return e.jsx(e.Fragment,{children:e.jsxs("div",l.__assign({style:{display:"flex",flexDirection:"column",gap:12}},{children:[!Kl&&e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(n.default,{filterCount:Ol,initialStartDate:tl,initialEndDate:dl,onDateChange:al,onRefresh:rl,onFilterClick:cl,presets:Pl,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:tl,maxDate:new Date}},defaultPresets:null===(z=null==il?void 0:il.data)||void 0===z?void 0:z.dateFilters.defaultPreset,showLiveButton:"yes"===(null===(N=null===(W=null==il?void 0:il.data)||void 0===W?void 0:W.dateFilters)||void 0===N?void 0:N.showLiveButton),showFilterButton:!Hl&&"yes"===(null===(J=null===(Z=null==il?void 0:il.data)||void 0===Z?void 0:Z.dateFilters)||void 0===J?void 0:J.showFilterButton),showFilterCount:!Hl&&"yes"===(null===(U=null===(Q=null==il?void 0:il.data)||void 0===Q?void 0:Q.dateFilters)||void 0===U?void 0:U.showFilterCount),liveDuration:null===(Y=null===(X=null==il?void 0:il.data)||void 0===X?void 0:X.dateFilters)||void 0===Y?void 0:Y.liveDurationMs,pollingEnabled:Sl,selectedPreset:Bl,handlePresetChange:ql})})),Vl.map(function(l){return e.jsx(f.default.Fragment,{children:Rl[l]},l)}),!Hl&&e.jsx(d.default,{visible:vl,onHide:pl,onReset:bl,onApply:fl,fields:null!==(el=null===(ll=null===($=null==il?void 0:il.data)||void 0===$?void 0:$.sidebarFilters)||void 0===ll?void 0:ll.map(function(l){var e,i,o,n,t=l.schemaFilterName,d="Single select"===l.type?"singleSelect":"Multi select"===l.type?"multiSelect":"Date Range"===l.type?"dateRange":"Date"===l.type?"date":"text",a=null!==(i=null===(e=l.options)||void 0===e?void 0:e.map(function(l){return{label:l,value:l}}))&&void 0!==i?i:[];return{id:t,label:l.label,hint:l.description,type:d,placeholder:l.placeholder,options:a,value:"multiSelect"===d?null!==(o=gl[t])&&void 0!==o?o:[]:null!==(n=gl[t])&&void 0!==n?n:"",onChange:function(l){return hl(t,l)}}}))&&void 0!==el?el:[]})]}))})}exports.ExecutiveDashboard=m,exports.default=m;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var l=require("../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),i=require("react"),o=require("lucide-react"),n=require("./DashboardDateFilter/DashboardDateFilter.js"),t=require("./MetricCard/MetricCard.js"),d=require("./FiltersSidebar/FiltersSidebar.js"),a=require("./Graph/Graph.js"),r=require("./Graph/GraphEmptyState.js"),u=require("./DashboardDateFilter/datePreset.js"),s=require("./Table/TableCard.js"),v=require("./Table/TableGrid/TableGrid.js"),c=require("../utils/tableColumns.js"),p=require("../utils/sectionOrder.js"),g=require("../utils/index.js"),h=require("../utils/kpiIcon.js");function b(l){return l&&"object"==typeof l&&"default"in l?l:{default:l}}var f=b(i),y=["#7c3aed","#FFC130","#F43F5E","#10b981","#3b82f6"];function m(b){var m,x,C,j,F,_,k,D,w,S,B,q,L,P,O,A,E,M,T,R,V,K,H,I,G,z,W,N,Z,J,Q,U,X,Y,$,ll,el,il=b.uiConfig,ol=b.data,nl=b.dataLoading,tl=b.startDate,dl=b.endDate,al=b.onDateChange,rl=b.onRefresh,ul=b.selectedKpis,sl=b.onKpiChange,vl=b.sidebarVisible,cl=b.onSidebarShow,pl=b.onSidebarHide,gl=b.filterValues,hl=b.onFilterChange,bl=b.onFilterReset,fl=b.onFilterApply,yl=b.appliedFilters,ml=b.graphEmptyState,xl=b.tables,Cl=b.tableLayout,jl=b.sectionOrder,Fl=b.hiddenSections,_l=b.tablePages,kl=b.onTableExpand,Dl=b.onTableLoadMore,wl=b.pollingEnabled,Sl=void 0!==wl&&wl,Bl=b.selectedPreset,ql=b.handlePresetChange,Ll=null!==(C=null===(x=null===(m=null==il?void 0:il.data)||void 0===m?void 0:m.dateFilters)||void 0===x?void 0:x.datepresets)&&void 0!==C?C:[],Pl=i.useMemo(function(){return Ll.map(function(l){return u.DATE_PRESET_MAP[l]}).filter(Boolean)},[JSON.stringify(Ll)]),Ol=i.useMemo(function(){return g.getActiveFilterCount(yl)},[yl]),Al=i.useMemo(function(){var l,e,i=null==Cl?void 0:Cl.spans;if(i)return(null!==(e=null===(l=null==il?void 0:il.data)||void 0===l?void 0:l.tableBuilder)&&void 0!==e?e:[]).map(function(l,e){return Array.isArray(i)?i[e]:i[l.key]})},[null==Cl?void 0:Cl.spans,null===(j=null==il?void 0:il.data)||void 0===j?void 0:j.tableBuilder]),El=e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(a.default,{loading:nl,emptyState:null!=ml?ml:e.jsx(r.default,{}),title:null===(F=null==il?void 0:il.data)||void 0===F?void 0:F.graphBuilder.title,description:null===(k=null===(_=null==il?void 0:il.data)||void 0===_?void 0:_.graphBuilder)||void 0===k?void 0:k.subtitle,icon:e.jsx(o.ChartLine,{size:18}),xAxis:{label:(null===(w=null===(D=null==il?void 0:il.data)||void 0===D?void 0:D.graphBuilder)||void 0===w?void 0:w.axis.xAxisLabel)||"Date"},style:{chartHeight:220},scrollable:Sl,panes:null===(S=null==il?void 0:il.data)||void 0===S?void 0:S.graphBuilder.tiers.map(function(l,i){var n,t,d,a,r,u,s,v,c,p,g,h,b=ul[l.key]||(null===(n=l.plotOptions[0])||void 0===n?void 0:n.key),f=ol.graph.tier.find(function(e){return e.key===l.key}),m=(null===(t=null==f?void 0:f.referenceOptions)||void 0===t?void 0:t[b])||{},x=(null===(d=null==f?void 0:f.plotbyoptions)||void 0===d?void 0:d[b])||{},C=(null==l?void 0:l.series)||[],j=Object.keys(x),F=l.plotOptions.find(function(l){return l.value===b});return{key:l.key,selector:{label:"Plot By",value:b,onChange:function(e){sl(l.key,e)},options:l.plotOptions.map(function(l){return{label:l.label,value:l.value}}),triggerIcon:e.jsx(o.ChartLine,{size:16,color:0===i?"green":"purple"})},yAxis:{label:null==F?void 0:F.yAxisLabel,beginAtZero:"false"!==(null==b?void 0:b.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(u=null===(r=null===(a=null==il?void 0:il.data)||void 0===a?void 0:a.graphBuilder)||void 0===r?void 0:r.legend)||void 0===u?void 0:u.position)||"bottom",toggle:"yes"===(null===(c=null===(v=null===(s=null==il?void 0:il.data)||void 0===s?void 0:s.graphBuilder)||void 0===v?void 0:v.legend)||void 0===c?void 0:c.allowToggle),align:(null===(h=null===(g=null===(p=null==il?void 0:il.data)||void 0===p?void 0:p.graphBuilder)||void 0===g?void 0:g.legend)||void 0===h?void 0:h.alignment)||"center"},height:0===i?300:250,series:j.map(function(l,e){var i,o,n=(null===(o=null===(i=null==f?void 0:f.plotbyoptions)||void 0===i?void 0:i[b])||void 0===o?void 0:o[l])||[],t=y[e%y.length],d=C.find(function(e){return e.key===l});return{key:l,label:(null==d?void 0:d.name)||l,data:n,area:"yes"===(null==d?void 0:d.areaFill),curve:(null==d?void 0:d.curveType)||"linear",color:"#".concat(null==d?void 0:d.color)||t,dashed:"dashed"===(null==d?void 0:d.style),strokeWidth:parseInt(null==d?void 0:d.strokeWidth)||2,showPoints:"yes"===(null==d?void 0:d.showPoints),pointRadius:parseInt(null==d?void 0:d.pointRadius)||3,showInLegend:!0,valueFormatter:function(l){return"".concat(l)}}}),reference:m}})})})),Ml=e.jsx("div",l.__assign({style:{padding:"4px",display:"flex",gap:"10px",flexWrap:"wrap"}},{children:l.__spreadArray([],null!==(q=null===(B=null==il?void 0:il.data)||void 0===B?void 0:B.kpiCards)&&void 0!==q?q:[],!0).sort(function(l,e){var i,o;return(null!==(i=l.displayOrder)&&void 0!==i?i:0)-(null!==(o=e.displayOrder)&&void 0!==o?o:0)}).map(function(l){var i,o=null===(i=null==ol?void 0:ol.kpiCards)||void 0===i?void 0:i[l.title],n=g.isKpiValueObject(o)?g.getKpiValueColor(o.currentValue,o.baselineValue,l.indicatorLogic):void 0,d=g.isKpiValueObject(o)?g.getKpiDelta(o.currentValue,o.baselineValue,l.indicatorLogic):void 0;return e.jsx(t.default,{title:l.title,subtitle:l.subtitle,value:g.formatKpiValue(o,l.valueFormat),valueColor:n,delta:d&&{label:d.label,direction:d.direction,color:n},icon:h.getKpiIcon(l.icon),loading:nl},l.title)})})),Tl=(null!==(O=null===(P=null===(L=null==il?void 0:il.data)||void 0===L?void 0:L.tableBuilder)||void 0===P?void 0:P.length)&&void 0!==O?O:0)>0?e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(v.default,l.__assign({itemSpans:Al,totalColumns:null!==(A=null==Cl?void 0:Cl.totalColumns)&&void 0!==A?A:12,defaultSpan:null==Cl?void 0:Cl.defaultSpan,options:null!==(E=null==Cl?void 0:Cl.options)&&void 0!==E?E:[1,2,3],defaultColumns:null==Cl?void 0:Cl.defaultColumns,columns:null==Cl?void 0:Cl.columns,onColumnsChange:null==Cl?void 0:Cl.onColumnsChange,showToggle:(null===(M=null==Cl?void 0:Cl.showToggle)||void 0===M||M)&&(null!==(V=null===(R=null===(T=null==il?void 0:il.data)||void 0===T?void 0:T.tableBuilder)||void 0===R?void 0:R.length)&&void 0!==V?V:0)>1,toggleLabel:null==Cl?void 0:Cl.toggleLabel,minColumnWidth:null!==(K=null==Cl?void 0:Cl.minColumnWidth)&&void 0!==K?K:380,gap:null!==(H=null==Cl?void 0:Cl.gap)&&void 0!==H?H:12,equalHeights:null===(I=null==Cl?void 0:Cl.equalHeights)||void 0===I||I},{children:il.data.tableBuilder.map(function(i){var o,n,t=null!==(n=null===(o=null==ol?void 0:ol.table)||void 0===o?void 0:o[i.key])&&void 0!==n?n:[],d=null==_l?void 0:_l[i.key],a=!!(null==d?void 0:d.loaded),r=a?d.rows:t,u=!a&&i.rowLimit&&i.rowLimit>0?t.slice(0,i.rowLimit):r,v=null==xl?void 0:xl[i.key],p=c.buildColumns(i,v),g=null==v?void 0:v.card,b=null==g?void 0:g.icon,y=h.getKpiIcon(i.icon),m=y&&f.default.isValidElement(y)?f.default.cloneElement(y,l.__assign(l.__assign({},null!=(null==b?void 0:b.size)?{size:b.size}:{}),(null==b?void 0:b.color)?{color:b.color}:{})):y,x=b?l.__assign(l.__assign(l.__assign({width:"auto",height:"auto"},b.color?{color:b.color}:{}),b.background?{background:b.background,padding:6,borderRadius:8}:{}),b.style):void 0;return e.jsx(s.default,{title:i.title,icon:m,styles:{root:null==g?void 0:g.root,header:null==g?void 0:g.header,title:null==g?void 0:g.title,icon:x},onExpand:function(l){return null==kl?void 0:kl(i.key,l)},table:{rows:c.withRowIds(u),columns:p,loading:nl,loadingMore:null==d?void 0:d.loading,hasMore:null==d?void 0:d.hasMore,onLoadMore:d?function(){return null==Dl?void 0:Dl(i.key)}:void 0,tableProps:null==v?void 0:v.tableProps}},i.key)})}))})):null,Rl={graphBuilder:El,kpiCards:Ml,tableBuilder:Tl},Vl=p.resolveSectionOrder(jl,Fl,null===(G=null==il?void 0:il.data)||void 0===G?void 0:G.sectionOrder,Object.keys(Rl)),Kl=p.isSectionHidden(Fl,"dateFilters"),Hl=p.isSectionHidden(Fl,"sidebarFilters");return e.jsx(e.Fragment,{children:e.jsxs("div",l.__assign({style:{display:"flex",flexDirection:"column",gap:12,width:"100%"}},{children:[!Kl&&e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(n.default,{filterCount:Ol,initialStartDate:tl,initialEndDate:dl,onDateChange:al,onRefresh:rl,onFilterClick:cl,presets:Pl,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:tl,maxDate:new Date}},defaultPresets:null===(z=null==il?void 0:il.data)||void 0===z?void 0:z.dateFilters.defaultPreset,showLiveButton:"yes"===(null===(N=null===(W=null==il?void 0:il.data)||void 0===W?void 0:W.dateFilters)||void 0===N?void 0:N.showLiveButton),showFilterButton:!Hl&&"yes"===(null===(J=null===(Z=null==il?void 0:il.data)||void 0===Z?void 0:Z.dateFilters)||void 0===J?void 0:J.showFilterButton),showFilterCount:!Hl&&"yes"===(null===(U=null===(Q=null==il?void 0:il.data)||void 0===Q?void 0:Q.dateFilters)||void 0===U?void 0:U.showFilterCount),liveDuration:null===(Y=null===(X=null==il?void 0:il.data)||void 0===X?void 0:X.dateFilters)||void 0===Y?void 0:Y.liveDurationMs,pollingEnabled:Sl,selectedPreset:Bl,handlePresetChange:ql})})),Vl.map(function(l){return e.jsx(f.default.Fragment,{children:Rl[l]},l)}),!Hl&&e.jsx(d.default,{visible:vl,onHide:pl,onReset:bl,onApply:fl,fields:null!==(el=null===(ll=null===($=null==il?void 0:il.data)||void 0===$?void 0:$.sidebarFilters)||void 0===ll?void 0:ll.map(function(l){var e,i,o,n,t=l.schemaFilterName,d="Single select"===l.type?"singleSelect":"Multi select"===l.type?"multiSelect":"Date Range"===l.type?"dateRange":"Date"===l.type?"date":"text",a=null!==(i=null===(e=l.options)||void 0===e?void 0:e.map(function(l){return{label:l,value:l}}))&&void 0!==i?i:[];return{id:t,label:l.label,hint:l.description,type:d,placeholder:l.placeholder,options:a,value:"multiSelect"===d?null!==(o=gl[t])&&void 0!==o?o:[]:null!==(n=gl[t])&&void 0!==n?n:"",onChange:function(l){return hl(t,l)}}}))&&void 0!==el?el:[]})]}))})}exports.ExecutiveDashboard=m,exports.default=m;
|
|
2
2
|
//# sourceMappingURL=ExecutiveDashboard.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),i=require("react"),l=require("recharts"),r=require("../ui/chart.js"),o=require("./types.js"),t=require("../../utils/index.js"),a=require("./Seperator.js"),u=function(e){return"number"==typeof e&&!Number.isNaN(e)},s=function(e){switch(e){case"linear":return"linear";case"step":return"stepAfter";default:return"monotone"}};exports.default=function(d){var c,v,f,h,y,x,g,p,m,k=d.series,b=d.hiddenKeys,_=d.onToggleSeries,j=d.xAxis,C=d.yAxis,A=d.tooltip,w=d.legend,L=d.style,T=d.syncId,M=d.reference
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),i=require("react"),l=require("recharts"),r=require("../ui/chart.js"),o=require("./types.js"),t=require("../../utils/index.js"),a=require("./Seperator.js"),u=function(e){return"number"==typeof e&&!Number.isNaN(e)},s=function(e){switch(e){case"linear":return"linear";case"step":return"stepAfter";default:return"monotone"}};exports.default=function(d){var c,v,f,h,y,x,g,p,m,k=d.series,b=d.hiddenKeys,_=d.onToggleSeries,j=d.xAxis,C=d.yAxis,A=d.tooltip,w=d.legend,L=d.style,T=d.syncId,M=d.reference;d.scrollable;var S=d.onPointClick,F=null!==(c=null==L?void 0:L.chartHeight)&&void 0!==c?c:300,N=null!==(v=null==L?void 0:L.gridColor)&&void 0!==v?v:"#eef0f4",E=null!==(f=null==L?void 0:L.axisColor)&&void 0!==f?f:"#d7dbe3",I=null!==(h=null==L?void 0:L.axisLabelColor)&&void 0!==h?h:"#6b7280",K=null!==(y=null==L?void 0:L.tickColor)&&void 0!==y?y:"#9ca3af",P=null!==(x=null==L?void 0:L.fontFamily)&&void 0!==x?x:"Inter, system-ui, -apple-system, sans-serif",R=i.useState(null),q=R[0],W=R[1],D=i.useMemo(function(){var n,i,l;if(null===(n=null==j?void 0:j.categories)||void 0===n?void 0:n.length)return{categories:j.categories,xType:null!==(i=j.type)&&void 0!==i?i:"category"};var r=new Set,o=[];k.forEach(function(e){return e.data.forEach(function(e){r.has(e.x)||(r.add(e.x),o.push(e.x))})});var t=o.every(u),a=null!==(l=null==j?void 0:j.type)&&void 0!==l?l:t?"number":"category";return{categories:"number"===a?e.__spreadArray([],o,!0).sort(function(e,n){return Number(e)-Number(n)}):o,xType:a}},[k,null==j?void 0:j.categories,null==j?void 0:j.type]),z=D.categories,O=D.xType,B=i.useMemo(function(){var e=new Map;return k.forEach(function(n){var i=new Map;n.data.forEach(function(e){return i.set(e.x,e.y)}),e.set(n.key,i)}),z.map(function(n){var i={x:n};return k.forEach(function(l){var r,o=null===(r=e.get(l.key))||void 0===r?void 0:r.get(n);i[l.key]=null==o?null:o}),i})},[k,z]),G=i.useMemo(function(){var e={},n=k.map(function(n,i){var l,r=null!==(l=n.color)&&void 0!==l?l:o.colorForIndex(null==L?void 0:L.colors,i);return e[n.key]={label:n.label,color:r},{series:n,color:r,index:i}});return{chartConfig:e,resolved:n}},[k,null==L?void 0:L.colors]),H=G.chartConfig,V=G.resolved,X=i.useMemo(function(){var e={};return k.forEach(function(n){n.valueFormatter&&(e[n.key]=function(e,i){var l;return n.valueFormatter(e,null!==(l=null==i?void 0:i.payload)&&void 0!==l?l:{x:null==i?void 0:i.x,y:e})})}),e},[k]),Y=!1!==(null==A?void 0:A.enabled),Z=(null==A?void 0:A.seriesKeys)?new Set(A.seriesKeys):null,J=!1!==(null==w?void 0:w.show),Q="top"===(null==w?void 0:w.position)?"top":"bottom",U="start"===(null==w?void 0:w.align)?"left":"end"===(null==w?void 0:w.align)?"right":"center",$=!1!==(null==j?void 0:j.show),ee=!1!==(null==C?void 0:C.show),ne=!1!==(null==L?void 0:L.showGrid),ie=!!(null==L?void 0:L.showVerticalGrid),le=i.useMemo(function(){return Math.max.apply(Math,B.flatMap(function(e){return k.map(function(n){return Number(e[n.key])||0})}))},[B]),re=i.useMemo(function(){return Math.ceil(1.1*le)},[le]),oe=[null!=(null==C?void 0:C.min)?C.min:!1!==(null==C?void 0:C.beginAtZero)?0:"auto",null!=(null==C?void 0:C.max)?C.max:re],te=null!==(g=null==L?void 0:L.yAxisWidth)&&void 0!==g?g:(null==C?void 0:C.label)?64:48,ae={top:12,right:16,bottom:8,left:null!=(null==L?void 0:L.yAxisWidth)?0:(null==C?void 0:C.label)?16:0},ue=null!==(p=null==j?void 0:j.enableScroll)&&void 0!==p&&p,se=null!==(m=null==j?void 0:j.minTickGap)&&void 0!==m?m:2;return i.useMemo(function(){if(!ue||!q||z.length<=1)return"100%";var e=(z.length-1)*se+200;return e>q-te-ae.left-ae.right?"".concat(e,"px"):"100%"},[ue,q,z.length,se,te,ae]),n.jsx(r.ChartContainer,e.__assign({config:H,style:{height:F,fontFamily:P},ref:function(e){e&&null===q&&W(e.clientWidth)}},{children:function(){var i,o;return n.jsxs(l.ComposedChart,e.__assign({data:B,margin:ae,syncId:T},{children:[n.jsx(l.CartesianGrid,{vertical:ie,horizontal:ne,stroke:N}),n.jsx(l.XAxis,{dataKey:"x",type:"number"===O?"number":"category",hide:!$,height:(null==j?void 0:j.label)?52:void 0,tickLine:!1,axisLine:!(null==j?void 0:j.hideLine)&&{stroke:E},tickMargin:8,interval:"preserveStartEnd",tick:{fill:K,fontSize:11},tickFormatter:(null==j?void 0:j.formatTick)?function(e,n){return j.formatTick(e,n)}:void 0,label:(null==M?void 0:M.showReferenceAreaLabel)?function(i){return function(i){var l=i.viewBox;i.startTick,i.endTick;var r=l.x,o=l.y,t=l.width,u=1;if((null==M?void 0:M.showReferenceArea)&&null!=(null==M?void 0:M.referencePoint)&&z.length>1){var s=z.indexOf(M.referencePoint);-1!==s&&(u=s/(z.length-1))}var d=100*u,c=100-d;return n.jsx("foreignObject",e.__assign({x:r,y:o+24,width:t,height:40},{children:n.jsxs("div",e.__assign({className:"ellm-graph__liveLabelContainer"},{children:[n.jsxs("div",e.__assign({style:{flex:d,display:"flex",alignItems:"center"}},{children:[n.jsx(a.default,{}),n.jsx("span",e.__assign({style:{padding:"0 12px",color:"#6b7280",fontSize:"12px"}},{children:null==M?void 0:M.referenceAreaLabel})),n.jsx(a.default,{})]})),c>0&&n.jsxs("div",e.__assign({style:{flex:c,display:"flex",alignItems:"center"}},{children:[n.jsx(a.default,{style:{backgroundColor:"#DC2626"}}),n.jsxs("div",e.__assign({className:"ellm-graph__liveLabel"},{children:[n.jsx(a.default,{style:{width:"8px",height:"8px",borderRadius:"100%",backgroundColor:"#DC2626",flex:"auto"},pulse:!0}),"LIVE - ",null==M?void 0:M.referenceAreaLiveLabel]})),n.jsx(a.default,{style:{backgroundColor:"#DC2626"}})]}))]}))}))}(e.__assign(e.__assign({},i),{startTick:z[0],endTick:z[z.length-1]}))}:(null==j?void 0:j.label)?{value:j.label,position:"insideBottom",offset:4,fill:I,fontSize:12,fontWeight:500}:void 0}),n.jsx(l.YAxis,{hide:!ee,domain:oe,tickLine:!1,axisLine:!1===(null==C?void 0:C.hideLine)&&{stroke:E},tickCount:null==C?void 0:C.tickCount,width:te,tick:{fill:K,fontSize:11},tickFormatter:(null==C?void 0:C.formatTick)?function(e,n){return C.formatTick(e,n)}:function(e){return"number"==typeof e?t.compactNumber(e):String(e)},label:(null==C?void 0:C.label)?{value:C.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"},fill:I,fontSize:12,fontWeight:500}:void 0}),Y&&n.jsx(r.ChartTooltip,{cursor:{stroke:E,strokeDasharray:"4 4"},content:function(i){var l,o=(null!==(l=i.payload)&&void 0!==l?l:[]).filter(function(e){var n=k.find(function(n){return n.key===e.dataKey});return!1!==(null==n?void 0:n.showInTooltip)&&!(Z&&!Z.has(String(e.dataKey)))});return(null==A?void 0:A.render)?A.render({x:i.label,points:o.map(function(e){var n;return{series:k.find(function(n){return n.key===e.dataKey}),value:null!==(n=e.value)&&void 0!==n?n:null,point:{x:i.label,y:e.value},color:e.color}})}):n.jsx(r.ChartTooltipContent,e.__assign({},i,{payload:o,hideLabel:!1===(null==A?void 0:A.showHeading),valueFormatters:X,labelFormatter:(null==A?void 0:A.formatHeading)?function(e){return A.formatHeading(e)}:void 0}))}}),J&&n.jsx(r.ChartLegend,{verticalAlign:Q,content:function(i){return n.jsx(r.ChartLegendContent,e.__assign({},i,{verticalAlign:Q,align:U,hiddenKeys:b,onItemClick:!1!==(null==w?void 0:w.toggle)&&_?_:void 0}))}}),(null==M?void 0:M.showReferenceArea)&&null!=(null==M?void 0:M.referencePoint)&&n.jsx(l.ReferenceArea,{x1:M.referencePoint,fill:null!==(i=M.referenceAreaFill)&&void 0!==i?i:"#2563EB1A"}),(null==M?void 0:M.showReferenceArea)&&null!=M.referencePoint&&n.jsx(l.ReferenceLine,{x:M.referencePoint,stroke:null!==(o=M.referenceLineStroke)&&void 0!==o?o:"#3B82F6",strokeDasharray:"4 4"}),V.map(function(i){var r,o,t,a,u=i.series,d=b.has(u.key),c="var(--color-".concat(u.key,")"),v=!0===u.dashed?"6 5":"string"==typeof u.dashed?u.dashed:void 0,f=!1!==u.showPoints&&{r:null!==(r=u.pointRadius)&&void 0!==r?r:3,fill:"#fff",stroke:c,strokeWidth:2},h={r:(null!==(o=u.pointRadius)&&void 0!==o?o:3)+2,onClick:S?function(e,n){var i,l;return function(e,n,i){if(S){var l=k.find(function(n){return n.key===e});l&&S({series:l,point:{x:null==n?void 0:n.x,y:null==n?void 0:n[e]},index:i})}}(u.key,null!==(i=null==n?void 0:n.payload)&&void 0!==i?i:n,null!==(l=null==n?void 0:n.index)&&void 0!==l?l:0)}:void 0},y={key:u.key,dataKey:u.key,name:u.key,type:s(u.curve),stroke:c,strokeWidth:null!==(t=u.strokeWidth)&&void 0!==t?t:2,strokeDasharray:v,connectNulls:!1,isAnimationActive:!1,hide:d,dot:f,activeDot:h};return u.area?n.jsx(l.Area,e.__assign({},y,{fill:c,fillOpacity:null!==(a=u.areaOpacity)&&void 0!==a?a:.12})):n.jsx(l.Line,e.__assign({},y))})]}))}()}))};
|
|
2
2
|
//# sourceMappingURL=LineChart.js.map
|
package/dist/cjs/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.App{height:100vh;overflow-y:auto;width:100vw}.chart-scroll{-webkit-overflow-scrolling:touch;background:var(--bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);overflow-x:auto;overflow-y:hidden;scrollbar-color:var(--accent-border) #0000;scrollbar-width:thin;width:100%}.chart-scroll::-webkit-scrollbar{height:10px}.chart-scroll::-webkit-scrollbar-track{background:#0000}.chart-scroll::-webkit-scrollbar-thumb{background:var(--accent-border);border-radius:999px}.chart-scroll::-webkit-scrollbar-thumb:hover{background:var(--accent)}.chart-inner{width:2600px}.ellm-graph__liveLabelContainer{align-items:center;display:flex;gap:16px;height:100%;width:100%}.ellm-graph__liveLabel{align-items:center;color:#dc2626;display:flex;font-size:12px;font-weight:600,;gap:6px;height:100%;padding:0 12px}.pulse{animation:pulse 1.5s infinite}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.ellm-graph__scroll-container{border-radius:var(--ellm-graph-radius);overflow-x:auto;overflow-y:hidden;scrollbar-color:#d7dbe3 #f3f4f6;scrollbar-width:thin;width:100%}.ellm-graph__scroll-container::-webkit-scrollbar{height:8px}.ellm-graph__scroll-container::-webkit-scrollbar-track{background:#f3f4f6}.ellm-graph__scroll-container::-webkit-scrollbar-thumb{background:#d7dbe3;border-radius:4px}.ellm-graph__scroll-container::-webkit-scrollbar-thumb:hover{background:#b1b5be}.audit-table .p-datatable-thead>tr>th .p-column-header-content{justify-content:center}.audit-table .p-datatable-tbody>tr>td{height:92px}.tc-root--fullscreen{border-radius:0;height:100vh!important;position:fixed;z-index:9999}.tg-cell .p-datatable-wrapper{max-height:90vh!important}.q-skeleton{display:flex;flex-direction:column;gap:12px;padding:10px}.q-skeleton-card,.q-skeleton-line,.q-skeleton-pill,.q-skeleton-sparkline-path{background:#eef1f5;overflow:hidden;position:relative}.q-skeleton-card:after,.q-skeleton-line:after,.q-skeleton-pill:after{animation:q-shimmer 1.6s ease-in-out infinite;background:linear-gradient(90deg,#0000,#ffffffa6 50%,#0000);content:"";inset:0;position:absolute;transform:translateX(-100%)}@keyframes q-shimmer{to{transform:translateX(100%)}}.q-skeleton-toolbar{align-items:center;justify-content:space-between}.q-skeleton-presets,.q-skeleton-toolbar{display:flex;gap:8px}.q-skeleton-pill{border-radius:8px;height:32px;width:64px}.q-skeleton-pill--wide{width:72px}.q-skeleton-pill--filter{width:88px}.q-skeleton-pill--selector{border-radius:8px;height:34px;width:110px}.q-skeleton-card{border:1px solid #eef1f5;border-radius:14px;padding:16px 20px}.q-skeleton-graph{padding:20px}.q-skeleton-graph-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:18px}.q-skeleton-line{border-radius:6px}.q-skeleton-line--title{height:16px;margin-bottom:8px;width:160px}.q-skeleton-line--subtitle{height:12px;width:100px}.q-skeleton-graph-body{align-items:flex-end;display:flex;height:180px}.q-skeleton-sparkline{height:100%;width:100%}.q-skeleton-sparkline-path{stroke:#dbe1e8;stroke-width:3;background:none}.q-skeleton-kpis{display:flex;flex-wrap:wrap;gap:10px}.q-skeleton-kpi{flex:1 1 200px;min-width:200px}.q-skeleton-line--label{height:12px;margin-bottom:12px;width:90px}.q-skeleton-line--value{height:24px;margin-bottom:10px;width:70px}.q-skeleton-line--sublabel{height:10px;width:110px}@media (prefers-reduced-motion:reduce){.q-skeleton-card:after,.q-skeleton-line:after,.q-skeleton-pill:after{animation:none}}.q-date-filter{display:flex;flex-direction:column;gap:12px}.q-date-filter-toolbar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:16px;justify-content:space-between;padding:12px 16px}.q-date-filter-toolbar,.q-preset-container{align-items:center;display:flex;flex-wrap:wrap}.q-preset-container{background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:6px}.q-preset-btn{background:#0000;border:none;border-radius:999px;color:#334155;cursor:pointer;font-size:14px;font-weight:500;outline:none;padding:10px 20px;transition:.2s}.q-preset-btn:hover{background:#f9fafb}.q-preset-btn.active{background:#6d28d9;color:#fff}.q-live-chip{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;display:flex;font-size:14px;font-weight:500;gap:8px;height:33px;padding:0 16px}.q-live-dot{background:#15803d;border-radius:50%;height:8px;width:8px}.q-filter-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#475569;cursor:pointer;display:flex;font-family:Inter;font-weight:500;gap:8px;height:33px;padding:5.25px 8.75px}.q-filter-btn:hover{background:#f9fafb}.q-filter-badge{align-items:center;background:#6d28d9;border-radius:50%;color:#fff;display:flex;font-size:12px;height:20px;justify-content:center;width:20px}.q-custom-container{align-items:flex-end;background:#fff;background:#f8fafc;border:1px solid #e4e7ec;border-radius:16px;display:flex;gap:16px;padding:16px}.q-refresh-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#262d33;cursor:pointer;display:flex;font-family:Inter;font-size:14px;font-weight:500;gap:12px;height:33px;padding:6px 9px}.q-refresh-btn:hover{background:#f9fafb}.q-apply-btn{align-items:center;background:#6d28d9;border:1px solid #e2e8f0;border-radius:6px;color:#fff;display:flex;font-family:Inter;font-size:14px;gap:12px;height:33px;margin-bottom:8px;padding:7px 11px}.q-apply-btn:hover{background:#5b21b6}.q-apply-btn:disabled{opacity:.7}.q-custom-container .p-calendar{width:280px}.q-custom-container .p-inputtext{width:100%}@media (max-width:650px){.q-date-separator{display:none}}@media (max-width:1124px){.q-custom-container{flex-wrap:wrap}.q-preset-container{border-radius:16px}}.q-spin{animation:q-spin 1s linear infinite}@keyframes q-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.date-picker{align-items:flex-start;background:#fff;border-radius:10px;box-shadow:0 8px 24px #0000001f;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:10px 12px;width:260px}.date-picker__header{align-items:center;display:flex;justify-content:space-between;width:100%}.header-selects{align-items:center;display:flex;gap:4px}.header-select{appearance:none;-webkit-appearance:none;background:#f8fafc;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 5px center;background-repeat:no-repeat;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;font-weight:600;outline:none;padding:3px 20px 3px 7px}.header-select:hover{border-color:#94a3b8}.header-select:focus{border-color:#2563eb}.month-label{color:#0f172a;font-size:13px;font-weight:600}.nav-btn{background:none;border:none;color:#475569;cursor:pointer;font-size:16px;line-height:1;padding:0 4px}.date-picker__top-actions{display:flex;gap:6px;width:100%}.selected-date{border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;flex:1}.selected-date,.today-btn{font-size:12px;padding:5px 8px}.today-btn{background:#fff;border:1px solid #2563eb;border-radius:6px;color:#2563eb;cursor:pointer}.today-btn--disabled{border-color:#94a3b8;color:#94a3b8;cursor:not-allowed;opacity:.4;pointer-events:none}.date-picker__weekdays{color:#64748b;font-size:11px;font-weight:500;text-align:center}.date-picker__days,.date-picker__weekdays{display:grid;grid-template-columns:repeat(7,1fr);width:100%}.date-picker__days{gap:3px}.day{align-items:center;background:#0000;border:none;border-radius:50%;color:#0f172a;cursor:pointer;display:flex;font-size:12px;height:28px;justify-content:center;margin:auto;width:28px}.day--disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.day:hover{background:#f1f5f9}.day--today{background:#e2e8f0;font-weight:600}.day--selected{background:#2563eb;color:#fff}.month-label-click,.year-label-click{border-radius:4px;cursor:pointer;padding:1px 3px;transition:background .1s}.month-label-click:hover,.year-label-click:hover{background:#f1f5f9}.date-picker__month-grid{display:grid;gap:4px;grid-template-columns:repeat(3,1fr);width:100%}.month-cell{background:#0000;border:none;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;padding:6px 0;text-align:center}.month-cell:hover{background:#f1f5f9}.month-cell--selected{background:#2563eb;color:#fff}.date-picker__year-grid{display:grid;gap:4px;grid-template-columns:repeat(4,1fr);width:100%}.year-cell{background:#0000;border:none;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;padding:6px 0;text-align:center}.year-cell:hover{background:#f1f5f9}.year-cell--selected{background:#2563eb;color:#fff}.q-date-selector{padding:7px 10px;position:relative}.q-date-selector__label{color:#475569;display:block;font-family:Inter;font-size:14px;font-weight:500;margin-bottom:10px}.q-date-selector__trigger{align-items:center;background:#fff;border:1px solid #eaecf0;border-radius:6px;color:#1e293b;cursor:pointer;display:flex;font-size:14px;font-weight:400;height:33px;justify-content:space-between;padding:0 18px;width:100%}.q-date-selector__trigger:hover{border-color:#b8c0cc}.q-date-selector__panel{left:0;position:absolute;top:calc(100% + 8px);z-index:1000}.q-date-selector__panel--top{bottom:calc(100% + 8px);top:auto}.metric-card{background:#f8fafc33;border:1px solid #e2e8f0;border-radius:24px;box-sizing:border-box;flex:1;height:fit-content;min-width:266px;padding:24px;transition:all .2s ease;width:fit-content}.metric-card:hover{box-shadow:0 4px 12px #0000000d}.metric-card__content{align-items:center;display:flex;gap:24px;height:100%;justify-content:space-between}.metric-card__title{color:#00000080;font-size:14px;font-weight:400;margin-bottom:4px}.metric-card__value{display:flex;font-size:25px;font-weight:700;gap:4px}.metric-card__delta,.metric-card__value{align-items:center;line-height:1;margin-top:4px}.metric-card__delta{display:inline-flex;font-size:13px;font-weight:600;gap:3px;white-space:nowrap}.metric-card__delta-caption{font-size:12px;font-weight:500;margin-left:2px;opacity:.65}.metric-card__value-skeleton{animation:metric-card-shimmer 1.4s ease infinite;background:linear-gradient(90deg,#0000000f 25%,#0000001f 37%,#0000000f 63%);background-size:400% 100%;border-radius:6px;display:inline-block;height:25px;width:72px}@keyframes metric-card-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.metric-card__subtitle{color:#64748b;font-size:12px;font-weight:500;margin-top:10px}.metric-card__icon-container{align-items:center;background:#7c3aed1a;border-radius:6px;color:#6d28d9;display:flex;height:40px;justify-content:center;width:40px}.metric-card__stats{align-items:flex-start;display:flex;gap:20px;margin-bottom:16px;margin-top:12px}.metric-card__stat{display:flex;flex-direction:column;gap:6px;position:relative}.metric-card__stat-label{align-items:center;color:#64748b;display:flex;font-size:12px;font-weight:500;gap:6px}.metric-card__dot{border-radius:50%;height:8px;width:8px}.metric-card__stat-value{color:#262d33;font-family:Inter;font-size:14px;font-weight:700}.metric-card__divider{background:#e2e8f0;height:100%;position:absolute;right:-12px;top:0;width:1px}.metric-card__progress{background:#ede9fe;border-radius:999px;display:flex;height:10px;overflow:hidden;width:100%}.metric-card__progress-segment{height:100%}.metric-card__stats{margin-top:0}@media (max-width:1000px){.metric-card__title{font-size:12px}.metric-card__subtitle{font-size:10px;margin-top:10px}.metric-card__value{font-size:25px}.metric-card__stats{gap:20px;margin-bottom:16px}.metric-card__stat-value{font-size:14px}.metric-card__icon-container{height:40px;margin-top:8px;width:40px}.metric-card__icon-container svg{height:24px!important;width:24px!important}}@media (max-width:768px){.metric-card__content--has-segments{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto}.metric-card__content--has-segments>:first-child{grid-area:1/1}.metric-card__content--has-segments>:nth-child(2){grid-area:2/1/2/3}.metric-card__content--has-segments>:nth-child(3){grid-area:1/2}.metric-card__value{font-size:22px}.metric-card__stats{gap:16px;margin-bottom:12px}.metric-card__stat-value{font-size:14px}.metric-card__icon-container{height:38px;margin-top:4px;width:38px}.metric-card__icon-container svg{height:20px!important;width:20px!important}}.log-filterSidebar{width:400px}.log-filterTitle{color:#334155;font-family:Inter;font-size:18px;font-weight:600}.log-filterBody{display:flex;flex-direction:column;gap:16px}.log-filterBlock .log-filterLabel{color:#334155;font-family:Inter;font-size:14px;font-weight:600}.log-filterHint{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;line-height:130%;margin-top:4px}.log-filterFooter{background:#fff;bottom:0;display:flex;gap:10px;justify-content:flex-end;left:0;padding:12px 16px;position:absolute;right:0}.log-btnReset{background:#fff;border:1px solid #e2e8f0;color:#64748b}.log-btnApply,.log-btnReset{border-radius:6px;font-family:Inter;font-size:14px;font-weight:500;padding:8px 11px}.log-btnApply{background:#5925dc;color:#fff}.log-filter-date .drs__trigger{margin-top:12px;width:100%}.log-filterEmpty{background:#f8fafc;border:1px dashed #e2e8f0;border-radius:6px;color:#94a3b8;font-family:Inter;font-size:13px;font-weight:500;padding:10px 12px;text-align:center}.drs{position:relative}.drs__trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#475569;cursor:pointer;display:inline-flex;font-size:14px;gap:10px;height:40px;padding:0 18px;transition:.2s ease}.drs__trigger:hover{background:#f8fafc;border-color:#dbe3ef}.drs__label{color:#6b7280;font-family:Inter;font-size:14px}.drs__popover{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 16px 40px #00000024;position:absolute;right:0;top:60px;width:340px;z-index:9999}.drs__header{align-items:center;display:flex;justify-content:space-between;padding:16px 16px 10px}.drs__month{color:#1e293b;display:flex;font-family:Inter,sans-serif;font-size:17px;font-weight:700;gap:5px}.drs__month-click,.drs__year-click{border-radius:4px;cursor:pointer;padding:1px 4px;transition:background-color .15s ease}.drs__month-click:hover,.drs__year-click:hover{background:#f1f5f9;color:#635ae3}.drs__nav{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#64748b;cursor:pointer;display:inline-flex;height:34px;justify-content:center;width:34px}.drs__nav:hover{background:#f8fafc;color:#1e293b}.drs__inputs{gap:8px;padding:0 16px 12px}.drs__input-box,.drs__inputs{align-items:center;display:flex}.drs__input-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#1e293b;flex:1;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:36px;padding:0 10px;transition:border-color .15s ease}.drs__input-box.is-active{background:#fff;border-color:#635ae3}.drs__input-placeholder{color:#94a3b8;font-weight:400}.drs__input-sep{color:#94a3b8;font-size:16px}.drs__week{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 4px}.drs__weekday{color:#94a3b8;font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:4px 0;text-align:center}.drs__grid{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 12px;row-gap:2px}.drs__day{align-items:center;background:#0000;border:none;color:#0f172a;cursor:pointer;display:flex;font-family:Inter,sans-serif;font-size:14px;font-weight:400;height:36px;justify-content:center;padding:0;position:relative;width:100%}.drs__day.is-disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.drs__day-inner{align-items:center;border-radius:50%;display:flex;height:34px;justify-content:center;position:relative;transition:background-color .12s ease;width:34px;z-index:1}.drs__day:hover:not(.is-start):not(.is-end) .drs__day-inner{background:#f1f5f9}.drs__day.is-out{color:#cbd5e1}.drs__day.is-range-start:before,.drs__day.is-range:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;z-index:0}.drs__day.is-range-start:before{left:50%}.drs__day.is-range-end:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;right:50%;z-index:0}.drs__day.is-row-first:before{border-radius:50% 0 0 50%}.drs__day.is-row-last:before{border-radius:0 50% 50% 0}.drs__day.is-end .drs__day-inner,.drs__day.is-start .drs__day-inner{background:#635ae3;color:#fff;font-weight:600}.drs__day.is-end:hover .drs__day-inner,.drs__day.is-start:hover .drs__day-inner{background:#4f46d8}.drs__month-grid{display:grid;gap:8px;grid-template-columns:repeat(3,1fr);padding:8px 16px 16px}.drs__month-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:500;height:44px}.drs__month-cell:hover{background:#f1f5f9}.drs__month-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__year-grid{display:grid;gap:8px;grid-template-columns:repeat(4,1fr);padding:8px 16px 16px}.drs__year-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:44px;transition:background-color .15s ease}.drs__year-cell:hover{background:#f1f5f9}.drs__year-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__footer{border-top:1px solid #eef2f7;display:flex;gap:10px;justify-content:flex-end;padding:12px 16px}.drs__btn{border:1px solid #0000;border-radius:10px;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:600;height:40px;padding:0 20px}.drs__btn--ghost{background:#fff;border-color:#e5e7eb;color:#475569}.drs__btn--ghost:hover{background:#f8fafc}.drs__btn--primary{background:#635ae3;color:#fff}.drs__btn--primary:hover{background:#4f46d8}.drs__btn--primary:disabled{cursor:not-allowed;opacity:.45}.audit-filterBlock .date-range-wrapper,.audit-filterControl,.cms-root{width:100%}.cms-root{position:relative}.cms-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.cms-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.cms-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.cms-hasValue{color:#334155}.cms-chevron{color:#64748b}.cms-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px #1018281f;left:0;padding:10px;position:absolute;right:0;top:calc(100% + 8px);z-index:9999}.cms-searchRow{align-items:center;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;display:flex;gap:10px;height:40px;margin-bottom:10px;padding:0 12px}.cms-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.cms-divider{background:#e2e8f0;height:1px;margin:10px 0}.cms-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.cms-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;min-height:30px;padding:0 8px}.cms-item:hover{background:#f8fafc}.cms-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.cms-checked{background:#5925dc;border-color:#5925dc}.cms-itemText{color:#334155;font-family:Inter;font-size:14px}.cti-input{border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;font-size:14px;height:40px;outline:none;padding:0 18px;width:100%}.cti-input:disabled{background:#f8fafc;cursor:not-allowed}.cti-wrapper{position:relative}.cti-search-icon{color:#666f8d;left:12px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.cti-input--with-icon{padding-left:40px}.css-root{position:relative;width:100%}.css-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.css-trigger:disabled{cursor:not-allowed;opacity:.6}.css-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.css-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.css-hasValue{color:#0f172a}.css-chevron{color:#334155}.css-panel{background:#fff;box-shadow:0 8px 24px #1018281f;left:0;overflow:hidden;padding:10px;position:absolute;right:0;top:calc(100% + 4px);z-index:1000}.css-panel,.css-searchRow{border:1px solid #e2e8f0;border-radius:8px}.css-searchRow{align-items:center;color:#64748b;display:flex;gap:10px;height:40px;margin-bottom:10px;padding:0 12px}.css-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.css-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.css-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;justify-content:space-between;min-height:30px;padding:0 8px}.css-item:hover{background:#f8fafc}.css-selected{background:#f4f0fe}.css-selected:hover{background:#ece5fd}.css-selected .css-itemText{color:#5925dc;font-weight:500}.css-itemCheck{color:#5925dc;font-size:14px;font-weight:700}.css-itemText{font-size:14px}.css-empty{color:#94a3b8;padding:16px;text-align:center}.css-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.css-checked{background:#5925dc;border-color:#5925dc}.ellm-chart{display:block;font-size:12px;width:100%}.ellm-chart .recharts-responsive-container{height:100%!important;width:100%!important}.ellm-chart .recharts-cartesian-axis-tick text{fill:#6b7280}.ellm-chart .recharts-cartesian-grid line[stroke="#ccc"]{stroke:#eef0f4}.ellm-chart .recharts-curve.recharts-tooltip-cursor{stroke:#d7dbe3}.ellm-chart .recharts-dot[stroke="#fff"]{stroke:#0000}.ellm-chart .recharts-layer{outline:none}.ellm-chart .recharts-sector[stroke="#fff"]{stroke:#0000}.ellm-chart .recharts-sector,.ellm-chart .recharts-surface{outline:none}.ellm-chart .recharts-reference-line[stroke="#ccc"]{stroke:#e5e7eb}.ellm-chart__tooltip{background:#fff;border:1px solid #0000000f;border-radius:8px;box-shadow:0 6px 20px #0000001f;color:#111827;display:grid;font-size:12px;gap:6px;min-width:8rem;padding:8px 10px}.ellm-chart__tooltip-label{color:#111827;font-weight:600}.ellm-chart__tooltip-items{display:grid;gap:6px}.ellm-chart__tooltip-item{align-items:center;display:flex;gap:8px;width:100%}.ellm-chart__tooltip-row{align-items:center;display:flex;flex:1;gap:12px;justify-content:space-between;line-height:1}.ellm-chart__tooltip-row--nested{align-items:flex-end}.ellm-chart__tooltip-grid{display:grid;gap:2px}.ellm-chart__tooltip-name{color:#6b7280}.ellm-chart__tooltip-value{color:#111827;font-variant-numeric:tabular-nums;font-weight:600}.ellm-chart__indicator{background:var(--indicator-color);border-color:var(--indicator-color);flex-shrink:0}.ellm-chart__indicator--dot{border-radius:50%;height:10px;width:10px}.ellm-chart__indicator--line{border-radius:2px;height:14px;width:4px}.ellm-chart__indicator--dashed{background:#0000;border:1.5px dashed var(--indicator-color);height:0;height:14px;margin:0 1px;width:0}.ellm-chart__legend{align-items:center;display:flex;flex-wrap:wrap;gap:16px;padding-top:10px}.ellm-chart__legend--top{padding-bottom:10px;padding-top:0}.ellm-chart__legend--start{justify-content:flex-start}.ellm-chart__legend--center{justify-content:center}.ellm-chart__legend--end{justify-content:flex-end}.ellm-chart__legend-item{align-items:center;background:none;border:none;color:#111827;display:inline-flex;font-family:inherit;font-size:12.5px;gap:7px;padding:2px 0;transition:opacity .15s ease}.ellm-chart__legend-item--off{opacity:.4}.ellm-chart__legend-marker{display:block;flex-shrink:0;overflow:visible}.ellm-graph{--ellm-graph-fg:#111827;--ellm-graph-muted:#6b7280;--ellm-graph-border:#e5e7eb;--ellm-graph-radius:12px;background:#fff;border:1px solid var(--ellm-graph-border);border-radius:var(--ellm-graph-radius);color:var(--ellm-graph-fg);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;padding:20px;width:100%}.ellm-graph,.ellm-graph *{box-sizing:border-box}.ellm-graph__header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:16px;margin-top:10px}.ellm-graph__heading{align-items:center;display:flex;gap:10px;min-width:0}.ellm-graph__icon{align-items:center;background:#f3f4f6;border-radius:9px;color:#4f46e5;display:inline-flex;flex-shrink:0;height:34px;justify-content:center;width:34px}.ellm-graph__title{font-size:15px;font-weight:600;line-height:1.3}.ellm-graph__description{color:var(--ellm-graph-muted);font-size:12.5px;line-height:1.4;margin-top:2px}.ellm-graph__controls{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:10px}.ellm-graph__panes{display:flex;flex-direction:column}.ellm-graph__pane{background:#fff;border:1px solid var(--ellm-graph-border);border-radius:10px;min-width:0;padding:12px 12px 4px}.ellm-graph__pane-title{color:var(--ellm-graph-muted);font-size:12.5px;font-weight:600;margin-bottom:4px}.ellm-graph__legend{align-items:center;display:flex;flex-wrap:wrap;gap:20px;justify-content:center;padding-top:16px}.ellm-graph__legend-item{align-items:center;background:none;border:none;color:var(--ellm-graph-fg);cursor:pointer;display:inline-flex;font-family:inherit;font-size:12.5px;gap:7px;padding:2px 0;transition:opacity .15s ease}.ellm-graph__legend-item--off{opacity:.4}.ellm-graph__legend-marker{display:block;flex-shrink:0;overflow:visible}.ellm-graph__plotby{flex-shrink:0;position:relative}.ellm-graph__plotby-btn{align-items:center;background:#fff;border:1px solid var(--ellm-graph-border);border-radius:10px;color:#4b5563;cursor:pointer;display:inline-flex;font-family:inherit;font-size:14px;gap:10px;height:40px;padding:0 14px;transition:.18s ease}.ellm-graph__plotby-btn:hover{background:#f8fafc;border-color:#dbe3ef}.ellm-graph__plotby-btn--open{border-color:#6d28d9;color:#6d28d9}.ellm-graph__plotby-btn--open svg{color:#6d28d9}.ellm-graph__plotby-value{color:#111827;font-weight:600}.ellm-graph__plotby-btn--open .ellm-graph__plotby-value{color:#6d28d9}.ellm-graph__plotby-chevron{margin-left:2px;transition:transform .18s ease}.ellm-graph__plotby-btn--open .ellm-graph__plotby-chevron{transform:rotate(180deg)}.ellm-graph__plotby-menu{background:#fff;border:1px solid var(--ellm-graph-border);border-radius:12px;box-shadow:0 12px 28px #0000001f;min-width:160px;padding:6px;position:absolute;right:0;top:48px;z-index:50}.ellm-graph__plotby-option{background:#fff;border:none;border-radius:9px;color:#374151;cursor:pointer;display:block;font-family:inherit;font-size:14px;margin:2px 0;padding:9px 14px;text-align:left;transition:background .15s ease;width:100%}.ellm-graph__plotby-option:hover{background:#f3f4f6}.ellm-graph__plotby-option--active{background:#f5f3ff;color:#6d28d9;font-weight:600}.ellm-graph__empty,.ellm-graph__loading{align-items:center;color:var(--ellm-graph-muted);display:flex;font-size:13px;justify-content:center;min-height:120px}.ellm-graph__empty-default{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center;min-height:180px;padding:24px 16px;text-align:center}.ellm-graph__empty-icon{align-items:center;background:#f3f4f6;border-radius:12px;color:#9ca3af;display:inline-flex;height:44px;justify-content:center;margin-bottom:4px;width:44px}.ellm-graph__empty-title{color:var(--ellm-graph-fg);font-size:14px;font-weight:600}.ellm-graph__empty-desc{color:var(--ellm-graph-muted);font-size:12.5px;line-height:1.5;max-width:340px}.ellm-graph__skeleton{display:flex;gap:10px;min-height:180px;padding:8px 0 4px;width:100%}.ellm-graph__shimmer{background:#eef1f5;overflow:hidden;position:relative}.ellm-graph__shimmer:after{animation:ellm-graph-shimmer 1.6s ease-in-out infinite;background:linear-gradient(90deg,#0000,#ffffffa6 50%,#0000);content:"";inset:0;position:absolute;transform:translateX(-100%)}@keyframes ellm-graph-shimmer{to{transform:translateX(100%)}}.ellm-graph__skeleton-yaxis{display:flex;flex-direction:column;flex-shrink:0;justify-content:space-between;padding:4px 0 22px}.ellm-graph__skeleton-plot{display:flex;flex:1;flex-direction:column;min-width:0;position:relative}.ellm-graph__skeleton-grid{display:flex;flex-direction:column;inset:0 0 22px 0;justify-content:space-between;position:absolute}.ellm-graph__skeleton-gridline{background:#eef1f5;height:1px;width:100%}.ellm-graph__skeleton-svg{flex:1;min-height:0;position:relative;width:100%}.ellm-graph__skeleton-line{stroke:#dbe1e8;stroke-width:2.5;vector-effect:non-scaling-stroke}.ellm-graph__skeleton-area-top{stop-color:#dbe1e8;stop-opacity:.45}.ellm-graph__skeleton-area-bottom{stop-color:#dbe1e8;stop-opacity:0}.ellm-graph__skeleton-xaxis{display:flex;height:12px;justify-content:space-between;margin-top:10px}.ellm-graph__skeleton-tick{border-radius:4px}.ellm-graph__skeleton-yaxis .ellm-graph__skeleton-tick{height:10px;width:28px}.ellm-graph__skeleton-xaxis .ellm-graph__skeleton-tick{height:10px;width:40px}@media (prefers-reduced-motion:reduce){.ellm-graph__shimmer:after{animation:none}}.analytics-chart{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}.analytics-chart__title{color:#111827;font-size:20px;font-weight:600;margin:0 0 24px}.th-table-toolbar{align-items:center;border-top-left-radius:8px;border-top-right-radius:8px;box-sizing:border-box;display:flex;gap:8px;height:60px;justify-content:center;width:100%}.th-table-toolbar__search{align-items:center;display:flex;flex:1}.th-table-toolbar__search-wrapper{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:6px;display:flex;height:35px;overflow:hidden;width:100%}.th-table-toolbar__search-input{background:#0000;border:none;color:#767676;flex:1;font-size:14px;font-weight:400;height:100%;outline:none;padding:0 12px}.th-table-toolbar__search-input::placeholder{color:#a0a8b8}.th-table-toolbar__search-input:focus{box-shadow:none;outline:none}.th-table-toolbar__search-input--disabled{background:#f3f4f6;cursor:not-allowed}.th-table-toolbar__search-btn-left{border:none;border-right:1px solid #e2e8f0}.th-table-toolbar__search-btn-left,.th-table-toolbar__search-btn-right{align-items:center;background:#fff;color:#6b7280;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;height:100%;padding:0 12px;transition:background-color .2s ease,color .2s ease;white-space:nowrap}.th-table-toolbar__search-btn-right{border:none;border-left:1px solid #e2e8f0}.th-table-toolbar__search-btn:hover{background:#f9fafb}.th-table-toolbar__search-btn--disabled{color:#9ca3af;cursor:not-allowed;pointer-events:none}.th-table-toolbar__actions{align-items:center;display:flex;position:relative}.th-table-toolbar__btn{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:6px;color:#374151;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;height:35px;justify-content:center;margin-left:8px;padding:0 12px;transition:all .2s ease;white-space:nowrap}.th-table-toolbar__btn:first-child{margin-left:0}.th-table-toolbar__btn--disabled{cursor:not-allowed;opacity:.5}.th-table-toolbar__btn--default{background:#fff;border-color:#d0d5dd;color:#374151}.th-table-toolbar__btn--filter-open{background:#f5f3ff;border-color:#a78bfa;color:#6d28d9}.th-table-toolbar__btn--filter-active,.th-table-toolbar__btn--sort-active{border-color:#4f46e5;color:#4f46e5}.th-table-toolbar__btn--refresh:active{border-color:#818cf8;color:#4f46e5}.th-table-toolbar__icon{flex-shrink:0;height:16px;width:16px}.th-table-toolbar__icon--primary{stroke:#4f46e5}.th-table-toolbar__badge{align-items:center;background:#eef2ff;border-radius:999px;display:inline-flex;gap:3.5px;padding:3px 7px}.th-table-toolbar__badge-text{color:#4f46e5;font-size:11px;font-weight:500}.th-table-toolbar__dropdown-wrapper{align-items:center;display:flex;position:relative}.th-table-toolbar__dropdown{background:#fff;border:1px solid #eaecf0;border-radius:8px;box-shadow:0 4px 12px #1018281f;position:absolute;right:0;top:22px;width:250px;z-index:50}.th-table-toolbar__dropdown-item{align-items:center;color:#111827;cursor:pointer;display:flex;font-size:14px;height:38px;justify-content:space-between;padding:0 24px}.th-table-toolbar__dropdown-item:hover{background:#f3f4f6}.th-table-toolbar__dropdown-item--selected{background:#eef2ff;color:#4f46e5;font-weight:600}.th-table-toolbar__dropdown-footer{border-top:1px solid #eaecf0;padding:12px 16px;text-align:right}.th-table-toolbar__clear-btn{background:#0000;border:none;color:#475467;cursor:pointer;font-size:14px}.tg-root{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}.tg-toolbar-row{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.tg-toolbar-left{min-width:0}.tg-toolbar,.tg-toolbar-left{align-items:center;display:flex;gap:8px}.tg-toolbar{margin-left:auto}.tg-toolbar-label{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;white-space:nowrap}.tg-toggle{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:2px;padding:2px}.tg-toggle,.tg-toggle-btn{align-items:center;display:inline-flex}.tg-toggle-btn{background:#0000;border:1px solid #0000;border-radius:6px;color:#64748b;cursor:pointer;height:28px;justify-content:center;padding:0;transition:background .15s ease,color .15s ease;width:28px}.tg-toggle-btn:hover{background:#eef2f7;color:#334155}.tg-toggle-btn--active{background:#fff;border-color:#e2e8f0;box-shadow:0 1px 2px #1018280f;color:#7c3aed}.tg-toggle-btn--cramped{opacity:.45}.tg-grid{align-items:stretch;display:grid;min-width:0;width:100%}.tg-grid--auto-height{align-items:start}.tg-cell{box-sizing:border-box;display:flex;flex-direction:column}.tg-cell,.tg-cell>*{max-width:100%;min-width:0}.tg-cell>*{flex:1 1 auto;min-height:0}.tg-grid--auto-height .tg-cell>*{flex:0 0 auto}.tg-cell .p-datatable-wrapper{border-radius:12px;height:100%;overflow-x:auto}.q-sort{position:relative}.q-sort__trigger{background:#fff;border:1px solid #dbe4ee;border-radius:6px;color:#475467;cursor:pointer;height:31px;justify-content:space-between;padding:7px 0 7px 8px}.q-sort__left,.q-sort__trigger{align-items:center;display:flex}.q-sort__left{color:#475569;font-family:Inter;font-size:14px;gap:12px}.q-sort__menu{background:#fff;border:1px solid #dbe4ee;border-radius:12px;box-shadow:0 8px 24px #00000014;left:0;padding:8px 12px;position:absolute;top:calc(100% + 8px);width:100%;z-index:1000}.q-sort__option{background:#0000;border:none;border-radius:6px;color:#475569;cursor:pointer;font-family:Inter;font-size:13px;font-weight:500;padding:8px;text-align:left;width:100%}.q-sort__option:hover{background:#f8fafc}.q-sort__option--active{background:#f5f3ffe6;color:#0f172a;font-weight:500}.tc-root{background:#fff;border:1px solid #eeeef2;border-radius:16px;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;overflow:visible;padding:8px 20px 16px;width:100%}.tc-root--fullscreen .tc-table{flex:1;min-height:0}.tc-root--fullscreen{background:#fff;border-radius:1;left:0;top:0;width:100vw!important;z-index:9}.tc-header{flex-wrap:wrap;justify-content:space-between;padding:30px 12px}.tc-header,.tc-header-left{align-items:center;display:flex}.tc-header-left{gap:12px}.tc-title-icon{align-items:center;color:#344054;display:flex;justify-content:center}.tc-title{color:#242533;font-family:Inter;font-size:18px;font-weight:600;line-height:16px}.tc-expand-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:4px;color:#475467;cursor:pointer;display:flex;height:28px;justify-content:center;width:28px}.tc-expand-btn:hover{background:#f8fafc}.tc-table{flex:1;min-height:0;overflow:hidden}.tc-header-right{display:flex;flex-wrap:wrap;gap:12px}.tc-search{border-radius:6px;color:#475569;font-family:Inter;font-size:14px;height:31px;padding-left:30px;width:254px}.tc-pagination-wrapper{margin-top:8px;padding:4px 0}.t-pagination{align-items:center;background:#fff;display:flex;font-family:Inter,sans-serif;justify-content:space-between}.t-pagination-left{color:#344054;font-size:14px;font-weight:500}.t-pagination-right{align-items:center;display:flex;gap:24px}.t-pagination-count{color:#344054;font-size:14px;font-weight:500}.t-pagination-nav{align-items:center;display:flex;gap:12px}.t-pagination-icon{align-items:center;background:#0000;border:none;color:#344054;cursor:pointer;display:flex;height:28px;justify-content:center;width:28px}.t-pagination-icon:hover:not(:disabled){background:#f2f4f7;border-radius:6px}.t-pagination-icon:disabled{color:#d0d5dd;cursor:not-allowed}.t-pagination-select-wrapper{position:relative}.t-pagination-select{appearance:none;-webkit-appearance:none;background:#fff;border:1px solid #d0d5dd;border-radius:8px;color:#344054;cursor:pointer;font-size:14px;font-weight:600;height:40px;padding:0 34px 0 14px;width:71px}.t-pagination-chevron{pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.audit-tableWrap{background:#fff;border:1px solid #e5e7eb;border-radius:12px;height:100%;overflow:hidden}.audit-table .p-datatable-tbody>tr:nth-child(odd){background:#f8fafc}.audit-table .p-datatable-tbody>tr:hover{background:#eff5ff!important}.audit-table .p-datatable-thead>tr>th{background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#6b7280;font-family:Inter;font-size:12px;font-weight:600;height:54px;padding:8px 16px}.audit-table .p-datatable-thead>tr>th .p-column-header-content{align-items:center;justify-content:flex-start}.audit-table.col-header-align-left .p-datatable-thead>tr>th .p-column-header-content{justify-content:flex-start}.audit-table.col-header-align-center .p-datatable-thead>tr>th .p-column-header-content{justify-content:center}.audit-table.col-header-align-right .p-datatable-thead>tr>th .p-column-header-content{justify-content:flex-end}.audit-table.col-cell-align-left .p-datatable-tbody>tr>td{text-align:left}.audit-table.col-cell-align-center .p-datatable-tbody>tr>td{text-align:center}.audit-table.col-cell-align-right .p-datatable-tbody>tr>td{text-align:right}.p-datatable .p-sortable-column .p-sortable-column-icon{height:12px!important;width:12px!important}.audit-table .p-datatable-tbody>tr>td{border-bottom:1px solid #eef2f7;color:#101828;font-family:Inter;font-size:14px;font-weight:400;padding:16px}.audit-modifiedBy{align-items:center;display:flex;justify-content:center}.audit-actionCell{display:flex;flex-direction:column;gap:6px}.audit-chip{border-radius:6px;font-family:Inter;font-size:9px;font-weight:500;gap:5px;padding:4px 7px;width:fit-content}.audit-chip,.audit-chip__icon{align-items:center;display:inline-flex}.audit-chip__icon{justify-content:center}.audit-chip--purple{background:#ede9fe;color:#6d28d9}.audit-chip--orange{background:#ffedd5;color:#c2410c}.audit-actionText{color:#111827;font-size:12px;line-height:1.35}.audit-seeMore{background:#0000;border:0;color:#6d28d9;cursor:pointer;font-size:12px;font-weight:400;margin-left:4px;padding:0}.audit-dateCell{color:#101828;font-family:Inter;text-align:center}.audit-emptyState{align-items:center;color:#64748b;display:flex;flex-direction:column;height:300px;justify-content:center;text-align:center}.audit-emptyTitle{font-size:16px;font-weight:600;margin-top:8px}.audit-emptyDesc{font-size:13px;margin-top:4px}.audit-skeletonRow{display:flex;gap:16px;padding:12px 0}.audit-operation-body{align-items:center;display:flex;justify-content:center}.audit-logIdBody{margin:0 auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-table .p-datatable-tbody>tr.audit-row--clickable{cursor:pointer}.audit-table .p-datatable-tbody>tr.p-datatable-row-expansion>td{background:#fff;padding:0}.audit-rowDetail{background:#fff;border-top:1px solid #eef2f7;padding:16px 20px}.audit-table .p-datatable-tfoot>tr>.audit-paginationEnd{background:#fff;border:0;height:auto;padding:12px 16px;text-align:center}.audit-paginationEndContent{align-items:center;background:#f0fdf4;border-radius:999px;color:#15803d;display:inline-flex;font-family:Inter,sans-serif;font-size:12px;font-weight:500;gap:7px;line-height:1;padding:6px 11px}.audit-paginationEndContent .pi{font-size:13px}
|
|
1
|
+
.App{height:100vh;overflow-y:auto;width:100vw}.chart-scroll{-webkit-overflow-scrolling:touch;background:var(--bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);overflow-x:auto;overflow-y:hidden;scrollbar-color:var(--accent-border) #0000;scrollbar-width:thin;width:100%}.chart-scroll::-webkit-scrollbar{height:10px}.chart-scroll::-webkit-scrollbar-track{background:#0000}.chart-scroll::-webkit-scrollbar-thumb{background:var(--accent-border);border-radius:999px}.chart-scroll::-webkit-scrollbar-thumb:hover{background:var(--accent)}.chart-inner{width:2600px}.ellm-graph__liveLabelContainer{align-items:center;display:flex;gap:16px;height:100%;width:100%}.ellm-graph__liveLabel{align-items:center;color:#dc2626;display:flex;font-size:12px;font-weight:600,;gap:6px;height:100%;padding:0 12px}.pulse{animation:pulse 1.5s infinite}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.ellm-graph__scroll-container{border-radius:var(--ellm-graph-radius);overflow-x:auto;overflow-y:hidden;scrollbar-color:#d7dbe3 #f3f4f6;scrollbar-width:thin;width:100%}.ellm-graph__scroll-container::-webkit-scrollbar{height:8px}.ellm-graph__scroll-container::-webkit-scrollbar-track{background:#f3f4f6}.ellm-graph__scroll-container::-webkit-scrollbar-thumb{background:#d7dbe3;border-radius:4px}.ellm-graph__scroll-container::-webkit-scrollbar-thumb:hover{background:#b1b5be}.audit-table .p-datatable-thead>tr>th .p-column-header-content{justify-content:center}.audit-table .p-datatable-tbody>tr>td{height:92px}.tc-root--fullscreen{border-radius:0;height:100vh!important;position:fixed;z-index:9999}.tg-cell .p-datatable-wrapper{max-height:90vh!important}.q-skeleton{display:flex;flex-direction:column;gap:12px;padding:10px}.q-skeleton-card,.q-skeleton-line,.q-skeleton-pill,.q-skeleton-sparkline-path{background:#eef1f5;overflow:hidden;position:relative}.q-skeleton-card:after,.q-skeleton-line:after,.q-skeleton-pill:after{animation:q-shimmer 1.6s ease-in-out infinite;background:linear-gradient(90deg,#0000,#ffffffa6 50%,#0000);content:"";inset:0;position:absolute;transform:translateX(-100%)}@keyframes q-shimmer{to{transform:translateX(100%)}}.q-skeleton-toolbar{align-items:center;justify-content:space-between}.q-skeleton-presets,.q-skeleton-toolbar{display:flex;gap:8px}.q-skeleton-pill{border-radius:8px;height:32px;width:64px}.q-skeleton-pill--wide{width:72px}.q-skeleton-pill--filter{width:88px}.q-skeleton-pill--selector{border-radius:8px;height:34px;width:110px}.q-skeleton-card{border:1px solid #eef1f5;border-radius:14px;padding:16px 20px}.q-skeleton-graph{padding:20px}.q-skeleton-graph-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:18px}.q-skeleton-line{border-radius:6px}.q-skeleton-line--title{height:16px;margin-bottom:8px;width:160px}.q-skeleton-line--subtitle{height:12px;width:100px}.q-skeleton-graph-body{align-items:flex-end;display:flex;height:180px}.q-skeleton-sparkline{height:100%;width:100%}.q-skeleton-sparkline-path{stroke:#dbe1e8;stroke-width:3;background:none}.q-skeleton-kpis{display:flex;flex-wrap:wrap;gap:10px}.q-skeleton-kpi{flex:1 1 200px;min-width:200px}.q-skeleton-line--label{height:12px;margin-bottom:12px;width:90px}.q-skeleton-line--value{height:24px;margin-bottom:10px;width:70px}.q-skeleton-line--sublabel{height:10px;width:110px}@media (prefers-reduced-motion:reduce){.q-skeleton-card:after,.q-skeleton-line:after,.q-skeleton-pill:after{animation:none}}.q-date-filter{display:flex;flex-direction:column;gap:12px}.q-date-filter-toolbar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:16px;justify-content:space-between;padding:12px 16px}.q-date-filter-toolbar,.q-preset-container{align-items:center;display:flex;flex-wrap:wrap}.q-preset-container{background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:6px}.q-preset-btn{background:#0000;border:none;border-radius:999px;color:#334155;cursor:pointer;font-size:14px;font-weight:500;outline:none;padding:10px 20px;transition:.2s}.q-preset-btn:hover{background:#f9fafb}.q-preset-btn.active{background:#6d28d9;color:#fff}.q-live-chip{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;display:flex;font-size:14px;font-weight:500;gap:8px;height:33px;padding:0 16px}.q-live-dot{background:#15803d;border-radius:50%;height:8px;width:8px}.q-filter-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#475569;cursor:pointer;display:flex;font-family:Inter;font-weight:500;gap:8px;height:33px;padding:5.25px 8.75px}.q-filter-btn:hover{background:#f9fafb}.q-filter-badge{align-items:center;background:#6d28d9;border-radius:50%;color:#fff;display:flex;font-size:12px;height:20px;justify-content:center;width:20px}.q-custom-container{align-items:flex-end;background:#fff;background:#f8fafc;border:1px solid #e4e7ec;border-radius:16px;display:flex;gap:16px;padding:16px}.q-refresh-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#262d33;cursor:pointer;display:flex;font-family:Inter;font-size:14px;font-weight:500;gap:12px;height:33px;padding:6px 9px}.q-refresh-btn:hover{background:#f9fafb}.q-apply-btn{align-items:center;background:#6d28d9;border:1px solid #e2e8f0;border-radius:6px;color:#fff;display:flex;font-family:Inter;font-size:14px;gap:12px;height:33px;margin-bottom:8px;padding:7px 11px}.q-apply-btn:hover{background:#5b21b6}.q-apply-btn:disabled{opacity:.7}.q-custom-container .p-calendar{width:280px}.q-custom-container .p-inputtext{width:100%}@media (max-width:650px){.q-date-separator{display:none}}@media (max-width:1124px){.q-custom-container{flex-wrap:wrap}.q-preset-container{border-radius:16px}}.q-spin{animation:q-spin 1s linear infinite}@keyframes q-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.date-picker{align-items:flex-start;background:#fff;border-radius:10px;box-shadow:0 8px 24px #0000001f;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:10px 12px;width:260px}.date-picker__header{align-items:center;display:flex;justify-content:space-between;width:100%}.header-selects{align-items:center;display:flex;gap:4px}.header-select{appearance:none;-webkit-appearance:none;background:#f8fafc;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 5px center;background-repeat:no-repeat;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;font-weight:600;outline:none;padding:3px 20px 3px 7px}.header-select:hover{border-color:#94a3b8}.header-select:focus{border-color:#2563eb}.month-label{color:#0f172a;font-size:13px;font-weight:600}.nav-btn{background:none;border:none;color:#475569;cursor:pointer;font-size:16px;line-height:1;padding:0 4px}.date-picker__top-actions{display:flex;gap:6px;width:100%}.selected-date{border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;flex:1}.selected-date,.today-btn{font-size:12px;padding:5px 8px}.today-btn{background:#fff;border:1px solid #2563eb;border-radius:6px;color:#2563eb;cursor:pointer}.today-btn--disabled{border-color:#94a3b8;color:#94a3b8;cursor:not-allowed;opacity:.4;pointer-events:none}.date-picker__weekdays{color:#64748b;font-size:11px;font-weight:500;text-align:center}.date-picker__days,.date-picker__weekdays{display:grid;grid-template-columns:repeat(7,1fr);width:100%}.date-picker__days{gap:3px}.day{align-items:center;background:#0000;border:none;border-radius:50%;color:#0f172a;cursor:pointer;display:flex;font-size:12px;height:28px;justify-content:center;margin:auto;width:28px}.day--disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.day:hover{background:#f1f5f9}.day--today{background:#e2e8f0;font-weight:600}.day--selected{background:#2563eb;color:#fff}.month-label-click,.year-label-click{border-radius:4px;cursor:pointer;padding:1px 3px;transition:background .1s}.month-label-click:hover,.year-label-click:hover{background:#f1f5f9}.date-picker__month-grid{display:grid;gap:4px;grid-template-columns:repeat(3,1fr);width:100%}.month-cell{background:#0000;border:none;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;padding:6px 0;text-align:center}.month-cell:hover{background:#f1f5f9}.month-cell--selected{background:#2563eb;color:#fff}.date-picker__year-grid{display:grid;gap:4px;grid-template-columns:repeat(4,1fr);width:100%}.year-cell{background:#0000;border:none;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;padding:6px 0;text-align:center}.year-cell:hover{background:#f1f5f9}.year-cell--selected{background:#2563eb;color:#fff}.q-date-selector{padding:7px 10px;position:relative}.q-date-selector__label{color:#475569;display:block;font-family:Inter;font-size:14px;font-weight:500;margin-bottom:10px}.q-date-selector__trigger{align-items:center;background:#fff;border:1px solid #eaecf0;border-radius:6px;color:#1e293b;cursor:pointer;display:flex;font-size:14px;font-weight:400;height:33px;justify-content:space-between;padding:0 18px;width:100%}.q-date-selector__trigger:hover{border-color:#b8c0cc}.q-date-selector__panel{left:0;position:absolute;top:calc(100% + 8px);z-index:1000}.q-date-selector__panel--top{bottom:calc(100% + 8px);top:auto}.metric-card{background:#f8fafc33;border:1px solid #e2e8f0;border-radius:24px;box-sizing:border-box;flex:1;min-width:266px;padding:24px;transition:all .2s ease;width:fit-content}.metric-card:hover{box-shadow:0 4px 12px #0000000d}.metric-card__content{align-items:center;display:flex;gap:24px;height:100%;justify-content:space-between}.metric-card__title{color:#00000080;font-size:14px;font-weight:400;margin-bottom:4px}.metric-card__value{display:flex;font-size:25px;font-weight:700;gap:4px}.metric-card__delta,.metric-card__value{align-items:center;line-height:1;margin-top:4px}.metric-card__delta{display:inline-flex;font-size:13px;font-weight:600;gap:3px;white-space:nowrap}.metric-card__delta-caption{font-size:12px;font-weight:500;margin-left:2px;opacity:.65}.metric-card__value-skeleton{animation:metric-card-shimmer 1.4s ease infinite;background:linear-gradient(90deg,#0000000f 25%,#0000001f 37%,#0000000f 63%);background-size:400% 100%;border-radius:6px;display:inline-block;height:25px;width:72px}@keyframes metric-card-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.metric-card__subtitle{color:#64748b;font-size:12px;font-weight:500;margin-top:10px}.metric-card__icon-container{align-items:center;background:#7c3aed1a;border-radius:6px;color:#6d28d9;display:flex;height:40px;justify-content:center;width:40px}.metric-card__stats{align-items:flex-start;display:flex;gap:20px;margin-bottom:16px;margin-top:12px}.metric-card__stat{display:flex;flex-direction:column;gap:6px;position:relative}.metric-card__stat-label{align-items:center;color:#64748b;display:flex;font-size:12px;font-weight:500;gap:6px}.metric-card__dot{border-radius:50%;height:8px;width:8px}.metric-card__stat-value{color:#262d33;font-family:Inter;font-size:14px;font-weight:700}.metric-card__divider{background:#e2e8f0;height:100%;position:absolute;right:-12px;top:0;width:1px}.metric-card__progress{background:#ede9fe;border-radius:999px;display:flex;height:10px;overflow:hidden;width:100%}.metric-card__progress-segment{height:100%}.metric-card__stats{margin-top:0}@media (max-width:1000px){.metric-card__title{font-size:12px}.metric-card__subtitle{font-size:10px;margin-top:10px}.metric-card__value{font-size:25px}.metric-card__stats{gap:20px;margin-bottom:16px}.metric-card__stat-value{font-size:14px}.metric-card__icon-container{height:40px;margin-top:8px;width:40px}.metric-card__icon-container svg{height:24px!important;width:24px!important}}@media (max-width:768px){.metric-card__content--has-segments{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto}.metric-card__content--has-segments>:first-child{grid-area:1/1}.metric-card__content--has-segments>:nth-child(2){grid-area:2/1/2/3}.metric-card__content--has-segments>:nth-child(3){grid-area:1/2}.metric-card__value{font-size:22px}.metric-card__stats{gap:16px;margin-bottom:12px}.metric-card__stat-value{font-size:14px}.metric-card__icon-container{height:38px;margin-top:4px;width:38px}.metric-card__icon-container svg{height:20px!important;width:20px!important}}.log-filterSidebar{width:400px}.log-filterTitle{color:#334155;font-family:Inter;font-size:18px;font-weight:600}.log-filterBody{display:flex;flex-direction:column;gap:16px}.log-filterBlock .log-filterLabel{color:#334155;font-family:Inter;font-size:14px;font-weight:600}.log-filterHint{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;line-height:130%;margin-top:4px}.log-filterFooter{background:#fff;bottom:0;display:flex;gap:10px;justify-content:flex-end;left:0;padding:12px 16px;position:absolute;right:0}.log-btnReset{background:#fff;border:1px solid #e2e8f0;color:#64748b}.log-btnApply,.log-btnReset{border-radius:6px;font-family:Inter;font-size:14px;font-weight:500;padding:8px 11px}.log-btnApply{background:#5925dc;color:#fff}.log-filter-date .drs__trigger{margin-top:12px;width:100%}.log-filterEmpty{background:#f8fafc;border:1px dashed #e2e8f0;border-radius:6px;color:#94a3b8;font-family:Inter;font-size:13px;font-weight:500;padding:10px 12px;text-align:center}.drs{position:relative}.drs__trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#475569;cursor:pointer;display:inline-flex;font-size:14px;gap:10px;height:40px;padding:0 18px;transition:.2s ease}.drs__trigger:hover{background:#f8fafc;border-color:#dbe3ef}.drs__label{color:#6b7280;font-family:Inter;font-size:14px}.drs__popover{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 16px 40px #00000024;position:absolute;right:0;top:60px;width:340px;z-index:9999}.drs__header{align-items:center;display:flex;justify-content:space-between;padding:16px 16px 10px}.drs__month{color:#1e293b;display:flex;font-family:Inter,sans-serif;font-size:17px;font-weight:700;gap:5px}.drs__month-click,.drs__year-click{border-radius:4px;cursor:pointer;padding:1px 4px;transition:background-color .15s ease}.drs__month-click:hover,.drs__year-click:hover{background:#f1f5f9;color:#635ae3}.drs__nav{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#64748b;cursor:pointer;display:inline-flex;height:34px;justify-content:center;width:34px}.drs__nav:hover{background:#f8fafc;color:#1e293b}.drs__inputs{gap:8px;padding:0 16px 12px}.drs__input-box,.drs__inputs{align-items:center;display:flex}.drs__input-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#1e293b;flex:1;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:36px;padding:0 10px;transition:border-color .15s ease}.drs__input-box.is-active{background:#fff;border-color:#635ae3}.drs__input-placeholder{color:#94a3b8;font-weight:400}.drs__input-sep{color:#94a3b8;font-size:16px}.drs__week{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 4px}.drs__weekday{color:#94a3b8;font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:4px 0;text-align:center}.drs__grid{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 12px;row-gap:2px}.drs__day{align-items:center;background:#0000;border:none;color:#0f172a;cursor:pointer;display:flex;font-family:Inter,sans-serif;font-size:14px;font-weight:400;height:36px;justify-content:center;padding:0;position:relative;width:100%}.drs__day.is-disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.drs__day-inner{align-items:center;border-radius:50%;display:flex;height:34px;justify-content:center;position:relative;transition:background-color .12s ease;width:34px;z-index:1}.drs__day:hover:not(.is-start):not(.is-end) .drs__day-inner{background:#f1f5f9}.drs__day.is-out{color:#cbd5e1}.drs__day.is-range-start:before,.drs__day.is-range:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;z-index:0}.drs__day.is-range-start:before{left:50%}.drs__day.is-range-end:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;right:50%;z-index:0}.drs__day.is-row-first:before{border-radius:50% 0 0 50%}.drs__day.is-row-last:before{border-radius:0 50% 50% 0}.drs__day.is-end .drs__day-inner,.drs__day.is-start .drs__day-inner{background:#635ae3;color:#fff;font-weight:600}.drs__day.is-end:hover .drs__day-inner,.drs__day.is-start:hover .drs__day-inner{background:#4f46d8}.drs__month-grid{display:grid;gap:8px;grid-template-columns:repeat(3,1fr);padding:8px 16px 16px}.drs__month-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:500;height:44px}.drs__month-cell:hover{background:#f1f5f9}.drs__month-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__year-grid{display:grid;gap:8px;grid-template-columns:repeat(4,1fr);padding:8px 16px 16px}.drs__year-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:44px;transition:background-color .15s ease}.drs__year-cell:hover{background:#f1f5f9}.drs__year-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__footer{border-top:1px solid #eef2f7;display:flex;gap:10px;justify-content:flex-end;padding:12px 16px}.drs__btn{border:1px solid #0000;border-radius:10px;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:600;height:40px;padding:0 20px}.drs__btn--ghost{background:#fff;border-color:#e5e7eb;color:#475569}.drs__btn--ghost:hover{background:#f8fafc}.drs__btn--primary{background:#635ae3;color:#fff}.drs__btn--primary:hover{background:#4f46d8}.drs__btn--primary:disabled{cursor:not-allowed;opacity:.45}.audit-filterBlock .date-range-wrapper,.audit-filterControl,.cms-root{width:100%}.cms-root{position:relative}.cms-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.cms-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.cms-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.cms-hasValue{color:#334155}.cms-chevron{color:#64748b}.cms-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px #1018281f;left:0;padding:10px;position:absolute;right:0;top:calc(100% + 8px);z-index:9999}.cms-searchRow{align-items:center;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;display:flex;gap:10px;height:40px;margin-bottom:10px;padding:0 12px}.cms-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.cms-divider{background:#e2e8f0;height:1px;margin:10px 0}.cms-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.cms-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;min-height:30px;padding:0 8px}.cms-item:hover{background:#f8fafc}.cms-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.cms-checked{background:#5925dc;border-color:#5925dc}.cms-itemText{color:#334155;font-family:Inter;font-size:14px}.cti-input{border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;font-size:14px;height:40px;outline:none;padding:0 18px;width:100%}.cti-input:disabled{background:#f8fafc;cursor:not-allowed}.cti-wrapper{position:relative}.cti-search-icon{color:#666f8d;left:12px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.cti-input--with-icon{padding-left:40px}.css-root{position:relative;width:100%}.css-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.css-trigger:disabled{cursor:not-allowed;opacity:.6}.css-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.css-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.css-hasValue{color:#0f172a}.css-chevron{color:#334155}.css-panel{background:#fff;box-shadow:0 8px 24px #1018281f;left:0;overflow:hidden;padding:10px;position:absolute;right:0;top:calc(100% + 4px);z-index:1000}.css-panel,.css-searchRow{border:1px solid #e2e8f0;border-radius:8px}.css-searchRow{align-items:center;color:#64748b;display:flex;gap:10px;height:40px;margin-bottom:10px;padding:0 12px}.css-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.css-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.css-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;justify-content:space-between;min-height:30px;padding:0 8px}.css-item:hover{background:#f8fafc}.css-selected{background:#f4f0fe}.css-selected:hover{background:#ece5fd}.css-selected .css-itemText{color:#5925dc;font-weight:500}.css-itemCheck{color:#5925dc;font-size:14px;font-weight:700}.css-itemText{font-size:14px}.css-empty{color:#94a3b8;padding:16px;text-align:center}.css-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.css-checked{background:#5925dc;border-color:#5925dc}.ellm-chart{display:block;font-size:12px;width:100%}.ellm-chart .recharts-responsive-container{height:100%!important;width:100%!important}.ellm-chart .recharts-cartesian-axis-tick text{fill:#6b7280}.ellm-chart .recharts-cartesian-grid line[stroke="#ccc"]{stroke:#eef0f4}.ellm-chart .recharts-curve.recharts-tooltip-cursor{stroke:#d7dbe3}.ellm-chart .recharts-dot[stroke="#fff"]{stroke:#0000}.ellm-chart .recharts-layer{outline:none}.ellm-chart .recharts-sector[stroke="#fff"]{stroke:#0000}.ellm-chart .recharts-sector,.ellm-chart .recharts-surface{outline:none}.ellm-chart .recharts-reference-line[stroke="#ccc"]{stroke:#e5e7eb}.ellm-chart__tooltip{background:#fff;border:1px solid #0000000f;border-radius:8px;box-shadow:0 6px 20px #0000001f;color:#111827;display:grid;font-size:12px;gap:6px;min-width:8rem;padding:8px 10px}.ellm-chart__tooltip-label{color:#111827;font-weight:600}.ellm-chart__tooltip-items{display:grid;gap:6px}.ellm-chart__tooltip-item{align-items:center;display:flex;gap:8px;width:100%}.ellm-chart__tooltip-row{align-items:center;display:flex;flex:1;gap:12px;justify-content:space-between;line-height:1}.ellm-chart__tooltip-row--nested{align-items:flex-end}.ellm-chart__tooltip-grid{display:grid;gap:2px}.ellm-chart__tooltip-name{color:#6b7280}.ellm-chart__tooltip-value{color:#111827;font-variant-numeric:tabular-nums;font-weight:600}.ellm-chart__indicator{background:var(--indicator-color);border-color:var(--indicator-color);flex-shrink:0}.ellm-chart__indicator--dot{border-radius:50%;height:10px;width:10px}.ellm-chart__indicator--line{border-radius:2px;height:14px;width:4px}.ellm-chart__indicator--dashed{background:#0000;border:1.5px dashed var(--indicator-color);height:0;height:14px;margin:0 1px;width:0}.ellm-chart__legend{align-items:center;display:flex;flex-wrap:wrap;gap:16px;padding-top:10px}.ellm-chart__legend--top{padding-bottom:10px;padding-top:0}.ellm-chart__legend--start{justify-content:flex-start}.ellm-chart__legend--center{justify-content:center}.ellm-chart__legend--end{justify-content:flex-end}.ellm-chart__legend-item{align-items:center;background:none;border:none;color:#111827;display:inline-flex;font-family:inherit;font-size:12.5px;gap:7px;padding:2px 0;transition:opacity .15s ease}.ellm-chart__legend-item--off{opacity:.4}.ellm-chart__legend-marker{display:block;flex-shrink:0;overflow:visible}.ellm-graph{--ellm-graph-fg:#111827;--ellm-graph-muted:#6b7280;--ellm-graph-border:#e5e7eb;--ellm-graph-radius:12px;background:#fff;border:1px solid var(--ellm-graph-border);border-radius:var(--ellm-graph-radius);color:var(--ellm-graph-fg);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;padding:20px;width:100%}.ellm-graph,.ellm-graph *{box-sizing:border-box}.ellm-graph__header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:16px;margin-top:10px}.ellm-graph__heading{align-items:center;display:flex;gap:10px;min-width:0}.ellm-graph__icon{align-items:center;background:#f3f4f6;border-radius:9px;color:#4f46e5;display:inline-flex;flex-shrink:0;height:34px;justify-content:center;width:34px}.ellm-graph__title{font-size:15px;font-weight:600;line-height:1.3}.ellm-graph__description{color:var(--ellm-graph-muted);font-size:12.5px;line-height:1.4;margin-top:2px}.ellm-graph__controls{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:10px}.ellm-graph__panes{display:flex;flex-direction:column}.ellm-graph__pane{background:#fff;border:1px solid var(--ellm-graph-border);border-radius:10px;min-width:0;padding:12px 12px 4px}.ellm-graph__pane-title{color:var(--ellm-graph-muted);font-size:12.5px;font-weight:600;margin-bottom:4px}.ellm-graph__legend{align-items:center;display:flex;flex-wrap:wrap;gap:20px;justify-content:center;padding-top:16px}.ellm-graph__legend-item{align-items:center;background:none;border:none;color:var(--ellm-graph-fg);cursor:pointer;display:inline-flex;font-family:inherit;font-size:12.5px;gap:7px;padding:2px 0;transition:opacity .15s ease}.ellm-graph__legend-item--off{opacity:.4}.ellm-graph__legend-marker{display:block;flex-shrink:0;overflow:visible}.ellm-graph__plotby{flex-shrink:0;position:relative}.ellm-graph__plotby-btn{align-items:center;background:#fff;border:1px solid var(--ellm-graph-border);border-radius:10px;color:#4b5563;cursor:pointer;display:inline-flex;font-family:inherit;font-size:14px;gap:10px;height:40px;padding:0 14px;transition:.18s ease}.ellm-graph__plotby-btn:hover{background:#f8fafc;border-color:#dbe3ef}.ellm-graph__plotby-btn--open{border-color:#6d28d9;color:#6d28d9}.ellm-graph__plotby-btn--open svg{color:#6d28d9}.ellm-graph__plotby-value{color:#111827;font-weight:600}.ellm-graph__plotby-btn--open .ellm-graph__plotby-value{color:#6d28d9}.ellm-graph__plotby-chevron{margin-left:2px;transition:transform .18s ease}.ellm-graph__plotby-btn--open .ellm-graph__plotby-chevron{transform:rotate(180deg)}.ellm-graph__plotby-menu{background:#fff;border:1px solid var(--ellm-graph-border);border-radius:12px;box-shadow:0 12px 28px #0000001f;min-width:160px;padding:6px;position:absolute;right:0;top:48px;z-index:50}.ellm-graph__plotby-option{background:#fff;border:none;border-radius:9px;color:#374151;cursor:pointer;display:block;font-family:inherit;font-size:14px;margin:2px 0;padding:9px 14px;text-align:left;transition:background .15s ease;width:100%}.ellm-graph__plotby-option:hover{background:#f3f4f6}.ellm-graph__plotby-option--active{background:#f5f3ff;color:#6d28d9;font-weight:600}.ellm-graph__empty,.ellm-graph__loading{align-items:center;color:var(--ellm-graph-muted);display:flex;font-size:13px;justify-content:center;min-height:120px}.ellm-graph__empty-default{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center;min-height:180px;padding:24px 16px;text-align:center}.ellm-graph__empty-icon{align-items:center;background:#f3f4f6;border-radius:12px;color:#9ca3af;display:inline-flex;height:44px;justify-content:center;margin-bottom:4px;width:44px}.ellm-graph__empty-title{color:var(--ellm-graph-fg);font-size:14px;font-weight:600}.ellm-graph__empty-desc{color:var(--ellm-graph-muted);font-size:12.5px;line-height:1.5;max-width:340px}.ellm-graph__skeleton{display:flex;gap:10px;min-height:180px;padding:8px 0 4px;width:100%}.ellm-graph__shimmer{background:#eef1f5;overflow:hidden;position:relative}.ellm-graph__shimmer:after{animation:ellm-graph-shimmer 1.6s ease-in-out infinite;background:linear-gradient(90deg,#0000,#ffffffa6 50%,#0000);content:"";inset:0;position:absolute;transform:translateX(-100%)}@keyframes ellm-graph-shimmer{to{transform:translateX(100%)}}.ellm-graph__skeleton-yaxis{display:flex;flex-direction:column;flex-shrink:0;justify-content:space-between;padding:4px 0 22px}.ellm-graph__skeleton-plot{display:flex;flex:1;flex-direction:column;min-width:0;position:relative}.ellm-graph__skeleton-grid{display:flex;flex-direction:column;inset:0 0 22px 0;justify-content:space-between;position:absolute}.ellm-graph__skeleton-gridline{background:#eef1f5;height:1px;width:100%}.ellm-graph__skeleton-svg{flex:1;min-height:0;position:relative;width:100%}.ellm-graph__skeleton-line{stroke:#dbe1e8;stroke-width:2.5;vector-effect:non-scaling-stroke}.ellm-graph__skeleton-area-top{stop-color:#dbe1e8;stop-opacity:.45}.ellm-graph__skeleton-area-bottom{stop-color:#dbe1e8;stop-opacity:0}.ellm-graph__skeleton-xaxis{display:flex;height:12px;justify-content:space-between;margin-top:10px}.ellm-graph__skeleton-tick{border-radius:4px}.ellm-graph__skeleton-yaxis .ellm-graph__skeleton-tick{height:10px;width:28px}.ellm-graph__skeleton-xaxis .ellm-graph__skeleton-tick{height:10px;width:40px}@media (prefers-reduced-motion:reduce){.ellm-graph__shimmer:after{animation:none}}.analytics-chart{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}.analytics-chart__title{color:#111827;font-size:20px;font-weight:600;margin:0 0 24px}.th-table-toolbar{align-items:center;border-top-left-radius:8px;border-top-right-radius:8px;box-sizing:border-box;display:flex;gap:8px;height:60px;justify-content:center;width:100%}.th-table-toolbar__search{align-items:center;display:flex;flex:1}.th-table-toolbar__search-wrapper{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:6px;display:flex;height:35px;overflow:hidden;width:100%}.th-table-toolbar__search-input{background:#0000;border:none;color:#767676;flex:1;font-size:14px;font-weight:400;height:100%;outline:none;padding:0 12px}.th-table-toolbar__search-input::placeholder{color:#a0a8b8}.th-table-toolbar__search-input:focus{box-shadow:none;outline:none}.th-table-toolbar__search-input--disabled{background:#f3f4f6;cursor:not-allowed}.th-table-toolbar__search-btn-left{border:none;border-right:1px solid #e2e8f0}.th-table-toolbar__search-btn-left,.th-table-toolbar__search-btn-right{align-items:center;background:#fff;color:#6b7280;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;height:100%;padding:0 12px;transition:background-color .2s ease,color .2s ease;white-space:nowrap}.th-table-toolbar__search-btn-right{border:none;border-left:1px solid #e2e8f0}.th-table-toolbar__search-btn:hover{background:#f9fafb}.th-table-toolbar__search-btn--disabled{color:#9ca3af;cursor:not-allowed;pointer-events:none}.th-table-toolbar__actions{align-items:center;display:flex;position:relative}.th-table-toolbar__btn{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:6px;color:#374151;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;height:35px;justify-content:center;margin-left:8px;padding:0 12px;transition:all .2s ease;white-space:nowrap}.th-table-toolbar__btn:first-child{margin-left:0}.th-table-toolbar__btn--disabled{cursor:not-allowed;opacity:.5}.th-table-toolbar__btn--default{background:#fff;border-color:#d0d5dd;color:#374151}.th-table-toolbar__btn--filter-open{background:#f5f3ff;border-color:#a78bfa;color:#6d28d9}.th-table-toolbar__btn--filter-active,.th-table-toolbar__btn--sort-active{border-color:#4f46e5;color:#4f46e5}.th-table-toolbar__btn--refresh:active{border-color:#818cf8;color:#4f46e5}.th-table-toolbar__icon{flex-shrink:0;height:16px;width:16px}.th-table-toolbar__icon--primary{stroke:#4f46e5}.th-table-toolbar__badge{align-items:center;background:#eef2ff;border-radius:999px;display:inline-flex;gap:3.5px;padding:3px 7px}.th-table-toolbar__badge-text{color:#4f46e5;font-size:11px;font-weight:500}.th-table-toolbar__dropdown-wrapper{align-items:center;display:flex;position:relative}.th-table-toolbar__dropdown{background:#fff;border:1px solid #eaecf0;border-radius:8px;box-shadow:0 4px 12px #1018281f;position:absolute;right:0;top:22px;width:250px;z-index:50}.th-table-toolbar__dropdown-item{align-items:center;color:#111827;cursor:pointer;display:flex;font-size:14px;height:38px;justify-content:space-between;padding:0 24px}.th-table-toolbar__dropdown-item:hover{background:#f3f4f6}.th-table-toolbar__dropdown-item--selected{background:#eef2ff;color:#4f46e5;font-weight:600}.th-table-toolbar__dropdown-footer{border-top:1px solid #eaecf0;padding:12px 16px;text-align:right}.th-table-toolbar__clear-btn{background:#0000;border:none;color:#475467;cursor:pointer;font-size:14px}.tg-root{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}.tg-toolbar-row{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.tg-toolbar-left{min-width:0}.tg-toolbar,.tg-toolbar-left{align-items:center;display:flex;gap:8px}.tg-toolbar{margin-left:auto}.tg-toolbar-label{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;white-space:nowrap}.tg-toggle{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:2px;padding:2px}.tg-toggle,.tg-toggle-btn{align-items:center;display:inline-flex}.tg-toggle-btn{background:#0000;border:1px solid #0000;border-radius:6px;color:#64748b;cursor:pointer;height:28px;justify-content:center;padding:0;transition:background .15s ease,color .15s ease;width:28px}.tg-toggle-btn:hover{background:#eef2f7;color:#334155}.tg-toggle-btn--active{background:#fff;border-color:#e2e8f0;box-shadow:0 1px 2px #1018280f;color:#7c3aed}.tg-toggle-btn--cramped{opacity:.45}.tg-grid{align-items:stretch;display:grid;min-width:0;width:100%}.tg-grid--auto-height{align-items:start}.tg-cell{box-sizing:border-box;display:flex;flex-direction:column}.tg-cell,.tg-cell>*{max-width:100%;min-width:0}.tg-cell>*{flex:1 1 auto;min-height:0}.tg-grid--auto-height .tg-cell>*{flex:0 0 auto}.tg-cell .p-datatable-wrapper{border-radius:12px;height:100%;overflow-x:auto}.q-sort{position:relative}.q-sort__trigger{background:#fff;border:1px solid #dbe4ee;border-radius:6px;color:#475467;cursor:pointer;height:31px;justify-content:space-between;padding:7px 0 7px 8px}.q-sort__left,.q-sort__trigger{align-items:center;display:flex}.q-sort__left{color:#475569;font-family:Inter;font-size:14px;gap:12px}.q-sort__menu{background:#fff;border:1px solid #dbe4ee;border-radius:12px;box-shadow:0 8px 24px #00000014;left:0;padding:8px 12px;position:absolute;top:calc(100% + 8px);width:100%;z-index:1000}.q-sort__option{background:#0000;border:none;border-radius:6px;color:#475569;cursor:pointer;font-family:Inter;font-size:13px;font-weight:500;padding:8px;text-align:left;width:100%}.q-sort__option:hover{background:#f8fafc}.q-sort__option--active{background:#f5f3ffe6;color:#0f172a;font-weight:500}.tc-root{background:#fff;border:1px solid #eeeef2;border-radius:16px;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;overflow:visible;padding:8px 20px 16px;width:100%}.tc-root--fullscreen .tc-table{flex:1;min-height:0}.tc-root--fullscreen{background:#fff;border-radius:1;left:0;top:0;width:100vw!important;z-index:9}.tc-header{flex-wrap:wrap;justify-content:space-between;padding:30px 12px}.tc-header,.tc-header-left{align-items:center;display:flex}.tc-header-left{gap:12px}.tc-title-icon{align-items:center;color:#344054;display:flex;justify-content:center}.tc-title{color:#242533;font-family:Inter;font-size:18px;font-weight:600;line-height:16px}.tc-expand-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:4px;color:#475467;cursor:pointer;display:flex;height:28px;justify-content:center;width:28px}.tc-expand-btn:hover{background:#f8fafc}.tc-table{flex:1;min-height:0;overflow:hidden}.tc-header-right{display:flex;flex-wrap:wrap;gap:12px}.tc-search{border-radius:6px;color:#475569;font-family:Inter;font-size:14px;height:31px;padding-left:30px;width:254px}.tc-pagination-wrapper{margin-top:8px;padding:4px 0}.t-pagination{align-items:center;background:#fff;display:flex;font-family:Inter,sans-serif;justify-content:space-between}.t-pagination-left{color:#344054;font-size:14px;font-weight:500}.t-pagination-right{align-items:center;display:flex;gap:24px}.t-pagination-count{color:#344054;font-size:14px;font-weight:500}.t-pagination-nav{align-items:center;display:flex;gap:12px}.t-pagination-icon{align-items:center;background:#0000;border:none;color:#344054;cursor:pointer;display:flex;height:28px;justify-content:center;width:28px}.t-pagination-icon:hover:not(:disabled){background:#f2f4f7;border-radius:6px}.t-pagination-icon:disabled{color:#d0d5dd;cursor:not-allowed}.t-pagination-select-wrapper{position:relative}.t-pagination-select{appearance:none;-webkit-appearance:none;background:#fff;border:1px solid #d0d5dd;border-radius:8px;color:#344054;cursor:pointer;font-size:14px;font-weight:600;height:40px;padding:0 34px 0 14px;width:71px}.t-pagination-chevron{pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.audit-tableWrap{background:#fff;border:1px solid #e5e7eb;border-radius:12px;height:100%;overflow:hidden}.audit-table .p-datatable-tbody>tr:nth-child(odd){background:#f8fafc}.audit-table .p-datatable-tbody>tr:hover{background:#eff5ff!important}.audit-table .p-datatable-thead>tr>th{background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#6b7280;font-family:Inter;font-size:12px;font-weight:600;height:54px;padding:8px 16px}.audit-table .p-datatable-thead>tr>th .p-column-header-content{align-items:center;justify-content:flex-start}.audit-table.col-header-align-left .p-datatable-thead>tr>th .p-column-header-content{justify-content:flex-start}.audit-table.col-header-align-center .p-datatable-thead>tr>th .p-column-header-content{justify-content:center}.audit-table.col-header-align-right .p-datatable-thead>tr>th .p-column-header-content{justify-content:flex-end}.audit-table.col-cell-align-left .p-datatable-tbody>tr>td{text-align:left}.audit-table.col-cell-align-center .p-datatable-tbody>tr>td{text-align:center}.audit-table.col-cell-align-right .p-datatable-tbody>tr>td{text-align:right}.p-datatable .p-sortable-column .p-sortable-column-icon{height:12px!important;width:12px!important}.audit-table .p-datatable-tbody>tr>td{border-bottom:1px solid #eef2f7;color:#101828;font-family:Inter;font-size:14px;font-weight:400;padding:16px}.audit-modifiedBy{align-items:center;display:flex;justify-content:center}.audit-actionCell{display:flex;flex-direction:column;gap:6px}.audit-chip{border-radius:6px;font-family:Inter;font-size:9px;font-weight:500;gap:5px;padding:4px 7px;width:fit-content}.audit-chip,.audit-chip__icon{align-items:center;display:inline-flex}.audit-chip__icon{justify-content:center}.audit-chip--purple{background:#ede9fe;color:#6d28d9}.audit-chip--orange{background:#ffedd5;color:#c2410c}.audit-actionText{color:#111827;font-size:12px;line-height:1.35}.audit-seeMore{background:#0000;border:0;color:#6d28d9;cursor:pointer;font-size:12px;font-weight:400;margin-left:4px;padding:0}.audit-dateCell{color:#101828;font-family:Inter;text-align:center}.audit-emptyState{align-items:center;color:#64748b;display:flex;flex-direction:column;height:300px;justify-content:center;text-align:center}.audit-emptyTitle{font-size:16px;font-weight:600;margin-top:8px}.audit-emptyDesc{font-size:13px;margin-top:4px}.audit-skeletonRow{display:flex;gap:16px;padding:12px 0}.audit-operation-body{align-items:center;display:flex;justify-content:center}.audit-logIdBody{margin:0 auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-table .p-datatable-tbody>tr.audit-row--clickable{cursor:pointer}.audit-table .p-datatable-tbody>tr.p-datatable-row-expansion>td{background:#fff;padding:0}.audit-rowDetail{background:#fff;border-top:1px solid #eef2f7;padding:16px 20px}.audit-table .p-datatable-tfoot>tr>.audit-paginationEnd{background:#fff;border:0;height:auto;padding:12px 16px;text-align:center}.audit-paginationEndContent{align-items:center;background:#f0fdf4;border-radius:999px;color:#15803d;display:inline-flex;font-family:Inter,sans-serif;font-size:12px;font-weight:500;gap:7px;line-height:1;padding:6px 11px}.audit-paginationEndContent .pi{font-size:13px}
|
package/dist/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.App{height:100vh;overflow-y:auto;width:100vw}.chart-scroll{-webkit-overflow-scrolling:touch;background:var(--bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);overflow-x:auto;overflow-y:hidden;scrollbar-color:var(--accent-border) #0000;scrollbar-width:thin;width:100%}.chart-scroll::-webkit-scrollbar{height:10px}.chart-scroll::-webkit-scrollbar-track{background:#0000}.chart-scroll::-webkit-scrollbar-thumb{background:var(--accent-border);border-radius:999px}.chart-scroll::-webkit-scrollbar-thumb:hover{background:var(--accent)}.chart-inner{width:2600px}.ellm-graph__liveLabelContainer{align-items:center;display:flex;gap:16px;height:100%;width:100%}.ellm-graph__liveLabel{align-items:center;color:#dc2626;display:flex;font-size:12px;font-weight:600,;gap:6px;height:100%;padding:0 12px}.pulse{animation:pulse 1.5s infinite}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.ellm-graph__scroll-container{border-radius:var(--ellm-graph-radius);overflow-x:auto;overflow-y:hidden;scrollbar-color:#d7dbe3 #f3f4f6;scrollbar-width:thin;width:100%}.ellm-graph__scroll-container::-webkit-scrollbar{height:8px}.ellm-graph__scroll-container::-webkit-scrollbar-track{background:#f3f4f6}.ellm-graph__scroll-container::-webkit-scrollbar-thumb{background:#d7dbe3;border-radius:4px}.ellm-graph__scroll-container::-webkit-scrollbar-thumb:hover{background:#b1b5be}.audit-table .p-datatable-thead>tr>th .p-column-header-content{justify-content:center}.audit-table .p-datatable-tbody>tr>td{height:92px}.tc-root--fullscreen{border-radius:0;height:100vh!important;position:fixed;z-index:9999}.tg-cell .p-datatable-wrapper{max-height:90vh!important}.q-skeleton{display:flex;flex-direction:column;gap:12px;padding:10px}.q-skeleton-card,.q-skeleton-line,.q-skeleton-pill,.q-skeleton-sparkline-path{background:#eef1f5;overflow:hidden;position:relative}.q-skeleton-card:after,.q-skeleton-line:after,.q-skeleton-pill:after{animation:q-shimmer 1.6s ease-in-out infinite;background:linear-gradient(90deg,#0000,#ffffffa6 50%,#0000);content:"";inset:0;position:absolute;transform:translateX(-100%)}@keyframes q-shimmer{to{transform:translateX(100%)}}.q-skeleton-toolbar{align-items:center;justify-content:space-between}.q-skeleton-presets,.q-skeleton-toolbar{display:flex;gap:8px}.q-skeleton-pill{border-radius:8px;height:32px;width:64px}.q-skeleton-pill--wide{width:72px}.q-skeleton-pill--filter{width:88px}.q-skeleton-pill--selector{border-radius:8px;height:34px;width:110px}.q-skeleton-card{border:1px solid #eef1f5;border-radius:14px;padding:16px 20px}.q-skeleton-graph{padding:20px}.q-skeleton-graph-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:18px}.q-skeleton-line{border-radius:6px}.q-skeleton-line--title{height:16px;margin-bottom:8px;width:160px}.q-skeleton-line--subtitle{height:12px;width:100px}.q-skeleton-graph-body{align-items:flex-end;display:flex;height:180px}.q-skeleton-sparkline{height:100%;width:100%}.q-skeleton-sparkline-path{stroke:#dbe1e8;stroke-width:3;background:none}.q-skeleton-kpis{display:flex;flex-wrap:wrap;gap:10px}.q-skeleton-kpi{flex:1 1 200px;min-width:200px}.q-skeleton-line--label{height:12px;margin-bottom:12px;width:90px}.q-skeleton-line--value{height:24px;margin-bottom:10px;width:70px}.q-skeleton-line--sublabel{height:10px;width:110px}@media (prefers-reduced-motion:reduce){.q-skeleton-card:after,.q-skeleton-line:after,.q-skeleton-pill:after{animation:none}}.q-date-filter{display:flex;flex-direction:column;gap:12px}.q-date-filter-toolbar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:16px;justify-content:space-between;padding:12px 16px}.q-date-filter-toolbar,.q-preset-container{align-items:center;display:flex;flex-wrap:wrap}.q-preset-container{background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:6px}.q-preset-btn{background:#0000;border:none;border-radius:999px;color:#334155;cursor:pointer;font-size:14px;font-weight:500;outline:none;padding:10px 20px;transition:.2s}.q-preset-btn:hover{background:#f9fafb}.q-preset-btn.active{background:#6d28d9;color:#fff}.q-live-chip{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;display:flex;font-size:14px;font-weight:500;gap:8px;height:33px;padding:0 16px}.q-live-dot{background:#15803d;border-radius:50%;height:8px;width:8px}.q-filter-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#475569;cursor:pointer;display:flex;font-family:Inter;font-weight:500;gap:8px;height:33px;padding:5.25px 8.75px}.q-filter-btn:hover{background:#f9fafb}.q-filter-badge{align-items:center;background:#6d28d9;border-radius:50%;color:#fff;display:flex;font-size:12px;height:20px;justify-content:center;width:20px}.q-custom-container{align-items:flex-end;background:#fff;background:#f8fafc;border:1px solid #e4e7ec;border-radius:16px;display:flex;gap:16px;padding:16px}.q-refresh-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#262d33;cursor:pointer;display:flex;font-family:Inter;font-size:14px;font-weight:500;gap:12px;height:33px;padding:6px 9px}.q-refresh-btn:hover{background:#f9fafb}.q-apply-btn{align-items:center;background:#6d28d9;border:1px solid #e2e8f0;border-radius:6px;color:#fff;display:flex;font-family:Inter;font-size:14px;gap:12px;height:33px;margin-bottom:8px;padding:7px 11px}.q-apply-btn:hover{background:#5b21b6}.q-apply-btn:disabled{opacity:.7}.q-custom-container .p-calendar{width:280px}.q-custom-container .p-inputtext{width:100%}@media (max-width:650px){.q-date-separator{display:none}}@media (max-width:1124px){.q-custom-container{flex-wrap:wrap}.q-preset-container{border-radius:16px}}.q-spin{animation:q-spin 1s linear infinite}@keyframes q-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.date-picker{align-items:flex-start;background:#fff;border-radius:10px;box-shadow:0 8px 24px #0000001f;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:10px 12px;width:260px}.date-picker__header{align-items:center;display:flex;justify-content:space-between;width:100%}.header-selects{align-items:center;display:flex;gap:4px}.header-select{appearance:none;-webkit-appearance:none;background:#f8fafc;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 5px center;background-repeat:no-repeat;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;font-weight:600;outline:none;padding:3px 20px 3px 7px}.header-select:hover{border-color:#94a3b8}.header-select:focus{border-color:#2563eb}.month-label{color:#0f172a;font-size:13px;font-weight:600}.nav-btn{background:none;border:none;color:#475569;cursor:pointer;font-size:16px;line-height:1;padding:0 4px}.date-picker__top-actions{display:flex;gap:6px;width:100%}.selected-date{border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;flex:1}.selected-date,.today-btn{font-size:12px;padding:5px 8px}.today-btn{background:#fff;border:1px solid #2563eb;border-radius:6px;color:#2563eb;cursor:pointer}.today-btn--disabled{border-color:#94a3b8;color:#94a3b8;cursor:not-allowed;opacity:.4;pointer-events:none}.date-picker__weekdays{color:#64748b;font-size:11px;font-weight:500;text-align:center}.date-picker__days,.date-picker__weekdays{display:grid;grid-template-columns:repeat(7,1fr);width:100%}.date-picker__days{gap:3px}.day{align-items:center;background:#0000;border:none;border-radius:50%;color:#0f172a;cursor:pointer;display:flex;font-size:12px;height:28px;justify-content:center;margin:auto;width:28px}.day--disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.day:hover{background:#f1f5f9}.day--today{background:#e2e8f0;font-weight:600}.day--selected{background:#2563eb;color:#fff}.month-label-click,.year-label-click{border-radius:4px;cursor:pointer;padding:1px 3px;transition:background .1s}.month-label-click:hover,.year-label-click:hover{background:#f1f5f9}.date-picker__month-grid{display:grid;gap:4px;grid-template-columns:repeat(3,1fr);width:100%}.month-cell{background:#0000;border:none;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;padding:6px 0;text-align:center}.month-cell:hover{background:#f1f5f9}.month-cell--selected{background:#2563eb;color:#fff}.date-picker__year-grid{display:grid;gap:4px;grid-template-columns:repeat(4,1fr);width:100%}.year-cell{background:#0000;border:none;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;padding:6px 0;text-align:center}.year-cell:hover{background:#f1f5f9}.year-cell--selected{background:#2563eb;color:#fff}.q-date-selector{padding:7px 10px;position:relative}.q-date-selector__label{color:#475569;display:block;font-family:Inter;font-size:14px;font-weight:500;margin-bottom:10px}.q-date-selector__trigger{align-items:center;background:#fff;border:1px solid #eaecf0;border-radius:6px;color:#1e293b;cursor:pointer;display:flex;font-size:14px;font-weight:400;height:33px;justify-content:space-between;padding:0 18px;width:100%}.q-date-selector__trigger:hover{border-color:#b8c0cc}.q-date-selector__panel{left:0;position:absolute;top:calc(100% + 8px);z-index:1000}.q-date-selector__panel--top{bottom:calc(100% + 8px);top:auto}.metric-card{background:#f8fafc33;border:1px solid #e2e8f0;border-radius:24px;box-sizing:border-box;flex:1;height:fit-content;min-width:266px;padding:24px;transition:all .2s ease;width:fit-content}.metric-card:hover{box-shadow:0 4px 12px #0000000d}.metric-card__content{align-items:center;display:flex;gap:24px;height:100%;justify-content:space-between}.metric-card__title{color:#00000080;font-size:14px;font-weight:400;margin-bottom:4px}.metric-card__value{display:flex;font-size:25px;font-weight:700;gap:4px}.metric-card__delta,.metric-card__value{align-items:center;line-height:1;margin-top:4px}.metric-card__delta{display:inline-flex;font-size:13px;font-weight:600;gap:3px;white-space:nowrap}.metric-card__delta-caption{font-size:12px;font-weight:500;margin-left:2px;opacity:.65}.metric-card__value-skeleton{animation:metric-card-shimmer 1.4s ease infinite;background:linear-gradient(90deg,#0000000f 25%,#0000001f 37%,#0000000f 63%);background-size:400% 100%;border-radius:6px;display:inline-block;height:25px;width:72px}@keyframes metric-card-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.metric-card__subtitle{color:#64748b;font-size:12px;font-weight:500;margin-top:10px}.metric-card__icon-container{align-items:center;background:#7c3aed1a;border-radius:6px;color:#6d28d9;display:flex;height:40px;justify-content:center;width:40px}.metric-card__stats{align-items:flex-start;display:flex;gap:20px;margin-bottom:16px;margin-top:12px}.metric-card__stat{display:flex;flex-direction:column;gap:6px;position:relative}.metric-card__stat-label{align-items:center;color:#64748b;display:flex;font-size:12px;font-weight:500;gap:6px}.metric-card__dot{border-radius:50%;height:8px;width:8px}.metric-card__stat-value{color:#262d33;font-family:Inter;font-size:14px;font-weight:700}.metric-card__divider{background:#e2e8f0;height:100%;position:absolute;right:-12px;top:0;width:1px}.metric-card__progress{background:#ede9fe;border-radius:999px;display:flex;height:10px;overflow:hidden;width:100%}.metric-card__progress-segment{height:100%}.metric-card__stats{margin-top:0}@media (max-width:1000px){.metric-card__title{font-size:12px}.metric-card__subtitle{font-size:10px;margin-top:10px}.metric-card__value{font-size:25px}.metric-card__stats{gap:20px;margin-bottom:16px}.metric-card__stat-value{font-size:14px}.metric-card__icon-container{height:40px;margin-top:8px;width:40px}.metric-card__icon-container svg{height:24px!important;width:24px!important}}@media (max-width:768px){.metric-card__content--has-segments{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto}.metric-card__content--has-segments>:first-child{grid-area:1/1}.metric-card__content--has-segments>:nth-child(2){grid-area:2/1/2/3}.metric-card__content--has-segments>:nth-child(3){grid-area:1/2}.metric-card__value{font-size:22px}.metric-card__stats{gap:16px;margin-bottom:12px}.metric-card__stat-value{font-size:14px}.metric-card__icon-container{height:38px;margin-top:4px;width:38px}.metric-card__icon-container svg{height:20px!important;width:20px!important}}.log-filterSidebar{width:400px}.log-filterTitle{color:#334155;font-family:Inter;font-size:18px;font-weight:600}.log-filterBody{display:flex;flex-direction:column;gap:16px}.log-filterBlock .log-filterLabel{color:#334155;font-family:Inter;font-size:14px;font-weight:600}.log-filterHint{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;line-height:130%;margin-top:4px}.log-filterFooter{background:#fff;bottom:0;display:flex;gap:10px;justify-content:flex-end;left:0;padding:12px 16px;position:absolute;right:0}.log-btnReset{background:#fff;border:1px solid #e2e8f0;color:#64748b}.log-btnApply,.log-btnReset{border-radius:6px;font-family:Inter;font-size:14px;font-weight:500;padding:8px 11px}.log-btnApply{background:#5925dc;color:#fff}.log-filter-date .drs__trigger{margin-top:12px;width:100%}.log-filterEmpty{background:#f8fafc;border:1px dashed #e2e8f0;border-radius:6px;color:#94a3b8;font-family:Inter;font-size:13px;font-weight:500;padding:10px 12px;text-align:center}.drs{position:relative}.drs__trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#475569;cursor:pointer;display:inline-flex;font-size:14px;gap:10px;height:40px;padding:0 18px;transition:.2s ease}.drs__trigger:hover{background:#f8fafc;border-color:#dbe3ef}.drs__label{color:#6b7280;font-family:Inter;font-size:14px}.drs__popover{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 16px 40px #00000024;position:absolute;right:0;top:60px;width:340px;z-index:9999}.drs__header{align-items:center;display:flex;justify-content:space-between;padding:16px 16px 10px}.drs__month{color:#1e293b;display:flex;font-family:Inter,sans-serif;font-size:17px;font-weight:700;gap:5px}.drs__month-click,.drs__year-click{border-radius:4px;cursor:pointer;padding:1px 4px;transition:background-color .15s ease}.drs__month-click:hover,.drs__year-click:hover{background:#f1f5f9;color:#635ae3}.drs__nav{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#64748b;cursor:pointer;display:inline-flex;height:34px;justify-content:center;width:34px}.drs__nav:hover{background:#f8fafc;color:#1e293b}.drs__inputs{gap:8px;padding:0 16px 12px}.drs__input-box,.drs__inputs{align-items:center;display:flex}.drs__input-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#1e293b;flex:1;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:36px;padding:0 10px;transition:border-color .15s ease}.drs__input-box.is-active{background:#fff;border-color:#635ae3}.drs__input-placeholder{color:#94a3b8;font-weight:400}.drs__input-sep{color:#94a3b8;font-size:16px}.drs__week{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 4px}.drs__weekday{color:#94a3b8;font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:4px 0;text-align:center}.drs__grid{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 12px;row-gap:2px}.drs__day{align-items:center;background:#0000;border:none;color:#0f172a;cursor:pointer;display:flex;font-family:Inter,sans-serif;font-size:14px;font-weight:400;height:36px;justify-content:center;padding:0;position:relative;width:100%}.drs__day.is-disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.drs__day-inner{align-items:center;border-radius:50%;display:flex;height:34px;justify-content:center;position:relative;transition:background-color .12s ease;width:34px;z-index:1}.drs__day:hover:not(.is-start):not(.is-end) .drs__day-inner{background:#f1f5f9}.drs__day.is-out{color:#cbd5e1}.drs__day.is-range-start:before,.drs__day.is-range:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;z-index:0}.drs__day.is-range-start:before{left:50%}.drs__day.is-range-end:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;right:50%;z-index:0}.drs__day.is-row-first:before{border-radius:50% 0 0 50%}.drs__day.is-row-last:before{border-radius:0 50% 50% 0}.drs__day.is-end .drs__day-inner,.drs__day.is-start .drs__day-inner{background:#635ae3;color:#fff;font-weight:600}.drs__day.is-end:hover .drs__day-inner,.drs__day.is-start:hover .drs__day-inner{background:#4f46d8}.drs__month-grid{display:grid;gap:8px;grid-template-columns:repeat(3,1fr);padding:8px 16px 16px}.drs__month-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:500;height:44px}.drs__month-cell:hover{background:#f1f5f9}.drs__month-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__year-grid{display:grid;gap:8px;grid-template-columns:repeat(4,1fr);padding:8px 16px 16px}.drs__year-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:44px;transition:background-color .15s ease}.drs__year-cell:hover{background:#f1f5f9}.drs__year-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__footer{border-top:1px solid #eef2f7;display:flex;gap:10px;justify-content:flex-end;padding:12px 16px}.drs__btn{border:1px solid #0000;border-radius:10px;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:600;height:40px;padding:0 20px}.drs__btn--ghost{background:#fff;border-color:#e5e7eb;color:#475569}.drs__btn--ghost:hover{background:#f8fafc}.drs__btn--primary{background:#635ae3;color:#fff}.drs__btn--primary:hover{background:#4f46d8}.drs__btn--primary:disabled{cursor:not-allowed;opacity:.45}.audit-filterBlock .date-range-wrapper,.audit-filterControl,.cms-root{width:100%}.cms-root{position:relative}.cms-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.cms-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.cms-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.cms-hasValue{color:#334155}.cms-chevron{color:#64748b}.cms-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px #1018281f;left:0;padding:10px;position:absolute;right:0;top:calc(100% + 8px);z-index:9999}.cms-searchRow{align-items:center;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;display:flex;gap:10px;height:40px;margin-bottom:10px;padding:0 12px}.cms-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.cms-divider{background:#e2e8f0;height:1px;margin:10px 0}.cms-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.cms-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;min-height:30px;padding:0 8px}.cms-item:hover{background:#f8fafc}.cms-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.cms-checked{background:#5925dc;border-color:#5925dc}.cms-itemText{color:#334155;font-family:Inter;font-size:14px}.cti-input{border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;font-size:14px;height:40px;outline:none;padding:0 18px;width:100%}.cti-input:disabled{background:#f8fafc;cursor:not-allowed}.cti-wrapper{position:relative}.cti-search-icon{color:#666f8d;left:12px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.cti-input--with-icon{padding-left:40px}.css-root{position:relative;width:100%}.css-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.css-trigger:disabled{cursor:not-allowed;opacity:.6}.css-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.css-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.css-hasValue{color:#0f172a}.css-chevron{color:#334155}.css-panel{background:#fff;box-shadow:0 8px 24px #1018281f;left:0;overflow:hidden;padding:10px;position:absolute;right:0;top:calc(100% + 4px);z-index:1000}.css-panel,.css-searchRow{border:1px solid #e2e8f0;border-radius:8px}.css-searchRow{align-items:center;color:#64748b;display:flex;gap:10px;height:40px;margin-bottom:10px;padding:0 12px}.css-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.css-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.css-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;justify-content:space-between;min-height:30px;padding:0 8px}.css-item:hover{background:#f8fafc}.css-selected{background:#f4f0fe}.css-selected:hover{background:#ece5fd}.css-selected .css-itemText{color:#5925dc;font-weight:500}.css-itemCheck{color:#5925dc;font-size:14px;font-weight:700}.css-itemText{font-size:14px}.css-empty{color:#94a3b8;padding:16px;text-align:center}.css-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.css-checked{background:#5925dc;border-color:#5925dc}.ellm-chart{display:block;font-size:12px;width:100%}.ellm-chart .recharts-responsive-container{height:100%!important;width:100%!important}.ellm-chart .recharts-cartesian-axis-tick text{fill:#6b7280}.ellm-chart .recharts-cartesian-grid line[stroke="#ccc"]{stroke:#eef0f4}.ellm-chart .recharts-curve.recharts-tooltip-cursor{stroke:#d7dbe3}.ellm-chart .recharts-dot[stroke="#fff"]{stroke:#0000}.ellm-chart .recharts-layer{outline:none}.ellm-chart .recharts-sector[stroke="#fff"]{stroke:#0000}.ellm-chart .recharts-sector,.ellm-chart .recharts-surface{outline:none}.ellm-chart .recharts-reference-line[stroke="#ccc"]{stroke:#e5e7eb}.ellm-chart__tooltip{background:#fff;border:1px solid #0000000f;border-radius:8px;box-shadow:0 6px 20px #0000001f;color:#111827;display:grid;font-size:12px;gap:6px;min-width:8rem;padding:8px 10px}.ellm-chart__tooltip-label{color:#111827;font-weight:600}.ellm-chart__tooltip-items{display:grid;gap:6px}.ellm-chart__tooltip-item{align-items:center;display:flex;gap:8px;width:100%}.ellm-chart__tooltip-row{align-items:center;display:flex;flex:1;gap:12px;justify-content:space-between;line-height:1}.ellm-chart__tooltip-row--nested{align-items:flex-end}.ellm-chart__tooltip-grid{display:grid;gap:2px}.ellm-chart__tooltip-name{color:#6b7280}.ellm-chart__tooltip-value{color:#111827;font-variant-numeric:tabular-nums;font-weight:600}.ellm-chart__indicator{background:var(--indicator-color);border-color:var(--indicator-color);flex-shrink:0}.ellm-chart__indicator--dot{border-radius:50%;height:10px;width:10px}.ellm-chart__indicator--line{border-radius:2px;height:14px;width:4px}.ellm-chart__indicator--dashed{background:#0000;border:1.5px dashed var(--indicator-color);height:0;height:14px;margin:0 1px;width:0}.ellm-chart__legend{align-items:center;display:flex;flex-wrap:wrap;gap:16px;padding-top:10px}.ellm-chart__legend--top{padding-bottom:10px;padding-top:0}.ellm-chart__legend--start{justify-content:flex-start}.ellm-chart__legend--center{justify-content:center}.ellm-chart__legend--end{justify-content:flex-end}.ellm-chart__legend-item{align-items:center;background:none;border:none;color:#111827;display:inline-flex;font-family:inherit;font-size:12.5px;gap:7px;padding:2px 0;transition:opacity .15s ease}.ellm-chart__legend-item--off{opacity:.4}.ellm-chart__legend-marker{display:block;flex-shrink:0;overflow:visible}.ellm-graph{--ellm-graph-fg:#111827;--ellm-graph-muted:#6b7280;--ellm-graph-border:#e5e7eb;--ellm-graph-radius:12px;background:#fff;border:1px solid var(--ellm-graph-border);border-radius:var(--ellm-graph-radius);color:var(--ellm-graph-fg);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;padding:20px;width:100%}.ellm-graph,.ellm-graph *{box-sizing:border-box}.ellm-graph__header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:16px;margin-top:10px}.ellm-graph__heading{align-items:center;display:flex;gap:10px;min-width:0}.ellm-graph__icon{align-items:center;background:#f3f4f6;border-radius:9px;color:#4f46e5;display:inline-flex;flex-shrink:0;height:34px;justify-content:center;width:34px}.ellm-graph__title{font-size:15px;font-weight:600;line-height:1.3}.ellm-graph__description{color:var(--ellm-graph-muted);font-size:12.5px;line-height:1.4;margin-top:2px}.ellm-graph__controls{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:10px}.ellm-graph__panes{display:flex;flex-direction:column}.ellm-graph__pane{background:#fff;border:1px solid var(--ellm-graph-border);border-radius:10px;min-width:0;padding:12px 12px 4px}.ellm-graph__pane-title{color:var(--ellm-graph-muted);font-size:12.5px;font-weight:600;margin-bottom:4px}.ellm-graph__legend{align-items:center;display:flex;flex-wrap:wrap;gap:20px;justify-content:center;padding-top:16px}.ellm-graph__legend-item{align-items:center;background:none;border:none;color:var(--ellm-graph-fg);cursor:pointer;display:inline-flex;font-family:inherit;font-size:12.5px;gap:7px;padding:2px 0;transition:opacity .15s ease}.ellm-graph__legend-item--off{opacity:.4}.ellm-graph__legend-marker{display:block;flex-shrink:0;overflow:visible}.ellm-graph__plotby{flex-shrink:0;position:relative}.ellm-graph__plotby-btn{align-items:center;background:#fff;border:1px solid var(--ellm-graph-border);border-radius:10px;color:#4b5563;cursor:pointer;display:inline-flex;font-family:inherit;font-size:14px;gap:10px;height:40px;padding:0 14px;transition:.18s ease}.ellm-graph__plotby-btn:hover{background:#f8fafc;border-color:#dbe3ef}.ellm-graph__plotby-btn--open{border-color:#6d28d9;color:#6d28d9}.ellm-graph__plotby-btn--open svg{color:#6d28d9}.ellm-graph__plotby-value{color:#111827;font-weight:600}.ellm-graph__plotby-btn--open .ellm-graph__plotby-value{color:#6d28d9}.ellm-graph__plotby-chevron{margin-left:2px;transition:transform .18s ease}.ellm-graph__plotby-btn--open .ellm-graph__plotby-chevron{transform:rotate(180deg)}.ellm-graph__plotby-menu{background:#fff;border:1px solid var(--ellm-graph-border);border-radius:12px;box-shadow:0 12px 28px #0000001f;min-width:160px;padding:6px;position:absolute;right:0;top:48px;z-index:50}.ellm-graph__plotby-option{background:#fff;border:none;border-radius:9px;color:#374151;cursor:pointer;display:block;font-family:inherit;font-size:14px;margin:2px 0;padding:9px 14px;text-align:left;transition:background .15s ease;width:100%}.ellm-graph__plotby-option:hover{background:#f3f4f6}.ellm-graph__plotby-option--active{background:#f5f3ff;color:#6d28d9;font-weight:600}.ellm-graph__empty,.ellm-graph__loading{align-items:center;color:var(--ellm-graph-muted);display:flex;font-size:13px;justify-content:center;min-height:120px}.ellm-graph__empty-default{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center;min-height:180px;padding:24px 16px;text-align:center}.ellm-graph__empty-icon{align-items:center;background:#f3f4f6;border-radius:12px;color:#9ca3af;display:inline-flex;height:44px;justify-content:center;margin-bottom:4px;width:44px}.ellm-graph__empty-title{color:var(--ellm-graph-fg);font-size:14px;font-weight:600}.ellm-graph__empty-desc{color:var(--ellm-graph-muted);font-size:12.5px;line-height:1.5;max-width:340px}.ellm-graph__skeleton{display:flex;gap:10px;min-height:180px;padding:8px 0 4px;width:100%}.ellm-graph__shimmer{background:#eef1f5;overflow:hidden;position:relative}.ellm-graph__shimmer:after{animation:ellm-graph-shimmer 1.6s ease-in-out infinite;background:linear-gradient(90deg,#0000,#ffffffa6 50%,#0000);content:"";inset:0;position:absolute;transform:translateX(-100%)}@keyframes ellm-graph-shimmer{to{transform:translateX(100%)}}.ellm-graph__skeleton-yaxis{display:flex;flex-direction:column;flex-shrink:0;justify-content:space-between;padding:4px 0 22px}.ellm-graph__skeleton-plot{display:flex;flex:1;flex-direction:column;min-width:0;position:relative}.ellm-graph__skeleton-grid{display:flex;flex-direction:column;inset:0 0 22px 0;justify-content:space-between;position:absolute}.ellm-graph__skeleton-gridline{background:#eef1f5;height:1px;width:100%}.ellm-graph__skeleton-svg{flex:1;min-height:0;position:relative;width:100%}.ellm-graph__skeleton-line{stroke:#dbe1e8;stroke-width:2.5;vector-effect:non-scaling-stroke}.ellm-graph__skeleton-area-top{stop-color:#dbe1e8;stop-opacity:.45}.ellm-graph__skeleton-area-bottom{stop-color:#dbe1e8;stop-opacity:0}.ellm-graph__skeleton-xaxis{display:flex;height:12px;justify-content:space-between;margin-top:10px}.ellm-graph__skeleton-tick{border-radius:4px}.ellm-graph__skeleton-yaxis .ellm-graph__skeleton-tick{height:10px;width:28px}.ellm-graph__skeleton-xaxis .ellm-graph__skeleton-tick{height:10px;width:40px}@media (prefers-reduced-motion:reduce){.ellm-graph__shimmer:after{animation:none}}.analytics-chart{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}.analytics-chart__title{color:#111827;font-size:20px;font-weight:600;margin:0 0 24px}.th-table-toolbar{align-items:center;border-top-left-radius:8px;border-top-right-radius:8px;box-sizing:border-box;display:flex;gap:8px;height:60px;justify-content:center;width:100%}.th-table-toolbar__search{align-items:center;display:flex;flex:1}.th-table-toolbar__search-wrapper{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:6px;display:flex;height:35px;overflow:hidden;width:100%}.th-table-toolbar__search-input{background:#0000;border:none;color:#767676;flex:1;font-size:14px;font-weight:400;height:100%;outline:none;padding:0 12px}.th-table-toolbar__search-input::placeholder{color:#a0a8b8}.th-table-toolbar__search-input:focus{box-shadow:none;outline:none}.th-table-toolbar__search-input--disabled{background:#f3f4f6;cursor:not-allowed}.th-table-toolbar__search-btn-left{border:none;border-right:1px solid #e2e8f0}.th-table-toolbar__search-btn-left,.th-table-toolbar__search-btn-right{align-items:center;background:#fff;color:#6b7280;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;height:100%;padding:0 12px;transition:background-color .2s ease,color .2s ease;white-space:nowrap}.th-table-toolbar__search-btn-right{border:none;border-left:1px solid #e2e8f0}.th-table-toolbar__search-btn:hover{background:#f9fafb}.th-table-toolbar__search-btn--disabled{color:#9ca3af;cursor:not-allowed;pointer-events:none}.th-table-toolbar__actions{align-items:center;display:flex;position:relative}.th-table-toolbar__btn{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:6px;color:#374151;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;height:35px;justify-content:center;margin-left:8px;padding:0 12px;transition:all .2s ease;white-space:nowrap}.th-table-toolbar__btn:first-child{margin-left:0}.th-table-toolbar__btn--disabled{cursor:not-allowed;opacity:.5}.th-table-toolbar__btn--default{background:#fff;border-color:#d0d5dd;color:#374151}.th-table-toolbar__btn--filter-open{background:#f5f3ff;border-color:#a78bfa;color:#6d28d9}.th-table-toolbar__btn--filter-active,.th-table-toolbar__btn--sort-active{border-color:#4f46e5;color:#4f46e5}.th-table-toolbar__btn--refresh:active{border-color:#818cf8;color:#4f46e5}.th-table-toolbar__icon{flex-shrink:0;height:16px;width:16px}.th-table-toolbar__icon--primary{stroke:#4f46e5}.th-table-toolbar__badge{align-items:center;background:#eef2ff;border-radius:999px;display:inline-flex;gap:3.5px;padding:3px 7px}.th-table-toolbar__badge-text{color:#4f46e5;font-size:11px;font-weight:500}.th-table-toolbar__dropdown-wrapper{align-items:center;display:flex;position:relative}.th-table-toolbar__dropdown{background:#fff;border:1px solid #eaecf0;border-radius:8px;box-shadow:0 4px 12px #1018281f;position:absolute;right:0;top:22px;width:250px;z-index:50}.th-table-toolbar__dropdown-item{align-items:center;color:#111827;cursor:pointer;display:flex;font-size:14px;height:38px;justify-content:space-between;padding:0 24px}.th-table-toolbar__dropdown-item:hover{background:#f3f4f6}.th-table-toolbar__dropdown-item--selected{background:#eef2ff;color:#4f46e5;font-weight:600}.th-table-toolbar__dropdown-footer{border-top:1px solid #eaecf0;padding:12px 16px;text-align:right}.th-table-toolbar__clear-btn{background:#0000;border:none;color:#475467;cursor:pointer;font-size:14px}.tg-root{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}.tg-toolbar-row{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.tg-toolbar-left{min-width:0}.tg-toolbar,.tg-toolbar-left{align-items:center;display:flex;gap:8px}.tg-toolbar{margin-left:auto}.tg-toolbar-label{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;white-space:nowrap}.tg-toggle{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:2px;padding:2px}.tg-toggle,.tg-toggle-btn{align-items:center;display:inline-flex}.tg-toggle-btn{background:#0000;border:1px solid #0000;border-radius:6px;color:#64748b;cursor:pointer;height:28px;justify-content:center;padding:0;transition:background .15s ease,color .15s ease;width:28px}.tg-toggle-btn:hover{background:#eef2f7;color:#334155}.tg-toggle-btn--active{background:#fff;border-color:#e2e8f0;box-shadow:0 1px 2px #1018280f;color:#7c3aed}.tg-toggle-btn--cramped{opacity:.45}.tg-grid{align-items:stretch;display:grid;min-width:0;width:100%}.tg-grid--auto-height{align-items:start}.tg-cell{box-sizing:border-box;display:flex;flex-direction:column}.tg-cell,.tg-cell>*{max-width:100%;min-width:0}.tg-cell>*{flex:1 1 auto;min-height:0}.tg-grid--auto-height .tg-cell>*{flex:0 0 auto}.tg-cell .p-datatable-wrapper{border-radius:12px;height:100%;overflow-x:auto}.q-sort{position:relative}.q-sort__trigger{background:#fff;border:1px solid #dbe4ee;border-radius:6px;color:#475467;cursor:pointer;height:31px;justify-content:space-between;padding:7px 0 7px 8px}.q-sort__left,.q-sort__trigger{align-items:center;display:flex}.q-sort__left{color:#475569;font-family:Inter;font-size:14px;gap:12px}.q-sort__menu{background:#fff;border:1px solid #dbe4ee;border-radius:12px;box-shadow:0 8px 24px #00000014;left:0;padding:8px 12px;position:absolute;top:calc(100% + 8px);width:100%;z-index:1000}.q-sort__option{background:#0000;border:none;border-radius:6px;color:#475569;cursor:pointer;font-family:Inter;font-size:13px;font-weight:500;padding:8px;text-align:left;width:100%}.q-sort__option:hover{background:#f8fafc}.q-sort__option--active{background:#f5f3ffe6;color:#0f172a;font-weight:500}.tc-root{background:#fff;border:1px solid #eeeef2;border-radius:16px;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;overflow:visible;padding:8px 20px 16px;width:100%}.tc-root--fullscreen .tc-table{flex:1;min-height:0}.tc-root--fullscreen{background:#fff;border-radius:1;left:0;top:0;width:100vw!important;z-index:9}.tc-header{flex-wrap:wrap;justify-content:space-between;padding:30px 12px}.tc-header,.tc-header-left{align-items:center;display:flex}.tc-header-left{gap:12px}.tc-title-icon{align-items:center;color:#344054;display:flex;justify-content:center}.tc-title{color:#242533;font-family:Inter;font-size:18px;font-weight:600;line-height:16px}.tc-expand-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:4px;color:#475467;cursor:pointer;display:flex;height:28px;justify-content:center;width:28px}.tc-expand-btn:hover{background:#f8fafc}.tc-table{flex:1;min-height:0;overflow:hidden}.tc-header-right{display:flex;flex-wrap:wrap;gap:12px}.tc-search{border-radius:6px;color:#475569;font-family:Inter;font-size:14px;height:31px;padding-left:30px;width:254px}.tc-pagination-wrapper{margin-top:8px;padding:4px 0}.t-pagination{align-items:center;background:#fff;display:flex;font-family:Inter,sans-serif;justify-content:space-between}.t-pagination-left{color:#344054;font-size:14px;font-weight:500}.t-pagination-right{align-items:center;display:flex;gap:24px}.t-pagination-count{color:#344054;font-size:14px;font-weight:500}.t-pagination-nav{align-items:center;display:flex;gap:12px}.t-pagination-icon{align-items:center;background:#0000;border:none;color:#344054;cursor:pointer;display:flex;height:28px;justify-content:center;width:28px}.t-pagination-icon:hover:not(:disabled){background:#f2f4f7;border-radius:6px}.t-pagination-icon:disabled{color:#d0d5dd;cursor:not-allowed}.t-pagination-select-wrapper{position:relative}.t-pagination-select{appearance:none;-webkit-appearance:none;background:#fff;border:1px solid #d0d5dd;border-radius:8px;color:#344054;cursor:pointer;font-size:14px;font-weight:600;height:40px;padding:0 34px 0 14px;width:71px}.t-pagination-chevron{pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.audit-tableWrap{background:#fff;border:1px solid #e5e7eb;border-radius:12px;height:100%;overflow:hidden}.audit-table .p-datatable-tbody>tr:nth-child(odd){background:#f8fafc}.audit-table .p-datatable-tbody>tr:hover{background:#eff5ff!important}.audit-table .p-datatable-thead>tr>th{background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#6b7280;font-family:Inter;font-size:12px;font-weight:600;height:54px;padding:8px 16px}.audit-table .p-datatable-thead>tr>th .p-column-header-content{align-items:center;justify-content:flex-start}.audit-table.col-header-align-left .p-datatable-thead>tr>th .p-column-header-content{justify-content:flex-start}.audit-table.col-header-align-center .p-datatable-thead>tr>th .p-column-header-content{justify-content:center}.audit-table.col-header-align-right .p-datatable-thead>tr>th .p-column-header-content{justify-content:flex-end}.audit-table.col-cell-align-left .p-datatable-tbody>tr>td{text-align:left}.audit-table.col-cell-align-center .p-datatable-tbody>tr>td{text-align:center}.audit-table.col-cell-align-right .p-datatable-tbody>tr>td{text-align:right}.p-datatable .p-sortable-column .p-sortable-column-icon{height:12px!important;width:12px!important}.audit-table .p-datatable-tbody>tr>td{border-bottom:1px solid #eef2f7;color:#101828;font-family:Inter;font-size:14px;font-weight:400;padding:16px}.audit-modifiedBy{align-items:center;display:flex;justify-content:center}.audit-actionCell{display:flex;flex-direction:column;gap:6px}.audit-chip{border-radius:6px;font-family:Inter;font-size:9px;font-weight:500;gap:5px;padding:4px 7px;width:fit-content}.audit-chip,.audit-chip__icon{align-items:center;display:inline-flex}.audit-chip__icon{justify-content:center}.audit-chip--purple{background:#ede9fe;color:#6d28d9}.audit-chip--orange{background:#ffedd5;color:#c2410c}.audit-actionText{color:#111827;font-size:12px;line-height:1.35}.audit-seeMore{background:#0000;border:0;color:#6d28d9;cursor:pointer;font-size:12px;font-weight:400;margin-left:4px;padding:0}.audit-dateCell{color:#101828;font-family:Inter;text-align:center}.audit-emptyState{align-items:center;color:#64748b;display:flex;flex-direction:column;height:300px;justify-content:center;text-align:center}.audit-emptyTitle{font-size:16px;font-weight:600;margin-top:8px}.audit-emptyDesc{font-size:13px;margin-top:4px}.audit-skeletonRow{display:flex;gap:16px;padding:12px 0}.audit-operation-body{align-items:center;display:flex;justify-content:center}.audit-logIdBody{margin:0 auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-table .p-datatable-tbody>tr.audit-row--clickable{cursor:pointer}.audit-table .p-datatable-tbody>tr.p-datatable-row-expansion>td{background:#fff;padding:0}.audit-rowDetail{background:#fff;border-top:1px solid #eef2f7;padding:16px 20px}.audit-table .p-datatable-tfoot>tr>.audit-paginationEnd{background:#fff;border:0;height:auto;padding:12px 16px;text-align:center}.audit-paginationEndContent{align-items:center;background:#f0fdf4;border-radius:999px;color:#15803d;display:inline-flex;font-family:Inter,sans-serif;font-size:12px;font-weight:500;gap:7px;line-height:1;padding:6px 11px}.audit-paginationEndContent .pi{font-size:13px}
|
|
1
|
+
.App{height:100vh;overflow-y:auto;width:100vw}.chart-scroll{-webkit-overflow-scrolling:touch;background:var(--bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);overflow-x:auto;overflow-y:hidden;scrollbar-color:var(--accent-border) #0000;scrollbar-width:thin;width:100%}.chart-scroll::-webkit-scrollbar{height:10px}.chart-scroll::-webkit-scrollbar-track{background:#0000}.chart-scroll::-webkit-scrollbar-thumb{background:var(--accent-border);border-radius:999px}.chart-scroll::-webkit-scrollbar-thumb:hover{background:var(--accent)}.chart-inner{width:2600px}.ellm-graph__liveLabelContainer{align-items:center;display:flex;gap:16px;height:100%;width:100%}.ellm-graph__liveLabel{align-items:center;color:#dc2626;display:flex;font-size:12px;font-weight:600,;gap:6px;height:100%;padding:0 12px}.pulse{animation:pulse 1.5s infinite}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.ellm-graph__scroll-container{border-radius:var(--ellm-graph-radius);overflow-x:auto;overflow-y:hidden;scrollbar-color:#d7dbe3 #f3f4f6;scrollbar-width:thin;width:100%}.ellm-graph__scroll-container::-webkit-scrollbar{height:8px}.ellm-graph__scroll-container::-webkit-scrollbar-track{background:#f3f4f6}.ellm-graph__scroll-container::-webkit-scrollbar-thumb{background:#d7dbe3;border-radius:4px}.ellm-graph__scroll-container::-webkit-scrollbar-thumb:hover{background:#b1b5be}.audit-table .p-datatable-thead>tr>th .p-column-header-content{justify-content:center}.audit-table .p-datatable-tbody>tr>td{height:92px}.tc-root--fullscreen{border-radius:0;height:100vh!important;position:fixed;z-index:9999}.tg-cell .p-datatable-wrapper{max-height:90vh!important}.q-skeleton{display:flex;flex-direction:column;gap:12px;padding:10px}.q-skeleton-card,.q-skeleton-line,.q-skeleton-pill,.q-skeleton-sparkline-path{background:#eef1f5;overflow:hidden;position:relative}.q-skeleton-card:after,.q-skeleton-line:after,.q-skeleton-pill:after{animation:q-shimmer 1.6s ease-in-out infinite;background:linear-gradient(90deg,#0000,#ffffffa6 50%,#0000);content:"";inset:0;position:absolute;transform:translateX(-100%)}@keyframes q-shimmer{to{transform:translateX(100%)}}.q-skeleton-toolbar{align-items:center;justify-content:space-between}.q-skeleton-presets,.q-skeleton-toolbar{display:flex;gap:8px}.q-skeleton-pill{border-radius:8px;height:32px;width:64px}.q-skeleton-pill--wide{width:72px}.q-skeleton-pill--filter{width:88px}.q-skeleton-pill--selector{border-radius:8px;height:34px;width:110px}.q-skeleton-card{border:1px solid #eef1f5;border-radius:14px;padding:16px 20px}.q-skeleton-graph{padding:20px}.q-skeleton-graph-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:18px}.q-skeleton-line{border-radius:6px}.q-skeleton-line--title{height:16px;margin-bottom:8px;width:160px}.q-skeleton-line--subtitle{height:12px;width:100px}.q-skeleton-graph-body{align-items:flex-end;display:flex;height:180px}.q-skeleton-sparkline{height:100%;width:100%}.q-skeleton-sparkline-path{stroke:#dbe1e8;stroke-width:3;background:none}.q-skeleton-kpis{display:flex;flex-wrap:wrap;gap:10px}.q-skeleton-kpi{flex:1 1 200px;min-width:200px}.q-skeleton-line--label{height:12px;margin-bottom:12px;width:90px}.q-skeleton-line--value{height:24px;margin-bottom:10px;width:70px}.q-skeleton-line--sublabel{height:10px;width:110px}@media (prefers-reduced-motion:reduce){.q-skeleton-card:after,.q-skeleton-line:after,.q-skeleton-pill:after{animation:none}}.q-date-filter{display:flex;flex-direction:column;gap:12px}.q-date-filter-toolbar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:16px;justify-content:space-between;padding:12px 16px}.q-date-filter-toolbar,.q-preset-container{align-items:center;display:flex;flex-wrap:wrap}.q-preset-container{background:#fff;border:1px solid #e2e8f0;border-radius:999px;padding:6px}.q-preset-btn{background:#0000;border:none;border-radius:999px;color:#334155;cursor:pointer;font-size:14px;font-weight:500;outline:none;padding:10px 20px;transition:.2s}.q-preset-btn:hover{background:#f9fafb}.q-preset-btn.active{background:#6d28d9;color:#fff}.q-live-chip{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;display:flex;font-size:14px;font-weight:500;gap:8px;height:33px;padding:0 16px}.q-live-dot{background:#15803d;border-radius:50%;height:8px;width:8px}.q-filter-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#475569;cursor:pointer;display:flex;font-family:Inter;font-weight:500;gap:8px;height:33px;padding:5.25px 8.75px}.q-filter-btn:hover{background:#f9fafb}.q-filter-badge{align-items:center;background:#6d28d9;border-radius:50%;color:#fff;display:flex;font-size:12px;height:20px;justify-content:center;width:20px}.q-custom-container{align-items:flex-end;background:#fff;background:#f8fafc;border:1px solid #e4e7ec;border-radius:16px;display:flex;gap:16px;padding:16px}.q-refresh-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#262d33;cursor:pointer;display:flex;font-family:Inter;font-size:14px;font-weight:500;gap:12px;height:33px;padding:6px 9px}.q-refresh-btn:hover{background:#f9fafb}.q-apply-btn{align-items:center;background:#6d28d9;border:1px solid #e2e8f0;border-radius:6px;color:#fff;display:flex;font-family:Inter;font-size:14px;gap:12px;height:33px;margin-bottom:8px;padding:7px 11px}.q-apply-btn:hover{background:#5b21b6}.q-apply-btn:disabled{opacity:.7}.q-custom-container .p-calendar{width:280px}.q-custom-container .p-inputtext{width:100%}@media (max-width:650px){.q-date-separator{display:none}}@media (max-width:1124px){.q-custom-container{flex-wrap:wrap}.q-preset-container{border-radius:16px}}.q-spin{animation:q-spin 1s linear infinite}@keyframes q-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.date-picker{align-items:flex-start;background:#fff;border-radius:10px;box-shadow:0 8px 24px #0000001f;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:10px 12px;width:260px}.date-picker__header{align-items:center;display:flex;justify-content:space-between;width:100%}.header-selects{align-items:center;display:flex;gap:4px}.header-select{appearance:none;-webkit-appearance:none;background:#f8fafc;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 5px center;background-repeat:no-repeat;border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;font-weight:600;outline:none;padding:3px 20px 3px 7px}.header-select:hover{border-color:#94a3b8}.header-select:focus{border-color:#2563eb}.month-label{color:#0f172a;font-size:13px;font-weight:600}.nav-btn{background:none;border:none;color:#475569;cursor:pointer;font-size:16px;line-height:1;padding:0 4px}.date-picker__top-actions{display:flex;gap:6px;width:100%}.selected-date{border:1px solid #cbd5e1;border-radius:6px;color:#0f172a;flex:1}.selected-date,.today-btn{font-size:12px;padding:5px 8px}.today-btn{background:#fff;border:1px solid #2563eb;border-radius:6px;color:#2563eb;cursor:pointer}.today-btn--disabled{border-color:#94a3b8;color:#94a3b8;cursor:not-allowed;opacity:.4;pointer-events:none}.date-picker__weekdays{color:#64748b;font-size:11px;font-weight:500;text-align:center}.date-picker__days,.date-picker__weekdays{display:grid;grid-template-columns:repeat(7,1fr);width:100%}.date-picker__days{gap:3px}.day{align-items:center;background:#0000;border:none;border-radius:50%;color:#0f172a;cursor:pointer;display:flex;font-size:12px;height:28px;justify-content:center;margin:auto;width:28px}.day--disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.day:hover{background:#f1f5f9}.day--today{background:#e2e8f0;font-weight:600}.day--selected{background:#2563eb;color:#fff}.month-label-click,.year-label-click{border-radius:4px;cursor:pointer;padding:1px 3px;transition:background .1s}.month-label-click:hover,.year-label-click:hover{background:#f1f5f9}.date-picker__month-grid{display:grid;gap:4px;grid-template-columns:repeat(3,1fr);width:100%}.month-cell{background:#0000;border:none;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;padding:6px 0;text-align:center}.month-cell:hover{background:#f1f5f9}.month-cell--selected{background:#2563eb;color:#fff}.date-picker__year-grid{display:grid;gap:4px;grid-template-columns:repeat(4,1fr);width:100%}.year-cell{background:#0000;border:none;border-radius:6px;color:#0f172a;cursor:pointer;font-size:12px;padding:6px 0;text-align:center}.year-cell:hover{background:#f1f5f9}.year-cell--selected{background:#2563eb;color:#fff}.q-date-selector{padding:7px 10px;position:relative}.q-date-selector__label{color:#475569;display:block;font-family:Inter;font-size:14px;font-weight:500;margin-bottom:10px}.q-date-selector__trigger{align-items:center;background:#fff;border:1px solid #eaecf0;border-radius:6px;color:#1e293b;cursor:pointer;display:flex;font-size:14px;font-weight:400;height:33px;justify-content:space-between;padding:0 18px;width:100%}.q-date-selector__trigger:hover{border-color:#b8c0cc}.q-date-selector__panel{left:0;position:absolute;top:calc(100% + 8px);z-index:1000}.q-date-selector__panel--top{bottom:calc(100% + 8px);top:auto}.metric-card{background:#f8fafc33;border:1px solid #e2e8f0;border-radius:24px;box-sizing:border-box;flex:1;min-width:266px;padding:24px;transition:all .2s ease;width:fit-content}.metric-card:hover{box-shadow:0 4px 12px #0000000d}.metric-card__content{align-items:center;display:flex;gap:24px;height:100%;justify-content:space-between}.metric-card__title{color:#00000080;font-size:14px;font-weight:400;margin-bottom:4px}.metric-card__value{display:flex;font-size:25px;font-weight:700;gap:4px}.metric-card__delta,.metric-card__value{align-items:center;line-height:1;margin-top:4px}.metric-card__delta{display:inline-flex;font-size:13px;font-weight:600;gap:3px;white-space:nowrap}.metric-card__delta-caption{font-size:12px;font-weight:500;margin-left:2px;opacity:.65}.metric-card__value-skeleton{animation:metric-card-shimmer 1.4s ease infinite;background:linear-gradient(90deg,#0000000f 25%,#0000001f 37%,#0000000f 63%);background-size:400% 100%;border-radius:6px;display:inline-block;height:25px;width:72px}@keyframes metric-card-shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.metric-card__subtitle{color:#64748b;font-size:12px;font-weight:500;margin-top:10px}.metric-card__icon-container{align-items:center;background:#7c3aed1a;border-radius:6px;color:#6d28d9;display:flex;height:40px;justify-content:center;width:40px}.metric-card__stats{align-items:flex-start;display:flex;gap:20px;margin-bottom:16px;margin-top:12px}.metric-card__stat{display:flex;flex-direction:column;gap:6px;position:relative}.metric-card__stat-label{align-items:center;color:#64748b;display:flex;font-size:12px;font-weight:500;gap:6px}.metric-card__dot{border-radius:50%;height:8px;width:8px}.metric-card__stat-value{color:#262d33;font-family:Inter;font-size:14px;font-weight:700}.metric-card__divider{background:#e2e8f0;height:100%;position:absolute;right:-12px;top:0;width:1px}.metric-card__progress{background:#ede9fe;border-radius:999px;display:flex;height:10px;overflow:hidden;width:100%}.metric-card__progress-segment{height:100%}.metric-card__stats{margin-top:0}@media (max-width:1000px){.metric-card__title{font-size:12px}.metric-card__subtitle{font-size:10px;margin-top:10px}.metric-card__value{font-size:25px}.metric-card__stats{gap:20px;margin-bottom:16px}.metric-card__stat-value{font-size:14px}.metric-card__icon-container{height:40px;margin-top:8px;width:40px}.metric-card__icon-container svg{height:24px!important;width:24px!important}}@media (max-width:768px){.metric-card__content--has-segments{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto}.metric-card__content--has-segments>:first-child{grid-area:1/1}.metric-card__content--has-segments>:nth-child(2){grid-area:2/1/2/3}.metric-card__content--has-segments>:nth-child(3){grid-area:1/2}.metric-card__value{font-size:22px}.metric-card__stats{gap:16px;margin-bottom:12px}.metric-card__stat-value{font-size:14px}.metric-card__icon-container{height:38px;margin-top:4px;width:38px}.metric-card__icon-container svg{height:20px!important;width:20px!important}}.log-filterSidebar{width:400px}.log-filterTitle{color:#334155;font-family:Inter;font-size:18px;font-weight:600}.log-filterBody{display:flex;flex-direction:column;gap:16px}.log-filterBlock .log-filterLabel{color:#334155;font-family:Inter;font-size:14px;font-weight:600}.log-filterHint{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;line-height:130%;margin-top:4px}.log-filterFooter{background:#fff;bottom:0;display:flex;gap:10px;justify-content:flex-end;left:0;padding:12px 16px;position:absolute;right:0}.log-btnReset{background:#fff;border:1px solid #e2e8f0;color:#64748b}.log-btnApply,.log-btnReset{border-radius:6px;font-family:Inter;font-size:14px;font-weight:500;padding:8px 11px}.log-btnApply{background:#5925dc;color:#fff}.log-filter-date .drs__trigger{margin-top:12px;width:100%}.log-filterEmpty{background:#f8fafc;border:1px dashed #e2e8f0;border-radius:6px;color:#94a3b8;font-family:Inter;font-size:13px;font-weight:500;padding:10px 12px;text-align:center}.drs{position:relative}.drs__trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#475569;cursor:pointer;display:inline-flex;font-size:14px;gap:10px;height:40px;padding:0 18px;transition:.2s ease}.drs__trigger:hover{background:#f8fafc;border-color:#dbe3ef}.drs__label{color:#6b7280;font-family:Inter;font-size:14px}.drs__popover{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 16px 40px #00000024;position:absolute;right:0;top:60px;width:340px;z-index:9999}.drs__header{align-items:center;display:flex;justify-content:space-between;padding:16px 16px 10px}.drs__month{color:#1e293b;display:flex;font-family:Inter,sans-serif;font-size:17px;font-weight:700;gap:5px}.drs__month-click,.drs__year-click{border-radius:4px;cursor:pointer;padding:1px 4px;transition:background-color .15s ease}.drs__month-click:hover,.drs__year-click:hover{background:#f1f5f9;color:#635ae3}.drs__nav{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#64748b;cursor:pointer;display:inline-flex;height:34px;justify-content:center;width:34px}.drs__nav:hover{background:#f8fafc;color:#1e293b}.drs__inputs{gap:8px;padding:0 16px 12px}.drs__input-box,.drs__inputs{align-items:center;display:flex}.drs__input-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#1e293b;flex:1;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:36px;padding:0 10px;transition:border-color .15s ease}.drs__input-box.is-active{background:#fff;border-color:#635ae3}.drs__input-placeholder{color:#94a3b8;font-weight:400}.drs__input-sep{color:#94a3b8;font-size:16px}.drs__week{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 4px}.drs__weekday{color:#94a3b8;font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:4px 0;text-align:center}.drs__grid{display:grid;grid-template-columns:repeat(7,1fr);padding:0 8px 12px;row-gap:2px}.drs__day{align-items:center;background:#0000;border:none;color:#0f172a;cursor:pointer;display:flex;font-family:Inter,sans-serif;font-size:14px;font-weight:400;height:36px;justify-content:center;padding:0;position:relative;width:100%}.drs__day.is-disabled{cursor:not-allowed;opacity:.4;pointer-events:none}.drs__day-inner{align-items:center;border-radius:50%;display:flex;height:34px;justify-content:center;position:relative;transition:background-color .12s ease;width:34px;z-index:1}.drs__day:hover:not(.is-start):not(.is-end) .drs__day-inner{background:#f1f5f9}.drs__day.is-out{color:#cbd5e1}.drs__day.is-range-start:before,.drs__day.is-range:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;z-index:0}.drs__day.is-range-start:before{left:50%}.drs__day.is-range-end:before{background:#635ae30f;content:"";inset:1px 0;position:absolute;right:50%;z-index:0}.drs__day.is-row-first:before{border-radius:50% 0 0 50%}.drs__day.is-row-last:before{border-radius:0 50% 50% 0}.drs__day.is-end .drs__day-inner,.drs__day.is-start .drs__day-inner{background:#635ae3;color:#fff;font-weight:600}.drs__day.is-end:hover .drs__day-inner,.drs__day.is-start:hover .drs__day-inner{background:#4f46d8}.drs__month-grid{display:grid;gap:8px;grid-template-columns:repeat(3,1fr);padding:8px 16px 16px}.drs__month-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:500;height:44px}.drs__month-cell:hover{background:#f1f5f9}.drs__month-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__year-grid{display:grid;gap:8px;grid-template-columns:repeat(4,1fr);padding:8px 16px 16px}.drs__year-cell{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1e293b;cursor:pointer;font-family:Inter,sans-serif;font-size:13px;font-weight:500;height:44px;transition:background-color .15s ease}.drs__year-cell:hover{background:#f1f5f9}.drs__year-cell.is-selected{background:#635ae3;border-color:#635ae3;color:#fff}.drs__footer{border-top:1px solid #eef2f7;display:flex;gap:10px;justify-content:flex-end;padding:12px 16px}.drs__btn{border:1px solid #0000;border-radius:10px;cursor:pointer;font-family:Inter,sans-serif;font-size:14px;font-weight:600;height:40px;padding:0 20px}.drs__btn--ghost{background:#fff;border-color:#e5e7eb;color:#475569}.drs__btn--ghost:hover{background:#f8fafc}.drs__btn--primary{background:#635ae3;color:#fff}.drs__btn--primary:hover{background:#4f46d8}.drs__btn--primary:disabled{cursor:not-allowed;opacity:.45}.audit-filterBlock .date-range-wrapper,.audit-filterControl,.cms-root{width:100%}.cms-root{position:relative}.cms-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.cms-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.cms-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.cms-hasValue{color:#334155}.cms-chevron{color:#64748b}.cms-panel{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px #1018281f;left:0;padding:10px;position:absolute;right:0;top:calc(100% + 8px);z-index:9999}.cms-searchRow{align-items:center;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;display:flex;gap:10px;height:40px;margin-bottom:10px;padding:0 12px}.cms-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.cms-divider{background:#e2e8f0;height:1px;margin:10px 0}.cms-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.cms-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;min-height:30px;padding:0 8px}.cms-item:hover{background:#f8fafc}.cms-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.cms-checked{background:#5925dc;border-color:#5925dc}.cms-itemText{color:#334155;font-family:Inter;font-size:14px}.cti-input{border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;font-size:14px;height:40px;outline:none;padding:0 18px;width:100%}.cti-input:disabled{background:#f8fafc;cursor:not-allowed}.cti-wrapper{position:relative}.cti-search-icon{color:#666f8d;left:12px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.cti-input--with-icon{padding-left:40px}.css-root{position:relative;width:100%}.css-trigger{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;height:40px;justify-content:space-between;padding:0 18px;width:100%}.css-trigger:disabled{cursor:not-allowed;opacity:.6}.css-trigger:hover{background:#f8fafc;border-color:#dbe3ef}.css-triggerText{color:#6b7280;font-family:Inter;font-size:14px}.css-hasValue{color:#0f172a}.css-chevron{color:#334155}.css-panel{background:#fff;box-shadow:0 8px 24px #1018281f;left:0;overflow:hidden;padding:10px;position:absolute;right:0;top:calc(100% + 4px);z-index:1000}.css-panel,.css-searchRow{border:1px solid #e2e8f0;border-radius:8px}.css-searchRow{align-items:center;color:#64748b;display:flex;gap:10px;height:40px;margin-bottom:10px;padding:0 12px}.css-searchInput{border:none;color:#334155;font-family:Inter;font-size:14px;outline:none;width:100%}.css-list{display:flex;flex-direction:column;gap:2px;max-height:220px;overflow:auto}.css-item{align-items:center;border-radius:8px;cursor:pointer;display:flex;gap:10px;justify-content:space-between;min-height:30px;padding:0 8px}.css-item:hover{background:#f8fafc}.css-selected{background:#f4f0fe}.css-selected:hover{background:#ece5fd}.css-selected .css-itemText{color:#5925dc;font-weight:500}.css-itemCheck{color:#5925dc;font-size:14px;font-weight:700}.css-itemText{font-size:14px}.css-empty{color:#94a3b8;padding:16px;text-align:center}.css-checkbox{align-items:center;border:1px solid #cbd5e1;border-radius:4px;color:#fff;display:inline-flex;font-size:13px;height:16px;justify-content:center;width:16px}.css-checked{background:#5925dc;border-color:#5925dc}.ellm-chart{display:block;font-size:12px;width:100%}.ellm-chart .recharts-responsive-container{height:100%!important;width:100%!important}.ellm-chart .recharts-cartesian-axis-tick text{fill:#6b7280}.ellm-chart .recharts-cartesian-grid line[stroke="#ccc"]{stroke:#eef0f4}.ellm-chart .recharts-curve.recharts-tooltip-cursor{stroke:#d7dbe3}.ellm-chart .recharts-dot[stroke="#fff"]{stroke:#0000}.ellm-chart .recharts-layer{outline:none}.ellm-chart .recharts-sector[stroke="#fff"]{stroke:#0000}.ellm-chart .recharts-sector,.ellm-chart .recharts-surface{outline:none}.ellm-chart .recharts-reference-line[stroke="#ccc"]{stroke:#e5e7eb}.ellm-chart__tooltip{background:#fff;border:1px solid #0000000f;border-radius:8px;box-shadow:0 6px 20px #0000001f;color:#111827;display:grid;font-size:12px;gap:6px;min-width:8rem;padding:8px 10px}.ellm-chart__tooltip-label{color:#111827;font-weight:600}.ellm-chart__tooltip-items{display:grid;gap:6px}.ellm-chart__tooltip-item{align-items:center;display:flex;gap:8px;width:100%}.ellm-chart__tooltip-row{align-items:center;display:flex;flex:1;gap:12px;justify-content:space-between;line-height:1}.ellm-chart__tooltip-row--nested{align-items:flex-end}.ellm-chart__tooltip-grid{display:grid;gap:2px}.ellm-chart__tooltip-name{color:#6b7280}.ellm-chart__tooltip-value{color:#111827;font-variant-numeric:tabular-nums;font-weight:600}.ellm-chart__indicator{background:var(--indicator-color);border-color:var(--indicator-color);flex-shrink:0}.ellm-chart__indicator--dot{border-radius:50%;height:10px;width:10px}.ellm-chart__indicator--line{border-radius:2px;height:14px;width:4px}.ellm-chart__indicator--dashed{background:#0000;border:1.5px dashed var(--indicator-color);height:0;height:14px;margin:0 1px;width:0}.ellm-chart__legend{align-items:center;display:flex;flex-wrap:wrap;gap:16px;padding-top:10px}.ellm-chart__legend--top{padding-bottom:10px;padding-top:0}.ellm-chart__legend--start{justify-content:flex-start}.ellm-chart__legend--center{justify-content:center}.ellm-chart__legend--end{justify-content:flex-end}.ellm-chart__legend-item{align-items:center;background:none;border:none;color:#111827;display:inline-flex;font-family:inherit;font-size:12.5px;gap:7px;padding:2px 0;transition:opacity .15s ease}.ellm-chart__legend-item--off{opacity:.4}.ellm-chart__legend-marker{display:block;flex-shrink:0;overflow:visible}.ellm-graph{--ellm-graph-fg:#111827;--ellm-graph-muted:#6b7280;--ellm-graph-border:#e5e7eb;--ellm-graph-radius:12px;background:#fff;border:1px solid var(--ellm-graph-border);border-radius:var(--ellm-graph-radius);color:var(--ellm-graph-fg);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;padding:20px;width:100%}.ellm-graph,.ellm-graph *{box-sizing:border-box}.ellm-graph__header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:16px;margin-top:10px}.ellm-graph__heading{align-items:center;display:flex;gap:10px;min-width:0}.ellm-graph__icon{align-items:center;background:#f3f4f6;border-radius:9px;color:#4f46e5;display:inline-flex;flex-shrink:0;height:34px;justify-content:center;width:34px}.ellm-graph__title{font-size:15px;font-weight:600;line-height:1.3}.ellm-graph__description{color:var(--ellm-graph-muted);font-size:12.5px;line-height:1.4;margin-top:2px}.ellm-graph__controls{align-items:center;display:flex;flex-shrink:0;flex-wrap:wrap;gap:10px}.ellm-graph__panes{display:flex;flex-direction:column}.ellm-graph__pane{background:#fff;border:1px solid var(--ellm-graph-border);border-radius:10px;min-width:0;padding:12px 12px 4px}.ellm-graph__pane-title{color:var(--ellm-graph-muted);font-size:12.5px;font-weight:600;margin-bottom:4px}.ellm-graph__legend{align-items:center;display:flex;flex-wrap:wrap;gap:20px;justify-content:center;padding-top:16px}.ellm-graph__legend-item{align-items:center;background:none;border:none;color:var(--ellm-graph-fg);cursor:pointer;display:inline-flex;font-family:inherit;font-size:12.5px;gap:7px;padding:2px 0;transition:opacity .15s ease}.ellm-graph__legend-item--off{opacity:.4}.ellm-graph__legend-marker{display:block;flex-shrink:0;overflow:visible}.ellm-graph__plotby{flex-shrink:0;position:relative}.ellm-graph__plotby-btn{align-items:center;background:#fff;border:1px solid var(--ellm-graph-border);border-radius:10px;color:#4b5563;cursor:pointer;display:inline-flex;font-family:inherit;font-size:14px;gap:10px;height:40px;padding:0 14px;transition:.18s ease}.ellm-graph__plotby-btn:hover{background:#f8fafc;border-color:#dbe3ef}.ellm-graph__plotby-btn--open{border-color:#6d28d9;color:#6d28d9}.ellm-graph__plotby-btn--open svg{color:#6d28d9}.ellm-graph__plotby-value{color:#111827;font-weight:600}.ellm-graph__plotby-btn--open .ellm-graph__plotby-value{color:#6d28d9}.ellm-graph__plotby-chevron{margin-left:2px;transition:transform .18s ease}.ellm-graph__plotby-btn--open .ellm-graph__plotby-chevron{transform:rotate(180deg)}.ellm-graph__plotby-menu{background:#fff;border:1px solid var(--ellm-graph-border);border-radius:12px;box-shadow:0 12px 28px #0000001f;min-width:160px;padding:6px;position:absolute;right:0;top:48px;z-index:50}.ellm-graph__plotby-option{background:#fff;border:none;border-radius:9px;color:#374151;cursor:pointer;display:block;font-family:inherit;font-size:14px;margin:2px 0;padding:9px 14px;text-align:left;transition:background .15s ease;width:100%}.ellm-graph__plotby-option:hover{background:#f3f4f6}.ellm-graph__plotby-option--active{background:#f5f3ff;color:#6d28d9;font-weight:600}.ellm-graph__empty,.ellm-graph__loading{align-items:center;color:var(--ellm-graph-muted);display:flex;font-size:13px;justify-content:center;min-height:120px}.ellm-graph__empty-default{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center;min-height:180px;padding:24px 16px;text-align:center}.ellm-graph__empty-icon{align-items:center;background:#f3f4f6;border-radius:12px;color:#9ca3af;display:inline-flex;height:44px;justify-content:center;margin-bottom:4px;width:44px}.ellm-graph__empty-title{color:var(--ellm-graph-fg);font-size:14px;font-weight:600}.ellm-graph__empty-desc{color:var(--ellm-graph-muted);font-size:12.5px;line-height:1.5;max-width:340px}.ellm-graph__skeleton{display:flex;gap:10px;min-height:180px;padding:8px 0 4px;width:100%}.ellm-graph__shimmer{background:#eef1f5;overflow:hidden;position:relative}.ellm-graph__shimmer:after{animation:ellm-graph-shimmer 1.6s ease-in-out infinite;background:linear-gradient(90deg,#0000,#ffffffa6 50%,#0000);content:"";inset:0;position:absolute;transform:translateX(-100%)}@keyframes ellm-graph-shimmer{to{transform:translateX(100%)}}.ellm-graph__skeleton-yaxis{display:flex;flex-direction:column;flex-shrink:0;justify-content:space-between;padding:4px 0 22px}.ellm-graph__skeleton-plot{display:flex;flex:1;flex-direction:column;min-width:0;position:relative}.ellm-graph__skeleton-grid{display:flex;flex-direction:column;inset:0 0 22px 0;justify-content:space-between;position:absolute}.ellm-graph__skeleton-gridline{background:#eef1f5;height:1px;width:100%}.ellm-graph__skeleton-svg{flex:1;min-height:0;position:relative;width:100%}.ellm-graph__skeleton-line{stroke:#dbe1e8;stroke-width:2.5;vector-effect:non-scaling-stroke}.ellm-graph__skeleton-area-top{stop-color:#dbe1e8;stop-opacity:.45}.ellm-graph__skeleton-area-bottom{stop-color:#dbe1e8;stop-opacity:0}.ellm-graph__skeleton-xaxis{display:flex;height:12px;justify-content:space-between;margin-top:10px}.ellm-graph__skeleton-tick{border-radius:4px}.ellm-graph__skeleton-yaxis .ellm-graph__skeleton-tick{height:10px;width:28px}.ellm-graph__skeleton-xaxis .ellm-graph__skeleton-tick{height:10px;width:40px}@media (prefers-reduced-motion:reduce){.ellm-graph__shimmer:after{animation:none}}.analytics-chart{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}.analytics-chart__title{color:#111827;font-size:20px;font-weight:600;margin:0 0 24px}.th-table-toolbar{align-items:center;border-top-left-radius:8px;border-top-right-radius:8px;box-sizing:border-box;display:flex;gap:8px;height:60px;justify-content:center;width:100%}.th-table-toolbar__search{align-items:center;display:flex;flex:1}.th-table-toolbar__search-wrapper{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:6px;display:flex;height:35px;overflow:hidden;width:100%}.th-table-toolbar__search-input{background:#0000;border:none;color:#767676;flex:1;font-size:14px;font-weight:400;height:100%;outline:none;padding:0 12px}.th-table-toolbar__search-input::placeholder{color:#a0a8b8}.th-table-toolbar__search-input:focus{box-shadow:none;outline:none}.th-table-toolbar__search-input--disabled{background:#f3f4f6;cursor:not-allowed}.th-table-toolbar__search-btn-left{border:none;border-right:1px solid #e2e8f0}.th-table-toolbar__search-btn-left,.th-table-toolbar__search-btn-right{align-items:center;background:#fff;color:#6b7280;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;height:100%;padding:0 12px;transition:background-color .2s ease,color .2s ease;white-space:nowrap}.th-table-toolbar__search-btn-right{border:none;border-left:1px solid #e2e8f0}.th-table-toolbar__search-btn:hover{background:#f9fafb}.th-table-toolbar__search-btn--disabled{color:#9ca3af;cursor:not-allowed;pointer-events:none}.th-table-toolbar__actions{align-items:center;display:flex;position:relative}.th-table-toolbar__btn{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:6px;color:#374151;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;height:35px;justify-content:center;margin-left:8px;padding:0 12px;transition:all .2s ease;white-space:nowrap}.th-table-toolbar__btn:first-child{margin-left:0}.th-table-toolbar__btn--disabled{cursor:not-allowed;opacity:.5}.th-table-toolbar__btn--default{background:#fff;border-color:#d0d5dd;color:#374151}.th-table-toolbar__btn--filter-open{background:#f5f3ff;border-color:#a78bfa;color:#6d28d9}.th-table-toolbar__btn--filter-active,.th-table-toolbar__btn--sort-active{border-color:#4f46e5;color:#4f46e5}.th-table-toolbar__btn--refresh:active{border-color:#818cf8;color:#4f46e5}.th-table-toolbar__icon{flex-shrink:0;height:16px;width:16px}.th-table-toolbar__icon--primary{stroke:#4f46e5}.th-table-toolbar__badge{align-items:center;background:#eef2ff;border-radius:999px;display:inline-flex;gap:3.5px;padding:3px 7px}.th-table-toolbar__badge-text{color:#4f46e5;font-size:11px;font-weight:500}.th-table-toolbar__dropdown-wrapper{align-items:center;display:flex;position:relative}.th-table-toolbar__dropdown{background:#fff;border:1px solid #eaecf0;border-radius:8px;box-shadow:0 4px 12px #1018281f;position:absolute;right:0;top:22px;width:250px;z-index:50}.th-table-toolbar__dropdown-item{align-items:center;color:#111827;cursor:pointer;display:flex;font-size:14px;height:38px;justify-content:space-between;padding:0 24px}.th-table-toolbar__dropdown-item:hover{background:#f3f4f6}.th-table-toolbar__dropdown-item--selected{background:#eef2ff;color:#4f46e5;font-weight:600}.th-table-toolbar__dropdown-footer{border-top:1px solid #eaecf0;padding:12px 16px;text-align:right}.th-table-toolbar__clear-btn{background:#0000;border:none;color:#475467;cursor:pointer;font-size:14px}.tg-root{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}.tg-toolbar-row{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.tg-toolbar-left{min-width:0}.tg-toolbar,.tg-toolbar-left{align-items:center;display:flex;gap:8px}.tg-toolbar{margin-left:auto}.tg-toolbar-label{color:#64748b;font-family:Inter;font-size:12px;font-weight:500;white-space:nowrap}.tg-toggle{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;gap:2px;padding:2px}.tg-toggle,.tg-toggle-btn{align-items:center;display:inline-flex}.tg-toggle-btn{background:#0000;border:1px solid #0000;border-radius:6px;color:#64748b;cursor:pointer;height:28px;justify-content:center;padding:0;transition:background .15s ease,color .15s ease;width:28px}.tg-toggle-btn:hover{background:#eef2f7;color:#334155}.tg-toggle-btn--active{background:#fff;border-color:#e2e8f0;box-shadow:0 1px 2px #1018280f;color:#7c3aed}.tg-toggle-btn--cramped{opacity:.45}.tg-grid{align-items:stretch;display:grid;min-width:0;width:100%}.tg-grid--auto-height{align-items:start}.tg-cell{box-sizing:border-box;display:flex;flex-direction:column}.tg-cell,.tg-cell>*{max-width:100%;min-width:0}.tg-cell>*{flex:1 1 auto;min-height:0}.tg-grid--auto-height .tg-cell>*{flex:0 0 auto}.tg-cell .p-datatable-wrapper{border-radius:12px;height:100%;overflow-x:auto}.q-sort{position:relative}.q-sort__trigger{background:#fff;border:1px solid #dbe4ee;border-radius:6px;color:#475467;cursor:pointer;height:31px;justify-content:space-between;padding:7px 0 7px 8px}.q-sort__left,.q-sort__trigger{align-items:center;display:flex}.q-sort__left{color:#475569;font-family:Inter;font-size:14px;gap:12px}.q-sort__menu{background:#fff;border:1px solid #dbe4ee;border-radius:12px;box-shadow:0 8px 24px #00000014;left:0;padding:8px 12px;position:absolute;top:calc(100% + 8px);width:100%;z-index:1000}.q-sort__option{background:#0000;border:none;border-radius:6px;color:#475569;cursor:pointer;font-family:Inter;font-size:13px;font-weight:500;padding:8px;text-align:left;width:100%}.q-sort__option:hover{background:#f8fafc}.q-sort__option--active{background:#f5f3ffe6;color:#0f172a;font-weight:500}.tc-root{background:#fff;border:1px solid #eeeef2;border-radius:16px;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;overflow:visible;padding:8px 20px 16px;width:100%}.tc-root--fullscreen .tc-table{flex:1;min-height:0}.tc-root--fullscreen{background:#fff;border-radius:1;left:0;top:0;width:100vw!important;z-index:9}.tc-header{flex-wrap:wrap;justify-content:space-between;padding:30px 12px}.tc-header,.tc-header-left{align-items:center;display:flex}.tc-header-left{gap:12px}.tc-title-icon{align-items:center;color:#344054;display:flex;justify-content:center}.tc-title{color:#242533;font-family:Inter;font-size:18px;font-weight:600;line-height:16px}.tc-expand-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:4px;color:#475467;cursor:pointer;display:flex;height:28px;justify-content:center;width:28px}.tc-expand-btn:hover{background:#f8fafc}.tc-table{flex:1;min-height:0;overflow:hidden}.tc-header-right{display:flex;flex-wrap:wrap;gap:12px}.tc-search{border-radius:6px;color:#475569;font-family:Inter;font-size:14px;height:31px;padding-left:30px;width:254px}.tc-pagination-wrapper{margin-top:8px;padding:4px 0}.t-pagination{align-items:center;background:#fff;display:flex;font-family:Inter,sans-serif;justify-content:space-between}.t-pagination-left{color:#344054;font-size:14px;font-weight:500}.t-pagination-right{align-items:center;display:flex;gap:24px}.t-pagination-count{color:#344054;font-size:14px;font-weight:500}.t-pagination-nav{align-items:center;display:flex;gap:12px}.t-pagination-icon{align-items:center;background:#0000;border:none;color:#344054;cursor:pointer;display:flex;height:28px;justify-content:center;width:28px}.t-pagination-icon:hover:not(:disabled){background:#f2f4f7;border-radius:6px}.t-pagination-icon:disabled{color:#d0d5dd;cursor:not-allowed}.t-pagination-select-wrapper{position:relative}.t-pagination-select{appearance:none;-webkit-appearance:none;background:#fff;border:1px solid #d0d5dd;border-radius:8px;color:#344054;cursor:pointer;font-size:14px;font-weight:600;height:40px;padding:0 34px 0 14px;width:71px}.t-pagination-chevron{pointer-events:none;position:absolute;right:12px;top:50%;transform:translateY(-50%)}.audit-tableWrap{background:#fff;border:1px solid #e5e7eb;border-radius:12px;height:100%;overflow:hidden}.audit-table .p-datatable-tbody>tr:nth-child(odd){background:#f8fafc}.audit-table .p-datatable-tbody>tr:hover{background:#eff5ff!important}.audit-table .p-datatable-thead>tr>th{background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#6b7280;font-family:Inter;font-size:12px;font-weight:600;height:54px;padding:8px 16px}.audit-table .p-datatable-thead>tr>th .p-column-header-content{align-items:center;justify-content:flex-start}.audit-table.col-header-align-left .p-datatable-thead>tr>th .p-column-header-content{justify-content:flex-start}.audit-table.col-header-align-center .p-datatable-thead>tr>th .p-column-header-content{justify-content:center}.audit-table.col-header-align-right .p-datatable-thead>tr>th .p-column-header-content{justify-content:flex-end}.audit-table.col-cell-align-left .p-datatable-tbody>tr>td{text-align:left}.audit-table.col-cell-align-center .p-datatable-tbody>tr>td{text-align:center}.audit-table.col-cell-align-right .p-datatable-tbody>tr>td{text-align:right}.p-datatable .p-sortable-column .p-sortable-column-icon{height:12px!important;width:12px!important}.audit-table .p-datatable-tbody>tr>td{border-bottom:1px solid #eef2f7;color:#101828;font-family:Inter;font-size:14px;font-weight:400;padding:16px}.audit-modifiedBy{align-items:center;display:flex;justify-content:center}.audit-actionCell{display:flex;flex-direction:column;gap:6px}.audit-chip{border-radius:6px;font-family:Inter;font-size:9px;font-weight:500;gap:5px;padding:4px 7px;width:fit-content}.audit-chip,.audit-chip__icon{align-items:center;display:inline-flex}.audit-chip__icon{justify-content:center}.audit-chip--purple{background:#ede9fe;color:#6d28d9}.audit-chip--orange{background:#ffedd5;color:#c2410c}.audit-actionText{color:#111827;font-size:12px;line-height:1.35}.audit-seeMore{background:#0000;border:0;color:#6d28d9;cursor:pointer;font-size:12px;font-weight:400;margin-left:4px;padding:0}.audit-dateCell{color:#101828;font-family:Inter;text-align:center}.audit-emptyState{align-items:center;color:#64748b;display:flex;flex-direction:column;height:300px;justify-content:center;text-align:center}.audit-emptyTitle{font-size:16px;font-weight:600;margin-top:8px}.audit-emptyDesc{font-size:13px;margin-top:4px}.audit-skeletonRow{display:flex;gap:16px;padding:12px 0}.audit-operation-body{align-items:center;display:flex;justify-content:center}.audit-logIdBody{margin:0 auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-table .p-datatable-tbody>tr.audit-row--clickable{cursor:pointer}.audit-table .p-datatable-tbody>tr.p-datatable-row-expansion>td{background:#fff;padding:0}.audit-rowDetail{background:#fff;border-top:1px solid #eef2f7;padding:16px 20px}.audit-table .p-datatable-tfoot>tr>.audit-paginationEnd{background:#fff;border:0;height:auto;padding:12px 16px;text-align:center}.audit-paginationEndContent{align-items:center;background:#f0fdf4;border-radius:999px;color:#15803d;display:inline-flex;font-family:Inter,sans-serif;font-size:12px;font-weight:500;gap:7px;line-height:1;padding:6px 11px}.audit-paginationEndContent .pi{font-size:13px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutiveDashboardWrapper.d.ts","sourceRoot":"","sources":["../../../src/ExecutiveDashboard/ExecutiveDashboardWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EACL,uBAAuB,EAOxB,MAAM,SAAS,CAAC;AAiBjB,wBAAgB,yBAAyB,CAAC,EACxC,OAA0B,EAC1B,QAAQ,EACR,eAAe,EACf,MAAM,EACN,WAAW,EACX,YAAY,EACZ,cAAc,EACd,aAAa,EAAE,iBAAiB,EAChC,uBAAuB,EAAE,wCAAwC,EACjE,kBAAkB,EAAE,sBAAsB,EAC1C,cAAc,EAAE,kBAAkB,EAClC,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,iBAAiB,GAClB,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"ExecutiveDashboardWrapper.d.ts","sourceRoot":"","sources":["../../../src/ExecutiveDashboard/ExecutiveDashboardWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAGjF,OAAO,EACL,uBAAuB,EAOxB,MAAM,SAAS,CAAC;AAiBjB,wBAAgB,yBAAyB,CAAC,EACxC,OAA0B,EAC1B,QAAQ,EACR,eAAe,EACf,MAAM,EACN,WAAW,EACX,YAAY,EACZ,cAAc,EACd,aAAa,EAAE,iBAAiB,EAChC,uBAAuB,EAAE,wCAAwC,EACjE,kBAAkB,EAAE,sBAAsB,EAC1C,cAAc,EAAE,kBAAkB,EAClC,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,iBAAiB,GAClB,EAAE,uBAAuB,qBA0ezB;AAED,eAAe,yBAAyB,CAAC"}
|