@wizishop/angular-components 0.0.72 → 0.0.75

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.
Files changed (32) hide show
  1. package/angular-components.scss +3236 -3235
  2. package/bundles/wizishop-angular-components.umd.js +173 -10
  3. package/bundles/wizishop-angular-components.umd.js.map +1 -1
  4. package/bundles/wizishop-angular-components.umd.min.js +2 -2
  5. package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
  6. package/esm2015/lib/components/button/button.component.js +4 -2
  7. package/esm2015/lib/components/inputs/input/input.component.js +2 -3
  8. package/esm2015/lib/components/shared-components.module.js +7 -3
  9. package/esm2015/lib/components/tag/tag.component.js +11 -6
  10. package/esm2015/lib/components/tree/tree.component.js +20 -0
  11. package/esm2015/lib/components/tree/tree.dto.js +2 -0
  12. package/esm2015/lib/components/tree/tree.module.js +20 -0
  13. package/esm2015/lib/pipes/shared-pipes.module.js +16 -0
  14. package/esm2015/lib/pipes/tree/format-object-to-recursif-tree.pipe.js +39 -0
  15. package/esm2015/lib/pipes/tree/format-object-to-simple-tree.pipe.js +45 -0
  16. package/esm2015/lib/wizi-components.module.js +4 -2
  17. package/esm2015/public-api.js +6 -1
  18. package/fesm2015/wizishop-angular-components.js +147 -11
  19. package/fesm2015/wizishop-angular-components.js.map +1 -1
  20. package/lib/components/button/button.component.d.ts +1 -0
  21. package/lib/components/tag/tag.component.d.ts +3 -1
  22. package/lib/components/tree/tree.component.d.ts +9 -0
  23. package/lib/components/tree/tree.dto.d.ts +8 -0
  24. package/lib/components/tree/tree.module.d.ts +2 -0
  25. package/lib/pipes/shared-pipes.module.d.ts +2 -0
  26. package/lib/pipes/tree/format-object-to-recursif-tree.pipe.d.ts +6 -0
  27. package/lib/pipes/tree/format-object-to-simple-tree.pipe.d.ts +7 -0
  28. package/package.json +1 -1
  29. package/public-api.d.ts +5 -0
  30. package/wizishop-angular-components-0.0.75.tgz +0 -0
  31. package/wizishop-angular-components.metadata.json +1 -1
  32. package/wizishop-angular-components-0.0.72.tgz +0 -0
@@ -5,6 +5,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
5
5
  icon: string;
6
6
  iconNext: string;
7
7
  widthAuto: boolean;
8
+ contentHorizontalPosition: 'left' | 'center' | 'right';
8
9
  iconFontSize: number;
9
10
  hasLoader: boolean;
10
11
  disabled: boolean;
@@ -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,9 @@
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
+ treeDepth: number;
6
+ optionTemplate: TemplateRef<any>;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ }
@@ -0,0 +1,8 @@
1
+ export interface TreeDto extends RecursifDto {
2
+ treeLabel: string;
3
+ }
4
+ export interface RecursifDto {
5
+ treeDepth: number;
6
+ hasTreeChrildren: boolean;
7
+ treeChildren?: TreeDto[];
8
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TreeModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export declare class SharedPipes {
2
+ }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "0.0.72",
3
+ "version": "0.0.75",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^11.2.12",
6
6
  "@angular/core": "^11.2.12",
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';