@webiny/app-headless-cms 5.40.0-beta.2 → 5.40.0-beta.4

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 (1202) hide show
  1. package/ContentEntryEditorConfig.d.ts +138 -0
  2. package/ContentEntryEditorConfig.js +43 -0
  3. package/ContentEntryEditorConfig.js.map +1 -0
  4. package/ContentEntryListConfig.d.ts +78 -0
  5. package/ContentEntryListConfig.js +16 -0
  6. package/ContentEntryListConfig.js.map +1 -0
  7. package/HeadlessCMS.d.ts +1 -1
  8. package/HeadlessCMS.js +2 -6
  9. package/HeadlessCMS.js.map +1 -1
  10. package/admin/components/ContentEntries/BulkActions/ActionDelete.d.ts +2 -2
  11. package/admin/components/ContentEntries/BulkActions/ActionDelete.js +15 -18
  12. package/admin/components/ContentEntries/BulkActions/ActionDelete.js.map +1 -1
  13. package/admin/components/ContentEntries/BulkActions/ActionMove.d.ts +2 -2
  14. package/admin/components/ContentEntries/BulkActions/ActionMove.js +1 -2
  15. package/admin/components/ContentEntries/BulkActions/ActionMove.js.map +1 -1
  16. package/admin/components/ContentEntries/BulkActions/ActionPublish.d.ts +2 -2
  17. package/admin/components/ContentEntries/BulkActions/ActionPublish.js +7 -10
  18. package/admin/components/ContentEntries/BulkActions/ActionPublish.js.map +1 -1
  19. package/admin/components/ContentEntries/BulkActions/ActionUnpublish.d.ts +2 -2
  20. package/admin/components/ContentEntries/BulkActions/ActionUnpublish.js +7 -10
  21. package/admin/components/ContentEntries/BulkActions/ActionUnpublish.js.map +1 -1
  22. package/admin/components/ContentEntries/BulkActions/BulkActions.d.ts +2 -2
  23. package/admin/components/ContentEntries/BulkActions/BulkActions.js +2 -4
  24. package/admin/components/ContentEntries/BulkActions/BulkActions.js.map +1 -1
  25. package/admin/components/ContentEntries/BulkActions/BulkActions.styled.d.ts +3 -3
  26. package/admin/components/ContentEntries/BulkActions/BulkActions.styled.js +35 -15
  27. package/admin/components/ContentEntries/BulkActions/BulkActions.styled.js.map +1 -1
  28. package/admin/components/ContentEntries/BulkActions/index.js.map +1 -1
  29. package/admin/components/ContentEntries/Empty/index.d.ts +1 -1
  30. package/admin/components/ContentEntries/Empty/index.js +8 -6
  31. package/admin/components/ContentEntries/Empty/index.js.map +1 -1
  32. package/admin/components/ContentEntries/Empty/styled.d.ts +1 -3
  33. package/admin/components/ContentEntries/Empty/styled.js +21 -10
  34. package/admin/components/ContentEntries/Empty/styled.js.map +1 -1
  35. package/admin/components/ContentEntries/Filters/FieldsMapper.js +4 -6
  36. package/admin/components/ContentEntries/Filters/FieldsMapper.js.map +1 -1
  37. package/admin/components/ContentEntries/Filters/FilterByStatus.d.ts +2 -2
  38. package/admin/components/ContentEntries/Filters/FilterByStatus.js +1 -2
  39. package/admin/components/ContentEntries/Filters/FilterByStatus.js.map +1 -1
  40. package/admin/components/ContentEntries/Filters/Filters.d.ts +2 -2
  41. package/admin/components/ContentEntries/Filters/Filters.js +1 -3
  42. package/admin/components/ContentEntries/Filters/Filters.js.map +1 -1
  43. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGatewayInterface.d.ts +5 -0
  44. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGatewayInterface.js +7 -0
  45. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGatewayInterface.js.map +1 -0
  46. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGraphQLGateway.d.ts +8 -0
  47. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGraphQLGateway.js +68 -0
  48. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/EntriesGraphQLGateway.js.map +1 -0
  49. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/entries.gql.d.ts +2 -0
  50. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/entries.gql.js +16 -0
  51. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/entries.gql.js.map +1 -0
  52. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/entries.types.d.ts +25 -0
  53. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/entries.types.js +7 -0
  54. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/entries.types.js.map +1 -0
  55. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/index.d.ts +2 -0
  56. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/index.js +29 -0
  57. package/admin/components/ContentEntries/Filters/RefFieldRenderer/adapters/index.js.map +1 -0
  58. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/AutoComplete.d.ts +8 -0
  59. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/AutoComplete.js +43 -0
  60. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/AutoComplete.js.map +1 -0
  61. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/Ref.d.ts +2 -0
  62. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/Ref.js +55 -0
  63. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/Ref.js.map +1 -0
  64. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.d.ts +38 -0
  65. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.js +76 -0
  66. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.js.map +1 -0
  67. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.test.d.ts +1 -0
  68. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.test.js +159 -0
  69. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/RefPresenter.test.js.map +1 -0
  70. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/index.d.ts +1 -0
  71. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/index.js +18 -0
  72. package/admin/components/ContentEntries/Filters/RefFieldRenderer/components/index.js.map +1 -0
  73. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/Entry.d.ts +22 -0
  74. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/Entry.js +26 -0
  75. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/Entry.js.map +1 -0
  76. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryMapper.d.ts +5 -0
  77. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryMapper.js +37 -0
  78. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryMapper.js.map +1 -0
  79. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepository.d.ts +16 -0
  80. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepository.js +78 -0
  81. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepository.js.map +1 -0
  82. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepositoryFactory.d.ts +9 -0
  83. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepositoryFactory.js +39 -0
  84. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/EntryRepositoryFactory.js.map +1 -0
  85. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/Loading.d.ts +14 -0
  86. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/Loading.js +75 -0
  87. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/Loading.js.map +1 -0
  88. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/index.d.ts +5 -0
  89. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/index.js +62 -0
  90. package/admin/components/ContentEntries/Filters/RefFieldRenderer/domain/index.js.map +1 -0
  91. package/admin/components/ContentEntries/Filters/RefFieldRenderer/index.d.ts +1 -0
  92. package/admin/components/ContentEntries/Filters/RefFieldRenderer/index.js +18 -0
  93. package/admin/components/ContentEntries/Filters/RefFieldRenderer/index.js.map +1 -0
  94. package/admin/components/ContentEntries/Filters/index.js.map +1 -1
  95. package/admin/components/ContentEntries/Filters/styles.d.ts +3 -3
  96. package/admin/components/ContentEntries/Filters/styles.js +43 -15
  97. package/admin/components/ContentEntries/Filters/styles.js.map +1 -1
  98. package/admin/components/ContentEntries/Header/ButtonFilters/ButtonFilters.d.ts +2 -2
  99. package/admin/components/ContentEntries/Header/ButtonFilters/ButtonFilters.js +17 -7
  100. package/admin/components/ContentEntries/Header/ButtonFilters/ButtonFilters.js.map +1 -1
  101. package/admin/components/ContentEntries/Header/ButtonFilters/index.js.map +1 -1
  102. package/admin/components/ContentEntries/Header/ButtonsCreate/ButtonsCreate.d.ts +1 -1
  103. package/admin/components/ContentEntries/Header/ButtonsCreate/ButtonsCreate.js +6 -4
  104. package/admin/components/ContentEntries/Header/ButtonsCreate/ButtonsCreate.js.map +1 -1
  105. package/admin/components/ContentEntries/Header/ButtonsCreate/index.js.map +1 -1
  106. package/admin/components/ContentEntries/Header/ButtonsCreate/styled.d.ts +1 -1
  107. package/admin/components/ContentEntries/Header/ButtonsCreate/styled.js +15 -5
  108. package/admin/components/ContentEntries/Header/ButtonsCreate/styled.js.map +1 -1
  109. package/admin/components/ContentEntries/Header/Header.d.ts +1 -1
  110. package/admin/components/ContentEntries/Header/Header.js +4 -15
  111. package/admin/components/ContentEntries/Header/Header.js.map +1 -1
  112. package/admin/components/ContentEntries/Header/Title/Title.d.ts +2 -2
  113. package/admin/components/ContentEntries/Header/Title/Title.js +1 -2
  114. package/admin/components/ContentEntries/Header/Title/Title.js.map +1 -1
  115. package/admin/components/ContentEntries/Header/Title/index.js.map +1 -1
  116. package/admin/components/ContentEntries/Header/Title/styled.js +15 -5
  117. package/admin/components/ContentEntries/Header/Title/styled.js.map +1 -1
  118. package/admin/components/ContentEntries/Header/index.js.map +1 -1
  119. package/admin/components/ContentEntries/Header/styled.d.ts +10 -2
  120. package/admin/components/ContentEntries/Header/styled.js +58 -11
  121. package/admin/components/ContentEntries/Header/styled.js.map +1 -1
  122. package/admin/components/ContentEntries/LoadMoreButton/LoadMoreButton.d.ts +2 -2
  123. package/admin/components/ContentEntries/LoadMoreButton/LoadMoreButton.js +1 -2
  124. package/admin/components/ContentEntries/LoadMoreButton/LoadMoreButton.js.map +1 -1
  125. package/admin/components/ContentEntries/LoadMoreButton/index.js.map +1 -1
  126. package/admin/components/ContentEntries/LoadMoreButton/styled.d.ts +1 -1
  127. package/admin/components/ContentEntries/LoadMoreButton/styled.js +15 -5
  128. package/admin/components/ContentEntries/LoadMoreButton/styled.js.map +1 -1
  129. package/admin/components/ContentEntries/LoadingMore/index.d.ts +2 -2
  130. package/admin/components/ContentEntries/LoadingMore/index.js +1 -2
  131. package/admin/components/ContentEntries/LoadingMore/index.js.map +1 -1
  132. package/admin/components/ContentEntries/LoadingMore/styled.d.ts +2 -2
  133. package/admin/components/ContentEntries/LoadingMore/styled.js +29 -10
  134. package/admin/components/ContentEntries/LoadingMore/styled.js.map +1 -1
  135. package/admin/components/ContentEntries/Table/Actions/ChangeEntryStatus.d.ts +2 -2
  136. package/admin/components/ContentEntries/Table/Actions/ChangeEntryStatus.js +14 -9
  137. package/admin/components/ContentEntries/Table/Actions/ChangeEntryStatus.js.map +1 -1
  138. package/admin/components/ContentEntries/Table/Actions/DeleteEntry.d.ts +2 -2
  139. package/admin/components/ContentEntries/Table/Actions/DeleteEntry.js +9 -8
  140. package/admin/components/ContentEntries/Table/Actions/DeleteEntry.js.map +1 -1
  141. package/admin/components/ContentEntries/Table/Actions/EditEntry.d.ts +2 -2
  142. package/admin/components/ContentEntries/Table/Actions/EditEntry.js +1 -2
  143. package/admin/components/ContentEntries/Table/Actions/EditEntry.js.map +1 -1
  144. package/admin/components/ContentEntries/Table/Actions/MoveEntry.d.ts +2 -2
  145. package/admin/components/ContentEntries/Table/Actions/MoveEntry.js +1 -2
  146. package/admin/components/ContentEntries/Table/Actions/MoveEntry.js.map +1 -1
  147. package/admin/components/ContentEntries/Table/Actions/index.js.map +1 -1
  148. package/admin/components/ContentEntries/Table/Cells/CellActions.d.ts +8 -2
  149. package/admin/components/ContentEntries/Table/Cells/CellActions.js +2 -2
  150. package/admin/components/ContentEntries/Table/Cells/CellActions.js.map +1 -1
  151. package/admin/components/ContentEntries/Table/Cells/CellAuthor.d.ts +2 -2
  152. package/admin/components/ContentEntries/Table/Cells/CellAuthor.js +1 -2
  153. package/admin/components/ContentEntries/Table/Cells/CellAuthor.js.map +1 -1
  154. package/admin/components/ContentEntries/Table/Cells/CellCreated.d.ts +2 -2
  155. package/admin/components/ContentEntries/Table/Cells/CellCreated.js +1 -2
  156. package/admin/components/ContentEntries/Table/Cells/CellCreated.js.map +1 -1
  157. package/admin/components/ContentEntries/Table/Cells/CellModified.d.ts +2 -2
  158. package/admin/components/ContentEntries/Table/Cells/CellModified.js +1 -2
  159. package/admin/components/ContentEntries/Table/Cells/CellModified.js.map +1 -1
  160. package/admin/components/ContentEntries/Table/Cells/CellName.d.ts +4 -4
  161. package/admin/components/ContentEntries/Table/Cells/CellName.js +3 -6
  162. package/admin/components/ContentEntries/Table/Cells/CellName.js.map +1 -1
  163. package/admin/components/ContentEntries/Table/Cells/CellStatus.d.ts +2 -2
  164. package/admin/components/ContentEntries/Table/Cells/CellStatus.js +1 -2
  165. package/admin/components/ContentEntries/Table/Cells/CellStatus.js.map +1 -1
  166. package/admin/components/ContentEntries/Table/Cells/Cells.styled.d.ts +2 -4
  167. package/admin/components/ContentEntries/Table/Cells/Cells.styled.js +57 -20
  168. package/admin/components/ContentEntries/Table/Cells/Cells.styled.js.map +1 -1
  169. package/admin/components/ContentEntries/Table/Cells/index.js.map +1 -1
  170. package/admin/components/ContentEntries/Table/index.js +1 -2
  171. package/admin/components/ContentEntries/Table/index.js.map +1 -1
  172. package/admin/components/ContentEntries/Table/styled.js +16 -7
  173. package/admin/components/ContentEntries/Table/styled.js.map +1 -1
  174. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinDeleteItemGraphQLGateway.d.ts +9 -0
  175. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinDeleteItemGraphQLGateway.js +42 -0
  176. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinDeleteItemGraphQLGateway.js.map +1 -0
  177. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinItemMapper.d.ts +5 -0
  178. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinItemMapper.js +33 -0
  179. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinItemMapper.js.map +1 -0
  180. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinListGraphQLGateway.d.ts +11 -0
  181. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinListGraphQLGateway.js +49 -0
  182. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinListGraphQLGateway.js.map +1 -0
  183. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGateway.d.ts +9 -0
  184. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGateway.js +41 -0
  185. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGateway.js.map +1 -0
  186. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGatewayWithCallback.d.ts +8 -0
  187. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGatewayWithCallback.js +30 -0
  188. package/admin/components/ContentEntries/TrashBin/adapters/TrashBinRestoreItemGraphQLGatewayWithCallback.js.map +1 -0
  189. package/admin/components/ContentEntries/TrashBin/adapters/index.d.ts +5 -0
  190. package/admin/components/ContentEntries/TrashBin/adapters/index.js +62 -0
  191. package/admin/components/ContentEntries/TrashBin/adapters/index.js.map +1 -0
  192. package/admin/components/ContentEntries/TrashBin/components/TrashBin.d.ts +2 -0
  193. package/admin/components/ContentEntries/TrashBin/components/TrashBin.js +59 -0
  194. package/admin/components/ContentEntries/TrashBin/components/TrashBin.js.map +1 -0
  195. package/admin/components/ContentEntries/TrashBin/components/TrashBin.styled.d.ts +14 -0
  196. package/admin/components/ContentEntries/TrashBin/components/TrashBin.styled.js +54 -0
  197. package/admin/components/ContentEntries/TrashBin/components/TrashBin.styled.js.map +1 -0
  198. package/admin/components/ContentEntries/TrashBin/components/TrashBinButton.d.ts +5 -0
  199. package/admin/components/ContentEntries/TrashBin/components/TrashBinButton.js +19 -0
  200. package/admin/components/ContentEntries/TrashBin/components/TrashBinButton.js.map +1 -0
  201. package/admin/components/ContentEntries/TrashBin/components/index.d.ts +1 -0
  202. package/admin/components/ContentEntries/TrashBin/components/index.js +18 -0
  203. package/admin/components/ContentEntries/TrashBin/components/index.js.map +1 -0
  204. package/admin/components/ContentEntries/TrashBin/index.d.ts +1 -0
  205. package/admin/components/ContentEntries/TrashBin/index.js +18 -0
  206. package/admin/components/ContentEntries/TrashBin/index.js.map +1 -0
  207. package/admin/components/ContentEntryForm/ContentEntryForm.d.ts +37 -7
  208. package/admin/components/ContentEntryForm/ContentEntryForm.js +62 -136
  209. package/admin/components/ContentEntryForm/ContentEntryForm.js.map +1 -1
  210. package/admin/components/ContentEntryForm/ContentEntryFormPreview.d.ts +9 -4
  211. package/admin/components/ContentEntryForm/ContentEntryFormPreview.js +36 -65
  212. package/admin/components/ContentEntryForm/ContentEntryFormPreview.js.map +1 -1
  213. package/admin/components/ContentEntryForm/ContentEntryFormProvider.d.ts +27 -0
  214. package/admin/components/ContentEntryForm/ContentEntryFormProvider.js +187 -0
  215. package/admin/components/ContentEntryForm/ContentEntryFormProvider.js.map +1 -0
  216. package/admin/components/ContentEntryForm/CustomLayout.d.ts +8 -0
  217. package/admin/components/ContentEntryForm/CustomLayout.js +43 -0
  218. package/admin/components/ContentEntryForm/CustomLayout.js.map +1 -0
  219. package/admin/components/ContentEntryForm/DefaultLayout.d.ts +7 -0
  220. package/admin/components/ContentEntryForm/DefaultLayout.js +27 -0
  221. package/admin/components/ContentEntryForm/DefaultLayout.js.map +1 -0
  222. package/admin/components/ContentEntryForm/FieldElement.d.ts +5 -3
  223. package/admin/components/ContentEntryForm/FieldElement.js +16 -12
  224. package/admin/components/ContentEntryForm/FieldElement.js.map +1 -1
  225. package/admin/components/ContentEntryForm/Fields.d.ts +2 -2
  226. package/admin/components/ContentEntryForm/Fields.js +3 -3
  227. package/admin/components/ContentEntryForm/Fields.js.map +1 -1
  228. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/ContentFormOptionsMenu.d.ts +2 -2
  229. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/ContentFormOptionsMenu.js +1 -2
  230. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/ContentFormOptionsMenu.js.map +1 -1
  231. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/ContentFormOptionsMenu.styles.d.ts +1 -1
  232. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/ContentFormOptionsMenu.styles.js +15 -5
  233. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/ContentFormOptionsMenu.styles.js.map +1 -1
  234. package/admin/components/ContentEntryForm/Header/ContentFormOptionsMenu/index.js.map +1 -1
  235. package/admin/components/ContentEntryForm/Header/DeleteEntry/DeleteEntry.d.ts +2 -2
  236. package/admin/components/ContentEntryForm/Header/DeleteEntry/DeleteEntry.js +23 -24
  237. package/admin/components/ContentEntryForm/Header/DeleteEntry/DeleteEntry.js.map +1 -1
  238. package/admin/components/ContentEntryForm/Header/DeleteEntry/index.js.map +1 -1
  239. package/admin/components/ContentEntryForm/Header/Header.d.ts +2 -2
  240. package/admin/components/ContentEntryForm/Header/Header.js +33 -28
  241. package/admin/components/ContentEntryForm/Header/Header.js.map +1 -1
  242. package/admin/components/ContentEntryForm/Header/RevisionSelector/RevisionSelector.d.ts +2 -2
  243. package/admin/components/ContentEntryForm/Header/RevisionSelector/RevisionSelector.js +1 -2
  244. package/admin/components/ContentEntryForm/Header/RevisionSelector/RevisionSelector.js.map +1 -1
  245. package/admin/components/ContentEntryForm/Header/RevisionSelector/RevisionSelector.styles.d.ts +17 -16
  246. package/admin/components/ContentEntryForm/Header/RevisionSelector/RevisionSelector.styles.js +29 -10
  247. package/admin/components/ContentEntryForm/Header/RevisionSelector/RevisionSelector.styles.js.map +1 -1
  248. package/admin/components/ContentEntryForm/Header/RevisionSelector/index.js.map +1 -1
  249. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/SaveAndPublishContent.d.ts +2 -7
  250. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/SaveAndPublishContent.js +16 -9
  251. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/SaveAndPublishContent.js.map +1 -1
  252. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/index.js.map +1 -1
  253. package/admin/components/ContentEntryForm/Header/SaveContent/SaveContent.d.ts +2 -2
  254. package/admin/components/ContentEntryForm/Header/SaveContent/SaveContent.js +10 -9
  255. package/admin/components/ContentEntryForm/Header/SaveContent/SaveContent.js.map +1 -1
  256. package/admin/components/ContentEntryForm/Header/SaveContent/index.js.map +1 -1
  257. package/admin/components/ContentEntryForm/Header/index.js.map +1 -1
  258. package/admin/components/ContentEntryForm/Label.d.ts +1 -1
  259. package/admin/components/ContentEntryForm/Label.js +3 -4
  260. package/admin/components/ContentEntryForm/Label.js.map +1 -1
  261. package/admin/components/ContentEntryForm/ParentValue.d.ts +1 -1
  262. package/admin/components/ContentEntryForm/ParentValue.js +1 -2
  263. package/admin/components/ContentEntryForm/ParentValue.js.map +1 -1
  264. package/admin/components/ContentEntryForm/functions/getValue.js +1 -2
  265. package/admin/components/ContentEntryForm/functions/getValue.js.map +1 -1
  266. package/admin/components/ContentEntryForm/functions/setValue.js +1 -2
  267. package/admin/components/ContentEntryForm/functions/setValue.js.map +1 -1
  268. package/admin/components/ContentEntryForm/useBind.d.ts +1 -1
  269. package/admin/components/ContentEntryForm/useBind.js +19 -10
  270. package/admin/components/ContentEntryForm/useBind.js.map +1 -1
  271. package/admin/components/ContentEntryForm/useContentEntryForm.d.ts +8 -20
  272. package/admin/components/ContentEntryForm/useContentEntryForm.js +10 -346
  273. package/admin/components/ContentEntryForm/useContentEntryForm.js.map +1 -1
  274. package/admin/components/ContentEntryForm/useDefaultValues.d.ts +2 -0
  275. package/admin/components/ContentEntryForm/useDefaultValues.js +95 -0
  276. package/admin/components/ContentEntryForm/useDefaultValues.js.map +1 -0
  277. package/admin/components/ContentEntryForm/useFormRenderer.d.ts +2 -0
  278. package/admin/components/ContentEntryForm/useFormRenderer.js +14 -0
  279. package/admin/components/ContentEntryForm/useFormRenderer.js.map +1 -0
  280. package/admin/components/ContentEntryForm/useGoToRevision.d.ts +3 -0
  281. package/admin/components/ContentEntryForm/useGoToRevision.js +26 -0
  282. package/admin/components/ContentEntryForm/useGoToRevision.js.map +1 -0
  283. package/admin/components/ContentEntryForm/useRenderPlugins.js.map +1 -1
  284. package/admin/components/ContentModelEditor/ContentModelEditor.d.ts +12 -0
  285. package/admin/components/ContentModelEditor/ContentModelEditor.js +172 -0
  286. package/admin/components/ContentModelEditor/ContentModelEditor.js.map +1 -0
  287. package/admin/components/ContentModelEditor/ContentModelEditorProvider.d.ts +1 -1
  288. package/admin/components/ContentModelEditor/ContentModelEditorProvider.js +3 -6
  289. package/admin/components/ContentModelEditor/ContentModelEditorProvider.js.map +1 -1
  290. package/admin/components/ContentModelEditor/FieldsSidebar.d.ts +2 -2
  291. package/admin/components/ContentModelEditor/FieldsSidebar.js +63 -40
  292. package/admin/components/ContentModelEditor/FieldsSidebar.js.map +1 -1
  293. package/admin/components/ContentModelEditor/Header.d.ts +2 -2
  294. package/admin/components/ContentModelEditor/Header.js +3 -4
  295. package/admin/components/ContentModelEditor/Header.js.map +1 -1
  296. package/admin/components/ContentModelEditor/PreviewTab.js +5 -6
  297. package/admin/components/ContentModelEditor/PreviewTab.js.map +1 -1
  298. package/admin/components/ContentModelEditor/index.js.map +1 -1
  299. package/admin/components/ContentModelEditor/useModelEditor.js.map +1 -1
  300. package/admin/components/Decorators/ShowConfirmationOnDelete.d.ts +2 -0
  301. package/admin/components/Decorators/ShowConfirmationOnDelete.js +101 -0
  302. package/admin/components/Decorators/ShowConfirmationOnDelete.js.map +1 -0
  303. package/admin/components/Decorators/ShowConfirmationOnPublish.d.ts +2 -0
  304. package/admin/components/Decorators/ShowConfirmationOnPublish.js +106 -0
  305. package/admin/components/Decorators/ShowConfirmationOnPublish.js.map +1 -0
  306. package/admin/components/Decorators/ShowConfirmationOnUnpublish.d.ts +2 -0
  307. package/admin/components/Decorators/ShowConfirmationOnUnpublish.js +106 -0
  308. package/admin/components/Decorators/ShowConfirmationOnUnpublish.js.map +1 -0
  309. package/admin/components/Dialog.js +15 -5
  310. package/admin/components/Dialog.js.map +1 -1
  311. package/admin/components/DragPreview.d.ts +2 -2
  312. package/admin/components/DragPreview.js +1 -2
  313. package/admin/components/DragPreview.js.map +1 -1
  314. package/admin/components/Draggable.js +8 -13
  315. package/admin/components/Draggable.js.map +1 -1
  316. package/admin/components/DropZone/Center.d.ts +1 -1
  317. package/admin/components/DropZone/Center.js +7 -6
  318. package/admin/components/DropZone/Center.js.map +1 -1
  319. package/admin/components/DropZone/Horizontal.d.ts +2 -2
  320. package/admin/components/DropZone/Horizontal.js +36 -37
  321. package/admin/components/DropZone/Horizontal.js.map +1 -1
  322. package/admin/components/DropZone/Vertical.d.ts +2 -2
  323. package/admin/components/DropZone/Vertical.js +37 -37
  324. package/admin/components/DropZone/Vertical.js.map +1 -1
  325. package/admin/components/DropZone/index.js.map +1 -1
  326. package/admin/components/Droppable.d.ts +6 -2
  327. package/admin/components/Droppable.js +1 -2
  328. package/admin/components/Droppable.js.map +1 -1
  329. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/LegacyRichTextInput.d.ts +2 -0
  330. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/LegacyRichTextInput.js +21 -0
  331. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/LegacyRichTextInput.js.map +1 -0
  332. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/RendererOptions.d.ts +7 -0
  333. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/RendererOptions.js +29 -0
  334. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab/RendererOptions.js.map +1 -0
  335. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab.d.ts +2 -2
  336. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab.js +49 -63
  337. package/admin/components/FieldEditor/EditFieldDialog/AppearanceTab.js.map +1 -1
  338. package/admin/components/FieldEditor/EditFieldDialog/GeneralTab.d.ts +2 -2
  339. package/admin/components/FieldEditor/EditFieldDialog/GeneralTab.js +2 -3
  340. package/admin/components/FieldEditor/EditFieldDialog/GeneralTab.js.map +1 -1
  341. package/admin/components/FieldEditor/EditFieldDialog/PredefinedValues.d.ts +2 -2
  342. package/admin/components/FieldEditor/EditFieldDialog/PredefinedValues.js +6 -7
  343. package/admin/components/FieldEditor/EditFieldDialog/PredefinedValues.js.map +1 -1
  344. package/admin/components/FieldEditor/EditFieldDialog/ValidationsSection.d.ts +2 -2
  345. package/admin/components/FieldEditor/EditFieldDialog/ValidationsSection.js +1 -2
  346. package/admin/components/FieldEditor/EditFieldDialog/ValidationsSection.js.map +1 -1
  347. package/admin/components/FieldEditor/EditFieldDialog/ValidatorsList.d.ts +2 -2
  348. package/admin/components/FieldEditor/EditFieldDialog/ValidatorsList.js +35 -13
  349. package/admin/components/FieldEditor/EditFieldDialog/ValidatorsList.js.map +1 -1
  350. package/admin/components/FieldEditor/EditFieldDialog/functions/getValue.d.ts +2 -2
  351. package/admin/components/FieldEditor/EditFieldDialog/functions/getValue.js +2 -4
  352. package/admin/components/FieldEditor/EditFieldDialog/functions/getValue.js.map +1 -1
  353. package/admin/components/FieldEditor/EditFieldDialog/functions/setValue.d.ts +2 -2
  354. package/admin/components/FieldEditor/EditFieldDialog/functions/setValue.js +6 -9
  355. package/admin/components/FieldEditor/EditFieldDialog/functions/setValue.js.map +1 -1
  356. package/admin/components/FieldEditor/EditFieldDialog/getValidators.js +2 -4
  357. package/admin/components/FieldEditor/EditFieldDialog/getValidators.js.map +1 -1
  358. package/admin/components/FieldEditor/EditFieldDialog/useRendererPlugins.d.ts +2 -0
  359. package/admin/components/FieldEditor/EditFieldDialog/useRendererPlugins.js +39 -0
  360. package/admin/components/FieldEditor/EditFieldDialog/useRendererPlugins.js.map +1 -0
  361. package/admin/components/FieldEditor/EditFieldDialog.d.ts +2 -2
  362. package/admin/components/FieldEditor/EditFieldDialog.js +22 -20
  363. package/admin/components/FieldEditor/EditFieldDialog.js.map +1 -1
  364. package/admin/components/FieldEditor/Field.d.ts +1 -1
  365. package/admin/components/FieldEditor/Field.js +81 -50
  366. package/admin/components/FieldEditor/Field.js.map +1 -1
  367. package/admin/components/FieldEditor/FieldEditor.d.ts +2 -2
  368. package/admin/components/FieldEditor/FieldEditor.js +1 -2
  369. package/admin/components/FieldEditor/FieldEditor.js.map +1 -1
  370. package/admin/components/FieldEditor/FieldEditorContext.d.ts +3 -3
  371. package/admin/components/FieldEditor/FieldEditorContext.js +4 -7
  372. package/admin/components/FieldEditor/FieldEditorContext.js.map +1 -1
  373. package/admin/components/FieldEditor/Styled.d.ts +2 -2
  374. package/admin/components/FieldEditor/Styled.js +33 -24
  375. package/admin/components/FieldEditor/Styled.js.map +1 -1
  376. package/admin/components/FieldEditor/index.js.map +1 -1
  377. package/admin/components/FieldEditor/useModelFieldEditor.js.map +1 -1
  378. package/admin/components/FieldEditor/utils/deleteField.js +1 -2
  379. package/admin/components/FieldEditor/utils/deleteField.js.map +1 -1
  380. package/admin/components/FieldEditor/utils/getFieldPosition.js +1 -2
  381. package/admin/components/FieldEditor/utils/getFieldPosition.js.map +1 -1
  382. package/admin/components/FieldEditor/utils/index.js.map +1 -1
  383. package/admin/components/FieldEditor/utils/moveField.js +1 -2
  384. package/admin/components/FieldEditor/utils/moveField.js.map +1 -1
  385. package/admin/components/FieldEditor/utils/moveRow.js +1 -2
  386. package/admin/components/FieldEditor/utils/moveRow.js.map +1 -1
  387. package/admin/components/IconPicker.d.ts +1 -1
  388. package/admin/components/IconPicker.js +37 -20
  389. package/admin/components/IconPicker.js.map +1 -1
  390. package/admin/components/LexicalCmsEditor/LexicalCmsEditor.d.ts +2 -2
  391. package/admin/components/LexicalCmsEditor/LexicalCmsEditor.js +1 -2
  392. package/admin/components/LexicalCmsEditor/LexicalCmsEditor.js.map +1 -1
  393. package/admin/components/LexicalCmsEditor/LexicalEditorCmsPlugin.js +1 -2
  394. package/admin/components/LexicalCmsEditor/LexicalEditorCmsPlugin.js.map +1 -1
  395. package/admin/components/LexicalCmsEditor/TypographyDropDown.d.ts +2 -2
  396. package/admin/components/LexicalCmsEditor/TypographyDropDown.js +1 -2
  397. package/admin/components/LexicalCmsEditor/TypographyDropDown.js.map +1 -1
  398. package/admin/components/ModelFieldProvider/ModelFieldContext.d.ts +12 -2
  399. package/admin/components/ModelFieldProvider/ModelFieldContext.js +16 -5
  400. package/admin/components/ModelFieldProvider/ModelFieldContext.js.map +1 -1
  401. package/admin/components/ModelFieldProvider/index.js.map +1 -1
  402. package/admin/components/ModelFieldProvider/useModelField.d.ts +11 -21
  403. package/admin/components/ModelFieldProvider/useModelField.js +8 -6
  404. package/admin/components/ModelFieldProvider/useModelField.js.map +1 -1
  405. package/admin/components/ModelProvider/ModelContext.d.ts +1 -1
  406. package/admin/components/ModelProvider/ModelContext.js +2 -4
  407. package/admin/components/ModelProvider/ModelContext.js.map +1 -1
  408. package/admin/components/ModelProvider/index.js.map +1 -1
  409. package/admin/components/ModelProvider/useModel.js.map +1 -1
  410. package/admin/config/IsApplicableToCurrentModel.d.ts +6 -0
  411. package/admin/config/IsApplicableToCurrentModel.js +21 -0
  412. package/admin/config/IsApplicableToCurrentModel.js.map +1 -0
  413. package/admin/config/contentEntries/editor/Actions/BaseAction.d.ts +1 -1
  414. package/admin/config/contentEntries/editor/Actions/BaseAction.js +1 -2
  415. package/admin/config/contentEntries/editor/Actions/BaseAction.js.map +1 -1
  416. package/admin/config/contentEntries/editor/Actions/ButtonAction.d.ts +15 -3
  417. package/admin/config/contentEntries/editor/Actions/ButtonAction.js +3 -5
  418. package/admin/config/contentEntries/editor/Actions/ButtonAction.js.map +1 -1
  419. package/admin/config/contentEntries/editor/Actions/MenuItemAction.d.ts +15 -3
  420. package/admin/config/contentEntries/editor/Actions/MenuItemAction.js +3 -5
  421. package/admin/config/contentEntries/editor/Actions/MenuItemAction.js.map +1 -1
  422. package/admin/config/contentEntries/editor/Actions/index.d.ts +14 -2
  423. package/admin/config/contentEntries/editor/Actions/index.js +1 -2
  424. package/admin/config/contentEntries/editor/Actions/index.js.map +1 -1
  425. package/admin/config/contentEntries/editor/ContentEntryEditorConfig.d.ts +18 -6
  426. package/admin/config/contentEntries/editor/ContentEntryEditorConfig.js +2 -4
  427. package/admin/config/contentEntries/editor/ContentEntryEditorConfig.js.map +1 -1
  428. package/admin/config/contentEntries/editor/FieldElement.d.ts +2 -2
  429. package/admin/config/contentEntries/editor/FieldElement.js +1 -2
  430. package/admin/config/contentEntries/editor/FieldElement.js.map +1 -1
  431. package/admin/config/contentEntries/editor/index.js.map +1 -1
  432. package/admin/config/contentEntries/index.js.map +1 -1
  433. package/admin/config/contentEntries/list/Browser/AdvancedSearch/FieldRenderer.d.ts +10 -0
  434. package/admin/config/contentEntries/list/Browser/AdvancedSearch/FieldRenderer.js +39 -0
  435. package/admin/config/contentEntries/list/Browser/AdvancedSearch/FieldRenderer.js.map +1 -0
  436. package/admin/config/contentEntries/list/Browser/AdvancedSearch/index.d.ts +11 -0
  437. package/admin/config/contentEntries/list/Browser/AdvancedSearch/index.js +12 -0
  438. package/admin/config/contentEntries/list/Browser/AdvancedSearch/index.js.map +1 -0
  439. package/admin/config/contentEntries/list/Browser/BulkAction.d.ts +14 -2
  440. package/admin/config/contentEntries/list/Browser/BulkAction.js +3 -5
  441. package/admin/config/contentEntries/list/Browser/BulkAction.js.map +1 -1
  442. package/admin/config/contentEntries/list/Browser/EntryAction.d.ts +9 -3
  443. package/admin/config/contentEntries/list/Browser/EntryAction.js +7 -11
  444. package/admin/config/contentEntries/list/Browser/EntryAction.js.map +1 -1
  445. package/admin/config/contentEntries/list/Browser/Filter.d.ts +3 -2
  446. package/admin/config/contentEntries/list/Browser/Filter.js +1 -2
  447. package/admin/config/contentEntries/list/Browser/Filter.js.map +1 -1
  448. package/admin/config/contentEntries/list/Browser/FiltersToWhere.d.ts +2 -2
  449. package/admin/config/contentEntries/list/Browser/FiltersToWhere.js +1 -2
  450. package/admin/config/contentEntries/list/Browser/FiltersToWhere.js.map +1 -1
  451. package/admin/config/contentEntries/list/Browser/FolderAction.d.ts +2 -2
  452. package/admin/config/contentEntries/list/Browser/FolderAction.js +1 -2
  453. package/admin/config/contentEntries/list/Browser/FolderAction.js.map +1 -1
  454. package/admin/config/contentEntries/list/Browser/Table/Column.d.ts +8 -2
  455. package/admin/config/contentEntries/list/Browser/Table/Column.js +8 -11
  456. package/admin/config/contentEntries/list/Browser/Table/Column.js.map +1 -1
  457. package/admin/config/contentEntries/list/Browser/Table/index.d.ts +8 -2
  458. package/admin/config/contentEntries/list/Browser/Table/index.js +1 -2
  459. package/admin/config/contentEntries/list/Browser/Table/index.js.map +1 -1
  460. package/admin/config/contentEntries/list/Browser/index.d.ts +38 -11
  461. package/admin/config/contentEntries/list/Browser/index.js +3 -2
  462. package/admin/config/contentEntries/list/Browser/index.js.map +1 -1
  463. package/admin/config/contentEntries/list/ContentEntryListConfig.d.ts +39 -13
  464. package/admin/config/contentEntries/list/ContentEntryListConfig.js +2 -4
  465. package/admin/config/contentEntries/list/ContentEntryListConfig.js.map +1 -1
  466. package/admin/config/contentEntries/list/index.js.map +1 -1
  467. package/admin/constants.d.ts +6 -6
  468. package/admin/constants.js +6 -14
  469. package/admin/constants.js.map +1 -1
  470. package/admin/contexts/Cms/NetworkError.js +1 -2
  471. package/admin/contexts/Cms/NetworkError.js.map +1 -1
  472. package/admin/contexts/Cms/index.d.ts +46 -54
  473. package/admin/contexts/Cms/index.js +232 -59
  474. package/admin/contexts/Cms/index.js.map +1 -1
  475. package/admin/elements/ContentGroupMenuElement.js +4 -6
  476. package/admin/elements/ContentGroupMenuElement.js.map +1 -1
  477. package/admin/elements/ContentModelMenuElement.js +4 -6
  478. package/admin/elements/ContentModelMenuElement.js.map +1 -1
  479. package/admin/elements/NothingToShowElement.js +16 -21
  480. package/admin/elements/NothingToShowElement.js.map +1 -1
  481. package/admin/graphql/contentModels.d.ts +1 -1
  482. package/admin/graphql/contentModels.js +6 -8
  483. package/admin/graphql/contentModels.js.map +1 -1
  484. package/admin/hooks/index.d.ts +0 -2
  485. package/admin/hooks/index.js +0 -16
  486. package/admin/hooks/index.js.map +1 -1
  487. package/admin/hooks/useApolloClient.js +1 -2
  488. package/admin/hooks/useApolloClient.js.map +1 -1
  489. package/admin/hooks/useCms.js +1 -2
  490. package/admin/hooks/useCms.js.map +1 -1
  491. package/admin/hooks/useContentModels.js +2 -4
  492. package/admin/hooks/useContentModels.js.map +1 -1
  493. package/admin/hooks/useEntry.d.ts +1 -1
  494. package/admin/hooks/useEntry.js +3 -6
  495. package/admin/hooks/useEntry.js.map +1 -1
  496. package/admin/hooks/useLazyQuery.js +1 -2
  497. package/admin/hooks/useLazyQuery.js.map +1 -1
  498. package/admin/hooks/useModelFieldGraphqlContext.d.ts +2 -1
  499. package/admin/hooks/useModelFieldGraphqlContext.js +1 -2
  500. package/admin/hooks/useModelFieldGraphqlContext.js.map +1 -1
  501. package/admin/hooks/useMutation.js +1 -2
  502. package/admin/hooks/useMutation.js.map +1 -1
  503. package/admin/hooks/usePermission.d.ts +2 -1
  504. package/admin/hooks/usePermission.js +15 -4
  505. package/admin/hooks/usePermission.js.map +1 -1
  506. package/admin/hooks/useQuery.js +1 -2
  507. package/admin/hooks/useQuery.js.map +1 -1
  508. package/admin/hooks/useQueryLocale.js +1 -2
  509. package/admin/hooks/useQueryLocale.js.map +1 -1
  510. package/admin/lexicalConfig/LexicalEditorConfig.d.ts +4 -4
  511. package/admin/lexicalConfig/LexicalEditorConfig.js +1 -2
  512. package/admin/lexicalConfig/LexicalEditorConfig.js.map +1 -1
  513. package/admin/menus/CmsMenuLoader.js +1 -2
  514. package/admin/menus/CmsMenuLoader.js.map +1 -1
  515. package/admin/menus/ContentGroupsMenuItems.d.ts +2 -2
  516. package/admin/menus/ContentGroupsMenuItems.js +1 -2
  517. package/admin/menus/ContentGroupsMenuItems.js.map +1 -1
  518. package/admin/menus/GlobalSearchPlugins.js +1 -2
  519. package/admin/menus/GlobalSearchPlugins.js.map +1 -1
  520. package/admin/menus/NothingToShowElement.d.ts +2 -2
  521. package/admin/menus/NothingToShowElement.js +9 -12
  522. package/admin/menus/NothingToShowElement.js.map +1 -1
  523. package/admin/plugins/apiInformation/index.js +1 -2
  524. package/admin/plugins/apiInformation/index.js.map +1 -1
  525. package/admin/plugins/arrayUtils.js.map +1 -1
  526. package/admin/plugins/definitions/CmsEditorFieldValidatorFileTypePlugin.js +5 -8
  527. package/admin/plugins/definitions/CmsEditorFieldValidatorFileTypePlugin.js.map +1 -1
  528. package/admin/plugins/definitions/CmsFieldValidatorFileTypePlugin.js +5 -8
  529. package/admin/plugins/definitions/CmsFieldValidatorFileTypePlugin.js.map +1 -1
  530. package/admin/plugins/editor/defaultBar/BackButton.d.ts +1 -1
  531. package/admin/plugins/editor/defaultBar/BackButton.js +19 -9
  532. package/admin/plugins/editor/defaultBar/BackButton.js.map +1 -1
  533. package/admin/plugins/editor/defaultBar/CreateContentButton.d.ts +2 -2
  534. package/admin/plugins/editor/defaultBar/CreateContentButton.js +1 -2
  535. package/admin/plugins/editor/defaultBar/CreateContentButton.js.map +1 -1
  536. package/admin/plugins/editor/defaultBar/Divider.d.ts +1 -1
  537. package/admin/plugins/editor/defaultBar/Divider.js +14 -9
  538. package/admin/plugins/editor/defaultBar/Divider.js.map +1 -1
  539. package/admin/plugins/editor/defaultBar/FormSettings/FormSettings.d.ts +2 -2
  540. package/admin/plugins/editor/defaultBar/FormSettings/FormSettings.js +1 -2
  541. package/admin/plugins/editor/defaultBar/FormSettings/FormSettings.js.map +1 -1
  542. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsButton.d.ts +2 -2
  543. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsButton.js +1 -2
  544. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsButton.js.map +1 -1
  545. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsStyled.d.ts +3 -3
  546. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsStyled.js +34 -24
  547. package/admin/plugins/editor/defaultBar/FormSettings/FormSettingsStyled.js.map +1 -1
  548. package/admin/plugins/editor/defaultBar/FormSettings/index.js.map +1 -1
  549. package/admin/plugins/editor/defaultBar/Name/Name.d.ts +2 -2
  550. package/admin/plugins/editor/defaultBar/Name/Name.js +1 -2
  551. package/admin/plugins/editor/defaultBar/Name/Name.js.map +1 -1
  552. package/admin/plugins/editor/defaultBar/Name/NameStyled.d.ts +3 -3
  553. package/admin/plugins/editor/defaultBar/Name/NameStyled.js +39 -43
  554. package/admin/plugins/editor/defaultBar/Name/NameStyled.js.map +1 -1
  555. package/admin/plugins/editor/defaultBar/Name/index.js.map +1 -1
  556. package/admin/plugins/editor/defaultBar/SaveContentModelButton.d.ts +2 -2
  557. package/admin/plugins/editor/defaultBar/SaveContentModelButton.js +1 -2
  558. package/admin/plugins/editor/defaultBar/SaveContentModelButton.js.map +1 -1
  559. package/admin/plugins/editor/defaultBar/index.d.ts +2 -2
  560. package/admin/plugins/editor/defaultBar/index.js +1 -2
  561. package/admin/plugins/editor/defaultBar/index.js.map +1 -1
  562. package/admin/plugins/editor/formSettings/components/GeneralSettings.d.ts +2 -2
  563. package/admin/plugins/editor/formSettings/components/GeneralSettings.js +1 -2
  564. package/admin/plugins/editor/formSettings/components/GeneralSettings.js.map +1 -1
  565. package/admin/plugins/editor/formSettings/components/GroupSelect.d.ts +2 -2
  566. package/admin/plugins/editor/formSettings/components/GroupSelect.js.map +1 -1
  567. package/admin/plugins/editor/formSettings/index.js +1 -2
  568. package/admin/plugins/editor/formSettings/index.js.map +1 -1
  569. package/admin/plugins/fieldRenderers/Accordion.js +9 -9
  570. package/admin/plugins/fieldRenderers/Accordion.js.map +1 -1
  571. package/admin/plugins/fieldRenderers/DynamicSection.d.ts +1 -1
  572. package/admin/plugins/fieldRenderers/DynamicSection.js +13 -13
  573. package/admin/plugins/fieldRenderers/DynamicSection.js.map +1 -1
  574. package/admin/plugins/fieldRenderers/boolean/booleanSwitch.d.ts +2 -2
  575. package/admin/plugins/fieldRenderers/boolean/booleanSwitch.js +1 -2
  576. package/admin/plugins/fieldRenderers/boolean/booleanSwitch.js.map +1 -1
  577. package/admin/plugins/fieldRenderers/boolean/index.js +1 -2
  578. package/admin/plugins/fieldRenderers/boolean/index.js.map +1 -1
  579. package/admin/plugins/fieldRenderers/checkboxes.d.ts +2 -2
  580. package/admin/plugins/fieldRenderers/checkboxes.js +1 -2
  581. package/admin/plugins/fieldRenderers/checkboxes.js.map +1 -1
  582. package/admin/plugins/fieldRenderers/dateTime/DateOnly.d.ts +2 -2
  583. package/admin/plugins/fieldRenderers/dateTime/DateOnly.js +1 -2
  584. package/admin/plugins/fieldRenderers/dateTime/DateOnly.js.map +1 -1
  585. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithTimezone.d.ts +2 -2
  586. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithTimezone.js +2 -3
  587. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithTimezone.js.map +1 -1
  588. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithoutTimezone.d.ts +2 -2
  589. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithoutTimezone.js +2 -3
  590. package/admin/plugins/fieldRenderers/dateTime/DateTimeWithoutTimezone.js.map +1 -1
  591. package/admin/plugins/fieldRenderers/dateTime/Input.d.ts +1 -1
  592. package/admin/plugins/fieldRenderers/dateTime/Input.js +1 -2
  593. package/admin/plugins/fieldRenderers/dateTime/Input.js.map +1 -1
  594. package/admin/plugins/fieldRenderers/dateTime/Select.d.ts +2 -2
  595. package/admin/plugins/fieldRenderers/dateTime/Select.js +1 -2
  596. package/admin/plugins/fieldRenderers/dateTime/Select.js.map +1 -1
  597. package/admin/plugins/fieldRenderers/dateTime/Time.d.ts +2 -2
  598. package/admin/plugins/fieldRenderers/dateTime/Time.js +2 -3
  599. package/admin/plugins/fieldRenderers/dateTime/Time.js.map +1 -1
  600. package/admin/plugins/fieldRenderers/dateTime/dateTimeField.d.ts +2 -2
  601. package/admin/plugins/fieldRenderers/dateTime/dateTimeField.js +1 -2
  602. package/admin/plugins/fieldRenderers/dateTime/dateTimeField.js.map +1 -1
  603. package/admin/plugins/fieldRenderers/dateTime/dateTimeFields.d.ts +2 -2
  604. package/admin/plugins/fieldRenderers/dateTime/dateTimeFields.js +1 -2
  605. package/admin/plugins/fieldRenderers/dateTime/dateTimeFields.js.map +1 -1
  606. package/admin/plugins/fieldRenderers/dateTime/index.js +1 -2
  607. package/admin/plugins/fieldRenderers/dateTime/index.js.map +1 -1
  608. package/admin/plugins/fieldRenderers/dateTime/utils.d.ts +2 -2
  609. package/admin/plugins/fieldRenderers/dateTime/utils.js +8 -14
  610. package/admin/plugins/fieldRenderers/dateTime/utils.js.map +1 -1
  611. package/admin/plugins/fieldRenderers/dynamicZone/AddTemplate.d.ts +5 -5
  612. package/admin/plugins/fieldRenderers/dynamicZone/AddTemplate.js +52 -17
  613. package/admin/plugins/fieldRenderers/dynamicZone/AddTemplate.js.map +1 -1
  614. package/admin/plugins/fieldRenderers/dynamicZone/MultiValueDynamicZone.d.ts +7 -4
  615. package/admin/plugins/fieldRenderers/dynamicZone/MultiValueDynamicZone.js +24 -16
  616. package/admin/plugins/fieldRenderers/dynamicZone/MultiValueDynamicZone.js.map +1 -1
  617. package/admin/plugins/fieldRenderers/dynamicZone/SingleValueDynamicZone.d.ts +2 -2
  618. package/admin/plugins/fieldRenderers/dynamicZone/SingleValueDynamicZone.js +9 -4
  619. package/admin/plugins/fieldRenderers/dynamicZone/SingleValueDynamicZone.js.map +1 -1
  620. package/admin/plugins/fieldRenderers/dynamicZone/TemplateGallery.d.ts +20 -35
  621. package/admin/plugins/fieldRenderers/dynamicZone/TemplateGallery.js +16 -6
  622. package/admin/plugins/fieldRenderers/dynamicZone/TemplateGallery.js.map +1 -1
  623. package/admin/plugins/fieldRenderers/dynamicZone/TemplateIcon.d.ts +2 -2
  624. package/admin/plugins/fieldRenderers/dynamicZone/TemplateIcon.js +1 -2
  625. package/admin/plugins/fieldRenderers/dynamicZone/TemplateIcon.js.map +1 -1
  626. package/admin/plugins/fieldRenderers/dynamicZone/TemplateItem.d.ts +3 -2
  627. package/admin/plugins/fieldRenderers/dynamicZone/TemplateItem.js +86 -26
  628. package/admin/plugins/fieldRenderers/dynamicZone/TemplateItem.js.map +1 -1
  629. package/admin/plugins/fieldRenderers/dynamicZone/TemplateProvider.d.ts +1 -1
  630. package/admin/plugins/fieldRenderers/dynamicZone/TemplateProvider.js +1 -2
  631. package/admin/plugins/fieldRenderers/dynamicZone/TemplateProvider.js.map +1 -1
  632. package/admin/plugins/fieldRenderers/dynamicZone/dynamicZoneRenderer.d.ts +4 -3
  633. package/admin/plugins/fieldRenderers/dynamicZone/dynamicZoneRenderer.js +5 -5
  634. package/admin/plugins/fieldRenderers/dynamicZone/dynamicZoneRenderer.js.map +1 -1
  635. package/admin/plugins/fieldRenderers/dynamicZone/index.js.map +1 -1
  636. package/admin/plugins/fieldRenderers/dynamicZone/useTemplateTypename.d.ts +4 -0
  637. package/admin/plugins/fieldRenderers/dynamicZone/useTemplateTypename.js +37 -0
  638. package/admin/plugins/fieldRenderers/dynamicZone/useTemplateTypename.js.map +1 -0
  639. package/admin/plugins/fieldRenderers/hidden.d.ts +2 -0
  640. package/admin/plugins/fieldRenderers/hidden.js +23 -0
  641. package/admin/plugins/fieldRenderers/hidden.js.map +1 -0
  642. package/admin/plugins/fieldRenderers/lexicalText/index.js +1 -2
  643. package/admin/plugins/fieldRenderers/lexicalText/index.js.map +1 -1
  644. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInput.d.ts +2 -2
  645. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInput.js +20 -12
  646. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInput.js.map +1 -1
  647. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInputs.d.ts +2 -2
  648. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInputs.js +30 -20
  649. package/admin/plugins/fieldRenderers/lexicalText/lexicalTextInputs.js.map +1 -1
  650. package/admin/plugins/fieldRenderers/lexicalText/utils.js +1 -2
  651. package/admin/plugins/fieldRenderers/lexicalText/utils.js.map +1 -1
  652. package/admin/plugins/fieldRenderers/longText/index.js +1 -2
  653. package/admin/plugins/fieldRenderers/longText/index.js.map +1 -1
  654. package/admin/plugins/fieldRenderers/longText/longText.d.ts +2 -2
  655. package/admin/plugins/fieldRenderers/longText/longText.js +9 -4
  656. package/admin/plugins/fieldRenderers/longText/longText.js.map +1 -1
  657. package/admin/plugins/fieldRenderers/longText/longTexts.d.ts +2 -2
  658. package/admin/plugins/fieldRenderers/longText/longTexts.js +11 -3
  659. package/admin/plugins/fieldRenderers/longText/longTexts.js.map +1 -1
  660. package/admin/plugins/fieldRenderers/number/index.js +1 -2
  661. package/admin/plugins/fieldRenderers/number/index.js.map +1 -1
  662. package/admin/plugins/fieldRenderers/number/numberInput.d.ts +2 -2
  663. package/admin/plugins/fieldRenderers/number/numberInput.js +11 -9
  664. package/admin/plugins/fieldRenderers/number/numberInput.js.map +1 -1
  665. package/admin/plugins/fieldRenderers/number/numberInputs.d.ts +2 -2
  666. package/admin/plugins/fieldRenderers/number/numberInputs.js +11 -6
  667. package/admin/plugins/fieldRenderers/number/numberInputs.js.map +1 -1
  668. package/admin/plugins/fieldRenderers/object/FieldSettings.d.ts +2 -1
  669. package/admin/plugins/fieldRenderers/object/FieldSettings.js +2 -4
  670. package/admin/plugins/fieldRenderers/object/FieldSettings.js.map +1 -1
  671. package/admin/plugins/fieldRenderers/object/StyledComponents.d.ts +2 -2
  672. package/admin/plugins/fieldRenderers/object/StyledComponents.js +26 -17
  673. package/admin/plugins/fieldRenderers/object/StyledComponents.js.map +1 -1
  674. package/admin/plugins/fieldRenderers/object/index.js +1 -2
  675. package/admin/plugins/fieldRenderers/object/index.js.map +1 -1
  676. package/admin/plugins/fieldRenderers/object/multipleObjects.js +5 -6
  677. package/admin/plugins/fieldRenderers/object/multipleObjects.js.map +1 -1
  678. package/admin/plugins/fieldRenderers/object/multipleObjectsAccordion.js +6 -11
  679. package/admin/plugins/fieldRenderers/object/multipleObjectsAccordion.js.map +1 -1
  680. package/admin/plugins/fieldRenderers/object/singleObjectAccordion.js +5 -3
  681. package/admin/plugins/fieldRenderers/object/singleObjectAccordion.js.map +1 -1
  682. package/admin/plugins/fieldRenderers/object/singleObjectInline.js +5 -3
  683. package/admin/plugins/fieldRenderers/object/singleObjectInline.js.map +1 -1
  684. package/admin/plugins/fieldRenderers/radioButtons.d.ts +2 -2
  685. package/admin/plugins/fieldRenderers/radioButtons.js +1 -2
  686. package/admin/plugins/fieldRenderers/radioButtons.js.map +1 -1
  687. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedMultipleReferenceField.d.ts +2 -2
  688. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedMultipleReferenceField.js +57 -34
  689. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedMultipleReferenceField.js.map +1 -1
  690. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedMultipleReferenceSettings.d.ts +5 -0
  691. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedMultipleReferenceSettings.js +28 -0
  692. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedMultipleReferenceSettings.js.map +1 -0
  693. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedSingleReferenceField.d.ts +2 -2
  694. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedSingleReferenceField.js +28 -14
  695. package/admin/plugins/fieldRenderers/ref/advanced/components/AdvancedSingleReferenceField.js.map +1 -1
  696. package/admin/plugins/fieldRenderers/ref/advanced/components/Entries.d.ts +1 -1
  697. package/admin/plugins/fieldRenderers/ref/advanced/components/Entries.js +23 -14
  698. package/admin/plugins/fieldRenderers/ref/advanced/components/Entries.js.map +1 -1
  699. package/admin/plugins/fieldRenderers/ref/advanced/components/Entry.d.ts +2 -2
  700. package/admin/plugins/fieldRenderers/ref/advanced/components/Entry.js +69 -53
  701. package/admin/plugins/fieldRenderers/ref/advanced/components/Entry.js.map +1 -1
  702. package/admin/plugins/fieldRenderers/ref/advanced/components/Loader.d.ts +3 -3
  703. package/admin/plugins/fieldRenderers/ref/advanced/components/Loader.js +28 -20
  704. package/admin/plugins/fieldRenderers/ref/advanced/components/Loader.js.map +1 -1
  705. package/admin/plugins/fieldRenderers/ref/advanced/components/Options.d.ts +2 -2
  706. package/admin/plugins/fieldRenderers/ref/advanced/components/Options.js +63 -68
  707. package/admin/plugins/fieldRenderers/ref/advanced/components/Options.js.map +1 -1
  708. package/admin/plugins/fieldRenderers/ref/advanced/components/ReferencesDialog.d.ts +4 -3
  709. package/admin/plugins/fieldRenderers/ref/advanced/components/ReferencesDialog.js +56 -30
  710. package/admin/plugins/fieldRenderers/ref/advanced/components/ReferencesDialog.js.map +1 -1
  711. package/admin/plugins/fieldRenderers/ref/advanced/components/Search.d.ts +1 -1
  712. package/admin/plugins/fieldRenderers/ref/advanced/components/Search.js +38 -36
  713. package/admin/plugins/fieldRenderers/ref/advanced/components/Search.js.map +1 -1
  714. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Box.d.ts +1 -1
  715. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Box.js +62 -37
  716. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Box.js.map +1 -1
  717. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/CreatedBy.d.ts +2 -2
  718. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/CreatedBy.js +1 -2
  719. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/CreatedBy.js.map +1 -1
  720. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Description.d.ts +2 -2
  721. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Description.js +14 -13
  722. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Description.js.map +1 -1
  723. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Image.d.ts +2 -2
  724. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Image.js +27 -32
  725. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Image.js.map +1 -1
  726. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModelName.d.ts +2 -2
  727. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModelName.js +14 -11
  728. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModelName.js.map +1 -1
  729. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModifiedBy.d.ts +2 -2
  730. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModifiedBy.js +1 -2
  731. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/ModifiedBy.js.map +1 -1
  732. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveDown.d.ts +1 -1
  733. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveDown.js +1 -2
  734. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveDown.js.map +1 -1
  735. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveUp.d.ts +1 -1
  736. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveUp.js +1 -2
  737. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/MoveUp.js.map +1 -1
  738. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Remove.d.ts +2 -2
  739. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Remove.js +14 -11
  740. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Remove.js.map +1 -1
  741. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Select.d.ts +2 -2
  742. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Select.js +44 -37
  743. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Select.js.map +1 -1
  744. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Status.d.ts +2 -2
  745. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Status.js +1 -2
  746. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Status.js.map +1 -1
  747. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Title.d.ts +2 -2
  748. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Title.js +14 -10
  749. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/Title.js.map +1 -1
  750. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/View.d.ts +2 -2
  751. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/View.js +1 -2
  752. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/View.js.map +1 -1
  753. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/elements/ButtonLink.d.ts +1 -1
  754. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/elements/ButtonLink.js +20 -27
  755. package/admin/plugins/fieldRenderers/ref/advanced/components/entry/elements/ButtonLink.js.map +1 -1
  756. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelList.d.ts +2 -2
  757. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelList.js +27 -25
  758. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelList.js.map +1 -1
  759. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelListItem.d.ts +2 -2
  760. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelListItem.js +63 -56
  761. package/admin/plugins/fieldRenderers/ref/advanced/components/options/OptionsModelListItem.js.map +1 -1
  762. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferenceRenderer.js +1 -2
  763. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferenceRenderer.js.map +1 -1
  764. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferencesRenderer.d.ts +2 -2
  765. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferencesRenderer.js +6 -3
  766. package/admin/plugins/fieldRenderers/ref/advanced/detailedReferencesRenderer.js.map +1 -1
  767. package/admin/plugins/fieldRenderers/ref/advanced/hooks/graphql.js +2 -4
  768. package/admin/plugins/fieldRenderers/ref/advanced/hooks/graphql.js.map +1 -1
  769. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useEntries.js +1 -2
  770. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useEntries.js.map +1 -1
  771. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useReferences.js +1 -2
  772. package/admin/plugins/fieldRenderers/ref/advanced/hooks/useReferences.js.map +1 -1
  773. package/admin/plugins/fieldRenderers/ref/advanced/index.js +1 -2
  774. package/admin/plugins/fieldRenderers/ref/advanced/index.js.map +1 -1
  775. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesAutocomplete.d.ts +2 -2
  776. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesAutocomplete.js +1 -3
  777. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesAutocomplete.js.map +1 -1
  778. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesMultiAutoComplete.d.ts +2 -2
  779. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesMultiAutoComplete.js +1 -2
  780. package/admin/plugins/fieldRenderers/ref/components/ContentEntriesMultiAutoComplete.js.map +1 -1
  781. package/admin/plugins/fieldRenderers/ref/components/EntryStatus.d.ts +1 -1
  782. package/admin/plugins/fieldRenderers/ref/components/EntryStatus.js +38 -17
  783. package/admin/plugins/fieldRenderers/ref/components/EntryStatus.js.map +1 -1
  784. package/admin/plugins/fieldRenderers/ref/components/MissingEntryHelpText.d.ts +3 -3
  785. package/admin/plugins/fieldRenderers/ref/components/MissingEntryHelpText.js +17 -8
  786. package/admin/plugins/fieldRenderers/ref/components/MissingEntryHelpText.js.map +1 -1
  787. package/admin/plugins/fieldRenderers/ref/components/NewEntryButton.d.ts +2 -2
  788. package/admin/plugins/fieldRenderers/ref/components/NewEntryButton.js +16 -6
  789. package/admin/plugins/fieldRenderers/ref/components/NewEntryButton.js.map +1 -1
  790. package/admin/plugins/fieldRenderers/ref/components/NewReferencedEntryDialog.d.ts +2 -2
  791. package/admin/plugins/fieldRenderers/ref/components/NewReferencedEntryDialog.js +109 -57
  792. package/admin/plugins/fieldRenderers/ref/components/NewReferencedEntryDialog.js.map +1 -1
  793. package/admin/plugins/fieldRenderers/ref/components/createEntryUrl.js +2 -4
  794. package/admin/plugins/fieldRenderers/ref/components/createEntryUrl.js.map +1 -1
  795. package/admin/plugins/fieldRenderers/ref/components/dialog/Dialog.d.ts +0 -4
  796. package/admin/plugins/fieldRenderers/ref/components/dialog/Dialog.js +26 -24
  797. package/admin/plugins/fieldRenderers/ref/components/dialog/Dialog.js.map +1 -1
  798. package/admin/plugins/fieldRenderers/ref/components/dialog/DialogHeader.d.ts +2 -2
  799. package/admin/plugins/fieldRenderers/ref/components/dialog/DialogHeader.js +75 -57
  800. package/admin/plugins/fieldRenderers/ref/components/dialog/DialogHeader.js.map +1 -1
  801. package/admin/plugins/fieldRenderers/ref/components/graphql.js +5 -6
  802. package/admin/plugins/fieldRenderers/ref/components/graphql.js.map +1 -1
  803. package/admin/plugins/fieldRenderers/ref/components/helpers.js +4 -8
  804. package/admin/plugins/fieldRenderers/ref/components/helpers.js.map +1 -1
  805. package/admin/plugins/fieldRenderers/ref/components/renderItem.d.ts +3 -3
  806. package/admin/plugins/fieldRenderers/ref/components/renderItem.js +17 -10
  807. package/admin/plugins/fieldRenderers/ref/components/renderItem.js.map +1 -1
  808. package/admin/plugins/fieldRenderers/ref/components/types.js.map +1 -1
  809. package/admin/plugins/fieldRenderers/ref/components/useReference.js +1 -2
  810. package/admin/plugins/fieldRenderers/ref/components/useReference.js.map +1 -1
  811. package/admin/plugins/fieldRenderers/ref/components/useReferences.js +1 -2
  812. package/admin/plugins/fieldRenderers/ref/components/useReferences.js.map +1 -1
  813. package/admin/plugins/fieldRenderers/ref/hooks/useNewRefEntry.js +1 -2
  814. package/admin/plugins/fieldRenderers/ref/hooks/useNewRefEntry.js.map +1 -1
  815. package/admin/plugins/fieldRenderers/ref/index.js +1 -2
  816. package/admin/plugins/fieldRenderers/ref/index.js.map +1 -1
  817. package/admin/plugins/fieldRenderers/ref/refInput.js +1 -2
  818. package/admin/plugins/fieldRenderers/ref/refInput.js.map +1 -1
  819. package/admin/plugins/fieldRenderers/ref/refInputs.js +7 -6
  820. package/admin/plugins/fieldRenderers/ref/refInputs.js.map +1 -1
  821. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleItems.d.ts +2 -2
  822. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleItems.js +28 -12
  823. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleItems.js.map +1 -1
  824. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleMultipleRenderer.d.ts +2 -2
  825. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleMultipleRenderer.js +1 -2
  826. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleMultipleRenderer.js.map +1 -1
  827. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleSingleRenderer.d.ts +3 -2
  828. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleSingleRenderer.js +4 -2
  829. package/admin/plugins/fieldRenderers/ref/simple/components/SimpleSingleRenderer.js.map +1 -1
  830. package/admin/plugins/fieldRenderers/ref/simple/components/useContentModels.js +1 -2
  831. package/admin/plugins/fieldRenderers/ref/simple/components/useContentModels.js.map +1 -1
  832. package/admin/plugins/fieldRenderers/ref/simple/components/useReferences.js +1 -2
  833. package/admin/plugins/fieldRenderers/ref/simple/components/useReferences.js.map +1 -1
  834. package/admin/plugins/fieldRenderers/ref/simple/index.js +1 -2
  835. package/admin/plugins/fieldRenderers/ref/simple/index.js.map +1 -1
  836. package/admin/plugins/fieldRenderers/ref/simple/simpleMultipleRenderer.js +1 -2
  837. package/admin/plugins/fieldRenderers/ref/simple/simpleMultipleRenderer.js.map +1 -1
  838. package/admin/plugins/fieldRenderers/ref/simple/simpleSingleRenderer.js +1 -2
  839. package/admin/plugins/fieldRenderers/ref/simple/simpleSingleRenderer.js.map +1 -1
  840. package/admin/plugins/fieldRenderers/richText/index.js +1 -2
  841. package/admin/plugins/fieldRenderers/richText/index.js.map +1 -1
  842. package/admin/plugins/fieldRenderers/richText/richTextInput.d.ts +2 -2
  843. package/admin/plugins/fieldRenderers/richText/richTextInput.js +14 -15
  844. package/admin/plugins/fieldRenderers/richText/richTextInput.js.map +1 -1
  845. package/admin/plugins/fieldRenderers/richText/richTextInputs.d.ts +2 -2
  846. package/admin/plugins/fieldRenderers/richText/richTextInputs.js +23 -17
  847. package/admin/plugins/fieldRenderers/richText/richTextInputs.js.map +1 -1
  848. package/admin/plugins/fieldRenderers/richText/utils.js +3 -6
  849. package/admin/plugins/fieldRenderers/richText/utils.js.map +1 -1
  850. package/admin/plugins/fieldRenderers/select.d.ts +2 -2
  851. package/admin/plugins/fieldRenderers/select.js +1 -2
  852. package/admin/plugins/fieldRenderers/select.js.map +1 -1
  853. package/admin/plugins/fieldRenderers/text/index.js +1 -2
  854. package/admin/plugins/fieldRenderers/text/index.js.map +1 -1
  855. package/admin/plugins/fieldRenderers/text/textInput.d.ts +2 -2
  856. package/admin/plugins/fieldRenderers/text/textInput.js +10 -5
  857. package/admin/plugins/fieldRenderers/text/textInput.js.map +1 -1
  858. package/admin/plugins/fieldRenderers/text/textInputs.d.ts +2 -2
  859. package/admin/plugins/fieldRenderers/text/textInputs.js +12 -4
  860. package/admin/plugins/fieldRenderers/text/textInputs.js.map +1 -1
  861. package/admin/plugins/fieldValidators/date/availableValidators.js +1 -2
  862. package/admin/plugins/fieldValidators/date/availableValidators.js.map +1 -1
  863. package/admin/plugins/fieldValidators/date/createDateInputField.d.ts +2 -2
  864. package/admin/plugins/fieldValidators/date/createDateInputField.js +1 -2
  865. package/admin/plugins/fieldValidators/date/createDateInputField.js.map +1 -1
  866. package/admin/plugins/fieldValidators/dateGte.js +1 -2
  867. package/admin/plugins/fieldValidators/dateGte.js.map +1 -1
  868. package/admin/plugins/fieldValidators/dateLte.js +1 -2
  869. package/admin/plugins/fieldValidators/dateLte.js.map +1 -1
  870. package/admin/plugins/fieldValidators/dynamicZone.js +1 -2
  871. package/admin/plugins/fieldValidators/dynamicZone.js.map +1 -1
  872. package/admin/plugins/fieldValidators/gte.js +1 -2
  873. package/admin/plugins/fieldValidators/gte.js.map +1 -1
  874. package/admin/plugins/fieldValidators/in.js +1 -2
  875. package/admin/plugins/fieldValidators/in.js.map +1 -1
  876. package/admin/plugins/fieldValidators/lte.js +1 -2
  877. package/admin/plugins/fieldValidators/lte.js.map +1 -1
  878. package/admin/plugins/fieldValidators/maxLength.js +1 -2
  879. package/admin/plugins/fieldValidators/maxLength.js.map +1 -1
  880. package/admin/plugins/fieldValidators/minLength.js +1 -2
  881. package/admin/plugins/fieldValidators/minLength.js.map +1 -1
  882. package/admin/plugins/fieldValidators/pattern.js +1 -2
  883. package/admin/plugins/fieldValidators/pattern.js.map +1 -1
  884. package/admin/plugins/fieldValidators/patternPlugins/email.js +1 -2
  885. package/admin/plugins/fieldValidators/patternPlugins/email.js.map +1 -1
  886. package/admin/plugins/fieldValidators/patternPlugins/lowerCase.js +1 -2
  887. package/admin/plugins/fieldValidators/patternPlugins/lowerCase.js.map +1 -1
  888. package/admin/plugins/fieldValidators/patternPlugins/lowerCaseSpace.js +1 -2
  889. package/admin/plugins/fieldValidators/patternPlugins/lowerCaseSpace.js.map +1 -1
  890. package/admin/plugins/fieldValidators/patternPlugins/upperCase.js +1 -2
  891. package/admin/plugins/fieldValidators/patternPlugins/upperCase.js.map +1 -1
  892. package/admin/plugins/fieldValidators/patternPlugins/upperCaseSpace.js +1 -2
  893. package/admin/plugins/fieldValidators/patternPlugins/upperCaseSpace.js.map +1 -1
  894. package/admin/plugins/fieldValidators/patternPlugins/url.js +1 -2
  895. package/admin/plugins/fieldValidators/patternPlugins/url.js.map +1 -1
  896. package/admin/plugins/fieldValidators/required.js +1 -2
  897. package/admin/plugins/fieldValidators/required.js.map +1 -1
  898. package/admin/plugins/fieldValidators/unique.js +1 -2
  899. package/admin/plugins/fieldValidators/unique.js.map +1 -1
  900. package/admin/plugins/fields/PredefinedValuesDynamicFieldset.d.ts +1 -1
  901. package/admin/plugins/fields/PredefinedValuesDynamicFieldset.js +37 -27
  902. package/admin/plugins/fields/PredefinedValuesDynamicFieldset.js.map +1 -1
  903. package/admin/plugins/fields/boolean.js +1 -2
  904. package/admin/plugins/fields/boolean.js.map +1 -1
  905. package/admin/plugins/fields/dateTime.js +20 -29
  906. package/admin/plugins/fields/dateTime.js.map +1 -1
  907. package/admin/plugins/fields/dynamicZone/AddTemplate.d.ts +3 -3
  908. package/admin/plugins/fields/dynamicZone/AddTemplate.js +45 -16
  909. package/admin/plugins/fields/dynamicZone/AddTemplate.js.map +1 -1
  910. package/admin/plugins/fields/dynamicZone/DynamicZone.d.ts +2 -2
  911. package/admin/plugins/fields/dynamicZone/DynamicZone.js +1 -2
  912. package/admin/plugins/fields/dynamicZone/DynamicZone.js.map +1 -1
  913. package/admin/plugins/fields/dynamicZone/DynamicZoneTemplate.d.ts +2 -2
  914. package/admin/plugins/fields/dynamicZone/DynamicZoneTemplate.js +1 -2
  915. package/admin/plugins/fields/dynamicZone/DynamicZoneTemplate.js.map +1 -1
  916. package/admin/plugins/fields/dynamicZone/TemplateDialog.d.ts +2 -2
  917. package/admin/plugins/fields/dynamicZone/TemplateDialog.js +1 -2
  918. package/admin/plugins/fields/dynamicZone/TemplateDialog.js.map +1 -1
  919. package/admin/plugins/fields/dynamicZone/commonValidators.js +1 -2
  920. package/admin/plugins/fields/dynamicZone/commonValidators.js.map +1 -1
  921. package/admin/plugins/fields/dynamicZone.js +1 -2
  922. package/admin/plugins/fields/dynamicZone.js.map +1 -1
  923. package/admin/plugins/fields/longText.js +1 -2
  924. package/admin/plugins/fields/longText.js.map +1 -1
  925. package/admin/plugins/fields/number.js +1 -2
  926. package/admin/plugins/fields/number.js.map +1 -1
  927. package/admin/plugins/fields/object/ObjectFields.d.ts +2 -2
  928. package/admin/plugins/fields/object/ObjectFields.js +1 -2
  929. package/admin/plugins/fields/object/ObjectFields.js.map +1 -1
  930. package/admin/plugins/fields/object.js +1 -2
  931. package/admin/plugins/fields/object.js.map +1 -1
  932. package/admin/plugins/fields/ref/graphql.js +1 -2
  933. package/admin/plugins/fields/ref/graphql.js.map +1 -1
  934. package/admin/plugins/fields/ref/renderInfo.d.ts +2 -2
  935. package/admin/plugins/fields/ref/renderInfo.js +38 -34
  936. package/admin/plugins/fields/ref/renderInfo.js.map +1 -1
  937. package/admin/plugins/fields/ref.js +9 -11
  938. package/admin/plugins/fields/ref.js.map +1 -1
  939. package/admin/plugins/fields/richText.js +1 -2
  940. package/admin/plugins/fields/richText.js.map +1 -1
  941. package/admin/plugins/fields/text.js +1 -2
  942. package/admin/plugins/fields/text.js.map +1 -1
  943. package/admin/plugins/getObjectId.d.ts +1 -1
  944. package/admin/plugins/getObjectId.js +1 -2
  945. package/admin/plugins/getObjectId.js.map +1 -1
  946. package/admin/plugins/icons.js +1 -2
  947. package/admin/plugins/icons.js.map +1 -1
  948. package/admin/plugins/index.d.ts +4 -3
  949. package/admin/plugins/index.js +1 -2
  950. package/admin/plugins/index.js.map +1 -1
  951. package/admin/plugins/install.js +14 -7
  952. package/admin/plugins/install.js.map +1 -1
  953. package/admin/plugins/permissionRenderer/CmsPermissions.d.ts +6 -2
  954. package/admin/plugins/permissionRenderer/CmsPermissions.js +2 -4
  955. package/admin/plugins/permissionRenderer/CmsPermissions.js.map +1 -1
  956. package/admin/plugins/permissionRenderer/components/ContentEntryPermission.d.ts +2 -2
  957. package/admin/plugins/permissionRenderer/components/ContentEntryPermission.js +1 -2
  958. package/admin/plugins/permissionRenderer/components/ContentEntryPermission.js.map +1 -1
  959. package/admin/plugins/permissionRenderer/components/ContentModelGroupPermission.d.ts +2 -2
  960. package/admin/plugins/permissionRenderer/components/ContentModelGroupPermission.js +1 -2
  961. package/admin/plugins/permissionRenderer/components/ContentModelGroupPermission.js.map +1 -1
  962. package/admin/plugins/permissionRenderer/components/ContentModelList.d.ts +2 -2
  963. package/admin/plugins/permissionRenderer/components/ContentModelList.js +5 -6
  964. package/admin/plugins/permissionRenderer/components/ContentModelList.js.map +1 -1
  965. package/admin/plugins/permissionRenderer/components/ContentModelPermission.d.ts +2 -2
  966. package/admin/plugins/permissionRenderer/components/ContentModelPermission.js +1 -2
  967. package/admin/plugins/permissionRenderer/components/ContentModelPermission.js.map +1 -1
  968. package/admin/plugins/permissionRenderer/components/PermissionRendererWrapper.d.ts +1 -1
  969. package/admin/plugins/permissionRenderer/components/PermissionRendererWrapper.js +1 -2
  970. package/admin/plugins/permissionRenderer/components/PermissionRendererWrapper.js.map +1 -1
  971. package/admin/plugins/permissionRenderer/components/PermissionSelector.d.ts +2 -2
  972. package/admin/plugins/permissionRenderer/components/PermissionSelector.js +2 -4
  973. package/admin/plugins/permissionRenderer/components/PermissionSelector.js.map +1 -1
  974. package/admin/plugins/permissionRenderer/components/StyledComponents.d.ts +1 -1
  975. package/admin/plugins/permissionRenderer/components/StyledComponents.js +13 -8
  976. package/admin/plugins/permissionRenderer/components/StyledComponents.js.map +1 -1
  977. package/admin/plugins/permissionRenderer/components/types.js.map +1 -1
  978. package/admin/plugins/permissionRenderer/components/useCmsData.js +1 -2
  979. package/admin/plugins/permissionRenderer/components/useCmsData.js.map +1 -1
  980. package/admin/plugins/permissionRenderer/index.js +1 -2
  981. package/admin/plugins/permissionRenderer/index.js.map +1 -1
  982. package/admin/plugins/routes.js +1 -2
  983. package/admin/plugins/routes.js.map +1 -1
  984. package/admin/plugins/transformers/dateTransformer.js +1 -2
  985. package/admin/plugins/transformers/dateTransformer.js.map +1 -1
  986. package/admin/plugins/transformers/dynamicZoneTransformer.js +1 -2
  987. package/admin/plugins/transformers/dynamicZoneTransformer.js.map +1 -1
  988. package/admin/plugins/transformers/index.js +1 -2
  989. package/admin/plugins/transformers/index.js.map +1 -1
  990. package/admin/plugins/transformers/numberTransformer.js +1 -2
  991. package/admin/plugins/transformers/numberTransformer.js.map +1 -1
  992. package/admin/plugins/transformers/objectTransformer.js +1 -2
  993. package/admin/plugins/transformers/objectTransformer.js.map +1 -1
  994. package/admin/plugins/welcomeScreenWidget.js +5 -6
  995. package/admin/plugins/welcomeScreenWidget.js.map +1 -1
  996. package/admin/views/contentEntries/ContentEntries.d.ts +8 -2
  997. package/admin/views/contentEntries/ContentEntries.js +5 -5
  998. package/admin/views/contentEntries/ContentEntries.js.map +1 -1
  999. package/admin/views/contentEntries/ContentEntriesContainer.d.ts +1 -1
  1000. package/admin/views/contentEntries/ContentEntriesContainer.js +1 -2
  1001. package/admin/views/contentEntries/ContentEntriesContainer.js.map +1 -1
  1002. package/admin/views/contentEntries/ContentEntriesContext.d.ts +2 -2
  1003. package/admin/views/contentEntries/ContentEntriesContext.js +4 -6
  1004. package/admin/views/contentEntries/ContentEntriesContext.js.map +1 -1
  1005. package/admin/views/contentEntries/ContentEntriesModule.d.ts +2 -2
  1006. package/admin/views/contentEntries/ContentEntriesModule.js +10 -3
  1007. package/admin/views/contentEntries/ContentEntriesModule.js.map +1 -1
  1008. package/admin/views/contentEntries/ContentEntry/ContentEntryContext.d.ts +31 -12
  1009. package/admin/views/contentEntries/ContentEntry/ContentEntryContext.js +145 -60
  1010. package/admin/views/contentEntries/ContentEntry/ContentEntryContext.js.map +1 -1
  1011. package/admin/views/contentEntries/ContentEntry/{PublishEntryRevisionListItem.d.ts → RevisionsList/PublishEntryRevisionListItem.d.ts} +3 -2
  1012. package/admin/views/contentEntries/ContentEntry/{PublishEntryRevisionListItem.js → RevisionsList/PublishEntryRevisionListItem.js} +2 -3
  1013. package/admin/views/contentEntries/ContentEntry/{PublishEntryRevisionListItem.js.map → RevisionsList/PublishEntryRevisionListItem.js.map} +1 -1
  1014. package/admin/views/contentEntries/ContentEntry/{RevisionListItem.d.ts → RevisionsList/RevisionListItem.d.ts} +3 -3
  1015. package/admin/views/contentEntries/ContentEntry/{RevisionListItem.js → RevisionsList/RevisionListItem.js} +26 -35
  1016. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionListItem.js.map +1 -0
  1017. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionsList.d.ts +2 -0
  1018. package/admin/views/contentEntries/ContentEntry/{RevisionsList.js → RevisionsList/RevisionsList.js} +9 -11
  1019. package/admin/views/contentEntries/ContentEntry/RevisionsList/RevisionsList.js.map +1 -0
  1020. package/admin/views/contentEntries/ContentEntry/{useRevision.d.ts → RevisionsList/useRevision.d.ts} +8 -8
  1021. package/admin/views/contentEntries/ContentEntry/RevisionsList/useRevision.js +105 -0
  1022. package/admin/views/contentEntries/ContentEntry/RevisionsList/useRevision.js.map +1 -0
  1023. package/admin/views/contentEntries/ContentEntry/useMockRecords.d.ts +14 -0
  1024. package/admin/views/contentEntries/ContentEntry/useMockRecords.js +11 -0
  1025. package/admin/views/contentEntries/ContentEntry/useMockRecords.js.map +1 -0
  1026. package/admin/views/contentEntries/ContentEntry.d.ts +7 -1
  1027. package/admin/views/contentEntries/ContentEntry.js +35 -58
  1028. package/admin/views/contentEntries/ContentEntry.js.map +1 -1
  1029. package/admin/views/contentEntries/Table/Main.d.ts +2 -2
  1030. package/admin/views/contentEntries/Table/Main.js +1 -2
  1031. package/admin/views/contentEntries/Table/Main.js.map +1 -1
  1032. package/admin/views/contentEntries/Table/Sidebar.d.ts +2 -2
  1033. package/admin/views/contentEntries/Table/Sidebar.js +33 -14
  1034. package/admin/views/contentEntries/Table/Sidebar.js.map +1 -1
  1035. package/admin/views/contentEntries/Table/index.d.ts +2 -2
  1036. package/admin/views/contentEntries/Table/index.js +4 -3
  1037. package/admin/views/contentEntries/Table/index.js.map +1 -1
  1038. package/admin/views/contentEntries/Table/styled.d.ts +11 -3
  1039. package/admin/views/contentEntries/Table/styled.js +72 -16
  1040. package/admin/views/contentEntries/Table/styled.js.map +1 -1
  1041. package/admin/views/contentEntries/hooks/index.js.map +1 -1
  1042. package/admin/views/contentEntries/hooks/useContentEntries.d.ts +2 -1
  1043. package/admin/views/contentEntries/hooks/useContentEntries.js +1 -1
  1044. package/admin/views/contentEntries/hooks/useContentEntries.js.map +1 -1
  1045. package/admin/views/contentEntries/hooks/useContentEntriesList.d.ts +10 -2
  1046. package/admin/views/contentEntries/hooks/useContentEntriesList.js +12 -7
  1047. package/admin/views/contentEntries/hooks/useContentEntriesList.js.map +1 -1
  1048. package/admin/views/contentEntries/hooks/useContentEntry.d.ts +8 -1
  1049. package/admin/views/contentEntries/hooks/useContentEntry.js +5 -4
  1050. package/admin/views/contentEntries/hooks/useContentEntry.js.map +1 -1
  1051. package/admin/views/contentEntries/hooks/useMoveContentEntryToFolder.js.map +1 -1
  1052. package/admin/views/contentModelGroups/ContentModelGroups.d.ts +2 -2
  1053. package/admin/views/contentModelGroups/ContentModelGroups.js +1 -2
  1054. package/admin/views/contentModelGroups/ContentModelGroups.js.map +1 -1
  1055. package/admin/views/contentModelGroups/ContentModelGroupsDataList.d.ts +2 -2
  1056. package/admin/views/contentModelGroups/ContentModelGroupsDataList.js +1 -2
  1057. package/admin/views/contentModelGroups/ContentModelGroupsDataList.js.map +1 -1
  1058. package/admin/views/contentModelGroups/ContentModelGroupsForm.d.ts +2 -2
  1059. package/admin/views/contentModelGroups/ContentModelGroupsForm.js +14 -7
  1060. package/admin/views/contentModelGroups/ContentModelGroupsForm.js.map +1 -1
  1061. package/admin/views/contentModelGroups/graphql.js +9 -10
  1062. package/admin/views/contentModelGroups/graphql.js.map +1 -1
  1063. package/admin/views/contentModels/CloneContentModelDialog.d.ts +2 -2
  1064. package/admin/views/contentModels/CloneContentModelDialog.js +1 -2
  1065. package/admin/views/contentModels/CloneContentModelDialog.js.map +1 -1
  1066. package/admin/views/contentModels/ContentModelEditor.d.ts +2 -2
  1067. package/admin/views/contentModels/ContentModelEditor.js +5 -6
  1068. package/admin/views/contentModels/ContentModelEditor.js.map +1 -1
  1069. package/admin/views/contentModels/ContentModels.d.ts +2 -2
  1070. package/admin/views/contentModels/ContentModels.js +7 -8
  1071. package/admin/views/contentModels/ContentModels.js.map +1 -1
  1072. package/admin/views/contentModels/ContentModelsDataList.d.ts +2 -2
  1073. package/admin/views/contentModels/ContentModelsDataList.js +33 -25
  1074. package/admin/views/contentModels/ContentModelsDataList.js.map +1 -1
  1075. package/admin/views/contentModels/NewContentModelDialog.d.ts +2 -2
  1076. package/admin/views/contentModels/NewContentModelDialog.js +16 -6
  1077. package/admin/views/contentModels/NewContentModelDialog.js.map +1 -1
  1078. package/admin/views/contentModels/OptionsMenu.d.ts +2 -1
  1079. package/admin/views/contentModels/OptionsMenu.js +3 -4
  1080. package/admin/views/contentModels/OptionsMenu.js.map +1 -1
  1081. package/admin/views/contentModels/cache.js +5 -10
  1082. package/admin/views/contentModels/cache.js.map +1 -1
  1083. package/admin/views/contentModels/exporting/download.js +1 -2
  1084. package/admin/views/contentModels/exporting/download.js.map +1 -1
  1085. package/admin/views/contentModels/exporting/graphql.js +1 -2
  1086. package/admin/views/contentModels/exporting/graphql.js.map +1 -1
  1087. package/admin/views/contentModels/exporting/runExport.js +1 -2
  1088. package/admin/views/contentModels/exporting/runExport.js.map +1 -1
  1089. package/admin/views/contentModels/exporting/useModelExport.js +1 -2
  1090. package/admin/views/contentModels/exporting/useModelExport.js.map +1 -1
  1091. package/admin/views/contentModels/helpers/apiNameValidator.js +1 -2
  1092. package/admin/views/contentModels/helpers/apiNameValidator.js.map +1 -1
  1093. package/admin/views/contentModels/helpers/nameValidator.js +1 -2
  1094. package/admin/views/contentModels/helpers/nameValidator.js.map +1 -1
  1095. package/admin/views/contentModels/importing/ImportContentModelsDialog.d.ts +2 -2
  1096. package/admin/views/contentModels/importing/ImportContentModelsDialog.js +1 -2
  1097. package/admin/views/contentModels/importing/ImportContentModelsDialog.js.map +1 -1
  1098. package/admin/views/contentModels/importing/ImportContext.d.ts +1 -1
  1099. package/admin/views/contentModels/importing/ImportContext.js +61 -61
  1100. package/admin/views/contentModels/importing/ImportContext.js.map +1 -1
  1101. package/admin/views/contentModels/importing/components/DataList.d.ts +2 -2
  1102. package/admin/views/contentModels/importing/components/DataList.js +1 -2
  1103. package/admin/views/contentModels/importing/components/DataList.js.map +1 -1
  1104. package/admin/views/contentModels/importing/components/DataListGroup.d.ts +2 -2
  1105. package/admin/views/contentModels/importing/components/DataListGroup.js +27 -15
  1106. package/admin/views/contentModels/importing/components/DataListGroup.js.map +1 -1
  1107. package/admin/views/contentModels/importing/components/Errors.d.ts +2 -2
  1108. package/admin/views/contentModels/importing/components/Errors.js +15 -11
  1109. package/admin/views/contentModels/importing/components/Errors.js.map +1 -1
  1110. package/admin/views/contentModels/importing/components/FileUpload.d.ts +2 -2
  1111. package/admin/views/contentModels/importing/components/FileUpload.js +27 -18
  1112. package/admin/views/contentModels/importing/components/FileUpload.js.map +1 -1
  1113. package/admin/views/contentModels/importing/components/ImportButton.d.ts +2 -2
  1114. package/admin/views/contentModels/importing/components/ImportButton.js +1 -2
  1115. package/admin/views/contentModels/importing/components/ImportButton.js.map +1 -1
  1116. package/admin/views/contentModels/importing/components/Model/DataListInstructions.d.ts +2 -2
  1117. package/admin/views/contentModels/importing/components/Model/DataListInstructions.js +14 -7
  1118. package/admin/views/contentModels/importing/components/Model/DataListInstructions.js.map +1 -1
  1119. package/admin/views/contentModels/importing/components/Model/DataListModelItem.d.ts +2 -2
  1120. package/admin/views/contentModels/importing/components/Model/DataListModelItem.js +89 -66
  1121. package/admin/views/contentModels/importing/components/Model/DataListModelItem.js.map +1 -1
  1122. package/admin/views/contentModels/importing/components/Model/DataListModelItemError.d.ts +2 -2
  1123. package/admin/views/contentModels/importing/components/Model/DataListModelItemError.js +38 -20
  1124. package/admin/views/contentModels/importing/components/Model/DataListModelItemError.js.map +1 -1
  1125. package/admin/views/contentModels/importing/components/Model/DataListModelItemInfo.d.ts +2 -2
  1126. package/admin/views/contentModels/importing/components/Model/DataListModelItemInfo.js +14 -10
  1127. package/admin/views/contentModels/importing/components/Model/DataListModelItemInfo.js.map +1 -1
  1128. package/admin/views/contentModels/importing/components/Model/DataListModels.d.ts +2 -2
  1129. package/admin/views/contentModels/importing/components/Model/DataListModels.js +14 -9
  1130. package/admin/views/contentModels/importing/components/Model/DataListModels.js.map +1 -1
  1131. package/admin/views/contentModels/importing/components/Model/index.js.map +1 -1
  1132. package/admin/views/contentModels/importing/graphql.js +2 -4
  1133. package/admin/views/contentModels/importing/graphql.js.map +1 -1
  1134. package/admin/views/contentModels/importing/types.js +1 -2
  1135. package/admin/views/contentModels/importing/types.js.map +1 -1
  1136. package/admin/views/contentModels/importing/useImport.js +1 -2
  1137. package/admin/views/contentModels/importing/useImport.js.map +1 -1
  1138. package/admin/views/contentModels/types.js.map +1 -1
  1139. package/admin/views/utils.js +1 -2
  1140. package/admin/views/utils.js.map +1 -1
  1141. package/admin/viewsGraphql.js +9 -10
  1142. package/admin/viewsGraphql.js.map +1 -1
  1143. package/allPlugins.d.ts +4 -3
  1144. package/allPlugins.js +2 -2
  1145. package/allPlugins.js.map +1 -1
  1146. package/index.d.ts +6 -193
  1147. package/index.js +15 -18
  1148. package/index.js.map +1 -1
  1149. package/package.json +44 -41
  1150. package/types.d.ts +25 -0
  1151. package/types.js.map +1 -1
  1152. package/utils/CmsModelFieldValidatorConfigAdapter.js +2 -4
  1153. package/utils/CmsModelFieldValidatorConfigAdapter.js.map +1 -1
  1154. package/utils/allowCmsLegacyRichTextInput.js +1 -2
  1155. package/utils/allowCmsLegacyRichTextInput.js.map +1 -1
  1156. package/utils/createTypeName.js +1 -2
  1157. package/utils/createTypeName.js.map +1 -1
  1158. package/utils/createValidators.d.ts +1 -1
  1159. package/utils/createValidators.js +5 -2
  1160. package/utils/createValidators.js.map +1 -1
  1161. package/utils/getFetchPolicy.js +1 -2
  1162. package/utils/getFetchPolicy.js.map +1 -1
  1163. package/utils/getModelTitleFieldId.js +1 -2
  1164. package/utils/getModelTitleFieldId.js.map +1 -1
  1165. package/admin/components/ContentEntryForm/Header/DeleteEntry/useDeleteEntry.d.ts +0 -9
  1166. package/admin/components/ContentEntryForm/Header/DeleteEntry/useDeleteEntry.js +0 -68
  1167. package/admin/components/ContentEntryForm/Header/DeleteEntry/useDeleteEntry.js.map +0 -1
  1168. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/useSaveAndPublish.d.ts +0 -11
  1169. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/useSaveAndPublish.js +0 -47
  1170. package/admin/components/ContentEntryForm/Header/SaveAndPublishContent/useSaveAndPublish.js.map +0 -1
  1171. package/admin/components/ContentEntryForm/Header/SaveContent/useSave.d.ts +0 -6
  1172. package/admin/components/ContentEntryForm/Header/SaveContent/useSave.js +0 -27
  1173. package/admin/components/ContentEntryForm/Header/SaveContent/useSave.js.map +0 -1
  1174. package/admin/components/ContentModelEditor/Editor.d.ts +0 -6
  1175. package/admin/components/ContentModelEditor/Editor.js +0 -141
  1176. package/admin/components/ContentModelEditor/Editor.js.map +0 -1
  1177. package/admin/components/DelayedOnChange.d.ts +0 -42
  1178. package/admin/components/DelayedOnChange.js +0 -121
  1179. package/admin/components/DelayedOnChange.js.map +0 -1
  1180. package/admin/hooks/useChangeEntryStatus.d.ts +0 -9
  1181. package/admin/hooks/useChangeEntryStatus.js +0 -74
  1182. package/admin/hooks/useChangeEntryStatus.js.map +0 -1
  1183. package/admin/hooks/useDeleteEntry.d.ts +0 -10
  1184. package/admin/hooks/useDeleteEntry.js +0 -68
  1185. package/admin/hooks/useDeleteEntry.js.map +0 -1
  1186. package/admin/plugins/entry/DefaultOnEntryDelete.d.ts +0 -2
  1187. package/admin/plugins/entry/DefaultOnEntryDelete.js +0 -103
  1188. package/admin/plugins/entry/DefaultOnEntryDelete.js.map +0 -1
  1189. package/admin/plugins/entry/DefaultOnEntryPublish.d.ts +0 -2
  1190. package/admin/plugins/entry/DefaultOnEntryPublish.js +0 -84
  1191. package/admin/plugins/entry/DefaultOnEntryPublish.js.map +0 -1
  1192. package/admin/plugins/entry/DefaultOnEntryUnpublish.d.ts +0 -2
  1193. package/admin/plugins/entry/DefaultOnEntryUnpublish.js +0 -84
  1194. package/admin/plugins/entry/DefaultOnEntryUnpublish.js.map +0 -1
  1195. package/admin/views/contentEntries/ContentEntry/RevisionListItem.js.map +0 -1
  1196. package/admin/views/contentEntries/ContentEntry/RevisionsList.d.ts +0 -3
  1197. package/admin/views/contentEntries/ContentEntry/RevisionsList.js.map +0 -1
  1198. package/admin/views/contentEntries/ContentEntry/useRevision.js +0 -155
  1199. package/admin/views/contentEntries/ContentEntry/useRevision.js.map +0 -1
  1200. package/components.d.ts +0 -88
  1201. package/components.js +0 -31
  1202. package/components.js.map +0 -1
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const DragPreview: () => JSX.Element | null;
1
+ import React from "react";
2
+ declare const DragPreview: () => React.JSX.Element | null;
3
3
  export default DragPreview;
