@eui/mobile-core 17.1.0-snapshot-1714377534577 → 17.1.0-snapshot-1714634322442
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/docs/components/EuiMUserProfileActionComponent.html +2 -2
- package/docs/components/EuiMUserProfileAvatarComponent.html +2 -2
- package/docs/components/EuiMUserProfileInfosComponent.html +2 -2
- package/docs/components/EuiMUserProfileInfosItemComponent.html +2 -2
- package/docs/components/EuimAboutComponent.html +26 -27
- package/docs/components/EuimAlertMessageComponent.html +2 -2
- package/docs/components/EuimAppComponent.html +2 -2
- package/docs/components/EuimAvatarComponent.html +2 -2
- package/docs/components/EuimAvatarIconComponent.html +2 -2
- package/docs/components/EuimBadgeComponent.html +2 -2
- package/docs/components/EuimChangelogComponent.html +2 -2
- package/docs/components/EuimChipSelectorComponent.html +2 -2
- package/docs/components/EuimDataSummaryColComponent.html +2 -2
- package/docs/components/EuimDataSummaryComponent.html +2 -2
- package/docs/components/EuimEmptyListPlaceholderComponent.html +2 -2
- package/docs/components/EuimHeaderDetailsComponent.html +2 -2
- package/docs/components/EuimHelpSupportComponent.html +2 -2
- package/docs/components/EuimLabelComponent.html +2 -2
- package/docs/components/EuimLanguageListComponent.html +2 -2
- package/docs/components/EuimLanguageSelectorComponent.html +2 -2
- package/docs/components/EuimLegalNoticeComponent.html +2 -2
- package/docs/components/EuimLicenseDetailsComponent.html +2 -2
- package/docs/components/EuimMediaHeaderComponent.html +2 -2
- package/docs/components/EuimMessageComponent.html +2 -2
- package/docs/components/EuimMessageTitleComponent.html +2 -2
- package/docs/components/EuimMultiselectComponent.html +2 -2
- package/docs/components/EuimMultiselectFilterComponent.html +2 -2
- package/docs/components/EuimMultiselectInfoComponent.html +2 -2
- package/docs/components/EuimMultiselectListComponent.html +2 -2
- package/docs/components/EuimMultiselectToolbarComponent.html +2 -2
- package/docs/components/EuimNotificationItemComponent.html +2 -2
- package/docs/components/EuimOpenSourceLicencesComponent.html +2 -2
- package/docs/components/EuimPdfWrapperComponent.html +2 -2
- package/docs/components/EuimPrivacyStatementComponent.html +2 -2
- package/docs/components/EuimScrollerXComponent.html +2 -2
- package/docs/components/EuimSidebarComponent.html +2 -2
- package/docs/components/EuimSidebarContentComponent.html +2 -2
- package/docs/components/EuimSkeletonListComponent.html +2 -2
- package/docs/components/EuimSkeletonListItemComponent.html +2 -2
- package/docs/components/EuimSlideInfoScreenComponent.html +2 -2
- package/docs/components/EuimSliderInfoScreenComponent.html +2 -2
- package/docs/components/EuimSpinnerComponent.html +2 -2
- package/docs/components/EuimSpinnerDescriptionComponent.html +2 -2
- package/docs/components/EuimSpinnerMessageComponent.html +2 -2
- package/docs/components/EuimToolbarActionItemsComponent.html +2 -2
- package/docs/components/EuimToolbarComponent.html +2 -2
- package/docs/components/EuimToolbarDatepickerComponent.html +886 -0
- package/docs/components/EuimToolbarTitleComponent.html +2 -2
- package/docs/components/EuimUserProfileComponent.html +2 -2
- package/docs/dependencies.html +5 -5
- package/docs/directives/EuimToolbarDatepickerDatetimeDirective.html +667 -0
- package/docs/index.html +3 -3
- package/docs/js/menu-wc.js +34 -3
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +1 -0
- package/docs/modules/EuimAllModule.html +6 -0
- package/docs/modules/EuimToolbarDatepickerModule.html +247 -0
- package/docs/modules.html +12 -0
- package/esm2022/lib/components/atoms/euim-label/euim-label.component.mjs +2 -2
- package/esm2022/lib/components/euim-about/euim-about.component.mjs +4 -11
- package/esm2022/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker-datetime/euim-toolbar-datepicker-datetime.directive.mjs +73 -0
- package/esm2022/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.component.mjs +101 -0
- package/esm2022/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.module.mjs +49 -0
- package/esm2022/lib/components/euim-toolbar-datepicker/index.mjs +4 -0
- package/esm2022/lib/components/index.mjs +2 -1
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details.component.mjs +2 -2
- package/esm2022/lib/euim-all.module.mjs +6 -2
- package/fesm2022/eui-mobile-core.mjs +216 -15
- package/fesm2022/eui-mobile-core.mjs.map +1 -1
- package/lib/components/euim-about/euim-about.component.d.ts +2 -3
- package/lib/components/euim-about/euim-about.component.d.ts.map +1 -1
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker-datetime/euim-toolbar-datepicker-datetime.directive.d.ts +19 -0
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker-datetime/euim-toolbar-datepicker-datetime.directive.d.ts.map +1 -0
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.component.d.ts +37 -0
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.component.d.ts.map +1 -0
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.module.d.ts +15 -0
- package/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.module.d.ts.map +1 -0
- package/lib/components/euim-toolbar-datepicker/index.d.ts +4 -0
- package/lib/components/euim-toolbar-datepicker/index.d.ts.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/euim-all.module.d.ts +5 -4
- package/lib/euim-all.module.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -203,6 +203,9 @@
|
|
|
203
203
|
<li class="list-group-item">
|
|
204
204
|
<a href="../modules/EuimToolbarComponentModule.html">EuimToolbarComponentModule</a>
|
|
205
205
|
</li>
|
|
206
|
+
<li class="list-group-item">
|
|
207
|
+
<a href="../modules/EuimToolbarDatepickerModule.html">EuimToolbarDatepickerModule</a>
|
|
208
|
+
</li>
|
|
206
209
|
<li class="list-group-item">
|
|
207
210
|
<a href="../modules/EuimUserProfileModule.html">EuimUserProfileModule</a>
|
|
208
211
|
</li>
|
|
@@ -288,6 +291,9 @@
|
|
|
288
291
|
<li class="list-group-item">
|
|
289
292
|
<a href="../components/EuimToolbarComponentModule.html">EuimToolbarComponentModule</a>
|
|
290
293
|
</li>
|
|
294
|
+
<li class="list-group-item">
|
|
295
|
+
<a href="../modules/EuimToolbarDatepickerModule.html">EuimToolbarDatepickerModule</a>
|
|
296
|
+
</li>
|
|
291
297
|
<li class="list-group-item">
|
|
292
298
|
<a href="../modules/EuimUserProfileModule.html">EuimUserProfileModule</a>
|
|
293
299
|
</li>
|
|
@@ -0,0 +1,247 @@
|
|
|
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>csdr documentation</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
|
+
<link rel="stylesheet" href="../styles/material.css">
|
|
14
|
+
</head>
|
|
15
|
+
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
74
|
+
|
|
75
|
+
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
76
|
+
<a href="../" class="navbar-brand">csdr documentation</a>
|
|
77
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
78
|
+
</div>
|
|
79
|
+
|
|
80
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
81
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
82
|
+
</div>
|
|
83
|
+
|
|
84
|
+
<div class="container-fluid main">
|
|
85
|
+
<div class="row main">
|
|
86
|
+
<div class="hidden-xs menu">
|
|
87
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
88
|
+
</div>
|
|
89
|
+
<!-- START CONTENT -->
|
|
90
|
+
<div class="content module">
|
|
91
|
+
<div class="content-data">
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
<ol class="breadcrumb">
|
|
96
|
+
<li class="breadcrumb-item">Modules</li>
|
|
97
|
+
<li class="breadcrumb-item" >EuimToolbarDatepickerModule</li>
|
|
98
|
+
</ol>
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
102
|
+
<li class="nav-item">
|
|
103
|
+
<a href="#info"
|
|
104
|
+
class="nav-link"
|
|
105
|
+
class="nav-link active"
|
|
106
|
+
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
107
|
+
</li>
|
|
108
|
+
</ul>
|
|
109
|
+
|
|
110
|
+
<div class="tab-content">
|
|
111
|
+
<div class="tab-pane fade active in" id="info">
|
|
112
|
+
|
|
113
|
+
<p class="comment">
|
|
114
|
+
<h3>File</h3>
|
|
115
|
+
</p>
|
|
116
|
+
<p class="comment">
|
|
117
|
+
<code>packages/eui-mobile/packages/core/src/lib/components/euim-toolbar-datepicker/euim-toolbar-datepicker.module.ts</code>
|
|
118
|
+
</p>
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
<div class="container-fluid module">
|
|
125
|
+
<div class="row">
|
|
126
|
+
<div class="col-sm-3">
|
|
127
|
+
<h3>Declarations<a href="https://angular.io/api/core/NgModule#declarations" target="_blank" rel="noopener noreferrer"
|
|
128
|
+
title="Official documentation about module declarations"><span class="icon ion-ios-information-circle-outline"></span></a></h3>
|
|
129
|
+
<ul class="list-group">
|
|
130
|
+
<li class="list-group-item">
|
|
131
|
+
<a href="../components/EuimToolbarDatepickerComponent.html">EuimToolbarDatepickerComponent</a>
|
|
132
|
+
</li>
|
|
133
|
+
<li class="list-group-item">
|
|
134
|
+
<a href="../directives/EuimToolbarDatepickerDatetimeDirective.html">EuimToolbarDatepickerDatetimeDirective</a>
|
|
135
|
+
</li>
|
|
136
|
+
</ul>
|
|
137
|
+
</div>
|
|
138
|
+
<div class="col-sm-3">
|
|
139
|
+
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
|
|
140
|
+
title="Official documentation about module imports"><span
|
|
141
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
|
142
|
+
<ul class="list-group">
|
|
143
|
+
<li class="list-group-item">
|
|
144
|
+
<a href="../modules/EuimAvatarIconModule.html">EuimAvatarIconModule</a>
|
|
145
|
+
</li>
|
|
146
|
+
<li class="list-group-item">
|
|
147
|
+
<a href="../modules/EuimLabelModule.html">EuimLabelModule</a>
|
|
148
|
+
</li>
|
|
149
|
+
</ul>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="col-sm-3">
|
|
152
|
+
<h3>Exports<a href="https://angular.io/api/core/NgModule#exports" target="_blank" rel="noopener noreferrer"
|
|
153
|
+
title="Official documentation about module exports"><span
|
|
154
|
+
class="icon ion-ios-information-circle-outline"></a></h3>
|
|
155
|
+
<ul class="list-group">
|
|
156
|
+
<li class="list-group-item">
|
|
157
|
+
<a href="../components/EuimToolbarDatepickerComponent.html">EuimToolbarDatepickerComponent</a>
|
|
158
|
+
</li>
|
|
159
|
+
<li class="list-group-item">
|
|
160
|
+
<a href="../directives/EuimToolbarDatepickerDatetimeDirective.html">EuimToolbarDatepickerDatetimeDirective</a>
|
|
161
|
+
</li>
|
|
162
|
+
</ul>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
</div><div class="search-results">
|
|
190
|
+
<div class="has-results">
|
|
191
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
192
|
+
<ul class="search-results-list"></ul>
|
|
193
|
+
</div>
|
|
194
|
+
<div class="no-results">
|
|
195
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
<!-- END CONTENT -->
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
|
|
203
|
+
<label class="dark-mode-switch">
|
|
204
|
+
<input type="checkbox">
|
|
205
|
+
<span class="slider">
|
|
206
|
+
<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">
|
|
207
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
208
|
+
</svg>
|
|
209
|
+
</span>
|
|
210
|
+
</label>
|
|
211
|
+
|
|
212
|
+
<script>
|
|
213
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
214
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'module';
|
|
215
|
+
var COMPODOC_CURRENT_PAGE_URL = 'EuimToolbarDatepickerModule.html';
|
|
216
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
217
|
+
</script>
|
|
218
|
+
|
|
219
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
220
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
221
|
+
|
|
222
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
223
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
224
|
+
|
|
225
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
226
|
+
|
|
227
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
228
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
229
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
230
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
231
|
+
|
|
232
|
+
<script src="../js/compodoc.js"></script>
|
|
233
|
+
|
|
234
|
+
<script src="../js/tabs.js"></script>
|
|
235
|
+
<script src="../js/menu.js"></script>
|
|
236
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
237
|
+
<script src="../js/libs/prism.js"></script>
|
|
238
|
+
<script src="../js/sourceCode.js"></script>
|
|
239
|
+
<script src="../js/search/search.js"></script>
|
|
240
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
241
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
242
|
+
<script src="../js/search/search_index.js"></script>
|
|
243
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
</body>
|
|
247
|
+
</html>
|
package/docs/modules.html
CHANGED
|
@@ -421,6 +421,18 @@
|
|
|
421
421
|
</div>
|
|
422
422
|
</div>
|
|
423
423
|
</div>
|
|
424
|
+
<div class="col-md-6 col-lg-4">
|
|
425
|
+
<div class="card card-module">
|
|
426
|
+
<div class="card-header">
|
|
427
|
+
<h4 class="card-title">EuimToolbarDatepickerModule</h4>
|
|
428
|
+
</div>
|
|
429
|
+
<div class="card-block">
|
|
430
|
+
<footer class="text-center">
|
|
431
|
+
<a href="./modules/EuimToolbarDatepickerModule.html" class="btn btn-default">Browse</a>
|
|
432
|
+
</footer>
|
|
433
|
+
</div>
|
|
434
|
+
</div>
|
|
435
|
+
</div>
|
|
424
436
|
<div class="col-md-6 col-lg-4">
|
|
425
437
|
<div class="card card-module">
|
|
426
438
|
<div class="card-header">
|
|
@@ -24,7 +24,7 @@ export class EuimLabelComponent {
|
|
|
24
24
|
].join(' ');
|
|
25
25
|
}
|
|
26
26
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLabelComponent, deps: [{ token: i1.BaseStatesDirective }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.0", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: { euimLabelTruncateWithLines: "euimLabelTruncateWithLines", euimLabelTitle: ["euimLabelTitle", "euimLabelTitle", booleanAttribute], euimLabelSubTitle: ["euimLabelSubTitle", "euimLabelSubTitle", booleanAttribute], euimLabelMeta: ["euimLabelMeta", "euimLabelMeta", booleanAttribute], euimLabelTruncate: ["euimLabelTruncate", "euimLabelTruncate", booleanAttribute] }, host: { properties: { "style.--euimLabelTruncateWithLines": "this.euimLabelTruncateWithLines", "class": "this.cssClasses" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimSize2XS", "euimSize2XS", "euimSizeXS", "euimSizeXS", "euimSizeS", "euimSizeS", "euimSizeM", "euimSizeM", "euimSizeL", "euimSizeL", "euimSizeXL", "euimSizeXL", "euimSize2XL", "euimSize2XL", "euimSize3XL", "euimSize3XL", "euimSize4XL", "euimSize4XL", "color", "color"] }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".euim-label{display:block;align-items:center;margin:0;padding:0;color:var(--eui-base-color-grey-100)}.euim-label ion-icon{vertical-align:bottom;margin-right:var(--eui-base-spacing-2xs)}.euim-label :not(ion-icon:first-child){margin-left:var(--eui-base-spacing-2xs)}.euim-label__title{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-text)}.euim-label__title ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__sub-title,.euim-label__meta{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}.euim-label__sub-title ion-icon,.euim-label__meta ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__title+.euim-label__sub-title,.euim-label__title+.euim-label__meta,.euim-label__sub-title+.euim-label__meta,.euim-label__sub-title+.euim-label__sub-title,.euim-label__meta+.euim-label__sub-title,.euim-label__meta+.euim-label__meta{margin-top:var(--eui-base-spacing-2xs)}.euim-label__euiTextTruncateWithLines{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:var(--euimLabelTruncateWithLines);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.euim-label__truncate{white-space:break-spaces}.euim-label--primary{color:var(--eui-base-color-primary-100)}.euim-label--secondary{color:var(--eui-base-color-grey-50)}.euim-label--default{color:var(--eui-base-color-grey-75)}.euim-label--dark{color:var(--eui-base-color-grey-100)}.euim-label--info{color:var(--eui-base-color-info-100)}.euim-label--success{color:var(--eui-base-color-success-100)}.euim-label--warning{color:var(--eui-base-color-warning-140)}.euim-label--warning ion-icon{color:var(--eui-base-color-warning-140)}.euim-label--danger{color:var(--eui-base-color-danger-100)}.euim-label--accent{color:var(--eui-base-color-accent-100)}.euim-label--size-2xs{font:var(--eui-base-font-size-2xs)}.euim-label--size-xs{font:var(--eui-base-font-size-xs)}.euim-label--size-s{font:var(--eui-base-font-size-s)}.euim-label--size-m{font:var(--eui-base-font-size-m)}.euim-label--size-l{font:var(--eui-base-font-size-l)}.euim-label--size-xl{font:var(--eui-base-font-size-xl)}.euim-label--size-2xl{font:var(--eui-base-font-size-2xl)}.euim-label--size-3xl{font:var(--eui-base-font-size-3xl)}.euim-label--size-4xl{font:var(--eui-base-font-size-4xl)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
27
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "17.3.0", type: EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: { euimLabelTruncateWithLines: "euimLabelTruncateWithLines", euimLabelTitle: ["euimLabelTitle", "euimLabelTitle", booleanAttribute], euimLabelSubTitle: ["euimLabelSubTitle", "euimLabelSubTitle", booleanAttribute], euimLabelMeta: ["euimLabelMeta", "euimLabelMeta", booleanAttribute], euimLabelTruncate: ["euimLabelTruncate", "euimLabelTruncate", booleanAttribute] }, host: { properties: { "style.--euimLabelTruncateWithLines": "this.euimLabelTruncateWithLines", "class": "this.cssClasses" } }, hostDirectives: [{ directive: i1.BaseStatesDirective, inputs: ["euimSize2XS", "euimSize2XS", "euimSizeXS", "euimSizeXS", "euimSizeS", "euimSizeS", "euimSizeM", "euimSizeM", "euimSizeL", "euimSizeL", "euimSizeXL", "euimSizeXL", "euimSize2XL", "euimSize2XL", "euimSize3XL", "euimSize3XL", "euimSize4XL", "euimSize4XL", "color", "color"] }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [".euim-label{display:block;align-items:center;margin:0;padding:0;color:var(--eui-base-color-grey-100)}.euim-label ion-icon{vertical-align:bottom;margin-right:var(--eui-base-spacing-2xs)}.euim-label :not(ion-icon:first-child){margin-left:var(--eui-base-spacing-2xs)}.euim-label__title{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-text)}.euim-label__title ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__sub-title,.euim-label__meta{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}.euim-label__sub-title ion-icon,.euim-label__meta ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__title+.euim-label__sub-title,.euim-label__title+.euim-label__meta,.euim-label__sub-title+.euim-label__meta,.euim-label__sub-title+.euim-label__sub-title,.euim-label__meta+.euim-label__sub-title,.euim-label__meta+.euim-label__meta{margin-top:var(--eui-base-spacing-2xs)}.euim-label__euiTextTruncateWithLines{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:var(--euimLabelTruncateWithLines);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.euim-label__truncate{white-space:break-spaces}.euim-label--primary{color:var(--eui-base-color-primary-100)}.euim-label--secondary{color:var(--eui-base-color-grey-50)}.euim-label--default{color:var(--eui-base-color-grey-75)}.euim-label--dark{color:var(--eui-base-color-grey-100)}.euim-label--info{color:var(--eui-base-color-info-100)}.euim-label--success{color:var(--eui-base-color-success-100)}.euim-label--warning{color:var(--eui-base-color-warning-140)}.euim-label--warning ion-icon{color:var(--eui-base-color-warning-140)}.euim-label--danger{color:var(--eui-base-color-danger-100)}.euim-label--accent{color:var(--eui-base-color-accent-100)}.euim-label--white{color:var(--eui-base-color-grey-0)}.euim-label--size-2xs{font:var(--eui-base-font-size-2xs)}.euim-label--size-xs{font:var(--eui-base-font-size-xs)}.euim-label--size-s{font:var(--eui-base-font-size-s)}.euim-label--size-m{font:var(--eui-base-font-size-m)}.euim-label--size-l{font:var(--eui-base-font-size-l)}.euim-label--size-xl{font:var(--eui-base-font-size-xl)}.euim-label--size-2xl{font:var(--eui-base-font-size-2xl)}.euim-label--size-3xl{font:var(--eui-base-font-size-3xl)}.euim-label--size-4xl{font:var(--eui-base-font-size-4xl)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
28
28
|
}
|
|
29
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimLabelComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
@@ -44,7 +44,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
44
44
|
'color',
|
|
45
45
|
],
|
|
46
46
|
},
|
|
47
|
-
], styles: [".euim-label{display:block;align-items:center;margin:0;padding:0;color:var(--eui-base-color-grey-100)}.euim-label ion-icon{vertical-align:bottom;margin-right:var(--eui-base-spacing-2xs)}.euim-label :not(ion-icon:first-child){margin-left:var(--eui-base-spacing-2xs)}.euim-label__title{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-text)}.euim-label__title ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__sub-title,.euim-label__meta{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}.euim-label__sub-title ion-icon,.euim-label__meta ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__title+.euim-label__sub-title,.euim-label__title+.euim-label__meta,.euim-label__sub-title+.euim-label__meta,.euim-label__sub-title+.euim-label__sub-title,.euim-label__meta+.euim-label__sub-title,.euim-label__meta+.euim-label__meta{margin-top:var(--eui-base-spacing-2xs)}.euim-label__euiTextTruncateWithLines{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:var(--euimLabelTruncateWithLines);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.euim-label__truncate{white-space:break-spaces}.euim-label--primary{color:var(--eui-base-color-primary-100)}.euim-label--secondary{color:var(--eui-base-color-grey-50)}.euim-label--default{color:var(--eui-base-color-grey-75)}.euim-label--dark{color:var(--eui-base-color-grey-100)}.euim-label--info{color:var(--eui-base-color-info-100)}.euim-label--success{color:var(--eui-base-color-success-100)}.euim-label--warning{color:var(--eui-base-color-warning-140)}.euim-label--warning ion-icon{color:var(--eui-base-color-warning-140)}.euim-label--danger{color:var(--eui-base-color-danger-100)}.euim-label--accent{color:var(--eui-base-color-accent-100)}.euim-label--size-2xs{font:var(--eui-base-font-size-2xs)}.euim-label--size-xs{font:var(--eui-base-font-size-xs)}.euim-label--size-s{font:var(--eui-base-font-size-s)}.euim-label--size-m{font:var(--eui-base-font-size-m)}.euim-label--size-l{font:var(--eui-base-font-size-l)}.euim-label--size-xl{font:var(--eui-base-font-size-xl)}.euim-label--size-2xl{font:var(--eui-base-font-size-2xl)}.euim-label--size-3xl{font:var(--eui-base-font-size-3xl)}.euim-label--size-4xl{font:var(--eui-base-font-size-4xl)}\n"] }]
|
|
47
|
+
], styles: [".euim-label{display:block;align-items:center;margin:0;padding:0;color:var(--eui-base-color-grey-100)}.euim-label ion-icon{vertical-align:bottom;margin-right:var(--eui-base-spacing-2xs)}.euim-label :not(ion-icon:first-child){margin-left:var(--eui-base-spacing-2xs)}.euim-label__title{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700;color:var(--eui-base-color-text)}.euim-label__title ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__sub-title,.euim-label__meta{font:normal normal 400 .875rem/1rem var(--eui-base-font-family);color:var(--eui-base-color-grey-75)}.euim-label__sub-title ion-icon,.euim-label__meta ion-icon{font-size:var(--eui-base-font-size-m)}.euim-label__title+.euim-label__sub-title,.euim-label__title+.euim-label__meta,.euim-label__sub-title+.euim-label__meta,.euim-label__sub-title+.euim-label__sub-title,.euim-label__meta+.euim-label__sub-title,.euim-label__meta+.euim-label__meta{margin-top:var(--eui-base-spacing-2xs)}.euim-label__euiTextTruncateWithLines{white-space:break-spaces;display:-webkit-box;-webkit-line-clamp:var(--euimLabelTruncateWithLines);-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}.euim-label__truncate{white-space:break-spaces}.euim-label--primary{color:var(--eui-base-color-primary-100)}.euim-label--secondary{color:var(--eui-base-color-grey-50)}.euim-label--default{color:var(--eui-base-color-grey-75)}.euim-label--dark{color:var(--eui-base-color-grey-100)}.euim-label--info{color:var(--eui-base-color-info-100)}.euim-label--success{color:var(--eui-base-color-success-100)}.euim-label--warning{color:var(--eui-base-color-warning-140)}.euim-label--warning ion-icon{color:var(--eui-base-color-warning-140)}.euim-label--danger{color:var(--eui-base-color-danger-100)}.euim-label--accent{color:var(--eui-base-color-accent-100)}.euim-label--white{color:var(--eui-base-color-grey-0)}.euim-label--size-2xs{font:var(--eui-base-font-size-2xs)}.euim-label--size-xs{font:var(--eui-base-font-size-xs)}.euim-label--size-s{font:var(--eui-base-font-size-s)}.euim-label--size-m{font:var(--eui-base-font-size-m)}.euim-label--size-l{font:var(--eui-base-font-size-l)}.euim-label--size-xl{font:var(--eui-base-font-size-xl)}.euim-label--size-2xl{font:var(--eui-base-font-size-2xl)}.euim-label--size-3xl{font:var(--eui-base-font-size-3xl)}.euim-label--size-4xl{font:var(--eui-base-font-size-4xl)}\n"] }]
|
|
48
48
|
}], ctorParameters: () => [{ type: i1.BaseStatesDirective }], propDecorators: { euimLabelTruncateWithLines: [{
|
|
49
49
|
type: HostBinding,
|
|
50
50
|
args: ['style.--euimLabelTruncateWithLines']
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { coerceBoolean } from '@eui/base';
|
|
3
1
|
import { Component, ContentChild, Input, ViewEncapsulation } from '@angular/core';
|
|
4
2
|
import { EuimChangelogComponent } from './euim-changelog/euim-changelog.component';
|
|
5
3
|
import { EuimPrivacyStatementComponent } from './euim-privacy-statement/euim-privacy-statement.component';
|
|
@@ -19,13 +17,13 @@ import * as i9 from "../layout/euim-header-details/euim-header-details-icon/euim
|
|
|
19
17
|
import * as i10 from "../atoms/euim-label/euim-label.component";
|
|
20
18
|
export class EuimAboutComponent {
|
|
21
19
|
constructor() {
|
|
22
|
-
this.showCode = false;
|
|
23
20
|
this.logoUrl = '';
|
|
24
21
|
this.changelogExists = false;
|
|
25
22
|
this.privacyStatementExists = false;
|
|
26
23
|
this.helpSupportExists = false;
|
|
27
24
|
this.legalNoticeExists = false;
|
|
28
25
|
this.openSourceLicencesExists = false;
|
|
26
|
+
this.showCode = false;
|
|
29
27
|
}
|
|
30
28
|
toggleQRCode() {
|
|
31
29
|
this.showCode = !this.showCode;
|
|
@@ -38,14 +36,11 @@ export class EuimAboutComponent {
|
|
|
38
36
|
this.openSourceLicencesExists = !!this.openSourceLicences;
|
|
39
37
|
}
|
|
40
38
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAboutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
41
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimAboutComponent, selector: "euim-about", inputs: {
|
|
39
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.0", type: EuimAboutComponent, selector: "euim-about", inputs: { version: "version", releaseDate: "releaseDate", qrCodeUrl: "qrCodeUrl", logoUrl: "logoUrl", appName: "appName" }, queries: [{ propertyName: "changelog", first: true, predicate: EuimChangelogComponent, descendants: true }, { propertyName: "privacyStatement", first: true, predicate: EuimPrivacyStatementComponent, descendants: true }, { propertyName: "helpSupport", first: true, predicate: EuimHelpSupportComponent, descendants: true }, { propertyName: "legalNotice", first: true, predicate: EuimLegalNoticeComponent, descendants: true }, { propertyName: "openSourceLicences", first: true, predicate: EuimOpenSourceLicencesComponent, descendants: true }], ngImport: i0, template: "<div class=\"euim-about\">\r\n <ion-header>\r\n <ion-toolbar color=\"primary\">\r\n <euim-toolbar>\r\n <euim-toolbar-title><strong>About</strong></euim-toolbar-title>\r\n @if (qrCodeUrl) {\r\n <euim-toolbar-action-items>\r\n <ion-label (click)=\"toggleQRCode()\" class=\"euim-about__toolbar-action-items\">\r\n <strong>{{ showCode ? 'HIDE QR CODE' : 'SHOW QR CODE' }}</strong>\r\n </ion-label>\r\n </euim-toolbar-action-items> }\r\n </euim-toolbar>\r\n </ion-toolbar>\r\n\r\n <euim-header-details color=\"primary\">\r\n <div euimHeaderDetailsIcon>\r\n @if (showCode) {\r\n <qrcode [qrdata]=\"qrCodeUrl\" [allowEmptyString]=\"true\" [cssClass]=\"'center'\"\r\n [elementType]=\"'svg'\" [errorCorrectionLevel]=\"'M'\" [margin]=\"4\" [scale]=\"1\" [width]=\"160\"></qrcode> }\r\n @if (!showCode) {\r\n @if (logoUrl) { <img [src]=\"logoUrl\" class=\"euim-about__app-img\" alt=\"Image\" /> } }\r\n </div>\r\n @if (appName) {\r\n <div euimHeaderDetailsTitle><strong>{{appName}}</strong></div> }\r\n @if (version) {\r\n <div euimHeaderDetailsMeta>version {{version}}</div> }\r\n @if (releaseDate) {\r\n <div euimHeaderDetailsMeta>Built on {{releaseDate}}</div> }\r\n </euim-header-details>\r\n </ion-header>\r\n <ion-list>\r\n <ion-list-header>\r\n <div euimLabel>ABOUT THIS APP</div>\r\n </ion-list-header>\r\n @if (changelogExists) {\r\n <ion-item>\r\n <ion-icon name=\"build-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Change Log</div>\r\n </ion-item>\r\n }\r\n @if (privacyStatementExists) {\r\n <ion-item>\r\n <ion-icon name=\"finger-print-sharp\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Privacy Statement</div>\r\n </ion-item>\r\n }\r\n @if (openSourceLicencesExists) {\r\n <ion-item>\r\n <ion-icon name=\"ribbon-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Open source Licences</div>\r\n </ion-item> }\r\n @if (legalNoticeExists) {\r\n <ion-item>\r\n <ion-icon name=\"library-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Legal Notice</div>\r\n </ion-item> }\r\n @if (helpSupport) {\r\n <ion-item>\r\n <ion-icon name=\"mail-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Help & Support</div>\r\n </ion-item> }\r\n </ion-list>\r\n</div>", styles: [".euim-about euim-toolbar-title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family)}.euim-about euim-toolbar-action-items ion-label{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-about ion-label{margin-inline-end:var(--eui-base-spacing-m);cursor:pointer}.euim-about ion-icon{color:var(--eui-base-color-grey-100);margin-inline-end:var(--eui-base-spacing-m)}.euim-about__app-img{width:var(--eui-base-spacing-4xl);height:var(--eui-base-spacing-4xl);border-radius:var(--eui-base-spacing-m);border:calc(var(--eui-base-spacing-2xs) / 2) solid var(--eui-base-color-white)}.euim-about[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}\n"], dependencies: [{ kind: "component", type: i1.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i1.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i1.IonListHeader, selector: "ion-list-header", inputs: ["color", "lines", "mode"] }, { kind: "component", type: i1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "component", type: i2.QRCodeComponent, selector: "qrcode", inputs: ["allowEmptyString", "colorDark", "colorLight", "cssClass", "elementType", "errorCorrectionLevel", "margin", "qrdata", "scale", "version", "width"] }, { kind: "component", type: i3.EuimToolbarComponent, selector: "euim-toolbar", inputs: ["hasBackButton", "backButtonDefaultHref", "hasSidebarTrigger", "hasLanguageSelector"], outputs: ["backButtonClick"] }, { kind: "component", type: i4.EuimToolbarTitleComponent, selector: "euim-toolbar-title" }, { kind: "component", type: i5.EuimToolbarActionItemsComponent, selector: "euim-toolbar-action-items" }, { kind: "component", type: i6.EuimHeaderDetailsComponent, selector: "euim-header-details" }, { kind: "directive", type: i7.EuimHeaderDetailsTitleDirective, selector: "[euimHeaderDetailsTitle]" }, { kind: "directive", type: i8.EuimHeaderDetailsMetaDirective, selector: "[euimHeaderDetailsMeta]" }, { kind: "directive", type: i9.EuimHeaderDetailsIconDirective, selector: "[euimHeaderDetailsIcon]" }, { kind: "component", type: i10.EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
42
40
|
}
|
|
43
|
-
__decorate([
|
|
44
|
-
coerceBoolean
|
|
45
|
-
], EuimAboutComponent.prototype, "showCode", void 0);
|
|
46
41
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimAboutComponent, decorators: [{
|
|
47
42
|
type: Component,
|
|
48
|
-
args: [{ selector: 'euim-about', encapsulation: ViewEncapsulation.None, template: "<div class=\"euim-about\">\r\n <ion-header>\r\n <ion-toolbar color=\"primary\">\r\n <euim-toolbar>\r\n <euim-toolbar-title><strong>About</strong></euim-toolbar-title>\r\n @if (qrCodeUrl) {\r\n <euim-toolbar-action-items>\r\n <ion-label (click)=\"toggleQRCode()\" class=\"euim-about__toolbar-action-items\">\r\n <strong>{{ showCode ? 'HIDE QR CODE' : 'SHOW QR CODE' }}</strong>\r\n </ion-label>\r\n </euim-toolbar-action-items> }\r\n </euim-toolbar>\r\n </ion-toolbar>\r\n\r\n <euim-header-details color=\"primary\">\r\n <div euimHeaderDetailsIcon>\r\n @if (showCode) {\r\n <qrcode [qrdata]=\"qrCodeUrl\" [allowEmptyString]=\"true\" [cssClass]=\"'center'\"\r\n [elementType]=\"'svg'\" [errorCorrectionLevel]=\"'M'\" [margin]=\"4\" [scale]=\"1\" [width]=\"160\"></qrcode> }\r\n @if (!showCode) {\r\n @if (logoUrl) { <img [src]=\"logoUrl\" class=\"euim-about__app-img\" alt=\"Image\" /> } }\r\n </div>\r\n @if (appName) {\r\n <div euimHeaderDetailsTitle><strong>{{appName}}</strong></div> }\r\n @if (version) {\r\n <div euimHeaderDetailsMeta>version {{version}}</div> }\r\n @if (releaseDate) {\r\n <div euimHeaderDetailsMeta>Built on {{releaseDate}}</div> }\r\n </euim-header-details>\r\n </ion-header>\r\n
|
|
43
|
+
args: [{ selector: 'euim-about', encapsulation: ViewEncapsulation.None, template: "<div class=\"euim-about\">\r\n <ion-header>\r\n <ion-toolbar color=\"primary\">\r\n <euim-toolbar>\r\n <euim-toolbar-title><strong>About</strong></euim-toolbar-title>\r\n @if (qrCodeUrl) {\r\n <euim-toolbar-action-items>\r\n <ion-label (click)=\"toggleQRCode()\" class=\"euim-about__toolbar-action-items\">\r\n <strong>{{ showCode ? 'HIDE QR CODE' : 'SHOW QR CODE' }}</strong>\r\n </ion-label>\r\n </euim-toolbar-action-items> }\r\n </euim-toolbar>\r\n </ion-toolbar>\r\n\r\n <euim-header-details color=\"primary\">\r\n <div euimHeaderDetailsIcon>\r\n @if (showCode) {\r\n <qrcode [qrdata]=\"qrCodeUrl\" [allowEmptyString]=\"true\" [cssClass]=\"'center'\"\r\n [elementType]=\"'svg'\" [errorCorrectionLevel]=\"'M'\" [margin]=\"4\" [scale]=\"1\" [width]=\"160\"></qrcode> }\r\n @if (!showCode) {\r\n @if (logoUrl) { <img [src]=\"logoUrl\" class=\"euim-about__app-img\" alt=\"Image\" /> } }\r\n </div>\r\n @if (appName) {\r\n <div euimHeaderDetailsTitle><strong>{{appName}}</strong></div> }\r\n @if (version) {\r\n <div euimHeaderDetailsMeta>version {{version}}</div> }\r\n @if (releaseDate) {\r\n <div euimHeaderDetailsMeta>Built on {{releaseDate}}</div> }\r\n </euim-header-details>\r\n </ion-header>\r\n <ion-list>\r\n <ion-list-header>\r\n <div euimLabel>ABOUT THIS APP</div>\r\n </ion-list-header>\r\n @if (changelogExists) {\r\n <ion-item>\r\n <ion-icon name=\"build-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Change Log</div>\r\n </ion-item>\r\n }\r\n @if (privacyStatementExists) {\r\n <ion-item>\r\n <ion-icon name=\"finger-print-sharp\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Privacy Statement</div>\r\n </ion-item>\r\n }\r\n @if (openSourceLicencesExists) {\r\n <ion-item>\r\n <ion-icon name=\"ribbon-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Open source Licences</div>\r\n </ion-item> }\r\n @if (legalNoticeExists) {\r\n <ion-item>\r\n <ion-icon name=\"library-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Legal Notice</div>\r\n </ion-item> }\r\n @if (helpSupport) {\r\n <ion-item>\r\n <ion-icon name=\"mail-outline\" slot=\"start\"></ion-icon>\r\n <div euimLabel>Help & Support</div>\r\n </ion-item> }\r\n </ion-list>\r\n</div>", styles: [".euim-about euim-toolbar-title{font:normal normal 400 1.25rem/1.5rem var(--eui-base-font-family)}.euim-about euim-toolbar-action-items ion-label{font:normal normal 400 .875rem/1rem var(--eui-base-font-family)}.euim-about ion-label{margin-inline-end:var(--eui-base-spacing-m);cursor:pointer}.euim-about ion-icon{color:var(--eui-base-color-grey-100);margin-inline-end:var(--eui-base-spacing-m)}.euim-about__app-img{width:var(--eui-base-spacing-4xl);height:var(--eui-base-spacing-4xl);border-radius:var(--eui-base-spacing-m);border:calc(var(--eui-base-spacing-2xs) / 2) solid var(--eui-base-color-white)}.euim-about[slot=start]{margin-inline-end:var(--eui-base-spacing-m)}\n"] }]
|
|
49
44
|
}], propDecorators: { changelog: [{
|
|
50
45
|
type: ContentChild,
|
|
51
46
|
args: [EuimChangelogComponent]
|
|
@@ -61,8 +56,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
61
56
|
}], openSourceLicences: [{
|
|
62
57
|
type: ContentChild,
|
|
63
58
|
args: [EuimOpenSourceLicencesComponent]
|
|
64
|
-
}], showCode: [{
|
|
65
|
-
type: Input
|
|
66
59
|
}], version: [{
|
|
67
60
|
type: Input
|
|
68
61
|
}], releaseDate: [{
|
|
@@ -74,4 +67,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImpor
|
|
|
74
67
|
}], appName: [{
|
|
75
68
|
type: Input
|
|
76
69
|
}] } });
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1hYm91dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvZXVpbS1hYm91dC9ldWltLWFib3V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9ldWltLWFib3V0L2V1aW0tYWJvdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFvQixpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNwRyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQztBQUNuRixPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSwyREFBMkQsQ0FBQztBQUMxRyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxpREFBaUQsQ0FBQztBQUMzRixPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxpREFBaUQsQ0FBQztBQUMzRixPQUFPLEVBQUUsK0JBQStCLEVBQUUsTUFBTSwrREFBK0QsQ0FBQzs7Ozs7Ozs7Ozs7O0FBU2hILE1BQU0sT0FBTyxrQkFBa0I7SUFQL0I7UUFrQlcsWUFBTyxHQUFHLEVBQUUsQ0FBQztRQUd0QixvQkFBZSxHQUFHLEtBQUssQ0FBQztRQUN4QiwyQkFBc0IsR0FBRyxLQUFLLENBQUM7UUF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XHJcbiAgICAgIH1cclxuICAgICAgQGlmIChvcGVuU291cmNlTGljZW5jZXNFeGlzdHMpIHtcclxuICAgICAgPGlvbi1pdGVtPlxyXG4gICAgICAgIDxpb24taWNvbiBuYW1lPVwicmliYm9uLW91dGxpbmVcIiBzbG90PVwic3RhcnRcIj48L2lvbi1pY29uPlxyXG4gICAgICAgIDxkaXYgZXVpbUxhYmVsPk9wZW4gc291cmNlIExpY2VuY2VzPC9kaXY+XHJcbiAgICAgIDwvaW9uLWl0ZW0+IH1cclxuICAgICAgQGlmIChsZWdhbE5vdGljZUV4aXN0cykge1xyXG4gICAgICA8aW9uLWl0ZW0+XHJcbiAgICAgICAgPGlvbi1pY29uIG5hbWU9XCJsaWJyYXJ5LW91dGxpbmVcIiBzbG90PVwic3RhcnRcIj48L2lvbi1pY29uPlxyXG4gICAgICAgIDxkaXYgZXVpbUxhYmVsPkxlZ2FsIE5vdGljZTwvZGl2PlxyXG4gICAgICA8L2lvbi1pdGVtPiB9XHJcbiAgICAgIEBpZiAoaGVscFN1cHBvcnQpIHtcclxuICAgICAgPGlvbi1pdGVtPlxyXG4gICAgICAgIDxpb24taWNvbiBuYW1lPVwibWFpbC1vdXRsaW5lXCIgc2xvdD1cInN0YXJ0XCI+PC9pb24taWNvbj5cclxuICAgICAgICA8ZGl2IGV1aW1MYWJlbD5IZWxwICYgU3VwcG9ydDwvZGl2PlxyXG4gICAgICA8L2lvbi1pdGVtPiB9XHJcbiAgPC9pb24tbGlzdD5cclxuPC9kaXY+Il19
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Directive, HostBinding, HostListener, Input, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../euim-toolbar-datepicker.component";
|
|
4
|
+
export class EuimToolbarDatepickerDatetimeDirective {
|
|
5
|
+
constructor(euimToolbarDatepickerComponent) {
|
|
6
|
+
this.euimToolbarDatepickerComponent = euimToolbarDatepickerComponent;
|
|
7
|
+
this.className = 'euim-toolbar-datepicker';
|
|
8
|
+
this.showDefaultButtons = true;
|
|
9
|
+
this.size = 'cover';
|
|
10
|
+
this.presentation = 'date';
|
|
11
|
+
this.displayFormat = 'DD-MM-YYYY';
|
|
12
|
+
}
|
|
13
|
+
onIonChange(event) {
|
|
14
|
+
this.euimToolbarDatepickerComponent.calendarDateChanged(event);
|
|
15
|
+
}
|
|
16
|
+
ngOnInit() {
|
|
17
|
+
this.id = this.euimToolbarDatepickerComponent.dateTimeId;
|
|
18
|
+
if (this.value) {
|
|
19
|
+
this.euimToolbarDatepickerComponent.updateCurrentDate(this.value);
|
|
20
|
+
}
|
|
21
|
+
this.euimToolbarDatepickerComponent.prevBtnClick.subscribe((item) => {
|
|
22
|
+
this.value = item.toISOString();
|
|
23
|
+
});
|
|
24
|
+
this.euimToolbarDatepickerComponent.nextBtnClick.subscribe((item) => {
|
|
25
|
+
this.value = item.toISOString();
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimToolbarDatepickerDatetimeDirective, deps: [{ token: i1.EuimToolbarDatepickerComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
29
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.0", type: EuimToolbarDatepickerDatetimeDirective, selector: "[euimToolbarDatepickerDatetime]", inputs: { value: "value", showDefaultButtons: "showDefaultButtons", id: "id", size: "size", presentation: "presentation", displayFormat: "displayFormat" }, host: { listeners: { "ionChange": "onIonChange($event)" }, properties: { "class": "this.className", "value": "this.value", "showDefaultButtons": "this.showDefaultButtons", "id": "this.id", "size": "this.size", "presentation": "this.presentation", "displayFormat": "this.displayFormat" } }, ngImport: i0 }); }
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0", ngImport: i0, type: EuimToolbarDatepickerDatetimeDirective, decorators: [{
|
|
32
|
+
type: Directive,
|
|
33
|
+
args: [{
|
|
34
|
+
selector: '[euimToolbarDatepickerDatetime]',
|
|
35
|
+
}]
|
|
36
|
+
}], ctorParameters: () => [{ type: i1.EuimToolbarDatepickerComponent }], propDecorators: { className: [{
|
|
37
|
+
type: HostBinding,
|
|
38
|
+
args: ['class']
|
|
39
|
+
}], value: [{
|
|
40
|
+
type: HostBinding,
|
|
41
|
+
args: ['value']
|
|
42
|
+
}, {
|
|
43
|
+
type: Input
|
|
44
|
+
}], showDefaultButtons: [{
|
|
45
|
+
type: HostBinding,
|
|
46
|
+
args: ['showDefaultButtons']
|
|
47
|
+
}, {
|
|
48
|
+
type: Input
|
|
49
|
+
}], id: [{
|
|
50
|
+
type: HostBinding,
|
|
51
|
+
args: ['id']
|
|
52
|
+
}, {
|
|
53
|
+
type: Input
|
|
54
|
+
}], size: [{
|
|
55
|
+
type: HostBinding,
|
|
56
|
+
args: ['size']
|
|
57
|
+
}, {
|
|
58
|
+
type: Input
|
|
59
|
+
}], presentation: [{
|
|
60
|
+
type: HostBinding,
|
|
61
|
+
args: ['presentation']
|
|
62
|
+
}, {
|
|
63
|
+
type: Input
|
|
64
|
+
}], displayFormat: [{
|
|
65
|
+
type: HostBinding,
|
|
66
|
+
args: ['displayFormat']
|
|
67
|
+
}, {
|
|
68
|
+
type: Input
|
|
69
|
+
}], onIonChange: [{
|
|
70
|
+
type: HostListener,
|
|
71
|
+
args: ['ionChange', ['$event']]
|
|
72
|
+
}] } });
|
|
73
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS10b29sYmFyLWRhdGVwaWNrZXItZGF0ZXRpbWUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0tdG9vbGJhci1kYXRl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