@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.
@@ -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?: {
@@ -0,0 +1,5 @@
1
+ import { DataSource } from '@net7/core';
2
+ export declare class MrEmbeddedContentDS extends DataSource {
3
+ id: string;
4
+ protected transform(data: any): any;
5
+ }
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net7/boilerplate-muruca",
3
- "version": "5.5.9",
3
+ "version": "5.5.11",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.11",
6
6
  "@angular/core": "^17.3.11"
@@ -167,6 +167,12 @@
167
167
  margin: 0 $space * 10;
168
168
  }
169
169
 
170
+ /* Embedded Content */
171
+ .mr-resource__embedded-content {
172
+ padding: $space * 6 0;
173
+ margin: 0 $space * 10;
174
+ }
175
+
170
176
  /* Image Viewer */
171
177
  .mr-resource__viewer {
172
178
  position: relative;