New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ngx-treeview

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-treeview - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

bundles/ngx-treeview.umd.js

@@ -727,3 +727,3 @@ (function (global, factory) {

selector: 'ngx-treeview',
template: '<ng-template #tpl let-item="item" let-toggleCollapseExpand="toggleCollapseExpand" let-onCheckedChange="onCheckedChange"> <div class="form-check"> <i *ngIf="item.children" (click)="toggleCollapseExpand()" aria-hidden="true" class="fa" [class.fa-caret-right]="item.collapsed" [class.fa-caret-down]="!item.collapsed"></i> <label class="form-check-label"> <input type="checkbox" class="form-check-input" [(ngModel)]="item.checked" (ngModelChange)="onCheckedChange()" [disabled]="item.disabled" /> {{item.text}} </label> </div> </ng-template> <div [ngSwitch]="hasFilterItems"> <div *ngSwitchCase="true" class="treeview-header"> <div *ngIf="config.isShowFilter" class="row"> <div class="col-12"> <input class="form-control" type="text" [placeholder]="i18n.filterPlaceholder()" [(ngModel)]="filterText" (ngModelChange)="onFilterTextChange()" /> </div> </div> <div *ngIf="hasFilterItems"> <div *ngIf="config.isShowAllCheckBox || config.isShowCollapseExpand" class="row"> <div class="col-12" [class.row-margin]="config.isShowFilter && (config.isShowAllCheckBox || config.isShowCollapseExpand)"> <label *ngIf="config.isShowAllCheckBox" class="form-check-label label-item-all"> <input type="checkbox" class="form-check-input" [(ngModel)]="allItem.checked" (ngModelChange)="onAllCheckedChange($event)" /> {{i18n.allCheckboxText()}} </label> <label *ngIf="config.isShowCollapseExpand" class="pull-right label-collapse-expand" (click)="toggleCollapseExpand()"> <i [title]="i18n.tooltipCollapseExpand(allItem.collapsed)" aria-hidden="true" class="fa" [class.fa-expand]="allItem.collapsed" [class.fa-compress]="!allItem.collapsed"></i> </label> </div> </div> <div *ngIf="config.isShowFilter || config.isShowAllCheckBox || config.isShowCollapseExpand" class="divider"></div> </div> </div> <div *ngSwitchCase="true" class="treeview-container" [style.max-height.px]="maxHeight"> <ngx-treeview-item *ngFor="let item of filterItems" [item]="item" [template]="template || tpl" (checkedChange)="onItemCheckedChange(item, $event)"> </ngx-treeview-item> </div> <div *ngSwitchCase="false" class="treeview-text"> {{i18n.filterNoItemsFoundText()}} </div> </div>',
template: '<ng-template #tpl let-item="item" let-toggleCollapseExpand="toggleCollapseExpand" let-onCheckedChange="onCheckedChange"> <div class="form-check"> <i *ngIf="item.children" (click)="toggleCollapseExpand()" aria-hidden="true" class="fa" [class.fa-caret-right]="item.collapsed" [class.fa-caret-down]="!item.collapsed"></i> <label class="form-check-label"> <input type="checkbox" class="form-check-input" [(ngModel)]="item.checked" (ngModelChange)="onCheckedChange()" [disabled]="item.disabled" /> {{item.text}} </label> </div> </ng-template> <div class="treeview-header"> <div *ngIf="config.isShowFilter" class="row"> <div class="col-12"> <input class="form-control" type="text" [placeholder]="i18n.filterPlaceholder()" [(ngModel)]="filterText" (ngModelChange)="onFilterTextChange()" /> </div> </div> <div *ngIf="hasFilterItems"> <div *ngIf="config.isShowAllCheckBox || config.isShowCollapseExpand" class="row"> <div class="col-12" [class.row-margin]="config.isShowFilter && (config.isShowAllCheckBox || config.isShowCollapseExpand)"> <label *ngIf="config.isShowAllCheckBox" class="form-check-label label-item-all"> <input type="checkbox" class="form-check-input" [(ngModel)]="allItem.checked" (ngModelChange)="onAllCheckedChange($event)" /> {{i18n.allCheckboxText()}} </label> <label *ngIf="config.isShowCollapseExpand" class="pull-right label-collapse-expand" (click)="toggleCollapseExpand()"> <i [title]="i18n.tooltipCollapseExpand(allItem.collapsed)" aria-hidden="true" class="fa" [class.fa-expand]="allItem.collapsed" [class.fa-compress]="!allItem.collapsed"></i> </label> </div> </div> <div *ngIf="config.isShowFilter || config.isShowAllCheckBox || config.isShowCollapseExpand" class="divider"></div> </div> </div> <div [ngSwitch]="hasFilterItems"> <div *ngSwitchCase="true" class="treeview-container" [style.max-height.px]="maxHeight"> <ngx-treeview-item *ngFor="let item of filterItems" [item]="item" [template]="template || tpl" (checkedChange)="onItemCheckedChange(item, $event)"> </ngx-treeview-item> </div> <div *ngSwitchCase="false" class="treeview-text"> {{i18n.filterNoItemsFoundText()}} </div> </div>',
styles: [':host /deep/ .fa { margin-right: .2rem; width: .5rem; cursor: pointer; } .treeview-header .row .row-margin { margin-top: .3rem; } .treeview-header .row .row-margin .label-collapse-expand { margin: 0; padding: 0 .3rem; cursor: pointer; } .treeview-header .divider { height: 1px; margin: 0.5rem 0; overflow: hidden; background: #000; } .treeview-container { overflow-x: hidden; overflow-y: auto; padding-right: 18px; } .treeview-text { padding: .3rem 0; white-space: nowrap; } ']

@@ -730,0 +730,0 @@ }),

