@rededor/site-front-end-lib 1.0.41 → 1.0.43
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.
- package/esm2022/lib/components/filter-letter-and-terms/filter-letter-and-terms.component.mjs +51 -8
- package/esm2022/lib/services/site-back-end/site-back-end.service.mjs +6 -19
- package/fesm2022/rededor-site-front-end-lib.mjs +54 -15510
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/lib/components/filter-letter-and-terms/filter-letter-and-terms.component.d.ts +13 -5
- package/lib/services/site-back-end/site-back-end.service.d.ts +1 -3
- package/package.json +1 -1
- package/esm2022/lib/json/unidades.json +0 -10179
- package/esm2022/lib/json/unidadesOnco.json +0 -4936
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { CuraService } from '../../services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FilterLetterAndTermsComponent {
|
|
4
|
+
export declare class FilterLetterAndTermsComponent implements AfterViewInit {
|
|
5
5
|
private readonly curaService;
|
|
6
|
+
private document;
|
|
7
|
+
private readonly platformId;
|
|
6
8
|
options: string[];
|
|
7
9
|
baseUrl: string;
|
|
8
|
-
|
|
10
|
+
enableScroll: boolean;
|
|
11
|
+
private isFirstScroll;
|
|
12
|
+
private _selectedOption;
|
|
13
|
+
set selectedOption(value: string);
|
|
14
|
+
get selectedOption(): string;
|
|
9
15
|
optionSelected: EventEmitter<string>;
|
|
10
16
|
get style(): {
|
|
11
17
|
'--font-family': string | null;
|
|
@@ -16,8 +22,10 @@ export declare class FilterLetterAndTermsComponent {
|
|
|
16
22
|
'--color-one-dark': string | null;
|
|
17
23
|
'--color-one-darker': string | null;
|
|
18
24
|
};
|
|
19
|
-
constructor(curaService: CuraService);
|
|
25
|
+
constructor(curaService: CuraService, document: Document, platformId: object);
|
|
26
|
+
ngAfterViewInit(): void;
|
|
20
27
|
selectOption(option: string, event: Event): void;
|
|
28
|
+
scrollToSelectedOption(value: string): void;
|
|
21
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterLetterAndTermsComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterLetterAndTermsComponent, "rdsite-filter-letter-and-terms", never, { "options": { "alias": "options"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; }, { "optionSelected": "optionSelected"; }, never, never, true, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterLetterAndTermsComponent, "rdsite-filter-letter-and-terms", never, { "options": { "alias": "options"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "enableScroll": { "alias": "enableScroll"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; }, { "optionSelected": "optionSelected"; }, never, never, true, never>;
|
|
23
31
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { LibConfig } from '../../tokens/LibConfig';
|
|
3
3
|
import { HttpClientService } from '../http-client/http-client.service';
|
|
4
|
-
import { LogService } from '../log/log.service';
|
|
5
4
|
import { RDSLConvenio, RDSLConvenioParams } from '../../models/rdsl-convenio.model';
|
|
6
5
|
import { RDSLPlano, RDSLPlanoParams } from '../../models/rdsl-planos.model';
|
|
7
6
|
import { RDSLCobertura, RDSLCoberturaParams } from '../../models/rdsl-cobertura.model';
|
|
@@ -20,11 +19,10 @@ import { MenuDeUnidade } from '../../models/menu-de-unidade.model';
|
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class SiteBackendService {
|
|
22
21
|
private httpClientService;
|
|
23
|
-
private log;
|
|
24
22
|
private libConfig;
|
|
25
23
|
private platformId;
|
|
26
24
|
siteApiUrl: string;
|
|
27
|
-
constructor(httpClientService: HttpClientService,
|
|
25
|
+
constructor(httpClientService: HttpClientService, libConfig: LibConfig, platformId: object);
|
|
28
26
|
private getApiUrl;
|
|
29
27
|
/**
|
|
30
28
|
* GET para qualquer endpoint do back-end do site.
|