@webiny/app-headless-cms 6.0.0-alpha.5 → 6.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1358) hide show
  1. package/ContentEntryEditorConfig.d.ts +141 -167
  2. package/ContentEntryEditorConfig.js +14 -14
  3. package/ContentEntryEditorConfig.js.map +1 -1
  4. package/ContentEntryListConfig.d.ts +75 -74
  5. package/ContentEntryListConfig.js +3 -3
  6. package/ContentEntryListConfig.js.map +1 -1
  7. package/HeadlessCMS.js +11 -10
  8. package/HeadlessCMS.js.map +1 -1
  9. package/README.md +6 -13
  10. package/admin/RoutesConfig.d.ts +2 -0
  11. package/admin/RoutesConfig.js +62 -0
  12. package/admin/RoutesConfig.js.map +1 -0
  13. package/admin/components/ContentEntries/BottomInfoBar/BottomInfoBar.js +4 -4
  14. package/admin/components/ContentEntries/BottomInfoBar/BottomInfoBar.js.map +1 -1
  15. package/admin/components/ContentEntries/BottomInfoBar/ListMeta.js +1 -1
  16. package/admin/components/ContentEntries/BottomInfoBar/ListMeta.js.map +1 -1
  17. package/admin/components/ContentEntries/BottomInfoBar/ListStatus.js +2 -2
  18. package/admin/components/ContentEntries/BottomInfoBar/ListStatus.js.map +1 -1
  19. package/admin/components/ContentEntries/BottomInfoBar/index.d.ts +1 -1
  20. package/admin/components/ContentEntries/BottomInfoBar/index.js +1 -1
  21. package/admin/components/ContentEntries/BottomInfoBar/index.js.map +1 -1
  22. package/admin/components/ContentEntries/BulkActions/ActionDelete.js +4 -4
  23. package/admin/components/ContentEntries/BulkActions/ActionDelete.js.map +1 -1
  24. package/admin/components/ContentEntries/BulkActions/ActionMove.js +3 -4
  25. package/admin/components/ContentEntries/BulkActions/ActionMove.js.map +1 -1
  26. package/admin/components/ContentEntries/BulkActions/ActionPublish.js +3 -3
  27. package/admin/components/ContentEntries/BulkActions/ActionPublish.js.map +1 -1
  28. package/admin/components/ContentEntries/BulkActions/ActionUnpublish.js +3 -3
  29. package/admin/components/ContentEntries/BulkActions/ActionUnpublish.js.map +1 -1
  30. package/admin/components/ContentEntries/BulkActions/BulkActions.js +8 -8
  31. package/admin/components/ContentEntries/BulkActions/BulkActions.js.map +1 -1
  32. package/admin/components/ContentEntries/BulkActions/index.d.ts +5 -5
  33. package/admin/components/ContentEntries/BulkActions/index.js +5 -5
  34. package/admin/components/ContentEntries/BulkActions/index.js.map +1 -1
  35. package/admin/components/ContentEntries/Empty/index.js +3 -3
  36. package/admin/components/ContentEntries/Empty/index.js.map +1 -1
  37. package/admin/components/ContentEntries/Empty/styled.d.ts +4 -5
  38. package/admin/components/ContentEntries/Empty/styled.js +1 -2
  39. package/admin/components/ContentEntries/Empty/styled.js.map +1 -1
  40. package/admin/components/ContentEntries/Filters/FieldsMapper.d.ts +2 -2
  41. package/admin/components/ContentEntries/Filters/FieldsMapper.js +3 -3
  42. package/admin/components/ContentEntries/Filters/FieldsMapper.js.map +1 -1
  43. package/admin/components/ContentEntries/Filters/FilterByStatus.js.map +1 -1
  44. package/admin/components/ContentEntries/Filters/Filters.js +5 -4
  45. package/admin/components/ContentEntries/Filters/Filters.js.map +1 -1
  46. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGatewayInterface.d.ts +1 -1
  47. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGatewayInterface.js.map +1 -1
  48. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGraphQLGateway.d.ts +3 -3
  49. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGraphQLGateway.js +1 -1
  50. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGraphQLGateway.js.map +1 -1
  51. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/entries.types.d.ts +2 -2
  52. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/entries.types.js.map +1 -1
  53. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/index.d.ts +2 -2
  54. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/index.js +1 -2
  55. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/index.js.map +1 -1
  56. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/AutoComplete.d.ts +1 -1
  57. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/AutoComplete.js +1 -1
  58. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/AutoComplete.js.map +1 -1
  59. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/Ref.js +7 -7
  60. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/Ref.js.map +1 -1
  61. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.d.ts +1 -1
  62. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.js.map +1 -1
  63. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.test.js +8 -7
  64. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.test.js.map +1 -1
  65. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/index.d.ts +1 -1
  66. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/index.js +1 -1
  67. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/index.js.map +1 -1
  68. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryMapper.d.ts +1 -1
  69. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryMapper.js.map +1 -1
  70. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepository.d.ts +2 -2
  71. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepository.js +2 -2
  72. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepository.js.map +1 -1
  73. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepositoryFactory.d.ts +2 -2
  74. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepositoryFactory.js +1 -1
  75. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepositoryFactory.js.map +1 -1
  76. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/index.d.ts +5 -5
  77. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/index.js +5 -5
  78. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/index.js.map +1 -1
  79. package/admin/components/ContentEntries/Filters/RefFieldRenderer/index.d.ts +1 -1
  80. package/admin/components/ContentEntries/Filters/RefFieldRenderer/index.js +1 -1
  81. package/admin/components/ContentEntries/Filters/RefFieldRenderer/index.js.map +1 -1
  82. package/admin/components/ContentEntries/Filters/index.d.ts +2 -2
  83. package/admin/components/ContentEntries/Filters/index.js +2 -2
  84. package/admin/components/ContentEntries/Filters/index.js.map +1 -1
  85. package/admin/components/ContentEntries/Header/ButtonFilters/ButtonFilters.js +1 -1
  86. package/admin/components/ContentEntries/Header/ButtonFilters/ButtonFilters.js.map +1 -1
  87. package/admin/components/ContentEntries/Header/ButtonFilters/index.d.ts +1 -1
  88. package/admin/components/ContentEntries/Header/ButtonFilters/index.js +1 -1
  89. package/admin/components/ContentEntries/Header/ButtonFilters/index.js.map +1 -1
  90. package/admin/components/ContentEntries/Header/ButtonsCreate/ButtonsCreate.js +2 -2
  91. package/admin/components/ContentEntries/Header/ButtonsCreate/ButtonsCreate.js.map +1 -1
  92. package/admin/components/ContentEntries/Header/ButtonsCreate/index.d.ts +1 -1
  93. package/admin/components/ContentEntries/Header/ButtonsCreate/index.js +1 -1
  94. package/admin/components/ContentEntries/Header/ButtonsCreate/index.js.map +1 -1
  95. package/admin/components/ContentEntries/Header/Header.d.ts +1 -0
  96. package/admin/components/ContentEntries/Header/Header.js +10 -9
  97. package/admin/components/ContentEntries/Header/Header.js.map +1 -1
  98. package/admin/components/ContentEntries/Header/Title/Title.js +3 -3
  99. package/admin/components/ContentEntries/Header/Title/Title.js.map +1 -1
  100. package/admin/components/ContentEntries/Header/Title/index.d.ts +1 -1
  101. package/admin/components/ContentEntries/Header/Title/index.js +1 -1
  102. package/admin/components/ContentEntries/Header/Title/index.js.map +1 -1
  103. package/admin/components/ContentEntries/Header/index.d.ts +1 -1
  104. package/admin/components/ContentEntries/Header/index.js +1 -1
  105. package/admin/components/ContentEntries/Header/index.js.map +1 -1
  106. package/admin/components/ContentEntries/LoadMoreButton/LoadMoreButton.js +2 -2
  107. package/admin/components/ContentEntries/LoadMoreButton/LoadMoreButton.js.map +1 -1
  108. package/admin/components/ContentEntries/LoadMoreButton/index.d.ts +1 -1
  109. package/admin/components/ContentEntries/LoadMoreButton/index.js +1 -1
  110. package/admin/components/ContentEntries/LoadMoreButton/index.js.map +1 -1
  111. package/admin/components/ContentEntries/LoadingContentModel/LoadingContentModel.js +1 -1
  112. package/admin/components/ContentEntries/LoadingContentModel/LoadingContentModel.js.map +1 -1
  113. package/admin/components/ContentEntries/LoadingContentModel/index.d.ts +1 -1
  114. package/admin/components/ContentEntries/LoadingContentModel/index.js +1 -1
  115. package/admin/components/ContentEntries/LoadingContentModel/index.js.map +1 -1
  116. package/admin/components/ContentEntries/Scheduler/actions/ScheduleEntryAction.js +2 -2
  117. package/admin/components/ContentEntries/Scheduler/actions/ScheduleEntryAction.js.map +1 -1
  118. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerCancelGraphQLGateway.d.ts +1 -1
  119. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerCancelGraphQLGateway.js.map +1 -1
  120. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerGetGraphQLGateway.d.ts +2 -2
  121. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerGetGraphQLGateway.js.map +1 -1
  122. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerListGraphQLGateway.d.ts +1 -1
  123. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerListGraphQLGateway.js.map +1 -1
  124. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerPublishGraphQLGateway.d.ts +1 -1
  125. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerPublishGraphQLGateway.js +6 -14
  126. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerPublishGraphQLGateway.js.map +1 -1
  127. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerUnpublishGraphQLGateway.d.ts +1 -1
  128. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerUnpublishGraphQLGateway.js +5 -7
  129. package/admin/components/ContentEntries/Scheduler/adapters/SchedulerUnpublishGraphQLGateway.js.map +1 -1
  130. package/admin/components/ContentEntries/Scheduler/adapters/index.d.ts +5 -5
  131. package/admin/components/ContentEntries/Scheduler/adapters/index.js +5 -5
  132. package/admin/components/ContentEntries/Scheduler/adapters/index.js.map +1 -1
  133. package/admin/components/ContentEntries/Scheduler/components/ScheduleSidebarButton.js +1 -1
  134. package/admin/components/ContentEntries/Scheduler/components/ScheduleSidebarButton.js.map +1 -1
  135. package/admin/components/ContentEntries/Scheduler/components/Scheduler.js +2 -2
  136. package/admin/components/ContentEntries/Scheduler/components/Scheduler.js.map +1 -1
  137. package/admin/components/ContentEntries/SidebarContent/SidebarContent.js +6 -1
  138. package/admin/components/ContentEntries/SidebarContent/SidebarContent.js.map +1 -1
  139. package/admin/components/ContentEntries/SidebarContent/index.d.ts +1 -1
  140. package/admin/components/ContentEntries/SidebarContent/index.js +1 -1
  141. package/admin/components/ContentEntries/SidebarContent/index.js.map +1 -1
  142. package/admin/components/ContentEntries/SidebarFooter/SidebarFooter.d.ts +9 -1
  143. package/admin/components/ContentEntries/SidebarFooter/SidebarFooter.js +8 -4
  144. package/admin/components/ContentEntries/SidebarFooter/SidebarFooter.js.map +1 -1
  145. package/admin/components/ContentEntries/SidebarFooter/index.d.ts +1 -1
  146. package/admin/components/ContentEntries/SidebarFooter/index.js +1 -1
  147. package/admin/components/ContentEntries/SidebarFooter/index.js.map +1 -1
  148. package/admin/components/ContentEntries/SidebarHeader/SidebarHeader.js +6 -5
  149. package/admin/components/ContentEntries/SidebarHeader/SidebarHeader.js.map +1 -1
  150. package/admin/components/ContentEntries/SidebarHeader/index.d.ts +1 -1
  151. package/admin/components/ContentEntries/SidebarHeader/index.js +1 -1
  152. package/admin/components/ContentEntries/SidebarHeader/index.js.map +1 -1
  153. package/admin/components/ContentEntries/Table/Actions/ChangeEntryStatus.js +3 -3
  154. package/admin/components/ContentEntries/Table/Actions/ChangeEntryStatus.js.map +1 -1
  155. package/admin/components/ContentEntries/Table/Actions/DeleteEntry.js +4 -4
  156. package/admin/components/ContentEntries/Table/Actions/DeleteEntry.js.map +1 -1
  157. package/admin/components/ContentEntries/Table/Actions/EditEntry.js +3 -3
  158. package/admin/components/ContentEntries/Table/Actions/EditEntry.js.map +1 -1
  159. package/admin/components/ContentEntries/Table/Actions/MoveEntry.js +3 -3
  160. package/admin/components/ContentEntries/Table/Actions/MoveEntry.js.map +1 -1
  161. package/admin/components/ContentEntries/Table/Actions/index.d.ts +4 -4
  162. package/admin/components/ContentEntries/Table/Actions/index.js +4 -4
  163. package/admin/components/ContentEntries/Table/Actions/index.js.map +1 -1
  164. package/admin/components/ContentEntries/Table/Cells/CellActions.js +7 -8
  165. package/admin/components/ContentEntries/Table/Cells/CellActions.js.map +1 -1
  166. package/admin/components/ContentEntries/Table/Cells/CellAuthor.js +4 -1
  167. package/admin/components/ContentEntries/Table/Cells/CellAuthor.js.map +1 -1
  168. package/admin/components/ContentEntries/Table/Cells/CellCreated.js +5 -2
  169. package/admin/components/ContentEntries/Table/Cells/CellCreated.js.map +1 -1
  170. package/admin/components/ContentEntries/Table/Cells/CellModified.js +5 -2
  171. package/admin/components/ContentEntries/Table/Cells/CellModified.js.map +1 -1
  172. package/admin/components/ContentEntries/Table/Cells/CellName.d.ts +3 -3
  173. package/admin/components/ContentEntries/Table/Cells/CellName.js +8 -8
  174. package/admin/components/ContentEntries/Table/Cells/CellName.js.map +1 -1
  175. package/admin/components/ContentEntries/Table/Cells/CellStatus.js +2 -2
  176. package/admin/components/ContentEntries/Table/Cells/CellStatus.js.map +1 -1
  177. package/admin/components/ContentEntries/Table/Cells/index.d.ts +6 -6
  178. package/admin/components/ContentEntries/Table/Cells/index.js +6 -6
  179. package/admin/components/ContentEntries/Table/Cells/index.js.map +1 -1
  180. package/admin/components/ContentEntries/Table/index.js +8 -3
  181. package/admin/components/ContentEntries/Table/index.js.map +1 -1
  182. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinBulkActionsGraphQLGateway.d.ts +2 -2
  183. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinBulkActionsGraphQLGateway.js.map +1 -1
  184. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinDeleteItemGraphQLGateway.d.ts +1 -1
  185. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinDeleteItemGraphQLGateway.js.map +1 -1
  186. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinItemMapper.d.ts +1 -1
  187. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinItemMapper.js.map +1 -1
  188. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinListGraphQLGateway.d.ts +1 -1
  189. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinListGraphQLGateway.js.map +1 -1
  190. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGateway.d.ts +2 -2
  191. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGateway.js.map +1 -1
  192. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGatewayWithCallback.d.ts +2 -2
  193. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGatewayWithCallback.js.map +1 -1
  194. package/admin/components/ContentEntries/TrashBin/adapters/index.d.ts +6 -6
  195. package/admin/components/ContentEntries/TrashBin/adapters/index.js +6 -6
  196. package/admin/components/ContentEntries/TrashBin/adapters/index.js.map +1 -1
  197. package/admin/components/ContentEntries/TrashBin/components/TrashBin.js +3 -3
  198. package/admin/components/ContentEntries/TrashBin/components/TrashBin.js.map +1 -1
  199. package/admin/components/ContentEntries/TrashBin/components/TrashBin.styled.d.ts +6 -7
  200. package/admin/components/ContentEntries/TrashBin/components/TrashBin.styled.js +3 -6
  201. package/admin/components/ContentEntries/TrashBin/components/TrashBin.styled.js.map +1 -1
  202. package/admin/components/ContentEntries/TrashBin/components/TrashBinButton.js +1 -1
  203. package/admin/components/ContentEntries/TrashBin/components/TrashBinButton.js.map +1 -1
  204. package/admin/components/ContentEntries/TrashBin/components/index.d.ts +1 -1
  205. package/admin/components/ContentEntries/TrashBin/components/index.js +1 -1
  206. package/admin/components/ContentEntries/TrashBin/components/index.js.map +1 -1
  207. package/admin/components/ContentEntries/TrashBin/index.d.ts +1 -1
  208. package/admin/components/ContentEntries/TrashBin/index.js +1 -1
  209. package/admin/components/ContentEntries/TrashBin/index.js.map +1 -1
  210. package/admin/components/ContentEntryForm/ContentEntryForm.d.ts +2 -2
  211. package/admin/components/ContentEntryForm/ContentEntryForm.js +6 -6
  212. package/admin/components/ContentEntryForm/ContentEntryForm.js.map +1 -1
  213. package/admin/components/ContentEntryForm/ContentEntryFormPreview.d.ts +1 -1
  214. package/admin/components/ContentEntryForm/ContentEntryFormPreview.js +11 -9
  215. package/admin/components/ContentEntryForm/ContentEntryFormPreview.js.map +1 -1
  216. package/admin/components/ContentEntryForm/ContentEntryFormProvider.d.ts +4 -4
  217. package/admin/components/ContentEntryForm/ContentEntryFormProvider.js +21 -24
  218. package/admin/components/ContentEntryForm/ContentEntryFormProvider.js.map +1 -1
  219. package/admin/components/ContentEntryForm/CustomLayout.d.ts +1 -1
  220. package/admin/components/ContentEntryForm/CustomLayout.js +1 -1
  221. package/admin/components/ContentEntryForm/CustomLayout.js.map +1 -1
  222. package/admin/components/ContentEntryForm/DefaultLayout.d.ts +1 -1
  223. package/admin/components/ContentEntryForm/DefaultLayout.js +1 -1
  224. package/admin/components/ContentEntryForm/DefaultLayout.js.map +1 -1
  225. package/admin/components/ContentEntryForm/FieldElement.d.ts +1 -1
  226. package/admin/components/ContentEntryForm/FieldElement.js +1 -1
  227. package/admin/components/ContentEntryForm/FieldElement.js.map +1 -1
  228. package/admin/components/ContentEntryForm/Fields.d.ts +1 -1
  229. package/admin/components/ContentEntryForm/Fields.js +1 -1
  230. package/admin/components/ContentEntryForm/Fields.js.map +1 -1
  231. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/ContentFormOptionsMenu.js +1 -1
  232. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/ContentFormOptionsMenu.js.map +1 -1
  233. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/index.d.ts +1 -1
  234. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/index.js +1 -1
  235. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/index.js.map +1 -1
  236. package/admin/components/ContentEntryForm/Header/DeleteEntry/DeleteEntry.js +3 -3
  237. package/admin/components/ContentEntryForm/Header/DeleteEntry/DeleteEntry.js.map +1 -1
  238. package/admin/components/ContentEntryForm/Header/DeleteEntry/index.d.ts +1 -1
  239. package/admin/components/ContentEntryForm/Header/DeleteEntry/index.js +1 -1
  240. package/admin/components/ContentEntryForm/Header/DeleteEntry/index.js.map +1 -1
  241. package/admin/components/ContentEntryForm/Header/Header.js +8 -7
  242. package/admin/components/ContentEntryForm/Header/Header.js.map +1 -1
  243. package/admin/components/ContentEntryForm/Header/RevisionSelector/RevisionSelector.js +14 -12
  244. package/admin/components/ContentEntryForm/Header/RevisionSelector/RevisionSelector.js.map +1 -1
  245. package/admin/components/ContentEntryForm/Header/RevisionSelector/index.d.ts +1 -1
  246. package/admin/components/ContentEntryForm/Header/RevisionSelector/index.js +1 -1
  247. package/admin/components/ContentEntryForm/Header/RevisionSelector/index.js.map +1 -1
  248. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/SaveAndPublishContent.js +4 -4
  249. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/SaveAndPublishContent.js.map +1 -1
  250. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/index.d.ts +1 -1
  251. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/index.js +1 -1
  252. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/index.js.map +1 -1
  253. package/admin/components/ContentEntryForm/Header/SaveContent/SaveContent.js +3 -3
  254. package/admin/components/ContentEntryForm/Header/SaveContent/SaveContent.js.map +1 -1
  255. package/admin/components/ContentEntryForm/Header/SaveContent/index.d.ts +1 -1
  256. package/admin/components/ContentEntryForm/Header/SaveContent/index.js +1 -1
  257. package/admin/components/ContentEntryForm/Header/SaveContent/index.js.map +1 -1
  258. package/admin/components/ContentEntryForm/Header/ShowRevisionsList/ShowRevisionList.js +2 -2
  259. package/admin/components/ContentEntryForm/Header/ShowRevisionsList/ShowRevisionList.js.map +1 -1
  260. package/admin/components/ContentEntryForm/Header/ShowRevisionsList/index.d.ts +1 -1
  261. package/admin/components/ContentEntryForm/Header/ShowRevisionsList/index.js +1 -1
  262. package/admin/components/ContentEntryForm/Header/ShowRevisionsList/index.js.map +1 -1
  263. package/admin/components/ContentEntryForm/Header/index.d.ts +5 -5
  264. package/admin/components/ContentEntryForm/Header/index.js +5 -5
  265. package/admin/components/ContentEntryForm/Header/index.js.map +1 -1
  266. package/admin/components/ContentEntryForm/Label.d.ts +1 -1
  267. package/admin/components/ContentEntryForm/Label.js +1 -1
  268. package/admin/components/ContentEntryForm/Label.js.map +1 -1
  269. package/admin/components/ContentEntryForm/ParentValue.d.ts +2 -2
  270. package/admin/components/ContentEntryForm/ParentValue.js +2 -2
  271. package/admin/components/ContentEntryForm/ParentValue.js.map +1 -1
  272. package/admin/components/ContentEntryForm/SingletonHeader/SaveAction.js +2 -2
  273. package/admin/components/ContentEntryForm/SingletonHeader/SaveAction.js.map +1 -1
  274. package/admin/components/ContentEntryForm/SingletonHeader/SingletonHeader.js +4 -4
  275. package/admin/components/ContentEntryForm/SingletonHeader/SingletonHeader.js.map +1 -1
  276. package/admin/components/ContentEntryForm/SingletonHeader/index.d.ts +1 -1
  277. package/admin/components/ContentEntryForm/SingletonHeader/index.js +1 -1
  278. package/admin/components/ContentEntryForm/SingletonHeader/index.js.map +1 -1
  279. package/admin/components/ContentEntryForm/createValidationContainer.d.ts +1 -1
  280. package/admin/components/ContentEntryForm/createValidationContainer.js +1 -1
  281. package/admin/components/ContentEntryForm/createValidationContainer.js.map +1 -1
  282. package/admin/components/ContentEntryForm/functions/getValue.d.ts +2 -2
  283. package/admin/components/ContentEntryForm/functions/getValue.js +1 -1
  284. package/admin/components/ContentEntryForm/functions/getValue.js.map +1 -1
  285. package/admin/components/ContentEntryForm/functions/setValue.d.ts +2 -2
  286. package/admin/components/ContentEntryForm/functions/setValue.js +2 -2
  287. package/admin/components/ContentEntryForm/functions/setValue.js.map +1 -1
  288. package/admin/components/ContentEntryForm/useBind.d.ts +1 -1
  289. package/admin/components/ContentEntryForm/useBind.js +1 -1
  290. package/admin/components/ContentEntryForm/useBind.js.map +1 -1
  291. package/admin/components/ContentEntryForm/useContentEntryForm.d.ts +1 -1
  292. package/admin/components/ContentEntryForm/useContentEntryForm.js +1 -1
  293. package/admin/components/ContentEntryForm/useContentEntryForm.js.map +1 -1
  294. package/admin/components/ContentEntryForm/useDefaultValues.d.ts +2 -2
  295. package/admin/components/ContentEntryForm/useDefaultValues.js +9 -7
  296. package/admin/components/ContentEntryForm/useDefaultValues.js.map +1 -1
  297. package/admin/components/ContentEntryForm/useFormRenderer.d.ts +1 -1
  298. package/admin/components/ContentEntryForm/useFormRenderer.js.map +1 -1
  299. package/admin/components/ContentEntryForm/useGoToRevision.js +12 -11
  300. package/admin/components/ContentEntryForm/useGoToRevision.js.map +1 -1
  301. package/admin/components/ContentEntryForm/useRenderPlugins.d.ts +1 -1
  302. package/admin/components/ContentEntryForm/useRenderPlugins.js +1 -1
  303. package/admin/components/ContentEntryForm/useRenderPlugins.js.map +1 -1
  304. package/admin/components/ContentModelEditor/ContentModelEditor.js +26 -28
  305. package/admin/components/ContentModelEditor/ContentModelEditor.js.map +1 -1
  306. package/admin/components/ContentModelEditor/ContentModelEditorProvider.d.ts +2 -2
  307. package/admin/components/ContentModelEditor/ContentModelEditorProvider.js +19 -16
  308. package/admin/components/ContentModelEditor/ContentModelEditorProvider.js.map +1 -1
  309. package/admin/components/ContentModelEditor/FieldsSidebar.js +4 -4
  310. package/admin/components/ContentModelEditor/FieldsSidebar.js.map +1 -1
  311. package/admin/components/ContentModelEditor/Header.js +3 -3
  312. package/admin/components/ContentModelEditor/Header.js.map +1 -1
  313. package/admin/components/ContentModelEditor/ModelIsBeingDeletedError/ModelIsBeingDeletedError.d.ts +1 -1
  314. package/admin/components/ContentModelEditor/ModelIsBeingDeletedError/ModelIsBeingDeletedError.js +9 -12
  315. package/admin/components/ContentModelEditor/ModelIsBeingDeletedError/ModelIsBeingDeletedError.js.map +1 -1
  316. package/admin/components/ContentModelEditor/ModelIsBeingDeletedError/index.d.ts +1 -1
  317. package/admin/components/ContentModelEditor/ModelIsBeingDeletedError/index.js +1 -1
  318. package/admin/components/ContentModelEditor/ModelIsBeingDeletedError/index.js.map +1 -1
  319. package/admin/components/ContentModelEditor/PreviewTab.d.ts +1 -1
  320. package/admin/components/ContentModelEditor/PreviewTab.js +3 -3
  321. package/admin/components/ContentModelEditor/PreviewTab.js.map +1 -1
  322. package/admin/components/ContentModelEditor/index.d.ts +2 -2
  323. package/admin/components/ContentModelEditor/index.js +2 -2
  324. package/admin/components/ContentModelEditor/index.js.map +1 -1
  325. package/admin/components/ContentModelEditor/useModelEditor.d.ts +1 -1
  326. package/admin/components/ContentModelEditor/useModelEditor.js +1 -1
  327. package/admin/components/ContentModelEditor/useModelEditor.js.map +1 -1
  328. package/admin/components/ContentModelsWidget.d.ts +2 -0
  329. package/admin/components/ContentModelsWidget.js +26 -0
  330. package/admin/components/ContentModelsWidget.js.map +1 -0
  331. package/admin/components/Decorators/ShowConfirmationOnDelete.js +3 -4
  332. package/admin/components/Decorators/ShowConfirmationOnDelete.js.map +1 -1
  333. package/admin/components/Decorators/ShowConfirmationOnDeleteRevision/EntryRevisionDeletedSnackbarMessage.d.ts +1 -1
  334. package/admin/components/Decorators/ShowConfirmationOnDeleteRevision/EntryRevisionDeletedSnackbarMessage.js.map +1 -1
  335. package/admin/components/Decorators/ShowConfirmationOnDeleteRevision.js +4 -5
  336. package/admin/components/Decorators/ShowConfirmationOnDeleteRevision.js.map +1 -1
  337. package/admin/components/Decorators/ShowConfirmationOnPublish.js +3 -4
  338. package/admin/components/Decorators/ShowConfirmationOnPublish.js.map +1 -1
  339. package/admin/components/Decorators/ShowConfirmationOnUnpublish.js +3 -4
  340. package/admin/components/Decorators/ShowConfirmationOnUnpublish.js.map +1 -1
  341. package/admin/components/Dialog.d.ts +3 -3
  342. package/admin/components/Dialog.js +3 -4
  343. package/admin/components/Dialog.js.map +1 -1
  344. package/admin/components/DragPreview.js +3 -3
  345. package/admin/components/DragPreview.js.map +1 -1
  346. package/admin/components/DropZone/Center.d.ts +1 -1
  347. package/admin/components/DropZone/Center.js +6 -6
  348. package/admin/components/DropZone/Center.js.map +1 -1
  349. package/admin/components/DropZone/Horizontal.d.ts +2 -2
  350. package/admin/components/DropZone/Horizontal.js +4 -4
  351. package/admin/components/DropZone/Horizontal.js.map +1 -1
  352. package/admin/components/DropZone/Vertical.d.ts +2 -2
  353. package/admin/components/DropZone/Vertical.js +4 -4
  354. package/admin/components/DropZone/Vertical.js.map +1 -1
  355. package/admin/components/DropZone/index.d.ts +3 -3
  356. package/admin/components/DropZone/index.js +3 -3
  357. package/admin/components/DropZone/index.js.map +1 -1
  358. package/admin/components/Droppable.d.ts +1 -1
  359. package/admin/components/Droppable.js.map +1 -1
  360. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/LegacyRichTextInput.js +1 -1
  361. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/LegacyRichTextInput.js.map +1 -1
  362. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/RendererOptions.d.ts +1 -1
  363. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/RendererOptions.js +1 -1
  364. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/RendererOptions.js.map +1 -1
  365. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab.js +10 -16
  366. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab.js.map +1 -1
  367. package/admin/components/FieldEditor/EditFieldDialog/GeneralTab.js +33 -19
  368. package/admin/components/FieldEditor/EditFieldDialog/GeneralTab.js.map +1 -1
  369. package/admin/components/FieldEditor/EditFieldDialog/PredefinedValues.js +3 -3
  370. package/admin/components/FieldEditor/EditFieldDialog/PredefinedValues.js.map +1 -1
  371. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/ValidationTab.d.ts +1 -1
  372. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/ValidationTab.js +6 -6
  373. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/ValidationTab.js.map +1 -1
  374. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/ValidationsSection.d.ts +1 -1
  375. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/ValidationsSection.js +2 -2
  376. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/ValidationsSection.js.map +1 -1
  377. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/ValidatorsList.d.ts +1 -1
  378. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/ValidatorsList.js +10 -14
  379. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/ValidatorsList.js.map +1 -1
  380. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/index.d.ts +1 -1
  381. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/index.js +1 -1
  382. package/admin/components/FieldEditor/EditFieldDialog/ValidationTab/index.js.map +1 -1
  383. package/admin/components/FieldEditor/EditFieldDialog/functions/getValue.js +1 -1
  384. package/admin/components/FieldEditor/EditFieldDialog/functions/getValue.js.map +1 -1
  385. package/admin/components/FieldEditor/EditFieldDialog/getValidators.d.ts +2 -2
  386. package/admin/components/FieldEditor/EditFieldDialog/getValidators.js +1 -1
  387. package/admin/components/FieldEditor/EditFieldDialog/getValidators.js.map +1 -1
  388. package/admin/components/FieldEditor/EditFieldDialog/useRendererPlugins.d.ts +1 -1
  389. package/admin/components/FieldEditor/EditFieldDialog/useRendererPlugins.js +2 -2
  390. package/admin/components/FieldEditor/EditFieldDialog/useRendererPlugins.js.map +1 -1
  391. package/admin/components/FieldEditor/EditFieldDialog.d.ts +1 -1
  392. package/admin/components/FieldEditor/EditFieldDialog.js +23 -15
  393. package/admin/components/FieldEditor/EditFieldDialog.js.map +1 -1
  394. package/admin/components/FieldEditor/Field.d.ts +1 -1
  395. package/admin/components/FieldEditor/Field.js +19 -34
  396. package/admin/components/FieldEditor/Field.js.map +1 -1
  397. package/admin/components/FieldEditor/FieldEditor.d.ts +1 -1
  398. package/admin/components/FieldEditor/FieldEditor.js +14 -14
  399. package/admin/components/FieldEditor/FieldEditor.js.map +1 -1
  400. package/admin/components/FieldEditor/FieldEditorContext.d.ts +2 -2
  401. package/admin/components/FieldEditor/FieldEditorContext.js +2 -2
  402. package/admin/components/FieldEditor/FieldEditorContext.js.map +1 -1
  403. package/admin/components/FieldEditor/index.d.ts +2 -2
  404. package/admin/components/FieldEditor/index.js +2 -2
  405. package/admin/components/FieldEditor/index.js.map +1 -1
  406. package/admin/components/FieldEditor/useModelFieldEditor.d.ts +1 -1
  407. package/admin/components/FieldEditor/useModelFieldEditor.js +1 -1
  408. package/admin/components/FieldEditor/useModelFieldEditor.js.map +1 -1
  409. package/admin/components/FieldEditor/utils/deleteField.d.ts +1 -1
  410. package/admin/components/FieldEditor/utils/deleteField.js.map +1 -1
  411. package/admin/components/FieldEditor/utils/getFieldPosition.d.ts +1 -1
  412. package/admin/components/FieldEditor/utils/getFieldPosition.js.map +1 -1
  413. package/admin/components/FieldEditor/utils/index.d.ts +4 -4
  414. package/admin/components/FieldEditor/utils/index.js +4 -4
  415. package/admin/components/FieldEditor/utils/index.js.map +1 -1
  416. package/admin/components/FieldEditor/utils/moveField.d.ts +3 -2
  417. package/admin/components/FieldEditor/utils/moveField.js +1 -1
  418. package/admin/components/FieldEditor/utils/moveField.js.map +1 -1
  419. package/admin/components/FieldEditor/utils/moveRow.d.ts +1 -1
  420. package/admin/components/FieldEditor/utils/moveRow.js.map +1 -1
  421. package/admin/components/IconPicker.js +24 -1
  422. package/admin/components/IconPicker.js.map +1 -1
  423. package/admin/components/IsModelPublishable.d.ts +5 -0
  424. package/admin/components/IsModelPublishable.js +11 -0
  425. package/admin/components/IsModelPublishable.js.map +1 -0
  426. package/admin/components/LexicalCmsEditor/LexicalCmsEditor.d.ts +2 -2
  427. package/admin/components/LexicalCmsEditor/LexicalCmsEditor.js +2 -9
  428. package/admin/components/LexicalCmsEditor/LexicalCmsEditor.js.map +1 -1
  429. package/admin/components/LexicalCmsEditor/LexicalEditorCmsPlugin.js +7 -12
  430. package/admin/components/LexicalCmsEditor/LexicalEditorCmsPlugin.js.map +1 -1
  431. package/admin/components/LexicalCmsEditor/TypographyDropDown.d.ts +6 -0
  432. package/admin/components/LexicalCmsEditor/TypographyDropDown.js +11 -23
  433. package/admin/components/LexicalCmsEditor/TypographyDropDown.js.map +1 -1
  434. package/admin/components/ModelFieldProvider/index.d.ts +1 -1
  435. package/admin/components/ModelFieldProvider/index.js +1 -1
  436. package/admin/components/ModelFieldProvider/index.js.map +1 -1
  437. package/admin/components/ModelProvider/index.d.ts +1 -1
  438. package/admin/components/ModelProvider/index.js +1 -1
  439. package/admin/components/ModelProvider/index.js.map +1 -1
  440. package/admin/config/IsApplicableToCurrentModel.js +1 -1
  441. package/admin/config/IsApplicableToCurrentModel.js.map +1 -1
  442. package/admin/config/contentEntries/editor/Actions/BaseAction.js +1 -1
  443. package/admin/config/contentEntries/editor/Actions/BaseAction.js.map +1 -1
  444. package/admin/config/contentEntries/editor/Actions/ButtonAction.d.ts +2 -2
  445. package/admin/config/contentEntries/editor/Actions/ButtonAction.js +1 -1
  446. package/admin/config/contentEntries/editor/Actions/ButtonAction.js.map +1 -1
  447. package/admin/config/contentEntries/editor/Actions/MenuItemAction.d.ts +2 -2
  448. package/admin/config/contentEntries/editor/Actions/MenuItemAction.js +1 -1
  449. package/admin/config/contentEntries/editor/Actions/MenuItemAction.js.map +1 -1
  450. package/admin/config/contentEntries/editor/Actions/index.d.ts +19 -20
  451. package/admin/config/contentEntries/editor/Actions/index.js +2 -2
  452. package/admin/config/contentEntries/editor/Actions/index.js.map +1 -1
  453. package/admin/config/contentEntries/editor/ContentEntryEditorConfig.d.ts +26 -27
  454. package/admin/config/contentEntries/editor/ContentEntryEditorConfig.js +4 -4
  455. package/admin/config/contentEntries/editor/ContentEntryEditorConfig.js.map +1 -1
  456. package/admin/config/contentEntries/editor/FieldElement.d.ts +4 -5
  457. package/admin/config/contentEntries/editor/FieldElement.js +2 -2
  458. package/admin/config/contentEntries/editor/FieldElement.js.map +1 -1
  459. package/admin/config/contentEntries/editor/ValidationIndicators.js +1 -1
  460. package/admin/config/contentEntries/editor/ValidationIndicators.js.map +1 -1
  461. package/admin/config/contentEntries/editor/Width.js +1 -1
  462. package/admin/config/contentEntries/editor/Width.js.map +1 -1
  463. package/admin/config/contentEntries/editor/index.d.ts +1 -1
  464. package/admin/config/contentEntries/editor/index.js +1 -1
  465. package/admin/config/contentEntries/editor/index.js.map +1 -1
  466. package/admin/config/contentEntries/index.d.ts +2 -2
  467. package/admin/config/contentEntries/index.js +2 -2
  468. package/admin/config/contentEntries/index.js.map +1 -1
  469. package/admin/config/contentEntries/list/Browser/AdvancedSearch/FieldRenderer.js +2 -2
  470. package/admin/config/contentEntries/list/Browser/AdvancedSearch/FieldRenderer.js.map +1 -1
  471. package/admin/config/contentEntries/list/Browser/AdvancedSearch/index.d.ts +4 -5
  472. package/admin/config/contentEntries/list/Browser/AdvancedSearch/index.js +1 -1
  473. package/admin/config/contentEntries/list/Browser/AdvancedSearch/index.js.map +1 -1
  474. package/admin/config/contentEntries/list/Browser/BulkAction.d.ts +2 -2
  475. package/admin/config/contentEntries/list/Browser/BulkAction.js +2 -2
  476. package/admin/config/contentEntries/list/Browser/BulkAction.js.map +1 -1
  477. package/admin/config/contentEntries/list/Browser/EntryAction.d.ts +2 -2
  478. package/admin/config/contentEntries/list/Browser/EntryAction.js +3 -3
  479. package/admin/config/contentEntries/list/Browser/EntryAction.js.map +1 -1
  480. package/admin/config/contentEntries/list/Browser/Filter.js +1 -1
  481. package/admin/config/contentEntries/list/Browser/Filter.js.map +1 -1
  482. package/admin/config/contentEntries/list/Browser/FiltersToWhere.js +1 -1
  483. package/admin/config/contentEntries/list/Browser/FiltersToWhere.js.map +1 -1
  484. package/admin/config/contentEntries/list/Browser/FolderAction.d.ts +1 -1
  485. package/admin/config/contentEntries/list/Browser/FolderAction.js +2 -2
  486. package/admin/config/contentEntries/list/Browser/FolderAction.js.map +1 -1
  487. package/admin/config/contentEntries/list/Browser/FolderDropConfirmation.d.ts +6 -0
  488. package/admin/config/contentEntries/list/Browser/FolderDropConfirmation.js +20 -0
  489. package/admin/config/contentEntries/list/Browser/FolderDropConfirmation.js.map +1 -0
  490. package/admin/config/contentEntries/list/Browser/Table/Column.d.ts +4 -2
  491. package/admin/config/contentEntries/list/Browser/Table/Column.js +3 -3
  492. package/admin/config/contentEntries/list/Browser/Table/Column.js.map +1 -1
  493. package/admin/config/contentEntries/list/Browser/Table/index.d.ts +13 -12
  494. package/admin/config/contentEntries/list/Browser/Table/index.js +1 -1
  495. package/admin/config/contentEntries/list/Browser/Table/index.js.map +1 -1
  496. package/admin/config/contentEntries/list/Browser/index.d.ts +78 -81
  497. package/admin/config/contentEntries/list/Browser/index.js +15 -16
  498. package/admin/config/contentEntries/list/Browser/index.js.map +1 -1
  499. package/admin/config/contentEntries/list/ContentEntryListConfig.d.ts +193 -58
  500. package/admin/config/contentEntries/list/ContentEntryListConfig.js +29 -6
  501. package/admin/config/contentEntries/list/ContentEntryListConfig.js.map +1 -1
  502. package/admin/config/contentEntries/list/index.d.ts +1 -1
  503. package/admin/config/contentEntries/list/index.js +1 -1
  504. package/admin/config/contentEntries/list/index.js.map +1 -1
  505. package/admin/constants.d.ts +2 -3
  506. package/admin/constants.js +2 -3
  507. package/admin/constants.js.map +1 -1
  508. package/admin/contexts/Cms/index.d.ts +1 -2
  509. package/admin/contexts/Cms/index.js +8 -27
  510. package/admin/contexts/Cms/index.js.map +1 -1
  511. package/admin/graphql/contentModels.d.ts +3 -3
  512. package/admin/graphql/contentModels.js +6 -8
  513. package/admin/graphql/contentModels.js.map +1 -1
  514. package/admin/hooks/index.d.ts +15 -16
  515. package/admin/hooks/index.js +15 -16
  516. package/admin/hooks/index.js.map +1 -1
  517. package/admin/hooks/useApolloClient.js +1 -1
  518. package/admin/hooks/useApolloClient.js.map +1 -1
  519. package/admin/hooks/useCms.d.ts +1 -1
  520. package/admin/hooks/useCms.js +1 -1
  521. package/admin/hooks/useCms.js.map +1 -1
  522. package/admin/hooks/useContentModels.d.ts +2 -2
  523. package/admin/hooks/useContentModels.js +2 -2
  524. package/admin/hooks/useContentModels.js.map +1 -1
  525. package/admin/hooks/useEntry.d.ts +1 -1
  526. package/admin/hooks/useEntry.js.map +1 -1
  527. package/admin/hooks/useLazyQuery.d.ts +2 -2
  528. package/admin/hooks/useLazyQuery.js +2 -2
  529. package/admin/hooks/useLazyQuery.js.map +1 -1
  530. package/admin/hooks/useModelFieldGraphqlContext.d.ts +13 -12
  531. package/admin/hooks/useModelFieldGraphqlContext.js +1 -1
  532. package/admin/hooks/useModelFieldGraphqlContext.js.map +1 -1
  533. package/admin/hooks/useMutation.d.ts +2 -2
  534. package/admin/hooks/useMutation.js +2 -2
  535. package/admin/hooks/useMutation.js.map +1 -1
  536. package/admin/hooks/usePermission.d.ts +8 -14
  537. package/admin/hooks/usePermission.js +20 -34
  538. package/admin/hooks/usePermission.js.map +1 -1
  539. package/admin/hooks/usePersistEntry.d.ts +2 -2
  540. package/admin/hooks/usePersistEntry.js +1 -1
  541. package/admin/hooks/usePersistEntry.js.map +1 -1
  542. package/admin/hooks/useQuery.d.ts +2 -2
  543. package/admin/hooks/useQuery.js +2 -2
  544. package/admin/hooks/useQuery.js.map +1 -1
  545. package/admin/lexicalConfig/LexicalEditorConfig.js +3 -1
  546. package/admin/lexicalConfig/LexicalEditorConfig.js.map +1 -1
  547. package/admin/menus/CmsMenuLoader.js +53 -39
  548. package/admin/menus/CmsMenuLoader.js.map +1 -1
  549. package/admin/menus/ContentGroupsMenuItems.js +14 -80
  550. package/admin/menus/ContentGroupsMenuItems.js.map +1 -1
  551. package/admin/menus/GroupContentModels.d.ts +12 -0
  552. package/admin/menus/GroupContentModels.js +54 -0
  553. package/admin/menus/GroupContentModels.js.map +1 -0
  554. package/admin/menus/GroupMenu.d.ts +11 -0
  555. package/admin/menus/GroupMenu.js +31 -0
  556. package/admin/menus/GroupMenu.js.map +1 -0
  557. package/admin/menus/HasContentEntryPermissions.d.ts +8 -0
  558. package/admin/menus/HasContentEntryPermissions.js +26 -0
  559. package/admin/menus/HasContentEntryPermissions.js.map +1 -0
  560. package/admin/plugins/apiInformation/index.d.ts +1 -1
  561. package/admin/plugins/apiInformation/index.js +4 -7
  562. package/admin/plugins/apiInformation/index.js.map +1 -1
  563. package/admin/plugins/definitions/CmsEditorFieldValidatorFileTypePlugin.d.ts +1 -1
  564. package/admin/plugins/definitions/CmsEditorFieldValidatorFileTypePlugin.js +1 -1
  565. package/admin/plugins/definitions/CmsEditorFieldValidatorFileTypePlugin.js.map +1 -1
  566. package/admin/plugins/definitions/CmsFieldValidatorFileTypePlugin.d.ts +1 -1
  567. package/admin/plugins/definitions/CmsFieldValidatorFileTypePlugin.js +1 -1
  568. package/admin/plugins/definitions/CmsFieldValidatorFileTypePlugin.js.map +1 -1
  569. package/admin/plugins/editor/defaultBar/BackButton.js +4 -3
  570. package/admin/plugins/editor/defaultBar/BackButton.js.map +1 -1
  571. package/admin/plugins/editor/defaultBar/CreateContentButton.js +12 -7
  572. package/admin/plugins/editor/defaultBar/CreateContentButton.js.map +1 -1
  573. package/admin/plugins/editor/defaultBar/FormSettings/FormSettings.js +10 -13
  574. package/admin/plugins/editor/defaultBar/FormSettings/FormSettings.js.map +1 -1
  575. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsButton.js +1 -1
  576. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsButton.js.map +1 -1
  577. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsStyled.d.ts +4 -4
  578. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsStyled.js +5 -9
  579. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsStyled.js.map +1 -1
  580. package/admin/plugins/editor/defaultBar/FormSettings/index.d.ts +1 -1
  581. package/admin/plugins/editor/defaultBar/FormSettings/index.js +1 -1
  582. package/admin/plugins/editor/defaultBar/FormSettings/index.js.map +1 -1
  583. package/admin/plugins/editor/defaultBar/Name/Name.js +3 -3
  584. package/admin/plugins/editor/defaultBar/Name/Name.js.map +1 -1
  585. package/admin/plugins/editor/defaultBar/Name/index.d.ts +1 -1
  586. package/admin/plugins/editor/defaultBar/Name/index.js +1 -1
  587. package/admin/plugins/editor/defaultBar/Name/index.js.map +1 -1
  588. package/admin/plugins/editor/defaultBar/SaveContentModelButton.js +3 -3
  589. package/admin/plugins/editor/defaultBar/SaveContentModelButton.js.map +1 -1
  590. package/admin/plugins/editor/defaultBar/index.js +5 -5
  591. package/admin/plugins/editor/defaultBar/index.js.map +1 -1
  592. package/admin/plugins/editor/formSettings/components/GeneralSettings.js +14 -15
  593. package/admin/plugins/editor/formSettings/components/GeneralSettings.js.map +1 -1
  594. package/admin/plugins/editor/formSettings/components/GroupSelect.d.ts +1 -1
  595. package/admin/plugins/editor/formSettings/components/GroupSelect.js +5 -5
  596. package/admin/plugins/editor/formSettings/components/GroupSelect.js.map +1 -1
  597. package/admin/plugins/editor/formSettings/index.d.ts +1 -1
  598. package/admin/plugins/editor/formSettings/index.js +1 -1
  599. package/admin/plugins/editor/formSettings/index.js.map +1 -1
  600. package/admin/plugins/fieldRenderers/AccordionRenderSettings.d.ts +1 -1
  601. package/admin/plugins/fieldRenderers/AccordionRenderSettings.js.map +1 -1
  602. package/admin/plugins/fieldRenderers/DynamicSection.d.ts +2 -2
  603. package/admin/plugins/fieldRenderers/DynamicSection.js +20 -17
  604. package/admin/plugins/fieldRenderers/DynamicSection.js.map +1 -1
  605. package/admin/plugins/fieldRenderers/MultiValueRendererSettings.d.ts +1 -1
  606. package/admin/plugins/fieldRenderers/MultiValueRendererSettings.js.map +1 -1
  607. package/admin/plugins/fieldRenderers/boolean/booleanSwitch.d.ts +1 -1
  608. package/admin/plugins/fieldRenderers/boolean/booleanSwitch.js +5 -4
  609. package/admin/plugins/fieldRenderers/boolean/booleanSwitch.js.map +1 -1
  610. package/admin/plugins/fieldRenderers/boolean/index.d.ts +1 -1
  611. package/admin/plugins/fieldRenderers/boolean/index.js +1 -1
  612. package/admin/plugins/fieldRenderers/boolean/index.js.map +1 -1
  613. package/admin/plugins/fieldRenderers/checkboxes.d.ts +1 -1
  614. package/admin/plugins/fieldRenderers/checkboxes.js +6 -4
  615. package/admin/plugins/fieldRenderers/checkboxes.js.map +1 -1
  616. package/admin/plugins/fieldRenderers/dateTime/DateOnly.d.ts +2 -2
  617. package/admin/plugins/fieldRenderers/dateTime/DateOnly.js +2 -2
  618. package/admin/plugins/fieldRenderers/dateTime/DateOnly.js.map +1 -1
  619. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithTimezone.d.ts +1 -1
  620. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithTimezone.js +4 -8
  621. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithTimezone.js.map +1 -1
  622. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithoutTimezone.d.ts +1 -1
  623. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithoutTimezone.js +4 -10
  624. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithoutTimezone.js.map +1 -1
  625. package/admin/plugins/fieldRenderers/dateTime/Input.d.ts +1 -1
  626. package/admin/plugins/fieldRenderers/dateTime/Input.js +5 -4
  627. package/admin/plugins/fieldRenderers/dateTime/Input.js.map +1 -1
  628. package/admin/plugins/fieldRenderers/dateTime/Time.d.ts +1 -1
  629. package/admin/plugins/fieldRenderers/dateTime/Time.js +2 -2
  630. package/admin/plugins/fieldRenderers/dateTime/Time.js.map +1 -1
  631. package/admin/plugins/fieldRenderers/dateTime/dateTimeField.d.ts +1 -1
  632. package/admin/plugins/fieldRenderers/dateTime/dateTimeField.js +16 -8
  633. package/admin/plugins/fieldRenderers/dateTime/dateTimeField.js.map +1 -1
  634. package/admin/plugins/fieldRenderers/dateTime/dateTimeFields.d.ts +1 -1
  635. package/admin/plugins/fieldRenderers/dateTime/dateTimeFields.js +9 -9
  636. package/admin/plugins/fieldRenderers/dateTime/dateTimeFields.js.map +1 -1
  637. package/admin/plugins/fieldRenderers/dateTime/index.d.ts +1 -1
  638. package/admin/plugins/fieldRenderers/dateTime/index.js +2 -2
  639. package/admin/plugins/fieldRenderers/dateTime/index.js.map +1 -1
  640. package/admin/plugins/fieldRenderers/dateTime/utils.d.ts +1 -1
  641. package/admin/plugins/fieldRenderers/dateTime/utils.js +2 -2
  642. package/admin/plugins/fieldRenderers/dateTime/utils.js.map +1 -1
  643. package/admin/plugins/fieldRenderers/dynamicZone/AddTemplate.d.ts +1 -2
  644. package/admin/plugins/fieldRenderers/dynamicZone/AddTemplate.js +21 -75
  645. package/admin/plugins/fieldRenderers/dynamicZone/AddTemplate.js.map +1 -1
  646. package/admin/plugins/fieldRenderers/dynamicZone/MultiValueDynamicZone.d.ts +1 -1
  647. package/admin/plugins/fieldRenderers/dynamicZone/MultiValueDynamicZone.js +15 -12
  648. package/admin/plugins/fieldRenderers/dynamicZone/MultiValueDynamicZone.js.map +1 -1
  649. package/admin/plugins/fieldRenderers/dynamicZone/SingleValueDynamicZone.d.ts +1 -1
  650. package/admin/plugins/fieldRenderers/dynamicZone/SingleValueDynamicZone.js +10 -9
  651. package/admin/plugins/fieldRenderers/dynamicZone/SingleValueDynamicZone.js.map +1 -1
  652. package/admin/plugins/fieldRenderers/dynamicZone/TemplateGallery.d.ts +9 -37
  653. package/admin/plugins/fieldRenderers/dynamicZone/TemplateGallery.js +5 -23
  654. package/admin/plugins/fieldRenderers/dynamicZone/TemplateGallery.js.map +1 -1
  655. package/admin/plugins/fieldRenderers/dynamicZone/TemplateIcon.d.ts +4 -1
  656. package/admin/plugins/fieldRenderers/dynamicZone/TemplateIcon.js +9 -4
  657. package/admin/plugins/fieldRenderers/dynamicZone/TemplateIcon.js.map +1 -1
  658. package/admin/plugins/fieldRenderers/dynamicZone/TemplateItem.d.ts +1 -1
  659. package/admin/plugins/fieldRenderers/dynamicZone/TemplateItem.js +29 -17
  660. package/admin/plugins/fieldRenderers/dynamicZone/TemplateItem.js.map +1 -1
  661. package/admin/plugins/fieldRenderers/dynamicZone/TemplateProvider.d.ts +1 -1
  662. package/admin/plugins/fieldRenderers/dynamicZone/TemplateProvider.js.map +1 -1
  663. package/admin/plugins/fieldRenderers/dynamicZone/dynamicZoneRenderer.d.ts +1 -1
  664. package/admin/plugins/fieldRenderers/dynamicZone/dynamicZoneRenderer.js +17 -9
  665. package/admin/plugins/fieldRenderers/dynamicZone/dynamicZoneRenderer.js.map +1 -1
  666. package/admin/plugins/fieldRenderers/dynamicZone/index.d.ts +4 -4
  667. package/admin/plugins/fieldRenderers/dynamicZone/index.js +4 -4
  668. package/admin/plugins/fieldRenderers/dynamicZone/index.js.map +1 -1
  669. package/admin/plugins/fieldRenderers/dynamicZone/useTemplateTypename.d.ts +1 -1
  670. package/admin/plugins/fieldRenderers/dynamicZone/useTemplateTypename.js +5 -5
  671. package/admin/plugins/fieldRenderers/dynamicZone/useTemplateTypename.js.map +1 -1
  672. package/admin/plugins/fieldRenderers/hidden.d.ts +1 -1
  673. package/admin/plugins/fieldRenderers/hidden.js.map +1 -1
  674. package/admin/plugins/fieldRenderers/lexicalText/index.d.ts +1 -1
  675. package/admin/plugins/fieldRenderers/lexicalText/index.js +2 -2
  676. package/admin/plugins/fieldRenderers/lexicalText/index.js.map +1 -1
  677. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInput.d.ts +1 -1
  678. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInput.js +21 -24
  679. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInput.js.map +1 -1
  680. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInputs.d.ts +1 -1
  681. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInputs.js +14 -25
  682. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInputs.js.map +1 -1
  683. package/admin/plugins/fieldRenderers/lexicalText/utils.d.ts +1 -1
  684. package/admin/plugins/fieldRenderers/lexicalText/utils.js.map +1 -1
  685. package/admin/plugins/fieldRenderers/lexicalText/withHtml.d.ts +8 -0
  686. package/admin/plugins/fieldRenderers/lexicalText/withHtml.js +10 -0
  687. package/admin/plugins/fieldRenderers/lexicalText/withHtml.js.map +1 -0
  688. package/admin/plugins/fieldRenderers/longText/index.d.ts +1 -1
  689. package/admin/plugins/fieldRenderers/longText/index.js +2 -2
  690. package/admin/plugins/fieldRenderers/longText/index.js.map +1 -1
  691. package/admin/plugins/fieldRenderers/longText/longText.d.ts +1 -1
  692. package/admin/plugins/fieldRenderers/longText/longText.js +7 -5
  693. package/admin/plugins/fieldRenderers/longText/longText.js.map +1 -1
  694. package/admin/plugins/fieldRenderers/longText/longTexts.d.ts +1 -1
  695. package/admin/plugins/fieldRenderers/longText/longTexts.js +8 -8
  696. package/admin/plugins/fieldRenderers/longText/longTexts.js.map +1 -1
  697. package/admin/plugins/fieldRenderers/number/index.d.ts +1 -1
  698. package/admin/plugins/fieldRenderers/number/index.js +2 -2
  699. package/admin/plugins/fieldRenderers/number/index.js.map +1 -1
  700. package/admin/plugins/fieldRenderers/number/numberInput.d.ts +1 -1
  701. package/admin/plugins/fieldRenderers/number/numberInput.js +7 -5
  702. package/admin/plugins/fieldRenderers/number/numberInput.js.map +1 -1
  703. package/admin/plugins/fieldRenderers/number/numberInputs.d.ts +1 -1
  704. package/admin/plugins/fieldRenderers/number/numberInputs.js +7 -7
  705. package/admin/plugins/fieldRenderers/number/numberInputs.js.map +1 -1
  706. package/admin/plugins/fieldRenderers/object/FieldSettings.d.ts +21 -20
  707. package/admin/plugins/fieldRenderers/object/FieldSettings.js.map +1 -1
  708. package/admin/plugins/fieldRenderers/object/MultiValueContainer.d.ts +1 -1
  709. package/admin/plugins/fieldRenderers/object/MultiValueContainer.js +9 -10
  710. package/admin/plugins/fieldRenderers/object/MultiValueContainer.js.map +1 -1
  711. package/admin/plugins/fieldRenderers/object/MultiValueItemContainer.d.ts +1 -1
  712. package/admin/plugins/fieldRenderers/object/MultiValueItemContainer.js +15 -10
  713. package/admin/plugins/fieldRenderers/object/MultiValueItemContainer.js.map +1 -1
  714. package/admin/plugins/fieldRenderers/object/StyledComponents.d.ts +4 -6
  715. package/admin/plugins/fieldRenderers/object/StyledComponents.js +5 -18
  716. package/admin/plugins/fieldRenderers/object/StyledComponents.js.map +1 -1
  717. package/admin/plugins/fieldRenderers/object/index.d.ts +8 -9
  718. package/admin/plugins/fieldRenderers/object/index.js +4 -6
  719. package/admin/plugins/fieldRenderers/object/index.js.map +1 -1
  720. package/admin/plugins/fieldRenderers/object/multipleObjectsAccordion.d.ts +1 -1
  721. package/admin/plugins/fieldRenderers/object/multipleObjectsAccordion.js +11 -8
  722. package/admin/plugins/fieldRenderers/object/multipleObjectsAccordion.js.map +1 -1
  723. package/admin/plugins/fieldRenderers/object/singleObjectAccordion.d.ts +1 -1
  724. package/admin/plugins/fieldRenderers/object/singleObjectAccordion.js +20 -11
  725. package/admin/plugins/fieldRenderers/object/singleObjectAccordion.js.map +1 -1
  726. package/admin/plugins/fieldRenderers/passthrough.d.ts +2 -0
  727. package/admin/plugins/fieldRenderers/passthrough.js +29 -0
  728. package/admin/plugins/fieldRenderers/passthrough.js.map +1 -0
  729. package/admin/plugins/fieldRenderers/radioButtons.d.ts +1 -1
  730. package/admin/plugins/fieldRenderers/radioButtons.js +7 -5
  731. package/admin/plugins/fieldRenderers/radioButtons.js.map +1 -1
  732. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedMultipleReferenceField.d.ts +2 -2
  733. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedMultipleReferenceField.js +15 -31
  734. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedMultipleReferenceField.js.map +1 -1
  735. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedSingleReferenceField.d.ts +2 -2
  736. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedSingleReferenceField.js +11 -13
  737. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedSingleReferenceField.js.map +1 -1
  738. package/admin/plugins/fieldRenderers/ref/advanced/components/Container.js +1 -1
  739. package/admin/plugins/fieldRenderers/ref/advanced/components/Container.js.map +1 -1
  740. package/admin/plugins/fieldRenderers/ref/advanced/components/Entries.d.ts +1 -1
  741. package/admin/plugins/fieldRenderers/ref/advanced/components/Entries.js +7 -16
  742. package/admin/plugins/fieldRenderers/ref/advanced/components/Entries.js.map +1 -1
  743. package/admin/plugins/fieldRenderers/ref/advanced/components/Entry.d.ts +3 -3
  744. package/admin/plugins/fieldRenderers/ref/advanced/components/Entry.js +96 -40
  745. package/admin/plugins/fieldRenderers/ref/advanced/components/Entry.js.map +1 -1
  746. package/admin/plugins/fieldRenderers/ref/advanced/components/NoEntries.js +1 -1
  747. package/admin/plugins/fieldRenderers/ref/advanced/components/NoEntries.js.map +1 -1
  748. package/admin/plugins/fieldRenderers/ref/advanced/components/Options.d.ts +1 -1
  749. package/admin/plugins/fieldRenderers/ref/advanced/components/Options.js +6 -8
  750. package/admin/plugins/fieldRenderers/ref/advanced/components/Options.js.map +1 -1
  751. package/admin/plugins/fieldRenderers/ref/advanced/components/ReferencesDialog.d.ts +2 -2
  752. package/admin/plugins/fieldRenderers/ref/advanced/components/ReferencesDialog.js +16 -8
  753. package/admin/plugins/fieldRenderers/ref/advanced/components/ReferencesDialog.js.map +1 -1
  754. package/admin/plugins/fieldRenderers/ref/advanced/components/Search.js +3 -6
  755. package/admin/plugins/fieldRenderers/ref/advanced/components/Search.js.map +1 -1
  756. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Box.js +5 -10
  757. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Box.js.map +1 -1
  758. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/CreatedBy.d.ts +1 -1
  759. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/CreatedBy.js +2 -2
  760. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/CreatedBy.js.map +1 -1
  761. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Description.js +1 -1
  762. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Description.js.map +1 -1
  763. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Image.d.ts +1 -2
  764. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Image.js +10 -22
  765. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Image.js.map +1 -1
  766. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModelName.js +1 -1
  767. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModelName.js.map +1 -1
  768. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModifiedBy.d.ts +1 -1
  769. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModifiedBy.js +2 -2
  770. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModifiedBy.js.map +1 -1
  771. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Select.d.ts +1 -1
  772. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Select.js.map +1 -1
  773. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Status.d.ts +1 -1
  774. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Status.js +4 -4
  775. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Status.js.map +1 -1
  776. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/elements/ButtonLink.js +1 -2
  777. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/elements/ButtonLink.js.map +1 -1
  778. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelList.d.ts +1 -1
  779. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelList.js +1 -1
  780. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelList.js.map +1 -1
  781. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelListItem.d.ts +1 -1
  782. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelListItem.js +4 -3
  783. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelListItem.js.map +1 -1
  784. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferenceRenderer.d.ts +1 -1
  785. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferenceRenderer.js +3 -3
  786. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferenceRenderer.js.map +1 -1
  787. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferencesRenderer.d.ts +1 -1
  788. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferencesRenderer.js +4 -4
  789. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferencesRenderer.js.map +1 -1
  790. package/admin/plugins/fieldRenderers/ref/advanced/hooks/graphql.d.ts +3 -3
  791. package/admin/plugins/fieldRenderers/ref/advanced/hooks/graphql.js.map +1 -1
  792. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useEntries.d.ts +2 -2
  793. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useEntries.js +5 -3
  794. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useEntries.js.map +1 -1
  795. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useReferences.d.ts +1 -1
  796. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useReferences.js +3 -3
  797. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useReferences.js.map +1 -1
  798. package/admin/plugins/fieldRenderers/ref/advanced/index.d.ts +1 -1
  799. package/admin/plugins/fieldRenderers/ref/advanced/index.js +2 -2
  800. package/admin/plugins/fieldRenderers/ref/advanced/index.js.map +1 -1
  801. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesAutocomplete.d.ts +1 -1
  802. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesAutocomplete.js +19 -33
  803. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesAutocomplete.js.map +1 -1
  804. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesMultiAutoComplete.d.ts +1 -1
  805. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesMultiAutoComplete.js +27 -19
  806. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesMultiAutoComplete.js.map +1 -1
  807. package/admin/plugins/fieldRenderers/ref/components/EntryStatus.d.ts +2 -2
  808. package/admin/plugins/fieldRenderers/ref/components/EntryStatus.js +5 -8
  809. package/admin/plugins/fieldRenderers/ref/components/EntryStatus.js.map +1 -1
  810. package/admin/plugins/fieldRenderers/ref/components/MissingEntryHelpText.js +6 -7
  811. package/admin/plugins/fieldRenderers/ref/components/MissingEntryHelpText.js.map +1 -1
  812. package/admin/plugins/fieldRenderers/ref/components/NewEntryButton.js +2 -3
  813. package/admin/plugins/fieldRenderers/ref/components/NewEntryButton.js.map +1 -1
  814. package/admin/plugins/fieldRenderers/ref/components/NewReferencedEntryDialog.d.ts +1 -1
  815. package/admin/plugins/fieldRenderers/ref/components/NewReferencedEntryDialog.js +37 -29
  816. package/admin/plugins/fieldRenderers/ref/components/NewReferencedEntryDialog.js.map +1 -1
  817. package/admin/plugins/fieldRenderers/ref/components/dialog/Dialog.d.ts +2 -2
  818. package/admin/plugins/fieldRenderers/ref/components/dialog/Dialog.js +3 -5
  819. package/admin/plugins/fieldRenderers/ref/components/dialog/Dialog.js.map +1 -1
  820. package/admin/plugins/fieldRenderers/ref/components/graphql.d.ts +2 -2
  821. package/admin/plugins/fieldRenderers/ref/components/graphql.js.map +1 -1
  822. package/admin/plugins/fieldRenderers/ref/components/helpers.d.ts +2 -2
  823. package/admin/plugins/fieldRenderers/ref/components/helpers.js.map +1 -1
  824. package/admin/plugins/fieldRenderers/ref/components/renderItem.d.ts +1 -1
  825. package/admin/plugins/fieldRenderers/ref/components/renderItem.js +8 -10
  826. package/admin/plugins/fieldRenderers/ref/components/renderItem.js.map +1 -1
  827. package/admin/plugins/fieldRenderers/ref/components/types.d.ts +4 -1
  828. package/admin/plugins/fieldRenderers/ref/components/types.js.map +1 -1
  829. package/admin/plugins/fieldRenderers/ref/components/useReference.d.ts +2 -2
  830. package/admin/plugins/fieldRenderers/ref/components/useReference.js +3 -3
  831. package/admin/plugins/fieldRenderers/ref/components/useReference.js.map +1 -1
  832. package/admin/plugins/fieldRenderers/ref/components/useReferences.d.ts +2 -3
  833. package/admin/plugins/fieldRenderers/ref/components/useReferences.js +3 -3
  834. package/admin/plugins/fieldRenderers/ref/components/useReferences.js.map +1 -1
  835. package/admin/plugins/fieldRenderers/ref/hooks/useNewRefEntry.d.ts +2 -2
  836. package/admin/plugins/fieldRenderers/ref/hooks/useNewRefEntry.js +7 -7
  837. package/admin/plugins/fieldRenderers/ref/hooks/useNewRefEntry.js.map +1 -1
  838. package/admin/plugins/fieldRenderers/ref/index.d.ts +1 -1
  839. package/admin/plugins/fieldRenderers/ref/index.js +4 -4
  840. package/admin/plugins/fieldRenderers/ref/index.js.map +1 -1
  841. package/admin/plugins/fieldRenderers/ref/refInput.d.ts +1 -1
  842. package/admin/plugins/fieldRenderers/ref/refInput.js +3 -3
  843. package/admin/plugins/fieldRenderers/ref/refInput.js.map +1 -1
  844. package/admin/plugins/fieldRenderers/ref/refInputs.d.ts +1 -1
  845. package/admin/plugins/fieldRenderers/ref/refInputs.js +3 -3
  846. package/admin/plugins/fieldRenderers/ref/refInputs.js.map +1 -1
  847. package/admin/plugins/fieldRenderers/ref/simple/components/Loader.js +1 -1
  848. package/admin/plugins/fieldRenderers/ref/simple/components/Loader.js.map +1 -1
  849. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleMultipleRenderer.d.ts +2 -2
  850. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleMultipleRenderer.js +6 -4
  851. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleMultipleRenderer.js.map +1 -1
  852. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleSingleRenderer.d.ts +2 -2
  853. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleSingleRenderer.js +6 -4
  854. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleSingleRenderer.js.map +1 -1
  855. package/admin/plugins/fieldRenderers/ref/simple/components/useContentModels.d.ts +1 -1
  856. package/admin/plugins/fieldRenderers/ref/simple/components/useContentModels.js +1 -1
  857. package/admin/plugins/fieldRenderers/ref/simple/components/useContentModels.js.map +1 -1
  858. package/admin/plugins/fieldRenderers/ref/simple/components/useReferences.d.ts +2 -2
  859. package/admin/plugins/fieldRenderers/ref/simple/components/useReferences.js +2 -2
  860. package/admin/plugins/fieldRenderers/ref/simple/components/useReferences.js.map +1 -1
  861. package/admin/plugins/fieldRenderers/ref/simple/index.d.ts +1 -1
  862. package/admin/plugins/fieldRenderers/ref/simple/index.js +2 -2
  863. package/admin/plugins/fieldRenderers/ref/simple/index.js.map +1 -1
  864. package/admin/plugins/fieldRenderers/ref/simple/simpleMultipleRenderer.d.ts +1 -1
  865. package/admin/plugins/fieldRenderers/ref/simple/simpleMultipleRenderer.js +5 -5
  866. package/admin/plugins/fieldRenderers/ref/simple/simpleMultipleRenderer.js.map +1 -1
  867. package/admin/plugins/fieldRenderers/ref/simple/simpleSingleRenderer.d.ts +1 -1
  868. package/admin/plugins/fieldRenderers/ref/simple/simpleSingleRenderer.js +5 -5
  869. package/admin/plugins/fieldRenderers/ref/simple/simpleSingleRenderer.js.map +1 -1
  870. package/admin/plugins/fieldRenderers/select.d.ts +1 -1
  871. package/admin/plugins/fieldRenderers/select.js +8 -6
  872. package/admin/plugins/fieldRenderers/select.js.map +1 -1
  873. package/admin/plugins/fieldRenderers/text/index.d.ts +1 -1
  874. package/admin/plugins/fieldRenderers/text/index.js +3 -3
  875. package/admin/plugins/fieldRenderers/text/index.js.map +1 -1
  876. package/admin/plugins/fieldRenderers/text/tags.d.ts +1 -1
  877. package/admin/plugins/fieldRenderers/text/tags.js +6 -4
  878. package/admin/plugins/fieldRenderers/text/tags.js.map +1 -1
  879. package/admin/plugins/fieldRenderers/text/textInput.d.ts +1 -1
  880. package/admin/plugins/fieldRenderers/text/textInput.js +8 -6
  881. package/admin/plugins/fieldRenderers/text/textInput.js.map +1 -1
  882. package/admin/plugins/fieldRenderers/text/textInputs.d.ts +1 -1
  883. package/admin/plugins/fieldRenderers/text/textInputs.js +7 -7
  884. package/admin/plugins/fieldRenderers/text/textInputs.js.map +1 -1
  885. package/admin/plugins/fieldRenderers/ui/alert.d.ts +2 -0
  886. package/admin/plugins/fieldRenderers/ui/alert.js +32 -0
  887. package/admin/plugins/fieldRenderers/ui/alert.js.map +1 -0
  888. package/admin/plugins/fieldRenderers/ui/index.d.ts +2 -0
  889. package/admin/plugins/fieldRenderers/ui/index.js +4 -0
  890. package/admin/plugins/fieldRenderers/ui/index.js.map +1 -0
  891. package/admin/plugins/fieldRenderers/ui/separator.d.ts +2 -0
  892. package/admin/plugins/fieldRenderers/ui/separator.js +31 -0
  893. package/admin/plugins/fieldRenderers/ui/separator.js.map +1 -0
  894. package/admin/plugins/fieldValidators/date/createDateInputField.d.ts +1 -1
  895. package/admin/plugins/fieldValidators/date/createDateInputField.js +4 -4
  896. package/admin/plugins/fieldValidators/date/createDateInputField.js.map +1 -1
  897. package/admin/plugins/fieldValidators/dateGte.d.ts +1 -1
  898. package/admin/plugins/fieldValidators/dateGte.js +5 -5
  899. package/admin/plugins/fieldValidators/dateGte.js.map +1 -1
  900. package/admin/plugins/fieldValidators/dateLte.d.ts +1 -1
  901. package/admin/plugins/fieldValidators/dateLte.js +5 -5
  902. package/admin/plugins/fieldValidators/dateLte.js.map +1 -1
  903. package/admin/plugins/fieldValidators/dynamicZone.d.ts +1 -1
  904. package/admin/plugins/fieldValidators/dynamicZone.js +10 -9
  905. package/admin/plugins/fieldValidators/dynamicZone.js.map +1 -1
  906. package/admin/plugins/fieldValidators/gte.d.ts +1 -1
  907. package/admin/plugins/fieldValidators/gte.js +2 -2
  908. package/admin/plugins/fieldValidators/gte.js.map +1 -1
  909. package/admin/plugins/fieldValidators/in.d.ts +1 -1
  910. package/admin/plugins/fieldValidators/in.js +2 -2
  911. package/admin/plugins/fieldValidators/in.js.map +1 -1
  912. package/admin/plugins/fieldValidators/lte.d.ts +1 -1
  913. package/admin/plugins/fieldValidators/lte.js +2 -2
  914. package/admin/plugins/fieldValidators/lte.js.map +1 -1
  915. package/admin/plugins/fieldValidators/maxLength.d.ts +1 -1
  916. package/admin/plugins/fieldValidators/maxLength.js +4 -4
  917. package/admin/plugins/fieldValidators/maxLength.js.map +1 -1
  918. package/admin/plugins/fieldValidators/minLength.d.ts +1 -1
  919. package/admin/plugins/fieldValidators/minLength.js +2 -2
  920. package/admin/plugins/fieldValidators/minLength.js.map +1 -1
  921. package/admin/plugins/fieldValidators/pattern.d.ts +1 -1
  922. package/admin/plugins/fieldValidators/pattern.js.map +1 -1
  923. package/admin/plugins/fieldValidators/patternPlugins/email.d.ts +1 -1
  924. package/admin/plugins/fieldValidators/patternPlugins/email.js.map +1 -1
  925. package/admin/plugins/fieldValidators/patternPlugins/lowerCase.d.ts +1 -1
  926. package/admin/plugins/fieldValidators/patternPlugins/lowerCase.js.map +1 -1
  927. package/admin/plugins/fieldValidators/patternPlugins/lowerCaseSpace.d.ts +1 -1
  928. package/admin/plugins/fieldValidators/patternPlugins/lowerCaseSpace.js.map +1 -1
  929. package/admin/plugins/fieldValidators/patternPlugins/upperCase.d.ts +1 -1
  930. package/admin/plugins/fieldValidators/patternPlugins/upperCase.js.map +1 -1
  931. package/admin/plugins/fieldValidators/patternPlugins/upperCaseSpace.d.ts +1 -1
  932. package/admin/plugins/fieldValidators/patternPlugins/upperCaseSpace.js.map +1 -1
  933. package/admin/plugins/fieldValidators/patternPlugins/url.d.ts +1 -1
  934. package/admin/plugins/fieldValidators/patternPlugins/url.js.map +1 -1
  935. package/admin/plugins/fieldValidators/required.d.ts +1 -1
  936. package/admin/plugins/fieldValidators/required.js.map +1 -1
  937. package/admin/plugins/fieldValidators/unique.d.ts +1 -1
  938. package/admin/plugins/fieldValidators/unique.js.map +1 -1
  939. package/admin/plugins/fields/PredefinedValuesDynamicFieldset.d.ts +1 -1
  940. package/admin/plugins/fields/PredefinedValuesDynamicFieldset.js +8 -8
  941. package/admin/plugins/fields/PredefinedValuesDynamicFieldset.js.map +1 -1
  942. package/admin/plugins/fields/boolean.d.ts +1 -1
  943. package/admin/plugins/fields/boolean.js +3 -3
  944. package/admin/plugins/fields/boolean.js.map +1 -1
  945. package/admin/plugins/fields/dateTime.d.ts +1 -1
  946. package/admin/plugins/fields/dateTime.js +3 -15
  947. package/admin/plugins/fields/dateTime.js.map +1 -1
  948. package/admin/plugins/fields/dynamicZone/AddTemplate.d.ts +1 -1
  949. package/admin/plugins/fields/dynamicZone/AddTemplate.js +6 -6
  950. package/admin/plugins/fields/dynamicZone/AddTemplate.js.map +1 -1
  951. package/admin/plugins/fields/dynamicZone/DynamicZone.js +4 -4
  952. package/admin/plugins/fields/dynamicZone/DynamicZone.js.map +1 -1
  953. package/admin/plugins/fields/dynamicZone/DynamicZoneTemplate.d.ts +1 -1
  954. package/admin/plugins/fields/dynamicZone/DynamicZoneTemplate.js +6 -5
  955. package/admin/plugins/fields/dynamicZone/DynamicZoneTemplate.js.map +1 -1
  956. package/admin/plugins/fields/dynamicZone/TemplateDialog.d.ts +1 -1
  957. package/admin/plugins/fields/dynamicZone/TemplateDialog.js +3 -3
  958. package/admin/plugins/fields/dynamicZone/TemplateDialog.js.map +1 -1
  959. package/admin/plugins/fields/dynamicZone/commonValidators.d.ts +1 -1
  960. package/admin/plugins/fields/dynamicZone/commonValidators.js.map +1 -1
  961. package/admin/plugins/fields/dynamicZone.d.ts +1 -1
  962. package/admin/plugins/fields/dynamicZone.js +7 -7
  963. package/admin/plugins/fields/dynamicZone.js.map +1 -1
  964. package/admin/plugins/fields/json.d.ts +1 -1
  965. package/admin/plugins/fields/json.js +3 -3
  966. package/admin/plugins/fields/json.js.map +1 -1
  967. package/admin/plugins/fields/longText.d.ts +1 -1
  968. package/admin/plugins/fields/longText.js +8 -10
  969. package/admin/plugins/fields/longText.js.map +1 -1
  970. package/admin/plugins/fields/number.d.ts +1 -1
  971. package/admin/plugins/fields/number.js +9 -11
  972. package/admin/plugins/fields/number.js.map +1 -1
  973. package/admin/plugins/fields/object/ObjectFields.d.ts +1 -1
  974. package/admin/plugins/fields/object/ObjectFields.js +1 -1
  975. package/admin/plugins/fields/object/ObjectFields.js.map +1 -1
  976. package/admin/plugins/fields/object.d.ts +1 -1
  977. package/admin/plugins/fields/object.js +6 -6
  978. package/admin/plugins/fields/object.js.map +1 -1
  979. package/admin/plugins/fields/ref/graphql.d.ts +1 -1
  980. package/admin/plugins/fields/ref/graphql.js.map +1 -1
  981. package/admin/plugins/fields/ref/renderInfo.d.ts +1 -1
  982. package/admin/plugins/fields/ref/renderInfo.js +3 -3
  983. package/admin/plugins/fields/ref/renderInfo.js.map +1 -1
  984. package/admin/plugins/fields/ref.d.ts +1 -1
  985. package/admin/plugins/fields/ref.js +10 -19
  986. package/admin/plugins/fields/ref.js.map +1 -1
  987. package/admin/plugins/fields/richText.d.ts +1 -1
  988. package/admin/plugins/fields/richText.js +8 -10
  989. package/admin/plugins/fields/richText.js.map +1 -1
  990. package/admin/plugins/fields/searchableJson.d.ts +1 -1
  991. package/admin/plugins/fields/searchableJson.js +3 -3
  992. package/admin/plugins/fields/searchableJson.js.map +1 -1
  993. package/admin/plugins/fields/text.d.ts +1 -1
  994. package/admin/plugins/fields/text.js +9 -11
  995. package/admin/plugins/fields/text.js.map +1 -1
  996. package/admin/plugins/fields/ui/alert.d.ts +2 -0
  997. package/admin/plugins/fields/ui/alert.js +33 -0
  998. package/admin/plugins/fields/ui/alert.js.map +1 -0
  999. package/admin/plugins/fields/ui/index.d.ts +2 -0
  1000. package/admin/plugins/fields/ui/index.js +4 -0
  1001. package/admin/plugins/fields/ui/index.js.map +1 -0
  1002. package/admin/plugins/fields/ui/separator.d.ts +2 -0
  1003. package/admin/plugins/fields/ui/separator.js +33 -0
  1004. package/admin/plugins/fields/ui/separator.js.map +1 -0
  1005. package/admin/plugins/icons.d.ts +1 -1
  1006. package/admin/plugins/icons.js.map +1 -1
  1007. package/admin/plugins/index.d.ts +16 -15
  1008. package/admin/plugins/index.js +6 -9
  1009. package/admin/plugins/index.js.map +1 -1
  1010. package/admin/plugins/permissionRenderer/CmsPermissions.d.ts +1 -10
  1011. package/admin/plugins/permissionRenderer/CmsPermissions.js +20 -45
  1012. package/admin/plugins/permissionRenderer/CmsPermissions.js.map +1 -1
  1013. package/admin/plugins/permissionRenderer/components/ContentEntryPermission.d.ts +2 -3
  1014. package/admin/plugins/permissionRenderer/components/ContentEntryPermission.js +3 -3
  1015. package/admin/plugins/permissionRenderer/components/ContentEntryPermission.js.map +1 -1
  1016. package/admin/plugins/permissionRenderer/components/ContentModelGroupPermission.d.ts +3 -5
  1017. package/admin/plugins/permissionRenderer/components/ContentModelGroupPermission.js +23 -19
  1018. package/admin/plugins/permissionRenderer/components/ContentModelGroupPermission.js.map +1 -1
  1019. package/admin/plugins/permissionRenderer/components/ContentModelList.d.ts +2 -3
  1020. package/admin/plugins/permissionRenderer/components/ContentModelList.js +5 -8
  1021. package/admin/plugins/permissionRenderer/components/ContentModelList.js.map +1 -1
  1022. package/admin/plugins/permissionRenderer/components/ContentModelPermission.d.ts +4 -6
  1023. package/admin/plugins/permissionRenderer/components/ContentModelPermission.js +23 -23
  1024. package/admin/plugins/permissionRenderer/components/ContentModelPermission.js.map +1 -1
  1025. package/admin/plugins/permissionRenderer/components/useCmsData.d.ts +5 -7
  1026. package/admin/plugins/permissionRenderer/components/useCmsData.js +16 -47
  1027. package/admin/plugins/permissionRenderer/components/useCmsData.js.map +1 -1
  1028. package/admin/plugins/permissionRenderer/index.d.ts +2 -3
  1029. package/admin/plugins/permissionRenderer/index.js +12 -18
  1030. package/admin/plugins/permissionRenderer/index.js.map +1 -1
  1031. package/admin/plugins/transformers/dateTransformer.d.ts +1 -1
  1032. package/admin/plugins/transformers/dateTransformer.js +1 -1
  1033. package/admin/plugins/transformers/dateTransformer.js.map +1 -1
  1034. package/admin/plugins/transformers/dynamicZoneTransformer.d.ts +1 -1
  1035. package/admin/plugins/transformers/dynamicZoneTransformer.js.map +1 -1
  1036. package/admin/plugins/transformers/index.d.ts +1 -1
  1037. package/admin/plugins/transformers/index.js +4 -4
  1038. package/admin/plugins/transformers/index.js.map +1 -1
  1039. package/admin/plugins/transformers/numberTransformer.d.ts +1 -1
  1040. package/admin/plugins/transformers/numberTransformer.js.map +1 -1
  1041. package/admin/plugins/transformers/objectTransformer.d.ts +1 -1
  1042. package/admin/plugins/transformers/objectTransformer.js.map +1 -1
  1043. package/admin/views/contentEntries/ContentEntries.js +6 -8
  1044. package/admin/views/contentEntries/ContentEntries.js.map +1 -1
  1045. package/admin/views/contentEntries/ContentEntriesContainer.js +16 -14
  1046. package/admin/views/contentEntries/ContentEntriesContainer.js.map +1 -1
  1047. package/admin/views/contentEntries/ContentEntriesContext.d.ts +1 -1
  1048. package/admin/views/contentEntries/ContentEntriesContext.js +1 -1
  1049. package/admin/views/contentEntries/ContentEntriesContext.js.map +1 -1
  1050. package/admin/views/contentEntries/ContentEntriesModule.js +34 -34
  1051. package/admin/views/contentEntries/ContentEntriesModule.js.map +1 -1
  1052. package/admin/views/contentEntries/ContentEntry/ContentEntryContext.d.ts +5 -5
  1053. package/admin/views/contentEntries/ContentEntry/ContentEntryContext.js +15 -14
  1054. package/admin/views/contentEntries/ContentEntry/ContentEntryContext.js.map +1 -1
  1055. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntry.d.ts +1 -1
  1056. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntry.js +11 -14
  1057. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntry.js.map +1 -1
  1058. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntry.styled.d.ts +2 -2
  1059. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntry.styled.js +5 -6
  1060. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntry.styled.js.map +1 -1
  1061. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntryHeaderLeft.js +6 -5
  1062. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntryHeaderLeft.js.map +1 -1
  1063. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/RevisionListDrawer/RevisionListDrawer.d.ts +1 -1
  1064. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/RevisionListDrawer/RevisionListDrawer.js +2 -6
  1065. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/RevisionListDrawer/RevisionListDrawer.js.map +1 -1
  1066. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/RevisionListDrawer/index.d.ts +1 -1
  1067. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/RevisionListDrawer/index.js +1 -1
  1068. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/RevisionListDrawer/index.js.map +1 -1
  1069. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/index.d.ts +1 -1
  1070. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/index.js +1 -1
  1071. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/index.js.map +1 -1
  1072. package/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/useFullScreenContentEntry.d.ts +2 -3
  1073. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionListItem.d.ts +1 -1
  1074. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionListItem.js +7 -7
  1075. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionListItem.js.map +1 -1
  1076. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionsList.js +5 -5
  1077. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionsList.js.map +1 -1
  1078. package/admin/views/contentEntries/ContentEntry/RevisionsList/useRevision.d.ts +2 -2
  1079. package/admin/views/contentEntries/ContentEntry/RevisionsList/useRevision.js +41 -21
  1080. package/admin/views/contentEntries/ContentEntry/RevisionsList/useRevision.js.map +1 -1
  1081. package/admin/views/contentEntries/ContentEntry/SingletonContentEntry.js +6 -7
  1082. package/admin/views/contentEntries/ContentEntry/SingletonContentEntry.js.map +1 -1
  1083. package/admin/views/contentEntries/ContentEntry/SingletonContentEntryContext.d.ts +2 -2
  1084. package/admin/views/contentEntries/ContentEntry/SingletonContentEntryContext.js +2 -2
  1085. package/admin/views/contentEntries/ContentEntry/SingletonContentEntryContext.js.map +1 -1
  1086. package/admin/views/contentEntries/ContentEntry/useMockRecords.d.ts +2 -14
  1087. package/admin/views/contentEntries/ContentEntry.d.ts +1 -1
  1088. package/admin/views/contentEntries/ContentEntry.js +12 -10
  1089. package/admin/views/contentEntries/ContentEntry.js.map +1 -1
  1090. package/admin/views/contentEntries/SingletonContentEntryModule.js +5 -5
  1091. package/admin/views/contentEntries/SingletonContentEntryModule.js.map +1 -1
  1092. package/admin/views/contentEntries/Table/Main.js +23 -18
  1093. package/admin/views/contentEntries/Table/Main.js.map +1 -1
  1094. package/admin/views/contentEntries/Table/Sidebar.js +4 -4
  1095. package/admin/views/contentEntries/Table/Sidebar.js.map +1 -1
  1096. package/admin/views/contentEntries/Table/index.js +31 -40
  1097. package/admin/views/contentEntries/Table/index.js.map +1 -1
  1098. package/admin/views/contentEntries/ValidationIndicators.js +58 -38
  1099. package/admin/views/contentEntries/ValidationIndicators.js.map +1 -1
  1100. package/admin/views/contentEntries/hooks/index.d.ts +4 -4
  1101. package/admin/views/contentEntries/hooks/index.js +4 -4
  1102. package/admin/views/contentEntries/hooks/index.js.map +1 -1
  1103. package/admin/views/contentEntries/hooks/useContentEntries.d.ts +1 -1
  1104. package/admin/views/contentEntries/hooks/useContentEntries.js +1 -1
  1105. package/admin/views/contentEntries/hooks/useContentEntries.js.map +1 -1
  1106. package/admin/views/contentEntries/hooks/useContentEntriesList.d.ts +8 -8
  1107. package/admin/views/contentEntries/hooks/useContentEntriesList.js +64 -41
  1108. package/admin/views/contentEntries/hooks/useContentEntriesList.js.map +1 -1
  1109. package/admin/views/contentEntries/hooks/useContentEntry.d.ts +2 -3
  1110. package/admin/views/contentEntries/hooks/useContentEntry.js +1 -1
  1111. package/admin/views/contentEntries/hooks/useContentEntry.js.map +1 -1
  1112. package/admin/views/contentEntries/hooks/useMoveContentEntryToFolder.d.ts +1 -1
  1113. package/admin/views/contentEntries/hooks/useMoveContentEntryToFolder.js +1 -1
  1114. package/admin/views/contentEntries/hooks/useMoveContentEntryToFolder.js.map +1 -1
  1115. package/admin/views/contentEntries/hooks/useSingletonContentEntry.d.ts +2 -3
  1116. package/admin/views/contentEntries/hooks/useSingletonContentEntry.js +1 -1
  1117. package/admin/views/contentEntries/hooks/useSingletonContentEntry.js.map +1 -1
  1118. package/admin/views/contentModelGroups/ContentModelGroups.js +5 -5
  1119. package/admin/views/contentModelGroups/ContentModelGroups.js.map +1 -1
  1120. package/admin/views/contentModelGroups/ContentModelGroupsDataList.js +24 -18
  1121. package/admin/views/contentModelGroups/ContentModelGroupsDataList.js.map +1 -1
  1122. package/admin/views/contentModelGroups/ContentModelGroupsForm.js +76 -46
  1123. package/admin/views/contentModelGroups/ContentModelGroupsForm.js.map +1 -1
  1124. package/admin/views/contentModelGroups/graphql.d.ts +1 -1
  1125. package/admin/views/contentModelGroups/graphql.js.map +1 -1
  1126. package/admin/views/contentModels/CloneContentModelDialog.d.ts +2 -2
  1127. package/admin/views/contentModels/CloneContentModelDialog.js +37 -66
  1128. package/admin/views/contentModels/CloneContentModelDialog.js.map +1 -1
  1129. package/admin/views/contentModels/ContentModelEditor.d.ts +1 -1
  1130. package/admin/views/contentModels/ContentModelEditor.js +8 -10
  1131. package/admin/views/contentModels/ContentModelEditor.js.map +1 -1
  1132. package/admin/views/contentModels/ContentModels.js +11 -11
  1133. package/admin/views/contentModels/ContentModels.js.map +1 -1
  1134. package/admin/views/contentModels/ContentModelsDataList.d.ts +1 -1
  1135. package/admin/views/contentModels/ContentModelsDataList.js +33 -26
  1136. package/admin/views/contentModels/ContentModelsDataList.js.map +1 -1
  1137. package/admin/views/contentModels/NewContentModelDialog.d.ts +2 -2
  1138. package/admin/views/contentModels/NewContentModelDialog.js +51 -48
  1139. package/admin/views/contentModels/NewContentModelDialog.js.map +1 -1
  1140. package/admin/views/contentModels/OptionsMenu.js +4 -5
  1141. package/admin/views/contentModels/OptionsMenu.js.map +1 -1
  1142. package/admin/views/contentModels/cache.d.ts +1 -1
  1143. package/admin/views/contentModels/cache.js +4 -4
  1144. package/admin/views/contentModels/cache.js.map +1 -1
  1145. package/admin/views/contentModels/exporting/download.d.ts +1 -1
  1146. package/admin/views/contentModels/exporting/download.js.map +1 -1
  1147. package/admin/views/contentModels/exporting/runExport.d.ts +1 -1
  1148. package/admin/views/contentModels/exporting/runExport.js +1 -1
  1149. package/admin/views/contentModels/exporting/runExport.js.map +1 -1
  1150. package/admin/views/contentModels/exporting/useModelExport.d.ts +1 -1
  1151. package/admin/views/contentModels/exporting/useModelExport.js +3 -3
  1152. package/admin/views/contentModels/exporting/useModelExport.js.map +1 -1
  1153. package/admin/views/contentModels/fullDelete/FullyDeleteModelDialog.d.ts +1 -1
  1154. package/admin/views/contentModels/fullDelete/FullyDeleteModelDialog.js +9 -9
  1155. package/admin/views/contentModels/fullDelete/FullyDeleteModelDialog.js.map +1 -1
  1156. package/admin/views/contentModels/fullDelete/ModelIsBeingDeleted.d.ts +1 -1
  1157. package/admin/views/contentModels/fullDelete/ModelIsBeingDeleted.js +4 -4
  1158. package/admin/views/contentModels/fullDelete/ModelIsBeingDeleted.js.map +1 -1
  1159. package/admin/views/contentModels/fullDelete/dialog/Confirmation.d.ts +1 -1
  1160. package/admin/views/contentModels/fullDelete/dialog/Confirmation.js +5 -5
  1161. package/admin/views/contentModels/fullDelete/dialog/Confirmation.js.map +1 -1
  1162. package/admin/views/contentModels/fullDelete/dialog/Content.d.ts +2 -2
  1163. package/admin/views/contentModels/fullDelete/dialog/Content.js +5 -5
  1164. package/admin/views/contentModels/fullDelete/dialog/Content.js.map +1 -1
  1165. package/admin/views/contentModels/fullDelete/dialog/Information.d.ts +1 -1
  1166. package/admin/views/contentModels/fullDelete/dialog/Information.js +2 -2
  1167. package/admin/views/contentModels/fullDelete/dialog/Information.js.map +1 -1
  1168. package/admin/views/contentModels/fullDelete/dialog/Processed.d.ts +1 -1
  1169. package/admin/views/contentModels/fullDelete/dialog/Processed.js.map +1 -1
  1170. package/admin/views/contentModels/fullDelete/dialog/process.d.ts +2 -2
  1171. package/admin/views/contentModels/fullDelete/dialog/process.js +1 -1
  1172. package/admin/views/contentModels/fullDelete/dialog/process.js.map +1 -1
  1173. package/admin/views/contentModels/fullDelete/dialog/state.d.ts +3 -3
  1174. package/admin/views/contentModels/fullDelete/dialog/state.js +1 -1
  1175. package/admin/views/contentModels/fullDelete/dialog/state.js.map +1 -1
  1176. package/admin/views/contentModels/fullDelete/dialog/validationValue.d.ts +1 -1
  1177. package/admin/views/contentModels/fullDelete/dialog/validationValue.js.map +1 -1
  1178. package/admin/views/contentModels/fullDelete/types.d.ts +2 -2
  1179. package/admin/views/contentModels/fullDelete/types.js.map +1 -1
  1180. package/admin/views/contentModels/fullDelete/useCancelDelete.d.ts +1 -1
  1181. package/admin/views/contentModels/fullDelete/useCancelDelete.js +4 -4
  1182. package/admin/views/contentModels/fullDelete/useCancelDelete.js.map +1 -1
  1183. package/admin/views/contentModels/helpers/apiNameValidator.d.ts +1 -1
  1184. package/admin/views/contentModels/helpers/apiNameValidator.js +2 -2
  1185. package/admin/views/contentModels/helpers/apiNameValidator.js.map +1 -1
  1186. package/admin/views/contentModels/helpers/nameValidator.d.ts +1 -1
  1187. package/admin/views/contentModels/helpers/nameValidator.js +1 -1
  1188. package/admin/views/contentModels/helpers/nameValidator.js.map +1 -1
  1189. package/admin/views/contentModels/importing/ImportContentModelsDialog.js +10 -10
  1190. package/admin/views/contentModels/importing/ImportContentModelsDialog.js.map +1 -1
  1191. package/admin/views/contentModels/importing/ImportContext.d.ts +2 -2
  1192. package/admin/views/contentModels/importing/ImportContext.js +8 -6
  1193. package/admin/views/contentModels/importing/ImportContext.js.map +1 -1
  1194. package/admin/views/contentModels/importing/components/DataList.js +3 -3
  1195. package/admin/views/contentModels/importing/components/DataList.js.map +1 -1
  1196. package/admin/views/contentModels/importing/components/DataListGroup.d.ts +1 -1
  1197. package/admin/views/contentModels/importing/components/DataListGroup.js +3 -5
  1198. package/admin/views/contentModels/importing/components/DataListGroup.js.map +1 -1
  1199. package/admin/views/contentModels/importing/components/Errors.js +1 -2
  1200. package/admin/views/contentModels/importing/components/Errors.js.map +1 -1
  1201. package/admin/views/contentModels/importing/components/FileUpload.js +5 -33
  1202. package/admin/views/contentModels/importing/components/FileUpload.js.map +1 -1
  1203. package/admin/views/contentModels/importing/components/ImportButton.js +4 -3
  1204. package/admin/views/contentModels/importing/components/ImportButton.js.map +1 -1
  1205. package/admin/views/contentModels/importing/components/Model/DataListInstructions.js +1 -2
  1206. package/admin/views/contentModels/importing/components/Model/DataListInstructions.js.map +1 -1
  1207. package/admin/views/contentModels/importing/components/Model/DataListModelItem.d.ts +2 -2
  1208. package/admin/views/contentModels/importing/components/Model/DataListModelItem.js +12 -17
  1209. package/admin/views/contentModels/importing/components/Model/DataListModelItem.js.map +1 -1
  1210. package/admin/views/contentModels/importing/components/Model/DataListModelItemError.d.ts +1 -1
  1211. package/admin/views/contentModels/importing/components/Model/DataListModelItemError.js +3 -6
  1212. package/admin/views/contentModels/importing/components/Model/DataListModelItemError.js.map +1 -1
  1213. package/admin/views/contentModels/importing/components/Model/DataListModelItemInfo.d.ts +1 -1
  1214. package/admin/views/contentModels/importing/components/Model/DataListModelItemInfo.js +1 -2
  1215. package/admin/views/contentModels/importing/components/Model/DataListModelItemInfo.js.map +1 -1
  1216. package/admin/views/contentModels/importing/components/Model/DataListModels.d.ts +1 -1
  1217. package/admin/views/contentModels/importing/components/Model/DataListModels.js +3 -4
  1218. package/admin/views/contentModels/importing/components/Model/DataListModels.js.map +1 -1
  1219. package/admin/views/contentModels/importing/components/Model/index.d.ts +1 -1
  1220. package/admin/views/contentModels/importing/components/Model/index.js +1 -1
  1221. package/admin/views/contentModels/importing/components/Model/index.js.map +1 -1
  1222. package/admin/views/contentModels/importing/graphql.d.ts +3 -2
  1223. package/admin/views/contentModels/importing/graphql.js +1 -0
  1224. package/admin/views/contentModels/importing/graphql.js.map +1 -1
  1225. package/admin/views/contentModels/importing/types.d.ts +3 -1
  1226. package/admin/views/contentModels/importing/types.js.map +1 -1
  1227. package/admin/views/contentModels/importing/useImport.d.ts +1 -1
  1228. package/admin/views/contentModels/importing/useImport.js +1 -1
  1229. package/admin/views/contentModels/importing/useImport.js.map +1 -1
  1230. package/admin/viewsGraphql.d.ts +1 -1
  1231. package/admin/viewsGraphql.js +2 -4
  1232. package/admin/viewsGraphql.js.map +1 -1
  1233. package/allPlugins.d.ts +16 -15
  1234. package/allPlugins.js +46 -45
  1235. package/allPlugins.js.map +1 -1
  1236. package/exports/admin/cms/entry/editor.d.ts +11 -0
  1237. package/exports/admin/cms/entry/editor.js +14 -0
  1238. package/exports/admin/cms/entry/editor.js.map +1 -0
  1239. package/exports/admin/cms/entry/list.d.ts +2 -0
  1240. package/exports/admin/cms/entry/list.js +4 -0
  1241. package/exports/admin/cms/entry/list.js.map +1 -0
  1242. package/exports/admin/cms/fieldRenderers/dynamicZone.d.ts +7 -0
  1243. package/exports/admin/cms/fieldRenderers/dynamicZone.js +9 -0
  1244. package/exports/admin/cms/fieldRenderers/dynamicZone.js.map +1 -0
  1245. package/exports/admin/cms/fieldRenderers/object.d.ts +1 -0
  1246. package/exports/admin/cms/fieldRenderers/object.js +3 -0
  1247. package/exports/admin/cms/fieldRenderers/object.js.map +1 -0
  1248. package/exports/admin/cms/lexical.d.ts +16 -0
  1249. package/exports/admin/cms/lexical.js +19 -0
  1250. package/exports/admin/cms/lexical.js.map +1 -0
  1251. package/exports/admin/cms.d.ts +7 -0
  1252. package/exports/admin/cms.js +9 -0
  1253. package/exports/admin/cms.js.map +1 -0
  1254. package/index.d.ts +17 -39
  1255. package/index.js +16 -32
  1256. package/index.js.map +1 -1
  1257. package/package.json +36 -46
  1258. package/plugins/CmsContentFormRendererPlugin.d.ts +1 -2
  1259. package/plugins/CmsContentFormRendererPlugin.js +1 -1
  1260. package/plugins/CmsContentFormRendererPlugin.js.map +1 -1
  1261. package/plugins/index.d.ts +1 -1
  1262. package/plugins/index.js +1 -1
  1263. package/plugins/index.js.map +1 -1
  1264. package/routes.d.ts +24 -0
  1265. package/routes.js +47 -0
  1266. package/routes.js.map +1 -0
  1267. package/types.d.ts +2 -2
  1268. package/types.js +0 -5
  1269. package/types.js.map +1 -1
  1270. package/utils/CmsModelFieldValidatorConfigAdapter.d.ts +2 -2
  1271. package/utils/CmsModelFieldValidatorConfigAdapter.js.map +1 -1
  1272. package/utils/createTypeName.js +2 -2
  1273. package/utils/createTypeName.js.map +1 -1
  1274. package/utils/getFetchPolicy.d.ts +1 -1
  1275. package/utils/getFetchPolicy.js.map +1 -1
  1276. package/utils/getModelTitleFieldId.d.ts +1 -1
  1277. package/utils/getModelTitleFieldId.js.map +1 -1
  1278. package/utils/normalizeIcon.d.ts +3 -0
  1279. package/utils/normalizeIcon.js +10 -0
  1280. package/utils/normalizeIcon.js.map +1 -0
  1281. package/admin/elements/ContentGroupMenuElement.d.ts +0 -3
  1282. package/admin/elements/ContentGroupMenuElement.js +0 -5
  1283. package/admin/elements/ContentGroupMenuElement.js.map +0 -1
  1284. package/admin/elements/ContentModelMenuElement.d.ts +0 -3
  1285. package/admin/elements/ContentModelMenuElement.js +0 -5
  1286. package/admin/elements/ContentModelMenuElement.js.map +0 -1
  1287. package/admin/elements/NothingToShowElement.d.ts +0 -16
  1288. package/admin/elements/NothingToShowElement.js +0 -62
  1289. package/admin/elements/NothingToShowElement.js.map +0 -1
  1290. package/admin/hooks/useQueryLocale.d.ts +0 -4
  1291. package/admin/hooks/useQueryLocale.js +0 -15
  1292. package/admin/hooks/useQueryLocale.js.map +0 -1
  1293. package/admin/plugins/fieldRenderers/Accordion.d.ts +0 -12
  1294. package/admin/plugins/fieldRenderers/Accordion.js +0 -99
  1295. package/admin/plugins/fieldRenderers/Accordion.js.map +0 -1
  1296. package/admin/plugins/fieldRenderers/object/multipleObjects.d.ts +0 -3
  1297. package/admin/plugins/fieldRenderers/object/multipleObjects.js +0 -38
  1298. package/admin/plugins/fieldRenderers/object/multipleObjects.js.map +0 -1
  1299. package/admin/plugins/fieldRenderers/object/singleObjectInline.d.ts +0 -3
  1300. package/admin/plugins/fieldRenderers/object/singleObjectInline.js +0 -58
  1301. package/admin/plugins/fieldRenderers/object/singleObjectInline.js.map +0 -1
  1302. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Excerpt.d.ts +0 -10
  1303. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Excerpt.js +0 -18
  1304. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Excerpt.js.map +0 -1
  1305. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveDown.d.ts +0 -7
  1306. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveDown.js +0 -22
  1307. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveDown.js.map +0 -1
  1308. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveUp.d.ts +0 -7
  1309. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveUp.js +0 -22
  1310. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveUp.js.map +0 -1
  1311. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Remove.d.ts +0 -8
  1312. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Remove.js +0 -36
  1313. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Remove.js.map +0 -1
  1314. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Title.d.ts +0 -6
  1315. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Title.js +0 -13
  1316. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Title.js.map +0 -1
  1317. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/View.d.ts +0 -7
  1318. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/View.js +0 -27
  1319. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/View.js.map +0 -1
  1320. package/admin/plugins/fieldRenderers/richText/index.d.ts +0 -1
  1321. package/admin/plugins/fieldRenderers/richText/index.js +0 -7
  1322. package/admin/plugins/fieldRenderers/richText/index.js.map +0 -1
  1323. package/admin/plugins/fieldRenderers/richText/richTextInput.d.ts +0 -3
  1324. package/admin/plugins/fieldRenderers/richText/richTextInput.js +0 -67
  1325. package/admin/plugins/fieldRenderers/richText/richTextInput.js.map +0 -1
  1326. package/admin/plugins/fieldRenderers/richText/richTextInputs.d.ts +0 -3
  1327. package/admin/plugins/fieldRenderers/richText/richTextInputs.js +0 -101
  1328. package/admin/plugins/fieldRenderers/richText/richTextInputs.js.map +0 -1
  1329. package/admin/plugins/fieldRenderers/richText/utils.d.ts +0 -4
  1330. package/admin/plugins/fieldRenderers/richText/utils.js +0 -11
  1331. package/admin/plugins/fieldRenderers/richText/utils.js.map +0 -1
  1332. package/admin/plugins/install.d.ts +0 -25
  1333. package/admin/plugins/install.js +0 -113
  1334. package/admin/plugins/install.js.map +0 -1
  1335. package/admin/plugins/permissionRenderer/components/PermissionRendererWrapper.d.ts +0 -11
  1336. package/admin/plugins/permissionRenderer/components/PermissionRendererWrapper.js +0 -33
  1337. package/admin/plugins/permissionRenderer/components/PermissionRendererWrapper.js.map +0 -1
  1338. package/admin/plugins/permissionRenderer/components/PermissionSelector.d.ts +0 -21
  1339. package/admin/plugins/permissionRenderer/components/PermissionSelector.js +0 -65
  1340. package/admin/plugins/permissionRenderer/components/PermissionSelector.js.map +0 -1
  1341. package/admin/plugins/routes.d.ts +0 -3
  1342. package/admin/plugins/routes.js +0 -70
  1343. package/admin/plugins/routes.js.map +0 -1
  1344. package/admin/plugins/welcomeScreenWidget.d.ts +0 -3
  1345. package/admin/plugins/welcomeScreenWidget.js +0 -24
  1346. package/admin/plugins/welcomeScreenWidget.js.map +0 -1
  1347. package/admin/views/contentEntries/ContentEntriesDebounceRender.d.ts +0 -15
  1348. package/admin/views/contentEntries/ContentEntriesDebounceRender.js +0 -39
  1349. package/admin/views/contentEntries/ContentEntriesDebounceRender.js.map +0 -1
  1350. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionListDrawer.d.ts +0 -0
  1351. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionListDrawer.js +0 -3
  1352. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionListDrawer.js.map +0 -1
  1353. package/utils/allowCmsLegacyRichTextInput.d.ts +0 -1
  1354. package/utils/allowCmsLegacyRichTextInput.js +0 -6
  1355. package/utils/allowCmsLegacyRichTextInput.js.map +0 -1
  1356. package/utils/cmsLegacyEntryEditor.d.ts +0 -1
  1357. package/utils/cmsLegacyEntryEditor.js +0 -4
  1358. package/utils/cmsLegacyEntryEditor.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","useState","useDragLayer","subscribedToOffsetChange","dragPreviewRef","onOffsetChange","monitor","offset","getClientOffset","transform","x","y","style","DragPreview","dragHelperOpacity","setDragHelperOpacity","isDragging","initialMonitor","subscribeToOffsetChange","setTimeout","createElement","zIndex","className","ref","el","opacity"],"sources":["DragPreview.tsx"],"sourcesContent":["import React, { useEffect, useState } from \"react\";\nimport type { DragSourceMonitor } from \"react-dnd\";\nimport { useDragLayer } from \"react-dnd\";\nimport type { DragSourceMonitorImpl } from \"~/types\";\n\nlet subscribedToOffsetChange = false;\n\nlet dragPreviewRef: HTMLDivElement | null = null;\n\nconst onOffsetChange = (monitor: DragSourceMonitor) => () => {\n if (!dragPreviewRef) {\n return;\n }\n\n const offset = monitor.getClientOffset();\n if (!offset) {\n return;\n }\n\n const transform = `translate(${offset.x - 15}px, ${offset.y - 15}px)`;\n dragPreviewRef.style[\"transform\"] = transform;\n // TODO @ts-refactor figure out better type\n // @ts-expect-error\n dragPreviewRef.style[\"-webkit-transform\"] = transform;\n};\n\nconst DragPreview = () => {\n const [dragHelperOpacity, setDragHelperOpacity] = useState(0);\n const { isDragging } = useDragLayer(initialMonitor => {\n /**\n * We must cast because TS is complaining. We know that casting as DragSourceMonitorImpl is ok.\n */\n const monitor = initialMonitor as unknown as DragSourceMonitorImpl;\n if (!subscribedToOffsetChange) {\n monitor.subscribeToOffsetChange(onOffsetChange(monitor));\n subscribedToOffsetChange = true;\n }\n\n return {\n isDragging: monitor.isDragging()\n };\n });\n\n useEffect(() => {\n return () => {\n subscribedToOffsetChange = false;\n dragPreviewRef = null;\n };\n }, []);\n\n // We track the value of \"isDragging\" and apply opacity=1 (after 100ms), when it switches to true.\n // Without this, the drag cursor would be shown in the top-left corner for a short amount of time, and then it\n // would be repositioned correctly. Definitely looks like a glitch. This also adds a nice little fade-in effect.\n useEffect(() => {\n if (isDragging) {\n setTimeout(() => {\n setDragHelperOpacity(isDragging ? 1 : 0);\n }, 100);\n } else {\n setDragHelperOpacity(0);\n }\n }, [isDragging]);\n\n if (!isDragging) {\n return null;\n }\n\n if (!isDragging) {\n return null;\n }\n\n return (\n <div\n style={{ zIndex: 1001 }}\n className=\"wby-fixed wby-pointer-events-none wby-left-0 wby-top-0 wby-w-full wby-h-full\"\n >\n <div\n ref={el => (dragPreviewRef = el)}\n className=\"wby-transition-opacity wby-duration-250 wby-ease-in-out wby-block\"\n style={{ opacity: dragHelperOpacity }}\n >\n <div className=\"wby-size-lg wby-rounded-full wby-bg-primary-default\" />\n </div>\n </div>\n );\n};\nexport default DragPreview;\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAElD,SAASC,YAAY,QAAQ,WAAW;AAGxC,IAAIC,wBAAwB,GAAG,KAAK;AAEpC,IAAIC,cAAqC,GAAG,IAAI;AAEhD,MAAMC,cAAc,GAAIC,OAA0B,IAAK,MAAM;EACzD,IAAI,CAACF,cAAc,EAAE;IACjB;EACJ;EAEA,MAAMG,MAAM,GAAGD,OAAO,CAACE,eAAe,CAAC,CAAC;EACxC,IAAI,CAACD,MAAM,EAAE;IACT;EACJ;EAEA,MAAME,SAAS,GAAG,aAAaF,MAAM,CAACG,CAAC,GAAG,EAAE,OAAOH,MAAM,CAACI,CAAC,GAAG,EAAE,KAAK;EACrEP,cAAc,CAACQ,KAAK,CAAC,WAAW,CAAC,GAAGH,SAAS;EAC7C;EACA;EACAL,cAAc,CAACQ,KAAK,CAAC,mBAAmB,CAAC,GAAGH,SAAS;AACzD,CAAC;AAED,MAAMI,WAAW,GAAGA,CAAA,KAAM;EACtB,MAAM,CAACC,iBAAiB,EAAEC,oBAAoB,CAAC,GAAGd,QAAQ,CAAC,CAAC,CAAC;EAC7D,MAAM;IAAEe;EAAW,CAAC,GAAGd,YAAY,CAACe,cAAc,IAAI;IAClD;AACR;AACA;IACQ,MAAMX,OAAO,GAAGW,cAAkD;IAClE,IAAI,CAACd,wBAAwB,EAAE;MAC3BG,OAAO,CAACY,uBAAuB,CAACb,cAAc,CAACC,OAAO,CAAC,CAAC;MACxDH,wBAAwB,GAAG,IAAI;IACnC;IAEA,OAAO;MACHa,UAAU,EAAEV,OAAO,CAACU,UAAU,CAAC;IACnC,CAAC;EACL,CAAC,CAAC;EAEFhB,SAAS,CAAC,MAAM;IACZ,OAAO,MAAM;MACTG,wBAAwB,GAAG,KAAK;MAChCC,cAAc,GAAG,IAAI;IACzB,CAAC;EACL,CAAC,EAAE,EAAE,CAAC;;EAEN;EACA;EACA;EACAJ,SAAS,CAAC,MAAM;IACZ,IAAIgB,UAAU,EAAE;MACZG,UAAU,CAAC,MAAM;QACbJ,oBAAoB,CAACC,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC;MAC5C,CAAC,EAAE,GAAG,CAAC;IACX,CAAC,MAAM;MACHD,oBAAoB,CAAC,CAAC,CAAC;IAC3B;EACJ,CAAC,EAAE,CAACC,UAAU,CAAC,CAAC;EAEhB,IAAI,CAACA,UAAU,EAAE;IACb,OAAO,IAAI;EACf;EAEA,IAAI,CAACA,UAAU,EAAE;IACb,OAAO,IAAI;EACf;EAEA,oBACIjB,KAAA,CAAAqB,aAAA;IACIR,KAAK,EAAE;MAAES,MAAM,EAAE;IAAK,CAAE;IACxBC,SAAS,EAAC;EAA8E,gBAExFvB,KAAA,CAAAqB,aAAA;IACIG,GAAG,EAAEC,EAAE,IAAKpB,cAAc,GAAGoB,EAAI;IACjCF,SAAS,EAAC,mEAAmE;IAC7EV,KAAK,EAAE;MAAEa,OAAO,EAAEX;IAAkB;EAAE,gBAEtCf,KAAA,CAAAqB,aAAA;IAAKE,SAAS,EAAC;EAAqD,CAAE,CACrE,CACJ,CAAC;AAEd,CAAC;AACD,eAAeT,WAAW","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","useState","useDragLayer","subscribedToOffsetChange","dragPreviewRef","onOffsetChange","monitor","offset","getClientOffset","transform","x","y","style","DragPreview","dragHelperOpacity","setDragHelperOpacity","isDragging","initialMonitor","subscribeToOffsetChange","setTimeout","createElement","zIndex","className","ref","el","opacity"],"sources":["DragPreview.tsx"],"sourcesContent":["import React, { useEffect, useState } from \"react\";\nimport type { DragSourceMonitor } from \"react-dnd\";\nimport { useDragLayer } from \"react-dnd\";\nimport type { DragSourceMonitorImpl } from \"~/types.js\";\n\nlet subscribedToOffsetChange = false;\n\nlet dragPreviewRef: HTMLDivElement | null = null;\n\nconst onOffsetChange = (monitor: DragSourceMonitor) => () => {\n if (!dragPreviewRef) {\n return;\n }\n\n const offset = monitor.getClientOffset();\n if (!offset) {\n return;\n }\n\n const transform = `translate(${offset.x - 15}px, ${offset.y - 15}px)`;\n dragPreviewRef.style[\"transform\"] = transform;\n // TODO @ts-refactor figure out better type\n // @ts-expect-error\n dragPreviewRef.style[\"-webkit-transform\"] = transform;\n};\n\nconst DragPreview = () => {\n const [dragHelperOpacity, setDragHelperOpacity] = useState(0);\n const { isDragging } = useDragLayer(initialMonitor => {\n /**\n * We must cast because TS is complaining. We know that casting as DragSourceMonitorImpl is ok.\n */\n const monitor = initialMonitor as unknown as DragSourceMonitorImpl;\n if (!subscribedToOffsetChange) {\n monitor.subscribeToOffsetChange(onOffsetChange(monitor));\n subscribedToOffsetChange = true;\n }\n\n return {\n isDragging: monitor.isDragging()\n };\n });\n\n useEffect(() => {\n return () => {\n subscribedToOffsetChange = false;\n dragPreviewRef = null;\n };\n }, []);\n\n // We track the value of \"isDragging\" and apply opacity=1 (after 100ms), when it switches to true.\n // Without this, the drag cursor would be shown in the top-left corner for a short amount of time, and then it\n // would be repositioned correctly. Definitely looks like a glitch. This also adds a nice little fade-in effect.\n useEffect(() => {\n if (isDragging) {\n setTimeout(() => {\n setDragHelperOpacity(isDragging ? 1 : 0);\n }, 100);\n } else {\n setDragHelperOpacity(0);\n }\n }, [isDragging]);\n\n if (!isDragging) {\n return null;\n }\n\n if (!isDragging) {\n return null;\n }\n\n return (\n <div\n style={{ zIndex: 1001 }}\n className=\"fixed pointer-events-none left-0 top-0 w-full h-full\"\n >\n <div\n ref={el => (dragPreviewRef = el)}\n className=\"transition-opacity duration-250 ease-in-out block\"\n style={{ opacity: dragHelperOpacity }}\n >\n <div className=\"size-lg rounded-full bg-primary\" />\n </div>\n </div>\n );\n};\nexport default DragPreview;\n"],"mappings":"A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AAU,EAAE;MACZG,UAAU,CAAC,MAAM;QACbJ,oBAAoB,CAACC,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC;MAC5C,CAAC,EAAE,GAAG,CAAC;IACX,CAAC,MAAM;MACHD,oBAAoB,CAAC,CAAC,CAAC;IAC3B;EACJ,CAAC,EAAE,CAACC,UAAU,CAAC,CAAC;EAEhB,IAAI,CAACA,UAAU,EAAE;IACb,OAAO,IAAI;EACf;EAEA,IAAI,CAACA,UAAU,EAAE;IACb,OAAO,IAAI;EACf;EAEA,oBACIjB,KAAA,CAAAqB,aAAA;IACIR,KAAK,EAAE;MAAES,MAAM,EAAE;IAAK,CAAE;IACxBC,SAAS,EAAC;EAAsD,gBAEhEvB,KAAA,CAAAqB,aAAA;IACIG,GAAG,EAAEC,EAAE,IAAKpB,cAAc,GAAGoB,EAAI;IACjCF,SAAS,EAAC,mDAAmD;IAC7DV,KAAK,EAAE;MAAEa,OAAO,EAAEX;IAAkB;EAAE,gBAEtCf,KAAA,CAAAqB,aAAA;IAAKE,SAAS,EAAC;EAAiC,CAAE,CACjD,CACJ,CAAC;AAEd,CAAC;AACD,eAAeT,WAAW","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  import type { CSSProperties } from "react";
