simpo-component-library 3.6.130 → 3.6.131

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 (31) hide show
  1. package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +55 -6
  2. package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +1 -3
  3. package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +3 -2
  4. package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +24 -6
  5. package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
  6. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +3 -3
  7. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +10 -10
  8. package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -2
  9. package/esm2022/lib/sections/appointment-form/appointment-form.component.mjs +54 -68
  10. package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -3
  11. package/esm2022/lib/services/rest.service.mjs +9 -4
  12. package/fesm2022/simpo-component-library.mjs +157 -99
  13. package/fesm2022/simpo-component-library.mjs.map +1 -1
  14. package/lib/directive/background-directive.d.ts +1 -1
  15. package/lib/directive/button-directive.directive.d.ts +1 -1
  16. package/lib/directive/color.directive.d.ts +1 -1
  17. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +13 -3
  18. package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
  19. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +2 -2
  20. package/lib/ecommerce/sections/store-list/store-list.component.d.ts +1 -1
  21. package/lib/ecommerce/sections/store-page/store-page.component.d.ts +2 -2
  22. package/lib/sections/appointment-form/appointment-form.component.d.ts +6 -2
  23. package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
  24. package/lib/sections/contact-us/contact-us.component.d.ts +1 -1
  25. package/lib/sections/header-section/header-section.component.d.ts +1 -1
  26. package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
  27. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  28. package/package.json +1 -1
  29. package/simpo-component-library-3.6.131.tgz +0 -0
  30. package/src/lib/styles/global-styles.css +2 -2
  31. package/simpo-component-library-3.6.130.tgz +0 -0
@@ -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
  }
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
16
16
  applyButtonStyleChanges(): void;
17
17
  applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
18
18
  applyButtonShape(style: ButtonStyleModel): void;
19
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
19
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
20
20
  buttonStyleSubscription?: Subscription;
21
21
  buttonStyleChangeCheck(): void;
22
22
  changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): 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
  }
@@ -61,9 +61,19 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
61
61
  validateNumber(event: KeyboardEvent): void;
62
62
  validateOTP(event: KeyboardEvent): void;
63
63
  checkStrength(): void;
64
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
65
- get isEmailValid(): boolean;
66
- get isPasswordValid(): boolean;
64
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
65
+ emailDebounceTimer: any;
66
+ onEmailChange(): void;
67
+ emailCheck: boolean;
68
+ isEmailValid(): boolean;
69
+ passwordDebounceTimer: any;
70
+ onPasswordChange(): void;
71
+ passwordCheck: boolean;
72
+ isPasswordValid(): boolean;
73
+ mobileDebounceTimer: any;
74
+ onMobileChange(): void;
75
+ mobileCheck: boolean;
76
+ mobileNumberValid(): boolean;
67
77
  get isMobile(): boolean;
68
78
  get stylesLayout(): LayOutModel;
69
79
  get accentColor(): string;
@@ -30,7 +30,7 @@ export declare class NewCollectionComponent extends BaseSection {
30
30
  get getDirection(): "ROW" | "COLUMN" | undefined;
31
31
  get isMobile(): boolean;
32
32
  editSection(): void;
33
- getColor(color: any): "#ffffff" | "#000000";
33
+ getColor(color: any): "#000000" | "#ffffff";
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
35
35
  static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
36
36
  }
