@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
@@ -4,261 +4,21 @@
4
4
  <!-- Generated by graphviz version 2.47.0 (20210316.0004)
5
5
  -->
6
6
  <!-- Title: dependencies Pages: 1 -->
7
- <svg width="1853pt" height="284pt"
8
- viewBox="0.00 0.00 1853.00 284.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
- <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 280)">
7
+ <svg width="504pt" height="70pt"
8
+ viewBox="0.00 0.00 504.00 70.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 66)">
10
10
  <title>dependencies</title>
11
- <polygon fill="white" stroke="transparent" points="-4,4 -4,-280 1849,-280 1849,4 -4,4"/>
12
- <text text-anchor="start" x="901.51" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
13
- <polygon fill="#ffffb3" stroke="transparent" points="688.5,-10 688.5,-30 708.5,-30 708.5,-10 688.5,-10"/>
14
- <text text-anchor="start" x="712.13" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Declarations</text>
15
- <polygon fill="#8dd3c7" stroke="transparent" points="801.5,-10 801.5,-30 821.5,-30 821.5,-10 801.5,-10"/>
16
- <text text-anchor="start" x="825.23" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Module</text>
17
- <polygon fill="#80b1d3" stroke="transparent" points="887.5,-10 887.5,-30 907.5,-30 907.5,-10 887.5,-10"/>
18
- <text text-anchor="start" x="911.28" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Bootstrap</text>
19
- <polygon fill="#fdb462" stroke="transparent" points="984.5,-10 984.5,-30 1004.5,-30 1004.5,-10 984.5,-10"/>
20
- <text text-anchor="start" x="1008.17" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Providers</text>
21
- <polygon fill="#fb8072" stroke="transparent" points="1080.5,-10 1080.5,-30 1100.5,-30 1100.5,-10 1080.5,-10"/>
22
- <text text-anchor="start" x="1104.23" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Exports</text>
23
- <g id="clust1" class="cluster">
24
- <title>cluster_RxapWindowSystemModule</title>
25
- <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 1196,-268 1196,-70 8,-70"/>
26
- </g>
27
- <g id="clust3" class="cluster">
28
- <title>cluster_RxapWindowSystemModule_imports</title>
29
- <polygon fill="none" stroke="black" points="16,-78 16,-130 1188,-130 1188,-78 16,-78"/>
30
- </g>
31
- <g id="clust4" class="cluster">
32
- <title>cluster_RxapWindowSystemModule_exports</title>
33
- <polygon fill="none" stroke="black" points="21,-208 21,-260 1182,-260 1182,-208 21,-208"/>
34
- </g>
35
- <g id="clust7" class="cluster">
36
- <title>cluster_WindowTaskBarModule</title>
37
- <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="1204,-70 1204,-268 1837,-268 1837,-70 1204,-70"/>
38
- </g>
39
- <g id="clust9" class="cluster">
40
- <title>cluster_WindowTaskBarModule_imports</title>
41
- <polygon fill="none" stroke="black" points="1212,-78 1212,-130 1829,-130 1829,-78 1212,-78"/>
42
- </g>
43
- <g id="clust10" class="cluster">
44
- <title>cluster_WindowTaskBarModule_exports</title>
45
- <polygon fill="none" stroke="black" points="1296,-208 1296,-260 1746,-260 1746,-208 1296,-208"/>
46
- </g>
47
- <!-- DefaultWindowComponent -->
48
- <g id="node1" class="node">
49
- <title>DefaultWindowComponent</title>
50
- <polygon fill="#8dd3c7" stroke="black" points="1179.52,-122 1176.52,-126 1155.52,-126 1152.52,-122 1008.48,-122 1008.48,-86 1179.52,-86 1179.52,-122"/>
51
- <text text-anchor="middle" x="1094" y="-99.8" font-family="Times,serif" font-size="14.00">DefaultWindowComponent</text>
52
- </g>
53
- <!-- RxapWindowSystemModule -->
54
- <g id="node7" class="node">
55
- <title>RxapWindowSystemModule</title>
56
- <polygon fill="#8dd3c7" stroke="black" points="585.04,-187 582.04,-191 561.04,-191 558.04,-187 406.96,-187 406.96,-151 585.04,-151 585.04,-187"/>
57
- <text text-anchor="middle" x="496" y="-164.8" font-family="Times,serif" font-size="14.00">RxapWindowSystemModule</text>
58
- </g>
59
- <!-- DefaultWindowComponent&#45;&gt;RxapWindowSystemModule -->
60
- <g id="edge1" class="edge">
61
- <title>DefaultWindowComponent&#45;&gt;RxapWindowSystemModule</title>
62
- <path fill="none" stroke="black" d="M1090.88,-122.11C1090.88,-141.34 1090.88,-169 1090.88,-169 1090.88,-169 595.06,-169 595.06,-169"/>
63
- <polygon fill="black" stroke="black" points="595.06,-165.5 585.06,-169 595.06,-172.5 595.06,-165.5"/>
64
- </g>
65
- <!-- WindowActionBarComponent -->
66
- <g id="node2" class="node">
67
- <title>WindowActionBarComponent</title>
68
- <polygon fill="#8dd3c7" stroke="black" points="989.86,-122 986.86,-126 965.86,-126 962.86,-122 802.14,-122 802.14,-86 989.86,-86 989.86,-122"/>
69
- <text text-anchor="middle" x="896" y="-99.8" font-family="Times,serif" font-size="14.00">WindowActionBarComponent</text>
70
- </g>
71
- <!-- WindowActionBarComponent&#45;&gt;RxapWindowSystemModule -->
72
- <g id="edge2" class="edge">
73
- <title>WindowActionBarComponent&#45;&gt;RxapWindowSystemModule</title>
74
- <path fill="none" stroke="black" d="M891.1,-122.3C891.1,-140.27 891.1,-165 891.1,-165 891.1,-165 595.16,-165 595.16,-165"/>
75
- <polygon fill="black" stroke="black" points="595.16,-161.5 585.16,-165 595.16,-168.5 595.16,-161.5"/>
76
- </g>
77
- <!-- WindowContainerComponent -->
78
- <g id="node3" class="node">
79
- <title>WindowContainerComponent</title>
80
- <polygon fill="#8dd3c7" stroke="black" points="784.25,-122 781.25,-126 760.25,-126 757.25,-122 599.75,-122 599.75,-86 784.25,-86 784.25,-122"/>
81
- <text text-anchor="middle" x="692" y="-99.8" font-family="Times,serif" font-size="14.00">WindowContainerComponent</text>
82
- </g>
83
- <!-- WindowContainerComponent&#45;&gt;RxapWindowSystemModule -->
84
- <g id="edge3" class="edge">
85
- <title>WindowContainerComponent&#45;&gt;RxapWindowSystemModule</title>
86
- <path fill="none" stroke="black" d="M657.65,-122.03C657.65,-138.4 657.65,-160 657.65,-160 657.65,-160 595.33,-160 595.33,-160"/>
87
- <polygon fill="black" stroke="black" points="595.33,-156.5 585.33,-160 595.33,-163.5 595.33,-156.5"/>
88
- </g>
89
- <!-- WindowContentComponent -->
90
- <g id="node4" class="node">
91
- <title>WindowContentComponent</title>
92
- <polygon fill="#8dd3c7" stroke="black" points="581.88,-122 578.88,-126 557.88,-126 554.88,-122 408.12,-122 408.12,-86 581.88,-86 581.88,-122"/>
93
- <text text-anchor="middle" x="495" y="-99.8" font-family="Times,serif" font-size="14.00">WindowContentComponent</text>
94
- </g>
95
- <!-- WindowContentComponent&#45;&gt;RxapWindowSystemModule -->
96
- <g id="edge4" class="edge">
97
- <title>WindowContentComponent&#45;&gt;RxapWindowSystemModule</title>
98
- <path fill="none" stroke="black" d="M495,-122.11C495,-122.11 495,-140.99 495,-140.99"/>
99
- <polygon fill="black" stroke="black" points="491.5,-140.99 495,-150.99 498.5,-140.99 491.5,-140.99"/>
100
- </g>
101
- <!-- WindowResizerComponent -->
102
- <g id="node5" class="node">
103
- <title>WindowResizerComponent</title>
104
- <polygon fill="#8dd3c7" stroke="black" points="389.52,-122 386.52,-126 365.52,-126 362.52,-122 218.48,-122 218.48,-86 389.52,-86 389.52,-122"/>
105
- <text text-anchor="middle" x="304" y="-99.8" font-family="Times,serif" font-size="14.00">WindowResizerComponent</text>
106
- </g>
107
- <!-- WindowResizerComponent&#45;&gt;RxapWindowSystemModule -->
108
- <g id="edge5" class="edge">
109
- <title>WindowResizerComponent&#45;&gt;RxapWindowSystemModule</title>
110
- <path fill="none" stroke="black" d="M279.55,-122.01C279.55,-138.05 279.55,-159 279.55,-159 279.55,-159 396.71,-159 396.71,-159"/>
111
- <polygon fill="black" stroke="black" points="396.71,-162.5 406.71,-159 396.71,-155.5 396.71,-162.5"/>
112
- </g>
113
- <!-- WindowToolBarComponent -->
114
- <g id="node6" class="node">
115
- <title>WindowToolBarComponent</title>
116
- <polygon fill="#8dd3c7" stroke="black" points="200.2,-122 197.2,-126 176.2,-126 173.2,-122 23.8,-122 23.8,-86 200.2,-86 200.2,-122"/>
117
- <text text-anchor="middle" x="112" y="-99.8" font-family="Times,serif" font-size="14.00">WindowToolBarComponent</text>
118
- </g>
119
- <!-- WindowToolBarComponent&#45;&gt;RxapWindowSystemModule -->
120
- <g id="edge6" class="edge">
121
- <title>WindowToolBarComponent&#45;&gt;RxapWindowSystemModule</title>
122
- <path fill="none" stroke="black" d="M114.62,-122.27C114.62,-140.56 114.62,-166 114.62,-166 114.62,-166 396.58,-166 396.58,-166"/>
123
- <polygon fill="black" stroke="black" points="396.58,-169.5 406.58,-166 396.58,-162.5 396.58,-169.5"/>
124
- </g>
125
- <!-- DefaultWindowComponent -->
126
- <g id="node8" class="node">
127
- <title>DefaultWindowComponent </title>
128
- <polygon fill="#fb8072" stroke="black" points="1173.52,-252 998.48,-252 998.48,-216 1173.52,-216 1173.52,-252"/>
129
- <text text-anchor="middle" x="1086" y="-229.8" font-family="Times,serif" font-size="14.00">DefaultWindowComponent </text>
130
- </g>
131
- <!-- RxapWindowSystemModule&#45;&gt;DefaultWindowComponent -->
132
- <g id="edge7" class="edge">
133
- <title>RxapWindowSystemModule&#45;&gt;DefaultWindowComponent </title>
134
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M585.25,-174C730.83,-174 1003.36,-174 1003.36,-174 1003.36,-174 1003.36,-206 1003.36,-206"/>
135
- <polygon fill="black" stroke="black" points="999.86,-206 1003.36,-216 1006.86,-206 999.86,-206"/>
136
- </g>
137
- <!-- WindowContainerComponent -->
138
- <g id="node9" class="node">
139
- <title>WindowContainerComponent </title>
140
- <polygon fill="#fb8072" stroke="black" points="980.25,-252 791.75,-252 791.75,-216 980.25,-216 980.25,-252"/>
141
- <text text-anchor="middle" x="886" y="-229.8" font-family="Times,serif" font-size="14.00">WindowContainerComponent </text>
142
- </g>
143
- <!-- RxapWindowSystemModule&#45;&gt;WindowContainerComponent -->
144
- <g id="edge8" class="edge">
145
- <title>RxapWindowSystemModule&#45;&gt;WindowContainerComponent </title>
146
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M585.08,-178C673.83,-178 796.97,-178 796.97,-178 796.97,-178 796.97,-205.97 796.97,-205.97"/>
147
- <polygon fill="black" stroke="black" points="793.47,-205.97 796.97,-215.97 800.47,-205.97 793.47,-205.97"/>
148
- </g>
149
- <!-- WindowContentComponent -->
150
- <g id="node10" class="node">
151
- <title>WindowContentComponent </title>
152
- <polygon fill="#fb8072" stroke="black" points="773.88,-252 596.12,-252 596.12,-216 773.88,-216 773.88,-252"/>
153
- <text text-anchor="middle" x="685" y="-229.8" font-family="Times,serif" font-size="14.00">WindowContentComponent </text>
154
- </g>
155
- <!-- RxapWindowSystemModule&#45;&gt;WindowContentComponent -->
156
- <g id="edge9" class="edge">
157
- <title>RxapWindowSystemModule&#45;&gt;WindowContentComponent </title>
158
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M585.35,-183C646.16,-183 715.67,-183 715.67,-183 715.67,-183 715.67,-205.88 715.67,-205.88"/>
159
- <polygon fill="black" stroke="black" points="712.17,-205.88 715.67,-215.88 719.17,-205.88 712.17,-205.88"/>
160
- </g>
161
- <!-- WindowResizerComponent -->
162
- <g id="node11" class="node">
163
- <title>WindowResizerComponent </title>
164
- <polygon fill="#fb8072" stroke="black" points="578.52,-252 403.48,-252 403.48,-216 578.52,-216 578.52,-252"/>
165
- <text text-anchor="middle" x="491" y="-229.8" font-family="Times,serif" font-size="14.00">WindowResizerComponent </text>
166
- </g>
167
- <!-- RxapWindowSystemModule&#45;&gt;WindowResizerComponent -->
168
- <g id="edge10" class="edge">
169
- <title>RxapWindowSystemModule&#45;&gt;WindowResizerComponent </title>
170
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M492.62,-187.11C492.62,-187.11 492.62,-205.99 492.62,-205.99"/>
171
- <polygon fill="black" stroke="black" points="489.12,-205.99 492.62,-215.99 496.12,-205.99 489.12,-205.99"/>
172
- </g>
173
- <!-- WindowTaskBarModule -->
174
- <g id="node12" class="node">
175
- <title>WindowTaskBarModule </title>
176
- <polygon fill="#fb8072" stroke="black" points="385.19,-252 226.81,-252 226.81,-216 385.19,-216 385.19,-252"/>
177
- <text text-anchor="middle" x="306" y="-229.8" font-family="Times,serif" font-size="14.00">WindowTaskBarModule </text>
178
- </g>
179
- <!-- RxapWindowSystemModule&#45;&gt;WindowTaskBarModule -->
180
- <g id="edge11" class="edge">
181
- <title>RxapWindowSystemModule&#45;&gt;WindowTaskBarModule </title>
182
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M406.57,-180C368.38,-180 332.45,-180 332.45,-180 332.45,-180 332.45,-205.72 332.45,-205.72"/>
183
- <polygon fill="black" stroke="black" points="328.95,-205.72 332.45,-215.72 335.95,-205.72 328.95,-205.72"/>
184
- </g>
185
- <!-- WindowToolBarComponent -->
186
- <g id="node13" class="node">
187
- <title>WindowToolBarComponent </title>
188
- <polygon fill="#fb8072" stroke="black" points="208.7,-252 29.3,-252 29.3,-216 208.7,-216 208.7,-252"/>
189
- <text text-anchor="middle" x="119" y="-229.8" font-family="Times,serif" font-size="14.00">WindowToolBarComponent </text>
190
- </g>
191
- <!-- RxapWindowSystemModule&#45;&gt;WindowToolBarComponent -->
192
- <g id="edge12" class="edge">
193
- <title>RxapWindowSystemModule&#45;&gt;WindowToolBarComponent </title>
194
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M406.95,-173C321.22,-173 204.47,-173 204.47,-173 204.47,-173 204.47,-205.7 204.47,-205.7"/>
195
- <polygon fill="black" stroke="black" points="200.97,-205.7 204.47,-215.7 207.97,-205.7 200.97,-205.7"/>
196
- </g>
197
- <!-- WindowTaskBarComponent -->
198
- <g id="node14" class="node">
199
- <title>WindowTaskBarComponent</title>
200
- <polygon fill="#8dd3c7" stroke="black" points="1821.47,-122 1818.47,-126 1797.47,-126 1794.47,-122 1644.53,-122 1644.53,-86 1821.47,-86 1821.47,-122"/>
201
- <text text-anchor="middle" x="1733" y="-99.8" font-family="Times,serif" font-size="14.00">WindowTaskBarComponent</text>
202
- </g>
203
- <!-- WindowTaskBarModule -->
204
- <g id="node17" class="node">
205
- <title>WindowTaskBarModule</title>
206
- <polygon fill="#8dd3c7" stroke="black" points="1587.69,-187 1584.69,-191 1563.69,-191 1560.69,-187 1432.31,-187 1432.31,-151 1587.69,-151 1587.69,-187"/>
207
- <text text-anchor="middle" x="1510" y="-164.8" font-family="Times,serif" font-size="14.00">WindowTaskBarModule</text>
208
- </g>
209
- <!-- WindowTaskBarComponent&#45;&gt;WindowTaskBarModule -->
210
- <g id="edge13" class="edge">
211
- <title>WindowTaskBarComponent&#45;&gt;WindowTaskBarModule</title>
212
- <path fill="none" stroke="black" d="M1691.38,-122.11C1691.38,-141.34 1691.38,-169 1691.38,-169 1691.38,-169 1597.71,-169 1597.71,-169"/>
213
- <polygon fill="black" stroke="black" points="1597.71,-165.5 1587.71,-169 1597.71,-172.5 1597.71,-165.5"/>
214
- </g>
215
- <!-- WindowTaskBarContainerComponent -->
216
- <g id="node15" class="node">
217
- <title>WindowTaskBarContainerComponent</title>
218
- <polygon fill="#8dd3c7" stroke="black" points="1626.18,-122 1623.18,-126 1602.18,-126 1599.18,-122 1393.82,-122 1393.82,-86 1626.18,-86 1626.18,-122"/>
219
- <text text-anchor="middle" x="1510" y="-99.8" font-family="Times,serif" font-size="14.00">WindowTaskBarContainerComponent</text>
220
- </g>
221
- <!-- WindowTaskBarContainerComponent&#45;&gt;WindowTaskBarModule -->
222
- <g id="edge14" class="edge">
223
- <title>WindowTaskBarContainerComponent&#45;&gt;WindowTaskBarModule</title>
224
- <path fill="none" stroke="black" d="M1510,-122.11C1510,-122.11 1510,-140.99 1510,-140.99"/>
225
- <polygon fill="black" stroke="black" points="1506.5,-140.99 1510,-150.99 1513.5,-140.99 1506.5,-140.99"/>
226
- </g>
227
- <!-- WindowTaskComponent -->
228
- <g id="node16" class="node">
229
- <title>WindowTaskComponent</title>
230
- <polygon fill="#8dd3c7" stroke="black" points="1376.26,-122 1373.26,-126 1352.26,-126 1349.26,-122 1219.74,-122 1219.74,-86 1376.26,-86 1376.26,-122"/>
231
- <text text-anchor="middle" x="1298" y="-99.8" font-family="Times,serif" font-size="14.00">WindowTaskComponent</text>
232
- </g>
233
- <!-- WindowTaskComponent&#45;&gt;WindowTaskBarModule -->
234
- <g id="edge15" class="edge">
235
- <title>WindowTaskComponent&#45;&gt;WindowTaskBarModule</title>
236
- <path fill="none" stroke="black" d="M1340.27,-122.19C1340.27,-137.18 1340.27,-156 1340.27,-156 1340.27,-156 1422.09,-156 1422.09,-156"/>
237
- <polygon fill="black" stroke="black" points="1422.09,-159.5 1432.09,-156 1422.09,-152.5 1422.09,-159.5"/>
238
- </g>
239
- <!-- WindowTaskBarComponent -->
240
- <g id="node18" class="node">
241
- <title>WindowTaskBarComponent </title>
242
- <polygon fill="#fb8072" stroke="black" points="1738.47,-252 1557.53,-252 1557.53,-216 1738.47,-216 1738.47,-252"/>
243
- <text text-anchor="middle" x="1648" y="-229.8" font-family="Times,serif" font-size="14.00">WindowTaskBarComponent </text>
244
- </g>
245
- <!-- WindowTaskBarModule&#45;&gt;WindowTaskBarComponent -->
246
- <g id="edge16" class="edge">
247
- <title>WindowTaskBarModule&#45;&gt;WindowTaskBarComponent </title>
248
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M1572.68,-187.11C1572.68,-187.11 1572.68,-205.99 1572.68,-205.99"/>
249
- <polygon fill="black" stroke="black" points="1569.18,-205.99 1572.68,-215.99 1576.18,-205.99 1569.18,-205.99"/>
250
- </g>
251
- <!-- WindowTaskBarContainerComponent -->
252
- <g id="node19" class="node">
253
- <title>WindowTaskBarContainerComponent </title>
254
- <polygon fill="#fb8072" stroke="black" points="1539.68,-252 1304.32,-252 1304.32,-216 1539.68,-216 1539.68,-252"/>
255
- <text text-anchor="middle" x="1422" y="-229.8" font-family="Times,serif" font-size="14.00">WindowTaskBarContainerComponent </text>
256
- </g>
257
- <!-- WindowTaskBarModule&#45;&gt;WindowTaskBarContainerComponent -->
258
- <g id="edge17" class="edge">
259
- <title>WindowTaskBarModule&#45;&gt;WindowTaskBarContainerComponent </title>
260
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M1486.12,-187.11C1486.12,-187.11 1486.12,-205.99 1486.12,-205.99"/>
261
- <polygon fill="black" stroke="black" points="1482.62,-205.99 1486.12,-215.99 1489.62,-205.99 1482.62,-205.99"/>
262
- </g>
11
+ <polygon fill="white" stroke="transparent" points="-4,4 -4,-66 500,-66 500,4 -4,4"/>
12
+ <text text-anchor="start" x="227.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
13
+ <polygon fill="#ffffb3" stroke="transparent" points="14,-10 14,-30 34,-30 34,-10 14,-10"/>
14
+ <text text-anchor="start" x="37.63" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Declarations</text>
15
+ <polygon fill="#8dd3c7" stroke="transparent" points="127,-10 127,-30 147,-30 147,-10 127,-10"/>
16
+ <text text-anchor="start" x="150.73" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Module</text>
17
+ <polygon fill="#80b1d3" stroke="transparent" points="213,-10 213,-30 233,-30 233,-10 213,-10"/>
18
+ <text text-anchor="start" x="236.78" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Bootstrap</text>
19
+ <polygon fill="#fdb462" stroke="transparent" points="310,-10 310,-30 330,-30 330,-10 310,-10"/>
20
+ <text text-anchor="start" x="333.67" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Providers</text>
21
+ <polygon fill="#fb8072" stroke="transparent" points="406,-10 406,-30 426,-30 426,-10 406,-10"/>
22
+ <text text-anchor="start" x="429.73" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Exports</text>
263
23
  </g>
