cozy-ui-plus 1.1.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 (670) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/LICENSE +21 -0
  3. package/README.md +1 -0
  4. package/babel.config.js +24 -0
  5. package/dist/AppIcon/index.js +265 -0
  6. package/dist/AppLinker/index.js +159 -0
  7. package/dist/AppLinker/native.config.js +8 -0
  8. package/dist/AppLinker/native.js +81 -0
  9. package/dist/AppSections/Sections.js +461 -0
  10. package/dist/AppSections/_mockApps.js +210 -0
  11. package/dist/AppSections/_testApps.js +162 -0
  12. package/dist/AppSections/categories.js +183 -0
  13. package/dist/AppSections/components/AppsSection.js +112 -0
  14. package/dist/AppSections/components/DropdownFilter.js +101 -0
  15. package/dist/AppSections/constants.js +16 -0
  16. package/dist/AppSections/generateI18nConfig.js +37 -0
  17. package/dist/AppSections/helpers.js +28 -0
  18. package/dist/AppSections/index.js +24 -0
  19. package/dist/AppSections/search.js +161 -0
  20. package/dist/AppTile/helpers.js +41 -0
  21. package/dist/AppTile/index.js +171 -0
  22. package/dist/CipherIcon/index.js +102 -0
  23. package/dist/CollectionField/index.js +166 -0
  24. package/dist/ContactPicker/index.js +129 -0
  25. package/dist/Contacts/AddModal/ContactAddressDialog/helpers.js +31 -0
  26. package/dist/Contacts/AddModal/ContactAddressDialog/index.js +106 -0
  27. package/dist/Contacts/AddModal/ContactAddressDialog/locales/index.js +113 -0
  28. package/dist/Contacts/AddModal/ContactForm/FieldInput.js +164 -0
  29. package/dist/Contacts/AddModal/ContactForm/FieldInputAccordion.js +91 -0
  30. package/dist/Contacts/AddModal/ContactForm/FieldInputArray.js +105 -0
  31. package/dist/Contacts/AddModal/ContactForm/FieldInputLayout.js +98 -0
  32. package/dist/Contacts/AddModal/ContactForm/FieldInputWrapper.js +51 -0
  33. package/dist/Contacts/AddModal/ContactForm/HasValueCondition.js +44 -0
  34. package/dist/Contacts/AddModal/ContactForm/RelatedContactList.js +55 -0
  35. package/dist/Contacts/AddModal/ContactForm/TextFieldCustomLabelSelect.js +104 -0
  36. package/dist/Contacts/AddModal/ContactForm/TextFieldSelect.js +59 -0
  37. package/dist/Contacts/AddModal/ContactForm/contactToFormValues.js +119 -0
  38. package/dist/Contacts/AddModal/ContactForm/fieldsConfig.js +314 -0
  39. package/dist/Contacts/AddModal/ContactForm/formValuesToContact.js +110 -0
  40. package/dist/Contacts/AddModal/ContactForm/helpers.js +466 -0
  41. package/dist/Contacts/AddModal/ContactForm/index.js +184 -0
  42. package/dist/Contacts/AddModal/ContactForm/locales/index.js +313 -0
  43. package/dist/Contacts/AddModal/CustomLabelDialog/index.js +138 -0
  44. package/dist/Contacts/AddModal/CustomLabelDialog/locales/index.js +73 -0
  45. package/dist/Contacts/AddModal/index.js +134 -0
  46. package/dist/Contacts/AddModal/locales/index.js +65 -0
  47. package/dist/Contacts/AddModal/mocks.js +265 -0
  48. package/dist/Contacts/AddModal/types.js +110 -0
  49. package/dist/Contacts/GroupsSelect/GroupCreation.js +157 -0
  50. package/dist/Contacts/GroupsSelect/GroupsSelect.js +207 -0
  51. package/dist/Contacts/GroupsSelect/GroupsSelectProvider.js +60 -0
  52. package/dist/Contacts/GroupsSelect/SelectBox/Control.js +54 -0
  53. package/dist/Contacts/GroupsSelect/SelectBox/EditGroupName.js +89 -0
  54. package/dist/Contacts/GroupsSelect/SelectBox/Menu.js +49 -0
  55. package/dist/Contacts/GroupsSelect/SelectBox/Option.js +80 -0
  56. package/dist/Contacts/GroupsSelect/SelectBox/SelectContainer.js +25 -0
  57. package/dist/Contacts/GroupsSelect/helpers.js +45 -0
  58. package/dist/Contacts/GroupsSelect/locales/index.js +97 -0
  59. package/dist/Contacts/GroupsSelect/useGroupSelect.js +196 -0
  60. package/dist/Contacts/Header/GroupsSelection.js +101 -0
  61. package/dist/Contacts/Header/ImportDropdown.js +115 -0
  62. package/dist/Contacts/Header/SearchInput.js +40 -0
  63. package/dist/Contacts/Header/index.js +93 -0
  64. package/dist/Contacts/Header/locales/index.js +73 -0
  65. package/dist/ContactsList/ContactCell.js +45 -0
  66. package/dist/ContactsList/ContactRow.js +84 -0
  67. package/dist/ContactsList/Contacts/ContactCozy.js +44 -0
  68. package/dist/ContactsList/Contacts/ContactEmail.js +44 -0
  69. package/dist/ContactsList/Contacts/ContactIdentity.js +86 -0
  70. package/dist/ContactsList/Contacts/ContactName.js +48 -0
  71. package/dist/ContactsList/Contacts/ContactPhone.js +44 -0
  72. package/dist/ContactsList/ContactsList.js +74 -0
  73. package/dist/ContactsList/helpers.js +156 -0
  74. package/dist/ContactsList/index.js +13 -0
  75. package/dist/ContactsList/locales/withContactsListLocales.js +42 -0
  76. package/dist/ContactsListModal/AddContact/AddContactActions.js +32 -0
  77. package/dist/ContactsListModal/AddContact/AddContactContent.js +85 -0
  78. package/dist/ContactsListModal/AddContact/AddContactDialog.js +63 -0
  79. package/dist/ContactsListModal/AddContact/AddContactTitle.js +21 -0
  80. package/dist/ContactsListModal/AddContact/helpers.js +61 -0
  81. package/dist/ContactsListModal/ContactsListContent.js +88 -0
  82. package/dist/ContactsListModal/ContactsListModal.js +178 -0
  83. package/dist/ContactsListModal/ContactsListModalWithQuery.js +44 -0
  84. package/dist/ContactsListModal/EmptyMessage.js +33 -0
  85. package/dist/ContactsListModal/MobileHeader.js +67 -0
  86. package/dist/ContactsListModal/index.js +58 -0
  87. package/dist/ContactsListModal/mockClient.js +2009 -0
  88. package/dist/ContactsListModal/queries.js +26 -0
  89. package/dist/ContactsListModal/withContactsListLocales.js +40 -0
  90. package/dist/Dialogs/AuthenticationDialogs/index.js +139 -0
  91. package/dist/Field/index.js +297 -0
  92. package/dist/FileImageLoader/checkImageSource.js +61 -0
  93. package/dist/FileImageLoader/index.js +394 -0
  94. package/dist/FilePicker/FilePickerBody.js +108 -0
  95. package/dist/FilePicker/FilePickerBodyItem.js +132 -0
  96. package/dist/FilePicker/FilePickerBreadcrumb.js +74 -0
  97. package/dist/FilePicker/FilePickerFooter.js +91 -0
  98. package/dist/FilePicker/FilePickerHeader.js +110 -0
  99. package/dist/FilePicker/docs/DemoProvider.js +280 -0
  100. package/dist/FilePicker/helpers.js +57 -0
  101. package/dist/FilePicker/index.js +125 -0
  102. package/dist/FilePicker/queries.js +61 -0
  103. package/dist/Intent/IntentDialogOpener/index.js +142 -0
  104. package/dist/Intent/IntentIframe/index.js +182 -0
  105. package/dist/ListItem/ExpandedAttributes/ExpandedAttribute.js +64 -0
  106. package/dist/ListItem/ExpandedAttributes/helpers.js +263 -0
  107. package/dist/ListItem/ExpandedAttributes/index.js +90 -0
  108. package/dist/ListItem/ListItemBase/Renaming/RenameDialog.js +52 -0
  109. package/dist/ListItem/ListItemBase/Renaming/RenameInput.js +319 -0
  110. package/dist/ListItem/ListItemBase/Renaming/helpers.js +73 -0
  111. package/dist/ListItem/ListItemBase/index.js +153 -0
  112. package/dist/ListItem/ListItemByDoc/index.js +109 -0
  113. package/dist/ListItem/ListItemContact/helpers.js +39 -0
  114. package/dist/ListItem/ListItemContact/index.js +87 -0
  115. package/dist/ListItem/ListItemContact/useActions.js +28 -0
  116. package/dist/ListItem/ListItemFile/ExpirationAnnotation.js +54 -0
  117. package/dist/ListItem/ListItemFile/ItemIcon.js +61 -0
  118. package/dist/ListItem/ListItemFile/PrimaryText.js +47 -0
  119. package/dist/ListItem/ListItemFile/SecondaryText.js +41 -0
  120. package/dist/ListItem/ListItemFile/index.js +96 -0
  121. package/dist/ListItem/hoc/withListItemLocales.js +322 -0
  122. package/dist/Paywall/MaxAccountsByKonnectorPaywall.js +48 -0
  123. package/dist/Paywall/MaxAccountsPaywall.js +43 -0
  124. package/dist/Paywall/MaxDaysToCapturePaywall.js +43 -0
  125. package/dist/Paywall/MaxPapersPaywall.js +44 -0
  126. package/dist/Paywall/OnlyOfficePaywall.js +41 -0
  127. package/dist/Paywall/PasswordSharingPaywall.js +34 -0
  128. package/dist/Paywall/Paywall.js +205 -0
  129. package/dist/Paywall/QuotaPaywall.js +32 -0
  130. package/dist/Paywall/helpers.js +31 -0
  131. package/dist/Paywall/index.js +63 -0
  132. package/dist/Paywall/locales/withPaywallLocales.js +401 -0
  133. package/dist/Qualification/QualificationGrid/helpers.js +16 -0
  134. package/dist/Qualification/QualificationGrid/index.js +136 -0
  135. package/dist/Qualification/QualificationGrid/locales/withLocales.js +82 -0
  136. package/dist/Qualification/QualificationIcon/index.js +156 -0
  137. package/dist/Qualification/QualificationItem/index.js +87 -0
  138. package/dist/Qualification/QualificationModal/helpers.js +95 -0
  139. package/dist/Qualification/QualificationModal/index.js +121 -0
  140. package/dist/Qualification/QualificationModal/locales/index.js +37 -0
  141. package/dist/ShortcutTile/index.js +68 -0
  142. package/dist/SquareAppIcon/index.js +262 -0
  143. package/dist/Storage/StorageButton.js +54 -0
  144. package/dist/Storage/StorageProgress.js +68 -0
  145. package/dist/Storage/index.js +49 -0
  146. package/dist/Storage/locales/index.js +41 -0
  147. package/dist/UploadQueue/FileUploadProgress.js +86 -0
  148. package/dist/UploadQueue/Item.js +132 -0
  149. package/dist/UploadQueue/Pending.js +23 -0
  150. package/dist/UploadQueue/RemainingTime.js +59 -0
  151. package/dist/UploadQueue/helpers.js +13 -0
  152. package/dist/UploadQueue/index.js +277 -0
  153. package/dist/UploadQueue/useStatusIcon.js +60 -0
  154. package/dist/hooks/useClientErrors.js +185 -0
  155. package/dist/proptypes.js +33 -0
  156. package/dist/providers/CozyTheme/CozyThemeWithQuery.js +41 -0
  157. package/dist/providers/CozyTheme/index.js +58 -0
  158. package/dist/providers/CozyTheme/queries.js +25 -0
  159. package/dist/providers/DemoProvider.js +49 -0
  160. package/dist/providers/Intent/index.js +130 -0
  161. package/dist/src/AppIcon/index.d.ts +50 -0
  162. package/dist/src/AppIcon/index.spec.d.ts +1 -0
  163. package/dist/src/AppLinker/index.d.ts +35 -0
  164. package/dist/src/AppLinker/index.spec.d.ts +1 -0
  165. package/dist/src/AppLinker/native.config.d.ts +1 -0
  166. package/dist/src/AppLinker/native.d.ts +6 -0
  167. package/dist/src/AppLinker/native.spec.d.ts +1 -0
  168. package/dist/src/AppSections/Sections.d.ts +49 -0
  169. package/dist/src/AppSections/_mockApps.d.ts +242 -0
  170. package/dist/src/AppSections/_testApps.d.ts +203 -0
  171. package/dist/src/AppSections/categories.d.ts +7 -0
  172. package/dist/src/AppSections/categories.spec.d.ts +1 -0
  173. package/dist/src/AppSections/components/AppsSection.d.ts +20 -0
  174. package/dist/src/AppSections/components/AppsSection.spec.d.ts +1 -0
  175. package/dist/src/AppSections/components/DropdownFilter.d.ts +17 -0
  176. package/dist/src/AppSections/constants.d.ts +8 -0
  177. package/dist/src/AppSections/generateI18nConfig.d.ts +4 -0
  178. package/dist/src/AppSections/helpers.d.ts +2 -0
  179. package/dist/src/AppSections/helpers.spec.d.ts +1 -0
  180. package/dist/src/AppSections/index.d.ts +3 -0
  181. package/dist/src/AppSections/index.spec.d.ts +1 -0
  182. package/dist/src/AppSections/search.d.ts +3 -0
  183. package/dist/src/AppSections/search.spec.d.ts +1 -0
  184. package/dist/src/AppTile/AppTile.spec.d.ts +1 -0
  185. package/dist/src/AppTile/helpers.d.ts +9 -0
  186. package/dist/src/AppTile/index.d.ts +33 -0
  187. package/dist/src/CipherIcon/index.d.ts +2 -0
  188. package/dist/src/CipherIcon/index.spec.d.ts +1 -0
  189. package/dist/src/CollectionField/index.d.ts +23 -0
  190. package/dist/src/ContactPicker/index.d.ts +21 -0
  191. package/dist/src/Contacts/AddModal/ContactAddressDialog/helpers.d.ts +4 -0
  192. package/dist/src/Contacts/AddModal/ContactAddressDialog/helpers.spec.d.ts +1 -0
  193. package/dist/src/Contacts/AddModal/ContactAddressDialog/index.d.ts +39 -0
  194. package/dist/src/Contacts/AddModal/ContactAddressDialog/locales/index.d.ts +10 -0
  195. package/dist/src/Contacts/AddModal/ContactForm/FieldInput.d.ts +39 -0
  196. package/dist/src/Contacts/AddModal/ContactForm/FieldInputAccordion.d.ts +12 -0
  197. package/dist/src/Contacts/AddModal/ContactForm/FieldInputArray.d.ts +14 -0
  198. package/dist/src/Contacts/AddModal/ContactForm/FieldInputLayout.d.ts +22 -0
  199. package/dist/src/Contacts/AddModal/ContactForm/FieldInputWrapper.d.ts +19 -0
  200. package/dist/src/Contacts/AddModal/ContactForm/HasValueCondition.d.ts +18 -0
  201. package/dist/src/Contacts/AddModal/ContactForm/HasValueCondition.spec.d.ts +1 -0
  202. package/dist/src/Contacts/AddModal/ContactForm/RelatedContactList.d.ts +15 -0
  203. package/dist/src/Contacts/AddModal/ContactForm/TextFieldCustomLabelSelect.d.ts +9 -0
  204. package/dist/src/Contacts/AddModal/ContactForm/TextFieldSelect.d.ts +5 -0
  205. package/dist/src/Contacts/AddModal/ContactForm/contactToFormValues.d.ts +6 -0
  206. package/dist/src/Contacts/AddModal/ContactForm/contactToFormValues.spec.d.ts +1 -0
  207. package/dist/src/Contacts/AddModal/ContactForm/fieldsConfig.d.ts +4 -0
  208. package/dist/src/Contacts/AddModal/ContactForm/formValuesToContact.d.ts +7 -0
  209. package/dist/src/Contacts/AddModal/ContactForm/formValuesToContact.spec.d.ts +1 -0
  210. package/dist/src/Contacts/AddModal/ContactForm/helpers.d.ts +35 -0
  211. package/dist/src/Contacts/AddModal/ContactForm/helpers.spec.d.ts +1 -0
  212. package/dist/src/Contacts/AddModal/ContactForm/index.d.ts +17 -0
  213. package/dist/src/Contacts/AddModal/ContactForm/index.spec.d.ts +1 -0
  214. package/dist/src/Contacts/AddModal/ContactForm/locales/index.d.ts +10 -0
  215. package/dist/src/Contacts/AddModal/CustomLabelDialog/index.d.ts +22 -0
  216. package/dist/src/Contacts/AddModal/CustomLabelDialog/locales/index.d.ts +10 -0
  217. package/dist/src/Contacts/AddModal/index.d.ts +8 -0
  218. package/dist/src/Contacts/AddModal/locales/index.d.ts +10 -0
  219. package/dist/src/Contacts/AddModal/mocks.d.ts +276 -0
  220. package/dist/src/Contacts/AddModal/types.d.ts +188 -0
  221. package/dist/src/Contacts/GroupsSelect/GroupCreation.d.ts +3 -0
  222. package/dist/src/Contacts/GroupsSelect/GroupsSelect.d.ts +56 -0
  223. package/dist/src/Contacts/GroupsSelect/GroupsSelect.spec.d.ts +22 -0
  224. package/dist/src/Contacts/GroupsSelect/GroupsSelectProvider.d.ts +5 -0
  225. package/dist/src/Contacts/GroupsSelect/SelectBox/Control.d.ts +14 -0
  226. package/dist/src/Contacts/GroupsSelect/SelectBox/EditGroupName.d.ts +7 -0
  227. package/dist/src/Contacts/GroupsSelect/SelectBox/Menu.d.ts +7 -0
  228. package/dist/src/Contacts/GroupsSelect/SelectBox/Option.d.ts +18 -0
  229. package/dist/src/Contacts/GroupsSelect/SelectBox/SelectContainer.d.ts +2 -0
  230. package/dist/src/Contacts/GroupsSelect/helpers.d.ts +9 -0
  231. package/dist/src/Contacts/GroupsSelect/locales/index.d.ts +10 -0
  232. package/dist/src/Contacts/GroupsSelect/useGroupSelect.d.ts +11 -0
  233. package/dist/src/Contacts/Header/GroupsSelection.d.ts +7 -0
  234. package/dist/src/Contacts/Header/ImportDropdown.d.ts +4 -0
  235. package/dist/src/Contacts/Header/SearchInput.d.ts +4 -0
  236. package/dist/src/Contacts/Header/index.d.ts +26 -0
  237. package/dist/src/Contacts/Header/locales/index.d.ts +10 -0
  238. package/dist/src/ContactsList/ContactCell.d.ts +8 -0
  239. package/dist/src/ContactsList/ContactRow.d.ts +16 -0
  240. package/dist/src/ContactsList/ContactRow.spec.d.ts +1 -0
  241. package/dist/src/ContactsList/Contacts/ContactCozy.d.ts +14 -0
  242. package/dist/src/ContactsList/Contacts/ContactEmail.d.ts +14 -0
  243. package/dist/src/ContactsList/Contacts/ContactIdentity.d.ts +10 -0
  244. package/dist/src/ContactsList/Contacts/ContactName.d.ts +10 -0
  245. package/dist/src/ContactsList/Contacts/ContactPhone.d.ts +14 -0
  246. package/dist/src/ContactsList/ContactsList.d.ts +2 -0
  247. package/dist/src/ContactsList/helpers.d.ts +9 -0
  248. package/dist/src/ContactsList/helpers.spec.d.ts +1 -0
  249. package/dist/src/ContactsList/index.d.ts +2 -0
  250. package/dist/src/ContactsList/locales/withContactsListLocales.d.ts +12 -0
  251. package/dist/src/ContactsListModal/AddContact/AddContactActions.d.ts +2 -0
  252. package/dist/src/ContactsListModal/AddContact/AddContactContent.d.ts +2 -0
  253. package/dist/src/ContactsListModal/AddContact/AddContactDialog.d.ts +6 -0
  254. package/dist/src/ContactsListModal/AddContact/AddContactTitle.d.ts +2 -0
  255. package/dist/src/ContactsListModal/AddContact/helpers.d.ts +6 -0
  256. package/dist/src/ContactsListModal/AddContact/helpers.spec.d.ts +1 -0
  257. package/dist/src/ContactsListModal/ContactsListContent.d.ts +2 -0
  258. package/dist/src/ContactsListModal/ContactsListModal.d.ts +20 -0
  259. package/dist/src/ContactsListModal/ContactsListModalWithQuery.d.ts +12 -0
  260. package/dist/src/ContactsListModal/EmptyMessage.d.ts +2 -0
  261. package/dist/src/ContactsListModal/MobileHeader.d.ts +16 -0
  262. package/dist/src/ContactsListModal/index.d.ts +2 -0
  263. package/dist/src/ContactsListModal/mockClient.d.ts +3 -0
  264. package/dist/src/ContactsListModal/queries.d.ts +7 -0
  265. package/dist/src/ContactsListModal/withContactsListLocales.d.ts +7 -0
  266. package/dist/src/Dialogs/AuthenticationDialogs/index.d.ts +2 -0
  267. package/dist/src/Field/index.d.ts +53 -0
  268. package/dist/src/Field/index.spec.d.ts +1 -0
  269. package/dist/src/FileImageLoader/checkImageSource.d.ts +1 -0
  270. package/dist/src/FileImageLoader/index.d.ts +45 -0
  271. package/dist/src/FileImageLoader/index.spec.d.ts +1 -0
  272. package/dist/src/FilePicker/FilePickerBody.d.ts +19 -0
  273. package/dist/src/FilePicker/FilePickerBodyItem.d.ts +22 -0
  274. package/dist/src/FilePicker/FilePickerBodyItem.spec.d.ts +1 -0
  275. package/dist/src/FilePicker/FilePickerBreadcrumb.d.ts +13 -0
  276. package/dist/src/FilePicker/FilePickerFooter.d.ts +15 -0
  277. package/dist/src/FilePicker/FilePickerFooter.spec.d.ts +1 -0
  278. package/dist/src/FilePicker/FilePickerHeader.d.ts +14 -0
  279. package/dist/src/FilePicker/docs/DemoProvider.d.ts +23 -0
  280. package/dist/src/FilePicker/helpers.d.ts +3 -0
  281. package/dist/src/FilePicker/helpers.spec.d.ts +1 -0
  282. package/dist/src/FilePicker/index.d.ts +22 -0
  283. package/dist/src/FilePicker/queries.d.ts +14 -0
  284. package/dist/src/Intent/IntentDialogOpener/index.d.ts +32 -0
  285. package/dist/src/Intent/IntentIframe/index.d.ts +8 -0
  286. package/dist/src/ListItem/ExpandedAttributes/ExpandedAttribute.d.ts +14 -0
  287. package/dist/src/ListItem/ExpandedAttributes/helpers.d.ts +43 -0
  288. package/dist/src/ListItem/ExpandedAttributes/helpers.spec.d.ts +1 -0
  289. package/dist/src/ListItem/ExpandedAttributes/index.d.ts +2 -0
  290. package/dist/src/ListItem/ListItemBase/Renaming/RenameDialog.d.ts +2 -0
  291. package/dist/src/ListItem/ListItemBase/Renaming/RenameInput.d.ts +12 -0
  292. package/dist/src/ListItem/ListItemBase/Renaming/helpers.d.ts +1 -0
  293. package/dist/src/ListItem/ListItemBase/index.d.ts +2 -0
  294. package/dist/src/ListItem/ListItemByDoc/index.d.ts +46 -0
  295. package/dist/src/ListItem/ListItemContact/helpers.d.ts +1 -0
  296. package/dist/src/ListItem/ListItemContact/helpers.spec.d.ts +1 -0
  297. package/dist/src/ListItem/ListItemContact/index.d.ts +35 -0
  298. package/dist/src/ListItem/ListItemContact/useActions.d.ts +2 -0
  299. package/dist/src/ListItem/ListItemFile/ExpirationAnnotation.d.ts +2 -0
  300. package/dist/src/ListItem/ListItemFile/ItemIcon.d.ts +12 -0
  301. package/dist/src/ListItem/ListItemFile/PrimaryText.d.ts +12 -0
  302. package/dist/src/ListItem/ListItemFile/SecondaryText.d.ts +12 -0
  303. package/dist/src/ListItem/ListItemFile/index.d.ts +37 -0
  304. package/dist/src/ListItem/hoc/withListItemLocales.d.ts +12 -0
  305. package/dist/src/Paywall/MaxAccountsByKonnectorPaywall.d.ts +2 -0
  306. package/dist/src/Paywall/MaxAccountsPaywall.d.ts +2 -0
  307. package/dist/src/Paywall/MaxDaysToCapturePaywall.d.ts +2 -0
  308. package/dist/src/Paywall/MaxPapersPaywall.d.ts +2 -0
  309. package/dist/src/Paywall/OnlyOfficePaywall.d.ts +16 -0
  310. package/dist/src/Paywall/PasswordSharingPaywall.d.ts +10 -0
  311. package/dist/src/Paywall/Paywall.d.ts +2 -0
  312. package/dist/src/Paywall/Paywall.spec.d.ts +1 -0
  313. package/dist/src/Paywall/QuotaPaywall.d.ts +13 -0
  314. package/dist/src/Paywall/helpers.d.ts +1 -0
  315. package/dist/src/Paywall/index.d.ts +7 -0
  316. package/dist/src/Paywall/locales/withPaywallLocales.d.ts +2 -0
  317. package/dist/src/Qualification/QualificationGrid/helpers.d.ts +1 -0
  318. package/dist/src/Qualification/QualificationGrid/index.d.ts +2 -0
  319. package/dist/src/Qualification/QualificationGrid/locales/withLocales.d.ts +12 -0
  320. package/dist/src/Qualification/QualificationIcon/index.d.ts +13 -0
  321. package/dist/src/Qualification/QualificationItem/index.d.ts +17 -0
  322. package/dist/src/Qualification/QualificationModal/helpers.d.ts +14 -0
  323. package/dist/src/Qualification/QualificationModal/helpers.spec.d.ts +1 -0
  324. package/dist/src/Qualification/QualificationModal/index.d.ts +16 -0
  325. package/dist/src/Qualification/QualificationModal/locales/index.d.ts +10 -0
  326. package/dist/src/ShortcutTile/index.d.ts +13 -0
  327. package/dist/src/SquareAppIcon/SquareAppIcon.spec.d.ts +1 -0
  328. package/dist/src/SquareAppIcon/index.d.ts +26 -0
  329. package/dist/src/Storage/StorageButton.d.ts +4 -0
  330. package/dist/src/Storage/StorageProgress.d.ts +5 -0
  331. package/dist/src/Storage/index.d.ts +14 -0
  332. package/dist/src/Storage/locales/index.d.ts +10 -0
  333. package/dist/src/UploadQueue/FileUploadProgress.d.ts +4 -0
  334. package/dist/src/UploadQueue/Item.d.ts +3 -0
  335. package/dist/src/UploadQueue/Pending.d.ts +3 -0
  336. package/dist/src/UploadQueue/RemainingTime.d.ts +4 -0
  337. package/dist/src/UploadQueue/helpers.d.ts +1 -0
  338. package/dist/src/UploadQueue/index.d.ts +42 -0
  339. package/dist/src/UploadQueue/index.spec.d.ts +1 -0
  340. package/dist/src/UploadQueue/useStatusIcon.d.ts +1 -0
  341. package/dist/src/hooks/useClientErrors.d.ts +29 -0
  342. package/dist/src/hooks/useClientErrors.spec.d.ts +1 -0
  343. package/dist/src/proptypes.d.ts +18 -0
  344. package/dist/src/providers/CozyTheme/CozyThemeWithQuery.d.ts +2 -0
  345. package/dist/src/providers/CozyTheme/index.d.ts +24 -0
  346. package/dist/src/providers/CozyTheme/queries.d.ts +8 -0
  347. package/dist/src/providers/DemoProvider.d.ts +6 -0
  348. package/dist/src/providers/Intent/index.d.ts +9 -0
  349. package/dist/stylesheet.css +898 -0
  350. package/dist/test/I18n.d.ts +6 -0
  351. package/dist/types.d.js +1 -0
  352. package/jest.config.js +20 -0
  353. package/package.json +76 -0
  354. package/preprocess.js +16 -0
  355. package/src/AppIcon/Readme.md +96 -0
  356. package/src/AppIcon/index.jsx +168 -0
  357. package/src/AppIcon/index.spec.js +145 -0
  358. package/src/AppIcon/styles.styl +37 -0
  359. package/src/AppLinker/Readme.md +32 -0
  360. package/src/AppLinker/__snapshots__/index.spec.jsx.snap +13 -0
  361. package/src/AppLinker/index.jsx +107 -0
  362. package/src/AppLinker/index.spec.jsx +60 -0
  363. package/src/AppLinker/native.config.js +1 -0
  364. package/src/AppLinker/native.js +57 -0
  365. package/src/AppLinker/native.spec.js +120 -0
  366. package/src/AppSections/Readme.md +35 -0
  367. package/src/AppSections/Sections.jsx +285 -0
  368. package/src/AppSections/Sections.styl +4 -0
  369. package/src/AppSections/__snapshots__/search.spec.js.snap +972 -0
  370. package/src/AppSections/_mockApps.js +197 -0
  371. package/src/AppSections/_testApps.js +151 -0
  372. package/src/AppSections/categories.js +138 -0
  373. package/src/AppSections/categories.spec.js +289 -0
  374. package/src/AppSections/components/AppsSection.jsx +82 -0
  375. package/src/AppSections/components/AppsSection.spec.jsx +50 -0
  376. package/src/AppSections/components/AppsSection.styl +7 -0
  377. package/src/AppSections/components/DropdownFilter.jsx +50 -0
  378. package/src/AppSections/components/DropdownFilter.styl +14 -0
  379. package/src/AppSections/constants.js +9 -0
  380. package/src/AppSections/generateI18nConfig.ts +23 -0
  381. package/src/AppSections/helpers.js +16 -0
  382. package/src/AppSections/helpers.spec.js +40 -0
  383. package/src/AppSections/index.jsx +3 -0
  384. package/src/AppSections/index.spec.jsx +137 -0
  385. package/src/AppSections/locales/en.json +37 -0
  386. package/src/AppSections/locales/fr.json +37 -0
  387. package/src/AppSections/locales/ru.json +37 -0
  388. package/src/AppSections/locales/vi.json +37 -0
  389. package/src/AppSections/search.js +104 -0
  390. package/src/AppSections/search.spec.js +158 -0
  391. package/src/AppTile/AppTile.spec.jsx +117 -0
  392. package/src/AppTile/Readme.md +24 -0
  393. package/src/AppTile/helpers.js +25 -0
  394. package/src/AppTile/index.jsx +139 -0
  395. package/src/AppTile/locales/en.json +9 -0
  396. package/src/AppTile/locales/fr.json +9 -0
  397. package/src/AppTile/locales/ru.json +9 -0
  398. package/src/AppTile/locales/vi.json +9 -0
  399. package/src/AppTile/styles.styl +27 -0
  400. package/src/CipherIcon/Readme.md +14 -0
  401. package/src/CipherIcon/index.jsx +46 -0
  402. package/src/CipherIcon/index.spec.jsx +53 -0
  403. package/src/CollectionField/Readme.md +41 -0
  404. package/src/CollectionField/index.jsx +141 -0
  405. package/src/CollectionField/styles.styl +15 -0
  406. package/src/ContactPicker/Readme.md +26 -0
  407. package/src/ContactPicker/index.jsx +86 -0
  408. package/src/ContactPicker/styles.styl +5 -0
  409. package/src/Contacts/AddModal/ContactAddressDialog/helpers.js +22 -0
  410. package/src/Contacts/AddModal/ContactAddressDialog/helpers.spec.js +64 -0
  411. package/src/Contacts/AddModal/ContactAddressDialog/index.jsx +85 -0
  412. package/src/Contacts/AddModal/ContactAddressDialog/locales/en.json +25 -0
  413. package/src/Contacts/AddModal/ContactAddressDialog/locales/fr.json +25 -0
  414. package/src/Contacts/AddModal/ContactAddressDialog/locales/index.jsx +11 -0
  415. package/src/Contacts/AddModal/ContactAddressDialog/locales/ru.json +25 -0
  416. package/src/Contacts/AddModal/ContactAddressDialog/locales/vi.json +25 -0
  417. package/src/Contacts/AddModal/ContactForm/FieldInput.jsx +124 -0
  418. package/src/Contacts/AddModal/ContactForm/FieldInputAccordion.jsx +58 -0
  419. package/src/Contacts/AddModal/ContactForm/FieldInputArray.jsx +81 -0
  420. package/src/Contacts/AddModal/ContactForm/FieldInputLayout.jsx +77 -0
  421. package/src/Contacts/AddModal/ContactForm/FieldInputWrapper.jsx +44 -0
  422. package/src/Contacts/AddModal/ContactForm/HasValueCondition.jsx +31 -0
  423. package/src/Contacts/AddModal/ContactForm/HasValueCondition.spec.jsx +79 -0
  424. package/src/Contacts/AddModal/ContactForm/RelatedContactList.jsx +37 -0
  425. package/src/Contacts/AddModal/ContactForm/TextFieldCustomLabelSelect.jsx +79 -0
  426. package/src/Contacts/AddModal/ContactForm/TextFieldSelect.jsx +40 -0
  427. package/src/Contacts/AddModal/ContactForm/__snapshots__/HasValueCondition.spec.jsx.snap +33 -0
  428. package/src/Contacts/AddModal/ContactForm/contactToFormValues.js +109 -0
  429. package/src/Contacts/AddModal/ContactForm/contactToFormValues.spec.js +133 -0
  430. package/src/Contacts/AddModal/ContactForm/fieldsConfig.jsx +357 -0
  431. package/src/Contacts/AddModal/ContactForm/formValuesToContact.js +111 -0
  432. package/src/Contacts/AddModal/ContactForm/formValuesToContact.spec.js +557 -0
  433. package/src/Contacts/AddModal/ContactForm/helpers.js +393 -0
  434. package/src/Contacts/AddModal/ContactForm/helpers.spec.js +391 -0
  435. package/src/Contacts/AddModal/ContactForm/index.jsx +138 -0
  436. package/src/Contacts/AddModal/ContactForm/index.spec.jsx +301 -0
  437. package/src/Contacts/AddModal/ContactForm/locales/en.json +75 -0
  438. package/src/Contacts/AddModal/ContactForm/locales/fr.json +75 -0
  439. package/src/Contacts/AddModal/ContactForm/locales/index.jsx +11 -0
  440. package/src/Contacts/AddModal/ContactForm/locales/ru.json +75 -0
  441. package/src/Contacts/AddModal/ContactForm/locales/vi.json +75 -0
  442. package/src/Contacts/AddModal/ContactForm/styles.styl +2 -0
  443. package/src/Contacts/AddModal/CustomLabelDialog/index.jsx +109 -0
  444. package/src/Contacts/AddModal/CustomLabelDialog/locales/en.json +15 -0
  445. package/src/Contacts/AddModal/CustomLabelDialog/locales/fr.json +15 -0
  446. package/src/Contacts/AddModal/CustomLabelDialog/locales/index.jsx +11 -0
  447. package/src/Contacts/AddModal/CustomLabelDialog/locales/ru.json +15 -0
  448. package/src/Contacts/AddModal/CustomLabelDialog/locales/vi.json +15 -0
  449. package/src/Contacts/AddModal/Readme.md +55 -0
  450. package/src/Contacts/AddModal/index.jsx +86 -0
  451. package/src/Contacts/AddModal/locales/en.json +13 -0
  452. package/src/Contacts/AddModal/locales/fr.json +13 -0
  453. package/src/Contacts/AddModal/locales/index.jsx +11 -0
  454. package/src/Contacts/AddModal/locales/ru.json +13 -0
  455. package/src/Contacts/AddModal/locales/vi.json +13 -0
  456. package/src/Contacts/AddModal/mocks.js +299 -0
  457. package/src/Contacts/AddModal/types.js +102 -0
  458. package/src/Contacts/GroupsSelect/GroupCreation.jsx +96 -0
  459. package/src/Contacts/GroupsSelect/GroupsSelect.jsx +159 -0
  460. package/src/Contacts/GroupsSelect/GroupsSelect.spec.jsx +249 -0
  461. package/src/Contacts/GroupsSelect/GroupsSelectProvider.jsx +40 -0
  462. package/src/Contacts/GroupsSelect/Readme.md +1 -0
  463. package/src/Contacts/GroupsSelect/SelectBox/Control.jsx +37 -0
  464. package/src/Contacts/GroupsSelect/SelectBox/EditGroupName.jsx +52 -0
  465. package/src/Contacts/GroupsSelect/SelectBox/Menu.jsx +27 -0
  466. package/src/Contacts/GroupsSelect/SelectBox/Option.jsx +71 -0
  467. package/src/Contacts/GroupsSelect/SelectBox/SelectContainer.jsx +15 -0
  468. package/src/Contacts/GroupsSelect/SelectBox/styles.styl +2 -0
  469. package/src/Contacts/GroupsSelect/helpers.js +25 -0
  470. package/src/Contacts/GroupsSelect/locales/en.json +21 -0
  471. package/src/Contacts/GroupsSelect/locales/fr.json +21 -0
  472. package/src/Contacts/GroupsSelect/locales/index.jsx +11 -0
  473. package/src/Contacts/GroupsSelect/locales/ru.json +21 -0
  474. package/src/Contacts/GroupsSelect/locales/vi.json +21 -0
  475. package/src/Contacts/GroupsSelect/styles.styl +48 -0
  476. package/src/Contacts/GroupsSelect/useGroupSelect.jsx +89 -0
  477. package/src/Contacts/Header/GroupsSelection.jsx +75 -0
  478. package/src/Contacts/Header/ImportDropdown.jsx +80 -0
  479. package/src/Contacts/Header/Readme.md +38 -0
  480. package/src/Contacts/Header/SearchInput.jsx +19 -0
  481. package/src/Contacts/Header/index.jsx +80 -0
  482. package/src/Contacts/Header/locales/en.json +15 -0
  483. package/src/Contacts/Header/locales/fr.json +15 -0
  484. package/src/Contacts/Header/locales/index.jsx +11 -0
  485. package/src/Contacts/Header/locales/ru.json +15 -0
  486. package/src/Contacts/Header/locales/vi.json +15 -0
  487. package/src/Contacts/Readme.md +1 -0
  488. package/src/ContactsList/ContactCell.jsx +23 -0
  489. package/src/ContactsList/ContactRow.jsx +46 -0
  490. package/src/ContactsList/ContactRow.spec.js +75 -0
  491. package/src/ContactsList/Contacts/ContactCozy.jsx +23 -0
  492. package/src/ContactsList/Contacts/ContactEmail.jsx +23 -0
  493. package/src/ContactsList/Contacts/ContactIdentity.jsx +57 -0
  494. package/src/ContactsList/Contacts/ContactName.jsx +43 -0
  495. package/src/ContactsList/Contacts/ContactPhone.jsx +24 -0
  496. package/src/ContactsList/ContactsList.jsx +52 -0
  497. package/src/ContactsList/Readme.md +47 -0
  498. package/src/ContactsList/_mockContacts.json +2494 -0
  499. package/src/ContactsList/helpers.js +132 -0
  500. package/src/ContactsList/helpers.spec.js +150 -0
  501. package/src/ContactsList/index.js +3 -0
  502. package/src/ContactsList/locales/en.json +5 -0
  503. package/src/ContactsList/locales/fr.json +5 -0
  504. package/src/ContactsList/locales/ru.json +5 -0
  505. package/src/ContactsList/locales/vi.json +5 -0
  506. package/src/ContactsList/locales/withContactsListLocales.jsx +15 -0
  507. package/src/ContactsList/styles.styl +35 -0
  508. package/src/ContactsListModal/AddContact/AddContactActions.jsx +16 -0
  509. package/src/ContactsListModal/AddContact/AddContactContent.jsx +60 -0
  510. package/src/ContactsListModal/AddContact/AddContactDialog.jsx +38 -0
  511. package/src/ContactsListModal/AddContact/AddContactTitle.jsx +9 -0
  512. package/src/ContactsListModal/AddContact/helpers.js +18 -0
  513. package/src/ContactsListModal/AddContact/helpers.spec.js +74 -0
  514. package/src/ContactsListModal/AddContact/styles.styl +2 -0
  515. package/src/ContactsListModal/ContactsListContent.jsx +74 -0
  516. package/src/ContactsListModal/ContactsListModal.jsx +143 -0
  517. package/src/ContactsListModal/ContactsListModalWithQuery.jsx +27 -0
  518. package/src/ContactsListModal/EmptyMessage.jsx +18 -0
  519. package/src/ContactsListModal/MobileHeader.jsx +50 -0
  520. package/src/ContactsListModal/Readme.md +45 -0
  521. package/src/ContactsListModal/index.jsx +28 -0
  522. package/src/ContactsListModal/locales/en.json +11 -0
  523. package/src/ContactsListModal/locales/fr.json +11 -0
  524. package/src/ContactsListModal/locales/ru.json +11 -0
  525. package/src/ContactsListModal/locales/vi.json +11 -0
  526. package/src/ContactsListModal/mockClient.jsx +47 -0
  527. package/src/ContactsListModal/queries.js +12 -0
  528. package/src/ContactsListModal/styles.styl +12 -0
  529. package/src/ContactsListModal/withContactsListLocales.jsx +11 -0
  530. package/src/Dialogs/AuthenticationDialogs/index.jsx +115 -0
  531. package/src/Field/Readme.md +357 -0
  532. package/src/Field/index.jsx +317 -0
  533. package/src/Field/index.spec.js +59 -0
  534. package/src/Field/styles.styl +41 -0
  535. package/src/FileImageLoader/Readme.md +112 -0
  536. package/src/FileImageLoader/checkImageSource.js +29 -0
  537. package/src/FileImageLoader/index.jsx +186 -0
  538. package/src/FileImageLoader/index.spec.jsx +176 -0
  539. package/src/FilePicker/FilePickerBody.jsx +111 -0
  540. package/src/FilePicker/FilePickerBodyItem.jsx +126 -0
  541. package/src/FilePicker/FilePickerBodyItem.spec.jsx +164 -0
  542. package/src/FilePicker/FilePickerBreadcrumb.jsx +55 -0
  543. package/src/FilePicker/FilePickerFooter.jsx +42 -0
  544. package/src/FilePicker/FilePickerFooter.spec.jsx +41 -0
  545. package/src/FilePicker/FilePickerHeader.jsx +89 -0
  546. package/src/FilePicker/Readme.md +50 -0
  547. package/src/FilePicker/docs/DemoProvider.jsx +273 -0
  548. package/src/FilePicker/helpers.js +46 -0
  549. package/src/FilePicker/helpers.spec.js +84 -0
  550. package/src/FilePicker/index.jsx +94 -0
  551. package/src/FilePicker/locales/en.json +8 -0
  552. package/src/FilePicker/locales/fr.json +8 -0
  553. package/src/FilePicker/locales/ru.json +8 -0
  554. package/src/FilePicker/locales/vi.json +8 -0
  555. package/src/FilePicker/queries.js +37 -0
  556. package/src/FilePicker/styles.styl +18 -0
  557. package/src/Intent/IntentDialogOpener/Readme.md +25 -0
  558. package/src/Intent/IntentDialogOpener/index.jsx +110 -0
  559. package/src/Intent/IntentIframe/Readme.md +80 -0
  560. package/src/Intent/IntentIframe/index.jsx +112 -0
  561. package/src/Intent/IntentIframe/styles.styl +21 -0
  562. package/src/ListItem/ExpandedAttributes/ExpandedAttribute.jsx +40 -0
  563. package/src/ListItem/ExpandedAttributes/helpers.js +214 -0
  564. package/src/ListItem/ExpandedAttributes/helpers.spec.js +175 -0
  565. package/src/ListItem/ExpandedAttributes/index.jsx +62 -0
  566. package/src/ListItem/ListItemBase/Renaming/RenameDialog.jsx +38 -0
  567. package/src/ListItem/ListItemBase/Renaming/RenameInput.jsx +134 -0
  568. package/src/ListItem/ListItemBase/Renaming/helpers.js +35 -0
  569. package/src/ListItem/ListItemBase/index.jsx +116 -0
  570. package/src/ListItem/ListItemByDoc/index.jsx +103 -0
  571. package/src/ListItem/ListItemContact/helpers.js +28 -0
  572. package/src/ListItem/ListItemContact/helpers.spec.js +41 -0
  573. package/src/ListItem/ListItemContact/index.jsx +68 -0
  574. package/src/ListItem/ListItemContact/useActions.jsx +22 -0
  575. package/src/ListItem/ListItemFile/ExpirationAnnotation.jsx +39 -0
  576. package/src/ListItem/ListItemFile/ItemIcon.jsx +49 -0
  577. package/src/ListItem/ListItemFile/PrimaryText.jsx +38 -0
  578. package/src/ListItem/ListItemFile/SecondaryText.jsx +36 -0
  579. package/src/ListItem/ListItemFile/index.jsx +75 -0
  580. package/src/ListItem/Readme.md +211 -0
  581. package/src/ListItem/hoc/withListItemLocales.jsx +15 -0
  582. package/src/ListItem/locales/en.json +75 -0
  583. package/src/ListItem/locales/fr.json +75 -0
  584. package/src/ListItem/locales/ru.json +75 -0
  585. package/src/ListItem/locales/vi.json +75 -0
  586. package/src/Paywall/MaxAccountsByKonnectorPaywall.jsx +32 -0
  587. package/src/Paywall/MaxAccountsPaywall.jsx +27 -0
  588. package/src/Paywall/MaxDaysToCapturePaywall.jsx +27 -0
  589. package/src/Paywall/MaxPapersPaywall.jsx +29 -0
  590. package/src/Paywall/OnlyOfficePaywall.jsx +24 -0
  591. package/src/Paywall/PasswordSharingPaywall.jsx +20 -0
  592. package/src/Paywall/Paywall.jsx +130 -0
  593. package/src/Paywall/Paywall.spec.jsx +228 -0
  594. package/src/Paywall/QuotaPaywall.jsx +18 -0
  595. package/src/Paywall/Readme.md +139 -0
  596. package/src/Paywall/helpers.js +22 -0
  597. package/src/Paywall/howto.md +28 -0
  598. package/src/Paywall/index.jsx +7 -0
  599. package/src/Paywall/locales/en.json +95 -0
  600. package/src/Paywall/locales/fr.json +95 -0
  601. package/src/Paywall/locales/ru.json +95 -0
  602. package/src/Paywall/locales/vi.json +95 -0
  603. package/src/Paywall/locales/withPaywallLocales.jsx +15 -0
  604. package/src/Qualification/QualificationGrid/Readme.md +26 -0
  605. package/src/Qualification/QualificationGrid/helpers.js +4 -0
  606. package/src/Qualification/QualificationGrid/index.jsx +91 -0
  607. package/src/Qualification/QualificationGrid/locales/en.json +15 -0
  608. package/src/Qualification/QualificationGrid/locales/fr.json +15 -0
  609. package/src/Qualification/QualificationGrid/locales/ru.json +15 -0
  610. package/src/Qualification/QualificationGrid/locales/vi.json +15 -0
  611. package/src/Qualification/QualificationGrid/locales/withLocales.jsx +15 -0
  612. package/src/Qualification/QualificationIcon/Readme.md +14 -0
  613. package/src/Qualification/QualificationIcon/index.jsx +104 -0
  614. package/src/Qualification/QualificationItem/Readme.md +8 -0
  615. package/src/Qualification/QualificationItem/index.jsx +64 -0
  616. package/src/Qualification/QualificationModal/Readme.md +28 -0
  617. package/src/Qualification/QualificationModal/helpers.js +63 -0
  618. package/src/Qualification/QualificationModal/helpers.spec.js +61 -0
  619. package/src/Qualification/QualificationModal/index.jsx +71 -0
  620. package/src/Qualification/QualificationModal/locales/en.json +6 -0
  621. package/src/Qualification/QualificationModal/locales/fr.json +6 -0
  622. package/src/Qualification/QualificationModal/locales/index.jsx +11 -0
  623. package/src/Qualification/QualificationModal/locales/ru.json +6 -0
  624. package/src/Qualification/QualificationModal/locales/vi.json +6 -0
  625. package/src/ShortcutTile/index.tsx +60 -0
  626. package/src/SquareAppIcon/Readme.md +185 -0
  627. package/src/SquareAppIcon/SquareAppIcon.spec.js +86 -0
  628. package/src/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap +474 -0
  629. package/src/SquareAppIcon/constants.json +6 -0
  630. package/src/SquareAppIcon/index.jsx +289 -0
  631. package/src/SquareAppIcon/styles.styl +141 -0
  632. package/src/Storage/Readme.md +45 -0
  633. package/src/Storage/StorageButton.jsx +34 -0
  634. package/src/Storage/StorageProgress.jsx +52 -0
  635. package/src/Storage/index.jsx +41 -0
  636. package/src/Storage/locales/en.json +7 -0
  637. package/src/Storage/locales/fr.json +7 -0
  638. package/src/Storage/locales/index.jsx +11 -0
  639. package/src/Storage/locales/ru.json +7 -0
  640. package/src/Storage/locales/vi.json +7 -0
  641. package/src/UploadQueue/FileUploadProgress.jsx +50 -0
  642. package/src/UploadQueue/Item.jsx +99 -0
  643. package/src/UploadQueue/Pending.jsx +12 -0
  644. package/src/UploadQueue/Readme.md +95 -0
  645. package/src/UploadQueue/RemainingTime.jsx +27 -0
  646. package/src/UploadQueue/helpers.js +3 -0
  647. package/src/UploadQueue/index.jsx +161 -0
  648. package/src/UploadQueue/index.spec.jsx +163 -0
  649. package/src/UploadQueue/locales/en.json +10 -0
  650. package/src/UploadQueue/locales/es.json +10 -0
  651. package/src/UploadQueue/locales/fr.json +10 -0
  652. package/src/UploadQueue/locales/ru.json +10 -0
  653. package/src/UploadQueue/locales/vi.json +10 -0
  654. package/src/UploadQueue/styles.styl +155 -0
  655. package/src/UploadQueue/useStatusIcon.js +32 -0
  656. package/src/hooks/useClientErrors.jsx +140 -0
  657. package/src/hooks/useClientErrors.spec.jsx +94 -0
  658. package/src/proptypes.js +20 -0
  659. package/src/providers/CozyTheme/CozyThemeWithQuery.jsx +25 -0
  660. package/src/providers/CozyTheme/Readme.md +88 -0
  661. package/src/providers/CozyTheme/index.jsx +35 -0
  662. package/src/providers/CozyTheme/queries.js +14 -0
  663. package/src/providers/DemoProvider.jsx +30 -0
  664. package/src/providers/Intent/index.jsx +83 -0
  665. package/src/types.d.ts +4 -0
  666. package/test/I18n.js +13 -0
  667. package/test/fileMock.js +3 -0
  668. package/test/jestsetup.js +1 -0
  669. package/tsconfig-build.json +16 -0
  670. package/tsconfig.json +9 -0
