// Stub per compatibilità con il nuovo sistema Album.
// Tutta la logica legacy basata su StoredAlbumFilter, DynamicAlbumFilter,
// AlbumGroupFilter, vaults, covers, chip actions, ecc. è stata rimossa.

import 'package:aves/model/filters/filters.dart';
import 'package:aves/widgets/filter_grids/common/action_delegates/chip_set.dart';
import 'package:aves_model/aves_model.dart';

class AlbumChipSetActionDelegate extends ChipSetActionDelegate<CollectionFilter> {
  final Iterable<FilterGridItem<CollectionFilter>> _items;

  ChipSortFactor _sortFactor = ChipSortFactor.name;
  bool _sortReverse = false;
  TileLayout _tileLayout = TileLayout.grid;

  AlbumChipSetActionDelegate(this._items);

  @override
  Iterable<FilterGridItem<CollectionFilter>> get allItems => _items;

  @override
  ChipSortFactor get sortFactor => _sortFactor;

  @override
  set sortFactor(ChipSortFactor factor) {
    _sortFactor = factor;
  }

  @override
  bool get sortReverse => _sortReverse;

  @override
  set sortReverse(bool value) {
    _sortReverse = value;
  }

  @override
  TileLayout get tileLayout => _tileLayout;

  @override
  set tileLayout(TileLayout layout) {
    _tileLayout = layout;
  }

  @override
  void onActionSelected(_, __) {}

  @override
  Future<void> configureView(_) async {}

  @override
  Set<CollectionFilter> getSelectedFilters(_) => const {};
}
