@net7/boilerplate-muruca 5.5.9 → 5.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/config-types/muruca/layouts.mjs +1 -1
- package/esm2022/lib/config-types/muruca/sections.mjs +1 -1
- package/esm2022/lib/data-sources/embedded-content.ds.mjs +8 -0
- package/esm2022/lib/data-sources/index.mjs +2 -1
- package/esm2022/lib/data-sources/parallel-text-viewer.ds.mjs +3 -4
- package/esm2022/lib/layouts/resource-layout/resource-layout.ds.mjs +3 -4
- package/esm2022/lib/layouts/resource-layout/resource-layout.mjs +7 -5
- package/fesm2022/net7-boilerplate-muruca.mjs +17 -10
- package/fesm2022/net7-boilerplate-muruca.mjs.map +1 -1
- package/lib/config-types/muruca/layouts.d.ts +2 -2
- package/lib/config-types/muruca/sections.d.ts +3 -0
- package/lib/data-sources/embedded-content.ds.d.ts +5 -0
- package/lib/data-sources/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/lib/styles/muruca/layouts/_resource.scss +6 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LibOptions, NetworkLibOptions } from '@net7/components';
|
|
2
2
|
import { MrSearchConfig } from '../../interfaces/search.interface';
|
|
3
|
-
import { ConfigMurucaBreadcrumbsSection, ConfigMurucaCollectionSection, ConfigMurucaContentSection, ConfigMurucaGallerySection, ConfigMurucaHeroSection, ConfigMurucaImageViewerSection, ConfigMurucaInfoBoxSection, ConfigMurucaItemPreviewSection, ConfigMurucaMetadataSection, ConfigMurucaSliderSection, ConfigMurucaTabsSection, ConfigMurucaTextViewerSection, ConfigMurucaTitleSection, ConfigMurucaMetadataDynamicSection, ConfigMurucaButtonSection, ConfigMurucaParallelTextViewerSection } from './sections';
|
|
3
|
+
import { ConfigMurucaBreadcrumbsSection, ConfigMurucaCollectionSection, ConfigMurucaContentSection, ConfigMurucaGallerySection, ConfigMurucaHeroSection, ConfigMurucaImageViewerSection, ConfigMurucaInfoBoxSection, ConfigMurucaItemPreviewSection, ConfigMurucaMetadataSection, ConfigMurucaSliderSection, ConfigMurucaTabsSection, ConfigMurucaTextViewerSection, ConfigMurucaTitleSection, ConfigMurucaMetadataDynamicSection, ConfigMurucaButtonSection, ConfigMurucaParallelTextViewerSection, ConfigMurucaEmbeddedContentSection } from './sections';
|
|
4
4
|
export interface ConfigMurucaLayout {
|
|
5
5
|
/** page title */
|
|
6
6
|
title: string;
|
|
@@ -20,7 +20,7 @@ export interface ConfigMurucaResourceLayout extends ConfigMurucaLayout {
|
|
|
20
20
|
maxHeight?: number;
|
|
21
21
|
/** layout sections (top | content) */
|
|
22
22
|
sections: {
|
|
23
|
-
[key in 'top' | 'content']: (ConfigMurucaTabsSection | ConfigMurucaTitleSection | ConfigMurucaImageViewerSection | ConfigMurucaMetadataSection | ConfigMurucaCollectionSection | ConfigMurucaItemPreviewSection | ConfigMurucaTextViewerSection | ConfigMurucaParallelTextViewerSection | ConfigMurucaInfoBoxSection | ConfigMurucaBreadcrumbsSection | ConfigMurucaMetadataDynamicSection | ConfigMurucaButtonSection)[];
|
|
23
|
+
[key in 'top' | 'content']: (ConfigMurucaTabsSection | ConfigMurucaTitleSection | ConfigMurucaImageViewerSection | ConfigMurucaMetadataSection | ConfigMurucaCollectionSection | ConfigMurucaItemPreviewSection | ConfigMurucaTextViewerSection | ConfigMurucaParallelTextViewerSection | ConfigMurucaEmbeddedContentSection | ConfigMurucaInfoBoxSection | ConfigMurucaBreadcrumbsSection | ConfigMurucaMetadataDynamicSection | ConfigMurucaButtonSection)[];
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
export interface ConfigMurucaItineraryLayout extends ConfigMurucaLayout {
|
|
@@ -64,6 +64,9 @@ export interface ConfigMurucaInfoBoxSection extends ConfigMurucaSection {
|
|
|
64
64
|
export interface ConfigMurucaTextViewerSection extends ConfigMurucaSection {
|
|
65
65
|
type: 'text-viewer';
|
|
66
66
|
}
|
|
67
|
+
export interface ConfigMurucaEmbeddedContentSection extends ConfigMurucaSection {
|
|
68
|
+
type: 'embedded-content';
|
|
69
|
+
}
|
|
67
70
|
export interface ConfigMurucaParallelTextViewerSection extends ConfigMurucaSection {
|
|
68
71
|
type: 'parallel-text-viewer';
|
|
69
72
|
options?: {
|
|
@@ -22,6 +22,7 @@ export * from './gallery.ds';
|
|
|
22
22
|
export * from './network.ds';
|
|
23
23
|
export * from './network-resource.ds';
|
|
24
24
|
export * from './parallel-text-viewer.ds';
|
|
25
|
+
export * from './embedded-content.ds';
|
|
25
26
|
export * from './search/search-page-title.ds';
|
|
26
27
|
export * from './search/search-results-title.ds';
|
|
27
28
|
export * from './search/search-results.ds';
|
package/package.json
CHANGED