@rededor/site-front-end-lib 4.0.0-alpha.5 → 20.0.0-alpha.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 -123
- package/components/footer/index.d.ts +2 -2
- package/components/header/components/action/index.d.ts +2 -2
- package/components/header/components/auxiliar/index.d.ts +6 -4
- package/components/header/components/main/index.d.ts +5 -3
- package/components/header/components/side/index.d.ts +13 -11
- package/components/modal/index.d.ts +2 -3
- package/components/modal-drawer/index.d.ts +1 -2
- package/cura/buttons/cura-button/index.d.ts +6 -1
- package/cura/buttons/cura-button-outline/index.d.ts +6 -1
- package/cura/buttons/cura-button-select/index.d.ts +6 -1
- package/cura/buttons/cura-button-transparent/index.d.ts +6 -1
- package/cura/cards/cura-card/index.d.ts +0 -1
- package/cura/forms/cura-select/index.d.ts +3 -0
- package/cura/forms/cura-select-option/index.d.ts +5 -0
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +2 -2
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +6 -5
- 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 +8 -5
- 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 +12 -9
- 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 +11 -8
- 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 +11 -8
- 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 +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +5 -5
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +7 -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 +7 -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 +7 -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 +7 -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 -7
- 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-select-option.mjs +8 -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 +14 -3
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +1 -1
- package/package.json +21 -21
package/README.md
CHANGED
|
@@ -1,123 +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.
|
|
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,9 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { PrivacyToolsService, MenuSocialMedia, MenuItem } from '@rededor/site-front-end-lib/core';
|
|
4
4
|
|
|
5
5
|
declare class FooterComponent implements AfterViewInit {
|
|
6
|
-
libConfig: LibConfig;
|
|
7
6
|
privacyTools: PrivacyToolsService;
|
|
8
7
|
private curaApiService;
|
|
9
8
|
private elementRef;
|
|
@@ -22,6 +21,7 @@ declare class FooterComponent implements AfterViewInit {
|
|
|
22
21
|
footerSocialMediaClick: _angular_core.OutputEmitterRef<Event>;
|
|
23
22
|
footerMenuItemClick: _angular_core.OutputEmitterRef<Event>;
|
|
24
23
|
currentYear: number;
|
|
24
|
+
assetsPath: _angular_core.Signal<string>;
|
|
25
25
|
constructor();
|
|
26
26
|
ngAfterViewInit(): void;
|
|
27
27
|
private updateLogoWidth;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { HeaderService } from '@rededor/site-front-end-lib/components/header/services';
|
|
3
|
-
import { LibConfig } from '@rededor/site-front-end-lib/core';
|
|
4
3
|
|
|
5
4
|
declare class HeaderActionMenuComponent {
|
|
6
|
-
libConfig: LibConfig;
|
|
7
5
|
headerService: HeaderService;
|
|
6
|
+
private curaApiService;
|
|
8
7
|
loginUrl: _angular_core.InputSignal<string>;
|
|
9
8
|
showSearch: _angular_core.InputSignal<boolean>;
|
|
10
9
|
homeUrl: _angular_core.InputSignal<string>;
|
|
11
10
|
headerLoginClick: _angular_core.OutputEmitterRef<Event>;
|
|
11
|
+
assetsPath: _angular_core.Signal<string>;
|
|
12
12
|
headerLoginClicked(event: Event): void;
|
|
13
13
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeaderActionMenuComponent, never>;
|
|
14
14
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeaderActionMenuComponent, "div[sl-hdr-act]", never, { "loginUrl": { "alias": "loginUrl"; "required": false; "isSignal": true; }; "showSearch": { "alias": "showSearch"; "required": false; "isSignal": true; }; "homeUrl": { "alias": "homeUrl"; "required": false; "isSignal": true; }; }, { "headerLoginClick": "headerLoginClick"; }, never, never, true, never>;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { WritableSignal } from '@angular/core';
|
|
3
|
+
import { MenuItem } from '@rededor/site-front-end-lib/core';
|
|
3
4
|
|
|
4
5
|
declare class HeaderAuxMenuItemComponent {
|
|
5
|
-
|
|
6
|
+
private curaApiService;
|
|
6
7
|
item: _angular_core.InputSignal<MenuItem>;
|
|
7
8
|
altStyle: _angular_core.InputSignal<boolean>;
|
|
8
9
|
onlyDesktop: _angular_core.InputSignal<boolean>;
|
|
9
10
|
headerAuxMenuItemClick: _angular_core.OutputEmitterRef<Event>;
|
|
10
11
|
headerAuxMenuItemDDClick: _angular_core.OutputEmitterRef<Event>;
|
|
11
|
-
isMenuHover: boolean
|
|
12
|
-
isDropdownHover: boolean
|
|
12
|
+
isMenuHover: WritableSignal<boolean>;
|
|
13
|
+
isDropdownHover: WritableSignal<boolean>;
|
|
14
|
+
assetsPath: _angular_core.Signal<string>;
|
|
13
15
|
headerAuxMenuItemClicked(event: Event): void;
|
|
14
16
|
headerAuxMenuItemDDClicked(event: Event): void;
|
|
15
17
|
btnHoverChange(value: boolean): void;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnDestroy } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { MenuItem } from '@rededor/site-front-end-lib/core';
|
|
4
4
|
import { Subject, Subscription } from 'rxjs';
|
|
5
5
|
|
|
6
6
|
declare class HeaderMainMenuItemDropdownComponent implements OnDestroy {
|
|
7
7
|
private cdr;
|
|
8
|
-
|
|
8
|
+
private curaApiService;
|
|
9
9
|
item: _angular_core.InputSignal<MenuItem>;
|
|
10
10
|
headerMainMenuItemDDClick: _angular_core.OutputEmitterRef<Event>;
|
|
11
11
|
headerMainMenuHighlightDDClick: _angular_core.OutputEmitterRef<Event>;
|
|
12
12
|
headerMainMenuCtaDDClick: _angular_core.OutputEmitterRef<Event>;
|
|
13
13
|
opened: _angular_core.WritableSignal<boolean>;
|
|
14
|
+
assetsPath: _angular_core.Signal<string>;
|
|
14
15
|
selectedLv2Item: MenuItem | null;
|
|
15
16
|
selectedLv3Item: MenuItem | null;
|
|
16
17
|
lv2Item$: Subject<{
|
|
@@ -42,7 +43,7 @@ declare class HeaderMainMenuItemDropdownComponent implements OnDestroy {
|
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
declare class HeaderMainMenuItemComponent implements OnDestroy {
|
|
45
|
-
|
|
46
|
+
private curaApiService;
|
|
46
47
|
item: _angular_core.InputSignal<MenuItem>;
|
|
47
48
|
headerMainMenuItemClick: _angular_core.OutputEmitterRef<Event>;
|
|
48
49
|
headerMainMenuItemDDClick: _angular_core.OutputEmitterRef<Event>;
|
|
@@ -52,6 +53,7 @@ declare class HeaderMainMenuItemComponent implements OnDestroy {
|
|
|
52
53
|
isDropdownHover: boolean;
|
|
53
54
|
dropdownOpen$: Subject<boolean>;
|
|
54
55
|
dropdownSubscription: Subscription | null;
|
|
56
|
+
assetsPath: _angular_core.Signal<string>;
|
|
55
57
|
readonly dropdownComponent: _angular_core.Signal<HeaderMainMenuItemDropdownComponent | undefined>;
|
|
56
58
|
onMouseOver(): void;
|
|
57
59
|
onMouseLeave(): void;
|
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef, InputSignal } from '@angular/core';
|
|
3
3
|
import { HeaderService } from '@rededor/site-front-end-lib/components/header/services';
|
|
4
|
-
import {
|
|
4
|
+
import { MenuItem } from '@rededor/site-front-end-lib/core';
|
|
5
5
|
|
|
6
6
|
declare class HeaderSideMenuComponent {
|
|
7
|
-
libConfig: LibConfig;
|
|
8
7
|
headerService: HeaderService;
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
private curaApiService;
|
|
9
|
+
sideMenuGroups: _angular_core.InputSignal<MenuItem[][]>;
|
|
10
|
+
sideMenuGeoloc: _angular_core.InputSignal<TemplateRef<any> | null>;
|
|
11
|
+
assetsPath: _angular_core.Signal<string>;
|
|
11
12
|
overlayClick(): void;
|
|
12
|
-
static ɵfac:
|
|
13
|
-
static ɵcmp:
|
|
13
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeaderSideMenuComponent, never>;
|
|
14
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeaderSideMenuComponent, "div[sl-hdr-side]", never, { "sideMenuGroups": { "alias": "sideMenuGroups"; "required": false; "isSignal": true; }; "sideMenuGeoloc": { "alias": "sideMenuGeoloc"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
declare class HeaderSideMenuItemComponent {
|
|
17
|
-
|
|
18
|
+
private curaApiService;
|
|
18
19
|
headerService: HeaderService;
|
|
19
20
|
item: InputSignal<MenuItem>;
|
|
20
21
|
altStyle: InputSignal<boolean>;
|
|
21
22
|
fontSize: InputSignal<number>;
|
|
22
|
-
headerSideMenuItemClick:
|
|
23
|
+
headerSideMenuItemClick: _angular_core.OutputEmitterRef<Event>;
|
|
24
|
+
assetsPath: _angular_core.Signal<string>;
|
|
23
25
|
get style(): {
|
|
24
26
|
'--side-menu-item-font-size': string;
|
|
25
27
|
};
|
|
26
28
|
overlayClick(): void;
|
|
27
29
|
toggleList(event: Event, sideMenuItem: InputSignal<MenuItem>, canCloseSideMenu: boolean): void;
|
|
28
30
|
headerSideMenuItemClicked(event: Event): void;
|
|
29
|
-
static ɵfac:
|
|
30
|
-
static ɵcmp:
|
|
31
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeaderSideMenuItemComponent, never>;
|
|
32
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeaderSideMenuItemComponent, "li[sl-hdr-side-item]", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "altStyle": { "alias": "altStyle"; "required": false; "isSignal": true; }; "fontSize": { "alias": "fontSize"; "required": false; "isSignal": true; }; }, { "headerSideMenuItemClick": "headerSideMenuItemClick"; }, never, never, true, never>;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
export { HeaderSideMenuComponent, HeaderSideMenuItemComponent };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as _rededor_site_front_end_lib_core from '@rededor/site-front-end-lib/core';
|
|
2
|
-
import { AbstractModalComponent } from '@rededor/site-front-end-lib/core';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
4
2
|
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { AbstractModalComponent } from '@rededor/site-front-end-lib/core';
|
|
5
4
|
|
|
6
5
|
declare class ModalComponent implements AbstractModalComponent {
|
|
7
6
|
private readonly curaApiService;
|
|
@@ -9,7 +8,6 @@ declare class ModalComponent implements AbstractModalComponent {
|
|
|
9
8
|
private readonly platformId;
|
|
10
9
|
private readonly document;
|
|
11
10
|
private readonly cdr;
|
|
12
|
-
readonly libConfig: _rededor_site_front_end_lib_core.LibConfig;
|
|
13
11
|
modalContent: TemplateRef<any> | null;
|
|
14
12
|
modalContentContext: Record<string, any> | null;
|
|
15
13
|
modal: HTMLDialogElement;
|
|
@@ -19,6 +17,7 @@ declare class ModalComponent implements AbstractModalComponent {
|
|
|
19
17
|
'--backdrop-color': string;
|
|
20
18
|
'--close-color': string;
|
|
21
19
|
};
|
|
20
|
+
assetsPath: i0.Signal<string>;
|
|
22
21
|
ngOnInit(): void;
|
|
23
22
|
open(): void;
|
|
24
23
|
close(): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import * as _rededor_site_front_end_lib_core from '@rededor/site-front-end-lib/core';
|
|
3
2
|
import { AbstractModalDrawerComponent, RdsiteModalDrawerComponentStyle } from '@rededor/site-front-end-lib/core';
|
|
4
3
|
|
|
5
4
|
declare class ModalDrawerComponent implements AbstractModalDrawerComponent {
|
|
@@ -7,7 +6,6 @@ declare class ModalDrawerComponent implements AbstractModalDrawerComponent {
|
|
|
7
6
|
private readonly platformId;
|
|
8
7
|
private readonly document;
|
|
9
8
|
private readonly cdr;
|
|
10
|
-
readonly libConfig: _rededor_site_front_end_lib_core.LibConfig;
|
|
11
9
|
sheet: HTMLElement;
|
|
12
10
|
sheetContents: HTMLElement;
|
|
13
11
|
draggableArea: HTMLElement;
|
|
@@ -20,6 +18,7 @@ declare class ModalDrawerComponent implements AbstractModalDrawerComponent {
|
|
|
20
18
|
modalContent: _angular_core.ModelSignal<any>;
|
|
21
19
|
componentStyle: _angular_core.ModelSignal<RdsiteModalDrawerComponentStyle>;
|
|
22
20
|
modal: HTMLDialogElement;
|
|
21
|
+
assetsPath: _angular_core.Signal<string>;
|
|
23
22
|
get classBinding(): {
|
|
24
23
|
'filter-doencas': boolean;
|
|
25
24
|
};
|
|
@@ -66,6 +66,11 @@ declare class CuraButtonComponent {
|
|
|
66
66
|
* Values: false (default) | true.
|
|
67
67
|
*/
|
|
68
68
|
justify: _angular_core.InputSignal<boolean>;
|
|
69
|
+
/**
|
|
70
|
+
* Accessible name for the button (aria-label).
|
|
71
|
+
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
72
|
+
*/
|
|
73
|
+
ariaLabel: _angular_core.InputSignal<string>;
|
|
69
74
|
buttonClick: _angular_core.OutputEmitterRef<Event>;
|
|
70
75
|
hovered: boolean;
|
|
71
76
|
buttonStyles: _angular_core.Signal<{
|
|
@@ -79,7 +84,7 @@ declare class CuraButtonComponent {
|
|
|
79
84
|
handleMouseLeave(): void;
|
|
80
85
|
handleClick(event: Event): void;
|
|
81
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonComponent, never>;
|
|
82
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonComponent, "cura-button", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], true, never>;
|
|
87
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonComponent, "cura-button", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], true, never>;
|
|
83
88
|
}
|
|
84
89
|
|
|
85
90
|
export { CuraButtonComponent };
|
|
@@ -66,6 +66,11 @@ declare class CuraButtonOutlineComponent {
|
|
|
66
66
|
* Values: false (default) | true.
|
|
67
67
|
*/
|
|
68
68
|
justify: _angular_core.InputSignal<boolean>;
|
|
69
|
+
/**
|
|
70
|
+
* Accessible name for the button (aria-label).
|
|
71
|
+
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
72
|
+
*/
|
|
73
|
+
ariaLabel: _angular_core.InputSignal<string>;
|
|
69
74
|
buttonClick: _angular_core.OutputEmitterRef<Event>;
|
|
70
75
|
hovered: boolean;
|
|
71
76
|
buttonStyles: _angular_core.Signal<{
|
|
@@ -79,7 +84,7 @@ declare class CuraButtonOutlineComponent {
|
|
|
79
84
|
handleMouseLeave(): void;
|
|
80
85
|
handleClick(event: Event): void;
|
|
81
86
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonOutlineComponent, never>;
|
|
82
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonOutlineComponent, "cura-button-outline", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], true, never>;
|
|
87
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonOutlineComponent, "cura-button-outline", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], true, never>;
|
|
83
88
|
}
|
|
84
89
|
|
|
85
90
|
export { CuraButtonOutlineComponent };
|
|
@@ -12,6 +12,11 @@ declare class CuraButtonSelectComponent {
|
|
|
12
12
|
background: _angular_core.InputSignal<BackgroundType>;
|
|
13
13
|
color: _angular_core.InputSignal<string>;
|
|
14
14
|
iconPosition: _angular_core.InputSignal<IconPosition | undefined>;
|
|
15
|
+
/**
|
|
16
|
+
* Accessible name for the button (aria-label).
|
|
17
|
+
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
18
|
+
*/
|
|
19
|
+
ariaLabel: _angular_core.InputSignal<string>;
|
|
15
20
|
onclick: _angular_core.OutputEmitterRef<{
|
|
16
21
|
selected: boolean;
|
|
17
22
|
}>;
|
|
@@ -28,7 +33,7 @@ declare class CuraButtonSelectComponent {
|
|
|
28
33
|
handleMouseLeave(): void;
|
|
29
34
|
handleClick(event: Event): void;
|
|
30
35
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonSelectComponent, never>;
|
|
31
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonSelectComponent, "cura-button-select", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "counter": { "alias": "counter"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "onclick": "onclick"; }, never, ["*"], true, never>;
|
|
36
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonSelectComponent, "cura-button-select", never, { "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "counter": { "alias": "counter"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; "onclick": "onclick"; }, never, ["*"], true, never>;
|
|
32
37
|
}
|
|
33
38
|
|
|
34
39
|
export { CuraButtonSelectComponent };
|
|
@@ -63,6 +63,11 @@ declare class CuraButtonTransparentComponent {
|
|
|
63
63
|
* Values: false (default) | true.
|
|
64
64
|
*/
|
|
65
65
|
justify: _angular_core.InputSignal<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* Accessible name for the button (aria-label).
|
|
68
|
+
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
69
|
+
*/
|
|
70
|
+
ariaLabel: _angular_core.InputSignal<string>;
|
|
66
71
|
buttonClick: _angular_core.OutputEmitterRef<Event>;
|
|
67
72
|
hovered: boolean;
|
|
68
73
|
buttonStyles: _angular_core.Signal<{
|
|
@@ -76,7 +81,7 @@ declare class CuraButtonTransparentComponent {
|
|
|
76
81
|
handleMouseLeave(): void;
|
|
77
82
|
handleClick(event: Event): void;
|
|
78
83
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraButtonTransparentComponent, never>;
|
|
79
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonTransparentComponent, "cura-button-transparent", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], true, never>;
|
|
84
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraButtonTransparentComponent, "cura-button-transparent", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconset": { "alias": "iconset"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "fontColor": { "alias": "fontColor"; "required": false; "isSignal": true; }; "textAlign": { "alias": "textAlign"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "buttonClick": "buttonClick"; }, never, ["*"], true, never>;
|
|
80
85
|
}
|
|
81
86
|
|
|
82
87
|
export { CuraButtonTransparentComponent };
|
|
@@ -43,7 +43,6 @@ declare class CuraCardComponent {
|
|
|
43
43
|
target: _angular_core.InputSignal<CardTarget>;
|
|
44
44
|
containerClasses: _angular_core.Signal<string>;
|
|
45
45
|
isLink: _angular_core.Signal<boolean>;
|
|
46
|
-
hostRole: _angular_core.Signal<"link" | "div">;
|
|
47
46
|
cardStyles: _angular_core.Signal<{
|
|
48
47
|
[key: string]: string;
|
|
49
48
|
}>;
|
|
@@ -101,6 +101,7 @@ declare class CuraSelectComponent implements ControlValueAccessor, AfterViewInit
|
|
|
101
101
|
isOpen: _angular_core.WritableSignal<boolean>;
|
|
102
102
|
activeIndex: _angular_core.WritableSignal<number>;
|
|
103
103
|
textInput: _angular_core.WritableSignal<string>;
|
|
104
|
+
private componentId;
|
|
104
105
|
private onChange;
|
|
105
106
|
private onTouched;
|
|
106
107
|
inputElement: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
@@ -117,6 +118,8 @@ declare class CuraSelectComponent implements ControlValueAccessor, AfterViewInit
|
|
|
117
118
|
labelColor: _angular_core.Signal<string>;
|
|
118
119
|
textColor: _angular_core.Signal<string>;
|
|
119
120
|
iconColor: _angular_core.Signal<string>;
|
|
121
|
+
listboxId: _angular_core.Signal<string>;
|
|
122
|
+
activeOptionId: _angular_core.Signal<string>;
|
|
120
123
|
styles: _angular_core.Signal<{
|
|
121
124
|
[key: string]: string;
|
|
122
125
|
}>;
|
|
@@ -36,6 +36,11 @@ declare class CuraSelectOptionComponent {
|
|
|
36
36
|
* Whether the option is visible (for search filtering)
|
|
37
37
|
*/
|
|
38
38
|
visible: _angular_core.ModelSignal<boolean>;
|
|
39
|
+
/**
|
|
40
|
+
* Unique ID for the option (for accessibility)
|
|
41
|
+
*/
|
|
42
|
+
private componentId;
|
|
43
|
+
optionId: _angular_core.Signal<string>;
|
|
39
44
|
internalSize: _angular_core.Signal<SelectOptionSizeConfig>;
|
|
40
45
|
styles: _angular_core.Signal<{
|
|
41
46
|
[key: string]: string;
|
|
@@ -26,7 +26,7 @@ class ContentBannerComponent {
|
|
|
26
26
|
this.ctaClick.emit({ text, link });
|
|
27
27
|
}
|
|
28
28
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ContentBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
29
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.2", type: ContentBannerComponent, isStandalone: true, selector: "rdsite-content-banner", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ctaClick: "ctaClick" }, host: { properties: { "style": "this.styleBinding" } }, ngImport: i0, template: "@if (content()?.title) {\r\n <cura-heading [level]=\"4\" weight=\"bold\" color=\"neutral-purewhite\" marginBlock=\"0\">\r\n {{ content()?.title }}\r\n </cura-heading>\r\n}\r\n\r\n@if (content()?.text) {\r\n <cura-paragraph color=\"neutral-purewhite\" marginBlock=\"0\">\r\n {{ content()?.text }}\r\n </cura-paragraph>\r\n}\r\n\r\n@if (content()?.info?.length) {\r\n <div class=\"info\" data-testid=\"_content-banner-info\">\r\n @for (item of content()?.info || []; track $index) {\r\n @if (item.text) {\r\n <a [ngClass]=\"{ disabled: !item.link }\" rdsitelink [href]=\"item.link || ''\">\r\n @if (item.icon) {\r\n <cura-icon [name]=\"item.icon\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\r\n }\r\n {{ item.text }}\r\n </a>\r\n }\r\n }\r\n </div>\r\n}\r\n\r\n@if (content()?.cta?.text && content()?.cta?.link) {\r\n <cura-button\r\n (click)=\"onCtaClick(content()?.cta?.text || '', content()?.cta?.link || '')\"\r\n size=\"large\"\r\n type=\"button\"\r\n color=\"accent\"\r\n [iconName]=\"content()?.cta?.icon || ''\"\r\n [href]=\"content()!.cta.link\"\r\n target=\"_self\"\r\n >\r\n {{ content()?.cta?.text }}\r\n </cura-button>\r\n}\r\n\r\n@if (content()?.image) {\r\n <rdsite-image\r\n [imageDefaultSrc]=\"content()?.image.url\"\r\n [imageWebpSrc]=\"content()?.image?.webp_url\"\r\n [title]=\"content()?.image.title\"\r\n [alt]=\"content()?.image.alt\"\r\n >\r\n </rdsite-image>\r\n}\r\n", styles: [":host{position:relative;z-index:0;display:block;width:100%;height:auto;padding:32px 56px 96px;margin-bottom:30px;border-radius:4px;background:linear-gradient(90deg,#004186 7.78%,#1163a1 40.08%,#2791c6 76.03%,#36b1df 95.14%)}:host cura-heading{position:relative;z-index:2;margin-bottom:8px}:host cura-paragraph{position:relative;z-index:2;margin-bottom:20px}:host .info{position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}:host .info>a{display:flex;justify-content:flex-start;align-items:center;gap:8px;width:fit-content;min-height:34px;color:var(--neutral-purewhite);font-size:12px;font-weight:500;line-height:13px;letter-spacing:.72px;padding:4px 20px;border-radius:20px;background:var(--color-one-lighter);text-decoration:none}:host .info>a.disabled{pointer-events:none}:host .info>a cura-icon{display:flex;justify-content:center;align-items:center;width:20px;height:20px;border:1.5px solid var(--neutral-purewhite);border-radius:50%}:host cura-button{position:relative;z-index:2;margin-top:30px}:host rdsite-image{position:absolute;z-index:1;bottom:0;right:40px;height:90%}:host rdsite-image ::ng-deep .rdsite-image{height:100%}:host rdsite-image ::ng-deep .rdsite-image img{height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: ImageComponent, selector: "rdsite-image", inputs: ["imageWebpSrc", "imageDefaultSrc", "imageSizes", "mimeType", "alt", "title", "loading"], outputs: ["imageDefaultSrcChange", "mimeTypeChange"] }, { kind: "component", type: CuraHeadingComponent, selector: "cura-heading", inputs: ["level", "size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraParagraphComponent, selector: "cura-paragraph", inputs: ["size", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraButtonComponent, selector: "cura-button", inputs: ["type", "size", "disabled", "isLoading", "iconName", "iconset", "iconPosition", "iconOnly", "href", "target", "color", "background", "fontColor", "textAlign", "justify"], outputs: ["buttonClick"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
|
|
29
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.2", type: ContentBannerComponent, isStandalone: true, selector: "rdsite-content-banner", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ctaClick: "ctaClick" }, host: { properties: { "style": "this.styleBinding" } }, ngImport: i0, template: "@if (content()?.title) {\r\n <cura-heading [level]=\"4\" weight=\"bold\" color=\"neutral-purewhite\" marginBlock=\"0\">\r\n {{ content()?.title }}\r\n </cura-heading>\r\n}\r\n\r\n@if (content()?.text) {\r\n <cura-paragraph color=\"neutral-purewhite\" marginBlock=\"0\">\r\n {{ content()?.text }}\r\n </cura-paragraph>\r\n}\r\n\r\n@if (content()?.info?.length) {\r\n <div class=\"info\" data-testid=\"_content-banner-info\">\r\n @for (item of content()?.info || []; track $index) {\r\n @if (item.text) {\r\n <a [ngClass]=\"{ disabled: !item.link }\" rdsitelink [href]=\"item.link || ''\">\r\n @if (item.icon) {\r\n <cura-icon [name]=\"item.icon\" size=\"16\" color=\"neutral-purewhite\"></cura-icon>\r\n }\r\n {{ item.text }}\r\n </a>\r\n }\r\n }\r\n </div>\r\n}\r\n\r\n@if (content()?.cta?.text && content()?.cta?.link) {\r\n <cura-button\r\n (click)=\"onCtaClick(content()?.cta?.text || '', content()?.cta?.link || '')\"\r\n size=\"large\"\r\n type=\"button\"\r\n color=\"accent\"\r\n [iconName]=\"content()?.cta?.icon || ''\"\r\n [href]=\"content()!.cta.link\"\r\n target=\"_self\"\r\n >\r\n {{ content()?.cta?.text }}\r\n </cura-button>\r\n}\r\n\r\n@if (content()?.image) {\r\n <rdsite-image\r\n [imageDefaultSrc]=\"content()?.image.url\"\r\n [imageWebpSrc]=\"content()?.image?.webp_url\"\r\n [title]=\"content()?.image.title\"\r\n [alt]=\"content()?.image.alt\"\r\n >\r\n </rdsite-image>\r\n}\r\n", styles: [":host{position:relative;z-index:0;display:block;width:100%;height:auto;padding:32px 56px 96px;margin-bottom:30px;border-radius:4px;background:linear-gradient(90deg,#004186 7.78%,#1163a1 40.08%,#2791c6 76.03%,#36b1df 95.14%)}:host cura-heading{position:relative;z-index:2;margin-bottom:8px}:host cura-paragraph{position:relative;z-index:2;margin-bottom:20px}:host .info{position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}:host .info>a{display:flex;justify-content:flex-start;align-items:center;gap:8px;width:fit-content;min-height:34px;color:var(--neutral-purewhite);font-size:12px;font-weight:500;line-height:13px;letter-spacing:.72px;padding:4px 20px;border-radius:20px;background:var(--color-one-lighter);text-decoration:none}:host .info>a.disabled{pointer-events:none}:host .info>a cura-icon{display:flex;justify-content:center;align-items:center;width:20px;height:20px;border:1.5px solid var(--neutral-purewhite);border-radius:50%}:host cura-button{position:relative;z-index:2;margin-top:30px}:host rdsite-image{position:absolute;z-index:1;bottom:0;right:40px;height:90%}:host rdsite-image ::ng-deep .rdsite-image{height:100%}:host rdsite-image ::ng-deep .rdsite-image img{height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: ImageComponent, selector: "rdsite-image", inputs: ["imageWebpSrc", "imageDefaultSrc", "imageSizes", "mimeType", "alt", "title", "loading"], outputs: ["imageDefaultSrcChange", "mimeTypeChange"] }, { kind: "component", type: CuraHeadingComponent, selector: "cura-heading", inputs: ["level", "size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraParagraphComponent, selector: "cura-paragraph", inputs: ["size", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraButtonComponent, selector: "cura-button", inputs: ["type", "size", "disabled", "isLoading", "iconName", "iconset", "iconPosition", "iconOnly", "href", "target", "color", "background", "fontColor", "textAlign", "justify", "ariaLabel"], outputs: ["buttonClick"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
|
|
30
30
|
}
|
|
31
31
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.2", ngImport: i0, type: ContentBannerComponent, decorators: [{
|
|
32
32
|
type: Component,
|