264
24
  </svg>
@@ -207,90 +207,6 @@
207
207
  </table>
208
208
  </section>
209
209
 
210
- <section data-compodoc="block-constructor">
211
- <h3 id="constructor">Constructor</h3>
212
- <table class="table table-sm table-bordered">
213
- <tbody>
214
- <tr>
215
- <td class="col-md-4">
216
- <code>constructor(injector: Injector, overlay: Overlay, componentFactoryResolver: ComponentFactoryResolver, defaultWindowSettings?: <a href="../interfaces/WindowSettings.html" target="_self">WindowSettings</a>)</code>
217
- </td>
218
- </tr>
219
- <tr>
220
- <td class="col-md-4">
221
- <div class="io-line">Defined in <a href="" data-line="46" class="link-to-prism">src/lib/window.service.ts:46</a></div>
222
- </td>
223
- </tr>
224
-
225
- <tr>
226
- <td class="col-md-4">
227
- <div>
228
- <b>Parameters :</b>
229
- <table class="params">
230
- <thead>
231
- <tr>
232
- <td>Name</td>
233
- <td>Type</td>
234
- <td>Optional</td>
235
- </tr>
236
- </thead>
237
- <tbody>
238
- <tr>
239
- <td>injector</td>
240
-
241
- <td>
242
- <code>Injector</code>
243
- </td>
244
-
245
- <td>
246
- No
247
- </td>
248
-
249
- </tr>
250
- <tr>
251
- <td>overlay</td>
252
-
253
- <td>
254
- <code>Overlay</code>
255
- </td>
256
-
257
- <td>
258
- No
259
- </td>
260
-
261
- </tr>
262
- <tr>
263
- <td>componentFactoryResolver</td>
264
-
265
- <td>
266
- <code>ComponentFactoryResolver</code>
267
- </td>
268
-
269
- <td>
270
- No
271
- </td>
272
-
273
- </tr>
274
- <tr>
275
- <td>defaultWindowSettings</td>
276
-
277
- <td>
278
- <code><a href="../interfaces/WindowSettings.html" target="_self" >WindowSettings</a></code>
279
- </td>
280
-
281
- <td>
282
- Yes
283
- </td>
284
-
285
- </tr>
286
- </tbody>
287
- </table>
288
- </div>
289
- </td>
290
- </tr>
291
- </tbody>
292
- </table>
293
- </section>
294
210
 
