@ethlete/query-devtools 1.0.0-next.15 → 1.0.0-next.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/query-devtools",
3
- "version": "1.0.0-next.15",
3
+ "version": "1.0.0-next.16",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -40,6 +40,8 @@ declare class QueryDevtoolsLazyComponent {
40
40
  protected tampered: _angular_core.Signal<boolean>;
41
41
  constructor();
42
42
  protected open(): void;
43
+ /** Angular never retries a failed `@defer`, so only a page load can fetch the panel chunk again. */
44
+ protected reload(): void;
43
45
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<QueryDevtoolsLazyComponent, never>;
44
46
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<QueryDevtoolsLazyComponent, "et-query-devtools-lazy", never, {}, {}, never, never, true, never>;
45
47
  }
@@ -25,10 +25,14 @@ declare const isQueryDevtoolsShortcut: (e: KeyboardEvent) => boolean;
25
25
  */
26
26
  declare class QueryDevtoolsToggleComponent {
27
27
  tampered: _angular_core.InputSignal<boolean>;
28
+ loadFailed: _angular_core.InputSignalWithTransform<boolean, unknown>;
28
29
  openChange: _angular_core.OutputEmitterRef<void>;
30
+ private button;
29
31
  protected shortcut: string;
32
+ /** Moves keyboard focus to the toggle button. */
33
+ focus(): void;
30
34
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<QueryDevtoolsToggleComponent, never>;
31
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<QueryDevtoolsToggleComponent, "et-query-devtools-toggle", never, { "tampered": { "alias": "tampered"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; }, never, never, true, never>;
35
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<QueryDevtoolsToggleComponent, "et-query-devtools-toggle", never, { "tampered": { "alias": "tampered"; "required": false; "isSignal": true; }; "loadFailed": { "alias": "loadFailed"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; }, never, never, true, never>;
32
36
  }
33
37
 
34
38
  /**
@@ -71,13 +71,13 @@ type DetailTab = 'overview' | 'history' | 'data';
71
71
  type PaneTarget = 'list' | 'drawer';
72
72
  /** The axis a two-pane tab splits along: the panes sit side by side, or stack in a side dock. */
73
73
  type PaneAxis = 'inline' | 'block';
74
- type QueryStatus = 'idle' | 'loading' | 'success' | 'error';
74
+ type QueryStatus = 'idle' | 'parked' | 'loading' | 'success' | 'error';
75
75
  /**
76
- * A facet the Queries list can be narrowed to. The first four describe live state; `gone` is the odd
76
+ * A facet the Queries list can be narrowed to. All but `gone` describe live state; `gone` is the odd
77
77
  * one out - it is the only way a destroyed query's tombstone enters the list at all, which is why it
78
78
  * is off by default rather than just another filter over what is already shown.
79
79
  */
80
- type QueryListFacet = 'error' | 'loading' | 'stale' | 'idle' | 'gone';
80
+ type QueryListFacet = 'error' | 'loading' | 'stale' | 'parked' | 'idle' | 'gone';
81
81
  /**
82
82
  * A chunk of a route as rendered: literal path text, a path param (`name` is the param it fills in) or
83
83
  * the query string of the request that ran. The kind becomes the segment's class.
@@ -281,6 +281,7 @@ declare class QueryDevtoolsComponent implements OnInit {
281
281
  private zone;
282
282
  private destroyRef;
283
283
  private document;
284
+ private injector;
284
285
  private viewport;
285
286
  private isDocumentVisible;
286
287
  /**
@@ -289,6 +290,9 @@ declare class QueryDevtoolsComponent implements OnInit {
289
290
  */
290
291
  startOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
291
292
  private panelEl;
293
+ private toggle;
294
+ private tabButtons;
295
+ private focusBeforeOpen;
292
296
  private eventIdCounter;
293
297
  private lastSelectionKey;
294
298
  private tabBeforeSettings;
@@ -549,6 +553,7 @@ declare class QueryDevtoolsComponent implements OnInit {
549
553
  private locate$;
550
554
  inspectFilterIds: _angular_core.WritableSignal<string[] | null>;
551
555
  private queryEntries;
556
+ private argsSourceQueries;
552
557
  /**
553
558
  * The queries that still exist. Everything that measures what the application is doing right now -
554
559
  * the tab bar's error flags, the tamper dot, the timeline -
@@ -788,6 +793,7 @@ declare class QueryDevtoolsComponent implements OnInit {
788
793
  [k: string]: string;
789
794
  } | null;
790
795
  queryStatus(query: AnyQuery): QueryStatus;
796
+ isParked(query: AnyQuery): boolean;
791
797
  isStale(query: AnyQuery): boolean;
792
798
  isTampered(entry: QueryDevtoolsEntry): boolean;
793
799
  isMocked(entry: QueryDevtoolsEntry): boolean;
@@ -925,6 +931,8 @@ declare class QueryDevtoolsComponent implements OnInit {
925
931
  type: string;
926
932
  }): void;
927
933
  eventQueryId(event: EventLogItem): string | null;
934
+ private openPanel;
935
+ private closePanel;
928
936
  private resolvedHeaders;
929
937
  private argsRouteSegments;
930
938
  private renderRoute;
@@ -1004,6 +1012,6 @@ declare class QueryDevtoolsComponent implements OnInit {
1004
1012
  declare const QUERY_DEVTOOLS_IMPORTS: readonly [typeof QueryDevtoolsComponent];
1005
1013
 
1006
1014
  /** The version of `@ethlete/query-devtools` this build was cut from. */
1007
- declare const QUERY_DEVTOOLS_VERSION = "1.0.0-next.15";
1015
+ declare const QUERY_DEVTOOLS_VERSION = "1.0.0-next.16";
1008
1016
 
1009
1017
  export { QUERY_DEVTOOLS_IMPORTS, QUERY_DEVTOOLS_VERSION, QueryDevtoolsComponent };