@webiny/app-trash-bin 5.43.2-beta.0 → 6.0.0-alpha.0
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.js +1 -5
- 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.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.js +1 -5
- 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 +1 -1
- 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.js +1 -5
- package/Domain/Repositories/TrashBinItems/TrashBinItemMapper.js +16 -31
- package/Domain/Repositories/TrashBinItems/TrashBinItemMapper.js.map +1 -1
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepository.js +87 -130
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepository.js.map +1 -1
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepositoryFactory.js +14 -32
- package/Domain/Repositories/TrashBinItems/TrashBinItemsRepositoryFactory.js.map +1 -1
- 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.js +1 -5
- 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.js +1 -5
- 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.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.js +60 -94
- package/Presentation/TrashBin/TrashBinControllers.js.map +1 -1
- package/Presentation/TrashBin/TrashBinPresenter.js +49 -77
- package/Presentation/TrashBin/TrashBinPresenter.js.map +1 -1
- 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.js +1 -5
- 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.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.js +10 -23
- package/Presentation/TrashBin/controllers/GetRestoredItemById/GetRestoredItemByIdController.js.map +1 -1
- package/Presentation/TrashBin/controllers/GetRestoredItemById/IGetRestoredItemByIdController.js +1 -5
- 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.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.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.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.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.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.js +1 -5
- 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.js +1 -5
- 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.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.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.js +1 -5
- package/Presentation/abstractions/ITrashBinPresenter.js +1 -5
- 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 +17 -20
- 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 -14
- 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 -14
- 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 +11 -15
- 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 +20 -17
- 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 +14 -24
- 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.js +36 -47
- package/Presentation/configs/list/Browser/BulkAction.js.map +1 -1
- package/Presentation/configs/list/Browser/EntryAction.js +11 -21
- package/Presentation/configs/list/Browser/EntryAction.js.map +1 -1
- package/Presentation/configs/list/Browser/Table/Column.d.ts +1 -1
- package/Presentation/configs/list/Browser/Table/Column.js +9 -19
- package/Presentation/configs/list/Browser/Table/Column.js.map +1 -1
- package/Presentation/configs/list/Browser/Table/Sorting.js +8 -18
- package/Presentation/configs/list/Browser/Table/Sorting.js.map +1 -1
- package/Presentation/configs/list/Browser/Table/index.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.js +27 -32
- package/Presentation/hooks/useDeleteTrashBinItem.js.map +1 -1
- package/Presentation/hooks/useRestoreTrashBinItem.js +36 -43
- package/Presentation/hooks/useRestoreTrashBinItem.js.map +1 -1
- package/Presentation/hooks/useTrashBin.d.ts +1 -1
- package/Presentation/hooks/useTrashBin.js +41 -77
- package/Presentation/hooks/useTrashBin.js.map +1 -1
- package/Presentation/hooks/useTrashBinItem.js +7 -12
- package/Presentation/hooks/useTrashBinItem.js.map +1 -1
- package/Presentation/index.js +21 -48
- package/Presentation/index.js.map +1 -1
- package/UseCases/BulkAction/BulkActionUseCase.js +8 -21
- package/UseCases/BulkAction/BulkActionUseCase.js.map +1 -1
- package/UseCases/BulkAction/IBulkActionUseCase.js +1 -5
- package/UseCases/BulkAction/index.js +2 -27
- package/UseCases/BulkAction/index.js.map +1 -1
- 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.js +9 -24
- package/UseCases/GetRestoredItem/GetRestoredItemUseCase.js.map +1 -1
- package/UseCases/GetRestoredItem/IGetRestoredItemUseCase.js +1 -5
- package/UseCases/GetRestoredItem/index.js +2 -27
- package/UseCases/GetRestoredItem/index.js.map +1 -1
- package/UseCases/ListItems/IListItemsUseCase.js +1 -5
- package/UseCases/ListItems/ListItemsUseCase.js +10 -22
- package/UseCases/ListItems/ListItemsUseCase.js.map +1 -1
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.js +12 -25
- package/UseCases/ListItems/ListItemsUseCaseWithSearch.js.map +1 -1
- 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.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.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.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.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.js +1 -5
- 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.js +1 -5
- 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.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 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","TrashBinListConfig","CellDeletedBy","useTableRow","Browser","Table","Column","row","createElement","Fragment","deletedBy","displayName"],"sources":["CellDeletedBy.tsx"],"sourcesContent":["import React from \"react\";\nimport { TrashBinListConfig } from \"~/Presentation/configs\";\n\nexport const CellDeletedBy = () => {\n const { useTableRow } = TrashBinListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return <>{row.deletedBy.displayName}</>;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB;AAE3B,OAAO,MAAMC,aAAa,GAAGA,CAAA,KAAM;EAC/B,MAAM;IAAEC;EAAY,CAAC,GAAGF,kBAAkB,CAACG,OAAO,CAACC,KAAK,CAACC,MAAM;EAC/D,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBAAOH,KAAA,CAAAQ,aAAA,CAAAR,KAAA,CAAAS,QAAA,QAAGF,GAAG,CAACG,SAAS,CAACC,WAAc,CAAC;AAC3C,CAAC","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _CellDeletedBy = require("./CellDeletedBy");
|
|
7
|
-
Object.keys(_CellDeletedBy).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _CellDeletedBy[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _CellDeletedBy[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./CellDeletedBy";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellDeletedBy\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var useTableRow = _configs.TrashBinListConfig.Browser.Table.Column.useTableRow;
|
|
13
|
-
var _useTableRow = useTableRow(),
|
|
14
|
-
row = _useTableRow.row;
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement(_TimeAgo.TimeAgo, {
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TimeAgo } from "@webiny/ui/TimeAgo";
|
|
3
|
+
import { TrashBinListConfig } from "../../../configs";
|
|
4
|
+
export const CellDeletedOn = () => {
|
|
5
|
+
const {
|
|
6
|
+
useTableRow
|
|
7
|
+
} = TrashBinListConfig.Browser.Table.Column;
|
|
8
|
+
const {
|
|
9
|
+
row
|
|
10
|
+
} = useTableRow();
|
|
11
|
+
return /*#__PURE__*/React.createElement(TimeAgo, {
|
|
16
12
|
datetime: row.deletedOn
|
|
17
13
|
});
|
|
18
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","TimeAgo","TrashBinListConfig","CellDeletedOn","useTableRow","Browser","Table","Column","row","createElement","datetime","deletedOn"],"sources":["CellDeletedOn.tsx"],"sourcesContent":["import React from \"react\";\nimport { TimeAgo } from \"@webiny/ui/TimeAgo\";\nimport { TrashBinListConfig } from \"~/Presentation/configs\";\n\nexport const CellDeletedOn = () => {\n const { useTableRow } = TrashBinListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return <TimeAgo datetime={row.deletedOn} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,QAAQ,oBAAoB;AAC5C,SAASC,kBAAkB;AAE3B,OAAO,MAAMC,aAAa,GAAGA,CAAA,KAAM;EAC/B,MAAM;IAAEC;EAAY,CAAC,GAAGF,kBAAkB,CAACG,OAAO,CAACC,KAAK,CAACC,MAAM;EAC/D,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBAAOJ,KAAA,CAAAS,aAAA,CAACR,OAAO;IAACS,QAAQ,EAAEF,GAAG,CAACG;EAAU,CAAE,CAAC;AAC/C,CAAC","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _CellDeletedOn = require("./CellDeletedOn");
|
|
7
|
-
Object.keys(_CellDeletedOn).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _CellDeletedOn[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _CellDeletedOn[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./CellDeletedOn";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellDeletedOn\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReactComponent as File } from "@webiny/icons/description.svg";
|
|
3
|
+
import { TrashBinListConfig } from "../../../configs";
|
|
4
|
+
import { Icon, Text } from "@webiny/admin-ui";
|
|
5
|
+
export const CellTitle = () => {
|
|
6
|
+
const {
|
|
7
|
+
useTableRow
|
|
8
|
+
} = TrashBinListConfig.Browser.Table.Column;
|
|
9
|
+
const {
|
|
10
|
+
row
|
|
11
|
+
} = useTableRow();
|
|
12
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
13
|
+
className: "wby-flex wby-items-center wby-gap-sm wby-truncate"
|
|
14
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
15
|
+
size: "sm",
|
|
16
|
+
color: "neutral-strong",
|
|
17
|
+
icon: /*#__PURE__*/React.createElement(File, null),
|
|
18
|
+
label: "Item"
|
|
19
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
20
|
+
className: "wby-truncate wby-min-w-0 wby-flex-shrink"
|
|
18
21
|
}, row.title));
|
|
19
22
|
};
|
|
20
23
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","ReactComponent","File","TrashBinListConfig","Icon","Text","CellTitle","useTableRow","Browser","Table","Column","row","createElement","className","size","color","icon","label","title"],"sources":["CellTitle.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as File } from \"@webiny/icons/description.svg\";\nimport { TrashBinListConfig } from \"~/Presentation/configs\";\nimport { Icon, Text } from \"@webiny/admin-ui\";\n\nexport const CellTitle = () => {\n const { useTableRow } = TrashBinListConfig.Browser.Table.Column;\n const { row } = useTableRow();\n\n return (\n <div className={\"wby-flex wby-items-center wby-gap-sm wby-truncate\"}>\n <Icon size={\"sm\"} color={\"neutral-strong\"} icon={<File />} label={\"Item\"} />\n <Text className={\"wby-truncate wby-min-w-0 wby-flex-shrink\"}>{row.title}</Text>\n </div>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,IAAI,QAAQ,+BAA+B;AACtE,SAASC,kBAAkB;AAC3B,SAASC,IAAI,EAAEC,IAAI,QAAQ,kBAAkB;AAE7C,OAAO,MAAMC,SAAS,GAAGA,CAAA,KAAM;EAC3B,MAAM;IAAEC;EAAY,CAAC,GAAGJ,kBAAkB,CAACK,OAAO,CAACC,KAAK,CAACC,MAAM;EAC/D,MAAM;IAAEC;EAAI,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAE7B,oBACIP,KAAA,CAAAY,aAAA;IAAKC,SAAS,EAAE;EAAoD,gBAChEb,KAAA,CAAAY,aAAA,CAACR,IAAI;IAACU,IAAI,EAAE,IAAK;IAACC,KAAK,EAAE,gBAAiB;IAACC,IAAI,eAAEhB,KAAA,CAAAY,aAAA,CAACV,IAAI,MAAE,CAAE;IAACe,KAAK,EAAE;EAAO,CAAE,CAAC,eAC5EjB,KAAA,CAAAY,aAAA,CAACP,IAAI;IAACQ,SAAS,EAAE;EAA2C,GAAEF,GAAG,CAACO,KAAY,CAC7E,CAAC;AAEd,CAAC","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _CellTitle = require("./CellTitle");
|
|
7
|
-
Object.keys(_CellTitle).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _CellTitle[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _CellTitle[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./CellTitle";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellTitle\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,62 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _CellActions = require("./CellActions");
|
|
7
|
-
Object.keys(_CellActions).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _CellActions[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _CellActions[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
var _CellCreatedBy = require("./CellCreatedBy");
|
|
18
|
-
Object.keys(_CellCreatedBy).forEach(function (key) {
|
|
19
|
-
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _CellCreatedBy[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function get() {
|
|
24
|
-
return _CellCreatedBy[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _CellDeletedBy = require("./CellDeletedBy");
|
|
29
|
-
Object.keys(_CellDeletedBy).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _CellDeletedBy[key]) return;
|
|
32
|
-
Object.defineProperty(exports, key, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function get() {
|
|
35
|
-
return _CellDeletedBy[key];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
var _CellDeletedOn = require("./CellDeletedOn");
|
|
40
|
-
Object.keys(_CellDeletedOn).forEach(function (key) {
|
|
41
|
-
if (key === "default" || key === "__esModule") return;
|
|
42
|
-
if (key in exports && exports[key] === _CellDeletedOn[key]) return;
|
|
43
|
-
Object.defineProperty(exports, key, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function get() {
|
|
46
|
-
return _CellDeletedOn[key];
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
var _CellTitle = require("./CellTitle");
|
|
51
|
-
Object.keys(_CellTitle).forEach(function (key) {
|
|
52
|
-
if (key === "default" || key === "__esModule") return;
|
|
53
|
-
if (key in exports && exports[key] === _CellTitle[key]) return;
|
|
54
|
-
Object.defineProperty(exports, key, {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function get() {
|
|
57
|
-
return _CellTitle[key];
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
});
|
|
1
|
+
export * from "./CellActions";
|
|
2
|
+
export * from "./CellCreatedBy";
|
|
3
|
+
export * from "./CellDeletedBy";
|
|
4
|
+
export * from "./CellDeletedOn";
|
|
5
|
+
export * from "./CellTitle";
|
|
61
6
|
|
|
62
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./CellActions\";\nexport * from \"./CellCreatedBy\";\nexport * from \"./CellDeletedBy\";\nexport * from \"./CellDeletedOn\";\nexport * from \"./CellTitle\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA","ignoreList":[]}
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
vm = _useTrashBin.vm;
|
|
17
|
-
return /*#__PURE__*/_react.default.createElement(_Empty.EmptyWrapper, null, /*#__PURE__*/_react.default.createElement(_Empty.EmptyOuter, null, vm.isSearchView ? /*#__PURE__*/_react.default.createElement(_EmptyView.default, {
|
|
18
|
-
icon: /*#__PURE__*/_react.default.createElement(_search.ReactComponent, null),
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReactComponent as SearchIcon } from "@webiny/icons/search.svg";
|
|
3
|
+
import { ReactComponent as TrashIcon } from "@webiny/icons/delete_forever.svg";
|
|
4
|
+
import EmptyView from "@webiny/app-admin/components/EmptyView";
|
|
5
|
+
import { useTrashBin } from "../../hooks";
|
|
6
|
+
export const Empty = () => {
|
|
7
|
+
const {
|
|
8
|
+
vm
|
|
9
|
+
} = useTrashBin();
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
className: "wby-flex wby-items-center wby-justify-center wby-w-full wby-h-full"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
13
|
+
className: "wby-flex wby-items-center wby-flex-cols"
|
|
14
|
+
}, vm.isSearchView ? /*#__PURE__*/React.createElement(EmptyView, {
|
|
15
|
+
icon: /*#__PURE__*/React.createElement(SearchIcon, null),
|
|
19
16
|
title: "No items found.",
|
|
20
17
|
action: null
|
|
21
|
-
}) : /*#__PURE__*/
|
|
22
|
-
icon: /*#__PURE__*/
|
|
23
|
-
title:
|
|
18
|
+
}) : /*#__PURE__*/React.createElement(EmptyView, {
|
|
19
|
+
icon: /*#__PURE__*/React.createElement(TrashIcon, null),
|
|
20
|
+
title: `Nothing found in the trash: items left in the trash are automatically deleted after ${vm.retentionPeriod}.`,
|
|
24
21
|
action: null
|
|
25
22
|
})));
|
|
26
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","ReactComponent","SearchIcon","TrashIcon","EmptyView","useTrashBin","Empty","vm","createElement","className","isSearchView","icon","title","action","retentionPeriod"],"sources":["Empty.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as SearchIcon } from \"@webiny/icons/search.svg\";\nimport { ReactComponent as TrashIcon } from \"@webiny/icons/delete_forever.svg\";\nimport EmptyView from \"@webiny/app-admin/components/EmptyView\";\nimport { useTrashBin } from \"~/Presentation/hooks\";\n\nexport const Empty = () => {\n const { vm } = useTrashBin();\n\n return (\n <div className={\"wby-flex wby-items-center wby-justify-center wby-w-full wby-h-full\"}>\n <div className={\"wby-flex wby-items-center wby-flex-cols\"}>\n {vm.isSearchView ? (\n <EmptyView icon={<SearchIcon />} title={\"No items found.\"} action={null} />\n ) : (\n <EmptyView\n icon={<TrashIcon />}\n title={`Nothing found in the trash: items left in the trash are automatically deleted after ${vm.retentionPeriod}.`}\n action={null}\n />\n )}\n </div>\n </div>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,UAAU,QAAQ,0BAA0B;AACvE,SAASD,cAAc,IAAIE,SAAS,QAAQ,kCAAkC;AAC9E,OAAOC,SAAS,MAAM,wCAAwC;AAC9D,SAASC,WAAW;AAEpB,OAAO,MAAMC,KAAK,GAAGA,CAAA,KAAM;EACvB,MAAM;IAAEC;EAAG,CAAC,GAAGF,WAAW,CAAC,CAAC;EAE5B,oBACIL,KAAA,CAAAQ,aAAA;IAAKC,SAAS,EAAE;EAAqE,gBACjFT,KAAA,CAAAQ,aAAA;IAAKC,SAAS,EAAE;EAA0C,GACrDF,EAAE,CAACG,YAAY,gBACZV,KAAA,CAAAQ,aAAA,CAACJ,SAAS;IAACO,IAAI,eAAEX,KAAA,CAAAQ,aAAA,CAACN,UAAU,MAAE,CAAE;IAACU,KAAK,EAAE,iBAAkB;IAACC,MAAM,EAAE;EAAK,CAAE,CAAC,gBAE3Eb,KAAA,CAAAQ,aAAA,CAACJ,SAAS;IACNO,IAAI,eAAEX,KAAA,CAAAQ,aAAA,CAACL,SAAS,MAAE,CAAE;IACpBS,KAAK,EAAE,uFAAuFL,EAAE,CAACO,eAAe,GAAI;IACpHD,MAAM,EAAE;EAAK,CAChB,CAEJ,CACJ,CAAC;AAEd,CAAC","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _Empty = require("./Empty");
|
|
7
|
-
Object.keys(_Empty).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _Empty[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _Empty[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./Empty";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Empty\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,41 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var _SearchInput = require("./SearchInput.styled");
|
|
12
|
-
var _hooks = require("../../hooks");
|
|
13
|
-
var SearchInput = exports.SearchInput = function SearchInput() {
|
|
14
|
-
var _useTrashBin = (0, _hooks.useTrashBin)(),
|
|
15
|
-
vm = _useTrashBin.vm,
|
|
16
|
-
searchItems = _useTrashBin.searchItems;
|
|
17
|
-
return /*#__PURE__*/_react.default.createElement(_SearchInput.InputContainer, null, /*#__PURE__*/_react.default.createElement(_SearchInput.SearchIconContainer, {
|
|
18
|
-
icon: /*#__PURE__*/_react.default.createElement(_search.ReactComponent, null)
|
|
19
|
-
}), /*#__PURE__*/_react.default.createElement(_DelayedOnChange.DelayedOnChange, {
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReactComponent as SearchIcon } from "@webiny/icons/search.svg";
|
|
3
|
+
import { DelayedOnChange, Icon, Input } from "@webiny/admin-ui";
|
|
4
|
+
import { useTrashBin } from "../../hooks";
|
|
5
|
+
export const SearchInput = () => {
|
|
6
|
+
const {
|
|
7
|
+
vm,
|
|
8
|
+
searchItems
|
|
9
|
+
} = useTrashBin();
|
|
10
|
+
return /*#__PURE__*/React.createElement(DelayedOnChange, {
|
|
20
11
|
value: vm.searchQuery,
|
|
21
|
-
onChange:
|
|
12
|
+
onChange: value => {
|
|
22
13
|
if (value === vm.searchQuery) {
|
|
23
14
|
return;
|
|
24
15
|
}
|
|
25
16
|
searchItems(value);
|
|
26
17
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
18
|
+
}, ({
|
|
19
|
+
value,
|
|
20
|
+
onChange
|
|
21
|
+
}) => /*#__PURE__*/React.createElement(Input, {
|
|
22
|
+
id: "trash-bin__search-input",
|
|
23
|
+
value: value,
|
|
24
|
+
onChange: e => onChange(e.target.value),
|
|
25
|
+
forwardEventOnChange: true,
|
|
26
|
+
placeholder: vm.searchLabel,
|
|
27
|
+
"data-testid": "trash-bin.search-input",
|
|
28
|
+
startIcon: /*#__PURE__*/React.createElement(Icon, {
|
|
29
|
+
icon: /*#__PURE__*/React.createElement(SearchIcon, null),
|
|
30
|
+
label: "Search"
|
|
31
|
+
}),
|
|
32
|
+
size: "md",
|
|
33
|
+
variant: "ghost"
|
|
39
34
|
}));
|
|
40
35
|
};
|
|
41
36
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","ReactComponent","SearchIcon","DelayedOnChange","Icon","Input","useTrashBin","SearchInput","vm","searchItems","createElement","value","searchQuery","onChange","id","e","target","forwardEventOnChange","placeholder","searchLabel","startIcon","icon","label","size","variant"],"sources":["SearchInput.tsx"],"sourcesContent":["import React from \"react\";\nimport { ReactComponent as SearchIcon } from \"@webiny/icons/search.svg\";\nimport { DelayedOnChange, Icon, Input } from \"@webiny/admin-ui\";\nimport { useTrashBin } from \"~/Presentation/hooks\";\n\nexport const SearchInput = () => {\n const { vm, searchItems } = useTrashBin();\n\n return (\n <DelayedOnChange\n value={vm.searchQuery}\n onChange={value => {\n if (value === vm.searchQuery) {\n return;\n }\n searchItems(value);\n }}\n >\n {({ value, onChange }) => (\n <Input\n id={\"trash-bin__search-input\"}\n value={value}\n onChange={e => onChange(e.target.value)}\n forwardEventOnChange={true}\n placeholder={vm.searchLabel}\n data-testid={\"trash-bin.search-input\"}\n startIcon={<Icon icon={<SearchIcon />} label=\"Search\" />}\n size={\"md\"}\n variant={\"ghost\"}\n />\n )}\n </DelayedOnChange>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,IAAIC,UAAU,QAAQ,0BAA0B;AACvE,SAASC,eAAe,EAAEC,IAAI,EAAEC,KAAK,QAAQ,kBAAkB;AAC/D,SAASC,WAAW;AAEpB,OAAO,MAAMC,WAAW,GAAGA,CAAA,KAAM;EAC7B,MAAM;IAAEC,EAAE;IAAEC;EAAY,CAAC,GAAGH,WAAW,CAAC,CAAC;EAEzC,oBACIN,KAAA,CAAAU,aAAA,CAACP,eAAe;IACZQ,KAAK,EAAEH,EAAE,CAACI,WAAY;IACtBC,QAAQ,EAAEF,KAAK,IAAI;MACf,IAAIA,KAAK,KAAKH,EAAE,CAACI,WAAW,EAAE;QAC1B;MACJ;MACAH,WAAW,CAACE,KAAK,CAAC;IACtB;EAAE,GAED,CAAC;IAAEA,KAAK;IAAEE;EAAS,CAAC,kBACjBb,KAAA,CAAAU,aAAA,CAACL,KAAK;IACFS,EAAE,EAAE,yBAA0B;IAC9BH,KAAK,EAAEA,KAAM;IACbE,QAAQ,EAAEE,CAAC,IAAIF,QAAQ,CAACE,CAAC,CAACC,MAAM,CAACL,KAAK,CAAE;IACxCM,oBAAoB,EAAE,IAAK;IAC3BC,WAAW,EAAEV,EAAE,CAACW,WAAY;IAC5B,eAAa,wBAAyB;IACtCC,SAAS,eAAEpB,KAAA,CAAAU,aAAA,CAACN,IAAI;MAACiB,IAAI,eAAErB,KAAA,CAAAU,aAAA,CAACR,UAAU,MAAE,CAAE;MAACoB,KAAK,EAAC;IAAQ,CAAE,CAAE;IACzDC,IAAI,EAAE,IAAK;IACXC,OAAO,EAAE;EAAQ,CACpB,CAEQ,CAAC;AAE1B,CAAC","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _SearchInput = require("./SearchInput");
|
|
7
|
-
Object.keys(_SearchInput).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _SearchInput[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _SearchInput[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./SearchInput";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./SearchInput\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,29 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var Table = exports.Table = function Table() {
|
|
13
|
-
var _useTrashBin = (0, _hooks.useTrashBin)(),
|
|
14
|
-
vm = _useTrashBin.vm,
|
|
15
|
-
selectItems = _useTrashBin.selectItems,
|
|
16
|
-
sortItems = _useTrashBin.sortItems;
|
|
17
|
-
return /*#__PURE__*/_react.default.createElement(_appAco.Table, {
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Table as AcoTable } from "@webiny/app-aco";
|
|
3
|
+
import { useTrashBin } from "../../hooks";
|
|
4
|
+
import { LoadingActions } from "../../../types";
|
|
5
|
+
export const Table = () => {
|
|
6
|
+
const {
|
|
7
|
+
vm,
|
|
8
|
+
selectItems,
|
|
9
|
+
sortItems
|
|
10
|
+
} = useTrashBin();
|
|
11
|
+
return /*#__PURE__*/React.createElement(AcoTable, {
|
|
18
12
|
data: vm.items,
|
|
19
|
-
loading: vm.loading[
|
|
20
|
-
onSelectRow:
|
|
21
|
-
return selectItems(entries);
|
|
22
|
-
},
|
|
13
|
+
loading: vm.loading[LoadingActions.list],
|
|
14
|
+
onSelectRow: entries => selectItems(entries),
|
|
23
15
|
sorting: vm.sorting,
|
|
24
|
-
onSortingChange:
|
|
25
|
-
return sortItems(sort);
|
|
26
|
-
},
|
|
16
|
+
onSortingChange: sort => sortItems(sort),
|
|
27
17
|
selected: vm.selectedItems,
|
|
28
18
|
nameColumnId: vm.nameColumnId,
|
|
29
19
|
namespace: "trash-bin"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","Table","AcoTable","useTrashBin","LoadingActions","vm","selectItems","sortItems","createElement","data","items","loading","list","onSelectRow","entries","sorting","onSortingChange","sort","selected","selectedItems","nameColumnId","namespace"],"sources":["Table.tsx"],"sourcesContent":["import React from \"react\";\nimport { Table as AcoTable } from \"@webiny/app-aco\";\nimport { useTrashBin } from \"~/Presentation/hooks\";\nimport { TrashBinItemDTO } from \"~/Domain\";\nimport { LoadingActions } from \"~/types\";\n\nexport const Table = () => {\n const { vm, selectItems, sortItems } = useTrashBin();\n\n return (\n <AcoTable<TrashBinItemDTO>\n data={vm.items}\n loading={vm.loading[LoadingActions.list]}\n onSelectRow={entries => selectItems(entries)}\n sorting={vm.sorting}\n onSortingChange={sort => sortItems(sort)}\n selected={vm.selectedItems}\n nameColumnId={vm.nameColumnId}\n namespace={\"trash-bin\"}\n />\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,IAAIC,QAAQ,QAAQ,iBAAiB;AACnD,SAASC,WAAW;AAEpB,SAASC,cAAc;AAEvB,OAAO,MAAMH,KAAK,GAAGA,CAAA,KAAM;EACvB,MAAM;IAAEI,EAAE;IAAEC,WAAW;IAAEC;EAAU,CAAC,GAAGJ,WAAW,CAAC,CAAC;EAEpD,oBACIH,KAAA,CAAAQ,aAAA,CAACN,QAAQ;IACLO,IAAI,EAAEJ,EAAE,CAACK,KAAM;IACfC,OAAO,EAAEN,EAAE,CAACM,OAAO,CAACP,cAAc,CAACQ,IAAI,CAAE;IACzCC,WAAW,EAAEC,OAAO,IAAIR,WAAW,CAACQ,OAAO,CAAE;IAC7CC,OAAO,EAAEV,EAAE,CAACU,OAAQ;IACpBC,eAAe,EAAEC,IAAI,IAAIV,SAAS,CAACU,IAAI,CAAE;IACzCC,QAAQ,EAAEb,EAAE,CAACc,aAAc;IAC3BC,YAAY,EAAEf,EAAE,CAACe,YAAa;IAC9BC,SAAS,EAAE;EAAY,CAC1B,CAAC;AAEV,CAAC","ignoreList":[]}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _Table = require("./Table");
|
|
7
|
-
Object.keys(_Table).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _Table[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _Table[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
1
|
+
export * from "./Table";
|
|
17
2
|
|
|
18
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Table\";\n"],"mappings":"AAAA","ignoreList":[]}
|
|
@@ -1,21 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var title = _ref.title;
|
|
13
|
-
return /*#__PURE__*/_react.default.createElement(_Title.Name, {
|
|
14
|
-
use: "headline6",
|
|
15
|
-
tag: "h1"
|
|
16
|
-
}, title || /*#__PURE__*/_react.default.createElement(_Skeleton.Skeleton, {
|
|
17
|
-
theme: "dark"
|
|
18
|
-
}));
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Skeleton, Heading } from "@webiny/admin-ui";
|
|
3
|
+
export const Title = ({
|
|
4
|
+
title
|
|
5
|
+
}) => {
|
|
6
|
+
return title ? /*#__PURE__*/React.createElement(Heading, {
|
|
7
|
+
level: 5,
|
|
8
|
+
className: "wby-text-neutral-primary"
|
|
9
|
+
}, title) : /*#__PURE__*/React.createElement(Skeleton, {
|
|
10
|
+
size: "md"
|
|
11
|
+
});
|
|
19
12
|
};
|
|
20
13
|
|
|
21
14
|
//# sourceMappingURL=Title.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","Skeleton","Heading","Title","title","createElement","level","className","size"],"sources":["Title.tsx"],"sourcesContent":["import React from \"react\";\nimport { Skeleton, Heading } from \"@webiny/admin-ui\";\n\nexport interface TitleProps {\n title?: string;\n}\n\nexport const Title = ({ title }: TitleProps) => {\n return title ? (\n <Heading level={5} className={\"wby-text-neutral-primary\"}>\n {title}\n </Heading>\n ) : (\n <Skeleton size={\"md\"} />\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,QAAQ,EAAEC,OAAO,QAAQ,kBAAkB;AAMpD,OAAO,MAAMC,KAAK,GAAGA,CAAC;EAAEC;AAAkB,CAAC,KAAK;EAC5C,OAAOA,KAAK,gBACRJ,KAAA,CAAAK,aAAA,CAACH,OAAO;IAACI,KAAK,EAAE,CAAE;IAACC,SAAS,EAAE;EAA2B,GACpDH,KACI,CAAC,gBAEVJ,KAAA,CAAAK,aAAA,CAACJ,QAAQ;IAACO,IAAI,EAAE;EAAK,CAAE,CAC1B;AACL,CAAC","ignoreList":[]}
|