Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
The NewDocumentComponent
allows you to create new documents using the FrameViewer.
Install the dependencies from npm
View the NewDocumentComponent integrated inside a dashboard here
Properties | Description |
---|---|
type
The document type
documentJson
The document object, it is empty ({}) for new
createDocument
A function that acts as a callback when the submit
button is clicked
frames
The database Class Frame, or object of all class frames
closeButtonClick
A function that acts as a callback when the panel exit x
button is clicked
SearchComponent
A react component used as search component
The ViewDocumentComponent
allows you to view existing documents using the FrameViewer component.
Install the dependencies from npm
View the ViewDocumentComponent integrated inside a dashboard here
The DocumentClassesSummary
component allows you to visualize document classes using interactive cards.
Install the dependencies from npm
View the DocumentClassesSummary integrated inside a dashboard here
The DocumentsGraphqlTable
component allows you to use GraphQL queries and visualize the results in a the TDBReactTable, you need to pass your instace of ApolloClient, the GraphQL query and the table and advanced search configuration. Read here for the configuration documentation.
Install the dependencies from npm
View the DocumentsGraphqlTable component integrated inside a dashboard here
The EditDocumentComponent
allows you to edit an existing document using the FrameViewer component.
Install the dependencies from npm
View the EditDocumentComponent component integrated inside a dashboard here
The ListDocumentsComponent
element allows you to visualize the documents inside the TDBReactTable and query the documents using the advanced search component.
Install the dependencies from npm
View the ListDocumentsComponent integrated inside a dashboard here
Properties | Description |
---|---|
Properties | Description |
---|---|
Properties | Description |
---|---|
Properties | Description |
---|---|
Properties | Description |
---|---|
type
The document type
documentID
The document ID
documentJson
The document object
frames
The database Class Frame, or object of all class frames
closeButtonClick
A function that acts as a callback when the panel exit x
button is clicked
deleteDocument
A function that acts as a callback when the delete button is clicked
editDocument
A function that acts as a callback when the edit button is clicked
getDocumentById
A function that acts as a callback when the a link property (a link to another document) is clicked inside the document interface
totalDocumentCount
The total number of documents
perDocumentCount
The number of documents for a type
onDocumentClick
A function that acts as a callback when the document class card is clicked
type
The document type
gqlQuery
The GraphQL query
apolloClient
An apollo client instance - Apollo Client documentation
tableConfig
An object with the table configuration to pass to the TDBReactTable Component
advancedSearchConfig
An object with the advancedSearch configuration to pass to the AdvancedSearch Component
onRowClick
A function that acts as a callback when the table row is clicked
onViewButtonClick
A function that acts as a callback when the table row view button is clicked
onEditButtonClick
A function that acts as a callback when the table row edit button is clicked
onDeleteButtonClick
A function that acts as a callback when the table row delete button is clicked
showGraphqlTab
A boolean property to enable the GraphQL query view tab
type
The document type
documentJson
The document object
documentID
The document ID
frames
The database Class Frame, or object of all class frames
closeButtonClick
A function that acts as a callback when the panel exit x
button is clicked
updateDocument
A function that acts as a callback when the submit
button is clicked
SearchComponent
A react component used as search component
type
The document type
gqlQuery
The graphql query
apolloClient
An apollo client instance - documentation
tableConfig
An object with the table configuration to pass to the TDBReactTable Component
advancedSearchConfig
An object with the advancedSearch configuration to pass to the Advanced Search Component
onRowClick
A function that acts as a callback when the table row is clicked
onViewButtonClick
A function that acts as a callback when the table row view button is clicked
onEditButtonClick
A function that acts as a callback when the table row edit button is clicked
onDeleteButtonClick
A function that acts as a callback when the table row delete button is clicked
onCreateButtonClick
A function that acts as a callback when the create button is clicked
showGraphqlTab
A boolean property that enables the GraphQL query view tab