mapa-library-ui 1.7.3 → 1.8.0

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/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { FormControl, NgModel, AbstractControl, FormGroup, ControlValueAccessor
2
2
  import * as i0 from '@angular/core';
3
3
  import { EventEmitter, OnInit, AfterViewInit, ElementRef, OnChanges, OnDestroy, Renderer2, SimpleChanges, InjectionToken, Provider, PipeTransform, ChangeDetectorRef, DoCheck, Injector, TemplateRef, ApplicationRef } from '@angular/core';
4
4
  import { ApexAxisChartSeries, ApexChart, ApexTitleSubtitle, ApexXAxis, ApexStroke, ApexFill, ApexMarkers, ApexYAxis, ApexLegend, ApexResponsive } from 'ng-apexcharts';
5
+ import { UrlTree, Params } from '@angular/router';
5
6
  import { MatInput } from '@angular/material/input';
6
7
  import { MatPaginator, MatPaginatorIntl, PageEvent } from '@angular/material/paginator';
7
8
  import * as rxjs from 'rxjs';
@@ -220,7 +221,8 @@ interface DialogData {
220
221
  interface MenuActionItem {
221
222
  image?: string;
222
223
  icon?: string;
223
- route?: string;
224
+ route?: string | unknown[] | UrlTree;
225
+ queryParams?: Params;
224
226
  showText?: boolean;
225
227
  svg?: string;
226
228
  text: string;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapa-library-ui",
3
- "version": "1.7.3",
3
+ "version": "1.8.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^20.3.0",
6
6
  "@angular/cdk": "^20.2.0",
@@ -1,3 +1,4 @@
1
+ import { UrlTree, Params } from '@angular/router';
1
2
  import * as i0 from '@angular/core';
2
3
  import { EventEmitter } from '@angular/core';
3
4
  import { MatMenuTrigger } from '@angular/material/menu';
@@ -5,7 +6,8 @@ import { MatMenuTrigger } from '@angular/material/menu';
5
6
  interface MenuActionItem {
6
7
  image?: string;
7
8
  icon?: string;
8
- route?: string;
9
+ route?: string | unknown[] | UrlTree;
10
+ queryParams?: Params;
9
11
  showText?: boolean;
10
12
  svg?: string;
11
13
  text: string;
@@ -1,10 +1,12 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
3
+ import { UrlTree, Params } from '@angular/router';
3
4
 
4
5
  interface MenuActionItem {
5
6
  image?: string;
6
7
  icon?: string;
7
- route?: string;
8
+ route?: string | unknown[] | UrlTree;
9
+ queryParams?: Params;
8
10
  showText?: boolean;
9
11
  svg?: string;
10
12
  text: string;
@@ -1,6 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { AfterViewInit, OnChanges, OnDestroy, EventEmitter, ElementRef, Renderer2, SimpleChanges, Injector, ChangeDetectorRef } from '@angular/core';
3
3
  import { MatPaginator, MatPaginatorIntl, PageEvent } from '@angular/material/paginator';
4
+ import { UrlTree, Params } from '@angular/router';
4
5
  import * as rxjs from 'rxjs';
5
6
  import * as mapa_frontend_i18n from 'mapa-frontend-i18n';
6
7
  import { MapaUiTextGroups, ValidationContext, PartialMapaUiTexts } from 'mapa-frontend-i18n';
@@ -62,7 +63,8 @@ interface TableEmptyState {
62
63
  interface MenuActionItem {
63
64
  image?: string;
64
65
  icon?: string;
65
- route?: string;
66
+ route?: string | unknown[] | UrlTree;
67
+ queryParams?: Params;
66
68
  showText?: boolean;
67
69
  svg?: string;
68
70
  text: string;
Binary file