@webiny/app-headless-cms-scheduler 0.0.0-unstable.e53eceafb5

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 (480) hide show
  1. package/Domain/Models/SchedulerItem/SchedulerItem.d.ts +14 -0
  2. package/Domain/Models/SchedulerItem/SchedulerItem.js +17 -0
  3. package/Domain/Models/SchedulerItem/SchedulerItem.js.map +1 -0
  4. package/Domain/Models/SchedulerItem/index.d.ts +1 -0
  5. package/Domain/Models/SchedulerItem/index.js +3 -0
  6. package/Domain/Models/SchedulerItem/index.js.map +1 -0
  7. package/Domain/Models/index.d.ts +1 -0
  8. package/Domain/Models/index.js +3 -0
  9. package/Domain/Models/index.js.map +1 -0
  10. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.d.ts +14 -0
  11. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js +3 -0
  12. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js.map +1 -0
  13. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.d.ts +37 -0
  14. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js +125 -0
  15. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js.map +1 -0
  16. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.d.ts +20 -0
  17. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js +17 -0
  18. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js.map +1 -0
  19. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.d.ts +17 -0
  20. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js +38 -0
  21. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js.map +1 -0
  22. package/Domain/Repositories/SchedulerItems/index.d.ts +4 -0
  23. package/Domain/Repositories/SchedulerItems/index.js +6 -0
  24. package/Domain/Repositories/SchedulerItems/index.js.map +1 -0
  25. package/Domain/Repositories/Search/ISearchRepository.d.ts +4 -0
  26. package/Domain/Repositories/Search/ISearchRepository.js +3 -0
  27. package/Domain/Repositories/Search/ISearchRepository.js.map +1 -0
  28. package/Domain/Repositories/Search/SearchRepository.d.ts +7 -0
  29. package/Domain/Repositories/Search/SearchRepository.js +15 -0
  30. package/Domain/Repositories/Search/SearchRepository.js.map +1 -0
  31. package/Domain/Repositories/Search/SearchRepositoryFactory.d.ts +7 -0
  32. package/Domain/Repositories/Search/SearchRepositoryFactory.js +17 -0
  33. package/Domain/Repositories/Search/SearchRepositoryFactory.js.map +1 -0
  34. package/Domain/Repositories/Search/index.d.ts +3 -0
  35. package/Domain/Repositories/Search/index.js +5 -0
  36. package/Domain/Repositories/Search/index.js.map +1 -0
  37. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.d.ts +8 -0
  38. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js +3 -0
  39. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js.map +1 -0
  40. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.d.ts +12 -0
  41. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js +27 -0
  42. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js.map +1 -0
  43. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.d.ts +7 -0
  44. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js +17 -0
  45. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js.map +1 -0
  46. package/Domain/Repositories/SelectedItems/index.d.ts +3 -0
  47. package/Domain/Repositories/SelectedItems/index.js +5 -0
  48. package/Domain/Repositories/SelectedItems/index.js.map +1 -0
  49. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.d.ts +8 -0
  50. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js +22 -0
  51. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js.map +1 -0
  52. package/Domain/Repositories/Sorting/index.d.ts +1 -0
  53. package/Domain/Repositories/Sorting/index.js +3 -0
  54. package/Domain/Repositories/Sorting/index.js.map +1 -0
  55. package/Domain/Repositories/index.d.ts +4 -0
  56. package/Domain/Repositories/index.js +6 -0
  57. package/Domain/Repositories/index.js.map +1 -0
  58. package/Domain/index.d.ts +2 -0
  59. package/Domain/index.js +4 -0
  60. package/Domain/index.js.map +1 -0
  61. package/Gateways/SchedulerCancelGateway.d.ts +7 -0
  62. package/Gateways/SchedulerCancelGateway.js +3 -0
  63. package/Gateways/SchedulerCancelGateway.js.map +1 -0
  64. package/Gateways/SchedulerGetGateway.d.ts +11 -0
  65. package/Gateways/SchedulerGetGateway.js +3 -0
  66. package/Gateways/SchedulerGetGateway.js.map +1 -0
  67. package/Gateways/SchedulerListGateway.d.ts +29 -0
  68. package/Gateways/SchedulerListGateway.js +3 -0
  69. package/Gateways/SchedulerListGateway.js.map +1 -0
  70. package/Gateways/SchedulerPublishGateway.d.ts +12 -0
  71. package/Gateways/SchedulerPublishGateway.js +3 -0
  72. package/Gateways/SchedulerPublishGateway.js.map +1 -0
  73. package/Gateways/SchedulerUnpublishGateway.d.ts +12 -0
  74. package/Gateways/SchedulerUnpublishGateway.js +3 -0
  75. package/Gateways/SchedulerUnpublishGateway.js.map +1 -0
  76. package/Gateways/index.d.ts +5 -0
  77. package/Gateways/index.js +7 -0
  78. package/Gateways/index.js.map +1 -0
  79. package/LICENSE +21 -0
  80. package/Presentation/Scheduler/Scheduler.d.ts +18 -0
  81. package/Presentation/Scheduler/Scheduler.js +66 -0
  82. package/Presentation/Scheduler/Scheduler.js.map +1 -0
  83. package/Presentation/Scheduler/SchedulerControllers.d.ts +30 -0
  84. package/Presentation/Scheduler/SchedulerControllers.js +72 -0
  85. package/Presentation/Scheduler/SchedulerControllers.js.map +1 -0
  86. package/Presentation/Scheduler/SchedulerPresenter.d.ts +32 -0
  87. package/Presentation/Scheduler/SchedulerPresenter.js +44 -0
  88. package/Presentation/Scheduler/SchedulerPresenter.js.map +1 -0
  89. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.d.ts +7 -0
  90. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js +11 -0
  91. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js.map +1 -0
  92. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.d.ts +3 -0
  93. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js +3 -0
  94. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js.map +1 -0
  95. package/Presentation/Scheduler/controllers/CancelItem/index.d.ts +2 -0
  96. package/Presentation/Scheduler/controllers/CancelItem/index.js +4 -0
  97. package/Presentation/Scheduler/controllers/CancelItem/index.js.map +1 -0
  98. package/Presentation/Scheduler/controllers/GetItem/GetItemController.d.ts +8 -0
  99. package/Presentation/Scheduler/controllers/GetItem/GetItemController.js +11 -0
  100. package/Presentation/Scheduler/controllers/GetItem/GetItemController.js.map +1 -0
  101. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.d.ts +4 -0
  102. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js +3 -0
  103. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js.map +1 -0
  104. package/Presentation/Scheduler/controllers/GetItem/index.d.ts +2 -0
  105. package/Presentation/Scheduler/controllers/GetItem/index.js +4 -0
  106. package/Presentation/Scheduler/controllers/GetItem/index.js.map +1 -0
  107. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.d.ts +4 -0
  108. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js +3 -0
  109. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js.map +1 -0
  110. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.d.ts +8 -0
  111. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js +11 -0
  112. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js.map +1 -0
  113. package/Presentation/Scheduler/controllers/ListItems/index.d.ts +2 -0
  114. package/Presentation/Scheduler/controllers/ListItems/index.js +4 -0
  115. package/Presentation/Scheduler/controllers/ListItems/index.js.map +1 -0
  116. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.d.ts +3 -0
  117. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js +3 -0
  118. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js.map +1 -0
  119. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.d.ts +7 -0
  120. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js +11 -0
  121. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js.map +1 -0
  122. package/Presentation/Scheduler/controllers/ListMoreItems/index.d.ts +2 -0
  123. package/Presentation/Scheduler/controllers/ListMoreItems/index.js +4 -0
  124. package/Presentation/Scheduler/controllers/ListMoreItems/index.js.map +1 -0
  125. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.d.ts +3 -0
  126. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js +3 -0
  127. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js.map +1 -0
  128. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.d.ts +7 -0
  129. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js +11 -0
  130. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js.map +1 -0
  131. package/Presentation/Scheduler/controllers/PublishItem/index.d.ts +2 -0
  132. package/Presentation/Scheduler/controllers/PublishItem/index.js +4 -0
  133. package/Presentation/Scheduler/controllers/PublishItem/index.js.map +1 -0
  134. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.d.ts +3 -0
  135. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js +3 -0
  136. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js.map +1 -0
  137. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.d.ts +8 -0
  138. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js +14 -0
  139. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js.map +1 -0
  140. package/Presentation/Scheduler/controllers/SearchItems/index.d.ts +2 -0
  141. package/Presentation/Scheduler/controllers/SearchItems/index.js +4 -0
  142. package/Presentation/Scheduler/controllers/SearchItems/index.js.map +1 -0
  143. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.d.ts +3 -0
  144. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js +3 -0
  145. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js.map +1 -0
  146. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.d.ts +7 -0
  147. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js +11 -0
  148. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js.map +1 -0
  149. package/Presentation/Scheduler/controllers/SelectAllItems/index.d.ts +2 -0
  150. package/Presentation/Scheduler/controllers/SelectAllItems/index.js +4 -0
  151. package/Presentation/Scheduler/controllers/SelectAllItems/index.js.map +1 -0
  152. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.d.ts +4 -0
  153. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js +3 -0
  154. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js.map +1 -0
  155. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.d.ts +8 -0
  156. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js +13 -0
  157. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js.map +1 -0
  158. package/Presentation/Scheduler/controllers/SelectItems/index.d.ts +2 -0
  159. package/Presentation/Scheduler/controllers/SelectItems/index.js +4 -0
  160. package/Presentation/Scheduler/controllers/SelectItems/index.js.map +1 -0
  161. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.d.ts +4 -0
  162. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js +3 -0
  163. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js.map +1 -0
  164. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.d.ts +9 -0
  165. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js +19 -0
  166. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js.map +1 -0
  167. package/Presentation/Scheduler/controllers/SortItems/index.d.ts +2 -0
  168. package/Presentation/Scheduler/controllers/SortItems/index.js +4 -0
  169. package/Presentation/Scheduler/controllers/SortItems/index.js.map +1 -0
  170. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.d.ts +3 -0
  171. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js +3 -0
  172. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js.map +1 -0
  173. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.d.ts +7 -0
  174. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js +11 -0
  175. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js.map +1 -0
  176. package/Presentation/Scheduler/controllers/UnpublishItem/index.d.ts +2 -0
  177. package/Presentation/Scheduler/controllers/UnpublishItem/index.js +4 -0
  178. package/Presentation/Scheduler/controllers/UnpublishItem/index.js.map +1 -0
  179. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.d.ts +3 -0
  180. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js +3 -0
  181. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js.map +1 -0
  182. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.d.ts +7 -0
  183. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js +11 -0
  184. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js.map +1 -0
  185. package/Presentation/Scheduler/controllers/UnselectAllItems/index.d.ts +2 -0
  186. package/Presentation/Scheduler/controllers/UnselectAllItems/index.js +4 -0
  187. package/Presentation/Scheduler/controllers/UnselectAllItems/index.js.map +1 -0
  188. package/Presentation/Scheduler/controllers/index.d.ts +11 -0
  189. package/Presentation/Scheduler/controllers/index.js +13 -0
  190. package/Presentation/Scheduler/controllers/index.js.map +1 -0
  191. package/Presentation/Scheduler/index.d.ts +1 -0
  192. package/Presentation/Scheduler/index.js +3 -0
  193. package/Presentation/Scheduler/index.js.map +1 -0
  194. package/Presentation/SchedulerConfigs/SchedulerConfigs.d.ts +2 -0
  195. package/Presentation/SchedulerConfigs/SchedulerConfigs.js +50 -0
  196. package/Presentation/SchedulerConfigs/SchedulerConfigs.js.map +1 -0
  197. package/Presentation/SchedulerConfigs/index.d.ts +1 -0
  198. package/Presentation/SchedulerConfigs/index.js +3 -0
  199. package/Presentation/SchedulerConfigs/index.js.map +1 -0
  200. package/Presentation/SchedulerRenderer/SchedulerRenderer.d.ts +6 -0
  201. package/Presentation/SchedulerRenderer/SchedulerRenderer.js +21 -0
  202. package/Presentation/SchedulerRenderer/SchedulerRenderer.js.map +1 -0
  203. package/Presentation/SchedulerRenderer/index.d.ts +1 -0
  204. package/Presentation/SchedulerRenderer/index.js +3 -0
  205. package/Presentation/SchedulerRenderer/index.js.map +1 -0
  206. package/Presentation/abstractions/ISchedulerControllers.d.ts +14 -0
  207. package/Presentation/abstractions/ISchedulerControllers.js +3 -0
  208. package/Presentation/abstractions/ISchedulerControllers.js.map +1 -0
  209. package/Presentation/abstractions/ISchedulerPresenter.d.ts +19 -0
  210. package/Presentation/abstractions/ISchedulerPresenter.js +3 -0
  211. package/Presentation/abstractions/ISchedulerPresenter.js.map +1 -0
  212. package/Presentation/abstractions/index.d.ts +2 -0
  213. package/Presentation/abstractions/index.js +4 -0
  214. package/Presentation/abstractions/index.js.map +1 -0
  215. package/Presentation/components/Actions/CancelItem/CancelItem.d.ts +2 -0
  216. package/Presentation/components/Actions/CancelItem/CancelItem.js +24 -0
  217. package/Presentation/components/Actions/CancelItem/CancelItem.js.map +1 -0
  218. package/Presentation/components/Actions/CancelItem/index.d.ts +1 -0
  219. package/Presentation/components/Actions/CancelItem/index.js +3 -0
  220. package/Presentation/components/Actions/CancelItem/index.js.map +1 -0
  221. package/Presentation/components/Actions/index.d.ts +1 -0
  222. package/Presentation/components/Actions/index.js +3 -0
  223. package/Presentation/components/Actions/index.js.map +1 -0
  224. package/Presentation/components/BottomInfoBar/BottomInfoBar.d.ts +2 -0
  225. package/Presentation/components/BottomInfoBar/BottomInfoBar.js +20 -0
  226. package/Presentation/components/BottomInfoBar/BottomInfoBar.js.map +1 -0
  227. package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.d.ts +21 -0
  228. package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js +74 -0
  229. package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js.map +1 -0
  230. package/Presentation/components/BottomInfoBar/ListMeta.d.ts +7 -0
  231. package/Presentation/components/BottomInfoBar/ListMeta.js +12 -0
  232. package/Presentation/components/BottomInfoBar/ListMeta.js.map +1 -0
  233. package/Presentation/components/BottomInfoBar/ListStatus.d.ts +5 -0
  234. package/Presentation/components/BottomInfoBar/ListStatus.js +16 -0
  235. package/Presentation/components/BottomInfoBar/ListStatus.js.map +1 -0
  236. package/Presentation/components/BottomInfoBar/index.d.ts +1 -0
  237. package/Presentation/components/BottomInfoBar/index.js +3 -0
  238. package/Presentation/components/BottomInfoBar/index.js.map +1 -0
  239. package/Presentation/components/Cells/CellActions/CellActions.d.ts +2 -0
  240. package/Presentation/components/Cells/CellActions/CellActions.js +24 -0
  241. package/Presentation/components/Cells/CellActions/CellActions.js.map +1 -0
  242. package/Presentation/components/Cells/CellActions/index.d.ts +1 -0
  243. package/Presentation/components/Cells/CellActions/index.js +3 -0
  244. package/Presentation/components/Cells/CellActions/index.js.map +1 -0
  245. package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.d.ts +2 -0
  246. package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js +13 -0
  247. package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js.map +1 -0
  248. package/Presentation/components/Cells/CellScheduledBy/index.d.ts +1 -0
  249. package/Presentation/components/Cells/CellScheduledBy/index.js +3 -0
  250. package/Presentation/components/Cells/CellScheduledBy/index.js.map +1 -0
  251. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.d.ts +2 -0
  252. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js +20 -0
  253. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js.map +1 -0
  254. package/Presentation/components/Cells/CellScheduledOn/index.d.ts +1 -0
  255. package/Presentation/components/Cells/CellScheduledOn/index.js +3 -0
  256. package/Presentation/components/Cells/CellScheduledOn/index.js.map +1 -0
  257. package/Presentation/components/Cells/CellTitle/CellTitle.d.ts +2 -0
  258. package/Presentation/components/Cells/CellTitle/CellTitle.js +17 -0
  259. package/Presentation/components/Cells/CellTitle/CellTitle.js.map +1 -0
  260. package/Presentation/components/Cells/CellTitle/CellTitle.styled.d.ts +12 -0
  261. package/Presentation/components/Cells/CellTitle/CellTitle.styled.js +47 -0
  262. package/Presentation/components/Cells/CellTitle/CellTitle.styled.js.map +1 -0
  263. package/Presentation/components/Cells/CellTitle/index.d.ts +1 -0
  264. package/Presentation/components/Cells/CellTitle/index.js +3 -0
  265. package/Presentation/components/Cells/CellTitle/index.js.map +1 -0
  266. package/Presentation/components/Cells/CellType/CellType.d.ts +2 -0
  267. package/Presentation/components/Cells/CellType/CellType.js +17 -0
  268. package/Presentation/components/Cells/CellType/CellType.js.map +1 -0
  269. package/Presentation/components/Cells/CellType/CellType.styled.d.ts +12 -0
  270. package/Presentation/components/Cells/CellType/CellType.styled.js +47 -0
  271. package/Presentation/components/Cells/CellType/CellType.styled.js.map +1 -0
  272. package/Presentation/components/Cells/CellType/index.d.ts +1 -0
  273. package/Presentation/components/Cells/CellType/index.js +3 -0
  274. package/Presentation/components/Cells/CellType/index.js.map +1 -0
  275. package/Presentation/components/Cells/index.d.ts +5 -0
  276. package/Presentation/components/Cells/index.js +7 -0
  277. package/Presentation/components/Cells/index.js.map +1 -0
  278. package/Presentation/components/Empty/Empty.d.ts +2 -0
  279. package/Presentation/components/Empty/Empty.js +22 -0
  280. package/Presentation/components/Empty/Empty.js.map +1 -0
  281. package/Presentation/components/Empty/Empty.styled.d.ts +9 -0
  282. package/Presentation/components/Empty/Empty.styled.js +32 -0
  283. package/Presentation/components/Empty/Empty.styled.js.map +1 -0
  284. package/Presentation/components/Empty/index.d.ts +1 -0
  285. package/Presentation/components/Empty/index.js +3 -0
  286. package/Presentation/components/Empty/index.js.map +1 -0
  287. package/Presentation/components/ScheduleDialog/ScheduleDialog.d.ts +13 -0
  288. package/Presentation/components/ScheduleDialog/ScheduleDialog.js +15 -0
  289. package/Presentation/components/ScheduleDialog/ScheduleDialog.js.map +1 -0
  290. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.d.ts +7 -0
  291. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js +36 -0
  292. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js.map +1 -0
  293. package/Presentation/components/SchedulerOverlay/index.d.ts +1 -0
  294. package/Presentation/components/SchedulerOverlay/index.js +3 -0
  295. package/Presentation/components/SchedulerOverlay/index.js.map +1 -0
  296. package/Presentation/components/SearchInput/SearchInput.d.ts +2 -0
  297. package/Presentation/components/SearchInput/SearchInput.js +37 -0
  298. package/Presentation/components/SearchInput/SearchInput.js.map +1 -0
  299. package/Presentation/components/SearchInput/index.d.ts +1 -0
  300. package/Presentation/components/SearchInput/index.js +3 -0
  301. package/Presentation/components/SearchInput/index.js.map +1 -0
  302. package/Presentation/components/Table/Table.d.ts +2 -0
  303. package/Presentation/components/Table/Table.js +23 -0
  304. package/Presentation/components/Table/Table.js.map +1 -0
  305. package/Presentation/components/Table/index.d.ts +1 -0
  306. package/Presentation/components/Table/index.js +3 -0
  307. package/Presentation/components/Table/index.js.map +1 -0
  308. package/Presentation/components/Title/Title.d.ts +5 -0
  309. package/Presentation/components/Title/Title.js +15 -0
  310. package/Presentation/components/Title/Title.js.map +1 -0
  311. package/Presentation/components/Title/Title.styled.d.ts +4 -0
  312. package/Presentation/components/Title/Title.styled.js +19 -0
  313. package/Presentation/components/Title/Title.styled.js.map +1 -0
  314. package/Presentation/components/Title/index.d.ts +1 -0
  315. package/Presentation/components/Title/index.js +3 -0
  316. package/Presentation/components/Title/index.js.map +1 -0
  317. package/Presentation/configs/index.d.ts +1 -0
  318. package/Presentation/configs/index.js +3 -0
  319. package/Presentation/configs/index.js.map +1 -0
  320. package/Presentation/configs/list/Browser/EntryAction.d.ts +7 -0
  321. package/Presentation/configs/list/Browser/EntryAction.js +17 -0
  322. package/Presentation/configs/list/Browser/EntryAction.js.map +1 -0
  323. package/Presentation/configs/list/Browser/Table/Column.d.ts +9 -0
  324. package/Presentation/configs/list/Browser/Table/Column.js +15 -0
  325. package/Presentation/configs/list/Browser/Table/Column.js.map +1 -0
  326. package/Presentation/configs/list/Browser/Table/Sorting.d.ts +5 -0
  327. package/Presentation/configs/list/Browser/Table/Sorting.js +11 -0
  328. package/Presentation/configs/list/Browser/Table/Sorting.js.map +1 -0
  329. package/Presentation/configs/list/Browser/Table/index.d.ts +14 -0
  330. package/Presentation/configs/list/Browser/Table/index.js +8 -0
  331. package/Presentation/configs/list/Browser/Table/index.js.map +1 -0
  332. package/Presentation/configs/list/Browser/index.d.ts +19 -0
  333. package/Presentation/configs/list/Browser/index.js +8 -0
  334. package/Presentation/configs/list/Browser/index.js.map +1 -0
  335. package/Presentation/configs/list/SchedulerListConfig.d.ts +28 -0
  336. package/Presentation/configs/list/SchedulerListConfig.js +29 -0
  337. package/Presentation/configs/list/SchedulerListConfig.js.map +1 -0
  338. package/Presentation/configs/list/index.d.ts +1 -0
  339. package/Presentation/configs/list/index.js +3 -0
  340. package/Presentation/configs/list/index.js.map +1 -0
  341. package/Presentation/hooks/index.d.ts +3 -0
  342. package/Presentation/hooks/index.js +5 -0
  343. package/Presentation/hooks/index.js.map +1 -0
  344. package/Presentation/hooks/useCancelSchedulerItem.d.ts +8 -0
  345. package/Presentation/hooks/useCancelSchedulerItem.js +32 -0
  346. package/Presentation/hooks/useCancelSchedulerItem.js.map +1 -0
  347. package/Presentation/hooks/useScheduler.d.ts +27 -0
  348. package/Presentation/hooks/useScheduler.js +51 -0
  349. package/Presentation/hooks/useScheduler.js.map +1 -0
  350. package/Presentation/hooks/useSchedulerItem.d.ts +12 -0
  351. package/Presentation/hooks/useSchedulerItem.js +9 -0
  352. package/Presentation/hooks/useSchedulerItem.js.map +1 -0
  353. package/Presentation/index.d.ts +23 -0
  354. package/Presentation/index.js +30 -0
  355. package/Presentation/index.js.map +1 -0
  356. package/README.md +22 -0
  357. package/UseCases/CancelItem/CancelItemUseCase.d.ts +7 -0
  358. package/UseCases/CancelItem/CancelItemUseCase.js +12 -0
  359. package/UseCases/CancelItem/CancelItemUseCase.js.map +1 -0
  360. package/UseCases/CancelItem/ICancelItemUseCase.d.ts +3 -0
  361. package/UseCases/CancelItem/ICancelItemUseCase.js +3 -0
  362. package/UseCases/CancelItem/ICancelItemUseCase.js.map +1 -0
  363. package/UseCases/CancelItem/index.d.ts +2 -0
  364. package/UseCases/CancelItem/index.js +4 -0
  365. package/UseCases/CancelItem/index.js.map +1 -0
  366. package/UseCases/GetItem/GetItemUseCase.d.ts +8 -0
  367. package/UseCases/GetItem/GetItemUseCase.js +12 -0
  368. package/UseCases/GetItem/GetItemUseCase.js.map +1 -0
  369. package/UseCases/GetItem/IGetItemUseCase.d.ts +4 -0
  370. package/UseCases/GetItem/IGetItemUseCase.js +3 -0
  371. package/UseCases/GetItem/IGetItemUseCase.js.map +1 -0
  372. package/UseCases/GetItem/index.d.ts +2 -0
  373. package/UseCases/GetItem/index.js +4 -0
  374. package/UseCases/GetItem/index.js.map +1 -0
  375. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.d.ts +7 -0
  376. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js +13 -0
  377. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js.map +1 -0
  378. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.d.ts +4 -0
  379. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js +3 -0
  380. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js.map +1 -0
  381. package/UseCases/GetScheduledItem/index.d.ts +2 -0
  382. package/UseCases/GetScheduledItem/index.js +4 -0
  383. package/UseCases/GetScheduledItem/index.js.map +1 -0
  384. package/UseCases/ListItems/IListItemsUseCase.d.ts +4 -0
  385. package/UseCases/ListItems/IListItemsUseCase.js +3 -0
  386. package/UseCases/ListItems/IListItemsUseCase.js.map +1 -0
  387. package/UseCases/ListItems/ListItemsUseCase.d.ts +8 -0
  388. package/UseCases/ListItems/ListItemsUseCase.js +12 -0
  389. package/UseCases/ListItems/ListItemsUseCase.js.map +1 -0
  390. package/UseCases/ListItems/ListItemsUseCaseWithSearch.d.ts +9 -0
  391. package/UseCases/ListItems/ListItemsUseCaseWithSearch.js +20 -0
  392. package/UseCases/ListItems/ListItemsUseCaseWithSearch.js.map +1 -0
  393. package/UseCases/ListItems/ListItemsUseCaseWithSorting.d.ts +9 -0
  394. package/UseCases/ListItems/ListItemsUseCaseWithSorting.js +18 -0
  395. package/UseCases/ListItems/ListItemsUseCaseWithSorting.js.map +1 -0
  396. package/UseCases/ListItems/index.d.ts +4 -0
  397. package/UseCases/ListItems/index.js +6 -0
  398. package/UseCases/ListItems/index.js.map +1 -0
  399. package/UseCases/ListMoreItems/IListMoreItemsUseCase.d.ts +3 -0
  400. package/UseCases/ListMoreItems/IListMoreItemsUseCase.js +3 -0
  401. package/UseCases/ListMoreItems/IListMoreItemsUseCase.js.map +1 -0
  402. package/UseCases/ListMoreItems/ListMoreItemsUseCase.d.ts +7 -0
  403. package/UseCases/ListMoreItems/ListMoreItemsUseCase.js +12 -0
  404. package/UseCases/ListMoreItems/ListMoreItemsUseCase.js.map +1 -0
  405. package/UseCases/ListMoreItems/index.d.ts +2 -0
  406. package/UseCases/ListMoreItems/index.js +4 -0
  407. package/UseCases/ListMoreItems/index.js.map +1 -0
  408. package/UseCases/PublishItem/IPublishItemUseCase.d.ts +3 -0
  409. package/UseCases/PublishItem/IPublishItemUseCase.js +3 -0
  410. package/UseCases/PublishItem/IPublishItemUseCase.js.map +1 -0
  411. package/UseCases/PublishItem/PublishItemUseCase.d.ts +7 -0
  412. package/UseCases/PublishItem/PublishItemUseCase.js +12 -0
  413. package/UseCases/PublishItem/PublishItemUseCase.js.map +1 -0
  414. package/UseCases/PublishItem/index.d.ts +2 -0
  415. package/UseCases/PublishItem/index.js +4 -0
  416. package/UseCases/PublishItem/index.js.map +1 -0
  417. package/UseCases/SearchItems/ISearchItemsUseCase.d.ts +3 -0
  418. package/UseCases/SearchItems/ISearchItemsUseCase.js +3 -0
  419. package/UseCases/SearchItems/ISearchItemsUseCase.js.map +1 -0
  420. package/UseCases/SearchItems/SearchItemsUseCase.d.ts +7 -0
  421. package/UseCases/SearchItems/SearchItemsUseCase.js +12 -0
  422. package/UseCases/SearchItems/SearchItemsUseCase.js.map +1 -0
  423. package/UseCases/SearchItems/index.d.ts +2 -0
  424. package/UseCases/SearchItems/index.js +4 -0
  425. package/UseCases/SearchItems/index.js.map +1 -0
  426. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.d.ts +3 -0
  427. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js +3 -0
  428. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js.map +1 -0
  429. package/UseCases/SelectAllItems/SelectAllItemsUseCase.d.ts +7 -0
  430. package/UseCases/SelectAllItems/SelectAllItemsUseCase.js +12 -0
  431. package/UseCases/SelectAllItems/SelectAllItemsUseCase.js.map +1 -0
  432. package/UseCases/SelectAllItems/index.d.ts +2 -0
  433. package/UseCases/SelectAllItems/index.js +4 -0
  434. package/UseCases/SelectAllItems/index.js.map +1 -0
  435. package/UseCases/SelectItems/ISelectItemsUseCase.d.ts +4 -0
  436. package/UseCases/SelectItems/ISelectItemsUseCase.js +3 -0
  437. package/UseCases/SelectItems/ISelectItemsUseCase.js.map +1 -0
  438. package/UseCases/SelectItems/SelectItemsUseCase.d.ts +7 -0
  439. package/UseCases/SelectItems/SelectItemsUseCase.js +12 -0
  440. package/UseCases/SelectItems/SelectItemsUseCase.js.map +1 -0
  441. package/UseCases/SelectItems/index.d.ts +2 -0
  442. package/UseCases/SelectItems/index.js +4 -0
  443. package/UseCases/SelectItems/index.js.map +1 -0
  444. package/UseCases/SortItems/ISortItemsUseCase.d.ts +4 -0
  445. package/UseCases/SortItems/ISortItemsUseCase.js +3 -0
  446. package/UseCases/SortItems/ISortItemsUseCase.js.map +1 -0
  447. package/UseCases/SortItems/SortItemsUseCase.d.ts +7 -0
  448. package/UseCases/SortItems/SortItemsUseCase.js +12 -0
  449. package/UseCases/SortItems/SortItemsUseCase.js.map +1 -0
  450. package/UseCases/SortItems/index.d.ts +2 -0
  451. package/UseCases/SortItems/index.js +4 -0
  452. package/UseCases/SortItems/index.js.map +1 -0
  453. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.d.ts +3 -0
  454. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js +3 -0
  455. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js.map +1 -0
  456. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.d.ts +7 -0
  457. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js +12 -0
  458. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js.map +1 -0
  459. package/UseCases/UnSelectAllItems/index.d.ts +2 -0
  460. package/UseCases/UnSelectAllItems/index.js +4 -0
  461. package/UseCases/UnSelectAllItems/index.js.map +1 -0
  462. package/UseCases/UnpublishItem/IUnpublishItemUseCase.d.ts +3 -0
  463. package/UseCases/UnpublishItem/IUnpublishItemUseCase.js +3 -0
  464. package/UseCases/UnpublishItem/IUnpublishItemUseCase.js.map +1 -0
  465. package/UseCases/UnpublishItem/UnpublishItemUseCase.d.ts +7 -0
  466. package/UseCases/UnpublishItem/UnpublishItemUseCase.js +12 -0
  467. package/UseCases/UnpublishItem/UnpublishItemUseCase.js.map +1 -0
  468. package/UseCases/UnpublishItem/index.d.ts +2 -0
  469. package/UseCases/UnpublishItem/index.js +4 -0
  470. package/UseCases/UnpublishItem/index.js.map +1 -0
  471. package/UseCases/index.d.ts +11 -0
  472. package/UseCases/index.js +13 -0
  473. package/UseCases/index.js.map +1 -0
  474. package/index.d.ts +2 -0
  475. package/index.js +4 -0
  476. package/index.js.map +1 -0
  477. package/package.json +53 -0
  478. package/types.d.ts +34 -0
  479. package/types.js +15 -0
  480. package/types.js.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Table\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export interface TitleProps {
3
+ title?: string;
4
+ }
5
+ export declare const Title: ({ title }: TitleProps) => React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { Skeleton } from "@webiny/ui/Skeleton";
3
+ import { Name } from "./Title.styled";
4
+ export const Title = ({
5
+ title
6
+ }) => {
7
+ return /*#__PURE__*/React.createElement(Name, {
8
+ use: "headline6",
9
+ tag: "h1"
10
+ }, title || /*#__PURE__*/React.createElement(Skeleton, {
11
+ theme: "dark"
12
+ }));
13
+ };
14
+
15
+ //# sourceMappingURL=Title.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Skeleton","Name","Title","title","createElement","use","tag","theme"],"sources":["Title.tsx"],"sourcesContent":["import React from \"react\";\nimport { Skeleton } from \"@webiny/ui/Skeleton\";\nimport { Name } from \"./Title.styled\";\n\nexport interface TitleProps {\n title?: string;\n}\n\nexport const Title = ({ title }: TitleProps) => {\n return (\n <Name use={\"headline6\"} tag={\"h1\"}>\n {title || <Skeleton theme={\"dark\"} />}\n </Name>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,QAAQ,qBAAqB;AAC9C,SAASC,IAAI;AAMb,OAAO,MAAMC,KAAK,GAAGA,CAAC;EAAEC;AAAkB,CAAC,KAAK;EAC5C,oBACIJ,KAAA,CAAAK,aAAA,CAACH,IAAI;IAACI,GAAG,EAAE,WAAY;IAACC,GAAG,EAAE;EAAK,GAC7BH,KAAK,iBAAIJ,KAAA,CAAAK,aAAA,CAACJ,QAAQ;IAACO,KAAK,EAAE;EAAO,CAAE,CAClC,CAAC;AAEf,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ import type { TypographyProps } from "@webiny/ui/Typography";
2
+ export declare const Name: import("@emotion/styled").StyledComponent<TypographyProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ }, {}, {}>;
@@ -0,0 +1,19 @@
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";
4
+ export const Name = /*#__PURE__*/_styled(Typography, process.env.NODE_ENV === "production" ? {
5
+ target: "epwctpg0"
6
+ } : {
7
+ target: "epwctpg0",
8
+ label: "Name"
9
+ })(process.env.NODE_ENV === "production" ? {
10
+ name: "jtvt2b",
11
+ styles: "color:var(--mdc-theme-text-primary-on-background);padding-left:8px;line-height:48px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
12
+ } : {
13
+ name: "jtvt2b",
14
+ styles: "color:var(--mdc-theme-text-primary-on-background);padding-left:8px;line-height:48px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis",
15
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRpdGxlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSXVEIiwiZmlsZSI6IlRpdGxlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB0eXBlIHsgVHlwb2dyYXBoeVByb3BzIH0gZnJvbSBcIkB3ZWJpbnkvdWkvVHlwb2dyYXBoeVwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHlcIjtcblxuZXhwb3J0IGNvbnN0IE5hbWUgPSBzdHlsZWQoVHlwb2dyYXBoeSk8VHlwb2dyYXBoeVByb3BzPmBcbiAgICBjb2xvcjogdmFyKC0tbWRjLXRoZW1lLXRleHQtcHJpbWFyeS1vbi1iYWNrZ3JvdW5kKTtcbiAgICBwYWRkaW5nLWxlZnQ6IDhweDtcbiAgICBsaW5lLWhlaWdodDogNDhweDtcbiAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgdGV4dC1vdmVyZmxvdzogZWxsaXBzaXM7XG5gO1xuIl19 */",
16
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
17
+ });
18
+
19
+ //# sourceMappingURL=Title.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Typography","Name","_styled","process","env","NODE_ENV","target","label","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__"],"sources":["Title.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport type { TypographyProps } from \"@webiny/ui/Typography\";\nimport { Typography } from \"@webiny/ui/Typography\";\n\nexport const Name = styled(Typography)<TypographyProps>`\n color: var(--mdc-theme-text-primary-on-background);\n padding-left: 8px;\n line-height: 48px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"mappings":";;AAEA,SAASA,UAAU,QAAQ,uBAAuB;AAElD,OAAO,MAAMC,IAAI,gBAAGC,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,GAAA;EAAAC,QAAA,EAAAC;AAAA,EAOrC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./Title";
@@ -0,0 +1,3 @@
1
+ export * from "./Title";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.tsx"],"sourcesContent":["export * from \"./Title\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./list";
@@ -0,0 +1,3 @@
1
+ export * from "./list";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./list\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { AcoConfig, RecordActionConfig } from "@webiny/app-aco";
3
+ export { RecordActionConfig as EntryActionConfig };
4
+ type EntryActionProps = React.ComponentProps<typeof AcoConfig.Record.Action>;
5
+ export declare const EntryAction: ((props: EntryActionProps) => React.JSX.Element) & {
6
+ OptionsMenuItem: (props: import("@webiny/app-admin").OptionsMenuItemProps) => React.JSX.Element;
7
+ };
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { CompositionScope } from "@webiny/react-composition";
3
+ import { AcoConfig, RecordActionConfig } from "@webiny/app-aco";
4
+ const {
5
+ Record
6
+ } = AcoConfig;
7
+ export { RecordActionConfig as EntryActionConfig };
8
+ const BaseEntryAction = props => {
9
+ return /*#__PURE__*/React.createElement(CompositionScope, {
10
+ name: "scheduler"
11
+ }, /*#__PURE__*/React.createElement(AcoConfig, null, /*#__PURE__*/React.createElement(Record.Action, props)));
12
+ };
13
+ export const EntryAction = Object.assign(BaseEntryAction, {
14
+ OptionsMenuItem: Record.Action.OptionsMenuItem
15
+ });
16
+
17
+ //# sourceMappingURL=EntryAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","CompositionScope","AcoConfig","RecordActionConfig","Record","EntryActionConfig","BaseEntryAction","props","createElement","name","Action","EntryAction","Object","assign","OptionsMenuItem"],"sources":["EntryAction.tsx"],"sourcesContent":["import React from \"react\";\nimport { CompositionScope } from \"@webiny/react-composition\";\nimport { AcoConfig, RecordActionConfig } from \"@webiny/app-aco\";\n\nconst { Record } = AcoConfig;\n\nexport { RecordActionConfig as EntryActionConfig };\n\ntype EntryActionProps = React.ComponentProps<typeof AcoConfig.Record.Action>;\n\nconst BaseEntryAction = (props: EntryActionProps) => {\n return (\n <CompositionScope name={\"scheduler\"}>\n <AcoConfig>\n <Record.Action {...props} />\n </AcoConfig>\n </CompositionScope>\n );\n};\n\nexport const EntryAction = Object.assign(BaseEntryAction, {\n OptionsMenuItem: Record.Action.OptionsMenuItem\n});\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,QAAQ,2BAA2B;AAC5D,SAASC,SAAS,EAAEC,kBAAkB,QAAQ,iBAAiB;AAE/D,MAAM;EAAEC;AAAO,CAAC,GAAGF,SAAS;AAE5B,SAASC,kBAAkB,IAAIE,iBAAiB;AAIhD,MAAMC,eAAe,GAAIC,KAAuB,IAAK;EACjD,oBACIP,KAAA,CAAAQ,aAAA,CAACP,gBAAgB;IAACQ,IAAI,EAAE;EAAY,gBAChCT,KAAA,CAAAQ,aAAA,CAACN,SAAS,qBACNF,KAAA,CAAAQ,aAAA,CAACJ,MAAM,CAACM,MAAM,EAAKH,KAAQ,CACpB,CACG,CAAC;AAE3B,CAAC;AAED,OAAO,MAAMI,WAAW,GAAGC,MAAM,CAACC,MAAM,CAACP,eAAe,EAAE;EACtDQ,eAAe,EAAEV,MAAM,CAACM,MAAM,CAACI;AACnC,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { AcoConfig, TableColumnConfig as ColumnConfig } from "@webiny/app-aco";
3
+ import type { SchedulerEntry } from "../../../../../types";
4
+ export { ColumnConfig };
5
+ type ColumnProps = React.ComponentProps<typeof AcoConfig.Table.Column>;
6
+ export declare const Column: ((props: ColumnProps) => React.JSX.Element) & {
7
+ useTableRow: <TUserRow = Record<string, any>>() => import("@webiny/app-aco").TableRowContextData<SchedulerEntry & import("@webiny/admin-ui/DataTable/DataTable").DataTableDefaultData & TUserRow>;
8
+ isFolderRow: (row: import("@webiny/app-aco/table.types").BaseTableItem) => row is import("@webiny/app-aco/table.types").FolderTableItem;
9
+ };
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { AcoConfig, TableColumnConfig as ColumnConfig } from "@webiny/app-aco";
3
+ const {
4
+ Table
5
+ } = AcoConfig;
6
+ export { ColumnConfig };
7
+ const BaseColumn = props => {
8
+ return /*#__PURE__*/React.createElement(AcoConfig, null, /*#__PURE__*/React.createElement(Table.Column, props));
9
+ };
10
+ export const Column = Object.assign(BaseColumn, {
11
+ useTableRow: Table.Column.createUseTableRow(),
12
+ isFolderRow: Table.Column.isFolderRow
13
+ });
14
+
15
+ //# sourceMappingURL=Column.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","AcoConfig","TableColumnConfig","ColumnConfig","Table","BaseColumn","props","createElement","Column","Object","assign","useTableRow","createUseTableRow","isFolderRow"],"sources":["Column.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, TableColumnConfig as ColumnConfig } from \"@webiny/app-aco\";\nimport type { SchedulerEntry } from \"~/types\";\n\nconst { Table } = AcoConfig;\n\nexport { ColumnConfig };\n\ntype ColumnProps = React.ComponentProps<typeof AcoConfig.Table.Column>;\n\nconst BaseColumn = (props: ColumnProps) => {\n return (\n <AcoConfig>\n <Table.Column {...props} />\n </AcoConfig>\n );\n};\n\nexport const Column = Object.assign(BaseColumn, {\n useTableRow: Table.Column.createUseTableRow<SchedulerEntry>(),\n isFolderRow: Table.Column.isFolderRow\n});\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,EAAEC,iBAAiB,IAAIC,YAAY,QAAQ,iBAAiB;AAG9E,MAAM;EAAEC;AAAM,CAAC,GAAGH,SAAS;AAE3B,SAASE,YAAY;AAIrB,MAAME,UAAU,GAAIC,KAAkB,IAAK;EACvC,oBACIN,KAAA,CAAAO,aAAA,CAACN,SAAS,qBACND,KAAA,CAAAO,aAAA,CAACH,KAAK,CAACI,MAAM,EAAKF,KAAQ,CACnB,CAAC;AAEpB,CAAC;AAED,OAAO,MAAME,MAAM,GAAGC,MAAM,CAACC,MAAM,CAACL,UAAU,EAAE;EAC5CM,WAAW,EAAEP,KAAK,CAACI,MAAM,CAACI,iBAAiB,CAAiB,CAAC;EAC7DC,WAAW,EAAET,KAAK,CAACI,MAAM,CAACK;AAC9B,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import { AcoConfig, TableSortingConfig as SortingConfig } from "@webiny/app-aco";
3
+ export { SortingConfig };
4
+ type SortingProps = React.ComponentProps<typeof AcoConfig.Table.Sorting>;
5
+ export declare const Sorting: (props: SortingProps) => React.JSX.Element;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { AcoConfig, TableSortingConfig as SortingConfig } from "@webiny/app-aco";
3
+ const {
4
+ Table
5
+ } = AcoConfig;
6
+ export { SortingConfig };
7
+ export const Sorting = props => {
8
+ return /*#__PURE__*/React.createElement(AcoConfig, null, /*#__PURE__*/React.createElement(Table.Sorting, props));
9
+ };
10
+
11
+ //# sourceMappingURL=Sorting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","AcoConfig","TableSortingConfig","SortingConfig","Table","Sorting","props","createElement"],"sources":["Sorting.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, TableSortingConfig as SortingConfig } from \"@webiny/app-aco\";\n\nconst { Table } = AcoConfig;\n\nexport { SortingConfig };\n\ntype SortingProps = React.ComponentProps<typeof AcoConfig.Table.Sorting>;\n\nexport const Sorting = (props: SortingProps) => {\n return (\n <AcoConfig>\n <Table.Sorting {...props} />\n </AcoConfig>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,SAAS,EAAEC,kBAAkB,IAAIC,aAAa,QAAQ,iBAAiB;AAEhF,MAAM;EAAEC;AAAM,CAAC,GAAGH,SAAS;AAE3B,SAASE,aAAa;AAItB,OAAO,MAAME,OAAO,GAAIC,KAAmB,IAAK;EAC5C,oBACIN,KAAA,CAAAO,aAAA,CAACN,SAAS,qBACND,KAAA,CAAAO,aAAA,CAACH,KAAK,CAACC,OAAO,EAAKC,KAAQ,CACpB,CAAC;AAEpB,CAAC","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import type { ColumnConfig } from "./Column";
3
+ import type { SortingConfig } from "./Sorting";
4
+ export interface TableConfig {
5
+ columns: ColumnConfig[];
6
+ sorting: SortingConfig[];
7
+ }
8
+ export declare const Table: {
9
+ Column: ((props: import("@webiny/app-aco/config/table/Column").ColumnProps) => import("react").JSX.Element) & {
10
+ useTableRow: <TUserRow = Record<string, any>>() => import("@webiny/app-aco").TableRowContextData<import("../../../../../types").SchedulerEntry & import("@webiny/admin-ui/DataTable/DataTable").DataTableDefaultData & TUserRow>;
11
+ isFolderRow: (row: import("@webiny/app-aco/table.types").BaseTableItem) => row is import("@webiny/app-aco/table.types").FolderTableItem;
12
+ };
13
+ Sorting: (props: import("@webiny/app-aco/config/table/Sorting").SortingProps) => import("react").JSX.Element;
14
+ };
@@ -0,0 +1,8 @@
1
+ import { Column } from "./Column";
2
+ import { Sorting } from "./Sorting";
3
+ export const Table = {
4
+ Column,
5
+ Sorting
6
+ };
7
+
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Column","Sorting","Table"],"sources":["index.ts"],"sourcesContent":["import type { ColumnConfig } from \"./Column\";\nimport { Column } from \"./Column\";\nimport type { SortingConfig } from \"./Sorting\";\nimport { Sorting } from \"./Sorting\";\n\nexport interface TableConfig {\n columns: ColumnConfig[];\n sorting: SortingConfig[];\n}\n\nexport const Table = {\n Column,\n Sorting\n};\n"],"mappings":"AACA,SAASA,MAAM;AAEf,SAASC,OAAO;AAOhB,OAAO,MAAMC,KAAK,GAAG;EACjBF,MAAM;EACNC;AACJ,CAAC","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import type { EntryActionConfig } from "./EntryAction";
3
+ import type { TableConfig } from "./Table";
4
+ export interface BrowserConfig {
5
+ entryActions: EntryActionConfig[];
6
+ table: TableConfig;
7
+ }
8
+ export declare const Browser: {
9
+ EntryAction: ((props: import("@webiny/app-aco/config/record/Action").ActionProps) => import("react").JSX.Element) & {
10
+ OptionsMenuItem: (props: import("@webiny/app-admin").OptionsMenuItemProps) => import("react").JSX.Element;
11
+ };
12
+ Table: {
13
+ Column: ((props: import("@webiny/app-aco/config/table/Column").ColumnProps) => import("react").JSX.Element) & {
14
+ useTableRow: <TUserRow = Record<string, any>>() => import("@webiny/app-aco").TableRowContextData<import("../../../../types").SchedulerEntry & import("@webiny/admin-ui/DataTable/DataTable").DataTableDefaultData & TUserRow>;
15
+ isFolderRow: (row: import("@webiny/app-aco/table.types").BaseTableItem) => row is import("@webiny/app-aco/table.types").FolderTableItem;
16
+ };
17
+ Sorting: (props: import("@webiny/app-aco/config/table/Sorting").SortingProps) => import("react").JSX.Element;
18
+ };
19
+ };
@@ -0,0 +1,8 @@
1
+ import { EntryAction } from "./EntryAction";
2
+ import { Table } from "./Table";
3
+ export const Browser = {
4
+ EntryAction,
5
+ Table
6
+ };
7
+
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["EntryAction","Table","Browser"],"sources":["index.ts"],"sourcesContent":["import type { EntryActionConfig } from \"./EntryAction\";\nimport { EntryAction } from \"./EntryAction\";\nimport type { TableConfig } from \"./Table\";\nimport { Table } from \"./Table\";\n\nexport interface BrowserConfig {\n entryActions: EntryActionConfig[];\n table: TableConfig;\n}\n\nexport const Browser = {\n EntryAction,\n Table\n};\n"],"mappings":"AACA,SAASA,WAAW;AAEpB,SAASC,KAAK;AAOd,OAAO,MAAMC,OAAO,GAAG;EACnBF,WAAW;EACXC;AACJ,CAAC","ignoreList":[]}
@@ -0,0 +1,28 @@
1
+ import React from "react";
2
+ export declare const SchedulerListConfig: {
3
+ ({ children }: {
4
+ children: React.ReactNode;
5
+ }): React.JSX.Element;
6
+ displayName: string;
7
+ } & {
8
+ Browser: {
9
+ EntryAction: ((props: import("@webiny/app-aco/config/record/Action").ActionProps) => React.JSX.Element) & {
10
+ OptionsMenuItem: (props: import("@webiny/app-admin").OptionsMenuItemProps) => React.JSX.Element;
11
+ };
12
+ Table: {
13
+ Column: ((props: import("@webiny/app-aco/config/table/Column").ColumnProps) => React.JSX.Element) & {
14
+ useTableRow: <TUserRow = Record<string, any>>() => import("@webiny/app-aco").TableRowContextData<import("../../../types").SchedulerEntry & import("@webiny/admin-ui/DataTable/DataTable").DataTableDefaultData & TUserRow>;
15
+ isFolderRow: (row: import("@webiny/app-aco/table.types").BaseTableItem) => row is import("@webiny/app-aco/table.types").FolderTableItem;
16
+ };
17
+ Sorting: (props: import("@webiny/app-aco/config/table/Sorting").SortingProps) => React.JSX.Element;
18
+ };
19
+ };
20
+ };
21
+ export declare const SchedulerListWithConfig: ({ onProperties, children }: import("@webiny/react-properties").WithConfigProps) => React.JSX.Element;
22
+ export declare function useSchedulerListConfig(): {
23
+ browser: {
24
+ bulkActions: never[];
25
+ entryActions: import("@webiny/app-aco").RecordActionConfig[];
26
+ table: import("./Browser/Table").TableConfig;
27
+ };
28
+ };
@@ -0,0 +1,29 @@
1
+ import React, { useMemo } from "react";
2
+ import { createConfigurableComponent } from "@webiny/react-properties";
3
+ import { Browser } from "./Browser";
4
+ import { CompositionScope } from "@webiny/react-composition";
5
+ const base = createConfigurableComponent("SchedulerListConfig");
6
+ const ScopedSchedulerListConfig = ({
7
+ children
8
+ }) => {
9
+ return /*#__PURE__*/React.createElement(CompositionScope, {
10
+ name: "scheduler"
11
+ }, /*#__PURE__*/React.createElement(base.Config, null, children));
12
+ };
13
+ ScopedSchedulerListConfig.displayName = "SchedulerListConfig";
14
+ export const SchedulerListConfig = Object.assign(ScopedSchedulerListConfig, {
15
+ Browser
16
+ });
17
+ export const SchedulerListWithConfig = base.WithConfig;
18
+ export function useSchedulerListConfig() {
19
+ const config = base.useConfig();
20
+ const browser = config.browser || {};
21
+ return useMemo(() => ({
22
+ browser: {
23
+ ...browser,
24
+ bulkActions: []
25
+ }
26
+ }), [config]);
27
+ }
28
+
29
+ //# sourceMappingURL=SchedulerListConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useMemo","createConfigurableComponent","Browser","CompositionScope","base","ScopedSchedulerListConfig","children","createElement","name","Config","displayName","SchedulerListConfig","Object","assign","SchedulerListWithConfig","WithConfig","useSchedulerListConfig","config","useConfig","browser","bulkActions"],"sources":["SchedulerListConfig.tsx"],"sourcesContent":["import React, { useMemo } from \"react\";\nimport { createConfigurableComponent } from \"@webiny/react-properties\";\nimport type { BrowserConfig } from \"./Browser\";\nimport { Browser } from \"./Browser\";\nimport { CompositionScope } from \"@webiny/react-composition\";\n\nconst base = createConfigurableComponent<SchedulerListConfig>(\"SchedulerListConfig\");\n\nconst ScopedSchedulerListConfig = ({ children }: { children: React.ReactNode }) => {\n return (\n <CompositionScope name={\"scheduler\"}>\n <base.Config>{children}</base.Config>\n </CompositionScope>\n );\n};\n\nScopedSchedulerListConfig.displayName = \"SchedulerListConfig\";\n\nexport const SchedulerListConfig = Object.assign(ScopedSchedulerListConfig, { Browser });\nexport const SchedulerListWithConfig = base.WithConfig;\n\ninterface SchedulerListConfig {\n browser: BrowserConfig;\n}\n\nexport function useSchedulerListConfig() {\n const config = base.useConfig();\n\n const browser = config.browser || {};\n\n return useMemo(\n () => ({\n browser: {\n ...browser,\n bulkActions: []\n }\n }),\n [config]\n );\n}\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AACtC,SAASC,2BAA2B,QAAQ,0BAA0B;AAEtE,SAASC,OAAO;AAChB,SAASC,gBAAgB,QAAQ,2BAA2B;AAE5D,MAAMC,IAAI,GAAGH,2BAA2B,CAAsB,qBAAqB,CAAC;AAEpF,MAAMI,yBAAyB,GAAGA,CAAC;EAAEC;AAAwC,CAAC,KAAK;EAC/E,oBACIP,KAAA,CAAAQ,aAAA,CAACJ,gBAAgB;IAACK,IAAI,EAAE;EAAY,gBAChCT,KAAA,CAAAQ,aAAA,CAACH,IAAI,CAACK,MAAM,QAAEH,QAAsB,CACtB,CAAC;AAE3B,CAAC;AAEDD,yBAAyB,CAACK,WAAW,GAAG,qBAAqB;AAE7D,OAAO,MAAMC,mBAAmB,GAAGC,MAAM,CAACC,MAAM,CAACR,yBAAyB,EAAE;EAAEH;AAAQ,CAAC,CAAC;AACxF,OAAO,MAAMY,uBAAuB,GAAGV,IAAI,CAACW,UAAU;AAMtD,OAAO,SAASC,sBAAsBA,CAAA,EAAG;EACrC,MAAMC,MAAM,GAAGb,IAAI,CAACc,SAAS,CAAC,CAAC;EAE/B,MAAMC,OAAO,GAAGF,MAAM,CAACE,OAAO,IAAI,CAAC,CAAC;EAEpC,OAAOnB,OAAO,CACV,OAAO;IACHmB,OAAO,EAAE;MACL,GAAGA,OAAO;MACVC,WAAW,EAAE;IACjB;EACJ,CAAC,CAAC,EACF,CAACH,MAAM,CACX,CAAC;AACL","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./SchedulerListConfig";
@@ -0,0 +1,3 @@
1
+ export * from "./SchedulerListConfig";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./SchedulerListConfig\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ export * from "./useScheduler.js";
2
+ export * from "./useSchedulerItem.js";
3
+ export * from "./useCancelSchedulerItem.js";
@@ -0,0 +1,5 @@
1
+ export * from "./useScheduler.js";
2
+ export * from "./useSchedulerItem.js";
3
+ export * from "./useCancelSchedulerItem.js";
4
+
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./useScheduler.js\";\nexport * from \"./useSchedulerItem.js\";\nexport * from \"./useCancelSchedulerItem.js\";\n"],"mappings":"AAAA;AACA;AACA","ignoreList":[]}
@@ -0,0 +1,8 @@
1
+ import type { SchedulerEntry } from "../../types";
2
+ interface UseCancelScheduleItemParams {
3
+ item: Pick<SchedulerEntry, "id" | "title" | "type">;
4
+ }
5
+ export declare const useCancelSchedulerItem: ({ item }: UseCancelScheduleItemParams) => {
6
+ openDialogCancelSchedulerItem: () => void;
7
+ };
8
+ export {};
@@ -0,0 +1,32 @@
1
+ import React, { useCallback } from "react";
2
+ import { useConfirmationDialog, useSnackbar } from "@webiny/app-admin";
3
+ import { useScheduler } from "./useScheduler";
4
+ export const useCancelSchedulerItem = ({
5
+ item
6
+ }) => {
7
+ const {
8
+ cancelItem
9
+ } = useScheduler();
10
+ const {
11
+ showSnackbar
12
+ } = useSnackbar();
13
+ const {
14
+ showConfirmation
15
+ } = useConfirmationDialog({
16
+ title: "Cancel scheduled action?",
17
+ message: /*#__PURE__*/React.createElement("p", null, "You are about to cancel scheduled action for this item!", /*#__PURE__*/React.createElement("br", null), "Are you sure you want to cancel scheduled ", /*#__PURE__*/React.createElement("strong", null, item.type), " for", " ", /*#__PURE__*/React.createElement("strong", null, item.title), "?")
18
+ });
19
+ const openDialogCancelSchedulerItem = useCallback(() => showConfirmation(async () => {
20
+ try {
21
+ await cancelItem(item.id);
22
+ showSnackbar(`Action on item "${item.title}" was canceled successfully!`);
23
+ } catch (ex) {
24
+ showSnackbar(ex.message || `Error while canceling action for "${item.title}".`);
25
+ }
26
+ }), [item]);
27
+ return {
28
+ openDialogCancelSchedulerItem
29
+ };
30
+ };
31
+
32
+ //# sourceMappingURL=useCancelSchedulerItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useCallback","useConfirmationDialog","useSnackbar","useScheduler","useCancelSchedulerItem","item","cancelItem","showSnackbar","showConfirmation","title","message","createElement","type","openDialogCancelSchedulerItem","id","ex"],"sources":["useCancelSchedulerItem.tsx"],"sourcesContent":["import React, { useCallback } from \"react\";\nimport { useConfirmationDialog, useSnackbar } from \"@webiny/app-admin\";\nimport { useScheduler } from \"./useScheduler\";\nimport type { SchedulerEntry } from \"~/types\";\n\ninterface UseCancelScheduleItemParams {\n item: Pick<SchedulerEntry, \"id\" | \"title\" | \"type\">;\n}\n\nexport const useCancelSchedulerItem = ({ item }: UseCancelScheduleItemParams) => {\n const { cancelItem } = useScheduler();\n const { showSnackbar } = useSnackbar();\n\n const { showConfirmation } = useConfirmationDialog({\n title: \"Cancel scheduled action?\",\n message: (\n <p>\n You are about to cancel scheduled action for this item!\n <br />\n Are you sure you want to cancel scheduled <strong>{item.type}</strong> for{\" \"}\n <strong>{item.title}</strong>?\n </p>\n )\n });\n\n const openDialogCancelSchedulerItem = useCallback(\n () =>\n showConfirmation(async () => {\n try {\n await cancelItem(item.id);\n showSnackbar(`Action on item \"${item.title}\" was canceled successfully!`);\n } catch (ex) {\n showSnackbar(ex.message || `Error while canceling action for \"${item.title}\".`);\n }\n }),\n [item]\n );\n\n return { openDialogCancelSchedulerItem };\n};\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,WAAW,QAAQ,OAAO;AAC1C,SAASC,qBAAqB,EAAEC,WAAW,QAAQ,mBAAmB;AACtE,SAASC,YAAY;AAOrB,OAAO,MAAMC,sBAAsB,GAAGA,CAAC;EAAEC;AAAkC,CAAC,KAAK;EAC7E,MAAM;IAAEC;EAAW,CAAC,GAAGH,YAAY,CAAC,CAAC;EACrC,MAAM;IAAEI;EAAa,CAAC,GAAGL,WAAW,CAAC,CAAC;EAEtC,MAAM;IAAEM;EAAiB,CAAC,GAAGP,qBAAqB,CAAC;IAC/CQ,KAAK,EAAE,0BAA0B;IACjCC,OAAO,eACHX,KAAA,CAAAY,aAAA,YAAG,yDAEC,eAAAZ,KAAA,CAAAY,aAAA,WAAK,CAAC,8CACoC,eAAAZ,KAAA,CAAAY,aAAA,iBAASN,IAAI,CAACO,IAAa,CAAC,QAAI,EAAC,GAAG,eAC9Eb,KAAA,CAAAY,aAAA,iBAASN,IAAI,CAACI,KAAc,CAAC,KAC9B;EAEX,CAAC,CAAC;EAEF,MAAMI,6BAA6B,GAAGb,WAAW,CAC7C,MACIQ,gBAAgB,CAAC,YAAY;IACzB,IAAI;MACA,MAAMF,UAAU,CAACD,IAAI,CAACS,EAAE,CAAC;MACzBP,YAAY,CAAC,mBAAmBF,IAAI,CAACI,KAAK,8BAA8B,CAAC;IAC7E,CAAC,CAAC,OAAOM,EAAE,EAAE;MACTR,YAAY,CAACQ,EAAE,CAACL,OAAO,IAAI,qCAAqCL,IAAI,CAACI,KAAK,IAAI,CAAC;IACnF;EACJ,CAAC,CAAC,EACN,CAACJ,IAAI,CACT,CAAC;EAED,OAAO;IAAEQ;EAA8B,CAAC;AAC5C,CAAC","ignoreList":[]}
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import type { ISchedulerControllers, ISchedulerPresenter } from "../abstractions";
3
+ import type { SchedulerEntry } from "../../types";
4
+ export interface SchedulerContext {
5
+ controllers: ISchedulerControllers;
6
+ presenter: ISchedulerPresenter;
7
+ }
8
+ export declare const useScheduler: () => {
9
+ vm: import("../abstractions").SchedulerPresenterViewModel;
10
+ cancelItem: (id: string) => Promise<void>;
11
+ publishItem: (id: string, scheduleOn: Date) => Promise<void>;
12
+ unpublishItem: (id: string, scheduleOn: Date) => Promise<void>;
13
+ getItem: (id: string) => Promise<void>;
14
+ listItems: () => Promise<void>;
15
+ listMoreItems: () => Promise<void>;
16
+ selectItems: (items: SchedulerEntry[]) => Promise<void>;
17
+ selectAllItems: () => Promise<void>;
18
+ unselectAllItems: () => Promise<void>;
19
+ sortItems: import("@webiny/admin-ui/DataTable/DataTable").OnDataTableSortingChange;
20
+ searchItems: (value: string) => Promise<void>;
21
+ };
22
+ export declare const SchedulerProvider: {
23
+ ({ children, ...props }: SchedulerContext & {
24
+ children: import("react").ReactNode;
25
+ }): import("react").JSX.Element;
26
+ displayName: string;
27
+ };
@@ -0,0 +1,51 @@
1
+ import { useCallback, useEffect, useMemo, useState } from "react";
2
+ import { autorun } from "mobx";
3
+ import { createGenericContext } from "@webiny/app-admin";
4
+ const {
5
+ Provider,
6
+ useHook
7
+ } = createGenericContext("SchedulerContext");
8
+ export const useScheduler = () => {
9
+ const context = useHook();
10
+ const [vm, setVm] = useState(context.presenter.vm);
11
+ useEffect(() => {
12
+ return autorun(() => {
13
+ const newState = context.presenter.vm;
14
+ setVm(newState);
15
+ });
16
+ }, [context.presenter]);
17
+ const cancelItem = useCallback(id => context.controllers.scheduleCancelItem.execute(id), [context.controllers.scheduleCancelItem]);
18
+ const publishItem = useCallback((id, scheduleOn) => context.controllers.schedulePublishItem.execute(id, scheduleOn), [context.controllers.schedulePublishItem]);
19
+ const unpublishItem = useCallback((id, scheduleOn) => context.controllers.scheduleUnpublishItem.execute(id, scheduleOn), [context.controllers.scheduleUnpublishItem]);
20
+ const listItems = useCallback(() => context.controllers.listItems.execute(), [context.controllers.listItems]);
21
+ const getItem = useCallback(id => {
22
+ return context.controllers.getItem.execute({
23
+ id
24
+ });
25
+ }, [context.controllers.getItem]);
26
+ const listMoreItems = useCallback(() => context.controllers.listMoreItems.execute(), [context.controllers.listMoreItems]);
27
+ const selectItems = useCallback(items => context.controllers.selectItems.execute(items), [context.controllers.selectItems]);
28
+ const selectAllItems = useCallback(() => context.controllers.selectAllItems.execute(), [context.controllers.selectAllItems]);
29
+ const unselectAllItems = useCallback(() => context.controllers.unselectAllItems.execute(), [context.controllers.unselectAllItems]);
30
+ const sortItems = useMemo(() => context.controllers.sortItems.execute, [context.controllers.sortItems]);
31
+ const searchItems = useCallback(value => {
32
+ return context.controllers.searchItems.execute(value);
33
+ }, [context.controllers.searchItems]);
34
+ return {
35
+ vm,
36
+ cancelItem,
37
+ publishItem,
38
+ unpublishItem,
39
+ getItem,
40
+ listItems,
41
+ listMoreItems,
42
+ selectItems,
43
+ selectAllItems,
44
+ unselectAllItems,
45
+ sortItems,
46
+ searchItems
47
+ };
48
+ };
49
+ export const SchedulerProvider = Provider;
50
+
51
+ //# sourceMappingURL=useScheduler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useCallback","useEffect","useMemo","useState","autorun","createGenericContext","Provider","useHook","useScheduler","context","vm","setVm","presenter","newState","cancelItem","id","controllers","scheduleCancelItem","execute","publishItem","scheduleOn","schedulePublishItem","unpublishItem","scheduleUnpublishItem","listItems","getItem","listMoreItems","selectItems","items","selectAllItems","unselectAllItems","sortItems","searchItems","value","SchedulerProvider"],"sources":["useScheduler.tsx"],"sourcesContent":["import { useCallback, useEffect, useMemo, useState } from \"react\";\nimport { autorun } from \"mobx\";\nimport { createGenericContext } from \"@webiny/app-admin\";\nimport type { ISchedulerControllers, ISchedulerPresenter } from \"~/Presentation/abstractions\";\nimport type { SchedulerEntry } from \"~/types\";\n\nexport interface SchedulerContext {\n controllers: ISchedulerControllers;\n presenter: ISchedulerPresenter;\n}\n\nconst { Provider, useHook } = createGenericContext<SchedulerContext>(\"SchedulerContext\");\n\nexport const useScheduler = () => {\n const context = useHook();\n const [vm, setVm] = useState(context.presenter.vm);\n\n useEffect(() => {\n return autorun(() => {\n const newState = context.presenter.vm;\n setVm(newState);\n });\n }, [context.presenter]);\n\n const cancelItem = useCallback(\n (id: string) => context.controllers.scheduleCancelItem.execute(id),\n [context.controllers.scheduleCancelItem]\n );\n\n const publishItem = useCallback(\n (id: string, scheduleOn: Date) =>\n context.controllers.schedulePublishItem.execute(id, scheduleOn),\n [context.controllers.schedulePublishItem]\n );\n\n const unpublishItem = useCallback(\n (id: string, scheduleOn: Date) =>\n context.controllers.scheduleUnpublishItem.execute(id, scheduleOn),\n [context.controllers.scheduleUnpublishItem]\n );\n\n const listItems = useCallback(\n () => context.controllers.listItems.execute(),\n [context.controllers.listItems]\n );\n const getItem = useCallback(\n (id: string) => {\n return context.controllers.getItem.execute({\n id\n });\n },\n [context.controllers.getItem]\n );\n\n const listMoreItems = useCallback(\n () => context.controllers.listMoreItems.execute(),\n [context.controllers.listMoreItems]\n );\n\n const selectItems = useCallback(\n (items: SchedulerEntry[]) => context.controllers.selectItems.execute(items),\n [context.controllers.selectItems]\n );\n\n const selectAllItems = useCallback(\n () => context.controllers.selectAllItems.execute(),\n [context.controllers.selectAllItems]\n );\n\n const unselectAllItems = useCallback(\n () => context.controllers.unselectAllItems.execute(),\n [context.controllers.unselectAllItems]\n );\n\n const sortItems = useMemo(\n () => context.controllers.sortItems.execute,\n [context.controllers.sortItems]\n );\n\n const searchItems = useCallback(\n (value: string) => {\n return context.controllers.searchItems.execute(value);\n },\n [context.controllers.searchItems]\n );\n\n return {\n vm,\n cancelItem,\n publishItem,\n unpublishItem,\n getItem,\n listItems,\n listMoreItems,\n selectItems,\n selectAllItems,\n unselectAllItems,\n sortItems,\n searchItems\n };\n};\n\nexport const SchedulerProvider = Provider;\n"],"mappings":"AAAA,SAASA,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AACjE,SAASC,OAAO,QAAQ,MAAM;AAC9B,SAASC,oBAAoB,QAAQ,mBAAmB;AASxD,MAAM;EAAEC,QAAQ;EAAEC;AAAQ,CAAC,GAAGF,oBAAoB,CAAmB,kBAAkB,CAAC;AAExF,OAAO,MAAMG,YAAY,GAAGA,CAAA,KAAM;EAC9B,MAAMC,OAAO,GAAGF,OAAO,CAAC,CAAC;EACzB,MAAM,CAACG,EAAE,EAAEC,KAAK,CAAC,GAAGR,QAAQ,CAACM,OAAO,CAACG,SAAS,CAACF,EAAE,CAAC;EAElDT,SAAS,CAAC,MAAM;IACZ,OAAOG,OAAO,CAAC,MAAM;MACjB,MAAMS,QAAQ,GAAGJ,OAAO,CAACG,SAAS,CAACF,EAAE;MACrCC,KAAK,CAACE,QAAQ,CAAC;IACnB,CAAC,CAAC;EACN,CAAC,EAAE,CAACJ,OAAO,CAACG,SAAS,CAAC,CAAC;EAEvB,MAAME,UAAU,GAAGd,WAAW,CACzBe,EAAU,IAAKN,OAAO,CAACO,WAAW,CAACC,kBAAkB,CAACC,OAAO,CAACH,EAAE,CAAC,EAClE,CAACN,OAAO,CAACO,WAAW,CAACC,kBAAkB,CAC3C,CAAC;EAED,MAAME,WAAW,GAAGnB,WAAW,CAC3B,CAACe,EAAU,EAAEK,UAAgB,KACzBX,OAAO,CAACO,WAAW,CAACK,mBAAmB,CAACH,OAAO,CAACH,EAAE,EAAEK,UAAU,CAAC,EACnE,CAACX,OAAO,CAACO,WAAW,CAACK,mBAAmB,CAC5C,CAAC;EAED,MAAMC,aAAa,GAAGtB,WAAW,CAC7B,CAACe,EAAU,EAAEK,UAAgB,KACzBX,OAAO,CAACO,WAAW,CAACO,qBAAqB,CAACL,OAAO,CAACH,EAAE,EAAEK,UAAU,CAAC,EACrE,CAACX,OAAO,CAACO,WAAW,CAACO,qBAAqB,CAC9C,CAAC;EAED,MAAMC,SAAS,GAAGxB,WAAW,CACzB,MAAMS,OAAO,CAACO,WAAW,CAACQ,SAAS,CAACN,OAAO,CAAC,CAAC,EAC7C,CAACT,OAAO,CAACO,WAAW,CAACQ,SAAS,CAClC,CAAC;EACD,MAAMC,OAAO,GAAGzB,WAAW,CACtBe,EAAU,IAAK;IACZ,OAAON,OAAO,CAACO,WAAW,CAACS,OAAO,CAACP,OAAO,CAAC;MACvCH;IACJ,CAAC,CAAC;EACN,CAAC,EACD,CAACN,OAAO,CAACO,WAAW,CAACS,OAAO,CAChC,CAAC;EAED,MAAMC,aAAa,GAAG1B,WAAW,CAC7B,MAAMS,OAAO,CAACO,WAAW,CAACU,aAAa,CAACR,OAAO,CAAC,CAAC,EACjD,CAACT,OAAO,CAACO,WAAW,CAACU,aAAa,CACtC,CAAC;EAED,MAAMC,WAAW,GAAG3B,WAAW,CAC1B4B,KAAuB,IAAKnB,OAAO,CAACO,WAAW,CAACW,WAAW,CAACT,OAAO,CAACU,KAAK,CAAC,EAC3E,CAACnB,OAAO,CAACO,WAAW,CAACW,WAAW,CACpC,CAAC;EAED,MAAME,cAAc,GAAG7B,WAAW,CAC9B,MAAMS,OAAO,CAACO,WAAW,CAACa,cAAc,CAACX,OAAO,CAAC,CAAC,EAClD,CAACT,OAAO,CAACO,WAAW,CAACa,cAAc,CACvC,CAAC;EAED,MAAMC,gBAAgB,GAAG9B,WAAW,CAChC,MAAMS,OAAO,CAACO,WAAW,CAACc,gBAAgB,CAACZ,OAAO,CAAC,CAAC,EACpD,CAACT,OAAO,CAACO,WAAW,CAACc,gBAAgB,CACzC,CAAC;EAED,MAAMC,SAAS,GAAG7B,OAAO,CACrB,MAAMO,OAAO,CAACO,WAAW,CAACe,SAAS,CAACb,OAAO,EAC3C,CAACT,OAAO,CAACO,WAAW,CAACe,SAAS,CAClC,CAAC;EAED,MAAMC,WAAW,GAAGhC,WAAW,CAC1BiC,KAAa,IAAK;IACf,OAAOxB,OAAO,CAACO,WAAW,CAACgB,WAAW,CAACd,OAAO,CAACe,KAAK,CAAC;EACzD,CAAC,EACD,CAACxB,OAAO,CAACO,WAAW,CAACgB,WAAW,CACpC,CAAC;EAED,OAAO;IACHtB,EAAE;IACFI,UAAU;IACVK,WAAW;IACXG,aAAa;IACbG,OAAO;IACPD,SAAS;IACTE,aAAa;IACbC,WAAW;IACXE,cAAc;IACdC,gBAAgB;IAChBC,SAAS;IACTC;EACJ,CAAC;AACL,CAAC;AAED,OAAO,MAAME,iBAAiB,GAAG5B,QAAQ","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import type { SchedulerEntry } from "../../types";
3
+ export interface SchedulerItemContext {
4
+ item: SchedulerEntry;
5
+ }
6
+ export declare const useSchedulerItem: () => SchedulerItemContext;
7
+ export declare const SchedulerItemProvider: {
8
+ ({ children, ...props }: SchedulerItemContext & {
9
+ children: import("react").ReactNode;
10
+ }): import("react").JSX.Element;
11
+ displayName: string;
12
+ };
@@ -0,0 +1,9 @@
1
+ import { createGenericContext } from "@webiny/app-admin";
2
+ const {
3
+ Provider,
4
+ useHook
5
+ } = createGenericContext("SchedulerItemContext");
6
+ export const useSchedulerItem = useHook;
7
+ export const SchedulerItemProvider = Provider;
8
+
9
+ //# sourceMappingURL=useSchedulerItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createGenericContext","Provider","useHook","useSchedulerItem","SchedulerItemProvider"],"sources":["useSchedulerItem.tsx"],"sourcesContent":["import { createGenericContext } from \"@webiny/app-admin\";\nimport type { SchedulerEntry } from \"~/types\";\n\nexport interface SchedulerItemContext {\n item: SchedulerEntry;\n}\n\nconst { Provider, useHook } = createGenericContext<SchedulerItemContext>(\"SchedulerItemContext\");\n\nexport const useSchedulerItem = useHook;\nexport const SchedulerItemProvider = Provider;\n"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,mBAAmB;AAOxD,MAAM;EAAEC,QAAQ;EAAEC;AAAQ,CAAC,GAAGF,oBAAoB,CAAuB,sBAAsB,CAAC;AAEhG,OAAO,MAAMG,gBAAgB,GAAGD,OAAO;AACvC,OAAO,MAAME,qBAAqB,GAAGH,QAAQ","ignoreList":[]}
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ import type { ISchedulerCancelGateway, ISchedulerGetGateway, ISchedulerListGateway, ISchedulerPublishGateway, ISchedulerUnpublishGateway } from "../Gateways/index.js";
3
+ import type { CmsModel } from "@webiny/app-headless-cms-common/types/index.js";
4
+ export * from "./SchedulerConfigs";
5
+ export interface SchedulerRenderPropParams {
6
+ showScheduler: () => void;
7
+ }
8
+ interface SchedulerRenderProps {
9
+ (params: SchedulerRenderPropParams): React.ReactNode;
10
+ }
11
+ export interface SchedulerProps {
12
+ model: Pick<CmsModel, "modelId">;
13
+ render: SchedulerRenderProps;
14
+ getGateway: ISchedulerGetGateway;
15
+ listGateway: ISchedulerListGateway;
16
+ cancelGateway: ISchedulerCancelGateway;
17
+ publishGateway: ISchedulerPublishGateway;
18
+ unpublishGateway: ISchedulerUnpublishGateway;
19
+ onClose?: () => void;
20
+ show?: boolean;
21
+ title?: string;
22
+ }
23
+ export declare const Scheduler: ({ render, ...rest }: SchedulerProps) => React.JSX.Element;
@@ -0,0 +1,30 @@
1
+ import React, { useCallback, useState } from "react";
2
+ import { AcoWithConfig } from "@webiny/app-aco";
3
+ import { SchedulerRenderer } from "./SchedulerRenderer";
4
+ import { CompositionScope } from "@webiny/react-composition";
5
+ import { SchedulerListWithConfig } from "./configs";
6
+ export * from "./SchedulerConfigs";
7
+ export const Scheduler = ({
8
+ render,
9
+ ...rest
10
+ }) => {
11
+ const [show, setShow] = useState(rest.show ?? false);
12
+ const showScheduler = useCallback(() => {
13
+ setShow(true);
14
+ }, []);
15
+ const onClose = useCallback(() => {
16
+ if (typeof rest.onClose === "function") {
17
+ rest.onClose();
18
+ }
19
+ setShow(false);
20
+ }, [rest.onClose]);
21
+ return /*#__PURE__*/React.createElement(React.Fragment, null, show && /*#__PURE__*/React.createElement(CompositionScope, {
22
+ name: "scheduler"
23
+ }, /*#__PURE__*/React.createElement(AcoWithConfig, null, /*#__PURE__*/React.createElement(SchedulerListWithConfig, null, /*#__PURE__*/React.createElement(SchedulerRenderer, Object.assign({}, rest, {
24
+ onClose: onClose
25
+ }))))), render ? render({
26
+ showScheduler
27
+ }) : null);
28
+ };
29
+
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useCallback","useState","AcoWithConfig","SchedulerRenderer","CompositionScope","SchedulerListWithConfig","Scheduler","render","rest","show","setShow","showScheduler","onClose","createElement","Fragment","name","Object","assign"],"sources":["index.tsx"],"sourcesContent":["import React, { useCallback, useState } from \"react\";\nimport { AcoWithConfig } from \"@webiny/app-aco\";\nimport { SchedulerRenderer } from \"~/Presentation/SchedulerRenderer\";\nimport { CompositionScope } from \"@webiny/react-composition\";\nimport { SchedulerListWithConfig } from \"~/Presentation/configs\";\nimport type {\n ISchedulerCancelGateway,\n ISchedulerGetGateway,\n ISchedulerListGateway,\n ISchedulerPublishGateway,\n ISchedulerUnpublishGateway\n} from \"~/Gateways/index.js\";\nimport type { CmsModel } from \"@webiny/app-headless-cms-common/types/index.js\";\n\nexport * from \"~/Presentation/SchedulerConfigs\";\n\nexport interface SchedulerRenderPropParams {\n showScheduler: () => void;\n}\n\ninterface SchedulerRenderProps {\n (params: SchedulerRenderPropParams): React.ReactNode;\n}\n\nexport interface SchedulerProps {\n model: Pick<CmsModel, \"modelId\">;\n render: SchedulerRenderProps;\n getGateway: ISchedulerGetGateway;\n listGateway: ISchedulerListGateway;\n cancelGateway: ISchedulerCancelGateway;\n publishGateway: ISchedulerPublishGateway;\n unpublishGateway: ISchedulerUnpublishGateway;\n onClose?: () => void;\n show?: boolean;\n title?: string;\n}\n\nexport const Scheduler = ({ render, ...rest }: SchedulerProps) => {\n const [show, setShow] = useState(rest.show ?? false);\n\n const showScheduler = useCallback(() => {\n setShow(true);\n }, []);\n\n const onClose = useCallback(() => {\n if (typeof rest.onClose === \"function\") {\n rest.onClose();\n }\n\n setShow(false);\n }, [rest.onClose]);\n\n return (\n <>\n {show && (\n <CompositionScope name={\"scheduler\"}>\n <AcoWithConfig>\n <SchedulerListWithConfig>\n <SchedulerRenderer {...rest} onClose={onClose} />\n </SchedulerListWithConfig>\n </AcoWithConfig>\n </CompositionScope>\n )}\n {render ? render({ showScheduler }) : null}\n </>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AACpD,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,iBAAiB;AAC1B,SAASC,gBAAgB,QAAQ,2BAA2B;AAC5D,SAASC,uBAAuB;AAUhC;AAuBA,OAAO,MAAMC,SAAS,GAAGA,CAAC;EAAEC,MAAM;EAAE,GAAGC;AAAqB,CAAC,KAAK;EAC9D,MAAM,CAACC,IAAI,EAAEC,OAAO,CAAC,GAAGT,QAAQ,CAACO,IAAI,CAACC,IAAI,IAAI,KAAK,CAAC;EAEpD,MAAME,aAAa,GAAGX,WAAW,CAAC,MAAM;IACpCU,OAAO,CAAC,IAAI,CAAC;EACjB,CAAC,EAAE,EAAE,CAAC;EAEN,MAAME,OAAO,GAAGZ,WAAW,CAAC,MAAM;IAC9B,IAAI,OAAOQ,IAAI,CAACI,OAAO,KAAK,UAAU,EAAE;MACpCJ,IAAI,CAACI,OAAO,CAAC,CAAC;IAClB;IAEAF,OAAO,CAAC,KAAK,CAAC;EAClB,CAAC,EAAE,CAACF,IAAI,CAACI,OAAO,CAAC,CAAC;EAElB,oBACIb,KAAA,CAAAc,aAAA,CAAAd,KAAA,CAAAe,QAAA,QACKL,IAAI,iBACDV,KAAA,CAAAc,aAAA,CAACT,gBAAgB;IAACW,IAAI,EAAE;EAAY,gBAChChB,KAAA,CAAAc,aAAA,CAACX,aAAa,qBACVH,KAAA,CAAAc,aAAA,CAACR,uBAAuB,qBACpBN,KAAA,CAAAc,aAAA,CAACV,iBAAiB,EAAAa,MAAA,CAAAC,MAAA,KAAKT,IAAI;IAAEI,OAAO,EAAEA;EAAQ,EAAE,CAC3B,CACd,CACD,CACrB,EACAL,MAAM,GAAGA,MAAM,CAAC;IAAEI;EAAc,CAAC,CAAC,GAAG,IACxC,CAAC;AAEX,CAAC","ignoreList":[]}
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # @webiny/app-headless-cms-scheduler
2
+
3
+ [![](https://img.shields.io/npm/dw/@webiny/app-headless-cms-scheduler.svg)](https://www.npmjs.com/package/@webiny/app-headless-cms-scheduler)
4
+ [![](https://img.shields.io/npm/v/@webiny/app-headless-cms-scheduler.svg)](https://www.npmjs.com/package/@webiny/app-headless-cms-scheduler)
5
+ [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
6
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
7
+
8
+ An app for changing the mailer settings.
9
+
10
+ Use together with [@webiny/api-mailer](../api-mailer) package.
11
+
12
+ ## Install
13
+
14
+ ```
15
+ npm install --save @webiny/app-headless-cms-scheduler
16
+ ```
17
+
18
+ Or if you prefer yarn:
19
+
20
+ ```
21
+ yarn add @webiny/app-headless-cms-scheduler
22
+ ```