@covalent/core 9.1.3 → 10.0.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/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,22 +1,21 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { EventEmitter,
|
3
|
-
import
|
4
|
-
import { CommonModule } from '@angular/common';
|
2
|
+
import { EventEmitter, ElementRef, forwardRef, Component, ChangeDetectionStrategy, Optional, ViewChild, Input, Output, NgModule } from '@angular/core';
|
3
|
+
import { trigger, state, style, transition, animate, AUTO_STYLE } from '@angular/animations';
|
5
4
|
import * as i2 from '@angular/forms';
|
6
5
|
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
7
|
-
import * as i3 from '@angular/material/input';
|
8
|
-
import { MatInput, MatInputModule } from '@angular/material/input';
|
9
|
-
import * as i5 from '@angular/material/icon';
|
10
|
-
import { MatIconModule } from '@angular/material/icon';
|
11
|
-
import * as i6 from '@angular/material/button';
|
12
|
-
import { MatButtonModule } from '@angular/material/button';
|
13
|
-
import { trigger, state, style, transition, animate, AUTO_STYLE } from '@angular/animations';
|
14
6
|
import * as i1 from '@angular/cdk/bidi';
|
7
|
+
import { MatInput } from '@angular/material/input';
|
8
|
+
import { MatFormField } from '@angular/material/form-field';
|
15
9
|
import { Subject, fromEvent, noop } from 'rxjs';
|
16
10
|
import { debounceTime, skip, takeUntil } from 'rxjs/operators';
|
17
11
|
import { mixinControlValueAccessor } from '@covalent/core/common';
|
18
|
-
import
|
12
|
+
import { MatIcon } from '@angular/material/icon';
|
13
|
+
import * as i1$1 from '@angular/common';
|
14
|
+
import { CommonModule } from '@angular/common';
|
15
|
+
import { MatIconButton } from '@angular/material/button';
|
19
16
|
|
17
|
+
const _c0$1 = ["searchElement"];
|
18
|
+
function TdSearchInputComponent_ng_template_8_Template(rf, ctx) { }
|
20
19
|
class TdSearchInputBase {
|
21
20
|
_changeDetectorRef;
|
22
21
|
constructor(_changeDetectorRef) {
|
@@ -133,94 +132,145 @@ class TdSearchInputComponent extends _TdSearchInputMixinBase {
|
|
133
132
|
_stopPropagation(event) {
|
134
133
|
event.stopPropagation();
|
135
134
|
}
|
136
|
-
static ɵfac =
|
137
|
-
static ɵcmp = i0.ɵɵ
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
}
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
135
|
+
static ɵfac = function TdSearchInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdSearchInputComponent)(i0.ɵɵdirectiveInject(i1.Dir, 8), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
|
136
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdSearchInputComponent, selectors: [["td-search-input"]], viewQuery: function TdSearchInputComponent_Query(rf, ctx) { if (rf & 1) {
|
137
|
+
i0.ɵɵviewQuery(MatInput, 7);
|
138
|
+
i0.ɵɵviewQuery(_c0$1, 7, ElementRef);
|
139
|
+
} if (rf & 2) {
|
140
|
+
let _t;
|
141
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._input = _t.first);
|
142
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._searchElement = _t.first);
|
143
|
+
} }, inputs: { appearance: "appearance", showUnderline: "showUnderline", debounce: "debounce", placeholder: "placeholder", clearIcon: "clearIcon", value: "value" }, outputs: { searchDebounce: "searchDebounce", search: "search", clear: "clear", blurSearch: "blurSearch" }, features: [i0.ɵɵProvidersFeature([
|
144
|
+
{
|
145
|
+
provide: NG_VALUE_ACCESSOR,
|
146
|
+
useExisting: forwardRef(() => TdSearchInputComponent),
|
147
|
+
multi: true,
|
148
|
+
},
|
149
|
+
]), i0.ɵɵInheritDefinitionFeature], decls: 10, vars: 7, consts: [["searchElement", ""], ["clearButton", ""], [1, "td-search-input"], [1, "td-search-input-field", 3, "appearance"], ["matInput", "", "type", "search", 3, "ngModelChange", "blur", "keyup.enter", "ngModel", "placeholder"], [1, "td-search-input-clear-wrapper"], ["mat-icon-button", "", "type", "button", 1, "td-search-input-clear", 3, "click"]], template: function TdSearchInputComponent_Template(rf, ctx) { if (rf & 1) {
|
150
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
151
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "mat-form-field", 3)(2, "input", 4, 0);
|
152
|
+
i0.ɵɵtwoWayListener("ngModelChange", function TdSearchInputComponent_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.value, $event) || (ctx.value = $event); return i0.ɵɵresetView($event); });
|
153
|
+
i0.ɵɵlistener("blur", function TdSearchInputComponent_Template_input_blur_2_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur()); })("keyup.enter", function TdSearchInputComponent_Template_input_keyup_enter_2_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleSearch($event)); });
|
154
|
+
i0.ɵɵelementEnd()();
|
155
|
+
i0.ɵɵelementStart(4, "div", 5)(5, "button", 6);
|
156
|
+
i0.ɵɵlistener("click", function TdSearchInputComponent_Template_button_click_5_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.clearSearch()); });
|
157
|
+
i0.ɵɵelementStart(6, "mat-icon");
|
158
|
+
i0.ɵɵtext(7);
|
159
|
+
i0.ɵɵelementEnd()()()();
|
160
|
+
i0.ɵɵtemplate(8, TdSearchInputComponent_ng_template_8_Template, 0, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
161
|
+
} if (rf & 2) {
|
162
|
+
const searchElement_r2 = i0.ɵɵreference(3);
|
163
|
+
i0.ɵɵadvance();
|
164
|
+
i0.ɵɵclassProp("mat-hide-underline", !ctx.showUnderline);
|
165
|
+
i0.ɵɵproperty("appearance", ctx.appearance);
|
166
|
+
i0.ɵɵadvance();
|
167
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.value);
|
168
|
+
i0.ɵɵproperty("placeholder", ctx.placeholder);
|
169
|
+
i0.ɵɵadvance(3);
|
170
|
+
i0.ɵɵproperty("@searchState", searchElement_r2.value ? "show" : ctx.isRTL ? "hide-left" : "hide-right");
|
171
|
+
i0.ɵɵadvance(2);
|
172
|
+
i0.ɵɵtextInterpolate(ctx.clearIcon);
|
173
|
+
} }, dependencies: [CommonModule, FormsModule, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgModel, MatInput, MatFormField, MatIcon], styles: ["[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;align-content:center;max-width:100%;justify-content:flex-end}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] .td-search-input-field[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field{padding-right:48px}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field .mat-mdc-form-field-subscript-wrapper{display:none}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field.mat-form-field-appearance-outline .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field.mat-form-field-appearance-fill .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field.mat-form-field-appearance-fill .mat-form-field-wrapper .mat-form-field-flex{height:52px}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field.mat-form-field-appearance-fill .mat-form-field-wrapper .mat-form-field-underline{bottom:0}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field.mat-form-field-appearance-standard .mat-form-field-wrapper{padding-bottom:0}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field.mat-form-field-appearance-standard .mat-form-field-wrapper .mat-form-field-infix{bottom:.4em}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field.mat-form-field-appearance-standard .mat-form-field-wrapper .mat-form-field-underline{bottom:0}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field .mat-input-element{caret-color:currentColor}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] mat-form-field.mat-hide-underline .mat-form-field-underline{display:none}[_nghost-%COMP%] .td-search-input[_ngcontent-%COMP%] .td-search-input-clear[_ngcontent-%COMP%]{margin-left:-48px;margin-right:0;overflow:hidden}"], data: { animation: [
|
174
|
+
trigger('searchState', [
|
175
|
+
state('hide-left', style({
|
176
|
+
transform: 'translateX(-150%)',
|
177
|
+
opacity: 0,
|
178
|
+
display: 'none',
|
179
|
+
})),
|
180
|
+
state('hide-right', style({
|
181
|
+
transform: 'translateX(150%)',
|
182
|
+
opacity: 0,
|
183
|
+
display: 'none',
|
184
|
+
})),
|
185
|
+
state('show', style({
|
186
|
+
transform: 'translateX(0%)',
|
187
|
+
opacity: 1,
|
188
|
+
display: 'block',
|
189
|
+
})),
|
190
|
+
transition('* => show', animate('200ms ease-in')),
|
191
|
+
transition('show => *', animate('200ms ease-out')),
|
192
|
+
]),
|
193
|
+
] }, changeDetection: 0 });
|
164
194
|
}
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
195
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdSearchInputComponent, [{
|
196
|
+
type: Component,
|
197
|
+
args: [{ providers: [
|
198
|
+
{
|
199
|
+
provide: NG_VALUE_ACCESSOR,
|
200
|
+
useExisting: forwardRef(() => TdSearchInputComponent),
|
201
|
+
multi: true,
|
202
|
+
},
|
203
|
+
], selector: 'td-search-input', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatInput, MatFormField, MatIcon], animations: [
|
204
|
+
trigger('searchState', [
|
205
|
+
state('hide-left', style({
|
206
|
+
transform: 'translateX(-150%)',
|
207
|
+
opacity: 0,
|
208
|
+
display: 'none',
|
209
|
+
})),
|
210
|
+
state('hide-right', style({
|
211
|
+
transform: 'translateX(150%)',
|
212
|
+
opacity: 0,
|
213
|
+
display: 'none',
|
214
|
+
})),
|
215
|
+
state('show', style({
|
216
|
+
transform: 'translateX(0%)',
|
217
|
+
opacity: 1,
|
218
|
+
display: 'block',
|
219
|
+
})),
|
220
|
+
transition('* => show', animate('200ms ease-in')),
|
221
|
+
transition('show => *', animate('200ms ease-out')),
|
222
|
+
]),
|
223
|
+
], template: "<div class=\"td-search-input\">\n <mat-form-field\n class=\"td-search-input-field\"\n [class.mat-hide-underline]=\"!showUnderline\"\n [appearance]=\"appearance\"\n >\n <input\n matInput\n #searchElement\n type=\"search\"\n [(ngModel)]=\"value\"\n [placeholder]=\"placeholder\"\n (blur)=\"handleBlur()\"\n (keyup.enter)=\"handleSearch($event)\"\n />\n </mat-form-field>\n <div class=\"td-search-input-clear-wrapper\">\n <button mat-icon-button class=\"td-search-input-clear\" type=\"button\" [@searchState]=\"\n searchElement.value ? 'show' : isRTL ? 'hide-left' : 'hide-right'\n \" (click)=\"clearSearch()\">\n <mat-icon>{{ clearIcon }}</mat-icon>\n </button>\n </div>\n</div>\n\n<ng-template #clearButton>\n \n</ng-template>\n", styles: [":host .td-search-input{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;align-content:center;max-width:100%;justify-content:flex-end}:host .td-search-input .td-search-input-field{flex:1}:host .td-search-input ::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field{padding-right:48px}:host .td-search-input ::ng-deep mat-form-field .mat-mdc-form-field-subscript-wrapper{display:none}:host .td-search-input ::ng-deep mat-form-field.mat-form-field-appearance-outline .mat-form-field-wrapper{padding-bottom:0}:host .td-search-input ::ng-deep mat-form-field.mat-form-field-appearance-fill .mat-form-field-wrapper{padding-bottom:0}:host .td-search-input ::ng-deep mat-form-field.mat-form-field-appearance-fill .mat-form-field-wrapper .mat-form-field-flex{height:52px}:host .td-search-input ::ng-deep mat-form-field.mat-form-field-appearance-fill .mat-form-field-wrapper .mat-form-field-underline{bottom:0}:host .td-search-input ::ng-deep mat-form-field.mat-form-field-appearance-standard .mat-form-field-wrapper{padding-bottom:0}:host .td-search-input ::ng-deep mat-form-field.mat-form-field-appearance-standard .mat-form-field-wrapper .mat-form-field-infix{bottom:.4em}:host .td-search-input ::ng-deep mat-form-field.mat-form-field-appearance-standard .mat-form-field-wrapper .mat-form-field-underline{bottom:0}:host .td-search-input ::ng-deep mat-form-field .mat-input-element{caret-color:currentColor}:host .td-search-input ::ng-deep mat-form-field.mat-hide-underline .mat-form-field-underline{display:none}:host .td-search-input .td-search-input-clear{margin-left:-48px;margin-right:0;overflow:hidden}\n"] }]
|
224
|
+
}], () => [{ type: i1.Dir, decorators: [{
|
225
|
+
type: Optional
|
226
|
+
}] }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }], { _input: [{
|
227
|
+
type: ViewChild,
|
228
|
+
args: [MatInput, { static: true }]
|
229
|
+
}], _searchElement: [{
|
230
|
+
type: ViewChild,
|
231
|
+
args: ['searchElement', { static: true, read: ElementRef }]
|
232
|
+
}], appearance: [{
|
233
|
+
type: Input
|
234
|
+
}], showUnderline: [{
|
235
|
+
type: Input
|
236
|
+
}], debounce: [{
|
237
|
+
type: Input
|
238
|
+
}], placeholder: [{
|
239
|
+
type: Input
|
240
|
+
}], clearIcon: [{
|
241
|
+
type: Input
|
242
|
+
}], value: [{
|
243
|
+
type: Input
|
244
|
+
}], searchDebounce: [{
|
245
|
+
type: Output
|
246
|
+
}], search: [{
|
247
|
+
type: Output
|
248
|
+
}], clear: [{
|
249
|
+
type: Output
|
250
|
+
}], blurSearch: [{
|
251
|
+
type: Output
|
252
|
+
}] }); })();
|
253
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdSearchInputComponent, { className: "TdSearchInputComponent", filePath: "search-input/search-input.component.ts", lineNumber: 87 }); })();
|
223
254
|
|
255
|
+
const _c0 = a0 => ({ "td-search-icon-active": a0 });
|
256
|
+
function TdSearchBoxComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
257
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
258
|
+
i0.ɵɵtext(1);
|
259
|
+
i0.ɵɵelementEnd();
|
260
|
+
} if (rf & 2) {
|
261
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
262
|
+
i0.ɵɵadvance();
|
263
|
+
i0.ɵɵtextInterpolate(ctx_r1.backIcon);
|
264
|
+
} }
|
265
|
+
function TdSearchBoxComponent_mat_icon_3_Template(rf, ctx) { if (rf & 1) {
|
266
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
267
|
+
i0.ɵɵtext(1);
|
268
|
+
i0.ɵɵelementEnd();
|
269
|
+
} if (rf & 2) {
|
270
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
271
|
+
i0.ɵɵadvance();
|
272
|
+
i0.ɵɵtextInterpolate(ctx_r1.searchIcon);
|
273
|
+
} }
|
224
274
|
class TdSearchBoxBase {
|
225
275
|
_changeDetectorRef;
|
226
276
|
constructor(_changeDetectorRef) {
|
@@ -335,106 +385,123 @@ class TdSearchBoxComponent {
|
|
335
385
|
handleBlur() {
|
336
386
|
this.blurSearch.emit();
|
337
387
|
}
|
338
|
-
static ɵfac =
|
339
|
-
static ɵcmp = i0.ɵɵ
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
388
|
+
static ɵfac = function TdSearchBoxComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdSearchBoxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
389
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdSearchBoxComponent, selectors: [["td-search-box"]], viewQuery: function TdSearchBoxComponent_Query(rf, ctx) { if (rf & 1) {
|
390
|
+
i0.ɵɵviewQuery(TdSearchInputComponent, 7);
|
391
|
+
} if (rf & 2) {
|
392
|
+
let _t;
|
393
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._searchInput = _t.first);
|
394
|
+
} }, inputs: { backIcon: "backIcon", searchIcon: "searchIcon", clearIcon: "clearIcon", showUnderline: "showUnderline", debounce: "debounce", alwaysVisible: "alwaysVisible", placeholder: "placeholder", value: "value" }, outputs: { searchDebounce: "searchDebounce", search: "search", clear: "clear", blurSearch: "blurSearch" }, features: [i0.ɵɵProvidersFeature([
|
395
|
+
{
|
396
|
+
provide: NG_VALUE_ACCESSOR,
|
397
|
+
useExisting: forwardRef(() => TdSearchBoxComponent),
|
398
|
+
multi: true,
|
399
|
+
},
|
400
|
+
])], decls: 6, vars: 11, consts: [["searchInput", ""], [1, "td-search-box"], ["mat-icon-button", "", "type", "button", 1, "td-search-icon", 3, "click", "ngClass"], [4, "ngIf"], [3, "ngModelChange", "searchDebounce", "search", "clear", "blur", "debounce", "ngModel", "showUnderline", "placeholder", "clearIcon"]], template: function TdSearchBoxComponent_Template(rf, ctx) { if (rf & 1) {
|
401
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
402
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "button", 2);
|
403
|
+
i0.ɵɵlistener("click", function TdSearchBoxComponent_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.searchClicked()); });
|
404
|
+
i0.ɵɵtemplate(2, TdSearchBoxComponent_mat_icon_2_Template, 2, 1, "mat-icon", 3)(3, TdSearchBoxComponent_mat_icon_3_Template, 2, 1, "mat-icon", 3);
|
405
|
+
i0.ɵɵelementEnd();
|
406
|
+
i0.ɵɵelementStart(4, "td-search-input", 4, 0);
|
407
|
+
i0.ɵɵtwoWayListener("ngModelChange", function TdSearchBoxComponent_Template_td_search_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.value, $event) || (ctx.value = $event); return i0.ɵɵresetView($event); });
|
408
|
+
i0.ɵɵlistener("searchDebounce", function TdSearchBoxComponent_Template_td_search_input_searchDebounce_4_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleSearchDebounce($event)); })("search", function TdSearchBoxComponent_Template_td_search_input_search_4_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleSearch($event)); })("clear", function TdSearchBoxComponent_Template_td_search_input_clear_4_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleClear()); })("blur", function TdSearchBoxComponent_Template_td_search_input_blur_4_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.handleBlur()); });
|
409
|
+
i0.ɵɵelementEnd()();
|
410
|
+
} if (rf & 2) {
|
411
|
+
i0.ɵɵadvance();
|
412
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0, ctx.searchVisible || ctx.alwaysVisible));
|
413
|
+
i0.ɵɵadvance();
|
414
|
+
i0.ɵɵproperty("ngIf", ctx.searchVisible && !ctx.alwaysVisible);
|
415
|
+
i0.ɵɵadvance();
|
416
|
+
i0.ɵɵproperty("ngIf", !ctx.searchVisible || ctx.alwaysVisible);
|
417
|
+
i0.ɵɵadvance();
|
418
|
+
i0.ɵɵproperty("@inputState", ctx.alwaysVisible || ctx.searchVisible)("debounce", ctx.debounce);
|
419
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx.value);
|
420
|
+
i0.ɵɵproperty("showUnderline", ctx.showUnderline)("placeholder", ctx.placeholder)("clearIcon", ctx.clearIcon);
|
421
|
+
} }, dependencies: [CommonModule, i1$1.NgClass, i1$1.NgIf, FormsModule, i2.NgControlStatus, i2.NgModel, MatIconButton, TdSearchInputComponent, MatIcon], styles: ["[_nghost-%COMP%]{display:block}.td-search-box[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;flex-direction:row;align-content:center;max-width:100%;justify-content:flex-end;align-items:center;position:relative}.td-search-box[_ngcontent-%COMP%] .td-search-icon.td-search-icon-active[_ngcontent-%COMP%]{margin-right:-48px;margin-left:0;z-index:1}.td-search-box[_ngcontent-%COMP%] td-search-input[_ngcontent-%COMP%]{--mdc-filled-text-field-container-color: transparent;--mat-form-field-state-layer-color: transparent;--mdc-filled-text-field-active-indicator-color: transparent;--mdc-filled-text-field-hover-active-indicator-color: transparent}[dir=rtl][_ngcontent-%COMP%] .td-search-box[_ngcontent-%COMP%] td-search-input[_ngcontent-%COMP%] {margin-left:0!important}.td-search-box[_ngcontent-%COMP%] td-search-input[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper.mdc-text-field{padding-left:48px;overflow:visible}.td-search-box[_ngcontent-%COMP%] td-search-input[_ngcontent-%COMP%] .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:after{bottom:-1px}"], data: { animation: [
|
422
|
+
trigger('inputState', [
|
423
|
+
state('0', style({
|
424
|
+
width: '0%',
|
425
|
+
margin: '0px',
|
426
|
+
})),
|
427
|
+
state('1', style({
|
428
|
+
width: '100%',
|
429
|
+
margin: AUTO_STYLE,
|
430
|
+
})),
|
431
|
+
transition('0 => 1', animate('200ms ease-in')),
|
432
|
+
transition('1 => 0', animate('200ms ease-out')),
|
433
|
+
]),
|
434
|
+
] }, changeDetection: 0 });
|
359
435
|
}
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
436
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdSearchBoxComponent, [{
|
437
|
+
type: Component,
|
438
|
+
args: [{ providers: [
|
439
|
+
{
|
440
|
+
provide: NG_VALUE_ACCESSOR,
|
441
|
+
useExisting: forwardRef(() => TdSearchBoxComponent),
|
442
|
+
multi: true,
|
443
|
+
},
|
444
|
+
], selector: 'td-search-box', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatIconButton, TdSearchInputComponent, MatIcon], animations: [
|
445
|
+
trigger('inputState', [
|
446
|
+
state('0', style({
|
447
|
+
width: '0%',
|
448
|
+
margin: '0px',
|
449
|
+
})),
|
450
|
+
state('1', style({
|
451
|
+
width: '100%',
|
452
|
+
margin: AUTO_STYLE,
|
453
|
+
})),
|
454
|
+
transition('0 => 1', animate('200ms ease-in')),
|
455
|
+
transition('1 => 0', animate('200ms ease-out')),
|
456
|
+
]),
|
457
|
+
], template: "<div class=\"td-search-box\">\n <button\n mat-icon-button\n type=\"button\"\n class=\"td-search-icon\"\n (click)=\"searchClicked()\"\n [ngClass]=\"{ 'td-search-icon-active': searchVisible || alwaysVisible }\"\n >\n <mat-icon *ngIf=\"searchVisible && !alwaysVisible\">{{ backIcon }}</mat-icon>\n <mat-icon *ngIf=\"!searchVisible || alwaysVisible\">{{\n searchIcon\n }}</mat-icon>\n </button>\n <td-search-input\n #searchInput\n [@inputState]=\"alwaysVisible || searchVisible\"\n [debounce]=\"debounce\"\n [(ngModel)]=\"value\"\n [showUnderline]=\"showUnderline\"\n [placeholder]=\"placeholder\"\n [clearIcon]=\"clearIcon\"\n (searchDebounce)=\"handleSearchDebounce($event)\"\n (search)=\"handleSearch($event)\"\n (clear)=\"handleClear();\"\n (blur)=\"handleBlur()\"\n ></td-search-input>\n</div>\n", styles: [":host{display:block}.td-search-box{box-sizing:border-box;display:flex;flex-direction:row;align-content:center;max-width:100%;justify-content:flex-end;align-items:center;position:relative}.td-search-box .td-search-icon.td-search-icon-active{margin-right:-48px;margin-left:0;z-index:1}.td-search-box td-search-input{--mdc-filled-text-field-container-color: transparent;--mat-form-field-state-layer-color: transparent;--mdc-filled-text-field-active-indicator-color: transparent;--mdc-filled-text-field-hover-active-indicator-color: transparent}[dir=rtl] .td-search-box td-search-input ::ng-deep{margin-left:0!important}.td-search-box td-search-input ::ng-deep .mat-mdc-text-field-wrapper.mdc-text-field{padding-left:48px;overflow:visible}.td-search-box td-search-input ::ng-deep .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:after{bottom:-1px}\n"] }]
|
458
|
+
}], () => [{ type: i0.ChangeDetectorRef }], { _searchInput: [{
|
459
|
+
type: ViewChild,
|
460
|
+
args: [TdSearchInputComponent, { static: true }]
|
461
|
+
}], backIcon: [{
|
462
|
+
type: Input
|
463
|
+
}], searchIcon: [{
|
464
|
+
type: Input
|
465
|
+
}], clearIcon: [{
|
466
|
+
type: Input
|
467
|
+
}], showUnderline: [{
|
468
|
+
type: Input
|
469
|
+
}], debounce: [{
|
470
|
+
type: Input
|
471
|
+
}], alwaysVisible: [{
|
472
|
+
type: Input
|
473
|
+
}], placeholder: [{
|
474
|
+
type: Input
|
475
|
+
}], value: [{
|
476
|
+
type: Input
|
477
|
+
}], searchDebounce: [{
|
478
|
+
type: Output
|
479
|
+
}], search: [{
|
480
|
+
type: Output
|
481
|
+
}], clear: [{
|
482
|
+
type: Output
|
483
|
+
}], blurSearch: [{
|
484
|
+
type: Output
|
485
|
+
}] }); })();
|
486
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdSearchBoxComponent, { className: "TdSearchBoxComponent", filePath: "search-box/search-box.component.ts", lineNumber: 65 }); })();
|
410
487
|
|
488
|
+
/**
|
489
|
+
* @deprecated This module is deprecated and will be removed in future versions.
|
490
|
+
* Please migrate to using standalone components as soon as possible.
|
491
|
+
*/
|
411
492
|
class CovalentSearchModule {
|
412
|
-
static ɵfac =
|
413
|
-
static ɵmod = i0.ɵɵ
|
414
|
-
|
415
|
-
MatInputModule,
|
416
|
-
MatIconModule,
|
417
|
-
MatButtonModule], exports: [TdSearchInputComponent, TdSearchBoxComponent] });
|
418
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentSearchModule, imports: [FormsModule,
|
419
|
-
CommonModule,
|
420
|
-
MatInputModule,
|
421
|
-
MatIconModule,
|
422
|
-
MatButtonModule] });
|
493
|
+
static ɵfac = function CovalentSearchModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CovalentSearchModule)(); };
|
494
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CovalentSearchModule });
|
495
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [TdSearchInputComponent, TdSearchBoxComponent] });
|
423
496
|
}
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
MatButtonModule,
|
433
|
-
],
|
434
|
-
declarations: [TdSearchInputComponent, TdSearchBoxComponent],
|
435
|
-
exports: [TdSearchInputComponent, TdSearchBoxComponent],
|
436
|
-
}]
|
437
|
-
}] });
|
497
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentSearchModule, [{
|
498
|
+
type: NgModule,
|
499
|
+
args: [{
|
500
|
+
imports: [TdSearchInputComponent, TdSearchBoxComponent],
|
501
|
+
exports: [TdSearchInputComponent, TdSearchBoxComponent],
|
502
|
+
}]
|
503
|
+
}], null, null); })();
|
504
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentSearchModule, { imports: [TdSearchInputComponent, TdSearchBoxComponent], exports: [TdSearchInputComponent, TdSearchBoxComponent] }); })();
|
438
505
|
|
439
506
|
/**
|
440
507
|
* Generated bundle index. Do not edit.
|