@rxap/components 21.0.1 → 22.0.0-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.
- package/CHANGELOG.md +29 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +73 -5
- package/compodoc/components/ConfirmComponent.html +112 -116
- package/compodoc/components/CopyToClipboardButtonComponent.html +165 -70
- package/compodoc/components/CopyToClipboardComponent.html +205 -176
- package/compodoc/components/EmptyRouterOutletComponent.html +86 -22
- package/compodoc/components/JsonViewerComponent.html +162 -94
- package/compodoc/components/NavigateBackButtonComponent.html +111 -26
- package/compodoc/dependencies.html +108 -27
- package/compodoc/directives/ConfirmDirective.html +266 -139
- package/compodoc/index.html +46 -5
- package/compodoc/interfaces/Segment.html +254 -184
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +25 -12
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +141 -0
- package/compodoc/miscellaneous/functions.html +48 -6
- package/compodoc/miscellaneous/variables.html +65 -6
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +436 -314
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/ConfirmComponent.html +76 -4
- package/docs/html/classes/ConfirmDirective.html +209 -17
- package/docs/html/classes/CopyToClipboardButtonComponent.html +88 -4
- package/docs/html/classes/CopyToClipboardComponent.html +106 -9
- package/docs/html/classes/EmptyRouterOutletComponent.html +56 -2
- package/docs/html/classes/JsonViewerComponent.html +187 -14
- package/docs/html/classes/NavigateBackButtonComponent.html +74 -3
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +40 -4
- package/docs/html/interfaces/Segment.html +79 -6
- package/docs/html/modules.html +44 -1
- package/docs/html/variables/JSON_VIEW_IGNORED_PROPERTIES.html +33 -1
- package/docs/html/variables/JSON_VIEW_IGNORED_TYPES.html +33 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ConfirmComponent.md +7 -7
- package/docs/markdown/classes/ConfirmDirective.md +30 -28
- package/docs/markdown/classes/CopyToClipboardButtonComponent.md +7 -7
- package/docs/markdown/classes/CopyToClipboardComponent.md +12 -12
- package/docs/markdown/classes/EmptyRouterOutletComponent.md +5 -5
- package/docs/markdown/classes/JsonViewerComponent.md +20 -20
- package/docs/markdown/classes/NavigateBackButtonComponent.md +6 -6
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/Segment.md +8 -8
- package/docs/markdown/variables/JSON_VIEW_IGNORED_PROPERTIES.md +2 -2
- package/docs/markdown/variables/JSON_VIEW_IGNORED_TYPES.md +2 -2
- package/docs/wiki/Class.ConfirmComponent.md +6 -6
- package/docs/wiki/Class.ConfirmDirective.md +29 -27
- package/docs/wiki/Class.CopyToClipboardButtonComponent.md +6 -6
- package/docs/wiki/Class.CopyToClipboardComponent.md +11 -11
- package/docs/wiki/Class.EmptyRouterOutletComponent.md +4 -4
- package/docs/wiki/Class.JsonViewerComponent.md +19 -19
- package/docs/wiki/Class.NavigateBackButtonComponent.md +5 -5
- package/docs/wiki/Interface.Segment.md +7 -7
- package/docs/wiki/Variable.JSON_VIEW_IGNORED_PROPERTIES.md +1 -1
- package/docs/wiki/Variable.JSON_VIEW_IGNORED_TYPES.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-components.mjs +700 -220
- package/fesm2022/rxap-components.mjs.map +1 -1
- package/package.json +20 -20
- package/types/rxap-components.d.ts +139 -92
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -85,6 +106,10 @@
|
|
|
85
106
|
|
|
86
107
|
|
|
87
108
|
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
88
113
|
<ol class="breadcrumb">
|
|
89
114
|
<li class="breadcrumb-item">Components</li>
|
|
90
115
|
<li class="breadcrumb-item"
|
|
@@ -92,11 +117,20 @@
|
|
|
92
117
|
ConfirmComponent</li>
|
|
93
118
|
</ol>
|
|
94
119
|
|
|
120
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
121
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
122
|
+
<code>src/lib/confirm/confirm.component.ts</code>
|
|
123
|
+
</div>
|
|
124
|
+
|
|
95
125
|
<ul class="nav nav-tabs" role="tablist">
|
|
96
126
|
<li class="nav-item">
|
|
97
127
|
<a href="#info" class="nav-link active"
|
|
98
128
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
99
129
|
</li>
|
|
130
|
+
<li class="nav-item">
|
|
131
|
+
<a href="#api" class="nav-link"
|
|
132
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
133
|
+
</li>
|
|
100
134
|
<li class="nav-item">
|
|
101
135
|
<a href="#source" class="nav-link"
|
|
102
136
|
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
@@ -116,14 +150,7 @@
|
|
|
116
150
|
</ul>
|
|
117
151
|
|
|
118
152
|
<div class="tab-content">
|
|
119
|
-
<div class="tab-pane fade active in" id="info"
|
|
120
|
-
<h3>File</h3>
|
|
121
|
-
</p>
|
|
122
|
-
<p class="comment">
|
|
123
|
-
<code>src/lib/confirm/confirm.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -157,8 +184,10 @@
|
|
|
157
184
|
<tr>
|
|
158
185
|
<td class="col-md-3">imports</td>
|
|
159
186
|
<td class="col-md-9">
|
|
160
|
-
|
|
161
|
-
|
|
187
|
+
<div> <code>MatButtonModule</code>
|
|
188
|
+
</div>
|
|
189
|
+
<div> <code>MatIconModule</code>
|
|
190
|
+
</div>
|
|
162
191
|
</td>
|
|
163
192
|
</tr>
|
|
164
193
|
|
|
@@ -169,6 +198,7 @@
|
|
|
169
198
|
|
|
170
199
|
|
|
171
200
|
|
|
201
|
+
|
|
172
202
|
<tr>
|
|
173
203
|
<td class="col-md-3">templateUrl</td>
|
|
174
204
|
<td class="col-md-9"><code>./confirm.component.html</code></td>
|
|
@@ -185,58 +215,31 @@
|
|
|
185
215
|
</table>
|
|
186
216
|
</section>
|
|
187
217
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
<
|
|
193
|
-
<
|
|
194
|
-
<
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
<
|
|
198
|
-
<
|
|
199
|
-
<ul class="
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
<
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
<span class="modifier">Public</span>
|
|
207
|
-
<span class="modifier">Readonly</span>
|
|
208
|
-
<a href="#unconfirmed" >unconfirmed</a>
|
|
209
|
-
</li>
|
|
210
|
-
</ul>
|
|
211
|
-
</td>
|
|
212
|
-
</tr>
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
<tr>
|
|
217
|
-
<td class="col-md-4">
|
|
218
|
-
<h6><b>Outputs</b></h6>
|
|
219
|
-
</td>
|
|
220
|
-
</tr>
|
|
221
|
-
<tr>
|
|
222
|
-
<td class="col-md-4">
|
|
223
|
-
<ul class="index-list">
|
|
224
|
-
<li>
|
|
225
|
-
<a href="#confirmed" >confirmed</a>
|
|
226
|
-
</li>
|
|
227
|
-
<li>
|
|
228
|
-
<a href="#unconfirmed" >unconfirmed</a>
|
|
229
|
-
</li>
|
|
218
|
+
<section data-compodoc="block-relationships">
|
|
219
|
+
<h3>Relationships</h3>
|
|
220
|
+
|
|
221
|
+
<div class="row pt-3">
|
|
222
|
+
<div class="col-sm-6">
|
|
223
|
+
<h4>Used by</h4>
|
|
224
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
225
|
+
</div>
|
|
226
|
+
|
|
227
|
+
<div class="col-sm-6">
|
|
228
|
+
<h4>Depends on</h4>
|
|
229
|
+
<ul class="list-unstyled relationships-list">
|
|
230
|
+
<li>
|
|
231
|
+
<code>MatButtonModule</code>
|
|
232
|
+
</li>
|
|
233
|
+
<li>
|
|
234
|
+
<code>MatIconModule</code>
|
|
235
|
+
</li>
|
|
230
236
|
</ul>
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
</tbody>
|
|
237
|
-
</table>
|
|
238
|
-
</section>
|
|
237
|
+
</div>
|
|
238
|
+
</div>
|
|
239
|
+
</section>
|
|
240
|
+
</div>
|
|
239
241
|
|
|
242
|
+
<div class="tab-pane fade " id="api">
|
|
240
243
|
|
|
241
244
|
|
|
242
245
|
<section data-compodoc="block-outputs">
|
|
@@ -248,10 +251,16 @@
|
|
|
248
251
|
<a name="confirmed"></a>
|
|
249
252
|
<b>confirmed</b>
|
|
250
253
|
</td>
|
|
254
|
+
</tr>
|
|
255
|
+
<tr>
|
|
256
|
+
<td class="col-md-4">
|
|
257
|
+
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
258
|
+
|
|
259
|
+
</td>
|
|
251
260
|
</tr>
|
|
252
261
|
<tr>
|
|
253
262
|
<td class="col-md-2" colspan="2">
|
|
254
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
263
|
+
<div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/lib/confirm/confirm.component.ts:32</a></div>
|
|
255
264
|
</td>
|
|
256
265
|
</tr>
|
|
257
266
|
</tbody>
|
|
@@ -263,10 +272,16 @@
|
|
|
263
272
|
<a name="unconfirmed"></a>
|
|
264
273
|
<b>unconfirmed</b>
|
|
265
274
|
</td>
|
|
275
|
+
</tr>
|
|
276
|
+
<tr>
|
|
277
|
+
<td class="col-md-4">
|
|
278
|
+
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
279
|
+
|
|
280
|
+
</td>
|
|
266
281
|
</tr>
|
|
267
282
|
<tr>
|
|
268
283
|
<td class="col-md-2" colspan="2">
|
|
269
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
284
|
+
<div class="io-line">Defined in <a href="" data-line="34" class="link-to-prism">src/lib/confirm/confirm.component.ts:34</a></div>
|
|
270
285
|
</td>
|
|
271
286
|
</tr>
|
|
272
287
|
</tbody>
|
|
@@ -275,56 +290,7 @@
|
|
|
275
290
|
|
|
276
291
|
|
|
277
292
|
|
|
278
|
-
<section data-compodoc="block-properties">
|
|
279
|
-
|
|
280
|
-
<h3 id="inputs">
|
|
281
|
-
Properties
|
|
282
|
-
</h3>
|
|
283
|
-
<table class="table table-sm table-bordered">
|
|
284
|
-
<tbody>
|
|
285
|
-
<tr>
|
|
286
|
-
<td class="col-md-4">
|
|
287
|
-
<a name="confirmed"></a>
|
|
288
|
-
<span class="name">
|
|
289
|
-
<span class="modifier">Public</span>
|
|
290
|
-
<span class="modifier">Readonly</span>
|
|
291
|
-
<span ><b>confirmed</b></span>
|
|
292
|
-
<a href="#confirmed"><span class="icon ion-ios-link"></span></a>
|
|
293
|
-
</span>
|
|
294
|
-
</td>
|
|
295
|
-
</tr>
|
|
296
|
-
<tr>
|
|
297
|
-
<td class="col-md-4">
|
|
298
|
-
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">src/lib/confirm/confirm.component.ts:18</a></div>
|
|
299
|
-
</td>
|
|
300
|
-
</tr>
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
</tbody>
|
|
304
|
-
</table>
|
|
305
|
-
<table class="table table-sm table-bordered">
|
|
306
|
-
<tbody>
|
|
307
|
-
<tr>
|
|
308
|
-
<td class="col-md-4">
|
|
309
|
-
<a name="unconfirmed"></a>
|
|
310
|
-
<span class="name">
|
|
311
|
-
<span class="modifier">Public</span>
|
|
312
|
-
<span class="modifier">Readonly</span>
|
|
313
|
-
<span ><b>unconfirmed</b></span>
|
|
314
|
-
<a href="#unconfirmed"><span class="icon ion-ios-link"></span></a>
|
|
315
|
-
</span>
|
|
316
|
-
</td>
|
|
317
|
-
</tr>
|
|
318
|
-
<tr>
|
|
319
|
-
<td class="col-md-4">
|
|
320
|
-
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">src/lib/confirm/confirm.component.ts:20</a></div>
|
|
321
|
-
</td>
|
|
322
|
-
</tr>
|
|
323
|
-
|
|
324
293
|
|
|
325
|
-
</tbody>
|
|
326
|
-
</table>
|
|
327
|
-
</section>
|
|
328
294
|
|
|
329
295
|
</div>
|
|
330
296
|
|
|
@@ -337,7 +303,21 @@
|
|
|
337
303
|
} from '@angular/core';
|
|
338
304
|
import { MatButtonModule } from '@angular/material/button';
|
|
339
305
|
import { MatIconModule } from '@angular/material/icon';
|
|
340
|
-
|
|
306
|
+
import { Showcase } from '@ng-prism/core';
|
|
307
|
+
|
|
308
|
+
@Showcase<ConfirmComponent>({
|
|
309
|
+
title: 'Confirm',
|
|
310
|
+
category: 'Components',
|
|
311
|
+
description: 'Small overlay with an accept and a decline icon button. It is opened by the `rxapConfirm` directive and emits `confirmed` or `unconfirmed`.',
|
|
312
|
+
status: 'stable',
|
|
313
|
+
variants: [
|
|
314
|
+
{ name: 'Default', description: 'Accept and decline button next to each other.' },
|
|
315
|
+
],
|
|
316
|
+
states: [
|
|
317
|
+
{ name: 'Hover', pseudo: { hover: 'button' } },
|
|
318
|
+
{ name: 'Focus visible', pseudo: { 'focus-visible': 'button' } },
|
|
319
|
+
],
|
|
320
|
+
})
|
|
341
321
|
@Component({
|
|
342
322
|
selector: 'rxap-confirm',
|
|
343
323
|
templateUrl: './confirm.component.html',
|
|
@@ -408,7 +388,7 @@ export class ConfirmComponent {
|
|
|
408
388
|
|
|
409
389
|
</div>
|
|
410
390
|
|
|
411
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
391
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
412
392
|
<script src="../js/libs/htmlparser.js"></script>
|
|
413
393
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
414
394
|
<script>
|
|
@@ -467,6 +447,24 @@ export class ConfirmComponent {
|
|
|
467
447
|
|
|
468
448
|
<script>
|
|
469
449
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
450
|
+
var updateDarkModeSwitchOffset = function () {
|
|
451
|
+
var content = document.querySelector('.content');
|
|
452
|
+
var scrollbarWidth = 0;
|
|
453
|
+
|
|
454
|
+
if (content) {
|
|
455
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
document.documentElement.style.setProperty(
|
|
459
|
+
'--content-scrollbar-width',
|
|
460
|
+
scrollbarWidth + 'px'
|
|
461
|
+
);
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
updateDarkModeSwitchOffset();
|
|
465
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
466
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
467
|
+
|
|
470
468
|
checkToggle(darkModeState);
|
|
471
469
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
472
470
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -482,14 +480,12 @@ export class ConfirmComponent {
|
|
|
482
480
|
<script src="../js/libs/lit-html.js"></script>
|
|
483
481
|
|
|
484
482
|
<script src="../js/menu-wc.js" defer></script>
|
|
485
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
486
483
|
|
|
487
484
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
488
485
|
|
|
489
486
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
490
487
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
491
488
|
<script src="../js/libs/promise.min.js"></script>
|
|
492
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
493
489
|
|
|
494
490
|
<script src="../js/compodoc.js"></script>
|
|
495
491
|
|