@rxap/components 18.0.2 → 18.0.3-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 (123) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +14 -1
  3. package/compodoc/changelog.html +497 -0
  4. package/compodoc/components/ConfirmComponent.html +428 -0
  5. package/compodoc/components/CopyToClipboardButtonComponent.html +550 -0
  6. package/compodoc/components/CopyToClipboardComponent.html +478 -0
  7. package/compodoc/components/EmptyRouterOutletComponent.html +339 -0
  8. package/compodoc/components/JsonViewerComponent.html +1484 -0
  9. package/compodoc/components/NavigateBackButtonComponent.html +452 -0
  10. package/compodoc/dependencies.html +209 -0
  11. package/compodoc/directives/ConfirmDirective.html +1061 -0
  12. package/compodoc/fonts/ionicons.eot +0 -0
  13. package/compodoc/fonts/ionicons.svg +2090 -0
  14. package/compodoc/fonts/ionicons.ttf +0 -0
  15. package/compodoc/fonts/ionicons.woff +0 -0
  16. package/compodoc/fonts/ionicons.woff2 +0 -0
  17. package/compodoc/fonts/roboto-v15-latin-300.eot +0 -0
  18. package/compodoc/fonts/roboto-v15-latin-300.svg +314 -0
  19. package/compodoc/fonts/roboto-v15-latin-300.ttf +0 -0
  20. package/compodoc/fonts/roboto-v15-latin-300.woff +0 -0
  21. package/compodoc/fonts/roboto-v15-latin-300.woff2 +0 -0
  22. package/compodoc/fonts/roboto-v15-latin-700.eot +0 -0
  23. package/compodoc/fonts/roboto-v15-latin-700.svg +310 -0
  24. package/compodoc/fonts/roboto-v15-latin-700.ttf +0 -0
  25. package/compodoc/fonts/roboto-v15-latin-700.woff +0 -0
  26. package/compodoc/fonts/roboto-v15-latin-700.woff2 +0 -0
  27. package/compodoc/fonts/roboto-v15-latin-italic.eot +0 -0
  28. package/compodoc/fonts/roboto-v15-latin-italic.svg +323 -0
  29. package/compodoc/fonts/roboto-v15-latin-italic.ttf +0 -0
  30. package/compodoc/fonts/roboto-v15-latin-italic.woff +0 -0
  31. package/compodoc/fonts/roboto-v15-latin-italic.woff2 +0 -0
  32. package/compodoc/fonts/roboto-v15-latin-regular.eot +0 -0
  33. package/compodoc/fonts/roboto-v15-latin-regular.svg +308 -0
  34. package/compodoc/fonts/roboto-v15-latin-regular.ttf +0 -0
  35. package/compodoc/fonts/roboto-v15-latin-regular.woff +0 -0
  36. package/compodoc/fonts/roboto-v15-latin-regular.woff2 +0 -0
  37. package/compodoc/graph/dependencies.svg +78 -0
  38. package/compodoc/images/compodoc-vectorise-inverted.png +0 -0
  39. package/compodoc/images/compodoc-vectorise-inverted.svg +201 -0
  40. package/compodoc/images/compodoc-vectorise.png +0 -0
  41. package/compodoc/images/compodoc-vectorise.svg +201 -0
  42. package/compodoc/images/favicon.ico +0 -0
  43. package/compodoc/index.html +200 -0
  44. package/compodoc/interfaces/Segment.html +650 -0
  45. package/compodoc/js/compodoc.js +14 -0
  46. package/compodoc/js/lazy-load-graphs.js +44 -0
  47. package/compodoc/js/libs/EventDispatcher.js +5 -0
  48. package/compodoc/js/libs/bootstrap-native.js +2 -0
  49. package/compodoc/js/libs/clipboard.min.js +7 -0
  50. package/compodoc/js/libs/custom-elements-es5-adapter.js +15 -0
  51. package/compodoc/js/libs/custom-elements.min.js +38 -0
  52. package/compodoc/js/libs/d3.v3.min.js +2 -0
  53. package/compodoc/js/libs/deep-iterator.js +2 -0
  54. package/compodoc/js/libs/es6-shim.min.js +12 -0
  55. package/compodoc/js/libs/htmlparser.js +23 -0
  56. package/compodoc/js/libs/innersvg.js +9 -0
  57. package/compodoc/js/libs/lit-html.js +1 -0
  58. package/compodoc/js/libs/prism.js +46 -0
  59. package/compodoc/js/libs/promise.min.js +6 -0
  60. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -0
  61. package/compodoc/js/libs/tablesort.min.js +6 -0
  62. package/compodoc/js/libs/tablesort.number.min.js +6 -0
  63. package/compodoc/js/libs/vis.min.js +47 -0
  64. package/compodoc/js/libs/zepto.min.js +2 -0
  65. package/compodoc/js/menu-wc.js +168 -0
  66. package/compodoc/js/menu-wc_es5.js +40 -0
  67. package/compodoc/js/menu.js +270 -0
  68. package/compodoc/js/routes.js +301 -0
  69. package/compodoc/js/search/lunr.min.js +6 -0
  70. package/compodoc/js/search/search-lunr.js +67 -0
  71. package/compodoc/js/search/search.js +283 -0
  72. package/compodoc/js/search/search_index.js +4 -0
  73. package/compodoc/js/sourceCode.js +58 -0
  74. package/compodoc/js/svg-pan-zoom.controls.js +53 -0
  75. package/compodoc/js/tabs.js +21 -0
  76. package/compodoc/js/tree.js +147 -0
  77. package/compodoc/license.html +731 -0
  78. package/compodoc/miscellaneous/functions.html +266 -0
  79. package/compodoc/miscellaneous/variables.html +261 -0
  80. package/compodoc/modules/ConfirmModule/dependencies.svg +78 -0
  81. package/compodoc/modules/ConfirmModule.html +346 -0
  82. package/compodoc/modules.html +200 -0
  83. package/compodoc/overview.html +309 -0
  84. package/compodoc/properties.html +197 -0
  85. package/compodoc/styles/bootstrap-card.css +219 -0
  86. package/compodoc/styles/bootstrap.min.css +6 -0
  87. package/compodoc/styles/compodoc.css +1124 -0
  88. package/compodoc/styles/dark.css +121 -0
  89. package/compodoc/styles/ionicons.min.css +11 -0
  90. package/compodoc/styles/laravel.css +113 -0
  91. package/compodoc/styles/material.css +131 -0
  92. package/compodoc/styles/original.css +51 -0
  93. package/compodoc/styles/postmark.css +238 -0
  94. package/compodoc/styles/prism.css +301 -0
  95. package/compodoc/styles/readthedocs.css +117 -0
  96. package/compodoc/styles/reset.css +129 -0
  97. package/compodoc/styles/stripe.css +106 -0
  98. package/compodoc/styles/style.css +7 -0
  99. package/compodoc/styles/tablesort.css +33 -0
  100. package/compodoc/styles/vagrant.css +130 -0
  101. package/docs/.nojekyll +1 -0
  102. package/docs/assets/highlight.css +43 -0
  103. package/docs/assets/icons.js +15 -0
  104. package/docs/assets/icons.svg +1 -0
  105. package/docs/assets/main.js +59 -0
  106. package/docs/assets/navigation.js +1 -0
  107. package/docs/assets/search.js +1 -0
  108. package/docs/assets/style.css +1412 -0
  109. package/docs/classes/ConfirmComponent.html +4 -0
  110. package/docs/classes/ConfirmDirective.html +17 -0
  111. package/docs/classes/ConfirmModule.html +2 -0
  112. package/docs/classes/CopyToClipboardButtonComponent.html +5 -0
  113. package/docs/classes/CopyToClipboardComponent.html +5 -0
  114. package/docs/classes/EmptyRouterOutletComponent.html +2 -0
  115. package/docs/classes/JsonViewerComponent.html +18 -0
  116. package/docs/classes/NavigateBackButtonComponent.html +3 -0
  117. package/docs/documentation.json +3003 -0
  118. package/docs/index.html +28 -0
  119. package/docs/interfaces/Segment.html +6 -0
  120. package/docs/modules.html +12 -0
  121. package/docs/variables/JSON_VIEW_IGNORED_PROPERTIES.html +1 -0
  122. package/docs/variables/JSON_VIEW_IGNORED_TYPES.html +1 -0
  123. package/package.json +11 -9
