@webiny/app-headless-cms-scheduler 6.0.0 → 6.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Browser/BrowserConfig.d.ts +2 -0
- package/components/Browser/BrowserConfig.js +15 -0
- package/components/Browser/BrowserConfig.js.map +1 -0
- package/components/Browser/MenuItem.d.ts +2 -0
- package/components/Browser/MenuItem.js +53 -0
- package/components/Browser/MenuItem.js.map +1 -0
- package/components/Editor/EditorConfig.d.ts +2 -0
- package/components/Editor/EditorConfig.js +15 -0
- package/components/Editor/EditorConfig.js.map +1 -0
- package/components/Editor/MenuItem.d.ts +2 -0
- package/components/Editor/MenuItem.js +49 -0
- package/components/Editor/MenuItem.js.map +1 -0
- package/components/Sidebar/SchedulerButton.d.ts +5 -0
- package/components/Sidebar/SchedulerButton.js +17 -0
- package/components/Sidebar/SchedulerButton.js.map +1 -0
- package/components/Sidebar/Sidebar.d.ts +2 -0
- package/components/Sidebar/Sidebar.js +41 -0
- package/components/Sidebar/Sidebar.js.map +1 -0
- package/components/index.d.ts +3 -0
- package/components/index.js +5 -0
- package/components/index.js.map +1 -0
- package/hooks/usePermissions.d.ts +4 -0
- package/hooks/usePermissions.js +17 -0
- package/hooks/usePermissions.js.map +1 -0
- package/index.d.ts +2 -2
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +9 -23
- package/utils/index.d.ts +1 -0
- package/utils/index.js +3 -0
- package/utils/index.js.map +1 -0
- package/utils/namespace.d.ts +7 -0
- package/utils/namespace.js +11 -0
- package/utils/namespace.js.map +1 -0
- package/Domain/Models/SchedulerItem/SchedulerItem.d.ts +0 -14
- package/Domain/Models/SchedulerItem/SchedulerItem.js +0 -17
- package/Domain/Models/SchedulerItem/SchedulerItem.js.map +0 -1
- package/Domain/Models/SchedulerItem/index.d.ts +0 -1
- package/Domain/Models/SchedulerItem/index.js +0 -3
- package/Domain/Models/SchedulerItem/index.js.map +0 -1
- package/Domain/Models/index.d.ts +0 -1
- package/Domain/Models/index.js +0 -3
- package/Domain/Models/index.js.map +0 -1
- package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.d.ts +0 -14
- package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js +0 -3
- package/Domain/Repositories/SchedulerItems/ISchedulerItemsRepository.js.map +0 -1
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.d.ts +0 -37
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js +0 -125
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepository.js.map +0 -1
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.d.ts +0 -20
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js +0 -17
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryFactory.js.map +0 -1
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.d.ts +0 -17
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js +0 -38
- package/Domain/Repositories/SchedulerItems/SchedulerItemsRepositoryWithLoading.js.map +0 -1
- package/Domain/Repositories/SchedulerItems/index.d.ts +0 -4
- package/Domain/Repositories/SchedulerItems/index.js +0 -5
- package/Domain/Repositories/SchedulerItems/index.js.map +0 -1
- package/Domain/Repositories/Search/ISearchRepository.d.ts +0 -4
- package/Domain/Repositories/Search/ISearchRepository.js +0 -3
- package/Domain/Repositories/Search/ISearchRepository.js.map +0 -1
- package/Domain/Repositories/Search/SearchRepository.d.ts +0 -7
- package/Domain/Repositories/Search/SearchRepository.js +0 -15
- package/Domain/Repositories/Search/SearchRepository.js.map +0 -1
- package/Domain/Repositories/Search/SearchRepositoryFactory.d.ts +0 -7
- package/Domain/Repositories/Search/SearchRepositoryFactory.js +0 -17
- package/Domain/Repositories/Search/SearchRepositoryFactory.js.map +0 -1
- package/Domain/Repositories/Search/index.d.ts +0 -3
- package/Domain/Repositories/Search/index.js +0 -4
- package/Domain/Repositories/Search/index.js.map +0 -1
- package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.d.ts +0 -8
- package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js +0 -3
- package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js.map +0 -1
- package/Domain/Repositories/SelectedItems/SelectedItemsRepository.d.ts +0 -12
- package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js +0 -27
- package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js.map +0 -1
- package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.d.ts +0 -7
- package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js +0 -17
- package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js.map +0 -1
- package/Domain/Repositories/SelectedItems/index.d.ts +0 -3
- package/Domain/Repositories/SelectedItems/index.js +0 -4
- package/Domain/Repositories/SelectedItems/index.js.map +0 -1
- package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.d.ts +0 -8
- package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js +0 -22
- package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js.map +0 -1
- package/Domain/Repositories/Sorting/index.d.ts +0 -1
- package/Domain/Repositories/Sorting/index.js +0 -3
- package/Domain/Repositories/Sorting/index.js.map +0 -1
- package/Domain/Repositories/index.d.ts +0 -4
- package/Domain/Repositories/index.js +0 -6
- package/Domain/Repositories/index.js.map +0 -1
- package/Domain/index.d.ts +0 -2
- package/Domain/index.js +0 -4
- package/Domain/index.js.map +0 -1
- package/Gateways/SchedulerCancelGateway.d.ts +0 -7
- package/Gateways/SchedulerCancelGateway.js +0 -3
- package/Gateways/SchedulerCancelGateway.js.map +0 -1
- package/Gateways/SchedulerGetGateway.d.ts +0 -9
- package/Gateways/SchedulerGetGateway.js +0 -3
- package/Gateways/SchedulerGetGateway.js.map +0 -1
- package/Gateways/SchedulerListGateway.d.ts +0 -28
- package/Gateways/SchedulerListGateway.js +0 -3
- package/Gateways/SchedulerListGateway.js.map +0 -1
- package/Gateways/SchedulerPublishGateway.d.ts +0 -12
- package/Gateways/SchedulerPublishGateway.js +0 -3
- package/Gateways/SchedulerPublishGateway.js.map +0 -1
- package/Gateways/SchedulerUnpublishGateway.d.ts +0 -12
- package/Gateways/SchedulerUnpublishGateway.js +0 -3
- package/Gateways/SchedulerUnpublishGateway.js.map +0 -1
- package/Gateways/index.d.ts +0 -5
- package/Gateways/index.js +0 -3
- package/Gateways/index.js.map +0 -1
- package/Presentation/Scheduler/Scheduler.d.ts +0 -18
- package/Presentation/Scheduler/Scheduler.js +0 -66
- package/Presentation/Scheduler/Scheduler.js.map +0 -1
- package/Presentation/Scheduler/SchedulerControllers.d.ts +0 -30
- package/Presentation/Scheduler/SchedulerControllers.js +0 -72
- package/Presentation/Scheduler/SchedulerControllers.js.map +0 -1
- package/Presentation/Scheduler/SchedulerPresenter.d.ts +0 -32
- package/Presentation/Scheduler/SchedulerPresenter.js +0 -44
- package/Presentation/Scheduler/SchedulerPresenter.js.map +0 -1
- package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.d.ts +0 -7
- package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js +0 -11
- package/Presentation/Scheduler/controllers/CancelItem/CancelItemController.js.map +0 -1
- package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.d.ts +0 -3
- package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js +0 -3
- package/Presentation/Scheduler/controllers/CancelItem/ICancelItemController.js.map +0 -1
- package/Presentation/Scheduler/controllers/CancelItem/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/CancelItem/index.js +0 -3
- package/Presentation/Scheduler/controllers/CancelItem/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/GetItem/GetItemController.d.ts +0 -8
- package/Presentation/Scheduler/controllers/GetItem/GetItemController.js +0 -11
- package/Presentation/Scheduler/controllers/GetItem/GetItemController.js.map +0 -1
- package/Presentation/Scheduler/controllers/GetItem/IGetItemController.d.ts +0 -4
- package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js +0 -3
- package/Presentation/Scheduler/controllers/GetItem/IGetItemController.js.map +0 -1
- package/Presentation/Scheduler/controllers/GetItem/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/GetItem/index.js +0 -3
- package/Presentation/Scheduler/controllers/GetItem/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/ListItems/IListItemsController.d.ts +0 -4
- package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js +0 -3
- package/Presentation/Scheduler/controllers/ListItems/IListItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/ListItems/ListItemsController.d.ts +0 -8
- package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js +0 -11
- package/Presentation/Scheduler/controllers/ListItems/ListItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/ListItems/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/ListItems/index.js +0 -3
- package/Presentation/Scheduler/controllers/ListItems/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.d.ts +0 -3
- package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js +0 -3
- package/Presentation/Scheduler/controllers/ListMoreItems/IListMoreItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.d.ts +0 -7
- package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js +0 -11
- package/Presentation/Scheduler/controllers/ListMoreItems/ListMoreItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/ListMoreItems/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/ListMoreItems/index.js +0 -3
- package/Presentation/Scheduler/controllers/ListMoreItems/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.d.ts +0 -3
- package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js +0 -3
- package/Presentation/Scheduler/controllers/PublishItem/IPublishItemController.js.map +0 -1
- package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.d.ts +0 -7
- package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js +0 -11
- package/Presentation/Scheduler/controllers/PublishItem/PublishItemController.js.map +0 -1
- package/Presentation/Scheduler/controllers/PublishItem/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/PublishItem/index.js +0 -3
- package/Presentation/Scheduler/controllers/PublishItem/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.d.ts +0 -3
- package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js +0 -3
- package/Presentation/Scheduler/controllers/SearchItems/ISearchItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.d.ts +0 -8
- package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js +0 -14
- package/Presentation/Scheduler/controllers/SearchItems/SearchItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/SearchItems/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/SearchItems/index.js +0 -3
- package/Presentation/Scheduler/controllers/SearchItems/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.d.ts +0 -3
- package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js +0 -3
- package/Presentation/Scheduler/controllers/SelectAllItems/ISelectAllItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.d.ts +0 -7
- package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js +0 -11
- package/Presentation/Scheduler/controllers/SelectAllItems/SelectAllItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/SelectAllItems/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/SelectAllItems/index.js +0 -3
- package/Presentation/Scheduler/controllers/SelectAllItems/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.d.ts +0 -4
- package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js +0 -3
- package/Presentation/Scheduler/controllers/SelectItems/ISelectItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.d.ts +0 -8
- package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js +0 -13
- package/Presentation/Scheduler/controllers/SelectItems/SelectItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/SelectItems/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/SelectItems/index.js +0 -3
- package/Presentation/Scheduler/controllers/SelectItems/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.d.ts +0 -4
- package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js +0 -3
- package/Presentation/Scheduler/controllers/SortItems/ISortItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/SortItems/SortItemsController.d.ts +0 -9
- package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js +0 -19
- package/Presentation/Scheduler/controllers/SortItems/SortItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/SortItems/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/SortItems/index.js +0 -3
- package/Presentation/Scheduler/controllers/SortItems/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.d.ts +0 -3
- package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js +0 -3
- package/Presentation/Scheduler/controllers/UnpublishItem/IUnpublishItemController.js.map +0 -1
- package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.d.ts +0 -7
- package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js +0 -11
- package/Presentation/Scheduler/controllers/UnpublishItem/UnpublishItemController.js.map +0 -1
- package/Presentation/Scheduler/controllers/UnpublishItem/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/UnpublishItem/index.js +0 -3
- package/Presentation/Scheduler/controllers/UnpublishItem/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.d.ts +0 -3
- package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js +0 -3
- package/Presentation/Scheduler/controllers/UnselectAllItems/IUnselectAllItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.d.ts +0 -7
- package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js +0 -11
- package/Presentation/Scheduler/controllers/UnselectAllItems/UnselectAllItemsController.js.map +0 -1
- package/Presentation/Scheduler/controllers/UnselectAllItems/index.d.ts +0 -2
- package/Presentation/Scheduler/controllers/UnselectAllItems/index.js +0 -3
- package/Presentation/Scheduler/controllers/UnselectAllItems/index.js.map +0 -1
- package/Presentation/Scheduler/controllers/index.d.ts +0 -11
- package/Presentation/Scheduler/controllers/index.js +0 -13
- package/Presentation/Scheduler/controllers/index.js.map +0 -1
- package/Presentation/Scheduler/index.d.ts +0 -1
- package/Presentation/Scheduler/index.js +0 -3
- package/Presentation/Scheduler/index.js.map +0 -1
- package/Presentation/SchedulerConfigs/SchedulerConfigs.d.ts +0 -2
- package/Presentation/SchedulerConfigs/SchedulerConfigs.js +0 -55
- package/Presentation/SchedulerConfigs/SchedulerConfigs.js.map +0 -1
- package/Presentation/SchedulerConfigs/index.d.ts +0 -1
- package/Presentation/SchedulerConfigs/index.js +0 -3
- package/Presentation/SchedulerConfigs/index.js.map +0 -1
- package/Presentation/SchedulerRenderer/SchedulerRenderer.d.ts +0 -6
- package/Presentation/SchedulerRenderer/SchedulerRenderer.js +0 -21
- package/Presentation/SchedulerRenderer/SchedulerRenderer.js.map +0 -1
- package/Presentation/SchedulerRenderer/index.d.ts +0 -1
- package/Presentation/SchedulerRenderer/index.js +0 -3
- package/Presentation/SchedulerRenderer/index.js.map +0 -1
- package/Presentation/abstractions/ISchedulerControllers.d.ts +0 -14
- package/Presentation/abstractions/ISchedulerControllers.js +0 -3
- package/Presentation/abstractions/ISchedulerControllers.js.map +0 -1
- package/Presentation/abstractions/ISchedulerPresenter.d.ts +0 -20
- package/Presentation/abstractions/ISchedulerPresenter.js +0 -3
- package/Presentation/abstractions/ISchedulerPresenter.js.map +0 -1
- package/Presentation/abstractions/index.d.ts +0 -2
- package/Presentation/abstractions/index.js +0 -3
- package/Presentation/abstractions/index.js.map +0 -1
- package/Presentation/components/Actions/CancelItem/CancelItem.d.ts +0 -2
- package/Presentation/components/Actions/CancelItem/CancelItem.js +0 -24
- package/Presentation/components/Actions/CancelItem/CancelItem.js.map +0 -1
- package/Presentation/components/Actions/CancelItem/index.d.ts +0 -1
- package/Presentation/components/Actions/CancelItem/index.js +0 -3
- package/Presentation/components/Actions/CancelItem/index.js.map +0 -1
- package/Presentation/components/Actions/index.d.ts +0 -1
- package/Presentation/components/Actions/index.js +0 -3
- package/Presentation/components/Actions/index.js.map +0 -1
- package/Presentation/components/BottomInfoBar/BottomInfoBar.d.ts +0 -2
- package/Presentation/components/BottomInfoBar/BottomInfoBar.js +0 -20
- package/Presentation/components/BottomInfoBar/BottomInfoBar.js.map +0 -1
- package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.d.ts +0 -20
- package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js +0 -69
- package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js.map +0 -1
- package/Presentation/components/BottomInfoBar/ListMeta.d.ts +0 -7
- package/Presentation/components/BottomInfoBar/ListMeta.js +0 -12
- package/Presentation/components/BottomInfoBar/ListMeta.js.map +0 -1
- package/Presentation/components/BottomInfoBar/ListStatus.d.ts +0 -5
- package/Presentation/components/BottomInfoBar/ListStatus.js +0 -16
- package/Presentation/components/BottomInfoBar/ListStatus.js.map +0 -1
- package/Presentation/components/BottomInfoBar/index.d.ts +0 -1
- package/Presentation/components/BottomInfoBar/index.js +0 -3
- package/Presentation/components/BottomInfoBar/index.js.map +0 -1
- package/Presentation/components/Cells/CellActions/CellActions.d.ts +0 -2
- package/Presentation/components/Cells/CellActions/CellActions.js +0 -23
- package/Presentation/components/Cells/CellActions/CellActions.js.map +0 -1
- package/Presentation/components/Cells/CellActions/index.d.ts +0 -1
- package/Presentation/components/Cells/CellActions/index.js +0 -3
- package/Presentation/components/Cells/CellActions/index.js.map +0 -1
- package/Presentation/components/Cells/CellRevision/CellRevision.d.ts +0 -2
- package/Presentation/components/Cells/CellRevision/CellRevision.js +0 -20
- package/Presentation/components/Cells/CellRevision/CellRevision.js.map +0 -1
- package/Presentation/components/Cells/CellRevision/CellRevision.styled.d.ts +0 -11
- package/Presentation/components/Cells/CellRevision/CellRevision.styled.js +0 -44
- package/Presentation/components/Cells/CellRevision/CellRevision.styled.js.map +0 -1
- package/Presentation/components/Cells/CellRevision/index.d.ts +0 -1
- package/Presentation/components/Cells/CellRevision/index.js +0 -3
- package/Presentation/components/Cells/CellRevision/index.js.map +0 -1
- package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.d.ts +0 -2
- package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js +0 -13
- package/Presentation/components/Cells/CellScheduledBy/CellScheduledBy.js.map +0 -1
- package/Presentation/components/Cells/CellScheduledBy/index.d.ts +0 -1
- package/Presentation/components/Cells/CellScheduledBy/index.js +0 -3
- package/Presentation/components/Cells/CellScheduledBy/index.js.map +0 -1
- package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.d.ts +0 -24
- package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js +0 -24
- package/Presentation/components/Cells/CellScheduledOn/CellScheduledOn.js.map +0 -1
- package/Presentation/components/Cells/CellScheduledOn/index.d.ts +0 -1
- package/Presentation/components/Cells/CellScheduledOn/index.js +0 -3
- package/Presentation/components/Cells/CellScheduledOn/index.js.map +0 -1
- package/Presentation/components/Cells/CellTitle/CellTitle.d.ts +0 -2
- package/Presentation/components/Cells/CellTitle/CellTitle.js +0 -17
- package/Presentation/components/Cells/CellTitle/CellTitle.js.map +0 -1
- package/Presentation/components/Cells/CellTitle/CellTitle.styled.d.ts +0 -11
- package/Presentation/components/Cells/CellTitle/CellTitle.styled.js +0 -44
- package/Presentation/components/Cells/CellTitle/CellTitle.styled.js.map +0 -1
- package/Presentation/components/Cells/CellTitle/index.d.ts +0 -1
- package/Presentation/components/Cells/CellTitle/index.js +0 -3
- package/Presentation/components/Cells/CellTitle/index.js.map +0 -1
- package/Presentation/components/Cells/CellType/CellType.d.ts +0 -2
- package/Presentation/components/Cells/CellType/CellType.js +0 -18
- package/Presentation/components/Cells/CellType/CellType.js.map +0 -1
- package/Presentation/components/Cells/CellType/CellType.styled.d.ts +0 -11
- package/Presentation/components/Cells/CellType/CellType.styled.js +0 -44
- package/Presentation/components/Cells/CellType/CellType.styled.js.map +0 -1
- package/Presentation/components/Cells/CellType/index.d.ts +0 -1
- package/Presentation/components/Cells/CellType/index.js +0 -3
- package/Presentation/components/Cells/CellType/index.js.map +0 -1
- package/Presentation/components/Cells/index.d.ts +0 -6
- package/Presentation/components/Cells/index.js +0 -8
- package/Presentation/components/Cells/index.js.map +0 -1
- package/Presentation/components/Empty/Empty.d.ts +0 -2
- package/Presentation/components/Empty/Empty.js +0 -22
- package/Presentation/components/Empty/Empty.js.map +0 -1
- package/Presentation/components/Empty/Empty.styled.d.ts +0 -8
- package/Presentation/components/Empty/Empty.styled.js +0 -30
- package/Presentation/components/Empty/Empty.styled.js.map +0 -1
- package/Presentation/components/Empty/index.d.ts +0 -1
- package/Presentation/components/Empty/index.js +0 -3
- package/Presentation/components/Empty/index.js.map +0 -1
- package/Presentation/components/ScheduleDialog/ScheduleDialogAction.d.ts +0 -15
- package/Presentation/components/ScheduleDialog/ScheduleDialogAction.js +0 -51
- package/Presentation/components/ScheduleDialog/ScheduleDialogAction.js.map +0 -1
- package/Presentation/components/ScheduleDialog/index.d.ts +0 -2
- package/Presentation/components/ScheduleDialog/index.js +0 -4
- package/Presentation/components/ScheduleDialog/index.js.map +0 -1
- package/Presentation/components/ScheduleDialog/types.d.ts +0 -15
- package/Presentation/components/ScheduleDialog/types.js +0 -3
- package/Presentation/components/ScheduleDialog/types.js.map +0 -1
- package/Presentation/components/ScheduleDialog/useScheduleDialog.d.ts +0 -43
- package/Presentation/components/ScheduleDialog/useScheduleDialog.js +0 -193
- package/Presentation/components/ScheduleDialog/useScheduleDialog.js.map +0 -1
- package/Presentation/components/SchedulerOverlay/SchedulerOverlay.d.ts +0 -7
- package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js +0 -36
- package/Presentation/components/SchedulerOverlay/SchedulerOverlay.js.map +0 -1
- package/Presentation/components/SchedulerOverlay/index.d.ts +0 -1
- package/Presentation/components/SchedulerOverlay/index.js +0 -3
- package/Presentation/components/SchedulerOverlay/index.js.map +0 -1
- package/Presentation/components/SearchInput/SearchInput.d.ts +0 -2
- package/Presentation/components/SearchInput/SearchInput.js +0 -37
- package/Presentation/components/SearchInput/SearchInput.js.map +0 -1
- package/Presentation/components/SearchInput/index.d.ts +0 -1
- package/Presentation/components/SearchInput/index.js +0 -3
- package/Presentation/components/SearchInput/index.js.map +0 -1
- package/Presentation/components/Table/Table.d.ts +0 -2
- package/Presentation/components/Table/Table.js +0 -34
- package/Presentation/components/Table/Table.js.map +0 -1
- package/Presentation/components/Table/index.d.ts +0 -1
- package/Presentation/components/Table/index.js +0 -3
- package/Presentation/components/Table/index.js.map +0 -1
- package/Presentation/components/Title/Title.d.ts +0 -5
- package/Presentation/components/Title/Title.js +0 -15
- package/Presentation/components/Title/Title.js.map +0 -1
- package/Presentation/components/Title/Title.styled.d.ts +0 -4
- package/Presentation/components/Title/Title.styled.js +0 -18
- package/Presentation/components/Title/Title.styled.js.map +0 -1
- package/Presentation/components/Title/index.d.ts +0 -1
- package/Presentation/components/Title/index.js +0 -3
- package/Presentation/components/Title/index.js.map +0 -1
- package/Presentation/configs/index.d.ts +0 -1
- package/Presentation/configs/index.js +0 -3
- package/Presentation/configs/index.js.map +0 -1
- package/Presentation/configs/list/Browser/EntryAction.d.ts +0 -7
- package/Presentation/configs/list/Browser/EntryAction.js +0 -16
- package/Presentation/configs/list/Browser/EntryAction.js.map +0 -1
- package/Presentation/configs/list/Browser/Table/Column.d.ts +0 -14
- package/Presentation/configs/list/Browser/Table/Column.js +0 -14
- package/Presentation/configs/list/Browser/Table/Column.js.map +0 -1
- package/Presentation/configs/list/Browser/Table/Sorting.d.ts +0 -5
- package/Presentation/configs/list/Browser/Table/Sorting.js +0 -10
- package/Presentation/configs/list/Browser/Table/Sorting.js.map +0 -1
- package/Presentation/configs/list/Browser/Table/index.d.ts +0 -18
- package/Presentation/configs/list/Browser/Table/index.js +0 -8
- package/Presentation/configs/list/Browser/Table/index.js.map +0 -1
- package/Presentation/configs/list/Browser/index.d.ts +0 -23
- package/Presentation/configs/list/Browser/index.js +0 -8
- package/Presentation/configs/list/Browser/index.js.map +0 -1
- package/Presentation/configs/list/SchedulerListConfig.d.ts +0 -33
- package/Presentation/configs/list/SchedulerListConfig.js +0 -31
- package/Presentation/configs/list/SchedulerListConfig.js.map +0 -1
- package/Presentation/configs/list/index.d.ts +0 -1
- package/Presentation/configs/list/index.js +0 -3
- package/Presentation/configs/list/index.js.map +0 -1
- package/Presentation/hooks/index.d.ts +0 -3
- package/Presentation/hooks/index.js +0 -5
- package/Presentation/hooks/index.js.map +0 -1
- package/Presentation/hooks/useCancelSchedulerItem.d.ts +0 -8
- package/Presentation/hooks/useCancelSchedulerItem.js +0 -32
- package/Presentation/hooks/useCancelSchedulerItem.js.map +0 -1
- package/Presentation/hooks/useScheduler.d.ts +0 -26
- package/Presentation/hooks/useScheduler.js +0 -51
- package/Presentation/hooks/useScheduler.js.map +0 -1
- package/Presentation/hooks/useSchedulerItem.d.ts +0 -11
- package/Presentation/hooks/useSchedulerItem.js +0 -9
- package/Presentation/hooks/useSchedulerItem.js.map +0 -1
- package/Presentation/index.d.ts +0 -28
- package/Presentation/index.js +0 -35
- package/Presentation/index.js.map +0 -1
- package/UseCases/CancelItem/CancelItemUseCase.d.ts +0 -7
- package/UseCases/CancelItem/CancelItemUseCase.js +0 -12
- package/UseCases/CancelItem/CancelItemUseCase.js.map +0 -1
- package/UseCases/CancelItem/ICancelItemUseCase.d.ts +0 -3
- package/UseCases/CancelItem/ICancelItemUseCase.js +0 -3
- package/UseCases/CancelItem/ICancelItemUseCase.js.map +0 -1
- package/UseCases/CancelItem/index.d.ts +0 -2
- package/UseCases/CancelItem/index.js +0 -3
- package/UseCases/CancelItem/index.js.map +0 -1
- package/UseCases/GetItem/GetItemUseCase.d.ts +0 -8
- package/UseCases/GetItem/GetItemUseCase.js +0 -12
- package/UseCases/GetItem/GetItemUseCase.js.map +0 -1
- package/UseCases/GetItem/IGetItemUseCase.d.ts +0 -4
- package/UseCases/GetItem/IGetItemUseCase.js +0 -3
- package/UseCases/GetItem/IGetItemUseCase.js.map +0 -1
- package/UseCases/GetItem/index.d.ts +0 -2
- package/UseCases/GetItem/index.js +0 -3
- package/UseCases/GetItem/index.js.map +0 -1
- package/UseCases/GetScheduledItem/GetScheduledItemUseCase.d.ts +0 -7
- package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js +0 -13
- package/UseCases/GetScheduledItem/GetScheduledItemUseCase.js.map +0 -1
- package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.d.ts +0 -4
- package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js +0 -3
- package/UseCases/GetScheduledItem/IGetScheduledItemUseCase.js.map +0 -1
- package/UseCases/GetScheduledItem/index.d.ts +0 -2
- package/UseCases/GetScheduledItem/index.js +0 -3
- package/UseCases/GetScheduledItem/index.js.map +0 -1
- package/UseCases/ListItems/IListItemsUseCase.d.ts +0 -4
- package/UseCases/ListItems/IListItemsUseCase.js +0 -3
- package/UseCases/ListItems/IListItemsUseCase.js.map +0 -1
- package/UseCases/ListItems/ListItemsUseCase.d.ts +0 -8
- package/UseCases/ListItems/ListItemsUseCase.js +0 -12
- package/UseCases/ListItems/ListItemsUseCase.js.map +0 -1
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.d.ts +0 -9
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.js +0 -20
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.js.map +0 -1
- package/UseCases/ListItems/ListItemsUseCaseWithSorting.d.ts +0 -9
- package/UseCases/ListItems/ListItemsUseCaseWithSorting.js +0 -18
- package/UseCases/ListItems/ListItemsUseCaseWithSorting.js.map +0 -1
- package/UseCases/ListItems/index.d.ts +0 -4
- package/UseCases/ListItems/index.js +0 -5
- package/UseCases/ListItems/index.js.map +0 -1
- package/UseCases/ListMoreItems/IListMoreItemsUseCase.d.ts +0 -3
- package/UseCases/ListMoreItems/IListMoreItemsUseCase.js +0 -3
- package/UseCases/ListMoreItems/IListMoreItemsUseCase.js.map +0 -1
- package/UseCases/ListMoreItems/ListMoreItemsUseCase.d.ts +0 -7
- package/UseCases/ListMoreItems/ListMoreItemsUseCase.js +0 -12
- package/UseCases/ListMoreItems/ListMoreItemsUseCase.js.map +0 -1
- package/UseCases/ListMoreItems/index.d.ts +0 -2
- package/UseCases/ListMoreItems/index.js +0 -3
- package/UseCases/ListMoreItems/index.js.map +0 -1
- package/UseCases/PublishItem/IPublishItemUseCase.d.ts +0 -3
- package/UseCases/PublishItem/IPublishItemUseCase.js +0 -3
- package/UseCases/PublishItem/IPublishItemUseCase.js.map +0 -1
- package/UseCases/PublishItem/PublishItemUseCase.d.ts +0 -7
- package/UseCases/PublishItem/PublishItemUseCase.js +0 -12
- package/UseCases/PublishItem/PublishItemUseCase.js.map +0 -1
- package/UseCases/PublishItem/index.d.ts +0 -2
- package/UseCases/PublishItem/index.js +0 -3
- package/UseCases/PublishItem/index.js.map +0 -1
- package/UseCases/SearchItems/ISearchItemsUseCase.d.ts +0 -3
- package/UseCases/SearchItems/ISearchItemsUseCase.js +0 -3
- package/UseCases/SearchItems/ISearchItemsUseCase.js.map +0 -1
- package/UseCases/SearchItems/SearchItemsUseCase.d.ts +0 -7
- package/UseCases/SearchItems/SearchItemsUseCase.js +0 -12
- package/UseCases/SearchItems/SearchItemsUseCase.js.map +0 -1
- package/UseCases/SearchItems/index.d.ts +0 -2
- package/UseCases/SearchItems/index.js +0 -3
- package/UseCases/SearchItems/index.js.map +0 -1
- package/UseCases/SelectAllItems/ISelectAllItemsUseCase.d.ts +0 -3
- package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js +0 -3
- package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js.map +0 -1
- package/UseCases/SelectAllItems/SelectAllItemsUseCase.d.ts +0 -7
- package/UseCases/SelectAllItems/SelectAllItemsUseCase.js +0 -12
- package/UseCases/SelectAllItems/SelectAllItemsUseCase.js.map +0 -1
- package/UseCases/SelectAllItems/index.d.ts +0 -2
- package/UseCases/SelectAllItems/index.js +0 -3
- package/UseCases/SelectAllItems/index.js.map +0 -1
- package/UseCases/SelectItems/ISelectItemsUseCase.d.ts +0 -4
- package/UseCases/SelectItems/ISelectItemsUseCase.js +0 -3
- package/UseCases/SelectItems/ISelectItemsUseCase.js.map +0 -1
- package/UseCases/SelectItems/SelectItemsUseCase.d.ts +0 -7
- package/UseCases/SelectItems/SelectItemsUseCase.js +0 -12
- package/UseCases/SelectItems/SelectItemsUseCase.js.map +0 -1
- package/UseCases/SelectItems/index.d.ts +0 -2
- package/UseCases/SelectItems/index.js +0 -3
- package/UseCases/SelectItems/index.js.map +0 -1
- package/UseCases/SortItems/ISortItemsUseCase.d.ts +0 -4
- package/UseCases/SortItems/ISortItemsUseCase.js +0 -3
- package/UseCases/SortItems/ISortItemsUseCase.js.map +0 -1
- package/UseCases/SortItems/SortItemsUseCase.d.ts +0 -7
- package/UseCases/SortItems/SortItemsUseCase.js +0 -12
- package/UseCases/SortItems/SortItemsUseCase.js.map +0 -1
- package/UseCases/SortItems/index.d.ts +0 -2
- package/UseCases/SortItems/index.js +0 -3
- package/UseCases/SortItems/index.js.map +0 -1
- package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.d.ts +0 -3
- package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js +0 -3
- package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js.map +0 -1
- package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.d.ts +0 -7
- package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js +0 -12
- package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js.map +0 -1
- package/UseCases/UnSelectAllItems/index.d.ts +0 -2
- package/UseCases/UnSelectAllItems/index.js +0 -3
- package/UseCases/UnSelectAllItems/index.js.map +0 -1
- package/UseCases/UnpublishItem/IUnpublishItemUseCase.d.ts +0 -3
- package/UseCases/UnpublishItem/IUnpublishItemUseCase.js +0 -3
- package/UseCases/UnpublishItem/IUnpublishItemUseCase.js.map +0 -1
- package/UseCases/UnpublishItem/UnpublishItemUseCase.d.ts +0 -7
- package/UseCases/UnpublishItem/UnpublishItemUseCase.js +0 -12
- package/UseCases/UnpublishItem/UnpublishItemUseCase.js.map +0 -1
- package/UseCases/UnpublishItem/index.d.ts +0 -2
- package/UseCases/UnpublishItem/index.js +0 -3
- package/UseCases/UnpublishItem/index.js.map +0 -1
- package/UseCases/index.d.ts +0 -11
- package/UseCases/index.js +0 -13
- package/UseCases/index.js.map +0 -1
- package/types.d.ts +0 -36
- package/types.js +0 -15
- package/types.js.map +0 -1
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface ICellScheduledOnLabelProps {
|
|
3
|
-
dateTime: Date | undefined;
|
|
4
|
-
}
|
|
5
|
-
export declare const CellScheduledOnLabel: (({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element) & {
|
|
6
|
-
original: ({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element;
|
|
7
|
-
originalName: string;
|
|
8
|
-
displayName: string;
|
|
9
|
-
} & {
|
|
10
|
-
original: (({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element) & {
|
|
11
|
-
original: ({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element;
|
|
12
|
-
originalName: string;
|
|
13
|
-
displayName: string;
|
|
14
|
-
};
|
|
15
|
-
originalName: string;
|
|
16
|
-
displayName: string;
|
|
17
|
-
} & {
|
|
18
|
-
createDecorator: (decorator: import("@webiny/react-composition").ComponentDecorator<(({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element) & {
|
|
19
|
-
original: ({ dateTime }: ICellScheduledOnLabelProps) => React.JSX.Element;
|
|
20
|
-
originalName: string;
|
|
21
|
-
displayName: string;
|
|
22
|
-
}>) => (props: unknown) => React.JSX.Element;
|
|
23
|
-
};
|
|
24
|
-
export declare const CellScheduledOn: () => React.JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SchedulerListConfig } from "../../../configs/index.js";
|
|
3
|
-
import { makeDecoratable } from "@webiny/react-composition";
|
|
4
|
-
export const CellScheduledOnLabel = makeDecoratable("Scheduler.CellScheduledOnLabel", ({
|
|
5
|
-
dateTime
|
|
6
|
-
}) => {
|
|
7
|
-
if (!dateTime) {
|
|
8
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, "Missing publish or unpublish date.");
|
|
9
|
-
}
|
|
10
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, dateTime.toLocaleString());
|
|
11
|
-
});
|
|
12
|
-
export const CellScheduledOn = () => {
|
|
13
|
-
const {
|
|
14
|
-
useTableRow
|
|
15
|
-
} = SchedulerListConfig.Browser.Table.Column;
|
|
16
|
-
const {
|
|
17
|
-
row
|
|
18
|
-
} = useTableRow();
|
|
19
|
-
return /*#__PURE__*/React.createElement(CellScheduledOnLabel, {
|
|
20
|
-
dateTime: row.data.publishOn || row.data.unpublishOn
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
//# sourceMappingURL=CellScheduledOn.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","SchedulerListConfig","makeDecoratable","CellScheduledOnLabel","dateTime","createElement","Fragment","toLocaleString","CellScheduledOn","useTableRow","Browser","Table","Column","row","data","publishOn","unpublishOn"],"sources":["CellScheduledOn.tsx"],"sourcesContent":["import React from \"react\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\nimport { makeDecoratable } from \"@webiny/react-composition\";\n\nexport interface ICellScheduledOnLabelProps {\n dateTime: Date | undefined;\n}\n\nexport const CellScheduledOnLabel = makeDecoratable(\n \"Scheduler.CellScheduledOnLabel\",\n ({ dateTime }: ICellScheduledOnLabelProps) => {\n if (!dateTime) {\n return <>Missing publish or unpublish date.</>;\n }\n\n return <>{dateTime.toLocaleString()}</>;\n }\n);\n\nexport const CellScheduledOn = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return <CellScheduledOnLabel dateTime={row.data.publishOn || row.data.unpublishOn} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,mBAAmB;AAC5B,SAASC,eAAe,QAAQ,2BAA2B;AAM3D,OAAO,MAAMC,oBAAoB,GAAGD,eAAe,CAC/C,gCAAgC,EAChC,CAAC;EAAEE;AAAqC,CAAC,KAAK;EAC1C,IAAI,CAACA,QAAQ,EAAE;IACX,oBAAOJ,KAAA,CAAAK,aAAA,CAAAL,KAAA,CAAAM,QAAA,QAAE,oCAAoC,CAAC;EAClD;EAEA,oBAAON,KAAA,CAAAK,aAAA,CAAAL,KAAA,CAAAM,QAAA,QAAGF,QAAQ,CAACG,cAAc,CAAC,CAAI,CAAC;AAC3C,CACJ,CAAC;AAED,OAAO,MAAMC,eAAe,GAAGA,CAAA,KAAM;EACjC,MAAM;IAAEC;EAAY,CAAC,GAAGR,mBAAmB,CAACS,OAAO,CAACC,KAAK,CAACC,MAAM;EAChE,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBAAOT,KAAA,CAAAK,aAAA,CAACF,oBAAoB;IAACC,QAAQ,EAAES,GAAG,CAACC,IAAI,CAACC,SAAS,IAAIF,GAAG,CAACC,IAAI,CAACE;EAAY,CAAE,CAAC;AACzF,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./CellScheduledOn.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellScheduledOn.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ReactComponent as File } from "@material-design-icons/svg/outlined/description.svg";
|
|
3
|
-
import { RowIcon, RowText, RowTitle } from "./CellTitle.styled.js";
|
|
4
|
-
import { SchedulerListConfig } from "../../../configs/index.js";
|
|
5
|
-
export const CellTitle = () => {
|
|
6
|
-
const {
|
|
7
|
-
useTableRow
|
|
8
|
-
} = SchedulerListConfig.Browser.Table.Column;
|
|
9
|
-
const {
|
|
10
|
-
row
|
|
11
|
-
} = useTableRow();
|
|
12
|
-
return /*#__PURE__*/React.createElement(RowTitle, null, /*#__PURE__*/React.createElement(RowIcon, null, /*#__PURE__*/React.createElement(File, null)), /*#__PURE__*/React.createElement(RowText, {
|
|
13
|
-
use: "subtitle2"
|
|
14
|
-
}, row.data.title));
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=CellTitle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","ReactComponent","File","RowIcon","RowText","RowTitle","SchedulerListConfig","CellTitle","useTableRow","Browser","Table","Column","row","createElement","use","data","title"],"sources":["CellTitle.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as File } from \"@material-design-icons/svg/outlined/description.svg\";\nimport { RowIcon, RowText, RowTitle } from \"./CellTitle.styled.js\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\n\nexport const CellTitle = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowTitle>\n <RowIcon>\n <File />\n </RowIcon>\n <RowText use={\"subtitle2\"}>{row.data.title}</RowText>\n </RowTitle>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,IAAI,QAAQ,qDAAqD;AAC5F,SAASC,OAAO,EAAEC,OAAO,EAAEC,QAAQ;AACnC,SAASC,mBAAmB;AAE5B,OAAO,MAAMC,SAAS,GAAGA,CAAA,KAAM;EAC3B,MAAM;IAAEC;EAAY,CAAC,GAAGF,mBAAmB,CAACG,OAAO,CAACC,KAAK,CAACC,MAAM;EAChE,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBACIR,KAAA,CAAAa,aAAA,CAACR,QAAQ,qBACLL,KAAA,CAAAa,aAAA,CAACV,OAAO,qBACJH,KAAA,CAAAa,aAAA,CAACX,IAAI,MAAE,CACF,CAAC,eACVF,KAAA,CAAAa,aAAA,CAACT,OAAO;IAACU,GAAG,EAAE;EAAY,GAAEF,GAAG,CAACG,IAAI,CAACC,KAAe,CAC9C,CAAC;AAEnB,CAAC","ignoreList":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const RowTitle: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const RowIcon: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme;
|
|
7
|
-
as?: React.ElementType;
|
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
-
export declare const RowText: import("@emotion/styled").StyledComponent<import("@webiny/ui/Typography/Typography").TypographyProps & {
|
|
10
|
-
theme?: import("@emotion/react").Theme;
|
|
11
|
-
}, {}, {}>;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
3
|
-
import { Typography } from "@webiny/ui/Typography/index.js";
|
|
4
|
-
export const RowTitle = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
5
|
-
target: "e17fhulp2"
|
|
6
|
-
} : {
|
|
7
|
-
target: "e17fhulp2",
|
|
8
|
-
label: "RowTitle"
|
|
9
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
10
|
-
name: "s5xdrg",
|
|
11
|
-
styles: "display:flex;align-items:center"
|
|
12
|
-
} : {
|
|
13
|
-
name: "s5xdrg",
|
|
14
|
-
styles: "display:flex;align-items:center/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUaXRsZS5zdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdxQyIsImZpbGUiOiJDZWxsVGl0bGUuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHkvaW5kZXguanNcIjtcblxuZXhwb3J0IGNvbnN0IFJvd1RpdGxlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
|
|
15
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
16
|
-
});
|
|
17
|
-
export const RowIcon = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
18
|
-
target: "e17fhulp1"
|
|
19
|
-
} : {
|
|
20
|
-
target: "e17fhulp1",
|
|
21
|
-
label: "RowIcon"
|
|
22
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
23
|
-
name: "1hpq26k",
|
|
24
|
-
styles: "margin-right:8px;height:24px"
|
|
25
|
-
} : {
|
|
26
|
-
name: "1hpq26k",
|
|
27
|
-
styles: "margin-right:8px;height:24px/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUaXRsZS5zdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFvQyIsImZpbGUiOiJDZWxsVGl0bGUuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHkvaW5kZXguanNcIjtcblxuZXhwb3J0IGNvbnN0IFJvd1RpdGxlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
|
|
28
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
29
|
-
});
|
|
30
|
-
export const RowText = /*#__PURE__*/_styled(Typography, process.env.NODE_ENV === "production" ? {
|
|
31
|
-
target: "e17fhulp0"
|
|
32
|
-
} : {
|
|
33
|
-
target: "e17fhulp0",
|
|
34
|
-
label: "RowText"
|
|
35
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
36
|
-
name: "l8l8b8",
|
|
37
|
-
styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
|
|
38
|
-
} : {
|
|
39
|
-
name: "l8l8b8",
|
|
40
|
-
styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUaXRsZS5zdHlsZWQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWF5QyIsImZpbGUiOiJDZWxsVGl0bGUuc3R5bGVkLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSBcIkBlbW90aW9uL3N0eWxlZFwiO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gXCJAd2ViaW55L3VpL1R5cG9ncmFwaHkvaW5kZXguanNcIjtcblxuZXhwb3J0IGNvbnN0IFJvd1RpdGxlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
|
|
41
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
//# sourceMappingURL=CellTitle.styled.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Typography","RowTitle","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","RowIcon","RowText"],"sources":["CellTitle.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Typography } from \"@webiny/ui/Typography/index.js\";\n\nexport const RowTitle = styled(\"div\")`\n display: flex;\n align-items: center;\n`;\n\nexport const RowIcon = styled(\"div\")`\n margin-right: 8px;\n height: 24px;\n`;\n\nexport const RowText = styled(Typography)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"mappings":";;AACA,SAASA,UAAU,QAAQ,gCAAgC;AAE3D,OAAO,MAAMC,QAAQ,gBAAGC,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,QAAA,EAAAC;AAAA,EAGpC;AAED,OAAO,MAAMC,OAAO,gBAAGV,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,QAAA,EAAAC;AAAA,EAGnC;AAED,OAAO,MAAME,OAAO,gBAAGX,OAAA,CAAOF,UAAU,EAAAG,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,QAAA,EAAAC;AAAA,EAIxC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./CellTitle.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellTitle.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ReactComponent as Publish } from "@webiny/icons/publish.svg";
|
|
3
|
-
import { ReactComponent as Unpublish } from "@webiny/icons/unpublished.svg";
|
|
4
|
-
import { RowIcon, RowText, RowType } from "./CellType.styled.js";
|
|
5
|
-
import { SchedulerListConfig } from "../../../configs/index.js";
|
|
6
|
-
export const CellType = () => {
|
|
7
|
-
const {
|
|
8
|
-
useTableRow
|
|
9
|
-
} = SchedulerListConfig.Browser.Table.Column;
|
|
10
|
-
const {
|
|
11
|
-
row
|
|
12
|
-
} = useTableRow();
|
|
13
|
-
return /*#__PURE__*/React.createElement(RowType, null, /*#__PURE__*/React.createElement(RowIcon, null, row.data.type === "publish" ? /*#__PURE__*/React.createElement(Publish, null) : /*#__PURE__*/React.createElement(Unpublish, null)), /*#__PURE__*/React.createElement(RowText, {
|
|
14
|
-
use: "subtitle2"
|
|
15
|
-
}, row.data.type));
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
//# sourceMappingURL=CellType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","ReactComponent","Publish","Unpublish","RowIcon","RowText","RowType","SchedulerListConfig","CellType","useTableRow","Browser","Table","Column","row","createElement","data","type","use"],"sources":["CellType.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as Publish } from \"@webiny/icons/publish.svg\";\nimport { ReactComponent as Unpublish } from \"@webiny/icons/unpublished.svg\";\nimport { RowIcon, RowText, RowType } from \"./CellType.styled.js\";\nimport { SchedulerListConfig } from \"~/Presentation/configs/index.js\";\n\nexport const CellType = () => {\n const { useTableRow } = SchedulerListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <RowType>\n <RowIcon>{row.data.type === \"publish\" ? <Publish /> : <Unpublish />}</RowIcon>\n <RowText use={\"subtitle2\"}>{row.data.type}</RowText>\n </RowType>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,OAAO,QAAQ,2BAA2B;AACrE,SAASD,cAAc,IAAIE,SAAS,QAAQ,+BAA+B;AAC3E,SAASC,OAAO,EAAEC,OAAO,EAAEC,OAAO;AAClC,SAASC,mBAAmB;AAE5B,OAAO,MAAMC,QAAQ,GAAGA,CAAA,KAAM;EAC1B,MAAM;IAAEC;EAAY,CAAC,GAAGF,mBAAmB,CAACG,OAAO,CAACC,KAAK,CAACC,MAAM;EAChE,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBACIT,KAAA,CAAAc,aAAA,CAACR,OAAO,qBACJN,KAAA,CAAAc,aAAA,CAACV,OAAO,QAAES,GAAG,CAACE,IAAI,CAACC,IAAI,KAAK,SAAS,gBAAGhB,KAAA,CAAAc,aAAA,CAACZ,OAAO,MAAE,CAAC,gBAAGF,KAAA,CAAAc,aAAA,CAACX,SAAS,MAAE,CAAW,CAAC,eAC9EH,KAAA,CAAAc,aAAA,CAACT,OAAO;IAACY,GAAG,EAAE;EAAY,GAAEJ,GAAG,CAACE,IAAI,CAACC,IAAc,CAC9C,CAAC;AAElB,CAAC","ignoreList":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const RowType: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const RowIcon: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme;
|
|
7
|
-
as?: React.ElementType;
|
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
-
export declare const RowText: import("@emotion/styled").StyledComponent<import("@webiny/ui/Typography/Typography").TypographyProps & {
|
|
10
|
-
theme?: import("@emotion/react").Theme;
|
|
11
|
-
}, {}, {}>;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
3
|
-
import { Typography } from "@webiny/ui/Typography/index.js";
|
|
4
|
-
export const RowType = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
5
|
-
target: "ecync8o2"
|
|
6
|
-
} : {
|
|
7
|
-
target: "ecync8o2",
|
|
8
|
-
label: "RowType"
|
|
9
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
10
|
-
name: "s5xdrg",
|
|
11
|
-
styles: "display:flex;align-items:center"
|
|
12
|
-
} : {
|
|
13
|
-
name: "s5xdrg",
|
|
14
|
-
styles: "display:flex;align-items:center/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUeXBlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR29DIiwiZmlsZSI6IkNlbGxUeXBlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFR5cG9ncmFwaHkgfSBmcm9tIFwiQHdlYmlueS91aS9UeXBvZ3JhcGh5L2luZGV4LmpzXCI7XG5cbmV4cG9ydCBjb25zdCBSb3dUeXBlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
|
|
15
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
16
|
-
});
|
|
17
|
-
export const RowIcon = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
18
|
-
target: "ecync8o1"
|
|
19
|
-
} : {
|
|
20
|
-
target: "ecync8o1",
|
|
21
|
-
label: "RowIcon"
|
|
22
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
23
|
-
name: "1hpq26k",
|
|
24
|
-
styles: "margin-right:8px;height:24px"
|
|
25
|
-
} : {
|
|
26
|
-
name: "1hpq26k",
|
|
27
|
-
styles: "margin-right:8px;height:24px/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUeXBlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUW9DIiwiZmlsZSI6IkNlbGxUeXBlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFR5cG9ncmFwaHkgfSBmcm9tIFwiQHdlYmlueS91aS9UeXBvZ3JhcGh5L2luZGV4LmpzXCI7XG5cbmV4cG9ydCBjb25zdCBSb3dUeXBlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
|
|
28
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
29
|
-
});
|
|
30
|
-
export const RowText = /*#__PURE__*/_styled(Typography, process.env.NODE_ENV === "production" ? {
|
|
31
|
-
target: "ecync8o0"
|
|
32
|
-
} : {
|
|
33
|
-
target: "ecync8o0",
|
|
34
|
-
label: "RowText"
|
|
35
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
36
|
-
name: "l8l8b8",
|
|
37
|
-
styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis"
|
|
38
|
-
} : {
|
|
39
|
-
name: "l8l8b8",
|
|
40
|
-
styles: "white-space:nowrap;overflow:hidden;text-overflow:ellipsis/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNlbGxUeXBlLnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYXlDIiwiZmlsZSI6IkNlbGxUeXBlLnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcbmltcG9ydCB7IFR5cG9ncmFwaHkgfSBmcm9tIFwiQHdlYmlueS91aS9UeXBvZ3JhcGh5L2luZGV4LmpzXCI7XG5cbmV4cG9ydCBjb25zdCBSb3dUeXBlID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dJY29uID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIG1hcmdpbi1yaWdodDogOHB4O1xuICAgIGhlaWdodDogMjRweDtcbmA7XG5cbmV4cG9ydCBjb25zdCBSb3dUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpYFxuICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbmA7XG4iXX0= */",
|
|
41
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
//# sourceMappingURL=CellType.styled.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Typography","RowType","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","RowIcon","RowText"],"sources":["CellType.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\nimport { Typography } from \"@webiny/ui/Typography/index.js\";\n\nexport const RowType = styled(\"div\")`\n display: flex;\n align-items: center;\n`;\n\nexport const RowIcon = styled(\"div\")`\n margin-right: 8px;\n height: 24px;\n`;\n\nexport const RowText = styled(Typography)`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n`;\n"],"mappings":";;AACA,SAASA,UAAU,QAAQ,gCAAgC;AAE3D,OAAO,MAAMC,OAAO,gBAAGC,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,QAAA,EAAAC;AAAA,EAGnC;AAED,OAAO,MAAMC,OAAO,gBAAGV,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,QAAA,EAAAC;AAAA,EAGnC;AAED,OAAO,MAAME,OAAO,gBAAGX,OAAA,CAAOF,UAAU,EAAAG,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,QAAA,EAAAC;AAAA,EAIxC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./CellType.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellType.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from "./CellActions/index.js";
|
|
2
|
-
export * from "./CellScheduledBy/index.js";
|
|
3
|
-
export * from "./CellScheduledOn/index.js";
|
|
4
|
-
export * from "./CellType/index.js";
|
|
5
|
-
export * from "./CellTitle/index.js";
|
|
6
|
-
export * from "./CellRevision/index.js";
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellActions/index.js\";\nexport * from \"./CellScheduledBy/index.js\";\nexport * from \"./CellScheduledOn/index.js\";\nexport * from \"./CellType/index.js\";\nexport * from \"./CellTitle/index.js\";\nexport * from \"./CellRevision/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ReactComponent as SearchIcon } from "@material-design-icons/svg/outlined/search.svg";
|
|
3
|
-
import { ReactComponent as ListIcon } from "@material-design-icons/svg/outlined/view_list.svg";
|
|
4
|
-
import { EmptyView } from "@webiny/app-admin";
|
|
5
|
-
import { EmptyOuter, EmptyWrapper } from "./Empty.styled.js";
|
|
6
|
-
import { useScheduler } from "../../hooks/index.js";
|
|
7
|
-
export const Empty = () => {
|
|
8
|
-
const {
|
|
9
|
-
vm
|
|
10
|
-
} = useScheduler();
|
|
11
|
-
return /*#__PURE__*/React.createElement(EmptyWrapper, null, /*#__PURE__*/React.createElement(EmptyOuter, null, vm.isSearchView ? /*#__PURE__*/React.createElement(EmptyView, {
|
|
12
|
-
icon: /*#__PURE__*/React.createElement(SearchIcon, null),
|
|
13
|
-
title: "No items found.",
|
|
14
|
-
action: null
|
|
15
|
-
}) : /*#__PURE__*/React.createElement(EmptyView, {
|
|
16
|
-
icon: /*#__PURE__*/React.createElement(ListIcon, null),
|
|
17
|
-
title: `No scheduled items.`,
|
|
18
|
-
action: null
|
|
19
|
-
})));
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
//# sourceMappingURL=Empty.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","ReactComponent","SearchIcon","ListIcon","EmptyView","EmptyOuter","EmptyWrapper","useScheduler","Empty","vm","createElement","isSearchView","icon","title","action"],"sources":["Empty.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as SearchIcon } from \"@material-design-icons/svg/outlined/search.svg\";\nimport { ReactComponent as ListIcon } from \"@material-design-icons/svg/outlined/view_list.svg\";\nimport { EmptyView } from \"@webiny/app-admin\";\nimport { EmptyOuter, EmptyWrapper } from \"./Empty.styled.js\";\nimport { useScheduler } from \"~/Presentation/hooks/index.js\";\n\nexport const Empty = () => {\n const { vm } = useScheduler();\n\n return (\n <EmptyWrapper>\n <EmptyOuter>\n {vm.isSearchView ? (\n <EmptyView icon={<SearchIcon />} title={\"No items found.\"} action={null} />\n ) : (\n <EmptyView icon={<ListIcon />} title={`No scheduled items.`} action={null} />\n )}\n </EmptyOuter>\n </EmptyWrapper>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,UAAU,QAAQ,gDAAgD;AAC7F,SAASD,cAAc,IAAIE,QAAQ,QAAQ,mDAAmD;AAC9F,SAASC,SAAS,QAAQ,mBAAmB;AAC7C,SAASC,UAAU,EAAEC,YAAY;AACjC,SAASC,YAAY;AAErB,OAAO,MAAMC,KAAK,GAAGA,CAAA,KAAM;EACvB,MAAM;IAAEC;EAAG,CAAC,GAAGF,YAAY,CAAC,CAAC;EAE7B,oBACIP,KAAA,CAAAU,aAAA,CAACJ,YAAY,qBACTN,KAAA,CAAAU,aAAA,CAACL,UAAU,QACNI,EAAE,CAACE,YAAY,gBACZX,KAAA,CAAAU,aAAA,CAACN,SAAS;IAACQ,IAAI,eAAEZ,KAAA,CAAAU,aAAA,CAACR,UAAU,MAAE,CAAE;IAACW,KAAK,EAAE,iBAAkB;IAACC,MAAM,EAAE;EAAK,CAAE,CAAC,gBAE3Ed,KAAA,CAAAU,aAAA,CAACN,SAAS;IAACQ,IAAI,eAAEZ,KAAA,CAAAU,aAAA,CAACP,QAAQ,MAAE,CAAE;IAACU,KAAK,EAAE,qBAAsB;IAACC,MAAM,EAAE;EAAK,CAAE,CAExE,CACF,CAAC;AAEvB,CAAC","ignoreList":[]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const EmptyWrapper: import("@emotion/styled").StyledComponent<{
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
as?: React.ElementType;
|
|
4
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
-
export declare const EmptyOuter: import("@emotion/styled").StyledComponent<{
|
|
6
|
-
theme?: import("@emotion/react").Theme;
|
|
7
|
-
as?: React.ElementType;
|
|
8
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import _styled from "@emotion/styled/base";
|
|
2
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
3
|
-
export const EmptyWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
4
|
-
target: "e52z2e81"
|
|
5
|
-
} : {
|
|
6
|
-
target: "e52z2e81",
|
|
7
|
-
label: "EmptyWrapper"
|
|
8
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
9
|
-
name: "1cmf72p",
|
|
10
|
-
styles: "width:100%;height:calc(100% - 95px);display:flex;justify-content:center;align-items:center"
|
|
11
|
-
} : {
|
|
12
|
-
name: "1cmf72p",
|
|
13
|
-
styles: "width:100%;height:calc(100% - 95px);display:flex;justify-content:center;align-items:center/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkVtcHR5LnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRXlDIiwiZmlsZSI6IkVtcHR5LnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcblxuZXhwb3J0IGNvbnN0IEVtcHR5V3JhcHBlciA9IHN0eWxlZChcImRpdlwiKWBcbiAgICB3aWR0aDogMTAwJTtcbiAgICBoZWlnaHQ6IGNhbGMoMTAwJSAtIDk1cHgpO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBFbXB0eU91dGVyID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuYDtcbiJdfQ== */",
|
|
14
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
15
|
-
});
|
|
16
|
-
export const EmptyOuter = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
17
|
-
target: "e52z2e80"
|
|
18
|
-
} : {
|
|
19
|
-
target: "e52z2e80",
|
|
20
|
-
label: "EmptyOuter"
|
|
21
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
22
|
-
name: "zigog8",
|
|
23
|
-
styles: "display:flex;flex-direction:column;align-items:center"
|
|
24
|
-
} : {
|
|
25
|
-
name: "zigog8",
|
|
26
|
-
styles: "display:flex;flex-direction:column;align-items:center/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkVtcHR5LnN0eWxlZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVXVDIiwiZmlsZSI6IkVtcHR5LnN0eWxlZC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gXCJAZW1vdGlvbi9zdHlsZWRcIjtcblxuZXhwb3J0IGNvbnN0IEVtcHR5V3JhcHBlciA9IHN0eWxlZChcImRpdlwiKWBcbiAgICB3aWR0aDogMTAwJTtcbiAgICBoZWlnaHQ6IGNhbGMoMTAwJSAtIDk1cHgpO1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbmA7XG5cbmV4cG9ydCBjb25zdCBFbXB0eU91dGVyID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuYDtcbiJdfQ== */",
|
|
27
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
//# sourceMappingURL=Empty.styled.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["EmptyWrapper","_styled","process","env","NODE_ENV","target","label","name","styles","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","EmptyOuter"],"sources":["Empty.styled.tsx"],"sourcesContent":["import styled from \"@emotion/styled\";\n\nexport const EmptyWrapper = styled(\"div\")`\n width: 100%;\n height: calc(100% - 95px);\n display: flex;\n justify-content: center;\n align-items: center;\n`;\n\nexport const EmptyOuter = styled(\"div\")`\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n"],"mappings":";;AAEA,OAAO,MAAMA,YAAY,gBAAGC,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,QAAA,EAAAC;AAAA,EAMxC;AAED,OAAO,MAAMC,UAAU,gBAAGV,OAAA,CAAO,KAAK,EAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CAAAJ,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAG,IAAA;EAAAC,MAAA;AAAA;EAAAD,IAAA;EAAAC,MAAA;EAAAC,QAAA,EAAAC;AAAA,EAItC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Empty.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Empty.js\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ISchedulerCancelGateway, ISchedulerPublishGateway, ISchedulerUnpublishGateway } from "../../../Gateways/index.js";
|
|
2
|
-
import type { IScheduleDialogAction, IScheduleDialogCancelActionExecuteParams, IScheduleDialogScheduleActionExecuteParams } from "./types.js";
|
|
3
|
-
export interface IScheduleDialogActionParams {
|
|
4
|
-
cancelGateway: ISchedulerCancelGateway;
|
|
5
|
-
publishGateway: ISchedulerPublishGateway;
|
|
6
|
-
unpublishGateway: ISchedulerUnpublishGateway;
|
|
7
|
-
}
|
|
8
|
-
export declare class ScheduleDialogAction implements IScheduleDialogAction {
|
|
9
|
-
readonly cancelGateway: ISchedulerCancelGateway;
|
|
10
|
-
readonly publishGateway: ISchedulerPublishGateway;
|
|
11
|
-
readonly unpublishGateway: ISchedulerUnpublishGateway;
|
|
12
|
-
constructor(params: IScheduleDialogActionParams);
|
|
13
|
-
schedule(params: IScheduleDialogScheduleActionExecuteParams): Promise<void>;
|
|
14
|
-
cancel(params: IScheduleDialogCancelActionExecuteParams): Promise<void>;
|
|
15
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ScheduleType } from "../../../types.js";
|
|
2
|
-
export class ScheduleDialogAction {
|
|
3
|
-
constructor(params) {
|
|
4
|
-
const {
|
|
5
|
-
publishGateway,
|
|
6
|
-
unpublishGateway,
|
|
7
|
-
cancelGateway
|
|
8
|
-
} = params;
|
|
9
|
-
this.cancelGateway = cancelGateway;
|
|
10
|
-
this.publishGateway = publishGateway;
|
|
11
|
-
this.unpublishGateway = unpublishGateway;
|
|
12
|
-
}
|
|
13
|
-
async schedule(params) {
|
|
14
|
-
const {
|
|
15
|
-
id,
|
|
16
|
-
modelId,
|
|
17
|
-
type,
|
|
18
|
-
scheduleOn
|
|
19
|
-
} = params;
|
|
20
|
-
switch (type) {
|
|
21
|
-
case ScheduleType.publish:
|
|
22
|
-
await this.publishGateway.execute({
|
|
23
|
-
modelId,
|
|
24
|
-
id,
|
|
25
|
-
scheduleOn
|
|
26
|
-
});
|
|
27
|
-
return;
|
|
28
|
-
case ScheduleType.unpublish:
|
|
29
|
-
await this.unpublishGateway.execute({
|
|
30
|
-
modelId,
|
|
31
|
-
id,
|
|
32
|
-
scheduleOn
|
|
33
|
-
});
|
|
34
|
-
return;
|
|
35
|
-
default:
|
|
36
|
-
throw new Error(`Unsupported schedule type "${type}" for entry "${id}" and model "${modelId}".`);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
async cancel(params) {
|
|
40
|
-
const {
|
|
41
|
-
id,
|
|
42
|
-
modelId
|
|
43
|
-
} = params;
|
|
44
|
-
await this.cancelGateway.execute({
|
|
45
|
-
modelId,
|
|
46
|
-
id
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
//# sourceMappingURL=ScheduleDialogAction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ScheduleType","ScheduleDialogAction","constructor","params","publishGateway","unpublishGateway","cancelGateway","schedule","id","modelId","type","scheduleOn","publish","execute","unpublish","Error","cancel"],"sources":["ScheduleDialogAction.ts"],"sourcesContent":["import { ScheduleType } from \"~/types.js\";\nimport type {\n ISchedulerCancelGateway,\n ISchedulerPublishGateway,\n ISchedulerUnpublishGateway\n} from \"~/Gateways/index.js\";\nimport type {\n IScheduleDialogAction,\n IScheduleDialogCancelActionExecuteParams,\n IScheduleDialogScheduleActionExecuteParams\n} from \"./types.js\";\n\nexport interface IScheduleDialogActionParams {\n cancelGateway: ISchedulerCancelGateway;\n publishGateway: ISchedulerPublishGateway;\n unpublishGateway: ISchedulerUnpublishGateway;\n}\n\nexport class ScheduleDialogAction implements IScheduleDialogAction {\n public readonly cancelGateway: ISchedulerCancelGateway;\n public readonly publishGateway: ISchedulerPublishGateway;\n public readonly unpublishGateway: ISchedulerUnpublishGateway;\n\n public constructor(params: IScheduleDialogActionParams) {\n const { publishGateway, unpublishGateway, cancelGateway } = params;\n\n this.cancelGateway = cancelGateway;\n this.publishGateway = publishGateway;\n this.unpublishGateway = unpublishGateway;\n }\n\n public async schedule(params: IScheduleDialogScheduleActionExecuteParams): Promise<void> {\n const { id, modelId, type, scheduleOn } = params;\n\n switch (type) {\n case ScheduleType.publish:\n await this.publishGateway.execute({\n modelId,\n id,\n scheduleOn\n });\n return;\n case ScheduleType.unpublish:\n await this.unpublishGateway.execute({\n modelId,\n id,\n scheduleOn\n });\n return;\n default:\n throw new Error(\n `Unsupported schedule type \"${type}\" for entry \"${id}\" and model \"${modelId}\".`\n );\n }\n }\n\n public async cancel(params: IScheduleDialogCancelActionExecuteParams): Promise<void> {\n const { id, modelId } = params;\n await this.cancelGateway.execute({\n modelId,\n id\n });\n }\n}\n"],"mappings":"AAAA,SAASA,YAAY;AAkBrB,OAAO,MAAMC,oBAAoB,CAAkC;EAKxDC,WAAWA,CAACC,MAAmC,EAAE;IACpD,MAAM;MAAEC,cAAc;MAAEC,gBAAgB;MAAEC;IAAc,CAAC,GAAGH,MAAM;IAElE,IAAI,CAACG,aAAa,GAAGA,aAAa;IAClC,IAAI,CAACF,cAAc,GAAGA,cAAc;IACpC,IAAI,CAACC,gBAAgB,GAAGA,gBAAgB;EAC5C;EAEA,MAAaE,QAAQA,CAACJ,MAAkD,EAAiB;IACrF,MAAM;MAAEK,EAAE;MAAEC,OAAO;MAAEC,IAAI;MAAEC;IAAW,CAAC,GAAGR,MAAM;IAEhD,QAAQO,IAAI;MACR,KAAKV,YAAY,CAACY,OAAO;QACrB,MAAM,IAAI,CAACR,cAAc,CAACS,OAAO,CAAC;UAC9BJ,OAAO;UACPD,EAAE;UACFG;QACJ,CAAC,CAAC;QACF;MACJ,KAAKX,YAAY,CAACc,SAAS;QACvB,MAAM,IAAI,CAACT,gBAAgB,CAACQ,OAAO,CAAC;UAChCJ,OAAO;UACPD,EAAE;UACFG;QACJ,CAAC,CAAC;QACF;MACJ;QACI,MAAM,IAAII,KAAK,CACX,8BAA8BL,IAAI,gBAAgBF,EAAE,gBAAgBC,OAAO,IAC/E,CAAC;IACT;EACJ;EAEA,MAAaO,MAAMA,CAACb,MAAgD,EAAiB;IACjF,MAAM;MAAEK,EAAE;MAAEC;IAAQ,CAAC,GAAGN,MAAM;IAC9B,MAAM,IAAI,CAACG,aAAa,CAACO,OAAO,CAAC;MAC7BJ,OAAO;MACPD;IACJ,CAAC,CAAC;EACN;AACJ","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./ScheduleDialogAction.js\";\nexport * from \"./useScheduleDialog.js\";\n"],"mappings":"AAAA;AACA","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ScheduleType } from "../../../types.js";
|
|
2
|
-
export interface IScheduleDialogScheduleActionExecuteParams {
|
|
3
|
-
id: string;
|
|
4
|
-
modelId: string;
|
|
5
|
-
scheduleOn: Date;
|
|
6
|
-
type: ScheduleType;
|
|
7
|
-
}
|
|
8
|
-
export interface IScheduleDialogCancelActionExecuteParams {
|
|
9
|
-
id: string;
|
|
10
|
-
modelId: string;
|
|
11
|
-
}
|
|
12
|
-
export interface IScheduleDialogAction {
|
|
13
|
-
schedule(params: IScheduleDialogScheduleActionExecuteParams): Promise<void>;
|
|
14
|
-
cancel(params: IScheduleDialogCancelActionExecuteParams): Promise<void>;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["import type { ScheduleType } from \"~/types.js\";\n\nexport interface IScheduleDialogScheduleActionExecuteParams {\n id: string;\n modelId: string;\n scheduleOn: Date;\n type: ScheduleType;\n}\n\nexport interface IScheduleDialogCancelActionExecuteParams {\n id: string;\n modelId: string;\n}\n\nexport interface IScheduleDialogAction {\n schedule(params: IScheduleDialogScheduleActionExecuteParams): Promise<void>;\n cancel(params: IScheduleDialogCancelActionExecuteParams): Promise<void>;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type BindComponentRenderProp } from "@webiny/form";
|
|
3
|
-
import type { SchedulerEntry } from "../../../types.js";
|
|
4
|
-
import type { CmsContentEntry } from "@webiny/app-headless-cms-common/types/index.js";
|
|
5
|
-
import type { IScheduleDialogAction } from "./types.js";
|
|
6
|
-
export interface ShowDialogParamsEntry {
|
|
7
|
-
id: string;
|
|
8
|
-
status: CmsContentEntry["meta"]["status"];
|
|
9
|
-
title: string;
|
|
10
|
-
modelId: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ShowDialogParams {
|
|
13
|
-
entry: ShowDialogParamsEntry;
|
|
14
|
-
schedulerEntry: SchedulerEntry | null;
|
|
15
|
-
action: IScheduleDialogAction;
|
|
16
|
-
}
|
|
17
|
-
interface UseShowScheduleDialogResponse {
|
|
18
|
-
showDialog: (params: ShowDialogParams) => void;
|
|
19
|
-
}
|
|
20
|
-
export interface ISchedulerDialogFormComponentDateTimeInputProps {
|
|
21
|
-
bind: BindComponentRenderProp<Date>;
|
|
22
|
-
}
|
|
23
|
-
export declare const SchedulerDialogFormComponentDateTimeInput: ((props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element) & {
|
|
24
|
-
original: (props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element;
|
|
25
|
-
originalName: string;
|
|
26
|
-
displayName: string;
|
|
27
|
-
} & {
|
|
28
|
-
original: ((props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element) & {
|
|
29
|
-
original: (props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element;
|
|
30
|
-
originalName: string;
|
|
31
|
-
displayName: string;
|
|
32
|
-
};
|
|
33
|
-
originalName: string;
|
|
34
|
-
displayName: string;
|
|
35
|
-
} & {
|
|
36
|
-
createDecorator: (decorator: import("@webiny/app-admin").ComponentDecorator<((props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element) & {
|
|
37
|
-
original: (props: ISchedulerDialogFormComponentDateTimeInputProps) => React.JSX.Element;
|
|
38
|
-
originalName: string;
|
|
39
|
-
displayName: string;
|
|
40
|
-
}>) => (props: unknown) => React.JSX.Element;
|
|
41
|
-
};
|
|
42
|
-
export declare const useScheduleDialog: () => UseShowScheduleDialogResponse;
|
|
43
|
-
export {};
|