@rxap/window-system 19.0.5 → 21.0.1-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/compodoc/changelog.html +37 -0
  3. package/compodoc/classes/WindowRef.html +46 -47
  4. package/compodoc/components/WindowActionBarComponent.html +26 -64
  5. package/compodoc/components/WindowContainerComponent.html +219 -175
  6. package/compodoc/components/WindowContentComponent.html +27 -135
  7. package/compodoc/components/WindowResizerComponent.html +188 -194
  8. package/compodoc/components/WindowTaskBarComponent.html +43 -166
  9. package/compodoc/components/WindowTaskBarContainerComponent.html +43 -105
  10. package/compodoc/components/WindowTaskComponent.html +71 -66
  11. package/compodoc/components/WindowToolBarComponent.html +33 -65
  12. package/compodoc/dependencies.html +11 -11
  13. package/compodoc/directives/WindowFooterDirective.html +6 -90
  14. package/compodoc/graph/dependencies.svg +15 -255
  15. package/compodoc/injectables/WindowService.html +23 -124
  16. package/compodoc/interfaces/WindowFooterTemplateContext.html +4 -16
  17. package/compodoc/interfaces/WindowTaskBarContainerSettings.html +14 -25
  18. package/compodoc/js/menu-wc.js +0 -67
  19. package/compodoc/js/menu-wc_es5.js +1 -1
  20. package/compodoc/js/search/search_index.js +2 -2
  21. package/compodoc/modules.html +0 -34
  22. package/compodoc/overview.html +1 -287
  23. package/compodoc/properties.html +1 -1
  24. package/docs/documentation.json +2306 -3085
  25. package/docs/html/assets/hierarchy.js +1 -1
  26. package/docs/html/assets/navigation.js +1 -1
  27. package/docs/html/assets/search.js +1 -1
  28. package/docs/html/classes/DefaultWindowComponent.html +2 -2
  29. package/docs/html/classes/WindowActionBarComponent.html +2 -2
  30. package/docs/html/classes/WindowContainerComponent.html +5 -10
  31. package/docs/html/classes/WindowContentComponent.html +2 -12
  32. package/docs/html/classes/WindowFooterDirective.html +4 -4
  33. package/docs/html/classes/WindowInstanceService.html +3 -3
  34. package/docs/html/classes/WindowRef.html +22 -22
  35. package/docs/html/classes/WindowResizerComponent.html +6 -10
  36. package/docs/html/classes/WindowService.html +2 -2
  37. package/docs/html/classes/WindowTaskBarComponent.html +5 -13
  38. package/docs/html/classes/WindowTaskBarContainerComponent.html +2 -2
  39. package/docs/html/classes/WindowTaskComponent.html +2 -2
  40. package/docs/html/classes/WindowTitleDirective.html +3 -3
  41. package/docs/html/classes/WindowToolBarComponent.html +2 -2
  42. package/docs/html/functions/GetWindowStartPos.html +1 -1
  43. package/docs/html/hierarchy.html +1 -1
  44. package/docs/html/index.html +2 -2
  45. package/docs/html/interfaces/WindowActions.html +2 -2
  46. package/docs/html/interfaces/WindowConfig.html +2 -2
  47. package/docs/html/interfaces/WindowContainerContext.html +2 -2
  48. package/docs/html/interfaces/WindowContext.html +2 -2
  49. package/docs/html/interfaces/WindowFooterTemplateContext.html +2 -2
  50. package/docs/html/interfaces/WindowSettings.html +2 -2
  51. package/docs/html/interfaces/WindowTaskBarContainerSettings.html +2 -2
  52. package/docs/html/interfaces/WindowTitleTemplateContext.html +2 -2
  53. package/docs/html/modules.html +1 -1
  54. package/docs/html/variables/DEFAULT_WINDOW_CONFIG.html +1 -1
  55. package/docs/html/variables/RXAP_WINDOW_CONTAINER_CONTEXT.html +1 -1
  56. package/docs/html/variables/RXAP_WINDOW_CONTEXT.html +1 -1
  57. package/docs/html/variables/RXAP_WINDOW_DATA.html +1 -1
  58. package/docs/html/variables/RXAP_WINDOW_DEFAULT_SETTINGS.html +1 -1
  59. package/docs/html/variables/RXAP_WINDOW_REF.html +1 -1
  60. package/docs/html/variables/RXAP_WINDOW_SETTINGS.html +1 -1
  61. package/docs/html/variables/RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS.html +1 -1
  62. package/docs/markdown/README.md +1 -1
  63. package/docs/markdown/classes/DefaultWindowComponent.md +2 -2
  64. package/docs/markdown/classes/WindowActionBarComponent.md +7 -17
  65. package/docs/markdown/classes/WindowContainerComponent.md +42 -44
  66. package/docs/markdown/classes/WindowContentComponent.md +8 -77
  67. package/docs/markdown/classes/WindowFooterDirective.md +5 -21
  68. package/docs/markdown/classes/WindowInstanceService.md +5 -5
  69. package/docs/markdown/classes/WindowRef.md +69 -71
  70. package/docs/markdown/classes/WindowResizerComponent.md +26 -45
  71. package/docs/markdown/classes/WindowService.md +13 -33
  72. package/docs/markdown/classes/WindowTaskBarComponent.md +9 -72
  73. package/docs/markdown/classes/WindowTaskBarContainerComponent.md +6 -16
  74. package/docs/markdown/classes/WindowTaskComponent.md +6 -6
  75. package/docs/markdown/classes/WindowTitleDirective.md +4 -4
  76. package/docs/markdown/classes/WindowToolBarComponent.md +5 -11
  77. package/docs/markdown/functions/GetWindowStartPos.md +2 -2
  78. package/docs/markdown/globals.md +2 -4
  79. package/docs/markdown/interfaces/WindowActions.md +4 -4
  80. package/docs/markdown/interfaces/WindowConfig.md +25 -25
  81. package/docs/markdown/interfaces/WindowContainerContext.md +4 -4
  82. package/docs/markdown/interfaces/WindowContext.md +6 -6
  83. package/docs/markdown/interfaces/WindowFooterTemplateContext.md +3 -3
  84. package/docs/markdown/interfaces/WindowSettings.md +17 -17
  85. package/docs/markdown/interfaces/WindowTaskBarContainerSettings.md +3 -3
  86. package/docs/markdown/interfaces/WindowTitleTemplateContext.md +3 -3
  87. package/docs/markdown/variables/DEFAULT_WINDOW_CONFIG.md +2 -2
  88. package/docs/markdown/variables/RXAP_WINDOW_CONTAINER_CONTEXT.md +2 -2
  89. package/docs/markdown/variables/RXAP_WINDOW_CONTEXT.md +2 -2
  90. package/docs/markdown/variables/RXAP_WINDOW_DATA.md +2 -2
  91. package/docs/markdown/variables/RXAP_WINDOW_DEFAULT_SETTINGS.md +2 -2
  92. package/docs/markdown/variables/RXAP_WINDOW_REF.md +2 -2
  93. package/docs/markdown/variables/RXAP_WINDOW_SETTINGS.md +2 -2
  94. package/docs/markdown/variables/RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS.md +2 -2
  95. package/docs/wiki/Class.DefaultWindowComponent.md +1 -1
  96. package/docs/wiki/Class.WindowActionBarComponent.md +6 -16
  97. package/docs/wiki/Class.WindowContainerComponent.md +41 -43
  98. package/docs/wiki/Class.WindowContentComponent.md +7 -76
  99. package/docs/wiki/Class.WindowFooterDirective.md +4 -20
  100. package/docs/wiki/Class.WindowInstanceService.md +4 -4
  101. package/docs/wiki/Class.WindowRef.md +68 -70
  102. package/docs/wiki/Class.WindowResizerComponent.md +25 -44
  103. package/docs/wiki/Class.WindowService.md +12 -32
  104. package/docs/wiki/Class.WindowTaskBarComponent.md +8 -71
  105. package/docs/wiki/Class.WindowTaskBarContainerComponent.md +5 -15
  106. package/docs/wiki/Class.WindowTaskComponent.md +5 -5
  107. package/docs/wiki/Class.WindowTitleDirective.md +3 -3
  108. package/docs/wiki/Class.WindowToolBarComponent.md +4 -10
  109. package/docs/wiki/Function.GetWindowStartPos.md +1 -1
  110. package/docs/wiki/Interface.WindowActions.md +3 -3
  111. package/docs/wiki/Interface.WindowConfig.md +24 -24
  112. package/docs/wiki/Interface.WindowContainerContext.md +3 -3
  113. package/docs/wiki/Interface.WindowContext.md +5 -5
  114. package/docs/wiki/Interface.WindowFooterTemplateContext.md +2 -2
  115. package/docs/wiki/Interface.WindowSettings.md +16 -16
  116. package/docs/wiki/Interface.WindowTaskBarContainerSettings.md +2 -2
  117. package/docs/wiki/Interface.WindowTitleTemplateContext.md +2 -2
  118. package/docs/wiki/Variable.DEFAULT_WINDOW_CONFIG.md +1 -1
  119. package/docs/wiki/Variable.RXAP_WINDOW_CONTAINER_CONTEXT.md +1 -1
  120. package/docs/wiki/Variable.RXAP_WINDOW_CONTEXT.md +1 -1
  121. package/docs/wiki/Variable.RXAP_WINDOW_DATA.md +1 -1
  122. package/docs/wiki/Variable.RXAP_WINDOW_DEFAULT_SETTINGS.md +1 -1
  123. package/docs/wiki/Variable.RXAP_WINDOW_REF.md +1 -1
  124. package/docs/wiki/Variable.RXAP_WINDOW_SETTINGS.md +1 -1
  125. package/docs/wiki/Variable.RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS.md +1 -1
  126. package/docs/wiki/_Sidebar.md +0 -2
  127. package/docs/wiki/globals.md +1 -3
  128. package/fesm2022/rxap-window-system.mjs +151 -296
  129. package/fesm2022/rxap-window-system.mjs.map +1 -1
  130. package/package.json +30 -29
  131. package/types/rxap-window-system.d.ts +305 -0
  132. package/docs/html/classes/RxapWindowSystemModule.html +0 -2
  133. package/docs/html/classes/WindowTaskBarModule.html +0 -2
  134. package/docs/markdown/classes/RxapWindowSystemModule.md +0 -19
  135. package/docs/markdown/classes/WindowTaskBarModule.md +0 -19
  136. package/docs/wiki/Class.RxapWindowSystemModule.md +0 -15
  137. package/docs/wiki/Class.WindowTaskBarModule.md +0 -15
  138. package/index.d.ts +0 -20
  139. package/lib/default-window/default-window.component.d.ts +0 -5
  140. package/lib/tokens.d.ts +0 -10
  141. package/lib/utilities.d.ts +0 -4
  142. package/lib/window-action-bar/window-action-bar.component.d.ts +0 -11
  143. package/lib/window-config.d.ts +0 -35
  144. package/lib/window-container/window-container.component.d.ts +0 -21
  145. package/lib/window-content/window-content.component.d.ts +0 -20
  146. package/lib/window-context.d.ts +0 -13
  147. package/lib/window-footer.directive.d.ts +0 -22
  148. package/lib/window-instance.service.d.ts +0 -12
  149. package/lib/window-ref.d.ts +0 -71
  150. package/lib/window-resizer/window-resizer.component.d.ts +0 -17
  151. package/lib/window-system.module.d.ts +0 -13
  152. package/lib/window-task-bar/window-task/window-task.component.d.ts +0 -9
  153. package/lib/window-task-bar/window-task-bar-container/window-task-bar-container.component.d.ts +0 -14
  154. package/lib/window-task-bar/window-task-bar.component.d.ts +0 -14
  155. package/lib/window-task-bar/window-task-bar.module.d.ts +0 -9
  156. package/lib/window-title.directive.d.ts +0 -21
  157. package/lib/window-tool-bar/window-tool-bar.component.d.ts +0 -8
  158. package/lib/window.service.d.ts +0 -27
