simpo-component-library 1.6.84 → 1.6.86

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.
@@ -0,0 +1,15 @@
1
+ import { Renderer2 } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class ImageLoadingComponent {
4
+ private renderer;
5
+ hash: string | undefined | null;
6
+ image: HTMLImageElement | undefined;
7
+ private canvas;
8
+ constructor(renderer: Renderer2);
9
+ ngOnInit(): void;
10
+ ngAfterViewInit(): void;
11
+ ngOnDestroy(): void;
12
+ private onImageLoad;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageLoadingComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageLoadingComponent, "image-loading", never, { "hash": { "alias": "hash"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, never, true, never>;
15
+ }
@@ -23,6 +23,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
23
23
  ngOnInit(): void;
24
24
  getSliceParameters(): number[];
25
25
  getCollectionsIds(): void;
26
+ dropCollection(startIdx: number, endIdx: number): void;
26
27
  redirectToListPage(collection: any): void;
27
28
  get stylesLayout(): LayOutModel;
28
29
  get getDirection(): "ROW" | "COLUMN" | undefined;
@@ -82,17 +82,13 @@ export interface ItemVariant {
82
82
  quantity: number;
83
83
  wishlist: boolean;
84
84
  variantName: string;
85
- variantImages: VariantImage[];
85
+ variantImages: ItemImage[];
86
86
  itemPacks: ItemPack[];
87
87
  properties: any;
88
88
  itemVariantPrice: ItemVariantPrice;
89
89
  itemInventory: ItemInventory2;
90
90
  itemStatus: string;
91
91
  }
92
- export interface VariantImage {
93
- imgUrl: string;
94
- imgDesc: string;
95
- }
96
92
  export interface ItemPack {
97
93
  itemPackId: string;
98
94
  packName: string;
@@ -135,6 +131,7 @@ export interface ItemInventory2 {
135
131
  }
136
132
  export interface ItemImage {
137
133
  imgUrl: string;
134
+ blurhash: string;
138
135
  imgDesc: string;
139
136
  }
140
137
  export interface ItemPack2 {
@@ -22,7 +22,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
22
22
  constructor(_eventService: EventsService);
23
23
  ngOnInit(): void;
24
24
  get stylesLayout(): LayOutModel;
25
- get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
25
+ get getBlurValue(): "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | "NONE" | undefined;
26
26
  get getBackgroundColor(): BackgroundModel;
27
27
  get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
28
28
  opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
@@ -2,6 +2,7 @@ import { ElementRef } from '@angular/core';
2
2
  import { ImageContentModal, imageSectionModel, imageSectionStylesModel } from './image-section.model';
3
3
  import { EventsService } from './../../services/events.service';
4
4
  import BaseSection from '../BaseSection';
5
+ import { OverlayValue } from "../../styles/index";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class ImageSectionComponent extends BaseSection {
7
8
  private _eventService;
@@ -16,6 +17,8 @@ export declare class ImageSectionComponent extends BaseSection {
16
17
  constructor(_eventService: EventsService);
17
18
  ngOnInit(): void;
18
19
  get canMergeNavbar(): boolean | undefined;
20
+ get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
21
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
19
22
  editSection(): void;
20
23
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
21
24
  static ɵcmp: i0.ɵɵComponentDeclaration<ImageSectionComponent, "simpo-image-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.84",
3
+ "version": "1.6.86",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file
Binary file