@rxap/ngx-material-localize 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 +23 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +67 -5
- package/compodoc/components/LanguageSelectorComponent.html +176 -75
- package/compodoc/components/LanguageSelectorMenuItemComponent.html +104 -23
- package/compodoc/dependencies.html +104 -25
- package/compodoc/index.html +46 -5
- package/compodoc/injectables/I18nMatDatepickerIntl.html +92 -23
- package/compodoc/injectables/I18nMatPaginatorIntl.html +77 -17
- package/compodoc/injectables/I18nMatStepperIntl.html +68 -17
- 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 +110 -0
- package/compodoc/miscellaneous/functions.html +60 -14
- package/compodoc/miscellaneous/variables.html +60 -13
- 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 +254 -164
- 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/I18nMatDatepickerIntl.html +261 -40
- package/docs/html/classes/I18nMatPaginatorIntl.html +131 -16
- package/docs/html/classes/I18nMatStepperIntl.html +104 -10
- package/docs/html/classes/LanguageSelectorComponent.html +110 -7
- package/docs/html/classes/LanguageSelectorMenuItemComponent.html +56 -2
- package/docs/html/functions/ProvideI18nMatDatepickerIntl.html +38 -1
- package/docs/html/functions/ProvideI18nMatIntl.html +38 -1
- package/docs/html/functions/ProvideI18nMatPaginatorIntl.html +38 -1
- package/docs/html/functions/ProvideI18nMatStepperIntl.html +38 -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/I18N_MAT_DATEPICKER_INTL_PROVIDER.html +33 -1
- package/docs/html/variables/I18N_MAT_PAGINATOR_INTL_PROVIDER.html +33 -1
- package/docs/html/variables/I18N_MAT_STEPPER_INTL_PROVIDER.html +33 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/I18nMatDatepickerIntl.md +30 -24
- package/docs/markdown/classes/I18nMatPaginatorIntl.md +13 -13
- package/docs/markdown/classes/I18nMatStepperIntl.md +9 -9
- package/docs/markdown/classes/LanguageSelectorComponent.md +10 -10
- package/docs/markdown/classes/LanguageSelectorMenuItemComponent.md +5 -5
- package/docs/markdown/functions/ProvideI18nMatDatepickerIntl.md +2 -2
- package/docs/markdown/functions/ProvideI18nMatIntl.md +2 -2
- package/docs/markdown/functions/ProvideI18nMatPaginatorIntl.md +2 -2
- package/docs/markdown/functions/ProvideI18nMatStepperIntl.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/variables/I18N_MAT_DATEPICKER_INTL_PROVIDER.md +2 -2
- package/docs/markdown/variables/I18N_MAT_PAGINATOR_INTL_PROVIDER.md +2 -2
- package/docs/markdown/variables/I18N_MAT_STEPPER_INTL_PROVIDER.md +2 -2
- package/docs/wiki/Class.I18nMatDatepickerIntl.md +29 -23
- package/docs/wiki/Class.I18nMatPaginatorIntl.md +12 -12
- package/docs/wiki/Class.I18nMatStepperIntl.md +8 -8
- package/docs/wiki/Class.LanguageSelectorComponent.md +9 -9
- package/docs/wiki/Class.LanguageSelectorMenuItemComponent.md +4 -4
- package/docs/wiki/Function.ProvideI18nMatDatepickerIntl.md +1 -1
- package/docs/wiki/Function.ProvideI18nMatIntl.md +1 -1
- package/docs/wiki/Function.ProvideI18nMatPaginatorIntl.md +1 -1
- package/docs/wiki/Function.ProvideI18nMatStepperIntl.md +1 -1
- package/docs/wiki/Variable.I18N_MAT_DATEPICKER_INTL_PROVIDER.md +1 -1
- package/docs/wiki/Variable.I18N_MAT_PAGINATOR_INTL_PROVIDER.md +1 -1
- package/docs/wiki/Variable.I18N_MAT_STEPPER_INTL_PROVIDER.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-ngx-material-localize.mjs +322 -106
- package/fesm2022/rxap-ngx-material-localize.mjs.map +1 -1
- package/package.json +33 -33
- package/types/rxap-ngx-material-localize.d.ts +111 -111
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
## 22.0.0-dev.1 (2026-11-23)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **angular:** add ng-prism showcases to components and directives
|
|
6
|
+
- **angular:** run all angular packages zoneless
|
|
7
|
+
|
|
8
|
+
### 🧱 Updated Dependencies
|
|
9
|
+
|
|
10
|
+
- Updated angular-directives to 22.0.0-dev.1
|
|
11
|
+
- Updated angular-localize to 22.0.0-dev.1
|
|
12
|
+
|
|
13
|
+
### ❤️ Thank You
|
|
14
|
+
|
|
15
|
+
- Merzough Münker
|
|
16
|
+
|
|
17
|
+
## 22.0.0-dev.0 (2026-11-22)
|
|
18
|
+
|
|
19
|
+
### 🧱 Updated Dependencies
|
|
20
|
+
|
|
21
|
+
- Updated angular-directives to 22.0.0-dev.0
|
|
22
|
+
- Updated angular-localize to 22.0.0-dev.0
|
|
23
|
+
|
|
1
24
|
## 21.0.1 (2026-11-22)
|
|
2
25
|
|
|
3
26
|
### 🚀 Features
|
|
@@ -0,0 +1,222 @@
|
|
|
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-material-localize</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
|
+
<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>
|
|
78
|
+
|
|
79
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
80
|
+
<div class="d-flex">
|
|
81
|
+
<a href="./" class="navbar-brand">angular-material-localize</a>
|
|
82
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
|
|
86
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
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>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<div class="container-fluid main">
|
|
98
|
+
<div class="row main">
|
|
99
|
+
<div class="d-none d-md-block menu">
|
|
100
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
101
|
+
</div>
|
|
102
|
+
<!-- START CONTENT -->
|
|
103
|
+
<div class="content architecture">
|
|
104
|
+
<div class="content-data">
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
<ol class="breadcrumb">
|
|
112
|
+
<li class="breadcrumb-item">Architecture</li>
|
|
113
|
+
</ol>
|
|
114
|
+
|
|
115
|
+
<p class="alert alert-warning">No Angular dependency graph data available for this project.</p>
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
</div><div class="search-results">
|
|
136
|
+
<div class="has-results">
|
|
137
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
138
|
+
<ul class="search-results-list"></ul>
|
|
139
|
+
</div>
|
|
140
|
+
<div class="no-results">
|
|
141
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
<!-- END CONTENT -->
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
|
|
149
|
+
<label class="dark-mode-switch">
|
|
150
|
+
<input type="checkbox">
|
|
151
|
+
<span class="slider">
|
|
152
|
+
<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">
|
|
153
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
154
|
+
</svg>
|
|
155
|
+
</span>
|
|
156
|
+
</label>
|
|
157
|
+
|
|
158
|
+
<script>
|
|
159
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
|
|
160
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'architecture';
|
|
161
|
+
var COMPODOC_CURRENT_PAGE_URL = 'architecture.html';
|
|
162
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
163
|
+
</script>
|
|
164
|
+
|
|
165
|
+
<script>
|
|
166
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
167
|
+
var updateDarkModeSwitchOffset = function () {
|
|
168
|
+
var content = document.querySelector('.content');
|
|
169
|
+
var scrollbarWidth = 0;
|
|
170
|
+
|
|
171
|
+
if (content) {
|
|
172
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
document.documentElement.style.setProperty(
|
|
176
|
+
'--content-scrollbar-width',
|
|
177
|
+
scrollbarWidth + 'px'
|
|
178
|
+
);
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
updateDarkModeSwitchOffset();
|
|
182
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
183
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
184
|
+
|
|
185
|
+
checkToggle(darkModeState);
|
|
186
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
187
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
188
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
189
|
+
darkModeState = !darkModeState;
|
|
190
|
+
toggleDarkMode(darkModeState);
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
</script>
|
|
195
|
+
|
|
196
|
+
<script src="./js/libs/custom-elements.min.js"></script>
|
|
197
|
+
<script src="./js/libs/lit-html.js"></script>
|
|
198
|
+
|
|
199
|
+
<script src="./js/menu-wc.js" defer></script>
|
|
200
|
+
|
|
201
|
+
<script src="./js/libs/bootstrap-native.js"></script>
|
|
202
|
+
|
|
203
|
+
<script src="./js/libs/es6-shim.min.js"></script>
|
|
204
|
+
<script src="./js/libs/EventDispatcher.js"></script>
|
|
205
|
+
<script src="./js/libs/promise.min.js"></script>
|
|
206
|
+
|
|
207
|
+
<script src="./js/compodoc.js"></script>
|
|
208
|
+
|
|
209
|
+
<script src="./js/tabs.js"></script>
|
|
210
|
+
<script src="./js/menu.js"></script>
|
|
211
|
+
<script src="./js/libs/clipboard.min.js"></script>
|
|
212
|
+
<script src="./js/libs/prism.js"></script>
|
|
213
|
+
<script src="./js/sourceCode.js"></script>
|
|
214
|
+
<script src="./js/search/search.js"></script>
|
|
215
|
+
<script src="./js/search/lunr.min.js"></script>
|
|
216
|
+
<script src="./js/search/search-lunr.js"></script>
|
|
217
|
+
<script src="./js/search/search_index.js"></script>
|
|
218
|
+
<script src="./js/lazy-load-graphs.js"></script>
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
</body>
|
|
222
|
+
</html>
|
package/compodoc/changelog.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,32 @@
|
|
|
79
100
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
101
|
</div>
|
|
81
102
|
<!-- START CONTENT -->
|
|
82
|
-
<div class="content
|
|
103
|
+
<div class="content changelog">
|
|
83
104
|
<div class="content-data">
|
|
84
105
|
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
<h2>22.0.0-dev.1 (2026-11-23)</h2>
|
|
109
|
+
<h3>🚀 Features</h3>
|
|
110
|
+
<ul>
|
|
111
|
+
<li><strong>angular:</strong> add ng-prism showcases to components and directives</li>
|
|
112
|
+
<li><strong>angular:</strong> run all angular packages zoneless</li>
|
|
113
|
+
</ul>
|
|
114
|
+
<h3>🧱 Updated Dependencies</h3>
|
|
115
|
+
<ul>
|
|
116
|
+
<li>Updated angular-directives to 22.0.0-dev.1</li>
|
|
117
|
+
<li>Updated angular-localize to 22.0.0-dev.1</li>
|
|
118
|
+
</ul>
|
|
119
|
+
<h3>❤️ Thank You</h3>
|
|
120
|
+
<ul>
|
|
121
|
+
<li>Merzough Münker</li>
|
|
122
|
+
</ul>
|
|
123
|
+
<h2>22.0.0-dev.0 (2026-11-22)</h2>
|
|
124
|
+
<h3>🧱 Updated Dependencies</h3>
|
|
125
|
+
<ul>
|
|
126
|
+
<li>Updated angular-directives to 22.0.0-dev.0</li>
|
|
127
|
+
<li>Updated angular-localize to 22.0.0-dev.0</li>
|
|
128
|
+
</ul>
|
|
85
129
|
<h2>21.0.1 (2026-11-22)</h2>
|
|
86
130
|
<h3>🚀 Features</h3>
|
|
87
131
|
<ul>
|
|
@@ -309,6 +353,8 @@ See <a href="https://conventionalcommits.org">Conventional Commits</a> for commi
|
|
|
309
353
|
|
|
310
354
|
|
|
311
355
|
|
|
356
|
+
|
|
357
|
+
|
|
312
358
|
|
|
313
359
|
|
|
314
360
|
|
|
@@ -337,13 +383,31 @@ See <a href="https://conventionalcommits.org">Conventional Commits</a> for commi
|
|
|
337
383
|
|
|
338
384
|
<script>
|
|
339
385
|
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
|
|
340
|
-
var COMPODOC_CURRENT_PAGE_CONTEXT = '
|
|
386
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'changelog';
|
|
341
387
|
var COMPODOC_CURRENT_PAGE_URL = 'changelog.html';
|
|
342
388
|
var MAX_SEARCH_RESULTS = 15;
|
|
343
389
|
</script>
|
|
344
390
|
|
|
345
391
|
<script>
|
|
346
392
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
393
|
+
var updateDarkModeSwitchOffset = function () {
|
|
394
|
+
var content = document.querySelector('.content');
|
|
395
|
+
var scrollbarWidth = 0;
|
|
396
|
+
|
|
397
|
+
if (content) {
|
|
398
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
document.documentElement.style.setProperty(
|
|
402
|
+
'--content-scrollbar-width',
|
|
403
|
+
scrollbarWidth + 'px'
|
|
404
|
+
);
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
updateDarkModeSwitchOffset();
|
|
408
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
409
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
410
|
+
|
|
347
411
|
checkToggle(darkModeState);
|
|
348
412
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
349
413
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -359,14 +423,12 @@ See <a href="https://conventionalcommits.org">Conventional Commits</a> for commi
|
|
|
359
423
|
<script src="./js/libs/lit-html.js"></script>
|
|
360
424
|
|
|
361
425
|
<script src="./js/menu-wc.js" defer></script>
|
|
362
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
363
426
|
|
|
364
427
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
365
428
|
|
|
366
429
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
367
430
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
368
431
|
<script src="./js/libs/promise.min.js"></script>
|
|
369
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
370
432
|
|
|
371
433
|
<script src="./js/compodoc.js"></script>
|
|
372
434
|
|