@webiny/app-trash-bin 5.43.3 → 6.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Domain/Models/TrashBinItem/ITrashBinItemMapper.d.ts +1 -1
- package/Domain/Models/TrashBinItem/ITrashBinItemMapper.js +1 -5
- package/Domain/Models/TrashBinItem/ITrashBinItemMapper.js.map +1 -1
- package/Domain/Models/TrashBinItem/TrashBinItem.d.ts +3 -1
- package/Domain/Models/TrashBinItem/TrashBinItem.js +6 -19
- package/Domain/Models/TrashBinItem/TrashBinItem.js.map +1 -1
- package/Domain/Models/TrashBinItem/index.js +2 -27
- package/Domain/Models/TrashBinItem/index.js.map +1 -1
- package/Domain/Models/index.js +1 -16
- package/Domain/Models/index.js.map +1 -1
- package/Domain/Repositories/Search/ISearchRepository.js +1 -5
- package/Domain/Repositories/Search/SearchRepository.d.ts +1 -1
- package/Domain/Repositories/Search/SearchRepository.js +12 -28
- package/Domain/Repositories/Search/SearchRepository.js.map +1 -1
- package/Domain/Repositories/Search/SearchRepositoryFactory.js +14 -32
- package/Domain/Repositories/Search/SearchRepositoryFactory.js.map +1 -1
- package/Domain/Repositories/Search/index.js +3 -38
- package/Domain/Repositories/Search/index.js.map +1 -1
- package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.d.ts +1 -1
- package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js +1 -5
- package/Domain/Repositories/SelectedItems/ISelectedItemsRepository.js.map +1 -1
- package/Domain/Repositories/SelectedItems/SelectedItemsRepository.d.ts +2 -2
- package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js +24 -46
- package/Domain/Repositories/SelectedItems/SelectedItemsRepository.js.map +1 -1
- package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js +14 -32
- package/Domain/Repositories/SelectedItems/SelectedItemsRepositoryFactory.js.map +1 -1
- package/Domain/Repositories/SelectedItems/index.js +3 -38
- package/Domain/Repositories/SelectedItems/index.js.map +1 -1
- package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.d.ts +2 -2
- package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js +16 -32
- package/Domain/Repositories/Sorting/SortingRepositoryWithDefaults.js.map +1 -1
- package/Domain/Repositories/Sorting/index.js +1 -16
- package/Domain/Repositories/Sorting/index.js.map +1 -1
- package/Domain/Repositories/TrashBinItems/ITrashBinItemsRepository.d.ts +3 -3
- package/Domain/Repositories/TrashBinItems/ITrashBinItemsRepository.js +1 -5
- package/Domain/Repositories/TrashBinItems/ITrashBinItemsRepository.js.map +1 -1
- package/Domain/Repositories/TrashBinItems/TrashBinItemMapper.d.ts +1 -2
- package/Domain/Repositories/TrashBinItems/TrashBinItemMapper.js +15 -31
- package/Domain/Repositories/TrashBinItems/TrashBinItemMapper.js.map +1 -1
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepository.d.ts +7 -5
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepository.js +87 -130
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepository.js.map +1 -1
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepositoryFactory.d.ts +3 -3
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepositoryFactory.js +14 -32
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepositoryFactory.js.map +1 -1
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepositoryWithLoading.d.ts +3 -3
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepositoryWithLoading.js +33 -62
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepositoryWithLoading.js.map +1 -1
- package/Domain/Repositories/TrashBinItems/index.js +5 -60
- package/Domain/Repositories/TrashBinItems/index.js.map +1 -1
- package/Domain/Repositories/index.js +5 -49
- package/Domain/Repositories/index.js.map +1 -1
- package/Domain/index.js +2 -27
- package/Domain/index.js.map +1 -1
- package/Gateways/TrashBinBulkActions/ITrashBinBulkActionsGateway.d.ts +1 -1
- package/Gateways/TrashBinBulkActions/ITrashBinBulkActionsGateway.js +1 -5
- package/Gateways/TrashBinBulkActions/ITrashBinBulkActionsGateway.js.map +1 -1
- package/Gateways/TrashBinBulkActions/index.js +1 -16
- package/Gateways/TrashBinBulkActions/index.js.map +1 -1
- package/Gateways/TrashBinDeleteItem/ITrashBinDeleteItemGateway.js +1 -5
- package/Gateways/TrashBinDeleteItem/index.js +1 -16
- package/Gateways/TrashBinDeleteItem/index.js.map +1 -1
- package/Gateways/TrashBinListItems/ITrashBinListGateway.d.ts +1 -1
- package/Gateways/TrashBinListItems/ITrashBinListGateway.js +1 -5
- package/Gateways/TrashBinListItems/ITrashBinListGateway.js.map +1 -1
- package/Gateways/TrashBinListItems/index.js +1 -16
- package/Gateways/TrashBinListItems/index.js.map +1 -1
- package/Gateways/TrashBinRestoreItem/ITrashBinRestoreItemGateway.js +1 -5
- package/Gateways/TrashBinRestoreItem/index.js +1 -16
- package/Gateways/TrashBinRestoreItem/index.js.map +1 -1
- package/Gateways/index.js +4 -49
- package/Gateways/index.js.map +1 -1
- package/Presentation/TrashBin/TrashBin.d.ts +3 -3
- package/Presentation/TrashBin/TrashBin.js +30 -37
- package/Presentation/TrashBin/TrashBin.js.map +1 -1
- package/Presentation/TrashBin/TrashBin.test.js +186 -175
- package/Presentation/TrashBin/TrashBin.test.js.map +1 -1
- package/Presentation/TrashBin/TrashBinControllers.d.ts +2 -2
- package/Presentation/TrashBin/TrashBinControllers.js +60 -94
- package/Presentation/TrashBin/TrashBinControllers.js.map +1 -1
- package/Presentation/TrashBin/TrashBinPresenter.d.ts +3 -3
- package/Presentation/TrashBin/TrashBinPresenter.js +51 -77
- package/Presentation/TrashBin/TrashBinPresenter.js.map +1 -1
- package/Presentation/TrashBin/controllers/BulkAction/BulkActionsController.d.ts +3 -3
- package/Presentation/TrashBin/controllers/BulkAction/BulkActionsController.js +7 -20
- package/Presentation/TrashBin/controllers/BulkAction/BulkActionsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/BulkAction/IBulkActionsController.d.ts +1 -1
- package/Presentation/TrashBin/controllers/BulkAction/IBulkActionsController.js +1 -5
- package/Presentation/TrashBin/controllers/BulkAction/IBulkActionsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/BulkAction/index.js +2 -27
- package/Presentation/TrashBin/controllers/BulkAction/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/DeleteItem/DeleteItemController.d.ts +2 -2
- package/Presentation/TrashBin/controllers/DeleteItem/DeleteItemController.js +7 -20
- package/Presentation/TrashBin/controllers/DeleteItem/DeleteItemController.js.map +1 -1
- package/Presentation/TrashBin/controllers/DeleteItem/IDeleteItemController.js +1 -5
- package/Presentation/TrashBin/controllers/DeleteItem/index.js +2 -27
- package/Presentation/TrashBin/controllers/DeleteItem/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/GetRestoredItemById/GetRestoredItemByIdController.d.ts +2 -3
- package/Presentation/TrashBin/controllers/GetRestoredItemById/GetRestoredItemByIdController.js +10 -23
- package/Presentation/TrashBin/controllers/GetRestoredItemById/GetRestoredItemByIdController.js.map +1 -1
- package/Presentation/TrashBin/controllers/GetRestoredItemById/IGetRestoredItemByIdController.d.ts +1 -1
- package/Presentation/TrashBin/controllers/GetRestoredItemById/IGetRestoredItemByIdController.js +1 -5
- package/Presentation/TrashBin/controllers/GetRestoredItemById/IGetRestoredItemByIdController.js.map +1 -1
- package/Presentation/TrashBin/controllers/GetRestoredItemById/index.js +2 -27
- package/Presentation/TrashBin/controllers/GetRestoredItemById/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/ListItems/IListItemsController.js +1 -5
- package/Presentation/TrashBin/controllers/ListItems/ListItemsController.d.ts +2 -2
- package/Presentation/TrashBin/controllers/ListItems/ListItemsController.js +7 -20
- package/Presentation/TrashBin/controllers/ListItems/ListItemsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/ListItems/index.js +2 -27
- package/Presentation/TrashBin/controllers/ListItems/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/ListMoreItems/IListMoreItemsController.js +1 -5
- package/Presentation/TrashBin/controllers/ListMoreItems/ListMoreItemsController.d.ts +2 -2
- package/Presentation/TrashBin/controllers/ListMoreItems/ListMoreItemsController.js +7 -20
- package/Presentation/TrashBin/controllers/ListMoreItems/ListMoreItemsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/ListMoreItems/index.js +2 -27
- package/Presentation/TrashBin/controllers/ListMoreItems/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/RestoreItem/IRestoreItemController.js +1 -5
- package/Presentation/TrashBin/controllers/RestoreItem/RestoreItemController.d.ts +2 -2
- package/Presentation/TrashBin/controllers/RestoreItem/RestoreItemController.js +7 -20
- package/Presentation/TrashBin/controllers/RestoreItem/RestoreItemController.js.map +1 -1
- package/Presentation/TrashBin/controllers/RestoreItem/index.js +2 -27
- package/Presentation/TrashBin/controllers/RestoreItem/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/SearchItems/ISearchItemsController.js +1 -5
- package/Presentation/TrashBin/controllers/SearchItems/SearchItemsController.d.ts +2 -2
- package/Presentation/TrashBin/controllers/SearchItems/SearchItemsController.js +9 -22
- package/Presentation/TrashBin/controllers/SearchItems/SearchItemsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/SearchItems/index.js +2 -27
- package/Presentation/TrashBin/controllers/SearchItems/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/SelectAllItems/ISelectAllItemsController.js +1 -5
- package/Presentation/TrashBin/controllers/SelectAllItems/SelectAllItemsController.d.ts +2 -2
- package/Presentation/TrashBin/controllers/SelectAllItems/SelectAllItemsController.js +7 -20
- package/Presentation/TrashBin/controllers/SelectAllItems/SelectAllItemsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/SelectAllItems/index.js +2 -27
- package/Presentation/TrashBin/controllers/SelectAllItems/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/SelectItems/ISelectItemsController.d.ts +1 -1
- package/Presentation/TrashBin/controllers/SelectItems/ISelectItemsController.js +1 -5
- package/Presentation/TrashBin/controllers/SelectItems/ISelectItemsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/SelectItems/SelectItemsController.d.ts +3 -3
- package/Presentation/TrashBin/controllers/SelectItems/SelectItemsController.js +9 -24
- package/Presentation/TrashBin/controllers/SelectItems/SelectItemsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/SelectItems/index.js +2 -27
- package/Presentation/TrashBin/controllers/SelectItems/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/SortItems/ISortItemsController.d.ts +1 -1
- package/Presentation/TrashBin/controllers/SortItems/ISortItemsController.js +1 -5
- package/Presentation/TrashBin/controllers/SortItems/ISortItemsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/SortItems/SortItemsController.d.ts +3 -3
- package/Presentation/TrashBin/controllers/SortItems/SortItemsController.js +13 -25
- package/Presentation/TrashBin/controllers/SortItems/SortItemsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/SortItems/index.js +2 -27
- package/Presentation/TrashBin/controllers/SortItems/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/UnselectAllItems/IUnselectAllItemsController.js +1 -5
- package/Presentation/TrashBin/controllers/UnselectAllItems/UnselectAllItemsController.d.ts +2 -2
- package/Presentation/TrashBin/controllers/UnselectAllItems/UnselectAllItemsController.js +7 -20
- package/Presentation/TrashBin/controllers/UnselectAllItems/UnselectAllItemsController.js.map +1 -1
- package/Presentation/TrashBin/controllers/UnselectAllItems/index.js +2 -27
- package/Presentation/TrashBin/controllers/UnselectAllItems/index.js.map +1 -1
- package/Presentation/TrashBin/controllers/index.js +11 -126
- package/Presentation/TrashBin/controllers/index.js.map +1 -1
- package/Presentation/TrashBin/index.js +1 -16
- package/Presentation/TrashBin/index.js.map +1 -1
- package/Presentation/TrashBinConfigs/TrashBinConfigs.js +31 -36
- package/Presentation/TrashBinConfigs/TrashBinConfigs.js.map +1 -1
- package/Presentation/TrashBinConfigs/index.js +1 -16
- package/Presentation/TrashBinConfigs/index.js.map +1 -1
- package/Presentation/TrashBinRenderer/TrashBinRenderer.d.ts +2 -2
- package/Presentation/TrashBinRenderer/TrashBinRenderer.js +13 -23
- package/Presentation/TrashBinRenderer/TrashBinRenderer.js.map +1 -1
- package/Presentation/TrashBinRenderer/index.js +1 -16
- package/Presentation/TrashBinRenderer/index.js.map +1 -1
- package/Presentation/abstractions/ITrashBinControllers.d.ts +1 -1
- package/Presentation/abstractions/ITrashBinControllers.js +1 -5
- package/Presentation/abstractions/ITrashBinControllers.js.map +1 -1
- package/Presentation/abstractions/ITrashBinPresenter.d.ts +3 -3
- package/Presentation/abstractions/ITrashBinPresenter.js +1 -5
- package/Presentation/abstractions/ITrashBinPresenter.js.map +1 -1
- package/Presentation/abstractions/index.js +2 -27
- package/Presentation/abstractions/index.js.map +1 -1
- package/Presentation/components/Actions/DeleteItem/DeleteItem.js +20 -22
- package/Presentation/components/Actions/DeleteItem/DeleteItem.js.map +1 -1
- package/Presentation/components/Actions/DeleteItem/index.js +1 -16
- package/Presentation/components/Actions/DeleteItem/index.js.map +1 -1
- package/Presentation/components/Actions/RestoreItem/RestoreItem.js +18 -21
- package/Presentation/components/Actions/RestoreItem/RestoreItem.js.map +1 -1
- package/Presentation/components/Actions/RestoreItem/index.js +1 -16
- package/Presentation/components/Actions/RestoreItem/index.js.map +1 -1
- package/Presentation/components/Actions/index.js +2 -27
- package/Presentation/components/Actions/index.js.map +1 -1
- package/Presentation/components/BottomInfoBar/BottomInfoBar.js +18 -20
- package/Presentation/components/BottomInfoBar/BottomInfoBar.js.map +1 -1
- package/Presentation/components/BottomInfoBar/ListMeta.js +10 -13
- package/Presentation/components/BottomInfoBar/ListMeta.js.map +1 -1
- package/Presentation/components/BottomInfoBar/ListStatus.js +14 -16
- package/Presentation/components/BottomInfoBar/ListStatus.js.map +1 -1
- package/Presentation/components/BottomInfoBar/index.js +1 -16
- package/Presentation/components/BottomInfoBar/index.js.map +1 -1
- package/Presentation/components/BulkActions/BulkActions/BulkActions.js +49 -35
- package/Presentation/components/BulkActions/BulkActions/BulkActions.js.map +1 -1
- package/Presentation/components/BulkActions/BulkActions/index.js +1 -16
- package/Presentation/components/BulkActions/BulkActions/index.js.map +1 -1
- package/Presentation/components/BulkActions/DeleteItems/DeleteItems.js +75 -74
- package/Presentation/components/BulkActions/DeleteItems/DeleteItems.js.map +1 -1
- package/Presentation/components/BulkActions/DeleteItems/index.js +1 -16
- package/Presentation/components/BulkActions/DeleteItems/index.js.map +1 -1
- package/Presentation/components/BulkActions/RestoreItems/RestoreItems.js +83 -84
- package/Presentation/components/BulkActions/RestoreItems/RestoreItems.js.map +1 -1
- package/Presentation/components/BulkActions/RestoreItems/RestoreItemsReportMessage.js +9 -14
- package/Presentation/components/BulkActions/RestoreItems/RestoreItemsReportMessage.js.map +1 -1
- package/Presentation/components/BulkActions/RestoreItems/index.js +1 -16
- package/Presentation/components/BulkActions/RestoreItems/index.js.map +1 -1
- package/Presentation/components/BulkActions/index.js +3 -38
- package/Presentation/components/BulkActions/index.js.map +1 -1
- package/Presentation/components/Cells/CellActions/CellActions.js +18 -21
- package/Presentation/components/Cells/CellActions/CellActions.js.map +1 -1
- package/Presentation/components/Cells/CellActions/index.js +1 -16
- package/Presentation/components/Cells/CellActions/index.js.map +1 -1
- package/Presentation/components/Cells/CellCreatedBy/CellCreatedBy.js +10 -17
- package/Presentation/components/Cells/CellCreatedBy/CellCreatedBy.js.map +1 -1
- package/Presentation/components/Cells/CellCreatedBy/index.js +1 -16
- package/Presentation/components/Cells/CellCreatedBy/index.js.map +1 -1
- package/Presentation/components/Cells/CellDeletedBy/CellDeletedBy.js +10 -17
- package/Presentation/components/Cells/CellDeletedBy/CellDeletedBy.js.map +1 -1
- package/Presentation/components/Cells/CellDeletedBy/index.js +1 -16
- package/Presentation/components/Cells/CellDeletedBy/index.js.map +1 -1
- package/Presentation/components/Cells/CellDeletedOn/CellDeletedOn.js +12 -19
- package/Presentation/components/Cells/CellDeletedOn/CellDeletedOn.js.map +1 -1
- package/Presentation/components/Cells/CellDeletedOn/index.js +1 -16
- package/Presentation/components/Cells/CellDeletedOn/index.js.map +1 -1
- package/Presentation/components/Cells/CellTitle/CellTitle.js +21 -18
- package/Presentation/components/Cells/CellTitle/CellTitle.js.map +1 -1
- package/Presentation/components/Cells/CellTitle/index.js +1 -16
- package/Presentation/components/Cells/CellTitle/index.js.map +1 -1
- package/Presentation/components/Cells/index.js +5 -60
- package/Presentation/components/Cells/index.js.map +1 -1
- package/Presentation/components/Empty/Empty.js +18 -21
- package/Presentation/components/Empty/Empty.js.map +1 -1
- package/Presentation/components/Empty/index.js +1 -16
- package/Presentation/components/Empty/index.js.map +1 -1
- package/Presentation/components/SearchInput/SearchInput.js +27 -32
- package/Presentation/components/SearchInput/SearchInput.js.map +1 -1
- package/Presentation/components/SearchInput/index.js +1 -16
- package/Presentation/components/SearchInput/index.js.map +1 -1
- package/Presentation/components/Table/Table.js +22 -26
- package/Presentation/components/Table/Table.js.map +1 -1
- package/Presentation/components/Table/index.js +1 -16
- package/Presentation/components/Table/index.js.map +1 -1
- package/Presentation/components/Title/Title.js +11 -18
- package/Presentation/components/Title/Title.js.map +1 -1
- package/Presentation/components/Title/index.js +1 -16
- package/Presentation/components/Title/index.js.map +1 -1
- package/Presentation/components/TrashBinOverlay/TrashBinOverlay.js +27 -35
- package/Presentation/components/TrashBinOverlay/TrashBinOverlay.js.map +1 -1
- package/Presentation/components/TrashBinOverlay/index.js +1 -16
- package/Presentation/components/TrashBinOverlay/index.js.map +1 -1
- package/Presentation/configs/index.js +1 -16
- package/Presentation/configs/index.js.map +1 -1
- package/Presentation/configs/list/Browser/BulkAction.d.ts +3 -3
- package/Presentation/configs/list/Browser/BulkAction.js +37 -48
- package/Presentation/configs/list/Browser/BulkAction.js.map +1 -1
- package/Presentation/configs/list/Browser/EntryAction.d.ts +2 -2
- package/Presentation/configs/list/Browser/EntryAction.js +10 -21
- package/Presentation/configs/list/Browser/EntryAction.js.map +1 -1
- package/Presentation/configs/list/Browser/Table/Column.d.ts +10 -5
- package/Presentation/configs/list/Browser/Table/Column.js +8 -19
- package/Presentation/configs/list/Browser/Table/Column.js.map +1 -1
- package/Presentation/configs/list/Browser/Table/Sorting.d.ts +2 -2
- package/Presentation/configs/list/Browser/Table/Sorting.js +7 -18
- package/Presentation/configs/list/Browser/Table/Sorting.js.map +1 -1
- package/Presentation/configs/list/Browser/Table/index.d.ts +9 -4
- package/Presentation/configs/list/Browser/Table/index.js +5 -11
- package/Presentation/configs/list/Browser/Table/index.js.map +1 -1
- package/Presentation/configs/list/Browser/index.d.ts +10 -5
- package/Presentation/configs/list/Browser/index.js +7 -13
- package/Presentation/configs/list/Browser/index.js.map +1 -1
- package/Presentation/configs/list/TrashBinListConfig.d.ts +7 -2
- package/Presentation/configs/list/TrashBinListConfig.js +22 -33
- package/Presentation/configs/list/TrashBinListConfig.js.map +1 -1
- package/Presentation/configs/list/index.js +1 -16
- package/Presentation/configs/list/index.js.map +1 -1
- package/Presentation/hooks/index.js +4 -49
- package/Presentation/hooks/index.js.map +1 -1
- package/Presentation/hooks/useDeleteTrashBinItem.d.ts +1 -1
- package/Presentation/hooks/useDeleteTrashBinItem.js +27 -32
- package/Presentation/hooks/useDeleteTrashBinItem.js.map +1 -1
- package/Presentation/hooks/useRestoreTrashBinItem.d.ts +1 -1
- package/Presentation/hooks/useRestoreTrashBinItem.js +36 -43
- package/Presentation/hooks/useRestoreTrashBinItem.js.map +1 -1
- package/Presentation/hooks/useTrashBin.d.ts +5 -5
- package/Presentation/hooks/useTrashBin.js +41 -77
- package/Presentation/hooks/useTrashBin.js.map +1 -1
- package/Presentation/hooks/useTrashBinItem.d.ts +1 -1
- package/Presentation/hooks/useTrashBinItem.js +7 -12
- package/Presentation/hooks/useTrashBinItem.js.map +1 -1
- package/Presentation/index.d.ts +2 -2
- package/Presentation/index.js +21 -48
- package/Presentation/index.js.map +1 -1
- package/UseCases/BulkAction/BulkActionUseCase.d.ts +3 -3
- package/UseCases/BulkAction/BulkActionUseCase.js +8 -21
- package/UseCases/BulkAction/BulkActionUseCase.js.map +1 -1
- package/UseCases/BulkAction/IBulkActionUseCase.d.ts +1 -1
- package/UseCases/BulkAction/IBulkActionUseCase.js +1 -5
- package/UseCases/BulkAction/IBulkActionUseCase.js.map +1 -1
- package/UseCases/BulkAction/index.js +2 -27
- package/UseCases/BulkAction/index.js.map +1 -1
- package/UseCases/DeleteItem/DeleteItemUseCase.d.ts +2 -2
- package/UseCases/DeleteItem/DeleteItemUseCase.js +8 -21
- package/UseCases/DeleteItem/DeleteItemUseCase.js.map +1 -1
- package/UseCases/DeleteItem/IDeleteItemUseCase.js +1 -5
- package/UseCases/DeleteItem/index.js +2 -27
- package/UseCases/DeleteItem/index.js.map +1 -1
- package/UseCases/GetRestoredItem/GetRestoredItemUseCase.d.ts +2 -2
- package/UseCases/GetRestoredItem/GetRestoredItemUseCase.js +9 -24
- package/UseCases/GetRestoredItem/GetRestoredItemUseCase.js.map +1 -1
- package/UseCases/GetRestoredItem/IGetRestoredItemUseCase.d.ts +1 -1
- package/UseCases/GetRestoredItem/IGetRestoredItemUseCase.js +1 -5
- package/UseCases/GetRestoredItem/IGetRestoredItemUseCase.js.map +1 -1
- package/UseCases/GetRestoredItem/index.js +2 -27
- package/UseCases/GetRestoredItem/index.js.map +1 -1
- package/UseCases/ListItems/IListItemsUseCase.d.ts +1 -1
- package/UseCases/ListItems/IListItemsUseCase.js +1 -5
- package/UseCases/ListItems/IListItemsUseCase.js.map +1 -1
- package/UseCases/ListItems/ListItemsUseCase.d.ts +3 -3
- package/UseCases/ListItems/ListItemsUseCase.js +10 -22
- package/UseCases/ListItems/ListItemsUseCase.js.map +1 -1
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.d.ts +3 -3
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.js +12 -25
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.js.map +1 -1
- package/UseCases/ListItems/ListItemsUseCaseWithSorting.d.ts +3 -3
- package/UseCases/ListItems/ListItemsUseCaseWithSorting.js +13 -28
- package/UseCases/ListItems/ListItemsUseCaseWithSorting.js.map +1 -1
- package/UseCases/ListItems/index.js +4 -49
- package/UseCases/ListItems/index.js.map +1 -1
- package/UseCases/ListMoreItems/IListMoreItemsUseCase.js +1 -5
- package/UseCases/ListMoreItems/ListMoreItemsUseCase.d.ts +2 -2
- package/UseCases/ListMoreItems/ListMoreItemsUseCase.js +8 -21
- package/UseCases/ListMoreItems/ListMoreItemsUseCase.js.map +1 -1
- package/UseCases/ListMoreItems/index.js +2 -27
- package/UseCases/ListMoreItems/index.js.map +1 -1
- package/UseCases/RestoreItem/IRestoreItemUseCase.js +1 -5
- package/UseCases/RestoreItem/RestoreItemUseCase.d.ts +2 -2
- package/UseCases/RestoreItem/RestoreItemUseCase.js +8 -21
- package/UseCases/RestoreItem/RestoreItemUseCase.js.map +1 -1
- package/UseCases/RestoreItem/index.js +2 -27
- package/UseCases/RestoreItem/index.js.map +1 -1
- package/UseCases/SearchItems/ISearchItemsUseCase.js +1 -5
- package/UseCases/SearchItems/SearchItemsUseCase.d.ts +2 -2
- package/UseCases/SearchItems/SearchItemsUseCase.js +8 -21
- package/UseCases/SearchItems/SearchItemsUseCase.js.map +1 -1
- package/UseCases/SearchItems/index.js +2 -27
- package/UseCases/SearchItems/index.js.map +1 -1
- package/UseCases/SelectAllItems/ISelectAllItemsUseCase.js +1 -5
- package/UseCases/SelectAllItems/SelectAllItemsUseCase.d.ts +2 -2
- package/UseCases/SelectAllItems/SelectAllItemsUseCase.js +8 -21
- package/UseCases/SelectAllItems/SelectAllItemsUseCase.js.map +1 -1
- package/UseCases/SelectAllItems/index.js +2 -27
- package/UseCases/SelectAllItems/index.js.map +1 -1
- package/UseCases/SelectItems/ISelectItemsUseCase.d.ts +1 -1
- package/UseCases/SelectItems/ISelectItemsUseCase.js +1 -5
- package/UseCases/SelectItems/ISelectItemsUseCase.js.map +1 -1
- package/UseCases/SelectItems/SelectItemsUseCase.d.ts +2 -2
- package/UseCases/SelectItems/SelectItemsUseCase.js +8 -21
- package/UseCases/SelectItems/SelectItemsUseCase.js.map +1 -1
- package/UseCases/SelectItems/index.js +2 -27
- package/UseCases/SelectItems/index.js.map +1 -1
- package/UseCases/SortItems/ISortItemsUseCase.d.ts +1 -1
- package/UseCases/SortItems/ISortItemsUseCase.js +1 -5
- package/UseCases/SortItems/ISortItemsUseCase.js.map +1 -1
- package/UseCases/SortItems/SortItemsUseCase.d.ts +2 -2
- package/UseCases/SortItems/SortItemsUseCase.js +8 -21
- package/UseCases/SortItems/SortItemsUseCase.js.map +1 -1
- package/UseCases/SortItems/index.js +2 -27
- package/UseCases/SortItems/index.js.map +1 -1
- package/UseCases/UnSelectAllItems/IUnselectAllItemsUseCase.js +1 -5
- package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.d.ts +2 -2
- package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js +8 -21
- package/UseCases/UnSelectAllItems/UnselectAllItemsUseCase.js.map +1 -1
- package/UseCases/UnSelectAllItems/index.js +2 -27
- package/UseCases/UnSelectAllItems/index.js.map +1 -1
- package/UseCases/index.js +11 -126
- package/UseCases/index.js.map +1 -1
- package/index.js +3 -38
- package/index.js.map +1 -1
- package/package.json +11 -11
- package/types.js +1 -7
- package/types.js.map +1 -1
- package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.d.ts +0 -21
- package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js +0 -81
- package/Presentation/components/BottomInfoBar/BottomInfoBar.styled.js.map +0 -1
- package/Presentation/components/BulkActions/BulkActions/BulkActions.styled.d.ts +0 -13
- package/Presentation/components/BulkActions/BulkActions/BulkActions.styled.js +0 -46
- package/Presentation/components/BulkActions/BulkActions/BulkActions.styled.js.map +0 -1
- package/Presentation/components/BulkActions/RestoreItems/RestoredItems.styled.d.ts +0 -5
- package/Presentation/components/BulkActions/RestoreItems/RestoredItems.styled.js +0 -25
- package/Presentation/components/BulkActions/RestoreItems/RestoredItems.styled.js.map +0 -1
- package/Presentation/components/Cells/CellTitle/CellTitle.styled.d.ts +0 -12
- package/Presentation/components/Cells/CellTitle/CellTitle.styled.js +0 -54
- package/Presentation/components/Cells/CellTitle/CellTitle.styled.js.map +0 -1
- package/Presentation/components/Empty/Empty.styled.d.ts +0 -9
- package/Presentation/components/Empty/Empty.styled.js +0 -39
- package/Presentation/components/Empty/Empty.styled.js.map +0 -1
- package/Presentation/components/SearchInput/SearchInput.styled.d.ts +0 -11
- package/Presentation/components/SearchInput/SearchInput.styled.js +0 -55
- package/Presentation/components/SearchInput/SearchInput.styled.js.map +0 -1
- package/Presentation/components/SelectAll/Messages.d.ts +0 -7
- package/Presentation/components/SelectAll/Messages.js +0 -29
- package/Presentation/components/SelectAll/Messages.js.map +0 -1
- package/Presentation/components/SelectAll/SelectAll.d.ts +0 -3
- package/Presentation/components/SelectAll/SelectAll.js +0 -35
- package/Presentation/components/SelectAll/SelectAll.js.map +0 -1
- package/Presentation/components/SelectAll/SelectAll.styled.d.ts +0 -12
- package/Presentation/components/SelectAll/SelectAll.styled.js +0 -54
- package/Presentation/components/SelectAll/SelectAll.styled.js.map +0 -1
- package/Presentation/components/SelectAll/index.d.ts +0 -1
- package/Presentation/components/SelectAll/index.js +0 -18
- package/Presentation/components/SelectAll/index.js.map +0 -1
- package/Presentation/components/Title/Title.styled.d.ts +0 -4
- package/Presentation/components/Title/Title.styled.js +0 -26
- package/Presentation/components/Title/Title.styled.js.map +0 -1
|
@@ -1,67 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.TrashBinItemsRepositoryWithLoading = void 0;
|
|
8
|
-
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
|
-
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
var _mobx = require("mobx");
|
|
11
|
-
var _types = require("../../../types");
|
|
12
|
-
var TrashBinItemsRepositoryWithLoading = exports.TrashBinItemsRepositoryWithLoading = /*#__PURE__*/function () {
|
|
13
|
-
function TrashBinItemsRepositoryWithLoading(loadingRepository, trashBinItemsRepository) {
|
|
14
|
-
(0, _classCallCheck2.default)(this, TrashBinItemsRepositoryWithLoading);
|
|
1
|
+
import { makeAutoObservable } from "mobx";
|
|
2
|
+
import { LoadingActions } from "../../../types";
|
|
3
|
+
export class TrashBinItemsRepositoryWithLoading {
|
|
4
|
+
constructor(loadingRepository, trashBinItemsRepository) {
|
|
15
5
|
this.loadingRepository = loadingRepository;
|
|
16
6
|
this.trashBinItemsRepository = trashBinItemsRepository;
|
|
17
|
-
|
|
7
|
+
makeAutoObservable(this);
|
|
8
|
+
}
|
|
9
|
+
getItems() {
|
|
10
|
+
return this.trashBinItemsRepository.getItems();
|
|
11
|
+
}
|
|
12
|
+
getRestoredItems() {
|
|
13
|
+
return this.trashBinItemsRepository.getRestoredItems();
|
|
14
|
+
}
|
|
15
|
+
getMeta() {
|
|
16
|
+
return this.trashBinItemsRepository.getMeta();
|
|
17
|
+
}
|
|
18
|
+
getLoading() {
|
|
19
|
+
return this.loadingRepository.get();
|
|
20
|
+
}
|
|
21
|
+
async listItems(params) {
|
|
22
|
+
await this.loadingRepository.runCallBack(this.trashBinItemsRepository.listItems(params), LoadingActions.list);
|
|
23
|
+
}
|
|
24
|
+
async listMoreItems() {
|
|
25
|
+
await this.loadingRepository.runCallBack(this.trashBinItemsRepository.listMoreItems(), LoadingActions.listMore);
|
|
26
|
+
}
|
|
27
|
+
async deleteItem(id) {
|
|
28
|
+
await this.loadingRepository.runCallBack(this.trashBinItemsRepository.deleteItem(id), LoadingActions.delete);
|
|
29
|
+
}
|
|
30
|
+
async restoreItem(id) {
|
|
31
|
+
await this.loadingRepository.runCallBack(this.trashBinItemsRepository.restoreItem(id), LoadingActions.restore);
|
|
32
|
+
}
|
|
33
|
+
async bulkAction(action, params) {
|
|
34
|
+
await this.trashBinItemsRepository.bulkAction(action, params);
|
|
18
35
|
}
|
|
19
|
-
|
|
20
|
-
key: "getItems",
|
|
21
|
-
value: function getItems() {
|
|
22
|
-
return this.trashBinItemsRepository.getItems();
|
|
23
|
-
}
|
|
24
|
-
}, {
|
|
25
|
-
key: "getRestoredItems",
|
|
26
|
-
value: function getRestoredItems() {
|
|
27
|
-
return this.trashBinItemsRepository.getRestoredItems();
|
|
28
|
-
}
|
|
29
|
-
}, {
|
|
30
|
-
key: "getMeta",
|
|
31
|
-
value: function getMeta() {
|
|
32
|
-
return this.trashBinItemsRepository.getMeta();
|
|
33
|
-
}
|
|
34
|
-
}, {
|
|
35
|
-
key: "getLoading",
|
|
36
|
-
value: function getLoading() {
|
|
37
|
-
return this.loadingRepository.get();
|
|
38
|
-
}
|
|
39
|
-
}, {
|
|
40
|
-
key: "listItems",
|
|
41
|
-
value: async function listItems(params) {
|
|
42
|
-
await this.loadingRepository.runCallBack(this.trashBinItemsRepository.listItems(params), _types.LoadingActions.list);
|
|
43
|
-
}
|
|
44
|
-
}, {
|
|
45
|
-
key: "listMoreItems",
|
|
46
|
-
value: async function listMoreItems() {
|
|
47
|
-
await this.loadingRepository.runCallBack(this.trashBinItemsRepository.listMoreItems(), _types.LoadingActions.listMore);
|
|
48
|
-
}
|
|
49
|
-
}, {
|
|
50
|
-
key: "deleteItem",
|
|
51
|
-
value: async function deleteItem(id) {
|
|
52
|
-
await this.loadingRepository.runCallBack(this.trashBinItemsRepository.deleteItem(id), _types.LoadingActions.delete);
|
|
53
|
-
}
|
|
54
|
-
}, {
|
|
55
|
-
key: "restoreItem",
|
|
56
|
-
value: async function restoreItem(id) {
|
|
57
|
-
await this.loadingRepository.runCallBack(this.trashBinItemsRepository.restoreItem(id), _types.LoadingActions.restore);
|
|
58
|
-
}
|
|
59
|
-
}, {
|
|
60
|
-
key: "bulkAction",
|
|
61
|
-
value: async function bulkAction(action, params) {
|
|
62
|
-
await this.trashBinItemsRepository.bulkAction(action, params);
|
|
63
|
-
}
|
|
64
|
-
}]);
|
|
65
|
-
}();
|
|
36
|
+
}
|
|
66
37
|
|
|
67
38
|
//# sourceMappingURL=TrashBinItemsRepositoryWithLoading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["makeAutoObservable","LoadingActions","TrashBinItemsRepositoryWithLoading","constructor","loadingRepository","trashBinItemsRepository","getItems","getRestoredItems","getMeta","getLoading","get","listItems","params","runCallBack","list","listMoreItems","listMore","deleteItem","id","delete","restoreItem","restore","bulkAction","action"],"sources":["TrashBinItemsRepositoryWithLoading.ts"],"sourcesContent":["import { makeAutoObservable } from \"mobx\";\nimport type { ILoadingRepository } from \"@webiny/app-utils\";\nimport type { ITrashBinItemsRepository } from \"./ITrashBinItemsRepository\";\nimport type { TrashBinBulkActionsParams, TrashBinListQueryVariables } from \"~/types\";\nimport { LoadingActions } from \"~/types\";\n\nexport class TrashBinItemsRepositoryWithLoading implements ITrashBinItemsRepository {\n private loadingRepository: ILoadingRepository;\n private trashBinItemsRepository: ITrashBinItemsRepository;\n\n constructor(\n loadingRepository: ILoadingRepository,\n trashBinItemsRepository: ITrashBinItemsRepository\n ) {\n this.loadingRepository = loadingRepository;\n this.trashBinItemsRepository = trashBinItemsRepository;\n makeAutoObservable(this);\n }\n\n getItems() {\n return this.trashBinItemsRepository.getItems();\n }\n\n getRestoredItems() {\n return this.trashBinItemsRepository.getRestoredItems();\n }\n\n getMeta() {\n return this.trashBinItemsRepository.getMeta();\n }\n\n getLoading() {\n return this.loadingRepository.get();\n }\n\n async listItems(params?: TrashBinListQueryVariables) {\n await this.loadingRepository.runCallBack(\n this.trashBinItemsRepository.listItems(params),\n LoadingActions.list\n );\n }\n\n async listMoreItems() {\n await this.loadingRepository.runCallBack(\n this.trashBinItemsRepository.listMoreItems(),\n LoadingActions.listMore\n );\n }\n\n async deleteItem(id: string) {\n await this.loadingRepository.runCallBack(\n this.trashBinItemsRepository.deleteItem(id),\n LoadingActions.delete\n );\n }\n\n async restoreItem(id: string) {\n await this.loadingRepository.runCallBack(\n this.trashBinItemsRepository.restoreItem(id),\n LoadingActions.restore\n );\n }\n\n async bulkAction(action: string, params: TrashBinBulkActionsParams) {\n await this.trashBinItemsRepository.bulkAction(action, params);\n }\n}\n"],"mappings":"AAAA,SAASA,kBAAkB,QAAQ,MAAM;AAIzC,SAASC,cAAc;AAEvB,OAAO,MAAMC,kCAAkC,CAAqC;EAIhFC,WAAWA,CACPC,iBAAqC,EACrCC,uBAAiD,EACnD;IACE,IAAI,CAACD,iBAAiB,GAAGA,iBAAiB;IAC1C,IAAI,CAACC,uBAAuB,GAAGA,uBAAuB;IACtDL,kBAAkB,CAAC,IAAI,CAAC;EAC5B;EAEAM,QAAQA,CAAA,EAAG;IACP,OAAO,IAAI,CAACD,uBAAuB,CAACC,QAAQ,CAAC,CAAC;EAClD;EAEAC,gBAAgBA,CAAA,EAAG;IACf,OAAO,IAAI,CAACF,uBAAuB,CAACE,gBAAgB,CAAC,CAAC;EAC1D;EAEAC,OAAOA,CAAA,EAAG;IACN,OAAO,IAAI,CAACH,uBAAuB,CAACG,OAAO,CAAC,CAAC;EACjD;EAEAC,UAAUA,CAAA,EAAG;IACT,OAAO,IAAI,CAACL,iBAAiB,CAACM,GAAG,CAAC,CAAC;EACvC;EAEA,MAAMC,SAASA,CAACC,MAAmC,EAAE;IACjD,MAAM,IAAI,CAACR,iBAAiB,CAACS,WAAW,CACpC,IAAI,CAACR,uBAAuB,CAACM,SAAS,CAACC,MAAM,CAAC,EAC9CX,cAAc,CAACa,IACnB,CAAC;EACL;EAEA,MAAMC,aAAaA,CAAA,EAAG;IAClB,MAAM,IAAI,CAACX,iBAAiB,CAACS,WAAW,CACpC,IAAI,CAACR,uBAAuB,CAACU,aAAa,CAAC,CAAC,EAC5Cd,cAAc,CAACe,QACnB,CAAC;EACL;EAEA,MAAMC,UAAUA,CAACC,EAAU,EAAE;IACzB,MAAM,IAAI,CAACd,iBAAiB,CAACS,WAAW,CACpC,IAAI,CAACR,uBAAuB,CAACY,UAAU,CAACC,EAAE,CAAC,EAC3CjB,cAAc,CAACkB,MACnB,CAAC;EACL;EAEA,MAAMC,WAAWA,CAACF,EAAU,EAAE;IAC1B,MAAM,IAAI,CAACd,iBAAiB,CAACS,WAAW,CACpC,IAAI,CAACR,uBAAuB,CAACe,WAAW,CAACF,EAAE,CAAC,EAC5CjB,cAAc,CAACoB,OACnB,CAAC;EACL;EAEA,MAAMC,UAAUA,CAACC,MAAc,EAAEX,MAAiC,EAAE;IAChE,MAAM,IAAI,CAACP,uBAAuB,CAACiB,UAAU,CAACC,MAAM,EAAEX,MAAM,CAAC;EACjE;AACJ","ignoreList":[]}
|
|
@@ -1,62 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _ITrashBinItemsRepository = require("./ITrashBinItemsRepository");
|
|
7
|
-
Object.keys(_ITrashBinItemsRepository).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _ITrashBinItemsRepository[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _ITrashBinItemsRepository[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _TrashBinItemMapper = require("./TrashBinItemMapper");
|
|
18
|
-
Object.keys(_TrashBinItemMapper).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _TrashBinItemMapper[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function get() {
|
|
24
|
-
return _TrashBinItemMapper[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _TrashBinItemsRepository = require("./TrashBinItemsRepository");
|
|
29
|
-
Object.keys(_TrashBinItemsRepository).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _TrashBinItemsRepository[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function get() {
|
|
35
|
-
return _TrashBinItemsRepository[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
var _TrashBinItemsRepositoryFactory = require("./TrashBinItemsRepositoryFactory");
|
|
40
|
-
Object.keys(_TrashBinItemsRepositoryFactory).forEach(function (key) {
|
|
41
|
-
if (key === "default" || key === "__esModule") return;
|
|
42
|
-
if (key in exports && exports[key] === _TrashBinItemsRepositoryFactory[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function get() {
|
|
46
|
-
return _TrashBinItemsRepositoryFactory[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
var _TrashBinItemsRepositoryWithLoading = require("./TrashBinItemsRepositoryWithLoading");
|
|
51
|
-
Object.keys(_TrashBinItemsRepositoryWithLoading).forEach(function (key) {
|
|
52
|
-
if (key === "default" || key === "__esModule") return;
|
|
53
|
-
if (key in exports && exports[key] === _TrashBinItemsRepositoryWithLoading[key]) return;
|
|
54
|
-
Object.defineProperty(exports, key, {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function get() {
|
|
57
|
-
return _TrashBinItemsRepositoryWithLoading[key];
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
});
|
|
1
|
+
export * from "./ITrashBinItemsRepository";
|
|
2
|
+
export * from "./TrashBinItemMapper";
|
|
3
|
+
export * from "./TrashBinItemsRepository";
|
|
4
|
+
export * from "./TrashBinItemsRepositoryFactory";
|
|
5
|
+
export * from "./TrashBinItemsRepositoryWithLoading";
|
|
61
6
|
|
|
62
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./ITrashBinItemsRepository\";\nexport * from \"./TrashBinItemMapper\";\nexport * from \"./TrashBinItemsRepository\";\nexport * from \"./TrashBinItemsRepositoryFactory\";\nexport * from \"./TrashBinItemsRepositoryWithLoading\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -1,51 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _Search = require("./Search");
|
|
7
|
-
Object.keys(_Search).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _Search[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _Search[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _SelectedItems = require("./SelectedItems");
|
|
18
|
-
Object.keys(_SelectedItems).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _SelectedItems[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function get() {
|
|
24
|
-
return _SelectedItems[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _Sorting = require("./Sorting");
|
|
29
|
-
Object.keys(_Sorting).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _Sorting[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function get() {
|
|
35
|
-
return _Sorting[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
var _TrashBinItems = require("./TrashBinItems");
|
|
40
|
-
Object.keys(_TrashBinItems).forEach(function (key) {
|
|
41
|
-
if (key === "default" || key === "__esModule") return;
|
|
42
|
-
if (key in exports && exports[key] === _TrashBinItems[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function get() {
|
|
46
|
-
return _TrashBinItems[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
1
|
+
export * from "./Search";
|
|
2
|
+
export * from "./SelectedItems";
|
|
3
|
+
export * from "./Search";
|
|
4
|
+
export * from "./Sorting";
|
|
5
|
+
export * from "./TrashBinItems";
|
|
50
6
|
|
|
51
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Search\";\nexport * from \"./SelectedItems\";\nexport * from \"./Search\";\nexport * from \"./Sorting\";\nexport * from \"./TrashBinItems\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
package/Domain/index.js
CHANGED
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _Models = require("./Models");
|
|
7
|
-
Object.keys(_Models).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _Models[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _Models[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _Repositories = require("./Repositories");
|
|
18
|
-
Object.keys(_Repositories).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _Repositories[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function get() {
|
|
24
|
-
return _Repositories[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
1
|
+
export * from "./Models";
|
|
2
|
+
export * from "./Repositories";
|
|
28
3
|
|
|
29
4
|
//# sourceMappingURL=index.js.map
|
package/Domain/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Models\";\nexport * from \"./Repositories\";\n"],"mappings":"AAAA;AACA","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TrashBinBulkActionsGatewayParams, TrashBinBulkActionsResponse } from "../../types";
|
|
1
|
+
import type { TrashBinBulkActionsGatewayParams, TrashBinBulkActionsResponse } from "../../types";
|
|
2
2
|
export interface ITrashBinBulkActionsGateway {
|
|
3
3
|
execute: (params: TrashBinBulkActionsGatewayParams) => Promise<TrashBinBulkActionsResponse>;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["ITrashBinBulkActionsGateway.ts"],"sourcesContent":["import { TrashBinBulkActionsGatewayParams, TrashBinBulkActionsResponse } from \"~/types\";\n\nexport interface ITrashBinBulkActionsGateway {\n execute: (params: TrashBinBulkActionsGatewayParams) => Promise<TrashBinBulkActionsResponse>;\n}\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sources":["ITrashBinBulkActionsGateway.ts"],"sourcesContent":["import type { TrashBinBulkActionsGatewayParams, TrashBinBulkActionsResponse } from \"~/types\";\n\nexport interface ITrashBinBulkActionsGateway {\n execute: (params: TrashBinBulkActionsGatewayParams) => Promise<TrashBinBulkActionsResponse>;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _ITrashBinBulkActionsGateway = require("./ITrashBinBulkActionsGateway");
|
|
7
|
-
Object.keys(_ITrashBinBulkActionsGateway).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _ITrashBinBulkActionsGateway[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _ITrashBinBulkActionsGateway[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./ITrashBinBulkActionsGateway";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./ITrashBinBulkActionsGateway\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _ITrashBinDeleteItemGateway = require("./ITrashBinDeleteItemGateway");
|
|
7
|
-
Object.keys(_ITrashBinDeleteItemGateway).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _ITrashBinDeleteItemGateway[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _ITrashBinDeleteItemGateway[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./ITrashBinDeleteItemGateway";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./ITrashBinDeleteItemGateway\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TrashBinListQueryVariables, TrashBinMetaResponse } from "../../types";
|
|
1
|
+
import type { TrashBinListQueryVariables, TrashBinMetaResponse } from "../../types";
|
|
2
2
|
export interface ITrashBinListGateway<TItem> {
|
|
3
3
|
execute: (params: TrashBinListQueryVariables) => Promise<[TItem[], TrashBinMetaResponse]>;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["ITrashBinListGateway.ts"],"sourcesContent":["import { TrashBinListQueryVariables, TrashBinMetaResponse } from \"~/types\";\n\nexport interface ITrashBinListGateway<TItem> {\n execute: (params: TrashBinListQueryVariables) => Promise<[TItem[], TrashBinMetaResponse]>;\n}\n"],"mappings":"","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":[],"sources":["ITrashBinListGateway.ts"],"sourcesContent":["import type { TrashBinListQueryVariables, TrashBinMetaResponse } from \"~/types\";\n\nexport interface ITrashBinListGateway<TItem> {\n execute: (params: TrashBinListQueryVariables) => Promise<[TItem[], TrashBinMetaResponse]>;\n}\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _ITrashBinListGateway = require("./ITrashBinListGateway");
|
|
7
|
-
Object.keys(_ITrashBinListGateway).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _ITrashBinListGateway[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _ITrashBinListGateway[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./ITrashBinListGateway";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./ITrashBinListGateway\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _ITrashBinRestoreItemGateway = require("./ITrashBinRestoreItemGateway");
|
|
7
|
-
Object.keys(_ITrashBinRestoreItemGateway).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _ITrashBinRestoreItemGateway[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _ITrashBinRestoreItemGateway[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./ITrashBinRestoreItemGateway";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./ITrashBinRestoreItemGateway\";\n"],"mappings":"AAAA","ignoreList":[]}
|
package/Gateways/index.js
CHANGED
|
@@ -1,51 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
});
|
|
6
|
-
var _TrashBinBulkActions = require("./TrashBinBulkActions");
|
|
7
|
-
Object.keys(_TrashBinBulkActions).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _TrashBinBulkActions[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _TrashBinBulkActions[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _TrashBinDeleteItem = require("./TrashBinDeleteItem");
|
|
18
|
-
Object.keys(_TrashBinDeleteItem).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _TrashBinDeleteItem[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function get() {
|
|
24
|
-
return _TrashBinDeleteItem[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _TrashBinListItems = require("./TrashBinListItems");
|
|
29
|
-
Object.keys(_TrashBinListItems).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _TrashBinListItems[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function get() {
|
|
35
|
-
return _TrashBinListItems[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
var _TrashBinRestoreItem = require("./TrashBinRestoreItem");
|
|
40
|
-
Object.keys(_TrashBinRestoreItem).forEach(function (key) {
|
|
41
|
-
if (key === "default" || key === "__esModule") return;
|
|
42
|
-
if (key in exports && exports[key] === _TrashBinRestoreItem[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function get() {
|
|
46
|
-
return _TrashBinRestoreItem[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
1
|
+
export * from "./TrashBinBulkActions";
|
|
2
|
+
export * from "./TrashBinDeleteItem";
|
|
3
|
+
export * from "./TrashBinListItems";
|
|
4
|
+
export * from "./TrashBinRestoreItem";
|
|
50
5
|
|
|
51
6
|
//# sourceMappingURL=index.js.map
|
package/Gateways/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./TrashBinBulkActions\";\nexport * from \"./TrashBinDeleteItem\";\nexport * from \"./TrashBinListItems\";\nexport * from \"./TrashBinRestoreItem\";\n"],"mappings":"AAAA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Sorting } from "@webiny/app-utils";
|
|
3
|
-
import { ITrashBinItemMapper, TrashBinItemDTO } from "../../Domain";
|
|
4
|
-
import { ITrashBinBulkActionsGateway, ITrashBinDeleteItemGateway, ITrashBinListGateway, ITrashBinRestoreItemGateway } from "../../Gateways";
|
|
2
|
+
import type { Sorting } from "@webiny/app-utils";
|
|
3
|
+
import type { ITrashBinItemMapper, TrashBinItemDTO } from "../../Domain";
|
|
4
|
+
import type { ITrashBinBulkActionsGateway, ITrashBinDeleteItemGateway, ITrashBinListGateway, ITrashBinRestoreItemGateway } from "../../Gateways";
|
|
5
5
|
export interface TrashBinProps {
|
|
6
6
|
listGateway: ITrashBinListGateway<any>;
|
|
7
7
|
deleteGateway: ITrashBinDeleteItemGateway;
|