ngx-dev-toolbar 2.0.9 → 2.1.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.
@@ -3,6 +3,15 @@
3
3
  * All tool flags are optional and default to true if not specified.
4
4
  */
5
5
  export interface DevToolbarConfig {
6
+ /**
7
+ * Master switch to enable/disable the entire toolbar.
8
+ * When disabled:
9
+ * - Toolbar UI will not render
10
+ * - All tool services will preserve localStorage data but won't return forced values
11
+ * - Developers can still call setAvailableOptions() safely (no-op when disabled)
12
+ * @default true
13
+ */
14
+ enabled?: boolean;
6
15
  /**
7
16
  * Show/hide the Language tool
8
17
  * @default true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-dev-toolbar",
3
- "version": "2.0.9",
3
+ "version": "2.1.0",
4
4
  "keywords": [
5
5
  "devtools",
6
6
  "development-toolbar",
@@ -15,6 +15,7 @@ import * as i0 from "@angular/core";
15
15
  export declare class DevToolbarInternalAppFeaturesService {
16
16
  private readonly STORAGE_KEY;
17
17
  private storageService;
18
+ private stateService;
18
19
  private appFeaturesSubject;
19
20
  private forcedFeaturesSubject;
20
21
  private readonly forcedFeatures$;
@@ -8,6 +8,7 @@ interface ForcedFlagsState {
8
8
  export declare class DevToolbarInternalFeatureFlagService {
9
9
  private readonly STORAGE_KEY;
10
10
  private storageService;
11
+ private stateService;
11
12
  private appFlags$;
12
13
  private forcedFlagsSubject;
13
14
  private readonly forcedFlags$;
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
4
4
  export declare class DevToolbarInternalLanguageService {
5
5
  private readonly STORAGE_KEY;
6
6
  private readonly storageService;
7
+ private readonly stateService;
7
8
  private languages$;
8
9
  private forcedLanguage$;
9
10
  languages: import("@angular/core").Signal<Language[]>;
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
4
4
  export declare class DevToolbarInternalPermissionsService {
5
5
  private readonly STORAGE_KEY;
6
6
  private storageService;
7
+ private stateService;
7
8
  private appPermissions$;
8
9
  private forcedStateSubject;
9
10
  private readonly forcedState$;