@webiny/app-scheduler 6.4.11 → 6.6.0-alpha.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 (538) hide show
  1. package/{Gateways/schema → domain}/schedulerEntry.d.ts +1 -1
  2. package/{Gateways/schema → domain}/schedulerEntry.js +1 -1
  3. package/domain/schedulerEntry.js.map +1 -0
  4. package/features/cancelScheduledAction/CancelScheduledActionGateway.d.ts +11 -0
  5. package/features/cancelScheduledAction/CancelScheduledActionGateway.js +41 -0
  6. package/features/cancelScheduledAction/CancelScheduledActionGateway.js.map +1 -0
  7. package/features/cancelScheduledAction/abstractions.d.ts +11 -0
  8. package/features/cancelScheduledAction/abstractions.js +5 -0
  9. package/features/cancelScheduledAction/abstractions.js.map +1 -0
  10. package/features/cancelScheduledAction/feature.d.ts +1 -0
  11. package/features/cancelScheduledAction/feature.js +11 -0
  12. package/features/cancelScheduledAction/feature.js.map +1 -0
  13. package/features/feature.d.ts +1 -0
  14. package/features/feature.js +19 -0
  15. package/features/feature.js.map +1 -0
  16. package/features/getScheduledAction/GetScheduledActionGateway.d.ts +11 -0
  17. package/features/getScheduledAction/GetScheduledActionGateway.js +57 -0
  18. package/features/getScheduledAction/GetScheduledActionGateway.js.map +1 -0
  19. package/{Gateways/abstractions/GetScheduledActionGateway.d.ts → features/getScheduledAction/abstractions.d.ts} +4 -0
  20. package/features/getScheduledAction/abstractions.js +5 -0
  21. package/features/getScheduledAction/abstractions.js.map +1 -0
  22. package/features/getScheduledAction/feature.d.ts +1 -0
  23. package/features/getScheduledAction/feature.js +11 -0
  24. package/features/getScheduledAction/feature.js.map +1 -0
  25. package/features/graphqlFields.d.ts +2 -0
  26. package/features/graphqlFields.js +23 -0
  27. package/features/graphqlFields.js.map +1 -0
  28. package/features/listScheduledActions/ListScheduledActionsGateway.d.ts +11 -0
  29. package/features/listScheduledActions/ListScheduledActionsGateway.js +84 -0
  30. package/features/listScheduledActions/ListScheduledActionsGateway.js.map +1 -0
  31. package/{Gateways/abstractions/ListScheduledActionsGateway.d.ts → features/listScheduledActions/abstractions.d.ts} +5 -2
  32. package/features/listScheduledActions/abstractions.js +5 -0
  33. package/features/listScheduledActions/abstractions.js.map +1 -0
  34. package/features/listScheduledActions/feature.d.ts +1 -0
  35. package/features/listScheduledActions/feature.js +11 -0
  36. package/features/listScheduledActions/feature.js.map +1 -0
  37. package/features/schedulePublishAction/SchedulePublishActionGateway.d.ts +11 -0
  38. package/features/schedulePublishAction/SchedulePublishActionGateway.js +67 -0
  39. package/features/schedulePublishAction/SchedulePublishActionGateway.js.map +1 -0
  40. package/{Gateways/abstractions/SchedulePublishActionGateway.d.ts → features/schedulePublishAction/abstractions.d.ts} +4 -0
  41. package/features/schedulePublishAction/abstractions.js +5 -0
  42. package/features/schedulePublishAction/abstractions.js.map +1 -0
  43. package/features/schedulePublishAction/feature.d.ts +1 -0
  44. package/features/schedulePublishAction/feature.js +11 -0
  45. package/features/schedulePublishAction/feature.js.map +1 -0
  46. package/features/scheduleUnpublishAction/ScheduleUnpublishActionGateway.d.ts +11 -0
  47. package/features/scheduleUnpublishAction/ScheduleUnpublishActionGateway.js +71 -0
  48. package/features/scheduleUnpublishAction/ScheduleUnpublishActionGateway.js.map +1 -0
  49. package/{Gateways/abstractions/ScheduleUnpublishActionGateway.d.ts → features/scheduleUnpublishAction/abstractions.d.ts} +4 -0
  50. package/features/scheduleUnpublishAction/abstractions.js +5 -0
  51. package/features/scheduleUnpublishAction/abstractions.js.map +1 -0
  52. package/features/scheduleUnpublishAction/feature.d.ts +1 -0
  53. package/features/scheduleUnpublishAction/feature.js +11 -0
  54. package/features/scheduleUnpublishAction/feature.js.map +1 -0
  55. package/index.d.ts +9 -1
  56. package/index.js +17 -1
  57. package/index.js.map +1 -0
  58. package/package.json +17 -18
  59. package/{Presentation → presentation}/SchedulerConfigs/SchedulerConfigs.js.map +1 -1
  60. package/{Presentation → presentation}/components/Actions/CancelItem/CancelItem.js +2 -3
  61. package/presentation/components/Actions/CancelItem/CancelItem.js.map +1 -0
  62. package/{Presentation → presentation}/components/BottomInfoBar/BottomInfoBar.styled.js.map +1 -1
  63. package/{Presentation → presentation}/components/BottomInfoBar/ListMeta.js.map +1 -1
  64. package/{Presentation → presentation}/components/BottomInfoBar/ListStatus.js.map +1 -1
  65. package/{Presentation → presentation}/components/Cells/CellActions/CellActions.js.map +1 -1
  66. package/{Presentation → presentation}/components/Cells/CellRevision/CellRevision.js.map +1 -1
  67. package/{Presentation → presentation}/components/Cells/CellRevision/CellRevision.styled.js.map +1 -1
  68. package/{Presentation → presentation}/components/Cells/CellScheduledBy/CellScheduledBy.js.map +1 -1
  69. package/{Presentation → presentation}/components/Cells/CellScheduledOn/CellScheduledOn.js +3 -1
  70. package/presentation/components/Cells/CellScheduledOn/CellScheduledOn.js.map +1 -0
  71. package/{Presentation → presentation}/components/Cells/CellTitle/CellTitle.js.map +1 -1
  72. package/{Presentation → presentation}/components/Cells/CellTitle/CellTitle.styled.js.map +1 -1
  73. package/{Presentation → presentation}/components/Cells/CellType/CellActionType.js.map +1 -1
  74. package/{Presentation → presentation}/components/Cells/CellType/CellActionType.styled.js.map +1 -1
  75. package/{Presentation → presentation}/components/Empty/Empty.styled.js.map +1 -1
  76. package/{Presentation → presentation}/components/Title/Title.js.map +1 -1
  77. package/{Presentation → presentation}/components/Title/Title.styled.js.map +1 -1
  78. package/{Presentation → presentation}/configs/list/Browser/EntryAction.d.ts +2 -1
  79. package/{Presentation → presentation}/configs/list/Browser/EntryAction.js.map +1 -1
  80. package/{Presentation → presentation}/configs/list/Browser/Table/Column.d.ts +4 -3
  81. package/{Presentation → presentation}/configs/list/Browser/Table/Column.js.map +1 -1
  82. package/{Presentation → presentation}/configs/list/Browser/Table/Sorting.js.map +1 -1
  83. package/presentation/configs/list/Browser/Table/index.d.ts +19 -0
  84. package/{Presentation → presentation}/configs/list/Browser/Table/index.js.map +1 -1
  85. package/presentation/configs/list/Browser/index.d.ts +23 -0
  86. package/{Presentation → presentation}/configs/list/Browser/index.js.map +1 -1
  87. package/{Presentation → presentation}/configs/list/SchedulerListConfig.d.ts +8 -6
  88. package/{Presentation → presentation}/configs/list/SchedulerListConfig.js.map +1 -1
  89. package/{Presentation → presentation}/hooks/index.d.ts +0 -1
  90. package/{Presentation → presentation}/hooks/index.js +0 -1
  91. package/{Presentation → presentation}/hooks/useCancelSchedulerItem.js +12 -7
  92. package/presentation/hooks/useCancelSchedulerItem.js.map +1 -0
  93. package/{Presentation → presentation}/hooks/useSchedulerItem.js.map +1 -1
  94. package/presentation/scheduleDialog/ScheduleDialogPresenter.d.ts +26 -0
  95. package/{Presentation/components/ScheduleDialog → presentation/scheduleDialog}/ScheduleDialogPresenter.js +38 -9
  96. package/presentation/scheduleDialog/ScheduleDialogPresenter.js.map +1 -0
  97. package/{Presentation/components/ScheduleDialog/IScheduleDialogPresenter.d.ts → presentation/scheduleDialog/abstractions.d.ts} +10 -1
  98. package/presentation/scheduleDialog/abstractions.js +5 -0
  99. package/presentation/scheduleDialog/abstractions.js.map +1 -0
  100. package/presentation/scheduleDialog/components/CancelButtonComponent.d.ts +10 -0
  101. package/presentation/scheduleDialog/components/CancelButtonComponent.js +20 -0
  102. package/presentation/scheduleDialog/components/CancelButtonComponent.js.map +1 -0
  103. package/presentation/scheduleDialog/components/FormComponent.d.ts +9 -0
  104. package/presentation/scheduleDialog/components/FormComponent.js +32 -0
  105. package/presentation/scheduleDialog/components/FormComponent.js.map +1 -0
  106. package/presentation/scheduleDialog/components/ReschedulingAlert.d.ts +7 -0
  107. package/presentation/scheduleDialog/components/ReschedulingAlert.js +14 -0
  108. package/presentation/scheduleDialog/components/ReschedulingAlert.js.map +1 -0
  109. package/{Presentation/components/ScheduleDialog/useScheduleDialog.d.ts → presentation/scheduleDialog/components/SchedulerDialogFormComponentDateTimeInput.d.ts} +1 -18
  110. package/presentation/scheduleDialog/components/SchedulerDialogFormComponentDateTimeInput.js +15 -0
  111. package/presentation/scheduleDialog/components/SchedulerDialogFormComponentDateTimeInput.js.map +1 -0
  112. package/presentation/scheduleDialog/createMinDateValidator.d.ts +7 -0
  113. package/presentation/scheduleDialog/createMinDateValidator.js +14 -0
  114. package/presentation/scheduleDialog/createMinDateValidator.js.map +1 -0
  115. package/presentation/scheduleDialog/feature.d.ts +3 -0
  116. package/presentation/scheduleDialog/feature.js +17 -0
  117. package/presentation/scheduleDialog/feature.js.map +1 -0
  118. package/presentation/scheduleDialog/useScheduleDialog.d.ts +20 -0
  119. package/presentation/scheduleDialog/useScheduleDialog.js +128 -0
  120. package/presentation/scheduleDialog/useScheduleDialog.js.map +1 -0
  121. package/{Presentation/index.d.ts → presentation/schedulerList/Scheduler.d.ts} +2 -9
  122. package/presentation/schedulerList/Scheduler.js +28 -0
  123. package/presentation/schedulerList/Scheduler.js.map +1 -0
  124. package/presentation/schedulerList/SchedulerListDataSource.d.ts +15 -0
  125. package/presentation/schedulerList/SchedulerListDataSource.js +41 -0
  126. package/presentation/schedulerList/SchedulerListDataSource.js.map +1 -0
  127. package/presentation/schedulerList/SchedulerListPresenter.d.ts +21 -0
  128. package/presentation/schedulerList/SchedulerListPresenter.js +47 -0
  129. package/presentation/schedulerList/SchedulerListPresenter.js.map +1 -0
  130. package/presentation/schedulerList/abstractions.d.ts +13 -0
  131. package/presentation/schedulerList/abstractions.js +5 -0
  132. package/presentation/schedulerList/abstractions.js.map +1 -0
  133. package/presentation/schedulerList/components/BottomInfoBar.d.ts +9 -0
  134. package/presentation/schedulerList/components/BottomInfoBar.js +18 -0
  135. package/presentation/schedulerList/components/BottomInfoBar.js.map +1 -0
  136. package/presentation/schedulerList/components/Empty.d.ts +9 -0
  137. package/{Presentation/components/Empty → presentation/schedulerList/components}/Empty.js +6 -6
  138. package/presentation/schedulerList/components/Empty.js.map +1 -0
  139. package/presentation/schedulerList/components/SchedulerListView.d.ts +8 -0
  140. package/presentation/schedulerList/components/SchedulerListView.js +40 -0
  141. package/presentation/schedulerList/components/SchedulerListView.js.map +1 -0
  142. package/presentation/schedulerList/components/SchedulerOverlay.d.ts +11 -0
  143. package/presentation/schedulerList/components/SchedulerOverlay.js +38 -0
  144. package/presentation/schedulerList/components/SchedulerOverlay.js.map +1 -0
  145. package/presentation/schedulerList/components/SchedulerTable.d.ts +9 -0
  146. package/presentation/schedulerList/components/SchedulerTable.js +48 -0
  147. package/presentation/schedulerList/components/SchedulerTable.js.map +1 -0
  148. package/presentation/schedulerList/components/SearchInput.d.ts +9 -0
  149. package/{Presentation/components/SearchInput → presentation/schedulerList/components}/SearchInput.js +8 -8
  150. package/presentation/schedulerList/components/SearchInput.js.map +1 -0
  151. package/presentation/schedulerList/feature.d.ts +3 -0
  152. package/presentation/schedulerList/feature.js +17 -0
  153. package/presentation/schedulerList/feature.js.map +1 -0
  154. package/presentation/schedulerList/useSchedulerListPresenter.d.ts +1 -0
  155. package/presentation/schedulerList/useSchedulerListPresenter.js +6 -0
  156. package/presentation/schedulerList/useSchedulerListPresenter.js.map +1 -0
  157. package/types.d.ts +0 -7
  158. package/types.js +1 -9
  159. package/types.js.map +1 -1
  160. package/Domain/Models/SchedulerItem/SchedulerItem.d.ts +0 -13
  161. package/Domain/Models/SchedulerItem/SchedulerItem.js +0 -18
  162. package/Domain/Models/SchedulerItem/SchedulerItem.js.map +0 -1
  163. package/Domain/Models/SchedulerItem/index.d.ts +0 -1
  164. package/Domain/Models/SchedulerItem/index.js +0 -1
  165. package/Domain/Models/index.d.ts +0 -1
  166. package/Domain/Models/index.js +0 -1
  167. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.d.ts +0 -14
  168. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js +0 -0
  169. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.d.ts +0 -36
  170. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js +0 -119
  171. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js.map +0 -1
  172. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.d.ts +0 -19
  173. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js +0 -18
  174. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js.map +0 -1
  175. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.d.ts +0 -17
  176. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js +0 -39
  177. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js.map +0 -1
  178. package/Domain/Repositories/SchedulerItems/index.d.ts +0 -4
  179. package/Domain/Repositories/SchedulerItems/index.js +0 -3
  180. package/Domain/Repositories/Search/ISearchRepository.d.ts +0 -4
  181. package/Domain/Repositories/Search/ISearchRepository.js +0 -0
  182. package/Domain/Repositories/Search/SearchRepository.d.ts +0 -7
  183. package/Domain/Repositories/Search/SearchRepository.js +0 -16
  184. package/Domain/Repositories/Search/SearchRepository.js.map +0 -1
  185. package/Domain/Repositories/Search/SearchRepositoryFactory.d.ts +0 -7
  186. package/Domain/Repositories/Search/SearchRepositoryFactory.js +0 -18
  187. package/Domain/Repositories/Search/SearchRepositoryFactory.js.map +0 -1
  188. package/Domain/Repositories/Search/index.d.ts +0 -3
  189. package/Domain/Repositories/Search/index.js +0 -2
  190. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.d.ts +0 -8
  191. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js +0 -0
  192. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.d.ts +0 -12
  193. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js +0 -28
  194. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js.map +0 -1
  195. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.d.ts +0 -7
  196. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js +0 -18
  197. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js.map +0 -1
  198. package/Domain/Repositories/SelectedItems/index.d.ts +0 -3
  199. package/Domain/Repositories/SelectedItems/index.js +0 -2
  200. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.d.ts +0 -8
  201. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js +0 -21
  202. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js.map +0 -1
  203. package/Domain/Repositories/Sorting/index.d.ts +0 -1
  204. package/Domain/Repositories/Sorting/index.js +0 -1
  205. package/Domain/Repositories/index.d.ts +0 -4
  206. package/Domain/Repositories/index.js +0 -4
  207. package/Domain/index.d.ts +0 -2
  208. package/Domain/index.js +0 -2
  209. package/Gateways/SchedulerCancelGraphQLGateway.d.ts +0 -7
  210. package/Gateways/SchedulerCancelGraphQLGateway.js +0 -42
  211. package/Gateways/SchedulerCancelGraphQLGateway.js.map +0 -1
  212. package/Gateways/SchedulerGetGraphQLGateway.d.ts +0 -21
  213. package/Gateways/SchedulerGetGraphQLGateway.js +0 -68
  214. package/Gateways/SchedulerGetGraphQLGateway.js.map +0 -1
  215. package/Gateways/SchedulerListGraphQLGateway.d.ts +0 -7
  216. package/Gateways/SchedulerListGraphQLGateway.js +0 -86
  217. package/Gateways/SchedulerListGraphQLGateway.js.map +0 -1
  218. package/Gateways/SchedulerPublishGraphQLGateway.d.ts +0 -7
  219. package/Gateways/SchedulerPublishGraphQLGateway.js +0 -59
  220. package/Gateways/SchedulerPublishGraphQLGateway.js.map +0 -1
  221. package/Gateways/SchedulerUnpublishGraphQLGateway.d.ts +0 -23
  222. package/Gateways/SchedulerUnpublishGraphQLGateway.js +0 -63
  223. package/Gateways/SchedulerUnpublishGraphQLGateway.js.map +0 -1
  224. package/Gateways/abstractions/CancelScheduledActionGateway.d.ts +0 -7
  225. package/Gateways/abstractions/CancelScheduledActionGateway.js +0 -0
  226. package/Gateways/abstractions/GetScheduledActionGateway.js +0 -0
  227. package/Gateways/abstractions/ListScheduledActionsGateway.js +0 -0
  228. package/Gateways/abstractions/SchedulePublishActionGateway.js +0 -0
  229. package/Gateways/abstractions/ScheduleUnpublishActionGateway.js +0 -0
  230. package/Gateways/graphql/fields.d.ts +0 -1
  231. package/Gateways/graphql/fields.js +0 -17
  232. package/Gateways/graphql/fields.js.map +0 -1
  233. package/Gateways/index.d.ts +0 -5
  234. package/Gateways/index.js +0 -0
  235. package/Gateways/schema/schedulerEntry.js.map +0 -1
  236. package/Presentation/Scheduler/Scheduler.d.ts +0 -17
  237. package/Presentation/Scheduler/Scheduler.js +0 -78
  238. package/Presentation/Scheduler/Scheduler.js.map +0 -1
  239. package/Presentation/Scheduler/SchedulerControllers.d.ts +0 -30
  240. package/Presentation/Scheduler/SchedulerControllers.js +0 -54
  241. package/Presentation/Scheduler/SchedulerControllers.js.map +0 -1
  242. package/Presentation/Scheduler/SchedulerPresenter.d.ts +0 -32
  243. package/Presentation/Scheduler/SchedulerPresenter.js +0 -45
  244. package/Presentation/Scheduler/SchedulerPresenter.js.map +0 -1
  245. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.d.ts +0 -7
  246. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js +0 -12
  247. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js.map +0 -1
  248. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.d.ts +0 -3
  249. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js +0 -0
  250. package/Presentation/Scheduler/controllers/CancelItem/index.d.ts +0 -2
  251. package/Presentation/Scheduler/controllers/CancelItem/index.js +0 -1
  252. package/Presentation/Scheduler/controllers/GetItem/GetItemController.d.ts +0 -8
  253. package/Presentation/Scheduler/controllers/GetItem/GetItemController.js +0 -12
  254. package/Presentation/Scheduler/controllers/GetItem/GetItemController.js.map +0 -1
  255. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.d.ts +0 -4
  256. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js +0 -0
  257. package/Presentation/Scheduler/controllers/GetItem/index.d.ts +0 -2
  258. package/Presentation/Scheduler/controllers/GetItem/index.js +0 -1
  259. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.d.ts +0 -4
  260. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js +0 -0
  261. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.d.ts +0 -8
  262. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js +0 -12
  263. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js.map +0 -1
  264. package/Presentation/Scheduler/controllers/ListItems/index.d.ts +0 -2
  265. package/Presentation/Scheduler/controllers/ListItems/index.js +0 -1
  266. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.d.ts +0 -3
  267. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js +0 -0
  268. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.d.ts +0 -7
  269. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js +0 -12
  270. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js.map +0 -1
  271. package/Presentation/Scheduler/controllers/ListMoreItems/index.d.ts +0 -2
  272. package/Presentation/Scheduler/controllers/ListMoreItems/index.js +0 -1
  273. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.d.ts +0 -3
  274. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js +0 -0
  275. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.d.ts +0 -7
  276. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js +0 -12
  277. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js.map +0 -1
  278. package/Presentation/Scheduler/controllers/PublishItem/index.d.ts +0 -2
  279. package/Presentation/Scheduler/controllers/PublishItem/index.js +0 -1
  280. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.d.ts +0 -3
  281. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js +0 -0
  282. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.d.ts +0 -8
  283. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js +0 -15
  284. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js.map +0 -1
  285. package/Presentation/Scheduler/controllers/SearchItems/index.d.ts +0 -2
  286. package/Presentation/Scheduler/controllers/SearchItems/index.js +0 -1
  287. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.d.ts +0 -3
  288. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js +0 -0
  289. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.d.ts +0 -7
  290. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js +0 -12
  291. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js.map +0 -1
  292. package/Presentation/Scheduler/controllers/SelectAllItems/index.d.ts +0 -2
  293. package/Presentation/Scheduler/controllers/SelectAllItems/index.js +0 -1
  294. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.d.ts +0 -4
  295. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js +0 -0
  296. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.d.ts +0 -8
  297. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js +0 -14
  298. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js.map +0 -1
  299. package/Presentation/Scheduler/controllers/SelectItems/index.d.ts +0 -2
  300. package/Presentation/Scheduler/controllers/SelectItems/index.js +0 -1
  301. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.d.ts +0 -4
  302. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js +0 -0
  303. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.d.ts +0 -9
  304. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js +0 -18
  305. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js.map +0 -1
  306. package/Presentation/Scheduler/controllers/SortItems/index.d.ts +0 -2
  307. package/Presentation/Scheduler/controllers/SortItems/index.js +0 -1
  308. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.d.ts +0 -3
  309. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js +0 -0
  310. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.d.ts +0 -7
  311. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js +0 -12
  312. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js.map +0 -1
  313. package/Presentation/Scheduler/controllers/UnpublishItem/index.d.ts +0 -2
  314. package/Presentation/Scheduler/controllers/UnpublishItem/index.js +0 -1
  315. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.d.ts +0 -3
  316. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js +0 -0
  317. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.d.ts +0 -7
  318. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js +0 -12
  319. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js.map +0 -1
  320. package/Presentation/Scheduler/controllers/UnselectAllItems/index.d.ts +0 -2
  321. package/Presentation/Scheduler/controllers/UnselectAllItems/index.js +0 -1
  322. package/Presentation/Scheduler/controllers/index.d.ts +0 -11
  323. package/Presentation/Scheduler/controllers/index.js +0 -11
  324. package/Presentation/Scheduler/index.d.ts +0 -1
  325. package/Presentation/Scheduler/index.js +0 -1
  326. package/Presentation/SchedulerRenderer/SchedulerRenderer.d.ts +0 -6
  327. package/Presentation/SchedulerRenderer/SchedulerRenderer.js +0 -16
  328. package/Presentation/SchedulerRenderer/SchedulerRenderer.js.map +0 -1
  329. package/Presentation/SchedulerRenderer/index.d.ts +0 -1
  330. package/Presentation/SchedulerRenderer/index.js +0 -1
  331. package/Presentation/abstractions/ISchedulerControllers.d.ts +0 -14
  332. package/Presentation/abstractions/ISchedulerControllers.js +0 -0
  333. package/Presentation/abstractions/ISchedulerPresenter.d.ts +0 -20
  334. package/Presentation/abstractions/ISchedulerPresenter.js +0 -0
  335. package/Presentation/abstractions/index.d.ts +0 -2
  336. package/Presentation/abstractions/index.js +0 -0
  337. package/Presentation/components/Actions/CancelItem/CancelItem.js.map +0 -1
  338. package/Presentation/components/BottomInfoBar/BottomInfoBar.d.ts +0 -2
  339. package/Presentation/components/BottomInfoBar/BottomInfoBar.js +0 -19
  340. package/Presentation/components/BottomInfoBar/BottomInfoBar.js.map +0 -1
  341. package/Presentation/components/BottomInfoBar/index.d.ts +0 -1
  342. package/Presentation/components/BottomInfoBar/index.js +0 -1
  343. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js.map +0 -1
  344. package/Presentation/components/Empty/Empty.d.ts +0 -2
  345. package/Presentation/components/Empty/Empty.js.map +0 -1
  346. package/Presentation/components/Empty/index.d.ts +0 -1
  347. package/Presentation/components/Empty/index.js +0 -1
  348. package/Presentation/components/ScheduleDialog/IScheduleDialogPresenter.js +0 -0
  349. package/Presentation/components/ScheduleDialog/ScheduleDialogPresenter.d.ts +0 -22
  350. package/Presentation/components/ScheduleDialog/ScheduleDialogPresenter.js.map +0 -1
  351. package/Presentation/components/ScheduleDialog/index.d.ts +0 -1
  352. package/Presentation/components/ScheduleDialog/index.js +0 -1
  353. package/Presentation/components/ScheduleDialog/types.d.ts +0 -15
  354. package/Presentation/components/ScheduleDialog/types.js +0 -0
  355. package/Presentation/components/ScheduleDialog/useScheduleDialog.js +0 -192
  356. package/Presentation/components/ScheduleDialog/useScheduleDialog.js.map +0 -1
  357. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.d.ts +0 -7
  358. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js +0 -30
  359. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js.map +0 -1
  360. package/Presentation/components/SchedulerOverlay/index.d.ts +0 -1
  361. package/Presentation/components/SchedulerOverlay/index.js +0 -1
  362. package/Presentation/components/SearchInput/SearchInput.d.ts +0 -2
  363. package/Presentation/components/SearchInput/SearchInput.js.map +0 -1
  364. package/Presentation/components/SearchInput/index.d.ts +0 -1
  365. package/Presentation/components/SearchInput/index.js +0 -1
  366. package/Presentation/components/Table/Table.d.ts +0 -2
  367. package/Presentation/components/Table/Table.js +0 -29
  368. package/Presentation/components/Table/Table.js.map +0 -1
  369. package/Presentation/components/Table/index.d.ts +0 -1
  370. package/Presentation/components/Table/index.js +0 -1
  371. package/Presentation/configs/list/Browser/Table/index.d.ts +0 -18
  372. package/Presentation/configs/list/Browser/index.d.ts +0 -23
  373. package/Presentation/hooks/useCancelSchedulerItem.js.map +0 -1
  374. package/Presentation/hooks/useScheduler.d.ts +0 -28
  375. package/Presentation/hooks/useScheduler.js +0 -68
  376. package/Presentation/hooks/useScheduler.js.map +0 -1
  377. package/Presentation/index.js +0 -49
  378. package/Presentation/index.js.map +0 -1
  379. package/UseCases/CancelItem/CancelItemUseCase.d.ts +0 -7
  380. package/UseCases/CancelItem/CancelItemUseCase.js +0 -13
  381. package/UseCases/CancelItem/CancelItemUseCase.js.map +0 -1
  382. package/UseCases/CancelItem/ICancelItemUseCase.d.ts +0 -3
  383. package/UseCases/CancelItem/ICancelItemUseCase.js +0 -0
  384. package/UseCases/CancelItem/index.d.ts +0 -2
  385. package/UseCases/CancelItem/index.js +0 -1
  386. package/UseCases/GetItem/GetItemUseCase.d.ts +0 -8
  387. package/UseCases/GetItem/GetItemUseCase.js +0 -13
  388. package/UseCases/GetItem/GetItemUseCase.js.map +0 -1
  389. package/UseCases/GetItem/IGetItemUseCase.d.ts +0 -4
  390. package/UseCases/GetItem/IGetItemUseCase.js +0 -0
  391. package/UseCases/GetItem/index.d.ts +0 -2
  392. package/UseCases/GetItem/index.js +0 -1
  393. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.d.ts +0 -7
  394. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js +0 -14
  395. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js.map +0 -1
  396. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.d.ts +0 -4
  397. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js +0 -0
  398. package/UseCases/GetScheduledItem/index.d.ts +0 -2
  399. package/UseCases/GetScheduledItem/index.js +0 -1
  400. package/UseCases/ListItems/IListItemsUseCase.d.ts +0 -4
  401. package/UseCases/ListItems/IListItemsUseCase.js +0 -0
  402. package/UseCases/ListItems/ListItemsUseCase.d.ts +0 -8
  403. package/UseCases/ListItems/ListItemsUseCase.js +0 -13
  404. package/UseCases/ListItems/ListItemsUseCase.js.map +0 -1
  405. package/UseCases/ListItems/ListItemsUseCaseWithSearch.d.ts +0 -9
  406. package/UseCases/ListItems/ListItemsUseCaseWithSearch.js +0 -23
  407. package/UseCases/ListItems/ListItemsUseCaseWithSearch.js.map +0 -1
  408. package/UseCases/ListItems/ListItemsUseCaseWithSorting.d.ts +0 -9
  409. package/UseCases/ListItems/ListItemsUseCaseWithSorting.js +0 -21
  410. package/UseCases/ListItems/ListItemsUseCaseWithSorting.js.map +0 -1
  411. package/UseCases/ListItems/index.d.ts +0 -4
  412. package/UseCases/ListItems/index.js +0 -3
  413. package/UseCases/ListMoreItems/IListMoreItemsUseCase.d.ts +0 -3
  414. package/UseCases/ListMoreItems/IListMoreItemsUseCase.js +0 -0
  415. package/UseCases/ListMoreItems/ListMoreItemsUseCase.d.ts +0 -7
  416. package/UseCases/ListMoreItems/ListMoreItemsUseCase.js +0 -13
  417. package/UseCases/ListMoreItems/ListMoreItemsUseCase.js.map +0 -1
  418. package/UseCases/ListMoreItems/index.d.ts +0 -2
  419. package/UseCases/ListMoreItems/index.js +0 -1
  420. package/UseCases/PublishItem/IPublishItemUseCase.d.ts +0 -3
  421. package/UseCases/PublishItem/IPublishItemUseCase.js +0 -0
  422. package/UseCases/PublishItem/PublishItemUseCase.d.ts +0 -7
  423. package/UseCases/PublishItem/PublishItemUseCase.js +0 -13
  424. package/UseCases/PublishItem/PublishItemUseCase.js.map +0 -1
  425. package/UseCases/PublishItem/index.d.ts +0 -2
  426. package/UseCases/PublishItem/index.js +0 -1
  427. package/UseCases/SearchItems/ISearchItemsUseCase.d.ts +0 -3
  428. package/UseCases/SearchItems/ISearchItemsUseCase.js +0 -0
  429. package/UseCases/SearchItems/SearchItemsUseCase.d.ts +0 -7
  430. package/UseCases/SearchItems/SearchItemsUseCase.js +0 -13
  431. package/UseCases/SearchItems/SearchItemsUseCase.js.map +0 -1
  432. package/UseCases/SearchItems/index.d.ts +0 -2
  433. package/UseCases/SearchItems/index.js +0 -1
  434. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.d.ts +0 -3
  435. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js +0 -0
  436. package/UseCases/SelectAllItems/SelectAllItemsUseCase.d.ts +0 -7
  437. package/UseCases/SelectAllItems/SelectAllItemsUseCase.js +0 -13
  438. package/UseCases/SelectAllItems/SelectAllItemsUseCase.js.map +0 -1
  439. package/UseCases/SelectAllItems/index.d.ts +0 -2
  440. package/UseCases/SelectAllItems/index.js +0 -1
  441. package/UseCases/SelectItems/ISelectItemsUseCase.d.ts +0 -4
  442. package/UseCases/SelectItems/ISelectItemsUseCase.js +0 -0
  443. package/UseCases/SelectItems/SelectItemsUseCase.d.ts +0 -7
  444. package/UseCases/SelectItems/SelectItemsUseCase.js +0 -13
  445. package/UseCases/SelectItems/SelectItemsUseCase.js.map +0 -1
  446. package/UseCases/SelectItems/index.d.ts +0 -2
  447. package/UseCases/SelectItems/index.js +0 -1
  448. package/UseCases/SortItems/ISortItemsUseCase.d.ts +0 -4
  449. package/UseCases/SortItems/ISortItemsUseCase.js +0 -0
  450. package/UseCases/SortItems/SortItemsUseCase.d.ts +0 -7
  451. package/UseCases/SortItems/SortItemsUseCase.js +0 -13
  452. package/UseCases/SortItems/SortItemsUseCase.js.map +0 -1
  453. package/UseCases/SortItems/index.d.ts +0 -2
  454. package/UseCases/SortItems/index.js +0 -1
  455. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.d.ts +0 -3
  456. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js +0 -0
  457. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.d.ts +0 -7
  458. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js +0 -13
  459. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js.map +0 -1
  460. package/UseCases/UnSelectAllItems/index.d.ts +0 -2
  461. package/UseCases/UnSelectAllItems/index.js +0 -1
  462. package/UseCases/UnpublishItem/IUnpublishItemUseCase.d.ts +0 -3
  463. package/UseCases/UnpublishItem/IUnpublishItemUseCase.js +0 -0
  464. package/UseCases/UnpublishItem/UnpublishItemUseCase.d.ts +0 -7
  465. package/UseCases/UnpublishItem/UnpublishItemUseCase.js +0 -13
  466. package/UseCases/UnpublishItem/UnpublishItemUseCase.js.map +0 -1
  467. package/UseCases/UnpublishItem/index.d.ts +0 -2
  468. package/UseCases/UnpublishItem/index.js +0 -1
  469. package/UseCases/index.d.ts +0 -11
  470. package/UseCases/index.js +0 -11
  471. /package/{Presentation → presentation}/SchedulerConfigs/SchedulerConfigs.d.ts +0 -0
  472. /package/{Presentation → presentation}/SchedulerConfigs/SchedulerConfigs.js +0 -0
  473. /package/{Presentation → presentation}/SchedulerConfigs/index.d.ts +0 -0
  474. /package/{Presentation → presentation}/SchedulerConfigs/index.js +0 -0
  475. /package/{Presentation → presentation}/components/Actions/CancelItem/CancelItem.d.ts +0 -0
  476. /package/{Presentation → presentation}/components/Actions/CancelItem/index.d.ts +0 -0
  477. /package/{Presentation → presentation}/components/Actions/CancelItem/index.js +0 -0
  478. /package/{Presentation → presentation}/components/Actions/index.d.ts +0 -0
  479. /package/{Presentation → presentation}/components/Actions/index.js +0 -0
  480. /package/{Presentation → presentation}/components/BottomInfoBar/BottomInfoBar.styled.d.ts +0 -0
  481. /package/{Presentation → presentation}/components/BottomInfoBar/BottomInfoBar.styled.js +0 -0
  482. /package/{Presentation → presentation}/components/BottomInfoBar/ListMeta.d.ts +0 -0
  483. /package/{Presentation → presentation}/components/BottomInfoBar/ListMeta.js +0 -0
  484. /package/{Presentation → presentation}/components/BottomInfoBar/ListStatus.d.ts +0 -0
  485. /package/{Presentation → presentation}/components/BottomInfoBar/ListStatus.js +0 -0
  486. /package/{Presentation → presentation}/components/Cells/CellActions/CellActions.d.ts +0 -0
  487. /package/{Presentation → presentation}/components/Cells/CellActions/CellActions.js +0 -0
  488. /package/{Presentation → presentation}/components/Cells/CellActions/index.d.ts +0 -0
  489. /package/{Presentation → presentation}/components/Cells/CellActions/index.js +0 -0
  490. /package/{Presentation → presentation}/components/Cells/CellRevision/CellRevision.d.ts +0 -0
  491. /package/{Presentation → presentation}/components/Cells/CellRevision/CellRevision.js +0 -0
  492. /package/{Presentation → presentation}/components/Cells/CellRevision/CellRevision.styled.d.ts +0 -0
  493. /package/{Presentation → presentation}/components/Cells/CellRevision/CellRevision.styled.js +0 -0
  494. /package/{Presentation → presentation}/components/Cells/CellRevision/index.d.ts +0 -0
  495. /package/{Presentation → presentation}/components/Cells/CellRevision/index.js +0 -0
  496. /package/{Presentation → presentation}/components/Cells/CellScheduledBy/CellScheduledBy.d.ts +0 -0
  497. /package/{Presentation → presentation}/components/Cells/CellScheduledBy/CellScheduledBy.js +0 -0
  498. /package/{Presentation → presentation}/components/Cells/CellScheduledBy/index.d.ts +0 -0
  499. /package/{Presentation → presentation}/components/Cells/CellScheduledBy/index.js +0 -0
  500. /package/{Presentation → presentation}/components/Cells/CellScheduledOn/CellScheduledOn.d.ts +0 -0
  501. /package/{Presentation → presentation}/components/Cells/CellScheduledOn/index.d.ts +0 -0
  502. /package/{Presentation → presentation}/components/Cells/CellScheduledOn/index.js +0 -0
  503. /package/{Presentation → presentation}/components/Cells/CellTitle/CellTitle.d.ts +0 -0
  504. /package/{Presentation → presentation}/components/Cells/CellTitle/CellTitle.js +0 -0
  505. /package/{Presentation → presentation}/components/Cells/CellTitle/CellTitle.styled.d.ts +0 -0
  506. /package/{Presentation → presentation}/components/Cells/CellTitle/CellTitle.styled.js +0 -0
  507. /package/{Presentation → presentation}/components/Cells/CellTitle/index.d.ts +0 -0
  508. /package/{Presentation → presentation}/components/Cells/CellTitle/index.js +0 -0
  509. /package/{Presentation → presentation}/components/Cells/CellType/CellActionType.d.ts +0 -0
  510. /package/{Presentation → presentation}/components/Cells/CellType/CellActionType.js +0 -0
  511. /package/{Presentation → presentation}/components/Cells/CellType/CellActionType.styled.d.ts +0 -0
  512. /package/{Presentation → presentation}/components/Cells/CellType/CellActionType.styled.js +0 -0
  513. /package/{Presentation → presentation}/components/Cells/CellType/index.d.ts +0 -0
  514. /package/{Presentation → presentation}/components/Cells/CellType/index.js +0 -0
  515. /package/{Presentation → presentation}/components/Cells/index.d.ts +0 -0
  516. /package/{Presentation → presentation}/components/Cells/index.js +0 -0
  517. /package/{Presentation → presentation}/components/Empty/Empty.styled.d.ts +0 -0
  518. /package/{Presentation → presentation}/components/Empty/Empty.styled.js +0 -0
  519. /package/{Presentation → presentation}/components/Title/Title.d.ts +0 -0
  520. /package/{Presentation → presentation}/components/Title/Title.js +0 -0
  521. /package/{Presentation → presentation}/components/Title/Title.styled.d.ts +0 -0
  522. /package/{Presentation → presentation}/components/Title/Title.styled.js +0 -0
  523. /package/{Presentation → presentation}/components/Title/index.d.ts +0 -0
  524. /package/{Presentation → presentation}/components/Title/index.js +0 -0
  525. /package/{Presentation → presentation}/configs/index.d.ts +0 -0
  526. /package/{Presentation → presentation}/configs/index.js +0 -0
  527. /package/{Presentation → presentation}/configs/list/Browser/EntryAction.js +0 -0
  528. /package/{Presentation → presentation}/configs/list/Browser/Table/Column.js +0 -0
  529. /package/{Presentation → presentation}/configs/list/Browser/Table/Sorting.d.ts +0 -0
  530. /package/{Presentation → presentation}/configs/list/Browser/Table/Sorting.js +0 -0
  531. /package/{Presentation → presentation}/configs/list/Browser/Table/index.js +0 -0
  532. /package/{Presentation → presentation}/configs/list/Browser/index.js +0 -0
  533. /package/{Presentation → presentation}/configs/list/SchedulerListConfig.js +0 -0
  534. /package/{Presentation → presentation}/configs/list/index.d.ts +0 -0
  535. /package/{Presentation → presentation}/configs/list/index.js +0 -0
  536. /package/{Presentation → presentation}/hooks/useCancelSchedulerItem.d.ts +0 -0
  537. /package/{Presentation → presentation}/hooks/useSchedulerItem.d.ts +0 -0
  538. /package/{Presentation → presentation}/hooks/useSchedulerItem.js +0 -0
