@net7/boilerplate-arianna 3.0.1-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/esm2020/lib/components/aw-facets-wrapper/aw-facets-wrapper.mjs +29 -0
- package/esm2020/lib/components/bubble-chart-wrapper/bubble-chart-wrapper.mjs +23 -0
- package/esm2020/lib/components/chart-tippy/chart-tippy.mjs +25 -0
- package/esm2020/lib/components/index.mjs +7 -0
- package/esm2020/lib/components/pdf-viewer/pdf-viewer.mjs +31 -0
- package/esm2020/lib/components/scheda-dropdown/scheda-dropdown.mjs +26 -0
- package/esm2020/lib/components/smart-breadcrumbs/smart-breadcrumbs.mjs +82 -0
- package/esm2020/lib/config/apollo.config.mjs +706 -0
- package/esm2020/lib/config-types/arianna/app.mjs +2 -0
- package/esm2020/lib/config-types/arianna/index.mjs +3 -0
- package/esm2020/lib/config-types/arianna/layouts.mjs +2 -0
- package/esm2020/lib/config-types/index.mjs +2 -0
- package/esm2020/lib/data-sources/autocomplete-wrapper.ds.mjs +48 -0
- package/esm2020/lib/data-sources/aw-facets-wrapper.ds.mjs +162 -0
- package/esm2020/lib/data-sources/bubble-chart.ds.mjs +95 -0
- package/esm2020/lib/data-sources/carousel.ds.mjs +74 -0
- package/esm2020/lib/data-sources/chart-tippy.ds.mjs +30 -0
- package/esm2020/lib/data-sources/entita-metadata-viewer.ds.mjs +16 -0
- package/esm2020/lib/data-sources/entita-nav.ds.mjs +74 -0
- package/esm2020/lib/data-sources/gallery-results.ds.mjs +103 -0
- package/esm2020/lib/data-sources/hero.ds.mjs +27 -0
- package/esm2020/lib/data-sources/home-autocomplete.ds.mjs +80 -0
- package/esm2020/lib/data-sources/home-facets-wrapper.ds.mjs +178 -0
- package/esm2020/lib/data-sources/home-hero-patrimonio.ds.mjs +7 -0
- package/esm2020/lib/data-sources/home-item-tags-wrapper.ds.mjs +7 -0
- package/esm2020/lib/data-sources/index.mjs +36 -0
- package/esm2020/lib/data-sources/linked-objects.ds.mjs +219 -0
- package/esm2020/lib/data-sources/map.ds.mjs +88 -0
- package/esm2020/lib/data-sources/related-entities.ds.mjs +35 -0
- package/esm2020/lib/data-sources/scheda-breadcrumbs.ds.mjs +18 -0
- package/esm2020/lib/data-sources/scheda-dropdown.ds.mjs +40 -0
- package/esm2020/lib/data-sources/scheda-image.ds.mjs +65 -0
- package/esm2020/lib/data-sources/scheda-inner-title.ds.mjs +7 -0
- package/esm2020/lib/data-sources/scheda-metadata.ds.mjs +11 -0
- package/esm2020/lib/data-sources/scheda-pdf.ds.mjs +54 -0
- package/esm2020/lib/data-sources/search-layout-tabs.ds.mjs +28 -0
- package/esm2020/lib/data-sources/sidebar-header.ds.mjs +24 -0
- package/esm2020/lib/data-sources/table.ds.mjs +8 -0
- package/esm2020/lib/data-sources/timeline.ds.mjs +106 -0
- package/esm2020/lib/data-sources/tree.ds.mjs +154 -0
- package/esm2020/lib/event-handlers/autocomplete-wrapper.eh.mjs +18 -0
- package/esm2020/lib/event-handlers/aw-facets-wrapper.eh.mjs +88 -0
- package/esm2020/lib/event-handlers/bubble-chart.eh.mjs +98 -0
- package/esm2020/lib/event-handlers/chart-tippy.eh.mjs +64 -0
- package/esm2020/lib/event-handlers/entita-nav.eh.mjs +22 -0
- package/esm2020/lib/event-handlers/gallery-results.eh.mjs +38 -0
- package/esm2020/lib/event-handlers/hero.eh.mjs +25 -0
- package/esm2020/lib/event-handlers/home-autocomplete.eh.mjs +15 -0
- package/esm2020/lib/event-handlers/home-facets-wrapper.eh.mjs +125 -0
- package/esm2020/lib/event-handlers/home-hero-patrimonio.eh.mjs +7 -0
- package/esm2020/lib/event-handlers/home-item-tags-wrapper.eh.mjs +18 -0
- package/esm2020/lib/event-handlers/index.mjs +30 -0
- package/esm2020/lib/event-handlers/linked-objects.eh.mjs +60 -0
- package/esm2020/lib/event-handlers/map.eh.mjs +23 -0
- package/esm2020/lib/event-handlers/scheda-breadcrumbs.eh.mjs +12 -0
- package/esm2020/lib/event-handlers/scheda-dropdown.eh.mjs +17 -0
- package/esm2020/lib/event-handlers/scheda-pdf.eh.mjs +14 -0
- package/esm2020/lib/event-handlers/search-layout-tabs.eh.mjs +7 -0
- package/esm2020/lib/event-handlers/sidebar-header.eh.mjs +11 -0
- package/esm2020/lib/event-handlers/table.eh.mjs +15 -0
- package/esm2020/lib/event-handlers/timeline.eh.mjs +46 -0
- package/esm2020/lib/event-handlers/tree.eh.mjs +113 -0
- package/esm2020/lib/helpers/metadata.helper.mjs +89 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.config.mjs +17 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.ds.mjs +173 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.eh.mjs +27 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.mjs +38 -0
- package/esm2020/lib/layouts/collection-layout/collection-layout.types.mjs +2 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.config.mjs +29 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.ds.mjs +310 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.eh.mjs +119 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.mjs +51 -0
- package/esm2020/lib/layouts/entita-layout/entita-layout.types.mjs +2 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-facets.config.mjs +145 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.config.mjs +32 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.ds.mjs +15 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.eh.mjs +8 -0
- package/esm2020/lib/layouts/gallery-layout/gallery-layout.mjs +45 -0
- package/esm2020/lib/layouts/home-layout/home-layout.config.mjs +36 -0
- package/esm2020/lib/layouts/home-layout/home-layout.ds.mjs +286 -0
- package/esm2020/lib/layouts/home-layout/home-layout.eh.mjs +245 -0
- package/esm2020/lib/layouts/home-layout/home-layout.mjs +44 -0
- package/esm2020/lib/layouts/index.mjs +41 -0
- package/esm2020/lib/layouts/map-layout/map-layout.config.mjs +26 -0
- package/esm2020/lib/layouts/map-layout/map-layout.ds.mjs +112 -0
- package/esm2020/lib/layouts/map-layout/map-layout.eh.mjs +44 -0
- package/esm2020/lib/layouts/map-layout/map-layout.mjs +46 -0
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.config.mjs +32 -0
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.ds.mjs +282 -0
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.eh.mjs +150 -0
- package/esm2020/lib/layouts/scheda-layout/scheda-layout.mjs +53 -0
- package/esm2020/lib/layouts/search-layout/search-facets.config.mjs +163 -0
- package/esm2020/lib/layouts/search-layout/search-layout.config.mjs +32 -0
- package/esm2020/lib/layouts/search-layout/search-layout.ds.mjs +296 -0
- package/esm2020/lib/layouts/search-layout/search-layout.eh.mjs +175 -0
- package/esm2020/lib/layouts/search-layout/search-layout.mjs +50 -0
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.config.mjs +26 -0
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.ds.mjs +133 -0
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.eh.mjs +41 -0
- package/esm2020/lib/layouts/timeline-layout/timeline-layout.mjs +46 -0
- package/esm2020/lib/n7-boilerplate-arianna.module.mjs +110 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input-checkbox.mjs +32 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input-link.mjs +89 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input-select.mjs +28 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input-text.mjs +36 -0
- package/esm2020/lib/search/aw-facet-inputs/aw-facet-input.mjs +30 -0
- package/esm2020/lib/search/aw-facet-inputs/index.mjs +6 -0
- package/esm2020/lib/search/aw-search.model.mjs +331 -0
- package/esm2020/lib/search/aw-search.service.mjs +42 -0
- package/esm2020/lib/search/entity-links.helper.mjs +126 -0
- package/esm2020/net7-boilerplate-arianna.mjs +5 -0
- package/esm2020/public-api.mjs +11 -0
- package/fesm2015/net7-boilerplate-arianna.mjs +7482 -0
- package/fesm2015/net7-boilerplate-arianna.mjs.map +1 -0
- package/fesm2020/net7-boilerplate-arianna.mjs +7520 -0
- package/fesm2020/net7-boilerplate-arianna.mjs.map +1 -0
- package/lib/components/aw-facets-wrapper/aw-facets-wrapper.d.ts +9 -0
- package/lib/components/bubble-chart-wrapper/bubble-chart-wrapper.d.ts +9 -0
- package/lib/components/chart-tippy/chart-tippy.d.ts +9 -0
- package/lib/components/index.d.ts +6 -0
- package/lib/components/pdf-viewer/pdf-viewer.d.ts +38 -0
- package/lib/components/scheda-dropdown/scheda-dropdown.d.ts +23 -0
- package/lib/components/smart-breadcrumbs/smart-breadcrumbs.d.ts +71 -0
- package/lib/config/apollo.config.d.ts +67 -0
- package/lib/config-types/arianna/app.d.ts +103 -0
- package/lib/config-types/arianna/index.d.ts +2 -0
- package/lib/config-types/arianna/layouts.d.ts +164 -0
- package/lib/config-types/index.d.ts +1 -0
- package/lib/data-sources/autocomplete-wrapper.ds.d.ts +18 -0
- package/lib/data-sources/aw-facets-wrapper.ds.d.ts +50 -0
- package/lib/data-sources/bubble-chart.ds.d.ts +47 -0
- package/lib/data-sources/carousel.ds.d.ts +22 -0
- package/lib/data-sources/chart-tippy.ds.d.ts +4 -0
- package/lib/data-sources/entita-metadata-viewer.ds.d.ts +9 -0
- package/lib/data-sources/entita-nav.ds.d.ts +4 -0
- package/lib/data-sources/gallery-results.ds.d.ts +11 -0
- package/lib/data-sources/hero.ds.d.ts +20 -0
- package/lib/data-sources/home-autocomplete.ds.d.ts +37 -0
- package/lib/data-sources/home-facets-wrapper.ds.d.ts +14 -0
- package/lib/data-sources/home-hero-patrimonio.ds.d.ts +4 -0
- package/lib/data-sources/home-item-tags-wrapper.ds.d.ts +4 -0
- package/lib/data-sources/index.d.ts +27 -0
- package/lib/data-sources/linked-objects.ds.d.ts +22 -0
- package/lib/data-sources/map.ds.d.ts +17 -0
- package/lib/data-sources/related-entities.ds.d.ts +7 -0
- package/lib/data-sources/scheda-breadcrumbs.ds.d.ts +5 -0
- package/lib/data-sources/scheda-dropdown.ds.d.ts +7 -0
- package/lib/data-sources/scheda-image.ds.d.ts +10 -0
- package/lib/data-sources/scheda-inner-title.ds.d.ts +4 -0
- package/lib/data-sources/scheda-metadata.ds.d.ts +8 -0
- package/lib/data-sources/scheda-pdf.ds.d.ts +8 -0
- package/lib/data-sources/search-layout-tabs.ds.d.ts +12 -0
- package/lib/data-sources/sidebar-header.ds.d.ts +11 -0
- package/lib/data-sources/table.ds.d.ts +4 -0
- package/lib/data-sources/timeline.ds.d.ts +37 -0
- package/lib/data-sources/tree.ds.d.ts +19 -0
- package/lib/event-handlers/autocomplete-wrapper.eh.d.ts +4 -0
- package/lib/event-handlers/aw-facets-wrapper.eh.d.ts +7 -0
- package/lib/event-handlers/bubble-chart.eh.d.ts +7 -0
- package/lib/event-handlers/chart-tippy.eh.d.ts +6 -0
- package/lib/event-handlers/entita-nav.eh.d.ts +4 -0
- package/lib/event-handlers/gallery-results.eh.d.ts +4 -0
- package/lib/event-handlers/hero.eh.d.ts +4 -0
- package/lib/event-handlers/home-autocomplete.eh.d.ts +4 -0
- package/lib/event-handlers/home-facets-wrapper.eh.d.ts +7 -0
- package/lib/event-handlers/home-hero-patrimonio.eh.d.ts +4 -0
- package/lib/event-handlers/home-item-tags-wrapper.eh.d.ts +4 -0
- package/lib/event-handlers/index.d.ts +21 -0
- package/lib/event-handlers/linked-objects.eh.d.ts +5 -0
- package/lib/event-handlers/map.eh.d.ts +5 -0
- package/lib/event-handlers/scheda-breadcrumbs.eh.d.ts +4 -0
- package/lib/event-handlers/scheda-dropdown.eh.d.ts +4 -0
- package/lib/event-handlers/scheda-pdf.eh.d.ts +6 -0
- package/lib/event-handlers/search-layout-tabs.eh.d.ts +4 -0
- package/lib/event-handlers/sidebar-header.eh.d.ts +4 -0
- package/lib/event-handlers/table.eh.d.ts +4 -0
- package/lib/event-handlers/timeline.eh.d.ts +5 -0
- package/lib/event-handlers/tree.eh.d.ts +9 -0
- package/lib/helpers/metadata.helper.d.ts +15 -0
- package/lib/layouts/collection-layout/collection-layout.config.d.ts +13 -0
- package/lib/layouts/collection-layout/collection-layout.d.ts +21 -0
- package/lib/layouts/collection-layout/collection-layout.ds.d.ts +50 -0
- package/lib/layouts/collection-layout/collection-layout.eh.d.ts +6 -0
- package/lib/layouts/collection-layout/collection-layout.types.d.ts +31 -0
- package/lib/layouts/entita-layout/entita-layout.config.d.ts +29 -0
- package/lib/layouts/entita-layout/entita-layout.d.ts +28 -0
- package/lib/layouts/entita-layout/entita-layout.ds.d.ts +76 -0
- package/lib/layouts/entita-layout/entita-layout.eh.d.ts +13 -0
- package/lib/layouts/entita-layout/entita-layout.types.d.ts +17 -0
- package/lib/layouts/gallery-layout/gallery-facets.config.d.ts +150 -0
- package/lib/layouts/gallery-layout/gallery-layout.config.d.ts +38 -0
- package/lib/layouts/gallery-layout/gallery-layout.d.ts +26 -0
- package/lib/layouts/gallery-layout/gallery-layout.ds.d.ts +158 -0
- package/lib/layouts/gallery-layout/gallery-layout.eh.d.ts +4 -0
- package/lib/layouts/home-layout/home-layout.config.d.ts +15 -0
- package/lib/layouts/home-layout/home-layout.d.ts +23 -0
- package/lib/layouts/home-layout/home-layout.ds.d.ts +53 -0
- package/lib/layouts/home-layout/home-layout.eh.d.ts +11 -0
- package/lib/layouts/index.d.ts +32 -0
- package/lib/layouts/map-layout/map-layout.config.d.ts +22 -0
- package/lib/layouts/map-layout/map-layout.d.ts +23 -0
- package/lib/layouts/map-layout/map-layout.ds.d.ts +37 -0
- package/lib/layouts/map-layout/map-layout.eh.d.ts +5 -0
- package/lib/layouts/scheda-layout/scheda-layout.config.d.ts +19 -0
- package/lib/layouts/scheda-layout/scheda-layout.d.ts +33 -0
- package/lib/layouts/scheda-layout/scheda-layout.ds.d.ts +75 -0
- package/lib/layouts/scheda-layout/scheda-layout.eh.d.ts +11 -0
- package/lib/layouts/search-layout/search-facets.config.d.ts +168 -0
- package/lib/layouts/search-layout/search-layout.config.d.ts +38 -0
- package/lib/layouts/search-layout/search-layout.d.ts +31 -0
- package/lib/layouts/search-layout/search-layout.ds.d.ts +71 -0
- package/lib/layouts/search-layout/search-layout.eh.d.ts +31 -0
- package/lib/layouts/timeline-layout/timeline-layout.config.d.ts +22 -0
- package/lib/layouts/timeline-layout/timeline-layout.d.ts +23 -0
- package/lib/layouts/timeline-layout/timeline-layout.ds.d.ts +39 -0
- package/lib/layouts/timeline-layout/timeline-layout.eh.d.ts +5 -0
- package/lib/n7-boilerplate-arianna.module.d.ts +28 -0
- package/lib/search/aw-facet-inputs/aw-facet-input-checkbox.d.ts +18 -0
- package/lib/search/aw-facet-inputs/aw-facet-input-link.d.ts +8 -0
- package/lib/search/aw-facet-inputs/aw-facet-input-select.d.ts +21 -0
- package/lib/search/aw-facet-inputs/aw-facet-input-text.d.ts +30 -0
- package/lib/search/aw-facet-inputs/aw-facet-input.d.ts +35 -0
- package/lib/search/aw-facet-inputs/index.d.ts +5 -0
- package/lib/search/aw-search.model.d.ts +125 -0
- package/lib/search/aw-search.service.d.ts +13 -0
- package/lib/search/entity-links.helper.d.ts +12 -0
- package/net7-boilerplate-arianna.d.ts +5 -0
- package/package.json +36 -0
- package/public-api.d.ts +6 -0
- package/src/lib/styles/arianna/components/_advanced-autocomplete.scss +103 -0
- package/src/lib/styles/arianna/components/_breadcrumbs.scss +129 -0
- package/src/lib/styles/arianna/components/_bubble-popup-menu.scss +87 -0
- package/src/lib/styles/arianna/components/_carousel.scss +32 -0
- package/src/lib/styles/arianna/components/_facet-header.scss +58 -0
- package/src/lib/styles/arianna/components/_facet.scss +268 -0
- package/src/lib/styles/arianna/components/_footer.scss +64 -0
- package/src/lib/styles/arianna/components/_header.scss +61 -0
- package/src/lib/styles/arianna/components/_item-preview.scss +278 -0
- package/src/lib/styles/arianna/components/_map.scss +59 -0
- package/src/lib/styles/arianna/components/_metadata-viewer.scss +106 -0
- package/src/lib/styles/arianna/components/_pdf-viewer.scss +93 -0
- package/src/lib/styles/arianna/components/_simple-autocomplete.scss +60 -0
- package/src/lib/styles/arianna/components/_timeline.scss +112 -0
- package/src/lib/styles/arianna/components/_tippy-tooltip.scss +41 -0
- package/src/lib/styles/arianna/components/_tree.scss +110 -0
- package/src/lib/styles/arianna/generic/_color_scheme.scss +60 -0
- package/src/lib/styles/arianna/generic/_mixins.scss +18 -0
- package/src/lib/styles/arianna/generic/_variables.scss +380 -0
- package/src/lib/styles/arianna/layouts/_collection-layout.scss +200 -0
- package/src/lib/styles/arianna/layouts/_entita-layout.scss +344 -0
- package/src/lib/styles/arianna/layouts/_home-layout.scss +785 -0
- package/src/lib/styles/arianna/layouts/_multimedia-layout.scss +132 -0
- package/src/lib/styles/arianna/layouts/_scheda-layout.scss +438 -0
- package/src/lib/styles/arianna/layouts/_search-layout.scss +284 -0
- package/src/lib/styles/arianna/utilities/_item-preview-list.scss +48 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SmartPaginationDS, SmartPaginationEH } from '@net7/boilerplate-common';
|
|
2
|
+
import { AwEntitaLayoutDS } from './entita-layout.ds';
|
|
3
|
+
import { AwEntitaLayoutEH } from './entita-layout.eh';
|
|
4
|
+
import * as DS from '../../data-sources';
|
|
5
|
+
import * as EH from '../../event-handlers';
|
|
6
|
+
export declare const AwEntitaLayoutConfig: {
|
|
7
|
+
layoutId: string;
|
|
8
|
+
widgets: ({
|
|
9
|
+
id: string;
|
|
10
|
+
hasStaticData: boolean;
|
|
11
|
+
dataSource?: undefined;
|
|
12
|
+
eventHandler?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
id: string;
|
|
15
|
+
hasStaticData?: undefined;
|
|
16
|
+
dataSource?: undefined;
|
|
17
|
+
eventHandler?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
id: string;
|
|
20
|
+
dataSource: typeof SmartPaginationDS;
|
|
21
|
+
eventHandler: typeof SmartPaginationEH;
|
|
22
|
+
hasStaticData?: undefined;
|
|
23
|
+
})[];
|
|
24
|
+
layoutDS: typeof AwEntitaLayoutDS;
|
|
25
|
+
layoutEH: typeof AwEntitaLayoutEH;
|
|
26
|
+
widgetsDataSources: typeof DS;
|
|
27
|
+
widgetsEventHandlers: typeof EH;
|
|
28
|
+
options: {};
|
|
29
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { Title } from '@angular/platform-browser';
|
|
4
|
+
import { AbstractLayout, ConfigurationService, MainStateService, CommunicationService, LayoutsConfigurationService } from '@net7/boilerplate-common';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AwEntitaLayoutComponent extends AbstractLayout implements OnInit, OnDestroy {
|
|
7
|
+
private router;
|
|
8
|
+
private route;
|
|
9
|
+
private configuration;
|
|
10
|
+
private layoutsConfiguration;
|
|
11
|
+
private communication;
|
|
12
|
+
private mainState;
|
|
13
|
+
private titleService;
|
|
14
|
+
constructor(router: Router, route: ActivatedRoute, configuration: ConfigurationService, layoutsConfiguration: LayoutsConfigurationService, communication: CommunicationService, mainState: MainStateService, titleService: Title);
|
|
15
|
+
protected initPayload(): {
|
|
16
|
+
configuration: ConfigurationService;
|
|
17
|
+
mainState: MainStateService;
|
|
18
|
+
router: Router;
|
|
19
|
+
route: ActivatedRoute;
|
|
20
|
+
titleService: Title;
|
|
21
|
+
communication: CommunicationService;
|
|
22
|
+
options: any;
|
|
23
|
+
};
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AwEntitaLayoutComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AwEntitaLayoutComponent, "aw-entita-layout", never, {}, {}, never, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { LayoutDataSource } from '@n7-frontend/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { EntitaLayoutResponse } from './entita-layout.types';
|
|
5
|
+
export declare class AwEntitaLayoutDS extends LayoutDataSource {
|
|
6
|
+
protected configuration: any;
|
|
7
|
+
protected mainState: any;
|
|
8
|
+
protected router: Router;
|
|
9
|
+
protected titleService: any;
|
|
10
|
+
protected route: ActivatedRoute;
|
|
11
|
+
options: any;
|
|
12
|
+
pageTitle: string;
|
|
13
|
+
hasMetadataFields: boolean;
|
|
14
|
+
myResponse: EntitaLayoutResponse;
|
|
15
|
+
selectedTab: string;
|
|
16
|
+
navHeader: any;
|
|
17
|
+
currentId: string;
|
|
18
|
+
currentSlug: string;
|
|
19
|
+
currentPage: number;
|
|
20
|
+
pageSize: number;
|
|
21
|
+
bubblesSize: number;
|
|
22
|
+
bubblesEnabled: boolean;
|
|
23
|
+
private communication;
|
|
24
|
+
fallbackText: string;
|
|
25
|
+
loading: boolean;
|
|
26
|
+
onInit({ configuration, mainState, router, route, options, titleService, communication, }: {
|
|
27
|
+
configuration: any;
|
|
28
|
+
mainState: any;
|
|
29
|
+
router: any;
|
|
30
|
+
route: any;
|
|
31
|
+
options: any;
|
|
32
|
+
titleService: any;
|
|
33
|
+
communication: any;
|
|
34
|
+
}): void;
|
|
35
|
+
singleTabCheck(): void;
|
|
36
|
+
updateComponent: (id: any, data: any, options?: any) => void;
|
|
37
|
+
/**
|
|
38
|
+
* Updates the pagination component
|
|
39
|
+
*/
|
|
40
|
+
drawPagination: (totalItems: any, pageSize: any) => void;
|
|
41
|
+
/**
|
|
42
|
+
* Updates the selected tab on tab change
|
|
43
|
+
*/
|
|
44
|
+
handlePageNavigation: () => void;
|
|
45
|
+
handleNavUpdate: (tab: any) => void;
|
|
46
|
+
updateWidgets(data: any): void;
|
|
47
|
+
/**
|
|
48
|
+
* Given a page number and a list size, returns the data
|
|
49
|
+
* for a single page of content.
|
|
50
|
+
*
|
|
51
|
+
* @param id Entity ID
|
|
52
|
+
* @param pageNumber Page number to load
|
|
53
|
+
* @param pageSize How many items need to be loaded
|
|
54
|
+
*/
|
|
55
|
+
getEntityDetailsPage(id: any, pageNumber: number, pageSize: number): Observable<any>;
|
|
56
|
+
loadItem(id: any, slug: any, tab: any): Observable<any>;
|
|
57
|
+
loadContent(res: any): void;
|
|
58
|
+
private _getPaginationURL;
|
|
59
|
+
getNavBasePath(): string;
|
|
60
|
+
getItemCount(): number;
|
|
61
|
+
getFields(response: any): {
|
|
62
|
+
key: any;
|
|
63
|
+
value: any;
|
|
64
|
+
order: any;
|
|
65
|
+
label: string;
|
|
66
|
+
}[];
|
|
67
|
+
private getLinkedObjectItems;
|
|
68
|
+
/**
|
|
69
|
+
* Calculates the total amount of pages
|
|
70
|
+
*
|
|
71
|
+
* @param items the number of records in the database
|
|
72
|
+
* @param size the number of items shown on a page
|
|
73
|
+
* @returns the total number of pages
|
|
74
|
+
*/
|
|
75
|
+
private getPageCount;
|
|
76
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventHandler } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwEntitaLayoutEH extends EventHandler {
|
|
3
|
+
private destroyed$;
|
|
4
|
+
private configuration;
|
|
5
|
+
private route;
|
|
6
|
+
private entityId;
|
|
7
|
+
listen(): void;
|
|
8
|
+
private handlePageSizeChange;
|
|
9
|
+
/**
|
|
10
|
+
* Listens to routing events of this layout.
|
|
11
|
+
*/
|
|
12
|
+
private listenRoute;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface EntitaLayoutResponse {
|
|
2
|
+
extraTab: missingType;
|
|
3
|
+
overviewTab: missingType;
|
|
4
|
+
wikiTab: missingType;
|
|
5
|
+
fields: missingType;
|
|
6
|
+
id: string;
|
|
7
|
+
typeOfEntity: string;
|
|
8
|
+
label: string;
|
|
9
|
+
relatedEntities: emptyOrAnyList;
|
|
10
|
+
relatedItems: emptyOrAnyList;
|
|
11
|
+
relatedLa: emptyOrAnyList;
|
|
12
|
+
relatedItemsTotalCount: number;
|
|
13
|
+
relatedLaTotalCount: number;
|
|
14
|
+
}
|
|
15
|
+
declare type missingType = null;
|
|
16
|
+
declare type emptyOrAnyList = any[] | [];
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
totalCount: number;
|
|
3
|
+
facets: ({
|
|
4
|
+
id: string;
|
|
5
|
+
type: string;
|
|
6
|
+
hasStaticData?: undefined;
|
|
7
|
+
data?: undefined;
|
|
8
|
+
operator?: undefined;
|
|
9
|
+
limit?: undefined;
|
|
10
|
+
order?: undefined;
|
|
11
|
+
searchData?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
id: string;
|
|
14
|
+
type: string;
|
|
15
|
+
hasStaticData: boolean;
|
|
16
|
+
data: {
|
|
17
|
+
value: string;
|
|
18
|
+
label: string;
|
|
19
|
+
}[];
|
|
20
|
+
operator?: undefined;
|
|
21
|
+
limit?: undefined;
|
|
22
|
+
order?: undefined;
|
|
23
|
+
searchData?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
id: string;
|
|
26
|
+
type: string;
|
|
27
|
+
operator: string;
|
|
28
|
+
limit: number;
|
|
29
|
+
order: string;
|
|
30
|
+
hasStaticData?: undefined;
|
|
31
|
+
data?: undefined;
|
|
32
|
+
searchData?: undefined;
|
|
33
|
+
} | {
|
|
34
|
+
id: string;
|
|
35
|
+
type: string;
|
|
36
|
+
searchData: string[];
|
|
37
|
+
hasStaticData?: undefined;
|
|
38
|
+
data?: undefined;
|
|
39
|
+
operator?: undefined;
|
|
40
|
+
limit?: undefined;
|
|
41
|
+
order?: undefined;
|
|
42
|
+
})[];
|
|
43
|
+
fields: ({
|
|
44
|
+
inputs: ({
|
|
45
|
+
type: string;
|
|
46
|
+
facetId: string;
|
|
47
|
+
placeholder: string;
|
|
48
|
+
filterConfig: {
|
|
49
|
+
delay: number;
|
|
50
|
+
minChars: number;
|
|
51
|
+
searchIn: {
|
|
52
|
+
key: string;
|
|
53
|
+
operator: string;
|
|
54
|
+
}[];
|
|
55
|
+
};
|
|
56
|
+
} | {
|
|
57
|
+
type: string;
|
|
58
|
+
facetId: string;
|
|
59
|
+
filterConfig: {
|
|
60
|
+
searchIn: {
|
|
61
|
+
key: string;
|
|
62
|
+
operator: string;
|
|
63
|
+
}[];
|
|
64
|
+
delay?: undefined;
|
|
65
|
+
minChars?: undefined;
|
|
66
|
+
};
|
|
67
|
+
placeholder?: undefined;
|
|
68
|
+
})[];
|
|
69
|
+
header?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
header: {
|
|
72
|
+
label: string;
|
|
73
|
+
classes: string;
|
|
74
|
+
};
|
|
75
|
+
inputs: ({
|
|
76
|
+
type: string;
|
|
77
|
+
facetId: string;
|
|
78
|
+
filterConfig: {
|
|
79
|
+
isArray: boolean;
|
|
80
|
+
context: string;
|
|
81
|
+
target: string;
|
|
82
|
+
searchIn: {
|
|
83
|
+
key: string;
|
|
84
|
+
operator: string;
|
|
85
|
+
}[];
|
|
86
|
+
delay?: undefined;
|
|
87
|
+
minChars?: undefined;
|
|
88
|
+
limit?: undefined;
|
|
89
|
+
pagination?: undefined;
|
|
90
|
+
};
|
|
91
|
+
emptyState?: undefined;
|
|
92
|
+
} | {
|
|
93
|
+
type: string;
|
|
94
|
+
facetId: string;
|
|
95
|
+
filterConfig: {
|
|
96
|
+
delay: number;
|
|
97
|
+
minChars: number;
|
|
98
|
+
context: string;
|
|
99
|
+
target: string;
|
|
100
|
+
searchIn: {
|
|
101
|
+
key: string;
|
|
102
|
+
operator: string;
|
|
103
|
+
}[];
|
|
104
|
+
isArray?: undefined;
|
|
105
|
+
limit?: undefined;
|
|
106
|
+
pagination?: undefined;
|
|
107
|
+
};
|
|
108
|
+
emptyState?: undefined;
|
|
109
|
+
} | {
|
|
110
|
+
type: string;
|
|
111
|
+
facetId: string;
|
|
112
|
+
emptyState: {
|
|
113
|
+
label: string;
|
|
114
|
+
};
|
|
115
|
+
filterConfig: {
|
|
116
|
+
isArray: boolean;
|
|
117
|
+
limit: number;
|
|
118
|
+
pagination: {
|
|
119
|
+
limit: number;
|
|
120
|
+
offset: number;
|
|
121
|
+
};
|
|
122
|
+
searchIn: {
|
|
123
|
+
key: string;
|
|
124
|
+
operator: string;
|
|
125
|
+
}[];
|
|
126
|
+
context?: undefined;
|
|
127
|
+
target?: undefined;
|
|
128
|
+
delay?: undefined;
|
|
129
|
+
minChars?: undefined;
|
|
130
|
+
};
|
|
131
|
+
})[];
|
|
132
|
+
})[];
|
|
133
|
+
results: {
|
|
134
|
+
order: {
|
|
135
|
+
type: string;
|
|
136
|
+
key: string;
|
|
137
|
+
direction: string;
|
|
138
|
+
};
|
|
139
|
+
fields: {
|
|
140
|
+
id: string;
|
|
141
|
+
highlight: boolean;
|
|
142
|
+
limit: number;
|
|
143
|
+
}[];
|
|
144
|
+
};
|
|
145
|
+
page: {
|
|
146
|
+
offset: number;
|
|
147
|
+
limit: number;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SmartPaginationDS, SmartPaginationEH } from '@net7/boilerplate-common';
|
|
2
|
+
import { AwGalleryLayoutDS } from './gallery-layout.ds';
|
|
3
|
+
import { AwGalleryLayoutEH } from './gallery-layout.eh';
|
|
4
|
+
import * as DS from '../../data-sources';
|
|
5
|
+
import * as EH from '../../event-handlers';
|
|
6
|
+
export declare const AwGalleryLayoutConfig: {
|
|
7
|
+
layoutId: string;
|
|
8
|
+
/**
|
|
9
|
+
* Array of components you want to use
|
|
10
|
+
* in this layout
|
|
11
|
+
*/
|
|
12
|
+
widgets: ({
|
|
13
|
+
id: string;
|
|
14
|
+
dataSource: typeof DS.AwFacetsWrapperDS;
|
|
15
|
+
eventHandler: typeof EH.AwFacetsWrapperEH;
|
|
16
|
+
hasStaticData?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
id: string;
|
|
19
|
+
dataSource?: undefined;
|
|
20
|
+
eventHandler?: undefined;
|
|
21
|
+
hasStaticData?: undefined;
|
|
22
|
+
} | {
|
|
23
|
+
id: string;
|
|
24
|
+
hasStaticData: boolean;
|
|
25
|
+
dataSource?: undefined;
|
|
26
|
+
eventHandler?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
id: string;
|
|
29
|
+
dataSource: typeof SmartPaginationDS;
|
|
30
|
+
eventHandler: typeof SmartPaginationEH;
|
|
31
|
+
hasStaticData?: undefined;
|
|
32
|
+
})[];
|
|
33
|
+
layoutDS: typeof AwGalleryLayoutDS;
|
|
34
|
+
layoutEH: typeof AwGalleryLayoutEH;
|
|
35
|
+
widgetsDataSources: typeof DS;
|
|
36
|
+
widgetsEventHandlers: typeof EH;
|
|
37
|
+
options: {};
|
|
38
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { AbstractLayout, ConfigurationService, LayoutsConfigurationService, MainStateService, CommunicationService } from '@net7/boilerplate-common';
|
|
4
|
+
import { AwSearchService } from '../../search/aw-search.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AwGalleryLayoutComponent extends AbstractLayout implements OnInit, OnDestroy {
|
|
7
|
+
private configuration;
|
|
8
|
+
private layoutsConfiguration;
|
|
9
|
+
private mainState;
|
|
10
|
+
private communication;
|
|
11
|
+
private search;
|
|
12
|
+
private route;
|
|
13
|
+
constructor(configuration: ConfigurationService, layoutsConfiguration: LayoutsConfigurationService, mainState: MainStateService, communication: CommunicationService, search: AwSearchService, route: ActivatedRoute);
|
|
14
|
+
protected initPayload(): {
|
|
15
|
+
configuration: ConfigurationService;
|
|
16
|
+
mainState: MainStateService;
|
|
17
|
+
communication: CommunicationService;
|
|
18
|
+
search: AwSearchService;
|
|
19
|
+
route: ActivatedRoute;
|
|
20
|
+
options: any;
|
|
21
|
+
};
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AwGalleryLayoutComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AwGalleryLayoutComponent, "aw-gallery-layout", never, {}, {}, never, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { AwSearchLayoutDS } from '../search-layout/search-layout.ds';
|
|
2
|
+
export declare class AwGalleryLayoutDS extends AwSearchLayoutDS {
|
|
3
|
+
layoutId: string;
|
|
4
|
+
configId: string;
|
|
5
|
+
currentNav: string;
|
|
6
|
+
headTitle: string;
|
|
7
|
+
facetsConfig: {
|
|
8
|
+
totalCount: number;
|
|
9
|
+
facets: ({
|
|
10
|
+
id: string;
|
|
11
|
+
type: string;
|
|
12
|
+
hasStaticData?: undefined;
|
|
13
|
+
data?: undefined;
|
|
14
|
+
operator?: undefined;
|
|
15
|
+
limit?: undefined;
|
|
16
|
+
order?: undefined;
|
|
17
|
+
searchData?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
id: string;
|
|
20
|
+
type: string;
|
|
21
|
+
hasStaticData: boolean;
|
|
22
|
+
data: {
|
|
23
|
+
value: string;
|
|
24
|
+
label: string;
|
|
25
|
+
}[];
|
|
26
|
+
operator?: undefined;
|
|
27
|
+
limit?: undefined;
|
|
28
|
+
order?: undefined;
|
|
29
|
+
searchData?: undefined;
|
|
30
|
+
} | {
|
|
31
|
+
id: string;
|
|
32
|
+
type: string;
|
|
33
|
+
operator: string;
|
|
34
|
+
limit: number;
|
|
35
|
+
order: string;
|
|
36
|
+
hasStaticData?: undefined;
|
|
37
|
+
data?: undefined;
|
|
38
|
+
searchData?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
id: string;
|
|
41
|
+
type: string;
|
|
42
|
+
searchData: string[];
|
|
43
|
+
hasStaticData?: undefined;
|
|
44
|
+
data?: undefined;
|
|
45
|
+
operator?: undefined;
|
|
46
|
+
limit?: undefined;
|
|
47
|
+
order?: undefined;
|
|
48
|
+
})[];
|
|
49
|
+
fields: ({
|
|
50
|
+
inputs: ({
|
|
51
|
+
type: string;
|
|
52
|
+
facetId: string;
|
|
53
|
+
placeholder: string;
|
|
54
|
+
filterConfig: {
|
|
55
|
+
delay: number;
|
|
56
|
+
minChars: number;
|
|
57
|
+
searchIn: {
|
|
58
|
+
key: string;
|
|
59
|
+
operator: string;
|
|
60
|
+
}[];
|
|
61
|
+
};
|
|
62
|
+
} | {
|
|
63
|
+
type: string;
|
|
64
|
+
facetId: string;
|
|
65
|
+
filterConfig: {
|
|
66
|
+
searchIn: {
|
|
67
|
+
key: string;
|
|
68
|
+
operator: string;
|
|
69
|
+
}[];
|
|
70
|
+
delay?: undefined;
|
|
71
|
+
minChars?: undefined;
|
|
72
|
+
};
|
|
73
|
+
placeholder?: undefined;
|
|
74
|
+
})[];
|
|
75
|
+
header?: undefined;
|
|
76
|
+
} | {
|
|
77
|
+
header: {
|
|
78
|
+
label: string;
|
|
79
|
+
classes: string;
|
|
80
|
+
};
|
|
81
|
+
inputs: ({
|
|
82
|
+
type: string;
|
|
83
|
+
facetId: string;
|
|
84
|
+
filterConfig: {
|
|
85
|
+
isArray: boolean;
|
|
86
|
+
context: string;
|
|
87
|
+
target: string;
|
|
88
|
+
searchIn: {
|
|
89
|
+
key: string;
|
|
90
|
+
operator: string;
|
|
91
|
+
}[];
|
|
92
|
+
delay?: undefined;
|
|
93
|
+
minChars?: undefined;
|
|
94
|
+
limit?: undefined;
|
|
95
|
+
pagination?: undefined;
|
|
96
|
+
};
|
|
97
|
+
emptyState?: undefined;
|
|
98
|
+
} | {
|
|
99
|
+
type: string;
|
|
100
|
+
facetId: string;
|
|
101
|
+
filterConfig: {
|
|
102
|
+
delay: number;
|
|
103
|
+
minChars: number;
|
|
104
|
+
context: string;
|
|
105
|
+
target: string;
|
|
106
|
+
searchIn: {
|
|
107
|
+
key: string;
|
|
108
|
+
operator: string;
|
|
109
|
+
}[];
|
|
110
|
+
isArray?: undefined;
|
|
111
|
+
limit?: undefined;
|
|
112
|
+
pagination?: undefined;
|
|
113
|
+
};
|
|
114
|
+
emptyState?: undefined;
|
|
115
|
+
} | {
|
|
116
|
+
type: string;
|
|
117
|
+
facetId: string;
|
|
118
|
+
emptyState: {
|
|
119
|
+
label: string;
|
|
120
|
+
};
|
|
121
|
+
filterConfig: {
|
|
122
|
+
isArray: boolean;
|
|
123
|
+
limit: number;
|
|
124
|
+
pagination: {
|
|
125
|
+
limit: number;
|
|
126
|
+
offset: number;
|
|
127
|
+
};
|
|
128
|
+
searchIn: {
|
|
129
|
+
key: string;
|
|
130
|
+
operator: string;
|
|
131
|
+
}[];
|
|
132
|
+
context?: undefined;
|
|
133
|
+
target?: undefined;
|
|
134
|
+
delay?: undefined;
|
|
135
|
+
minChars?: undefined;
|
|
136
|
+
};
|
|
137
|
+
})[];
|
|
138
|
+
})[];
|
|
139
|
+
results: {
|
|
140
|
+
order: {
|
|
141
|
+
type: string;
|
|
142
|
+
key: string;
|
|
143
|
+
direction: string;
|
|
144
|
+
};
|
|
145
|
+
fields: {
|
|
146
|
+
id: string;
|
|
147
|
+
highlight: boolean;
|
|
148
|
+
limit: number;
|
|
149
|
+
}[];
|
|
150
|
+
};
|
|
151
|
+
page: {
|
|
152
|
+
offset: number;
|
|
153
|
+
limit: number;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
paginationList: number[];
|
|
157
|
+
pageSize: number;
|
|
158
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AwHomeLayoutDS } from './home-layout.ds';
|
|
2
|
+
import { AwHomeLayoutEH } from './home-layout.eh';
|
|
3
|
+
import * as DS from '../../data-sources';
|
|
4
|
+
import * as EH from '../../event-handlers';
|
|
5
|
+
export declare const AwHomeLayoutConfig: {
|
|
6
|
+
layoutId: string;
|
|
7
|
+
widgets: {
|
|
8
|
+
id: string;
|
|
9
|
+
}[];
|
|
10
|
+
layoutDS: typeof AwHomeLayoutDS;
|
|
11
|
+
layoutEH: typeof AwHomeLayoutEH;
|
|
12
|
+
widgetsDataSources: typeof DS;
|
|
13
|
+
widgetsEventHandlers: typeof EH;
|
|
14
|
+
options: {};
|
|
15
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { AbstractLayout, ConfigurationService, LayoutsConfigurationService, MainStateService, CommunicationService } from '@net7/boilerplate-common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AwHomeLayoutComponent extends AbstractLayout implements OnInit, OnDestroy {
|
|
6
|
+
private router;
|
|
7
|
+
private configuration;
|
|
8
|
+
private communication;
|
|
9
|
+
private mainState;
|
|
10
|
+
constructor(layoutsConfiguration: LayoutsConfigurationService, router: Router, configuration: ConfigurationService, communication: CommunicationService, mainState: MainStateService);
|
|
11
|
+
protected initPayload(): {
|
|
12
|
+
configuration: ConfigurationService;
|
|
13
|
+
mainState: MainStateService;
|
|
14
|
+
router: Router;
|
|
15
|
+
communication: CommunicationService;
|
|
16
|
+
options: any;
|
|
17
|
+
tippy: import("tippy.js").Tippy<import("tippy.js").Props>;
|
|
18
|
+
};
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AwHomeLayoutComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AwHomeLayoutComponent, "aw-home-layout", never, {}, {}, never, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { LayoutDataSource } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwHomeLayoutDS extends LayoutDataSource {
|
|
3
|
+
private communication;
|
|
4
|
+
private mainState;
|
|
5
|
+
private tippy;
|
|
6
|
+
private configuration;
|
|
7
|
+
private facetInputs;
|
|
8
|
+
private autocompletePopover;
|
|
9
|
+
private autocompletePopoverOpen;
|
|
10
|
+
private autocompleteChanged$;
|
|
11
|
+
numOfItemsStr: string;
|
|
12
|
+
currentHoverEntity: any;
|
|
13
|
+
hasScrollBackground: boolean;
|
|
14
|
+
resultsLimit: number;
|
|
15
|
+
selectedEntitiesIds: any[];
|
|
16
|
+
outerLinks: any;
|
|
17
|
+
outerLinksTitle: string;
|
|
18
|
+
outerLinksDescription: string;
|
|
19
|
+
homeAutocompleteQuery: string;
|
|
20
|
+
private destroyed$;
|
|
21
|
+
homeAutocompleteIsLoading: boolean;
|
|
22
|
+
resultsListIsLoading: boolean;
|
|
23
|
+
/** Enabled from: arianna-config/features-enabled/carousel */
|
|
24
|
+
carouselEnabled: boolean;
|
|
25
|
+
bubblesEnabled: boolean;
|
|
26
|
+
selectedBubbles: any[];
|
|
27
|
+
lastBubbleResponse: any;
|
|
28
|
+
firstBubbleResponse: any;
|
|
29
|
+
onInit({ communication, mainState, configuration, tippy, }: {
|
|
30
|
+
communication: any;
|
|
31
|
+
mainState: any;
|
|
32
|
+
configuration: any;
|
|
33
|
+
tippy: any;
|
|
34
|
+
}): void;
|
|
35
|
+
onDestroy(): void;
|
|
36
|
+
makeRequest$(query: any, params: any): any;
|
|
37
|
+
updateComponent: (id: any, data: any, options?: any) => void;
|
|
38
|
+
initialFilterRequest(): any;
|
|
39
|
+
parseInitialRequest(response: any): void;
|
|
40
|
+
renderPreviewsFromApolloQuery(response: any): void;
|
|
41
|
+
updateTags(onlyBubbles?: boolean): void;
|
|
42
|
+
handleFacetSearchChange(change: any): void;
|
|
43
|
+
renderItemTags(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Loads data for the carousel component
|
|
46
|
+
*/
|
|
47
|
+
loadCarousel(): void;
|
|
48
|
+
onHeroChange(value: any): void;
|
|
49
|
+
private _scrollBackgroundControl;
|
|
50
|
+
private _setHasScrollBackground;
|
|
51
|
+
private _listenAutoCompleteChanges;
|
|
52
|
+
private _toggleAutocompletePopover;
|
|
53
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventHandler } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwHomeLayoutEH extends EventHandler {
|
|
3
|
+
private destroyed$;
|
|
4
|
+
private configuration;
|
|
5
|
+
private route;
|
|
6
|
+
listen(): void;
|
|
7
|
+
private loadFilters;
|
|
8
|
+
handleSimpleAutocompleteClick: (payload: any) => void;
|
|
9
|
+
outerLinkClick(type: any, payload: any): void;
|
|
10
|
+
handleChartSelection: (payload: any) => void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export * from './home-layout/home-layout';
|
|
2
|
+
export * from './home-layout/home-layout.ds';
|
|
3
|
+
export * from './home-layout/home-layout.eh';
|
|
4
|
+
export * from './home-layout/home-layout.config';
|
|
5
|
+
export * from './entita-layout/entita-layout';
|
|
6
|
+
export * from './entita-layout/entita-layout.ds';
|
|
7
|
+
export * from './entita-layout/entita-layout.eh';
|
|
8
|
+
export * from './entita-layout/entita-layout.config';
|
|
9
|
+
export * from './scheda-layout/scheda-layout';
|
|
10
|
+
export * from './scheda-layout/scheda-layout.ds';
|
|
11
|
+
export * from './scheda-layout/scheda-layout.eh';
|
|
12
|
+
export * from './scheda-layout/scheda-layout.config';
|
|
13
|
+
export * from './search-layout/search-layout';
|
|
14
|
+
export * from './search-layout/search-layout.ds';
|
|
15
|
+
export * from './search-layout/search-layout.eh';
|
|
16
|
+
export * from './search-layout/search-layout.config';
|
|
17
|
+
export * from './gallery-layout/gallery-layout';
|
|
18
|
+
export * from './gallery-layout/gallery-layout.ds';
|
|
19
|
+
export * from './gallery-layout/gallery-layout.eh';
|
|
20
|
+
export * from './gallery-layout/gallery-layout.config';
|
|
21
|
+
export * from './map-layout/map-layout';
|
|
22
|
+
export * from './map-layout/map-layout.ds';
|
|
23
|
+
export * from './map-layout/map-layout.eh';
|
|
24
|
+
export * from './map-layout/map-layout.config';
|
|
25
|
+
export * from './timeline-layout/timeline-layout';
|
|
26
|
+
export * from './timeline-layout/timeline-layout.ds';
|
|
27
|
+
export * from './timeline-layout/timeline-layout.eh';
|
|
28
|
+
export * from './timeline-layout/timeline-layout.config';
|
|
29
|
+
export * from './collection-layout/collection-layout';
|
|
30
|
+
export * from './collection-layout/collection-layout.ds';
|
|
31
|
+
export * from './collection-layout/collection-layout.eh';
|
|
32
|
+
export * from './collection-layout/collection-layout.config';
|