@covalent/core 9.1.3 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/breadcrumbs/breadcrumbs.component.d.ts +1 -1
- package/breadcrumbs/breadcrumbs.module.d.ts +5 -3
- package/common/common.module.d.ts +5 -1
- package/common/directives/fullscreen/fullscreen.directive.d.ts +1 -1
- package/common/forms/auto-trim/auto-trim.directive.d.ts +1 -1
- package/common/material-icons.css +1 -1
- package/common/pipes/bytes/bytes.pipe.d.ts +1 -1
- package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +1 -1
- package/common/pipes/digits/digits.pipe.d.ts +1 -1
- package/common/pipes/time-ago/time-ago.pipe.d.ts +1 -1
- package/common/pipes/time-difference/time-difference.pipe.d.ts +1 -1
- package/common/pipes/time-until/time-until.pipe.d.ts +1 -1
- package/common/pipes/truncate/truncate.pipe.d.ts +1 -1
- package/common/platform.css +1 -1
- package/common/platform.css.map +1 -1
- package/dialogs/alert-dialog/alert-dialog.component.d.ts +1 -1
- package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +1 -1
- package/dialogs/dialog.component.d.ts +5 -5
- package/dialogs/dialogs.module.d.ts +5 -9
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +1 -1
- package/dialogs/status-dialog/status-dialog.component.d.ts +1 -1
- package/dialogs/window-dialog/window-dialog.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu.module.d.ts +5 -7
- package/fesm2022/covalent-core-breadcrumbs.mjs +83 -44
- package/fesm2022/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/covalent-core-common.mjs +146 -138
- package/fesm2022/covalent-core-common.mjs.map +1 -1
- package/fesm2022/covalent-core-dialogs.mjs +448 -169
- package/fesm2022/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2022/covalent-core-dynamic-menu.mjs +351 -82
- package/fesm2022/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2022/covalent-core-file.mjs +256 -181
- package/fesm2022/covalent-core-file.mjs.map +1 -1
- package/fesm2022/covalent-core-json-formatter.mjs +119 -31
- package/fesm2022/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2022/covalent-core-layout.mjs +738 -384
- package/fesm2022/covalent-core-layout.mjs.map +1 -1
- package/fesm2022/covalent-core-loading.mjs +98 -76
- package/fesm2022/covalent-core-loading.mjs.map +1 -1
- package/fesm2022/covalent-core-menu.mjs +33 -19
- package/fesm2022/covalent-core-menu.mjs.map +1 -1
- package/fesm2022/covalent-core-message.mjs +112 -53
- package/fesm2022/covalent-core-message.mjs.map +1 -1
- package/fesm2022/covalent-core-search.mjs +260 -193
- package/fesm2022/covalent-core-search.mjs.map +1 -1
- package/fesm2022/covalent-core-side-sheet.mjs +224 -192
- package/fesm2022/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2022/covalent-core-user-profile.mjs +118 -59
- package/fesm2022/covalent-core-user-profile.mjs.map +1 -1
- package/file/directives/file-drop.directive.d.ts +1 -1
- package/file/directives/file-select.directive.d.ts +1 -1
- package/file/file-input/file-input.component.d.ts +2 -2
- package/file/file-upload/file-upload.component.d.ts +1 -1
- package/file/file.module.d.ts +5 -6
- package/json-formatter/json-formatter.component.d.ts +1 -1
- package/json-formatter/json-formatter.module.d.ts +5 -4
- package/layout/layout-card-over/layout-card-over.component.d.ts +1 -1
- package/layout/layout-footer/layout-footer.component.d.ts +1 -1
- package/layout/layout-manage-list/layout-manage-list.component.d.ts +1 -1
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +3 -3
- package/layout/layout-nav/layout-nav.component.d.ts +1 -1
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +1 -1
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +3 -3
- package/layout/layout-toggle.class.d.ts +1 -1
- package/layout/layout.component.d.ts +1 -1
- package/layout/layout.directives.d.ts +3 -3
- package/layout/layout.module.d.ts +5 -10
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +3 -3
- package/loading/directives/loading.directive.d.ts +1 -1
- package/loading/loading.component.d.ts +1 -1
- package/loading/loading.module.d.ts +1 -6
- package/menu/menu.component.d.ts +1 -1
- package/menu/menu.module.d.ts +5 -4
- package/message/message.component.d.ts +2 -2
- package/message/message.module.d.ts +5 -3
- package/package.json +13 -38
- package/search/search-box/search-box.component.d.ts +1 -1
- package/search/search-input/search-input.component.d.ts +1 -1
- package/search/search.module.d.ts +5 -6
- package/side-sheet/side-sheet-container.d.ts +2 -2
- package/side-sheet/side-sheet.content-directives.d.ts +5 -5
- package/side-sheet/side-sheet.d.ts +1 -1
- package/side-sheet/side-sheet.module.d.ts +5 -4
- package/theming/prebuilt/all-theme-dark.css +1 -1
- package/theming/prebuilt/all-theme-dark.css.map +1 -1
- package/theming/prebuilt/all-theme-light.css +1 -1
- package/theming/prebuilt/all-theme-light.css.map +1 -1
- package/theming/prebuilt/blue-grey-deep-orange.css +1 -1
- package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
- package/theming/prebuilt/blue-orange.css +1 -1
- package/theming/prebuilt/blue-orange.css.map +1 -1
- package/theming/prebuilt/indigo-pink.css +1 -1
- package/theming/prebuilt/indigo-pink.css.map +1 -1
- package/theming/prebuilt/orange-light-blue.css +1 -1
- package/theming/prebuilt/orange-light-blue.css.map +1 -1
- package/theming/prebuilt/teal-orange.css +1 -1
- package/theming/prebuilt/teal-orange.css.map +1 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +1 -1
- package/user-profile/user-profile.component.d.ts +1 -1
- package/user-profile/user-profile.module.d.ts +5 -8
- package/esm2022/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -94
- package/esm2022/breadcrumbs/breadcrumbs.component.mjs +0 -142
- package/esm2022/breadcrumbs/breadcrumbs.module.mjs +0 -20
- package/esm2022/breadcrumbs/covalent-core-breadcrumbs.mjs +0 -5
- package/esm2022/breadcrumbs/public_api.mjs +0 -4
- package/esm2022/common/animations/bounce/bounce.animation.mjs +0 -70
- package/esm2022/common/animations/collapse/collapse.animation.mjs +0 -51
- package/esm2022/common/animations/common/interfaces.mjs +0 -2
- package/esm2022/common/animations/fade/fadeInOut.animation.mjs +0 -37
- package/esm2022/common/animations/flash/flash.animation.mjs +0 -34
- package/esm2022/common/animations/headshake/headshake.animation.mjs +0 -47
- package/esm2022/common/animations/jello/jello.animation.mjs +0 -59
- package/esm2022/common/animations/pulse/pulse.animation.mjs +0 -32
- package/esm2022/common/animations/rotate/rotate.animation.mjs +0 -30
- package/esm2022/common/behaviors/control-value-accesor.mixin.mjs +0 -43
- package/esm2022/common/behaviors/disable-ripple.mixin.mjs +0 -24
- package/esm2022/common/behaviors/disabled.mixin.mjs +0 -24
- package/esm2022/common/common.module.mjs +0 -83
- package/esm2022/common/covalent-core-common.mjs +0 -5
- package/esm2022/common/directives/fullscreen/fullscreen.directive.mjs +0 -87
- package/esm2022/common/forms/auto-trim/auto-trim.directive.mjs +0 -37
- package/esm2022/common/forms/validators/validators.mjs +0 -29
- package/esm2022/common/functions/clipboard.mjs +0 -23
- package/esm2022/common/functions/convert.mjs +0 -84
- package/esm2022/common/functions/download.mjs +0 -75
- package/esm2022/common/functions/file.mjs +0 -16
- package/esm2022/common/pipes/bytes/bytes.pipe.mjs +0 -42
- package/esm2022/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +0 -42
- package/esm2022/common/pipes/digits/digits.pipe.mjs +0 -41
- package/esm2022/common/pipes/time-ago/time-ago.pipe.mjs +0 -72
- package/esm2022/common/pipes/time-difference/time-difference.pipe.mjs +0 -51
- package/esm2022/common/pipes/time-until/time-until.pipe.mjs +0 -72
- package/esm2022/common/pipes/truncate/truncate.pipe.mjs +0 -27
- package/esm2022/common/public_api.mjs +0 -39
- package/esm2022/common/services/icon.service.mjs +0 -1087
- package/esm2022/common/services/router-path.service.mjs +0 -30
- package/esm2022/covalent-core.mjs +0 -5
- package/esm2022/dialogs/alert-dialog/alert-dialog.component.mjs +0 -26
- package/esm2022/dialogs/confirm-dialog/confirm-dialog.component.mjs +0 -31
- package/esm2022/dialogs/covalent-core-dialogs.mjs +0 -5
- package/esm2022/dialogs/dialog.component.mjs +0 -75
- package/esm2022/dialogs/dialogs.module.mjs +0 -94
- package/esm2022/dialogs/prompt-dialog/prompt-dialog.component.mjs +0 -84
- package/esm2022/dialogs/public_api.mjs +0 -10
- package/esm2022/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +0 -222
- package/esm2022/dialogs/services/dialog.service.mjs +0 -215
- package/esm2022/dialogs/status-dialog/status-dialog.component.mjs +0 -55
- package/esm2022/dialogs/window-dialog/window-dialog.component.mjs +0 -40
- package/esm2022/dynamic-menu/covalent-core-dynamic-menu.mjs +0 -5
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +0 -30
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +0 -23
- package/esm2022/dynamic-menu/dynamic-menu.component.mjs +0 -28
- package/esm2022/dynamic-menu/dynamic-menu.menu.mjs +0 -2
- package/esm2022/dynamic-menu/dynamic-menu.module.mjs +0 -55
- package/esm2022/dynamic-menu/public_api.mjs +0 -6
- package/esm2022/file/covalent-core-file.mjs +0 -5
- package/esm2022/file/directives/file-drop.directive.mjs +0 -145
- package/esm2022/file/directives/file-select.directive.mjs +0 -78
- package/esm2022/file/file-input/file-input.component.mjs +0 -146
- package/esm2022/file/file-upload/file-upload.component.mjs +0 -188
- package/esm2022/file/file.module.mjs +0 -56
- package/esm2022/file/public_api.mjs +0 -7
- package/esm2022/file/services/file.service.mjs +0 -66
- package/esm2022/json-formatter/collapse.animation.mjs +0 -51
- package/esm2022/json-formatter/covalent-core-json-formatter.mjs +0 -5
- package/esm2022/json-formatter/json-formatter.component.mjs +0 -222
- package/esm2022/json-formatter/json-formatter.module.mjs +0 -20
- package/esm2022/json-formatter/public_api.mjs +0 -3
- package/esm2022/layout/covalent-core-layout.mjs +0 -5
- package/esm2022/layout/layout-card-over/layout-card-over.component.mjs +0 -50
- package/esm2022/layout/layout-footer/layout-footer.component.mjs +0 -36
- package/esm2022/layout/layout-manage-list/layout-manage-list.component.mjs +0 -92
- package/esm2022/layout/layout-manage-list/layout-manage-list.directives.mjs +0 -84
- package/esm2022/layout/layout-nav/layout-nav.component.mjs +0 -76
- package/esm2022/layout/layout-nav-list/layout-nav-list.component.mjs +0 -154
- package/esm2022/layout/layout-nav-list/layout-nav-list.directives.mjs +0 -84
- package/esm2022/layout/layout-toggle.class.mjs +0 -96
- package/esm2022/layout/layout.component.mjs +0 -91
- package/esm2022/layout/layout.directives.mjs +0 -85
- package/esm2022/layout/layout.module.mjs +0 -115
- package/esm2022/layout/navigation-drawer/navigation-drawer.component.mjs +0 -221
- package/esm2022/layout/public_api.mjs +0 -13
- package/esm2022/loading/covalent-core-loading.mjs +0 -5
- package/esm2022/loading/directives/loading.directive.mjs +0 -133
- package/esm2022/loading/loading.component.mjs +0 -193
- package/esm2022/loading/loading.module.mjs +0 -41
- package/esm2022/loading/public_api.mjs +0 -6
- package/esm2022/loading/services/loading.factory.mjs +0 -210
- package/esm2022/loading/services/loading.service.mjs +0 -219
- package/esm2022/menu/covalent-core-menu.mjs +0 -5
- package/esm2022/menu/menu.component.mjs +0 -12
- package/esm2022/menu/menu.module.mjs +0 -21
- package/esm2022/menu/public_api.mjs +0 -3
- package/esm2022/message/collapse.animation.mjs +0 -51
- package/esm2022/message/covalent-core-message.mjs +0 -5
- package/esm2022/message/message.component.mjs +0 -222
- package/esm2022/message/message.module.mjs +0 -25
- package/esm2022/message/public_api.mjs +0 -3
- package/esm2022/public_api.mjs +0 -2
- package/esm2022/search/covalent-core-search.mjs +0 -5
- package/esm2022/search/public_api.mjs +0 -4
- package/esm2022/search/search-box/search-box.component.mjs +0 -198
- package/esm2022/search/search-input/search-input.component.mjs +0 -219
- package/esm2022/search/search.module.mjs +0 -37
- package/esm2022/side-sheet/covalent-core-side-sheet.mjs +0 -5
- package/esm2022/side-sheet/public_api.mjs +0 -6
- package/esm2022/side-sheet/side-sheet-container.mjs +0 -285
- package/esm2022/side-sheet/side-sheet-ref.mjs +0 -30
- package/esm2022/side-sheet/side-sheet.animation.mjs +0 -12
- package/esm2022/side-sheet/side-sheet.config.mjs +0 -11
- package/esm2022/side-sheet/side-sheet.content-directives.mjs +0 -206
- package/esm2022/side-sheet/side-sheet.mjs +0 -236
- package/esm2022/side-sheet/side-sheet.module.mjs +0 -45
- package/esm2022/user-profile/covalent-core-user-profile.mjs +0 -5
- package/esm2022/user-profile/public_api.mjs +0 -4
- package/esm2022/user-profile/user-profile-menu/user-profile-menu.component.mjs +0 -25
- package/esm2022/user-profile/user-profile.component.mjs +0 -21
- package/esm2022/user-profile/user-profile.module.mjs +0 -42
@@ -1,21 +1,19 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { EventEmitter, Directive, Optional, Host, Input, Output, HostBinding, HostListener,
|
3
|
-
import
|
4
|
-
import { CommonModule } from '@angular/common';
|
2
|
+
import { EventEmitter, Directive, Optional, Host, Input, Output, HostBinding, HostListener, ElementRef, forwardRef, Component, ChangeDetectionStrategy, ViewChild, ContentChild, Injectable, NgModule } from '@angular/core';
|
3
|
+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
5
4
|
import * as i1 from '@angular/forms';
|
6
5
|
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
7
|
-
import
|
8
|
-
import { TemplatePortalDirective, PortalModule } from '@angular/cdk/portal';
|
9
|
-
import * as i3 from '@angular/material/icon';
|
10
|
-
import { MatIconModule } from '@angular/material/icon';
|
11
|
-
import * as i4 from '@angular/material/button';
|
12
|
-
import { MatButtonModule } from '@angular/material/button';
|
13
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
6
|
+
import { TemplatePortalDirective, CdkPortalOutlet } from '@angular/cdk/portal';
|
14
7
|
import { ENTER } from '@angular/cdk/keycodes';
|
15
8
|
import { Subject, merge, fromEvent } from 'rxjs';
|
16
9
|
import { filter, takeUntil, tap } from 'rxjs/operators';
|
17
10
|
import { mixinControlValueAccessor, mixinDisabled } from '@covalent/core/common';
|
18
|
-
import * as
|
11
|
+
import * as i3 from '@angular/material/button';
|
12
|
+
import { MatButtonModule } from '@angular/material/button';
|
13
|
+
import { MatIcon } from '@angular/material/icon';
|
14
|
+
import * as i1$1 from '@angular/common';
|
15
|
+
import { CommonModule } from '@angular/common';
|
16
|
+
import * as i1$2 from '@angular/common/http';
|
19
17
|
import { HttpRequest, HttpHeaders, HttpParams, HttpEventType } from '@angular/common/http';
|
20
18
|
|
21
19
|
class TdFileSelectDirective {
|
@@ -66,29 +64,33 @@ class TdFileSelectDirective {
|
|
66
64
|
}
|
67
65
|
}
|
68
66
|
}
|
69
|
-
static ɵfac =
|
70
|
-
static ɵdir = i0.ɵɵ
|
67
|
+
static ɵfac = function TdFileSelectDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdFileSelectDirective)(i0.ɵɵdirectiveInject(i1.NgModel, 9)); };
|
68
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdFileSelectDirective, selectors: [["", "tdFileSelect", ""]], hostVars: 1, hostBindings: function TdFileSelectDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
69
|
+
i0.ɵɵlistener("change", function TdFileSelectDirective_change_HostBindingHandler($event) { return ctx.onChange($event); });
|
70
|
+
} if (rf & 2) {
|
71
|
+
i0.ɵɵattribute("multiple", ctx.multipleBinding);
|
72
|
+
} }, inputs: { multiple: "multiple" }, outputs: { fileSelect: "fileSelect" } });
|
71
73
|
}
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
74
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdFileSelectDirective, [{
|
75
|
+
type: Directive,
|
76
|
+
args: [{
|
77
|
+
selector: '[tdFileSelect]',
|
78
|
+
}]
|
79
|
+
}], () => [{ type: i1.NgModel, decorators: [{
|
80
|
+
type: Optional
|
81
|
+
}, {
|
82
|
+
type: Host
|
83
|
+
}] }], { multiple: [{
|
84
|
+
type: Input
|
85
|
+
}], fileSelect: [{
|
86
|
+
type: Output
|
87
|
+
}], multipleBinding: [{
|
88
|
+
type: HostBinding,
|
89
|
+
args: ['attr.multiple']
|
90
|
+
}], onChange: [{
|
91
|
+
type: HostListener,
|
92
|
+
args: ['change', ['$event']]
|
93
|
+
}] }); })();
|
92
94
|
|
93
95
|
class TdFileDropBase {
|
94
96
|
}
|
@@ -209,42 +211,49 @@ class TdFileDropDirective {
|
|
209
211
|
event.preventDefault();
|
210
212
|
event.stopPropagation();
|
211
213
|
}
|
212
|
-
static ɵfac =
|
213
|
-
static ɵdir = i0.ɵɵ
|
214
|
+
static ɵfac = function TdFileDropDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdFileDropDirective)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
|
215
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdFileDropDirective, selectors: [["", "tdFileDrop", ""]], hostVars: 2, hostBindings: function TdFileDropDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
216
|
+
i0.ɵɵlistener("drop", function TdFileDropDirective_drop_HostBindingHandler($event) { return ctx.onDrop($event); });
|
217
|
+
} if (rf & 2) {
|
218
|
+
i0.ɵɵattribute("multiple", ctx.multipleBinding)("disabled", ctx.disabledBinding);
|
219
|
+
} }, inputs: { multiple: "multiple", disabled: "disabled" }, outputs: { fileDrop: "fileDrop" } });
|
214
220
|
}
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
221
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdFileDropDirective, [{
|
222
|
+
type: Directive,
|
223
|
+
args: [{ selector: '[tdFileDrop]' }]
|
224
|
+
}], () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }], { multiple: [{
|
225
|
+
type: Input
|
226
|
+
}], disabled: [{
|
227
|
+
type: Input
|
228
|
+
}], fileDrop: [{
|
229
|
+
type: Output
|
230
|
+
}], multipleBinding: [{
|
231
|
+
type: HostBinding,
|
232
|
+
args: ['attr.multiple']
|
233
|
+
}], disabledBinding: [{
|
234
|
+
type: HostBinding,
|
235
|
+
args: ['attr.disabled']
|
236
|
+
}], onDrop: [{
|
237
|
+
type: HostListener,
|
238
|
+
args: ['drop', ['$event']]
|
239
|
+
}] }); })();
|
234
240
|
|
241
|
+
const _c0$1 = ["fileInputButton"];
|
242
|
+
const _c1 = ["fileInput"];
|
243
|
+
const _c2 = ["*"];
|
235
244
|
class TdFileInputLabelDirective extends TemplatePortalDirective {
|
236
245
|
constructor(templateRef, viewContainerRef) {
|
237
246
|
super(templateRef, viewContainerRef);
|
238
247
|
}
|
239
|
-
static ɵfac =
|
240
|
-
static ɵdir = i0.ɵɵ
|
248
|
+
static ɵfac = function TdFileInputLabelDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdFileInputLabelDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
249
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdFileInputLabelDirective, selectors: [["ng-template", "tdFileInputLabel", ""]], features: [i0.ɵɵInheritDefinitionFeature] });
|
241
250
|
}
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
251
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdFileInputLabelDirective, [{
|
252
|
+
type: Directive,
|
253
|
+
args: [{
|
254
|
+
selector: '[tdFileInputLabel]ng-template',
|
255
|
+
}]
|
256
|
+
}], () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }], null); })();
|
248
257
|
class TdFileInputBase {
|
249
258
|
_changeDetectorRef;
|
250
259
|
constructor(_changeDetectorRef) {
|
@@ -332,40 +341,97 @@ class TdFileInputComponent extends _TdFileInputMixinBase {
|
|
332
341
|
setDisabledState(isDisabled) {
|
333
342
|
this.disabled = isDisabled;
|
334
343
|
}
|
335
|
-
static ɵfac =
|
336
|
-
static ɵcmp = i0.ɵɵ
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
344
|
+
static ɵfac = function TdFileInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdFileInputComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
345
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdFileInputComponent, selectors: [["td-file-input"]], viewQuery: function TdFileInputComponent_Query(rf, ctx) { if (rf & 1) {
|
346
|
+
i0.ɵɵviewQuery(_c0$1, 7, ElementRef);
|
347
|
+
i0.ɵɵviewQuery(_c1, 7);
|
348
|
+
} if (rf & 2) {
|
349
|
+
let _t;
|
350
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._inputButton = _t.first);
|
351
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._inputElement = _t.first);
|
352
|
+
} }, inputs: { disabled: "disabled", value: "value", color: "color", multiple: "multiple", accept: "accept" }, outputs: { selectFile: "selectFile" }, features: [i0.ɵɵProvidersFeature([
|
353
|
+
{
|
354
|
+
provide: NG_VALUE_ACCESSOR,
|
355
|
+
useExisting: forwardRef(() => TdFileInputComponent),
|
356
|
+
multi: true,
|
357
|
+
},
|
358
|
+
]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c2, decls: 5, vars: 6, consts: [["fileInputButton", ""], ["fileInput", ""], ["mat-stroked-button", "", "type", "button", "tdFileDrop", "", 1, "td-file-input", 3, "fileDrop", "color", "multiple", "disabled"], ["type", "file", "tdFileSelect", "", 1, "td-file-input-hidden", 3, "fileSelect", "multiple", "disabled"]], template: function TdFileInputComponent_Template(rf, ctx) { if (rf & 1) {
|
359
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
360
|
+
i0.ɵɵprojectionDef();
|
361
|
+
i0.ɵɵelementStart(0, "button", 2, 0);
|
362
|
+
i0.ɵɵlistener("fileDrop", function TdFileInputComponent_Template_button_fileDrop_0_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleSelect($event)); });
|
363
|
+
i0.ɵɵprojection(2);
|
364
|
+
i0.ɵɵelementEnd();
|
365
|
+
i0.ɵɵelementStart(3, "input", 3, 1);
|
366
|
+
i0.ɵɵlistener("fileSelect", function TdFileInputComponent_Template_input_fileSelect_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleSelect($event)); });
|
367
|
+
i0.ɵɵelementEnd();
|
368
|
+
} if (rf & 2) {
|
369
|
+
i0.ɵɵproperty("color", ctx.color)("multiple", ctx.multiple)("disabled", ctx.disabled);
|
370
|
+
i0.ɵɵadvance(3);
|
371
|
+
i0.ɵɵproperty("multiple", ctx.multiple)("disabled", ctx.disabled);
|
372
|
+
i0.ɵɵattribute("accept", ctx.accept);
|
373
|
+
} }, dependencies: [MatButtonModule, i3.MatButton, TdFileDropDirective, TdFileSelectDirective], styles: ["[_nghost-%COMP%] .td-file-input[_ngcontent-%COMP%]{padding-left:8px;padding-right:8px}[_nghost-%COMP%] input.td-file-input-hidden[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .mdc-button__label{display:flex;align-items:center}[_nghost-%COMP%] .drop-zone[_ngcontent-%COMP%]{border-radius:3px}[_nghost-%COMP%] .drop-zone[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}"], changeDetection: 0 });
|
343
374
|
}
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
375
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdFileInputComponent, [{
|
376
|
+
type: Component,
|
377
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
378
|
+
{
|
379
|
+
provide: NG_VALUE_ACCESSOR,
|
380
|
+
useExisting: forwardRef(() => TdFileInputComponent),
|
381
|
+
multi: true,
|
382
|
+
},
|
383
|
+
], selector: 'td-file-input', inputs: ['disabled', 'value'], imports: [MatButtonModule, TdFileDropDirective, TdFileSelectDirective], template: "<button\n #fileInputButton\n mat-stroked-button\n class=\"td-file-input\"\n type=\"button\"\n [color]=\"color\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n (fileDrop)=\"handleSelect($event)\"\n tdFileDrop\n>\n <ng-content></ng-content>\n</button>\n<input\n #fileInput\n class=\"td-file-input-hidden\"\n type=\"file\"\n [attr.accept]=\"accept\"\n (fileSelect)=\"handleSelect($event)\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n tdFileSelect\n/>\n", styles: [":host .td-file-input{padding-left:8px;padding-right:8px}:host input.td-file-input-hidden{display:none}:host ::ng-deep .mdc-button__label{display:flex;align-items:center}:host .drop-zone{border-radius:3px}:host .drop-zone *{pointer-events:none}\n"] }]
|
384
|
+
}], () => [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }], { _inputButton: [{
|
385
|
+
type: ViewChild,
|
386
|
+
args: ['fileInputButton', { static: true, read: ElementRef }]
|
387
|
+
}], _inputElement: [{
|
388
|
+
type: ViewChild,
|
389
|
+
args: ['fileInput', { static: true }]
|
390
|
+
}], color: [{
|
391
|
+
type: Input
|
392
|
+
}], multiple: [{
|
393
|
+
type: Input
|
394
|
+
}], accept: [{
|
395
|
+
type: Input
|
396
|
+
}], selectFile: [{
|
397
|
+
type: Output
|
398
|
+
}] }); })();
|
399
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdFileInputComponent, { className: "TdFileInputComponent", filePath: "file-input/file-input.component.ts", lineNumber: 71 }); })();
|
368
400
|
|
401
|
+
const _c0 = ["*"];
|
402
|
+
function TdFileUploadComponent_td_file_input_0_ng_template_1_Template(rf, ctx) { }
|
403
|
+
function TdFileUploadComponent_td_file_input_0_Template(rf, ctx) { if (rf & 1) {
|
404
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
405
|
+
i0.ɵɵelementStart(0, "td-file-input", 3);
|
406
|
+
i0.ɵɵtwoWayListener("ngModelChange", function TdFileUploadComponent_td_file_input_0_Template_td_file_input_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.value, $event) || (ctx_r1.value = $event); return i0.ɵɵresetView($event); });
|
407
|
+
i0.ɵɵlistener("selectFile", function TdFileUploadComponent_td_file_input_0_Template_td_file_input_selectFile_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleSelect(ctx_r1.value)); });
|
408
|
+
i0.ɵɵtemplate(1, TdFileUploadComponent_td_file_input_0_ng_template_1_Template, 0, 0, "ng-template", 4);
|
409
|
+
i0.ɵɵelementEnd();
|
410
|
+
} if (rf & 2) {
|
411
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
412
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.value);
|
413
|
+
i0.ɵɵproperty("multiple", ctx_r1.multiple)("disabled", ctx_r1.disabled)("accept", ctx_r1.accept)("color", ctx_r1.defaultColor);
|
414
|
+
i0.ɵɵadvance();
|
415
|
+
i0.ɵɵproperty("cdkPortalOutlet", ctx_r1.inputLabel)("ngIf", true);
|
416
|
+
} }
|
417
|
+
function TdFileUploadComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
418
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
419
|
+
i0.ɵɵelementStart(0, "div")(1, "button", 5, 0);
|
420
|
+
i0.ɵɵlistener("keyup.delete", function TdFileUploadComponent_div_1_Template_button_keyup_delete_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1._cancel()); })("keyup.backspace", function TdFileUploadComponent_div_1_Template_button_keyup_backspace_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1._cancel()); })("keyup.escape", function TdFileUploadComponent_div_1_Template_button_keyup_escape_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1._cancel()); })("click", function TdFileUploadComponent_div_1_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.uploadPressed()); });
|
421
|
+
i0.ɵɵprojection(3);
|
422
|
+
i0.ɵɵelementEnd();
|
423
|
+
i0.ɵɵelementStart(4, "button", 6);
|
424
|
+
i0.ɵɵlistener("click", function TdFileUploadComponent_div_1_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1._cancel()); });
|
425
|
+
i0.ɵɵelementStart(5, "mat-icon");
|
426
|
+
i0.ɵɵtext(6, "cancel");
|
427
|
+
i0.ɵɵelementEnd()()();
|
428
|
+
} if (rf & 2) {
|
429
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
430
|
+
i0.ɵɵadvance();
|
431
|
+
i0.ɵɵproperty("color", ctx_r1.activeColor);
|
432
|
+
i0.ɵɵadvance(3);
|
433
|
+
i0.ɵɵproperty("color", ctx_r1.cancelColor);
|
434
|
+
} }
|
369
435
|
class TdFileUploadBase {
|
370
436
|
_changeDetectorRef;
|
371
437
|
constructor(_changeDetectorRef) {
|
@@ -495,53 +561,71 @@ class TdFileUploadComponent {
|
|
495
561
|
this._cancel();
|
496
562
|
}
|
497
563
|
}
|
498
|
-
static ɵfac =
|
499
|
-
static ɵcmp = i0.ɵɵ
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
564
|
+
static ɵfac = function TdFileUploadComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdFileUploadComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
565
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdFileUploadComponent, selectors: [["td-file-upload"]], contentQueries: function TdFileUploadComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
566
|
+
i0.ɵɵcontentQuery(dirIndex, TdFileInputLabelDirective, 5);
|
567
|
+
} if (rf & 2) {
|
568
|
+
let _t;
|
569
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputLabel = _t.first);
|
570
|
+
} }, viewQuery: function TdFileUploadComponent_Query(rf, ctx) { if (rf & 1) {
|
571
|
+
i0.ɵɵviewQuery(TdFileInputComponent, 5);
|
572
|
+
} if (rf & 2) {
|
573
|
+
let _t;
|
574
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
575
|
+
} }, inputs: { defaultColor: "defaultColor", activeColor: "activeColor", cancelColor: "cancelColor", multiple: "multiple", required: "required", accept: "accept", disabled: "disabled", value: "value" }, outputs: { selectFile: "selectFile", upload: "upload", cancel: "cancel" }, features: [i0.ɵɵProvidersFeature([
|
576
|
+
{
|
577
|
+
provide: NG_VALUE_ACCESSOR,
|
578
|
+
useExisting: forwardRef(() => TdFileUploadComponent),
|
579
|
+
multi: true,
|
580
|
+
},
|
581
|
+
])], ngContentSelectors: _c0, decls: 2, vars: 2, consts: [["fileUpload", ""], [3, "ngModel", "multiple", "disabled", "accept", "color", "ngModelChange", "selectFile", 4, "ngIf"], [4, "ngIf"], [3, "ngModelChange", "selectFile", "ngModel", "multiple", "disabled", "accept", "color"], [3, "cdkPortalOutlet", "ngIf"], ["mat-raised-button", "", "type", "button", 1, "td-file-upload", 3, "keyup.delete", "keyup.backspace", "keyup.escape", "click", "color"], ["mat-icon-button", "", "type", "button", 1, "td-file-upload-cancel", 3, "click", "color"]], template: function TdFileUploadComponent_Template(rf, ctx) { if (rf & 1) {
|
582
|
+
i0.ɵɵprojectionDef();
|
583
|
+
i0.ɵɵtemplate(0, TdFileUploadComponent_td_file_input_0_Template, 2, 7, "td-file-input", 1)(1, TdFileUploadComponent_div_1_Template, 7, 2, "div", 2);
|
584
|
+
} if (rf & 2) {
|
585
|
+
i0.ɵɵproperty("ngIf", !ctx.value);
|
586
|
+
i0.ɵɵadvance();
|
587
|
+
i0.ɵɵproperty("ngIf", ctx.value);
|
588
|
+
} }, dependencies: [CommonModule, i1$1.NgIf, FormsModule, i1.NgControlStatus, i1.NgModel, TdFileInputComponent, MatButtonModule, i3.MatButton, i3.MatIconButton, MatIcon, CdkPortalOutlet], styles: [".td-file-upload[_ngcontent-%COMP%]{padding-left:8px;padding-right:8px}.td-file-upload-cancel[_ngcontent-%COMP%]{height:24px;width:24px;position:relative;top:24px;left:-12px} [dir=rtl] .td-file-upload-cancel{right:-12px;left:0}.td-file-upload-cancel[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{border-radius:12px;vertical-align:baseline}.drop-zone[_ngcontent-%COMP%]{border-radius:3px}.drop-zone[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{pointer-events:none}"], changeDetection: 0 });
|
506
589
|
}
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
590
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdFileUploadComponent, [{
|
591
|
+
type: Component,
|
592
|
+
args: [{ changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
593
|
+
{
|
594
|
+
provide: NG_VALUE_ACCESSOR,
|
595
|
+
useExisting: forwardRef(() => TdFileUploadComponent),
|
596
|
+
multi: true,
|
597
|
+
},
|
598
|
+
], selector: 'td-file-upload', imports: [CommonModule, FormsModule, TdFileInputComponent, MatButtonModule, MatIcon, CdkPortalOutlet], template: "<td-file-input\n *ngIf=\"!value\"\n [(ngModel)]=\"value\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n [accept]=\"accept\"\n [color]=\"defaultColor\"\n (selectFile)=\"handleSelect(value)\"\n>\n <ng-template [cdkPortalOutlet]=\"inputLabel\" [ngIf]=\"true\"></ng-template>\n</td-file-input>\n<div *ngIf=\"value\">\n <button\n #fileUpload\n class=\"td-file-upload\"\n mat-raised-button\n type=\"button\"\n [color]=\"activeColor\"\n (keyup.delete)=\"_cancel()\"\n (keyup.backspace)=\"_cancel()\"\n (keyup.escape)=\"_cancel()\"\n (click)=\"uploadPressed()\"\n >\n <ng-content></ng-content>\n </button>\n <button\n mat-icon-button\n type=\"button\"\n class=\"td-file-upload-cancel\"\n [color]=\"cancelColor\"\n (click)=\"_cancel()\"\n >\n <mat-icon>cancel</mat-icon>\n </button>\n</div>\n", styles: [".td-file-upload{padding-left:8px;padding-right:8px}.td-file-upload-cancel{height:24px;width:24px;position:relative;top:24px;left:-12px}::ng-deep [dir=rtl] .td-file-upload-cancel{right:-12px;left:0}.td-file-upload-cancel mat-icon{border-radius:12px;vertical-align:baseline}.drop-zone{border-radius:3px}.drop-zone *{pointer-events:none}\n"] }]
|
599
|
+
}], () => [{ type: i0.ChangeDetectorRef }], { fileInput: [{
|
600
|
+
type: ViewChild,
|
601
|
+
args: [TdFileInputComponent]
|
602
|
+
}], inputLabel: [{
|
603
|
+
type: ContentChild,
|
604
|
+
args: [TdFileInputLabelDirective]
|
605
|
+
}], defaultColor: [{
|
606
|
+
type: Input
|
607
|
+
}], activeColor: [{
|
608
|
+
type: Input
|
609
|
+
}], cancelColor: [{
|
610
|
+
type: Input
|
611
|
+
}], multiple: [{
|
612
|
+
type: Input
|
613
|
+
}], required: [{
|
614
|
+
type: Input
|
615
|
+
}], accept: [{
|
616
|
+
type: Input
|
617
|
+
}], disabled: [{
|
618
|
+
type: Input
|
619
|
+
}], value: [{
|
620
|
+
type: Input
|
621
|
+
}], selectFile: [{
|
622
|
+
type: Output
|
623
|
+
}], upload: [{
|
624
|
+
type: Output
|
625
|
+
}], cancel: [{
|
626
|
+
type: Output
|
627
|
+
}] }); })();
|
628
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdFileUploadComponent, { className: "TdFileUploadComponent", filePath: "file-upload/file-upload.component.ts", lineNumber: 41 }); })();
|
545
629
|
|
546
630
|
class TdFileService {
|
547
631
|
_http;
|
@@ -594,14 +678,14 @@ class TdFileService {
|
|
594
678
|
break;
|
595
679
|
}
|
596
680
|
}
|
597
|
-
static ɵfac =
|
598
|
-
static ɵprov = i0.ɵɵ
|
681
|
+
static ɵfac = function TdFileService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdFileService)(i0.ɵɵinject(i1$2.HttpClient, 8)); };
|
682
|
+
static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TdFileService, factory: TdFileService.ɵfac });
|
599
683
|
}
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
684
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdFileService, [{
|
685
|
+
type: Injectable
|
686
|
+
}], () => [{ type: i1$2.HttpClient, decorators: [{
|
687
|
+
type: Optional
|
688
|
+
}] }], null); })();
|
605
689
|
|
606
690
|
const TD_FILE = [
|
607
691
|
TdFileSelectDirective,
|
@@ -610,42 +694,33 @@ const TD_FILE = [
|
|
610
694
|
TdFileInputComponent,
|
611
695
|
TdFileInputLabelDirective,
|
612
696
|
];
|
697
|
+
/**
|
698
|
+
* @deprecated This module is deprecated and will be removed in future versions.
|
699
|
+
* Please migrate to using standalone components as soon as possible.
|
700
|
+
*/
|
613
701
|
class CovalentFileModule {
|
614
|
-
static ɵfac =
|
615
|
-
static ɵmod = i0.ɵɵ
|
616
|
-
|
617
|
-
|
618
|
-
TdFileInputComponent,
|
619
|
-
TdFileInputLabelDirective], imports: [FormsModule,
|
620
|
-
CommonModule,
|
621
|
-
MatIconModule,
|
622
|
-
MatButtonModule,
|
623
|
-
PortalModule], exports: [TdFileSelectDirective,
|
624
|
-
TdFileDropDirective,
|
625
|
-
TdFileUploadComponent,
|
626
|
-
TdFileInputComponent,
|
627
|
-
TdFileInputLabelDirective] });
|
628
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentFileModule, providers: [TdFileService], imports: [FormsModule,
|
629
|
-
CommonModule,
|
630
|
-
MatIconModule,
|
631
|
-
MatButtonModule,
|
632
|
-
PortalModule] });
|
702
|
+
static ɵfac = function CovalentFileModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CovalentFileModule)(); };
|
703
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CovalentFileModule });
|
704
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [TdFileService], imports: [TdFileUploadComponent,
|
705
|
+
TdFileInputComponent] });
|
633
706
|
}
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
707
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentFileModule, [{
|
708
|
+
type: NgModule,
|
709
|
+
args: [{
|
710
|
+
imports: [TD_FILE],
|
711
|
+
exports: [TD_FILE],
|
712
|
+
providers: [TdFileService],
|
713
|
+
}]
|
714
|
+
}], null, null); })();
|
715
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentFileModule, { imports: [TdFileSelectDirective,
|
716
|
+
TdFileDropDirective,
|
717
|
+
TdFileUploadComponent,
|
718
|
+
TdFileInputComponent,
|
719
|
+
TdFileInputLabelDirective], exports: [TdFileSelectDirective,
|
720
|
+
TdFileDropDirective,
|
721
|
+
TdFileUploadComponent,
|
722
|
+
TdFileInputComponent,
|
723
|
+
TdFileInputLabelDirective] }); })();
|
649
724
|
|
650
725
|
/**
|
651
726
|
* Generated bundle index. Do not edit.
|