@covalent/core 8.1.0 → 8.2.0-beta.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/common/styles/core/_structure.scss +0 -2
- package/common/styles/font/_font.scss +1 -35
- package/esm2022/breadcrumbs/breadcrumb/breadcrumb.component.mjs +4 -4
- package/esm2022/breadcrumbs/breadcrumbs.component.mjs +4 -4
- package/esm2022/breadcrumbs/breadcrumbs.module.mjs +4 -4
- package/esm2022/common/behaviors/control-value-accesor.mixin.mjs +1 -1
- package/esm2022/common/behaviors/disable-ripple.mixin.mjs +1 -1
- package/esm2022/common/behaviors/disabled.mixin.mjs +1 -1
- package/esm2022/common/common.module.mjs +26 -6
- package/esm2022/common/directives/fullscreen/fullscreen.directive.mjs +13 -13
- package/esm2022/common/forms/auto-trim/auto-trim.directive.mjs +4 -4
- package/esm2022/common/forms/validators/validators.mjs +1 -1
- package/esm2022/common/functions/convert.mjs +1 -1
- package/esm2022/common/functions/download.mjs +1 -1
- package/esm2022/common/pipes/bytes/bytes.pipe.mjs +4 -4
- package/esm2022/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +4 -4
- package/esm2022/common/pipes/digits/digits.pipe.mjs +4 -4
- package/esm2022/common/pipes/time-ago/time-ago.pipe.mjs +4 -4
- package/esm2022/common/pipes/time-difference/time-difference.pipe.mjs +4 -4
- package/esm2022/common/pipes/time-until/time-until.pipe.mjs +4 -4
- package/esm2022/common/pipes/truncate/truncate.pipe.mjs +4 -4
- package/esm2022/common/services/icon.service.mjs +3 -3
- package/esm2022/common/services/router-path.service.mjs +3 -3
- package/esm2022/dialogs/alert-dialog/alert-dialog.component.mjs +3 -3
- package/esm2022/dialogs/confirm-dialog/confirm-dialog.component.mjs +3 -3
- package/esm2022/dialogs/dialog.component.mjs +13 -13
- package/esm2022/dialogs/dialogs.module.mjs +4 -4
- package/esm2022/dialogs/prompt-dialog/prompt-dialog.component.mjs +4 -4
- package/esm2022/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +4 -2
- package/esm2022/dialogs/services/dialog.service.mjs +4 -4
- package/esm2022/dialogs/window-dialog/window-dialog.component.mjs +5 -5
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +5 -5
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +3 -3
- package/esm2022/dynamic-menu/dynamic-menu.component.mjs +3 -3
- package/esm2022/dynamic-menu/dynamic-menu.module.mjs +4 -4
- package/esm2022/file/directives/file-drop.directive.mjs +4 -4
- package/esm2022/file/directives/file-select.directive.mjs +4 -4
- package/esm2022/file/file-input/file-input.component.mjs +9 -9
- package/esm2022/file/file-upload/file-upload.component.mjs +4 -4
- package/esm2022/file/file.module.mjs +4 -4
- package/esm2022/file/services/file.service.mjs +4 -4
- package/esm2022/json-formatter/json-formatter.component.mjs +4 -4
- package/esm2022/json-formatter/json-formatter.module.mjs +4 -4
- package/esm2022/layout/layout-card-over/layout-card-over.component.mjs +5 -5
- package/esm2022/layout/layout-footer/layout-footer.component.mjs +4 -4
- package/esm2022/layout/layout-manage-list/layout-manage-list.component.mjs +3 -3
- package/esm2022/layout/layout-manage-list/layout-manage-list.directives.mjs +9 -9
- package/esm2022/layout/layout-nav/layout-nav.component.mjs +6 -6
- package/esm2022/layout/layout-nav-list/layout-nav-list.component.mjs +5 -5
- package/esm2022/layout/layout-nav-list/layout-nav-list.directives.mjs +9 -9
- package/esm2022/layout/layout-toggle.class.mjs +4 -4
- package/esm2022/layout/layout.component.mjs +3 -3
- package/esm2022/layout/layout.directives.mjs +9 -9
- package/esm2022/layout/layout.module.mjs +4 -4
- package/esm2022/layout/navigation-drawer/navigation-drawer.component.mjs +11 -11
- package/esm2022/loading/directives/loading.directive.mjs +4 -4
- package/esm2022/loading/loading.component.mjs +4 -4
- package/esm2022/loading/loading.module.mjs +4 -4
- package/esm2022/loading/services/loading.factory.mjs +4 -4
- package/esm2022/loading/services/loading.service.mjs +4 -4
- package/esm2022/menu/menu.component.mjs +3 -3
- package/esm2022/menu/menu.module.mjs +4 -4
- package/esm2022/message/message.component.mjs +7 -7
- package/esm2022/message/message.module.mjs +4 -4
- package/esm2022/search/search-box/search-box.component.mjs +4 -4
- package/esm2022/search/search-input/search-input.component.mjs +4 -4
- package/esm2022/search/search.module.mjs +4 -4
- package/esm2022/side-sheet/side-sheet-container.mjs +7 -7
- package/esm2022/side-sheet/side-sheet-ref.mjs +1 -1
- package/esm2022/side-sheet/side-sheet.content-directives.mjs +16 -16
- package/esm2022/side-sheet/side-sheet.mjs +7 -7
- package/esm2022/side-sheet/side-sheet.module.mjs +4 -4
- package/esm2022/user-profile/user-profile-menu/user-profile-menu.component.mjs +3 -3
- package/esm2022/user-profile/user-profile.component.mjs +3 -3
- package/esm2022/user-profile/user-profile.module.mjs +4 -4
- package/fesm2022/covalent-core-breadcrumbs.mjs +11 -11
- package/fesm2022/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/covalent-core-common.mjs +68 -48
- package/fesm2022/covalent-core-common.mjs.map +1 -1
- package/fesm2022/covalent-core-dialogs.mjs +36 -34
- package/fesm2022/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2022/covalent-core-dynamic-menu.mjs +14 -14
- package/fesm2022/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2022/covalent-core-file.mjs +28 -28
- package/fesm2022/covalent-core-file.mjs.map +1 -1
- package/fesm2022/covalent-core-json-formatter.mjs +8 -8
- package/fesm2022/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2022/covalent-core-layout.mjs +66 -66
- package/fesm2022/covalent-core-layout.mjs.map +1 -1
- package/fesm2022/covalent-core-loading.mjs +16 -16
- package/fesm2022/covalent-core-loading.mjs.map +1 -1
- package/fesm2022/covalent-core-menu.mjs +7 -7
- package/fesm2022/covalent-core-message.mjs +11 -11
- package/fesm2022/covalent-core-message.mjs.map +1 -1
- package/fesm2022/covalent-core-search.mjs +11 -11
- package/fesm2022/covalent-core-search.mjs.map +1 -1
- package/fesm2022/covalent-core-side-sheet.mjs +32 -32
- package/fesm2022/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2022/covalent-core-user-profile.mjs +10 -10
- package/layout/_layout-theme.scss +7 -6
- package/layout/layout-card-over/layout-card-over.component.d.ts +1 -1
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +1 -1
- package/package.json +2 -2
- package/theming/_teradata-theme.scss +524 -0
- package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
@@ -3,10 +3,12 @@ import { Directive, Optional, Host, HostListener, Inject, Pipe, LOCALE_ID, Injec
|
|
3
3
|
import { DOCUMENT, DecimalPipe, CommonModule } from '@angular/common';
|
4
4
|
import * as i1 from '@angular/forms';
|
5
5
|
import { FormsModule, Validators } from '@angular/forms';
|
6
|
+
import { MAT_ICON_DEFAULT_OPTIONS } from '@angular/material/icon';
|
7
|
+
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
6
8
|
import * as i1$1 from '@angular/router';
|
7
9
|
import { RoutesRecognized } from '@angular/router';
|
8
10
|
import { filter, pairwise } from 'rxjs/operators';
|
9
|
-
import {
|
11
|
+
import { trigger, state, style, transition, group, query, animateChild, animate, AUTO_STYLE, keyframes } from '@angular/animations';
|
10
12
|
import { Subject } from 'rxjs';
|
11
13
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
12
14
|
|
@@ -25,10 +27,10 @@ class TdAutoTrimDirective {
|
|
25
27
|
this._model.update.emit(this._model.value.trim());
|
26
28
|
}
|
27
29
|
}
|
28
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
29
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdAutoTrimDirective, deps: [{ token: i1.NgModel, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
31
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: TdAutoTrimDirective, selector: "[tdAutoTrim]", host: { listeners: { "blur": "onBlur($event)" } }, ngImport: i0 });
|
30
32
|
}
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdAutoTrimDirective, decorators: [{
|
32
34
|
type: Directive,
|
33
35
|
args: [{
|
34
36
|
selector: '[tdAutoTrim]',
|
@@ -61,9 +63,9 @@ class TdFullscreenDirective {
|
|
61
63
|
enterFullScreen() {
|
62
64
|
const { _el: { nativeElement }, } = this;
|
63
65
|
const enterFullScreenMap = {
|
64
|
-
requestFullscreen: () => nativeElement.requestFullscreen(),
|
65
|
-
webkitRequestFullscreen: () => nativeElement.webkitRequestFullscreen(),
|
66
|
-
mozRequestFullScreen: () => nativeElement.mozRequestFullScreen(),
|
66
|
+
requestFullscreen: () => nativeElement.requestFullscreen(), // Chrome
|
67
|
+
webkitRequestFullscreen: () => nativeElement.webkitRequestFullscreen(), // Safari
|
68
|
+
mozRequestFullScreen: () => nativeElement.mozRequestFullScreen(), // Firefox
|
67
69
|
msRequestFullscreen: () => nativeElement.msRequestFullscreen(), // IE
|
68
70
|
};
|
69
71
|
for (const handler of Object.keys(enterFullScreenMap)) {
|
@@ -74,9 +76,9 @@ class TdFullscreenDirective {
|
|
74
76
|
}
|
75
77
|
exitFullScreen() {
|
76
78
|
const exitFullScreenMap = {
|
77
|
-
exitFullscreen: () => this._document.exitFullscreen(),
|
78
|
-
webkitExitFullscreen: () => this._document.webkitExitFullscreen(),
|
79
|
-
mozCancelFullScreen: () => this._document.mozCancelFullScreen(),
|
79
|
+
exitFullscreen: () => this._document.exitFullscreen(), // Chrome
|
80
|
+
webkitExitFullscreen: () => this._document.webkitExitFullscreen(), // Safari
|
81
|
+
mozCancelFullScreen: () => this._document.mozCancelFullScreen(), // Firefox
|
80
82
|
msExitFullscreen: () => this._document.msExitFullscreen(), // IE
|
81
83
|
};
|
82
84
|
for (const handler of Object.keys(exitFullScreenMap)) {
|
@@ -88,9 +90,9 @@ class TdFullscreenDirective {
|
|
88
90
|
}
|
89
91
|
_getFullScreenElement() {
|
90
92
|
const tdFullScreenElementMap = {
|
91
|
-
fullscreenElement: () => this._document.fullscreenElement,
|
92
|
-
webkitFullscreenElement: () => this._document.webkitFullscreenElement,
|
93
|
-
mozFullscreenElement: () => this._document.mozFullscreenElement,
|
93
|
+
fullscreenElement: () => this._document.fullscreenElement, // Chrome, Opera
|
94
|
+
webkitFullscreenElement: () => this._document.webkitFullscreenElement, // Safari
|
95
|
+
mozFullscreenElement: () => this._document.mozFullscreenElement, // Firefox
|
94
96
|
msFullscreenElement: () => this._document.msFullscreenElement, // IE, Edge
|
95
97
|
};
|
96
98
|
for (const props of Object.keys(tdFullScreenElementMap)) {
|
@@ -100,10 +102,10 @@ class TdFullscreenDirective {
|
|
100
102
|
}
|
101
103
|
return undefined;
|
102
104
|
}
|
103
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
104
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.
|
105
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdFullscreenDirective, deps: [{ token: DOCUMENT }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
106
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: TdFullscreenDirective, selector: "[tdFullScreen]", host: { listeners: { "document:fullscreenchange": "fsChangeHandler($event)", "document:webkitfullscreenchange": "fsChangeHandler($event)", "document:mozfullscreenchange": "fsChangeHandler($event)", "document:msfullscreenchange": "fsChangeHandler($event)" } }, exportAs: ["tdFullScreen"], ngImport: i0 });
|
105
107
|
}
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdFullscreenDirective, decorators: [{
|
107
109
|
type: Directive,
|
108
110
|
args: [{
|
109
111
|
selector: '[tdFullScreen]',
|
@@ -186,10 +188,10 @@ class TdTimeAgoPipe {
|
|
186
188
|
return Math.floor(diff) + ' years ago';
|
187
189
|
}
|
188
190
|
}
|
189
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
190
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
191
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdTimeAgoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
192
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: TdTimeAgoPipe, name: "timeAgo" });
|
191
193
|
}
|
192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdTimeAgoPipe, decorators: [{
|
193
195
|
type: Pipe,
|
194
196
|
args: [{
|
195
197
|
name: 'timeAgo',
|
@@ -235,10 +237,10 @@ class TdTimeDifferencePipe {
|
|
235
237
|
pad.substring(0, pad.length - (seconds + '').length) +
|
236
238
|
seconds);
|
237
239
|
}
|
238
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
239
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
240
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdTimeDifferencePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
241
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: TdTimeDifferencePipe, name: "timeDifference" });
|
240
242
|
}
|
241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdTimeDifferencePipe, decorators: [{
|
242
244
|
type: Pipe,
|
243
245
|
args: [{
|
244
246
|
name: 'timeDifference',
|
@@ -305,10 +307,10 @@ class TdTimeUntilPipe {
|
|
305
307
|
return 'in ' + Math.floor(diff) + ' years';
|
306
308
|
}
|
307
309
|
}
|
308
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
309
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
310
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdTimeUntilPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
311
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: TdTimeUntilPipe, name: "timeUntil" });
|
310
312
|
}
|
311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdTimeUntilPipe, decorators: [{
|
312
314
|
type: Pipe,
|
313
315
|
args: [{
|
314
316
|
name: 'timeUntil',
|
@@ -345,10 +347,10 @@ class TdBytesPipe {
|
|
345
347
|
}
|
346
348
|
return (parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]);
|
347
349
|
}
|
348
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
349
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
350
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
351
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: TdBytesPipe, name: "bytes" });
|
350
352
|
}
|
351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdBytesPipe, decorators: [{
|
352
354
|
type: Pipe,
|
353
355
|
args: [{
|
354
356
|
name: 'bytes',
|
@@ -385,10 +387,10 @@ class TdDecimalBytesPipe {
|
|
385
387
|
}
|
386
388
|
return (parseFloat((bytes / Math.pow(k, i)).toFixed(precision)) + ' ' + sizes[i]);
|
387
389
|
}
|
388
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
389
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
390
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdDecimalBytesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
391
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: TdDecimalBytesPipe, name: "decimalBytes" });
|
390
392
|
}
|
391
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdDecimalBytesPipe, decorators: [{
|
392
394
|
type: Pipe,
|
393
395
|
args: [{
|
394
396
|
name: 'decimalBytes',
|
@@ -420,10 +422,10 @@ class TdDigitsPipe {
|
|
420
422
|
const size = sizes[i];
|
421
423
|
return (this._decimalPipe.transform(parseFloat((digits / Math.pow(k, i)).toFixed(precision))) + (size ? ' ' + size : ''));
|
422
424
|
}
|
423
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
424
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
425
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdDigitsPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
426
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: TdDigitsPipe, name: "digits" });
|
425
427
|
}
|
426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdDigitsPipe, decorators: [{
|
427
429
|
type: Pipe,
|
428
430
|
args: [{
|
429
431
|
name: 'digits',
|
@@ -448,10 +450,10 @@ class TdTruncatePipe {
|
|
448
450
|
}
|
449
451
|
return truncated;
|
450
452
|
}
|
451
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
452
|
-
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
453
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
454
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: TdTruncatePipe, name: "truncate" });
|
453
455
|
}
|
454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
456
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TdTruncatePipe, decorators: [{
|
455
457
|
type: Pipe,
|
456
458
|
args: [{
|
457
459
|
name: 'truncate',
|
@@ -476,10 +478,10 @@ class RouterPathService {
|
|
476
478
|
getPreviousRoute() {
|
477
479
|
return RouterPathService._previousRoute;
|
478
480
|
}
|
479
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
480
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
481
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: RouterPathService, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
482
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: RouterPathService });
|
481
483
|
}
|
482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: RouterPathService, decorators: [{
|
483
485
|
type: Injectable
|
484
486
|
}], ctorParameters: () => [{ type: i1$1.Router }] });
|
485
487
|
|
@@ -1561,10 +1563,10 @@ class IconService {
|
|
1561
1563
|
return el.toLowerCase().indexOf(query ? query.toLowerCase() : '') > -1;
|
1562
1564
|
});
|
1563
1565
|
}
|
1564
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
1565
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
1566
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: IconService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
1567
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: IconService });
|
1566
1568
|
}
|
1567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
1569
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: IconService, decorators: [{
|
1568
1570
|
type: Injectable
|
1569
1571
|
}] });
|
1570
1572
|
|
@@ -1580,9 +1582,17 @@ const TD_PIPES = [
|
|
1580
1582
|
TdDigitsPipe,
|
1581
1583
|
TdTruncatePipe,
|
1582
1584
|
];
|
1585
|
+
const TD_DEFAULT_ICON_OPTIONS = {
|
1586
|
+
provide: MAT_ICON_DEFAULT_OPTIONS,
|
1587
|
+
useValue: { fontSet: 'material-symbols-outlined' },
|
1588
|
+
};
|
1589
|
+
const TD_DEFAULT_FORM_FIELD_OPTIONS = {
|
1590
|
+
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
1591
|
+
useValue: { appearance: 'outline' },
|
1592
|
+
};
|
1583
1593
|
class CovalentCommonModule {
|
1584
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
1585
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
1594
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CovalentCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1595
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.2", ngImport: i0, type: CovalentCommonModule, declarations: [TdAutoTrimDirective, TdFullscreenDirective, TdTimeAgoPipe,
|
1586
1596
|
TdTimeDifferencePipe,
|
1587
1597
|
TdTimeUntilPipe,
|
1588
1598
|
TdBytesPipe,
|
@@ -1595,15 +1605,25 @@ class CovalentCommonModule {
|
|
1595
1605
|
TdDecimalBytesPipe,
|
1596
1606
|
TdDigitsPipe,
|
1597
1607
|
TdTruncatePipe] });
|
1598
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
1608
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CovalentCommonModule, providers: [
|
1609
|
+
RouterPathService,
|
1610
|
+
IconService,
|
1611
|
+
TD_DEFAULT_ICON_OPTIONS,
|
1612
|
+
TD_DEFAULT_FORM_FIELD_OPTIONS,
|
1613
|
+
], imports: [FormsModule, CommonModule, FormsModule, CommonModule] });
|
1599
1614
|
}
|
1600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
1615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: CovalentCommonModule, decorators: [{
|
1601
1616
|
type: NgModule,
|
1602
1617
|
args: [{
|
1603
1618
|
imports: [FormsModule, CommonModule],
|
1604
1619
|
declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
|
1605
1620
|
exports: [FormsModule, CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
|
1606
|
-
providers: [
|
1621
|
+
providers: [
|
1622
|
+
RouterPathService,
|
1623
|
+
IconService,
|
1624
|
+
TD_DEFAULT_ICON_OPTIONS,
|
1625
|
+
TD_DEFAULT_FORM_FIELD_OPTIONS,
|
1626
|
+
],
|
1607
1627
|
}]
|
1608
1628
|
}] });
|
1609
1629
|
|