simpo-component-library 3.6.129 → 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 (21) 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/ecommerce/sections/authentication-required/authentication-required.component.d.ts +12 -2
  15. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  16. package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
  17. package/lib/sections/appointment-form/appointment-form.component.d.ts +6 -2
  18. package/package.json +1 -1
  19. package/simpo-component-library-3.6.131.tgz +0 -0
  20. package/src/lib/styles/global-styles.css +2 -2
  21. package/simpo-component-library-3.6.129.tgz +0 -0
@@ -62,8 +62,18 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
62
62
  validateOTP(event: KeyboardEvent): void;
63
63
  checkStrength(): void;
64
64
  getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
65
- get isEmailValid(): boolean;
66
- get isPasswordValid(): boolean;
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;
@@ -104,7 +104,7 @@ export declare class ProductDescComponent extends BaseSection {
104
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;
@@ -17,7 +17,7 @@ export declare class StorePageComponent extends BaseSection {
17
17
  storeData: any;
18
18
  getStoreDetails(storeId: string): void;
19
19
  getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
20
- getTime(storeHours: any, type: string): any;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.129",
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