@payloadcms/next 4.0.0-canary.0 → 4.0.0-canary.1

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 (667) hide show
  1. package/dist/adapters/handleServerFunctions.d.ts +2 -0
  2. package/dist/adapters/handleServerFunctions.d.ts.map +1 -0
  3. package/dist/adapters/handleServerFunctions.js +6 -0
  4. package/dist/adapters/handleServerFunctions.js.map +1 -0
  5. package/dist/adapters/metadata.d.ts.map +1 -0
  6. package/dist/adapters/metadata.js +21 -0
  7. package/dist/adapters/metadata.js.map +1 -0
  8. package/dist/adapters/views.d.ts +16 -0
  9. package/dist/adapters/views.d.ts.map +1 -0
  10. package/dist/adapters/views.js +23 -0
  11. package/dist/adapters/views.js.map +1 -0
  12. package/dist/cjs/withPayload.cjs +1 -0
  13. package/dist/cjs/withPayload.cjs.map +3 -3
  14. package/dist/exports/layouts.d.ts +1 -1
  15. package/dist/exports/layouts.d.ts.map +1 -1
  16. package/dist/exports/layouts.js +1 -1
  17. package/dist/exports/layouts.js.map +1 -1
  18. package/dist/exports/utilities.d.ts +0 -3
  19. package/dist/exports/utilities.d.ts.map +1 -1
  20. package/dist/exports/utilities.js +0 -2
  21. package/dist/exports/utilities.js.map +1 -1
  22. package/dist/exports/views.d.ts +2 -9
  23. package/dist/exports/views.d.ts.map +1 -1
  24. package/dist/exports/views.js +2 -9
  25. package/dist/exports/views.js.map +1 -1
  26. package/dist/prod/styles.css +1 -1
  27. package/dist/withPayload/withPayload.d.ts.map +1 -1
  28. package/dist/withPayload/withPayload.js +1 -0
  29. package/dist/withPayload/withPayload.js.map +1 -1
  30. package/dist/withPayload/withPayload.spec.js +14 -0
  31. package/dist/withPayload/withPayload.spec.js.map +1 -1
  32. package/package.json +7 -7
  33. package/dist/utilities/getHierarchyAncestry.d.ts +0 -24
  34. package/dist/utilities/getHierarchyAncestry.d.ts.map +0 -1
  35. package/dist/utilities/getHierarchyAncestry.js +0 -103
  36. package/dist/utilities/getHierarchyAncestry.js.map +0 -1
  37. package/dist/utilities/getPayloadHMR.d.ts +0 -11
  38. package/dist/utilities/getPayloadHMR.d.ts.map +0 -1
  39. package/dist/utilities/getPayloadHMR.js +0 -15
  40. package/dist/utilities/getPayloadHMR.js.map +0 -1
  41. package/dist/utilities/getRouteWithoutAdmin.d.ts +0 -5
  42. package/dist/utilities/getRouteWithoutAdmin.d.ts.map +0 -1
  43. package/dist/utilities/getRouteWithoutAdmin.js +0 -7
  44. package/dist/utilities/getRouteWithoutAdmin.js.map +0 -1
  45. package/dist/utilities/handleAuthRedirect.d.ts +0 -12
  46. package/dist/utilities/handleAuthRedirect.d.ts.map +0 -1
  47. package/dist/utilities/handleAuthRedirect.js +0 -41
  48. package/dist/utilities/handleAuthRedirect.js.map +0 -1
  49. package/dist/utilities/handleServerFunctions.d.ts +0 -3
  50. package/dist/utilities/handleServerFunctions.d.ts.map +0 -1
  51. package/dist/utilities/handleServerFunctions.js +0 -62
  52. package/dist/utilities/handleServerFunctions.js.map +0 -1
  53. package/dist/utilities/isCustomAdminView.d.ts +0 -10
  54. package/dist/utilities/isCustomAdminView.d.ts.map +0 -1
  55. package/dist/utilities/isCustomAdminView.js +0 -31
  56. package/dist/utilities/isCustomAdminView.js.map +0 -1
  57. package/dist/utilities/isCustomAdminView.spec.js +0 -90
  58. package/dist/utilities/isCustomAdminView.spec.js.map +0 -1
  59. package/dist/utilities/isPublicAdminRoute.d.ts +0 -7
  60. package/dist/utilities/isPublicAdminRoute.d.ts.map +0 -1
  61. package/dist/utilities/isPublicAdminRoute.js +0 -25
  62. package/dist/utilities/isPublicAdminRoute.js.map +0 -1
  63. package/dist/utilities/meta.d.ts +0 -6
  64. package/dist/utilities/meta.d.ts.map +0 -1
  65. package/dist/utilities/meta.js +0 -105
  66. package/dist/utilities/meta.js.map +0 -1
  67. package/dist/utilities/meta.spec.js +0 -83
  68. package/dist/utilities/meta.spec.js.map +0 -1
  69. package/dist/utilities/slugify.d.ts +0 -15
  70. package/dist/utilities/slugify.d.ts.map +0 -1
  71. package/dist/utilities/slugify.js +0 -47
  72. package/dist/utilities/slugify.js.map +0 -1
  73. package/dist/utilities/switchLanguageHandler.d.ts +0 -13
  74. package/dist/utilities/switchLanguageHandler.d.ts.map +0 -1
  75. package/dist/utilities/switchLanguageHandler.js +0 -16
  76. package/dist/utilities/switchLanguageHandler.js.map +0 -1
  77. package/dist/utilities/timestamp.d.ts +0 -2
  78. package/dist/utilities/timestamp.d.ts.map +0 -1
  79. package/dist/utilities/timestamp.js +0 -8
  80. package/dist/utilities/timestamp.js.map +0 -1
  81. package/dist/views/API/LocaleSelector/index.d.ts +0 -9
  82. package/dist/views/API/LocaleSelector/index.d.ts.map +0 -1
  83. package/dist/views/API/LocaleSelector/index.js +0 -44
  84. package/dist/views/API/LocaleSelector/index.js.map +0 -1
  85. package/dist/views/API/index.client.d.ts +0 -4
  86. package/dist/views/API/index.client.d.ts.map +0 -1
  87. package/dist/views/API/index.client.js +0 -249
  88. package/dist/views/API/index.client.js.map +0 -1
  89. package/dist/views/API/index.css +0 -205
  90. package/dist/views/API/index.d.ts +0 -4
  91. package/dist/views/API/index.d.ts.map +0 -1
  92. package/dist/views/API/index.js +0 -7
  93. package/dist/views/API/index.js.map +0 -1
  94. package/dist/views/API/metadata.d.ts +0 -6
  95. package/dist/views/API/metadata.d.ts.map +0 -1
  96. package/dist/views/API/metadata.js +0 -29
  97. package/dist/views/API/metadata.js.map +0 -1
  98. package/dist/views/Account/ResetPreferences/index.d.ts +0 -5
  99. package/dist/views/Account/ResetPreferences/index.d.ts.map +0 -1
  100. package/dist/views/Account/ResetPreferences/index.js +0 -110
  101. package/dist/views/Account/ResetPreferences/index.js.map +0 -1
  102. package/dist/views/Account/Settings/LanguageSelector.d.ts +0 -6
  103. package/dist/views/Account/Settings/LanguageSelector.d.ts.map +0 -1
  104. package/dist/views/Account/Settings/LanguageSelector.js +0 -52
  105. package/dist/views/Account/Settings/LanguageSelector.js.map +0 -1
  106. package/dist/views/Account/Settings/index.css +0 -26
  107. package/dist/views/Account/Settings/index.d.ts +0 -13
  108. package/dist/views/Account/Settings/index.d.ts.map +0 -1
  109. package/dist/views/Account/Settings/index.js +0 -34
  110. package/dist/views/Account/Settings/index.js.map +0 -1
  111. package/dist/views/Account/ToggleHighContrast/index.d.ts +0 -3
  112. package/dist/views/Account/ToggleHighContrast/index.d.ts.map +0 -1
  113. package/dist/views/Account/ToggleHighContrast/index.js +0 -45
  114. package/dist/views/Account/ToggleHighContrast/index.js.map +0 -1
  115. package/dist/views/Account/ToggleTheme/index.d.ts +0 -3
  116. package/dist/views/Account/ToggleTheme/index.d.ts.map +0 -1
  117. package/dist/views/Account/ToggleTheme/index.js +0 -60
  118. package/dist/views/Account/ToggleTheme/index.js.map +0 -1
  119. package/dist/views/Account/index.client.d.ts +0 -3
  120. package/dist/views/Account/index.client.d.ts.map +0 -1
  121. package/dist/views/Account/index.client.js +0 -37
  122. package/dist/views/Account/index.client.js.map +0 -1
  123. package/dist/views/Account/index.d.ts +0 -4
  124. package/dist/views/Account/index.d.ts.map +0 -1
  125. package/dist/views/Account/index.js +0 -183
  126. package/dist/views/Account/index.js.map +0 -1
  127. package/dist/views/Account/metadata.d.ts +0 -3
  128. package/dist/views/Account/metadata.d.ts.map +0 -1
  129. package/dist/views/Account/metadata.js +0 -14
  130. package/dist/views/Account/metadata.js.map +0 -1
  131. package/dist/views/CollectionTrash/index.d.ts +0 -18
  132. package/dist/views/CollectionTrash/index.d.ts.map +0 -1
  133. package/dist/views/CollectionTrash/index.js +0 -21
  134. package/dist/views/CollectionTrash/index.js.map +0 -1
  135. package/dist/views/CollectionTrash/metadata.d.ts +0 -7
  136. package/dist/views/CollectionTrash/metadata.d.ts.map +0 -1
  137. package/dist/views/CollectionTrash/metadata.js +0 -25
  138. package/dist/views/CollectionTrash/metadata.js.map +0 -1
  139. package/dist/views/CreateFirstUser/index.client.d.ts +0 -10
  140. package/dist/views/CreateFirstUser/index.client.d.ts.map +0 -1
  141. package/dist/views/CreateFirstUser/index.client.js +0 -119
  142. package/dist/views/CreateFirstUser/index.client.js.map +0 -1
  143. package/dist/views/CreateFirstUser/index.css +0 -69
  144. package/dist/views/CreateFirstUser/index.d.ts +0 -5
  145. package/dist/views/CreateFirstUser/index.d.ts.map +0 -1
  146. package/dist/views/CreateFirstUser/index.js +0 -92
  147. package/dist/views/CreateFirstUser/index.js.map +0 -1
  148. package/dist/views/CreateFirstUser/metadata.d.ts +0 -3
  149. package/dist/views/CreateFirstUser/metadata.d.ts.map +0 -1
  150. package/dist/views/CreateFirstUser/metadata.js +0 -14
  151. package/dist/views/CreateFirstUser/metadata.js.map +0 -1
  152. package/dist/views/Dashboard/Default/ModularDashboard/DashboardStepNav.d.ts +0 -19
  153. package/dist/views/Dashboard/Default/ModularDashboard/DashboardStepNav.d.ts.map +0 -1
  154. package/dist/views/Dashboard/Default/ModularDashboard/DashboardStepNav.js +0 -209
  155. package/dist/views/Dashboard/Default/ModularDashboard/DashboardStepNav.js.map +0 -1
  156. package/dist/views/Dashboard/Default/ModularDashboard/WidgetConfigDrawer.d.ts +0 -11
  157. package/dist/views/Dashboard/Default/ModularDashboard/WidgetConfigDrawer.d.ts.map +0 -1
  158. package/dist/views/Dashboard/Default/ModularDashboard/WidgetConfigDrawer.js +0 -131
  159. package/dist/views/Dashboard/Default/ModularDashboard/WidgetConfigDrawer.js.map +0 -1
  160. package/dist/views/Dashboard/Default/ModularDashboard/WidgetEditControl.d.ts +0 -8
  161. package/dist/views/Dashboard/Default/ModularDashboard/WidgetEditControl.d.ts.map +0 -1
  162. package/dist/views/Dashboard/Default/ModularDashboard/WidgetEditControl.js +0 -78
  163. package/dist/views/Dashboard/Default/ModularDashboard/WidgetEditControl.js.map +0 -1
  164. package/dist/views/Dashboard/Default/ModularDashboard/index.client.d.ts +0 -22
  165. package/dist/views/Dashboard/Default/ModularDashboard/index.client.d.ts.map +0 -1
  166. package/dist/views/Dashboard/Default/ModularDashboard/index.client.js +0 -440
  167. package/dist/views/Dashboard/Default/ModularDashboard/index.client.js.map +0 -1
  168. package/dist/views/Dashboard/Default/ModularDashboard/index.css +0 -299
  169. package/dist/views/Dashboard/Default/ModularDashboard/index.d.ts +0 -5
  170. package/dist/views/Dashboard/Default/ModularDashboard/index.d.ts.map +0 -1
  171. package/dist/views/Dashboard/Default/ModularDashboard/index.js +0 -72
  172. package/dist/views/Dashboard/Default/ModularDashboard/index.js.map +0 -1
  173. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/RenderWidget.d.ts +0 -15
  174. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/RenderWidget.d.ts.map +0 -1
  175. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/RenderWidget.js +0 -106
  176. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/RenderWidget.js.map +0 -1
  177. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/getDefaultLayoutServerFn.d.ts +0 -12
  178. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/getDefaultLayoutServerFn.d.ts.map +0 -1
  179. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/getDefaultLayoutServerFn.js +0 -65
  180. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/getDefaultLayoutServerFn.js.map +0 -1
  181. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/renderWidgetServerFn.d.ts +0 -21
  182. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/renderWidgetServerFn.d.ts.map +0 -1
  183. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/renderWidgetServerFn.js +0 -80
  184. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/renderWidgetServerFn.js.map +0 -1
  185. package/dist/views/Dashboard/Default/ModularDashboard/useDashboardLayout.d.ts +0 -21
  186. package/dist/views/Dashboard/Default/ModularDashboard/useDashboardLayout.d.ts.map +0 -1
  187. package/dist/views/Dashboard/Default/ModularDashboard/useDashboardLayout.js +0 -188
  188. package/dist/views/Dashboard/Default/ModularDashboard/useDashboardLayout.js.map +0 -1
  189. package/dist/views/Dashboard/Default/ModularDashboard/utils/collisionDetection.d.ts +0 -7
  190. package/dist/views/Dashboard/Default/ModularDashboard/utils/collisionDetection.d.ts.map +0 -1
  191. package/dist/views/Dashboard/Default/ModularDashboard/utils/collisionDetection.js +0 -38
  192. package/dist/views/Dashboard/Default/ModularDashboard/utils/collisionDetection.js.map +0 -1
  193. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromConfig.d.ts +0 -4
  194. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromConfig.d.ts.map +0 -1
  195. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromConfig.js +0 -21
  196. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromConfig.js.map +0 -1
  197. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromPreferences.d.ts +0 -4
  198. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromPreferences.d.ts.map +0 -1
  199. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromPreferences.js +0 -10
  200. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromPreferences.js.map +0 -1
  201. package/dist/views/Dashboard/Default/ModularDashboard/utils/localeUtils.d.ts +0 -23
  202. package/dist/views/Dashboard/Default/ModularDashboard/utils/localeUtils.d.ts.map +0 -1
  203. package/dist/views/Dashboard/Default/ModularDashboard/utils/localeUtils.js +0 -103
  204. package/dist/views/Dashboard/Default/ModularDashboard/utils/localeUtils.js.map +0 -1
  205. package/dist/views/Dashboard/Default/ModularDashboard/utils/sensors.d.ts +0 -2
  206. package/dist/views/Dashboard/Default/ModularDashboard/utils/sensors.d.ts.map +0 -1
  207. package/dist/views/Dashboard/Default/ModularDashboard/utils/sensors.js +0 -269
  208. package/dist/views/Dashboard/Default/ModularDashboard/utils/sensors.js.map +0 -1
  209. package/dist/views/Dashboard/Default/index.d.ts +0 -21
  210. package/dist/views/Dashboard/Default/index.d.ts.map +0 -1
  211. package/dist/views/Dashboard/Default/index.js +0 -55
  212. package/dist/views/Dashboard/Default/index.js.map +0 -1
  213. package/dist/views/Dashboard/index.d.ts +0 -4
  214. package/dist/views/Dashboard/index.d.ts.map +0 -1
  215. package/dist/views/Dashboard/index.js +0 -51
  216. package/dist/views/Dashboard/index.js.map +0 -1
  217. package/dist/views/Dashboard/metadata.d.ts +0 -3
  218. package/dist/views/Dashboard/metadata.d.ts.map +0 -1
  219. package/dist/views/Dashboard/metadata.js +0 -16
  220. package/dist/views/Dashboard/metadata.js.map +0 -1
  221. package/dist/views/Document/getCustomDocumentViewByKey.d.ts +0 -3
  222. package/dist/views/Document/getCustomDocumentViewByKey.d.ts.map +0 -1
  223. package/dist/views/Document/getCustomDocumentViewByKey.js +0 -4
  224. package/dist/views/Document/getCustomDocumentViewByKey.js.map +0 -1
  225. package/dist/views/Document/getCustomViewByRoute.d.ts +0 -10
  226. package/dist/views/Document/getCustomViewByRoute.d.ts.map +0 -1
  227. package/dist/views/Document/getCustomViewByRoute.js +0 -35
  228. package/dist/views/Document/getCustomViewByRoute.js.map +0 -1
  229. package/dist/views/Document/getDocPreferences.d.ts +0 -11
  230. package/dist/views/Document/getDocPreferences.d.ts.map +0 -1
  231. package/dist/views/Document/getDocPreferences.js +0 -45
  232. package/dist/views/Document/getDocPreferences.js.map +0 -1
  233. package/dist/views/Document/getDocumentData.d.ts +0 -14
  234. package/dist/views/Document/getDocumentData.d.ts.map +0 -1
  235. package/dist/views/Document/getDocumentData.js +0 -60
  236. package/dist/views/Document/getDocumentData.js.map +0 -1
  237. package/dist/views/Document/getDocumentPermissions.d.ts +0 -18
  238. package/dist/views/Document/getDocumentPermissions.d.ts.map +0 -1
  239. package/dist/views/Document/getDocumentPermissions.js +0 -124
  240. package/dist/views/Document/getDocumentPermissions.js.map +0 -1
  241. package/dist/views/Document/getDocumentView.d.ts +0 -18
  242. package/dist/views/Document/getDocumentView.d.ts.map +0 -1
  243. package/dist/views/Document/getDocumentView.js +0 -304
  244. package/dist/views/Document/getDocumentView.js.map +0 -1
  245. package/dist/views/Document/getIsLocked.d.ts +0 -16
  246. package/dist/views/Document/getIsLocked.d.ts.map +0 -1
  247. package/dist/views/Document/getIsLocked.js +0 -79
  248. package/dist/views/Document/getIsLocked.js.map +0 -1
  249. package/dist/views/Document/getMetaBySegment.d.ts +0 -11
  250. package/dist/views/Document/getMetaBySegment.d.ts.map +0 -1
  251. package/dist/views/Document/getMetaBySegment.js +0 -150
  252. package/dist/views/Document/getMetaBySegment.js.map +0 -1
  253. package/dist/views/Document/getVersions.d.ts +0 -26
  254. package/dist/views/Document/getVersions.d.ts.map +0 -1
  255. package/dist/views/Document/getVersions.js +0 -230
  256. package/dist/views/Document/getVersions.js.map +0 -1
  257. package/dist/views/Document/handleServerFunction.d.ts +0 -3
  258. package/dist/views/Document/handleServerFunction.d.ts.map +0 -1
  259. package/dist/views/Document/handleServerFunction.js +0 -134
  260. package/dist/views/Document/handleServerFunction.js.map +0 -1
  261. package/dist/views/Document/index.d.ts +0 -25
  262. package/dist/views/Document/index.d.ts.map +0 -1
  263. package/dist/views/Document/index.js +0 -397
  264. package/dist/views/Document/index.js.map +0 -1
  265. package/dist/views/Document/metadata.d.ts +0 -3
  266. package/dist/views/Document/metadata.d.ts.map +0 -1
  267. package/dist/views/Document/metadata.js +0 -3
  268. package/dist/views/Document/metadata.js.map +0 -1
  269. package/dist/views/Document/renderDocumentSlots.d.ts +0 -15
  270. package/dist/views/Document/renderDocumentSlots.d.ts.map +0 -1
  271. package/dist/views/Document/renderDocumentSlots.js +0 -178
  272. package/dist/views/Document/renderDocumentSlots.js.map +0 -1
  273. package/dist/views/Edit/index.d.ts +0 -4
  274. package/dist/views/Edit/index.d.ts.map +0 -1
  275. package/dist/views/Edit/index.js +0 -11
  276. package/dist/views/Edit/index.js.map +0 -1
  277. package/dist/views/Edit/metadata.d.ts +0 -6
  278. package/dist/views/Edit/metadata.d.ts.map +0 -1
  279. package/dist/views/Edit/metadata.js +0 -52
  280. package/dist/views/Edit/metadata.js.map +0 -1
  281. package/dist/views/ForgotPassword/ForgotPasswordForm/index.css +0 -36
  282. package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts +0 -4
  283. package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts.map +0 -1
  284. package/dist/views/ForgotPassword/ForgotPasswordForm/index.js +0 -189
  285. package/dist/views/ForgotPassword/ForgotPasswordForm/index.js.map +0 -1
  286. package/dist/views/ForgotPassword/index.css +0 -21
  287. package/dist/views/ForgotPassword/index.d.ts +0 -6
  288. package/dist/views/ForgotPassword/index.d.ts.map +0 -1
  289. package/dist/views/ForgotPassword/index.js +0 -75
  290. package/dist/views/ForgotPassword/index.js.map +0 -1
  291. package/dist/views/ForgotPassword/metadata.d.ts +0 -3
  292. package/dist/views/ForgotPassword/metadata.d.ts.map +0 -1
  293. package/dist/views/ForgotPassword/metadata.js +0 -14
  294. package/dist/views/ForgotPassword/metadata.js.map +0 -1
  295. package/dist/views/Hierarchy/index.d.ts +0 -18
  296. package/dist/views/Hierarchy/index.d.ts.map +0 -1
  297. package/dist/views/Hierarchy/index.js +0 -20
  298. package/dist/views/Hierarchy/index.js.map +0 -1
  299. package/dist/views/List/createSerializableValue.d.ts +0 -2
  300. package/dist/views/List/createSerializableValue.d.ts.map +0 -1
  301. package/dist/views/List/createSerializableValue.js +0 -14
  302. package/dist/views/List/createSerializableValue.js.map +0 -1
  303. package/dist/views/List/enrichDocsWithVersionStatus.d.ts +0 -14
  304. package/dist/views/List/enrichDocsWithVersionStatus.d.ts.map +0 -1
  305. package/dist/views/List/enrichDocsWithVersionStatus.js +0 -96
  306. package/dist/views/List/enrichDocsWithVersionStatus.js.map +0 -1
  307. package/dist/views/List/extractRelationshipDisplayValue.d.ts +0 -3
  308. package/dist/views/List/extractRelationshipDisplayValue.d.ts.map +0 -1
  309. package/dist/views/List/extractRelationshipDisplayValue.js +0 -17
  310. package/dist/views/List/extractRelationshipDisplayValue.js.map +0 -1
  311. package/dist/views/List/extractValueOrRelationshipID.d.ts +0 -2
  312. package/dist/views/List/extractValueOrRelationshipID.d.ts.map +0 -1
  313. package/dist/views/List/extractValueOrRelationshipID.js +0 -19
  314. package/dist/views/List/extractValueOrRelationshipID.js.map +0 -1
  315. package/dist/views/List/handleGroupBy.d.ts +0 -24
  316. package/dist/views/List/handleGroupBy.d.ts.map +0 -1
  317. package/dist/views/List/handleGroupBy.js +0 -168
  318. package/dist/views/List/handleGroupBy.js.map +0 -1
  319. package/dist/views/List/handleHierarchy.d.ts +0 -18
  320. package/dist/views/List/handleHierarchy.d.ts.map +0 -1
  321. package/dist/views/List/handleHierarchy.js +0 -259
  322. package/dist/views/List/handleHierarchy.js.map +0 -1
  323. package/dist/views/List/handleServerFunction.d.ts +0 -4
  324. package/dist/views/List/handleServerFunction.d.ts.map +0 -1
  325. package/dist/views/List/handleServerFunction.js +0 -131
  326. package/dist/views/List/handleServerFunction.js.map +0 -1
  327. package/dist/views/List/index.css +0 -3
  328. package/dist/views/List/index.d.ts +0 -43
  329. package/dist/views/List/index.d.ts.map +0 -1
  330. package/dist/views/List/index.js +0 -445
  331. package/dist/views/List/index.js.map +0 -1
  332. package/dist/views/List/metadata.d.ts +0 -7
  333. package/dist/views/List/metadata.d.ts.map +0 -1
  334. package/dist/views/List/metadata.js +0 -24
  335. package/dist/views/List/metadata.js.map +0 -1
  336. package/dist/views/List/renderListViewSlots.d.ts +0 -12
  337. package/dist/views/List/renderListViewSlots.d.ts.map +0 -1
  338. package/dist/views/List/renderListViewSlots.js +0 -81
  339. package/dist/views/List/renderListViewSlots.js.map +0 -1
  340. package/dist/views/List/resolveAllFilterOptions.d.ts +0 -8
  341. package/dist/views/List/resolveAllFilterOptions.d.ts.map +0 -1
  342. package/dist/views/List/resolveAllFilterOptions.js +0 -49
  343. package/dist/views/List/resolveAllFilterOptions.js.map +0 -1
  344. package/dist/views/List/transformColumnsToSelect.d.ts +0 -3
  345. package/dist/views/List/transformColumnsToSelect.d.ts.map +0 -1
  346. package/dist/views/List/transformColumnsToSelect.js +0 -11
  347. package/dist/views/List/transformColumnsToSelect.js.map +0 -1
  348. package/dist/views/Login/LoginField/index.d.ts +0 -9
  349. package/dist/views/Login/LoginField/index.d.ts.map +0 -1
  350. package/dist/views/Login/LoginField/index.js +0 -98
  351. package/dist/views/Login/LoginField/index.js.map +0 -1
  352. package/dist/views/Login/LoginForm/index.css +0 -48
  353. package/dist/views/Login/LoginForm/index.d.ts +0 -11
  354. package/dist/views/Login/LoginForm/index.d.ts.map +0 -1
  355. package/dist/views/Login/LoginForm/index.js +0 -184
  356. package/dist/views/Login/LoginForm/index.js.map +0 -1
  357. package/dist/views/Login/index.css +0 -8
  358. package/dist/views/Login/index.d.ts +0 -6
  359. package/dist/views/Login/index.d.ts.map +0 -1
  360. package/dist/views/Login/index.js +0 -98
  361. package/dist/views/Login/index.js.map +0 -1
  362. package/dist/views/Login/metadata.d.ts +0 -3
  363. package/dist/views/Login/metadata.d.ts.map +0 -1
  364. package/dist/views/Login/metadata.js +0 -14
  365. package/dist/views/Login/metadata.js.map +0 -1
  366. package/dist/views/Logout/LogoutClient.d.ts +0 -18
  367. package/dist/views/Logout/LogoutClient.d.ts.map +0 -1
  368. package/dist/views/Logout/LogoutClient.js +0 -140
  369. package/dist/views/Logout/LogoutClient.js.map +0 -1
  370. package/dist/views/Logout/index.d.ts +0 -8
  371. package/dist/views/Logout/index.d.ts.map +0 -1
  372. package/dist/views/Logout/index.js +0 -36
  373. package/dist/views/Logout/index.js.map +0 -1
  374. package/dist/views/Logout/metadata.d.ts +0 -3
  375. package/dist/views/Logout/metadata.d.ts.map +0 -1
  376. package/dist/views/Logout/metadata.js +0 -13
  377. package/dist/views/Logout/metadata.js.map +0 -1
  378. package/dist/views/NotFound/index.client.d.ts +0 -4
  379. package/dist/views/NotFound/index.client.d.ts.map +0 -1
  380. package/dist/views/NotFound/index.client.js +0 -71
  381. package/dist/views/NotFound/index.client.js.map +0 -1
  382. package/dist/views/NotFound/index.css +0 -47
  383. package/dist/views/NotFound/index.d.ts +0 -21
  384. package/dist/views/NotFound/index.d.ts.map +0 -1
  385. package/dist/views/NotFound/index.js +0 -88
  386. package/dist/views/NotFound/index.js.map +0 -1
  387. package/dist/views/NotFound/metadata.d.ts +0 -8
  388. package/dist/views/NotFound/metadata.d.ts.map +0 -1
  389. package/dist/views/NotFound/metadata.js +0 -11
  390. package/dist/views/NotFound/metadata.js.map +0 -1
  391. package/dist/views/ResetPassword/ResetPasswordForm/index.css +0 -36
  392. package/dist/views/ResetPassword/ResetPasswordForm/index.d.ts +0 -8
  393. package/dist/views/ResetPassword/ResetPasswordForm/index.d.ts.map +0 -1
  394. package/dist/views/ResetPassword/ResetPasswordForm/index.js +0 -124
  395. package/dist/views/ResetPassword/ResetPasswordForm/index.js.map +0 -1
  396. package/dist/views/ResetPassword/index.css +0 -27
  397. package/dist/views/ResetPassword/index.d.ts +0 -6
  398. package/dist/views/ResetPassword/index.d.ts.map +0 -1
  399. package/dist/views/ResetPassword/index.js +0 -84
  400. package/dist/views/ResetPassword/index.js.map +0 -1
  401. package/dist/views/ResetPassword/metadata.d.ts +0 -3
  402. package/dist/views/ResetPassword/metadata.d.ts.map +0 -1
  403. package/dist/views/ResetPassword/metadata.js +0 -14
  404. package/dist/views/ResetPassword/metadata.js.map +0 -1
  405. package/dist/views/Root/attachViewActions.d.ts +0 -10
  406. package/dist/views/Root/attachViewActions.d.ts.map +0 -1
  407. package/dist/views/Root/attachViewActions.js +0 -27
  408. package/dist/views/Root/attachViewActions.js.map +0 -1
  409. package/dist/views/Root/generateCustomViewMetadata.d.ts +0 -11
  410. package/dist/views/Root/generateCustomViewMetadata.d.ts.map +0 -1
  411. package/dist/views/Root/generateCustomViewMetadata.js +0 -25
  412. package/dist/views/Root/generateCustomViewMetadata.js.map +0 -1
  413. package/dist/views/Root/getCustomCollectionViewByRoute.d.ts +0 -12
  414. package/dist/views/Root/getCustomCollectionViewByRoute.d.ts.map +0 -1
  415. package/dist/views/Root/getCustomCollectionViewByRoute.js +0 -48
  416. package/dist/views/Root/getCustomCollectionViewByRoute.js.map +0 -1
  417. package/dist/views/Root/getCustomCollectionViewByRoute.spec.js +0 -168
  418. package/dist/views/Root/getCustomCollectionViewByRoute.spec.js.map +0 -1
  419. package/dist/views/Root/getCustomGlobalViewByRoute.d.ts +0 -12
  420. package/dist/views/Root/getCustomGlobalViewByRoute.d.ts.map +0 -1
  421. package/dist/views/Root/getCustomGlobalViewByRoute.js +0 -46
  422. package/dist/views/Root/getCustomGlobalViewByRoute.js.map +0 -1
  423. package/dist/views/Root/getCustomViewByKey.d.ts +0 -10
  424. package/dist/views/Root/getCustomViewByKey.d.ts.map +0 -1
  425. package/dist/views/Root/getCustomViewByKey.js +0 -16
  426. package/dist/views/Root/getCustomViewByKey.js.map +0 -1
  427. package/dist/views/Root/getCustomViewByRoute.d.ts +0 -11
  428. package/dist/views/Root/getCustomViewByRoute.d.ts.map +0 -1
  429. package/dist/views/Root/getCustomViewByRoute.js +0 -48
  430. package/dist/views/Root/getCustomViewByRoute.js.map +0 -1
  431. package/dist/views/Root/getDocumentViewInfo.d.ts +0 -6
  432. package/dist/views/Root/getDocumentViewInfo.d.ts.map +0 -1
  433. package/dist/views/Root/getDocumentViewInfo.js +0 -28
  434. package/dist/views/Root/getDocumentViewInfo.js.map +0 -1
  435. package/dist/views/Root/getRouteData.d.ts +0 -45
  436. package/dist/views/Root/getRouteData.d.ts.map +0 -1
  437. package/dist/views/Root/getRouteData.js +0 -349
  438. package/dist/views/Root/getRouteData.js.map +0 -1
  439. package/dist/views/Root/index.d.ts +0 -23
  440. package/dist/views/Root/index.d.ts.map +0 -1
  441. package/dist/views/Root/index.js +0 -298
  442. package/dist/views/Root/index.js.map +0 -1
  443. package/dist/views/Root/isPathMatchingRoute.d.ts +0 -8
  444. package/dist/views/Root/isPathMatchingRoute.d.ts.map +0 -1
  445. package/dist/views/Root/isPathMatchingRoute.js +0 -33
  446. package/dist/views/Root/isPathMatchingRoute.js.map +0 -1
  447. package/dist/views/Root/isPathMatchingRoute.spec.js +0 -178
  448. package/dist/views/Root/isPathMatchingRoute.spec.js.map +0 -1
  449. package/dist/views/Root/metadata.d.ts.map +0 -1
  450. package/dist/views/Root/metadata.js +0 -173
  451. package/dist/views/Root/metadata.js.map +0 -1
  452. package/dist/views/Unauthorized/index.css +0 -44
  453. package/dist/views/Unauthorized/index.d.ts +0 -6
  454. package/dist/views/Unauthorized/index.d.ts.map +0 -1
  455. package/dist/views/Unauthorized/index.js +0 -33
  456. package/dist/views/Unauthorized/index.js.map +0 -1
  457. package/dist/views/Unauthorized/metadata.d.ts +0 -3
  458. package/dist/views/Unauthorized/metadata.d.ts.map +0 -1
  459. package/dist/views/Unauthorized/metadata.js +0 -14
  460. package/dist/views/Unauthorized/metadata.js.map +0 -1
  461. package/dist/views/Verify/index.client.d.ts +0 -7
  462. package/dist/views/Verify/index.client.d.ts.map +0 -1
  463. package/dist/views/Verify/index.client.js +0 -50
  464. package/dist/views/Verify/index.client.js.map +0 -1
  465. package/dist/views/Verify/index.d.ts +0 -6
  466. package/dist/views/Verify/index.d.ts.map +0 -1
  467. package/dist/views/Verify/index.js +0 -72
  468. package/dist/views/Verify/index.js.map +0 -1
  469. package/dist/views/Verify/metadata.d.ts +0 -3
  470. package/dist/views/Verify/metadata.d.ts.map +0 -1
  471. package/dist/views/Verify/metadata.js +0 -14
  472. package/dist/views/Verify/metadata.js.map +0 -1
  473. package/dist/views/Version/Default/SelectedLocalesContext.d.ts +0 -7
  474. package/dist/views/Version/Default/SelectedLocalesContext.d.ts.map +0 -1
  475. package/dist/views/Version/Default/SelectedLocalesContext.js +0 -8
  476. package/dist/views/Version/Default/SelectedLocalesContext.js.map +0 -1
  477. package/dist/views/Version/Default/SetStepNav.d.ts +0 -11
  478. package/dist/views/Version/Default/SetStepNav.d.ts.map +0 -1
  479. package/dist/views/Version/Default/SetStepNav.js +0 -135
  480. package/dist/views/Version/Default/SetStepNav.js.map +0 -1
  481. package/dist/views/Version/Default/index.css +0 -227
  482. package/dist/views/Version/Default/index.d.ts +0 -5
  483. package/dist/views/Version/Default/index.d.ts.map +0 -1
  484. package/dist/views/Version/Default/index.js +0 -255
  485. package/dist/views/Version/Default/index.js.map +0 -1
  486. package/dist/views/Version/Default/types.d.ts +0 -23
  487. package/dist/views/Version/Default/types.d.ts.map +0 -1
  488. package/dist/views/Version/Default/types.js +0 -2
  489. package/dist/views/Version/Default/types.js.map +0 -1
  490. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.css +0 -64
  491. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.d.ts +0 -27
  492. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.d.ts.map +0 -1
  493. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.js +0 -136
  494. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.js.map +0 -1
  495. package/dist/views/Version/RenderFieldsToDiff/RenderVersionFieldsToDiff.d.ts +0 -12
  496. package/dist/views/Version/RenderFieldsToDiff/RenderVersionFieldsToDiff.d.ts.map +0 -1
  497. package/dist/views/Version/RenderFieldsToDiff/RenderVersionFieldsToDiff.js +0 -80
  498. package/dist/views/Version/RenderFieldsToDiff/RenderVersionFieldsToDiff.js.map +0 -1
  499. package/dist/views/Version/RenderFieldsToDiff/buildVersionFields.d.ts +0 -31
  500. package/dist/views/Version/RenderFieldsToDiff/buildVersionFields.d.ts.map +0 -1
  501. package/dist/views/Version/RenderFieldsToDiff/buildVersionFields.js +0 -439
  502. package/dist/views/Version/RenderFieldsToDiff/buildVersionFields.js.map +0 -1
  503. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.css +0 -97
  504. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.d.ts +0 -4
  505. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.d.ts.map +0 -1
  506. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.js +0 -91
  507. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.js.map +0 -1
  508. package/dist/views/Version/RenderFieldsToDiff/fields/Collapsible/index.d.ts +0 -3
  509. package/dist/views/Version/RenderFieldsToDiff/fields/Collapsible/index.d.ts.map +0 -1
  510. package/dist/views/Version/RenderFieldsToDiff/fields/Collapsible/index.js +0 -61
  511. package/dist/views/Version/RenderFieldsToDiff/fields/Collapsible/index.js.map +0 -1
  512. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.css +0 -29
  513. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.d.ts +0 -4
  514. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.d.ts.map +0 -1
  515. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.js +0 -83
  516. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.js.map +0 -1
  517. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.css +0 -5
  518. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.d.ts +0 -4
  519. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.d.ts.map +0 -1
  520. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.js +0 -66
  521. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.js.map +0 -1
  522. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.css +0 -40
  523. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts +0 -5
  524. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts.map +0 -1
  525. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.js +0 -126
  526. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.js.map +0 -1
  527. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/generateLabelFromValue.d.ts +0 -10
  528. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/generateLabelFromValue.d.ts.map +0 -1
  529. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/generateLabelFromValue.js +0 -67
  530. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/generateLabelFromValue.js.map +0 -1
  531. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.css +0 -213
  532. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts +0 -21
  533. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts.map +0 -1
  534. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.js +0 -238
  535. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.js.map +0 -1
  536. package/dist/views/Version/RenderFieldsToDiff/fields/Row/index.d.ts +0 -3
  537. package/dist/views/Version/RenderFieldsToDiff/fields/Row/index.d.ts.map +0 -1
  538. package/dist/views/Version/RenderFieldsToDiff/fields/Row/index.js +0 -17
  539. package/dist/views/Version/RenderFieldsToDiff/fields/Row/index.js.map +0 -1
  540. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.css +0 -4
  541. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.d.ts +0 -4
  542. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.d.ts.map +0 -1
  543. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.js +0 -94
  544. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.js.map +0 -1
  545. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.css +0 -6
  546. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts +0 -4
  547. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts.map +0 -1
  548. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.js +0 -158
  549. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.js.map +0 -1
  550. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.css +0 -4
  551. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.d.ts +0 -4
  552. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.d.ts.map +0 -1
  553. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.js +0 -109
  554. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.js.map +0 -1
  555. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.css +0 -188
  556. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.d.ts +0 -33
  557. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.d.ts.map +0 -1
  558. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.js +0 -262
  559. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.js.map +0 -1
  560. package/dist/views/Version/RenderFieldsToDiff/fields/index.d.ts +0 -3
  561. package/dist/views/Version/RenderFieldsToDiff/fields/index.d.ts.map +0 -1
  562. package/dist/views/Version/RenderFieldsToDiff/fields/index.js +0 -36
  563. package/dist/views/Version/RenderFieldsToDiff/fields/index.js.map +0 -1
  564. package/dist/views/Version/RenderFieldsToDiff/index.css +0 -24
  565. package/dist/views/Version/RenderFieldsToDiff/index.d.ts +0 -3
  566. package/dist/views/Version/RenderFieldsToDiff/index.d.ts.map +0 -1
  567. package/dist/views/Version/RenderFieldsToDiff/index.js +0 -13
  568. package/dist/views/Version/RenderFieldsToDiff/index.js.map +0 -1
  569. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.d.ts +0 -25
  570. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.d.ts.map +0 -1
  571. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.js +0 -242
  572. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.js.map +0 -1
  573. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.spec.js +0 -861
  574. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.spec.js.map +0 -1
  575. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.d.ts +0 -2
  576. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.d.ts.map +0 -1
  577. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.js +0 -4
  578. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.js.map +0 -1
  579. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.spec.js +0 -47
  580. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.spec.js.map +0 -1
  581. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.d.ts +0 -19
  582. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.d.ts.map +0 -1
  583. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.js +0 -45
  584. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.js.map +0 -1
  585. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.spec.js +0 -135
  586. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.spec.js.map +0 -1
  587. package/dist/views/Version/Restore/index.css +0 -26
  588. package/dist/views/Version/Restore/index.d.ts +0 -16
  589. package/dist/views/Version/Restore/index.d.ts.map +0 -1
  590. package/dist/views/Version/Restore/index.js +0 -106
  591. package/dist/views/Version/Restore/index.js.map +0 -1
  592. package/dist/views/Version/SelectComparison/VersionDrawer/CreatedAtCell.d.ts +0 -3
  593. package/dist/views/Version/SelectComparison/VersionDrawer/CreatedAtCell.d.ts.map +0 -1
  594. package/dist/views/Version/SelectComparison/VersionDrawer/CreatedAtCell.js +0 -56
  595. package/dist/views/Version/SelectComparison/VersionDrawer/CreatedAtCell.js.map +0 -1
  596. package/dist/views/Version/SelectComparison/VersionDrawer/index.d.ts +0 -33
  597. package/dist/views/Version/SelectComparison/VersionDrawer/index.d.ts.map +0 -1
  598. package/dist/views/Version/SelectComparison/VersionDrawer/index.js +0 -239
  599. package/dist/views/Version/SelectComparison/VersionDrawer/index.js.map +0 -1
  600. package/dist/views/Version/SelectComparison/index.d.ts +0 -5
  601. package/dist/views/Version/SelectComparison/index.d.ts.map +0 -1
  602. package/dist/views/Version/SelectComparison/index.js +0 -57
  603. package/dist/views/Version/SelectComparison/index.js.map +0 -1
  604. package/dist/views/Version/SelectComparison/types.d.ts +0 -26
  605. package/dist/views/Version/SelectComparison/types.d.ts.map +0 -1
  606. package/dist/views/Version/SelectComparison/types.js +0 -2
  607. package/dist/views/Version/SelectComparison/types.js.map +0 -1
  608. package/dist/views/Version/SelectLocales/index.d.ts +0 -12
  609. package/dist/views/Version/SelectLocales/index.d.ts.map +0 -1
  610. package/dist/views/Version/SelectLocales/index.js +0 -39
  611. package/dist/views/Version/SelectLocales/index.js.map +0 -1
  612. package/dist/views/Version/VersionPillLabel/VersionPillLabel.d.ts +0 -31
  613. package/dist/views/Version/VersionPillLabel/VersionPillLabel.d.ts.map +0 -1
  614. package/dist/views/Version/VersionPillLabel/VersionPillLabel.js +0 -122
  615. package/dist/views/Version/VersionPillLabel/VersionPillLabel.js.map +0 -1
  616. package/dist/views/Version/VersionPillLabel/getVersionLabel.d.ts +0 -37
  617. package/dist/views/Version/VersionPillLabel/getVersionLabel.d.ts.map +0 -1
  618. package/dist/views/Version/VersionPillLabel/getVersionLabel.js +0 -43
  619. package/dist/views/Version/VersionPillLabel/getVersionLabel.js.map +0 -1
  620. package/dist/views/Version/VersionPillLabel/index.css +0 -31
  621. package/dist/views/Version/fetchVersions.d.ts +0 -42
  622. package/dist/views/Version/fetchVersions.d.ts.map +0 -1
  623. package/dist/views/Version/fetchVersions.js +0 -151
  624. package/dist/views/Version/fetchVersions.js.map +0 -1
  625. package/dist/views/Version/index.d.ts +0 -4
  626. package/dist/views/Version/index.d.ts.map +0 -1
  627. package/dist/views/Version/index.js +0 -352
  628. package/dist/views/Version/index.js.map +0 -1
  629. package/dist/views/Version/metadata.d.ts +0 -6
  630. package/dist/views/Version/metadata.d.ts.map +0 -1
  631. package/dist/views/Version/metadata.js +0 -58
  632. package/dist/views/Version/metadata.js.map +0 -1
  633. package/dist/views/Versions/buildColumns.d.ts +0 -16
  634. package/dist/views/Versions/buildColumns.d.ts.map +0 -1
  635. package/dist/views/Versions/buildColumns.js +0 -88
  636. package/dist/views/Versions/buildColumns.js.map +0 -1
  637. package/dist/views/Versions/cells/AutosaveCell/index.css +0 -7
  638. package/dist/views/Versions/cells/AutosaveCell/index.d.ts +0 -21
  639. package/dist/views/Versions/cells/AutosaveCell/index.d.ts.map +0 -1
  640. package/dist/views/Versions/cells/AutosaveCell/index.js +0 -45
  641. package/dist/views/Versions/cells/AutosaveCell/index.js.map +0 -1
  642. package/dist/views/Versions/cells/CreatedAt/index.d.ts +0 -13
  643. package/dist/views/Versions/cells/CreatedAt/index.d.ts.map +0 -1
  644. package/dist/views/Versions/cells/CreatedAt/index.js +0 -60
  645. package/dist/views/Versions/cells/CreatedAt/index.js.map +0 -1
  646. package/dist/views/Versions/cells/ID/index.d.ts +0 -5
  647. package/dist/views/Versions/cells/ID/index.d.ts.map +0 -1
  648. package/dist/views/Versions/cells/ID/index.js +0 -12
  649. package/dist/views/Versions/cells/ID/index.js.map +0 -1
  650. package/dist/views/Versions/index.client.d.ts +0 -9
  651. package/dist/views/Versions/index.client.d.ts.map +0 -1
  652. package/dist/views/Versions/index.client.js +0 -73
  653. package/dist/views/Versions/index.client.js.map +0 -1
  654. package/dist/views/Versions/index.css +0 -85
  655. package/dist/views/Versions/index.d.ts +0 -5
  656. package/dist/views/Versions/index.d.ts.map +0 -1
  657. package/dist/views/Versions/index.js +0 -178
  658. package/dist/views/Versions/index.js.map +0 -1
  659. package/dist/views/Versions/metadata.d.ts +0 -6
  660. package/dist/views/Versions/metadata.d.ts.map +0 -1
  661. package/dist/views/Versions/metadata.js +0 -51
  662. package/dist/views/Versions/metadata.js.map +0 -1
  663. package/dist/views/Versions/types.d.ts +0 -17
  664. package/dist/views/Versions/types.d.ts.map +0 -1
  665. package/dist/views/Versions/types.js +0 -2
  666. package/dist/views/Versions/types.js.map +0 -1
  667. /package/dist/{views/Root → adapters}/metadata.d.ts +0 -0
