@rxap/environment 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 +22 -0
- package/README.md +5 -3
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +66 -5
- package/compodoc/components/EnvironmentComponent.html +87 -22
- package/compodoc/dependencies.html +84 -15
- package/compodoc/index.html +50 -8
- package/compodoc/interfaces/Environment.html +860 -671
- 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 +68 -0
- package/compodoc/miscellaneous/functions.html +144 -16
- package/compodoc/miscellaneous/typealiases.html +47 -5
- package/compodoc/miscellaneous/variables.html +58 -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 +334 -347
- 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/EnvironmentComponent.html +70 -3
- package/docs/html/functions/DetermineProductionEnvironmentName.html +42 -1
- package/docs/html/functions/DetermineReleaseName.html +43 -1
- package/docs/html/functions/IsNotReleaseVersion.html +42 -1
- package/docs/html/functions/ProvideEnvironment.html +42 -1
- package/docs/html/functions/UpdateEnvironment.html +45 -2
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +44 -7
- package/docs/html/interfaces/Environment.html +188 -27
- package/docs/html/modules.html +52 -1
- package/docs/html/types/AnySchema.html +55 -1
- package/docs/html/variables/RXAP_ENVIRONMENT.html +33 -1
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/EnvironmentComponent.md +6 -6
- package/docs/markdown/functions/DetermineProductionEnvironmentName.md +4 -4
- package/docs/markdown/functions/DetermineReleaseName.md +4 -4
- package/docs/markdown/functions/IsNotReleaseVersion.md +2 -2
- package/docs/markdown/functions/ProvideEnvironment.md +2 -2
- package/docs/markdown/functions/UpdateEnvironment.md +4 -4
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/Environment.md +63 -59
- package/docs/markdown/type-aliases/AnySchema.md +7 -5
- package/docs/markdown/variables/RXAP_ENVIRONMENT.md +2 -2
- package/docs/wiki/Class.EnvironmentComponent.md +5 -5
- package/docs/wiki/Function.DetermineProductionEnvironmentName.md +3 -3
- package/docs/wiki/Function.DetermineReleaseName.md +3 -3
- package/docs/wiki/Function.IsNotReleaseVersion.md +1 -1
- package/docs/wiki/Function.ProvideEnvironment.md +1 -1
- package/docs/wiki/Function.UpdateEnvironment.md +3 -3
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/Interface.Environment.md +62 -58
- package/docs/wiki/TypeAlias.AnySchema.md +6 -4
- package/docs/wiki/Variable.RXAP_ENVIRONMENT.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/generators.json +16 -0
- package/package.json +7 -9
- 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/compodoc/modules/EnvironmentComponentModule/dependencies.svg +0 -66
- package/compodoc/modules/EnvironmentComponentModule.html +0 -426
- 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">
|
|
@@ -96,27 +117,59 @@
|
|
|
96
117
|
|
|
97
118
|
|
|
98
119
|
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
99
124
|
<ol class="breadcrumb">
|
|
100
125
|
<li class="breadcrumb-item">Dependencies</li>
|
|
101
126
|
</ol>
|
|
102
|
-
<
|
|
103
|
-
<
|
|
104
|
-
<
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
127
|
+
<div class="dependencies-table-wrapper">
|
|
128
|
+
<table class="table table-sm table-bordered dependencies-table">
|
|
129
|
+
<thead>
|
|
130
|
+
<tr>
|
|
131
|
+
<th>Name</th>
|
|
132
|
+
<th>Version</th>
|
|
133
|
+
</tr>
|
|
134
|
+
</thead>
|
|
135
|
+
<tbody>
|
|
136
|
+
<tr>
|
|
137
|
+
<td><b>@nx/devkit</b></td>
|
|
138
|
+
<td>24.0.6</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr>
|
|
141
|
+
<td><b>tslib</b></td>
|
|
142
|
+
<td>2.9.1</td>
|
|
143
|
+
</tr>
|
|
144
|
+
</tbody>
|
|
145
|
+
</table>
|
|
146
|
+
</div>
|
|
108
147
|
|
|
109
148
|
|
|
110
149
|
<br/>
|
|
111
150
|
<ol class="breadcrumb">
|
|
112
151
|
<li class="breadcrumb-item">Peer dependencies</li>
|
|
113
152
|
</ol>
|
|
114
|
-
<
|
|
115
|
-
<
|
|
116
|
-
<
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
153
|
+
<div class="dependencies-table-wrapper">
|
|
154
|
+
<table class="table table-sm table-bordered dependencies-table">
|
|
155
|
+
<thead>
|
|
156
|
+
<tr>
|
|
157
|
+
<th>Name</th>
|
|
158
|
+
<th>Version</th>
|
|
159
|
+
</tr>
|
|
160
|
+
</thead>
|
|
161
|
+
<tbody>
|
|
162
|
+
<tr>
|
|
163
|
+
<td><b>@angular/common</b></td>
|
|
164
|
+
<td>^22.0.0</td>
|
|
165
|
+
</tr>
|
|
166
|
+
<tr>
|
|
167
|
+
<td><b>@angular/core</b></td>
|
|
168
|
+
<td>^22.0.0</td>
|
|
169
|
+
</tr>
|
|
170
|
+
</tbody>
|
|
171
|
+
</table>
|
|
172
|
+
</div>
|
|
120
173
|
|
|
121
174
|
|
|
122
175
|
|
|
@@ -155,6 +208,24 @@
|
|
|
155
208
|
|
|
156
209
|
<script>
|
|
157
210
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
211
|
+
var updateDarkModeSwitchOffset = function () {
|
|
212
|
+
var content = document.querySelector('.content');
|
|
213
|
+
var scrollbarWidth = 0;
|
|
214
|
+
|
|
215
|
+
if (content) {
|
|
216
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
document.documentElement.style.setProperty(
|
|
220
|
+
'--content-scrollbar-width',
|
|
221
|
+
scrollbarWidth + 'px'
|
|
222
|
+
);
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
updateDarkModeSwitchOffset();
|
|
226
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
227
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
228
|
+
|
|
158
229
|
checkToggle(darkModeState);
|
|
159
230
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
160
231
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -170,14 +241,12 @@
|
|
|
170
241
|
<script src="./js/libs/lit-html.js"></script>
|
|
171
242
|
|
|
172
243
|
<script src="./js/menu-wc.js" defer></script>
|
|
173
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
174
244
|
|
|
175
245
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
176
246
|
|
|
177
247
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
178
248
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
179
249
|
<script src="./js/libs/promise.min.js"></script>
|
|
180
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
181
250
|
|
|
182
251
|
<script src="./js/compodoc.js"></script>
|
|
183
252
|
|
package/compodoc/index.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">
|
|
@@ -79,9 +100,10 @@
|
|
|
79
100
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
101
|
</div>
|
|
81
102
|
<!-- START CONTENT -->
|
|
82
|
-
<div class="content
|
|
103
|
+
<div class="content readme">
|
|
83
104
|
<div class="content-data">
|
|
84
105
|
|
|
106
|
+
|
|
85
107
|
<p>Provides utilities and components for managing application environments in Angular, including determining environment names, release versions, and providing environment-specific configurations. It offers a component to display environment information and functions to update the environment with build details. The package also includes an init generator for setting up peer dependencies.</p>
|
|
86
108
|
<p><a href="https://www.npmjs.com/package/@rxap/environment"><img src="https://img.shields.io/npm/v/@rxap/environment?style=flat-square" alt="npm version" class="img-responsive"></a>
|
|
87
109
|
<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" class="img-responsive"></a>
|
|
@@ -98,9 +120,10 @@
|
|
|
98
120
|
</ul>
|
|
99
121
|
<h1>Installation</h1>
|
|
100
122
|
<p><strong>Add the package to your workspace:</strong></p>
|
|
101
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">
|
|
102
|
-
<
|
|
103
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">
|
|
123
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">npm install @rxap/environment</code></pre></div><p>With pnpm or yarn use <code>pnpm add</code> or <code>yarn add</code> instead of <code>npm install</code>.</p>
|
|
124
|
+
<p><strong>Install peer dependencies:</strong></p>
|
|
125
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">npm install @angular/common @angular/core </code></pre></div><p><strong>Execute the init generator:</strong></p>
|
|
126
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">nx g @rxap/environment:init</code></pre></div><h1>Generators</h1>
|
|
104
127
|
<h2>init</h2>
|
|
105
128
|
<blockquote>
|
|
106
129
|
<p>Initialize the package in the workspace</p>
|
|
@@ -123,6 +146,9 @@
|
|
|
123
146
|
|
|
124
147
|
|
|
125
148
|
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
126
152
|
|
|
127
153
|
|
|
128
154
|
|
|
@@ -151,13 +177,31 @@
|
|
|
151
177
|
|
|
152
178
|
<script>
|
|
153
179
|
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
|
|
154
|
-
var COMPODOC_CURRENT_PAGE_CONTEXT = '
|
|
180
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'readme';
|
|
155
181
|
var COMPODOC_CURRENT_PAGE_URL = 'index.html';
|
|
156
182
|
var MAX_SEARCH_RESULTS = 15;
|
|
157
183
|
</script>
|
|
158
184
|
|
|
159
185
|
<script>
|
|
160
186
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
187
|
+
var updateDarkModeSwitchOffset = function () {
|
|
188
|
+
var content = document.querySelector('.content');
|
|
189
|
+
var scrollbarWidth = 0;
|
|
190
|
+
|
|
191
|
+
if (content) {
|
|
192
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
document.documentElement.style.setProperty(
|
|
196
|
+
'--content-scrollbar-width',
|
|
197
|
+
scrollbarWidth + 'px'
|
|
198
|
+
);
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
updateDarkModeSwitchOffset();
|
|
202
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
203
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
204
|
+
|
|
161
205
|
checkToggle(darkModeState);
|
|
162
206
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
163
207
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -173,14 +217,12 @@
|
|
|
173
217
|
<script src="./js/libs/lit-html.js"></script>
|
|
174
218
|
|
|
175
219
|
<script src="./js/menu-wc.js" defer></script>
|
|
176
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
177
220
|
|
|
178
221
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
179
222
|
|
|
180
223
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
181
224
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
182
225
|
<script src="./js/libs/promise.min.js"></script>
|
|
183
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
184
226
|
|
|
185
227
|
<script src="./js/compodoc.js"></script>
|
|
186
228
|
|