@webiny/app-headless-cms-scheduler 6.0.0 → 6.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (526) hide show
  1. package/components/Browser/BrowserConfig.d.ts +2 -0
  2. package/components/Browser/BrowserConfig.js +15 -0
  3. package/components/Browser/BrowserConfig.js.map +1 -0
  4. package/components/Browser/MenuItem.d.ts +2 -0
  5. package/components/Browser/MenuItem.js +53 -0
  6. package/components/Browser/MenuItem.js.map +1 -0
  7. package/components/Editor/EditorConfig.d.ts +2 -0
  8. package/components/Editor/EditorConfig.js +15 -0
  9. package/components/Editor/EditorConfig.js.map +1 -0
  10. package/components/Editor/MenuItem.d.ts +2 -0
  11. package/components/Editor/MenuItem.js +49 -0
  12. package/components/Editor/MenuItem.js.map +1 -0
  13. package/components/Sidebar/SchedulerButton.d.ts +5 -0
  14. package/components/Sidebar/SchedulerButton.js +17 -0
  15. package/components/Sidebar/SchedulerButton.js.map +1 -0
  16. package/components/Sidebar/Sidebar.d.ts +2 -0
  17. package/components/Sidebar/Sidebar.js +41 -0
  18. package/components/Sidebar/Sidebar.js.map +1 -0
  19. package/components/index.d.ts +3 -0
  20. package/components/index.js +5 -0
  21. package/components/index.js.map +1 -0
  22. package/hooks/usePermissions.d.ts +4 -0
  23. package/hooks/usePermissions.js +17 -0
  24. package/hooks/usePermissions.js.map +1 -0
  25. package/index.d.ts +2 -2
  26. package/index.js +5 -1
  27. package/index.js.map +1 -1
  28. package/package.json +9 -23
  29. package/utils/index.d.ts +1 -0
  30. package/utils/index.js +3 -0
  31. package/utils/index.js.map +1 -0
  32. package/utils/namespace.d.ts +7 -0
  33. package/utils/namespace.js +11 -0
  34. package/utils/namespace.js.map +1 -0
  35. package/Domain/Models/SchedulerItem/SchedulerItem.d.ts +0 -14
  36. package/Domain/Models/SchedulerItem/SchedulerItem.js +0 -17
  37. package/Domain/Models/SchedulerItem/SchedulerItem.js.map +0 -1
  38. package/Domain/Models/SchedulerItem/index.d.ts +0 -1
  39. package/Domain/Models/SchedulerItem/index.js +0 -3
  40. package/Domain/Models/SchedulerItem/index.js.map +0 -1
  41. package/Domain/Models/index.d.ts +0 -1
  42. package/Domain/Models/index.js +0 -3
  43. package/Domain/Models/index.js.map +0 -1
  44. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.d.ts +0 -14
  45. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js +0 -3
  46. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js.map +0 -1
  47. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.d.ts +0 -37
  48. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js +0 -125
  49. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js.map +0 -1
  50. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.d.ts +0 -20
  51. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js +0 -17
  52. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js.map +0 -1
  53. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.d.ts +0 -17
  54. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js +0 -38
  55. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js.map +0 -1
  56. package/Domain/Repositories/SchedulerItems/index.d.ts +0 -4
  57. package/Domain/Repositories/SchedulerItems/index.js +0 -5
  58. package/Domain/Repositories/SchedulerItems/index.js.map +0 -1
  59. package/Domain/Repositories/Search/ISearchRepository.d.ts +0 -4
  60. package/Domain/Repositories/Search/ISearchRepository.js +0 -3
  61. package/Domain/Repositories/Search/ISearchRepository.js.map +0 -1
  62. package/Domain/Repositories/Search/SearchRepository.d.ts +0 -7
  63. package/Domain/Repositories/Search/SearchRepository.js +0 -15
  64. package/Domain/Repositories/Search/SearchRepository.js.map +0 -1
  65. package/Domain/Repositories/Search/SearchRepositoryFactory.d.ts +0 -7
  66. package/Domain/Repositories/Search/SearchRepositoryFactory.js +0 -17
  67. package/Domain/Repositories/Search/SearchRepositoryFactory.js.map +0 -1
  68. package/Domain/Repositories/Search/index.d.ts +0 -3
  69. package/Domain/Repositories/Search/index.js +0 -4
  70. package/Domain/Repositories/Search/index.js.map +0 -1
  71. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.d.ts +0 -8
  72. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js +0 -3
  73. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js.map +0 -1
  74. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.d.ts +0 -12
  75. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js +0 -27
  76. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js.map +0 -1
  77. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.d.ts +0 -7
  78. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js +0 -17
  79. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js.map +0 -1
  80. package/Domain/Repositories/SelectedItems/index.d.ts +0 -3
  81. package/Domain/Repositories/SelectedItems/index.js +0 -4
  82. package/Domain/Repositories/SelectedItems/index.js.map +0 -1
  83. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.d.ts +0 -8
  84. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js +0 -22
  85. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js.map +0 -1
  86. package/Domain/Repositories/Sorting/index.d.ts +0 -1
  87. package/Domain/Repositories/Sorting/index.js +0 -3
  88. package/Domain/Repositories/Sorting/index.js.map +0 -1
  89. package/Domain/Repositories/index.d.ts +0 -4
  90. package/Domain/Repositories/index.js +0 -6
  91. package/Domain/Repositories/index.js.map +0 -1
  92. package/Domain/index.d.ts +0 -2
  93. package/Domain/index.js +0 -4
  94. package/Domain/index.js.map +0 -1
  95. package/Gateways/SchedulerCancelGateway.d.ts +0 -7
  96. package/Gateways/SchedulerCancelGateway.js +0 -3
  97. package/Gateways/SchedulerCancelGateway.js.map +0 -1
  98. package/Gateways/SchedulerGetGateway.d.ts +0 -9
  99. package/Gateways/SchedulerGetGateway.js +0 -3
  100. package/Gateways/SchedulerGetGateway.js.map +0 -1
  101. package/Gateways/SchedulerListGateway.d.ts +0 -28
  102. package/Gateways/SchedulerListGateway.js +0 -3
  103. package/Gateways/SchedulerListGateway.js.map +0 -1
  104. package/Gateways/SchedulerPublishGateway.d.ts +0 -12
  105. package/Gateways/SchedulerPublishGateway.js +0 -3
  106. package/Gateways/SchedulerPublishGateway.js.map +0 -1
  107. package/Gateways/SchedulerUnpublishGateway.d.ts +0 -12
  108. package/Gateways/SchedulerUnpublishGateway.js +0 -3
  109. package/Gateways/SchedulerUnpublishGateway.js.map +0 -1
  110. package/Gateways/index.d.ts +0 -5
  111. package/Gateways/index.js +0 -3
  112. package/Gateways/index.js.map +0 -1
  113. package/Presentation/Scheduler/Scheduler.d.ts +0 -18
  114. package/Presentation/Scheduler/Scheduler.js +0 -66
  115. package/Presentation/Scheduler/Scheduler.js.map +0 -1
  116. package/Presentation/Scheduler/SchedulerControllers.d.ts +0 -30
  117. package/Presentation/Scheduler/SchedulerControllers.js +0 -72
  118. package/Presentation/Scheduler/SchedulerControllers.js.map +0 -1
  119. package/Presentation/Scheduler/SchedulerPresenter.d.ts +0 -32
  120. package/Presentation/Scheduler/SchedulerPresenter.js +0 -44
  121. package/Presentation/Scheduler/SchedulerPresenter.js.map +0 -1
  122. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.d.ts +0 -7
  123. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js +0 -11
  124. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js.map +0 -1
  125. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.d.ts +0 -3
  126. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js +0 -3
  127. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js.map +0 -1
  128. package/Presentation/Scheduler/controllers/CancelItem/index.d.ts +0 -2
  129. package/Presentation/Scheduler/controllers/CancelItem/index.js +0 -3
  130. package/Presentation/Scheduler/controllers/CancelItem/index.js.map +0 -1
  131. package/Presentation/Scheduler/controllers/GetItem/GetItemController.d.ts +0 -8
  132. package/Presentation/Scheduler/controllers/GetItem/GetItemController.js +0 -11
  133. package/Presentation/Scheduler/controllers/GetItem/GetItemController.js.map +0 -1
  134. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.d.ts +0 -4
  135. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js +0 -3
  136. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js.map +0 -1
  137. package/Presentation/Scheduler/controllers/GetItem/index.d.ts +0 -2
  138. package/Presentation/Scheduler/controllers/GetItem/index.js +0 -3
  139. package/Presentation/Scheduler/controllers/GetItem/index.js.map +0 -1
  140. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.d.ts +0 -4
  141. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js +0 -3
  142. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js.map +0 -1
  143. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.d.ts +0 -8
  144. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js +0 -11
  145. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js.map +0 -1
  146. package/Presentation/Scheduler/controllers/ListItems/index.d.ts +0 -2
  147. package/Presentation/Scheduler/controllers/ListItems/index.js +0 -3
  148. package/Presentation/Scheduler/controllers/ListItems/index.js.map +0 -1
  149. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.d.ts +0 -3
  150. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js +0 -3
  151. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js.map +0 -1
  152. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.d.ts +0 -7
  153. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js +0 -11
  154. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js.map +0 -1
  155. package/Presentation/Scheduler/controllers/ListMoreItems/index.d.ts +0 -2
  156. package/Presentation/Scheduler/controllers/ListMoreItems/index.js +0 -3
  157. package/Presentation/Scheduler/controllers/ListMoreItems/index.js.map +0 -1
  158. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.d.ts +0 -3
  159. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js +0 -3
  160. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js.map +0 -1
  161. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.d.ts +0 -7
  162. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js +0 -11
  163. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js.map +0 -1
  164. package/Presentation/Scheduler/controllers/PublishItem/index.d.ts +0 -2
  165. package/Presentation/Scheduler/controllers/PublishItem/index.js +0 -3
  166. package/Presentation/Scheduler/controllers/PublishItem/index.js.map +0 -1
  167. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.d.ts +0 -3
  168. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js +0 -3
  169. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js.map +0 -1
  170. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.d.ts +0 -8
  171. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js +0 -14
  172. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js.map +0 -1
  173. package/Presentation/Scheduler/controllers/SearchItems/index.d.ts +0 -2
  174. package/Presentation/Scheduler/controllers/SearchItems/index.js +0 -3
  175. package/Presentation/Scheduler/controllers/SearchItems/index.js.map +0 -1
  176. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.d.ts +0 -3
  177. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js +0 -3
  178. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js.map +0 -1
  179. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.d.ts +0 -7
  180. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js +0 -11
  181. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js.map +0 -1
  182. package/Presentation/Scheduler/controllers/SelectAllItems/index.d.ts +0 -2
  183. package/Presentation/Scheduler/controllers/SelectAllItems/index.js +0 -3
  184. package/Presentation/Scheduler/controllers/SelectAllItems/index.js.map +0 -1
  185. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.d.ts +0 -4
  186. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js +0 -3
  187. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js.map +0 -1
  188. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.d.ts +0 -8
  189. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js +0 -13
  190. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js.map +0 -1
  191. package/Presentation/Scheduler/controllers/SelectItems/index.d.ts +0 -2
  192. package/Presentation/Scheduler/controllers/SelectItems/index.js +0 -3
  193. package/Presentation/Scheduler/controllers/SelectItems/index.js.map +0 -1
  194. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.d.ts +0 -4
  195. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js +0 -3
  196. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js.map +0 -1
  197. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.d.ts +0 -9
  198. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js +0 -19
  199. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js.map +0 -1
  200. package/Presentation/Scheduler/controllers/SortItems/index.d.ts +0 -2
  201. package/Presentation/Scheduler/controllers/SortItems/index.js +0 -3
  202. package/Presentation/Scheduler/controllers/SortItems/index.js.map +0 -1
  203. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.d.ts +0 -3
  204. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js +0 -3
  205. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js.map +0 -1
  206. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.d.ts +0 -7
  207. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js +0 -11
  208. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js.map +0 -1
  209. package/Presentation/Scheduler/controllers/UnpublishItem/index.d.ts +0 -2
  210. package/Presentation/Scheduler/controllers/UnpublishItem/index.js +0 -3
  211. package/Presentation/Scheduler/controllers/UnpublishItem/index.js.map +0 -1
  212. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.d.ts +0 -3
  213. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js +0 -3
  214. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js.map +0 -1
  215. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.d.ts +0 -7
  216. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js +0 -11
  217. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js.map +0 -1
  218. package/Presentation/Scheduler/controllers/UnselectAllItems/index.d.ts +0 -2
  219. package/Presentation/Scheduler/controllers/UnselectAllItems/index.js +0 -3
  220. package/Presentation/Scheduler/controllers/UnselectAllItems/index.js.map +0 -1
  221. package/Presentation/Scheduler/controllers/index.d.ts +0 -11
  222. package/Presentation/Scheduler/controllers/index.js +0 -13
  223. package/Presentation/Scheduler/controllers/index.js.map +0 -1
  224. package/Presentation/Scheduler/index.d.ts +0 -1
  225. package/Presentation/Scheduler/index.js +0 -3
  226. package/Presentation/Scheduler/index.js.map +0 -1
  227. package/Presentation/SchedulerConfigs/SchedulerConfigs.d.ts +0 -2
  228. package/Presentation/SchedulerConfigs/SchedulerConfigs.js +0 -55
  229. package/Presentation/SchedulerConfigs/SchedulerConfigs.js.map +0 -1
  230. package/Presentation/SchedulerConfigs/index.d.ts +0 -1
  231. package/Presentation/SchedulerConfigs/index.js +0 -3
  232. package/Presentation/SchedulerConfigs/index.js.map +0 -1
  233. package/Presentation/SchedulerRenderer/SchedulerRenderer.d.ts +0 -6
  234. package/Presentation/SchedulerRenderer/SchedulerRenderer.js +0 -21
  235. package/Presentation/SchedulerRenderer/SchedulerRenderer.js.map +0 -1
  236. package/Presentation/SchedulerRenderer/index.d.ts +0 -1
  237. package/Presentation/SchedulerRenderer/index.js +0 -3
  238. package/Presentation/SchedulerRenderer/index.js.map +0 -1
  239. package/Presentation/abstractions/ISchedulerControllers.d.ts +0 -14
  240. package/Presentation/abstractions/ISchedulerControllers.js +0 -3
  241. package/Presentation/abstractions/ISchedulerControllers.js.map +0 -1
  242. package/Presentation/abstractions/ISchedulerPresenter.d.ts +0 -20
  243. package/Presentation/abstractions/ISchedulerPresenter.js +0 -3
  244. package/Presentation/abstractions/ISchedulerPresenter.js.map +0 -1
  245. package/Presentation/abstractions/index.d.ts +0 -2
  246. package/Presentation/abstractions/index.js +0 -3
  247. package/Presentation/abstractions/index.js.map +0 -1
  248. package/Presentation/components/Actions/CancelItem/CancelItem.d.ts +0 -2
  249. package/Presentation/components/Actions/CancelItem/CancelItem.js +0 -24
  250. package/Presentation/components/Actions/CancelItem/CancelItem.js.map +0 -1
  251. package/Presentation/components/Actions/CancelItem/index.d.ts +0 -1
  252. package/Presentation/components/Actions/CancelItem/index.js +0 -3
  253. package/Presentation/components/Actions/CancelItem/index.js.map +0 -1
  254. package/Presentation/components/Actions/index.d.ts +0 -1
  255. package/Presentation/components/Actions/index.js +0 -3
  256. package/Presentation/components/Actions/index.js.map +0 -1
  257. package/Presentation/components/BottomInfoBar/BottomInfoBar.d.ts +0 -2
  258. package/Presentation/components/BottomInfoBar/BottomInfoBar.js +0 -20
  259. package/Presentation/components/BottomInfoBar/BottomInfoBar.js.map +0 -1
  260. package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.d.ts +0 -20
  261. package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js +0 -69
  262. package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js.map +0 -1
  263. package/Presentation/components/BottomInfoBar/ListMeta.d.ts +0 -7
  264. package/Presentation/components/BottomInfoBar/ListMeta.js +0 -12
  265. package/Presentation/components/BottomInfoBar/ListMeta.js.map +0 -1
  266. package/Presentation/components/BottomInfoBar/ListStatus.d.ts +0 -5
  267. package/Presentation/components/BottomInfoBar/ListStatus.js +0 -16
  268. package/Presentation/components/BottomInfoBar/ListStatus.js.map +0 -1
  269. package/Presentation/components/BottomInfoBar/index.d.ts +0 -1
  270. package/Presentation/components/BottomInfoBar/index.js +0 -3
  271. package/Presentation/components/BottomInfoBar/index.js.map +0 -1
  272. package/Presentation/components/Cells/CellActions/CellActions.d.ts +0 -2
  273. package/Presentation/components/Cells/CellActions/CellActions.js +0 -23
  274. package/Presentation/components/Cells/CellActions/CellActions.js.map +0 -1
  275. package/Presentation/components/Cells/CellActions/index.d.ts +0 -1
  276. package/Presentation/components/Cells/CellActions/index.js +0 -3
  277. package/Presentation/components/Cells/CellActions/index.js.map +0 -1
  278. package/Presentation/components/Cells/CellRevision/CellRevision.d.ts +0 -2
  279. package/Presentation/components/Cells/CellRevision/CellRevision.js +0 -20
  280. package/Presentation/components/Cells/CellRevision/CellRevision.js.map +0 -1
  281. package/Presentation/components/Cells/CellRevision/CellRevision.styled.d.ts +0 -11
  282. package/Presentation/components/Cells/CellRevision/CellRevision.styled.js +0 -44
  283. package/Presentation/components/Cells/CellRevision/CellRevision.styled.js.map +0 -1
  284. package/Presentation/components/Cells/CellRevision/index.d.ts +0 -1
  285. package/Presentation/components/Cells/CellRevision/index.js +0 -3
  286. package/Presentation/components/Cells/CellRevision/index.js.map +0 -1
  287. package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.d.ts +0 -2
  288. package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js +0 -13
  289. package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js.map +0 -1
  290. package/Presentation/components/Cells/CellScheduledBy/index.d.ts +0 -1
  291. package/Presentation/components/Cells/CellScheduledBy/index.js +0 -3
  292. package/Presentation/components/Cells/CellScheduledBy/index.js.map +0 -1
  293. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.d.ts +0 -24
  294. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js +0 -24
  295. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js.map +0 -1
  296. package/Presentation/components/Cells/CellScheduledOn/index.d.ts +0 -1
  297. package/Presentation/components/Cells/CellScheduledOn/index.js +0 -3
  298. package/Presentation/components/Cells/CellScheduledOn/index.js.map +0 -1
  299. package/Presentation/components/Cells/CellTitle/CellTitle.d.ts +0 -2
  300. package/Presentation/components/Cells/CellTitle/CellTitle.js +0 -17
  301. package/Presentation/components/Cells/CellTitle/CellTitle.js.map +0 -1
  302. package/Presentation/components/Cells/CellTitle/CellTitle.styled.d.ts +0 -11
  303. package/Presentation/components/Cells/CellTitle/CellTitle.styled.js +0 -44
  304. package/Presentation/components/Cells/CellTitle/CellTitle.styled.js.map +0 -1
  305. package/Presentation/components/Cells/CellTitle/index.d.ts +0 -1
  306. package/Presentation/components/Cells/CellTitle/index.js +0 -3
  307. package/Presentation/components/Cells/CellTitle/index.js.map +0 -1
  308. package/Presentation/components/Cells/CellType/CellType.d.ts +0 -2
  309. package/Presentation/components/Cells/CellType/CellType.js +0 -18
  310. package/Presentation/components/Cells/CellType/CellType.js.map +0 -1
  311. package/Presentation/components/Cells/CellType/CellType.styled.d.ts +0 -11
  312. package/Presentation/components/Cells/CellType/CellType.styled.js +0 -44
  313. package/Presentation/components/Cells/CellType/CellType.styled.js.map +0 -1
  314. package/Presentation/components/Cells/CellType/index.d.ts +0 -1
  315. package/Presentation/components/Cells/CellType/index.js +0 -3
  316. package/Presentation/components/Cells/CellType/index.js.map +0 -1
  317. package/Presentation/components/Cells/index.d.ts +0 -6
  318. package/Presentation/components/Cells/index.js +0 -8
  319. package/Presentation/components/Cells/index.js.map +0 -1
  320. package/Presentation/components/Empty/Empty.d.ts +0 -2
  321. package/Presentation/components/Empty/Empty.js +0 -22
  322. package/Presentation/components/Empty/Empty.js.map +0 -1
  323. package/Presentation/components/Empty/Empty.styled.d.ts +0 -8
  324. package/Presentation/components/Empty/Empty.styled.js +0 -30
  325. package/Presentation/components/Empty/Empty.styled.js.map +0 -1
  326. package/Presentation/components/Empty/index.d.ts +0 -1
  327. package/Presentation/components/Empty/index.js +0 -3
  328. package/Presentation/components/Empty/index.js.map +0 -1
  329. package/Presentation/components/ScheduleDialog/ScheduleDialogAction.d.ts +0 -15
  330. package/Presentation/components/ScheduleDialog/ScheduleDialogAction.js +0 -51
  331. package/Presentation/components/ScheduleDialog/ScheduleDialogAction.js.map +0 -1
  332. package/Presentation/components/ScheduleDialog/index.d.ts +0 -2
  333. package/Presentation/components/ScheduleDialog/index.js +0 -4
  334. package/Presentation/components/ScheduleDialog/index.js.map +0 -1
  335. package/Presentation/components/ScheduleDialog/types.d.ts +0 -15
  336. package/Presentation/components/ScheduleDialog/types.js +0 -3
  337. package/Presentation/components/ScheduleDialog/types.js.map +0 -1
  338. package/Presentation/components/ScheduleDialog/useScheduleDialog.d.ts +0 -43
  339. package/Presentation/components/ScheduleDialog/useScheduleDialog.js +0 -193
  340. package/Presentation/components/ScheduleDialog/useScheduleDialog.js.map +0 -1
  341. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.d.ts +0 -7
  342. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js +0 -36
  343. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js.map +0 -1
  344. package/Presentation/components/SchedulerOverlay/index.d.ts +0 -1
  345. package/Presentation/components/SchedulerOverlay/index.js +0 -3
  346. package/Presentation/components/SchedulerOverlay/index.js.map +0 -1
  347. package/Presentation/components/SearchInput/SearchInput.d.ts +0 -2
  348. package/Presentation/components/SearchInput/SearchInput.js +0 -37
  349. package/Presentation/components/SearchInput/SearchInput.js.map +0 -1
  350. package/Presentation/components/SearchInput/index.d.ts +0 -1
  351. package/Presentation/components/SearchInput/index.js +0 -3
  352. package/Presentation/components/SearchInput/index.js.map +0 -1
  353. package/Presentation/components/Table/Table.d.ts +0 -2
  354. package/Presentation/components/Table/Table.js +0 -34
  355. package/Presentation/components/Table/Table.js.map +0 -1
  356. package/Presentation/components/Table/index.d.ts +0 -1
  357. package/Presentation/components/Table/index.js +0 -3
  358. package/Presentation/components/Table/index.js.map +0 -1
  359. package/Presentation/components/Title/Title.d.ts +0 -5
  360. package/Presentation/components/Title/Title.js +0 -15
  361. package/Presentation/components/Title/Title.js.map +0 -1
  362. package/Presentation/components/Title/Title.styled.d.ts +0 -4
  363. package/Presentation/components/Title/Title.styled.js +0 -18
  364. package/Presentation/components/Title/Title.styled.js.map +0 -1
  365. package/Presentation/components/Title/index.d.ts +0 -1
  366. package/Presentation/components/Title/index.js +0 -3
  367. package/Presentation/components/Title/index.js.map +0 -1
  368. package/Presentation/configs/index.d.ts +0 -1
  369. package/Presentation/configs/index.js +0 -3
  370. package/Presentation/configs/index.js.map +0 -1
  371. package/Presentation/configs/list/Browser/EntryAction.d.ts +0 -7
  372. package/Presentation/configs/list/Browser/EntryAction.js +0 -16
  373. package/Presentation/configs/list/Browser/EntryAction.js.map +0 -1
  374. package/Presentation/configs/list/Browser/Table/Column.d.ts +0 -14
  375. package/Presentation/configs/list/Browser/Table/Column.js +0 -14
  376. package/Presentation/configs/list/Browser/Table/Column.js.map +0 -1
  377. package/Presentation/configs/list/Browser/Table/Sorting.d.ts +0 -5
  378. package/Presentation/configs/list/Browser/Table/Sorting.js +0 -10
  379. package/Presentation/configs/list/Browser/Table/Sorting.js.map +0 -1
  380. package/Presentation/configs/list/Browser/Table/index.d.ts +0 -18
  381. package/Presentation/configs/list/Browser/Table/index.js +0 -8
  382. package/Presentation/configs/list/Browser/Table/index.js.map +0 -1
  383. package/Presentation/configs/list/Browser/index.d.ts +0 -23
  384. package/Presentation/configs/list/Browser/index.js +0 -8
  385. package/Presentation/configs/list/Browser/index.js.map +0 -1
  386. package/Presentation/configs/list/SchedulerListConfig.d.ts +0 -33
  387. package/Presentation/configs/list/SchedulerListConfig.js +0 -31
  388. package/Presentation/configs/list/SchedulerListConfig.js.map +0 -1
  389. package/Presentation/configs/list/index.d.ts +0 -1
  390. package/Presentation/configs/list/index.js +0 -3
  391. package/Presentation/configs/list/index.js.map +0 -1
  392. package/Presentation/hooks/index.d.ts +0 -3
  393. package/Presentation/hooks/index.js +0 -5
  394. package/Presentation/hooks/index.js.map +0 -1
  395. package/Presentation/hooks/useCancelSchedulerItem.d.ts +0 -8
  396. package/Presentation/hooks/useCancelSchedulerItem.js +0 -32
  397. package/Presentation/hooks/useCancelSchedulerItem.js.map +0 -1
  398. package/Presentation/hooks/useScheduler.d.ts +0 -26
  399. package/Presentation/hooks/useScheduler.js +0 -51
  400. package/Presentation/hooks/useScheduler.js.map +0 -1
  401. package/Presentation/hooks/useSchedulerItem.d.ts +0 -11
  402. package/Presentation/hooks/useSchedulerItem.js +0 -9
  403. package/Presentation/hooks/useSchedulerItem.js.map +0 -1
  404. package/Presentation/index.d.ts +0 -28
  405. package/Presentation/index.js +0 -35
  406. package/Presentation/index.js.map +0 -1
  407. package/UseCases/CancelItem/CancelItemUseCase.d.ts +0 -7
  408. package/UseCases/CancelItem/CancelItemUseCase.js +0 -12
  409. package/UseCases/CancelItem/CancelItemUseCase.js.map +0 -1
  410. package/UseCases/CancelItem/ICancelItemUseCase.d.ts +0 -3
  411. package/UseCases/CancelItem/ICancelItemUseCase.js +0 -3
  412. package/UseCases/CancelItem/ICancelItemUseCase.js.map +0 -1
  413. package/UseCases/CancelItem/index.d.ts +0 -2
  414. package/UseCases/CancelItem/index.js +0 -3
  415. package/UseCases/CancelItem/index.js.map +0 -1
  416. package/UseCases/GetItem/GetItemUseCase.d.ts +0 -8
  417. package/UseCases/GetItem/GetItemUseCase.js +0 -12
  418. package/UseCases/GetItem/GetItemUseCase.js.map +0 -1
  419. package/UseCases/GetItem/IGetItemUseCase.d.ts +0 -4
  420. package/UseCases/GetItem/IGetItemUseCase.js +0 -3
  421. package/UseCases/GetItem/IGetItemUseCase.js.map +0 -1
  422. package/UseCases/GetItem/index.d.ts +0 -2
  423. package/UseCases/GetItem/index.js +0 -3
  424. package/UseCases/GetItem/index.js.map +0 -1
  425. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.d.ts +0 -7
  426. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js +0 -13
  427. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js.map +0 -1
  428. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.d.ts +0 -4
  429. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js +0 -3
  430. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js.map +0 -1
  431. package/UseCases/GetScheduledItem/index.d.ts +0 -2
  432. package/UseCases/GetScheduledItem/index.js +0 -3
  433. package/UseCases/GetScheduledItem/index.js.map +0 -1
  434. package/UseCases/ListItems/IListItemsUseCase.d.ts +0 -4
  435. package/UseCases/ListItems/IListItemsUseCase.js +0 -3
  436. package/UseCases/ListItems/IListItemsUseCase.js.map +0 -1
  437. package/UseCases/ListItems/ListItemsUseCase.d.ts +0 -8
  438. package/UseCases/ListItems/ListItemsUseCase.js +0 -12
  439. package/UseCases/ListItems/ListItemsUseCase.js.map +0 -1
  440. package/UseCases/ListItems/ListItemsUseCaseWithSearch.d.ts +0 -9
  441. package/UseCases/ListItems/ListItemsUseCaseWithSearch.js +0 -20
  442. package/UseCases/ListItems/ListItemsUseCaseWithSearch.js.map +0 -1
  443. package/UseCases/ListItems/ListItemsUseCaseWithSorting.d.ts +0 -9
  444. package/UseCases/ListItems/ListItemsUseCaseWithSorting.js +0 -18
  445. package/UseCases/ListItems/ListItemsUseCaseWithSorting.js.map +0 -1
  446. package/UseCases/ListItems/index.d.ts +0 -4
  447. package/UseCases/ListItems/index.js +0 -5
  448. package/UseCases/ListItems/index.js.map +0 -1
  449. package/UseCases/ListMoreItems/IListMoreItemsUseCase.d.ts +0 -3
  450. package/UseCases/ListMoreItems/IListMoreItemsUseCase.js +0 -3
  451. package/UseCases/ListMoreItems/IListMoreItemsUseCase.js.map +0 -1
  452. package/UseCases/ListMoreItems/ListMoreItemsUseCase.d.ts +0 -7
  453. package/UseCases/ListMoreItems/ListMoreItemsUseCase.js +0 -12
  454. package/UseCases/ListMoreItems/ListMoreItemsUseCase.js.map +0 -1
  455. package/UseCases/ListMoreItems/index.d.ts +0 -2
  456. package/UseCases/ListMoreItems/index.js +0 -3
  457. package/UseCases/ListMoreItems/index.js.map +0 -1
  458. package/UseCases/PublishItem/IPublishItemUseCase.d.ts +0 -3
  459. package/UseCases/PublishItem/IPublishItemUseCase.js +0 -3
  460. package/UseCases/PublishItem/IPublishItemUseCase.js.map +0 -1
  461. package/UseCases/PublishItem/PublishItemUseCase.d.ts +0 -7
  462. package/UseCases/PublishItem/PublishItemUseCase.js +0 -12
  463. package/UseCases/PublishItem/PublishItemUseCase.js.map +0 -1
  464. package/UseCases/PublishItem/index.d.ts +0 -2
  465. package/UseCases/PublishItem/index.js +0 -3
  466. package/UseCases/PublishItem/index.js.map +0 -1
  467. package/UseCases/SearchItems/ISearchItemsUseCase.d.ts +0 -3
  468. package/UseCases/SearchItems/ISearchItemsUseCase.js +0 -3
  469. package/UseCases/SearchItems/ISearchItemsUseCase.js.map +0 -1
  470. package/UseCases/SearchItems/SearchItemsUseCase.d.ts +0 -7
  471. package/UseCases/SearchItems/SearchItemsUseCase.js +0 -12
  472. package/UseCases/SearchItems/SearchItemsUseCase.js.map +0 -1
  473. package/UseCases/SearchItems/index.d.ts +0 -2
  474. package/UseCases/SearchItems/index.js +0 -3
  475. package/UseCases/SearchItems/index.js.map +0 -1
  476. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.d.ts +0 -3
  477. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js +0 -3
  478. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js.map +0 -1
  479. package/UseCases/SelectAllItems/SelectAllItemsUseCase.d.ts +0 -7
  480. package/UseCases/SelectAllItems/SelectAllItemsUseCase.js +0 -12
  481. package/UseCases/SelectAllItems/SelectAllItemsUseCase.js.map +0 -1
  482. package/UseCases/SelectAllItems/index.d.ts +0 -2
  483. package/UseCases/SelectAllItems/index.js +0 -3
  484. package/UseCases/SelectAllItems/index.js.map +0 -1
  485. package/UseCases/SelectItems/ISelectItemsUseCase.d.ts +0 -4
  486. package/UseCases/SelectItems/ISelectItemsUseCase.js +0 -3
  487. package/UseCases/SelectItems/ISelectItemsUseCase.js.map +0 -1
  488. package/UseCases/SelectItems/SelectItemsUseCase.d.ts +0 -7
  489. package/UseCases/SelectItems/SelectItemsUseCase.js +0 -12
  490. package/UseCases/SelectItems/SelectItemsUseCase.js.map +0 -1
  491. package/UseCases/SelectItems/index.d.ts +0 -2
  492. package/UseCases/SelectItems/index.js +0 -3
  493. package/UseCases/SelectItems/index.js.map +0 -1
  494. package/UseCases/SortItems/ISortItemsUseCase.d.ts +0 -4
  495. package/UseCases/SortItems/ISortItemsUseCase.js +0 -3
  496. package/UseCases/SortItems/ISortItemsUseCase.js.map +0 -1
  497. package/UseCases/SortItems/SortItemsUseCase.d.ts +0 -7
  498. package/UseCases/SortItems/SortItemsUseCase.js +0 -12
  499. package/UseCases/SortItems/SortItemsUseCase.js.map +0 -1
  500. package/UseCases/SortItems/index.d.ts +0 -2
  501. package/UseCases/SortItems/index.js +0 -3
  502. package/UseCases/SortItems/index.js.map +0 -1
  503. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.d.ts +0 -3
  504. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js +0 -3
  505. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js.map +0 -1
  506. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.d.ts +0 -7
  507. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js +0 -12
  508. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js.map +0 -1
  509. package/UseCases/UnSelectAllItems/index.d.ts +0 -2
  510. package/UseCases/UnSelectAllItems/index.js +0 -3
  511. package/UseCases/UnSelectAllItems/index.js.map +0 -1
  512. package/UseCases/UnpublishItem/IUnpublishItemUseCase.d.ts +0 -3
  513. package/UseCases/UnpublishItem/IUnpublishItemUseCase.js +0 -3
  514. package/UseCases/UnpublishItem/IUnpublishItemUseCase.js.map +0 -1
  515. package/UseCases/UnpublishItem/UnpublishItemUseCase.d.ts +0 -7
  516. package/UseCases/UnpublishItem/UnpublishItemUseCase.js +0 -12
  517. package/UseCases/UnpublishItem/UnpublishItemUseCase.js.map +0 -1
  518. package/UseCases/UnpublishItem/index.d.ts +0 -2
  519. package/UseCases/UnpublishItem/index.js +0 -3
  520. package/UseCases/UnpublishItem/index.js.map +0 -1
  521. package/UseCases/index.d.ts +0 -11
  522. package/UseCases/index.js +0 -13
  523. package/UseCases/index.js.map +0 -1
  524. package/types.d.ts +0 -36
  525. package/types.js +0 -15
  526. package/types.js.map +0 -1
