{"version":3,"sources":["./src/app/custom-form/designer/editors/base-view/base-view.component.html","./src/app/custom-form/designer/editors/numeric-box-editor/numeric-box-editor.component.ts","./src/app/custom-form/designer/editors/email-box-editor/email-box-editor.component.html","./src/app/custom-form/designer/editors/numeric-box-editor/numeric-box-editor.component.html","./src/app/custom-form/list/list.component.html","./src/app/custom-form/front-end/controls/dropdown/dropdown-control.component.html","./src/app/custom-form/designer/editors/base-view/base-view.component.ts","./src/app/custom-form/list/list.component.scss","./src/app/custom-form/list/list.component.ts","./src/app/custom-form/front-end/main-view/main-form-view.component.html","./src/app/custom-form/front-end/controls/emailbox/emailbox-control.component.ts","./src/app/custom-form/front-end/controls/textbox/textbox-control.component.ts","./src/app/custom-form/front-end/controls/multilinebox/multilinebox-control.component.ts","./src/app/custom-form/designer/editors/check-box/check-box-editor.component.ts","./src/app/custom-form/front-end/controls/numericbox/numericbox-control.component.ts","./src/app/custom-form/designer/editors/text-box-editor/text-box-editor.component.html","./src/app/custom-form/designer/main/main.component.html","./src/app/custom-form/front-end/controls/checkbox/checkbox-control.component.ts","./src/app/custom-form/editor/editor.component.ts","./src/app/custom-form/front-end/controls/textbox/textbox-control.component.html","./src/app/custom-form/front-end/controls/dropdown/dropdown-control.component.ts","./src/app/core/custom-form.service.ts","./src/app/custom-form/designer/editors/email-box-editor/email-box-editor.component.ts","./src/app/custom-form/editor/editor.component.html","./src/app/custom-form/designer/main/main.component.ts","./src/app/custom-form/front-end/controls/numericbox/numericbox-control.component.html","./src/app/custom-form/designer/editors/text-box-editor/text-box-editor.component.ts","./src/app/custom-form/designer/editors/check-box/check-box-editor.component.html","./src/app/custom-form/editor/editor.component.scss","./src/app/custom-form/front-end/controls/checkbox/checkbox-control.component.html","./src/app/custom-form/front-end/main-view/main-form-view.component.ts","./src/app/custom-form/custom-form.module.ts","./src/app/custom-form/submittions/submittions.component.html","./src/app/custom-form/submittions/submittions.component.ts","./src/app/custom-form/front-end/controls/multilinebox/multilinebox-control.component.html","./src/app/custom-form/designer/editors/textarea-box-editor/textarea-box-editor.component.ts","./src/app/custom-form/designer/editors/textarea-box-editor/textarea-box-editor.component.html","./src/app/custom-form/front-end/controls/emailbox/emailbox-control.component.html","./src/app/custom-form/front-end/controls/base-control.component.ts","./src/app/custom-form/designer/editors/dropdownBox/dropdown-box-editor.component.html","./src/app/custom-form/designer/editors/dropdownBox/dropdown-box-editor.component.ts"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAe,syBAAuuB,E;;;;;;;;;;;;;;;;;;;;ACA3rB;AAE4B;IAO1E,yBAAyB,SAAzB,yBAAyB;IASpC,YAAmB,eAAoC;QAApC,oBAAe,GAAf,eAAe,CAAqB;QANvD,iBAAY,GAAG,EAAE,CAAC;QAClB,QAAG,GAAG,CAAC,CAAC;QACR,QAAG,GAAG,MAAM,CAAC;QACb,eAAU,GAAG,KAAK,CAAC;IAInB,CAAC;IAED,QAAQ;QAEN,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC;QAC5D,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC;QAC7D,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,GAAG,CAAC;QACjD,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,GAAG,CAAC;QACjD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,eAAe,CAAC,iBAAiB,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE;YAE1E,IAAK,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,IAAI,KAAK,YAAY,EAAG;gBAC7D,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,KAAK,CAAC;gBAC5D,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,QAAQ,CAAC;gBAC7D,IAAI,CAAC,GA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QACH,CAAC,CAAC,CAAC;QACH,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClB,OAAO,CAAC,OAAO,CAAE,IAAI,CAAC,EAAE;YACtB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAE,IAAI,CAAE,CAAC;QAC5B,CAAC,CAAC,CAAC;IACL,CAAC;IAED,aAAa,CAAC,MAAsB;QAElC,IAAI,MAAM,CAAC,QAAQ,KAAK,KAAK,EAAG;YAC9B,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;gBAC1B,IAAI,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,EAAE,EAAE;oBACzB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;iBACvB;YACH,CAAC,CAAC,CAAC;YACH,MAAM,CAAC,QAAQ,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC;YACnC,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC;SACrC;aAAM;YACL,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,gBAAgB,CAAC;YACpC,MAAM,CAAC,QAAQ,GAAG,KAAK,CAAC;SACzB;IACH,CAAC;IAED,kBAAkB,CAAC,MAAsB;QACvC,MAAM,CAAC,QAAQ,GAAG,KAAK,CAAC;IAE1B,CAAC;CACF;;YA3JO,2FAAmB;;AAQd,0BAA0B;IAJtC,+DAAS,CAAC;QACT,QAAQ,EAAE,yBAAyB;QACnC,gGAAmD;KACpD,CAAC;GACW,0BAA0B,CAmJtC;AAnJsC","file":"custom-form-custom-form-module-es2015.js","sourcesContent":["export default \"\\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
\\n\";","import {Component, OnDestroy, OnInit} from '@angular/core';\nimport {Subscription} from 'rxjs';\nimport {FormDesignerService} from '../../../../core/custom-form/form-designer.service';\n\n@Component({\n selector: 'app-numeric-box-editor',\n templateUrl: './numeric-box-editor.component.html'\n\n})\nexport class NumericBoxEditorComponent implements OnInit, OnDestroy {\n\n\n controlLabel = '';\n min = 0;\n max = 100000;\n isRequired = false;\n subscription: Subscription;\n\n constructor(public designerService: FormDesignerService) {\n }\n\n ngOnInit(): void {\n\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.min = this.designerService.selectedCtrl.min;\n this.max = this.designerService.selectedCtrl.max;\n this.subscription = this.designerService.editorObservable$.subscribe(data => {\n\n if ( this.designerService.selectedCtrl.type === 'numericBox' ) {\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.min = this.designerService.selectedCtrl.min;\n this.max = this.designerService.selectedCtrl.max;\n }\n });\n\n }\n ngOnDestroy() {\n // prevent memory leak when component destroyed\n this.subscription.unsubscribe();\n }\n\n onNumberBoxKeyDown($event: KeyboardEvent, fieldName: string ) {\n /* if ( fieldName === 'minBox') {\n if (this.min < this.designerService.selectedCtrl.min )\n this.min = 0;\n }\n if ( fieldName === 'maxBox') {\n if (this.max > this.designerService.selectedCtrl.max )\n this.maxLength = 2;\n }*/\n }\n\n onConfirmEdit($event: MouseEvent) {\n\n this.designerService.selectedCtrl.label = this.controlLabel;\n this.designerService.selectedCtrl.required = this.isRequired;\n this.designerService.selectedCtrl.min = this.min;\n this.designerService.selectedCtrl.max = this.max;\n this.designerService.onEndEditor();\n\n }\n\n\n}\n","export default \"
\\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
\\n
\\n\";","export default \"
\\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
\\n
\\n
\\n  \\n \\n
\\n
\\n
\\n\";","export default \"
\\n

إدارة الجداول

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

القائمة

\\n
\\n {{totalRecords}} مدخل \\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 \\n\\n \\n \\n \\n \\n
{{rowData['formName']}}
\\n
{{rowData['emailAddress']}}
\\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
{{selectedWord}}
\\n
هل انت متأكد من حذف هذا المدخل؟
\\n
\\n\\n \\n
\\n \\n \\n
\\n
\\n
\\n
\\n\\n\\n\\n
\\n \\n \\n
\\n \\n \\n
{{message.detail}}
\\n\\n
\\n
\\n
\\n
\\n\\n\";","export default \"\\n
\\n {{controlLabel}}\\n \\n \\n
\\n \\n الحقل مطلوب.\\n \\n
\\n\\n
\\n\\n\";","import { Component, OnInit } from '@angular/core';\nimport {FormDesignerService} from '../../../../core/custom-form/form-designer.service';\n\n@Component({\n selector: 'app-base-view',\n templateUrl: './base-view.component.html'\n\n})\nexport class BaseViewComponent implements OnInit {\n\n constructor(public designerService: FormDesignerService) { }\n\n ngOnInit(): void {\n }\n\n}\n","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJsaXN0LmNvbXBvbmVudC5zY3NzIn0= */\";","import {Component, OnInit, ViewChild} from '@angular/core';\nimport {LazyLoadEvent, MessageService} from 'primeng/api';\nimport {Table} from 'primeng/table';\nimport {ActivatedRoute, Router} from '@angular/router';\nimport {SystemMessagingService} from '../../utilites/system-messaging.service';\nimport {PagingAndFilteringInfo} from '../../models/GeneralTransfer';\nimport {CustomForm} from '../../models/CustomForm';\nimport {CustomFormService} from '../../core/custom-form.service';\n\n@Component({\n selector: 'app-list',\n templateUrl: './list.component.html',\n styleUrls: ['./list.component.scss'],\n providers: [MessageService]\n})\nexport class ListComponent implements OnInit {\n\n @ViewChild('subjectTable', { static: true }) sTable: Table;\n forms: CustomForm[] = [];\n model: CustomForm = new CustomForm();\n totalRecords = 0;\n deleteDisplay = false;\n deleteMessage = 'هل انت متأكد من حذف هذا الموضوع؟';\n selectedId = 0;\n selectedWord = '';\n selectedWordType = '';\n cols: any[];\n loading: boolean;\n pageSize = 10;\n\n constructor( private router: Router,\n private route: ActivatedRoute,\n private apiService: CustomFormService,\n private messageService: MessageService,\n private msgService: SystemMessagingService) {}\n\n async ngOnInit() {\n\n this.loading = true;\n this.cols = [\n { field: 'word', header: 'المادة' },\n { field: 'wordharakat', header: 'نوع المادة' }\n ];\n }\n\n LazyLoading( event: LazyLoadEvent ) {\n this.loading = true;\n if ( !event.sortField ) {\n event.sortField = 'formName';\n }\n this.pageSize = event.rows;\n const pNo = (event.first + event.rows ) / event.rows;\n this.callService( pNo, this.pageSize, event.sortField, event.sortOrder === -1 ? false : true);\n }\n\n callService( pId: number, pSize: number, sOrder: string, sDirect: boolean ) {\n\n const paginginfo = new PagingAndFilteringInfo();\n paginginfo.index = pId;\n paginginfo.size = pSize;\n paginginfo.isAsc = sDirect;\n paginginfo.orderBy = sOrder;\n\n paginginfo.fields = this.getSearchFields();\n\n this.apiService.paging( paginginfo).subscribe( result => {\n this.forms = result.items;\n this.totalRecords = result.totalItems;\n\n this.loading = false;\n });\n }\n\n getSearchFields(): any {\n\n const fields: any = {};\n if ( this.selectedWord !== null && this.selectedWord.length > 0 ) {\n fields['formName'] = this.selectedWord;\n }\n return fields;\n\n }\n\n showMessage( severity: string, message: string ) {\n this.messageService.clear();\n this.messageService.add({severity, summary: '', detail: message});\n }\n\n onGoToSubmission(rowData: any) {\n\n this.router.navigateByUrl('/admin/custom-form/submissions/' + rowData.id);\n }\n onEdit(rowData: any) {\n console.log( 'selectRow');\n this.router.navigateByUrl('/admin/custom-form/edit/' + rowData.id );\n }\n\n onDelete( data: CustomForm ) {\n this.selectedId = data.id;\n this.selectedWord = data.formName;\n this.deleteDisplay = true;\n }\n\n async onConfirmDelete( e: any ) {\n\n this.deleteDisplay = false;\n if ( e === false ) {\n return;\n }\n\n this.messageService.clear();\n this.selectedWord = '';\n this.selectedWordType = '';\n const res = await this.apiService.delete( this.selectedId);\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage ( res.message ));\n this.sTable.first = 0;\n this.callService( 1, this.pageSize, 'formName', true);\n this.deleteDisplay = false;\n }\n onSearch() {\n this.callService( 1, this.pageSize, 'formName', true);\n }\n\n}\n","export default \"\\n
\\n
\\n {{model.formName }}\\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
\\n \\n
\\n
\\n
\\n\\n\\n
\\n \\n \\n
\\n \\n \\n
{{message.detail}}
\\n\\n
\\n
\\n
\\n
\\n\\n\\n\\n
\\n    values: {{myFormGroup.value | json }}\\n
\\n\";","import {Component, Input} from '@angular/core';\n\nimport {BaseControlComponent} from '../base-control.component';\nimport {FormGroup} from '@angular/forms';\n\n\n@Component({\n selector: 'app-emailbox-control',\n templateUrl: './emailbox-control.component.html'\n\n})\nexport class EmailboxControlComponent extends BaseControlComponent {\n\n // @Input() detailsForm: FormGroup;\n controls: any;\n constructor( ) {\n super();\n }\n\n /*\n ngOnInit(): void {\n\n\n this.route.params.subscribe(params => {\n\n this.model.id = +params['formId']; // (+) converts string 'id' to a number\n if ( this.model.id > 0 ) {\n this.getForm(this.model.id);\n } else {\n this.model.id = 0;\n }\n });\n } */\n /*\n getForm( FormId: number ) {\n this.formApi.get( FormId ).then( qrCode => {\n this.model = qrCode;\n this.buildForm();\n });\n } */\n /*\n buildForm() {\n\n this.controls = JSON.parse( this.model.configurationFields );\n const group = {};\n\n this.controls.forEach( control => {\n group[control.id ] = this.createControl( control );\n });\n\n this.myFormGroup = new FormGroup(group);\n } */\n /*\n createControl( control: any ) {\n let validArray = [];\n const ctrl = new FormControl('');\n if ( control.required ) {\n validArray.push(Validators.required);\n }\n if ( control.type === 'textBox' ){\n validArray.push(Validators.maxLength( control.maxlength ));\n }\n\n if ( control.type === 'numericBox' ){\n validArray.push(Validators.max( control.max ));\n validArray.push(Validators.min( control.min ));\n }\n if ( control.type === 'emailBox' ){\n validArray.push(Validators.pattern('^([0-9a-zA-Z]([-.\\\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\\\w]*[0-9a-zA-Z]\\\\.)+[a-zA-Z]{2,9})$'));\n }\n ctrl.setValidators( validArray );\n return ctrl;\n }\n*/\n onSubmit() {\n/*\n const fieldList: Field[] = [];\n this.controls.forEach( control => {\n const f = new Field();\n f.id = control.id;\n f.type = control.type;\n f.label = control.label;\n f.value = this.myFormGroup.value[f.id];\n fieldList.push( f );\n });\n\n const submission = new CustomFormSubmission();\n submission.formId = this.model.id;\n submission.submissionData = JSON.stringify( fieldList );\n this.formApi.submitForm( submission ).then( res => {\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage(res.message));\n }).catch(error => {\n this.showMessage('error', this.msgService.getMessage('MSG_Auth_ERROR'));\n });\n console.log( fieldList ); */\n }\n /*\n showMessage( severity: string, message: string ) {\n this.messageService.clear();\n this.messageService.add({ severity, summary: '', detail: message});\n } */\n\n}\n","import {Component, Input} from '@angular/core';\n\nimport {BaseControlComponent} from '../base-control.component';\nimport {FormGroup} from '@angular/forms';\n\n\n@Component({\n selector: 'app-textbox-control',\n templateUrl: './textbox-control.component.html'\n\n})\nexport class TextboxControlComponent extends BaseControlComponent {\n\n // @Input() detailsForm: FormGroup;\n controls: any;\n constructor( ) {\n super();\n }\n\n /*\n ngOnInit(): void {\n\n\n this.route.params.subscribe(params => {\n\n this.model.id = +params['formId']; // (+) converts string 'id' to a number\n if ( this.model.id > 0 ) {\n this.getForm(this.model.id);\n } else {\n this.model.id = 0;\n }\n });\n } */\n /*\n getForm( FormId: number ) {\n this.formApi.get( FormId ).then( qrCode => {\n this.model = qrCode;\n this.buildForm();\n });\n } */\n /*\n buildForm() {\n\n this.controls = JSON.parse( this.model.configurationFields );\n const group = {};\n\n this.controls.forEach( control => {\n group[control.id ] = this.createControl( control );\n });\n\n this.myFormGroup = new FormGroup(group);\n } */\n /*\n createControl( control: any ) {\n let validArray = [];\n const ctrl = new FormControl('');\n if ( control.required ) {\n validArray.push(Validators.required);\n }\n if ( control.type === 'textBox' ){\n validArray.push(Validators.maxLength( control.maxlength ));\n }\n\n if ( control.type === 'numericBox' ){\n validArray.push(Validators.max( control.max ));\n validArray.push(Validators.min( control.min ));\n }\n if ( control.type === 'emailBox' ){\n validArray.push(Validators.pattern('^([0-9a-zA-Z]([-.\\\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\\\w]*[0-9a-zA-Z]\\\\.)+[a-zA-Z]{2,9})$'));\n }\n ctrl.setValidators( validArray );\n return ctrl;\n }\n*/\n onSubmit() {\n/*\n const fieldList: Field[] = [];\n this.controls.forEach( control => {\n const f = new Field();\n f.id = control.id;\n f.type = control.type;\n f.label = control.label;\n f.value = this.myFormGroup.value[f.id];\n fieldList.push( f );\n });\n\n const submission = new CustomFormSubmission();\n submission.formId = this.model.id;\n submission.submissionData = JSON.stringify( fieldList );\n this.formApi.submitForm( submission ).then( res => {\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage(res.message));\n }).catch(error => {\n this.showMessage('error', this.msgService.getMessage('MSG_Auth_ERROR'));\n });\n console.log( fieldList ); */\n }\n /*\n showMessage( severity: string, message: string ) {\n this.messageService.clear();\n this.messageService.add({ severity, summary: '', detail: message});\n } */\n\n}\n","import {Component, Input} from '@angular/core';\n\nimport {BaseControlComponent} from '../base-control.component';\nimport {FormGroup} from '@angular/forms';\n\n\n@Component({\n selector: 'app-multilinebox-control',\n templateUrl: './multilinebox-control.component.html'\n\n})\nexport class MultilineboxControlComponent extends BaseControlComponent {\n\n // @Input() detailsForm: FormGroup;\n controls: any;\n constructor( ) {\n super();\n }\n\n /*\n ngOnInit(): void {\n\n\n this.route.params.subscribe(params => {\n\n this.model.id = +params['formId']; // (+) converts string 'id' to a number\n if ( this.model.id > 0 ) {\n this.getForm(this.model.id);\n } else {\n this.model.id = 0;\n }\n });\n } */\n /*\n getForm( FormId: number ) {\n this.formApi.get( FormId ).then( qrCode => {\n this.model = qrCode;\n this.buildForm();\n });\n } */\n /*\n buildForm() {\n\n this.controls = JSON.parse( this.model.configurationFields );\n const group = {};\n\n this.controls.forEach( control => {\n group[control.id ] = this.createControl( control );\n });\n\n this.myFormGroup = new FormGroup(group);\n } */\n /*\n createControl( control: any ) {\n let validArray = [];\n const ctrl = new FormControl('');\n if ( control.required ) {\n validArray.push(Validators.required);\n }\n if ( control.type === 'textBox' ){\n validArray.push(Validators.maxLength( control.maxlength ));\n }\n\n if ( control.type === 'numericBox' ){\n validArray.push(Validators.max( control.max ));\n validArray.push(Validators.min( control.min ));\n }\n if ( control.type === 'emailBox' ){\n validArray.push(Validators.pattern('^([0-9a-zA-Z]([-.\\\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\\\w]*[0-9a-zA-Z]\\\\.)+[a-zA-Z]{2,9})$'));\n }\n ctrl.setValidators( validArray );\n return ctrl;\n }\n*/\n onSubmit() {\n/*\n const fieldList: Field[] = [];\n this.controls.forEach( control => {\n const f = new Field();\n f.id = control.id;\n f.type = control.type;\n f.label = control.label;\n f.value = this.myFormGroup.value[f.id];\n fieldList.push( f );\n });\n\n const submission = new CustomFormSubmission();\n submission.formId = this.model.id;\n submission.submissionData = JSON.stringify( fieldList );\n this.formApi.submitForm( submission ).then( res => {\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage(res.message));\n }).catch(error => {\n this.showMessage('error', this.msgService.getMessage('MSG_Auth_ERROR'));\n });\n console.log( fieldList ); */\n }\n /*\n showMessage( severity: string, message: string ) {\n this.messageService.clear();\n this.messageService.add({ severity, summary: '', detail: message});\n } */\n\n}\n","import {Component, OnDestroy, OnInit} from '@angular/core';\nimport {Subscription} from 'rxjs';\nimport {FormDesignerService} from '../../../../core/custom-form/form-designer.service';\n\n@Component({\n selector: 'app-check-box-editor',\n templateUrl: './check-box-editor.component.html'\n\n})\nexport class CheckBoxEditorComponent implements OnInit, OnDestroy {\n\n\n controlLabel = '';\n defaultValue: boolean;\n isRequired = false;\n subscription: Subscription;\n\n constructor(public designerService: FormDesignerService) {\n }\n\n ngOnInit(): void {\n\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.defaultValue = this.designerService.selectedCtrl.defaultValue;\n\n this.subscription = this.designerService.editorObservable$.subscribe(data => {\n\n if ( this.designerService.selectedCtrl.type === 'checkBox' ) {\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.defaultValue = this.designerService.selectedCtrl.defaultValue;\n }\n });\n\n }\n ngOnDestroy() {\n // prevent memory leak when component destroyed\n this.subscription.unsubscribe();\n }\n\n onConfirmEdit($event: MouseEvent) {\n\n this.designerService.selectedCtrl.label = this.controlLabel;\n this.designerService.selectedCtrl.required = this.isRequired;\n this.designerService.selectedCtrl.defaultValue = this.defaultValue;\n this.designerService.onEndEditor();\n\n }\n\n\n}\n","import {Component, Input} from '@angular/core';\n\nimport {BaseControlComponent} from '../base-control.component';\nimport {FormGroup} from '@angular/forms';\n\n\n@Component({\n selector: 'app-numericbox-control',\n templateUrl: './numericbox-control.component.html'\n\n})\nexport class NumericboxControlComponent extends BaseControlComponent {\n\n // @Input() detailsForm: FormGroup;\n controls: any;\n constructor( ) {\n super();\n }\n\n /*\n ngOnInit(): void {\n\n\n this.route.params.subscribe(params => {\n\n this.model.id = +params['formId']; // (+) converts string 'id' to a number\n if ( this.model.id > 0 ) {\n this.getForm(this.model.id);\n } else {\n this.model.id = 0;\n }\n });\n } */\n /*\n getForm( FormId: number ) {\n this.formApi.get( FormId ).then( qrCode => {\n this.model = qrCode;\n this.buildForm();\n });\n } */\n /*\n buildForm() {\n\n this.controls = JSON.parse( this.model.configurationFields );\n const group = {};\n\n this.controls.forEach( control => {\n group[control.id ] = this.createControl( control );\n });\n\n this.myFormGroup = new FormGroup(group);\n } */\n /*\n createControl( control: any ) {\n let validArray = [];\n const ctrl = new FormControl('');\n if ( control.required ) {\n validArray.push(Validators.required);\n }\n if ( control.type === 'textBox' ){\n validArray.push(Validators.maxLength( control.maxlength ));\n }\n\n if ( control.type === 'numericBox' ){\n validArray.push(Validators.max( control.max ));\n validArray.push(Validators.min( control.min ));\n }\n if ( control.type === 'emailBox' ){\n validArray.push(Validators.pattern('^([0-9a-zA-Z]([-.\\\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\\\w]*[0-9a-zA-Z]\\\\.)+[a-zA-Z]{2,9})$'));\n }\n ctrl.setValidators( validArray );\n return ctrl;\n }\n*/\n onSubmit() {\n/*\n const fieldList: Field[] = [];\n this.controls.forEach( control => {\n const f = new Field();\n f.id = control.id;\n f.type = control.type;\n f.label = control.label;\n f.value = this.myFormGroup.value[f.id];\n fieldList.push( f );\n });\n\n const submission = new CustomFormSubmission();\n submission.formId = this.model.id;\n submission.submissionData = JSON.stringify( fieldList );\n this.formApi.submitForm( submission ).then( res => {\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage(res.message));\n }).catch(error => {\n this.showMessage('error', this.msgService.getMessage('MSG_Auth_ERROR'));\n });\n console.log( fieldList ); */\n }\n /*\n showMessage( severity: string, message: string ) {\n this.messageService.clear();\n this.messageService.add({ severity, summary: '', detail: message});\n } */\n\n}\n","export default \"
\\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
\\n
\\n\";","export default \"\\n
\\n
\\n
\\n \\n
\\n
\\n
\\n\\n
\\n
\\n
\\n
\\n
الحقول المتوفرة
\\n
\\n
\\n
\\n
\\n \\n {{cont.name }}\\n
\\n\\n
\\n
\\n
\\n\\n
\\n
\\n
\\n
حقول الجدول
\\n
\\n
\\n\\n\\n \\n {{ctrl.label }}\\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\\n
\\n
هل انت متأكد من حذف هذا المدخل؟
\\n
\\n\\n \\n
\\n \\n \\n
\\n
\\n
\\n
\\n\\n\";","import {Component} from '@angular/core';\nimport {BaseControlComponent} from '../base-control.component';\n\n\n@Component({\n selector: 'app-checkbox-control',\n templateUrl: './checkbox-control.component.html'\n\n})\nexport class CheckboxControlComponent extends BaseControlComponent {\n\n // @Input() detailsForm: FormGroup;\n controls: any;\n constructor( ) {\n super();\n }\n\n /*\n ngOnInit(): void {\n\n\n this.route.params.subscribe(params => {\n\n this.model.id = +params['formId']; // (+) converts string 'id' to a number\n if ( this.model.id > 0 ) {\n this.getForm(this.model.id);\n } else {\n this.model.id = 0;\n }\n });\n } */\n /*\n getForm( FormId: number ) {\n this.formApi.get( FormId ).then( qrCode => {\n this.model = qrCode;\n this.buildForm();\n });\n } */\n /*\n buildForm() {\n\n this.controls = JSON.parse( this.model.configurationFields );\n const group = {};\n\n this.controls.forEach( control => {\n group[control.id ] = this.createControl( control );\n });\n\n this.myFormGroup = new FormGroup(group);\n } */\n /*\n createControl( control: any ) {\n let validArray = [];\n const ctrl = new FormControl('');\n if ( control.required ) {\n validArray.push(Validators.required);\n }\n if ( control.type === 'textBox' ){\n validArray.push(Validators.maxLength( control.maxlength ));\n }\n\n if ( control.type === 'numericBox' ){\n validArray.push(Validators.max( control.max ));\n validArray.push(Validators.min( control.min ));\n }\n if ( control.type === 'emailBox' ){\n validArray.push(Validators.pattern('^([0-9a-zA-Z]([-.\\\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\\\w]*[0-9a-zA-Z]\\\\.)+[a-zA-Z]{2,9})$'));\n }\n ctrl.setValidators( validArray );\n return ctrl;\n }\n*/\n onSubmit() {\n/*\n const fieldList: Field[] = [];\n this.controls.forEach( control => {\n const f = new Field();\n f.id = control.id;\n f.type = control.type;\n f.label = control.label;\n f.value = this.myFormGroup.value[f.id];\n fieldList.push( f );\n });\n\n const submission = new CustomFormSubmission();\n submission.formId = this.model.id;\n submission.submissionData = JSON.stringify( fieldList );\n this.formApi.submitForm( submission ).then( res => {\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage(res.message));\n }).catch(error => {\n this.showMessage('error', this.msgService.getMessage('MSG_Auth_ERROR'));\n });\n console.log( fieldList ); */\n }\n /*\n showMessage( severity: string, message: string ) {\n this.messageService.clear();\n this.messageService.add({ severity, summary: '', detail: message});\n } */\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport {ActivatedRoute, Router} from '@angular/router';\nimport {MessageService} from 'primeng/api';\nimport {SystemMessagingService} from '../../utilites/system-messaging.service';\nimport {CustomFormService} from '../../core/custom-form.service';\nimport {CustomForm} from '../../models/CustomForm';\nimport {FormDesignerService} from '../../core/custom-form/form-designer.service';\n\n@Component({\n selector: 'app-editor',\n templateUrl: './editor.component.html',\n styleUrls: ['./editor.component.scss'],\n providers: [MessageService]\n})\nexport class EditorComponent implements OnInit {\n\n\n model: CustomForm = new CustomForm();\n pageTitle = 'إضافة';\n constructor( private router: Router,\n private route: ActivatedRoute,\n private apiService: CustomFormService,\n private designService: FormDesignerService,\n private messageService: MessageService, private msgService: SystemMessagingService) {\n }\n\n ngOnInit(): void {\n\n this.model.formName = '';\n this.model.configurationFields = '';\n this.designService.formControls = [];\n\n this.route.params.subscribe(params => {\n\n this.model.id = +params['id']; // (+) converts string 'id' to a number\n if ( this.model.id > 0 ) {\n this.pageTitle = ' تعديل ';\n this.doRealInit(this.model.id);\n } else {\n this.model.id = 0;\n }\n });\n }\n\n doRealInit( Id: number ) {\n\n this.apiService.get( Id ).then( result => {\n this.model = result;\n if ( this.model.configurationFields ) {\n this.designService.formControls = JSON.parse(this.model.configurationFields);\n this.designService.formControls.forEach( item => {\n item.selected = false;\n });\n\n } else {\n this.designService.formControls = [];\n }\n\n });\n }\n\n async onSubmit() {\n\n // const res = await this.altService.add(this.model);\n\n this.model.configurationFields = JSON.stringify( this.designService.formControls);\n if (this.model.id === 0) {\n this.apiService.add(this.model).then(res => {\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage(res.message));\n if (res.isOK) {\n setTimeout(() => {this.router.navigate(['/admin/custom-form']); }, 1000);\n }\n }).catch(error => {\n this.showMessage('error', this.msgService.getMessage('MSG_Auth_ERROR'));\n });\n } else {\n this.apiService.update(this.model).then(res => {\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage(res.message));\n if (res.isOK) {\n setTimeout(() => {this.router.navigate(['/admin/custom-form']); }, 1000);\n }\n }).catch(error => {\n this.showMessage('error', this.msgService.getMessage('MSG_Auth_ERROR'));\n });\n }\n }\n\n showMessage( severity: string, message: string ) {\n this.messageService.clear();\n this.messageService.add({ severity, summary: '', detail: message});\n }\n\n}\n","export default \"\\n
\\n \\n \\n
\\n \\n الحقل مطلوب.\\n \\n \\n The minimum length for this field is {{detailsForm.get(controlKey).errors.minlength.requiredLength}} characters.\\n \\n \\n The maximum length for this field is {{detailsForm.get(controlKey).errors.maxlength.requiredLength}} characters.\\n \\n
\\n
\\n\\n\";","import {Component, Input, OnInit} from '@angular/core';\n\nimport {BaseControlComponent} from '../base-control.component';\nimport {FormGroup} from '@angular/forms';\nimport {DropdownBox} from '../../../../models/CustomForm';\nimport {SelectItem} from 'primeng/api';\n\n\n@Component({\n selector: 'app-dropdown-control',\n templateUrl: './dropdown-control.component.html'\n\n})\nexport class DropdownControlComponent extends BaseControlComponent implements OnInit {\n\n // @Input() detailsForm: FormGroup;\n controls: any;\n optionList: SelectItem[] = [];\n constructor( ) {\n super();\n }\n\n\n ngOnInit(): void {\n\n this.controlType = this.fieldProperty.type;\n this.controlKey = this.fieldProperty.id;\n this.controlLabel = this.fieldProperty.label;\n this.controlValue = this.fieldProperty.value;\n const ctrlObj: DropdownBox = this.fieldProperty as DropdownBox;\n console.log( this.controlKey);\n ctrlObj.options.forEach( item => {\n this.optionList.push( { label : item.name, value : item.name });\n });\n\n }\n /*\n getForm( FormId: number ) {\n this.formApi.get( FormId ).then( qrCode => {\n this.model = qrCode;\n this.buildForm();\n });\n } */\n /*\n buildForm() {\n\n this.controls = JSON.parse( this.model.configurationFields );\n const group = {};\n\n this.controls.forEach( control => {\n group[control.id ] = this.createControl( control );\n });\n\n this.myFormGroup = new FormGroup(group);\n } */\n /*\n createControl( control: any ) {\n let validArray = [];\n const ctrl = new FormControl('');\n if ( control.required ) {\n validArray.push(Validators.required);\n }\n if ( control.type === 'textBox' ){\n validArray.push(Validators.maxLength( control.maxlength ));\n }\n\n if ( control.type === 'numericBox' ){\n validArray.push(Validators.max( control.max ));\n validArray.push(Validators.min( control.min ));\n }\n if ( control.type === 'emailBox' ){\n validArray.push(Validators.pattern('^([0-9a-zA-Z]([-.\\\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\\\w]*[0-9a-zA-Z]\\\\.)+[a-zA-Z]{2,9})$'));\n }\n ctrl.setValidators( validArray );\n return ctrl;\n }\n*/\n onSubmit() {\n/*\n const fieldList: Field[] = [];\n this.controls.forEach( control => {\n const f = new Field();\n f.id = control.id;\n f.type = control.type;\n f.label = control.label;\n f.value = this.myFormGroup.value[f.id];\n fieldList.push( f );\n });\n\n const submission = new CustomFormSubmission();\n submission.formId = this.model.id;\n submission.submissionData = JSON.stringify( fieldList );\n this.formApi.submitForm( submission ).then( res => {\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage(res.message));\n }).catch(error => {\n this.showMessage('error', this.msgService.getMessage('MSG_Auth_ERROR'));\n });\n console.log( fieldList ); */\n }\n /*\n showMessage( severity: string, message: string ) {\n this.messageService.clear();\n this.messageService.add({ severity, summary: '', detail: message});\n } */\n\n}\n","import { Injectable } from '@angular/core';\nimport {HttpClient, HttpHeaders} from '@angular/common/http';\nimport {GeneralTransfer, PaginationModel, PagingAndFilteringInfo} from '../models/GeneralTransfer';\nimport {BASE_URL} from '../models/constant';\nimport {CustomForm, CustomFormSubmission} from '../models/CustomForm';\n\n\n@Injectable({\n providedIn: 'root'\n})\nexport class CustomFormService {\n\n httpOptions = {\n headers: new HttpHeaders({ 'Content-Type': 'application/json' }),\n };\n\n constructor(private http: HttpClient ) {}\n\n async getList( ) {\n const resp = await this.http\n .get(\n `${BASE_URL}api/CustomForm/list`, this.httpOptions).toPromise();\n return resp;\n }\n\n async get( ItemId: number) {\n const resp = await this.http\n .get(\n `${BASE_URL}api/CustomForm/${ItemId}`, this.httpOptions).toPromise();\n return resp;\n }\n\n async delete( ItemId: number) {\n const resp = await this.http\n .delete(\n `${BASE_URL}api/CustomForm/${ItemId}`, this.httpOptions).toPromise();\n return resp;\n }\n\n\n async add( ItemObject: CustomForm) {\n const resp = await this.http\n .post(\n `${BASE_URL}api/CustomForm/`, ItemObject, this.httpOptions).toPromise();\n return resp;\n }\n\n\n async update( ItemObject: CustomForm) {\n const resp = await this.http\n .put(\n `${BASE_URL}api/CustomForm/`, ItemObject, this.httpOptions).toPromise();\n return resp;\n }\n\n paging( paginginfo: PagingAndFilteringInfo) {\n\n return this.http.post( `${BASE_URL}api/CustomForm/paging`, paginginfo, this.httpOptions);\n }\n\n\n async submissionGet( ItemId: number) {\n const resp = await this.http\n .get(\n `${BASE_URL}api/CustomForm/submission/${ItemId}`, this.httpOptions).toPromise();\n return resp;\n }\n submissionPaging( paginginfo: PagingAndFilteringInfo) {\n\n return this.http.post( `${BASE_URL}api/CustomForm/submission-paging`, paginginfo, this.httpOptions);\n }\n\n\n}\n","import {Component, OnDestroy, OnInit} from '@angular/core';\nimport {Subscription} from 'rxjs';\nimport {FormDesignerService} from '../../../../core/custom-form/form-designer.service';\n\n@Component({\n selector: 'app-email-box-editor',\n templateUrl: './email-box-editor.component.html'\n})\nexport class EmailBoxEditorComponent implements OnInit, OnDestroy {\n\n controlLabel = '';\n validation = '';\n isRequired = false;\n subscription: Subscription;\n\n constructor(public designerService: FormDesignerService) {\n }\n\n ngOnInit(): void {\n\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.validation = this.designerService.selectedCtrl.validation;\n this.subscription = this.designerService.editorObservable$.subscribe(data => {\n\n if ( this.designerService.selectedCtrl.type === 'emailBox' ) {\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.validation = this.designerService.selectedCtrl.validation;\n }\n });\n\n }\n ngOnDestroy() {\n // prevent memory leak when component destroyed\n this.subscription.unsubscribe();\n }\n\n onConfirmEdit($event: MouseEvent) {\n\n this.designerService.selectedCtrl.label = this.controlLabel;\n this.designerService.selectedCtrl.required = this.isRequired;\n this.designerService.selectedCtrl.validation = this.validation;\n this.designerService.onEndEditor();\n\n }\n\n}\n","export default \"
\\n

إدارة الجداول

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

{{pageTitle}}

\\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
\\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
{{message.detail}}
\\n\\n
\\n
\\n
\\n
\\n\\n\";","import { Component, OnInit } from '@angular/core';\n\nimport {FormDesignerService} from '../../../core/custom-form/form-designer.service';\n\n@Component({ selector: 'app-main-form-builder-view', templateUrl: './main.component.html'})\nexport class MainComponent implements OnInit {\n\n displayAddControl = false;\n displayEditControl = false;\n deleteDisplay = false;\n selectedCtrl;\n editCtrl;\n dragElementId = 0;\n dragTargetElementId = 0;\n constructor( public designerService: FormDesignerService) { }\n\n ngOnInit(): void {\n\n }\n\n onAdd($event: MouseEvent) {\n\n this.designerService.resetPlaceHolderList();\n this.displayAddControl = true;\n }\n onConfirmAdd($event: MouseEvent) {\n\n this.designerService.addSelectedControls();\n this.displayAddControl = false;\n }\n\n onCtrlEdit(ctrl: any) {\n\n this.designerService.selectedCtrl = ctrl;\n this.designerService.onStartEditor( );\n // this.designerService.showHideEditor = true;\n }\n\n onCtrlDelete(ctrl: any) {\n\n this.selectedCtrl = ctrl;\n this.deleteDisplay = true;\n }\n\n onConfirmDelete($event: MouseEvent) {\n\n this.designerService.onDeleteControlBox( this.selectedCtrl );\n this.deleteDisplay = false;\n\n }\n\n\n onDragStart($event: DragEvent, id: any) {\n\n $event.dataTransfer.setData('text/move', id );\n $event.dataTransfer.effectAllowed = 'move';\n this.dragElementId = id;\n this.dragTargetElementId = 0;\n console.log( 'drag started: ' + id );\n }\n\n onDragEnter($event: DragEvent, id: any) {\n\n this.dragTargetElementId = id;\n console.log( 'drag Enter: ' + id );\n $event.preventDefault();\n }\n\n onDragOver($event: DragEvent, id: any) {\n // $event.dataTransfer.dropEffect = 'move';\n console.log( 'drag Over: ' + id );\n $event.preventDefault();\n\n }\n\n onDrop($event: DragEvent, id: any) {\n\n const srcId = $event.dataTransfer.getData( 'text/move');\n console.log( 'drag id: ' + srcId + ' drop id : ' + id );\n if ( srcId.length > 0 ) {\n this.designerService.onControlReorder(srcId, id);\n $event.preventDefault();\n }\n }\n\n\n onControlDragStart($event: DragEvent, ctrl: any) {\n $event.dataTransfer.setData('text/copy', ctrl.type );\n $event.dataTransfer.effectAllowed = 'copy';\n console.log( 'drag started: ' + ctrl.type );\n }\n\n onControlsDragOver($event: DragEvent) {\n $event.dataTransfer.dropEffect = 'move';\n console.log( 'onControlsDragOver: ');\n $event.preventDefault();\n }\n\n onControlsDrop($event: DragEvent) {\n\n const newId = $event.dataTransfer.getData( 'text/copy');\n if ( newId.length > 0 ) {\n this.designerService.addSelectedControl( newId);\n $event.preventDefault();\n }\n }\n}\n","export default \"\\n
\\n \\n \\n
\\n \\n الحقل مطلوب.\\n \\n \\n The minimum value for this field is {{detailsForm.get(controlKey).errors.min.min}}.\\n \\n \\n The maximum value for this field is {{detailsForm.get(controlKey).errors.max.max}}.\\n \\n
\\n
\\n\\n\";","import {Component, OnDestroy, OnInit} from '@angular/core';\nimport {FormDesignerService} from '../../../../core/custom-form/form-designer.service';\nimport {Subscription} from 'rxjs';\n\n@Component({\n selector: 'app-text-box-editor',\n templateUrl: './text-box-editor.component.html'\n})\nexport class TextBoxEditorComponent implements OnInit, OnDestroy {\n\n controlLabel = '';\n maxLength = 32;\n isRequired = false;\n subscription: Subscription;\n\n constructor(public designerService: FormDesignerService) {\n }\n\n ngOnInit(): void {\n\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.maxLength = this.designerService.selectedCtrl.maxlength;\n this.subscription = this.designerService.editorObservable$.subscribe(data => {\n\n if ( this.designerService.selectedCtrl.type === 'textBox' ) {\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.maxLength = this.designerService.selectedCtrl.maxlength;\n }\n });\n\n }\n ngOnDestroy() {\n // prevent memory leak when component destroyed\n this.subscription.unsubscribe();\n }\n\n onNumberBoxKeyDown($event: KeyboardEvent) {\n if ( this.maxLength < 0 )\n this.maxLength = 0;\n }\n\n onConfirmEdit($event: MouseEvent) {\n\n this.designerService.selectedCtrl.label = this.controlLabel;\n this.designerService.selectedCtrl.required = this.isRequired;\n this.designerService.selectedCtrl.maxlength = this.maxLength;\n this.designerService.onEndEditor();\n\n }\n}\n","export default \"
\\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
\\n\";","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJlZGl0b3IuY29tcG9uZW50LnNjc3MifQ== */\";","export default \"\\n
\\n \\n \\n \\n\\n
\\n \\n الحقل مطلوب.\\n \\n
\\n
\\n\\n\";","import { Component, OnInit } from '@angular/core';\nimport {ActivatedRoute, Router} from '@angular/router';\nimport {FormGroup, FormControl, Validators, FormBuilder} from '@angular/forms';\nimport {CustomForm, CustomFormSubmission, Field} from '../../../models/CustomForm';\nimport {ClientCustomFormService} from '../../../core/custom-form/client-custom-form.service';\nimport {MessageService} from 'primeng/api';\nimport {SystemMessagingService} from '../../../utilites/system-messaging.service';\n\n\n@Component({\n selector: 'app-main-form-view',\n templateUrl: './main-form-view.component.html',\n providers: [MessageService]\n\n})\nexport class MainFormViewComponent implements OnInit {\n\n model: CustomForm = new CustomForm();\n myFormGroup: FormGroup = new FormGroup({});\n controls: any;\n constructor( private router: Router,\n private route: ActivatedRoute,\n private formApi: ClientCustomFormService,\n private messageService: MessageService, private msgService: SystemMessagingService,\n private fb: FormBuilder) { }\n\n ngOnInit(): void {\n\n this.route.params.subscribe(params => {\n\n this.model.id = +params['formId']; // (+) converts string 'id' to a number\n if ( this.model.id > 0 ) {\n this.getForm(this.model.id);\n } else {\n this.model.id = 0;\n }\n });\n }\n getForm( FormId: number ) {\n this.formApi.get( FormId ).then( qrCode => {\n this.model = qrCode;\n this.buildForm();\n });\n }\n buildForm() {\n\n this.controls = JSON.parse( this.model.configurationFields );\n const group = {};\n\n this.controls.forEach( control => {\n group[control.id ] = this.createControl( control );\n });\n\n this.myFormGroup = new FormGroup(group);\n }\n createControl( control: any ) {\n let validArray = [];\n const ctrl = new FormControl('');\n if ( control.required ) {\n validArray.push(Validators.required);\n }\n if ( control.type === 'textBox' ){\n validArray.push(Validators.maxLength( control.maxlength ));\n }\n if ( control.type === 'textAreaBox' ){\n validArray.push(Validators.maxLength( control.maxlength ));\n }\n\n if ( control.type === 'numericBox' ){\n validArray.push(Validators.max( control.max ));\n validArray.push(Validators.min( control.min ));\n }\n if ( control.type === 'emailBox' ){\n validArray.push(Validators.pattern('^([0-9a-zA-Z]([-.\\\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\\\w]*[0-9a-zA-Z]\\\\.)+[a-zA-Z]{2,9})$'));\n }\n ctrl.setValidators( validArray );\n return ctrl;\n }\n\n onSubmit() {\n\n const fieldList: Field[] = [];\n this.controls.forEach( control => {\n const f = new Field();\n f.id = control.id;\n f.type = control.type;\n f.label = control.label;\n f.value = this.myFormGroup.value[f.id];\n fieldList.push( f );\n });\n\n const submission = new CustomFormSubmission();\n submission.formId = this.model.id;\n submission.submissionData = JSON.stringify( fieldList );\n this.formApi.submitForm( submission ).then( res => {\n this.showMessage(res.isOK === true ? 'success' : 'error', this.msgService.getMessage(res.message));\n }).catch(error => {\n this.showMessage('error', this.msgService.getMessage('MSG_Auth_ERROR'));\n });\n console.log( fieldList );\n }\n showMessage( severity: string, message: string ) {\n this.messageService.clear();\n this.messageService.add({ severity, summary: '', detail: message});\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EditorComponent } from './editor/editor.component';\nimport { ListComponent } from './list/list.component';\nimport {RouterModule, Routes} from '@angular/router';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {PrimeNGModule} from '../primeng.module';\nimport {CoreModule} from '../core/core.module';\nimport {UtilitesModule} from '../utilites/utilites.module';\nimport { MainComponent } from './designer/main/main.component';\nimport { BaseViewComponent } from './designer/editors/base-view/base-view.component';\nimport { TextBoxEditorComponent } from './designer/editors/text-box-editor/text-box-editor.component';\nimport { NumericBoxEditorComponent } from './designer/editors/numeric-box-editor/numeric-box-editor.component';\nimport { EmailBoxEditorComponent } from './designer/editors/email-box-editor/email-box-editor.component';\nimport { TextareaBoxEditorComponent } from './designer/editors/textarea-box-editor/textarea-box-editor.component';\nimport {MainFormViewComponent} from './front-end/main-view/main-form-view.component';\nimport {TextboxControlComponent} from './front-end/controls/textbox/textbox-control.component';\nimport {EmailboxControlComponent} from './front-end/controls/emailbox/emailbox-control.component';\nimport {NumericboxControlComponent} from './front-end/controls/numericbox/numericbox-control.component';\nimport {DropdownControlComponent} from './front-end/controls/dropdown/dropdown-control.component';\nimport {MultilineboxControlComponent} from './front-end/controls/multilinebox/multilinebox-control.component';\nimport {CheckBoxEditorComponent} from './designer/editors/check-box/check-box-editor.component';\nimport {CheckboxControlComponent} from './front-end/controls/checkbox/checkbox-control.component';\nimport {DropdownBoxEditorComponent} from './designer/editors/dropdownBox/dropdown-box-editor.component';\nimport { SubmittionsComponent } from './submittions/submittions.component';\n\n\n\nconst routes: Routes = [\n { path: '', component: ListComponent },\n { path: 'add', component: EditorComponent },\n { path: 'edit/:id', component: EditorComponent },\n { path: 'view/:formId', component: MainFormViewComponent },\n { path: 'submissions/:formId', component: SubmittionsComponent }\n\n];\n\n\n\n@NgModule({\n declarations: [\n MainFormViewComponent,\n EditorComponent,\n ListComponent,\n MainComponent,\n BaseViewComponent,\n TextBoxEditorComponent,\n NumericBoxEditorComponent,\n EmailBoxEditorComponent,\n TextareaBoxEditorComponent,\n CheckBoxEditorComponent,\n DropdownBoxEditorComponent,\n /*BaseControlComponent,*/\n TextboxControlComponent,\n EmailboxControlComponent,\n NumericboxControlComponent,\n DropdownControlComponent,\n MultilineboxControlComponent,\n CheckboxControlComponent,\n SubmittionsComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n PrimeNGModule,\n CoreModule,\n UtilitesModule,\n RouterModule.forChild(routes)\n ]\n})\nexport class CustomFormModule { }\n","export default \"
\\n

إدارة الجداول

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

القائمة

\\n
\\n {{totalRecords}} مدخل \\n
\\n
\\n\\n
\\n \\n\\n \\n \\n تاريخ الارسال\\n \\n \\n \\n\\n \\n \\n \\n \\n
{{rowData['updatedDate'] | date:'yyyy-MM-dd'}}
\\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
\\n
\\n
\\n
\\n {{record.label }}\\n {{record.value }}\\n
\\n
\\n
\\n
\\n\\n \\n
\\n \\n
\\n
\\n
\\n
\\n\";","import { Component, OnInit } from '@angular/core';\nimport {ActivatedRoute, Router} from '@angular/router';\nimport {CustomFormService} from '../../core/custom-form.service';\nimport {LazyLoadEvent, MessageService} from 'primeng/api';\nimport {SystemMessagingService} from '../../utilites/system-messaging.service';\nimport {CustomFormSubmission, Field} from '../../models/CustomForm';\nimport {PagingAndFilteringInfo} from '../../models/GeneralTransfer';\n\n@Component({\n selector: 'app-submittions',\n templateUrl: './submittions.component.html',\n providers: [MessageService]\n})\nexport class SubmittionsComponent implements OnInit {\n\n submissions: CustomFormSubmission[] = [];\n formId = 0;\n totalRecords = 0;\n loading: boolean;\n pageSize = 10;\n cols: any[];\n selectedSubmissionFields: Field[] = [];\n showViewDlg = false;\n\n constructor(\n private router: Router,\n private route: ActivatedRoute,\n private apiService: CustomFormService,\n private messageService: MessageService, private msgService: SystemMessagingService)\n { }\n\n ngOnInit(): void {\n this.loading = true;\n this.route.params.subscribe(params => {\n this.formId = +params['formId']; // (+) converts string 'id' to a number\n });\n }\n LazyLoading( event: LazyLoadEvent ) {\n this.loading = true;\n if ( !event.sortField ) {\n event.sortField = 'updatedDate';\n }\n this.pageSize = event.rows;\n const pNo = (event.first + event.rows ) / event.rows;\n this.callService( pNo, this.pageSize, event.sortField, event.sortOrder === -1 ? false : true);\n }\n callService( pId: number, pSize: number, sOrder: string, sDirect: boolean ) {\n\n const paginginfo = new PagingAndFilteringInfo();\n paginginfo.index = pId;\n paginginfo.size = pSize;\n paginginfo.isAsc = sDirect;\n paginginfo.orderBy = sOrder;\n\n\n const fields: any = {};\n if ( this.formId !== null ) {\n fields['FormId'] = this.formId;\n }\n paginginfo.fields = fields;\n\n this.apiService.submissionPaging( paginginfo).subscribe( result => {\n this.submissions = result.items;\n this.totalRecords = result.totalItems;\n\n this.loading = false;\n\n });\n }\n\n\n onView(rowData: any) {\n\n this.apiService.submissionGet( rowData.id).then( result => {\n this.selectedSubmissionFields = JSON.parse( result.submissionData);\n this.showViewDlg = true;\n\n });\n }\n\n onPrint(rowData: any) {}\n\n onDelete(rowData: any) {}\n}\n","export default \"\\n
\\n \\n \\n
\\n \\n الحقل مطلوب.\\n \\n\\n \\n The maximum length for this field is {{detailsForm.get(controlKey).errors.maxlength.requiredLength}} characters.\\n \\n
\\n
\\n\\n\";","import {Component, OnDestroy, OnInit} from '@angular/core';\nimport {Subscription} from 'rxjs';\nimport {FormDesignerService} from '../../../../core/custom-form/form-designer.service';\n\n@Component({\n selector: 'app-textarea-box-editor',\n templateUrl: './textarea-box-editor.component.html'\n})\nexport class TextareaBoxEditorComponent implements OnInit, OnDestroy {\n\n controlLabel = '';\n maxLength = 256;\n rows = 2;\n isRequired = false;\n subscription: Subscription;\n\n constructor(public designerService: FormDesignerService) {\n }\n\n ngOnInit(): void {\n\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.maxLength = this.designerService.selectedCtrl.maxlength;\n this.rows = this.designerService.selectedCtrl.rows;\n this.subscription = this.designerService.editorObservable$.subscribe(data => {\n\n if ( this.designerService.selectedCtrl.type === 'textAreaBox' ) {\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.maxLength = this.designerService.selectedCtrl.maxlength;\n this.rows = this.designerService.selectedCtrl.rows;\n }\n });\n\n }\n ngOnDestroy() {\n // prevent memory leak when component destroyed\n this.subscription.unsubscribe();\n }\n\n onNumberBoxKeyDown($event: KeyboardEvent, fieldName: string ) {\n if ( fieldName === 'maxLength') {\n if (this.maxLength < 0)\n this.maxLength = 0;\n }\n if ( fieldName === 'rows') {\n if (this.rows < 2)\n this.maxLength = 2;\n }\n }\n\n onConfirmEdit($event: MouseEvent) {\n\n this.designerService.selectedCtrl.label = this.controlLabel;\n this.designerService.selectedCtrl.required = this.isRequired;\n this.designerService.selectedCtrl.maxlength = this.maxLength;\n this.designerService.selectedCtrl.rows = this.rows;\n this.designerService.onEndEditor();\n\n }\n\n}\n","export default \"
\\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
\\n
\\n
\\n  \\n \\n
\\n
\\n
\\n\";","export default \"\\n
\\n \\n \\n
\\n \\n الحقل مطلوب.\\n \\n \\n The email is invalid\\n \\n\\n
\\n
\\n\\n\";","import {OnInit, Input, Injectable} from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\nimport {Field} from '../../../models/CustomForm';\r\n\r\n@Injectable()\r\nexport abstract class BaseControlComponent implements OnInit {\r\n @Input() fieldProperty: Field;\r\n @Input() detailsForm: FormGroup;\r\n\r\n public controlType: string;\r\n public controlKey: string;\r\n public controlLabel: string;\r\n public controlValue: any;\r\n\r\n ngOnInit() {\r\n this.controlType = this.fieldProperty.type;\r\n this.controlKey = this.fieldProperty.id;\r\n this.controlLabel = this.fieldProperty.label;\r\n this.controlValue = this.fieldProperty.value;\r\n }\r\n}\r\n","export default \"
\\n
\\n \\n
\\n \\n
\\n
\\n \\n
\\n
\\n
\\n
\\n {{option.name }}\\n \\n
\\n
\\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n \\n \\n  \\n \\n
\\n
\\n
\\n  \\n \\n
\\n
\\n
\\n\";","import {Component, OnDestroy, OnInit} from '@angular/core';\nimport {FormDesignerService} from '../../../../core/custom-form/form-designer.service';\nimport {Subscription} from 'rxjs';\nimport {DropdownOption} from '../../../../models/CustomForm';\n\n@Component({\n selector: 'app-dropdown-box-editor',\n templateUrl: './dropdown-box-editor.component.html'\n})\nexport class DropdownBoxEditorComponent implements OnInit, OnDestroy {\n\n controlLabel = '';\n isRequired = false;\n options: DropdownOption[] = [];\n // optionvalue = '';\n currentEditValue = '';\n subscription: Subscription;\n\n\n constructor(public designerService: FormDesignerService) {\n }\n\n ngOnInit(): void {\n\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.designerService.selectedCtrl.options.forEach( it => { it.selected = false; it.editMode = false; });\n this.options = JSON.parse( JSON.stringify(this.designerService.selectedCtrl.options ) );\n this.subscription = this.designerService.editorObservable$.subscribe(data => {\n\n if ( this.designerService.selectedCtrl.type === 'dropdownBox' ) {\n this.controlLabel = this.designerService.selectedCtrl.label;\n this.isRequired = this.designerService.selectedCtrl.required;\n this.designerService.selectedCtrl.options.forEach( it => { it.selected = false; it.editMode = false; });\n this.options = JSON.parse( JSON.stringify(this.designerService.selectedCtrl.options ) );\n }\n });\n\n }\n ngOnDestroy() {\n // prevent memory leak when component destroyed\n this.subscription.unsubscribe();\n }\n\n\n onConfirmEdit($event: MouseEvent) {\n\n this.designerService.selectedCtrl.label = this.controlLabel;\n this.designerService.selectedCtrl.required = this.isRequired;\n this.designerService.selectedCtrl.options = JSON.parse( JSON.stringify(this.options ) );\n this.designerService.onEndEditor();\n\n }\n\n\n onDrop($event: DragEvent, id: any) {\n\n const srcId = $event.dataTransfer.getData( 'text/move');\n console.log( 'drag id: ' + srcId + ' drop id : ' + id );\n if ( srcId.length > 0 ) {\n this.reOrderOptions( parseInt(srcId, 10 ), parseInt(id, 10 ));\n $event.preventDefault();\n }\n }\n reOrderOptions( srcId: number, destId: number ) {\n\n const tmpList: any[] = [];\n const srcItem = this.options.filter( x => x.id === srcId )[0];\n\n this.options.forEach( item => {\n if ( item.id === destId ) {\n tmpList.push(srcItem);\n }\n if ( item.id !== srcId ) {\n tmpList.push(item);\n }\n });\n\n this.options = tmpList;\n\n }\n\n onDragOver($event: DragEvent, id: any) {\n console.log( 'drag Over: ' + id );\n $event.preventDefault();\n\n }\n\n onDragEnter($event: DragEvent, id: any) {\n // this.dragTargetElementId = id;\n console.log( 'drag Enter: ' + id );\n $event.preventDefault();\n }\n\n onDragStart($event: DragEvent, id: any) {\n $event.dataTransfer.setData('text/move', id );\n $event.dataTransfer.effectAllowed = 'move';\n console.log( 'drag started: ' + id );\n }\n\n onAddOption($event: MouseEvent) {\n\n const newOpt = new DropdownOption();\n newOpt.id = this.options.length + 1;\n newOpt.name = 'خيار جديد';\n newOpt.selected = false;\n newOpt.editMode = false;\n this.options.push( newOpt );\n\n }\n\n onselectDeselect($event: MouseEvent, option: DropdownOption) {\n\n const currentSel = option.selected;\n this.options.forEach( item => {\n item.selected = false;\n });\n\n option.selected = !currentSel;\n\n }\n\n onOptionDelete(ctrl: any) {\n\n const tmplist: any[] = [];\n this.options.forEach( item => {\n if ( item.id !== ctrl.id) {\n tmplist.push(item);\n }\n });\n this.options = [];\n tmplist.forEach( item => {\n this.options.push( item );\n });\n }\n\n onOptionlEdit(option: DropdownOption) {\n\n if( option.editMode === false ) {\n this.options.forEach(item => {\n if (item.id !== option.id) {\n item.editMode = false;\n }\n });\n option.editMode = !option.editMode;\n this.currentEditValue = option.name;\n } else {\n option.name = this.currentEditValue;\n option.editMode = false;\n }\n }\n\n onOptionEditCancel(option: DropdownOption) {\n option.editMode = false;\n\n }\n}\n"],"sourceRoot":"webpack:///"}