🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

ng-simple-file-tree

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-simple-file-tree - npm Package Compare versions

Comparing version

to
0.1.8

ng-simple-file-tree-0.1.8.tgz

2

package.json
{
"name": "ng-simple-file-tree",
"version": "0.1.7",
"version": "0.1.8",
"private": false,

@@ -5,0 +5,0 @@ "peerDependencies": {

@@ -5,3 +5,2 @@ import { CreateTreeItem } from "./create-tree-item";

path: string;
hasChildren: boolean;
private constructor();

@@ -16,4 +15,5 @@ extension?: string;

selectedChildIndex: number;
hasChildren(): boolean;
private createChildren;
static fromJson({ name, children, icon, path }: Partial<CreateTreeItem> & Pick<CreateTreeItem, 'name'> & Record<string, unknown>): FileTreeItem;
}

@@ -12,7 +12,7 @@ import { OnDestroy, OnInit } from '@angular/core';

private itemService;
treeData: (Partial<CreateTreeItem> & Pick<CreateTreeItem, 'name'> & Record<string, unknown>)[];
treeData: CreateTreeItem[];
options: FileTreeOptions;
itemSelected: Subject<FileTreeItem>;
itemSubscription: Subscription;
items: FileTreeItem[];
protected itemSelected: Subject<FileTreeItem>;
protected itemSubscription: Subscription;
protected items: FileTreeItem[];
constructor(optionsService: OptionsService, itemService: SelectItemService);

@@ -23,5 +23,12 @@ ngOnInit(): void;

private subscribeToItemService;
getItems(): FileTreeItem[];
getSelected(): FileTreeItem;
addItem(item: CreateTreeItem): void;
clearItems(): void;
expandAll(): void;
collapseAll(): void;
private setExpandedForAll;
private setExpandedForChildren;
static ɵfac: i0.ɵɵFactoryDeclaration<NgSimpleFileTree, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgSimpleFileTree, "ng-simple-tree", never, { "treeData": { "alias": "data"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "itemSelected": "itemSelected"; }, never, never, false, never>;
}

@@ -7,5 +7,7 @@ import { Observable } from "rxjs";

itemSelectedObservable: Observable<FileTreeItem>;
private lastValue;
nextItem(value: FileTreeItem): void;
getLastSelected(): FileTreeItem;
static ɵfac: i0.ɵɵFactoryDeclaration<SelectItemService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SelectItemService>;
}

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

Sorry, the diff of this file is not supported yet