295
211
  <section data-compodoc="block-methods">
296
212
 
@@ -319,8 +235,8 @@
319
235
 
320
236
  <tr>
321
237
  <td class="col-md-4">
322
- <div class="io-line">Defined in <a href="" data-line="179"
323
- class="link-to-prism">src/lib/window.service.ts:179</a></div>
238
+ <div class="io-line">Defined in <a href="" data-line="162"
239
+ class="link-to-prism">src/lib/window.service.ts:162</a></div>
324
240
  </td>
325
241
  </tr>
326
242
 
@@ -388,8 +304,8 @@
388
304
 
389
305
  <tr>
390
306
  <td class="col-md-4">
391
- <div class="io-line">Defined in <a href="" data-line="78"
392
- class="link-to-prism">src/lib/window.service.ts:78</a></div>
307
+ <div class="io-line">Defined in <a href="" data-line="64"
308
+ class="link-to-prism">src/lib/window.service.ts:64</a></div>
393
309
  </td>
394
310
  </tr>
395
311
 
@@ -457,8 +373,8 @@
457
373
 
458
374
  <tr>
459
375
  <td class="col-md-4">
460
- <div class="io-line">Defined in <a href="" data-line="71"
461
- class="link-to-prism">src/lib/window.service.ts:71</a></div>
376
+ <div class="io-line">Defined in <a href="" data-line="57"
377
+ class="link-to-prism">src/lib/window.service.ts:57</a></div>
462
378
  </td>
