@ng-doc/ui-kit 22.0.0-beta.2 → 22.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.
- package/README.md +20 -29
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +43 -22
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs +24 -13
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-overlay-ref.mjs +62 -22
- package/fesm2022/ng-doc-ui-kit-classes-overlay-ref.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs +39 -14
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs +30 -18
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-button-toggle.mjs +12 -9
- package/fesm2022/ng-doc-ui-kit-components-button-toggle.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-button.mjs +15 -24
- package/fesm2022/ng-doc-ui-kit-components-button.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +13 -13
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +14 -9
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +30 -26
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +37 -38
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +32 -39
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-dialog-outlet.mjs +23 -20
- package/fesm2022/ng-doc-ui-kit-components-dialog-outlet.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs +20 -16
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs +120 -125
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs +17 -17
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs +16 -17
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs +20 -12
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs +175 -54
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +43 -46
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-label.mjs +14 -16
- package/fesm2022/ng-doc-ui-kit-components-label.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-line.mjs +7 -4
- package/fesm2022/ng-doc-ui-kit-components-line.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-list.mjs +24 -8
- package/fesm2022/ng-doc-ui-kit-components-list.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-magnifier-controller.mjs +7 -3
- package/fesm2022/ng-doc-ui-kit-components-magnifier-controller.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-magnifier.mjs +31 -15
- package/fesm2022/ng-doc-ui-kit-components-magnifier.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs +22 -27
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-option.mjs +28 -22
- package/fesm2022/ng-doc-ui-kit-components-option.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +56 -52
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs +19 -21
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs +91 -69
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs +173 -76
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs +23 -22
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs +14 -12
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +94 -61
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-tab-routes-group.mjs +16 -13
- package/fesm2022/ng-doc-ui-kit-components-tab-routes-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs +23 -24
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-text.mjs +37 -52
- package/fesm2022/ng-doc-ui-kit-components-text.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs +82 -57
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs +7 -4
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs +13 -10
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs +30 -26
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs +8 -5
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs +19 -18
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs +3 -4
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs +22 -19
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs +30 -25
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs +13 -16
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-fullscreen.mjs +90 -0
- package/fesm2022/ng-doc-ui-kit-directives-fullscreen.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs +34 -28
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs +10 -12
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs +9 -12
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-radio-group.mjs +7 -4
- package/fesm2022/ng-doc-ui-kit-directives-radio-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs +16 -22
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs +105 -101
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives.mjs +1 -1
- package/fesm2022/ng-doc-ui-kit-interceptors.mjs +24 -21
- package/fesm2022/ng-doc-ui-kit-interceptors.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-observables.mjs +2 -58
- package/fesm2022/ng-doc-ui-kit-observables.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs +3 -4
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs +3 -4
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-execute.mjs +3 -4
- package/fesm2022/ng-doc-ui-kit-pipes-execute.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs +3 -4
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-dialog.mjs +14 -8
- package/fesm2022/ng-doc-ui-kit-services-dialog.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs +13 -8
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs +15 -11
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs +20 -9
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs +11 -13
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-tokens.mjs +29 -3
- package/fesm2022/ng-doc-ui-kit-tokens.mjs.map +1 -1
- package/package.json +27 -30
- package/styles/main.css +271 -34
- package/types/ng-doc-ui-kit-cdk-combobox-host.d.ts +16 -8
- package/types/ng-doc-ui-kit-classes-base-input.d.ts +12 -1
- package/types/ng-doc-ui-kit-classes-overlay-ref.d.ts +27 -4
- package/types/ng-doc-ui-kit-components-blockquote.d.ts +22 -5
- package/types/ng-doc-ui-kit-components-button-icon.d.ts +23 -5
- package/types/ng-doc-ui-kit-components-button-toggle.d.ts +5 -1
- package/types/ng-doc-ui-kit-components-button.d.ts +6 -6
- package/types/ng-doc-ui-kit-components-checkbox.d.ts +5 -3
- package/types/ng-doc-ui-kit-components-clear-control.d.ts +7 -0
- package/types/ng-doc-ui-kit-components-combobox.d.ts +19 -9
- package/types/ng-doc-ui-kit-components-data-list-group.d.ts +16 -11
- package/types/ng-doc-ui-kit-components-data-list.d.ts +21 -11
- package/types/ng-doc-ui-kit-components-dialog-outlet.d.ts +11 -6
- package/types/ng-doc-ui-kit-components-dot.d.ts +10 -5
- package/types/ng-doc-ui-kit-components-dropdown.d.ts +39 -27
- package/types/ng-doc-ui-kit-components-expander.d.ts +9 -7
- package/types/ng-doc-ui-kit-components-floated-content.d.ts +8 -6
- package/types/ng-doc-ui-kit-components-focus-control.d.ts +10 -4
- package/types/ng-doc-ui-kit-components-icon.d.ts +49 -14
- package/types/ng-doc-ui-kit-components-input-wrapper.d.ts +31 -17
- package/types/ng-doc-ui-kit-components-label.d.ts +8 -5
- package/types/ng-doc-ui-kit-components-line.d.ts +3 -0
- package/types/ng-doc-ui-kit-components-list.d.ts +14 -3
- package/types/ng-doc-ui-kit-components-magnifier-controller.d.ts +5 -1
- package/types/ng-doc-ui-kit-components-magnifier.d.ts +19 -4
- package/types/ng-doc-ui-kit-components-option-group.d.ts +12 -8
- package/types/ng-doc-ui-kit-components-option.d.ts +9 -2
- package/types/ng-doc-ui-kit-components-overlay-container.d.ts +18 -15
- package/types/ng-doc-ui-kit-components-overlay-pointer.d.ts +10 -6
- package/types/ng-doc-ui-kit-components-pane.d.ts +25 -9
- package/types/ng-doc-ui-kit-components-selection.d.ts +59 -21
- package/types/ng-doc-ui-kit-components-sidenav.d.ts +17 -8
- package/types/ng-doc-ui-kit-components-spinner.d.ts +7 -3
- package/types/ng-doc-ui-kit-components-tab-group.d.ts +48 -22
- package/types/ng-doc-ui-kit-components-tab-routes-group.d.ts +4 -2
- package/types/ng-doc-ui-kit-components-tag.d.ts +13 -6
- package/types/ng-doc-ui-kit-components-text.d.ts +21 -19
- package/types/ng-doc-ui-kit-components-toggle.d.ts +13 -7
- package/types/ng-doc-ui-kit-components-wrapper.d.ts +3 -0
- package/types/ng-doc-ui-kit-directives-autofocus.d.ts +7 -5
- package/types/ng-doc-ui-kit-directives-checked-change.d.ts +15 -11
- package/types/ng-doc-ui-kit-directives-data.d.ts +6 -4
- package/types/ng-doc-ui-kit-directives-dropdown-handler.d.ts +5 -3
- package/types/ng-doc-ui-kit-directives-event-switcher.d.ts +11 -6
- package/types/ng-doc-ui-kit-directives-focus-catcher.d.ts +11 -8
- package/types/ng-doc-ui-kit-directives-focusable.d.ts +6 -3
- package/types/ng-doc-ui-kit-directives-fullscreen.d.ts +39 -0
- package/types/ng-doc-ui-kit-directives-hotkey.d.ts +14 -7
- package/types/ng-doc-ui-kit-directives-input-number.d.ts +3 -2
- package/types/ng-doc-ui-kit-directives-input-string.d.ts +2 -2
- package/types/ng-doc-ui-kit-directives-radio-group.d.ts +4 -0
- package/types/ng-doc-ui-kit-directives-rotator.d.ts +8 -8
- package/types/ng-doc-ui-kit-directives-tooltip.d.ts +35 -23
- package/types/ng-doc-ui-kit-directives.d.ts +1 -1
- package/types/ng-doc-ui-kit-interceptors.d.ts +18 -2
- package/types/ng-doc-ui-kit-interfaces.d.ts +20 -4
- package/types/ng-doc-ui-kit-observables.d.ts +2 -19
- package/types/ng-doc-ui-kit-services-dialog.d.ts +10 -1
- package/types/ng-doc-ui-kit-services-notify.d.ts +9 -1
- package/types/ng-doc-ui-kit-services-overlay-strategy.d.ts +5 -3
- package/types/ng-doc-ui-kit-services-overlay.d.ts +14 -3
- package/types/ng-doc-ui-kit-services-scroll.d.ts +4 -5
- package/fesm2022/ng-doc-ui-kit-decorators.mjs +0 -53
- package/fesm2022/ng-doc-ui-kit-decorators.mjs.map +0 -1
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs +0 -43
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs.map +0 -1
- package/types/ng-doc-ui-kit-decorators.d.ts +0 -12
- package/types/ng-doc-ui-kit-directives-let.d.ts +0 -22
|
@@ -1,31 +1,57 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal, ElementRef } from '@angular/core';
|
|
1
3
|
import { NgDocContent } from '@ng-doc/ui-kit/types';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { AfterContentInit, AfterViewInit, QueryList, ElementRef } from '@angular/core';
|
|
4
4
|
|
|
5
|
+
/** One tab of an `ng-doc-tab-group`: its label, its id and the content of its panel. */
|
|
5
6
|
declare class NgDocTabComponent<T> {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
/** Label of the tab: a string or a template. */
|
|
8
|
+
readonly label: _angular_core.InputSignal<NgDocContent>;
|
|
9
|
+
/** Id the group's `openedTab` refers to. */
|
|
10
|
+
readonly id: _angular_core.InputSignal<number | T>;
|
|
11
|
+
/** Content of the tab's panel. */
|
|
12
|
+
readonly content: _angular_core.InputSignal<NgDocContent>;
|
|
13
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocTabComponent<any>, never>;
|
|
14
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgDocTabComponent<any>, "ng-doc-tab, a[ng-doc-tab]", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Tabs as a segmented control over one panel. It follows the WAI-ARIA tabs pattern: the arrow keys,
|
|
19
|
+
* Home and End move between the tabs and select them. The highlight of the open tab slides to
|
|
20
|
+
* the newly opened one.
|
|
21
|
+
*/
|
|
22
|
+
declare class NgDocTabGroupComponent<T = number> {
|
|
23
|
+
/**
|
|
24
|
+
* `framed` draws the header bar and the panel as one surface; `plain` draws only the tabs over
|
|
25
|
+
* a line, and the panel takes no frame or background of its own, for content that has its own.
|
|
26
|
+
*/
|
|
27
|
+
readonly appearance: _angular_core.InputSignal<"framed" | "plain">;
|
|
28
|
+
/** Id of the tab to open; the first tab opens when it is not set or matches no tab. */
|
|
29
|
+
readonly openedTab: _angular_core.InputSignal<T | undefined>;
|
|
30
|
+
/** The tabs of the group. */
|
|
31
|
+
readonly tabs: Signal<ReadonlyArray<NgDocTabComponent<T>>>;
|
|
32
|
+
/** Header buttons of the tabs, in order. */
|
|
33
|
+
readonly tabElements: Signal<ReadonlyArray<ElementRef<HTMLElement>>>;
|
|
34
|
+
/**
|
|
35
|
+
* The open tab. It follows `openedTab` and the tab list; a tab the user selects stays open as
|
|
36
|
+
* long as it is in the group and `openedTab` does not change.
|
|
37
|
+
*/
|
|
38
|
+
readonly selectedTab: _angular_core.WritableSignal<NgDocTabComponent<T> | undefined>;
|
|
39
|
+
/** Index of the open tab, or -1. */
|
|
40
|
+
readonly selectedIndex: Signal<number>;
|
|
41
|
+
/** Prefix of the ids that tie the tabs to the panel. */
|
|
42
|
+
protected readonly idPrefix: string;
|
|
43
|
+
/**
|
|
44
|
+
* Opens a tab.
|
|
45
|
+
* @param tab - The tab to open.
|
|
46
|
+
*/
|
|
26
47
|
selectTab(tab: NgDocTabComponent<T>): void;
|
|
27
|
-
|
|
28
|
-
|
|
48
|
+
/**
|
|
49
|
+
* Moves the selection with the keyboard and focuses the new tab.
|
|
50
|
+
* @param event - The key press on a tab.
|
|
51
|
+
*/
|
|
52
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
53
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocTabGroupComponent<any>, never>;
|
|
54
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgDocTabGroupComponent<any>, "ng-doc-tab-group", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "openedTab": { "alias": "openedTab"; "required": false; "isSignal": true; }; }, {}, ["tabs"], never, true, never>;
|
|
29
55
|
}
|
|
30
56
|
|
|
31
57
|
export { NgDocTabComponent, NgDocTabGroupComponent };
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import * as i1 from '@ng-doc/ui-kit/components/selection';
|
|
3
3
|
|
|
4
|
+
/** A link of an `ng-doc-tab-routes-group`; the active one is underlined and marked current. */
|
|
4
5
|
declare class NgDocTabRouteComponent {
|
|
5
|
-
|
|
6
|
+
/** Whether the link's route is active. */
|
|
7
|
+
readonly isActive: i0.InputSignal<boolean>;
|
|
6
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocTabRouteComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgDocTabRouteComponent, "a[ng-doc-tab-route]", never, { "isActive": { "alias": "isActive"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgDocSelectionOriginDirective; inputs: { "ngDocSelectionOrigin": "isActive"; }; outputs: {}; }]>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgDocTabRouteComponent, "a[ng-doc-tab-route]", never, { "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgDocSelectionOriginDirective; inputs: { "ngDocSelectionOrigin": "isActive"; }; outputs: {}; }]>;
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
declare class NgDocTabRoutesGroupComponent {
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { NgDocColor, NgDocTagSize } from '@ng-doc/ui-kit/types';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* A small label. The `default` mod is a solid fill of the colour; the `light` mod is a soft chip
|
|
6
|
+
* whose text mixes the colour toward the heading colour, so it stays readable in every theme.
|
|
7
|
+
*/
|
|
4
8
|
declare class NgDocTagComponent {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
/** Colour of the tag. */
|
|
10
|
+
readonly color: _angular_core.InputSignal<NgDocColor>;
|
|
11
|
+
/** Size of the tag. */
|
|
12
|
+
readonly size: _angular_core.InputSignal<NgDocTagSize>;
|
|
13
|
+
/** `default` fills the tag with the colour, `light` makes a soft chip of it. */
|
|
14
|
+
readonly mod: _angular_core.InputSignal<"default" | "light">;
|
|
15
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocTagComponent, never>;
|
|
16
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgDocTagComponent, "ng-doc-tag", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "mod": { "alias": "mod"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
17
|
}
|
|
11
18
|
|
|
12
19
|
export { NgDocTagComponent };
|
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { AfterContentChecked } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
import { NgDocSize, NgDocTextColor, NgDocTextAlign } from '@ng-doc/ui-kit/types';
|
|
4
3
|
|
|
5
4
|
/** Using to display content on the left side */
|
|
6
5
|
declare class NgDocTextLeftDirective {
|
|
7
|
-
static ɵfac:
|
|
8
|
-
static ɵdir:
|
|
6
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocTextLeftDirective, never>;
|
|
7
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgDocTextLeftDirective, "[ngDocTextLeft]", never, {}, {}, never, never, true, never>;
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
/** Using to display content on the right side */
|
|
12
11
|
declare class NgDocTextRightDirective {
|
|
13
|
-
static ɵfac:
|
|
14
|
-
static ɵdir:
|
|
12
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocTextRightDirective, never>;
|
|
13
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgDocTextRightDirective, "[ngDocTextRight]", never, {}, {}, never, never, true, never>;
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Text with the UI Kit typography, optionally with content on its left or right side
|
|
18
|
+
* (`ngDocTextLeft`, `ngDocTextRight`).
|
|
19
|
+
*/
|
|
20
|
+
declare class NgDocTextComponent {
|
|
19
21
|
/** Text size */
|
|
20
|
-
size: NgDocSize
|
|
22
|
+
readonly size: _angular_core.InputSignal<NgDocSize>;
|
|
21
23
|
/** Text color */
|
|
22
|
-
color: NgDocTextColor
|
|
24
|
+
readonly color: _angular_core.InputSignal<NgDocTextColor>;
|
|
23
25
|
/** Text align */
|
|
24
|
-
align: NgDocTextAlign
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
static ɵfac:
|
|
32
|
-
static ɵcmp:
|
|
26
|
+
readonly align: _angular_core.InputSignal<NgDocTextAlign>;
|
|
27
|
+
/** Positions the side content absolutely, so it does not take space from the text. */
|
|
28
|
+
readonly absoluteContent: _angular_core.InputSignal<boolean>;
|
|
29
|
+
/** Content projected with `ngDocTextLeft`. */
|
|
30
|
+
readonly leftContent: _angular_core.Signal<NgDocTextLeftDirective | undefined>;
|
|
31
|
+
/** Content projected with `ngDocTextRight`. */
|
|
32
|
+
readonly rightContent: _angular_core.Signal<NgDocTextRightDirective | undefined>;
|
|
33
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocTextComponent, never>;
|
|
34
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgDocTextComponent, "[ng-doc-text]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "absoluteContent": { "alias": "absoluteContent"; "required": false; "isSignal": true; }; }, {}, ["leftContent", "rightContent"], ["[ngDocTextLeft]", "*", "[ngDocTextRight]"], true, never>;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
export { NgDocTextComponent, NgDocTextLeftDirective, NgDocTextRightDirective };
|
|
@@ -1,18 +1,24 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
3
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
3
|
import { DIStateControl } from 'di-controls';
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Switch control. It works with forms (`ngModel`, reactive forms, `[formField]`) and with host
|
|
7
|
+
* controls; the circle can be clicked or dragged.
|
|
8
|
+
*/
|
|
9
|
+
declare class NgDocToggleComponent<T> extends DIStateControl<T> implements ControlValueAccessor {
|
|
10
|
+
private readonly document;
|
|
11
|
+
private readonly toggleDestroyRef;
|
|
12
|
+
private readonly wrapper;
|
|
13
|
+
private readonly circle;
|
|
14
|
+
/** Whether the user is dragging the circle. */
|
|
15
|
+
protected readonly dragging: i0.WritableSignal<boolean>;
|
|
10
16
|
private maxPixelValue;
|
|
11
17
|
constructor();
|
|
12
|
-
ngOnInit(): void;
|
|
13
18
|
updateModel(value: boolean | T | null): void;
|
|
19
|
+
protected onWrapperClick(): void;
|
|
14
20
|
protected setState(isSelected: boolean): void;
|
|
15
|
-
private
|
|
21
|
+
private listenToDrag;
|
|
16
22
|
private detectByCoordinates;
|
|
17
23
|
private changeCirclePosition;
|
|
18
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocToggleComponent<any>, never>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Wraps an input and its controls; the border takes the focus color while it holds focus.
|
|
5
|
+
*/
|
|
3
6
|
declare class NgDocWrapperComponent {
|
|
4
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocWrapperComponent, never>;
|
|
5
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<NgDocWrapperComponent, "ng-doc-wrapper", never, {}, {}, never, ["*"], true, never>;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Focuses the host when it is created, if the host can take keyboard focus.
|
|
6
|
+
*/
|
|
4
7
|
declare class NgDocAutofocusDirective implements OnInit {
|
|
5
|
-
private elementRef;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
constructor(...args: unknown[]);
|
|
8
|
+
private readonly elementRef;
|
|
9
|
+
/** Selects the whole value of an `input` host after focusing it. */
|
|
10
|
+
readonly selectAll: i0.InputSignal<boolean>;
|
|
9
11
|
ngOnInit(): void;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocAutofocusDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocAutofocusDirective, "[ngDocAutofocus]", never, { "selectAll": { "alias": "selectAll"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocAutofocusDirective, "[ngDocAutofocus]", never, { "selectAll": { "alias": "selectAll"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
export { NgDocAutofocusDirective };
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Binds the checked state of a native checkbox: `true`, `false`, or `null` for the
|
|
5
|
+
* indeterminate state. Use `[ngDocChecked]` and `(ngDocCheckedChange)`, or both at once with
|
|
6
|
+
* `[(ngDocChecked)]`.
|
|
7
|
+
*/
|
|
4
8
|
declare class NgDocCheckedChangeDirective {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
readonly ngDocCheckedChange:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
static ɵfac:
|
|
13
|
-
static ɵdir:
|
|
9
|
+
/** Checked state; `null` shows the checkbox as indeterminate. */
|
|
10
|
+
readonly ngDocChecked: _angular_core.InputSignal<boolean | null>;
|
|
11
|
+
/** Emits the new checked state when the user changes it. */
|
|
12
|
+
readonly ngDocCheckedChange: _angular_core.OutputEmitterRef<boolean>;
|
|
13
|
+
/** What the checkbox shows: the bound state until the user changes it. */
|
|
14
|
+
protected readonly state: _angular_core.WritableSignal<boolean | null>;
|
|
15
|
+
protected onChange(target: EventTarget | null): void;
|
|
16
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocCheckedChangeDirective, never>;
|
|
17
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgDocCheckedChangeDirective, "input[ngDocChecked], input[ngDocCheckedChange]", never, { "ngDocChecked": { "alias": "ngDocChecked"; "required": false; "isSignal": true; }; }, { "ngDocCheckedChange": "ngDocCheckedChange"; }, never, never, true, never>;
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
export { NgDocCheckedChangeDirective };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Keeps its template unrendered, so that a parent can query it (with `read: TemplateRef`) and
|
|
6
|
+
* render it somewhere else, for example in a dropdown.
|
|
7
|
+
*/
|
|
4
8
|
declare class NgDocDataDirective {
|
|
5
|
-
protected template: TemplateRef<unknown>;
|
|
6
|
-
protected viewContainerRef: ViewContainerRef;
|
|
7
|
-
/** Inserted by Angular inject() migration for backwards compatibility */
|
|
8
|
-
constructor(...args: unknown[]);
|
|
9
|
+
protected readonly template: TemplateRef<unknown>;
|
|
10
|
+
protected readonly viewContainerRef: ViewContainerRef;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocDataDirective, never>;
|
|
10
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocDataDirective, "[ngDocData]", never, {}, {}, never, never, true, never>;
|
|
11
13
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { NgDocDropdownComponent } from '@ng-doc/ui-kit/components/dropdown';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
2
|
+
import { NgDocDropdownComponent } from '@ng-doc/ui-kit/components/dropdown';
|
|
3
3
|
|
|
4
|
+
/** Opens the dropdown on ArrowDown and closes it on Escape while the host has focus. */
|
|
4
5
|
declare class NgDocDropdownHandlerDirective {
|
|
5
|
-
dropdown
|
|
6
|
+
/** The dropdown the host controls. */
|
|
7
|
+
readonly dropdown: i0.InputSignal<NgDocDropdownComponent | undefined>;
|
|
6
8
|
keyboardEvent(event: KeyboardEvent): void;
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocDropdownHandlerDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocDropdownHandlerDirective, "[ngDocDropdownHandler]", never, { "dropdown": { "alias": "ngDocDropdownHandler"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocDropdownHandlerDirective, "[ngDocDropdownHandler]", never, { "dropdown": { "alias": "ngDocDropdownHandler"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
11
|
}
|
|
10
12
|
|
|
11
13
|
export { NgDocDropdownHandlerDirective };
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { BaseElement } from '@ng-doc/ui-kit/types';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Re-dispatches the given events of the host on another element, for example the events of an
|
|
7
|
+
* overlay on its origin.
|
|
8
|
+
*/
|
|
5
9
|
declare class NgDocEventSwitcherDirective implements OnInit {
|
|
6
10
|
private elementRef;
|
|
7
11
|
private ngZone;
|
|
8
|
-
switchTo: BaseElement<HTMLElement> | null;
|
|
9
|
-
events: string | string[];
|
|
10
12
|
private readonly destroyRef;
|
|
11
|
-
|
|
13
|
+
/** The element that receives the events. */
|
|
14
|
+
readonly switchTo: _angular_core.InputSignal<BaseElement<HTMLElement> | null>;
|
|
15
|
+
/** The names of the events to re-dispatch. They are read once, when the directive starts. */
|
|
16
|
+
readonly events: _angular_core.InputSignal<string | string[]>;
|
|
12
17
|
ngOnInit(): void;
|
|
13
18
|
private makeEvent;
|
|
14
|
-
static ɵfac:
|
|
15
|
-
static ɵdir:
|
|
19
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocEventSwitcherDirective, never>;
|
|
20
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgDocEventSwitcherDirective, "[ngDocEventSwitcher]", never, { "switchTo": { "alias": "ngDocEventSwitcher"; "required": false; "isSignal": true; }; "events": { "alias": "events"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
21
|
}
|
|
17
22
|
|
|
18
23
|
export { NgDocEventSwitcherDirective };
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
|
|
4
|
+
/** Tracks whether focus is inside the host element. */
|
|
5
5
|
declare class NgDocFocusCatcherDirective {
|
|
6
6
|
private elementRef;
|
|
7
7
|
private ngZone;
|
|
8
|
-
|
|
9
|
-
focusEvent:
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
/** Emits when focus moves into the host. */
|
|
9
|
+
readonly focusEvent: _angular_core.OutputEmitterRef<Event>;
|
|
10
|
+
/** Emits when focus leaves the host. */
|
|
11
|
+
readonly blurEvent: _angular_core.OutputEmitterRef<Event>;
|
|
12
|
+
protected readonly focusedState: _angular_core.WritableSignal<boolean>;
|
|
12
13
|
constructor();
|
|
14
|
+
/** Whether focus is inside the host. */
|
|
15
|
+
get focused(): boolean;
|
|
13
16
|
static observeFocus(element: HTMLElement): Observable<FocusEvent>;
|
|
14
|
-
static ɵfac:
|
|
15
|
-
static ɵdir:
|
|
17
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocFocusCatcherDirective, never>;
|
|
18
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgDocFocusCatcherDirective, "[ngDocFocusCatcher]", ["ngDocFocusCatcher"], {}, { "focusEvent": "focusEvent"; "blurEvent": "blurEvent"; }, never, never, true, never>;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
export { NgDocFocusCatcherDirective };
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Puts the host into the tab order (`tabindex="0"`) or takes it out (`tabindex="-1"`).
|
|
5
|
+
*/
|
|
3
6
|
declare class NgDocFocusableDirective {
|
|
4
|
-
|
|
5
|
-
|
|
7
|
+
/** Whether the host can be focused with the keyboard. */
|
|
8
|
+
readonly focusable: i0.InputSignal<boolean>;
|
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocFocusableDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocFocusableDirective, "[ngDocFocusable]", ["ngDocFocusable"], { "focusable": { "alias": "ngDocFocusable"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocFocusableDirective, "[ngDocFocusable]", ["ngDocFocusable"], { "focusable": { "alias": "ngDocFocusable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
11
|
}
|
|
9
12
|
|
|
10
13
|
export { NgDocFocusableDirective };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Signal } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Shows its host element fullscreen with the browser Fullscreen API.
|
|
6
|
+
*
|
|
7
|
+
* `supported()` stays `false` on the server and in browsers that do not allow fullscreen
|
|
8
|
+
* (`document.fullscreenEnabled`), so a control that uses the directive can hide itself there.
|
|
9
|
+
* `active()` follows the browser's fullscreen state, including an exit with Esc, and the host
|
|
10
|
+
* gets `data-ng-doc-fullscreen="true"` while it is fullscreen.
|
|
11
|
+
* @example
|
|
12
|
+
* <div ngDocFullscreen #stage="ngDocFullscreen">
|
|
13
|
+
* <button (click)="stage.toggle()">{{ stage.active() ? 'Exit fullscreen' : 'Fullscreen' }}</button>
|
|
14
|
+
* </div>
|
|
15
|
+
*/
|
|
16
|
+
declare class NgDocFullscreenDirective {
|
|
17
|
+
private readonly document;
|
|
18
|
+
private readonly host;
|
|
19
|
+
private readonly supportedState;
|
|
20
|
+
private readonly activeState;
|
|
21
|
+
/** Whether the browser can show the host fullscreen. Always `false` on the server. */
|
|
22
|
+
readonly supported: Signal<boolean>;
|
|
23
|
+
/** Whether the host is shown fullscreen. */
|
|
24
|
+
readonly active: Signal<boolean>;
|
|
25
|
+
constructor();
|
|
26
|
+
/**
|
|
27
|
+
* Shows the host fullscreen. Does nothing where fullscreen is not supported, and a request the
|
|
28
|
+
* browser refuses leaves the page as it is.
|
|
29
|
+
*/
|
|
30
|
+
enter(): Promise<void>;
|
|
31
|
+
/** Leaves fullscreen when the host is the fullscreen element. */
|
|
32
|
+
exit(): Promise<void>;
|
|
33
|
+
/** Enters fullscreen, or leaves it when the host is already fullscreen. */
|
|
34
|
+
toggle(): Promise<void>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocFullscreenDirective, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocFullscreenDirective, "[ngDocFullscreen]", ["ngDocFullscreen"], {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { NgDocFullscreenDirective };
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
3
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Emits when a key that matches the given keyboard event properties is released anywhere in the
|
|
5
|
+
* document, except while the reader types in a field.
|
|
6
|
+
* @example
|
|
7
|
+
* <button [ngDocHotkey]="{ key: 'k', ctrlKey: true }" (ngDocHotkey)="open()">Open</button>
|
|
8
|
+
*/
|
|
4
9
|
declare class NgDocHotkeyDirective {
|
|
5
|
-
|
|
6
|
-
hotkey
|
|
7
|
-
|
|
10
|
+
/** The keyboard event properties to match, for example the key and the modifier keys. */
|
|
11
|
+
readonly hotkey: _angular_core.InputSignal<Partial<KeyboardEvent> | undefined>;
|
|
12
|
+
/** Emits when the hotkey is released. */
|
|
13
|
+
readonly callback: _angular_core.OutputEmitterRef<void>;
|
|
8
14
|
constructor();
|
|
9
|
-
|
|
10
|
-
static
|
|
15
|
+
private matches;
|
|
16
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocHotkeyDirective, never>;
|
|
17
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgDocHotkeyDirective, "[ngDocHotkey]", never, { "hotkey": { "alias": "ngDocHotkey"; "required": false; "isSignal": true; }; }, { "callback": "ngDocHotkey"; }, never, never, true, never>;
|
|
11
18
|
}
|
|
12
19
|
|
|
13
20
|
export { NgDocHotkeyDirective };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { NgDocBaseInput } from '@ng-doc/ui-kit/classes/base-input';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
|
|
4
|
+
/** Directive turns a native input into a control whose model is a number */
|
|
4
5
|
declare class NgDocInputNumberDirective extends NgDocBaseInput<number> {
|
|
5
6
|
constructor();
|
|
6
|
-
blurEvent(): void;
|
|
7
|
-
inputEvent(): void;
|
|
7
|
+
protected blurEvent(): void;
|
|
8
|
+
protected inputEvent(): void;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocInputNumberDirective, never>;
|
|
9
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocInputNumberDirective, "input[ngDocInputNumber]", never, {}, {}, never, never, true, never>;
|
|
10
11
|
}
|
|
@@ -4,8 +4,8 @@ import * as i0 from '@angular/core';
|
|
|
4
4
|
/** Directive converts any input data or model to text */
|
|
5
5
|
declare class NgDocInputStringDirective extends NgDocBaseInput<string> {
|
|
6
6
|
constructor();
|
|
7
|
-
blurEvent(): void;
|
|
8
|
-
inputEvent(): void;
|
|
7
|
+
protected blurEvent(): void;
|
|
8
|
+
protected inputEvent(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocInputStringDirective, never>;
|
|
10
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NgDocInputStringDirective, "input[ngDocInputString]", never, {}, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { DIControl } from 'di-controls';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* Host control for a group of state controls (for example `ng-doc-button-toggle`): the group's
|
|
6
|
+
* model is the value of the checked control, so only one control is checked at a time.
|
|
7
|
+
*/
|
|
4
8
|
declare class NgDocRadioGroupDirective<T> extends DIControl<T> {
|
|
5
9
|
constructor();
|
|
6
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgDocRadioGroupDirective<any>, never>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Directive rotates host with transition
|
|
5
5
|
*/
|
|
6
6
|
declare class NgDocRotatorDirective {
|
|
7
7
|
/** Rotator state */
|
|
8
|
-
rotated: boolean
|
|
8
|
+
readonly rotated: _angular_core.InputSignal<boolean>;
|
|
9
9
|
/** Start position angle */
|
|
10
|
-
from: number
|
|
11
|
-
/** End position
|
|
12
|
-
to: number
|
|
13
|
-
|
|
14
|
-
static ɵfac:
|
|
15
|
-
static ɵdir:
|
|
10
|
+
readonly from: _angular_core.InputSignal<number>;
|
|
11
|
+
/** End position angle */
|
|
12
|
+
readonly to: _angular_core.InputSignal<number>;
|
|
13
|
+
protected transform(): string;
|
|
14
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocRotatorDirective, never>;
|
|
15
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NgDocRotatorDirective, "[ngDocRotator]", never, { "rotated": { "alias": "ngDocRotator"; "required": false; "isSignal": true; }; "from": { "alias": "from"; "required": false; "isSignal": true; }; "to": { "alias": "to"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export { NgDocRotatorDirective };
|