@rededor/site-front-end-lib 0.0.4-alpha.2 → 0.0.4-alpha.4

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.
@@ -25,6 +25,7 @@ export declare class RdsiteLinkDirective {
25
25
  private phoneClicked;
26
26
  private isExternalUrl;
27
27
  private isSiteUrl;
28
+ private isAnchor;
28
29
  private scrollToAnchor;
29
30
  private navigateTo;
30
31
  static ɵfac: i0.ɵɵFactoryDeclaration<RdsiteLinkDirective, never>;
@@ -2,12 +2,10 @@ import * as i0 from "@angular/core";
2
2
  export declare class PhoneService {
3
3
  private document;
4
4
  private telRegex;
5
- private consultaExameRegex;
6
5
  phoneModalIsAllowed: boolean;
7
6
  constructor(document: Document);
8
7
  /** Verifica se o 'href' é de telefone e se a janela está em tamanho desktop */
9
8
  isPhoneModal(href: string): boolean;
10
- isConsultaOuExame(label?: string): boolean;
11
9
  static ɵfac: i0.ɵɵFactoryDeclaration<PhoneService, never>;
12
10
  static ɵprov: i0.ɵɵInjectableDeclaration<PhoneService>;
13
11
  }
@@ -2,14 +2,11 @@ import { TransferState } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TransferStateService {
4
4
  private readonly transferState;
5
- private platformId;
6
5
  private keys;
7
- constructor(transferState: TransferState, platformId: object);
6
+ constructor(transferState: TransferState);
8
7
  setKey(name: any, response: any | any[]): void;
9
8
  getKey(name: string, defaultValue?: any | any[]): any | any[];
10
9
  remove(name: string): void;
11
- encryptResponseBase64(response: any): string;
12
- decryptResponseBase64(response: any): string;
13
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TransferStateService, never>;
14
11
  static ɵprov: i0.ɵɵInjectableDeclaration<TransferStateService>;
15
12
  }
@@ -1,4 +1,4 @@
1
- import { InjectionToken } from '@angular/core';
1
+ import { ElementRef, InjectionToken } from '@angular/core';
2
2
  export interface LibConfig {
3
3
  production: boolean;
4
4
  server: boolean;
@@ -26,5 +26,6 @@ export interface LibConfig {
26
26
  keywords: string;
27
27
  logoPath?: string;
28
28
  customAnchorAdjustment?: (document: Document) => number;
29
+ customPhoneModalCondition?: (element: ElementRef<any>) => boolean;
29
30
  }
30
31
  export declare const LIB_CONFIG: InjectionToken<LibConfig>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rededor/site-front-end-lib",
3
- "version": "0.0.4-alpha.2",
3
+ "version": "0.0.4-alpha.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",