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

esm2022/src/app/ng-simple-file-tree/models/treestate.mjs

2

package.json
{
"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