{
"name": "ngx-treeview",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -94,2 +94,2 @@ "description": "An Angular treeview component with checkbox",

}
}
}

@@ -225,3 +225,3 @@ var __extends = (this && this.__extends) || (function () {

selector: 'ngx-treeview',
template: '<ng-template #tpl let-item="item" let-toggleCollapseExpand="toggleCollapseExpand" let-onCheckedChange="onCheckedChange"> <div class="form-check"> <i *ngIf="item.children" (click)="toggleCollapseExpand()" aria-hidden="true" class="fa" [class.fa-caret-right]="item.collapsed" [class.fa-caret-down]="!item.collapsed"></i> <label class="form-check-label"> <input type="checkbox" class="form-check-input" [(ngModel)]="item.checked" (ngModelChange)="onCheckedChange()" [disabled]="item.disabled" /> {{item.text}} </label> </div> </ng-template> <div [ngSwitch]="hasFilterItems"> <div *ngSwitchCase="true" class="treeview-header"> <div *ngIf="config.isShowFilter" class="row"> <div class="col-12"> <input class="form-control" type="text" [placeholder]="i18n.filterPlaceholder()" [(ngModel)]="filterText" (ngModelChange)="onFilterTextChange()" /> </div> </div> <div *ngIf="hasFilterItems"> <div *ngIf="config.isShowAllCheckBox || config.isShowCollapseExpand" class="row"> <div class="col-12" [class.row-margin]="config.isShowFilter && (config.isShowAllCheckBox || config.isShowCollapseExpand)"> <label *ngIf="config.isShowAllCheckBox" class="form-check-label label-item-all"> <input type="checkbox" class="form-check-input" [(ngModel)]="allItem.checked" (ngModelChange)="onAllCheckedChange($event)" /> {{i18n.allCheckboxText()}} </label> <label *ngIf="config.isShowCollapseExpand" class="pull-right label-collapse-expand" (click)="toggleCollapseExpand()"> <i [title]="i18n.tooltipCollapseExpand(allItem.collapsed)" aria-hidden="true" class="fa" [class.fa-expand]="allItem.collapsed" [class.fa-compress]="!allItem.collapsed"></i> </label> </div> </div> <div *ngIf="config.isShowFilter || config.isShowAllCheckBox || config.isShowCollapseExpand" class="divider"></div> </div> </div> <div *ngSwitchCase="true" class="treeview-container" [style.max-height.px]="maxHeight"> <ngx-treeview-item *ngFor="let item of filterItems" [item]="item" [template]="template || tpl" (checkedChange)="onItemCheckedChange(item, $event)"> </ngx-treeview-item> </div> <div *ngSwitchCase="false" class="treeview-text"> {{i18n.filterNoItemsFoundText()}} </div> </div>',
template: '<ng-template #tpl let-item="item" let-toggleCollapseExpand="toggleCollapseExpand" let-onCheckedChange="onCheckedChange"> <div class="form-check"> <i *ngIf="item.children" (click)="toggleCollapseExpand()" aria-hidden="true" class="fa" [class.fa-caret-right]="item.collapsed" [class.fa-caret-down]="!item.collapsed"></i> <label class="form-check-label"> <input type="checkbox" class="form-check-input" [(ngModel)]="item.checked" (ngModelChange)="onCheckedChange()" [disabled]="item.disabled" /> {{item.text}} </label> </div> </ng-template> <div class="treeview-header"> <div *ngIf="config.isShowFilter" class="row"> <div class="col-12"> <input class="form-control" type="text" [placeholder]="i18n.filterPlaceholder()" [(ngModel)]="filterText" (ngModelChange)="onFilterTextChange()" /> </div> </div> <div *ngIf="hasFilterItems"> <div *ngIf="config.isShowAllCheckBox || config.isShowCollapseExpand" class="row"> <div class="col-12" [class.row-margin]="config.isShowFilter && (config.isShowAllCheckBox || config.isShowCollapseExpand)"> <label *ngIf="config.isShowAllCheckBox" class="form-check-label label-item-all"> <input type="checkbox" class="form-check-input" [(ngModel)]="allItem.checked" (ngModelChange)="onAllCheckedChange($event)" /> {{i18n.allCheckboxText()}} </label> <label *ngIf="config.isShowCollapseExpand" class="pull-right label-collapse-expand" (click)="toggleCollapseExpand()"> <i [title]="i18n.tooltipCollapseExpand(allItem.collapsed)" aria-hidden="true" class="fa" [class.fa-expand]="allItem.collapsed" [class.fa-compress]="!allItem.collapsed"></i> </label> </div> </div> <div *ngIf="config.isShowFilter || config.isShowAllCheckBox || config.isShowCollapseExpand" class="divider"></div> </div> </div> <div [ngSwitch]="hasFilterItems"> <div *ngSwitchCase="true" class="treeview-container" [style.max-height.px]="maxHeight"> <ngx-treeview-item *ngFor="let item of filterItems" [item]="item" [template]="template || tpl" (checkedChange)="onItemCheckedChange(item, $event)"> </ngx-treeview-item> </div> <div *ngSwitchCase="false" class="treeview-text"> {{i18n.filterNoItemsFoundText()}} </div> </div>',
styles: [':host /deep/ .fa { margin-right: .2rem; width: .5rem; cursor: pointer; } .treeview-header .row .row-margin { margin-top: .3rem; } .treeview-header .row .row-margin .label-collapse-expand { margin: 0; padding: 0 .3rem; cursor: pointer; } .treeview-header .divider { height: 1px; margin: 0.5rem 0; overflow: hidden; background: #000; } .treeview-container { overflow-x: hidden; overflow-y: auto; padding-right: 18px; } .treeview-text { padding: .3rem 0; white-space: nowrap; } ']

@@ -228,0 +228,0 @@ }),

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc