@covalent/core 10.4.0-beta.3 → 11.0.0-beta.2

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 +9 -9
  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
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./json-formatter.component";
3
- /**
4
- * @deprecated This module is deprecated and will be removed in future versions.
5
- * Please migrate to using standalone components as soon as possible.
6
- */
7
- export declare class CovalentJsonFormatterModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CovalentJsonFormatterModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentJsonFormatterModule, never, [typeof i1.TdJsonFormatterComponent], [typeof i1.TdJsonFormatterComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<CovalentJsonFormatterModule>;
11
- }
@@ -1,2 +0,0 @@
1
- export * from './json-formatter.module';
2
- export * from './json-formatter.component';
@@ -1,31 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TdLayoutCardOverComponent {
3
- /**
4
- * cardTitle?: string
5
- *
6
- * Title set in card.
7
- */
8
- cardTitle?: string;
9
- /**
10
- * cardSubtitle?: string
11
- *
12
- * Subtitle set in card.
13
- */
14
- cardSubtitle?: string;
15
- /**
16
- * cardWidth?: string
17
- *
18
- * Card flex width in %.
19
- * Defaults to 70%.
20
- */
21
- cardWidth?: number | undefined;
22
- /**
23
- * color?: 'accent' | 'primary' | 'warn'
24
- *
25
- * toolbar color option: primary | accent | warn.
26
- * If [color] is not set, primary is used.
27
- */
28
- color?: 'accent' | 'primary' | 'warn';
29
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutCardOverComponent, never>;
30
- 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>;
31
- }
@@ -1,17 +0,0 @@
1
- import { Renderer2, ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TdLayoutFooterComponent {
4
- private _renderer;
5
- private _elementRef;
6
- private _color?;
7
- /**
8
- * color?: 'accent' | 'primary' | 'warn'
9
- *
10
- * Optional color option: primary | accent | warn.
11
- */
12
- set color(color: 'primary' | 'accent' | 'warn' | undefined);
13
- get color(): 'primary' | 'accent' | 'warn' | undefined;
14
- constructor(_renderer: Renderer2, _elementRef: ElementRef);
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutFooterComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TdLayoutFooterComponent, "td-layout-footer,td-layout-footer-inner", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
17
- }
@@ -1,66 +0,0 @@
1
- import { MatSidenav, MatDrawerToggleResult } from '@angular/material/sidenav';
2
- import { ILayoutTogglable } from '../layout-toggle.class';
3
- import * as i0 from "@angular/core";
4
- export declare class TdLayoutManageListComponent implements ILayoutTogglable {
5
- sidenav: MatSidenav;
6
- /**
7
- * mode?: 'side', 'push' or 'over'
8
- *
9
- * The mode or styling of the sidenav.
10
- * Defaults to "side".
11
- * See "MatSidenav" documentation for more info.
12
- *
13
- * https://github.com/angular/material2/tree/main/src/lib/sidenav
14
- */
15
- mode: 'side' | 'push' | 'over';
16
- /**
17
- * opened?: boolean
18
- *
19
- * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
20
- * Defaults to "true".
21
- *
22
- * See "MatSidenav" documentation for more info.
23
- *
24
- * https://github.com/angular/material2/tree/main/src/lib/sidenav
25
- */
26
- opened: boolean;
27
- /**
28
- * sidenavWidth?: string
29
- *
30
- * Sets the "width" of the sidenav in either "px" or "%"
31
- * Defaults to "257px".
32
- *
33
- * https://github.com/angular/material2/tree/main/src/lib/sidenav
34
- */
35
- sidenavWidth: string;
36
- /**
37
- * containerAutosize?: boolean
38
- *
39
- * Sets "autosize" of the sidenav-container.
40
- * Defaults to "false".
41
- *
42
- * See documentation for more info and potential performance risks.
43
- *
44
- * https://github.com/angular/material2/blob/main/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
45
- */
46
- containerAutosize: boolean;
47
- /**
48
- * Checks if `ESC` should close the sidenav
49
- * Should only close it for `push` and `over` modes
50
- */
51
- get disableClose(): boolean;
52
- /**
53
- * Proxy toggle method to access sidenav from outside (from td-layout template).
54
- */
55
- toggle(): Promise<MatDrawerToggleResult>;
56
- /**
57
- * Proxy open method to access sidenav from outside (from td-layout template).
58
- */
59
- open(): Promise<MatDrawerToggleResult>;
60
- /**
61
- * Proxy close method to access sidenav from outside (from td-layout template).
62
- */
63
- close(): Promise<MatDrawerToggleResult>;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutManageListComponent, never>;
65
- 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>;
66
- }
@@ -1,25 +0,0 @@
1
- import { Renderer2, ElementRef } from '@angular/core';
2
- import { TdLayoutManageListComponent } from './layout-manage-list.component';
3
- import { BaseLayoutToggleDirective } from '../layout-toggle.class';
4
- import * as i0 from "@angular/core";
5
- export declare class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {
6
- set tdLayoutManageListToggle(tdLayoutManageListToggle: boolean | string);
7
- constructor(layout: TdLayoutManageListComponent, renderer: Renderer2, elementRef: ElementRef);
8
- onClick(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutManageListToggleDirective, [{ optional: true; }, null, null]>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutManageListToggleDirective, "[tdLayoutManageListToggle]", never, { "tdLayoutManageListToggle": { "alias": "tdLayoutManageListToggle"; "required": false; }; }, {}, never, never, true, never>;
11
- }
12
- export declare class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {
13
- set tdLayoutManageListClose(tdLayoutManageListClose: boolean);
14
- constructor(layout: TdLayoutManageListComponent, renderer: Renderer2, elementRef: ElementRef);
15
- onClick(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutManageListCloseDirective, [{ optional: true; }, null, null]>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutManageListCloseDirective, "[tdLayoutManageListClose]", never, { "tdLayoutManageListClose": { "alias": "tdLayoutManageListClose"; "required": false; }; }, {}, never, never, true, never>;
18
- }
19
- export declare class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {
20
- set tdLayoutManageListOpen(tdLayoutManageListOpen: boolean | string);
21
- constructor(layout: TdLayoutManageListComponent, renderer: Renderer2, elementRef: ElementRef);
22
- onClick(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutManageListOpenDirective, [{ optional: true; }, null, null]>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutManageListOpenDirective, "[tdLayoutManageListOpen]", never, { "tdLayoutManageListOpen": { "alias": "tdLayoutManageListOpen"; "required": false; }; }, {}, never, never, true, never>;
25
- }
@@ -1,45 +0,0 @@
1
- import { Router } from '@angular/router';
2
- import * as i0 from "@angular/core";
3
- export declare class TdLayoutNavComponent {
4
- private _router;
5
- /**
6
- * toolbarTitle?: string
7
- *
8
- * Title set in toolbar.
9
- */
10
- toolbarTitle?: string;
11
- /**
12
- * icon?: string
13
- *
14
- * icon name to be displayed before the title
15
- */
16
- icon?: string;
17
- /**
18
- * logo?: string
19
- *
20
- * logo icon name to be displayed before the title.
21
- * If [icon] is set, then this will not be shown.
22
- */
23
- logo?: string;
24
- /**
25
- * color?: 'accent' | 'primary' | 'warn'
26
- *
27
- * toolbar color option: primary | accent | warn.
28
- * If [color] is not set, primary is used.
29
- */
30
- color?: 'accent' | 'primary' | 'warn';
31
- /**
32
- * navigationRoute?: string
33
- *
34
- * option to set the combined route for the icon, logo, and toolbarTitle.
35
- */
36
- navigationRoute?: string;
37
- /**
38
- * Checks if router was injected.
39
- */
40
- get routerEnabled(): boolean;
41
- constructor(_router: Router);
42
- handleNavigationClick(): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavComponent, [{ optional: true; }]>;
44
- 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>;
45
- }
@@ -1,104 +0,0 @@
1
- import { Router } from '@angular/router';
2
- import { MatSidenav, MatDrawerToggleResult } from '@angular/material/sidenav';
3
- import { ILayoutTogglable } from '../layout-toggle.class';
4
- import * as i0 from "@angular/core";
5
- export declare class TdLayoutNavListComponent implements ILayoutTogglable {
6
- private _router;
7
- sidenav: MatSidenav;
8
- /**
9
- * toolbarTitle?: string
10
- *
11
- * Title set in toolbar.
12
- */
13
- toolbarTitle?: string;
14
- /**
15
- * icon?: string
16
- * icon name to be displayed before the title
17
- */
18
- icon?: string;
19
- /**
20
- * logo?: string
21
- *
22
- * logo icon name to be displayed before the title.
23
- * If [icon] is set, then this will not be shown.
24
- */
25
- logo?: string;
26
- /**
27
- * color?: 'accent' | 'primary' | 'warn'
28
- *
29
- * toolbar color option: primary | accent | warn.
30
- * If [color] is not set, primary is used.
31
- */
32
- color?: 'accent' | 'primary' | 'warn';
33
- /**
34
- * mode?: 'side', 'push' or 'over'
35
- *
36
- * The mode or styling of the sidenav.
37
- * Defaults to "side".
38
- * See "MatSidenav" documentation for more info.
39
- *
40
- * https://github.com/angular/material2/tree/main/src/lib/sidenav
41
- */
42
- mode: 'side' | 'push' | 'over';
43
- /**
44
- * opened?: boolean
45
- * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
46
- * Defaults to "true".
47
- *
48
- * See "MatSidenav" documentation for more info.
49
- *
50
- * https://github.com/angular/material2/tree/main/src/lib/sidenav
51
- */
52
- opened: boolean;
53
- /**
54
- * sidenavWidth?: string
55
- *
56
- * Sets the "width" of the sidenav in either "px" or "%"
57
- * Defaults to "350px".
58
- *
59
- * https://github.com/angular/material2/tree/main/src/lib/sidenav
60
- */
61
- sidenavWidth: string;
62
- /**
63
- * containerAutosize?: boolean
64
- *
65
- * Sets "autosize" of the sidenav-container.
66
- * Defaults to "false".
67
- *
68
- * See documentation for more info and potential performance risks.
69
- *
70
- * https://github.com/angular/material2/blob/main/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
71
- */
72
- containerAutosize: boolean;
73
- /**
74
- * navigationRoute?: string
75
- *
76
- * option to set the combined route for the icon, logo, and toolbarTitle.
77
- */
78
- navigationRoute?: string;
79
- /**
80
- * Checks if `ESC` should close the sidenav
81
- * Should only close it for `push` and `over` modes
82
- */
83
- get disableClose(): boolean;
84
- /**
85
- * Checks if router was injected.
86
- */
87
- get routerEnabled(): boolean;
88
- constructor(_router: Router);
89
- handleNavigationClick(): void;
90
- /**
91
- * Proxy toggle method to access sidenav from outside (from td-layout template).
92
- */
93
- toggle(): Promise<MatDrawerToggleResult>;
94
- /**
95
- * Proxy open method to access sidenav from outside (from td-layout template).
96
- */
97
- open(): Promise<MatDrawerToggleResult>;
98
- /**
99
- * Proxy close method to access sidenav from outside (from td-layout template).
100
- */
101
- close(): Promise<MatDrawerToggleResult>;
102
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavListComponent, [{ optional: true; }]>;
103
- 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>;
104
- }
@@ -1,25 +0,0 @@
1
- import { Renderer2, ElementRef } from '@angular/core';
2
- import { TdLayoutNavListComponent } from './layout-nav-list.component';
3
- import { BaseLayoutToggleDirective } from '../layout-toggle.class';
4
- import * as i0 from "@angular/core";
5
- export declare class TdLayoutNavListToggleDirective extends BaseLayoutToggleDirective {
6
- set tdLayoutNavListToggle(tdLayoutNavListToggle: boolean | string);
7
- constructor(layout: TdLayoutNavListComponent, renderer: Renderer2, elementRef: ElementRef);
8
- onClick(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavListToggleDirective, [{ optional: true; }, null, null]>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutNavListToggleDirective, "[tdLayoutNavListToggle]", never, { "tdLayoutNavListToggle": { "alias": "tdLayoutNavListToggle"; "required": false; }; }, {}, never, never, true, never>;
11
- }
12
- export declare class TdLayoutNavListCloseDirective extends BaseLayoutToggleDirective {
13
- set tdLayoutNavListClose(tdLayoutNavListClose: boolean);
14
- constructor(layout: TdLayoutNavListComponent, renderer: Renderer2, elementRef: ElementRef);
15
- onClick(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavListCloseDirective, [{ optional: true; }, null, null]>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutNavListCloseDirective, "[tdLayoutNavListClose]", never, { "tdLayoutNavListClose": { "alias": "tdLayoutNavListClose"; "required": false; }; }, {}, never, never, true, never>;
18
- }
19
- export declare class TdLayoutNavListOpenDirective extends BaseLayoutToggleDirective {
20
- set tdLayoutNavListOpen(tdLayoutNavListOpen: boolean | string);
21
- constructor(layout: TdLayoutNavListComponent, renderer: Renderer2, elementRef: ElementRef);
22
- onClick(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutNavListOpenDirective, [{ optional: true; }, null, null]>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutNavListOpenDirective, "[tdLayoutNavListOpen]", never, { "tdLayoutNavListOpen": { "alias": "tdLayoutNavListOpen"; "required": false; }; }, {}, never, never, true, never>;
25
- }
@@ -1,40 +0,0 @@
1
- import { Renderer2, ElementRef, AfterViewInit, OnDestroy } from '@angular/core';
2
- import { MatSidenav, MatDrawerToggleResult } from '@angular/material/sidenav';
3
- import { ICanDisable } from '@covalent/core/common';
4
- import * as i0 from "@angular/core";
5
- export interface ILayoutTogglable {
6
- opened: boolean;
7
- sidenav: MatSidenav;
8
- toggle(): Promise<MatDrawerToggleResult>;
9
- open(): Promise<MatDrawerToggleResult>;
10
- close(): Promise<MatDrawerToggleResult>;
11
- }
12
- export declare class LayoutToggleBase {
13
- }
14
- export declare const _TdLayoutToggleMixinBase: (new (...args: any[]) => ICanDisable) & typeof LayoutToggleBase;
15
- export declare abstract class BaseLayoutToggleDirective extends _TdLayoutToggleMixinBase implements AfterViewInit, OnDestroy, ICanDisable {
16
- protected _layout: ILayoutTogglable;
17
- private _renderer;
18
- private _elementRef;
19
- private _toggleSubs?;
20
- private _initialized;
21
- private _hideWhenOpened;
22
- /**
23
- * hideWhenOpened?: boolean
24
- * When this is set to true, the host will be hidden when
25
- * the sidenav is opened.
26
- */
27
- set hideWhenOpened(hideWhenOpened: boolean);
28
- constructor(_layout: ILayoutTogglable, _renderer: Renderer2, _elementRef: ElementRef);
29
- ngAfterViewInit(): void;
30
- ngOnDestroy(): void;
31
- /**
32
- * Listens to host click event to trigger the layout toggle
33
- */
34
- clickListener(event: Event): void;
35
- abstract onClick(): void;
36
- private _toggleVisibility;
37
- private _noLayoutMessage;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseLayoutToggleDirective, never>;
39
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseLayoutToggleDirective, never, never, { "hideWhenOpened": { "alias": "hideWhenOpened"; "required": false; }; }, {}, never, never, true, never>;
40
- }
@@ -1,66 +0,0 @@
1
- import { MatSidenav, MatDrawerToggleResult } from '@angular/material/sidenav';
2
- import { ILayoutTogglable } from './layout-toggle.class';
3
- import * as i0 from "@angular/core";
4
- export declare class TdLayoutComponent implements ILayoutTogglable {
5
- sidenav: MatSidenav;
6
- /**
7
- * mode?: 'side', 'push' or 'over'
8
- *
9
- * The mode or styling of the sidenav.
10
- * Defaults to "over".
11
- * See "MatSidenav" documentation for more info.
12
- *
13
- * https://github.com/angular/material2/tree/main/src/lib/sidenav
14
- */
15
- mode: 'side' | 'push' | 'over';
16
- /**
17
- * opened?: boolean
18
- *
19
- * Whether or not the sidenav is opened. Use this binding to open/close the sidenav.
20
- * Defaults to "false".
21
- *
22
- * See "MatSidenav" documentation for more info.
23
- *
24
- * https://github.com/angular/material2/tree/main/src/lib/sidenav
25
- */
26
- opened: boolean;
27
- /**
28
- * sidenavWidth?: string
29
- *
30
- * Sets the "width" of the sidenav in either "px" or "%"
31
- * Defaults to "320px".
32
- *
33
- * https://github.com/angular/material2/tree/main/src/lib/sidenav
34
- */
35
- sidenavWidth: string;
36
- /**
37
- * containerAutosize?: boolean
38
- *
39
- * Sets "autosize" of the sidenav-container.
40
- * Defaults to "false".
41
- *
42
- * See documentation for more info and potential performance risks.
43
- *
44
- * https://github.com/angular/material2/blob/main/src/lib/sidenav/sidenav.md#resizing-an-open-sidenav
45
- */
46
- containerAutosize: boolean;
47
- /**
48
- * Checks if `ESC` should close the sidenav
49
- * Should only close it for `push` and `over` modes
50
- */
51
- get disableClose(): boolean;
52
- /**
53
- * Proxy toggle method to access sidenav from outside (from td-layout template).
54
- */
55
- toggle(): Promise<MatDrawerToggleResult>;
56
- /**
57
- * Proxy open method to access sidenav from outside (from td-layout template).
58
- */
59
- open(): Promise<MatDrawerToggleResult>;
60
- /**
61
- * Proxy close method to access sidenav from outside (from td-layout template).
62
- */
63
- close(): Promise<MatDrawerToggleResult>;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutComponent, never>;
65
- 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>;
66
- }
@@ -1,25 +0,0 @@
1
- import { Renderer2, ElementRef } from '@angular/core';
2
- import { TdLayoutComponent } from './layout.component';
3
- import { BaseLayoutToggleDirective } from './layout-toggle.class';
4
- import * as i0 from "@angular/core";
5
- export declare class TdLayoutToggleDirective extends BaseLayoutToggleDirective {
6
- set tdLayoutToggle(tdLayoutToggle: boolean | string);
7
- constructor(layout: TdLayoutComponent, renderer: Renderer2, elementRef: ElementRef);
8
- onClick(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutToggleDirective, [{ optional: true; }, null, null]>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutToggleDirective, "[tdLayoutToggle]", never, { "tdLayoutToggle": { "alias": "tdLayoutToggle"; "required": false; }; }, {}, never, never, true, never>;
11
- }
12
- export declare class TdLayoutCloseDirective extends BaseLayoutToggleDirective {
13
- set tdLayoutClose(tdLayoutClose: boolean | string | undefined);
14
- constructor(layout: TdLayoutComponent, renderer: Renderer2, elementRef: ElementRef);
15
- onClick(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutCloseDirective, [{ optional: true; }, null, null]>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutCloseDirective, "[tdLayoutClose]", never, { "tdLayoutClose": { "alias": "tdLayoutClose"; "required": false; }; }, {}, never, never, true, never>;
18
- }
19
- export declare class TdLayoutOpenDirective extends BaseLayoutToggleDirective {
20
- set tdLayoutClose(tdLayoutOpen: boolean);
21
- constructor(layout: TdLayoutComponent, renderer: Renderer2, elementRef: ElementRef);
22
- onClick(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLayoutOpenDirective, [{ optional: true; }, null, null]>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLayoutOpenDirective, "[tdLayoutOpen]", never, { "tdLayoutClose": { "alias": "tdLayoutOpen"; "required": false; }; }, {}, never, never, true, never>;
25
- }
@@ -1,20 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./layout.component";
3
- import * as i2 from "./layout.directives";
4
- import * as i3 from "./layout-nav/layout-nav.component";
5
- import * as i4 from "./layout-nav-list/layout-nav-list.component";
6
- import * as i5 from "./layout-nav-list/layout-nav-list.directives";
7
- import * as i6 from "./layout-card-over/layout-card-over.component";
8
- import * as i7 from "./layout-manage-list/layout-manage-list.component";
9
- import * as i8 from "./layout-manage-list/layout-manage-list.directives";
10
- import * as i9 from "./layout-footer/layout-footer.component";
11
- import * as i10 from "./navigation-drawer/navigation-drawer.component";
12
- /**
13
- * @deprecated This module is deprecated and will be removed in future versions.
14
- * Please migrate to using standalone components as soon as possible.
15
- */
16
- export declare class CovalentLayoutModule {
17
- static ɵfac: i0.ɵɵFactoryDeclaration<CovalentLayoutModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentLayoutModule, never, [typeof i1.TdLayoutComponent, typeof i2.TdLayoutToggleDirective, typeof i2.TdLayoutCloseDirective, typeof i2.TdLayoutOpenDirective, typeof i3.TdLayoutNavComponent, typeof i4.TdLayoutNavListComponent, typeof i5.TdLayoutNavListToggleDirective, typeof i5.TdLayoutNavListCloseDirective, typeof i5.TdLayoutNavListOpenDirective, typeof i6.TdLayoutCardOverComponent, typeof i7.TdLayoutManageListComponent, typeof i8.TdLayoutManageListToggleDirective, typeof i8.TdLayoutManageListCloseDirective, typeof i8.TdLayoutManageListOpenDirective, typeof i9.TdLayoutFooterComponent, typeof i10.TdNavigationDrawerComponent, typeof i10.TdNavigationDrawerMenuDirective, typeof i10.TdNavigationDrawerToolbarDirective], [typeof i1.TdLayoutComponent, typeof i2.TdLayoutToggleDirective, typeof i2.TdLayoutCloseDirective, typeof i2.TdLayoutOpenDirective, typeof i3.TdLayoutNavComponent, typeof i4.TdLayoutNavListComponent, typeof i5.TdLayoutNavListToggleDirective, typeof i5.TdLayoutNavListCloseDirective, typeof i5.TdLayoutNavListOpenDirective, typeof i6.TdLayoutCardOverComponent, typeof i7.TdLayoutManageListComponent, typeof i8.TdLayoutManageListToggleDirective, typeof i8.TdLayoutManageListCloseDirective, typeof i8.TdLayoutManageListOpenDirective, typeof i9.TdLayoutFooterComponent, typeof i10.TdNavigationDrawerComponent, typeof i10.TdNavigationDrawerMenuDirective, typeof i10.TdNavigationDrawerToolbarDirective]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<CovalentLayoutModule>;
20
- }
@@ -1,120 +0,0 @@
1
- import { OnInit, OnDestroy, QueryList } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { SafeStyle, DomSanitizer } from '@angular/platform-browser';
4
- import { MatDrawerToggleResult } from '@angular/material/sidenav';
5
- import { TdLayoutComponent } from '../layout.component';
6
- import * as i0 from "@angular/core";
7
- export declare class TdNavigationDrawerMenuDirective {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TdNavigationDrawerMenuDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdNavigationDrawerMenuDirective, "[tdNavigationDrawerMenu]", never, {}, {}, never, never, true, never>;
10
- }
11
- export declare class TdNavigationDrawerToolbarDirective {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TdNavigationDrawerToolbarDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdNavigationDrawerToolbarDirective, "[tdNavigationDrawerToolbar]", never, {}, {}, never, never, true, never>;
14
- }
15
- export declare class TdNavigationDrawerComponent implements OnInit, OnDestroy {
16
- private _layout;
17
- private _router;
18
- private _sanitize;
19
- private _menuToggled;
20
- private _backgroundImage;
21
- private _destroy$;
22
- get menuToggled(): boolean;
23
- _drawerMenu: QueryList<TdNavigationDrawerMenuDirective>;
24
- _toolbar: QueryList<TdNavigationDrawerToolbarDirective>;
25
- /**
26
- * Checks if there is a [TdNavigationDrawerMenuDirective] has content.
27
- */
28
- get isMenuAvailable(): boolean;
29
- /**
30
- * Checks if there is a [TdNavigationDrawerToolbarDirective] has content.
31
- */
32
- get isCustomToolbar(): boolean;
33
- /**
34
- * Checks if there is a background image for the toolbar.
35
- */
36
- get isBackgroundAvailable(): boolean;
37
- /**
38
- * sidenavTitle?: string
39
- * Title set in sideNav.
40
- */
41
- sidenavTitle?: string;
42
- /**
43
- * icon?: string
44
- *
45
- * icon name to be displayed before the title
46
- */
47
- icon?: string;
48
- /**
49
- * logo?: string
50
- *
51
- * logo icon name to be displayed before the title.
52
- * If [icon] is set, then this will not be shown.
53
- */
54
- logo?: string;
55
- /**
56
- * avatar?: string
57
- *
58
- * avatar url to be displayed before the title
59
- * If [icon] or [logo] are set, then this will not be shown.
60
- */
61
- avatar?: string;
62
- /**
63
- * color?: 'accent' | 'primary' | 'warn'
64
- *
65
- * toolbar color option: primary | accent | warn.
66
- * If [color] is not set, default is used.
67
- */
68
- color?: 'accent' | 'primary' | 'warn';
69
- /**
70
- * navigationRoute?: string
71
- *
72
- * option to set the combined route for the icon, logo, and sidenavTitle.
73
- */
74
- navigationRoute?: string;
75
- /**
76
- * backgroundUrl?: SafeResourceUrl
77
- *
78
- * image to be displayed as the background of the toolbar.
79
- * URL used will be sanitized, but it should be always from a trusted source to avoid XSS.
80
- */
81
- set backgroundUrl(backgroundUrl: any);
82
- get backgroundImage(): SafeStyle | null;
83
- /**
84
- * name?: string
85
- *
86
- * string to be displayed as part of the navigation drawer sublabel.
87
- * if [email] is not set, then [name] will be the toggle menu text.
88
- */
89
- name?: string;
90
- /**
91
- * email?: string
92
- *
93
- * string to be displayed as part of the navigation drawer sublabel in the [toggle] menu text.
94
- * if [email] and [name] are not set, then the toggle menu is not rendered.
95
- */
96
- email?: string;
97
- /**
98
- * Checks if router was injected.
99
- */
100
- get routerEnabled(): boolean;
101
- constructor(_layout: TdLayoutComponent, _router: Router, _sanitize: DomSanitizer);
102
- ngOnInit(): void;
103
- ngOnDestroy(): void;
104
- toggleMenu(): void;
105
- handleNavigationClick(): void;
106
- /**
107
- * Proxy toggle method to access sidenav from outside (from td-layout template).
108
- */
109
- toggle(): Promise<MatDrawerToggleResult>;
110
- /**
111
- * Proxy open method to access sidenav from outside (from td-layout template).
112
- */
113
- open(): Promise<MatDrawerToggleResult>;
114
- /**
115
- * Proxy close method to access sidenav from outside (from td-layout template).
116
- */
117
- close(): Promise<MatDrawerToggleResult>;
118
- static ɵfac: i0.ɵɵFactoryDeclaration<TdNavigationDrawerComponent, [null, { optional: true; }, null]>;
119
- 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>;
120
- }
@@ -1,12 +0,0 @@
1
- export * from './layout.module';
2
- export * from './layout.component';
3
- export * from './layout.directives';
4
- export * from './layout-toggle.class';
5
- export * from './layout-card-over/layout-card-over.component';
6
- export * from './layout-footer/layout-footer.component';
7
- export * from './layout-manage-list/layout-manage-list.component';
8
- export * from './layout-manage-list/layout-manage-list.directives';
9
- export * from './layout-nav/layout-nav.component';
10
- export * from './layout-nav-list/layout-nav-list.component';
11
- export * from './layout-nav-list/layout-nav-list.directives';
12
- export * from './navigation-drawer/navigation-drawer.component';