@furo/data #
@furo/data v2.18.0 Furo data components
These are probably the most important components of the furo web components.
The components builds the bridge from the ui implementations to the data sources by respecting the specs.
The agents in this module are responsible to communicate directly with the specified sources and will feed the data object with the needed data. furo-api-fetch, which is also used by the agents, can fetch any data from any sources and do the error and success “handling”.
flowchart LR I1(Input Component) -. data binding --- DO(Data Object); I2(Custom Component) -. data binding --- DO(Data Object); DO -- set data --> A(Entity Agent); A -- updates --> DO; A <-- fetch / update --> API[(Rest API)]; SB(Save Button) -- triggers --> A LB(Load Button) -- triggers --> A
Shematic flow
Installation #
npm:
|
|
What is inside #
Components #
- furo-api-fetch fetch data from network
- furo-collection-agent interface component to handle collection requests
- furo-custom-method interface component to handle custom methods
- furo-data-flow-repeat automatic display of repeated fields
- furo-data-hide-content hide content with a boolean fieldnode
- furo-data-object Typed data object
- furo-deep-link Resolve deep links HATEOAS based on query params
- furo-entity-agent interface component to handle entity requests
- furo-entity-field interact with single field of a data object
- furo-hateoas-state disables or hide nodes based on hts
- furo-message-container-handler furo.MessageContainer handler
- furo-rel-exists checks for a specific rel
- furo-reverse-deep-link create query param object from HATEOAS
- furo-type-renderer dynamic type rendering