text-panel.component.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <evt-panel [showSecondaryContent]="isSecondaryContentOpened()" (scrollContent)="updatePage()">
  2. <div header-left>
  3. <evt-page-selector [pageID]="pageID" (selectionChange)="currentPage$.next($event)"></evt-page-selector>
  4. <evt-edition-level-selector [class.hidden]="hideEditionLevelSelector" [editionLevelID]="editionLevelID" (selectionChange)="currentEdLevel$.next($event)"></evt-edition-level-selector>
  5. <evt-button
  6. label="Info"
  7. [iconLeft]="{icon: 'info-circle'}"
  8. additionalClasses="btn-primary mr-1"
  9. class="info-panel"
  10. (btnClick)="toggleSecondaryContent('Images are published courtesy of the Ministry of Culture - State Archives of Prato and are freely usable for activities of study, research, free expression of thought or creative expression, and promotion of knowledge of cultural heritage. The reproduction rights of the published images - in accordance with Articles 106, 107 and 108 of the Code of Cultural Heritage and Landscape (Legislative Decree 42/2004 as amended and supplemented) - belong to the State Archives of Prato, therefore all uses of these images, other than those stated above, must be expressly authorized (https://archiviodistatoprato.cultura.gov.it/servizi/autorizzazioni-a-pubblicare).')"
  11. [active]="secondaryContent === 'Info'"></evt-button>
  12. </div>
  13. <div content evtAnnotator #mainContent>
  14. <ng-container *ngIf="(currentStatus$ | async) as currentStatus">
  15. <ng-container *ngIf="isMultiplePageFlow$ | async">
  16. <evt-page *ngFor="let page of currentStatus.pages"
  17. [attr.data-id]="page.id"
  18. [data]="page"
  19. [textFlow]="textFlow"
  20. [itemsToHighlight]="itemsToHighlight$ | async"
  21. [itemsLemsToHighlight]="itemsLemsToHighlight$ | async"
  22. [itemsIperlemsToHighlight]="itemsIperlemsToHighlight$ | async"></evt-page>
  23. </ng-container>
  24. <evt-page *ngIf="(isMultiplePageFlow$ | async) === false"
  25. [attr.data-id]="currentStatus.currentPage.id"
  26. [data]="currentStatus.currentPage"
  27. [editionLevel]="currentStatus.editionLevel"
  28. [textFlow]="textFlow"
  29. [itemsToHighlight]="itemsToHighlight$ | async"
  30. [itemsLemsToHighlight]="itemsLemsToHighlight$ | async"
  31. [itemsIperlemsToHighlight]="itemsIperlemsToHighlight$ | async"></evt-page>
  32. </ng-container>
  33. </div>
  34. <div secondary-content>
  35. {{ getSecondaryContent() }}
  36. </div>
  37. <div footer>
  38. <!-- <evt-button
  39. [iconLeft]="{icon: 'search'}"
  40. label="Search"
  41. additionalClasses="mr-1"
  42. (btnClick)="toggleSecondaryContent('SEARCH_RESULTS')"
  43. [active]="secondaryContent === 'SEARCH_RESULTS'">
  44. </evt-button> -->
  45. <evt-entities-select (selectionChange)="itemsToHighlight$.next($event)"></evt-entities-select>
  46. <evt-lems-select (selectionChange)="itemsLemsToHighlight$.next($event)"></evt-lems-select>
  47. <evt-iperlems-select (selectionChange)="itemsIperlemsToHighlight$.next($event)"></evt-iperlems-select>
  48. <evt-button *ngIf="enableProseVersesToggler"
  49. [iconLeft]="proseVersesTogglerIcon"
  50. [label]="textFlow | translate"
  51. additionalClasses="ml-1"
  52. (btnClick)="toggleProseVerses()">
  53. </evt-button>
  54. </div>
  55. </evt-panel>