@sapia-ai/chatbot 2.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. package/CHANGELOG.md +865 -0
  2. package/README.md +366 -0
  3. package/RootApp.d.ts +2 -0
  4. package/apis/FIApis.d.ts +152 -0
  5. package/apis/hooks/useGetApplicationJobRequisition.d.ts +12 -0
  6. package/apis/hooks/useGetJobRequisition.d.ts +10 -0
  7. package/apis/types/apiRequest.d.ts +1 -0
  8. package/apis/types/apiResponse.d.ts +16 -0
  9. package/apis/types/branding.d.ts +17 -0
  10. package/apis/types/jobRequisition.d.ts +20 -0
  11. package/commitlint.config.js +1 -0
  12. package/components/AccessVerificationForm/__tests__/AccessVerificationForm.test.d.ts +1 -0
  13. package/components/AccessVerificationForm/index.d.ts +1 -0
  14. package/components/AccessVerificationForm/view.d.ts +11 -0
  15. package/components/AgcWarningModal/__tests__/AGCWarningModal.test.d.ts +1 -0
  16. package/components/AgcWarningModal/index.d.ts +1 -0
  17. package/components/AgcWarningModal/view.d.ts +7 -0
  18. package/components/AssessmentProgressBar/__tests__/AssessmentProgressBar.test.d.ts +1 -0
  19. package/components/AssessmentProgressBar/index.d.ts +7 -0
  20. package/components/AssessmentProgressBar/view.d.ts +2 -0
  21. package/components/AutoScrollText/__tests__/AutoScrollText.test.d.ts +1 -0
  22. package/components/AutoScrollText/__tests__/useAutoScrollText.test.d.ts +1 -0
  23. package/components/AutoScrollText/useAutoScrollText.d.ts +7 -0
  24. package/components/AutoScrollText/view.d.ts +4 -0
  25. package/components/ButtonGroup/index.d.ts +1 -0
  26. package/components/ButtonGroup/view.d.ts +10 -0
  27. package/components/CancelEditButton/index.d.ts +1 -0
  28. package/components/CancelEditButton/view.d.ts +7 -0
  29. package/components/ChatbotApp/index.d.ts +1 -0
  30. package/components/ChatbotApp/view.d.ts +10 -0
  31. package/components/Dropdown/index.d.ts +3 -0
  32. package/components/Dropdown/view.d.ts +10 -0
  33. package/components/EditButton/__tests__/EditButton.test.d.ts +1 -0
  34. package/components/EditButton/index.d.ts +3 -0
  35. package/components/EditButton/view.d.ts +10 -0
  36. package/components/FTQResponse/__tests__/FTQResponse.test.d.ts +1 -0
  37. package/components/FTQResponse/index.d.ts +3 -0
  38. package/components/FTQResponse/view.d.ts +11 -0
  39. package/components/FullScreenSpinner/__tests__/FullScreenSpinner.test.d.ts +1 -0
  40. package/components/FullScreenSpinner/index.d.ts +1 -0
  41. package/components/FullScreenSpinner/view.d.ts +2 -0
  42. package/components/Icons/Close/Close.d.ts +5 -0
  43. package/components/Icons/Close/index.d.ts +1 -0
  44. package/components/Icons/DislikeEmoji/DislikeEmoji.d.ts +5 -0
  45. package/components/Icons/DislikeEmoji/index.d.ts +1 -0
  46. package/components/Icons/Error/index.d.ts +1 -0
  47. package/components/Icons/Error/view.d.ts +6 -0
  48. package/components/Icons/LikeEmoji/LikeEmoji.d.ts +5 -0
  49. package/components/Icons/LikeEmoji/index.d.ts +1 -0
  50. package/components/Icons/Pause/Pause.d.ts +6 -0
  51. package/components/Icons/Pause/index.d.ts +1 -0
  52. package/components/Icons/Play/Play.d.ts +6 -0
  53. package/components/Icons/Play/index.d.ts +1 -0
  54. package/components/Icons/Question/Question.d.ts +6 -0
  55. package/components/Icons/Question/index.d.ts +1 -0
  56. package/components/Icons/ReRecord/ReRecord.d.ts +5 -0
  57. package/components/Icons/ReRecord/index.d.ts +1 -0
  58. package/components/Icons/Record/Record.d.ts +6 -0
  59. package/components/Icons/Record/index.d.ts +1 -0
  60. package/components/Icons/RecordingTip/RecordingTip.d.ts +6 -0
  61. package/components/Icons/RecordingTip/index.d.ts +1 -0
  62. package/components/Icons/Retry/Retry.d.ts +6 -0
  63. package/components/Icons/Retry/index.d.ts +1 -0
  64. package/components/Icons/Save/Save.d.ts +5 -0
  65. package/components/Icons/Save/index.d.ts +1 -0
  66. package/components/Icons/Stop/Stop.d.ts +6 -0
  67. package/components/Icons/Stop/index.d.ts +1 -0
  68. package/components/Icons/index.d.ts +13 -0
  69. package/components/IosChromeError/index.d.ts +7 -0
  70. package/components/IosChromeError/view.d.ts +3 -0
  71. package/components/Loading/index.d.ts +3 -0
  72. package/components/Loading/view.d.ts +9 -0
  73. package/components/NameEditor/NameEditor.d.ts +26 -0
  74. package/components/NameEditor/__tests__/NameEditor.FirstName.test.d.ts +1 -0
  75. package/components/NameEditor/__tests__/NameEditor.FullName.test.d.ts +1 -0
  76. package/components/NameEditor/__tests__/NameEditor.LastName.test.d.ts +1 -0
  77. package/components/NameEditor/__tests__/NameEditor.test.d.ts +1 -0
  78. package/components/NameEditor/__tests__/useHumanNameExtraction.FirstName.test.d.ts +1 -0
  79. package/components/NameEditor/__tests__/useHumanNameExtraction.FullName.test.d.ts +1 -0
  80. package/components/NameEditor/__tests__/useHumanNameExtraction.LastName.test.d.ts +1 -0
  81. package/components/NameEditor/__tests__/useHumanNameExtraction.test.d.ts +1 -0
  82. package/components/NameEditor/useHumanNameExtraction.d.ts +22 -0
  83. package/components/NameExtractionConfirmModal/__tests__/NameExtractionConfirmModal.test.d.ts +1 -0
  84. package/components/NameExtractionConfirmModal/index.d.ts +1 -0
  85. package/components/NameExtractionConfirmModal/view.d.ts +15 -0
  86. package/components/OptionList/index.d.ts +3 -0
  87. package/components/OptionList/view.d.ts +11 -0
  88. package/components/PHEditor/DesktopQuillEditor/index.d.ts +1 -0
  89. package/components/PHEditor/DesktopQuillEditor/view.d.ts +37 -0
  90. package/components/PHEditor/MobileEditor/ClickableBar.d.ts +7 -0
  91. package/components/PHEditor/MobileEditor/__tests__/ClickableBar.test.d.ts +1 -0
  92. package/components/PHEditor/MobileEditor/view.d.ts +28 -0
  93. package/components/PHEditor/PlainTextEditor/index.d.ts +3 -0
  94. package/components/PHEditor/PlainTextEditor/view.d.ts +26 -0
  95. package/components/PHEditor/TextDictationModal/index.d.ts +1 -0
  96. package/components/PHEditor/TextDictationModal/view.d.ts +6 -0
  97. package/components/PHEditor/TextDictationTip/index.d.ts +1 -0
  98. package/components/PHEditor/TextDictationTip/view.d.ts +4 -0
  99. package/components/PHEditor/WordCount/index.d.ts +1 -0
  100. package/components/PHEditor/WordCount/view.d.ts +12 -0
  101. package/components/PHEditor/__tests__/DesktopQuillEditor.test.d.ts +1 -0
  102. package/components/PHEditor/__tests__/PlainTextEditor.test.d.ts +1 -0
  103. package/components/PHEditor/__tests__/utils.test.d.ts +1 -0
  104. package/components/PHEditor/index.d.ts +2 -0
  105. package/components/PHEditor/types.d.ts +8 -0
  106. package/components/PHEditor/utils.d.ts +20 -0
  107. package/components/PHError/index.d.ts +7 -0
  108. package/components/PHError/view.d.ts +4 -0
  109. package/components/PHIconFont/index.d.ts +7 -0
  110. package/components/PHIconFont/view.d.ts +2 -0
  111. package/components/PHSelect/__tests__/PHSelect.test.d.ts +1 -0
  112. package/components/PHSelect/index.d.ts +1 -0
  113. package/components/PHSelect/view.d.ts +8 -0
  114. package/components/PHVideo/DesktopVideo/__tests__/utils/formatTime.test.d.ts +1 -0
  115. package/components/PHVideo/DesktopVideo/components/Video/index.d.ts +3 -0
  116. package/components/PHVideo/DesktopVideo/components/Video/view.d.ts +42 -0
  117. package/components/PHVideo/DesktopVideo/components/VideoPreviewControls/index.d.ts +3 -0
  118. package/components/PHVideo/DesktopVideo/components/VideoPreviewControls/view.d.ts +10 -0
  119. package/components/PHVideo/DesktopVideo/index.d.ts +3 -0
  120. package/components/PHVideo/DesktopVideo/utils.d.ts +1 -0
  121. package/components/PHVideo/DesktopVideo/view.d.ts +10 -0
  122. package/components/PHVideo/MobileVideo/index.d.ts +3 -0
  123. package/components/PHVideo/MobileVideo/view.d.ts +9 -0
  124. package/components/PhoneCodeSelect/__tests__/PhoneCodeSelect.test.d.ts +1 -0
  125. package/components/PhoneCodeSelect/index.d.ts +1 -0
  126. package/components/PhoneCodeSelect/sources.d.ts +8 -0
  127. package/components/PhoneCodeSelect/view.d.ts +6 -0
  128. package/components/PhoneEditor/__tests__/PhoneEditor.test.d.ts +1 -0
  129. package/components/PhoneEditor/index.d.ts +3 -0
  130. package/components/PhoneEditor/view.d.ts +16 -0
  131. package/components/PlacesAutoComplete/api.d.ts +17 -0
  132. package/components/PlacesAutoComplete/constants.d.ts +8 -0
  133. package/components/PlacesAutoComplete/hooks/usePlacesAutoComplete.d.ts +21 -0
  134. package/components/PlacesAutoComplete/index.d.ts +6 -0
  135. package/components/PlacesAutoComplete/types.d.ts +53 -0
  136. package/components/PlacesAutoComplete/view.d.ts +16 -0
  137. package/components/ReRecordVideoButton/index.d.ts +3 -0
  138. package/components/ReRecordVideoButton/view.d.ts +7 -0
  139. package/components/ReciteMeWrapper/ReciteMeWrapper.d.ts +16 -0
  140. package/components/ReciteMeWrapper/index.d.ts +1 -0
  141. package/components/SendAnswerFailedModal/index.d.ts +1 -0
  142. package/components/SendAnswerFailedModal/view.d.ts +6 -0
  143. package/components/SendCircleButton/__tests__/SendCircleButton.test.d.ts +1 -0
  144. package/components/SendCircleButton/index.d.ts +3 -0
  145. package/components/SendCircleButton/view.d.ts +11 -0
  146. package/components/Slider/__tests__/Slider.test.d.ts +1 -0
  147. package/components/Slider/index.d.ts +3 -0
  148. package/components/Slider/view.d.ts +9 -0
  149. package/components/TextBubble/__tests__/TextBubble.test.d.ts +1 -0
  150. package/components/TextBubble/index.d.ts +3 -0
  151. package/components/TextBubble/view.d.ts +23 -0
  152. package/components/Tooltip/index.d.ts +3 -0
  153. package/components/Tooltip/view.d.ts +6 -0
  154. package/components/UnsupportedBrowserGuard/index.d.ts +3 -0
  155. package/components/UnsupportedBrowserGuard/view.d.ts +5 -0
  156. package/components/UploadVideoFailedMessage/index.d.ts +9 -0
  157. package/components/UploadVideoFailedMessage/view.d.ts +4 -0
  158. package/components/UploadVideoProgressBar/index.d.ts +9 -0
  159. package/components/UploadVideoProgressBar/view.d.ts +4 -0
  160. package/components/VideoPlayer/index.d.ts +3 -0
  161. package/components/VideoPlayer/view.d.ts +7 -0
  162. package/components/VideoResponse/index.d.ts +3 -0
  163. package/components/VideoResponse/view.d.ts +5 -0
  164. package/components/WarningButton/index.d.ts +3 -0
  165. package/components/WarningButton/view.d.ts +4 -0
  166. package/components/WarningModal/index.d.ts +3 -0
  167. package/components/WarningModal/view.d.ts +10 -0
  168. package/components/hooks/useCharacterCountLimit.d.ts +3 -0
  169. package/components/hooks/useCheckScreenSize.d.ts +3 -0
  170. package/components/hooks/useSubmitShortcut.d.ts +1 -0
  171. package/components/hooks/useWordCountLimit.d.ts +4 -0
  172. package/config.d.ts +16 -0
  173. package/constants/browser.d.ts +7 -0
  174. package/constants/common.d.ts +48 -0
  175. package/constants/mockDataForDemo.d.ts +14 -0
  176. package/constants/theme.d.ts +10 -0
  177. package/contexts/AssessmentStateContext/AssessmentStateContext.d.ts +6 -0
  178. package/contexts/AssessmentStateContext/__tests__/AssessmentStateContext.test.d.ts +1 -0
  179. package/contexts/AssessmentStateContext/assessmentStateReducer/__tests__/action.test.d.ts +1 -0
  180. package/contexts/AssessmentStateContext/assessmentStateReducer/__tests__/assessmentStateReducer.test.d.ts +1 -0
  181. package/contexts/AssessmentStateContext/assessmentStateReducer/action.d.ts +3 -0
  182. package/contexts/AssessmentStateContext/assessmentStateReducer/assessmentStateReducer.d.ts +2 -0
  183. package/contexts/AssessmentStateContext/type.d.ts +22 -0
  184. package/contexts/ChatbotStateContext/ChatbotStateContext.d.ts +12 -0
  185. package/contexts/ChatbotStateContext/__tests__/ChatbotStateContext/ChatbotStateContext-render-error.test.d.ts +1 -0
  186. package/contexts/ChatbotStateContext/__tests__/ChatbotStateContext/ChatbotStateContext-render-normal.test.d.ts +1 -0
  187. package/contexts/ChatbotStateContext/__tests__/ChatbotStateContext/handleEditAnswer.test.d.ts +1 -0
  188. package/contexts/ChatbotStateContext/__tests__/ChatbotStateContext/handleExitEditAnswer.test.d.ts +1 -0
  189. package/contexts/ChatbotStateContext/__tests__/ChatbotStateContext/handleSelectOption.test.d.ts +1 -0
  190. package/contexts/ChatbotStateContext/__tests__/ChatbotStateContext/handleSubmitRating.test.d.ts +1 -0
  191. package/contexts/ChatbotStateContext/__tests__/ChatbotStateContext/handleUploadDataVideo.test.d.ts +1 -0
  192. package/contexts/ChatbotStateContext/__tests__/bubble-util/addCandidateResponseMessageBubble.test.d.ts +1 -0
  193. package/contexts/ChatbotStateContext/__tests__/bubble-util/checkShouldLoadNext.test.d.ts +1 -0
  194. package/contexts/ChatbotStateContext/__tests__/bubble-util/convertMessageBubbles.test.d.ts +1 -0
  195. package/contexts/ChatbotStateContext/__tests__/bubble-util/convertRawAgentResponseToMessageBubble.test.d.ts +1 -0
  196. package/contexts/ChatbotStateContext/__tests__/bubble-util/convertRawCandidateResponseToMessageBubble.test.d.ts +1 -0
  197. package/contexts/ChatbotStateContext/__tests__/bubble-util/convertRawResponseToMessageBubble.test.d.ts +1 -0
  198. package/contexts/ChatbotStateContext/__tests__/bubble-util/updateAnswerForCandidateMessageBubble.test.d.ts +1 -0
  199. package/contexts/ChatbotStateContext/__tests__/bubble-util/updateMessageBubbleStatus.test.d.ts +1 -0
  200. package/contexts/ChatbotStateContext/__tests__/bubble-util/updateMessageBubbleStatusInList.test.d.ts +1 -0
  201. package/contexts/ChatbotStateContext/__tests__/useOrder.test.d.ts +1 -0
  202. package/contexts/ChatbotStateContext/__tests__/useUploadVideo/getDisplayVideoUrl.test.d.ts +1 -0
  203. package/contexts/ChatbotStateContext/__tests__/useUploadVideo/getVideoRetryNum.test.d.ts +1 -0
  204. package/contexts/ChatbotStateContext/__tests__/useUploadVideo/uploadDataVideo.test.d.ts +1 -0
  205. package/contexts/ChatbotStateContext/bubble-util.d.ts +193 -0
  206. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/addAgentBubbleActionFn.test.d.ts +1 -0
  207. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/addCandidateResponseMessageBubbleActionFn.test.d.ts +1 -0
  208. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/addVideoUploadStatusBubbleActionFn.test.d.ts +1 -0
  209. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/agentNextResponseCompletedActionFn.test.d.ts +1 -0
  210. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/agentNextResponseStartingActionFn.test.d.ts +1 -0
  211. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/chatLogsLoadCompletedActionFn.test.d.ts +1 -0
  212. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/checkAgcCompletedActionFn.test.d.ts +1 -0
  213. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/convertRawBrandingTheme.test.d.ts +1 -0
  214. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/editAnswerRequestCompletedActionFn.test.d.ts +1 -0
  215. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/editModeEnterActionFn.test.d.ts +1 -0
  216. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/editModeExitActionFn.test.d.ts +1 -0
  217. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/removeFailedMessageBubbleActionFn.test.d.ts +1 -0
  218. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/renderCandidateBubbleManuallyActionFn.test.d.ts +1 -0
  219. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/replaceVideoUploadStatusBubbleActionFn.test.d.ts +1 -0
  220. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/updateCandidateMessageBubbleStatusActionFn.test.d.ts +1 -0
  221. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/updateRecordedVideoInfoActionFn.test.d.ts +1 -0
  222. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/action/updateRerecordVideoInfoActionFn.test.d.ts +1 -0
  223. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-ADD_AGENT_BUBBLE.test.d.ts +1 -0
  224. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-ADD_CANDIDATE_RESPONSE_BUBBLE.test.d.ts +1 -0
  225. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-ADD_VIDEO_UPLOAD_STATUS_BUBBLE.test.d.ts +1 -0
  226. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-AGENT_NEXT_RESPONSE_COMPLETED.test.d.ts +1 -0
  227. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-AGENT_NEXT_RESPONSE_STARTING.test.d.ts +1 -0
  228. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-CHATLOGS_LOAD_COMPLETED.test.d.ts +1 -0
  229. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-DETECT_AGC_COMPLETED.test.d.ts +1 -0
  230. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-EDIT_ANSWER_REQUEST_COMPLETED.test.d.ts +1 -0
  231. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-EDIT_MODE_ENTER.test.d.ts +1 -0
  232. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-EDIT_MODE_EXIT.test.d.ts +1 -0
  233. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-REMOVE_FAILED_MESSAGE_BUBBLE.test.d.ts +1 -0
  234. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-RENDER_CANDIDATE_BUBBLE_MANUALLY.test.d.ts +1 -0
  235. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-REPLACE_VIDEO_UPLOAD_STATUS_BUBBLE.test.d.ts +1 -0
  236. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-UPDATE_CANDIDATE_MESSAGE_BUBBLE_STATUS.test.d.ts +1 -0
  237. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-UPDATE_RECORDED_VIDEO_INFO.test.d.ts +1 -0
  238. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/chatbotStateReducer/chatbotStateReducer-UPDATE_RERECORD_VIDEO_INFO.test.d.ts +1 -0
  239. package/contexts/ChatbotStateContext/chatbotStateReducer/__tests__/util/phChatbotCbCallbackExecutor.test.d.ts +1 -0
  240. package/contexts/ChatbotStateContext/chatbotStateReducer/action.d.ts +23 -0
  241. package/contexts/ChatbotStateContext/chatbotStateReducer/chatbotStateReducer.d.ts +2 -0
  242. package/contexts/ChatbotStateContext/chatbotStateReducer/util.d.ts +13 -0
  243. package/contexts/ChatbotStateContext/type.d.ts +289 -0
  244. package/contexts/ChatbotStateContext/useDetectAgc/__tests__/useDetectAgc.test.d.ts +1 -0
  245. package/contexts/ChatbotStateContext/useDetectAgc/useDetectAgc.d.ts +17 -0
  246. package/contexts/ChatbotStateContext/useLoadNext/__tests__/helper/loadMessage.test.d.ts +1 -0
  247. package/contexts/ChatbotStateContext/useLoadNext/__tests__/helper/onloadNextSuccess.test.d.ts +1 -0
  248. package/contexts/ChatbotStateContext/useLoadNext/__tests__/useLoadNext.test.d.ts +1 -0
  249. package/contexts/ChatbotStateContext/useLoadNext/helper.d.ts +37 -0
  250. package/contexts/ChatbotStateContext/useLoadNext/useLoadNext.d.ts +31 -0
  251. package/contexts/ChatbotStateContext/useOrder.d.ts +31 -0
  252. package/contexts/ChatbotStateContext/useSubmitEditedAnswer/__tests__/useSubmitEditedAnswer.test.d.ts +1 -0
  253. package/contexts/ChatbotStateContext/useSubmitEditedAnswer/index.d.ts +1 -0
  254. package/contexts/ChatbotStateContext/useSubmitEditedAnswer/useSubmitEditedAnswer.d.ts +21 -0
  255. package/contexts/ChatbotStateContext/useUploadVideo.d.ts +29 -0
  256. package/features/AccessVerification/__tests__/AccessVerification.test.d.ts +1 -0
  257. package/features/AccessVerification/index.d.ts +1 -0
  258. package/features/AccessVerification/view.d.ts +10 -0
  259. package/features/AgentMessageBubble/index.d.ts +3 -0
  260. package/features/AgentMessageBubble/view.d.ts +5 -0
  261. package/features/Assessment/__tests__/Assessment.test.d.ts +1 -0
  262. package/features/Assessment/index.d.ts +3 -0
  263. package/features/Assessment/view.d.ts +2 -0
  264. package/features/AssessmentDialogFlow/index.d.ts +3 -0
  265. package/features/AssessmentDialogFlow/view.d.ts +7 -0
  266. package/features/AssessmentResponseFlow/index.d.ts +3 -0
  267. package/features/AssessmentResponseFlow/view.d.ts +5 -0
  268. package/features/CandidateMessageBubble/index.d.ts +3 -0
  269. package/features/CandidateMessageBubble/view.d.ts +8 -0
  270. package/features/Header/__tests__/Header.test.d.ts +1 -0
  271. package/features/Header/index.d.ts +3 -0
  272. package/features/Header/view.d.ts +2 -0
  273. package/features/Introduce/index.d.ts +3 -0
  274. package/features/Introduce/utils.d.ts +190 -0
  275. package/features/Introduce/view.d.ts +2 -0
  276. package/features/Layout/__tests__/Layout.test.d.ts +1 -0
  277. package/features/Layout/index.d.ts +3 -0
  278. package/features/Layout/view.d.ts +4 -0
  279. package/hooks/__tests__/useAccessManagement.test.d.ts +1 -0
  280. package/hooks/__tests__/useAccessVerification.test.d.ts +1 -0
  281. package/hooks/__tests__/useChatbotStatesContext.test.d.ts +1 -0
  282. package/hooks/__tests__/useExtractHumanName.test.d.ts +1 -0
  283. package/hooks/__tests__/useLocalStorage.test.d.ts +1 -0
  284. package/hooks/__tests__/useVerifyAccess.test.d.ts +1 -0
  285. package/hooks/useAccessManagement.d.ts +12 -0
  286. package/hooks/useAccessVerification.d.ts +13 -0
  287. package/hooks/useAssessmentStateContext.d.ts +2 -0
  288. package/hooks/useBeforeUnload.d.ts +2 -0
  289. package/hooks/useChatbotStatesContext.d.ts +2 -0
  290. package/hooks/useExtractHumanName.d.ts +15 -0
  291. package/hooks/useHandleEditorHeightChange.d.ts +7 -0
  292. package/hooks/useLocalStorage.d.ts +24 -0
  293. package/hooks/useQuery.d.ts +3 -0
  294. package/hooks/useVerifyAccess.d.ts +10 -0
  295. package/index.d.ts +1 -0
  296. package/package.json +172 -0
  297. package/pages/App/App.d.ts +11 -0
  298. package/pages/App/index.d.ts +2 -0
  299. package/pages/Chatbot/Chatbot.d.ts +3 -0
  300. package/pages/Chatbot/index.d.ts +2 -0
  301. package/pages/Home/Home.d.ts +3 -0
  302. package/pages/Home/index.d.ts +3 -0
  303. package/pages/LanguageSelectionPage/ApplicationLanguageSelectionPage.d.ts +6 -0
  304. package/pages/LanguageSelectionPage/GenericLanguageSelectionPage.d.ts +6 -0
  305. package/pages/LanguageSelectionPage/LanguageSelection.d.ts +13 -0
  306. package/pages/LanguageSelectionPage/__tests__/LanguageSelection.test.d.ts +1 -0
  307. package/pages/LanguageSelectionPage/index.d.ts +3 -0
  308. package/pages/LanguageSelectionPage/useLanguageSelection.d.ts +19 -0
  309. package/pages/OrderAssessment/OrderAssessment.d.ts +4 -0
  310. package/pages/OrderAssessment/index.d.ts +1 -0
  311. package/postcss.config.js +5 -0
  312. package/predictivehire.d.ts +45 -0
  313. package/predictivehire.js +71047 -0
  314. package/predictivehire.umd.js +382 -0
  315. package/serviceWorker.d.ts +7 -0
  316. package/static/favicon.ico +0 -0
  317. package/static/favicon.png +0 -0
  318. package/static/manifest.json +20 -0
  319. package/static/reciteme_button.png +0 -0
  320. package/static/robots.txt +3 -0
  321. package/tsconfig.build.json +5 -0
  322. package/types/Api.d.ts +25 -0
  323. package/types/AtsInformation.d.ts +52 -0
  324. package/types/ChatBot.d.ts +60 -0
  325. package/types/Next.d.ts +278 -0
  326. package/types/UrlParamKey.d.ts +6 -0
  327. package/utils/TestWrapper.d.ts +32 -0
  328. package/utils/__tests__/defaultLanguage.test.d.ts +1 -0
  329. package/utils/__tests__/getEnv.test.d.ts +1 -0
  330. package/utils/__tests__/messageBubble.test.d.ts +1 -0
  331. package/utils/__tests__/mockTranslationSource.d.ts +117 -0
  332. package/utils/__tests__/setTranslationSource.test.d.ts +1 -0
  333. package/utils/__tests__/translate.test.d.ts +1 -0
  334. package/utils/convertTheme.d.ts +39 -0
  335. package/utils/defaultLanguage.d.ts +6 -0
  336. package/utils/messageBubble.d.ts +11 -0
  337. package/utils/testUtils.d.ts +6 -0
  338. package/utils/translation/constants.d.ts +10 -0
  339. package/utils/translation/fallBackTranslation.d.ts +136 -0
  340. package/utils/translation/translation.d.ts +25 -0
  341. package/utils/utils.d.ts +16 -0
  342. package/vite.chatbot.config.js +90 -0
  343. package/vite.config.js +77 -0
  344. package/vitest.setup.d.ts +1 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,865 @@
