{"__symbolic":"module","version":4,"metadata":{"ZcWidgetStageFormService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":18,"character":28}]}]},"statics":{"ngInjectableDef":{}}},"StageFormModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":4},{"__symbolic":"reference","module":"zc-widget-form","name":"ZcWidgetFormModule","line":12,"character":4},{"__symbolic":"reference","module":"zc-widget-form","name":"ZcFormUiModule","line":13,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap/dropdown/dropdown.module","name":"NgbDropdownModule","line":14,"character":4},"member":"forRoot"}},{"__symbolic":"reference","module":"zc-widget-core","name":"PageRenderModule","line":15,"character":4},{"__symbolic":"reference","module":"zc-widget-core","name":"ZcWidgetCoreCommonModule","line":16,"character":4}],"providers":[{"__symbolic":"reference","name":"ZcWidgetStageFormService"},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap/dropdown/dropdown.module","name":"NgbDropdownConfig","line":18,"character":40},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap/dropdown/dropdown.module","name":"NgbDropdown","line":18,"character":59}],"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ZcWidgetStageFormModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":8,"character":4},{"__symbolic":"reference","name":"StageFormModule"},{"__symbolic":"reference","name":"SurveFormModule"}],"declarations":[{"__symbolic":"reference","name":"ɵd"}],"exports":[{"__symbolic":"reference","name":"ɵd"}]}]}],"members":{}},"ZcWidgetStageFormConfig":{"__symbolic":"interface"},"Stage":{"__symbolic":"interface"},"StageForm":{"__symbolic":"interface"},"StageFormActionsConfig":{"__symbolic":"interface"},"LangProps":{"__symbolic":"interface"},"Action":{"__symbolic":"interface"},"History":{"__symbolic":"interface"},"SurveFormModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":11,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":12,"character":4},{"__symbolic":"reference","module":"zc-widget-form","name":"ZcWidgetFormModule","line":13,"character":4},{"__symbolic":"reference","module":"zc-widget-form","name":"ZcFormUiModule","line":14,"character":4},{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap/progressbar/progressbar.module","name":"NgbProgressbarModule","line":15,"character":4},"member":"forRoot"}},{"__symbolic":"reference","module":"zc-widget-core","name":"ZcWidgetCoreCommonModule","line":16,"character":4},{"__symbolic":"reference","module":"primeng/table","name":"TableModule","line":17,"character":4}],"declarations":[{"__symbolic":"reference","name":"SurveFormComponent"}],"exports":[{"__symbolic":"reference","name":"SurveFormComponent"}]}]}],"members":{}},"SurveFormComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"zc-surve-form","template":"<div class=\"zc-fixed-header\">\n  <div class=\"zc-header-middle row\">\n    <div class=\"col\">\n      <ul>\n        <ng-container *ngFor=\"let field of headerFields\">\n          <li class=\"header-fields\">\n            <span>{{field.label}}</span>\n            <div zcFieldValueFormat [type]=\"field.type\" [value]=\"headerData[field.name]\"></div>\n          </li>\n        </ng-container>\n      </ul>\n    </div>\n    <div class=\"col-4 zc-progress-bar\" *ngIf=\"showProgressBar\">\n      <ngb-progressbar [showValue]=\"true\" [animated]=\"properties.progressbarAnimation\" [striped]=\"true\" type=\"success\"\n        [value]=\"percentageValue\"></ngb-progressbar>\n    </div>\n  </div>\n</div>\n\n<div class=\"zc-widget-stage-form row no-gutters\">\n  <div class=\"stage-list col-4\">\n    <ul class=\"stage-form\">\n      <li class=\"form-done\" [ngClass]=\"(stageForm.value==selectedStage?.value)?'active':''\" *ngFor=\"let stageForm of stageList;let stageFormInx = index;\"\n        (click)=\"clickStageForm(stageFormInx)\">\n        <div class=\"inside-list\">\n          <span class=\"inside-list-circle\"></span>\n          <span class=\"inside-list-title\">{{stageForm.label}}</span>\n          <i *ngIf=\"stageForm.value==selectedStage?.value\" class=\"icon-ellipsis-h\"></i>\n          <i *ngIf=\"stageForm.status=='save'\" class=\"icon-check-circle\"></i>\n          <i *ngIf=\"stageForm.status=='draft'\" style=\"color:orange\" class=\"icon-check-circle\"></i>\n        </div>\n      </li>\n    </ul>\n  </div>\n  <div class=\"col\">\n    <div class=\"zc-stage\" *ngIf=\"selectedStage\">\n      <div class=\"zc-header zc-stage-header\">\n        <div class=\"zc-stage-header-left\">\n          <h3>{{selectedStage?.label}}</h3>\n          <!-- <span>Initiated by Jeff congialosi on June 09, 2018</span> -->\n        </div>\n        <div class=\"zc-stage-header-right\">\n          <div class=\"arrows\">\n            <div class=\"zc-widget-form-footer col-12\">\n              <!-- <button class=\"btn btn-default\" *ngIf=\"this.selectedStageForm.status !=='save'\" type=\"submit\" (click)=\"draftFrom()\">Draft</button> -->\n              <ng-container *ngIf=\"selectedStage['share']\">\n\n                <ul *ngIf=\"isSubmitted\">\n                  <li>\n                    <a (click)=\"previewSurvey()\" title=\"Preview\">\n                      <i class=\"icon-eye-2\"></i>\n                      <!-- <span>Preview</span> -->\n                    </a>\n                  </li>\n                  <li *ngFor=\"let link of addons\">\n                    <a *ngIf=\"link.type==='download'\" title=\"{{link.title}}\" [href]=\"properties.baseUrl+link.url+'/'+properties.uid\" download\n                      [target]=\"link.target\">\n                      <i [ngClass]=\"link.icon\"></i>\n                      <!-- <span>{{link.title}}</span> -->\n                    </a>\n                  </li>\n                </ul>\n\n                <button *ngIf=\"!isSubmit && !isSubmitted && !isAdminUser\" class=\"btn btn-primary save\" type=\"button\"\n                  (click)=\"saveForm() && zcForm.submit()\">Save</button>\n                <button *ngIf=\"isSubmit && !isSubmitted && !isAdminUser && !isGuestUser\" class=\"btn btn-primary save\" type=\"button\"\n                  (click)=\"surveyFormSubmit()\">Submit</button>\n\n                <!-- <button class=\"btn btn-default submit\" type=\"button\" (click)=\"submitForm() && zcForm.submit()\" *ngIf=\"!checkNextStageFrom() && selectedStage.info.completed\">Submit</button> -->\n              </ng-container>\n              <button class=\"btn btn-success\" type=\"button\" (click)=\"submitForm() && zcForm.submit()\" *ngIf=\"selectedStage?.completed && !checkNextStageFrom()\">Review</button>\n              <!-- <button *ngIf=\"checkNextStageFrom()\" type=\"button\" (click)=\"gotoNextStageFrom()\" class=\"btn btn-success\">Next</button> -->\n            </div>\n            <!-- <span class=\"preview-form\" (click)=\"page='view'\" title=\"Review\"><a class=\"icon-eye-2\"></a></span> -->\n            <span *ngIf=\"checkPreviousStageFrom()\">\n              <a (click)=\"draftFrom('previous') \" class=\"icon-long-left-arrow\" title=\"Previous\"></a>\n            </span>\n            <span *ngIf=\"checkNextStageFrom()\">\n              <a (click)=\"draftFrom('next') \" class=\"icon-long-right-arrow\" title=\"Next\"></a>\n            </span>\n          </div>\n        </div>\n      </div>\n      <div class=\"zc-stage-contain\" *ngIf=\"showZcForm\">\n        <zc-widget-form #zcForm [saveDataAlert]=\"true\" [properties]='selectedStageProperties' [noValidation]=\"noValidation\"\n          [form]=\"form\" [model]=\"model\" (formSubmit)='formSubmit()' [showFooterContent]='false'>\n        </zc-widget-form>\n      </div>\n      <div class=\"zc-stage-contain\" *ngIf=\"showAssignmentForm\">\n        <!-- <div class=\"section-info\" *ngIf=\"properties.sectionInfo\" [innerHtml]=\"properties.sectionInfo\">\n\n        </div> -->\n        <div class=\"section-info\">\n          Kindly assign the sections to the concerned official for providing the details\n        </div>\n        <div class=\"zc-survey-assignment-page\">\n          <p-table [value]=\"stageList\">\n            <ng-template pTemplate=\"header\">\n              <tr>\n                <th>Section</th>\n                <th>Name</th>\n                <th>Email</th>\n                <th></th>\n              </tr>\n            </ng-template>\n            <ng-template pTemplate=\"body\" let-stageForm let-index=\"rowIndex\">\n              <tr *ngIf=\"stageForm.share\">\n                <td>{{stageForm.label}}</td>\n                <td>\n                  <div class=\"row no-gutters\">\n                    <input type=\"text\" [disabled]=\"isSubmitted || isAdminUser\" [(ngModel)]=\"stageForm.name\" name=\"name\"\n                      required class=\"form-control form-control-sm\">\n                  </div>\n                  <small class=\"text-danger\" *ngIf=\"pageSubmitted && !stageForm.name && index==submitedIndex\">\n                    Please enter name\n                  </small>\n                </td>\n                <td>\n                  <div class=\"row no-gutters\">\n                    <input id=\"contactemail\" [disabled]=\"isSubmitted || isAdminUser\" type=\"text\" #contactemail=\"ngModel\"\n                      [(ngModel)]=\"stageForm.email\" name=\"email\" required pattern=\"^[a-z]+[a-z0-9._]+@[a-z]+.[a-z.]{2,5}$\"\n                      class=\"form-control form-control-sm\">\n                    <!-- <input [(ngModel)]=\"stageForm.email\" type=\"email\" name=\"email\" required pattern=\"^w+([.-]?w+)*@w+([.-]?w+)*(.w{2,3})+$\"\n                    class=\"form-control\"> -->\n                  </div>\n                  <small class=\"text-danger\" *ngIf=\"pageSubmitted && !stageForm.email && index==submitedIndex\">\n                    <div *ngIf=\"contactemail.errors && contactemail.errors.required\">\n                      Email is required\n                    </div>\n                  </small>\n                  <small class=\"text-danger\" *ngIf=\"stageForm.email && index==submitedIndex\">\n                    <div *ngIf=\"contactemail.errors && contactemail.errors.pattern\">\n                      Email is invalid\n                    </div>\n                  </small>\n                </td>\n                <td>\n                  <button type=\"submit\" [disabled]=\"(disableSubmitBtn && index==submitedIndex) || isSubmitted || isAdminUser\"\n                    (click)=\"onSubmit(stageForm, index, contactemail.valid)\" class=\"btn btn-primary\">{{(stageForm.isUser)?'Reinvite':'Invite'}}</button>\n                </td>\n              </tr>\n            </ng-template>\n          </p-table>\n        </div>\n\n        <!-- <div class=\"Assignment-section\" *ngFor=\"let stageForm of stageList;let inx = index;\">\n          <div *ngIf=\"stageForm.share\">\n            <form [formGroup]=\"pageForm\" (ngSubmit)=\"onSubmit(pageForm.value,pageForm.valid, inx)\" novalidate>\n              <div class=\"section\">{{stageForm.label}}</div>\n              <div class=\"form-group\">\n                <input formControlName=\"email\" pattern=\"^w+([.-]?w+)*@w+([.-]?w+)*(.w{2,3})+$\" class=\"form-control\">\n                <small class=\"text-danger\" *ngIf=\"pageSubmitted && pageForm.get('email').errors && inx==submitedIndex\">\n                  Please enter valid email\n                </small>\n              </div>\n              <div>\n                <button type=\"submit\" class=\"btn btn primary btn-md\">Submit</button>\n              </div>\n            </form>\n          </div>\n        </div> -->\n\n      </div>\n    </div>\n  </div>\n</div>","styles":[".zc-fixed-header{background-color:#1d72b7;padding:25px 35px 25px 50px;justify-content:space-between;align-items:center;margin:-40px -40px 0;display:block!important}.zc-fixed-header .zc-header-left{flex:1;max-width:400px}.zc-fixed-header .zc-header-left h4{font-size:21px;color:#fff;margin:0 0 5px;font-weight:400;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.zc-fixed-header .zc-header-left div{color:#103b5f;width:340px;display:flex}.zc-fixed-header .zc-header-left div span{font-size:14px;color:#103b5f;padding:0 10px 0 0;width:160px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1400px){.zc-fixed-header .zc-header-left,.zc-fixed-header .zc-header-left div{max-width:320px}.zc-fixed-header .zc-header-left div span{max-width:120px}}.zc-fixed-header .zc-header-left div span:last-child{padding-left:10px}.zc-fixed-header .zc-header-middle{flex:1;display:flex;justify-content:space-between}.zc-fixed-header .zc-header-middle ul{display:flex;list-style:none;padding:0;margin:0;align-items:center;width:100%}.zc-fixed-header .zc-header-middle ul li{flex:1 1 auto;position:relative}.zc-fixed-header .zc-header-middle ul li span{font-size:12px;color:#103b5f}.zc-fixed-header .zc-header-middle ul li div{color:#fff;padding-top:5px}.zc-fixed-header .zc-header-middle ul li div span{color:#fff;padding-top:5px;font-size:16px}@media (max-width:1024px){.zc-fixed-header .zc-header-middle ul li.header-fields{display:none}.zc-fixed-header .zc-header-middle ul li.header-fields:last-child{display:block;flex:auto!important}}.zc-fixed-header .zc-header-middle .status{width:150px;font-size:16px;position:relative}.zc-fixed-header .zc-header-middle .status:before{content:'';background-color:#fff176;position:absolute;display:block;width:2px;height:125%;top:-5px;left:-25px}.zc-fixed-header .zc-header-middle .status:after{content:'';position:absolute;display:block;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:15px solid #fff176;top:-2px;left:-25px}.zc-fixed-header .zc-header-middle .status span{font-size:18px;color:#fff176;width:100%;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.zc-fixed-header .zc-header-middle .status div{color:#fff;padding-top:5px}.zc-fixed-header .zc-header-middle .status div span{color:#fff;padding-top:5px;font-size:16px}.zc-fixed-header .zc-header-right{flex:1;max-width:30px}.zc-fixed-header .zc-header-right a{font-size:28px;color:#8fb9db}.zc-fixed-header .zc-header-right a:after{display:none}.zc-fixed-header .zc-header-right .dropdown-menu{min-width:360px;font-size:16px;padding:0;box-shadow:0 8px 25px #999;border:none}.zc-fixed-header .zc-header-right .dropdown-menu button{outline:0;border-bottom:1px solid #f6f6f6;line-height:2.5}.zc-fixed-header .zc-header-right .dropdown-menu button i{float:right;font-size:16px;padding:8px 0}.zc-stage{border:1px solid #e0e0e0;border-radius:3px;box-shadow:0 0 20px #e6e6e6}.zc-stage h4{color:#1d72b7;padding:15px 40px;margin:0;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;background-color:#fff}.zc-stage .zc-stage-header{padding:20px 40px;background-color:#fafafa;color:#424242;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e0e0}.zc-stage .zc-stage-header .zc-stage-header-left h3{margin:0;font-size:26px;color:#424242;padding-bottom:5px}.zc-stage .zc-stage-header .zc-stage-header-left span{font-style:italic;color:#9e9e9e;font-size:14px}.zc-stage .zc-stage-header .zc-stage-header-right{display:flex}.zc-stage .zc-stage-header .zc-stage-header-right .zc-widget-form-footer{text-align:right;flex:auto}.zc-stage .zc-stage-header .zc-stage-header-right ul{display:flex}.zc-stage .zc-stage-header .zc-stage-header-right .arrows{display:flex;align-items:center}.zc-stage .zc-stage-header .zc-stage-header-right .arrows a{padding:10px;font-size:32px;cursor:pointer;color:#757575}.zc-stage .zc-stage-header .zc-stage-header-right .arrows a:hover{background:#fff;border-radius:50%}.zc-stage .zc-stage-header .zc-stage-header-right .arrows ul{list-style-type:none}.zc-stage .zc-stage-header .zc-stage-header-right .arrows .preview-form{display:inline-block;padding-right:15px}.zc-stage .zc-stage-header .zc-stage-header-right .arrows .preview-form a{padding:10px 0 10px 10px;font-size:32px;color:#1d72b7}.zc-stage .zc-stage-contain{background-color:#fff;padding:30px 40px}.zc-stage .zc-stage-contain .section-info{padding:10px 0}.zc-stage .zc-stage-contain .Assignment-section{display:flex;justify-content:center;text-align:center}.zc-stage .zc-stage-contain .Assignment-section .section{border:1px solid #000;padding:10px 5px}.zc-widget-stage-form{padding:40px 0;position:relative}.zc-widget-stage-form .stage-menu{display:block;cursor:pointer;position:fixed;left:200px;font-size:24px;padding:5px;transition:all .3s;z-index:3}.zc-widget-stage-form .stage-menu i{background-color:#ef008c;padding:5px;color:#fff;border-radius:50%;width:40px;height:40px;display:block;text-align:center;line-height:30px}.zc-widget-stage-form .stage-list{background-color:#e0e0e0;height:calc(100vh - 170px);max-width:300px;padding:15px;position:fixed;-webkit-transform:translateX(-100%);transform:translateX(-100%);transition:all .3s;z-index:2;overflow-y:auto}.zc-widget-stage-form .stage-list ul{list-style:none;margin:0;padding:0;position:relative}.zc-widget-stage-form .stage-list ul li{font-size:18px;font-weight:600;text-transform:uppercase;position:relative}.zc-widget-stage-form .stage-list ul li .stage-list-header{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:30px;color:#757575}.zc-widget-stage-form .stage-list ul li .stage-list-header.disabled{opacity:.5}.zc-widget-stage-form .stage-list ul li .stage-list-header .sequence-no{max-width:25px;height:25px;border-radius:50%;border:3px solid #bacbdb;background-color:#fff;display:inline-block;text-align:center;line-height:20px;font-size:12px;flex:1}.zc-widget-stage-form .stage-list ul li .stage-list-header .sequence-no i{font-size:16px;padding:1px;text-align:center;display:block}.zc-widget-stage-form .stage-list ul li .stage-list-header .stage-list-title{flex:1;padding-left:10px}.zc-widget-stage-form .stage-list ul li .stage-list-header i{cursor:pointer;flex:1;max-width:30px;padding:5px}.zc-widget-stage-form .stage-list ul li .stage-list-header.disabled+ul li .inside-list{cursor:not-allowed}.zc-widget-stage-form .stage-list ul li.active .stage-list-header{color:#1d72b7}.zc-widget-stage-form .stage-list ul li.active .stage-list-header .sequence-no{background-color:#1d72b7;color:#fff}.zc-widget-stage-form .stage-list ul li.active .stage-list-header .sequence-no i{color:#fff}.zc-widget-stage-form .stage-list ul li.active .stage-list-header i{color:#757575}.zc-widget-stage-form .stage-list ul:before{content:'';display:block;position:absolute;width:1px;height:calc(100% - 15px);background-color:#ccc;left:12px;top:8px;z-index:-1}.zc-widget-stage-form .stage-list ul.stage-form{padding-left:6px}.zc-widget-stage-form .stage-list ul.stage-form li{font-size:16px;text-transform:initial;font-weight:400;margin-bottom:13px}.zc-widget-stage-form .stage-list ul.stage-form li .inside-list{display:flex;flex-wrap:wrap;align-items:center;color:#fff;cursor:pointer}.zc-widget-stage-form .stage-list ul.stage-form li .inside-list .inside-list-circle{flex:1;max-width:13px;height:13px;border:3px solid #bacbdb;background-color:#fff;border-radius:50%}.zc-widget-stage-form .stage-list ul.stage-form li .inside-list .inside-list-title{flex:1;padding-left:17px}.zc-widget-stage-form .stage-list ul.stage-form li .inside-list i{flex:1;max-width:30px;padding:5px}.zc-widget-stage-form .stage-list ul.stage-form li.active .inside-list{color:#1d72b7}.zc-widget-stage-form .stage-list ul.stage-form li.active .inside-list .inside-list-circle{visibility:visible;background-color:#1d72b7;position:relative}.zc-widget-stage-form .stage-list ul.stage-form li.active .inside-list .inside-list-circle:before{content:'';position:absolute;height:1px;width:20px;background-color:#e0e0e0;top:50%;left:0;z-index:-1}.zc-widget-stage-form .stage-list ul.stage-form li.active .inside-list i{color:#757575}.zc-widget-stage-form .stage-list ul.stage-form li.active.form-done .inside-list{color:#1d72b7}.zc-widget-stage-form .stage-list ul.stage-form li.active.form-done .inside-list i{color:#1ea179}.zc-widget-stage-form .stage-list ul.stage-form li.form-done .inside-list{color:#fff}.zc-widget-stage-form .stage-list ul.stage-form li.form-done .inside-list i{color:#1ea179}.zc-widget-stage-form .col-8{max-width:100%;flex:0 0 100%}.zc-progress-bar{display:flex;align-items:center}.zc-progress-bar ngb-progressbar{width:100%}.text-danger{color:#f86c6b!important}"]}]}],"members":{"properties":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":176,"character":3}}]}],"zcForm":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":191,"character":3},"arguments":["zcForm"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":205,"character":30}]}],"ngOnInit":[{"__symbolic":"method"}],"getStageHeaderInfo":[{"__symbolic":"method"}],"getStageList":[{"__symbolic":"method"}],"clickStageForm":[{"__symbolic":"method"}],"formSubmit":[{"__symbolic":"method"}],"submitForm":[{"__symbolic":"method"}],"saveForm":[{"__symbolic":"method"}],"checkNextStageFrom":[{"__symbolic":"method"}],"draftFrom":[{"__symbolic":"method"}],"gotoNextStageFrom":[{"__symbolic":"method"}],"gotoPreviousStageFrom":[{"__symbolic":"method"}],"checkPreviousStageFrom":[{"__symbolic":"method"}],"getPercentageOfStage":[{"__symbolic":"method"}],"onSubmit":[{"__symbolic":"method"}],"getAttachmentPageDetails":[{"__symbolic":"method"}],"surveyFormSubmit":[{"__symbolic":"method"}],"checkSubmitStatus":[{"__symbolic":"method"}],"updateStageList":[{"__symbolic":"method"}],"previewSurvey":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"zc-stage-form","template":"<div class=\"zc-fixed-header\">\n  <div class=\"zc-header-left\">\n    <h4 title=\"{{headerData[fixedFieldKeys['name']]}}\">{{headerData[fixedFieldKeys['name']]}}</h4>\n    <div>\n      <span title=\"{{headerData[fixedFieldKeys['product']]}}\">{{headerData[fixedFieldKeys['product']]}}</span> |\n      <span title=\"{{headerData[fixedFieldKeys['category']]}}\">{{headerData[fixedFieldKeys['category']]}}</span>\n    </div>\n  </div>\n  <div class=\"zc-header-middle\">\n    <ul>\n      <ng-container *ngFor=\"let field of headerFields\">\n        <li class=\"header-fields\" *ngIf=\"(field.expression)? (headerData[fixedFieldKeys['status']] === field.expression.status):true\">\n          <span>{{field.label}}</span>\n          <div zcFieldValueFormat [type]=\"field.type\" [value]=\"headerData[field.name]\"></div>\n        </li>\n      </ng-container>\n      <!-- <li>\n        <span>Submission Date</span>\n        <div>Jun 19, 2018</div>\n      </li>\n      <li>\n        <span>Requested Amount</span>\n        <div>TZS 500,000</div>\n      </li>\n      <li>\n        <span>Eligibility Status</span>\n        <div>Eligible</div>\n      </li> -->\n\n    </ul>\n    <div class=\"status\">\n      <span>{{headerData[fixedFieldKeys['status']] || '---'}}</span>\n      <div class=\"stage\">{{headerData[fixedFieldKeys['stage']] || '---'}}</div>\n    </div>\n  </div>\n  <div class=\"zc-header-right\" ngbDropdown>\n    <!-- <a class=\"icon-ellipsis\" id=\"dropdownBasic1\" ngbDropdownToggle></a>\n    <div ngbDropdownMenu aria-labelledby=\"dropdownBasic1\">\n      <button class=\"dropdown-item\">Appraisal Details\n        <i class=\"icon-eye\"></i>\n      </button>\n      <button class=\"dropdown-item\">Company Profile\n        <i class=\"icon-profile\"></i>\n      </button>\n      <button class=\"dropdown-item\">Loan History\n        <i class=\"icon-currency\"></i>\n      </button>\n    </div> -->\n  </div>\n</div>\n<zc-stage-view *ngIf=\"page=='view'\"></zc-stage-view>\n<zc-stage-history-view *ngIf=\"page=='history-view'\"></zc-stage-history-view>\n<div *ngIf=\"page=='stage'\" class=\"zc-widget-stage-form row no-gutters\">\n  <div class=\"stage-menu\" (click)=\"toggleStageMenu()\">\n    <i class=\"icon-angle-double-right\"></i>\n  </div>\n  <div class=\"stage-list col-4\">\n    <ul>\n      <li [ngClass]=\"(stage==selectedStage)?'active':''\" *ngFor=\"let stage of stageList;let inx=index;\">\n        <div class=\"stage-list-header\" [ngClass]=\"(stage.info.enabled)?'enabled':'disabled'\" (click)=\"stage.show =! stage.show\">\n          <span class=\"sequence-no\"><i class=\"icon-angle-double-right\"></i></span>\n          <span class=\"stage-list-title\">{{stage.info.label}}</span>\n          <i [ngClass]=\"(stage.show)?'icon-minus':'icon-plus-1'\"></i>\n        </div>\n        <ul *ngIf=\"stage.show\">\n          <li class=\"form-done\" [ngClass]=\"(stageForm.value==selectedStageForm.value)?'active':''\" *ngFor=\"let stageForm of stage.forms;let stageFormInx = index;\"\n            (click)=\"toggleStageMenu() && showAlert(stage.info.enabled) && clickStageForm(stage,stageFormInx)\">\n            <div class=\"inside-list\">\n              <span class=\"inside-list-circle\"></span>\n              <span class=\"inside-list-title\">{{stageForm.label}}</span>\n              <i *ngIf=\"stageForm.value==selectedStageForm.value && !stageForm.status\" class=\"icon-ellipsis-h\"></i>\n              <i *ngIf=\"stageForm.status=='save'\" class=\"icon-check-circle\"></i>\n              <i *ngIf=\"stageForm.status=='draft'\" style=\"color:orange\" class=\"icon-check-circle\"></i>\n            </div>\n          </li>\n        </ul>\n      </li>\n    </ul>\n  </div>\n  <div class=\"col-8 pl-0\">\n    <div class=\"zc-stage\" *ngIf=\"showZcForm\">\n      <div class=\"zc-header zc-stage-header\">\n        <div class=\"zc-stage-header-left\">\n          <h3>{{selectedStage?.info.label}}</h3>\n          <!-- <span>Initiated by Jeff congialosi on June 09, 2018</span> -->\n        </div>\n        <div class=\"zc-stage-header-right\">\n          <div class=\"arrows\">\n            <div class=\"zc-widget-form-footer col-12\">\n              <!-- <button class=\"btn btn-default\" *ngIf=\"this.selectedStageForm.status !=='save'\" type=\"submit\" (click)=\"draftFrom()\">Draft</button> -->\n              <ng-container *ngIf=\"selectedStageFormProperties.mode !='view'\">\n                <button class=\"btn btn-primary save\" type=\"button\" (click)=\"saveForm() && zcForm.submit()\">Save</button>\n                <!-- <button class=\"btn btn-default submit\" type=\"button\" (click)=\"submitForm() && zcForm.submit()\" *ngIf=\"!checkNextStageFrom() && selectedStage.info.completed\">Submit</button> -->\n              </ng-container>\n              <button class=\"btn btn-success\" type=\"button\" (click)=\"submitForm() && zcForm.submit()\" *ngIf=\"selectedStage.info.completed && !checkNextStageFrom()\">Review</button>\n              <!-- <button *ngIf=\"checkNextStageFrom()\" type=\"button\" (click)=\"gotoNextStageFrom()\" class=\"btn btn-success\">Next</button> -->\n            </div>\n            <!-- <span class=\"preview-form\" (click)=\"page='view'\" title=\"Review\"><a class=\"icon-eye-2\"></a></span> -->\n            <span *ngIf=\"checkPreviousStageFrom()\">\n              <a (click)=\"draftFrom('previous') \" class=\"icon-long-left-arrow\" title=\"Previous\"></a>\n            </span>\n            <span *ngIf=\"checkNextStageFrom()\">\n              <a (click)=\"draftFrom('next') \" class=\"icon-long-right-arrow\" title=\"Next\"></a>\n            </span>\n          </div>\n        </div>\n      </div>\n      <h4>{{selectedStageForm?.label}}</h4>\n      <div class=\"zc-stage-contain\" *ngIf=\"selectedStageFormProperties\">\n        <zc-widget-form #zcForm [saveDataAlert]=\"true\" [properties]='selectedStageFormProperties' [noValidation]=\"noValidation\"\n          [form]=\"form\" [model]=\"model\" (formSubmit)='formSubmit()' [showFooterContent]='false'>\n\n          <!-- <div class=\"zc-widget-form-footer col-12\" *ngIf=\"selectedStageFormProperties.mode !='view'\">\n            <button class=\"btn btn-default\" *ngIf=\"this.selectedStageForm.status !=='save'\" type=\"submit\" (click)=\"draftFrom()\">Draft</button>\n            <button class=\"btn btn-primary save\" type=\"submit\" (click)=\"saveForm()\">Save</button>\n            <button class=\"btn btn-default submit\" type=\"submit\" (click)=\"submitForm()\" *ngIf=\"this.selectedStage.info.completed\">Submit</button>\n            <button class=\"btn btn-success\" (click)=\"page='view'\">Review</button>\n            <button *ngIf=\"checkNextStageFrom()\" type=\"button\" (click)=\"gotoNextStageFrom()\" class=\"btn btn-success\">Next</button>\n          </div>        -->\n        </zc-widget-form>\n      </div>\n    </div>\n  </div>\n</div>\n\n<!-- \n  <div *ngIf=\"properties.mode==='survey'\">\n    <zc-stage-view-survey *ngIf=\"showZcForm\" [headerData]=\"headerData\" [properties]=\"properties\"></zc-stage-view-survey>\n  </div>\n  \n  <div *ngIf=\"properties.mode!=='survey'\">\n</div> -->","styles":[".zc-fixed-header{background-color:#1d72b7;padding:25px 35px 25px 50px;display:flex;justify-content:space-between;align-items:center;margin:-40px -40px 0}.zc-fixed-header .zc-header-left{flex:1;max-width:400px}.zc-fixed-header .zc-header-left h4{font-size:21px;color:#fff;margin:0 0 5px;font-weight:400;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.zc-fixed-header .zc-header-left div{color:#103b5f;width:340px;display:flex}.zc-fixed-header .zc-header-left div span{font-size:14px;color:#103b5f;padding:0 10px 0 0;width:160px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1400px){.zc-fixed-header .zc-header-left,.zc-fixed-header .zc-header-left div{max-width:320px}.zc-fixed-header .zc-header-left div span{max-width:120px}}.zc-fixed-header .zc-header-left div span:last-child{padding-left:10px}.zc-fixed-header .zc-header-middle{flex:1;display:flex;justify-content:space-between}.zc-fixed-header .zc-header-middle ul{display:flex;list-style:none;padding:0;margin:0;align-items:center;width:100%}.zc-fixed-header .zc-header-middle ul li{flex:1 1 auto;position:relative}.zc-fixed-header .zc-header-middle ul li span{font-size:12px;color:#103b5f}.zc-fixed-header .zc-header-middle ul li div{color:#fff;padding-top:5px}.zc-fixed-header .zc-header-middle ul li div span{color:#fff;padding-top:5px;font-size:16px}@media (max-width:1024px){.zc-fixed-header .zc-header-middle ul li.header-fields{display:none}.zc-fixed-header .zc-header-middle ul li.header-fields:last-child{display:block;flex:auto!important}}.zc-fixed-header .zc-header-middle .status{width:150px;font-size:16px;position:relative}.zc-fixed-header .zc-header-middle .status:before{content:'';background-color:#fff176;position:absolute;display:block;width:2px;height:125%;top:-5px;left:-25px}.zc-fixed-header .zc-header-middle .status:after{content:'';position:absolute;display:block;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:15px solid #fff176;top:-2px;left:-25px}.zc-fixed-header .zc-header-middle .status span{font-size:18px;color:#fff176;width:100%;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.zc-fixed-header .zc-header-middle .status div{color:#fff;padding-top:5px}.zc-fixed-header .zc-header-middle .status div span{color:#fff;padding-top:5px;font-size:16px}.zc-fixed-header .zc-header-right{flex:1;max-width:30px}.zc-fixed-header .zc-header-right a{font-size:28px;color:#8fb9db}.zc-fixed-header .zc-header-right a:after{display:none}.zc-fixed-header .zc-header-right .dropdown-menu{min-width:360px;font-size:16px;padding:0;box-shadow:0 8px 25px #999;border:none}.zc-fixed-header .zc-header-right .dropdown-menu button{outline:0;border-bottom:1px solid #f6f6f6;line-height:2.5}.zc-fixed-header .zc-header-right .dropdown-menu button i{float:right;font-size:16px;padding:8px 0}.zc-stage{border:1px solid #e0e0e0;border-radius:3px;box-shadow:0 0 20px #e6e6e6}.zc-stage h4{color:#1d72b7;padding:15px 40px;margin:0;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;background-color:#fff}.zc-stage .zc-stage-header{padding:20px 40px;background-color:#fafafa;color:#424242;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e0e0}.zc-stage .zc-stage-header .zc-stage-header-left h3{margin:0;font-size:26px;color:#424242;padding-bottom:5px}.zc-stage .zc-stage-header .zc-stage-header-left span{font-style:italic;color:#9e9e9e;font-size:14px}.zc-stage .zc-stage-header .zc-stage-header-right{display:flex}.zc-stage .zc-stage-header .zc-stage-header-right .zc-widget-form-footer{text-align:right;flex:auto}.zc-stage .zc-stage-header .zc-stage-header-right .arrows{display:flex}.zc-stage .zc-stage-header .zc-stage-header-right .arrows a{padding:10px;font-size:32px;cursor:pointer;color:#757575}.zc-stage .zc-stage-header .zc-stage-header-right .arrows a:hover{background:#fff;border-radius:50%}.zc-stage .zc-stage-header .zc-stage-header-right .arrows .preview-form{display:inline-block;padding-right:15px}.zc-stage .zc-stage-header .zc-stage-header-right .arrows .preview-form a{padding:10px 0 10px 10px;font-size:32px;color:#1d72b7}.zc-stage .zc-stage-contain{background-color:#fff;padding:30px 40px}.zc-widget-stage-form{padding:40px 0;position:relative}.zc-widget-stage-form .stage-menu{display:block;cursor:pointer;position:fixed;left:200px;font-size:24px;padding:5px;transition:all .3s;z-index:3}.zc-widget-stage-form .stage-menu i{background-color:#ef008c;padding:5px;color:#fff;border-radius:50%;width:40px;height:40px;display:block;text-align:center;line-height:30px}.zc-widget-stage-form .stage-list{background-color:#e0e0e0;height:calc(100vh - 170px);max-width:300px;padding:15px;position:fixed;-webkit-transform:translateX(-100%);transform:translateX(-100%);transition:all .3s;z-index:2;overflow-y:auto}.zc-widget-stage-form .stage-list ul{list-style:none;margin:0;padding:0;position:relative}.zc-widget-stage-form .stage-list ul li{font-size:18px;font-weight:600;text-transform:uppercase;position:relative}.zc-widget-stage-form .stage-list ul li .stage-list-header{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:30px;color:#757575}.zc-widget-stage-form .stage-list ul li .stage-list-header.disabled{opacity:.5}.zc-widget-stage-form .stage-list ul li .stage-list-header .sequence-no{max-width:25px;height:25px;border-radius:50%;border:3px solid #bacbdb;background-color:#fff;display:inline-block;text-align:center;line-height:20px;font-size:12px;flex:1}.zc-widget-stage-form .stage-list ul li .stage-list-header .sequence-no i{font-size:16px;padding:1px;text-align:center;display:block}.zc-widget-stage-form .stage-list ul li .stage-list-header .stage-list-title{flex:1;padding-left:10px}.zc-widget-stage-form .stage-list ul li .stage-list-header i{cursor:pointer;flex:1;max-width:30px;padding:5px}.zc-widget-stage-form .stage-list ul li .stage-list-header.disabled+ul li .inside-list{cursor:not-allowed}.zc-widget-stage-form .stage-list ul li ul{padding-left:6px}.zc-widget-stage-form .stage-list ul li ul li{font-size:16px;text-transform:initial;font-weight:400;margin-bottom:30px}.zc-widget-stage-form .stage-list ul li ul li .inside-list{display:flex;flex-wrap:wrap;align-items:center;color:#757575;cursor:pointer}.zc-widget-stage-form .stage-list ul li ul li .inside-list .inside-list-circle{flex:1;max-width:13px;height:13px;border:3px solid #bacbdb;background-color:#fff;border-radius:50%;visibility:hidden}.zc-widget-stage-form .stage-list ul li ul li .inside-list .inside-list-title{flex:1;padding-left:17px}.zc-widget-stage-form .stage-list ul li ul li .inside-list i{flex:1;max-width:30px;padding:5px}.zc-widget-stage-form .stage-list ul li ul li.active .inside-list{color:#1d72b7}.zc-widget-stage-form .stage-list ul li ul li.active .inside-list .inside-list-circle{visibility:visible;background-color:#1d72b7;position:relative}.zc-widget-stage-form .stage-list ul li ul li.active .inside-list .inside-list-circle:before{content:'';position:absolute;height:1px;width:20px;background-color:#e0e0e0;top:50%;left:0;z-index:-1}.zc-widget-stage-form .stage-list ul li ul li.active .inside-list i{color:#757575}.zc-widget-stage-form .stage-list ul li ul li.active.form-done .inside-list{color:#1d72b7}.zc-widget-stage-form .stage-list ul li ul li.active.form-done .inside-list i{color:#1ea179}.zc-widget-stage-form .stage-list ul li ul li.form-done .inside-list{color:#424242}.zc-widget-stage-form .stage-list ul li ul li.form-done .inside-list i{color:#1ea179}.zc-widget-stage-form .stage-list ul li.active .stage-list-header{color:#1d72b7}.zc-widget-stage-form .stage-list ul li.active .stage-list-header .sequence-no{background-color:#1d72b7;color:#fff}.zc-widget-stage-form .stage-list ul li.active .stage-list-header .sequence-no i{color:#fff}.zc-widget-stage-form .stage-list ul li.active .stage-list-header i{color:#757575}.zc-widget-stage-form .stage-list ul:before{content:'';display:block;position:absolute;width:1px;height:calc(100% - 15px);background-color:#ccc;left:12px;top:5px;z-index:-1}.zc-widget-stage-form .col-8{max-width:100%;flex:0 0 100%}"],"providers":[{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap/dropdown/dropdown-config","name":"NgbDropdownConfig","line":142,"character":14},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap/dropdown/dropdown","name":"NgbDropdown","line":142,"character":33}]}]}],"members":{"properties":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":145,"character":3}}]}],"zcForm":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":162,"character":3},"arguments":["zcForm"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"zc-widget-core","name":"ZcDialogService","line":163,"character":39},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":164,"character":22}]}],"ngOnInit":[{"__symbolic":"method"}],"getStageHeaderInfo":[{"__symbolic":"method"}],"getStageList":[{"__symbolic":"method"}],"clickStageForm":[{"__symbolic":"method"}],"gotoNextStageFrom":[{"__symbolic":"method"}],"gotoPreviousStageFrom":[{"__symbolic":"method"}],"checkNextStageFrom":[{"__symbolic":"method"}],"checkPreviousStageFrom":[{"__symbolic":"method"}],"draftFrom":[{"__symbolic":"method"}],"saveForm":[{"__symbolic":"method"}],"submitForm":[{"__symbolic":"method"}],"formSubmit":[{"__symbolic":"method"}],"checkStageStatus":[{"__symbolic":"method"}],"showAlert":[{"__symbolic":"method"}],"checkFormDataAlert":[{"__symbolic":"method"}],"hasClass":[{"__symbolic":"method"}],"toggleStageMenu":[{"__symbolic":"method"}],"checkShow":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"zc-stage-view","template":"<div class=\"row no-gutters zc-stage-view\">\n  <div class=\"col-8\">\n    <div class=\"stage-view-info\">\n      <div class=\"stage-view-info-header\">\n        <div class=\"number-circle\">1</div>\n        <div class=\"stage-view-info-left\">\n          <h3>{{sf.selectedStage?.info.label}}</h3>\n          <!-- <span class=\"span-date\">Initiated by Jeff Cangialosi on Jun 19, 2018 </span> -->\n          <span class=\"status\">Status:\n            <span>Submitted</span>\n          </span>\n        </div>\n        <div class=\"stage-view-info-actions\">\n          <ul>\n            <ng-container *ngIf=\"addons && addons.length >0\">\n              <li [class.active]='selectedAddon==\"review\"'>\n                <a (click)=\"ngOnInit()\">\n                  <i class=\"icon icon-eye\"></i>\n                  <span>Review</span>\n                </a>\n              </li>\n              <li [class.active]='selectedAddon==link.title' *ngFor=\"let link of addons\">\n                <a *ngIf=\"link.type !=='download'\" (click)=\"loadPage(link)\">\n                  <i [ngClass]=\"link.icon\"></i>\n                  <span>{{link.title}}</span>\n                </a>\n                <a *ngIf=\"link.type==='download'\" [href]=\"sf.properties.baseUrl+link.url+'/'+sf.properties.uid\"\n                  download [target]=\"link.target\">\n                  <i [ngClass]=\"link.icon\"></i>\n                  <span>{{link.title}}</span>\n                </a>\n              </li>\n            </ng-container>\n            <!-- <li>\n              <a>\n                <i class=\"icon-eligibility\"></i>\n                <span>Eligibility</span>\n              </a>\n            </li>\n            <li>\n              <a>\n                <i class=\"icon-analysis\"></i>\n                <span>Analysis</span>\n              </a>\n            </li>\n            <li>\n              <a [href]=\"downloadUrl\" download target=\"_blank\">\n                <i class=\"icon-print-2\"></i>\n                <span>Print</span>\n              </a>\n            </li> -->\n            <li>\n              <a (click)=\"close()\">\n                <i class=\"icon-reply\"></i>\n                <span>Back</span>\n              </a>\n            </li>\n          </ul>\n        </div>\n      </div>\n      <div class=\"stage-view-body\" *ngIf=\"pageInfo\">\n        <zc-page-render [widgetProperties]='widgetProperties' [properties]=\"pageInfo\"></zc-page-render>\n      </div>\n      <!-- <div class=\"stage-view-body\" *ngIf=\"widgets.length > 0\">\n        <ng-container *ngFor=\"let w of widgets\">\n          <zc-widget-form [properties]='w' [showFooterContent]='false'>\n            <div class=\"zc-widget-form-footer col-12\">\n            </div>\n          </zc-widget-form>\n        </ng-container>\n      </div> -->\n    </div>\n  </div>\n\n  <div class=\"col-4 stage-actions\">\n    <div class=\"actions\" *ngIf=\"actionsProps && actionsProps.action.length > 0\">\n      <h4>{{actionsProps.langProps.actionsTitle}}</h4>\n      <button class=\"btn\" (click)=\"openModal(actionContent,action)\" [ngStyle]=\"{'background-color': action.color,'color':'white' }\"\n        *ngFor=\"let action of actionsProps.action\">\n        <i [ngClass]=\"action.icon\"></i>{{action.label}}</button>\n    </div>\n    <div class=\"history\" *ngIf=\"actionsProps && actionsProps.history.length > 0\">\n      <h4>{{actionsProps.langProps.historyTitle}}</h4>\n      <div class=\"history-widget\" *ngFor=\"let action of actionsProps.history\">\n        <label>\n          <span class=\"date\">{{action.date | date:\"d-MMM-yyyy h:mm a\"}}</span>\n        </label>\n        <label>{{actionsProps.langProps.historyActionStage || 'Stage'}}:\n          <span class=\"by-name\">{{action.stage}}</span>\n        </label>\n        <label>{{actionsProps.langProps.historyActionUser || 'User'}}:\n          <span class=\"by-name\">{{action.doneBy?.name}}</span>\n        </label>\n        <label>{{actionsProps.langProps.historyActionStatus || 'Status'}}:\n          <span class=\"by-name\">{{action.status}}</span>\n        </label>\n        <label *ngIf=\"action.action?.label\">{{actionsProps.langProps.historyActionTitle}}:\n          <span class=\"forward\" [ngStyle]=\"{'color':action.action?.color}\">{{action.action?.label}}</span>\n        </label>\n      </div>\n      <div class=\"view-all\">\n        <a (click)=\"showHistory()\">{{actionsProps.langProps.viewAllTitle}}</a>\n      </div>\n    </div>\n  </div>\n</div>\n\n<ng-template #actionContent let-c=\"close\" let-d=\"dismiss\">\n  <div class=\"modal-header zc-table-form-header\">\n    <h4 class=\"modal-title\" id=\"modal-basic-title\">{{selectedAction?.label}}</h4>\n    <button type=\"button\" class=\"close\" aria-label=\"Close\" (click)=\"closeModal()\">\n      <span aria-hidden=\"true\">&times;</span>\n    </button>\n  </div>\n  <div class=\"modal-body\">\n    <div *ngIf=\"showActionForm\">\n      <zc-widget-form [properties]='selectedActionFormProperties' [form]=\"actionForm\" [model]=\"model\" (formSubmit)='formSubmit()'\n        [showFooterContent]='false'>\n        <div class=\"zc-widget-form-footer col-sm-12\">\n          <button class=\"btn btn-success\">{{selectedAction?.label}}</button>\n        </div>\n      </zc-widget-form>\n    </div>\n  </div>\n</ng-template>","styles":[".zc-stage-view .stage-view-info{border:1px solid #e0e0e0;border-radius:3px;box-shadow:0 0 20px #e6e6e6}.zc-stage-view .stage-view-info .stage-view-info-header{padding:10px 5px 10px 40px;background-color:#fafafa;color:#424242;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e0e0}.zc-stage-view .stage-view-info .stage-view-info-header .number-circle{max-width:35px;height:35px;border-radius:50%;border:3px solid #bacbdb;background-color:#1d72b7;display:inline-block;text-align:center;line-height:30px;font-size:20px;flex:1;color:#fff}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-left{padding-left:20px}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-left h3{margin:0;font-size:26px;color:#424242;padding-bottom:5px}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-left .span-date{font-style:italic;color:#9e9e9e;font-size:14px;display:block}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-left .status{color:#757575;font-size:14px;display:block;padding-top:12px}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-left .status span{color:#1d72b7}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-actions{flex:1}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-actions ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-actions ul li{text-align:center;border-left:2px solid #e0e0e0;color:#757575;padding:12px 20px;min-height:80px;min-width:100px}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-actions ul li a{display:block}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-actions ul li a i{font-size:36px}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-actions ul li a i.icon-close{padding:10px;display:block}.zc-stage-view .stage-view-info .stage-view-info-header .stage-view-info-actions ul li a span{display:block;font-size:14px}.zc-stage-view .stage-view-info .stage-view-body{background-color:#fff;padding:30px 40px}.zc-stage-view .stage-actions{padding-left:40px}.zc-stage-view .stage-actions .actions{margin-bottom:25px}.zc-stage-view .stage-actions .actions h4{margin:0 0 10px;font-size:21px}.zc-stage-view .stage-actions .actions button{display:flex;width:100%;text-align:left;margin-bottom:5px;font-size:18px;align-items:center}.zc-stage-view .stage-actions .actions button i{padding:0 15px}.zc-stage-view .stage-actions .history h4{margin:0 0 10px;font-size:21px}.zc-stage-view .stage-actions .history .history-widget{border:1px solid #e0e0e0;border-radius:3px;background-color:#fff;margin-bottom:15px;padding:20px;box-shadow:0 0 20px #e6e6e6}.zc-stage-view .stage-actions .history .history-widget label{color:#757575;display:block;margin-bottom:10px}.zc-stage-view .stage-actions .history .history-widget label .forward{color:#ef5350}.zc-stage-view .stage-actions .history .history-widget label .approved{color:#1ea179}.zc-stage-view .stage-actions .history .history-widget label .by-name{color:#1d72b7}.zc-stage-view .stage-actions .history .history-widget label .date{font-size:14px}.zc-stage-view .stage-actions .history .history-widget label:last-child{margin-bottom:0}.zc-stage-view .stage-actions .history .view-all{text-align:center}.zc-stage-view .stage-actions .history .view-all a{color:#1d72b7}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap/modal/modal.module","name":"NgbModal","line":151,"character":36},{"__symbolic":"reference","name":"ɵa"}]}],"ngOnInit":[{"__symbolic":"method"}],"loadPage":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}],"closeModal":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"getStageActions":[{"__symbolic":"method"}],"showHistory":[{"__symbolic":"method"}],"setModalForm":[{"__symbolic":"method"}],"formSubmit":[{"__symbolic":"method"}],"resetFormProperties":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"zc-stage-history-view","template":"<div class=\"zc-stage-history\">\n  <div class=\"zc-header zc-stage-header\">\n    <div class=\"zc-stage-header-left\">\n      <h3>History</h3>\n      <!-- <span>Initiated by Jeff Cangialosi on Jun 19, 2018 </span> -->\n    </div>\n    <div class=\"zc-stage-header-right\">\n      <div class=\"close\">\n        <span>\n          <a (click)=\"close()\" class=\"icon-reply\"></a>\n        </span>\n      </div>\n    </div>\n  </div>\n  <!-- <h4>Proposed Loan Related Information</h4> -->\n  <div class=\"zc-stage-contain\">\n    <!-- <zc-widget-form [properties]='selectedStageFormProperties' [showFooterContent]='false'>\n      <div class=\"zc-widget-form-footer col-12\">\n        <button class=\"btn btn-default\">Save</button>\n        <button *ngIf=\"checkNextStageFrom()\" type=\"button\" (click)=\"gotoNextStageFrom()\" class=\"btn btn-primary\">Next</button>\n      </div>\n    </zc-widget-form> -->\n    <div class=\"zc-loan-info-history\" *ngFor=\"let stageHistory of historyList;let inx = index\">\n      <div class=\"loan-history-header\">\n        <div class=\"loan-history-header-left\">\n          <h3>{{stageHistory.info?.label}}</h3>\n          <!-- <span>User: {{history.doneBy.name}}</span> -->\n        </div>\n        <div class=\"loan-history-header-right\">\n          <!-- <span>02</span> Days -->\n        </div>\n      </div>\n      <ul>\n        <li *ngFor=\"let history of stageHistory.history\">\n          <!-- <div class=\"steps\">\n            <span class=\"step-circle\">\n              <i class=\"icon-right-check\"></i>\n              <span>Step{{inx+1}}</span>\n            </span>\n          </div> -->\n          <div class=\"loan-information\">\n            <!-- <div class=\"date\">{{history.date | date}}</div> -->\n            <ul class=\"loan-information-values-list\">\n              <li>\n                <label>Date/Time</label>\n                <span>{{history.date | date}}</span>\n              </li>\n              <li>\n                <label>From</label>\n                <span>{{history.doneBy.name}}</span>\n              </li>\n              <li>\n                <label>Action</label>\n                <span class=\"forward\">{{history.action.label || '---'}}</span>\n              </li>\n              <li>\n                <label>To</label>\n                <span>{{history.assignedTo.name}}</span>\n              </li>\n              <!-- <li>\n                <label>Task Duration</label>\n                <span>2 Days</span>\n              </li>\n              <li>\n                <label>Interest Rate</label>\n                <span>10.5%</span>\n              </li>\n              <li>\n                <label>Amount</label>\n                <span>15,21,000.00</span>\n              </li>\n              <li>\n                <label>Tenor /Term</label>\n                <span>10.5</span>\n              </li> -->\n            </ul>\n            <p *ngIf=\"history.comment\">\n              <label >Comments</label>\n              {{history.comment}} \n            </p>\n          </div>\n        </li>\n      </ul>\n    </div>\n    <!-- <div class=\"zc-loan-info-history\">\n      <div class=\"loan-history-header\">\n        <div class=\"loan-history-header-left\">\n          <h3>Loan Application</h3>\n          <span>User: Willium</span>\n        </div>\n        <div class=\"loan-history-header-right\">\n          <span>10</span> Hours\n        </div>\n      </div>\n      <ul>\n        <li>\n          <div class=\"steps\">\n            <span class=\"step-circle\">\n              <i class=\"icon-check\"></i>\n              <span>Step4</span>\n            </span>\n          </div>\n          <div class=\"loan-information\">\n            <div class=\"date\">11/08/2015 03:33:56 PM</div>\n            <ul class=\"loan-information-values-list\">\n              <li>\n                <label>From</label>\n                <span>GIL PMO Management</span>\n              </li>\n              <li>\n                <label>Action</label>\n                <span class=\"forward\">Forwarded</span>\n              </li>\n              <li>\n                <label>To</label>\n                <span>Gopinath Srinivasan</span>\n              </li>\n              <li>\n                <label>Task Duration</label>\n                <span>3 Days</span>\n              </li>\n              <li>\n                <label>Interest Rate</label>\n                <span>10.5%</span>\n              </li>\n              <li>\n                <label>Amount</label>\n                <span>15,21,000.00</span>\n              </li>\n              <li>\n                <label>Tenor /Term</label>\n                <span>10.5</span>\n              </li>\n            </ul>\n            <p>Candidate must poses at least a bachelor of Science, Batchlor of Computer Application, Bachelor of Engineering/\n              Technology, Master of computer Application/ Computer Science or Equivalent </p>\n          </div>\n        </li>\n        <li>\n          <div class=\"steps\">\n            <span class=\"step-circle\">\n              <i class=\"icon-check\"></i>\n              <span>Step3</span>\n            </span>\n          </div>\n          <div class=\"loan-information\">\n            <div class=\"date\">11/08/2015 03:33:56 PM</div>\n            <ul class=\"loan-information-values-list\">\n              <li>\n                <label>From</label>\n                <span>GIL PMO Management</span>\n              </li>\n              <li>\n                <label>Action</label>\n                <span class=\"approved\">Approved</span>\n              </li>\n              <li>\n                <label>To</label>\n                <span>Gopinath Srinivasan</span>\n              </li>\n              <li>\n                <label>Task Duration</label>\n                <span>2 Days</span>\n              </li>\n              <li>\n                <label>Interest Rate</label>\n                <span>10.5%</span>\n              </li>\n              <li>\n                <label>Amount</label>\n                <span>15,21,000.00</span>\n              </li>\n              <li>\n                <label>Tenor /Term</label>\n                <span>10.5</span>\n              </li>\n            </ul>\n            <p>Candidate must poses at least a bachelor of Science, Batchlor of Computer Application, Bachelor of Engineering/\n              Technology, Master of computer Application/ Computer Science or Equivalent </p>\n          </div>\n        </li>\n        <li>\n          <div class=\"steps\">\n            <span class=\"step-circle\">\n              <i class=\"icon-check\"></i>\n              <span>Step2</span>\n            </span>\n          </div>\n          <div class=\"loan-information\">\n            <div class=\"date\">11/08/2015 03:33:56 PM</div>\n            <ul class=\"loan-information-values-list\">\n              <li>\n                <label>From</label>\n                <span>GIL PMO Management</span>\n              </li>\n              <li>\n                <label>Action</label>\n                <span class=\"approved\">Approved</span>\n              </li>\n              <li>\n                <label>To</label>\n                <span>Gopinath Srinivasan</span>\n              </li>\n              <li>\n                <label>Task Duration</label>\n                <span>2 Days</span>\n              </li>\n              <li>\n                <label>Interest Rate</label>\n                <span>10.5%</span>\n              </li>\n              <li>\n                <label>Amount</label>\n                <span>15,21,000.00</span>\n              </li>\n              <li>\n                <label>Tenor /Term</label>\n                <span>10.5</span>\n              </li>\n            </ul>\n            <p>Candidate must poses at least a bachelor of Science, Batchlor of Computer Application, Bachelor of Engineering/\n              Technology, Master of computer Application/ Computer Science or Equivalent </p>\n          </div>\n        </li>\n        <li>\n          <div class=\"steps\">\n            <span class=\"step-circle\">\n              <i class=\"icon-check\"></i>\n              <span>Step1</span>\n            </span>\n          </div>\n          <div class=\"loan-information\">\n            <div class=\"date\">11/08/2015 03:33:56 PM</div>\n            <ul class=\"loan-information-values-list\">\n              <li>\n                <label>From</label>\n                <span>GIL PMO Management</span>\n              </li>\n              <li>\n                <label>Action</label>\n                <span class=\"approved\">Approved</span>\n              </li>\n              <li>\n                <label>To</label>\n                <span>Gopinath Srinivasan</span>\n              </li>\n              <li>\n                <label>Task Duration</label>\n                <span>2 Days</span>\n              </li>\n              <li>\n                <label>Interest Rate</label>\n                <span>10.5%</span>\n              </li>\n              <li>\n                <label>Amount</label>\n                <span>15,21,000.00</span>\n              </li>\n              <li>\n                <label>Tenor /Term</label>\n                <span>10.5</span>\n              </li>\n            </ul>\n            <p>Candidate must poses at least a bachelor of Science, Batchlor of Computer Application, Bachelor of Engineering/\n              Technology, Master of computer Application/ Computer Science or Equivalent </p>\n          </div>\n        </li>\n      </ul>\n    </div> -->\n  </div>\n</div>","styles":[".zc-stage-history{border:1px solid #e0e0e0;border-radius:3px;box-shadow:0 0 20px #e6e6e6;margin-top:20px}.zc-stage-history h4{color:#1d72b7;padding:15px 40px;margin:1px 0 0;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;background-color:#fff}.zc-stage-history .zc-stage-header{padding:20px 40px;background-color:#fafafa;color:#424242;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e0e0}.zc-stage-history .zc-stage-header .zc-stage-header-left h3{margin:0;font-size:26px;color:#424242;padding-bottom:5px}.zc-stage-history .zc-stage-header .zc-stage-header-left span{font-style:italic;color:#9e9e9e;font-size:14px}.zc-stage-history .zc-stage-header .zc-stage-header-right .close a{padding:10px 0 10px 10px;font-size:32px;cursor:pointer;color:#757575}.zc-stage-history .zc-stage-contain{background-color:#fff;padding:30px 40px}.zc-stage-history .zc-stage-contain .zc-loan-info-history .loan-history-header{display:flex;flex:100%;justify-content:space-between;color:#fff;padding:5px 20px;background-color:#afd4f2;align-items:center}.zc-stage-history .zc-stage-contain .zc-loan-info-history .loan-history-header .loan-history-header-left h3{margin:0}.zc-stage-history .zc-stage-contain .zc-loan-info-history .loan-history-header .loan-history-header-right span{display:block;text-align:center;font-size:21px}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li{display:flex;padding:0 15px 30px;border-bottom:1px solid #e0e0e0;position:relative;margin-bottom:10px}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li:last-child{border-bottom:none}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .steps{width:215px;flex:0 0 127px;padding-top:12px}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .steps .step-circle{width:63px;height:63px;border:1px solid #e0e0e0;border-radius:50%;background-color:#21ce99;color:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .steps .step-circle i{font-size:21px}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information{display:flex;flex-direction:column;width:100%}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information .date{color:#000}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information .loan-appraisal-btn{position:absolute;top:-19px;left:0;width:100%;display:flex;justify-content:center}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information .loan-appraisal-btn button{font-size:21px;border-radius:0;padding:3px 15px}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information ul.loan-information-values-list{padding:20px 0 5px;display:flex;flex-wrap:wrap}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information ul.loan-information-values-list li{flex:25%;padding:0 0 10px;display:flex;border:none;margin:0;flex-direction:column}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information ul.loan-information-values-list li label{color:#757575;min-width:105px}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information ul.loan-information-values-list li span{color:#1d72b7;font-size:18px}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information ul.loan-information-values-list li span.forward{color:#1d72b7}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information ul.loan-information-values-list li span.approved{color:#1ea179}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information p{font-size:18px;margin:0}.zc-stage-history .zc-stage-contain .zc-loan-info-history ul li .loan-information p label{font-size:14px;display:block}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnInit":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"zc-widget-stage-form","template":"<ng-container [ngSwitch]=\"properties.mode\">\n  <ng-container *ngSwitchCase=\"'survey'\">\n    <zc-surve-form [properties]=\"properties\"></zc-surve-form>\n  </ng-container>\n  <ng-container *ngSwitchDefault>\n    <zc-stage-form [properties]=\"properties\"></zc-stage-form>\n  </ng-container>\n</ng-container>","styles":[".zc-fixed-header{background-color:#1d72b7;padding:25px 35px 25px 50px;display:flex;justify-content:space-between;align-items:center;margin:-40px -40px 0}.zc-fixed-header .zc-header-left{flex:1;max-width:400px}.zc-fixed-header .zc-header-left h4{font-size:21px;color:#fff;margin:0 0 5px;font-weight:400;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.zc-fixed-header .zc-header-left div{color:#103b5f;width:340px;display:flex}.zc-fixed-header .zc-header-left div span{font-size:14px;color:#103b5f;padding:0 10px 0 0;width:160px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1400px){.zc-fixed-header .zc-header-left,.zc-fixed-header .zc-header-left div{max-width:320px}.zc-fixed-header .zc-header-left div span{max-width:120px}}.zc-fixed-header .zc-header-left div span:last-child{padding-left:10px}.zc-fixed-header .zc-header-middle{flex:1;display:flex;justify-content:space-between}.zc-fixed-header .zc-header-middle ul{display:flex;list-style:none;padding:0;margin:0;align-items:center;width:100%}.zc-fixed-header .zc-header-middle ul li{flex:1 1 auto;position:relative}.zc-fixed-header .zc-header-middle ul li span{font-size:12px;color:#103b5f}.zc-fixed-header .zc-header-middle ul li div{color:#fff;padding-top:5px}.zc-fixed-header .zc-header-middle ul li div span{color:#fff;padding-top:5px;font-size:16px}@media (max-width:1024px){.zc-fixed-header .zc-header-middle ul li.header-fields{display:none}.zc-fixed-header .zc-header-middle ul li.header-fields:last-child{display:block;flex:auto!important}}.zc-fixed-header .zc-header-middle .status{width:150px;font-size:16px;position:relative}.zc-fixed-header .zc-header-middle .status:before{content:'';background-color:#fff176;position:absolute;display:block;width:2px;height:125%;top:-5px;left:-25px}.zc-fixed-header .zc-header-middle .status:after{content:'';position:absolute;display:block;border-top:10px solid transparent;border-bottom:10px solid transparent;border-left:15px solid #fff176;top:-2px;left:-25px}.zc-fixed-header .zc-header-middle .status span{font-size:18px;color:#fff176;width:100%;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.zc-fixed-header .zc-header-middle .status div{color:#fff;padding-top:5px}.zc-fixed-header .zc-header-middle .status div span{color:#fff;padding-top:5px;font-size:16px}.zc-fixed-header .zc-header-right{flex:1;max-width:30px}.zc-fixed-header .zc-header-right a{font-size:28px;color:#8fb9db}.zc-fixed-header .zc-header-right a:after{display:none}.zc-fixed-header .zc-header-right .dropdown-menu{min-width:360px;font-size:16px;padding:0;box-shadow:0 8px 25px #999;border:none}.zc-fixed-header .zc-header-right .dropdown-menu button{outline:0;border-bottom:1px solid #f6f6f6;line-height:2.5}.zc-fixed-header .zc-header-right .dropdown-menu button i{float:right;font-size:16px;padding:8px 0}.zc-stage{border:1px solid #e0e0e0;border-radius:3px;box-shadow:0 0 20px #e6e6e6}.zc-stage h4{color:#1d72b7;padding:15px 40px;margin:0;border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0;background-color:#fff}.zc-stage .zc-stage-header{padding:20px 40px;background-color:#fafafa;color:#424242;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e0e0}.zc-stage .zc-stage-header .zc-stage-header-left h3{margin:0;font-size:26px;color:#424242;padding-bottom:5px}.zc-stage .zc-stage-header .zc-stage-header-left span{font-style:italic;color:#9e9e9e;font-size:14px}.zc-stage .zc-stage-header .zc-stage-header-right{display:flex}.zc-stage .zc-stage-header .zc-stage-header-right .zc-widget-form-footer{text-align:right;flex:auto}.zc-stage .zc-stage-header .zc-stage-header-right .arrows{display:flex}.zc-stage .zc-stage-header .zc-stage-header-right .arrows a{padding:10px;font-size:32px;cursor:pointer;color:#757575}.zc-stage .zc-stage-header .zc-stage-header-right .arrows a:hover{background:#fff;border-radius:50%}.zc-stage .zc-stage-header .zc-stage-header-right .arrows .preview-form{display:inline-block;padding-right:15px}.zc-stage .zc-stage-header .zc-stage-header-right .arrows .preview-form a{padding:10px 0 10px 10px;font-size:32px;color:#1d72b7}.zc-stage .zc-stage-contain{background-color:#fff;padding:30px 40px}.zc-widget-stage-form{padding:40px 0;position:relative}.zc-widget-stage-form .stage-menu{display:block;cursor:pointer;position:fixed;left:200px;font-size:24px;padding:5px;transition:all .3s;z-index:3}.zc-widget-stage-form .stage-menu i{background-color:#ef008c;padding:5px;color:#fff;border-radius:50%;width:40px;height:40px;display:block;text-align:center;line-height:30px}.zc-widget-stage-form .stage-list{background-color:#e0e0e0;height:calc(100vh - 170px);max-width:300px;padding:15px;position:fixed;-webkit-transform:translateX(-100%);transform:translateX(-100%);transition:all .3s;z-index:2;overflow-y:auto}.zc-widget-stage-form .stage-list ul{list-style:none;margin:0;padding:0;position:relative}.zc-widget-stage-form .stage-list ul li{font-size:18px;font-weight:600;text-transform:uppercase;position:relative}.zc-widget-stage-form .stage-list ul li .stage-list-header{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:30px;color:#757575}.zc-widget-stage-form .stage-list ul li .stage-list-header.disabled{opacity:.5}.zc-widget-stage-form .stage-list ul li .stage-list-header .sequence-no{max-width:25px;height:25px;border-radius:50%;border:3px solid #bacbdb;background-color:#fff;display:inline-block;text-align:center;line-height:20px;font-size:12px;flex:1}.zc-widget-stage-form .stage-list ul li .stage-list-header .sequence-no i{font-size:16px;padding:1px;text-align:center;display:block}.zc-widget-stage-form .stage-list ul li .stage-list-header .stage-list-title{flex:1;padding-left:10px}.zc-widget-stage-form .stage-list ul li .stage-list-header i{cursor:pointer;flex:1;max-width:30px;padding:5px}.zc-widget-stage-form .stage-list ul li .stage-list-header.disabled+ul li .inside-list{cursor:not-allowed}.zc-widget-stage-form .stage-list ul li ul{padding-left:6px}.zc-widget-stage-form .stage-list ul li ul li{font-size:16px;text-transform:initial;font-weight:400;margin-bottom:30px}.zc-widget-stage-form .stage-list ul li ul li .inside-list{display:flex;flex-wrap:wrap;align-items:center;color:#757575;cursor:pointer}.zc-widget-stage-form .stage-list ul li ul li .inside-list .inside-list-circle{flex:1;max-width:13px;height:13px;border:3px solid #bacbdb;background-color:#fff;border-radius:50%;visibility:hidden}.zc-widget-stage-form .stage-list ul li ul li .inside-list .inside-list-title{flex:1;padding-left:17px}.zc-widget-stage-form .stage-list ul li ul li .inside-list i{flex:1;max-width:30px;padding:5px}.zc-widget-stage-form .stage-list ul li ul li.active .inside-list{color:#1d72b7}.zc-widget-stage-form .stage-list ul li ul li.active .inside-list .inside-list-circle{visibility:visible;background-color:#1d72b7;position:relative}.zc-widget-stage-form .stage-list ul li ul li.active .inside-list .inside-list-circle:before{content:'';position:absolute;height:1px;width:20px;background-color:#e0e0e0;top:50%;left:0;z-index:-1}.zc-widget-stage-form .stage-list ul li ul li.active .inside-list i{color:#757575}.zc-widget-stage-form .stage-list ul li ul li.active.form-done .inside-list{color:#1d72b7}.zc-widget-stage-form .stage-list ul li ul li.active.form-done .inside-list i{color:#1ea179}.zc-widget-stage-form .stage-list ul li ul li.form-done .inside-list{color:#424242}.zc-widget-stage-form .stage-list ul li ul li.form-done .inside-list i{color:#1ea179}.zc-widget-stage-form .stage-list ul li.active .stage-list-header{color:#1d72b7}.zc-widget-stage-form .stage-list ul li.active .stage-list-header .sequence-no{background-color:#1d72b7;color:#fff}.zc-widget-stage-form .stage-list ul li.active .stage-list-header .sequence-no i{color:#fff}.zc-widget-stage-form .stage-list ul li.active .stage-list-header i{color:#757575}.zc-widget-stage-form .stage-list ul:before{content:'';display:block;position:absolute;width:1px;height:calc(100% - 15px);background-color:#ccc;left:12px;top:5px;z-index:-1}.zc-widget-stage-form .col-8{max-width:100%;flex:0 0 100%}"]}]}],"members":{"properties":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"ZcWidgetStageFormService":"./lib/zc-widget-stage-form.service","StageFormModule":"./lib/stage-form/stage-form.module","ZcWidgetStageFormModule":"./lib/zc-widget-stage-form.module","ZcWidgetStageFormConfig":"./lib/zc-widget-stage-form-config","Stage":"./lib/zc-widget-stage-form-config","StageForm":"./lib/zc-widget-stage-form-config","StageFormActionsConfig":"./lib/zc-widget-stage-form-config","LangProps":"./lib/zc-widget-stage-form-config","Action":"./lib/zc-widget-stage-form-config","History":"./lib/zc-widget-stage-form-config","SurveFormModule":"./lib/survey-form/surve-form.module","SurveFormComponent":"./lib/survey-form/surve-form/surve-form.component","ɵa":"./lib/stage-form/stage-form.component","ɵb":"./lib/stage-form/stage-view/stage-view.component","ɵc":"./lib/stage-form/stage-history-view/stage-history-view.component","ɵd":"./lib/zc-widget-stage-form.component"},"importAs":"zc-widget-stage-form"}