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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (480) hide show
  1. package/Domain/Models/SchedulerItem/SchedulerItem.d.ts +14 -0
  2. package/Domain/Models/SchedulerItem/SchedulerItem.js +17 -0
  3. package/Domain/Models/SchedulerItem/SchedulerItem.js.map +1 -0
  4. package/Domain/Models/SchedulerItem/index.d.ts +1 -0
  5. package/Domain/Models/SchedulerItem/index.js +3 -0
  6. package/Domain/Models/SchedulerItem/index.js.map +1 -0
  7. package/Domain/Models/index.d.ts +1 -0
  8. package/Domain/Models/index.js +3 -0
  9. package/Domain/Models/index.js.map +1 -0
  10. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.d.ts +14 -0
  11. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js +3 -0
  12. package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js.map +1 -0
  13. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.d.ts +37 -0
  14. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js +125 -0
  15. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js.map +1 -0
  16. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.d.ts +20 -0
  17. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js +17 -0
  18. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js.map +1 -0
  19. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.d.ts +17 -0
  20. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js +38 -0
  21. package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js.map +1 -0
  22. package/Domain/Repositories/SchedulerItems/index.d.ts +4 -0
  23. package/Domain/Repositories/SchedulerItems/index.js +6 -0
  24. package/Domain/Repositories/SchedulerItems/index.js.map +1 -0
  25. package/Domain/Repositories/Search/ISearchRepository.d.ts +4 -0
  26. package/Domain/Repositories/Search/ISearchRepository.js +3 -0
  27. package/Domain/Repositories/Search/ISearchRepository.js.map +1 -0
  28. package/Domain/Repositories/Search/SearchRepository.d.ts +7 -0
  29. package/Domain/Repositories/Search/SearchRepository.js +15 -0
  30. package/Domain/Repositories/Search/SearchRepository.js.map +1 -0
  31. package/Domain/Repositories/Search/SearchRepositoryFactory.d.ts +7 -0
  32. package/Domain/Repositories/Search/SearchRepositoryFactory.js +17 -0
  33. package/Domain/Repositories/Search/SearchRepositoryFactory.js.map +1 -0
  34. package/Domain/Repositories/Search/index.d.ts +3 -0
  35. package/Domain/Repositories/Search/index.js +5 -0
  36. package/Domain/Repositories/Search/index.js.map +1 -0
  37. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.d.ts +8 -0
  38. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js +3 -0
  39. package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js.map +1 -0
  40. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.d.ts +12 -0
  41. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js +27 -0
  42. package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js.map +1 -0
  43. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.d.ts +7 -0
  44. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js +17 -0
  45. package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js.map +1 -0
  46. package/Domain/Repositories/SelectedItems/index.d.ts +3 -0
  47. package/Domain/Repositories/SelectedItems/index.js +5 -0
  48. package/Domain/Repositories/SelectedItems/index.js.map +1 -0
  49. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.d.ts +8 -0
  50. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js +22 -0
  51. package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js.map +1 -0
  52. package/Domain/Repositories/Sorting/index.d.ts +1 -0
  53. package/Domain/Repositories/Sorting/index.js +3 -0
  54. package/Domain/Repositories/Sorting/index.js.map +1 -0
  55. package/Domain/Repositories/index.d.ts +4 -0
  56. package/Domain/Repositories/index.js +6 -0
  57. package/Domain/Repositories/index.js.map +1 -0
  58. package/Domain/index.d.ts +2 -0
  59. package/Domain/index.js +4 -0
  60. package/Domain/index.js.map +1 -0
  61. package/Gateways/SchedulerCancelGateway.d.ts +7 -0
  62. package/Gateways/SchedulerCancelGateway.js +3 -0
  63. package/Gateways/SchedulerCancelGateway.js.map +1 -0
  64. package/Gateways/SchedulerGetGateway.d.ts +11 -0
  65. package/Gateways/SchedulerGetGateway.js +3 -0
  66. package/Gateways/SchedulerGetGateway.js.map +1 -0
  67. package/Gateways/SchedulerListGateway.d.ts +29 -0
  68. package/Gateways/SchedulerListGateway.js +3 -0
  69. package/Gateways/SchedulerListGateway.js.map +1 -0
  70. package/Gateways/SchedulerPublishGateway.d.ts +12 -0
  71. package/Gateways/SchedulerPublishGateway.js +3 -0
  72. package/Gateways/SchedulerPublishGateway.js.map +1 -0
  73. package/Gateways/SchedulerUnpublishGateway.d.ts +12 -0
  74. package/Gateways/SchedulerUnpublishGateway.js +3 -0
  75. package/Gateways/SchedulerUnpublishGateway.js.map +1 -0
  76. package/Gateways/index.d.ts +5 -0
  77. package/Gateways/index.js +7 -0
  78. package/Gateways/index.js.map +1 -0
  79. package/LICENSE +21 -0
  80. package/Presentation/Scheduler/Scheduler.d.ts +18 -0
  81. package/Presentation/Scheduler/Scheduler.js +66 -0
  82. package/Presentation/Scheduler/Scheduler.js.map +1 -0
  83. package/Presentation/Scheduler/SchedulerControllers.d.ts +30 -0
  84. package/Presentation/Scheduler/SchedulerControllers.js +72 -0
  85. package/Presentation/Scheduler/SchedulerControllers.js.map +1 -0
  86. package/Presentation/Scheduler/SchedulerPresenter.d.ts +32 -0
  87. package/Presentation/Scheduler/SchedulerPresenter.js +44 -0
  88. package/Presentation/Scheduler/SchedulerPresenter.js.map +1 -0
  89. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.d.ts +7 -0
  90. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js +11 -0
  91. package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js.map +1 -0
  92. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.d.ts +3 -0
  93. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js +3 -0
  94. package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js.map +1 -0
  95. package/Presentation/Scheduler/controllers/CancelItem/index.d.ts +2 -0
  96. package/Presentation/Scheduler/controllers/CancelItem/index.js +4 -0
  97. package/Presentation/Scheduler/controllers/CancelItem/index.js.map +1 -0
  98. package/Presentation/Scheduler/controllers/GetItem/GetItemController.d.ts +8 -0
  99. package/Presentation/Scheduler/controllers/GetItem/GetItemController.js +11 -0
  100. package/Presentation/Scheduler/controllers/GetItem/GetItemController.js.map +1 -0
  101. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.d.ts +4 -0
  102. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js +3 -0
  103. package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js.map +1 -0
  104. package/Presentation/Scheduler/controllers/GetItem/index.d.ts +2 -0
  105. package/Presentation/Scheduler/controllers/GetItem/index.js +4 -0
  106. package/Presentation/Scheduler/controllers/GetItem/index.js.map +1 -0
  107. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.d.ts +4 -0
  108. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js +3 -0
  109. package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js.map +1 -0
  110. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.d.ts +8 -0
  111. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js +11 -0
  112. package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js.map +1 -0
  113. package/Presentation/Scheduler/controllers/ListItems/index.d.ts +2 -0
  114. package/Presentation/Scheduler/controllers/ListItems/index.js +4 -0
  115. package/Presentation/Scheduler/controllers/ListItems/index.js.map +1 -0
  116. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.d.ts +3 -0
  117. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js +3 -0
  118. package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js.map +1 -0
  119. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.d.ts +7 -0
  120. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js +11 -0
  121. package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js.map +1 -0
  122. package/Presentation/Scheduler/controllers/ListMoreItems/index.d.ts +2 -0
  123. package/Presentation/Scheduler/controllers/ListMoreItems/index.js +4 -0
  124. package/Presentation/Scheduler/controllers/ListMoreItems/index.js.map +1 -0
  125. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.d.ts +3 -0
  126. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js +3 -0
  127. package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js.map +1 -0
  128. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.d.ts +7 -0
  129. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js +11 -0
  130. package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js.map +1 -0
  131. package/Presentation/Scheduler/controllers/PublishItem/index.d.ts +2 -0
  132. package/Presentation/Scheduler/controllers/PublishItem/index.js +4 -0
  133. package/Presentation/Scheduler/controllers/PublishItem/index.js.map +1 -0
  134. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.d.ts +3 -0
  135. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js +3 -0
  136. package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js.map +1 -0
  137. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.d.ts +8 -0
  138. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js +14 -0
  139. package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js.map +1 -0
  140. package/Presentation/Scheduler/controllers/SearchItems/index.d.ts +2 -0
  141. package/Presentation/Scheduler/controllers/SearchItems/index.js +4 -0
  142. package/Presentation/Scheduler/controllers/SearchItems/index.js.map +1 -0
  143. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.d.ts +3 -0
  144. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js +3 -0
  145. package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js.map +1 -0
  146. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.d.ts +7 -0
  147. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js +11 -0
  148. package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js.map +1 -0
  149. package/Presentation/Scheduler/controllers/SelectAllItems/index.d.ts +2 -0
  150. package/Presentation/Scheduler/controllers/SelectAllItems/index.js +4 -0
  151. package/Presentation/Scheduler/controllers/SelectAllItems/index.js.map +1 -0
  152. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.d.ts +4 -0
  153. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js +3 -0
  154. package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js.map +1 -0
  155. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.d.ts +8 -0
  156. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js +13 -0
  157. package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js.map +1 -0
  158. package/Presentation/Scheduler/controllers/SelectItems/index.d.ts +2 -0
  159. package/Presentation/Scheduler/controllers/SelectItems/index.js +4 -0
  160. package/Presentation/Scheduler/controllers/SelectItems/index.js.map +1 -0
  161. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.d.ts +4 -0
  162. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js +3 -0
  163. package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js.map +1 -0
  164. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.d.ts +9 -0
  165. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js +19 -0
  166. package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js.map +1 -0
  167. package/Presentation/Scheduler/controllers/SortItems/index.d.ts +2 -0
  168. package/Presentation/Scheduler/controllers/SortItems/index.js +4 -0
  169. package/Presentation/Scheduler/controllers/SortItems/index.js.map +1 -0
  170. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.d.ts +3 -0
  171. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js +3 -0
  172. package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js.map +1 -0
  173. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.d.ts +7 -0
  174. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js +11 -0
  175. package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js.map +1 -0
  176. package/Presentation/Scheduler/controllers/UnpublishItem/index.d.ts +2 -0
  177. package/Presentation/Scheduler/controllers/UnpublishItem/index.js +4 -0
  178. package/Presentation/Scheduler/controllers/UnpublishItem/index.js.map +1 -0
  179. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.d.ts +3 -0
  180. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js +3 -0
  181. package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js.map +1 -0
  182. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.d.ts +7 -0
  183. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js +11 -0
  184. package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js.map +1 -0
  185. package/Presentation/Scheduler/controllers/UnselectAllItems/index.d.ts +2 -0
  186. package/Presentation/Scheduler/controllers/UnselectAllItems/index.js +4 -0
  187. package/Presentation/Scheduler/controllers/UnselectAllItems/index.js.map +1 -0
  188. package/Presentation/Scheduler/controllers/index.d.ts +11 -0
  189. package/Presentation/Scheduler/controllers/index.js +13 -0
  190. package/Presentation/Scheduler/controllers/index.js.map +1 -0
  191. package/Presentation/Scheduler/index.d.ts +1 -0
  192. package/Presentation/Scheduler/index.js +3 -0
  193. package/Presentation/Scheduler/index.js.map +1 -0
  194. package/Presentation/SchedulerConfigs/SchedulerConfigs.d.ts +2 -0
  195. package/Presentation/SchedulerConfigs/SchedulerConfigs.js +50 -0
  196. package/Presentation/SchedulerConfigs/SchedulerConfigs.js.map +1 -0
  197. package/Presentation/SchedulerConfigs/index.d.ts +1 -0
  198. package/Presentation/SchedulerConfigs/index.js +3 -0
  199. package/Presentation/SchedulerConfigs/index.js.map +1 -0
  200. package/Presentation/SchedulerRenderer/SchedulerRenderer.d.ts +6 -0
  201. package/Presentation/SchedulerRenderer/SchedulerRenderer.js +21 -0
  202. package/Presentation/SchedulerRenderer/SchedulerRenderer.js.map +1 -0
  203. package/Presentation/SchedulerRenderer/index.d.ts +1 -0
  204. package/Presentation/SchedulerRenderer/index.js +3 -0
  205. package/Presentation/SchedulerRenderer/index.js.map +1 -0
  206. package/Presentation/abstractions/ISchedulerControllers.d.ts +14 -0
  207. package/Presentation/abstractions/ISchedulerControllers.js +3 -0
  208. package/Presentation/abstractions/ISchedulerControllers.js.map +1 -0
  209. package/Presentation/abstractions/ISchedulerPresenter.d.ts +19 -0
  210. package/Presentation/abstractions/ISchedulerPresenter.js +3 -0
  211. package/Presentation/abstractions/ISchedulerPresenter.js.map +1 -0
  212. package/Presentation/abstractions/index.d.ts +2 -0
  213. package/Presentation/abstractions/index.js +4 -0
  214. package/Presentation/abstractions/index.js.map +1 -0
  215. package/Presentation/components/Actions/CancelItem/CancelItem.d.ts +2 -0
  216. package/Presentation/components/Actions/CancelItem/CancelItem.js +24 -0
  217. package/Presentation/components/Actions/CancelItem/CancelItem.js.map +1 -0
  218. package/Presentation/components/Actions/CancelItem/index.d.ts +1 -0
  219. package/Presentation/components/Actions/CancelItem/index.js +3 -0
  220. package/Presentation/components/Actions/CancelItem/index.js.map +1 -0
  221. package/Presentation/components/Actions/index.d.ts +1 -0
  222. package/Presentation/components/Actions/index.js +3 -0
  223. package/Presentation/components/Actions/index.js.map +1 -0
  224. package/Presentation/components/BottomInfoBar/BottomInfoBar.d.ts +2 -0
  225. package/Presentation/components/BottomInfoBar/BottomInfoBar.js +20 -0
  226. package/Presentation/components/BottomInfoBar/BottomInfoBar.js.map +1 -0
  227. package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.d.ts +21 -0
  228. package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js +74 -0
  229. package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js.map +1 -0
  230. package/Presentation/components/BottomInfoBar/ListMeta.d.ts +7 -0
  231. package/Presentation/components/BottomInfoBar/ListMeta.js +12 -0
  232. package/Presentation/components/BottomInfoBar/ListMeta.js.map +1 -0
  233. package/Presentation/components/BottomInfoBar/ListStatus.d.ts +5 -0
  234. package/Presentation/components/BottomInfoBar/ListStatus.js +16 -0
  235. package/Presentation/components/BottomInfoBar/ListStatus.js.map +1 -0
  236. package/Presentation/components/BottomInfoBar/index.d.ts +1 -0
  237. package/Presentation/components/BottomInfoBar/index.js +3 -0
  238. package/Presentation/components/BottomInfoBar/index.js.map +1 -0
  239. package/Presentation/components/Cells/CellActions/CellActions.d.ts +2 -0
  240. package/Presentation/components/Cells/CellActions/CellActions.js +24 -0
  241. package/Presentation/components/Cells/CellActions/CellActions.js.map +1 -0
  242. package/Presentation/components/Cells/CellActions/index.d.ts +1 -0
  243. package/Presentation/components/Cells/CellActions/index.js +3 -0
  244. package/Presentation/components/Cells/CellActions/index.js.map +1 -0
  245. package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.d.ts +2 -0
  246. package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js +13 -0
  247. package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js.map +1 -0
  248. package/Presentation/components/Cells/CellScheduledBy/index.d.ts +1 -0
  249. package/Presentation/components/Cells/CellScheduledBy/index.js +3 -0
  250. package/Presentation/components/Cells/CellScheduledBy/index.js.map +1 -0
  251. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.d.ts +2 -0
  252. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js +20 -0
  253. package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js.map +1 -0
  254. package/Presentation/components/Cells/CellScheduledOn/index.d.ts +1 -0
  255. package/Presentation/components/Cells/CellScheduledOn/index.js +3 -0
  256. package/Presentation/components/Cells/CellScheduledOn/index.js.map +1 -0
  257. package/Presentation/components/Cells/CellTitle/CellTitle.d.ts +2 -0
  258. package/Presentation/components/Cells/CellTitle/CellTitle.js +17 -0
  259. package/Presentation/components/Cells/CellTitle/CellTitle.js.map +1 -0
  260. package/Presentation/components/Cells/CellTitle/CellTitle.styled.d.ts +12 -0
  261. package/Presentation/components/Cells/CellTitle/CellTitle.styled.js +47 -0
  262. package/Presentation/components/Cells/CellTitle/CellTitle.styled.js.map +1 -0
  263. package/Presentation/components/Cells/CellTitle/index.d.ts +1 -0
  264. package/Presentation/components/Cells/CellTitle/index.js +3 -0
  265. package/Presentation/components/Cells/CellTitle/index.js.map +1 -0
  266. package/Presentation/components/Cells/CellType/CellType.d.ts +2 -0
  267. package/Presentation/components/Cells/CellType/CellType.js +17 -0
  268. package/Presentation/components/Cells/CellType/CellType.js.map +1 -0
  269. package/Presentation/components/Cells/CellType/CellType.styled.d.ts +12 -0
  270. package/Presentation/components/Cells/CellType/CellType.styled.js +47 -0
  271. package/Presentation/components/Cells/CellType/CellType.styled.js.map +1 -0
  272. package/Presentation/components/Cells/CellType/index.d.ts +1 -0
  273. package/Presentation/components/Cells/CellType/index.js +3 -0
  274. package/Presentation/components/Cells/CellType/index.js.map +1 -0
  275. package/Presentation/components/Cells/index.d.ts +5 -0
  276. package/Presentation/components/Cells/index.js +7 -0
  277. package/Presentation/components/Cells/index.js.map +1 -0
  278. package/Presentation/components/Empty/Empty.d.ts +2 -0
  279. package/Presentation/components/Empty/Empty.js +22 -0
  280. package/Presentation/components/Empty/Empty.js.map +1 -0
  281. package/Presentation/components/Empty/Empty.styled.d.ts +9 -0
  282. package/Presentation/components/Empty/Empty.styled.js +32 -0
  283. package/Presentation/components/Empty/Empty.styled.js.map +1 -0
  284. package/Presentation/components/Empty/index.d.ts +1 -0
  285. package/Presentation/components/Empty/index.js +3 -0
  286. package/Presentation/components/Empty/index.js.map +1 -0
  287. package/Presentation/components/ScheduleDialog/ScheduleDialog.d.ts +13 -0
  288. package/Presentation/components/ScheduleDialog/ScheduleDialog.js +15 -0
  289. package/Presentation/components/ScheduleDialog/ScheduleDialog.js.map +1 -0
  290. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.d.ts +7 -0
  291. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js +36 -0
  292. package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js.map +1 -0
  293. package/Presentation/components/SchedulerOverlay/index.d.ts +1 -0
  294. package/Presentation/components/SchedulerOverlay/index.js +3 -0
  295. package/Presentation/components/SchedulerOverlay/index.js.map +1 -0
  296. package/Presentation/components/SearchInput/SearchInput.d.ts +2 -0
  297. package/Presentation/components/SearchInput/SearchInput.js +37 -0
  298. package/Presentation/components/SearchInput/SearchInput.js.map +1 -0
  299. package/Presentation/components/SearchInput/index.d.ts +1 -0
  300. package/Presentation/components/SearchInput/index.js +3 -0
  301. package/Presentation/components/SearchInput/index.js.map +1 -0
  302. package/Presentation/components/Table/Table.d.ts +2 -0
  303. package/Presentation/components/Table/Table.js +23 -0
  304. package/Presentation/components/Table/Table.js.map +1 -0
  305. package/Presentation/components/Table/index.d.ts +1 -0
  306. package/Presentation/components/Table/index.js +3 -0
  307. package/Presentation/components/Table/index.js.map +1 -0
  308. package/Presentation/components/Title/Title.d.ts +5 -0
  309. package/Presentation/components/Title/Title.js +15 -0
  310. package/Presentation/components/Title/Title.js.map +1 -0
  311. package/Presentation/components/Title/Title.styled.d.ts +4 -0
  312. package/Presentation/components/Title/Title.styled.js +19 -0
  313. package/Presentation/components/Title/Title.styled.js.map +1 -0
  314. package/Presentation/components/Title/index.d.ts +1 -0
  315. package/Presentation/components/Title/index.js +3 -0
  316. package/Presentation/components/Title/index.js.map +1 -0
  317. package/Presentation/configs/index.d.ts +1 -0
  318. package/Presentation/configs/index.js +3 -0
  319. package/Presentation/configs/index.js.map +1 -0
  320. package/Presentation/configs/list/Browser/EntryAction.d.ts +7 -0
  321. package/Presentation/configs/list/Browser/EntryAction.js +17 -0
  322. package/Presentation/configs/list/Browser/EntryAction.js.map +1 -0
  323. package/Presentation/configs/list/Browser/Table/Column.d.ts +9 -0
  324. package/Presentation/configs/list/Browser/Table/Column.js +15 -0
  325. package/Presentation/configs/list/Browser/Table/Column.js.map +1 -0
  326. package/Presentation/configs/list/Browser/Table/Sorting.d.ts +5 -0
  327. package/Presentation/configs/list/Browser/Table/Sorting.js +11 -0
  328. package/Presentation/configs/list/Browser/Table/Sorting.js.map +1 -0
  329. package/Presentation/configs/list/Browser/Table/index.d.ts +14 -0
  330. package/Presentation/configs/list/Browser/Table/index.js +8 -0
  331. package/Presentation/configs/list/Browser/Table/index.js.map +1 -0
  332. package/Presentation/configs/list/Browser/index.d.ts +19 -0
  333. package/Presentation/configs/list/Browser/index.js +8 -0
  334. package/Presentation/configs/list/Browser/index.js.map +1 -0
  335. package/Presentation/configs/list/SchedulerListConfig.d.ts +28 -0
  336. package/Presentation/configs/list/SchedulerListConfig.js +29 -0
  337. package/Presentation/configs/list/SchedulerListConfig.js.map +1 -0
  338. package/Presentation/configs/list/index.d.ts +1 -0
  339. package/Presentation/configs/list/index.js +3 -0
  340. package/Presentation/configs/list/index.js.map +1 -0
  341. package/Presentation/hooks/index.d.ts +3 -0
  342. package/Presentation/hooks/index.js +5 -0
  343. package/Presentation/hooks/index.js.map +1 -0
  344. package/Presentation/hooks/useCancelSchedulerItem.d.ts +8 -0
  345. package/Presentation/hooks/useCancelSchedulerItem.js +32 -0
  346. package/Presentation/hooks/useCancelSchedulerItem.js.map +1 -0
  347. package/Presentation/hooks/useScheduler.d.ts +27 -0
  348. package/Presentation/hooks/useScheduler.js +51 -0
  349. package/Presentation/hooks/useScheduler.js.map +1 -0
  350. package/Presentation/hooks/useSchedulerItem.d.ts +12 -0
  351. package/Presentation/hooks/useSchedulerItem.js +9 -0
  352. package/Presentation/hooks/useSchedulerItem.js.map +1 -0
  353. package/Presentation/index.d.ts +23 -0
  354. package/Presentation/index.js +30 -0
  355. package/Presentation/index.js.map +1 -0
  356. package/README.md +22 -0
  357. package/UseCases/CancelItem/CancelItemUseCase.d.ts +7 -0
  358. package/UseCases/CancelItem/CancelItemUseCase.js +12 -0
  359. package/UseCases/CancelItem/CancelItemUseCase.js.map +1 -0
  360. package/UseCases/CancelItem/ICancelItemUseCase.d.ts +3 -0
  361. package/UseCases/CancelItem/ICancelItemUseCase.js +3 -0
  362. package/UseCases/CancelItem/ICancelItemUseCase.js.map +1 -0
  363. package/UseCases/CancelItem/index.d.ts +2 -0
  364. package/UseCases/CancelItem/index.js +4 -0
  365. package/UseCases/CancelItem/index.js.map +1 -0
  366. package/UseCases/GetItem/GetItemUseCase.d.ts +8 -0
  367. package/UseCases/GetItem/GetItemUseCase.js +12 -0
  368. package/UseCases/GetItem/GetItemUseCase.js.map +1 -0
  369. package/UseCases/GetItem/IGetItemUseCase.d.ts +4 -0
  370. package/UseCases/GetItem/IGetItemUseCase.js +3 -0
  371. package/UseCases/GetItem/IGetItemUseCase.js.map +1 -0
  372. package/UseCases/GetItem/index.d.ts +2 -0
  373. package/UseCases/GetItem/index.js +4 -0
  374. package/UseCases/GetItem/index.js.map +1 -0
  375. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.d.ts +7 -0
  376. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js +13 -0
  377. package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js.map +1 -0
  378. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.d.ts +4 -0
  379. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js +3 -0
  380. package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js.map +1 -0
  381. package/UseCases/GetScheduledItem/index.d.ts +2 -0
  382. package/UseCases/GetScheduledItem/index.js +4 -0
  383. package/UseCases/GetScheduledItem/index.js.map +1 -0
  384. package/UseCases/ListItems/IListItemsUseCase.d.ts +4 -0
  385. package/UseCases/ListItems/IListItemsUseCase.js +3 -0
  386. package/UseCases/ListItems/IListItemsUseCase.js.map +1 -0
  387. package/UseCases/ListItems/ListItemsUseCase.d.ts +8 -0
  388. package/UseCases/ListItems/ListItemsUseCase.js +12 -0
  389. package/UseCases/ListItems/ListItemsUseCase.js.map +1 -0
  390. package/UseCases/ListItems/ListItemsUseCaseWithSearch.d.ts +9 -0
  391. package/UseCases/ListItems/ListItemsUseCaseWithSearch.js +20 -0
  392. package/UseCases/ListItems/ListItemsUseCaseWithSearch.js.map +1 -0
  393. package/UseCases/ListItems/ListItemsUseCaseWithSorting.d.ts +9 -0
  394. package/UseCases/ListItems/ListItemsUseCaseWithSorting.js +18 -0
  395. package/UseCases/ListItems/ListItemsUseCaseWithSorting.js.map +1 -0
  396. package/UseCases/ListItems/index.d.ts +4 -0
  397. package/UseCases/ListItems/index.js +6 -0
  398. package/UseCases/ListItems/index.js.map +1 -0
  399. package/UseCases/ListMoreItems/IListMoreItemsUseCase.d.ts +3 -0
  400. package/UseCases/ListMoreItems/IListMoreItemsUseCase.js +3 -0
  401. package/UseCases/ListMoreItems/IListMoreItemsUseCase.js.map +1 -0
  402. package/UseCases/ListMoreItems/ListMoreItemsUseCase.d.ts +7 -0
  403. package/UseCases/ListMoreItems/ListMoreItemsUseCase.js +12 -0
  404. package/UseCases/ListMoreItems/ListMoreItemsUseCase.js.map +1 -0
  405. package/UseCases/ListMoreItems/index.d.ts +2 -0
  406. package/UseCases/ListMoreItems/index.js +4 -0
  407. package/UseCases/ListMoreItems/index.js.map +1 -0
  408. package/UseCases/PublishItem/IPublishItemUseCase.d.ts +3 -0
  409. package/UseCases/PublishItem/IPublishItemUseCase.js +3 -0
  410. package/UseCases/PublishItem/IPublishItemUseCase.js.map +1 -0
  411. package/UseCases/PublishItem/PublishItemUseCase.d.ts +7 -0
  412. package/UseCases/PublishItem/PublishItemUseCase.js +12 -0
  413. package/UseCases/PublishItem/PublishItemUseCase.js.map +1 -0
  414. package/UseCases/PublishItem/index.d.ts +2 -0
  415. package/UseCases/PublishItem/index.js +4 -0
  416. package/UseCases/PublishItem/index.js.map +1 -0
  417. package/UseCases/SearchItems/ISearchItemsUseCase.d.ts +3 -0
  418. package/UseCases/SearchItems/ISearchItemsUseCase.js +3 -0
  419. package/UseCases/SearchItems/ISearchItemsUseCase.js.map +1 -0
  420. package/UseCases/SearchItems/SearchItemsUseCase.d.ts +7 -0
  421. package/UseCases/SearchItems/SearchItemsUseCase.js +12 -0
  422. package/UseCases/SearchItems/SearchItemsUseCase.js.map +1 -0
  423. package/UseCases/SearchItems/index.d.ts +2 -0
  424. package/UseCases/SearchItems/index.js +4 -0
  425. package/UseCases/SearchItems/index.js.map +1 -0
  426. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.d.ts +3 -0
  427. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js +3 -0
  428. package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js.map +1 -0
  429. package/UseCases/SelectAllItems/SelectAllItemsUseCase.d.ts +7 -0
  430. package/UseCases/SelectAllItems/SelectAllItemsUseCase.js +12 -0
  431. package/UseCases/SelectAllItems/SelectAllItemsUseCase.js.map +1 -0
  432. package/UseCases/SelectAllItems/index.d.ts +2 -0
  433. package/UseCases/SelectAllItems/index.js +4 -0
  434. package/UseCases/SelectAllItems/index.js.map +1 -0
  435. package/UseCases/SelectItems/ISelectItemsUseCase.d.ts +4 -0
  436. package/UseCases/SelectItems/ISelectItemsUseCase.js +3 -0
  437. package/UseCases/SelectItems/ISelectItemsUseCase.js.map +1 -0
  438. package/UseCases/SelectItems/SelectItemsUseCase.d.ts +7 -0
  439. package/UseCases/SelectItems/SelectItemsUseCase.js +12 -0
  440. package/UseCases/SelectItems/SelectItemsUseCase.js.map +1 -0
  441. package/UseCases/SelectItems/index.d.ts +2 -0
  442. package/UseCases/SelectItems/index.js +4 -0
  443. package/UseCases/SelectItems/index.js.map +1 -0
  444. package/UseCases/SortItems/ISortItemsUseCase.d.ts +4 -0
  445. package/UseCases/SortItems/ISortItemsUseCase.js +3 -0
  446. package/UseCases/SortItems/ISortItemsUseCase.js.map +1 -0
  447. package/UseCases/SortItems/SortItemsUseCase.d.ts +7 -0
  448. package/UseCases/SortItems/SortItemsUseCase.js +12 -0
  449. package/UseCases/SortItems/SortItemsUseCase.js.map +1 -0
  450. package/UseCases/SortItems/index.d.ts +2 -0
  451. package/UseCases/SortItems/index.js +4 -0
  452. package/UseCases/SortItems/index.js.map +1 -0
  453. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.d.ts +3 -0
  454. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js +3 -0
  455. package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js.map +1 -0
  456. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.d.ts +7 -0
  457. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js +12 -0
  458. package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js.map +1 -0
  459. package/UseCases/UnSelectAllItems/index.d.ts +2 -0
  460. package/UseCases/UnSelectAllItems/index.js +4 -0
  461. package/UseCases/UnSelectAllItems/index.js.map +1 -0
  462. package/UseCases/UnpublishItem/IUnpublishItemUseCase.d.ts +3 -0
  463. package/UseCases/UnpublishItem/IUnpublishItemUseCase.js +3 -0
  464. package/UseCases/UnpublishItem/IUnpublishItemUseCase.js.map +1 -0
  465. package/UseCases/UnpublishItem/UnpublishItemUseCase.d.ts +7 -0
  466. package/UseCases/UnpublishItem/UnpublishItemUseCase.js +12 -0
  467. package/UseCases/UnpublishItem/UnpublishItemUseCase.js.map +1 -0
  468. package/UseCases/UnpublishItem/index.d.ts +2 -0
  469. package/UseCases/UnpublishItem/index.js +4 -0
  470. package/UseCases/UnpublishItem/index.js.map +1 -0
  471. package/UseCases/index.d.ts +11 -0
  472. package/UseCases/index.js +13 -0
  473. package/UseCases/index.js.map +1 -0
  474. package/index.d.ts +2 -0
  475. package/index.js +4 -0
  476. package/index.js.map +1 -0
  477. package/package.json +53 -0
  478. package/types.d.ts +34 -0
  479. package/types.js +15 -0
  480. package/types.js.map +1 -0
