@tectra-ng/blocks 0.4.4 → 0.4.5

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.
Files changed (52) hide show
  1. package/actions-menu/README.md +9 -1
  2. package/app-layout/README.md +3 -2
  3. package/command-palette/README.md +7 -0
  4. package/console-layout/README.md +24 -0
  5. package/cookie-notice/README.md +1 -1
  6. package/fesm2022/tectra-ng-blocks-actions-menu.mjs +37 -15
  7. package/fesm2022/tectra-ng-blocks-actions-menu.mjs.map +1 -1
  8. package/fesm2022/tectra-ng-blocks-app-layout.mjs +19 -2
  9. package/fesm2022/tectra-ng-blocks-app-layout.mjs.map +1 -1
  10. package/fesm2022/tectra-ng-blocks-command-palette.mjs +31 -8
  11. package/fesm2022/tectra-ng-blocks-command-palette.mjs.map +1 -1
  12. package/fesm2022/tectra-ng-blocks-console-layout.mjs +89 -10
  13. package/fesm2022/tectra-ng-blocks-console-layout.mjs.map +1 -1
  14. package/fesm2022/tectra-ng-blocks-cookie-notice.mjs +2 -2
  15. package/fesm2022/tectra-ng-blocks-cookie-notice.mjs.map +1 -1
  16. package/fesm2022/tectra-ng-blocks-filters-panel.mjs +101 -12
  17. package/fesm2022/tectra-ng-blocks-filters-panel.mjs.map +1 -1
  18. package/fesm2022/tectra-ng-blocks-kanban.mjs +102 -17
  19. package/fesm2022/tectra-ng-blocks-kanban.mjs.map +1 -1
  20. package/fesm2022/tectra-ng-blocks-page-header.mjs +2 -2
  21. package/fesm2022/tectra-ng-blocks-page-header.mjs.map +1 -1
  22. package/fesm2022/tectra-ng-blocks-public-header.mjs +17 -3
  23. package/fesm2022/tectra-ng-blocks-public-header.mjs.map +1 -1
  24. package/fesm2022/tectra-ng-blocks-wizard.mjs +145 -8
  25. package/fesm2022/tectra-ng-blocks-wizard.mjs.map +1 -1
  26. package/fesm2022/tectra-ng-blocks.mjs +1 -1
  27. package/filters-panel/README.md +20 -1
  28. package/kanban/README.md +19 -1
  29. package/package.json +6 -6
  30. package/page-header/README.md +1 -1
  31. package/public-header/README.md +6 -0
  32. package/switch-language/README.md +1 -1
  33. package/topbar-preferences/README.md +1 -1
  34. package/types/tectra-ng-blocks-actions-menu.d.ts +9 -0
  35. package/types/tectra-ng-blocks-actions-menu.d.ts.map +1 -1
  36. package/types/tectra-ng-blocks-app-layout.d.ts +10 -3
  37. package/types/tectra-ng-blocks-app-layout.d.ts.map +1 -1
  38. package/types/tectra-ng-blocks-command-palette.d.ts +38 -5
  39. package/types/tectra-ng-blocks-command-palette.d.ts.map +1 -1
  40. package/types/tectra-ng-blocks-console-layout.d.ts +58 -9
  41. package/types/tectra-ng-blocks-console-layout.d.ts.map +1 -1
  42. package/types/tectra-ng-blocks-cookie-notice.d.ts +5 -5
  43. package/types/tectra-ng-blocks-filters-panel.d.ts +48 -4
  44. package/types/tectra-ng-blocks-filters-panel.d.ts.map +1 -1
  45. package/types/tectra-ng-blocks-kanban.d.ts +47 -7
  46. package/types/tectra-ng-blocks-kanban.d.ts.map +1 -1
  47. package/types/tectra-ng-blocks-public-header.d.ts +9 -2
  48. package/types/tectra-ng-blocks-public-header.d.ts.map +1 -1
  49. package/types/tectra-ng-blocks-wizard.d.ts +34 -6
  50. package/types/tectra-ng-blocks-wizard.d.ts.map +1 -1
  51. package/types/tectra-ng-blocks.d.ts +1 -1
  52. package/wizard/README.md +21 -3
@@ -1,7 +1,7 @@
1
1
  import { IsActiveMatchOptions } from "@angular/router";
2
2
  import { TxIconName } from "@tectra-ng/icons";
3
3
  import * as i0 from "@angular/core";
4
- import { OnDestroy } from "@angular/core";
4
+ import { InjectionToken, OnDestroy, Provider, Signal } from "@angular/core";
5
5
  import { TxAppFooterLink } from "@tectra-ng/blocks/app-footer";
6
6
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
7
7
  import { TectraConsoleLayoutTokens, TectraDeepPartial } from "@tectra-ng/themes";
@@ -28,12 +28,57 @@ export interface TxConsoleRailItem {
28
28
  }
29
29
  /** What the console breakpoints measure: the `viewport` (window) or the `container` (the console itself). */
30
30
  export type TxConsoleResponsive = 'viewport' | 'container';
31
+ /** When a `tx-console-rail` turns into a row: by the `viewport`, by the `container` named `tx-console-layout`, or `none` — it stays a column. */
32
+ export type TxConsoleRailResponsive = TxConsoleResponsive | 'none';
31
33
  /** A function that turns a key, such as a crumb or a rail label, into the shown text. */
32
34
  export type TxConsoleTranslate = (key: string) => string;
33
35
  /** Names of the parts of `tx-console-layout` that its `pt` input can style. */
34
36
  export type TxConsoleLayoutPart = 'root' | 'header' | 'brand' | 'logo' | 'crumbs' | 'rail' | 'content' | 'footer';
35
37
  /** Names of the parts of `tx-console-panel` that its `pt` input can style. */
36
38
  export type TxConsolePanelPart = 'root' | 'aside' | 'toggle' | 'nav' | 'main' | 'content';
