@tectra-ng/blocks 0.0.0-stage → 0.1.7
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 +16 -2
- package/action-tile/README.md +33 -0
- package/actions-menu/README.md +42 -0
- package/app-footer/README.md +30 -0
- package/app-layout/README.md +51 -0
- package/command-palette/README.md +63 -0
- package/console-layout/README.md +70 -0
- package/cookie-notice/README.md +45 -0
- package/empty-state/README.md +35 -0
- package/fesm2022/tectra-ng-blocks-action-tile.mjs +294 -0
- package/fesm2022/tectra-ng-blocks-action-tile.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-actions-menu.mjs +380 -0
- package/fesm2022/tectra-ng-blocks-actions-menu.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-app-footer.mjs +276 -0
- package/fesm2022/tectra-ng-blocks-app-footer.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-app-layout.mjs +544 -0
- package/fesm2022/tectra-ng-blocks-app-layout.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-command-palette.mjs +663 -0
- package/fesm2022/tectra-ng-blocks-command-palette.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-console-layout.mjs +1060 -0
- package/fesm2022/tectra-ng-blocks-console-layout.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-cookie-notice.mjs +416 -0
- package/fesm2022/tectra-ng-blocks-cookie-notice.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-empty-state.mjs +278 -0
- package/fesm2022/tectra-ng-blocks-empty-state.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-filters-panel.mjs +959 -0
- package/fesm2022/tectra-ng-blocks-filters-panel.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-kanban.mjs +864 -0
- package/fesm2022/tectra-ng-blocks-kanban.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-network-status.mjs +303 -0
- package/fesm2022/tectra-ng-blocks-network-status.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-page-header.mjs +195 -0
- package/fesm2022/tectra-ng-blocks-page-header.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs +692 -0
- package/fesm2022/tectra-ng-blocks-pinned-tabs.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-public-header.mjs +372 -0
- package/fesm2022/tectra-ng-blocks-public-header.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-qr-code.mjs +487 -0
- package/fesm2022/tectra-ng-blocks-qr-code.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-switch-language.mjs +316 -0
- package/fesm2022/tectra-ng-blocks-switch-language.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-switch-theme.mjs +416 -0
- package/fesm2022/tectra-ng-blocks-switch-theme.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-topbar-preferences.mjs +260 -0
- package/fesm2022/tectra-ng-blocks-topbar-preferences.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks-wizard.mjs +1284 -0
- package/fesm2022/tectra-ng-blocks-wizard.mjs.map +1 -0
- package/fesm2022/tectra-ng-blocks.mjs +4 -0
- package/fesm2022/tectra-ng-blocks.mjs.map +1 -0
- package/filters-panel/README.md +68 -0
- package/kanban/README.md +55 -0
- package/network-status/README.md +33 -0
- package/package.json +137 -3
- package/page-header/README.md +32 -0
- package/pinned-tabs/README.md +42 -0
- package/public-header/README.md +44 -0
- package/qr-code/README.md +52 -0
- package/switch-language/README.md +33 -0
- package/switch-theme/README.md +32 -0
- package/topbar-preferences/README.md +35 -0
- package/types/tectra-ng-blocks-action-tile.d.ts +114 -0
- package/types/tectra-ng-blocks-action-tile.d.ts.map +1 -0
- package/types/tectra-ng-blocks-actions-menu.d.ts +112 -0
- package/types/tectra-ng-blocks-actions-menu.d.ts.map +1 -0
- package/types/tectra-ng-blocks-app-footer.d.ts +111 -0
- package/types/tectra-ng-blocks-app-footer.d.ts.map +1 -0
- package/types/tectra-ng-blocks-app-layout.d.ts +212 -0
- package/types/tectra-ng-blocks-app-layout.d.ts.map +1 -0
- package/types/tectra-ng-blocks-command-palette.d.ts +291 -0
- package/types/tectra-ng-blocks-command-palette.d.ts.map +1 -0
- package/types/tectra-ng-blocks-console-layout.d.ts +454 -0
- package/types/tectra-ng-blocks-console-layout.d.ts.map +1 -0
- package/types/tectra-ng-blocks-cookie-notice.d.ts +168 -0
- package/types/tectra-ng-blocks-cookie-notice.d.ts.map +1 -0
- package/types/tectra-ng-blocks-empty-state.d.ts +138 -0
- package/types/tectra-ng-blocks-empty-state.d.ts.map +1 -0
- package/types/tectra-ng-blocks-filters-panel.d.ts +314 -0
- package/types/tectra-ng-blocks-filters-panel.d.ts.map +1 -0
- package/types/tectra-ng-blocks-kanban.d.ts +260 -0
- package/types/tectra-ng-blocks-kanban.d.ts.map +1 -0
- package/types/tectra-ng-blocks-network-status.d.ts +108 -0
- package/types/tectra-ng-blocks-network-status.d.ts.map +1 -0
- package/types/tectra-ng-blocks-page-header.d.ts +86 -0
- package/types/tectra-ng-blocks-page-header.d.ts.map +1 -0
- package/types/tectra-ng-blocks-pinned-tabs.d.ts +159 -0
- package/types/tectra-ng-blocks-pinned-tabs.d.ts.map +1 -0
- package/types/tectra-ng-blocks-public-header.d.ts +142 -0
- package/types/tectra-ng-blocks-public-header.d.ts.map +1 -0
- package/types/tectra-ng-blocks-qr-code.d.ts +160 -0
- package/types/tectra-ng-blocks-qr-code.d.ts.map +1 -0
- package/types/tectra-ng-blocks-switch-language.d.ts +106 -0
- package/types/tectra-ng-blocks-switch-language.d.ts.map +1 -0
- package/types/tectra-ng-blocks-switch-theme.d.ts +108 -0
- package/types/tectra-ng-blocks-switch-theme.d.ts.map +1 -0
- package/types/tectra-ng-blocks-topbar-preferences.d.ts +103 -0
- package/types/tectra-ng-blocks-topbar-preferences.d.ts.map +1 -0
- package/types/tectra-ng-blocks-wizard.d.ts +682 -0
- package/types/tectra-ng-blocks-wizard.d.ts.map +1 -0
- package/types/tectra-ng-blocks.d.ts +2 -0
- package/types/tectra-ng-blocks.d.ts.map +1 -0
- package/wizard/README.md +77 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Topbar preferences
|
|
2
|
+
|
|
3
|
+
The language switch and the theme button together: in one capsule for a top bar, or as labelled rows for a menu or a drawer.
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<tx-topbar-preferences raised (languageChange)="saveLanguage($event)" (modeChange)="saveMode($event)" />
|
|
7
|
+
<tx-topbar-preferences layout="stacked" />
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
It is built from `tx-switch-language` and `tx-switch-theme`; see their pages for the behaviour.
|
|
11
|
+
|
|
12
|
+
## Inputs
|
|
13
|
+
| Name | Description |
|
|
14
|
+
|---|---|
|
|
15
|
+
| layout | `inline` — one capsule (default); `stacked` — "Language" and "Theme" rows |
|
|
16
|
+
| raised | The capsule on the card colour with a shadow, the chosen language in the primary colour — for a top bar over content |
|
|
17
|
+
| languages | Options of the language switch (English and Ukrainian by default) |
|
|
18
|
+
| syncLocale | The language switch sets the `TxLocaleService` locale (default on) |
|
|
19
|
+
| dt | Design tokens of this instance (`topbarPreferences`) |
|
|
20
|
+
| pt | Classes and styles of the parts: `root`, `capsule`, `divider`, `stack`, `row`, `label` |
|
|
21
|
+
| ptOptions | How `pt` merges with the global pass-through |
|
|
22
|
+
| unstyled | Removes the tectra styles |
|
|
23
|
+
|
|
24
|
+
## Outputs
|
|
25
|
+
| Name | Description |
|
|
26
|
+
|---|---|
|
|
27
|
+
| languageChange | The code of the chosen language |
|
|
28
|
+
| modeChange | The new theme mode |
|
|
29
|
+
|
|
30
|
+
## Keyboard
|
|
31
|
+
| Key | Action |
|
|
32
|
+
|---|---|
|
|
33
|
+
| Tab | Moves between the language switch and the theme button |
|
|
34
|
+
| Arrows / Home / End | Choose a language |
|
|
35
|
+
| Enter / Space | On the theme button: switches the theme |
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
2
|
+
import { TxIconName } from "@tectra-ng/icons";
|
|
3
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type TxActionTilePart = 'root' | 'button' | 'icon' | 'body' | 'title' | 'text' | 'end';
|
|
6
|
+
export declare class TxActionTile {
|
|
7
|
+
readonly icon: import("@angular/core").InputSignal<TxIconName | (string & {}) | undefined>;
|
|
8
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly text: import("@angular/core").InputSignal<string | undefined>;
|
|
10
|
+
readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
11
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
13
|
+
root: {
|
|
14
|
+
gap: string;
|
|
15
|
+
padding: string;
|
|
16
|
+
borderRadius: string;
|
|
17
|
+
background: string;
|
|
18
|
+
borderColor: string;
|
|
19
|
+
hoverBorderColor: string;
|
|
20
|
+
hoverBackground: string;
|
|
21
|
+
focusRingShadow: string;
|
|
22
|
+
disabledOpacity: string;
|
|
23
|
+
transitionDuration: string;
|
|
24
|
+
};
|
|
25
|
+
icon: {
|
|
26
|
+
size: string;
|
|
27
|
+
borderRadius: string;
|
|
28
|
+
fontSize: string;
|
|
29
|
+
color: string;
|
|
30
|
+
background: string;
|
|
31
|
+
};
|
|
32
|
+
body: {
|
|
33
|
+
gap: string;
|
|
34
|
+
};
|
|
35
|
+
title: {
|
|
36
|
+
fontSize: string;
|
|
37
|
+
fontWeight: string;
|
|
38
|
+
lineHeight: string;
|
|
39
|
+
color: string;
|
|
40
|
+
};
|
|
41
|
+
text: {
|
|
42
|
+
fontSize: string;
|
|
43
|
+
lineHeight: string;
|
|
44
|
+
color: string;
|
|
45
|
+
};
|
|
46
|
+
end: {
|
|
47
|
+
fontSize: string;
|
|
48
|
+
color: string;
|
|
49
|
+
hoverColor: string;
|
|
50
|
+
hoverShift: string;
|
|
51
|
+
};
|
|
52
|
+
}> | undefined>;
|
|
53
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxActionTilePart, import("@tectra-ng/core/config").TxPassThroughValue<TxActionTile>>> | undefined>;
|
|
54
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
55
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
56
|
+
readonly tileClick: import("@angular/core").OutputEmitterRef<void>;
|
|
57
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
58
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxActionTilePart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
59
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
60
|
+
[x: string]: string;
|
|
61
|
+
}>;
|
|
62
|
+
protected onClick(): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxActionTile, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxActionTile, "tx-action-tile", never, {
|
|
65
|
+
"icon": {
|
|
66
|
+
"alias": "icon";
|
|
67
|
+
"required": false;
|
|
68
|
+
"isSignal": true;
|
|
69
|
+
};
|
|
70
|
+
"title": {
|
|
71
|
+
"alias": "title";
|
|
72
|
+
"required": true;
|
|
73
|
+
"isSignal": true;
|
|
74
|
+
};
|
|
75
|
+
"text": {
|
|
76
|
+
"alias": "text";
|
|
77
|
+
"required": false;
|
|
78
|
+
"isSignal": true;
|
|
79
|
+
};
|
|
80
|
+
"loading": {
|
|
81
|
+
"alias": "loading";
|
|
82
|
+
"required": false;
|
|
83
|
+
"isSignal": true;
|
|
84
|
+
};
|
|
85
|
+
"disabled": {
|
|
86
|
+
"alias": "disabled";
|
|
87
|
+
"required": false;
|
|
88
|
+
"isSignal": true;
|
|
89
|
+
};
|
|
90
|
+
"dt": {
|
|
91
|
+
"alias": "dt";
|
|
92
|
+
"required": false;
|
|
93
|
+
"isSignal": true;
|
|
94
|
+
};
|
|
95
|
+
"pt": {
|
|
96
|
+
"alias": "pt";
|
|
97
|
+
"required": false;
|
|
98
|
+
"isSignal": true;
|
|
99
|
+
};
|
|
100
|
+
"ptOptions": {
|
|
101
|
+
"alias": "ptOptions";
|
|
102
|
+
"required": false;
|
|
103
|
+
"isSignal": true;
|
|
104
|
+
};
|
|
105
|
+
"unstyled": {
|
|
106
|
+
"alias": "unstyled";
|
|
107
|
+
"required": false;
|
|
108
|
+
"isSignal": true;
|
|
109
|
+
};
|
|
110
|
+
}, {
|
|
111
|
+
"tileClick": "tileClick";
|
|
112
|
+
}, never, never, true, never>;
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=tectra-ng-blocks-action-tile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-blocks-action-tile.d.ts","names":[],"sources":["../../../../packages/blocks/action-tile/src/action-tile.types.ts","../../../../packages/blocks/action-tile/src/action-tile.component.ts"],"mappings":";;;;YAAY;qBC+CC;WACF,8BAAI,YAAA;WACJ,+BAAK;WACL,8BAAI;WACJ,iCAAO;WACP,kCAAQ;WACR,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,mDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,mCAAS;WAET,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,mDAAA;WACX,mCAAS;;;YAER;SAjBC,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { TxIconName } from "@tectra-ng/icons";
|
|
2
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
3
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface TxActionsMenuItem {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
icon?: TxIconName | (string & {});
|
|
9
|
+
danger?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export type TxActionsMenuSize = 'small' | 'medium';
|
|
12
|
+
export type TxActionsMenuPart = 'root' | 'trigger' | 'list' | 'item' | 'icon' | 'label';
|
|
13
|
+
export declare class TxActionsMenu {
|
|
14
|
+
private readonly popover;
|
|
15
|
+
private readonly list;
|
|
16
|
+
private pending;
|
|
17
|
+
readonly items: import("@angular/core").InputSignal<readonly TxActionsMenuItem[]>;
|
|
18
|
+
readonly tooltip: import("@angular/core").InputSignal<string | undefined>;
|
|
19
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
20
|
+
readonly size: import("@angular/core").InputSignal<TxActionsMenuSize>;
|
|
21
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
22
|
+
list: {
|
|
23
|
+
gap: string;
|
|
24
|
+
minWidth: string;
|
|
25
|
+
padding: string;
|
|
26
|
+
};
|
|
27
|
+
item: {
|
|
28
|
+
gap: string;
|
|
29
|
+
paddingX: string;
|
|
30
|
+
paddingY: string;
|
|
31
|
+
borderRadius: string;
|
|
32
|
+
fontSize: string;
|
|
33
|
+
fontWeight: string;
|
|
34
|
+
lineHeight: string;
|
|
35
|
+
color: string;
|
|
36
|
+
hoverBackground: string;
|
|
37
|
+
activeBackground: string;
|
|
38
|
+
dangerColor: string;
|
|
39
|
+
dangerHoverBackground: string;
|
|
40
|
+
dangerActiveBackground: string;
|
|
41
|
+
focusRingColor: string;
|
|
42
|
+
transitionDuration: string;
|
|
43
|
+
};
|
|
44
|
+
}> | undefined>;
|
|
45
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxActionsMenuPart, import("@tectra-ng/core/config").TxPassThroughValue<TxActionsMenu>>> | undefined>;
|
|
46
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
47
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
48
|
+
readonly itemSelect: import("@angular/core").OutputEmitterRef<string>;
|
|
49
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
50
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxActionsMenuPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
51
|
+
protected readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
52
|
+
protected readonly tokenStyle: import("@angular/core").Signal<Record<string, string>>;
|
|
53
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
54
|
+
[x: string]: string;
|
|
55
|
+
}>;
|
|
56
|
+
protected readonly popoverTokens: {
|
|
57
|
+
content: {
|
|
58
|
+
padding: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
protected readonly name: import("@angular/core").Signal<string>;
|
|
62
|
+
close(): void;
|
|
63
|
+
protected select(item: TxActionsMenuItem): void;
|
|
64
|
+
protected onClosed(): void;
|
|
65
|
+
protected onKeydown(event: KeyboardEvent): void;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxActionsMenu, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxActionsMenu, "tx-actions-menu", never, {
|
|
68
|
+
"items": {
|
|
69
|
+
"alias": "items";
|
|
70
|
+
"required": true;
|
|
71
|
+
"isSignal": true;
|
|
72
|
+
};
|
|
73
|
+
"tooltip": {
|
|
74
|
+
"alias": "tooltip";
|
|
75
|
+
"required": false;
|
|
76
|
+
"isSignal": true;
|
|
77
|
+
};
|
|
78
|
+
"ariaLabel": {
|
|
79
|
+
"alias": "ariaLabel";
|
|
80
|
+
"required": false;
|
|
81
|
+
"isSignal": true;
|
|
82
|
+
};
|
|
83
|
+
"size": {
|
|
84
|
+
"alias": "size";
|
|
85
|
+
"required": false;
|
|
86
|
+
"isSignal": true;
|
|
87
|
+
};
|
|
88
|
+
"dt": {
|
|
89
|
+
"alias": "dt";
|
|
90
|
+
"required": false;
|
|
91
|
+
"isSignal": true;
|
|
92
|
+
};
|
|
93
|
+
"pt": {
|
|
94
|
+
"alias": "pt";
|
|
95
|
+
"required": false;
|
|
96
|
+
"isSignal": true;
|
|
97
|
+
};
|
|
98
|
+
"ptOptions": {
|
|
99
|
+
"alias": "ptOptions";
|
|
100
|
+
"required": false;
|
|
101
|
+
"isSignal": true;
|
|
102
|
+
};
|
|
103
|
+
"unstyled": {
|
|
104
|
+
"alias": "unstyled";
|
|
105
|
+
"required": false;
|
|
106
|
+
"isSignal": true;
|
|
107
|
+
};
|
|
108
|
+
}, {
|
|
109
|
+
"itemSelect": "itemSelect";
|
|
110
|
+
}, never, never, true, never>;
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=tectra-ng-blocks-actions-menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-blocks-actions-menu.d.ts","names":[],"sources":["../../../../packages/blocks/actions-menu/src/actions-menu.types.ts","../../../../packages/blocks/actions-menu/src/actions-menu.component.ts"],"mappings":";;;;iBAEiB;EACf;EACA;EACA,OAAO;EACP;;YAGU;YAEA;qBCiBC;mBACM;mBACA;UACT;WAEC,+BAAK,qBAAA;WACL,iCAAO;WACP,mCAAS;WACT,8BAAI,YAAA;WACJ,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,oDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,oCAAU;WAEV,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,oDAAA;qBACD,sCAAY,wCAAA;qBACZ,oCAAU,OAAA;WACpB,mCAAS;;;qBACC;;;;;qBACA,8BAAI;EAEvB;YAIU,OAAO,MAAM;YAKb;YAQA,UAAU,OAAO;SAzChB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAa;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
2
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type TxAppFooterVariant = 'page' | 'app' | 'console';
|
|
5
|
+
export type TxAppFooterPart = 'root' | 'inner' | 'copy' | 'nav' | 'link';
|
|
6
|
+
export interface TxAppFooterLink {
|
|
7
|
+
label: string;
|
|
8
|
+
routerLink?: string | readonly unknown[];
|
|
9
|
+
queryParams?: Record<string, unknown>;
|
|
10
|
+
url?: string;
|
|
11
|
+
target?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class TxAppFooter {
|
|
14
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
15
|
+
readonly links: import("@angular/core").InputSignal<readonly TxAppFooterLink[]>;
|
|
16
|
+
readonly variant: import("@angular/core").InputSignal<TxAppFooterVariant>;
|
|
17
|
+
readonly navLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
18
|
+
readonly year: import("@angular/core").InputSignal<number | undefined>;
|
|
19
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
20
|
+
root: {
|
|
21
|
+
borderColor: string;
|
|
22
|
+
color: string;
|
|
23
|
+
fontSize: string;
|
|
24
|
+
lineHeight: string;
|
|
25
|
+
gap: string;
|
|
26
|
+
wideGap: string;
|
|
27
|
+
};
|
|
28
|
+
page: {
|
|
29
|
+
maxWidth: string;
|
|
30
|
+
padding: string;
|
|
31
|
+
};
|
|
32
|
+
app: {
|
|
33
|
+
marginTop: string;
|
|
34
|
+
padding: string;
|
|
35
|
+
};
|
|
36
|
+
console: {
|
|
37
|
+
padding: string;
|
|
38
|
+
mobilePadding: string;
|
|
39
|
+
};
|
|
40
|
+
link: {
|
|
41
|
+
color: string;
|
|
42
|
+
hoverColor: string;
|
|
43
|
+
paddingX: string;
|
|
44
|
+
rowGap: string;
|
|
45
|
+
separatorHeight: string;
|
|
46
|
+
separatorColor: string;
|
|
47
|
+
borderRadius: string;
|
|
48
|
+
focusRingShadow: string;
|
|
49
|
+
transitionDuration: string;
|
|
50
|
+
};
|
|
51
|
+
}> | undefined>;
|
|
52
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxAppFooterPart, import("@tectra-ng/core/config").TxPassThroughValue<TxAppFooter>>> | undefined>;
|
|
53
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
54
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
55
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
56
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxAppFooterPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
57
|
+
protected readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
58
|
+
protected readonly currentYear: import("@angular/core").Signal<number>;
|
|
59
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
60
|
+
[x: string]: string;
|
|
61
|
+
}>;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxAppFooter, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxAppFooter, "tx-app-footer", never, {
|
|
64
|
+
"name": {
|
|
65
|
+
"alias": "name";
|
|
66
|
+
"required": true;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"links": {
|
|
70
|
+
"alias": "links";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"variant": {
|
|
75
|
+
"alias": "variant";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"navLabel": {
|
|
80
|
+
"alias": "navLabel";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"year": {
|
|
85
|
+
"alias": "year";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"dt": {
|
|
90
|
+
"alias": "dt";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"pt": {
|
|
95
|
+
"alias": "pt";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
"ptOptions": {
|
|
100
|
+
"alias": "ptOptions";
|
|
101
|
+
"required": false;
|
|
102
|
+
"isSignal": true;
|
|
103
|
+
};
|
|
104
|
+
"unstyled": {
|
|
105
|
+
"alias": "unstyled";
|
|
106
|
+
"required": false;
|
|
107
|
+
"isSignal": true;
|
|
108
|
+
};
|
|
109
|
+
}, {}, never, never, true, never>;
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=tectra-ng-blocks-app-footer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-blocks-app-footer.d.ts","names":[],"sources":["../../../../packages/blocks/app-footer/src/app-footer.types.ts","../../../../packages/blocks/app-footer/src/app-footer.component.ts"],"mappings":";;;YAAY;YAEA;iBAEK;EACf;EACA;EACA,cAAc;EACd;EACA;;qBC8BW;WACF,8BAAI;WACJ,+BAAK,qBAAA;WACL,iCAAO,YAAA;WACP,kCAAQ;WACR,8BAAI;WACJ,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,kDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,kDAAA;qBACD,sCAAY,wCAAA;qBACZ,qCAAW;WACrB,mCAAS;;;SAfP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { OnInit } from "@angular/core";
|
|
3
|
+
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
4
|
+
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
5
|
+
import { TxPanelMenuItem } from "@tectra-ng/ui/panel-menu";
|
|
6
|
+
export type TxAppLayoutBackdrop = 'spectrum' | 'accent';
|
|
7
|
+
export type TxAppLayoutResponsive = 'viewport' | 'container';
|
|
8
|
+
export type TxAppLayoutPart = 'root' | 'sidebar' | 'brand' | 'menu' | 'topbar' | 'menuButton' | 'content' | 'mask';
|
|
9
|
+
export declare class TxAppLayout implements OnInit {
|
|
10
|
+
private readonly document;
|
|
11
|
+
private readonly host;
|
|
12
|
+
private readonly menuButton;
|
|
13
|
+
readonly model: import("@angular/core").InputSignal<TxPanelMenuItem<unknown>[]>;
|
|
14
|
+
readonly logo: import("@angular/core").InputSignal<string | undefined>;
|
|
15
|
+
readonly title: import("@angular/core").InputSignal<string | undefined>;
|
|
16
|
+
readonly homeLink: import("@angular/core").InputSignal<string | readonly unknown[] | undefined>;
|
|
17
|
+
readonly sidebar: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
18
|
+
readonly anchored: import("@angular/core").ModelSignal<boolean>;
|
|
19
|
+
readonly stateKey: import("@angular/core").InputSignal<string | undefined>;
|
|
20
|
+
readonly backdrop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
readonly backdropVariant: import("@angular/core").InputSignal<TxAppLayoutBackdrop>;
|
|
22
|
+
readonly responsive: import("@angular/core").InputSignal<TxAppLayoutResponsive>;
|
|
23
|
+
readonly menuLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
24
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
|
|
25
|
+
root: {
|
|
26
|
+
background: string;
|
|
27
|
+
color: string;
|
|
28
|
+
minHeight: string;
|
|
29
|
+
viewportHeight: string;
|
|
30
|
+
topOffset: string;
|
|
31
|
+
};
|
|
32
|
+
topbar: {
|
|
33
|
+
minHeight: string;
|
|
34
|
+
padding: string;
|
|
35
|
+
mobilePaddingStart: string;
|
|
36
|
+
gap: string;
|
|
37
|
+
background: string;
|
|
38
|
+
};
|
|
39
|
+
menuButton: {
|
|
40
|
+
size: string;
|
|
41
|
+
borderRadius: string;
|
|
42
|
+
iconSize: string;
|
|
43
|
+
color: string;
|
|
44
|
+
hoverBackground: string;
|
|
45
|
+
focusRingShadow: string;
|
|
46
|
+
marginEnd: string;
|
|
47
|
+
};
|
|
48
|
+
plain: {
|
|
49
|
+
padding: string;
|
|
50
|
+
brandGap: string;
|
|
51
|
+
logoSize: string;
|
|
52
|
+
nameFontSize: string;
|
|
53
|
+
nameFontWeight: string;
|
|
54
|
+
nameLineHeight: string;
|
|
55
|
+
color: string;
|
|
56
|
+
};
|
|
57
|
+
sidebar: {
|
|
58
|
+
width: string;
|
|
59
|
+
railWidth: string;
|
|
60
|
+
background: string;
|
|
61
|
+
borderColor: string;
|
|
62
|
+
zIndex: string;
|
|
63
|
+
duration: string;
|
|
64
|
+
easing: string;
|
|
65
|
+
headerHeight: string;
|
|
66
|
+
headerPadding: string;
|
|
67
|
+
logoSize: string;
|
|
68
|
+
brandGap: string;
|
|
69
|
+
nameColor: string;
|
|
70
|
+
nameFontSize: string;
|
|
71
|
+
nameFontWeight: string;
|
|
72
|
+
nameLetterSpacing: string;
|
|
73
|
+
nameRevealDuration: string;
|
|
74
|
+
nameHideDuration: string;
|
|
75
|
+
pinSize: string;
|
|
76
|
+
pinBorderRadius: string;
|
|
77
|
+
pinIconSize: string;
|
|
78
|
+
pinColor: string;
|
|
79
|
+
pinHoverColor: string;
|
|
80
|
+
pinHoverBackground: string;
|
|
81
|
+
pinSwapDuration: string;
|
|
82
|
+
menuPadding: string;
|
|
83
|
+
scrollbarColor: string;
|
|
84
|
+
};
|
|
85
|
+
mask: {
|
|
86
|
+
background: string;
|
|
87
|
+
zIndex: string;
|
|
88
|
+
};
|
|
89
|
+
content: {
|
|
90
|
+
padding: string;
|
|
91
|
+
mobilePadding: string;
|
|
92
|
+
maxWidth: string;
|
|
93
|
+
};
|
|
94
|
+
backdrop: {
|
|
95
|
+
spectrum: string;
|
|
96
|
+
accent: string;
|
|
97
|
+
noiseOpacity: string;
|
|
98
|
+
noiseSize: string;
|
|
99
|
+
};
|
|
100
|
+
}> | undefined>;
|
|
101
|
+
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxAppLayoutPart, import("@tectra-ng/core/config").TxPassThroughValue<TxAppLayout>>> | undefined>;
|
|
102
|
+
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
103
|
+
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
104
|
+
readonly isUnstyled: import("@angular/core").Signal<boolean>;
|
|
105
|
+
readonly passThrough: import("@angular/core").Signal<Partial<Record<TxAppLayoutPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
|
|
106
|
+
protected readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
107
|
+
protected readonly id: string;
|
|
108
|
+
readonly hostStyle: import("@angular/core").Signal<{
|
|
109
|
+
[x: string]: string;
|
|
110
|
+
}>;
|
|
111
|
+
readonly mobile: import("@angular/core").WritableSignal<boolean>;
|
|
112
|
+
readonly mobileOpen: import("@angular/core").WritableSignal<boolean>;
|
|
113
|
+
private readonly hovered;
|
|
114
|
+
private readonly focused;
|
|
115
|
+
readonly expanded: import("@angular/core").Signal<boolean>;
|
|
116
|
+
readonly wide: import("@angular/core").Signal<boolean>;
|
|
117
|
+
protected readonly menuName: import("@angular/core").Signal<string>;
|
|
118
|
+
constructor();
|
|
119
|
+
ngOnInit(): void;
|
|
120
|
+
toggleAnchored(): void;
|
|
121
|
+
toggleMobile(): void;
|
|
122
|
+
closeMobile(): void;
|
|
123
|
+
protected setHovered(hovered: boolean): void;
|
|
124
|
+
protected onFocusIn(event: FocusEvent): void;
|
|
125
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
126
|
+
protected onSidebarClick(event: Event): void;
|
|
127
|
+
protected closeFromKeyboard(): void;
|
|
128
|
+
private storage;
|
|
129
|
+
private readAnchored;
|
|
130
|
+
private writeAnchored;
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TxAppLayout, never>;
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TxAppLayout, "tx-app-layout", never, {
|
|
133
|
+
"model": {
|
|
134
|
+
"alias": "model";
|
|
135
|
+
"required": false;
|
|
136
|
+
"isSignal": true;
|
|
137
|
+
};
|
|
138
|
+
"logo": {
|
|
139
|
+
"alias": "logo";
|
|
140
|
+
"required": false;
|
|
141
|
+
"isSignal": true;
|
|
142
|
+
};
|
|
143
|
+
"title": {
|
|
144
|
+
"alias": "title";
|
|
145
|
+
"required": false;
|
|
146
|
+
"isSignal": true;
|
|
147
|
+
};
|
|
148
|
+
"homeLink": {
|
|
149
|
+
"alias": "homeLink";
|
|
150
|
+
"required": false;
|
|
151
|
+
"isSignal": true;
|
|
152
|
+
};
|
|
153
|
+
"sidebar": {
|
|
154
|
+
"alias": "sidebar";
|
|
155
|
+
"required": false;
|
|
156
|
+
"isSignal": true;
|
|
157
|
+
};
|
|
158
|
+
"anchored": {
|
|
159
|
+
"alias": "anchored";
|
|
160
|
+
"required": false;
|
|
161
|
+
"isSignal": true;
|
|
162
|
+
};
|
|
163
|
+
"stateKey": {
|
|
164
|
+
"alias": "stateKey";
|
|
165
|
+
"required": false;
|
|
166
|
+
"isSignal": true;
|
|
167
|
+
};
|
|
168
|
+
"backdrop": {
|
|
169
|
+
"alias": "backdrop";
|
|
170
|
+
"required": false;
|
|
171
|
+
"isSignal": true;
|
|
172
|
+
};
|
|
173
|
+
"backdropVariant": {
|
|
174
|
+
"alias": "backdropVariant";
|
|
175
|
+
"required": false;
|
|
176
|
+
"isSignal": true;
|
|
177
|
+
};
|
|
178
|
+
"responsive": {
|
|
179
|
+
"alias": "responsive";
|
|
180
|
+
"required": false;
|
|
181
|
+
"isSignal": true;
|
|
182
|
+
};
|
|
183
|
+
"menuLabel": {
|
|
184
|
+
"alias": "menuLabel";
|
|
185
|
+
"required": false;
|
|
186
|
+
"isSignal": true;
|
|
187
|
+
};
|
|
188
|
+
"dt": {
|
|
189
|
+
"alias": "dt";
|
|
190
|
+
"required": false;
|
|
191
|
+
"isSignal": true;
|
|
192
|
+
};
|
|
193
|
+
"pt": {
|
|
194
|
+
"alias": "pt";
|
|
195
|
+
"required": false;
|
|
196
|
+
"isSignal": true;
|
|
197
|
+
};
|
|
198
|
+
"ptOptions": {
|
|
199
|
+
"alias": "ptOptions";
|
|
200
|
+
"required": false;
|
|
201
|
+
"isSignal": true;
|
|
202
|
+
};
|
|
203
|
+
"unstyled": {
|
|
204
|
+
"alias": "unstyled";
|
|
205
|
+
"required": false;
|
|
206
|
+
"isSignal": true;
|
|
207
|
+
};
|
|
208
|
+
}, {
|
|
209
|
+
"anchored": "anchoredChange";
|
|
210
|
+
}, never, ["[txAppTopbar]", "*", "[txAppFooter]"], true, never>;
|
|
211
|
+
}
|
|
212
|
+
//# sourceMappingURL=tectra-ng-blocks-app-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tectra-ng-blocks-app-layout.d.ts","names":[],"sources":["../../../../packages/blocks/app-layout/src/app-layout.types.ts","../../../../packages/blocks/app-layout/src/app-layout.component.ts"],"mappings":";;;;;YAAY;YAEA;YAEA;qBCgDC,uBAAuB;mBACjB;mBACA;mBACA;WAER,+BAAK,YAAA;WACL,8BAAI;WACJ,+BAAK;WACL,kCAAQ;WACR,iCAAO;WACP,kCAAQ;WACR,kCAAQ;WACR,kCAAQ;WACR,yCAAe,YAAA;WACf,oCAAU,YAAA;WACV,mCAAS;WACT,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,kDAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,kDAAA;qBACD,sCAAY,wCAAA;qBACZ;WACV,mCAAS;;;WAET,gCAAM;WACN,oCAAU;mBACF;mBACA;WACR,kCAAQ;WACR,8BAAI;qBACM,kCAAQ;;EAqC3B;EAOA;EAOA;EAIA;YAIU,WAAW;YAIX,UAAU,OAAO;YAIjB,WAAW,OAAO;YAOlB,eAAe,OAAO;YAMtB;UAOF;UAQA;UAaA;SA7IG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAW;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA"}
|