@covalent/core 10.4.0-beta.3 → 11.0.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.
Files changed (161) hide show
  1. package/breadcrumbs/index.d.ts +82 -3
  2. package/common/index.d.ts +388 -3
  3. package/dialogs/index.d.ts +263 -3
  4. package/dynamic-menu/index.d.ts +63 -3
  5. package/fesm2022/covalent-core-breadcrumbs.mjs +1 -1
  6. package/fesm2022/covalent-core-breadcrumbs.mjs.map +1 -1
  7. package/fesm2022/covalent-core-common.mjs +2 -2
  8. package/fesm2022/covalent-core-common.mjs.map +1 -1
  9. package/fesm2022/covalent-core-dialogs.mjs +3 -5
  10. package/fesm2022/covalent-core-dialogs.mjs.map +1 -1
  11. package/fesm2022/covalent-core-dynamic-menu.mjs +4 -6
  12. package/fesm2022/covalent-core-dynamic-menu.mjs.map +1 -1
  13. package/fesm2022/covalent-core-file.mjs +2 -2
  14. package/fesm2022/covalent-core-file.mjs.map +1 -1
  15. package/fesm2022/covalent-core-json-formatter.mjs +2 -2
  16. package/fesm2022/covalent-core-json-formatter.mjs.map +1 -1
  17. package/fesm2022/covalent-core-layout.mjs +1 -1
  18. package/fesm2022/covalent-core-layout.mjs.map +1 -1
  19. package/fesm2022/covalent-core-loading.mjs.map +1 -1
  20. package/fesm2022/covalent-core-menu.mjs.map +1 -1
  21. package/fesm2022/covalent-core-message.mjs +2 -2
  22. package/fesm2022/covalent-core-message.mjs.map +1 -1
  23. package/fesm2022/covalent-core-search.mjs +3 -3
  24. package/fesm2022/covalent-core-search.mjs.map +1 -1
  25. package/fesm2022/covalent-core-side-sheet.mjs +7 -5
  26. package/fesm2022/covalent-core-side-sheet.mjs.map +1 -1
  27. package/fesm2022/covalent-core-user-profile.mjs +5 -4
  28. package/fesm2022/covalent-core-user-profile.mjs.map +1 -1
  29. package/fesm2022/covalent-core.mjs.map +1 -1
  30. package/file/index.d.ts +282 -3
  31. package/index.d.ts +2 -5
  32. package/json-formatter/index.d.ts +89 -3
  33. package/layout/index.d.ts +555 -3
  34. package/loading/index.d.ts +341 -3
  35. package/menu/index.d.ts +16 -3
  36. package/message/index.d.ts +112 -3
  37. package/package.json +13 -13
  38. package/search/index.d.ts +181 -3
  39. package/side-sheet/index.d.ts +264 -3
  40. package/theming/_all-theme.scss +10 -1
  41. package/theming/_teradata-theme.scss +7 -7
  42. package/theming/prebuilt/all-theme-dark.css +1 -1
  43. package/theming/prebuilt/all-theme-dark.css.map +1 -1
  44. package/theming/prebuilt/all-theme-light.css +1 -1
  45. package/theming/prebuilt/all-theme-light.css.map +1 -1
  46. package/theming/prebuilt/blue-grey-deep-orange.css +1 -1
  47. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  48. package/theming/prebuilt/blue-orange.css +1 -1
  49. package/theming/prebuilt/blue-orange.css.map +1 -1
  50. package/theming/prebuilt/indigo-pink.css +1 -1
  51. package/theming/prebuilt/indigo-pink.css.map +1 -1
  52. package/theming/prebuilt/orange-light-blue.css +1 -1
  53. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  54. package/theming/prebuilt/teal-orange.css +1 -1
  55. package/theming/prebuilt/teal-orange.css.map +1 -1
  56. package/user-profile/index.d.ts +26 -3
  57. package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +0 -37
  58. package/breadcrumbs/breadcrumbs.component.d.ts +0 -36
  59. package/breadcrumbs/breadcrumbs.module.d.ts +0 -12
  60. package/breadcrumbs/public_api.d.ts +0 -3
  61. package/common/animations/bounce/bounce.animation.d.ts +0 -14
  62. package/common/animations/collapse/collapse.animation.d.ts +0 -20
  63. package/common/animations/common/interfaces.d.ts +0 -5
  64. package/common/animations/fade/fadeInOut.animation.d.ts +0 -20
  65. package/common/animations/flash/flash.animation.d.ts +0 -14
  66. package/common/animations/headshake/headshake.animation.d.ts +0 -14
  67. package/common/animations/jello/jello.animation.d.ts +0 -14
  68. package/common/animations/pulse/pulse.animation.d.ts +0 -14
  69. package/common/animations/rotate/rotate.animation.d.ts +0 -21
  70. package/common/behaviors/control-value-accesor.mixin.d.ts +0 -16
  71. package/common/behaviors/disable-ripple.mixin.d.ts +0 -9
  72. package/common/behaviors/disabled.mixin.d.ts +0 -9
  73. package/common/common.module.d.ts +0 -21
  74. package/common/directives/fullscreen/fullscreen.directive.d.ts +0 -25
  75. package/common/directives/web-components/form-control.directive.d.ts +0 -21
  76. package/common/forms/auto-trim/auto-trim.directive.d.ts +0 -12
  77. package/common/forms/validators/validators.d.ts +0 -8
  78. package/common/functions/clipboard.d.ts +0 -9
  79. package/common/functions/convert.d.ts +0 -31
  80. package/common/functions/download.d.ts +0 -48
  81. package/common/functions/file.d.ts +0 -7
  82. package/common/pipes/bytes/bytes.pipe.d.ts +0 -7
  83. package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +0 -7
  84. package/common/pipes/digits/digits.pipe.d.ts +0 -10
  85. package/common/pipes/time-ago/time-ago.pipe.d.ts +0 -7
  86. package/common/pipes/time-difference/time-difference.pipe.d.ts +0 -7
  87. package/common/pipes/time-until/time-until.pipe.d.ts +0 -7
  88. package/common/pipes/truncate/truncate.pipe.d.ts +0 -7
  89. package/common/public_api.d.ts +0 -39
  90. package/common/services/icon.service.d.ts +0 -8
  91. package/common/services/router-path.service.d.ts +0 -10
  92. package/dialogs/alert-dialog/alert-dialog.component.d.ts +0 -12
  93. package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +0 -15
  94. package/dialogs/dialog.component.d.ts +0 -27
  95. package/dialogs/dialogs.module.d.ts +0 -16
  96. package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +0 -24
  97. package/dialogs/public_api.d.ts +0 -9
  98. package/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.d.ts +0 -21
  99. package/dialogs/services/dialog.service.d.ts +0 -127
  100. package/dialogs/status-dialog/status-dialog.component.d.ts +0 -23
  101. package/dialogs/window-dialog/window-dialog.component.d.ts +0 -16
  102. package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +0 -12
  103. package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +0 -10
  104. package/dynamic-menu/dynamic-menu.component.d.ts +0 -11
  105. package/dynamic-menu/dynamic-menu.menu.d.ts +0 -22
  106. package/dynamic-menu/dynamic-menu.module.d.ts +0 -13
  107. package/dynamic-menu/public_api.d.ts +0 -5
  108. package/file/directives/file-drop.directive.d.ts +0 -50
  109. package/file/directives/file-select.directive.d.ts +0 -33
  110. package/file/file-input/file-input.component.d.ts +0 -67
  111. package/file/file-upload/file-upload.component.d.ts +0 -91
  112. package/file/file.module.d.ts +0 -14
  113. package/file/public_api.d.ts +0 -6
  114. package/file/services/file.service.d.ts +0 -34
  115. package/json-formatter/collapse.animation.d.ts +0 -24
  116. package/json-formatter/json-formatter.component.d.ts +0 -78
  117. package/json-formatter/json-formatter.module.d.ts +0 -11
  118. package/json-formatter/public_api.d.ts +0 -2
  119. package/layout/layout-card-over/layout-card-over.component.d.ts +0 -31
  120. package/layout/layout-footer/layout-footer.component.d.ts +0 -17
  121. package/layout/layout-manage-list/layout-manage-list.component.d.ts +0 -66
  122. package/layout/layout-manage-list/layout-manage-list.directives.d.ts +0 -25
  123. package/layout/layout-nav/layout-nav.component.d.ts +0 -45
  124. package/layout/layout-nav-list/layout-nav-list.component.d.ts +0 -104
  125. package/layout/layout-nav-list/layout-nav-list.directives.d.ts +0 -25
  126. package/layout/layout-toggle.class.d.ts +0 -40
  127. package/layout/layout.component.d.ts +0 -66
  128. package/layout/layout.directives.d.ts +0 -25
  129. package/layout/layout.module.d.ts +0 -20
  130. package/layout/navigation-drawer/navigation-drawer.component.d.ts +0 -120
  131. package/layout/public_api.d.ts +0 -12
  132. package/loading/directives/loading.directive.d.ts +0 -70
  133. package/loading/loading.component.d.ts +0 -90
  134. package/loading/loading.module.d.ts +0 -8
  135. package/loading/public_api.d.ts +0 -5
  136. package/loading/services/loading.factory.d.ts +0 -69
  137. package/loading/services/loading.service.d.ts +0 -118
  138. package/menu/menu.component.d.ts +0 -5
  139. package/menu/menu.module.d.ts +0 -11
  140. package/menu/public_api.d.ts +0 -2
  141. package/message/collapse.animation.d.ts +0 -24
  142. package/message/message.component.d.ts +0 -101
  143. package/message/message.module.d.ts +0 -11
  144. package/message/public_api.d.ts +0 -2
  145. package/public_api.d.ts +0 -1
  146. package/search/public_api.d.ts +0 -3
  147. package/search/search-box/search-box.component.d.ts +0 -88
  148. package/search/search-input/search-input.component.d.ts +0 -84
  149. package/search/search.module.d.ts +0 -12
  150. package/side-sheet/public_api.d.ts +0 -5
  151. package/side-sheet/side-sheet-container.d.ts +0 -110
  152. package/side-sheet/side-sheet-ref.d.ts +0 -12
  153. package/side-sheet/side-sheet.animation.d.ts +0 -4
  154. package/side-sheet/side-sheet.config.d.ts +0 -9
  155. package/side-sheet/side-sheet.content-directives.d.ts +0 -67
  156. package/side-sheet/side-sheet.d.ts +0 -66
  157. package/side-sheet/side-sheet.module.d.ts +0 -12
  158. package/user-profile/public_api.d.ts +0 -3
  159. package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +0 -8
  160. package/user-profile/user-profile.component.d.ts +0 -7
  161. package/user-profile/user-profile.module.d.ts +0 -11
