@triptyk/ember-export-menu
v0.0.39
Published
This addon will give you a wasm export menu in TailwindCSS with Ember
Downloads
134
Readme
tpk-ember-export-menu
This addon will give you a menu in tailwindCSS. This menu ease the export as csv throught frontend thanks to checkboxes letting you toggling fields and a rust software turning an array in a CSV.
Compatibility
TODO
Installation
ember install @triptyk/ember-export-menu
OR
pnpm add -D @triptyk/ember-export-menu
Usage
Arguments
Integration example
<Ui::ExportMenu @entities={{
(hash user=(hash
fields=(array "username")
relations=(array "articles")
))
}} as |components|>
<components.Select as |S|>
<S.Button as |selected|>
{{selected}}
</S.Button>
<S.Options as |Options|>
<Options as |option|>
{{option.option}}
</Options>
</S.Options>
</components.Select>
<components.OptionalList />
<components.ExportButton />
</Ui::ExportMenu>
Controller .ts/.js
@tracked value = '';
@action
setValue(value: string | number) {
this.value = value;
}
Contributing
See the Contributing guide for details. You can also contact info@triptyk for more informations on how contributing on this project.
License
This project is licensed under the MIT License.