npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tocco-docs-browser

v1.0.59-hotfix33.46

Published

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

Downloads

107

Readme

Docs Browser

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

Embedding

React-registry name: docs-browser

Input parameters

| Name | Mandatory | Description |------------------------|:---------:|------------- | 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) | navigationStrategy | | Object consisting of various link factories. For more information see tocco-util/navigationStrategy documentation. | domainTypes | | Array of domain types to show | rootNodes | | Array of root nodes to use instead of the domains (array of objects with entityName and key) | businessUnit | | The business unit to display data from | listLimit | | Amount of records per page in list | getlistFormName | | If set form name is determined by this function which has (parent, keys) as input parameters | documentDetailFormName| | Name of the document detail form to use (default: "DmsResource") | domainDetailFormName | | Name of the domain detail form to use (default: "DmsDomain") | folderDetailFormName | | Name of the folder detail form to use (default: "DmsFolder") | searchFormType | | Possible 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) | selectionStyle | | none", "multi" or "single". If not defined and form model selectable is true, "multi" is used. Otherwise no selection is possible. | getCustomLocation | | Pass a function to define a custom navigation for a row click event | initialLocation | | If set, the docs browser will initially navigate to this location. | disableViewPersistor | | Per default the docs view is persisted with the view persistor. This property allows to disable using the view persistor | embedded | | If true, the styling is more subtle (E.g. no background color for in the breadcrumbs). Default is false. | showActions | | Attribute will be passed along to entity-list. | sortable | | Attribute will be passed along to entity-list. | noLeftPadding | | If false, a left padding will be applied to the Breadcrumbs. Per default false. | searchFormCollapsed | | If true, the admin search form is collapsed and thus not visible by default | Boolean | backendUrl | | Set 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

| Name | Payload | Description |---------------------|-------------------------------|------------- | onListParentChange| null (= root) or {model: 'User', key: '1'} | This event is fired when the parent of the list is changed | onSearchFormCollapsedChange | collapsed boolean. Whether it was opened or closed | Is fired when the user click in the arrow in the admin search form to collapse the search form. | onSelectChange | An array containing the ids of the new selection | This event is fired when the selection changes