@rededor/site-front-end-lib 0.0.17 → 0.0.19
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/README.md +80 -80
- package/esm2022/lib/components/footer/components/footer-disclaimer/footer-disclaimer.component.mjs +3 -3
- package/esm2022/lib/components/footer/components/footer-menu/footer-menu.component.mjs +3 -3
- package/esm2022/lib/components/footer/components/footer-menu-item/footer-menu-item.component.mjs +3 -3
- package/esm2022/lib/components/footer/components/footer-social-medias/footer-social-medias.component.mjs +5 -5
- package/esm2022/lib/components/footer/footer.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-action-menu/header-action-menu.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-aux-menu/header-aux-menu.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-aux-menu-container/header-aux-menu-container.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-aux-menu-item/header-aux-menu-item.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-logo/header-logo.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-main-menu/header-main-menu.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-main-menu-item/header-main-menu-item.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-side-menu/header-side-menu.component.mjs +3 -3
- package/esm2022/lib/components/header/components/header-side-menu-item/header-side-menu-item.component.mjs +5 -5
- package/esm2022/lib/components/header/header.component.mjs +4 -4
- package/esm2022/lib/components/header/helpers/headerTheme.func.mjs +1 -1
- package/esm2022/lib/components/header/services/header.service.mjs +3 -3
- package/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/load-screen/load-screen.component.mjs +23 -0
- package/esm2022/lib/components/overlay/overlay.component.mjs +3 -3
- package/esm2022/lib/components/search/search.component.mjs +5 -5
- package/esm2022/lib/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.mjs +5 -5
- package/esm2022/lib/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.mjs +5 -5
- package/esm2022/lib/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.mjs +5 -5
- package/esm2022/lib/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.mjs +5 -5
- package/esm2022/lib/components/side-ctas/models/SideCta.model.mjs +1 -1
- package/esm2022/lib/components/side-ctas/side-ctas.component.mjs +5 -5
- package/esm2022/lib/components/test/test.component.mjs +3 -3
- package/esm2022/lib/directives/rdsite-click-outside/rdsite-click-outside.directive.mjs +3 -3
- package/esm2022/lib/directives/rdsite-link/rdsite-link.directive.mjs +3 -3
- package/esm2022/lib/directives/rdsite-phone-modal/rdsite-phone-modal.directive.mjs +4 -4
- package/esm2022/lib/enums/RdsiteModalComponentStyle.enum.mjs +1 -1
- package/esm2022/lib/enums/RdsiteModalDrawerComponentStyle.enum.mjs +1 -1
- package/esm2022/lib/enums/index.mjs +1 -1
- package/esm2022/lib/helpers/formatPhone.func.mjs +1 -1
- package/esm2022/lib/json/unidades.json +5370 -1956
- package/esm2022/lib/json/unidadesOnco.json +3857 -3925
- package/esm2022/lib/models/wordpress/unidade/wp-unidade-onco.model.mjs +1 -1
- package/esm2022/lib/models/wordpress/unidade/wp-unidade-site-detalhe.model.mjs +1 -1
- package/esm2022/lib/models/wordpress/unidade/wp-unidade-site.model.mjs +1 -1
- package/esm2022/lib/pipes/index.mjs +1 -1
- package/esm2022/lib/pipes/phone/phone.pipe.mjs +4 -4
- package/esm2022/lib/services/algolia/algolia.service.mjs +3 -3
- package/esm2022/lib/services/cura/cura.service.mjs +4 -4
- package/esm2022/lib/services/http-client/http-client.service.mjs +3 -3
- package/esm2022/lib/services/log/log.service.mjs +3 -3
- package/esm2022/lib/services/modal/modal.service.mjs +4 -4
- package/esm2022/lib/services/modal-drawer/modal-drawer.service.mjs +4 -4
- package/esm2022/lib/services/ngu-carousel/ngu-carousel.service.mjs +3 -3
- package/esm2022/lib/services/phone/phone.service.mjs +4 -4
- package/esm2022/lib/services/privacy-tools/privacy-tools.service.mjs +3 -3
- package/esm2022/lib/services/seo/seo.service.mjs +4 -4
- package/esm2022/lib/services/server-response/server-response.service.mjs +3 -3
- package/esm2022/lib/services/site-back-end/site-back-end.service.mjs +28 -46
- package/esm2022/lib/services/ssr-loading/ssr-loading.service.mjs +3 -3
- package/esm2022/lib/services/transfer-state/transfer-state.service.mjs +3 -3
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/rededor-site-front-end-lib.mjs +9164 -4046
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/load-screen/load-screen.component.d.ts +13 -0
- package/lib/models/wordpress/unidade/wp-unidade-onco.model.d.ts +3 -3
- package/lib/models/wordpress/unidade/wp-unidade-site-detalhe.model.d.ts +20 -20
- package/lib/models/wordpress/unidade/wp-unidade-site.model.d.ts +13 -13
- package/lib/services/site-back-end/site-back-end.service.d.ts +17 -17
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ export * from './header/components/header-main-menu-item/header-main-menu-item.c
|
|
|
16
16
|
export * from './header/components/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component';
|
|
17
17
|
export * from './header/components/header-side-menu/header-side-menu.component';
|
|
18
18
|
export * from './header/components/header-side-menu-item/header-side-menu-item.component';
|
|
19
|
+
export * from './load-screen/load-screen.component';
|
|
19
20
|
export * from './overlay/overlay.component';
|
|
20
21
|
export * from './search/search.component';
|
|
21
22
|
export * from './side-ctas/side-ctas.component';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CuraService } from '../../services';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LoadScreenComponent {
|
|
4
|
+
private curaService;
|
|
5
|
+
styleBinding: {
|
|
6
|
+
'--neutral-pale': string | null;
|
|
7
|
+
'--neutral-dark': string | null;
|
|
8
|
+
'--color-one-base': string | null;
|
|
9
|
+
};
|
|
10
|
+
constructor(curaService: CuraService);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadScreenComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadScreenComponent, "rdsite-load-screen", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WpCommonResponse, WpGlobalResponse, WpPublishingResponse, WpYoastResponse } from
|
|
1
|
+
import { WpCommonResponse, WpGlobalResponse, WpPublishingResponse, WpYoastResponse } from '../WpResponse.model';
|
|
2
2
|
export interface WpUnidadeOnco extends WpCommonResponse, WpGlobalResponse, WpPublishingResponse, WpYoastResponse {
|
|
3
3
|
path?: string;
|
|
4
4
|
details?: any;
|
|
@@ -8,14 +8,14 @@ export interface WpUnidadeOnco extends WpCommonResponse, WpGlobalResponse, WpPub
|
|
|
8
8
|
descricao: string;
|
|
9
9
|
especialidades: UnidadeEspecialidades;
|
|
10
10
|
horario_atendimento: string;
|
|
11
|
-
id_qualidade: number;
|
|
11
|
+
id_qualidade: number | string;
|
|
12
12
|
instalacoes: any;
|
|
13
13
|
localizacao: UnidadeLocalizacao;
|
|
14
14
|
redes_sociais: any;
|
|
15
15
|
servicos: UnidadeServicos;
|
|
16
16
|
sobre: UnidadeSobre;
|
|
17
17
|
telefone: string;
|
|
18
|
-
tem_certificados
|
|
18
|
+
tem_certificados?: boolean;
|
|
19
19
|
tratamentos: UnidadeTratamentos;
|
|
20
20
|
videos: any;
|
|
21
21
|
url_site?: string;
|
|
@@ -61,7 +61,7 @@ export interface WpUnidadeSiteDetalhe {
|
|
|
61
61
|
unidade_exibir_whatsapp_exames?: boolean;
|
|
62
62
|
unidade_label_link_whatsapp_exames?: string;
|
|
63
63
|
unidade_link_whatsapp_exames?: string;
|
|
64
|
-
unidade_url_oncologia
|
|
64
|
+
unidade_url_oncologia?: string;
|
|
65
65
|
unidade_oferece_oncologia: string[] | string;
|
|
66
66
|
unidade_imagem: any;
|
|
67
67
|
unidade_endereco: string;
|
|
@@ -77,46 +77,46 @@ export interface WpUnidadeSiteDetalhe {
|
|
|
77
77
|
unidade_uf: string;
|
|
78
78
|
unidade_areas_busca: string[];
|
|
79
79
|
unidade_cidade: string;
|
|
80
|
-
home_slideshow
|
|
81
|
-
cta1
|
|
82
|
-
cta2
|
|
83
|
-
home_destaques_secundarios
|
|
84
|
-
especialidades_procuradas
|
|
85
|
-
exames_procurados
|
|
86
|
-
home_servicos
|
|
80
|
+
home_slideshow?: HomeSlideshow[] | boolean;
|
|
81
|
+
cta1?: any;
|
|
82
|
+
cta2?: any;
|
|
83
|
+
home_destaques_secundarios?: any;
|
|
84
|
+
especialidades_procuradas?: UnidadeEspecialidadeProcurada[];
|
|
85
|
+
exames_procurados?: UnidadeExamesProcurados[];
|
|
86
|
+
home_servicos?: any;
|
|
87
87
|
id_qualidade_unidade: string;
|
|
88
88
|
id_motion_unidade: string;
|
|
89
89
|
id_motion_consultas?: string;
|
|
90
90
|
id_motion_exames?: string;
|
|
91
91
|
id_local?: string;
|
|
92
|
-
emergencias
|
|
92
|
+
emergencias?: UnidadeEmergencia[] | false;
|
|
93
93
|
exames_unidade: boolean;
|
|
94
94
|
resultados_exames: boolean;
|
|
95
95
|
especialidades_unidade: boolean;
|
|
96
|
-
blog_id
|
|
96
|
+
blog_id?: string;
|
|
97
97
|
domain: string;
|
|
98
98
|
path: string;
|
|
99
99
|
site_id: string;
|
|
100
100
|
registered: string;
|
|
101
101
|
last_updated: string;
|
|
102
102
|
public: string;
|
|
103
|
-
archived
|
|
103
|
+
archived?: string;
|
|
104
104
|
mature: string;
|
|
105
105
|
spam: string;
|
|
106
106
|
deleted: string;
|
|
107
107
|
lang_id: string;
|
|
108
|
-
name
|
|
109
|
-
description
|
|
110
|
-
url
|
|
111
|
-
admin_email
|
|
112
|
-
charset
|
|
113
|
-
version
|
|
114
|
-
language
|
|
108
|
+
name?: string;
|
|
109
|
+
description?: string;
|
|
110
|
+
url?: string;
|
|
111
|
+
admin_email?: string;
|
|
112
|
+
charset?: string;
|
|
113
|
+
version?: string;
|
|
114
|
+
language?: string;
|
|
115
115
|
tipo_unidade?: string;
|
|
116
116
|
categoria_unidade?: string;
|
|
117
117
|
cadastro_de_unidade?: any[];
|
|
118
118
|
unidade_possui_outras_unidades: string[] | string;
|
|
119
|
-
unidade_outras_clinicas_oncologicas
|
|
119
|
+
unidade_outras_clinicas_oncologicas?: [
|
|
120
120
|
{
|
|
121
121
|
unidade_outrasclinicas_nome: string;
|
|
122
122
|
unidade_outrasclinicas_url: string;
|
|
@@ -132,7 +132,7 @@ export interface WpUnidadeSiteDetalhe {
|
|
|
132
132
|
unidade_maternidade_endereco_uf: string;
|
|
133
133
|
};
|
|
134
134
|
unidade_maternidade_show_site: boolean;
|
|
135
|
-
banners_encontre_farma
|
|
135
|
+
banners_encontre_farma?: UnidadeEncontreFarma;
|
|
136
136
|
hide_menu_unidades: boolean;
|
|
137
137
|
partnerships: UnidadeNossasMarcas;
|
|
138
138
|
unidade_estilo_whatsapp: UnidadeEstiloWhatsapp;
|
|
@@ -27,19 +27,19 @@ export interface UnidadeOptions {
|
|
|
27
27
|
unidade_exibir_whatsapp_exames?: boolean;
|
|
28
28
|
}
|
|
29
29
|
export interface WpUnidadeSite {
|
|
30
|
-
archived
|
|
31
|
-
blog_id
|
|
32
|
-
deleted
|
|
33
|
-
domain
|
|
34
|
-
info
|
|
35
|
-
lang_id
|
|
36
|
-
last_updated
|
|
37
|
-
mature
|
|
38
|
-
path
|
|
39
|
-
public
|
|
40
|
-
registered
|
|
41
|
-
site_id
|
|
42
|
-
spam
|
|
30
|
+
archived?: string | number;
|
|
31
|
+
blog_id?: string | number;
|
|
32
|
+
deleted?: string | number;
|
|
33
|
+
domain?: string;
|
|
34
|
+
info?: UnidadeInfo;
|
|
35
|
+
lang_id?: string | number;
|
|
36
|
+
last_updated?: string;
|
|
37
|
+
mature?: string | number;
|
|
38
|
+
path?: string;
|
|
39
|
+
public?: string | number;
|
|
40
|
+
registered?: string;
|
|
41
|
+
site_id?: string | number;
|
|
42
|
+
spam?: string | number;
|
|
43
43
|
details?: WpUnidadeSiteDetalhe;
|
|
44
44
|
externo?: boolean;
|
|
45
45
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Observable } from
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
2
|
import { LibConfig } from '../../tokens/LibConfig';
|
|
3
|
-
import { HttpClientService } from
|
|
4
|
-
import { LogService } from
|
|
5
|
-
import { RDSLConvenio, RDSLConvenioParams } from
|
|
6
|
-
import { RDSLPlano, RDSLPlanoParams } from
|
|
7
|
-
import { RDSLCobertura, RDSLCoberturaParams } from
|
|
8
|
-
import { RDSLUnidade, RDSLUnidadesParams } from
|
|
9
|
-
import { RDSLEspecialidade, RDSLEspecialidadesParams } from
|
|
10
|
-
import { DoencaBackend } from
|
|
11
|
-
import { TaxonomiasDoencasList } from
|
|
12
|
-
import { ExameApiDados, ExameBackend } from
|
|
13
|
-
import { EspecialidadeBackend, EspecialidadeGrupoBackend } from
|
|
14
|
-
import { CentroEstudosBackendMedico } from
|
|
15
|
-
import { WpUnidadeSite } from
|
|
16
|
-
import { WpUnidadeOnco } from
|
|
17
|
-
import { UnifiedMenu } from
|
|
18
|
-
import { MedicoCv } from
|
|
3
|
+
import { HttpClientService } from '../http-client/http-client.service';
|
|
4
|
+
import { LogService } from '../log/log.service';
|
|
5
|
+
import { RDSLConvenio, RDSLConvenioParams } from '../../models/rdsl-convenio.model';
|
|
6
|
+
import { RDSLPlano, RDSLPlanoParams } from '../../models/rdsl-planos.model';
|
|
7
|
+
import { RDSLCobertura, RDSLCoberturaParams } from '../../models/rdsl-cobertura.model';
|
|
8
|
+
import { RDSLUnidade, RDSLUnidadesParams } from '../../models/rdsl-unidade.model';
|
|
9
|
+
import { RDSLEspecialidade, RDSLEspecialidadesParams } from '../../models/rdsl-especialidade.model';
|
|
10
|
+
import { DoencaBackend } from '../../models/doenca-backend.model';
|
|
11
|
+
import { TaxonomiasDoencasList } from '../../models/doenca-taxonomy.model';
|
|
12
|
+
import { ExameApiDados, ExameBackend } from '../../models/exame-backend.model';
|
|
13
|
+
import { EspecialidadeBackend, EspecialidadeGrupoBackend } from '../../models/especialidade-backend.model';
|
|
14
|
+
import { CentroEstudosBackendMedico } from '../../models/centro-estudos-backend.model';
|
|
15
|
+
import { WpUnidadeSite } from '../../models/wordpress/unidade/wp-unidade-site.model';
|
|
16
|
+
import { WpUnidadeOnco } from '../../models/wordpress/unidade/wp-unidade-onco.model';
|
|
17
|
+
import { UnifiedMenu } from '../../models/menu-item.model';
|
|
18
|
+
import { MedicoCv } from '../../models/medico-cv.model';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export declare class SiteBackendService {
|
|
21
21
|
private httpClientService;
|