39
+ /** What a `tx-console-panel` reads from its console. */
40
+ export interface TxConsoleLayoutContext {
41
+ /** What the console breakpoints measure. */
42
+ readonly responsive: Signal<TxConsoleResponsive>;
43
+ /** Name in the footer that the panel shows next to its page; empty for none. */
44
+ readonly footerName: Signal<string | undefined>;
45
+ /** Footer links, already translated. */
46
+ readonly visibleFooterLinks: Signal<readonly TxAppFooterLink[]>;
47
+ /** Tells the console that a panel shows the footer; returns the function to call when the panel goes away. */
48
+ registerPanel(): () => void;
49
+ }
50
+ /**
51
+ * Injection token through which a `tx-console-panel` finds its console; `tx-console-layout` provides it, and
52
+ * so can a component that wraps the console (`provideTxConsoleLayoutRelay`).
53
+ */
54
+ export declare const TX_CONSOLE_LAYOUT: InjectionToken<TxConsoleLayoutContext>;
55
+ /**
56
+ * Passes the settings of the `tx-console-layout` inside a wrapper component to the panels projected into that
57
+ * wrapper, which Angular cannot find through the wrapper. Provide it with `provideTxConsoleLayoutRelay()`.
58
+ */
59
+ export declare class TxConsoleLayoutRelay implements TxConsoleLayoutContext {
60
+ private readonly target;
61
+ private readonly panels;
62
+ /** Number of panels registered through the relay. */
63
+ readonly panelCount: Signal<number>;
64
+ /** What the connected console's breakpoints measure; `viewport` before a console connects. */
65
+ readonly responsive: Signal<TxConsoleResponsive>;
66
+ /** Footer name of the connected console. */
67
+ readonly footerName: Signal<string | undefined>;
68
+ /** Translated footer links of the connected console; empty before a console connects. */
69
+ readonly visibleFooterLinks: Signal<readonly TxAppFooterLink[]>;
70
+ /** Counts a projected panel that shows the footer; returns the function to call when the panel goes away. */
71
+ registerPanel(): () => void;
72
+ /** Connects the first console created inside the wrapper; returns the function that disconnects it, or `null` when another console is connected. */
73
+ connect(layout: TxConsoleLayoutContext): (() => void) | null;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxConsoleLayoutRelay, never>;
75
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
76
+ }
77
+ /**
78
+ * Providers for a component that wraps `tx-console-layout` and projects `tx-console-panel` into it:
79
+ * `providers: [provideTxConsoleLayoutRelay()]`.
80
+ */
81
+ export declare function provideTxConsoleLayoutRelay(): Provider[];
37
82
  /** Active-link rule that marks a rail section only on its exact path; use it for the home section. */
38
83
  export declare const TX_CONSOLE_RAIL_EXACT_MATCH: IsActiveMatchOptions;
39
84
  /** Active-link rule that marks a rail section for its path and everything below it. */