@@ -0,0 +1,11 @@
1
+ import { MainGraphQLClient } from "@webiny/app/features/mainGraphQLClient/abstractions.js";
2
+ import { ScheduleUnpublishActionGateway as GatewayAbstraction, type IScheduleUnpublishActionGatewayExecuteParams, type IScheduleUnpublishActionGatewayExecuteResponse } from "./abstractions.js";
3
+ declare class ScheduleUnpublishActionGatewayImpl implements GatewayAbstraction.Interface {
4
+ private client;
5
+ constructor(client: MainGraphQLClient.Interface);
6
+ execute(params: IScheduleUnpublishActionGatewayExecuteParams): Promise<IScheduleUnpublishActionGatewayExecuteResponse>;
7
+ }
8
+ export declare const ScheduleUnpublishActionGateway: typeof ScheduleUnpublishActionGatewayImpl & {
9
+ __abstraction: import("@webiny/di").Abstraction<import("./abstractions.js").IScheduleUnpublishActionGateway>;
10
+ };
11
+ export {};
@@ -0,0 +1,71 @@
1
+ import { MainGraphQLClient } from "@webiny/app/features/mainGraphQLClient/abstractions.js";
2
+ import zod from "zod";
3
+ import { createZodError } from "@webiny/utils/createZodError.js";
4
+ import { schedulerEntrySchema } from "../../domain/schedulerEntry.js";
5
+ import { ERROR_FIELDS, SCHEDULER_ENTRY_FIELDS } from "../graphqlFields.js";
6
+ import { ScheduleUnpublishActionGateway } from "./abstractions.js";
7
+ import { ScheduleActionType } from "../../types.js";
8
+ const SCHEDULE_UNPUBLISH_ACTION_MUTATION = `
9
+ mutation ScheduleUnpublishAction(
10
+ $namespace: String!
11
+ $targetId: ID!
12
+ $scheduleFor: DateTime
13
+ $actionType: ScheduleRecordType!
14
+ ) {
15
+ scheduler {
16
+ scheduleAction(
17
+ namespace: $namespace
18
+ targetId: $targetId
19
+ scheduleFor: $scheduleFor
20
+ actionType: $actionType
21
+ ) {
22
+ data {
23
+ ${SCHEDULER_ENTRY_FIELDS}
24
+ }
25
+ error {
26
+ ${ERROR_FIELDS}
27
+ }
28
+ }
29
+ }
30
+ }
31
+ `;
32
+ const schema = zod.object({
33
+ data: schedulerEntrySchema
34
+ });
35
+ class ScheduleUnpublishActionGatewayImpl {
36
+ constructor(client){
37
+ this.client = client;
38
+ }
39
+ async execute(params) {
40
+ const response = await this.client.execute({
41
+ query: SCHEDULE_UNPUBLISH_ACTION_MUTATION,
42
+ variables: {
43
+ namespace: params.namespace,
44
+ targetId: params.targetId,
45
+ scheduleFor: params.scheduleOn,
46
+ actionType: ScheduleActionType.unpublish
47
+ }
48
+ });
49
+ const result = response?.scheduler?.scheduleAction;
50
+ if (!result) throw new Error("Network error while creating a schedule.");
51
+ if (!result.data) throw new Error(result.error?.message || "Could execute schedule unpublish action.");
52
+ const validated = await schema.safeParseAsync(result);
53
+ if (!validated.success) {
54
+ const err = createZodError(validated.error);
55
+ console.error(err);
56
+ throw err;
57
+ }
58
+ return {
59
+ item: validated.data.data
60
+ };
61
+ }
62
+ }
63
+ const ScheduleUnpublishActionGateway_ScheduleUnpublishActionGateway = ScheduleUnpublishActionGateway.createImplementation({
64
+ implementation: ScheduleUnpublishActionGatewayImpl,
65
+ dependencies: [
66
+ MainGraphQLClient
67
+ ]
68
+ });
69
+ export { ScheduleUnpublishActionGateway_ScheduleUnpublishActionGateway as ScheduleUnpublishActionGateway };
70
+
71
+ //# sourceMappingURL=ScheduleUnpublishActionGateway.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"features/scheduleUnpublishAction/ScheduleUnpublishActionGateway.js","sources":["../../../src/features/scheduleUnpublishAction/ScheduleUnpublishActionGateway.ts"],"sourcesContent":["import { MainGraphQLClient } from \"@webiny/app/features/mainGraphQLClient/abstractions.js\";\nimport zod from \"zod\";\nimport { createZodError } from \"@webiny/utils/createZodError.js\";\nimport { schedulerEntrySchema } from \"~/domain/schedulerEntry.js\";\nimport { SCHEDULER_ENTRY_FIELDS, ERROR_FIELDS } from \"~/features/graphqlFields.js\";\nimport {\n ScheduleUnpublishActionGateway as GatewayAbstraction,\n type IScheduleUnpublishActionGatewayExecuteParams,\n type IScheduleUnpublishActionGatewayExecuteResponse\n} from \"./abstractions.js\";\nimport { type SchedulerEntry, type SchedulerErrorResponse, ScheduleActionType } from \"~/types.js\";\n\nconst SCHEDULE_UNPUBLISH_ACTION_MUTATION = /* GraphQL */ `\n mutation ScheduleUnpublishAction(\n $namespace: String!\n $targetId: ID!\n $scheduleFor: DateTime\n $actionType: ScheduleRecordType!\n ) {\n scheduler {\n scheduleAction(\n namespace: $namespace\n targetId: $targetId\n scheduleFor: $scheduleFor\n actionType: $actionType\n ) {\n data {\n ${SCHEDULER_ENTRY_FIELDS}\n }\n error {\n ${ERROR_FIELDS}\n }\n }\n }\n }\n`;\n\ninterface ScheduleUnpublishActionResponse {\n scheduler: {\n scheduleAction: {\n data: SchedulerEntry | null;\n error: SchedulerErrorResponse | null;\n };\n };\n}\n\nconst schema = zod.object({\n data: schedulerEntrySchema\n});\n\nclass ScheduleUnpublishActionGatewayImpl implements GatewayAbstraction.Interface {\n constructor(private client: MainGraphQLClient.Interface) {}\n\n async execute(\n params: IScheduleUnpublishActionGatewayExecuteParams\n ): Promise<IScheduleUnpublishActionGatewayExecuteResponse> {\n const response = await this.client.execute<ScheduleUnpublishActionResponse>({\n query: SCHEDULE_UNPUBLISH_ACTION_MUTATION,\n variables: {\n namespace: params.namespace,\n targetId: params.targetId,\n scheduleFor: params.scheduleOn,\n actionType: ScheduleActionType.unpublish\n }\n });\n\n const result = response?.scheduler?.scheduleAction;\n if (!result) {\n throw new Error(\"Network error while creating a schedule.\");\n }\n\n if (!result.data) {\n throw new Error(result.error?.message || \"Could execute schedule unpublish action.\");\n }\n\n const validated = await schema.safeParseAsync(result);\n if (!validated.success) {\n const err = createZodError(validated.error);\n console.error(err);\n throw err;\n }\n\n return {\n item: validated.data.data\n };\n }\n}\n\nexport const ScheduleUnpublishActionGateway = GatewayAbstraction.createImplementation({\n implementation: ScheduleUnpublishActionGatewayImpl,\n dependencies: [MainGraphQLClient]\n});\n"],"names":["SCHEDULE_UNPUBLISH_ACTION_MUTATION","SCHEDULER_ENTRY_FIELDS","ERROR_FIELDS","schema","zod","schedulerEntrySchema","ScheduleUnpublishActionGatewayImpl","client","params","response","ScheduleActionType","result","Error","validated","err","createZodError","console","ScheduleUnpublishActionGateway","GatewayAbstraction","MainGraphQLClient"],"mappings":";;;;;;;AAYA,MAAMA,qCAAmD,CAAC;;;;;;;;;;;;;;;oBAetC,EAAEC,uBAAuB;;;oBAGzB,EAAEC,aAAa;;;;;AAKnC,CAAC;AAWD,MAAMC,SAASC,IAAI,MAAM,CAAC;IACtB,MAAMC;AACV;AAEA,MAAMC;IACF,YAAoBC,MAAmC,CAAE;aAArCA,MAAM,GAANA;IAAsC;IAE1D,MAAM,QACFC,MAAoD,EACG;QACvD,MAAMC,WAAW,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,CAAkC;YACxE,OAAOT;YACP,WAAW;gBACP,WAAWQ,OAAO,SAAS;gBAC3B,UAAUA,OAAO,QAAQ;gBACzB,aAAaA,OAAO,UAAU;gBAC9B,YAAYE,mBAAmB,SAAS;YAC5C;QACJ;QAEA,MAAMC,SAASF,UAAU,WAAW;QACpC,IAAI,CAACE,QACD,MAAM,IAAIC,MAAM;QAGpB,IAAI,CAACD,OAAO,IAAI,EACZ,MAAM,IAAIC,MAAMD,OAAO,KAAK,EAAE,WAAW;QAG7C,MAAME,YAAY,MAAMV,OAAO,cAAc,CAACQ;QAC9C,IAAI,CAACE,UAAU,OAAO,EAAE;YACpB,MAAMC,MAAMC,eAAeF,UAAU,KAAK;YAC1CG,QAAQ,KAAK,CAACF;YACd,MAAMA;QACV;QAEA,OAAO;YACH,MAAMD,UAAU,IAAI,CAAC,IAAI;QAC7B;IACJ;AACJ;AAEO,MAAMI,gEAAiCC,+BAAAA,oBAAuC,CAAC;IAClF,gBAAgBZ;IAChB,cAAc;QAACa;KAAkB;AACrC"}
@@ -10,3 +10,7 @@ export interface IScheduleUnpublishActionGatewayExecuteResponse {
10
10
  export interface IScheduleUnpublishActionGateway {
11
11
  execute(params: IScheduleUnpublishActionGatewayExecuteParams): Promise<IScheduleUnpublishActionGatewayExecuteResponse>;
12
12
  }
13
+ export declare const ScheduleUnpublishActionGateway: import("@webiny/di").Abstraction<IScheduleUnpublishActionGateway>;
14
+ export declare namespace ScheduleUnpublishActionGateway {
15
+ type Interface = IScheduleUnpublishActionGateway;
16
+ }
@@ -0,0 +1,5 @@
1
+ import { createAbstraction } from "@webiny/feature/admin";
2
+ const ScheduleUnpublishActionGateway = createAbstraction("Scheduler/ScheduleUnpublishActionGateway");
3
+ export { ScheduleUnpublishActionGateway };
4
+
5
+ //# sourceMappingURL=abstractions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"features/scheduleUnpublishAction/abstractions.js","sources":["../../../src/features/scheduleUnpublishAction/abstractions.ts"],"sourcesContent":["import { createAbstraction } from \"@webiny/feature/admin\";\nimport type { SchedulerEntry } from \"~/types.js\";\n\nexport interface IScheduleUnpublishActionGatewayExecuteParams {\n namespace: string;\n targetId: string;\n scheduleOn: Date;\n}\n\nexport interface IScheduleUnpublishActionGatewayExecuteResponse {\n item: SchedulerEntry;\n}\n\nexport interface IScheduleUnpublishActionGateway {\n execute(\n params: IScheduleUnpublishActionGatewayExecuteParams\n ): Promise<IScheduleUnpublishActionGatewayExecuteResponse>;\n}\n\nexport const ScheduleUnpublishActionGateway = createAbstraction<IScheduleUnpublishActionGateway>(\n \"Scheduler/ScheduleUnpublishActionGateway\"\n);\n\nexport namespace ScheduleUnpublishActionGateway {\n export type Interface = IScheduleUnpublishActionGateway;\n}\n"],"names":["ScheduleUnpublishActionGateway","createAbstraction"],"mappings":";AAmBO,MAAMA,iCAAiCC,kBAC1C"}
@@ -0,0 +1 @@
1
+ export declare const ScheduleUnpublishActionFeature: import("@webiny/feature/admin").FeatureDefinition<any, []>;
@@ -0,0 +1,11 @@
1
+ import { createFeature } from "@webiny/feature/admin";
2
+ import { ScheduleUnpublishActionGateway } from "./ScheduleUnpublishActionGateway.js";
3
+ const ScheduleUnpublishActionFeature = createFeature({
4
+ name: "Scheduler/ScheduleUnpublishAction",
5
+ register (container) {
6
+ container.register(ScheduleUnpublishActionGateway).inSingletonScope();
7
+ }
8
+ });
9
+ export { ScheduleUnpublishActionFeature };
10
+
11
+ //# sourceMappingURL=feature.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"features/scheduleUnpublishAction/feature.js","sources":["../../../src/features/scheduleUnpublishAction/feature.ts"],"sourcesContent":["import { createFeature } from \"@webiny/feature/admin\";\nimport { ScheduleUnpublishActionGateway } from \"./ScheduleUnpublishActionGateway.js\";\n\nexport const ScheduleUnpublishActionFeature = createFeature({\n name: \"Scheduler/ScheduleUnpublishAction\",\n register(container) {\n container.register(ScheduleUnpublishActionGateway).inSingletonScope();\n }\n});\n"],"names":["ScheduleUnpublishActionFeature","createFeature","container","ScheduleUnpublishActionGateway"],"mappings":";;AAGO,MAAMA,iCAAiCC,cAAc;IACxD,MAAM;IACN,UAASC,SAAS;QACdA,UAAU,QAAQ,CAACC,gCAAgC,gBAAgB;IACvE;AACJ"}
package/index.d.ts CHANGED
@@ -1 +1,9 @@
1
- export { useScheduleDialog, Scheduler, SchedulerConfigs } from "./Presentation/index.js";
1
+ import React from "react";
2
+ export declare const SchedulerModule: () => React.JSX.Element;
3
+ export { useScheduleDialog } from "./presentation/scheduleDialog/useScheduleDialog.js";
4
+ export type { IUseScheduleDialogProps } from "./presentation/scheduleDialog/useScheduleDialog.js";
5
+ export { Scheduler } from "./presentation/schedulerList/Scheduler.js";
6
+ export type { SchedulerProps } from "./presentation/schedulerList/Scheduler.js";
7
+ export { SchedulerConfigs } from "./presentation/SchedulerConfigs/SchedulerConfigs.js";
8
+ export { SchedulerDialogFormComponentDateTimeInput } from "./presentation/scheduleDialog/components/SchedulerDialogFormComponentDateTimeInput.js";
9
+ export { CellScheduledOn } from "./presentation/components/Cells/CellScheduledOn/index.js";
package/index.js CHANGED
@@ -1 +1,17 @@
1
- export { Scheduler, SchedulerConfigs, useScheduleDialog } from "./Presentation/index.js";
1
+ import react from "react";
2
+ import { RegisterFeature } from "@webiny/app-admin";
3
+ import { SchedulerFeature } from "./features/feature.js";
4
+ import { ScheduleDialogPresenterFeature } from "./presentation/scheduleDialog/feature.js";
5
+ import { SchedulerConfigs } from "./presentation/SchedulerConfigs/SchedulerConfigs.js";
6
+ const SchedulerModule = ()=>/*#__PURE__*/ react.createElement(react.Fragment, null, /*#__PURE__*/ react.createElement(RegisterFeature, {
7
+ feature: SchedulerFeature
8
+ }), /*#__PURE__*/ react.createElement(RegisterFeature, {
9
+ feature: ScheduleDialogPresenterFeature
10
+ }), /*#__PURE__*/ react.createElement(SchedulerConfigs, null));
11
+ export { useScheduleDialog } from "./presentation/scheduleDialog/useScheduleDialog.js";
12
+ export { Scheduler } from "./presentation/schedulerList/Scheduler.js";
13
+ export { SchedulerDialogFormComponentDateTimeInput } from "./presentation/scheduleDialog/components/SchedulerDialogFormComponentDateTimeInput.js";
14
+ export { CellScheduledOn } from "./presentation/components/Cells/CellScheduledOn/index.js";
15
+ export { SchedulerConfigs, SchedulerModule };
16
+
17
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { RegisterFeature } from \"@webiny/app-admin\";\nimport { SchedulerFeature } from \"./features/feature.js\";\nimport { ScheduleDialogPresenterFeature } from \"./presentation/scheduleDialog/feature.js\";\nimport { SchedulerConfigs } from \"./presentation/SchedulerConfigs/SchedulerConfigs.js\";\n\nexport const SchedulerModule = () => {\n return (\n <>\n <RegisterFeature feature={SchedulerFeature} />\n <RegisterFeature feature={ScheduleDialogPresenterFeature} />\n <SchedulerConfigs />\n </>\n );\n};\n\nexport { useScheduleDialog } from \"./presentation/scheduleDialog/useScheduleDialog.js\";\nexport type { IUseScheduleDialogProps } from \"./presentation/scheduleDialog/useScheduleDialog.js\";\nexport { Scheduler } from \"./presentation/schedulerList/Scheduler.js\";\nexport type { SchedulerProps } from \"./presentation/schedulerList/Scheduler.js\";\nexport { SchedulerConfigs } from \"./presentation/SchedulerConfigs/SchedulerConfigs.js\";\nexport { SchedulerDialogFormComponentDateTimeInput } from \"./presentation/scheduleDialog/components/SchedulerDialogFormComponentDateTimeInput.js\";\nexport { CellScheduledOn } from \"./presentation/components/Cells/CellScheduledOn/index.js\";\n"],"names":["SchedulerModule","RegisterFeature","SchedulerFeature","ScheduleDialogPresenterFeature","SchedulerConfigs"],"mappings":";;;;;AAMO,MAAMA,kBAAkB,IACpB,WAAP,GACI,wDACI,oBAACC,iBAAeA;QAAC,SAASC;sBAC1B,oBAACD,iBAAeA;QAAC,SAASE;sBAC1B,oBAACC,kBAAgBA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/app-scheduler",
3
- "version": "6.4.11",
3
+ "version": "6.6.0-alpha.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.js",
@@ -16,31 +16,30 @@
16
16
  "@emotion/react": "11.14.0",