@@ -0,0 +1,1061 @@
1
+ <!doctype html>
2
+ <html class="no-js" lang="">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="x-ua-compatible" content="ie=edge">
6
+ <title>angular-components</title>
7
+ <meta name="description" content="">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1">
9
+
10
+ <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
11
+ <link rel="stylesheet" href="../styles/style.css">
12
+ <link rel="stylesheet" href="../styles/dark.css">
13
+ </head>
14
+ <body>
15
+ <script>
16
+ // Blocking script to avoid flickering dark mode
17
+ // Dark mode toggle button
18
+ var useDark = window.matchMedia('(prefers-color-scheme: dark)');
19
+ var darkModeState = useDark.matches;
20
+ var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
21
+ var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
22
+ var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
23
+
24
+ function checkToggle(check) {
25
+ for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
26
+ $darkModeToggleSwitchers[i].checked = check;
27
+ }
28
+ }
29
+
30
+ function toggleDarkMode(state) {
31
+ if (window.localStorage) {
32
+ localStorage.setItem('compodoc_darkmode-state', state);
33
+ }
34
+
35
+ checkToggle(state);
36
+
37
+ const hasClass = document.body.classList.contains('dark');
38
+
39
+ if (state) {
40
+ for (var i = 0; i < $darkModeToggles.length; i++) {
41
+ $darkModeToggles[i].classList.add('dark');
42
+ }
43
+ if (!hasClass) {
44
+ document.body.classList.add('dark');
45
+ }
46
+ } else {
47
+ for (var i = 0; i < $darkModeToggles.length; i++) {
48
+ $darkModeToggles[i].classList.remove('dark');
49
+ }
50
+ if (hasClass) {
51
+ document.body.classList.remove('dark');
52
+ }
53
+ }
54
+ }
55
+
56
+ useDark.addEventListener('change', function (evt) {
57
+ toggleDarkMode(evt.matches);
58
+ });
59
+ if (darkModeStateLocal) {
60
+ darkModeState = darkModeStateLocal === 'true';
61
+ }
62
+ toggleDarkMode(darkModeState);
63
+ </script>
64
+
65
+ <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
+ <div class="d-flex">
67
+ <a href="../" class="navbar-brand">angular-components</a>
68
+ <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
69
+ </div>
70
+ </div>
71
+
72
+ <div class="xs-menu menu" id="mobile-menu">
73
+ <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
74
+ </div>
75
+
76
+ <div class="container-fluid main">
77
+ <div class="row main">
78
+ <div class="d-none d-md-block menu">
79
+ <compodoc-menu mode="normal"></compodoc-menu>
80
+ </div>
81
+ <!-- START CONTENT -->
82
+ <div class="content directive">
83
+ <div class="content-data">
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+ <ol class="breadcrumb">
92
+ <li class="breadcrumb-item">Directives</li>
93
+ <li class="breadcrumb-item" >ConfirmDirective</li>
94
+ </ol>
95
+
96
+ <ul class="nav nav-tabs" role="tablist">
97
+ <li class="nav-item">
98
+ <a href="#info"
99
+ class="nav-link"
100
+ class="nav-link active"
101
+ role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
102
+ </li>
103
+ <li class="nav-item">
104
+ <a href="#source"
105
+ class="nav-link"
106
+
107
+ role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
108
+ </li>
109
+ </ul>
110
+
111
+ <div class="tab-content">
112
+ <div class="tab-pane fade active in" id="info">
113
+ <p class="comment">
114
+ <h3>File</h3>
115
+ </p>
116
+ <p class="comment">
117
+ <code>src/lib/confirm/confirm.directive.ts</code>
118
+ </p>
119
+
120
+
121
+
122
+
123
+ <p class="comment">
124
+ <h3>Implements</h3>
125
+ </p>
126
+ <p class="comment">
127
+ <code>OnDestroy</code>
128
+ </p>
129
+
130
+
131
+ <section data-compodoc="block-metadata">
132
+ <h3>Metadata</h3>
133
+ <table class="table table-sm table-hover metadata">
134
+ <tbody>
135
+
136
+ <tr>
137
+ <td class="col-md-3">Selector</td>
138
+ <td class="col-md-9"><code>[rxapConfirm]</code></td>
139
+ </tr>
140
+
141
+ <tr>
142
+ <td class="col-md-3">Standalone</td>
143
+ <td class="col-md-9"><code>true</code></td>
144
+ </tr>
145
+
146
+
147
+
148
+ </tbody>
149
+ </table>
150
+ </section>
151
+
152
+ <section data-compodoc="block-index">
153
+ <h3 id="index">Index</h3>
154
+ <table class="table table-sm table-bordered index-table">
155
+ <tbody>
156
+ <tr>
157
+ <td class="col-md-4">
158
+ <h6><b>Properties</b></h6>
159
+ </td>
160
+ </tr>
161
+ <tr>
162
+ <td class="col-md-4">
163
+ <ul class="index-list">
164
+ <li>
165
+ <span class="modifier">Protected</span>
166
+ <a href="#isOverlyOpen" >isOverlyOpen</a>
167
+ </li>
168
+ <li>
169
+ <span class="modifier">Protected</span>
170
+ <span class="modifier">Optional</span>
171
+ <a href="#positionStrategy" >positionStrategy</a>
172
+ </li>
173
+ </ul>
174
+ </td>
175
+ </tr>
176
+
177
+ <tr>
178
+ <td class="col-md-4">
179
+ <h6><b>Methods</b></h6>
180
+ </td>
181
+ </tr>
182
+ <tr>
183
+ <td class="col-md-4">
184
+ <ul class="index-list">
185
+ <li>
186
+ <span class="modifier"></span>
187
+ <span class="modifier">Public</span>
188
+ <a href="#onClick" >onClick</a>
189
+ </li>
190
+ <li>
191
+ <span class="modifier">Protected</span>
192
+ <a href="#onConfirmed" >onConfirmed</a>
193
+ </li>
194
+ <li>
195
+ <span class="modifier">Protected</span>
196
+ <a href="#onUnconfirmed" >onUnconfirmed</a>
197
+ </li>
198
+ <li>
199
+ <span class="modifier">Protected</span>
200
+ <a href="#openConfirmOverly" >openConfirmOverly</a>
201
+ </li>
202
+ </ul>
203
+ </td>
204
+ </tr>
205
+
206
+ <tr>
207
+ <td class="col-md-4">
208
+ <h6><b>Inputs</b></h6>
209
+ </td>
210
+ </tr>
211
+ <tr>
212
+ <td class="col-md-4">
213
+ <ul class="index-list">
214
+ <li>
215
+ <a href="#rxapConfirm" >rxapConfirm</a>
216
+ </li>
217
+ </ul>
218
+ </td>
219
+ </tr>
220
+
221
+ <tr>
222
+ <td class="col-md-4">
223
+ <h6><b>Outputs</b></h6>
224
+ </td>
225
+ </tr>
226
+ <tr>
227
+ <td class="col-md-4">
228
+ <ul class="index-list">
229
+ <li>
230
+ <a href="#confirmed" >confirmed</a>
231
+ </li>
232
+ <li>
233
+ <a href="#unconfirmed" >unconfirmed</a>
234
+ </li>
235
+ </ul>
236
+ </td>
237
+ </tr>
238
+
239
+
240
+ <tr>
241
+ <td class="col-md-4">
242
+ <h6><b>HostListeners</b></h6>
243
+ </td>
244
+ </tr>
245
+ <tr>
246
+ <td class="col-md-4">
247
+ <ul class="index-list">
248
+ <li>
249
+ <a href="#click" >click</a>
250
+ </li>
251
+ </ul>
252
+ </td>
253
+ </tr>
254
+
255
+ <tr>
256
+ <td class="col-md-4">
257
+ <h6><b>Accessors</b></h6>
258
+ </td>
259
+ </tr>
260
+ <tr>
261
+ <td class="col-md-4">
262
+ <ul class="index-list">
263
+ <li>
264
+ <a href="#eventValue" >eventValue</a>
265
+ </li>
266
+ </ul>
267
+ </td>
268
+ </tr>
269
+ </tbody>
270
+ </table>
271
+ </section>
272
+
273
+ <section data-compodoc="block-constructor">
274
+ <h3 id="constructor">Constructor</h3>
275
+ <table class="table table-sm table-bordered">
276
+ <tbody>
277
+ <tr>
278
+ <td class="col-md-4">
279
+ <code>constructor(overlay: Overlay, elementRef: ElementRef)</code>
280
+ </td>
281
+ </tr>
282
+ <tr>
283
+ <td class="col-md-4">
284
+ <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/confirm/confirm.directive.ts:52</a></div>
285
+ </td>
286
+ </tr>
287
+
288
+ <tr>
289
+ <td class="col-md-4">
290
+ <div>
291
+ <b>Parameters :</b>
292
+ <table class="params">
293
+ <thead>
294
+ <tr>
295
+ <td>Name</td>
296
+ <td>Type</td>
297
+ <td>Optional</td>
298
+ </tr>
299
+ </thead>
300
+ <tbody>
301
+ <tr>
302
+ <td>overlay</td>
303
+
304
+ <td>
305
+ <code>Overlay</code>
306
+ </td>
307
+
308
+ <td>
309
+ No
310
+ </td>
311
+
312
+ </tr>
313
+ <tr>
314
+ <td>elementRef</td>
315
+
316
+ <td>
317
+ <code>ElementRef</code>
318
+ </td>
319
+
320
+ <td>
321
+ No
322
+ </td>
323
+
324
+ </tr>
325
+ </tbody>
326
+ </table>
327
+ </div>
328
+ </td>
329
+ </tr>
330
+ </tbody>
331
+ </table>
332
+ </section>
333
+
334
+ <section data-compodoc="block-inputs">
335
+ <h3 id="inputs">Inputs</h3>
336
+ <table class="table table-sm table-bordered">
337
+ <tbody>
338
+ <tr>
339
+ <td class="col-md-4">
340
+ <a name="rxapConfirm"></a>
341
+ <b>rxapConfirm</b>
342
+ </td>
343
+ </tr>
344
+ <tr>
345
+ <td class="col-md-4">
346
+ <i>Type : </i> <code>T | string</code>
347
+
348
+ </td>
349
+ </tr>
350
+ <tr>
351
+ <td class="col-md-2" colspan="2">
352
+ <div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/lib/confirm/confirm.directive.ts:32</a></div>
353
+ </td>
354
+ </tr>
355
+ </tbody>
356
+ </table>
357
+ </section>
358
+ <section data-compodoc="block-outputs">
359
+ <h3 id="outputs">Outputs</h3>
360
+ <table class="table table-sm table-bordered">
361
+ <tbody>
362
+ <tr>
363
+ <td class="col-md-4">
364
+ <a name="confirmed"></a>
365
+ <b>confirmed</b>
366
+ </td>
367
+ </tr>
368
+ <tr>
369
+ <td class="col-md-4">
370
+ <i>Type : </i> <code>EventEmitter</code>
371
+
372
+ </td>
373
+ </tr>
374
+ <tr>
375
+ <td class="col-md-2" colspan="2">
376
+ <div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/lib/confirm/confirm.directive.ts:39</a></div>
377
+ </td>
378
+ </tr>
379
+ </tbody>
380
+ </table>
381
+ <table class="table table-sm table-bordered">
382
+ <tbody>
383
+ <tr>
384
+ <td class="col-md-4">
385
+ <a name="unconfirmed"></a>
386
+ <b>unconfirmed</b>
387
+ </td>
388
+ </tr>
389
+ <tr>
390
+ <td class="col-md-4">
391
+ <i>Type : </i> <code>EventEmitter</code>
392
+
393
+ </td>
394
+ </tr>
395
+ <tr>
396
+ <td class="col-md-2" colspan="2">
397
+ <div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/confirm/confirm.directive.ts:42</a></div>
398
+ </td>
399
+ </tr>
400
+ </tbody>
401
+ </table>
402
+ </section>
403
+
404
+ <section data-compodoc="block-host-listener">
405
+ <h3>HostListeners</h3> <table class="table table-sm table-bordered">
406
+ <tbody>
407
+ <tr>
408
+ <td class="col-md-4">
409
+ <a name="click"></a>
410
+ <span class="name">
411
+ <b>
412
+ click
413
+ </b>
414
+ <a href="#click"><span class="icon ion-ios-link"></span></a>
415
+ </span>
416
+ </td>
417
+ </tr>
418
+ <tr>
419
+ <td class="col-md-4">
420
+ <i>Arguments : </i><code>'$event' </code>
421
+ </td>
422
+ </tr>
423
+
424
+
425
+ <tr>
426
+ <td class="col-md-4">
427
+ <div class="io-line">Defined in <a href="" data-line="75"
428
+ class="link-to-prism">src/lib/confirm/confirm.directive.ts:75</a></div>
429
+ </td>
430
+ </tr>
431
+
432
+
433
+ </tbody>
434
+ </table>
435
+ </section>
436
+ <section data-compodoc="block-methods">
437
+
438
+ <h3 id="methods">
439
+ Methods
440
+ </h3>
441
+ <table class="table table-sm table-bordered">
442
+ <tbody>
443
+ <tr>
444
+ <td class="col-md-4">
445
+ <a name="onClick"></a>
446
+ <span class="name">
447
+ <span class="modifier"></span>
448
+ <span class="modifier">Public</span>
449
+ <span ><b>onClick</b></span>
450
+ <a href="#onClick"><span class="icon ion-ios-link"></span></a>
451
+ </span>
452
+ </td>
453
+ </tr>
454
+ <tr>
455
+ <td class="col-md-4">
456
+ <span class="modifier-icon icon ion-ios-reset"></span>
457
+ <code>onClick($event?: Event)</code>
458
+ </td>
459
+ </tr>
460
+
461
+ <tr>
462
+ <td class="col-md-4">
463
+ <b>Decorators : </b>
464
+ <br />
465
+ <code>@HostListener(&#x27;click&#x27;, [&#x27;$event&#x27;])<br /></code>
466
+ </td>
467
+ </tr>
468
+
469
+ <tr>
470
+ <td class="col-md-4">
471
+ <div class="io-line">Defined in <a href="" data-line="75"
472
+ class="link-to-prism">src/lib/confirm/confirm.directive.ts:75</a></div>
473
+ </td>
474
+ </tr>
475
+
476
+
477
+ <tr>
478
+ <td class="col-md-4">
479
+
480
+ <div class="io-description">
481
+ <b>Parameters :</b>
482
+
483
+ <table class="params">
484
+ <thead>
485
+ <tr>
486
+ <td>Name</td>
487
+ <td>Type</td>
488
+ <td>Optional</td>
489
+ </tr>
490
+ </thead>
491
+ <tbody>
492
+ <tr>
493
+ <td>$event</td>
494
+ <td>
495
+ <code>Event</code>
496
+ </td>
497
+
498
+ <td>
499
+ Yes
500
+ </td>
501
+
502
+
503
+ </tr>
504
+ </tbody>
505
+ </table>
506
+ </div>
507
+ <div class="io-description">
508
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
509
+
510
+ </div>
511
+ <div class="io-description">
512
+
513
+ </div>
514
+ </td>
515
+ </tr>
516
+ </tbody>
517
+ </table>
518
+ <table class="table table-sm table-bordered">
519
+ <tbody>
520
+ <tr>
521
+ <td class="col-md-4">
522
+ <a name="onConfirmed"></a>
523
+ <span class="name">
524
+ <span class="modifier">Protected</span>
525
+ <span ><b>onConfirmed</b></span>
526
+ <a href="#onConfirmed"><span class="icon ion-ios-link"></span></a>
527
+ </span>
528
+ </td>
529
+ </tr>
530
+ <tr>
531
+ <td class="col-md-4">
532
+ <span class="modifier-icon icon ion-ios-reset"></span>
533
+ <code>onConfirmed(eventValue?: T)</code>
534
+ </td>
535
+ </tr>
536
+
537
+
538
+ <tr>
539
+ <td class="col-md-4">
540
+ <div class="io-line">Defined in <a href="" data-line="138"
541
+ class="link-to-prism">src/lib/confirm/confirm.directive.ts:138</a></div>
542
+ </td>
543
+ </tr>
544
+
545
+
546
+ <tr>
547
+ <td class="col-md-4">
548
+
549
+ <div class="io-description">
550
+ <b>Parameters :</b>
551
+
552
+ <table class="params">
553
+ <thead>
554
+ <tr>
555
+ <td>Name</td>
556
+ <td>Type</td>
557
+ <td>Optional</td>
558
+ </tr>
559
+ </thead>
560
+ <tbody>
561
+ <tr>
562
+ <td>eventValue</td>
563
+ <td>
564
+ <code>T</code>
565
+ </td>
566
+
567
+ <td>
568
+ Yes
569
+ </td>
570
+
571
+
572
+ </tr>
573
+ </tbody>
574
+ </table>
575
+ </div>
576
+ <div class="io-description">
577
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
578
+
579
+ </div>
580
+ <div class="io-description">
581
+
582
+ </div>
583
+ </td>
584
+ </tr>
585
+ </tbody>
586
+ </table>
587
+ <table class="table table-sm table-bordered">
588
+ <tbody>
589
+ <tr>
590
+ <td class="col-md-4">
591
+ <a name="onUnconfirmed"></a>
592
+ <span class="name">
593
+ <span class="modifier">Protected</span>
594
+ <span ><b>onUnconfirmed</b></span>
595
+ <a href="#onUnconfirmed"><span class="icon ion-ios-link"></span></a>
596
+ </span>
597
+ </td>
598
+ </tr>
599
+ <tr>
600
+ <td class="col-md-4">
601
+ <span class="modifier-icon icon ion-ios-reset"></span>
602
+ <code>onUnconfirmed(eventValue?: T)</code>
603
+ </td>
604
+ </tr>
605
+
606
+
607
+ <tr>
608
+ <td class="col-md-4">
609
+ <div class="io-line">Defined in <a href="" data-line="142"
610
+ class="link-to-prism">src/lib/confirm/confirm.directive.ts:142</a></div>
611
+ </td>
612
+ </tr>
613
+
614
+
615
+ <tr>
616
+ <td class="col-md-4">
617
+
618
+ <div class="io-description">
619
+ <b>Parameters :</b>
620
+
621
+ <table class="params">
622
+ <thead>
623
+ <tr>
624
+ <td>Name</td>
625
+ <td>Type</td>
626
+ <td>Optional</td>
627
+ </tr>
628
+ </thead>
629
+ <tbody>
630
+ <tr>
631
+ <td>eventValue</td>
632
+ <td>
633
+ <code>T</code>
634
+ </td>
635
+
636
+ <td>
637
+ Yes
638
+ </td>
639
+
640
+
641
+ </tr>
642
+ </tbody>
643
+ </table>
644
+ </div>
645
+ <div class="io-description">
646
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
647
+
648
+ </div>
649
+ <div class="io-description">
650
+
651
+ </div>
652
+ </td>
653
+ </tr>
654
+ </tbody>
655
+ </table>
656
+ <table class="table table-sm table-bordered">
657
+ <tbody>
658
+ <tr>
659
+ <td class="col-md-4">
660
+ <a name="openConfirmOverly"></a>
661
+ <span class="name">
662
+ <span class="modifier">Protected</span>
663
+ <span ><b>openConfirmOverly</b></span>
664
+ <a href="#openConfirmOverly"><span class="icon ion-ios-link"></span></a>
665
+ </span>
666
+ </td>
667
+ </tr>
668
+ <tr>
669
+ <td class="col-md-4">
670
+ <span class="modifier-icon icon ion-ios-reset"></span>
671
+ <code>openConfirmOverly()</code>
672
+ </td>
673
+ </tr>
674
+
675
+
676
+ <tr>
677
+ <td class="col-md-4">
678
+ <div class="io-line">Defined in <a href="" data-line="84"
679
+ class="link-to-prism">src/lib/confirm/confirm.directive.ts:84</a></div>
680
+ </td>
681
+ </tr>
682
+
683
+
684
+ <tr>
685
+ <td class="col-md-4">
686
+
687
+ <div class="io-description">
688
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
689
+
690
+ </div>
691
+ </td>
692
+ </tr>
693
+ </tbody>
694
+ </table>
695
+ </section>
696
+ <section data-compodoc="block-properties">
697
+
698
+ <h3 id="inputs">
699
+ Properties
700
+ </h3>
701
+ <table class="table table-sm table-bordered">
702
+ <tbody>
703
+ <tr>
704
+ <td class="col-md-4">
705
+ <a name="isOverlyOpen"></a>
706
+ <span class="name">
707
+ <span class="modifier">Protected</span>
708
+ <span ><b>isOverlyOpen</b></span>
709
+ <a href="#isOverlyOpen"><span class="icon ion-ios-link"></span></a>
710
+ </span>
711
+ </td>
712
+ </tr>
713
+ <tr>
714
+ <td class="col-md-4">
715
+ <i>Default value : </i><code>false</code>
716
+ </td>
717
+ </tr>
718
+ <tr>
719
+ <td class="col-md-4">
720
+ <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/confirm/confirm.directive.ts:52</a></div>
721
+ </td>
722
+ </tr>
723
+
724
+
725
+ </tbody>
726
+ </table>
727
+ <table class="table table-sm table-bordered">
728
+ <tbody>
729
+ <tr>
730
+ <td class="col-md-4">
731
+ <a name="positionStrategy"></a>
732
+ <span class="name">
733
+ <span class="modifier">Protected</span>
734
+ <span class="modifier">Optional</span>
735
+ <span ><b>positionStrategy</b></span>
736
+ <a href="#positionStrategy"><span class="icon ion-ios-link"></span></a>
737
+ </span>
738
+ </td>
739
+ </tr>
740
+ <tr>
741
+ <td class="col-md-4">
742
+ <i>Type : </i> <code>PositionStrategy</code>
743
+
744
+ </td>
745
+ </tr>
746
+ <tr>
747
+ <td class="col-md-4">
748
+ <div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/confirm/confirm.directive.ts:50</a></div>
749
+ </td>
750
+ </tr>
751
+
752
+
753
+ </tbody>
754
+ </table>
755
+ </section>
756
+
757
+ <section data-compodoc="block-accessors">
758
+ <h3 id="accessors">
759
+ Accessors
760
+ </h3>
761
+ <table class="table table-sm table-bordered">
762
+ <tbody>
763
+ <tr>
764
+ <td class="col-md-4">
765
+ <a name="eventValue"></a>
766
+ <span class="name"><b>eventValue</b><a href="#eventValue"><span class="icon ion-ios-link"></span></a></span>
767
+ </td>
768
+ </tr>
769
+
770
+
771
+ <tr>
772
+ <td class="col-md-4">
773
+ <span class="accessor"><b>set</b><code>eventValue(value: T | string)</code></span>
774
+ </td>
775
+ </tr>
776
+ <tr>
777
+ <td class="col-md-4">
778
+ <div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/lib/confirm/confirm.directive.ts:32</a></div>
779
+ </td>
780
+ </tr>
781
+ <tr>
782
+ <td class="col-md-4">
783
+
784
+ <div class="io-description">
785
+ <b>Parameters :</b>
786
+ <table class="params">
787
+ <thead>
788
+ <tr>
789
+ <td>Name</td>
790
+ <td>Type</td>
791
+ <td>Optional</td>
792
+ </tr>
793
+ </thead>
794
+ <tbody>
795
+ <tr>
796
+ <td>value</td>
797
+
798
+ <td>
799
+ <code>T | string</code>
800
+ </td>
801
+
802
+ <td>
803
+ No
804
+ </td>
805
+
806
+ </tr>
807
+ </tbody>
808
+ </table>
809
+ </div>
810
+ <div>
811
+ </div>
812
+ <div class="io-description">
813
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
814
+
815
+ </div>
816
+ </td>
817
+ </tr>
818
+ </tbody>
819
+ </table>
820
+ </section>
821
+
822
+ </div>
823
+
824
+
825
+ <div class="tab-pane fade tab-source-code" id="source">
826
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
827
+ Overlay,
828
+ OverlayRef,
829
+ PositionStrategy,
830
+ } from &#x27;@angular/cdk/overlay&#x27;;
831
+ import { ComponentPortal } from &#x27;@angular/cdk/portal&#x27;;
832
+ import {
833
+ Directive,
834
+ ElementRef,
835
+ EventEmitter,
836
+ HostListener,
837
+ Inject,
838
+ Input,
839
+ OnDestroy,
840
+ Output,
841
+ } from &#x27;@angular/core&#x27;;
842
+ import { Subscription } from &#x27;rxjs&#x27;;
843
+ import {
844
+ take,
845
+ tap,
846
+ } from &#x27;rxjs/operators&#x27;;
847
+ import { ConfirmComponent } from &#x27;./confirm.component&#x27;;
848
+
849
+ @Directive({
850
+ selector: &#x27;[rxapConfirm]&#x27;,
851
+ standalone: true,
852
+ })
853
+ export class ConfirmDirective&lt;T &#x3D; any&gt; implements OnDestroy {
854
+ // use a set input to allow auto import detection if the eventValue
855
+ // is not set
856
+ @Input(&#x27;rxapConfirm&#x27;)
857
+ public set eventValue(value: T | &#x27;&#x27;) {
858
+ if (value !&#x3D;&#x3D; &#x27;&#x27;) {
859
+ this._eventValue &#x3D; value;
860
+ }
861
+ }
862
+
863
+ @Output()
864
+ public confirmed &#x3D; new EventEmitter&lt;T | undefined&gt;();
865
+
866
+ @Output()
867
+ public unconfirmed &#x3D; new EventEmitter&lt;T | undefined&gt;();
868
+
869
+ private subscription: Subscription | null &#x3D; null;
870
+
871
+ private overlayRef?: OverlayRef;
872
+
873
+ private _eventValue?: T;
874
+
875
+ protected positionStrategy?: PositionStrategy;
876
+
877
+ protected isOverlyOpen &#x3D; false;
878
+
879
+ constructor(
880
+ @Inject(Overlay)
881
+ protected readonly overlay: Overlay,
882
+ @Inject(ElementRef)
883
+ protected readonly elementRef: ElementRef,
884
+ ) {
885
+ this.positionStrategy &#x3D; this.overlay
886
+ .position()
887
+ .flexibleConnectedTo(this.elementRef.nativeElement)
888
+ .withPositions([
889
+ {
890
+ originX: &#x27;start&#x27;,
891
+ originY: &#x27;bottom&#x27;,
892
+ overlayX: &#x27;start&#x27;,
893
+ overlayY: &#x27;top&#x27;,
894
+ },
895
+ ])
896
+ .withDefaultOffsetY(10);
897
+ }
898
+
899
+ @HostListener(&#x27;click&#x27;, [ &#x27;$event&#x27; ])
900
+ public onClick($event?: Event) {
901
+ this.openConfirmOverly();
902
+ }
903
+
904
+ public ngOnDestroy() {
905
+ this.subscription?.unsubscribe();
906
+ this.overlayRef?.dispose();
907
+ }
908
+
909
+ protected openConfirmOverly() {
910
+ if (this.isOverlyOpen) {
911
+ return;
912
+ }
913
+ this.isOverlyOpen &#x3D; true;
914
+ this.overlayRef &#x3D; this.overlay.create({
915
+ scrollStrategy: this.overlay.scrollStrategies.close(),
916
+ positionStrategy: this.positionStrategy,
917
+ });
918
+ const componentPortal &#x3D; new ComponentPortal(ConfirmComponent);
919
+ const componentRef &#x3D; this.overlayRef.attach(componentPortal);
920
+
921
+ this.subscription?.unsubscribe();
922
+ this.subscription &#x3D; new Subscription();
923
+
924
+ this.subscription.add(
925
+ componentRef.instance.confirmed
926
+ .pipe(
927
+ take(1),
928
+ tap(() &#x3D;&gt; this.onConfirmed(this._eventValue)),
929
+ tap(() &#x3D;&gt; this.overlayRef?.dispose()),
930
+ tap(() &#x3D;&gt; this.isOverlyOpen &#x3D; false),
931
+ tap(() &#x3D;&gt; (this.subscription &#x3D; null)),
932
+ tap(() &#x3D;&gt; this.subscription?.unsubscribe()),
933
+ )
934
+ .subscribe(),
935
+ );
936
+
937
+ this.subscription.add(
938
+ componentRef.instance.unconfirmed
939
+ .pipe(
940
+ take(1),
941
+ tap(() &#x3D;&gt; this.onUnconfirmed(this._eventValue)),
942
+ tap(() &#x3D;&gt; this.overlayRef?.dispose()),
943
+ tap(() &#x3D;&gt; this.isOverlyOpen &#x3D; false),
944
+ tap(() &#x3D;&gt; (this.subscription &#x3D; null)),
945
+ tap(() &#x3D;&gt; this.subscription?.unsubscribe()),
946
+ )
947
+ .subscribe(),
948
+ );
949
+
950
+ this.subscription.add(
951
+ this.overlayRef
952
+ .detachments()
953
+ .pipe(
954
+ take(1),
955
+ tap(() &#x3D;&gt; this.isOverlyOpen &#x3D; false),
956
+ tap(() &#x3D;&gt; (this.subscription &#x3D; null)),
957
+ tap(() &#x3D;&gt; this.subscription?.unsubscribe()),
958
+ )
959
+ .subscribe(),
960
+ );
961
+ }
962
+
963
+ protected onConfirmed(eventValue?: T) {
964
+ this.confirmed.emit(eventValue);
965
+ }
966
+
967
+ protected onUnconfirmed(eventValue?: T) {
968
+ this.unconfirmed.emit(eventValue);
969
+ }
970
+
971
+ }
972
+ </code></pre>
973
+ </div>
974
+
975
+ </div>
976
+
977
+
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+
989
+
990
+ </div><div class="search-results">
991
+ <div class="has-results">
992
+ <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
993
+ <ul class="search-results-list"></ul>
994
+ </div>
995
+ <div class="no-results">
996
+ <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
997
+ </div>
998
+ </div>
999
+ </div>
1000
+ <!-- END CONTENT -->
1001
+ </div>
1002
+ </div>
1003
+
1004
+ <label class="dark-mode-switch">
1005
+ <input type="checkbox">
1006
+ <span class="slider">
1007
+ <svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
1008
+ <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
1009
+ </svg>
1010
+ </span>
1011
+ </label>
1012
+
1013
+ <script>
1014
+ var COMPODOC_CURRENT_PAGE_DEPTH = 1;
1015
+ var COMPODOC_CURRENT_PAGE_CONTEXT = 'directive';
1016
+ var COMPODOC_CURRENT_PAGE_URL = 'ConfirmDirective.html';
1017
+ var MAX_SEARCH_RESULTS = 15;
1018
+ </script>
1019
+
1020
+ <script>
1021
+ $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
1022
+ checkToggle(darkModeState);
1023
+ if ($darkModeToggleSwitchers.length > 0) {
1024
+ for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
1025
+ $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
1026
+ darkModeState = !darkModeState;
1027
+ toggleDarkMode(darkModeState);
1028
+ });
1029
+ }
1030
+ }
1031
+ </script>
1032
+
1033
+ <script src="../js/libs/custom-elements.min.js"></script>
1034
+ <script src="../js/libs/lit-html.js"></script>
1035
+
1036
+ <script src="../js/menu-wc.js" defer></script>
1037
+ <script nomodule src="../js/menu-wc_es5.js" defer></script>
1038
+
1039
+ <script src="../js/libs/bootstrap-native.js"></script>
1040
+
1041
+ <script src="../js/libs/es6-shim.min.js"></script>
1042
+ <script src="../js/libs/EventDispatcher.js"></script>
1043
+ <script src="../js/libs/promise.min.js"></script>
1044
+ <script src="../js/libs/zepto.min.js"></script>
1045
+
1046
+ <script src="../js/compodoc.js"></script>
1047
+
1048
+ <script src="../js/tabs.js"></script>
1049
+ <script src="../js/menu.js"></script>
1050
+ <script src="../js/libs/clipboard.min.js"></script>
1051
+ <script src="../js/libs/prism.js"></script>
1052
+ <script src="../js/sourceCode.js"></script>
1053
+ <script src="../js/search/search.js"></script>
1054
+ <script src="../js/search/lunr.min.js"></script>
1055
+ <script src="../js/search/search-lunr.js"></script>
1056
+ <script src="../js/search/search_index.js"></script>
1057
+ <script src="../js/lazy-load-graphs.js"></script>
1058
+
1059
+
1060
+ </body>
1061
+ </html>