@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.
- package/Domain/Models/SchedulerItem/SchedulerItem.d.ts +14 -0
- package/Domain/Models/SchedulerItem/SchedulerItem.js +17 -0
- package/Domain/Models/SchedulerItem/SchedulerItem.js.map +1 -0
- package/Domain/Models/SchedulerItem/index.d.ts +1 -0
- package/Domain/Models/SchedulerItem/index.js +3 -0
- package/Domain/Models/SchedulerItem/index.js.map +1 -0
- package/Domain/Models/index.d.ts +1 -0
- package/Domain/Models/index.js +3 -0
- package/Domain/Models/index.js.map +1 -0
- package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.d.ts +14 -0
- package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js +3 -0
- package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js.map +1 -0
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.d.ts +37 -0
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js +125 -0
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js.map +1 -0
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.d.ts +20 -0
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js +17 -0
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js.map +1 -0
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.d.ts +17 -0
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js +38 -0
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js.map +1 -0
- package/Domain/Repositories/SchedulerItems/index.d.ts +4 -0
- package/Domain/Repositories/SchedulerItems/index.js +6 -0
- package/Domain/Repositories/SchedulerItems/index.js.map +1 -0
- package/Domain/Repositories/Search/ISearchRepository.d.ts +4 -0
- package/Domain/Repositories/Search/ISearchRepository.js +3 -0
- package/Domain/Repositories/Search/ISearchRepository.js.map +1 -0
- package/Domain/Repositories/Search/SearchRepository.d.ts +7 -0
- package/Domain/Repositories/Search/SearchRepository.js +15 -0
- package/Domain/Repositories/Search/SearchRepository.js.map +1 -0
- package/Domain/Repositories/Search/SearchRepositoryFactory.d.ts +7 -0
- package/Domain/Repositories/Search/SearchRepositoryFactory.js +17 -0
- package/Domain/Repositories/Search/SearchRepositoryFactory.js.map +1 -0
- package/Domain/Repositories/Search/index.d.ts +3 -0
- package/Domain/Repositories/Search/index.js +5 -0
- package/Domain/Repositories/Search/index.js.map +1 -0
- package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.d.ts +8 -0
- package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js +3 -0
- package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js.map +1 -0
- package/Domain/Repositories/SelectedItems/SelectedItemsRepository.d.ts +12 -0
- package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js +27 -0
- package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js.map +1 -0
- package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.d.ts +7 -0
- package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js +17 -0
- package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js.map +1 -0
- package/Domain/Repositories/SelectedItems/index.d.ts +3 -0
- package/Domain/Repositories/SelectedItems/index.js +5 -0
- package/Domain/Repositories/SelectedItems/index.js.map +1 -0
- package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.d.ts +8 -0
- package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js +22 -0
- package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js.map +1 -0
- package/Domain/Repositories/Sorting/index.d.ts +1 -0
- package/Domain/Repositories/Sorting/index.js +3 -0
- package/Domain/Repositories/Sorting/index.js.map +1 -0
- package/Domain/Repositories/index.d.ts +4 -0
- package/Domain/Repositories/index.js +6 -0
- package/Domain/Repositories/index.js.map +1 -0
- package/Domain/index.d.ts +2 -0
- package/Domain/index.js +4 -0
- package/Domain/index.js.map +1 -0
- package/Gateways/SchedulerCancelGateway.d.ts +7 -0
- package/Gateways/SchedulerCancelGateway.js +3 -0
- package/Gateways/SchedulerCancelGateway.js.map +1 -0
- package/Gateways/SchedulerGetGateway.d.ts +11 -0
- package/Gateways/SchedulerGetGateway.js +3 -0
- package/Gateways/SchedulerGetGateway.js.map +1 -0
- package/Gateways/SchedulerListGateway.d.ts +29 -0
- package/Gateways/SchedulerListGateway.js +3 -0
- package/Gateways/SchedulerListGateway.js.map +1 -0
- package/Gateways/SchedulerPublishGateway.d.ts +12 -0
- package/Gateways/SchedulerPublishGateway.js +3 -0
- package/Gateways/SchedulerPublishGateway.js.map +1 -0
- package/Gateways/SchedulerUnpublishGateway.d.ts +12 -0
- package/Gateways/SchedulerUnpublishGateway.js +3 -0
- package/Gateways/SchedulerUnpublishGateway.js.map +1 -0
- package/Gateways/index.d.ts +5 -0
- package/Gateways/index.js +7 -0
- package/Gateways/index.js.map +1 -0
- package/LICENSE +21 -0
- package/Presentation/Scheduler/Scheduler.d.ts +18 -0
- package/Presentation/Scheduler/Scheduler.js +66 -0
- package/Presentation/Scheduler/Scheduler.js.map +1 -0
- package/Presentation/Scheduler/SchedulerControllers.d.ts +30 -0
- package/Presentation/Scheduler/SchedulerControllers.js +72 -0
- package/Presentation/Scheduler/SchedulerControllers.js.map +1 -0
- package/Presentation/Scheduler/SchedulerPresenter.d.ts +32 -0
- package/Presentation/Scheduler/SchedulerPresenter.js +44 -0
- package/Presentation/Scheduler/SchedulerPresenter.js.map +1 -0
- package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.d.ts +7 -0
- package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js +11 -0
- package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js.map +1 -0
- package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.d.ts +3 -0
- package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js +3 -0
- package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js.map +1 -0
- package/Presentation/Scheduler/controllers/CancelItem/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/CancelItem/index.js +4 -0
- package/Presentation/Scheduler/controllers/CancelItem/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/GetItem/GetItemController.d.ts +8 -0
- package/Presentation/Scheduler/controllers/GetItem/GetItemController.js +11 -0
- package/Presentation/Scheduler/controllers/GetItem/GetItemController.js.map +1 -0
- package/Presentation/Scheduler/controllers/GetItem/IGetItemController.d.ts +4 -0
- package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js +3 -0
- package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js.map +1 -0
- package/Presentation/Scheduler/controllers/GetItem/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/GetItem/index.js +4 -0
- package/Presentation/Scheduler/controllers/GetItem/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/ListItems/IListItemsController.d.ts +4 -0
- package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js +3 -0
- package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/ListItems/ListItemsController.d.ts +8 -0
- package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js +11 -0
- package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/ListItems/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/ListItems/index.js +4 -0
- package/Presentation/Scheduler/controllers/ListItems/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.d.ts +3 -0
- package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js +3 -0
- package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.d.ts +7 -0
- package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js +11 -0
- package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/ListMoreItems/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/ListMoreItems/index.js +4 -0
- package/Presentation/Scheduler/controllers/ListMoreItems/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.d.ts +3 -0
- package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js +3 -0
- package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js.map +1 -0
- package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.d.ts +7 -0
- package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js +11 -0
- package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js.map +1 -0
- package/Presentation/Scheduler/controllers/PublishItem/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/PublishItem/index.js +4 -0
- package/Presentation/Scheduler/controllers/PublishItem/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.d.ts +3 -0
- package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js +3 -0
- package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.d.ts +8 -0
- package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js +14 -0
- package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/SearchItems/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/SearchItems/index.js +4 -0
- package/Presentation/Scheduler/controllers/SearchItems/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.d.ts +3 -0
- package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js +3 -0
- package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.d.ts +7 -0
- package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js +11 -0
- package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/SelectAllItems/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/SelectAllItems/index.js +4 -0
- package/Presentation/Scheduler/controllers/SelectAllItems/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.d.ts +4 -0
- package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js +3 -0
- package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.d.ts +8 -0
- package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js +13 -0
- package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/SelectItems/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/SelectItems/index.js +4 -0
- package/Presentation/Scheduler/controllers/SelectItems/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.d.ts +4 -0
- package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js +3 -0
- package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/SortItems/SortItemsController.d.ts +9 -0
- package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js +19 -0
- package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/SortItems/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/SortItems/index.js +4 -0
- package/Presentation/Scheduler/controllers/SortItems/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.d.ts +3 -0
- package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js +3 -0
- package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js.map +1 -0
- package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.d.ts +7 -0
- package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js +11 -0
- package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js.map +1 -0
- package/Presentation/Scheduler/controllers/UnpublishItem/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/UnpublishItem/index.js +4 -0
- package/Presentation/Scheduler/controllers/UnpublishItem/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.d.ts +3 -0
- package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js +3 -0
- package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.d.ts +7 -0
- package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js +11 -0
- package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js.map +1 -0
- package/Presentation/Scheduler/controllers/UnselectAllItems/index.d.ts +2 -0
- package/Presentation/Scheduler/controllers/UnselectAllItems/index.js +4 -0
- package/Presentation/Scheduler/controllers/UnselectAllItems/index.js.map +1 -0
- package/Presentation/Scheduler/controllers/index.d.ts +11 -0
- package/Presentation/Scheduler/controllers/index.js +13 -0
- package/Presentation/Scheduler/controllers/index.js.map +1 -0
- package/Presentation/Scheduler/index.d.ts +1 -0
- package/Presentation/Scheduler/index.js +3 -0
- package/Presentation/Scheduler/index.js.map +1 -0
- package/Presentation/SchedulerConfigs/SchedulerConfigs.d.ts +2 -0
- package/Presentation/SchedulerConfigs/SchedulerConfigs.js +50 -0
- package/Presentation/SchedulerConfigs/SchedulerConfigs.js.map +1 -0
- package/Presentation/SchedulerConfigs/index.d.ts +1 -0
- package/Presentation/SchedulerConfigs/index.js +3 -0
- package/Presentation/SchedulerConfigs/index.js.map +1 -0
- package/Presentation/SchedulerRenderer/SchedulerRenderer.d.ts +6 -0
- package/Presentation/SchedulerRenderer/SchedulerRenderer.js +21 -0
- package/Presentation/SchedulerRenderer/SchedulerRenderer.js.map +1 -0
- package/Presentation/SchedulerRenderer/index.d.ts +1 -0
- package/Presentation/SchedulerRenderer/index.js +3 -0
- package/Presentation/SchedulerRenderer/index.js.map +1 -0
- package/Presentation/abstractions/ISchedulerControllers.d.ts +14 -0
- package/Presentation/abstractions/ISchedulerControllers.js +3 -0
- package/Presentation/abstractions/ISchedulerControllers.js.map +1 -0
- package/Presentation/abstractions/ISchedulerPresenter.d.ts +19 -0
- package/Presentation/abstractions/ISchedulerPresenter.js +3 -0
- package/Presentation/abstractions/ISchedulerPresenter.js.map +1 -0
- package/Presentation/abstractions/index.d.ts +2 -0
- package/Presentation/abstractions/index.js +4 -0
- package/Presentation/abstractions/index.js.map +1 -0
- package/Presentation/components/Actions/CancelItem/CancelItem.d.ts +2 -0
- package/Presentation/components/Actions/CancelItem/CancelItem.js +24 -0
- package/Presentation/components/Actions/CancelItem/CancelItem.js.map +1 -0
- package/Presentation/components/Actions/CancelItem/index.d.ts +1 -0
- package/Presentation/components/Actions/CancelItem/index.js +3 -0
- package/Presentation/components/Actions/CancelItem/index.js.map +1 -0
- package/Presentation/components/Actions/index.d.ts +1 -0
- package/Presentation/components/Actions/index.js +3 -0
- package/Presentation/components/Actions/index.js.map +1 -0
- package/Presentation/components/BottomInfoBar/BottomInfoBar.d.ts +2 -0
- package/Presentation/components/BottomInfoBar/BottomInfoBar.js +20 -0
- package/Presentation/components/BottomInfoBar/BottomInfoBar.js.map +1 -0
- package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.d.ts +21 -0
- package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js +74 -0
- package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js.map +1 -0
- package/Presentation/components/BottomInfoBar/ListMeta.d.ts +7 -0
- package/Presentation/components/BottomInfoBar/ListMeta.js +12 -0
- package/Presentation/components/BottomInfoBar/ListMeta.js.map +1 -0
- package/Presentation/components/BottomInfoBar/ListStatus.d.ts +5 -0
- package/Presentation/components/BottomInfoBar/ListStatus.js +16 -0
- package/Presentation/components/BottomInfoBar/ListStatus.js.map +1 -0
- package/Presentation/components/BottomInfoBar/index.d.ts +1 -0
- package/Presentation/components/BottomInfoBar/index.js +3 -0
- package/Presentation/components/BottomInfoBar/index.js.map +1 -0
- package/Presentation/components/Cells/CellActions/CellActions.d.ts +2 -0
- package/Presentation/components/Cells/CellActions/CellActions.js +24 -0
- package/Presentation/components/Cells/CellActions/CellActions.js.map +1 -0
- package/Presentation/components/Cells/CellActions/index.d.ts +1 -0
- package/Presentation/components/Cells/CellActions/index.js +3 -0
- package/Presentation/components/Cells/CellActions/index.js.map +1 -0
- package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.d.ts +2 -0
- package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js +13 -0
- package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js.map +1 -0
- package/Presentation/components/Cells/CellScheduledBy/index.d.ts +1 -0
- package/Presentation/components/Cells/CellScheduledBy/index.js +3 -0
- package/Presentation/components/Cells/CellScheduledBy/index.js.map +1 -0
- package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.d.ts +2 -0
- package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js +20 -0
- package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js.map +1 -0
- package/Presentation/components/Cells/CellScheduledOn/index.d.ts +1 -0
- package/Presentation/components/Cells/CellScheduledOn/index.js +3 -0
- package/Presentation/components/Cells/CellScheduledOn/index.js.map +1 -0
- package/Presentation/components/Cells/CellTitle/CellTitle.d.ts +2 -0
- package/Presentation/components/Cells/CellTitle/CellTitle.js +17 -0
- package/Presentation/components/Cells/CellTitle/CellTitle.js.map +1 -0
- package/Presentation/components/Cells/CellTitle/CellTitle.styled.d.ts +12 -0
- package/Presentation/components/Cells/CellTitle/CellTitle.styled.js +47 -0
- package/Presentation/components/Cells/CellTitle/CellTitle.styled.js.map +1 -0
- package/Presentation/components/Cells/CellTitle/index.d.ts +1 -0
- package/Presentation/components/Cells/CellTitle/index.js +3 -0
- package/Presentation/components/Cells/CellTitle/index.js.map +1 -0
- package/Presentation/components/Cells/CellType/CellType.d.ts +2 -0
- package/Presentation/components/Cells/CellType/CellType.js +17 -0
- package/Presentation/components/Cells/CellType/CellType.js.map +1 -0
- package/Presentation/components/Cells/CellType/CellType.styled.d.ts +12 -0
- package/Presentation/components/Cells/CellType/CellType.styled.js +47 -0
- package/Presentation/components/Cells/CellType/CellType.styled.js.map +1 -0
- package/Presentation/components/Cells/CellType/index.d.ts +1 -0
- package/Presentation/components/Cells/CellType/index.js +3 -0
- package/Presentation/components/Cells/CellType/index.js.map +1 -0
- package/Presentation/components/Cells/index.d.ts +5 -0
- package/Presentation/components/Cells/index.js +7 -0
- package/Presentation/components/Cells/index.js.map +1 -0
- package/Presentation/components/Empty/Empty.d.ts +2 -0
- package/Presentation/components/Empty/Empty.js +22 -0
- package/Presentation/components/Empty/Empty.js.map +1 -0
- package/Presentation/components/Empty/Empty.styled.d.ts +9 -0
- package/Presentation/components/Empty/Empty.styled.js +32 -0
- package/Presentation/components/Empty/Empty.styled.js.map +1 -0
- package/Presentation/components/Empty/index.d.ts +1 -0
- package/Presentation/components/Empty/index.js +3 -0
- package/Presentation/components/Empty/index.js.map +1 -0
- package/Presentation/components/ScheduleDialog/ScheduleDialog.d.ts +13 -0
- package/Presentation/components/ScheduleDialog/ScheduleDialog.js +15 -0
- package/Presentation/components/ScheduleDialog/ScheduleDialog.js.map +1 -0
- package/Presentation/components/SchedulerOverlay/SchedulerOverlay.d.ts +7 -0
- package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js +36 -0
- package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js.map +1 -0
- package/Presentation/components/SchedulerOverlay/index.d.ts +1 -0
- package/Presentation/components/SchedulerOverlay/index.js +3 -0
- package/Presentation/components/SchedulerOverlay/index.js.map +1 -0
- package/Presentation/components/SearchInput/SearchInput.d.ts +2 -0
- package/Presentation/components/SearchInput/SearchInput.js +37 -0
- package/Presentation/components/SearchInput/SearchInput.js.map +1 -0
- package/Presentation/components/SearchInput/index.d.ts +1 -0
- package/Presentation/components/SearchInput/index.js +3 -0
- package/Presentation/components/SearchInput/index.js.map +1 -0
- package/Presentation/components/Table/Table.d.ts +2 -0
- package/Presentation/components/Table/Table.js +23 -0
- package/Presentation/components/Table/Table.js.map +1 -0
- package/Presentation/components/Table/index.d.ts +1 -0
- package/Presentation/components/Table/index.js +3 -0
- package/Presentation/components/Table/index.js.map +1 -0
- package/Presentation/components/Title/Title.d.ts +5 -0
- package/Presentation/components/Title/Title.js +15 -0
- package/Presentation/components/Title/Title.js.map +1 -0
- package/Presentation/components/Title/Title.styled.d.ts +4 -0
- package/Presentation/components/Title/Title.styled.js +19 -0
- package/Presentation/components/Title/Title.styled.js.map +1 -0
- package/Presentation/components/Title/index.d.ts +1 -0
- package/Presentation/components/Title/index.js +3 -0
- package/Presentation/components/Title/index.js.map +1 -0
- package/Presentation/configs/index.d.ts +1 -0
- package/Presentation/configs/index.js +3 -0
- package/Presentation/configs/index.js.map +1 -0
- package/Presentation/configs/list/Browser/EntryAction.d.ts +7 -0
- package/Presentation/configs/list/Browser/EntryAction.js +17 -0
- package/Presentation/configs/list/Browser/EntryAction.js.map +1 -0
- package/Presentation/configs/list/Browser/Table/Column.d.ts +9 -0
- package/Presentation/configs/list/Browser/Table/Column.js +15 -0
- package/Presentation/configs/list/Browser/Table/Column.js.map +1 -0
- package/Presentation/configs/list/Browser/Table/Sorting.d.ts +5 -0
- package/Presentation/configs/list/Browser/Table/Sorting.js +11 -0
- package/Presentation/configs/list/Browser/Table/Sorting.js.map +1 -0
- package/Presentation/configs/list/Browser/Table/index.d.ts +14 -0
- package/Presentation/configs/list/Browser/Table/index.js +8 -0
- package/Presentation/configs/list/Browser/Table/index.js.map +1 -0
- package/Presentation/configs/list/Browser/index.d.ts +19 -0
- package/Presentation/configs/list/Browser/index.js +8 -0
- package/Presentation/configs/list/Browser/index.js.map +1 -0
- package/Presentation/configs/list/SchedulerListConfig.d.ts +28 -0
- package/Presentation/configs/list/SchedulerListConfig.js +29 -0
- package/Presentation/configs/list/SchedulerListConfig.js.map +1 -0
- package/Presentation/configs/list/index.d.ts +1 -0
- package/Presentation/configs/list/index.js +3 -0
- package/Presentation/configs/list/index.js.map +1 -0
- package/Presentation/hooks/index.d.ts +3 -0
- package/Presentation/hooks/index.js +5 -0
- package/Presentation/hooks/index.js.map +1 -0
- package/Presentation/hooks/useCancelSchedulerItem.d.ts +8 -0
- package/Presentation/hooks/useCancelSchedulerItem.js +32 -0
- package/Presentation/hooks/useCancelSchedulerItem.js.map +1 -0
- package/Presentation/hooks/useScheduler.d.ts +27 -0
- package/Presentation/hooks/useScheduler.js +51 -0
- package/Presentation/hooks/useScheduler.js.map +1 -0
- package/Presentation/hooks/useSchedulerItem.d.ts +12 -0
- package/Presentation/hooks/useSchedulerItem.js +9 -0
- package/Presentation/hooks/useSchedulerItem.js.map +1 -0
- package/Presentation/index.d.ts +23 -0
- package/Presentation/index.js +30 -0
- package/Presentation/index.js.map +1 -0
- package/README.md +22 -0
- package/UseCases/CancelItem/CancelItemUseCase.d.ts +7 -0
- package/UseCases/CancelItem/CancelItemUseCase.js +12 -0
- package/UseCases/CancelItem/CancelItemUseCase.js.map +1 -0
- package/UseCases/CancelItem/ICancelItemUseCase.d.ts +3 -0
- package/UseCases/CancelItem/ICancelItemUseCase.js +3 -0
- package/UseCases/CancelItem/ICancelItemUseCase.js.map +1 -0
- package/UseCases/CancelItem/index.d.ts +2 -0
- package/UseCases/CancelItem/index.js +4 -0
- package/UseCases/CancelItem/index.js.map +1 -0
- package/UseCases/GetItem/GetItemUseCase.d.ts +8 -0
- package/UseCases/GetItem/GetItemUseCase.js +12 -0
- package/UseCases/GetItem/GetItemUseCase.js.map +1 -0
- package/UseCases/GetItem/IGetItemUseCase.d.ts +4 -0
- package/UseCases/GetItem/IGetItemUseCase.js +3 -0
- package/UseCases/GetItem/IGetItemUseCase.js.map +1 -0
- package/UseCases/GetItem/index.d.ts +2 -0
- package/UseCases/GetItem/index.js +4 -0
- package/UseCases/GetItem/index.js.map +1 -0
- package/UseCases/GetScheduledItem/GetScheduledItemUseCase.d.ts +7 -0
- package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js +13 -0
- package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js.map +1 -0
- package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.d.ts +4 -0
- package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js +3 -0
- package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js.map +1 -0
- package/UseCases/GetScheduledItem/index.d.ts +2 -0
- package/UseCases/GetScheduledItem/index.js +4 -0
- package/UseCases/GetScheduledItem/index.js.map +1 -0
- package/UseCases/ListItems/IListItemsUseCase.d.ts +4 -0
- package/UseCases/ListItems/IListItemsUseCase.js +3 -0
- package/UseCases/ListItems/IListItemsUseCase.js.map +1 -0
- package/UseCases/ListItems/ListItemsUseCase.d.ts +8 -0
- package/UseCases/ListItems/ListItemsUseCase.js +12 -0
- package/UseCases/ListItems/ListItemsUseCase.js.map +1 -0
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.d.ts +9 -0
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.js +20 -0
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.js.map +1 -0
- package/UseCases/ListItems/ListItemsUseCaseWithSorting.d.ts +9 -0
- package/UseCases/ListItems/ListItemsUseCaseWithSorting.js +18 -0
- package/UseCases/ListItems/ListItemsUseCaseWithSorting.js.map +1 -0
- package/UseCases/ListItems/index.d.ts +4 -0
- package/UseCases/ListItems/index.js +6 -0
- package/UseCases/ListItems/index.js.map +1 -0
- package/UseCases/ListMoreItems/IListMoreItemsUseCase.d.ts +3 -0
- package/UseCases/ListMoreItems/IListMoreItemsUseCase.js +3 -0
- package/UseCases/ListMoreItems/IListMoreItemsUseCase.js.map +1 -0
- package/UseCases/ListMoreItems/ListMoreItemsUseCase.d.ts +7 -0
- package/UseCases/ListMoreItems/ListMoreItemsUseCase.js +12 -0
- package/UseCases/ListMoreItems/ListMoreItemsUseCase.js.map +1 -0
- package/UseCases/ListMoreItems/index.d.ts +2 -0
- package/UseCases/ListMoreItems/index.js +4 -0
- package/UseCases/ListMoreItems/index.js.map +1 -0
- package/UseCases/PublishItem/IPublishItemUseCase.d.ts +3 -0
- package/UseCases/PublishItem/IPublishItemUseCase.js +3 -0
- package/UseCases/PublishItem/IPublishItemUseCase.js.map +1 -0
- package/UseCases/PublishItem/PublishItemUseCase.d.ts +7 -0
- package/UseCases/PublishItem/PublishItemUseCase.js +12 -0
- package/UseCases/PublishItem/PublishItemUseCase.js.map +1 -0
- package/UseCases/PublishItem/index.d.ts +2 -0
- package/UseCases/PublishItem/index.js +4 -0
- package/UseCases/PublishItem/index.js.map +1 -0
- package/UseCases/SearchItems/ISearchItemsUseCase.d.ts +3 -0
- package/UseCases/SearchItems/ISearchItemsUseCase.js +3 -0
- package/UseCases/SearchItems/ISearchItemsUseCase.js.map +1 -0
- package/UseCases/SearchItems/SearchItemsUseCase.d.ts +7 -0
- package/UseCases/SearchItems/SearchItemsUseCase.js +12 -0
- package/UseCases/SearchItems/SearchItemsUseCase.js.map +1 -0
- package/UseCases/SearchItems/index.d.ts +2 -0
- package/UseCases/SearchItems/index.js +4 -0
- package/UseCases/SearchItems/index.js.map +1 -0
- package/UseCases/SelectAllItems/ISelectAllItemsUseCase.d.ts +3 -0
- package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js +3 -0
- package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js.map +1 -0
- package/UseCases/SelectAllItems/SelectAllItemsUseCase.d.ts +7 -0
- package/UseCases/SelectAllItems/SelectAllItemsUseCase.js +12 -0
- package/UseCases/SelectAllItems/SelectAllItemsUseCase.js.map +1 -0
- package/UseCases/SelectAllItems/index.d.ts +2 -0
- package/UseCases/SelectAllItems/index.js +4 -0
- package/UseCases/SelectAllItems/index.js.map +1 -0
- package/UseCases/SelectItems/ISelectItemsUseCase.d.ts +4 -0
- package/UseCases/SelectItems/ISelectItemsUseCase.js +3 -0
- package/UseCases/SelectItems/ISelectItemsUseCase.js.map +1 -0
- package/UseCases/SelectItems/SelectItemsUseCase.d.ts +7 -0
- package/UseCases/SelectItems/SelectItemsUseCase.js +12 -0
- package/UseCases/SelectItems/SelectItemsUseCase.js.map +1 -0
- package/UseCases/SelectItems/index.d.ts +2 -0
- package/UseCases/SelectItems/index.js +4 -0
- package/UseCases/SelectItems/index.js.map +1 -0
- package/UseCases/SortItems/ISortItemsUseCase.d.ts +4 -0
- package/UseCases/SortItems/ISortItemsUseCase.js +3 -0
- package/UseCases/SortItems/ISortItemsUseCase.js.map +1 -0
- package/UseCases/SortItems/SortItemsUseCase.d.ts +7 -0
- package/UseCases/SortItems/SortItemsUseCase.js +12 -0
- package/UseCases/SortItems/SortItemsUseCase.js.map +1 -0
- package/UseCases/SortItems/index.d.ts +2 -0
- package/UseCases/SortItems/index.js +4 -0
- package/UseCases/SortItems/index.js.map +1 -0
- package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.d.ts +3 -0
- package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js +3 -0
- package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js.map +1 -0
- package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.d.ts +7 -0
- package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js +12 -0
- package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js.map +1 -0
- package/UseCases/UnSelectAllItems/index.d.ts +2 -0
- package/UseCases/UnSelectAllItems/index.js +4 -0
- package/UseCases/UnSelectAllItems/index.js.map +1 -0
- package/UseCases/UnpublishItem/IUnpublishItemUseCase.d.ts +3 -0
- package/UseCases/UnpublishItem/IUnpublishItemUseCase.js +3 -0
- package/UseCases/UnpublishItem/IUnpublishItemUseCase.js.map +1 -0
- package/UseCases/UnpublishItem/UnpublishItemUseCase.d.ts +7 -0
- package/UseCases/UnpublishItem/UnpublishItemUseCase.js +12 -0
- package/UseCases/UnpublishItem/UnpublishItemUseCase.js.map +1 -0
- package/UseCases/UnpublishItem/index.d.ts +2 -0
- package/UseCases/UnpublishItem/index.js +4 -0
- package/UseCases/UnpublishItem/index.js.map +1 -0
- package/UseCases/index.d.ts +11 -0
- package/UseCases/index.js +13 -0
- package/UseCases/index.js.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +4 -0
- package/index.js.map +1 -0
- package/package.json +53 -0
- package/types.d.ts +34 -0
- package/types.js +15 -0
- package/types.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellScheduledBy\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellScheduledOn.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellTitle\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellType.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -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,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 @@
|
|
|
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,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 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./SchedulerOverlay.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./SearchInput\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -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";
|