@payloadcms/ui 4.0.0-internal.1f9ae9a → 4.0.0-internal.293e026

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 (960) hide show
  1. package/dist/css/colors.css +107 -60
  2. package/dist/elements/BulkUpload/EditMany/index.js.map +1 -1
  3. package/dist/elements/Button/types.d.ts +0 -8
  4. package/dist/elements/Button/types.d.ts.map +1 -1
  5. package/dist/elements/Button/types.js.map +1 -1
  6. package/dist/elements/Chip/index.css +1 -1
  7. package/dist/elements/ColumnSelector/index.d.ts.map +1 -1
  8. package/dist/elements/ColumnSelector/index.js +5 -1
  9. package/dist/elements/ColumnSelector/index.js.map +1 -1
  10. package/dist/elements/ColumnsButton/index.js +1 -1
  11. package/dist/elements/ColumnsButton/index.js.map +1 -1
  12. package/dist/elements/Combobox/index.css +8 -8
  13. package/dist/elements/Combobox/index.d.ts +2 -0
  14. package/dist/elements/Combobox/index.d.ts.map +1 -1
  15. package/dist/elements/Combobox/index.js +25 -20
  16. package/dist/elements/Combobox/index.js.map +1 -1
  17. package/dist/elements/ConfirmationModal/index.d.ts.map +1 -1
  18. package/dist/elements/ConfirmationModal/index.js +24 -115
  19. package/dist/elements/ConfirmationModal/index.js.map +1 -1
  20. package/dist/elements/DatePicker/DatePicker.d.ts.map +1 -1
  21. package/dist/elements/DatePicker/DatePicker.js +4 -2
  22. package/dist/elements/DatePicker/DatePicker.js.map +1 -1
  23. package/dist/elements/DatePicker/index.css +5 -0
  24. package/dist/elements/DatePicker/index.js +1 -1
  25. package/dist/elements/DatePicker/index.js.map +1 -1
  26. package/dist/elements/Dialog/DialogBody/index.d.ts +6 -0
  27. package/dist/elements/Dialog/DialogBody/index.d.ts.map +1 -0
  28. package/dist/elements/Dialog/DialogBody/index.js +14 -0
  29. package/dist/elements/Dialog/DialogBody/index.js.map +1 -0
  30. package/dist/elements/Dialog/DialogCancel/index.d.ts +7 -0
  31. package/dist/elements/Dialog/DialogCancel/index.d.ts.map +1 -0
  32. package/dist/elements/Dialog/DialogCancel/index.js +69 -0
  33. package/dist/elements/Dialog/DialogCancel/index.js.map +1 -0
  34. package/dist/elements/Dialog/DialogConfirm/index.d.ts +8 -0
  35. package/dist/elements/Dialog/DialogConfirm/index.d.ts.map +1 -0
  36. package/dist/elements/Dialog/DialogConfirm/index.js +75 -0
  37. package/dist/elements/Dialog/DialogConfirm/index.js.map +1 -0
  38. package/dist/elements/Dialog/DialogFooter/index.d.ts +6 -0
  39. package/dist/elements/Dialog/DialogFooter/index.d.ts.map +1 -0
  40. package/dist/elements/Dialog/DialogFooter/index.js +17 -0
  41. package/dist/elements/Dialog/DialogFooter/index.js.map +1 -0
  42. package/dist/elements/Dialog/DialogHeader/index.d.ts +8 -0
  43. package/dist/elements/Dialog/DialogHeader/index.d.ts.map +1 -0
  44. package/dist/elements/Dialog/DialogHeader/index.js +70 -0
  45. package/dist/elements/Dialog/DialogHeader/index.js.map +1 -0
  46. package/dist/elements/Dialog/DialogModal/index.d.ts +18 -0
  47. package/dist/elements/Dialog/DialogModal/index.d.ts.map +1 -0
  48. package/dist/elements/Dialog/DialogModal/index.js +99 -0
  49. package/dist/elements/Dialog/DialogModal/index.js.map +1 -0
  50. package/dist/elements/Dialog/context.d.ts +8 -0
  51. package/dist/elements/Dialog/context.d.ts.map +1 -0
  52. package/dist/elements/Dialog/context.js +10 -0
  53. package/dist/elements/Dialog/context.js.map +1 -0
  54. package/dist/elements/{Modal → Dialog}/index.css +42 -32
  55. package/dist/elements/Dialog/index.d.ts +13 -0
  56. package/dist/elements/Dialog/index.d.ts.map +1 -0
  57. package/dist/elements/Dialog/index.js +7 -0
  58. package/dist/elements/Dialog/index.js.map +1 -0
  59. package/dist/elements/DocumentLocked/index.css +5 -0
  60. package/dist/elements/DocumentLocked/index.d.ts +1 -0
  61. package/dist/elements/DocumentLocked/index.d.ts.map +1 -1
  62. package/dist/elements/DocumentLocked/index.js +68 -92
  63. package/dist/elements/DocumentLocked/index.js.map +1 -1
  64. package/dist/elements/DocumentStaleData/index.d.ts.map +1 -1
  65. package/dist/elements/DocumentStaleData/index.js +36 -34
  66. package/dist/elements/DocumentStaleData/index.js.map +1 -1
  67. package/dist/elements/DocumentTakeOver/index.d.ts.map +1 -1
  68. package/dist/elements/DocumentTakeOver/index.js +46 -52
  69. package/dist/elements/DocumentTakeOver/index.js.map +1 -1
  70. package/dist/elements/DraggableSortable/index.js.map +1 -1
  71. package/dist/elements/EditMany/DrawerContent.d.ts +1 -1
  72. package/dist/elements/EditMany/DrawerContent.d.ts.map +1 -1
  73. package/dist/elements/EditMany/DrawerContent.js +1 -1
  74. package/dist/elements/EditMany/DrawerContent.js.map +1 -1
  75. package/dist/elements/EditMany/index.js.map +1 -1
  76. package/dist/elements/EmailAndUsername/{index.scss → index.css} +1 -3
  77. package/dist/elements/EmailAndUsername/index.d.ts +1 -1
  78. package/dist/elements/EmailAndUsername/index.d.ts.map +1 -1
  79. package/dist/elements/EmailAndUsername/index.js +1 -1
  80. package/dist/elements/EmailAndUsername/index.js.map +1 -1
  81. package/dist/elements/GroupByControl/index.d.ts.map +1 -1
  82. package/dist/elements/GroupByControl/index.js +3 -0
  83. package/dist/elements/GroupByControl/index.js.map +1 -1
  84. package/dist/elements/LeaveWithoutSaving/index.d.ts.map +1 -1
  85. package/dist/elements/LeaveWithoutSaving/index.js +40 -35
  86. package/dist/elements/LeaveWithoutSaving/index.js.map +1 -1
  87. package/dist/elements/LeaveWithoutSaving/usePreventLeave.js.map +1 -1
  88. package/dist/elements/ListControls/index.css +0 -7
  89. package/dist/elements/ListControls/index.d.ts.map +1 -1
  90. package/dist/elements/ListControls/index.js +24 -10
  91. package/dist/elements/ListControls/index.js.map +1 -1
  92. package/dist/elements/ListControls/types.d.ts +2 -0
  93. package/dist/elements/ListControls/types.d.ts.map +1 -1
  94. package/dist/elements/ListControls/types.js.map +1 -1
  95. package/dist/elements/ListSelection/index.css +1 -1
  96. package/dist/elements/LivePreview/ToolbarArea/index.d.ts +1 -1
  97. package/dist/elements/LivePreview/ToolbarArea/index.d.ts.map +1 -1
  98. package/dist/elements/LivePreview/ToolbarArea/index.js +1 -1
  99. package/dist/elements/LivePreview/ToolbarArea/index.js.map +1 -1
  100. package/dist/elements/Modal/index.d.ts +1 -17
  101. package/dist/elements/Modal/index.d.ts.map +1 -1
  102. package/dist/elements/Modal/index.js +1 -44
  103. package/dist/elements/Modal/index.js.map +1 -1
  104. package/dist/elements/Nav/NavWrapper/{index.scss → index.css} +2 -4
  105. package/dist/elements/Nav/NavWrapper/index.d.ts +1 -1
  106. package/dist/elements/Nav/NavWrapper/index.d.ts.map +1 -1
  107. package/dist/elements/Nav/NavWrapper/index.js +1 -1
  108. package/dist/elements/Nav/NavWrapper/index.js.map +1 -1
  109. package/dist/elements/Nav/SidebarTabs/index.css +6 -0
  110. package/dist/elements/NavGroup/index.d.ts.map +1 -1
  111. package/dist/elements/NavGroup/index.js +21 -29
  112. package/dist/elements/NavGroup/index.js.map +1 -1
  113. package/dist/elements/Pill/index.css +1 -1
  114. package/dist/elements/PillSelector/index.css +1 -1
  115. package/dist/elements/Popup/PopupDivider/index.css +0 -2
  116. package/dist/elements/Popup/index.d.ts.map +1 -1
  117. package/dist/elements/Popup/index.js +27 -10
  118. package/dist/elements/Popup/index.js.map +1 -1
  119. package/dist/elements/ReactSelect/index.css +53 -52
  120. package/dist/elements/ReactSelect/index.d.ts.map +1 -1
  121. package/dist/elements/ReactSelect/index.js +69 -10
  122. package/dist/elements/ReactSelect/index.js.map +1 -1
  123. package/dist/elements/ReactSelect/types.d.ts +6 -1
  124. package/dist/elements/ReactSelect/types.d.ts.map +1 -1
  125. package/dist/elements/ReactSelect/types.js.map +1 -1
  126. package/dist/elements/RenderServerComponent/clientOnly.d.ts +8 -0
  127. package/dist/elements/RenderServerComponent/clientOnly.d.ts.map +1 -0
  128. package/dist/elements/RenderServerComponent/clientOnly.js +56 -0
  129. package/dist/elements/RenderServerComponent/clientOnly.js.map +1 -0
  130. package/dist/elements/ShimmerEffect/index.css +40 -0
  131. package/dist/elements/ShimmerEffect/index.d.ts +1 -1
  132. package/dist/elements/ShimmerEffect/index.d.ts.map +1 -1
  133. package/dist/elements/ShimmerEffect/index.js +1 -1
  134. package/dist/elements/ShimmerEffect/index.js.map +1 -1
  135. package/dist/elements/Table/DefaultCell/fields/Blocks/index.js +1 -2
  136. package/dist/elements/Table/DefaultCell/fields/Blocks/index.js.map +1 -1
  137. package/dist/elements/Table/DefaultCell/fields/Checkbox/index.d.ts +1 -1
  138. package/dist/elements/Table/DefaultCell/fields/Checkbox/index.d.ts.map +1 -1
  139. package/dist/elements/Table/DefaultCell/fields/Checkbox/index.js +1 -1
  140. package/dist/elements/Table/DefaultCell/fields/Checkbox/index.js.map +1 -1
  141. package/dist/elements/Table/DefaultCell/fields/Code/index.d.ts +1 -1
  142. package/dist/elements/Table/DefaultCell/fields/Code/index.d.ts.map +1 -1
  143. package/dist/elements/Table/DefaultCell/fields/Code/index.js +1 -1
  144. package/dist/elements/Table/DefaultCell/fields/Code/index.js.map +1 -1
  145. package/dist/elements/Table/DefaultCell/fields/File/index.css +25 -0
  146. package/dist/elements/Table/DefaultCell/fields/File/index.d.ts +1 -1
  147. package/dist/elements/Table/DefaultCell/fields/File/index.d.ts.map +1 -1
  148. package/dist/elements/Table/DefaultCell/fields/File/index.js +1 -1
  149. package/dist/elements/Table/DefaultCell/fields/File/index.js.map +1 -1
  150. package/dist/elements/Table/DefaultCell/fields/Hierarchy/index.css +17 -0
  151. package/dist/elements/Table/DefaultCell/fields/Hierarchy/index.d.ts +1 -1
  152. package/dist/elements/Table/DefaultCell/fields/Hierarchy/index.d.ts.map +1 -1
  153. package/dist/elements/Table/DefaultCell/fields/Hierarchy/index.js +1 -1
  154. package/dist/elements/Table/DefaultCell/fields/Hierarchy/index.js.map +1 -1
  155. package/dist/elements/Table/DefaultCell/fields/JSON/index.css +30 -0
  156. package/dist/elements/Table/DefaultCell/fields/JSON/index.d.ts +1 -1
  157. package/dist/elements/Table/DefaultCell/fields/JSON/index.d.ts.map +1 -1
  158. package/dist/elements/Table/DefaultCell/fields/JSON/index.js +1 -1
  159. package/dist/elements/Table/DefaultCell/fields/JSON/index.js.map +1 -1
  160. package/dist/elements/Table/DefaultCell/fields/Relationship/index.d.ts +0 -1
  161. package/dist/elements/Table/DefaultCell/fields/Relationship/index.d.ts.map +1 -1
  162. package/dist/elements/Table/DefaultCell/fields/Relationship/index.js +0 -1
  163. package/dist/elements/Table/DefaultCell/fields/Relationship/index.js.map +1 -1
  164. package/dist/elements/TimezonePicker/index.css +73 -24
  165. package/dist/elements/TimezonePicker/index.d.ts.map +1 -1
  166. package/dist/elements/TimezonePicker/index.js +31 -4
  167. package/dist/elements/TimezonePicker/index.js.map +1 -1
  168. package/dist/elements/WhereBuilder/Condition/Number/index.d.ts +0 -1
  169. package/dist/elements/WhereBuilder/Condition/Number/index.d.ts.map +1 -1
  170. package/dist/elements/WhereBuilder/Condition/Number/index.js +26 -40
  171. package/dist/elements/WhereBuilder/Condition/Number/index.js.map +1 -1
  172. package/dist/elements/WhereBuilder/Condition/Relationship/index.css +2 -2
  173. package/dist/elements/WhereBuilder/Condition/Text/index.d.ts +0 -1
  174. package/dist/elements/WhereBuilder/Condition/Text/index.d.ts.map +1 -1
  175. package/dist/elements/WhereBuilder/Condition/Text/index.js +24 -35
  176. package/dist/elements/WhereBuilder/Condition/Text/index.js.map +1 -1
  177. package/dist/elements/WhereBuilder/Condition/index.css +111 -0
  178. package/dist/elements/WhereBuilder/Condition/index.d.ts +5 -2
  179. package/dist/elements/WhereBuilder/Condition/index.d.ts.map +1 -1
  180. package/dist/elements/WhereBuilder/Condition/index.js +41 -21
  181. package/dist/elements/WhereBuilder/Condition/index.js.map +1 -1
  182. package/dist/elements/WhereBuilder/index.css +74 -0
  183. package/dist/elements/WhereBuilder/index.d.ts +1 -1
  184. package/dist/elements/WhereBuilder/index.d.ts.map +1 -1
  185. package/dist/elements/WhereBuilder/index.js +138 -92
  186. package/dist/elements/WhereBuilder/index.js.map +1 -1
  187. package/dist/elements/WhereBuilder/types.d.ts +7 -0
  188. package/dist/elements/WhereBuilder/types.d.ts.map +1 -1
  189. package/dist/elements/WhereBuilder/types.js.map +1 -1
  190. package/dist/exports/client/index.d.ts +36 -6
  191. package/dist/exports/client/index.d.ts.map +1 -1
  192. package/dist/exports/client/index.js +2 -86
  193. package/dist/exports/client/index.js.map +4 -4
  194. package/dist/exports/server.d.ts +3 -0
  195. package/dist/exports/server.d.ts.map +1 -0
  196. package/dist/exports/server.js +2 -0
  197. package/dist/exports/server.js.map +1 -0
  198. package/dist/exports/shared/index.js +1 -1
  199. package/dist/exports/shared/index.js.map +2 -2
  200. package/dist/fields/Blocks/index.d.ts.map +1 -1
  201. package/dist/fields/Blocks/index.js +6 -11
  202. package/dist/fields/Blocks/index.js.map +1 -1
  203. package/dist/fields/Group/index.css +1 -1
  204. package/dist/fields/Join/index.js +1 -1
  205. package/dist/fields/Join/index.js.map +1 -1
  206. package/dist/fields/Relationship/select-components/MultiValueLabel/index.css +3 -3
  207. package/dist/forms/NullifyField/{index.scss → index.css} +3 -2
  208. package/dist/forms/NullifyField/index.d.ts +1 -1
  209. package/dist/forms/NullifyField/index.d.ts.map +1 -1
  210. package/dist/forms/NullifyField/index.js +1 -1
  211. package/dist/forms/NullifyField/index.js.map +1 -1
  212. package/dist/forms/Submit/index.d.ts +1 -1
  213. package/dist/forms/Submit/index.d.ts.map +1 -1
  214. package/dist/forms/Submit/index.js +32 -22
  215. package/dist/forms/Submit/index.js.map +1 -1
  216. package/dist/forms/fieldSchemasToFormState/addFieldStatePromise.js +1 -1
  217. package/dist/forms/fieldSchemasToFormState/addFieldStatePromise.js.map +1 -1
  218. package/dist/forms/fieldSchemasToFormState/calculateDefaultValues/promise.js +1 -1
  219. package/dist/forms/fieldSchemasToFormState/calculateDefaultValues/promise.js.map +1 -1
  220. package/dist/forms/fieldSchemasToFormState/renderField.js +1 -1
  221. package/dist/forms/fieldSchemasToFormState/renderField.js.map +1 -1
  222. package/dist/forms/useField/index.js.map +1 -1
  223. package/dist/icons/Dots/index.css +4 -4
  224. package/dist/providers/Config/index.js.map +1 -1
  225. package/dist/providers/ListQuery/index.d.ts.map +1 -1
  226. package/dist/providers/ListQuery/index.js +23 -8
  227. package/dist/providers/ListQuery/index.js.map +1 -1
  228. package/dist/providers/ListQuery/types.d.ts +2 -0
  229. package/dist/providers/ListQuery/types.d.ts.map +1 -1
  230. package/dist/providers/ListQuery/types.js.map +1 -1
  231. package/dist/providers/Root/index.d.ts.map +1 -1
  232. package/dist/providers/Root/index.js +27 -33
  233. package/dist/providers/Root/index.js.map +1 -1
  234. package/dist/providers/RouteTransition/ProgressBar/index.css +23 -0
  235. package/dist/providers/RouteTransition/ProgressBar/index.d.ts +1 -1
  236. package/dist/providers/RouteTransition/ProgressBar/index.d.ts.map +1 -1
  237. package/dist/providers/RouteTransition/ProgressBar/index.js +1 -1
  238. package/dist/providers/RouteTransition/ProgressBar/index.js.map +1 -1
  239. package/dist/providers/TableColumns/RenderDefaultCell/index.css +11 -0
  240. package/dist/providers/TableColumns/RenderDefaultCell/index.d.ts +1 -1
  241. package/dist/providers/TableColumns/RenderDefaultCell/index.d.ts.map +1 -1
  242. package/dist/providers/TableColumns/RenderDefaultCell/index.js +1 -1
  243. package/dist/providers/TableColumns/RenderDefaultCell/index.js.map +1 -1
  244. package/dist/providers/Theme/index.d.ts +17 -2
  245. package/dist/providers/Theme/index.d.ts.map +1 -1
  246. package/dist/providers/Theme/index.js +122 -73
  247. package/dist/providers/Theme/index.js.map +1 -1
  248. package/dist/scss/app.scss +1 -1
  249. package/dist/scss/styles.scss +4 -4
  250. package/dist/scss/toastify.scss +2 -2
  251. package/dist/styles.css +1 -1
  252. package/dist/utilities/buildClientFieldSchemaMap/traverseFields.js +1 -1
  253. package/dist/utilities/buildClientFieldSchemaMap/traverseFields.js.map +1 -1
  254. package/dist/utilities/buildFieldSchemaMap/traverseFields.js +1 -1
  255. package/dist/utilities/buildFieldSchemaMap/traverseFields.js.map +1 -1
  256. package/dist/utilities/copyDataFromLocale.js +1 -1
  257. package/dist/utilities/copyDataFromLocale.js.map +1 -1
  258. package/dist/utilities/formatMetadata.d.ts +5 -0
  259. package/dist/utilities/formatMetadata.d.ts.map +1 -0
  260. package/dist/utilities/formatMetadata.js +108 -0
  261. package/dist/utilities/formatMetadata.js.map +1 -0
  262. package/dist/utilities/formatMetadata.spec.js +83 -0
  263. package/dist/utilities/formatMetadata.spec.js.map +1 -0
  264. package/dist/utilities/getDocPreferences.d.ts +11 -0
  265. package/dist/utilities/getDocPreferences.d.ts.map +1 -0
  266. package/dist/utilities/getDocPreferences.js +45 -0
  267. package/dist/utilities/getDocPreferences.js.map +1 -0
  268. package/dist/utilities/getDocumentData.d.ts +14 -0
  269. package/dist/utilities/getDocumentData.d.ts.map +1 -0
  270. package/dist/utilities/getDocumentData.js +60 -0
  271. package/dist/utilities/getDocumentData.js.map +1 -0
  272. package/dist/utilities/getDocumentPermissions.d.ts +18 -0
  273. package/dist/utilities/getDocumentPermissions.d.ts.map +1 -0
  274. package/dist/utilities/getDocumentPermissions.js +125 -0
  275. package/dist/utilities/getDocumentPermissions.js.map +1 -0
  276. package/dist/utilities/getHierarchyAncestry.d.ts +24 -0
  277. package/dist/utilities/getHierarchyAncestry.d.ts.map +1 -0
  278. package/dist/utilities/getHierarchyAncestry.js +103 -0
  279. package/dist/utilities/getHierarchyAncestry.js.map +1 -0
  280. package/dist/utilities/getIsLocked.d.ts +16 -0
  281. package/dist/utilities/getIsLocked.d.ts.map +1 -0
  282. package/dist/utilities/getIsLocked.js +79 -0
  283. package/dist/utilities/getIsLocked.js.map +1 -0
  284. package/dist/utilities/getRouteWithoutAdmin.d.ts +5 -0
  285. package/dist/utilities/getRouteWithoutAdmin.d.ts.map +1 -0
  286. package/dist/utilities/getRouteWithoutAdmin.js +7 -0
  287. package/dist/utilities/getRouteWithoutAdmin.js.map +1 -0
  288. package/dist/utilities/getVersions.d.ts +26 -0
  289. package/dist/utilities/getVersions.d.ts.map +1 -0
  290. package/dist/utilities/getVersions.js +238 -0
  291. package/dist/utilities/getVersions.js.map +1 -0
  292. package/dist/utilities/handleAuthRedirect.d.ts +23 -0
  293. package/dist/utilities/handleAuthRedirect.d.ts.map +1 -0
  294. package/dist/utilities/handleAuthRedirect.js +42 -0
  295. package/dist/utilities/handleAuthRedirect.js.map +1 -0
  296. package/dist/utilities/handleLivePreview.d.ts.map +1 -1
  297. package/dist/utilities/handleServerFunctions.d.ts +11 -0
  298. package/dist/utilities/handleServerFunctions.d.ts.map +1 -0
  299. package/dist/utilities/handleServerFunctions.js +72 -0
  300. package/dist/utilities/handleServerFunctions.js.map +1 -0
  301. package/dist/utilities/isCustomAdminView.d.ts +8 -0
  302. package/dist/utilities/isCustomAdminView.d.ts.map +1 -0
  303. package/dist/utilities/isCustomAdminView.js +22 -0
  304. package/dist/utilities/isCustomAdminView.js.map +1 -0
  305. package/dist/utilities/isCustomAdminView.spec.js +90 -0
  306. package/dist/utilities/isCustomAdminView.spec.js.map +1 -0
  307. package/dist/utilities/isPathMatchingRoute.d.ts +8 -0
  308. package/dist/utilities/isPathMatchingRoute.d.ts.map +1 -0
  309. package/dist/utilities/isPathMatchingRoute.js +30 -0
  310. package/dist/utilities/isPathMatchingRoute.js.map +1 -0
  311. package/dist/utilities/isPathMatchingRoute.spec.js +178 -0
  312. package/dist/utilities/isPathMatchingRoute.spec.js.map +1 -0
  313. package/dist/utilities/isPublicAdminRoute.d.ts +7 -0
  314. package/dist/utilities/isPublicAdminRoute.d.ts.map +1 -0
  315. package/dist/utilities/isPublicAdminRoute.js +24 -0
  316. package/dist/utilities/isPublicAdminRoute.js.map +1 -0
  317. package/dist/utilities/renderTable.js +1 -1
  318. package/dist/utilities/renderTable.js.map +1 -1
  319. package/dist/utilities/serverFunctionRegistry.d.ts +13 -0
  320. package/dist/utilities/serverFunctionRegistry.d.ts.map +1 -0
  321. package/dist/utilities/serverFunctionRegistry.js +25 -0
  322. package/dist/utilities/serverFunctionRegistry.js.map +1 -0
  323. package/dist/utilities/slugify.d.ts +15 -0
  324. package/dist/utilities/slugify.d.ts.map +1 -0
  325. package/dist/utilities/slugify.js +47 -0
  326. package/dist/utilities/slugify.js.map +1 -0
  327. package/dist/utilities/switchLanguageHandler.d.ts +13 -0
  328. package/dist/utilities/switchLanguageHandler.d.ts.map +1 -0
  329. package/dist/utilities/switchLanguageHandler.js +16 -0
  330. package/dist/utilities/switchLanguageHandler.js.map +1 -0
  331. package/dist/utilities/traverseForLocalizedFields.d.ts.map +1 -1
  332. package/dist/utilities/traverseForLocalizedFields.js +3 -0
  333. package/dist/utilities/traverseForLocalizedFields.js.map +1 -1
  334. package/dist/views/API/LocaleSelector/index.d.ts +9 -0
  335. package/dist/views/API/LocaleSelector/index.d.ts.map +1 -0
  336. package/dist/views/API/LocaleSelector/index.js +45 -0
  337. package/dist/views/API/LocaleSelector/index.js.map +1 -0
  338. package/dist/views/API/generateAPIViewMetadata.d.ts +19 -0
  339. package/dist/views/API/generateAPIViewMetadata.d.ts.map +1 -0
  340. package/dist/views/API/generateAPIViewMetadata.js +29 -0
  341. package/dist/views/API/generateAPIViewMetadata.js.map +1 -0
  342. package/dist/views/API/index.client.d.ts +4 -0
  343. package/dist/views/API/index.client.d.ts.map +1 -0
  344. package/dist/views/API/index.client.js +263 -0
  345. package/dist/views/API/index.client.js.map +1 -0
  346. package/dist/views/API/index.css +205 -0
  347. package/dist/views/API/index.d.ts +4 -0
  348. package/dist/views/API/index.d.ts.map +1 -0
  349. package/dist/views/API/index.js +8 -0
  350. package/dist/views/API/index.js.map +1 -0
  351. package/dist/views/Account/ResetPreferences/index.d.ts +5 -0
  352. package/dist/views/Account/ResetPreferences/index.d.ts.map +1 -0
  353. package/dist/views/Account/ResetPreferences/index.js +115 -0
  354. package/dist/views/Account/ResetPreferences/index.js.map +1 -0
  355. package/dist/views/Account/Settings/LanguageSelector.d.ts +6 -0
  356. package/dist/views/Account/Settings/LanguageSelector.d.ts.map +1 -0
  357. package/dist/views/Account/Settings/LanguageSelector.js +53 -0
  358. package/dist/views/Account/Settings/LanguageSelector.js.map +1 -0
  359. package/dist/views/Account/Settings/index.css +26 -0
  360. package/dist/views/Account/Settings/index.d.ts +13 -0
  361. package/dist/views/Account/Settings/index.d.ts.map +1 -0
  362. package/dist/views/Account/Settings/index.js +33 -0
  363. package/dist/views/Account/Settings/index.js.map +1 -0
  364. package/dist/views/Account/ToggleHighContrast/index.d.ts +3 -0
  365. package/dist/views/Account/ToggleHighContrast/index.d.ts.map +1 -0
  366. package/dist/views/Account/ToggleHighContrast/index.js +47 -0
  367. package/dist/views/Account/ToggleHighContrast/index.js.map +1 -0
  368. package/dist/views/Account/ToggleTheme/index.d.ts +3 -0
  369. package/dist/views/Account/ToggleTheme/index.d.ts.map +1 -0
  370. package/dist/views/Account/ToggleTheme/index.js +62 -0
  371. package/dist/views/Account/ToggleTheme/index.js.map +1 -0
  372. package/dist/views/Account/index.client.d.ts +3 -0
  373. package/dist/views/Account/index.client.d.ts.map +1 -0
  374. package/dist/views/Account/index.client.js +38 -0
  375. package/dist/views/Account/index.client.js.map +1 -0
  376. package/dist/views/Account/index.d.ts +4 -0
  377. package/dist/views/Account/index.d.ts.map +1 -0
  378. package/dist/views/Account/index.js +181 -0
  379. package/dist/views/Account/index.js.map +1 -0
  380. package/dist/views/Account/metadata.d.ts +3 -0
  381. package/dist/views/Account/metadata.d.ts.map +1 -0
  382. package/dist/views/Account/metadata.js +14 -0
  383. package/dist/views/Account/metadata.js.map +1 -0
  384. package/dist/views/CollectionTrash/generateCollectionTrashMetadata.d.ts +11 -0
  385. package/dist/views/CollectionTrash/generateCollectionTrashMetadata.d.ts.map +1 -0
  386. package/dist/views/CollectionTrash/generateCollectionTrashMetadata.js +25 -0
  387. package/dist/views/CollectionTrash/generateCollectionTrashMetadata.js.map +1 -0
  388. package/dist/views/CollectionTrash/index.d.ts +18 -0
  389. package/dist/views/CollectionTrash/index.d.ts.map +1 -0
  390. package/dist/views/CollectionTrash/index.js +20 -0
  391. package/dist/views/CollectionTrash/index.js.map +1 -0
  392. package/dist/views/CreateFirstUser/index.client.d.ts +10 -0
  393. package/dist/views/CreateFirstUser/index.client.d.ts.map +1 -0
  394. package/dist/views/CreateFirstUser/index.client.js +128 -0
  395. package/dist/views/CreateFirstUser/index.client.js.map +1 -0
  396. package/dist/views/CreateFirstUser/index.css +69 -0
  397. package/dist/views/CreateFirstUser/index.d.ts +5 -0
  398. package/dist/views/CreateFirstUser/index.d.ts.map +1 -0
  399. package/dist/views/CreateFirstUser/index.js +94 -0
  400. package/dist/views/CreateFirstUser/index.js.map +1 -0
  401. package/dist/views/CreateFirstUser/metadata.d.ts +3 -0
  402. package/dist/views/CreateFirstUser/metadata.d.ts.map +1 -0
  403. package/dist/views/CreateFirstUser/metadata.js +14 -0
  404. package/dist/views/CreateFirstUser/metadata.js.map +1 -0
  405. package/dist/views/Dashboard/Default/ModularDashboard/DashboardStepNav.d.ts +19 -0
  406. package/dist/views/Dashboard/Default/ModularDashboard/DashboardStepNav.d.ts.map +1 -0
  407. package/dist/views/Dashboard/Default/ModularDashboard/DashboardStepNav.js +216 -0
  408. package/dist/views/Dashboard/Default/ModularDashboard/DashboardStepNav.js.map +1 -0
  409. package/dist/views/Dashboard/Default/ModularDashboard/WidgetConfigDrawer.d.ts +11 -0
  410. package/dist/views/Dashboard/Default/ModularDashboard/WidgetConfigDrawer.d.ts.map +1 -0
  411. package/dist/views/Dashboard/Default/ModularDashboard/WidgetConfigDrawer.js +137 -0
  412. package/dist/views/Dashboard/Default/ModularDashboard/WidgetConfigDrawer.js.map +1 -0
  413. package/dist/views/Dashboard/Default/ModularDashboard/WidgetEditControl.d.ts +8 -0
  414. package/dist/views/Dashboard/Default/ModularDashboard/WidgetEditControl.d.ts.map +1 -0
  415. package/dist/views/Dashboard/Default/ModularDashboard/WidgetEditControl.js +81 -0
  416. package/dist/views/Dashboard/Default/ModularDashboard/WidgetEditControl.js.map +1 -0
  417. package/dist/views/Dashboard/Default/ModularDashboard/index.client.d.ts +22 -0
  418. package/dist/views/Dashboard/Default/ModularDashboard/index.client.d.ts.map +1 -0
  419. package/dist/views/Dashboard/Default/ModularDashboard/index.client.js +444 -0
  420. package/dist/views/Dashboard/Default/ModularDashboard/index.client.js.map +1 -0
  421. package/dist/views/Dashboard/Default/ModularDashboard/index.css +299 -0
  422. package/dist/views/Dashboard/Default/ModularDashboard/index.d.ts +5 -0
  423. package/dist/views/Dashboard/Default/ModularDashboard/index.d.ts.map +1 -0
  424. package/dist/views/Dashboard/Default/ModularDashboard/index.js +74 -0
  425. package/dist/views/Dashboard/Default/ModularDashboard/index.js.map +1 -0
  426. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/RenderWidget.d.ts +15 -0
  427. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/RenderWidget.d.ts.map +1 -0
  428. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/RenderWidget.js +107 -0
  429. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/RenderWidget.js.map +1 -0
  430. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/getDefaultLayoutServerFn.d.ts +12 -0
  431. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/getDefaultLayoutServerFn.d.ts.map +1 -0
  432. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/getDefaultLayoutServerFn.js +65 -0
  433. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/getDefaultLayoutServerFn.js.map +1 -0
  434. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/renderWidgetServerFn.d.ts +21 -0
  435. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/renderWidgetServerFn.d.ts.map +1 -0
  436. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/renderWidgetServerFn.js +80 -0
  437. package/dist/views/Dashboard/Default/ModularDashboard/renderWidget/renderWidgetServerFn.js.map +1 -0
  438. package/dist/views/Dashboard/Default/ModularDashboard/useDashboardLayout.d.ts +21 -0
  439. package/dist/views/Dashboard/Default/ModularDashboard/useDashboardLayout.d.ts.map +1 -0
  440. package/dist/views/Dashboard/Default/ModularDashboard/useDashboardLayout.js +194 -0
  441. package/dist/views/Dashboard/Default/ModularDashboard/useDashboardLayout.js.map +1 -0
  442. package/dist/views/Dashboard/Default/ModularDashboard/utils/collisionDetection.d.ts +7 -0
  443. package/dist/views/Dashboard/Default/ModularDashboard/utils/collisionDetection.d.ts.map +1 -0
  444. package/dist/views/Dashboard/Default/ModularDashboard/utils/collisionDetection.js +38 -0
  445. package/dist/views/Dashboard/Default/ModularDashboard/utils/collisionDetection.js.map +1 -0
  446. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromConfig.d.ts +4 -0
  447. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromConfig.d.ts.map +1 -0
  448. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromConfig.js +21 -0
  449. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromConfig.js.map +1 -0
  450. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromPreferences.d.ts +4 -0
  451. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromPreferences.d.ts.map +1 -0
  452. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromPreferences.js +10 -0
  453. package/dist/views/Dashboard/Default/ModularDashboard/utils/getItemsFromPreferences.js.map +1 -0
  454. package/dist/views/Dashboard/Default/ModularDashboard/utils/localeUtils.d.ts +23 -0
  455. package/dist/views/Dashboard/Default/ModularDashboard/utils/localeUtils.d.ts.map +1 -0
  456. package/dist/views/Dashboard/Default/ModularDashboard/utils/localeUtils.js +103 -0
  457. package/dist/views/Dashboard/Default/ModularDashboard/utils/localeUtils.js.map +1 -0
  458. package/dist/views/Dashboard/Default/ModularDashboard/utils/sensors.d.ts +2 -0
  459. package/dist/views/Dashboard/Default/ModularDashboard/utils/sensors.d.ts.map +1 -0
  460. package/dist/views/Dashboard/Default/ModularDashboard/utils/sensors.js +269 -0
  461. package/dist/views/Dashboard/Default/ModularDashboard/utils/sensors.js.map +1 -0
  462. package/dist/views/Dashboard/Default/index.d.ts +21 -0
  463. package/dist/views/Dashboard/Default/index.d.ts.map +1 -0
  464. package/dist/views/Dashboard/Default/index.js +56 -0
  465. package/dist/views/Dashboard/Default/index.js.map +1 -0
  466. package/dist/views/Dashboard/index.d.ts +6 -0
  467. package/dist/views/Dashboard/index.d.ts.map +1 -0
  468. package/dist/views/Dashboard/index.js +55 -0
  469. package/dist/views/Dashboard/index.js.map +1 -0
  470. package/dist/views/Dashboard/metadata.d.ts +3 -0
  471. package/dist/views/Dashboard/metadata.d.ts.map +1 -0
  472. package/dist/views/Dashboard/metadata.js +16 -0
  473. package/dist/views/Dashboard/metadata.js.map +1 -0
  474. package/dist/views/Dashboard/serverFunctions.d.ts +5 -0
  475. package/dist/views/Dashboard/serverFunctions.d.ts.map +1 -0
  476. package/dist/views/Dashboard/serverFunctions.js +3 -0
  477. package/dist/views/Dashboard/serverFunctions.js.map +1 -0
  478. package/dist/views/Document/generateEditViewMetadata.d.ts +6 -0
  479. package/dist/views/Document/generateEditViewMetadata.d.ts.map +1 -0
  480. package/dist/views/Document/generateEditViewMetadata.js +52 -0
  481. package/dist/views/Document/generateEditViewMetadata.js.map +1 -0
  482. package/dist/views/Document/getCustomDocumentViewByKey.d.ts +3 -0
  483. package/dist/views/Document/getCustomDocumentViewByKey.d.ts.map +1 -0
  484. package/dist/views/Document/getCustomDocumentViewByKey.js +4 -0
  485. package/dist/views/Document/getCustomDocumentViewByKey.js.map +1 -0
  486. package/dist/views/Document/getCustomViewByRoute.d.ts +10 -0
  487. package/dist/views/Document/getCustomViewByRoute.d.ts.map +1 -0
  488. package/dist/views/Document/getCustomViewByRoute.js +35 -0
  489. package/dist/views/Document/getCustomViewByRoute.js.map +1 -0
  490. package/dist/views/Document/getDocumentView.d.ts +18 -0
  491. package/dist/views/Document/getDocumentView.d.ts.map +1 -0
  492. package/dist/views/Document/getDocumentView.js +306 -0
  493. package/dist/views/Document/getDocumentView.js.map +1 -0
  494. package/dist/views/Document/getMetaBySegment.d.ts +20 -0
  495. package/dist/views/Document/getMetaBySegment.d.ts.map +1 -0
  496. package/dist/views/Document/getMetaBySegment.js +136 -0
  497. package/dist/views/Document/getMetaBySegment.js.map +1 -0
  498. package/dist/views/Document/handleServerFunction.d.ts +3 -0
  499. package/dist/views/Document/handleServerFunction.d.ts.map +1 -0
  500. package/dist/views/Document/handleServerFunction.js +134 -0
  501. package/dist/views/Document/handleServerFunction.js.map +1 -0
  502. package/dist/views/Document/index.d.ts +24 -0
  503. package/dist/views/Document/index.d.ts.map +1 -0
  504. package/dist/views/Document/index.js +401 -0
  505. package/dist/views/Document/index.js.map +1 -0
  506. package/dist/views/Document/renderDocumentSlots.d.ts +15 -0
  507. package/dist/views/Document/renderDocumentSlots.d.ts.map +1 -0
  508. package/dist/views/Document/renderDocumentSlots.js +179 -0
  509. package/dist/views/Document/renderDocumentSlots.js.map +1 -0
  510. package/dist/views/Edit/index.css +47 -0
  511. package/dist/views/Edit/index.d.ts +1 -1
  512. package/dist/views/Edit/index.d.ts.map +1 -1
  513. package/dist/views/Edit/index.js +2 -1
  514. package/dist/views/Edit/index.js.map +1 -1
  515. package/dist/views/ForgotPassword/ForgotPasswordForm/index.css +24 -0
  516. package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts +4 -0
  517. package/dist/views/ForgotPassword/ForgotPasswordForm/index.d.ts.map +1 -0
  518. package/dist/views/ForgotPassword/ForgotPasswordForm/index.js +193 -0
  519. package/dist/views/ForgotPassword/ForgotPasswordForm/index.js.map +1 -0
  520. package/dist/views/ForgotPassword/index.css +12 -0
  521. package/dist/views/ForgotPassword/index.d.ts +6 -0
  522. package/dist/views/ForgotPassword/index.d.ts.map +1 -0
  523. package/dist/views/ForgotPassword/index.js +80 -0
  524. package/dist/views/ForgotPassword/index.js.map +1 -0
  525. package/dist/views/ForgotPassword/metadata.d.ts +3 -0
  526. package/dist/views/ForgotPassword/metadata.d.ts.map +1 -0
  527. package/dist/views/ForgotPassword/metadata.js +14 -0
  528. package/dist/views/ForgotPassword/metadata.js.map +1 -0
  529. package/dist/views/Hierarchy/index.d.ts +18 -0
  530. package/dist/views/Hierarchy/index.d.ts.map +1 -0
  531. package/dist/views/Hierarchy/index.js +19 -0
  532. package/dist/views/Hierarchy/index.js.map +1 -0
  533. package/dist/views/List/createSerializableValue.d.ts +2 -0
  534. package/dist/views/List/createSerializableValue.d.ts.map +1 -0
  535. package/dist/views/List/createSerializableValue.js +14 -0
  536. package/dist/views/List/createSerializableValue.js.map +1 -0
  537. package/dist/views/List/enrichDocsWithVersionStatus.d.ts +14 -0
  538. package/dist/views/List/enrichDocsWithVersionStatus.d.ts.map +1 -0
  539. package/dist/views/List/enrichDocsWithVersionStatus.js +96 -0
  540. package/dist/views/List/enrichDocsWithVersionStatus.js.map +1 -0
  541. package/dist/views/List/extractRelationshipDisplayValue.d.ts +3 -0
  542. package/dist/views/List/extractRelationshipDisplayValue.d.ts.map +1 -0
  543. package/dist/views/List/extractRelationshipDisplayValue.js +17 -0
  544. package/dist/views/List/extractRelationshipDisplayValue.js.map +1 -0
  545. package/dist/views/List/extractValueOrRelationshipID.d.ts +2 -0
  546. package/dist/views/List/extractValueOrRelationshipID.d.ts.map +1 -0
  547. package/dist/views/List/extractValueOrRelationshipID.js +19 -0
  548. package/dist/views/List/extractValueOrRelationshipID.js.map +1 -0
  549. package/dist/views/List/generateListViewMetadata.d.ts +5 -0
  550. package/dist/views/List/generateListViewMetadata.d.ts.map +1 -0
  551. package/dist/views/List/generateListViewMetadata.js +24 -0
  552. package/dist/views/List/generateListViewMetadata.js.map +1 -0
  553. package/dist/views/List/handleGroupBy.d.ts +24 -0
  554. package/dist/views/List/handleGroupBy.d.ts.map +1 -0
  555. package/dist/views/List/handleGroupBy.js +160 -0
  556. package/dist/views/List/handleGroupBy.js.map +1 -0
  557. package/dist/views/List/handleHierarchy.d.ts +18 -0
  558. package/dist/views/List/handleHierarchy.d.ts.map +1 -0
  559. package/dist/views/List/handleHierarchy.js +259 -0
  560. package/dist/views/List/handleHierarchy.js.map +1 -0
  561. package/dist/views/List/handleServerFunction.d.ts +4 -0
  562. package/dist/views/List/handleServerFunction.d.ts.map +1 -0
  563. package/dist/views/List/handleServerFunction.js +131 -0
  564. package/dist/views/List/handleServerFunction.js.map +1 -0
  565. package/dist/views/List/index.client.d.ts +5 -0
  566. package/dist/views/List/index.client.d.ts.map +1 -0
  567. package/dist/views/List/index.client.js +306 -0
  568. package/dist/views/List/index.client.js.map +1 -0
  569. package/dist/views/List/index.css +4 -0
  570. package/dist/views/List/index.d.ts +40 -2
  571. package/dist/views/List/index.d.ts.map +1 -1
  572. package/dist/views/List/index.js +421 -264
  573. package/dist/views/List/index.js.map +1 -1
  574. package/dist/views/List/renderListViewSlots.d.ts +12 -0
  575. package/dist/views/List/renderListViewSlots.d.ts.map +1 -0
  576. package/dist/views/List/renderListViewSlots.js +81 -0
  577. package/dist/views/List/renderListViewSlots.js.map +1 -0
  578. package/dist/views/List/resolveAllFilterOptions.d.ts +8 -0
  579. package/dist/views/List/resolveAllFilterOptions.d.ts.map +1 -0
  580. package/dist/views/List/resolveAllFilterOptions.js +49 -0
  581. package/dist/views/List/resolveAllFilterOptions.js.map +1 -0
  582. package/dist/views/List/transformColumnsToSelect.d.ts +3 -0
  583. package/dist/views/List/transformColumnsToSelect.d.ts.map +1 -0
  584. package/dist/views/List/transformColumnsToSelect.js +11 -0
  585. package/dist/views/List/transformColumnsToSelect.js.map +1 -0
  586. package/dist/views/Login/LoginField/index.d.ts +9 -0
  587. package/dist/views/Login/LoginField/index.d.ts.map +1 -0
  588. package/dist/views/Login/LoginField/index.js +100 -0
  589. package/dist/views/Login/LoginField/index.js.map +1 -0
  590. package/dist/views/Login/LoginForm/index.css +48 -0
  591. package/dist/views/Login/LoginForm/index.d.ts +11 -0
  592. package/dist/views/Login/LoginForm/index.d.ts.map +1 -0
  593. package/dist/views/Login/LoginForm/index.js +188 -0
  594. package/dist/views/Login/LoginForm/index.js.map +1 -0
  595. package/dist/views/Login/index.css +8 -0
  596. package/dist/views/Login/index.d.ts +6 -0
  597. package/dist/views/Login/index.d.ts.map +1 -0
  598. package/dist/views/Login/index.js +99 -0
  599. package/dist/views/Login/index.js.map +1 -0
  600. package/dist/views/Login/metadata.d.ts +3 -0
  601. package/dist/views/Login/metadata.d.ts.map +1 -0
  602. package/dist/views/Login/metadata.js +14 -0
  603. package/dist/views/Login/metadata.js.map +1 -0
  604. package/dist/views/Logout/LogoutClient.d.ts +18 -0
  605. package/dist/views/Logout/LogoutClient.d.ts.map +1 -0
  606. package/dist/views/Logout/LogoutClient.js +145 -0
  607. package/dist/views/Logout/LogoutClient.js.map +1 -0
  608. package/dist/views/Logout/index.css +18 -0
  609. package/dist/views/Logout/index.d.ts +7 -0
  610. package/dist/views/Logout/index.d.ts.map +1 -0
  611. package/dist/views/Logout/index.js +32 -0
  612. package/dist/views/Logout/index.js.map +1 -0
  613. package/dist/views/Logout/metadata.d.ts +3 -0
  614. package/dist/views/Logout/metadata.d.ts.map +1 -0
  615. package/dist/views/Logout/metadata.js +13 -0
  616. package/dist/views/Logout/metadata.js.map +1 -0
  617. package/dist/views/NotFound/index.client.d.ts +4 -0
  618. package/dist/views/NotFound/index.client.d.ts.map +1 -0
  619. package/dist/views/NotFound/index.client.js +75 -0
  620. package/dist/views/NotFound/index.client.js.map +1 -0
  621. package/dist/views/NotFound/index.css +47 -0
  622. package/dist/views/NotFound/index.d.ts +6 -0
  623. package/dist/views/NotFound/index.d.ts.map +1 -0
  624. package/dist/views/NotFound/index.js +9 -0
  625. package/dist/views/NotFound/index.js.map +1 -0
  626. package/dist/views/NotFound/metadata.d.ts +3 -0
  627. package/dist/views/NotFound/metadata.d.ts.map +1 -0
  628. package/dist/views/NotFound/metadata.js +13 -0
  629. package/dist/views/NotFound/metadata.js.map +1 -0
  630. package/dist/views/NotFound/page.d.ts +23 -0
  631. package/dist/views/NotFound/page.d.ts.map +1 -0
  632. package/dist/views/NotFound/page.js +90 -0
  633. package/dist/views/NotFound/page.js.map +1 -0
  634. package/dist/views/ResetPassword/ResetPasswordForm/index.css +24 -0
  635. package/dist/views/ResetPassword/ResetPasswordForm/index.d.ts +8 -0
  636. package/dist/views/ResetPassword/ResetPasswordForm/index.d.ts.map +1 -0
  637. package/dist/views/ResetPassword/ResetPasswordForm/index.js +130 -0
  638. package/dist/views/ResetPassword/ResetPasswordForm/index.js.map +1 -0
  639. package/dist/views/ResetPassword/index.css +18 -0
  640. package/dist/views/ResetPassword/index.d.ts +6 -0
  641. package/dist/views/ResetPassword/index.d.ts.map +1 -0
  642. package/dist/views/ResetPassword/index.js +89 -0
  643. package/dist/views/ResetPassword/index.js.map +1 -0
  644. package/dist/views/ResetPassword/metadata.d.ts +3 -0
  645. package/dist/views/ResetPassword/metadata.d.ts.map +1 -0
  646. package/dist/views/ResetPassword/metadata.js +14 -0
  647. package/dist/views/ResetPassword/metadata.js.map +1 -0
  648. package/dist/views/Root/adminViews.d.ts +9 -0
  649. package/dist/views/Root/adminViews.d.ts.map +1 -0
  650. package/dist/views/Root/adminViews.js +83 -0
  651. package/dist/views/Root/adminViews.js.map +1 -0
  652. package/dist/views/Root/attachViewActions.d.ts +10 -0
  653. package/dist/views/Root/attachViewActions.d.ts.map +1 -0
  654. package/dist/views/Root/attachViewActions.js +27 -0
  655. package/dist/views/Root/attachViewActions.js.map +1 -0
  656. package/dist/views/Root/generateCustomViewMetadata.d.ts +10 -0
  657. package/dist/views/Root/generateCustomViewMetadata.d.ts.map +1 -0
  658. package/dist/views/Root/generateCustomViewMetadata.js +25 -0
  659. package/dist/views/Root/generateCustomViewMetadata.js.map +1 -0
  660. package/dist/views/Root/generatePageMetadata.d.ts +19 -0
  661. package/dist/views/Root/generatePageMetadata.d.ts.map +1 -0
  662. package/dist/views/Root/generatePageMetadata.js +143 -0
  663. package/dist/views/Root/generatePageMetadata.js.map +1 -0
  664. package/dist/views/Root/getCustomCollectionViewByRoute.d.ts +12 -0
  665. package/dist/views/Root/getCustomCollectionViewByRoute.d.ts.map +1 -0
  666. package/dist/views/Root/getCustomCollectionViewByRoute.js +48 -0
  667. package/dist/views/Root/getCustomCollectionViewByRoute.js.map +1 -0
  668. package/dist/views/Root/getCustomCollectionViewByRoute.spec.js +168 -0
  669. package/dist/views/Root/getCustomCollectionViewByRoute.spec.js.map +1 -0
  670. package/dist/views/Root/getCustomGlobalViewByRoute.d.ts +12 -0
  671. package/dist/views/Root/getCustomGlobalViewByRoute.d.ts.map +1 -0
  672. package/dist/views/Root/getCustomGlobalViewByRoute.js +46 -0
  673. package/dist/views/Root/getCustomGlobalViewByRoute.js.map +1 -0
  674. package/dist/views/Root/getCustomViewByKey.d.ts +10 -0
  675. package/dist/views/Root/getCustomViewByKey.d.ts.map +1 -0
  676. package/dist/views/Root/getCustomViewByKey.js +16 -0
  677. package/dist/views/Root/getCustomViewByKey.js.map +1 -0
  678. package/dist/views/Root/getCustomViewByRoute.d.ts +16 -0
  679. package/dist/views/Root/getCustomViewByRoute.d.ts.map +1 -0
  680. package/dist/views/Root/getCustomViewByRoute.js +49 -0
  681. package/dist/views/Root/getCustomViewByRoute.js.map +1 -0
  682. package/dist/views/Root/getDocumentViewInfo.d.ts +6 -0
  683. package/dist/views/Root/getDocumentViewInfo.d.ts.map +1 -0
  684. package/dist/views/Root/getDocumentViewInfo.js +28 -0
  685. package/dist/views/Root/getDocumentViewInfo.js.map +1 -0
  686. package/dist/views/Root/getRouteData.d.ts +41 -0
  687. package/dist/views/Root/getRouteData.d.ts.map +1 -0
  688. package/dist/views/Root/getRouteData.js +345 -0
  689. package/dist/views/Root/getRouteData.js.map +1 -0
  690. package/dist/views/Root/index.d.ts +28 -0
  691. package/dist/views/Root/index.d.ts.map +1 -0
  692. package/dist/views/Root/index.js +304 -0
  693. package/dist/views/Root/index.js.map +1 -0
  694. package/dist/views/Unauthorized/index.css +44 -0
  695. package/dist/views/Unauthorized/index.d.ts +6 -0
  696. package/dist/views/Unauthorized/index.d.ts.map +1 -0
  697. package/dist/views/Unauthorized/index.js +34 -0
  698. package/dist/views/Unauthorized/index.js.map +1 -0
  699. package/dist/views/Unauthorized/metadata.d.ts +3 -0
  700. package/dist/views/Unauthorized/metadata.d.ts.map +1 -0
  701. package/dist/views/Unauthorized/metadata.js +14 -0
  702. package/dist/views/Unauthorized/metadata.js.map +1 -0
  703. package/dist/views/Verify/index.client.d.ts +11 -0
  704. package/dist/views/Verify/index.client.d.ts.map +1 -0
  705. package/dist/views/Verify/index.client.js +132 -0
  706. package/dist/views/Verify/index.client.js.map +1 -0
  707. package/dist/views/Verify/index.css +38 -0
  708. package/dist/views/Verify/index.d.ts +6 -0
  709. package/dist/views/Verify/index.d.ts.map +1 -0
  710. package/dist/views/Verify/index.js +68 -0
  711. package/dist/views/Verify/index.js.map +1 -0
  712. package/dist/views/Verify/metadata.d.ts +3 -0
  713. package/dist/views/Verify/metadata.d.ts.map +1 -0
  714. package/dist/views/Verify/metadata.js +14 -0
  715. package/dist/views/Verify/metadata.js.map +1 -0
  716. package/dist/views/Version/Default/SelectedLocalesContext.d.ts +7 -0
  717. package/dist/views/Version/Default/SelectedLocalesContext.d.ts.map +1 -0
  718. package/dist/views/Version/Default/SelectedLocalesContext.js +8 -0
  719. package/dist/views/Version/Default/SelectedLocalesContext.js.map +1 -0
  720. package/dist/views/Version/Default/SetStepNav.d.ts +11 -0
  721. package/dist/views/Version/Default/SetStepNav.d.ts.map +1 -0
  722. package/dist/views/Version/Default/SetStepNav.js +139 -0
  723. package/dist/views/Version/Default/SetStepNav.js.map +1 -0
  724. package/dist/views/Version/Default/index.css +227 -0
  725. package/dist/views/Version/Default/index.d.ts +5 -0
  726. package/dist/views/Version/Default/index.d.ts.map +1 -0
  727. package/dist/views/Version/Default/index.js +263 -0
  728. package/dist/views/Version/Default/index.js.map +1 -0
  729. package/dist/views/Version/Default/types.d.ts +23 -0
  730. package/dist/views/Version/Default/types.d.ts.map +1 -0
  731. package/dist/views/Version/Default/types.js +2 -0
  732. package/dist/views/Version/Default/types.js.map +1 -0
  733. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.css +64 -0
  734. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.d.ts +26 -0
  735. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.d.ts.map +1 -0
  736. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.js +134 -0
  737. package/dist/views/Version/RenderFieldsToDiff/DiffCollapser/index.js.map +1 -0
  738. package/dist/views/Version/RenderFieldsToDiff/RenderVersionFieldsToDiff.d.ts +12 -0
  739. package/dist/views/Version/RenderFieldsToDiff/RenderVersionFieldsToDiff.d.ts.map +1 -0
  740. package/dist/views/Version/RenderFieldsToDiff/RenderVersionFieldsToDiff.js +81 -0
  741. package/dist/views/Version/RenderFieldsToDiff/RenderVersionFieldsToDiff.js.map +1 -0
  742. package/dist/views/Version/RenderFieldsToDiff/buildVersionFields.d.ts +31 -0
  743. package/dist/views/Version/RenderFieldsToDiff/buildVersionFields.d.ts.map +1 -0
  744. package/dist/views/Version/RenderFieldsToDiff/buildVersionFields.js +439 -0
  745. package/dist/views/Version/RenderFieldsToDiff/buildVersionFields.js.map +1 -0
  746. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.css +97 -0
  747. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.d.ts +4 -0
  748. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.d.ts.map +1 -0
  749. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.js +94 -0
  750. package/dist/views/Version/RenderFieldsToDiff/fields/Checkbox/index.js.map +1 -0
  751. package/dist/views/Version/RenderFieldsToDiff/fields/Collapsible/index.d.ts +3 -0
  752. package/dist/views/Version/RenderFieldsToDiff/fields/Collapsible/index.d.ts.map +1 -0
  753. package/dist/views/Version/RenderFieldsToDiff/fields/Collapsible/index.js +61 -0
  754. package/dist/views/Version/RenderFieldsToDiff/fields/Collapsible/index.js.map +1 -0
  755. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.css +29 -0
  756. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.d.ts +4 -0
  757. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.d.ts.map +1 -0
  758. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.js +82 -0
  759. package/dist/views/Version/RenderFieldsToDiff/fields/Date/index.js.map +1 -0
  760. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.css +5 -0
  761. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.d.ts +4 -0
  762. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.d.ts.map +1 -0
  763. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.js +67 -0
  764. package/dist/views/Version/RenderFieldsToDiff/fields/Group/index.js.map +1 -0
  765. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.css +40 -0
  766. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts +5 -0
  767. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.d.ts.map +1 -0
  768. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.js +131 -0
  769. package/dist/views/Version/RenderFieldsToDiff/fields/Iterable/index.js.map +1 -0
  770. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/generateLabelFromValue.d.ts +10 -0
  771. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/generateLabelFromValue.d.ts.map +1 -0
  772. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/generateLabelFromValue.js +67 -0
  773. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/generateLabelFromValue.js.map +1 -0
  774. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.css +209 -0
  775. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts +21 -0
  776. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.d.ts.map +1 -0
  777. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.js +240 -0
  778. package/dist/views/Version/RenderFieldsToDiff/fields/Relationship/index.js.map +1 -0
  779. package/dist/views/Version/RenderFieldsToDiff/fields/Row/index.d.ts +3 -0
  780. package/dist/views/Version/RenderFieldsToDiff/fields/Row/index.d.ts.map +1 -0
  781. package/dist/views/Version/RenderFieldsToDiff/fields/Row/index.js +17 -0
  782. package/dist/views/Version/RenderFieldsToDiff/fields/Row/index.js.map +1 -0
  783. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.css +4 -0
  784. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.d.ts +4 -0
  785. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.d.ts.map +1 -0
  786. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.js +91 -0
  787. package/dist/views/Version/RenderFieldsToDiff/fields/Select/index.js.map +1 -0
  788. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.css +6 -0
  789. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts +4 -0
  790. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.d.ts.map +1 -0
  791. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.js +159 -0
  792. package/dist/views/Version/RenderFieldsToDiff/fields/Tabs/index.js.map +1 -0
  793. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.css +4 -0
  794. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.d.ts +4 -0
  795. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.d.ts.map +1 -0
  796. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.js +104 -0
  797. package/dist/views/Version/RenderFieldsToDiff/fields/Text/index.js.map +1 -0
  798. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.css +188 -0
  799. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.d.ts +33 -0
  800. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.d.ts.map +1 -0
  801. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.js +225 -0
  802. package/dist/views/Version/RenderFieldsToDiff/fields/Upload/index.js.map +1 -0
  803. package/dist/views/Version/RenderFieldsToDiff/fields/index.d.ts +3 -0
  804. package/dist/views/Version/RenderFieldsToDiff/fields/index.d.ts.map +1 -0
  805. package/dist/views/Version/RenderFieldsToDiff/fields/index.js +29 -0
  806. package/dist/views/Version/RenderFieldsToDiff/fields/index.js.map +1 -0
  807. package/dist/views/Version/RenderFieldsToDiff/index.css +24 -0
  808. package/dist/views/Version/RenderFieldsToDiff/index.d.ts +3 -0
  809. package/dist/views/Version/RenderFieldsToDiff/index.d.ts.map +1 -0
  810. package/dist/views/Version/RenderFieldsToDiff/index.js +14 -0
  811. package/dist/views/Version/RenderFieldsToDiff/index.js.map +1 -0
  812. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.d.ts +25 -0
  813. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.d.ts.map +1 -0
  814. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.js +242 -0
  815. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.js.map +1 -0
  816. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.spec.js +861 -0
  817. package/dist/views/Version/RenderFieldsToDiff/utilities/countChangedFields.spec.js.map +1 -0
  818. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.d.ts +2 -0
  819. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.d.ts.map +1 -0
  820. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.js +4 -0
  821. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.js.map +1 -0
  822. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.spec.js +47 -0
  823. package/dist/views/Version/RenderFieldsToDiff/utilities/fieldHasChanges.spec.js.map +1 -0
  824. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.d.ts +19 -0
  825. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.d.ts.map +1 -0
  826. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.js +45 -0
  827. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.js.map +1 -0
  828. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.spec.js +135 -0
  829. package/dist/views/Version/RenderFieldsToDiff/utilities/getFieldsForRowComparison.spec.js.map +1 -0
  830. package/dist/views/Version/Restore/index.css +26 -0
  831. package/dist/views/Version/Restore/index.d.ts +16 -0
  832. package/dist/views/Version/Restore/index.d.ts.map +1 -0
  833. package/dist/views/Version/Restore/index.js +113 -0
  834. package/dist/views/Version/Restore/index.js.map +1 -0
  835. package/dist/views/Version/SelectComparison/VersionDrawer/CreatedAtCell.d.ts +4 -0
  836. package/dist/views/Version/SelectComparison/VersionDrawer/CreatedAtCell.d.ts.map +1 -0
  837. package/dist/views/Version/SelectComparison/VersionDrawer/CreatedAtCell.js +60 -0
  838. package/dist/views/Version/SelectComparison/VersionDrawer/CreatedAtCell.js.map +1 -0
  839. package/dist/views/Version/SelectComparison/VersionDrawer/index.d.ts +33 -0
  840. package/dist/views/Version/SelectComparison/VersionDrawer/index.d.ts.map +1 -0
  841. package/dist/views/Version/SelectComparison/VersionDrawer/index.js +246 -0
  842. package/dist/views/Version/SelectComparison/VersionDrawer/index.js.map +1 -0
  843. package/dist/views/Version/SelectComparison/VersionDrawer/index.scss +18 -0
  844. package/dist/views/Version/SelectComparison/index.d.ts +5 -0
  845. package/dist/views/Version/SelectComparison/index.d.ts.map +1 -0
  846. package/dist/views/Version/SelectComparison/index.js +60 -0
  847. package/dist/views/Version/SelectComparison/index.js.map +1 -0
  848. package/dist/views/Version/SelectComparison/index.scss +9 -0
  849. package/dist/views/Version/SelectComparison/types.d.ts +26 -0
  850. package/dist/views/Version/SelectComparison/types.d.ts.map +1 -0
  851. package/dist/views/Version/SelectComparison/types.js +2 -0
  852. package/dist/views/Version/SelectComparison/types.js.map +1 -0
  853. package/dist/views/Version/SelectLocales/index.d.ts +12 -0
  854. package/dist/views/Version/SelectLocales/index.d.ts.map +1 -0
  855. package/dist/views/Version/SelectLocales/index.js +39 -0
  856. package/dist/views/Version/SelectLocales/index.js.map +1 -0
  857. package/dist/views/Version/generateVersionViewMetadata.d.ts +6 -0
  858. package/dist/views/Version/generateVersionViewMetadata.d.ts.map +1 -0
  859. package/dist/views/Version/generateVersionViewMetadata.js +58 -0
  860. package/dist/views/Version/generateVersionViewMetadata.js.map +1 -0
  861. package/dist/views/Version/index.d.ts +4 -0
  862. package/dist/views/Version/index.d.ts.map +1 -0
  863. package/dist/views/Version/index.js +351 -0
  864. package/dist/views/Version/index.js.map +1 -0
  865. package/dist/views/Versions/VersionPillLabel/VersionPillLabel.d.ts +31 -0
  866. package/dist/views/Versions/VersionPillLabel/VersionPillLabel.d.ts.map +1 -0
  867. package/dist/views/Versions/VersionPillLabel/VersionPillLabel.js +126 -0
  868. package/dist/views/Versions/VersionPillLabel/VersionPillLabel.js.map +1 -0
  869. package/dist/views/Versions/VersionPillLabel/getVersionLabel.d.ts +37 -0
  870. package/dist/views/Versions/VersionPillLabel/getVersionLabel.d.ts.map +1 -0
  871. package/dist/views/Versions/VersionPillLabel/getVersionLabel.js +43 -0
  872. package/dist/views/Versions/VersionPillLabel/getVersionLabel.js.map +1 -0
  873. package/dist/views/Versions/VersionPillLabel/index.css +31 -0
  874. package/dist/views/Versions/buildColumns.d.ts +16 -0
  875. package/dist/views/Versions/buildColumns.d.ts.map +1 -0
  876. package/dist/views/Versions/buildColumns.js +87 -0
  877. package/dist/views/Versions/buildColumns.js.map +1 -0
  878. package/dist/views/Versions/cells/AutosaveCell/index.css +7 -0
  879. package/dist/views/Versions/cells/AutosaveCell/index.d.ts +21 -0
  880. package/dist/views/Versions/cells/AutosaveCell/index.d.ts.map +1 -0
  881. package/dist/views/Versions/cells/AutosaveCell/index.js +47 -0
  882. package/dist/views/Versions/cells/AutosaveCell/index.js.map +1 -0
  883. package/dist/views/Versions/cells/CreatedAt/index.d.ts +13 -0
  884. package/dist/views/Versions/cells/CreatedAt/index.d.ts.map +1 -0
  885. package/dist/views/Versions/cells/CreatedAt/index.js +62 -0
  886. package/dist/views/Versions/cells/CreatedAt/index.js.map +1 -0
  887. package/dist/views/Versions/cells/ID/index.d.ts +5 -0
  888. package/dist/views/Versions/cells/ID/index.d.ts.map +1 -0
  889. package/dist/views/Versions/cells/ID/index.js +12 -0
  890. package/dist/views/Versions/cells/ID/index.js.map +1 -0
  891. package/dist/views/Versions/cells/VersionDrawerCreatedAtCell/index.d.ts +4 -0
  892. package/dist/views/Versions/cells/VersionDrawerCreatedAtCell/index.d.ts.map +1 -0
  893. package/dist/views/Versions/cells/VersionDrawerCreatedAtCell/index.js +60 -0
  894. package/dist/views/Versions/cells/VersionDrawerCreatedAtCell/index.js.map +1 -0
  895. package/dist/views/Versions/fetchVersions.d.ts +42 -0
  896. package/dist/views/Versions/fetchVersions.d.ts.map +1 -0
  897. package/dist/views/Versions/fetchVersions.js +151 -0
  898. package/dist/views/Versions/fetchVersions.js.map +1 -0
  899. package/dist/views/Versions/generateVersionsViewMetadata.d.ts +6 -0
  900. package/dist/views/Versions/generateVersionsViewMetadata.d.ts.map +1 -0
  901. package/dist/views/Versions/generateVersionsViewMetadata.js +51 -0
  902. package/dist/views/Versions/generateVersionsViewMetadata.js.map +1 -0
  903. package/dist/views/Versions/index.client.d.ts +9 -0
  904. package/dist/views/Versions/index.client.d.ts.map +1 -0
  905. package/dist/views/Versions/index.client.js +77 -0
  906. package/dist/views/Versions/index.client.js.map +1 -0
  907. package/dist/views/Versions/index.css +85 -0
  908. package/dist/views/Versions/index.d.ts +5 -0
  909. package/dist/views/Versions/index.d.ts.map +1 -0
  910. package/dist/views/Versions/index.js +178 -0
  911. package/dist/views/Versions/index.js.map +1 -0
  912. package/dist/views/Versions/types.d.ts +17 -0
  913. package/dist/views/Versions/types.d.ts.map +1 -0
  914. package/dist/views/Versions/types.js +2 -0
  915. package/dist/views/Versions/types.js.map +1 -0
  916. package/dist/widgets/CollectionCards/getCollectionCardsData.d.ts +20 -0
  917. package/dist/widgets/CollectionCards/getCollectionCardsData.d.ts.map +1 -0
  918. package/dist/widgets/CollectionCards/getCollectionCardsData.js +29 -0
  919. package/dist/widgets/CollectionCards/getCollectionCardsData.js.map +1 -0
  920. package/dist/widgets/CollectionCards/index.client.d.ts +5 -0
  921. package/dist/widgets/CollectionCards/index.client.d.ts.map +1 -0
  922. package/dist/widgets/CollectionCards/index.client.js +139 -0
  923. package/dist/widgets/CollectionCards/index.client.js.map +1 -0
  924. package/package.json +663 -7
  925. package/dist/elements/ShimmerEffect/index.scss +0 -40
  926. package/dist/elements/Table/DefaultCell/fields/File/index.scss +0 -25
  927. package/dist/elements/Table/DefaultCell/fields/Hierarchy/index.scss +0 -29
  928. package/dist/elements/Table/DefaultCell/fields/JSON/index.scss +0 -31
  929. package/dist/elements/Table/DefaultCell/fields/Relationship/index.scss +0 -0
  930. package/dist/elements/WhereBuilder/Condition/Number/index.scss +0 -7
  931. package/dist/elements/WhereBuilder/Condition/Text/index.scss +0 -7
  932. package/dist/elements/WhereBuilder/Condition/index.scss +0 -59
  933. package/dist/elements/WhereBuilder/index.scss +0 -42
  934. package/dist/exports/client/CodeEditor-A66UUZBE.js +0 -14
  935. package/dist/exports/client/CodeEditor-A66UUZBE.js.map +0 -7
  936. package/dist/exports/client/DatePicker-XEMRSUWJ.js +0 -14
  937. package/dist/exports/client/DatePicker-XEMRSUWJ.js.map +0 -7
  938. package/dist/exports/client/chunk-5LKBKI4T.js +0 -14
  939. package/dist/exports/client/chunk-5LKBKI4T.js.map +0 -7
  940. package/dist/exports/client/chunk-I3GONEJJ.js +0 -29
  941. package/dist/exports/client/chunk-I3GONEJJ.js.map +0 -7
  942. package/dist/exports/client/chunk-ZJOSXDGN.js +0 -27
  943. package/dist/exports/client/chunk-ZJOSXDGN.js.map +0 -7
  944. package/dist/providers/LivePreview/index.scss +0 -68
  945. package/dist/providers/Params/index.d.ts +0 -19
  946. package/dist/providers/Params/index.d.ts.map +0 -1
  947. package/dist/providers/Params/index.js +0 -37
  948. package/dist/providers/Params/index.js.map +0 -1
  949. package/dist/providers/RouteTransition/ProgressBar/index.scss +0 -23
  950. package/dist/providers/SearchParams/index.d.ts +0 -27
  951. package/dist/providers/SearchParams/index.d.ts.map +0 -1
  952. package/dist/providers/SearchParams/index.js +0 -54
  953. package/dist/providers/SearchParams/index.js.map +0 -1
  954. package/dist/providers/TableColumns/RenderDefaultCell/index.scss +0 -15
  955. package/dist/views/Edit/index.scss +0 -60
  956. /package/dist/elements/LivePreview/ToolbarArea/{index.scss → index.css} +0 -0
  957. /package/dist/elements/Table/DefaultCell/fields/Checkbox/{index.scss → index.css} +0 -0
  958. /package/dist/elements/Table/DefaultCell/fields/Code/{index.scss → index.css} +0 -0
  959. /package/dist/forms/Form/{index.scss → index.css} +0 -0
  960. /package/dist/forms/Submit/{index.scss → index.css} +0 -0
