ngx-dev-toolbar 4.1.0 → 4.2.1

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.
@@ -0,0 +1,13 @@
1
+ import { IconName } from '../icons/icon.models';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ToolbarIconButtonComponent {
4
+ readonly icon: import("@angular/core").InputSignal<IconName | undefined>;
5
+ readonly tooltip: import("@angular/core").InputSignal<string | undefined>;
6
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
7
+ readonly size: import("@angular/core").InputSignal<"sm" | "md">;
8
+ readonly variant: import("@angular/core").InputSignal<"ghost" | "outlined">;
9
+ protected isHovered: import("@angular/core").WritableSignal<boolean>;
10
+ protected isTooltipVisible: import("@angular/core").Signal<boolean>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarIconButtonComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarIconButtonComponent, "ndt-icon-button", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
13
+ }
@@ -1 +1 @@
1
- export type IconName = 'angular' | 'bolt' | 'bug' | 'code' | 'database' | 'discord' | 'docs' | 'edit' | 'export' | 'filter' | 'flag' | 'gauge' | 'gear' | 'git-branch' | 'globe' | 'import' | 'layout' | 'lighting' | 'lightbulb' | 'lock' | 'moon' | 'network' | 'puzzle' | 'refresh' | 'star' | 'sun' | 'terminal' | 'toggle-left' | 'translate' | 'trash' | 'user';
1
+ export type IconName = 'angular' | 'bolt' | 'bug' | 'code' | 'database' | 'discord' | 'docs' | 'edit' | 'export' | 'filter' | 'flag' | 'gauge' | 'gear' | 'git-branch' | 'globe' | 'import' | 'layout' | 'lighting' | 'lightbulb' | 'lock' | 'moon' | 'network' | 'pin' | 'puzzle' | 'refresh' | 'star' | 'sun' | 'terminal' | 'toggle-left' | 'translate' | 'trash' | 'user';
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class PinIconComponent {
3
+ fill: import("@angular/core").InputSignal<string>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<PinIconComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<PinIconComponent, "ndt-pin-icon", never, { "fill": { "alias": "fill"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
6
+ }
@@ -1,3 +1,4 @@
1
+ import { IconName } from '../icons/icon.models';
1
2
  import * as i0 from "@angular/core";
2
3
  /**
3
4
  * List item component with consistent layout, dot badge indicator,
@@ -39,6 +40,28 @@ export declare class ToolbarListItemComponent {
39
40
  * Original value before forcing (only present when isForced is true)
40
41
  */
41
42
  originalValue: import("@angular/core").InputSignal<boolean | undefined>;
43
+ /**
44
+ * Whether to show the "Apply to source" button
45
+ */
46
+ showApply: import("@angular/core").InputSignal<boolean>;
47
+ /**
48
+ * Current state of the apply operation
49
+ */
50
+ applyState: import("@angular/core").InputSignal<"idle" | "loading" | "success" | "error">;
51
+ /**
52
+ * Whether this item is pinned to the top of the list
53
+ */
54
+ isPinned: import("@angular/core").InputSignal<boolean>;
55
+ /**
56
+ * Emits when the user clicks the pin/unpin button
57
+ */
58
+ pinToggle: import("@angular/core").OutputEmitterRef<void>;
59
+ /**
60
+ * Emits when the user clicks "Apply to source"
61
+ */
62
+ applyToSource: import("@angular/core").OutputEmitterRef<void>;
63
+ protected pinIcon: import("@angular/core").Signal<IconName>;
64
+ protected pinAriaLabel: import("@angular/core").Signal<"Unpin item" | "Pin item">;
42
65
  /**
43
66
  * Value to display in the dot indicator.
44
67
  * For forced items: shows originalValue
@@ -50,5 +73,5 @@ export declare class ToolbarListItemComponent {
50
73
  */
51
74
  protected tooltipText: import("@angular/core").Signal<string>;
52
75
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarListItemComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarListItemComponent, "ndt-list-item", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "isForced": { "alias": "isForced"; "required": false; "isSignal": true; }; "currentValue": { "alias": "currentValue"; "required": true; "isSignal": true; }; "originalValue": { "alias": "originalValue"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarListItemComponent, "ndt-list-item", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "isForced": { "alias": "isForced"; "required": false; "isSignal": true; }; "currentValue": { "alias": "currentValue"; "required": true; "isSignal": true; }; "originalValue": { "alias": "originalValue"; "required": false; "isSignal": true; }; "showApply": { "alias": "showApply"; "required": false; "isSignal": true; }; "applyState": { "alias": "applyState"; "required": false; "isSignal": true; }; "isPinned": { "alias": "isPinned"; "required": false; "isSignal": true; }; }, { "pinToggle": "pinToggle"; "applyToSource": "applyToSource"; }, never, ["*"], true, never>;
54
77
  }