@@ -101,10 +101,10 @@ export declare class ProductDescComponent extends BaseSection {
101
101
  getDifference(sellingPrice: any, mrp: any): number;
102
102
  getBackgroundColor(type: string): "#FFF4D1" | "#EFE1F4" | "linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%)" | "#e2f6ff";
103
103
  getHeaderColor(type: string): "#FDCD33" | "#9D43B8" | "linear-gradient(180deg, #BDBDBD 0%, #E2E2E2 100%)" | "linear-gradient(159deg, rgba(65,105,225,1) 0%, rgba(137,207,240,1) 100%)";
104
- getTextColor(color: any): "#ffffff" | "#000000";
104
+ getTextColor(color: any): "#000000" | "#ffffff";
105
105
  languages: string[];
106
106
  selectedLang: string;
107
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
107
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
108
108
  onFindInStore(id: string): void;
109
109
  onBookAppointment(): void;
110
110
  isDetails: boolean;
@@ -27,7 +27,7 @@ export declare class StoreListComponent extends BaseSection {
27
27
  loader: boolean;
28
28
  error: boolean;
29
29
  getStoreDetails(): void;
30
- getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
30
+ getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
31
31
  openWhatsapp(phone: string): void;
32
32
  viewStore(storeId: string): void;
33
33
  getTime(storeHours: any, type: string): any;
@@ -16,8 +16,8 @@ export declare class StorePageComponent extends BaseSection {
16
16
  ngOnInit(): void;
17
17
  storeData: any;
18
18
  getStoreDetails(storeId: string): void;
19
- getTextColor(bgColor: any): "#ffffff" | "#000000" | "#ffffff;";
20
- getTime(storeHours: any, type: string): any;
19
+ getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
20
+ getTime(storeHours: any): string | undefined;
21
21
  removeUnderScore(text: string): string;
22
22
  openWhatsapp(phone: string): void;
23
23
  dialNumber(phone: string): void;
@@ -51,9 +51,13 @@ export declare class AppointmentFormComponent extends BaseSection implements OnI
51
51
  bookedSlots: Set<unknown>;
52
52
  locationTiming: string[];
53
53
  changeDate(): void;
54
+ startIndex: any;
55
+ endIndex: any;
56
+ disableTimeSlots(staffWorkingHours: any): void;
54
57
  getAvailableSlots(): void;
55
58
  getBookedSlots(res: any): void;
56
- getTime(start: string, end: string, intervalMinutes: number): string[];
59
+ getTimeSlotsBetween(start: Date, end: Date, intervalMinutes: number): string[];
60
+ isTimeSlotDisabled(time: string, index: number): boolean;
57
61
  generateTimeSlots(startTime: string, endTime: string): string[] | undefined;
58
62
  parseTime(time: string): [number, number, string];
59
63
  locationData: any;
@@ -68,7 +72,7 @@ export declare class AppointmentFormComponent extends BaseSection implements OnI
68
72
  getTimeSlots(): void;
69
73
  filterTimeSlots(): void;
70
74
  dateFilter: (date: Date | null) => boolean;
71
- selectedServices: string;
75
+ selectedServices: any;
72
76
  selectedStaff: string;
73
77
  CreateData: any;
74
78
  prepareCreateData(): void;
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
27
27
  get spacingLayout(): SpacingModel;
28
28
  get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
29
29
  get fitLayout(): import("simpo-component-library").FIT | undefined;
30
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
30
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
32
32
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
33
33
  }
@@ -28,7 +28,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
28
28
  editSection(): void;
29
29
  canShowContactField(field: any): any;
30
30
  getCardStyle(): {};
31
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
31
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
33
33
  static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", 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; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
34
34
  }
@@ -73,7 +73,7 @@ export declare class HeaderSectionComponent implements OnInit {
73
73
  get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
74
74
  get getNavbarButton(): any[];
75
75
  isScrolled: boolean;
76
- setColor(): "#ffffff" | "#000000";
76
+ setColor(): "#000000" | "#ffffff";
77
77
  showList: boolean;
78
78
  showCollections: boolean;
79
79
  categoryList: any;
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
22
22
  private transitionToNext;
23
23
  isItemVisible(index: number): boolean;
24
24
  getItemClass(index: number): string;
25
- getTextColor(bgColor: string): "#ffffff" | "#000000";
25
+ getTextColor(bgColor: string): "#000000" | "#ffffff";
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
28
28
  }
@@ -18,7 +18,7 @@ export declare class PricingSectionComponent extends BaseSection {
18
18
  constructor(_eventService: EventsService);
19
19
  ngOnInit(): void;
20
20
  get stylesLayout(): LayOutModel;
21
- getTextColor(): "#ffffff" | "#000000";
21
+ getTextColor(): "#000000" | "#ffffff";
22
22
  get headingSpace(): SPACING;
23
23
  getButtonId(): string;
24
24
  editSection(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.130",
3
+ "version": "3.6.131",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
@@ -224,7 +224,7 @@
224
224
 
225
225
  .video-call-dialog {
226
226
  width: 55% !important;
227
- height: 75vh !important;
227
+ height: 85vh !important;
228
228
  border-radius: 18px !important;
229
229
 
230
230
  .mat-mdc-dialog-surface {
@@ -239,4 +239,4 @@
239
239
  }
240
240
  .p-icon{
241
241
  color: gold;
242
- }
242
+ }
Binary file