@@ -0,0 +1,2009 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _cozyClient = _interopRequireDefault(require("cozy-client"));
11
+
12
+ var contacts = [{
13
+ _id: "013a6414-9727-4a4e-8b35-d3b9946a17c6",
14
+ _type: "io.cozy.contacts",
15
+ email: [{
16
+ address: "isabelle.durand@cozycloud.cc",
17
+ primary: true
18
+ }]
19
+ }, {
20
+ _id: "013a6413-9726-4a4d-8b34-d3b9946a17c5",
21
+ _type: "io.cozy.contacts",
22
+ address: [{
23
+ city: "Greenville",
24
+ country: "Bolivia, Plurinational State of",
25
+ postcode: "12198",
26
+ primary: true,
27
+ street: "85 Paxton Street"
28
+ }],
29
+ birthday: "1981-11-23",
30
+ email: [{
31
+ address: "alexis.bickers@logico.club",
32
+ primary: true
33
+ }],
34
+ metadata: {
35
+ version: 1
36
+ },
37
+ fullname: "Alexis Bickers",
38
+ me: true,
39
+ phone: [{
40
+ number: "+33 (9)7 58 16 92 55",
41
+ primary: true
42
+ }],
43
+ relationships: {
44
+ groups: {
45
+ data: [{
46
+ _id: "group_id_work",
47
+ _type: "io.cozy.contacts.groups"
48
+ }]
49
+ }
50
+ }
51
+ }, {
52
+ _id: "0409957b-36c1-4a66-b4f7-316e1a06e8b8",
53
+ _type: "io.cozy.contacts",
54
+ address: [{
55
+ city: "Fargo",
56
+ country: "Oman",
57
+ postcode: "81957",
58
+ primary: true,
59
+ street: "54 Willow Avenue"
60
+ }],
61
+ birthday: "1965-03-05",
62
+ email: [{
63
+ address: "alexa.luck@grafixmedia.name",
64
+ primary: true
65
+ }],
66
+ name: {
67
+ familyName: "Luck",
68
+ givenName: "Alexa"
69
+ },
70
+ phone: [{
71
+ number: "+33 (3)1 80 76 59 62",
72
+ primary: true
73
+ }]
74
+ }, {
75
+ _id: "07719549-2087-412e-8da2-e5c0b55fe7b8",
76
+ _type: "io.cozy.contacts",
77
+ address: [{
78
+ city: "Norfolk",
79
+ country: "Tunisia",
80
+ postcode: "33109",
81
+ primary: true,
82
+ street: "24 Blakeley Street"
83
+ }],
84
+ birthday: "1970-04-07",
85
+ email: [{
86
+ address: "rosanne.leath@conixco.name",
87
+ primary: true
88
+ }],
89
+ metadata: {
90
+ version: 1
91
+ },
92
+ name: {
93
+ familyName: "Leath",
94
+ givenName: "Rosanne"
95
+ },
96
+ phone: [{
97
+ number: "+33 (9)4 11 94 93 17",
98
+ primary: true
99
+ }],
100
+ relationships: {
101
+ groups: {
102
+ data: [{
103
+ _id: "group_id_work",
104
+ _type: "io.cozy.contacts.groups"
105
+ }]
106
+ }
107
+ }
108
+ }, {
109
+ _id: "083bf60c-287b-45e9-b3d6-0e64ee2eee2d",
110
+ _type: "io.cozy.contacts",
111
+ address: [{
112
+ city: "Hobart",
113
+ country: "Liechtenstein",
114
+ postcode: "42424",
115
+ primary: true,
116
+ street: "47 Blakeley Street"
117
+ }],
118
+ birthday: "1974-12-13",
119
+ email: [{
120
+ address: "rosanne.lenihan@corerobotics.info",
121
+ primary: true
122
+ }],
123
+ name: {
124
+ familyName: "Lenihan",
125
+ givenName: "Rosanne"
126
+ },
127
+ phone: [{
128
+ number: "+33 (3)3 86 10 59 74",
129
+ primary: true
130
+ }]
131
+ }, {
132
+ _id: "0c647009-9785-4d09-b18a-0f22d3bff233",
133
+ _type: "io.cozy.contacts",
134
+ address: [{
135
+ city: "Pheonix",
136
+ country: "French Southern Territories",
137
+ postcode: "60317",
138
+ primary: true,
139
+ street: "89 Haredale Road"
140
+ }],
141
+ birthday: "1950-04-28",
142
+ email: [{
143
+ address: "mitch.woodrum@opticast.org",
144
+ primary: true
145
+ }, {
146
+ address: "liza.bryd@multilingua.club",
147
+ primary: false
148
+ }],
149
+ metadata: {
150
+ version: 1
151
+ },
152
+ name: {
153
+ familyName: "Woodrum",
154
+ givenName: "Mitch"
155
+ },
156
+ phone: [{
157
+ number: "+33 (9)7 70 95 95 36",
158
+ primary: true
159
+ }, {
160
+ number: "+33 (2)0 18 10 93 80",
161
+ primary: false
162
+ }],
163
+ relationships: {
164
+ groups: {
165
+ data: [{
166
+ _id: "group_id_family",
167
+ _type: "io.cozy.contacts.groups"
168
+ }]
169
+ }
170
+ }
171
+ }, {
172
+ _id: "0ea42f4a-28f1-432e-934a-68f9c50fe38e",
173
+ _type: "io.cozy.contacts",
174
+ address: [{
175
+ city: "Youngstown",
176
+ country: "Chad",
177
+ postcode: "38300",
178
+ primary: true,
179
+ street: "78 Bushey Crescent"
180
+ }],
181
+ birthday: "1959-04-20",
182
+ email: [{
183
+ address: "haydee.tindel@galcom.com",
184
+ primary: true
185
+ }],
186
+ name: {
187
+ familyName: "Tindel",
188
+ givenName: "Haydee"
189
+ },
190
+ phone: [{
191
+ number: "+33 (8)7 11 08 64 48",
192
+ primary: true
193
+ }]
194
+ }, {
195
+ _id: "0ffe83ef-10cf-4be6-bf6c-a189f907e65a",
196
+ _type: "io.cozy.contacts",
197
+ address: [{
198
+ city: "Halifax",
199
+ country: "New Caledonia",
200
+ postcode: "87206",
201
+ primary: true,
202
+ street: "5 Mercer Street"
203
+ }],
204
+ birthday: "1956-06-06",
205
+ email: [{
206
+ address: "shea.brier@logico.club",
207
+ primary: true
208
+ }],
209
+ metadata: {
210
+ version: 1
211
+ },
212
+ name: {
213
+ familyName: "Brier",
214
+ givenName: "Shea"
215
+ },
216
+ phone: [{
217
+ number: "+33 (0)8 43 39 94 21",
218
+ primary: true
219
+ }],
220
+ relationships: {
221
+ groups: {
222
+ data: [{
223
+ _id: "group_id_work",
224
+ _type: "io.cozy.contacts.groups"
225
+ }]
226
+ }
227
+ }
228
+ }, {
229
+ _id: "155e4c33-f6ad-45ee-816d-5eb0874225f2",
230
+ _type: "io.cozy.contacts",
231
+ address: [{
232
+ city: "Greenville",
233
+ country: "Guadeloupe",
234
+ postcode: "59663",
235
+ primary: true,
236
+ street: "87 Pitman Street"
237
+ }],
238
+ email: [{
239
+ address: "neida.backer@hivemind.biz",
240
+ primary: true
241
+ }],
242
+ metadata: {
243
+ version: 1
244
+ },
245
+ name: {
246
+ givenName: "Hivemind"
247
+ },
248
+ phone: [{
249
+ number: "+33 (1)6 74 60 61 23",
250
+ primary: true
251
+ }],
252
+ relationships: {
253
+ groups: {
254
+ data: [{
255
+ _id: "group_id_work",
256
+ _type: "io.cozy.contacts.groups"
257
+ }, {
258
+ _id: "group_id_family",
259
+ _type: "io.cozy.contacts.groups"
260
+ }]
261
+ }
262
+ }
263
+ }, {
264
+ _id: "1816abd3-d371-482c-ae9d-33385fb8780d",
265
+ _type: "io.cozy.contacts",
266
+ address: [{
267
+ city: "Northampton",
268
+ country: "Montenegro",
269
+ postcode: "65005",
270
+ primary: true,
271
+ street: "96 Hinton Road"
272
+ }],
273
+ email: [{
274
+ address: "edward.carter@tomiatech.com",
275
+ primary: true
276
+ }],
277
+ metadata: {
278
+ version: 1
279
+ },
280
+ name: {
281
+ givenName: "Tomiatech"
282
+ },
283
+ phone: [{
284
+ number: "+33 (4)8 48 86 77 17",
285
+ primary: true
286
+ }],
287
+ relationships: {
288
+ groups: {
289
+ data: [{
290
+ _id: "group_id_work",
291
+ _type: "io.cozy.contacts.groups"
292
+ }, {
293
+ _id: "group_id_family",
294
+ _type: "io.cozy.contacts.groups"
295
+ }]
296
+ }
297
+ }
298
+ }, {
299
+ _id: "1be291a9-0836-4c94-876b-5269fa901ed4",
300
+ _type: "io.cozy.contacts",
301
+ address: [{
302
+ city: "Northampton",
303
+ country: "Tokelau",
304
+ postcode: "56285",
305
+ primary: true,
306
+ street: "14 Faraday Street"
307
+ }],
308
+ birthday: "1955-09-21",
309
+ email: [{
310
+ address: "katelin.bourquin@unilogic.biz",
311
+ primary: true
312
+ }],
313
+ metadata: {
314
+ version: 1
315
+ },
316
+ name: {
317
+ familyName: "Bourquin",
318
+ givenName: "Katelin"
319
+ },
320
+ phone: [{
321
+ number: "+33 (9)3 52 45 98 35",
322
+ primary: true
323
+ }],
324
+ relationships: {
325
+ groups: {
326
+ data: [{
327
+ _id: "group_id_work",
328
+ _type: "io.cozy.contacts.groups"
329
+ }]
330
+ }
331
+ }
332
+ }, {
333
+ _id: "23d3d724-d869-4def-841f-c85b499aa6a6",
334
+ _type: "io.cozy.contacts",
335
+ address: [{
336
+ city: "Waterbury",
337
+ country: "Iceland",
338
+ postcode: "69639",
339
+ primary: true,
340
+ street: "65 Faraday Street"
341
+ }],
342
+ birthday: "1957-02-23",
343
+ email: [{
344
+ address: "cory.verde@peersys.xyz",
345
+ primary: true
346
+ }],
347
+ metadata: {
348
+ version: 1
349
+ },
350
+ name: {
351
+ familyName: "Verde",
352
+ givenName: "Cory"
353
+ },
354
+ phone: [{
355
+ number: "+33 (2)3 15 97 52 48",
356
+ primary: true
357
+ }],
358
+ relationships: {
359
+ groups: {
360
+ data: [{
361
+ _id: "group_id_work",
362
+ _type: "io.cozy.contacts.groups"
363
+ }]
364
+ }
365
+ }
366
+ }, {
367
+ _id: "24e83428-df51-46fd-97ed-1f7d94064548",
368
+ _type: "io.cozy.contacts",
369
+ address: [{
370
+ city: "Bangor",
371
+ country: "Lesotho",
372
+ postcode: "15002",
373
+ primary: true,
374
+ street: "93 Alexander Avenue"
375
+ }],
376
+ birthday: "1952-12-29",
377
+ email: [{
378
+ address: "aiden.bryd@citisys.info",
379
+ primary: true
380
+ }],
381
+ metadata: {
382
+ version: 1
383
+ },
384
+ name: {
385
+ familyName: "Bryd",
386
+ givenName: "Aiden"
387
+ },
388
+ phone: [{
389
+ number: "+33 (1)4 80 11 59 28",
390
+ primary: true
391
+ }],
392
+ relationships: {
393
+ groups: {
394
+ data: [{
395
+ _id: "group_id_work",
396
+ _type: "io.cozy.contacts.groups"
397
+ }]
398
+ }
399
+ }
400
+ }, {
401
+ _id: "289a814a-0d7d-4c6d-aa6c-be8bd28456dd",
402
+ _type: "io.cozy.contacts",
403
+ address: [{
404
+ city: "Charleston",
405
+ country: "South Georgia and the South Sandwich Islands",
406
+ postcode: "79336",
407
+ primary: true,
408
+ street: "72 Walford Way"
409
+ }],
410
+ birthday: "1988-04-29",
411
+ email: [{
412
+ address: "maisha.kilmer@nitrosystems.eu",
413
+ primary: true
414
+ }],
415
+ metadata: {
416
+ version: 1
417
+ },
418
+ name: {
419
+ familyName: "Kilmer",
420
+ givenName: "Maisha"
421
+ },
422
+ phone: [{
423
+ number: "+33 (0)5 89 50 15 43",
424
+ primary: true
425
+ }],
426
+ relationships: {
427
+ groups: {
428
+ data: [{
429
+ _id: "group_id_work",
430
+ _type: "io.cozy.contacts.groups"
431
+ }]
432
+ }
433
+ }
434
+ }, {
435
+ _id: "29fdda84-d786-4890-9fd6-842fed02d193",
436
+ _type: "io.cozy.contacts",
437
+ address: [{
438
+ city: "Melbourne",
439
+ country: "French Polynesia",
440
+ postcode: "47415",
441
+ primary: true,
442
+ street: "74 Orchard Road"
443
+ }],
444
+ birthday: "1986-10-10",
445
+ email: [{
446
+ address: "danny.stine@celmax.club",
447
+ primary: true
448
+ }],
449
+ name: {
450
+ familyName: "Stine",
451
+ givenName: "Danny"
452
+ },
453
+ phone: [{
454
+ number: "+33 (3)8 94 64 96 17",
455
+ primary: true
456
+ }]
457
+ }, {
458
+ _id: "2a75a0e5-cc4b-4fdc-be4d-2ac24a802368",
459
+ _type: "io.cozy.contacts",
460
+ address: [{
461
+ city: "Charleston",
462
+ country: "Madagascar",
463
+ postcode: "18247",
464
+ primary: true,
465
+ street: "67 Hunt Street"
466
+ }],
467
+ email: [{
468
+ address: "ivan.bryd@strategyline.eu",
469
+ primary: true
470
+ }],
471
+ metadata: {
472
+ version: 1
473
+ },
474
+ name: {
475
+ givenName: "StrategyLine"
476
+ },
477
+ phone: [{
478
+ number: "+33 (3)8 15 32 28 30",
479
+ primary: true
480
+ }],
481
+ relationships: {
482
+ groups: {
483
+ data: [{
484
+ _id: "group_id_work",
485
+ _type: "io.cozy.contacts.groups"
486
+ }, {
487
+ _id: "group_id_family",
488
+ _type: "io.cozy.contacts.groups"
489
+ }]
490
+ }
491
+ }
492
+ }, {
493
+ _id: "3043b044-072b-464f-b301-46df3ae99aee",
494
+ _type: "io.cozy.contacts",
495
+ address: [{
496
+ city: "Albany",
497
+ country: "Niger",
498
+ postcode: "60266",
499
+ primary: true,
500
+ street: "92 Canal Street"
501
+ }],
502
+ birthday: "1974-05-17",
503
+ email: [{
504
+ address: "raylene.bourne@tecomix.name",
505
+ primary: true
506
+ }],
507
+ metadata: {
508
+ version: 1
509
+ },
510
+ name: {
511
+ familyName: "Bourne",
512
+ givenName: "Raylene"
513
+ },
514
+ phone: [{
515
+ number: "+33 (3)5 71 20 15 93",
516
+ primary: true
517
+ }],
518
+ relationships: {
519
+ groups: {
520
+ data: [{
521
+ _id: "group_id_work",
522
+ _type: "io.cozy.contacts.groups"
523
+ }]
524
+ }
525
+ }
526
+ }, {
527
+ _id: "307c4e16-70b8-4328-af1c-1d762f788e16",
528
+ _type: "io.cozy.contacts",
529
+ address: [{
530
+ city: "Tacoma",
531
+ country: "Bermuda",
532
+ postcode: "05692",
533
+ primary: true,
534
+ street: "69 Elm Street"
535
+ }],
536
+ birthday: "1994-02-21",
537
+ email: [{
538
+ address: "max.higgins@maxcast.com",
539
+ primary: true
540
+ }],
541
+ name: {
542
+ familyName: "Higgins",
543
+ givenName: "Max"
544
+ },
545
+ phone: [{
546
+ number: "+33 (4)5 39 48 09 09",
547
+ primary: true
548
+ }]
549
+ }, {
550
+ _id: "309067e3-81a5-45a4-8125-179185dc37da",
551
+ _type: "io.cozy.contacts",
552
+ address: [{
553
+ city: "Northampton",
554
+ country: "India",
555
+ postcode: "39596",
556
+ primary: true,
557
+ street: "49 Blakeley Street"
558
+ }],
559
+ birthday: "1976-02-18",
560
+ email: [{
561
+ address: "raymond.muldoon@thermolock.info",
562
+ primary: true
563
+ }, {
564
+ address: "jason.hundt@citisys.name",
565
+ primary: false
566
+ }],
567
+ metadata: {
568
+ version: 1
569
+ },
570
+ name: {
571
+ familyName: "Muldoon",
572
+ givenName: "Raymond"
573
+ },
574
+ phone: [{
575
+ number: "+33 (7)2 68 87 05 72",
576
+ primary: true
577
+ }, {
578
+ number: "+33 (4)5 23 05 63 86",
579
+ primary: false
580
+ }],
581
+ relationships: {
582
+ groups: {
583
+ data: [{
584
+ _id: "group_id_family",
585
+ _type: "io.cozy.contacts.groups"
586
+ }]
587
+ }
588
+ }
589
+ }, {
590
+ _id: "328b1bb6-8234-4efd-b18f-1aafd58dc83e",
591
+ _type: "io.cozy.contacts",
592
+ address: [{
593
+ city: "Walkerville",
594
+ country: "Nigeria",
595
+ postcode: "34344",
596
+ primary: true,
597
+ street: "92 Berkeley Street"
598
+ }],
599
+ birthday: "1994-02-23",
600
+ email: [{
601
+ address: "rosanne.stine@infracom.edu",
602
+ primary: true
603
+ }],
604
+ name: {
605
+ familyName: "Stine",
606
+ givenName: "Rosanne"
607
+ },
608
+ phone: [{
609
+ number: "+33 (9)0 11 98 31 70",
610
+ primary: true
611
+ }]
612
+ }, {
613
+ _id: "366f3eec-aaa0-4c82-9f27-80ad305ecec8",
614
+ _type: "io.cozy.contacts",
615
+ address: [{
616
+ city: "Oakland",
617
+ country: "China",
618
+ postcode: "61059",
619
+ primary: true,
620
+ street: "85 Winston Road"
621
+ }],
622
+ birthday: "1991-12-23",
623
+ email: [{
624
+ address: "andy.keesee@fortyfour.mobi",
625
+ primary: true
626
+ }],
627
+ name: {
628
+ familyName: "Keesee",
629
+ givenName: "Andy"
630
+ },
631
+ phone: [{
632
+ number: "+33 (0)5 64 21 84 37",
633
+ primary: true
634
+ }]
635
+ }, {
636
+ _id: "398e8336-de18-43c8-8b5a-86ab72005c41",
637
+ _type: "io.cozy.contacts",
638
+ address: [{
639
+ city: "Frankston",
640
+ country: "Micronesia, Federated States of",
641
+ postcode: "15368",
642
+ primary: true,
643
+ street: "9 Robinson Street"
644
+ }],
645
+ birthday: "1983-09-13",
646
+ email: [{
647
+ address: "kirstie.mercer@tomiatech.eu",
648
+ primary: true
649
+ }],
650
+ name: {
651
+ familyName: "Mercer",
652
+ givenName: "Kirstie"
653
+ },
654
+ phone: [{
655
+ number: "+33 (6)8 99 21 10 92",
656
+ primary: true
657
+ }]
658
+ }, {
659
+ _id: "3e540ae7-4605-4f05-82c9-8cb901a0c34d",
660
+ _type: "io.cozy.contacts",
661
+ address: [{
662
+ city: "Norfolk",
663
+ country: "Peru",
664
+ postcode: "27382",
665
+ primary: true,
666
+ street: "32 Foster Walk"
667
+ }],
668
+ birthday: "1987-04-29",
669
+ email: [{
670
+ address: "michelle.jensen@pancast.club",
671
+ primary: true
672
+ }],
673
+ name: {
674
+ familyName: "Jensen",
675
+ givenName: "Michelle"
676
+ },
677
+ phone: [{
678
+ number: "+33 (9)4 55 02 64 05",
679
+ primary: true
680
+ }]
681
+ }, {
682
+ _id: "3f6007f9-9284-4bfd-9350-1cbf294bd39b",
683
+ _type: "io.cozy.contacts",
684
+ address: [{
685
+ city: "Greenville",
686
+ country: "Austria",
687
+ postcode: "32426",
688
+ primary: true,
689
+ street: "77 Fairmont Avenue"
690
+ }],
691
+ birthday: "1981-04-29",
692
+ metadata: {
693
+ version: 1
694
+ },
695
+ name: {
696
+ familyName: "Okainmayle",
697
+ givenName: "Jay"
698
+ },
699
+ phone: [{
700
+ number: "+33 (3)0 31 26 10 64",
701
+ primary: true
702
+ }],
703
+ relationships: {
704
+ groups: {
705
+ data: []
706
+ }
707
+ }
708
+ }, {
709
+ _id: "3fe82c80-9da3-4a42-bab5-8274df1316e6",
710
+ _type: "io.cozy.contacts",
711
+ address: [{
712
+ city: "Rochester",
713
+ country: "Uganda",
714
+ postcode: "27943",
715
+ primary: true,
716
+ street: "31 Maple Street"
717
+ }],
718
+ birthday: "1983-05-03",
719
+ email: [{
720
+ address: "chloe.leath@iridimax.org",
721
+ primary: true
722
+ }],
723
+ metadata: {
724
+ version: 1
725
+ },
726
+ name: {
727
+ familyName: "Leath",
728
+ givenName: "Chloe"
729
+ },
730
+ phone: [{
731
+ number: "+33 (3)7 91 15 42 39",
732
+ primary: true
733
+ }],
734
+ relationships: {
735
+ groups: {
736
+ data: [{
737
+ _id: "group_id_work",
738
+ _type: "io.cozy.contacts.groups"
739
+ }]
740
+ }
741
+ }
742
+ }, {
743
+ _id: "42a330ca-a30c-489f-8939-4c1b137f84e9",
744
+ _type: "io.cozy.contacts",
745
+ address: [{
746
+ city: "Nottingham",
747
+ country: "Saint Pierre and Miquelon",
748
+ postcode: "16585",
749
+ primary: true,
750
+ street: "21 Berkeley Street"
751
+ }],
752
+ birthday: "1992-11-15",
753
+ email: [{
754
+ address: "eleanore.hottle@tomiatech.edu",
755
+ primary: true
756
+ }],
757
+ name: {
758
+ familyName: "Hottle",
759
+ givenName: "Eleanore"
760
+ },
761
+ phone: [{
762
+ number: "+33 (3)6 44 88 19 04",
763
+ primary: true
764
+ }]
765
+ }, {
766
+ _id: "44bae7a3-04ed-4cc3-80f8-e15fc9b2399d",
767
+ _type: "io.cozy.contacts",
768
+ address: [{
769
+ city: "Redmond",
770
+ country: "Bosnia and Herzegovina",
771
+ postcode: "87880",
772
+ primary: true,
773
+ street: "24 Seaside Drive"
774
+ }],
775
+ birthday: "1977-08-09",
776
+ email: [{
777
+ address: "kurt.rohloff@corexts.org",
778
+ primary: true
779
+ }],
780
+ metadata: {
781
+ version: 1
782
+ },
783
+ name: {
784
+ familyName: "Rohloff",
785
+ givenName: "Kurt"
786
+ },
787
+ phone: [{
788
+ number: "+33 (9)8 32 78 45 41",
789
+ primary: true
790
+ }],
791
+ relationships: {
792
+ groups: {
793
+ data: [{
794
+ _id: "group_id_work",
795
+ _type: "io.cozy.contacts.groups"
796
+ }]
797
+ }
798
+ }
799
+ }, {
800
+ _id: "4bb1f622-5383-449e-a2d2-fc9e14006903",
801
+ _type: "io.cozy.contacts",
802
+ address: [{
803
+ city: "Sacramento",
804
+ country: "Angola",
805
+ postcode: "12833",
806
+ primary: true,
807
+ street: "31 Faraday Street"
808
+ }],
809
+ birthday: "1998-12-10",
810
+ email: [{
811
+ address: "travis.paquette@zatheon.co",
812
+ primary: true
813
+ }],
814
+ name: {
815
+ familyName: "Paquette",
816
+ givenName: "Travis"
817
+ },
818
+ phone: [{
819
+ number: "+33 (2)7 21 10 25 88",
820
+ primary: true
821
+ }]
822
+ }, {
823
+ _id: "507fcc3d-1423-46da-b5f9-8fbcfd3f3fe4",
824
+ _type: "io.cozy.contacts",
825
+ address: [{
826
+ city: "Christchurch",
827
+ country: "Netherlands",
828
+ postcode: "21910",
829
+ primary: true,
830
+ street: "46 Walford Way"
831
+ }],
832
+ birthday: "1978-11-03",
833
+ email: [{
834
+ address: "lorelei.cadena@dalserve.club",
835
+ primary: true
836
+ }, {
837
+ address: "juliana.oldman@thermatek.name",
838
+ primary: false
839
+ }],
840
+ metadata: {
841
+ version: 1
842
+ },
843
+ name: {
844
+ familyName: "Cadena",
845
+ givenName: "Lorelei"
846
+ },
847
+ phone: [{
848
+ number: "+33 (4)4 72 27 49 64",
849
+ primary: true
850
+ }, {
851
+ number: "+33 (0)3 15 05 94 03",
852
+ primary: false
853
+ }],
854
+ relationships: {
855
+ groups: {
856
+ data: [{
857
+ _id: "group_id_family",
858
+ _type: "io.cozy.contacts.groups"
859
+ }]
860
+ }
861
+ }
862
+ }, {
863
+ _id: "53c75e29-5c9b-4c4f-b802-e4a152551b23",
864
+ _type: "io.cozy.contacts",
865
+ address: [{
866
+ city: "Southampton",
867
+ country: "Afghanistan",
868
+ postcode: "72082",
869
+ primary: true,
870
+ street: "6 Prospect Place"
871
+ }],
872
+ birthday: "1976-03-29",
873
+ email: [{
874
+ address: "jay.padeutell@noemail.net",
875
+ primary: true
876
+ }],
877
+ metadata: {
878
+ version: 1
879
+ },
880
+ name: {
881
+ familyName: "Padeutell",
882
+ givenName: "Jay"
883
+ },
884
+ relationships: {
885
+ groups: {
886
+ data: []
887
+ }
888
+ }
889
+ }, {
890
+ _id: "5c21e9fa-18a5-4999-b704-59b902db8542",
891
+ _type: "io.cozy.contacts",
892
+ address: [{
893
+ city: "Stanford",
894
+ country: "Isle of Man",
895
+ postcode: "26162",
896
+ primary: true,
897
+ street: "83 Canal Street"
898
+ }],
899
+ birthday: "1996-08-03",
900
+ email: [{
901
+ address: "travis.sprowl@vtgrafix.name",
902
+ primary: true
903
+ }],
904
+ metadata: {
905
+ version: 1
906
+ },
907
+ name: {
908
+ familyName: "Sprowl",
909
+ givenName: "Travis"
910
+ },
911
+ phone: [{
912
+ number: "+33 (8)9 22 15 20 68",
913
+ primary: true
914
+ }],
915
+ relationships: {
916
+ groups: {
917
+ data: [{
918
+ _id: "group_id_work",
919
+ _type: "io.cozy.contacts.groups"
920
+ }]
921
+ }
922
+ }
923
+ }, {
924
+ _id: "627ba975-1314-4813-8366-cea7ac4734bf",
925
+ _type: "io.cozy.contacts",
926
+ address: [{
927
+ city: "Norfolk",
928
+ country: "Trinidad and Tobago",
929
+ postcode: "50716",
930
+ primary: true,
931
+ street: "14 Maple Street"
932
+ }],
933
+ birthday: "1960-11-17",
934
+ email: [{
935
+ address: "jetta.neal@multiserv.net",
936
+ primary: true
937
+ }],
938
+ name: {
939
+ familyName: "Neal",
940
+ givenName: "Jetta"
941
+ },
942
+ phone: [{
943
+ number: "+33 (2)1 88 04 40 79",
944
+ primary: true
945
+ }]
946
+ }, {
947
+ _id: "63d70d1a-838b-4eb4-b9ca-c3ea15937d51",
948
+ _type: "io.cozy.contacts",
949
+ address: [{
950
+ city: "Charleston",
951
+ country: "Turks and Caicos Islands",
952
+ postcode: "74804",
953
+ primary: true,
954
+ street: "50 Hunt Street"
955
+ }],
956
+ email: [{
957
+ address: "selma.keesee@westgate.net",
958
+ primary: true
959
+ }],
960
+ metadata: {
961
+ version: 1
962
+ },
963
+ name: {
964
+ givenName: "WestGate"
965
+ },
966
+ phone: [{
967
+ number: "+33 (7)6 39 42 48 60",
968
+ primary: true
969
+ }],
970
+ relationships: {
971
+ groups: {
972
+ data: [{
973
+ _id: "group_id_work",
974
+ _type: "io.cozy.contacts.groups"
975
+ }, {
976
+ _id: "group_id_family",
977
+ _type: "io.cozy.contacts.groups"
978
+ }]
979
+ }
980
+ }
981
+ }, {
982
+ _id: "6e109549-bbb7-4b23-a95e-794407001cd1",
983
+ _type: "io.cozy.contacts",
984
+ address: [{
985
+ city: "Halifax",
986
+ country: "Cook Islands",
987
+ postcode: "94609",
988
+ primary: true,
989
+ street: "93 Stockton Lane"
990
+ }],
991
+ birthday: "1992-06-16",
992
+ email: [{
993
+ address: "edward.kelsey@hivemind.co",
994
+ primary: true
995
+ }],
996
+ metadata: {
997
+ version: 1
998
+ },
999
+ name: {
1000
+ familyName: "Kelsey",
1001
+ givenName: "Edward"
1002
+ },
1003
+ phone: [{
1004
+ number: "+33 (6)6 35 56 75 23",
1005
+ primary: true
1006
+ }],
1007
+ relationships: {
1008
+ groups: {
1009
+ data: [{
1010
+ _id: "group_id_work",
1011
+ _type: "io.cozy.contacts.groups"
1012
+ }]
1013
+ }
1014
+ }
1015
+ }, {
1016
+ _id: "6ed104be-083e-4991-bacb-78e18f815210",
1017
+ _type: "io.cozy.contacts",
1018
+ address: [{
1019
+ city: "Seattle",
1020
+ country: "Marshall Islands",
1021
+ postcode: "79310",
1022
+ primary: true,
1023
+ street: "36 Albion Place"
1024
+ }],
1025
+ birthday: "1951-07-03",
1026
+ email: [{
1027
+ address: "madelyn.woodrum@airconix.xyz",
1028
+ primary: true
1029
+ }],
1030
+ metadata: {
1031
+ version: 1
1032
+ },
1033
+ name: {
1034
+ familyName: "Woodrum",
1035
+ givenName: "Madelyn"
1036
+ },
1037
+ phone: [{
1038
+ number: "+33 (8)4 54 36 85 66",
1039
+ primary: true
1040
+ }],
1041
+ relationships: {
1042
+ groups: {
1043
+ data: [{
1044
+ _id: "group_id_work",
1045
+ _type: "io.cozy.contacts.groups"
1046
+ }]
1047
+ }
1048
+ }
1049
+ }, {
1050
+ _id: "6f767688-7118-4837-818f-610d0565ce83",
1051
+ _type: "io.cozy.contacts",
1052
+ address: [{
1053
+ city: "Denver",
1054
+ country: "Cayman Islands",
1055
+ postcode: "49200",
1056
+ primary: true,
1057
+ street: "20 Winston Road"
1058
+ }],
1059
+ birthday: "1967-06-25",
1060
+ email: [{
1061
+ address: "vaughn.friedrich@seelogic.co",
1062
+ primary: true
1063
+ }, {
1064
+ address: "dannielle.seabury@corptek.name",
1065
+ primary: false
1066
+ }],
1067
+ metadata: {
1068
+ version: 1
1069
+ },
1070
+ name: {
1071
+ familyName: "Friedrich",
1072
+ givenName: "Vaughn"
1073
+ },
1074
+ phone: [{
1075
+ number: "+33 (1)8 68 41 49 83",
1076
+ primary: true
1077
+ }, {
1078
+ number: "+33 (7)5 60 23 43 55",
1079
+ primary: false
1080
+ }],
1081
+ relationships: {
1082
+ groups: {
1083
+ data: [{
1084
+ _id: "group_id_family",
1085
+ _type: "io.cozy.contacts.groups"
1086
+ }]
1087
+ }
1088
+ }
1089
+ }, {
1090
+ _id: "706364ef-f84c-4d84-896a-f96c1c6a554c",
1091
+ _type: "io.cozy.contacts",
1092
+ address: [{
1093
+ city: "Cardiff",
1094
+ country: "Ukraine",
1095
+ postcode: "21604",
1096
+ primary: true,
1097
+ street: "43 Berkeley Street"
1098
+ }],
1099
+ birthday: "1962-07-12",
1100
+ email: [{
1101
+ address: "raylene.pullman@viewtopia.me",
1102
+ primary: true
1103
+ }],
1104
+ name: {
1105
+ familyName: "Pullman",
1106
+ givenName: "Raylene"
1107
+ },
1108
+ phone: [{
1109
+ number: "+33 (0)7 90 41 79 27",
1110
+ primary: true
1111
+ }]
1112
+ }, {
1113
+ _id: "71967809-8e54-4413-aa8e-35b2b945e816",
1114
+ _type: "io.cozy.contacts",
1115
+ address: [{
1116
+ city: "Newark",
1117
+ country: "Norway",
1118
+ postcode: "84101",
1119
+ primary: true,
1120
+ street: "58 Longford Crescent"
1121
+ }],
1122
+ email: [{
1123
+ address: "cecilia.latshaw@xenosys.club",
1124
+ primary: true
1125
+ }],
1126
+ metadata: {
1127
+ version: 1
1128
+ },
1129
+ name: {
1130
+ givenName: "Xenosys"
1131
+ },
1132
+ phone: [{
1133
+ number: "+33 (3)2 00 61 89 63",
1134
+ primary: true
1135
+ }],
1136
+ relationships: {
1137
+ groups: {
1138
+ data: [{
1139
+ _id: "group_id_work",
1140
+ _type: "io.cozy.contacts.groups"
1141
+ }, {
1142
+ _id: "group_id_family",
1143
+ _type: "io.cozy.contacts.groups"
1144
+ }]
1145
+ }
1146
+ }
1147
+ }, {
1148
+ _id: "799b0f99-3ad7-4f07-a689-9765b4e239c9",
1149
+ _type: "io.cozy.contacts",
1150
+ address: [{
1151
+ city: "Bradford",
1152
+ country: "Aruba",
1153
+ postcode: "69222",
1154
+ primary: true,
1155
+ street: "18 Pearl Street"
1156
+ }],
1157
+ email: [{
1158
+ address: "tyler.rhymer@baramax.eu",
1159
+ primary: true
1160
+ }],
1161
+ metadata: {
1162
+ version: 1
1163
+ },
1164
+ name: {
1165
+ givenName: "Baramax"
1166
+ },
1167
+ phone: [{
1168
+ number: "+33 (3)2 38 88 00 99",
1169
+ primary: true
1170
+ }],
1171
+ relationships: {
1172
+ groups: {
1173
+ data: [{
1174
+ _id: "group_id_work",
1175
+ _type: "io.cozy.contacts.groups"
1176
+ }, {
1177
+ _id: "group_id_family",
1178
+ _type: "io.cozy.contacts.groups"
1179
+ }]
1180
+ }
1181
+ }
1182
+ }, {
1183
+ _id: "7a8b0143-ed8a-4e28-85ec-37c16d1904b6",
1184
+ _type: "io.cozy.contacts",
1185
+ address: [{
1186
+ city: "Rochester",
1187
+ country: "Colombia",
1188
+ postcode: "18722",
1189
+ primary: true,
1190
+ street: "91 Chestnut Walk"
1191
+ }],
1192
+ email: [{
1193
+ address: "vernon.leath@vtgrafix.co",
1194
+ primary: true
1195
+ }],
1196
+ metadata: {
1197
+ version: 1
1198
+ },
1199
+ name: {
1200
+ givenName: "VTGrafix"
1201
+ },
1202
+ phone: [{
1203
+ number: "+33 (6)7 92 54 15 17",
1204
+ primary: true
1205
+ }],
1206
+ relationships: {
1207
+ groups: {
1208
+ data: [{
1209
+ _id: "group_id_work",
1210
+ _type: "io.cozy.contacts.groups"
1211
+ }, {
1212
+ _id: "group_id_family",
1213
+ _type: "io.cozy.contacts.groups"
1214
+ }]
1215
+ }
1216
+ }
1217
+ }, {
1218
+ _id: "7acdab81-52cb-46f6-9e81-42032e9843ae",
1219
+ _type: "io.cozy.contacts",
1220
+ address: [{
1221
+ city: "Richmond",
1222
+ country: "Finland",
1223
+ postcode: "60992",
1224
+ primary: true,
1225
+ street: "90 Crawford Street"
1226
+ }],
1227
+ birthday: "1969-06-06",
1228
+ email: [{
1229
+ address: "francis.flinn@fortyfour.xyz",
1230
+ primary: true
1231
+ }, {
1232
+ address: "stan.lenihan@hassifix.mobi",
1233
+ primary: false
1234
+ }],
1235
+ metadata: {
1236
+ version: 1
1237
+ },
1238
+ name: {
1239
+ familyName: "Flinn",
1240
+ givenName: "Francis"
1241
+ },
1242
+ phone: [{
1243
+ number: "+33 (2)1 24 07 51 43",
1244
+ primary: true
1245
+ }, {
1246
+ number: "+33 (4)9 32 20 32 87",
1247
+ primary: false
1248
+ }],
1249
+ relationships: {
1250
+ groups: {
1251
+ data: [{
1252
+ _id: "group_id_family",
1253
+ _type: "io.cozy.contacts.groups"
1254
+ }]
1255
+ }
1256
+ }
1257
+ }, {
1258
+ _id: "7cb3822f-3a2b-4978-9791-a1e19e792828",
1259
+ _type: "io.cozy.contacts",
1260
+ address: [{
1261
+ city: "Albany",
1262
+ country: "Singapore",
1263
+ postcode: "21285",
1264
+ primary: true,
1265
+ street: "51 Crawford Street"
1266
+ }],
1267
+ birthday: "1989-10-31",
1268
+ email: [{
1269
+ address: "raisa.cappel@zatheon.eu",
1270
+ primary: true
1271
+ }],
1272
+ metadata: {
1273
+ version: 1
1274
+ },
1275
+ name: {
1276
+ familyName: "Cappel",
1277
+ givenName: "Raisa"
1278
+ },
1279
+ phone: [{
1280
+ number: "+33 (2)3 69 80 63 05",
1281
+ primary: true
1282
+ }],
1283
+ relationships: {
1284
+ groups: {
1285
+ data: [{
1286
+ _id: "group_id_work",
1287
+ _type: "io.cozy.contacts.groups"
1288
+ }]
1289
+ }
1290
+ }
1291
+ }, {
1292
+ _id: "814f6f67-bcc0-498f-bb91-cab5ed315a12",
1293
+ _type: "io.cozy.contacts",
1294
+ address: [{
1295
+ city: "Nottingham",
1296
+ country: "Mauritania",
1297
+ postcode: "96737",
1298
+ primary: true,
1299
+ street: "41 Elton Way"
1300
+ }],
1301
+ birthday: "1988-03-07",
1302
+ email: [{
1303
+ address: "hannah.sager@haltheon.eu",
1304
+ primary: true
1305
+ }],
1306
+ name: {
1307
+ familyName: "Sager",
1308
+ givenName: "Hannah"
1309
+ },
1310
+ phone: [{
1311
+ number: "+33 (0)0 16 15 45 65",
1312
+ primary: true
1313
+ }]
1314
+ }, {
1315
+ _id: "823d1ca9-4b10-456f-a603-231e3de5a774",
1316
+ _type: "io.cozy.contacts",
1317
+ address: [{
1318
+ city: "Kingston",
1319
+ country: "Guatemala",
1320
+ postcode: "44220",
1321
+ primary: true,
1322
+ street: "5 Buckley Street"
1323
+ }],
1324
+ birthday: "1961-02-02",
1325
+ email: [{
1326
+ address: "aiden.smit@tomiatech.co",
1327
+ primary: true
1328
+ }],
1329
+ name: {
1330
+ familyName: "Smit",
1331
+ givenName: "Aiden"
1332
+ },
1333
+ phone: [{
1334
+ number: "+33 (6)9 42 00 67 88",
1335
+ primary: true
1336
+ }]
1337
+ }, {
1338
+ _id: "857a0db5-84ff-4efe-a16e-9fa6b6a843eb",
1339
+ _type: "io.cozy.contacts",
1340
+ address: [{
1341
+ city: "Birmingham",
1342
+ country: "Bouvet Island",
1343
+ postcode: "41090",
1344
+ primary: true,
1345
+ street: "88 Baker Street"
1346
+ }],
1347
+ birthday: "1999-11-12",
1348
+ email: [{
1349
+ address: "jenette.bourne@dynaair.mobi",
1350
+ primary: true
1351
+ }, {
1352
+ address: "darrell.zobel@anaplex.name",
1353
+ primary: false
1354
+ }],
1355
+ metadata: {
1356
+ version: 1
1357
+ },
1358
+ name: {
1359
+ familyName: "Bourne",
1360
+ givenName: "Jenette"
1361
+ },
1362
+ phone: [{
1363
+ number: "+33 (0)8 05 76 45 70",
1364
+ primary: true
1365
+ }, {
1366
+ number: "+33 (9)9 35 66 28 54",
1367
+ primary: false
1368
+ }],
1369
+ relationships: {
1370
+ groups: {
1371
+ data: [{
1372
+ _id: "group_id_family",
1373
+ _type: "io.cozy.contacts.groups"
1374
+ }]
1375
+ }
1376
+ }
1377
+ }, {
1378
+ _id: "8ba82505-25c3-4821-88df-2e11becc21e8",
1379
+ _type: "io.cozy.contacts",
1380
+ address: [{
1381
+ city: "Hartford",
1382
+ country: "Nepal",
1383
+ postcode: "73991",
1384
+ primary: true,
1385
+ street: "60 Buckley Street"
1386
+ }],
1387
+ birthday: "1985-12-20",
1388
+ email: [{
1389
+ address: "kurt.goudy@amsquare.edu",
1390
+ primary: true
1391
+ }],
1392
+ metadata: {
1393
+ version: 1
1394
+ },
1395
+ name: {
1396
+ familyName: "Goudy",
1397
+ givenName: "Kurt"
1398
+ },
1399
+ phone: [{
1400
+ number: "+33 (6)3 54 74 20 62",
1401
+ primary: true
1402
+ }],
1403
+ relationships: {
1404
+ groups: {
1405
+ data: [{
1406
+ _id: "group_id_work",
1407
+ _type: "io.cozy.contacts.groups"
1408
+ }]
1409
+ }
1410
+ }
1411
+ }, {
1412
+ _id: "8cbefa6a-41c9-4065-ad33-87618dfee702",
1413
+ _type: "io.cozy.contacts",
1414
+ address: [{
1415
+ city: "York",
1416
+ country: "Antigua and Barbuda",
1417
+ postcode: "67153",
1418
+ primary: true,
1419
+ street: "91 Grosvenor Square"
1420
+ }],
1421
+ birthday: "1998-11-21",
1422
+ email: [{
1423
+ address: "madeleine.verde@tomiatech.me",
1424
+ primary: true
1425
+ }, {
1426
+ address: "jenette.hyder@helixicon.edu",
1427
+ primary: false
1428
+ }],
1429
+ metadata: {
1430
+ version: 1
1431
+ },
1432
+ name: {
1433
+ familyName: "Verde",
1434
+ givenName: "Madeleine"
1435
+ },
1436
+ phone: [{
1437
+ number: "+33 (4)0 94 18 19 04",
1438
+ primary: true
1439
+ }, {
1440
+ number: "+33 (7)2 66 13 89 19",
1441
+ primary: false
1442
+ }],
1443
+ relationships: {
1444
+ groups: {
1445
+ data: [{
1446
+ _id: "group_id_family",
1447
+ _type: "io.cozy.contacts.groups"
1448
+ }]
1449
+ }
1450
+ }
1451
+ }, {
1452
+ _id: "9393e04d-90eb-4f47-b0d1-7cfd88ca9a3f",
1453
+ _type: "io.cozy.contacts",
1454
+ address: [{
1455
+ city: "Frankston",
1456
+ country: "Martinique",
1457
+ postcode: "29212",
1458
+ primary: true,
1459
+ street: "63 Dunstable Street"
1460
+ }],
1461
+ birthday: "1976-12-15",
1462
+ email: [{
1463
+ address: "madeleine.milling@acousticom.gov",
1464
+ primary: true
1465
+ }, {
1466
+ address: "cecilia.pullman@polycore.edu",
1467
+ primary: false
1468
+ }],
1469
+ metadata: {
1470
+ version: 1
1471
+ },
1472
+ name: {
1473
+ familyName: "Milling",
1474
+ givenName: "Madeleine"
1475
+ },
1476
+ phone: [{
1477
+ number: "+33 (4)0 61 39 16 43",
1478
+ primary: true
1479
+ }, {
1480
+ number: "+33 (9)7 54 31 00 91",
1481
+ primary: false
1482
+ }],
1483
+ relationships: {
1484
+ groups: {
1485
+ data: [{
1486
+ _id: "group_id_family",
1487
+ _type: "io.cozy.contacts.groups"
1488
+ }]
1489
+ }
1490
+ }
1491
+ }, {
1492
+ _id: "9b05f823-53fd-48b7-ba50-e2abf7aa20bc",
1493
+ _type: "io.cozy.contacts",
1494
+ address: [{
1495
+ city: "Lancaster",
1496
+ country: "Viet Nam",
1497
+ postcode: "32405",
1498
+ primary: true,
1499
+ street: "33 Wandle Street"
1500
+ }],
1501
+ birthday: "1961-08-01",
1502
+ email: [{
1503
+ address: "rosanne.chapman@peersys.gov",
1504
+ primary: true
1505
+ }],
1506
+ name: {
1507
+ familyName: "Chapman",
1508
+ givenName: "Rosanne"
1509
+ },
1510
+ phone: [{
1511
+ number: "+33 (8)1 50 82 04 53",
1512
+ primary: true
1513
+ }]
1514
+ }, {
1515
+ _id: "a68a9b3c-f3f7-4f94-b3f2-f2d0363895a5",
1516
+ _type: "io.cozy.contacts",
1517
+ address: [{
1518
+ city: "Sudbury",
1519
+ country: "Aruba",
1520
+ postcode: "34465",
1521
+ primary: true,
1522
+ street: "64 Glenn Drive"
1523
+ }],
1524
+ birthday: "1989-01-26",
1525
+ email: [{
1526
+ address: "isabelle.muldoon@fastmart.co",
1527
+ primary: true
1528
+ }],
1529
+ metadata: {
1530
+ version: 1
1531
+ },
1532
+ name: {
1533
+ familyName: "Muldoon",
1534
+ givenName: "Isabelle"
1535
+ },
1536
+ phone: [{
1537
+ number: "+33 (4)6 38 04 02 44",
1538
+ primary: true
1539
+ }],
1540
+ relationships: {
1541
+ groups: {
1542
+ data: [{
1543
+ _id: "group_id_work",
1544
+ _type: "io.cozy.contacts.groups"
1545
+ }]
1546
+ }
1547
+ }
1548
+ }, {
1549
+ _id: "a749ffad-068e-4772-9060-4cb9bd7e8039",
1550
+ _type: "io.cozy.contacts",
1551
+ address: [{
1552
+ city: "Melbourne",
1553
+ country: "Malawi",
1554
+ postcode: "16693",
1555
+ primary: true,
1556
+ street: "70 Glenn Drive"
1557
+ }],
1558
+ birthday: "1960-08-28",
1559
+ email: [{
1560
+ address: "warren.tindel@fortyfour.info",
1561
+ primary: true
1562
+ }],
1563
+ name: {
1564
+ familyName: "Tindel",
1565
+ givenName: "Warren"
1566
+ },
1567
+ phone: [{
1568
+ number: "+33 (6)7 00 31 47 81",
1569
+ primary: true
1570
+ }]
1571
+ }, {
1572
+ _id: "a83989ca-041d-4615-87e0-7d41f86acc5d",
1573
+ _type: "io.cozy.contacts",
1574
+ address: [{
1575
+ city: "Seattle",
1576
+ country: "Niue",
1577
+ postcode: "87611",
1578
+ primary: true,
1579
+ street: "42 Brook Street"
1580
+ }],
1581
+ birthday: "1954-07-26",
1582
+ email: [{
1583
+ address: "jamie.paschall@acousticom.me",
1584
+ primary: true
1585
+ }],
1586
+ name: {
1587
+ familyName: "Paschall",
1588
+ givenName: "Jamie"
1589
+ },
1590
+ phone: [{
1591
+ number: "+33 (4)9 34 94 87 29",
1592
+ primary: true
1593
+ }]
1594
+ }, {
1595
+ _id: "a9d28cf8-43a6-4fff-81a1-4a09048edf71",
1596
+ _type: "io.cozy.contacts",
1597
+ address: [{
1598
+ city: "Vancouver",
1599
+ country: "Armenia",
1600
+ postcode: "27393",
1601
+ primary: true,
1602
+ street: "62 Marsham Street"
1603
+ }],
1604
+ birthday: "1955-09-22",
1605
+ email: [{
1606
+ address: "rico.bourne@citisys.org",
1607
+ primary: true
1608
+ }],
1609
+ metadata: {
1610
+ version: 1
1611
+ },
1612
+ name: {
1613
+ familyName: "Bourne",
1614
+ givenName: "Rico"
1615
+ },
1616
+ phone: [{
1617
+ number: "+33 (1)4 84 34 52 44",
1618
+ primary: true
1619
+ }],
1620
+ relationships: {
1621
+ groups: {
1622
+ data: [{
1623
+ _id: "group_id_work",
1624
+ _type: "io.cozy.contacts.groups"
1625
+ }]
1626
+ }
1627
+ }
1628
+ }, {
1629
+ _id: "b21e4b4b-1df9-4992-b39b-cf844df864d5",
1630
+ _type: "io.cozy.contacts",
1631
+ address: [{
1632
+ city: "Cleveland",
1633
+ country: "United States of America",
1634
+ postcode: "15748",
1635
+ primary: true,
1636
+ street: "85 Grosvenor Square"
1637
+ }],
1638
+ email: [{
1639
+ address: "rico.murphy@triosys.info",
1640
+ primary: true
1641
+ }],
1642
+ metadata: {
1643
+ version: 1
1644
+ },
1645
+ name: {
1646
+ givenName: "TrioSys"
1647
+ },
1648
+ phone: [{
1649
+ number: "+33 (6)3 45 36 56 40",
1650
+ primary: true
1651
+ }],
1652
+ relationships: {
1653
+ groups: {
1654
+ data: [{
1655
+ _id: "group_id_work",
1656
+ _type: "io.cozy.contacts.groups"
1657
+ }, {
1658
+ _id: "group_id_family",
1659
+ _type: "io.cozy.contacts.groups"
1660
+ }]
1661
+ }
1662
+ }
1663
+ }, {
1664
+ _id: "b6f5fc43-4199-4cca-8372-d1fe4e75a168",
1665
+ _type: "io.cozy.contacts",
1666
+ address: [{
1667
+ city: "Boston",
1668
+ country: "Saint Pierre and Miquelon",
1669
+ postcode: "23731",
1670
+ primary: true,
1671
+ street: "70 Beechmont Parkway"
1672
+ }],
1673
+ birthday: "1989-08-11",
1674
+ email: [{
1675
+ address: "gavin.wallis@infratouch.biz",
1676
+ primary: true
1677
+ }],
1678
+ metadata: {
1679
+ version: 1
1680
+ },
1681
+ name: {
1682
+ familyName: "Wallis",
1683
+ givenName: "Gavin"
1684
+ },
1685
+ phone: [{
1686
+ number: "+33 (2)4 15 56 27 30",
1687
+ primary: true
1688
+ }],
1689
+ relationships: {
1690
+ groups: {
1691
+ data: [{
1692
+ _id: "group_id_work",
1693
+ _type: "io.cozy.contacts.groups"
1694
+ }]
1695
+ }
1696
+ }
1697
+ }, {
1698
+ _id: "c55c831a-9869-4e14-b3aa-d004bced41b0",
1699
+ _type: "io.cozy.contacts",
1700
+ address: [{
1701
+ city: "Cleveland",
1702
+ country: "Liechtenstein",
1703
+ postcode: "61719",
1704
+ primary: true,
1705
+ street: "50 Green Street"
1706
+ }],
1707
+ birthday: "1963-10-08",
1708
+ email: [{
1709
+ address: "neida.remus@dynalab.club",
1710
+ primary: true
1711
+ }],
1712
+ name: {
1713
+ familyName: "Remus",
1714
+ givenName: "Neida"
1715
+ },
1716
+ phone: [{
1717
+ number: "+33 (5)6 42 50 42 12",
1718
+ primary: true
1719
+ }]
1720
+ }, {
1721
+ _id: "d0c565de-f440-4d2f-83db-0e3d75f49d23",
1722
+ _type: "io.cozy.contacts",
1723
+ address: [{
1724
+ city: "Waterbury",
1725
+ country: "British Indian Ocean Territory",
1726
+ postcode: "29412",
1727
+ primary: true,
1728
+ street: "68 Rutland Drive"
1729
+ }],
1730
+ birthday: "1972-07-31",
1731
+ email: [{
1732
+ address: "rosanne.bourne@creatonix.xyz",
1733
+ primary: true
1734
+ }],
1735
+ name: {
1736
+ familyName: "Bourne",
1737
+ givenName: "Rosanne"
1738
+ },
1739
+ phone: [{
1740
+ number: "+33 (1)3 93 75 09 69",
1741
+ primary: true
1742
+ }]
1743
+ }, {
1744
+ _id: "d2bda580-4df6-473e-89db-2af41364c44e",
1745
+ _type: "io.cozy.contacts",
1746
+ address: [{
1747
+ city: "Hobart",
1748
+ country: "Romania",
1749
+ postcode: "79805",
1750
+ primary: true,
1751
+ street: "1 Mount Street"
1752
+ }],
1753
+ email: [{
1754
+ address: "anton.brandt@westercom.me",
1755
+ primary: true
1756
+ }],
1757
+ metadata: {
1758
+ version: 1
1759
+ },
1760
+ name: {
1761
+ givenName: "Westercom"
1762
+ },
1763
+ phone: [{
1764
+ number: "+33 (2)6 47 62 10 86",
1765
+ primary: true
1766
+ }],
1767
+ relationships: {
1768
+ groups: {
1769
+ data: [{
1770
+ _id: "group_id_work",
1771
+ _type: "io.cozy.contacts.groups"
1772
+ }, {
1773
+ _id: "group_id_family",
1774
+ _type: "io.cozy.contacts.groups"
1775
+ }]
1776
+ }
1777
+ }
1778
+ }, {
1779
+ _id: "d50b7eea-6e71-4348-ad75-fc791d7a82d4",
1780
+ _type: "io.cozy.contacts",
1781
+ address: [{
1782
+ city: "Fargo",
1783
+ country: "Angola",
1784
+ postcode: "52889",
1785
+ primary: true,
1786
+ street: "34 Paxton Street"
1787
+ }],
1788
+ birthday: "1979-05-07",
1789
+ email: [{
1790
+ address: "rico.magby@freecast.eu",
1791
+ primary: true
1792
+ }, {
1793
+ address: "myong.brandt@lexiconlabs.org",
1794
+ primary: false
1795
+ }],
1796
+ metadata: {
1797
+ version: 1
1798
+ },
1799
+ name: {
1800
+ familyName: "Magby",
1801
+ givenName: "Rico"
1802
+ },
1803
+ phone: [{
1804
+ number: "+33 (3)4 20 14 07 04",
1805
+ primary: true
1806
+ }, {
1807
+ number: "+33 (9)4 63 79 76 97",
1808
+ primary: false
1809
+ }],
1810
+ relationships: {
1811
+ groups: {
1812
+ data: [{
1813
+ _id: "group_id_family",
1814
+ _type: "io.cozy.contacts.groups"
1815
+ }]
1816
+ }
1817
+ }
1818
+ }, {
1819
+ _id: "e93c6abd-4819-4873-b7fb-ea46e02816a2",
1820
+ _type: "io.cozy.contacts",
1821
+ address: [{
1822
+ city: "Plymouth",
1823
+ country: "Mongolia",
1824
+ postcode: "18222",
1825
+ primary: true,
1826
+ street: "66 Orchard Road"
1827
+ }],
1828
+ birthday: "1978-04-22",
1829
+ email: [{
1830
+ address: "raylene.wallis@corerobotics.name",
1831
+ primary: true
1832
+ }],
1833
+ metadata: {
1834
+ version: 1
1835
+ },
1836
+ name: {
1837
+ familyName: "Wallis",
1838
+ givenName: "Raylene"
1839
+ },
1840
+ phone: [{
1841
+ number: "+33 (8)2 20 49 87 28",
1842
+ primary: true
1843
+ }],
1844
+ relationships: {
1845
+ groups: {
1846
+ data: [{
1847
+ _id: "group_id_work",
1848
+ _type: "io.cozy.contacts.groups"
1849
+ }]
1850
+ }
1851
+ }
1852
+ }, {
1853
+ _id: "f330db30-2c2b-4621-b40f-25bb737e2eba",
1854
+ _type: "io.cozy.contacts",
1855
+ address: [{
1856
+ city: "Boston",
1857
+ country: "Saint Pierre and Miquelon",
1858
+ postcode: "04284",
1859
+ primary: true,
1860
+ street: "19 Mount Street"
1861
+ }],
1862
+ birthday: "1950-01-18",
1863
+ email: [{
1864
+ address: "lyn.hollis@citisys.biz",
1865
+ primary: true
1866
+ }, {
1867
+ address: "edward.pace@mediadime.net",
1868
+ primary: false
1869
+ }],
1870
+ metadata: {
1871
+ version: 1
1872
+ },
1873
+ name: {
1874
+ familyName: "Hollis",
1875
+ givenName: "Lyn"
1876
+ },
1877
+ phone: [{
1878
+ number: "+33 (8)8 32 79 16 61",
1879
+ primary: true
1880
+ }, {
1881
+ number: "+33 (7)9 69 80 25 08",
1882
+ primary: false
1883
+ }],
1884
+ relationships: {
1885
+ groups: {
1886
+ data: [{
1887
+ _id: "group_id_family",
1888
+ _type: "io.cozy.contacts.groups"
1889
+ }]
1890
+ }
1891
+ }
1892
+ }, {
1893
+ _id: "f87951a3-f887-498c-b683-efbf59221da0",
1894
+ _type: "io.cozy.contacts",
1895
+ address: [{
1896
+ city: "Pheonix",
1897
+ country: "Madagascar",
1898
+ postcode: "83764",
1899
+ primary: true,
1900
+ street: "5 Harvard Avenue"
1901
+ }],
1902
+ birthday: "1975-04-11",
1903
+ email: [{
1904
+ address: "marcus.milligan@fortyfour.me",
1905
+ primary: true
1906
+ }],
1907
+ metadata: {
1908
+ version: 1
1909
+ },
1910
+ name: {
1911
+ familyName: "Milligan",
1912
+ givenName: "Marcus"
1913
+ },
1914
+ phone: [{
1915
+ number: "+33 (6)8 38 98 96 07",
1916
+ primary: true
1917
+ }],
1918
+ relationships: {
1919
+ groups: {
1920
+ data: [{
1921
+ _id: "group_id_work",
1922
+ _type: "io.cozy.contacts.groups"
1923
+ }]
1924
+ }
1925
+ }
1926
+ }, {
1927
+ _id: "fc1f5295-a7e9-431c-a3cb-70259edd81e0",
1928
+ _type: "io.cozy.contacts",
1929
+ address: [{
1930
+ city: "Portsmouth",
1931
+ country: "Bonaire, Sint Eustatius and Saba",
1932
+ postcode: "52481",
1933
+ primary: true,
1934
+ street: "44 Prospect Place"
1935
+ }],
1936
+ email: [{
1937
+ address: "grace.muldoon@coremax.xyz",
1938
+ primary: true
1939
+ }],
1940
+ metadata: {
1941
+ version: 1
1942
+ },
1943
+ name: {
1944
+ givenName: "CoreMax"
1945
+ },
1946
+ phone: [{
1947
+ number: "+33 (8)1 17 99 91 53",
1948
+ primary: true
1949
+ }],
1950
+ relationships: {
1951
+ groups: {
1952
+ data: [{
1953
+ _id: "group_id_work",
1954
+ _type: "io.cozy.contacts.groups"
1955
+ }, {
1956
+ _id: "group_id_family",
1957
+ _type: "io.cozy.contacts.groups"
1958
+ }]
1959
+ }
1960
+ }
1961
+ }];
1962
+ var mockClient = new _cozyClient.default({
1963
+ uri: 'http://cozy.tools:8080',
1964
+ token: 'faketoken'
1965
+ });
1966
+
1967
+ mockClient.__proto__.requestQuery = function (_ref) {
1968
+ var doctype = _ref.doctype;
1969
+
1970
+ if (doctype === 'io.cozy.contacts') {
1971
+ return Promise.resolve({
1972
+ fetchStatus: 'loaded',
1973
+ data: contacts
1974
+ });
1975
+ }
1976
+
1977
+ if (doctype === 'io.cozy.apps') {
1978
+ return Promise.resolve({
1979
+ fetchStatus: 'loaded',
1980
+ data: [{
1981
+ _id: 'io.cozy.apps/contacts',
1982
+ _type: 'io.cozy.apps',
1983
+ attributes: {
1984
+ slug: 'contacts'
1985
+ },
1986
+ links: {
1987
+ related: 'http://contacts.cozy.tools:8080/'
1988
+ }
1989
+ }]
1990
+ });
1991
+ }
1992
+ };
1993
+
1994
+ mockClient.plugins = {
1995
+ realtime: {
1996
+ subscribe: function subscribe() {},
1997
+ unsubscribe: function unsubscribe() {},
1998
+ unsubscribeAll: function unsubscribeAll() {}
1999
+ }
2000
+ };
2001
+
2002
+ mockClient.save = function () {
2003
+ return {
2004
+ data: contacts[0]
2005
+ };
2006
+ };
2007
+
2008
+ var _default = mockClient;
2009
+ exports.default = _default;