@@ -0,0 +1,70 @@
1
+ 'use client';
2
+
3
+ import { c as _c } from "react/compiler-runtime";
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ import React from 'react';
6
+ import { XIcon } from '../../../icons/X/index.js';
7
+ import { Button } from '../../Button/index.js';
8
+ import { useModal } from '../../Modal/index.js';
9
+ import { useDialogContext } from '../context.js';
10
+ const baseClass = 'dialog';
11
+ export const DialogHeader = t0 => {
12
+ const $ = _c(10);
13
+ const {
14
+ children,
15
+ showClose,
16
+ title
17
+ } = t0;
18
+ const {
19
+ slug,
20
+ isConfirming
21
+ } = useDialogContext();
22
+ const {
23
+ closeModal
24
+ } = useModal();
25
+ if (!title && !children && !showClose) {
26
+ return null;
27
+ }
28
+ const t1 = showClose && `${baseClass}__header--has-close`;
29
+ let t2;
30
+ if ($[0] !== t1) {
31
+ t2 = [`${baseClass}__header`, t1].filter(Boolean);
32
+ $[0] = t1;
33
+ $[1] = t2;
34
+ } else {
35
+ t2 = $[1];
36
+ }
37
+ const t3 = t2.join(" ");
38
+ let t4;
39
+ if ($[2] !== children || $[3] !== closeModal || $[4] !== isConfirming || $[5] !== showClose || $[6] !== slug || $[7] !== t3 || $[8] !== title) {
40
+ t4 = _jsxs("div", {
41
+ className: t3,
42
+ children: [title ? _jsx("h4", {
43
+ className: `${baseClass}__title`,
44
+ children: title
45
+ }) : null, children ? _jsx("div", {
46
+ className: `${baseClass}__header-extras`,
47
+ children
48
+ }) : null, showClose ? _jsx(Button, {
49
+ "aria-label": "Close",
50
+ buttonStyle: "ghost",
51
+ disabled: isConfirming,
52
+ icon: _jsx(XIcon, {}),
53
+ margin: false,
54
+ onClick: () => closeModal(slug)
55
+ }) : null]
56
+ });
57
+ $[2] = children;
58
+ $[3] = closeModal;
59
+ $[4] = isConfirming;
60
+ $[5] = showClose;
61
+ $[6] = slug;
62
+ $[7] = t3;
63
+ $[8] = title;
64
+ $[9] = t4;
65
+ } else {
66
+ t4 = $[9];
67
+ }
68
+ return t4;
69
+ };
70
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["c","_c","React","XIcon","Button","useModal","useDialogContext","baseClass","DialogHeader","t0","$","children","showClose","title","slug","isConfirming","closeModal","t1","t2","filter","Boolean","t3","join","t4","_jsxs","className","_jsx","buttonStyle","disabled","icon","margin","onClick"],"sources":["../../../../src/elements/Dialog/DialogHeader/index.tsx"],"sourcesContent":["'use client'\nimport React from 'react'\n\nimport { XIcon } from '../../../icons/X/index.js'\nimport { Button } from '../../Button/index.js'\nimport { useModal } from '../../Modal/index.js'\nimport { useDialogContext } from '../context.js'\n\nconst baseClass = 'dialog'\n\nexport type DialogHeaderProps = {\n readonly children?: React.ReactNode\n readonly showClose?: boolean\n readonly title?: React.ReactNode\n}\n\nexport const DialogHeader: React.FC<DialogHeaderProps> = ({ children, showClose, title }) => {\n const { slug, isConfirming } = useDialogContext()\n const { closeModal } = useModal()\n\n if (!title && !children && !showClose) {\n return null\n }\n\n return (\n <div\n className={[`${baseClass}__header`, showClose && `${baseClass}__header--has-close`]\n .filter(Boolean)\n .join(' ')}\n >\n {title ? <h4 className={`${baseClass}__title`}>{title}</h4> : null}\n {children ? <div className={`${baseClass}__header-extras`}>{children}</div> : null}\n {showClose ? (\n <Button\n aria-label=\"Close\"\n buttonStyle=\"ghost\"\n disabled={isConfirming}\n icon={<XIcon />}\n margin={false}\n onClick={() => closeModal(slug)}\n />\n ) : null}\n </div>\n )\n}\n"],"mappings":"AAAA;;AAAA,SAAAA,CAAA,IAAAC,EAAA;;AACA,OAAOC,KAAA,MAAW;AAElB,SAASC,KAAK,QAAQ;AACtB,SAASC,MAAM,QAAQ;AACvB,SAASC,QAAQ,QAAQ;AACzB,SAASC,gBAAgB,QAAQ;AAEjC,MAAMC,SAAA,GAAY;AAQlB,OAAO,MAAMC,YAAA,GAA4CC,EAAA;EAAA,MAAAC,CAAA,GAAAT,EAAA;EAAC;IAAAU,QAAA;IAAAC,SAAA;IAAAC;EAAA,IAAAJ,EAA8B;EACtF;IAAAK,IAAA;IAAAC;EAAA,IAA+BT,gBAAA;EAC/B;IAAAU;EAAA,IAAuBX,QAAA;EAAA,IAEnB,CAACQ,KAAA,KAAUF,QAAA,KAAaC,SAAA;IAAA;EAAA;EAMY,MAAAK,EAAA,GAAAL,SAAA,IAAa,GAAAL,SAAA,qBAAiC;EAAA,IAAAW,EAAA;EAAA,IAAAR,CAAA,QAAAO,EAAA;IAAvEC,EAAA,IAAC,GAAAX,SAAA,UAAsB,EAAEU,EAA8C,EAAAE,MAAA,CAAAC,OACxE;IAAAV,CAAA,MAAAO,EAAA;IAAAP,CAAA,MAAAQ,EAAA;EAAA;IAAAA,EAAA,GAAAR,CAAA;EAAA;EADC,MAAAW,EAAA,GAAAH,EACD,CAAAI,IAAA,CACF;EAAA,IAAAC,EAAA;EAAA,IAAAb,CAAA,QAAAC,QAAA,IAAAD,CAAA,QAAAM,UAAA,IAAAN,CAAA,QAAAK,YAAA,IAAAL,CAAA,QAAAE,SAAA,IAAAF,CAAA,QAAAI,IAAA,IAAAJ,CAAA,QAAAW,EAAA,IAAAX,CAAA,QAAAG,KAAA;IAHVU,EAAA,GAAAC,KAAA,CAAC;MAAAC,SAAA,EACYJ,EAEH;MAAAV,QAAA,GAEPE,KAAA,GAAQa,IAAA,CAAC;QAAAD,SAAA,EAAc,GAAAlB,SAAA,SAAqB;QAAAI,QAAA,EAAGE;MAAA,C,QAAc,EAC7DF,QAAA,GAAWe,IAAA,CAAC;QAAAD,SAAA,EAAe,GAAAlB,SAAA,iBAA6B;QAAAI;MAAA,C,QAAqB,EAC7EC,SAAA,GACCc,IAAA,CAAAtB,MAAA;QAAA,cACa;QAAAuB,WAAA,EACC;QAAAC,QAAA,EACFb,YAAA;QAAAc,IAAA,EACJH,IAAA,CAAAvB,KAAA,IAAC;QAAA2B,MAAA;QAAAC,OAAA,EAAAA,CAAA,KAEQf,UAAA,CAAWF,IAAA;MAAA,C,QAE1B;IAAA,C;;;;;;;;;;;;SAhBNS,E;CAmBJ","ignoreList":[]}
@@ -0,0 +1,18 @@
1
+ import type { ComponentProps } from 'react';
2
+ import { Modal } from '@faceless-ui/modal';
3
+ import React from 'react';
4
+ import '../index.css';
5
+ type FocusTrapOptions = ComponentProps<typeof Modal>['focusTrapOptions'];
6
+ export type DialogSize = 'medium' | 'small';
7
+ export type DialogModalProps = {
8
+ readonly children?: React.ReactNode;
9
+ readonly className?: string;
10
+ readonly closeOnBlur?: boolean;
11
+ readonly closeOnEsc?: boolean;
12
+ readonly focusTrapOptions?: FocusTrapOptions;
13
+ readonly size?: DialogSize;
14
+ readonly slug: string;
15
+ };
16
+ export declare const DialogModal: React.FC<DialogModalProps>;
17
+ export {};
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/Dialog/DialogModal/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,OAAO,KAA8B,MAAM,OAAO,CAAA;AAIlD,OAAO,cAAc,CAAA;AAErB,KAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC,kBAAkB,CAAC,CAAA;AAIxE,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE3C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAA;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;IAC7B,QAAQ,CAAC,gBAAgB,CAAC,EAAE,gBAAgB,CAAA;IAC5C,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAA;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8ClD,CAAA"}
@@ -0,0 +1,99 @@
1
+ 'use client';
2
+
3
+ import { c as _c } from "react/compiler-runtime";
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ import { Modal } from '@faceless-ui/modal';
6
+ import React, { useEffect, useState } from 'react';
7
+ import { drawerZBase, useDrawerDepth } from '../../Drawer/index.js';
8
+ import { DialogContext } from '../context.js';
9
+ import '../index.css';
10
+ const baseClass = 'dialog';
11
+ export const DialogModal = t0 => {
12
+ const $ = _c(15);
13
+ const {
14
+ slug,
15
+ children,
16
+ className,
17
+ closeOnBlur: t1,
18
+ closeOnEsc: t2,
19
+ focusTrapOptions,
20
+ size: t3
21
+ } = t0;
22
+ const closeOnBlur = t1 === undefined ? false : t1;
23
+ const closeOnEsc = t2 === undefined ? true : t2;
24
+ const size = t3 === undefined ? "small" : t3;
25
+ const [isConfirming, setConfirming] = useState(false);
26
+ const drawerDepth = useDrawerDepth();
27
+ let t4;
28
+ let t5;
29
+ if ($[0] !== closeOnEsc) {
30
+ t4 = () => {
31
+ if (closeOnEsc) {
32
+ return;
33
+ }
34
+ const handler = _temp;
35
+ document.addEventListener("keydown", handler, true);
36
+ return () => document.removeEventListener("keydown", handler, true);
37
+ };
38
+ t5 = [closeOnEsc];
39
+ $[0] = closeOnEsc;
40
+ $[1] = t4;
41
+ $[2] = t5;
42
+ } else {
43
+ t4 = $[1];
44
+ t5 = $[2];
45
+ }
46
+ useEffect(t4, t5);
47
+ let t6;
48
+ if ($[3] !== children || $[4] !== className || $[5] !== closeOnBlur || $[6] !== drawerDepth || $[7] !== focusTrapOptions || $[8] !== isConfirming || $[9] !== size || $[10] !== slug) {
49
+ const t7 = `${baseClass}--${size}`;
50
+ let t8;
51
+ if ($[12] !== className || $[13] !== t7) {
52
+ t8 = [baseClass, t7, className].filter(Boolean);
53
+ $[12] = className;
54
+ $[13] = t7;
55
+ $[14] = t8;
56
+ } else {
57
+ t8 = $[14];
58
+ }
59
+ t6 = _jsx(DialogContext, {
60
+ value: {
61
+ slug,
62
+ isConfirming,
63
+ setConfirming
64
+ },
65
+ children: _jsx(Modal, {
66
+ closeOnBlur,
67
+ focusTrapOptions,
68
+ slug,
69
+ style: {
70
+ zIndex: drawerZBase + drawerDepth + 1
71
+ },
72
+ children: _jsx("div", {
73
+ className: t8.join(" "),
74
+ role: "document",
75
+ children
76
+ })
77
+ })
78
+ });
79
+ $[3] = children;
80
+ $[4] = className;
81
+ $[5] = closeOnBlur;
82
+ $[6] = drawerDepth;
83
+ $[7] = focusTrapOptions;
84
+ $[8] = isConfirming;
85
+ $[9] = size;
86
+ $[10] = slug;
87
+ $[11] = t6;
88
+ } else {
89
+ t6 = $[11];
90
+ }
91
+ return t6;
92
+ };
93
+ function _temp(e) {
94
+ if (e.key === "Escape") {
95
+ e.stopImmediatePropagation();
96
+ e.preventDefault();
97
+ }
98
+ }
99
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["c","_c","Modal","React","useEffect","useState","drawerZBase","useDrawerDepth","DialogContext","baseClass","DialogModal","t0","$","slug","children","className","closeOnBlur","t1","closeOnEsc","t2","focusTrapOptions","size","t3","undefined","isConfirming","setConfirming","drawerDepth","t4","t5","handler","_temp","document","addEventListener","removeEventListener","t6","t7","t8","filter","Boolean","_jsx","value","style","zIndex","join","role","e","key","stopImmediatePropagation","preventDefault"],"sources":["../../../../src/elements/Dialog/DialogModal/index.tsx"],"sourcesContent":["'use client'\nimport type { ComponentProps } from 'react'\n\nimport { Modal } from '@faceless-ui/modal'\nimport React, { useEffect, useState } from 'react'\n\nimport { drawerZBase, useDrawerDepth } from '../../Drawer/index.js'\nimport { DialogContext } from '../context.js'\nimport '../index.css'\n\ntype FocusTrapOptions = ComponentProps<typeof Modal>['focusTrapOptions']\n\nconst baseClass = 'dialog'\n\nexport type DialogSize = 'medium' | 'small'\n\nexport type DialogModalProps = {\n readonly children?: React.ReactNode\n readonly className?: string\n readonly closeOnBlur?: boolean\n readonly closeOnEsc?: boolean\n readonly focusTrapOptions?: FocusTrapOptions\n readonly size?: DialogSize\n readonly slug: string\n}\n\nexport const DialogModal: React.FC<DialogModalProps> = ({\n slug,\n children,\n className,\n closeOnBlur = false,\n closeOnEsc = true,\n focusTrapOptions,\n size = 'small',\n}) => {\n const [isConfirming, setConfirming] = useState(false)\n const drawerDepth = useDrawerDepth()\n\n useEffect(() => {\n if (closeOnEsc) {\n return\n }\n\n const handler = (e: KeyboardEvent) => {\n if (e.key === 'Escape') {\n e.stopImmediatePropagation()\n e.preventDefault()\n }\n }\n\n // Capture phase fires before ModalProvider's bubble-phase listener\n document.addEventListener('keydown', handler, true)\n return () => document.removeEventListener('keydown', handler, true)\n }, [closeOnEsc])\n\n return (\n <DialogContext value={{ slug, isConfirming, setConfirming }}>\n <Modal\n closeOnBlur={closeOnBlur}\n focusTrapOptions={focusTrapOptions}\n slug={slug}\n style={{ zIndex: drawerZBase + drawerDepth + 1 }}\n >\n <div\n className={[baseClass, `${baseClass}--${size}`, className].filter(Boolean).join(' ')}\n role=\"document\"\n >\n {children}\n </div>\n </Modal>\n </DialogContext>\n )\n}\n"],"mappings":"AAAA;;AAAA,SAAAA,CAAA,IAAAC,EAAA;;AAGA,SAASC,KAAK,QAAQ;AACtB,OAAOC,KAAA,IAASC,SAAS,EAAEC,QAAQ,QAAQ;AAE3C,SAASC,WAAW,EAAEC,cAAc,QAAQ;AAC5C,SAASC,aAAa,QAAQ;AAC9B,OAAO;AAIP,MAAMC,SAAA,GAAY;AAclB,OAAO,MAAMC,WAAA,GAA0CC,EAAA;EAAA,MAAAC,CAAA,GAAAX,EAAA;EAAC;IAAAY,IAAA;IAAAC,QAAA;IAAAC,SAAA;IAAAC,WAAA,EAAAC,EAAA;IAAAC,UAAA,EAAAC,EAAA;IAAAC,gBAAA;IAAAC,IAAA,EAAAC;EAAA,IAAAX,EAQvD;EAJC,MAAAK,WAAA,GAAAC,EAAmB,KAAAM,SAAA,WAAnBN,EAAmB;EACnB,MAAAC,UAAA,GAAAC,EAAiB,KAAAI,SAAA,UAAjBJ,EAAiB;EAEjB,MAAAE,IAAA,GAAAC,EAAc,KAAAC,SAAA,GAAP,OAAO,GAAdD,EAAc;EAEd,OAAAE,YAAA,EAAAC,aAAA,IAAsCpB,QAAA,MAAS;EAC/C,MAAAqB,WAAA,GAAoBnB,cAAA;EAAA,IAAAoB,EAAA;EAAA,IAAAC,EAAA;EAAA,IAAAhB,CAAA,QAAAM,UAAA;IAEVS,EAAA,GAAAA,CAAA;MAAA,IACJT,UAAA;QAAA;MAAA;MAIJ,MAAAW,OAAA,GAAAC,KAAA;MAQAC,QAAA,CAAAC,gBAAA,CAA0B,WAAWH,OAAA,MAAS;MAAA,aACjCE,QAAA,CAAAE,mBAAA,CAA6B,WAAWJ,OAAA,MAAS;IAAA;IAC7DD,EAAA,IAACV,UAAA;IAAWN,CAAA,MAAAM,UAAA;IAAAN,CAAA,MAAAe,EAAA;IAAAf,CAAA,MAAAgB,EAAA;EAAA;IAAAD,EAAA,GAAAf,CAAA;IAAAgB,EAAA,GAAAhB,CAAA;EAAA;EAffR,SAAA,CAAUuB,EAeV,EAAGC,EAAY;EAAA,IAAAM,EAAA;EAAA,IAAAtB,CAAA,QAAAE,QAAA,IAAAF,CAAA,QAAAG,SAAA,IAAAH,CAAA,QAAAI,WAAA,IAAAJ,CAAA,QAAAc,WAAA,IAAAd,CAAA,QAAAQ,gBAAA,IAAAR,CAAA,QAAAY,YAAA,IAAAZ,CAAA,QAAAS,IAAA,IAAAT,CAAA,SAAAC,IAAA;IAWgB,MAAAsB,EAAA,MAAA1B,SAAA,KAAiBY,IAAA,EAAM;IAAA,IAAAe,EAAA;IAAA,IAAAxB,CAAA,SAAAG,SAAA,IAAAH,CAAA,SAAAuB,EAAA;MAAnCC,EAAA,IAAA3B,SAAA,EAAY0B,EAAuB,EAAEpB,SAAA,EAAAsB,MAAA,CAAAC,OAAkB;MAAA1B,CAAA,OAAAG,SAAA;MAAAH,CAAA,OAAAuB,EAAA;MAAAvB,CAAA,OAAAwB,EAAA;IAAA;MAAAA,EAAA,GAAAxB,CAAA;IAAA;IARxEsB,EAAA,GAAAK,IAAA,CAAA/B,aAAA;MAAAgC,KAAA;QAAA3B,IAAA;QAAAW,YAAA;QAAAC;MAAA;MAAAX,QAAA,EACEyB,IAAA,CAAArC,KAAA;QAAAc,WAAA;QAAAI,gBAAA;QAAAP,IAAA;QAAA4B,KAAA;UAAAC,MAAA,EAImBpC,WAAA,GAAcoB,WAAA;QAAc;QAAAZ,QAAA,EAE7CyB,IAAA,CAAC;UAAAxB,SAAA,EACYqB,EAAuD,CAAAO,IAAA,CAAc;UAAAC,IAAA,EAC3E;UAAA9B;QAAA,C;;;;;;;;;;;;;;;SATXoB,E;CAgBJ;AA9CuD,SAAAJ,MAAAe,CAAA;EAAA,IAkB7CA,CAAA,CAAAC,GAAA,KAAU;IACZD,CAAA,CAAAE,wBAAA,CAA0B;IAC1BF,CAAA,CAAAG,cAAA,CAAgB;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,8 @@
1
+ export type DialogContextValue = {
2
+ isConfirming: boolean;
3
+ setConfirming: (val: boolean) => void;
4
+ slug: string;
5
+ };
6
+ export declare const DialogContext: import("react").Context<DialogContextValue>;
7
+ export declare const useDialogContext: () => DialogContextValue;
8
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/elements/Dialog/context.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,YAAY,EAAE,OAAO,CAAA;IACrB,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,eAAO,MAAM,aAAa,6CAAiD,CAAA;AAE3E,eAAO,MAAM,gBAAgB,0BAM5B,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { createContext, use } from 'react';
2
+ export const DialogContext = createContext(null);
3
+ export const useDialogContext = () => {
4
+ const ctx = use(DialogContext);
5
+ if (!ctx) {
6
+ throw new Error('Dialog sub-components must be rendered inside <DialogModal>');
7
+ }
8
+ return ctx;
9
+ };
10
+ //# sourceMappingURL=context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.js","names":["createContext","use","DialogContext","useDialogContext","ctx","Error"],"sources":["../../../src/elements/Dialog/context.ts"],"sourcesContent":["import { createContext, use } from 'react'\n\nexport type DialogContextValue = {\n isConfirming: boolean\n setConfirming: (val: boolean) => void\n slug: string\n}\n\nexport const DialogContext = createContext<DialogContextValue | null>(null)\n\nexport const useDialogContext = () => {\n const ctx = use(DialogContext)\n if (!ctx) {\n throw new Error('Dialog sub-components must be rendered inside <DialogModal>')\n }\n return ctx\n}\n"],"mappings":"AAAA,SAASA,aAAa,EAAEC,GAAG,QAAQ;AAQnC,OAAO,MAAMC,aAAA,GAAgBF,aAAA,CAAyC;AAEtE,OAAO,MAAMG,gBAAA,GAAmBA,CAAA;EAC9B,MAAMC,GAAA,GAAMH,GAAA,CAAIC,aAAA;EAChB,IAAI,CAACE,GAAA,EAAK;IACR,MAAM,IAAIC,KAAA,CAAM;EAClB;EACA,OAAOD,GAAA;AACT","ignoreList":[]}
@@ -1,7 +1,5 @@
1
1
  @layer payload-default {
2
- dialog.alert-modal {
3
- --alert-modal-width: 480px;
4
-
2
+ dialog:has(> .dialog) {
5
3
  position: fixed;
6
4
  inset: 0;
7
5
  display: flex;
@@ -10,16 +8,14 @@
10
8
  background: var(--color-modalbackdrop);
11
9
  }
12
10
 
13
- dialog.alert-modal--compact {
14
- --alert-modal-width: 320px;
15
- }
11
+ .dialog {
12
+ --dialog-max-height: calc(100dvh - var(--spacer-5));
16
13
 
17
- .alert-modal__wrapper {
18
- z-index: 1;
19
14
  position: relative;
20
15
  display: flex;
21
16
  flex-direction: column;
22
- width: var(--alert-modal-width);
17
+ max-height: var(--dialog-max-height);
18
+ width: var(--dialog-width);
23
19
  max-width: calc(100vw - var(--spacer-5));
24
20
  background: var(--color-bg);
25
21
  border-radius: var(--radius-large);
@@ -30,27 +26,32 @@
30
26
  line-height: var(--text-body-medium-line-height);
31
27
  letter-spacing: var(--text-body-medium-letter-spacing);
32
28
  color: var(--color-text);
29
+ box-shadow: var(--elevation-500-modal-window);
33
30
  }
34
31
 
35
- .alert-modal__header {
32
+ .dialog--small {
33
+ --dialog-width: 280px;
34
+ }
35
+
36
+ .dialog--medium {
37
+ --dialog-width: 480px;
38
+ }
39
+
40
+ .dialog__header {
36
41
  display: flex;
37
42
  align-items: center;
38
43
  gap: var(--spacer-2);
39
44
  min-height: var(--spacer-6);
40
- border-bottom: var(--stroke-width-small) solid var(--color-border);
41
45
  padding: var(--spacer-2) var(--spacer-3);
42
-
43
- .btn {
44
- padding: 0;
45
- border: 0;
46
- }
46
+ border-bottom: var(--stroke-width-small) solid var(--color-border);
47
+ flex-shrink: 0;
47
48
  }
48
49
 
49
- .alert-modal__header--with-actions {
50
- padding-right: var(--spacer-2);
50
+ .dialog__header--has-close {
51
+ padding-inline-end: var(--spacer-2);
51
52
  }
52
53
 
53
- .alert-modal__title {
54
+ .dialog__title {
54
55
  flex: 1 0 0;
55
56
  min-width: 0;
56
57
  margin: 0;
@@ -58,25 +59,34 @@
58
59
  letter-spacing: var(--text-body-medium-letter-spacing);
59
60
  }
60
61
 
61
- .alert-modal__content {
62
+ .dialog__header-extras {
62
63
  display: flex;
63
- flex-direction: column;
64
- gap: var(--spacer-2-5);
65
- padding: var(--spacer-2) var(--spacer-3);
64
+ align-items: center;
65
+ gap: var(--spacer-1);
66
+ }
66
67
 
67
- > * {
68
- margin: 0;
69
- }
68
+ .dialog__body {
69
+ flex: 1 1 auto;
70
+ padding: var(--spacer-3);
71
+ min-height: 0;
72
+ overflow-y: auto;
70
73
  }
71
74
 
72
- .alert-modal__controls {
75
+ .dialog:has(.dialog__header) .dialog__body {
76
+ padding-top: var(--spacer-2);
77
+ }
78
+
79
+ .dialog:has(.dialog__footer) .dialog__body {
80
+ padding-bottom: var(--spacer-2);
81
+ }
82
+
83
+ .dialog__footer {
73
84
  display: flex;
74
85
  justify-content: flex-end;
75
86
  gap: var(--spacer-2);
76
- padding: var(--spacer-2);
77
-
78
- .btn {
79
- margin: 0;
80
- }
87
+ padding-block: var(--spacer-2);
88
+ padding-inline-start: var(--spacer-3);
89
+ padding-inline-end: var(--spacer-2);
90
+ flex-shrink: 0;
81
91
  }
82
92
  }
@@ -0,0 +1,13 @@
1
+ export { DialogBody } from './DialogBody/index.js';
2
+ export type { DialogBodyProps } from './DialogBody/index.js';
3
+ export { DialogCancel } from './DialogCancel/index.js';
4
+ export type { DialogCancelProps } from './DialogCancel/index.js';
5
+ export { DialogConfirm } from './DialogConfirm/index.js';
6
+ export type { DialogConfirmProps } from './DialogConfirm/index.js';
7
+ export { DialogFooter } from './DialogFooter/index.js';
8
+ export type { DialogFooterProps } from './DialogFooter/index.js';
9
+ export { DialogHeader } from './DialogHeader/index.js';
10
+ export type { DialogHeaderProps } from './DialogHeader/index.js';
11
+ export { DialogModal } from './DialogModal/index.js';
12
+ export type { DialogModalProps, DialogSize } from './DialogModal/index.js';
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/Dialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAClD,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACtD,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,YAAY,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACtD,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACtD,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA"}
@@ -0,0 +1,7 @@
1
+ export { DialogBody } from './DialogBody/index.js';
2
+ export { DialogCancel } from './DialogCancel/index.js';
3
+ export { DialogConfirm } from './DialogConfirm/index.js';
4
+ export { DialogFooter } from './DialogFooter/index.js';
5
+ export { DialogHeader } from './DialogHeader/index.js';
6
+ export { DialogModal } from './DialogModal/index.js';
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["DialogBody","DialogCancel","DialogConfirm","DialogFooter","DialogHeader","DialogModal"],"sources":["../../../src/elements/Dialog/index.tsx"],"sourcesContent":["export { DialogBody } from './DialogBody/index.js'\nexport type { DialogBodyProps } from './DialogBody/index.js'\nexport { DialogCancel } from './DialogCancel/index.js'\nexport type { DialogCancelProps } from './DialogCancel/index.js'\nexport { DialogConfirm } from './DialogConfirm/index.js'\nexport type { DialogConfirmProps } from './DialogConfirm/index.js'\nexport { DialogFooter } from './DialogFooter/index.js'\nexport type { DialogFooterProps } from './DialogFooter/index.js'\nexport { DialogHeader } from './DialogHeader/index.js'\nexport type { DialogHeaderProps } from './DialogHeader/index.js'\nexport { DialogModal } from './DialogModal/index.js'\nexport type { DialogModalProps, DialogSize } from './DialogModal/index.js'\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ;AAE3B,SAASC,YAAY,QAAQ;AAE7B,SAASC,aAAa,QAAQ;AAE9B,SAASC,YAAY,QAAQ;AAE7B,SAASC,YAAY,QAAQ;AAE7B,SAASC,WAAW,QAAQ","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ @layer payload-default {
2
+ .document-locked__updated-at {
3
+ margin-top: var(--spacer-2);
4
+ }
5
+ }
@@ -1,5 +1,6 @@
1
1
  import type { ClientUser } from 'payload';
2
2
  import React from 'react';
3
+ import './index.css';
3
4
  export declare const DocumentLocked: React.FC<{
4
5
  handleGoBack: () => void;
5
6
  isActive: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/DocumentLocked/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,KAAoB,MAAM,OAAO,CAAA;AAyBxC,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IACpC,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IACzB,IAAI,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;CACpC,CAoEA,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/elements/DocumentLocked/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAGzC,OAAO,KAAoB,MAAM,OAAO,CAAA;AAexC,OAAO,aAAa,CAAA;AAkBpB,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IACpC,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IACzB,IAAI,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;CACpC,CAkDA,CAAA"}
@@ -1,14 +1,16 @@
1
1
  'use client';
2
2
 
3
3
  import { c as _c } from "react/compiler-runtime";
4
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
4
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
+ import { useModal } from '@faceless-ui/modal';
5
6
  import React, { useEffect } from 'react';
6
7
  import { useRouteCache } from '../../providers/RouteCache/index.js';
7
8
  import { useRouteTransition } from '../../providers/RouteTransition/index.js';
8
9
  import { useTranslation } from '../../providers/Translation/index.js';
9
10
  import { isClientUserObject } from '../../utilities/isClientUserObject.js';
10
11
  import { Button } from '../Button/index.js';
11
- import { AlertModal, useModal } from '../Modal/index.js';
12
+ import { DialogBody, DialogCancel, DialogConfirm, DialogFooter, DialogHeader, DialogModal } from '../Dialog/index.js';
13
+ import './index.css';
12
14
  const modalSlug = 'document-locked';
13
15
  const formatDate = date => {
14
16
  if (!date) {
@@ -24,7 +26,7 @@ const formatDate = date => {
24
26
  }).format(new Date(date));
25
27
  };
26
28
  export const DocumentLocked = t0 => {
27
- const $ = _c(33);
29
+ const $ = _c(25);
28
30
  const {
29
31
  handleGoBack,
30
32
  isActive,
@@ -68,112 +70,86 @@ export const DocumentLocked = t0 => {
68
70
  }
69
71
  useEffect(t1, t2);
70
72
  let t3;
71
- if ($[5] !== closeModal || $[6] !== handleGoBack || $[7] !== startRouteTransition) {
72
- t3 = () => {
73
- closeModal(modalSlug);
74
- startRouteTransition(() => handleGoBack());
75
- };
76
- $[5] = closeModal;
77
- $[6] = handleGoBack;
78
- $[7] = startRouteTransition;
79
- $[8] = t3;
80
- } else {
81
- t3 = $[8];
82
- }
83
- let t4;
84
- if ($[9] !== clearRouteCache || $[10] !== closeModal || $[11] !== handleGoBack || $[12] !== onReadOnly || $[13] !== onTakeOver || $[14] !== startRouteTransition || $[15] !== t || $[16] !== t3 || $[17] !== updatedAt || $[18] !== user) {
73
+ if ($[5] !== clearRouteCache || $[6] !== closeModal || $[7] !== handleGoBack || $[8] !== onReadOnly || $[9] !== onTakeOver || $[10] !== startRouteTransition || $[11] !== t || $[12] !== updatedAt || $[13] !== user) {
74
+ let t4;
75
+ if ($[15] !== t || $[16] !== user) {
76
+ t4 = isClientUserObject(user) ? user.email ?? user.id : `${t("general:user")}: ${user}`;
77
+ $[15] = t;
78
+ $[16] = user;
79
+ $[17] = t4;
80
+ } else {
81
+ t4 = $[17];
82
+ }
85
83
  let t5;
86
- if ($[20] !== clearRouteCache || $[21] !== closeModal || $[22] !== onReadOnly) {
87
- t5 = () => {
88
- onReadOnly();
89
- closeModal(modalSlug);
90
- clearRouteCache();
91
- };
92
- $[20] = clearRouteCache;
93
- $[21] = closeModal;
94
- $[22] = onReadOnly;
95
- $[23] = t5;
84
+ if ($[18] !== handleGoBack || $[19] !== startRouteTransition) {
85
+ t5 = () => startRouteTransition(() => handleGoBack());
86
+ $[18] = handleGoBack;
87
+ $[19] = startRouteTransition;
88
+ $[20] = t5;
96
89
  } else {
97
- t5 = $[23];
90
+ t5 = $[20];
98
91
  }
99
92
  let t6;
100
- if ($[24] !== closeModal || $[25] !== onTakeOver) {
93
+ if ($[21] !== clearRouteCache || $[22] !== closeModal || $[23] !== onReadOnly) {
101
94
  t6 = () => {
102
- onTakeOver();
95
+ onReadOnly();
103
96
  closeModal(modalSlug);
97
+ clearRouteCache();
104
98
  };
105
- $[24] = closeModal;
106
- $[25] = onTakeOver;
107
- $[26] = t6;
108
- } else {
109
- t6 = $[26];
110
- }
111
- let t7;
112
- if ($[27] !== handleGoBack || $[28] !== startRouteTransition) {
113
- t7 = () => {
114
- startRouteTransition(() => handleGoBack());
115
- };
116
- $[27] = handleGoBack;
117
- $[28] = startRouteTransition;
118
- $[29] = t7;
119
- } else {
120
- t7 = $[29];
121
- }
122
- let t8;
123
- if ($[30] !== t || $[31] !== user) {
124
- t8 = isClientUserObject(user) ? user.email ?? user.id : `${t("general:user")}: ${user}`;
125
- $[30] = t;
126
- $[31] = user;
127
- $[32] = t8;
99
+ $[21] = clearRouteCache;
100
+ $[22] = closeModal;
101
+ $[23] = onReadOnly;
102
+ $[24] = t6;
128
103
  } else {
129
- t8 = $[32];
104
+ t6 = $[24];
130
105
  }
131
- t4 = _jsxs(AlertModal, {
132
- actions: _jsxs(_Fragment, {
133
- children: [_jsx(Button, {
134
- buttonStyle: "secondary",
135
- id: `${modalSlug}-go-back`,
136
- onClick: t3,
137
- children: t("general:goBack")
106
+ t3 = _jsxs(DialogModal, {
107
+ closeOnEsc: false,
108
+ size: "small",
109
+ slug: modalSlug,
110
+ children: [_jsx(DialogHeader, {
111
+ title: t("general:documentLocked")
112
+ }), _jsxs(DialogBody, {
113
+ children: [_jsxs("p", {
114
+ children: [_jsx("strong", {
115
+ children: t4
116
+ }), " ", t("general:currentlyEditing")]
117
+ }), _jsxs("p", {
118
+ className: "document-locked__updated-at",
119
+ children: [t("general:editedSince"), " ", _jsx("strong", {
120
+ children: formatDate(updatedAt)
121
+ })]
122
+ })]
123
+ }), _jsxs(DialogFooter, {
124
+ children: [_jsx(DialogCancel, {
125
+ label: t("general:goBack"),
126
+ onClick: t5
138
127
  }), _jsx(Button, {
139
128
  buttonStyle: "secondary",
140
129
  id: `${modalSlug}-view-read-only`,
141
- onClick: t5,
142
- children: t("general:viewReadOnly")
143
- }), _jsx(Button, {
144
- buttonStyle: "primary",
145
- id: `${modalSlug}-take-over`,
130
+ margin: false,
146
131
  onClick: t6,
147
- children: t("general:takeOver")
148
- })]
149
- }),
150
- onClose: t7,
151
- slug: modalSlug,
152
- title: t("general:documentLocked"),
153
- children: [_jsxs("p", {
154
- children: [_jsx("strong", {
155
- children: t8
156
- }), " ", t("general:currentlyEditing")]
157
- }), _jsxs("p", {
158
- children: [t("general:editedSince"), " ", _jsx("strong", {
159
- children: formatDate(updatedAt)
132
+ size: "medium",
133
+ children: t("general:viewReadOnly")
134
+ }), _jsx(DialogConfirm, {
135
+ label: t("general:takeOver"),
136
+ onClick: onTakeOver
160
137
  })]
161
138
  })]
162
139
  });
163
- $[9] = clearRouteCache;
164
- $[10] = closeModal;
165
- $[11] = handleGoBack;
166
- $[12] = onReadOnly;
167
- $[13] = onTakeOver;
168
- $[14] = startRouteTransition;
169
- $[15] = t;
170
- $[16] = t3;
171
- $[17] = updatedAt;
172
- $[18] = user;
173
- $[19] = t4;
140
+ $[5] = clearRouteCache;
141
+ $[6] = closeModal;
142
+ $[7] = handleGoBack;
143
+ $[8] = onReadOnly;
144
+ $[9] = onTakeOver;
145
+ $[10] = startRouteTransition;
146
+ $[11] = t;
147
+ $[12] = updatedAt;
148
+ $[13] = user;
149
+ $[14] = t3;
174
150
  } else {
175
- t4 = $[19];
151
+ t3 = $[14];
176
152
  }
177
- return t4;
153
+ return t3;
178
154
  };
179
155
  //# sourceMappingURL=index.js.map