17
17
  "@emotion/styled": "11.14.1",
18
18
  "@material-design-icons/svg": "0.14.15",
19
- "@webiny/admin-ui": "6.4.11",
20
- "@webiny/app-aco": "6.4.11",
21
- "@webiny/app-admin": "6.4.11",
22
- "@webiny/app-headless-cms-common": "6.4.11",
23
- "@webiny/app-utils": "6.4.11",
24
- "@webiny/form": "6.4.11",
25
- "@webiny/icons": "6.4.11",
26
- "@webiny/react-composition": "6.4.11",
27
- "@webiny/react-properties": "6.4.11",
28
- "@webiny/utils": "6.4.11",
29
- "@webiny/validation": "6.4.11",
30
- "apollo-client": "2.6.10",
31
- "graphql-tag": "2.12.7",
19
+ "@webiny/admin-ui": "6.6.0-alpha.1",
20
+ "@webiny/app": "6.6.0-alpha.1",
21
+ "@webiny/app-aco": "6.6.0-alpha.1",
22
+ "@webiny/app-admin": "6.6.0-alpha.1",
23
+ "@webiny/app-headless-cms-common": "6.6.0-alpha.1",
24
+ "@webiny/feature": "6.6.0-alpha.1",
25
+ "@webiny/form": "6.6.0-alpha.1",
26
+ "@webiny/icons": "6.6.0-alpha.1",
27
+ "@webiny/react-composition": "6.6.0-alpha.1",
28
+ "@webiny/react-properties": "6.6.0-alpha.1",
29
+ "@webiny/utils": "6.6.0-alpha.1",
30
+ "@webiny/validation": "6.6.0-alpha.1",
32
31
  "lodash": "4.18.1",
