simpo-component-library 3.6.525 → 3.6.527

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 (26) hide show
  1. package/esm2022/lib/directive/button-editor.directive.mjs +4 -4
  2. package/esm2022/lib/ecommerce/sections/store-list/store-list.component.mjs +10 -3
  3. package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +6 -3
  4. package/esm2022/lib/elements/link-editor/link-editor.component.mjs +2 -1
  5. package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +2 -2
  6. package/esm2022/lib/sections/blog-list/blog-list.component.mjs +7 -3
  7. package/esm2022/lib/sections/header-section/header-section.component.mjs +4 -4
  8. package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +62 -5
  9. package/esm2022/lib/sections/view-blog/view-blog.component.mjs +3 -3
  10. package/esm2022/lib/services/rest.service.mjs +8 -5
  11. package/esm2022/lib/tokens/api-token.mjs +2 -1
  12. package/fesm2022/simpo-component-library.mjs +96 -23
  13. package/fesm2022/simpo-component-library.mjs.map +1 -1
  14. package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
  15. package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
  16. package/lib/ecommerce/sections/schemes/schemes.component.d.ts +1 -1
  17. package/lib/ecommerce/sections/store-list/store-list.component.d.ts +2 -1
  18. package/lib/ecommerce/sections/store-page/store-page.component.d.ts +2 -0
  19. package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
  20. package/lib/sections/image-grid-section/image-grid-section.component.d.ts +14 -0
  21. package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
  22. package/lib/services/rest.service.d.ts +2 -2
  23. package/lib/tokens/api-token.d.ts +1 -0
  24. package/package.json +1 -1
  25. package/simpo-component-library-3.6.527.tgz +0 -0
  26. package/simpo-component-library-3.6.525.tgz +0 -0
@@ -64,7 +64,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
64
64
  validateNumber(event: KeyboardEvent): void;
65
65
  validateOTP(event: KeyboardEvent): void;
66
66
  checkStrength(): void;
67
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
67
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
68
68
  emailDebounceTimer: any;
69
69
  onEmailChange(): void;
70
70
  emailCheck: boolean;