@@ -99,7 +99,6 @@ var DragPreview = function DragPreview() {
99
99
  }
100
100
  })));
101
101
  };
102
- var _default = DragPreview;
103
- exports.default = _default;
102
+ var _default = exports.default = DragPreview;
104
103
 
105
104
  //# sourceMappingURL=DragPreview.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactDnd","subscribedToOffsetChange","dragPreviewRef","onOffsetChange","monitor","offset","getClientOffset","transform","concat","x","y","style","DragPreview","_useState","useState","_useState2","_slicedToArray2","default","dragHelperOpacity","setDragHelperOpacity","_useDragLayer","useDragLayer","initialMonitor","subscribeToOffsetChange","isDragging","useEffect","setTimeout","createElement","position","pointerEvents","zIndex","left","top","width","height","ref","el","transition","display","opacity","backgroundColor","borderRadius","_default","exports"],"sources":["DragPreview.tsx"],"sourcesContent":["import React, { useEffect, useState } from \"react\";\nimport { useDragLayer } from \"react-dnd\";\nimport { DragSourceMonitor } from \"react-dnd/lib/interfaces/monitors\";\nimport { DragSourceMonitorImpl } from \"react-dnd/lib/common/DragSourceMonitorImpl\";\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={{\n position: \"fixed\",\n pointerEvents: \"none\",\n zIndex: 1001,\n left: 0,\n top: 0,\n width: \"100%\",\n height: \"100%\"\n }}\n >\n <div\n ref={el => (dragPreviewRef = el)}\n style={{\n transition: \"opacity .25s ease-in-out\",\n display: \"block\",\n opacity: dragHelperOpacity\n }}\n >\n <div\n style={{\n width: 30,\n height: 30,\n backgroundColor: \"var(--mdc-theme-primary)\",\n borderRadius: \"50%\"\n }}\n />\n </div>\n </div>\n );\n};\nexport default DragPreview;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAIA,IAAIE,wBAAwB,GAAG,KAAK;AAEpC,IAAIC,cAAqC,GAAG,IAAI;AAEhD,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,OAA0B;EAAA,OAAK,YAAM;IACzD,IAAI,CAACF,cAAc,EAAE;MACjB;IACJ;IAEA,IAAMG,MAAM,GAAGD,OAAO,CAACE,eAAe,CAAC,CAAC;IACxC,IAAI,CAACD,MAAM,EAAE;MACT;IACJ;IAEA,IAAME,SAAS,gBAAAC,MAAA,CAAgBH,MAAM,CAACI,CAAC,GAAG,EAAE,UAAAD,MAAA,CAAOH,MAAM,CAACK,CAAC,GAAG,EAAE,QAAK;IACrER,cAAc,CAACS,KAAK,CAAC,WAAW,CAAC,GAAGJ,SAAS;IAC7C;IACA;IACAL,cAAc,CAACS,KAAK,CAAC,mBAAmB,CAAC,GAAGJ,SAAS;EACzD,CAAC;AAAA;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAA,EAAS;EACtB,IAAAC,SAAA,GAAkD,IAAAC,eAAQ,EAAC,CAAC,CAAC;IAAAC,UAAA,OAAAC,eAAA,CAAAC,OAAA,EAAAJ,SAAA;IAAtDK,iBAAiB,GAAAH,UAAA;IAAEI,oBAAoB,GAAAJ,UAAA;EAC9C,IAAAK,aAAA,GAAuB,IAAAC,sBAAY,EAAC,UAAAC,cAAc,EAAI;MAClD;AACR;AACA;MACQ,IAAMlB,OAAO,GAAGkB,cAAkD;MAClE,IAAI,CAACrB,wBAAwB,EAAE;QAC3BG,OAAO,CAACmB,uBAAuB,CAACpB,cAAc,CAACC,OAAO,CAAC,CAAC;QACxDH,wBAAwB,GAAG,IAAI;M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AE;MACTC,MAAM,EAAE,EAAE;MACVM,eAAe,EAAE,0BAA0B;MAC3CC,YAAY,EAAE;IAClB;EAAE,CACL,CACA,CACJ,CAAC;AAEd,CAAC;AAAC,IAAAC,QAAA,GACa9B,WAAW;AAAA+B,OAAA,CAAA1B,OAAA,GAAAyB,QAAA"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactDnd","subscribedToOffsetChange","dragPreviewRef","onOffsetChange","monitor","offset","getClientOffset","transform","concat","x","y","style","DragPreview","_useState","useState","_useState2","_slicedToArray2","default","dragHelperOpacity","setDragHelperOpacity","_useDragLayer","useDragLayer","initialMonitor","subscribeToOffsetChange","isDragging","useEffect","setTimeout","createElement","position","pointerEvents","zIndex","left","top","width","height","ref","el","transition","display","opacity","backgroundColor","borderRadius","_default","exports"],"sources":["DragPreview.tsx"],"sourcesContent":["import React, { useEffect, useState } from \"react\";\nimport { useDragLayer, DragSourceMonitor } from \"react-dnd\";\nimport { 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={{\n position: \"fixed\",\n pointerEvents: \"none\",\n zIndex: 1001,\n left: 0,\n top: 0,\n width: \"100%\",\n height: \"100%\"\n }}\n >\n <div\n ref={el => (dragPreviewRef = el)}\n style={{\n transition: \"opacity .25s ease-in-out\",\n display: \"block\",\n opacity: dragHelperOpacity\n }}\n >\n <div\n style={{\n width: 30,\n height: 30,\n backgroundColor: \"var(--mdc-theme-primary)\",\n borderRadius: \"50%\"\n }}\n />\n </div>\n </div>\n );\n};\nexport default DragPreview;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAGA,IAAIE,wBAAwB,GAAG,KAAK;AAEpC,IAAIC,cAAqC,GAAG,IAAI;AAEhD,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,OAA0B;EAAA,OAAK,YAAM;IACzD,IAAI,CAACF,cAAc,EAAE;MACjB;IACJ;IAEA,IAAMG,MAAM,GAAGD,OAAO,CAACE,eAAe,CAAC,CAAC;IACxC,IAAI,CAACD,MAAM,EAAE;MACT;IACJ;IAEA,IAAME,SAAS,gBAAAC,MAAA,CAAgBH,MAAM,CAACI,CAAC,GAAG,EAAE,UAAAD,MAAA,CAAOH,MAAM,CAACK,CAAC,GAAG,EAAE,QAAK;IACrER,cAAc,CAACS,KAAK,CAAC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E;IACb,OAAO,IAAI;EACf;EAEA,oBACI3B,MAAA,CAAAoB,OAAA,CAAAU,aAAA;IACIhB,KAAK,EAAE;MACHiB,QAAQ,EAAE,OAAO;MACjBC,aAAa,EAAE,MAAM;MACrBC,MAAM,EAAE,IAAI;MACZC,IAAI,EAAE,CAAC;MACPC,GAAG,EAAE,CAAC;MACNC,KAAK,EAAE,MAAM;MACbC,MAAM,EAAE;IACZ;EAAE,gBAEFrC,MAAA,CAAAoB,OAAA,CAAAU,aAAA;IACIQ,GAAG,EAAE,SAAAA,IAAAC,EAAE;MAAA,OAAKlC,cAAc,GAAGkC,EAAE;IAAA,CAAE;IACjCzB,KAAK,EAAE;MACH0B,UAAU,EAAE,0BAA0B;MACtCC,OAAO,EAAE,OAAO;MAChBC,OAAO,EAAErB;IACb;EAAE,gBAEFrB,MAAA,CAAAoB,OAAA,CAAAU,aAAA;IACIhB,KAAK,EAAE;MACHsB,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVM,eAAe,EAAE,0BAA0B;MAC3CC,YAAY,EAAE;IAClB;EAAE,CACL,CACA,CACJ,CAAC;AAEd,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA1B,OAAA,GACaL,WAAW","ignoreList":[]}