33
- "mobx": "6.16.1",
34
- "mobx-react-lite": "4.1.1",
32
+ "mobx": "7.0.3",
33
+ "mobx-react-lite": "5.0.3",
35
34
  "react": "18.3.1",
36
35
  "react-dom": "18.3.1",
37
36
  "zod": "4.4.3"
38
37
  },
39
38
  "devDependencies": {
40
39
  "@types/react": "18.3.31",
41
- "@webiny/build-tools": "6.4.11",
40
+ "@webiny/build-tools": "6.6.0-alpha.1",
42
41
  "rimraf": "6.1.3",
43
- "typescript": "6.0.3"
42
+ "typescript": "7.0.2"
44
43
  },
45
44
  "publishConfig": {
46
45
  "access": "public"
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/SchedulerConfigs/SchedulerConfigs.js","sources":["../../../src/Presentation/SchedulerConfigs/SchedulerConfigs.tsx"],"sourcesContent":["import React from \"react\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\nimport {\n CellActions,\n CellScheduledBy,\n CellScheduledOn,\n CellTitle,\n CellActionType,\n CellRevision\n} from \"~/Presentation/components/Cells/index.js\";\nimport { CancelItemAction } from \"~/Presentation/components/Actions/index.js\";\n\nconst { Browser } = SchedulerListConfig;\n\nexport const SchedulerConfigs = () => {\n return (\n <>\n <SchedulerListConfig>\n <Browser.Table.Column\n name={\"title\"}\n header={\"Title\"}\n cell={<CellTitle />}\n sortable={true}\n hideable={false}\n size={200}\n />\n <Browser.Table.Column\n name={\"revision\"}\n header={\"Revision\"}\n cell={<CellRevision />}\n hideable={false}\n />\n <Browser.Table.Column\n name={\"scheduledBy\"}\n header={\"Author\"}\n cell={<CellScheduledBy />}\n hideable={false}\n />\n <Browser.Table.Column\n name={\"actionType\"}\n header={\"Action Type\"}\n cell={<CellActionType />}\n hideable={false}\n />\n <Browser.Table.Column\n name={\"scheduledFor\"}\n header={\"Action Time\"}\n cell={<CellScheduledOn />}\n sortable={true}\n hideable={false}\n />\n <Browser.Table.Column\n name={\"actions\"}\n header={\" \"}\n cell={<CellActions />}\n size={80}\n className={\"rmwc-data-table__cell--align-end\"}\n hideable={false}\n resizable={false}\n />\n <Browser.Table.Sorting\n name={\"scheduledFor\"}\n field={\"scheduledFor\"}\n order={\"desc\"}\n />\n <Browser.EntryAction name={\"cancel\"} element={<CancelItemAction />} />\n </SchedulerListConfig>\n </>\n );\n};\n"],"names":["Browser","SchedulerListConfig","SchedulerConfigs","CellTitle","CellRevision","CellScheduledBy","CellActionType","CellScheduledOn","CellActions","CancelItemAction"],"mappings":";;;;AAYA,MAAM,EAAEA,SAAAA,OAAO,EAAE,GAAGC;AAEb,MAAMC,mBAAmB,IACrB,WAAP,GACI,wDACI,oBAACD,qBAAmBA,MAAAA,WAAAA,GAChB,oBAACD,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACG,WAASA;QAChB,UAAU;QACV,UAAU;QACV,MAAM;sBAEV,oBAACH,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACI,cAAYA;QACnB,UAAU;sBAEd,oBAACJ,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACK,iBAAeA;QACtB,UAAU;sBAEd,oBAACL,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACM,gBAAcA;QACrB,UAAU;sBAEd,oBAACN,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACO,iBAAeA;QACtB,UAAU;QACV,UAAU;sBAEd,oBAACP,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACQ,aAAWA;QAClB,MAAM;QACN,WAAW;QACX,UAAU;QACV,WAAW;sBAEf,oBAACR,QAAQ,KAAK,CAAC,OAAO;QAClB,MAAM;QACN,OAAO;QACP,OAAO;sBAEX,oBAACA,QAAQ,WAAW;QAAC,MAAM;QAAU,uBAAS,oBAACS,kBAAgBA"}
1
+ {"version":3,"file":"presentation/SchedulerConfigs/SchedulerConfigs.js","sources":["../../../src/presentation/SchedulerConfigs/SchedulerConfigs.tsx"],"sourcesContent":["import React from \"react\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\nimport {\n CellActions,\n CellScheduledBy,\n CellScheduledOn,\n CellTitle,\n CellActionType,\n CellRevision\n} from \"~/presentation/components/Cells/index.js\";\nimport { CancelItemAction } from \"~/presentation/components/Actions/index.js\";\n\nconst { Browser } = SchedulerListConfig;\n\nexport const SchedulerConfigs = () => {\n return (\n <>\n <SchedulerListConfig>\n <Browser.Table.Column\n name={\"title\"}\n header={\"Title\"}\n cell={<CellTitle />}\n sortable={true}\n hideable={false}\n size={200}\n />\n <Browser.Table.Column\n name={\"revision\"}\n header={\"Revision\"}\n cell={<CellRevision />}\n hideable={false}\n />\n <Browser.Table.Column\n name={\"scheduledBy\"}\n header={\"Author\"}\n cell={<CellScheduledBy />}\n hideable={false}\n />\n <Browser.Table.Column\n name={\"actionType\"}\n header={\"Action Type\"}\n cell={<CellActionType />}\n hideable={false}\n />\n <Browser.Table.Column\n name={\"scheduledFor\"}\n header={\"Action Time\"}\n cell={<CellScheduledOn />}\n sortable={true}\n hideable={false}\n />\n <Browser.Table.Column\n name={\"actions\"}\n header={\" \"}\n cell={<CellActions />}\n size={80}\n className={\"rmwc-data-table__cell--align-end\"}\n hideable={false}\n resizable={false}\n />\n <Browser.Table.Sorting\n name={\"scheduledFor\"}\n field={\"scheduledFor\"}\n order={\"desc\"}\n />\n <Browser.EntryAction name={\"cancel\"} element={<CancelItemAction />} />\n </SchedulerListConfig>\n </>\n );\n};\n"],"names":["Browser","SchedulerListConfig","SchedulerConfigs","CellTitle","CellRevision","CellScheduledBy","CellActionType","CellScheduledOn","CellActions","CancelItemAction"],"mappings":";;;;AAYA,MAAM,EAAEA,SAAAA,OAAO,EAAE,GAAGC;AAEb,MAAMC,mBAAmB,IACrB,WAAP,GACI,wDACI,oBAACD,qBAAmBA,MAAAA,WAAAA,GAChB,oBAACD,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACG,WAASA;QAChB,UAAU;QACV,UAAU;QACV,MAAM;sBAEV,oBAACH,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACI,cAAYA;QACnB,UAAU;sBAEd,oBAACJ,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACK,iBAAeA;QACtB,UAAU;sBAEd,oBAACL,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACM,gBAAcA;QACrB,UAAU;sBAEd,oBAACN,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACO,iBAAeA;QACtB,UAAU;QACV,UAAU;sBAEd,oBAACP,QAAQ,KAAK,CAAC,MAAM;QACjB,MAAM;QACN,QAAQ;QACR,oBAAM,oBAACQ,aAAWA;QAClB,MAAM;QACN,WAAW;QACX,UAAU;QACV,WAAW;sBAEf,oBAACR,QAAQ,KAAK,CAAC,OAAO;QAClB,MAAM;QACN,OAAO;QACP,OAAO;sBAEX,oBAACA,QAAQ,WAAW;QAAC,MAAM;QAAU,uBAAS,oBAACS,kBAAgBA"}
@@ -1,13 +1,12 @@
1
1
  import react from "react";
