@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,11 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwGalleryResultsDS extends DataSource {
|
|
3
|
+
private pagination;
|
|
4
|
+
protected transform(data: any): {
|
|
5
|
+
res: any;
|
|
6
|
+
pagination: any;
|
|
7
|
+
};
|
|
8
|
+
chunks(a: any, size: any): any[];
|
|
9
|
+
addPagination: (page: any, totalPages: any, size: any) => void;
|
|
10
|
+
makePagination: (totalPages: any, currentPage: any) => any[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwHeroDS extends DataSource {
|
|
3
|
+
currentInputValue: string;
|
|
4
|
+
protected transform(data: any): {
|
|
5
|
+
title: any;
|
|
6
|
+
text: any;
|
|
7
|
+
backgroundImage: any;
|
|
8
|
+
button: {
|
|
9
|
+
text: any;
|
|
10
|
+
anchor: {
|
|
11
|
+
payload: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
input: {
|
|
15
|
+
placeholder: any;
|
|
16
|
+
payload: string;
|
|
17
|
+
};
|
|
18
|
+
classes: any;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwHomeAutocompleteDS extends DataSource {
|
|
3
|
+
protected transform(data: any): {
|
|
4
|
+
results: {
|
|
5
|
+
group: {
|
|
6
|
+
title: any;
|
|
7
|
+
icon: any;
|
|
8
|
+
classes: any;
|
|
9
|
+
};
|
|
10
|
+
items: any;
|
|
11
|
+
}[];
|
|
12
|
+
actions: {
|
|
13
|
+
showMore: {
|
|
14
|
+
text: string;
|
|
15
|
+
anchor: {
|
|
16
|
+
href: any;
|
|
17
|
+
queryParams: {
|
|
18
|
+
query: any;
|
|
19
|
+
'query-all'?: undefined;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
} | {
|
|
24
|
+
showMore: {
|
|
25
|
+
text: string;
|
|
26
|
+
anchor: {
|
|
27
|
+
href: any;
|
|
28
|
+
queryParams: {
|
|
29
|
+
query: any;
|
|
30
|
+
'query-all': number;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
fallback: any;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwHomeFacetsWrapperDS extends DataSource {
|
|
3
|
+
private autoComplete;
|
|
4
|
+
lockedFacets: {};
|
|
5
|
+
lastData: {};
|
|
6
|
+
closedEyes: any[];
|
|
7
|
+
openTippy: string;
|
|
8
|
+
protected transform(data: any): {
|
|
9
|
+
header: any;
|
|
10
|
+
input: any;
|
|
11
|
+
}[];
|
|
12
|
+
tippyMaker: (id: any) => void;
|
|
13
|
+
tippyClose: (id: any) => void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export * from './linked-objects.ds';
|
|
2
|
+
export * from './autocomplete-wrapper.ds';
|
|
3
|
+
export * from './bubble-chart.ds';
|
|
4
|
+
export * from './chart-tippy.ds';
|
|
5
|
+
export * from './carousel.ds';
|
|
6
|
+
export * from './hero.ds';
|
|
7
|
+
export * from './table.ds';
|
|
8
|
+
export * from './home-hero-patrimonio.ds';
|
|
9
|
+
export * from './home-facets-wrapper.ds';
|
|
10
|
+
export * from './home-item-tags-wrapper.ds';
|
|
11
|
+
export * from './home-autocomplete.ds';
|
|
12
|
+
export * from './entita-nav.ds';
|
|
13
|
+
export * from './entita-metadata-viewer.ds';
|
|
14
|
+
export * from './related-entities.ds';
|
|
15
|
+
export * from './scheda-breadcrumbs.ds';
|
|
16
|
+
export * from './scheda-dropdown.ds';
|
|
17
|
+
export * from './sidebar-header.ds';
|
|
18
|
+
export * from './scheda-image.ds';
|
|
19
|
+
export * from './scheda-inner-title.ds';
|
|
20
|
+
export * from './scheda-metadata.ds';
|
|
21
|
+
export * from './scheda-pdf.ds';
|
|
22
|
+
export * from './tree.ds';
|
|
23
|
+
export * from './search-layout-tabs.ds';
|
|
24
|
+
export * from './aw-facets-wrapper.ds';
|
|
25
|
+
export * from './gallery-results.ds';
|
|
26
|
+
export * from './map.ds';
|
|
27
|
+
export * from './timeline.ds';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwLinkedObjectsDS extends DataSource {
|
|
3
|
+
currentPage: number;
|
|
4
|
+
totalPages: number;
|
|
5
|
+
totalObjects: number;
|
|
6
|
+
pageSize: number;
|
|
7
|
+
context: string;
|
|
8
|
+
loadedData: any;
|
|
9
|
+
loadingData: boolean;
|
|
10
|
+
paths: any;
|
|
11
|
+
protected transform(data: any): any;
|
|
12
|
+
checkForMore: (force?: boolean) => void;
|
|
13
|
+
handleIncomingData: (incomingData: any) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Dynamically returns the data object for each HTML component
|
|
16
|
+
* data: {
|
|
17
|
+
* previews: [ breadcrumbs: { items[] }, classes, image, metadata, payload, title ],
|
|
18
|
+
* pagination: { first, last, links, next, prev, select }
|
|
19
|
+
* }
|
|
20
|
+
*/
|
|
21
|
+
private unpackData;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MapData } from '@n7-frontend/components';
|
|
2
|
+
import { DataSource } from '@n7-frontend/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
export declare class AwMapDS extends DataSource {
|
|
5
|
+
map: any;
|
|
6
|
+
markerOpen$: Subject<object>;
|
|
7
|
+
markerClose$: Subject<void>;
|
|
8
|
+
protected transform: (data: any) => MapData;
|
|
9
|
+
/**
|
|
10
|
+
* Performs validation for a leaflet marker data.
|
|
11
|
+
* If the data is invalid displays an error.
|
|
12
|
+
*
|
|
13
|
+
* @param marker data for a leaflet marker
|
|
14
|
+
* @returns true if the marker data is valid
|
|
15
|
+
*/
|
|
16
|
+
private isValidMarker;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
import { SchedaDropdownData } from '../components';
|
|
3
|
+
export declare class AwSchedaDropdownDS extends DataSource {
|
|
4
|
+
protected transform(response: any): SchedaDropdownData;
|
|
5
|
+
toggle(): void;
|
|
6
|
+
onChange(payload: any): void;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
import { ImageViewerData } from '@n7-frontend/components';
|
|
3
|
+
export declare class AwSchedaImageDS extends DataSource {
|
|
4
|
+
private instance;
|
|
5
|
+
protected transform(data: any): ImageViewerData;
|
|
6
|
+
hasInstance(): boolean;
|
|
7
|
+
updateImages(data: any): void;
|
|
8
|
+
reset(): void;
|
|
9
|
+
private getTileSources;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
import { PdfViewerData } from '../components';
|
|
3
|
+
export declare class AwSchedaPdfDS extends DataSource {
|
|
4
|
+
private items;
|
|
5
|
+
protected transform(data: any): PdfViewerData;
|
|
6
|
+
onChange(index: any): void;
|
|
7
|
+
onLoaded(): void;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwSearchLayoutTabsDS extends DataSource {
|
|
3
|
+
private selected;
|
|
4
|
+
protected transform(): {
|
|
5
|
+
items: {
|
|
6
|
+
text: string;
|
|
7
|
+
payload: string;
|
|
8
|
+
classes: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
setSelected(tabId: any): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwSidebarHeaderDS extends DataSource {
|
|
3
|
+
protected transform(data: any): {
|
|
4
|
+
iconLeft: string;
|
|
5
|
+
text: any;
|
|
6
|
+
iconRight: string;
|
|
7
|
+
classes: string;
|
|
8
|
+
payload: string;
|
|
9
|
+
};
|
|
10
|
+
toggleSidebar(): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
export declare class AwTimelineDS extends DataSource {
|
|
4
|
+
timeline: any;
|
|
5
|
+
timelineLoaded$: Subject<void>;
|
|
6
|
+
dataSet: any;
|
|
7
|
+
timelineControlsVisible: boolean;
|
|
8
|
+
protected transform: (data: any) => {
|
|
9
|
+
containerID: string;
|
|
10
|
+
libOptions: {
|
|
11
|
+
max: Date;
|
|
12
|
+
min: Date;
|
|
13
|
+
start: Date;
|
|
14
|
+
end: Date;
|
|
15
|
+
align: string;
|
|
16
|
+
minHeight: string;
|
|
17
|
+
locale: string;
|
|
18
|
+
showCurrentTime: boolean;
|
|
19
|
+
showTooltips: boolean;
|
|
20
|
+
tooltip: {
|
|
21
|
+
followMouse: boolean;
|
|
22
|
+
template: (d: any, element: {
|
|
23
|
+
title: string;
|
|
24
|
+
}) => string;
|
|
25
|
+
};
|
|
26
|
+
width: string;
|
|
27
|
+
zoomMax: number;
|
|
28
|
+
zoomMin: number;
|
|
29
|
+
};
|
|
30
|
+
dataSet: any;
|
|
31
|
+
_setInstance: (timeline: any) => void;
|
|
32
|
+
};
|
|
33
|
+
getItemTemplate(datesLabel: any, label: any): string;
|
|
34
|
+
getMax(): Date;
|
|
35
|
+
getMin(): Date;
|
|
36
|
+
getAllDates(): any[];
|
|
37
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataSource } from '@n7-frontend/core';
|
|
2
|
+
export declare class AwTreeDS extends DataSource {
|
|
3
|
+
static dataCache: any;
|
|
4
|
+
private basePath;
|
|
5
|
+
private rootId;
|
|
6
|
+
private currentId;
|
|
7
|
+
private activeId;
|
|
8
|
+
protected transform: (data: any) => any;
|
|
9
|
+
load(data: any): void;
|
|
10
|
+
build(id: any): void;
|
|
11
|
+
setActive(id: any): void;
|
|
12
|
+
highlightActive(): void;
|
|
13
|
+
private _getCachedData;
|
|
14
|
+
private _normalize;
|
|
15
|
+
private _getParent;
|
|
16
|
+
private _getTreePath;
|
|
17
|
+
private _getTree;
|
|
18
|
+
private _getTreeItem;
|
|
19
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export * from './hero.eh';
|
|
2
|
+
export * from './home-facets-wrapper.eh';
|
|
3
|
+
export * from './home-hero-patrimonio.eh';
|
|
4
|
+
export * from './home-item-tags-wrapper.eh';
|
|
5
|
+
export * from './home-autocomplete.eh';
|
|
6
|
+
export * from './entita-nav.eh';
|
|
7
|
+
export * from './scheda-breadcrumbs.eh';
|
|
8
|
+
export * from './sidebar-header.eh';
|
|
9
|
+
export * from './tree.eh';
|
|
10
|
+
export * from './scheda-dropdown.eh';
|
|
11
|
+
export * from './scheda-pdf.eh';
|
|
12
|
+
export * from './search-layout-tabs.eh';
|
|
13
|
+
export * from './aw-facets-wrapper.eh';
|
|
14
|
+
export * from './gallery-results.eh';
|
|
15
|
+
export * from './map.eh';
|
|
16
|
+
export * from './timeline.eh';
|
|
17
|
+
export * from './linked-objects.eh';
|
|
18
|
+
export * from './autocomplete-wrapper.eh';
|
|
19
|
+
export * from './bubble-chart.eh';
|
|
20
|
+
export * from './table.eh';
|
|
21
|
+
export * from './chart-tippy.eh';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
normalize: ({ fields: data, paths, labels, metadataToShow, type }: {
|
|
3
|
+
fields: any;
|
|
4
|
+
paths: any;
|
|
5
|
+
labels: any;
|
|
6
|
+
metadataToShow: any;
|
|
7
|
+
type: any;
|
|
8
|
+
}) => {
|
|
9
|
+
key: any;
|
|
10
|
+
value: any;
|
|
11
|
+
order: any;
|
|
12
|
+
label: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as DS from '../../data-sources';
|
|
2
|
+
import * as EH from '../../event-handlers';
|
|
3
|
+
import { AwCollectionLayoutDS } from './collection-layout.ds';
|
|
4
|
+
import { AwCollectionLayoutEH } from './collection-layout.eh';
|
|
5
|
+
export declare const AwCollectionLayoutConfig: {
|
|
6
|
+
layoutId: string;
|
|
7
|
+
widgets: any[];
|
|
8
|
+
layoutDS: typeof AwCollectionLayoutDS;
|
|
9
|
+
layoutEH: typeof AwCollectionLayoutEH;
|
|
10
|
+
widgetsDataSources: typeof DS;
|
|
11
|
+
widgetsEventHandlers: typeof EH;
|
|
12
|
+
options: {};
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { ConfigurationService, AbstractLayout, CommunicationService, LayoutsConfigurationService } from '@net7/boilerplate-common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AwCollectionLayoutComponent extends AbstractLayout implements OnInit, OnDestroy {
|
|
6
|
+
private communication;
|
|
7
|
+
private layoutsConfiguration;
|
|
8
|
+
private configuration;
|
|
9
|
+
private route;
|
|
10
|
+
constructor(communication: CommunicationService, layoutsConfiguration: LayoutsConfigurationService, configuration: ConfigurationService, route: ActivatedRoute);
|
|
11
|
+
protected initPayload(): {
|
|
12
|
+
communication: CommunicationService;
|
|
13
|
+
layoutsConfiguration: LayoutsConfigurationService;
|
|
14
|
+
configuration: ConfigurationService;
|
|
15
|
+
route: ActivatedRoute;
|
|
16
|
+
};
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AwCollectionLayoutComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AwCollectionLayoutComponent, "n7-collection-layout", never, {}, {}, never, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { InnerTitleData, ItemPreviewData } from '@n7-frontend/components';
|
|
2
|
+
import { LayoutDataSource } from '@n7-frontend/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
export declare class AwCollectionLayoutDS extends LayoutDataSource {
|
|
5
|
+
private communication;
|
|
6
|
+
private configuration;
|
|
7
|
+
private layoutOptions;
|
|
8
|
+
private route;
|
|
9
|
+
collectionID: string;
|
|
10
|
+
private classificationsMap;
|
|
11
|
+
innerTitleData: BehaviorSubject<InnerTitleData>;
|
|
12
|
+
collectionDescription: BehaviorSubject<string>;
|
|
13
|
+
pageSize: number;
|
|
14
|
+
/** Necessary to iterate with the loading item placeholder HTML */
|
|
15
|
+
pageSizeList: any[];
|
|
16
|
+
currentOffset: number;
|
|
17
|
+
loadedCollections: BehaviorSubject<ItemPreviewData[] | []>;
|
|
18
|
+
/** Button that loads more content into the layout */
|
|
19
|
+
loadMoreButton: BehaviorSubject<boolean>;
|
|
20
|
+
/** Controls the loading state of the layout */
|
|
21
|
+
loading: boolean;
|
|
22
|
+
onInit(payload: any): void;
|
|
23
|
+
/**
|
|
24
|
+
* After the collection ID has been loaded
|
|
25
|
+
*/
|
|
26
|
+
onCollectionID(): void;
|
|
27
|
+
loadMore(reload?: boolean): void;
|
|
28
|
+
/**
|
|
29
|
+
* Builds a URL from entity type,
|
|
30
|
+
* entity id, and a slug string.
|
|
31
|
+
*
|
|
32
|
+
* @param type entity type
|
|
33
|
+
* @param id entity ID
|
|
34
|
+
* @param title human-readable title
|
|
35
|
+
* @returns URL string including a slug
|
|
36
|
+
*/
|
|
37
|
+
urlBuilder(id: any, title: any, type: string): string | undefined;
|
|
38
|
+
stringLimiter(content: string, options: {
|
|
39
|
+
maxLength: number;
|
|
40
|
+
char: string;
|
|
41
|
+
}): string;
|
|
42
|
+
setTitle(title: string): void;
|
|
43
|
+
/**
|
|
44
|
+
* Convert classification strings to css classes.
|
|
45
|
+
*
|
|
46
|
+
* @param classification a classification string like "a4.oc.ua"
|
|
47
|
+
* @returns a CSS class
|
|
48
|
+
*/
|
|
49
|
+
classMap(classification: string): string;
|
|
50
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface GetCollectionResponse {
|
|
2
|
+
items: CollectionItem[];
|
|
3
|
+
title: string;
|
|
4
|
+
total: number;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export interface GetCollectionParams {
|
|
8
|
+
id: string;
|
|
9
|
+
itemPagination?: {
|
|
10
|
+
limit: number;
|
|
11
|
+
offset: number;
|
|
12
|
+
};
|
|
13
|
+
baseUrl?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare type CollectionItem = {
|
|
16
|
+
/** title for the url slug section */
|
|
17
|
+
title: nullString;
|
|
18
|
+
content: nullString;
|
|
19
|
+
/** color code for the background color */
|
|
20
|
+
background: nullString;
|
|
21
|
+
/** background-image url */
|
|
22
|
+
image: nullString;
|
|
23
|
+
/** link url; when null the url should be constructed from type, id, title */
|
|
24
|
+
url: nullString;
|
|
25
|
+
a4vId: nullString;
|
|
26
|
+
/** type of resource that the item-preview refers to (useful for building the url) */
|
|
27
|
+
type: nullString;
|
|
28
|
+
classification: nullString;
|
|
29
|
+
};
|
|
30
|
+
declare type nullString = string | null;
|
|
31
|
+
export {};
|