@net7/boilerplate-arianna 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/components/aw-facets-wrapper/aw-facets-wrapper.mjs +3 -3
- package/esm2020/lib/components/bubble-chart-wrapper/bubble-chart-wrapper.mjs +3 -3
- package/esm2020/lib/components/chart-tippy/chart-tippy.mjs +3 -3
- package/esm2020/lib/components/pdf-viewer/pdf-viewer.mjs +3 -3
- package/esm2020/lib/components/scheda-dropdown/scheda-dropdown.mjs +3 -3
- package/esm2020/lib/components/smart-breadcrumbs/smart-breadcrumbs.mjs +3 -3
- package/esm2020/lib/data-sources/timeline.ds.mjs +7 -7
- package/esm2020/lib/layouts/collection-layout/collection-layout.mjs +3 -3
- package/esm2020/lib/layouts/entita-layout/entita-layout.mjs +3 -3
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.mjs +3 -3
- package/esm2020/lib/layouts/home-layout/home-layout.mjs +3 -3
- package/esm2020/lib/layouts/map-layout/map-layout.mjs +3 -3
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.mjs +3 -3
- package/esm2020/lib/layouts/search-layout/search-layout.mjs +3 -3
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.mjs +3 -3
- package/esm2020/lib/n7-boilerplate-arianna.module.mjs +4 -4
- package/esm2020/lib/search/aw-search.service.mjs +3 -3
- package/fesm2015/net7-boilerplate-arianna.mjs +55 -55
- package/fesm2015/net7-boilerplate-arianna.mjs.map +1 -1
- package/fesm2020/net7-boilerplate-arianna.mjs +55 -55
- package/fesm2020/net7-boilerplate-arianna.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -16,9 +16,9 @@ export class AwFacetsWrapperComponent {
|
|
|
16
16
|
this.emit('facet', { eventType, eventPayload });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
AwFacetsWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
20
|
-
AwFacetsWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
19
|
+
AwFacetsWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AwFacetsWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
AwFacetsWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", 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>", components: [{ type: i1.FacetHeaderComponent, selector: "n7-facet-header", inputs: ["data", "emit"] }, { type: i1.FacetComponent, selector: "n7-facet", inputs: ["data", "emit"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AwFacetsWrapperComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
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>" }]
|
|
24
24
|
}], propDecorators: { data: [{
|
|
@@ -8,9 +8,9 @@ export class BubbleChartWrapperComponent {
|
|
|
8
8
|
this.emit(type, payload);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
BubbleChartWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
12
|
-
BubbleChartWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
11
|
+
BubbleChartWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: BubbleChartWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12
|
+
BubbleChartWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", 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>" });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: BubbleChartWrapperComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{ selector: 'aw-bubble-chart-wrapper', template: "<div class=\"aw-bubble-chart-wrapper\">\n <ng-content></ng-content>\n</div>" }]
|
|
16
16
|
}], propDecorators: { emit: [{
|
|
@@ -10,9 +10,9 @@ export class ChartTippyComponent {
|
|
|
10
10
|
this.emit(type, payload);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
ChartTippyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
14
|
-
ChartTippyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
13
|
+
ChartTippyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ChartTippyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
ChartTippyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", 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>", components: [{ type: i1.AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ChartTippyComponent, decorators: [{
|
|
16
16
|
type: Component,
|
|
17
17
|
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>" }]
|
|
18
18
|
}], propDecorators: { data: [{
|
|
@@ -18,9 +18,9 @@ export class PdfViewerComponent {
|
|
|
18
18
|
this.emit('loaded');
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
PdfViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
22
|
-
PdfViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
21
|
+
PdfViewerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PdfViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
PdfViewerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", 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 [useBrowserLocale]=\"true\"\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 [showBookmarkButton]=\"data.libOptions.showBookmarkButton\"\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>", components: [{ type: i1.LoaderComponent, selector: "n7-loader", inputs: ["data"] }, { type: i2.NgxExtendedPdfViewerComponent, selector: "ngx-extended-pdf-viewer", inputs: ["customFindbarInputArea", "customToolbar", "customFindbar", "customFindbarButtons", "customSecondaryToolbar", "customSidebar", "customThumbnail", "customFreeFloatingBar", "showFreeFloatingBar", "enableDragAndDrop", "formData", "pageViewMode", "scrollMode", "authorization", "httpHeaders", "contextMenuAllowed", "enablePrint", "delayFirstView", "logLevel", "enablePinchOnMobile", "minifiedJSLibraries", "printResolution", "rotation", "src", "base64Src", "height", "useBrowserLocale", "forceUsingLegacyES5", "backgroundColor", "pdfBackground", "pdfBackgroundColorToReplace", "filenameForDownload", "ignoreKeyboard", "ignoreKeys", "acceptKeys", "imageResourcesPath", "localeFolderPath", "language", "listenToURL", "nameddest", "password", "showUnverifiedSignatures", "startTabindex", "showSidebarButton", "sidebarVisible", "showFindButton", "showFindHighlightAll", "showFindMatchCase", "showFindCurrentPageOnly", "showFindPageRange", "showFindEntireWord", "showFindEntirePhrase", "showFindIgnoreAccents", "showFindFuzzySearch", "showFindResultsCount", "showFindMessages", "showPagingButtons", "showZoomButtons", "showPresentationModeButton", "showOpenFileButton", "showPrintButton", "showDownloadButton", "showBookmarkButton", "theme", "showToolbar", "showSecondaryToolbarButton", "showRotateButton", "handTool", "showHandToolButton", "showScrollingButton", "showSpreadButton", "showPropertiesButton", "showBorders", "spread", "page", "pageLabel", "textLayer", "zoom", "zoomLevels", "maxZoom", "minZoom", "_mobileFriendlyZoom", "wheelAction", "mobileFriendlyZoom"], outputs: ["formDataChange", "progress", "srcChange", "scrollModeChange", "afterPrint", "beforePrint", "currentZoomFactor", "rotationChange", "sidebarVisibleChange", "handToolChange", "spreadChange", "thumbnailDrawn", "pageChange", "pageLabelChange", "pagesLoaded", "pageRender", "pageRendered", "pdfDownloaded", "pdfLoaded", "pdfLoadingStarts", "pdfLoadingFailed", "textLayerRendered", "updateFindMatchesCount", "updateFindState", "zoomChange"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: PdfViewerComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
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 [useBrowserLocale]=\"true\"\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 [showBookmarkButton]=\"data.libOptions.showBookmarkButton\"\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>" }]
|
|
26
26
|
}], propDecorators: { data: [{
|
|
@@ -13,9 +13,9 @@ export class SchedaDropdownComponent {
|
|
|
13
13
|
this.emit('click', payload);
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
SchedaDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
17
|
-
SchedaDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
16
|
+
SchedaDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SchedaDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
SchedaDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", 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>", directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SchedaDropdownComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
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>" }]
|
|
21
21
|
}], propDecorators: { data: [{
|
|
@@ -63,9 +63,9 @@ export class SmartBreadcrumbsComponent {
|
|
|
63
63
|
this.emit('click', payload);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
SmartBreadcrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
67
|
-
SmartBreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
66
|
+
SmartBreadcrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SmartBreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
67
|
+
SmartBreadcrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", 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", components: [{ type: i1.AnchorWrapperComponent, selector: "n7-anchor-wrapper", inputs: ["data", "classes"], outputs: ["clicked"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SmartBreadcrumbsComponent, decorators: [{
|
|
69
69
|
type: Component,
|
|
70
70
|
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" }]
|
|
71
71
|
}], propDecorators: { data: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataSource } from '@net7/core';
|
|
2
|
-
import * as
|
|
2
|
+
import dayjs from 'dayjs'; // in arianna pkg "import * as dayjs" does not work
|
|
3
3
|
import { max as _max, min as _min } from 'lodash';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
const ONE_YEAR = 31557600000;
|
|
@@ -14,9 +14,9 @@ export class AwTimelineDS extends DataSource {
|
|
|
14
14
|
this.dataSet = data.map(({ id, start, end, item, label }) => ({
|
|
15
15
|
id,
|
|
16
16
|
item,
|
|
17
|
-
start: start ?
|
|
17
|
+
start: start ? dayjs(start).format('YYYY-MM-DD') : null,
|
|
18
18
|
end: (end && end !== start && !disableEndDates)
|
|
19
|
-
?
|
|
19
|
+
? dayjs(end).format('YYYY-MM-DD') // show end date
|
|
20
20
|
: null,
|
|
21
21
|
content: this.getItemTemplate(label, item.label),
|
|
22
22
|
_meta: {
|
|
@@ -59,9 +59,9 @@ export class AwTimelineDS extends DataSource {
|
|
|
59
59
|
this.timeline = timeline;
|
|
60
60
|
this.timelineLoaded$.next();
|
|
61
61
|
// fix cluster visualization
|
|
62
|
-
setTimeout(() => {
|
|
63
|
-
|
|
64
|
-
});
|
|
62
|
+
// setTimeout(() => {
|
|
63
|
+
// this.timeline.fit();
|
|
64
|
+
// });
|
|
65
65
|
// timeout for zoom controls
|
|
66
66
|
setTimeout(() => {
|
|
67
67
|
this.timelineControlsVisible = true;
|
|
@@ -103,4 +103,4 @@ export class AwTimelineDS extends DataSource {
|
|
|
103
103
|
];
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZWxpbmUuZHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uNy1ib2lsZXJwbGF0ZS1hcmlhbm5hL3NyYy9saWIvZGF0YS1zb3VyY2VzL3RpbWVsaW5lLmRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxZQ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l2PlxuICAgIGApO1xuICB9XG5cbiAgZ2V0TWF4KCkge1xuICAgIGNvbnN0IG1heERhdGUgPSBuZXcgRGF0ZShfbWF4KHRoaXMuZ2V0QWxsRGF0ZXMoKSkpO1xuXG4gICAgY29uc3QgeWVhciA9IG1heERhdGUuZ2V0RnVsbFllYXIoKTtcbiAgICBjb25zdCBtb250aCA9IG1heERhdGUuZ2V0TW9udGgoKTtcbiAgICBjb25zdCBkYXkgPSBtYXhEYXRlLmdldERhdGUoKTtcbiAgICByZXR1cm4gbmV3IERhdGUoeWVhciArIFlFQVJTX01BUkdJTiwgbW9udGgsIGRheSk7XG4gIH1cblxuICBnZXRNaW4oKSB7XG4gICAgY29uc3QgbWluRGF0ZSA9IG5ldyBEYXRlKF9taW4odGhpcy5nZXRBbGxEYXRlcygpKSk7XG5cbiAgICBjb25zdCB5ZWFyID0gbWluRGF0ZS5nZXRGdWxsWWVhcigpO1xuICAgIGNvbnN0IG1vbnRoID0gbWluRGF0ZS5nZXRNb250aCgpO1xuICAgIGNvbnN0IGRheSA9IG1pbkRhdGUuZ2V0RGF0ZSgpO1xuICAgIHJldHVybiBuZXcgRGF0ZSh5ZWFyIC0gWUVBUlNfTUFSR0lOLCBtb250aCwgZGF5KTtcbiAgfVxuXG4gIGdldEFsbERhdGVzKCkge1xuICAgIHJldHVybiBbXG4gICAgICAuLi50aGlzLmRhdGFTZXRcbiAgICAgICAgLmZpbHRlcigoeyBzdGFydCB9KSA9PiBzdGFydClcbiAgICAgICAgLm1hcCgoeyBzdGFydCB9KSA9PiBzdGFydCksXG4gICAgICAuLi50aGlzLmRhdGFTZXRcbiAgICAgICAgLmZpbHRlcigoeyBlbmQgfSkgPT4gZW5kKVxuICAgICAgICAubWFwKCh7IGVuZCB9KSA9PiBlbmQpXG4gICAgXTtcbiAgfVxufVxuIl19
|
|
@@ -29,9 +29,9 @@ export class AwCollectionLayoutComponent extends AbstractLayout {
|
|
|
29
29
|
this.onDestroy();
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
AwCollectionLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
33
|
-
AwCollectionLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
32
|
+
AwCollectionLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AwCollectionLayoutComponent, deps: [{ token: i1.CommunicationService }, { token: i1.LayoutsConfigurationService }, { token: i1.ConfigurationService }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
AwCollectionLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", 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", components: [{ type: i3.InnerTitleComponent, selector: "n7-inner-title", inputs: ["data", "emit"] }, { type: i3.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { type: i3.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i4.AsyncPipe } });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AwCollectionLayoutComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
36
|
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" }]
|
|
37
37
|
}], ctorParameters: function () { return [{ type: i1.CommunicationService }, { type: i1.LayoutsConfigurationService }, { type: i1.ConfigurationService }, { type: i2.ActivatedRoute }]; } });
|
|
@@ -42,9 +42,9 @@ export class AwEntitaLayoutComponent extends AbstractLayout {
|
|
|
42
42
|
this.onDestroy();
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
AwEntitaLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
46
|
-
AwEntitaLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.3", 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", components: [{ type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { type: i4.NavComponent, selector: "n7-nav", inputs: ["data", "emit"] }, { type: i4.MetadataViewerComponent, selector: "n7-metadata-viewer", inputs: ["data", "emit"] }, { type: i5.SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { type: i2.SmartPaginationComponent, selector: "n7-smart-pagination", inputs: ["data", "emit"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }], pipes: { "async": i6.AsyncPipe } });
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
45
|
+
AwEntitaLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AwEntitaLayoutComponent, deps: [{ token: i1.Router }, { token: i1.ActivatedRoute }, { token: i2.ConfigurationService }, { token: i2.LayoutsConfigurationService }, { token: i2.CommunicationService }, { token: i2.MainStateService }, { token: i3.Title }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
+
AwEntitaLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", 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", components: [{ type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { type: i4.NavComponent, selector: "n7-nav", inputs: ["data", "emit"] }, { type: i4.MetadataViewerComponent, selector: "n7-metadata-viewer", inputs: ["data", "emit"] }, { type: i5.SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { type: i2.SmartPaginationComponent, selector: "n7-smart-pagination", inputs: ["data", "emit"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo", "routerLink"] }], pipes: { "async": i6.AsyncPipe } });
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AwEntitaLayoutComponent, decorators: [{
|
|
48
48
|
type: Component,
|
|
49
49
|
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" }]
|
|
50
50
|
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i1.ActivatedRoute }, { type: i2.ConfigurationService }, { type: i2.LayoutsConfigurationService }, { type: i2.CommunicationService }, { type: i2.MainStateService }, { type: i3.Title }]; } });
|
|
@@ -36,9 +36,9 @@ export class AwGalleryLayoutComponent extends AbstractLayout {
|
|
|
36
36
|
this.onDestroy();
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
AwGalleryLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
40
|
-
AwGalleryLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
39
|
+
AwGalleryLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AwGalleryLayoutComponent, deps: [{ token: i1.ConfigurationService }, { token: i1.LayoutsConfigurationService }, { token: i1.MainStateService }, { token: i1.CommunicationService }, { token: i2.AwSearchService }, { token: i3.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
AwGalleryLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: AwGalleryLayoutComponent, selector: "aw-gallery-layout", usesInheritance: true, ngImport: i0, template: "<div 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\">{{ lb.dataSource.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': 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=\"n7-grid-3\">\n <div *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\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\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", components: [{ type: i4.ContentPlaceholderComponent, selector: "n7-content-placeholder", inputs: ["data"] }, { type: i5.AwFacetsWrapperComponent, selector: "aw-facets-wrapper", inputs: ["data", "emit"] }, { type: i6.SmartBreadcrumbsComponent, selector: "n7-smart-breadcrumbs", inputs: ["data", "emit"] }, { type: i4.ItemPreviewComponent, selector: "n7-item-preview", inputs: ["data", "emit"] }, { type: i1.SmartPaginationComponent, selector: "n7-smart-pagination", inputs: ["data", "emit"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i7.AsyncPipe } });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: AwGalleryLayoutComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{ selector: 'aw-gallery-layout', template: "<div 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\">{{ lb.dataSource.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': 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=\"n7-grid-3\">\n <div *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\"\n [emit]=\"lb.widgets['aw-linked-objects'].emit\">\n </n7-item-preview>\n </div>\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" }]
|
|
44
44
|
}], ctorParameters: function () { return [{ type: i1.ConfigurationService }, { type: i1.LayoutsConfigurationService }, { type: i1.MainStateService }, { type: i1.CommunicationService }, { type: i2.AwSearchService }, { type: i3.ActivatedRoute }]; } });
|