@@ -12,24 +12,20 @@ var emptyImage = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEA
12
12
  var Draggable = function Draggable(props) {
13
13
  var children = props.children,
14
14
  beginDrag = props.beginDrag,
15
- endDrag = props.endDrag,
16
- target = props.target;
15
+ endDrag = props.endDrag;
17
16
  var _useDrag = (0, _reactDnd.useDrag)({
18
- item: {
19
- type: "element",
20
- target: target
17
+ type: "element",
18
+ item: function item(monitor) {
19
+ if (typeof beginDrag === "function") {
20
+ return beginDrag(props, monitor);
21
+ }
22
+ return beginDrag;
21
23
  },
22
24
  collect: function collect(monitor) {
23
25
  return {
24
26
  isDragging: monitor.isDragging()
25
27
  };
26
28
  },
27
- begin: function begin(monitor) {
28
- if (typeof beginDrag === "function") {
29
- return beginDrag(props, monitor);
30
- }
31
- return beginDrag;
32
- },
33
29
  end: function end(item, monitor) {
34
30
  if (typeof endDrag === "function") {
35
31
  return endDrag(item, monitor);
@@ -50,7 +46,6 @@ var Draggable = function Draggable(props) {
50
46
  }));
51
47
  };
52
48
  var MemoizedDraggable = /*#__PURE__*/_react.default.memo(Draggable);
53
- var _default = MemoizedDraggable;
54
- exports.default = _default;
49
+ var _default = exports.default = MemoizedDraggable;
55
50
 
56
51
  //# sourceMappingURL=Draggable.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactDnd","emptyImage","Draggable","props","children","beginDrag","endDrag","target","_useDrag","useDrag","item","type","collect","monitor","isDragging","begin","end","_useDrag2","_slicedToArray2","default","drag","preview","createElement","Fragment","DragPreviewImage","connect","src","MemoizedDraggable","React","memo","_default","exports"],"sources":["Draggable.tsx"],"sourcesContent":["import React, { ReactElement } from \"react\";\nimport { useDrag, DragPreviewImage, ConnectDragSource } from \"react-dnd\";\n\nconst emptyImage = \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\";\n\ninterface DraggableChildrenFunctionParams {\n isDragging: boolean;\n drag: ConnectDragSource;\n}\nexport interface DraggableChildrenFunction {\n (params: DraggableChildrenFunctionParams): ReactElement;\n}\n\nexport interface DraggableProps {\n children: DraggableChildrenFunction;\n beginDrag?: any;\n endDrag?: any;\n target?: string[];\n}\n\nconst Draggable = (props: DraggableProps) => {\n const { children, beginDrag, endDrag, target } = props;\n\n const [{ isDragging }, drag, preview] = useDrag({\n item: { type: \"element\", target },\n collect: monitor => ({\n isDragging: monitor.isDragging()\n }),\n begin(monitor) {\n if (typeof beginDrag === \"function\") {\n return beginDrag(props, monitor);\n }\n return beginDrag;\n },\n end(item, monitor) {\n if (typeof endDrag === \"function\") {\n return endDrag(item, monitor);\n }\n return endDrag;\n }\n });\n\n return (\n <>\n <DragPreviewImage connect={preview} src={emptyImage} />\n {children({ isDragging, drag })}\n </>\n );\n};\n\nconst MemoizedDraggable: React.ComponentType<DraggableProps> = React.memo(Draggable);\nexport default MemoizedDraggable;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAEA,IAAME,UAAU,GAAG,4EAA4E;AAiB/F,IAAMC,SAAS,GAAG,SAAZA,SAASA,CAAIC,KAAqB,EAAK;EACzC,IAAQC,QAAQ,GAAiCD,KAAK,CAA9CC,QAAQ;IAAEC,SAAS,GAAsBF,KAAK,CAApCE,SAAS;IAAEC,OAAO,GAAaH,KAAK,CAAzBG,OAAO;IAAEC,MAAM,GAAKJ,KAAK,CAAhBI,MAAM;EAE5C,IAAAC,QAAA,GAAwC,IAAAC,iBAAO,EAAC;MAC5CC,IAAI,EAAE;QAAEC,IAAI,EAAE,SAAS;QAAEJ,MAAM,EAANA;MAAO,CAAC;MACjCK,OAAO,EAAE,SAAAA,QAAAC,OAAO;QAAA,OAAK;UACjBC,UAAU,EAAED,OAAO,CAACC,UAAU,CAAC;QACnC,CAAC;MAAA,CAAC;MACFC,KAAK,WAAAA,MAACF,OAAO,EAAE;QACX,IAAI,OAAOR,SAAS,KAAK,UAAU,EAAE;UACjC,OAAOA,SAAS,CAACF,KAAK,EAAEU,OAAO,CAAC;QACpC;QACA,OAAOR,SAAS;MACpB,CAAC;MACDW,GAAG,WAAAA,IAACN,IAAI,EAAEG,OAAO,EAAE;QACf,IAAI,OAAOP,OAAO,KAAK,UAAU,EAAE;UAC/B,OAAOA,OAAO,CAACI,IAAI,EAAEG,OAAO,CAAC;QACjC;QACA,OAAOP,OAAO;MAClB;IACJ,CAAC,CAAC;IAAAW,SAAA,OAAAC,eAAA,CAAAC,OAAA,EAAAX,QAAA;IAjBOM,UAAU,GAAAG,SAAA,IAAVH,UAAU;IAAIM,IAAI,GAAAH,SAAA;IAAEI,OAAO,GAAAJ,SAAA;EAmBpC,oBACIpB,MAAA,CAAAsB,OAAA,CAAAG,aAAA,CAAAzB,MAAA,CAAAsB,OAAA,CAAAI,QAAA,qBACI1B,MAAA,CAAAsB,OAAA,CAAAG,aAAA,CAACtB,SAAA,CAAAwB,gBAAgB;IAACC,OAAO,EAAEJ,OAAQ;IAACK,GAAG,EAAEzB;EAAW,CAAE,CAAC,EACtDG,QAAQ,CAAC;IAAEU,UAAU,EAAVA,UAAU;IAAEM,IAAI,EAAJA;EAAK,CAAC,CAChC,CAAC;AAEX,CAAC;AAED,IAAMO,iBAAsD,gBAAGC,cAAK,CAACC,IAAI,CAAC3B,SAAS,CAAC;AAAC,IAAA4B,QAAA,GACtEH,iBAAiB;AAAAI,OAAA,CAAAZ,OAAA,GAAAW,QAAA"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactDnd","emptyImage","Draggable","props","children","beginDrag","endDrag","_useDrag","useDrag","type","item","monitor","collect","isDragging","end","_useDrag2","_slicedToArray2","default","drag","preview","createElement","Fragment","DragPreviewImage","connect","src","MemoizedDraggable","React","memo","_default","exports"],"sources":["Draggable.tsx"],"sourcesContent":["import React, { ReactElement } from \"react\";\nimport { useDrag, DragPreviewImage, ConnectDragSource } from \"react-dnd\";\n\nconst emptyImage = \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\";\n\ninterface DraggableChildrenFunctionParams {\n isDragging: boolean;\n drag: ConnectDragSource;\n}\nexport interface DraggableChildrenFunction {\n (params: DraggableChildrenFunctionParams): ReactElement;\n}\n\nexport interface DraggableProps {\n children: DraggableChildrenFunction;\n beginDrag?: any;\n endDrag?: any;\n target?: string[];\n}\n\nconst Draggable = (props: DraggableProps) => {\n const { children, beginDrag, endDrag } = props;\n\n const [{ isDragging }, drag, preview] = useDrag({\n type: \"element\",\n item(monitor) {\n if (typeof beginDrag === \"function\") {\n return beginDrag(props, monitor);\n }\n return beginDrag;\n },\n collect: monitor => ({\n isDragging: monitor.isDragging()\n }),\n end(item, monitor) {\n if (typeof endDrag === \"function\") {\n return endDrag(item, monitor);\n }\n return endDrag;\n }\n });\n\n return (\n <>\n <DragPreviewImage connect={preview} src={emptyImage} />\n {children({ isDragging, drag })}\n </>\n );\n};\n\nconst MemoizedDraggable: React.ComponentType<DraggableProps> = React.memo(Draggable);\nexport default MemoizedDraggable;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AAEA,IAAME,UAAU,GAAG,4EAA4E;AAiB/F,IAAMC,SAAS,GAAG,SAAZA,SAASA,CAAIC,KAAqB,EAAK;EACzC,IAAQC,QAAQ,GAAyBD,KAAK,CAAtCC,QAAQ;IAAEC,SAAS,GAAcF,KAAK,CAA5BE,SAAS;IAAEC,OAAO,GAAKH,KAAK,CAAjBG,OAAO;EAEpC,IAAAC,QAAA,GAAwC,IAAAC,iBAAO,EAAC;MAC5CC,IAAI,EAAE,SAAS;MACfC,IAAI,WAAAA,KAACC,OAAO,EAAE;QACV,IAAI,OAAON,SAAS,KAAK,UAAU,EAAE;UACjC,OAAOA,SAAS,CAACF,KAAK,EAAEQ,OAAO,CAAC;QACpC;QACA,OAAON,SAAS;MACpB,CAAC;MACDO,OAAO,EAAE,SAAAA,QAAAD,OAAO;QAAA,OAAK;UACjBE,UAAU,EAAEF,OAAO,CAACE,UAAU,CAAC;QACnC,CAAC;MAAA,CAAC;MACFC,GAAG,WAAAA,IAACJ,IAAI,EAAEC,OAAO,EAAE;QACf,IAAI,OAAOL,OAAO,KAAK,UAAU,EAAE;UAC/B,OAAOA,OAAO,CAACI,IAAI,EAAEC,OAAO,CAAC;QACjC;QACA,OAAOL,OAAO;MAClB;IACJ,CAAC,CAAC;IAAAS,SAAA,OAAAC,eAAA,CAAAC,OAAA,EAAAV,QAAA;IAjBOM,UAAU,GAAAE,SAAA,IAAVF,UAAU;IAAIK,IAAI,GAAAH,SAAA;IAAEI,OAAO,GAAAJ,SAAA;EAmBpC,oBACIlB,MAAA,CAAAoB,OAAA,CAAAG,aAAA,CAAAvB,MAAA,CAAAoB,OAAA,CAAAI,QAAA,qBACIxB,MAAA,CAAAoB,OAAA,CAAAG,aAAA,CAACpB,SAAA,CAAAsB,gBAAgB;IAACC,OAAO,EAAEJ,OAAQ;IAACK,GAAG,EAAEvB;EAAW,CAAE,CAAC,EACtDG,QAAQ,CAAC;IAAES,UAAU,EAAVA,UAAU;IAAEK,IAAI,EAAJA;EAAK,CAAC,CAChC,CAAC;AAEX,CAAC;AAED,IAAMO,iBAAsD,gBAAGC,cAAK,CAACC,IAAI,CAACzB,SAAS,CAAC;AAAC,IAAA0B,QAAA,GAAAC,OAAA,CAAAZ,OAAA,GACtEQ,iBAAiB","ignoreList":[]}
@@ -9,5 +9,5 @@ interface CenterProps {
9
9
  style?: CSSProperties;
10
10
  isDroppable?: DroppableProps["isDroppable"];
11
11
  }
12
- declare const Center: ({ onDrop, children, style, isDroppable }: CenterProps) => JSX.Element;
12
+ declare const Center: ({ onDrop, children, style, isDroppable }: CenterProps) => React.JSX.Element;
13
13
  export default Center;
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
9
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
9
10
  var _react = _interopRequireDefault(require("react"));
10
- var _styled = _interopRequireDefault(require("@emotion/styled"));
11
11
  var _Droppable = require("./../Droppable");
12
12
  var getColor = function getColor(_ref) {
13
13
  var isOver = _ref.isOver,
@@ -20,10 +20,12 @@ var getColor = function getColor(_ref) {
20
20
  }
21
21
  return "var(--mdc-theme-secondary)";
22
22
  };
23
- var Container = /*#__PURE__*/(0, _styled.default)("div", {
24
- label: "Container",
23
+ var Container = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
25
24
  target: "e14zhyp10"
26
- })("background-color:transparent;box-sizing:border-box;height:100%;min-height:100px;position:relative;user-select:none;width:100%;border:2px dashed ", getColor, ";opacity:1;> div{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;color:", getColor, ";}");
25
+ } : {
26
+ target: "e14zhyp10",
27
+ label: "Container"
28
+ })("background-color:transparent;box-sizing:border-box;height:100%;min-height:100px;position:relative;user-select:none;width:100%;border:2px dashed ", getColor, ";opacity:1;>div{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);margin:0;color:", getColor, ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbnRlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUI0QiIsImZpbGUiOiJDZW50ZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IENTU1Byb3BlcnRpZXMgfSBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgRHJvcHBhYmxlLCBEcm9wcGFibGVQcm9wcywgT25Ecm9wQ2FsbGFibGUgfSBmcm9tIFwiLi8uLi9Ecm9wcGFibGVcIjtcblxuaW50ZXJmYWNlIERyb3BwYWJsZUZsYWdzIHtcbiAgICBpc092ZXI6IGJvb2xlYW47XG4gICAgaXNEcm9wcGFibGU6IGJvb2xlYW47XG59XG5cbmNvbnN0IGdldENvbG9yID0gKHsgaXNPdmVyLCBpc0Ryb3BwYWJsZSB9OiBEcm9wcGFibGVGbGFncykgPT4ge1xuICAgIGlmIChpc092ZXIpIHtcbiAgICAgICAgcmV0dXJuIFwidmFyKC0tbWRjLXRoZW1lLXByaW1hcnkpXCI7XG4gICAgfVxuXG4gICAgaWYgKCFpc0Ryb3BwYWJsZSkge1xuICAgICAgICByZXR1cm4gXCJ2Y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gIHJldHVybiBpc0Ryb3BwYWJsZSA/IHt9IDogeyBpbmVydDogXCJcIiB9O1xufTtcblxuY29uc3QgQ2VudGVyID0gKHsgb25Ecm9wLCBjaGlsZHJlbiwgc3R5bGUsIGlzRHJvcHBhYmxlIH06IENlbnRlclByb3BzKSA9PiB7XG4gICAgcmV0dXJuIChcbiAgICAgICAgPERyb3BwYWJsZSBvbkRyb3A9e29uRHJvcH0gaXNEcm9wcGFibGU9e2lzRHJvcHBhYmxlfT5cbiAgICAgICAgICAgIHsoeyBpc092ZXIsIGRyb3AsIGlzRHJvcHBhYmxlIH0pID0+IChcbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgIHJlZj17ZHJvcH1cbiAgICAgICAgICAgICAgICAgICAgc3R5bGU9e3sgd2lkdGg6IFwiMTAwJVwiLCBoZWlnaHQ6IFwiMTAwJVwiLCAuLi5zdHlsZSB9fVxuICAgICAgICAgICAgICAgICAgICBkYXRhLXRlc3RpZD17XCJjbXMtZWRpdG9yLWZpcnN0LWZpZWxkLWFyZWFcIn1cbiAgICAgICAgICAgICAgICAgICAgey4uLmdldEluZXJ0KGlzRHJvcHBhYmxlKX1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxDb250YWluZXIgaXNPdmVyPXtpc092ZXJ9IGlzRHJvcHBhYmxlPXtpc0Ryb3BwYWJsZX0+XG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2PntjaGlsZHJlbn08L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPC9Db250YWluZXI+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICApfVxuICAgICAgICA8L0Ryb3BwYWJsZT5cbiAgICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgQ2VudGVyO1xuIl19 */"));
27
29
  var getInert = function getInert(isDroppable) {
28
30
  return isDroppable ? {} : {
29
31
  inert: ""
@@ -54,7 +56,6 @@ var Center = function Center(_ref2) {
54
56
  }, /*#__PURE__*/_react.default.createElement("div", null, children)));
55
57
  });
