ninchat-embed 1.0.6 → 2.0.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 (364) hide show
  1. package/README.md +7 -0
  2. package/dist/embed3.js +2 -1
  3. package/dist/embed3.js.map +1 -1
  4. package/dist/src/actions/app.d.ts +2 -2
  5. package/dist/src/actions/app.d.ts.map +1 -1
  6. package/dist/src/actions/modal/types/index.d.ts +1 -0
  7. package/dist/src/actions/modal/types/index.d.ts.map +1 -1
  8. package/dist/src/api/NinchatClient.d.ts +24 -7
  9. package/dist/src/api/NinchatClient.d.ts.map +1 -1
  10. package/dist/src/api/action/acceptAudience.d.ts +1 -1
  11. package/dist/src/api/action/addMember.d.ts +1 -1
  12. package/dist/src/api/action/assignTranscript.d.ts +1 -1
  13. package/dist/src/api/action/beginSso.d.ts +1 -1
  14. package/dist/src/api/action/closeSession.d.ts +1 -1
  15. package/dist/src/api/action/createAccess.d.ts +1 -1
  16. package/dist/src/api/action/createChannel.d.ts +1 -1
  17. package/dist/src/api/action/createComment.d.ts +4 -4
  18. package/dist/src/api/action/createIdentity.d.ts +4 -4
  19. package/dist/src/api/action/createIdentityWithAuthResetAccess.d.ts +4 -4
  20. package/dist/src/api/action/createQueue.d.ts +1 -1
  21. package/dist/src/api/action/createSession.d.ts +3 -2
  22. package/dist/src/api/action/createSession.d.ts.map +1 -1
  23. package/dist/src/api/action/createTag.d.ts +4 -4
  24. package/dist/src/api/action/deleteIdentity.d.ts +4 -4
  25. package/dist/src/api/action/deleteMessage.d.ts +4 -4
  26. package/dist/src/api/action/deleteTag.d.ts +4 -4
  27. package/dist/src/api/action/describeAccess.d.ts +1 -1
  28. package/dist/src/api/action/describeChannel.d.ts +1 -1
  29. package/dist/src/api/action/describeFile.d.ts +1 -1
  30. package/dist/src/api/action/describeIdentity.d.ts +4 -4
  31. package/dist/src/api/action/describeQueue.d.ts +4 -4
  32. package/dist/src/api/action/describeQueueTranscripts.d.ts +1 -1
  33. package/dist/src/api/action/describeRealm.d.ts +1 -1
  34. package/dist/src/api/action/describeRealmQueues.d.ts +1 -1
  35. package/dist/src/api/action/describeTag.d.ts +4 -4
  36. package/dist/src/api/action/describeTags.d.ts +4 -4
  37. package/dist/src/api/action/describeTranscript.d.ts +1 -1
  38. package/dist/src/api/action/describeUser.d.ts +3 -8
  39. package/dist/src/api/action/describeUser.d.ts.map +1 -1
  40. package/dist/src/api/action/discoverJitsi.d.ts +1 -1
  41. package/dist/src/api/action/endAudience.d.ts +4 -4
  42. package/dist/src/api/action/getAudienceRangeComments.d.ts +4 -4
  43. package/dist/src/api/action/getQueueActivity.d.ts +4 -4
  44. package/dist/src/api/action/getQueueStats.d.ts +4 -4
  45. package/dist/src/api/action/getTranscript.d.ts +1 -1
  46. package/dist/src/api/action/index.d.ts.map +1 -1
  47. package/dist/src/api/action/joinChannel.d.ts +2 -1
  48. package/dist/src/api/action/joinChannel.d.ts.map +1 -1
  49. package/dist/src/api/action/loadHistory.d.ts +1 -1
  50. package/dist/src/api/action/partChannel.d.ts +1 -1
  51. package/dist/src/api/action/registerAudience.d.ts +4 -4
  52. package/dist/src/api/action/removeMember.d.ts +1 -1
  53. package/dist/src/api/action/requestAudience.d.ts +19 -0
  54. package/dist/src/api/action/requestAudience.d.ts.map +1 -0
  55. package/dist/src/api/action/requestIdentityAuthResetAccess.d.ts +1 -1
  56. package/dist/src/api/action/requestIdentityVerifyAccess.d.ts +4 -4
  57. package/dist/src/api/action/resetIdentityAuth.d.ts +1 -1
  58. package/dist/src/api/action/sendMessage.d.ts +1 -1
  59. package/dist/src/api/action/sendMessage.d.ts.map +1 -1
  60. package/dist/src/api/action/setTranscriptStatus.d.ts +1 -1
  61. package/dist/src/api/action/transferAudience.d.ts +1 -1
  62. package/dist/src/api/action/updateChannel.d.ts +4 -4
  63. package/dist/src/api/action/updateDialogue.d.ts +4 -4
  64. package/dist/src/api/action/updateIdentity.d.ts +4 -4
  65. package/dist/src/api/action/updateIdentityAuth.d.ts +4 -4
  66. package/dist/src/api/action/updateMember.d.ts +1 -1
  67. package/dist/src/api/action/updateMessage.d.ts +4 -4
  68. package/dist/src/api/action/updateQueue.d.ts +4 -4
  69. package/dist/src/api/action/updateRealm.d.ts +4 -4
  70. package/dist/src/api/action/updateSession.d.ts +6 -6
  71. package/dist/src/api/action/updateTag.d.ts +4 -4
  72. package/dist/src/api/action/updateUser.d.ts +4 -4
  73. package/dist/src/api/action/updateUserMessages.d.ts +4 -4
  74. package/dist/src/api/action/verifyIdentity.d.ts +4 -4
  75. package/dist/src/api/event/audienceEnqueued.d.ts +4 -0
  76. package/dist/src/api/event/audienceEnqueued.d.ts.map +1 -0
  77. package/dist/src/api/event/channelJoined.d.ts +19 -3
  78. package/dist/src/api/event/channelJoined.d.ts.map +1 -1
  79. package/dist/src/api/event/channelParted.d.ts +1 -1
  80. package/dist/src/api/event/channelUpdated.d.ts +1 -1
  81. package/dist/src/api/event/index.d.ts +67 -21
  82. package/dist/src/api/event/index.d.ts.map +1 -1
  83. package/dist/src/api/event/messageReceived.d.ts +1 -1
  84. package/dist/src/api/event/messageReceived.d.ts.map +1 -1
  85. package/dist/src/api/event/queueUpdated.d.ts.map +1 -1
  86. package/dist/src/api/event/realmMemberJoined.d.ts +4 -0
  87. package/dist/src/api/event/realmMemberJoined.d.ts.map +1 -0
  88. package/dist/src/api/event/realmQueuesFound.d.ts.map +1 -1
  89. package/dist/src/api/event/sessionCreated.d.ts +1 -1
  90. package/dist/src/api/event/transcriptUpdated.d.ts +1 -1
  91. package/dist/src/api/event/transcriptUpdated.d.ts.map +1 -1
  92. package/dist/src/api/reducers/updateNinchatState.d.ts +4 -0
  93. package/dist/src/api/reducers/updateNinchatState.d.ts.map +1 -0
  94. package/dist/src/api/slice.d.ts +59 -0
  95. package/dist/src/api/slice.d.ts.map +1 -1
  96. package/dist/src/api/types/actions.d.ts +49 -2
  97. package/dist/src/api/types/actions.d.ts.map +1 -1
  98. package/dist/src/api/types/attributes.d.ts +4 -0
  99. package/dist/src/api/types/attributes.d.ts.map +1 -1
  100. package/dist/src/api/types/events.d.ts +18 -2
  101. package/dist/src/api/types/events.d.ts.map +1 -1
  102. package/dist/src/api/types/messages.d.ts +43 -1
  103. package/dist/src/api/types/messages.d.ts.map +1 -1
  104. package/dist/src/api/types/properties.d.ts +45 -3
  105. package/dist/src/api/types/properties.d.ts.map +1 -1
  106. package/dist/src/api/types/settings.d.ts +7 -0
  107. package/dist/src/api/types/settings.d.ts.map +1 -1
  108. package/dist/src/api/types/state.d.ts +2 -0
  109. package/dist/src/api/types/state.d.ts.map +1 -1
  110. package/dist/src/app/actions.d.ts +1 -1
  111. package/dist/src/app/actions.d.ts.map +1 -1
  112. package/dist/src/appconfig/index.d.ts +15 -6
  113. package/dist/src/appconfig/index.d.ts.map +1 -1
  114. package/dist/src/components/Avatar/LetterAvatar/LetterAvatar.d.ts +5 -0
  115. package/dist/src/components/Avatar/LetterAvatar/LetterAvatar.d.ts.map +1 -0
  116. package/dist/src/components/Avatar/LetterAvatar/LetterAvatarView.d.ts +11 -0
  117. package/dist/src/components/Avatar/LetterAvatar/LetterAvatarView.d.ts.map +1 -0
  118. package/dist/src/components/Avatar/LetterAvatar/index.d.ts +3 -0
  119. package/dist/src/components/Avatar/LetterAvatar/index.d.ts.map +1 -0
  120. package/dist/src/components/Avatar/LetterAvatar/styles/LetterAvatarView.d.ts +69 -0
  121. package/dist/src/components/Avatar/LetterAvatar/styles/LetterAvatarView.d.ts.map +1 -0
  122. package/dist/src/components/Avatar/LetterAvatar/types/index.d.ts +7 -0
  123. package/dist/src/components/Avatar/LetterAvatar/types/index.d.ts.map +1 -1
  124. package/dist/src/components/Avatar/UserAvatar/UserAvatar.d.ts +5 -0
  125. package/dist/src/components/Avatar/UserAvatar/UserAvatar.d.ts.map +1 -0
  126. package/dist/src/components/Avatar/UserAvatar/UserAvatarView.d.ts +17 -0
  127. package/dist/src/components/Avatar/UserAvatar/UserAvatarView.d.ts.map +1 -0
  128. package/dist/src/components/Avatar/UserAvatar/index.d.ts +3 -0
  129. package/dist/src/components/Avatar/UserAvatar/index.d.ts.map +1 -0
  130. package/dist/src/components/Avatar/UserAvatar/styles/UserAvatarView.d.ts +106 -0
  131. package/dist/src/components/Avatar/UserAvatar/styles/UserAvatarView.d.ts.map +1 -0
  132. package/dist/src/components/Avatar/UserAvatar/types/index.d.ts +12 -0
  133. package/dist/src/components/Avatar/UserAvatar/types/index.d.ts.map +1 -1
  134. package/dist/src/components/Button/Button.d.ts.map +1 -1
  135. package/dist/src/components/Button/ButtonView.d.ts +1 -9
  136. package/dist/src/components/Button/ButtonView.d.ts.map +1 -1
  137. package/dist/src/components/Button/styles/ButtonView.d.ts +108 -16
  138. package/dist/src/components/Button/styles/ButtonView.d.ts.map +1 -1
  139. package/dist/src/components/Button/types/index.d.ts +1 -0
  140. package/dist/src/components/Button/types/index.d.ts.map +1 -1
  141. package/dist/src/components/Checkbox/Checkbox.d.ts +5 -0
  142. package/dist/src/components/Checkbox/Checkbox.d.ts.map +1 -0
  143. package/dist/src/components/Checkbox/CheckboxView.d.ts +5 -0
  144. package/dist/src/components/Checkbox/CheckboxView.d.ts.map +1 -0
  145. package/dist/src/components/Checkbox/index.d.ts +3 -0
  146. package/dist/src/components/Checkbox/index.d.ts.map +1 -0
  147. package/dist/src/components/Checkbox/styles/CheckboxView.d.ts +80 -0
  148. package/dist/src/components/Checkbox/styles/CheckboxView.d.ts.map +1 -0
  149. package/dist/src/components/Checkbox/types/index.d.ts +8 -0
  150. package/dist/src/components/Checkbox/types/index.d.ts.map +1 -0
  151. package/dist/src/components/Embed/EmbedQuestionnaire.d.ts +47 -0
  152. package/dist/src/components/Embed/EmbedQuestionnaire.d.ts.map +1 -0
  153. package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/QuestionnaireButton.d.ts +40 -0
  154. package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/QuestionnaireButton.d.ts.map +1 -0
  155. package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/styles/index.d.ts +71 -0
  156. package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/styles/index.d.ts.map +1 -0
  157. package/dist/src/components/Embed/Questionnaire/QuestionnaireCheckbox/QuestionnaireCheckbox.d.ts +29 -0
  158. package/dist/src/components/Embed/Questionnaire/QuestionnaireCheckbox/QuestionnaireCheckbox.d.ts.map +1 -0
  159. package/dist/src/components/Embed/Questionnaire/QuestionnaireCheckbox/styles/index.d.ts +7 -0
  160. package/dist/src/components/Embed/Questionnaire/QuestionnaireCheckbox/styles/index.d.ts.map +1 -0
  161. package/dist/src/components/Embed/Questionnaire/QuestionnaireInput/QuestionnaireInput.d.ts +40 -0
  162. package/dist/src/components/Embed/Questionnaire/QuestionnaireInput/QuestionnaireInput.d.ts.map +1 -0
  163. package/dist/src/components/Embed/Questionnaire/QuestionnaireInput/styles/index.d.ts +2 -0
  164. package/dist/src/components/Embed/Questionnaire/QuestionnaireInput/styles/index.d.ts.map +1 -0
  165. package/dist/src/components/Embed/Questionnaire/QuestionnaireLink/QuestionnaireLink.d.ts +13 -0
  166. package/dist/src/components/Embed/Questionnaire/QuestionnaireLink/QuestionnaireLink.d.ts.map +1 -0
  167. package/dist/src/components/Embed/Questionnaire/QuestionnaireLink/styles/index.d.ts +2 -0
  168. package/dist/src/components/Embed/Questionnaire/QuestionnaireLink/styles/index.d.ts.map +1 -0
  169. package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/QuestionnaireNavigation.d.ts +8 -0
  170. package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/QuestionnaireNavigation.d.ts.map +1 -0
  171. package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/styles/index.d.ts +16 -0
  172. package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/styles/index.d.ts.map +1 -0
  173. package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/QuestionnaireQueueButton.d.ts +28 -0
  174. package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/QuestionnaireQueueButton.d.ts.map +1 -0
  175. package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/styles/index.d.ts +59 -0
  176. package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/styles/index.d.ts.map +1 -0
  177. package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/QuestionnaireRadio.d.ts +53 -0
  178. package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/QuestionnaireRadio.d.ts.map +1 -0
  179. package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/styles/index.d.ts +123 -0
  180. package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/styles/index.d.ts.map +1 -0
  181. package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/QuestionnaireRating.d.ts +57 -0
  182. package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/QuestionnaireRating.d.ts.map +1 -0
  183. package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/styles/index.d.ts +74 -0
  184. package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/styles/index.d.ts.map +1 -0
  185. package/dist/src/components/Embed/Questionnaire/QuestionnaireSelect/QuestionnaireSelect.d.ts +42 -0
  186. package/dist/src/components/Embed/Questionnaire/QuestionnaireSelect/QuestionnaireSelect.d.ts.map +1 -0
  187. package/dist/src/components/Embed/Questionnaire/QuestionnaireSelect/styles/index.d.ts +12 -0
  188. package/dist/src/components/Embed/Questionnaire/QuestionnaireSelect/styles/index.d.ts.map +1 -0
  189. package/dist/src/components/Embed/Questionnaire/QuestionnaireSwitch/QuestionnaireSwitch.d.ts +25 -0
  190. package/dist/src/components/Embed/Questionnaire/QuestionnaireSwitch/QuestionnaireSwitch.d.ts.map +1 -0
  191. package/dist/src/components/Embed/Questionnaire/QuestionnaireSwitch/styles/index.d.ts +7 -0
  192. package/dist/src/components/Embed/Questionnaire/QuestionnaireSwitch/styles/index.d.ts.map +1 -0
  193. package/dist/src/components/Embed/Questionnaire/QuestionnaireTextarea/QuestionnaireTextarea.d.ts +44 -0
  194. package/dist/src/components/Embed/Questionnaire/QuestionnaireTextarea/QuestionnaireTextarea.d.ts.map +1 -0
  195. package/dist/src/components/Embed/Questionnaire/QuestionnaireTextarea/styles/index.d.ts +2 -0
  196. package/dist/src/components/Embed/Questionnaire/QuestionnaireTextarea/styles/index.d.ts.map +1 -0
  197. package/dist/src/components/Embed/Questionnaire/helpers/index.d.ts +3 -0
  198. package/dist/src/components/Embed/Questionnaire/helpers/index.d.ts.map +1 -0
  199. package/dist/src/components/Embed/Questionnaire/helpers/logic.d.ts +4 -0
  200. package/dist/src/components/Embed/Questionnaire/helpers/logic.d.ts.map +1 -0
  201. package/dist/src/components/Embed/components/EmbedHero/EmbedHero.d.ts +24 -0
  202. package/dist/src/components/Embed/components/EmbedHero/EmbedHero.d.ts.map +1 -0
  203. package/dist/src/components/Embed/components/EmbedHero/styles/index.d.ts +161 -0
  204. package/dist/src/components/Embed/components/EmbedHero/styles/index.d.ts.map +1 -0
  205. package/dist/src/components/Embed/helpers/markdown.d.ts +9 -0
  206. package/dist/src/components/Embed/helpers/markdown.d.ts.map +1 -0
  207. package/dist/src/components/Embed/styles/questionnaire.d.ts +193 -0
  208. package/dist/src/components/Embed/styles/questionnaire.d.ts.map +1 -0
  209. package/dist/src/components/Embed/types/index.d.ts +13 -0
  210. package/dist/src/components/Embed/types/index.d.ts.map +1 -0
  211. package/dist/src/components/EmbedContext.d.ts +3036 -0
  212. package/dist/src/components/EmbedContext.d.ts.map +1 -0
  213. package/dist/src/components/Form/Select/Select.d.ts +4 -0
  214. package/dist/src/components/Form/Select/Select.d.ts.map +1 -0
  215. package/dist/src/components/Form/Select/SelectView.d.ts +10 -0
  216. package/dist/src/components/Form/Select/SelectView.d.ts.map +1 -0
  217. package/dist/src/components/Form/Select/index.d.ts +3 -0
  218. package/dist/src/components/Form/Select/index.d.ts.map +1 -0
  219. package/dist/src/components/Form/Select/styles/index.d.ts +11 -0
  220. package/dist/src/components/Form/Select/styles/index.d.ts.map +1 -0
  221. package/dist/src/components/Form/styles/FormView.d.ts +338 -0
  222. package/dist/src/components/Form/styles/FormView.d.ts.map +1 -0
  223. package/dist/src/components/HtaConnector/types/index.d.ts +12 -7
  224. package/dist/src/components/HtaConnector/types/index.d.ts.map +1 -1
  225. package/dist/src/components/Icon/Icon.d.ts +235 -40
  226. package/dist/src/components/Icon/Icon.d.ts.map +1 -1
  227. package/dist/src/components/Icon/types/index.d.ts +3 -1
  228. package/dist/src/components/Icon/types/index.d.ts.map +1 -1
  229. package/dist/src/components/Queue/types/index.d.ts +40 -0
  230. package/dist/src/components/Queue/types/index.d.ts.map +1 -0
  231. package/dist/src/components/Send/types/index.d.ts +6 -2
  232. package/dist/src/components/Send/types/index.d.ts.map +1 -1
  233. package/dist/src/components/SendCannedMessages/types/index.d.ts +2 -1
  234. package/dist/src/components/SendCannedMessages/types/index.d.ts.map +1 -1
  235. package/dist/src/components/Switch/Switch.d.ts +5 -0
  236. package/dist/src/components/Switch/Switch.d.ts.map +1 -0
  237. package/dist/src/components/Switch/SwitchView.d.ts +5 -0
  238. package/dist/src/components/Switch/SwitchView.d.ts.map +1 -0
  239. package/dist/src/components/Switch/styles/SwitchView.d.ts +163 -0
  240. package/dist/src/components/Switch/styles/SwitchView.d.ts.map +1 -0
  241. package/dist/src/components/Switch/types/index.d.ts +10 -0
  242. package/dist/src/components/Switch/types/index.d.ts.map +1 -0
  243. package/dist/src/components/Table/cellComponents/index.d.ts +18 -0
  244. package/dist/src/components/Table/cellComponents/index.d.ts.map +1 -0
  245. package/dist/src/components/Table/styles/CellComponents.d.ts +31 -0
  246. package/dist/src/components/Table/styles/CellComponents.d.ts.map +1 -0
  247. package/dist/src/components/Toast/ToastView.d.ts.map +1 -1
  248. package/dist/src/components/User/User.d.ts +20 -0
  249. package/dist/src/components/User/User.d.ts.map +1 -0
  250. package/dist/src/components/User/UserView.d.ts +14 -0
  251. package/dist/src/components/User/UserView.d.ts.map +1 -0
  252. package/dist/src/components/User/index.d.ts +3 -0
  253. package/dist/src/components/User/index.d.ts.map +1 -0
  254. package/dist/src/components/User/styles/index.d.ts +23 -0
  255. package/dist/src/components/User/styles/index.d.ts.map +1 -0
  256. package/dist/src/components/User/types/types.d.ts +10 -0
  257. package/dist/src/components/User/types/types.d.ts.map +1 -0
  258. package/dist/src/embed/components/embedWrapper.d.ts +16 -0
  259. package/dist/src/embed/components/embedWrapper.d.ts.map +1 -0
  260. package/dist/src/embed/components/icons.d.ts +11 -0
  261. package/dist/src/embed/components/icons.d.ts.map +1 -0
  262. package/dist/src/embed/helpers/index.d.ts +2 -0
  263. package/dist/src/embed/helpers/index.d.ts.map +1 -0
  264. package/dist/src/embed/index.d.ts +20 -6
  265. package/dist/src/embed/index.d.ts.map +1 -1
  266. package/dist/src/embed/listeners/audience.d.ts +8 -0
  267. package/dist/src/embed/listeners/audience.d.ts.map +1 -0
  268. package/dist/src/embed/listeners/channel.d.ts +16 -0
  269. package/dist/src/embed/listeners/channel.d.ts.map +1 -0
  270. package/dist/src/embed/listeners/index.d.ts +9 -0
  271. package/dist/src/embed/listeners/index.d.ts.map +1 -0
  272. package/dist/src/embed/listeners/navigation.d.ts +4 -0
  273. package/dist/src/embed/listeners/navigation.d.ts.map +1 -0
  274. package/dist/src/embed/schemas/index.d.ts +23267 -515
  275. package/dist/src/embed/schemas/index.d.ts.map +1 -1
  276. package/dist/src/embed/styles/global.d.ts +3 -0
  277. package/dist/src/embed/styles/global.d.ts.map +1 -0
  278. package/dist/src/embed/styles/index.d.ts +44 -0
  279. package/dist/src/embed/styles/index.d.ts.map +1 -0
  280. package/dist/src/embed/styles/themeManager.d.ts +13 -0
  281. package/dist/src/embed/styles/themeManager.d.ts.map +1 -0
  282. package/dist/src/embed/types/events.d.ts +61 -5
  283. package/dist/src/embed/types/events.d.ts.map +1 -1
  284. package/dist/src/embed/types/index.d.ts +15 -2
  285. package/dist/src/embed/types/index.d.ts.map +1 -1
  286. package/dist/src/embed/types/responsive.d.ts +8 -0
  287. package/dist/src/embed/types/responsive.d.ts.map +1 -0
  288. package/dist/src/embed/types/routes.d.ts +22 -5
  289. package/dist/src/embed/types/routes.d.ts.map +1 -1
  290. package/dist/src/embed/types/state.d.ts +19 -0
  291. package/dist/src/embed/types/state.d.ts.map +1 -0
  292. package/dist/src/embed/utils/config/index.d.ts +3013 -0
  293. package/dist/src/embed/utils/config/index.d.ts.map +1 -0
  294. package/dist/src/embed/utils/event/index.d.ts +4 -0
  295. package/dist/src/embed/utils/event/index.d.ts.map +1 -0
  296. package/dist/src/embed/utils/index.d.ts +4 -0
  297. package/dist/src/embed/utils/index.d.ts.map +1 -0
  298. package/dist/src/embed/utils/metadata.d.ts +4 -0
  299. package/dist/src/embed/utils/metadata.d.ts.map +1 -0
  300. package/dist/src/hooks/index.d.ts +8 -0
  301. package/dist/src/hooks/index.d.ts.map +1 -0
  302. package/dist/src/hooks/ninchat/index.d.ts +39 -0
  303. package/dist/src/hooks/ninchat/index.d.ts.map +1 -0
  304. package/dist/src/hooks/ninchat/useRealm.d.ts +4 -0
  305. package/dist/src/hooks/ninchat/useRealm.d.ts.map +1 -0
  306. package/dist/src/hooks/ninchat/useRealms.d.ts +4 -0
  307. package/dist/src/hooks/ninchat/useRealms.d.ts.map +1 -0
  308. package/dist/src/hooks/state/index.d.ts +8 -0
  309. package/dist/src/hooks/state/index.d.ts.map +1 -0
  310. package/dist/src/hooks/visibilityObserver.d.ts +10 -0
  311. package/dist/src/hooks/visibilityObserver.d.ts.map +1 -0
  312. package/dist/src/middlewares/listener.d.ts +4 -4
  313. package/dist/src/middlewares/listener.d.ts.map +1 -1
  314. package/dist/src/middlewares/modal.d.ts +3 -0
  315. package/dist/src/middlewares/modal.d.ts.map +1 -0
  316. package/dist/src/middlewares/ninchat/batch.d.ts +1 -1
  317. package/dist/src/middlewares/ninchat/batch.d.ts.map +1 -1
  318. package/dist/src/middlewares/ninchat/sessionless.d.ts.map +1 -1
  319. package/dist/src/navigation/actions.d.ts +9 -8
  320. package/dist/src/navigation/actions.d.ts.map +1 -1
  321. package/dist/src/navigation/reducers.d.ts.map +1 -1
  322. package/dist/src/navigation/router.d.ts +1 -1
  323. package/dist/src/navigation/slice.d.ts +3 -1
  324. package/dist/src/navigation/slice.d.ts.map +1 -1
  325. package/dist/src/navigation/types.d.ts +28 -3
  326. package/dist/src/navigation/types.d.ts.map +1 -1
  327. package/dist/src/reducers/jitsi/index.d.ts +1 -1
  328. package/dist/src/reducers/jitsi/index.d.ts.map +1 -1
  329. package/dist/src/reducers/modal/index.d.ts +1 -1
  330. package/dist/src/reducers/modal/index.d.ts.map +1 -1
  331. package/dist/src/state/ui.d.ts +13 -1
  332. package/dist/src/state/ui.d.ts.map +1 -1
  333. package/dist/src/stitches/ThemeProvider/ThemeProvider.d.ts +21 -0
  334. package/dist/src/stitches/ThemeProvider/ThemeProvider.d.ts.map +1 -0
  335. package/dist/src/stitches/animations/index.d.ts +5 -0
  336. package/dist/src/stitches/animations/index.d.ts.map +1 -0
  337. package/dist/src/stitches/config.d.ts +5674 -1656
  338. package/dist/src/stitches/config.d.ts.map +1 -1
  339. package/dist/src/stitches/config.defaults.d.ts +828 -135
  340. package/dist/src/stitches/config.defaults.d.ts.map +1 -1
  341. package/dist/src/stitches/config.embed.d.ts +8 -0
  342. package/dist/src/stitches/config.embed.d.ts.map +1 -0
  343. package/dist/src/store/index.d.ts +1 -1
  344. package/dist/src/store/index.d.ts.map +1 -1
  345. package/dist/src/store/storage/engine.d.ts +1 -1
  346. package/dist/src/store/storage/index.d.ts +2 -0
  347. package/dist/src/store/storage/index.d.ts.map +1 -1
  348. package/dist/src/types/index.d.ts +5 -0
  349. package/dist/src/types/index.d.ts.map +1 -0
  350. package/dist/src/utils/channels/index.d.ts +10 -0
  351. package/dist/src/utils/channels/index.d.ts.map +1 -1
  352. package/dist/src/utils/datetime/index.d.ts +23 -0
  353. package/dist/src/utils/datetime/index.d.ts.map +1 -0
  354. package/dist/src/utils/email/index.d.ts +5 -0
  355. package/dist/src/utils/email/index.d.ts.map +1 -0
  356. package/dist/src/utils/props/index.d.ts +9 -0
  357. package/dist/src/utils/props/index.d.ts.map +1 -0
  358. package/dist/src/utils/realm/realm.d.ts +3 -0
  359. package/dist/src/utils/realm/realm.d.ts.map +1 -0
  360. package/dist/src/utils/schema/schema.d.ts +3 -0
  361. package/dist/src/utils/schema/schema.d.ts.map +1 -0
  362. package/dist/src/utils/strings/index.d.ts +7 -0
  363. package/dist/src/utils/strings/index.d.ts.map +1 -0
  364. package/package.json +22 -6
