@wizishop/angular-components 0.0.173 → 0.0.176

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.
@@ -1,6 +1,7 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  export declare class BlockWithCheckboxComponent implements OnInit {
3
3
  selected: boolean;
4
+ disabled: boolean;
4
5
  iconCopy: string;
5
6
  iconWorld: string;
6
7
  copyAction: EventEmitter<boolean>;
@@ -18,6 +18,9 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
18
18
  confirmDelete: boolean;
19
19
  confirmDeleteText: string;
20
20
  coin: number | string;
21
+ tooltip: string;
22
+ tooltipWidth: string;
23
+ tooltipPosition: 'top-center' | 'top-right' | 'top-left' | 'bottom-center' | 'bottom-right' | 'bottom-left' | 'left' | 'right';
21
24
  confirmDeletePosition: string;
22
25
  click: EventEmitter<MouseEvent>;
23
26
  set isLoading(isLoading: boolean);
@@ -2,17 +2,24 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  export declare class CardPriceComponent implements OnInit {
3
3
  amount: string;
4
4
  title: string;
5
+ selected: boolean;
6
+ btnLabelSelected: string;
5
7
  price: string | number;
6
8
  currency: string;
7
9
  priceWording: string;
8
10
  subtitle: string;
9
11
  btnLabel: string;
12
+ packageSubtitle: string;
13
+ linkPackageLabel: string;
10
14
  disabled: boolean;
11
15
  btnTextcolor: string;
12
16
  extraClasses: string;
17
+ extraClassesSelected: string;
13
18
  hideButton: boolean;
14
19
  click: EventEmitter<any>;
20
+ removePackage: EventEmitter<any>;
15
21
  constructor();
16
22
  ngOnInit(): void;
17
23
  triggerClick(): void;
24
+ removePackageTrigger(): void;
18
25
  }
@@ -0,0 +1,5 @@
1
+ import { OnInit } from '@angular/core';
2
+ export declare class ContentWithButtonsComponent implements OnInit {
3
+ constructor();
4
+ ngOnInit(): void;
5
+ }
@@ -1,22 +1,24 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
1
+ import { EventEmitter, SimpleChanges, TemplateRef } from '@angular/core';
2
2
  export declare type ImageSource = string;
3
3
  export declare type ImageAlt = string;
4
4
  export declare type MosaicImage = {
5
5
  src: ImageSource;
6
6
  alt: ImageAlt;
7
7
  };
8
+ export declare type MosaicImages = Readonly<MosaicImage[]>;
8
9
  export declare class MosaicComponent {
9
- set imagesList(imagesList: MosaicImage[]);
10
- get imagesList(): MosaicImage[];
11
- _imagesList: MosaicImage[];
10
+ imagesList: MosaicImages;
12
11
  isLoading: boolean;
13
12
  numberOfColumn: number;
14
- importButtonTemplate: TemplateRef<any>;
13
+ hoverImageTemplate: TemplateRef<any>;
15
14
  importImageSrc: EventEmitter<string>;
16
- columns: MosaicImage[][];
15
+ loadMoreImages: EventEmitter<void>;
16
+ columns: MosaicImages[];
17
17
  constructor();
18
- generateColumns(): void;
19
- sliceIntoChunks(): MosaicImage[][];
18
+ ngOnChanges(changes: SimpleChanges): void;
19
+ generateColumns(previousList: MosaicImages, currentList: MosaicImages, isNumberOfColumnChange: boolean): void;
20
+ separateImagesIntoColumns(newImagesToDisplay: MosaicImages): MosaicImages[];
21
+ concatColumns(oldColumns: MosaicImages[], newColumns: MosaicImages[]): MosaicImages[];
20
22
  onBottomReached(): void;
21
23
  onImportImage(src: ImageSource): void;
22
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wizishop/angular-components",
3
- "version": "0.0.173",
3
+ "version": "0.0.176",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^11.2.12",
6
6
  "@angular/core": "^11.2.12",
package/public-api.d.ts CHANGED
@@ -79,6 +79,7 @@ export * from './lib/components/block-with-checkbox/block-with-checkbox.componen
79
79
  export * from './lib/components/confirm-delete/confirm-delete.component';
80
80
  export * from './lib/components/search/search.component';
81
81
  export * from './lib/components/mosaic/mosaic.component';
82
+ export * from './lib/components/content-with-buttons/content-with-buttons.component';
82
83
  export * from './lib/components/selected-list/selected-list.component';
83
84
  export * from './lib/components/selected-list/shared/selected-list-option.model';
84
85
  export * from './lib/components/search/shared/search-option.model';