@rededor/site-front-end-lib 20.0.0-alpha.4 → 20.0.0-beta.0
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 +124 -124
- package/components/filters/filter-generic/index.d.ts +4 -7
- package/components/page-template-fullcontent/index.d.ts +17 -0
- package/components/sidebar-navigation/index.d.ts +26 -0
- package/components/sticky-navigation/index.d.ts +31 -0
- package/core/index.d.ts +16 -11
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +6 -8
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +15 -27
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +4 -4
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +27 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +79 -0
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +87 -0
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-core.mjs +3 -1
- package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +1 -1
- package/package.json +22 -9
package/README.md
CHANGED
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
# SiteFrontEndLib
|
|
2
|
-
|
|
3
|
-
Esta lib foi gerada com [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
|
|
4
|
-
|
|
5
|
-
Para informações gerais sobre o workspace, consulte o [README principal](../../README.md).
|
|
6
|
-
Para ver o histórico de alterações, consulte o [CHANGELOG](CHANGELOG.md).
|
|
7
|
-
|
|
8
|
-
## Compatibilidade de Versões
|
|
9
|
-
|
|
10
|
-
A tabela abaixo mostra a compatibilidade entre as versões da lib e as versões do Angular:
|
|
11
|
-
|
|
12
|
-
| Versão da Lib | Versão do Angular |
|
|
13
|
-
| ------------- | ----------------- |
|
|
14
|
-
| 20.x.x | Angular >= 20 |
|
|
15
|
-
| 1.x.x | Angular >= 17 |
|
|
16
|
-
|
|
17
|
-
## Desenvolvimento
|
|
18
|
-
|
|
19
|
-
- Para utilização da lib, utilize/customize o token `LibConfig`. Este token disponibiliza informações/parâmetros importantes baseadas no contexto de cada projeto.
|
|
20
|
-
- Para criação de componentes, services, etc, os comandos são os mesmos utilizados no desenvolvimento dentro do contexto dos projetos do site.
|
|
21
|
-
- Obs: antes de utilizar os comandos `ng`, verifique a pasta atual de seu terminal (`cd projects/site-front-end-lib`).
|
|
22
|
-
|
|
23
|
-
## Desenvolvimento com Live Reload
|
|
24
|
-
|
|
25
|
-
Para rodar o projeto com live reload, é necessário realizar algumas configurações.
|
|
26
|
-
|
|
27
|
-
### No contexto da LIB:
|
|
28
|
-
|
|
29
|
-
- rode `ng build site-front-end-lib --configuration development --watch` no terminal da lib.
|
|
30
|
-
- abra um novo terminal e acesse `cd dist/site-front-end-lib` e em seguida rode o seguinte comando `npm link`.
|
|
31
|
-
|
|
32
|
-
### No contexto do PROJETO angular rodando localmente:
|
|
33
|
-
|
|
34
|
-
- adicione `"preserveSymlinks": true` e `"cache": { "enabled": false }` no angular.json da seguinte forma:
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
{
|
|
38
|
-
"$schema": "...",
|
|
39
|
-
"version": 999,
|
|
40
|
-
"newProjectRoot": "...",
|
|
41
|
-
"projects": {
|
|
42
|
-
"project1": {
|
|
43
|
-
"projectType": "application",
|
|
44
|
-
"schematics": { ... },
|
|
45
|
-
"root": "",
|
|
46
|
-
"sourceRoot": "src",
|
|
47
|
-
"prefix": "app",
|
|
48
|
-
"architect": {
|
|
49
|
-
"build": {
|
|
50
|
-
"builder": "...",
|
|
51
|
-
"options": {
|
|
52
|
-
"preserveSymlinks": true,
|
|
53
|
-
...
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"cli": {
|
|
60
|
-
"cache": {
|
|
61
|
-
"enabled": false
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
- rode o seguinte comando em seu terminal `npm link @rededor/site-front-end-lib`.
|
|
68
|
-
- inicie sua aplicação com `ng serve`.
|
|
69
|
-
|
|
70
|
-
Dessa forma, para qualquer alteração feita na lib, será refeito o build da lib e depois disparado um evento para o projeto também executar um novo build com as novas informações.
|
|
71
|
-
|
|
72
|
-
Após realizar os testes, é recomendavel realizar a **limpeza** dessas linkagens.
|
|
73
|
-
|
|
74
|
-
### No contexto do PROJETO
|
|
75
|
-
|
|
76
|
-
- `npm unlink @rededor/site-front-end-lib --no-save`
|
|
77
|
-
- remova as alterações feitas no `angular.json`
|
|
78
|
-
|
|
79
|
-
### No contexto da LIB
|
|
80
|
-
|
|
81
|
-
- `npm rm -g @rededor/site-front-end-lib --no-save`
|
|
82
|
-
|
|
83
|
-
Feito isso, voce pode checar se as linkagens foram removidas corretamente com `npm list -g`.
|
|
84
|
-
|
|
85
|
-
## \(DEPRECATED\) \(Recomenda-se utilizar o fluxo descrito em [VERSIONAMENTO](../../VERSIONAMENTO.md)\)
|
|
86
|
-
|
|
87
|
-
## Versionamento manual
|
|
88
|
-
|
|
89
|
-
- Lembre-se de trocar o número da versão no `package.json`.
|
|
90
|
-
|
|
91
|
-
- Adicione uma mensagem de versão no [`CHANGELOG.md`](CHANGELOG.md).
|
|
92
|
-
|
|
93
|
-
## Pull request e tag de versão manual
|
|
94
|
-
|
|
95
|
-
- Realize o Pull Request (PR) de sua branch para a branch **master**.
|
|
96
|
-
|
|
97
|
-
- Após aprovação pelo code review, realize o merge do PR.
|
|
98
|
-
|
|
99
|
-
- Atualize sua master local com a branch **master**.
|
|
100
|
-
|
|
101
|
-
- Crie a tag da versão no git (troque o número da versão pela atual).
|
|
102
|
-
|
|
103
|
-
```
|
|
104
|
-
git tag -a 1.0.0 -m "Mensagem da tag de versão"
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
- Envie a tag de versão (troque o número da versão pela atual).
|
|
108
|
-
|
|
109
|
-
```
|
|
110
|
-
git push origin 1.0.0
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
## Build manual
|
|
114
|
-
|
|
115
|
-
- Rode `ng build site-front-end-lib` para buildar o projeto. Os arquivos buildados estarão na pasta `dist/`.
|
|
116
|
-
- Caso ocorra problema com algum componente do cura, verificar se a versão do cura no node_modules é a mais recente.
|
|
117
|
-
- Caso não seja, apague os dois package-lock.json, e apague a pasta @cura dentro de @rededor que fica no node_modules.
|
|
118
|
-
- Em seguida, dê `npm i` para reinstalar as dependências.
|
|
119
|
-
|
|
120
|
-
## Release manual
|
|
121
|
-
|
|
122
|
-
- Depois de buildar o projeto, vá para `cd dist/site-front-end-lib` e rode `npm publish --userconfig ../../.npmrc` para publicar o projeto no npm.
|
|
123
|
-
- Obs: quando for gerar uma nova versão da lib, lembre-se de `atualizar a versão no package.json dentro da lib`. Caso não tenha feito isso, atualize o package.json, rode o build novamente e somente depois realize a publicação da lib.
|
|
124
|
-
- Se for uma versão next, adicione a flag "--tag next" no comando `npm publish --tag next --userconfig ../../.npmrc`.
|
|
1
|
+
# SiteFrontEndLib
|
|
2
|
+
|
|
3
|
+
Esta lib foi gerada com [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
|
|
4
|
+
|
|
5
|
+
Para informações gerais sobre o workspace, consulte o [README principal](../../README.md).
|
|
6
|
+
Para ver o histórico de alterações, consulte o [CHANGELOG](CHANGELOG.md).
|
|
7
|
+
|
|
8
|
+
## Compatibilidade de Versões
|
|
9
|
+
|
|
10
|
+
A tabela abaixo mostra a compatibilidade entre as versões da lib e as versões do Angular:
|
|
11
|
+
|
|
12
|
+
| Versão da Lib | Versão do Angular |
|
|
13
|
+
| ------------- | ----------------- |
|
|
14
|
+
| 20.x.x | Angular >= 20 |
|
|
15
|
+
| 1.x.x | Angular >= 17 |
|
|
16
|
+
|
|
17
|
+
## Desenvolvimento
|
|
18
|
+
|
|
19
|
+
- Para utilização da lib, utilize/customize o token `LibConfig`. Este token disponibiliza informações/parâmetros importantes baseadas no contexto de cada projeto.
|
|
20
|
+
- Para criação de componentes, services, etc, os comandos são os mesmos utilizados no desenvolvimento dentro do contexto dos projetos do site.
|
|
21
|
+
- Obs: antes de utilizar os comandos `ng`, verifique a pasta atual de seu terminal (`cd projects/site-front-end-lib`).
|
|
22
|
+
|
|
23
|
+
## Desenvolvimento com Live Reload
|
|
24
|
+
|
|
25
|
+
Para rodar o projeto com live reload, é necessário realizar algumas configurações.
|
|
26
|
+
|
|
27
|
+
### No contexto da LIB:
|
|
28
|
+
|
|
29
|
+
- rode `ng build site-front-end-lib --configuration development --watch` no terminal da lib.
|
|
30
|
+
- abra um novo terminal e acesse `cd dist/site-front-end-lib` e em seguida rode o seguinte comando `npm link`.
|
|
31
|
+
|
|
32
|
+
### No contexto do PROJETO angular rodando localmente:
|
|
33
|
+
|
|
34
|
+
- adicione `"preserveSymlinks": true` e `"cache": { "enabled": false }` no angular.json da seguinte forma:
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
{
|
|
38
|
+
"$schema": "...",
|
|
39
|
+
"version": 999,
|
|
40
|
+
"newProjectRoot": "...",
|
|
41
|
+
"projects": {
|
|
42
|
+
"project1": {
|
|
43
|
+
"projectType": "application",
|
|
44
|
+
"schematics": { ... },
|
|
45
|
+
"root": "",
|
|
46
|
+
"sourceRoot": "src",
|
|
47
|
+
"prefix": "app",
|
|
48
|
+
"architect": {
|
|
49
|
+
"build": {
|
|
50
|
+
"builder": "...",
|
|
51
|
+
"options": {
|
|
52
|
+
"preserveSymlinks": true,
|
|
53
|
+
...
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"cli": {
|
|
60
|
+
"cache": {
|
|
61
|
+
"enabled": false
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
- rode o seguinte comando em seu terminal `npm link @rededor/site-front-end-lib`.
|
|
68
|
+
- inicie sua aplicação com `ng serve`.
|
|
69
|
+
|
|
70
|
+
Dessa forma, para qualquer alteração feita na lib, será refeito o build da lib e depois disparado um evento para o projeto também executar um novo build com as novas informações.
|
|
71
|
+
|
|
72
|
+
Após realizar os testes, é recomendavel realizar a **limpeza** dessas linkagens.
|
|
73
|
+
|
|
74
|
+
### No contexto do PROJETO
|
|
75
|
+
|
|
76
|
+
- `npm unlink @rededor/site-front-end-lib --no-save`
|
|
77
|
+
- remova as alterações feitas no `angular.json`
|
|
78
|
+
|
|
79
|
+
### No contexto da LIB
|
|
80
|
+
|
|
81
|
+
- `npm rm -g @rededor/site-front-end-lib --no-save`
|
|
82
|
+
|
|
83
|
+
Feito isso, voce pode checar se as linkagens foram removidas corretamente com `npm list -g`.
|
|
84
|
+
|
|
85
|
+
## \(DEPRECATED\) \(Recomenda-se utilizar o fluxo descrito em [VERSIONAMENTO](../../VERSIONAMENTO.md)\)
|
|
86
|
+
|
|
87
|
+
## Versionamento manual
|
|
88
|
+
|
|
89
|
+
- Lembre-se de trocar o número da versão no `package.json`.
|
|
90
|
+
|
|
91
|
+
- Adicione uma mensagem de versão no [`CHANGELOG.md`](CHANGELOG.md).
|
|
92
|
+
|
|
93
|
+
## Pull request e tag de versão manual
|
|
94
|
+
|
|
95
|
+
- Realize o Pull Request (PR) de sua branch para a branch **master**.
|
|
96
|
+
|
|
97
|
+
- Após aprovação pelo code review, realize o merge do PR.
|
|
98
|
+
|
|
99
|
+
- Atualize sua master local com a branch **master**.
|
|
100
|
+
|
|
101
|
+
- Crie a tag da versão no git (troque o número da versão pela atual).
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
git tag -a 1.0.0 -m "Mensagem da tag de versão"
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
- Envie a tag de versão (troque o número da versão pela atual).
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
git push origin 1.0.0
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## Build manual
|
|
114
|
+
|
|
115
|
+
- Rode `ng build site-front-end-lib` para buildar o projeto. Os arquivos buildados estarão na pasta `dist/`.
|
|
116
|
+
- Caso ocorra problema com algum componente do cura, verificar se a versão do cura no node_modules é a mais recente.
|
|
117
|
+
- Caso não seja, apague os dois package-lock.json, e apague a pasta @cura dentro de @rededor que fica no node_modules.
|
|
118
|
+
- Em seguida, dê `npm i` para reinstalar as dependências.
|
|
119
|
+
|
|
120
|
+
## Release manual
|
|
121
|
+
|
|
122
|
+
- Depois de buildar o projeto, vá para `cd dist/site-front-end-lib` e rode `npm publish --userconfig ../../.npmrc` para publicar o projeto no npm.
|
|
123
|
+
- Obs: quando for gerar uma nova versão da lib, lembre-se de `atualizar a versão no package.json dentro da lib`. Caso não tenha feito isso, atualize o package.json, rode o build novamente e somente depois realize a publicação da lib.
|
|
124
|
+
- Se for uma versão next, adicione a flag "--tag next" no comando `npm publish --tag next --userconfig ../../.npmrc`.
|
|
@@ -2,9 +2,6 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { FormControl } from '@angular/forms';
|
|
4
4
|
import { FilterEvent, FilterSection, FilterControlValue } from '@rededor/site-front-end-lib/core';
|
|
5
|
-
import { CheckboxChangeEvent } from '@rededor/site-front-end-lib/cura/forms/cura-checkbox';
|
|
6
|
-
import { RadioChangeEvent } from '@rededor/site-front-end-lib/cura/forms/cura-radio';
|
|
7
|
-
import { SelectSelectedEvent } from '@rededor/site-front-end-lib/cura/forms/cura-select';
|
|
8
5
|
|
|
9
6
|
declare class FilterGenericComponent implements OnInit {
|
|
10
7
|
private readonly curaApiService;
|
|
@@ -41,10 +38,10 @@ declare class FilterGenericComponent implements OnInit {
|
|
|
41
38
|
'--primary-lighter': string;
|
|
42
39
|
};
|
|
43
40
|
ngOnInit(): void;
|
|
44
|
-
handleInputChange(event:
|
|
45
|
-
handleSelectChange({ value }:
|
|
46
|
-
handleCheckboxChange({ value, checked }:
|
|
47
|
-
handleRadioChange({ value }:
|
|
41
|
+
handleInputChange(event: any, control: FormControl): void;
|
|
42
|
+
handleSelectChange({ value }: any, control: FormControl): void;
|
|
43
|
+
handleCheckboxChange({ value, checked }: any, options: any[]): void;
|
|
44
|
+
handleRadioChange({ value }: any, control: FormControl): void;
|
|
48
45
|
filter(): void;
|
|
49
46
|
reset(): void;
|
|
50
47
|
close(): void;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class PageTemplateFullcontentComponent {
|
|
5
|
+
readonly header: _angular_core.InputSignal<TemplateRef<any> | null>;
|
|
6
|
+
readonly beforeContent: _angular_core.InputSignal<TemplateRef<any> | null>;
|
|
7
|
+
readonly pageContent: _angular_core.InputSignal<TemplateRef<any> | null>;
|
|
8
|
+
readonly afterContent: _angular_core.InputSignal<{
|
|
9
|
+
template: TemplateRef<any>;
|
|
10
|
+
show: boolean;
|
|
11
|
+
}[] | null>;
|
|
12
|
+
readonly isArticle: _angular_core.InputSignal<boolean>;
|
|
13
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PageTemplateFullcontentComponent, never>;
|
|
14
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PageTemplateFullcontentComponent, "rdsite-page-template-fullcontent", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "beforeContent": { "alias": "beforeContent"; "required": false; "isSignal": true; }; "pageContent": { "alias": "pageContent"; "required": false; "isSignal": true; }; "afterContent": { "alias": "afterContent"; "required": false; "isSignal": true; }; "isArticle": { "alias": "isArticle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { PageTemplateFullcontentComponent };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { SectionNavigationData, SectionNavigationConfig } from '@rededor/site-front-end-lib/core';
|
|
4
|
+
|
|
5
|
+
declare class SidebarNavigationComponent {
|
|
6
|
+
private readonly curaApiService;
|
|
7
|
+
readonly sections: _angular_core.WritableSignal<SectionNavigationData[]>;
|
|
8
|
+
readonly config: _angular_core.WritableSignal<SectionNavigationConfig | undefined>;
|
|
9
|
+
readonly activeSection: _angular_core.WritableSignal<string>;
|
|
10
|
+
readonly anchorAdjustment: _angular_core.InputSignal<number>;
|
|
11
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
12
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
13
|
+
set navigationSections(value: SectionNavigationData[]);
|
|
14
|
+
set navigationConfig(value: SectionNavigationConfig);
|
|
15
|
+
readonly anchorsEl: _angular_core.Signal<readonly ElementRef<HTMLAnchorElement>[]>;
|
|
16
|
+
readonly sectionChange: _angular_core.OutputEmitterRef<SectionNavigationData>;
|
|
17
|
+
onWindowScroll(): void;
|
|
18
|
+
styleBinding: {
|
|
19
|
+
'--font-family': string;
|
|
20
|
+
};
|
|
21
|
+
private windowScroll;
|
|
22
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarNavigationComponent, never>;
|
|
23
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarNavigationComponent, "nav[rdsite-sidebar-navigation]", never, { "anchorAdjustment": { "alias": "anchorAdjustment"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "navigationSections": { "alias": "navigationSections"; "required": true; }; "navigationConfig": { "alias": "navigationConfig"; "required": false; }; }, { "sectionChange": "sectionChange"; }, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { SidebarNavigationComponent };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { ElementRef } from '@angular/core';
|
|
3
|
+
import { SectionNavigationData, SectionNavigationConfig } from '@rededor/site-front-end-lib/core';
|
|
4
|
+
|
|
5
|
+
declare class StickyNavigationComponent {
|
|
6
|
+
private curaApiService;
|
|
7
|
+
readonly sections: _angular_core.WritableSignal<SectionNavigationData[]>;
|
|
8
|
+
readonly config: _angular_core.WritableSignal<SectionNavigationConfig | undefined>;
|
|
9
|
+
readonly activeSection: _angular_core.WritableSignal<string>;
|
|
10
|
+
isOpen: boolean;
|
|
11
|
+
selectedIndex: number;
|
|
12
|
+
readonly anchorAdjustment: _angular_core.InputSignal<number>;
|
|
13
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
14
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
15
|
+
readonly padding: _angular_core.InputSignal<number>;
|
|
16
|
+
set navigationSections(value: SectionNavigationData[]);
|
|
17
|
+
set navigationConfig(value: SectionNavigationConfig);
|
|
18
|
+
readonly anchorsEl: _angular_core.Signal<readonly ElementRef<HTMLAnchorElement>[]>;
|
|
19
|
+
readonly sectionChange: _angular_core.OutputEmitterRef<SectionNavigationData>;
|
|
20
|
+
onWindowScroll(): void;
|
|
21
|
+
styleBinding: {
|
|
22
|
+
'--neutral-purewhite': string;
|
|
23
|
+
'--font-family': string;
|
|
24
|
+
};
|
|
25
|
+
private windowScroll;
|
|
26
|
+
onSectionClick(event: Event): void;
|
|
27
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StickyNavigationComponent, never>;
|
|
28
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<StickyNavigationComponent, "nav[rdsite-sticky-navigation]", never, { "anchorAdjustment": { "alias": "anchorAdjustment"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "navigationSections": { "alias": "navigationSections"; "required": true; }; "navigationConfig": { "alias": "navigationConfig"; "required": false; }; }, { "sectionChange": "sectionChange"; }, never, never, true, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { StickyNavigationComponent };
|
package/core/index.d.ts
CHANGED
|
@@ -106,14 +106,16 @@ declare enum RdsiteModalComponentStyle {
|
|
|
106
106
|
SHARING = "sharing",
|
|
107
107
|
FORMFALLBACK = "form-fallback",
|
|
108
108
|
FILTER = "filter",
|
|
109
|
-
FILTERDOENCAS = "filter-doencas"
|
|
109
|
+
FILTERDOENCAS = "filter-doencas",
|
|
110
|
+
PHOTOGALLERY = "photo-gallery"
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
declare enum RdsiteModalDrawerComponentStyle {
|
|
113
114
|
DEFAULT = "default",
|
|
114
115
|
DRAWERDOCTOR = "doctor-card",
|
|
115
116
|
FORMFALLBACK = "form-fallback",
|
|
116
|
-
FILTERDOENCAS = "filter-doencas"
|
|
117
|
+
FILTERDOENCAS = "filter-doencas",
|
|
118
|
+
PHOTOGALLERY = "photo-gallery"
|
|
117
119
|
}
|
|
118
120
|
|
|
119
121
|
declare const getSiteUrl: (siteUrl?: string, siteSufix?: string) => string;
|
|
@@ -230,6 +232,8 @@ interface SeoData {
|
|
|
230
232
|
description: any;
|
|
231
233
|
canonical?: string;
|
|
232
234
|
socialTags?: any;
|
|
235
|
+
keywords?: string;
|
|
236
|
+
alternateName?: string;
|
|
233
237
|
}
|
|
234
238
|
|
|
235
239
|
interface SeoUnidade {
|
|
@@ -1128,6 +1132,7 @@ interface CentroMedico {
|
|
|
1128
1132
|
title: string;
|
|
1129
1133
|
};
|
|
1130
1134
|
idqd: string;
|
|
1135
|
+
idMotion: string;
|
|
1131
1136
|
unidadeSlug: string;
|
|
1132
1137
|
facilidades: string[];
|
|
1133
1138
|
especialidades: {
|
|
@@ -1756,16 +1761,16 @@ declare class ModalService {
|
|
|
1756
1761
|
}
|
|
1757
1762
|
|
|
1758
1763
|
declare abstract class AbstractModalDrawerComponent {
|
|
1759
|
-
abstract sheet: HTMLElement;
|
|
1760
|
-
abstract sheetContents: HTMLElement;
|
|
1761
|
-
abstract draggableArea: HTMLElement;
|
|
1762
|
-
abstract sheetHeight: number;
|
|
1763
|
-
abstract dragPosition: number;
|
|
1764
|
-
abstract maxHeight: number;
|
|
1765
|
-
abstract closeHeight: number;
|
|
1764
|
+
abstract sheet: HTMLElement | null;
|
|
1765
|
+
abstract sheetContents: HTMLElement | null;
|
|
1766
|
+
abstract draggableArea: HTMLElement | null;
|
|
1767
|
+
abstract sheetHeight: number | null;
|
|
1768
|
+
abstract dragPosition: number | null;
|
|
1769
|
+
abstract maxHeight: number | null;
|
|
1770
|
+
abstract closeHeight: number | null;
|
|
1766
1771
|
abstract rdsiteModalComponentStyle: any;
|
|
1767
1772
|
abstract id: ModelSignal<string>;
|
|
1768
|
-
abstract modalContent: ModelSignal<ElementRef
|
|
1773
|
+
abstract modalContent: ModelSignal<ElementRef | TemplateRef<any>> | null;
|
|
1769
1774
|
abstract componentStyle: ModelSignal<any>;
|
|
1770
1775
|
abstract modal: HTMLDialogElement;
|
|
1771
1776
|
abstract setSheetHeight(value: number): void;
|
|
@@ -1785,7 +1790,7 @@ declare class ModalDrawerService {
|
|
|
1785
1790
|
delay: number;
|
|
1786
1791
|
open(): void;
|
|
1787
1792
|
setReference(element: AbstractModalDrawerComponent): void;
|
|
1788
|
-
setContent(content: ElementRef): void;
|
|
1793
|
+
setContent(content: ElementRef | TemplateRef<any>): void;
|
|
1789
1794
|
setStyle(style: RdsiteModalDrawerComponentStyle): void;
|
|
1790
1795
|
setHeight(value: number): void;
|
|
1791
1796
|
close(): void;
|