@rededor/site-front-end-lib 0.0.43 → 0.0.45

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.
@@ -1,10 +1,11 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { AlgoliaConfig, AlgoliaSearchParams } from '../../models/algolia-search-api.model';
3
3
  import { AlgoliaSearchApiService } from '../../services/algolia-search-api/algolia-search-api.service';
4
4
  import { AlgoliaOption } from '../../models/algolia.model';
5
5
  import * as i0 from "@angular/core";
6
- export declare class AlgoliaComponent {
6
+ export declare class AlgoliaComponent implements OnInit {
7
7
  private readonly algoliaSearchApiService;
8
+ private readonly platformId;
8
9
  compAlgoliaConfig: AlgoliaConfig;
9
10
  get algoliaConfig(): AlgoliaConfig;
10
11
  set algoliaConfig(config: AlgoliaConfig);
@@ -24,9 +25,16 @@ export declare class AlgoliaComponent {
24
25
  searchTerm: string;
25
26
  isMultiple: boolean;
26
27
  ready: boolean;
28
+ isMobile: boolean;
29
+ isSafari: boolean;
30
+ mediumBreakpoint: number;
31
+ scrollY: number;
27
32
  resetItem: EventEmitter<{}>;
28
33
  algoliaResults: EventEmitter<{}>;
29
- constructor(algoliaSearchApiService: AlgoliaSearchApiService);
34
+ constructor(algoliaSearchApiService: AlgoliaSearchApiService, platformId: object);
35
+ ngOnInit(): void;
36
+ manageFocusSafari(): void;
37
+ manageScrollPosition(): void;
30
38
  resetValues(): void;
31
39
  termChange(event: any): void;
32
40
  setupAlgolia(config: AlgoliaConfig): boolean;
@@ -0,0 +1,2 @@
1
+ declare const checkSafariAgent: () => boolean;
2
+ export default checkSafariAgent;
@@ -1,5 +1,7 @@
1
1
  export * from './removeDuplicateObjectsFromArray.func';
2
2
  export * from './removeDuplicateValuesFromArray.func';
3
+ export * from './formatPhone.func';
3
4
  export * from './getSiteUrl.func';
4
5
  export * from './removeHtmlTags.func';
5
6
  export * from './toQueryParams.func';
7
+ export * from './check-safari-agent.func';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rededor/site-front-end-lib",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",