@@ -158,7 +158,6 @@
158
158
  <td class="col-md-3">imports</td>
159
159
  <td class="col-md-9">
160
160
  <code>NgClass</code>
161
- <code>NgIf</code>
162
161
  <code>MatIconModule</code>
163
162
  <code>IconDirective</code>
164
163
  <code>MatButtonModule</code>
@@ -194,10 +193,9 @@
194
193
  <h3 id="index">Index</h3>
195
194
  <table class="table table-sm table-bordered index-table">
196
195
  <tbody>
197
-
198
196
  <tr>
199
197
  <td class="col-md-4">
200
- <h6><b>Methods</b></h6>
198
+ <h6><b>Properties</b></h6>
201
199
  </td>
202
200
  </tr>
203
201
  <tr>
@@ -205,11 +203,8 @@
205
203
  <ul class="index-list">
206
204
  <li>
207
205
  <span class="modifier">Public</span>
208
- <a href="#close" >close</a>
209
- </li>
210
- <li>
211
- <span class="modifier">Public</span>
212
- <a href="#reopen" >reopen</a>
206
+ <span class="modifier">Readonly</span>
207
+ <a href="#window" >window</a>
213
208
  </li>
214
209
  </ul>
215
210
  </td>
@@ -217,14 +212,19 @@
217
212
 
