aril 1.2.11 → 1.2.13

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.
@@ -5,6 +5,7 @@ export declare class RefValueComponent {
5
5
  assetId: import("@angular/core").InputSignal<number, number>;
6
6
  valueDesc: import("@angular/core").InputSignal<string, string>;
7
7
  detailPageUrl: import("@angular/core").InputSignal<string | undefined, string | undefined>;
8
+ target: import("@angular/core").InputSignal<string, string>;
8
9
  clickEvent: EventEmitter<any>;
9
10
  protected readonly tagStyle: {
10
11
  background: string;
@@ -12,9 +13,8 @@ export declare class RefValueComponent {
12
13
  'font-size': string;
13
14
  'text-decoration': string;
14
15
  };
15
- get url(): string;
16
16
  protected getDisplayValue(): string;
17
- protected getFullUrl(): string;
17
+ protected getRouterLink(): string;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<RefValueComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<RefValueComponent, "aril-ref-value", never, { "overlayPanelShow": { "alias": "overlayPanelShow"; "required": false; "isSignal": true; }; "assetId": { "alias": "assetId"; "required": true; "isSignal": true; }; "valueDesc": { "alias": "valueDesc"; "required": true; "isSignal": true; }; "detailPageUrl": { "alias": "detailPageUrl"; "required": true; "isSignal": true; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<RefValueComponent, "aril-ref-value", never, { "overlayPanelShow": { "alias": "overlayPanelShow"; "required": false; "isSignal": true; }; "assetId": { "alias": "assetId"; "required": true; "isSignal": true; }; "valueDesc": { "alias": "valueDesc"; "required": true; "isSignal": true; }; "detailPageUrl": { "alias": "detailPageUrl"; "required": true; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
20
20
  }
@@ -1,10 +1,13 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { RestClient, ServiceCallStateMap, ServiceResponse } from 'aril/http';
3
- import { AppLogSearchRequest, AppLogSearchResponse } from './interfaces';
3
+ import { AppLogRefValues, AppLogSearchRequest, AppLogSearchResponse } from './interfaces';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AppLogService extends RestClient {
6
6
  states: ServiceCallStateMap<AppLogService>;
7
7
  searchByTraceId(req: AppLogSearchRequest): Observable<ServiceResponse<AppLogSearchResponse>>;
8
+ getRefValues(req: {
9
+ traceId: string;
10
+ }): Observable<ServiceResponse<AppLogRefValues>>;
8
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AppLogService, never>;
9
12
  static ɵprov: i0.ɵɵInjectableDeclaration<AppLogService>;
10
13
  }
@@ -49,3 +49,4 @@ export interface AppLogSearchResponse {
49
49
  };
50
50
  result: AppLogItem[];
51
51
  }
52
+ export type AppLogRefValues = Record<string, string[]>;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import 'aril/util/primitive-extensions';
3
- import { ApisixHit, AppLogItem } from './interfaces';
3
+ import { ApisixHit, AppLogItem, AppLogRefValues } from './interfaces';
4
4
  import * as i0 from "@angular/core";
5
5
  type Position = 'right' | 'left';
6
6
  type Severity = 'success' | 'secondary' | 'info' | 'warning' | 'danger' | 'contrast' | undefined;
@@ -29,12 +29,16 @@ export declare class TraceDrawerComponent {
29
29
  protected readonly appLogsLoadingMore: import("@angular/core").WritableSignal<boolean>;
30
30
  protected readonly appLogsTotal: import("@angular/core").WritableSignal<number>;
31
31
  protected readonly appLogsPage: import("@angular/core").WritableSignal<number>;
32
+ protected readonly refValues: import("@angular/core").WritableSignal<AppLogRefValues>;
33
+ protected readonly refValueEntries: import("@angular/core").Signal<[string, string[]][]>;
32
34
  protected readonly hasMore: import("@angular/core").Signal<boolean>;
33
35
  protected readonly appLogsHasMore: import("@angular/core").Signal<boolean>;
34
36
  private readonly request;
35
37
  private readonly appLogsRequest;
38
+ private readonly refValuesRequest;
36
39
  private readonly response;
37
40
  private readonly appLogsResponse;
41
+ private readonly refValuesResponse;
38
42
  constructor();
39
43
  protected loadMore(): void;
40
44
  protected loadMoreAppLogs(): void;