@@ -0,0 +1,5 @@
1
+ import { CheckboxProps } from './types';
2
+ import React from 'react';
3
+ declare const CheckboxView: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
4
+ export default CheckboxView;
5
+ //# sourceMappingURL=CheckboxView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Checkbox/CheckboxView.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AAErC,OAAO,KAAK,MAAM,OAAO,CAAA;AAezB,QAAA,MAAM,YAAY,wFAsChB,CAAA;AAMF,eAAe,YAAY,CAAA"}
@@ -0,0 +1,3 @@
1
+ import Checkbox from './Checkbox';
2
+ export default Checkbox;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,eAAe,QAAQ,CAAA"}
@@ -0,0 +1,80 @@
1
+ export declare const checkbox: {
2
+ '& input[type="checkbox"]': {
3
+ '& + svg': {
4
+ alignItems: string;
5
+ display: string;
6
+ justifyContent: string;
7
+ left: string;
8
+ marginTop: string;
9
+ pointerEvents: string;
10
+ position: string;
11
+ right: number;
12
+ top: string;
13
+ transform: string;
14
+ };
15
+ '&:checked': {
16
+ '& + svg': {
17
+ color: string;
18
+ display: string;
19
+ };
20
+ backgroundColor: string;
21
+ backgroundSize: string;
22
+ borderColor: string;
23
+ };
24
+ '&:disabled': {
25
+ '&:checked': {
26
+ '& + svg': {
27
+ color: string;
28
+ };
29
+ backgroundColor: string;
30
+ borderColor: string;
31
+ };
32
+ backgroundColor: string;
33
+ borderColor: string;
34
+ cursor: string;
35
+ opacity: number;
36
+ };
37
+ '&:focus-visible:not(:disabled)': {
38
+ '&:checked': {
39
+ '& + svg': {
40
+ color: string;
41
+ };
42
+ backgroundColor: string;
43
+ borderColor: string;
44
+ };
45
+ backgroundColor: string;
46
+ borderColor: string;
47
+ outline: string;
48
+ };
49
+ '&:hover:not(:disabled)': {
50
+ '&:checked': {
51
+ '& + svg': {
52
+ color: string;
53
+ };
54
+ backgroundColor: string;
55
+ borderColor: string;
56
+ };
57
+ backgroundColor: string;
58
+ borderColor: string;
59
+ };
60
+ WebkitAppearance: string;
61
+ appearance: string;
62
+ backgroundColor: string;
63
+ borderColor: string;
64
+ borderRadius: string;
65
+ borderStyle: string;
66
+ borderWidth: string;
67
+ cursor: string;
68
+ height: string;
69
+ margin: string;
70
+ outline: string;
71
+ width: string;
72
+ };
73
+ display: string;
74
+ marginBottom: string;
75
+ marginTop: string;
76
+ };
77
+ export declare const inputWrapper: {
78
+ position: string;
79
+ };
80
+ //# sourceMappingURL=CheckboxView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CheckboxView.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Checkbox/styles/CheckboxView.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsEpB,CAAA;AAED,eAAO,MAAM,YAAY;;CAAyB,CAAA"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export interface CheckboxProps extends React.ComponentPropsWithoutRef<'input'> {
3
+ description?: string;
4
+ disabled?: boolean;
5
+ id: string;
6
+ label?: string;
7
+ }
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Checkbox/types/index.ts"],"names":[],"mappings":";AAAA,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB"}
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ import { EmbedQueueRoute } from 'embed/types/routes';
3
+ export declare const coreName = "questionnaire";
4
+ export type FormState = Record<string, {
5
+ value: string | boolean | number;
6
+ readableName?: string;
7
+ groupName?: string;
8
+ type?: 'input' | 'textarea' | 'select' | 'checkbox' | 'radio' | 'switch' | 'rating';
9
+ }>;
10
+ export interface QuestionnaireParams {
11
+ queueId: string;
12
+ userName?: string;
13
+ message?: string;
14
+ metadata: EmbedQueueRoute['params']['metadata'];
15
+ rating?: number;
16
+ }
17
+ export interface QuestionnaireState {
18
+ buttonInteraction?: boolean;
19
+ currentStep?: number;
20
+ selectedQueueId?: string;
21
+ selectedMessage?: string;
22
+ selectedUsername?: string;
23
+ stepsHistory?: Array<number>;
24
+ formState?: FormState;
25
+ prevFormState?: FormState;
26
+ }
27
+ export interface EmbedQuestionnaireProps {
28
+ onQuestionnaireComplete: (params: QuestionnaireParams) => Promise<{
29
+ queueClosed?: boolean;
30
+ }>;
31
+ onQuestionnaireRegister?: (params: QuestionnaireParams) => Promise<any>;
32
+ saveQuestionnaireState: (state: QuestionnaireState) => void;
33
+ defaultQuestionnaireState: QuestionnaireState;
34
+ closeEmbed: (clearData?: boolean) => void;
35
+ resetEmbed: () => void;
36
+ backToChat?: () => void;
37
+ type?: 'postAudienceQuestionnaire' | 'preAudienceQuestionnaire';
38
+ }
39
+ export declare const EmbedQuestionnaire: {
40
+ (props: EmbedQuestionnaireProps): React.JSX.Element;
41
+ defaultProps: {
42
+ backToChat: undefined;
43
+ onQuestionnaireRegister: () => PromiseConstructor;
44
+ type: string;
45
+ };
46
+ };
47
+ //# sourceMappingURL=EmbedQuestionnaire.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbedQuestionnaire.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Embed/EmbedQuestionnaire.tsx"],"names":[],"mappings":"AAOA,OAAO,KAEN,MAAM,OAAO,CAAA;AAWd,OAAO,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAA;AA6BlD,eAAO,MAAM,QAAQ,kBAAkB,CAAA;AAEvC,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE;IACnC,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IAChC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAA;CACtF,CAAC,CAAA;AAEF,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAA;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,kBAAkB;IAC/B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,aAAa,CAAC,EAAE,SAAS,CAAA;CAC5B;AAED,MAAM,WAAW,uBAAuB;IACpC,uBAAuB,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,CAAA;KAAC,CAAC,CAAA;IAC1F,uBAAuB,CAAC,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,GAAG,CAAC,CAAA;IACvE,sBAAsB,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC3D,yBAAyB,EAAE,kBAAkB,CAAA;IAC7C,UAAU,EAAE,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;IACzC,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,IAAI,CAAC,EAAE,2BAA2B,GAAG,0BAA0B,CAAA;CAClE;AAiBD,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;;;;;CA6hChE,CAAA"}
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ export interface QuestionnaireButtonProps {
3
+ align?: 'right' | 'center' | 'left';
4
+ variant?: 'primary' | 'secondary' | 'tertiary';
5
+ hide?: boolean;
6
+ text?: string;
7
+ textAlign?: 'left' | 'right' | 'center';
8
+ maxWidth?: string;
9
+ margin?: string;
10
+ padding?: string;
11
+ inline?: boolean;
12
+ iconLeft?: {
13
+ src?: string;
14
+ svg?: string;
15
+ };
16
+ iconRight?: {
17
+ src?: string;
18
+ svg?: string;
19
+ };
20
+ href?: string;
21
+ onClick: () => void;
22
+ }
23
+ export declare const QuestionnaireButton: {
24
+ (props: QuestionnaireButtonProps): React.JSX.Element;
25
+ defaultProps: {
26
+ align: string;
27
+ hide: boolean;
28
+ href: string;
29
+ iconLeft: {};
30
+ iconRight: {};
31
+ inline: boolean;
32
+ margin: string;
33
+ maxWidth: string;
34
+ padding: string;
35
+ text: string;
36
+ textAlign: string;
37
+ variant: string;
38
+ };
39
+ };
40
+ //# sourceMappingURL=QuestionnaireButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionnaireButton.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireButton/QuestionnaireButton.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,MAAM,WAAW,wBAAwB;IACrC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAA;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE;QACP,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,SAAS,CAAC,EAAE;QACR,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,eAAO,MAAM,mBAAmB;YAAW,wBAAwB;;;;;;;;;;;;;;;CAoFlE,CAAA"}
@@ -0,0 +1,71 @@
1
+ export declare const buttonWrapper: {
2
+ display: string;
3
+ width: string;
4
+ margin: string;
5
+ justifyContent: string;
6
+ button: {
7
+ justifyContent: string;
8
+ width: string;
9
+ span: {
10
+ textAlign: string;
11
+ width: string;
12
+ };
13
+ };
14
+ variants: {
15
+ align: {
16
+ center: {
17
+ justifyContent: string;
18
+ '> div': {
19
+ width: string;
20
+ };
21
+ };
22
+ right: {
23
+ justifyContent: string;
24
+ '> div': {
25
+ width: string;
26
+ };
27
+ };
28
+ left: {
29
+ justifyContent: string;
30
+ '> div': {
31
+ width: string;
32
+ };
33
+ };
34
+ };
35
+ inline: {
36
+ true: {
37
+ display: string;
38
+ paddingRight: string;
39
+ width: string;
40
+ };
41
+ };
42
+ textAlign: {
43
+ center: {};
44
+ left: {
45
+ 'button > span': {
46
+ textAlign: string;
47
+ };
48
+ };
49
+ right: {
50
+ 'button > span': {
51
+ textAlign: string;
52
+ };
53
+ };
54
+ };
55
+ hide: {
56
+ true: {
57
+ display: string;
58
+ };
59
+ };
60
+ };
61
+ };
62
+ export declare const buttonInner: {
63
+ display: string;
64
+ maxWidth: string;
65
+ width: string;
66
+ };
67
+ export declare const buttonIcon: {
68
+ display: string;
69
+ alignItems: string;
70
+ };
71
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireButton/styles/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CzB,CAAA;AAED,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAED,eAAO,MAAM,UAAU;;;CAGtB,CAAA"}
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ export interface QuestionnaireCheckboxProps {
3
+ id: string;
4
+ errorId?: string;
5
+ name: string;
6
+ readableName?: string;
7
+ groupName?: string;
8
+ text?: string;
9
+ description?: string;
10
+ value?: boolean;
11
+ onChange: (params: {
12
+ name: string;
13
+ value: boolean;
14
+ readableName?: string;
15
+ groupName?: string;
16
+ }) => void;
17
+ }
18
+ export declare const QuestionnaireCheckbox: {
19
+ (props: QuestionnaireCheckboxProps): React.JSX.Element;
20
+ defaultProps: {
21
+ description: string;
22
+ errorId: string;
23
+ groupName: string;
24
+ readableName: string;
25
+ text: string;
26
+ value: boolean;
27
+ };
28
+ };
29
+ //# sourceMappingURL=QuestionnaireCheckbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionnaireCheckbox.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireCheckbox/QuestionnaireCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AAUtC,MAAM,WAAW,0BAA0B;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAC,KAAK,IAAI,CAAA;CACxG;AAED,eAAO,MAAM,qBAAqB;YAAW,0BAA0B;;;;;;;;;CAqCtE,CAAA"}
@@ -0,0 +1,7 @@
1
+ export declare const checkboxWrapper: {
2
+ '> div': {
3
+ margin: number;
4
+ padding: number;
5
+ };
6
+ };
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireCheckbox/styles/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;CAK3B,CAAA"}
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ export interface QuestionnaireInputProps {
3
+ id: string;
4
+ name: string;
5
+ readableName?: string;
6
+ groupName?: string;
7
+ label?: string;
8
+ labelDescription?: string;
9
+ placeholder?: string;
10
+ padding: string;
11
+ value: string;
12
+ forceValidation?: boolean;
13
+ invalid?: boolean;
14
+ invalidText?: string;
15
+ showCorrectState?: boolean;
16
+ required?: boolean;
17
+ onChange: (params: {
18
+ name: string;
19
+ value: string;
20
+ readableName?: string;
21
+ groupName?: string;
22
+ }) => void;
23
+ setInvalidFields: (name: string, invalid: boolean) => void;
24
+ }
25
+ export declare const QuestionnaireInput: {
26
+ (props: QuestionnaireInputProps): React.JSX.Element;
27
+ defaultProps: {
28
+ forceValidation: boolean;
29
+ groupName: string;
30
+ invalid: boolean;
31
+ invalidText: string;
32
+ label: string;
33
+ labelDescription: string;
34
+ placeholder: string;
35
+ readableName: string;
36
+ required: boolean;
37
+ showCorrectState: boolean;
38
+ };
39
+ };
40
+ //# sourceMappingURL=QuestionnaireInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionnaireInput.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireInput/QuestionnaireInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAA;AA2BtC,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAC,KAAK,IAAI,CAAA;IACpG,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CAC7D;AAED,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;;;;;;;;;;;;CAkDhE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const inputWrapper: {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireInput/styles/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,IAAK,CAAA"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export interface QuestionnaireLinkProps {
3
+ href?: string;
4
+ text?: string;
5
+ }
6
+ export declare const QuestionnaireLink: {
7
+ (props: QuestionnaireLinkProps): React.JSX.Element;
8
+ defaultProps: {
9
+ href: string;
10
+ text: string;
11
+ };
12
+ };
13
+ //# sourceMappingURL=QuestionnaireLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionnaireLink.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireLink/QuestionnaireLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,MAAM,WAAW,sBAAsB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,iBAAiB;YAAW,sBAAsB;;;;;CAwB9D,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const link: {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireLink/styles/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,IAAK,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { NinchatQuestionnaireElement } from 'embed/types';
2
+ import React from 'react';
3
+ export interface QuestionnaireNavigationProps {
4
+ elements: Array<NinchatQuestionnaireElement>;
5
+ parseElement: (element: NinchatQuestionnaireElement) => React.ReactElement | null;
6
+ }
7
+ export declare const QuestionnaireNavigation: (props: QuestionnaireNavigationProps) => React.JSX.Element;
8
+ //# sourceMappingURL=QuestionnaireNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionnaireNavigation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireNavigation/QuestionnaireNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,aAAa,CAAA;AAEvD,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,MAAM,WAAW,4BAA4B;IACzC,QAAQ,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAA;IAC5C,YAAY,EAAE,CAAC,OAAO,EAAE,2BAA2B,KAAK,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;CACpF;AAED,eAAO,MAAM,uBAAuB,UAAW,4BAA4B,sBAW1E,CAAA"}
@@ -0,0 +1,16 @@
1
+ export declare const navigationWrapper: {
2
+ alignItems: string;
3
+ backgroundColor: string;
4
+ display: string;
5
+ flexWrap: string;
6
+ justifyContent: string;
7
+ padding: string;
8
+ variants: {
9
+ isSingle: {
10
+ true: {
11
+ justifyContent: string;
12
+ };
13
+ };
14
+ };
15
+ };
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireNavigation/styles/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;CAQ7B,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { FormState } from 'components/Embed/EmbedQuestionnaire';
2
+ import React from 'react';
3
+ export interface QuestionnaireQueueButtonProps {
4
+ align?: 'right' | 'center' | 'left';
5
+ target: string;
6
+ text: string;
7
+ queue_id: string;
8
+ maxWidth?: string;
9
+ textAlign?: 'left' | 'right' | 'center';
10
+ inline?: boolean;
11
+ padding?: string;
12
+ text_closed?: string;
13
+ questionnaireValues: Record<string, string>;
14
+ formState: FormState;
15
+ onClick: (queue_id: string, target: string) => void;
16
+ }
17
+ export declare const QuestionnaireQueueButton: {
18
+ (props: QuestionnaireQueueButtonProps): React.JSX.Element;
19
+ defaultProps: {
20
+ align: null;
21
+ inline: boolean;
22
+ maxWidth: undefined;
23
+ padding: undefined;
24
+ textAlign: string;
25
+ text_closed: string;
26
+ };
27
+ };
28
+ //# sourceMappingURL=QuestionnaireQueueButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionnaireQueueButton.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireQueueButton/QuestionnaireQueueButton.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAC,SAAS,EAAC,MAAM,qCAAqC,CAAA;AAC7D,OAAO,KAAK,MAAM,OAAO,CAAA;AASzB,MAAM,WAAW,6BAA6B;IAC1C,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IACnC,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAA;IACvC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC3C,SAAS,EAAE,SAAS,CAAA;IACpB,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CACtD;AAED,eAAO,MAAM,wBAAwB;YAAW,6BAA6B;;;;;;;;;CAmD5E,CAAA"}
@@ -0,0 +1,59 @@
1
+ export declare const queueButton: {
2
+ display: string;
3
+ width: string;
4
+ justifyContent: string;
5
+ button: {
6
+ justifyContent: string;
7
+ width: string;
8
+ span: {
9
+ textAlign: string;
10
+ width: string;
11
+ };
12
+ };
13
+ variants: {
14
+ align: {
15
+ center: {
16
+ justifyContent: string;
17
+ '> div': {
18
+ width: string;
19
+ };
20
+ };
21
+ right: {
22
+ justifyContent: string;
23
+ '> div': {
24
+ width: string;
25
+ };
26
+ };
27
+ left: {
28
+ justifyContent: string;
29
+ '> div': {
30
+ width: string;
31
+ };
32
+ };
33
+ };
34
+ inline: {
35
+ true: {
36
+ display: string;
37
+ paddingRight: string;
38
+ width: string;
39
+ };
40
+ };
41
+ textAlign: {
42
+ center: {};
43
+ left: {
44
+ 'button > span': {
45
+ textAlign: string;
46
+ };
47
+ };
48
+ right: {
49
+ 'button > span': {
50
+ textAlign: string;
51
+ };
52
+ };
53
+ };
54
+ };
55
+ };
56
+ export declare const queueButtonInner: {
57
+ width: string;
58
+ };
59
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireQueueButton/styles/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCvB,CAAA;AAED,eAAO,MAAM,gBAAgB;;CAAkB,CAAA"}
@@ -0,0 +1,53 @@
1
+ import React from 'react';
2
+ export interface QuestionnaireRadioProps {
3
+ align?: 'right' | 'center' | 'left';
4
+ textAlign?: 'left' | 'right' | 'center';
5
+ id: string;
6
+ hide?: boolean;
7
+ text?: string;
8
+ name: string;
9
+ readableName?: string;
10
+ groupName?: string;
11
+ maxWidth?: string;
12
+ margin?: string;
13
+ padding?: string;
14
+ value: string;
15
+ checked?: boolean;
16
+ inline?: boolean;
17
+ errorId?: string;
18
+ iconLeft?: {
19
+ src?: string;
20
+ svg?: string;
21
+ };
22
+ iconRight?: {
23
+ src?: string;
24
+ svg?: string;
25
+ };
26
+ onClick: () => void;
27
+ onChange: (params: {
28
+ name: string;
29
+ value: boolean | string;
30
+ readableName?: string;
31
+ groupName?: string;
32
+ }) => void;
33
+ }
34
+ export declare const QuestionnaireRadio: {
35
+ (props: QuestionnaireRadioProps): React.JSX.Element;
36
+ defaultProps: {
37
+ errorId: string;
38
+ align: string;
39
+ textAlign: string;
40
+ checked: boolean;
41
+ groupName: string;
42
+ iconLeft: {};
43
+ iconRight: {};
44
+ hide: boolean;
45
+ inline: boolean;
46
+ maxWidth: string;
47
+ padding: string;
48
+ margin: string;
49
+ readableName: string;
50
+ text: string;
51
+ };
52
+ };
53
+ //# sourceMappingURL=QuestionnaireRadio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuestionnaireRadio.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Embed/Questionnaire/QuestionnaireRadio/QuestionnaireRadio.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,MAAM,WAAW,uBAAuB;IACpC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAA;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE;QACP,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,SAAS,CAAC,EAAE;QACR,GAAG,CAAC,EAAE,MAAM,CAAA;QACZ,GAAG,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CAClH;AAED,eAAO,MAAM,kBAAkB;YAAW,uBAAuB;;;;;;;;;;;;;;;;;CAqFhE,CAAA"}