diff --git a/src/components/form/components/TimeInput.tsx b/src/components/form/components/TimeInput.tsx index b186cc97..fe921dde 100644 --- a/src/components/form/components/TimeInput.tsx +++ b/src/components/form/components/TimeInput.tsx @@ -71,14 +71,12 @@ const TimeInput: React.FC = (props) => { validate: (data) => validateInput(data, { required: { ...question.metadata.validators?.required }, - [Validators.PATTERN]: question.metadata.validators?.required - ? { - value: /^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/, - message: `Please enter correct time, in format of ${ - DefaultPickerModeVisibleFormatMapping[IDateTimePickerMode.TIME] - }`, - } - : null, + [Validators.PATTERN]: { + value: /^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/, + message: `Please enter correct time, in format of ${ + DefaultPickerModeVisibleFormatMapping[IDateTimePickerMode.TIME] + }`, + }, }), }} render={({ field: { onChange, value } }) => { diff --git a/src/hooks/useFirestoreUpdates.ts b/src/hooks/useFirestoreUpdates.ts index a9a5e945..93903021 100644 --- a/src/hooks/useFirestoreUpdates.ts +++ b/src/hooks/useFirestoreUpdates.ts @@ -41,7 +41,6 @@ const useFirestoreUpdates = () => { })); const isTeamLead = useAppSelector((state) => state.user.isTeamLead); const lockRef = useRef(null); - const isExternalAgentRef = useRef(isExternalAgent); useEffect(() => { lockRef.current = lock; diff --git a/src/reducer/mockData.js b/src/reducer/mockData.js deleted file mode 100644 index 46a27445..00000000 --- a/src/reducer/mockData.js +++ /dev/null @@ -1,2581 +0,0 @@ -export const MOCK_TEMPLATE = { - questions: { - 'cc-w50s1q1': { - text: 'Customer refused to pay', - inputType: 'RadioButton', - options: ['cc-w50s1q1o1', 'cc-w50s1q1o2'], - metadata: { - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w51s1q1': { - text: 'Date requested', - inputType: 'DateInput', - options: [], - metadata: { - validators: { - required: { - value: true, - }, - minToday: { - value: true, - message: 'Date cannot be before today', - }, - }, - }, - }, - 'cc-w51s1q2': { - text: 'Time requested', - inputType: 'TimeInput', - options: [], - metadata: { - validators: { - required: { - value: true, - }, - }, - }, - }, - 'cc-w3s1q1': { - text: 'Number for which feedback is being filled', - inputType: 'PhoneNumberSelection', - options: [], - tag: 'PHONE_NUMBER_SELECTION', - metadata: { - validators: { - required: { - value: true, - }, - }, - }, - }, - 'cc-w7s1q2': { - text: 'Language of interaction', - inputType: 'Dropdown', - options: [ - 'cc-w7s1q2o3', - 'cc-w7s1q2o10', - 'cc-w7s1q2o11', - 'cc-w7s1q2o5', - 'cc-w7s1q2o6', - 'cc-w7s1q2o4', - 'cc-w7s1q2o1', - 'cc-w7s1q2o13', - 'cc-w7s1q2o9', - 'cc-w7s1q2o2', - 'cc-w7s1q2o7', - 'cc-w7s1q2o15', - 'cc-w7s1q2o14', - 'cc-w7s1q2o12', - 'cc-w7s1q2o8', - ], - metadata: { - placeholder: 'Please select language', - validators: { - required: { - value: true, - }, - }, - formattingType: 'Dropdown', - }, - }, - 'cc-w29s1q1': { - text: 'How did the customer contact through?', - inputType: 'RadioButton', - options: ['cc-w29s1q1o1', 'cc-w29s1q1o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w7s1q1': { - text: 'Did the customer pay?', - inputType: 'RadioButton', - options: ['cc-w7s1q1o1', 'cc-w7s1q1o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w13s1q1': { - text: 'Type of Customer', - inputType: 'RadioButton', - options: ['cc-w13s1q2o1', 'cc-w13s1q2o2', 'cc-w13s1q2o3'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w2s1q1o1aq1': { - text: '', - inputType: 'AddressSelection', - options: [], - tag: 'ADDRESS_SELECTION', - metadata: { - type: 'ADDRESS_SELECTION', - validators: { - required: { - value: true, - }, - }, - }, - }, - 'cc-w26s1q2': { - text: 'Upload Document Collected', - inputType: 'ImageUpload', - options: [], - tag: 'IMAGE_UPLOAD', - metadata: { - validators: { - required: { - value: false, - }, - }, - }, - }, - 'cc-w8s1q2': { - text: 'What was the payment mode?', - inputType: 'RadioButton', - options: ['cc-w8s1q2o1', 'cc-w8s1q2o2', 'cc-w8s1q2o3'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w21s1q1': { - text: 'Verified By?', - inputType: 'RadioButton', - options: ['cc-w21s1q1o1', 'cc-w21s1q1o2', 'cc-w21s1q1o3'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w8s1q1': { - text: 'What was the reason for bounce?', - inputType: 'TextInput', - options: [], - metadata: { - validators: { - required: { - value: true, - }, - }, - formattingType: 'textbox', - }, - }, - 'cc-w2s1q1': { - text: 'Address/Geolocation for which feedback is being filled', - inputType: 'RadioButton', - options: ['cc-w2s1q1o1', 'cc-w2s1q1o2'], - tag: 'VISIT_TYPE_SELECTION', - metadata: { - defaultSelectedOption: 'cc-w2s1q1o1', - validators: { - required: { - value: true, - }, - }, - orientation: 'horizontal', - }, - }, - 'cc-w6s1q1': { - text: 'Were you able meet with the customer?', - inputType: 'RadioButton', - options: ['cc-w6s1q1o1', 'cc-w6s1q1o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w18s1q1': { - text: 'What information is missing?', - inputType: 'RadioButton', - options: [ - 'cc-w18s1q1o1', - 'cc-w18s1q1o2', - 'cc-w18s1q1o3', - 'cc-w18s1q1o4', - 'cc-w18s1q1o5', - 'cc-w18s1q1o6', - 'cc-w18s1q1o7', - 'cc-w18s1q1o8', - 'cc-w18s1q1o9', - ], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w8s1q3': { - text: 'Who did the payment?', - inputType: 'RadioButton', - options: ['cc-w8s1q3o1', 'cc-w8s1q3o2', 'cc-w8s1q3o3'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w33s1q1': { - text: 'Comments', - inputType: 'TextInput', - options: [], - metadata: { - validators: { - required: { - value: false, - }, - }, - formattingType: 'textbox', - }, - }, - 'cc-w14s1q3': { - text: 'PTP Time', - inputType: 'TimeInput', - options: [], - tag: 'PROMISE_TO_PAY_TIME', - metadata: { - validators: { - required: { - value: true, - }, - }, - formattingType: 'textbox', - }, - }, - associateQ3: { - text: 'Other', - inputType: 'TextInput', - options: [], - metadata: { - validators: { - required: { - value: true, - }, - }, - formattingType: 'textbox', - }, - }, - 'cc-w20s1q1': { - text: "Who verified customer's address?", - inputType: 'RadioButton', - options: [ - 'cc-w20s1q1o1', - 'cc-w20s1q1o2', - 'cc-w20s1q1o3', - 'cc-w20s1q1o4', - 'cc-w20s1q1o5', - 'cc-w20s1q1o6', - ], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w25s1q1': { - text: 'Where did the customer shift?', - inputType: 'RadioButton', - options: ['cc-w25s1q1o1', 'cc-w25s1q1o2', 'cc-w25s1q1o3'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w41s1q1': { - text: 'Interaction Status', - inputType: 'RadioButton', - options: ['cc-w41s1q1o1'], - tag: 'INTERACTION_STATUS', - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w1s1q1': { - text: 'Filling Feedback for -', - inputType: 'RadioButton', - options: ['cc-w1s1q1o1', 'cc-w1s1q1o3'], - tag: 'FEEDBACK_CASE_TYPE', - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w19s1q1': { - text: 'What information is incorrect?', - inputType: 'RadioButton', - options: [ - 'cc-w19s1q1o1', - 'cc-w19s1q1o2', - 'cc-w19s1q1o3', - 'cc-w19s1q1o4', - 'cc-w19s1q1o5', - 'cc-w19s1q1o6', - 'cc-w19s1q1o7', - 'cc-w19s1q1o8', - 'cc-w19s1q1o9', - ], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w8s1q4': { - text: 'Proof of Payment', - inputType: 'ImageUpload', - options: [], - tag: 'IMAGE_UPLOAD', - metadata: { - validators: { - required: { - value: true, - }, - }, - }, - }, - 'cc-w14s1q1': { - text: 'Amount Promised', - inputType: 'TextInput', - options: [], - tag: 'AMOUNT_PROMISED', - metadata: { - validators: { - required: { - value: true, - }, - maxAmount: { - value: true, - message: 'Cannot be more than max value', - }, - minAmount: { - value: true, - message: 'Cannot be less than 1', - }, - }, - keyboardType: 'decimal-pad', - maskType: 'CURRENCY', - }, - }, - 'cc-w8s1q5': { - text: 'How was the case cracked?', - inputType: 'CheckboxGroup', - options: [ - 'cc-w8s1q5o1', - 'cc-w8s1q5o2', - 'cc-w8s1q5o3', - 'cc-w8s1q5o4', - 'cc-w8s1q5o5', - 'cc-w8s1q5o6', - 'cc-w8s1q5o7', - 'cc-w8s1q5o8', - 'cc-w8s1q5o9', - ], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w12s1q1': { - text: 'Is the customer a willful defaulter?', - inputType: 'RadioButton', - options: ['cc-w12s1q2o1', 'cc-w12s1q2o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w23s1q1': { - text: 'Did the customer respond?', - inputType: 'RadioButton', - options: ['cc-w23s1q1o1', 'cc-w23s1q1o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w15s1q1': { - text: 'Why were you able not meet with the Customer?', - inputType: 'RadioButton', - options: [ - 'cc-w15s1q1o1', - 'cc-w15s1q1o2', - 'cc-w15s1q1o3', - 'cc-w15s1q1o4', - 'cc-w15s1q1o5', - 'cc-w15s1q1o6', - ], - tag: 'INTERACTION_STATUS', - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - associateQ2: { - text: 'What is incorrect in the address?', - inputType: 'TextInput', - options: [], - metadata: { - validators: { - required: { - value: true, - }, - }, - formattingType: 'textbox', - }, - }, - 'cc-w2s1q1o2aq1': { - text: '', - inputType: 'AddressSelection', - options: [], - tag: 'GEOLOCATION_SELECTION', - metadata: { - type: 'GEOLOCATION_SELECTION', - validators: { - required: { - value: true, - }, - }, - }, - }, - 'cc-w24s1q1': { - text: 'What was the status of the message?', - inputType: 'RadioButton', - options: ['cc-w24s1q1o1', 'cc-w24s1q1o2', 'cc-w24s1q1o3'], - tag: 'INTERACTION_STATUS', - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w14s1q2': { - text: 'PTP Date', - inputType: 'DateInput', - options: [], - tag: 'PROMISE_DATE', - metadata: { - validators: { - required: { - value: true, - }, - minToday: { - value: true, - message: 'Date cannot be before today', - }, - }, - }, - }, - 'cc-w5s1q1': { - text: 'Were you able to find the address location?', - inputType: 'RadioButton', - options: ['cc-w5s1q1o1', 'cc-w5s1q1o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w11s1q1': { - text: 'Number for which feedback is being filled', - inputType: 'PhoneNumberSelection', - options: [], - tag: 'PHONE_NUMBER_SELECTION', - metadata: { - validators: { - required: { - value: true, - }, - }, - }, - }, - 'cc-w4s1q1': { - text: 'How did the customer contact through?', - inputType: 'RadioButton', - options: ['cc-w4s1q1o1', 'cc-w4s1q1o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w22s1q1': { - text: 'Capture the photo of the house gate / door', - inputType: 'ImageUpload', - options: [], - tag: 'IMAGE_UPLOAD', - metadata: { - validators: { - required: { - value: true, - }, - }, - }, - }, - 'cc-w30s1q1': { - text: 'Did the customer pick up?', - inputType: 'RadioButton', - options: ['cc-w30s1q1o1', 'cc-w30s1q1o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w27s1q2': { - text: 'Contact Information', - inputType: 'TextInput', - options: [], - metadata: { - validators: { - required: { - value: true, - }, - }, - formattingType: 'textbox', - }, - }, - 'cc-w22s1q3': { - text: 'Capture the photo of nearby area / landmark / road signs', - inputType: 'ImageUpload', - options: [], - tag: 'IMAGE_UPLOAD', - metadata: { - validators: { - required: { - value: false, - }, - }, - }, - }, - 'cc-w28s1q1': { - text: "Why didn't the customer pick up?", - inputType: 'RadioButton', - options: ['cc-w28s1q1o1', 'cc-w28s1q1o2', 'cc-w28s1q1o3', 'cc-w28s1q1o4'], - tag: 'INTERACTION_STATUS', - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w27s1q1': { - text: 'Message left with?', - inputType: 'RadioButton', - options: [ - 'cc-w27s1q1o1', - 'cc-w27s1q1o2', - 'cc-w27s1q1o3', - 'cc-w27s1q1o4', - 'cc-w27s1q1o5', - 'cc-w27s1q1o6', - ], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w14s1q4': { - text: 'Broken PTP?', - inputType: 'RadioButton', - options: ['cc-w14s1q2o1', 'cc-w14s1q2o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w10s1q1': { - text: 'Interaction Status', - inputType: 'RadioButton', - options: [ - 'cc-w10s1q1o1', - 'cc-w10s1q1o2', - 'cc-w10s1q1o3', - 'cc-w10s1q1o6', - 'cc-w10s1q1o7', - 'cc-w10s1q1o8', - 'cc-w10s1q1o9', - ], - tag: 'INTERACTION_STATUS', - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w9s1q1': { - text: 'Did the customer respond?', - inputType: 'RadioButton', - options: ['cc-w9s1q1o1', 'cc-w9s1q1o2'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w40s1q1': { - text: 'Interaction Status', - inputType: 'RadioButton', - options: ['cc-w40s1q1o1'], - tag: 'INTERACTION_STATUS', - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w17s1q1': { - text: 'Why were you not able to find the address?', - inputType: 'RadioButton', - options: ['cc-w17s1q1o1', 'cc-w17s1q1o2', 'cc-w17s1q1o3'], - metadata: { - validators: { - required: { - value: true, - }, - }, - buttonType: 'button', - orientation: 'vertical', - }, - }, - 'cc-w22s1q2': { - text: 'Capture the photo of the building / road / gully', - inputType: 'ImageUpload', - options: [], - tag: 'IMAGE_UPLOAD', - metadata: { - validators: { - required: { - value: false, - }, - }, - }, - }, - associateQ1: { - text: 'What is missing in the address?', - inputType: 'TextInput', - options: [], - metadata: { - validators: { - required: { - value: true, - }, - }, - formattingType: 'textbox', - }, - }, - }, - prefilledAddressScreenTemplate: { - geolocationTemplate: { - visitedWidgets: ['cc-w1', 'cc-w2', 'cc-w6'], - widgetContext: { - 'cc-w2': { - sectionContext: { - 'cc-w2s1': { - questionContext: { - 'cc-w2s1q1': { - type: 'option', - answer: 'cc-w2s1q1o2', - }, - 'cc-w2s1q1o2aq1': { - type: 'address', - answer: '{{addressReferenceId}}', - }, - }, - }, - }, - }, - 'cc-w1': { - sectionContext: { - 'cc-w1s1': { - questionContext: { - 'cc-w1s1q1': { - type: 'option', - answer: 'cc-w1s1q1o3', - }, - }, - }, - }, - }, - }, - }, - addressTemplate: { - visitedWidgets: ['cc-w1', 'cc-w2', 'cc-w5'], - widgetContext: { - 'cc-w2': { - sectionContext: { - 'cc-w2s1': { - questionContext: { - 'cc-w2s1q1': { - type: 'option', - answer: 'cc-w2s1q1o1', - }, - 'cc-w2s1q1o1aq1': { - type: 'address', - answer: '{{addressReferenceId}}', - }, - }, - }, - }, - }, - 'cc-w1': { - sectionContext: { - 'cc-w1s1': { - questionContext: { - 'cc-w1s1q1': { - type: 'option', - answer: 'cc-w1s1q1o3', - }, - }, - }, - }, - }, - }, - }, - }, - sections: { - 'cc-w50s1': { - label: null, - questions: ['cc-w50s1q1'], - }, - 'cc-w51s1': { - label: null, - questions: ['cc-w51s1q1', 'cc-w51s1q2'], - }, - 'cc-w1s1': { - label: null, - questions: ['cc-w1s1q1'], - }, - 'cc-w41s1': { - label: null, - questions: ['cc-w41s1q1'], - }, - 'cc-w40s1': { - label: null, - questions: ['cc-w40s1q1'], - }, - 'cc-w8s1': { - label: null, - questions: ['cc-w8s1q1', 'cc-w8s1q2', 'cc-w8s1q3', 'cc-w8s1q4', 'cc-w8s1q5'], - }, - 'cc-w26s1': { - label: null, - questions: ['cc-w21s1q1', 'cc-w26s1q2'], - }, - 'cc-w29s1': { - label: null, - questions: ['cc-w29s1q1'], - }, - 'cc-w6s1': { - label: null, - questions: ['cc-w6s1q1'], - }, - 'cc-w23s1': { - label: null, - questions: ['cc-w23s1q1'], - }, - 'cc-w20s1': { - label: null, - questions: ['cc-w20s1q1'], - }, - 'cc-w30s1': { - label: null, - questions: ['cc-w30s1q1'], - }, - 'cc-w24s1': { - label: null, - questions: ['cc-w24s1q1'], - }, - 'cc-w25s1': { - label: null, - questions: ['cc-w25s1q1'], - }, - 'cc-w22s1': { - label: null, - questions: ['cc-w22s1q1', 'cc-w22s1q2', 'cc-w22s1q3'], - }, - 'cc-w5s1': { - label: 'Interaction Status', - questions: ['cc-w5s1q1'], - }, - 'cc-w28s1': { - label: null, - questions: ['cc-w28s1q1'], - }, - 'cc-w9s1': { - label: null, - questions: ['cc-w9s1q1'], - }, - 'cc-w19s1': { - label: 'Adding Feedback', - questions: ['cc-w19s1q1'], - }, - 'cc-w33s1': { - label: null, - questions: ['cc-w33s1q1'], - }, - 'cc-w10s1': { - label: null, - questions: ['cc-w10s1q1'], - }, - 'cc-w15s1': { - label: null, - questions: ['cc-w15s1q1'], - }, - 'cc-w2s1': { - label: 'Adding Feedback', - questions: ['cc-w2s1q1'], - }, - 'cc-w21s1': { - label: null, - questions: ['cc-w21s1q1'], - }, - 'cc-w31s1': { - label: null, - questions: ['cc-w22s1q3'], - }, - 'cc-w4s1': { - label: null, - questions: ['cc-w4s1q1'], - }, - 'cc-w17s1': { - label: 'Address not found reason', - questions: ['cc-w17s1q1'], - }, - 'cc-w11s1': { - label: null, - questions: ['cc-w11s1q1'], - }, - 'cc-w3s1': { - label: null, - questions: ['cc-w3s1q1'], - }, - 'cc-w12s1': { - label: null, - questions: ['cc-w12s1q1'], - }, - 'cc-w18s1': { - label: 'Adding Feedback', - questions: ['cc-w18s1q1'], - }, - 'cc-w13s1': { - label: null, - questions: ['cc-w13s1q1'], - }, - 'cc-w27s1': { - label: null, - questions: ['cc-w27s1q1', 'cc-w27s1q2'], - }, - 'cc-w7s1': { - label: null, - questions: ['cc-w7s1q1', 'cc-w7s1q2'], - }, - 'cc-w14s1': { - label: null, - questions: ['cc-w14s1q1', 'cc-w14s1q2', 'cc-w14s1q3'], - }, - }, - name: 'template-cc-40', - journey: { - COLLECTION_FEEDBACK: { - id: 'COLLECTION_FEEDBACK', - isLeaf: true, - name: 'template-40', - journeyType: 'collection_feedback', - startWidget: 'cc-w1', - }, - }, - templateId: 40, - options: { - 'cc-w50s1q1o1': { - text: 'This month', - }, - 'cc-w50s1q1o2': { - text: 'Forever', - }, - 'cc-w7s1q2o5': { - text: 'Bengali', - }, - 'cc-w7s1q2o3': { - text: 'Hindi', - }, - 'cc-w7s1q2o4': { - text: 'Marathi', - }, - 'cc-w7s1q2o9': { - text: 'Punjabi', - }, - 'cc-w7s1q2o7': { - text: 'Malyalam', - }, - 'cc-w7s1q2o8': { - text: 'Bhojpuri', - }, - 'cc-w7s1q2o1': { - text: 'English', - }, - 'cc-w21s1q1o3': { - text: 'Watchman', - }, - 'cc-w21s1q1o2': { - text: 'Family', - }, - 'cc-w17s1q1o2': { - text: 'Incorrect Information', - }, - 'cc-w19s1q1o6': { - text: 'City Name (e.g. Bangalore)', - }, - 'cc-w8s1q3o1': { - text: 'Self', - }, - 'cc-w15s1q1o3': { - text: 'Customer Expired', - }, - 'cc-w23s1q1o2': { - text: 'No', - }, - 'cc-w7s1q2o15': { - text: 'Maithili', - }, - 'cc-w15s1q1o1': { - text: 'Entry Restricted', - }, - 'cc-w8s1q2o3': { - text: 'Net Banking', - }, - 'cc-w10s1q1o1': { - text: 'Paid on call', - }, - 'cc-w7s1q2o14': { - text: 'Assamese', - }, - 'cc-w7s1q2o12': { - text: 'Urdu', - }, - 'cc-w19s1q1o7': { - text: 'Pincode (e.g. 560065)', - }, - 'cc-w7s1q2o11': { - text: 'Tamil', - }, - 'cc-w8s1q2o2': { - text: 'UPI', - }, - 'cc-w18s1q1o8': { - text: 'State Name (e.g. Karnataka)', - }, - 'cc-w7s1q2o10': { - text: 'Telegu', - }, - 'cc-w5s1q1o1': { - text: 'Yes', - }, - 'cc-w28s1q1o2': { - text: 'RNR (Ringing no response)', - }, - 'cc-w13s1q2o2': { - text: 'Single Debt', - }, - 'cc-w18s1q1o1': { - text: 'House Number / Flat Number (e.g. Flat #2B)', - }, - 'cc-w21s1q1o1': { - text: 'Owner', - }, - 'cc-w1s1q1o3': { - text: 'Visit', - }, - 'cc-w18s1q1o3': { - text: 'Building Name (e.g. Building Name: Kadamba Nilaya)', - }, - 'cc-w24s1q1o2': { - text: 'Whatsapp Message Delivered (2 ticks)', - }, - 'cc-w8s1q5o1': { - text: 'CIBIL Score Drop', - }, - 'cc-w18s1q1o4': { - text: 'Street Number/Name (e.g. 3rd cross road)', - }, - 'cc-w28s1q1o3': { - text: 'Number does not exist', - }, - 'cc-w18s1q1o5': { - text: 'Location Name (e.g. HSR Layout)', - }, - 'cc-w25s1q1o2': { - text: 'Outside City', - }, - 'cc-w18s1q1o7': { - text: 'Pincode (e.g. 560065)', - }, - 'cc-w19s1q1o4': { - text: 'Street Number/Name (e.g. 3rd cross road)', - }, - 'cc-w20s1q1o2': { - text: 'Watchman', - }, - 'cc-w24s1q1o1': { - text: 'Whatsapp Message Undelivered (1 tick)', - }, - 'cc-w30s1q1o2': { - text: 'No', - }, - 'cc-w23s1q1o1': { - text: 'Yes', - }, - 'cc-w20s1q1o1': { - text: 'Owner', - }, - 'cc-w2s1q1o2': { - associateQuestions: ['cc-w2s1q1o2aq1'], - text: 'Geo locations', - }, - 'cc-w40s1q1o1': { - text: 'Address Not Found', - }, - 'cc-w29s1q1o2': { - text: 'Whatsapp', - }, - 'cc-w20s1q1o3': { - text: 'Neighbour', - }, - 'cc-w29s1q1o1': { - text: 'Phone', - }, - 'cc-w8s1q5o7': { - text: 'Tag Team', - }, - 'cc-w20s1q1o6': { - associateQuestions: ['associateQ3'], - text: 'Other', - }, - 'cc-w10s1q1o5': { - associateQuestions: ['associateQ3'], - text: 'Other', - }, - 'cc-w10s1q1o6': { - text: 'Call disconnected', - }, - 'cc-w10s1q1o7': { - text: 'Message left', - }, - 'cc-w10s1q1o8': { - text: 'Requested callback', - }, - 'cc-w10s1q1o9': { - text: 'Requested visit', - }, - 'cc-w15s1q1o6': { - text: 'Message Left', - }, - 'cc-w2s1q1o1': { - associateQuestions: ['cc-w2s1q1o1aq1'], - text: 'Address', - }, - 'cc-w28s1q1o4': { - text: 'Busy', - }, - 'cc-w41s1q1o1': { - text: 'Paid', - }, - 'cc-w20s1q1o5': { - text: 'Unverified', - }, - 'cc-w9s1q1o2': { - text: 'No', - }, - 'cc-w6s1q1o2': { - text: 'No', - }, - 'cc-w13s1q2o3': { - text: 'Willful Defaulter', - }, - 'cc-w8s1q5o2': { - text: 'Legal Threat (LRN / LDN)', - }, - 'cc-w8s1q5o9': { - associateQuestions: ['associateQ3'], - text: 'Other', - }, - 'cc-w5s1q1o2': { - text: 'No', - }, - 'cc-w30s1q1o1': { - text: 'Yes', - }, - 'cc-w27s1q1o3': { - text: 'Owner', - }, - 'cc-w8s1q5o8': { - text: 'Convincing Relative', - }, - 'cc-w6s1q1o1': { - text: 'Yes', - }, - 'cc-w14s1q2o2': { - text: 'No', - }, - 'cc-w8s1q5o5': { - text: 'Repeated Visits', - }, - 'cc-w14s1q2o1': { - text: 'Yes', - }, - 'cc-w19s1q1o1': { - text: 'House Number / Flat Number (e.g. Flat #2B)', - }, - 'cc-w7s1q2o13': { - text: 'Odia', - }, - 'cc-w19s1q1o5': { - text: 'Location Name (e.g. HSR Layout)', - }, - 'cc-w24s1q1o3': { - text: 'Whatsapp Message Read (2 blue ticks)', - }, - 'cc-w19s1q1o3': { - text: 'Building Name (e.g. Building Name: Kadamba Nilaya)', - }, - 'cc-w8s1q5o4': { - text: 'Repeated Calls', - }, - 'cc-w17s1q1o3': { - text: 'Non-Serviceable Area', - }, - 'cc-w1s1q1o2': { - text: 'Text', - }, - 'cc-w19s1q1o9': { - associateQuestions: ['associateQ2'], - text: 'Other', - }, - 'cc-w10s1q1o3': { - text: 'Refused to Pay (RTP) / Dispute', - }, - 'cc-w7s1q1o2': { - text: 'No', - }, - 'cc-w15s1q1o2': { - text: 'No Such Person - Customer never lived in address', - }, - 'cc-w25s1q1o1': { - text: 'Within City', - }, - 'cc-w10s1q1o4': { - text: 'Foreclosure', - }, - 'cc-w19s1q1o8': { - text: 'State Name (e.g. Karnataka)', - }, - 'cc-w27s1q1o4': { - text: 'Watchman', - }, - 'cc-w8s1q5o6': { - text: "Long duration at customer's location", - }, - 'cc-w18s1q1o9': { - associateQuestions: ['associateQ1'], - text: 'Other', - }, - 'cc-w18s1q1o2': { - text: 'Building Number (e.g. Building #80)', - }, - 'cc-w7s1q2o2': { - text: 'Gujarati', - }, - 'cc-w8s1q3o2': { - text: 'Family', - }, - 'cc-w8s1q2o1': { - text: 'Cash / Cheque', - }, - 'cc-w4s1q1o1': { - text: 'SMS', - }, - 'cc-w15s1q1o4': { - text: 'Customer Shifted', - }, - 'cc-w20s1q1o4': { - text: 'Vehicle Present', - }, - 'cc-w25s1q1o3': { - text: 'Not Sure', - }, - 'cc-w8s1q3o3': { - text: 'Friend', - }, - 'cc-w27s1q1o6': { - associateQuestions: ['associateQ3'], - text: 'Other', - }, - 'cc-w7s1q2o6': { - text: 'Kannada', - }, - 'cc-w28s1q1o1': { - text: 'Switched Off', - }, - 'cc-w7s1q1o1': { - text: 'Yes', - }, - 'cc-w9s1q1o1': { - text: 'Yes', - }, - 'cc-w12s1q2o1': { - text: 'Yes', - }, - 'cc-w27s1q1o1': { - text: 'Family', - }, - 'cc-w12s1q2o2': { - text: 'No', - }, - 'cc-w18s1q1o6': { - text: 'City Name (e.g. Bangalore)', - }, - 'cc-w10s1q1o2': { - text: 'Promise To Pay (PTP)', - }, - 'cc-w1s1q1o1': { - text: 'Phone', - }, - 'cc-w15s1q1o5': { - text: 'Door Locked', - }, - 'cc-w4s1q1o2': { - text: 'Whatsapp', - }, - 'cc-w27s1q1o2': { - text: 'Friend', - }, - 'cc-w27s1q1o5': { - text: 'Neighbour', - }, - 'cc-w19s1q1o2': { - text: 'Building Number (e.g. Building #80)', - }, - 'cc-w13s1q2o1': { - text: 'Non-Payment', - }, - 'cc-w8s1q5o3': { - text: 'Legal Threat (Sec 17 / Sec 25)', - }, - 'cc-w17s1q1o1': { - text: 'Missing Information', - }, - }, - widget: { - 'cc-w50': { - isLeaf: false, - sections: ['cc-w50s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w51': { - isLeaf: false, - sections: ['cc-w51s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w41': { - isLeaf: false, - sections: ['cc-w41s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w8', - type: 'widgetTransition', - }, - ], - condition: {}, - isDefault: true, - }, - ], - }, - 'cc-w26': { - isLeaf: false, - sections: ['cc-w26s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w22', - type: 'widgetTransition', - }, - ], - condition: {}, - isDefault: true, - }, - ], - }, - SUBMIT: { - isLeaf: true, - sections: null, - conditionActions: [ - { - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: null, - isDefault: true, - }, - ], - }, - 'cc-w22': { - isLeaf: false, - sections: ['cc-w22s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w14': { - isLeaf: false, - sections: ['cc-w14s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w31': { - isLeaf: false, - sections: ['cc-w31s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: {}, - isDefault: true, - }, - ], - }, - 'cc-w23': { - isLeaf: false, - sections: ['cc-w23s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w10', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w23s1q1o1', - section: 'cc-w23s1', - conditionType: 'LEAF', - widgetId: 'cc-w23', - left: 'cc-w23s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w24', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w23s1q1o2', - section: 'cc-w23s1', - conditionType: 'LEAF', - widgetId: 'cc-w23', - left: 'cc-w23s1q1', - }, - isDefault: false, - }, - ], - }, - 'cc-w10': { - isLeaf: false, - sections: ['cc-w10s1'], - conditionActions: [ - { - isDefault: false, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w10s1q1o1', - section: 'cc-w10s1', - conditionType: 'LEAF', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w10s1q1o6', - section: 'cc-w10s1', - conditionType: 'LEAF', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w10s1q1o7', - section: 'cc-w10s1', - conditionType: 'LEAF', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w51', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w10s1q1o8', - section: 'cc-w10s1', - conditionType: 'LEAF', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w51', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w10s1q1o9', - section: 'cc-w10s1', - conditionType: 'LEAF', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w14', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w10s1q1o2', - section: 'cc-w10s1', - conditionType: 'LEAF', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - }, - { - actions: [ - { - nextWidget: 'cc-w50', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w10s1q1o3', - section: 'cc-w10s1', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w51', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w10s1q1o9', - section: 'cc-w10s1', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w12', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w10s1q1o4', - section: 'cc-w10s1', - conditionType: 'LEAF', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w33', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w10s1q1o5', - section: 'cc-w10s1', - widgetId: 'cc-w10', - left: 'cc-w10s1q1', - }, - isDefault: false, - }, - ], - }, - 'cc-w28': { - isLeaf: false, - sections: ['cc-w28s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: {}, - isDefault: true, - }, - ], - }, - 'cc-w40': { - isLeaf: false, - sections: ['cc-w40s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w17', - type: 'widgetTransition', - }, - ], - condition: {}, - isDefault: true, - }, - ], - }, - 'cc-w20': { - isLeaf: false, - sections: ['cc-w20s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w22', - type: 'widgetTransition', - }, - ], - condition: {}, - isDefault: true, - }, - ], - }, - 'cc-w33': { - isLeaf: false, - sections: ['cc-w33s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w1s1q1o1', - section: 'cc-w1s1', - widgetId: 'cc-w1', - left: 'cc-w1s1q1', - }, - isDefault: false, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w1s1q1o2', - section: 'cc-w1s1', - widgetId: 'cc-w1', - left: 'cc-w1s1q1', - }, - }, - { - actions: [ - { - nextWidget: 'cc-w22', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w1s1q1o3', - section: 'cc-w1s1', - widgetId: 'cc-w1', - left: 'cc-w1s1q1', - }, - isDefault: false, - }, - ], - }, - 'cc-w12': { - isLeaf: false, - sections: ['cc-w12s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'cc-w33', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w21': { - isLeaf: false, - sections: ['cc-w21s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'cc-w22', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w9': { - isLeaf: false, - sections: ['cc-w9s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w10', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w9s1q1o1', - section: 'cc-w9s1', - conditionType: 'LEAF', - widgetId: 'cc-w9', - left: 'cc-w9s1q1', - }, - isDefault: false, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w9s1q1o2', - section: 'cc-w9s1', - widgetId: 'cc-w9', - left: 'cc-w9s1q1', - }, - }, - ], - }, - 'cc-w24': { - isLeaf: false, - sections: ['cc-w24s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w5': { - isLeaf: false, - sections: ['cc-w5s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w6', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w5s1q1o1', - section: 'cc-w5s1', - widgetId: 'cc-w5', - left: 'cc-w5s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w17', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w5s1q1o2', - section: 'cc-w5s1', - widgetId: 'cc-w5', - left: 'cc-w5s1q1', - }, - isDefault: false, - }, - ], - }, - 'cc-w2': { - isLeaf: false, - sections: ['cc-w2s1'], - conditionActions: [ - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w5', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w2s1q1o1', - section: 'cc-w2s1', - conditionType: 'LEAF', - widgetId: 'cc-w2', - left: 'cc-w2s1q1', - }, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w6', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w2s1q1o2', - section: 'cc-w2s1', - conditionType: 'LEAF', - widgetId: 'cc-w2', - left: 'cc-w2s1q1', - }, - }, - ], - }, - 'cc-w19': { - isLeaf: false, - sections: ['cc-w19s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'cc-w31', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w4': { - isLeaf: false, - sections: ['cc-w4s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w9', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w4s1q1o1', - section: 'cc-w4s1', - widgetId: 'cc-w4', - left: 'cc-w4s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w23', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w4s1q1o2', - section: 'cc-w4s1', - widgetId: 'cc-w4', - left: 'cc-w4s1q1', - }, - isDefault: false, - }, - ], - }, - 'cc-w7': { - isLeaf: false, - sections: ['cc-w7s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w41', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w7s1q1o1', - section: 'cc-w7s1', - conditionType: 'LEAF', - widgetId: 'cc-w7', - left: 'cc-w7s1q1', - }, - isDefault: false, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w10', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w7s1q1o2', - section: 'cc-w7s1', - widgetId: 'cc-w7', - left: 'cc-w7s1q1', - }, - }, - ], - }, - 'cc-w27': { - isLeaf: false, - sections: ['cc-w27s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'cc-w22', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w29': { - isLeaf: false, - sections: ['cc-w29s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'cc-w30', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w13': { - isLeaf: false, - sections: ['cc-w13s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w33', - type: 'widgetTransition', - }, - ], - condition: {}, - isDefault: true, - }, - ], - }, - 'cc-w17': { - isLeaf: false, - sections: ['cc-w17s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w18', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w17s1q1o1', - section: 'cc-w17s1', - widgetId: 'cc-w17', - left: 'cc-w17s1q1', - }, - isDefault: false, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w19', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w17s1q1o2', - section: 'cc-w17s1', - widgetId: 'cc-w17', - left: 'cc-w17s1q1', - }, - }, - { - actions: [ - { - nextWidget: 'SUBMIT', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w17s1q1o3', - section: 'cc-w17s1', - widgetId: 'cc-w17', - left: 'cc-w17s1q1', - }, - isDefault: false, - }, - ], - }, - 'cc-w6': { - isLeaf: false, - sections: ['cc-w6s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w10', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w6s1q1o1', - section: 'cc-w6s1', - conditionType: 'LEAF', - widgetId: 'cc-w6', - left: 'cc-w6s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w15', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w6s1q1o2', - section: 'cc-w6s1', - widgetId: 'cc-w6', - left: 'cc-w6s1q1', - }, - isDefault: false, - }, - ], - }, - 'cc-w15': { - isLeaf: false, - sections: ['cc-w15s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w20', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w15s1q1o1', - section: 'cc-w15s1', - conditionType: 'LEAF', - widgetId: 'cc-w15', - left: 'cc-w15s1q1', - }, - isDefault: false, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w21', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w15s1q1o2', - section: 'cc-w15s1', - widgetId: 'cc-w15', - left: 'cc-w15s1q1', - }, - }, - { - actions: [ - { - nextWidget: 'cc-w26', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w15s1q1o3', - section: 'cc-w15s1', - conditionType: 'LEAF', - widgetId: 'cc-w15', - left: 'cc-w15s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w25', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w15s1q1o4', - section: 'cc-w15s1', - conditionType: 'LEAF', - widgetId: 'cc-w15', - left: 'cc-w15s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w20', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w15s1q1o5', - section: 'cc-w15s1', - conditionType: 'LEAF', - widgetId: 'cc-w15', - left: 'cc-w15s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w27', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w15s1q1o6', - section: 'cc-w15s1', - widgetId: 'cc-w15', - left: 'cc-w15s1q1', - }, - isDefault: false, - }, - ], - }, - 'cc-w25': { - isLeaf: false, - sections: ['cc-w25s1'], - conditionActions: [ - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w21', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w25s1q1o1', - section: 'cc-w25s1', - widgetId: 'cc-w25', - left: 'cc-w25s1q1', - }, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w21', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w25s1q1o2', - section: 'cc-w25s1', - conditionType: 'LEAF', - widgetId: 'cc-w25', - left: 'cc-w25s1q1', - }, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w22', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w25s1q1o3', - section: 'cc-w25s1', - widgetId: 'cc-w25', - left: 'cc-w25s1q1', - }, - }, - ], - }, - 'cc-w30': { - isLeaf: false, - sections: ['cc-w30s1'], - conditionActions: [ - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w10', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w30s1q1o1', - section: 'cc-w30s1', - conditionType: 'LEAF', - widgetId: 'cc-w30', - left: 'cc-w30s1q1', - }, - }, - { - actions: [ - { - nextWidget: 'cc-w28', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w30s1q1o2', - section: 'cc-w30s1', - conditionType: 'LEAF', - widgetId: 'cc-w30', - left: 'cc-w30s1q1', - }, - isDefault: false, - }, - ], - }, - 'cc-w11': { - isLeaf: false, - sections: ['cc-w11s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'cc-w4', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w18': { - isLeaf: false, - sections: ['cc-w18s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'cc-w31', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w8': { - isLeaf: false, - sections: ['cc-w8s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w33', - type: 'widgetTransition', - }, - ], - condition: {}, - isDefault: true, - }, - ], - }, - 'cc-w3': { - isLeaf: false, - sections: ['cc-w3s1'], - conditionActions: [ - { - isDefault: true, - actions: [ - { - nextWidget: 'cc-w30', - type: 'widgetTransition', - }, - ], - condition: {}, - }, - ], - }, - 'cc-w1': { - isLeaf: false, - sections: ['cc-w1s1'], - conditionActions: [ - { - actions: [ - { - nextWidget: 'cc-w3', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w1s1q1o1', - section: 'cc-w1s1', - conditionType: 'LEAF', - widgetId: 'cc-w1', - left: 'cc-w1s1q1', - }, - isDefault: false, - }, - { - actions: [ - { - nextWidget: 'cc-w11', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - right: 'cc-w1s1q1o2', - section: 'cc-w1s1', - conditionType: 'LEAF', - widgetId: 'cc-w1', - left: 'cc-w1s1q1', - }, - isDefault: false, - }, - { - isDefault: false, - actions: [ - { - nextWidget: 'cc-w2', - type: 'widgetTransition', - }, - ], - condition: { - operator: 'valueEqualTo', - conditionType: 'LEAF', - right: 'cc-w1s1q1o3', - section: 'cc-w1s1', - widgetId: 'cc-w1', - left: 'cc-w1s1q1', - }, - }, - ], - }, - }, -};