@net7/boilerplate-arianna 5.2.2 → 5.2.4
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/esm2022/lib/components/aw-facets-wrapper/aw-facets-wrapper.mjs +3 -3
- package/esm2022/lib/components/bubble-chart-wrapper/bubble-chart-wrapper.mjs +3 -3
- package/esm2022/lib/components/chart-tippy/chart-tippy.mjs +3 -3
- package/esm2022/lib/components/extended-tree/extended-tree.mjs +3 -3
- package/esm2022/lib/components/gallery-breadcrumbs-tooltip/gallery-breadcrumbs-tooltip.mjs +3 -3
- package/esm2022/lib/components/pdf-viewer/pdf-viewer.mjs +3 -3
- package/esm2022/lib/components/scheda-dropdown/scheda-dropdown.mjs +3 -3
- package/esm2022/lib/components/scheda-image-navigator/scheda-image-navigator.mjs +3 -3
- package/esm2022/lib/components/scheda-search/scheda-search.mjs +3 -3
- package/esm2022/lib/components/smart-breadcrumbs/smart-breadcrumbs.mjs +3 -3
- package/esm2022/lib/layouts/collection-layout/collection-layout.mjs +3 -3
- package/esm2022/lib/layouts/entita-layout/entita-layout.mjs +3 -3
- package/esm2022/lib/layouts/gallery-layout/gallery-layout.mjs +3 -3
- package/esm2022/lib/layouts/home-layout/home-layout.mjs +3 -3
- package/esm2022/lib/layouts/map-layout/map-layout.mjs +3 -3
- package/esm2022/lib/layouts/scheda-layout/scheda-layout.mjs +3 -3
- package/esm2022/lib/layouts/search-layout/search-layout.mjs +3 -3
- package/esm2022/lib/layouts/timeline-layout/timeline-layout.mjs +3 -3
- package/esm2022/lib/n7-boilerplate-arianna.module.mjs +4 -4
- package/esm2022/lib/search/aw-search.service.mjs +3 -3
- package/fesm2022/net7-boilerplate-arianna.mjs +61 -61
- package/fesm2022/net7-boilerplate-arianna.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3458,10 +3458,10 @@ class AwCollectionLayoutComponent extends AbstractLayout {
|
|
|
3458
3458
|
ngOnDestroy() {
|
|
3459
3459
|
this.onDestroy();
|
|
3460
3460
|
}
|
|
3461
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
3462
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
3461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwCollectionLayoutComponent, deps: [{ token: i1.CommunicationService }, { token: i1.LayoutsConfigurationService }, { token: i1.ConfigurationService }, { token: i1$1.ActivatedRoute }, { token: i1.MainStateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3462
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AwCollectionLayoutComponent, selector: "n7-collection-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-collection-layout\"\n *ngIf=\"lb.dataSource as dataSource\">\n\n <div class=\"aw-collection-layout__header\">\n <n7-inner-title [data]=\"dataSource.innerTitleData.getValue()\">\n </n7-inner-title>\n </div>\n\n <div class=\"aw-collection-layout__description\"\n *ngIf=\"dataSource.collectionDescription.getValue()\">\n <div class=\"aw-collection-layout__description-text\">\n {{ dataSource.collectionDescription.getValue() }}\n </div>\n </div>\n\n <section class=\"n7-grid-3 aw-collection-layout__grid\"\n [ngClass]=\"{ 'is-loading': dataSource.loading }\"\n *ngIf=\"dataSource.loadedCollections | async\">\n \n <ng-container *ngFor=\"let item of (dataSource.loadedCollections | async)\">\n <n7-item-preview [data]=\"item\">\n </n7-item-preview>\n </ng-container>\n \n <ng-container *ngIf=\"dataSource.loading\">\n <n7-content-placeholder *ngFor=\"let n of dataSource.pageSizeList\"\n [data]=\"{\n blocks: [{ classes: 'collection-placeholder-item-preview' }]\n }\"></n7-content-placeholder>\n </ng-container>\n \n </section>\n\n <section *ngIf=\"dataSource.loadMoreButton.getValue()\">\n <button class=\"n7-btn n7-btn-cta n7-btn-xl aw-collection-layout__btn-more\"\n (click)=\"dataSource.loadMore()\"\n [disabled]=\"dataSource.loading\">\n MOSTRA ALTRI\n </button>\n </section>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { kind: "component", type: i4.InnerTitleComponent, selector: "n7-inner-title", inputs: ["data", "emit"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
3463
3463
|
}
|
|
3464
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
3464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwCollectionLayoutComponent, decorators: [{
|
|
3465
3465
|
type: Component,
|
|
3466
3466
|
args: [{ selector: 'n7-collection-layout', template: "<div class=\"aw-collection-layout\"\n *ngIf=\"lb.dataSource as dataSource\">\n\n <div class=\"aw-collection-layout__header\">\n <n7-inner-title [data]=\"dataSource.innerTitleData.getValue()\">\n </n7-inner-title>\n </div>\n\n <div class=\"aw-collection-layout__description\"\n *ngIf=\"dataSource.collectionDescription.getValue()\">\n <div class=\"aw-collection-layout__description-text\">\n {{ dataSource.collectionDescription.getValue() }}\n </div>\n </div>\n\n <section class=\"n7-grid-3 aw-collection-layout__grid\"\n [ngClass]=\"{ 'is-loading': dataSource.loading }\"\n *ngIf=\"dataSource.loadedCollections | async\">\n \n <ng-container *ngFor=\"let item of (dataSource.loadedCollections | async)\">\n <n7-item-preview [data]=\"item\">\n </n7-item-preview>\n </ng-container>\n \n <ng-container *ngIf=\"dataSource.loading\">\n <n7-content-placeholder *ngFor=\"let n of dataSource.pageSizeList\"\n [data]=\"{\n blocks: [{ classes: 'collection-placeholder-item-preview' }]\n }\"></n7-content-placeholder>\n </ng-container>\n \n </section>\n\n <section *ngIf=\"dataSource.loadMoreButton.getValue()\">\n <button class=\"n7-btn n7-btn-cta n7-btn-xl aw-collection-layout__btn-more\"\n (click)=\"dataSource.loadMore()\"\n [disabled]=\"dataSource.loading\">\n MOSTRA ALTRI\n </button>\n </section>\n</div>\n" }]
|
|
3467
3467
|
}], ctorParameters: () => [{ type: i1.CommunicationService }, { type: i1.LayoutsConfigurationService }, { type: i1.ConfigurationService }, { type: i1$1.ActivatedRoute }, { type: i1.MainStateService }] });
|
|
@@ -4067,10 +4067,10 @@ class SmartBreadcrumbsComponent {
|
|
|
4067
4067
|
return;
|
|
4068
4068
|
this.emit('click', payload);
|
|
4069
4069
|
}
|
|
4070
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4071
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
4070
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SmartBreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4071
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: { data: "data", emit: "emit" }, viewQueries: [{ propertyName: "bcol", first: true, predicate: ["bcol"], descendants: true, read: ElementRef }, { propertyName: "bcdiv", first: true, predicate: ["bcdiv"], descendants: true, read: ElementRef }], ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-breadcrumbs {{ data.classes || '' }}\" #bcdiv>\n <nav class=\"n7-breadcrumbs__nav\">\n <ol class=\"n7-breadcrumbs__list\" #bcol>\n <li *ngFor=\"let item of data.items\" class=\"n7-breadcrumbs__item {{ item.classes || '' }}\">\n <span class=\"ellipsis-target\">\n <n7-anchor-wrapper [classes]=\"item.classes\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n {{ item.label }}\n </n7-anchor-wrapper>\n </span>\n </li>\n </ol>\n </nav>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }] }); }
|
|
4072
4072
|
}
|
|
4073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SmartBreadcrumbsComponent, decorators: [{
|
|
4074
4074
|
type: Component,
|
|
4075
4075
|
args: [{ selector: 'n7-smart-breadcrumbs', template: "<div *ngIf=\"data\" class=\"n7-breadcrumbs {{ data.classes || '' }}\" #bcdiv>\n <nav class=\"n7-breadcrumbs__nav\">\n <ol class=\"n7-breadcrumbs__list\" #bcol>\n <li *ngFor=\"let item of data.items\" class=\"n7-breadcrumbs__item {{ item.classes || '' }}\">\n <span class=\"ellipsis-target\">\n <n7-anchor-wrapper [classes]=\"item.classes\"\n [data]=\"item.anchor\"\n (clicked)=\"onClick($event)\">\n {{ item.label }}\n </n7-anchor-wrapper>\n </span>\n </li>\n </ol>\n </nav>\n</div>\n" }]
|
|
4076
4076
|
}], propDecorators: { data: [{
|
|
@@ -4118,10 +4118,10 @@ class AwEntitaLayoutComponent extends AbstractLayout {
|
|
|
4118
4118
|
ngOnDestroy() {
|
|
4119
4119
|
this.onDestroy();
|
|
4120
4120
|
}
|
|
4121
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
4122
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: AwEntitaLayoutComponent, selector: "aw-entita-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-entity n7-side-auto-padding\"\n *ngIf=\"lb.dataSource\">\n\n <div class=\"aw-entity__sidebar\">\n <!-- Custom header -->\n <div *ngIf=\"lb.dataSource.loading\"\n class=\"aw-entity__sidebar-title-wrapper-loading\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'entity-placeholder-title'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n <div *ngIf=\"!lb.dataSource.loading\"\n class=\"aw-entity__sidebar-title-wrapper color-{{lb.dataSource.navHeader.color}}\">\n <h1 class=\"aw-entity__sidebar-title\">\n <span class=\"aw-entity__sidebar-title-icon {{lb.dataSource.navHeader.icon}}\"></span>\n <span class=\"aw-entity__sidebar-title-text\">{{lb.dataSource.navHeader.text}}</span>\n </h1>\n </div>\n <!-- Navigation -->\n <div *ngIf=\"lb.dataSource.loading\"\n class=\"aw-entity__sidebar-nav-loading\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2]\"\n [data]=\"{\n blocks: [{\n classes: 'entity-placeholder-nav'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n <n7-nav *ngIf=\"!lb.dataSource.loading\" \n [data]=\"lb.widgets['aw-entita-nav'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-entita-nav'].emit\">\n </n7-nav>\n </div>\n\n <!-- lb.dataSource.selectedTab -->\n <div *ngIf=\"lb.dataSource.loading\"\n class=\"aw-entity__content-loading\">\n <div class=\"aw-entity__content-loading-title\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'entity-placeholder-title'\n }]\n }\"></n7-content-placeholder>\n </div>\n\n <div class=\"aw-entity__content-loading-items\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3]\"\n [data]=\"{\n blocks: [{ classes: 'entity-placeholder-item-preview' }]\n }\"></n7-content-placeholder>\n </div>\n </div>\n\n <div *ngIf=\"!lb.dataSource.loading\"\n class=\"aw-entity__content\">\n <section>\n <div *ngIf=\"lb.dataSource.myResponse.wikiTab || lb.dataSource.myResponse.extraTab\"\n class=\"aw-entity__content-section\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview'\">\n <div class=\"aw-entity__overview-description\">\n {{lb.dataSource.myResponse.extraTab}}\n </div>\n <div class=\"aw-entity-layout__button-wrapper\">\n <a *ngIf=\"lb.dataSource.myResponse.wikiTab\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/wiki']\">\n DESCRIZIONE WIKIPEDIA <i class=\"n7-icon-angle-right\"></i>\n </a>\n <a *ngIf=\"lb.dataSource.myResponse.extraTab\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/maxxi']\">\n DESCRIZIONE MAXXI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n </div>\n\n <ng-container *ngIf=\"(\n ['overview', 'informazioni'].includes(lb.dataSource.selectedTab)\n )\">\n <div class=\"aw-entity__content-section aw-entity__content-section-overview\">\n <div class=\"aw-entity__content-section-header\"\n *ngIf=\"lb.dataSource.selectedTab === 'overview'\">\n <h2 class=\"aw-entity__content-section-title\"\n *ngIf=\"lb.dataSource.selectedTab === 'overview'\">Informazioni</h2>\n <a *ngIf=\"lb.dataSource.selectedTab !== 'informazioni'\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/informazioni']\">\n TUTTE LE INFORMAZIONI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n <p *ngIf=\"lb.dataSource.fallbackText\"\n class=\"aw-entity__content-section-empty\">\n {{ lb.dataSource.fallbackText }}\n </p>\n <n7-metadata-viewer class=\"aw-entity-layout__metadata-viewer\"\n [data]=\"lb.widgets['aw-entita-metadata-viewer'].ds.out$ | async\">\n </n7-metadata-viewer>\n </div>\n </ng-container>\n\n <div class=\"aw-entity__content-section aw-entity__content-section-overview\"\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews && lb.dataSource.myResponse.relatedItems\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview' && lb.dataSource.selectedTab != 'oggetti-collegati'\">\n <div class=\"aw-entity__content-section-header\">\n <h2 class=\"aw-entity__content-section-title\">Oggetti collegati</h2>\n\n <a *ngIf=\"lb.dataSource.selectedTab === 'overview' \"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/oggetti-collegati/']\"\n [queryParams]=\"{ page: 1 }\"\n class=\"n7-btn n7-btn-light\">\n TUTTI GLI OGGETTI COLLEGATI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n <div class=\"aw-entity__content-item-previews aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione \n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.selectedTab === 'oggetti-collegati'\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n\n <div class=\"aw-entity__content-section aw-entity__content-section-overview\"\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews && lb.dataSource.myResponse.relatedLa\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview' && lb.dataSource.selectedTab != 'fondi-collegati'\">\n <div class=\"aw-entity__content-section-header\">\n <h2 class=\"aw-entity__content-section-title\">{{ lb.dataSource.configuration.get('labels')['aggregazioni-logiche-collegate'] }}</h2>\n\n <a *ngIf=\"lb.dataSource.selectedTab === 'overview' \"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/fondi-collegati/']\"\n [queryParams]=\"{ page: 1 }\"\n class=\"n7-btn n7-btn-light\">\n TUTTE LE FONDI COLLEGATI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n <div class=\"aw-entity__content-item-previews aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione\n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.selectedTab === 'fondi-collegati'\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n\n <div class=\"aw-entity__content-section aw-entity__content-section-overview aw-related-entities__{{lb.dataSource.selectedTab}}\"\n *ngIf=\"lb.dataSource.myResponse.relatedEntities\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview' && lb.dataSource.selectedTab != 'entita-collegate'\">\n <div class=\"aw-entity__content-section-header\">\n <h2 class=\"aw-entity__content-section-title\">Entit\u00E0 collegate</h2>\n <a *ngIf=\"lb.dataSource.selectedTab == 'overview'\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/entita-collegate']\">\n TUTTE LE ENTIT\u00C0 COLLEGATE <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n\n <!-- ENTITA COLLEGATE -->\n <section id=\"related-item-container\"\n class=\"aw-entity__section aw-entity__related\">\n <div class=\"aw-entity__inner-title\">\n {{lb.dataSource.relatedEntitiesHeader}}\n </div>\n <div class=\"aw-entity__related-items n7-grid-2 aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-related-entities'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-related-entities'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione\n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n </section>\n </div>\n <div class=\"aw-entity__content-section aw-entity__content-section-maxxi\"\n *ngIf=\"lb.dataSource.myResponse.extraTab\"\n [hidden]=\"lb.dataSource.selectedTab != 'maxxi'\">\n <div class=\"aw-entity__content-section-header aw-entity__content-section-header-decorated\">\n <h2 class=\"aw-entity__content-section-title\">Descrizione Maxxi</h2>\n </div>\n <div>\n {{lb.dataSource.myResponse.extraTab}}\n </div>\n </div>\n <div class=\"aw-entity__content-section aw-entity__content-section-wiki\"\n *ngIf=\"lb.dataSource.myResponse.wikiTab\"\n [hidden]=\"lb.dataSource.selectedTab != 'wiki'\">\n <div class=\"aw-entity__content-section-header aw-entity__content-section-header-decorated\">\n <h2 class=\"aw-entity__content-section-title\">Descrizione Wikipedia</h2>\n </div>\n <div>\n {{lb.dataSource.myResponse.wikiTab.text}}\n </div>\n <a href=\"{{lb.dataSource.myResponse.wikiTabUrl}}\">\n {{ lb.dataSource.myResponse.wikiTab.url }}\n </a>\n </div>\n </section>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i4.MetadataViewerComponent, selector: "n7-metadata-viewer", inputs: ["data", "emit"] }, { kind: "component", type: i4.NavComponent, selector: "n7-nav", inputs: ["data", "emit"] }, { kind: "component", type: i1.SmartPaginationComponent, selector: "n7-smart-pagination", inputs: ["data", "emit"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
4121
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwEntitaLayoutComponent, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }, { token: i1.ConfigurationService }, { token: i1.LayoutsConfigurationService }, { token: i1.CommunicationService }, { token: i1.MainStateService }, { token: i3.Title }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4122
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AwEntitaLayoutComponent, selector: "aw-entita-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-entity n7-side-auto-padding\"\n *ngIf=\"lb.dataSource\">\n\n <div class=\"aw-entity__sidebar\">\n <!-- Custom header -->\n <div *ngIf=\"lb.dataSource.loading\"\n class=\"aw-entity__sidebar-title-wrapper-loading\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'entity-placeholder-title'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n <div *ngIf=\"!lb.dataSource.loading\"\n class=\"aw-entity__sidebar-title-wrapper color-{{lb.dataSource.navHeader.color}}\">\n <h1 class=\"aw-entity__sidebar-title\">\n <span class=\"aw-entity__sidebar-title-icon {{lb.dataSource.navHeader.icon}}\"></span>\n <span class=\"aw-entity__sidebar-title-text\">{{lb.dataSource.navHeader.text}}</span>\n </h1>\n </div>\n <!-- Navigation -->\n <div *ngIf=\"lb.dataSource.loading\"\n class=\"aw-entity__sidebar-nav-loading\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2]\"\n [data]=\"{\n blocks: [{\n classes: 'entity-placeholder-nav'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n <n7-nav *ngIf=\"!lb.dataSource.loading\" \n [data]=\"lb.widgets['aw-entita-nav'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-entita-nav'].emit\">\n </n7-nav>\n </div>\n\n <!-- lb.dataSource.selectedTab -->\n <div *ngIf=\"lb.dataSource.loading\"\n class=\"aw-entity__content-loading\">\n <div class=\"aw-entity__content-loading-title\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'entity-placeholder-title'\n }]\n }\"></n7-content-placeholder>\n </div>\n\n <div class=\"aw-entity__content-loading-items\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3]\"\n [data]=\"{\n blocks: [{ classes: 'entity-placeholder-item-preview' }]\n }\"></n7-content-placeholder>\n </div>\n </div>\n\n <div *ngIf=\"!lb.dataSource.loading\"\n class=\"aw-entity__content\">\n <section>\n <div *ngIf=\"lb.dataSource.myResponse.wikiTab || lb.dataSource.myResponse.extraTab\"\n class=\"aw-entity__content-section\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview'\">\n <div class=\"aw-entity__overview-description\">\n {{lb.dataSource.myResponse.extraTab}}\n </div>\n <div class=\"aw-entity-layout__button-wrapper\">\n <a *ngIf=\"lb.dataSource.myResponse.wikiTab\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/wiki']\">\n DESCRIZIONE WIKIPEDIA <i class=\"n7-icon-angle-right\"></i>\n </a>\n <a *ngIf=\"lb.dataSource.myResponse.extraTab\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/maxxi']\">\n DESCRIZIONE MAXXI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n </div>\n\n <ng-container *ngIf=\"(\n ['overview', 'informazioni'].includes(lb.dataSource.selectedTab)\n )\">\n <div class=\"aw-entity__content-section aw-entity__content-section-overview\">\n <div class=\"aw-entity__content-section-header\"\n *ngIf=\"lb.dataSource.selectedTab === 'overview'\">\n <h2 class=\"aw-entity__content-section-title\"\n *ngIf=\"lb.dataSource.selectedTab === 'overview'\">Informazioni</h2>\n <a *ngIf=\"lb.dataSource.selectedTab !== 'informazioni'\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/informazioni']\">\n TUTTE LE INFORMAZIONI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n <p *ngIf=\"lb.dataSource.fallbackText\"\n class=\"aw-entity__content-section-empty\">\n {{ lb.dataSource.fallbackText }}\n </p>\n <n7-metadata-viewer class=\"aw-entity-layout__metadata-viewer\"\n [data]=\"lb.widgets['aw-entita-metadata-viewer'].ds.out$ | async\">\n </n7-metadata-viewer>\n </div>\n </ng-container>\n\n <div class=\"aw-entity__content-section aw-entity__content-section-overview\"\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews && lb.dataSource.myResponse.relatedItems\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview' && lb.dataSource.selectedTab != 'oggetti-collegati'\">\n <div class=\"aw-entity__content-section-header\">\n <h2 class=\"aw-entity__content-section-title\">Oggetti collegati</h2>\n\n <a *ngIf=\"lb.dataSource.selectedTab === 'overview' \"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/oggetti-collegati/']\"\n [queryParams]=\"{ page: 1 }\"\n class=\"n7-btn n7-btn-light\">\n TUTTI GLI OGGETTI COLLEGATI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n <div class=\"aw-entity__content-item-previews aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione \n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.selectedTab === 'oggetti-collegati'\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n\n <div class=\"aw-entity__content-section aw-entity__content-section-overview\"\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews && lb.dataSource.myResponse.relatedLa\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview' && lb.dataSource.selectedTab != 'fondi-collegati'\">\n <div class=\"aw-entity__content-section-header\">\n <h2 class=\"aw-entity__content-section-title\">{{ lb.dataSource.configuration.get('labels')['aggregazioni-logiche-collegate'] }}</h2>\n\n <a *ngIf=\"lb.dataSource.selectedTab === 'overview' \"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/fondi-collegati/']\"\n [queryParams]=\"{ page: 1 }\"\n class=\"n7-btn n7-btn-light\">\n TUTTE LE FONDI COLLEGATI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n <div class=\"aw-entity__content-item-previews aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione\n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.selectedTab === 'fondi-collegati'\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n\n <div class=\"aw-entity__content-section aw-entity__content-section-overview aw-related-entities__{{lb.dataSource.selectedTab}}\"\n *ngIf=\"lb.dataSource.myResponse.relatedEntities\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview' && lb.dataSource.selectedTab != 'entita-collegate'\">\n <div class=\"aw-entity__content-section-header\">\n <h2 class=\"aw-entity__content-section-title\">Entit\u00E0 collegate</h2>\n <a *ngIf=\"lb.dataSource.selectedTab == 'overview'\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/entita-collegate']\">\n TUTTE LE ENTIT\u00C0 COLLEGATE <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n\n <!-- ENTITA COLLEGATE -->\n <section id=\"related-item-container\"\n class=\"aw-entity__section aw-entity__related\">\n <div class=\"aw-entity__inner-title\">\n {{lb.dataSource.relatedEntitiesHeader}}\n </div>\n <div class=\"aw-entity__related-items n7-grid-2 aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-related-entities'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-related-entities'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione\n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n </section>\n </div>\n <div class=\"aw-entity__content-section aw-entity__content-section-maxxi\"\n *ngIf=\"lb.dataSource.myResponse.extraTab\"\n [hidden]=\"lb.dataSource.selectedTab != 'maxxi'\">\n <div class=\"aw-entity__content-section-header aw-entity__content-section-header-decorated\">\n <h2 class=\"aw-entity__content-section-title\">Descrizione Maxxi</h2>\n </div>\n <div>\n {{lb.dataSource.myResponse.extraTab}}\n </div>\n </div>\n <div class=\"aw-entity__content-section aw-entity__content-section-wiki\"\n *ngIf=\"lb.dataSource.myResponse.wikiTab\"\n [hidden]=\"lb.dataSource.selectedTab != 'wiki'\">\n <div class=\"aw-entity__content-section-header aw-entity__content-section-header-decorated\">\n <h2 class=\"aw-entity__content-section-title\">Descrizione Wikipedia</h2>\n </div>\n <div>\n {{lb.dataSource.myResponse.wikiTab.text}}\n </div>\n <a href=\"{{lb.dataSource.myResponse.wikiTabUrl}}\">\n {{ lb.dataSource.myResponse.wikiTab.url }}\n </a>\n </div>\n </section>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i4.MetadataViewerComponent, selector: "n7-metadata-viewer", inputs: ["data", "emit"] }, { kind: "component", type: i4.NavComponent, selector: "n7-nav", inputs: ["data", "emit"] }, { kind: "component", type: i1.SmartPaginationComponent, selector: "n7-smart-pagination", inputs: ["data", "emit"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
4123
4123
|
}
|
|
4124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
4124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwEntitaLayoutComponent, decorators: [{
|
|
4125
4125
|
type: Component,
|
|
4126
4126
|
args: [{ selector: 'aw-entita-layout', template: "<div class=\"aw-entity n7-side-auto-padding\"\n *ngIf=\"lb.dataSource\">\n\n <div class=\"aw-entity__sidebar\">\n <!-- Custom header -->\n <div *ngIf=\"lb.dataSource.loading\"\n class=\"aw-entity__sidebar-title-wrapper-loading\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'entity-placeholder-title'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n <div *ngIf=\"!lb.dataSource.loading\"\n class=\"aw-entity__sidebar-title-wrapper color-{{lb.dataSource.navHeader.color}}\">\n <h1 class=\"aw-entity__sidebar-title\">\n <span class=\"aw-entity__sidebar-title-icon {{lb.dataSource.navHeader.icon}}\"></span>\n <span class=\"aw-entity__sidebar-title-text\">{{lb.dataSource.navHeader.text}}</span>\n </h1>\n </div>\n <!-- Navigation -->\n <div *ngIf=\"lb.dataSource.loading\"\n class=\"aw-entity__sidebar-nav-loading\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2]\"\n [data]=\"{\n blocks: [{\n classes: 'entity-placeholder-nav'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n <n7-nav *ngIf=\"!lb.dataSource.loading\" \n [data]=\"lb.widgets['aw-entita-nav'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-entita-nav'].emit\">\n </n7-nav>\n </div>\n\n <!-- lb.dataSource.selectedTab -->\n <div *ngIf=\"lb.dataSource.loading\"\n class=\"aw-entity__content-loading\">\n <div class=\"aw-entity__content-loading-title\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'entity-placeholder-title'\n }]\n }\"></n7-content-placeholder>\n </div>\n\n <div class=\"aw-entity__content-loading-items\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3]\"\n [data]=\"{\n blocks: [{ classes: 'entity-placeholder-item-preview' }]\n }\"></n7-content-placeholder>\n </div>\n </div>\n\n <div *ngIf=\"!lb.dataSource.loading\"\n class=\"aw-entity__content\">\n <section>\n <div *ngIf=\"lb.dataSource.myResponse.wikiTab || lb.dataSource.myResponse.extraTab\"\n class=\"aw-entity__content-section\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview'\">\n <div class=\"aw-entity__overview-description\">\n {{lb.dataSource.myResponse.extraTab}}\n </div>\n <div class=\"aw-entity-layout__button-wrapper\">\n <a *ngIf=\"lb.dataSource.myResponse.wikiTab\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/wiki']\">\n DESCRIZIONE WIKIPEDIA <i class=\"n7-icon-angle-right\"></i>\n </a>\n <a *ngIf=\"lb.dataSource.myResponse.extraTab\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/maxxi']\">\n DESCRIZIONE MAXXI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n </div>\n\n <ng-container *ngIf=\"(\n ['overview', 'informazioni'].includes(lb.dataSource.selectedTab)\n )\">\n <div class=\"aw-entity__content-section aw-entity__content-section-overview\">\n <div class=\"aw-entity__content-section-header\"\n *ngIf=\"lb.dataSource.selectedTab === 'overview'\">\n <h2 class=\"aw-entity__content-section-title\"\n *ngIf=\"lb.dataSource.selectedTab === 'overview'\">Informazioni</h2>\n <a *ngIf=\"lb.dataSource.selectedTab !== 'informazioni'\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/informazioni']\">\n TUTTE LE INFORMAZIONI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n <p *ngIf=\"lb.dataSource.fallbackText\"\n class=\"aw-entity__content-section-empty\">\n {{ lb.dataSource.fallbackText }}\n </p>\n <n7-metadata-viewer class=\"aw-entity-layout__metadata-viewer\"\n [data]=\"lb.widgets['aw-entita-metadata-viewer'].ds.out$ | async\">\n </n7-metadata-viewer>\n </div>\n </ng-container>\n\n <div class=\"aw-entity__content-section aw-entity__content-section-overview\"\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews && lb.dataSource.myResponse.relatedItems\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview' && lb.dataSource.selectedTab != 'oggetti-collegati'\">\n <div class=\"aw-entity__content-section-header\">\n <h2 class=\"aw-entity__content-section-title\">Oggetti collegati</h2>\n\n <a *ngIf=\"lb.dataSource.selectedTab === 'overview' \"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/oggetti-collegati/']\"\n [queryParams]=\"{ page: 1 }\"\n class=\"n7-btn n7-btn-light\">\n TUTTI GLI OGGETTI COLLEGATI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n <div class=\"aw-entity__content-item-previews aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione \n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.selectedTab === 'oggetti-collegati'\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n\n <div class=\"aw-entity__content-section aw-entity__content-section-overview\"\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews && lb.dataSource.myResponse.relatedLa\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview' && lb.dataSource.selectedTab != 'fondi-collegati'\">\n <div class=\"aw-entity__content-section-header\">\n <h2 class=\"aw-entity__content-section-title\">{{ lb.dataSource.configuration.get('labels')['aggregazioni-logiche-collegate'] }}</h2>\n\n <a *ngIf=\"lb.dataSource.selectedTab === 'overview' \"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/fondi-collegati/']\"\n [queryParams]=\"{ page: 1 }\"\n class=\"n7-btn n7-btn-light\">\n TUTTE LE FONDI COLLEGATI <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n <div class=\"aw-entity__content-item-previews aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione\n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.selectedTab === 'fondi-collegati'\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n\n <div class=\"aw-entity__content-section aw-entity__content-section-overview aw-related-entities__{{lb.dataSource.selectedTab}}\"\n *ngIf=\"lb.dataSource.myResponse.relatedEntities\"\n [hidden]=\"lb.dataSource.selectedTab != 'overview' && lb.dataSource.selectedTab != 'entita-collegate'\">\n <div class=\"aw-entity__content-section-header\">\n <h2 class=\"aw-entity__content-section-title\">Entit\u00E0 collegate</h2>\n <a *ngIf=\"lb.dataSource.selectedTab == 'overview'\"\n class=\"n7-btn n7-btn-light\"\n [routerLink]=\"[lb.dataSource.getNavBasePath() + '/entita-collegate']\">\n TUTTE LE ENTIT\u00C0 COLLEGATE <i class=\"n7-icon-angle-right\"></i>\n </a>\n </div>\n\n <!-- ENTITA COLLEGATE -->\n <section id=\"related-item-container\"\n class=\"aw-entity__section aw-entity__related\">\n <div class=\"aw-entity__inner-title\">\n {{lb.dataSource.relatedEntitiesHeader}}\n </div>\n <div class=\"aw-entity__related-items n7-grid-2 aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-related-entities'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-related-entities'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione\n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n </section>\n </div>\n <div class=\"aw-entity__content-section aw-entity__content-section-maxxi\"\n *ngIf=\"lb.dataSource.myResponse.extraTab\"\n [hidden]=\"lb.dataSource.selectedTab != 'maxxi'\">\n <div class=\"aw-entity__content-section-header aw-entity__content-section-header-decorated\">\n <h2 class=\"aw-entity__content-section-title\">Descrizione Maxxi</h2>\n </div>\n <div>\n {{lb.dataSource.myResponse.extraTab}}\n </div>\n </div>\n <div class=\"aw-entity__content-section aw-entity__content-section-wiki\"\n *ngIf=\"lb.dataSource.myResponse.wikiTab\"\n [hidden]=\"lb.dataSource.selectedTab != 'wiki'\">\n <div class=\"aw-entity__content-section-header aw-entity__content-section-header-decorated\">\n <h2 class=\"aw-entity__content-section-title\">Descrizione Wikipedia</h2>\n </div>\n <div>\n {{lb.dataSource.myResponse.wikiTab.text}}\n </div>\n <a href=\"{{lb.dataSource.myResponse.wikiTabUrl}}\">\n {{ lb.dataSource.myResponse.wikiTab.url }}\n </a>\n </div>\n </section>\n </div>\n</div>\n" }]
|
|
4127
4127
|
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: i1.ConfigurationService }, { type: i1.LayoutsConfigurationService }, { type: i1.CommunicationService }, { type: i1.MainStateService }, { type: i3.Title }] });
|
|
@@ -5541,10 +5541,10 @@ class AwSearchService {
|
|
|
5541
5541
|
model(id) {
|
|
5542
5542
|
return this._models[id] || null;
|
|
5543
5543
|
}
|
|
5544
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5545
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
5544
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwSearchService, deps: [{ token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5545
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwSearchService, providedIn: 'root' }); }
|
|
5546
5546
|
}
|
|
5547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwSearchService, decorators: [{
|
|
5548
5548
|
type: Injectable,
|
|
5549
5549
|
args: [{
|
|
5550
5550
|
providedIn: 'root',
|
|
@@ -5564,10 +5564,10 @@ class AwFacetsWrapperComponent {
|
|
|
5564
5564
|
}
|
|
5565
5565
|
this.emit('facet', { eventType, eventPayload });
|
|
5566
5566
|
}
|
|
5567
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5568
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
5567
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwFacetsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5568
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AwFacetsWrapperComponent, selector: "aw-facets-wrapper", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"n7-facets-wrapper {{ data.classes || '' }}\">\n <div *ngFor=\"let group of data.groups\" class=\"n7-facets-wrapper__group {{ group.classes || '' }}\">\n <n7-facet-header\n [data]=\"group.header\"\n [emit]=\"headerEmit.bind(this)\"\n ></n7-facet-header>\n\n <n7-facet\n *ngIf=\"group.isOpen\"\n [data]=\"group.facet\"\n [emit]=\"facetEmit.bind(this)\"\n ></n7-facet>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.FacetComponent, selector: "n7-facet", inputs: ["data", "emit"] }, { kind: "component", type: i4.FacetHeaderComponent, selector: "n7-facet-header", inputs: ["data", "emit"] }] }); }
|
|
5569
5569
|
}
|
|
5570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwFacetsWrapperComponent, decorators: [{
|
|
5571
5571
|
type: Component,
|
|
5572
5572
|
args: [{ selector: 'aw-facets-wrapper', template: "<div *ngIf=\"data\" class=\"n7-facets-wrapper {{ data.classes || '' }}\">\n <div *ngFor=\"let group of data.groups\" class=\"n7-facets-wrapper__group {{ group.classes || '' }}\">\n <n7-facet-header\n [data]=\"group.header\"\n [emit]=\"headerEmit.bind(this)\"\n ></n7-facet-header>\n\n <n7-facet\n *ngIf=\"group.isOpen\"\n [data]=\"group.facet\"\n [emit]=\"facetEmit.bind(this)\"\n ></n7-facet>\n </div>\n</div>" }]
|
|
5573
5573
|
}], propDecorators: { data: [{
|
|
@@ -5582,10 +5582,10 @@ class GalleryBreadcrumbsTooltipComponent {
|
|
|
5582
5582
|
this.isLast = (index) => this.data?.items.length === (index + 1);
|
|
5583
5583
|
this.getLeftMargin = (index) => `${index * 4}px`;
|
|
5584
5584
|
}
|
|
5585
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5586
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
5585
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryBreadcrumbsTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5586
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: GalleryBreadcrumbsTooltipComponent, selector: "aw-gallery-breadcrumbs-tooltip", inputs: { data: "data" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"aw-gallery-breadcrumbs-tooltip\">\n <div class=\"aw-gallery-breadcrumbs-tooltip__title\">{{ title }}</div>\n <ul class=\"aw-gallery-breadcrumbs-tooltip__items\">\n <li *ngFor=\"let item of data.items; let $i = index\"\n class=\"aw-gallery-breadcrumbs-tooltip__item\"\n [ngClass]=\"{ 'is-last': isLast($i) }\">\n <span class=\"aw-gallery-breadcrumbs-tooltip__item-icon n7-icon n7-icon-angle-right\"\n [ngStyle]=\"{ 'margin-left': getLeftMargin($i) }\"></span>\n <span class=\"aw-gallery-breadcrumbs-tooltip__item-label\">{{ item.label }}</span>\n </li>\n </ul>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
5587
5587
|
}
|
|
5588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GalleryBreadcrumbsTooltipComponent, decorators: [{
|
|
5589
5589
|
type: Component,
|
|
5590
5590
|
args: [{ selector: 'aw-gallery-breadcrumbs-tooltip', template: "<div *ngIf=\"data\" class=\"aw-gallery-breadcrumbs-tooltip\">\n <div class=\"aw-gallery-breadcrumbs-tooltip__title\">{{ title }}</div>\n <ul class=\"aw-gallery-breadcrumbs-tooltip__items\">\n <li *ngFor=\"let item of data.items; let $i = index\"\n class=\"aw-gallery-breadcrumbs-tooltip__item\"\n [ngClass]=\"{ 'is-last': isLast($i) }\">\n <span class=\"aw-gallery-breadcrumbs-tooltip__item-icon n7-icon n7-icon-angle-right\"\n [ngStyle]=\"{ 'margin-left': getLeftMargin($i) }\"></span>\n <span class=\"aw-gallery-breadcrumbs-tooltip__item-label\">{{ item.label }}</span>\n </li>\n </ul>\n</div>" }]
|
|
5591
5591
|
}], propDecorators: { data: [{
|
|
@@ -5618,10 +5618,10 @@ class AwGalleryLayoutComponent extends AbstractLayout {
|
|
|
5618
5618
|
ngOnDestroy() {
|
|
5619
5619
|
this.onDestroy();
|
|
5620
5620
|
}
|
|
5621
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
5622
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
5621
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwGalleryLayoutComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.LayoutsConfigurationService }, { token: i1.MainStateService }, { token: i1.CommunicationService }, { token: AwSearchService }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5622
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AwGalleryLayoutComponent, selector: "aw-gallery-layout", usesInheritance: true, ngImport: i0, template: "<div *ngIf=\"lb.dataSource as ds\" class=\"aw-search aw-gallery n7-side-auto-padding\"\n id=\"gallery-layout\">\n <div class=\"aw-search__header\">\n <div class=\"aw-search__header-left\">\n <h1 class=\"aw-search__header-title\">{{ ds.pageTitle }}</h1>\n </div>\n </div>\n <div class=\"aw-search__content-wrapper sticky-parent\">\n <!-- Left sidebar: facets -->\n <div *ngIf=\"!(lb.widgets['facets-wrapper'].ds.out$ | async)\"\n class=\"aw-search__sidebar-loading sticky-target\">\n <div class=\"aw-search__facets-loading\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'search-placeholder-facet-input'\n }, {\n classes: 'search-placeholder-facet-check'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n </div>\n <div *ngIf=\"!!(lb.widgets['facets-wrapper'].ds.out$ | async)\"\n class=\"aw-search__sidebar sticky-target\"\n [ngClass]=\"{ 'is-sticky': ds.sidebarIsSticky }\">\n <div class=\"aw-search__facets\">\n <aw-facets-wrapper [data]=\"lb.widgets['facets-wrapper'].ds.out$ | async\"\n [emit]=\"lb.widgets['facets-wrapper'].emit\">\n </aw-facets-wrapper>\n </div>\n </div>\n <div class=\"scroll-ref\"> </div>\n <div class=\"aw-search__content\">\n <div class=\"aw-search__results-header\">\n <div class=\"aw-search__results-header-left\">\n <h3 *ngIf=\"!ds.resultsLoading\"\n class=\"aw-search__total\">\n <span class=\"aw-search__total-number\">{{ ds.totalCount }}</span> \n <span class=\"aw-search__total-title\">{{ ds.resultsTitle }}</span>\n </h3>\n </div>\n <div class=\"aw-search__results-header-right\">\n <label class=\"aw-search__results-select-orderby-label\"\n for=\"aw-search__results-select-orderby\">{{ ds.orderByLabel }}</label>\n <select (change)=\"lb.eventHandler.emitInner('orderbychange', $event.target.value)\"\n id=\"aw-search__results-select-orderby\">\n <option *ngFor=\"let option of ds.orderByOptions\"\n [value]=\"option.value\"\n [selected]=\"option.selected\"\n [hidden]=\"option.type === 'score' && ds.isSearchingText.value === false\">\n {{ option.label }}</option>\n </select>\n </div>\n </div>\n <!-- Search details -->\n <div *ngIf=\"ds.resultsLoading\"\n class=\"aw-search__results-wrapper-loading\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3,4,5,6,7,8,9]\"\n [data]=\"{\n blocks: [\n { classes: 'search-result-placeholder-title' },\n { classes: 'search-result-placeholder-metadata' },\n { classes: 'search-result-placeholder-metadata' },\n { classes: 'search-result-placeholder-metadata' }\n ]\n }\"></n7-content-placeholder>\n </div>\n <div *ngIf=\"!ds.resultsLoading\"\n class=\"aw-search__results-wrapper\">\n <div class=\"n7-grid-3\">\n <div *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews; let $i = index\">\n \n <!-- BREADCRUMBS WITH TOOLTIP -->\n <div *ngIf=\"!ds.breadcrumbsTooltip?.disable\" class=\"aw-gallery__breadcrumbs\">\n <a class=\"aw-gallery__breadcrumbs-icon tooltip-trigger\" [attr.data-template]=\"'breadcrumbs-tooltip-' + $i\">\n <span class=\"n7-icon n7-icon-tree-icon\"></span>\n </a>\n <div class=\"aw-gallery__breadcrumbs-separator\">\n <span class=\"n7-icon n7-icon-angle-right\"></span>\n </div>\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n </div>\n\n <!-- NORMAL BREADCRUMBS -->\n <n7-smart-breadcrumbs *ngIf=\"ds.breadcrumbsTooltip?.disable\" [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n \n <!-- ITEMPREVIEW -->\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n <div [attr.id]=\"'breadcrumbs-tooltip-' + $i\" [ngStyle]=\"{ display: 'none' }\">\n <aw-gallery-breadcrumbs-tooltip\n [data]=\"preview.breadcrumbs\"\n ></aw-gallery-breadcrumbs-tooltip>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"ds.totalCount == 0\">\n <div class=\"aw-search__fallback\">\n <p class=\"aw-search__fallback-string\">\n {{ ds.fallback }}\n </p>\n <button [disabled]=\"!ds.resetButtonEnabled\"\n class=\"n7-btn aw-search__fallback-button\"\n (click)=\"lb.eventHandler.emitInner('searchreset', {})\">\n Resetta la ricerca\n </button>\n </div>\n </ng-container>\n <n7-smart-pagination *ngIf=\"ds.totalCount > 10\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i1.SmartPaginationComponent, selector: "n7-smart-pagination", inputs: ["data", "emit"] }, { kind: "component", type: AwFacetsWrapperComponent, selector: "aw-facets-wrapper", inputs: ["data", "emit"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "component", type: GalleryBreadcrumbsTooltipComponent, selector: "aw-gallery-breadcrumbs-tooltip", inputs: ["data"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
5623
5623
|
}
|
|
5624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
5624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwGalleryLayoutComponent, decorators: [{
|
|
5625
5625
|
type: Component,
|
|
5626
5626
|
args: [{ selector: 'aw-gallery-layout', template: "<div *ngIf=\"lb.dataSource as ds\" class=\"aw-search aw-gallery n7-side-auto-padding\"\n id=\"gallery-layout\">\n <div class=\"aw-search__header\">\n <div class=\"aw-search__header-left\">\n <h1 class=\"aw-search__header-title\">{{ ds.pageTitle }}</h1>\n </div>\n </div>\n <div class=\"aw-search__content-wrapper sticky-parent\">\n <!-- Left sidebar: facets -->\n <div *ngIf=\"!(lb.widgets['facets-wrapper'].ds.out$ | async)\"\n class=\"aw-search__sidebar-loading sticky-target\">\n <div class=\"aw-search__facets-loading\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'search-placeholder-facet-input'\n }, {\n classes: 'search-placeholder-facet-check'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n </div>\n <div *ngIf=\"!!(lb.widgets['facets-wrapper'].ds.out$ | async)\"\n class=\"aw-search__sidebar sticky-target\"\n [ngClass]=\"{ 'is-sticky': ds.sidebarIsSticky }\">\n <div class=\"aw-search__facets\">\n <aw-facets-wrapper [data]=\"lb.widgets['facets-wrapper'].ds.out$ | async\"\n [emit]=\"lb.widgets['facets-wrapper'].emit\">\n </aw-facets-wrapper>\n </div>\n </div>\n <div class=\"scroll-ref\"> </div>\n <div class=\"aw-search__content\">\n <div class=\"aw-search__results-header\">\n <div class=\"aw-search__results-header-left\">\n <h3 *ngIf=\"!ds.resultsLoading\"\n class=\"aw-search__total\">\n <span class=\"aw-search__total-number\">{{ ds.totalCount }}</span> \n <span class=\"aw-search__total-title\">{{ ds.resultsTitle }}</span>\n </h3>\n </div>\n <div class=\"aw-search__results-header-right\">\n <label class=\"aw-search__results-select-orderby-label\"\n for=\"aw-search__results-select-orderby\">{{ ds.orderByLabel }}</label>\n <select (change)=\"lb.eventHandler.emitInner('orderbychange', $event.target.value)\"\n id=\"aw-search__results-select-orderby\">\n <option *ngFor=\"let option of ds.orderByOptions\"\n [value]=\"option.value\"\n [selected]=\"option.selected\"\n [hidden]=\"option.type === 'score' && ds.isSearchingText.value === false\">\n {{ option.label }}</option>\n </select>\n </div>\n </div>\n <!-- Search details -->\n <div *ngIf=\"ds.resultsLoading\"\n class=\"aw-search__results-wrapper-loading\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3,4,5,6,7,8,9]\"\n [data]=\"{\n blocks: [\n { classes: 'search-result-placeholder-title' },\n { classes: 'search-result-placeholder-metadata' },\n { classes: 'search-result-placeholder-metadata' },\n { classes: 'search-result-placeholder-metadata' }\n ]\n }\"></n7-content-placeholder>\n </div>\n <div *ngIf=\"!ds.resultsLoading\"\n class=\"aw-search__results-wrapper\">\n <div class=\"n7-grid-3\">\n <div *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews; let $i = index\">\n \n <!-- BREADCRUMBS WITH TOOLTIP -->\n <div *ngIf=\"!ds.breadcrumbsTooltip?.disable\" class=\"aw-gallery__breadcrumbs\">\n <a class=\"aw-gallery__breadcrumbs-icon tooltip-trigger\" [attr.data-template]=\"'breadcrumbs-tooltip-' + $i\">\n <span class=\"n7-icon n7-icon-tree-icon\"></span>\n </a>\n <div class=\"aw-gallery__breadcrumbs-separator\">\n <span class=\"n7-icon n7-icon-angle-right\"></span>\n </div>\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n </div>\n\n <!-- NORMAL BREADCRUMBS -->\n <n7-smart-breadcrumbs *ngIf=\"ds.breadcrumbsTooltip?.disable\" [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n \n <!-- ITEMPREVIEW -->\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n <div [attr.id]=\"'breadcrumbs-tooltip-' + $i\" [ngStyle]=\"{ display: 'none' }\">\n <aw-gallery-breadcrumbs-tooltip\n [data]=\"preview.breadcrumbs\"\n ></aw-gallery-breadcrumbs-tooltip>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"ds.totalCount == 0\">\n <div class=\"aw-search__fallback\">\n <p class=\"aw-search__fallback-string\">\n {{ ds.fallback }}\n </p>\n <button [disabled]=\"!ds.resetButtonEnabled\"\n class=\"n7-btn aw-search__fallback-button\"\n (click)=\"lb.eventHandler.emitInner('searchreset', {})\">\n Resetta la ricerca\n </button>\n </div>\n </ng-container>\n <n7-smart-pagination *ngIf=\"ds.totalCount > 10\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
5627
5627
|
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i1.LayoutsConfigurationService }, { type: i1.MainStateService }, { type: i1.CommunicationService }, { type: AwSearchService }, { type: i1$1.ActivatedRoute }] });
|
|
@@ -6200,10 +6200,10 @@ class BubbleChartWrapperComponent {
|
|
|
6200
6200
|
onClick(type, payload) {
|
|
6201
6201
|
this.emit(type, payload);
|
|
6202
6202
|
}
|
|
6203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6204
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
6203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BubbleChartWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6204
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BubbleChartWrapperComponent, selector: "aw-bubble-chart-wrapper", inputs: { emit: "emit", container: "container", buttons: "buttons" }, ngImport: i0, template: "<div class=\"aw-bubble-chart-wrapper\">\n <ng-content></ng-content>\n</div>" }); }
|
|
6205
6205
|
}
|
|
6206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BubbleChartWrapperComponent, decorators: [{
|
|
6207
6207
|
type: Component,
|
|
6208
6208
|
args: [{ selector: 'aw-bubble-chart-wrapper', template: "<div class=\"aw-bubble-chart-wrapper\">\n <ng-content></ng-content>\n</div>" }]
|
|
6209
6209
|
}], propDecorators: { emit: [{
|
|
@@ -6221,10 +6221,10 @@ class ChartTippyComponent {
|
|
|
6221
6221
|
onClick(type, payload) {
|
|
6222
6222
|
this.emit(type, payload);
|
|
6223
6223
|
}
|
|
6224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6225
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
6224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartTippyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6225
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChartTippyComponent, selector: "aw-chart-tippy", inputs: { data: "data", emit: "emit", anchorData: "anchorData" }, ngImport: i0, template: "<div *ngIf=\"data\" style=\"display: none;\">\n <div *ngFor=\"let d of data\" id=\"template__{{d.id}}\" class=\"bubble-chart__tippy-template\">\n <div id=\"bubble-popup-menu\" class=\"aw-bubble-popup-menu\">\n <h2 class=\"aw-bubble-popup-menu__title\">{{ d.title }}</h2>\n <p class=\"aw-bubble-popup-menu__text\">\n {{ d.text }}\n </p>\n\n <div *ngIf=\"d.relation.value\" class=\"aw-item-preview-relation\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione \n <!-- <span class=\"aw-item-preview-relation__key\">{{d.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__label\">{{d.relation.value}}</span>\n </p>\n </div>\n\n <div class=\"aw-bubble-popup-menu__actions\">\n <n7-anchor-wrapper [classes]=\"'aw-bubble-popup-menu__link'\" [data]=\"d.anchorData\">\n Vai alla scheda\n </n7-anchor-wrapper>\n <span *ngIf=\"d.selectable\" class=\"aw-bubble-popup-menu__link\" (click)=\"onClick('select', {id: d.id})\">\n {{ d.isSelected ? 'Deseleziona' : 'Seleziona'}}\n </span>\n </div>\n </div>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }] }); }
|
|
6226
6226
|
}
|
|
6227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChartTippyComponent, decorators: [{
|
|
6228
6228
|
type: Component,
|
|
6229
6229
|
args: [{ selector: 'aw-chart-tippy', template: "<div *ngIf=\"data\" style=\"display: none;\">\n <div *ngFor=\"let d of data\" id=\"template__{{d.id}}\" class=\"bubble-chart__tippy-template\">\n <div id=\"bubble-popup-menu\" class=\"aw-bubble-popup-menu\">\n <h2 class=\"aw-bubble-popup-menu__title\">{{ d.title }}</h2>\n <p class=\"aw-bubble-popup-menu__text\">\n {{ d.text }}\n </p>\n\n <div *ngIf=\"d.relation.value\" class=\"aw-item-preview-relation\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione \n <!-- <span class=\"aw-item-preview-relation__key\">{{d.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__label\">{{d.relation.value}}</span>\n </p>\n </div>\n\n <div class=\"aw-bubble-popup-menu__actions\">\n <n7-anchor-wrapper [classes]=\"'aw-bubble-popup-menu__link'\" [data]=\"d.anchorData\">\n Vai alla scheda\n </n7-anchor-wrapper>\n <span *ngIf=\"d.selectable\" class=\"aw-bubble-popup-menu__link\" (click)=\"onClick('select', {id: d.id})\">\n {{ d.isSelected ? 'Deseleziona' : 'Seleziona'}}\n </span>\n </div>\n </div>\n </div>\n</div>" }]
|
|
6230
6230
|
}], propDecorators: { data: [{
|
|
@@ -6259,10 +6259,10 @@ class AwHomeLayoutComponent extends AbstractLayout {
|
|
|
6259
6259
|
ngOnDestroy() {
|
|
6260
6260
|
this.onDestroy();
|
|
6261
6261
|
}
|
|
6262
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6263
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: AwHomeLayoutComponent, selector: "aw-home-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-home\" *ngIf=\"lb.dataSource\">\n <!-- Carousel -->\n <div class=\"aw-home__carousel\" *ngIf=\"lb.dataSource.carouselEnabled\">\n <n7-carousel [data]=\"lb.widgets['aw-carousel'].ds.out$ | async\">\n </n7-carousel>\n </div>\n\n <!-- Hero section at the top of the page -->\n <div class=\"aw-home__top-hero\">\n <n7-hero [data]=\"lb.widgets['aw-hero'].ds.out$ | async\" [emit]=\"lb.widgets['aw-hero'].emit\">\n </n7-hero>\n </div>\n\n <!-- Bubble chart -->\n <div class=\"aw-home__bubble-wrapper n7-side-auto-padding\"\n [ngClass]=\"{ 'has-results' : lb.dataSource.selectedBubbles.length > 0 }\" *ngIf=\"lb.dataSource.bubblesEnabled\">\n <div class=\"aw-home__facets-wrapper-loading\" *ngIf=\"!(lb.widgets['aw-home-facets-wrapper'].ds.out$ | async)\">\n <n7-content-placeholder *ngFor=\"let i of [0,1,2,3]\" [data]=\"{\n blocks: [{\n classes: 'facet-placeholder-header'\n }, {\n classes: 'facet-placeholder-input'\n }] \n }\"></n7-content-placeholder>\n </div>\n <div class=\"aw-home__facets-wrapper\" *ngIf=\"!!(lb.widgets['aw-home-facets-wrapper'].ds.out$ | async)\">\n <span class=\"aw-home__facet\"\n *ngFor=\"let widgetData of lb.widgets['aw-home-facets-wrapper'].ds.out$ | async;\">\n <n7-facet-header [data]=\"widgetData.header\" [emit]=\"lb.widgets['aw-home-facets-wrapper'].emit\">\n </n7-facet-header>\n <a *ngIf=\"widgetData.link as link\" class=\"aw-home__facet-link n7-btn\"\n [routerLink]=\"[link.path]\" [queryParams]=\"link.queryParams\">\n <span class=\"n7-icon n7-icon-list\"></span>\n <span class=\"aw-home__facet-link-label\">{{ link.label }}</span>\n </a>\n <n7-facet [data]=\"widgetData.input\" [emit]=\"lb.widgets['aw-home-facets-wrapper'].emit\">\n </n7-facet>\n </span>\n </div>\n\n <div class=\"aw-home__bubble-chart-wrapper-loading\" *ngIf=\"!(lb.widgets['aw-bubble-chart'].ds.out$ | async)\">\n <n7-content-placeholder [data]=\"{\n blocks: [\n {\n classes: 'facet-placeholder-item-1'\n }\n ]\n }\"></n7-content-placeholder>\n </div>\n <div class=\"aw-home__bubble-chart-wrapper\" *ngIf=\"!!(lb.widgets['aw-bubble-chart'].ds.out$ | async)\"\n [style.overflow]=\"lb.dataSource.loadingBubbles ? 'visible' : 'hidden'\">\n <aw-bubble-chart-wrapper>\n <aw-chart-tippy \n [data]=\"lb.widgets['aw-chart-tippy'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-chart-tippy'].emit\">\n </aw-chart-tippy>\n <n7-bubble-chart [data]=\"lb.widgets['aw-bubble-chart'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-bubble-chart'].emit\">\n </n7-bubble-chart>\n </aw-bubble-chart-wrapper>\n </div>\n\n <!-- Linked objects -->\n <ng-container *ngIf=\"(lb.widgets['aw-bubble-chart'].ds.out$ | async)?.selected.length > 0;\">\n <div class=\"aw-home__bubble-results\" id=\"home-bubble-results\">\n <div *ngIf=\"lb.dataSource.numOfItemsStr\" class=\"aw-home__bubble-results-title-wrapper\">\n <h1 class=\"aw-home__bubble-results-title\"><strong class=\"aw-home__bubble-results-title-counter\">\n {{ lb.dataSource.numOfItemsStr }}</strong> <span> Risultati</span>\n </h1>\n </div>\n <div class=\"aw-home__bubble-tags-wrapper\">\n <h3 class=\"aw-home__bubble-tags-title\">Collegati a </h3>\n <ng-container *ngFor=\"let widgetData of lb.widgets['aw-home-item-tags-wrapper'].ds.out$ | async;\">\n <n7-tag [data]=\"widgetData\" [emit]=\"lb.widgets['aw-home-item-tags-wrapper'].emit\">\n </n7-tag>\n <br>\n </ng-container>\n </div>\n <div class=\"aw-home__bubble-results-list-wrapper\">\n <div class=\"aw-home__bubble-results-list-loading\" *ngIf=\"lb.dataSource.resultsListIsLoading\">\n <n7-content-placeholder \n *ngFor=\"let i of [1, 2, 3, 4, 5]\"\n [data]=\"{\n blocks: [{\n classes: 'search-result-placeholder-title'\n }, {\n classes: 'search-result-placeholder-metadata'\n }]\n }\"></n7-content-placeholder>\n </div>\n <div *ngIf=\"!lb.dataSource.resultsListIsLoading\" class=\"aw-home__bubble-results-list\"\n [attr.id]=\"'bubble-results-list'\" (scroll)=\"lb.eventHandler.emitOuter('scroll', $event.target)\">\n\n <div class=\"aw-home__bubble-results-fallback\"\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.result.length < 1;\">\n <p class=\"aw-home__bubble-results-fallback-text\">\n {{ (lb.widgets['aw-linked-objects'].ds.out$ | async)?.fallback }}\n </p>\n <button class=\"n7-btn aw-home__bubble-results-reset\"\n (click)=\"lb.eventHandler.emitInner('clearselection')\">\n Resetta la ricerca\n </button>\n </div>\n\n <div class=\"aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.result\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\n </ng-container>\n </div>\n \n <!-- <ng-container\n *ngFor=\"let widgetData of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.result;\">\n <n7-item-preview [data]=\"widgetData\" [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </ng-container> -->\n\n <ng-container *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.isLoading\">\n <div class=\"aw-home__bubble-results-list-loader\">\n <n7-loader [data]=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.loaderData\">\n </n7-loader>\n </div>\n </ng-container>\n </div>\n <div [ngClass]=\"{ 'is-visible' : lb.dataSource.hasScrollBackground }\"\n class=\"aw-home__bubble-results-list-wrapper-with-scroll\"></div>\n </div>\n <!-- aw-linked-objects__actions -->\n <ng-container\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.result.length > 0 && !lb.dataSource.resultsListIsLoading\">\n <div *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.actions as action\"\n class=\"aw-home__bubble-results-list-actions\">\n <button (click)=\"lb.eventHandler.emitInner('bubbleresultsviewallclick')\"\n class=\"n7-btn n7-btn-light n7-btn-l aw-home__bubble-results-list-view-all\">\n {{action[0].label}}\n </button>\n </div>\n </ng-container>\n </div>\n </ng-container>\n </div>\n\n <!-- Outer links -->\n <div *ngIf=\"lb.dataSource.outerLinks && lb.dataSource.outerLinks.length > 0\" class=\"aw-home__outer-links\">\n <section class=\"aw-home__outer-links-wrapper n7-side-auto-padding\">\n <h2 class=\"aw-home__outer-links-title\" *ngIf=\"lb.dataSource.outerLinksTitle\">\n {{ lb.dataSource.outerLinksTitle }}\n </h2>\n <p class=\"aw-home__outer-links-description\" *ngIf=\"lb.dataSource.outerLinksDescription\">\n {{ lb.dataSource.outerLinksDescription }}\n </p>\n <div class=\"aw-home__outer-links-items\">\n <!-- Item preview -->\n <n7-item-preview *ngFor=\"let outerLink of lb.dataSource.outerLinks\" [data]=\"outerLink\"\n [emit]=\"lb.eventHandler.outerLinkClick.bind(lb.eventHandler)\">\n </n7-item-preview>\n <!-- END // Item preview -->\n </div>\n </section>\n </div>\n <!-- END // Outer links -->\n\n <!-- Hero section at the bottom of the page -->\n <div class=\"aw-home__bottom-hero\">\n <n7-hero [data]=\"lb.widgets['aw-home-hero-patrimonio'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-home-hero-patrimonio'].emit\">\n </n7-hero>\n </div>\n\n <!-- Adavanced autocomplete popover -->\n <div class=\"aw-home__advanced-autocomplete\" id=\"aw-home-advanced-autocomplete-popover\" style=\"display: none;\">\n <div class=\"aw-home__advanced-autocomplete-loader\" *ngIf=\"lb.dataSource.homeAutocompleteIsLoading\">\n <n7-loader [data]=\"{}\"></n7-loader>\n </div>\n <n7-advanced-autocomplete *ngIf=\"!lb.dataSource.homeAutocompleteIsLoading\"\n [data]=\"lb.widgets['aw-home-autocomplete'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-home-autocomplete'].emit\">\n </n7-advanced-autocomplete>\n </div>\n\n <!-- Simple autocomplete popover. DO NOT CHANGE parent div class! -->\n <!-- Creating one template for each facet -->\n <div *ngFor=\"let widgetData of lb.widgets['aw-home-facets-wrapper'].ds.out$ | async;\"\n class=\"aw-home__simple-autocomplete aw-simple-autocomplete__template\" style=\"display: none;\">\n <div class=\"aw-home__simple-autocomplete-content aw-simple-autocomplete__tippy-wrapper\">\n <div class=\"aw-home__simple-autocomplete-loader aw-simple-autocomplete__tippy-wrapper-loader\"\n *ngIf=\"(lb.widgets['aw-autocomplete-wrapper'].ds.out$ | async)?.loading\">\n <n7-loader [data]=\"{}\"></n7-loader>\n </div>\n <n7-simple-autocomplete *ngIf=\"!(lb.widgets['aw-autocomplete-wrapper'].ds.out$ | async)?.loading\"\n [data]=\"lb.widgets['aw-autocomplete-wrapper'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-autocomplete-wrapper'].emit\">\n </n7-simple-autocomplete>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.AdvancedAutocompleteComponent, selector: "n7-advanced-autocomplete", inputs: ["data", "emit"] }, { kind: "component", type: i4.BubbleChartComponent, selector: "n7-bubble-chart", inputs: ["data", "emit"] }, { kind: "component", type: i4.CarouselComponent, selector: "n7-carousel", inputs: ["data", "emit"] }, { kind: "component", type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { kind: "component", type: i4.FacetComponent, selector: "n7-facet", inputs: ["data", "emit"] }, { kind: "component", type: i4.FacetHeaderComponent, selector: "n7-facet-header", inputs: ["data", "emit"] }, { kind: "component", type: i4.HeroComponent, selector: "n7-hero", inputs: ["data", "emit"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i4.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { kind: "component", type: i4.SimpleAutocompleteComponent, selector: "n7-simple-autocomplete", inputs: ["data", "emit"] }, { kind: "component", type: i4.TagComponent, selector: "n7-tag", inputs: ["data", "emit"] }, { kind: "component", type: BubbleChartWrapperComponent, selector: "aw-bubble-chart-wrapper", inputs: ["emit", "container", "buttons"] }, { kind: "component", type: ChartTippyComponent, selector: "aw-chart-tippy", inputs: ["data", "emit", "anchorData"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
6262
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwHomeLayoutComponent, deps: [{ token: i1.LayoutsConfigurationService }, { token: i1$1.Router }, { token: i1.ConfigurationService }, { token: i1.CommunicationService }, { token: i1.MainStateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6263
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AwHomeLayoutComponent, selector: "aw-home-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-home\" *ngIf=\"lb.dataSource\">\n <!-- Carousel -->\n <div class=\"aw-home__carousel\" *ngIf=\"lb.dataSource.carouselEnabled\">\n <n7-carousel [data]=\"lb.widgets['aw-carousel'].ds.out$ | async\">\n </n7-carousel>\n </div>\n\n <!-- Hero section at the top of the page -->\n <div class=\"aw-home__top-hero\">\n <n7-hero [data]=\"lb.widgets['aw-hero'].ds.out$ | async\" [emit]=\"lb.widgets['aw-hero'].emit\">\n </n7-hero>\n </div>\n\n <!-- Bubble chart -->\n <div class=\"aw-home__bubble-wrapper n7-side-auto-padding\"\n [ngClass]=\"{ 'has-results' : lb.dataSource.selectedBubbles.length > 0 }\" *ngIf=\"lb.dataSource.bubblesEnabled\">\n <div class=\"aw-home__facets-wrapper-loading\" *ngIf=\"!(lb.widgets['aw-home-facets-wrapper'].ds.out$ | async)\">\n <n7-content-placeholder *ngFor=\"let i of [0,1,2,3]\" [data]=\"{\n blocks: [{\n classes: 'facet-placeholder-header'\n }, {\n classes: 'facet-placeholder-input'\n }] \n }\"></n7-content-placeholder>\n </div>\n <div class=\"aw-home__facets-wrapper\" *ngIf=\"!!(lb.widgets['aw-home-facets-wrapper'].ds.out$ | async)\">\n <span class=\"aw-home__facet\"\n *ngFor=\"let widgetData of lb.widgets['aw-home-facets-wrapper'].ds.out$ | async;\">\n <n7-facet-header [data]=\"widgetData.header\" [emit]=\"lb.widgets['aw-home-facets-wrapper'].emit\">\n </n7-facet-header>\n <a *ngIf=\"widgetData.link as link\" class=\"aw-home__facet-link n7-btn\"\n [routerLink]=\"[link.path]\" [queryParams]=\"link.queryParams\">\n <span class=\"n7-icon n7-icon-list\"></span>\n <span class=\"aw-home__facet-link-label\">{{ link.label }}</span>\n </a>\n <n7-facet [data]=\"widgetData.input\" [emit]=\"lb.widgets['aw-home-facets-wrapper'].emit\">\n </n7-facet>\n </span>\n </div>\n\n <div class=\"aw-home__bubble-chart-wrapper-loading\" *ngIf=\"!(lb.widgets['aw-bubble-chart'].ds.out$ | async)\">\n <n7-content-placeholder [data]=\"{\n blocks: [\n {\n classes: 'facet-placeholder-item-1'\n }\n ]\n }\"></n7-content-placeholder>\n </div>\n <div class=\"aw-home__bubble-chart-wrapper\" *ngIf=\"!!(lb.widgets['aw-bubble-chart'].ds.out$ | async)\"\n [style.overflow]=\"lb.dataSource.loadingBubbles ? 'visible' : 'hidden'\">\n <aw-bubble-chart-wrapper>\n <aw-chart-tippy \n [data]=\"lb.widgets['aw-chart-tippy'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-chart-tippy'].emit\">\n </aw-chart-tippy>\n <n7-bubble-chart [data]=\"lb.widgets['aw-bubble-chart'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-bubble-chart'].emit\">\n </n7-bubble-chart>\n </aw-bubble-chart-wrapper>\n </div>\n\n <!-- Linked objects -->\n <ng-container *ngIf=\"(lb.widgets['aw-bubble-chart'].ds.out$ | async)?.selected.length > 0;\">\n <div class=\"aw-home__bubble-results\" id=\"home-bubble-results\">\n <div *ngIf=\"lb.dataSource.numOfItemsStr\" class=\"aw-home__bubble-results-title-wrapper\">\n <h1 class=\"aw-home__bubble-results-title\"><strong class=\"aw-home__bubble-results-title-counter\">\n {{ lb.dataSource.numOfItemsStr }}</strong> <span> Risultati</span>\n </h1>\n </div>\n <div class=\"aw-home__bubble-tags-wrapper\">\n <h3 class=\"aw-home__bubble-tags-title\">Collegati a </h3>\n <ng-container *ngFor=\"let widgetData of lb.widgets['aw-home-item-tags-wrapper'].ds.out$ | async;\">\n <n7-tag [data]=\"widgetData\" [emit]=\"lb.widgets['aw-home-item-tags-wrapper'].emit\">\n </n7-tag>\n <br>\n </ng-container>\n </div>\n <div class=\"aw-home__bubble-results-list-wrapper\">\n <div class=\"aw-home__bubble-results-list-loading\" *ngIf=\"lb.dataSource.resultsListIsLoading\">\n <n7-content-placeholder \n *ngFor=\"let i of [1, 2, 3, 4, 5]\"\n [data]=\"{\n blocks: [{\n classes: 'search-result-placeholder-title'\n }, {\n classes: 'search-result-placeholder-metadata'\n }]\n }\"></n7-content-placeholder>\n </div>\n <div *ngIf=\"!lb.dataSource.resultsListIsLoading\" class=\"aw-home__bubble-results-list\"\n [attr.id]=\"'bubble-results-list'\" (scroll)=\"lb.eventHandler.emitOuter('scroll', $event.target)\">\n\n <div class=\"aw-home__bubble-results-fallback\"\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.result.length < 1;\">\n <p class=\"aw-home__bubble-results-fallback-text\">\n {{ (lb.widgets['aw-linked-objects'].ds.out$ | async)?.fallback }}\n </p>\n <button class=\"n7-btn aw-home__bubble-results-reset\"\n (click)=\"lb.eventHandler.emitInner('clearselection')\">\n Resetta la ricerca\n </button>\n </div>\n\n <div class=\"aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.result\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\n </ng-container>\n </div>\n \n <!-- <ng-container\n *ngFor=\"let widgetData of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.result;\">\n <n7-item-preview [data]=\"widgetData\" [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </ng-container> -->\n\n <ng-container *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.isLoading\">\n <div class=\"aw-home__bubble-results-list-loader\">\n <n7-loader [data]=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.loaderData\">\n </n7-loader>\n </div>\n </ng-container>\n </div>\n <div [ngClass]=\"{ 'is-visible' : lb.dataSource.hasScrollBackground }\"\n class=\"aw-home__bubble-results-list-wrapper-with-scroll\"></div>\n </div>\n <!-- aw-linked-objects__actions -->\n <ng-container\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.result.length > 0 && !lb.dataSource.resultsListIsLoading\">\n <div *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.actions as action\"\n class=\"aw-home__bubble-results-list-actions\">\n <button (click)=\"lb.eventHandler.emitInner('bubbleresultsviewallclick')\"\n class=\"n7-btn n7-btn-light n7-btn-l aw-home__bubble-results-list-view-all\">\n {{action[0].label}}\n </button>\n </div>\n </ng-container>\n </div>\n </ng-container>\n </div>\n\n <!-- Outer links -->\n <div *ngIf=\"lb.dataSource.outerLinks && lb.dataSource.outerLinks.length > 0\" class=\"aw-home__outer-links\">\n <section class=\"aw-home__outer-links-wrapper n7-side-auto-padding\">\n <h2 class=\"aw-home__outer-links-title\" *ngIf=\"lb.dataSource.outerLinksTitle\">\n {{ lb.dataSource.outerLinksTitle }}\n </h2>\n <p class=\"aw-home__outer-links-description\" *ngIf=\"lb.dataSource.outerLinksDescription\">\n {{ lb.dataSource.outerLinksDescription }}\n </p>\n <div class=\"aw-home__outer-links-items\">\n <!-- Item preview -->\n <n7-item-preview *ngFor=\"let outerLink of lb.dataSource.outerLinks\" [data]=\"outerLink\"\n [emit]=\"lb.eventHandler.outerLinkClick.bind(lb.eventHandler)\">\n </n7-item-preview>\n <!-- END // Item preview -->\n </div>\n </section>\n </div>\n <!-- END // Outer links -->\n\n <!-- Hero section at the bottom of the page -->\n <div class=\"aw-home__bottom-hero\">\n <n7-hero [data]=\"lb.widgets['aw-home-hero-patrimonio'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-home-hero-patrimonio'].emit\">\n </n7-hero>\n </div>\n\n <!-- Adavanced autocomplete popover -->\n <div class=\"aw-home__advanced-autocomplete\" id=\"aw-home-advanced-autocomplete-popover\" style=\"display: none;\">\n <div class=\"aw-home__advanced-autocomplete-loader\" *ngIf=\"lb.dataSource.homeAutocompleteIsLoading\">\n <n7-loader [data]=\"{}\"></n7-loader>\n </div>\n <n7-advanced-autocomplete *ngIf=\"!lb.dataSource.homeAutocompleteIsLoading\"\n [data]=\"lb.widgets['aw-home-autocomplete'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-home-autocomplete'].emit\">\n </n7-advanced-autocomplete>\n </div>\n\n <!-- Simple autocomplete popover. DO NOT CHANGE parent div class! -->\n <!-- Creating one template for each facet -->\n <div *ngFor=\"let widgetData of lb.widgets['aw-home-facets-wrapper'].ds.out$ | async;\"\n class=\"aw-home__simple-autocomplete aw-simple-autocomplete__template\" style=\"display: none;\">\n <div class=\"aw-home__simple-autocomplete-content aw-simple-autocomplete__tippy-wrapper\">\n <div class=\"aw-home__simple-autocomplete-loader aw-simple-autocomplete__tippy-wrapper-loader\"\n *ngIf=\"(lb.widgets['aw-autocomplete-wrapper'].ds.out$ | async)?.loading\">\n <n7-loader [data]=\"{}\"></n7-loader>\n </div>\n <n7-simple-autocomplete *ngIf=\"!(lb.widgets['aw-autocomplete-wrapper'].ds.out$ | async)?.loading\"\n [data]=\"lb.widgets['aw-autocomplete-wrapper'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-autocomplete-wrapper'].emit\">\n </n7-simple-autocomplete>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.AdvancedAutocompleteComponent, selector: "n7-advanced-autocomplete", inputs: ["data", "emit"] }, { kind: "component", type: i4.BubbleChartComponent, selector: "n7-bubble-chart", inputs: ["data", "emit"] }, { kind: "component", type: i4.CarouselComponent, selector: "n7-carousel", inputs: ["data", "emit"] }, { kind: "component", type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { kind: "component", type: i4.FacetComponent, selector: "n7-facet", inputs: ["data", "emit"] }, { kind: "component", type: i4.FacetHeaderComponent, selector: "n7-facet-header", inputs: ["data", "emit"] }, { kind: "component", type: i4.HeroComponent, selector: "n7-hero", inputs: ["data", "emit"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i4.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { kind: "component", type: i4.SimpleAutocompleteComponent, selector: "n7-simple-autocomplete", inputs: ["data", "emit"] }, { kind: "component", type: i4.TagComponent, selector: "n7-tag", inputs: ["data", "emit"] }, { kind: "component", type: BubbleChartWrapperComponent, selector: "aw-bubble-chart-wrapper", inputs: ["emit", "container", "buttons"] }, { kind: "component", type: ChartTippyComponent, selector: "aw-chart-tippy", inputs: ["data", "emit", "anchorData"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
6264
6264
|
}
|
|
6265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwHomeLayoutComponent, decorators: [{
|
|
6266
6266
|
type: Component,
|
|
6267
6267
|
args: [{ selector: 'aw-home-layout', template: "<div class=\"aw-home\" *ngIf=\"lb.dataSource\">\n <!-- Carousel -->\n <div class=\"aw-home__carousel\" *ngIf=\"lb.dataSource.carouselEnabled\">\n <n7-carousel [data]=\"lb.widgets['aw-carousel'].ds.out$ | async\">\n </n7-carousel>\n </div>\n\n <!-- Hero section at the top of the page -->\n <div class=\"aw-home__top-hero\">\n <n7-hero [data]=\"lb.widgets['aw-hero'].ds.out$ | async\" [emit]=\"lb.widgets['aw-hero'].emit\">\n </n7-hero>\n </div>\n\n <!-- Bubble chart -->\n <div class=\"aw-home__bubble-wrapper n7-side-auto-padding\"\n [ngClass]=\"{ 'has-results' : lb.dataSource.selectedBubbles.length > 0 }\" *ngIf=\"lb.dataSource.bubblesEnabled\">\n <div class=\"aw-home__facets-wrapper-loading\" *ngIf=\"!(lb.widgets['aw-home-facets-wrapper'].ds.out$ | async)\">\n <n7-content-placeholder *ngFor=\"let i of [0,1,2,3]\" [data]=\"{\n blocks: [{\n classes: 'facet-placeholder-header'\n }, {\n classes: 'facet-placeholder-input'\n }] \n }\"></n7-content-placeholder>\n </div>\n <div class=\"aw-home__facets-wrapper\" *ngIf=\"!!(lb.widgets['aw-home-facets-wrapper'].ds.out$ | async)\">\n <span class=\"aw-home__facet\"\n *ngFor=\"let widgetData of lb.widgets['aw-home-facets-wrapper'].ds.out$ | async;\">\n <n7-facet-header [data]=\"widgetData.header\" [emit]=\"lb.widgets['aw-home-facets-wrapper'].emit\">\n </n7-facet-header>\n <a *ngIf=\"widgetData.link as link\" class=\"aw-home__facet-link n7-btn\"\n [routerLink]=\"[link.path]\" [queryParams]=\"link.queryParams\">\n <span class=\"n7-icon n7-icon-list\"></span>\n <span class=\"aw-home__facet-link-label\">{{ link.label }}</span>\n </a>\n <n7-facet [data]=\"widgetData.input\" [emit]=\"lb.widgets['aw-home-facets-wrapper'].emit\">\n </n7-facet>\n </span>\n </div>\n\n <div class=\"aw-home__bubble-chart-wrapper-loading\" *ngIf=\"!(lb.widgets['aw-bubble-chart'].ds.out$ | async)\">\n <n7-content-placeholder [data]=\"{\n blocks: [\n {\n classes: 'facet-placeholder-item-1'\n }\n ]\n }\"></n7-content-placeholder>\n </div>\n <div class=\"aw-home__bubble-chart-wrapper\" *ngIf=\"!!(lb.widgets['aw-bubble-chart'].ds.out$ | async)\"\n [style.overflow]=\"lb.dataSource.loadingBubbles ? 'visible' : 'hidden'\">\n <aw-bubble-chart-wrapper>\n <aw-chart-tippy \n [data]=\"lb.widgets['aw-chart-tippy'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-chart-tippy'].emit\">\n </aw-chart-tippy>\n <n7-bubble-chart [data]=\"lb.widgets['aw-bubble-chart'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-bubble-chart'].emit\">\n </n7-bubble-chart>\n </aw-bubble-chart-wrapper>\n </div>\n\n <!-- Linked objects -->\n <ng-container *ngIf=\"(lb.widgets['aw-bubble-chart'].ds.out$ | async)?.selected.length > 0;\">\n <div class=\"aw-home__bubble-results\" id=\"home-bubble-results\">\n <div *ngIf=\"lb.dataSource.numOfItemsStr\" class=\"aw-home__bubble-results-title-wrapper\">\n <h1 class=\"aw-home__bubble-results-title\"><strong class=\"aw-home__bubble-results-title-counter\">\n {{ lb.dataSource.numOfItemsStr }}</strong> <span> Risultati</span>\n </h1>\n </div>\n <div class=\"aw-home__bubble-tags-wrapper\">\n <h3 class=\"aw-home__bubble-tags-title\">Collegati a </h3>\n <ng-container *ngFor=\"let widgetData of lb.widgets['aw-home-item-tags-wrapper'].ds.out$ | async;\">\n <n7-tag [data]=\"widgetData\" [emit]=\"lb.widgets['aw-home-item-tags-wrapper'].emit\">\n </n7-tag>\n <br>\n </ng-container>\n </div>\n <div class=\"aw-home__bubble-results-list-wrapper\">\n <div class=\"aw-home__bubble-results-list-loading\" *ngIf=\"lb.dataSource.resultsListIsLoading\">\n <n7-content-placeholder \n *ngFor=\"let i of [1, 2, 3, 4, 5]\"\n [data]=\"{\n blocks: [{\n classes: 'search-result-placeholder-title'\n }, {\n classes: 'search-result-placeholder-metadata'\n }]\n }\"></n7-content-placeholder>\n </div>\n <div *ngIf=\"!lb.dataSource.resultsListIsLoading\" class=\"aw-home__bubble-results-list\"\n [attr.id]=\"'bubble-results-list'\" (scroll)=\"lb.eventHandler.emitOuter('scroll', $event.target)\">\n\n <div class=\"aw-home__bubble-results-fallback\"\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.result.length < 1;\">\n <p class=\"aw-home__bubble-results-fallback-text\">\n {{ (lb.widgets['aw-linked-objects'].ds.out$ | async)?.fallback }}\n </p>\n <button class=\"n7-btn aw-home__bubble-results-reset\"\n (click)=\"lb.eventHandler.emitInner('clearselection')\">\n Resetta la ricerca\n </button>\n </div>\n\n <div class=\"aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.result\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\n </ng-container>\n </div>\n \n <!-- <ng-container\n *ngFor=\"let widgetData of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.result;\">\n <n7-item-preview [data]=\"widgetData\" [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </ng-container> -->\n\n <ng-container *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.isLoading\">\n <div class=\"aw-home__bubble-results-list-loader\">\n <n7-loader [data]=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.loaderData\">\n </n7-loader>\n </div>\n </ng-container>\n </div>\n <div [ngClass]=\"{ 'is-visible' : lb.dataSource.hasScrollBackground }\"\n class=\"aw-home__bubble-results-list-wrapper-with-scroll\"></div>\n </div>\n <!-- aw-linked-objects__actions -->\n <ng-container\n *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.result.length > 0 && !lb.dataSource.resultsListIsLoading\">\n <div *ngIf=\"(lb.widgets['aw-linked-objects'].ds.out$ | async)?.actions as action\"\n class=\"aw-home__bubble-results-list-actions\">\n <button (click)=\"lb.eventHandler.emitInner('bubbleresultsviewallclick')\"\n class=\"n7-btn n7-btn-light n7-btn-l aw-home__bubble-results-list-view-all\">\n {{action[0].label}}\n </button>\n </div>\n </ng-container>\n </div>\n </ng-container>\n </div>\n\n <!-- Outer links -->\n <div *ngIf=\"lb.dataSource.outerLinks && lb.dataSource.outerLinks.length > 0\" class=\"aw-home__outer-links\">\n <section class=\"aw-home__outer-links-wrapper n7-side-auto-padding\">\n <h2 class=\"aw-home__outer-links-title\" *ngIf=\"lb.dataSource.outerLinksTitle\">\n {{ lb.dataSource.outerLinksTitle }}\n </h2>\n <p class=\"aw-home__outer-links-description\" *ngIf=\"lb.dataSource.outerLinksDescription\">\n {{ lb.dataSource.outerLinksDescription }}\n </p>\n <div class=\"aw-home__outer-links-items\">\n <!-- Item preview -->\n <n7-item-preview *ngFor=\"let outerLink of lb.dataSource.outerLinks\" [data]=\"outerLink\"\n [emit]=\"lb.eventHandler.outerLinkClick.bind(lb.eventHandler)\">\n </n7-item-preview>\n <!-- END // Item preview -->\n </div>\n </section>\n </div>\n <!-- END // Outer links -->\n\n <!-- Hero section at the bottom of the page -->\n <div class=\"aw-home__bottom-hero\">\n <n7-hero [data]=\"lb.widgets['aw-home-hero-patrimonio'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-home-hero-patrimonio'].emit\">\n </n7-hero>\n </div>\n\n <!-- Adavanced autocomplete popover -->\n <div class=\"aw-home__advanced-autocomplete\" id=\"aw-home-advanced-autocomplete-popover\" style=\"display: none;\">\n <div class=\"aw-home__advanced-autocomplete-loader\" *ngIf=\"lb.dataSource.homeAutocompleteIsLoading\">\n <n7-loader [data]=\"{}\"></n7-loader>\n </div>\n <n7-advanced-autocomplete *ngIf=\"!lb.dataSource.homeAutocompleteIsLoading\"\n [data]=\"lb.widgets['aw-home-autocomplete'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-home-autocomplete'].emit\">\n </n7-advanced-autocomplete>\n </div>\n\n <!-- Simple autocomplete popover. DO NOT CHANGE parent div class! -->\n <!-- Creating one template for each facet -->\n <div *ngFor=\"let widgetData of lb.widgets['aw-home-facets-wrapper'].ds.out$ | async;\"\n class=\"aw-home__simple-autocomplete aw-simple-autocomplete__template\" style=\"display: none;\">\n <div class=\"aw-home__simple-autocomplete-content aw-simple-autocomplete__tippy-wrapper\">\n <div class=\"aw-home__simple-autocomplete-loader aw-simple-autocomplete__tippy-wrapper-loader\"\n *ngIf=\"(lb.widgets['aw-autocomplete-wrapper'].ds.out$ | async)?.loading\">\n <n7-loader [data]=\"{}\"></n7-loader>\n </div>\n <n7-simple-autocomplete *ngIf=\"!(lb.widgets['aw-autocomplete-wrapper'].ds.out$ | async)?.loading\"\n [data]=\"lb.widgets['aw-autocomplete-wrapper'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-autocomplete-wrapper'].emit\">\n </n7-simple-autocomplete>\n </div>\n </div>\n</div>\n" }]
|
|
6268
6268
|
}], ctorParameters: () => [{ type: i1.LayoutsConfigurationService }, { type: i1$1.Router }, { type: i1.ConfigurationService }, { type: i1.CommunicationService }, { type: i1.MainStateService }] });
|
|
@@ -6477,10 +6477,10 @@ class AwMapLayoutComponent extends AbstractLayout {
|
|
|
6477
6477
|
ngOnDestroy() {
|
|
6478
6478
|
this.onDestroy();
|
|
6479
6479
|
}
|
|
6480
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
6481
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
6480
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwMapLayoutComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.LayoutsConfigurationService }, { token: i1.CommunicationService }, { token: i1.MainStateService }, { token: i3.Title }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6481
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AwMapLayoutComponent, selector: "aw-map-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-multimedia\" id=\"map-layout\" *ngIf=\"lb.dataSource\">\n <n7-inner-title [data]=\"{\n title: {\n main: {\n text: 'I luoghi dell\\'archivio'\n }\n }\n }\">\n </n7-inner-title>\n\n <!-- Map -->\n <div class=\"aw-multimedia__map\">\n <n7-map [data]=\"lb.widgets['aw-map'].ds.out$ | async\"></n7-map>\n </div>\n <!-- END // Map -->\n\n <!-- RESULTS -->\n <div class=\"aw-multimedia__results\">\n <div class=\"aw-multimedia__loader\" *ngIf=\"(lb.dataSource.state$ | async) === 'LOADING'\">\n <ng-container>\n <n7-loader></n7-loader>\n </ng-container>\n </div>\n\n <div class=\"aw-multimedia__empty\" *ngIf=\"(lb.dataSource.state$ | async) === 'EMPTY'\">\n <ng-container>\n <p class=\"aw-multimedia__empty-text\">Clicca su un luogo della mappa per vedere tutti gli oggetti collegati.</p>\n </ng-container>\n </div>\n \n <ng-container *ngIf=\"(lb.dataSource.state$ | async) === 'SUCCESS'\">\n <div class=\"aw-multimedia__results-title\">\n <n7-inner-title \n [data]=\"lb.widgets['aw-scheda-inner-title'].ds.out$ | async\">\n </n7-inner-title>\n </div>\n <div class=\"aw-multimedia__results-wrapper\">\n <div>\n <div class=\"aw-item-preview-wrapper\" *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <n7-smart-breadcrumbs \n [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview \n [data]=\"preview\" \n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.total > 0\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n </ng-container>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.InnerTitleComponent, selector: "n7-inner-title", inputs: ["data", "emit"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i4.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { kind: "component", type: i4.MapComponent, selector: "n7-map", inputs: ["data", "emit"] }, { kind: "component", type: i1.SmartPaginationComponent, selector: "n7-smart-pagination", inputs: ["data", "emit"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
6482
6482
|
}
|
|
6483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
6483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwMapLayoutComponent, decorators: [{
|
|
6484
6484
|
type: Component,
|
|
6485
6485
|
args: [{ selector: 'aw-map-layout', template: "<div class=\"aw-multimedia\" id=\"map-layout\" *ngIf=\"lb.dataSource\">\n <n7-inner-title [data]=\"{\n title: {\n main: {\n text: 'I luoghi dell\\'archivio'\n }\n }\n }\">\n </n7-inner-title>\n\n <!-- Map -->\n <div class=\"aw-multimedia__map\">\n <n7-map [data]=\"lb.widgets['aw-map'].ds.out$ | async\"></n7-map>\n </div>\n <!-- END // Map -->\n\n <!-- RESULTS -->\n <div class=\"aw-multimedia__results\">\n <div class=\"aw-multimedia__loader\" *ngIf=\"(lb.dataSource.state$ | async) === 'LOADING'\">\n <ng-container>\n <n7-loader></n7-loader>\n </ng-container>\n </div>\n\n <div class=\"aw-multimedia__empty\" *ngIf=\"(lb.dataSource.state$ | async) === 'EMPTY'\">\n <ng-container>\n <p class=\"aw-multimedia__empty-text\">Clicca su un luogo della mappa per vedere tutti gli oggetti collegati.</p>\n </ng-container>\n </div>\n \n <ng-container *ngIf=\"(lb.dataSource.state$ | async) === 'SUCCESS'\">\n <div class=\"aw-multimedia__results-title\">\n <n7-inner-title \n [data]=\"lb.widgets['aw-scheda-inner-title'].ds.out$ | async\">\n </n7-inner-title>\n </div>\n <div class=\"aw-multimedia__results-wrapper\">\n <div>\n <div class=\"aw-item-preview-wrapper\" *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <n7-smart-breadcrumbs \n [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview \n [data]=\"preview\" \n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.total > 0\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n </ng-container>\n </div>\n</div>" }]
|
|
6486
6486
|
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i1.LayoutsConfigurationService }, { type: i1.CommunicationService }, { type: i1.MainStateService }, { type: i3.Title }] });
|
|
@@ -7336,10 +7336,10 @@ class PdfViewerComponent {
|
|
|
7336
7336
|
onLoaded() {
|
|
7337
7337
|
this.emit('loaded');
|
|
7338
7338
|
}
|
|
7339
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7340
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
7339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7340
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PdfViewerComponent, selector: "aw-pdf-viewer", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"aw-pdf-viewer {{ data.classes || '' }}\">\n <div class=\"aw-pdf-viewer__loader\">\n <n7-loader></n7-loader>\n </div>\n \n <ngx-extended-pdf-viewer\n [src]=\"data.currentUrl\"\n [height]=\"'90vh'\"\n [textLayer]=\"true\"\n [showToolbar]=\"data.libOptions.showToolbar\"\n [showSidebarButton]=\"data.libOptions.showSidebarButton\"\n [showFindButton]=\"data.libOptions.showFindButton\"\n [showPagingButtons]=\"data.libOptions.showPagingButtons\"\n [showZoomButtons]=\"data.libOptions.showZoomButtons\"\n [showPresentationModeButton]=\"data.libOptions.showPresentationModeButton\"\n [showOpenFileButton]=\"data.libOptions.showOpenFileButton\"\n [showPrintButton]=\"data.libOptions.showPrintButton\"\n [showDownloadButton]=\"data.libOptions.showDownloadButton\"\n [showBookModeButton]=\"data.libOptions.showBookModeButton\"\n [showSecondaryToolbarButton]=\"data.libOptions.showSecondaryToolbarButton\"\n [showRotateButton]=\"data.libOptions.showRotateButton\"\n [showHandToolButton]=\"data.libOptions.showHandToolButton\"\n [showScrollingButton]=\"data.libOptions.showScrollingButton\"\n [showSpreadButton]=\"data.libOptions.showSpreadButton\"\n [showPropertiesButton]=\"data.libOptions.showPropertiesButton\"\n (pdfLoaded)=\"onLoaded()\"\n (pdfLoadingFailed)=\"onLoaded()\">\n </ngx-extended-pdf-viewer>\n \n <div *ngIf=\"data.items.length > 1\" class=\"aw-pdf-viewer__navigation\">\n <div class=\"aw-pdf-viewer__navigation-tools\">\n <a class=\"aw-pdf-viewer__navigation-prev {{ (!data.prev && data.prev !== 0) ? 'is-disabled' : '' }}\" \n (click)=\"onClick(data.prev)\">\n <span class=\"n7-icon-angle-left\"></span>\n </a>\n <div class=\"aw-pdf-viewer__navigation-select\">\n <p class=\"aw-pdf-viewer__navigation-select-text\">Scorri i documenti PDF</p>\n <select (change)=\"onClick(+$event.target.value)\">\n <option *ngFor=\"let item of data.items; let $i = index\" [value]=\"$i\"\n [selected]=\"item.selected\">{{ item.label }}</option>\n </select>\n </div>\n <a class=\"aw-pdf-viewer__navigation-next {{ !data.next ? 'is-disabled' : '' }}\" \n (click)=\"onClick(data.next)\">\n <span class=\"n7-icon-angle-right\"></span>\n </a>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { kind: "component", type: i3$1.NgxExtendedPdfViewerComponent, selector: "ngx-extended-pdf-viewer", inputs: ["customFindbarInputArea", "customToolbar", "customFindbar", "customFindbarButtons", "customPdfViewer", "customSecondaryToolbar", "customSidebar", "customThumbnail", "customFreeFloatingBar", "showFreeFloatingBar", "enableDragAndDrop", "formData", "disableForms", "pageViewMode", "scrollMode", "authorization", "httpHeaders", "contextMenuAllowed", "enablePrint", "delayFirstView", "showTextEditor", "showStampEditor", "showDrawEditor", "showHighlightEditor", "logLevel", "relativeCoordsOptions", "minifiedJSLibraries", "printResolution", "rotation", "src", "base64Src", "minHeight", "height", "forceUsingLegacyES5", "backgroundColor", "filenameForDownload", "ignoreKeyboard", "ignoreKeys", "acceptKeys", "imageResourcesPath", "localeFolderPath", "language", "listenToURL", "nameddest", "password", "replaceBrowserPrint", "showUnverifiedSignatures", "startTabindex", "showSidebarButton", "sidebarVisible", "activeSidebarView", "findbarVisible", "propertiesDialogVisible", "showFindButton", "showFindHighlightAll", "showFindMatchCase", "showFindCurrentPageOnly", "showFindPageRange", "showFindEntireWord", "showFindEntirePhrase", "showFindMatchDiacritics", "showFindFuzzySearch", "showFindResultsCount", "showFindMessages", "showPagingButtons", "showZoomButtons", "showPresentationModeButton", "showOpenFileButton", "showPrintButton", "showDownloadButton", "theme", "showToolbar", "showSecondaryToolbarButton", "showSinglePageModeButton", "showVerticalScrollButton", "showHorizontalScrollButton", "showWrappedScrollButton", "showInfiniteScrollButton", "showBookModeButton", "showRotateButton", "handTool", "showHandToolButton", "showScrollingButton", "showSpreadButton", "showPropertiesButton", "showBorders", "spread", "page", "pageLabel", "textLayer", "zoom", "zoomLevels", "maxZoom", "minZoom", "mobileFriendlyZoom"], outputs: ["formDataChange", "pageViewModeChange", "progress", "srcChange", "scrollModeChange", "afterPrint", "beforePrint", "currentZoomFactor", "rotationChange", "annotationLayerRendered", "annotationEditorLayerRendered", "xfaLayerRendered", "outlineLoaded", "attachmentsloaded", "layersloaded", "sidebarVisibleChange", "activeSidebarViewChange", "findbarVisibleChange", "propertiesDialogVisibleChange", "handToolChange", "spreadChange", "thumbnailDrawn", "pageChange", "pageLabelChange", "pagesLoaded", "pageRender", "pageRendered", "pdfDownloaded", "pdfLoaded", "pdfLoadingStarts", "pdfLoadingFailed", "textLayerRendered", "annotationEditorModeChanged", "updateFindMatchesCount", "updateFindState", "zoomChange"] }] }); }
|
|
7341
7341
|
}
|
|
7342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PdfViewerComponent, decorators: [{
|
|
7343
7343
|
type: Component,
|
|
7344
7344
|
args: [{ selector: 'aw-pdf-viewer', template: "<div *ngIf=\"data\" class=\"aw-pdf-viewer {{ data.classes || '' }}\">\n <div class=\"aw-pdf-viewer__loader\">\n <n7-loader></n7-loader>\n </div>\n \n <ngx-extended-pdf-viewer\n [src]=\"data.currentUrl\"\n [height]=\"'90vh'\"\n [textLayer]=\"true\"\n [showToolbar]=\"data.libOptions.showToolbar\"\n [showSidebarButton]=\"data.libOptions.showSidebarButton\"\n [showFindButton]=\"data.libOptions.showFindButton\"\n [showPagingButtons]=\"data.libOptions.showPagingButtons\"\n [showZoomButtons]=\"data.libOptions.showZoomButtons\"\n [showPresentationModeButton]=\"data.libOptions.showPresentationModeButton\"\n [showOpenFileButton]=\"data.libOptions.showOpenFileButton\"\n [showPrintButton]=\"data.libOptions.showPrintButton\"\n [showDownloadButton]=\"data.libOptions.showDownloadButton\"\n [showBookModeButton]=\"data.libOptions.showBookModeButton\"\n [showSecondaryToolbarButton]=\"data.libOptions.showSecondaryToolbarButton\"\n [showRotateButton]=\"data.libOptions.showRotateButton\"\n [showHandToolButton]=\"data.libOptions.showHandToolButton\"\n [showScrollingButton]=\"data.libOptions.showScrollingButton\"\n [showSpreadButton]=\"data.libOptions.showSpreadButton\"\n [showPropertiesButton]=\"data.libOptions.showPropertiesButton\"\n (pdfLoaded)=\"onLoaded()\"\n (pdfLoadingFailed)=\"onLoaded()\">\n </ngx-extended-pdf-viewer>\n \n <div *ngIf=\"data.items.length > 1\" class=\"aw-pdf-viewer__navigation\">\n <div class=\"aw-pdf-viewer__navigation-tools\">\n <a class=\"aw-pdf-viewer__navigation-prev {{ (!data.prev && data.prev !== 0) ? 'is-disabled' : '' }}\" \n (click)=\"onClick(data.prev)\">\n <span class=\"n7-icon-angle-left\"></span>\n </a>\n <div class=\"aw-pdf-viewer__navigation-select\">\n <p class=\"aw-pdf-viewer__navigation-select-text\">Scorri i documenti PDF</p>\n <select (change)=\"onClick(+$event.target.value)\">\n <option *ngFor=\"let item of data.items; let $i = index\" [value]=\"$i\"\n [selected]=\"item.selected\">{{ item.label }}</option>\n </select>\n </div>\n <a class=\"aw-pdf-viewer__navigation-next {{ !data.next ? 'is-disabled' : '' }}\" \n (click)=\"onClick(data.next)\">\n <span class=\"n7-icon-angle-right\"></span>\n </a>\n </div>\n </div>\n</div>\n" }]
|
|
7345
7345
|
}], propDecorators: { data: [{
|
|
@@ -7359,10 +7359,10 @@ class SchedaDropdownComponent {
|
|
|
7359
7359
|
ev.stopImmediatePropagation();
|
|
7360
7360
|
this.emit('click', payload);
|
|
7361
7361
|
}
|
|
7362
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7363
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
7362
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SchedaDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7363
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SchedaDropdownComponent, selector: "aw-scheda-dropdown", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"aw-scheda-dropdown {{ data.classes || '' }}\">\n <div class=\"aw-scheda-dropdown__header\"\n (click)=\"onClick($event, data.header.payload)\">\n <!-- header label -->\n <span class=\"aw-scheda-dropdown__header-label\">\n {{ data.header.label }}\n </span>\n <!-- header icon -->\n <span class=\"aw-scheda-dropdown__header-icon\"\n [ngClass]=\"data.header.icon['id']\">\n </span>\n </div>\n <div class=\"aw-scheda-dropdown__items\">\n <ul>\n <li *ngFor=\"let item of data.items\"\n [ngClass]=\"{\n 'is-selected': item.selected \n }\"\n (click)=\"onClick($event, item.payload)\">\n {{ item.label }}\n </li>\n </ul>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
7364
7364
|
}
|
|
7365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SchedaDropdownComponent, decorators: [{
|
|
7366
7366
|
type: Component,
|
|
7367
7367
|
args: [{ selector: 'aw-scheda-dropdown', template: "<div *ngIf=\"data\" class=\"aw-scheda-dropdown {{ data.classes || '' }}\">\n <div class=\"aw-scheda-dropdown__header\"\n (click)=\"onClick($event, data.header.payload)\">\n <!-- header label -->\n <span class=\"aw-scheda-dropdown__header-label\">\n {{ data.header.label }}\n </span>\n <!-- header icon -->\n <span class=\"aw-scheda-dropdown__header-icon\"\n [ngClass]=\"data.header.icon['id']\">\n </span>\n </div>\n <div class=\"aw-scheda-dropdown__items\">\n <ul>\n <li *ngFor=\"let item of data.items\"\n [ngClass]=\"{\n 'is-selected': item.selected \n }\"\n (click)=\"onClick($event, item.payload)\">\n {{ item.label }}\n </li>\n </ul>\n </div>\n</div>" }]
|
|
7368
7368
|
}], propDecorators: { data: [{
|
|
@@ -7382,10 +7382,10 @@ class ExtendedTreeComponent {
|
|
|
7382
7382
|
return;
|
|
7383
7383
|
this.lb.dataSource.onSectionCollapse('extended-tree');
|
|
7384
7384
|
}
|
|
7385
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7386
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
7385
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExtendedTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7386
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ExtendedTreeComponent, selector: "aw-extended-tree", inputs: { data: "data", emit: "emit", lb: "lb" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"aw-extended-tree\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"onCollapseClick($event.target?.type)\">\n <ng-content></ng-content>\n <div *ngIf=\"data.header as header\" class=\"aw-scheda__inner-title aw-extended-tree__header\">\n <n7-inner-title \n [data]=\"header\"\n [emit]=\"this.emit\"></n7-inner-title>\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['extended-tree']\">\n <ng-container *ngIf=\"data.loading\">\n <div class=\"aw-extended-tree__loader\">\n <n7-loader></n7-loader>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!data.loading\">\n <ng-container *ngIf=\"!data.items?.length && data.fallback\">\n <div class=\"aw-extended-tree__content\">\n <p>{{ data.fallback }}</p>\n </div>\n </ng-container>\n <ng-container *ngIf=\"data.items?.length\">\n <div *ngIf=\"data.items as items\" class=\"aw-extended-tree__content\">\n <div *ngFor=\"let item of data.items\" class=\"aw-extended-tree__item\">\n <n7-anchor-wrapper [classes]=\"'aw-extended-tree__item-link'\" [data]=\"item.anchor\">\n <div *ngIf=\"item.icon\" class=\"aw-extended-tree__item-icon\">\n <span class=\"{{ item.icon }}\"></span>\n </div>\n <div *ngIf=\"item.thumbnail\" class=\"aw-extended-tree__item-image\">\n <img src=\"{{ item.thumbnail }}\" alt=\"{{ item.label }}\">\n </div>\n <div *ngIf=\"item.label\" class=\"aw-extended-tree__item-label\">{{ item.label }}</div>\n </n7-anchor-wrapper>\n </div>\n </div>\n <div *ngIf=\"data.pagination as pagination\" class=\"aw-extended-tree__footer\">\n <div *ngIf=\"data.pagination as pagination\" class=\"aw-extended-tree__pagination\">\n <n7-pagination \n [data]=\"pagination\"\n [emit]=\"this.emit\"></n7-pagination>\n </div>\n <div *ngIf=\"data.pageInput as pageInput\" class=\"aw-extended-tree__page-input\">\n <n7-input-text \n [data]=\"pageInput\"\n [emit]=\"this.emit\"></n7-input-text>\n <button class=\"n7-btn\"\n (click)=\"onPageInputSubmit()\">Vai</button>\n </div>\n <div *ngIf=\"data.limitSelect as limitSelect\" class=\"aw-extended-tree__limit-select\">\n <n7-input-select \n [data]=\"limitSelect\"\n [emit]=\"this.emit\"></n7-input-select>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }, { kind: "component", type: i4.InnerTitleComponent, selector: "n7-inner-title", inputs: ["data", "emit"] }, { kind: "component", type: i4.InputSelectComponent, selector: "n7-input-select", inputs: ["data", "emit"] }, { kind: "component", type: i4.InputTextComponent, selector: "n7-input-text", inputs: ["data", "emit"] }, { kind: "component", type: i4.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { kind: "component", type: i4.PaginationComponent, selector: "n7-pagination", inputs: ["data", "emit"] }] }); }
|
|
7387
7387
|
}
|
|
7388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ExtendedTreeComponent, decorators: [{
|
|
7389
7389
|
type: Component,
|
|
7390
7390
|
args: [{ selector: 'aw-extended-tree', template: "<div *ngIf=\"data\" class=\"aw-extended-tree\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"onCollapseClick($event.target?.type)\">\n <ng-content></ng-content>\n <div *ngIf=\"data.header as header\" class=\"aw-scheda__inner-title aw-extended-tree__header\">\n <n7-inner-title \n [data]=\"header\"\n [emit]=\"this.emit\"></n7-inner-title>\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['extended-tree']\">\n <ng-container *ngIf=\"data.loading\">\n <div class=\"aw-extended-tree__loader\">\n <n7-loader></n7-loader>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!data.loading\">\n <ng-container *ngIf=\"!data.items?.length && data.fallback\">\n <div class=\"aw-extended-tree__content\">\n <p>{{ data.fallback }}</p>\n </div>\n </ng-container>\n <ng-container *ngIf=\"data.items?.length\">\n <div *ngIf=\"data.items as items\" class=\"aw-extended-tree__content\">\n <div *ngFor=\"let item of data.items\" class=\"aw-extended-tree__item\">\n <n7-anchor-wrapper [classes]=\"'aw-extended-tree__item-link'\" [data]=\"item.anchor\">\n <div *ngIf=\"item.icon\" class=\"aw-extended-tree__item-icon\">\n <span class=\"{{ item.icon }}\"></span>\n </div>\n <div *ngIf=\"item.thumbnail\" class=\"aw-extended-tree__item-image\">\n <img src=\"{{ item.thumbnail }}\" alt=\"{{ item.label }}\">\n </div>\n <div *ngIf=\"item.label\" class=\"aw-extended-tree__item-label\">{{ item.label }}</div>\n </n7-anchor-wrapper>\n </div>\n </div>\n <div *ngIf=\"data.pagination as pagination\" class=\"aw-extended-tree__footer\">\n <div *ngIf=\"data.pagination as pagination\" class=\"aw-extended-tree__pagination\">\n <n7-pagination \n [data]=\"pagination\"\n [emit]=\"this.emit\"></n7-pagination>\n </div>\n <div *ngIf=\"data.pageInput as pageInput\" class=\"aw-extended-tree__page-input\">\n <n7-input-text \n [data]=\"pageInput\"\n [emit]=\"this.emit\"></n7-input-text>\n <button class=\"n7-btn\"\n (click)=\"onPageInputSubmit()\">Vai</button>\n </div>\n <div *ngIf=\"data.limitSelect as limitSelect\" class=\"aw-extended-tree__limit-select\">\n <n7-input-select \n [data]=\"limitSelect\"\n [emit]=\"this.emit\"></n7-input-select>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>" }]
|
|
7391
7391
|
}], propDecorators: { data: [{
|
|
@@ -7402,10 +7402,10 @@ class SchedaImageNavigatorComponent {
|
|
|
7402
7402
|
return;
|
|
7403
7403
|
this.emit('submit');
|
|
7404
7404
|
}
|
|
7405
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7406
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
7405
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SchedaImageNavigatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7406
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SchedaImageNavigatorComponent, selector: "aw-scheda-image-navigator", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"aw-scheda-image-navigator\" [ngClass]=\"data.classes\">\n <div class=\"aw-scheda-image-navigator__input\">\n <n7-input-text \n [data]=\"data.input\"\n [emit]=\"this.emit\"></n7-input-text>\n </div>\n <div *ngIf=\"data.button as button\" class=\"aw-scheda-image-navigator__button\">\n <button class=\"n7-btn\"\n [ngClass]=\"{\n 'is-disabled': button.disabled\n }\"\n [disabled]=\"button.disabled\"\n (click)=\"onSubmit()\">{{ button.label }}</button>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.InputTextComponent, selector: "n7-input-text", inputs: ["data", "emit"] }] }); }
|
|
7407
7407
|
}
|
|
7408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SchedaImageNavigatorComponent, decorators: [{
|
|
7409
7409
|
type: Component,
|
|
7410
7410
|
args: [{ selector: 'aw-scheda-image-navigator', template: "<div *ngIf=\"data\" class=\"aw-scheda-image-navigator\" [ngClass]=\"data.classes\">\n <div class=\"aw-scheda-image-navigator__input\">\n <n7-input-text \n [data]=\"data.input\"\n [emit]=\"this.emit\"></n7-input-text>\n </div>\n <div *ngIf=\"data.button as button\" class=\"aw-scheda-image-navigator__button\">\n <button class=\"n7-btn\"\n [ngClass]=\"{\n 'is-disabled': button.disabled\n }\"\n [disabled]=\"button.disabled\"\n (click)=\"onSubmit()\">{{ button.label }}</button>\n </div>\n</div>" }]
|
|
7411
7411
|
}], propDecorators: { data: [{
|
|
@@ -7415,10 +7415,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImpo
|
|
|
7415
7415
|
}] } });
|
|
7416
7416
|
|
|
7417
7417
|
class SchedaSearchComponent {
|
|
7418
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7419
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
7418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SchedaSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7419
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SchedaSearchComponent, selector: "aw-scheda-search", inputs: { data: "data", emit: "emit" }, ngImport: i0, template: "<div *ngIf=\"data\" class=\"aw-scheda-search\">\n <div class=\"aw-scheda__section-title-wrapper\">\n <div *ngIf=\"data.header as header\" class=\"aw-scheda__inner-title aw-scheda-search__header\">\n <n7-inner-title [data]=\"header\"></n7-inner-title>\n </div>\n </div>\n <div *ngIf=\"data.input as input\" class=\"aw-scheda__input aw-scheda-search__input\">\n <n7-input-text [data]=\"input\" [emit]=\"this.emit\"></n7-input-text>\n </div>\n <div>\n <ng-container *ngIf=\"data.loading\">\n <div class=\"aw-scheda-search__loader\">\n <n7-loader></n7-loader>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!data.loading && data.items\">\n <ng-container *ngIf=\"!data.items?.length && data.fallback\">\n <div class=\"aw-scheda-search__content\">\n <p>{{ data.fallback }}</p>\n </div>\n </ng-container>\n <ng-container *ngIf=\"data.items?.length\">\n <div *ngIf=\"data.items as items\" class=\"aw-scheda-search__content\">\n <div *ngFor=\"let item of data.items\" class=\"aw-scheda-search__item\">\n <n7-anchor-wrapper [classes]=\"'aw-scheda-search__item-link'\" [data]=\"item.anchor\">\n <div class=\"aw-scheda-search__item-top\">\n <n7-smart-breadcrumbs [data]=\"item.breadcrumbs\">\n </n7-smart-breadcrumbs>\n </div>\n <div class=\"aw-scheda-search__item-bottom\">\n <div *ngIf=\"item.icon\" class=\"aw-scheda-search__item-icon\">\n <span class=\"{{ item.icon }}\"></span>\n </div>\n <div *ngIf=\"item.thumbnail\" class=\"aw-scheda-search__item-image\">\n <img src=\"{{ item.thumbnail }}\" alt=\"{{ item.label }}\">\n </div>\n <div *ngIf=\"item.label\" class=\"aw-scheda-search__item-label\">{{ item.label }}</div>\n </div>\n </n7-anchor-wrapper>\n </div>\n </div>\n <div *ngIf=\"data.pagination as pagination\" class=\"aw-scheda-search__footer\">\n <div *ngIf=\"data.pagination as pagination\" class=\"aw-scheda-search__pagination\">\n <n7-pagination \n [data]=\"pagination\"\n [emit]=\"this.emit\"></n7-pagination>\n </div>\n <div *ngIf=\"data.limitSelect as limitSelect\" class=\"aw-scheda-search__limit-select\">\n <n7-input-select \n [data]=\"limitSelect\"\n [emit]=\"this.emit\"></n7-input-select>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }, { kind: "component", type: i4.InnerTitleComponent, selector: "n7-inner-title", inputs: ["data", "emit"] }, { kind: "component", type: i4.InputSelectComponent, selector: "n7-input-select", inputs: ["data", "emit"] }, { kind: "component", type: i4.InputTextComponent, selector: "n7-input-text", inputs: ["data", "emit"] }, { kind: "component", type: i4.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { kind: "component", type: i4.PaginationComponent, selector: "n7-pagination", inputs: ["data", "emit"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }] }); }
|
|
7420
7420
|
}
|
|
7421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SchedaSearchComponent, decorators: [{
|
|
7422
7422
|
type: Component,
|
|
7423
7423
|
args: [{ selector: 'aw-scheda-search', template: "<div *ngIf=\"data\" class=\"aw-scheda-search\">\n <div class=\"aw-scheda__section-title-wrapper\">\n <div *ngIf=\"data.header as header\" class=\"aw-scheda__inner-title aw-scheda-search__header\">\n <n7-inner-title [data]=\"header\"></n7-inner-title>\n </div>\n </div>\n <div *ngIf=\"data.input as input\" class=\"aw-scheda__input aw-scheda-search__input\">\n <n7-input-text [data]=\"input\" [emit]=\"this.emit\"></n7-input-text>\n </div>\n <div>\n <ng-container *ngIf=\"data.loading\">\n <div class=\"aw-scheda-search__loader\">\n <n7-loader></n7-loader>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!data.loading && data.items\">\n <ng-container *ngIf=\"!data.items?.length && data.fallback\">\n <div class=\"aw-scheda-search__content\">\n <p>{{ data.fallback }}</p>\n </div>\n </ng-container>\n <ng-container *ngIf=\"data.items?.length\">\n <div *ngIf=\"data.items as items\" class=\"aw-scheda-search__content\">\n <div *ngFor=\"let item of data.items\" class=\"aw-scheda-search__item\">\n <n7-anchor-wrapper [classes]=\"'aw-scheda-search__item-link'\" [data]=\"item.anchor\">\n <div class=\"aw-scheda-search__item-top\">\n <n7-smart-breadcrumbs [data]=\"item.breadcrumbs\">\n </n7-smart-breadcrumbs>\n </div>\n <div class=\"aw-scheda-search__item-bottom\">\n <div *ngIf=\"item.icon\" class=\"aw-scheda-search__item-icon\">\n <span class=\"{{ item.icon }}\"></span>\n </div>\n <div *ngIf=\"item.thumbnail\" class=\"aw-scheda-search__item-image\">\n <img src=\"{{ item.thumbnail }}\" alt=\"{{ item.label }}\">\n </div>\n <div *ngIf=\"item.label\" class=\"aw-scheda-search__item-label\">{{ item.label }}</div>\n </div>\n </n7-anchor-wrapper>\n </div>\n </div>\n <div *ngIf=\"data.pagination as pagination\" class=\"aw-scheda-search__footer\">\n <div *ngIf=\"data.pagination as pagination\" class=\"aw-scheda-search__pagination\">\n <n7-pagination \n [data]=\"pagination\"\n [emit]=\"this.emit\"></n7-pagination>\n </div>\n <div *ngIf=\"data.limitSelect as limitSelect\" class=\"aw-scheda-search__limit-select\">\n <n7-input-select \n [data]=\"limitSelect\"\n [emit]=\"this.emit\"></n7-input-select>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </div>\n</div>" }]
|
|
7424
7424
|
}], propDecorators: { data: [{
|
|
@@ -7460,10 +7460,10 @@ class AwSchedaLayoutComponent extends AbstractLayout {
|
|
|
7460
7460
|
ngOnDestroy() {
|
|
7461
7461
|
this.onDestroy();
|
|
7462
7462
|
}
|
|
7463
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7464
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: AwSchedaLayoutComponent, selector: "aw-scheda-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-scheda\"\n id=\"scheda-layout\">\n <div class=\"aw-scheda__content n7-side-auto-padding sticky-parent\"\n [ngClass]=\"{ 'is-collapsed' : lb.dataSource.sidebarCollapsed }\">\n\n <ng-container *ngTemplateOutlet=\"tree\"></ng-container>\n\n <div class=\"aw-scheda__scheda-wrapper\"\n [hidden]=\"lb.dataSource.contentIsLoading\">\n\n <div class=\"aw-scheda__breadcrumbs-wrapper\">\n <n7-smart-breadcrumbs *ngIf=\"lb.dataSource.hasBreadcrumb\"\n [data]=\"lb.widgets['aw-scheda-breadcrumbs'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-breadcrumbs'].emit\">\n </n7-smart-breadcrumbs>\n </div>\n\n <div *ngIf=\"!lb.dataSource.hasBreadcrumb\"\n class=\"aw-scheda__fake-breadcrumbs\"\n (click)=\"lb.eventHandler.emitInner('togglesidebar', {})\">\n <p class=\"aw-scheda__fake-breadcrumbs-open\" \n *ngIf=\"lb.dataSource.sidebarCollapsed\">\n Consulta il patrimonio\n </p>\n </div>\n\n <div *ngIf=\"!lb.dataSource.currentId\"\n class=\"aw-scheda__intro-text\"\n [innerHTML]=\"lb.dataSource.emptyLabel\">\n </div>\n\n <div class=\"aw-scheda__title-wrapper\">\n <div *ngIf=\"lb.dataSource.titleNavigation as titleNav\" class=\"aw-scheda__prev\">\n <a class=\"n7-btn n7-btn-light\" [routerLink]=\"titleNav.prev?.href ? [titleNav.prev.href] : null\"\n [title]=\"titleNav.prev?.label || ''\"\n [ngClass]=\"{ 'is-disabled': !titleNav.prev?.href }\">\n <span class=\"n7-icon-angle-left\"></span>\n </a>\n </div>\n <div class=\"aw-scheda__title\">\n <div *ngIf=\"lb.dataSource.documentType as documentType\" class=\"aw-scheda__document-type\">\n <span *ngIf=\"documentType.icon\" class=\"aw-scheda__document-type-icon {{ documentType.icon }}\"></span>\n <span class=\"aw-scheda__document-type-label\">{{ documentType.label }}</span>\n </div>\n <n7-inner-title [data]=\"lb.widgets['aw-scheda-inner-title'].ds.out$ | async\">\n </n7-inner-title>\n </div>\n <div *ngIf=\"lb.dataSource.titleNavigation as titleNav\" class=\"aw-scheda__next\">\n <a class=\"n7-btn n7-btn-light\" [routerLink]=\"titleNav.next?.href ? [titleNav.next.href] : null\"\n [title]=\"titleNav.next?.label || ''\"\n [ngClass]=\"{ 'is-disabled': !titleNav.next?.href }\">\n <span class=\"n7-icon-angle-right\"></span>\n </a>\n </div>\n </div>\n\n <!-- Internal search -->\n <ng-container *ngTemplateOutlet=\"internalsearch\"></ng-container>\n\n <!-- Empty state -->\n <ng-container *ngIf=\"!lb.dataSource.hasContent\">\n <ng-container *ngTemplateOutlet=\"empty\"></ng-container>\n </ng-container>\n\n <!-- Content sections -->\n <ng-container *ngIf=\"lb.dataSource.hasContent\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n\n <!-- Extended tree -->\n <ng-container *ngTemplateOutlet=\"extendedtree\"></ng-container>\n\n </div>\n </div>\n</div>\n\n<ng-template #tree>\n <div class=\"aw-scheda__tree sticky-target\"\n [ngClass]=\"{ 'is-sticky': lb.dataSource.sidebarIsSticky }\">\n <n7-sidebar-header [data]=\"lb.widgets['aw-sidebar-header'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-sidebar-header'].emit\"></n7-sidebar-header>\n <div class=\"aw-scheda__tree-content-loading\"\n *ngIf=\"!(lb.widgets['aw-tree'].ds.out$ | async)\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3]\"\n [data]=\"{\n blocks: [{\n classes: 'tree-placeholder-item'\n }]\n }\"></n7-content-placeholder>\n </div>\n <div class=\"aw-scheda__tree-content\"\n (click)=\"lb.eventHandler.emitOuter('treeposition', $event)\"\n [ngStyle]=\"{\n 'max-height': lb.dataSource.treeMaxHeight,\n 'overflow': 'auto'\n }\">\n <n7-tree [data]=\"lb.widgets['aw-tree'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-tree'].emit\"\n *ngIf=\"!lb.dataSource.sidebarCollapsed\">\n </n7-tree>\n </div>\n </div>\n</ng-template>\n\n<ng-template #empty>\n <section class=\"aw-scheda__section aw-scheda__empty\"\n [innerHTML]=\"lb.dataSource.emptyStateString\">\n </section>\n</ng-template>\n\n<ng-template #content>\n <!-- Digital Object selection dropdown -->\n <section class=\"aw-scheda__digital-object-dropdown\"\n *ngIf=\"(\n lb.dataSource.hasDigitalObjects \n && lb.dataSource.digitalObjects.length > 1\n )\">\n <p class=\"aw-scheda__digital-object-dropdown-label\">\n Seleziona l'oggetto digitale da visualizzare:\n </p>\n <aw-scheda-dropdown \n [data]=\"lb.widgets['aw-scheda-dropdown'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-dropdown'].emit\">\n </aw-scheda-dropdown>\n </section>\n <!-- END // Digital Object selection dropdown -->\n\n <!-- Digital Objects: images, IIP, PDFs, external links -->\n <section *ngIf=\"lb.dataSource.currentDigitalObject as $do\" \n class=\"aw-scheda__media aw-scheda__{{ $do.type }}\">\n <ng-container [ngSwitch]=\"$do.type\">\n <!-- IMAGE VIEWER (IIP) -->\n <ng-container *ngSwitchCase=\"'images-iip'\">\n <aw-scheda-image-navigator \n [data]=\"lb.widgets['aw-scheda-image-navigator'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-image-navigator'].emit\"></aw-scheda-image-navigator>\n <n7-image-viewer \n (contextmenu)=\"lb.dataSource.hasContextMenu()\" \n [data]=\"lb.widgets['aw-scheda-image'].ds.out$ | async\">\n </n7-image-viewer>\n </ng-container>\n\n <!-- IMAGE VIEWER (IIIF) -->\n <ng-container *ngSwitchCase=\"'images-iiif'\">\n <aw-scheda-image-navigator \n [data]=\"lb.widgets['aw-scheda-image-navigator'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-image-navigator'].emit\"></aw-scheda-image-navigator>\n <n7-image-viewer \n (contextmenu)=\"lb.dataSource.hasContextMenu()\" \n [data]=\"lb.widgets['aw-scheda-image'].ds.out$ | async\">\n </n7-image-viewer>\n </ng-container>\n\n <!-- IMAGE VIEWER (Simple: jpg, png) -->\n <ng-container *ngSwitchCase=\"'images-simple'\">\n <aw-scheda-image-navigator \n [data]=\"lb.widgets['aw-scheda-image-navigator'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-image-navigator'].emit\"></aw-scheda-image-navigator>\n <n7-image-viewer \n (contextmenu)=\"lb.dataSource.hasContextMenu()\"\n [data]=\"lb.widgets['aw-scheda-image'].ds.out$ | async\">\n </n7-image-viewer>\n </ng-container>\n \n <!-- PDF -->\n <ng-container *ngSwitchCase=\"'pdf'\">\n <aw-pdf-viewer \n [data]=\"lb.widgets['aw-scheda-pdf'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-pdf'].emit\">\n </aw-pdf-viewer>\n </ng-container>\n \n <!-- EXTERNAL URL -->\n <ng-container *ngSwitchCase=\"'external'\">\n <div class=\"aw-scheda__external-url\">\n <a class=\"aw-scheda__external-url-link\" href=\"{{ $do.url }}\" target=\"_blank\">\n {{ $do.label || lb.dataSource.externalUrlText }}\n <span class=\"n7-icon-external-link\"></span>\n </a>\n </div>\n </ng-container>\n </ng-container>\n </section>\n <!-- END // Digital Objects -->\n\n <section *ngIf=\"lb.dataSource.contentParts.content\" class=\"aw-scheda__section aw-scheda__description\">\n <div *ngFor=\"let part of lb.dataSource.contentParts\">\n <div [innerHTML]=\"part.content\"></div>\n </div>\n </section>\n\n <!-- Metadata -->\n <section *ngIf=\"lb.dataSource.hasMetadata\" class=\"aw-scheda__section aw-scheda__metadata\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"lb.dataSource.onSectionCollapse('metadata')\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'metadata' }\"></ng-container>\n <div class=\"aw-scheda__inner-title\"\n *ngIf=\"lb.dataSource.metadataSectionTitle\">\n {{lb.dataSource.metadataSectionTitle}}\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['metadata']\" \n class=\"aw-scheda__section-content-wrapper\">\n <n7-metadata-viewer [data]=\"lb.widgets['aw-scheda-metadata'].ds.out$ | async\">\n </n7-metadata-viewer>\n </div>\n </section>\n <!-- END // Metadata -->\n\n <!-- Related entities -->\n <section *ngIf=\"lb.dataSource.hasRelatedEntities\"\n id=\"related-item-container\"\n class=\"aw-scheda__section aw-scheda__related\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"lb.dataSource.onSectionCollapse('related-entities')\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'related-entities' }\"></ng-container>\n <div class=\"aw-scheda__inner-title\">\n {{lb.dataSource.relatedEntitiesHeader}}\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['related-entities']\" \n class=\"aw-scheda__related-items aw-item-preview-list n7-grid-2\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-related-entities'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-related-entities'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation?.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione\n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n </section>\n <!-- END // Related entities -->\n\n <!-- Similar Objects -->\n <section *ngIf=\"lb.dataSource.hasSimilarItems\"\n id=\"related-item-container\"\n class=\"aw-scheda__section aw-scheda__related\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"lb.dataSource.onSectionCollapse('similar-items')\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'similar-items' }\"></ng-container>\n <div class=\"aw-scheda__inner-title\">\n {{lb.dataSource.similarItemsSectionTitle}}\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['similar-items']\" \n class=\"aw-scheda__related-items aw-item-preview-list n7-grid-2\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div> \n </ng-container>\n </div>\n </section>\n <!-- END // Similar Objects -->\n</ng-template>\n\n<ng-template #collapse let-id>\n <div class=\"aw-scheda__collapse\">\n <button class=\"n7-btn n7-btn-light\">\n <span class=\"n7-icon-angle-right\"\n [ngClass]=\"{\n 'n7-icon-angle-right': !!lb.dataSource.sectionCollapseState[id],\n 'n7-icon-angle-down': !lb.dataSource.sectionCollapseState[id]\n }\"></span>\n </button>\n </div>\n</ng-template>\n\n<ng-template #extendedtree>\n <!-- Extended Tree -->\n <section *ngIf=\"lb.dataSource.hasExtendedTree\" id=\"extended-tree-container\" class=\"aw-scheda__section\">\n <div class=\"aw-scheda__section-extended-tree-loader\" *ngIf=\"!(lb.widgets['aw-extended-tree'].ds.out$ | async)\">\n <n7-loader></n7-loader>\n </div>\n <aw-extended-tree\n [data]=\"lb.widgets['aw-extended-tree'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-extended-tree'].emit\"\n [lb]=\"lb\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'extended-tree' }\"></ng-container>\n </aw-extended-tree>\n </section>\n <!-- END // Extended Tree -->\n</ng-template>\n\n<ng-template #internalsearch>\n <!-- Internal search -->\n <section *ngIf=\"lb.dataSource.hasInternalSearch\" id=\"internal-search-container\" class=\"aw-scheda__section aw-scheda__section-internal-search\">\n <aw-scheda-search\n [data]=\"lb.widgets['aw-scheda-search'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-search'].emit\"></aw-scheda-search>\n </section>\n <!-- END // Internal search -->\n</ng-template>", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { kind: "component", type: i4.ImageViewerComponent, selector: "n7-image-viewer", inputs: ["data", "emit"] }, { kind: "component", type: i4.InnerTitleComponent, selector: "n7-inner-title", inputs: ["data", "emit"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i4.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { kind: "component", type: i4.MetadataViewerComponent, selector: "n7-metadata-viewer", inputs: ["data", "emit"] }, { kind: "component", type: i4.SidebarHeaderComponent, selector: "n7-sidebar-header", inputs: ["data", "emit"] }, { kind: "component", type: i4.TreeComponent, selector: "n7-tree", inputs: ["data", "emit"] }, { kind: "component", type: PdfViewerComponent, selector: "aw-pdf-viewer", inputs: ["data", "emit"] }, { kind: "component", type: SchedaDropdownComponent, selector: "aw-scheda-dropdown", inputs: ["data", "emit"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "component", type: ExtendedTreeComponent, selector: "aw-extended-tree", inputs: ["data", "emit", "lb"] }, { kind: "component", type: SchedaImageNavigatorComponent, selector: "aw-scheda-image-navigator", inputs: ["data", "emit"] }, { kind: "component", type: SchedaSearchComponent, selector: "aw-scheda-search", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
7463
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwSchedaLayoutComponent, deps: [{ token: i1$1.Router }, { token: i1$1.ActivatedRoute }, { token: i1.ConfigurationService }, { token: i1.LayoutsConfigurationService }, { token: i1.MainStateService }, { token: i3.Title }, { token: i1.CommunicationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7464
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AwSchedaLayoutComponent, selector: "aw-scheda-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-scheda\"\n id=\"scheda-layout\">\n <div class=\"aw-scheda__content n7-side-auto-padding sticky-parent\"\n [ngClass]=\"{ 'is-collapsed' : lb.dataSource.sidebarCollapsed }\">\n\n <ng-container *ngTemplateOutlet=\"tree\"></ng-container>\n\n <div class=\"aw-scheda__scheda-wrapper\"\n [hidden]=\"lb.dataSource.contentIsLoading\">\n\n <div class=\"aw-scheda__breadcrumbs-wrapper\">\n <n7-smart-breadcrumbs *ngIf=\"lb.dataSource.hasBreadcrumb\"\n [data]=\"lb.widgets['aw-scheda-breadcrumbs'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-breadcrumbs'].emit\">\n </n7-smart-breadcrumbs>\n </div>\n\n <div *ngIf=\"!lb.dataSource.hasBreadcrumb\"\n class=\"aw-scheda__fake-breadcrumbs\"\n (click)=\"lb.eventHandler.emitInner('togglesidebar', {})\">\n <p class=\"aw-scheda__fake-breadcrumbs-open\" \n *ngIf=\"lb.dataSource.sidebarCollapsed\">\n Consulta il patrimonio\n </p>\n </div>\n\n <div *ngIf=\"!lb.dataSource.currentId\"\n class=\"aw-scheda__intro-text\"\n [innerHTML]=\"lb.dataSource.emptyLabel\">\n </div>\n\n <div class=\"aw-scheda__title-wrapper\">\n <div *ngIf=\"lb.dataSource.titleNavigation as titleNav\" class=\"aw-scheda__prev\">\n <a class=\"n7-btn n7-btn-light\" [routerLink]=\"titleNav.prev?.href ? [titleNav.prev.href] : null\"\n [title]=\"titleNav.prev?.label || ''\"\n [ngClass]=\"{ 'is-disabled': !titleNav.prev?.href }\">\n <span class=\"n7-icon-angle-left\"></span>\n </a>\n </div>\n <div class=\"aw-scheda__title\">\n <div *ngIf=\"lb.dataSource.documentType as documentType\" class=\"aw-scheda__document-type\">\n <span *ngIf=\"documentType.icon\" class=\"aw-scheda__document-type-icon {{ documentType.icon }}\"></span>\n <span class=\"aw-scheda__document-type-label\">{{ documentType.label }}</span>\n </div>\n <n7-inner-title [data]=\"lb.widgets['aw-scheda-inner-title'].ds.out$ | async\">\n </n7-inner-title>\n </div>\n <div *ngIf=\"lb.dataSource.titleNavigation as titleNav\" class=\"aw-scheda__next\">\n <a class=\"n7-btn n7-btn-light\" [routerLink]=\"titleNav.next?.href ? [titleNav.next.href] : null\"\n [title]=\"titleNav.next?.label || ''\"\n [ngClass]=\"{ 'is-disabled': !titleNav.next?.href }\">\n <span class=\"n7-icon-angle-right\"></span>\n </a>\n </div>\n </div>\n\n <!-- Internal search -->\n <ng-container *ngTemplateOutlet=\"internalsearch\"></ng-container>\n\n <!-- Empty state -->\n <ng-container *ngIf=\"!lb.dataSource.hasContent\">\n <ng-container *ngTemplateOutlet=\"empty\"></ng-container>\n </ng-container>\n\n <!-- Content sections -->\n <ng-container *ngIf=\"lb.dataSource.hasContent\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n\n <!-- Extended tree -->\n <ng-container *ngTemplateOutlet=\"extendedtree\"></ng-container>\n\n </div>\n </div>\n</div>\n\n<ng-template #tree>\n <div class=\"aw-scheda__tree sticky-target\"\n [ngClass]=\"{ 'is-sticky': lb.dataSource.sidebarIsSticky }\">\n <n7-sidebar-header [data]=\"lb.widgets['aw-sidebar-header'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-sidebar-header'].emit\"></n7-sidebar-header>\n <div class=\"aw-scheda__tree-content-loading\"\n *ngIf=\"!(lb.widgets['aw-tree'].ds.out$ | async)\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3]\"\n [data]=\"{\n blocks: [{\n classes: 'tree-placeholder-item'\n }]\n }\"></n7-content-placeholder>\n </div>\n <div class=\"aw-scheda__tree-content\"\n (click)=\"lb.eventHandler.emitOuter('treeposition', $event)\"\n [ngStyle]=\"{\n 'max-height': lb.dataSource.treeMaxHeight,\n 'overflow': 'auto'\n }\">\n <n7-tree [data]=\"lb.widgets['aw-tree'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-tree'].emit\"\n *ngIf=\"!lb.dataSource.sidebarCollapsed\">\n </n7-tree>\n </div>\n </div>\n</ng-template>\n\n<ng-template #empty>\n <section class=\"aw-scheda__section aw-scheda__empty\"\n [innerHTML]=\"lb.dataSource.emptyStateString\">\n </section>\n</ng-template>\n\n<ng-template #content>\n <!-- Digital Object selection dropdown -->\n <section class=\"aw-scheda__digital-object-dropdown\"\n *ngIf=\"(\n lb.dataSource.hasDigitalObjects \n && lb.dataSource.digitalObjects.length > 1\n )\">\n <p class=\"aw-scheda__digital-object-dropdown-label\">\n Seleziona l'oggetto digitale da visualizzare:\n </p>\n <aw-scheda-dropdown \n [data]=\"lb.widgets['aw-scheda-dropdown'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-dropdown'].emit\">\n </aw-scheda-dropdown>\n </section>\n <!-- END // Digital Object selection dropdown -->\n\n <!-- Digital Objects: images, IIP, PDFs, external links -->\n <section *ngIf=\"lb.dataSource.currentDigitalObject as $do\" \n class=\"aw-scheda__media aw-scheda__{{ $do.type }}\">\n <ng-container [ngSwitch]=\"$do.type\">\n <!-- IMAGE VIEWER (IIP) -->\n <ng-container *ngSwitchCase=\"'images-iip'\">\n <aw-scheda-image-navigator \n [data]=\"lb.widgets['aw-scheda-image-navigator'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-image-navigator'].emit\"></aw-scheda-image-navigator>\n <n7-image-viewer \n (contextmenu)=\"lb.dataSource.hasContextMenu()\" \n [data]=\"lb.widgets['aw-scheda-image'].ds.out$ | async\">\n </n7-image-viewer>\n </ng-container>\n\n <!-- IMAGE VIEWER (IIIF) -->\n <ng-container *ngSwitchCase=\"'images-iiif'\">\n <aw-scheda-image-navigator \n [data]=\"lb.widgets['aw-scheda-image-navigator'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-image-navigator'].emit\"></aw-scheda-image-navigator>\n <n7-image-viewer \n (contextmenu)=\"lb.dataSource.hasContextMenu()\" \n [data]=\"lb.widgets['aw-scheda-image'].ds.out$ | async\">\n </n7-image-viewer>\n </ng-container>\n\n <!-- IMAGE VIEWER (Simple: jpg, png) -->\n <ng-container *ngSwitchCase=\"'images-simple'\">\n <aw-scheda-image-navigator \n [data]=\"lb.widgets['aw-scheda-image-navigator'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-image-navigator'].emit\"></aw-scheda-image-navigator>\n <n7-image-viewer \n (contextmenu)=\"lb.dataSource.hasContextMenu()\"\n [data]=\"lb.widgets['aw-scheda-image'].ds.out$ | async\">\n </n7-image-viewer>\n </ng-container>\n \n <!-- PDF -->\n <ng-container *ngSwitchCase=\"'pdf'\">\n <aw-pdf-viewer \n [data]=\"lb.widgets['aw-scheda-pdf'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-pdf'].emit\">\n </aw-pdf-viewer>\n </ng-container>\n \n <!-- EXTERNAL URL -->\n <ng-container *ngSwitchCase=\"'external'\">\n <div class=\"aw-scheda__external-url\">\n <a class=\"aw-scheda__external-url-link\" href=\"{{ $do.url }}\" target=\"_blank\">\n {{ $do.label || lb.dataSource.externalUrlText }}\n <span class=\"n7-icon-external-link\"></span>\n </a>\n </div>\n </ng-container>\n </ng-container>\n </section>\n <!-- END // Digital Objects -->\n\n <section *ngIf=\"lb.dataSource.contentParts.content\" class=\"aw-scheda__section aw-scheda__description\">\n <div *ngFor=\"let part of lb.dataSource.contentParts\">\n <div [innerHTML]=\"part.content\"></div>\n </div>\n </section>\n\n <!-- Metadata -->\n <section *ngIf=\"lb.dataSource.hasMetadata\" class=\"aw-scheda__section aw-scheda__metadata\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"lb.dataSource.onSectionCollapse('metadata')\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'metadata' }\"></ng-container>\n <div class=\"aw-scheda__inner-title\"\n *ngIf=\"lb.dataSource.metadataSectionTitle\">\n {{lb.dataSource.metadataSectionTitle}}\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['metadata']\" \n class=\"aw-scheda__section-content-wrapper\">\n <n7-metadata-viewer [data]=\"lb.widgets['aw-scheda-metadata'].ds.out$ | async\">\n </n7-metadata-viewer>\n </div>\n </section>\n <!-- END // Metadata -->\n\n <!-- Related entities -->\n <section *ngIf=\"lb.dataSource.hasRelatedEntities\"\n id=\"related-item-container\"\n class=\"aw-scheda__section aw-scheda__related\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"lb.dataSource.onSectionCollapse('related-entities')\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'related-entities' }\"></ng-container>\n <div class=\"aw-scheda__inner-title\">\n {{lb.dataSource.relatedEntitiesHeader}}\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['related-entities']\" \n class=\"aw-scheda__related-items aw-item-preview-list n7-grid-2\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-related-entities'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-related-entities'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation?.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione\n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n </section>\n <!-- END // Related entities -->\n\n <!-- Similar Objects -->\n <section *ngIf=\"lb.dataSource.hasSimilarItems\"\n id=\"related-item-container\"\n class=\"aw-scheda__section aw-scheda__related\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"lb.dataSource.onSectionCollapse('similar-items')\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'similar-items' }\"></ng-container>\n <div class=\"aw-scheda__inner-title\">\n {{lb.dataSource.similarItemsSectionTitle}}\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['similar-items']\" \n class=\"aw-scheda__related-items aw-item-preview-list n7-grid-2\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div> \n </ng-container>\n </div>\n </section>\n <!-- END // Similar Objects -->\n</ng-template>\n\n<ng-template #collapse let-id>\n <div class=\"aw-scheda__collapse\">\n <button class=\"n7-btn n7-btn-light\">\n <span class=\"n7-icon-angle-right\"\n [ngClass]=\"{\n 'n7-icon-angle-right': !!lb.dataSource.sectionCollapseState[id],\n 'n7-icon-angle-down': !lb.dataSource.sectionCollapseState[id]\n }\"></span>\n </button>\n </div>\n</ng-template>\n\n<ng-template #extendedtree>\n <!-- Extended Tree -->\n <section *ngIf=\"lb.dataSource.hasExtendedTree\" id=\"extended-tree-container\" class=\"aw-scheda__section\">\n <div class=\"aw-scheda__section-extended-tree-loader\" *ngIf=\"!(lb.widgets['aw-extended-tree'].ds.out$ | async)\">\n <n7-loader></n7-loader>\n </div>\n <aw-extended-tree\n [data]=\"lb.widgets['aw-extended-tree'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-extended-tree'].emit\"\n [lb]=\"lb\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'extended-tree' }\"></ng-container>\n </aw-extended-tree>\n </section>\n <!-- END // Extended Tree -->\n</ng-template>\n\n<ng-template #internalsearch>\n <!-- Internal search -->\n <section *ngIf=\"lb.dataSource.hasInternalSearch\" id=\"internal-search-container\" class=\"aw-scheda__section aw-scheda__section-internal-search\">\n <aw-scheda-search\n [data]=\"lb.widgets['aw-scheda-search'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-search'].emit\"></aw-scheda-search>\n </section>\n <!-- END // Internal search -->\n</ng-template>", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { kind: "component", type: i4.ImageViewerComponent, selector: "n7-image-viewer", inputs: ["data", "emit"] }, { kind: "component", type: i4.InnerTitleComponent, selector: "n7-inner-title", inputs: ["data", "emit"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i4.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { kind: "component", type: i4.MetadataViewerComponent, selector: "n7-metadata-viewer", inputs: ["data", "emit"] }, { kind: "component", type: i4.SidebarHeaderComponent, selector: "n7-sidebar-header", inputs: ["data", "emit"] }, { kind: "component", type: i4.TreeComponent, selector: "n7-tree", inputs: ["data", "emit"] }, { kind: "component", type: PdfViewerComponent, selector: "aw-pdf-viewer", inputs: ["data", "emit"] }, { kind: "component", type: SchedaDropdownComponent, selector: "aw-scheda-dropdown", inputs: ["data", "emit"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "component", type: ExtendedTreeComponent, selector: "aw-extended-tree", inputs: ["data", "emit", "lb"] }, { kind: "component", type: SchedaImageNavigatorComponent, selector: "aw-scheda-image-navigator", inputs: ["data", "emit"] }, { kind: "component", type: SchedaSearchComponent, selector: "aw-scheda-search", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
7465
7465
|
}
|
|
7466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwSchedaLayoutComponent, decorators: [{
|
|
7467
7467
|
type: Component,
|
|
7468
7468
|
args: [{ selector: 'aw-scheda-layout', template: "<div class=\"aw-scheda\"\n id=\"scheda-layout\">\n <div class=\"aw-scheda__content n7-side-auto-padding sticky-parent\"\n [ngClass]=\"{ 'is-collapsed' : lb.dataSource.sidebarCollapsed }\">\n\n <ng-container *ngTemplateOutlet=\"tree\"></ng-container>\n\n <div class=\"aw-scheda__scheda-wrapper\"\n [hidden]=\"lb.dataSource.contentIsLoading\">\n\n <div class=\"aw-scheda__breadcrumbs-wrapper\">\n <n7-smart-breadcrumbs *ngIf=\"lb.dataSource.hasBreadcrumb\"\n [data]=\"lb.widgets['aw-scheda-breadcrumbs'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-breadcrumbs'].emit\">\n </n7-smart-breadcrumbs>\n </div>\n\n <div *ngIf=\"!lb.dataSource.hasBreadcrumb\"\n class=\"aw-scheda__fake-breadcrumbs\"\n (click)=\"lb.eventHandler.emitInner('togglesidebar', {})\">\n <p class=\"aw-scheda__fake-breadcrumbs-open\" \n *ngIf=\"lb.dataSource.sidebarCollapsed\">\n Consulta il patrimonio\n </p>\n </div>\n\n <div *ngIf=\"!lb.dataSource.currentId\"\n class=\"aw-scheda__intro-text\"\n [innerHTML]=\"lb.dataSource.emptyLabel\">\n </div>\n\n <div class=\"aw-scheda__title-wrapper\">\n <div *ngIf=\"lb.dataSource.titleNavigation as titleNav\" class=\"aw-scheda__prev\">\n <a class=\"n7-btn n7-btn-light\" [routerLink]=\"titleNav.prev?.href ? [titleNav.prev.href] : null\"\n [title]=\"titleNav.prev?.label || ''\"\n [ngClass]=\"{ 'is-disabled': !titleNav.prev?.href }\">\n <span class=\"n7-icon-angle-left\"></span>\n </a>\n </div>\n <div class=\"aw-scheda__title\">\n <div *ngIf=\"lb.dataSource.documentType as documentType\" class=\"aw-scheda__document-type\">\n <span *ngIf=\"documentType.icon\" class=\"aw-scheda__document-type-icon {{ documentType.icon }}\"></span>\n <span class=\"aw-scheda__document-type-label\">{{ documentType.label }}</span>\n </div>\n <n7-inner-title [data]=\"lb.widgets['aw-scheda-inner-title'].ds.out$ | async\">\n </n7-inner-title>\n </div>\n <div *ngIf=\"lb.dataSource.titleNavigation as titleNav\" class=\"aw-scheda__next\">\n <a class=\"n7-btn n7-btn-light\" [routerLink]=\"titleNav.next?.href ? [titleNav.next.href] : null\"\n [title]=\"titleNav.next?.label || ''\"\n [ngClass]=\"{ 'is-disabled': !titleNav.next?.href }\">\n <span class=\"n7-icon-angle-right\"></span>\n </a>\n </div>\n </div>\n\n <!-- Internal search -->\n <ng-container *ngTemplateOutlet=\"internalsearch\"></ng-container>\n\n <!-- Empty state -->\n <ng-container *ngIf=\"!lb.dataSource.hasContent\">\n <ng-container *ngTemplateOutlet=\"empty\"></ng-container>\n </ng-container>\n\n <!-- Content sections -->\n <ng-container *ngIf=\"lb.dataSource.hasContent\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n\n <!-- Extended tree -->\n <ng-container *ngTemplateOutlet=\"extendedtree\"></ng-container>\n\n </div>\n </div>\n</div>\n\n<ng-template #tree>\n <div class=\"aw-scheda__tree sticky-target\"\n [ngClass]=\"{ 'is-sticky': lb.dataSource.sidebarIsSticky }\">\n <n7-sidebar-header [data]=\"lb.widgets['aw-sidebar-header'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-sidebar-header'].emit\"></n7-sidebar-header>\n <div class=\"aw-scheda__tree-content-loading\"\n *ngIf=\"!(lb.widgets['aw-tree'].ds.out$ | async)\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3]\"\n [data]=\"{\n blocks: [{\n classes: 'tree-placeholder-item'\n }]\n }\"></n7-content-placeholder>\n </div>\n <div class=\"aw-scheda__tree-content\"\n (click)=\"lb.eventHandler.emitOuter('treeposition', $event)\"\n [ngStyle]=\"{\n 'max-height': lb.dataSource.treeMaxHeight,\n 'overflow': 'auto'\n }\">\n <n7-tree [data]=\"lb.widgets['aw-tree'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-tree'].emit\"\n *ngIf=\"!lb.dataSource.sidebarCollapsed\">\n </n7-tree>\n </div>\n </div>\n</ng-template>\n\n<ng-template #empty>\n <section class=\"aw-scheda__section aw-scheda__empty\"\n [innerHTML]=\"lb.dataSource.emptyStateString\">\n </section>\n</ng-template>\n\n<ng-template #content>\n <!-- Digital Object selection dropdown -->\n <section class=\"aw-scheda__digital-object-dropdown\"\n *ngIf=\"(\n lb.dataSource.hasDigitalObjects \n && lb.dataSource.digitalObjects.length > 1\n )\">\n <p class=\"aw-scheda__digital-object-dropdown-label\">\n Seleziona l'oggetto digitale da visualizzare:\n </p>\n <aw-scheda-dropdown \n [data]=\"lb.widgets['aw-scheda-dropdown'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-dropdown'].emit\">\n </aw-scheda-dropdown>\n </section>\n <!-- END // Digital Object selection dropdown -->\n\n <!-- Digital Objects: images, IIP, PDFs, external links -->\n <section *ngIf=\"lb.dataSource.currentDigitalObject as $do\" \n class=\"aw-scheda__media aw-scheda__{{ $do.type }}\">\n <ng-container [ngSwitch]=\"$do.type\">\n <!-- IMAGE VIEWER (IIP) -->\n <ng-container *ngSwitchCase=\"'images-iip'\">\n <aw-scheda-image-navigator \n [data]=\"lb.widgets['aw-scheda-image-navigator'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-image-navigator'].emit\"></aw-scheda-image-navigator>\n <n7-image-viewer \n (contextmenu)=\"lb.dataSource.hasContextMenu()\" \n [data]=\"lb.widgets['aw-scheda-image'].ds.out$ | async\">\n </n7-image-viewer>\n </ng-container>\n\n <!-- IMAGE VIEWER (IIIF) -->\n <ng-container *ngSwitchCase=\"'images-iiif'\">\n <aw-scheda-image-navigator \n [data]=\"lb.widgets['aw-scheda-image-navigator'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-image-navigator'].emit\"></aw-scheda-image-navigator>\n <n7-image-viewer \n (contextmenu)=\"lb.dataSource.hasContextMenu()\" \n [data]=\"lb.widgets['aw-scheda-image'].ds.out$ | async\">\n </n7-image-viewer>\n </ng-container>\n\n <!-- IMAGE VIEWER (Simple: jpg, png) -->\n <ng-container *ngSwitchCase=\"'images-simple'\">\n <aw-scheda-image-navigator \n [data]=\"lb.widgets['aw-scheda-image-navigator'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-image-navigator'].emit\"></aw-scheda-image-navigator>\n <n7-image-viewer \n (contextmenu)=\"lb.dataSource.hasContextMenu()\"\n [data]=\"lb.widgets['aw-scheda-image'].ds.out$ | async\">\n </n7-image-viewer>\n </ng-container>\n \n <!-- PDF -->\n <ng-container *ngSwitchCase=\"'pdf'\">\n <aw-pdf-viewer \n [data]=\"lb.widgets['aw-scheda-pdf'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-pdf'].emit\">\n </aw-pdf-viewer>\n </ng-container>\n \n <!-- EXTERNAL URL -->\n <ng-container *ngSwitchCase=\"'external'\">\n <div class=\"aw-scheda__external-url\">\n <a class=\"aw-scheda__external-url-link\" href=\"{{ $do.url }}\" target=\"_blank\">\n {{ $do.label || lb.dataSource.externalUrlText }}\n <span class=\"n7-icon-external-link\"></span>\n </a>\n </div>\n </ng-container>\n </ng-container>\n </section>\n <!-- END // Digital Objects -->\n\n <section *ngIf=\"lb.dataSource.contentParts.content\" class=\"aw-scheda__section aw-scheda__description\">\n <div *ngFor=\"let part of lb.dataSource.contentParts\">\n <div [innerHTML]=\"part.content\"></div>\n </div>\n </section>\n\n <!-- Metadata -->\n <section *ngIf=\"lb.dataSource.hasMetadata\" class=\"aw-scheda__section aw-scheda__metadata\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"lb.dataSource.onSectionCollapse('metadata')\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'metadata' }\"></ng-container>\n <div class=\"aw-scheda__inner-title\"\n *ngIf=\"lb.dataSource.metadataSectionTitle\">\n {{lb.dataSource.metadataSectionTitle}}\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['metadata']\" \n class=\"aw-scheda__section-content-wrapper\">\n <n7-metadata-viewer [data]=\"lb.widgets['aw-scheda-metadata'].ds.out$ | async\">\n </n7-metadata-viewer>\n </div>\n </section>\n <!-- END // Metadata -->\n\n <!-- Related entities -->\n <section *ngIf=\"lb.dataSource.hasRelatedEntities\"\n id=\"related-item-container\"\n class=\"aw-scheda__section aw-scheda__related\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"lb.dataSource.onSectionCollapse('related-entities')\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'related-entities' }\"></ng-container>\n <div class=\"aw-scheda__inner-title\">\n {{lb.dataSource.relatedEntitiesHeader}}\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['related-entities']\" \n class=\"aw-scheda__related-items aw-item-preview-list n7-grid-2\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-related-entities'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-related-entities'].emit\">\n </n7-item-preview>\n <!-- Relation -->\n <div class=\"aw-item-preview-relation\"\n *ngIf=\"preview.relation?.value\">\n <p class=\"aw-item-preview-relation__description\">Tipo di relazione\n <!-- <span class=\"aw-item-preview-relation__key\">{{preview.relation.key}}</span>: -->\n <span class=\"aw-item-preview-relation__value\">{{preview.relation.value}}</span>\n </p>\n </div>\n </div>\n </ng-container>\n </div>\n </section>\n <!-- END // Related entities -->\n\n <!-- Similar Objects -->\n <section *ngIf=\"lb.dataSource.hasSimilarItems\"\n id=\"related-item-container\"\n class=\"aw-scheda__section aw-scheda__related\">\n <div class=\"aw-scheda__section-title-wrapper\" (click)=\"lb.dataSource.onSectionCollapse('similar-items')\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'similar-items' }\"></ng-container>\n <div class=\"aw-scheda__inner-title\">\n {{lb.dataSource.similarItemsSectionTitle}}\n </div>\n </div>\n <div [hidden]=\"!!lb.dataSource.sectionCollapseState['similar-items']\" \n class=\"aw-scheda__related-items aw-item-preview-list n7-grid-2\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div> \n </ng-container>\n </div>\n </section>\n <!-- END // Similar Objects -->\n</ng-template>\n\n<ng-template #collapse let-id>\n <div class=\"aw-scheda__collapse\">\n <button class=\"n7-btn n7-btn-light\">\n <span class=\"n7-icon-angle-right\"\n [ngClass]=\"{\n 'n7-icon-angle-right': !!lb.dataSource.sectionCollapseState[id],\n 'n7-icon-angle-down': !lb.dataSource.sectionCollapseState[id]\n }\"></span>\n </button>\n </div>\n</ng-template>\n\n<ng-template #extendedtree>\n <!-- Extended Tree -->\n <section *ngIf=\"lb.dataSource.hasExtendedTree\" id=\"extended-tree-container\" class=\"aw-scheda__section\">\n <div class=\"aw-scheda__section-extended-tree-loader\" *ngIf=\"!(lb.widgets['aw-extended-tree'].ds.out$ | async)\">\n <n7-loader></n7-loader>\n </div>\n <aw-extended-tree\n [data]=\"lb.widgets['aw-extended-tree'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-extended-tree'].emit\"\n [lb]=\"lb\">\n <ng-container *ngTemplateOutlet=\"collapse; context: { $implicit: 'extended-tree' }\"></ng-container>\n </aw-extended-tree>\n </section>\n <!-- END // Extended Tree -->\n</ng-template>\n\n<ng-template #internalsearch>\n <!-- Internal search -->\n <section *ngIf=\"lb.dataSource.hasInternalSearch\" id=\"internal-search-container\" class=\"aw-scheda__section aw-scheda__section-internal-search\">\n <aw-scheda-search\n [data]=\"lb.widgets['aw-scheda-search'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-scheda-search'].emit\"></aw-scheda-search>\n </section>\n <!-- END // Internal search -->\n</ng-template>" }]
|
|
7469
7469
|
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: i1.ConfigurationService }, { type: i1.LayoutsConfigurationService }, { type: i1.MainStateService }, { type: i3.Title }, { type: i1.CommunicationService }] });
|
|
@@ -7524,10 +7524,10 @@ class AwSearchLayoutComponent extends AbstractLayout {
|
|
|
7524
7524
|
ngOnDestroy() {
|
|
7525
7525
|
this.onDestroy();
|
|
7526
7526
|
}
|
|
7527
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7528
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
7527
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwSearchLayoutComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.LayoutsConfigurationService }, { token: i1.MainStateService }, { token: i1.CommunicationService }, { token: AwSearchService }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7528
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AwSearchLayoutComponent, selector: "aw-search-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-search n7-side-auto-padding\"\n id=\"search-layout\">\n <div class=\"aw-search__header\">\n <div class=\"aw-search__header-left\">\n <h1 class=\"aw-search__header-title\">{{ lb.dataSource.pageTitle }}</h1>\n </div>\n <!--\n <div class=\"aw-search__header-right\">\n <n7-nav\n [data]=\"lb.widgets['aw-search-layout-tabs'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-search-layout-tabs'].emit\">\n </n7-nav>\n </div>\n -->\n </div>\n <div class=\"aw-search__content-wrapper sticky-parent\">\n <!-- Left sidebar: facets -->\n <div *ngIf=\"!(lb.widgets['facets-wrapper'].ds.out$ | async)\"\n class=\"aw-search__sidebar-loading sticky-target\">\n <div class=\"aw-search__facets-loading\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'search-placeholder-facet-input'\n }, {\n classes: 'search-placeholder-facet-check'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n </div>\n <div *ngIf=\"!!(lb.widgets['facets-wrapper'].ds.out$ | async)\"\n class=\"aw-search__sidebar sticky-target\"\n [ngClass]=\"{ 'is-sticky': lb.dataSource.sidebarIsSticky }\">\n <div class=\"aw-search__facets\">\n <aw-facets-wrapper [data]=\"lb.widgets['facets-wrapper'].ds.out$ | async\"\n [emit]=\"lb.widgets['facets-wrapper'].emit\">\n </aw-facets-wrapper>\n </div>\n </div>\n <div class=\"scroll-ref\"> </div>\n <div class=\"aw-search__content\">\n <div class=\"aw-search__results-header\">\n <div class=\"aw-search__results-header-left\">\n <h3 *ngIf=\"!lb.dataSource.resultsLoading\"\n class=\"aw-search__total\">\n <span class=\"aw-search__total-number\">{{ lb.dataSource.totalCount }}</span> \n <span class=\"aw-search__total-title\">{{ lb.dataSource.resultsTitle }}</span>\n </h3>\n </div>\n <div class=\"aw-search__results-header-right\">\n <label class=\"aw-search__results-select-orderby-label\"\n for=\"aw-search__results-select-orderby\">{{ lb.dataSource.orderByLabel }}</label>\n <select (change)=\"lb.eventHandler.emitInner('orderbychange', $event.target.value)\"\n id=\"aw-search__results-select-orderby\">\n <option *ngFor=\"let option of lb.dataSource.orderByOptions\"\n [value]=\"option.value\"\n [selected]=\"option.selected\"\n [hidden]=\"option.type === 'score' && lb.dataSource.isSearchingText.value === false\">\n {{ option.label }}</option>\n </select>\n </div>\n </div>\n <!-- Search details -->\n <div *ngIf=\"lb.dataSource.resultsLoading\"\n class=\"aw-search__results-wrapper-loading\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3,4,5,6,7,8,9]\"\n [data]=\"{\n blocks: [\n { classes: 'search-result-placeholder-title' },\n { classes: 'search-result-placeholder-metadata' },\n { classes: 'search-result-placeholder-metadata' },\n { classes: 'search-result-placeholder-metadata' }\n ]\n }\"></n7-content-placeholder>\n </div>\n <div *ngIf=\"!lb.dataSource.resultsLoading\"\n class=\"aw-search__results-wrapper\">\n <div class=\"aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"lb.dataSource.totalCount == 0\">\n <div class=\"aw-search__fallback\">\n <p class=\"aw-search__fallback-string\">\n {{ lb.dataSource.fallback }}\n </p>\n <button [disabled]=\"!lb.dataSource.resetButtonEnabled\"\n class=\"n7-btn aw-search__fallback-button\"\n (click)=\"lb.eventHandler.emitInner('searchreset', {})\">\n Resetta la ricerca\n </button>\n </div>\n </ng-container>\n <n7-smart-pagination *ngIf=\"lb.dataSource.totalCount > 10\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i1.SmartPaginationComponent, selector: "n7-smart-pagination", inputs: ["data", "emit"] }, { kind: "component", type: AwFacetsWrapperComponent, selector: "aw-facets-wrapper", inputs: ["data", "emit"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
7529
7529
|
}
|
|
7530
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwSearchLayoutComponent, decorators: [{
|
|
7531
7531
|
type: Component,
|
|
7532
7532
|
args: [{ selector: 'aw-search-layout', template: "<div class=\"aw-search n7-side-auto-padding\"\n id=\"search-layout\">\n <div class=\"aw-search__header\">\n <div class=\"aw-search__header-left\">\n <h1 class=\"aw-search__header-title\">{{ lb.dataSource.pageTitle }}</h1>\n </div>\n <!--\n <div class=\"aw-search__header-right\">\n <n7-nav\n [data]=\"lb.widgets['aw-search-layout-tabs'].ds.out$ | async\"\n [emit]=\"lb.widgets['aw-search-layout-tabs'].emit\">\n </n7-nav>\n </div>\n -->\n </div>\n <div class=\"aw-search__content-wrapper sticky-parent\">\n <!-- Left sidebar: facets -->\n <div *ngIf=\"!(lb.widgets['facets-wrapper'].ds.out$ | async)\"\n class=\"aw-search__sidebar-loading sticky-target\">\n <div class=\"aw-search__facets-loading\">\n <n7-content-placeholder [data]=\"{\n blocks: [{\n classes: 'search-placeholder-facet-input'\n }, {\n classes: 'search-placeholder-facet-check'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }, {\n classes: 'search-placeholder-facet-item'\n }]\n }\">\n </n7-content-placeholder>\n </div>\n </div>\n <div *ngIf=\"!!(lb.widgets['facets-wrapper'].ds.out$ | async)\"\n class=\"aw-search__sidebar sticky-target\"\n [ngClass]=\"{ 'is-sticky': lb.dataSource.sidebarIsSticky }\">\n <div class=\"aw-search__facets\">\n <aw-facets-wrapper [data]=\"lb.widgets['facets-wrapper'].ds.out$ | async\"\n [emit]=\"lb.widgets['facets-wrapper'].emit\">\n </aw-facets-wrapper>\n </div>\n </div>\n <div class=\"scroll-ref\"> </div>\n <div class=\"aw-search__content\">\n <div class=\"aw-search__results-header\">\n <div class=\"aw-search__results-header-left\">\n <h3 *ngIf=\"!lb.dataSource.resultsLoading\"\n class=\"aw-search__total\">\n <span class=\"aw-search__total-number\">{{ lb.dataSource.totalCount }}</span> \n <span class=\"aw-search__total-title\">{{ lb.dataSource.resultsTitle }}</span>\n </h3>\n </div>\n <div class=\"aw-search__results-header-right\">\n <label class=\"aw-search__results-select-orderby-label\"\n for=\"aw-search__results-select-orderby\">{{ lb.dataSource.orderByLabel }}</label>\n <select (change)=\"lb.eventHandler.emitInner('orderbychange', $event.target.value)\"\n id=\"aw-search__results-select-orderby\">\n <option *ngFor=\"let option of lb.dataSource.orderByOptions\"\n [value]=\"option.value\"\n [selected]=\"option.selected\"\n [hidden]=\"option.type === 'score' && lb.dataSource.isSearchingText.value === false\">\n {{ option.label }}</option>\n </select>\n </div>\n </div>\n <!-- Search details -->\n <div *ngIf=\"lb.dataSource.resultsLoading\"\n class=\"aw-search__results-wrapper-loading\">\n <n7-content-placeholder *ngFor=\"let n of [0,1,2,3,4,5,6,7,8,9]\"\n [data]=\"{\n blocks: [\n { classes: 'search-result-placeholder-title' },\n { classes: 'search-result-placeholder-metadata' },\n { classes: 'search-result-placeholder-metadata' },\n { classes: 'search-result-placeholder-metadata' }\n ]\n }\"></n7-content-placeholder>\n </div>\n <div *ngIf=\"!lb.dataSource.resultsLoading\"\n class=\"aw-search__results-wrapper\">\n <div class=\"aw-item-preview-list\">\n <ng-container *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <div class=\"aw-item-preview-wrapper\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\n </ng-container>\n </div>\n <ng-container *ngIf=\"lb.dataSource.totalCount == 0\">\n <div class=\"aw-search__fallback\">\n <p class=\"aw-search__fallback-string\">\n {{ lb.dataSource.fallback }}\n </p>\n <button [disabled]=\"!lb.dataSource.resetButtonEnabled\"\n class=\"n7-btn aw-search__fallback-button\"\n (click)=\"lb.eventHandler.emitInner('searchreset', {})\">\n Resetta la ricerca\n </button>\n </div>\n </ng-container>\n <n7-smart-pagination *ngIf=\"lb.dataSource.totalCount > 10\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
7533
7533
|
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i1.LayoutsConfigurationService }, { type: i1.MainStateService }, { type: i1.CommunicationService }, { type: AwSearchService }, { type: i1$1.ActivatedRoute }] });
|
|
@@ -7759,10 +7759,10 @@ class AwTimelineLayoutComponent extends AbstractLayout {
|
|
|
7759
7759
|
ngOnDestroy() {
|
|
7760
7760
|
this.onDestroy();
|
|
7761
7761
|
}
|
|
7762
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7763
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
7762
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwTimelineLayoutComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.LayoutsConfigurationService }, { token: i1.CommunicationService }, { token: i1.MainStateService }, { token: i3.Title }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7763
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AwTimelineLayoutComponent, selector: "aw-timeline-layout", usesInheritance: true, ngImport: i0, template: "<div class=\"aw-multimedia\" id=\"timeline-layout\" *ngIf=\"lb.dataSource\">\n <n7-inner-title [data]=\"{\n title: {\n main: {\n text: 'Gli eventi dell\\'archivio'\n }\n }\n }\">\n </n7-inner-title>\n \n <!-- Timeline -->\n <div class=\"aw-multimedia__timeline\">\n <n7-timeline [data]=\"lb.widgets['aw-timeline'].ds.out$ | async\"></n7-timeline>\n \n <div id=\"timelinecontrols\" class=\"aw-multimedia__timeline-controls\" *ngIf=\"lb.widgets['aw-timeline'].ds.timelineControlsVisible\">\n <button class=\"n7-btn aw-multimedia__timeline-control\" (click)=\"lb.eventHandler.emitOuter('zoomin', {})\">\n <span class=\"n7-icon-search-plus\"></span>\n </button>\n\n <button class=\"n7-btn aw-multimedia__timeline-control\" (click)=\"lb.eventHandler.emitOuter('zoomout', {})\">\n <span class=\"n7-icon-search-minus\"></span>\n </button>\n </div>\n\n </div>\n <!-- END // Timeline -->\n \n <!-- RESULTS -->\n <div class=\"aw-multimedia__results\">\n\n <div class=\"aw-multimedia__loader\" *ngIf=\"(lb.dataSource.state$ | async) === 'LOADING'\">\n <ng-container>\n <n7-loader></n7-loader>\n </ng-container>\n </div>\n\n <div class=\"aw-multimedia__empty\" *ngIf=\"(lb.dataSource.state$ | async) === 'EMPTY'\">\n <ng-container>\n <p class=\"aw-multimedia__empty-text\">Clicca su un evento della timeline per vedere tutti gli oggetti culturali collegati.</p>\n </ng-container>\n </div>\n \n <ng-container *ngIf=\"(lb.dataSource.state$ | async) === 'SUCCESS'\">\n <div class=\"aw-multimedia__results-title\">\n <n7-inner-title [data]=\"lb.widgets['aw-scheda-inner-title'].ds.out$ | async\">\n </n7-inner-title>\n </div>\n <div class=\"aw-multimedia__results-wrapper\">\n <div>\n <div class=\"aw-item-preview-wrapper\" *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\" [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.total > 0\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n </ng-container>\n </div>\n</div>", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.InnerTitleComponent, selector: "n7-inner-title", inputs: ["data", "emit"] }, { kind: "component", type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { kind: "component", type: i4.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { kind: "component", type: i4.TimelineComponent, selector: "n7-timeline", inputs: ["data", "emit"] }, { kind: "component", type: i1.SmartPaginationComponent, selector: "n7-smart-pagination", inputs: ["data", "emit"] }, { kind: "component", type: SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }] }); }
|
|
7764
7764
|
}
|
|
7765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
7765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AwTimelineLayoutComponent, decorators: [{
|
|
7766
7766
|
type: Component,
|
|
7767
7767
|
args: [{ selector: 'aw-timeline-layout', template: "<div class=\"aw-multimedia\" id=\"timeline-layout\" *ngIf=\"lb.dataSource\">\n <n7-inner-title [data]=\"{\n title: {\n main: {\n text: 'Gli eventi dell\\'archivio'\n }\n }\n }\">\n </n7-inner-title>\n \n <!-- Timeline -->\n <div class=\"aw-multimedia__timeline\">\n <n7-timeline [data]=\"lb.widgets['aw-timeline'].ds.out$ | async\"></n7-timeline>\n \n <div id=\"timelinecontrols\" class=\"aw-multimedia__timeline-controls\" *ngIf=\"lb.widgets['aw-timeline'].ds.timelineControlsVisible\">\n <button class=\"n7-btn aw-multimedia__timeline-control\" (click)=\"lb.eventHandler.emitOuter('zoomin', {})\">\n <span class=\"n7-icon-search-plus\"></span>\n </button>\n\n <button class=\"n7-btn aw-multimedia__timeline-control\" (click)=\"lb.eventHandler.emitOuter('zoomout', {})\">\n <span class=\"n7-icon-search-minus\"></span>\n </button>\n </div>\n\n </div>\n <!-- END // Timeline -->\n \n <!-- RESULTS -->\n <div class=\"aw-multimedia__results\">\n\n <div class=\"aw-multimedia__loader\" *ngIf=\"(lb.dataSource.state$ | async) === 'LOADING'\">\n <ng-container>\n <n7-loader></n7-loader>\n </ng-container>\n </div>\n\n <div class=\"aw-multimedia__empty\" *ngIf=\"(lb.dataSource.state$ | async) === 'EMPTY'\">\n <ng-container>\n <p class=\"aw-multimedia__empty-text\">Clicca su un evento della timeline per vedere tutti gli oggetti culturali collegati.</p>\n </ng-container>\n </div>\n \n <ng-container *ngIf=\"(lb.dataSource.state$ | async) === 'SUCCESS'\">\n <div class=\"aw-multimedia__results-title\">\n <n7-inner-title [data]=\"lb.widgets['aw-scheda-inner-title'].ds.out$ | async\">\n </n7-inner-title>\n </div>\n <div class=\"aw-multimedia__results-wrapper\">\n <div>\n <div class=\"aw-item-preview-wrapper\" *ngFor=\"let preview of (lb.widgets['aw-linked-objects'].ds.out$ | async)?.previews\">\n <n7-smart-breadcrumbs [data]=\"preview.breadcrumbs\">\n </n7-smart-breadcrumbs>\n <n7-item-preview [data]=\"preview\" [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\n </div>\n <n7-smart-pagination *ngIf=\"lb.dataSource.total > 0\"\n [data]=\"lb.widgets['n7-smart-pagination'].ds.out$ | async\"\n [emit]=\"lb.widgets['n7-smart-pagination'].emit\">\n </n7-smart-pagination>\n </div>\n </ng-container>\n </div>\n</div>" }]
|
|
7768
7768
|
}], ctorParameters: () => [{ type: i1.ConfigurationService }, { type: i1.LayoutsConfigurationService }, { type: i1.CommunicationService }, { type: i1.MainStateService }, { type: i3.Title }] });
|
|
@@ -8537,8 +8537,8 @@ class N7BoilerplateAriannaModule {
|
|
|
8537
8537
|
config.set('communication', communication);
|
|
8538
8538
|
});
|
|
8539
8539
|
}
|
|
8540
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
8541
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
8540
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: N7BoilerplateAriannaModule, deps: [{ token: i0.ApplicationInitStatus }, { token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8541
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: N7BoilerplateAriannaModule, declarations: [AwCollectionLayoutComponent,
|
|
8542
8542
|
AwEntitaLayoutComponent,
|
|
8543
8543
|
AwFacetsWrapperComponent,
|
|
8544
8544
|
AwGalleryLayoutComponent,
|
|
@@ -8577,13 +8577,13 @@ class N7BoilerplateAriannaModule {
|
|
|
8577
8577
|
SchedaImageNavigatorComponent,
|
|
8578
8578
|
SchedaSearchComponent,
|
|
8579
8579
|
GalleryBreadcrumbsTooltipComponent] }); }
|
|
8580
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
8580
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: N7BoilerplateAriannaModule, imports: [CommonModule,
|
|
8581
8581
|
RouterModule,
|
|
8582
8582
|
DvComponentsLibModule,
|
|
8583
8583
|
N7BoilerplateCommonModule,
|
|
8584
8584
|
NgxExtendedPdfViewerModule] }); }
|
|
8585
8585
|
}
|
|
8586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
8586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: N7BoilerplateAriannaModule, decorators: [{
|
|
8587
8587
|
type: NgModule,
|
|
8588
8588
|
args: [{
|
|
8589
8589
|
declarations: COMPONENTS,
|