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","ViewOrganization","ManageOrganization","ViewOrganizationSettings","ManageOrganizationSettings","ViewDonorInformation","ManageDonorInformation","ViewUsers","ManageUsers","ManageManualDeposits","ViewManualDeposits","ViewRecurringPayments","ManageRecurringPayments","ViewOrgRecurringPayment","ManageOrgRecurringPayment","OtpMode","Phone","Email","UserType","Individual","Company","TransactionType","Cash","Card","eCheck","Check","ManualDeposit","Role","Donor","Organization","SuperAdmin","PaymentGatewaySessionStatus","Pending","Processed","Error","Cancelled","Declined","AlertModal","constructor","activeModal","this","alertMessage","title","buttonText","close","static","t","i0","i1","_angular_core__WEBPACK_IMPORTED_MODULE_0__","VBU","selectors","inputs","decls","vars","consts","template","rf","ctx","item_r2","_r1","$implicit","ctx_r2","onClickPage","_c0","activePage","PaginationComponent","changeDetectorRef","totalRecords","recordsPerPage","pages","pageChangeSubject","BehaviorSubject","pageChange$","asObservable","ngOnChanges","pageCount","getPageCount","getArrayOfPage","detectChanges","totalPage","roundedPageCount","Math","floor","pageArray","i","push","getPageOption","skip","take","next","previous","gotoFirstPage","pageNumber","length","features","PaginationComponent_li_6_Template","GenericValidator","validationMessages","processMessages","container","messages","controlKey","controls","hasOwnProperty","c","FormGroup","childMessages","Object","assign","FormArray","forEach","arrayElementFormGroup","dirty","touched","errors","keys","map","messageKey","processMessagesV2","skipTouched","getErrorCount","errorCount","console","log","requiredStringValidator","control","value","trim","requiredString","debounceTime","dueTime","scheduler","asyncScheduler","operate","source","subscriber","activeTask","lastValue","lastTime","emit","unsubscribe","emitWhenIdle","targetTime","now","schedule","undefined","add","subscribe","createOperatorSubscriber","complete"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/models/enum.ts","./src/app/shared/components/alert-modal/alert-modal.component.ts","./src/app/shared/components/alert-modal/alert-modal.component.html","./src/app/shared/components/pagination/pagination.component.html","./src/app/shared/components/pagination/pagination.component.ts","./src/app/shared/generic-validator.ts","./src/app/shared/validators/required-string-validator.ts","./node_modules/rxjs/dist/esm/internal/operators/debounceTime.js"],"sourcesContent":["export enum Privilege {\r\n ViewOrganization = 1,\r\n ManageOrganization,\r\n ViewOrganizationSettings,\r\n ManageOrganizationSettings,\r\n ViewDonorInformation,\r\n ManageDonorInformation,\r\n ViewUsers,\r\n ManageUsers,\r\n ManageManualDeposits,\r\n ViewManualDeposits,\r\n ViewRecurringPayments,\r\n ManageRecurringPayments,\r\n ViewOrgRecurringPayment,\r\n ManageOrgRecurringPayment\r\n}\r\n\r\nexport enum OtpMode {\r\n Phone = 1,\r\n Email,\r\n}\r\n\r\nexport enum UserType {\r\n Individual = 1,\r\n Company\r\n}\r\n\r\nexport enum TransactionType\r\n{\r\n Cash = 1,\r\n Card = 2,\r\n eCheck = 3,\r\n Check = 4,\r\n ManualDeposit = 5\r\n}\r\n\r\nexport enum Role\r\n{\r\n Donor = 1,\r\n Organization,\r\n SuperAdmin\r\n}\r\n\r\nexport enum PaymentGatewaySessionStatus\r\n{\r\n Pending = 1,\r\n Processed,\r\n Error,\r\n Cancelled,\r\n Declined\r\n}","import { Component, Input } from \"@angular/core\";\r\nimport { NgbActiveModal } from \"@ng-bootstrap/ng-bootstrap\";\r\n\r\n@Component({\r\n templateUrl: './alert-modal.component.html'\r\n})\r\nexport class AlertModal {\r\n @Input()\r\n alertMessage: string = \"\";\r\n\r\n @Input()\r\n title: string = \"\";\r\n\r\n @Input()\r\n buttonText: string = \"\";\r\n\r\n constructor(\r\n private activeModal: NgbActiveModal,\r\n ) {\r\n\r\n }\r\n\r\n close = () => {\r\n this.activeModal.close();\r\n }\r\n}","