@rxap/icon 21.0.1 → 22.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +61 -5
- package/compodoc/dependencies.html +96 -21
- package/compodoc/index.html +46 -5
- package/compodoc/injectables/IconLoaderService.html +78 -18
- 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 +34 -0
- package/compodoc/miscellaneous/functions.html +58 -14
- 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/compodoc/todo.html +45 -56
- package/docs/documentation.json +60 -50
- 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/IconLoaderService.html +79 -4
- package/docs/html/functions/DefaultIconSvgFilePath.html +38 -1
- package/docs/html/functions/LoadIconSetsFactory.html +44 -1
- package/docs/html/functions/ProvideIconAssetPath.html +42 -1
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +40 -4
- package/docs/html/modules.html +44 -1
- package/docs/html/variables/RXAP_ICON_ASSET_PATH.html +33 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/IconLoaderService.md +7 -7
- package/docs/markdown/functions/DefaultIconSvgFilePath.md +2 -2
- package/docs/markdown/functions/LoadIconSetsFactory.md +4 -8
- package/docs/markdown/functions/ProvideIconAssetPath.md +4 -4
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/variables/RXAP_ICON_ASSET_PATH.md +2 -2
- package/docs/wiki/Class.IconLoaderService.md +6 -6
- package/docs/wiki/Function.DefaultIconSvgFilePath.md +1 -1
- package/docs/wiki/Function.LoadIconSetsFactory.md +3 -7
- package/docs/wiki/Function.ProvideIconAssetPath.md +3 -3
- package/docs/wiki/Variable.RXAP_ICON_ASSET_PATH.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-icon.mjs +72 -79
- package/fesm2022/rxap-icon.mjs.map +1 -1
- package/package.json +15 -15
- package/types/rxap-icon.d.ts +18 -20
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,34 @@
|
|
|
1
|
+
# angular-icon
|
|
2
|
+
|
|
3
|
+
> This package provides an Angular module to load SVG icons from specified asset paths using the Angular Material Icon Registry. It simplifies the process of registering and using custom icons in Angular applications. The module allows configuring the icon asset paths and automatically loads the icon sets during initialization.
|
|
4
|
+
|
|
5
|
+
> Generated by compodoc 2.0.0 at 2026-11-23T22:34:11.245Z, llm-md export.
|
|
6
|
+
|
|
7
|
+
## Services / Injectables
|
|
8
|
+
|
|
9
|
+
### IconLoaderService
|
|
10
|
+
|
|
11
|
+
File: `src/lib/icon-loader.service.ts`
|
|
12
|
+
providedIn: `root`
|
|
13
|
+
Deprecated: (deprecated: use the ProvideIconAssetPath function in the app.config.ts file)
|
|
14
|
+
|
|
15
|
+
Methods:
|
|
16
|
+
- `load(): void`
|
|
17
|
+
|
|
18
|
+
## Public functions
|
|
19
|
+
|
|
20
|
+
- `DefaultIconSvgFilePath()`
|
|
21
|
+
Defined in `src/lib/tokens.ts`
|
|
22
|
+
- `initGenerator(tree: Tree, options: InitGeneratorSchema)`
|
|
23
|
+
Defined in `src/generators/init/generator.ts`
|
|
24
|
+
- `LoadIconSetsFactory(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, pathList): void`
|
|
25
|
+
Defined in `src/lib/provide-icon-asset-path.ts`
|
|
26
|
+
- `ProvideIconAssetPath(pathList = [ 'mdi.svg', 'custom.svg', ]): StaticProvider`
|
|
27
|
+
Defined in `src/lib/provide-icon-asset-path.ts`
|
|
28
|
+
|
|
29
|
+
## Public variables
|
|
30
|
+
|
|
31
|
+
- `RXAP_ICON_ASSET_PATH: unknown = new InjectionToken('rxap/icon/asset-path', { providedIn: 'root', factory: DefaultIconSvgFilePath, })`
|
|
32
|
+
Defined in `src/lib/tokens.ts`
|
|
33
|
+
- `schematic: unknown = convertNxGenerator(generator)`
|
|
34
|
+
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,16 +137,16 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#DefaultIconSvgFilePath" title="src/lib/tokens.ts" ><b>DefaultIconSvgFilePath</b> (src/.../tokens.ts)</a>
|
|
140
|
+
<a href="#DefaultIconSvgFilePath" title="src/lib/tokens.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>DefaultIconSvgFilePath</b> (src/.../tokens.ts)</span></a>
|
|
116
141
|
</li>
|
|
117
142
|
<li>
|
|
118
|
-
<a href="#initGenerator" title="src/generators/init/generator.ts" ><b>initGenerator</b> (src/.../generator.ts)</a>
|
|
143
|
+
<a href="#initGenerator" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>initGenerator</b> (src/.../generator.ts)</span></a>
|
|
119
144
|
</li>
|
|
120
145
|
<li>
|
|
121
|
-
<a href="#LoadIconSetsFactory" title="src/lib/provide-icon-asset-path.ts" ><b>LoadIconSetsFactory</b> (src/.../provide-icon-asset-path.ts)</a>
|
|
146
|
+
<a href="#LoadIconSetsFactory" title="src/lib/provide-icon-asset-path.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>LoadIconSetsFactory</b> (src/.../provide-icon-asset-path.ts)</span></a>
|
|
122
147
|
</li>
|
|
123
148
|
<li>
|
|
124
|
-
<a href="#ProvideIconAssetPath" title="src/lib/provide-icon-asset-path.ts" ><b>ProvideIconAssetPath</b> (src/.../provide-icon-asset-path.ts)</a>
|
|
149
|
+
<a href="#ProvideIconAssetPath" title="src/lib/provide-icon-asset-path.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>ProvideIconAssetPath</b> (src/.../provide-icon-asset-path.ts)</span></a>
|
|
125
150
|
</li>
|
|
126
151
|
</ul>
|
|
127
152
|
</td>
|
|
@@ -154,7 +179,8 @@
|
|
|
154
179
|
|
|
155
180
|
</tbody>
|
|
156
181
|
</table>
|
|
157
|
-
</section>
|
|
182
|
+
</section>
|
|
183
|
+
<h3>src/generators/init/generator.ts</h3>
|
|
158
184
|
<section data-compodoc="block-methods">
|
|
159
185
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
160
186
|
<tbody>
|
|
@@ -169,7 +195,7 @@
|
|
|
169
195
|
</tr>
|
|
170
196
|
<tr>
|
|
171
197
|
<td class="col-md-4">
|
|
172
|
-
<code>initGenerator(tree: Tree
|
|
198
|
+
<code>initGenerator(tree: <a href="https://angular.dev/api/aria/tree/Tree" target="_blank">Tree</a>, options: InitGeneratorSchema)</code>
|
|
173
199
|
</td>
|
|
174
200
|
</tr>
|
|
175
201
|
|
|
@@ -194,7 +220,7 @@
|
|
|
194
220
|
<tr>
|
|
195
221
|
<td>tree</td>
|
|
196
222
|
<td>
|
|
197
|
-
|
|
223
|
+
<code><a href="https://angular.dev/api/aria/tree/Tree" target="_blank" >Tree</a></code>
|
|
198
224
|
</td>
|
|
199
225
|
|
|
200
226
|
<td>
|
|
@@ -222,7 +248,8 @@
|
|
|
222
248
|
</tr>
|
|
223
249
|
</tbody>
|
|
224
250
|
</table>
|
|
225
|
-
</section>
|
|
251
|
+
</section>
|
|
252
|
+
<h3>src/lib/provide-icon-asset-path.ts</h3>
|
|
226
253
|
<section data-compodoc="block-methods">
|
|
227
254
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
228
255
|
<tbody>
|
|
@@ -237,7 +264,7 @@
|
|
|
237
264
|
</tr>
|
|
238
265
|
<tr>
|
|
239
266
|
<td class="col-md-4">
|
|
240
|
-
<code>LoadIconSetsFactory(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer
|
|
267
|
+
<code>LoadIconSetsFactory(matIconRegistry: MatIconRegistry, domSanitizer: <a href="https://angular.dev/api/platform-browser/DomSanitizer" target="_blank">DomSanitizer</a>, pathList)</code>
|
|
241
268
|
</td>
|
|
242
269
|
</tr>
|
|
243
270
|
|
|
@@ -274,7 +301,7 @@
|
|
|
274
301
|
<tr>
|
|
275
302
|
<td>domSanitizer</td>
|
|
276
303
|
<td>
|
|
277
|
-
|
|
304
|
+
<code><a href="https://angular.dev/api/platform-browser/DomSanitizer" target="_blank" >DomSanitizer</a></code>
|
|
278
305
|
</td>
|
|
279
306
|
|
|
280
307
|
<td>
|
|
@@ -362,7 +389,7 @@
|
|
|
362
389
|
</table>
|
|
363
390
|
</div>
|
|
364
391
|
<div class="io-description">
|
|
365
|
-
<b>Returns : </b>
|
|
392
|
+
<b>Returns : </b> <code><a href="https://angular.dev/api/core/StaticProvider" target="_blank" >StaticProvider</a></code>
|
|
366
393
|
|
|
367
394
|
</div>
|
|
368
395
|
<div class="io-description">
|
|
@@ -375,6 +402,7 @@
|
|
|
375
402
|
</section>
|
|
376
403
|
|
|
377
404
|
|
|
405
|
+
|
|
378
406
|
</div><div class="search-results">
|
|
379
407
|
<div class="has-results">
|
|
380
408
|
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
@@ -407,6 +435,24 @@
|
|
|
407
435
|
|
|
408
436
|
<script>
|
|
409
437
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
438
|
+
var updateDarkModeSwitchOffset = function () {
|
|
439
|
+
var content = document.querySelector('.content');
|
|
440
|
+
var scrollbarWidth = 0;
|
|
441
|
+
|
|
442
|
+
if (content) {
|
|
443
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
document.documentElement.style.setProperty(
|
|
447
|
+
'--content-scrollbar-width',
|
|
448
|
+
scrollbarWidth + 'px'
|
|
449
|
+
);
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
updateDarkModeSwitchOffset();
|
|
453
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
454
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
455
|
+
|
|
410
456
|
checkToggle(darkModeState);
|
|
411
457
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
412
458
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -422,14 +468,12 @@
|
|
|
422
468
|
<script src="../js/libs/lit-html.js"></script>
|
|
423
469
|
|
|
424
470
|
<script src="../js/menu-wc.js" defer></script>
|
|
425
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
426
471
|
|
|
427
472
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
428
473
|
|
|
429
474
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
430
475
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
431
476
|
<script src="../js/libs/promise.min.js"></script>
|
|
432
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
433
477
|
|
|
434
478
|
<script src="../js/compodoc.js"></script>
|
|
435
479
|
|
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -97,6 +118,10 @@
|
|
|
97
118
|
|
|
98
119
|
|
|
99
120
|
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
100
125
|
|
|
101
126
|
|
|
102
127
|
<ol class="breadcrumb">
|
|
@@ -112,10 +137,10 @@
|
|
|
112
137
|
<td class="col-md-4">
|
|
113
138
|
<ul class="index-list">
|
|
114
139
|
<li>
|
|
115
|
-
<a href="#RXAP_ICON_ASSET_PATH" title="src/lib/tokens.ts" ><b>RXAP_ICON_ASSET_PATH</b> (src/.../tokens.ts)</a>
|
|
140
|
+
<a href="#RXAP_ICON_ASSET_PATH" title="src/lib/tokens.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>RXAP_ICON_ASSET_PATH</b> (src/.../tokens.ts)</span></a>
|
|
116
141
|
</li>
|
|
117
142
|
<li>
|
|
118
|
-
<a href="#schematic" title="src/generators/init/index.ts" ><b>schematic</b> (src/.../index.ts)</a>
|
|
143
|
+
<a href="#schematic" title="src/generators/init/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>schematic</b> (src/.../index.ts)</span></a>
|
|
119
144
|
</li>
|
|
120
145
|
</ul>
|
|
121
146
|
</td>
|
|
@@ -137,6 +162,12 @@
|
|
|
137
162
|
</span>
|
|
138
163
|
</td>
|
|
139
164
|
</tr>
|
|
165
|
+
<tr>
|
|
166
|
+
<td class="col-md-4">
|
|
167
|
+
<i>Type : </i> <code>unknown</code>
|
|
168
|
+
|
|
169
|
+
</td>
|
|
170
|
+
</tr>
|
|
140
171
|
<tr>
|
|
141
172
|
<td class="col-md-4">
|
|
142
173
|
<i>Default value : </i><code>new InjectionToken('rxap/icon/asset-path', {
|
|
@@ -163,6 +194,12 @@
|
|
|
163
194
|
</span>
|
|
164
195
|
</td>
|
|
165
196
|
</tr>
|
|
197
|
+
<tr>
|
|
198
|
+
<td class="col-md-4">
|
|
199
|
+
<i>Type : </i> <code>unknown</code>
|
|
200
|
+
|
|
201
|
+
</td>
|
|
202
|
+
</tr>
|
|
166
203
|
<tr>
|
|
167
204
|
<td class="col-md-4">
|
|
168
205
|
<i>Default value : </i><code>convertNxGenerator(generator)</code>
|
|
@@ -208,6 +245,24 @@
|
|
|
208
245
|
|
|
209
246
|
<script>
|
|
210
247
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
248
|
+
var updateDarkModeSwitchOffset = function () {
|
|
249
|
+
var content = document.querySelector('.content');
|
|
250
|
+
var scrollbarWidth = 0;
|
|
251
|
+
|
|
252
|
+
if (content) {
|
|
253
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
document.documentElement.style.setProperty(
|
|
257
|
+
'--content-scrollbar-width',
|
|
258
|
+
scrollbarWidth + 'px'
|
|
259
|
+
);
|
|
260
|
+
};
|
|
261
|
+
|
|
262
|
+
updateDarkModeSwitchOffset();
|
|
263
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
264
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
265
|
+
|
|
211
266
|
checkToggle(darkModeState);
|
|
212
267
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
213
268
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -223,14 +278,12 @@
|
|
|
223
278
|
<script src="../js/libs/lit-html.js"></script>
|
|
224
279
|
|
|
225
280
|
<script src="../js/menu-wc.js" defer></script>
|
|
226
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
227
281
|
|
|
228
282
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
229
283
|
|
|
230
284
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
231
285
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
232
286
|
<script src="../js/libs/promise.min.js"></script>
|
|
233
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
234
287
|
|
|
235
288
|
<script src="../js/compodoc.js"></script>
|
|
236
289
|
|