56
58
  };
57
- var _default = Center;
58
- exports.default = _default;
59
+ var _default = exports.default = Center;
59
60
 
60
61
  //# sourceMappingURL=Center.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_styled","_Droppable","getColor","_ref","isOver","isDroppable","Container","styled","label","target","getInert","inert","Center","_ref2","onDrop","children","style","default","createElement","Droppable","_ref3","drop","Object","assign","ref","_objectSpread2","width","height","_default","exports"],"sources":["Center.tsx"],"sourcesContent":["import React, { CSSProperties } from \"react\";\nimport styled from \"@emotion/styled\";\nimport { Droppable, DroppableProps, OnDropCallable } from \"./../Droppable\";\n\ninterface DroppableFlags {\n isOver: boolean;\n isDroppable: boolean;\n}\n\nconst getColor = ({ isOver, isDroppable }: DroppableFlags) => {\n if (isOver) {\n return \"var(--mdc-theme-primary)\";\n }\n\n if (!isDroppable) {\n return \"var(--mdc-theme-background)\";\n }\n\n return \"var(--mdc-theme-secondary)\";\n};\n\nconst Container = styled.div`\n background-color: transparent;\n box-sizing: border-box;\n height: 100%;\n min-height: 100px;\n position: relative;\n user-select: none;\n width: 100%;\n border: 2px dashed ${getColor};\n opacity: 1;\n > div {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n margin: 0;\n color: ${getColor};\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 <Container isOver={isOver} isDroppable={isDroppable}>\n <div>{children}</div>\n </Container>\n </div>\n )}\n </Droppable>\n );\n};\n\nexport default Center;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAOA,IAAMG,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAAgD;EAAA,IAA1CC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAEC,WAAW,GAAAF,IAAA,CAAXE,WAAW;EACnC,IAAID,MAAM,EAAE;IACR,OAAO,0BAA0B;EACrC;EAEA,IAAI,CAACC,WAAW,EAAE;IACd,OAAO,6BAA6B;EACxC;EAEA,OAAO,4BAA4B;AACvC,CAAC;AAED,IAAMC,SAAS,oBAAGC,eAAM;EAAAC,KAAA;EAAAC,MAAA;AAAA,uJAQCP,QAAQ,wGAQhBA,QAAQ,OAExB;AAYD,IAAMQ,QAAQ,GAAG,SAAXA,QAAQA,CAAIL,WAAoB,EAAK;EACvC,OAAOA,WAAW,GAAG,CAAC,CAAC,GAAG;IAAEM,KAAK,EAAE;EAAG,CAAC;AAC3C,CAAC;AAED,IAAMC,MAAM,GAAG,SAATA,MAAMA,CAAAC,KAAA,EAA8D;EAAA,IAAxDC,MAAM,GAAAD,KAAA,CAANC,MAAM;IAAEC,QAAQ,GAAAF,KAAA,CAARE,QAAQ;IAAEC,KAAK,GAAAH,KAAA,CAALG,KAAK;IAAEX,WAAW,GAAAQ,KAAA,CAAXR,WAAW;EAClD,oBACIR,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAACjB,UAAA,CAAAkB,SAAS;IAACL,MAAM,EAAEA,MAAO;IAACT,WAAW,EAAEA;EAAY,GAC/C,UAAAe,KAAA;IAAA,IAAGhB,MAAM,GAAAgB,KAAA,CAANhB,MAAM;MAAEiB,IAAI,GAAAD,KAAA,CAAJC,IAAI;MAAEhB,WAAW,GAAAe,KAAA,CAAXf,WAAW;IAAA,oBACzBR,MAAA,CAAAoB,OAAA,CAAAC,aAAA,QAAAI,MAAA,CAAAC,MAAA;MACIC,GAAG,EAAEH,IAAK;MACVL,KAAK,MAAAS,cAAA,CAAAR,OAAA;QAAIS,KAAK,EAAE,MAAM;QAAEC,MAAM,EAAE;MAAM,GAAKX,KAAK,CAAG;MACnD,eAAa;IAA8B,GACvCN,QAAQ,CAACL,WAAW,CAAC,gBAEzBR,MAAA,CAAAoB,OAAA,CAAAC,aAAA,CAACZ,SAAS;MAACF,MAAM,EAAEA,MAAO;MAACC,WAAW,EAAEA;IAAY,gBAChDR,MAAA,CAAAoB,OAAA,CAAAC,aAAA,cAAMH,QAAc,CACb,CACV,CAAC;EAAA,CAEH,CAAC;AAEpB,CAAC;AAAC,IAAAa,QAAA,GAEahB,MAAM;AAAAiB,OAAA,CAAAZ,OAAA,GAAAW,QAAA"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_Droppable","getColor","_ref","isOver","isDroppable","Container","_base","default","process","env","NODE_ENV","target","label","getInert","inert","Center","_ref2","onDrop","children","style","createElement","Droppable","_ref3","drop","Object","assign","ref","_objectSpread2","width","height","_default","exports"],"sources":["Center.tsx"],"sourcesContent":["import React, { CSSProperties } from \"react\";\nimport styled from \"@emotion/styled\";\nimport { Droppable, DroppableProps, OnDropCallable } from \"./../Droppable\";\n\ninterface DroppableFlags {\n isOver: boolean;\n isDroppable: boolean;\n}\n\nconst getColor = ({ isOver, isDroppable }: DroppableFlags) => {\n if (isOver) {\n return \"var(--mdc-theme-primary)\";\n }\n\n if (!isDroppable) {\n return \"var(--mdc-theme-background)\";\n }\n\n return \"var(--mdc-theme-secondary)\";\n};\n\nconst Container = styled.div`\n background-color: transparent;\n box-sizing: border-box;\n height: 100%;\n min-height: 100px;\n position: relative;\n user-select: none;\n width: 100%;\n border: 2px dashed ${getColor};\n opacity: 1;\n > div {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n margin: 0;\n color: ${getColor};\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 <Container isOver={isOver} isDroppable={isDroppable}>\n <div>{children}</div>\n </Container>\n </div>\n )}\n </Droppable>\n );\n};\n\nexport default Center;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAD,OAAA;AAOA,IAAME,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAAgD;EAAA,IAA1CC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAEC,WAAW,GAAAF,IAAA,CAAXE,WAAW;EACnC,IAAID,MAAM,EAAE;IACR,OAAO,0BAA0B;EACrC;EAEA,IAAI,CAACC,WAAW,EAAE;IACd,OAAO,6BAA6B;EACxC;EAEA,OAAO,4BAA4B;AACvC,CAAC;AAED,IAAMC,SAAS,oBAAAC,KAAA,CAAAC,OAAA,SAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,uJAQUX,QAAQ,wGAQhBA,QAAQ,UAAAO,OAAA,CAAAC,GAAA,CAAAC,QAAA,g5FAExB;AAYD,IAAMG,QAAQ,GAAG,SAAXA,QAAQA,CAAIT,WAAoB,EAAK;EACvC,OAAOA,WAAW,GAAG,CAAC,CAAC,GAAG;IAAEU,KAAK,EAAE;EAAG,CAAC;AAC3C,CAAC;AAED,IAAMC,MAAM,GAAG,SAATA,MAAMA,CAAAC,KAAA,EAA8D;EAAA,IAAxDC,MAAM,GAAAD,KAAA,CAANC,MAAM;IAAEC,QAAQ,GAAAF,KAAA,CAARE,QAAQ;IAAEC,KAAK,GAAAH,KAAA,CAALG,KAAK;IAAEf,WAAW,GAAAY,KAAA,CAAXZ,WAAW;EAClD,oBACIP,MAAA,CAAAU,OAAA,CAAAa,aAAA,CAACpB,UAAA,CAAAqB,SAAS;IAACJ,MAAM,EAAEA,MAAO;IAACb,WAAW,EAAEA;EAAY,GAC/C,UAAAkB,KAAA;IAAA,IAAGnB,MAAM,GAAAmB,KAAA,CAANnB,MAAM;MAAEoB,IAAI,GAAAD,KAAA,CAAJC,IAAI;MAAEnB,WAAW,GAAAkB,KAAA,CAAXlB,WAAW;IAAA,oBACzBP,MAAA,CAAAU,OAAA,CAAAa,aAAA,QAAAI,MAAA,CAAAC,MAAA;MACIC,GAAG,EAAEH,IAAK;MACVJ,KAAK,MAAAQ,cAAA,CAAApB,OAAA;QAAIqB,KAAK,EAAE,MAAM;QAAEC,MAAM,EAAE;MAAM,GAAKV,KAAK,CAAG;MACnD,eAAa;IAA8B,GACvCN,QAAQ,CAACT,WAAW,CAAC,gBAEzBP,MAAA,CAAAU,OAAA,CAAAa,aAAA,CAACf,SAAS;MAACF,MAAM,EAAEA,MAAO;MAACC,WAAW,EAAEA;IAAY,gBAChDP,MAAA,CAAAU,OAAA,CAAAa,aAAA,cAAMF,QAAc,CACb,CACV,CAAC;EAAA,CAEH,CAAC;AAEpB,CAAC;AAAC,IAAAY,QAAA,GAAAC,OAAA,CAAAxB,OAAA,GAEaQ,MAAM","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { IsVisibleCallable } from "../Droppable";
