@rxap/window-system 21.0.1-dev.0 → 21.0.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.
- package/CHANGELOG.md +45 -0
- package/compodoc/changelog.html +43 -0
- package/compodoc/components/WindowActionBarComponent.html +18 -57
- package/compodoc/components/WindowContainerComponent.html +219 -175
- package/compodoc/components/WindowContentComponent.html +27 -135
- package/compodoc/components/WindowResizerComponent.html +188 -194
- package/compodoc/components/WindowTaskBarComponent.html +35 -159
- package/compodoc/components/WindowTaskBarContainerComponent.html +11 -74
- package/compodoc/components/WindowTaskComponent.html +51 -44
- package/compodoc/components/WindowToolBarComponent.html +7 -39
- package/compodoc/dependencies.html +5 -5
- package/compodoc/directives/WindowFooterDirective.html +6 -90
- package/compodoc/graph/dependencies.svg +15 -255
- package/compodoc/injectables/WindowService.html +22 -119
- package/compodoc/interfaces/WindowFooterTemplateContext.html +4 -16
- package/compodoc/interfaces/WindowTaskBarContainerSettings.html +6 -13
- package/compodoc/js/menu-wc.js +0 -67
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/modules.html +0 -34
- package/compodoc/overview.html +1 -287
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +2006 -2781
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/DefaultWindowComponent.html +2 -2
- package/docs/html/classes/WindowActionBarComponent.html +2 -2
- package/docs/html/classes/WindowContainerComponent.html +5 -10
- package/docs/html/classes/WindowContentComponent.html +2 -12
- package/docs/html/classes/WindowFooterDirective.html +4 -4
- package/docs/html/classes/WindowInstanceService.html +3 -3
- package/docs/html/classes/WindowRef.html +11 -11
- package/docs/html/classes/WindowResizerComponent.html +6 -10
- package/docs/html/classes/WindowService.html +2 -2
- package/docs/html/classes/WindowTaskBarComponent.html +5 -13
- package/docs/html/classes/WindowTaskBarContainerComponent.html +2 -2
- package/docs/html/classes/WindowTaskComponent.html +2 -2
- package/docs/html/classes/WindowTitleDirective.html +3 -3
- package/docs/html/classes/WindowToolBarComponent.html +2 -2
- package/docs/html/functions/GetWindowStartPos.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/WindowActions.html +2 -2
- package/docs/html/interfaces/WindowConfig.html +2 -2
- package/docs/html/interfaces/WindowContainerContext.html +2 -2
- package/docs/html/interfaces/WindowContext.html +2 -2
- package/docs/html/interfaces/WindowFooterTemplateContext.html +2 -2
- package/docs/html/interfaces/WindowSettings.html +2 -2
- package/docs/html/interfaces/WindowTaskBarContainerSettings.html +2 -2
- package/docs/html/interfaces/WindowTitleTemplateContext.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/variables/DEFAULT_WINDOW_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_CONTAINER_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_CONTEXT.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_DATA.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_DEFAULT_SETTINGS.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_REF.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_SETTINGS.html +1 -1
- package/docs/html/variables/RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/DefaultWindowComponent.md +2 -2
- package/docs/markdown/classes/WindowActionBarComponent.md +7 -17
- package/docs/markdown/classes/WindowContainerComponent.md +42 -44
- package/docs/markdown/classes/WindowContentComponent.md +8 -77
- package/docs/markdown/classes/WindowFooterDirective.md +5 -21
- package/docs/markdown/classes/WindowInstanceService.md +5 -5
- package/docs/markdown/classes/WindowRef.md +36 -36
- package/docs/markdown/classes/WindowResizerComponent.md +26 -45
- package/docs/markdown/classes/WindowService.md +13 -33
- package/docs/markdown/classes/WindowTaskBarComponent.md +9 -72
- package/docs/markdown/classes/WindowTaskBarContainerComponent.md +6 -16
- package/docs/markdown/classes/WindowTaskComponent.md +6 -6
- package/docs/markdown/classes/WindowTitleDirective.md +4 -4
- package/docs/markdown/classes/WindowToolBarComponent.md +5 -11
- package/docs/markdown/functions/GetWindowStartPos.md +2 -2
- package/docs/markdown/globals.md +2 -4
- package/docs/markdown/interfaces/WindowActions.md +4 -4
- package/docs/markdown/interfaces/WindowConfig.md +24 -24
- package/docs/markdown/interfaces/WindowContainerContext.md +4 -4
- package/docs/markdown/interfaces/WindowContext.md +6 -6
- package/docs/markdown/interfaces/WindowFooterTemplateContext.md +3 -3
- package/docs/markdown/interfaces/WindowSettings.md +17 -17
- package/docs/markdown/interfaces/WindowTaskBarContainerSettings.md +3 -3
- package/docs/markdown/interfaces/WindowTitleTemplateContext.md +3 -3
- package/docs/markdown/variables/DEFAULT_WINDOW_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_CONTAINER_CONTEXT.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_CONTEXT.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_DATA.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_DEFAULT_SETTINGS.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_REF.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_SETTINGS.md +2 -2
- package/docs/markdown/variables/RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS.md +2 -2
- package/docs/wiki/Class.DefaultWindowComponent.md +1 -1
- package/docs/wiki/Class.WindowActionBarComponent.md +6 -16
- package/docs/wiki/Class.WindowContainerComponent.md +41 -43
- package/docs/wiki/Class.WindowContentComponent.md +7 -76
- package/docs/wiki/Class.WindowFooterDirective.md +4 -20
- package/docs/wiki/Class.WindowInstanceService.md +4 -4
- package/docs/wiki/Class.WindowRef.md +35 -35
- package/docs/wiki/Class.WindowResizerComponent.md +25 -44
- package/docs/wiki/Class.WindowService.md +12 -32
- package/docs/wiki/Class.WindowTaskBarComponent.md +8 -71
- package/docs/wiki/Class.WindowTaskBarContainerComponent.md +5 -15
- package/docs/wiki/Class.WindowTaskComponent.md +5 -5
- package/docs/wiki/Class.WindowTitleDirective.md +3 -3
- package/docs/wiki/Class.WindowToolBarComponent.md +4 -10
- package/docs/wiki/Function.GetWindowStartPos.md +1 -1
- package/docs/wiki/Interface.WindowActions.md +3 -3
- package/docs/wiki/Interface.WindowConfig.md +23 -23
- package/docs/wiki/Interface.WindowContainerContext.md +3 -3
- package/docs/wiki/Interface.WindowContext.md +5 -5
- package/docs/wiki/Interface.WindowFooterTemplateContext.md +2 -2
- package/docs/wiki/Interface.WindowSettings.md +16 -16
- package/docs/wiki/Interface.WindowTaskBarContainerSettings.md +2 -2
- package/docs/wiki/Interface.WindowTitleTemplateContext.md +2 -2
- package/docs/wiki/Variable.DEFAULT_WINDOW_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_CONTAINER_CONTEXT.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_CONTEXT.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_DATA.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_DEFAULT_SETTINGS.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_REF.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_SETTINGS.md +1 -1
- package/docs/wiki/Variable.RXAP_WINDOW_TASK_BAR_CONTAINER_SETTINGS.md +1 -1
- package/docs/wiki/_Sidebar.md +0 -2
- package/docs/wiki/globals.md +1 -3
- package/fesm2022/rxap-window-system.mjs +117 -257
- package/fesm2022/rxap-window-system.mjs.map +1 -1
- package/package.json +14 -14
- package/types/rxap-window-system.d.ts +44 -55
- package/docs/html/classes/RxapWindowSystemModule.html +0 -2
- package/docs/html/classes/WindowTaskBarModule.html +0 -2
- package/docs/markdown/classes/RxapWindowSystemModule.md +0 -19
- package/docs/markdown/classes/WindowTaskBarModule.md +0 -19
- package/docs/wiki/Class.RxapWindowSystemModule.md +0 -15
- package/docs/wiki/Class.WindowTaskBarModule.md +0 -15
|
@@ -126,12 +126,6 @@
|
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
|
|
129
|
-
<p class="comment">
|
|
130
|
-
<h3>Implements</h3>
|
|
131
|
-
</p>
|
|
132
|
-
<p class="comment">
|
|
133
|
-
<code>OnInit</code>
|
|
134
|
-
</p>
|
|
135
129
|
|
|
136
130
|
|
|
137
131
|
<section data-compodoc="block-metadata">
|
|
@@ -141,7 +135,7 @@
|
|
|
141
135
|
|
|
142
136
|
<tr>
|
|
143
137
|
<td class="col-md-3">changeDetection</td>
|
|
144
|
-
<td class="col-md-9"><code>ChangeDetectionStrategy.
|
|
138
|
+
<td class="col-md-9"><code>ChangeDetectionStrategy.OnPush</code></td>
|
|
145
139
|
</tr>
|
|
146
140
|
|
|
147
141
|
|
|
@@ -215,8 +209,8 @@
|
|
|
215
209
|
<td class="col-md-4">
|
|
216
210
|
<ul class="index-list">
|
|
217
211
|
<li>
|
|
218
|
-
<span class="modifier"></span>
|
|
219
212
|
<span class="modifier">Public</span>
|
|
213
|
+
<span class="modifier">Readonly</span>
|
|
220
214
|
<a href="#containerRef" >containerRef</a>
|
|
221
215
|
</li>
|
|
222
216
|
<li>
|
|
@@ -225,21 +219,23 @@
|
|
|
225
219
|
<a href="#context" >context</a>
|
|
226
220
|
</li>
|
|
227
221
|
<li>
|
|
228
|
-
<span class="modifier"></span>
|
|
229
222
|
<span class="modifier">Public</span>
|
|
223
|
+
<span class="modifier">Readonly</span>
|
|
230
224
|
<a href="#footerContent" >footerContent</a>
|
|
231
225
|
</li>
|
|
232
226
|
<li>
|
|
233
227
|
<span class="modifier">Public</span>
|
|
228
|
+
<span class="modifier">Readonly</span>
|
|
234
229
|
<a href="#height" >height</a>
|
|
235
230
|
</li>
|
|
236
231
|
<li>
|
|
237
232
|
<span class="modifier">Public</span>
|
|
233
|
+
<span class="modifier">Readonly</span>
|
|
238
234
|
<a href="#width" >width</a>
|
|
239
235
|
</li>
|
|
240
236
|
<li>
|
|
241
|
-
<span class="modifier"></span>
|
|
242
237
|
<span class="modifier">Public</span>
|
|
238
|
+
<span class="modifier">Readonly</span>
|
|
243
239
|
<a href="#windowContainerResizer" >windowContainerResizer</a>
|
|
244
240
|
</li>
|
|
245
241
|
<li>
|
|
@@ -268,108 +264,216 @@
|
|
|
268
264
|
<span class="modifier">Public</span>
|
|
269
265
|
<a href="#onDragEnded" >onDragEnded</a>
|
|
270
266
|
</li>
|
|
267
|
+
<li>
|
|
268
|
+
<span class="modifier">Public</span>
|
|
269
|
+
<a href="#onResizerHeight" >onResizerHeight</a>
|
|
270
|
+
</li>
|
|
271
|
+
<li>
|
|
272
|
+
<span class="modifier">Public</span>
|
|
273
|
+
<a href="#onResizerWidth" >onResizerWidth</a>
|
|
274
|
+
</li>
|
|
271
275
|
</ul>
|
|
272
276
|
</td>
|
|
273
277
|
</tr>
|
|
274
278
|
|
|
275
279
|
|
|
276
280
|
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
</tbody>
|
|
284
|
+
</table>
|
|
285
|
+
</section>
|
|
286
|
+
|
|
287
|
+
<section data-compodoc="block-constructor">
|
|
288
|
+
<h3 id="constructor">Constructor</h3>
|
|
289
|
+
<table class="table table-sm table-bordered">
|
|
290
|
+
<tbody>
|
|
277
291
|
<tr>
|
|
278
292
|
<td class="col-md-4">
|
|
279
|
-
|
|
280
|
-
</td>
|
|
281
|
-
</tr>
|
|
282
|
-
<tr>
|
|
283
|
-
<td class="col-md-4">
|
|
284
|
-
<ul class="index-list">
|
|
285
|
-
<li>
|
|
286
|
-
<a href="#attr.data-id" >attr.data-id</a>
|
|
287
|
-
</li>
|
|
288
|
-
</ul>
|
|
293
|
+
<code>constructor()</code>
|
|
289
294
|
</td>
|
|
290
295
|
</tr>
|
|
296
|
+
<tr>
|
|
297
|
+
<td class="col-md-4">
|
|
298
|
+
<div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/lib/window-container/window-container.component.ts:67</a></div>
|
|
299
|
+
</td>
|
|
300
|
+
</tr>
|
|
301
|
+
|
|
302
|
+
</tbody>
|
|
303
|
+
</table>
|
|
304
|
+
</section>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
<section data-compodoc="block-methods">
|
|
311
|
+
|
|
312
|
+
<h3 id="methods">
|
|
313
|
+
Methods
|
|
314
|
+
</h3>
|
|
315
|
+
<table class="table table-sm table-bordered">
|
|
316
|
+
<tbody>
|
|
317
|
+
<tr>
|
|
318
|
+
<td class="col-md-4">
|
|
319
|
+
<a name="onDragEnded"></a>
|
|
320
|
+
<span class="name">
|
|
321
|
+
<span class="modifier">Public</span>
|
|
322
|
+
<span ><b>onDragEnded</b></span>
|
|
323
|
+
<a href="#onDragEnded"><span class="icon ion-ios-link"></span></a>
|
|
324
|
+
</span>
|
|
325
|
+
</td>
|
|
326
|
+
</tr>
|
|
327
|
+
<tr>
|
|
328
|
+
<td class="col-md-4">
|
|
329
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
330
|
+
<code>onDragEnded($event: CdkDragEnd)</code>
|
|
331
|
+
</td>
|
|
332
|
+
</tr>
|
|
291
333
|
|
|
292
334
|
|
|
293
335
|
<tr>
|
|
294
336
|
<td class="col-md-4">
|
|
295
|
-
<
|
|
296
|
-
|
|
297
|
-
</tr>
|
|
298
|
-
<tr>
|
|
299
|
-
<td class="col-md-4">
|
|
300
|
-
<ul class="index-list">
|
|
301
|
-
<li>
|
|
302
|
-
<a href="#id" >id</a>
|
|
303
|
-
</li>
|
|
304
|
-
</ul>
|
|
337
|
+
<div class="io-line">Defined in <a href="" data-line="94"
|
|
338
|
+
class="link-to-prism">src/lib/window-container/window-container.component.ts:94</a></div>
|
|
305
339
|
</td>
|
|
306
340
|
</tr>
|
|
307
|
-
</tbody>
|
|
308
|
-
</table>
|
|
309
|
-
</section>
|
|
310
341
|
|
|
311
342
|
|
|
343
|
+
<tr>
|
|
344
|
+
<td class="col-md-4">
|
|
345
|
+
|
|
346
|
+
<div class="io-description">
|
|
347
|
+
<b>Parameters :</b>
|
|
348
|
+
|
|
349
|
+
<table class="params">
|
|
350
|
+
<thead>
|
|
351
|
+
<tr>
|
|
352
|
+
<td>Name</td>
|
|
353
|
+
<td>Type</td>
|
|
354
|
+
<td>Optional</td>
|
|
355
|
+
</tr>
|
|
356
|
+
</thead>
|
|
357
|
+
<tbody>
|
|
358
|
+
<tr>
|
|
359
|
+
<td>$event</td>
|
|
360
|
+
<td>
|
|
361
|
+
<code>CdkDragEnd</code>
|
|
362
|
+
</td>
|
|
363
|
+
|
|
364
|
+
<td>
|
|
365
|
+
No
|
|
366
|
+
</td>
|
|
367
|
+
|
|
312
368
|
|
|
369
|
+
</tr>
|
|
370
|
+
</tbody>
|
|
371
|
+
</table>
|
|
372
|
+
</div>
|
|
373
|
+
<div class="io-description">
|
|
374
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
313
375
|
|
|
314
|
-
|
|
315
|
-
|
|
376
|
+
</div>
|
|
377
|
+
<div class="io-description">
|
|
378
|
+
|
|
379
|
+
</div>
|
|
380
|
+
</td>
|
|
381
|
+
</tr>
|
|
382
|
+
</tbody>
|
|
383
|
+
</table>
|
|
384
|
+
<table class="table table-sm table-bordered">
|
|
316
385
|
<tbody>
|
|
317
386
|
<tr>
|
|
318
387
|
<td class="col-md-4">
|
|
319
|
-
<a name="
|
|
388
|
+
<a name="onResizerHeight"></a>
|
|
320
389
|
<span class="name">
|
|
321
|
-
|
|
322
|
-
<
|
|
390
|
+
<span class="modifier">Public</span>
|
|
391
|
+
<span ><b>onResizerHeight</b></span>
|
|
392
|
+
<a href="#onResizerHeight"><span class="icon ion-ios-link"></span></a>
|
|
323
393
|
</span>
|
|
324
394
|
</td>
|
|
325
395
|
</tr>
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
<
|
|
396
|
+
<tr>
|
|
397
|
+
<td class="col-md-4">
|
|
398
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
399
|
+
<code>onResizerHeight(value: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
400
|
+
</td>
|
|
401
|
+
</tr>
|
|
402
|
+
|
|
329
403
|
|
|
330
|
-
</td>
|
|
331
|
-
</tr>
|
|
332
404
|
<tr>
|
|
333
405
|
<td class="col-md-4">
|
|
334
|
-
|
|
406
|
+
<div class="io-line">Defined in <a href="" data-line="88"
|
|
407
|
+
class="link-to-prism">src/lib/window-container/window-container.component.ts:88</a></div>
|
|
335
408
|
</td>
|
|
336
409
|
</tr>
|
|
337
410
|
|
|
338
411
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
</section>
|
|
412
|
+
<tr>
|
|
413
|
+
<td class="col-md-4">
|
|
342
414
|
|
|
415
|
+
<div class="io-description">
|
|
416
|
+
<b>Parameters :</b>
|
|
417
|
+
|
|
418
|
+
<table class="params">
|
|
419
|
+
<thead>
|
|
420
|
+
<tr>
|
|
421
|
+
<td>Name</td>
|
|
422
|
+
<td>Type</td>
|
|
423
|
+
<td>Optional</td>
|
|
424
|
+
</tr>
|
|
425
|
+
</thead>
|
|
426
|
+
<tbody>
|
|
427
|
+
<tr>
|
|
428
|
+
<td>value</td>
|
|
429
|
+
<td>
|
|
430
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
431
|
+
</td>
|
|
343
432
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
433
|
+
<td>
|
|
434
|
+
No
|
|
435
|
+
</td>
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
</tr>
|
|
439
|
+
</tbody>
|
|
440
|
+
</table>
|
|
441
|
+
</div>
|
|
442
|
+
<div class="io-description">
|
|
443
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
444
|
+
|
|
445
|
+
</div>
|
|
446
|
+
<div class="io-description">
|
|
447
|
+
|
|
448
|
+
</div>
|
|
449
|
+
</td>
|
|
450
|
+
</tr>
|
|
451
|
+
</tbody>
|
|
452
|
+
</table>
|
|
349
453
|
<table class="table table-sm table-bordered">
|
|
350
454
|
<tbody>
|
|
351
455
|
<tr>
|
|
352
456
|
<td class="col-md-4">
|
|
353
|
-
<a name="
|
|
457
|
+
<a name="onResizerWidth"></a>
|
|
354
458
|
<span class="name">
|
|
355
459
|
<span class="modifier">Public</span>
|
|
356
|
-
<span ><b>
|
|
357
|
-
<a href="#
|
|
460
|
+
<span ><b>onResizerWidth</b></span>
|
|
461
|
+
<a href="#onResizerWidth"><span class="icon ion-ios-link"></span></a>
|
|
358
462
|
</span>
|
|
359
463
|
</td>
|
|
360
464
|
</tr>
|
|
361
465
|
<tr>
|
|
362
466
|
<td class="col-md-4">
|
|
363
467
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
364
|
-
<code>
|
|
468
|
+
<code>onResizerWidth(value: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
365
469
|
</td>
|
|
366
470
|
</tr>
|
|
367
471
|
|
|
368
472
|
|
|
369
473
|
<tr>
|
|
370
474
|
<td class="col-md-4">
|
|
371
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
372
|
-
class="link-to-prism">src/lib/window-container/window-container.component.ts:
|
|
475
|
+
<div class="io-line">Defined in <a href="" data-line="82"
|
|
476
|
+
class="link-to-prism">src/lib/window-container/window-container.component.ts:82</a></div>
|
|
373
477
|
</td>
|
|
374
478
|
</tr>
|
|
375
479
|
|
|
@@ -390,9 +494,9 @@
|
|
|
390
494
|
</thead>
|
|
391
495
|
<tbody>
|
|
392
496
|
<tr>
|
|
393
|
-
<td
|
|
497
|
+
<td>value</td>
|
|
394
498
|
<td>
|
|
395
|
-
|
|
499
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
396
500
|
</td>
|
|
397
501
|
|
|
398
502
|
<td>
|
|
@@ -427,8 +531,8 @@
|
|
|
427
531
|
<td class="col-md-4">
|
|
428
532
|
<a name="containerRef"></a>
|
|
429
533
|
<span class="name">
|
|
430
|
-
<span class="modifier"></span>
|
|
431
534
|
<span class="modifier">Public</span>
|
|
535
|
+
<span class="modifier">Readonly</span>
|
|
432
536
|
<span ><b>containerRef</b></span>
|
|
433
537
|
<a href="#containerRef"><span class="icon ion-ios-link"></span></a>
|
|
434
538
|
</span>
|
|
@@ -436,22 +540,12 @@
|
|
|
436
540
|
</tr>
|
|
437
541
|
<tr>
|
|
438
542
|
<td class="col-md-4">
|
|
439
|
-
<i>
|
|
440
|
-
|
|
441
|
-
</td>
|
|
442
|
-
</tr>
|
|
443
|
-
<tr>
|
|
444
|
-
<td class="col-md-4">
|
|
445
|
-
<b>Decorators : </b>
|
|
446
|
-
<br />
|
|
447
|
-
<code>
|
|
448
|
-
@ViewChild('container', {static: true})<br />
|
|
449
|
-
</code>
|
|
543
|
+
<i>Default value : </i><code>viewChild.required<ElementRef>('container')</code>
|
|
450
544
|
</td>
|
|
451
545
|
</tr>
|
|
452
546
|
<tr>
|
|
453
547
|
<td class="col-md-4">
|
|
454
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
548
|
+
<div class="io-line">Defined in <a href="" data-line="59" class="link-to-prism">src/lib/window-container/window-container.component.ts:59</a></div>
|
|
455
549
|
</td>
|
|
456
550
|
</tr>
|
|
457
551
|
|
|
@@ -478,7 +572,7 @@
|
|
|
478
572
|
</tr>
|
|
479
573
|
<tr>
|
|
480
574
|
<td class="col-md-4">
|
|
481
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
575
|
+
<div class="io-line">Defined in <a href="" data-line="65" class="link-to-prism">src/lib/window-container/window-container.component.ts:65</a></div>
|
|
482
576
|
</td>
|
|
483
577
|
</tr>
|
|
484
578
|
|
|
@@ -491,8 +585,8 @@
|
|
|
491
585
|
<td class="col-md-4">
|
|
492
586
|
<a name="footerContent"></a>
|
|
493
587
|
<span class="name">
|
|
494
|
-
<span class="modifier"></span>
|
|
495
588
|
<span class="modifier">Public</span>
|
|
589
|
+
<span class="modifier">Readonly</span>
|
|
496
590
|
<span ><b>footerContent</b></span>
|
|
497
591
|
<a href="#footerContent"><span class="icon ion-ios-link"></span></a>
|
|
498
592
|
</span>
|
|
@@ -500,22 +594,12 @@
|
|
|
500
594
|
</tr>
|
|
501
595
|
<tr>
|
|
502
596
|
<td class="col-md-4">
|
|
503
|
-
<i>
|
|
504
|
-
|
|
505
|
-
</td>
|
|
506
|
-
</tr>
|
|
507
|
-
<tr>
|
|
508
|
-
<td class="col-md-4">
|
|
509
|
-
<b>Decorators : </b>
|
|
510
|
-
<br />
|
|
511
|
-
<code>
|
|
512
|
-
@ContentChild('[footer]', {static: true})<br />
|
|
513
|
-
</code>
|
|
597
|
+
<i>Default value : </i><code>contentChild.required<ElementRef>('[footer]')</code>
|
|
514
598
|
</td>
|
|
515
599
|
</tr>
|
|
516
600
|
<tr>
|
|
517
601
|
<td class="col-md-4">
|
|
518
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
602
|
+
<div class="io-line">Defined in <a href="" data-line="57" class="link-to-prism">src/lib/window-container/window-container.component.ts:57</a></div>
|
|
519
603
|
</td>
|
|
520
604
|
</tr>
|
|
521
605
|
|
|
@@ -529,6 +613,7 @@
|
|
|
529
613
|
<a name="height"></a>
|
|
530
614
|
<span class="name">
|
|
531
615
|
<span class="modifier">Public</span>
|
|
616
|
+
<span class="modifier">Readonly</span>
|
|
532
617
|
<span ><b>height</b></span>
|
|
533
618
|
<a href="#height"><span class="icon ion-ios-link"></span></a>
|
|
534
619
|
</span>
|
|
@@ -536,13 +621,12 @@
|
|
|
536
621
|
</tr>
|
|
537
622
|
<tr>
|
|
538
623
|
<td class="col-md-4">
|
|
539
|
-
<i>
|
|
540
|
-
|
|
624
|
+
<i>Default value : </i><code>signal('100%')</code>
|
|
541
625
|
</td>
|
|
542
626
|
</tr>
|
|
543
627
|
<tr>
|
|
544
628
|
<td class="col-md-4">
|
|
545
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
629
|
+
<div class="io-line">Defined in <a href="" data-line="63" class="link-to-prism">src/lib/window-container/window-container.component.ts:63</a></div>
|
|
546
630
|
</td>
|
|
547
631
|
</tr>
|
|
548
632
|
|
|
@@ -556,6 +640,7 @@
|
|
|
556
640
|
<a name="width"></a>
|
|
557
641
|
<span class="name">
|
|
558
642
|
<span class="modifier">Public</span>
|
|
643
|
+
<span class="modifier">Readonly</span>
|
|
559
644
|
<span ><b>width</b></span>
|
|
560
645
|
<a href="#width"><span class="icon ion-ios-link"></span></a>
|
|
561
646
|
</span>
|
|
@@ -563,13 +648,12 @@
|
|
|
563
648
|
</tr>
|
|
564
649
|
<tr>
|
|
565
650
|
<td class="col-md-4">
|
|
566
|
-
<i>
|
|
567
|
-
|
|
651
|
+
<i>Default value : </i><code>signal('100%')</code>
|
|
568
652
|
</td>
|
|
569
653
|
</tr>
|
|
570
654
|
<tr>
|
|
571
655
|
<td class="col-md-4">
|
|
572
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
656
|
+
<div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/lib/window-container/window-container.component.ts:62</a></div>
|
|
573
657
|
</td>
|
|
574
658
|
</tr>
|
|
575
659
|
|
|
@@ -582,8 +666,8 @@
|
|
|
582
666
|
<td class="col-md-4">
|
|
583
667
|
<a name="windowContainerResizer"></a>
|
|
584
668
|
<span class="name">
|
|
585
|
-
<span class="modifier"></span>
|
|
586
669
|
<span class="modifier">Public</span>
|
|
670
|
+
<span class="modifier">Readonly</span>
|
|
587
671
|
<span ><b>windowContainerResizer</b></span>
|
|
588
672
|
<a href="#windowContainerResizer"><span class="icon ion-ios-link"></span></a>
|
|
589
673
|
</span>
|
|
@@ -591,22 +675,12 @@
|
|
|
591
675
|
</tr>
|
|
592
676
|
<tr>
|
|
593
677
|
<td class="col-md-4">
|
|
594
|
-
<i>
|
|
595
|
-
|
|
596
|
-
</td>
|
|
597
|
-
</tr>
|
|
598
|
-
<tr>
|
|
599
|
-
<td class="col-md-4">
|
|
600
|
-
<b>Decorators : </b>
|
|
601
|
-
<br />
|
|
602
|
-
<code>
|
|
603
|
-
@ViewChild(WindowResizerComponent, {static: true})<br />
|
|
604
|
-
</code>
|
|
678
|
+
<i>Default value : </i><code>viewChild.required(WindowResizerComponent)</code>
|
|
605
679
|
</td>
|
|
606
680
|
</tr>
|
|
607
681
|
<tr>
|
|
608
682
|
<td class="col-md-4">
|
|
609
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
683
|
+
<div class="io-line">Defined in <a href="" data-line="60" class="link-to-prism">src/lib/window-container/window-container.component.ts:60</a></div>
|
|
610
684
|
</td>
|
|
611
685
|
</tr>
|
|
612
686
|
|
|
@@ -633,7 +707,7 @@
|
|
|
633
707
|
</tr>
|
|
634
708
|
<tr>
|
|
635
709
|
<td class="col-md-4">
|
|
636
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
710
|
+
<div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/lib/window-container/window-container.component.ts:67</a></div>
|
|
637
711
|
</td>
|
|
638
712
|
</tr>
|
|
639
713
|
|
|
@@ -660,7 +734,7 @@
|
|
|
660
734
|
</tr>
|
|
661
735
|
<tr>
|
|
662
736
|
<td class="col-md-4">
|
|
663
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
737
|
+
<div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/lib/window-container/window-container.component.ts:66</a></div>
|
|
664
738
|
</td>
|
|
665
739
|
</tr>
|
|
666
740
|
|
|
@@ -669,33 +743,6 @@
|
|
|
669
743
|
</table>
|
|
670
744
|
</section>
|
|
671
745
|
|
|
672
|
-
<section data-compodoc="block-accessors">
|
|
673
|
-
<h3 id="accessors">
|
|
674
|
-
Accessors
|
|
675
|
-
</h3>
|
|
676
|
-
<table class="table table-sm table-bordered">
|
|
677
|
-
<tbody>
|
|
678
|
-
<tr>
|
|
679
|
-
<td class="col-md-4">
|
|
680
|
-
<a name="id"></a>
|
|
681
|
-
<span class="name"><b>id</b><a href="#id"><span class="icon ion-ios-link"></span></a></span>
|
|
682
|
-
</td>
|
|
683
|
-
</tr>
|
|
684
|
-
|
|
685
|
-
<tr>
|
|
686
|
-
<td class="col-md-4">
|
|
687
|
-
<span class="accessor"><b>get</b><code>id()</code></span>
|
|
688
|
-
</td>
|
|
689
|
-
</tr>
|
|
690
|
-
<tr>
|
|
691
|
-
<td class="col-md-4">
|
|
692
|
-
<div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/lib/window-container/window-container.component.ts:75</a></div>
|
|
693
|
-
</td>
|
|
694
|
-
</tr>
|
|
695
|
-
|
|
696
|
-
</tbody>
|
|
697
|
-
</table>
|
|
698
|
-
</section>
|
|
699
746
|
</div>
|
|
700
747
|
|
|
701
748
|
|
|
@@ -713,22 +760,17 @@ import {
|
|
|
713
760
|
import {
|
|
714
761
|
ChangeDetectionStrategy,
|
|
715
762
|
Component,
|
|
716
|
-
ContentChild,
|
|
717
763
|
ElementRef,
|
|
718
|
-
HostBinding,
|
|
719
764
|
inject,
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
Signal,
|
|
724
|
-
ViewChild,
|
|
765
|
+
signal,
|
|
766
|
+
contentChild,
|
|
767
|
+
viewChild
|
|
725
768
|
} from '@angular/core';
|
|
726
|
-
import {
|
|
769
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
727
770
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
728
771
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
729
772
|
import { isDefined } from '@rxap/rxjs';
|
|
730
773
|
import { LoadingIndicatorService } from '@rxap/services';
|
|
731
|
-
import { merge } from 'rxjs';
|
|
732
774
|
import { filter } from 'rxjs/operators';
|
|
733
775
|
import {
|
|
734
776
|
RXAP_WINDOW_CONTEXT,
|
|
@@ -741,10 +783,11 @@ import { WindowToolBarComponent } from '../window-tool-bar/window-tool-bar.
|
|
|
741
783
|
selector: 'rxap-window-container',
|
|
742
784
|
templateUrl: './window-container.component.html',
|
|
743
785
|
styleUrls: ['./window-container.component.scss'],
|
|
744
|
-
changeDetection: ChangeDetectionStrategy.
|
|
786
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
745
787
|
|
|
746
788
|
host: {
|
|
747
789
|
class: 'rxap-window-container',
|
|
790
|
+
'[attr.data-id]': 'context.id',
|
|
748
791
|
},
|
|
749
792
|
imports: [
|
|
750
793
|
CdkDrag,
|
|
@@ -758,44 +801,43 @@ import { WindowToolBarComponent } from '../window-tool-bar/window-tool-bar.
|
|
|
758
801
|
AsyncPipe,
|
|
759
802
|
],
|
|
760
803
|
})
|
|
761
|
-
export class WindowContainerComponent
|
|
804
|
+
export class WindowContainerComponent {
|
|
762
805
|
|
|
763
|
-
|
|
806
|
+
public readonly footerContent = contentChild.required<ElementRef>('[footer]');
|
|
764
807
|
|
|
765
|
-
|
|
766
|
-
|
|
808
|
+
public readonly containerRef = viewChild.required<ElementRef>('container');
|
|
809
|
+
public readonly windowContainerResizer = viewChild.required(WindowResizerComponent);
|
|
767
810
|
|
|
768
|
-
public width
|
|
769
|
-
public height
|
|
811
|
+
public readonly width = signal('100%');
|
|
812
|
+
public readonly height = signal('100%');
|
|
770
813
|
|
|
771
|
-
private readonly injector = inject(INJECTOR);
|
|
772
814
|
public readonly context = inject(RXAP_WINDOW_CONTEXT);
|
|
773
815
|
public readonly windowRef = inject(RXAP_WINDOW_REF);
|
|
774
816
|
public readonly windowInstance = inject(LoadingIndicatorService);
|
|
775
817
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
818
|
+
constructor() {
|
|
819
|
+
this.windowRef.width$.pipe(
|
|
820
|
+
isDefined(),
|
|
821
|
+
filter(value => !!value?.match(/^\d+/)),
|
|
822
|
+
takeUntilDestroyed(),
|
|
823
|
+
).subscribe(value => this.width.set(value));
|
|
824
|
+
this.windowRef.height$.pipe(
|
|
825
|
+
isDefined(),
|
|
826
|
+
filter(value => !!value?.match(/^\d+/)),
|
|
827
|
+
takeUntilDestroyed(),
|
|
828
|
+
).subscribe(value => this.height.set(value));
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
public onResizerWidth(value: string) {
|
|
832
|
+
if (value?.match(/^\d+/)) {
|
|
833
|
+
this.width.set(value);
|
|
834
|
+
}
|
|
779
835
|
}
|
|
780
836
|
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
this.
|
|
784
|
-
|
|
785
|
-
this.windowContainerResizer.width$,
|
|
786
|
-
this.windowRef.width$,
|
|
787
|
-
).pipe(isDefined(), filter(value => !!value?.match(/^\d+/))),
|
|
788
|
-
{ initialValue: '100%' },
|
|
789
|
-
);
|
|
790
|
-
|
|
791
|
-
this.height = toSignal(
|
|
792
|
-
merge(
|
|
793
|
-
this.windowContainerResizer.height$,
|
|
794
|
-
this.windowRef.height$,
|
|
795
|
-
).pipe(isDefined(), filter(value => !!value?.match(/^\d+/))),
|
|
796
|
-
{ initialValue: '100%' },
|
|
797
|
-
);
|
|
798
|
-
});
|
|
837
|
+
public onResizerHeight(value: string) {
|
|
838
|
+
if (value?.match(/^\d+/)) {
|
|
839
|
+
this.height.set(value);
|
|
840
|
+
}
|
|
799
841
|
}
|
|
800
842
|
|
|
801
843
|
public onDragEnded($event: CdkDragEnd) {
|
|
@@ -844,7 +886,9 @@ export class WindowContainerComponent implements OnInit {
|
|
|
844
886
|
<mat-progress-bar mode="indeterminate"></mat-progress-bar>
|
|
845
887
|
}
|
|
846
888
|
|
|
847
|
-
<rxap-window-resizer [containerRef]="containerRef"
|
|
889
|
+
<rxap-window-resizer [containerRef]="containerRef()"
|
|
890
|
+
(width)="onResizerWidth($event)"
|
|
891
|
+
(height)="onResizerHeight($event)"></rxap-window-resizer>
|
|
848
892
|
</div>
|
|
849
893
|
</div>
|
|
850
894
|
</code></pre>
|
|
@@ -883,7 +927,7 @@ export class WindowContainerComponent implements OnInit {
|
|
|
883
927
|
<script src="../js/libs/htmlparser.js"></script>
|
|
884
928
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
885
929
|
<script>
|
|
886
|
-
var COMPONENT_TEMPLATE = '<div><div #container (cdkDragEnded)="onDragEnded($event)" [cdkDragDisabled]="windowRef.draggable === false" [ngStyle]="{ \'width\': width(), \'height\': height(), \'minWidth\': windowRef.minWidth, \'minHeight\': windowRef.minHeight, \'maxWidth\': windowRef.maxWidth, \'maxHeight\': windowRef.maxHeight }" cdkDrag cdkDragBoundary=".cdk-overlay-container" class="drop-shadow-2xl bg-white dark:bg-black border-2 border-gray-400 dark:border-gray-800 rounded-xl overflow-hidden"> <div class="flex flex-col h-full max-h-full"> <div cdkDragHandle class="grow-0 w-full h-[64px] min-h-[64px] cursor-move"> <rxap-window-tool-bar></rxap-window-tool-bar> </div> <div class="grow overflow-auto w-full"> <ng-content></ng-content> </div> @if (windowRef.footerPortal$ | async; as footerPortal) { <mat-toolbar class="mat-elevation-z1 grow-0 w-full h-[64px] min-h-[64px]"> <ng-template [cdkPortalOutlet]="footerPortal"></ng-template> </mat-toolbar> } @if (windowInstance.isLoading$ | async) { <mat-progress-bar mode="indeterminate"></mat-progress-bar> } <rxap-window-resizer [containerRef]="containerRef"></rxap-window-resizer> </div></div></div>'
|
|
930
|
+
var COMPONENT_TEMPLATE = '<div><div #container (cdkDragEnded)="onDragEnded($event)" [cdkDragDisabled]="windowRef.draggable === false" [ngStyle]="{ \'width\': width(), \'height\': height(), \'minWidth\': windowRef.minWidth, \'minHeight\': windowRef.minHeight, \'maxWidth\': windowRef.maxWidth, \'maxHeight\': windowRef.maxHeight }" cdkDrag cdkDragBoundary=".cdk-overlay-container" class="drop-shadow-2xl bg-white dark:bg-black border-2 border-gray-400 dark:border-gray-800 rounded-xl overflow-hidden"> <div class="flex flex-col h-full max-h-full"> <div cdkDragHandle class="grow-0 w-full h-[64px] min-h-[64px] cursor-move"> <rxap-window-tool-bar></rxap-window-tool-bar> </div> <div class="grow overflow-auto w-full"> <ng-content></ng-content> </div> @if (windowRef.footerPortal$ | async; as footerPortal) { <mat-toolbar class="mat-elevation-z1 grow-0 w-full h-[64px] min-h-[64px]"> <ng-template [cdkPortalOutlet]="footerPortal"></ng-template> </mat-toolbar> } @if (windowInstance.isLoading$ | async) { <mat-progress-bar mode="indeterminate"></mat-progress-bar> } <rxap-window-resizer [containerRef]="containerRef()" (width)="onResizerWidth($event)" (height)="onResizerHeight($event)"></rxap-window-resizer> </div></div></div>'
|
|
887
931
|
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'}];
|
|
888
932
|
var DIRECTIVES = [{'name': 'WindowFooterDirective', 'selector': '[rxapWindowFooter]'},{'name': 'WindowTitleDirective', 'selector': '[rxapWindowTitle]'}];
|
|
889
933
|
var ACTUAL_COMPONENT = {'name': 'WindowContainerComponent'};
|