218
213
  <tr>
219
214
  <td class="col-md-4">
220
- <h6><b>Inputs</b></h6>
215
+ <h6><b>Methods</b></h6>
221
216
  </td>
222
217
  </tr>
223
218
  <tr>
224
219
  <td class="col-md-4">
225
220
  <ul class="index-list">
226
221
  <li>
227
- <a href="#window" >window</a>
222
+ <span class="modifier">Public</span>
223
+ <a href="#close" >close</a>
224
+ </li>
225
+ <li>
226
+ <span class="modifier">Public</span>
227
+ <a href="#reopen" >reopen</a>
228
228
  </li>
229
229
  </ul>
230
230
  </td>
@@ -233,40 +233,13 @@
233
233
 
234
234
 
235
235
 
236
+
236
237
  </tbody>
237
238
  </table>
238
239
  </section>
239
240
 
240
241
 
241
- <section data-compodoc="block-inputs">
242
- <h3 id="inputs">Inputs</h3>
243
- <table class="table table-sm table-bordered">
244
- <tbody>
245
- <tr>
246
- <td class="col-md-4">
247
- <a name="window"></a>
248
- <b>window</b>
249
- </td>
250
- </tr>
251
- <tr>
252
- <td class="col-md-4">
253
- <i>Type : </i> <code><a href="../classes/WindowRef.html" target="_self" >WindowRef&lt;any&gt;</a></code>
254
242
 
255
- </td>
256
- </tr>
257
- <tr>
258
- <td class="col-md-4">
259
- <i>Required : </i>&nbsp;<b>true</b>
260
- </td>
261
- </tr>
262
- <tr>
263
- <td class="col-md-2" colspan="2">
264
- <div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/window-task-bar/window-task/window-task.component.ts:34</a></div>
265
- </td>
266
- </tr>
267
- </tbody>
268
- </table>
269
- </section>
270
243
 
271
244
 
272
245
 
@@ -297,8 +270,8 @@
297
270
 
298
271
  <tr>
299
272
  <td class="col-md-4">
300
- <div class="io-line">Defined in <a href="" data-line="36"
301
- class="link-to-prism">src/lib/window-task-bar/window-task/window-task.component.ts:36</a></div>
273
+ <div class="io-line">Defined in <a href="" data-line="31"
274
+ class="link-to-prism">src/lib/window-task-bar/window-task/window-task.component.ts:31</a></div>
302
275
  </td>
303
276
  </tr>
304
277
 
@@ -336,8 +309,8 @@
336
309
 
337
310
  <tr>
338
311
  <td class="col-md-4">
