@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
|
@@ -1,4 +1,47 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>defaultLoadModule | @rxap/ngx-localize - v22.0.0-dev.2</title><meta name="description" content="Documentation for @rxap/ngx-localize"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">defaultLoadModule</a></li></ul>
|
|
12
|
+
<h1>Function defaultLoadModule</h1></div>
|
|
13
|
+
<section class="tsd-panel">
|
|
14
|
+
<ul class="tsd-signatures">
|
|
15
|
+
<li class="">
|
|
16
|
+
<div class="tsd-signature tsd-anchor-link" id="defaultloadmodule"><span class="tsd-kind-call-signature">defaultLoadModule</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">locale</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#defaultloadmodule" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
17
|
+
<div class="tsd-description">
|
|
18
|
+
<div class="tsd-comment tsd-typography"><p>Loads the locale data module for the specified locale and registers it.</p>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="tsd-parameters">
|
|
21
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
22
|
+
<ul class="tsd-parameter-list">
|
|
23
|
+
<li><span><span class="tsd-kind-parameter">locale</span>: <span class="tsd-signature-type">string</span></span>
|
|
24
|
+
<div class="tsd-comment tsd-typography"><p>The locale identifier for which the module needs to be loaded.</p>
|
|
25
|
+
</div></li></ul></div>
|
|
26
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><p>A promise that resolves when the module is successfully loaded and registered, or logs an error if loading fails.</p>
|
|
27
|
+
<aside class="tsd-sources">
|
|
28
|
+
<ul>
|
|
29
|
+
<li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/localize/src/lib/load-languages.ts#L11">load-languages.ts:11</a></li></ul></aside></div></li></ul></section></div>
|
|
30
|
+
<div class="col-sidebar">
|
|
31
|
+
<div class="page-menu">
|
|
32
|
+
<div class="tsd-navigation settings">
|
|
33
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
34
|
+
<h3>Settings</h3></summary>
|
|
35
|
+
<div class="tsd-accordion-details">
|
|
36
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
37
|
+
<ul id="tsd-filter-options">
|
|
38
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
39
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
40
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
41
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
42
|
+
<div class="site-menu">
|
|
43
|
+
<nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
44
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
45
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
46
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
47
|
+
<div class="overlay"></div></body></html>
|
|
@@ -1 +1,46 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>loadI18nBootstrapHook | @rxap/ngx-localize - v22.0.0-dev.2</title><meta name="description" content="Documentation for @rxap/ngx-localize"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">loadI18nBootstrapHook</a></li></ul>
|
|
12
|
+
<h1>Function loadI18nBootstrapHook</h1></div>
|
|
13
|
+
<section class="tsd-panel">
|
|
14
|
+
<ul class="tsd-signatures">
|
|
15
|
+
<li class="">
|
|
16
|
+
<div class="tsd-signature tsd-anchor-link" id="loadi18nbootstraphook"><span class="tsd-kind-call-signature">loadI18nBootstrapHook</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">fetchTranslations</span><span class="tsd-signature-symbol">:</span> <a href="../types/FetchTranslationsFunction.html" class="tsd-signature-type tsd-kind-type-alias">FetchTranslationsFunction</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">loadModule</span><span class="tsd-signature-symbol">?:</span> <a href="../types/LoadModuleFunction.html" class="tsd-signature-type tsd-kind-type-alias">LoadModuleFunction</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">locale</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">preferredLanguages</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">fallback</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ApplicationConfig</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#loadi18nbootstraphook" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
17
|
+
<div class="tsd-description">
|
|
18
|
+
<div class="tsd-parameters">
|
|
19
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
20
|
+
<ul class="tsd-parameter-list">
|
|
21
|
+
<li><span><span class="tsd-kind-parameter">fetchTranslations</span>: <a href="../types/FetchTranslationsFunction.html" class="tsd-signature-type tsd-kind-type-alias">FetchTranslationsFunction</a></span></li>
|
|
22
|
+
<li><span><span class="tsd-kind-parameter">loadModule</span>: <a href="../types/LoadModuleFunction.html" class="tsd-signature-type tsd-kind-type-alias">LoadModuleFunction</a><span class="tsd-signature-symbol"> = defaultLoadModule</span></span></li>
|
|
23
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">locale</span>: <span class="tsd-signature-type">string</span></span></li>
|
|
24
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">preferredLanguages</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span></li>
|
|
25
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fallback</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
26
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ApplicationConfig</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
27
|
+
<ul>
|
|
28
|
+
<li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/localize/src/lib/load-i18n-bootstrap-hook.ts#L12">load-i18n-bootstrap-hook.ts:12</a></li></ul></aside></div></li></ul></section></div>
|
|
29
|
+
<div class="col-sidebar">
|
|
30
|
+
<div class="page-menu">
|
|
31
|
+
<div class="tsd-navigation settings">
|
|
32
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
33
|
+
<h3>Settings</h3></summary>
|
|
34
|
+
<div class="tsd-accordion-details">
|
|
35
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
36
|
+
<ul id="tsd-filter-options">
|
|
37
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
38
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
39
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
40
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
41
|
+
<div class="site-menu">
|
|
42
|
+
<nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
43
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
44
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
45
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
46
|
+
<div class="overlay"></div></body></html>
|
|
@@ -1,10 +1,61 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>loadLanguages | @rxap/ngx-localize - v22.0.0-dev.2</title><meta name="description" content="Documentation for @rxap/ngx-localize"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">loadLanguages</a></li></ul>
|
|
12
|
+
<h1>Function loadLanguages</h1></div>
|
|
13
|
+
<section class="tsd-panel">
|
|
14
|
+
<ul class="tsd-signatures">
|
|
15
|
+
<li class="">
|
|
16
|
+
<div class="tsd-signature tsd-anchor-link" id="loadlanguages"><span class="tsd-kind-call-signature">loadLanguages</span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">fetchTranslations</span><span class="tsd-signature-symbol">:</span> <a href="../types/FetchTranslationsFunction.html" class="tsd-signature-type tsd-kind-type-alias">FetchTranslationsFunction</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">loadModule</span><span class="tsd-signature-symbol">?:</span> <a href="../types/LoadModuleFunction.html" class="tsd-signature-type tsd-kind-type-alias">LoadModuleFunction</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">locale</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">preferredLanguages</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">fallback</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span><a href="#loadlanguages" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
17
|
+
<div class="tsd-description">
|
|
18
|
+
<div class="tsd-comment tsd-typography"><p>Loads language translations and sets the locale for the application.
|
|
2
19
|
This function fetches the translations based on the specified locale, preferred languages,
|
|
3
20
|
and a fallback, then initializes the translations and optionally loads additional modules.</p>
|
|
4
|
-
</div
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
21
|
+
</div>
|
|
22
|
+
<div class="tsd-parameters">
|
|
23
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
24
|
+
<ul class="tsd-parameter-list">
|
|
25
|
+
<li><span><span class="tsd-kind-parameter">fetchTranslations</span>: <a href="../types/FetchTranslationsFunction.html" class="tsd-signature-type tsd-kind-type-alias">FetchTranslationsFunction</a></span>
|
|
26
|
+
<div class="tsd-comment tsd-typography"><p>A function to fetch the translation json map</p>
|
|
27
|
+
</div></li>
|
|
28
|
+
<li><span><span class="tsd-kind-parameter">loadModule</span>: <a href="../types/LoadModuleFunction.html" class="tsd-signature-type tsd-kind-type-alias">LoadModuleFunction</a><span class="tsd-signature-symbol"> = defaultLoadModule</span></span>
|
|
29
|
+
<div class="tsd-comment tsd-typography"><p>A function to load additional modules for the specified locale. Defaults to <code>defaultLoadModule</code>.</p>
|
|
30
|
+
</div></li>
|
|
31
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">locale</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ...</span></span>
|
|
32
|
+
<div class="tsd-comment tsd-typography"><p>The primary locale to be used. Defaults to the stored locale, browser language, or 'en'.</p>
|
|
33
|
+
</div></li>
|
|
34
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">preferredLanguages</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ...</span></span>
|
|
35
|
+
<div class="tsd-comment tsd-typography"><p>A list of preferred languages to use, derived from the browser or input. Defaults to the browser's preferred languages.</p>
|
|
36
|
+
</div></li>
|
|
37
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">fallback</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'messages'</span></span>
|
|
38
|
+
<div class="tsd-comment tsd-typography"><p>The fallback key for translation files. Defaults to 'messages'.</p>
|
|
39
|
+
</div></li></ul></div>
|
|
40
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><p>The resolved locale, as a string.</p>
|
|
41
|
+
<aside class="tsd-sources">
|
|
42
|
+
<ul>
|
|
43
|
+
<li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/localize/src/lib/load-languages.ts#L48">load-languages.ts:48</a></li></ul></aside></div></li></ul></section></div>
|
|
44
|
+
<div class="col-sidebar">
|
|
45
|
+
<div class="page-menu">
|
|
46
|
+
<div class="tsd-navigation settings">
|
|
47
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
48
|
+
<h3>Settings</h3></summary>
|
|
49
|
+
<div class="tsd-accordion-details">
|
|
50
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
51
|
+
<ul id="tsd-filter-options">
|
|
52
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
53
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
54
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
55
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
56
|
+
<div class="site-menu">
|
|
57
|
+
<nav class="tsd-navigation"><a href="../modules.html">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
58
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
59
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
60
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
61
|
+
<div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@rxap/ngx-localize - v22.0.0-dev.2</title><meta name="description" content="Documentation for @rxap/ngx-localize"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="index.html" class="title">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<h1>@rxap/ngx-localize - v22.0.0-dev.2</h1></div>
|
|
11
|
+
<h2>Hierarchy Summary</h2></div>
|
|
12
|
+
<div class="col-sidebar">
|
|
13
|
+
<div class="page-menu">
|
|
14
|
+
<div class="tsd-navigation settings">
|
|
15
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
16
|
+
<h3>Settings</h3></summary>
|
|
17
|
+
<div class="tsd-accordion-details">
|
|
18
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
19
|
+
<ul id="tsd-filter-options">
|
|
20
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
21
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
22
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
23
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
24
|
+
<div class="site-menu">
|
|
25
|
+
<nav class="tsd-navigation"><a href="modules.html">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
26
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
27
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
28
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
29
|
+
<div class="overlay"></div></body></html>
|
package/docs/html/index.html
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@rxap/ngx-localize - v22.0.0-dev.2</title><meta name="description" content="Documentation for @rxap/ngx-localize"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="index.html" class="title">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<h1>@rxap/ngx-localize - v22.0.0-dev.2</h1></div>
|
|
11
|
+
<div class="tsd-panel tsd-typography"><p>This package provides internationalization (i18n) support for Angular applications, including services for language management, an HTTP interceptor for setting the `Accept-Language` header, and a language selector component. It allows you to set and manage the current language of your application, redirect users based on their language preference, and configure available languages. The package also includes an init generator to handle peer dependencies.</p>
|
|
2
12
|
<p><a href="https://www.npmjs.com/package/@rxap/ngx-localize"><img src="https://img.shields.io/npm/v/@rxap/ngx-localize?style=flat-square" alt="npm version"></a>
|
|
3
13
|
<a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen friendly"></a>
|
|
4
14
|
<a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square" alt="styled with prettier"></a>
|
|
@@ -13,22 +23,49 @@
|
|
|
13
23
|
</ul>
|
|
14
24
|
</li>
|
|
15
25
|
</ul>
|
|
16
|
-
<
|
|
17
|
-
<
|
|
26
|
+
<h1 id="installation" class="tsd-anchor-link">Installation<a href="#installation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1>
|
|
27
|
+
<p><strong>Add the package to your workspace:</strong></p>
|
|
28
|
+
<pre><code class="bash"><span class="hl-0">npm</span><span class="hl-1"> </span><span class="hl-2">install</span><span class="hl-1"> </span><span class="hl-2">@rxap/ngx-localize</span>
|
|
18
29
|
</code><button type="button">Copy</button></pre>
|
|
19
30
|
|
|
31
|
+
<p>With pnpm or yarn use <code>pnpm add</code> or <code>yarn add</code> instead of <code>npm install</code>.</p>
|
|
20
32
|
<p><strong>Install peer dependencies:</strong></p>
|
|
21
|
-
<pre><code class="bash"><span class="hl-0">
|
|
33
|
+
<pre><code class="bash"><span class="hl-0">npm</span><span class="hl-1"> </span><span class="hl-2">install</span><span class="hl-1"> </span><span class="hl-2">@angular/common</span><span class="hl-1"> </span><span class="hl-2">@angular/core</span><span class="hl-1"> </span><span class="hl-2">@angular/localize</span><span class="hl-1"> </span><span class="hl-2">@rxap/config</span><span class="hl-1"> </span><span class="hl-2">@rxap/ngx-user</span><span class="hl-1"> </span><span class="hl-2">rxjs</span><span class="hl-1"> </span>
|
|
22
34
|
</code><button type="button">Copy</button></pre>
|
|
23
35
|
|
|
24
36
|
<p><strong>Execute the init generator:</strong></p>
|
|
25
|
-
<pre><code class="bash"><span class="hl-0">
|
|
37
|
+
<pre><code class="bash"><span class="hl-0">nx</span><span class="hl-1"> </span><span class="hl-2">g</span><span class="hl-1"> </span><span class="hl-2">@rxap/ngx-localize:init</span>
|
|
26
38
|
</code><button type="button">Copy</button></pre>
|
|
27
39
|
|
|
28
|
-
<
|
|
40
|
+
<h1 id="generators" class="tsd-anchor-link">Generators<a href="#generators" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1>
|
|
41
|
+
<h2 id="init" class="tsd-anchor-link">init<a href="#init" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
42
|
+
<blockquote>
|
|
29
43
|
<p>Initialize the package in the workspace</p>
|
|
30
44
|
</blockquote>
|
|
31
45
|
<pre><code class="bash"><span class="hl-0">nx</span><span class="hl-1"> </span><span class="hl-2">g</span><span class="hl-1"> </span><span class="hl-2">@rxap/ngx-localize:init</span>
|
|
32
46
|
</code><button type="button">Copy</button></pre>
|
|
33
47
|
|
|
34
|
-
</div></div
|
|
48
|
+
</div></div>
|
|
49
|
+
<div class="col-sidebar">
|
|
50
|
+
<div class="page-menu">
|
|
51
|
+
<div class="tsd-navigation settings">
|
|
52
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
53
|
+
<h3>Settings</h3></summary>
|
|
54
|
+
<div class="tsd-accordion-details">
|
|
55
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
56
|
+
<ul id="tsd-filter-options">
|
|
57
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
58
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
59
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
60
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
61
|
+
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
62
|
+
<h3>On This Page</h3></summary>
|
|
63
|
+
<div class="tsd-accordion-details"><a href="#installation"><span>Installation</span></a><a href="#generators"><span>Generators</span></a>
|
|
64
|
+
<ul>
|
|
65
|
+
<li><a href="#init"><span>init</span></a></li></ul></div></details></div>
|
|
66
|
+
<div class="site-menu">
|
|
67
|
+
<nav class="tsd-navigation"><a href="modules.html">@rxap/ngx-localize - v22.0.0-dev.2</a>
|
|
68
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
69
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
70
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
71
|
+
<div class="overlay"></div></body></html>
|