@covalent/core 10.4.0-beta.2 → 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
@@ -1,70 +0,0 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { ViewContainerRef, TemplateRef } from '@angular/core';
3
- import { LoadingType, LoadingMode, LoadingStrategy } from '../loading.component';
4
- import { TdLoadingService } from '../services/loading.service';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Context class for variable reference
8
- */
9
- export declare class TdLoadingContext {
10
- $implicit: any;
11
- tdLoading: any;
12
- }
13
- export declare class TdLoadingDirective implements OnInit, OnDestroy {
14
- private _viewContainerRef;
15
- private _templateRef;
16
- private _loadingService;
17
- private _context;
18
- private _loadingRef?;
19
- /**
20
- * tdLoading: string
21
- * Name reference of the loading mask, used to register/resolve requests to the mask.
22
- */
23
- name: string;
24
- /**
25
- * tdLoadingUntil?: any
26
- * If its null, undefined or false it will be used to register requests to the mask.
27
- * Else if its any value that can be resolved as true, it will resolve the mask.
28
- * [name] is optional when using [until], but can still be used to register/resolve it manually.
29
- */
30
- set until(until: any);
31
- /**
32
- * tdLoadingType?: LoadingType or ['linear' | 'circular']
33
- * Sets the type of loading mask depending on value.
34
- * Defaults to [LoadingType.Circular | 'circular'].
35
- */
36
- type: LoadingType;
37
- /**
38
- * tdLoadingMode?: LoadingMode or ['determinate' | 'indeterminate']
39
- * Sets the mode of loading mask depending on value.
40
- * Defaults to [LoadingMode.Indeterminate | 'indeterminate'].
41
- */
42
- mode: LoadingMode;
43
- /**
44
- * tdLoadingStrategy?: LoadingStrategy or ['replace' | 'overlay']
45
- * Sets the strategy of loading mask depending on value.
46
- * Defaults to [LoadingMode.Replace | 'replace'].
47
- */
48
- strategy: LoadingStrategy.Overlay | LoadingStrategy.Replace;
49
- /**
50
- * tdLoadingColor?: "primary" | "accent" | "warn"
51
- * Sets the theme color of the loading component. Defaults to "primary"
52
- */
53
- color: 'primary' | 'accent' | 'warn';
54
- constructor(_viewContainerRef: ViewContainerRef, _templateRef: TemplateRef<TdLoadingContext>, _loadingService: TdLoadingService);
55
- /**
56
- * Registers component in the DOM, so it will be available when calling resolve/register.
57
- */
58
- ngOnInit(): void;
59
- /**
60
- * Remove component when directive is destroyed.
61
- */
62
- ngOnDestroy(): void;
63
- /**
64
- * Creates [TdLoadingComponent] and attaches it to this directive's [ViewContainerRef].
65
- * Passes this directive's [TemplateRef] to modify DOM depending on loading `strategy`.
66
- */
67
- private _registerComponent;
68
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLoadingDirective, never>;
69
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdLoadingDirective, "[tdLoading]", never, { "name": { "alias": "tdLoading"; "required": false; }; "until": { "alias": "tdLoadingUntil"; "required": false; }; "type": { "alias": "tdLoadingType"; "required": false; }; "mode": { "alias": "tdLoadingMode"; "required": false; }; "strategy": { "alias": "tdLoadingStrategy"; "required": false; }; "color": { "alias": "tdLoadingColor"; "required": false; }; }, {}, never, never, true, never>;
70
- }
@@ -1,90 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, DoCheck } from '@angular/core';
2
- import { TemplatePortal } from '@angular/cdk/portal';
3
- import * as i0 from "@angular/core";
4
- export declare enum LoadingType {
5
- Circular = "circular",
6
- Linear = "linear"
7
- }
8
- export declare enum LoadingMode {
9
- Determinate = "determinate",
10
- Indeterminate = "indeterminate"
11
- }
12
- export declare enum LoadingStrategy {
13
- Overlay = "overlay",
14
- Replace = "replace"
15
- }
16
- export declare enum LoadingStyle {
17
- FullScreen = "fullscreen",
18
- Overlay = "overlay",
19
- None = "none"
20
- }
21
- export declare const TD_CIRCLE_DIAMETER = 40;
22
- export declare class TdLoadingComponent implements DoCheck {
23
- private _elementRef;
24
- private _changeDetectorRef;
25
- private _mode;
26
- private _defaultMode;
27
- private _value;
28
- private _circleDiameter;
29
- /**
30
- * Flag for animation
31
- */
32
- animation: boolean;
33
- /**
34
- * Content injected into loading component.
35
- */
36
- content: TemplatePortal<any>;
37
- /**
38
- * Sets mode of [TdLoadingComponent] to LoadingMode.Determinate or LoadingMode.Indeterminate
39
- */
40
- set mode(mode: LoadingMode);
41
- get mode(): LoadingMode;
42
- /**
43
- * Sets value of [TdLoadingComponent] if mode is 'LoadingMode.Determinate'
44
- */
45
- set value(value: number);
46
- get value(): number;
47
- style: LoadingStyle;
48
- /**
49
- * height: number
50
- * Sets height of [TdLoadingComponent].
51
- */
52
- height: number;
53
- /**
54
- * type: LoadingType
55
- * Sets type of [TdLoadingComponent] rendered.
56
- */
57
- type: LoadingType;
58
- /**
59
- * color: primary' | 'accent' | 'warn'
60
- * Sets theme color of [TdLoadingComponent] rendered.
61
- */
62
- color: 'primary' | 'accent' | 'warn';
63
- constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
64
- ngDoCheck(): void;
65
- getHeight(): string | undefined;
66
- getCircleDiameter(): number;
67
- getCircleStrokeWidth(): number;
68
- isCircular(): boolean;
69
- isLinear(): boolean;
70
- isFullScreen(): boolean;
71
- isOverlay(): boolean;
72
- /**
73
- * Starts in animation and returns an observable for completition event.
74
- */
75
- show(): void;
76
- /**
77
- * Starts out animation and returns an observable for completition event.
78
- */
79
- hide(): void;
80
- /**
81
- * Calculate the proper diameter for the circle and set it
82
- */
83
- private _setCircleDiameter;
84
- /**
85
- * Returns the host height of the loading component
86
- */
87
- private _hostHeight;
88
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLoadingComponent, never>;
89
- static ɵcmp: i0.ɵɵComponentDeclaration<TdLoadingComponent, "td-loading", never, {}, {}, never, never, true, never>;
90
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./loading.component";
3
- import * as i2 from "./directives/loading.directive";
4
- export declare class CovalentLoadingModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CovalentLoadingModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentLoadingModule, never, [typeof i1.TdLoadingComponent, typeof i2.TdLoadingDirective], [typeof i1.TdLoadingComponent, typeof i2.TdLoadingDirective]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<CovalentLoadingModule>;
8
- }
@@ -1,5 +0,0 @@
1
- export * from './loading.module';
2
- export * from './loading.component';
3
- export * from './directives/loading.directive';
4
- export * from './services/loading.service';
5
- export * from './services/loading.factory';
@@ -1,69 +0,0 @@
1
- import { ComponentFactoryResolver, Provider } from '@angular/core';
2
- import { Injector, ComponentRef, ViewContainerRef, TemplateRef } from '@angular/core';
3
- import { Overlay } from '@angular/cdk/overlay';
4
- import { Observable, Subject } from 'rxjs';
5
- import { TdLoadingContext } from '../directives/loading.directive';
6
- import { LoadingStyle } from '../loading.component';
7
- import { ITdLoadingConfig } from './loading.service';
8
- import * as i0 from "@angular/core";
9
- export interface IInternalLoadingOptions extends ITdLoadingConfig {
10
- height?: number;
11
- style?: LoadingStyle;
12
- }
13
- export interface ILoadingRef {
14
- observable: Observable<any>;
15
- componentRef?: ComponentRef<any>;
16
- subject: Subject<any>;
17
- times: number;
18
- }
19
- /**
20
- * NOTE: @internal usage only.
21
- */
22
- export declare class TdLoadingFactory {
23
- private _componentFactoryResolver;
24
- private _overlay;
25
- private _injector;
26
- constructor(_componentFactoryResolver: ComponentFactoryResolver, _overlay: Overlay, _injector: Injector);
27
- /**
28
- * Uses material `Overlay` services to create a DOM element and attach the loading component
29
- * into it. Leveraging the state and configuration from it.
30
- *
31
- * Saves a reference in context to be called when registering/resolving the loading element.
32
- */
33
- createFullScreenComponent(options: ITdLoadingConfig): ILoadingRef;
34
- /**
35
- * Creates a loading component dynamically and attaches it into the given viewContainerRef.
36
- * Leverages TemplatePortals from material to inject the template inside of it so it fits
37
- * perfectly when overlaying it.
38
- *
39
- * Saves a reference in context to be called when registering/resolving the loading element.
40
- */
41
- createOverlayComponent(options: ITdLoadingConfig, viewContainerRef: ViewContainerRef, templateRef: TemplateRef<object>): ILoadingRef;
42
- /**
43
- * Creates a loading component dynamically and attaches it into the given viewContainerRef.
44
- * Replaces the template with the loading component depending if it was registered or resolved.
45
- *
46
- * Saves a reference in context to be called when registering/resolving the loading element.
47
- */
48
- createReplaceComponent(options: ITdLoadingConfig, viewContainerRef: ViewContainerRef, templateRef: TemplateRef<object>, context: TdLoadingContext): ILoadingRef;
49
- /**
50
- * Creates a fullscreen overlay for the loading usage.
51
- */
52
- private _createOverlay;
53
- /**
54
- * Creates a generic component dynamically waiting to be attached to a viewContainerRef.
55
- */
56
- private _createComponent;
57
- /**
58
- * Initialize context for loading component.
59
- */
60
- private _initializeContext;
61
- /**
62
- * Maps configuration to the loading component instance.
63
- */
64
- private _mapOptions;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLoadingFactory, never>;
66
- static ɵprov: i0.ɵɵInjectableDeclaration<TdLoadingFactory>;
67
- }
68
- export declare function LOADING_FACTORY_PROVIDER_FACTORY(parent: TdLoadingFactory, componentFactoryResolver: ComponentFactoryResolver, overlay: Overlay, injector: Injector): TdLoadingFactory;
69
- export declare const LOADING_FACTORY_PROVIDER: Provider;
@@ -1,118 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { ViewContainerRef, TemplateRef } from '@angular/core';
3
- import { TdLoadingContext } from '../directives/loading.directive';
4
- import { LoadingMode, LoadingStrategy, LoadingType } from '../loading.component';
5
- import { TdLoadingFactory, ILoadingRef } from './loading.factory';
6
- import * as i0 from "@angular/core";
7
- export interface ITdLoadingConfig {
8
- name: string;
9
- type?: LoadingType;
10
- mode?: LoadingMode;
11
- color?: 'primary' | 'accent' | 'warn';
12
- }
13
- export declare class TdLoadingConfig implements ITdLoadingConfig {
14
- name: string;
15
- type?: LoadingType;
16
- mode?: LoadingMode;
17
- color?: 'primary' | 'accent' | 'warn';
18
- constructor(config: ITdLoadingConfig);
19
- }
20
- export interface ITdLoadingDirectiveConfig extends ITdLoadingConfig {
21
- strategy?: LoadingStrategy;
22
- }
23
- export declare class TdLoadingDirectiveConfig extends TdLoadingConfig implements ITdLoadingDirectiveConfig {
24
- strategy: LoadingStrategy;
25
- constructor(config: ITdLoadingDirectiveConfig);
26
- }
27
- export declare class TdLoadingService {
28
- private _loadingFactory;
29
- private _context;
30
- private _timeouts;
31
- constructor(_loadingFactory: TdLoadingFactory);
32
- /**
33
- * params:
34
- * - config: ILoadingDirectiveConfig
35
- * - viewContainerRef: ViewContainerRef
36
- * - templateRef: TemplateRef<Object>
37
- *
38
- * Creates an replace loading mask and attaches it to the viewContainerRef.
39
- * Replaces the templateRef with the mask when a request is registered on it.
40
- *
41
- * NOTE: @internal usage only.
42
- */
43
- createComponent(config: ITdLoadingDirectiveConfig, viewContainerRef: ViewContainerRef, templateRef: TemplateRef<object>, context: TdLoadingContext): ILoadingRef;
44
- /**
45
- * params:
46
- * - config: ITdLoadingConfig
47
- *
48
- * Creates a fullscreen loading mask and attaches it to the DOM with the given configuration.
49
- * Only displayed when the mask has a request registered on it.
50
- */
51
- create(config: ITdLoadingConfig): void;
52
- /**
53
- * params:
54
- * - name: string
55
- *
56
- * Removes `loading` component from service context.
57
- */
58
- removeComponent(name: string): void;
59
- /**
60
- * params:
61
- * - name: string
62
- * - registers?: number
63
- * returns: true if successful
64
- *
65
- * Resolves a request for the loading mask referenced by the name parameter.
66
- * Can optionally pass registers argument to set a number of register calls.
67
- *
68
- * If no paramemeters are used, then default main mask will be used.
69
- *
70
- * e.g. loadingService.register()
71
- */
72
- register(name?: string, registers?: number): boolean;
73
- /**
74
- * params:
75
- * - name: string
76
- * - resolves?: number
77
- * returns: true if successful
78
- *
79
- * Resolves a request for the loading mask referenced by the name parameter.
80
- * Can optionally pass resolves argument to set a number of resolve calls.
81
- *
82
- * If no paramemeters are used, then default main mask will be used.
83
- *
84
- * e.g. loadingService.resolve()
85
- */
86
- resolve(name?: string, resolves?: number): boolean;
87
- /**
88
- * params:
89
- * - name: string
90
- * returns: true if successful
91
- *
92
- * Resolves all request for the loading mask referenced by the name parameter.
93
- *
94
- * If no paramemeters are used, then default main mask will be used.
95
- *
96
- * e.g. loadingService.resolveAll()
97
- */
98
- resolveAll(name?: string): boolean;
99
- /**
100
- * params:
101
- * - name: string
102
- * - value: number
103
- * returns: true if successful
104
- *
105
- * Set value on a loading mask referenced by the name parameter.
106
- * Usage only available if its mode is 'determinate' and if loading is showing.
107
- */
108
- setValue(name: string, value: number): boolean;
109
- /**
110
- * Clears timeout linked to the name.
111
- * @param name Name of the loading component to be cleared
112
- */
113
- private _clearTimeout;
114
- static ɵfac: i0.ɵɵFactoryDeclaration<TdLoadingService, never>;
115
- static ɵprov: i0.ɵɵInjectableDeclaration<TdLoadingService>;
116
- }
117
- export declare function LOADING_PROVIDER_FACTORY(parent: TdLoadingService, loadingFactory: TdLoadingFactory): TdLoadingService;
118
- export declare const LOADING_PROVIDER: Provider;
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TdMenuComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<TdMenuComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<TdMenuComponent, "td-menu", never, {}, {}, never, ["[td-menu-header]", "*", "[td-menu-footer]"], true, never>;
5
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./menu.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 CovalentMenuModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CovalentMenuModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentMenuModule, never, [typeof i1.TdMenuComponent], [typeof i1.TdMenuComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<CovalentMenuModule>;
11
- }
@@ -1,2 +0,0 @@
1
- export * from './menu.module';
2
- export * from './menu.component';
@@ -1,24 +0,0 @@
1
- import { AnimationTriggerMetadata } from '@angular/animations';
2
- export interface IAnimationOptions {
3
- anchor?: string;
4
- duration?: number;
5
- delay?: number;
6
- }
7
- export interface ICollapseAnimation extends IAnimationOptions {
8
- easeOnClose?: string;
9
- easeOnOpen?: string;
10
- }
11
- /**
12
- * const tdCollapseAnimation
13
- *
14
- * Parameter Options:
15
- * * duration: Duration the animation will run in milliseconds. Defaults to 150 ms.
16
- * * delay: Delay before the animation will run in milliseconds. Defaults to 0 ms.
17
- * * easeOnClose: Animation accelerates and decelerates when closing. Defaults to ease-in.
18
- * * easeOnOpen: Animation accelerates and decelerates when opening. Defaults to ease-out.
19
- *
20
- * Returns an [AnimationTriggerMetadata] object with boolean states for a collapse/expand animation.
21
- *
22
- * usage: [@tdCollapse]="{ value: true | false, params: { duration: 500 }}"
23
- */
24
- export declare const tdCollapseAnimation: AnimationTriggerMetadata;
@@ -1,101 +0,0 @@
1
- import { Renderer2, ElementRef, AfterViewInit, ViewContainerRef, TemplateRef, ChangeDetectorRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TdMessageContainerDirective {
4
- viewContainer: ViewContainerRef;
5
- constructor(viewContainer: ViewContainerRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TdMessageContainerDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TdMessageContainerDirective, "[tdMessageContainer]", never, {}, {}, never, never, true, never>;
8
- }
9
- export declare class TdMessageComponent implements AfterViewInit {
10
- private _renderer;
11
- private _changeDetectorRef;
12
- private _elementRef;
13
- private _color;
14
- private _opened;
15
- private _hidden;
16
- private _animating;
17
- private _initialized;
18
- _childElement?: TdMessageContainerDirective;
19
- _template: TemplateRef<any>;
20
- /**
21
- * Binding host to tdCollapse animation
22
- */
23
- get collapsedAnimation(): any;
24
- /**
25
- * Binding host to display style when hidden
26
- */
27
- get hidden(): string;
28
- /**
29
- * label: string
30
- *
31
- * Sets the label of the message.
32
- */
33
- label?: string;
34
- /**
35
- * sublabel?: string
36
- *
37
- * Sets the sublabel of the message.
38
- */
39
- sublabel?: string;
40
- /**
41
- * icon?: string
42
- *
43
- * The icon to be displayed before the title.
44
- * Defaults to `info_outline` icon
45
- */
46
- icon?: string;
47
- /**
48
- * color?: primary | accent | warn
49
- *
50
- * Sets the color of the message.
51
- * Can also use any material color: purple | light-blue, etc.
52
- */
53
- set color(color: string);
54
- get color(): string;
55
- /**
56
- * opened?: boolean
57
- *
58
- * Shows or hiddes the message depending on its value.
59
- * Defaults to 'true'.
60
- */
61
- set opened(opened: boolean);
62
- get opened(): boolean;
63
- constructor(_renderer: Renderer2, _changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef);
64
- /**
65
- * Detach element when close animation is finished to set animating state to false
66
- * hidden state to true and detach element from DOM
67
- */
68
- animationDoneListener(): void;
69
- /**
70
- * Initializes the component and attaches the content.
71
- */
72
- ngAfterViewInit(): void;
73
- /**
74
- * Renders the message on screen
75
- * Validates if there is an animation currently and if its already opened
76
- */
77
- open(): void;
78
- /**
79
- * Removes the message content from screen.
80
- * Validates if there is an animation currently and if its already closed
81
- */
82
- close(): void;
83
- /**
84
- * Toggles between open and close depending on state.
85
- */
86
- toggle(): void;
87
- /**
88
- * Method to set the state before starting an animation
89
- */
90
- private _startAnimationState;
91
- /**
92
- * Method to attach template to DOM
93
- */
94
- private _attach;
95
- /**
96
- * Method to detach template from DOM
97
- */
98
- private _detach;
99
- static ɵfac: i0.ɵɵFactoryDeclaration<TdMessageComponent, never>;
100
- static ɵcmp: i0.ɵɵComponentDeclaration<TdMessageComponent, "td-message", never, { "label": { "alias": "label"; "required": false; }; "sublabel": { "alias": "sublabel"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "color": { "alias": "color"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; }, {}, never, ["[td-message-actions]"], true, never>;
101
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./message.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 CovalentMessageModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CovalentMessageModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentMessageModule, never, [typeof i1.TdMessageComponent, typeof i1.TdMessageContainerDirective], [typeof i1.TdMessageComponent, typeof i1.TdMessageContainerDirective]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<CovalentMessageModule>;
11
- }
@@ -1,2 +0,0 @@
1
- export * from './message.module';
2
- export * from './message.component';
package/public_api.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export * from './search.module';
2
- export * from './search-box/search-box.component';
3
- export * from './search-input/search-input.component';
@@ -1,88 +0,0 @@
1
- import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { TdSearchInputComponent } from '../search-input/search-input.component';
4
- import * as i0 from "@angular/core";
5
- export declare class TdSearchBoxBase {
6
- _changeDetectorRef: ChangeDetectorRef;
7
- constructor(_changeDetectorRef: ChangeDetectorRef);
8
- }
9
- export declare class TdSearchBoxComponent implements ControlValueAccessor {
10
- private _changeDetectorRef;
11
- private _searchVisible;
12
- _searchInput?: TdSearchInputComponent;
13
- get searchVisible(): boolean;
14
- /**
15
- * backIcon?: string
16
- * The icon used to close the search toggle, only shown when [alwaysVisible] is false.
17
- * Defaults to 'search' icon.
18
- */
19
- backIcon: string;
20
- /**
21
- * searchIcon?: string
22
- * The icon used to open/focus the search toggle.
23
- * Defaults to 'search' icon.
24
- */
25
- searchIcon: string;
26
- /**
27
- * clearIcon?: string
28
- * The icon used to clear the search input.
29
- * Defaults to 'cancel' icon.
30
- */
31
- clearIcon: string;
32
- /**
33
- * showUnderline?: boolean
34
- * Sets if the input underline should be visible. Defaults to 'false'.
35
- */
36
- showUnderline: boolean;
37
- /**
38
- * debounce?: number
39
- * Debounce timeout between keypresses. Defaults to 400.
40
- */
41
- debounce: number;
42
- /**
43
- * alwaysVisible?: boolean
44
- * Sets if the input should always be visible. Defaults to 'false'.
45
- */
46
- alwaysVisible: boolean;
47
- /**
48
- * placeholder?: string
49
- * Placeholder for the underlying input component.
50
- */
51
- placeholder: string;
52
- value: unknown;
53
- /**
54
- * searchDebounce: function($event)
55
- * Event emitted after the [debounce] timeout.
56
- */
57
- searchDebounce: EventEmitter<string>;
58
- /**
59
- * search: function($event)
60
- * Event emitted after the key enter has been pressed.
61
- */
62
- search: EventEmitter<string>;
63
- /**
64
- * clear: function()
65
- * Event emitted after the clear icon has been clicked.
66
- */
67
- clear: EventEmitter<void>;
68
- /**
69
- * blur: function()
70
- * Event emitted after the blur event has been called in underlying input.
71
- */
72
- blurSearch: EventEmitter<void>;
73
- constructor(_changeDetectorRef: ChangeDetectorRef);
74
- writeValue(value: unknown): void;
75
- registerOnChange(): void;
76
- registerOnTouched(): void;
77
- /**
78
- * Method executed when the search icon is clicked.
79
- */
80
- searchClicked(): void;
81
- toggleVisibility(): void;
82
- handleSearchDebounce(value: string): void;
83
- handleSearch(value: string): void;
84
- handleClear(): void;
85
- handleBlur(): void;
86
- static ɵfac: i0.ɵɵFactoryDeclaration<TdSearchBoxComponent, never>;
87
- static ɵcmp: i0.ɵɵComponentDeclaration<TdSearchBoxComponent, "td-search-box", never, { "backIcon": { "alias": "backIcon"; "required": false; }; "searchIcon": { "alias": "searchIcon"; "required": false; }; "clearIcon": { "alias": "clearIcon"; "required": false; }; "showUnderline": { "alias": "showUnderline"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "alwaysVisible": { "alias": "alwaysVisible"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "searchDebounce": "searchDebounce"; "search": "search"; "clear": "clear"; "blurSearch": "blurSearch"; }, never, never, true, never>;
88
- }