Files
Ely-GPUI-Components/src/misc/mod.rs
T
ZacharyZhang-NY 79fe78cefd Misc · Export and import: export, field mapping and a CSV importer
misc::ExportDialog offers the owner's formats as cards and hands the
chosen one over for the owner to write. misc::ImportDialog maps the
file's columns to the app's fields, matched by name to start, over a
preview, and asks for each required field's column. misc::CsvImporter
reads CSV as RFC 4180, lets the first row name the columns or not, and
maps it through the ImportDialog into records; text that does not read
says why.
2026-09-28 05:20:03 -04:00

38 lines
883 B
Rust

mod calculator;
mod captcha;
mod clock;
mod consent;
mod cookies;
mod csv;
mod export;
mod flashcards;
mod import;
mod licenses;
mod poll;
mod quiz;
mod scanner;
mod stopwatch;
mod survey;
#[cfg(all(test, feature = "test-support"))]
mod tests;
mod units;
mod web;
pub use calculator::Calculator;
pub use captcha::{Captcha, CaptchaState};
pub use clock::{Clock, WorldClock};
pub use consent::ConsentDialog;
pub use cookies::CookieBanner;
pub use csv::{CsvImporter, read_csv};
pub use export::{ExportDialog, ExportFormat};
pub use flashcards::Flashcards;
pub use import::{ImportDialog, ImportField};
pub use licenses::{LicenseViewer, Package};
pub use poll::Poll;
pub use quiz::{Quiz, QuizQuestion};
pub use scanner::QrCodeScanner;
pub use stopwatch::Stopwatch;
pub use survey::{Answer, Question, Survey};
pub use units::UnitConverter;
pub use web::{IframeEmbed, WebSource, WebView};