463
379
  </tr>
464
380
 
@@ -534,8 +450,8 @@
534
450
 
535
451
  <tr>
536
452
  <td class="col-md-4">
537
- <div class="io-line">Defined in <a href="" data-line="83"
538
- class="link-to-prism">src/lib/window.service.ts:83</a></div>
453
+ <div class="io-line">Defined in <a href="" data-line="69"
454
+ class="link-to-prism">src/lib/window.service.ts:69</a></div>
539
455
  </td>
540
456
  </tr>
541
457
 
@@ -603,8 +519,8 @@
603
519
 
604
520
  <tr>
605
521
  <td class="col-md-4">
606
- <div class="io-line">Defined in <a href="" data-line="87"
607
- class="link-to-prism">src/lib/window.service.ts:87</a></div>
522
+ <div class="io-line">Defined in <a href="" data-line="73"
523
+ class="link-to-prism">src/lib/window.service.ts:73</a></div>
608
524
  </td>
609
525
  </tr>
610
526
 
@@ -681,8 +597,8 @@
681
597
 
682
598
  <tr>
683
599
  <td class="col-md-4">
684
- <div class="io-line">Defined in <a href="" data-line="173"
685
- class="link-to-prism">src/lib/window.service.ts:173</a></div>
600
+ <div class="io-line">Defined in <a href="" data-line="156"
601
+ class="link-to-prism">src/lib/window.service.ts:156</a></div>
686
602
  </td>
