simpo-component-library 1.6.85 → 1.6.87

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
+ }
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
11
11
  constructor(el: ElementRef, eventService: EventsService);
12
12
  ngOnDestroy(): void;
13
13
  ngOnChanges(change: SimpleChanges): void;
14
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
16
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
17
17
  }
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
15
15
  applyButtonStyleChanges(): void;
16
16
  applyButtonType(style: ButtonStyleModel, color: string): void;
17
17
  applyButtonShape(style: ButtonStyleModel): void;
18
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
18
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
19
19
  buttonStyleSubscription?: Subscription;
20
20
  buttonStyleChangeCheck(): void;
21
21
  changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
12
12
  ngOnDestroy(): void;
13
13
  applyColor(): void;
14
14
  bgColorChangeCheck(): void;
15
- getTextColor(): "#ffffff" | "#000000" | "#ffffff;";
15
+ getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
17
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
18
18
  }
@@ -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(): "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | "NONE" | undefined;
25
+ get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | 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";
@@ -17,8 +17,8 @@ export declare class ImageSectionComponent extends BaseSection {
17
17
  constructor(_eventService: EventsService);
18
18
  ngOnInit(): void;
19
19
  get canMergeNavbar(): boolean | undefined;
20
- get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
21
- opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
20
+ get getBackgroundOpacity(): "1" | "0.2" | "0.3" | "0.5" | "0.7";
21
+ opacityValue(value: OverlayValue): "1" | "0.2" | "0.3" | "0.5" | "0.7";
22
22
  editSection(): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
24
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>;
@@ -16,7 +16,7 @@ export declare class PricingSectionComponent extends BaseSection {
16
16
  style?: PricingSectionStylesModel;
17
17
  constructor(_eventService: EventsService);
18
18
  ngOnInit(): void;
19
- getTextColor(): "#ffffff" | "#000000";
19
+ getTextColor(): "#000000" | "#ffffff";
20
20
  get headingSpace(): SPACING;
21
21
  editSection(): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
@@ -143,6 +143,7 @@ export interface InputTextModel {
143
143
  export interface Image {
144
144
  id: string;
145
145
  url: string;
146
+ blurhash: string;
146
147
  altText: string;
147
148
  position: PositionModel;
148
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.85",
3
+ "version": "1.6.87",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file