@furo/data-ui
v1.13.12
Published
Visual furo-data compatible components
Downloads
84
Readme
@furo/data-ui
UI elements for furo data
What is inside
Elements
- furo-data-context-menu a context menu
- furo-data-table type based data table
- furo-data-table-toggle helper for furo-data-table
- furo-data-hide-content hide content container with boolean fields
- furo-type-renderer display component to render fields according of the type
Required specs
The ./spec folder contains the signatures which you need or must fulfill to work with some components of this package
standalone usage
If you just want to use the types with the data-objects and doing the server communication by your own or you just import some json files, you can add the types and services to your application by doing the following:
// first import the spec (scr/configs/init.js is a good place)
import Menuspec from '@furo/data-ui/specs/menu/menuitem.type.spec.js'
// then add / register the type
Init.addApiTypeSpec("menu.Menu", Menuspec)
usage with @furo/specs
If you work with spec projects, import the specs dir in your furo.spec.conf.json
.
{
"import_spec_dirs": [
"node_modules/@furo/spec-basetypes",
"node_modules/@furo/data-ui/specs"
]
}
If want to make some changes, just use this specs as a reference for the type signature.