687
603
  </tr>
688
604
 
@@ -754,7 +670,7 @@
754
670
  </tr>
755
671
  <tr>
756
672
  <td class="col-md-4">
757
- <div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/lib/window.service.ts:45</a></div>
673
+ <div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/window.service.ts:42</a></div>
758
674
  </td>
759
675
  </tr>
760
676
 
@@ -783,7 +699,7 @@
783
699
  </tr>
784
700
  <tr>
785
701
  <td class="col-md-4">
786
- <div class="io-line">Defined in <a href="" data-line="59" class="link-to-prism">src/lib/window.service.ts:59</a></div>
702
+ <div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/lib/window.service.ts:45</a></div>
787
703
  </td>
788
704
  </tr>
789
705
 
@@ -805,7 +721,7 @@
805
721
  </tr>
806
722
  <tr>
807
723
  <td class="col-md-4">
808
- <div class="io-line">Defined in <a href="" data-line="63" class="link-to-prism">src/lib/window.service.ts:63</a></div>
724
+ <div class="io-line">Defined in <a href="" data-line="49" class="link-to-prism">src/lib/window.service.ts:49</a></div>
809
725
  </td>
810
726
  </tr>
811
727
 
@@ -827,7 +743,7 @@
827
743
  </tr>
828
744
  <tr>