package/layout/index.d.ts CHANGED
@@ -1,5 +1,557 @@
1
+ import * as i0 from '@angular/core';
2
+ import { AfterViewInit, OnDestroy, Renderer2, ElementRef, OnInit, QueryList } from '@angular/core';
3
+ import { MatSidenav, MatDrawerToggleResult } from '@angular/material/sidenav';
4
+ import { ICanDisable } from '@covalent/core/common';
5
+ import { Router } from '@angular/router';
6
+ import { SafeStyle, DomSanitizer } from '@angular/platform-browser';
7
+
8
+ interface ILayoutTogglable {
9
+ opened: boolean;
10
+ sidenav: MatSidenav;
11
+ toggle(): Promise<MatDrawerToggleResult>;
12
+ open(): Promise<MatDrawerToggleResult>;
13
+ close(): Promise<MatDrawerToggleResult>;
14
+ }
15
+ declare class LayoutToggleBase {
16
+ }
17
+ declare const _TdLayoutToggleMixinBase: (new (...args: any[]) => ICanDisable) & typeof LayoutToggleBase;
18
+ declare abstract class BaseLayoutToggleDirective extends _TdLayoutToggleMixinBase implements AfterViewInit, OnDestroy, ICanDisable {
19
+ protected _layout: ILayoutTogglable;
20
+ private _renderer;
21
+ private _elementRef;
22
+ private _toggleSubs?;
23
+ private _initialized;
24
+ private _hideWhenOpened;
25
+ /**
26
+ * hideWhenOpened?: boolean
27
+ * When this is set to true, the host will be hidden when
28
+ * the sidenav is opened.
29
+ */
30
+ set hideWhenOpened(hideWhenOpened: boolean);
31
+ constructor(_layout: ILayoutTogglable, _renderer: Renderer2, _elementRef: ElementRef);
32
+ ngAfterViewInit(): void;
33
+ ngOnDestroy(): void;
34
+ /**
35
+ * Listens to host click event to trigger the layout toggle
36
+ */
37
+ clickListener(event: Event): void;
38
+ abstract onClick(): void;
39
+ private _toggleVisibility;
40
+ private _noLayoutMessage;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseLayoutToggleDirective, never>;
42
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseLayoutToggleDirective, never, never, { "hideWhenOpened": { "alias": "hideWhenOpened"; "required": false; }; }, {}, never, never, true, never>;
43
+ }
44
+
45
+ declare class TdLayoutComponent implements ILayoutTogglable {
46
+ sidenav: MatSidenav;
47
+ /**
48
+ * mode?: 'side', 'push' or 'over'
49
+ *
50
+ * The mode or styling of the sidenav.
51
+ * Defaults to "over".
52
+ * See "MatSidenav" documentation for more info.
53
+ *
54
+ * https://github.com/angular/material2/tree/main/src/lib/sidenav
55
+ */
56
+ mode: 'side' | 'push' | 'over';
57
+ /**
58
+ * opened?: boolean
59
+ *
60
+ * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
61
+ * Defaults to "false".
62
+ *
63
+ * See "MatSidenav" documentation for more info.
64
+ *
65
+ * https://github.com/angular/material2/tree/main/src/lib/sidenav
66
+ */
67
+ opened: boolean;
68
+ /**
69
+ * sidenavWidth?: string
70
+ *
71
+ * Sets the "width" of the sidenav in either "px" or "%"
72
+ * Defaults to "320px".
73
+ *
74
+ * https://github.com/angular/material2/tree/main/src/lib/sidenav
75
+ */
76
+ sidenavWidth: string;
77
+ /**
78
+ * containerAutosize?: boolean
79
+ *
80
+ * Sets "autosize" of the sidenav-container.
81
+ * Defaults to "false".
82
+ *
83
+ * See documentation for more info and potential performance risks.
84
+ *
85
+ * https://github.com/angular/material2/blob/main/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
86
+ */
87
+ containerAutosize: boolean;
88
+ /**
89
+ * Checks if `ESC` should close the sidenav
90
+ * Should only close it for `push` and `over` modes
91
+ */
92
+ get disableClose(): boolean;
93
+ /**
94
+ * Proxy toggle method to access sidenav from outside (from td-layout template).
95
+ */
96
+ toggle(): Promise<MatDrawerToggleResult>;
97
+ /**
98
+ * Proxy open method to access sidenav from outside (from td-layout template).
99
+ */
100
+ open(): Promise<MatDrawerToggleResult>;
101
+ /**
102
+ * Proxy close method to access sidenav from outside (from td-layout template).
103
+ */
104
+ close(): Promise<MatDrawerToggleResult>;
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutComponent, never>;
106
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdLayoutComponent, "td-layout", never, { "mode": { "alias": "mode"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "sidenavWidth": { "alias": "sidenavWidth"; "required": false; }; "containerAutosize": { "alias": "containerAutosize"; "required": false; }; }, {}, never, ["td-navigation-drawer", "[td-sidenav-content]", "*"], true, never>;
107
+ }
108
+
109
+ declare class TdLayoutToggleDirective extends BaseLayoutToggleDirective {
110
+ set tdLayoutToggle(tdLayoutToggle: boolean | string);
111
+ constructor(layout: TdLayoutComponent, renderer: Renderer2, elementRef: ElementRef);
112
+ onClick(): void;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutToggleDirective, [{ optional: true; }, null, null]>;
114
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutToggleDirective, "[tdLayoutToggle]", never, { "tdLayoutToggle": { "alias": "tdLayoutToggle"; "required": false; }; }, {}, never, never, true, never>;
115
+ }
116
+ declare class TdLayoutCloseDirective extends BaseLayoutToggleDirective {
117
+ set tdLayoutClose(tdLayoutClose: boolean | string | undefined);
118
+ constructor(layout: TdLayoutComponent, renderer: Renderer2, elementRef: ElementRef);
119
+ onClick(): void;
120
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutCloseDirective, [{ optional: true; }, null, null]>;
121
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutCloseDirective, "[tdLayoutClose]", never, { "tdLayoutClose": { "alias": "tdLayoutClose"; "required": false; }; }, {}, never, never, true, never>;
122
+ }
123
+ declare class TdLayoutOpenDirective extends BaseLayoutToggleDirective {
124
+ set tdLayoutClose(tdLayoutOpen: boolean);
125
+ constructor(layout: TdLayoutComponent, renderer: Renderer2, elementRef: ElementRef);
126
+ onClick(): void;
127
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutOpenDirective, [{ optional: true; }, null, null]>;
128
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutOpenDirective, "[tdLayoutOpen]", never, { "tdLayoutClose": { "alias": "tdLayoutOpen"; "required": false; }; }, {}, never, never, true, never>;
129
+ }
130
+
131
+ declare class TdLayoutNavComponent {
132
+ private _router;
133
+ /**
134
+ * toolbarTitle?: string
135
+ *
136
+ * Title set in toolbar.
137
+ */
138
+ toolbarTitle?: string;
139
+ /**
140
+ * icon?: string
141
+ *
142
+ * icon name to be displayed before the title
143
+ */
144
+ icon?: string;
145
+ /**
146
+ * logo?: string
147
+ *
148
+ * logo icon name to be displayed before the title.
149
+ * If [icon] is set, then this will not be shown.
150
+ */
151
+ logo?: string;
152
+ /**
153
+ * color?: 'accent' | 'primary' | 'warn'
154
+ *
155
+ * toolbar color option: primary | accent | warn.
156
+ * If [color] is not set, primary is used.
157
+ */
158
+ color?: 'accent' | 'primary' | 'warn';
159
+ /**
160
+ * navigationRoute?: string
161
+ *
162
+ * option to set the combined route for the icon, logo, and toolbarTitle.
163
+ */
164
+ navigationRoute?: string;
165
+ /**
166
+ * Checks if router was injected.
167
+ */
168
+ get routerEnabled(): boolean;
169
+ constructor(_router: Router);
170
+ handleNavigationClick(): void;
171
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavComponent, [{ optional: true; }]>;
172
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdLayoutNavComponent, "td-layout-nav", never, { "toolbarTitle": { "alias": "toolbarTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "color": { "alias": "color"; "required": false; }; "navigationRoute": { "alias": "navigationRoute"; "required": false; }; }, {}, never, ["[td-menu-button]", "[td-toolbar-content]", "*", "td-layout-footer"], true, never>;
173
+ }
174
+
175
+ declare class TdLayoutNavListComponent implements ILayoutTogglable {
176
+ private _router;
177
+ sidenav: MatSidenav;
178
+ /**
179
+ * toolbarTitle?: string
180
+ *
181
+ * Title set in toolbar.
182
+ */
183
+ toolbarTitle?: string;
184
+ /**
185
+ * icon?: string
186
+ * icon name to be displayed before the title
187
+ */
188
+ icon?: string;
189
+ /**
190
+ * logo?: string
191
+ *
192
+ * logo icon name to be displayed before the title.
193
+ * If [icon] is set, then this will not be shown.
194
+ */
195
+ logo?: string;
196
+ /**
197
+ * color?: 'accent' | 'primary' | 'warn'
198
+ *
199
+ * toolbar color option: primary | accent | warn.
200
+ * If [color] is not set, primary is used.
201
+ */
202
+ color?: 'accent' | 'primary' | 'warn';
203
+ /**
204
+ * mode?: 'side', 'push' or 'over'
205
+ *
206
+ * The mode or styling of the sidenav.
207
+ * Defaults to "side".
208
+ * See "MatSidenav" documentation for more info.
209
+ *
210
+ * https://github.com/angular/material2/tree/main/src/lib/sidenav
211
+ */
212
+ mode: 'side' | 'push' | 'over';
213
+ /**
214
+ * opened?: boolean
215
+ * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
216
+ * Defaults to "true".
217
+ *
218
+ * See "MatSidenav" documentation for more info.
219
+ *
220
+ * https://github.com/angular/material2/tree/main/src/lib/sidenav
221
+ */
222
+ opened: boolean;
223
+ /**
224
+ * sidenavWidth?: string
225
+ *
226
+ * Sets the "width" of the sidenav in either "px" or "%"
227
+ * Defaults to "350px".
228
+ *
229
+ * https://github.com/angular/material2/tree/main/src/lib/sidenav
230
+ */
231
+ sidenavWidth: string;
232
+ /**
233
+ * containerAutosize?: boolean
234
+ *
235
+ * Sets "autosize" of the sidenav-container.
236
+ * Defaults to "false".
237
+ *
238
+ * See documentation for more info and potential performance risks.
239
+ *
240
+ * https://github.com/angular/material2/blob/main/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
241
+ */
242
+ containerAutosize: boolean;
243
+ /**
244
+ * navigationRoute?: string
245
+ *
246
+ * option to set the combined route for the icon, logo, and toolbarTitle.
247
+ */
248
+ navigationRoute?: string;
249
+ /**
250
+ * Checks if `ESC` should close the sidenav
251
+ * Should only close it for `push` and `over` modes
252
+ */
253
+ get disableClose(): boolean;
254
+ /**
255
+ * Checks if router was injected.
256
+ */
257
+ get routerEnabled(): boolean;
258
+ constructor(_router: Router);
259
+ handleNavigationClick(): void;
260
+ /**
261
+ * Proxy toggle method to access sidenav from outside (from td-layout template).
262
+ */
263
+ toggle(): Promise<MatDrawerToggleResult>;
264
+ /**
265
+ * Proxy open method to access sidenav from outside (from td-layout template).
266
+ */
267
+ open(): Promise<MatDrawerToggleResult>;
268
+ /**
269
+ * Proxy close method to access sidenav from outside (from td-layout template).
270
+ */
271
+ close(): Promise<MatDrawerToggleResult>;
272
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavListComponent, [{ optional: true; }]>;
273
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdLayoutNavListComponent, "td-layout-nav-list", never, { "toolbarTitle": { "alias": "toolbarTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "color": { "alias": "color"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "sidenavWidth": { "alias": "sidenavWidth"; "required": false; }; "containerAutosize": { "alias": "containerAutosize"; "required": false; }; "navigationRoute": { "alias": "navigationRoute"; "required": false; }; }, {}, never, ["[td-menu-button]", "[td-sidenav-toolbar-content]", "[td-sidenav-content]", "[td-toolbar-content]", "*", "td-layout-footer-inner", "td-layout-footer"], true, never>;
274
+ }
275
+
276
+ declare class TdLayoutNavListToggleDirective extends BaseLayoutToggleDirective {
277
+ set tdLayoutNavListToggle(tdLayoutNavListToggle: boolean | string);
278
+ constructor(layout: TdLayoutNavListComponent, renderer: Renderer2, elementRef: ElementRef);
279
+ onClick(): void;
280
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavListToggleDirective, [{ optional: true; }, null, null]>;
281
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutNavListToggleDirective, "[tdLayoutNavListToggle]", never, { "tdLayoutNavListToggle": { "alias": "tdLayoutNavListToggle"; "required": false; }; }, {}, never, never, true, never>;
282
+ }
283
+ declare class TdLayoutNavListCloseDirective extends BaseLayoutToggleDirective {
284
+ set tdLayoutNavListClose(tdLayoutNavListClose: boolean);
285
+ constructor(layout: TdLayoutNavListComponent, renderer: Renderer2, elementRef: ElementRef);
286
+ onClick(): void;
287
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavListCloseDirective, [{ optional: true; }, null, null]>;
288
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutNavListCloseDirective, "[tdLayoutNavListClose]", never, { "tdLayoutNavListClose": { "alias": "tdLayoutNavListClose"; "required": false; }; }, {}, never, never, true, never>;
289
+ }
290
+ declare class TdLayoutNavListOpenDirective extends BaseLayoutToggleDirective {
291
+ set tdLayoutNavListOpen(tdLayoutNavListOpen: boolean | string);
292
+ constructor(layout: TdLayoutNavListComponent, renderer: Renderer2, elementRef: ElementRef);
293
+ onClick(): void;
294
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavListOpenDirective, [{ optional: true; }, null, null]>;
295
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutNavListOpenDirective, "[tdLayoutNavListOpen]", never, { "tdLayoutNavListOpen": { "alias": "tdLayoutNavListOpen"; "required": false; }; }, {}, never, never, true, never>;
296
+ }
297
+
298
+ declare class TdLayoutCardOverComponent {
299
+ /**
300
+ * cardTitle?: string
301
+ *
302
+ * Title set in card.
303
+ */
304
+ cardTitle?: string;
305
+ /**
306
+ * cardSubtitle?: string
307
+ *
308
+ * Subtitle set in card.
309
+ */
310
+ cardSubtitle?: string;
311
+ /**
312
+ * cardWidth?: string
313
+ *
314
+ * Card flex width in %.
315
+ * Defaults to 70%.
316
+ */
317
+ cardWidth?: number | undefined;
318
+ /**
319
+ * color?: 'accent' | 'primary' | 'warn'
320
+ *
321
+ * toolbar color option: primary | accent | warn.
322
+ * If [color] is not set, primary is used.
323
+ */
324
+ color?: 'accent' | 'primary' | 'warn';
325
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutCardOverComponent, never>;
326
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdLayoutCardOverComponent, "td-layout-card-over", never, { "cardTitle": { "alias": "cardTitle"; "required": false; }; "cardSubtitle": { "alias": "cardSubtitle"; "required": false; }; "cardWidth": { "alias": "cardWidth"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*", "[td-after-card]"], true, never>;
327
+ }
328
+
329
+ declare class TdLayoutManageListComponent implements ILayoutTogglable {
330
+ sidenav: MatSidenav;
331
+ /**
332
+ * mode?: 'side', 'push' or 'over'
333
+ *
334
+ * The mode or styling of the sidenav.
335
+ * Defaults to "side".
336
+ * See "MatSidenav" documentation for more info.
337
+ *
338
+ * https://github.com/angular/material2/tree/main/src/lib/sidenav
339
+ */
340
+ mode: 'side' | 'push' | 'over';
341
+ /**
342
+ * opened?: boolean
343
+ *
344
+ * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
345
+ * Defaults to "true".
346
+ *
347
+ * See "MatSidenav" documentation for more info.
348
+ *
349
+ * https://github.com/angular/material2/tree/main/src/lib/sidenav
350
+ */
351
+ opened: boolean;
352
+ /**
353
+ * sidenavWidth?: string
354
+ *
355
+ * Sets the "width" of the sidenav in either "px" or "%"
356
+ * Defaults to "257px".
357
+ *
358
+ * https://github.com/angular/material2/tree/main/src/lib/sidenav
359
+ */
360
+ sidenavWidth: string;
361
+ /**
362
+ * containerAutosize?: boolean
363
+ *
364
+ * Sets "autosize" of the sidenav-container.
365
+ * Defaults to "false".
366
+ *
367
+ * See documentation for more info and potential performance risks.
368
+ *
369
+ * https://github.com/angular/material2/blob/main/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
370
+ */
371
+ containerAutosize: boolean;
372
+ /**
373
+ * Checks if `ESC` should close the sidenav
374
+ * Should only close it for `push` and `over` modes
375
+ */
376
+ get disableClose(): boolean;
377
+ /**
378
+ * Proxy toggle method to access sidenav from outside (from td-layout template).
379
+ */
380
+ toggle(): Promise<MatDrawerToggleResult>;
381
+ /**
382
+ * Proxy open method to access sidenav from outside (from td-layout template).
383
+ */
384
+ open(): Promise<MatDrawerToggleResult>;
385
+ /**
386
+ * Proxy close method to access sidenav from outside (from td-layout template).
387
+ */
388
+ close(): Promise<MatDrawerToggleResult>;
389
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutManageListComponent, never>;
390
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdLayoutManageListComponent, "td-layout-manage-list", never, { "mode": { "alias": "mode"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "sidenavWidth": { "alias": "sidenavWidth"; "required": false; }; "containerAutosize": { "alias": "containerAutosize"; "required": false; }; }, {}, never, ["mat-toolbar[td-sidenav-content]", "[td-sidenav-content]", "mat-toolbar", "*", "td-layout-footer-inner"], true, never>;
391
+ }
392
+
393
+ declare class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {
394
+ set tdLayoutManageListToggle(tdLayoutManageListToggle: boolean | string);
395
+ constructor(layout: TdLayoutManageListComponent, renderer: Renderer2, elementRef: ElementRef);
396
+ onClick(): void;
397
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutManageListToggleDirective, [{ optional: true; }, null, null]>;
398
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutManageListToggleDirective, "[tdLayoutManageListToggle]", never, { "tdLayoutManageListToggle": { "alias": "tdLayoutManageListToggle"; "required": false; }; }, {}, never, never, true, never>;
399
+ }
400
+ declare class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {
401
+ set tdLayoutManageListClose(tdLayoutManageListClose: boolean);
402
+ constructor(layout: TdLayoutManageListComponent, renderer: Renderer2, elementRef: ElementRef);
403
+ onClick(): void;
404
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutManageListCloseDirective, [{ optional: true; }, null, null]>;
405
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutManageListCloseDirective, "[tdLayoutManageListClose]", never, { "tdLayoutManageListClose": { "alias": "tdLayoutManageListClose"; "required": false; }; }, {}, never, never, true, never>;
406
+ }
407
+ declare class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {
408
+ set tdLayoutManageListOpen(tdLayoutManageListOpen: boolean | string);
409
+ constructor(layout: TdLayoutManageListComponent, renderer: Renderer2, elementRef: ElementRef);
410
+ onClick(): void;
411
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutManageListOpenDirective, [{ optional: true; }, null, null]>;
412
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutManageListOpenDirective, "[tdLayoutManageListOpen]", never, { "tdLayoutManageListOpen": { "alias": "tdLayoutManageListOpen"; "required": false; }; }, {}, never, never, true, never>;
413
+ }
414
+
415
+ declare class TdLayoutFooterComponent {
416
+ private _renderer;
417
+ private _elementRef;
418
+ private _color?;
419
+ /**
420
+ * color?: 'accent' | 'primary' | 'warn'
421
+ *
422
+ * Optional color option: primary | accent | warn.
423
+ */
424
+ set color(color: 'primary' | 'accent' | 'warn' | undefined);
425
+ get color(): 'primary' | 'accent' | 'warn' | undefined;
426
+ constructor(_renderer: Renderer2, _elementRef: ElementRef);
427
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutFooterComponent, never>;
428
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdLayoutFooterComponent, "td-layout-footer,td-layout-footer-inner", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
429
+ }
430
+
431
+ declare class TdNavigationDrawerMenuDirective {
432
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdNavigationDrawerMenuDirective, never>;
433
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdNavigationDrawerMenuDirective, "[tdNavigationDrawerMenu]", never, {}, {}, never, never, true, never>;
434
+ }
435
+ declare class TdNavigationDrawerToolbarDirective {
436
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdNavigationDrawerToolbarDirective, never>;
437
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdNavigationDrawerToolbarDirective, "[tdNavigationDrawerToolbar]", never, {}, {}, never, never, true, never>;
438
+ }
439
+ declare class TdNavigationDrawerComponent implements OnInit, OnDestroy {
440
+ private _layout;
441
+ private _router;
442
+ private _sanitize;
443
+ private _menuToggled;
444
+ private _backgroundImage;
445
+ private _destroy$;
446
+ get menuToggled(): boolean;
447
+ _drawerMenu: QueryList<TdNavigationDrawerMenuDirective>;
448
+ _toolbar: QueryList<TdNavigationDrawerToolbarDirective>;
449
+ /**
450
+ * Checks if there is a [TdNavigationDrawerMenuDirective] has content.
451
+ */
452
+ get isMenuAvailable(): boolean;
453
+ /**
454
+ * Checks if there is a [TdNavigationDrawerToolbarDirective] has content.
455
+ */
456
+ get isCustomToolbar(): boolean;
457
+ /**
458
+ * Checks if there is a background image for the toolbar.
459
+ */
460
+ get isBackgroundAvailable(): boolean;
461
+ /**
462
+ * sidenavTitle?: string
463
+ * Title set in sideNav.
464
+ */
465
+ sidenavTitle?: string;
466
+ /**
467
+ * icon?: string
468
+ *
469
+ * icon name to be displayed before the title
470
+ */
471
+ icon?: string;
472
+ /**
473
+ * logo?: string
474
+ *
475
+ * logo icon name to be displayed before the title.
476
+ * If [icon] is set, then this will not be shown.
477
+ */
478
+ logo?: string;
479
+ /**
480
+ * avatar?: string
481
+ *
482
+ * avatar url to be displayed before the title
483
+ * If [icon] or [logo] are set, then this will not be shown.
484
+ */
485
+ avatar?: string;
486
+ /**
487
+ * color?: 'accent' | 'primary' | 'warn'
488
+ *
489
+ * toolbar color option: primary | accent | warn.
490
+ * If [color] is not set, default is used.
491
+ */
492
+ color?: 'accent' | 'primary' | 'warn';
493
+ /**
494
+ * navigationRoute?: string
495
+ *
496
+ * option to set the combined route for the icon, logo, and sidenavTitle.
497
+ */
498
+ navigationRoute?: string;
499
+ /**
500
+ * backgroundUrl?: SafeResourceUrl
501
+ *
502
+ * image to be displayed as the background of the toolbar.
503
+ * URL used will be sanitized, but it should be always from a trusted source to avoid XSS.
504
+ */
505
+ set backgroundUrl(backgroundUrl: any);
506
+ get backgroundImage(): SafeStyle | null;
507
+ /**
508
+ * name?: string
509
+ *
510
+ * string to be displayed as part of the navigation drawer sublabel.
511
+ * if [email] is not set, then [name] will be the toggle menu text.
512
+ */
513
+ name?: string;
514
+ /**
515
+ * email?: string
516
+ *
517
+ * string to be displayed as part of the navigation drawer sublabel in the [toggle] menu text.
518
+ * if [email] and [name] are not set, then the toggle menu is not rendered.
519
+ */
520
+ email?: string;
521
+ /**
522
+ * Checks if router was injected.
523
+ */
524
+ get routerEnabled(): boolean;
525
+ constructor(_layout: TdLayoutComponent, _router: Router, _sanitize: DomSanitizer);
526
+ ngOnInit(): void;
527
+ ngOnDestroy(): void;
528
+ toggleMenu(): void;
529
+ handleNavigationClick(): void;
530
+ /**
531
+ * Proxy toggle method to access sidenav from outside (from td-layout template).
532
+ */
533
+ toggle(): Promise<MatDrawerToggleResult>;
534
+ /**
535
+ * Proxy open method to access sidenav from outside (from td-layout template).
536
+ */
537
+ open(): Promise<MatDrawerToggleResult>;
538
+ /**
539
+ * Proxy close method to access sidenav from outside (from td-layout template).
540
+ */
541
+ close(): Promise<MatDrawerToggleResult>;
542
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdNavigationDrawerComponent, [null, { optional: true; }, null]>;
543
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdNavigationDrawerComponent, "td-navigation-drawer", never, { "sidenavTitle": { "alias": "sidenavTitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "color": { "alias": "color"; "required": false; }; "navigationRoute": { "alias": "navigationRoute"; "required": false; }; "backgroundUrl": { "alias": "backgroundUrl"; "required": false; }; "name": { "alias": "name"; "required": false; }; "email": { "alias": "email"; "required": false; }; }, {}, ["_drawerMenu", "_toolbar"], ["[td-navigation-drawer-toolbar]", "*", "[td-navigation-drawer-menu]"], true, never>;
544
+ }
545
+
1
546
  /**
2
- * Generated bundle index. Do not edit.
547
+ * @deprecated This module is deprecated and will be removed in future versions.
548
+ * Please migrate to using standalone components as soon as possible.
3
549
  */
4
- /// <amd-module name="@covalent/core/layout" />
5
- export * from './public_api';
550
+ declare class CovalentLayoutModule {
551
+ static ɵfac: i0.ɵɵFactoryDeclaration<CovalentLayoutModule, never>;
552
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentLayoutModule, never, [typeof TdLayoutComponent, typeof TdLayoutToggleDirective, typeof TdLayoutCloseDirective, typeof TdLayoutOpenDirective, typeof TdLayoutNavComponent, typeof TdLayoutNavListComponent, typeof TdLayoutNavListToggleDirective, typeof TdLayoutNavListCloseDirective, typeof TdLayoutNavListOpenDirective, typeof TdLayoutCardOverComponent, typeof TdLayoutManageListComponent, typeof TdLayoutManageListToggleDirective, typeof TdLayoutManageListCloseDirective, typeof TdLayoutManageListOpenDirective, typeof TdLayoutFooterComponent, typeof TdNavigationDrawerComponent, typeof TdNavigationDrawerMenuDirective, typeof TdNavigationDrawerToolbarDirective], [typeof TdLayoutComponent, typeof TdLayoutToggleDirective, typeof TdLayoutCloseDirective, typeof TdLayoutOpenDirective, typeof TdLayoutNavComponent, typeof TdLayoutNavListComponent, typeof TdLayoutNavListToggleDirective, typeof TdLayoutNavListCloseDirective, typeof TdLayoutNavListOpenDirective, typeof TdLayoutCardOverComponent, typeof TdLayoutManageListComponent, typeof TdLayoutManageListToggleDirective, typeof TdLayoutManageListCloseDirective, typeof TdLayoutManageListOpenDirective, typeof TdLayoutFooterComponent, typeof TdNavigationDrawerComponent, typeof TdNavigationDrawerMenuDirective, typeof TdNavigationDrawerToolbarDirective]>;
553
+ static ɵinj: i0.ɵɵInjectorDeclaration<CovalentLayoutModule>;
554
+ }
555
+
556
+ export { BaseLayoutToggleDirective, CovalentLayoutModule, LayoutToggleBase, TdLayoutCardOverComponent, TdLayoutCloseDirective, TdLayoutComponent, TdLayoutFooterComponent, TdLayoutManageListCloseDirective, TdLayoutManageListComponent, TdLayoutManageListOpenDirective, TdLayoutManageListToggleDirective, TdLayoutNavComponent, TdLayoutNavListCloseDirective, TdLayoutNavListComponent, TdLayoutNavListOpenDirective, TdLayoutNavListToggleDirective, TdLayoutOpenDirective, TdLayoutToggleDirective, TdNavigationDrawerComponent, TdNavigationDrawerMenuDirective, TdNavigationDrawerToolbarDirective, _TdLayoutToggleMixinBase };
557
+ export type { ILayoutTogglable };