3
3
  import { DragSource } from "../../../types";
4
4
  interface HorizontalProps {
@@ -7,5 +7,5 @@ interface HorizontalProps {
7
7
  isVisible?: IsVisibleCallable;
8
8
  ["data-testid"]?: string;
9
9
  }
10
- declare const Horizontal: ({ last, onDrop, isVisible, ...rest }: HorizontalProps) => JSX.Element;
10
+ declare const Horizontal: ({ last, onDrop, isVisible, ...rest }: HorizontalProps) => React.JSX.Element;
11
11
  export default Horizontal;
@@ -7,52 +7,53 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
9
9
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
10
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
10
11
  var _react = _interopRequireDefault(require("react"));
11
- var _styled = _interopRequireDefault(require("@emotion/styled"));
12
12
  var _Droppable = require("../Droppable");
13
13
  var _excluded = ["last", "onDrop", "isVisible"];
14
- var InnerDiv = /*#__PURE__*/(0, _styled.default)("div", {
15
- target: "e1uuull90",
14
+ 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)."; }
15
+ var InnerDiv = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
16
+ target: "e1uuull92"
17
+ } : {
18
+ target: "e1uuull92",
16
19
  label: "InnerDiv"
17
- })({
18
- height: 15,
19
- width: "100%",
20
- zIndex: 3,
21
- borderRadius: 0,
22
- boxSizing: "border-box",
23
- display: "none",
24
- border: "1px dashed black",
25
- borderSpacing: 5
20
+ })(process.env.NODE_ENV === "production" ? {
21
+ name: "u4oja6",
22
+ styles: "height:15px;width:100%;z-index:3;border-radius:0;box-sizing:border-box;display:none;border:1px dashed black;border-spacing:5px"
23
+ } : {
24
+ name: "u4oja6",
25
+ styles: "height:15px;width:100%;z-index:3;border-radius:0;box-sizing:border-box;display:none;border:1px dashed black;border-spacing:5px",
26
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhvcml6b250YWwudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtpQiIsImZpbGUiOiJIb3Jpem9udGFsLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgRHJvcHBhYmxlLCBJc1Zpc2libGVDYWxsYWJsZSB9IGZyb20gXCIuLi9Ecm9wcGFibGVcIjtcbmltcG9ydCB7IERyYWdTb3VyY2UgfSBmcm9tIFwifi90eXBlc1wiO1xuXG5jb25zdCBJbm5lckRpdiA9IHN0eWxlZChcImRpdlwiKSh7XG4gICAgaGVpZ2h0OiAxNSxcbiAgICB3aWR0aDogXCIxMDAlXCIsXG4gICAgekluZGV4OiAzLFxuICAgIGJvcmRlclJhZGl1czogMCxcbiAgICBib3hTaXppbmc6IFwiYm9yZGVyLWJveFwiLFxuICAgIGRpc3BsYXk6IFwibm9uZVwiLFxuICAgIGJvcmRlcjogXCIxcHggZGFzaGVkIGJsYWNrXCIsXG4gICAgYm9yZGVyU3BhY2luZzogNVxufSk7XG5cbmNvbnN0IEJhY2tncm91bmRDb2xvckRpdiA9IHN0eWxlZChcImRpdlwiKSh7XG4gICAgd2lkdGg6IFwiMTAwJVwiLFxuICAgIGhlaWdodDogXCIxMDAlXCJcbn0pO1xuXG5pbnRlcmZhY2UgT3V0ZXJEaXZQcm9wcyB7XG4gICAgaXNPdmVyOiBib29sZWFuO1xuICAgIGlzRHJhZ2dpbmc6IGJvb2xlYW47XG4gICAgbGFzdDogYm9vbGVhbjtcbn1cblxuY29uc3QgT3V0ZXJEaXYgPSBzdHlsZWQoXCJkaXZcIikoXG4gICAge1xuICAgICAgICBtYXJnaW46IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIHdpZHRoOiBcImNhbGMoMTAwJSArIDJweClcIixcbiAgICAgICAgekluZGV4OiAxMCxcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBcInRyYW5zcGFyZW50XCIsXG4gICAgICAgIHBvc2l0aW9uOiBcImFic29sdXRlXCIsXG4gICAgICAgIGRpc3BsYXk6IFwiZmxleFwiLFxuICAgICAgICBqdXN0aWZ5Q29udGVudDogXCJjZW50ZXJcIlxuICAgIH0sXG4gICAgKHByb3BzOiBPdXRlckRpdlByb3BzKSA9PiAoe1xuICAgICAgICBbcHJvcHMubGFzdCA/IFwiYm90dG9tXCIgOiBcInRvcFwiXTogLTE1LFxuICAgICAgICAvLyBAdHMtZXhwZWN0LWVycm9yXG4gICAgICAgIFtJbm5lckRpdl06IHtcbiAgICAgICAgICAgIGJvcmRlckNvbG9yOiBwcm9wcy5pc092ZXIgPyBcInZhcigtLW1kYy10aGVtZS1wcmltYXJ5KVwiIDogXCJ2YXIoLS1tZGMtdGhlbWUtc2Vjb25kYXJ5KVwiLFxuICAgICAgICAgICAgZGlzcGxheTogcHJvcHMuaXNEcmFnZ2luZyA/IFwiYmxvY2tcIiA6IFwibm9uZVwiLFxuICAgICAgICAgICAgLy8gQHRzLWV4cGVjdC1lcnJvclxuICAgICAgICAgICAgW0JhY2tncm91bmRDb2xvckRpdl06IHtcbiAgICAgICAgICAgICAgICBvcGFjaXR5OiAwLjUsXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZENvbG9yOiBwcm9wcy5pc092ZXJcbiAgICAgICAgICAgICAgICAgICAgPyBcInZhcigtLW1kYy10aGVtZS1wcmltYXJ5KVwiXG4gICAgICAgICAgICAgICAgICAgIDogXCJ2YXIoLS1tZGMtdGhlbWUtc2Vjb25kYXJ5KVwiXG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9KVxuKTtcblxuaW50ZXJmYWNlIEhvcml6b250YWxQcm9wcyB7XG4gICAgb25Ecm9wKGl0ZW06IERyYWdTb3VyY2UpOiB2b2lkO1xuICAgIGxhc3Q/OiBib29sZWFuO1xuICAgIGlzVmlzaWJsZT86IElzVmlzaWJsZUNhbGxhYmxlO1xuICAgIFtcImRhdGEtdGVzdGlkXCJdPzogc3RyaW5nO1xufVxuXG5jb25zdCBIb3Jpem9udGFsID0gKHsgbGFzdCwgb25Ecm9wLCBpc1Zpc2libGUsIC4uLnJlc3QgfTogSG9yaXpvbnRhbFByb3BzKSA9PiB7XG4gICAgcmV0dXJuIChcbiAgICAgICAgPERyb3BwYWJsZSBvbkRyb3A9e29uRHJvcH0gaXNWaXNpYmxlPXtpc1Zpc2libGV9PlxuICAgICAgICAgICAgeyh7IGlzT3ZlciwgaXNEcmFnZ2luZywgZHJvcCB9KSA9PiAoXG4gICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgICByZWY9e2Ryb3B9XG4gICAgICAgICAgICAgICAgICAgIGRhdGEtdGVzdGlkPXtyZXN0W1wiZGF0YS10ZXN0aWRcIl19XG4gICAgICAgICAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgICAgICAgICAgICAvKiBGb3IgZHJvcHpvbmUgZGVidWdnaW5nOiBib3JkZXI6IFwiMXB4IHNvbGlkIGJsdWVcIiwqL1xuICAgICAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiBcIjE1cHhcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiBcIjEwMCVcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBcImFic29sdXRlXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBbbGFzdCA/IFwiYm90dG9tXCIgOiBcInRvcFwiXTogMCxcbiAgICAgICAgICAgICAgICAgICAgICAgIGxlZnQ6IDAsXG4gICAgICAgICAgICAgICAgICAgICAgICB6SW5kZXg6IGlzRHJhZ2dpbmcgPyAxMDAwIDogLTFcbiAgICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxPdXRlckRpdiBpc092ZXI9e2lzT3Zlcn0gaXNEcmFnZ2luZz17aXNEcmFnZ2luZ30gbGFzdD17bGFzdCA/IHRydWUgOiBmYWxzZX0+XG4gICAgICAgICAgICAgICAgICAgICAgICA8SW5uZXJEaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPEJhY2tncm91bmRDb2xvckRpdiAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9Jbm5lckRpdj5cbiAgICAgICAgICAgICAgICAgICAgPC9PdXRlckRpdj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICl9XG4gICAgICAgIDwvRHJvcHBhYmxlPlxuICAgICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBIb3Jpem9udGFsO1xuIl19 */",
27
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
26
28
  });