339
- <div class="io-line">Defined in <a href="" data-line="40"
340
- class="link-to-prism">src/lib/window-task-bar/window-task/window-task.component.ts:40</a></div>
312
+ <div class="io-line">Defined in <a href="" data-line="35"
313
+ class="link-to-prism">src/lib/window-task-bar/window-task/window-task.component.ts:35</a></div>
341
314
  </td>
342
315
  </tr>
343
316
 
@@ -354,6 +327,39 @@
354
327
  </tbody>
355
328
  </table>
356
329
  </section>
330
+ <section data-compodoc="block-properties">
331
+
332
+ <h3 id="inputs">
333
+ Properties
334
+ </h3>
335
+ <table class="table table-sm table-bordered">
336
+ <tbody>
337
+ <tr>
338
+ <td class="col-md-4">
339
+ <a name="window"></a>
340
+ <span class="name">
341
+ <span class="modifier">Public</span>
342
+ <span class="modifier">Readonly</span>
343
+ <span ><b>window</b></span>
344
+ <a href="#window"><span class="icon ion-ios-link"></span></a>
345
+ </span>
346
+ </td>
347
+ </tr>
348
+ <tr>
349
+ <td class="col-md-4">
350
+ <i>Default value : </i><code>input.required&lt;WindowRef&lt;any&gt;&gt;()</code>
351
+ </td>
352
+ </tr>
353
+ <tr>
354
+ <td class="col-md-4">
355
+ <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/window-task-bar/window-task/window-task.component.ts:29</a></div>
356
+ </td>
357
+ </tr>
358
+
359
+
360
+ </tbody>
361
+ </table>
362
+ </section>
357
363
 
358
364
  </div>
359
365
 
@@ -362,18 +368,14 @@
362
368
  <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
363
369
  ChangeDetectionStrategy,
364
370
  Component,
365
- Input,
371
+ input
366
372
  } from &#x27;@angular/core&#x27;;
367
373
  import { WindowRef } from &#x27;../../window-ref&#x27;;
368
374
  import { StopPropagationDirective } from &#x27;@rxap/directives&#x27;;
369
375
  import { MatButtonModule } from &#x27;@angular/material/button&#x27;;
370
376
  import { IconDirective } from &#x27;@rxap/material-directives/icon&#x27;;
371
377
  import { MatIconModule } from &#x27;@angular/material/icon&#x27;;
372
- import {
373
- AsyncPipe,
374
- NgClass,
375
- NgIf,
376
- } from &#x27;@angular/common&#x27;;
378
+ import { AsyncPipe, NgClass } from &#x27;@angular/common&#x27;;
377
379
 
