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ACAC,IAAgBP,WAChBQ,KACAC,MACAC,KACAC,KACAnD,KACAoD,KACAC,KACAC,KACAC,KACAC,KACAC,KACAC,KACAhE,GACAiE,SAgBKlB,CAAY","names":["UpdateColumnsModel","EformColumnsModalComponent","_EformColumnsModalComponent","constructor","eFormService","dialogRef","selectedTemplateDto","this","columnEditModel","columnModels","ngOnInit","getColumnsForTemplate","updateSize","getTemplateColumns","id","subscribe","operation","success","model","getCurrentTemplateColumns","result","updateColumns","templateId","updateTemplateColumns","data","hide","close","i0","i1","i2","MAT_DIALOG_DATA","selectors","decls","vars","consts","template","rf","ctx","$event","fieldId1","fieldId2","fieldId3","fieldId4","fieldId5","fieldId6","fieldId7","fieldId8","fieldId9","EformCreateModalComponent","_EformCreateModalComponent","availableTags","eFormCreateModel","EFormCreateModel","createTemplate","newTag","createSingle","tagIds","eFormXml","_r1","ctx_r1","folderSelected","eformDeployed","foldersDto","deployModel","folderId","_r3","checkboxModel_r4","$implicit","addToArray","isChecked","EformEditParingModalComponent_mat_card_6_ng_container_22_ng_container_7_div_1_Template","siteDto_r5","siteUId","EformEditParingModalComponent_mat_card_6_ng_container_22_ng_container_7_Template","i_r6","siteName","deployViewModel","deployCheckboxes","EformEditParingModalComponent_mat_card_6_ng_container_22_Template","sitesDto","EformEditParingModalComponent","_EformEditParingModalComponent","authStore","foldersService","sitesService","authStateService","TemplateDto","translateService","DeployModel","matchFound","saveButtonDisabled","selectCurrentUserClaimsEformsPairingRead$","select","selectCurrentUserClaimsEformsPairingRead","loadAllSites","deployedSites","length","x","getAllSitesForPairing","loadAllFolders","e","deployId","deployObject","DeployCheckbox","checked","push","filter","fillCheckboxes","siteDto","deployedSite","submitDeployment","deploySingle","getAllFolders","folder","i3","i4","i5","EformEditParingModalComponent_mat_card_4_Template","EformEditParingModalComponent_mat_card_6_Template","label","EformsStateService","_EformsStateService","store","service","selectEformsPagination$","selectEformsPagination","selectEformsFilters$","selectEformsFilters","currentFilters","FiltrationStateModel","currentPagination","CommonPaginationState","updateNameFilter","nameFilter","dispatch","updateEformFilters","filters","onSortTable","sort","localPageSettings","updateTableSort","isSortDsc","updateEformPagination","pagination","addOrRemoveTagIds","arrayToggle","updateTagIds","loadAllTemplates","getAll","offset","pageIndex","pageSize","factory","ɵfac","providedIn","_r2","ctx_r2","openEformsImportModal","_r4","openTagsModal","_c2","_r5","openNewEformModal","_r7","saveTag","removeSavedTag","selectEformsTagIds$","_r6","onLabelInputChanged","EformsPageComponent_ng_template_10_div_8_Template","selectEformsNameFilter$","selectCurrentUserClaimsEformsReadTags$","row_r8","row_r10","row_r12","createdAt","description","_r15","row_r16","openEditTagsModal","i_r17","getTags","EformsPageComponent_ng_template_23_a_2_Template","EformsPageComponent_ng_template_23_ng_container_3_Template","checkEformPermissions","userClaimsEnum","eformsUpdateTags","eformsReadTags","_r18","row_r19","openPairingModal","i_r20","_r21","EformsPageComponent_ng_template_25_button_2_Template","EformsPageComponent_ng_template_25_button_3_Template","eformsPairingUpdate","isLocked","_c3","row_r24","_r26","openEformDeleteModal","i_r25","_c4","_r27","openEditColumnsModal","_r28","downloadItem","_r29","_c5","_c6","_r30","uploadZipFile","EformsPageComponent_ng_template_27_button_1_Template","EformsPageComponent_ng_template_27_button_2_Template","EformsPageComponent_ng_template_27_a_3_Template","EformsPageComponent_ng_template_27_button_9_Template","_r22","openDuplicateConfirmModal","EformsPageComponent_ng_template_27_button_16_Template","EformsPageComponent_ng_template_27_button_17_Template","EformsPageComponent_ng_template_27_button_18_Template","EformsPageComponent_ng_template_27_button_19_Template","EformsPageComponent_ng_template_27_button_20_Template","hasCases","casesRead","eformsDelete","isEditable","menu_r31","eformsUpdateColumns","eformsGetCsv","eformsDownloadXml","excelExportEnabled","eformExportEformExcel","eformsUploadZip","EformsPageComponent","_EformsPageComponent","UserClaimsEnum","eFormTagService","securityGroupEformsService","eformsStateService","iconRegistry","sanitizer","dialog","overlay","searchSubject","Subject","templateListModel","TemplateListModel","eformPermissionsSimpleModel","selectCurrentUserClaims$","selectCurrentUserClaims","selectEformAllowManagingEformTags$","selectEformAllowManagingEformTags","selectCurrentUserClaimsEformsCreate$","selectCurrentUserClaimsEformsCreate","selectCurrentUserClaimsEformsReadTags","selectEformsTagIds","selectEformsNameFilter","selectEformsSort$","selectEformsSort","selectEformsIsSortDsc$","selectEformsIsSortDsc","tableHeaders","header","stream","field","sortProp","sortable","type","class","pinned","addSvgIconLiteral","bypassSecurityTrustHtml","WordIcon","CodeIcon","CsvIcon","FileUploadIcon","ExcelIcon","searchSubjectSub$","pipe","debounceTime","val","loadAllTags","userClaims","loadEformsPermissions","ngOnDestroy","loadAllTemplatesSub$","getAvailableTagsSub$","getAvailableTags","loadSelectedUserTags","savedTagModel","SavedTagModel","tagId","tagName","name","addSavedTagSub$","addSavedTag","deleteSavedTagSub$","deleteSavedTag","getSavedTagsSub$","getSavedTags","tagList","map","getEformsSimplePermissionsSub$","getEformsSimplePermissions","mapEformsSimplePermissions","next","sortTable","active","eformCreateModalComponentAfterClosedSub$","open","dialogConfigHelper","minWidth","afterClosed","undefined","templateDto","eformColumnsModalComponentAfterClosedSub$","eformRemoveEformModalComponentAfterClosedSub$","EformRemoveEformModalComponent","eformUploadZipModalComponentAfterClosedSub$","EformUploadZipModalComponent","itemName","downloadEformXMLSub$","downloadEformXML","blob","Blob","saveAs","downloadCSVFileSub$","downloadCSVFile","eformEditParingModalComponentAfterClosedSub$","eformEditTagsModalComponentAfterClosedSub$","EformEditTagsModalComponent","selectedTemplate","eformsBulkImportModalAfterClosedSub$","EformsBulkImportModalComponent","permissionIndex","foundEform","find","permissionsSimpleList","toString","modalTags","show","eformDuplicateConfirmModalComponentAfterClosedSub$","EformDuplicateConfirmModalComponent","tags","key","value","i6","i7","i8","core","VBU","viewQuery","EformsPageComponent_button_2_Template","EformsPageComponent_button_4_Template","EformsPageComponent_a_6_Template","EformsPageComponent_button_8_Template","EformsPageComponent_ng_template_10_Template","EformsPageComponent_ng_template_15_Template","EformsPageComponent_ng_template_17_Template","EformsPageComponent_ng_template_19_Template","EformsPageComponent_ng_template_21_Template","EformsPageComponent_ng_template_23_Template","EformsPageComponent_ng_template_25_Template","EformsPageComponent_ng_template_27_Template","templates","_c1","idTpl_r34","labelTpl_r33","createdAtTpl_r35","descriptionTpl_r36","tagsTpl_r37","pairingUpdateTpl_r38","actionsTpl_r39","toolbarTpl_r32","__decorate","AutoUnsubscribe","tslib_es6","Sn","Store","EFormService","EformTagService","SecurityGroupEformsPermissionsService","MatIconRegistry","DomSanitizer","MatDialog","Overlay","TranslateService","_EformEditTagsModalComponent","_value$availableTags","selectedTemplateTagsIds","updateTemplateTags","templateTagsUpdateModel","TemplateTagsUpdateModel","tagsIds","inputs","_EformRemoveEformModalComponent","deleteEfrom","deleteSingle","zipInput_r3","click","_EformUploadZipModalComponent","toastrService","selectBearerToken$","selectBearerToken","token","bearerToken","zipFileUploader","FileUploader","url","authToken","onBuildItemForm","item","form","append","onSuccessItem","clearQueue","instant","hideZipModal","onErrorItem","error","onAfterAddingFile","f","queue","removeFromQueue","uploadTemplateZIP","upload","EformUploadZipModalComponent_button_4_Template","EformUploadZipModalComponent_button_5_Template","_c0","progress","EformExcelReportModalComponent","_EformExcelReportModalComponent","formBuilder","downloadForm","group","dateRange","Validators","required","frame","downloadExcelReport","dateFrom","format","dateTo","downloadExcelSub$","downloadEformExcel","reset","FormBuilder","MatButtonLoading","_MatButtonLoading","_elementRef","_viewContainerRef","_renderer","loading","disabled","ngOnChanges","changes","currentValue","nativeElement","classList","add","setTimeout","setAttribute","createSpinner","firstChange","remove","removeAttribute","destroySpinner","spinner","createComponent","MatProgressSpinner","instance","color","diameter","mode","appendChild","destroy","__ngFactoryType__","ɵdir","booleanAttribute","standalone","features","MtxButtonModule","_MtxButtonModule","ɵmod","ɵinj","imports","CommonModule","MatButtonModule","MatProgressSpinnerModule","xlsxEforms_r3","ctx_r3","loaderService","isLoading","_EformsBulkImportModalComponent","xlsxEformsFileUploader","response","JSON","parse","errors","warning","excelEformsModal","setLoading","xlsxEformsInput","_","uploadExcelEformsFile","EformsBulkImportModalComponent_button_5_Template","EformsBulkImportModalComponent_button_6_Template","_EformDuplicateConfirmModalComponent","duplicateEfrom","duplicateEForms","duplicate","routes","path","component","loadChildren","Promise","all","__webpack_require__","then","bind","m","EformDocxReportModule","EformXlsxReportModule","EformVisualEditorModule","EformsRouting","_EformsRouting","RouterModule","forChild","EFormsModule","_EFormsModule","EformSharedModule","ReactiveFormsModule","FileUploadModule","FormsModule","TranslateModule","EformSharedTagsModule","MatDatepickerModule","MatInputModule","MatCheckboxModule","MatIconModule","MatDialogModule","MatMenuModule","MtxSelectModule","MatCardModule","MtxGridModule","MatTooltipModule","MatChipsModule"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/common/models/cases/request/update-columns.model.ts","./src/app/modules/eforms/components/eform-columns-modal/eform-columns-modal.component.ts","./src/app/modules/eforms/components/eform-columns-modal/eform-columns-modal.component.html","./src/app/modules/eforms/components/eform-create-modal/eform-create-modal.component.ts","./src/app/modules/eforms/components/eform-create-modal/eform-create-modal.component.html","./src/app/modules/eforms/components/eform-edit-paring-modal/eform-edit-paring-modal.component.html","./src/app/modules/eforms/components/eform-edit-paring-modal/eform-edit-paring-modal.component.ts","./src/app/modules/eforms/store/eforms-state.service.ts","./src/app/modules/eforms/components/eforms-page/eforms-page.component.html","./src/app/modules/eforms/components/eforms-page/eforms-page.component.ts","./src/app/modules/eforms/components/eform-edit-tags-modal/eform-edit-tags-modal.component.ts","./src/app/modules/eforms/components/eform-edit-tags-modal/eform-edit-tags-modal.component.html","./src/app/modules/eforms/components/eform-remove-eform-modal/eform-remove-eform-modal.component.ts","./src/app/modules/eforms/components/eform-remove-eform-modal/eform-remove-eform-modal.component.html","./src/app/modules/eforms/components/eform-upload-zip-modal/eform-upload-zip-modal.component.html","./src/app/modules/eforms/components/eform-upload-zip-modal/eform-upload-zip-modal.component.ts","./src/app/modules/eforms/components/eform-excel-report-modal/eform-excel-report-modal.component.ts","./src/app/modules/eforms/components/eform-excel-report-modal/eform-excel-report-modal.component.html","./node_modules/@ng-matero/extensions/fesm2022/mtxButton.mjs","./src/app/modules/eforms/components/eforms-bulk-import-modal/eforms-bulk-import-modal.component.html","./src/app/modules/eforms/components/eforms-bulk-import-modal/eforms-bulk-import-modal.component.ts","./src/app/modules/eforms/components/eform-duplicate-confrim-modal/eform-duplicate-confirm-modal.component.ts","./src/app/modules/eforms/components/eform-duplicate-confrim-modal/eform-duplicate-confirm-modal.component.html","./src/app/modules/eforms/eforms.routing.ts","./src/app/modules/eforms/eforms.module.ts"],"sourcesContent":["export class UpdateColumnsModel {\n templateId: number;\n fieldId1: number;\n fieldId2: number;\n fieldId3: number;\n fieldId4: number;\n fieldId5: number;\n fieldId6: number;\n fieldId7: number;\n fieldId8: number;\n fieldId9: number;\n fieldId10: number;\n}\n","import {Component, Inject, OnInit} from '@angular/core';\nimport {TemplateColumnModel, UpdateColumnsModel} from 'src/app/common/models/cases';\nimport {TemplateDto} from 'src/app/common/models/dto';\nimport {EFormService} from 'src/app/common/services/eform';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\n\n@Component({\n selector: 'app-eform-column-modal',\n templateUrl: './eform-columns-modal.component.html',\n styleUrls: ['./eform-columns-modal.component.scss']\n})\nexport class EformColumnsModalComponent implements OnInit {\n columnEditModel: UpdateColumnsModel = new UpdateColumnsModel;\n columnModels: Array = [];\n\n constructor(\n private eFormService: EFormService,\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public selectedTemplateDto: TemplateDto,) {\n }\n\n ngOnInit() {\n this.getColumnsForTemplate();\n this.dialogRef.updateSize('100%');\n }\n\n getColumnsForTemplate() {\n this.eFormService.getTemplateColumns(this.selectedTemplateDto.id).subscribe((operation) => {\n if (operation && operation.success) {\n this.columnModels = operation.model;\n this.eFormService.getCurrentTemplateColumns(this.selectedTemplateDto.id).subscribe((result) => {\n if (result && result.success) {\n this.columnEditModel = result.model;\n }\n });\n }\n });\n }\n\n updateColumns() {\n this.columnEditModel.templateId = this.selectedTemplateDto.id;\n this.eFormService.updateTemplateColumns(this.columnEditModel).subscribe((data => {\n if (data && data.success) {\n this.hide(true);\n }\n }));\n }\n\n hide(result = false) {\n this.dialogRef.close(result);\n }\n}\n","

{{ 'Select columns for displaying in Cases' | translate }}

\n
\n
\n \n {{ ('Column' | translate) + ' 1' }}\n \n \n \n \n {{ ('Column' | translate) + ' 2'}}\n \n \n \n
\n
\n \n {{ ('Column' | translate) + ' 3' }}\n \n \n \n \n {{ ('Column' | translate) + ' 4' }}\n \n \n \n
\n
\n \n {{ ('Column' | translate) + ' 5' }}\n \n \n \n \n {{ ('Column' | translate) + ' 6' }}\n \n \n \n
\n
\n \n {{ ('Column' | translate) + ' 7' }}\n \n \n \n \n {{ ('Column' | translate) + ' 8' }}\n \n \n \n
\n
\n \n {{ ('Column' | translate) + ' 9' }}\n \n \n \n
\n
\n
\n \n {{ 'Save' | translate }}\n \n \n {{ 'Cancel' | translate }}\n \n
\n","import {Component, EventEmitter, Inject, Input, OnInit, Output, ViewChild} from '@angular/core';\nimport {CommonDictionaryModel} from 'src/app/common/models/common';\nimport {EFormCreateModel} from 'src/app/common/models/eforms';\nimport {EFormService} from 'src/app/common/services/eform';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\n\n@Component({\n selector: 'app-eform-create-modal',\n templateUrl: './eform-create-modal.component.html',\n styleUrls: ['./eform-create-modal.component.scss']\n})\nexport class EformCreateModalComponent implements OnInit {\n eFormCreateModel: EFormCreateModel = new EFormCreateModel();\n\n constructor(private eFormService: EFormService,\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public availableTags: Array = []) {\n }\n\n ngOnInit() {\n }\n\n createTemplate() {\n if (!this.eFormCreateModel.newTag) {\n delete this.eFormCreateModel.newTag;\n }\n this.eFormService.createSingle(this.eFormCreateModel).subscribe((operation => {\n if (operation && operation.success) {\n this.hide(true);\n }\n }));\n }\n\n hide(result = false) {\n this.dialogRef.close(result);\n this.eFormCreateModel = new EFormCreateModel;\n }\n}\n","

{{ 'Create eForm' | translate }}

\n
\n
\n
\n \n {{ 'Tags' | translate }}\n \n \n \n
\n
\n \n \n {{'New tags' | translate}}\n \n
\n
\n \n \n {{ 'XML from eForm Builder' | translate }}\n \n
\n
\n
\n
\n \n {{'Create' | translate}}\n \n \n {{'Close' | translate}}\n \n
\n\n","

{{'eForm Pairing for' | translate}} {{selectedTemplateDto.label}}

\n
\n 0\">\n \n

{{ 'Select Folder' | translate}}

\n
\n \n \n \n
\n
\n \n \n

{{ 'Select Site' | translate}}

\n
\n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Microting ID{{ 'Site' | translate }}{{ 'Select' | translate }}
{{siteDto.siteUId}}{{siteDto.siteName}}\n \n
\n \n \n \n \n \n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n {{'Save' | translate }}\n \n \n {{'Cancel' | translate}}\n \n
\n","import {\n Component,\n Inject,\n OnInit,\n} from '@angular/core';\nimport {FolderDto, SiteNameDto, TemplateDto, DeployCheckbox, DeployModel} from 'src/app/common/models';\nimport {FoldersService, SitesService, EFormService} from 'src/app/common/services';\nimport {AuthStateService} from 'src/app/common/store';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport { TranslateService } from '@ngx-translate/core';\nimport {Store} from \"@ngrx/store\";\nimport {selectCurrentUserClaimsEformsPairingRead} from 'src/app/state/auth/auth.selector';\n\n@Component({\n selector: 'app-eform-edit-paring-modal',\n templateUrl: './eform-edit-paring-modal.component.html',\n styleUrls: ['./eform-edit-paring-modal.component.scss'],\n})\nexport class EformEditParingModalComponent implements OnInit {\n deployModel: DeployModel = new DeployModel();\n deployViewModel: DeployModel = new DeployModel();\n sitesDto: Array = [];\n matchFound = false;\n foldersDto: Array = [];\n saveButtonDisabled = true;\n eformDeployed = false;\n // tableHeaders: MtxGridColumn[] = [\n // { header: this.translateService.stream('Microting ID'), field: 'siteUId', },\n // { header: this.translateService.stream('Device user'), field: 'siteName', },\n // // { header: this.translateService.get('Select'), field: 'status' },\n // ];\n rowSelected: any[];\n private selectCurrentUserClaimsEformsPairingRead$ = this.authStore.select(selectCurrentUserClaimsEformsPairingRead);\n\n constructor(\n private authStore: Store,\n private foldersService: FoldersService,\n private eFormService: EFormService,\n private sitesService: SitesService,\n private authStateService: AuthStateService,\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public selectedTemplateDto: TemplateDto = new TemplateDto(),\n public translateService: TranslateService,\n ) {\n }\n\n ngOnInit() {\n this.loadAllSites();\n this.saveButtonDisabled = true;\n this.eformDeployed = this.selectedTemplateDto.deployedSites.length > 0;\n this.deployModel = new DeployModel();\n this.deployViewModel = new DeployModel();\n }\n\n loadAllSites() {\n this.selectCurrentUserClaimsEformsPairingRead$.subscribe((x) => {\n if (x) {\n this.sitesService.getAllSitesForPairing().subscribe((operation) => {\n if (operation && operation.success) {\n this.sitesDto = operation.model;\n this.loadAllFolders();\n }\n });\n }\n });\n // if (this.userClaims.eformsPairingRead) {\n // this.sitesService.getAllSitesForPairing().subscribe((operation) => {\n // if (operation && operation.success) {\n // this.sitesDto = operation.model;\n // this.loadAllFolders();\n // }\n // });\n // }\n }\n\n addToArray(e: any, deployId: number) {\n const deployObject = new DeployCheckbox();\n deployObject.id = deployId;\n if (e.checked) {\n deployObject.isChecked = true;\n this.deployModel.deployCheckboxes.push(deployObject);\n } else {\n this.deployModel.deployCheckboxes = this.deployModel.deployCheckboxes.filter(\n (x) => x.id !== deployId\n );\n }\n }\n\n fillCheckboxes() {\n // for (const siteDto of this.sitesDto) {\n // // @ts-ignore\n // siteDto.status = !(this.selectedTemplateDto.deployedSites.findIndex(x => x.siteUId === siteDto.siteUId) === -1);\n // }\n // // @ts-ignore\n // this.rowSelected = this.sitesDto.filter(x => x.status);\n for (const siteDto of this.sitesDto) {\n const deployObject = new DeployCheckbox();\n for (const deployedSite of this.selectedTemplateDto.deployedSites) {\n if (deployedSite.siteUId === siteDto.siteUId) {\n this.matchFound = true;\n deployObject.id = siteDto.siteUId;\n deployObject.isChecked = true;\n this.deployModel.deployCheckboxes.push(deployObject);\n }\n }\n this.deployModel.folderId = this.selectedTemplateDto.folderId;\n this.deployViewModel.id = this.selectedTemplateDto.id;\n if (\n this.foldersDto.length === 0 ||\n (this.foldersDto.length > 0 && this.deployModel.folderId)\n ) {\n this.saveButtonDisabled = false;\n }\n deployObject.id = siteDto.siteUId;\n deployObject.isChecked = this.matchFound === true;\n this.matchFound = false;\n this.deployViewModel.deployCheckboxes.push(deployObject);\n }\n }\n\n submitDeployment() {\n this.deployModel.id = this.selectedTemplateDto.id;\n this.eFormService.deploySingle(this.deployModel).subscribe((operation) => {\n if (operation && operation.success) {\n this.deployModel = new DeployModel();\n this.hide(true);\n // this.frame.hide();\n // this.deploymentFinished.emit();\n }\n });\n // this.deployModel.id = this.selectedTemplateDto.id;\n // this.deployModel.deployCheckboxes = this.rowSelected\n // .map(x => {\n // return { id: x.siteUId, isChecked: true};\n // });\n // this.eFormService.deploySingle(this.deployModel).subscribe((operation) => {\n // if (operation && operation.success) {\n // this.deployModel = new DeployModel();\n // this.hide(true);\n // }\n // });\n }\n\n loadAllFolders() {\n this.foldersService.getAllFolders().subscribe((operation) => {\n if (operation && operation.success) {\n this.foldersDto = operation.model;\n this.fillCheckboxes();\n this.deployModel.folderId = this.selectedTemplateDto.folderId;\n }\n });\n }\n\n folderSelected(folder: FolderDto) {\n this.deployModel.folderId = folder ? folder.id : null;\n if (this.deployModel.folderId != null) {\n this.saveButtonDisabled = false;\n }\n }\n\n hide(result = false) {\n this.dialogRef.close(result);\n }\n}\n","import {Injectable} from '@angular/core';\nimport {Observable, } from 'rxjs';\nimport {EFormService} from 'src/app/common/services';\nimport {\n CommonPaginationState,\n FiltrationStateModel,\n OperationDataResult,\n TemplateListModel,\n TemplateRequestModel,\n} from 'src/app/common/models';\nimport {arrayToggle, updateTableSort} from 'src/app/common/helpers';\nimport {Store} from '@ngrx/store';\nimport {\n AppState,\n selectEformsFilters,\n selectEformsPagination,\n updateEformFilters,\n updateEformPagination\n} from 'src/app/state';\n\n@Injectable({providedIn: 'root'})\nexport class EformsStateService {\n private selectEformsPagination$ = this.store.select(selectEformsPagination);\n private selectEformsFilters$ = this.store.select(selectEformsFilters);\n private currentFilters: FiltrationStateModel = new FiltrationStateModel();\n private currentPagination: CommonPaginationState = new CommonPaginationState();\n\n constructor(\n private store: Store,\n private service: EFormService,\n ) {\n this.selectEformsPagination$.subscribe(x => this.currentPagination = x);\n this.selectEformsFilters$.subscribe(x => this.currentFilters = x);\n }\n\n updateNameFilter(nameFilter: string) {\n this.store.dispatch(updateEformFilters({filters: {...this.currentFilters, nameFilter: nameFilter}}));\n }\n\n onSortTable(sort: string) {\n const localPageSettings = updateTableSort(\n sort,\n this.currentPagination.sort,\n this.currentPagination.isSortDsc\n );\n this.store.dispatch(updateEformPagination({\n pagination: {\n ...this.currentPagination,\n sort: localPageSettings.sort,\n isSortDsc: localPageSettings.isSortDsc,\n }}));\n }\n\n addOrRemoveTagIds(id: number) {\n this.store.dispatch(updateEformFilters({filters: {...this.currentFilters, tagIds: arrayToggle(this.currentFilters.tagIds, id)}}));\n }\n\n updateTagIds(tagIds: number[]) {\n this.store.dispatch(updateEformFilters({filters: {...this.currentFilters, tagIds: tagIds}}));\n }\n\n loadAllTemplates(): Observable> {\n const templateRequestModel: TemplateRequestModel = {\n nameFilter: this.currentFilters.nameFilter,\n tagIds: this.currentFilters.tagIds,\n sort: this.currentPagination.sort,\n isSortDsc: this.currentPagination.isSortDsc,\n offset: 0,\n pageIndex: 0,\n pageSize: 100000,\n };\n return this.service.getAll(templateRequestModel);\n }\n}\n\n\n","\n
\n \n file_upload\n \n \n discount\n \n \n add\n \n \n code\n \n
\n
\n\n\n\n
\n
\n \n {{ 'Search eForm' | translate }}\n \n \n
\n
\n \n {{ 'Tags' | translate }}\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n
\n
\n
\n\n\n\n
{{row.label}}
\n
\n\n
{{row.id}}
\n
\n\n \n\n\n
\n
\n\n
\n
\n \n edit\n \n \n \n \n
\n
\n
\n\n
\n
\n 0 &&\n checkEformPermissions(row.id, userClaimsEnum.eformsPairingUpdate) && !row.isLocked\"\n id=\"eform-pairing-btn-{{ i }}\"\n mat-icon-button\n color=\"accent\"\n type=\"button\"\n (click)=\"openPairingModal(row)\"\n matTooltip=\"{{\n 'Click to edit eForm pairing with user(s)' | translate\n }}\"\n >\n link\n \n \n \n link\n \n \n
\n
\n
\n\n
\n \n cases\n \n \n delete\n \n \n edit\n \n \n \n \n table_chart\n {{ 'Edit columns' | translate }}\n \n \n content_copy\n {{ 'Duplicate eForm' | translate }}\n \n \n \n {{ 'Download' | translate }} CSV\n \n \n \n {{ 'Download' | translate }} XML\n \n \n \n {{ 'Word Report' | translate }}\n \n \n \n {{ 'Download' | translate }} XLSX\n \n \n \n {{ 'Upload ZIP archive' | translate }}\n \n \n \n
\n
\n\n\n\n","import {Component, OnDestroy, OnInit, ViewChild} from '@angular/core';\nimport {Subject, Subscription} from 'rxjs';\nimport {debounceTime} from 'rxjs/operators';\nimport {CodeIcon, CsvIcon, ExcelIcon, FileUploadIcon, UserClaimsEnum, WordIcon} from 'src/app/common/const';\nimport {\n SavedTagModel,\n TemplateListModel,\n EformPermissionsSimpleModel,\n TemplateDto,\n CommonDictionaryModel, UserClaimsModel, SharedTagModel,\n} from 'src/app/common/models';\nimport {\n SecurityGroupEformsPermissionsService,\n EFormService,\n EformTagService,\n} from 'src/app/common/services';\nimport {saveAs} from 'file-saver';\nimport {EformsStateService} from '../../store';\nimport {Sort} from '@angular/material/sort';\nimport {MatIconRegistry} from '@angular/material/icon';\nimport {DomSanitizer} from '@angular/platform-browser';\nimport {MatDialog} from '@angular/material/dialog';\nimport {EformsTagsComponent} from 'src/app/common/modules/eform-shared-tags/components';\nimport {\n EformColumnsModalComponent,\n EformCreateModalComponent,\n EformDuplicateConfirmModalComponent,\n EformEditParingModalComponent,\n EformEditTagsModalComponent,\n EformRemoveEformModalComponent,\n EformsBulkImportModalComponent,\n EformUploadZipModalComponent,\n} from '../../components';\nimport {AutoUnsubscribe} from 'ngx-auto-unsubscribe';\nimport {Overlay} from '@angular/cdk/overlay';\nimport {dialogConfigHelper} from 'src/app/common/helpers';\nimport {MtxGridColumn} from '@ng-matero/extensions/grid';\nimport { TranslateService } from '@ngx-translate/core';\nimport {\n selectCurrentUserClaims,\n selectCurrentUserClaimsEformsCreate, selectCurrentUserClaimsEformsReadTags,\n selectEformAllowManagingEformTags\n} from 'src/app/state/auth/auth.selector';\nimport {Store} from '@ngrx/store';\nimport {\n selectEformsIsSortDsc,\n selectEformsNameFilter,\n selectEformsSort,\n selectEformsTagIds\n} from 'src/app/state/eform/eform.selector';\n\n@AutoUnsubscribe()\n@Component({\n selector: 'app-eform-page',\n templateUrl: './eforms-page.component.html',\n styleUrls: ['./eforms-page.component.scss'],\n})\nexport class EformsPageComponent implements OnInit, OnDestroy {\n @ViewChild('modalTags', {static: true}) modalTags: EformsTagsComponent;\n\n searchSubject = new Subject();\n templateListModel: TemplateListModel = new TemplateListModel();\n eformPermissionsSimpleModel: Array = [];\n availableTags: Array = [];\n\n eformsBulkImportModalAfterClosedSub$: Subscription;\n downloadCSVFileSub$: Subscription;\n downloadEformXMLSub$: Subscription;\n getEformsSimplePermissionsSub$: Subscription;\n getSavedTagsSub$: Subscription;\n addSavedTagSub$: Subscription;\n deleteSavedTagSub$: Subscription;\n getAvailableTagsSub$: Subscription;\n loadAllTemplatesSub$: Subscription;\n searchSubjectSub$: Subscription;\n eformCreateModalComponentAfterClosedSub$: Subscription;\n eformDuplicateConfirmModalComponentAfterClosedSub$: Subscription;\n eformEditTagsModalComponentAfterClosedSub$: Subscription;\n eformUploadZipModalComponentAfterClosedSub$: Subscription;\n eformColumnsModalComponentAfterClosedSub$: Subscription;\n eformEditParingModalComponentAfterClosedSub$: Subscription;\n eformRemoveEformModalComponentAfterClosedSub$: Subscription;\n private selectCurrentUserClaims$ = this.store.select(selectCurrentUserClaims);\n public selectEformAllowManagingEformTags$ = this.store.select(selectEformAllowManagingEformTags)\n public selectCurrentUserClaimsEformsCreate$ = this.store.select(selectCurrentUserClaimsEformsCreate);\n public selectCurrentUserClaimsEformsReadTags$ = this.store.select(selectCurrentUserClaimsEformsReadTags);\n public selectEformsTagIds$ = this.store.select(selectEformsTagIds);\n public selectEformsNameFilter$ = this.store.select(selectEformsNameFilter);\n public selectEformsSort$ = this.store.select(selectEformsSort);\n public selectEformsIsSortDsc$ = this.store.select(selectEformsIsSortDsc);\n\n userClaims: UserClaimsModel;\n\n get userClaimsEnum() {\n return UserClaimsEnum;\n }\n\n tableHeaders: MtxGridColumn[] = [\n {header: this.translateService.stream('Id'), field: 'id', sortProp: {id: 'Id'}, sortable: true, type: 'number', class: 'eform-id-header'},\n {header: this.translateService.stream('Date'), sortProp: {id: 'CreatedAt'}, field: 'createdAt', sortable: true, class: 'eform-created-at-header'},\n {\n header: this.translateService.stream('eForm'),\n field: 'label',\n sortable: true,\n sortProp: {id: 'Text'},\n class: 'eform-name-header',\n },\n {\n header: this.translateService.stream('Description'),\n field: 'description',\n sortProp: {id: 'Description'},\n sortable: true,\n },\n {header: this.translateService.stream('Tags'), field: 'tags'},\n {header: this.translateService.stream('QuickSyncEnabled'), field: 'quickSyncEnabled'},\n {header: this.translateService.stream('Pairing'), field: 'pairingUpdate'},\n {\n pinned: 'right',\n header: this.translateService.stream('Actions'), field: 'actions'},\n ];\n constructor(\n private store: Store,\n private eFormService: EFormService,\n private eFormTagService: EformTagService,\n private securityGroupEformsService: SecurityGroupEformsPermissionsService,\n public eformsStateService: EformsStateService,\n iconRegistry: MatIconRegistry,\n sanitizer: DomSanitizer,\n public dialog: MatDialog,\n private overlay: Overlay,\n private translateService: TranslateService,\n ) {\n iconRegistry.addSvgIconLiteral('file-word', sanitizer.bypassSecurityTrustHtml(WordIcon));\n iconRegistry.addSvgIconLiteral('file-code', sanitizer.bypassSecurityTrustHtml(CodeIcon));\n iconRegistry.addSvgIconLiteral('file-csv', sanitizer.bypassSecurityTrustHtml(CsvIcon));\n iconRegistry.addSvgIconLiteral('file-upload', sanitizer.bypassSecurityTrustHtml(FileUploadIcon));\n iconRegistry.addSvgIconLiteral('file-excel', sanitizer.bypassSecurityTrustHtml(ExcelIcon));\n this.searchSubjectSub$ = this.searchSubject.pipe(debounceTime(500)).subscribe((val: string) => {\n this.eformsStateService.updateNameFilter(val);\n this.loadAllTags();\n });\n this.selectCurrentUserClaims$.subscribe((x) => {\n this.userClaims = x;\n });\n }\n\n ngOnInit() {\n this.loadEformsPermissions();\n }\n\n ngOnDestroy() {\n }\n\n loadAllTemplates() {\n this.loadAllTemplatesSub$ = this.eformsStateService.loadAllTemplates()\n .subscribe((operation) => {\n if (operation && operation.success) {\n this.templateListModel = operation.model;\n }\n });\n }\n\n loadAllTags() {\n // load tags after call load templates (not know why)\n //if (this.userClaims.eformsReadTags) {\n //debugger;\n this.getAvailableTagsSub$ = this.eFormTagService.getAvailableTags()\n .subscribe((data) => {\n if (data && data.success) {\n this.availableTags = data.model;\n this.loadSelectedUserTags();\n }\n });\n // } else {\n // debugger;\n // this.loadAllTemplates();\n // }\n }\n\n saveTag(e: CommonDictionaryModel) {\n const savedTagModel = new SavedTagModel();\n savedTagModel.tagId = e.id;\n savedTagModel.tagName = e.name;\n this.addSavedTagSub$ = this.eFormTagService.addSavedTag(savedTagModel).subscribe((data) => {\n if (data && data.success) {\n this.eformsStateService.addOrRemoveTagIds(e.id);\n this.loadAllTemplates();\n }\n });\n }\n\n removeSavedTag(e: CommonDictionaryModel) {\n this.deleteSavedTagSub$ = this.eFormTagService.deleteSavedTag(e.id).subscribe((data) => {\n if (data && data.success) {\n this.eformsStateService.addOrRemoveTagIds(e.id);\n this.loadAllTemplates();\n }\n });\n }\n\n loadSelectedUserTags() {\n this.getSavedTagsSub$ = this.eFormTagService.getSavedTags().subscribe((data) => {\n if (data && data.success) {\n if (data.model.tagList.length > 0) {\n this.eformsStateService.updateTagIds(\n data.model.tagList.map((x) => x.tagId)\n );\n }\n this.loadAllTemplates();\n }\n });\n }\n\n loadEformsPermissions() {\n this.getEformsSimplePermissionsSub$ = this.securityGroupEformsService\n .getEformsSimplePermissions()\n .subscribe((data) => {\n if (data && data.success) {\n this.loadAllTags();\n this.eformPermissionsSimpleModel = this.securityGroupEformsService.mapEformsSimplePermissions(\n data.model\n );\n }\n });\n }\n\n onLabelInputChanged(label: string) {\n this.searchSubject.next(label);\n }\n\n sortTable(sort: Sort) {\n this.eformsStateService.onSortTable(sort.active);\n this.loadAllTemplates();\n }\n\n openNewEformModal() {\n this.eformCreateModalComponentAfterClosedSub$ = this.dialog.open(EformCreateModalComponent, {\n ...dialogConfigHelper(this.overlay, this.availableTags),\n minWidth: 400,\n }).afterClosed().subscribe(data => data ? this.loadAllTags() : undefined);\n }\n\n openEditColumnsModal(templateDto: TemplateDto) {\n this.eformColumnsModalComponentAfterClosedSub$ = this.dialog.open(EformColumnsModalComponent, {\n ...dialogConfigHelper(this.overlay, templateDto), minWidth: 800,\n }).afterClosed().subscribe(data => data ? undefined : undefined);\n }\n\n openEformDeleteModal(templateDto: TemplateDto) {\n this.eformRemoveEformModalComponentAfterClosedSub$ = this.dialog.open(EformRemoveEformModalComponent, {\n ...dialogConfigHelper(this.overlay, templateDto),\n }).afterClosed().subscribe(data => data ? this.loadAllTemplates() : undefined);\n }\n\n uploadZipFile(templateDto: TemplateDto) {\n this.eformUploadZipModalComponentAfterClosedSub$ = this.dialog.open(EformUploadZipModalComponent, {\n ...dialogConfigHelper(this.overlay, templateDto), minWidth: 400,\n }).afterClosed().subscribe(data => data ? undefined : undefined);\n }\n\n downloadItem(itemName: string, templateId: number) {\n if (itemName === 'XML') {\n this.downloadEformXMLSub$ = this.eFormService.downloadEformXML(templateId).subscribe((data) => {\n const blob = new Blob([data]);\n saveAs(blob, `eForm_${templateId}.xml`);\n });\n } else {\n this.downloadCSVFileSub$ = this.eFormService.downloadCSVFile(templateId).subscribe((data) => {\n const blob = new Blob([data]);\n saveAs(blob, `eForm_${templateId}.csv`);\n });\n }\n }\n\n openPairingModal(templateDto: TemplateDto) {\n this.eformEditParingModalComponentAfterClosedSub$ = this.dialog.open(EformEditParingModalComponent, {\n ...dialogConfigHelper(this.overlay, templateDto), minWidth: 600,\n }).afterClosed().subscribe(data => data ? this.loadAllTemplates() : undefined);\n }\n\n openEditTagsModal(templateDto: TemplateDto) {\n this.eformEditTagsModalComponentAfterClosedSub$ = this.dialog.open(EformEditTagsModalComponent, {\n ...dialogConfigHelper(this.overlay, {availableTags: this.availableTags, selectedTemplate: templateDto}),\n minWidth: 400,\n }).afterClosed().subscribe(data => data ? this.loadAllTemplates() : undefined);\n }\n\n openEformsImportModal() {\n this.eformsBulkImportModalAfterClosedSub$ = this.dialog.open(EformsBulkImportModalComponent, {\n ...dialogConfigHelper(this.overlay, this.availableTags),\n minWidth: 400,\n }).afterClosed().subscribe(data => data ? this.loadAllTags() : undefined);\n }\n\n checkEformPermissions(templateId: number, permissionIndex: number) {\n const foundEform = this.eformPermissionsSimpleModel.find(\n (x) => x.templateId === templateId\n );\n if (foundEform) {\n return foundEform.permissionsSimpleList.find(\n (x) => x === UserClaimsEnum[permissionIndex].toString()\n );\n } else {\n return this.userClaims[UserClaimsEnum[permissionIndex].toString()];\n }\n }\n\n openTagsModal() {\n this.modalTags.show();\n }\n\n openDuplicateConfirmModal(templateDto: TemplateDto) {\n this.eformDuplicateConfirmModalComponentAfterClosedSub$ = this.dialog.open(EformDuplicateConfirmModalComponent, {\n ...dialogConfigHelper(this.overlay, templateDto),\n }).afterClosed().subscribe(data => data ? this.loadAllTemplates() : undefined);\n }\n\n getTags(template: TemplateDto): SharedTagModel[] {\n return template.tags.map(x => ({id: x.key, name: x.value} as SharedTagModel));\n }\n}\n","import {\n Component,\n Inject,\n Input,\n OnInit,\n} from '@angular/core';\nimport { EformTagService } from 'src/app/common/services/eform';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport {CommonDictionaryModel, TemplateDto, TemplateTagsUpdateModel} from 'src/app/common/models';\n\n@Component({\n selector: 'app-eform-edit-tags-modal',\n templateUrl: './eform-edit-tags-modal.component.html',\n styleUrls: ['./eform-edit-tags-modal.component.scss'],\n})\nexport class EformEditTagsModalComponent implements OnInit {\n @Input() availableTags: Array = [];\n selectedTemplateDto: TemplateDto = new TemplateDto();\n selectedTemplateTagsIds: Array = [];\n\n constructor(private eFormTagService: EformTagService,\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) value: {\n availableTags: CommonDictionaryModel[],\n selectedTemplate: TemplateDto,\n }) {\n this.availableTags = value.availableTags ?? [];\n this.selectedTemplateDto = value.selectedTemplate;\n this.selectedTemplateTagsIds = this.selectedTemplateDto.tags.map(\n (x) => x.key\n );\n }\n\n ngOnInit() {}\n\n updateTemplateTags() {\n const templateTagsUpdateModel = new TemplateTagsUpdateModel();\n templateTagsUpdateModel.templateId = this.selectedTemplateDto.id;\n templateTagsUpdateModel.tagsIds = this.selectedTemplateTagsIds;\n this.eFormTagService\n .updateTemplateTags(templateTagsUpdateModel)\n .subscribe((operation) => {\n if (operation && operation.success) {\n this.hide(true);\n }\n });\n }\n\n hide(result = false) {\n this.dialogRef.close(result);\n }\n\n /*removeTemplateTag() {\n this.eFormTagService\n .deleteTag(this.tagForRemoval)\n .subscribe((operation) => {\n if (operation && operation.success) {\n this.onTagAdded.emit();\n this.tagForRemoval = null;\n }\n });\n }*/\n\n /*createNewTag(name: string) {\n if (name) {\n this.eFormTagService.createTag(name).subscribe((operation => {\n if (operation && operation.success) {\n this.onTagAdded.emit();\n }\n }));\n }\n }*/\n}\n","

{{ 'Select tags for template' | translate }}

\n
\n \n {{ 'Current tags' | translate }}\n \n \n \n
\n
\n \n {{ 'Save' | translate }}\n \n \n {{ 'Cancel' | translate }}\n \n
\n","import {Component, Inject, OnInit,} from '@angular/core';\nimport {TemplateDto} from 'src/app/common/models/dto';\nimport {EFormService} from 'src/app/common/services/eform';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\n\n@Component({\n selector: 'app-eform-remove-eform-modal',\n templateUrl: './eform-remove-eform-modal.component.html',\n styleUrls: ['./eform-remove-eform-modal.component.scss']\n})\nexport class EformRemoveEformModalComponent implements OnInit {\n constructor(\n private eFormService: EFormService,\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public selectedTemplateDto: TemplateDto = new TemplateDto(),) {\n }\n\n ngOnInit() {\n }\n\n deleteEfrom() {\n this.eFormService.deleteSingle(this.selectedTemplateDto.id).subscribe(operation => {\n if (operation && operation.success) {\n this.hide(true);\n }\n });\n }\n\n hide(result = false) {\n this.dialogRef.close(result);\n }\n}\n","

{{'Are you sure you want to delete' | translate}}?

\n
\n
\n
\n

ID

\n
\n
\n {{selectedTemplateDto.id}}\n
\n
\n
\n
\n

{{'Creation Date' | translate}}

\n
\n
\n \n
\n
\n
\n
\n

{{'Name' | translate}}

\n
\n
\n {{selectedTemplateDto.label}}\n
\n
\n
\n\n
\n \n {{'Delete' | translate}}\n \n \n {{'Close' | translate}}\n \n
\n","

{{'Upload template ZIP' | translate}}

\n
\n \n {{'Upload' | translate}}\n \n 0\"\n (click)=\"zipInput.click()\"\n >\n {{'Pending' | translate}}\n \n \n
\n {{'Uploading progress:' | translate }}\n
\n
\n
\n
\n
\n
\n
\n \n {{'Upload' | translate}}\n \n \n {{'Close' | translate}}\n \n
\n","import {Component, Inject, OnInit} from '@angular/core';\nimport {TranslateService} from '@ngx-translate/core';\nimport {FileUploader} from 'ng2-file-upload';\nimport {ToastrService} from 'ngx-toastr';\nimport {TemplateDto} from 'src/app/common/models/dto';\nimport {AuthStateService} from 'src/app/common/store';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport {selectBearerToken} from 'src/app/state/auth/auth.selector';\nimport {Store} from '@ngrx/store';\n\n@Component({\n selector: 'app-eform-uplo ad-zip-modal',\n templateUrl: './eform-upload-zip-modal.component.html',\n styleUrls: ['./eform-upload-zip-modal.component.scss'],\n})\nexport class EformUploadZipModalComponent implements OnInit {\n zipFileUploader: FileUploader;\n private selectBearerToken$ = this.authStore.select(selectBearerToken);\n\n constructor(\n private toastrService: ToastrService,\n private authStore: Store,\n private translateService: TranslateService,\n private authStateService: AuthStateService,\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public selectedTemplate: TemplateDto,\n ) {\n }\n\n ngOnInit() {\n let token = '';\n this.selectBearerToken$.subscribe((bearerToken) => {\n token = bearerToken;\n });\n this.zipFileUploader = new FileUploader({\n url: '/api/template-files/upload-eform-zip',\n authToken: 'Bearer '+token,\n });\n this.zipFileUploader.onBuildItemForm = (item, form) => {\n form.append('templateId', this.selectedTemplate.id);\n };\n this.zipFileUploader.onSuccessItem = () => {\n this.zipFileUploader.clearQueue();\n this.toastrService.success(\n this.translateService.instant('File has been uploaded successfully')\n );\n this.hideZipModal(true);\n };\n this.zipFileUploader.onErrorItem = () => {\n this.zipFileUploader.clearQueue();\n this.toastrService.error(\n this.translateService.instant('Error while uploading file')\n );\n };\n this.zipFileUploader.onAfterAddingFile = (f) => {\n if (this.zipFileUploader.queue.length > 1) {\n this.zipFileUploader.removeFromQueue(this.zipFileUploader.queue[0]);\n }\n };\n }\n\n uploadTemplateZIP() {\n this.zipFileUploader.queue[0].upload();\n }\n\n hideZipModal(result = false) {\n this.zipFileUploader.clearQueue();\n this.dialogRef.close(result);\n }\n}\n","import {Component, OnDestroy, OnInit, ViewChild} from '@angular/core';\nimport {EFormService} from 'src/app/common/services/eform';\nimport {EformDownloadExcelModel, TemplateDto} from 'src/app/common/models';\nimport {saveAs} from 'file-saver';\nimport {format} from 'date-fns';\nimport {FormBuilder, FormGroup, Validators} from '@angular/forms';\nimport {AutoUnsubscribe} from 'ngx-auto-unsubscribe';\nimport {Subscription} from 'rxjs';\n\n@AutoUnsubscribe()\n@Component({\n selector: 'app-eform-excel-report-modal',\n templateUrl: './eform-excel-report-modal.component.html',\n styleUrls: ['./eform-excel-report-modal.component.scss']\n})\nexport class EformExcelReportModalComponent implements OnInit, OnDestroy {\n @ViewChild('frame', {static: true}) frame;\n selectedTemplate: TemplateDto = new TemplateDto();\n downloadExcelSub$: Subscription;\n downloadForm: FormGroup;\n\n constructor(private eFormService: EFormService, private formBuilder: FormBuilder) {\n }\n\n ngOnInit() {\n this.downloadForm = this.formBuilder.group({\n dateRange: ['', Validators.required]\n });\n }\n\n show(template: TemplateDto) {\n this.selectedTemplate = template;\n this.frame.show();\n }\n\n downloadExcelReport() {\n const model = {\n dateFrom: format(this.downloadForm.value.dateRange[0], 'yyyy-MM-dd'),\n dateTo: format(this.downloadForm.value.dateRange[1], 'yyyy-MM-dd'),\n templateId: this.selectedTemplate.id\n } as EformDownloadExcelModel;\n this.downloadExcelSub$ = this.eFormService.downloadEformExcel(model).subscribe((data => {\n const blob = new Blob([data]);\n saveAs(blob, `template_${this.selectedTemplate.id}.xlsx`);\n }));\n }\n\n ngOnDestroy(): void {\n }\n\n close() {\n this.frame.hide();\n this.downloadForm.reset();\n }\n}\n","\n
\n
\n
\n
\n

{{ 'Download' | translate }} Excel

\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n\n\n\n\n\n\n\n\n\n\n\n
\n {{ 'Download' | translate }}\n \n\n\n\n \n
\n
\n
\n
\n\n\n","import * as i0 from '@angular/core';\nimport { booleanAttribute, Directive, Input, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatProgressSpinner, MatProgressSpinnerModule } from '@angular/material/progress-spinner';\n\nclass MatButtonLoading {\n constructor(_elementRef, _viewContainerRef, _renderer) {\n this._elementRef = _elementRef;\n this._viewContainerRef = _viewContainerRef;\n this._renderer = _renderer;\n this.loading = false;\n this.disabled = false;\n }\n ngOnChanges(changes) {\n if (!changes.loading) {\n return;\n }\n if (changes.loading.currentValue) {\n this._elementRef.nativeElement.classList.add('mat-button-loading');\n setTimeout(() => this._elementRef.nativeElement.setAttribute('disabled', ''));\n this.createSpinner();\n }\n else if (!changes.loading.firstChange) {\n this._elementRef.nativeElement.classList.remove('mat-button-loading');\n setTimeout(() => this._elementRef.nativeElement.removeAttribute('disabled'));\n this.destroySpinner();\n }\n }\n createSpinner() {\n if (!this.spinner) {\n this.spinner = this._viewContainerRef.createComponent(MatProgressSpinner);\n this.spinner.instance.color = this.color;\n this.spinner.instance.diameter = 24;\n this.spinner.instance.mode = 'indeterminate';\n this._renderer.appendChild(this._elementRef.nativeElement, this.spinner.instance._elementRef.nativeElement);\n }\n }\n destroySpinner() {\n if (this.spinner) {\n this.spinner.destroy();\n this.spinner = null;\n }\n }\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.0\", ngImport: i0, type: MatButtonLoading, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }\n /** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"16.1.0\", version: \"18.2.0\", type: MatButtonLoading, isStandalone: true, selector: \"[mat-button][loading],\\n [mat-raised-button][loading],\\n [mat-stroked-button][loading],\\n [mat-flat-button][loading],\\n [mat-icon-button][loading],\\n [mat-fab][loading],\\n [mat-mini-fab][loading]\", inputs: { loading: [\"loading\", \"loading\", booleanAttribute], disabled: [\"disabled\", \"disabled\", booleanAttribute], color: \"color\" }, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.0\", ngImport: i0, type: MatButtonLoading, decorators: [{\n type: Directive,\n args: [{\n selector: `[mat-button][loading],\n [mat-raised-button][loading],\n [mat-stroked-button][loading],\n [mat-flat-button][loading],\n [mat-icon-button][loading],\n [mat-fab][loading],\n [mat-mini-fab][loading]`,\n standalone: true,\n }]\n }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }], propDecorators: { loading: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], disabled: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], color: [{\n type: Input\n }] } });\n\nclass MtxButtonModule {\n /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.0\", ngImport: i0, type: MtxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"18.2.0\", ngImport: i0, type: MtxButtonModule, imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule, MatButtonLoading], exports: [MatButtonLoading] }); }\n /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"18.2.0\", ngImport: i0, type: MtxButtonModule, imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.0\", ngImport: i0, type: MtxButtonModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [CommonModule, MatButtonModule, MatProgressSpinnerModule, MatButtonLoading],\n exports: [MatButtonLoading],\n }]\n }] });\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { MatButtonLoading, MtxButtonModule };\n","

{{ 'Upload excel file' | translate }}

\n
\n
\n \n {{ 'Upload' | translate }}\n \n 0\"\n (click)=\"xlsxEforms.click()\"\n [loading]=\"loaderService.isLoading | async\"\n >\n {{ 'Pending' | translate }}\n \n \n
\n
\n \n \n
\n
\n
\n \n {{ 'Close' | translate }}\n \n
\n\n","import {Component, ElementRef, OnInit, ViewChild,} from '@angular/core';\nimport {FileUploader} from 'ng2-file-upload';\nimport {ToastrService} from 'ngx-toastr';\nimport {TranslateService} from '@ngx-translate/core';\nimport {LoaderService} from 'src/app/common/services/loader.service';\nimport {AuthStateService} from 'src/app/common/store';\nimport {MatDialogRef} from '@angular/material/dialog';\nimport {MtxGridColumn} from '@ng-matero/extensions/grid';\nimport {selectBearerToken, selectConnectionStringExists} from 'src/app/state/auth/auth.selector';\nimport {Store} from '@ngrx/store';\n\n@Component({\n selector: 'app-eforms-bulk-import-modal',\n templateUrl: './eforms-bulk-import-modal.component.html',\n styleUrls: ['./eforms-bulk-import-modal.component.scss'],\n})\nexport class EformsBulkImportModalComponent implements OnInit {\n @ViewChild('xlsxEforms', {static: false})\n xlsxEformsInput: ElementRef;\n xlsxEformsFileUploader: FileUploader;\n errors: { row: number; col: number; message: string }[];\n private selectBearerToken$ = this.authStore.select(selectBearerToken);\n\n tableHeaders: MtxGridColumn[] = [\n {header: this.translateService.stream('Column'), field: 'col'},\n {header: this.translateService.stream('Row'), field: 'row'},\n {header: this.translateService.stream('Error'), field: 'error',},\n ];\n\n constructor(\n private toastrService: ToastrService,\n private authStore: Store,\n private translateService: TranslateService,\n public loaderService: LoaderService,\n private authStateService: AuthStateService,\n public dialogRef: MatDialogRef,\n ) {\n }\n\n ngOnInit() {\n let token = '';\n this.selectBearerToken$.subscribe((bearerToken) => {\n token = bearerToken;\n });\n this.xlsxEformsFileUploader = new FileUploader({\n url: '/api/templates/import',\n authToken: 'Bearer '+token,\n });\n this.xlsxEformsFileUploader.clearQueue();\n this.xlsxEformsFileUploader.onSuccessItem = (item, response) => {\n const model = JSON.parse(response).model;\n if (model) {\n this.errors = JSON.parse(response).model.errors;\n this.xlsxEformsFileUploader.clearQueue();\n }\n if (this.errors && this.errors.length > 0) {\n this.toastrService.warning(\n this.translateService.instant('Import has been finished partially')\n );\n } else {\n this.xlsxEformsFileUploader.clearQueue();\n this.toastrService.success(\n this.translateService.instant('Import has been finished successfully')\n );\n this.excelEformsModal(true);\n }\n this.loaderService.setLoading(false);\n this.xlsxEformsInput.nativeElement.value = '';\n };\n this.xlsxEformsFileUploader.onErrorItem = () => {\n this.xlsxEformsFileUploader.clearQueue();\n this.toastrService.error(\n this.translateService.instant('Error while making import')\n );\n this.xlsxEformsInput.nativeElement.value = '';\n };\n this.xlsxEformsFileUploader.onAfterAddingFile = (_) => {\n if (this.xlsxEformsFileUploader.queue.length > 1) {\n this.xlsxEformsFileUploader.removeFromQueue(\n this.xlsxEformsFileUploader.queue[0]\n );\n }\n this.errors = [];\n };\n }\n\n uploadExcelEformsFile() {\n this.xlsxEformsFileUploader.queue[0].upload();\n this.loaderService.setLoading(true);\n }\n\n excelEformsModal(result = false) {\n this.dialogRef.close(result);\n this.xlsxEformsFileUploader.clearQueue();\n }\n}\n","import {\n Component,\n EventEmitter, Inject,\n OnInit,\n Output,\n ViewChild,\n} from '@angular/core';\nimport { TemplateDto } from 'src/app/common/models/dto';\nimport { EFormService } from 'src/app/common/services/eform';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\n\n@Component({\n selector: 'app-eform-duplicate-confirm-modal',\n templateUrl: './eform-duplicate-confirm-modal.component.html',\n styleUrls: ['./eform-duplicate-confirm-modal.component.scss'],\n})\nexport class EformDuplicateConfirmModalComponent implements OnInit {\n constructor(private eFormService: EFormService,\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public selectedTemplateDto: TemplateDto = new TemplateDto(),) {}\n\n ngOnInit() {}\n\n duplicateEfrom() {\n this.eFormService\n .duplicateEForms(this.selectedTemplateDto.id)\n .subscribe((operation) => {\n if (operation && operation.success) {\n this.hide(true);\n }\n });\n }\n\n hide(duplicate = false) {\n this.dialogRef.close(duplicate);\n }\n\n}\n","

{{ 'Are you sure you want to duplicate eForm' | translate }}?

\n
\n
\n

ID

\n {{ selectedTemplateDto.id }}\n
\n
\n

{{ 'Creation Date' | translate }}

\n \n \n \n
\n
\n

{{ 'Name' | translate }}

\n {{ selectedTemplateDto.label }}\n
\n
\n
\n \n {{ 'Duplicate' | translate }}\n \n \n {{ 'Close' | translate }}\n \n
\n","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { EformsPageComponent } from './components/index';\n\nconst routes: Routes = [\n {\n path: '',\n component: EformsPageComponent,\n },\n {\n path: 'docx-report',\n loadChildren: () =>\n import('./eform-docx-report/eform-docx-report.module').then(\n (m) => m.EformDocxReportModule\n ),\n },\n {\n path: 'xlsx-report',\n loadChildren: () =>\n import('./eform-xlsx-report/eform-xlsx-report.module').then(\n (m) => m.EformXlsxReportModule\n ),\n },\n {\n path: 'visual-editor',\n loadChildren: () =>\n import('./eform-visual-editor/eform-visual-editor.module').then(\n (m) => m.EformVisualEditorModule\n ),\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EformsRouting {}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {TranslateModule} from '@ngx-translate/core';\nimport {FileUploadModule} from 'ng2-file-upload';\nimport {EformSharedModule} from 'src/app/common/modules/eform-shared/eform-shared.module';\nimport {EformsRouting} from './eforms.routing';\nimport {\n EformColumnsModalComponent,\n EformCreateModalComponent,\n EformEditParingModalComponent,\n EformEditTagsModalComponent,\n EformExcelReportModalComponent,\n EformRemoveEformModalComponent,\n EformsBulkImportModalComponent,\n EformsPageComponent,\n EformUploadZipModalComponent,\n EformDuplicateConfirmModalComponent,\n} from './components';\nimport {EformSharedTagsModule} from 'src/app/common/modules/eform-shared-tags/eform-shared-tags.module';\nimport {MatDatepickerModule} from '@angular/material/datepicker';\nimport {MatInputModule} from '@angular/material/input';\nimport {MatCheckboxModule} from '@angular/material/checkbox';\nimport {MatButtonModule} from '@angular/material/button';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatDialogModule} from '@angular/material/dialog';\nimport {MatMenuModule} from '@angular/material/menu';\nimport {MtxSelectModule} from '@ng-matero/extensions/select';\nimport {MatCardModule} from '@angular/material/card';\nimport {MtxGridModule} from '@ng-matero/extensions/grid';\nimport {MatTooltipModule} from '@angular/material/tooltip';\nimport {MtxButtonModule} from '@ng-matero/extensions/button';\nimport {MatChipsModule} from '@angular/material/chips';\n\n@NgModule({\n imports: [\n CommonModule,\n EformsRouting,\n EformSharedModule,\n ReactiveFormsModule,\n FileUploadModule,\n FormsModule,\n TranslateModule.forChild(),\n EformSharedTagsModule,\n MatDatepickerModule,\n MatInputModule,\n MatCheckboxModule,\n MatButtonModule,\n MatIconModule,\n MatDialogModule,\n MatMenuModule,\n MtxSelectModule,\n MatCardModule,\n MtxGridModule,\n MatTooltipModule,\n MtxButtonModule,\n MatChipsModule,\n ],\n declarations: [\n EformsPageComponent,\n EformEditParingModalComponent,\n EformCreateModalComponent,\n EformColumnsModalComponent,\n EformEditTagsModalComponent,\n EformRemoveEformModalComponent,\n EformUploadZipModalComponent,\n EformExcelReportModalComponent,\n EformsBulkImportModalComponent,\n EformDuplicateConfirmModalComponent,\n ],\n exports: []\n})\nexport class EFormsModule {\n}\n"],"x_google_ignoreList":[18]}