UNPKG

@rangertechnologies/ngnxt

Version:

This library was used for creating dymanic UI based on the input JSON/data

1 lines 1.52 MB
{"version":3,"file":"rangertechnologies-ngnxt.mjs","sources":["../../../projects/nxt-app/src/lib/nxt-app.service.ts","../../../projects/nxt-app/src/lib/nxt-app.component.ts","../../../projects/nxt-app/src/lib/services/change.service.ts","../../../projects/nxt-app/src/lib/wrapper.ts","../../../projects/nxt-app/src/lib/model/errorWrapper.ts","../../../projects/nxt-app/src/lib/sample.ts","../../../projects/nxt-app/src/lib/services/salesforce.service.ts","../../../projects/nxt-app/src/lib/services/data.service.ts","../../../projects/nxt-app/src/lib/services/shared.service.ts","../../../projects/nxt-app/src/lib/i18n-config.service.ts","../../../projects/nxt-app/src/lib/i18n.service.ts","../../../projects/nxt-app/src/lib/components/custom-rich-text/custom-rich-text.component.ts","../../../projects/nxt-app/src/lib/components/custom-rich-text/custom-rich-text.component.html","../../../projects/nxt-app/src/lib/components/button/nxt-button.component.ts","../../../projects/nxt-app/src/lib/components/button/nxt-button.component.html","../../../projects/nxt-app/src/lib/components/pagination/pagination.component.ts","../../../projects/nxt-app/src/lib/components/pagination/pagination.component.html","../../../projects/nxt-app/src/lib/pipe/search-filter/search-filter.pipe.ts","../../../projects/nxt-app/src/lib/pipe/date/date.pipe.ts","../../../projects/nxt-app/src/lib/pipe/time/time.pipe.ts","../../../projects/nxt-app/src/lib/pipe/editColumnCheck/edit-column-check.pipe.ts","../../../projects/nxt-app/src/lib/pipe/editColumnDropdown/edit-column-dropdown.pipe.ts","../../../projects/nxt-app/src/lib/pipe/editColumnType/edit-column-type.pipe.ts","../../../projects/nxt-app/src/lib/pipe/get-value.pipe.ts","../../../projects/nxt-app/src/lib/components/datatable/datatable.component.ts","../../../projects/nxt-app/src/lib/components/datatable/datatable.component.html","../../../projects/nxt-app/src/lib/model/changeWrapper.ts","../../../projects/nxt-app/src/lib/i18n.pipe.ts","../../../projects/nxt-app/src/lib/components/pick-location/pick-location.component.ts","../../../projects/nxt-app/src/lib/components/pick-location/pick-location.component.html","../../../projects/nxt-app/src/lib/components/custom-input/custom-input.component.ts","../../../projects/nxt-app/src/lib/components/custom-input/custom-input.component.html","../../../projects/nxt-app/src/lib/components/custom-text-area/custom-text-area.component.ts","../../../projects/nxt-app/src/lib/components/custom-text-area/custom-text-area.component.html","../../../projects/nxt-app/src/lib/components/custom-date-picker/custom-date-picker.component.ts","../../../projects/nxt-app/src/lib/components/custom-date-picker/custom-date-picker.component.html","../../../projects/nxt-app/src/lib/components/dropdown-with-flag/dropdown-with-flag.component.ts","../../../projects/nxt-app/src/lib/components/dropdown-with-flag/dropdown-with-flag.component.html","../../../projects/nxt-app/src/lib/components/custom-dropdown/custom-dropdown.component.ts","../../../projects/nxt-app/src/lib/components/custom-dropdown/custom-dropdown.component.html","../../../projects/nxt-app/src/lib/components/custom-label/custom-label.component.ts","../../../projects/nxt-app/src/lib/components/custom-label/custom-label.component.html","../../../projects/nxt-app/src/lib/pages/questionnaire/questionnaire.component.ts","../../../projects/nxt-app/src/lib/pages/questionnaire/questionnaire.component.html","../../../projects/nxt-app/src/lib/components/custom-table/custom-table.component.ts","../../../projects/nxt-app/src/lib/components/custom-table/custom-table.component.html","../../../projects/nxt-app/src/lib/services/storage.service.ts","../../../projects/nxt-app/src/lib/components/image-cropper/utils/cropper-position.utils.ts","../../../projects/nxt-app/src/lib/components/image-cropper/component/cropper.state.ts","../../../projects/nxt-app/src/lib/components/image-cropper/interfaces/move-start.interface.ts","../../../projects/nxt-app/src/lib/components/image-cropper/utils/resize.utils.ts","../../../projects/nxt-app/src/lib/components/image-cropper/utils/percentage.utils.ts","../../../projects/nxt-app/src/lib/components/image-cropper/services/crop.service.ts","../../../projects/nxt-app/src/lib/components/image-cropper/utils/exif.utils.ts","../../../projects/nxt-app/src/lib/components/image-cropper/services/load-image.service.ts","../../../projects/nxt-app/src/lib/components/image-cropper/utils/keyboard.utils.ts","../../../projects/nxt-app/src/lib/components/image-cropper/component/image-cropper.component.ts","../../../projects/nxt-app/src/lib/components/image-cropper/component/image-cropper.component.html","../../../projects/nxt-app/src/lib/components/custom-calendar/custom-calendar.component.ts","../../../projects/nxt-app/src/lib/components/custom-calendar/custom-calendar.component.html","../../../projects/nxt-app/src/lib/components/search-box/search-box.component.ts","../../../projects/nxt-app/src/lib/components/search-box/search-box.component.html","../../../projects/nxt-app/src/lib/components/file-upload/file-upload.component.ts","../../../projects/nxt-app/src/lib/components/file-upload/file-upload.component.html","../../../projects/nxt-app/src/lib/components/dependent-table/dependent-table.component.ts","../../../projects/nxt-app/src/lib/components/dependent-table/dependent-table.component.html","../../../projects/nxt-app/src/lib/components/table-appendix/table-appendix.component.ts","../../../projects/nxt-app/src/lib/components/table-appendix/table-appendix.component.html","../../../projects/nxt-app/src/lib/components/custom-date/custom-date.component.ts","../../../projects/nxt-app/src/lib/components/custom-date/custom-date.component.html","../../../projects/nxt-app/src/lib/components/custom-time/custom-time.component.ts","../../../projects/nxt-app/src/lib/components/custom-time/custom-time.component.html","../../../projects/nxt-app/src/lib/components/custom-button/custom-button.component.ts","../../../projects/nxt-app/src/lib/components/custom-button/custom-button.component.html","../../../projects/nxt-app/src/lib/components/custom-model/custom-model.component.ts","../../../projects/nxt-app/src/lib/components/custom-model/custom-model.component.html","../../../projects/nxt-app/src/lib/components/custom-radio/custom-radio.component.ts","../../../projects/nxt-app/src/lib/components/custom-radio/custom-radio.component.html","../../../projects/nxt-app/src/lib/pages/questionbook/questionbook.component.ts","../../../projects/nxt-app/src/lib/pages/questionbook/questionbook.component.html","../../../projects/nxt-app/src/lib/pages/booklet/booklet.component.ts","../../../projects/nxt-app/src/lib/pages/booklet/booklet.component.html","../../../projects/nxt-app/src/lib/components/file-view/file-view.component.ts","../../../projects/nxt-app/src/lib/components/file-view/file-view.component.html","../../../projects/nxt-app/src/lib/pages/summary-page/summary-page.component.ts","../../../projects/nxt-app/src/lib/pages/summary-page/summary-page.component.html","../../../projects/nxt-app/src/lib/i18n.module.ts","../../../projects/nxt-app/src/lib/i18n.component.ts","../../../projects/nxt-app/src/lib/en.i18n.ts","../../../projects/nxt-app/src/lib/ar.i18n.ts","../../../projects/nxt-app/src/lib/tam.i18n.ts","../../../projects/nxt-app/src/lib/components/custom-image/custom-image.component.ts","../../../projects/nxt-app/src/lib/components/custom-image/custom-image.component.html","../../../projects/nxt-app/src/lib/components/loader/loader.component.ts","../../../projects/nxt-app/src/lib/components/loader/loader.component.html","../../../projects/nxt-app/src/lib/directives/componenthost/componenthost.directive.ts","../../../projects/nxt-app/src/environments/version.ts","../../../projects/nxt-app/src/lib/services/form-builder.service.ts","../../../projects/nxt-app/src/lib/pages/builder/element/element.component.ts","../../../projects/nxt-app/src/lib/pages/builder/element/element.component.html","../../../projects/nxt-app/src/lib/pages/builder/properties/properties.component.ts","../../../projects/nxt-app/src/lib/pages/builder/properties/properties.component.html","../../../projects/nxt-app/src/lib/pages/builder/menu/menu.component.ts","../../../projects/nxt-app/src/lib/pages/builder/menu/menu.component.html","../../../projects/nxt-app/src/lib/pages/builder/form/form.component.ts","../../../projects/nxt-app/src/lib/pages/builder/form/form.component.html","../../../projects/nxt-app/src/lib/components/cards/info-card/info-card.component.ts","../../../projects/nxt-app/src/lib/components/cards/info-card/info-card.component.html","../../../projects/nxt-app/src/lib/components/cards/group-info/group-info.component.ts","../../../projects/nxt-app/src/lib/components/cards/group-info/group-info.component.html","../../../projects/nxt-app/src/lib/components/cards/image-card/image-card.component.ts","../../../projects/nxt-app/src/lib/components/cards/image-card/image-card.component.html","../../../projects/nxt-app/src/lib/components/cards/group-card/group-card.component.ts","../../../projects/nxt-app/src/lib/components/cards/group-card/group-card.component.html","../../../projects/nxt-app/src/lib/nxt-app.module.ts","../../../projects/nxt-app/src/public-api.ts","../../../projects/nxt-app/src/rangertechnologies-ngnxt.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class NxtAppService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'lib-nxt-app',\n template: `\n <p>\n nxt-app works!\n </p>\n `,\n styles: []\n})\nexport class NxtAppComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { ChangeWrapper } from '../model/changeWrapper';\n\n@Injectable({\n providedIn: 'root'\n})\n\nexport class ChangeService {\n // Reference: https://angular.io/guide/observables\n constructor() { }\n\n // Observable parentQuestion sources\n private changeAnnouncedSource = new Subject<ChangeWrapper>();\n private changeConfirmedSource = new Subject<string>();\n private validationSource = new Subject<string>();\n private fieldSource = new Subject<any>();\n // VD 13Sep24 - databind changes\n private customChanges = new Subject<any>();\n\n // Observable parentQuestion streams\n changeAnnounced$ = this.changeAnnouncedSource.asObservable();\n changeConfirmed$ = this.changeConfirmedSource.asObservable();\n submitValidate$ = this.validationSource.asObservable();\n changeField$ = this.fieldSource.asObservable();\n // VD 13Sep24 - databind changes\n customChange$ = this.customChanges.asObservable();\n\n // Service message commands\n announceChange(changeValue: ChangeWrapper) {\n // console.log('inside announceChange');\n this.changeAnnouncedSource.next(changeValue);\n }\n\n confirmChange(childQuestion: string) {\n // console.log('inside confirmChange');\n this.changeConfirmedSource.next(childQuestion);\n }\n // VD 13Sep24 - databind changes\n dataChanges(data: string) {\n console.log('inside data bind change service');\n this.customChanges.next(data);\n }\n\n submitChange(value:string){\n this.validationSource.next(value);\n }\n fieldChange(value:any){\n console.log('getValue',value);\n this.fieldSource.next(value);\n }\n}\n","import { ErrorWrapper } from \"./model/errorWrapper\";\n// HA 19DEC23 Included style in the objects to use them in ts\n// RS 09DEC24 Changed keys\nexport class QuestionBook {\n id: number;\n Name: string;\n category: string;\n next : string;\n cancel : string;\n back : string;\n submit : string;\n edit : string;\n firstQuestion: string;\n title: string;\n nextTrackingId: string;\n backTrackingId: string;\n cancelTrackingId: string;\n submitTrackingId: string;\n totalQuestions: number;\n summaryText?: string;\n Questions__r?: QuestionR;\n progressBar: boolean;\n subTitle: string;\n qTyp: string;\n possibilities: string;\n summarySubText: string;\n isShengel?: boolean;\n style: {\n labelClass : any,\n labelStyle : any,\n labelValueStyle : any,\n inputClass : any,\n inputStyle : any,\n showLabel : boolean,\n bookStyle : any,\n direction: any,\n questionStyle: any;\n };\n}\nexport class Question {\n id: string;\n Name: string;\n referenceField?:string;\n dependentRef?: string;\n allowedFileExtensions :string;\n question : string;\n questionText : any;\n type: string;\n nextQuestion?: string;\n isOptional: boolean;\n title: string;\n subTitle: string;\n isTitle: boolean;\n x24Hours: boolean;\n errorMessage: string;\n isDateBackward : boolean;\n isDateForward : boolean;\n isHidden: boolean;\n groupName: string;\n questionNumber?: string;\n Question_Options__r?: OptionR;\n static x24Hours: boolean;\n options: any;\n size: number;\n subText: string;\n trackingId: string;\n timeText: string;\n dateText: string;\n additionalRichContent? : string;\n Questions__r?: QuestionR;\n RecordType: {\n Name: string;\n };\n subQuestions : any;\n input?: any;\n error?: ErrorWrapper;\n valueName?:string;\n dropDownOnly?:boolean;\n isDependentPicklist?:boolean;\n tableDataValue?:any[];\n tableHeader?:string;\n startDate?:any;\n selectedValue?:string;\n minDate?: any ;\n isShengel?: boolean;\n style: {\n labelClass : any,\n labelStyle : any,\n labelValueStyle : any,\n inputClass : any,\n inputStyle : any,\n showLabel : boolean,\n bookStyle : any,\n direction: any,\n questionStyle: any;\n };\n}\nexport class LocalQuestion {\n id: string;\n Name: string;\n allowedFileExtensions :string;\n question : string;\n questionText : string;\n type: string;\n title: string;\n subTitle: string;\n nextQuestion?: string;\n isOptional: boolean;\n isTitle: boolean;\n isHidden: boolean;\n x24Hours: boolean;\n errorMessage: string;\n isDateBackward : boolean;\n isDateForward : boolean;\n timeText : string;\n dateText : string;\n groupName: string;\n questionNumber?: string;\n Question_Options__r?: OptionR;\n subText : string;\n size: number;\n trackingId: string;\n additionalRichContent? : string;\n selectedValue:string;\n Questions__r?: QuestionR;\n RecordType: {\n Name: string;\n };\n input?: string;\n error?: ErrorWrapper;\n static x24Hours: boolean;\n uniqueSubQId: string;\n style: {\n labelClass : any,\n labelStyle : any,\n labelValueStyle : any,\n inputClass : any,\n inputStyle : any,\n showLabel : boolean,\n bookStyle : any,\n direction: any,\n questionStyle: any;\n };\n}\nexport class QuestionR {\n records?: Question[];\n}\nexport class OptionR {\n records?: Option[];\n} \nexport class Option {\n id: string;\n Name: string;\n value: string;\n trackingId: string;\n nextQuestion?: string;\n} \nexport class OptionValue {\n id: string;\n Name: string;\n value: string;\n nextQuestion?: string;\n checked: boolean;\n}\nexport class AnswerBook {\n id: string;\n questionBookId: string;\n status: string;\n Answers__r?: AnswerR;\n answers: any;\n}\nexport class Answer {\n id: string;\n quesValue: string;\n ansValue : string;\n qTyp: string;\n quesId: string;\n groupText: string;\n}\nexport class AnswerR {\n records?: Answer[];\n}\nexport class AnswerWrapper {\n ansId?: string;\n ansNumber?: number;\n abId: string;\n quesId: string;\n quesValue: string;\n qTyp: string;\n ansValue: string;\n groupText: string;\n squesValue: string;\n myVal: any; // HA 02FEB24 To display the values in summary\n}\nexport class AttachmentWrapper {\n parentId: string;\n fileName: string;\n fileContent: string;\n}\nexport class Attachment {\n public attachmentId: string;\n public attachmentName: string;\n public attachmentMetaData: any;\n constructor(id: string,name:string,metaData:any){\n this.attachmentId = id;\n this.attachmentName = name;\n this.attachmentMetaData = metaData;\n }\n}","export class ErrorWrapper {\n errorCode: string;\n errorMsg: string;\n errorDetails: string;\n}\n","import { Question, QuestionBook, AnswerBook } from \"./wrapper\";\r\n/*\r\nexport const TESTQUESTIONS: Question[] = [\r\n{ Id: 11, Name: '001', question: 'What is your Name?' },\r\n{ Id: 12, Name: '002', question: 'What is your favourite City?' },\r\n{ Id: 13, Name: '003', question: 'How many languages you speak?' },\r\n{ Id: 14, Name: '004', question: 'Share your feedback?' },\r\n];\r\n*/\r\n// Dynamic Field Changes\r\n// HA 19DEC23 Included style in the objects to use them in ts\r\n// RS 09DEC24 Changed keys\r\nexport const TESTQB: QuestionBook = {\r\nid: 2,\r\nName: 'QB-0000',\r\ncategory: 'Simple',\r\nnext : 'weiter',\r\ncancel :'zurück',\r\nback : 'zurück',\r\nsubmit : 'absenden',\r\nedit : 'Bearbeiten',\r\nnextTrackingId: '12345',\r\nbackTrackingId: '12345',\r\ncancelTrackingId: '12345',\r\nsubmitTrackingId: '12345',\r\nfirstQuestion: '1',\r\ntitle: 'Demo Unconditional',\r\ntotalQuestions: 3,\r\nsubTitle: 'subTitle',\r\nqTyp:'type',\r\npossibilities: 'poss',\r\nsummarySubText: 'subText',\r\nprogressBar: true,\r\nstyle: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n}\r\n// Text Question\r\nexport const TESTQUESTION: Question = {\r\nid: '11',\r\nName: 'QN-00001',\r\ntype: 'Text',\r\nallowedFileExtensions : '.pdf',\r\nquestionText: 'What is your Name?',\r\nquestion: 'What is your Name?',\r\nnextQuestion: 'a013t000013SS89AAG',\r\ntrackingId: '1234',\r\nisOptional: false,\r\noptions: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n},\r\nisTitle: true,\r\nx24Hours: true,\r\nerrorMessage: 'Please Enter a Value',\r\nisDateBackward : false,\r\nisDateForward : false,\r\nselectedValue : 'test',\r\nisHidden : false,\r\ngroupName: 'Basic',\r\nsize:1,\r\nquestionNumber: '1',\r\ntimeText: 'hour',\r\nsubQuestions : [\r\n {\r\n id: '170',\r\n Name: 'QN-000070',\r\n type: 'Dropdown',\r\n questionText: 'Land',\r\n question: 'Land',\r\n size:1,\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n selectedValue : 'test',\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n options: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n id: '171',\r\n Name: 'QN-000071',\r\n type: 'Text',\r\n size:3,\r\n allowedFileExtensions : '.pdf',\r\n questionText: 'PLZ',\r\n question: 'PLZ',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours: false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n selectedValue : 'test',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '172',\r\n Name: 'QN-000072',\r\n type: 'Text',\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n questionText: 'ORT',\r\n question: 'ORT',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours: false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n selectedValue : 'test',\r\n isHidden:false,\r\n size:8,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '173',\r\n Name: 'QN-000073',\r\n type: 'Text',\r\n questionText: 'StraBe',\r\n selectedValue : 'test',\r\n question: 'StraBe',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isHidden:false,\r\n isDateForward : false,\r\n allowedFileExtensions : '.pdf',\r\n size:8,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '174',\r\n Name: 'QN-000074',\r\n type: 'Text',\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n questionText: 'Hausnummer',\r\n question: 'Hausnummer',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n size:4,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n selectedValue : 'test',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n ],\r\ntitle: 'title',\r\nsubTitle: 'subtitle',\r\nsubText: 'subtext',\r\ndateText: 'datetext',\r\nRecordType: {\r\nName: 'UNCONDITIONAL'\r\n},\r\nstyle: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n};\r\n// DateTime Question\r\nexport const DTQUESTION: Question = {\r\nid: '12',\r\nName: 'QN-00002',\r\ntype: 'DateTime',\r\noptions: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n},\r\nsubQuestions : [\r\n {\r\n id: '170',\r\n Name: 'QN-000070',\r\n type: 'Dropdown',\r\n options: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n },\r\n questionText: 'Land',\r\n question: 'Land',\r\n size:1,\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n selectedValue : 'test',\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '171',\r\n Name: 'QN-000071',\r\n type: 'Text',\r\n size:3,\r\n allowedFileExtensions : '.pdf',\r\n questionText: 'PLZ',\r\n question: 'PLZ',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours: false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n selectedValue : 'test',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '172',\r\n Name: 'QN-000072',\r\n type: 'Text',\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n questionText: 'ORT',\r\n question: 'ORT',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours: false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n selectedValue : 'test',\r\n isHidden:false,\r\n size:8,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '173',\r\n Name: 'QN-000073',\r\n type: 'Text',\r\n questionText: 'StraBe',\r\n selectedValue : 'test',\r\n question: 'StraBe',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isHidden:false,\r\n isDateForward : false,\r\n allowedFileExtensions : '.pdf',\r\n size:8,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '174',\r\n Name: 'QN-000074',\r\n type: 'Text',\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n questionText: 'Hausnummer',\r\n question: 'Hausnummer',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n size:4,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n selectedValue : 'test',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n ],\r\nallowedFileExtensions : '.pdf',\r\nquestionText: 'When did the incident happen?',\r\nquestion: 'When did the incident happen?',\r\nnextQuestion: 'a013t000013SS89AAG',\r\ntrackingId: '1234',\r\nisOptional: false,\r\nselectedValue : 'test',\r\nisTitle: true,\r\nx24Hours: true,\r\nerrorMessage: 'Please Enter a Value',\r\nisDateBackward : true,\r\nisDateForward : true ,\r\nisHidden: false,\r\ngroupName: 'Basic',\r\nsize:1,\r\nquestionNumber: '1',\r\ntimeText: 'hour',\r\ntitle: 'title',\r\nsubTitle: 'subtitle',\r\nsubText: 'subtext',\r\ndateText: 'datetext',\r\nRecordType: {\r\nName: 'UNCONDITIONAL'\r\n},\r\nstyle: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n};\r\n// File Question\r\nexport const FILEQUESTION: Question = {\r\nid: '13',\r\nName: 'QN-00003',\r\noptions: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n},\r\ntype: 'File',\r\nsubQuestions : [\r\n {\r\n id: '170',\r\n Name: 'QN-000070',\r\n options: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n },\r\n type: 'Dropdown',\r\n questionText: 'Land',\r\n question: 'Land',\r\n size:1,\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n selectedValue : 'test',\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '171',\r\n Name: 'QN-000071',\r\n type: 'Text',\r\n size:3,\r\n allowedFileExtensions : '.pdf',\r\n questionText: 'PLZ',\r\n question: 'PLZ',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours: false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n selectedValue : 'test',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '172',\r\n Name: 'QN-000072',\r\n type: 'Text',\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n questionText: 'ORT',\r\n question: 'ORT',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours: false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n selectedValue : 'test',\r\n isHidden:false,\r\n size:8,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '173',\r\n Name: 'QN-000073',\r\n type: 'Text',\r\n questionText: 'StraBe',\r\n selectedValue : 'test',\r\n question: 'StraBe',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isHidden:false,\r\n isDateForward : false,\r\n allowedFileExtensions : '.pdf',\r\n size:8,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '174',\r\n Name: 'QN-000074',\r\n type: 'Text',\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n questionText: 'Hausnummer',\r\n question: 'Hausnummer',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n size:4,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n selectedValue : 'test',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n ],\r\nallowedFileExtensions : '.pdf',\r\nquestionText: 'Upload the Incident Report/Images?',\r\nquestion: 'Upload the Incident Report/Images?',\r\nnextQuestion: 'a013t000013SS89AAG',\r\ntrackingId: '1234',\r\nisOptional: false,\r\nisTitle: true,\r\nx24Hours: true,\r\nerrorMessage: 'Please Enter a Value',\r\nisDateBackward : false,\r\nisDateForward : false,\r\nisHidden: false,\r\ngroupName: 'Basic',\r\nsize:1,\r\nselectedValue : 'test',\r\nquestionNumber: '1',\r\ntimeText: 'hour',\r\ntitle: 'title',\r\nsubTitle: 'subtitle',\r\nsubText: 'subtext',\r\ndateText: 'datetext',\r\nRecordType: {\r\nName: 'UNCONDITIONAL'\r\n},\r\nstyle: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n};\r\n\r\n\r\n//RS 06JAN25\r\n//Rich text Questions\r\nexport const RTAQUESTION: Question = {\r\n id: '14',\r\n options: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n },\r\n Name: 'QN-00004',\r\n type: 'RichTextArea',\r\n subQuestions : [\r\n {\r\n id: '170',\r\n options: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n },\r\n Name: 'QN-000070',\r\n type: 'Dropdown',\r\n questionText: 'Land',\r\n question: 'Land',\r\n size:1,\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n selectedValue : 'test',\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '171',\r\n Name: 'QN-000071',\r\n type: 'Text',\r\n size:3,\r\n allowedFileExtensions : '.pdf',\r\n questionText: 'PLZ',\r\n question: 'PLZ',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours: false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n selectedValue : 'test',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '172',\r\n Name: 'QN-000072',\r\n type: 'Text',\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n questionText: 'ORT',\r\n question: 'ORT',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours: false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n selectedValue : 'test',\r\n isHidden:false,\r\n size:8,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '173',\r\n Name: 'QN-000073',\r\n type: 'Text',\r\n questionText: 'StraBe',\r\n selectedValue : 'test',\r\n question: 'StraBe',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isHidden:false,\r\n isDateForward : false,\r\n allowedFileExtensions : '.pdf',\r\n size:8,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n {\r\n id: '174',\r\n Name: 'QN-000074',\r\n type: 'Text',\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n questionText: 'Hausnummer',\r\n question: 'Hausnummer',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n size:4,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n selectedValue : 'test',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n },\r\n ],\r\n allowedFileExtensions : '.pdf',\r\n questionText: 'Explain the particulars of the Incident?',\r\n question: 'Explain the particulars of the Incident?',\r\n nextQuestion: 'a013t000013SS89AAG',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours: false,\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n selectedValue : 'test',\r\n isHidden: false,\r\n groupName: 'Basic',\r\n size:1,\r\n questionNumber: '1',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\" : \"\",\r\n \"direction\" : \"ltr\",\r\n \"questionStyle\": \"\"\r\n },\r\n };\r\n\r\n// DateTime Question\r\nexport const TAQUESTION: Question = {\r\nid: '14',\r\noptions: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n},\r\nName: 'QN-00004',\r\ntype: 'TextArea',\r\nsubQuestions : [\r\n {\r\n id: '170',\r\n options: {\r\n records: [\r\n {\r\n id: '1',\r\n Name: 'D',\r\n value: 'D',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '2',\r\n Name: 'CH',\r\n value: 'CH',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n },\r\n {\r\n id: '3',\r\n Name: 'UK',\r\n value: 'UK',\r\n trackingId: '1234',\r\n nextQuestion: '',\r\n }\r\n ]\r\n },\r\n Name: 'QN-000070',\r\n type: 'Dropdown',\r\n questionText: 'Land',\r\n question: 'Land',\r\n size:1,\r\n allowedFileExtensions : '.pdf',\r\n trackingId: '1234',\r\n isOptional: false,\r\n isTitle: true,\r\n x24Hours:false,\r\n selectedValue : 'test',\r\n errorMessage: 'Please Enter a Value',\r\n isDateBackward : false,\r\n isDateForward : false,\r\n isHidden:false,\r\n groupName: 'Basic',\r\n timeText: 'hour',\r\n title: 'title',\r\n subTitle: 'subtitle',\r\n subText: 'subtext',\r\n dateText: 'datetext',\r\n RecordType: {\r\n Name: 'UNCONDITIONAL'\r\n },\r\n style: {\r\n \"labelClass\" : \"slds-grid\",\r\n \"labelStyle\" : \"align-items: baseline;\",\r\n \"labelValueStyle\" : \"\",\r\n \"inputClass\" : \"\",\r\n \"inputStyle\" : \"border-style: dashed;\",\r\n \"showLabel\" : true,\r\n \"bookStyle\