829
745
  <td class="col-md-4">
830
- <div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/lib/window.service.ts:67</a></div>
746
+ <div class="io-line">Defined in <a href="" data-line="53" class="link-to-prism">src/lib/window.service.ts:53</a></div>
831
747
  </td>
832
748
  </tr>
833
749
 
@@ -843,15 +759,7 @@
843
759
  OverlayConfig,
844
760
  } from &#x27;@angular/cdk/overlay&#x27;;
845
761
  import { ComponentPortal } from &#x27;@angular/cdk/portal&#x27;;
846
- import {
847
- ComponentFactoryResolver,
848
- Inject,
849
- Injectable,
850
- InjectFlags,
851
- Injector,
852
- Optional,
853
- ViewContainerRef,
854
- } from &#x27;@angular/core&#x27;;
762
+ import { ComponentFactoryResolver, Injectable, Injector, ViewContainerRef, inject } from &#x27;@angular/core&#x27;;
855
763
  import { LoadingIndicatorService } from &#x27;@rxap/services&#x27;;
856
764
  import { GenerateRandomString } from &#x27;@rxap/utilities&#x27;;
857
765
  import { Subject } from &#x27;rxjs&#x27;;
@@ -882,20 +790,14 @@ import { WindowRef } from &#x27;./window-ref&#x27;;
882
790
 
