use cosmic::{ iced::{alignment::Vertical, Background, Border, Length}, iced_core::widget::tree, iced_widget::{column, row as rowm, text as textm}, theme, widget::{ container, horizontal_space, icon, mouse_area, responsive, row, scrollable, text, Container, DndSource, Space, Widget, }, Element, Task, }; use miette::{miette, Result}; use tracing::debug; use crate::core::{ content::Content, images::Image, model::{get_db, LibraryKind, Model}, presentations::Presentation, service_items::ServiceItem, songs::Song, videos::Video, }; #[derive(Debug, Clone)] pub(crate) struct Library { song_library: Model, image_library: Model, video_library: Model