@taiga-ui/addon-doc 4.52.0-canary.536e4ff → 4.52.0-canary.55ce829
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/components/api/api-item.component.d.ts +3 -3
- package/components/code/index.d.ts +1 -1
- package/components/example/example.component.d.ts +3 -7
- package/components/internal/header/index.d.ts +3 -4
- package/components/main/main.component.d.ts +1 -2
- package/components/navigation/navigation.component.d.ts +3 -3
- package/fesm2022/taiga-ui-addon-doc-components.mjs +144 -173
- package/fesm2022/taiga-ui-addon-doc-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc-directives.mjs +4 -4
- package/fesm2022/taiga-ui-addon-doc-directives.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc-services.mjs +4 -4
- package/fesm2022/taiga-ui-addon-doc-services.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc-tokens.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-doc-utils.mjs +1 -1
- package/fesm2022/taiga-ui-addon-doc-utils.mjs.map +1 -1
- package/package.json +7 -21
- package/esm2022/components/api/api-item-number.directive.mjs +0 -23
- package/esm2022/components/api/api-item.component.mjs +0 -118
- package/esm2022/components/api/api.component.mjs +0 -16
- package/esm2022/components/code/index.mjs +0 -46
- package/esm2022/components/copy/index.mjs +0 -29
- package/esm2022/components/demo/index.mjs +0 -170
- package/esm2022/components/doc-tab/index.mjs +0 -17
- package/esm2022/components/documentation/documentation-property-connector.directive.mjs +0 -134
- package/esm2022/components/documentation/documentation.component.mjs +0 -108
- package/esm2022/components/documentation/pipes/cleaner.pipe.mjs +0 -18
- package/esm2022/components/documentation/pipes/color.pipe.mjs +0 -39
- package/esm2022/components/documentation/pipes/inspect.pipe.mjs +0 -33
- package/esm2022/components/documentation/pipes/opacity.pipe.mjs +0 -30
- package/esm2022/components/documentation/pipes/optional.pipe.mjs +0 -18
- package/esm2022/components/documentation/pipes/primitive-polymorpheus-content.pipe.mjs +0 -19
- package/esm2022/components/documentation/pipes/strip-optional.pipe.mjs +0 -18
- package/esm2022/components/documentation/pipes/type-reference.pipe.mjs +0 -29
- package/esm2022/components/example/example-get-tabs.pipe.mjs +0 -18
- package/esm2022/components/example/example.component.mjs +0 -118
- package/esm2022/components/example/example.options.mjs +0 -19
- package/esm2022/components/index.mjs +0 -33
- package/esm2022/components/internal/header/index.mjs +0 -39
- package/esm2022/components/internal/see-also/index.mjs +0 -26
- package/esm2022/components/internal/source-code/source-code.component.mjs +0 -54
- package/esm2022/components/language-switcher/index.mjs +0 -77
- package/esm2022/components/main/main.component.mjs +0 -41
- package/esm2022/components/navigation/navigation.component.mjs +0 -205
- package/esm2022/components/navigation/navigation.providers.mjs +0 -59
- package/esm2022/components/navigation/scroll-into-view.directive.mjs +0 -32
- package/esm2022/components/page/page-tab.directive.mjs +0 -20
- package/esm2022/components/page/page.component.mjs +0 -77
- package/esm2022/components/page/page.providers.mjs +0 -25
- package/esm2022/components/taiga-ui-addon-doc-components.mjs +0 -5
- package/esm2022/components/theme-switcher/theme-switcher.component.mjs +0 -45
- package/esm2022/directives/index.mjs +0 -2
- package/esm2022/directives/taiga-ui-addon-doc-directives.mjs +0 -5
- package/esm2022/directives/text-code/text-code.directive.mjs +0 -27
- package/esm2022/index.mjs +0 -28
- package/esm2022/services/index.mjs +0 -2
- package/esm2022/services/taiga-ui-addon-doc-services.mjs +0 -5
- package/esm2022/services/theme-dark.service.mjs +0 -52
- package/esm2022/taiga-ui-addon-doc.mjs +0 -5
- package/esm2022/tokens/code-actions.mjs +0 -8
- package/esm2022/tokens/code-editor.mjs +0 -6
- package/esm2022/tokens/default-tabs.mjs +0 -8
- package/esm2022/tokens/doc-icons.mjs +0 -29
- package/esm2022/tokens/example-content-processor.mjs +0 -16
- package/esm2022/tokens/excluded-properties.mjs +0 -11
- package/esm2022/tokens/i18n.mjs +0 -62
- package/esm2022/tokens/index.mjs +0 -17
- package/esm2022/tokens/logo.mjs +0 -8
- package/esm2022/tokens/page-loaded.mjs +0 -9
- package/esm2022/tokens/pages.mjs +0 -12
- package/esm2022/tokens/see-also.mjs +0 -8
- package/esm2022/tokens/source-code.mjs +0 -8
- package/esm2022/tokens/support-language.mjs +0 -5
- package/esm2022/tokens/taiga-ui-addon-doc-tokens.mjs +0 -5
- package/esm2022/tokens/title.mjs +0 -8
- package/esm2022/tokens/type-reference-handler.mjs +0 -9
- package/esm2022/tokens/url-state-handler.mjs +0 -27
- package/esm2022/types/code-editor.mjs +0 -2
- package/esm2022/types/demo-params.mjs +0 -2
- package/esm2022/types/index.mjs +0 -2
- package/esm2022/types/page.mjs +0 -6
- package/esm2022/types/source-code-path-options.mjs +0 -2
- package/esm2022/types/taiga-ui-addon-doc-types.mjs +0 -5
- package/esm2022/utils/clean-object.mjs +0 -10
- package/esm2022/utils/coerce-boolean.mjs +0 -4
- package/esm2022/utils/coerce-value.mjs +0 -43
- package/esm2022/utils/index.mjs +0 -14
- package/esm2022/utils/inspect.mjs +0 -67
- package/esm2022/utils/is-page-group.mjs +0 -4
- package/esm2022/utils/parse-code-block.mjs +0 -9
- package/esm2022/utils/provide-route-page-tab.mjs +0 -12
- package/esm2022/utils/raw-load-record.mjs +0 -11
- package/esm2022/utils/raw-load.mjs +0 -4
- package/esm2022/utils/sort-pages.mjs +0 -26
- package/esm2022/utils/taiga-ui-addon-doc-utils.mjs +0 -5
- package/esm2022/utils/to-flat-map-pages.mjs +0 -22
- package/esm2022/utils/transliterate-keyboard-layout.mjs +0 -47
- package/esm2022/utils/type-reference-parser.mjs +0 -21
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { EventEmitter, type OnInit } from '@angular/core';
|
|
2
2
|
import { TuiDocAPINumberItem } from './api-item-number.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TuiDocAPIItem<T> implements
|
|
4
|
+
export declare class TuiDocAPIItem<T> implements OnInit {
|
|
5
5
|
private readonly locationRef;
|
|
6
6
|
private readonly activatedRoute;
|
|
7
7
|
private readonly urlSerializer;
|
|
@@ -14,7 +14,7 @@ export declare class TuiDocAPIItem<T> implements AfterViewInit {
|
|
|
14
14
|
value?: T;
|
|
15
15
|
items: readonly T[];
|
|
16
16
|
readonly valueChange: EventEmitter<T>;
|
|
17
|
-
|
|
17
|
+
ngOnInit(): void;
|
|
18
18
|
onValueChange(value: T): void;
|
|
19
19
|
emitEvent(event: unknown): void;
|
|
20
20
|
private clearBrackets;
|
|
@@ -10,7 +10,7 @@ export declare class TuiDocCode {
|
|
|
10
10
|
protected readonly copy$: Subject<void>;
|
|
11
11
|
protected readonly copyText: import("@angular/core").Signal<string | undefined>;
|
|
12
12
|
protected readonly icon: import("@angular/core").Signal<string>;
|
|
13
|
-
protected readonly processor: import("@angular/core").Signal<
|
|
13
|
+
protected readonly processor: import("@angular/core").Signal<readonly string[] | readonly []>;
|
|
14
14
|
filename: string;
|
|
15
15
|
set code(code: TuiRawLoaderContent);
|
|
16
16
|
get hasFilename(): boolean;
|
|
@@ -2,7 +2,7 @@ import { type Type } from '@angular/core';
|
|
|
2
2
|
import { ActivatedRoute } from '@angular/router';
|
|
3
3
|
import { type TuiRawLoaderContent } from '@taiga-ui/addon-doc/types';
|
|
4
4
|
import { type TuiContext } from '@taiga-ui/cdk/types';
|
|
5
|
-
import {
|
|
5
|
+
import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class TuiDocExample {
|
|
8
8
|
private readonly clipboard;
|
|
@@ -11,7 +11,6 @@ export declare class TuiDocExample {
|
|
|
11
11
|
private readonly copyTexts$;
|
|
12
12
|
private readonly processContent;
|
|
13
13
|
private readonly rawLoader$$;
|
|
14
|
-
private readonly lazyLoader$$;
|
|
15
14
|
protected readonly fullscreenEnabled: boolean;
|
|
16
15
|
protected readonly icons: import("@taiga-ui/addon-doc/tokens").TuiDocIcons;
|
|
17
16
|
protected readonly options: import("./example.options").TuiDocExampleOptions;
|
|
@@ -26,20 +25,17 @@ export declare class TuiDocExample {
|
|
|
26
25
|
protected readonly copy: import("@angular/core").Signal<string>;
|
|
27
26
|
protected readonly loading: import("@angular/core").WritableSignal<boolean>;
|
|
28
27
|
protected readonly processor: import("@angular/core").Signal<Record<string, string>>;
|
|
29
|
-
protected readonly lazyComponent: import("@angular/core").Signal<PolymorpheusComponent<unknown> | undefined>;
|
|
30
28
|
id: string | null;
|
|
31
29
|
heading: PolymorpheusContent;
|
|
32
30
|
description: PolymorpheusContent;
|
|
33
31
|
fullsize: boolean;
|
|
34
32
|
componentName: string;
|
|
33
|
+
component?: Promise<Type<unknown>>;
|
|
35
34
|
set content(content: Record<string, TuiRawLoaderContent>);
|
|
36
|
-
set component(content: Promise<{
|
|
37
|
-
readonly default: Type<unknown>;
|
|
38
|
-
}>);
|
|
39
35
|
protected readonly visible: (files: Record<string, string>) => boolean;
|
|
40
36
|
protected getTabTitle(fileName: string): PolymorpheusContent;
|
|
41
37
|
protected copyExampleLink(target: EventTarget | null): void;
|
|
42
38
|
protected edit(files: Record<string, string>): void;
|
|
43
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocExample, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocExample, "tui-doc-example", never, { "id": { "alias": "id"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "description": { "alias": "description"; "required": false; }; "fullsize": { "alias": "fullsize"; "required": false; }; "componentName": { "alias": "componentName"; "required": false; }; "
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocExample, "tui-doc-example", never, { "id": { "alias": "id"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "description": { "alias": "description"; "required": false; }; "fullsize": { "alias": "fullsize"; "required": false; }; "componentName": { "alias": "componentName"; "required": false; }; "component": { "alias": "component"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
45
41
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class TuiDocHeader {
|
|
3
|
-
private readonly stream$;
|
|
4
3
|
private readonly router;
|
|
4
|
+
private readonly routeEvents;
|
|
5
5
|
protected readonly icons: import("@taiga-ui/addon-doc/tokens").TuiDocIcons;
|
|
6
6
|
protected readonly logo: import("@taiga-ui/polymorpheus").PolymorpheusContent;
|
|
7
7
|
protected readonly menu: string;
|
|
8
|
-
protected readonly open: import("@angular/core").
|
|
9
|
-
|
|
10
|
-
protected onActiveZone(active: boolean): void;
|
|
8
|
+
protected readonly open: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
+
constructor();
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocHeader, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocHeader, "header[tuiDocHeader]", never, {}, {}, never, ["*"], true, never>;
|
|
13
12
|
}
|
|
@@ -6,9 +6,8 @@ export declare class TuiDocMain {
|
|
|
6
6
|
protected readonly darkMode: import("@angular/core").WritableSignal<boolean> & {
|
|
7
7
|
reset(): void;
|
|
8
8
|
};
|
|
9
|
-
protected readonly theme: import("@angular/core").Signal<"dark" | null>;
|
|
10
9
|
protected readonly icon: import("@angular/core").Signal<string>;
|
|
11
10
|
changeTextDirection(): void;
|
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiDocMain, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocMain, "tui-doc-main", never, {}, {}, never, ["tuiDocNavigation", "tuiDocHeader", "tuiOverContent"
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TuiDocMain, "tui-doc-main", never, {}, {}, never, ["tuiDocNavigation", "tuiDocHeader", "tuiOverContent"], true, never>;
|
|
14
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FormControl } from '@angular/forms';
|
|
2
2
|
import { type TuiDocRoutePage, type TuiDocRoutePages } from '@taiga-ui/addon-doc/types';
|
|
3
|
-
import {
|
|
3
|
+
import { TuiDrawer } from '@taiga-ui/kit/components/drawer';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TuiDocNavigation {
|
|
6
6
|
private readonly searchInput?;
|
|
@@ -8,7 +8,7 @@ export declare class TuiDocNavigation {
|
|
|
8
8
|
private readonly doc;
|
|
9
9
|
protected open: import("@angular/core").WritableSignal<boolean>;
|
|
10
10
|
protected menuOpen: boolean;
|
|
11
|
-
protected readonly
|
|
11
|
+
protected readonly drawer: TuiDrawer | null;
|
|
12
12
|
protected readonly labels: readonly string[];
|
|
13
13
|
protected readonly items: readonly TuiDocRoutePages[];
|
|
14
14
|
protected readonly searchText: string;
|
|
@@ -19,7 +19,7 @@ export declare class TuiDocNavigation {
|
|
|
19
19
|
protected openPagesGroupsArr: boolean[];
|
|
20
20
|
protected active: string;
|
|
21
21
|
protected readonly search: FormControl<string | null>;
|
|
22
|
-
protected readonly filtered: import("@angular/core").Signal<
|
|
22
|
+
protected readonly filtered: import("@angular/core").Signal<readonly [] | readonly (readonly TuiDocRoutePage[])[]>;
|
|
23
23
|
constructor();
|
|
24
24
|
protected get canOpen(): boolean;
|
|
25
25
|
protected get itemsWithoutSections(): TuiDocRoutePages;
|