@rxap/ngx-theme 18.0.2 → 18.0.3-dev.0
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 +4 -0
- package/README.md +1 -1
- package/compodoc/changelog.html +264 -0
- package/compodoc/dependencies.html +203 -0
- package/compodoc/fonts/ionicons.eot +0 -0
- package/compodoc/fonts/ionicons.svg +2090 -0
- package/compodoc/fonts/ionicons.ttf +0 -0
- package/compodoc/fonts/ionicons.woff +0 -0
- package/compodoc/fonts/ionicons.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.svg +314 -0
- package/compodoc/fonts/roboto-v15-latin-300.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-300.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.svg +310 -0
- package/compodoc/fonts/roboto-v15-latin-700.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-700.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.svg +323 -0
- package/compodoc/fonts/roboto-v15-latin-italic.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-italic.woff2 +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.eot +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.svg +308 -0
- package/compodoc/fonts/roboto-v15-latin-regular.ttf +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.woff +0 -0
- package/compodoc/fonts/roboto-v15-latin-regular.woff2 +0 -0
- package/compodoc/graph/dependencies.svg +24 -0
- package/compodoc/images/compodoc-vectorise-inverted.png +0 -0
- package/compodoc/images/compodoc-vectorise-inverted.svg +201 -0
- package/compodoc/images/compodoc-vectorise.png +0 -0
- package/compodoc/images/compodoc-vectorise.svg +201 -0
- package/compodoc/images/favicon.ico +0 -0
- package/compodoc/index.html +190 -0
- package/compodoc/injectables/ThemeService.html +2164 -0
- package/compodoc/interfaces/ColorPalette.html +891 -0
- package/compodoc/interfaces/ColorPaletteConfig.html +793 -0
- package/compodoc/interfaces/ColorPaletteConfigWithName.html +709 -0
- package/compodoc/interfaces/ThemeConfig.html +883 -0
- package/compodoc/js/compodoc.js +14 -0
- package/compodoc/js/lazy-load-graphs.js +44 -0
- package/compodoc/js/libs/EventDispatcher.js +5 -0
- package/compodoc/js/libs/bootstrap-native.js +2 -0
- package/compodoc/js/libs/clipboard.min.js +7 -0
- package/compodoc/js/libs/custom-elements-es5-adapter.js +15 -0
- package/compodoc/js/libs/custom-elements.min.js +38 -0
- package/compodoc/js/libs/d3.v3.min.js +2 -0
- package/compodoc/js/libs/deep-iterator.js +2 -0
- package/compodoc/js/libs/es6-shim.min.js +12 -0
- package/compodoc/js/libs/htmlparser.js +23 -0
- package/compodoc/js/libs/innersvg.js +9 -0
- package/compodoc/js/libs/lit-html.js +1 -0
- package/compodoc/js/libs/prism.js +46 -0
- package/compodoc/js/libs/promise.min.js +6 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -0
- package/compodoc/js/libs/tablesort.min.js +6 -0
- package/compodoc/js/libs/tablesort.number.min.js +6 -0
- package/compodoc/js/libs/vis.min.js +47 -0
- package/compodoc/js/libs/zepto.min.js +2 -0
- package/compodoc/js/menu-wc.js +120 -0
- package/compodoc/js/menu-wc_es5.js +40 -0
- package/compodoc/js/menu.js +270 -0
- package/compodoc/js/routes.js +301 -0
- package/compodoc/js/search/lunr.min.js +6 -0
- package/compodoc/js/search/search-lunr.js +67 -0
- package/compodoc/js/search/search.js +283 -0
- package/compodoc/js/search/search_index.js +4 -0
- package/compodoc/js/sourceCode.js +58 -0
- package/compodoc/js/svg-pan-zoom.controls.js +53 -0
- package/compodoc/js/tabs.js +21 -0
- package/compodoc/js/tree.js +147 -0
- package/compodoc/license.html +731 -0
- package/compodoc/miscellaneous/enumerations.html +267 -0
- package/compodoc/miscellaneous/functions.html +397 -0
- package/compodoc/modules.html +183 -0
- package/compodoc/overview.html +201 -0
- package/compodoc/properties.html +195 -0
- package/compodoc/styles/bootstrap-card.css +219 -0
- package/compodoc/styles/bootstrap.min.css +6 -0
- package/compodoc/styles/compodoc.css +1124 -0
- package/compodoc/styles/dark.css +121 -0
- package/compodoc/styles/ionicons.min.css +11 -0
- package/compodoc/styles/laravel.css +113 -0
- package/compodoc/styles/material.css +131 -0
- package/compodoc/styles/original.css +51 -0
- package/compodoc/styles/postmark.css +238 -0
- package/compodoc/styles/prism.css +301 -0
- package/compodoc/styles/readthedocs.css +117 -0
- package/compodoc/styles/reset.css +129 -0
- package/compodoc/styles/stripe.css +106 -0
- package/compodoc/styles/style.css +7 -0
- package/compodoc/styles/tablesort.css +33 -0
- package/compodoc/styles/vagrant.css +130 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +43 -0
- package/docs/assets/icons.js +15 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +59 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1412 -0
- package/docs/classes/ThemeService.html +40 -0
- package/docs/documentation.json +3425 -0
- package/docs/enums/ColorPaletteAlgorithm.html +3 -0
- package/docs/enums/ThemeDensity.html +5 -0
- package/docs/functions/ComputeColorPalette.html +1 -0
- package/docs/functions/ObserveCurrentThemeDensity.html +1 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +16 -0
- package/docs/interfaces/ColorPalette.html +15 -0
- package/docs/interfaces/ColorPaletteConfig.html +4 -0
- package/docs/interfaces/ColorPaletteConfigWithName.html +5 -0
- package/docs/interfaces/ThemeConfig.html +6 -0
- package/docs/modules.html +10 -0
- package/package.json +8 -8
|
@@ -0,0 +1,883 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<title>angular-theme</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
+
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
+
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<script>
|
|
16
|
+
// Blocking script to avoid flickering dark mode
|
|
17
|
+
// Dark mode toggle button
|
|
18
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
19
|
+
var darkModeState = useDark.matches;
|
|
20
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
21
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
22
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
23
|
+
|
|
24
|
+
function checkToggle(check) {
|
|
25
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
26
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function toggleDarkMode(state) {
|
|
31
|
+
if (window.localStorage) {
|
|
32
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
checkToggle(state);
|
|
36
|
+
|
|
37
|
+
const hasClass = document.body.classList.contains('dark');
|
|
38
|
+
|
|
39
|
+
if (state) {
|
|
40
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
41
|
+
$darkModeToggles[i].classList.add('dark');
|
|
42
|
+
}
|
|
43
|
+
if (!hasClass) {
|
|
44
|
+
document.body.classList.add('dark');
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
48
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
49
|
+
}
|
|
50
|
+
if (hasClass) {
|
|
51
|
+
document.body.classList.remove('dark');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
useDark.addEventListener('change', function (evt) {
|
|
57
|
+
toggleDarkMode(evt.matches);
|
|
58
|
+
});
|
|
59
|
+
if (darkModeStateLocal) {
|
|
60
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
61
|
+
}
|
|
62
|
+
toggleDarkMode(darkModeState);
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
|
+
<div class="d-flex">
|
|
67
|
+
<a href="../" class="navbar-brand">angular-theme</a>
|
|
68
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="container-fluid main">
|
|
77
|
+
<div class="row main">
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
79
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
|
+
</div>
|
|
81
|
+
<!-- START CONTENT -->
|
|
82
|
+
<div class="content interface">
|
|
83
|
+
<div class="content-data">
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
<ol class="breadcrumb">
|
|
98
|
+
<li class="breadcrumb-item">Interfaces</li>
|
|
99
|
+
<li class="breadcrumb-item"
|
|
100
|
+
>
|
|
101
|
+
ThemeConfig</li>
|
|
102
|
+
</ol>
|
|
103
|
+
|
|
104
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
105
|
+
<li class="nav-item">
|
|
106
|
+
<a href="#info"
|
|
107
|
+
class="nav-link"
|
|
108
|
+
class="nav-link active"
|
|
109
|
+
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
110
|
+
</li>
|
|
111
|
+
<li class="nav-item">
|
|
112
|
+
<a href="#source"
|
|
113
|
+
class="nav-link"
|
|
114
|
+
|
|
115
|
+
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
116
|
+
</li>
|
|
117
|
+
</ul>
|
|
118
|
+
|
|
119
|
+
<div class="tab-content">
|
|
120
|
+
<div class="tab-pane fade active in" id="info">
|
|
121
|
+
<p class="comment">
|
|
122
|
+
<h3>File</h3>
|
|
123
|
+
</p>
|
|
124
|
+
<p class="comment">
|
|
125
|
+
<code>src/lib/theme.service.ts</code>
|
|
126
|
+
</p>
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
<section data-compodoc="block-index">
|
|
132
|
+
<h3 id="index">Index</h3>
|
|
133
|
+
<table class="table table-sm table-bordered index-table">
|
|
134
|
+
<tbody>
|
|
135
|
+
<tr>
|
|
136
|
+
<td class="col-md-4">
|
|
137
|
+
<h6><b>Properties</b></h6>
|
|
138
|
+
</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr>
|
|
141
|
+
<td class="col-md-4">
|
|
142
|
+
<ul class="index-list">
|
|
143
|
+
<li>
|
|
144
|
+
<span class="modifier">Optional</span>
|
|
145
|
+
<a href="#accentColor"
|
|
146
|
+
>
|
|
147
|
+
accentColor
|
|
148
|
+
</a>
|
|
149
|
+
</li>
|
|
150
|
+
<li>
|
|
151
|
+
<span class="modifier">Optional</span>
|
|
152
|
+
<a href="#density"
|
|
153
|
+
>
|
|
154
|
+
density
|
|
155
|
+
</a>
|
|
156
|
+
</li>
|
|
157
|
+
<li>
|
|
158
|
+
<span class="modifier">Optional</span>
|
|
159
|
+
<a href="#primaryColor"
|
|
160
|
+
>
|
|
161
|
+
primaryColor
|
|
162
|
+
</a>
|
|
163
|
+
</li>
|
|
164
|
+
<li>
|
|
165
|
+
<span class="modifier">Optional</span>
|
|
166
|
+
<a href="#typography"
|
|
167
|
+
>
|
|
168
|
+
typography
|
|
169
|
+
</a>
|
|
170
|
+
</li>
|
|
171
|
+
<li>
|
|
172
|
+
<span class="modifier">Optional</span>
|
|
173
|
+
<a href="#warnColor"
|
|
174
|
+
>
|
|
175
|
+
warnColor
|
|
176
|
+
</a>
|
|
177
|
+
</li>
|
|
178
|
+
</ul>
|
|
179
|
+
</td>
|
|
180
|
+
</tr>
|
|
181
|
+
</tbody>
|
|
182
|
+
</table>
|
|
183
|
+
</section>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<section data-compodoc="block-properties">
|
|
188
|
+
<h3 id="inputs">Properties</h3>
|
|
189
|
+
<table class="table table-sm table-bordered">
|
|
190
|
+
<tbody>
|
|
191
|
+
<tr>
|
|
192
|
+
<td class="col-md-4">
|
|
193
|
+
<a name="accentColor"></a>
|
|
194
|
+
<span class="name "><b>accentColor</b>
|
|
195
|
+
<a href="#accentColor">
|
|
196
|
+
<span class="icon ion-ios-link"></span>
|
|
197
|
+
</a>
|
|
198
|
+
</span>
|
|
199
|
+
</td>
|
|
200
|
+
</tr>
|
|
201
|
+
<tr>
|
|
202
|
+
<td class="col-md-4">
|
|
203
|
+
<code>accentColor: <code><a href="../interfaces/ColorPaletteConfigWithName.html" target="_self" >ColorPaletteConfigWithName</a></code>
|
|
204
|
+
</code>
|
|
205
|
+
</td>
|
|
206
|
+
</tr>
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
<tr>
|
|
210
|
+
<td class="col-md-4">
|
|
211
|
+
<i>Type : </i> <code><a href="../interfaces/ColorPaletteConfigWithName.html" target="_self" >ColorPaletteConfigWithName</a></code>
|
|
212
|
+
|
|
213
|
+
</td>
|
|
214
|
+
</tr>
|
|
215
|
+
|
|
216
|
+
<tr>
|
|
217
|
+
<td class="col-md-4">
|
|
218
|
+
<i>Optional</i>
|
|
219
|
+
</td>
|
|
220
|
+
</tr>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
</tbody>
|
|
226
|
+
</table>
|
|
227
|
+
<table class="table table-sm table-bordered">
|
|
228
|
+
<tbody>
|
|
229
|
+
<tr>
|
|
230
|
+
<td class="col-md-4">
|
|
231
|
+
<a name="density"></a>
|
|
232
|
+
<span class="name "><b>density</b>
|
|
233
|
+
<a href="#density">
|
|
234
|
+
<span class="icon ion-ios-link"></span>
|
|
235
|
+
</a>
|
|
236
|
+
</span>
|
|
237
|
+
</td>
|
|
238
|
+
</tr>
|
|
239
|
+
<tr>
|
|
240
|
+
<td class="col-md-4">
|
|
241
|
+
<code>density: <code><a href="../miscellaneous/enumerations.html#ThemeDensity" target="_self" >ThemeDensity</a></code>
|
|
242
|
+
</code>
|
|
243
|
+
</td>
|
|
244
|
+
</tr>
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
<tr>
|
|
248
|
+
<td class="col-md-4">
|
|
249
|
+
<i>Type : </i> <code><a href="../miscellaneous/enumerations.html#ThemeDensity" target="_self" >ThemeDensity</a></code>
|
|
250
|
+
|
|
251
|
+
</td>
|
|
252
|
+
</tr>
|
|
253
|
+
|
|
254
|
+
<tr>
|
|
255
|
+
<td class="col-md-4">
|
|
256
|
+
<i>Optional</i>
|
|
257
|
+
</td>
|
|
258
|
+
</tr>
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
</tbody>
|
|
264
|
+
</table>
|
|
265
|
+
<table class="table table-sm table-bordered">
|
|
266
|
+
<tbody>
|
|
267
|
+
<tr>
|
|
268
|
+
<td class="col-md-4">
|
|
269
|
+
<a name="primaryColor"></a>
|
|
270
|
+
<span class="name "><b>primaryColor</b>
|
|
271
|
+
<a href="#primaryColor">
|
|
272
|
+
<span class="icon ion-ios-link"></span>
|
|
273
|
+
</a>
|
|
274
|
+
</span>
|
|
275
|
+
</td>
|
|
276
|
+
</tr>
|
|
277
|
+
<tr>
|
|
278
|
+
<td class="col-md-4">
|
|
279
|
+
<code>primaryColor: <code><a href="../interfaces/ColorPaletteConfigWithName.html" target="_self" >ColorPaletteConfigWithName</a></code>
|
|
280
|
+
</code>
|
|
281
|
+
</td>
|
|
282
|
+
</tr>
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
<tr>
|
|
286
|
+
<td class="col-md-4">
|
|
287
|
+
<i>Type : </i> <code><a href="../interfaces/ColorPaletteConfigWithName.html" target="_self" >ColorPaletteConfigWithName</a></code>
|
|
288
|
+
|
|
289
|
+
</td>
|
|
290
|
+
</tr>
|
|
291
|
+
|
|
292
|
+
<tr>
|
|
293
|
+
<td class="col-md-4">
|
|
294
|
+
<i>Optional</i>
|
|
295
|
+
</td>
|
|
296
|
+
</tr>
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
</tbody>
|
|
302
|
+
</table>
|
|
303
|
+
<table class="table table-sm table-bordered">
|
|
304
|
+
<tbody>
|
|
305
|
+
<tr>
|
|
306
|
+
<td class="col-md-4">
|
|
307
|
+
<a name="typography"></a>
|
|
308
|
+
<span class="name "><b>typography</b>
|
|
309
|
+
<a href="#typography">
|
|
310
|
+
<span class="icon ion-ios-link"></span>
|
|
311
|
+
</a>
|
|
312
|
+
</span>
|
|
313
|
+
</td>
|
|
314
|
+
</tr>
|
|
315
|
+
<tr>
|
|
316
|
+
<td class="col-md-4">
|
|
317
|
+
<code>typography: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
318
|
+
</code>
|
|
319
|
+
</td>
|
|
320
|
+
</tr>
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
<tr>
|
|
324
|
+
<td class="col-md-4">
|
|
325
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
326
|
+
|
|
327
|
+
</td>
|
|
328
|
+
</tr>
|
|
329
|
+
|
|
330
|
+
<tr>
|
|
331
|
+
<td class="col-md-4">
|
|
332
|
+
<i>Optional</i>
|
|
333
|
+
</td>
|
|
334
|
+
</tr>
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
</tbody>
|
|
340
|
+
</table>
|
|
341
|
+
<table class="table table-sm table-bordered">
|
|
342
|
+
<tbody>
|
|
343
|
+
<tr>
|
|
344
|
+
<td class="col-md-4">
|
|
345
|
+
<a name="warnColor"></a>
|
|
346
|
+
<span class="name "><b>warnColor</b>
|
|
347
|
+
<a href="#warnColor">
|
|
348
|
+
<span class="icon ion-ios-link"></span>
|
|
349
|
+
</a>
|
|
350
|
+
</span>
|
|
351
|
+
</td>
|
|
352
|
+
</tr>
|
|
353
|
+
<tr>
|
|
354
|
+
<td class="col-md-4">
|
|
355
|
+
<code>warnColor: <code><a href="../interfaces/ColorPaletteConfigWithName.html" target="_self" >ColorPaletteConfigWithName</a></code>
|
|
356
|
+
</code>
|
|
357
|
+
</td>
|
|
358
|
+
</tr>
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
<tr>
|
|
362
|
+
<td class="col-md-4">
|
|
363
|
+
<i>Type : </i> <code><a href="../interfaces/ColorPaletteConfigWithName.html" target="_self" >ColorPaletteConfigWithName</a></code>
|
|
364
|
+
|
|
365
|
+
</td>
|
|
366
|
+
</tr>
|
|
367
|
+
|
|
368
|
+
<tr>
|
|
369
|
+
<td class="col-md-4">
|
|
370
|
+
<i>Optional</i>
|
|
371
|
+
</td>
|
|
372
|
+
</tr>
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
</tbody>
|
|
378
|
+
</table>
|
|
379
|
+
</section>
|
|
380
|
+
</div>
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
<div class="tab-pane fade tab-source-code" id="source">
|
|
384
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { MediaMatcher } from '@angular/cdk/layout';
|
|
385
|
+
import {
|
|
386
|
+
inject,
|
|
387
|
+
Injectable,
|
|
388
|
+
signal,
|
|
389
|
+
WritableSignal,
|
|
390
|
+
} from '@angular/core';
|
|
391
|
+
import { ConfigService } from '@rxap/config';
|
|
392
|
+
import { PubSubService } from '@rxap/ngx-pub-sub';
|
|
393
|
+
import {
|
|
394
|
+
ColorPalette,
|
|
395
|
+
ComputeColorPalette,
|
|
396
|
+
} from './compute-color-palette';
|
|
397
|
+
|
|
398
|
+
export enum ThemeDensity {
|
|
399
|
+
Normal = 0,
|
|
400
|
+
Compact = -1,
|
|
401
|
+
Dense = -2,
|
|
402
|
+
VeryDense = -3,
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export interface ColorPaletteConfigWithName extends ColorPaletteConfig {
|
|
406
|
+
name?: string;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export interface ThemeConfig {
|
|
410
|
+
primaryColor?: ColorPaletteConfigWithName;
|
|
411
|
+
accentColor?: ColorPaletteConfigWithName;
|
|
412
|
+
warnColor?: ColorPaletteConfigWithName;
|
|
413
|
+
density?: ThemeDensity;
|
|
414
|
+
typography?: string;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export interface ColorPaletteConfig {
|
|
418
|
+
algorithm?: string;
|
|
419
|
+
base?: string;
|
|
420
|
+
color?: Partial<ColorPalette>;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
@Injectable({ providedIn: 'root' })
|
|
424
|
+
export class ThemeService {
|
|
425
|
+
|
|
426
|
+
public readonly config = inject(ConfigService);
|
|
427
|
+
public readonly pubSub = inject(PubSubService);
|
|
428
|
+
|
|
429
|
+
public readonly darkMode: WritableSignal<boolean>;
|
|
430
|
+
public readonly themeName: WritableSignal<string>;
|
|
431
|
+
public readonly density: WritableSignal<ThemeDensity>;
|
|
432
|
+
public readonly typography: WritableSignal<string>;
|
|
433
|
+
|
|
434
|
+
private readonly darkModeMediaQuery: MediaQueryList;
|
|
435
|
+
|
|
436
|
+
constructor(private readonly mediaMatcher: MediaMatcher) {
|
|
437
|
+
this.darkModeMediaQuery = this.mediaMatcher.matchMedia('(prefers-color-scheme: dark)');
|
|
438
|
+
this.darkMode = signal(this.darkModeMediaQuery.matches);
|
|
439
|
+
this.themeName = signal(this.getTheme());
|
|
440
|
+
this.density = signal(this.getDensity());
|
|
441
|
+
this.typography = signal(this.getTypography());
|
|
442
|
+
this.darkModeMediaQuery.addEventListener('change', (event) => {
|
|
443
|
+
this.setDarkTheme(event.matches, true);
|
|
444
|
+
});
|
|
445
|
+
this.restore();
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
public restore() {
|
|
449
|
+
// region restore dark mode
|
|
450
|
+
let darkMode = this.restoreDarkMode();
|
|
451
|
+
// if the dark/light mode is not restored from the local storage
|
|
452
|
+
if (darkMode === null) {
|
|
453
|
+
// set the dark mode based on the media query
|
|
454
|
+
darkMode = this.darkModeMediaQuery.matches;
|
|
455
|
+
this.setDarkTheme(darkMode, true);
|
|
456
|
+
}
|
|
457
|
+
// endregion
|
|
458
|
+
|
|
459
|
+
this.restoreThemeName();
|
|
460
|
+
this.restoreDensity();
|
|
461
|
+
this.restoreTypography();
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
private get darkModeLocalStorageKey() {
|
|
465
|
+
return (
|
|
466
|
+
window as any
|
|
467
|
+
)?.['__rxap__']?.['ngx']?.['theme']?.['darkMode']?.['key'] ?? `rxap-dark-mode`;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
private get themeNameLocalStorageKey() {
|
|
471
|
+
return (
|
|
472
|
+
window as any
|
|
473
|
+
)?.['__rxap__']?.['ngx']?.['theme']?.['name']?.['key'] ?? `rxap-theme-name`;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
private get densityLocalStorageKey() {
|
|
477
|
+
return (
|
|
478
|
+
window as any
|
|
479
|
+
)?.['__rxap__']?.['ngx']?.['theme']?.['density']?.['key'] ?? `rxap-theme-density`;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
private get typographyLocalStorageKey() {
|
|
483
|
+
return (
|
|
484
|
+
window as any
|
|
485
|
+
)?.['__rxap__']?.['ngx']?.['theme']?.['typography']?.['key'] ?? `rxap-theme-typography`;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
// region restore
|
|
489
|
+
|
|
490
|
+
public restoreDarkMode() {
|
|
491
|
+
let darkMode: boolean | null = null;
|
|
492
|
+
const darkModeCached = localStorage.getItem(this.darkModeLocalStorageKey);
|
|
493
|
+
if (darkModeCached === 'true') {
|
|
494
|
+
darkMode = true;
|
|
495
|
+
}
|
|
496
|
+
if (darkModeCached === 'false') {
|
|
497
|
+
darkMode = false;
|
|
498
|
+
}
|
|
499
|
+
if (darkMode !== null) {
|
|
500
|
+
this.setDarkTheme(darkMode, true);
|
|
501
|
+
}
|
|
502
|
+
return darkMode;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
public restoreThemeName() {
|
|
506
|
+
const themeName = localStorage.getItem(this.themeNameLocalStorageKey);
|
|
507
|
+
if (themeName) {
|
|
508
|
+
this.setTheme(themeName, true);
|
|
509
|
+
}
|
|
510
|
+
return themeName;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
public restoreTypography() {
|
|
514
|
+
const typography = localStorage.getItem(this.typographyLocalStorageKey);
|
|
515
|
+
if (typography) {
|
|
516
|
+
this.setTypography(typography, true);
|
|
517
|
+
}
|
|
518
|
+
return typography;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
public restoreDensity() {
|
|
522
|
+
const density = localStorage.getItem('rxap-theme-density');
|
|
523
|
+
if (density) {
|
|
524
|
+
const value = Number(density) as ThemeDensity;
|
|
525
|
+
if (value <= 0 && value >= -3) {
|
|
526
|
+
this.setDensity(Number(density) as ThemeDensity, true);
|
|
527
|
+
return value;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
return null;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
// endregion
|
|
534
|
+
|
|
535
|
+
public toggleDarkTheme(): void {
|
|
536
|
+
this.setDarkTheme(!this.darkMode());
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// region set theme configuration state
|
|
540
|
+
|
|
541
|
+
public setDarkTheme(darkMode: boolean, silent?: boolean): void {
|
|
542
|
+
this.applyDarkMode(darkMode);
|
|
543
|
+
if (this.darkMode() !== darkMode) {
|
|
544
|
+
this.darkMode.set(darkMode);
|
|
545
|
+
if (!silent) {
|
|
546
|
+
localStorage.setItem(this.darkModeLocalStorageKey, String(darkMode));
|
|
547
|
+
this.pubSub.publish('rxap.theme.darkMode.change', darkMode);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
public setDensity(density: ThemeDensity, silent = false): void {
|
|
553
|
+
this.applyDensity(density);
|
|
554
|
+
if (this.density() !== density) {
|
|
555
|
+
this.density.set(density);
|
|
556
|
+
if (!silent) {
|
|
557
|
+
localStorage.setItem(this.densityLocalStorageKey, String(density));
|
|
558
|
+
this.pubSub.publish('rxap.theme.density.change', density);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
public setTypography(typography: string, silent = false): void {
|
|
564
|
+
this.applyTypography(typography);
|
|
565
|
+
if (this.typography() !== typography) {
|
|
566
|
+
this.typography.set(typography);
|
|
567
|
+
if (!silent) {
|
|
568
|
+
localStorage.setItem(this.typographyLocalStorageKey, typography);
|
|
569
|
+
this.pubSub.publish('rxap.theme.typography.change', typography);
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
public setTheme(themeName: string, silent = false) {
|
|
575
|
+
this.applyTheme(themeName);
|
|
576
|
+
this.density.set(this.getDensity());
|
|
577
|
+
this.typography.set(this.getTypography());
|
|
578
|
+
if (this.themeName() !== themeName) {
|
|
579
|
+
this.themeName.set(themeName);
|
|
580
|
+
if (!silent) {
|
|
581
|
+
localStorage.setItem(this.themeNameLocalStorageKey, themeName);
|
|
582
|
+
this.pubSub.publish('rxap.theme.preset.change', themeName);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
// endregion
|
|
588
|
+
|
|
589
|
+
// region apply theme configuration state
|
|
590
|
+
|
|
591
|
+
public applyDarkMode(darkMode: boolean): void {
|
|
592
|
+
if (darkMode) {
|
|
593
|
+
// region deprecated
|
|
594
|
+
document.body.classList.add('dark-theme');
|
|
595
|
+
localStorage.removeItem('rxap-light-theme');
|
|
596
|
+
// endregion
|
|
597
|
+
document.body.classList.add('dark');
|
|
598
|
+
} else {
|
|
599
|
+
// region deprecated
|
|
600
|
+
document.body.classList.remove('dark-theme');
|
|
601
|
+
localStorage.setItem('rxap-light-theme', 'true');
|
|
602
|
+
// endregion
|
|
603
|
+
document.body.classList.remove('dark');
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
public applyDensity(density: ThemeDensity): void {
|
|
608
|
+
document.body.classList.remove('density-0', 'density-1', 'density-2', 'density-3');
|
|
609
|
+
if (density < 0) {
|
|
610
|
+
document.body.classList.add(`density${ density }`);
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
public applyTypography(typography: string): void {
|
|
615
|
+
document.body.style.setProperty('--font-family', `var(--font-family-${ typography })`);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
public applyTheme(themeName: string): void {
|
|
619
|
+
if (themeName === 'default') {
|
|
620
|
+
this.resetToDefaultTheme();
|
|
621
|
+
return;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
const theme = this.getThemeConfig(themeName);
|
|
625
|
+
|
|
626
|
+
if (theme.primaryColor?.color) {
|
|
627
|
+
this.setCssColorVariables('primary', theme.primaryColor.color);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
if (theme.accentColor?.color) {
|
|
631
|
+
this.setCssColorVariables('accent', theme.accentColor.color);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
if (theme.warnColor?.color) {
|
|
635
|
+
this.setCssColorVariables('warn', theme.warnColor.color);
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
if (theme.density !== undefined) {
|
|
639
|
+
this.applyDensity(theme.density);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
if (theme.typography) {
|
|
643
|
+
this.applyTypography(theme.typography);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
document.body.style.setProperty(`--theme-name`, themeName);
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
// endregion
|
|
650
|
+
|
|
651
|
+
// region get theme configuration state
|
|
652
|
+
|
|
653
|
+
public getDensity(): ThemeDensity {
|
|
654
|
+
let density = 0;
|
|
655
|
+
document.body.classList.forEach((className) => {
|
|
656
|
+
const match = className.match(/density-([123])/);
|
|
657
|
+
if (match) {
|
|
658
|
+
density = Number(match[1]) * -1;
|
|
659
|
+
}
|
|
660
|
+
});
|
|
661
|
+
return density as ThemeDensity;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
public getTypography(): string {
|
|
665
|
+
const variable = document.body.style.getPropertyValue('--font-family');
|
|
666
|
+
const match = variable.match(/var\(--font-family-(.*)\)/);
|
|
667
|
+
if (match) {
|
|
668
|
+
return match[1];
|
|
669
|
+
}
|
|
670
|
+
return 'default';
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
public getTheme() {
|
|
674
|
+
return document.body.style.getPropertyValue('--theme-name') || 'default';
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
// endregion
|
|
678
|
+
|
|
679
|
+
// region get available
|
|
680
|
+
|
|
681
|
+
public getAvailableColorPalettes(): string[] | null {
|
|
682
|
+
const colorPalettesConfigs: Record<string, unknown> | boolean = this.config.get('colorPalettes', false);
|
|
683
|
+
if (!colorPalettesConfigs) {
|
|
684
|
+
return null;
|
|
685
|
+
}
|
|
686
|
+
const availableColorPalettes: string[] = Object.keys(colorPalettesConfigs);
|
|
687
|
+
availableColorPalettes.unshift('default');
|
|
688
|
+
return availableColorPalettes;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
public getAvailableThemes(): string[] | null {
|
|
692
|
+
const themeConfigs: Record<string, unknown> | boolean = this.config.get('themes', false);
|
|
693
|
+
if (!themeConfigs) {
|
|
694
|
+
return null;
|
|
695
|
+
}
|
|
696
|
+
const availableThemes: string[] = Object.keys(themeConfigs);
|
|
697
|
+
availableThemes.unshift('default');
|
|
698
|
+
return availableThemes;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
public getAvailableTypographies(): string[] | null {
|
|
702
|
+
const availableTypographies = this.config.get('typographies', false);
|
|
703
|
+
if (!availableTypographies) {
|
|
704
|
+
return null;
|
|
705
|
+
}
|
|
706
|
+
return Array
|
|
707
|
+
.from(document.styleSheets)
|
|
708
|
+
.filter(sheet => sheet.href === null || sheet.href.startsWith(window.location.origin))
|
|
709
|
+
.flatMap(sheet => Array.from(sheet.cssRules || []))
|
|
710
|
+
.filter((rule: any) => rule.selectorText === ':root')
|
|
711
|
+
.flatMap((rule: any) => Array.from(rule.style))
|
|
712
|
+
.filter((prop: any) => prop.startsWith('--'))
|
|
713
|
+
.filter((prop: any) => prop.startsWith('--font-family-'))
|
|
714
|
+
.map((prop: any) => prop.replace('--font-family-', ''))
|
|
715
|
+
.sort();
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
// endregion
|
|
719
|
+
|
|
720
|
+
public getColorPalette(colorPaletteName: string): Partial<ColorPalette> {
|
|
721
|
+
const colorPaletteConfig = this.config.getOrThrow<ColorPaletteConfig>(`colorPalettes.${ colorPaletteName }`);
|
|
722
|
+
return this.coerceColorPalette(colorPaletteConfig);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
// region utility
|
|
726
|
+
|
|
727
|
+
private coerceColorPalette(colorPaletteConfig: ColorPaletteConfig): Partial<ColorPalette> {
|
|
728
|
+
let colorPalette: Partial<ColorPalette> = {};
|
|
729
|
+
|
|
730
|
+
if (colorPaletteConfig.color) {
|
|
731
|
+
if (Object.keys(colorPaletteConfig.color).length !== 14) {
|
|
732
|
+
// the color palette is not complete
|
|
733
|
+
if (colorPaletteConfig.base) {
|
|
734
|
+
colorPalette =
|
|
735
|
+
ComputeColorPalette(colorPaletteConfig.base, colorPaletteConfig.color, colorPaletteConfig.algorithm);
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
colorPalette = colorPaletteConfig.color;
|
|
739
|
+
} else if (colorPaletteConfig.base) {
|
|
740
|
+
colorPalette = ComputeColorPalette(colorPaletteConfig.base, {}, colorPaletteConfig.algorithm);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
if (Object.keys(colorPalette).length === 0) {
|
|
744
|
+
throw new Error('FATAL: The color palette has neither a base nor a color property');
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
return colorPalette;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
private getThemeConfig(themeName: string): ThemeConfig {
|
|
751
|
+
const themeConfig = this.config.getOrThrow<ThemeConfig>(`themes.${ themeName }`);
|
|
752
|
+
|
|
753
|
+
if (themeConfig.accentColor) {
|
|
754
|
+
themeConfig.accentColor.color = this.coerceColorPalette(themeConfig.accentColor);
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
if (themeConfig.primaryColor) {
|
|
758
|
+
themeConfig.primaryColor.color = this.coerceColorPalette(themeConfig.primaryColor);
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
if (themeConfig.warnColor) {
|
|
762
|
+
themeConfig.warnColor.color = this.coerceColorPalette(themeConfig.warnColor);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
return themeConfig;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
private setCssColorVariables(name: string, colorPalette: Partial<ColorPalette>): void {
|
|
769
|
+
this.clearCssColorVariables(name);
|
|
770
|
+
for (const [ index, color ] of Object.entries(colorPalette)) {
|
|
771
|
+
document.body.style.setProperty(`--${ name }-${ index }`, color);
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
private clearCssColorVariables(name: string): void {
|
|
776
|
+
document.body.style.removeProperty(`--${ name }-50`);
|
|
777
|
+
for (let index = 100; index <= 900; index += 100) {
|
|
778
|
+
document.body.style.removeProperty(`--${ name }-${ index }`);
|
|
779
|
+
}
|
|
780
|
+
document.body.style.removeProperty(`--${ name }-a100`);
|
|
781
|
+
document.body.style.removeProperty(`--${ name }-a200`);
|
|
782
|
+
document.body.style.removeProperty(`--${ name }-a400`);
|
|
783
|
+
document.body.style.removeProperty(`--${ name }-a700`);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
private resetToDefaultTheme() {
|
|
787
|
+
this.clearCssColorVariables('primary');
|
|
788
|
+
this.clearCssColorVariables('accent');
|
|
789
|
+
this.clearCssColorVariables('warn');
|
|
790
|
+
this.setDensity(0);
|
|
791
|
+
this.setTypography('default');
|
|
792
|
+
document.body.style.removeProperty(`--theme-name`);
|
|
793
|
+
localStorage.removeItem(this.themeNameLocalStorageKey);
|
|
794
|
+
localStorage.removeItem(this.densityLocalStorageKey);
|
|
795
|
+
localStorage.removeItem(this.typographyLocalStorageKey);
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
// endregion
|
|
799
|
+
|
|
800
|
+
}
|
|
801
|
+
</code></pre>
|
|
802
|
+
</div>
|
|
803
|
+
</div>
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
</div><div class="search-results">
|
|
813
|
+
<div class="has-results">
|
|
814
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
815
|
+
<ul class="search-results-list"></ul>
|
|
816
|
+
</div>
|
|
817
|
+
<div class="no-results">
|
|
818
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
819
|
+
</div>
|
|
820
|
+
</div>
|
|
821
|
+
</div>
|
|
822
|
+
<!-- END CONTENT -->
|
|
823
|
+
</div>
|
|
824
|
+
</div>
|
|
825
|
+
|
|
826
|
+
<label class="dark-mode-switch">
|
|
827
|
+
<input type="checkbox">
|
|
828
|
+
<span class="slider">
|
|
829
|
+
<svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
|
|
830
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
831
|
+
</svg>
|
|
832
|
+
</span>
|
|
833
|
+
</label>
|
|
834
|
+
|
|
835
|
+
<script>
|
|
836
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
837
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'interface';
|
|
838
|
+
var COMPODOC_CURRENT_PAGE_URL = 'ThemeConfig.html';
|
|
839
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
840
|
+
</script>
|
|
841
|
+
|
|
842
|
+
<script>
|
|
843
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
844
|
+
checkToggle(darkModeState);
|
|
845
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
846
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
847
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
848
|
+
darkModeState = !darkModeState;
|
|
849
|
+
toggleDarkMode(darkModeState);
|
|
850
|
+
});
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
</script>
|
|
854
|
+
|
|
855
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
856
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
857
|
+
|
|
858
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
859
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
860
|
+
|
|
861
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
862
|
+
|
|
863
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
864
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
865
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
866
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
867
|
+
|
|
868
|
+
<script src="../js/compodoc.js"></script>
|
|
869
|
+
|
|
870
|
+
<script src="../js/tabs.js"></script>
|
|
871
|
+
<script src="../js/menu.js"></script>
|
|
872
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
873
|
+
<script src="../js/libs/prism.js"></script>
|
|
874
|
+
<script src="../js/sourceCode.js"></script>
|
|
875
|
+
<script src="../js/search/search.js"></script>
|
|
876
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
877
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
878
|
+
<script src="../js/search/search_index.js"></script>
|
|
879
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
</body>
|
|
883
|
+
</html>
|