PageSourceSearch

https://decizone.com/8805.e2172caa0b226c4b.js

js decizone.com collected 2026-10-05 09:48:43 UTC 17,527 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdzweb=self.webpackChunkdzweb||[]).push([[8805],{8805:(q,u,r)=>{r.r(u),r.d(u,{OrgHomeModule:()=>$});var d=r(36895),_=r(19132),x=r(69814),m=r(24006),y=r(10920),w=r(48811),h=r(17489),e=r(94650),O=r(82345),b=r(99863),H=r(65244),C=r(93531),S=r(41591),N=r(64918),T=r(80641),F=r(21952),z=r(4859),I=r(73546),Z=r(97392),P=r(51572);function M(t,n){1&t&&(e.TgZ(0,"div",14),e._uU(1," No matches found. Please try again with more relevant keywords. "),e.qZA())}function U(t,n){if(1&t&&e._UZ(0,"img",27),2&t){const o=e.oxw().$implicit;e.s9C("src",o.flowchartImageUrl,e.LSH),e.s9C("alt",o.flowchartName)}}function L(t,n){if(1&t&&e._UZ(0,"img",28),2&t){const o=e.oxw().$implicit;e.s9C("alt",o.flowchartName)}}function D(t,n){1&t&&e._UZ(0,"mat-spinner",29)}function A(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"mat-card",16)(1,"p",17)(2,"span",18),e._uU(3),e.qZA()(),e.TgZ(4,"button",19),e.NdJ("click",function(){const s=e.CHM(o).$implicit,c=e.oxw(3);return e.KtG(c.openFlowchart(s))}),e.TgZ(5,"div",20)(6,"div",21),e.YNc(7,U,1,2,"img",22),e.YNc(8,L,1,1,"img",23),e.qZA(),e.TgZ(9,"div",24)(10,"div",25),e._uU(11),e.qZA(),e.YNc(12,D,1,0,"mat-spinner",26),e.qZA()()()()}if(2&t){const o=n.$implicit,i=e.oxw(3);e.xp6(3),e.Oqu(o.goalName),e.xp6(4),e.Q6J("ngIf",o.flowchartImageUrl),e.xp6(1),e.Q6J("ngIf",!o.flowchartImageUrl),e.xp6(3),e.Oqu(o.flowchartName),e.xp6(1),e.Q6J("ngIf",i.fcloading&&i.loadingFcId===o.flowchartId)}}function k(t,n){if(1&t&&(e.TgZ(0,"div",14),e.YNc(1,A,13,5,"mat-card",15),e.qZA()),2&t){const o=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",o.orgHomeFlowchartSearchResults)}}function R(t,n){if(1&t&&e._UZ(0,"img",27),2&t){const o=e.oxw().$implicit;e.s9C("src",o.flowchartImageUrl,e.LSH),e.s9C("alt",o.flowchartName)}}function Y(t,n){if(1&t&&e._UZ(0,"img",28),2&t){const o=e.oxw().$implicit;e.s9C("alt",o.flowchartName)}}function J(t,n){1&t&&e._UZ(0,"mat-spinner",29)}function K(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"div",30)(1,"p",17)(2,"span",18),e._uU(3),e.qZA()(),e.TgZ(4,"button",19),e.NdJ("click",function(){const s=e.CHM(o).$implicit,c=e.oxw(2);return e.KtG(c.openFlowchart(s))}),e.TgZ(5,"div",20)(6,"div",21),e.YNc(7,R,1,2,"img",22),e.YNc(8,Y,1,1,"img",23),e.qZA(),e.TgZ(9,"div",24)(10,"div",25),e._uU(11),e.qZA(),e.YNc(12,J,1,0,"mat-spinner",26),e.qZA()()()()}if(2&t){const o=n.$implicit,i=e.oxw(2);e.xp6(3),e.Oqu(o.goalName),e.xp6(4),e.Q6J("ngIf",o.flowchartImageUrl),e.xp6(1),e.Q6J("ngIf",!o.flowchartImageUrl),e.xp6(3),e.Oqu(o.flowchartName),e.xp6(1),e.Q6J("ngIf",i.fcloading&&i.loadingFcId===o.flowchartId)}}function B(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"div",1)(1,"div",2)(2,"h1",3),e._uU(3),e.qZA(),e.TgZ(4,"div",4)(5,"div",5)(6,"input",6),e.NdJ("ngModelChange",function(a){e.CHM(o);const s=e.oxw();return e.KtG(s.searchText=a)})("keydown.enter",function(a){e.CHM(o);const s=e.oxw();return e.KtG(s.keyPressSearch(a))}),e.qZA(),e.TgZ(7,"button",7),e.NdJ("click",function(a){e.CHM(o);const s=e.oxw();return a.stopPropagation(),e.KtG(s.getFuzzySearch())}),e.TgZ(8,"mat-icon"),e._uU(9,"search"),e.qZA()(),e.TgZ(10,"button",8),e.NdJ("click",function(a){e.CHM(o);const s=e.oxw();return a.stopPropagation(),e.KtG(s.resetSearchResults())}),e.TgZ(11,"mat-icon"),e._uU(12,"close"),e.qZA()(),e.TgZ(13,"button",9),e.NdJ("click",function(a){e.CHM(o);const s=e.oxw();return a.stopPropagation(),e.KtG(s.openAdvancedSearchDialog())}),e.TgZ(14,"mat-icon"),e._uU(15,"more_vert"),e.qZA()()()()(),e._UZ(16,"div",10),e.YNc(17,M,2,0,"div",11),e.YNc(18,k,2,1,"div",11),e.TgZ(19,"div",12),e.YNc(20,K,13,5,"div",13),e.qZA()()}if(2&t){const o=e.oxw();e.xp6(3),e.hij(" ",o.orgName," "),e.xp6(3),e.Q6J("ngModel",o.searchText),e.xp6(11),e.Q6J("ngIf",o.fuzzySearchTried&&o.orgHomeFlowchartSearchResults&&0===o.orgHomeFlowchartSearchResults.length),e.xp6(1),e.Q6J("ngIf",o.orgHomeFlowchartSearchResults&&o.orgHomeFlowchartSearchResults.length>0),e.xp6(2),e.Q6J("ngForOf",o.orgHomeFlowchartList)}}function E(t,n){1&t&&(e.TgZ(0,"div",1)(1,"H3"),e._uU(2,"This is your Organization Home Page."),e.qZA(),e._UZ(3,"br"),e.TgZ(4,"p"),e._uU(5,"This Org-Home-Page is meant for displaying a list of shortcuts to important flowcharts."),e.qZA(),e.TgZ(6,"p"),e._uU(7,"Currently you have not selected any flowcharts to be displayed here. Please make sure that in your Settings, you have selected some flowcharts from your organization to be displayed on your Org-Home-Page for quick access by the members. "),e.qZA(),e.TgZ(8,"p"),e._uU(9,"Only Administrator of your organization will be able to add/remove selected flowcharts to Org-Home-Page. Go to Settings > Organization Flowcharts > YourOrgName and in that table, check/uncheck the box in the 'Org Home' column for a flowchart. Please also note that a flowchart needs to have a Master Version identified before it can be added to the Org-Home-Page. "),e.qZA(),e._UZ(10,"br"),e.TgZ(11,"p"),e._uU(12,"Landing Page After Login: Once you have the important flowcharts selected for the Org-Home-Page, go to your 'My Account'> Preferences, and change the 'Landing page After Login' to 'Organization Home Page' in the drop down list. From that point onwards, every time you login, you will land directly on the Org-Home-Page and with one click on the shortcuts, you can jump right inside a specific flowchart."),e.qZA(),e.TgZ(13,"p"),e._uU(14,"Org-Home-Page is also the first page displayed when you use DeciZone within any other integrated application. "),e.qZA()())}let Q=(()=>{class t{constructor(o,i,a,s,c,l,g,p,j){this.router=o,this.seoService=i,this._userService=a,this._userMilestoneService=s,this._utilService=c,this._flowchartUtilService=l,this._advSearchDialogService=g,this._orgService=p,this.orgHomeFlowchartList=[],this.orgHomeFlowchartList
1Copy=[],this.globalError=!1,this.fcloading=!1,this.loadingFcId=0,this.orgName="",this.searchableFcList=[],this.fuzzySearchTried=!1,this.fcKeywords=!0,this.fcDescription=!1,this.fcName=!1,this.goalName=!0,this.subCategoryName=!1,this.subCategoryDescription=!1,this.categoryName=!1,this.categoryDescription=!1,this.prefix=!0,this.fuzzy=!0,this.selectedCombineTerms="OR",this.combineTerms=["OR","AND"],this.orgHomeFlowchartSearchResults=[],this.dataloaded=!1,this.searchText="",this.sessionStorage=j;var f=document.getElementById("footer");f&&f.style&&(f.style.display="block");var v=h.split(window.location.pathname,"/")[3];this.seoService.createLinkForCanonicalURL(),this.seoService.generateTags({title:v+" Home - DeciZone",metaTitle:v+" Home - DeciZone",metaDescription:"Your organization common page to quickly access important flowcharts.",metaImageUrl:"https://decizone.com/assets/images/DZ-LOGO-1200x628px-Fb-Li-Opt.png",robots:"noindex,nofollow",slug:window.location.href})}ngOnInit(){var o=document.getElementById("footer");o&&o.style&&(o.style.display="block"),this.sessionStorage.removeItem("fcFromOrgHome"),this._utilService.setShowSearchButton(!1);var s,i=h.split(window.location.pathname,"/"),a=i[3];s=this.sessionStorage.getObject("userProfile");var l=h.find(s.userOrg,function(g){return g.orgName===i[3]});l?(this.orgName=l.orgDisplayName?l.orgDisplayName:a,this.orgId=l.orgId,this._userService.getOrganizationHomeFlowcharts(l.orgId).subscribe(g=>{console.log("org home flowchart -",g),this.orgHomeFlowchartList=g.responseBody.orgHomeFlowchartList,this.orgHomeFlowchartList=h.sortBy(this.orgHomeFlowchartList,function(p){return p.flowchartName}),this.orgHomeFlowchartListCopy=h.cloneDeep(this.orgHomeFlowchartList),this.searchableFcList=this._flowchartUtilService._prepareOrgFlowchartListForSearch(this.orgHomeFlowchartList),console.log("searchableFc",this.searchableFcList),this.miniSearch=new w.Z({fields:["flowchartKeywords","flowchartDescription","flowchartName","goalName","subCategoryName","subCategoryDescription","categoryName","categoryDescription"],searchOptions:{fuzzy:this.fuzzy,prefix:this.prefix,combineWith:this.selectedCombineTerms}}),this.miniSearch.addAll(this.searchableFcList)},g=>{console.log("Error in getting DeciZone Organization details."),this.globalError=!0})):this.router.navigateByUrl("/myhome")}openAdvancedSearchDialog(){this.fuzzySearchTried=!1,console.log("current fields for search",this.miniSearch.fields);let o={event:"click_orghomesearchoptions","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-org_home_id":this.customKBPageId};window.dataLayer.push(o),this._advSearchDialogService.open({miniSearch:this.miniSearch,fcKeywords:this.fcKeywords,fcDescription:this.fcDescription,fcName:this.fcName,goalName:this.goalName,subCategoryName:this.subCategoryName,subCategoryDescription:this.subCategoryDescription,categoryName:this.categoryName,categoryDescription:this.categoryDescription,prefix:this.prefix,fuzzy:this.fuzzy,selectedCombineTerms:this.selectedCombineTerms}),this._advSearchDialogService.confirmed().subscribe(a=>{a&&(this.fcKeywords=!!this.miniSearch._options.fields.includes("flowchartKeywords"),this.fcDescription=!!this.miniSearch._options.fields.includes("flowchartDescription"),this.fcName=!!this.miniSearch._options.fields.includes("flowchartName"),this.goalName=!!this.miniSearch._options.fields.includes("goalName"),this.subCategoryName=!!this.miniSearch._options.fields.includes("subCategoryName"),this.subCategoryDescription=!!this.miniSearch._options.fields.includes("subCategoryDescription"),this.categoryName=!!this.miniSearch._options.fields.includes("categoryName"),this.categoryDescription=!!this.miniSearch._options.fields.includes("categoryDescription"),this.prefix=!!this.miniSearch._options.prefix,this.fuzzy=!!this.miniSearch._options.fuzzy,this.miniSearch._options.searchOptions.combineWith&&(this.selectedCombineTerms=this.miniSearch._options.searchOptions.combineWith))})}keyPressSearch(o){this.searchText=o.target.value,this.getFuzzySearch()}getFuzzySearch(){let o=this.miniSearch.search(this.searchText);console.log("raw search result",o);let i=this.searchableFcList,a=[];h.forEach(o,function(c){let l=h.find(i,function(g){return g.id===c.id});a.push(l)}),this.orgHomeFlowchartSearchResults=a,console.log("search result ",this.orgHomeFlowchartSearchResults),this.fuzzySearchTried=!0;let s={event:"click_orghomesearch","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":this.orgId,"dlv-knowledgebase_id":this.customKBPageId,"dlv-custom_count":this.orgHomeFlowchartSearchResults.length};window.dataLayer.push(s),document.getElementById("orghome-search-results-scrollposition").scrollIntoView(),this._orgService.saveOrgSearchTerm(this.orgId,null,this.searchText).subscribe(c=>{},c=>{})}resetSearchResults(){this.searchText="",this.fuzzySearchTried=!1,this.orgHomeFlowchartList=this.orgHomeFlowchartList
1Copy,this.orgHomeFlowchartSearchResults=[]}openFlowchart(o){this.fcloading=!0,this.loadingFcId=o.flowchartId,console.log("loading fc=",this.loadingFcId),console.log("selected fc=",o.flowchartId),this.sessionStorage.setItem("fcFromOrgHome","true"),this._userMilestoneService.saveOrUpdateUserMilestone("VIEW_FLOWCHART_FROM_ORG_HOME",null);let i={event:"click_openorghomefc","dlv-user_state_id":"loggedin","dlv-user_id":this._utilService.getLoggedInUserId(),"dlv-org_member":this._utilService.isLoggedInUserOrgUser(),"dlv-user_role_id":this._utilService.getLoggedInUserRole(),"dlv-org_id":o.orgId,"dlv-fc_id":o.flowchartId,"dlv-org_home_id":o.orgId};window.dataLayer.push(i),this.router.navigate([`${o.goalId}/${o.flowchartRandomId}/${o.goalUrl}/${o.flowchartName}`])}}return t.\u0275fac=function(o){return new(o||t)(e.Y36(_.F0),e.Y36(O.v),e.Y36(b.K),e.Y36(H.d),e.Y36(C.f),e.Y36(S.c),e.Y36(T.X),e.Y36(N.Q),e.Y36(F.qo))},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-org-home"]],decls:6,vars:2,consts:[["class","orgHome-page",4,"ngIf"],[1,"orgHome-page"],[1,"orghome-sticky-search-top"],[1,"orgHome-title"],[1,"org-home-search"],["autocomplete","on","mat-elevation-z10","",1,"org-home-search-form"],["id","org-home-search-input","name","searchText","type","text","placeholder","Search Organization Home Page","spellcheck","false",3,"ngModel","ngModelChange","keydown.enter"],["id","org-home-search","type","submit","mat-mini-fab","","color","accent","aria-label","Enter some keywords to search the Organization Home.",1,"org-home-search-icon",3,"click"],["id","org-home-close","type","submit","mat-icon-button","","aria-label","Enter some keywords to search the Organization Home.",1,"org-home-search-clear-icon",3,"click"],["id","org-home-advanced-search-icon","type","submit","mat-mini-fab","","aria-label","Click here for Advanced Search Options",1,"org-home-advanced-search-icon",3,"click"],["id","orghome-search-results-scrollposition"],["class","orghome-search-results-container",4,"ngIf"],[1,"orgHome-buttonlist"],["class","orgHome-each-fc",4,"ngFor","ngForOf"],[1,"orghome-search-results-container"],["class","orgHome-goal-cards mat-elevation-z8",4,"ngFor","ngForOf"],[1,"orgHome-goal-cards","mat-elevation-z8"],[1,"orgHome-fc-goal"],[1,"orgHome-goalName","gray-text"],["mat-raised-button","",1,"orgHome-fcNameButton",3,"click"],[1,"orgHome-fcNameButton-container"],[1,"orgHome-fc-btn-img-div"],["class","fc-btn-image","width","75px","height","50px","loading","lazy",3,"src","alt",4,"ngIf"],["class","fc-btn-image","width","75px","height","50px","loading","lazy","src","assets/images/Flowchart-label-gray-18dp.svg",3,"alt",4,"ngIf"],[1,"orgHome-fc-btn-name-div"],[1,"fc-btn-name"],["class","app-spinner",4,"ngIf"],["width","75px","height","50px","loading","lazy",1,"fc-btn-image",3,"src","alt"],["width","75px","height","50px","loading","lazy","src","assets/images/Flowchart-label-gray-18dp.svg",1,"fc-btn-image",3,"alt"],[1,"app-spinner"],[1,"orgHome-each-fc"]],template:function(o,i){1&o&&(e.YNc(0,B,21,5,"div",0),e.YNc(1,E,15,0,"div",0),e._UZ(2,"br")(3,"br")(4,"br")(5,"br")),2&o&&(e.Q6J("ngIf",!i.fcloading&&!i.globalError),e.xp6(1),e.Q6J("ngIf",i.globalError))},dependencies:[d.sg,d.O5,z.lW,I.a8,Z.Hw,P.Ou,m.Fj,m.JJ,m.On],styles:[".orgHome-page[_ngcontent-%COMP%]{width:90%;max-width:500px;padding:50px 0 0;margin:0 auto;text-align:center;position:relative}.orgHome-each-fc[_ngcontent-%COMP%]{margin:30px auto 5px}.orgHome-fc-goal[_ngcontent-%COMP%]{margin:5px auto}.orgHome-title[_ngcontent-%COMP%]{margin-bottom:0;font-size:16px;text-align:center;font-weight:700;color:var(--primarytextcolor)}.orgHome-orgName[_ngcontent-%COMP%]{color:var(--primarytextcolor);font-size:large;font-weight:bolder}.orgHome-title-user[_ngcontent-%COMP%]{font-style:italic}.orgHome-goalName[_ngcontent-%COMP%]{font-size:small}.gray-text[_ngcontent-%COMP%]{color:#696969}.orghome-sticky-search-top[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:1;top:7vh;left:0;background:var(--backgroundcolor)}@media screen and (min-width: 1200px){.orghome-sticky-search-top[_ngcontent-%COMP%]{left:calc(50% - 600px);max-width:1200px}}.org-home-search[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{box-sizing:border-box}.org-home-search-form[_ngcontent-%COMP%]{margin:0 auto;width:90%;max-width:500px;position:relative;text-align:center}#org-home-search-input[_ngcontent-%COMP%]{width:calc(100% - 75px);background-color:#ffd740;border:none;margin:10px auto 10px 0;line-height:26px;padding:2px 35px 2px 5px;font-size:20px;color:var(--primarytextcolor);border-radius:10px}
1.org-home-search-icon[_ngcontent-%COMP%]{position:absolute;right:-10px;top:4px;color:gray}.org-home-search-clear-icon[_ngcontent-%COMP%]{position:absolute;right:35px;top:5px;color:gray}.org-home-advanced-search-icon[_ngcontent-%COMP%]{position:absolute;left:-10px;top:5px;color:gray}#orghome-search-results-scrollposition[_ngcontent-%COMP%]{width:10%;position:absolute;top:-10vh}.orghome-search-results-container[_ngcontent-%COMP%]{max-height:400px;overflow:auto;padding:0 10px 15px;box-sizing:border-box;border:5px solid var(--secondarycolor);border-radius:10px;margin:20px 0 0}@media screen and (max-width: 600px){.orghome-search-results-container[_ngcontent-%COMP%]{max-height:250px}}.orgHome-buttonlist[_ngcontent-%COMP%]{display:block}.orgHome-goal-cards[_ngcontent-%COMP%]{margin-top:15px!important;padding:10px;border-radius:20px!important}#org-home-search-input[_ngcontent-%COMP%]::placeholder{color:#696969;font-size:14px;font-style:italic}#org-home-search-input[_ngcontent-%COMP%]:focus{box-shadow:0 0 20px var(--secondarycolor)}.orgHome-fcNameButton[_ngcontent-%COMP%]{margin:0 auto;padding:0;width:300px;color:var(--secondarycolor);height:50px}.orgHome-fcNameButton[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{box-sizing:border-box}.orgHome-fcNameButton-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;border-radius:15px;position:relative}.orgHome-fc-btn-img-div[_ngcontent-%COMP%]{height:50px;width:75px;display:flex;align-items:center}.fc-btn-image[_ngcontent-%COMP%]{object-fit:cover;height:100%;border-top-left-radius:4px;border-bottom-left-radius:4px}.orgHome-fc-btn-name-div[_ngcontent-%COMP%]{height:50px;flex-grow:1;display:flex;flex-direction:column;justify-content:space-around;padding:5px}.fc-btn-name[_ngcontent-%COMP%]{white-space:pre-line;font-size:14px;color:var(--secondarytextcolor);line-height:16px}"]}),t})(),$=(()=>{class t{}return t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[d.ez,x.o9,y.K,m.u5,m.UX,_.Bz.forChild([{path:"",component:Q}])]}),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.