27
- var BackgroundColorDiv = /*#__PURE__*/(0, _styled.default)("div", {
29
+ var BackgroundColorDiv = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
30
+ target: "e1uuull91"
31
+ } : {
28
32
  target: "e1uuull91",
29
33
  label: "BackgroundColorDiv"
30
- })({
31
- width: "100%",
32
- height: "100%"
34
+ })(process.env.NODE_ENV === "production" ? {
35
+ name: "w1atjl",
36
+ styles: "width:100%;height:100%"
37
+ } : {
38
+ name: "w1atjl",
39
+ styles: "width:100%;height:100%",
40
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhvcml6b250YWwudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdCMkIiLCJmaWxlIjoiSG9yaXpvbnRhbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSBcInJlYWN0XCI7XG5pbXBvcnQgc3R5bGVkIGZyb20gX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06IEhvcml6b250YWxQcm9wcykgPT4ge1xuICAgIHJldHVybiAoXG4gICAgICAgIDxEcm9wcGFibGUgb25Ecm9wPXtvbkRyb3B9IGlzVmlzaWJsZT17aXNWaXNpYmxlfT5cbiAgICAgICAgICAgIHsoeyBpc092ZXIsIGlzRHJhZ2dpbmcsIGRyb3AgfSkgPT4gKFxuICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgcmVmPXtkcm9wfVxuICAgICAgICAgICAgICAgICAgICBkYXRhLXRlc3RpZD17cmVzdFtcImRhdGEtdGVzdGlkXCJdfVxuICAgICAgICAgICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICAgICAgICAgICAgLyogRm9yIGRyb3B6b25lIGRlYnVnZ2luZzogYm9yZGVyOiBcIjFweCBzb2xpZCBibHVlXCIsKi9cbiAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodDogXCIxNXB4XCIsXG4gICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogXCIxMDAlXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogXCJhYnNvbHV0ZVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgW2xhc3QgPyBcImJvdHRvbVwiIDogXCJ0b3BcIl06IDAsXG4gICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwLFxuICAgICAgICAgICAgICAgICAgICAgICAgekluZGV4OiBpc0RyYWdnaW5nID8gMTAwMCA6IC0xXG4gICAgICAgICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8T3V0ZXJEaXYgaXNPdmVyPXtpc092ZXJ9IGlzRHJhZ2dpbmc9e2lzRHJhZ2dpbmd9IGxhc3Q9e2xhc3QgPyB0cnVlIDogZmFsc2V9PlxuICAgICAgICAgICAgICAgICAgICAgICAgPElubmVyRGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxCYWNrZ3JvdW5kQ29sb3JEaXYgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvSW5uZXJEaXY+XG4gICAgICAgICAgICAgICAgICAgIDwvT3V0ZXJEaXY+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICApfVxuICAgICAgICA8L0Ryb3BwYWJsZT5cbiAgICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgSG9yaXpvbnRhbDtcbiJdfQ== */",
41
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
33
42
  });