883
791
  @Injectable({ providedIn: &#x27;root&#x27; })
884
792
  export class WindowService {
793
+ private readonly injector &#x3D; inject&lt;Injector&gt;(Injector);
794
+ private readonly overlay &#x3D; inject&lt;Overlay&gt;(Overlay);
795
+ private readonly componentFactoryResolver &#x3D; inject&lt;ComponentFactoryResolver&gt;(ComponentFactoryResolver);
796
+ private readonly defaultWindowSettings &#x3D; inject&lt;WindowSettings&gt;(RXAP_WINDOW_DEFAULT_SETTINGS, { optional: true });
797
+
885
798
  public readonly activeCount$ &#x3D; new Subject&lt;number&gt;();
886
799
  private readonly active &#x3D; new Map&lt;string, WindowRef&lt;any&gt;&gt;();
887
800
 
888
- constructor(
889
- @Inject(Injector) private readonly injector: Injector,
890
- @Inject(Overlay) private readonly overlay: Overlay,
891
- @Inject(ComponentFactoryResolver)
892
- private readonly componentFactoryResolver: ComponentFactoryResolver,
893
- @Optional()
894
- @Inject(RXAP_WINDOW_DEFAULT_SETTINGS)
895
- private readonly defaultWindowSettings?: WindowSettings,
896
- ) {
897
- }
898
-
899
801
  public get hasActiveWindows(): boolean {
900
802
  return this.active.size !&#x3D;&#x3D; 0;
901
803
  }
@@ -984,13 +886,10 @@ export class WindowService {
984
886
 
985
887
  const containerPortal &#x3D; new ComponentPortal(
986
888
  windowConfig.windowComponent ?? DefaultWindowComponent,
987
- injector.get(ViewContainerRef, null, InjectFlags.Optional) ??
889
+ injector.get(ViewContainerRef, null, { optional: true }) ??
988
890
  windowConfig.viewContainerRef ??
989
891
  null,
990
892
  injector,
991
- injector.get(ComponentFactoryResolver, null, InjectFlags.Optional) ??
992
- windowConfig.componentFactoryResolver ??
993
- this.componentFactoryResolver,
994
893
  );
995
894
 
996
895
  overlayRef.attach(containerPortal);
@@ -195,13 +195,7 @@
195
195
 
196
196
 
197
197
  <div class="tab-pane fade tab-source-code" id="source">
198
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
199
- Directive,
200
- Inject,
201
- OnInit,
202
- TemplateRef,
203
- ViewContainerRef,
204
- } from &#x27;@angular/core&#x27;;
198
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, OnInit, TemplateRef, ViewContainerRef, inject } from &#x27;@angular/core&#x27;;
205
199
  import { WindowRef } from &#x27;./window-ref&#x27;;
206
200
  import { RXAP_WINDOW_REF } from &#x27;./tokens&#x27;;
207
201
  import { TemplatePortal } from &#x27;@angular/cdk/portal&#x27;;
@@ -215,16 +209,10 @@ export interface WindowFooterTemplateContext {
215
209
  standalone: true,
216
210
  })