378
380
  @Component({
379
381
  selector: &#x27;rxap-window-task&#x27;,
@@ -381,25 +383,24 @@ import {
381
383
  styleUrls: [&#x27;./window-task.component.scss&#x27;],
382
384
  changeDetection: ChangeDetectionStrategy.OnPush,
383
385
  imports: [
384
- NgClass,
385
- NgIf,
386
- MatIconModule,
387
- IconDirective,
388
- MatButtonModule,
389
- StopPropagationDirective,
390
- AsyncPipe,
391
- ]
386
+ NgClass,
387
+ MatIconModule,
388
+ IconDirective,
389
+ MatButtonModule,
390
+ StopPropagationDirective,
391
+ AsyncPipe
392
+ ]
392
393
  })
393
394
  export class WindowTaskComponent {
394
395
 
395
- @Input({ required: true }) public window!: WindowRef&lt;any&gt;;
396
+ public readonly window &#x3D; input.required&lt;WindowRef&lt;any&gt;&gt;();
396
397
 
397
398
  public close() {
398
- this.window.complete();
399
+ this.window().complete();
399
400
  }
400
401
 
401
402
  public reopen() {
402
- this.window.reopen();
403
+ this.window().reopen();
403
404
  }
404
405
 
405
406
  }
@@ -407,12 +408,16 @@ export class WindowTaskComponent {
407
408
  </div>
408
409
 
409
410
  <div class="tab-pane fade " id="templateData">
410
- <pre class="line-numbers"><code class="language-html">&lt;div (click)&#x3D;&quot;reopen()&quot; [ngClass]&#x3D;&quot;{ minimized: window.isMinimized }&quot;
411
- class&#x3D;&quot;rxap-container mat-elevation-z2 flex flex-row justify-start items-center gap-2&quot;&gt;
412
- &lt;ng-template [ngIf]&#x3D;&quot;window.settings$ | async&quot; let-settings&gt;
413
- &lt;mat-icon *ngIf&#x3D;&quot;settings.icon&quot; [rxapIcon]&#x3D;&quot;settings.icon&quot;&gt;&lt;/mat-icon&gt;
414
- &lt;h3 *ngIf&#x3D;&quot;settings.title&quot; class&#x3D;&quot;grow&quot;&gt;{{settings.title}}&lt;/h3&gt;
415
- &lt;/ng-template&gt;
411
+ <pre class="line-numbers"><code class="language-html">&lt;div (click)&#x3D;&quot;reopen()&quot; [ngClass]&#x3D;&quot;{ minimized: window().isMinimized }&quot;
412
+ class&#x3D;&quot;rxap-container mat-elevation-z2 flex flex-row justify-start items-center gap-2&quot;&gt;
413
+ @if (window().settings$ | async; as settings) {
414
+ @if (settings.icon) {
415
+ &lt;mat-icon [rxapIcon]&#x3D;&quot;settings.icon&quot;&gt;&lt;/mat-icon&gt;
416
+ }
417
+ @if (settings.title) {
418
+ &lt;h3 class&#x3D;&quot;grow&quot;&gt;{{settings.title}}&lt;/h3&gt;
419
+ }
420
+ }
416
421
  &lt;button (click)&#x3D;&quot;close()&quot; mat-icon-button rxapStopPropagation type&#x3D;&quot;button&quot;&gt;
417
422
  &lt;mat-icon&gt;close&lt;/mat-icon&gt;
418
423
  &lt;/button&gt;
@@ -461,7 +466,7 @@ export class WindowTaskComponent {
461
466
  <script src="../js/libs/htmlparser.js"></script>
462
467
  <script src="../js/libs/deep-iterator.js"></script>
463
468
  <script>
464
- var COMPONENT_TEMPLATE = '<div><div (click)="reopen()" [ngClass]="{ minimized: window.isMinimized }" class="rxap-container mat-elevation-z2 flex flex-row justify-start items-center gap-2"> <ng-template [ngIf]="window.settings$ | async" let-settings> <mat-icon *ngIf="settings.icon" [rxapIcon]="settings.icon"></mat-icon> <h3 *ngIf="settings.title" class="grow">{{settings.title}}</h3> </ng-template> <button (click)="close()" mat-icon-button rxapStopPropagation type="button"> <mat-icon>close</mat-icon> </button></div></div>'
469
+ var COMPONENT_TEMPLATE = '<div><div (click)="reopen()" [ngClass]="{ minimized: window().isMinimized }" class="rxap-container mat-elevation-z2 flex flex-row justify-start items-center gap-2"> @if (window().settings$ | async; as settings) { @if (settings.icon) { <mat-icon [rxapIcon]="settings.icon"></mat-icon> } @if (settings.title) { <h3 class="grow">{{settings.title}}</h3> } } <button (click)="close()" mat-icon-button rxapStopPropagation type="button"> <mat-icon>close</mat-icon> </button></div></div>'
465
470
  var COMPONENTS = [{'name': 'DefaultWindowComponent', 'selector': 'rxap-default-window'},{'name': 'WindowActionBarComponent', 'selector': 'rxap-window-action-bar'},{'name': 'WindowContainerComponent', 'selector': 'rxap-window-container'},{'name': 'WindowContentComponent', 'selector': 'rxap-window-content'},{'name': 'WindowResizerComponent', 'selector': 'rxap-window-resizer'},{'name': 'WindowTaskBarComponent', 'selector': 'rxap-window-task-bar'},{'name': 'WindowTaskBarContainerComponent', 'selector': 'rxap-window-task-bar-container'},{'name': 'WindowTaskComponent', 'selector': 'rxap-window-task'},{'name': 'WindowToolBarComponent', 'selector': 'rxap-window-tool-bar'}];
466
471
  var DIRECTIVES = [{'name': 'WindowFooterDirective', 'selector': '[rxapWindowFooter]'},{'name': 'WindowTitleDirective', 'selector': '[rxapWindowTitle]'}];
467
472
  var ACTUAL_COMPONENT = {'name': 'WindowTaskComponent'};
@@ -158,7 +158,6 @@
158
158
  <td class="col-md-3">imports</td>
159
159
  <td class="col-md-9">
160
160
  <code>MatToolbarModule</code>
161
- <code>NgIf</code>
162
161
  <code>PortalModule</code>
163
162
  <code>MatIconModule</code>
164
163
  <code>IconDirective</code>
@@ -225,45 +224,15 @@
225
224
  <tbody>
226
225
  <tr>
227
226
  <td class="col-md-4">
228
- <code>constructor(context: <a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank">any</a>)</code>
227
+ <code>constructor()</code>
229
228
  </td>
230
229
  </tr>
231
230
  <tr>
232
231
  <td class="col-md-4">
233
- <div class="io-line">Defined in <a href="" data-line="35" class="link-to-prism">src/lib/window-tool-bar/window-tool-bar.component.ts:35</a></div>
232
+ <div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/window-tool-bar/window-tool-bar.component.ts:27</a></div>
234
233
  </td>
235
234
  </tr>
236
235
 
237
- <tr>
238
- <td class="col-md-4">
239
- <div>
240
- <b>Parameters :</b>
241
- <table class="params">
242
- <thead>
243
- <tr>
244
- <td>Name</td>
245
- <td>Type</td>
246
- <td>Optional</td>
247
- </tr>
248
- </thead>
249
- <tbody>
250
- <tr>
251
- <td>context</td>
252
-
253
- <td>
254
- <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
255
- </td>
256
-
257
- <td>
258
- No
259
- </td>
260
-
261
- </tr>
262
- </tbody>
263
- </table>
264
- </div>
265
- </td>
266
- </tr>
267
236
  </tbody>
268
237
  </table>
269
238
  </section>
@@ -298,7 +267,7 @@
298
267
  </tr>
299
268
  <tr>
300
269
  <td class="col-md-4">
301
- <div class="io-line">Defined in <a href="" data-line="35" class="link-to-prism">src/lib/window-tool-bar/window-tool-bar.component.ts:35</a></div>
270
+ <div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/window-tool-bar/window-tool-bar.component.ts:27</a></div>
302
271
  </td>
303
272
  </tr>
304
273
 
@@ -311,21 +280,14 @@
311
280
 
312
281
 
313
282
  <div class="tab-pane fade tab-source-code" id="source">
314
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
315
- ChangeDetectionStrategy,
316
- Component,
317
- Inject,
318
- } from &#x27;@angular/core&#x27;;
283
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { ChangeDetectionStrategy, Component, inject } from &#x27;@angular/core&#x27;;
319
284
  import { WindowRef } from &#x27;../window-ref&#x27;;
320
285
  import { RXAP_WINDOW_CONTEXT } from &#x27;../tokens&#x27;;
321
286
  import { MatButtonModule } from &#x27;@angular/material/button&#x27;;
322
287
  import { IconDirective } from &#x27;@rxap/material-directives/icon&#x27;;
323
288
  import { MatIconModule } from &#x27;@angular/material/icon&#x27;;
324
289
  import { PortalModule } from &#x27;@angular/cdk/portal&#x27;;
325
- import {
326
- AsyncPipe,
327
- NgIf,
328
- } from &#x27;@angular/common&#x27;;
290
+ import { AsyncPipe } from &#x27;@angular/common&#x27;;
329
291
  import { MatToolbarModule } from &#x27;@angular/material/toolbar&#x27;;
330
292
 
331
293
  @Component({
@@ -334,20 +296,21 @@ import { MatToolbarModule } from &#x27;@angular/material/toolbar&#x27;;
334
296
  styleUrls: [&#x27;./window-tool-bar.component.scss&#x27;],
335
297
  changeDetection: ChangeDetectionStrategy.Default,
336
298
  imports: [
337
- MatToolbarModule,
338
- NgIf,
339
- PortalModule,
340
- MatIconModule,
341
- IconDirective,
342
- MatButtonModule,
343
- AsyncPipe,
344
- ]
299
+ MatToolbarModule,
300
+ PortalModule,
301
+ MatIconModule,
302
+ IconDirective,
303
+ MatButtonModule,
304
+ AsyncPipe
305
+ ]
345
306
  })
346
307
  export class WindowToolBarComponent&lt;D&gt; {
347
308
 
348
309
  public windowRef: WindowRef&lt;D&gt;;
349
310
 
350
- constructor(@Inject(RXAP_WINDOW_CONTEXT) context: any) {
311
+ constructor() {
312
+ const context &#x3D; inject(RXAP_WINDOW_CONTEXT);
313
+
351
314
  this.windowRef &#x3D; context.windowRef;
352
315
  }
353
316
 
@@ -358,21 +321,26 @@ export class WindowToolBarComponent&lt;D&gt; {
358
321
  <div class="tab-pane fade " id="templateData">
359
322
  <pre class="line-numbers"><code class="language-html">&lt;mat-toolbar class&#x3D;&quot;header flex flex-row items-center justify-between gap-x-4&quot;&gt;
360
323
  &lt;div class&#x3D;&quot;flex flex-row justify-end items-center gap-x-3&quot;&gt;
361
- &lt;ng-template [ngIfElse]&#x3D;&quot;titleFromSettings&quot; [ngIf]&#x3D;&quot;windowRef.titlePortal$ | async&quot; let-titlePortal&gt;
324
+ @if (windowRef.titlePortal$ | async; as titlePortal) {
362
325
  &lt;ng-template [cdkPortalOutlet]&#x3D;&quot;titlePortal&quot;&gt;&lt;/ng-template&gt;
363
- &lt;/ng-template&gt;
364
- &lt;ng-template #titleFromSettings&gt;
365
- &lt;ng-template [ngIf]&#x3D;&quot;windowRef.settings$ | async&quot; let-settings&gt;
366
- &lt;mat-icon *ngIf&#x3D;&quot;settings.icon&quot; [rxapIcon]&#x3D;&quot;settings.icon&quot;&gt;&lt;/mat-icon&gt;
367
- &lt;h3 *ngIf&#x3D;&quot;settings.title&quot;&gt;{{settings.title}}&lt;/h3&gt;
368
- &lt;/ng-template&gt;
369
- &lt;/ng-template&gt;
326
+ } @else {
327
+ @if (windowRef.settings$ | async; as settings) {
328
+ @if (settings.icon) {
329
+ &lt;mat-icon [rxapIcon]&#x3D;&quot;settings.icon&quot;&gt;&lt;/mat-icon&gt;
330
+ }
331
+ @if (settings.title) {
332
+ &lt;h3&gt;{{settings.title}}&lt;/h3&gt;
333
+ }
334
+ }
335
+ }
370
336
  &lt;/div&gt;
371
337
  &lt;div class&#x3D;&quot;flex flex-row justify-end items-center&quot;&gt;
372
- &lt;button (click)&#x3D;&quot;windowRef.minimize()&quot; *ngIf&#x3D;&quot;windowRef.minimizable !&#x3D;&#x3D; false&quot;
373
- mat-icon-button type&#x3D;&quot;button&quot;&gt;
374
- &lt;mat-icon&gt;minimize&lt;/mat-icon&gt;
375
- &lt;/button&gt;
338
+ @if (windowRef.minimizable !&#x3D;&#x3D; false) {
339
+ &lt;button (click)&#x3D;&quot;windowRef.minimize()&quot;
340
+ mat-icon-button type&#x3D;&quot;button&quot;&gt;
341
+ &lt;mat-icon&gt;minimize&lt;/mat-icon&gt;
342
+ &lt;/button&gt;
343
+ }
376
344
  &lt;button (click)&#x3D;&quot;windowRef.fullScreen()&quot; mat-icon-button type&#x3D;&quot;button&quot;&gt;
377
345
  &lt;mat-icon&gt;fullscreen&lt;/mat-icon&gt;
378
346
  &lt;/button&gt;
@@ -423,7 +391,7 @@ export class WindowToolBarComponent&lt;D&gt; {
423
391
  <script src="../js/libs/htmlparser.js"></script>
424
392
  <script src="../js/libs/deep-iterator.js"></script>
425
393
  <script>
426
- var COMPONENT_TEMPLATE = '<div><mat-toolbar class="header flex flex-row items-center justify-between gap-x-4"> <div class="flex flex-row justify-end items-center gap-x-3"> <ng-template [ngIfElse]="titleFromSettings" [ngIf]="windowRef.titlePortal$ | async" let-titlePortal> <ng-template [cdkPortalOutlet]="titlePortal"></ng-template> </ng-template> <ng-template #titleFromSettings> <ng-template [ngIf]="windowRef.settings$ | async" let-settings> <mat-icon *ngIf="settings.icon" [rxapIcon]="settings.icon"></mat-icon> <h3 *ngIf="settings.title">{{settings.title}}</h3> </ng-template> </ng-template> </div> <div class="flex flex-row justify-end items-center"> <button (click)="windowRef.minimize()" *ngIf="windowRef.minimizable !== false" mat-icon-button type="button"> <mat-icon>minimize</mat-icon> </button> <button (click)="windowRef.fullScreen()" mat-icon-button type="button"> <mat-icon>fullscreen</mat-icon> </button> <button (click)="windowRef.complete()" mat-icon-button type="button"> <mat-icon>close</mat-icon> </button> </div></mat-toolbar></div>'
394
+ var COMPONENT_TEMPLATE = '<div><mat-toolbar class="header flex flex-row items-center justify-between gap-x-4"> <div class="flex flex-row justify-end items-center gap-x-3"> @if (windowRef.titlePortal$ | async; as titlePortal) { <ng-template [cdkPortalOutlet]="titlePortal"></ng-template> } @else { @if (windowRef.settings$ | async; as settings) { @if (settings.icon) { <mat-icon [rxapIcon]="settings.icon"></mat-icon> } @if (settings.title) { <h3>{{settings.title}}</h3> } } } </div> <div class="flex flex-row justify-end items-center"> @if (windowRef.minimizable !== false) { <button (click)="windowRef.minimize()" mat-icon-button type="button"> <mat-icon>minimize</mat-icon> </button> } <button (click)="windowRef.fullScreen()" mat-icon-button type="button"> <mat-icon>fullscreen</mat-icon> </button> <button (click)="windowRef.complete()" mat-icon-button type="button"> <mat-icon>close</mat-icon> </button> </div></mat-toolbar></div>'
427
395
  var COMPONENTS = [{'name': 'DefaultWindowComponent', 'selector': 'rxap-default-window'},{'name': 'WindowActionBarComponent', 'selector': 'rxap-window-action-bar'},{'name': 'WindowContainerComponent', 'selector': 'rxap-window-container'},{'name': 'WindowContentComponent', 'selector': 'rxap-window-content'},{'name': 'WindowResizerComponent', 'selector': 'rxap-window-resizer'},{'name': 'WindowTaskBarComponent', 'selector': 'rxap-window-task-bar'},{'name': 'WindowTaskBarContainerComponent', 'selector': 'rxap-window-task-bar-container'},{'name': 'WindowTaskComponent', 'selector': 'rxap-window-task'},{'name': 'WindowToolBarComponent', 'selector': 'rxap-window-tool-bar'}];
428
396
  var DIRECTIVES = [{'name': 'WindowFooterDirective', 'selector': '[rxapWindowFooter]'},{'name': 'WindowTitleDirective', 'selector': '[rxapWindowTitle]'}];
429
397
  var ACTUAL_COMPONENT = {'name': 'WindowToolBarComponent'};
@@ -101,7 +101,7 @@
101
101
  </ol>
102
102
  <ul class="dependencies-list">
103
103
  <li>
104
- <b>@nx/devkit</b> : 20.5.0</li>
104
+ <b>@nx/devkit</b> : 22.7.5</li>
105
105
  <li>
106
106
  <b>tslib</b> : 2.6.2</li>
107
107
  </ul>
@@ -113,25 +113,25 @@
113
113
  </ol>
114
114
  <ul class="dependencies-list">
115
115
  <li>
116
- <b>@angular/cdk</b> : ^19.1.1</li>
116
+ <b>@angular/cdk</b> : ^21.2.9</li>
117
117
  <li>
118
- <b>@angular/common</b> : ^19.2.1</li>
118
+ <b>@angular/common</b> : ^21.2.9</li>
119
119
  <li>
120
- <b>@angular/core</b> : ^19.2.1</li>
120
+ <b>@angular/core</b> : ^21.2.9</li>
121
121
  <li>
122
- <b>@angular/material</b> : ^19.1.1</li>
122
+ <b>@angular/material</b> : ^21.2.9</li>
123
123
  <li>
124
- <b>@rxap/directives</b> : ^19.2.0</li>
124
+ <b>@rxap/directives</b> : ^21.0.1-dev.1</li>
125
125
  <li>
126
- <b>@rxap/material-directives</b> : ^19.2.0</li>
126
+ <b>@rxap/material-directives</b> : ^21.0.1-dev.1</li>
127
127
  <li>
128
- <b>@rxap/rxjs</b> : ^1.1.17</li>
128
+ <b>@rxap/rxjs</b> : ^1.1.18-dev.1</li>
129
129
  <li>
130
- <b>@rxap/services</b> : ^19.1.0</li>
130
+ <b>@rxap/services</b> : ^21.0.1-dev.1</li>
131
131
  <li>
132
- <b>@rxap/utilities</b> : ^16.5.1</li>
132
+ <b>@rxap/utilities</b> : ^16.5.2-dev.1</li>
133
133
  <li>
134
- <b>rxjs</b> : ^7.8.1</li>
134
+ <b>rxjs</b> : ^7.8.2</li>
135
135
  </ul>
136
136
 
137
137
 
@@ -178,78 +178,6 @@
178
178
  </table>
179
179
  </section>
180
180
 
181
- <section data-compodoc="block-constructor">
182
- <h3 id="constructor">Constructor</h3>
183
- <table class="table table-sm table-bordered">
184
- <tbody>
185
- <tr>
186
- <td class="col-md-4">
187
- <code>constructor(windowRef: <a href="../classes/WindowRef.html" target="_self">WindowRef</a>, template: <a href="../interfaces/WindowFooterTemplateContext.html" target="_self">TemplateRef&lt;WindowFooterTemplateContext&gt;</a>, viewContainerRef: ViewContainerRef)</code>
188
- </td>
189
- </tr>
190
- <tr>
191
- <td class="col-md-4">
192
- <div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/lib/window-footer.directive.ts:20</a></div>
193
- </td>
194
- </tr>
195
-
196
- <tr>
197
- <td class="col-md-4">
198
- <div>
199
- <b>Parameters :</b>
200
- <table class="params">
201
- <thead>
202
- <tr>
203
- <td>Name</td>
204
- <td>Type</td>
205
- <td>Optional</td>
206
- </tr>
207
- </thead>
208
- <tbody>
209
- <tr>
210
- <td>windowRef</td>
211
-
212
- <td>
213
- <code><a href="../classes/WindowRef.html" target="_self" >WindowRef</a></code>
214
- </td>
215
-
216
- <td>
217
- No
218
- </td>
219
-
220
- </tr>
221
- <tr>
222
- <td>template</td>
223
-
224
- <td>
225
- <code><a href="../interfaces/WindowFooterTemplateContext.html" target="_self" >TemplateRef&lt;WindowFooterTemplateContext&gt;</a></code>
226
- </td>
227
-
228
- <td>
229
- No
230
- </td>
231
-
232
- </tr>
233
- <tr>
234
- <td>viewContainerRef</td>
235
-
236
- <td>
237
- <code>ViewContainerRef</code>
238
- </td>
239
-
240
- <td>
241
- No
242
- </td>
243
-
244
- </tr>
245
- </tbody>
246
- </table>
247
- </div>
248
- </td>
249
- </tr>
250
- </tbody>
251
- </table>
252
- </section>
253
181
 
254
182
 
255
183
 
@@ -282,8 +210,8 @@
282
210
 
283
211
  <tr>
284
212
  <td class="col-md-4">
285
- <div class="io-line">Defined in <a href="" data-line="38"
286
- class="link-to-prism">src/lib/window-footer.directive.ts:38</a></div>
213
+ <div class="io-line">Defined in <a href="" data-line="26"
214
+ class="link-to-prism">src/lib/window-footer.directive.ts:26</a></div>
287
215
  </td>
288
216
  </tr>
289
217
 
@@ -352,13 +280,7 @@
352
280
 
353
281
 
354
282
  <div class="tab-pane fade tab-source-code" id="source">
355
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
356
- Directive,
357
- Inject,
358
- OnInit,
359
- TemplateRef,
360
- ViewContainerRef,
361
- } from &#x27;@angular/core&#x27;;
283
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, OnInit, TemplateRef, ViewContainerRef, inject } from &#x27;@angular/core&#x27;;
362
284
  import { WindowRef } from &#x27;./window-ref&#x27;;
363
285
  import { RXAP_WINDOW_REF } from &#x27;./tokens&#x27;;
364
286
  import { TemplatePortal } from &#x27;@angular/cdk/portal&#x27;;
@@ -372,16 +294,10 @@ export interface WindowFooterTemplateContext {
372
294
  standalone: true,
373
295
  })
374
296
  export class WindowFooterDirective implements OnInit {
297
+ private readonly windowRef &#x3D; inject&lt;WindowRef&gt;(RXAP_WINDOW_REF);
298
+ private readonly template &#x3D; inject&lt;TemplateRef&lt;WindowFooterTemplateContext&gt;&gt;(TemplateRef);
299
+ private readonly viewContainerRef &#x3D; inject&lt;ViewContainerRef&gt;(ViewContainerRef);
375
300
 
376
- constructor(
377
- @Inject(RXAP_WINDOW_REF)
378
- private readonly windowRef: WindowRef,
379
- @Inject(TemplateRef)
380
- private readonly template: TemplateRef&lt;WindowFooterTemplateContext&gt;,
381
- @Inject(ViewContainerRef)
382
- private readonly viewContainerRef: ViewContainerRef,
383
- ) {
384
- }
385
301
 
386
302
  /**
387
303
  * Asserts the correct type of the context for the template that &#x60;NgForOf&#x60; will render.