2
2
  import React from "react";
3
- import type { DroppableProps, OnDropCallable } from "./../Droppable";
3
+ import type { DroppableProps, OnDropCallable } from "./../Droppable.js";
4
4
  interface CenterProps {
5
5
  type?: string;
6
6
  onDrop: OnDropCallable;
@@ -1,14 +1,14 @@
1
1
  import React from "react";
2
- import { Droppable } from "./../Droppable";
2
+ import { Droppable } from "./../Droppable.js";
3
3
  import { cn, cva } from "@webiny/admin-ui";
4
- const droppableContainerVariants = cva("wby-bg-transparent wby-box-border wby-h-full wby-min-h-[120px] wby-relative wby-user-select-none wby-w-full wby-border-md wby-border-dashed", {
4
+ const droppableContainerVariants = cva("bg-transparent box-border h-full min-h-[120px] relative user-select-none w-full border-md border-dashed", {
5
5
  variants: {
6
6
  isOver: {
7
- true: "wby-border-accent-default wby-text-accent-primary",
8
- false: "wby-border-success-default wby-text-success-primary"
7
+ true: "border-accent-default text-accent-primary",
8
+ false: "border-success-default text-success-primary"
9
9
  },
10
10
  isDroppable: {
11
- false: "wby-border-success-default wby-text-accent-primary"
11
+ false: "border-success-default text-accent-primary"
12
12
  }
13
13
  },
14
14
  defaultVariants: {
@@ -48,7 +48,7 @@ const Center = ({
48
48
  isDroppable
49
49
  }))
50
50
  }, /*#__PURE__*/React.createElement("div", {
51
- className: "wby-absolute wby-top-1/2 wby-left-1/2 wby-transform wby--translate-x-1/2 wby--translate-y-1/2 wby-m-0"
51
+ className: "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 m-0"
52
52
  }, children))));
53
53
  };