34
- var OuterDiv = /*#__PURE__*/(0, _styled.default)("div", {
35
- target: "e1uuull92",
43
+ var OuterDiv = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
44
+ target: "e1uuull90"
45
+ } : {
46
+ target: "e1uuull90",
36
47
  label: "OuterDiv"
37
- })({
38
- margin: 0,
39
- padding: 0,
40
- width: "calc(100% + 2px)",
41
- zIndex: 10,
42
- backgroundColor: "transparent",
43
- position: "absolute",
44
- display: "flex",
45
- justifyContent: "center"
46
- }, function (props) {
47
- var _ref;
48
- return _ref = {}, (0, _defineProperty2.default)(_ref, props.last ? "bottom" : "top", -15), (0, _defineProperty2.default)(_ref, InnerDiv, (0, _defineProperty2.default)({
48
+ })("margin:0;padding:0;width:calc(100% + 2px);z-index:10;background-color:transparent;position:absolute;display:flex;justify-content:center;", function (props) {
49
+ return (0, _defineProperty2.default)((0, _defineProperty2.default)({}, props.last ? "bottom" : "top", -15), InnerDiv, (0, _defineProperty2.default)({
49
50
  borderColor: props.isOver ? "var(--mdc-theme-primary)" : "var(--mdc-theme-secondary)",
50
51
  display: props.isDragging ? "block" : "none"
51
52
  }, BackgroundColorDiv, {
52
53
  opacity: 0.5,
53
54
  backgroundColor: props.isOver ? "var(--mdc-theme-primary)" : "var(--mdc-theme-secondary)"
54
- })), _ref;
55
- });
55
+ }));
56
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9u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WxjKDEwMCUgKyAycHgpXCIsXG4gICAgICAgIHpJbmRleDogMTAsXG4gICAgICAgIGJhY2tncm91bmRDb2xvcjogXCJ0cmFuc3BhcmVudFwiLFxuICAgICAgICBwb3NpdGlvbjogXCJhYnNvbHV0ZVwiLFxuICAgICAgICBkaXNwbGF5OiBcImZsZXhcIixcbiAgICAgICAganVzdGlmeUNvbnRlbnQ6IFwiY2VudGVyXCJcbiAgICB9LFxuICAgIChwcm9wczogT3V0ZXJEaXZQcm9wcykgPT4gKHtcbiAgICAgICAgW3Byb3BzLmxhc3QgPyBcImJvdHRvbVwiIDogXCJ0b3BcIl06IC0xNSxcbiAgICAgICAgLy8gQHRzLWV4cGVjdC1lcnJvclxuICAgICAgICBbSW5uZXJEaXZdOiB7XG4gICAgICAgICAgICBib3JkZXJDb2xvcjogcHJvcHMuaXNPdmVyID8gXCJ2YXIoLS1tZGMtdGhlbWUtcHJpbWFyeSlcIiA6IFwidmFyKC0tbWRjLXRoZW1lLXNlY29uZGFyeSlcIixcbiAgICAgICAgICAgIGRpc3BsYXk6IHByb3BzLmlzRHJhZ2dpbmcgPyBcImJsb2NrXCIgOiBcIm5vbmVcIixcbiAgICAgICAgICAgIC8vIEB0cy1leHBlY3QtZXJyb3JcbiAgICAgICAgICAgIFtCYWNrZ3JvdW5kQ29sb3JEaXZdOiB7XG4gICAgICAgICAgICAgICAgb3BhY2l0eTogMC41LFxuICAgICAgICAgICAgICAgIGJhY2tncm91bmRDb2xvcjogcHJvcHMuaXNPdmVyXG4gICAgICAgICAgICAgICAgICAgID8gXCJ2YXIoLS1tZGMtdGhlbWUtcHJpbWFyeSlcIlxuICAgICAgICAgICAgICAgICAgICA6IFwidmFyKC0tbWRjLXRoZW1lLXNlY29uZGFyeSlcIlxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfSlcbik7XG5cbmludGVyZmFjZSBIb3Jpem9udGFsUHJvcHMge1xuICAgIG9uRHJvcChpdGVtOiBEcmFnU291cmNlKTogdm9pZDtcbiAgICBsYXN0PzogYm9vbGVhbjtcbiAgICBpc1Zpc2libGU/OiBJc1Zpc2libGVDYWxsYWJsZTtcbiAgICBbXCJkYXRhLXRlc3RpZFwiXT86IHN0cmluZztcbn1cblxuY29uc3QgSG9yaXpvbnRhbCA9ICh7IGxhc3QsIG9uRHJvcCwgaXNWaXNpYmxlLCAuLi5yZXN0IH06IEhvcml6b250YWxQcm9wcykgPT4ge1xuICAgIHJldHVybiAoXG4gICAgICAgIDxEcm9wcGFibGUgb25Ecm9wPXtvbkRyb3B9IGlzVmlzaWJsZT17aXNWaXNpYmxlfT5cbiAgICAgICAgICAgIHsoeyBpc092ZXIsIGlzRHJhZ2dpbmcsIGRyb3AgfSkgPT4gKFxuICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgcmVmPXtkcm9wfVxuICAgICAgICAgICAgICAgICAgICBkYXRhLXRlc3RpZD17cmVzdFtcImRhdGEtdGVzdGlkXCJdfVxuICAgICAgICAgICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICAgICAgICAgICAgLyogRm9yIGRyb3B6b25lIGRlYnVnZ2luZzogYm9yZGVyOiBcIjFweCBzb2xpZCBibHVlXCIsKi9cbiAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodDogXCIxNXB4XCIsXG4gICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogXCIxMDAlXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogXCJhYnNvbHV0ZVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgW2xhc3QgPyBcImJvdHRvbVwiIDogXCJ0b3BcIl06IDAsXG4gICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiAwLFxuICAgICAgICAgICAgICAgICAgICAgICAgekluZGV4OiBpc0RyYWdnaW5nID8gMTAwMCA6IC0xXG4gICAgICAgICAgICAgICAgICAgIH19XG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICA8T3V0ZXJEaXYgaXNPdmVyPXtpc092ZXJ9IGlzRHJhZ2dpbmc9e2lzRHJhZ2dpbmd9IGxhc3Q9e2xhc3QgPyB0cnVlIDogZmFsc2V9PlxuICAgICAgICAgICAgICAgICAgICAgICAgPElubmVyRGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxCYWNrZ3JvdW5kQ29sb3JEaXYgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvSW5uZXJEaXY+XG4gICAgICAgICAgICAgICAgICAgIDwvT3V0ZXJEaXY+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICApfVxuICAgICAgICA8L0Ryb3BwYWJsZT5cbiAgICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgSG9yaXpvbnRhbDtcbiJdfQ== */");
56
57
  var Horizontal = function Horizontal(_ref2) {
57
58
  var last = _ref2.last,
58
59
  onDrop = _ref2.onDrop,
@@ -62,19 +63,18 @@ var Horizontal = function Horizontal(_ref2) {
62
63
  onDrop: onDrop,
63
64
  isVisible: isVisible
64
65
  }, function (_ref3) {
65
- var _ref4;
66
66
  var isOver = _ref3.isOver,
67
67
  isDragging = _ref3.isDragging,
68
68
  drop = _ref3.drop;
69
69
  return /*#__PURE__*/_react.default.createElement("div", {
70
70
  ref: drop,
71
71
  "data-testid": rest["data-testid"],
72
- style: (_ref4 = {
72
+ style: (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
73
73
  /* For dropzone debugging: border: "1px solid blue",*/
74
74
  height: "15px",
75
75
  width: "100%",
76
76
  position: "absolute"
77
- }, (0, _defineProperty2.default)(_ref4, last ? "bottom" : "top", 0), (0, _defineProperty2.default)(_ref4, "left", 0), (0, _defineProperty2.default)(_ref4, "zIndex", isDragging ? 1000 : -1), _ref4)
77
+ }, last ? "bottom" : "top", 0), "left", 0), "zIndex", isDragging ? 1000 : -1)
78
78
  }, /*#__PURE__*/_react.default.createElement(OuterDiv, {
79
79
  isOver: isOver,
80
80
  isDragging: isDragging,
@@ -82,7 +82,6 @@ var Horizontal = function Horizontal(_ref2) {
82
82
  }, /*#__PURE__*/_react.default.createElement(InnerDiv, null, /*#__PURE__*/_react.default.createElement(BackgroundColorDiv, null))));
83
83
  });
84
84
  };
85
- var _default = Horizontal;
86
- exports.default = _default;
85
+ var _default = exports.default = Horizontal;
87
86
 
88
87
  //# sourceMappingURL=Horizontal.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_styled","_Droppable","_excluded","InnerDiv","styled","target","label","height","width","zIndex","borderRadius","boxSizing","display","border","borderSpacing","BackgroundColorDiv","OuterDiv","margin","padding","backgroundColor","position","justifyContent","props","_ref","_defineProperty2","default","last","borderColor","isOver","isDragging","opacity","Horizontal","_ref2","onDrop","isVisible","rest","_objectWithoutProperties2","createElement","Droppable","_ref3","_ref4","drop","ref","style","_default","exports"],"sources":["Horizontal.tsx"],"sourcesContent":["import React from \"react\";\nimport styled from \"@emotion/styled\";\nimport { Droppable, IsVisibleCallable } from \"../Droppable\";\nimport { DragSource } from \"~/types\";\n\nconst InnerDiv = styled(\"div\")({\n height: 15,\n width: \"100%\",\n zIndex: 3,\n borderRadius: 0,\n boxSizing: \"border-box\",\n display: \"none\",\n border: \"1px dashed black\",\n borderSpacing: 5\n});\n\nconst BackgroundColorDiv = styled(\"div\")({\n width: \"100%\",\n height: \"100%\"\n});\n\ninterface OuterDivProps {\n isOver: boolean;\n isDragging: boolean;\n last: boolean;\n}\n\nconst OuterDiv = styled(\"div\")(\n {\n margin: 0,\n padding: 0,\n width: \"calc(100% + 2px)\",\n zIndex: 10,\n backgroundColor: \"transparent\",\n position: \"absolute\",\n display: \"flex\",\n justifyContent: \"center\"\n },\n (props: OuterDivProps) => ({\n [props.last ? \"bottom\" : \"top\"]: -15,\n // @ts-expect-error\n [InnerDiv]: {\n borderColor: props.isOver ? \"var(--mdc-theme-primary)\" : \"var(--mdc-theme-secondary)\",\n display: props.isDragging ? \"block\" : \"none\",\n // @ts-expect-error\n [BackgroundColorDiv]: {\n opacity: 0.5,\n backgroundColor: props.isOver\n ? \"var(--mdc-theme-primary)\"\n : \"var(--mdc-theme-secondary)\"\n }\n }\n })\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: \"15px\",\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 ? true : false}>\n <InnerDiv>\n <BackgroundColorDiv />\n </InnerDiv>\n </OuterDiv>\n </div>\n )}\n </Droppable>\n );\n};\n\nexport default Horizontal;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAA4D,IAAAG,SAAA;AAG5D,IAAMC,QAAQ,oBAAGC,eAAM,EAAC,KAAK;EAAAC,MAAA;EAAAC,KAAA;AAAA,GAAE;EAC3BC,MAAM,EAAE,EAAE;EACVC,KAAK,EAAE,MAAM;EACbC,MAAM,EAAE,CAAC;EACTC,YAAY,EAAE,CAAC;EACfC,SAAS,EAAE,YAAY;EACvBC,OAAO,EAAE,MAAM;EACfC,MAAM,EAAE,kBAAkB;EAC1BC,aAAa,EAAE;AACnB,CAAC,CAAC;AAEF,IAAMC,kBAAkB,oBAAGX,eAAM,EAAC,KAAK;EAAAC,MAAA;EAAAC,KAAA;AAAA,GAAE;EACrCE,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IAACC,SAAS,EAAEA;EAAU,GAC3C,UAAAK,KAAA;IAAA,IAAAC,KAAA;IAAA,IAAGZ,MAAM,GAAAW,KAAA,CAANX,MAAM;MAAEC,UAAU,GAAAU,KAAA,CAAVV,UAAU;MAAEY,IAAI,GAAAF,KAAA,CAAJE,IAAI;IAAA,oBACxB5C,MAAA,CAAA4B,OAAA,CAAAY,aAAA;MACIK,GAAG,EAAED,IAAK;MACV,eAAaN,IAAI,CAAC,aAAa,CAAE;MACjCQ,KAAK,GAAAH,KAAA;QACD;QACAjC,MAAM,EAAE,MAAM;QACdC,KAAK,EAAE,MAAM;QACbY,QAAQ,EAAE;MAAU,OAAAI,gBAAA,CAAAC,OAAA,EAAAe,KAAA,EACnBd,IAAI,GAAG,QAAQ,GAAG,KAAK,EAAG,CAAC,OAAAF,gBAAA,CAAAC,OAAA,EAAAe,KAAA,UACtB,CAAC,OAAAhB,gBAAA,CAAAC,OAAA,EAAAe,KAAA,YACCX,UAAU,GAAG,IAAI,GAAG,CAAC,CAAC,GAAAW,KAAA;IAChC,gBAEF3C,MAAA,CAAA4B,OAAA,CAAAY,aAAA,CAACrB,QAAQ;MAACY,MAAM,EAAEA,MAAO;MAACC,UAAU,EAAEA,UAAW;MAACH,IAAI,EAAEA,IAAI,GAAG,IAAI,GAAG;IAAM,gBACxE7B,MAAA,CAAA4B,OAAA,CAAAY,aAAA,CAAClC,QAAQ,qBACLN,MAAA,CAAA4B,OAAA,CAAAY,aAAA,CAACtB,kBAAkB,MAAE,CACf,CACJ,CACT,CAAC;EAAA,CAEH,CAAC;AAEpB,CAAC;AAAC,IAAA6B,QAAA,GAEab,UAAU;AAAAc,OAAA,CAAApB,OAAA,GAAAmB,QAAA"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_Droppable","_excluded","_EMOTION_STRINGIFIED_CSS_ERROR__","InnerDiv","_base","default","process","env","NODE_ENV","target","label","name","styles","map","toString","BackgroundColorDiv","OuterDiv","props","_defineProperty2","last","borderColor","isOver","display","isDragging","opacity","backgroundColor","Horizontal","_ref2","onDrop","isVisible","rest","_objectWithoutProperties2","createElement","Droppable","_ref3","drop","ref","style","height","width","position","_default","exports"],"sources":["Horizontal.tsx"],"sourcesContent":["import React from \"react\";\nimport styled from \"@emotion/styled\";\nimport { Droppable, IsVisibleCallable } from \"../Droppable\";\nimport { DragSource } from \"~/types\";\n\nconst InnerDiv = styled(\"div\")({\n height: 15,\n width: \"100%\",\n zIndex: 3,\n borderRadius: 0,\n boxSizing: \"border-box\",\n display: \"none\",\n border: \"1px dashed black\",\n borderSpacing: 5\n});\n\nconst BackgroundColorDiv = styled(\"div\")({\n width: \"100%\",\n height: \"100%\"\n});\n\ninterface OuterDivProps {\n isOver: boolean;\n isDragging: boolean;\n last: boolean;\n}\n\nconst OuterDiv = styled(\"div\")(\n {\n margin: 0,\n padding: 0,\n width: \"calc(100% + 2px)\",\n zIndex: 10,\n backgroundColor: \"transparent\",\n position: \"absolute\",\n display: \"flex\",\n justifyContent: \"center\"\n },\n (props: OuterDivProps) => ({\n [props.last ? \"bottom\" : \"top\"]: -15,\n // @ts-expect-error\n [InnerDiv]: {\n borderColor: props.isOver ? \"var(--mdc-theme-primary)\" : \"var(--mdc-theme-secondary)\",\n display: props.isDragging ? \"block\" : \"none\",\n // @ts-expect-error\n [BackgroundColorDiv]: {\n opacity: 0.5,\n backgroundColor: props.isOver\n ? \"var(--mdc-theme-primary)\"\n : \"var(--mdc-theme-secondary)\"\n }\n }\n })\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: \"15px\",\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 ? true : false}>\n <InnerDiv>\n <BackgroundColorDiv />\n </InnerDiv>\n </OuterDiv>\n </div>\n )}\n </Droppable>\n );\n};\n\nexport default Horizontal;\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAD,OAAA;AAA4D,IAAAE,SAAA;AAAA,SAAAC,iCAAA;AAG5D,IAAMC,QAAQ,gBAAG,IAAAC,KAAA,CAAAC,OAAA,EAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAZ;AAAA,CAS7B,CAAC;AAEF,IAAMa,kBAAkB,gBAAG,IAAAX,KAAA,CAAAC,OAAA,EAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAZ;AAAA,CAGvC,CAAC;AAQF,IAAMc,QAAQ,gBAAG,IAAAZ,KAAA,CAAAC,OAAA,EAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,6IAW1B,UAACO,KAAoB;EAAA,WAAAC,gBAAA,CAAAb,OAAA,MAAAa,gBAAA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AQ,EAAE;MAAU,GACnBrB,IAAI,GAAG,QAAQ,GAAG,KAAK,EAAG,CAAC,WACtB,CAAC,aACCI,UAAU,GAAG,IAAI,GAAG,CAAC,CAAC;IAChC,gBAEF1B,MAAA,CAAAQ,OAAA,CAAA2B,aAAA,CAAChB,QAAQ;MAACK,MAAM,EAAEA,MAAO;MAACE,UAAU,EAAEA,UAAW;MAACJ,IAAI,EAAEA,IAAI,GAAG,IAAI,GAAG;IAAM,gBACxEtB,MAAA,CAAAQ,OAAA,CAAA2B,aAAA,CAAC7B,QAAQ,qBACLN,MAAA,CAAAQ,OAAA,CAAA2B,aAAA,CAACjB,kBAAkB,MAAE,CACf,CACJ,CACT,CAAC;EAAA,CAEH,CAAC;AAEpB,CAAC;AAAC,IAAA0B,QAAA,GAAAC,OAAA,CAAArC,OAAA,GAEaqB,UAAU","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import { DragSource } from "../../../types";
3
3
  interface VerticalProps {
4
4
  depth?: number;
@@ -6,5 +6,5 @@ interface VerticalProps {
6
6
  last?: boolean;
7
7
  isVisible?: any;
8
8
  }
9
- declare const Vertical: ({ depth, last, onDrop, isVisible }: VerticalProps) => JSX.Element;
9
+ declare const Vertical: ({ depth, last, onDrop, isVisible }: VerticalProps) => React.JSX.Element;
10
10
  export default Vertical;
@@ -6,49 +6,51 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
9
10
  var _react = _interopRequireDefault(require("react"));
10
- var _styled = _interopRequireDefault(require("@emotion/styled"));
11
11
  var _Droppable = require("../Droppable");
12
- var InnerDivVertical = /*#__PURE__*/(0, _styled.default)("div", {
13
- target: "e1yx4w3z0",
12
+ 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)."; }
13
+ var InnerDivVertical = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
14
+ target: "e1yx4w3z2"
15
+ } : {
16
+ target: "e1yx4w3z2",
14
17
  label: "InnerDivVertical"
15
- })({
16
- position: "absolute",
17
- width: 10,
18
- height: "100%",
19
- zIndex: 3,
20
- borderRadius: 0,
21
- display: "none",
22
- boxSizing: "border-box",
23
- border: "1px dashed black",
24
- borderSpacing: 5
18
+ })(process.env.NODE_ENV === "production" ? {
19
+ name: "1oslt3m",
20
+ styles: "position:absolute;width:10px;height:100%;z-index:3;border-radius:0;display:none;box-sizing:border-box;border:1px dashed black;border-spacing:5px"
21
+ } : {
22
+ name: "1oslt3m",
23
+ styles: "position:absolute;width:10px;height:100%;z-index:3;border-radius:0;display:none;box-sizing:border-box;border:1px dashed black;border-spacing:5px",
24
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlZlcnRpY2FsLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLeUIiLCJmaWxlIjoiVmVydGljYWwudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gXCJyZWFjdFwiO1xuaW1wb3J0IHN0eWxlZCBmcm9tIFwiQGVtb3Rpb24vc3R5bGVkXCI7XG5pbXBvcnQgeyBEcm9wcGFibGUsIElzVmlzaWJsZUNhbGxhYmxlIH0gZnJvbSBcIi4uL0Ryb3BwYWJsZVwiO1xuaW1wb3J0IHsgRHJhZ1NvdXJjZSB9IGZyb20gXCJ+L3R5cGVzXCI7XG5cbmNvbnN0IElubmVyRGl2VmVydGljYWwgPSBzdHlsZWQoXCJkaXZcIikoe1xuICAgIHBvc2l0aW9uOiBcImFic29sdXRlXCIsXG4gICAgd2lkdGg6IDEwLFxuICAgIGhlaWdod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XNEcmFnZ2luZywgZHJvcCB9KSA9PiAoXG4gICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgICByZWY9e2Ryb3B9XG4gICAgICAgICAgICAgICAgICAgIHN0eWxlPXt7XG4gICAgICAgICAgICAgICAgICAgICAgICAvKiBGb3IgZHJvcHpvbmUgZGVidWdnaW5nOiBib3JkZXI6IFwiMXB4IHNvbGlkIGJsdWVcIiwqL1xuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6IFwiMzAlXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBtYXhXaWR0aDogXCIxMDBweFwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiBcIjEwMCVcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBcImFic29sdXRlXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICB0b3A6IDAsXG4gICAgICAgICAgICAgICAgICAgICAgICBbbGFzdCA/IFwicmlnaHRcIiA6IFwibGVmdFwiXTogMCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHpJbmRleDogaXNEcmFnZ2luZyA/IDEwMDAgKyAoZGVwdGggfHwgMCkgOiAtMVxuICAgICAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPE91dGVyRGl2VmVydGljYWwgaXNPdmVyPXtpc092ZXJ9IGlzRHJhZ2dpbmc9e2lzRHJhZ2dpbmd9IGxhc3Q9e2xhc3R9PlxuICAgICAgICAgICAgICAgICAgICAgICAgPElubmVyRGl2VmVydGljYWw+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPEJhY2tncm91bmRDb2xvckRpdiAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9Jbm5lckRpdlZlcnRpY2FsPlxuICAgICAgICAgICAgICAgICAgICA8L091dGVyRGl2VmVydGljYWw+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICApfVxuICAgICAgICA8L0Ryb3BwYWJsZT5cbiAgICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgVmVydGljYWw7XG4iXX0= */",
25
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
25
26
  });
