@wizishop/angular-components 0.0.72 → 0.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular-components.scss +2602 -2602
- package/bundles/wizishop-angular-components.umd.js +160 -10
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +2 -2
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/button/button.component.js +4 -2
- package/esm2015/lib/components/inputs/input/input.component.js +2 -3
- package/esm2015/lib/components/shared-components.module.js +7 -3
- package/esm2015/lib/components/tag/tag.component.js +11 -6
- package/esm2015/lib/components/tree/tree.component.js +17 -0
- package/esm2015/lib/components/tree/tree.dto.js +2 -0
- package/esm2015/lib/components/tree/tree.module.js +20 -0
- package/esm2015/lib/pipes/shared-pipes.module.js +16 -0
- package/esm2015/lib/pipes/tree/format-object-to-recursif-tree.pipe.js +32 -0
- package/esm2015/lib/pipes/tree/format-object-to-simple-tree.pipe.js +41 -0
- package/esm2015/lib/wizi-components.module.js +4 -2
- package/esm2015/public-api.js +6 -1
- package/fesm2015/wizishop-angular-components.js +134 -12
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/button/button.component.d.ts +1 -0
- package/lib/components/tag/tag.component.d.ts +3 -1
- package/lib/components/tree/tree.component.d.ts +8 -0
- package/lib/components/tree/tree.dto.d.ts +6 -0
- package/lib/components/tree/tree.module.d.ts +2 -0
- package/lib/pipes/shared-pipes.module.d.ts +2 -0
- package/lib/pipes/tree/format-object-to-recursif-tree.pipe.d.ts +6 -0
- package/lib/pipes/tree/format-object-to-simple-tree.pipe.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
- package/wizishop-angular-components-0.0.73.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.72.tgz +0 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
1
2
|
export declare class TagComponent {
|
|
2
3
|
label: string;
|
|
3
4
|
class: 'default' | 'success' | 'warning' | 'error' | 'dark' | 'gray' | 'lightgray';
|
|
4
5
|
hasClose: boolean;
|
|
5
|
-
isOpen: boolean;
|
|
6
6
|
big: boolean;
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
isOpenChange: EventEmitter<boolean>;
|
|
7
9
|
constructor();
|
|
8
10
|
closeTag(): void;
|
|
9
11
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { RecursifDto, TreeDto } from './tree.dto';
|
|
3
|
+
export declare class TreeComponent implements OnInit {
|
|
4
|
+
items: (RecursifDto[] | TreeDto[]);
|
|
5
|
+
optionTemplateRef: TemplateRef<any>;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class FormatObjectToRecursifTreePipe implements PipeTransform {
|
|
3
|
+
childrenProperties: string[];
|
|
4
|
+
transform(objectList: any[], childrenProperties: string[]): any;
|
|
5
|
+
private recursiveFormatObjectToRecursifTree;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
export declare class FormatObjectToSimpleTreePipe implements PipeTransform {
|
|
3
|
+
private childrenProperties;
|
|
4
|
+
private labelProperties;
|
|
5
|
+
transform(objectList: any[], childrenProperties: string[], labelProperties: string[]): any;
|
|
6
|
+
private recursiveFormatObjectToSimpleTree;
|
|
7
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -72,3 +72,8 @@ export * from './lib/components/search/search.component';
|
|
|
72
72
|
export * from './lib/components/selected-list/selected-list.component';
|
|
73
73
|
export * from './lib/components/selected-list/shared/selected-list-option.model';
|
|
74
74
|
export * from './lib/components/search/shared/search-option.model';
|
|
75
|
+
export * from './lib/components/tree/tree.component';
|
|
76
|
+
export * from './lib/components/tree/tree.module';
|
|
77
|
+
export * from './lib/pipes/shared-pipes.module';
|
|
78
|
+
export * from './lib/pipes/tree/format-object-to-recursif-tree.pipe';
|
|
79
|
+
export * from './lib/pipes/tree/format-object-to-simple-tree.pipe';
|
|
Binary file
|