2
- import { ReactComponent } from "@material-design-icons/svg/outlined/delete.svg";
2
+ import { ReactComponent } from "@webiny/icons/delete.svg";
3
+ import { OptionsMenuItem } from "@webiny/app-admin/exports/admin/ui.js";
3
4
  import { useCancelSchedulerItem, useSchedulerItem } from "../../../hooks/index.js";
4
- import { SchedulerListConfig } from "../../../configs/index.js";
5
5
  const CancelItemAction = ()=>{
6
6
  const { item } = useSchedulerItem();
7
7
  const { openDialogCancelSchedulerItem } = useCancelSchedulerItem({
8
8
  item
9
9
  });
10
- const { OptionsMenuItem } = SchedulerListConfig.Browser.EntryAction;
11
10
  return /*#__PURE__*/ react.createElement(OptionsMenuItem, {
12
11
  icon: /*#__PURE__*/ react.createElement(ReactComponent, null),
13
12
  label: "Cancel",
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Actions/CancelItem/CancelItem.js","sources":["../../../../../src/presentation/components/Actions/CancelItem/CancelItem.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as Cancel } from \"@webiny/icons/delete.svg\";\nimport { OptionsMenuItem } from \"@webiny/app-admin/exports/admin/ui.js\";\nimport { useCancelSchedulerItem, useSchedulerItem } from \"~/presentation/hooks/index.js\";\n\nexport const CancelItemAction = () => {\n const { item } = useSchedulerItem();\n const { openDialogCancelSchedulerItem } = useCancelSchedulerItem({ item });\n\n return (\n <OptionsMenuItem\n icon={<Cancel />}\n label={\"Cancel\"}\n onAction={openDialogCancelSchedulerItem}\n />\n );\n};\n"],"names":["CancelItemAction","item","useSchedulerItem","openDialogCancelSchedulerItem","useCancelSchedulerItem","OptionsMenuItem","Cancel"],"mappings":";;;;AAKO,MAAMA,mBAAmB;IAC5B,MAAM,EAAEC,IAAI,EAAE,GAAGC;IACjB,MAAM,EAAEC,6BAA6B,EAAE,GAAGC,uBAAuB;QAAEH;IAAK;IAExE,OAAO,WAAP,GACI,oBAACI,iBAAeA;QACZ,oBAAM,oBAACC,gBAAMA;QACb,OAAO;QACP,UAAUH;;AAGtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/BottomInfoBar/BottomInfoBar.styled.js","sources":["../../../../src/Presentation/components/BottomInfoBar/BottomInfoBar.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\n\nexport const BottomInfoBarWrapper = styled(\"div\")`\n font-size: 0.8rem;\n position: sticky;\n bottom: 0;\n height: 30px;\n color: var(--mdc-theme-text-secondary-on-background);\n border-top: 1px solid var(--mdc-theme-on-background);\n background: var(--mdc-theme-surface);\n width: 100%;\n transform: translateZ(0);\n overflow: hidden;\n display: flex;\n align-items: center;\n z-index: 1;\n`;\n\nexport const BottomInfoBarInner = styled(\"div\")`\n padding: 0 10px;\n width: 100%;\n`;\n\nexport const StatusWrapper = styled(\"div\")`\n color: var(--mdc-theme-primary);\n position: absolute;\n right: 0;\n bottom: 10px;\n margin-right: 10px;\n display: flex;\n align-items: center;\n > div {\n display: inline-block;\n }\n`;\n\nexport const CircularProgressHolder = styled(\"div\")`\n position: relative;\n height: 12px;\n width: 12px;\n`;\n\nexport const UploadingLabel = styled(\"div\")`\n margin-right: 5px;\n`;\n"],"names":["BottomInfoBarWrapper","styled","BottomInfoBarInner","StatusWrapper","CircularProgressHolder","UploadingLabel"],"mappings":";AAEO,MAAMA,uBAAuBC,OAAO,MAAM,CAAC;;;;;;;;;;;;;;AAclD,CAAC;AAEM,MAAMC,qBAAqBD,OAAO,MAAM,CAAC;;;AAGhD,CAAC;AAEM,MAAME,gBAAgBF,OAAO,MAAM,CAAC;;;;;;;;;;;AAW3C,CAAC;AAEM,MAAMG,yBAAyBH,OAAO,MAAM,CAAC;;;;AAIpD,CAAC;AAEM,MAAMI,iBAAiBJ,OAAO,MAAM,CAAC;;AAE5C,CAAC"}
1
+ {"version":3,"file":"presentation/components/BottomInfoBar/BottomInfoBar.styled.js","sources":["../../../../src/presentation/components/BottomInfoBar/BottomInfoBar.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\n\nexport const BottomInfoBarWrapper = styled(\"div\")`\n font-size: 0.8rem;\n position: sticky;\n bottom: 0;\n height: 30px;\n color: var(--mdc-theme-text-secondary-on-background);\n border-top: 1px solid var(--mdc-theme-on-background);\n background: var(--mdc-theme-surface);\n width: 100%;\n transform: translateZ(0);\n overflow: hidden;\n display: flex;\n align-items: center;\n z-index: 1;\n`;\n\nexport const BottomInfoBarInner = styled(\"div\")`\n padding: 0 10px;\n width: 100%;\n`;\n\nexport const StatusWrapper = styled(\"div\")`\n color: var(--mdc-theme-primary);\n position: absolute;\n right: 0;\n bottom: 10px;\n margin-right: 10px;\n display: flex;\n align-items: center;\n > div {\n display: inline-block;\n }\n`;\n\nexport const CircularProgressHolder = styled(\"div\")`\n position: relative;\n height: 12px;\n width: 12px;\n`;\n\nexport const UploadingLabel = styled(\"div\")`\n margin-right: 5px;\n`;\n"],"names":["BottomInfoBarWrapper","styled","BottomInfoBarInner","StatusWrapper","CircularProgressHolder","UploadingLabel"],"mappings":";AAEO,MAAMA,uBAAuBC,OAAO,MAAM,CAAC;;;;;;;;;;;;;;AAclD,CAAC;AAEM,MAAMC,qBAAqBD,OAAO,MAAM,CAAC;;;AAGhD,CAAC;AAEM,MAAME,gBAAgBF,OAAO,MAAM,CAAC;;;;;;;;;;;AAW3C,CAAC;AAEM,MAAMG,yBAAyBH,OAAO,MAAM,CAAC;;;;AAIpD,CAAC;AAEM,MAAMI,iBAAiBJ,OAAO,MAAM,CAAC;;AAE5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/BottomInfoBar/ListMeta.js","sources":["../../../../src/Presentation/components/BottomInfoBar/ListMeta.tsx"],"sourcesContent":["import React, { useCallback } from \"react\";\n\nexport interface ListMetaProps {\n loading: boolean;\n currentCount: number;\n totalCount: number;\n}\n\nexport const ListMeta = (props: ListMetaProps) => {\n const getLabel = useCallback((count = 0): string => {\n return `${count} ${count === 1 ? \"item\" : \"items\"}`;\n }, []);\n\n if (props.loading) {\n return null;\n }\n\n return <span>{`Showing ${props.currentCount} out of ${getLabel(props.totalCount)}.`}</span>;\n};\n"],"names":["ListMeta","props","getLabel","useCallback","count"],"mappings":";AAQO,MAAMA,WAAW,CAACC;IACrB,MAAMC,WAAWC,YAAY,CAACC,QAAQ,CAAC,GAC5B,GAAGA,MAAM,CAAC,EAAEA,AAAU,MAAVA,QAAc,SAAS,SAAS,EACpD,EAAE;IAEL,IAAIH,MAAM,OAAO,EACb,OAAO;IAGX,OAAO,WAAP,GAAO,oBAAC,cAAM,CAAC,QAAQ,EAAEA,MAAM,YAAY,CAAC,QAAQ,EAAEC,SAASD,MAAM,UAAU,EAAE,CAAC,CAAC;AACvF"}
1
+ {"version":3,"file":"presentation/components/BottomInfoBar/ListMeta.js","sources":["../../../../src/presentation/components/BottomInfoBar/ListMeta.tsx"],"sourcesContent":["import React, { useCallback } from \"react\";\n\nexport interface ListMetaProps {\n loading: boolean;\n currentCount: number;\n totalCount: number;\n}\n\nexport const ListMeta = (props: ListMetaProps) => {\n const getLabel = useCallback((count = 0): string => {\n return `${count} ${count === 1 ? \"item\" : \"items\"}`;\n }, []);\n\n if (props.loading) {\n return null;\n }\n\n return <span>{`Showing ${props.currentCount} out of ${getLabel(props.totalCount)}.`}</span>;\n};\n"],"names":["ListMeta","props","getLabel","useCallback","count"],"mappings":";AAQO,MAAMA,WAAW,CAACC;IACrB,MAAMC,WAAWC,YAAY,CAACC,QAAQ,CAAC,GAC5B,GAAGA,MAAM,CAAC,EAAEA,AAAU,MAAVA,QAAc,SAAS,SAAS,EACpD,EAAE;IAEL,IAAIH,MAAM,OAAO,EACb,OAAO;IAGX,OAAO,WAAP,GAAO,oBAAC,cAAM,CAAC,QAAQ,EAAEA,MAAM,YAAY,CAAC,QAAQ,EAAEC,SAASD,MAAM,UAAU,EAAE,CAAC,CAAC;AACvF"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/BottomInfoBar/ListStatus.js","sources":["../../../../src/Presentation/components/BottomInfoBar/ListStatus.tsx"],"sourcesContent":["import React from \"react\";\nimport { Loader } from \"@webiny/admin-ui\";\nimport { CircularProgressHolder, StatusWrapper, UploadingLabel } from \"./BottomInfoBar.styled.js\";\n\nexport interface ListStatusProps {\n loading: boolean;\n}\n\nexport const ListStatus = ({ loading }: ListStatusProps) => {\n if (!loading) {\n return null;\n }\n\n return (\n <StatusWrapper>\n <UploadingLabel>{\"Loading more items...\"}</UploadingLabel>\n <CircularProgressHolder>\n <Loader size={\"xs\"} />\n </CircularProgressHolder>\n </StatusWrapper>\n );\n};\n"],"names":["ListStatus","loading","StatusWrapper","UploadingLabel","CircularProgressHolder","Loader"],"mappings":";;;AAQO,MAAMA,aAAa,CAAC,EAAEC,OAAO,EAAmB;IACnD,IAAI,CAACA,SACD,OAAO;IAGX,OAAO,WAAP,GACI,oBAACC,eAAaA,MAAAA,WAAAA,GACV,oBAACC,gBAAcA,MAAE,wCACjB,oBAACC,wBAAsBA,MAAAA,WAAAA,GACnB,oBAACC,QAAMA;QAAC,MAAM;;AAI9B"}
1
+ {"version":3,"file":"presentation/components/BottomInfoBar/ListStatus.js","sources":["../../../../src/presentation/components/BottomInfoBar/ListStatus.tsx"],"sourcesContent":["import React from \"react\";\nimport { Loader } from \"@webiny/admin-ui\";\nimport { CircularProgressHolder, StatusWrapper, UploadingLabel } from \"./BottomInfoBar.styled.js\";\n\nexport interface ListStatusProps {\n loading: boolean;\n}\n\nexport const ListStatus = ({ loading }: ListStatusProps) => {\n if (!loading) {\n return null;\n }\n\n return (\n <StatusWrapper>\n <UploadingLabel>{\"Loading more items...\"}</UploadingLabel>\n <CircularProgressHolder>\n <Loader size={\"xs\"} />\n </CircularProgressHolder>\n </StatusWrapper>\n );\n};\n"],"names":["ListStatus","loading","StatusWrapper","UploadingLabel","CircularProgressHolder","Loader"],"mappings":";;;AAQO,MAAMA,aAAa,CAAC,EAAEC,OAAO,EAAmB;IACnD,IAAI,CAACA,SACD,OAAO;IAGX,OAAO,WAAP,GACI,oBAACC,eAAaA,MAAAA,WAAAA,GACV,oBAACC,gBAAcA,MAAE,wCACjB,oBAACC,wBAAsBA,MAAAA,WAAAA,GACnB,oBAACC,QAAMA;QAAC,MAAM;;AAI9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Cells/CellActions/CellActions.js","sources":["../../../../../src/Presentation/components/Cells/CellActions/CellActions.tsx"],"sourcesContent":["import React from \"react\";\nimport { OptionsMenu } from \"@webiny/app-admin\";\nimport { SchedulerListConfig, useSchedulerListConfig } from \"~/Presentation/configs/index.js\";\nimport { SchedulerItemProvider } from \"~/Presentation/hooks/index.js\";\n\nexport const CellActions = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n const { browser } = useSchedulerListConfig();\n\n return (\n <SchedulerItemProvider item={row.data}>\n <OptionsMenu\n actions={browser.entryActions}\n data-testid={\"table.row.scheduler.entry.menu-action\"}\n />\n </SchedulerItemProvider>\n );\n};\n"],"names":["CellActions","useTableRow","SchedulerListConfig","row","browser","useSchedulerListConfig","SchedulerItemProvider","OptionsMenu"],"mappings":";;;;AAKO,MAAMA,cAAc;IACvB,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAChB,MAAM,EAAEG,OAAO,EAAE,GAAGC;IAEpB,OAAO,WAAP,GACI,oBAACC,uBAAqBA;QAAC,MAAMH,IAAI,IAAI;qBACjC,oBAACI,aAAWA;QACR,SAASH,QAAQ,YAAY;QAC7B,eAAa;;AAI7B"}
1
+ {"version":3,"file":"presentation/components/Cells/CellActions/CellActions.js","sources":["../../../../../src/presentation/components/Cells/CellActions/CellActions.tsx"],"sourcesContent":["import React from \"react\";\nimport { OptionsMenu } from \"@webiny/app-admin\";\nimport { SchedulerListConfig, useSchedulerListConfig } from \"~/presentation/configs/index.js\";\nimport { SchedulerItemProvider } from \"~/presentation/hooks/index.js\";\n\nexport const CellActions = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n const { browser } = useSchedulerListConfig();\n\n return (\n <SchedulerItemProvider item={row.data}>\n <OptionsMenu\n actions={browser.entryActions}\n data-testid={\"table.row.scheduler.entry.menu-action\"}\n />\n </SchedulerItemProvider>\n );\n};\n"],"names":["CellActions","useTableRow","SchedulerListConfig","row","browser","useSchedulerListConfig","SchedulerItemProvider","OptionsMenu"],"mappings":";;;;AAKO,MAAMA,cAAc;IACvB,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAChB,MAAM,EAAEG,OAAO,EAAE,GAAGC;IAEpB,OAAO,WAAP,GACI,oBAACC,uBAAqBA;QAAC,MAAMH,IAAI,IAAI;qBACjC,oBAACI,aAAWA;QACR,SAASH,QAAQ,YAAY;QAC7B,eAAa;;AAI7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Cells/CellRevision/CellRevision.js","sources":["../../../../../src/Presentation/components/Cells/CellRevision/CellRevision.tsx"],"sourcesContent":["import React from \"react\";\nimport { RowText, RowTitle } from \"./CellRevision.styled.js\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\nimport { parseIdentifier } from \"@webiny/utils/parseIdentifier.js\";\n\nexport const CellRevision = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n const { version } = parseIdentifier(row.data.targetId);\n return (\n <RowTitle>\n <RowText size={\"sm\"}>{version}</RowText>\n </RowTitle>\n );\n};\n"],"names":["CellRevision","useTableRow","SchedulerListConfig","row","version","parseIdentifier","RowTitle","RowText"],"mappings":";;;;AAKO,MAAMA,eAAe;IACxB,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,MAAM,EAAEG,OAAO,EAAE,GAAGC,gBAAgBF,IAAI,IAAI,CAAC,QAAQ;IACrD,OAAO,WAAP,GACI,oBAACG,UAAQA,MAAAA,WAAAA,GACL,oBAACC,SAAOA;QAAC,MAAM;OAAOH;AAGlC"}
1
+ {"version":3,"file":"presentation/components/Cells/CellRevision/CellRevision.js","sources":["../../../../../src/presentation/components/Cells/CellRevision/CellRevision.tsx"],"sourcesContent":["import React from \"react\";\nimport { RowText, RowTitle } from \"./CellRevision.styled.js\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\nimport { parseIdentifier } from \"@webiny/utils/parseIdentifier.js\";\n\nexport const CellRevision = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n const { version } = parseIdentifier(row.data.targetId);\n return (\n <RowTitle>\n <RowText size={\"sm\"}>{version}</RowText>\n </RowTitle>\n );\n};\n"],"names":["CellRevision","useTableRow","SchedulerListConfig","row","version","parseIdentifier","RowTitle","RowText"],"mappings":";;;;AAKO,MAAMA,eAAe;IACxB,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,MAAM,EAAEG,OAAO,EAAE,GAAGC,gBAAgBF,IAAI,IAAI,CAAC,QAAQ;IACrD,OAAO,WAAP,GACI,oBAACG,UAAQA,MAAAA,WAAAA,GACL,oBAACC,SAAOA;QAAC,MAAM;OAAOH;AAGlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Cells/CellRevision/CellRevision.styled.js","sources":["../../../../../src/Presentation/components/Cells/CellRevision/CellRevision.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Text } from \"@webiny/admin-ui\";\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(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["RowTitle","styled","RowIcon","RowText","Text"],"mappings":";;AAGO,MAAMA,WAAWC,OAAO,MAAM,CAAC;;;AAGtC,CAAC;AAEM,MAAMC,UAAUD,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAME,UAAUF,OAAOG,KAAK,CAAC;;;;AAIpC,CAAC"}
1
+ {"version":3,"file":"presentation/components/Cells/CellRevision/CellRevision.styled.js","sources":["../../../../../src/presentation/components/Cells/CellRevision/CellRevision.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Text } from \"@webiny/admin-ui\";\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(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["RowTitle","styled","RowIcon","RowText","Text"],"mappings":";;AAGO,MAAMA,WAAWC,OAAO,MAAM,CAAC;;;AAGtC,CAAC;AAEM,MAAMC,UAAUD,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAME,UAAUF,OAAOG,KAAK,CAAC;;;;AAIpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js","sources":["../../../../../src/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.tsx"],"sourcesContent":["import React from \"react\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\n\nexport const CellScheduledBy = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return <>{row.data.scheduledBy?.displayName || \"unknown\"}</>;\n};\n"],"names":["CellScheduledBy","useTableRow","SchedulerListConfig","row"],"mappings":";;AAGO,MAAMA,kBAAkB;IAC3B,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GAAO,0CAAGE,IAAI,IAAI,CAAC,WAAW,EAAE,eAAe;AACnD"}
1
+ {"version":3,"file":"presentation/components/Cells/CellScheduledBy/CellScheduledBy.js","sources":["../../../../../src/presentation/components/Cells/CellScheduledBy/CellScheduledBy.tsx"],"sourcesContent":["import React from \"react\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\n\nexport const CellScheduledBy = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return <>{row.data.scheduledBy?.displayName || \"unknown\"}</>;\n};\n"],"names":["CellScheduledBy","useTableRow","SchedulerListConfig","row"],"mappings":";;AAGO,MAAMA,kBAAkB;IAC3B,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GAAO,0CAAGE,IAAI,IAAI,CAAC,WAAW,EAAE,eAAe;AACnD"}
@@ -1,9 +1,11 @@
1
1
  import react from "react";
2
2
  import { SchedulerListConfig } from "../../../configs/index.js";
3
3
  import { makeDecoratable } from "@webiny/react-composition";
4
+ import { useDateFormatter } from "@webiny/app-admin";
4
5
  const CellScheduledOnLabel = makeDecoratable("Scheduler.CellScheduledOnLabel", ({ dateTime })=>{
6
+ const dateFormatter = useDateFormatter();
5
7
  if (!dateTime) return /*#__PURE__*/ react.createElement(react.Fragment, null, "Missing publish or unpublish date.");
6
- return /*#__PURE__*/ react.createElement(react.Fragment, null, dateTime.toLocaleString());
8
+ return /*#__PURE__*/ react.createElement(react.Fragment, null, dateFormatter.format(dateTime));
7
9
  });
8
10
  const CellScheduledOn = ()=>{
9
11
  const { useTableRow } = SchedulerListConfig.Browser.Table.Column;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presentation/components/Cells/CellScheduledOn/CellScheduledOn.js","sources":["../../../../../src/presentation/components/Cells/CellScheduledOn/CellScheduledOn.tsx"],"sourcesContent":["import React from \"react\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\nimport { makeDecoratable } from \"@webiny/react-composition\";\nimport { useDateFormatter } from \"@webiny/app-admin\";\n\nexport interface ICellScheduledOnLabelProps {\n dateTime: Date | undefined;\n}\n\nexport const CellScheduledOnLabel = makeDecoratable(\n \"Scheduler.CellScheduledOnLabel\",\n ({ dateTime }: ICellScheduledOnLabelProps) => {\n const dateFormatter = useDateFormatter();\n if (!dateTime) {\n return <>Missing publish or unpublish date.</>;\n }\n\n return <>{dateFormatter.format(dateTime)}</>;\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"],"names":["CellScheduledOnLabel","makeDecoratable","dateTime","dateFormatter","useDateFormatter","CellScheduledOn","useTableRow","SchedulerListConfig","row"],"mappings":";;;;AASO,MAAMA,uBAAuBC,gBAChC,kCACA,CAAC,EAAEC,QAAQ,EAA8B;IACrC,MAAMC,gBAAgBC;IACtB,IAAI,CAACF,UACD,OAAO,WAAP,GAAO,0CAAE;IAGb,OAAO,WAAP,GAAO,0CAAGC,cAAc,MAAM,CAACD;AACnC;AAGG,MAAMG,kBAAkB;IAC3B,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GAAO,oBAACN,sBAAoBA;QAAC,UAAUQ,IAAI,IAAI,CAAC,SAAS,IAAIA,IAAI,IAAI,CAAC,WAAW;;AACrF"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Cells/CellTitle/CellTitle.js","sources":["../../../../../src/Presentation/components/Cells/CellTitle/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 size={\"sm\"}>{row.data.title}</RowText>\n </RowTitle>\n );\n};\n"],"names":["CellTitle","useTableRow","SchedulerListConfig","row","RowTitle","RowIcon","File","RowText"],"mappings":";;;;AAKO,MAAMA,YAAY;IACrB,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GACI,oBAACG,UAAQA,MAAAA,WAAAA,GACL,oBAACC,SAAOA,MAAAA,WAAAA,GACJ,oBAACC,gBAAIA,QAAAA,WAAAA,GAET,oBAACC,SAAOA;QAAC,MAAM;OAAOJ,IAAI,IAAI,CAAC,KAAK;AAGhD"}
1
+ {"version":3,"file":"presentation/components/Cells/CellTitle/CellTitle.js","sources":["../../../../../src/presentation/components/Cells/CellTitle/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 size={\"sm\"}>{row.data.title}</RowText>\n </RowTitle>\n );\n};\n"],"names":["CellTitle","useTableRow","SchedulerListConfig","row","RowTitle","RowIcon","File","RowText"],"mappings":";;;;AAKO,MAAMA,YAAY;IACrB,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GACI,oBAACG,UAAQA,MAAAA,WAAAA,GACL,oBAACC,SAAOA,MAAAA,WAAAA,GACJ,oBAACC,gBAAIA,QAAAA,WAAAA,GAET,oBAACC,SAAOA;QAAC,MAAM;OAAOJ,IAAI,IAAI,CAAC,KAAK;AAGhD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Cells/CellTitle/CellTitle.styled.js","sources":["../../../../../src/Presentation/components/Cells/CellTitle/CellTitle.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Text } from \"@webiny/admin-ui\";\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(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["RowTitle","styled","RowIcon","RowText","Text"],"mappings":";;AAGO,MAAMA,WAAWC,OAAO,MAAM,CAAC;;;AAGtC,CAAC;AAEM,MAAMC,UAAUD,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAME,UAAUF,OAAOG,KAAK,CAAC;;;;AAIpC,CAAC"}
1
+ {"version":3,"file":"presentation/components/Cells/CellTitle/CellTitle.styled.js","sources":["../../../../../src/presentation/components/Cells/CellTitle/CellTitle.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Text } from \"@webiny/admin-ui\";\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(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["RowTitle","styled","RowIcon","RowText","Text"],"mappings":";;AAGO,MAAMA,WAAWC,OAAO,MAAM,CAAC;;;AAGtC,CAAC;AAEM,MAAMC,UAAUD,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAME,UAAUF,OAAOG,KAAK,CAAC;;;;AAIpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Cells/CellType/CellActionType.js","sources":["../../../../../src/Presentation/components/Cells/CellType/CellActionType.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 \"./CellActionType.styled.js\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\n\nexport const CellActionType = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowType>\n <RowIcon>{row.data.actionType === \"publish\" ? <Publish /> : <Unpublish />}</RowIcon>\n <RowText size={\"sm\"}>{row.data.actionType}</RowText>\n </RowType>\n );\n};\n"],"names":["CellActionType","useTableRow","SchedulerListConfig","row","RowType","RowIcon","Publish","Unpublish","RowText"],"mappings":";;;;;AAMO,MAAMA,iBAAiB;IAC1B,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GACI,oBAACG,SAAOA,MAAAA,WAAAA,GACJ,oBAACC,SAAOA,MAAEF,AAAwB,cAAxBA,IAAI,IAAI,CAAC,UAAU,GAAiB,WAAZ,GAAY,oBAACG,gBAAOA,QAAAA,WAAAA,GAAM,oBAACC,gCAASA,QAAAA,WAAAA,GACtE,oBAACC,SAAOA;QAAC,MAAM;OAAOL,IAAI,IAAI,CAAC,UAAU;AAGrD"}
1
+ {"version":3,"file":"presentation/components/Cells/CellType/CellActionType.js","sources":["../../../../../src/presentation/components/Cells/CellType/CellActionType.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 \"./CellActionType.styled.js\";\nimport { SchedulerListConfig } from \"~/presentation/configs/index.js\";\n\nexport const CellActionType = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowType>\n <RowIcon>{row.data.actionType === \"publish\" ? <Publish /> : <Unpublish />}</RowIcon>\n <RowText size={\"sm\"}>{row.data.actionType}</RowText>\n </RowType>\n );\n};\n"],"names":["CellActionType","useTableRow","SchedulerListConfig","row","RowType","RowIcon","Publish","Unpublish","RowText"],"mappings":";;;;;AAMO,MAAMA,iBAAiB;IAC1B,MAAM,EAAEC,WAAW,EAAE,GAAGC,oBAAoB,OAAO,CAAC,KAAK,CAAC,MAAM;IAChE,MAAM,EAAEC,GAAG,EAAE,GAAGF;IAEhB,OAAO,WAAP,GACI,oBAACG,SAAOA,MAAAA,WAAAA,GACJ,oBAACC,SAAOA,MAAEF,AAAwB,cAAxBA,IAAI,IAAI,CAAC,UAAU,GAAiB,WAAZ,GAAY,oBAACG,gBAAOA,QAAAA,WAAAA,GAAM,oBAACC,gCAASA,QAAAA,WAAAA,GACtE,oBAACC,SAAOA;QAAC,MAAM;OAAOL,IAAI,IAAI,CAAC,UAAU;AAGrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Cells/CellType/CellActionType.styled.js","sources":["../../../../../src/Presentation/components/Cells/CellType/CellActionType.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Text } from \"@webiny/admin-ui\";\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(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["RowType","styled","RowIcon","RowText","Text"],"mappings":";;AAGO,MAAMA,UAAUC,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAMC,UAAUD,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAME,UAAUF,OAAOG,KAAK,CAAC;;;;AAIpC,CAAC"}
1
+ {"version":3,"file":"presentation/components/Cells/CellType/CellActionType.styled.js","sources":["../../../../../src/presentation/components/Cells/CellType/CellActionType.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Text } from \"@webiny/admin-ui\";\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(Text)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"names":["RowType","styled","RowIcon","RowText","Text"],"mappings":";;AAGO,MAAMA,UAAUC,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAMC,UAAUD,OAAO,MAAM,CAAC;;;AAGrC,CAAC;AAEM,MAAME,UAAUF,OAAOG,KAAK,CAAC;;;;AAIpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Empty/Empty.styled.js","sources":["../../../../src/Presentation/components/Empty/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"],"names":["EmptyWrapper","styled","EmptyOuter"],"mappings":";AAEO,MAAMA,eAAeC,OAAO,MAAM,CAAC;;;;;;AAM1C,CAAC;AAEM,MAAMC,aAAaD,OAAO,MAAM,CAAC;;;;AAIxC,CAAC"}
1
+ {"version":3,"file":"presentation/components/Empty/Empty.styled.js","sources":["../../../../src/presentation/components/Empty/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"],"names":["EmptyWrapper","styled","EmptyOuter"],"mappings":";AAEO,MAAMA,eAAeC,OAAO,MAAM,CAAC;;;;;;AAM1C,CAAC;AAEM,MAAMC,aAAaD,OAAO,MAAM,CAAC;;;;AAIxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Title/Title.js","sources":["../../../../src/Presentation/components/Title/Title.tsx"],"sourcesContent":["import React from \"react\";\nimport { Skeleton } from \"@webiny/admin-ui\";\nimport { Name } from \"./Title.styled.js\";\n\nexport interface TitleProps {\n title?: string;\n}\n\nexport const Title = ({ title }: TitleProps) => {\n return (\n <Name level={6} as={\"h1\"}>\n {title || <Skeleton />}\n </Name>\n );\n};\n"],"names":["Title","title","Name","Skeleton"],"mappings":";;;AAQO,MAAMA,QAAQ,CAAC,EAAEC,KAAK,EAAc,GAChC,WAAP,GACI,oBAACC,MAAIA;QAAC,OAAO;QAAG,IAAI;OACfD,SAAS,WAATA,GAAS,oBAACE,UAAQA"}
1
+ {"version":3,"file":"presentation/components/Title/Title.js","sources":["../../../../src/presentation/components/Title/Title.tsx"],"sourcesContent":["import React from \"react\";\nimport { Skeleton } from \"@webiny/admin-ui\";\nimport { Name } from \"./Title.styled.js\";\n\nexport interface TitleProps {\n title?: string;\n}\n\nexport const Title = ({ title }: TitleProps) => {\n return (\n <Name level={6} as={\"h1\"}>\n {title || <Skeleton />}\n </Name>\n );\n};\n"],"names":["Title","title","Name","Skeleton"],"mappings":";;;AAQO,MAAMA,QAAQ,CAAC,EAAEC,KAAK,EAAc,GAChC,WAAP,GACI,oBAACC,MAAIA;QAAC,OAAO;QAAG,IAAI;OACfD,SAAS,WAATA,GAAS,oBAACE,UAAQA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/components/Title/Title.styled.js","sources":["../../../../src/Presentation/components/Title/Title.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Heading } from \"@webiny/admin-ui\";\n\nexport const Name = styled(Heading)`\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"],"names":["Name","styled","Heading"],"mappings":";;AAGO,MAAMA,OAAOC,OAAOC,QAAQ,CAAC;;;;;;;AAOpC,CAAC"}
1
+ {"version":3,"file":"presentation/components/Title/Title.styled.js","sources":["../../../../src/presentation/components/Title/Title.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Heading } from \"@webiny/admin-ui\";\n\nexport const Name = styled(Heading)`\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"],"names":["Name","styled","Heading"],"mappings":";;AAGO,MAAMA,OAAOC,OAAOC,QAAQ,CAAC;;;;;;;AAOpC,CAAC"}
@@ -2,6 +2,7 @@ import React from "react";
2
2
  import { AcoConfig, type RecordActionConfig } from "@webiny/app-aco";
3
3
  export type { RecordActionConfig as EntryActionConfig };
4
4
  type EntryActionProps = React.ComponentProps<typeof AcoConfig.Record.Action>;
5
- export declare const EntryAction: ((props: EntryActionProps) => React.JSX.Element) & {
5
+ declare const BaseEntryAction: (props: EntryActionProps) => React.JSX.Element;
6
+ export declare const EntryAction: typeof BaseEntryAction & {
6
7
  OptionsMenuItem: (props: import("@webiny/app-admin/components").OptionsMenuItemProps) => React.JSX.Element;
7
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/configs/list/Browser/EntryAction.js","sources":["../../../../../src/Presentation/configs/list/Browser/EntryAction.tsx"],"sourcesContent":["import React from \"react\";\nimport { CompositionScope } from \"@webiny/react-composition\";\nimport { AcoConfig, type RecordActionConfig } from \"@webiny/app-aco\";\n\nconst { Record } = AcoConfig;\n\nexport type { RecordActionConfig as EntryActionConfig };\n\ntype EntryActionProps = React.ComponentProps<typeof AcoConfig.Record.Action>;\n\nconst BaseEntryAction = (props: EntryActionProps) => {\n return (\n <CompositionScope name={\"scheduler\"}>\n <Record.Action {...props} />\n </CompositionScope>\n );\n};\n\nexport const EntryAction = Object.assign(BaseEntryAction, {\n OptionsMenuItem: Record.Action.OptionsMenuItem\n});\n"],"names":["Record","AcoConfig","BaseEntryAction","props","CompositionScope","EntryAction","Object"],"mappings":";;;AAIA,MAAM,EAAEA,QAAAA,MAAM,EAAE,GAAGC;AAMnB,MAAMC,kBAAkB,CAACC,QACd,WAAP,GACI,oBAACC,kBAAgBA;QAAC,MAAM;qBACpB,oBAACJ,OAAO,MAAM,EAAKG;AAKxB,MAAME,cAAcC,OAAO,MAAM,CAACJ,iBAAiB;IACtD,iBAAiBF,OAAO,MAAM,CAAC,eAAe;AAClD"}
1
+ {"version":3,"file":"presentation/configs/list/Browser/EntryAction.js","sources":["../../../../../src/presentation/configs/list/Browser/EntryAction.tsx"],"sourcesContent":["import React from \"react\";\nimport { CompositionScope } from \"@webiny/react-composition\";\nimport { AcoConfig, type RecordActionConfig } from \"@webiny/app-aco\";\n\nconst { Record } = AcoConfig;\n\nexport type { RecordActionConfig as EntryActionConfig };\n\ntype EntryActionProps = React.ComponentProps<typeof AcoConfig.Record.Action>;\n\nconst BaseEntryAction = (props: EntryActionProps) => {\n return (\n <CompositionScope name={\"scheduler\"}>\n <Record.Action {...props} />\n </CompositionScope>\n );\n};\n\nexport const EntryAction = Object.assign(BaseEntryAction, {\n OptionsMenuItem: Record.Action.OptionsMenuItem\n});\n"],"names":["Record","AcoConfig","BaseEntryAction","props","CompositionScope","EntryAction","Object"],"mappings":";;;AAIA,MAAM,EAAEA,QAAAA,MAAM,EAAE,GAAGC;AAMnB,MAAMC,kBAAkB,CAACC,QACd,WAAP,GACI,oBAACC,kBAAgBA;QAAC,MAAM;qBACpB,oBAACJ,OAAO,MAAM,EAAKG;AAKxB,MAAME,cAAcC,OAAO,MAAM,CAACJ,iBAAiB;IACtD,iBAAiBF,OAAO,MAAM,CAAC,eAAe;AAClD"}
@@ -3,10 +3,11 @@ import { AcoConfig, type TableColumnConfig as ColumnConfig } from "@webiny/app-a
3
3
  import type { SchedulerEntryTableRow } from "../../../../../types.js";
4
4
  export type { ColumnConfig };
5
5
  type ColumnProps = React.ComponentProps<typeof AcoConfig.Table.Column>;
6
- export declare const Column: ((props: ColumnProps) => React.JSX.Element) & {
6
+ declare const BaseColumn: (props: ColumnProps) => React.JSX.Element;
7
+ export declare const Column: typeof BaseColumn & {
7
8
  useTableRow: {
8
- (): import("@webiny/app-aco").TableRowContextData<SchedulerEntryTableRow>;
9
- <TUserRow>(): import("@webiny/app-aco").TableRowContextData<SchedulerEntryTableRow & {
9
+ (): import("@webiny/app-admin/components").TableRowContextData<SchedulerEntryTableRow>;
10
+ <TUserRow>(): import("@webiny/app-admin/components").TableRowContextData<SchedulerEntryTableRow & {
10
11
  data: TUserRow;
11
12
  }>;
12
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/configs/list/Browser/Table/Column.js","sources":["../../../../../../src/Presentation/configs/list/Browser/Table/Column.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, type TableColumnConfig as ColumnConfig } from \"@webiny/app-aco\";\nimport type { SchedulerEntryTableRow } from \"~/types.js\";\n\nconst { Table } = AcoConfig;\n\nexport type { ColumnConfig };\n\ntype ColumnProps = React.ComponentProps<typeof AcoConfig.Table.Column>;\n\nconst BaseColumn = (props: ColumnProps) => {\n return <Table.Column {...props} />;\n};\n\nexport const Column = Object.assign(BaseColumn, {\n useTableRow: Table.Column.createUseTableRow<SchedulerEntryTableRow>(),\n isFolderRow: Table.Column.isFolderRow\n});\n"],"names":["Table","AcoConfig","BaseColumn","props","Column","Object"],"mappings":";;AAIA,MAAM,EAAEA,OAAAA,KAAK,EAAE,GAAGC;AAMlB,MAAMC,aAAa,CAACC,QACT,WAAP,GAAO,oBAACH,MAAM,MAAM,EAAKG;AAGtB,MAAMC,SAASC,OAAO,MAAM,CAACH,YAAY;IAC5C,aAAaF,MAAM,MAAM,CAAC,iBAAiB;IAC3C,aAAaA,MAAM,MAAM,CAAC,WAAW;AACzC"}
1
+ {"version":3,"file":"presentation/configs/list/Browser/Table/Column.js","sources":["../../../../../../src/presentation/configs/list/Browser/Table/Column.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, type TableColumnConfig as ColumnConfig } from \"@webiny/app-aco\";\nimport type { SchedulerEntryTableRow } from \"~/types.js\";\n\nconst { Table } = AcoConfig;\n\nexport type { ColumnConfig };\n\ntype ColumnProps = React.ComponentProps<typeof AcoConfig.Table.Column>;\n\nconst BaseColumn = (props: ColumnProps) => {\n return <Table.Column {...props} />;\n};\n\nexport const Column = Object.assign(BaseColumn, {\n useTableRow: Table.Column.createUseTableRow<SchedulerEntryTableRow>(),\n isFolderRow: Table.Column.isFolderRow\n});\n"],"names":["Table","AcoConfig","BaseColumn","props","Column","Object"],"mappings":";;AAIA,MAAM,EAAEA,OAAAA,KAAK,EAAE,GAAGC;AAMlB,MAAMC,aAAa,CAACC,QACT,WAAP,GAAO,oBAACH,MAAM,MAAM,EAAKG;AAGtB,MAAMC,SAASC,OAAO,MAAM,CAACH,YAAY;IAC5C,aAAaF,MAAM,MAAM,CAAC,iBAAiB;IAC3C,aAAaA,MAAM,MAAM,CAAC,WAAW;AACzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/configs/list/Browser/Table/Sorting.js","sources":["../../../../../../src/Presentation/configs/list/Browser/Table/Sorting.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, type TableSortingConfig as SortingConfig } from \"@webiny/app-aco\";\n\nconst { Table } = AcoConfig;\n\nexport type { SortingConfig };\n\ntype SortingProps = React.ComponentProps<typeof AcoConfig.Table.Sorting>;\n\nexport const Sorting = (props: SortingProps) => {\n return <Table.Sorting {...props} />;\n};\n"],"names":["Table","AcoConfig","Sorting","props"],"mappings":";;AAGA,MAAM,EAAEA,OAAAA,KAAK,EAAE,GAAGC;AAMX,MAAMC,UAAU,CAACC,QACb,WAAP,GAAO,oBAACH,MAAM,OAAO,EAAKG"}
1
+ {"version":3,"file":"presentation/configs/list/Browser/Table/Sorting.js","sources":["../../../../../../src/presentation/configs/list/Browser/Table/Sorting.tsx"],"sourcesContent":["import React from \"react\";\nimport { AcoConfig, type TableSortingConfig as SortingConfig } from \"@webiny/app-aco\";\n\nconst { Table } = AcoConfig;\n\nexport type { SortingConfig };\n\ntype SortingProps = React.ComponentProps<typeof AcoConfig.Table.Sorting>;\n\nexport const Sorting = (props: SortingProps) => {\n return <Table.Sorting {...props} />;\n};\n"],"names":["Table","AcoConfig","Sorting","props"],"mappings":";;AAGA,MAAM,EAAEA,OAAAA,KAAK,EAAE,GAAGC;AAMX,MAAMC,UAAU,CAACC,QACb,WAAP,GAAO,oBAACH,MAAM,OAAO,EAAKG"}
@@ -0,0 +1,19 @@
1
+ import type { ColumnConfig } from "./Column.js";
2
+ import type { SortingConfig } from "./Sorting.js";
3
+ import { Sorting } from "./Sorting.js";
4
+ export interface TableConfig {
5
+ columns: ColumnConfig[];
6
+ sorting: SortingConfig[];
7
+ }
8
+ export declare const Table: {
9
+ Column: ((props: import("@webiny/app-admin/config/table/Column.js").ColumnProps) => import("react").JSX.Element) & {
10
+ useTableRow: {
11
+ (): import("@webiny/app-admin/index.js").TableRowContextData<import("../../../../../types.js").SchedulerEntryTableRow>;
12
+ <TUserRow>(): import("@webiny/app-admin/index.js").TableRowContextData<import("../../../../../types.js").SchedulerEntryTableRow & {
13
+ data: TUserRow;
14
+ }>;
15
+ };
16
+ isFolderRow: (row: import("@webiny/app-admin/index.js").TableRow) => row is import("@webiny/app-aco/table.types.js").FolderTableRow;
17
+ };
18
+ Sorting: typeof Sorting;
19
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/configs/list/Browser/Table/index.js","sources":["../../../../../../src/Presentation/configs/list/Browser/Table/index.ts"],"sourcesContent":["import type { ColumnConfig } from \"./Column.js\";\nimport { Column } from \"./Column.js\";\nimport type { SortingConfig } from \"./Sorting.js\";\nimport { Sorting } from \"./Sorting.js\";\n\nexport interface TableConfig {\n columns: ColumnConfig[];\n sorting: SortingConfig[];\n}\n\nexport const Table = {\n Column,\n Sorting\n};\n"],"names":["Table","Column","Sorting"],"mappings":";;AAUO,MAAMA,QAAQ;IACjBC,QAAMA;IACNC,SAAOA;AACX"}
1
+ {"version":3,"file":"presentation/configs/list/Browser/Table/index.js","sources":["../../../../../../src/presentation/configs/list/Browser/Table/index.ts"],"sourcesContent":["import type { ColumnConfig } from \"./Column.js\";\nimport { Column } from \"./Column.js\";\nimport type { SortingConfig } from \"./Sorting.js\";\nimport { Sorting } from \"./Sorting.js\";\n\nexport interface TableConfig {\n columns: ColumnConfig[];\n sorting: SortingConfig[];\n}\n\nexport const Table = {\n Column,\n Sorting\n};\n"],"names":["Table","Column","Sorting"],"mappings":";;AAUO,MAAMA,QAAQ;IACjBC,QAAMA;IACNC,SAAOA;AACX"}
@@ -0,0 +1,23 @@
1
+ import type { EntryActionConfig } from "./EntryAction.js";
2
+ import type { TableConfig } from "./Table/index.js";
3
+ export interface BrowserConfig {
4
+ entryActions: EntryActionConfig[];
5
+ table: TableConfig;
6
+ }
7
+ export declare const Browser: {
8
+ EntryAction: ((props: import("@webiny/app-aco/config/record/Action.js").ActionProps) => import("react").JSX.Element) & {
9
+ OptionsMenuItem: (props: import("@webiny/app-admin/index.js").OptionsMenuItemProps) => React.JSX.Element;
10
+ };
11
+ Table: {
12
+ Column: ((props: import("@webiny/app-admin/config/table/Column.js").ColumnProps) => import("react").JSX.Element) & {
13
+ useTableRow: {
14
+ (): import("@webiny/app-admin/index.js").TableRowContextData<import("../../../../types.js").SchedulerEntryTableRow>;
15
+ <TUserRow>(): import("@webiny/app-admin/index.js").TableRowContextData<import("../../../../types.js").SchedulerEntryTableRow & {
16
+ data: TUserRow;
17
+ }>;
18
+ };
19
+ isFolderRow: (row: import("@webiny/app-admin/index.js").TableRow) => row is import("@webiny/app-aco/table.types.js").FolderTableRow;
20
+ };
21
+ Sorting: typeof import("./Table/Sorting.js").Sorting;
22
+ };
23
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"Presentation/configs/list/Browser/index.js","sources":["../../../../../src/Presentation/configs/list/Browser/index.ts"],"sourcesContent":["import type { EntryActionConfig } from \"./EntryAction.js\";\nimport { EntryAction } from \"./EntryAction.js\";\nimport type { TableConfig } from \"./Table/index.js\";\nimport { Table } from \"./Table/index.js\";\n\nexport interface BrowserConfig {\n entryActions: EntryActionConfig[];\n table: TableConfig;\n}\n\nexport const Browser = {\n EntryAction,\n Table\n};\n"],"names":["Browser","EntryAction","Table"],"mappings":";;AAUO,MAAMA,UAAU;IACnBC,aAAWA;IACXC,OAAKA;AACT"}
1
+ {"version":3,"file":"presentation/configs/list/Browser/index.js","sources":["../../../../../src/presentation/configs/list/Browser/index.ts"],"sourcesContent":["import type { EntryActionConfig } from \"./EntryAction.js\";\nimport { EntryAction } from \"./EntryAction.js\";\nimport type { TableConfig } from \"./Table/index.js\";\nimport { Table } from \"./Table/index.js\";\n\nexport interface BrowserConfig {\n entryActions: EntryActionConfig[];\n table: TableConfig;\n}\n\nexport const Browser = {\n EntryAction,\n Table\n};\n"],"names":["Browser","EntryAction","Table"],"mappings":";;AAUO,MAAMA,UAAU;IACnBC,aAAWA;IACXC,OAAKA;AACT"}