-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(SharedThematic): deplacement des traitements métier thematic dep…
…uis le component vers le service
- Loading branch information
1 parent
ec5087b
commit 4a79908
Showing
21 changed files
with
148 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/app/shared-thematic/components/thematic-list/thematic-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<app-synthese [thematics]="thematics"></app-synthese> | ||
|
||
@for (thematic of thematics; track $index; let first = $first) { | ||
@if (thematic.active) { | ||
<div> | ||
@if (first) { | ||
<app-synthese [features]="responseFeatures"></app-synthese> | ||
|
||
} @else { | ||
<app-thematic-view [thematic]="thematic"></app-thematic-view> | ||
<app-thematic-view [thematic]="thematic"></app-thematic-view> | ||
} | ||
</div> | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file removed
0
src/app/shared-thematic/components/thematic-select/thematic-select.component.css
Empty file.
7 changes: 0 additions & 7 deletions
7
src/app/shared-thematic/components/thematic-select/thematic-select.component.html
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
src/app/shared-thematic/components/thematic-select/thematic-select.component.spec.ts
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
src/app/shared-thematic/components/thematic-select/thematic-select.component.ts
This file was deleted.
Oops, something went wrong.
30 changes: 16 additions & 14 deletions
30
src/app/shared-thematic/components/thematic-tabs/thematic-tabs.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
<dsfr-tabs [selectedTabIndex]="selectedTabIndex" (tabSelect)="selectTab($event)"> | ||
@if (thematics && thematics.length > 0) { | ||
<dsfr-tabs [selectedTabIndex]="selectedTabIndex"> | ||
|
||
@for (thematicTab of thematicTabs; track $index; let first = $first) { | ||
@if (thematicTab.active) { | ||
<dsfr-tab [tabId]="thematicTab.name" [label]="thematicTab.label"> | ||
|
||
@if (first) { | ||
<app-synthese [features]="responseFeatures" [thematicTabs]="thematicTabs"></app-synthese> | ||
} @else { | ||
<app-thematic-view [thematic]="thematicTab"></app-thematic-view> | ||
@for (thematic of thematics; track $index; let first = $first) { | ||
@if (thematic.active) { | ||
<dsfr-tab [tabId]="thematic.name" [label]="thematic.label"> | ||
|
||
@if (first) { | ||
<app-synthese [thematics]="thematics"></app-synthese> | ||
} @else { | ||
<app-thematic-view [thematic]="thematic"></app-thematic-view> | ||
} | ||
|
||
</dsfr-tab> | ||
} | ||
|
||
</dsfr-tab> | ||
} | ||
} | ||
|
||
</dsfr-tabs> | ||
|
||
</dsfr-tabs> | ||
} |
Oops, something went wrong.