{
  "schemaVersion": "1.0.0",
  "readme": "",
  "modules": [
    {
      "kind": "javascript-module",
      "path": "src/index.ts",
      "declarations": [
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTreeRequestSelectionEvent",
          "members": [
            {
              "kind": "field",
              "name": "NAME",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "static": true,
              "readonly": true,
              "default": "\"or-asset-tree-request-selection\""
            }
          ],
          "superclass": {
            "name": "CustomEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTreeSelectionEvent",
          "members": [
            {
              "kind": "field",
              "name": "NAME",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "static": true,
              "readonly": true,
              "default": "\"or-asset-tree-selection\""
            }
          ],
          "superclass": {
            "name": "CustomEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTreeChangeParentEvent",
          "members": [
            {
              "kind": "field",
              "name": "NAME",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "static": true,
              "readonly": true,
              "default": "\"or-asset-tree-change-parent\""
            }
          ],
          "superclass": {
            "name": "CustomEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTreeToggleExpandEvent",
          "members": [
            {
              "kind": "field",
              "name": "NAME",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "static": true,
              "readonly": true,
              "default": "\"or-asset-tree-expand\""
            }
          ],
          "superclass": {
            "name": "CustomEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTreeRequestAddEvent",
          "members": [
            {
              "kind": "field",
              "name": "NAME",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "static": true,
              "readonly": true,
              "default": "\"or-asset-tree-request-add\""
            }
          ],
          "superclass": {
            "name": "CustomEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTreeAddEvent",
          "members": [
            {
              "kind": "field",
              "name": "NAME",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "static": true,
              "readonly": true,
              "default": "\"or-asset-tree-add\""
            }
          ],
          "superclass": {
            "name": "CustomEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTreeRequestDeleteEvent",
          "members": [
            {
              "kind": "field",
              "name": "NAME",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "static": true,
              "readonly": true,
              "default": "\"or-asset-tree-request-delete\""
            }
          ],
          "superclass": {
            "name": "CustomEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTreeAssetEvent",
          "members": [
            {
              "kind": "field",
              "name": "NAME",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "static": true,
              "readonly": true,
              "default": "\"or-asset-tree-asset-event\""
            }
          ],
          "superclass": {
            "name": "CustomEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTreeFilter",
          "members": [
            {
              "kind": "field",
              "name": "asset",
              "type": {
                "text": "string | undefined"
              },
              "default": "inputValue"
            },
            {
              "kind": "field",
              "name": "assetType",
              "type": {
                "text": "string[]"
              },
              "default": "[]"
            },
            {
              "kind": "field",
              "name": "attribute",
              "type": {
                "text": "string[]"
              },
              "default": "[]"
            },
            {
              "kind": "field",
              "name": "attributeValue",
              "type": {
                "text": "string[]"
              },
              "default": "[]"
            }
          ]
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAssetTree",
          "members": [
            {
              "kind": "field",
              "name": "assets",
              "type": {
                "text": "Asset[] | undefined"
              },
              "privacy": "public",
              "readonly": true,
              "description": "Allows arbitrary assets to be displayed using a tree",
              "attribute": "assets"
            },
            {
              "kind": "field",
              "name": "rootAssets",
              "type": {
                "text": "Asset[] | undefined"
              },
              "privacy": "public",
              "readonly": true,
              "attribute": "rootAssets"
            },
            {
              "kind": "field",
              "name": "rootAssetIds",
              "type": {
                "text": "string[] | undefined"
              },
              "privacy": "public",
              "readonly": true,
              "attribute": "rootAssetIds"
            },
            {
              "kind": "field",
              "name": "dataProvider",
              "type": {
                "text": "(offset: number, limit: number, parentId?: string) => Promise<Asset[]> | undefined"
              },
              "privacy": "public",
              "readonly": true,
              "attribute": "dataProvider"
            },
            {
              "kind": "field",
              "name": "readonly",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "readonly": true,
              "default": "false",
              "attribute": "readonly"
            },
            {
              "kind": "field",
              "name": "disabled",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "default": "false",
              "attribute": "disabled"
            },
            {
              "kind": "field",
              "name": "disableSubscribe",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "readonly": true,
              "default": "false",
              "attribute": "disableSubscribe"
            },
            {
              "kind": "field",
              "name": "selectedIds",
              "type": {
                "text": "string[] | undefined"
              },
              "privacy": "public",
              "attribute": "selectedIds"
            },
            {
              "kind": "field",
              "name": "showDeselectBtn",
              "type": {
                "text": "boolean | undefined"
              },
              "privacy": "public",
              "default": "true",
              "attribute": "showDeselectBtn"
            },
            {
              "kind": "field",
              "name": "showSortBtn",
              "type": {
                "text": "boolean | undefined"
              },
              "privacy": "public",
              "default": "true",
              "attribute": "showSortBtn"
            },
            {
              "kind": "field",
              "name": "showFilter",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "default": "true",
              "attribute": "showFilter"
            },
            {
              "kind": "field",
              "name": "showFilterIcon",
              "type": {
                "text": "boolean"
              },
              "privacy": "public",
              "default": "true",
              "attribute": "showFilterIcon"
            },
            {
              "kind": "field",
              "name": "sortBy",
              "type": {
                "text": "string | undefined"
              },
              "privacy": "public",
              "default": "\"name\"",
              "attribute": "sortBy"
            },
            {
              "kind": "field",
              "name": "expandAllNodes",
              "type": {
                "text": "boolean | undefined"
              },
              "privacy": "public",
              "default": "false",
              "attribute": "expandAllNodes"
            },
            {
              "kind": "field",
              "name": "checkboxes",
              "type": {
                "text": "boolean | undefined"
              },
              "privacy": "public",
              "default": "false",
              "attribute": "checkboxes"
            },
            {
              "kind": "field",
              "name": "queryLimit",
              "type": {
                "text": "number"
              },
              "privacy": "public",
              "readonly": true,
              "default": "100",
              "attribute": "queryLimit"
            },
            {
              "kind": "field",
              "name": "paginationThreshold",
              "type": {
                "text": "number"
              },
              "privacy": "public",
              "readonly": true,
              "default": "1000",
              "attribute": "paginationThreshold"
            },
            {
              "kind": "field",
              "name": "config",
              "type": {
                "text": "AssetTreeConfig | undefined"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_nodes",
              "type": {
                "text": "UiAssetTreeNode[] | undefined"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_loading",
              "type": {
                "text": "boolean"
              },
              "privacy": "protected",
              "default": "false"
            },
            {
              "kind": "field",
              "name": "_connected",
              "type": {
                "text": "boolean"
              },
              "privacy": "protected",
              "default": "false"
            },
            {
              "kind": "field",
              "name": "_selectedNodes",
              "type": {
                "text": "UiAssetTreeNode[]"
              },
              "privacy": "protected",
              "default": "[]"
            },
            {
              "kind": "field",
              "name": "_expandedNodes",
              "type": {
                "text": "UiAssetTreeNode[]"
              },
              "privacy": "protected",
              "default": "[]"
            },
            {
              "kind": "field",
              "name": "_initCallback",
              "type": {
                "text": "EventCallback | undefined"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_filter",
              "type": {
                "text": "OrAssetTreeFilter"
              },
              "privacy": "protected",
              "default": "new OrAssetTreeFilter()"
            },
            {
              "kind": "field",
              "name": "_clearIconContainer",
              "type": {
                "text": "HTMLElement"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_filterInput",
              "type": {
                "text": "OrVaadinTextField"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_filterSettingOpen",
              "type": {
                "text": "boolean"
              },
              "privacy": "protected",
              "default": "false"
            },
            {
              "kind": "field",
              "name": "_assetTypes",
              "type": {
                "text": "AssetDescriptor[]"
              },
              "privacy": "protected",
              "default": "[]"
            },
            {
              "kind": "field",
              "name": "_attributeTypeFilter",
              "type": {
                "text": "OrVaadinComboBox"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_attributeNameFilter",
              "type": {
                "text": "OrVaadinTextField"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_attributeValueFilter",
              "type": {
                "text": "OrVaadinTextField"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_assetTypeFilter",
              "type": {
                "text": "string"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_uniqueAssetTypes",
              "type": {
                "text": "string[]"
              },
              "privacy": "protected",
              "default": "[]"
            },
            {
              "kind": "field",
              "name": "_hasMoreParents",
              "type": {
                "text": "boolean"
              },
              "privacy": "protected",
              "default": "false"
            },
            {
              "kind": "field",
              "name": "_incompleteParentIds",
              "type": {
                "text": "string[]"
              },
              "privacy": "protected",
              "default": "[]"
            },
            {
              "kind": "field",
              "name": "_dragDropParentId",
              "type": {
                "text": "string | null"
              },
              "privacy": "private",
              "default": "null"
            },
            {
              "kind": "field",
              "name": "_expandTimer",
              "type": {
                "text": "number | undefined"
              },
              "privacy": "protected",
              "default": "undefined"
            },
            {
              "kind": "field",
              "name": "_latestSelected",
              "type": {
                "text": "UiAssetTreeNode | undefined"
              },
              "privacy": "private",
              "default": "undefined"
            },
            {
              "kind": "field",
              "name": "assetsChildren",
              "type": {
                "text": "{\n    [key: string]: UiAssetTreeNode[];\n  }"
              },
              "privacy": "protected",
              "default": "{}"
            },
            {
              "kind": "field",
              "name": "selectedNodes",
              "type": {
                "text": "UiAssetTreeNode[]"
              },
              "privacy": "public"
            },
            {
              "kind": "method",
              "name": "refresh",
              "privacy": "public",
              "type": {
                "text": "refresh() => void"
              }
            },
            {
              "kind": "method",
              "name": "isAncestorSelected",
              "privacy": "public",
              "parameters": [
                {
                  "name": "node",
                  "type": {
                    "text": "UiAssetTreeNode"
                  }
                }
              ],
              "type": {
                "text": "isAncestorSelected(node: UiAssetTreeNode) => void"
              }
            },
            {
              "kind": "method",
              "name": "applyFilter",
              "privacy": "public",
              "parameters": [
                {
                  "name": "filter",
                  "optional": true,
                  "type": {
                    "text": "OrAssetTreeFilter | string"
                  },
                  "description": "The {@link OrAssetTreeFilter}to apply.\n   * "
                },
                {
                  "name": "reflect",
                  "default": "false",
                  "description": "If the changes should be reflected in the filtering UI. (default: false)"
                }
              ],
              "description": "A setter function for updating the list of nodes (assets) shown in the UI.",
              "type": {
                "text": "applyFilter(filter?: OrAssetTreeFilter | string, reflect = false) => void"
              }
            },
            {
              "kind": "method",
              "name": "mapDescriptors",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "ListItem[]"
                }
              },
              "parameters": [
                {
                  "name": "descriptors",
                  "type": {
                    "text": "AssetDescriptor[]"
                  }
                },
                {
                  "name": "withNoneValue",
                  "optional": true,
                  "type": {
                    "text": "ListItem"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_getSelectHeader",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "TemplateResult"
                }
              },
              "parameters": [
                {
                  "name": "selected",
                  "optional": true,
                  "type": {
                    "text": "AssetDescriptor"
                  }
                },
                {
                  "name": "descriptors",
                  "default": "[]",
                  "type": {
                    "text": "AssetDescriptor[]"
                  }
                },
                {
                  "name": "disabled",
                  "default": "this._loading"
                }
              ]
            },
            {
              "kind": "method",
              "name": "atLeastOneNodeToBeShown",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "boolean"
                }
              }
            },
            {
              "kind": "method",
              "name": "_isReadonly",
              "privacy": "protected"
            },
            {
              "kind": "method",
              "name": "_updateSelectedNodes",
              "privacy": "protected"
            },
            {
              "kind": "method",
              "name": "_updateSort",
              "privacy": "protected",
              "parameters": [
                {
                  "name": "nodes",
                  "type": {
                    "text": "UiAssetTreeNode[]"
                  }
                },
                {
                  "name": "sortFunction",
                  "type": {
                    "text": "(a: UiAssetTreeNode, b: UiAssetTreeNode) => number"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_toggleExpander",
              "privacy": "protected",
              "parameters": [
                {
                  "name": "expander",
                  "type": {
                    "text": "HTMLElement"
                  }
                },
                {
                  "name": "node",
                  "type": {
                    "text": "UiAssetTreeNode | null"
                  }
                },
                {
                  "name": "silent",
                  "default": "false",
                  "type": {
                    "text": "boolean"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_buildPaths",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "string[]"
                }
              },
              "parameters": [
                {
                  "name": "node",
                  "type": {
                    "text": "UiAssetTreeNode"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_findNode",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "UiAssetTreeNode | undefined"
                }
              },
              "parameters": [
                {
                  "name": "n",
                  "type": {
                    "text": "UiAssetTreeNode"
                  }
                },
                {
                  "name": "assetId",
                  "type": {
                    "text": "string"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_findNodeFromAssetId",
              "privacy": "private",
              "return": {
                "type": {
                  "text": "UiAssetTreeNode | undefined"
                }
              },
              "parameters": [
                {
                  "name": "assetId",
                  "type": {
                    "text": "string"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_onNodeClicked",
              "privacy": "protected",
              "parameters": [
                {
                  "name": "evt",
                  "type": {
                    "text": "MouseEvent | null"
                  }
                },
                {
                  "name": "node",
                  "type": {
                    "text": "UiAssetTreeNode | null"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_onDeselectClicked",
              "privacy": "protected"
            },
            {
              "kind": "method",
              "name": "parseFromInputFilter",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "OrAssetTreeFilter"
                }
              },
              "parameters": [
                {
                  "name": "inputValue",
                  "default": "this._filterInput?.value"
                }
              ]
            },
            {
              "kind": "method",
              "name": "formatFilter",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "string"
                }
              },
              "parameters": [
                {
                  "name": "newFilter",
                  "type": {
                    "text": "OrAssetTreeFilter"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_shouldEnableAttrTypeEvent",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "e",
                  "type": {
                    "text": "KeyboardEvent"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_shouldEnableAttrType",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "value",
                  "type": {
                    "text": "string | undefined"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "applySettingFields",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "OrAssetTreeFilter"
                }
              },
              "parameters": [
                {
                  "name": "filter",
                  "type": {
                    "text": "OrAssetTreeFilter"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_filterFromSettings",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "void"
                }
              }
            },
            {
              "kind": "method",
              "name": "_onFilterInput",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "newValue",
                  "type": {
                    "text": "string | undefined"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_doFiltering",
              "privacy": "protected"
            },
            {
              "kind": "method",
              "name": "getMatcher",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "Promise<{ matcher: (asset: Asset) => boolean; assets?: Asset[] }>"
                }
              },
              "parameters": [
                {
                  "name": "requireQuery",
                  "type": {
                    "text": "boolean"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "getSimpleNameMatcher",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "Promise<(asset: Asset) => boolean>"
                }
              }
            },
            {
              "kind": "method",
              "name": "getMatcherFromQuery",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "Promise<{ assets: Asset[]; matcher: (asset: Asset) => boolean }>"
                }
              }
            },
            {
              "kind": "method",
              "name": "isAnyFilter",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "boolean"
                }
              }
            },
            {
              "kind": "method",
              "name": "filterTreeNode",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "boolean"
                }
              },
              "parameters": [
                {
                  "name": "currentNode",
                  "type": {
                    "text": "UiAssetTreeNode"
                  }
                },
                {
                  "name": "matcher",
                  "type": {
                    "text": "(asset: Asset) => boolean"
                  }
                },
                {
                  "name": "parentMatching",
                  "default": "false",
                  "type": {
                    "text": "boolean"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_onCopyClicked",
              "privacy": "protected"
            },
            {
              "kind": "method",
              "name": "_onAddClicked",
              "privacy": "protected"
            },
            {
              "kind": "method",
              "name": "_gatewayDescendantIsSelected",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "boolean"
                }
              }
            },
            {
              "kind": "method",
              "name": "_onDeleteClicked",
              "privacy": "protected"
            },
            {
              "kind": "method",
              "name": "_onSortClicked",
              "privacy": "protected",
              "parameters": [
                {
                  "name": "sortBy",
                  "optional": true,
                  "type": {
                    "text": "string"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_doDelete",
              "privacy": "protected"
            },
            {
              "kind": "method",
              "name": "_canAdd",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "boolean"
                }
              }
            },
            {
              "kind": "method",
              "name": "_getAllowedChildTypes",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "AssetDescriptor[]"
                }
              },
              "parameters": [
                {
                  "name": "selectedNode",
                  "type": {
                    "text": "UiAssetTreeNode | undefined"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_getSortFunction",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "(a: UiAssetTreeNode, b: UiAssetTreeNode) => number"
                }
              }
            },
            {
              "kind": "method",
              "name": "_getOrderBy",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "AssetQueryOrderBy$Property"
                }
              },
              "parameters": [
                {
                  "name": "sortBy",
                  "optional": true,
                  "type": {
                    "text": "string"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_loadAssets",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "Promise<AssetTreeEvent | undefined>"
                }
              },
              "parameters": [
                {
                  "name": "parentId",
                  "optional": true,
                  "type": {
                    "text": "string"
                  },
                  "description": "The parent ID an asset MUST be a child of during WebSocket retrieval. This is useful for pagination."
                },
                {
                  "name": "offset",
                  "default": "0",
                  "description": "Offset number of the assets to request through WebSocket. This is useful for pagination."
                },
                {
                  "name": "cache",
                  "optional": true,
                  "type": {
                    "text": "Asset[]"
                  },
                  "description": "An array of assets to populate the tree with alongside the retrieved nodes."
                }
              ],
              "description": "Main function to load assets and populate the tree.\nBased on the HTML attributes of this component, it either fetches using a WebSocket connection or using a dataProvider.\nOnce retrieved, these assets will be passed along to the _buildTreeNodes to construct the tree nodes.\nIf the user has applied a filter, it will also be taken into count using _doFiltering."
            },
            {
              "kind": "method",
              "name": "_addEventSubscriptions",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "Promise<void>"
                }
              },
              "type": {
                "text": "_addEventSubscriptions() => Promise<void>"
              }
            },
            {
              "kind": "method",
              "name": "onEventsConnect",
              "privacy": "public",
              "type": {
                "text": "onEventsConnect() => void"
              }
            },
            {
              "kind": "method",
              "name": "onEventsDisconnect",
              "privacy": "public",
              "type": {
                "text": "onEventsDisconnect() => void"
              }
            },
            {
              "kind": "method",
              "name": "getNodes",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "UiAssetTreeNode[]"
                }
              },
              "type": {
                "text": "getNodes() => UiAssetTreeNode[]"
              }
            },
            {
              "kind": "method",
              "name": "_onEvent",
              "privacy": "public",
              "parameters": [
                {
                  "name": "event",
                  "type": {
                    "text": "SharedEvent"
                  }
                }
              ],
              "type": {
                "text": "_onEvent(event: SharedEvent) => void"
              }
            },
            {
              "kind": "method",
              "name": "_buildTreeNodes",
              "privacy": "protected",
              "parameters": [
                {
                  "name": "assets",
                  "type": {
                    "text": "Asset[]"
                  },
                  "description": "List of assets to display in the tree"
                },
                {
                  "name": "sortFunction",
                  "default": "this._getSortFunction()",
                  "description": "Optional sorting function for ordering the nodes"
                }
              ],
              "description": "Function that creates and constructs the tree node objects to display."
            },
            {
              "kind": "method",
              "name": "_buildChildTreeNodes",
              "privacy": "protected",
              "parameters": [
                {
                  "name": "treeNode",
                  "type": {
                    "text": "UiAssetTreeNode"
                  }
                },
                {
                  "name": "assets",
                  "type": {
                    "text": "AssetWithReparentId[]"
                  }
                },
                {
                  "name": "sortFunction",
                  "type": {
                    "text": "(a: UiAssetTreeNode, b: UiAssetTreeNode) => number"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_onDragStart",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "ev",
                  "type": {
                    "text": "any"
                  }
                }
              ],
              "type": {
                "text": "_onDragStart(ev: any) => void"
              }
            },
            {
              "kind": "method",
              "name": "_onDragEnd",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "ev",
                  "type": {
                    "text": "any"
                  }
                }
              ],
              "type": {
                "text": "_onDragEnd(ev: any) => void"
              }
            },
            {
              "kind": "method",
              "name": "isExpandable",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "boolean"
                }
              },
              "parameters": [
                {
                  "name": "assetId",
                  "type": {
                    "text": "string"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_onDragOver",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "ev",
                  "type": {
                    "text": "any"
                  }
                }
              ],
              "type": {
                "text": "_onDragOver(ev: any) => void"
              }
            },
            {
              "kind": "method",
              "name": "expandNode",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "assetId",
                  "type": {
                    "text": "string | null"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "_onDragEnter",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "ev",
                  "type": {
                    "text": "any"
                  }
                }
              ],
              "type": {
                "text": "_onDragEnter(ev: any) => void"
              }
            },
            {
              "kind": "method",
              "name": "_onDragLeave",
              "privacy": "public",
              "return": {
                "type": {
                  "text": "void"
                }
              },
              "parameters": [
                {
                  "name": "ev",
                  "type": {
                    "text": "any"
                  }
                }
              ],
              "type": {
                "text": "_onDragLeave(ev: any) => void"
              }
            },
            {
              "kind": "method",
              "name": "_treeNodeTemplate",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "TemplateResult | string | undefined"
                }
              },
              "parameters": [
                {
                  "name": "treeNode",
                  "type": {
                    "text": "UiAssetTreeNode"
                  },
                  "description": "Node to display"
                },
                {
                  "name": "level",
                  "type": {
                    "text": "number"
                  },
                  "description": "Level of depth in the tree from 0 to infinite. (0 = top level. If it has 2 parents, level = 2)"
                }
              ],
              "description": "Generates the HTML TemplateResult for an individual node / tree item."
            },
            {
              "kind": "method",
              "name": "_forEachNodeRecursive",
              "privacy": "protected",
              "static": true,
              "parameters": [
                {
                  "name": "nodes",
                  "type": {
                    "text": "UiAssetTreeNode[]"
                  }
                },
                {
                  "name": "fn",
                  "type": {
                    "text": "(node: UiAssetTreeNode) => void"
                  }
                }
              ]
            }
          ],
          "events": [
            {
              "type": {
                "text": "OrAssetTreeSelectionEvent"
              }
            },
            {
              "name": "assetEvent",
              "type": {
                "text": "OrAssetTreeAssetEvent"
              }
            }
          ],
          "attributes": [
            {
              "name": "assets",
              "type": {
                "text": "Asset[] | undefined"
              },
              "readonly": true,
              "description": "Allows arbitrary assets to be displayed using a tree",
              "fieldName": "assets"
            },
            {
              "name": "rootAssets",
              "type": {
                "text": "Asset[] | undefined"
              },
              "readonly": true,
              "fieldName": "rootAssets"
            },
            {
              "name": "rootAssetIds",
              "type": {
                "text": "string[] | undefined"
              },
              "readonly": true,
              "fieldName": "rootAssetIds"
            },
            {
              "name": "dataProvider",
              "type": {
                "text": "(offset: number, limit: number, parentId?: string) => Promise<Asset[]> | undefined"
              },
              "readonly": true,
              "fieldName": "dataProvider"
            },
            {
              "name": "readonly",
              "type": {
                "text": "boolean"
              },
              "readonly": true,
              "default": "false",
              "fieldName": "readonly"
            },
            {
              "name": "disabled",
              "type": {
                "text": "boolean"
              },
              "default": "false",
              "fieldName": "disabled"
            },
            {
              "name": "disableSubscribe",
              "type": {
                "text": "boolean"
              },
              "readonly": true,
              "default": "false",
              "fieldName": "disableSubscribe"
            },
            {
              "name": "selectedIds",
              "type": {
                "text": "string[] | undefined"
              },
              "fieldName": "selectedIds"
            },
            {
              "name": "showDeselectBtn",
              "type": {
                "text": "boolean | undefined"
              },
              "default": "true",
              "fieldName": "showDeselectBtn"
            },
            {
              "name": "showSortBtn",
              "type": {
                "text": "boolean | undefined"
              },
              "default": "true",
              "fieldName": "showSortBtn"
            },
            {
              "name": "showFilter",
              "type": {
                "text": "boolean"
              },
              "default": "true",
              "fieldName": "showFilter"
            },
            {
              "name": "showFilterIcon",
              "type": {
                "text": "boolean"
              },
              "default": "true",
              "fieldName": "showFilterIcon"
            },
            {
              "name": "sortBy",
              "type": {
                "text": "string | undefined"
              },
              "default": "\"name\"",
              "fieldName": "sortBy"
            },
            {
              "name": "expandAllNodes",
              "type": {
                "text": "boolean | undefined"
              },
              "default": "false",
              "fieldName": "expandAllNodes"
            },
            {
              "name": "checkboxes",
              "type": {
                "text": "boolean | undefined"
              },
              "default": "false",
              "fieldName": "checkboxes"
            },
            {
              "name": "queryLimit",
              "type": {
                "text": "number"
              },
              "readonly": true,
              "default": "100",
              "fieldName": "queryLimit"
            },
            {
              "name": "paginationThreshold",
              "type": {
                "text": "number"
              },
              "readonly": true,
              "default": "1000",
              "fieldName": "paginationThreshold"
            }
          ],
          "mixins": [
            {
              "name": "subscribe(manager)",
              "module": "src/index.ts"
            }
          ],
          "superclass": {
            "name": "OrElement",
            "package": "@openremote/or-element"
          },
          "tagName": "or-asset-tree",
          "customElement": true,
          "modulePath": "src/index.ts",
          "definitionPath": "src/index.ts"
        },
        {
          "kind": "variable",
          "name": "asset",
          "type": {
            "text": "string"
          },
          "default": "inputValue"
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "style",
          "declaration": {
            "name": "style",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTreeRequestSelectionEvent",
          "declaration": {
            "name": "OrAssetTreeRequestSelectionEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTreeSelectionEvent",
          "declaration": {
            "name": "OrAssetTreeSelectionEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTreeChangeParentEvent",
          "declaration": {
            "name": "OrAssetTreeChangeParentEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTreeToggleExpandEvent",
          "declaration": {
            "name": "OrAssetTreeToggleExpandEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTreeRequestAddEvent",
          "declaration": {
            "name": "OrAssetTreeRequestAddEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTreeAddEvent",
          "declaration": {
            "name": "OrAssetTreeAddEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTreeRequestDeleteEvent",
          "declaration": {
            "name": "OrAssetTreeRequestDeleteEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTreeAssetEvent",
          "declaration": {
            "name": "OrAssetTreeAssetEvent",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTreeFilter",
          "declaration": {
            "name": "OrAssetTreeFilter",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAssetTree",
          "declaration": {
            "name": "OrAssetTree",
            "module": "src/index.ts"
          }
        },
        {
          "kind": "custom-element-definition",
          "name": "or-asset-tree",
          "declaration": {
            "name": "OrAssetTree",
            "module": "src/index.ts"
          }
        }
      ]
    },
    {
      "kind": "javascript-module",
      "path": "src/or-add-asset-dialog.ts",
      "declarations": [
        {
          "kind": "class",
          "description": "",
          "name": "OrAddChangedEvent",
          "members": [
            {
              "kind": "field",
              "name": "NAME",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "static": true,
              "readonly": true,
              "default": "\"or-add-asset-changed\""
            }
          ],
          "superclass": {
            "name": "CustomEvent",
            "module": "src/or-add-asset-dialog.ts"
          }
        },
        {
          "kind": "class",
          "description": "",
          "name": "OrAddAssetDialog",
          "members": [
            {
              "kind": "field",
              "name": "config",
              "type": {
                "text": "AssetTreeConfig"
              },
              "privacy": "public"
            },
            {
              "kind": "field",
              "name": "agentTypes",
              "type": {
                "text": "AgentDescriptor[]"
              },
              "privacy": "public"
            },
            {
              "kind": "field",
              "name": "assetTypes",
              "type": {
                "text": "AssetDescriptor[]"
              },
              "privacy": "public"
            },
            {
              "kind": "field",
              "name": "parent",
              "type": {
                "text": "Asset | undefined"
              },
              "privacy": "public"
            },
            {
              "kind": "field",
              "name": "selectedType",
              "type": {
                "text": "AgentDescriptor | AssetDescriptor | undefined"
              },
              "privacy": "public"
            },
            {
              "kind": "field",
              "name": "selectedAttributes",
              "type": {
                "text": "AttributeDescriptor[]"
              },
              "privacy": "public",
              "default": "[]"
            },
            {
              "kind": "field",
              "name": "showParentAssetSelector",
              "type": {
                "text": "boolean"
              },
              "privacy": "protected",
              "default": "false"
            },
            {
              "kind": "field",
              "name": "selectedChildAssetType",
              "type": {
                "text": "string"
              },
              "default": "\"\""
            },
            {
              "kind": "field",
              "name": "typeFilter",
              "type": {
                "text": "string"
              },
              "privacy": "private",
              "default": "\"\"",
              "attribute": "typeFilter"
            },
            {
              "kind": "field",
              "name": "name",
              "type": {
                "text": "string"
              },
              "privacy": "public",
              "default": "\"New Asset\""
            },
            {
              "kind": "field",
              "name": "nameInput",
              "type": {
                "text": "OrVaadinTextField"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "agentList",
              "type": {
                "text": "OrVaadinListBox | undefined"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "assetList",
              "type": {
                "text": "OrVaadinListBox | undefined"
              },
              "privacy": "protected"
            },
            {
              "kind": "field",
              "name": "_filterInput",
              "type": {
                "text": "OrVaadinTextField"
              },
              "privacy": "private"
            },
            {
              "kind": "method",
              "name": "getTypeTemplate",
              "privacy": "protected",
              "parameters": [
                {
                  "name": "descriptor",
                  "type": {
                    "text": "AgentDescriptor | AssetDescriptor"
                  }
                },
                {
                  "name": "parentStr",
                  "type": {
                    "text": "string"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "onNameChanged",
              "privacy": "protected",
              "parameters": [
                {
                  "name": "name",
                  "type": {
                    "text": "string"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "onTypeChanged",
              "privacy": "protected",
              "parameters": [
                {
                  "name": "isAgent",
                  "type": {
                    "text": "boolean"
                  }
                },
                {
                  "name": "listItem",
                  "type": {
                    "text": "ListItem"
                  }
                }
              ]
            },
            {
              "kind": "method",
              "name": "onModified",
              "privacy": "protected"
            },
            {
              "kind": "method",
              "name": "_onToggleParentAssetSelector",
              "privacy": "protected",
              "return": {
                "type": {
                  "text": "void"
                }
              }
            },
            {
              "kind": "method",
              "name": "_onDeselectClicked",
              "privacy": "protected"
            }
          ],
          "events": [
            {
              "type": {
                "text": "OrAddChangedEvent"
              }
            }
          ],
          "attributes": [
            {
              "name": "typeFilter",
              "type": {
                "text": "string"
              },
              "default": "\"\"",
              "fieldName": "typeFilter"
            }
          ],
          "superclass": {
            "name": "OrElement",
            "package": "@openremote/or-element"
          },
          "tagName": "or-add-asset-dialog",
          "customElement": true,
          "modulePath": "src/or-add-asset-dialog.ts",
          "definitionPath": "src/or-add-asset-dialog.ts"
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "OrAddChangedEvent",
          "declaration": {
            "name": "OrAddChangedEvent",
            "module": "src/or-add-asset-dialog.ts"
          }
        },
        {
          "kind": "js",
          "name": "OrAddAssetDialog",
          "declaration": {
            "name": "OrAddAssetDialog",
            "module": "src/or-add-asset-dialog.ts"
          }
        },
        {
          "kind": "custom-element-definition",
          "name": "or-add-asset-dialog",
          "declaration": {
            "name": "OrAddAssetDialog",
            "module": "src/or-add-asset-dialog.ts"
          }
        }
      ]
    },
    {
      "kind": "javascript-module",
      "path": "src/style.ts",
      "declarations": [
        {
          "kind": "variable",
          "name": "style",
          "default": "css` :host { --internal-or-asset-tree-header-color: var( --or-asset-tree-header-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)}) ); --internal-or-asset-tree-header-text-color: var( --or-asset-tree-header-text-color, var(--or-app-color8, ${unsafeCSS(DefaultColor8)}) ); --internal-or-asset-tree-header-menu-background-color: var( --or-asset-tree-header-menu-background-color, var(--internal-or-asset-tree-header-text-color) ); --internal-or-asset-tree-header-menu-text-color: var(--or-asset-tree-header-menu-text-color, inherit); --internal-or-asset-tree-header-height: var(--or-asset-tree-header-height, 48px); --internal-or-asset-tree-background-color: var( --or-asset-tree-background-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)}) ); --internal-or-asset-tree-text-color: var(--or-asset-tree-text-color, inherit); --internal-or-asset-tree-item-height: var(--or-asset-tree-item-height, 24px); --internal-or-asset-tree-item-padding: var(--or-asset-tree-item-padding, 10px); --internal-or-asset-tree-selected-background-color: var( --or-asset-tree-selected-background-color, var(--or-app-color2, ${unsafeCSS(DefaultColor2)}) ); --internal-or-asset-tree-selected-color: var( --or-asset-tree-selected-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)}) ); --internal-or-asset-tree-button-color: var( --or-asset-tree-button-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)}) ); --internal-or-asset-tree-line-color: var( --or-asset-tree-line-color, var(--or-app-color5, ${unsafeCSS(DefaultColor5)}) ); display: flex; flex-direction: column; height: 100%; width: 100%; background-color: var(--internal-or-asset-tree-background-color); } *[hidden] { display: none; } button { background-color: var(--internal-or-asset-tree-button-color); color: var(--internal-or-asset-tree-background-color); --or-icon-width: 20px; --or-icon-height: 20px; --or-icon-fill: var(--internal-or-asset-tree-background-color); border: none; padding: 0 6px; display: inline-block; cursor: pointer; opacity: 0.8; } button:focus, button:hover { outline: 0; opacity: 1; } #header { background-color: var(--internal-or-asset-tree-header-color); display: flex; align-items: center; width: 100%; height: var(--internal-or-asset-tree-header-height); border-bottom: 1px solid ${unsafeCSS(DefaultColor5)}; z-index: 1000; line-height: var(--internal-or-asset-tree-header-height); color: var(--internal-or-asset-tree-header-text-color); --or-icon-fill: var(--internal-or-asset-tree-header-text-color); } #title-container { flex: 1 0 auto; flex-direction: row; text-transform: capitalize; padding-left: 15px; } #title { font-weight: 500; font-size: 16px; } #realm-picker { outline: none; margin-left: 5px; text-transform: none; font-size: 14px; } #header-btns { display: flex; flex-direction: row; align-items: center; padding-right: 5px; } #list-container { flex: 1 1 auto; overflow: auto; font-size: 14px; } #list { margin: 0; color: var(--internal-or-asset-tree-text-color); padding: 0; height: 100%; } #list, ol { list-style-type: none; } li ol { padding: 0; } #list li { width: 100%; } #list li:not([data-expanded]) > ol { display: none; } #list li[data-selected] > .node-container, #list li > .node-container:hover { background-color: var(--internal-or-asset-tree-selected-background-color); } #list li[data-selected] > .node-container { border-left-color: var(--internal-or-asset-tree-selected-color); } .asset-list-element .over { background-color: ${unsafeCSS(DefaultColor5)}; } .in-between-element { position: relative; height: 2px; } .in-between-element.over { padding: 5px 0; margin: -5px 0; } .end-element, .loadmore-element { height: 44px; } .loadmore-element { display: flex; padding-left: 15px; align-items: center; } .node-container { display: flex; border-left: 4px solid transparent; user-select: none; cursor: pointer; height: var(--internal-or-asset-tree-item-height); line-height: var(--internal-or-asset-tree-item-height); padding-top: var(--internal-or-asset-tree-item-padding); padding-bottom: var(--internal-or-asset-tree-item-padding); } .node-container > * { flex: 0 0 auto; } .expander { flex: 0 0 auto; width: 36px; height: 100%; display: inline-block; background-repeat: no-repeat; background-size: 18px; background-position: center; margin-left: -4px; border-left: 4px solid transparent; } .expander[data-expandable] { background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='rgb(204, 204, 204)' viewBox='0 0 24 24'%3E%3Cpath d='${unsafeCSS(mdiChevronRight)}'/%3E%3C/svg%3E\"); } .expander[data-expandable]:hover { background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='${unsafeCSS(mdiChevronRight)}'/%3E%3C/svg%3E\"); } li[data-expanded] > .node-container .expander { background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='${unsafeCSS(mdiChevronDown)}'/%3E%3C/svg%3E\") !important; } .node-name { width: 100%; margin: -4px 0; flex: 1 0 auto; display: flex; align-items: center; } .node-name-withCheck { flex: 1 1 auto; white-space: nowrap; overflow: hidden; margin-right: 4px; text-overflow: ellipsis; vertical-align: middle; } .node-name-noCheck { vertical-align: middle; text-wrap: nowrap; } .node-name > or-icon { --or-icon-width: 18px; --or-icon-height: 18px; margin-right: 8px; } #loading { flex: 1 0 auto; display: inline-flex; align-items: center; text-align: center; margin: 0 auto; font-size: 14px; } @media only screen and (min-width: 768px) { .expander { width: 26px; } } .mdc-list-item__graphic { margin-left: auto; display: flex; margin-right: 5px; } .mdc-checkbox { display: flex; height: 100%; align-items: center; } .mdc-checkbox or-icon { width: auto; color: var(--internal-or-asset-tree-line-color); } .mdc-checkbox or-icon.mdc-checkbox--parent { height: 17px; } .mdc-checkbox or-icon[icon=\"checkbox-marked\"], .mdc-checkbox or-icon[icon=\"checkbox-multiple-marked\"], .mdc-checkbox or-icon[icon=\"checkbox-multiple-marked-outline\"] { color: var(--internal-or-asset-tree-selected-color); } #asset-tree-filter { display: flex; align-items: center; position: relative; background-color: var(--internal-or-asset-tree-selected-background-color); } #filterInput { padding: 7px; } #filterAssetTypeDownIcon { width: 16px; height: 16px; position: absolute; right: 20px; padding-right: 14px; cursor: pointer; } #filterSettingsIcon { margin-right: 7px; } #asset-tree-filter-setting { position: absolute; background-color: var(--internal-or-asset-tree-background-color); top: calc(var(--internal-or-asset-tree-header-height) + var(--internal-or-header-height, 50px) - 1px); display: none; width: 300px; z-index: 100; box-shadow: rgb(0 0 0 / 21%) 0px 1px 3px 0px; box-sizing: border-box; padding: 10px; } #asset-tree-filter-setting .advanced-filter { display: flex; flex-direction: column; } #asset-tree-filter-setting.visible { display: block; } .filterAssetType { display: flex; align-items: center; } #clearIconContainer.visible { display: block; } #noAssetsFound { flex: 1 0 auto; display: inline-flex; align-items: center; text-align: center; margin: 0 auto; font-size: 14px; } .filterMatching { color: #808080; } .draggable { cursor: pointer; } .draggable:active[draggable=\"true\"] { cursor: grabbing; } `"
        }
      ],
      "exports": [
        {
          "kind": "js",
          "name": "style",
          "declaration": {
            "name": "style",
            "module": "src/style.ts"
          }
        }
      ]
    }
  ]
}
