From 0001181e9c8dbbd88de3fd8739d4ded511c31627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20TINANT?= Date: Thu, 13 Jul 2017 18:20:13 +0200 Subject: [PATCH] feat: Allow unshow more items --- src/lib/index.ts | 1 - .../src/component/tree-select.component.html | 53 ++++++++++++------- .../src/component/tree-select.component.scss | 5 +- .../src/component/tree-select.component.ts | 10 ++-- src/lib/src/module.ts | 4 +- src/lib/src/pipe/isVisible.pipe.ts | 10 ---- 6 files changed, 44 insertions(+), 39 deletions(-) delete mode 100644 src/lib/src/pipe/isVisible.pipe.ts diff --git a/src/lib/index.ts b/src/lib/index.ts index 5517287..46e67a2 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -1,5 +1,4 @@ export { TreeSelectDefaultOptions } from './src/model/tree-select-default-options'; export { TreeSelectComponent } from './src/component/tree-select.component'; export { ItemPipe } from './src/pipe/item.pipe'; -export { IsVisiblePipe } from './src/pipe/isVisible.pipe'; export { NgxTreeSelectModule } from './src/module'; diff --git a/src/lib/src/component/tree-select.component.html b/src/lib/src/component/tree-select.component.html index d59acd7..4036d16 100644 --- a/src/lib/src/component/tree-select.component.html +++ b/src/lib/src/component/tree-select.component.html @@ -2,28 +2,45 @@
- - {{placeholder}} - - {{itm.text}} - x - - (...) - + + {{placeholder}} + + + {{itm.text}} + x + + + + (...) +
-