@rxap/ngx-localize 22.0.0-dev.0 → 22.0.0-dev.2
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 +33 -0
- package/README.md +5 -3
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +77 -5
- package/compodoc/dependencies.html +100 -21
- package/compodoc/index.html +50 -8
- package/compodoc/injectables/I18nService.html +86 -22
- package/compodoc/injectables/LanguageSelectorService.html +102 -23
- 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 +63 -0
- package/compodoc/miscellaneous/functions.html +146 -19
- package/compodoc/miscellaneous/typealiases.html +47 -5
- package/compodoc/miscellaneous/variables.html +52 -5
- 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 +216 -150
- 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/I18nService.html +112 -6
- package/docs/html/classes/LanguageSelectorService.html +121 -12
- package/docs/html/functions/LanguageInterceptor.html +50 -5
- package/docs/html/functions/defaultLoadModule.html +47 -4
- package/docs/html/functions/loadI18nBootstrapHook.html +46 -1
- package/docs/html/functions/loadLanguages.html +59 -8
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +44 -7
- package/docs/html/modules.html +48 -1
- package/docs/html/types/FetchTranslationsFunction.html +47 -1
- package/docs/html/types/LoadModuleFunction.html +45 -1
- package/docs/html/variables/LOCALE_STORAGE_KEY.html +33 -1
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/I18nService.md +11 -11
- package/docs/markdown/classes/LanguageSelectorService.md +11 -11
- package/docs/markdown/functions/LanguageInterceptor.md +2 -2
- package/docs/markdown/functions/defaultLoadModule.md +2 -2
- package/docs/markdown/functions/loadI18nBootstrapHook.md +5 -19
- package/docs/markdown/functions/loadLanguages.md +4 -4
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/type-aliases/FetchTranslationsFunction.md +4 -4
- package/docs/markdown/type-aliases/LoadModuleFunction.md +4 -4
- package/docs/markdown/variables/LOCALE_STORAGE_KEY.md +2 -2
- package/docs/wiki/Class.I18nService.md +10 -10
- package/docs/wiki/Class.LanguageSelectorService.md +10 -10
- package/docs/wiki/Function.LanguageInterceptor.md +1 -1
- package/docs/wiki/Function.defaultLoadModule.md +1 -1
- package/docs/wiki/Function.loadI18nBootstrapHook.md +4 -18
- package/docs/wiki/Function.loadLanguages.md +3 -3
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/TypeAlias.FetchTranslationsFunction.md +3 -3
- package/docs/wiki/TypeAlias.LoadModuleFunction.md +3 -3
- package/docs/wiki/Variable.LOCALE_STORAGE_KEY.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/generators.json +16 -0
- package/package.json +37 -26
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/init/schema.json +8 -0
- package/src/generators/package.json +3 -0
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/theme.css +0 -1
|
@@ -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">
|
|
@@ -97,6 +118,10 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
|
|
101
126
|
|
|
102
127
|
<ol class="breadcrumb">
|
|
@@ -112,19 +137,22 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#defaultLoadModule" title="src/lib/load-languages.ts" ><b>defaultLoadModule</b> (src/.../load-languages.ts)</a>
|
|
140
|
+
<a href="#defaultLoadModule" title="src/lib/load-languages.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>defaultLoadModule</b> (src/.../load-languages.ts)</span></a>
|
|
141
|
+
</li>
|
|
142
|
+
<li>
|
|
143
|
+
<a href="#initGenerator" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>initGenerator</b> (src/.../generator.ts)</span></a>
|
|
116
144
|
</li>
|
|
117
145
|
<li>
|
|
118
|
-
<a href="#
|
|
146
|
+
<a href="#LanguageInterceptor" title="src/lib/language-interceptor.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>LanguageInterceptor</b> (src/.../language-interceptor.ts)</span></a>
|
|
119
147
|
</li>
|
|
120
148
|
<li>
|
|
121
|
-
<a href="#
|
|
149
|
+
<a href="#loadI18nBootstrapHook" title="src/lib/load-i18n-bootstrap-hook.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>loadI18nBootstrapHook</b> (src/.../load-i18n-bootstrap-hook.ts)</span></a>
|
|
122
150
|
</li>
|
|
123
151
|
<li>
|
|
124
|
-
<a href="#
|
|
152
|
+
<a href="#loadLanguages" title="src/lib/load-languages.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>loadLanguages</b> (src/.../load-languages.ts)</span></a>
|
|
125
153
|
</li>
|
|
126
154
|
<li>
|
|
127
|
-
<a href="#
|
|
155
|
+
<a href="#resolvePackageDir" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>resolvePackageDir</b> (src/.../generator.ts)</span></a>
|
|
128
156
|
</li>
|
|
129
157
|
</ul>
|
|
130
158
|
</td>
|
|
@@ -211,7 +239,7 @@
|
|
|
211
239
|
</tr>
|
|
212
240
|
<tr>
|
|
213
241
|
<td class="col-md-4">
|
|
214
|
-
<code>loadLanguages(fetchTranslations: <a href="../
|
|
242
|
+
<code>loadLanguages(fetchTranslations: <a href="../miscellaneous/typealiases.html#FetchTranslationsFunction" target="_self">FetchTranslationsFunction</a>, loadModule: <a href="../miscellaneous/typealiases.html#LoadModuleFunction" target="_self">LoadModuleFunction</a>, locale: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, preferredLanguages: unknown, fallback: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
215
243
|
</td>
|
|
216
244
|
</tr>
|
|
217
245
|
|
|
@@ -304,6 +332,7 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
304
332
|
<tr>
|
|
305
333
|
<td>preferredLanguages</td>
|
|
306
334
|
<td>
|
|
335
|
+
<code>unknown</code>
|
|
307
336
|
</td>
|
|
308
337
|
|
|
309
338
|
<td>
|
|
@@ -349,7 +378,8 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
349
378
|
</tr>
|
|
350
379
|
</tbody>
|
|
351
380
|
</table>
|
|
352
|
-
</section>
|
|
381
|
+
</section>
|
|
382
|
+
<h3>src/generators/init/generator.ts</h3>
|
|
353
383
|
<section data-compodoc="block-methods">
|
|
354
384
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
355
385
|
<tbody>
|
|
@@ -364,7 +394,7 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
364
394
|
</tr>
|
|
365
395
|
<tr>
|
|
366
396
|
<td class="col-md-4">
|
|
367
|
-
<code>initGenerator(tree: Tree
|
|
397
|
+
<code>initGenerator(tree: <a href="https://angular.dev/api/aria/tree/Tree" target="_blank">Tree</a>, options: InitGeneratorSchema)</code>
|
|
368
398
|
</td>
|
|
369
399
|
</tr>
|
|
370
400
|
|
|
@@ -389,7 +419,7 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
389
419
|
<tr>
|
|
390
420
|
<td>tree</td>
|
|
391
421
|
<td>
|
|
392
|
-
|
|
422
|
+
<code><a href="https://angular.dev/api/aria/tree/Tree" target="_blank" >Tree</a></code>
|
|
393
423
|
</td>
|
|
394
424
|
|
|
395
425
|
<td>
|
|
@@ -417,7 +447,86 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
417
447
|
</tr>
|
|
418
448
|
</tbody>
|
|
419
449
|
</table>
|
|
420
|
-
|
|
450
|
+
<table class="table table-sm table-bordered">
|
|
451
|
+
<tbody>
|
|
452
|
+
<tr>
|
|
453
|
+
<td class="col-md-4">
|
|
454
|
+
<a name="resolvePackageDir"></a>
|
|
455
|
+
<span class="name">
|
|
456
|
+
<span ><b>resolvePackageDir</b></span>
|
|
457
|
+
<a href="#resolvePackageDir"><span class="icon ion-ios-link"></span></a>
|
|
458
|
+
</span>
|
|
459
|
+
</td>
|
|
460
|
+
</tr>
|
|
461
|
+
<tr>
|
|
462
|
+
<td class="col-md-4">
|
|
463
|
+
<code>resolvePackageDir(root: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, packageName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
464
|
+
</td>
|
|
465
|
+
</tr>
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
<tr>
|
|
471
|
+
<td class="col-md-4">
|
|
472
|
+
<div class="io-description"><p>Resolves the directory of a package installed in the workspace. The lookup starts at the
|
|
473
|
+
workspace root, not at this package: with an isolated node_modules layout (pnpm) or Yarn PnP
|
|
474
|
+
the peer is not resolvable from here. The plain node_modules path is the fallback for packages
|
|
475
|
+
whose <code>exports</code> map hides their package.json.</p>
|
|
476
|
+
</div>
|
|
477
|
+
|
|
478
|
+
<div class="io-description">
|
|
479
|
+
<b>Parameters :</b>
|
|
480
|
+
|
|
481
|
+
<table class="params">
|
|
482
|
+
<thead>
|
|
483
|
+
<tr>
|
|
484
|
+
<td>Name</td>
|
|
485
|
+
<td>Type</td>
|
|
486
|
+
<td>Optional</td>
|
|
487
|
+
</tr>
|
|
488
|
+
</thead>
|
|
489
|
+
<tbody>
|
|
490
|
+
<tr>
|
|
491
|
+
<td>root</td>
|
|
492
|
+
<td>
|
|
493
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
494
|
+
</td>
|
|
495
|
+
|
|
496
|
+
<td>
|
|
497
|
+
No
|
|
498
|
+
</td>
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
</tr>
|
|
502
|
+
<tr>
|
|
503
|
+
<td>packageName</td>
|
|
504
|
+
<td>
|
|
505
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
506
|
+
</td>
|
|
507
|
+
|
|
508
|
+
<td>
|
|
509
|
+
No
|
|
510
|
+
</td>
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
</tr>
|
|
514
|
+
</tbody>
|
|
515
|
+
</table>
|
|
516
|
+
</div>
|
|
517
|
+
<div class="io-description">
|
|
518
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
519
|
+
|
|
520
|
+
</div>
|
|
521
|
+
<div class="io-description">
|
|
522
|
+
|
|
523
|
+
</div>
|
|
524
|
+
</td>
|
|
525
|
+
</tr>
|
|
526
|
+
</tbody>
|
|
527
|
+
</table>
|
|
528
|
+
</section>
|
|
529
|
+
<h3>src/lib/language-interceptor.ts</h3>
|
|
421
530
|
<section data-compodoc="block-methods">
|
|
422
531
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
423
532
|
<tbody>
|
|
@@ -432,7 +541,7 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
432
541
|
</tr>
|
|
433
542
|
<tr>
|
|
434
543
|
<td class="col-md-4">
|
|
435
|
-
<code>LanguageInterceptor(request: HttpRequest
|
|
544
|
+
<code>LanguageInterceptor(request: <a href="https://angular.dev/api/common/http/HttpRequest" target="_blank">HttpRequest</a>, next: <a href="https://angular.dev/api/common/http/HttpHandlerFn" target="_blank">HttpHandlerFn</a>)</code>
|
|
436
545
|
</td>
|
|
437
546
|
</tr>
|
|
438
547
|
|
|
@@ -460,7 +569,7 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
460
569
|
<tr>
|
|
461
570
|
<td>request</td>
|
|
462
571
|
<td>
|
|
463
|
-
|
|
572
|
+
<code><a href="https://angular.dev/api/common/http/HttpRequest" target="_blank" >HttpRequest</a></code>
|
|
464
573
|
</td>
|
|
465
574
|
|
|
466
575
|
<td>
|
|
@@ -478,7 +587,7 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
478
587
|
<tr>
|
|
479
588
|
<td>next</td>
|
|
480
589
|
<td>
|
|
481
|
-
|
|
590
|
+
<code><a href="https://angular.dev/api/common/http/HttpHandlerFn" target="_blank" >HttpHandlerFn</a></code>
|
|
482
591
|
</td>
|
|
483
592
|
|
|
484
593
|
<td>
|
|
@@ -497,7 +606,7 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
497
606
|
</table>
|
|
498
607
|
</div>
|
|
499
608
|
<div class="io-description">
|
|
500
|
-
<b>Returns : </b> <code>Observable<HttpEvent<
|
|
609
|
+
<b>Returns : </b> <code>Observable<HttpEvent<unknown>></code>
|
|
501
610
|
|
|
502
611
|
</div>
|
|
503
612
|
<div class="io-description">
|
|
@@ -508,7 +617,8 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
508
617
|
</tr>
|
|
509
618
|
</tbody>
|
|
510
619
|
</table>
|
|
511
|
-
</section>
|
|
620
|
+
</section>
|
|
621
|
+
<h3>src/lib/load-i18n-bootstrap-hook.ts</h3>
|
|
512
622
|
<section data-compodoc="block-methods">
|
|
513
623
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
514
624
|
<tbody>
|
|
@@ -523,7 +633,7 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
523
633
|
</tr>
|
|
524
634
|
<tr>
|
|
525
635
|
<td class="col-md-4">
|
|
526
|
-
<code>loadI18nBootstrapHook(fetchTranslations: <a href="../
|
|
636
|
+
<code>loadI18nBootstrapHook(fetchTranslations: <a href="../miscellaneous/typealiases.html#FetchTranslationsFunction" target="_self">FetchTranslationsFunction</a>, loadModule: <a href="../miscellaneous/typealiases.html#LoadModuleFunction" target="_self">LoadModuleFunction</a>, locale?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, preferredLanguages?, fallback?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
527
637
|
</td>
|
|
528
638
|
</tr>
|
|
529
639
|
|
|
@@ -626,6 +736,7 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
626
736
|
</section>
|
|
627
737
|
|
|
628
738
|
|
|
739
|
+
|
|
629
740
|
</div><div class="search-results">
|
|
630
741
|
<div class="has-results">
|
|
631
742
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
@@ -658,6 +769,24 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
658
769
|
|
|
659
770
|
<script>
|
|
660
771
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
772
|
+
var updateDarkModeSwitchOffset = function () {
|
|
773
|
+
var content = document.querySelector('.content');
|
|
774
|
+
var scrollbarWidth = 0;
|
|
775
|
+
|
|
776
|
+
if (content) {
|
|
777
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
document.documentElement.style.setProperty(
|
|
781
|
+
'--content-scrollbar-width',
|
|
782
|
+
scrollbarWidth + 'px'
|
|
783
|
+
);
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
updateDarkModeSwitchOffset();
|
|
787
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
788
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
789
|
+
|
|
661
790
|
checkToggle(darkModeState);
|
|
662
791
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
663
792
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -673,14 +802,12 @@ and a fallback, then initializes the translations and optionally loads additiona
|
|
|
673
802
|
<script src="../js/libs/lit-html.js"></script>
|
|
674
803
|
|
|
675
804
|
<script src="../js/menu-wc.js" defer></script>
|
|
676
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
677
805
|
|
|
678
806
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
679
807
|
|
|
680
808
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
681
809
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
682
810
|
<script src="../js/libs/promise.min.js"></script>
|
|
683
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
684
811
|
|
|
685
812
|
<script src="../js/compodoc.js"></script>
|
|
686
813
|
|
|
@@ -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">
|
|
@@ -97,6 +118,10 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
|
|
101
126
|
|
|
102
127
|
<ol class="breadcrumb">
|
|
@@ -112,10 +137,10 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#FetchTranslationsFunction" title="src/lib/load-languages.ts" ><b>FetchTranslationsFunction</b> (src/.../load-languages.ts)</a>
|
|
140
|
+
<a href="#FetchTranslationsFunction" title="src/lib/load-languages.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>FetchTranslationsFunction</b> (src/.../load-languages.ts)</span></a>
|
|
116
141
|
</li>
|
|
117
142
|
<li>
|
|
118
|
-
<a href="#LoadModuleFunction" title="src/lib/load-languages.ts" ><b>LoadModuleFunction</b> (src/.../load-languages.ts)</a>
|
|
143
|
+
<a href="#LoadModuleFunction" title="src/lib/load-languages.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>LoadModuleFunction</b> (src/.../load-languages.ts)</span></a>
|
|
119
144
|
</li>
|
|
120
145
|
</ul>
|
|
121
146
|
</td>
|
|
@@ -161,6 +186,7 @@
|
|
|
161
186
|
</section>
|
|
162
187
|
|
|
163
188
|
|
|
189
|
+
|
|
164
190
|
</div><div class="search-results">
|
|
165
191
|
<div class="has-results">
|
|
166
192
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
@@ -193,6 +219,24 @@
|
|
|
193
219
|
|
|
194
220
|
<script>
|
|
195
221
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
222
|
+
var updateDarkModeSwitchOffset = function () {
|
|
223
|
+
var content = document.querySelector('.content');
|
|
224
|
+
var scrollbarWidth = 0;
|
|
225
|
+
|
|
226
|
+
if (content) {
|
|
227
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
document.documentElement.style.setProperty(
|
|
231
|
+
'--content-scrollbar-width',
|
|
232
|
+
scrollbarWidth + 'px'
|
|
233
|
+
);
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
updateDarkModeSwitchOffset();
|
|
237
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
238
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
239
|
+
|
|
196
240
|
checkToggle(darkModeState);
|
|
197
241
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
198
242
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -208,14 +252,12 @@
|
|
|
208
252
|
<script src="../js/libs/lit-html.js"></script>
|
|
209
253
|
|
|
210
254
|
<script src="../js/menu-wc.js" defer></script>
|
|
211
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
212
255
|
|
|
213
256
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
214
257
|
|
|
215
258
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
216
259
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
217
260
|
<script src="../js/libs/promise.min.js"></script>
|
|
218
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
219
261
|
|
|
220
262
|
<script src="../js/compodoc.js"></script>
|
|
221
263
|
|
|
@@ -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">
|
|
@@ -97,6 +118,10 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
|
|
101
126
|
|
|
102
127
|
<ol class="breadcrumb">
|
|
@@ -112,10 +137,10 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#LOCALE_STORAGE_KEY" title="src/lib/const.ts" ><b>LOCALE_STORAGE_KEY</b> (src/.../const.ts)</a>
|
|
140
|
+
<a href="#LOCALE_STORAGE_KEY" title="src/lib/const.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>LOCALE_STORAGE_KEY</b> (src/.../const.ts)</span></a>
|
|
116
141
|
</li>
|
|
117
142
|
<li>
|
|
118
|
-
<a href="#schematic" title="src/generators/init/index.ts" ><b>schematic</b> (src/.../index.ts)</a>
|
|
143
|
+
<a href="#schematic" title="src/generators/init/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>schematic</b> (src/.../index.ts)</span></a>
|
|
119
144
|
</li>
|
|
120
145
|
</ul>
|
|
121
146
|
</td>
|
|
@@ -166,6 +191,12 @@
|
|
|
166
191
|
</span>
|
|
167
192
|
</td>
|
|
168
193
|
</tr>
|
|
194
|
+
<tr>
|
|
195
|
+
<td class="col-md-4">
|
|
196
|
+
<i>Type : </i> <code>unknown</code>
|
|
197
|
+
|
|
198
|
+
</td>
|
|
199
|
+
</tr>
|
|
169
200
|
<tr>
|
|
170
201
|
<td class="col-md-4">
|
|
171
202
|
<i>Default value : </i><code>convertNxGenerator(generator)</code>
|
|
@@ -211,6 +242,24 @@
|
|
|
211
242
|
|
|
212
243
|
<script>
|
|
213
244
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
245
|
+
var updateDarkModeSwitchOffset = function () {
|
|
246
|
+
var content = document.querySelector('.content');
|
|
247
|
+
var scrollbarWidth = 0;
|
|
248
|
+
|
|
249
|
+
if (content) {
|
|
250
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
document.documentElement.style.setProperty(
|
|
254
|
+
'--content-scrollbar-width',
|
|
255
|
+
scrollbarWidth + 'px'
|
|
256
|
+
);
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
updateDarkModeSwitchOffset();
|
|
260
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
261
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
262
|
+
|
|
214
263
|
checkToggle(darkModeState);
|
|
215
264
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
216
265
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -226,14 +275,12 @@
|
|
|
226
275
|
<script src="../js/libs/lit-html.js"></script>
|
|
227
276
|
|
|
228
277
|
<script src="../js/menu-wc.js" defer></script>
|
|
229
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
230
278
|
|
|
231
279
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
232
280
|
|
|
233
281
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
234
282
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
235
283
|
<script src="../js/libs/promise.min.js"></script>
|
|
236
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
237
284
|
|
|
238
285
|
<script src="../js/compodoc.js"></script>
|
|
239
286
|
|
package/compodoc/modules.html
CHANGED
|
@@ -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">
|
|
@@ -84,6 +105,10 @@
|
|
|
84
105
|
|
|
85
106
|
|
|
86
107
|
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
87
112
|
<ol class="breadcrumb">
|
|
88
113
|
<li class="breadcrumb-item">Modules</li>
|
|
89
114
|
</ol>
|
|
@@ -141,6 +166,24 @@
|
|
|
141
166
|
|
|
142
167
|
<script>
|
|
143
168
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
169
|
+
var updateDarkModeSwitchOffset = function () {
|
|
170
|
+
var content = document.querySelector('.content');
|
|
171
|
+
var scrollbarWidth = 0;
|
|
172
|
+
|
|
173
|
+
if (content) {
|
|
174
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
document.documentElement.style.setProperty(
|
|
178
|
+
'--content-scrollbar-width',
|
|
179
|
+
scrollbarWidth + 'px'
|
|
180
|
+
);
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
updateDarkModeSwitchOffset();
|
|
184
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
185
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
186
|
+
|
|
144
187
|
checkToggle(darkModeState);
|
|
145
188
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
146
189
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -156,14 +199,12 @@
|
|
|
156
199
|
<script src="./js/libs/lit-html.js"></script>
|
|
157
200
|
|
|
158
201
|
<script src="./js/menu-wc.js" defer></script>
|
|
159
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
160
202
|
|
|
161
203
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
162
204
|
|
|
163
205
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
164
206
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
165
207
|
<script src="./js/libs/promise.min.js"></script>
|
|
166
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
167
208
|
|
|
168
209
|
<script src="./js/compodoc.js"></script>
|
|
169
210
|
|