1
+ # [2.31.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.30.0...v2.31.0) (2026-01-12)
2
+
3
+
4
+ ### Features
5
+
6
+ * [ED-1118] refactor fetching translation file from core-fi BE api ([23a3bd0](https://github.com/PredictiveHire/phapp-fi-widget/commit/23a3bd0add499af46bfecb51272e02cbcbc6494a))
7
+ * [REQ-2283] update Google Places Autocomplete API integration ([a5ac32f](https://github.com/PredictiveHire/phapp-fi-widget/commit/a5ac32f0110beae7c2a88bd5c3968b6cde2794db))
8
+ * chore(package): refactor to publish widget to new package under sapia-ai org ([a3ad8c7](https://github.com/PredictiveHire/phapp-fi-widget/commit/a3ad8c7be005da300871c8e946f751f03be0327d))
9
+ * update semantic release config to make sure publish and tag as latest ([92c7aa9](https://github.com/PredictiveHire/phapp-fi-widget/commit/92c7aa919ee45ba958c73acf0c68b14da2cfb12c))
10
+
11
+
12
+
13
+ # [2.30.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.29.0...v2.30.0) (2025-09-22)
14
+
15
+
16
+ ### Features
17
+
18
+ * revert [REQ-2239] update Consent Accept button and Submit button UI ([eb9f457](https://github.com/PredictiveHire/phapp-fi-widget/commit/eb9f457352fc16a438bed6dab4146877659d4597))
19
+
20
+
21
+
22
+ # [2.29.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.28.0...v2.29.0) (2025-09-10)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * [TG-19913] keep spacing between p tag text in a bubble to easy to read ([7073b08](https://github.com/PredictiveHire/phapp-fi-widget/commit/7073b08b2ae74cb22ee0815a0cfbd43f2f31c177))
28
+
29
+
30
+ ### Features
31
+
32
+ * [REQ-2239] update Consent Accept button and Submit button UI ([96648c8](https://github.com/PredictiveHire/phapp-fi-widget/commit/96648c8dc29426b53427012950619b3667af86d8))
33
+
34
+
35
+
36
+ # [2.28.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.27.0...v2.28.0) (2025-08-25)
37
+
38
+
39
+ ### Features
40
+
41
+ * [REQ-2217] support skip candidate text feedback question ([962515c](https://github.com/PredictiveHire/phapp-fi-widget/commit/962515c1e87d2631eb2a719f4477f59398e3b4b0))
42
+
43
+
44
+
45
+ # [2.27.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.26.5...v2.27.0) (2025-08-11)
46
+
47
+
48
+ ### Features
49
+
50
+ * [REQ-2209] support Polish language ([93c876f](https://github.com/PredictiveHire/phapp-fi-widget/commit/93c876f9a09ae8f238232dce08deb9b4a284dd28))
51
+ * [REQ-2217] support redirect url set in application link ([849b0d1](https://github.com/PredictiveHire/phapp-fi-widget/commit/849b0d1b4a38b6a1cca8de6c21f2175d5cf1f4c6))
52
+
53
+
54
+
55
+ ## [2.26.5](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.26.4...v2.26.5) (2025-08-05)
56
+
57
+
58
+ ### Bug Fixes
59
+
60
+ * showing assessment result reused message when start assessment ([c401980](https://github.com/PredictiveHire/phapp-fi-widget/commit/c401980435f274069faab9e474c27da6ef0b9b4a))
61
+
62
+
63
+
64
+ ## [2.26.4](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.26.3...v2.26.4) (2025-08-04)
65
+
66
+
67
+ ### Bug Fixes
68
+
69
+ * showing reddirect url button for reused case ([adbde76](https://github.com/PredictiveHire/phapp-fi-widget/commit/adbde7694e90b62a1e4ce6c6a8102d6d98fc1b24))
70
+
71
+
72
+
73
+ ## [2.26.3](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.26.2...v2.26.3) (2025-07-28)
74
+
75
+
76
+ ### Bug Fixes
77
+
78
+ * [ED-957] use fallback translation and throw rollbar error to capture error with more infor ([7657b3c](https://github.com/PredictiveHire/phapp-fi-widget/commit/7657b3cf1ffbf00dd4b689d29c053a1cb7dc1b96))
79
+
80
+
81
+
82
+ ## [2.26.2](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.26.1...v2.26.2) (2025-07-25)
83
+
84
+
85
+ ### Bug Fixes
86
+
87
+ * [ED-957] use fallback translation and throw rollbar error to capture error with more infor ([7919043](https://github.com/PredictiveHire/phapp-fi-widget/commit/79190439b06be497b7e11a6c3c4303a43179d61b))
88
+ * youtube short video can not be play ([61738db](https://github.com/PredictiveHire/phapp-fi-widget/commit/61738db8d7c2ab0b09c17f8f59fbb2538e60826a))
89
+
90
+
91
+
92
+ ## [2.26.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.26.0...v2.26.1) (2025-05-20)
93
+
94
+
95
+ ### Bug Fixes
96
+
97
+ * [TG-18189] fix disable paste does not work ([f0085ad](https://github.com/PredictiveHire/phapp-fi-widget/commit/f0085ad24e15fdb688b1e1c6b714eb3f5a3064fe))
98
+
99
+
100
+
101
+ # [2.26.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.25.0...v2.26.0) (2025-05-03)
102
+
103
+
104
+ ### Features
105
+
106
+ * [REQ-2101] refactor old editor which cause issue cursor jumping around, using new quill editor ([1af56ac](https://github.com/PredictiveHire/phapp-fi-widget/commit/1af56ac3da1a02bd303bf0bbe746657dbd4aa51c))
107
+
108
+
109
+
110
+ # [2.25.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.24.0...v2.25.0) (2025-04-09)
111
+
112
+
113
+ ### Features
114
+
115
+ * [REQ-1995] implement voice dictation tip ([4f18d2d](https://github.com/PredictiveHire/phapp-fi-widget/commit/4f18d2d1f64145009ab53535b8030299bd9ca8da))
116
+ * [TG-17232] fix dictation tip text alignment ([7caed52](https://github.com/PredictiveHire/phapp-fi-widget/commit/7caed52d1a7b19671ab95237259874f59d96c905))
117
+
118
+
119
+
120
+ # [2.24.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.23.0...v2.24.0) (2025-02-12)
121
+
122
+
123
+ ### Features
124
+
125
+ * [REQ-1943] remove tracking info from url after send to BE ([767b411](https://github.com/PredictiveHire/phapp-fi-widget/commit/767b41101bc5ddf023dbd236a4ad4d3a6cda2611))
126
+ * reafctor identify if assessment consent button is clicked ([34e8d51](https://github.com/PredictiveHire/phapp-fi-widget/commit/34e8d51e22e618c504a05bb1e017f3d2f9934cef))
127
+
128
+
129
+
130
+ # [2.23.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.22.1...v2.23.0) (2024-12-12)
131
+
132
+
133
+ ### Features
134
+
135
+ * handle application access tracking event ([5ef255e](https://github.com/PredictiveHire/phapp-fi-widget/commit/5ef255efe2a320fe97dda2e8a17cc909908d1ac0))
136
+ * preset phone code based on country short code ([674f936](https://github.com/PredictiveHire/phapp-fi-widget/commit/674f9360b7b4c34382beadfcfbc87869d4b806f3))
137
+
138
+
139
+
140
+ ## [2.22.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.22.0...v2.22.1) (2024-10-31)
141
+
142
+
143
+ ### Bug Fixes
144
+
145
+ * [TG-13540] [TG-13551] chat interview button and some elements can not be read ([54e2225](https://github.com/PredictiveHire/phapp-fi-widget/commit/54e22250dca3e8b7d368ddf71b6b5d8c9f047129))
146
+ * [TG-14473] video can not be played ([94a0479](https://github.com/PredictiveHire/phapp-fi-widget/commit/94a04796de932717c559eda8922c66dc2b50b289))
147
+ * remove unused varibale ([1928eb0](https://github.com/PredictiveHire/phapp-fi-widget/commit/1928eb0eefcd1cfba8a2adc7b6ff03840b7f41ca))
148
+ * update README to link to core-fi-nestjs ([11a457c](https://github.com/PredictiveHire/phapp-fi-widget/commit/11a457c27896e3012dc25e78f19bcb585a025b7e))
149
+ * wrong background color for dropdown question ([4cd70bd](https://github.com/PredictiveHire/phapp-fi-widget/commit/4cd70bdd6e9061728bdbc2e8c9c56bdd14f84c70))
150
+
151
+
152
+ ### Features
153
+
154
+ * [TG-13553] fix recite me change background feature does not work on mobile ([c6298d5](https://github.com/PredictiveHire/phapp-fi-widget/commit/c6298d5150d37b151a0e1553c9f45e3f77b5f3d2))
155
+
156
+
157
+
158
+ # [2.21.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.20.1...v2.21.0) (2024-08-05)
159
+
160
+
161
+ ### Features
162
+
163
+ * add slack notification when code is merged to main or develop ([57f483b](https://github.com/PredictiveHire/phapp-fi-widget/commit/57f483bd21a874116e5beee542c9e0b58b3c7267))
164
+
165
+
166
+
167
+ ## [2.20.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.20.0...v2.20.1) (2024-06-28)
168
+
169
+
170
+ ### Bug Fixes
171
+
172
+ * ts warning ([63e5cb5](https://github.com/PredictiveHire/phapp-fi-widget/commit/63e5cb5c78d4e193ac1d1d856487d0cdcd7f96c5))
173
+
174
+
175
+
176
+ # [2.20.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.19.0...v2.20.0) (2024-06-28)
177
+
178
+
179
+ ### Bug Fixes
180
+
181
+ * [REQ-1650] incorrect empty space entity sent to backend ([753c197](https://github.com/PredictiveHire/phapp-fi-widget/commit/753c19734371e67cc48c9debfbce88cb931b003c))
182
+
183
+
184
+ ### Features
185
+
186
+ * define NameEditor and use it in FTQResponse ([6d99d1b](https://github.com/PredictiveHire/phapp-fi-widget/commit/6d99d1b0df7a214cbc9f0c35207d45bd8f637c8e))
187
+ * fix FE could't read static file if placed in root level ([bacce63](https://github.com/PredictiveHire/phapp-fi-widget/commit/bacce63040d76a53a6740978b66d7c232532b525))
188
+ * implement human name extraction ([df8e1e3](https://github.com/PredictiveHire/phapp-fi-widget/commit/df8e1e398b35b45a7af8105c0faf02aa4fa492f2))
189
+ * implement using message identifier from chatbot apis to identify submit button question ([e4dea1f](https://github.com/PredictiveHire/phapp-fi-widget/commit/e4dea1fdf91a5686c414f1c692872483c172505a))
190
+ * support short region and short link ([174f93a](https://github.com/PredictiveHire/phapp-fi-widget/commit/174f93aa864af5a118fe9e244c809de3d0aab5cf))
191
+
192
+
193
+
194
+ # [2.19.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.18.0...v2.19.0) (2024-05-16)
195
+
196
+
197
+ ### Bug Fixes
198
+
199
+ * candidate answer not wrapped correctly ([9d6c011](https://github.com/PredictiveHire/phapp-fi-widget/commit/9d6c011f7fdb29e2aecc8b5ee4502d0189cd3e54))
200
+ * leading spaces not rendered in Editor in editing mode ([56295f4](https://github.com/PredictiveHire/phapp-fi-widget/commit/56295f47010426ae6b4a6ee205b6ad9dea24a24b))
201
+
202
+
203
+ ### Features
204
+
205
+ * add Norwegian language ([243ec00](https://github.com/PredictiveHire/phapp-fi-widget/commit/243ec0031b972ed6690472812839016bc2e0884f))
206
+ * change Norwegian language code to nb ([c553c66](https://github.com/PredictiveHire/phapp-fi-widget/commit/c553c663afe6b94631112941a04b62405743aa6b))
207
+ * disable edit button when loading next question or agent is typing ([0baf620](https://github.com/PredictiveHire/phapp-fi-widget/commit/0baf620b5e345377c276a6951b51afe29b85257c))
208
+ * render error when error happen when order assessment ([43b079b](https://github.com/PredictiveHire/phapp-fi-widget/commit/43b079b71090179ab0ffe4a3b40a855047eaba42))
209
+
210
+
211
+
212
+ # [2.18.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.17.1...v2.18.0) (2024-04-16)
213
+
214
+
215
+ ### Bug Fixes
216
+
217
+ * add loading when waiting for redirecting ([974b946](https://github.com/PredictiveHire/phapp-fi-widget/commit/974b94656a8db824b20a44799cd7b7f7878ae9b2))
218
+ * deploy to wrong env in dev deploymnent ([713cf85](https://github.com/PredictiveHire/phapp-fi-widget/commit/713cf859018731857289f183fcdeed3f3ce3de3c))
219
+ * update dev customer list from qa list ([ff06009](https://github.com/PredictiveHire/phapp-fi-widget/commit/ff06009189713c468c3c15fa928eae94698824e5))
220
+
221
+
222
+ ### Features
223
+
224
+ * setup to deploy to aws dev env ([0e86856](https://github.com/PredictiveHire/phapp-fi-widget/commit/0e868563fa588e83757901d2fd2cfdfb07550d29))
225
+
226
+
227
+
228
+ ## [2.17.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.17.0...v2.17.1) (2024-03-26)
229
+
230
+
231
+ ### Bug Fixes
232
+
233
+ * add dev env domain ([52b91b4](https://github.com/PredictiveHire/phapp-fi-widget/commit/52b91b4f4745cd3ecdf98be45d2eb385bb277aca))
234
+
235
+
236
+
237
+ # [2.17.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.16.2...v2.17.0) (2024-03-08)
238
+
239
+
240
+ ### Bug Fixes
241
+
242
+ * fix type getTransactionFileByLanguage to getTranslationFileByLanguage ([6921bbf](https://github.com/PredictiveHire/phapp-fi-widget/commit/6921bbf95a5d792aa392df33f601713f74d4ee43))
243
+ * make language selection page scrollable to avoid missing content in very small screen ([5e47ed7](https://github.com/PredictiveHire/phapp-fi-widget/commit/5e47ed7f4dfa1655327e49833c8ec956b7503c21))
244
+ * unscrollable in language selection page ([662c342](https://github.com/PredictiveHire/phapp-fi-widget/commit/662c34253334a6dcd89265017825c09403cc6d70))
245
+ * update local customer config ([e2a25b6](https://github.com/PredictiveHire/phapp-fi-widget/commit/e2a25b6a0ec6f4e40bc13841d59797201eac9087))
246
+ * use browser language to render page as default for workflow selection page ([b9da19f](https://github.com/PredictiveHire/phapp-fi-widget/commit/b9da19f7d5984e56f1f29f995b5d0e6384492b6d))
247
+
248
+
249
+ ### Features
250
+
251
+ * keep all pii question input consistent ([8b246ed](https://github.com/PredictiveHire/phapp-fi-widget/commit/8b246ed75dee11434102143f2872c3b106db3c0b))
252
+ * replace location field with plainTextEditor ([c5685ae](https://github.com/PredictiveHire/phapp-fi-widget/commit/c5685aed27b35246d6ad75d707ba70f4d73cd16f))
253
+ * support sms consent question ([1782017](https://github.com/PredictiveHire/phapp-fi-widget/commit/1782017407dc82fcac72cf6f685abf7042a7c47a))
254
+
255
+
256
+
257
+ ## [2.16.2](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.16.1...v2.16.2) (2024-02-04)
258
+
259
+
260
+ ### Bug Fixes
261
+
262
+ * application short url keep being redirected to CI event when VI invited ([3c3b3b1](https://github.com/PredictiveHire/phapp-fi-widget/commit/3c3b3b176952781eb3751e4e6ed26488419e8b0d))
263
+
264
+
265
+
266
+ ## [2.16.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.16.0...v2.16.1) (2023-12-20)
267
+
268
+
269
+ ### Bug Fixes
270
+
271
+ * update to call order applications assessments api with internal token ([34ef906](https://github.com/PredictiveHire/phapp-fi-widget/commit/34ef9060d90a9e5dc4cffa96f55e21849d7911cb))
272
+
273
+
274
+
275
+ # [2.16.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.15.3...v2.16.0) (2023-12-06)
276
+
277
+
278
+ ### Bug Fixes
279
+
280
+ * call order assessment with job requisition or application without internal header ([1892ef0](https://github.com/PredictiveHire/phapp-fi-widget/commit/1892ef0a2c41b9319005c50e34aba6ddd5316df8))
281
+ * search issue, add tests to language selection files ([55f6a07](https://github.com/PredictiveHire/phapp-fi-widget/commit/55f6a0755f022b8de006a9ed310bd55dbc5be9bb))
282
+
283
+
284
+ ### Features
285
+
286
+ * define PHSelect ([ef2e8e1](https://github.com/PredictiveHire/phapp-fi-widget/commit/ef2e8e18cfe59c1f0b861efe2779de8f2c878d33))
287
+ * implement order application assessment and job requisition assessment ([965816d](https://github.com/PredictiveHire/phapp-fi-widget/commit/965816d7a64c83b33586e07962a9a81212492821))
288
+ * integrate job req list with api ([a668494](https://github.com/PredictiveHire/phapp-fi-widget/commit/a66849481263e8d30c109071e6b7af917f0a2c62))
289
+ * set up LanguageSelection page ([26c4b8a](https://github.com/PredictiveHire/phapp-fi-widget/commit/26c4b8abf95e17356e27e6c4a9c5875d9bb96db3))
290
+ * update LanguageSelection UI ([6f07099](https://github.com/PredictiveHire/phapp-fi-widget/commit/6f070992b7ffd49bce0f27320473a2a8a75bd9e6))
291
+
292
+
293
+
294
+ ## [2.15.3](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.15.2...v2.15.3) (2023-11-16)
295
+
296
+
297
+ ### Bug Fixes
298
+
299
+ * disable refreshOnWindowFocus ([b83ec8a](https://github.com/PredictiveHire/phapp-fi-widget/commit/b83ec8ae21044d65372baa6f98d92b5af5e2684e))
300
+
301
+
302
+
303
+ ## [2.15.2](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.15.1...v2.15.2) (2023-11-13)
304
+
305
+
306
+ ### Bug Fixes
307
+
308
+ * whitespace issue on iOS devices and scroll issue on Android ([98694c9](https://github.com/PredictiveHire/phapp-fi-widget/commit/98694c93cad5fc310dc08ec67e1b70e543da5fec))
309
+
310
+
311
+
312
+ ## [2.15.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.15.0...v2.15.1) (2023-11-06)
313
+
314
+
315
+ ### Bug Fixes
316
+
317
+ * [REQ-1175] unexpected horizontal scroll ([922035f](https://github.com/PredictiveHire/phapp-fi-widget/commit/922035f868ad7ccf85fbf638816c41c9a719ce77))
318
+ * scroll issue resolved by using Drawer ([a8ddc6d](https://github.com/PredictiveHire/phapp-fi-widget/commit/a8ddc6daef1a1930d68f8c07d240603dd94a78da))
319
+
320
+
321
+
322
+ # [2.15.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.14.2...v2.15.0) (2023-11-01)
323
+
324
+
325
+ ### Features
326
+
327
+ * change the input mode for editors ([821dc92](https://github.com/PredictiveHire/phapp-fi-widget/commit/821dc923fb5ad800bc67e4aa63b4f3fba9df9d2a))
328
+ * implement click to expand input field ([24a2559](https://github.com/PredictiveHire/phapp-fi-widget/commit/24a255913945933985a30e19f6d76fe8293c54cc))
329
+
330
+
331
+
332
+ ## [2.14.2](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.14.1...v2.14.2) (2023-10-31)
333
+
334
+
335
+ ### Bug Fixes
336
+
337
+ * [ED-638] cannot click button groups answers show collapse button when expanded ([#430](https://github.com/PredictiveHire/phapp-fi-widget/issues/430)) ([cbdd661](https://github.com/PredictiveHire/phapp-fi-widget/commit/cbdd661c36984e66434365bc048d397515293d74))
338
+
339
+
340
+
341
+ ## [2.14.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.14.0...v2.14.1) (2023-10-31)
342
+
343
+
344
+ ### Bug Fixes
345
+
346
+ * build chatbot wrong structure folder ([e86cd4c](https://github.com/PredictiveHire/phapp-fi-widget/commit/e86cd4c1b5e737daa6572837dbfe1c79f607cc0a))
347
+
348
+
349
+
350
+ # [2.14.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.13.0...v2.14.0) (2023-10-30)
351
+
352
+
353
+ ### Bug Fixes
354
+
355
+ * remove duplicate tab checking and refetch onfocus ([#420](https://github.com/PredictiveHire/phapp-fi-widget/issues/420)) ([40ea3e3](https://github.com/PredictiveHire/phapp-fi-widget/commit/40ea3e38695d0105a72a4a7e30c29da1e9ac7f39))
356
+
357
+
358
+ ### Features
359
+
360
+ * implement click to expand input field ([#427](https://github.com/PredictiveHire/phapp-fi-widget/issues/427)) ([7723020](https://github.com/PredictiveHire/phapp-fi-widget/commit/7723020dafc923d9130f19969ccf926db2420885))
361
+
362
+
363
+
364
+ # [2.13.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.12.1...v2.13.0) (2023-09-19)
365
+
366
+
367
+ ### Bug Fixes
368
+
369
+ * allow user to click Enter to submit email ([7a8e6d5](https://github.com/PredictiveHire/phapp-fi-widget/commit/7a8e6d5c4dffadf1dc0c73d33b513f0993eb049f))
370
+ * disable browser cache ([4c9701e](https://github.com/PredictiveHire/phapp-fi-widget/commit/4c9701e869c942223a57ba4a7595a1c8643eaa21))
371
+ * do not allow to send when FTQ input is empty or cotains all spaces ([c7b075e](https://github.com/PredictiveHire/phapp-fi-widget/commit/c7b075ea78831628bef78cfe015059e6c26df14a))
372
+ * word count work incorrect with number 0 ([47b5086](https://github.com/PredictiveHire/phapp-fi-widget/commit/47b5086df35102be8e4c64ba4103c466e850aef8))
373
+
374
+
375
+ ### Features
376
+
377
+ * add email verification before re-access chat ([1cc2a38](https://github.com/PredictiveHire/phapp-fi-widget/commit/1cc2a3883cfefb95666e5903288b9565064ccbdb))
378
+ * attach client info to request headers ([cbe243f](https://github.com/PredictiveHire/phapp-fi-widget/commit/cbe243faaa23df72402c24b85875668701ccc37c))
379
+ * render access verification based on assessment language ([4be9040](https://github.com/PredictiveHire/phapp-fi-widget/commit/4be90401ed0df72afe774f9102b74a0f155ed253))
380
+ * storage candidate info in local storage for 30 minutes ([8be14fd](https://github.com/PredictiveHire/phapp-fi-widget/commit/8be14fd179b48349cdd3c951413ba3b1a4be51a2))
381
+ * update wording and remove candidate explainer ([aaf45a5](https://github.com/PredictiveHire/phapp-fi-widget/commit/aaf45a52e3c34ae8fbf86e65eea8dcb55a2859ea))
382
+ * validate email format in real time ([5f740fb](https://github.com/PredictiveHire/phapp-fi-widget/commit/5f740fbdfbad43efef7fe002156357f128a322f9))
383
+
384
+
385
+ ### Reverts
386
+
387
+ * Revert "fix: disable browser cache" ([8c7b695](https://github.com/PredictiveHire/phapp-fi-widget/commit/8c7b69524a6145b4c9c87927b271202fec7ff45a))
388
+
389
+
390
+
391
+ ## [2.12.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.12.0...v2.12.1) (2023-08-10)
392
+
393
+
394
+ ### Bug Fixes
395
+
396
+ * check element exitence before using in observe to avoid warning ([4696dd8](https://github.com/PredictiveHire/phapp-fi-widget/commit/4696dd8538fb1a181d8f77d0c424bb5526ccd6b6))
397
+ * log invalid but possible phone number ([17bb879](https://github.com/PredictiveHire/phapp-fi-widget/commit/17bb8792d30e24a2841c21189e45c7032ef109b1))
398
+ * separate test and build run to stop build when test failed ([b798aa1](https://github.com/PredictiveHire/phapp-fi-widget/commit/b798aa106e8f75de5a9d515d29a5dfbae9552289))
399
+
400
+
401
+
402
+ # [2.12.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.11.1...v2.12.0) (2023-08-10)
403
+
404
+
405
+ ### Bug Fixes
406
+
407
+ * regex parse full name function does not work with vite ([5075485](https://github.com/PredictiveHire/phapp-fi-widget/commit/50754856745685689c1f43d623e5c43f6b969025))
408
+ * wrong UI when view on firefox for option list components ([04146eb](https://github.com/PredictiveHire/phapp-fi-widget/commit/04146ebf496de752b2a412d6037dbb345070863a))
409
+
410
+
411
+ ### Features
412
+
413
+ * support few more new languages ([2725367](https://github.com/PredictiveHire/phapp-fi-widget/commit/2725367502189a521631b8297378a6f5e688e3d4))
414
+
415
+
416
+
417
+ ## [2.11.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.11.0...v2.11.1) (2023-08-09)
418
+
419
+
420
+ ### Bug Fixes
421
+
422
+ * upgrade libphonenumber-js and using max version to support more cases ph phone number ([342560f](https://github.com/PredictiveHire/phapp-fi-widget/commit/342560f0b8178a9a4fbf0011d4855cdc2170643e))
423
+
424
+
425
+
426
+ # [2.11.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.10.0...v2.11.0) (2023-08-01)
427
+
428
+
429
+ ### Features
430
+
431
+ * add continue as redirect button when redirect url is provided ([7ba296e](https://github.com/PredictiveHire/phapp-fi-widget/commit/7ba296e428e3b64aef89202b92f0a1814742692b))
432
+
433
+
434
+
435
+ # [2.10.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.9.1...v2.10.0) (2023-07-26)
436
+
437
+
438
+ ### Bug Fixes
439
+
440
+ * fail to check if a question is tagged as paste-able ([fe77b83](https://github.com/PredictiveHire/phapp-fi-widget/commit/fe77b83c18ff4b4228305dc8e0ff855deb0b0e3a))
441
+
442
+
443
+ ### Features
444
+
445
+ * allow Sapia users to bypass paste disable ([001d603](https://github.com/PredictiveHire/phapp-fi-widget/commit/001d603ea55eb51a6cb28170d2da2842bfe0f398))
446
+ * disable paste from clipboard in editors ([81be9f0](https://github.com/PredictiveHire/phapp-fi-widget/commit/81be9f076c5bb7e2057681ee1b0c6fbb49eee55e))
447
+ * rename tag to ALLOW_PASTE to align with QB ([b8e666a](https://github.com/PredictiveHire/phapp-fi-widget/commit/b8e666a9632b3807f189c2697cad13bfd158a726))
448
+
449
+
450
+
451
+ ## [2.9.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.9.0...v2.9.1) (2023-07-06)
452
+
453
+
454
+ ### Bug Fixes
455
+
456
+ * wrong endpoint when get translation file in SANDBOX and PROD ([5c411f0](https://github.com/PredictiveHire/phapp-fi-widget/commit/5c411f0dfddb7c757dd48317e73eecb2ea2caa48))
457
+
458
+
459
+
460
+ # [2.9.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.8.0...v2.9.0) (2023-06-27)
461
+
462
+
463
+ ### Bug Fixes
464
+
465
+ * resolve the issue ResizeObserver report error to Rollbar ([6d1b4a3](https://github.com/PredictiveHire/phapp-fi-widget/commit/6d1b4a379e94e8d6db682ce5e2ef22e146f7ac16))
466
+
467
+
468
+ ### Features
469
+
470
+ * add AGC warning popup ([89f1120](https://github.com/PredictiveHire/phapp-fi-widget/commit/89f112027502eb7bdc4a37fb0ab34f6adcae4318))
471
+ * add link color to questions and hints ([196983e](https://github.com/PredictiveHire/phapp-fi-widget/commit/196983e9a38b3c85709ca2e8c50f18c57950cf49))
472
+
473
+
474
+
475
+ # [2.8.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.7.3...v2.8.0) (2023-05-15)
476
+
477
+
478
+ ### Bug Fixes
479
+
480
+ * fix ReactMarkdown does not render new line with 1 \n ([ce867b2](https://github.com/PredictiveHire/phapp-fi-widget/commit/ce867b2949ff78c961cbcfb4b8dfefa534c1546e))
481
+ * fix the issue that auto scroll not work on ios devices ([74f56ed](https://github.com/PredictiveHire/phapp-fi-widget/commit/74f56ed812444f4a8291fa14c99485daa165f1d3))
482
+ * fix the useLocalStorage test file name issue ([57fd4c5](https://github.com/PredictiveHire/phapp-fi-widget/commit/57fd4c50de05b015ad0443359ff62f0b463ea719))
483
+ * fix unexpected rendering code-block in user response ([873efa3](https://github.com/PredictiveHire/phapp-fi-widget/commit/873efa33e31f3f5db05ef879473b3a8cc1994e48))
484
+ * fix white spaces trimming in markdown ([01d78ea](https://github.com/PredictiveHire/phapp-fi-widget/commit/01d78ea994d7c18b18b2333e6f85f3229f8bdda0))
485
+ * occasionally scroll text does not scroll til the end ([372df6e](https://github.com/PredictiveHire/phapp-fi-widget/commit/372df6e80309791966c3a8703656a8fa6ec520c3))
486
+ * scrolling not auto resumed ([05323db](https://github.com/PredictiveHire/phapp-fi-widget/commit/05323db7e8aaa680fa10db1c6205170e6a83f59a))
487
+ * use PlainTextEditor when it's email question ([4813953](https://github.com/PredictiveHire/phapp-fi-widget/commit/48139536b496bc768a7fff0bef580a82c6477d64))
488
+
489
+
490
+ ### Features
491
+
492
+ * update Header to make it auto scrolling when vacancy title is too long ([c2b93c8](https://github.com/PredictiveHire/phapp-fi-widget/commit/c2b93c8c1f6a3376de46eb5ebeb7996e637174b1))
493
+
494
+
495
+
496
+ ## [2.7.3](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.7.2...v2.7.3) (2023-05-09)
497
+
498
+
499
+ ### Bug Fixes
500
+
501
+ * antd class does not work after build ([78eb22d](https://github.com/PredictiveHire/phapp-fi-widget/commit/78eb22d5856da5cc8d3506fea6f15b61663acc3f))
502
+ * build to target es5 ([87d10e7](https://github.com/PredictiveHire/phapp-fi-widget/commit/87d10e7f4a46c7fc6a65f7d8e39eb21888686e2c))
503
+
504
+
505
+
506
+ ## [2.7.2](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.7.1...v2.7.2) (2023-05-01)
507
+
508
+
509
+ ### Bug Fixes
510
+
511
+ * release missing type files ([415d70b](https://github.com/PredictiveHire/phapp-fi-widget/commit/415d70bfcdad1375f7a888cc68eccf96f5430ec9))
512
+
513
+
514
+
515
+ ## [2.7.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.7.0...v2.7.1) (2023-05-01)
516
+
517
+
518
+ ### Bug Fixes
519
+
520
+ * package.js main refer to wrong file ([5b862d1](https://github.com/PredictiveHire/phapp-fi-widget/commit/5b862d131eb40943c48f923f34d6c74b25d4ea89))
521
+
522
+
523
+
524
+ # [2.7.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.6.1...v2.7.0) (2023-05-01)
525
+
526
+
527
+ ### Features
528
+
529
+ * migrate creat react app to vite ([0332435](https://github.com/PredictiveHire/phapp-fi-widget/commit/0332435c262110c07d964b72324069e1d81c316a))
530
+
531
+
532
+
533
+ ## [2.6.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.6.0...v2.6.1) (2023-04-03)
534
+
535
+
536
+ ### Bug Fixes
537
+
538
+ * add keyboard shortcut for answer submit ([622d136](https://github.com/PredictiveHire/phapp-fi-widget/commit/622d1368618db01bd1260585ed3225ed7819bc21))
539
+ * implement i18n ([06b5925](https://github.com/PredictiveHire/phapp-fi-widget/commit/06b59254774b35de3feb4ea8bacd9135f9afd70e))
540
+ * make the getTranslationFileFromS3 api a simple request to avoid sending preflight request ([a8a7ae4](https://github.com/PredictiveHire/phapp-fi-widget/commit/a8a7ae4dda954be051dc14e2cd5f38010377e534))
541
+ * remove sysend library; use local storage to detect duplicaated browser ([46fdbf9](https://github.com/PredictiveHire/phapp-fi-widget/commit/46fdbf9dd8b1566f21fc5770da924821473f7f1f))
542
+ * wip ([f1d4d4c](https://github.com/PredictiveHire/phapp-fi-widget/commit/f1d4d4cf6cf54706d0bde4048fbaa5c4c5a764b7))
543
+
544
+
545
+
546
+ # [2.6.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.10...v2.6.0) (2023-02-20)
547
+
548
+
549
+ ### Bug Fixes
550
+
551
+ * text bubble and send button ui is broken if having long words or html elements ([c6a95e0](https://github.com/PredictiveHire/phapp-fi-widget/commit/c6a95e0fc423dfc178615f6db47efee36e0b84d7))
552
+ * ui bug fix when the answer contains a too long word on mobile; video upload failed and upload progress message grow out of the bubble ([989df02](https://github.com/PredictiveHire/phapp-fi-widget/commit/989df02f26df0d46305a714fd62fa168b9c93cb6))
553
+ * video grows out of the bubble ([1b56282](https://github.com/PredictiveHire/phapp-fi-widget/commit/1b56282f82488ab548b1fff080d57044dd1186cd))
554
+
555
+
556
+ ### Features
557
+
558
+ * reuse assessment results in non-ats flow ([aba2072](https://github.com/PredictiveHire/phapp-fi-widget/commit/aba2072ecf5fd5adfdb995354c3708d31c3f6864))
559
+
560
+
561
+
562
+ ## [2.5.10](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.9...v2.5.10) (2023-02-20)
563
+
564
+
565
+ ### Bug Fixes
566
+
567
+ * store fiToken in chatbotState instead of localStorage ([0a856ac](https://github.com/PredictiveHire/phapp-fi-widget/commit/0a856ac9607b5b90efddfc73c0ed255f1f8df3bb))
568
+
569
+
570
+
571
+ ## [2.5.9](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.8...v2.5.9) (2023-02-10)
572
+
573
+
574
+ ### Bug Fixes
575
+
576
+ * move localStorage.getItem and setItem out of api function call ([f6ba238](https://github.com/PredictiveHire/phapp-fi-widget/commit/f6ba2389f63f21729ccdc66fa67ab964cc68abe5))
577
+
578
+
579
+
580
+ ## [2.5.8](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.7...v2.5.8) (2023-02-08)
581
+
582
+
583
+ ### Bug Fixes
584
+
585
+ * add rollbar info log for fiToken in next api call to debug ([6d4e6e0](https://github.com/PredictiveHire/phapp-fi-widget/commit/6d4e6e0b897076ecdffd79e62e0153165967f289))
586
+
587
+
588
+
589
+ ## [2.5.7](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.6...v2.5.7) (2023-02-07)
590
+
591
+
592
+ ### Bug Fixes
593
+
594
+ * change fiToken type from string to object ([34ddfbd](https://github.com/PredictiveHire/phapp-fi-widget/commit/34ddfbdb68a48b6ea9b21b4f14c9993ec81e0c75))
595
+ * remove cookies usage and use local storage to store token ([764693b](https://github.com/PredictiveHire/phapp-fi-widget/commit/764693bb86e1a5a3cb7b6437b21bb2adb8ca236b))
596
+ * remove csrf token as no need for csrf protection when there is no cookie ([e5f2353](https://github.com/PredictiveHire/phapp-fi-widget/commit/e5f23533de81386e35dc6afd55a68f23c577c11d))
597
+ * update app id based on new hard to guess id from fi-widget data ([1e64179](https://github.com/PredictiveHire/phapp-fi-widget/commit/1e64179987c7472a26be16fdc204bc73e545a9df))
598
+
599
+
600
+
601
+ ## [2.5.6](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.5...v2.5.6) (2023-01-17)
602
+
603
+
604
+ ### Bug Fixes
605
+
606
+ * fix default phone code ([a5f9d96](https://github.com/PredictiveHire/phapp-fi-widget/commit/a5f9d96724f0b0fe1df2c19f12dfdee107dc71a0))
607
+
608
+
609
+
610
+ ## [2.5.5](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.4...v2.5.5) (2022-11-28)
611
+
612
+
613
+ ### Bug Fixes
614
+
615
+ * use local storage to store csrf token ([e50fcc1](https://github.com/PredictiveHire/phapp-fi-widget/commit/e50fcc1f392531242831ebf3c3ae98a47f0ef423))
616
+
617
+
618
+
619
+ ## [2.5.4](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.3...v2.5.4) (2022-11-16)
620
+
621
+
622
+ ### Bug Fixes
623
+
624
+ * xss issue with href redirect url ([291c1a8](https://github.com/PredictiveHire/phapp-fi-widget/commit/291c1a83bf5234a20e5ef9b7fd63a5938692f6f3))
625
+
626
+
627
+
628
+ ## [2.5.3](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.2...v2.5.3) (2022-11-07)
629
+
630
+
631
+ ### Bug Fixes
632
+
633
+ * fix scrolling issue on mobile browser ([b2c8277](https://github.com/PredictiveHire/phapp-fi-widget/commit/b2c8277d643745153c7940e54f7e4dce64d09717))
634
+ * return video blob when fail to inject metadata ([3f4886c](https://github.com/PredictiveHire/phapp-fi-widget/commit/3f4886c267b03d18ff54444a7e50c5b14c3913e1))
635
+
636
+
637
+
638
+ ## [2.5.2](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.1...v2.5.2) (2022-11-04)
639
+
640
+
641
+ ### Bug Fixes
642
+
643
+ * do not inject metadata for video record in ios webview ([ac8aada](https://github.com/PredictiveHire/phapp-fi-widget/commit/ac8aada8b7b394f0b449ce66947d640c2ce3beba))
644
+
645
+
646
+
647
+ ## [2.5.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.5.0...v2.5.1) (2022-11-03)
648
+
649
+
650
+ ### Bug Fixes
651
+
652
+ * decrease min height of dialog box to avoid unnecessary scroll ([dc240ab](https://github.com/PredictiveHire/phapp-fi-widget/commit/dc240ab94a1d9282cffdc0060aa4ae38cf8a096d))
653
+
654
+
655
+
656
+ # [2.5.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.4.1...v2.5.0) (2022-10-31)
657
+
658
+
659
+ ### Bug Fixes
660
+
661
+ * disable auto scroll when content does not overflow ([a3c25d7](https://github.com/PredictiveHire/phapp-fi-widget/commit/a3c25d701ae6bd40c70b0faa6493d223b14a7abd))
662
+ * implement progress bar ([02d9a4f](https://github.com/PredictiveHire/phapp-fi-widget/commit/02d9a4f325b1ffcefffd40e812e0ebd2a614bd60))
663
+
664
+
665
+ ### Features
666
+
667
+ * rebranding innovation hub page ([f0831c8](https://github.com/PredictiveHire/phapp-fi-widget/commit/f0831c8a97bb19958c2eb379435226434ed09621))
668
+
669
+
670
+
671
+ ## [2.4.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.4.0...v2.4.1) (2022-10-26)
672
+
673
+
674
+ ### Bug Fixes
675
+
676
+ * rename app return variable ([7e96fd2](https://github.com/PredictiveHire/phapp-fi-widget/commit/7e96fd2365e5585f1b82e81d46081c4224ec80bd))
677
+
678
+
679
+
680
+ # [2.4.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.3.1...v2.4.0) (2022-10-25)
681
+
682
+
683
+ ### Bug Fixes
684
+
685
+ * add commitlint ([4ea23ad](https://github.com/PredictiveHire/phapp-fi-widget/commit/4ea23ad5ac40b38ff6d04fbe5efd28bc0887cbfe))
686
+ * add log when submit video failed ([2bb2e5e](https://github.com/PredictiveHire/phapp-fi-widget/commit/2bb2e5e9492e20269d2e7d787d0b02ec6848a0d5))
687
+ * do not call get csrf and start assessment apis if duplicated tabs are detected ([0e865eb](https://github.com/PredictiveHire/phapp-fi-widget/commit/0e865eb6747658d5f15680469c425b01a9797f13))
688
+ * log upload video error for debugging purpose ([23c3cdf](https://github.com/PredictiveHire/phapp-fi-widget/commit/23c3cdf6680634f24af90acd0f6124cfbd177700))
689
+ * update unit tests as calling getAndSetCSRFToken api inside useorder ([f6766cf](https://github.com/PredictiveHire/phapp-fi-widget/commit/f6766cfccd7c8cd1ac70cbfb90896723c6575e62))
690
+
691
+
692
+ ### Features
693
+
694
+ * add chatbot log callback function to log when candidate opens duplicated tabs ([a58f234](https://github.com/PredictiveHire/phapp-fi-widget/commit/a58f234f5f77dbc7d3a06d2f1a5283635f2b7769))
695
+
696
+
697
+
698
+ ## [2.3.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.3.0...v2.3.1) (2022-10-10)
699
+
700
+
701
+ ### Bug Fixes
702
+
703
+ * Unmirror the REC text when recording video ([86374f6](https://github.com/PredictiveHire/phapp-fi-widget/commit/86374f6171768aaf73b86479e108432d6e901b00))
704
+
705
+
706
+
707
+ # [2.3.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.2.4...v2.3.0) (2022-09-19)
708
+
709
+
710
+ ### Features
711
+
712
+ * get default phone code by region ([ff24ed0](https://github.com/PredictiveHire/phapp-fi-widget/commit/ff24ed0d352a59b07f5782af605c2897c73120de))
713
+ * sort country code by name ([f065181](https://github.com/PredictiveHire/phapp-fi-widget/commit/f065181edcce8be067a1d4dc636d73e5038fdd2f))
714
+
715
+
716
+
717
+ ## [2.2.4](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.2.3...v2.2.4) (2022-08-10)
718
+
719
+
720
+ ### Bug Fixes
721
+
722
+ * move react deps to dev deps ([9a8a333](https://github.com/PredictiveHire/phapp-fi-widget/commit/9a8a333995d44f579de672e85f1cead5b69c22ae))
723
+
724
+
725
+
726
+ ## [2.2.3](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.2.2...v2.2.3) (2022-08-10)
727
+
728
+
729
+ ### Bug Fixes
730
+
731
+ * add antd to peer deps ([46ddf25](https://github.com/PredictiveHire/phapp-fi-widget/commit/46ddf25e5b7b496fd4a1b2322382aef52aeb1437))
732
+
733
+
734
+
735
+ ## [2.2.2](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.2.1...v2.2.2) (2022-08-10)
736
+
737
+
738
+ ### Bug Fixes
739
+
740
+ * add react deps to peer dependencies ([3f79c11](https://github.com/PredictiveHire/phapp-fi-widget/commit/3f79c11cdd782e80c6c02c088acad946c52304cc))
741
+
742
+
743
+
744
+ ## [2.2.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.2.0...v2.2.1) (2022-08-08)
745
+
746
+
747
+ ### Bug Fixes
748
+
749
+ * config access public to publish to public chatbot repo in npm ([926f4b2](https://github.com/PredictiveHire/phapp-fi-widget/commit/926f4b234cdf7afd3b94ccfbd16bb2461333821a))
750
+
751
+
752
+
753
+ # [2.2.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/v2.1.0...v2.2.0) (2022-08-08)
754
+
755
+
756
+ ### Bug Fixes
757
+
758
+ * add import React for file which use React... ([36a7f32](https://github.com/PredictiveHire/phapp-fi-widget/commit/36a7f32759811119e9caf63711e1112629ff0c15))
759
+ * **api file:** support multi regions ([c941797](https://github.com/PredictiveHire/phapp-fi-widget/commit/c9417975b35ae3f57fe4d63050112fc95e97b129))
760
+ * call first fetch assessment message when assessment status change from FI_ASSESSMENT_STARTED to FI_ASSESSMENT_INPROGRESS ([e7cd362](https://github.com/PredictiveHire/phapp-fi-widget/commit/e7cd362051673900c6681c758f6eb85847479ac4))
761
+ * cannot read scrollHeight from null ([50e1c46](https://github.com/PredictiveHire/phapp-fi-widget/commit/50e1c46abfecb8efa620c29c3f75ba3923220c62))
762
+ * cannot-set-property-scrolltop-of-null ([889f1cb](https://github.com/PredictiveHire/phapp-fi-widget/commit/889f1cb8998f330b74529c5dab613aa80068b7fd))
763
+ * condition to show edit button ([7fc3190](https://github.com/PredictiveHire/phapp-fi-widget/commit/7fc31902befdf7d739f689591c0c8fdb216e55c5))
764
+ * customer satisfaction inherit rules from chatLogs which limit word of candidate ([d5247c7](https://github.com/PredictiveHire/phapp-fi-widget/commit/d5247c7b384fe4bc8c4100dc53484e2ba322a052))
765
+ * do not allow user record video when their retry is 0 ([8f7ebfe](https://github.com/PredictiveHire/phapp-fi-widget/commit/8f7ebfe4ff3377be20a5bcbbb1bb4196d2d8da8e))
766
+ * do not call next if safari support only on IOS shown ([0d44897](https://github.com/PredictiveHire/phapp-fi-widget/commit/0d448973222c6d0c6dbe9a95d332ea01f1f516d8))
767
+ * editing.. is partially hidden in mobile ([e2de273](https://github.com/PredictiveHire/phapp-fi-widget/commit/e2de2731928e00b189406d6cdad027d86d859ef4))
768
+ * endpoint attibute name of production stage from prod to product ([135bd20](https://github.com/PredictiveHire/phapp-fi-widget/commit/135bd20c80ebebdc36221c44082bb3a871d0eedb))
769
+ * fix browser tab is closed automatically ([67e3135](https://github.com/PredictiveHire/phapp-fi-widget/commit/67e3135bdf0994f4284da5b19485319bb6e4f649))
770
+ * fix phone-code-box-scrolling-is-not-smooth-in-mobile-version ([9dd21c4](https://github.com/PredictiveHire/phapp-fi-widget/commit/9dd21c44502bb43ba961cdfb8b0a74f642f86fd3))
771
+ * fix the scroll issue ([e09e6ca](https://github.com/PredictiveHire/phapp-fi-widget/commit/e09e6ca0afa0132b5eae7fd6b9b89940f7d3d22a))
772
+ * fix turning localhost in local environment with IP address ([ea11486](https://github.com/PredictiveHire/phapp-fi-widget/commit/ea11486245707922e9c8465f7eb5242aab27cbeb))
773
+ * having same video recording behaviours between desktop and mobile ([3e1b7fd](https://github.com/PredictiveHire/phapp-fi-widget/commit/3e1b7fd54955556899a495b2ebf0243d59802d27))
774
+ * hide edit button for pii input answer when pii completed ([1938923](https://github.com/PredictiveHire/phapp-fi-widget/commit/1938923568816b77457e7706981278deca0a6f53))
775
+ * ios chrome page does not support video question assessment content is invisible ([aabd6a1](https://github.com/PredictiveHire/phapp-fi-widget/commit/aabd6a1e26d7a429fc1535d0f9a7f3d5787315e3))
776
+ * isValid function call of undefined when enter invalid phone number ([ebc5a72](https://github.com/PredictiveHire/phapp-fi-widget/commit/ebc5a72e6d1add1f2efd442a5d41edd684752a86))
777
+ * make scrollable at any point in screen ([c59f575](https://github.com/PredictiveHire/phapp-fi-widget/commit/c59f5752939fb207358352412b50128eeb7fd85c))
778
+ * missing close button in video recording popup when editting video ([a698f4e](https://github.com/PredictiveHire/phapp-fi-widget/commit/a698f4e70e49f21409276c50c52484e1f4d6454c))
779
+ * mobile editor does not allow typing ([e69fd61](https://github.com/PredictiveHire/phapp-fi-widget/commit/e69fd617211dab7546b156bd48a7546e2b32d726))
780
+ * moving video recoder popup up abit to avoid mobile bottom navigator overlapse ([a86d7c4](https://github.com/PredictiveHire/phapp-fi-widget/commit/a86d7c4ce0c516aed2a4f04bf30479558abd4783))
781
+ * name valition should not count space as a word ([654d5c0](https://github.com/PredictiveHire/phapp-fi-widget/commit/654d5c0fdac706513c7d28f32a2cae4d27657f8f))
782
+ * new chrome casue issue with ts-ebml ([7e8e0ec](https://github.com/PredictiveHire/phapp-fi-widget/commit/7e8e0ecad761811aeade302b26174bf9cf98ce7c))
783
+ * only close video recording popup when press esc only in edit mode ([260a5cc](https://github.com/PredictiveHire/phapp-fi-widget/commit/260a5cc2b7856da5cf9bf0d6b4716656106e0155))
784
+ * read success of undefined when onsend return null ([3a7012c](https://github.com/PredictiveHire/phapp-fi-widget/commit/3a7012cc609f52e37423d631f44855a77e466a21))
785
+ * record video overlapse on top of press ESC to cancel button in retry mode ([e7ef1ea](https://github.com/PredictiveHire/phapp-fi-widget/commit/e7ef1ea1915b90f07ce4da754dc6a269dd52ff37))
786
+ * recordedVideoInfo required in mock test ([6907f71](https://github.com/PredictiveHire/phapp-fi-widget/commit/6907f71bc0fabf2ca1609a33637291925a0ecc74))
787
+ * release script failed by extra && symbol ([4e807fb](https://github.com/PredictiveHire/phapp-fi-widget/commit/4e807fb44c850804f57e4b6f7d9927370c1bb9f6))
788
+ * remove cohort default title and make it empty ([3dd90fb](https://github.com/PredictiveHire/phapp-fi-widget/commit/3dd90fb7c88031cfaeb5b689cef2b54c5d8a2ea0))
789
+ * remove duplicated handleOnKeyDown function caused by rebasing conflict ([5227cdf](https://github.com/PredictiveHire/phapp-fi-widget/commit/5227cdfd391a3e3f66147fd465573902d077e7e1))
790
+ * restrict domain vimeo video can not be play ([7624ffb](https://github.com/PredictiveHire/phapp-fi-widget/commit/7624ffb671ec8511584720bde5a1d645257ff5ba))
791
+ * si and ci functions name ([a10c69d](https://github.com/PredictiveHire/phapp-fi-widget/commit/a10c69d64bc6caa0685ce82b95fc9eae239f2a6b))
792
+ * submiting and showing typing flow ([9996f8c](https://github.com/PredictiveHire/phapp-fi-widget/commit/9996f8c6b7ce67564743a711abfc954d5f20ff76))
793
+ * temporary solution for Cannot read property 'focus' of null of Editor react-draft-wysiwy ([c56422e](https://github.com/PredictiveHire/phapp-fi-widget/commit/c56422e64dcf7dcdde3d31b14232cf13fcaf4367))
794
+ * update Sapia candidateSupportDomain ([9b19989](https://github.com/PredictiveHire/phapp-fi-widget/commit/9b199892f952d547236885fc20c5ba18598982c9))
795
+ * validate parsed phone number ([19e69e7](https://github.com/PredictiveHire/phapp-fi-widget/commit/19e69e7aaac294a7c7f075b6d26b66159e4c71bc))
796
+ * video duration control bar does not work correctly when seeking ([e5e6183](https://github.com/PredictiveHire/phapp-fi-widget/commit/e5e6183302f63bb3b154d353fdb4952e1b708c23))
797
+ * video duration control bar is missing when recording video auto stop ([6ffe28e](https://github.com/PredictiveHire/phapp-fi-widget/commit/6ffe28ea61e2fe667fd68db37deb0479f2e77bf2))
798
+ * video question in dialog flow and recording video popup colors ([114484e](https://github.com/PredictiveHire/phapp-fi-widget/commit/114484ecc51a5c12385b23f00d475f3b5f55ddab))
799
+
800
+
801
+ ### Features
802
+
803
+ * add click to exit editing mode ([85a0081](https://github.com/PredictiveHire/phapp-fi-widget/commit/85a008162e332d781b3f081f3afe75acf5989f6b))
804
+ * add nib to homepage to test ([79c084e](https://github.com/PredictiveHire/phapp-fi-widget/commit/79c084e0b4ac53c7d9c01d5030155a85d8ef22cd))
805
+ * add order FI ATS assessment option ([e72173e](https://github.com/PredictiveHire/phapp-fi-widget/commit/e72173e932eaffd990a63d01390f83992f5f1bd4))
806
+ * add suncorp default order assessment ([42a8879](https://github.com/PredictiveHire/phapp-fi-widget/commit/42a88799b18d65ce9a089ee845efabcc21db0567))
807
+ * check-duplicate-browser-tab-to-make-sure-candidate-open-only-one-tab ([9a982e5](https://github.com/PredictiveHire/phapp-fi-widget/commit/9a982e5bb2512bbcae7c78e9601a2221b2c19940))
808
+ * count-each-emoji-as-one-word ([ef53448](https://github.com/PredictiveHire/phapp-fi-widget/commit/ef53448060c92e2ed98ed287f8dd2ef73612e955))
809
+ * create on ph chatbot error call back ([3b8f80c](https://github.com/PredictiveHire/phapp-fi-widget/commit/3b8f80cb7aa366aaea77f3a785909a8f93396c12))
810
+ * disable-the-record-button-if-no-remaining-retries ([d6df004](https://github.com/PredictiveHire/phapp-fi-widget/commit/d6df004c36b80943dfd82dcc46be4c52205dfdc7))
811
+ * FI-756/feat/call-core-fi-api-to-update-answer-when-retry-video ([5aaf505](https://github.com/PredictiveHire/phapp-fi-widget/commit/5aaf50554a013794cde115c1d832e70ec308e5d6))
812
+ * frontend-character-level-length-check-and-limit ([f24833f](https://github.com/PredictiveHire/phapp-fi-widget/commit/f24833f29559029d84dd744e1ecb248cd3c9acee))
813
+ * handle message when cohort of assessment is archived ([afc2cfc](https://github.com/PredictiveHire/phapp-fi-widget/commit/afc2cfcc999686e42b841177bca531eacca84833))
814
+ * implement edit ftq and mcq answer ([58941a8](https://github.com/PredictiveHire/phapp-fi-widget/commit/58941a8ef42bb080f0afeb1bf7c918b403ead9b8))
815
+ * implement google place auto complete ([107c56c](https://github.com/PredictiveHire/phapp-fi-widget/commit/107c56ca4e887cefad50572a7ba6c7c6984d30fe))
816
+ * implement handle dropdown type question ([2b3e3e2](https://github.com/PredictiveHire/phapp-fi-widget/commit/2b3e3e285b938758121733a11fc9b31ba396b604))
817
+ * implement order generic assessment using cohortId and start assessment ([6214e3f](https://github.com/PredictiveHire/phapp-fi-widget/commit/6214e3fc5a6beb7def3c84bd882a3bb41296fc7a))
818
+ * implement phone number with phone code input ([ed09914](https://github.com/PredictiveHire/phapp-fi-widget/commit/ed09914f034024bf2a7996324d0eea8daa052a22))
819
+ * Implement the new Button Group type ([8341e13](https://github.com/PredictiveHire/phapp-fi-widget/commit/8341e13c6bc6c992fa10aaeda45318453ae86e4a))
820
+ * not-allow-candidate-to-submit-0kb-size-video ([e2fcfef](https://github.com/PredictiveHire/phapp-fi-widget/commit/e2fcfef437af813e0ee563c76bf1d7bd283bc9c7))
821
+ * remove retry text from test video ([3408f0d](https://github.com/PredictiveHire/phapp-fi-widget/commit/3408f0d32edbdec11fd3cfb47d0a976c82489abe))
822
+ * reuse build file from previous test step in buildkite for deploy step to improce deploy speed ([17a6154](https://github.com/PredictiveHire/phapp-fi-widget/commit/17a615412af0d929ee7512cf27b2e0e490529846))
823
+ * show ended assessment message ([1731784](https://github.com/PredictiveHire/phapp-fi-widget/commit/1731784fb91733fd0c49f3d12dbf4834fe9d40d6))
824
+ * show-message-error-when-edit-or-send-answer-for-FTQ-MCQ-failed ([89b3beb](https://github.com/PredictiveHire/phapp-fi-widget/commit/89b3beb2e56a565bf5437748be2b7723caf36614))
825
+ * update homepage with new branding ([ef6871a](https://github.com/PredictiveHire/phapp-fi-widget/commit/ef6871a40d4036e14078b11171ee2834de87af98))
826
+ * validate email input ([9a2b7c2](https://github.com/PredictiveHire/phapp-fi-widget/commit/9a2b7c2a0f0bdada0fb369679b98ea9f4ca30f0d))
827
+ * validate fullname which only contain first name and last name 2 words only ([8beccf1](https://github.com/PredictiveHire/phapp-fi-widget/commit/8beccf13f00e1ac4041dcae35e01d6b618d3ecbb))
828
+
829
+
830
+ ### BREAKING CHANGES
831
+
832
+ * **api file:** need to pass region when new widget instance
833
+
834
+
835
+
836
+ ## [1.3.2](https://github.com/PredictiveHire/phapp-fi-widget/compare/v1.3.1...v1.3.2) (2021-04-07)
837
+
838
+
839
+
840
+ ## [1.3.1](https://github.com/PredictiveHire/phapp-fi-widget/compare/v1.3.0...v1.3.1) (2021-03-14)
841
+
842
+
843
+ ### Bug Fixes
844
+
845
+ * **pipeline.yml:** fix the error of existing tag caused by rebuild ([f198223](https://github.com/PredictiveHire/phapp-fi-widget/commit/f198223e2528b887f3551f48c517601bb7c2c1e1))
846
+
847
+
848
+
849
+ # [1.3.0](https://github.com/PredictiveHire/phapp-fi-widget/compare/103cab748a8657144e01126d56eeb0d45374fa9f...v1.3.0) (2021-03-10)
850
+
851
+
852
+ ### Bug Fixes
853
+
854
+ * **package.json:** update version ([9b02778](https://github.com/PredictiveHire/phapp-fi-widget/commit/9b027781c5ce99e8c3b95a76a4e30676b1085fd4))
855
+ * **package.json:** update version ([bfa89db](https://github.com/PredictiveHire/phapp-fi-widget/commit/bfa89dbec9aea6a01e2c65a37e21bdfef19a7616))
856
+ * **package.json:** update version ([ace6b9a](https://github.com/PredictiveHire/phapp-fi-widget/commit/ace6b9a36181471b7f31de19f2328081427dc14a))
857
+ * **yarnrc:** add commit to skip the ci ([433142c](https://github.com/PredictiveHire/phapp-fi-widget/commit/433142c0464d9f4de2278c0a80995ba145c08324))
858
+
859
+
860
+ ### Features
861
+
862
+ * **pipeline.yml, package.json:** add buildkite and install commitizen, conventional ([103cab7](https://github.com/PredictiveHire/phapp-fi-widget/commit/103cab748a8657144e01126d56eeb0d45374fa9f))
863
+
864
+
865
+