@@ -114,7 +114,7 @@ export declare class ProductDescComponent extends BaseSection {
114
114
  getTextColor(color: any): "#000000" | "#ffffff";
115
115
  languages: string[];
116
116
  selectedLang: string;
117
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
117
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
118
118
  onFindInStore(id: string): void;
119
119
  onBookAppointment(): void;
120
120
  isDetails: boolean;
@@ -21,7 +21,7 @@ export declare class SchemesComponent extends BaseSection {
21
21
  get stylesLayout(): LayOutModel;
22
22
  get spacingLayout(): SpacingModel;
23
23
  getParentClass(): "" | "overflow-scroll flex-nowrap";
24
- getClass(index: number): "col-12" | "col-6" | "col-6 mb-2" | "col-12 mb-2";
24
+ getClass(index: number): "col-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
25
25
  showSchemeDetails(scheme: any): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
27
27
  static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
@@ -2,7 +2,7 @@ import BaseSection from '../../../sections/BaseSection';
2
2
  import { StoreListModal, StoreListStyleModel } from './store-list.modal';
3
3
  import { RestService } from '../../../services/rest.service';
4
4
  import { Router } from '@angular/router';
5
- import { ButtonModel } from '../../../styles/style.model';
5
+ import { ButtonModel, LayOutModel } from '../../../styles/style.model';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class StoreListComponent extends BaseSection {
8
8
  private restService;
@@ -23,6 +23,7 @@ export declare class StoreListComponent extends BaseSection {
23
23
  pincode: any;
24
24
  storePayload: any;
25
25
  getDataWithPincode(): void;
26
+ get stylesLayout(): LayOutModel;
26
27
  showMessage: boolean;
27
28
  totalCount: number;
28
29
  submit: boolean;
@@ -2,6 +2,7 @@ import BaseSection from '../../../sections/BaseSection';
2
2
  import { StorePageStyleModel, StorePageModal } from './store-page.model';
3
3
  import { RestService } from '../../../services/rest.service';
4
4
  import { ActivatedRoute } from '@angular/router';
5
+ import { LayOutModel } from '../../../styles/style.model';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class StorePageComponent extends BaseSection {
7
8
  private restService;
@@ -22,6 +23,7 @@ export declare class StorePageComponent extends BaseSection {
22
23
  removeUnderScore(text: string): string;
23
24
  openWhatsapp(phone: string): void;
24
25
  dialNumber(phone: string): void;
26
+ get stylesLayout(): LayOutModel;
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<StorePageComponent, never>;
26
28
  static ɵcmp: i0.ɵɵComponentDeclaration<StorePageComponent, "simpo-store-page", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
27
29
  }
@@ -31,7 +31,7 @@ export declare class LinkEditorComponent {
31
31
  changeButtonStyle(): void;
32
32
  getContrastTextColor(backgroundHex: any): void;
33
33
  backgroundType: string[];
34
- setBorderRadius(): "0px" | "99px" | "7px";
34
+ setBorderRadius(): "0px" | "7px" | "99px";
35
35
  setBorder(): string;
36
36
  setColor(): any;
37
37
  setBackground(): any;
@@ -7,6 +7,7 @@ import { BackgroundModel, LayOutModel } from '../../styles/style.model';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class ImageGridSectionComponent extends BaseSection {
9
9
  private _eventService;
10
+ imagegrid: ElementRef<HTMLElement>;
10
11
  data?: ImageGridSectionModel;
11
12
  index?: number;
12
13
  edit?: boolean;
@@ -22,6 +23,19 @@ export declare class ImageGridSectionComponent extends BaseSection {
22
23
  get headingSpace(): SPACING;
23
24
  editSection(): void;
24
25
  getLength(): number;
26
+ getJustifyContent(): "" | import("simpo-component-library").ALIGN | "flex-start";
27
+ private get scrollStep();
28
+ scrollRight(): void;
29
+ isOverflowing: boolean;
30
+ atStart: boolean;
31
+ atEnd: boolean;
32
+ private ro?;
33
+ ngAfterViewInit(): void;
34
+ ngOnDestroy(): void;
35
+ private updateEdges;
36
+ checkOverflow(): void;
37
+ onScroll(): void;
38
+ scrollLeft(): void;
25
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageGridSectionComponent, never>;
26
40
  static ɵcmp: i0.ɵɵComponentDeclaration<ImageGridSectionComponent, "simpo-image-grid-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
27
41
  }
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
23
23
  getButtonId(): string;
24
24
  editSection(): void;
25
25
  redirectTo(): void;
26
- getClass(): "col-4" | "col-12" | "col-6" | "col-3";
26
+ getClass(): "col-6" | "col-4" | "col-3" | "col-12";
27
27
  getAlignment(): "justify-content-start" | "justify-content-center" | "justify-content-end";
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
29
29
  static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
@@ -15,12 +15,12 @@ export declare class RestService implements OnDestroy {
15
15
  private readonly cookieService;
16
16
  private storage;
17
17
  private PASSBOOK_URL;
18
+ private APPOINTMENT_URL;
18
19
  private environmentTypeSubscriber;
19
20
  businessDetails: any;
20
21
  subIndustryName: any;
21
22
  isJewellery: boolean;
22
- APPOINTMENT_URL: string;
23
- constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService, storage: StorageLike, PASSBOOK_URL: string);
23
+ constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService, storage: StorageLike, PASSBOOK_URL: string, APPOINTMENT_URL: string);
24
24
  orraBaseUrl: string;
25
25
  getBusinessDetails(): void;
26
26
  ngOnDestroy(): void;
@@ -4,3 +4,4 @@ export declare const ECOMMERCE_URL: InjectionToken<String>;
4
4
  export declare const CMIS_URL: InjectionToken<String>;
5
5
  export declare const BUCKET_URL: InjectionToken<String>;
6
6
  export declare const PASSBOOK_URL: InjectionToken<String>;
7
+ export declare const APPOINTMENT_URL: InjectionToken<String>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.525",
3
+ "version": "3.6.527",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file