26
- var BackgroundColorDiv = /*#__PURE__*/(0, _styled.default)("div", {
27
+ var BackgroundColorDiv = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
28
+ target: "e1yx4w3z1"
29
+ } : {
27
30
  target: "e1yx4w3z1",
28
31
  label: "BackgroundColorDiv"
29
- })({
30
- width: "100%",
31
- height: "100%"
32
+ })(process.env.NODE_ENV === "production" ? {
33
+ name: "w1atjl",
34
+ styles: "width:100%;height:100%"
35
+ } : {
36
+ name: "w1atjl",
37
+ styles: "width:100%;height:100%",
38
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlZlcnRpY2FsLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFpQjJCIiwiZmlsZSI6IlZlcnRpY2FsLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgRHJvcHBhYmxlLCBJc1Zpc2libGVDYWxsYWJsZSB9IGZyb20gXCIuLi9Ecm9wcGFibGVcIjtcbmltcG9ydCB7IERyYWdTb3VyY2UgfSBmcm9tIFwifi90eXBlc1wiO1xuXG5jb25zdCBJbm5lckRpdlZlcnRpY2FsID0gc3R5bGVkKFwiZGl2XCIpKHtcbiAgICBwb3NpdGlvbjogXCJhYnNvbHV0ZVwiLFxuICAgIHdpZHRoOiAxMCxcbiAgICBoZWlnaHQ6IFwiMTAwJVwiLFxuICAgIHpJbmRleDogMyxcbiAgICBib3JkZXJSYWRpdXM6IDAsXG4gICAgZGlzcGxheTogXCJub25l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hcnkpXCIgOiBcInZhcigtLW1kYy10aGVtZS1zZWNvbmRhcnkpXCIsXG4gICAgICAgICAgICBbcHJvcHMubGFzdCA/IFwicmlnaHRcIiA6IFwibGVmdFwiXTogLTIsXG4gICAgICAgICAgICBkaXNwbGF5OiBwcm9wcy5pc0RyYWdnaW5nID8gXCJibG9ja1wiIDogXCJub25lXCIsXG4gICAgICAgICAgICAvLyBAdHMtZXhwZWN0LWVycm9yXG4gICAgICAgICAgICBbQmFja2dyb3VuZENvbG9yRGl2XToge1xuICAgICAgICAgICAgICAgIG9wYWNpdHk6IDAuNSxcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6IHByb3BzLmlzT3ZlclxuICAgICAgICAgICAgICAgICAgICA/IFwidmFyKC0tbWRjLXRoZW1lLXByaW1hcnkpXCJcbiAgICAgICAgICAgICAgICAgICAgOiBcInZhcigtLW1kYy10aGVtZS1zZWNvbmRhcnkpXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH0pXG4pO1xuXG5pbnRlcmZhY2UgVmVydGljYWxQcm9wcyB7XG4gICAgZGVwdGg/OiBudW1iZXI7XG4gICAgb25Ecm9wKGl0ZW06IERyYWdTb3VyY2UpOiB2b2lkO1xuICAgIGxhc3Q/OiBib29sZWFuO1xuICAgIGlzVmlzaWJsZT86IGFueTtcbn1cblxuY29uc3QgVmVydGljYWwgPSAoeyBkZXB0aCwgbGFzdCwgb25Ecm9wLCBpc1Zpc2libGUgfTogVmVydGljYWxQcm9wcykgPT4ge1xuICAgIHJldHVybiAoXG4gICAgICAgIDxEcm9wcGFibGUgb25Ecm9wPXtvbkRyb3B9IGlzVmlzaWJsZT17aXNWaXNpYmxlfT5cbiAgICAgICAgICAgIHsoeyBpc092ZXIsIGlzRHJhZ2dpbmcsIGRyb3AgfSkgPT4gKFxuICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgcmVmPXtkcm9wfVxuICAgICAgICAgICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICAgICAgICAgICAgLyogRm9yIGRyb3B6b25lIGRlYnVnZ2luZzogYm9yZGVyOiBcIjFweCBzb2xpZCBibHVlXCIsKi9cbiAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiBcIjMwJVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgbWF4V2lkdGg6IFwiMTAwcHhcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodDogXCIxMDAlXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogXCJhYnNvbHV0ZVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgdG9wOiAwLFxuICAgICAgICAgICAgICAgICAgICAgICAgW2xhc3QgPyBcInJpZ2h0XCIgOiBcImxlZnRcIl06IDAsXG4gICAgICAgICAgICAgICAgICAgICAgICB6SW5kZXg6IGlzRHJhZ2dpbmcgPyAxMDAwICsgKGRlcHRoIHx8IDApIDogLTFcbiAgICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxPdXRlckRpdlZlcnRpY2FsIGlzT3Zlcj17aXNPdmVyfSBpc0RyYWdnaW5nPXtpc0RyYWdnaW5nfSBsYXN0PXtsYXN0fT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxJbm5lckRpdlZlcnRpY2FsPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxCYWNrZ3JvdW5kQ29sb3JEaXYgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvSW5uZXJEaXZWZXJ0aWNhbD5cbiAgICAgICAgICAgICAgICAgICAgPC9PdXRlckRpdlZlcnRpY2FsPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgKX1cbiAgICAgICAgPC9Ecm9wcGFibGU+XG4gICAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IFZlcnRpY2FsO1xuIl19 */",
39
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
32
40
  });
33
- var OuterDivVertical = /*#__PURE__*/(0, _styled.default)("div", {
34
- target: "e1yx4w3z2",
41
+ var OuterDivVertical = /*#__PURE__*/(0, _base.default)("div", process.env.NODE_ENV === "production" ? {
42
+ target: "e1yx4w3z0"
43
+ } : {
44
+ target: "e1yx4w3z0",
35
45
  label: "OuterDivVertical"
36
- })({
37
- position: "absolute",
38
- width: "30%",
39
- top: 0,
40
- height: "100%",
41
- zIndex: 10,
42
- backgroundColor: "transparent"
43
- }, function (props) {
44
- var _InnerDivVertical, _ref;
45
- return _ref = {}, (0, _defineProperty2.default)(_ref, props.last ? "right" : "left", -9), (0, _defineProperty2.default)(_ref, "textAlign", props.last ? "right" : "left"), (0, _defineProperty2.default)(_ref, InnerDivVertical, (_InnerDivVertical = {
46
+ })("position:absolute;width:30%;top:0;height:100%;z-index:10;background-color:transparent;", function (props) {
47
+ return (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, props.last ? "right" : "left", -9), "textAlign", props.last ? "right" : "left"), InnerDivVertical, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
46
48
  borderColor: props.isOver ? "var(--mdc-theme-primary)" : "var(--mdc-theme-secondary)"
47
- }, (0, _defineProperty2.default)(_InnerDivVertical, props.last ? "right" : "left", -2), (0, _defineProperty2.default)(_InnerDivVertical, "display", props.isDragging ? "block" : "none"), (0, _defineProperty2.default)(_InnerDivVertical, BackgroundColorDiv, {
49
+ }, props.last ? "right" : "left", -2), "display", props.isDragging ? "block" : "none"), BackgroundColorDiv, {
48
50
  opacity: 0.5,
49
51
  backgroundColor: props.isOver ? "var(--mdc-theme-primary)" : "var(--mdc-theme-secondary)"
50
- }), _InnerDivVertical)), _ref;
51
- });
52
+ }));
53
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlZlc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KFxuICAgIHtcbiAgICAgICAgcG9zaXRpb246IFwiYWJzb2x1dGVcIixcbiAgICAgICAgd2lkdGg6IFwiMzAlXCIsXG4gICAgICAgIHRvcDogMCxcbiAgICAgICAgaGVpZ2h0OiBcIjEwMCVcIixcbiAgICAgICAgekluZGV4OiAxMCxcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBcInRyYW5zcGFyZW50XCJcbiAgICB9LFxuICAgIChwcm9wczogT3V0ZXJEaXZWZXJ0aWNhbFByb3BzKSA9PiAoe1xuICAgICAgICBbcHJvcHMubGFzdCA/IFwicmlnaHRcIiA6IFwibGVmdFwiXTogLTksXG4gICAgICAgIHRleHRBbGlnbjogcHJvcHMubGFzdCA/IFwicmlnaHRcIiA6IFwibGVmdFwiLFxuICAgICAgICAvLyBAdHMtZXhwZWN0LWVycm9yXG4gICAgICAgIFtJbm5lckRpdlZlcnRpY2FsXToge1xuICAgICAgICAgICAgYm9yZGVyQ29sb3I6IHByb3BzLmlzT3ZlciA/IFwidmFyKC0tbWRjLXRoZW1lLXByaW1hcnkpXCIgOiBcInZhcigtLW1kYy10aGVtZS1zZWNvbmRhcnkpXCIsXG4gICAgICAgICAgICBbcHJvcHMubGFzdCA/IFwicmlnaHRcIiA6IFwibGVmdFwiXTogLTIsXG4gICAgICAgICAgICBkaXNwbGF5OiBwcm9wcy5pc0RyYWdnaW5nID8gXCJibG9ja1wiIDogXCJub25lXCIsXG4gICAgICAgICAgICAvLyBAdHMtZXhwZWN0LWVycm9yXG4gICAgICAgICAgICBbQmFja2dyb3VuZENvbG9yRGl2XToge1xuICAgICAgICAgICAgICAgIG9wYWNpdHk6IDAuNSxcbiAgICAgICAgICAgICAgICBiYWNrZ3JvdW5kQ29sb3I6IHByb3BzLmlzT3ZlclxuICAgICAgICAgICAgICAgICAgICA/IFwidmFyKC0tbWRjLXRoZW1lLXByaW1hcnkpXCJcbiAgICAgICAgICAgICAgICAgICAgOiBcInZhcigtLW1kYy10aGVtZS1zZWNvbmRhcnkpXCJcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH0pXG4pO1xuXG5pbnRlcmZhY2UgVmVydGljYWxQcm9wcyB7XG4gICAgZGVwdGg/OiBudW1iZXI7XG4gICAgb25Ecm9wKGl0ZW06IERyYWdTb3VyY2UpOiB2b2lkO1xuICAgIGxhc3Q/OiBib29sZWFuO1xuICAgIGlzVmlzaWJsZT86IGFueTtcbn1cblxuY29uc3QgVmVydGljYWwgPSAoeyBkZXB0aCwgbGFzdCwgb25Ecm9wLCBpc1Zpc2libGUgfTogVmVydGljYWxQcm9wcykgPT4ge1xuICAgIHJldHVybiAoXG4gICAgICAgIDxEcm9wcGFibGUgb25Ecm9wPXtvbkRyb3B9IGlzVmlzaWJsZT17aXNWaXNpYmxlfT5cbiAgICAgICAgICAgIHsoeyBpc092ZXIsIGlzRHJhZ2dpbmcsIGRyb3AgfSkgPT4gKFxuICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgcmVmPXtkcm9wfVxuICAgICAgICAgICAgICAgICAgICBzdHlsZT17e1xuICAgICAgICAgICAgICAgICAgICAgICAgLyogRm9yIGRyb3B6b25lIGRlYnVnZ2luZzogYm9yZGVyOiBcIjFweCBzb2xpZCBibHVlXCIsKi9cbiAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiBcIjMwJVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgbWF4V2lkdGg6IFwiMTAwcHhcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodDogXCIxMDAlXCIsXG4gICAgICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogXCJhYnNvbHV0ZVwiLFxuICAgICAgICAgICAgICAgICAgICAgICAgdG9wOiAwLFxuICAgICAgICAgICAgICAgICAgICAgICAgW2xhc3QgPyBcInJpZ2h0XCIgOiBcImxlZnRcIl06IDAsXG4gICAgICAgICAgICAgICAgICAgICAgICB6SW5kZXg6IGlzRHJhZ2dpbmcgPyAxMDAwICsgKGRlcHRoIHx8IDApIDogLTFcbiAgICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxPdXRlckRpdlZlcnRpY2FsIGlzT3Zlcj17aXNPdmVyfSBpc0RyYWdnaW5nPXtpc0RyYWdnaW5nfSBsYXN0PXtsYXN0fT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxJbm5lckRpdlZlcnRpY2FsPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxCYWNrZ3JvdW5kQ29sb3JEaXYgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvSW5uZXJEaXZWZXJ0aWNhbD5cbiAgICAgICAgICAgICAgICAgICAgPC9PdXRlckRpdlZlcnRpY2FsPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgKX1cbiAgICAgICAgPC9Ecm9wcGFibGU+XG4gICAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IFZlcnRpY2FsO1xuIl19 */");
52
54
  var Vertical = function Vertical(_ref2) {
53
55
  var depth = _ref2.depth,
54
56
  last = _ref2.last,
@@ -58,20 +60,19 @@ var Vertical = function Vertical(_ref2) {
58
60
  onDrop: onDrop,
59
61
  isVisible: isVisible
60
62
  }, function (_ref3) {
61
- var _ref4;
62
63
  var isOver = _ref3.isOver,
63
64
  isDragging = _ref3.isDragging,
64
65
  drop = _ref3.drop;
65
66
  return /*#__PURE__*/_react.default.createElement("div", {
66
67
  ref: drop,
67
- style: (_ref4 = {
68
+ style: (0, _defineProperty2.default)((0, _defineProperty2.default)({
68
69
  /* For dropzone debugging: border: "1px solid blue",*/
69
70
  width: "30%",
70
71
  maxWidth: "100px",
71
72
  height: "100%",
72
73
  position: "absolute",
73
74
  top: 0
74
- }, (0, _defineProperty2.default)(_ref4, last ? "right" : "left", 0), (0, _defineProperty2.default)(_ref4, "zIndex", isDragging ? 1000 + (depth || 0) : -1), _ref4)
75
+ }, last ? "right" : "left", 0), "zIndex", isDragging ? 1000 + (depth || 0) : -1)
75
76
  }, /*#__PURE__*/_react.default.createElement(OuterDivVertical, {
76
77
  isOver: isOver,
77
78
  isDragging: isDragging,
@@ -79,7 +80,6 @@ var Vertical = function Vertical(_ref2) {
79
80
  }, /*#__PURE__*/_react.default.createElement(InnerDivVertical, null, /*#__PURE__*/_react.default.createElement(BackgroundColorDiv, null))));
80
81
  });
81
82
  };
82
- var _default = Vertical;
83
- exports.default = _default;
83
+ var _default = exports.default = Vertical;
84
84
 
85
85
  //# sourceMappingURL=Vertical.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_styled","_Droppable","InnerDivVertical","styled","target","label","position","width","height","zIndex","borderRadius","display","boxSizing","border","borderSpacing","BackgroundColorDiv","OuterDivVertical","top","backgroundColor","props","_InnerDivVertical","_ref","_defineProperty2","default","last","borderColor","isOver","isDragging","opacity","Vertical","_ref2","depth","onDrop","isVisible","createElement","Droppable","_ref3","_ref4","drop","ref","style","maxWidth","_default","exports"],"sources":["Vertical.tsx"],"sourcesContent":["import React from \"react\";\nimport styled from \"@emotion/styled\";\nimport { Droppable, IsVisibleCallable } from \"../Droppable\";\nimport { DragSource } from \"~/types\";\n\nconst InnerDivVertical = styled(\"div\")({\n position: \"absolute\",\n width: 10,\n height: \"100%\",\n zIndex: 3,\n borderRadius: 0,\n display: \"none\",\n boxSizing: \"border-box\",\n border: \"1px dashed black\",\n borderSpacing: 5\n});\n\nconst BackgroundColorDiv = styled(\"div\")({\n width: \"100%\",\n height: \"100%\"\n});\n\ninterface OuterDivVerticalProps {\n isOver: boolean;\n last?: boolean;\n isVisible?: IsVisibleCallable;\n isDragging?: boolean;\n}\n\nconst OuterDivVertical = styled(\"div\")(\n {\n position: \"absolute\",\n width: \"30%\",\n top: 0,\n height: \"100%\",\n zIndex: 10,\n backgroundColor: \"transparent\"\n },\n (props: OuterDivVerticalProps) => ({\n [props.last ? \"right\" : \"left\"]: -9,\n textAlign: props.last ? \"right\" : \"left\",\n // @ts-expect-error\n [InnerDivVertical]: {\n borderColor: props.isOver ? \"var(--mdc-theme-primary)\" : \"var(--mdc-theme-secondary)\",\n [props.last ? \"right\" : \"left\"]: -2,\n display: props.isDragging ? \"block\" : \"none\",\n // @ts-expect-error\n [BackgroundColorDiv]: {\n opacity: 0.5,\n backgroundColor: props.isOver\n ? \"var(--mdc-theme-primary)\"\n : \"var(--mdc-theme-secondary)\"\n }\n }\n })\n);\n\ninterface VerticalProps {\n depth?: number;\n onDrop(item: DragSource): void;\n last?: boolean;\n isVisible?: any;\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 <InnerDivVertical>\n <BackgroundColorDiv />\n </InnerDivVertical>\n </OuterDivVertical>\n </div>\n )}\n </Droppable>\n );\n};\n\nexport default Vertical;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAGA,IAAMG,gBAAgB,oBAAGC,eAAM,EAAC,KAAK;EAAAC,MAAA;EAAAC,KAAA;AAAA,GAAE;EACnCC,QAAQ,EAAE,UAAU;EACpBC,KAAK,EAAE,EAAE;EACTC,MAAM,EAAE,MAAM;EACdC,MAAM,EAAE,CAAC;EACTC,YAAY,EAAE,CAAC;EACfC,OAAO,EAAE,MAAM;EACfC,SAAS,EAAE,YAAY;EACvBC,MAAM,EAAE,kBAAk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AkB,MAAE,CACP,CACJ,CACjB,CAAC;EAAA,CAEH,CAAC;AAEpB,CAAC;AAAC,IAAA2B,QAAA,GAEab,QAAQ;AAAAc,OAAA,CAAApB,OAAA,GAAAmB,QAAA"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_Droppable","_EMOTION_STRINGIFIED_CSS_ERROR__","InnerDivVertical","_base","default","process","env","NODE_ENV","target","label","name","styles","map","toString","BackgroundColorDiv","OuterDivVertical","props","_defineProperty2","last","borderColor","isOver","isDragging","opacity","backgroundColor","Vertical","_ref2","depth","onDrop","isVisible","createElement","Droppable","_ref3","drop","ref","style","width","maxWidth","height","position","top","_default","exports"],"sources":["Vertical.tsx"],"sourcesContent":["import React from \"react\";\nimport styled from \"@emotion/styled\";\nimport { Droppable, IsVisibleCallable } from \"../Droppable\";\nimport { DragSource } from \"~/types\";\n\nconst InnerDivVertical = styled(\"div\")({\n position: \"absolute\",\n width: 10,\n height: \"100%\",\n zIndex: 3,\n borderRadius: 0,\n display: \"none\",\n boxSizing: \"border-box\",\n border: \"1px dashed black\",\n borderSpacing: 5\n});\n\nconst BackgroundColorDiv = styled(\"div\")({\n width: \"100%\",\n height: \"100%\"\n});\n\ninterface OuterDivVerticalProps {\n isOver: boolean;\n last?: boolean;\n isVisible?: IsVisibleCallable;\n isDragging?: boolean;\n}\n\nconst OuterDivVertical = styled(\"div\")(\n {\n position: \"absolute\",\n width: \"30%\",\n top: 0,\n height: \"100%\",\n zIndex: 10,\n backgroundColor: \"transparent\"\n },\n (props: OuterDivVerticalProps) => ({\n [props.last ? \"right\" : \"left\"]: -9,\n textAlign: props.last ? \"right\" : \"left\",\n // @ts-expect-error\n [InnerDivVertical]: {\n borderColor: props.isOver ? \"var(--mdc-theme-primary)\" : \"var(--mdc-theme-secondary)\",\n [props.last ? \"right\" : \"left\"]: -2,\n display: props.isDragging ? \"block\" : \"none\",\n // @ts-expect-error\n [BackgroundColorDiv]: {\n opacity: 0.5,\n backgroundColor: props.isOver\n ? \"var(--mdc-theme-primary)\"\n : \"var(--mdc-theme-secondary)\"\n }\n }\n })\n);\n\ninterface VerticalProps {\n depth?: number;\n onDrop(item: DragSource): void;\n last?: boolean;\n isVisible?: any;\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 <InnerDivVertical>\n <BackgroundColorDiv />\n </InnerDivVertical>\n </OuterDivVertical>\n </div>\n )}\n </Droppable>\n );\n};\n\nexport default Vertical;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAD,OAAA;AAA4D,SAAAE,iCAAA;AAG5D,IAAMC,gBAAgB,gBAAG,IAAAC,KAAA,CAAAC,OAAA,EAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAZ;AAAA,CAUrC,CAAC;AAEF,IAAMa,kBAAkB,gBAAG,IAAAX,KAAA,CAAAC,OAAA,EAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;E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C7B,UAAA,CAAA8B,SAAS;IAACH,MAAM,EAAEA,MAAO;IAACC,SAAS,EAAEA;EAAU,GAC3C,UAAAG,KAAA;IAAA,IAAGX,MAAM,GAAAW,KAAA,CAANX,MAAM;MAAEC,UAAU,GAAAU,KAAA,CAAVV,UAAU;MAAEW,IAAI,GAAAD,KAAA,CAAJC,IAAI;IAAA,oBACxBnC,MAAA,CAAAO,OAAA,CAAAyB,aAAA;MACII,GAAG,EAAED,IAAK;MACVE,KAAK,MAAAjB,gBAAA,CAAAb,OAAA,MAAAa,gBAAA,CAAAb,OAAA;QACD;QACA+B,KAAK,EAAE,KAAK;QACZC,QAAQ,EAAE,OAAO;QACjBC,MAAM,EAAE,MAAM;QACdC,QAAQ,EAAE,UAAU;QACpBC,GAAG,EAAE;MAAC,GACLrB,IAAI,GAAG,OAAO,GAAG,MAAM,EAAG,CAAC,aACpBG,UAAU,GAAG,IAAI,IAAIK,KAAK,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IAC/C,gBAEF7B,MAAA,CAAAO,OAAA,CAAAyB,aAAA,CAACd,gBAAgB;MAACK,MAAM,EAAEA,MAAO;MAACC,UAAU,EAAEA,UAAW;MAACH,IAAI,EAAEA;IAAK,gBACjErB,MAAA,CAAAO,OAAA,CAAAyB,aAAA,CAAC3B,gBAAgB,qBACbL,MAAA,CAAAO,OAAA,CAAAyB,aAAA,CAACf,kBAAkB,MAAE,CACP,CACJ,CACjB,CAAC;EAAA,CAEH,CAAC;AAEpB,CAAC;AAAC,IAAA0B,QAAA,GAAAC,OAAA,CAAArC,OAAA,GAEaoB,QAAQ","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_Center","_interopRequireDefault","require","_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,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,SAAA,GAAAH,sBAAA,CAAAC,OAAA"}
1
+ {"version":3,"names":["_Center","_interopRequireDefault","require","_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,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,SAAA,GAAAH,sBAAA,CAAAC,OAAA","ignoreList":[]}