1"use strict";(self.webpackChunkmyplanner=self.webpackChunkmyplanner||[]).push([[4439],{80976:(y,g,a)=>{a.d(g,{U:()=>S});var n=a(65938),f=a(96308),l=a(53626),u=a(65730),C=a(28914),v=a(67241),t=a(94650),r=a(36895),d=a(4859),p=a(28255),F=a(81638);function x(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.openFolderNm)}}function D(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"li",19),t.NdJ("click",function(){const s=t.CHM(e),m=s.$implicit,_=s.index,h=t.oxw();return t.KtG(h.getFolders(m,_))}),t.YNc(1,x,2,1,"span",11),t.qZA()}if(2&o){const e=c.$implicit,i=t.oxw();t.Q6J("ngClass",e.openFolderNm&&i.openFolderName.length>0&&i.openFolderName.length<=3?"breadcrumb-item active c-p":"none"),t.xp6(1),t.Q6J("ngIf",i.openFolderName.length>0&&i.openFolderName.length<=3)}}function T(o,c){if(1&o&&t._UZ(0,"img",20),2&o){t.oxw();const e=t.MAs(16);t.Q6J("matMenuTriggerFor",e)}}function b(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"button",23),t.NdJ("click",function(){t.CHM(e);const s=t.oxw(),m=s.$implicit,_=s.index,h=t.oxw(2);return t.KtG(h.getFolders(m,_))}),t._uU(1),t.qZA()}if(2&o){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.openFolderNm,"")}}function I(o,c){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,b,2,1,"button",22),t.qZA()),2&o){const e=c.index,i=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e>0&&e<i.openFolderName.length-1)}}function M(o,c){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,I,2,1,"div",21),t.qZA()),2&o){const e=t.oxw();
1t.xp6(1),t.Q6J("ngForOf",e.openFolderName)}}function O(o,c){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const e=t.oxw(2).$implicit;t.xp6(1),t.Oqu(e.openFolderNm)}}function w(o,c){if(1&o&&(t.TgZ(0,"div"),t.YNc(1,O,2,1,"span",11),t.qZA()),2&o){const e=t.oxw().index,i=t.oxw();t.xp6(1),t.Q6J("ngIf",e==i.openFolderName.length-1)}}function N(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"li",24),t.NdJ("click",function(){const s=t.CHM(e),m=s.$implicit,_=s.index,h=t.oxw();return t.KtG(h.getFolders(m,_))}),t.YNc(1,w,2,1,"div",11),t.qZA()}if(2&o){const e=t.oxw();t.xp6(1),t.Q6J("ngIf",e.openFolderName.length>3)}}function A(o,c){1&o&&t._UZ(0,"th",36)}function Z(o,c){1&o&&t._UZ(0,"img",41)}function P(o,c){1&o&&t._UZ(0,"img",42)}function E(o,c){if(1&o){const e=t.EpF();t.TgZ(0,"td",37),t.NdJ("click",function(){const m=t.CHM(e).$implicit,_=t.oxw(2);return t.KtG(_.openFolder(m))}),t.TgZ(1,"div",38),t.YNc(2,Z,1,0,"img",39),t._uU(3),t.YNc(4,P,1,0,"img",40),t.qZA()()}if(2&o){const e=c.$implicit;t.xp6(2),t.Q6J("ngIf",null!=e.folderName),t.xp6(1),t.hij(" ",e.folderName," "),t.xp6(1),t.Q6J("ngIf",1==e.isStarred)}}function U(o,c){1&o&&t._UZ(0,"th",36)}function k(o,c){1&o&&t._UZ(0,"td",43)}function Y(o,c){1&o&&t._UZ(0,"th",36)}function R(o,c){1&o&&t._UZ(0,"td",43)}function J(o,c){1&o&&t._UZ(0,"th",36)}function L(o,c){1&o&&t._UZ(0,"td",43)}function Q(o,c){1&o&&t._UZ(0,"tr",44)}function j(o,c){1&o&&t._UZ(0,"tr",45)}function B(o,c){if(1&o&&(t.TgZ(0,"div",25)(1,"table",26),t.ynx(2,27),t.YNc(3,A,1,0,"th",28),t.YNc(4,E,5,3,"td",29),t.BQk(),t.ynx(5,30),t.YNc(6,U,1,0,"th",28),t.YNc(7,k,1,0,"td",31),t.BQk(),t.ynx(8,32),t.YNc(9,Y,1,0,"th",28),t.YNc(10,R,1,0,"td",31),t.BQk(),t.ynx(11,33),t.YNc(12,J,1,0,"th",28),t.YNc(13,L,1,0,"td",31),t.BQk(),t.YNc(14,Q,1,0,"tr",34),t.YNc(15,j,1,0,"tr",35),t.qZA()()),2&o){const e=t.oxw();
1t.xp6(1),t.Q6J("dataSource",e.commonFileFolders)("appSkeletonLoading",e.isLoading)("dataSource",e.commonFileFolders),t.xp6(13),t.Q6J("matHeaderRowDef",e.displayedColumns),t.xp6(1),t.Q6J("matRowDefColumns",e.displayedColumns)}}function K(o,c){1&o&&(t.TgZ(0,"div",46),t._UZ(1,"img",41),t._uU(2," Folder is empty"),t._UZ(3,"br"),t.TgZ(4,"p",47),t._uU(5,"Drop files here"),t.qZA()())}let S=(()=>{class o{constructor(e,i,s,m,_){this.dialogRef=e,this.dataGet=i,this.custumService=s,this.utils=m,this.dialog=_,this.displayedColumns=["name","lastModi","type","size"],this.dataSource=W,this.myFiles=[],this.data=[{},{},{}],this.commonFileFolders=new l.by(this.data),this.i=0,this.isLoading=!1,this.showMsg=!1,this.sendToCopy=this.dataGet.animal,this.CopyOrMove=this.dataGet.name}ngOnInit(){this.viewMode="tab1",this.backUpfiles=[],this.openFolderName=[],this.advisorId=u.e.getAdvisorId(),this.commonFileFolders=new l.by(this.data),this.commonFileFolders.sort=this.sort,this.clientId=u.e.getClientId(),this.getAllFileList("Documents")}onNoClick(){this.dialogRef.close()}getAllFileList(e){this.valueTab=e="Documents"==e||1==e?1:"Recents"==e||2==e?2:"Starred"==e||3==e?3:4,this.backUpfiles=[],this.openFolderName=[];const i={advisorId:this.advisorId,clientId:this.clientId,docGetFlag:e,folderParentId:0};this.isLoading=!0,this.commonFileFolders.data=[{},{},{}],this.commonFileFolders=new l.by(this.data),this.custumService.getAllFiles(i).subscribe(s=>this.getAllFilesRes(s,"value"))}getAllFilesRes(e,i){this.showMsg=0==e.files.length&&0==e.folders.length,this.isLoading=!1,this.allFiles=e.files,this.AllDocs=e.folders,this.dataToCommon=e.folders,(null==this.dataToCommon.openFolderId||0==this.openFolderName.length)&&(Object.assign(this.dataToCommon,{openFolderNm:i.folderName}),Object.assign(this.dataToCommon,{openFolderId:i.id}),this.parentId=i.id??0,this.openFolderName.push(this.dataToCommon),this.valueFirst=this.openFolderName[0],this.dataToCommon.length>0&&(this.commonFileFolders=this.dataToCommon,this.commonFileFolders=new l.by(this.dataToCommon),this.commonFileFolders.sort=this.sort,this.backUpfiles.push(this.dataToCommon)),this.commonFileFolders=this.dataToCommon,this.commonFileFolders=new l.by(this.dataToCommon),this.commonFileFolders.sort=this.sort),this.openFolderName.length>2&&(this.showDots=!0)}Close(){this.dialogRef.close()}getFolders(e,i){this.showMsg=!1,this.commonFileFolders.data=[{},{},{}],this.commonFileFolders=new l.by(this.data),this.parentId=null==e?0:e[0].folderParentId,this.openFolderName=this.openFolderName.filter((s,m)=>m<=i),this.commonFileFolders=this.openFolderName[this.openFolderName.length-1],this.commonFileFolders=new l.by(e),this.commonFileFolders.sort=this.sort,this.valueFirst=this.openFolderName[0]}reset(){this.showMsg=!1,this.openFolderName.length>0&&(this.commonFileFolders=this.backUpfiles[0]),this.commonFileFolders=new l.by(this.backUpfiles[0]),this.commonFileFolders.sort=this.sort,this.openFolderName=[],this.parentId=0}openFolder(e){this.isLoading=!0;const i={advisorId:this.advisorId,clientId:this.clientId,docGetFlag:this.valueTab,folderParentId:e.id??0};this.parentId=e.folderParentId,this.commonFileFolders.data=[{},{},{}],this.commonFileFolders=new l.by(this.data),this.custumService.getAllFiles(i).subscribe(s=>this.getAllFilesRes(s,e))}copyFile(e){var i=this.sendToCopy;this.sendObj=i.fileName?{clientId:this.clientId,advisorId:this.advisorId,parentFolderId:this.parentId,id:i.id}:{clientId:this.clientId,advisorId:this.advisorId,folderParentId:this.parentId,id:i.id},Object.assign(this.sendObj,{value:e}),this.dialogRef.close(this.sendObj)}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(n.so),t.Y36(n.WI),t.Y36(C.v),t.Y36(v.fK),t.Y36(n.uw))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-copy-documents"]],viewQuery:function(e,i){if(1&e&&t.Gf(f.YE,5),2&e){let s;t.iGM(s=t.CRH())&&(i.sort=s.first)}},decls:27,vars:9,consts:[[1,"moveBreadCrumbClass"],[1,"row","p-8","bg-dark","text-white"],[1,"col-md-10"],[1,"col-md-2","p-0","text-right"],[1,"material-icons","c-p","v-middle",3,"click"],[1,"col-md-12","p-0","breadCrumbClass"],[1,"breadcrumb"],[1,"breadcrumb-item","c-p",3,"click"],["class","breadcrumb-item active c-p",3,"ngClass","click",4,"ngFor","ngForOf"],["class","c-p","src","https://res.cloudinary.com/futurewise/image/upload/v1619592616/myplanner/images/svg/dark-three-dot.svg","alt","dar
1k three dot icon",3,"matMenuTriggerFor",4,"ngIf"],["menu4","matMenu"],[4,"ngIf"],[3,"click",4,"ngFor","ngForOf"],["class","col-md-12 p-0 copyDocumentcomp ",4,"ngIf"],["class","col-md-12 pt-30 pb-30 d-flex justify-content-center flex-column align-items-center",4,"ngIf"],[1,"row","b-t"],[1,"col-md-12","pt-10","pb-10","pr-0","right","text-right"],["mat-button","",1,"text-custom","f-500","c-p",3,"click"],["mat-button","",1,"text-primary","f-500","text-uppercase","c-p",3,"click"],[1,"breadcrumb-item","active","c-p",3,"ngClass","click"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592616/myplanner/images/svg/dark-three-dot.svg","alt","dark three dot icon",1,"c-p",3,"matMenuTriggerFor"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[3,"click"],[1,"col-md-12","p-0","copyDocumentcomp"],["mat-table","","id","table-low","appSkeletonLoading","",1,"skeletonAnimation",3,"dataSource","appSkeletonLoading"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","c-p ",3,"click",4,"matCellDef"],["matColumnDef","lastModi"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","size"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"c-p",3,"click"],[1,"bar"],["class","mr-12","src","https://res.cloudinary.com/futurewise/image/upload/v1619592642/myplanner/images/svg/folder-icon.svg","alt","folder icon",4,"ngIf"],["class","mr-12","src","/assets/images/svg/document-star.svg","alt","start doc icon",4,"ngIf"],["src","https://res.cloudinary.com/futurewise/image/upload/v1619592642/myplanner/images/svg/folder-icon.svg","alt","folder icon",1,"mr-12"],["src","/assets/images/svg/document-star.svg","alt","start doc icon",1,"mr-12"],["mat-cell",""],["mat-header-row",""],["mat-row",""],[1,"col-md-12","pt-30","pb-30","d-flex","justify-content-center","flex-column","align-items-center"],[1,"m-0","f-12","text-custom"]],template:function(e,i){1&e&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2),t._uU(3),t.qZA(),t.TgZ(4,"div",3)(5,"i",4),t.NdJ("click",function(){return i.Close()}),t._uU(6," clear"),t.qZA()()(),t.TgZ(7,"div",5)(8,"ol",6)(9,"li",7),t.NdJ("click",function(){return i.reset()}),t.TgZ(10,"span"),t._uU(11),t.qZA()(),t.YNc(12,D,2,2,"li",8),t.TgZ(13,"li"),t.YNc(14,T,1,1,"img",9),t.TgZ(15,"mat-menu",null,10),t.YNc(17,M,2,1,"div",11),t.qZA()(),t.YNc(18,N,2,1,"li",12),t.qZA()(),t.YNc(19,B,16,5,"div",13),t.YNc(20,K,6,0,"div",14),t.TgZ(21,"div",15)(22,"div",16)(23,"button",17),t.NdJ("click",function(){return i.Close()}),t._uU(24," CANCEL "),t.qZA(),t.TgZ(25,"button",18),t.NdJ("click",function(){return i.copyFile(i.CopyOrMove)}
1),t._uU(26),t.qZA()()()()),2&e&&(t.xp6(3),t.hij(" ",i.CopyOrMove," 1 item to "),t.xp6(8),t.Oqu(i.tabValue||"Documents"),t.xp6(1),t.Q6J("ngForOf",i.openFolderName),t.xp6(2),t.Q6J("ngIf",i.openFolderName.length>3),t.xp6(3),t.Q6J("ngIf",i.openFolderName.length>2),t.xp6(1),t.Q6J("ngForOf",i.openFolderName),t.xp6(1),t.Q6J("ngIf",0==i.showMsg),t.xp6(1),t.Q6J("ngIf",1==i.showMsg),t.xp6(6),t.hij(" ",i.CopyOrMove," "))},dependencies:[r.mk,r.sg,r.O5,d.lW,p.VK,p.OP,p.p6,l.BZ,l.fO,l.as,l.w1,l.Dz,l.nj,l.ge,l.ev,l.XQ,l.Gk,F.d],styles:[".colorDark[_ngcontent-%COMP%]{color:#6202ee}.breadCrumbClass[_ngcontent-%COMP%] .breadcrumb[_ngcontent-%COMP%]{padding:8px 1rem;margin-bottom:0;border-radius:0}.copyDocumentcomp[_ngcontent-%COMP%]{height:250px;overflow:auto}.copyDocumentcomp[_ngcontent-%COMP%] #table-low[_ngcontent-%COMP%] tr.mat-header-row[_ngcontent-%COMP%]{display:none}.copyDocumentcomp[_ngcontent-%COMP%] #table-low[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-left:16px!important}.moveBreadCrumbClass[_ngcontent-%COMP%] .breadcrumb-item[_ngcontent-%COMP%] + .breadcrumb-item[_ngcontent-%COMP%]:before{padding-right:3px}"]}),o})();const W=[{name:"Identity & address proofs",lastModi:"21/08/2019 12:35 PM",type:"-",size:"-"},{name:"Accounts",lastModi:"21/08/2019 12:35 PM",type:"-",size:"-"},{name:"Planning",lastModi:"21/08/2019 12:35 PM",type:"-",size:"-"},{name:"Transaction",lastModi:"21/08/2019 12:35 PM",type:"-",size:"-"},{name:"Agreements & invoices",lastModi:"21/08/2019 12:35 PM",type:"-",size:"-"}]},94585:(y,g,a)=>{a.d(g,{K:()=>v});var n=a(94650),f=a(23767),l=a(36895);function u(t,r){if(1&t&&(n.TgZ(0,"div",15)(1,"p",16),n._uU(2),n.ALo(3,"date"),n.qZA()()),2&t){const d=r.$implicit;n.xp6(2),n.Oqu(n.xi3(3,1,d.createdDate,"dd/MM/yyyy"))}}function C(t,r){if(1&t&&(n.TgZ(0,"div",17)(1,"ul",18)(2,"li")(3,"p",19),n._uU(4),n.qZA(),n.TgZ(5,"span"),n._uU(6,"by Ronak Hindocha"),n.qZA()()()()),2&t){const d=r.$implicit;n.xp6(4),n.hij("Item is ",d.actionId," in .")}}let v=(()=>{class t{constructor(d){this.subInjectService=d,this.activityStatus=[{id:1,name:"Created"},{id:2,name:"Moved"},{id:3,name:"Starred"},{id:4,name:"Deleted"},{id:5,name:"Rename"},{id:6,name:"Copied"},{id:7,name:"Restore"},{id:8,name:"Trashed"}]}ngOnInit(){this.getData()}set data(d){this.inputData=d}get data(){return this.inputData}getData(){this.showData=this.inputData,this.activityStatus.forEach(d=>{this.showData.forEach(p=>{p.actionId==d.id&&(p.actionId=d.name)})}),this.firstActivity=this.showData[0],this.secondActivity=this.showData[0],this.thirdActivity=this.showData[0]}Close(){this.subInjectService.changeNewRightSliderState({state:"close"})}}return t.\u0275fac=function(d){return new(d||t)(n.Y36(f.f))},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-view-activity"]],inputs:{data:"data"},decls:18,vars:2,consts:[[1,"right-side-fixes-x"],[1,"right-sidenav-fixes-y"],[1,"row","bb-1","popup-header-fix-60"],[1,"col-md-8","p-0"],[1,"mb-0","wrapper-20"],[1,"col-md-4","text-right"],[1,"wrapper-12"],[1,"material-icons","c-p","pt-8","v-middle",3,"click"],[1,"row","bb-1"],[1,"col-md-12","text-right"],[1,"mb-0","wrapper-20","c-p"],[1,"container","mt-24","mb-24"],[1,"row"],["class","col-md-3 p-0",4,"ngFor","ngForOf"],["class","col-md-9 p-0",4,"ngFor","ngForOf"],[1,"col-md-3","p-0"],[1,"mb-16","text-right","pt-40","pb-44"],[1,"col-md-9","p-0"],[1,"timeline"],[1,"m-0"]],template:function(d,p){1&d&&(n.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4",4),n._uU(5,"VIEW ACTIVITY"),n.qZA()(),n.TgZ(6,"div",5)(7,"div",6)(8,"i",7),n.NdJ("click",function(){return p.Close()}),n._uU(9," clear"),n.qZA()()()(),n.TgZ(10,"div",8)(11,"div",9)(12,"p",10),n._uU(13,"Activity log"),n.qZA()()(),n.TgZ(14,"div",11)(15,"div",12),n.YNc(16,u,4,4,"div",13),n.YNc(17,C,7,1,"div",14),n.qZA()()()()),2&d&&(n.xp6(16),n.Q6J("ngForOf",p.showData),n.xp6(1),n.Q6J("ngForOf",p.showData))},dependencies:[l.sg,l.uU],styles:['.timeline[_ngcontent-%COMP%]{list-style-type:none;position:relative}.timeline[_ngcontent-%COMP%]:before{content:" ";background:#008FFF;display:inline-block;position:absolute;
1left:29px;width:2px;height:100%;z-index:400;top:35%}.timeline[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{margin:40px 0;padding-left:50px}.timeline[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:before{content:url(https://res.cloudinary.com/futurewise/image/upload/v1619592580/myplanner/images/svg/activity-icons.svg);background:white;display:inline-block;position:absolute;left:20px;width:20px;height:15px;z-index:400}span[_ngcontent-%COMP%]{font-size:12px!important;font-style:italic;font-weight:400;font-size:14px;line-height:16px;color:#83959d;float:left;padding-top:8px}']}),t})()}}]);
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.