@@ -57,8 +102,12 @@ export declare class TxConsoleDocument implements OnDestroy {
57
102
  /** The row of icon sections at the side of `tx-console-layout`. */
58
103
  export declare class TxConsoleRail {
59
104
  private readonly consoleLayoutTheme;
105
+ /** Required. Sections of the rail (`TxConsoleRailItem[]`) */
60
106
  readonly items: import("@angular/core").InputSignal<readonly TxConsoleRailItem[]>;
107
+ /** Name of the rail navigation */
61
108
  readonly label: import("@angular/core").InputSignal<string | undefined>;
109
+ /** When the rail turns into a row under 768px: `viewport` — the window (default), `container` — the nearest container named `tx-console-layout`, `none` — it stays a column. Inside `tx-console-layout` it follows the layout */
110
+ readonly responsive: import("@angular/core").InputSignal<TxConsoleRailResponsive>;
62
111
  /** Removes the tectra styles */
63
112
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
64
113
  protected readonly exactMatch: import("@angular/router").IsActiveMatchOptions;
@@ -74,6 +123,11 @@ export declare class TxConsoleRail {
74
123
  "required": false;
75
124
  "isSignal": true;
76
125
  };
126
+ "responsive": {
127
+ "alias": "responsive";
128
+ "required": false;
129
+ "isSignal": true;
130
+ };
77
131
  "unstyled": {
78
132
  "alias": "unstyled";
79
133
  "required": false;
@@ -82,7 +136,7 @@ export declare class TxConsoleRail {
82
136
  }, {}, never, never, true, never>;
83
137
  }
84
138
  /** The frame of a console: a header with brand and crumbs, an icon rail, the page and a footer. */
85
- export declare class TxConsoleLayout {
139
+ export declare class TxConsoleLayout implements TxConsoleLayoutContext {
86
140
  private readonly consoleLayoutTheme;
87
141
  private readonly router;
88
142
  private readonly consoleDocument;
@@ -130,6 +184,7 @@ export declare class TxConsoleLayout {
130
184
  [x: string]: string;
131
185
  }>;
132
186
  private readonly panels;
187
+ private readonly relay;
133
188
  readonly hasPanel: import("@angular/core").Signal<boolean>;
134
189
  private readonly navigationEnd;
135
190
  readonly visibleCrumbs: import("@angular/core").Signal<string[]>;
@@ -273,13 +328,7 @@ export declare class TxConsolePanel {
273
328
  readonly passThrough: import("@angular/core").Signal<Partial<Record<TxConsolePanelPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
274
329
  protected readonly responsive: import("@angular/core").Signal<import("@tectra-ng/blocks/console-layout").TxConsoleResponsive>;
275
330
  protected readonly footerName: import("@angular/core").Signal<string>;
276
- protected readonly footerLinks: import("@angular/core").Signal<{
277
- label: string;
278
- routerLink?: string | readonly unknown[];
279
- queryParams?: Record<string, unknown>;
280
- url?: string;
281
- target?: string;
282
- }[]>;
331
+ protected readonly footerLinks: import("@angular/core").Signal<readonly import("@tectra-ng/blocks/app-footer").TxAppFooterLink[]>;
283
332
  readonly hostStyle: import("@angular/core").Signal<{
284
333
  [x: string]: string;
285
334
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-blocks-console-layout.d.ts","names":[],"sources":["../../../../packages/blocks/console-layout/src/console-layout.types.ts","../../../../packages/blocks/console-layout/src/console-rail-match.ts","../../../../packages/blocks/console-layout/src/console-document.service.ts","../../../../packages/blocks/console-layout/src/console-rail.component.ts","../../../../packages/blocks/console-layout/src/console-layout.component.ts","../../../../packages/blocks/console-layout/src/console-panel.component.ts"],"mappings":";;;;;;;;iBAIiB;;EAEf;;EAEA,MAAM;;EAEN;;EAEA,cAAc;;EAEd,gBAAgB;;EAEhB;;EAEA;;EAEA;;EAEA;;;YAIU;;YAGA,sBAAsB;;YAGtB;;YAGA;;qBChCC,6BAA6B;;qBAQ7B,+BAA+B;;qBCN/B,6BAA6B;mBACvB;mBACA;UAET;UACA;;EAGR,SAAS;;EAMT,WAAW;;EAUX;UASQ;SAjCG,MAAA,GAAA,qBAAA;;;;qBCwDA;mBACM;WAER,+BAAK,qBAAA;WACL,+BAAK;;WACL,kCAAQ;qBACE,sCAAU;SANlB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAa;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;qBC1Bb;mBACM;mBAEA;mBACA;;WAER,+BAAK;;WACL,oCAAU;;WACV,8BAAI;;WACJ,kCAAQ;;WACR,mCAAS,qBAAA;;WACT,mCAAS;;WACT,kCAAQ;;WACR,gCAAM;;WACN,oCAAU;;WACV,qCAAW,qBAAA;;WACX,uCAAa;;WACb,iCAAO;;WACP,mCAAS,YAAA;;WACT,oCAAU,YAAA;;WACV,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,sDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,sDAAA;qBACD,sCAAY,wCAAA;WACtB,oCAAU,OAAA;WACV,mCAAS;;;mBAED;WACR,kCAAQ;mBAEA;WAIR,uCAAa;qBASH,0CAAgB;;;;;;;;;;;WAC1B,4CAAkB;;;;;;;qBACR,kCAAQ;WAClB,mCAAS;;EAgBlB;UAKQ;UAIA;SA3EG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAe;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;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;qBCyCf;mBACM;mBAEA;mBACA;;WAER,+BAAK;;WACL,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,kCAAQ;WACR,oCAAU;qBACA,sCAAY,wCAAA;qBACZ;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;qBACD,oCAAU,kDAAA;qBACV,oCAAU;qBACV,qCAAW;;;;;;;WACrB,mCAAS;;;;YAeR,YAAY,OAAO;YASnB,kBAAkB,OAAO;SA5CxB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
1
+ {"version":3,"file":"tectra-ng-blocks-console-layout.d.ts","names":[],"sources":["../../../../packages/blocks/console-layout/src/console-layout.types.ts","../../../../packages/blocks/console-layout/src/console-layout.context.ts","../../../../packages/blocks/console-layout/src/console-rail-match.ts","../../../../packages/blocks/console-layout/src/console-document.service.ts","../../../../packages/blocks/console-layout/src/console-rail.component.ts","../../../../packages/blocks/console-layout/src/console-layout.component.ts","../../../../packages/blocks/console-layout/src/console-panel.component.ts"],"mappings":";;;;;;;;iBAIiB;;EAEf;;EAEA,MAAM;;EAEN;;EAEA,cAAc;;EAEd,gBAAgB;;EAEhB;;EAEA;;EAEA;;EAEA;;;YAIU;;YAGA,0BAA0B;;YAG1B,sBAAsB;;YAGtB;;YAGA;;iBCjCK;;WAEN,YAAY,OAAO;;WAEnB,YAAY;;WAEZ,oBAAoB,gBAAgB;;EAE7C;;;;;;qBAOW,mBAAiB,eAAA;;;;;qBAOjB,gCAAgC;mBAC1B;mBACA;;WAGR,YAAU;;WAEV,YAAU,OAAA;;WAEV,YAAU;;WAEV,oBAAkB,gBAAA;;EAG3B;;EAMA,QAAQ,QAAQ;SApBL,MAAA,GAAA,qBAAA;;;;;;;wBAiCG,+BAA+B;;qBCzDlC,6BAA6B;;qBAQ7B,+BAA+B;;qBCN/B,6BAA6B;mBACvB;mBACA;UAET;UACA;;EAGR,SAAS;;EAMT,WAAW;;EAUX;UASQ;SAjCG,MAAA,GAAA,qBAAA;;;;qBC4DA;mBACM;;WAER,+BAAK,qBAAA;;WACL,+BAAK;;WACL,oCAAU,YAAA;;WACV,kCAAQ;qBACE,sCAAU;SAPlB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAa;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;qBC7Bb,2BAA2B;mBACrB;mBAEA;mBACA;;WAER,+BAAK;;WACL,oCAAU;;WACV,8BAAI;;WACJ,kCAAQ;;WACR,mCAAS,qBAAA;;WACT,mCAAS;;WACT,kCAAQ;;WACR,gCAAM;;WACN,oCAAU;;WACV,qCAAW,qBAAA;;WACX,uCAAa;;WACb,iCAAO;;WACP,mCAAS,YAAA;;WACT,oCAAU,YAAA;;WACV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A;SAAA,MAAA,GAAA,uBAAA;IAAc;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA"}
@@ -14,9 +14,9 @@ export declare class TxCookieNotice {
14
14
  private readonly document;
15
15
  protected readonly router: Router | null;
16
16
  /** Bold line (translated "Only essential cookies" by default) */
17
- readonly title: import("@angular/core").InputSignal<string | undefined>;
17
+ readonly title: import("@angular/core").InputSignal<string | null | undefined>;
18
18
  /** Explanation under the title */
19
- readonly text: import("@angular/core").InputSignal<string | undefined>;
19
+ readonly text: import("@angular/core").InputSignal<string | null | undefined>;
20
20
  /** Icon in the tinted circle (default `shield`) */
21
21
  readonly icon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
22
22
  /** Router commands of the "Learn more" link */
@@ -24,11 +24,11 @@ export declare class TxCookieNotice {
24
24
  /** Plain URL of the "Learn more" link, when there is no `link` */
25
25
  readonly href: import("@angular/core").InputSignal<string | undefined>;
26
26
  /** Text of the link (translated "Learn more" by default) */
27
- readonly linkLabel: import("@angular/core").InputSignal<string | undefined>;
27
+ readonly linkLabel: import("@angular/core").InputSignal<string | null | undefined>;
28
28
  /** Text of the button (translated "Got it" by default) */
29
- readonly acceptLabel: import("@angular/core").InputSignal<string | undefined>;
29
+ readonly acceptLabel: import("@angular/core").InputSignal<string | null | undefined>;
30
30
  /** Name of the region (translated "Cookie notice" by default) */
31
- readonly label: import("@angular/core").InputSignal<string | undefined>;
31
+ readonly label: import("@angular/core").InputSignal<string | null | undefined>;
32
32
  /** Name of the cookie that keeps the choice (default `cookieNoticeDismissed`) */
33
33
  readonly cookieName: import("@angular/core").InputSignal<string>;
34
34
  /** How long the choice is kept (default 365) */
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import { AfterViewInit, InjectionToken, PipeTransform, Signal } from "@angular/core";
2
+ import { AfterViewInit, InjectionToken, OnInit, PipeTransform, Provider, Signal } from "@angular/core";
3
3
  import { CdkDragDrop } from "@angular/cdk/drag-drop";
4
4
  import { TxPassThroughOptions } from "@tectra-ng/core/config";
5
5
  import { TectraDeepPartial, TectraFiltersPanelTokens } from "@tectra-ng/themes";
@@ -35,13 +35,18 @@ export interface TxFiltersPanelContext {
35
35
  isFieldHidden(key: string): boolean;
36
36
  /** Position of the field with this key, or `null` when the order is not customised. */
37
37
  fieldOrder(key: string): number | null;
38
+ /** Adds a field once its inputs are set; returns the function that removes it. */
39
+ registerField?(field: TxFilterField): () => void;
40
+ /** Adds a reset action; returns the function that removes it. */
41
+ registerReset?(reset: TxFiltersReset): () => void;
38
42
  }
39
43
  /** Injection token through which `txFilterField` finds its `tx-filters-panel`. */
40
44
  export declare const TX_FILTERS_PANEL: InjectionToken<TxFiltersPanelContext>;
41
45
  /** Marks a field inside `tx-filters-panel` so the user can show, hide and reorder it. */
42
- export declare class TxFilterField {
46
+ export declare class TxFilterField implements OnInit {
43
47
  private readonly filtersPanelTheme;
44
48
  private readonly panel;
49
+ private readonly destroyRef;
45
50
  /** required key of the field inside the panel, used in the saved layout */
46
51
  readonly txFilterField: import("@angular/core").InputSignal<string>;
47
52
  /** required name of the field in the "Show filters" menu */
@@ -50,6 +55,7 @@ export declare class TxFilterField {
50
55
  readonly filterActive: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
51
56
  readonly hidden: Signal<boolean>;
52
57
  readonly order: Signal<number | null>;
58
+ ngOnInit(): void;
53
59
  static ɵfac: i0.ɵɵFactoryDeclaration<TxFilterField, never>;
54
60
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxFilterField, "[txFilterField]", never, {
55
61
  "txFilterField": {
@@ -76,10 +82,41 @@ export declare class TxFilterField {
76
82
  export declare class TxFiltersReset {
77
83
  private readonly filtersPanelTheme;
78
84
  private readonly host;
85
+ constructor();
79
86
  trigger(): void;
80
87
  static ɵfac: i0.ɵɵFactoryDeclaration<TxFiltersReset, never>;
81
88
  static ɵdir: i0.ɵɵDirectiveDeclaration<TxFiltersReset, "[txFiltersReset]", never, {}, {}, never, never, true, never>;
82
89
  }
90
+ /**
91
+ * Passes the fields projected into a wrapper component to the `tx-filters-panel` inside that wrapper, which
92
+ * Angular cannot find through the wrapper. Provide it with `provideTxFiltersPanelRelay()`.
93
+ */
94
+ export declare class TxFiltersPanelRelay implements TxFiltersPanelContext {
95
+ private readonly target;
96
+ private readonly fieldList;
97
+ private readonly resetList;
98
+ /** Fields registered through the relay, in the order they were created. */
99
+ readonly fields: Signal<readonly TxFilterField[]>;
100
+ /** Reset actions registered through the relay. */
101
+ readonly resets: Signal<readonly TxFiltersReset[]>;
102
+ /** Whether the connected panel hides the field with this key; `false` before a panel connects. */
103
+ isFieldHidden(key: string): boolean;
104
+ /** Position the connected panel gives the field with this key; `null` before a panel connects. */
105
+ fieldOrder(key: string): number | null;
106
+ /** Adds a projected field to the relay; returns the function that removes it. */
107
+ registerField(field: TxFilterField): () => void;
108
+ /** Adds a projected reset action to the relay; returns the function that removes it. */
109
+ registerReset(reset: TxFiltersReset): () => void;
110
+ /** Connects the first panel created inside the wrapper; returns the function that disconnects it, or `null` when another panel is connected. */
111
+ connect(panel: TxFiltersPanelContext): (() => void) | null;
112
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxFiltersPanelRelay, never>;
113
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
114
+ }
115
+ /**
116
+ * Providers for a component that wraps `tx-filters-panel` and projects `txFilterField` elements into it:
117
+ * `providers: [provideTxFiltersPanelRelay()]`.
118
+ */
119
+ export declare function provideTxFiltersPanelRelay(): Provider[];
83
120
  /** Whether any value is set: not `null`, `undefined`, a blank string or an empty array. */
84
121
  export declare function hasFilterValue(...values: unknown[]): boolean;
85
122
  /** `hasFilterValue`: whether any of the values is set, see `hasFilterValue`. */
@@ -125,8 +162,13 @@ export declare class TxFiltersPanel implements TxFiltersPanelContext, AfterViewI
125
162
  readonly passThrough: import("@angular/core").Signal<Partial<Record<TxFiltersPanelPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
126
163
  protected readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
127
164
  protected readonly id: string;
165
+ private readonly queriedFields;
166
+ private readonly readyFields;
167
+ private readonly resetSlot;
168
+ private readonly registeredResets;
169
+ private readonly relay;
128
170
  private readonly fields;
129
- protected readonly resetAction: import("@angular/core").Signal<TxFiltersReset | undefined>;
171
+ protected readonly resetAction: import("@angular/core").Signal<TxFiltersReset>;
130
172
  private readonly fieldsContainer;
131
173
  private readonly toggleButton;
132
174
  private readonly menuList;
@@ -170,6 +212,8 @@ export declare class TxFiltersPanel implements TxFiltersPanelContext, AfterViewI
170
212
  }>;
171
213
  constructor();
172
214
  ngAfterViewInit(): void;
215
+ registerField(field: TxFilterField): () => void;
216
+ registerReset(reset: TxFiltersReset): () => void;
173
217
  isFieldHidden(key: string): boolean;
174
218
  fieldOrder(key: string): number | null;
175
219
  toggle(key: string): void;
@@ -250,6 +294,6 @@ export declare class TxFiltersPanel implements TxFiltersPanelContext, AfterViewI
250
294
  }, {
251
295
  "layoutChange": "layoutChange";
252
296
  "expandedChange": "expandedChange";
253
- }, ["fields", "resetAction"], ["*", "[txFiltersActions]"], true, never>;
297
+ }, ["queriedFields", "resetSlot"], ["*", "[txFiltersActions]"], true, never>;
254
298
  }
255
299
  //# sourceMappingURL=tectra-ng-blocks-filters-panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-blocks-filters-panel.d.ts","names":[],"sources":["../../../../packages/blocks/filters-panel/src/filters-panel.types.ts","../../../../packages/blocks/filters-panel/src/filter-field.directive.ts","../../../../packages/blocks/filters-panel/src/has-filter-value.pipe.ts","../../../../packages/blocks/filters-panel/src/filters-panel.component.ts"],"mappings":";;;;;;YACY;;YAGA;;YAGA;;YAGA;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;;iBCrBe;;EAEf,cAAc;;EAEd,WA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AY;YAaF,oBAAoB,OAAO;UAM7B;YAKE;YAIA,KAAK,OAAO;YASZ,cAAc,OAAO,eAAe;YAsBpC,oBAAoB,OAAO;YAe3B,cAAc,OAAO;UAWvB;UAKA;UAMA;UASA;UAsBA;SA9RG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;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;IAAA"}
1
+ {"version":3,"file":"tectra-ng-blocks-filters-panel.d.ts","names":[],"sources":["../../../../packages/blocks/filters-panel/src/filters-panel.types.ts","../../../../packages/blocks/filters-panel/src/filter-field.directive.ts","../../../../packages/blocks/filters-panel/src/has-filter-value.pipe.ts","../../../../packages/blocks/filters-panel/src/filters-panel.component.ts"],"mappings":";;;;;;YACY;;YAGA;;YAGA;;YAGA;;iBAGK;;EAEf;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;;iBCNe;;EAEf,cAAc;;EAEd,WAAW;;EAEX,eAAe,OAAO;;EAEtB,eAAe,OAAO;;;qBAIX,kBAAgB,eAAA;;qBAahB,yBAAyB;mBACnB;mBAEA;mBACA;;WAER,uCAAa;;WACb,qCAAW;;WACX,sCAAY;WAEZ,QAAQ;WACR,OAAO;EAEhB;SAbW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAa;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;;;;qBA0Bb;mBACM;mBAEA;;EASjB;SAZW,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;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IA,KAAK,OAAO;YASZ,cAAc,OAAO,eAAe;YAsBpC,oBAAoB,OAAO;YAe3B,cAAc,OAAO;UAWvB;UAKA;UAMA;UASA;UAsBA;SAxTG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;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;IAAA"}
@@ -63,7 +63,7 @@ export interface TxKanbanColumnView<T> {
63
63
  /** Names of the parts of `tx-kanban` that its `pt` input can style. */
64
64
  export type TxKanbanPart = 'root' | 'column' | 'header' | 'list' | 'card' | 'empty';
65
65
  /**
66
- * Required. `<ng-template txKanbanCard [txKanbanCardOf]="columns" let-item let-column="column">` — the card
66
+ * `<ng-template txKanbanCard [txKanbanCardOf]="columns" let-item let-column="column">` — the card; needed unless `cardTemplate` is set
67
67
  * @see https://tectra-ng.com/components/kanban
68
68
  */
69
69
  export declare class TxKanbanCard<T> {
@@ -185,6 +185,16 @@ export declare class TxKanban<T> {
185
185
  readonly pageSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
186
186
  /** Height of the board, e.g. `70vh`; the columns then scroll inside */
187
187
  readonly height: import("@angular/core").InputSignal<string | undefined>;
188
+ /** The card as a `TemplateRef` (context `$implicit` item, `column`) — for a component that wraps the board and gets the template from its own content; wins over `txKanbanCard` */
189
+ readonly cardTemplate: import("@angular/core").InputSignal<TemplateRef<TxKanbanCardContext<T>> | null | undefined>;
190
+ /** Own column header as a `TemplateRef` (context `$implicit` column); wins over `txKanbanColumnHeader` */
191
+ readonly columnHeaderTemplate: import("@angular/core").InputSignal<TemplateRef<TxKanbanColumnContext<T>> | null | undefined>;
192
+ /** Content under the header as a `TemplateRef`; wins over `txKanbanColumnTop` */
193
+ readonly columnTopTemplate: import("@angular/core").InputSignal<TemplateRef<TxKanbanColumnContext<T>> | null | undefined>;
194
+ /** Content at the bottom of a column as a `TemplateRef`; wins over `txKanbanColumnFooter` */
195
+ readonly columnFooterTemplate: import("@angular/core").InputSignal<TemplateRef<TxKanbanColumnContext<T>> | null | undefined>;
196
+ /** Content of an empty column as a `TemplateRef`; wins over `txKanbanEmpty` */
197
+ readonly emptyTemplate: import("@angular/core").InputSignal<TemplateRef<TxKanbanColumnContext<T>> | null | undefined>;
188
198
  /** Design tokens of this instance (`kanban`) */
189
199
  readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraKanbanTokens> | undefined>;
190
200
  /** Classes and styles of the parts: `root`, `column`, `header`, `list`, `card`, `empty` */
@@ -204,11 +214,16 @@ export declare class TxKanban<T> {
204
214
  readonly hostStyle: import("@angular/core").Signal<{
205
215
  [x: string]: string;
206
216
  }>;
207
- protected readonly cardTemplate: import("@angular/core").Signal<TxKanbanCard<T>>;
208
- protected readonly headerTemplate: import("@angular/core").Signal<TxKanbanColumnHeader<T> | undefined>;
209
- protected readonly topTemplate: import("@angular/core").Signal<TxKanbanColumnTop<T> | undefined>;
210
- protected readonly footerTemplate: import("@angular/core").Signal<TxKanbanColumnFooter<T> | undefined>;
211
- protected readonly emptyTemplate: import("@angular/core").Signal<TxKanbanEmpty<T> | undefined>;
217
+ private readonly cardSlot;
218
+ private readonly headerSlot;
219
+ private readonly topSlot;
220
+ private readonly footerSlot;
221
+ private readonly emptySlot;
222
+ protected readonly card: import("@angular/core").Signal<TemplateRef<TxKanbanCardContext<T>> | null>;
223
+ protected readonly header: import("@angular/core").Signal<TemplateRef<TxKanbanColumnContext<T>> | null>;
224
+ protected readonly top: import("@angular/core").Signal<TemplateRef<TxKanbanColumnContext<T>> | null>;
225
+ protected readonly footer: import("@angular/core").Signal<TemplateRef<TxKanbanColumnContext<T>> | null>;
226
+ protected readonly empty: import("@angular/core").Signal<TemplateRef<TxKanbanColumnContext<T>> | null>;
212
227
  private readonly shown;
213
228
  protected readonly views: import("@angular/core").Signal<TxKanbanColumnView<T>[]>;
214
229
  protected readonly listIds: import("@angular/core").Signal<string[]>;
@@ -285,6 +300,31 @@ export declare class TxKanban<T> {
285
300
  "required": false;
286
301
  "isSignal": true;
287
302
  };
303
+ "cardTemplate": {
304
+ "alias": "cardTemplate";
305
+ "required": false;
306
+ "isSignal": true;
307
+ };
308
+ "columnHeaderTemplate": {
309
+ "alias": "columnHeaderTemplate";
310
+ "required": false;
311
+ "isSignal": true;
312
+ };
313
+ "columnTopTemplate": {
314
+ "alias": "columnTopTemplate";
315
+ "required": false;
316
+ "isSignal": true;
317
+ };
318
+ "columnFooterTemplate": {
319
+ "alias": "columnFooterTemplate";
320
+ "required": false;
321
+ "isSignal": true;
322
+ };
323
+ "emptyTemplate": {
324
+ "alias": "emptyTemplate";
325
+ "required": false;
326
+ "isSignal": true;
327
+ };
288
328
  "dt": {
289
329
  "alias": "dt";
290
330
  "required": false;
@@ -308,6 +348,6 @@ export declare class TxKanban<T> {
308
348
  }, {
309
349
  "itemDropped": "itemDropped";
310
350
  "columnDropped": "columnDropped";
311
- }, ["cardTemplate", "headerTemplate", "topTemplate", "footerTemplate", "emptyTemplate"], ["*"], true, never>;
351
+ }, ["cardSlot", "headerSlot", "topSlot", "footerSlot", "emptySlot"], ["*"], true, never>;
312
352
  }
313
353
  //# sourceMappingURL=tectra-ng-blocks-kanban.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-blocks-kanban.d.ts","names":[],"sources":["../../../../packages/blocks/kanban/src/kanban.types.ts","../../../../packages/blocks/kanban/src/kanban-templates.directive.ts","../../../../packages/blocks/kanban/src/kanban.component.ts"],"mappings":";;;;;;iBACiB,eAAe;;EAE9B;;EAEA;;EAEA,OAAO;;;YAIG,eAAe,MAAM,MAAM;;iBAGtB;;EAEf;;EAE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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;IAAA"}
1
+ {"version":3,"file":"tectra-ng-blocks-kanban.d.ts","names":[],"sources":["../../../../packages/blocks/kanban/src/kanban.types.ts","../../../../packages/blocks/kanban/src/kanban-templates.directive.ts","../../../../packages/blocks/kanban/src/kanban.component.ts"],"mappings":";;;;;;iBACiB,eAAe;;EAE9B;;EAEA;;EAEA,OAAO;;;YAIG,eAAe,MAAM,MAAM;;iBAGtB;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;;iBAIe;;EAEf;;EAEA;;EAEA;;;iBAIe,oBAAoB;;EAEnC,WAAW;;EAEX,QAAQ,eAAe;;;;;;iBAOR,sBAAsB;;EAErC,WAAW,eAAe;;;iBAIX,mBAAmB;;EAElC,QAAQ,eAAe;;EAEvB,OAAO;;EAEP;;;YAIU;;;;;qBC7DC,aAAa;WACf,UAAQ,YAAA,oBAAA;;WACR,wCAAc,qBAAA,eAAA;SAEhB,uBAAuB,GAC5B,YAAY,aAAa,IACzB,mBACC,WAAW,oBAAoB;SAPvB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAY;MAAA;MAAA;MAAA;;;;;;;;qBAaZ,qBAAqB;WACvB,UAAQ,YAAA,sBAAA;;WACR,gDAAsB,qBAAA,eAAA;SAExB,uBAAuB,GAC5B,YAAY,qBAAqB,IACjC,mBACC,WAAW,sBAAsB;SAPzB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAoB;MAAA;MAAA;MAAA;;;;;;;;qBAapB,kBAAkB;WACpB,UAAQ,YAAA,sBAAA;;WACR,6CAAmB,qBAAA,eAAA;SAErB,uBAAuB,GAC5B,YAAY,kBAAkB,IAC9B,mBACC,WAAW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A;qBACJ,gCAAM,OAAA,YAAA,sBAAA;qBACN,6BAAG,OAAA,YAAA,sBAAA;qBACH,gCAAM,OAAA,YAAA,sBAAA;qBACN,+BAAK,OAAA,YAAA,sBAAA;mBAEP;qBACE,+BAAK,OAAA,mBAAA;qBAYL,iCAAO;qBAGP,mCAAS;qBACT,oCAAU;UAIrB;EAER,SAAS;YAaC,cAAc;YAId,SAAS,OAAO,YAAY,mBAAmB;YAkB/C,WAAW,OAAO,qBAAqB,eAAe;YAQtD,cAAc,OAAO,eAAe,qBAAqB;YA6CzD,gBAAgB,OAAO,eAAe;YAkBtC,cAAc,OAAO;YAcrB,cAAc,OAAO;YAQrB;UAIF;UAmBA;UAKA;UA0BA;SApQG,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAQ;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;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { Router } from "@angular/router";
3
- import { TxPassThroughOptions } from "@tectra-ng/core/config";
3
+ import { TxPassThroughOptions, TxThemeMode } from "@tectra-ng/core/config";
4
4
  import { TectraDeepPartial, TectraPublicHeaderTokens } from "@tectra-ng/themes";
5
5
  /** What the burger breakpoint measures: the `viewport` (window) or the `container` (the header itself). */
6
6
  export type TxPublicHeaderResponsive = 'viewport' | 'container';
@@ -43,6 +43,10 @@ export declare class TxPublicHeader {
43
43
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
44
44
  /** Removes the tectra styles */
45
45
  readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
46
+ /** The code of the language chosen in the preferences; the tectra locale has already switched — mirror it into the app's own translations here, or app-wide with `provideTxLocaleSync` */
47
+ readonly languageChange: import("@angular/core").OutputEmitterRef<string>;
48
+ /** The theme mode chosen in the preferences */
49
+ readonly modeChange: import("@angular/core").OutputEmitterRef<TxThemeMode>;
46
50
  readonly isUnstyled: import("@angular/core").Signal<boolean>;
47
51
  readonly passThrough: import("@angular/core").Signal<Partial<Record<TxPublicHeaderPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
48
52
  protected readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
@@ -110,6 +114,9 @@ export declare class TxPublicHeader {
110
114
  "required": false;
111
115
  "isSignal": true;
112
116
  };
113
- }, {}, ["brandSlot"], ["[txPublicHeaderBrand]", "[txPublicHeaderNav]", "[txPublicHeaderActions]"], true, never>;
117
+ }, {
118
+ "languageChange": "languageChange";
119
+ "modeChange": "modeChange";
120
+ }, ["brandSlot"], ["[txPublicHeaderBrand]", "[txPublicHeaderNav]", "[txPublicHeaderActions]"], true, never>;
114
121
  }
115
122
  //# sourceMappingURL=tectra-ng-blocks-public-header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-blocks-public-header.d.ts","names":[],"sources":["../../../../packages/blocks/public-header/src/public-header.types.ts","../../../../packages/blocks/public-header/src/public-header-brand.directive.ts","../../../../packages/blocks/public-header/src/public-header.component.ts"],"mappings":";;;;;YACY;;YAGA;;;;;qBCDC;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBC+CA;mBACM;mBAEA;mBACA;mBACA;qBACE,QAAM;qBACN,mCAAS,OAAA;;WAEnB,+BAAK;;WACL,8BAAI;;WACJ,kCAAQ;;WACR,qCAAW;;WACX,oCAAU,YAAA;;WACV,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;qBACD,sCAAY,wCAAA;qBACZ;WACV,mCAAS;;;qBACC,kCAAQ;WAKlB,8BAAI;WACJ,iCAAO;qBACG,iCAAO;UAClB;;EAiCR;EASA;YAYU,oBAAoB,OAAO;UAM7B;UAKA;YAIE;YAOA,aAAa,OAAO;SA5GnB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;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"}
1
+ {"version":3,"file":"tectra-ng-blocks-public-header.d.ts","names":[],"sources":["../../../../packages/blocks/public-header/src/public-header.types.ts","../../../../packages/blocks/public-header/src/public-header-brand.directive.ts","../../../../packages/blocks/public-header/src/public-header.component.ts"],"mappings":";;;;;YACY;;YAGA;;;;;qBCDC;SAAA,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;;;;;;qBCgDA;mBACM;mBAEA;mBACA;mBACA;qBACE,QAAM;qBACN,mCAAS,OAAA;;WAEnB,+BAAK;;WACL,8BAAI;;WACJ,kCAAQ;;WACR,qCAAW;;WACX,oCAAU,YAAA;;WACV,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,wCAAc;;WACd,oCAAU,iBAAA;WAEV,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;qBACD,sCAAY,wCAAA;qBACZ;WACV,mCAAS;;;qBACC,kCAAQ;WAKlB,8BAAI;WACJ,iCAAO;qBACG,iCAAO;UAClB;;EAiCR;EASA;YAYU,oBAAoB,OAAO;UAM7B;UAKA;YAIE;YAOA,aAAa,OAAO;SA/GnB,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;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;IAAA"}
@@ -269,19 +269,47 @@ export declare class TxWizardStage {
269
269
  };
270
270
  }, {}, never, ["[txWizardBackdrop]", "*"], true, never>;
271
271
  }
272
+ /**
273
+ * Makes any element a wizard scene: with `animate.enter="tx-wizard-scene--enter"` and
274
+ * `animate.leave="tx-wizard-scene--leave"` it slides in and out like the scenes of `tx-wizard-stage`, also
275
+ * outside a stage.
276
+ */
277
+ export declare class TxWizardScene {
278
+ private readonly wizardTheme;
279
+ /** `forward` or `back` — the way this scene slides; without it the nearest `--tx-wizard-direction` (forward when none) */
280
+ readonly direction: import("@angular/core").InputSignal<TxWizardDirection | null | undefined>;
281
+ /** Leaves the scene without the slide animation */
282
+ readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
283
+ readonly isUnstyled: import("@angular/core").Signal<boolean>;
284
+ protected readonly shift: import("@angular/core").Signal<1 | -1 | null>;
285
+ constructor();
286
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxWizardScene, never>;
287
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TxWizardScene, "[txWizardScene]", never, {
288
+ "direction": {
289
+ "alias": "direction";
290
+ "required": false;
291
+ "isSignal": true;
292
+ };
293
+ "unstyled": {
294
+ "alias": "unstyled";
295
+ "required": false;
296
+ "isSignal": true;
297
+ };
298
+ }, {}, never, never, true, never>;
299
+ }
272
300
  /** The back, skip and next buttons of a wizard. */
273
301
  export declare class TxWizardFooter {
274
302
  private readonly wizardTheme;
275
- /** text of the primary button; the translated "Next" by default */
276
- readonly nextLabel: import("@angular/core").InputSignal<string | undefined>;
303
+ /** text of the primary button; the translated "Next" when empty */
304
+ readonly nextLabel: import("@angular/core").InputSignal<string | null | undefined>;
277
305
  /** icon of the primary button (`arrow-right`) */
278
306
  readonly nextIcon: import("@angular/core").InputSignal<TxIconName | (string & {})>;
279
- /** text of the back button; the translated "Back" by default */
280
- readonly backLabel: import("@angular/core").InputSignal<string | undefined>;
307
+ /** text of the back button; the translated "Back" when empty — hide the button with `showBack` */
308
+ readonly backLabel: import("@angular/core").InputSignal<string | null | undefined>;
281
309
  /** `false` hides the back button (the first step) */
282
310
  readonly showBack: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
283
- /** text of a quiet skip button; without it there is none */
284
- readonly skipLabel: import("@angular/core").InputSignal<string | undefined>;
311
+ /** text of a quiet skip button; without it (or with an empty one) there is none */
312
+ readonly skipLabel: import("@angular/core").InputSignal<string | null | undefined>;
285
313
  /** a spinner on the primary button, all buttons disabled */
286
314
  readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
287
315
  /** Design tokens of this instance (`wizard`) */
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-blocks-wizard.d.ts","names":[],"sources":["../../../../packages/blocks/wizard/src/wizard.types.ts","../../../../packages/blocks/wizard/src/wizard-layout.component.ts","../../../../packages/blocks/wizard/src/wizard-progress.component.ts","../../../../packages/blocks/wizard/src/wizard-step-head.component.ts","../../../../packages/blocks/wizard/src/wizard-stage.component.ts","../../../../packages/blocks/wizard/src/wizard-footer.component.ts"],"mappings":";;;;;YACY;;YAGA;;Y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MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA;IAAA"}
1
+ {"version":3,"file":"tectra-ng-blocks-wizard.d.ts","names":[],"sources":["../../../../packages/blocks/wizard/src/wizard.types.ts","../../../../packages/blocks/wizard/src/wizard-layout.component.ts","../../../../packages/blocks/wizard/src/wizard-progress.component.ts","../../../../packages/blocks/wizard/src/wizard-step-head.component.ts","../../../../packages/blocks/wizard/src/wizard-stage.component.ts","../../../../packages/blocks/wizard/src/wizard-scene.directive.ts","../../../../packages/blocks/wizard/src/wizard-footer.component.ts"],"mappings":";;;;;YACY;;YAGA;;YAGA;;YAGA;;YAGA;;YAGA;;YAGA;;;;;qBC6BC;mBACM;;WAER,oCAAU,YAAA;;WACV,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;WACX,mCAAS;;;SAXP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;qBCLd;mBACM;;WAER,+BAAK;;WACL,iCAAO;;WACP,+BAAK;;WACL,oCAAU;;WACV,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,uDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;WAER,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,uDAAA;qBACD,sCAAY,wCAAA;qBACZ,kCAAQ;WAClB,mCAAS;;;SAhBP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAgB;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,YAAA;;WACT,kCAAQ;WAER,oCAAU;qBACA,+BAAK;;SAPb,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAa;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;;;qBCkDb;mBACM;;WAER,mCAAS;;WACT,kCAAQ,YAAA;;WACR,mCAAS;;WACT,kCAAQ;;WACR,mCAAS;;WACT,iCAAO;;WACP,4BAAE,YAAA,kBAAA;;WACF,4BAAE,YAAA,QAAA,OAAA,qDAAA,mBAAA;;WACF,mCAAS,YAAA;;WACT,kCAAQ;;WAER,8BAAI;;WACJ,8BAAI;;WACJ,8BAAI;WAEJ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,qDAAA;qBACD,sCAAY,wCAAA;WACtB,mCAAS;;;SArBP,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAc;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;IAAA;IAAA"}
@@ -1,3 +1,3 @@
1
1
  /** Version of the installed `@tectra-ng/blocks` package, written in when the package is built. */
2
- export declare const TECTRA_BLOCKS_VERSION = "0.4.4";
2
+ export declare const TECTRA_BLOCKS_VERSION = "0.4.5";
3
3
  //# sourceMappingURL=tectra-ng-blocks.d.ts.map
package/wizard/README.md CHANGED
@@ -28,6 +28,18 @@ A full-screen step-by-step flow for onboarding and setup: the step on the left
28
28
 
29
29
  Give each step `animate.enter="tx-wizard-step--enter"` to rise in, and each scene the `tx-wizard-scene` class with `animate.enter="tx-wizard-scene--enter"` / `animate.leave="tx-wizard-scene--leave"`: the scenes stack on the stage and slide forward or back by `direction`. Motion is off with reduced motion.
30
30
 
31
+ Own scene markup outside `tx-wizard-stage` — a stage of your own, a dialog, a card — slides the same way with the `txWizardScene` directive and the same two classes; its `direction` input sets the way, or it follows the nearest element that sets the public `--tx-wizard-direction` variable (`1` forward, `-1` back; `tx-wizard-stage` sets it from its `direction`).
32
+
33
+ ```html
34
+ <div class="my-stage">
35
+ @switch (step()) {
36
+ @case (1) {
37
+ <figure txWizardScene [direction]="direction()" animate.enter="tx-wizard-scene--enter" animate.leave="tx-wizard-scene--leave">…</figure>
38
+ }
39
+ }
40
+ </div>
41
+ ```
42
+
31
43
  ## Inputs
32
44
  | Name | Description |
33
45
  |---|---|
@@ -43,17 +55,23 @@ Give each step `animate.enter="tx-wizard-step--enter"` to rise in, and each scen
43
55
  | direction | `tx-wizard-stage`: `forward` or `back` — the way the scenes slide |
44
56
  | number | `tx-wizard-stage`: step number before the caption, two digits |
45
57
  | caption | `tx-wizard-stage`: caption under the stage; it rises in when it changes |
46
- | nextLabel | `tx-wizard-footer`: text of the primary button; the translated "Next" by default |
58
+ | nextLabel | `tx-wizard-footer`: text of the primary button; the translated "Next" when empty |
47
59
  | nextIcon | `tx-wizard-footer`: icon of the primary button (`arrow-right`) |
48
- | backLabel | `tx-wizard-footer`: text of the back button; the translated "Back" by default |
60
+ | backLabel | `tx-wizard-footer`: text of the back button; the translated "Back" when empty — hide the button with `showBack` |
49
61
  | showBack | `tx-wizard-footer`: `false` hides the back button (the first step) |
50
- | skipLabel | `tx-wizard-footer`: text of a quiet skip button; without it there is none |
62
+ | skipLabel | `tx-wizard-footer`: text of a quiet skip button; without it (or with an empty one) there is none |
51
63
  | loading | `tx-wizard-footer`: a spinner on the primary button, all buttons disabled |
52
64
  | dt | Design tokens of this instance (`wizard`) |
53
65
  | pt | Classes and styles of the parts: layout `root`, `panel`, `header`, `body`, `footer`, `visual`; progress `root`, `label`, `segments`, `segment`; step head `root`, `icon`, `title`, `lead`; stage `root`, `stage`, `caption`; footer `root`, `back`, `skip`, `next` |
54
66
  | ptOptions | How `pt` merges with the global pass-through |
55
67
  | unstyled | Removes the tectra styles |
56
68
 
69
+ ## Inputs — txWizardScene
70
+ | Name | Description |
71
+ |---|---|
72
+ | direction | `forward` or `back` — the way this scene slides; without it the nearest `--tx-wizard-direction` (forward when none) |
73
+ | unstyled | Leaves the scene without the slide animation |
74
+
57
75
  ## Outputs
58
76
  | Name | Description |
59
77
  |---|---|