PageSourceSearch

https://portal.navfundservices.com/navportalcore/static/js/8488.5d844de8.chunk.js

js navfundservices.com collected 2026-10-02 15:29:21 UTC 25,716 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkNavPortal=self.webpackChunkNavPortal||[]).push([[8488],{2233:(e,t,a)=>{a.d(t,{A:()=>c});var s=a(89379),r=a(9950),i=a(98341),l=a(41397),n=a(34046),o=a(44414);class d extends r.Component{constructor(){super(...arguments),this.getClientDisclaimer=()=>{const e=(0,l.find)(this.props.userAttributes,(e=>e.attributeID==n.w_I.ClientDisclaimer));return(0,l.get)(e,"value","")}}render(){const{isReportDisclaimerDisabled:e,isAnalyticsReport:t,isForDashboardSection:a}=(0,s.A)({},this.props),i=this.getClientDisclaimer();return!e&&i?(0,o.jsx)("div",{className:"common-report-disclaimer text-justify p-1",children:(0,o.jsxs)("small",{children:[(0,o.jsx)("strong",{children:a?"":"Disclaimer: "}),a?"":(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:i}}),t&&(0,o.jsx)(r.Fragment,{children:"All the calculations in Analytics section are based on monthly or higher (in case monthly ROR data is not available) granularity."}),a?" Investments with zero balance are not displayed on the Dashboard.":""]})}):""}}const c=(0,i.Ng)((e=>({isReportDisclaimerDisabled:(0,l.get)(e.loginDetails,"isReportDisclaimerDisabled",!1),clientDisclaimer:(0,l.get)(e.loginDetails,"clientDisclaimer",""),userAttributes:(0,l.get)(e.loginDetails,"userAttributes",[])})),null)(d)},19680:(e,t,a)=>{a.d(t,{A:()=>c});var s=a(9950),r=a(64594),i=a(18849),l=a(20030),n=a(41397),o=a(44414);const d=(e,t,a)=>{e.preventDefault(),a.selectedEventToggleType&&a.selectedEventToggleType(t)},c=e=>{let t=e.selectedValue||(e.isMultiSelectionAllowed?[]:0);const a=a=>{var s;let r=!1;return r=e.isMultiSelectionAllowed?(null===(s=t.filter((e=>e===a)))||void 0===s?void 0:s.length)>0:t===a,r};let c=(0,n.isEmpty)(e.cssClass)?"justify-content-end mr-md-2  mb-1":e.cssClass;return(0,o.jsx)(s.Fragment,{children:(0,o.jsx)(r.A,{className:"".concat(c," switcher"),children:e.isIconButtons?e.toggleValues.map(((t,s)=>(0,o.jsxs)(i.A,{disabled:e.isDisabled,color:a(s)?"primary":"",onClick:t=>d(t,s,e),active:a(s),className:"d-flex align-items-center justify-content-center btn-sm ".concat(a(s)?"":"btn-outline-primary"," ").concat(e.btnClass?e.btnClass:""),children:[t.text&&(0,o.jsx)("span",{children:t.text}),t.isFontAwesomeIcon?(0,o.jsx)(l.g,{icon:t.icon,className:"".concat(t.iconClass)}):t.icon]},s))):e.toggleValues&&e.toggleValues.map(((a,s)=>(0,o.jsxs)(i.A,{disabled:e.isDisabled,color:t===s?"primary":"",onClick:t=>d(t,s,e),active:t===s,className:"d-flex align-items-center justify-content-center  btn-sm ".concat(t===s?"":"btn-outline-primary"," ").concat(e.btnClass?e.btnClass:""),children:[a," ",e.buttonIcon&&(0,o.jsx)(l.g,{icon:e.buttonIcon,size:"lg",className:"word-icon fa-sm text-center ml-1"})]},s)))})})}},33237:(e,t,a)=>{a.r(t),a.d(t,{default:()=>q});var s=a(9950),r=a(98341),i=a(12516),l=a(59642),n=a(19247),o=a(70349),d=a(23931),c=a(76152),h=a(35933),p=a(79586),u=a(62002),g=a(65641),D=a(28211),m=a(34046),S=a(90723),A=a(89379),F=a(41397),v=a.n(F),f=a(87946),x=a.n(f),C=a(81832),y=a(60819),L=a(53222),T=a(19950),V=a(92872),b=a(23021);const _="/api/clients/marginreports/dailymarginvstradlevel/",R=()=>function(e,t){e({type:y.OJ.GET_CLIENT_MARGIN_REPORT_SEARCH_FILTER_DATA}),C.A.get(_+"GetSearchFilterData").then((async a=>{const{data:s}=a,r=(0,T.R0)(m.VXW.DAILY_MARGIN_VS_TRAD_LEVEL,s),i=(0,L.Im)(m.VXW.DAILY_MARGIN_VS_TRAD_LEVEL,t(),r);return e(function(e){return{type:y.OJ.SET_CLIENT_MARGIN_REPORT_SEARCH_FILTER_DATA_SUCCESS,updatedState:e}}(i)),e((0,g.oO)(r.currentSelectedFilterValues)),(0,T.Pc)(r.currentSelectedFilterValues)})).then((t=>{e(N(t))})).catch((function(t){let a={message:(0,p.gl)(t),filterObject:m.to[m.VXW.DAILY_MARGIN_VS_TRAD_LEVEL]};var s;e((s=a,{type:y.OJ.SET_CLIENT_MARGIN_REPORT_SEARCH_FILTER_DATA_FAILURE,updatedState:s}))}))},M=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t,a){t({type:y.OJ.GET_CLIENT_MARGIN_REPORT_SEARCH_FILTER_DATA});const s=m.to[m.VXW.DAILY_MARGIN_VS_TRAD_LEVEL],r=(0,A.A)({},a().clientGlobalSearchFilterData[s]);let i=x()(r,"currentSelectedFilterValues.isCategoryDropdown",!1),l=i?[x()(r.currentSelectedFilterValues,"selectedFunds[0]",{})]:x()(r.currentSelectedFilterValues,"selectedAdvisor",[]);const n=(0,T.p6)(l,i),{fromDate:o,toDate:d,minDate:c,maxDate:h}=(0,b.SR)(n.minDate,n.maxDate),u=(0,A.A)((0,A.A)({},r),{},{searchFilterData:(0,A.A)((0,A.A)({},r.searchFilterData),{},{maxDate:h,minDate:c}),currentSelectedFilterValues:(0,A.A)((0,A.A)({},r.currentSelectedFilterValues),{},{fromDate:{date:o,month:(0,p.IL)(o,"M"),year:(0,p.IL)(o,"yyyy")},toDate:{date:d,month:(0,p.IL)(d,"M"),year:(0,p.IL)(d,"yyyy")}})});if(t(function(e){return{type:y.OJ.SET_CLIENT_MARGIN_REPORT_SEARCH_FILTER_DATA_SUCCESS,updatedState:e}}((0,L.Im)(m.VXW.DAILY_MARGIN_VS_TRAD_LEVEL,a(),u))),t((0,g.oO)(r.currentSelectedFilterValues)),e){const e=(0,T.Pc)(u.currentSelectedFilterValues);t(N(e))}}},N=e=>function(t,a){t({type:y.QF.GET_CLIENT_DAILY_MARGIN_VS_TRAD_LEVEL}),C.A.post(_+"GetDailyMarginVsTradLevelReportData",e).then((async s=>{const{dailyMarginVsTradLevelReport:r}=a().clientReports;let{data:i,config:l}=s.data;const n=l.components[0],o=I(i,l);let d=(0,V.lB)(e,!0);(0,F.set)(n,"subTitle",d);const c=(0,A.A)((0,A.A)({},r.dataSet),{},{daily_margin_vs_trad_level_data:o}),h=(0,A.A)((0,A.A)({},l),{},{dataSet:c,success:!0,message:""});var p;t((p=h,{type:y.QF.SET_CLIENT_DAILY_MARGIN_VS_TRAD_LEVEL_SUCCESS,reportData:p}))})).catch((function(e){let a={message:(0,p.gl)(e),success:!1};var s;t((s=a,{type:y.QF.SET_CLIENT_DAILY_MARGIN_VS_TRAD_LEVEL_FAILURE,reportData:s}))}))},I=(e,t)=>{t.components[0];let a=[];a.push(e[0]),a.concat(e);let s=e.map((e=>{let t=(0,A.A)({},e);return t.activityDate=(0,p._5)(e.activityDate),t}));return s=(0,V.wH)(s,"activityDate"),s};var j=a(94883),E=a(18085),w=a(95717),G=a(44414);class P extends s.Component{constructor(e){super(e),this.handleAdvisorChange=e=>{this.props.setSelectedAdvisor(this.props.reportID,[e]),this.clearDateFilterValidationMessage(),this.props.getSearchFilterDataBySelectedAdvisor()},this.handleFromDateChange=e=>{let t=this;const{minDate:a,maxDate:s}=this.props.filterData;if((0,p.EE)(e)&&(0,p.Nx)(e._d,a,s)){const a={date:(0,p.IL)(e._d)},s={reportID:this.props.reportID,from:a};t.props.setSelectedFromDate(s),t.state.validateFromDate.length>0&&t.setState({validateFromDate:""})}else t.resetFromDateAndShowValidationMessage()},this.handleToDateChange=e=>{let t=this;const{minDate:a,maxDate:s}=this.props.filterData;if((0,p.EE)(e)&&(0,p.Nx)(e._d,a,s)){const a={date:(0,p.IL)(e._d)},s={reportID:this.props.reportID,to:a};t.props.setSelectedToDate(s),t.state.validateToDate.length>0&&t.setState({validateToDate:""})}else t.resetToDateAndShowValidationMessage()},this.resetToDateAndShowValidationMessage=()=>{const e={reportID:this.props.reportID,to:{date:""}};this.props.setSelectedToDate(e),this.setState({validateToDate:"border border-danger"})},this.resetFromDateAndShowValidationMessage=()=>{const e={reportID:this.props.reportID,from:""};this.props.setSelectedFromDate(e),this.setState({validateFromDate:"border border-danger"})},this.restrictDateRange=e=>{if(this.props.filterData){const{minDate:t,maxDate:a}=this.props.filterData;if(t&&a)return(0,p.WR)(e,t,a)}},this.handleSelectedDataChange=e=>{const t={reportID:this.reportName,selectedData:e};this.props.setSelectedCategoryOfFundForClientFundReport(t),this.props.getSearchFilterDataBySelectedAdvisor(!1)},this.onApplyFilter=()=>{this.props.getSearchFilterDataBySelectedAdvisor(),this.clearDateFilterValidationMessage()},this.handlePageChange=e=>{this.setState({pageNumber:e})},this.handleSearch=e=>{const{searchString:t}=e;this.props.setFundDropdownSearchValue(this.reportName,t)},this.handleFundChange=e=>{this.props.setSelectedFunds(this.reportName,[e],this.props.selectedReportType),this.props.getSearchFilterDataBySelectedAdvisor(),this.resetValidationState()},this.resetValidationState=()=>{this.setState({validateFund:"",searchKeyFundName:"",validateFromDate:"",validatetoDate:""})},this.handleViewReportClick=e=>{e.preventDefault(),this.callViewReport()},this.callViewReport=()=>{const{selectedAdvisor:e,toDate:t,fromDate:a,isCategoryDropdown:s,fundList:r,selectedFunds:i}=this.props,{minDate:l,maxDate:n}=this.props.filterData,o={selectedAdvisor:e,toDate:t,fromDate:a,maxDate:n,minDate:l,isCategoryDropdown:s,fundList:r,selectedFunds:i};
1this.validateFilter(o)&&(this.props.setGlobalFilterValues(o),this.props.loadData(o))},this.validateFilter=e=>{const{fromDate:{date:t},toDate:{date:a}}=e,{minDate:s,maxDate:r}=this.props.filterData,i=(0,p.jG)(t,a,s,r),l=(0,p.Fx)(t,a,s,r);return(0,F.isEmpty)(e.selectedAdvisor)?(this.setState({validateFund:"border border-danger",validateFromDate:"",validateToDate:"",fromDateValidationMessage:"",toDateValidationMessage:""}),!1):(0,p.vA)(i.validationMessage)?(0,p.vA)(l.validationMessage)?(this.setState({validateFund:"",validateFromDate:"",validateToDate:"",fromDateValidationMessage:"",toDateValidationMessage:""}),!0):(this.setState({validateToDate:"border border-danger",validateFund:"",toDateValidationMessage:l.validationMessage}),!1):(this.setState({validateFromDate:"border border-danger",validateFund:"",fromDateValidationMessage:i.validationMessage}),!1)},this.clearDateFilterValidationMessage=()=>{this.setState({validateFromDate:"",validateToDate:""})},this.state={validateFund:"",validateFromDate:"",validateToDate:"",pageNumber:1},this.itemPerPage=5,this.reportName=m.VXW.DAILY_MARGIN_VS_TRAD_LEVEL}componentDidMount(){0===this.props.advisorList.length?this.props.getDailyMarginVsTradLevelSearchFilterData():(this.props.setAppliedFilterValues(this.props.reportID),this.props.loadData(this.props.currentSelectedFilterValues))}render(){const{fundList:e,isCategoryDropdown:t,selectedFunds:a,fundSearchString:s}=this.props,{pageNumber:r}=this.state,i=(0,V.aK)(e,s,r,this.itemPerPage),l=(0,V.aK)(a,s,r,this.itemPerPage,!1),u=t?(0,p.zl)(e,l):(0,p.Yd)(e,a);return(0,G.jsxs)("div",{className:"search-filter",children:[(0,G.jsx)(D.I1,{isOpen:this.props.showLoading}),(0,G.jsx)(n.A,{children:(0,G.jsxs)(o.A,{form:!0,className:"align-items-top pt-2 mb-0 fund-report-filter",children:[(0,G.jsx)(d.A,{xl:3,lg:4,md:12,sm:12,children:(0,G.jsxs)(c.A,{children:[(0,G.jsx)(d.A,{className:"px-0",children:this.props.isCategoryDropdown?(0,G.jsx)(w.A,{searchString:s,showLoading:this.props.searchLoading,reportID:this.reportName,dataList:i,selectedDataList:(0,F.get)(l,"[0]",[]),handleSelectedDataChange:this.handleSelectedDataChange,handleSearch:this.handleSearch,handlePageChange:this.handlePageChange,itemsCountPerPage:this.itemPerPage,pageNumber:r,totalDataCount:e.length,onApplyFilter:this.onApplyFilter,searchMaxLength:180,searchMinLength:0,isSingleSelect:!0,isChildSelectionNotRequired:!0,isLocalStateOverride:!0}):(0,G.jsx)(j.A,{id:"fund",isMultipleSelectionAllowed:!1,itemId:"value",itemName:"text",text:"Fund",itemsCountPerPage:m.sqC.DefaultReportsFilterPageSize,showSearch:!0,searchMaxLength:180,searchMinLength:1,itemsList:this.props.advisorList,selectedItems:this.props.selectedAdvisor,totalPages:1,handleItemChange:this.handleAdvisorChange,keyword:this.props.fundSearchString,reportID:this.props.reportID,isCombinedFilter:!1})}),(0,G.jsx)(d.A,{md:12,className:"px-0",children:(0,G.jsx)("div",{children:this.state.validateFund?(0,G.jsx)("span",{className:"text-danger",children:"Please select fund"}):""})})]})}),(0,G.jsx)(d.A,{xl:2,lg:3,md:12,sm:12,children:(0,G.jsxs)(c.A,{children:[(0,G.jsx)(d.A,{className:"px-0",children:(0,G.jsx)(h.A,{id:"fromDate",value:(0,F.get)(this.props.fromDate,"date",""),viewMode:"days",dateFormat:m.ow2.Date_MonthName_Year,onChange:this.handleFromDateChange,isValidDate:this.restrictDateRange,placeholder:"(Format: ".concat(m.ow2.Date_MonthName_Year,")"),closeOnSelect:!0,className:this.state.validateFromDate,maxLength:m.Zf_,isEnableWeekends:u})}),(0,G.jsx)(d.A,{className:"px-0",md:12,children:(0,G.jsx)("div",{children:this.state.validateFromDate?(0,G.jsx)("span",{className:"text-danger",children:"Invalid from date"}):""})})]})}),(0,G.jsx)(d.A,{xl:2,lg:3,md:12,sm:12,children:(0,G.jsxs)(c.A,{children:[(0,G.jsx)(d.A,{className:"px-0",children:(0,G.jsx)(h.A,{id:"toDate",value:(0,F.get)(this.props.toDate,"date",""),viewMode:"days",dateFormat:m.ow2.Date_MonthName_Year,onChange:this.handleToDateChange,isValidDate:this.restrictDateRange,placeholder:"(Format: ".concat(m.ow2.Date_MonthName_Year,")"),closeOnSelect:!0,className:this.state.validateToDate,maxLength:m.Zf_,isEnableWeekends:u})}),(0,G.jsx)(d.A,{className:"px-0",md:12,children:(0,G.jsx)("div",{children:this.state.validateToDate?(0,G.jsx)("span",{className:"text-danger",children:"Invalid to date"}):""})})]})}),(0,G.jsx)(d.A,{lg:1,xl:1,md:12,sm:12,children:(0,G.jsx)(c.A,{children:(0,G.jsx)(d.A,{className:"px-0",children:(0,G.jsx)("div",{className:"justify-content-start",children:(0,G.jsx)(S.A,{outline:!0,className:"view-report-btn w-100",onClick:this.handleViewReportClick,children:"View"})})})})})]})}),!(0,F.isEmpty)(this.props.filterMessage)&&(0,G.jsx)(E.A,{message:this.props.filterMessage})]})}}const O=(0,r.Ng)((e=>{const t=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.searchFilterData",{}),a=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.searchFilterData.advisorList",[]),s=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.searchFilterData",{}),r=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.currentSelectedFilterValues.selectedAdvisor",[]),i=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.currentSelectedFilterValues.fromDate",{}),l=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.currentSelectedFilterValues.toDate",{}),n=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.searchFilterData.maxDate",null),o=(0,F.get)(e.clientGlobalSearchFilterData,"dailyMarginVsTradLevelSearchFilterData.currentSelectedFilterValues",{}),d=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.searchFilterData.isCategoryDropdown",!1),c=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.currentSelectedFilterValues.fundSearchString",""),h=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.searchFilterData.fundList",[]),p=(0,F.get)(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.currentSelectedFilterValues.selectedFunds",[]);return{reportID:m.VXW.DAILY_MARGIN_VS_TRAD_LEVEL,selectedAdvisor:r,fromDate:i,toDate:l,filterData:t,searchFilterData:s,advisorList:a,maxDate:n,filterMessage:(0,F.get)(e,"clientGlobalSearchFilterData.message",""),showLoading:(0,F.get)(e,"clientGlobalSearchFilterData.loading",!1),searchLoading:(0,F.get)(e,"clientGlobalSearchFilterData.searchLoading",""),currentSelectedFilterValues:o,isCategoryDropdown:d,fundSearchString:c,fundList:h,selectedFunds:p}}),(e=>({getDailyMarginVsTradLevelSearchFilterData:()=>{e(R())},getSearchFilterDataBySelectedAdvisor:t=>{e(M(t))},setSelectedFromDate:t=>{e((0,u.QI)(t))},setSelectedToDate:t=>{e((0,u.lD)(t))},setGlobalFilterValues:t=>{e((0,g.oO)(t))},setSelectedAdvisor:(t,a)=>{e((0,T.su)(t,a))},setAppliedFilterValues:t=>{e((0,u.UT)(t))},setSelectedCategoryOfFundForClientFundReport:t=>{e((0,u.Js)(t))},setFundDropdownSearchValue:(t,a)=>{e((0,u.E)(t,a))},setSelectedFunds:(t,a,s)=>{e((0,u.fX)(t,a,s))}})))((0,l.A)(P));var k=a(21656),Y=(a(86791),a(24644)),W=a(90688),B=a(92880);class H extends s.PureComponent{constructor(){super(...arguments),this.componentIndex=0,this.exportReportTitle=()=>"Daily Margin Vs Trad. Level",this.getExportReportSubTitle=()=>{let e=[];const t=v().get(this.props,"subTitle[0]",[]),a=v().get(this.props,"subTitle[1]",[]);return e=e.concat(t),e.push("(".concat(a,")")),e.join("<br />")}}render(){let e=v().get(this.props,"subTitle",[]),t=this.props.chartData,{chartConfig:a}=v().get(this.props,"component",{chartConfig:{}});a=(0,A.A)((0,A.A)({},a),{},{title:{text:this.exportReportTitle()},subtitle:{text:this.getExportReportSubTitle()},pointClick:this.pointClick});const s=v().get(this.props,"component.downloadFormat",[]);
1let{columns:r}=v().get(this.props,"component",[]);return(0,G.jsxs)("div",{className:"report-container",children:[(0,G.jsx)(D.I1,{isOpen:v().get(this.props,"analyticsReport.loadingListYearlyROR",!1)}),(0,G.jsx)(Y.A,{title:["Daily Margin Vs Trad. Level Report"],subTitle:e,reportID:"dailyMarginVsTradLevelReport",component:this.componentIndex,children:(0,G.jsx)(W.U,{columns:r,chartData:t,chartConfigrations:a,currencySimbol:this.props.loginDetails.currencySymbol,downloadFormat:s,failureMessage:B.BC.NoData})})]})}}const U=(0,r.Ng)((e=>{const t=v().get(e,"clientReports.dailyMarginVsTradLevelReport.components[0].title",[]),a=v().get(e,"clientReports.dailyMarginVsTradLevelReport.components[0].subTitle",[]);return{reportID:"dailyMarginVsTradLevelReport",componentIndex:0,clientReports:v().get(e,"clientReports",{}),loginDetails:v().get(e,"loginDetails",{}),currencyID:v().get(e.loginDetails,"currencyID",0),filterMessage:v().get(e.clientGlobalSearchFilterData,"message",""),filterData:v().get(e.clientGlobalSearchFilterData,"dailyMarginVsTradLevelSearchFilterData.searchFilterData",{}),globalfilterValues:v().get(e.clientGlobalSearchFilter,"dailyMarginVsTradLevelFilterValues",{}),loading:v().get(e.clientReports,"loading",{}),dailyMarginVsTradLevelReport:v().get(e,"clientReports.dailyMarginVsTradLevelReport",{}),selectedfilterData:v().get(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.currentSelectedFilterValues",null),chartData:v().get(e.clientReports,"dailyMarginVsTradLevelReport.dataSet.daily_margin_vs_trad_level_data",[]),component:v().get(e.clientReports,"dailyMarginVsTradLevelReport.components[0]",{}),title:t,subTitle:a}}),(e=>({setDailyMarginVsTradLevelConfig:t=>{e((e=>({type:y.QF.SET_CLIENT_DAILY_MARGIN_VS_TRAD_LEVEL_CONFIG_SUCCESS,config:e}))(t))}})))((0,l.A)(H));var X=a(2233);class J extends s.Component{constructor(){super(...arguments),this.filterClick=e=>{let t=(0,T.Pc)(e);this.props.getDailyMarginVsTradLevelReportData(t)}}render(){let e=this.props.reportComponent?(0,G.jsx)(U,{}):null;return(0,G.jsxs)(s.Fragment,{children:[(0,G.jsx)(i.A,{title:this.props.reportTitle,isShowThemeOptions:!0,isShowCurrencySwitcher:!1}),(0,G.jsx)(O,{loadData:this.filterClick}),(0,G.jsx)(D.I1,{isOpen:""===this.props.filterMessage&&this.props.loading}),this.props.reportComponent&&this.props.chartData.length>0?(0,G.jsxs)("div",{className:"report-container",children:[e,(0,G.jsx)(X.A,{})]}):(0,G.jsx)(E.A,{message:this.props.reportConfig.message})]})}}const q=(0,k.A)((0,r.Ng)((e=>({reportConfig:x()(e,"clientReports.dailyMarginVsTradLevelReport",{}),filterData:x()(e,"clientGlobalSearchFilterData.dailyMarginVsTradLevelSearchFilterData.searchFilterData",null),reportComponent:x()(e,"clientReports.dailyMarginVsTradLevelReport.components[0]",null),filterMessage:x()(e,"clientGlobalSearchFilterData.message",""),currentSelectedFilterValues:x()(e,"clientGlobalSearchFilter.dailyMarginVsTradLevelFilterValues",null),loading:x()(e.clientReports,"loading",{}),reportTitle:x()(e.sidebarNavigations,"investorSelectedReport.name","Daily Margin Vs Trad. Level"),chartData:x()(e.clientReports,"dailyMarginVsTradLevelReport.dataSet.daily_margin_vs_trad_level_data",[])})),(e=>({getDailyMarginVsTradLevelReportData:t=>{e(N(t))}})))(J))},85907:(e,t,a)=>{a.d(t,{A:()=>g});var s=a(58168),r=a(98587),i=a(9950),l=a(11942),n=a.n(l),o=a(48738),d=a.n(o),c=a(44208),h=["className","cssModule","tag"],p={tag:c.Wx,className:n().string,cssModule:n().object},u=function(e){var t=e.className,a=e.cssModule,l=e.tag,n=(0,r.A)(e,h),o=(0,c.qO)(d()(t,"modal-footer"),a);return i.createElement(l,(0,s.A)({},n,{className:o}))};u.propTypes=p,u.defaultProps={tag:"div"};const g=u},95717:(e,t,a)=>{a.d(t,{A:()=>T});var s=a(89379),r=a(9950),i=a(98341),l=a(34046),n=a(75630),o=a(62002),d=a(20030),c=a(39324),h=a(48918),p=a(85077),u=a(30038),g=a(99121),D=a(47914),m=a(69261),S=a(70349),A=a(23931),F=a(21923),v=a(87946),f=a.n(v),x=a(79586),C=a(41397),y=a(44414);class L extends r.Component{constructor(e){super(e),this.outSideClick=e=>{let t=!!(e.target.parentNode.getAttribute("class")&&e.target.parentNode.getAttribute("class").indexOf("combined-generic-filter")>-1),a=!!(e.target.parentNode.getAttribute("class")&&e.target.parentNode.getAttribute("class").indexOf("fund-status")>-1),s=!!(e.target.getAttribute("class")&&e.target.getAttribute("class").indexOf("fund-status-selector")>-1);t||a||s||this.props.isDisable&&(0,x.vA)(this.state.keyword)||this.setState({collapse:!1})},this.getPlaceholderText=()=>{let e=(0,C.cloneDeep)(this.props.selectedDataList);return(0,C.isEmpty)(e)?"No Category Selected":e.parentName},this.handleDoneClick=e=>{this.props.onApplyFilter&&this.props.onApplyFilter(e),this.setState({collapse:!1})},this.fundStatusChange=e=>{this.setState({fundStatus:e,pastFundStatus:this.state.fundStatus});let t=this.props.selectedReportType;this.props.setSelectedFundStatus(this.props.reportID,e,this.props.isCombinedFilter,t)},this.toggleCollapse=(e,t)=>{t&&(0,x.vA)(this.state.keyword)||this.setState((e=>({collapse:!e.collapse}))),this.state.collapse&&this.setState({selectedItems:this.props.selectedItems})},this.state={fundStatus:e.fundStatus,pastFundStatus:e.fundStatus}}componentDidUpdate(e){const t=this;var a=t.state.fundStatus;e.fundStatus!==t.props.fundStatus&&t.props.fundStatus!==a&&this.setState({fundStatus:this.props.fundStatus})}
1render(){let{dataList:e,selectedDataList:t,isDisable:a,customCssClass:i}=this.props,o=[];e.forEach((e=>{o.push(...e.children)}));let v=o?o.filter((e=>-1!==e.value)):o,x=v.some((e=>e.isActiveFund))&&v.some((e=>!e.isActiveFund));if(x){let a=this.state.fundStatus;if(a!==l.CM7.All){let r=a===l.CM7.Active,i=e.map(((e,t)=>{let a=e.children.filter((e=>e.isActiveFund===r)),i=e.isChecked;return this.state.fundStatus!==this.state.pastFundStatus&&(0===t?i=!0:(i=!1,a.map((e=>e.isChecked=!1)))),(0,s.A)((0,s.A)({},e),{},{isChecked:i,children:a})}));e=i,this.state.fundStatus!==this.state.pastFundStatus&&(t=e?e[0]:{},t.isChecked=!0,this.setState({pastFundStatus:this.state.fundStatus}),this.props.handleSelectedDataChange(t)),f()(t,"children.length",0)>0?t.children=f()(t,"children",[]).filter((e=>e.isActiveFund===r)):t=(0,s.A)((0,s.A)({},t),{},{children:[]}),e=e.filter((e=>e.children.length>0))}}return(0,y.jsx)(r.Fragment,{children:(0,y.jsxs)("div",{className:"combined-dropdownlist-filter",children:[(0,y.jsxs)(h.A,{disabled:a,className:"select-fund-investor combined-generic-filter ".concat(a?"cursor-not-allowed":""),onClick:e=>this.toggleCollapse(e,a),children:[(0,y.jsx)(p.A,{placeholder:this.getPlaceholderText(),className:"cursor-pointer border-0 text-truncate  shadow-focus-none ".concat(a?"cursor-not-allowed":""),"data-tip":"","data-for":this.props.id||"selectItemData",readOnly:!0}),(0,y.jsx)(u.A,{addonType:"append",children:(0,y.jsxs)(g.A,{className:"border-0 select-fund-investor-icon",children:[" ",(0,y.jsx)(d.g,{icon:c.faCaretDown})," "]})})]}),(0,y.jsx)(D.A,{isOpen:this.state.collapse&&!a,className:"fund-common-filter ".concat(i||"w-100"," bg-custom dropdown-list position-absolute dropdown-collapse fund-investor-filter-container"),children:(0,y.jsxs)("div",{className:"border ",children:[x&&(0,y.jsx)(m.A,{className:"mb-0 fund-status",children:(0,y.jsx)(S.A,{form:!0,className:"d-flex justify-content-between mx-0 py-2 border-bottom",children:(0,y.jsx)(A.A,{lg:6,md:6,sm:6,xs:6,className:"d-flex fund-status view-selected ".concat(this.props.isShowSelectAll?"justify-content-end":"justify-content-start"),children:(0,y.jsxs)("div",{className:"d-flex flex-row",children:[(0,y.jsx)(F.A,{type:"radio",id:"fund-status-selector3",checked:this.state.fundStatus===l.CM7.All,className:"m-1 fund-status-selector",name:"customRadio",label:"All",onChange:()=>this.fundStatusChange(l.CM7.All)}),(0,y.jsx)(F.A,{type:"radio",id:"fund-status-selector",checked:this.state.fundStatus===l.CM7.Active,className:"m-1 fund-status-selector",name:"customRadio",label:"Active",onChange:()=>this.fundStatusChange(l.CM7.Active)}),(0,y.jsx)(F.A,{type:"radio",id:"fund-status-selector2",checked:this.state.fundStatus===l.CM7.Inactive,className:"m-1 fund-status-selector",name:"customRadio",label:"Inactive",onChange:()=>this.fundStatusChange(l.CM7.Inactive)})]})})})}),(0,y.jsx)(n.A,{searchString:this.props.searchString,showLoading:this.props.showLoading,reportID:this.props.reportID,dataList:e,selectedDataList:t,handleSelectedDataChange:this.props.handleSelectedDataChange,handleSearch:this.props.handleSearch,handlePageChange:this.props.handlePageChange,itemsCountPerPage:this.props.itemsCountPerPage,pageNumber:this.props.pageNumber,totalDataCount:this.props.totalDataCount,onApplyFilter:this.props.onApplyFilter,searchMaxLength:this.props.searchMaxLength,searchMinLength:this.props.searchMinLength,isSingleSelect:!0,isChildSelectionNotRequired:this.props.isChildSelectionNotRequired,showInline:!0,isParentInputBoxHide:!0,subItemHeaderVisible:!0,isLocalStateOverride:this.props.isLocalStateOverride,outSideClickCombinedFilter:this.outSideClick,handleDoneClick:this.handleDoneClick,isCategorySelectionAllowed:this.props.isCategorySelectionAllowed})]})})]})})}}const T=(0,i.Ng)(((e,t)=>{const a=l.to[t.reportID];
1let s=f()(e,"clientGlobalSearchFilterData.".concat(a,".currentSelectedFilterValues.fundStatus"),l.CM7.Active),r=t.selectedReportType||"fund";return t.isCombinedFilter&&(s=f()(e,"clientGlobalSearchFilterData.".concat(a,".").concat(r,".currentSelectedFilterValues.fundStatus"),l.CM7.Active)),{fundStatus:s}}),(e=>({setSelectedFundStatus:(t,a,s,r)=>{e((0,o.pN)(t,a,s,r))}})))(L)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.