@net7/boilerplate-muruca 5.5.3 → 5.5.5

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.
@@ -13,6 +13,10 @@ export interface MetadataViewerItems {
13
13
  * the value for @property label
14
14
  */
15
15
  value?: string;
16
+ /**
17
+ * the anchorId of the metadata
18
+ */
19
+ anchorId?: string;
16
20
  }
17
21
  /**
18
22
  * Interface for MetadataViewerComponent's "data"
@@ -22,6 +22,19 @@ export interface ConfigMurucaHeroSection extends ConfigMurucaSection {
22
22
  classes?: string;
23
23
  /** has background? */
24
24
  background?: boolean;
25
+ /** search input field */
26
+ input?: {
27
+ /** placeholder label */
28
+ placeholder?: string;
29
+ /** icon insiode the field */
30
+ icon?: string;
31
+ /** payload used to detect event */
32
+ payload?: string;
33
+ /** id of the query used for queryParams */
34
+ queryId?: string;
35
+ /** additional queryParams */
36
+ additionalQueryParams?: Record<string, string>;
37
+ };
25
38
  };
26
39
  }
27
40
  export interface ConfigMurucaButtonSection extends ConfigMurucaSection {
@@ -1,5 +1,6 @@
1
1
  import { DataSource } from '@net7/core';
2
2
  export declare class MrHeroDS extends DataSource {
3
3
  id: string;
4
+ currentInputValue: string;
4
5
  protected transform(data: any): any;
5
6
  }
@@ -1,4 +1,5 @@
1
1
  import { EventHandler } from '@net7/core';
2
2
  export declare class MrHeroEH extends EventHandler {
3
+ inputPayload: '';
3
4
  listen(): void;
4
5
  }
@@ -1,6 +1,7 @@
1
1
  interface Metadata {
2
2
  label?: string;
3
3
  value?: string | Metadata[][];
4
+ anchorId?: string;
4
5
  }
5
6
  interface GroupMetadata {
6
7
  title?: string;
@@ -1,10 +1,11 @@
1
1
  import { OnInit, OnDestroy } from '@angular/core';
2
- import { ActivatedRoute, Data } from '@angular/router';
2
+ import { ActivatedRoute, Data, Router } from '@angular/router';
3
3
  import { AbstractLayout, CommunicationService, LayoutsConfigurationService, ConfigurationService, MainStateService } from '@net7/boilerplate-common';
4
4
  import { MrLayoutStateService } from '../../services/layout-state.service';
5
5
  import { MrLocaleService } from '../../services/locale.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class MrHomeLayoutComponent extends AbstractLayout implements OnInit, OnDestroy {
8
+ private router;
8
9
  private activatedRoute;
9
10
  private configuration;
10
11
  private communication;
@@ -12,8 +13,9 @@ export declare class MrHomeLayoutComponent extends AbstractLayout implements OnI
12
13
  layoutState: MrLayoutStateService;
13
14
  private localeService;
14
15
  private routeData;
15
- constructor(layoutsConfiguration: LayoutsConfigurationService, activatedRoute: ActivatedRoute, configuration: ConfigurationService, communication: CommunicationService, mainState: MainStateService, layoutState: MrLayoutStateService, localeService: MrLocaleService);
16
+ constructor(layoutsConfiguration: LayoutsConfigurationService, router: Router, activatedRoute: ActivatedRoute, configuration: ConfigurationService, communication: CommunicationService, mainState: MainStateService, layoutState: MrLayoutStateService, localeService: MrLocaleService);
16
17
  protected initPayload(): {
18
+ router: Router;
17
19
  routeData: Data;
18
20
  mainState: MainStateService;
19
21
  configuration: ConfigurationService;
@@ -1,5 +1,7 @@
1
1
  import { LayoutDataSource } from '@net7/core';
2
+ import { Router } from '@angular/router';
2
3
  export declare class MrHomeLayoutDS extends LayoutDataSource {
4
+ protected router: Router;
3
5
  private configuration;
4
6
  private communication;
5
7
  private mainState;
@@ -12,4 +14,5 @@ export declare class MrHomeLayoutDS extends LayoutDataSource {
12
14
  doRequest(): void;
13
15
  initSections(response: any): void;
14
16
  private updateHeadTitle;
17
+ searchRedirect(type: any, payload: any): void;
15
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net7/boilerplate-muruca",
3
- "version": "5.5.3",
3
+ "version": "5.5.5",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.11",
6
6
  "@angular/core": "^17.3.11"