54
54
  export default Center;
@@ -1 +1 @@
1
- {"version":3,"names":["React","Droppable","cn","cva","droppableContainerVariants","variants","isOver","true","false","isDroppable","defaultVariants","getInert","inert","Center","onDrop","children","style","createElement","drop","Object","assign","ref","width","height","className"],"sources":["Center.tsx"],"sourcesContent":["import type { CSSProperties } from \"react\";\nimport React from \"react\";\nimport type { DroppableProps, OnDropCallable } from \"./../Droppable\";\nimport { Droppable } from \"./../Droppable\";\nimport { cn, cva } from \"@webiny/admin-ui\";\n\nconst droppableContainerVariants = cva(\n \"wby-bg-transparent wby-box-border wby-h-full wby-min-h-[120px] wby-relative wby-user-select-none wby-w-full wby-border-md wby-border-dashed\",\n {\n variants: {\n isOver: {\n true: \"wby-border-accent-default wby-text-accent-primary\",\n false: \"wby-border-success-default wby-text-success-primary\"\n },\n isDroppable: {\n false: \"wby-border-success-default wby-text-accent-primary\"\n }\n },\n defaultVariants: {\n isOver: false,\n isDroppable: true\n }\n }\n);\n\ninterface CenterProps {\n type?: string;\n onDrop: OnDropCallable;\n children: React.ReactNode;\n active?: boolean;\n highlight?: boolean;\n style?: CSSProperties;\n isDroppable?: DroppableProps[\"isDroppable\"];\n}\n\nconst getInert = (isDroppable: boolean) => {\n return isDroppable ? {} : { inert: \"\" };\n};\n\nconst Center = ({ onDrop, children, style, isDroppable }: CenterProps) => {\n return (\n <Droppable onDrop={onDrop} isDroppable={isDroppable}>\n {({ isOver, drop, isDroppable }) => (\n <div\n ref={drop}\n style={{ width: \"100%\", height: \"100%\", ...style }}\n data-testid={\"cms-editor-first-field-area\"}\n {...getInert(isDroppable)}\n >\n <div className={cn(droppableContainerVariants({ isOver, isDroppable }))}>\n <div className=\"wby-absolute wby-top-1/2 wby-left-1/2 wby-transform wby--translate-x-1/2 wby--translate-y-1/2 wby-m-0\">\n {children}\n </div>\n </div>\n </div>\n )}\n </Droppable>\n );\n};\n\nexport default Center;\n"],"mappings":"AACA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,SAAS;AAClB,SAASC,EAAE,EAAEC,GAAG,QAAQ,kBAAkB;AAE1C,MAAMC,0BAA0B,GAAGD,GAAG,CAClC,6IAA6I,EAC7I;EACIE,QAAQ,EAAE;IACNC,MAAM,EAAE;MACJC,IAAI,EAAE,mDAAmD;MACzDC,KAAK,EAAE;IACX,CAAC;IACDC,WAAW,EAAE;MACTD,KAAK,EAAE;IACX;EACJ,CAAC;EACDE,eAAe,EAAE;IACbJ,MAAM,EAAE,KAAK;IACbG,WAAW,EAAE;EACjB;AACJ,CACJ,CAAC;AAYD,MAAME,QAAQ,GAAIF,WAAoB,IAAK;EACvC,OAAOA,WAAW,GAAG,CAAC,CAAC,GAAG;IAAEG,KAAK,EAAE;EAAG,CAAC;AAC3C,CAAC;AAED,MAAMC,MAAM,GAAGA,CAAC;EAAEC,MAAM;EAAEC,QAAQ;EAAEC,KAAK;EAAEP;AAAyB,CAAC,KAAK;EACtE,oBACIT,KAAA,CAAAiB,aAAA,CAAChB,SAAS;IAACa,MAAM,EAAEA,MAAO;IAACL,WAAW,EAAEA;EAAY,GAC/C,CAAC;IAAEH,MAAM;IAAEY,IAAI;IAAET;EAAY,CAAC,kBAC3BT,KAAA,CAAAiB,aAAA,QAAAE,MAAA,CAAAC,MAAA;IACIC,GAAG,EAAEH,IAAK;IACVF,KAAK,EAAE;MAAEM,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE,MAAM;MAAE,GAAGP;IAAM,CAAE;IACnD,eAAa;EAA8B,GACvCL,QAAQ,CAACF,WAAW,CAAC,gBAEzBT,KAAA,CAAAiB,aAAA;IAAKO,SAAS,EAAEtB,EAAE,CAACE,0BAA0B,CAAC;MAAEE,MAAM;MAAEG;IAAY,CAAC,CAAC;EAAE,gBACpET,KAAA,CAAAiB,aAAA;IAAKO,SAAS,EAAC;EAAuG,GACjHT,QACA,CACJ,CACJ,CAEF,CAAC;AAEpB,CAAC;AAED,eAAeF,MAAM","ignoreList":[]}
1
+ {"version":3,"names":["React","Droppable","cn","cva","droppableContainerVariants","variants","isOver","true","false","isDroppable","defaultVariants","getInert","inert","Center","onDrop","children","style","createElement","drop","Object","assign","ref","width","height","className"],"sources":["Center.tsx"],"sourcesContent":["import type { CSSProperties } from \"react\";\nimport React from \"react\";\nimport type { DroppableProps, OnDropCallable } from \"./../Droppable.js\";\nimport { Droppable } from \"./../Droppable.js\";\nimport { cn, cva } from \"@webiny/admin-ui\";\n\nconst droppableContainerVariants = cva(\n \"bg-transparent box-border h-full min-h-[120px] relative user-select-none w-full border-md border-dashed\",\n {\n variants: {\n isOver: {\n true: \"border-accent-default text-accent-primary\",\n false: \"border-success-default text-success-primary\"\n },\n isDroppable: {\n false: \"border-success-default text-accent-primary\"\n }\n },\n defaultVariants: {\n isOver: false,\n isDroppable: true\n }\n }\n);\n\ninterface CenterProps {\n type?: string;\n onDrop: OnDropCallable;\n children: React.ReactNode;\n active?: boolean;\n highlight?: boolean;\n style?: CSSProperties;\n isDroppable?: DroppableProps[\"isDroppable\"];\n}\n\nconst getInert = (isDroppable: boolean) => {\n return isDroppable ? {} : { inert: \"\" };\n};\n\nconst Center = ({ onDrop, children, style, isDroppable }: CenterProps) => {\n return (\n <Droppable onDrop={onDrop} isDroppable={isDroppable}>\n {({ isOver, drop, isDroppable }) => (\n <div\n ref={drop}\n style={{ width: \"100%\", height: \"100%\", ...style }}\n data-testid={\"cms-editor-first-field-area\"}\n {...getInert(isDroppable)}\n >\n <div className={cn(droppableContainerVariants({ isOver, isDroppable }))}>\n <div className=\"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 m-0\">\n {children}\n </div>\n </div>\n </div>\n )}\n </Droppable>\n );\n};\n\nexport default Center;\n"],"mappings":"AACA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,SAAS;AAClB,SAASC,EAAE,EAAEC,GAAG,QAAQ,kBAAkB;AAE1C,MAAMC,0BAA0B,GAAGD,GAAG,CAClC,yGAAyG,EACzG;EACIE,QAAQ,EAAE;IACNC,MAAM,EAAE;MACJC,IAAI,EAAE,2CAA2C;MACjDC,KAAK,EAAE;IACX,CAAC;IACDC,WAAW,EAAE;MACTD,KAAK,EAAE;IACX;EACJ,CAAC;EACDE,eAAe,EAAE;IACbJ,MAAM,EAAE,KAAK;IACbG,WAAW,EAAE;EACjB;AACJ,CACJ,CAAC;AAYD,MAAME,QAAQ,GAAIF,WAAoB,IAAK;EACvC,OAAOA,WAAW,GAAG,CAAC,CAAC,GAAG;IAAEG,KAAK,EAAE;EAAG,CAAC;AAC3C,CAAC;AAED,MAAMC,MAAM,GAAGA,CAAC;EAAEC,MAAM;EAAEC,QAAQ;EAAEC,KAAK;EAAEP;AAAyB,CAAC,KAAK;EACtE,oBACIT,KAAA,CAAAiB,aAAA,CAAChB,SAAS;IAACa,MAAM,EAAEA,MAAO;IAACL,WAAW,EAAEA;EAAY,GAC/C,CAAC;IAAEH,MAAM;IAAEY,IAAI;IAAET;EAAY,CAAC,kBAC3BT,KAAA,CAAAiB,aAAA,QAAAE,MAAA,CAAAC,MAAA;IACIC,GAAG,EAAEH,IAAK;IACVF,KAAK,EAAE;MAAEM,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE,MAAM;MAAE,GAAGP;IAAM,CAAE;IACnD,eAAa;EAA8B,GACvCL,QAAQ,CAACF,WAAW,CAAC,gBAEzBT,KAAA,CAAAiB,aAAA;IAAKO,SAAS,EAAEtB,EAAE,CAACE,0BAA0B,CAAC;MAAEE,MAAM;MAAEG;IAAY,CAAC,CAAC;EAAE,gBACpET,KAAA,CAAAiB,aAAA;IAAKO,SAAS,EAAC;EAA2E,GACrFT,QACA,CACJ,CACJ,CAEF,CAAC;AAEpB,CAAC;AAED,eAAeF,MAAM","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import type { IsVisibleCallable } from "../Droppable";
3
- import type { DragSource } from "../../../types";
2
+ import type { IsVisibleCallable } from "../Droppable.js";
3
+ import type { DragSource } from "../../../types.js";
4
4
  interface HorizontalProps {
5
5
  onDrop(item: DragSource): void;
6
6
  last?: boolean;
@@ -1,16 +1,16 @@
1
1
  import React from "react";
2
- import { Droppable } from "../Droppable";
2
+ import { Droppable } from "../Droppable.js";
3
3
  import { cn } from "@webiny/admin-ui";
4
4
  const OuterDiv = ({
5
5
  isOver,
6
6
  isDragging,
7
7
  last
8
8
  }) => /*#__PURE__*/React.createElement("div", {
9
- className: cn("wby-absolute wby-w-full wby-z-10 wby-bg-transparent wby-flex wby-justify-center", last ? "-wby-bottom-md" : "-wby-top-md")
9
+ className: cn("absolute w-full z-10 bg-transparent flex justify-center", last ? "-bottom-md" : "-top-md")
10
10
  }, /*#__PURE__*/React.createElement("div", {
11
- className: cn("wby-h-md wby-w-full wby-z-3 wby-border-dashed wby-border-sm wby-hidden", isOver ? "wby-border-accent-default" : "wby-border-success-default", isDragging && "wby-block")
11
+ className: cn("h-md w-full z-3 border-dashed border-sm hidden", isOver ? "border-accent-default" : "border-success-default", isDragging && "block")
12
12
  }, /*#__PURE__*/React.createElement("div", {
13
- className: cn("wby-w-full wby-h-full wby-opacity-50", isOver ? "wby-bg-primary-muted" : "wby-bg-success-muted")
13
+ className: cn("w-full h-full opacity-50", isOver ? "bg-primary-muted" : "bg-success-muted")
14
14
  })));
15
15
  const Horizontal = ({
16
16
  last,
@@ -1 +1 @@
1
- {"version":3,"names":["React","Droppable","cn","OuterDiv","isOver","isDragging","last","createElement","className","Horizontal","onDrop","isVisible","rest","drop","ref","style","height","width","position","left","zIndex"],"sources":["Horizontal.tsx"],"sourcesContent":["import React from \"react\";\nimport type { IsVisibleCallable } from \"../Droppable\";\nimport { Droppable } from \"../Droppable\";\nimport type { DragSource } from \"~/types\";\nimport { cn } from \"@webiny/admin-ui\";\n\ninterface OuterDivProps {\n isOver: boolean;\n isDragging: boolean;\n last: boolean;\n}\n\nconst OuterDiv = ({ isOver, isDragging, last }: OuterDivProps) => (\n <div\n className={cn(\n \"wby-absolute wby-w-full wby-z-10 wby-bg-transparent wby-flex wby-justify-center\",\n last ? \"-wby-bottom-md\" : \"-wby-top-md\"\n )}\n >\n <div\n className={cn(\n \"wby-h-md wby-w-full wby-z-3 wby-border-dashed wby-border-sm wby-hidden\",\n isOver ? \"wby-border-accent-default\" : \"wby-border-success-default\",\n isDragging && \"wby-block\"\n )}\n >\n <div\n className={cn(\n \"wby-w-full wby-h-full wby-opacity-50\",\n isOver ? \"wby-bg-primary-muted\" : \"wby-bg-success-muted\"\n )}\n />\n </div>\n </div>\n);\n\ninterface HorizontalProps {\n onDrop(item: DragSource): void;\n last?: boolean;\n isVisible?: IsVisibleCallable;\n [\"data-testid\"]?: string;\n}\n\nconst Horizontal = ({ last, onDrop, isVisible, ...rest }: HorizontalProps) => {\n return (\n <Droppable onDrop={onDrop} isVisible={isVisible}>\n {({ isOver, isDragging, drop }) => (\n <div\n ref={drop}\n data-testid={rest[\"data-testid\"]}\n style={{\n /* For dropzone debugging: border: \"1px solid blue\",*/\n height: \"16px\",\n width: \"100%\",\n position: \"absolute\",\n [last ? \"bottom\" : \"top\"]: 0,\n left: 0,\n zIndex: isDragging ? 1000 : -1\n }}\n >\n <OuterDiv isOver={isOver} isDragging={isDragging} last={last ?? false} />\n </div>\n )}\n </Droppable>\n );\n};\n\nex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AO;IAACC,UAAU,EAAEA,UAAW;IAACC,IAAI,EAAEA,IAAI,IAAI;EAAM,CAAE,CACvE,CAEF,CAAC;AAEpB,CAAC;AAED,eAAeG,UAAU","ignoreList":[]}
1
+ {"version":3,"names":["React","Droppable","cn","OuterDiv","isOver","isDragging","last","createElement","className","Horizontal","onDrop","isVisible","rest","drop","ref","style","height","width","position","left","zIndex"],"sources":["Horizontal.tsx"],"sourcesContent":["import React from \"react\";\nimport type { IsVisibleCallable } from \"../Droppable.js\";\nimport { Droppable } from \"../Droppable.js\";\nimport type { DragSource } from \"~/types.js\";\nimport { cn } from \"@webiny/admin-ui\";\n\ninterface OuterDivProps {\n isOver: boolean;\n isDragging: boolean;\n last: boolean;\n}\n\nconst OuterDiv = ({ isOver, isDragging, last }: OuterDivProps) => (\n <div\n className={cn(\n \"absolute w-full z-10 bg-transparent flex justify-center\",\n last ? \"-bottom-md\" : \"-top-md\"\n )}\n >\n <div\n className={cn(\n \"h-md w-full z-3 border-dashed border-sm hidden\",\n isOver ? \"border-accent-default\" : \"border-success-default\",\n isDragging && \"block\"\n )}\n >\n <div\n className={cn(\n \"w-full h-full opacity-50\",\n isOver ? \"bg-primary-muted\" : \"bg-success-muted\"\n )}\n />\n </div>\n </div>\n);\n\ninterface HorizontalProps {\n onDrop(item: DragSource): void;\n last?: boolean;\n isVisible?: IsVisibleCallable;\n [\"data-testid\"]?: string;\n}\n\nconst Horizontal = ({ last, onDrop, isVisible, ...rest }: HorizontalProps) => {\n return (\n <Droppable onDrop={onDrop} isVisible={isVisible}>\n {({ isOver, isDragging, drop }) => (\n <div\n ref={drop}\n data-testid={rest[\"data-testid\"]}\n style={{\n /* For dropzone debugging: border: \"1px solid blue\",*/\n height: \"16px\",\n width: \"100%\",\n position: \"absolute\",\n [last ? \"bottom\" : \"top\"]: 0,\n left: 0,\n zIndex: isDragging ? 1000 : -1\n }}\n >\n <OuterDiv isOver={isOver} isDragging={isDragging} last={last ?? false} />\n </div>\n )}\n </Droppable>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AM,EAAEA,MAAO;IAACC,UAAU,EAAEA,UAAW;IAACC,IAAI,EAAEA,IAAI,IAAI;EAAM,CAAE,CACvE,CAEF,CAAC;AAEpB,CAAC;AAED,eAAeG,UAAU","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import type { IsVisibleCallable } from "../Droppable";
3
- import type { DragSource } from "../../../types";
2
+ import type { IsVisibleCallable } from "../Droppable.js";
3
+ import type { DragSource } from "../../../types.js";
4
4
  interface VerticalProps {
5
5
  depth?: number;
6
6
  onDrop(item: DragSource): void;
@@ -1,16 +1,16 @@
1
1
  import React from "react";
2
- import { Droppable } from "../Droppable";
2
+ import { Droppable } from "../Droppable.js";
3
3
  import { cn } from "@webiny/admin-ui";
4
4
  const OuterDivVertical = ({
5
5
  isOver,
6
6
  last,
7
7
  isDragging
8
8
  }) => /*#__PURE__*/React.createElement("div", {
9
- className: cn("wby-absolute wby-top-0 wby-h-full wby-w-[30%] wby-z-10 wby-bg-transparent", last ? "wby-text-right -wby-right-sm" : "wby-text-left -wby-left-sm")
9
+ className: cn("absolute top-0 h-full w-[30%] z-10 bg-transparent", last ? "text-right -right-sm" : "text-left -left-sm")
10
10
  }, /*#__PURE__*/React.createElement("div", {
11
- className: cn("wby-absolute wby-w-md wby-h-full wby-z-3 wby-border-dashed wby-border-sm wby-hidden", isOver ? "wby-border-accent-default" : "wby-border-success-default", last ? "-wby-right-sm" : "-wby-left-sm", isDragging && "wby-block")
11
+ className: cn("absolute w-md h-full z-3 border-dashed border-sm hidden", isOver ? "border-accent-default" : "border-success-default", last ? "-right-sm" : "-left-sm", isDragging && "block")
12
12
  }, /*#__PURE__*/React.createElement("div", {
13
- className: cn("wby-w-full wby-h-full wby-opacity-50", isOver ? "wby-bg-primary-muted" : "wby-bg-success-muted")
13
+ className: cn("w-full h-full opacity-50", isOver ? "bg-primary-muted" : "bg-success-muted")
14
14
  })));
15
15
  const Vertical = ({
16
16
  depth,
@@ -1 +1 @@
1
- {"version":3,"names":["React","Droppable","cn","OuterDivVertical","isOver","last","isDragging","createElement","className","Vertical","depth","onDrop","isVisible","drop","ref","style","width","maxWidth","height","position","top","zIndex"],"sources":["Vertical.tsx"],"sourcesContent":["import React from \"react\";\nimport type { IsVisibleCallable } from \"../Droppable\";\nimport { Droppable } from \"../Droppable\";\nimport type { DragSource } from \"~/types\";\nimport { cn } from \"@webiny/admin-ui\";\n\ninterface OuterDivVerticalProps {\n isOver: boolean;\n last?: boolean;\n isDragging?: boolean;\n}\n\nconst OuterDivVertical = ({ isOver, last, isDragging }: OuterDivVerticalProps) => (\n <div\n className={cn(\n \"wby-absolute wby-top-0 wby-h-full wby-w-[30%] wby-z-10 wby-bg-transparent\",\n last ? \"wby-text-right -wby-right-sm\" : \"wby-text-left -wby-left-sm\"\n )}\n >\n <div\n className={cn(\n \"wby-absolute wby-w-md wby-h-full wby-z-3 wby-border-dashed wby-border-sm wby-hidden\",\n isOver ? \"wby-border-accent-default\" : \"wby-border-success-default\",\n last ? \"-wby-right-sm\" : \"-wby-left-sm\",\n isDragging && \"wby-block\"\n )}\n >\n <div\n className={cn(\n \"wby-w-full wby-h-full wby-opacity-50\",\n isOver ? \"wby-bg-primary-muted\" : \"wby-bg-success-muted\"\n )}\n />\n </div>\n </div>\n);\n\ninterface VerticalProps {\n depth?: number;\n onDrop(item: DragSource): void;\n last?: boolean;\n isVisible?: IsVisibleCallable;\n}\n\nconst Vertical = ({ depth, last, onDrop, isVisible }: VerticalProps) => {\n return (\n <Droppable onDrop={onDrop} isVisible={isVisible}>\n {({ isOver, isDragging, drop }) => (\n <div\n ref={drop}\n style={{\n /* For dropzone debugging: border: \"1px solid blue\",*/\n width: \"30%\",\n maxWidth: \"100px\",\n height: \"100%\",\n position: \"absolute\",\n top: 0,\n [last ? \"right\" : \"left\"]: 0,\n zIndex: isDragging ? 1000 + (depth || 0) : -1\n }}\n >\n <OuterDivVertical isOver={isOver} isDragging={isDragging} last={last} />\n </div>\n )}\n </Droppable>\n );\n};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AAA,CAAAO,aAAA,CAACJ,gBAAgB;IAACC,MAAM,EAAEA,MAAO;IAACE,UAAU,EAAEA,UAAW;IAACD,IAAI,EAAEA;EAAK,CAAE,CACtE,CAEF,CAAC;AAEpB,CAAC;AAED,eAAeI,QAAQ","ignoreList":[]}
1
+ {"version":3,"names":["React","Droppable","cn","OuterDivVertical","isOver","last","isDragging","createElement","className","Vertical","depth","onDrop","isVisible","drop","ref","style","width","maxWidth","height","position","top","zIndex"],"sources":["Vertical.tsx"],"sourcesContent":["import React from \"react\";\nimport type { IsVisibleCallable } from \"../Droppable.js\";\nimport { Droppable } from \"../Droppable.js\";\nimport type { DragSource } from \"~/types.js\";\nimport { cn } from \"@webiny/admin-ui\";\n\ninterface OuterDivVerticalProps {\n isOver: boolean;\n last?: boolean;\n isDragging?: boolean;\n}\n\nconst OuterDivVertical = ({ isOver, last, isDragging }: OuterDivVerticalProps) => (\n <div\n className={cn(\n \"absolute top-0 h-full w-[30%] z-10 bg-transparent\",\n last ? \"text-right -right-sm\" : \"text-left -left-sm\"\n )}\n >\n <div\n className={cn(\n \"absolute w-md h-full z-3 border-dashed border-sm hidden\",\n isOver ? \"border-accent-default\" : \"border-success-default\",\n last ? \"-right-sm\" : \"-left-sm\",\n isDragging && \"block\"\n )}\n >\n <div\n className={cn(\n \"w-full h-full opacity-50\",\n isOver ? \"bg-primary-muted\" : \"bg-success-muted\"\n )}\n />\n </div>\n </div>\n);\n\ninterface VerticalProps {\n depth?: number;\n onDrop(item: DragSource): void;\n last?: boolean;\n isVisible?: IsVisibleCallable;\n}\n\nconst Vertical = ({ depth, last, onDrop, isVisible }: VerticalProps) => {\n return (\n <Droppable onDrop={onDrop} isVisible={isVisible}>\n {({ isOver, isDragging, drop }) => (\n <div\n ref={drop}\n style={{\n /* For dropzone debugging: border: \"1px solid blue\",*/\n width: \"30%\",\n maxWidth: \"100px\",\n height: \"100%\",\n position: \"absolute\",\n top: 0,\n [last ? \"right\" : \"left\"]: 0,\n zIndex: isDragging ? 1000 + (depth || 0) : -1\n }}\n >\n <OuterDivVertical isOver={isOver} isDragging={isDragging} last={last} />\n </div>\n )}\n </Droppable>\n );\n};\n\nexport default Vertical;\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,SAAS;AAElB,SAASC,EAAE,QAAQ,kBAAkB;AAQrC,MAAMC,gBAAgB,GAAGA,CAAC;EAAEC,MAAM;EAAEC,IAAI;EAAEC;AAAkC,CAAC,kBACzEN,KAAA,CAAAO,aAAA;EACIC,SAAS,EAAEN,EAAE,CACT,mDAAmD,EACnDG,IAAI,GAAG,sBAAsB,GAAG,oBACpC;AAAE,gBAEFL,KAAA,CAAAO,aAAA;EACIC,SAAS,EAAEN,EAAE,CACT,yDAAyD,EACzDE,MAAM,GAAG,uBAAuB,GAAG,wBAAwB,EAC3DC,IAAI,GAAG,WAAW,GAAG,UAAU,EAC/BC,UAAU,IAAI,OAClB;AAAE,gBAEFN,KAAA,CAAAO,aAAA;EACIC,SAAS,EAAEN,EAAE,CACT,0BAA0B,EAC1BE,MAAM,GAAG,kBAAkB,GAAG,kBAClC;AAAE,CACL,CACA,CACJ,CACR;AASD,MAAMK,QAAQ,GAAGA,CAAC;EAAEC,KAAK;EAAEL,IAAI;EAAEM,MAAM;EAAEC;AAAyB,CAAC,KAAK;EACpE,oBACIZ,KAAA,CAAAO,aAAA,CAACN,SAAS;IAACU,MAAM,EAAEA,MAAO;IAACC,SAAS,EAAEA;EAAU,GAC3C,CAAC;IAAER,MAAM;IAAEE,UAAU;IAAEO;EAAK,CAAC,kBAC1Bb,KAAA,CAAAO,aAAA;IACIO,GAAG,EAAED,IAAK;IACVE,KAAK,EAAE;MACH;MACAC,KAAK,EAAE,KAAK;MACZC,QAAQ,EAAE,OAAO;MACjBC,MAAM,EAAE,MAAM;MACdC,QAAQ,EAAE,UAAU;MACpBC,GAAG,EAAE,CAAC;MACN,CAACf,IAAI,GAAG,OAAO,GAAG,MAAM,GAAG,CAAC;MAC5BgB,MAAM,EAAEf,UAAU,GAAG,IAAI,IAAII,KAAK,IAAI,CAAC,CAAC,GAAG,CAAC;IAChD;EAAE,gBAEFV,KAAA,CAAAO,aAAA,CAACJ,gBAAgB;IAACC,MAAM,EAAEA,MAAO;IAACE,UAAU,EAAEA,UAAW;IAACD,IAAI,EAAEA;EAAK,CAAE,CACtE,CAEF,CAAC;AAEpB,CAAC;AAED,eAAeI,QAAQ","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- import Center from "./Center";
2
- import Horizontal from "./Horizontal";
3
- import Vertical from "./Vertical";
1
+ import Center from "./Center.js";
2
+ import Horizontal from "./Horizontal.js";
3
+ import Vertical from "./Vertical.js";
4
4
  export { Center, Horizontal, Vertical };
@@ -1,6 +1,6 @@
1
- import Center from "./Center";
2
- import Horizontal from "./Horizontal";
3
- import Vertical from "./Vertical";
1
+ import Center from "./Center.js";
2
+ import Horizontal from "./Horizontal.js";
3
+ import Vertical from "./Vertical.js";
4
4
  export { Center, Horizontal, Vertical };
5
5
 
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Center","Horizontal","Vertical"],"sources":["index.ts"],"sourcesContent":["import Center from \"./Center\";\nimport Horizontal from \"./Horizontal\";\nimport Vertical from \"./Vertical\";\n\nexport { Center, Horizontal, Vertical };\n"],"mappings":"AAAA,OAAOA,MAAM;AACb,OAAOC,UAAU;AACjB,OAAOC,QAAQ;AAEf,SAASF,MAAM,EAAEC,UAAU,EAAEC,QAAQ","ignoreList":[]}
1
+ {"version":3,"names":["Center","Horizontal","Vertical"],"sources":["index.ts"],"sourcesContent":["import Center from \"./Center.js\";\nimport Horizontal from \"./Horizontal.js\";\nimport Vertical from \"./Vertical.js\";\n\nexport { Center, Horizontal, Vertical };\n"],"mappings":"AAAA,OAAOA,MAAM;AACb,OAAOC,UAAU;AACjB,OAAOC,QAAQ;AAEf,SAASF,MAAM,EAAEC,UAAU,EAAEC,QAAQ","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { ConnectDropTarget } from "react-dnd";
3
- import type { DragSource } from "../../types";
3
+ import type { DragSource } from "../../types.js";
4
4
  export interface DroppableChildrenFunctionParams {
5
5
  isDragging: boolean;
6
6
  isDroppable: boolean;
@@ -1 +1 @@
1
- {"version":3,"names":["React","useDrop","DroppableComponent","props","children","onDrop","isVisible","item","isOver","drop","accept","collect","monitor","shallow","getItem","isDroppable","isDragging","Boolean","Droppable","memo"],"sources":["Droppable.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { ConnectDropTarget } from \"react-dnd\";\nimport { useDrop } from \"react-dnd\";\nimport type { DragSource } from \"~/types\";\n\nexport interface DroppableChildrenFunctionParams {\n isDragging: boolean;\n isDroppable: boolean;\n isOver: boolean;\n item: any;\n drop: ConnectDropTarget;\n}\nexport interface DroppableChildrenFunction {\n (params: DroppableChildrenFunctionParams): React.ReactElement;\n}\n\ninterface IsVisibleParams {\n type: \"row\" | \"field\" | \"newField\";\n item: DragSource;\n isDragging: boolean;\n}\nexport interface IsVisibleCallable {\n (params: IsVisibleParams): boolean;\n}\nexport interface OnDropCallable {\n (item: DragSource): void;\n}\nexport interface DroppableProps {\n type?: string;\n children: DroppableChildrenFunction;\n isDragging?: boolean;\n isDroppable?: (item: DragSource) => boolean;\n isVisible?: IsVisibleCallable;\n onDrop?: OnDropCallable;\n}\n\nexport type DragObject = {\n item: IsVisibleParams;\n isOver: boolean;\n};\n\nconst DroppableComponent = (props: DroppableProps) => {\n const { children, onDrop, isVisible = () => true } = props;\n\n const [{ item, isOver }, drop] = useDrop<DragSource, void, DragObject>({\n accept: \"element\",\n collect: monitor => ({\n isOver: monitor.isOver() && monitor.isOver({ shallow: true }),\n item: monitor.getItem()\n }),\n drop(item, monitor) {\n if (typeof props.isDroppable === \"function\" && !props.isDroppable(item)) {\n return;\n }\n\n if (typeof onDrop === \"function\") {\n return onDrop(monitor.getItem());\n }\n }\n });\n\n if (item && !isVisible(item)) {\n return null;\n }\n\n let isDroppable = true;\n if (item) {\n isDroppable = props.isDroppable ? props.isDroppable(item) : isOver;\n }\n\n return children({ isDragging: Boolean(item), isOver, isDroppable, item, drop });\n};\n\nexport const Droppable: React.ComponentType<DroppableProps> = React.memo(DroppableComponent);\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,OAAO,QAAQ,WAAW;AAuCnC,MAAMC,kBAAkB,GAAIC,KAAqB,IAAK;EAClD,MAAM;IAAEC,QAAQ;IAAEC,MAAM;IAAEC,SAAS,GAAGA,CAAA,KAAM;EAAK,CAAC,GAAGH,KAAK;EAE1D,MAAM,CAAC;IAAEI,IAAI;IAAEC;EAAO,CAAC,EAAEC,IAAI,CAAC,GAAGR,OAAO,CAA+B;IACnES,MAAM,EAAE,SAAS;IACjBC,OAAO,EAAEC,OAAO,KAAK;MACjBJ,MAAM,EAAEI,OAAO,CAACJ,MAAM,CAAC,CAAC,IAAII,OAAO,CAACJ,MAAM,CAAC;QAAEK,OAAO,EAAE;MAAK,CAAC,CAAC;MAC7DN,IAAI,EAAEK,OAAO,CAACE,OAAO,CAAC;IAC1B,CAAC,CAAC;IACFL,IAAIA,CAACF,IAAI,EAAEK,OAAO,EAAE;MAChB,IAAI,OAAOT,KAAK,CAACY,WAAW,KAAK,UAAU,IAAI,CAACZ,KAAK,CAACY,WAAW,CAACR,IAAI,CAAC,EAAE;QACrE;MACJ;MAEA,IAAI,OAAOF,MAAM,KAAK,UAAU,EAAE;QAC9B,OAAOA,MAAM,CAACO,OAAO,CAACE,OAAO,CAAC,CAAC,CAAC;MACpC;IACJ;EACJ,CAAC,CAAC;EAEF,IAAIP,IAAI,IAAI,CAACD,SAAS,CAACC,IAAI,CAAC,EAAE;IAC1B,OAAO,IAAI;EACf;EAEA,IAAIQ,WAAW,GAAG,IAAI;EACtB,IAAIR,IAAI,EAAE;IACNQ,WAAW,GAAGZ,KAAK,CAACY,WAAW,GAAGZ,KAAK,CAACY,WAAW,CAACR,IAAI,CAAC,GAAGC,MAAM;EACtE;EAEA,OAAOJ,QAAQ,CAAC;IAAEY,UAAU,EAAEC,OAAO,CAACV,IAAI,CAAC;IAAEC,MAAM;IAAEO,WAAW;IAAER,IAAI;IAAEE;EAAK,CAAC,CAAC;AACnF,CAAC;AAED,OAAO,MAAMS,SAA8C,gBAAGlB,KAAK,CAACmB,IAAI,CAACjB,kBAAkB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useDrop","DroppableComponent","props","children","onDrop","isVisible","item","isOver","drop","accept","collect","monitor","shallow","getItem","isDroppable","isDragging","Boolean","Droppable","memo"],"sources":["Droppable.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { ConnectDropTarget } from \"react-dnd\";\nimport { useDrop } from \"react-dnd\";\nimport type { DragSource } from \"~/types.js\";\n\nexport interface DroppableChildrenFunctionParams {\n isDragging: boolean;\n isDroppable: boolean;\n isOver: boolean;\n item: any;\n drop: ConnectDropTarget;\n}\nexport interface DroppableChildrenFunction {\n (params: DroppableChildrenFunctionParams): React.ReactElement;\n}\n\ninterface IsVisibleParams {\n type: \"row\" | \"field\" | \"newField\";\n item: DragSource;\n isDragging: boolean;\n}\nexport interface IsVisibleCallable {\n (params: IsVisibleParams): boolean;\n}\nexport interface OnDropCallable {\n (item: DragSource): void;\n}\nexport interface DroppableProps {\n type?: string;\n children: DroppableChildrenFunction;\n isDragging?: boolean;\n isDroppable?: (item: DragSource) => boolean;\n isVisible?: IsVisibleCallable;\n onDrop?: OnDropCallable;\n}\n\nexport type DragObject = {\n item: IsVisibleParams;\n isOver: boolean;\n};\n\nconst DroppableComponent = (props: DroppableProps) => {\n const { children, onDrop, isVisible = () => true } = props;\n\n const [{ item, isOver }, drop] = useDrop<DragSource, void, DragObject>({\n accept: \"element\",\n collect: monitor => ({\n isOver: monitor.isOver() && monitor.isOver({ shallow: true }),\n item: monitor.getItem()\n }),\n drop(item, monitor) {\n if (typeof props.isDroppable === \"function\" && !props.isDroppable(item)) {\n return;\n }\n\n if (typeof onDrop === \"function\") {\n return onDrop(monitor.getItem());\n }\n }\n });\n\n if (item && !isVisible(item)) {\n return null;\n }\n\n let isDroppable = true;\n if (item) {\n isDroppable = props.isDroppable ? props.isDroppable(item) : isOver;\n }\n\n return children({ isDragging: Boolean(item), isOver, isDroppable, item, drop });\n};\n\nexport const Droppable: React.ComponentType<DroppableProps> = React.memo(DroppableComponent);\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,OAAO,QAAQ,WAAW;AAuCnC,MAAMC,kBAAkB,GAAIC,KAAqB,IAAK;EAClD,MAAM;IAAEC,QAAQ;IAAEC,MAAM;IAAEC,SAAS,GAAGA,CAAA,KAAM;EAAK,CAAC,GAAGH,KAAK;EAE1D,MAAM,CAAC;IAAEI,IAAI;IAAEC;EAAO,CAAC,EAAEC,IAAI,CAAC,GAAGR,OAAO,CAA+B;IACnES,MAAM,EAAE,SAAS;IACjBC,OAAO,EAAEC,OAAO,KAAK;MACjBJ,MAAM,EAAEI,OAAO,CAACJ,MAAM,CAAC,CAAC,IAAII,OAAO,CAACJ,MAAM,CAAC;QAAEK,OAAO,EAAE;MAAK,CAAC,CAAC;MAC7DN,IAAI,EAAEK,OAAO,CAACE,OAAO,CAAC;IAC1B,CAAC,CAAC;IACFL,IAAIA,CAACF,IAAI,EAAEK,OAAO,EAAE;MAChB,IAAI,OAAOT,KAAK,CAACY,WAAW,KAAK,UAAU,IAAI,CAACZ,KAAK,CAACY,WAAW,CAACR,IAAI,CAAC,EAAE;QACrE;MACJ;MAEA,IAAI,OAAOF,MAAM,KAAK,UAAU,EAAE;QAC9B,OAAOA,MAAM,CAACO,OAAO,CAACE,OAAO,CAAC,CAAC,CAAC;MACpC;IACJ;EACJ,CAAC,CAAC;EAEF,IAAIP,IAAI,IAAI,CAACD,SAAS,CAACC,IAAI,CAAC,EAAE;IAC1B,OAAO,IAAI;EACf;EAEA,IAAIQ,WAAW,GAAG,IAAI;EACtB,IAAIR,IAAI,EAAE;IACNQ,WAAW,GAAGZ,KAAK,CAACY,WAAW,GAAGZ,KAAK,CAACY,WAAW,CAACR,IAAI,CAAC,GAAGC,MAAM;EACtE;EAEA,OAAOJ,QAAQ,CAAC;IAAEY,UAAU,EAAEC,OAAO,CAACV,IAAI,CAAC;IAAEC,MAAM;IAAEO,WAAW;IAAER,IAAI;IAAEE;EAAK,CAAC,CAAC;AACnF,CAAC;AAED,OAAO,MAAMS,SAA8C,gBAAGlB,KAAK,CAACmB,IAAI,CAACjB,kBAAkB,CAAC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Alert } from "@webiny/ui/Alert";
2
+ import { Alert } from "@webiny/ui/Alert/index.js";
3
3
  export const LegacyRichTextInput = () => {
4
4
  return /*#__PURE__*/React.createElement(Alert, {
5
5
  title: "You have legacy editor enabled",
@@ -1 +1 @@
1
- {"version":3,"names":["React","Alert","LegacyRichTextInput","createElement","title","type","href","rel","target"],"sources":["LegacyRichTextInput.tsx"],"sourcesContent":["import React from \"react\";\nimport { Alert } from \"@webiny/ui/Alert\";\n\nexport const LegacyRichTextInput = () => {\n return (\n <Alert title={\"You have legacy editor enabled\"} type={\"info\"}>\n Your project has been upgraded from an older Webiny version, with EditorJS as the\n default rich text editor. We recommend switching to the new Lexical rich text editor,\n where possible.\n <br />\n <br />\n Read more about this in our{\" \"}\n <a\n href={\"https://webiny.link/hcms-legacy-rte-support\"}\n rel=\"noreferrer\"\n target={\"_blank\"}\n >\n upgrade guide\n </a>\n .\n </Alert>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,QAAQ,kBAAkB;AAExC,OAAO,MAAMC,mBAAmB,GAAGA,CAAA,KAAM;EACrC,oBACIF,KAAA,CAAAG,aAAA,CAACF,KAAK;IAACG,KAAK,EAAE,gCAAiC;IAACC,IAAI,EAAE;EAAO,GAAC,yLAI1D,eAAAL,KAAA,CAAAG,aAAA,WAAK,CAAC,eACNH,KAAA,CAAAG,aAAA,WAAK,CAAC,+BACqB,EAAC,GAAG,eAC/BH,KAAA,CAAAG,aAAA;IACIG,IAAI,EAAE,6CAA8C;IACpDC,GAAG,EAAC,YAAY;IAChBC,MAAM,EAAE;EAAS,GACpB,eAEE,CAAC,KAED,CAAC;AAEhB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","Alert","LegacyRichTextInput","createElement","title","type","href","rel","target"],"sources":["LegacyRichTextInput.tsx"],"sourcesContent":["import React from \"react\";\nimport { Alert } from \"@webiny/ui/Alert/index.js\";\n\nexport const LegacyRichTextInput = () => {\n return (\n <Alert title={\"You have legacy editor enabled\"} type={\"info\"}>\n Your project has been upgraded from an older Webiny version, with EditorJS as the\n default rich text editor. We recommend switching to the new Lexical rich text editor,\n where possible.\n <br />\n <br />\n Read more about this in our{\" \"}\n <a\n href={\"https://webiny.link/hcms-legacy-rte-support\"}\n rel=\"noreferrer\"\n target={\"_blank\"}\n >\n upgrade guide\n </a>\n .\n </Alert>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,QAAQ,2BAA2B;AAEjD,OAAO,MAAMC,mBAAmB,GAAGA,CAAA,KAAM;EACrC,oBACIF,KAAA,CAAAG,aAAA,CAACF,KAAK;IAACG,KAAK,EAAE,gCAAiC;IAACC,IAAI,EAAE;EAAO,GAAC,yLAI1D,eAAAL,KAAA,CAAAG,aAAA,WAAK,CAAC,eACNH,KAAA,CAAAG,aAAA,WAAK,CAAC,+BACqB,EAAC,GAAG,eAC/BH,KAAA,CAAAG,aAAA;IACIG,IAAI,EAAE,6CAA8C;IACpDC,GAAG,EAAC,YAAY;IAChBC,MAAM,EAAE;EAAS,GACpB,eAEE,CAAC,KAED,CAAC;AAEhB,CAAC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { CmsModelFieldRendererPlugin } from "@webiny/app-headless-cms-common/types";
2
+ import type { CmsModelFieldRendererPlugin } from "@webiny/app-headless-cms-common/types/index.js";
3
3
  interface RendererOptionsProps {
4
4
  plugin: CmsModelFieldRendererPlugin | undefined;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { useModelField } from "../../../ModelFieldProvider";
2
+ import { useModelField } from "../../../ModelFieldProvider/index.js";
3
3
  import { Grid, Heading, Text } from "@webiny/admin-ui";
4
4
  export const RendererOptions = ({
5
5
  plugin
@@ -1 +1 @@
1
- {"version":3,"names":["React","useModelField","Grid","Heading","Text","RendererOptions","plugin","field","renderer","renderSettings","settings","createElement","Fragment","Column","span","level","size"],"sources":["RendererOptions.tsx"],"sourcesContent":["import React from \"react\";\nimport type { CmsModelFieldRendererPlugin } from \"@webiny/app-headless-cms-common/types\";\nimport { useModelField } from \"~/admin/components/ModelFieldProvider\";\nimport { Grid, Heading, Text } from \"@webiny/admin-ui\";\n\ninterface RendererOptionsProps {\n plugin: CmsModelFieldRendererPlugin | undefined;\n}\n\nexport const RendererOptions = ({ plugin }: RendererOptionsProps) => {\n const { field } = useModelField();\n if (!plugin || !plugin.renderer.renderSettings) {\n return null;\n }\n\n const settings = plugin.renderer.renderSettings({ field });\n\n if (!settings) {\n return null;\n }\n\n return (\n <>\n <Grid.Column span={12}>\n <Heading level={5}>Renderer settings</Heading>\n <Text size={\"sm\"}>\n Configure additional settings for the selected field renderer.\n </Text>\n </Grid.Column>\n {settings}\n </>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,aAAa;AACtB,SAASC,IAAI,EAAEC,OAAO,EAAEC,IAAI,QAAQ,kBAAkB;AAMtD,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAAEC;AAA6B,CAAC,KAAK;EACjE,MAAM;IAAEC;EAAM,CAAC,GAAGN,aAAa,CAAC,CAAC;EACjC,IAAI,CAACK,MAAM,IAAI,CAACA,MAAM,CAACE,QAAQ,CAACC,cAAc,EAAE;IAC5C,OAAO,IAAI;EACf;EAEA,MAAMC,QAAQ,GAAGJ,MAAM,CAACE,QAAQ,CAACC,cAAc,CAAC;IAAEF;EAAM,CAAC,CAAC;EAE1D,IAAI,CAACG,QAAQ,EAAE;IACX,OAAO,IAAI;EACf;EAEA,oBACIV,KAAA,CAAAW,aAAA,CAAAX,KAAA,CAAAY,QAAA,qBACIZ,KAAA,CAAAW,aAAA,CAACT,IAAI,CAACW,MAAM;IAACC,IAAI,EAAE;EAAG,gBAClBd,KAAA,CAAAW,aAAA,CAACR,OAAO;IAACY,KAAK,EAAE;EAAE,GAAC,mBAA0B,CAAC,eAC9Cf,KAAA,CAAAW,aAAA,CAACP,IAAI;IAACY,IAAI,EAAE;EAAK,GAAC,gEAEZ,CACG,CAAC,EACbN,QACH,CAAC;AAEX,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useModelField","Grid","Heading","Text","RendererOptions","plugin","field","renderer","renderSettings","settings","createElement","Fragment","Column","span","level","size"],"sources":["RendererOptions.tsx"],"sourcesContent":["import React from \"react\";\nimport type { CmsModelFieldRendererPlugin } from \"@webiny/app-headless-cms-common/types/index.js\";\nimport { useModelField } from \"~/admin/components/ModelFieldProvider/index.js\";\nimport { Grid, Heading, Text } from \"@webiny/admin-ui\";\n\ninterface RendererOptionsProps {\n plugin: CmsModelFieldRendererPlugin | undefined;\n}\n\nexport const RendererOptions = ({ plugin }: RendererOptionsProps) => {\n const { field } = useModelField();\n if (!plugin || !plugin.renderer.renderSettings) {\n return null;\n }\n\n const settings = plugin.renderer.renderSettings({ field });\n\n if (!settings) {\n return null;\n }\n\n return (\n <>\n <Grid.Column span={12}>\n <Heading level={5}>Renderer settings</Heading>\n <Text size={\"sm\"}>\n Configure additional settings for the selected field renderer.\n </Text>\n </Grid.Column>\n {settings}\n </>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,aAAa;AACtB,SAASC,IAAI,EAAEC,OAAO,EAAEC,IAAI,QAAQ,kBAAkB;AAMtD,OAAO,MAAMC,eAAe,GAAGA,CAAC;EAAEC;AAA6B,CAAC,KAAK;EACjE,MAAM;IAAEC;EAAM,CAAC,GAAGN,aAAa,CAAC,CAAC;EACjC,IAAI,CAACK,MAAM,IAAI,CAACA,MAAM,CAACE,QAAQ,CAACC,cAAc,EAAE;IAC5C,OAAO,IAAI;EACf;EAEA,MAAMC,QAAQ,GAAGJ,MAAM,CAACE,QAAQ,CAACC,cAAc,CAAC;IAAEF;EAAM,CAAC,CAAC;EAE1D,IAAI,CAACG,QAAQ,EAAE;IACX,OAAO,IAAI;EACf;EAEA,oBACIV,KAAA,CAAAW,aAAA,CAAAX,KAAA,CAAAY,QAAA,qBACIZ,KAAA,CAAAW,aAAA,CAACT,IAAI,CAACW,MAAM;IAACC,IAAI,EAAE;EAAG,gBAClBd,KAAA,CAAAW,aAAA,CAACR,OAAO;IAACY,KAAK,EAAE;EAAE,GAAC,mBAA0B,CAAC,eAC9Cf,KAAA,CAAAW,aAAA,CAACP,IAAI;IAACY,IAAI,EAAE;EAAK,GAAC,gEAEZ,CACG,CAAC,EACbN,QACH,CAAC;AAEX,CAAC","ignoreList":[]}
@@ -1,14 +1,12 @@
1
1
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
2
2
  import React, { useEffect } from "react";
3
- import { i18n } from "@webiny/app/i18n";
3
+ import { i18n } from "@webiny/app/i18n/index.js";
4
4
  import { css } from "@emotion/css";
5
5
  import { validation } from "@webiny/validation";
6
6
  import { useBind } from "@webiny/form";
7
- import { allowCmsLegacyRichTextInput } from "../../../../utils/allowCmsLegacyRichTextInput";
8
- import { RendererOptions } from "./AppearanceTab/RendererOptions";
9
- import { LegacyRichTextInput } from "./AppearanceTab/LegacyRichTextInput";
10
- import { useRendererPlugins } from "./useRendererPlugins";
11
- import { useModelField } from "../../ModelFieldProvider";
7
+ import { RendererOptions } from "./AppearanceTab/RendererOptions.js";
8
+ import { useRendererPlugins } from "./useRendererPlugins.js";
9
+ import { useModelField } from "../../ModelFieldProvider/index.js";
12
10
  import { RadioGroup, Text, Grid, Heading } from "@webiny/admin-ui";
13
11
  const t = i18n.ns("app-headless-cms/admin/content-model-editor/tabs/appearance-tab");
14
12
  const style = {
@@ -17,8 +15,7 @@ const style = {
17
15
  styles: "text-align:center;padding:25px"
18
16
  } : {
19
17
  name: "16icgk8-noComponentsMessage",
20
- styles: "text-align:center;padding:25px;label:noComponentsMessage;",
21
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFwcGVhcmFuY2VUYWIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWV5QiIsImZpbGUiOiJBcHBlYXJhbmNlVGFiLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QgfSBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IGkxOG4gfSBmcm9tIFwiQHdlYmlueS9hcHAvaTE4blwiO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL2Nzc1wiO1xuaW1wb3J0IHsgdmFsaWRhdGlvbiB9IGZyb20gXCJAd2ViaW55L3ZhbGlkYXRpb25cIjtcbmltcG9ydCB7IHVzZUJpbmQgfSBmcm9tIFwiQHdlYmlueS9mb3JtXCI7XG5pbXBvcnQgeyBhbGxvd0Ntc0xlZ2FjeVJpY2hUZXh0SW5wdXQgfSBmcm9tIFwifi91dGlscy9hbGxvd0Ntc0xlZ2FjeVJpY2hUZXh0SW5wdXRcIjtcbmltcG9ydCB7IFJlbmRlcmVyT3B0aW9ucyB9IGZyb20gXCIuL0FwcGVhcmFuY2VUYWIvUmVuZGVyZXJPcHRpb25zXCI7XG5pbXBvcnQgeyBMZWdhY3lSaWNoVGV4dElucHV0IH0gZnJvbSBc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xkLmZpZWxkSWR9IGZvdW5kLmAsIGZpZWxkKTtcbiAgICB9LCBbZmllbGQuaWQsIGZpZWxkLm11bHRpcGxlVmFsdWVzLCBmaWVsZC5wcmVkZWZpbmVkVmFsdWVzPy5lbmFibGVkLCBzZWxlY3RlZFBsdWdpbl0pO1xuXG4gICAgcmV0dXJuIChcbiAgICAgICAgPD5cbiAgICAgICAgICAgIDxHcmlkPlxuICAgICAgICAgICAgICAgIDw+XG4gICAgICAgICAgICAgICAgICAgIHthbGxvd0Ntc0xlZ2FjeVJpY2hUZXh0SW5wdXQgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgPEdyaWQuQ29sdW1uIHNwYW49ezZ9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxMZWdhY3lSaWNoVGV4dElucHV0IC8+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L0dyaWQuQ29sdW1uPlxuICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICA8R3JpZC5Db2x1bW4gc3Bhbj17MTJ9PlxuICAgICAgICAgICAgICAgICAgICAgICAgPEhlYWRpbmcgbGV2ZWw9ezV9PkZpZWxkIHJlbmRlcmVyPC9IZWFkaW5nPlxuICAgICAgICAgICAgICAgICAgICAgICAgPFRleHQgc2l6ZT17XCJzbVwifT5DaG9vc2UgYSBjb21wb25lbnQgdGhhdCB3aWxsIHJlbmRlciB0aGUgZmllbGQuPC9UZXh0PlxuICAgICAgICAgICAgICAgICAgICA8L0dyaWQuQ29sdW1uPlxuICAgICAgICAgICAgICAgICAgICA8R3JpZC5Db2x1bW4gc3Bhbj17MTJ9PlxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9e1wid2J5LW1iLXhsXCJ9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxSYWRpb0dyb3VwXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsuLi5yZW5kZXJlck5hbWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGl0ZW1zPXtyZW5kZXJlcnMubWFwKGl0ZW0gPT4gKHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkOiBpdGVtLnJlbmRlcmVyLnJlbmRlcmVyTmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiBpdGVtLnJlbmRlcmVyLnJlbmRlcmVyTmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxhYmVsOiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFRleHQgYXM9e1wiZGl2XCJ9IHNpemU9e1wibWRcIn0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aXRlbS5yZW5kZXJlci5uYW1lfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxUZXh0XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhcz17XCJkaXZcIn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNpemU9e1wic21cIn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17XCJ3YnktdGV4dC1zbSB3YnktdGV4dC1uZXV0cmFsLXN0cm9uZ1wifVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aXRlbS5yZW5kZXJlci5kZXNjcmlwdGlvbn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KSl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8L0dyaWQuQ29sdW1uPlxuICAgICAgICAgICAgICAgICAgICA8UmVuZGVyZXJPcHRpb25zIHBsdWdpbj17c2VsZWN0ZWRQbHVnaW59IC8+XG4gICAgICAgICAgICAgICAgPC8+XG4gICAgICAgICAgICA8L0dyaWQ+XG4gICAgICAgIDwvPlxuICAgICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBBcHBlYXJhbmNlVGFiO1xuIl19 */",
18
+ styles: "text-align:center;padding:25px;label:noComponentsMessage;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFwcGVhcmFuY2VUYWIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWF5QiIsImZpbGUiOiJBcHBlYXJhbmNlVGFiLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QgfSBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7IGkxOG4gfSBmcm9tIFwiQHdlYmlueS9hcHAvaTE4bi9pbmRleC5qc1wiO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL2Nzc1wiO1xuaW1wb3J0IHsgdmFsaWRhdGlvbiB9IGZyb20gXCJAd2ViaW55L3ZhbGlkYXRpb25cIjtcbmltcG9ydCB7IHVzZUJpbmQgfSBmcm9tIFwiQHdlYmlueS9mb3JtXCI7XG5pbXBvcnQgeyBSZW5kZXJlck9wdGlvbnMgfSBmcm9tI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vbnN0IHNlbGVjdGVkUGx1Z2luID0gcmVuZGVyZXJOYW1lLnZhbHVlXG4gICAgICAgID8gcmVuZGVyZXJzLmZpbmQocGwgPT4gcGwucmVuZGVyZXIucmVuZGVyZXJOYW1lID09PSByZW5kZXJlck5hbWUudmFsdWUpXG4gICAgICAgIDogdW5kZWZpbmVkO1xuXG4gICAgaWYgKHJlbmRlcmVycy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIDxHcmlkPlxuICAgICAgICAgICAgICAgIDxHcmlkLkNvbHVtblxuICAgICAgICAgICAgICAgICAgICBzcGFuPXsxMn1cbiAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtzdHlsZS5ub0NvbXBvbmVudHNNZXNzYWdlfVxuICAgICAgICAgICAgICAgID57dGBUaGVyZSBhcmUgbm8gY29tcG9uZW50cyB0aGF0IGNhbiByZW5kZXIgdGhpcyBmaWVsZC5gfTwvR3JpZC5Db2x1bW4+XG4gICAgICAgICAgICA8L0dyaWQ+XG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgdXNlRWZmZWN0KCgpID0+IHtcbiAgICAgICAgLy8gSWYgdGhlIGN1cnJlbnRseSBzZWxlY3RlZCByZW5kZXIgcGx1Z2luIGlzIG5vIGxvbmdlciBhdmFpbGFibGUsIHNlbGVjdCB0aGUgZmlyc3QgYXZhaWxhYmxlIG9uZS5cbiAgICAgICAgaWYgKHNlbGVjdGVkUGx1Z2luKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBpZiAocmVuZGVyZXJzWzBdKSB7XG4gICAgICAgICAgICByZW5kZXJlck5hbWUub25DaGFuZ2UocmVuZGVyZXJzWzBdLnJlbmRlcmVyLnJlbmRlcmVyTmFtZSk7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBjb25zb2xlLmluZm8oYE5vIHJlbmRlcmVycyBmb3IgZmllbGQgJHtmaWVsZC5maWVsZElkfSBmb3VuZC5gLCBmaWVsZCk7XG4gICAgfSwgW2ZpZWxkLmlkLCBmaWVsZC5saXN0LCBmaWVsZC5wcmVkZWZpbmVkVmFsdWVzPy5lbmFibGVkLCBzZWxlY3RlZFBsdWdpbl0pO1xuXG4gICAgcmV0dXJuIChcbiAgICAgICAgPD5cbiAgICAgICAgICAgIDxHcmlkPlxuICAgICAgICAgICAgICAgIDw+XG4gICAgICAgICAgICAgICAgICAgIDxHcmlkLkNvbHVtbiBzcGFuPXsxMn0+XG4gICAgICAgICAgICAgICAgICAgICAgICA8SGVhZGluZyBsZXZlbD17NX0+RmllbGQgcmVuZGVyZXI8L0hlYWRpbmc+XG4gICAgICAgICAgICAgICAgICAgICAgICA8VGV4dCBzaXplPXtcInNtXCJ9PkNob29zZSBhIGNvbXBvbmVudCB0aGF0IHdpbGwgcmVuZGVyIHRoZSBmaWVsZC48L1RleHQ+XG4gICAgICAgICAgICAgICAgICAgIDwvR3JpZC5Db2x1bW4+XG4gICAgICAgICAgICAgICAgICAgIDxHcmlkLkNvbHVtbiBzcGFuPXsxMn0+XG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT17XCJtYi14bFwifT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8UmFkaW9Hcm91cFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7Li4ucmVuZGVyZXJOYW1lfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpdGVtcz17cmVuZGVyZXJzLm1hcChpdGVtID0+ICh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZDogaXRlbS5yZW5kZXJlci5yZW5kZXJlck5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogaXRlbS5yZW5kZXJlci5yZW5kZXJlck5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsYWJlbDogKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxUZXh0IGFzPXtcImRpdlwifSBzaXplPXtcIm1kXCJ9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2l0ZW0ucmVuZGVyZXIubmFtZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8VGV4dFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXM9e1wiZGl2XCJ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaXplPXtcInNtXCJ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9e1widGV4dC1zbSB0ZXh0LW5ldXRyYWwtc3Ryb25nXCJ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtpdGVtLnJlbmRlcmVyLmRlc2NyaXB0aW9ufVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pKX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDwvR3JpZC5Db2x1bW4+XG4gICAgICAgICAgICAgICAgICAgIDxSZW5kZXJlck9wdGlvbnMgcGx1Z2luPXtzZWxlY3RlZFBsdWdpbn0gLz5cbiAgICAgICAgICAgICAgICA8Lz5cbiAgICAgICAgICAgIDwvR3JpZD5cbiAgICAgICAgPC8+XG4gICAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEFwcGVhcmFuY2VUYWI7XG4iXX0= */",
22
19
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
23
20
  }),
24
21
  radioContainer: /*#__PURE__*/css(process.env.NODE_ENV === "production" ? {
@@ -26,8 +23,7 @@ const style = {
26
23
  styles: "margin-bottom:10px;display:flex"
27
24
  } : {
28
25
  name: "4btape-radioContainer",
29
- styles: "margin-bottom:10px;display:flex;label:radioContainer;",
30
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFwcGVhcmFuY2VUYWIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1Cb0IiLCJmaWxlIjoiQXBwZWFyYW5jZVRhYi50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgdXNlRWZmZWN0IH0gZnJvbSBcInJlYWN0XCI7XG5pbXBvcnQgeyBpMThuIH0gZnJvbSBcIkB3ZWJpbnkvYXBwL2kxOG5cIjtcbmltcG9ydCB7IGNzcyB9IGZyb20gXCJAZW1vdGlvbi9jc3NcIjtcbmltcG9ydCB7IHZhbGlkYXRpb24gfSBmcm9tIFwiQHdlYmlueS92YWxpZGF0aW9uXCI7XG5pbXBvcnQgeyB1c2VCaW5kIH0gZnJvbSBcIkB3ZWJpbnkvZm9ybVwiO1xuaW1wb3J0IHsgYWxsb3dDbXNMZWdhY3lSaWNoVGV4dElucHV0IH0gZnJvbSBcIn4vdXRpbHMvYWxsb3dDbXNMZWdhY3lSaWNoVGV4dElucHV0XCI7XG5pbXBvcnQgeyBSZW5kZXJlck9wdGlvbnMgfSBmcm9tIFwiLi9BcHBlYXJhbm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GU6IHZhbGlkYXRpb24uY3JlYXRlKFwicmVxdWlyZWRcIilcbiAgICB9KTtcblxuICAgIGNvbnN0IHNlbGVjdGVkUGx1Z2luID0gcmVuZGVyZXJOYW1lLnZhbHVlXG4gICAgICAgID8gcmVuZGVyZXJzLmZpbmQocGwgPT4gcGwucmVuZGVyZXIucmVuZGVyZXJOYW1lID09PSByZW5kZXJlck5hbWUudmFsdWUpXG4gICAgICAgIDogdW5kZWZpbmVkO1xuXG4gICAgaWYgKHJlbmRlcmVycy5sZW5ndGggPT09IDApIHtcbiAgICAgICAgcmV0dXJuIChcbiAgICAgICAgICAgIDxHcmlkPlxuICAgICAgICAgICAgICAgIDxHcmlkLkNvbHVtblxuICAgICAgICAgICAgICAgICAgICBzcGFuPXsxMn1cbiAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtzdHlsZS5ub0NvbXBvbmVudHNNZXNzYWdlfVxuICAgICAgICAgICAgICAgID57dGBUaGVyZSBhcmUgbm8gY29tcG9uZW50cyB0aGF0IGNhbiByZW5kZXIgdGhpcyBmaWVsZC5gfTwvR3JpZC5Db2x1bW4+XG4gICAgICAgICAgICA8L0dyaWQ+XG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgdXNlRWZmZWN0KCgpID0+IHtcbiAgICAgICAgLy8gSWYgdGhlIGN1cnJlbnRseSBzZWxlY3RlZCByZW5kZXIgcGx1Z2luIGlzIG5vIGxvbmdlciBhdmFpbGFibGUsIHNlbGVjdCB0aGUgZmlyc3QgYXZhaWxhYmxlIG9uZS5cbiAgICAgICAgaWYgKHNlbGVjdGVkUGx1Z2luKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBpZiAocmVuZGVyZXJzWzBdKSB7XG4gICAgICAgICAgICByZW5kZXJlck5hbWUub25DaGFuZ2UocmVuZGVyZXJzWzBdLnJlbmRlcmVyLnJlbmRlcmVyTmFtZSk7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBjb25zb2xlLmluZm8oYE5vIHJlbmRlcmVycyBmb3IgZmllbGQgJHtmaWVsZC5maWVsZElkfSBmb3VuZC5gLCBmaWVsZCk7XG4gICAgfSwgW2ZpZWxkLmlkLCBmaWVsZC5tdWx0aXBsZVZhbHVlcywgZmllbGQucHJlZGVmaW5lZFZhbHVlcz8uZW5hYmxlZCwgc2VsZWN0ZWRQbHVnaW5dKTtcblxuICAgIHJldHVybiAoXG4gICAgICAgIDw+XG4gICAgICAgICAgICA8R3JpZD5cbiAgICAgICAgICAgICAgICA8PlxuICAgICAgICAgICAgICAgICAgICB7YWxsb3dDbXNMZWdhY3lSaWNoVGV4dElucHV0ICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgIDxHcmlkLkNvbHVtbiBzcGFuPXs2fT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8TGVnYWN5UmljaFRleHRJbnB1dCAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9HcmlkLkNvbHVtbj5cbiAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgPEdyaWQuQ29sdW1uIHNwYW49ezEyfT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxIZWFkaW5nIGxldmVsPXs1fT5GaWVsZCByZW5kZXJlcjwvSGVhZGluZz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxUZXh0IHNpemU9e1wic21cIn0+Q2hvb3NlIGEgY29tcG9uZW50IHRoYXQgd2lsbCByZW5kZXIgdGhlIGZpZWxkLjwvVGV4dD5cbiAgICAgICAgICAgICAgICAgICAgPC9HcmlkLkNvbHVtbj5cbiAgICAgICAgICAgICAgICAgICAgPEdyaWQuQ29sdW1uIHNwYW49ezEyfT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPXtcIndieS1tYi14bFwifT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8UmFkaW9Hcm91cFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7Li4ucmVuZGVyZXJOYW1lfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpdGVtcz17cmVuZGVyZXJzLm1hcChpdGVtID0+ICh7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZDogaXRlbS5yZW5kZXJlci5yZW5kZXJlck5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogaXRlbS5yZW5kZXJlci5yZW5kZXJlck5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsYWJlbDogKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxUZXh0IGFzPXtcImRpdlwifSBzaXplPXtcIm1kXCJ9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2l0ZW0ucmVuZGVyZXIubmFtZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8VGV4dFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXM9e1wiZGl2XCJ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaXplPXtcInNtXCJ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9e1wid2J5LXRleHQtc20gd2J5LXRleHQtbmV1dHJhbC1zdHJvbmdcIn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2l0ZW0ucmVuZGVyZXIuZGVzY3JpcHRpb259XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvVGV4dD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSkpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPC9HcmlkLkNvbHVtbj5cbiAgICAgICAgICAgICAgICAgICAgPFJlbmRlcmVyT3B0aW9ucyBwbHVnaW49e3NlbGVjdGVkUGx1Z2lufSAvPlxuICAgICAgICAgICAgICAgIDwvPlxuICAgICAgICAgICAgPC9HcmlkPlxuICAgICAgICA8Lz5cbiAgICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgQXBwZWFyYW5jZVRhYjtcbiJdfQ== */",
26
+ styles: "margin-bottom:10px;display:flex;label:radioContainer;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFwcGVhcmFuY2VUYWIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlCb0IiLCJmaWxlIjoiQXBwZWFyYW5jZVRhYi50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgdXNlRWZmZWN0IH0gZnJvbSBcInJlYWN0XCI7XG5pbXBvcnQgeyBpMThuIH0gZnJvbSBcIkB3ZWJpbnkvYXBwL2kxOG4vaW5kZXguanNcIjtcbmltcG9ydCB7IGNzcyB9IGZyb20gXCJAZW1vdGlvbi9jc3NcIjtcbmltcG9ydCB7IHZhbGlkYXRpb24gfSBmcm9tIFwiQHdlYmlueS92YWxpZGF0aW9uXCI7XG5pbXBvcnQgeyB1c2VCaW5kIH0gZnJvbSBcIkB3ZWJpbnkvZ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G5cbiAgICAgICAgY29uc29sZS5pbmZvKGBObyByZW5kZXJlcnMgZm9yIGZpZWxkICR7ZmllbGQuZmllbGRJZH0gZm91bmQuYCwgZmllbGQpO1xuICAgIH0sIFtmaWVsZC5pZCwgZmllbGQubGlzdCwgZmllbGQucHJlZGVmaW5lZFZhbHVlcz8uZW5hYmxlZCwgc2VsZWN0ZWRQbHVnaW5dKTtcblxuICAgIHJldHVybiAoXG4gICAgICAgIDw+XG4gICAgICAgICAgICA8R3JpZD5cbiAgICAgICAgICAgICAgICA8PlxuICAgICAgICAgICAgICAgICAgICA8R3JpZC5Db2x1bW4gc3Bhbj17MTJ9PlxuICAgICAgICAgICAgICAgICAgICAgICAgPEhlYWRpbmcgbGV2ZWw9ezV9PkZpZWxkIHJlbmRlcmVyPC9IZWFkaW5nPlxuICAgICAgICAgICAgICAgICAgICAgICAgPFRleHQgc2l6ZT17XCJzbVwifT5DaG9vc2UgYSBjb21wb25lbnQgdGhhdCB3aWxsIHJlbmRlciB0aGUgZmllbGQuPC9UZXh0PlxuICAgICAgICAgICAgICAgICAgICA8L0dyaWQuQ29sdW1uPlxuICAgICAgICAgICAgICAgICAgICA8R3JpZC5Db2x1bW4gc3Bhbj17MTJ9PlxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9e1wibWIteGxcIn0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPFJhZGlvR3JvdXBcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgey4uLnJlbmRlcmVyTmFtZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXRlbXM9e3JlbmRlcmVycy5tYXAoaXRlbSA9PiAoe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ6IGl0ZW0ucmVuZGVyZXIucmVuZGVyZXJOYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IGl0ZW0ucmVuZGVyZXIucmVuZGVyZXJOYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGFiZWw6IChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8VGV4dCBhcz17XCJkaXZcIn0gc2l6ZT17XCJtZFwifT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtpdGVtLnJlbmRlcmVyLm5hbWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvVGV4dD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFRleHRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFzPXtcImRpdlwifVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2l6ZT17XCJzbVwifVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtcInRleHQtc20gdGV4dC1uZXV0cmFsLXN0cm9uZ1wifVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aXRlbS5yZW5kZXJlci5kZXNjcmlwdGlvbn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9KSl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8L0dyaWQuQ29sdW1uPlxuICAgICAgICAgICAgICAgICAgICA8UmVuZGVyZXJPcHRpb25zIHBsdWdpbj17c2VsZWN0ZWRQbHVnaW59IC8+XG4gICAgICAgICAgICAgICAgPC8+XG4gICAgICAgICAgICA8L0dyaWQ+XG4gICAgICAgIDwvPlxuICAgICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBBcHBlYXJhbmNlVGFiO1xuIl19 */",
31
27
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
32
28
  })
33
29
  };
@@ -57,10 +53,8 @@ const AppearanceTab = () => {
57
53
  return;
58
54
  }
59
55
  console.info(`No renderers for field ${field.fieldId} found.`, field);
60
- }, [field.id, field.multipleValues, field.predefinedValues?.enabled, selectedPlugin]);
61
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Grid, null, /*#__PURE__*/React.createElement(React.Fragment, null, allowCmsLegacyRichTextInput && /*#__PURE__*/React.createElement(Grid.Column, {
62
- span: 6
63
- }, /*#__PURE__*/React.createElement(LegacyRichTextInput, null)), /*#__PURE__*/React.createElement(Grid.Column, {
56
+ }, [field.id, field.list, field.predefinedValues?.enabled, selectedPlugin]);
57
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Grid, null, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Grid.Column, {
64
58
  span: 12
65
59
  }, /*#__PURE__*/React.createElement(Heading, {
66
60
  level: 5
@@ -69,7 +63,7 @@ const AppearanceTab = () => {
69
63
  }, "Choose a component that will render the field.")), /*#__PURE__*/React.createElement(Grid.Column, {
70
64
  span: 12
71
65
  }, /*#__PURE__*/React.createElement("div", {
72
- className: "wby-mb-xl"
66
+ className: "mb-xl"
73
67
  }, /*#__PURE__*/React.createElement(RadioGroup, Object.assign({}, rendererName, {
74
68
  items: renderers.map(item => ({
75
69
  id: item.renderer.rendererName,
@@ -80,7 +74,7 @@ const AppearanceTab = () => {
80
74
  }, item.renderer.name), /*#__PURE__*/React.createElement(Text, {
81
75
  as: "div",
82
76
  size: "sm",
83
- className: "wby-text-sm wby-text-neutral-strong"
77
+ className: "text-sm text-neutral-strong"
84
78
  }, item.renderer.description))
85
79
  }))
86
80
  })))), /*#__PURE__*/React.createElement(RendererOptions, {
@@ -1 +1 @@
1
- {"version":3,"names":["React","useEffect","i18n","css","validation","useBind","allowCmsLegacyRichTextInput","RendererOptions","LegacyRichTextInput","useRendererPlugins","useModelField","RadioGroup","Text","Grid","Heading","t","ns","style","noComponentsMessage","process","env","NODE_ENV","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","radioContainer","AppearanceTab","renderers","field","rendererName","validate","create","selectedPlugin","value","find","pl","renderer","undefined","length","createElement","Column","span","className","onChange","console","info","fieldId","id","multipleValues","predefinedValues","enabled","Fragment","level","size","Object","assign","items","item","label","as","description","plugin"],"sources":["AppearanceTab.tsx"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { i18n } from \"@webiny/app/i18n\";\nimport { css } from \"@emotion/css\";\nimport { validation } from \"@webiny/validation\";\nimport { useBind } from \"@webiny/form\";\nimport { allowCmsLegacyRichTextInput } from \"~/utils/allowCmsLegacyRichTextInput\";\nimport { RendererOptions } from \"./AppearanceTab/RendererOptions\";\nimport { LegacyRichTextInput } from \"./AppearanceTab/LegacyRichTextInput\";\nimport { useRendererPlugins } from \"./useRendererPlugins\";\nimport { useModelField } from \"~/admin/components/ModelFieldProvider\";\nimport { RadioGroup, Text, Grid, Heading } from \"@webiny/admin-ui\";\n\nconst t = i18n.ns(\"app-headless-cms/admin/content-model-editor/tabs/appearance-tab\");\n\nconst style = {\n noComponentsMessage: css({\n textAlign: \"center\",\n padding: 25\n }),\n radioContainer: css({\n marginBottom: 10,\n display: \"flex\"\n })\n};\n\nconst AppearanceTab = () => {\n const renderers = useRendererPlugins();\n const { field } = useModelField();\n\n const rendererName = useBind({\n name: \"renderer.name\",\n validate: validation.create(\"required\")\n });\n\n const selectedPlugin = rendererName.value\n ? renderers.find(pl => pl.renderer.rendererName === rendererName.value)\n : undefined;\n\n if (renderers.length === 0) {\n return (\n <Grid>\n <Grid.Column\n span={12}\n className={style.noComponentsMessage}\n >{t`There are no components that can render this field.`}</Grid.Column>\n </Grid>\n );\n }\n\n useEffect(() => {\n // If the currently selected render plugin is no longer available, select the first available one.\n if (selectedPlugin) {\n return;\n }\n\n if (renderers[0]) {\n rendererName.onChange(renderers[0].renderer.rendererName);\n return;\n }\n\n console.info(`No renderers for field ${field.fieldId} found.`, field);\n }, [field.id, field.multipleValues, field.predefinedValues?.enabled, selectedPlugin]);\n\n return (\n <>\n <Grid>\n <>\n {allowCmsLegacyRichTextInput && (\n <Grid.Column span={6}>\n <LegacyRichTextInput />\n </Grid.Column>\n )}\n <Grid.Column span={12}>\n <Heading level={5}>Field renderer</Heading>\n <Text size={\"sm\"}>Choose a component that will render the field.</Text>\n </Grid.Column>\n <Grid.Column span={12}>\n <div className={\"wby-mb-xl\"}>\n <RadioGroup\n {...rendererName}\n items={renderers.map(item => ({\n id: item.renderer.rendererName,\n value: item.renderer.rendererName,\n label: (\n <div>\n <Text as={\"div\"} size={\"md\"}>\n {item.renderer.name}\n </Text>\n <Text\n as={\"div\"}\n size={\"sm\"}\n className={\"wby-text-sm wby-text-neutral-strong\"}\n >\n {item.renderer.description}\n </Text>\n </div>\n )\n }))}\n />\n </div>\n </Grid.Column>\n <RendererOptions plugin={selectedPlugin} />\n </>\n </Grid>\n </>\n );\n};\n\nexport default AppearanceTab;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SAASC,IAAI,QAAQ,kBAAkB;AACvC,SAASC,GAAG,QAAQ,cAAc;AAClC,SAASC,UAAU,QAAQ,oBAAoB;AAC/C,SAASC,OAAO,QAAQ,cAAc;AACtC,SAASC,2BAA2B;AACpC,SAASC,eAAe;AACxB,SAASC,mBAAmB;AAC5B,SAASC,kBAAkB;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AU,EAAA6C,MAAA,CAAAC,MAAA,KACH1B,YAAY;IAChB2B,KAAK,EAAE7B,SAAS,CAACL,GAAG,CAACmC,IAAI,KAAK;MAC1BV,EAAE,EAAEU,IAAI,CAACrB,QAAQ,CAACP,YAAY;MAC9BI,KAAK,EAAEwB,IAAI,CAACrB,QAAQ,CAACP,YAAY;MACjC6B,KAAK,eACD5D,KAAA,CAAAyC,aAAA,2BACIzC,KAAA,CAAAyC,aAAA,CAAC7B,IAAI;QAACiD,EAAE,EAAE,KAAM;QAACN,IAAI,EAAE;MAAK,GACvBI,IAAI,CAACrB,QAAQ,CAAChB,IACb,CAAC,eACPtB,KAAA,CAAAyC,aAAA,CAAC7B,IAAI;QACDiD,EAAE,EAAE,KAAM;QACVN,IAAI,EAAE,IAAK;QACXX,SAAS,EAAE;MAAsC,GAEhDe,IAAI,CAACrB,QAAQ,CAACwB,WACb,CACL;IAEb,CAAC,CAAC;EAAE,EACP,CACA,CACI,CAAC,eACd9D,KAAA,CAAAyC,aAAA,CAAClC,eAAe;IAACwD,MAAM,EAAE7B;EAAe,CAAE,CAC5C,CACA,CACR,CAAC;AAEX,CAAC;AAED,eAAeN,aAAa","ignoreList":[]}
1
+ {"version":3,"names":["React","useEffect","i18n","css","validation","useBind","RendererOptions","useRendererPlugins","useModelField","RadioGroup","Text","Grid","Heading","t","ns","style","noComponentsMessage","process","env","NODE_ENV","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","radioContainer","AppearanceTab","renderers","field","rendererName","validate","create","selectedPlugin","value","find","pl","renderer","undefined","length","createElement","Column","span","className","onChange","console","info","fieldId","id","list","predefinedValues","enabled","Fragment","level","size","Object","assign","items","map","item","label","as","description","plugin"],"sources":["AppearanceTab.tsx"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { i18n } from \"@webiny/app/i18n/index.js\";\nimport { css } from \"@emotion/css\";\nimport { validation } from \"@webiny/validation\";\nimport { useBind } from \"@webiny/form\";\nimport { RendererOptions } from \"./AppearanceTab/RendererOptions.js\";\nimport { useRendererPlugins } from \"./useRendererPlugins.js\";\nimport { useModelField } from \"~/admin/components/ModelFieldProvider/index.js\";\nimport { RadioGroup, Text, Grid, Heading } from \"@webiny/admin-ui\";\n\nconst t = i18n.ns(\"app-headless-cms/admin/content-model-editor/tabs/appearance-tab\");\n\nconst style = {\n noComponentsMessage: css({\n textAlign: \"center\",\n padding: 25\n }),\n radioContainer: css({\n marginBottom: 10,\n display: \"flex\"\n })\n};\n\nconst AppearanceTab = () => {\n const renderers = useRendererPlugins();\n const { field } = useModelField();\n\n const rendererName = useBind({\n name: \"renderer.name\",\n validate: validation.create(\"required\")\n });\n\n const selectedPlugin = rendererName.value\n ? renderers.find(pl => pl.renderer.rendererName === rendererName.value)\n : undefined;\n\n if (renderers.length === 0) {\n return (\n <Grid>\n <Grid.Column\n span={12}\n className={style.noComponentsMessage}\n >{t`There are no components that can render this field.`}</Grid.Column>\n </Grid>\n );\n }\n\n useEffect(() => {\n // If the currently selected render plugin is no longer available, select the first available one.\n if (selectedPlugin) {\n return;\n }\n\n if (renderers[0]) {\n rendererName.onChange(renderers[0].renderer.rendererName);\n return;\n }\n\n console.info(`No renderers for field ${field.fieldId} found.`, field);\n }, [field.id, field.list, field.predefinedValues?.enabled, selectedPlugin]);\n\n return (\n <>\n <Grid>\n <>\n <Grid.Column span={12}>\n <Heading level={5}>Field renderer</Heading>\n <Text size={\"sm\"}>Choose a component that will render the field.</Text>\n </Grid.Column>\n <Grid.Column span={12}>\n <div className={\"mb-xl\"}>\n <RadioGroup\n {...rendererName}\n items={renderers.map(item => ({\n id: item.renderer.rendererName,\n value: item.renderer.rendererName,\n label: (\n <div>\n <Text as={\"div\"} size={\"md\"}>\n {item.renderer.name}\n </Text>\n <Text\n as={\"div\"}\n size={\"sm\"}\n className={\"text-sm text-neutral-strong\"}\n >\n {item.renderer.description}\n </Text>\n </div>\n )\n }))}\n />\n </div>\n </Grid.Column>\n <RendererOptions plugin={selectedPlugin} />\n </>\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AAAsC,aAAA;IAAKG,SAAS,EAAE;EAAQ,gBACpBzC,KAAA,CAAAsC,aAAA,CAAC7B,UAAU,EAAA4C,MAAA,CAAAC,MAAA,KACH1B,YAAY;IAChB2B,KAAK,EAAE7B,SAAS,CAAC8B,GAAG,CAACC,IAAI,KAAK;MAC1BX,EAAE,EAAEW,IAAI,CAACtB,QAAQ,CAACP,YAAY;MAC9BI,KAAK,EAAEyB,IAAI,CAACtB,QAAQ,CAACP,YAAY;MACjC8B,KAAK,eACD1D,KAAA,CAAAsC,aAAA,2BACItC,KAAA,CAAAsC,aAAA,CAAC5B,IAAI;QAACiD,EAAE,EAAE,KAAM;QAACP,IAAI,EAAE;MAAK,GACvBK,IAAI,CAACtB,QAAQ,CAACf,IACb,CAAC,eACPpB,KAAA,CAAAsC,aAAA,CAAC5B,IAAI;QACDiD,EAAE,EAAE,KAAM;QACVP,IAAI,EAAE,IAAK;QACXX,SAAS,EAAE;MAA8B,GAExCgB,IAAI,CAACtB,QAAQ,CAACyB,WACb,CACL;IAEb,CAAC,CAAC;EAAE,EACP,CACA,CACI,CAAC,eACd5D,KAAA,CAAAsC,aAAA,CAAChC,eAAe;IAACuD,MAAM,EAAE9B;EAAe,CAAE,CAC5C,CACA,CACR,CAAC;AAEX,CAAC;AAED,eAAeN,aAAa","ignoreList":[]}
@@ -1,12 +1,12 @@
1
1
  import React, { useEffect, useCallback, useRef, useMemo } from "react";
2
- import camelCase from "lodash/camelCase";
3
- import { Grid, Switch, Input, Label } from "@webiny/admin-ui";
2
+ import camelCase from "lodash/camelCase.js";
3
+ import { Grid, Switch, Input, Textarea } from "@webiny/admin-ui";
4
4
  import { validation } from "@webiny/validation";
5
- import { Tags } from "@webiny/ui/Tags";
5
+ import { Tags } from "@webiny/ui/Tags/index.js";
6
6
  import { useForm, Bind } from "@webiny/form";
7
- import { useModelFieldEditor } from "./..";
8
- import { useModelEditor } from "../../../hooks";
9
- import { useModelField } from "../../../hooks";
7
+ import { useModelFieldEditor } from "../index.js";
8
+ import { useModelEditor } from "../../../hooks/index.js";
9
+ import { useModelField } from "../../../hooks/index.js";
10
10
  const GeneralTab = () => {
11
11
  const form = useForm();
12
12
  const {
@@ -99,10 +99,10 @@ const GeneralTab = () => {
99
99
  }))), /*#__PURE__*/React.createElement(Grid.Column, {
100
100
  span: 6
101
101
  }, /*#__PURE__*/React.createElement(Bind, {
102
- name: "multipleValues"
102
+ name: "list"
103
103
  }, /*#__PURE__*/React.createElement(Switch, {
104
- label: fieldPlugin.field.multipleValuesLabel,
105
- disabled: !fieldPlugin.field.allowMultipleValues,
104
+ label: fieldPlugin.field.listLabel,
105
+ disabled: !fieldPlugin.field.allowList,
106
106
  "data-testid": `cms.editor.field.settings.general.switch-multiplevalues`
107
107
  }))), /*#__PURE__*/React.createElement(Grid.Column, {
108
108
  span: 6
@@ -115,23 +115,37 @@ const GeneralTab = () => {
115
115
  }))), /*#__PURE__*/React.createElement(Grid.Column, {
116
116
  span: 12
117
117
  }, /*#__PURE__*/React.createElement(Bind, {
118
- name: "helpText"
118
+ name: "description"
119
119
  }, /*#__PURE__*/React.createElement(Input, {
120
- label: /*#__PURE__*/React.createElement(Label, {
121
- text: "Help text",
122
- description: "(optional)"
123
- }),
120
+ label: "Description",
121
+ description: "This text will be shown below the label (optional)",
124
122
  size: "lg",
125
- "data-testid": `cms.editor.field.settings.general.helptext`
123
+ "data-testid": `cms.editor.field.settings.general.description`
124
+ }))), /*#__PURE__*/React.createElement(Grid.Column, {
125
+ span: 12
126
+ }, /*#__PURE__*/React.createElement(Bind, {
127
+ name: "note"
128
+ }, /*#__PURE__*/React.createElement(Input, {
129
+ label: "Note",
130
+ description: "This text will be shown below the input (optional)",
131
+ size: "lg",
132
+ "data-testid": `cms.editor.field.settings.general.note`
133
+ }))), /*#__PURE__*/React.createElement(Grid.Column, {
134
+ span: 12
135
+ }, /*#__PURE__*/React.createElement(Bind, {
136
+ name: "help"
137
+ }, /*#__PURE__*/React.createElement(Textarea, {
138
+ label: "Help",
139
+ description: "This text will be shown in a tooltip (optional)",
140
+ size: "lg",
141
+ "data-testid": `cms.editor.field.settings.general.help`
126
142
  }))), /*#__PURE__*/React.createElement(Grid.Column, {
127
143
  span: 12
128
144
  }, /*#__PURE__*/React.createElement(Bind, {
129
145
  name: "tags"
130
146
  }, /*#__PURE__*/React.createElement(Tags, {
131
- label: /*#__PURE__*/React.createElement(Label, {
132
- text: "Tags",
133
- description: "(optional)"
134
- }),
147
+ label: "Tags",
148
+ description: "Field tags are useful for developers and are not visible in the UI (optional)",
135
149
  protectedTags: fieldPlugin.field.tags,
136
150
  "data-testid": `cms.editor.field.settings.general.tags`
137
151
  }))), /*#__PURE__*/React.createElement(Grid.Column, {