@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
package/compodoc/js/tabs.js
CHANGED
|
@@ -1,21 +1,104 @@
|
|
|
1
1
|
document.addEventListener('DOMContentLoaded', function() {
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
var tabContainers = document.getElementsByClassName('nav-tabs');
|
|
3
|
+
var tabLinks = [];
|
|
4
|
+
var tabAliasMap = {
|
|
5
|
+
'template': 'templateData',
|
|
6
|
+
'dom-tree': 'tree'
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
function updateAddress(e) {
|
|
10
|
+
if (history.pushState && e.target.dataset.link) {
|
|
11
|
+
history.pushState(null, null, '#' + e.target.dataset.link);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function findTabLinkByDataLink(dataLink) {
|
|
16
|
+
for (var i = 0; i < tabLinks.length; i++) {
|
|
17
|
+
if (tabLinks[i].dataset.link === dataLink) {
|
|
18
|
+
return tabLinks[i];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function getClosestTabPane(element) {
|
|
25
|
+
if (!element) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
if (element.closest) {
|
|
29
|
+
return element.closest('.tab-pane');
|
|
30
|
+
}
|
|
31
|
+
var node = element;
|
|
32
|
+
while (node) {
|
|
33
|
+
if (node.classList && node.classList.contains('tab-pane')) {
|
|
34
|
+
return node;
|
|
6
35
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
36
|
+
node = node.parentElement;
|
|
37
|
+
}
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function findAnchorTarget(hashValue) {
|
|
42
|
+
if (!hashValue) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
var targetById = document.getElementById(hashValue);
|
|
47
|
+
if (targetById) {
|
|
48
|
+
return targetById;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
var targetsByName = document.getElementsByName(hashValue);
|
|
52
|
+
if (targetsByName && targetsByName.length > 0) {
|
|
53
|
+
return targetsByName[0];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function activateTabFromHash() {
|
|
60
|
+
if (location.hash === '') {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
var currentHash = decodeURIComponent(location.hash.substr(1));
|
|
65
|
+
if (!currentHash) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
var resolvedHash = tabAliasMap[currentHash] || currentHash;
|
|
70
|
+
var directMatch = findTabLinkByDataLink(resolvedHash);
|
|
71
|
+
if (directMatch) {
|
|
72
|
+
directMatch.click();
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (currentHash.indexOf('source.') === 0) {
|
|
77
|
+
var sourceTabLink = findTabLinkByDataLink('source');
|
|
78
|
+
if (sourceTabLink) {
|
|
79
|
+
sourceTabLink.click();
|
|
80
|
+
return;
|
|
18
81
|
}
|
|
19
82
|
}
|
|
83
|
+
|
|
84
|
+
var targetAnchor = findAnchorTarget(currentHash);
|
|
85
|
+
var tabPane = getClosestTabPane(targetAnchor);
|
|
86
|
+
if (!tabPane || !tabPane.id) {
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
var tabLink = findTabLinkByDataLink(tabPane.id);
|
|
91
|
+
if (tabLink) {
|
|
92
|
+
tabLink.click();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
if (tabContainers.length > 0) {
|
|
97
|
+
tabLinks = tabContainers[0].querySelectorAll('a[data-link]');
|
|
98
|
+
for (var i = 0; i < tabLinks.length; i++) {
|
|
99
|
+
tabLinks[i].addEventListener('click', updateAddress);
|
|
100
|
+
}
|
|
101
|
+
activateTabFromHash();
|
|
102
|
+
window.addEventListener('hashchange', activateTabFromHash, false);
|
|
20
103
|
}
|
|
21
104
|
});
|
package/compodoc/js/tree.js
CHANGED
|
@@ -58,10 +58,18 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
|
58
58
|
type
|
|
59
59
|
} of it) {
|
|
60
60
|
if (type === 'NonIterableObject' && typeof key !== 'undefined' && value.type === 'tag') {
|
|
61
|
+
var parentId = parentNode && parentNode._parent ? parentNode._parent._id : null,
|
|
62
|
+
parentLevel = parentNode && parentNode._parent && typeof parentNode._parent._level === 'number'
|
|
63
|
+
? parentNode._parent._level
|
|
64
|
+
: 0,
|
|
65
|
+
nodeLevel = parentLevel + 1;
|
|
66
|
+
value._level = nodeLevel;
|
|
67
|
+
|
|
61
68
|
var newNode = {
|
|
62
69
|
id: value._id,
|
|
63
70
|
label: value.name,
|
|
64
|
-
type: value.type
|
|
71
|
+
type: value.type,
|
|
72
|
+
level: nodeLevel
|
|
65
73
|
};
|
|
66
74
|
for(var i = 0; i < COMPONENTS.length; i++) {
|
|
67
75
|
if (COMPONENTS[i].selector === value.name) {
|
|
@@ -88,17 +96,29 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
|
88
96
|
}
|
|
89
97
|
}
|
|
90
98
|
newNodes.push(newNode);
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
99
|
+
if (parentId !== null && typeof parentId !== 'undefined') {
|
|
100
|
+
newEdges.push({
|
|
101
|
+
from: parentId,
|
|
102
|
+
to: value._id
|
|
103
|
+
});
|
|
104
|
+
}
|
|
96
105
|
}
|
|
97
106
|
}
|
|
98
107
|
|
|
99
108
|
newNodes.shift();
|
|
100
109
|
|
|
110
|
+
var stripHtml = function(value) {
|
|
111
|
+
return String(value || '').replace(/<[^>]*>/g, '');
|
|
112
|
+
},
|
|
113
|
+
longestLabelLength = newNodes.reduce(function(max, node) {
|
|
114
|
+
var labelLength = stripHtml(node.label).length;
|
|
115
|
+
return Math.max(max, labelLength);
|
|
116
|
+
}, 0),
|
|
117
|
+
uniformNodeWidth = Math.max(40, Math.ceil(longestLabelLength * 8 + 28));
|
|
118
|
+
|
|
101
119
|
var container = document.getElementById('tree-container'),
|
|
120
|
+
isDarkMode = document.body && document.body.classList.contains('dark'),
|
|
121
|
+
treeFontColor = isDarkMode ? '#f0f0f0' : '#2d2d2d',
|
|
102
122
|
data = {
|
|
103
123
|
nodes: newNodes,
|
|
104
124
|
edges: newEdges
|
|
@@ -107,12 +127,29 @@ document.addEventListener('DOMContentLoaded', function() {
|
|
|
107
127
|
layout: {
|
|
108
128
|
hierarchical: {
|
|
109
129
|
sortMethod: 'directed',
|
|
130
|
+
shakeTowards: 'roots',
|
|
131
|
+
levelSeparation: 130,
|
|
110
132
|
enabled: true
|
|
111
133
|
}
|
|
112
134
|
},
|
|
135
|
+
edges: {
|
|
136
|
+
smooth: {
|
|
137
|
+
enabled: true,
|
|
138
|
+
type: 'cubicBezier',
|
|
139
|
+
forceDirection: 'vertical',
|
|
140
|
+
roundness: 0.45
|
|
141
|
+
}
|
|
142
|
+
},
|
|
113
143
|
nodes: {
|
|
114
144
|
shape: 'ellipse',
|
|
115
|
-
fixed: true
|
|
145
|
+
fixed: true,
|
|
146
|
+
font: {
|
|
147
|
+
color: treeFontColor
|
|
148
|
+
},
|
|
149
|
+
widthConstraint: {
|
|
150
|
+
minimum: uniformNodeWidth,
|
|
151
|
+
maximum: uniformNodeWidth
|
|
152
|
+
}
|
|
116
153
|
}
|
|
117
154
|
},
|
|
118
155
|
|
package/compodoc/license.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,13 @@
|
|
|
79
100
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
101
|
</div>
|
|
81
102
|
<!-- START CONTENT -->
|
|
82
|
-
<div class="content
|
|
103
|
+
<div class="content license">
|
|
83
104
|
<div class="content-data">
|
|
84
105
|
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
85
110
|
<b>Example :</b><div><pre class="line-numbers"><code class="language-none"> GNU GENERAL PUBLIC LICENSE
|
|
86
111
|
Version 3, 29 June 2007</code></pre></div><p> Copyright (C) 2007 Free Software Foundation, Inc. <a href="https://fsf.org/">https://fsf.org/</a>
|
|
87
112
|
Everyone is permitted to copy and distribute verbatim copies
|
|
@@ -636,7 +661,8 @@ reviewing courts shall apply local law that most closely approximates
|
|
|
636
661
|
an absolute waiver of all civil liability in connection with the
|
|
637
662
|
Program, unless a warranty or assumption of liability accompanies a
|
|
638
663
|
copy of the Program in return for a fee.</p>
|
|
639
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-none"> END OF TERMS AND CONDITIONS
|
|
664
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-none"> END OF TERMS AND CONDITIONS
|
|
665
|
+
</code></pre></div>
|
|
640
666
|
|
|
641
667
|
|
|
642
668
|
|
|
@@ -682,13 +708,31 @@ copy of the Program in return for a fee.</p>
|
|
|
682
708
|
|
|
683
709
|
<script>
|
|
684
710
|
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
|
|
685
|
-
var COMPODOC_CURRENT_PAGE_CONTEXT = '
|
|
711
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'license';
|
|
686
712
|
var COMPODOC_CURRENT_PAGE_URL = 'license.html';
|
|
687
713
|
var MAX_SEARCH_RESULTS = 15;
|
|
688
714
|
</script>
|
|
689
715
|
|
|
690
716
|
<script>
|
|
691
717
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
718
|
+
var updateDarkModeSwitchOffset = function () {
|
|
719
|
+
var content = document.querySelector('.content');
|
|
720
|
+
var scrollbarWidth = 0;
|
|
721
|
+
|
|
722
|
+
if (content) {
|
|
723
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
document.documentElement.style.setProperty(
|
|
727
|
+
'--content-scrollbar-width',
|
|
728
|
+
scrollbarWidth + 'px'
|
|
729
|
+
);
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
updateDarkModeSwitchOffset();
|
|
733
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
734
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
735
|
+
|
|
692
736
|
checkToggle(darkModeState);
|
|
693
737
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
694
738
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -704,14 +748,12 @@ copy of the Program in return for a fee.</p>
|
|
|
704
748
|
<script src="./js/libs/lit-html.js"></script>
|
|
705
749
|
|
|
706
750
|
<script src="./js/menu-wc.js" defer></script>
|
|
707
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
708
751
|
|
|
709
752
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
710
753
|
|
|
711
754
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
712
755
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
713
756
|
<script src="./js/libs/promise.min.js"></script>
|
|
714
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
715
757
|
|
|
716
758
|
<script src="./js/compodoc.js"></script>
|
|
717
759
|
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# angular-environment
|
|
2
|
+
|
|
3
|
+
> 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.
|
|
4
|
+
|
|
5
|
+
> Generated by compodoc 2.0.0 at 2026-11-26T16:48:23.989Z, llm-md export.
|
|
6
|
+
|
|
7
|
+
## Components
|
|
8
|
+
|
|
9
|
+
### EnvironmentComponent
|
|
10
|
+
|
|
11
|
+
File: `src/lib/environment/environment.component.ts`
|
|
12
|
+
Selector: `rxap-environment`
|
|
13
|
+
Change detection: `ChangeDetectionStrategy.OnPush`
|
|
14
|
+
|
|
15
|
+
Properties:
|
|
16
|
+
- `environment: Environment = inject(RXAP_ENVIRONMENT)`
|
|
17
|
+
|
|
18
|
+
## Interfaces
|
|
19
|
+
|
|
20
|
+
### Environment
|
|
21
|
+
|
|
22
|
+
File: `src/lib/environment.ts`
|
|
23
|
+
|
|
24
|
+
Properties:
|
|
25
|
+
- `app: string` — The name of the app
|
|
26
|
+
- `branch?: string | null` — The current branch
|
|
27
|
+
- `commit?: string | null` — The current commit
|
|
28
|
+
- `config?: string | literal type`
|
|
29
|
+
- `moduleFederation?: { manifest?: string | Record }`
|
|
30
|
+
- `name?: string` — The name of the environment
|
|
31
|
+
- `openApi?: { load?: literal type | boolean }`
|
|
32
|
+
- `origin?: string`
|
|
33
|
+
- `production: boolean` — The app is compiled from code in the production branch
|
|
34
|
+
- `release?: string | null` — The current app release
|
|
35
|
+
- `sentry?: { enabled?: boolean; debug?: boolean; dsn?: string; integrations?: { httpClient?: { failedRequestTargets?: Array<string | RegExp>; failedRequestStatusCodes?: Ar…`
|
|
36
|
+
- `serviceWorker?: boolean` — Where the service worker is active or not
|
|
37
|
+
- `slug?: { name?: string }`
|
|
38
|
+
- `tag?: string | null` — The current tag
|
|
39
|
+
- `tier?: string`
|
|
40
|
+
- `timestamp?: string | number | null` — The build timestamp
|
|
41
|
+
|
|
42
|
+
## Public functions
|
|
43
|
+
|
|
44
|
+
- `DetermineProductionEnvironmentName(environment: Environment)`
|
|
45
|
+
Defined in `src/lib/determine-production-environment-name.ts`
|
|
46
|
+
- `DetermineReleaseName(environment: Environment, defaultReleaseName: string = 'local-development'): string`
|
|
47
|
+
Defined in `src/lib/determine-release-name.ts`
|
|
48
|
+
- `initGenerator(tree: Tree, options: InitGeneratorSchema)`
|
|
49
|
+
Defined in `src/generators/init/generator.ts`
|
|
50
|
+
- `IsNotReleaseVersion(environment: Environment): boolean`
|
|
51
|
+
Defined in `src/lib/is-not-release-version.ts`
|
|
52
|
+
- `ProvideEnvironment(environment: Environment)`
|
|
53
|
+
Defined in `src/lib/provide-environment.ts`
|
|
54
|
+
- `resolvePackageDir(root: string, packageName: string): string` — Resolves the directory of a package installed in the workspace. The lookup starts at the workspace root, not at this package: with an isolated node\_modules layout (pnpm) or Yarn PnP the peer is not resolvable from here. The plain node\_modules path is the fallback for packages whose exports map hides their package.json.
|
|
55
|
+
Defined in `src/generators/init/generator.ts`
|
|
56
|
+
- `UpdateEnvironment(environment: Environment, url: string = 'build.json')` — Loads the build.json and adds all keys to the environment object
|
|
57
|
+
Defined in `src/lib/update-environment.ts`
|
|
58
|
+
|
|
59
|
+
## Public type aliases
|
|
60
|
+
|
|
61
|
+
- `type AnySchema = { validateAsync: any }`
|
|
62
|
+
|
|
63
|
+
## Public variables
|
|
64
|
+
|
|
65
|
+
- `RXAP_ENVIRONMENT: unknown = new InjectionToken<Environment>('rxap-environment')`
|
|
66
|
+
Defined in `src/lib/environment/tokens.ts`
|
|
67
|
+
- `schematic: unknown = convertNxGenerator(generator)`
|
|
68
|
+
Defined in `src/generators/init/index.ts`
|
|
@@ -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,22 +137,25 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#DetermineProductionEnvironmentName" title="src/lib/determine-production-environment-name.ts" ><b>DetermineProductionEnvironmentName</b> (src/.../determine-production-environment-name.ts)</a>
|
|
140
|
+
<a href="#DetermineProductionEnvironmentName" title="src/lib/determine-production-environment-name.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>DetermineProductionEnvironmentName</b> (src/.../determine-production-environment-name.ts)</span></a>
|
|
141
|
+
</li>
|
|
142
|
+
<li>
|
|
143
|
+
<a href="#DetermineReleaseName" title="src/lib/determine-release-name.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>DetermineReleaseName</b> (src/.../determine-release-name.ts)</span></a>
|
|
116
144
|
</li>
|
|
117
145
|
<li>
|
|
118
|
-
<a href="#
|
|
146
|
+
<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>
|
|
119
147
|
</li>
|
|
120
148
|
<li>
|
|
121
|
-
<a href="#
|
|
149
|
+
<a href="#IsNotReleaseVersion" title="src/lib/is-not-release-version.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>IsNotReleaseVersion</b> (src/.../is-not-release-version.ts)</span></a>
|
|
122
150
|
</li>
|
|
123
151
|
<li>
|
|
124
|
-
<a href="#
|
|
152
|
+
<a href="#ProvideEnvironment" title="src/lib/provide-environment.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>ProvideEnvironment</b> (src/.../provide-environment.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
|
<li>
|
|
130
|
-
<a href="#UpdateEnvironment" title="src/lib/update-environment.ts" ><b>UpdateEnvironment</b> (src/.../update-environment.ts)</a>
|
|
158
|
+
<a href="#UpdateEnvironment" title="src/lib/update-environment.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>UpdateEnvironment</b> (src/.../update-environment.ts)</span></a>
|
|
131
159
|
</li>
|
|
132
160
|
</ul>
|
|
133
161
|
</td>
|
|
@@ -192,7 +220,8 @@
|
|
|
192
220
|
</tr>
|
|
193
221
|
</tbody>
|
|
194
222
|
</table>
|
|
195
|
-
</section>
|
|
223
|
+
</section>
|
|
224
|
+
<h3>src/lib/determine-release-name.ts</h3>
|
|
196
225
|
<section data-compodoc="block-methods">
|
|
197
226
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
198
227
|
<tbody>
|
|
@@ -273,7 +302,8 @@
|
|
|
273
302
|
</tr>
|
|
274
303
|
</tbody>
|
|
275
304
|
</table>
|
|
276
|
-
</section>
|
|
305
|
+
</section>
|
|
306
|
+
<h3>src/generators/init/generator.ts</h3>
|
|
277
307
|
<section data-compodoc="block-methods">
|
|
278
308
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
279
309
|
<tbody>
|
|
@@ -288,7 +318,7 @@
|
|
|
288
318
|
</tr>
|
|
289
319
|
<tr>
|
|
290
320
|
<td class="col-md-4">
|
|
291
|
-
<code>initGenerator(tree: Tree
|
|
321
|
+
<code>initGenerator(tree: <a href="https://angular.dev/api/aria/tree/Tree" target="_blank">Tree</a>, options: InitGeneratorSchema)</code>
|
|
292
322
|
</td>
|
|
293
323
|
</tr>
|
|
294
324
|
|
|
@@ -313,7 +343,7 @@
|
|
|
313
343
|
<tr>
|
|
314
344
|
<td>tree</td>
|
|
315
345
|
<td>
|
|
316
|
-
|
|
346
|
+
<code><a href="https://angular.dev/api/aria/tree/Tree" target="_blank" >Tree</a></code>
|
|
317
347
|
</td>
|
|
318
348
|
|
|
319
349
|
<td>
|
|
@@ -341,7 +371,86 @@
|
|
|
341
371
|
</tr>
|
|
342
372
|
</tbody>
|
|
343
373
|
</table>
|
|
344
|
-
|
|
374
|
+
<table class="table table-sm table-bordered">
|
|
375
|
+
<tbody>
|
|
376
|
+
<tr>
|
|
377
|
+
<td class="col-md-4">
|
|
378
|
+
<a name="resolvePackageDir"></a>
|
|
379
|
+
<span class="name">
|
|
380
|
+
<span ><b>resolvePackageDir</b></span>
|
|
381
|
+
<a href="#resolvePackageDir"><span class="icon ion-ios-link"></span></a>
|
|
382
|
+
</span>
|
|
383
|
+
</td>
|
|
384
|
+
</tr>
|
|
385
|
+
<tr>
|
|
386
|
+
<td class="col-md-4">
|
|
387
|
+
<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>
|
|
388
|
+
</td>
|
|
389
|
+
</tr>
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
<tr>
|
|
395
|
+
<td class="col-md-4">
|
|
396
|
+
<div class="io-description"><p>Resolves the directory of a package installed in the workspace. The lookup starts at the
|
|
397
|
+
workspace root, not at this package: with an isolated node_modules layout (pnpm) or Yarn PnP
|
|
398
|
+
the peer is not resolvable from here. The plain node_modules path is the fallback for packages
|
|
399
|
+
whose <code>exports</code> map hides their package.json.</p>
|
|
400
|
+
</div>
|
|
401
|
+
|
|
402
|
+
<div class="io-description">
|
|
403
|
+
<b>Parameters :</b>
|
|
404
|
+
|
|
405
|
+
<table class="params">
|
|
406
|
+
<thead>
|
|
407
|
+
<tr>
|
|
408
|
+
<td>Name</td>
|
|
409
|
+
<td>Type</td>
|
|
410
|
+
<td>Optional</td>
|
|
411
|
+
</tr>
|
|
412
|
+
</thead>
|
|
413
|
+
<tbody>
|
|
414
|
+
<tr>
|
|
415
|
+
<td>root</td>
|
|
416
|
+
<td>
|
|
417
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
418
|
+
</td>
|
|
419
|
+
|
|
420
|
+
<td>
|
|
421
|
+
No
|
|
422
|
+
</td>
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
</tr>
|
|
426
|
+
<tr>
|
|
427
|
+
<td>packageName</td>
|
|
428
|
+
<td>
|
|
429
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
430
|
+
</td>
|
|
431
|
+
|
|
432
|
+
<td>
|
|
433
|
+
No
|
|
434
|
+
</td>
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
</tr>
|
|
438
|
+
</tbody>
|
|
439
|
+
</table>
|
|
440
|
+
</div>
|
|
441
|
+
<div class="io-description">
|
|
442
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
443
|
+
|
|
444
|
+
</div>
|
|
445
|
+
<div class="io-description">
|
|
446
|
+
|
|
447
|
+
</div>
|
|
448
|
+
</td>
|
|
449
|
+
</tr>
|
|
450
|
+
</tbody>
|
|
451
|
+
</table>
|
|
452
|
+
</section>
|
|
453
|
+
<h3>src/lib/is-not-release-version.ts</h3>
|
|
345
454
|
<section data-compodoc="block-methods">
|
|
346
455
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
347
456
|
<tbody>
|
|
@@ -404,7 +513,8 @@
|
|
|
404
513
|
</tr>
|
|
405
514
|
</tbody>
|
|
406
515
|
</table>
|
|
407
|
-
</section>
|
|
516
|
+
</section>
|
|
517
|
+
<h3>src/lib/provide-environment.ts</h3>
|
|
408
518
|
<section data-compodoc="block-methods">
|
|
409
519
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
410
520
|
<tbody>
|
|
@@ -460,7 +570,8 @@
|
|
|
460
570
|
</tr>
|
|
461
571
|
</tbody>
|
|
462
572
|
</table>
|
|
463
|
-
</section>
|
|
573
|
+
</section>
|
|
574
|
+
<h3>src/lib/update-environment.ts</h3>
|
|
464
575
|
<section data-compodoc="block-methods">
|
|
465
576
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
466
577
|
<tbody>
|
|
@@ -539,6 +650,7 @@
|
|
|
539
650
|
</section>
|
|
540
651
|
|
|
541
652
|
|
|
653
|
+
|
|
542
654
|
</div><div class="search-results">
|
|
543
655
|
<div class="has-results">
|
|
544
656
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
@@ -571,6 +683,24 @@
|
|
|
571
683
|
|
|
572
684
|
<script>
|
|
573
685
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
686
|
+
var updateDarkModeSwitchOffset = function () {
|
|
687
|
+
var content = document.querySelector('.content');
|
|
688
|
+
var scrollbarWidth = 0;
|
|
689
|
+
|
|
690
|
+
if (content) {
|
|
691
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
document.documentElement.style.setProperty(
|
|
695
|
+
'--content-scrollbar-width',
|
|
696
|
+
scrollbarWidth + 'px'
|
|
697
|
+
);
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
updateDarkModeSwitchOffset();
|
|
701
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
702
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
703
|
+
|
|
574
704
|
checkToggle(darkModeState);
|
|
575
705
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
576
706
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -586,14 +716,12 @@
|
|
|
586
716
|
<script src="../js/libs/lit-html.js"></script>
|
|
587
717
|
|
|
588
718
|
<script src="../js/menu-wc.js" defer></script>
|
|
589
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
590
719
|
|
|
591
720
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
592
721
|
|
|
593
722
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
594
723
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
595
724
|
<script src="../js/libs/promise.min.js"></script>
|
|
596
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
597
725
|
|
|
598
726
|
<script src="../js/compodoc.js"></script>
|
|
599
727
|
|