@@ -1,861 +0,0 @@
1
- import { describe, it, expect } from 'vitest';
2
- import { countChangedFields, countChangedFieldsInRows } from './countChangedFields.js';
3
- describe('countChangedFields', () => {
4
- // locales can be undefined when not configured in payload.config.js
5
- const locales = undefined;
6
- it('should return 0 when no fields have changed', () => {
7
- const fields = [{
8
- name: 'a',
9
- type: 'text'
10
- }, {
11
- name: 'b',
12
- type: 'number'
13
- }];
14
- const valueFrom = {
15
- a: 'original',
16
- b: 123
17
- };
18
- const valueTo = {
19
- a: 'original',
20
- b: 123
21
- };
22
- const result = countChangedFields({
23
- valueFrom,
24
- fields,
25
- valueTo,
26
- locales
27
- });
28
- expect(result).toBe(0);
29
- });
30
- it('should count simple changed fields', () => {
31
- const fields = [{
32
- name: 'a',
33
- type: 'text'
34
- }, {
35
- name: 'b',
36
- type: 'number'
37
- }];
38
- const valueFrom = {
39
- a: 'original',
40
- b: 123
41
- };
42
- const valueTo = {
43
- a: 'changed',
44
- b: 123
45
- };
46
- const result = countChangedFields({
47
- valueFrom,
48
- fields,
49
- valueTo,
50
- locales
51
- });
52
- expect(result).toBe(1);
53
- });
54
- it('should count previously undefined fields', () => {
55
- const fields = [{
56
- name: 'a',
57
- type: 'text'
58
- }, {
59
- name: 'b',
60
- type: 'number'
61
- }];
62
- const valueFrom = {};
63
- const valueTo = {
64
- a: 'new',
65
- b: 123
66
- };
67
- const result = countChangedFields({
68
- valueFrom,
69
- fields,
70
- valueTo,
71
- locales
72
- });
73
- expect(result).toBe(2);
74
- });
75
- it('should not count the id field because it is not displayed in the version view', () => {
76
- const fields = [{
77
- name: 'id',
78
- type: 'text'
79
- }, {
80
- name: 'a',
81
- type: 'text'
82
- }];
83
- const valueFrom = {
84
- id: 'original',
85
- a: 'original'
86
- };
87
- const valueTo = {
88
- id: 'changed',
89
- a: 'original'
90
- };
91
- const result = countChangedFields({
92
- valueFrom,
93
- fields,
94
- valueTo,
95
- locales
96
- });
97
- expect(result).toBe(0);
98
- });
99
- it('should count changed fields inside collapsible fields', () => {
100
- const fields = [{
101
- type: 'collapsible',
102
- label: 'A collapsible field',
103
- fields: [{
104
- name: 'a',
105
- type: 'text'
106
- }, {
107
- name: 'b',
108
- type: 'text'
109
- }, {
110
- name: 'c',
111
- type: 'text'
112
- }]
113
- }];
114
- const valueFrom = {
115
- a: 'original',
116
- b: 'original',
117
- c: 'original'
118
- };
119
- const valueTo = {
120
- a: 'changed',
121
- b: 'changed',
122
- c: 'original'
123
- };
124
- const result = countChangedFields({
125
- valueFrom,
126
- fields,
127
- valueTo,
128
- locales
129
- });
130
- expect(result).toBe(2);
131
- });
132
- it('should count changed fields inside row fields', () => {
133
- const fields = [{
134
- type: 'row',
135
- fields: [{
136
- name: 'a',
137
- type: 'text'
138
- }, {
139
- name: 'b',
140
- type: 'text'
141
- }, {
142
- name: 'c',
143
- type: 'text'
144
- }]
145
- }];
146
- const valueFrom = {
147
- a: 'original',
148
- b: 'original',
149
- c: 'original'
150
- };
151
- const valueTo = {
152
- a: 'changed',
153
- b: 'changed',
154
- c: 'original'
155
- };
156
- const result = countChangedFields({
157
- valueFrom,
158
- fields,
159
- valueTo,
160
- locales
161
- });
162
- expect(result).toBe(2);
163
- });
164
- it('should count changed fields inside group fields', () => {
165
- const fields = [{
166
- type: 'group',
167
- name: 'group',
168
- fields: [{
169
- name: 'a',
170
- type: 'text'
171
- }, {
172
- name: 'b',
173
- type: 'text'
174
- }, {
175
- name: 'c',
176
- type: 'text'
177
- }]
178
- }];
179
- const valueFrom = {
180
- group: {
181
- a: 'original',
182
- b: 'original',
183
- c: 'original'
184
- }
185
- };
186
- const valueTo = {
187
- group: {
188
- a: 'changed',
189
- b: 'changed',
190
- c: 'original'
191
- }
192
- };
193
- const result = countChangedFields({
194
- valueFrom,
195
- fields,
196
- valueTo,
197
- locales
198
- });
199
- expect(result).toBe(2);
200
- });
201
- it('should count changed fields inside unnamed tabs ', () => {
202
- const fields = [{
203
- type: 'tabs',
204
- tabs: [{
205
- label: 'Unnamed tab',
206
- fields: [{
207
- name: 'a',
208
- type: 'text'
209
- }, {
210
- name: 'b',
211
- type: 'text'
212
- }, {
213
- name: 'c',
214
- type: 'text'
215
- }]
216
- }]
217
- }];
218
- const valueFrom = {
219
- a: 'original',
220
- b: 'original',
221
- c: 'original'
222
- };
223
- const valueTo = {
224
- a: 'changed',
225
- b: 'changed',
226
- c: 'original'
227
- };
228
- const result = countChangedFields({
229
- valueFrom,
230
- fields,
231
- valueTo,
232
- locales
233
- });
234
- expect(result).toBe(2);
235
- });
236
- it('should count changed fields inside named tabs ', () => {
237
- const fields = [{
238
- type: 'tabs',
239
- tabs: [{
240
- name: 'namedTab',
241
- fields: [{
242
- name: 'a',
243
- type: 'text'
244
- }, {
245
- name: 'b',
246
- type: 'text'
247
- }, {
248
- name: 'c',
249
- type: 'text'
250
- }]
251
- }]
252
- }];
253
- const valueFrom = {
254
- namedTab: {
255
- a: 'original',
256
- b: 'original',
257
- c: 'original'
258
- }
259
- };
260
- const valueTo = {
261
- namedTab: {
262
- a: 'changed',
263
- b: 'changed',
264
- c: 'original'
265
- }
266
- };
267
- const result = countChangedFields({
268
- valueFrom,
269
- fields,
270
- valueTo,
271
- locales
272
- });
273
- expect(result).toBe(2);
274
- });
275
- it('should ignore UI fields', () => {
276
- const fields = [{
277
- name: 'a',
278
- type: 'text'
279
- }, {
280
- name: 'b',
281
- type: 'ui',
282
- admin: {}
283
- }];
284
- const valueFrom = {
285
- a: 'original',
286
- b: 'original'
287
- };
288
- const valueTo = {
289
- a: 'original',
290
- b: 'changed'
291
- };
292
- const result = countChangedFields({
293
- valueFrom,
294
- fields,
295
- valueTo,
296
- locales
297
- });
298
- expect(result).toBe(0);
299
- });
300
- it('should count changed fields inside array fields', () => {
301
- const fields = [{
302
- name: 'arrayField',
303
- type: 'array',
304
- fields: [{
305
- name: 'a',
306
- type: 'text'
307
- }, {
308
- name: 'b',
309
- type: 'text'
310
- }, {
311
- name: 'c',
312
- type: 'text'
313
- }]
314
- }];
315
- const valueFrom = {
316
- arrayField: [{
317
- a: 'original',
318
- b: 'original',
319
- c: 'original'
320
- }, {
321
- a: 'original',
322
- b: 'original'
323
- }]
324
- };
325
- const valueTo = {
326
- arrayField: [{
327
- a: 'changed',
328
- b: 'changed',
329
- c: 'original'
330
- }, {
331
- a: 'changed',
332
- b: 'changed',
333
- c: 'changed'
334
- }]
335
- };
336
- const result = countChangedFields({
337
- valueFrom,
338
- fields,
339
- valueTo,
340
- locales
341
- });
342
- expect(result).toBe(5);
343
- });
344
- it('should count changed fields inside arrays nested inside of collapsibles', () => {
345
- const fields = [{
346
- type: 'collapsible',
347
- label: 'A collapsible field',
348
- fields: [{
349
- name: 'arrayField',
350
- type: 'array',
351
- fields: [{
352
- name: 'a',
353
- type: 'text'
354
- }, {
355
- name: 'b',
356
- type: 'text'
357
- }, {
358
- name: 'c',
359
- type: 'text'
360
- }]
361
- }]
362
- }];
363
- const valueFrom = {
364
- arrayField: [{
365
- a: 'original',
366
- b: 'original',
367
- c: 'original'
368
- }]
369
- };
370
- const valueTo = {
371
- arrayField: [{
372
- a: 'changed',
373
- b: 'changed',
374
- c: 'original'
375
- }]
376
- };
377
- const result = countChangedFields({
378
- valueFrom,
379
- fields,
380
- valueTo,
381
- locales
382
- });
383
- expect(result).toBe(2);
384
- });
385
- it('should count changed fields inside blocks fields', () => {
386
- const fields = [{
387
- name: 'blocks',
388
- type: 'blocks',
389
- blocks: [{
390
- slug: 'blockA',
391
- fields: [{
392
- name: 'a',
393
- type: 'text'
394
- }, {
395
- name: 'b',
396
- type: 'text'
397
- }, {
398
- name: 'c',
399
- type: 'text'
400
- }]
401
- }]
402
- }];
403
- const valueFrom = {
404
- blocks: [{
405
- blockType: 'blockA',
406
- a: 'original',
407
- b: 'original',
408
- c: 'original'
409
- }, {
410
- blockType: 'blockA',
411
- a: 'original',
412
- b: 'original'
413
- }]
414
- };
415
- const valueTo = {
416
- blocks: [{
417
- blockType: 'blockA',
418
- a: 'changed',
419
- b: 'changed',
420
- c: 'original'
421
- }, {
422
- blockType: 'blockA',
423
- a: 'changed',
424
- b: 'changed',
425
- c: 'changed'
426
- }]
427
- };
428
- const result = countChangedFields({
429
- valueFrom,
430
- fields,
431
- valueTo,
432
- locales
433
- });
434
- expect(result).toBe(5);
435
- });
436
- it('should count changed fields between blocks with different slugs', () => {
437
- const fields = [{
438
- name: 'blocks',
439
- type: 'blocks',
440
- blocks: [{
441
- slug: 'blockA',
442
- fields: [{
443
- name: 'a',
444
- type: 'text'
445
- }, {
446
- name: 'b',
447
- type: 'text'
448
- }, {
449
- name: 'c',
450
- type: 'text'
451
- }]
452
- }, {
453
- slug: 'blockB',
454
- fields: [{
455
- name: 'b',
456
- type: 'text'
457
- }, {
458
- name: 'c',
459
- type: 'text'
460
- }, {
461
- name: 'd',
462
- type: 'text'
463
- }]
464
- }]
465
- }];
466
- const valueFrom = {
467
- blocks: [{
468
- blockType: 'blockA',
469
- a: 'removed',
470
- b: 'original',
471
- c: 'original'
472
- }]
473
- };
474
- const valueTo = {
475
- blocks: [{
476
- blockType: 'blockB',
477
- b: 'original',
478
- c: 'changed',
479
- d: 'new'
480
- }]
481
- };
482
- const result = countChangedFields({
483
- valueFrom,
484
- fields,
485
- valueTo,
486
- locales
487
- });
488
- expect(result).toBe(3);
489
- });
490
- describe('localized fields', () => {
491
- const locales = ['en', 'de'];
492
- it('should count simple localized fields', () => {
493
- const fields = [{
494
- name: 'a',
495
- type: 'text',
496
- localized: true
497
- }, {
498
- name: 'b',
499
- type: 'text',
500
- localized: true
501
- }];
502
- const valueFrom = {
503
- a: {
504
- en: 'original',
505
- de: 'original'
506
- },
507
- b: {
508
- en: 'original',
509
- de: 'original'
510
- }
511
- };
512
- const valueTo = {
513
- a: {
514
- en: 'changed',
515
- de: 'original'
516
- },
517
- b: {
518
- en: 'original',
519
- de: 'original'
520
- }
521
- };
522
- const result = countChangedFields({
523
- valueFrom,
524
- fields,
525
- valueTo,
526
- locales
527
- });
528
- expect(result).toBe(1);
529
- });
530
- it('should count multiple locales of the same localized field', () => {
531
- const locales = ['en', 'de'];
532
- const fields = [{
533
- name: 'a',
534
- type: 'text',
535
- localized: true
536
- }, {
537
- name: 'b',
538
- type: 'text',
539
- localized: true
540
- }];
541
- const valueFrom = {
542
- a: {
543
- en: 'original',
544
- de: 'original'
545
- },
546
- b: {
547
- en: 'original',
548
- de: 'original'
549
- }
550
- };
551
- const valueTo = {
552
- a: {
553
- en: 'changed',
554
- de: 'changed'
555
- },
556
- b: {
557
- en: 'original',
558
- de: 'original'
559
- }
560
- };
561
- const result = countChangedFields({
562
- valueFrom,
563
- fields,
564
- valueTo,
565
- locales
566
- });
567
- expect(result).toBe(2);
568
- });
569
- it('should count changed fields inside localized groups fields', () => {
570
- const fields = [{
571
- type: 'group',
572
- name: 'group',
573
- localized: true,
574
- fields: [{
575
- name: 'a',
576
- type: 'text'
577
- }, {
578
- name: 'b',
579
- type: 'text'
580
- }, {
581
- name: 'c',
582
- type: 'text'
583
- }]
584
- }];
585
- const valueFrom = {
586
- group: {
587
- en: {
588
- a: 'original',
589
- b: 'original',
590
- c: 'original'
591
- },
592
- de: {
593
- a: 'original',
594
- b: 'original',
595
- c: 'original'
596
- }
597
- }
598
- };
599
- const valueTo = {
600
- group: {
601
- en: {
602
- a: 'changed',
603
- b: 'changed',
604
- c: 'original'
605
- },
606
- de: {
607
- a: 'original',
608
- b: 'changed',
609
- c: 'original'
610
- }
611
- }
612
- };
613
- const result = countChangedFields({
614
- valueFrom,
615
- fields,
616
- valueTo,
617
- locales
618
- });
619
- expect(result).toBe(3);
620
- });
621
- it('should count changed fields inside localized tabs', () => {
622
- const fields = [{
623
- type: 'tabs',
624
- tabs: [{
625
- name: 'tab',
626
- localized: true,
627
- fields: [{
628
- name: 'a',
629
- type: 'text'
630
- }, {
631
- name: 'b',
632
- type: 'text'
633
- }, {
634
- name: 'c',
635
- type: 'text'
636
- }]
637
- }]
638
- }];
639
- const valueFrom = {
640
- tab: {
641
- en: {
642
- a: 'original',
643
- b: 'original',
644
- c: 'original'
645
- },
646
- de: {
647
- a: 'original',
648
- b: 'original',
649
- c: 'original'
650
- }
651
- }
652
- };
653
- const valueTo = {
654
- tab: {
655
- en: {
656
- a: 'changed',
657
- b: 'changed',
658
- c: 'original'
659
- },
660
- de: {
661
- a: 'original',
662
- b: 'changed',
663
- c: 'original'
664
- }
665
- }
666
- };
667
- const result = countChangedFields({
668
- valueFrom,
669
- fields,
670
- valueTo,
671
- locales
672
- });
673
- expect(result).toBe(3);
674
- });
675
- it('should count changed fields inside localized array fields', () => {
676
- const fields = [{
677
- name: 'arrayField',
678
- type: 'array',
679
- localized: true,
680
- fields: [{
681
- name: 'a',
682
- type: 'text'
683
- }, {
684
- name: 'b',
685
- type: 'text'
686
- }, {
687
- name: 'c',
688
- type: 'text'
689
- }]
690
- }];
691
- const valueFrom = {
692
- arrayField: {
693
- en: [{
694
- a: 'original',
695
- b: 'original',
696
- c: 'original'
697
- }],
698
- de: [{
699
- a: 'original',
700
- b: 'original',
701
- c: 'original'
702
- }]
703
- }
704
- };
705
- const valueTo = {
706
- arrayField: {
707
- en: [{
708
- a: 'changed',
709
- b: 'changed',
710
- c: 'original'
711
- }],
712
- de: [{
713
- a: 'original',
714
- b: 'changed',
715
- c: 'original'
716
- }]
717
- }
718
- };
719
- const result = countChangedFields({
720
- valueFrom,
721
- fields,
722
- valueTo,
723
- locales
724
- });
725
- expect(result).toBe(3);
726
- });
727
- it('should count changed fields inside localized blocks fields', () => {
728
- const fields = [{
729
- name: 'blocks',
730
- type: 'blocks',
731
- localized: true,
732
- blocks: [{
733
- slug: 'blockA',
734
- fields: [{
735
- name: 'a',
736
- type: 'text'
737
- }, {
738
- name: 'b',
739
- type: 'text'
740
- }, {
741
- name: 'c',
742
- type: 'text'
743
- }]
744
- }]
745
- }];
746
- const valueFrom = {
747
- blocks: {
748
- en: [{
749
- blockType: 'blockA',
750
- a: 'original',
751
- b: 'original',
752
- c: 'original'
753
- }],
754
- de: [{
755
- blockType: 'blockA',
756
- a: 'original',
757
- b: 'original',
758
- c: 'original'
759
- }]
760
- }
761
- };
762
- const valueTo = {
763
- blocks: {
764
- en: [{
765
- blockType: 'blockA',
766
- a: 'changed',
767
- b: 'changed',
768
- c: 'original'
769
- }],
770
- de: [{
771
- blockType: 'blockA',
772
- a: 'original',
773
- b: 'changed',
774
- c: 'original'
775
- }]
776
- }
777
- };
778
- const result = countChangedFields({
779
- valueFrom,
780
- fields,
781
- valueTo,
782
- locales
783
- });
784
- expect(result).toBe(3);
785
- });
786
- });
787
- });
788
- describe('countChangedFieldsInRows', () => {
789
- it('should count fields in array rows', () => {
790
- const field = {
791
- name: 'myArray',
792
- type: 'array',
793
- fields: [{
794
- name: 'a',
795
- type: 'text'
796
- }, {
797
- name: 'b',
798
- type: 'text'
799
- }, {
800
- name: 'c',
801
- type: 'text'
802
- }]
803
- };
804
- const valueFromRows = [{
805
- a: 'original',
806
- b: 'original',
807
- c: 'original'
808
- }];
809
- const valueToRows = [{
810
- a: 'changed',
811
- b: 'changed',
812
- c: 'original'
813
- }];
814
- const result = countChangedFieldsInRows({
815
- valueFromRows,
816
- field,
817
- locales: undefined,
818
- valueToRows: valueToRows
819
- });
820
- expect(result).toBe(2);
821
- });
822
- it('should count fields in blocks', () => {
823
- const field = {
824
- name: 'myBlocks',
825
- type: 'blocks',
826
- blocks: [{
827
- slug: 'blockA',
828
- fields: [{
829
- name: 'a',
830
- type: 'text'
831
- }, {
832
- name: 'b',
833
- type: 'text'
834
- }, {
835
- name: 'c',
836
- type: 'text'
837
- }]
838
- }]
839
- };
840
- const valueFromRows = [{
841
- blockType: 'blockA',
842
- a: 'original',
843
- b: 'original',
844
- c: 'original'
845
- }];
846
- const valueToRows = [{
847
- blockType: 'blockA',
848
- a: 'changed',
849
- b: 'changed',
850
- c: 'original'
851
- }];
852
- const result = countChangedFieldsInRows({
853
- valueFromRows,
854
- field,
855
- locales: undefined,
856
- valueToRows
857
- });
858
- expect(result).toBe(2);
859
- });
860
- });
861
- //# sourceMappingURL=countChangedFields.spec.js.map