@@ -1,24 +0,0 @@
1
- import React from "react";
2
- export interface ICellScheduledOnLabelProps {
3
- dateTime: Date | undefined;
4
- }
5
- export declare const CellScheduledOnLabel: (({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element) & {
6
- original: ({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element;
7
- originalName: string;
8
- displayName: string;
9
- } & {
10
- original: (({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element) & {
11
- original: ({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element;
12
- originalName: string;
13
- displayName: string;
14
- };
15
- originalName: string;
16
- displayName: string;
17
- } & {
18
- createDecorator: (decorator: import("@webiny/react-composition").ComponentDecorator<(({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element) & {
19
- original: ({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element;
20
- originalName: string;
21
- displayName: string;
22
- }>) => (props: unknown) => React.JSX.Element;
23
- };
24
- export declare const CellScheduledOn: () => React.JSX.Element;
@@ -1,24 +0,0 @@
1
- import React from "react";
2
- import { SchedulerListConfig } from "../../../configs/index.js";
3
- import { makeDecoratable } from "@webiny/react-composition";
4
- export const CellScheduledOnLabel = makeDecoratable("Scheduler.CellScheduledOnLabel", ({
5
- dateTime
6
- }) => {
7
- if (!dateTime) {
8
- return /*#__PURE__*/React.createElement(React.Fragment, null, "Missing publish or unpublish date.");
9
- }
10
- return /*#__PURE__*/React.createElement(React.Fragment, null, dateTime.toLocaleString());
11
- });
12
- export const CellScheduledOn = () => {
13
- const {
14
- useTableRow
15
- } = SchedulerListConfig.Browser.Table.Column;
16
- const {
17
- row
18
- } = useTableRow();
19
- return /*#__PURE__*/React.createElement(CellScheduledOnLabel, {
20
- dateTime: row.data.publishOn || row.data.unpublishOn
21
- });
22
- };
23
-
24
- //# sourceMappingURL=CellScheduledOn.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","SchedulerListConfig","makeDecoratable","CellScheduledOnLabel","dateTime","createElement","Fragment","toLocaleString","CellScheduledOn","useTableRow","Browser","Table","Column","row","data","publishOn","unpublishOn"],"sources":["CellScheduledOn.tsx"],"sourcesContent":["import React from \"react\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\nimport { makeDecoratable } from \"@webiny/react-composition\";\n\nexport interface ICellScheduledOnLabelProps {\n dateTime: Date | undefined;\n}\n\nexport const CellScheduledOnLabel = makeDecoratable(\n \"Scheduler.CellScheduledOnLabel\",\n ({ dateTime }: ICellScheduledOnLabelProps) => {\n if (!dateTime) {\n return <>Missing publish or unpublish date.</>;\n }\n\n return <>{dateTime.toLocaleString()}</>;\n }\n);\n\nexport const CellScheduledOn = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return <CellScheduledOnLabel dateTime={row.data.publishOn || row.data.unpublishOn} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,mBAAmB;AAC5B,SAASC,eAAe,QAAQ,2BAA2B;AAM3D,OAAO,MAAMC,oBAAoB,GAAGD,eAAe,CAC/C,gCAAgC,EAChC,CAAC;EAAEE;AAAqC,CAAC,KAAK;EAC1C,IAAI,CAACA,QAAQ,EAAE;IACX,oBAAOJ,KAAA,CAAAK,aAAA,CAAAL,KAAA,CAAAM,QAAA,QAAE,oCAAoC,CAAC;EAClD;EAEA,oBAAON,KAAA,CAAAK,aAAA,CAAAL,KAAA,CAAAM,QAAA,QAAGF,QAAQ,CAACG,cAAc,CAAC,CAAI,CAAC;AAC3C,CACJ,CAAC;AAED,OAAO,MAAMC,eAAe,GAAGA,CAAA,KAAM;EACjC,MAAM;IAAEC;EAAY,CAAC,GAAGR,mBAAmB,CAACS,OAAO,CAACC,KAAK,CAACC,MAAM;EAChE,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBAAOT,KAAA,CAAAK,aAAA,CAACF,oBAAoB;IAACC,QAAQ,EAAES,GAAG,CAACC,IAAI,CAACC,SAAS,IAAIF,GAAG,CAACC,IAAI,CAACE;EAAY,CAAE,CAAC;AACzF,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- export * from "./CellScheduledOn.js";
@@ -1,3 +0,0 @@
1
- export * from "./CellScheduledOn.js";
2
-
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellScheduledOn.js\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const CellTitle: () => React.JSX.Element;
@@ -1,17 +0,0 @@
1
- import React from "react";
2
- import { ReactComponent as File } from "@material-design-icons/svg/outlined/description.svg";
3
- import { RowIcon, RowText, RowTitle } from "./CellTitle.styled.js";
4
- import { SchedulerListConfig } from "../../../configs/index.js";
5
- export const CellTitle = () => {
6
- const {
7
- useTableRow
8
- } = SchedulerListConfig.Browser.Table.Column;
9
- const {
10
- row
11
- } = useTableRow();
12
- return /*#__PURE__*/React.createElement(RowTitle, null, /*#__PURE__*/React.createElement(RowIcon, null, /*#__PURE__*/React.createElement(File, null)), /*#__PURE__*/React.createElement(RowText, {
13
- use: "subtitle2"
14
- }, row.data.title));
15
- };
16
-
17
- //# sourceMappingURL=CellTitle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","ReactComponent","File","RowIcon","RowText","RowTitle","SchedulerListConfig","CellTitle","useTableRow","Browser","Table","Column","row","createElement","use","data","title"],"sources":["CellTitle.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as File } from \"@material-design-icons/svg/outlined/description.svg\";\nimport { RowIcon, RowText, RowTitle } from \"./CellTitle.styled.js\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\n\nexport const CellTitle = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowTitle>\n <RowIcon>\n <File />\n </RowIcon>\n <RowText use={\"subtitle2\"}>{row.data.title}</RowText>\n </RowTitle>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,IAAI,QAAQ,qDAAqD;AAC5F,SAASC,OAAO,EAAEC,OAAO,EAAEC,QAAQ;AACnC,SAASC,mBAAmB;AAE5B,OAAO,MAAMC,SAAS,GAAGA,CAAA,KAAM;EAC3B,MAAM;IAAEC;EAAY,CAAC,GAAGF,mBAAmB,CAACG,OAAO,CAACC,KAAK,CAACC,MAAM;EAChE,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBACIR,KAAA,CAAAa,aAAA,CAACR,QAAQ,qBACLL,KAAA,CAAAa,aAAA,CAACV,OAAO,qBACJH,KAAA,CAAAa,aAAA,CAACX,IAAI,MAAE,CACF,CAAC,eACVF,KAAA,CAAAa,aAAA,CAACT,OAAO;IAACU,GAAG,EAAE;EAAY,GAAEF,GAAG,CAACG,IAAI,CAACC,KAAe,CAC9C,CAAC;AAEnB,CAAC","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- export declare const RowTitle: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const RowIcon: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme;
7
- as?: React.ElementType;
8
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
- export declare const RowText: import("@emotion/styled").StyledComponent<import("@webiny/ui/Typography/Typography").TypographyProps & {
10
- theme?: import("@emotion/react").Theme;
11
- }, {}, {}>;
@@ -1,44 +0,0 @@
1
- import _styled from "@emotion/styled/base";
2
- 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)."; }
3
- import { Typography } from "@webiny/ui/Typography/index.js";
4
- export const RowTitle = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
5
- target: "e17fhulp2"
6
- } : {
7
- target: "e17fhulp2",
8
- label: "RowTitle"
9
- })(process.env.NODE_ENV === "production" ? {
10
- name: "s5xdrg",
11
- styles: "display:flex;align-items:center"
12
- } : {
13
- name: "s5xdrg",
14
- styles: "display:flex;align-items:center/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUaXRsZS5zdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdxQyIsImZpbGUiOiJDZWxsVGl0bGUuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHkvaW5kZXguanNcIjtcblxuZXhwb3J0IGNvbnN0IFJvd1RpdGxlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
15
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
16
- });
17
- export const RowIcon = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
18
- target: "e17fhulp1"
19
- } : {
20
- target: "e17fhulp1",
21
- label: "RowIcon"
22
- })(process.env.NODE_ENV === "production" ? {
23
- name: "1hpq26k",
24
- styles: "margin-right:8px;height:24px"
25
- } : {
26
- name: "1hpq26k",
27
- styles: "margin-right:8px;height:24px/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUaXRsZS5zdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFvQyIsImZpbGUiOiJDZWxsVGl0bGUuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHkvaW5kZXguanNcIjtcblxuZXhwb3J0IGNvbnN0IFJvd1RpdGxlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
28
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
29
- });
30
- export const RowText = /*#__PURE__*/_styled(Typography, process.env.NODE_ENV === "production" ? {
31
- target: "e17fhulp0"
32
- } : {
33
- target: "e17fhulp0",
34
- label: "RowText"
35
- })(process.env.NODE_ENV === "production" ? {
36
- name: "l8l8b8",
37
- styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
38
- } : {
39
- name: "l8l8b8",
40
- styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUaXRsZS5zdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWF5QyIsImZpbGUiOiJDZWxsVGl0bGUuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHkvaW5kZXguanNcIjtcblxuZXhwb3J0IGNvbnN0IFJvd1RpdGxlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
41
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
42
- });
43
-
44
- //# sourceMappingURL=CellTitle.styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Typography","RowTitle","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","RowIcon","RowText"],"sources":["CellTitle.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Typography } from \"@webiny/ui/Typography/index.js\";\n\nexport const RowTitle = styled(\"div\")`\n display: flex;\n align-items: center;\n`;\n\nexport const RowIcon = styled(\"div\")`\n margin-right: 8px;\n height: 24px;\n`;\n\nexport const RowText = styled(Typography)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"mappings":";;AACA,SAASA,UAAU,QAAQ,gCAAgC;AAE3D,OAAO,MAAMC,QAAQ,gBAAGC,OAAA,CAAO,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,QAAA,EAAAC;AAAA,EAGpC;AAED,OAAO,MAAMC,OAAO,gBAAGV,OAAA,CAAO,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,QAAA,EAAAC;AAAA,EAGnC;AAED,OAAO,MAAME,OAAO,gBAAGX,OAAA,CAAOF,UAAU,EAAAG,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,QAAA,EAAAC;AAAA,EAIxC","ignoreList":[]}
@@ -1 +0,0 @@
1
- export * from "./CellTitle.js";
@@ -1,3 +0,0 @@
1
- export * from "./CellTitle.js";
2
-
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellTitle.js\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const CellType: () => React.JSX.Element;
@@ -1,18 +0,0 @@
1
- import React from "react";
2
- import { ReactComponent as Publish } from "@webiny/icons/publish.svg";
3
- import { ReactComponent as Unpublish } from "@webiny/icons/unpublished.svg";
4
- import { RowIcon, RowText, RowType } from "./CellType.styled.js";
5
- import { SchedulerListConfig } from "../../../configs/index.js";
6
- export const CellType = () => {
7
- const {
8
- useTableRow
9
- } = SchedulerListConfig.Browser.Table.Column;
10
- const {
11
- row
12
- } = useTableRow();
13
- return /*#__PURE__*/React.createElement(RowType, null, /*#__PURE__*/React.createElement(RowIcon, null, row.data.type === "publish" ? /*#__PURE__*/React.createElement(Publish, null) : /*#__PURE__*/React.createElement(Unpublish, null)), /*#__PURE__*/React.createElement(RowText, {
14
- use: "subtitle2"
15
- }, row.data.type));
16
- };
17
-
18
- //# sourceMappingURL=CellType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","ReactComponent","Publish","Unpublish","RowIcon","RowText","RowType","SchedulerListConfig","CellType","useTableRow","Browser","Table","Column","row","createElement","data","type","use"],"sources":["CellType.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as Publish } from \"@webiny/icons/publish.svg\";\nimport { ReactComponent as Unpublish } from \"@webiny/icons/unpublished.svg\";\nimport { RowIcon, RowText, RowType } from \"./CellType.styled.js\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\n\nexport const CellType = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowType>\n <RowIcon>{row.data.type === \"publish\" ? <Publish /> : <Unpublish />}</RowIcon>\n <RowText use={\"subtitle2\"}>{row.data.type}</RowText>\n </RowType>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,OAAO,QAAQ,2BAA2B;AACrE,SAASD,cAAc,IAAIE,SAAS,QAAQ,+BAA+B;AAC3E,SAASC,OAAO,EAAEC,OAAO,EAAEC,OAAO;AAClC,SAASC,mBAAmB;AAE5B,OAAO,MAAMC,QAAQ,GAAGA,CAAA,KAAM;EAC1B,MAAM;IAAEC;EAAY,CAAC,GAAGF,mBAAmB,CAACG,OAAO,CAACC,KAAK,CAACC,MAAM;EAChE,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBACIT,KAAA,CAAAc,aAAA,CAACR,OAAO,qBACJN,KAAA,CAAAc,aAAA,CAACV,OAAO,QAAES,GAAG,CAACE,IAAI,CAACC,IAAI,KAAK,SAAS,gBAAGhB,KAAA,CAAAc,aAAA,CAACZ,OAAO,MAAE,CAAC,gBAAGF,KAAA,CAAAc,aAAA,CAACX,SAAS,MAAE,CAAW,CAAC,eAC9EH,KAAA,CAAAc,aAAA,CAACT,OAAO;IAACY,GAAG,EAAE;EAAY,GAAEJ,GAAG,CAACE,IAAI,CAACC,IAAc,CAC9C,CAAC;AAElB,CAAC","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- export declare const RowType: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const RowIcon: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme;
7
- as?: React.ElementType;
8
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
- export declare const RowText: import("@emotion/styled").StyledComponent<import("@webiny/ui/Typography/Typography").TypographyProps & {
10
- theme?: import("@emotion/react").Theme;
11
- }, {}, {}>;
@@ -1,44 +0,0 @@
1
- import _styled from "@emotion/styled/base";
2
- 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)."; }
3
- import { Typography } from "@webiny/ui/Typography/index.js";
4
- export const RowType = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
5
- target: "ecync8o2"
6
- } : {
7
- target: "ecync8o2",
8
- label: "RowType"
9
- })(process.env.NODE_ENV === "production" ? {
10
- name: "s5xdrg",
11
- styles: "display:flex;align-items:center"
12
- } : {
13
- name: "s5xdrg",
14
- styles: "display:flex;align-items:center/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUeXBlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR29DIiwiZmlsZSI6IkNlbGxUeXBlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFR5cG9ncmFwaHkgfSBmcm9tIFwiQHdlYmlueS91aS9UeXBvZ3JhcGh5L2luZGV4LmpzXCI7XG5cbmV4cG9ydCBjb25zdCBSb3dUeXBlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
15
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
16
- });
17
- export const RowIcon = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
18
- target: "ecync8o1"
19
- } : {
20
- target: "ecync8o1",
21
- label: "RowIcon"
22
- })(process.env.NODE_ENV === "production" ? {
23
- name: "1hpq26k",
24
- styles: "margin-right:8px;height:24px"
25
- } : {
26
- name: "1hpq26k",
27
- styles: "margin-right:8px;height:24px/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUeXBlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUW9DIiwiZmlsZSI6IkNlbGxUeXBlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFR5cG9ncmFwaHkgfSBmcm9tIFwiQHdlYmlueS91aS9UeXBvZ3JhcGh5L2luZGV4LmpzXCI7XG5cbmV4cG9ydCBjb25zdCBSb3dUeXBlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
28
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
29
- });
30
- export const RowText = /*#__PURE__*/_styled(Typography, process.env.NODE_ENV === "production" ? {
31
- target: "ecync8o0"
32
- } : {
33
- target: "ecync8o0",
34
- label: "RowText"
35
- })(process.env.NODE_ENV === "production" ? {
36
- name: "l8l8b8",
37
- styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
38
- } : {
39
- name: "l8l8b8",
40
- styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUeXBlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYXlDIiwiZmlsZSI6IkNlbGxUeXBlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFR5cG9ncmFwaHkgfSBmcm9tIFwiQHdlYmlueS91aS9UeXBvZ3JhcGh5L2luZGV4LmpzXCI7XG5cbmV4cG9ydCBjb25zdCBSb3dUeXBlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
41
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
42
- });
43
-
44
- //# sourceMappingURL=CellType.styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Typography","RowType","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","RowIcon","RowText"],"sources":["CellType.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Typography } from \"@webiny/ui/Typography/index.js\";\n\nexport const RowType = styled(\"div\")`\n display: flex;\n align-items: center;\n`;\n\nexport const RowIcon = styled(\"div\")`\n margin-right: 8px;\n height: 24px;\n`;\n\nexport const RowText = styled(Typography)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"mappings":";;AACA,SAASA,UAAU,QAAQ,gCAAgC;AAE3D,OAAO,MAAMC,OAAO,gBAAGC,OAAA,CAAO,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,QAAA,EAAAC;AAAA,EAGnC;AAED,OAAO,MAAMC,OAAO,gBAAGV,OAAA,CAAO,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,QAAA,EAAAC;AAAA,EAGnC;AAED,OAAO,MAAME,OAAO,gBAAGX,OAAA,CAAOF,UAAU,EAAAG,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,QAAA,EAAAC;AAAA,EAIxC","ignoreList":[]}
@@ -1 +0,0 @@
1
- export * from "./CellType.js";
@@ -1,3 +0,0 @@
1
- export * from "./CellType.js";
2
-
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellType.js\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- export * from "./CellActions/index.js";
2
- export * from "./CellScheduledBy/index.js";
3
- export * from "./CellScheduledOn/index.js";
4
- export * from "./CellType/index.js";
5
- export * from "./CellTitle/index.js";
6
- export * from "./CellRevision/index.js";
@@ -1,8 +0,0 @@
1
- export * from "./CellActions/index.js";
2
- export * from "./CellScheduledBy/index.js";
3
- export * from "./CellScheduledOn/index.js";
4
- export * from "./CellType/index.js";
5
- export * from "./CellTitle/index.js";
6
- export * from "./CellRevision/index.js";
7
-
8
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellActions/index.js\";\nexport * from \"./CellScheduledBy/index.js\";\nexport * from \"./CellScheduledOn/index.js\";\nexport * from \"./CellType/index.js\";\nexport * from \"./CellTitle/index.js\";\nexport * from \"./CellRevision/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const Empty: () => React.JSX.Element;
@@ -1,22 +0,0 @@
1
- import React from "react";
2
- import { ReactComponent as SearchIcon } from "@material-design-icons/svg/outlined/search.svg";
3
- import { ReactComponent as ListIcon } from "@material-design-icons/svg/outlined/view_list.svg";
4
- import { EmptyView } from "@webiny/app-admin";
5
- import { EmptyOuter, EmptyWrapper } from "./Empty.styled.js";
6
- import { useScheduler } from "../../hooks/index.js";
7
- export const Empty = () => {
8
- const {
9
- vm
10
- } = useScheduler();
11
- return /*#__PURE__*/React.createElement(EmptyWrapper, null, /*#__PURE__*/React.createElement(EmptyOuter, null, vm.isSearchView ? /*#__PURE__*/React.createElement(EmptyView, {
12
- icon: /*#__PURE__*/React.createElement(SearchIcon, null),
13
- title: "No items found.",
14
- action: null
15
- }) : /*#__PURE__*/React.createElement(EmptyView, {
16
- icon: /*#__PURE__*/React.createElement(ListIcon, null),
17
- title: `No scheduled items.`,
18
- action: null
19
- })));
20
- };
21
-
22
- //# sourceMappingURL=Empty.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","ReactComponent","SearchIcon","ListIcon","EmptyView","EmptyOuter","EmptyWrapper","useScheduler","Empty","vm","createElement","isSearchView","icon","title","action"],"sources":["Empty.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as SearchIcon } from \"@material-design-icons/svg/outlined/search.svg\";\nimport { ReactComponent as ListIcon } from \"@material-design-icons/svg/outlined/view_list.svg\";\nimport { EmptyView } from \"@webiny/app-admin\";\nimport { EmptyOuter, EmptyWrapper } from \"./Empty.styled.js\";\nimport { useScheduler } from \"~/Presentation/hooks/index.js\";\n\nexport const Empty = () => {\n const { vm } = useScheduler();\n\n return (\n <EmptyWrapper>\n <EmptyOuter>\n {vm.isSearchView ? (\n <EmptyView icon={<SearchIcon />} title={\"No items found.\"} action={null} />\n ) : (\n <EmptyView icon={<ListIcon />} title={`No scheduled items.`} action={null} />\n )}\n </EmptyOuter>\n </EmptyWrapper>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,UAAU,QAAQ,gDAAgD;AAC7F,SAASD,cAAc,IAAIE,QAAQ,QAAQ,mDAAmD;AAC9F,SAASC,SAAS,QAAQ,mBAAmB;AAC7C,SAASC,UAAU,EAAEC,YAAY;AACjC,SAASC,YAAY;AAErB,OAAO,MAAMC,KAAK,GAAGA,CAAA,KAAM;EACvB,MAAM;IAAEC;EAAG,CAAC,GAAGF,YAAY,CAAC,CAAC;EAE7B,oBACIP,KAAA,CAAAU,aAAA,CAACJ,YAAY,qBACTN,KAAA,CAAAU,aAAA,CAACL,UAAU,QACNI,EAAE,CAACE,YAAY,gBACZX,KAAA,CAAAU,aAAA,CAACN,SAAS;IAACQ,IAAI,eAAEZ,KAAA,CAAAU,aAAA,CAACR,UAAU,MAAE,CAAE;IAACW,KAAK,EAAE,iBAAkB;IAACC,MAAM,EAAE;EAAK,CAAE,CAAC,gBAE3Ed,KAAA,CAAAU,aAAA,CAACN,SAAS;IAACQ,IAAI,eAAEZ,KAAA,CAAAU,aAAA,CAACP,QAAQ,MAAE,CAAE;IAACU,KAAK,EAAE,qBAAsB;IAACC,MAAM,EAAE;EAAK,CAAE,CAExE,CACF,CAAC;AAEvB,CAAC","ignoreList":[]}
@@ -1,8 +0,0 @@
1
- export declare const EmptyWrapper: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const EmptyOuter: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme;
7
- as?: React.ElementType;
8
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,30 +0,0 @@
1
- import _styled from "@emotion/styled/base";
2
- 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)."; }
3
- export const EmptyWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
4
- target: "e52z2e81"
5
- } : {
6
- target: "e52z2e81",
7
- label: "EmptyWrapper"
8
- })(process.env.NODE_ENV === "production" ? {
9
- name: "1cmf72p",
10
- styles: "width:100%;height:calc(100% - 95px);display:flex;justify-content:center;align-items:center"
11
- } : {
12
- name: "1cmf72p",
13
- styles: "width:100%;height:calc(100% - 95px);display:flex;justify-content:center;align-items:center/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkVtcHR5LnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRXlDIiwiZmlsZSI6IkVtcHR5LnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcblxuZXhwb3J0IGNvbnN0IEVtcHR5V3JhcHBlciA9IHN0eWxlZChcImRpdlwiKWBcbiAgICB3aWR0aDogMTAwJTtcbiAgICBoZWlnaHQ6IGNhbGMoMTAwJSAtIDk1cHgpO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBFbXB0eU91dGVyID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuYDtcbiJdfQ== */",
14
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
15
- });
16
- export const EmptyOuter = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
17
- target: "e52z2e80"
18
- } : {
19
- target: "e52z2e80",
20
- label: "EmptyOuter"
21
- })(process.env.NODE_ENV === "production" ? {
22
- name: "zigog8",
23
- styles: "display:flex;flex-direction:column;align-items:center"
24
- } : {
25
- name: "zigog8",
26
- styles: "display:flex;flex-direction:column;align-items:center/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkVtcHR5LnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVXVDIiwiZmlsZSI6IkVtcHR5LnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcblxuZXhwb3J0IGNvbnN0IEVtcHR5V3JhcHBlciA9IHN0eWxlZChcImRpdlwiKWBcbiAgICB3aWR0aDogMTAwJTtcbiAgICBoZWlnaHQ6IGNhbGMoMTAwJSAtIDk1cHgpO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBFbXB0eU91dGVyID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuYDtcbiJdfQ== */",
27
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
28
- });
29
-
30
- //# sourceMappingURL=Empty.styled.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["EmptyWrapper","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","EmptyOuter"],"sources":["Empty.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\n\nexport const EmptyWrapper = styled(\"div\")`\n width: 100%;\n height: calc(100% - 95px);\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const EmptyOuter = styled(\"div\")`\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n"],"mappings":";;AAEA,OAAO,MAAMA,YAAY,gBAAGC,OAAA,CAAO,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,QAAA,EAAAC;AAAA,EAMxC;AAED,OAAO,MAAMC,UAAU,gBAAGV,OAAA,CAAO,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,QAAA,EAAAC;AAAA,EAItC","ignoreList":[]}
@@ -1 +0,0 @@
1
- export * from "./Empty.js";
@@ -1,3 +0,0 @@
1
- export * from "./Empty.js";
2
-
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Empty.js\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -1,15 +0,0 @@
1
- import type { ISchedulerCancelGateway, ISchedulerPublishGateway, ISchedulerUnpublishGateway } from "../../../Gateways/index.js";
2
- import type { IScheduleDialogAction, IScheduleDialogCancelActionExecuteParams, IScheduleDialogScheduleActionExecuteParams } from "./types.js";
3
- export interface IScheduleDialogActionParams {
4
- cancelGateway: ISchedulerCancelGateway;
5
- publishGateway: ISchedulerPublishGateway;
6
- unpublishGateway: ISchedulerUnpublishGateway;
7
- }
8
- export declare class ScheduleDialogAction implements IScheduleDialogAction {
9
- readonly cancelGateway: ISchedulerCancelGateway;
10
- readonly publishGateway: ISchedulerPublishGateway;
11
- readonly unpublishGateway: ISchedulerUnpublishGateway;
12
- constructor(params: IScheduleDialogActionParams);
13
- schedule(params: IScheduleDialogScheduleActionExecuteParams): Promise<void>;
14
- cancel(params: IScheduleDialogCancelActionExecuteParams): Promise<void>;
15
- }
@@ -1,51 +0,0 @@
1
- import { ScheduleType } from "../../../types.js";
2
- export class ScheduleDialogAction {
3
- constructor(params) {
4
- const {
5
- publishGateway,
6
- unpublishGateway,
7
- cancelGateway
8
- } = params;
9
- this.cancelGateway = cancelGateway;
10
- this.publishGateway = publishGateway;
11
- this.unpublishGateway = unpublishGateway;
12
- }
13
- async schedule(params) {
14
- const {
15
- id,
16
- modelId,
17
- type,
18
- scheduleOn
19
- } = params;
20
- switch (type) {
21
- case ScheduleType.publish:
22
- await this.publishGateway.execute({
23
- modelId,
24
- id,
25
- scheduleOn
26
- });
27
- return;
28
- case ScheduleType.unpublish:
29
- await this.unpublishGateway.execute({
30
- modelId,
31
- id,
32
- scheduleOn
33
- });
34
- return;
35
- default:
36
- throw new Error(`Unsupported schedule type "${type}" for entry "${id}" and model "${modelId}".`);
37
- }
38
- }
39
- async cancel(params) {
40
- const {
41
- id,
42
- modelId
43
- } = params;
44
- await this.cancelGateway.execute({
45
- modelId,
46
- id
47
- });
48
- }
49
- }
50
-
51
- //# sourceMappingURL=ScheduleDialogAction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["ScheduleType","ScheduleDialogAction","constructor","params","publishGateway","unpublishGateway","cancelGateway","schedule","id","modelId","type","scheduleOn","publish","execute","unpublish","Error","cancel"],"sources":["ScheduleDialogAction.ts"],"sourcesContent":["import { ScheduleType } from \"~/types.js\";\nimport type {\n ISchedulerCancelGateway,\n ISchedulerPublishGateway,\n ISchedulerUnpublishGateway\n} from \"~/Gateways/index.js\";\nimport type {\n IScheduleDialogAction,\n IScheduleDialogCancelActionExecuteParams,\n IScheduleDialogScheduleActionExecuteParams\n} from \"./types.js\";\n\nexport interface IScheduleDialogActionParams {\n cancelGateway: ISchedulerCancelGateway;\n publishGateway: ISchedulerPublishGateway;\n unpublishGateway: ISchedulerUnpublishGateway;\n}\n\nexport class ScheduleDialogAction implements IScheduleDialogAction {\n public readonly cancelGateway: ISchedulerCancelGateway;\n public readonly publishGateway: ISchedulerPublishGateway;\n public readonly unpublishGateway: ISchedulerUnpublishGateway;\n\n public constructor(params: IScheduleDialogActionParams) {\n const { publishGateway, unpublishGateway, cancelGateway } = params;\n\n this.cancelGateway = cancelGateway;\n this.publishGateway = publishGateway;\n this.unpublishGateway = unpublishGateway;\n }\n\n public async schedule(params: IScheduleDialogScheduleActionExecuteParams): Promise<void> {\n const { id, modelId, type, scheduleOn } = params;\n\n switch (type) {\n case ScheduleType.publish:\n await this.publishGateway.execute({\n modelId,\n id,\n scheduleOn\n });\n return;\n case ScheduleType.unpublish:\n await this.unpublishGateway.execute({\n modelId,\n id,\n scheduleOn\n });\n return;\n default:\n throw new Error(\n `Unsupported schedule type \"${type}\" for entry \"${id}\" and model \"${modelId}\".`\n );\n }\n }\n\n public async cancel(params: IScheduleDialogCancelActionExecuteParams): Promise<void> {\n const { id, modelId } = params;\n await this.cancelGateway.execute({\n modelId,\n id\n });\n }\n}\n"],"mappings":"AAAA,SAASA,YAAY;AAkBrB,OAAO,MAAMC,oBAAoB,CAAkC;EAKxDC,WAAWA,CAACC,MAAmC,EAAE;IACpD,MAAM;MAAEC,cAAc;MAAEC,gBAAgB;MAAEC;IAAc,CAAC,GAAGH,MAAM;IAElE,IAAI,CAACG,aAAa,GAAGA,aAAa;IAClC,IAAI,CAACF,cAAc,GAAGA,cAAc;IACpC,IAAI,CAACC,gBAAgB,GAAGA,gBAAgB;EAC5C;EAEA,MAAaE,QAAQA,CAACJ,MAAkD,EAAiB;IACrF,MAAM;MAAEK,EAAE;MAAEC,OAAO;MAAEC,IAAI;MAAEC;IAAW,CAAC,GAAGR,MAAM;IAEhD,QAAQO,IAAI;MACR,KAAKV,YAAY,CAACY,OAAO;QACrB,MAAM,IAAI,CAACR,cAAc,CAACS,OAAO,CAAC;UAC9BJ,OAAO;UACPD,EAAE;UACFG;QACJ,CAAC,CAAC;QACF;MACJ,KAAKX,YAAY,CAACc,SAAS;QACvB,MAAM,IAAI,CAACT,gBAAgB,CAACQ,OAAO,CAAC;UAChCJ,OAAO;UACPD,EAAE;UACFG;QACJ,CAAC,CAAC;QACF;MACJ;QACI,MAAM,IAAII,KAAK,CACX,8BAA8BL,IAAI,gBAAgBF,EAAE,gBAAgBC,OAAO,IAC/E,CAAC;IACT;EACJ;EAEA,MAAaO,MAAMA,CAACb,MAAgD,EAAiB;IACjF,MAAM;MAAEK,EAAE;MAAEC;IAAQ,CAAC,GAAGN,MAAM;IAC9B,MAAM,IAAI,CAACG,aAAa,CAACO,OAAO,CAAC;MAC7BJ,OAAO;MACPD;IACJ,CAAC,CAAC;EACN;AACJ","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- export * from "./ScheduleDialogAction.js";
2
- export * from "./useScheduleDialog.js";
@@ -1,4 +0,0 @@
1
- export * from "./ScheduleDialogAction.js";
2
- export * from "./useScheduleDialog.js";
3
-
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./ScheduleDialogAction.js\";\nexport * from \"./useScheduleDialog.js\";\n"],"mappings":"AAAA;AACA","ignoreList":[]}
@@ -1,15 +0,0 @@
1
- import type { ScheduleType } from "../../../types.js";
2
- export interface IScheduleDialogScheduleActionExecuteParams {
3
- id: string;
4
- modelId: string;
5
- scheduleOn: Date;
6
- type: ScheduleType;
7
- }
8
- export interface IScheduleDialogCancelActionExecuteParams {
9
- id: string;
10
- modelId: string;
11
- }
12
- export interface IScheduleDialogAction {
13
- schedule(params: IScheduleDialogScheduleActionExecuteParams): Promise<void>;
14
- cancel(params: IScheduleDialogCancelActionExecuteParams): Promise<void>;
15
- }
@@ -1,3 +0,0 @@
1
- export {};
2
-
3
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import type { ScheduleType } from \"~/types.js\";\n\nexport interface IScheduleDialogScheduleActionExecuteParams {\n id: string;\n modelId: string;\n scheduleOn: Date;\n type: ScheduleType;\n}\n\nexport interface IScheduleDialogCancelActionExecuteParams {\n id: string;\n modelId: string;\n}\n\nexport interface IScheduleDialogAction {\n schedule(params: IScheduleDialogScheduleActionExecuteParams): Promise<void>;\n cancel(params: IScheduleDialogCancelActionExecuteParams): Promise<void>;\n}\n"],"mappings":"","ignoreList":[]}
@@ -1,43 +0,0 @@
1
- import React from "react";
2
- import { type BindComponentRenderProp } from "@webiny/form";
3
- import type { SchedulerEntry } from "../../../types.js";
4
- import type { CmsContentEntry } from "@webiny/app-headless-cms-common/types/index.js";
5
- import type { IScheduleDialogAction } from "./types.js";
6
- export interface ShowDialogParamsEntry {
7
- id: string;
8
- status: CmsContentEntry["meta"]["status"];
9
- title: string;
10
- modelId: string;
11
- }
12
- export interface ShowDialogParams {
13
- entry: ShowDialogParamsEntry;
14
- schedulerEntry: SchedulerEntry | null;
15
- action: IScheduleDialogAction;
16
- }
17
- interface UseShowScheduleDialogResponse {
18
- showDialog: (params: ShowDialogParams) => void;
19
- }
20
- export interface ISchedulerDialogFormComponentDateTimeInputProps {
21
- bind: BindComponentRenderProp<Date>;
22
- }
23
- export declare const SchedulerDialogFormComponentDateTimeInput: ((props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element) & {
24
- original: (props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element;
25
- originalName: string;
26
- displayName: string;
27
- } & {
28
- original: ((props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element) & {
29
- original: (props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element;
30
- originalName: string;
31
- displayName: string;
32
- };
33
- originalName: string;
34
- displayName: string;
35
- } & {
36
- createDecorator: (decorator: import("@webiny/app-admin").ComponentDecorator<((props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element) & {
37
- original: (props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element;
38
- originalName: string;
39
- displayName: string;
40
- }>) => (props: unknown) => React.JSX.Element;
41
- };
42
- export declare const useScheduleDialog: () => UseShowScheduleDialogResponse;
43
- export {};