ng-simple-file-tree
Advanced tools
Comparing version
{ | ||
"name": "ng-simple-file-tree", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
import { Child } from "./child"; | ||
import { CreateTreeItem } from "./create-tree-item"; | ||
import type { NgSimpleFileTree } from "../ng-simple-file-tree.component"; | ||
export declare class FileTreeItem { | ||
@@ -22,3 +23,3 @@ name: string; | ||
getPathAttribute(): any; | ||
static fromJson(item: CreateTreeItem, optional: OptionalParameters): FileTreeItem; | ||
static fromJson(item: CreateTreeItem, parentTree: NgSimpleFileTree, optional: OptionalParameters): FileTreeItem; | ||
setFontColor(value: string): void; | ||
@@ -25,0 +26,0 @@ } |
@@ -6,2 +6,3 @@ import { CreateTreeItem } from "./create-tree-item"; | ||
autoOpenCondition?: (item: CreateTreeItem) => boolean; | ||
autoSelectCondition?: (item: CreateTreeItem) => boolean; | ||
expandAllFolders?: boolean; | ||
@@ -8,0 +9,0 @@ hierarchyLines?: { |
@@ -6,7 +6,6 @@ import { OnDestroy, OnInit, QueryList } from '@angular/core'; | ||
import { Subject, Subscription } from "rxjs"; | ||
import { SelectItemService } from "../select-item.service"; | ||
import { TreeItemComponent } from "./tree-item/tree-item.component"; | ||
import { Treestate } from "./models/treestate"; | ||
import * as i0 from "@angular/core"; | ||
export declare class NgSimpleFileTree implements OnInit, OnDestroy { | ||
private itemService; | ||
treeData: CreateTreeItem[]; | ||
@@ -20,3 +19,3 @@ options: FileTreeOptions; | ||
elements: QueryList<TreeItemComponent>; | ||
constructor(itemService: SelectItemService); | ||
state: Treestate; | ||
ngOnInit(): void; | ||
@@ -23,0 +22,0 @@ ngOnDestroy(): void; |
import { FileTreeItem } from "../models/file-tree-item"; | ||
import { OptionsService } from "../../options.service"; | ||
import type { NgSimpleFileTree } from "../ng-simple-file-tree.component"; | ||
import * as i0 from "@angular/core"; | ||
export declare class TreeIconComponent { | ||
optionsService: OptionsService; | ||
parentTree: NgSimpleFileTree; | ||
item: FileTreeItem; | ||
expanded?: boolean | null; | ||
constructor(optionsService: OptionsService); | ||
hasExtension(value: string): boolean; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TreeIconComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TreeIconComponent, "app-tree-icon", never, { "item": { "alias": "item"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TreeIconComponent, "app-tree-icon", never, { "parentTree": { "alias": "parentTree"; "required": true; }; "item": { "alias": "item"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -1,9 +0,7 @@ | ||
import { OnInit, ElementRef } from '@angular/core'; | ||
import { ElementRef, OnInit } from '@angular/core'; | ||
import { FileTreeItem } from "../models/file-tree-item"; | ||
import { SelectItemService } from "../../select-item.service"; | ||
import { OptionsService } from "../../options.service"; | ||
import type { NgSimpleFileTree } from "../ng-simple-file-tree.component"; | ||
import * as i0 from "@angular/core"; | ||
export declare class TreeItemComponent implements OnInit { | ||
private selectItemService; | ||
optionsService: OptionsService; | ||
parentTree: NgSimpleFileTree; | ||
item: FileTreeItem; | ||
@@ -16,4 +14,4 @@ lastChild: boolean; | ||
protected visible: boolean; | ||
constructor(selectItemService: SelectItemService, optionsService: OptionsService); | ||
ngOnInit(): void; | ||
setAutoFunctions(): void; | ||
subscribeToItemService(): void; | ||
@@ -27,3 +25,3 @@ onClick(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TreeItemComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TreeItemComponent, "app-tree-item", never, { "item": { "alias": "item"; "required": false; }; "lastChild": { "alias": "lastChild"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<TreeItemComponent, "app-tree-item", never, { "parentTree": { "alias": "parentTree"; "required": true; }; "item": { "alias": "item"; "required": false; }; "lastChild": { "alias": "lastChild"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
9
-30.77%207909
-3.07%28
-6.67%1282
-3.75%