217
211
  export class WindowFooterDirective implements OnInit {
212
+ private readonly windowRef &#x3D; inject&lt;WindowRef&gt;(RXAP_WINDOW_REF);
213
+ private readonly template &#x3D; inject&lt;TemplateRef&lt;WindowFooterTemplateContext&gt;&gt;(TemplateRef);
214
+ private readonly viewContainerRef &#x3D; inject&lt;ViewContainerRef&gt;(ViewContainerRef);
218
215
 
219
- constructor(
220
- @Inject(RXAP_WINDOW_REF)
221
- private readonly windowRef: WindowRef,
222
- @Inject(TemplateRef)
223
- private readonly template: TemplateRef&lt;WindowFooterTemplateContext&gt;,
224
- @Inject(ViewContainerRef)
225
- private readonly viewContainerRef: ViewContainerRef,
226
- ) {
227
- }
228
216
 
229
217
  /**
230
218
  * Asserts the correct type of the context for the template that &#x60;NgForOf&#x60; will render.
@@ -201,22 +201,14 @@
201
201
 
202
202
 
203
203
  <div class="tab-pane fade tab-source-code" id="source">
204
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
205
- Component,
206
- Inject,
207
- InjectionToken,
208
- Optional,
209
- } from &#x27;@angular/core&#x27;;
204
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Component, InjectionToken, inject } from &#x27;@angular/core&#x27;;
210
205
  import { WindowService } from &#x27;../../window.service&#x27;;
211
206
  import { WindowTaskBarComponent } from &#x27;../window-task-bar.component&#x27;;
212
207
  import { MatToolbarModule } from &#x27;@angular/material/toolbar&#x27;;
213
208
  import { MatIconModule } from &#x27;@angular/material/icon&#x27;;
214
209
  import { MatBadgeModule } from &#x27;@angular/material/badge&#x27;;
215
210
  import { MatButtonModule } from &#x27;@angular/material/button&#x27;;
216
- import {
217
- NgClass,
218
- NgIf,
219
- } from &#x27;@angular/common&#x27;;
211
+ import { NgClass } from &#x27;@angular/common&#x27;;
220
212
 
221
213
  export interface WindowTaskBarContainerSettings {
222
214
  expand?: boolean;
@@ -229,26 +221,23 @@ export const RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS &#x3D; new InjectionToken(&
229
221
  templateUrl: &#x27;./window-task-bar-container.component.html&#x27;,
230
222
  styleUrls: [&#x27;./window-task-bar-container.component.scss&#x27;],
231
223
  imports: [
232
- NgIf,
233
- MatButtonModule,
234
- MatBadgeModule,
235
- MatIconModule,
236
- MatToolbarModule,
237
- WindowTaskBarComponent,
238
- NgClass,
239
- ]
224
+ MatButtonModule,
225
+ MatBadgeModule,
226
+ MatIconModule,
227
+ MatToolbarModule,
228
+ WindowTaskBarComponent,
229
+ NgClass
230
+ ]
240
231
  })
241
232
  export class WindowTaskBarContainerComponent {
233
+ windowService &#x3D; inject&lt;WindowService&gt;(WindowService);
234
+
242
235
 
243
236
  public expand &#x3D; true;
244
237
 
245
- constructor(
246
- @Inject(WindowService)
247
- public windowService: WindowService,
248
- @Optional()
249
- @Inject(RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS)
250
- settings: WindowTaskBarContainerSettings | null &#x3D; null,
251
- ) {
238
+ constructor() {
239
+ const settings &#x3D; inject&lt;WindowTaskBarContainerSettings | null&gt;(RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS, { optional: true }) ?? null;
240
+
252
241
  if (settings) {
253
242
  if (settings.expand !&#x3D;&#x3D; undefined) {
254
243
  this.expand &#x3D; settings.expand;