simpo-component-library 1.5.30 → 1.5.31

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  }
@@ -7,12 +7,12 @@ export interface CategoryProductModal {
7
7
  content: CategoryProductContentModal;
8
8
  styles: CategoryProductStylesModel;
9
9
  action: ActionModel;
10
- data: CategoryProductData;
11
10
  }
12
11
  export interface CategoryProductContentModal {
13
12
  inputText: InputTextModel[];
14
13
  display: Display;
15
14
  button: string;
15
+ collectionId: string;
16
16
  }
17
17
  export interface Display {
18
18
  showHeading: boolean;
@@ -26,6 +26,3 @@ export interface CategoryProductStylesModel extends StylesModel {
26
26
  elementInRow: number;
27
27
  mobileColumn: number;
28
28
  }
29
- export interface CategoryProductData {
30
- collectionId: string;
31
- }
@@ -11,4 +11,7 @@ export interface FeaturedCategoryContentModal {
11
11
  }
12
12
  export interface FeaturedCategoryStylesModel extends StylesModel {
13
13
  maximumProduct: number;
14
+ direction: "ROW" | "COLUMN";
15
+ containerHeight: number;
16
+ containerWidth: number;
14
17
  }
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
15
15
  style?: PricingSectionStylesModel;
16
16
  constructor(_eventService: EventsService);
17
17
  ngOnInit(): void;
18
- getTextColor(): "#ffffff" | "#000000";
18
+ getTextColor(): "#000000" | "#ffffff";
19
19
  get headingSpace(): SPACING;
20
20
  editSection(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
@@ -40,6 +40,7 @@ export declare class EventsService implements OnInit {
40
40
  placeOrder: EventEmitter<unknown>;
41
41
  featureCollectionList: EventEmitter<unknown>;
42
42
  environmentType: EventEmitter<string>;
43
+ categoryProductList: EventEmitter<string>;
43
44
  showLoadingScreen: EventEmitter<boolean>;
44
45
  cashFreeEvent: EventEmitter<unknown>;
45
46
  addressAddedIdx: EventEmitter<number>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.5.30",
3
+ "version": "1.5.31",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file