@@ -0,0 +1,3 @@
1
+ export * from "./CellScheduledBy";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellScheduledBy\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const CellScheduledOn: () => React.JSX.Element;
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ import { TimeAgo } from "@webiny/ui/TimeAgo";
3
+ import { SchedulerListConfig } from "../../../configs";
4
+ export const CellScheduledOn = () => {
5
+ const {
6
+ useTableRow
7
+ } = SchedulerListConfig.Browser.Table.Column;
8
+ const {
9
+ row
10
+ } = useTableRow();
11
+ const dateTime = row.publishOn || row.unpublishOn;
12
+ if (!dateTime) {
13
+ return /*#__PURE__*/React.createElement(React.Fragment, null, "Missing publish or unpublish date.");
14
+ }
15
+ return /*#__PURE__*/React.createElement(TimeAgo, {
16
+ datetime: dateTime
17
+ });
18
+ };
19
+
20
+ //# sourceMappingURL=CellScheduledOn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","TimeAgo","SchedulerListConfig","CellScheduledOn","useTableRow","Browser","Table","Column","row","dateTime","publishOn","unpublishOn","createElement","Fragment","datetime"],"sources":["CellScheduledOn.tsx"],"sourcesContent":["import React from \"react\";\nimport { TimeAgo } from \"@webiny/ui/TimeAgo\";\nimport { SchedulerListConfig } from \"~/Presentation/configs\";\n\nexport const CellScheduledOn = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n const dateTime = row.publishOn || row.unpublishOn;\n if (!dateTime) {\n return <>Missing publish or unpublish date.</>;\n }\n\n return <TimeAgo datetime={dateTime} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,mBAAmB;AAE5B,OAAO,MAAMC,eAAe,GAAGA,CAAA,KAAM;EACjC,MAAM;IAAEC;EAAY,CAAC,GAAGF,mBAAmB,CAACG,OAAO,CAACC,KAAK,CAACC,MAAM;EAChE,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,MAAMK,QAAQ,GAAGD,GAAG,CAACE,SAAS,IAAIF,GAAG,CAACG,WAAW;EACjD,IAAI,CAACF,QAAQ,EAAE;IACX,oBAAOT,KAAA,CAAAY,aAAA,CAAAZ,KAAA,CAAAa,QAAA,QAAE,oCAAoC,CAAC;EAClD;EAEA,oBAAOb,KAAA,CAAAY,aAAA,CAACX,OAAO;IAACa,QAAQ,EAAEL;EAAS,CAAE,CAAC;AAC1C,CAAC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./CellScheduledOn.js";
@@ -0,0 +1,3 @@
1
+ export * from "./CellScheduledOn.js";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellScheduledOn.js\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const CellTitle: () => React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { ReactComponent as File } from "@material-design-icons/svg/outlined/description.svg";
3
+ import { RowIcon, RowText, RowTitle } from "./CellTitle.styled";
4
+ import { SchedulerListConfig } from "../../../configs";
5
+ export const CellTitle = () => {
6
+ const {
7
+ useTableRow
8
+ } = SchedulerListConfig.Browser.Table.Column;
9
+ const {
10
+ row
11
+ } = useTableRow();
12
+ return /*#__PURE__*/React.createElement(RowTitle, null, /*#__PURE__*/React.createElement(RowIcon, null, /*#__PURE__*/React.createElement(File, null)), /*#__PURE__*/React.createElement(RowText, {
13
+ use: "subtitle2"
14
+ }, row.title));
15
+ };
16
+
17
+ //# sourceMappingURL=CellTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ReactComponent","File","RowIcon","RowText","RowTitle","SchedulerListConfig","CellTitle","useTableRow","Browser","Table","Column","row","createElement","use","title"],"sources":["CellTitle.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as File } from \"@material-design-icons/svg/outlined/description.svg\";\nimport { RowIcon, RowText, RowTitle } from \"./CellTitle.styled\";\nimport { SchedulerListConfig } from \"~/Presentation/configs\";\n\nexport const CellTitle = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowTitle>\n <RowIcon>\n <File />\n </RowIcon>\n <RowText use={\"subtitle2\"}>{row.title}</RowText>\n </RowTitle>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,IAAI,QAAQ,qDAAqD;AAC5F,SAASC,OAAO,EAAEC,OAAO,EAAEC,QAAQ;AACnC,SAASC,mBAAmB;AAE5B,OAAO,MAAMC,SAAS,GAAGA,CAAA,KAAM;EAC3B,MAAM;IAAEC;EAAY,CAAC,GAAGF,mBAAmB,CAACG,OAAO,CAACC,KAAK,CAACC,MAAM;EAChE,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBACIR,KAAA,CAAAa,aAAA,CAACR,QAAQ,qBACLL,KAAA,CAAAa,aAAA,CAACV,OAAO,qBACJH,KAAA,CAAAa,aAAA,CAACX,IAAI,MAAE,CACF,CAAC,eACVF,KAAA,CAAAa,aAAA,CAACT,OAAO;IAACU,GAAG,EAAE;EAAY,GAAEF,GAAG,CAACG,KAAe,CACzC,CAAC;AAEnB,CAAC","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export declare const RowTitle: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const RowIcon: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
+ export declare const RowText: import("@emotion/styled").StyledComponent<import("@webiny/ui/Typography/Typography").TypographyProps & {
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ }, {}, {}>;
@@ -0,0 +1,47 @@
1
+ import _styled from "@emotion/styled/base";
2
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
+ import { Typography } from "@webiny/ui/Typography";
4
+ export const RowTitle = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
5
+ target: "e17fhulp2"
6
+ } : {
7
+ target: "e17fhulp2",
8
+ label: "RowTitle"
9
+ })(process.env.NODE_ENV === "production" ? {
10
+ name: "s5xdrg",
11
+ styles: "display:flex;align-items:center"
12
+ } : {
13
+ name: "s5xdrg",
14
+ styles: "display:flex;align-items:center",
15
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUaXRsZS5zdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdxQyIsImZpbGUiOiJDZWxsVGl0bGUuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHlcIjtcblxuZXhwb3J0IGNvbnN0IFJvd1RpdGxlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
16
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
17
+ });
18
+ export const RowIcon = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
19
+ target: "e17fhulp1"
20
+ } : {
21
+ target: "e17fhulp1",
22
+ label: "RowIcon"
23
+ })(process.env.NODE_ENV === "production" ? {
24
+ name: "1hpq26k",
25
+ styles: "margin-right:8px;height:24px"
26
+ } : {
27
+ name: "1hpq26k",
28
+ styles: "margin-right:8px;height:24px",
29
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUaXRsZS5zdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFvQyIsImZpbGUiOiJDZWxsVGl0bGUuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHlcIjtcblxuZXhwb3J0IGNvbnN0IFJvd1RpdGxlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
30
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
31
+ });
32
+ export const RowText = /*#__PURE__*/_styled(Typography, process.env.NODE_ENV === "production" ? {
33
+ target: "e17fhulp0"
34
+ } : {
35
+ target: "e17fhulp0",
36
+ label: "RowText"
37
+ })(process.env.NODE_ENV === "production" ? {
38
+ name: "l8l8b8",
39
+ styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
40
+ } : {
41
+ name: "l8l8b8",
42
+ styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis",
43
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUaXRsZS5zdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWF5QyIsImZpbGUiOiJDZWxsVGl0bGUuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHlcIjtcblxuZXhwb3J0IGNvbnN0IFJvd1RpdGxlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
44
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
45
+ });
46
+
47
+ //# sourceMappingURL=CellTitle.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Typography","RowTitle","_styled","process","env","NODE_ENV","target","label","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","RowIcon","RowText"],"sources":["CellTitle.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Typography } from \"@webiny/ui/Typography\";\n\nexport const RowTitle = styled(\"div\")`\n display: flex;\n align-items: center;\n`;\n\nexport const RowIcon = styled(\"div\")`\n margin-right: 8px;\n height: 24px;\n`;\n\nexport const RowText = styled(Typography)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"mappings":";;AACA,SAASA,UAAU,QAAQ,uBAAuB;AAElD,OAAO,MAAMC,QAAQ,gBAAGC,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA,EAGpC;AAED,OAAO,MAAMC,OAAO,gBAAGX,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA,EAGnC;AAED,OAAO,MAAME,OAAO,gBAAGZ,OAAA,CAAOF,UAAU,EAAAG,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA,EAIxC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./CellTitle";
@@ -0,0 +1,3 @@
1
+ export * from "./CellTitle";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellTitle\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const CellType: () => React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { ReactComponent as File } from "@material-design-icons/svg/outlined/description.svg";
3
+ import { RowIcon, RowText, RowType } from "./CellType.styled";
4
+ import { SchedulerListConfig } from "../../../configs";
5
+ export const CellType = () => {
6
+ const {
7
+ useTableRow
8
+ } = SchedulerListConfig.Browser.Table.Column;
9
+ const {
10
+ row
11
+ } = useTableRow();
12
+ return /*#__PURE__*/React.createElement(RowType, null, /*#__PURE__*/React.createElement(RowIcon, null, /*#__PURE__*/React.createElement(File, null)), /*#__PURE__*/React.createElement(RowText, {
13
+ use: "subtitle2"
14
+ }, row.type));
15
+ };
16
+
17
+ //# sourceMappingURL=CellType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ReactComponent","File","RowIcon","RowText","RowType","SchedulerListConfig","CellType","useTableRow","Browser","Table","Column","row","createElement","use","type"],"sources":["CellType.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as File } from \"@material-design-icons/svg/outlined/description.svg\";\nimport { RowIcon, RowText, RowType } from \"./CellType.styled\";\nimport { SchedulerListConfig } from \"~/Presentation/configs\";\n\nexport const CellType = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowType>\n <RowIcon>\n <File />\n </RowIcon>\n <RowText use={\"subtitle2\"}>{row.type}</RowText>\n </RowType>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,IAAI,QAAQ,qDAAqD;AAC5F,SAASC,OAAO,EAAEC,OAAO,EAAEC,OAAO;AAClC,SAASC,mBAAmB;AAE5B,OAAO,MAAMC,QAAQ,GAAGA,CAAA,KAAM;EAC1B,MAAM;IAAEC;EAAY,CAAC,GAAGF,mBAAmB,CAACG,OAAO,CAACC,KAAK,CAACC,MAAM;EAChE,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBACIR,KAAA,CAAAa,aAAA,CAACR,OAAO,qBACJL,KAAA,CAAAa,aAAA,CAACV,OAAO,qBACJH,KAAA,CAAAa,aAAA,CAACX,IAAI,MAAE,CACF,CAAC,eACVF,KAAA,CAAAa,aAAA,CAACT,OAAO;IAACU,GAAG,EAAE;EAAY,GAAEF,GAAG,CAACG,IAAc,CACzC,CAAC;AAElB,CAAC","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export declare const RowType: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const RowIcon: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
+ export declare const RowText: import("@emotion/styled").StyledComponent<import("@webiny/ui/Typography/Typography").TypographyProps & {
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ }, {}, {}>;
@@ -0,0 +1,47 @@
1
+ import _styled from "@emotion/styled/base";
2
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
+ import { Typography } from "@webiny/ui/Typography";
4
+ export const RowType = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
5
+ target: "ecync8o2"
6
+ } : {
7
+ target: "ecync8o2",
8
+ label: "RowType"
9
+ })(process.env.NODE_ENV === "production" ? {
10
+ name: "s5xdrg",
11
+ styles: "display:flex;align-items:center"
12
+ } : {
13
+ name: "s5xdrg",
14
+ styles: "display:flex;align-items:center",
15
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUeXBlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR29DIiwiZmlsZSI6IkNlbGxUeXBlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFR5cG9ncmFwaHkgfSBmcm9tIFwiQHdlYmlueS91aS9UeXBvZ3JhcGh5XCI7XG5cbmV4cG9ydCBjb25zdCBSb3dUeXBlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
16
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
17
+ });
18
+ export const RowIcon = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
19
+ target: "ecync8o1"
20
+ } : {
21
+ target: "ecync8o1",
22
+ label: "RowIcon"
23
+ })(process.env.NODE_ENV === "production" ? {
24
+ name: "1hpq26k",
25
+ styles: "margin-right:8px;height:24px"
26
+ } : {
27
+ name: "1hpq26k",
28
+ styles: "margin-right:8px;height:24px",
29
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUeXBlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUW9DIiwiZmlsZSI6IkNlbGxUeXBlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFR5cG9ncmFwaHkgfSBmcm9tIFwiQHdlYmlueS91aS9UeXBvZ3JhcGh5XCI7XG5cbmV4cG9ydCBjb25zdCBSb3dUeXBlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
30
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
31
+ });
32
+ export const RowText = /*#__PURE__*/_styled(Typography, process.env.NODE_ENV === "production" ? {
33
+ target: "ecync8o0"
34
+ } : {
35
+ target: "ecync8o0",
36
+ label: "RowText"
37
+ })(process.env.NODE_ENV === "production" ? {
38
+ name: "l8l8b8",
39
+ styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
40
+ } : {
41
+ name: "l8l8b8",
42
+ styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis",
43
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUeXBlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYXlDIiwiZmlsZSI6IkNlbGxUeXBlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFR5cG9ncmFwaHkgfSBmcm9tIFwiQHdlYmlueS91aS9UeXBvZ3JhcGh5XCI7XG5cbmV4cG9ydCBjb25zdCBSb3dUeXBlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
44
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
45
+ });
46
+
47
+ //# sourceMappingURL=CellType.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Typography","RowType","_styled","process","env","NODE_ENV","target","label","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","RowIcon","RowText"],"sources":["CellType.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Typography } from \"@webiny/ui/Typography\";\n\nexport const RowType = styled(\"div\")`\n display: flex;\n align-items: center;\n`;\n\nexport const RowIcon = styled(\"div\")`\n margin-right: 8px;\n height: 24px;\n`;\n\nexport const RowText = styled(Typography)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"mappings":";;AACA,SAASA,UAAU,QAAQ,uBAAuB;AAElD,OAAO,MAAMC,OAAO,gBAAGC,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA,EAGnC;AAED,OAAO,MAAMC,OAAO,gBAAGX,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA,EAGnC;AAED,OAAO,MAAME,OAAO,gBAAGZ,OAAA,CAAOF,UAAU,EAAAG,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA,EAIxC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./CellType.js";
@@ -0,0 +1,3 @@
1
+ export * from "./CellType.js";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellType.js\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ export * from "./CellActions";
2
+ export * from "./CellScheduledBy";
3
+ export * from "./CellScheduledOn";
4
+ export * from "./CellType";
5
+ export * from "./CellTitle";
@@ -0,0 +1,7 @@
1
+ export * from "./CellActions";
2
+ export * from "./CellScheduledBy";
3
+ export * from "./CellScheduledOn";
4
+ export * from "./CellType";
5
+ export * from "./CellTitle";
6
+
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellActions\";\nexport * from \"./CellScheduledBy\";\nexport * from \"./CellScheduledOn\";\nexport * from \"./CellType\";\nexport * from \"./CellTitle\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const Empty: () => React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ import React from "react";
2
+ import { ReactComponent as SearchIcon } from "@material-design-icons/svg/outlined/search.svg";
3
+ import { ReactComponent as ListIcon } from "@material-design-icons/svg/outlined/view_list.svg";
4
+ import EmptyView from "@webiny/app-admin/components/EmptyView";
5
+ import { EmptyOuter, EmptyWrapper } from "./Empty.styled";
6
+ import { useScheduler } from "../../hooks";
7
+ export const Empty = () => {
8
+ const {
9
+ vm
10
+ } = useScheduler();
11
+ return /*#__PURE__*/React.createElement(EmptyWrapper, null, /*#__PURE__*/React.createElement(EmptyOuter, null, vm.isSearchView ? /*#__PURE__*/React.createElement(EmptyView, {
12
+ icon: /*#__PURE__*/React.createElement(SearchIcon, null),
13
+ title: "No items found.",
14
+ action: null
15
+ }) : /*#__PURE__*/React.createElement(EmptyView, {
16
+ icon: /*#__PURE__*/React.createElement(ListIcon, null),
17
+ title: `No scheduled items.`,
18
+ action: null
19
+ })));
20
+ };
21
+
22
+ //# sourceMappingURL=Empty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ReactComponent","SearchIcon","ListIcon","EmptyView","EmptyOuter","EmptyWrapper","useScheduler","Empty","vm","createElement","isSearchView","icon","title","action"],"sources":["Empty.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as SearchIcon } from \"@material-design-icons/svg/outlined/search.svg\";\nimport { ReactComponent as ListIcon } from \"@material-design-icons/svg/outlined/view_list.svg\";\nimport EmptyView from \"@webiny/app-admin/components/EmptyView\";\nimport { EmptyOuter, EmptyWrapper } from \"./Empty.styled\";\nimport { useScheduler } from \"~/Presentation/hooks\";\n\nexport const Empty = () => {\n const { vm } = useScheduler();\n\n return (\n <EmptyWrapper>\n <EmptyOuter>\n {vm.isSearchView ? (\n <EmptyView icon={<SearchIcon />} title={\"No items found.\"} action={null} />\n ) : (\n <EmptyView icon={<ListIcon />} title={`No scheduled items.`} action={null} />\n )}\n </EmptyOuter>\n </EmptyWrapper>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,UAAU,QAAQ,gDAAgD;AAC7F,SAASD,cAAc,IAAIE,QAAQ,QAAQ,mDAAmD;AAC9F,OAAOC,SAAS,MAAM,wCAAwC;AAC9D,SAASC,UAAU,EAAEC,YAAY;AACjC,SAASC,YAAY;AAErB,OAAO,MAAMC,KAAK,GAAGA,CAAA,KAAM;EACvB,MAAM;IAAEC;EAAG,CAAC,GAAGF,YAAY,CAAC,CAAC;EAE7B,oBACIP,KAAA,CAAAU,aAAA,CAACJ,YAAY,qBACTN,KAAA,CAAAU,aAAA,CAACL,UAAU,QACNI,EAAE,CAACE,YAAY,gBACZX,KAAA,CAAAU,aAAA,CAACN,SAAS;IAACQ,IAAI,eAAEZ,KAAA,CAAAU,aAAA,CAACR,UAAU,MAAE,CAAE;IAACW,KAAK,EAAE,iBAAkB;IAACC,MAAM,EAAE;EAAK,CAAE,CAAC,gBAE3Ed,KAAA,CAAAU,aAAA,CAACN,SAAS;IAACQ,IAAI,eAAEZ,KAAA,CAAAU,aAAA,CAACP,QAAQ,MAAE,CAAE;IAACU,KAAK,EAAE,qBAAsB;IAACC,MAAM,EAAE;EAAK,CAAE,CAExE,CACF,CAAC;AAEvB,CAAC","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export declare const EmptyWrapper: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const EmptyOuter: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,32 @@
1
+ import _styled from "@emotion/styled/base";
2
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
+ export const EmptyWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
4
+ target: "e52z2e81"
5
+ } : {
6
+ target: "e52z2e81",
7
+ label: "EmptyWrapper"
8
+ })(process.env.NODE_ENV === "production" ? {
9
+ name: "1cmf72p",
10
+ styles: "width:100%;height:calc(100% - 95px);display:flex;justify-content:center;align-items:center"
11
+ } : {
12
+ name: "1cmf72p",
13
+ styles: "width:100%;height:calc(100% - 95px);display:flex;justify-content:center;align-items:center",
14
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkVtcHR5LnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRXlDIiwiZmlsZSI6IkVtcHR5LnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcblxuZXhwb3J0IGNvbnN0IEVtcHR5V3JhcHBlciA9IHN0eWxlZChcImRpdlwiKWBcbiAgICB3aWR0aDogMTAwJTtcbiAgICBoZWlnaHQ6IGNhbGMoMTAwJSAtIDk1cHgpO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBFbXB0eU91dGVyID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuYDtcbiJdfQ== */",
15
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
16
+ });
17
+ export const EmptyOuter = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
18
+ target: "e52z2e80"
19
+ } : {
20
+ target: "e52z2e80",
21
+ label: "EmptyOuter"
22
+ })(process.env.NODE_ENV === "production" ? {
23
+ name: "zigog8",
24
+ styles: "display:flex;flex-direction:column;align-items:center"
25
+ } : {
26
+ name: "zigog8",
27
+ styles: "display:flex;flex-direction:column;align-items:center",
28
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkVtcHR5LnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVXVDIiwiZmlsZSI6IkVtcHR5LnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcblxuZXhwb3J0IGNvbnN0IEVtcHR5V3JhcHBlciA9IHN0eWxlZChcImRpdlwiKWBcbiAgICB3aWR0aDogMTAwJTtcbiAgICBoZWlnaHQ6IGNhbGMoMTAwJSAtIDk1cHgpO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBFbXB0eU91dGVyID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuYDtcbiJdfQ== */",
29
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
30
+ });
31
+
32
+ //# sourceMappingURL=Empty.styled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["EmptyWrapper","_styled","process","env","NODE_ENV","target","label","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","EmptyOuter"],"sources":["Empty.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\n\nexport const EmptyWrapper = styled(\"div\")`\n width: 100%;\n height: calc(100% - 95px);\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const EmptyOuter = styled(\"div\")`\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n"],"mappings":";;AAEA,OAAO,MAAMA,YAAY,gBAAGC,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA,EAMxC;AAED,OAAO,MAAMC,UAAU,gBAAGX,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,GAAA;EAAAC,QAAA,EAAAC;AAAA,EAItC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./Empty";
@@ -0,0 +1,3 @@
1
+ export * from "./Empty";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Empty\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import type { SchedulerEntry } from "../../../types.js";
3
+ import type { ISchedulerCancelGateway, ISchedulerPublishGateway, ISchedulerUnpublishGateway } from "../../../Gateways/index.js";
4
+ import type { CmsContentEntry } from "@webiny/app-headless-cms-common/types";
5
+ export interface IScheduleDialogProps {
6
+ show: boolean;
7
+ schedulerEntry: SchedulerEntry | null;
8
+ cancelGateway: ISchedulerCancelGateway;
9
+ publishGateway: ISchedulerPublishGateway;
10
+ unpublishGateway: ISchedulerUnpublishGateway;
11
+ entry: CmsContentEntry;
12
+ }
13
+ export declare const ScheduleDialog: ({ show }: IScheduleDialogProps) => React.JSX.Element | null;
@@ -0,0 +1,15 @@
1
+ import React, { useEffect } from "react";
2
+ export const ScheduleDialog = ({
3
+ show
4
+ }) => {
5
+ const [active, setActive] = React.useState(false);
6
+ useEffect(() => {
7
+ setActive(show);
8
+ }, [show]);
9
+ if (!active) {
10
+ return null;
11
+ }
12
+ return /*#__PURE__*/React.createElement(React.Fragment, null, "test");
13
+ };
14
+
15
+ //# sourceMappingURL=ScheduleDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useEffect","ScheduleDialog","show","active","setActive","useState","createElement","Fragment"],"sources":["ScheduleDialog.tsx"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport type { SchedulerEntry } from \"~/types.js\";\nimport type {\n ISchedulerCancelGateway,\n ISchedulerPublishGateway,\n ISchedulerUnpublishGateway\n} from \"~/Gateways/index.js\";\nimport type { CmsContentEntry } from \"@webiny/app-headless-cms-common/types\";\n\nexport interface IScheduleDialogProps {\n show: boolean;\n schedulerEntry: SchedulerEntry | null;\n cancelGateway: ISchedulerCancelGateway;\n publishGateway: ISchedulerPublishGateway;\n unpublishGateway: ISchedulerUnpublishGateway;\n entry: CmsContentEntry;\n}\n\nexport const ScheduleDialog = ({ show }: IScheduleDialogProps) => {\n const [active, setActive] = React.useState(false);\n\n useEffect(() => {\n setActive(show);\n }, [show]);\n\n if (!active) {\n return null;\n }\n\n return <>test</>;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AAkBxC,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAAEC;AAA2B,CAAC,KAAK;EAC9D,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGL,KAAK,CAACM,QAAQ,CAAC,KAAK,CAAC;EAEjDL,SAAS,CAAC,MAAM;IACZI,SAAS,CAACF,IAAI,CAAC;EACnB,CAAC,EAAE,CAACA,IAAI,CAAC,CAAC;EAEV,IAAI,CAACC,MAAM,EAAE;IACT,OAAO,IAAI;EACf;EAEA,oBAAOJ,KAAA,CAAAO,aAAA,CAAAP,KAAA,CAAAQ,QAAA,QAAE,MAAM,CAAC;AACpB,CAAC","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ interface SchedulerOverlayProps {
3
+ title: string;
4
+ onExited: () => void;
5
+ }
6
+ export declare const SchedulerOverlay: (props: SchedulerOverlayProps) => React.JSX.Element;
7
+ export {};
@@ -0,0 +1,36 @@
1
+ import React from "react";
2
+ import debounce from "lodash/debounce";
3
+ import { OverlayLayout } from "@webiny/app-admin";
4
+ import { Scrollbar } from "@webiny/ui/Scrollbar";
5
+ import { Title } from "../Title";
6
+ import { SearchInput } from "../SearchInput";
7
+ import { Empty } from "../Empty";
8
+ import { Table } from "../Table";
9
+ import { BottomInfoBar } from "../BottomInfoBar";
10
+ import { useScheduler } from "../../hooks";
11
+ export const SchedulerOverlay = props => {
12
+ const {
13
+ listMoreItems,
14
+ vm
15
+ } = useScheduler();
16
+ const onTableScroll = debounce(async ({
17
+ scrollFrame
18
+ }) => {
19
+ if (scrollFrame.top > 0.8) {
20
+ await listMoreItems();
21
+ }
22
+ }, 200);
23
+ return /*#__PURE__*/React.createElement(OverlayLayout, {
24
+ onExited: props.onExited,
25
+ barLeft: /*#__PURE__*/React.createElement(Title, {
26
+ title: props.title
27
+ }),
28
+ barMiddle: /*#__PURE__*/React.createElement(SearchInput, null)
29
+ }, /*#__PURE__*/React.createElement(Scrollbar, {
30
+ onScrollFrame: scrollFrame => onTableScroll({
31
+ scrollFrame
32
+ })
33
+ }, vm.isEmptyView ? /*#__PURE__*/React.createElement(Empty, null) : /*#__PURE__*/React.createElement(Table, null)), /*#__PURE__*/React.createElement(BottomInfoBar, null));
34
+ };
35
+
36
+ //# sourceMappingURL=SchedulerOverlay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","debounce","OverlayLayout","Scrollbar","Title","SearchInput","Empty","Table","BottomInfoBar","useScheduler","SchedulerOverlay","props","listMoreItems","vm","onTableScroll","scrollFrame","top","createElement","onExited","barLeft","title","barMiddle","onScrollFrame","isEmptyView"],"sources":["SchedulerOverlay.tsx"],"sourcesContent":["import React from \"react\";\nimport debounce from \"lodash/debounce\";\nimport { OverlayLayout } from \"@webiny/app-admin\";\nimport { Scrollbar } from \"@webiny/ui/Scrollbar\";\nimport { Title } from \"~/Presentation/components/Title\";\nimport { SearchInput } from \"~/Presentation/components/SearchInput\";\nimport { Empty } from \"~/Presentation/components/Empty\";\nimport { Table } from \"~/Presentation/components/Table\";\nimport { BottomInfoBar } from \"~/Presentation/components/BottomInfoBar\";\nimport { useScheduler } from \"~/Presentation/hooks\";\n\ninterface SchedulerOverlayProps {\n title: string;\n onExited: () => void;\n}\n\nexport const SchedulerOverlay = (props: SchedulerOverlayProps) => {\n const { listMoreItems, vm } = useScheduler();\n\n const onTableScroll = debounce(async ({ scrollFrame }) => {\n if (scrollFrame.top > 0.8) {\n await listMoreItems();\n }\n }, 200);\n\n return (\n <OverlayLayout\n onExited={props.onExited}\n barLeft={<Title title={props.title} />}\n barMiddle={<SearchInput />}\n >\n <Scrollbar onScrollFrame={scrollFrame => onTableScroll({ scrollFrame })}>\n {vm.isEmptyView ? <Empty /> : <Table />}\n </Scrollbar>\n <BottomInfoBar />\n </OverlayLayout>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,QAAQ,MAAM,iBAAiB;AACtC,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,SAAS,QAAQ,sBAAsB;AAChD,SAASC,KAAK;AACd,SAASC,WAAW;AACpB,SAASC,KAAK;AACd,SAASC,KAAK;AACd,SAASC,aAAa;AACtB,SAASC,YAAY;AAOrB,OAAO,MAAMC,gBAAgB,GAAIC,KAA4B,IAAK;EAC9D,MAAM;IAAEC,aAAa;IAAEC;EAAG,CAAC,GAAGJ,YAAY,CAAC,CAAC;EAE5C,MAAMK,aAAa,GAAGb,QAAQ,CAAC,OAAO;IAAEc;EAAY,CAAC,KAAK;IACtD,IAAIA,WAAW,CAACC,GAAG,GAAG,GAAG,EAAE;MACvB,MAAMJ,aAAa,CAAC,CAAC;IACzB;EACJ,CAAC,EAAE,GAAG,CAAC;EAEP,oBACIZ,KAAA,CAAAiB,aAAA,CAACf,aAAa;IACVgB,QAAQ,EAAEP,KAAK,CAACO,QAAS;IACzBC,OAAO,eAAEnB,KAAA,CAAAiB,aAAA,CAACb,KAAK;MAACgB,KAAK,EAAET,KAAK,CAACS;IAAM,CAAE,CAAE;IACvCC,SAAS,eAAErB,KAAA,CAAAiB,aAAA,CAACZ,WAAW,MAAE;EAAE,gBAE3BL,KAAA,CAAAiB,aAAA,CAACd,SAAS;IAACmB,aAAa,EAAEP,WAAW,IAAID,aAAa,CAAC;MAAEC;IAAY,CAAC;EAAE,GACnEF,EAAE,CAACU,WAAW,gBAAGvB,KAAA,CAAAiB,aAAA,CAACX,KAAK,MAAE,CAAC,gBAAGN,KAAA,CAAAiB,aAAA,CAACV,KAAK,MAAE,CAC/B,CAAC,eACZP,KAAA,CAAAiB,aAAA,CAACT,aAAa,MAAE,CACL,CAAC;AAExB,CAAC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./SchedulerOverlay.js";
@@ -0,0 +1,3 @@
1
+ export * from "./SchedulerOverlay.js";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./SchedulerOverlay.js\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const SearchInput: () => React.JSX.Element;
@@ -0,0 +1,37 @@
1
+ import React from "react";
2
+ import { ReactComponent as SearchIcon } from "@webiny/icons/search.svg";
3
+ import { DelayedOnChange, Icon, Input } from "@webiny/admin-ui";
4
+ import { useScheduler } from "../../hooks";
5
+ export const SearchInput = () => {
6
+ const {
7
+ vm,
8
+ searchItems
9
+ } = useScheduler();
10
+ return /*#__PURE__*/React.createElement(DelayedOnChange, {
11
+ value: vm.searchQuery,
12
+ onChange: value => {
13
+ if (value === vm.searchQuery) {
14
+ return;
15
+ }
16
+ searchItems(value);
17
+ }
18
+ }, ({
19
+ value,
20
+ onChange
21
+ }) => /*#__PURE__*/React.createElement(Input, {
22
+ id: "scheduler__search-input",
23
+ value: value,
24
+ onChange: e => onChange(e.target.value),
25
+ forwardEventOnChange: true,
26
+ placeholder: vm.searchLabel,
27
+ "data-testid": "scheduler.search-input",
28
+ startIcon: /*#__PURE__*/React.createElement(Icon, {
29
+ icon: /*#__PURE__*/React.createElement(SearchIcon, null),
30
+ label: "Search"
31
+ }),
32
+ size: "md",
33
+ variant: "ghost"
34
+ }));
35
+ };
36
+
37
+ //# sourceMappingURL=SearchInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ReactComponent","SearchIcon","DelayedOnChange","Icon","Input","useScheduler","SearchInput","vm","searchItems","createElement","value","searchQuery","onChange","id","e","target","forwardEventOnChange","placeholder","searchLabel","startIcon","icon","label","size","variant"],"sources":["SearchInput.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as SearchIcon } from \"@webiny/icons/search.svg\";\nimport { DelayedOnChange, Icon, Input } from \"@webiny/admin-ui\";\nimport { useScheduler } from \"~/Presentation/hooks\";\n\nexport const SearchInput = () => {\n const { vm, searchItems } = useScheduler();\n\n return (\n <DelayedOnChange\n value={vm.searchQuery}\n onChange={value => {\n if (value === vm.searchQuery) {\n return;\n }\n searchItems(value);\n }}\n >\n {({ value, onChange }) => (\n <Input\n id={\"scheduler__search-input\"}\n value={value}\n onChange={e => onChange(e.target.value)}\n forwardEventOnChange={true}\n placeholder={vm.searchLabel}\n data-testid={\"scheduler.search-input\"}\n startIcon={<Icon icon={<SearchIcon />} label=\"Search\" />}\n size={\"md\"}\n variant={\"ghost\"}\n />\n )}\n </DelayedOnChange>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,UAAU,QAAQ,0BAA0B;AACvE,SAASC,eAAe,EAAEC,IAAI,EAAEC,KAAK,QAAQ,kBAAkB;AAC/D,SAASC,YAAY;AAErB,OAAO,MAAMC,WAAW,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC,EAAE;IAAEC;EAAY,CAAC,GAAGH,YAAY,CAAC,CAAC;EAE1C,oBACIN,KAAA,CAAAU,aAAA,CAACP,eAAe;IACZQ,KAAK,EAAEH,EAAE,CAACI,WAAY;IACtBC,QAAQ,EAAEF,KAAK,IAAI;MACf,IAAIA,KAAK,KAAKH,EAAE,CAACI,WAAW,EAAE;QAC1B;MACJ;MACAH,WAAW,CAACE,KAAK,CAAC;IACtB;EAAE,GAED,CAAC;IAAEA,KAAK;IAAEE;EAAS,CAAC,kBACjBb,KAAA,CAAAU,aAAA,CAACL,KAAK;IACFS,EAAE,EAAE,yBAA0B;IAC9BH,KAAK,EAAEA,KAAM;IACbE,QAAQ,EAAEE,CAAC,IAAIF,QAAQ,CAACE,CAAC,CAACC,MAAM,CAACL,KAAK,CAAE;IACxCM,oBAAoB,EAAE,IAAK;IAC3BC,WAAW,EAAEV,EAAE,CAACW,WAAY;IAC5B,eAAa,wBAAyB;IACtCC,SAAS,eAAEpB,KAAA,CAAAU,aAAA,CAACN,IAAI;MAACiB,IAAI,eAAErB,KAAA,CAAAU,aAAA,CAACR,UAAU,MAAE,CAAE;MAACoB,KAAK,EAAC;IAAQ,CAAE,CAAE;IACzDC,IAAI,EAAE,IAAK;IACXC,OAAO,EAAE;EAAQ,CACpB,CAEQ,CAAC;AAE1B,CAAC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./SearchInput";
@@ -0,0 +1,3 @@
1
+ export * from "./SearchInput";
2
+
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./SearchInput\";\n"],"mappings":"AAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare const Table: () => React.JSX.Element;
@@ -0,0 +1,23 @@
1
+ import React from "react";
2
+ import { Table as AcoTable } from "@webiny/app-aco";
3
+ import { useScheduler } from "../../hooks";
4
+ import { LoadingActions } from "../../../types";
5
+ export const Table = () => {
6
+ const {
7
+ vm,
8
+ selectItems,
9
+ sortItems
10
+ } = useScheduler();
11
+ return /*#__PURE__*/React.createElement(AcoTable, {
12
+ data: vm.items,
13
+ loading: vm.loading[LoadingActions.list],
14
+ onSelectRow: entries => selectItems(entries),
15
+ sorting: vm.sorting,
16
+ onSortingChange: sort => sortItems(sort),
17
+ selected: vm.selectedItems,
18
+ nameColumnId: vm.nameColumnId,
19
+ namespace: "scheduler"
20
+ });
21
+ };
22
+
23
+ //# sourceMappingURL=Table.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Table","AcoTable","useScheduler","LoadingActions","vm","selectItems","sortItems","createElement","data","items","loading","list","onSelectRow","entries","sorting","onSortingChange","sort","selected","selectedItems","nameColumnId","namespace"],"sources":["Table.tsx"],"sourcesContent":["import React from \"react\";\nimport { Table as AcoTable } from \"@webiny/app-aco\";\nimport { useScheduler } from \"~/Presentation/hooks\";\nimport type { SchedulerItem } from \"~/Domain\";\nimport { LoadingActions } from \"~/types\";\n\nexport const Table = () => {\n const { vm, selectItems, sortItems } = useScheduler();\n\n return (\n <AcoTable<SchedulerItem>\n data={vm.items}\n loading={vm.loading[LoadingActions.list]}\n onSelectRow={entries => selectItems(entries)}\n sorting={vm.sorting}\n onSortingChange={sort => sortItems(sort)}\n selected={vm.selectedItems}\n nameColumnId={vm.nameColumnId}\n namespace={\"scheduler\"}\n />\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,IAAIC,QAAQ,QAAQ,iBAAiB;AACnD,SAASC,YAAY;AAErB,SAASC,cAAc;AAEvB,OAAO,MAAMH,KAAK,GAAGA,CAAA,KAAM;EACvB,MAAM;IAAEI,EAAE;IAAEC,WAAW;IAAEC;EAAU,CAAC,GAAGJ,YAAY,CAAC,CAAC;EAErD,oBACIH,KAAA,CAAAQ,aAAA,CAACN,QAAQ;IACLO,IAAI,EAAEJ,EAAE,CAACK,KAAM;IACfC,OAAO,EAAEN,EAAE,CAACM,OAAO,CAACP,cAAc,CAACQ,IAAI,CAAE;IACzCC,WAAW,EAAEC,OAAO,IAAIR,WAAW,CAACQ,OAAO,CAAE;IAC7CC,OAAO,EAAEV,EAAE,CAACU,OAAQ;IACpBC,eAAe,EAAEC,IAAI,IAAIV,SAAS,CAACU,IAAI,CAAE;IACzCC,QAAQ,EAAEb,EAAE,CAACc,aAAc;IAC3BC,YAAY,EAAEf,EAAE,CAACe,YAAa;IAC9BC,SAAS,EAAE;EAAY,CAC1B,CAAC;AAEV,CAAC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ export * from "./Table";
@@ -0,0 +1,3 @@
1
+ export * from "./Table";
2
+
3
+ //# sourceMappingURL=index.js.map