1.0.59-hotfix33.46 • Published 1 year ago

tocco-docs-browser v1.0.59-hotfix33.46

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Docs Browser

Docs browser with tree structure (tree of domains, folders and resources)

Embedding

React-registry name: docs-browser

Input parameters

NameMandatoryDescription
routerType"routerless": navigation is not reflected in browser history (e.g. Move Action), "inherit": take over routing context from parent (e.g. Admin), "standalone": creates new routing context (e.g. Widget), (default: standalone)
navigationStrategyObject consisting of various link factories. For more information see tocco-util/navigationStrategy documentation.
domainTypesArray of domain types to show
rootNodesArray of root nodes to use instead of the domains (array of objects with entityName and key)
businessUnitThe business unit to display data from
listLimitAmount of records per page in list
getlistFormNameIf set form name is determined by this function which has (parent, keys) as input parameters
documentDetailFormNameName of the document detail form to use (default: "DmsResource")
domainDetailFormNameName of the domain detail form to use (default: "DmsDomain")
folderDetailFormNameName of the folder detail form to use (default: "DmsFolder")
searchFormTypePossible values: none (no search form shown), fulltext (only one fulltext search field), simple (simple search only), simple_advanced (usual (simple) search form with advanced expansion), advanced (extended advanced search form only), admin (full search with search filter, works only in admin for layouting reasons)
selectionStylenone", "multi" or "single". If not defined and form model selectable is true, "multi" is used. Otherwise no selection is possible.
getCustomLocationPass a function to define a custom navigation for a row click event
initialLocationIf set, the docs browser will initially navigate to this location.
disableViewPersistorPer default the docs view is persisted with the view persistor. This property allows to disable using the view persistor
embeddedIf true, the styling is more subtle (E.g. no background color for in the breadcrumbs). Default is false.
showActionsAttribute will be passed along to entity-list.
sortableAttribute will be passed along to entity-list.
noLeftPaddingIf false, a left padding will be applied to the Breadcrumbs. Per default false.
searchFormCollapsedIf true, the admin search form is collapsed and thus not visible by defaultBoolean
backendUrlSet backend url dynamic to point to nice2 installation. If not set it fallbacks to the build time environment BACKEND_URL.
scrollBehaviour"none": Does not handle scroll internally and will take as much space as needed. The container / page needs to handle the scroll. "inline": Does handle scroll internally and takes the space given by the container. Containers needs to have a predefined height (Default: inline)

Events

NamePayloadDescription
onListParentChangenull (= root) or {model: 'User', key: '1'}This event is fired when the parent of the list is changed
onSearchFormCollapsedChangecollapsed boolean. Whether it was opened or closedIs fired when the user click in the arrow in the admin search form to collapse the search form.
onSelectChangeAn array containing the ids of the new selectionThis event is fired when the selection changes
1.0.91

3 years ago

1.0.95

3 years ago

1.0.94

3 years ago

1.0.93

3 years ago

1.0.92

3 years ago

1.0.96

3 years ago

1.0.80

3 years ago

1.0.84

3 years ago

1.0.83

3 years ago

1.0.82

3 years ago

1.0.81

3 years ago

1.0.88

3 years ago

1.0.87

3 years ago

1.0.86

3 years ago

1.0.85

3 years ago

1.0.89

3 years ago

1.0.90

3 years ago

1.0.73

3 years ago

1.0.72

3 years ago

1.0.77

3 years ago

1.0.76

3 years ago

1.0.75

3 years ago

1.0.74

3 years ago

1.0.79

3 years ago

1.0.78

3 years ago

1.0.62

3 years ago

1.0.61

3 years ago

1.0.60

3 years ago

1.0.66

3 years ago

1.0.65

3 years ago

1.0.64

3 years ago

1.0.63

3 years ago

1.0.69

3 years ago

1.0.68

3 years ago

1.0.67

3 years ago

1.0.71

3 years ago

1.0.70

3 years ago

1.0.39

3 years ago

1.0.38

3 years ago

1.0.40

3 years ago

1.0.44

3 years ago

1.0.43

3 years ago

1.0.42

3 years ago

1.0.41

3 years ago

1.0.48

3 years ago

1.0.47

3 years ago

1.0.46

3 years ago

1.0.45

3 years ago

1.0.49

3 years ago

1.0.51

3 years ago

1.0.50

3 years ago

1.0.55

3 years ago

1.0.54

3 years ago

1.0.53

3 years ago

1.0.52

3 years ago

1.0.59

3 years ago

1.0.58

3 years ago

1.0.57

3 years ago

1.0.56

3 years ago

1.0.37

3 years ago

1.0.36

3 years ago

1.0.26

3 years ago

1.0.25

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.29

3 years ago

1.0.28

3 years ago

1.0.27

3 years ago

1.0.33

3 years ago

1.0.32

3 years ago

1.0.31

3 years ago

1.0.30

3 years ago

1.0.35

3 years ago

1.0.34

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.6-hotfix31.9

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.2

4 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.6-hotfix31.6

3 years ago

1.0.6-hotfix31.7

3 years ago

1.0.6-hotfix31.8

3 years ago

1.0.6-hotfix31.2

3 years ago

1.0.6-hotfix31.3

3 years ago

1.0.6-hotfix31.4

3 years ago

1.0.6-hotfix31.5

3 years ago

1.0.6-hotfix31.1

3 years ago

1.0.0-hotfix30.9

4 years ago

1.0.0-hotfix30.7

4 years ago

1.0.0-hotfix30.8

4 years ago

1.0.0-hotfix30.5

4 years ago

1.0.0-hotfix30.6

4 years ago

1.0.0-hotfix30.3

4 years ago

1.0.0-hotfix30.4

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

1.0.0-hotfix30.1

4 years ago

1.0.0-hotfix30.2

4 years ago

0.2.15

4 years ago

0.2.14

4 years ago

0.2.13

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago