🚀 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.9

ng-simple-file-tree-0.1.9.tgz

2

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

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

export type Child = {
name: string;
childrenKey?: string;
children?: Child[];
icon?: string;
};
import { Child } from "./child";
export type CreateTreeItem = {
name: string;
childrenKey?: string;
children?: Child[];

@@ -5,0 +6,0 @@ icon?: string;

@@ -0,1 +1,2 @@

import { Child } from "./child";
import { CreateTreeItem } from "./create-tree-item";

@@ -14,5 +15,15 @@ export declare class FileTreeItem {

selectedChildIndex: number;
originalValue: any;
private readonly childrenKey?;
hasChildren(): boolean;
private createChildren;
static fromJson({ name, children, icon, path }: Partial<CreateTreeItem> & Pick<CreateTreeItem, 'name'> & Record<string, unknown>): FileTreeItem;
static fromJson(item: CreateTreeItem, childrenKey?: string): FileTreeItem;
}
export interface OptionalParameters {
childrenKey?: string;
children?: Child[];
icon?: string;
path?: string;
parent?: FileTreeItem;
index?: number;
}

@@ -14,2 +14,3 @@ import { OnDestroy, OnInit } from '@angular/core';

options: FileTreeOptions;
childrenKey?: string;
protected itemSelected: Subject<FileTreeItem>;

@@ -32,3 +33,3 @@ protected itemSubscription: Subscription;

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>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgSimpleFileTree, "ng-simple-tree", never, { "treeData": { "alias": "data"; "required": false; }; "options": { "alias": "options"; "required": false; }; "childrenKey": { "alias": "childrenKey"; "required": false; }; }, { "itemSelected": "itemSelected"; }, 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