@fundamental-ngx/cdk 0.56.5 → 0.57.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/data-source/index.d.ts +236 -8
  2. package/fesm2022/fundamental-ngx-cdk-data-source.mjs +7 -7
  3. package/fesm2022/fundamental-ngx-cdk-data-source.mjs.map +1 -1
  4. package/fesm2022/fundamental-ngx-cdk-forms.mjs +10 -10
  5. package/fesm2022/fundamental-ngx-cdk-forms.mjs.map +1 -1
  6. package/fesm2022/fundamental-ngx-cdk-utils.mjs +302 -300
  7. package/fesm2022/fundamental-ngx-cdk-utils.mjs.map +1 -1
  8. package/fesm2022/fundamental-ngx-cdk.mjs +4 -4
  9. package/fesm2022/fundamental-ngx-cdk.mjs.map +1 -1
  10. package/forms/index.d.ts +396 -12
  11. package/index.d.ts +12 -1
  12. package/package.json +8 -8
  13. package/utils/index.d.ts +3253 -24
  14. package/data-source/base/abstract-data-provider.class.d.ts +0 -54
  15. package/data-source/base/base-data-source.class.d.ts +0 -64
  16. package/data-source/data-source.directive.d.ts +0 -46
  17. package/data-source/data-source.module.d.ts +0 -7
  18. package/data-source/helpers/apply-datasource-directive.d.ts +0 -6
  19. package/data-source/helpers/common.d.ts +0 -7
  20. package/data-source/helpers/is-datasource.d.ts +0 -5
  21. package/data-source/models/data-source-provider.d.ts +0 -22
  22. package/data-source/models/data-source.d.ts +0 -16
  23. package/data-source/models/index.d.ts +0 -3
  24. package/data-source/models/matching-strategy.d.ts +0 -10
  25. package/data-source/tokens.d.ts +0 -6
  26. package/forms/cva/cva-control.class.d.ts +0 -25
  27. package/forms/cva/cva.directive.d.ts +0 -181
  28. package/forms/forms.module.d.ts +0 -7
  29. package/forms/helpers/state.d.ts +0 -3
  30. package/forms/models/control-type.model.d.ts +0 -6
  31. package/forms/models/cva.d.ts +0 -4
  32. package/forms/models/form-error.d.ts +0 -36
  33. package/forms/models/form-field.d.ts +0 -88
  34. package/forms/models/form-state.d.ts +0 -2
  35. package/forms/models/select-item.d.ts +0 -47
  36. package/forms/tokens/form-field-control.token.d.ts +0 -3
  37. package/forms/tokens/form-field.token.d.ts +0 -3
  38. package/fundamental-ngx.module.d.ts +0 -9
  39. package/utils/abstract-fd-ngx-class.d.ts +0 -28
  40. package/utils/async-strategy/function-strategy.class.d.ts +0 -8
  41. package/utils/async-strategy/index.d.ts +0 -6
  42. package/utils/async-strategy/observable-strategy.class.d.ts +0 -9
  43. package/utils/async-strategy/promise-strategy.class.d.ts +0 -8
  44. package/utils/async-strategy/select-strategy.class.d.ts +0 -8
  45. package/utils/async-strategy/subscription-strategy.interface.d.ts +0 -10
  46. package/utils/async-strategy/value-strategy.class.d.ts +0 -8
  47. package/utils/coercion/array.d.ts +0 -2
  48. package/utils/components/dynamic-portal/dynamic-portal.component.d.ts +0 -36
  49. package/utils/components/index.d.ts +0 -1
  50. package/utils/consts/error-messages.d.ts +0 -3
  51. package/utils/consts/index.d.ts +0 -4
  52. package/utils/consts/overflow-priority-score.d.ts +0 -2
  53. package/utils/consts/unicode-letters.regex.d.ts +0 -7
  54. package/utils/consts/unicode-numbers.regex.d.ts +0 -6
  55. package/utils/datatypes/color-accent.datatype.d.ts +0 -3
  56. package/utils/datatypes/hash.datatype.d.ts +0 -3
  57. package/utils/datatypes/index.d.ts +0 -4
  58. package/utils/datatypes/object-nesting.types.d.ts +0 -4
  59. package/utils/datatypes/size.datatype.d.ts +0 -1
  60. package/utils/decorators/apply-css-class.decorator.d.ts +0 -10
  61. package/utils/decorators/apply-css-style.decorator.d.ts +0 -10
  62. package/utils/decorators/coerce-boolean.d.ts +0 -4
  63. package/utils/decorators/coerce-css-pixel.d.ts +0 -1
  64. package/utils/decorators/index.d.ts +0 -5
  65. package/utils/decorators/setter-alternator.d.ts +0 -4
  66. package/utils/deprecated-selector.class.d.ts +0 -18
  67. package/utils/directives/auto-complete/auto-complete.directive.d.ts +0 -59
  68. package/utils/directives/auto-complete/auto-complete.module.d.ts +0 -7
  69. package/utils/directives/breakpoints/breakpoint.directive.d.ts +0 -78
  70. package/utils/directives/breakpoints/responsive-breakpoints.d.ts +0 -10
  71. package/utils/directives/clicked/clicked-behavior.module.d.ts +0 -16
  72. package/utils/directives/clicked/clicked-event.plugin.d.ts +0 -26
  73. package/utils/directives/clicked/clicked.directive.d.ts +0 -17
  74. package/utils/directives/clicked/element-click.observable.d.ts +0 -8
  75. package/utils/directives/clicked/fdk-clicked-provider.service.d.ts +0 -23
  76. package/utils/directives/clicked/index.d.ts +0 -5
  77. package/utils/directives/clicked/provide-fdk-clicked.d.ts +0 -11
  78. package/utils/directives/disabled/default-disabled-view-modifier.d.ts +0 -9
  79. package/utils/directives/disabled/disabled-behavior.directive.d.ts +0 -35
  80. package/utils/directives/disabled/disabled-behavior.interface.d.ts +0 -7
  81. package/utils/directives/disabled/disabled-behavior.module.d.ts +0 -7
  82. package/utils/directives/disabled/disabled-view-modifier.interface.d.ts +0 -3
  83. package/utils/directives/disabled/disabled.observer.d.ts +0 -18
  84. package/utils/directives/disabled/fdk-disabled-provider.service.d.ts +0 -35
  85. package/utils/directives/disabled/fdk-disabled.token.d.ts +0 -3
  86. package/utils/directives/disabled/index.d.ts +0 -8
  87. package/utils/directives/disabled/set-disabled-state.d.ts +0 -4
  88. package/utils/directives/focus-key-manager/focus-key-manager-helpers.module.d.ts +0 -8
  89. package/utils/directives/focus-key-manager/focus-key-manager-item.directive.d.ts +0 -30
  90. package/utils/directives/focus-key-manager/focus-key-manager-list.directive.d.ts +0 -37
  91. package/utils/directives/focus-key-manager/focus-key-manager.tokens.d.ts +0 -3
  92. package/utils/directives/focus-key-manager/index.d.ts +0 -4
  93. package/utils/directives/focusable-grid/focusable-grid.directive.d.ts +0 -41
  94. package/utils/directives/focusable-grid/focusable-grid.module.d.ts +0 -8
  95. package/utils/directives/focusable-grid/focusable-grid.tokens.d.ts +0 -2
  96. package/utils/directives/focusable-grid/index.d.ts +0 -3
  97. package/utils/directives/focusable-item/focusable-item.directive.d.ts +0 -75
  98. package/utils/directives/focusable-item/focusable-item.module.d.ts +0 -7
  99. package/utils/directives/focusable-item/focusable-item.tokens.d.ts +0 -2
  100. package/utils/directives/focusable-item/focusable-list.position.d.ts +0 -4
  101. package/utils/directives/focusable-item/focusable.item.d.ts +0 -10
  102. package/utils/directives/focusable-item/focusable.observer.d.ts +0 -18
  103. package/utils/directives/focusable-item/get-item-element.d.ts +0 -7
  104. package/utils/directives/focusable-item/index.d.ts +0 -8
  105. package/utils/directives/focusable-item/indirect-focusable-item.directive.d.ts +0 -26
  106. package/utils/directives/focusable-item/is-element-focusable-by-default.d.ts +0 -4
  107. package/utils/directives/focusable-item/is-item-focusable.d.ts +0 -6
  108. package/utils/directives/focusable-list/focusable-list.directive.d.ts +0 -117
  109. package/utils/directives/focusable-list/focusable-list.module.d.ts +0 -8
  110. package/utils/directives/focusable-list/focusable-list.tokens.d.ts +0 -2
  111. package/utils/directives/focusable-list/index.d.ts +0 -5
  112. package/utils/directives/focusable-list/indirect-focusable-list.directive.d.ts +0 -25
  113. package/utils/directives/focusable-list/scroll.d.ts +0 -4
  114. package/utils/directives/ignore-click-on-selection/ignore-click-on-selection.directive.d.ts +0 -17
  115. package/utils/directives/ignore-click-on-selection/ignore-click-on-selection.module.d.ts +0 -7
  116. package/utils/directives/ignore-click-on-selection/tokens.d.ts +0 -2
  117. package/utils/directives/index.d.ts +0 -34
  118. package/utils/directives/initial-focus/initial-focus.directive.d.ts +0 -43
  119. package/utils/directives/initial-focus/initial-focus.module.d.ts +0 -7
  120. package/utils/directives/intersection-spy/intersection-spy.directive.d.ts +0 -18
  121. package/utils/directives/line-clamp/line-clamp.directive.d.ts +0 -91
  122. package/utils/directives/line-clamp/line-clamp.module.d.ts +0 -7
  123. package/utils/directives/only-digits/only-digits.directive.d.ts +0 -39
  124. package/utils/directives/only-digits/only-digits.module.d.ts +0 -7
  125. package/utils/directives/overflow-list/overflow-list-item.directive.d.ts +0 -9
  126. package/utils/directives/overflow-list/overflow-list.directive.d.ts +0 -60
  127. package/utils/directives/overflow-list/overflow-list.module.d.ts +0 -8
  128. package/utils/directives/readonly/default-readonly-view-modifier.d.ts +0 -9
  129. package/utils/directives/readonly/fdk-readonly-provider.service.d.ts +0 -35
  130. package/utils/directives/readonly/fdk-readonly.token.d.ts +0 -2
  131. package/utils/directives/readonly/index.d.ts +0 -9
  132. package/utils/directives/readonly/readonly-behavior.directive.d.ts +0 -24
  133. package/utils/directives/readonly/readonly-behavior.interface.d.ts +0 -7
  134. package/utils/directives/readonly/readonly-behavior.module.d.ts +0 -7
  135. package/utils/directives/readonly/readonly-view-modifier.interface.d.ts +0 -3
  136. package/utils/directives/readonly/readonly.observer.d.ts +0 -18
  137. package/utils/directives/readonly/set-readonly-state.d.ts +0 -4
  138. package/utils/directives/repeat/repeat.directive.d.ts +0 -17
  139. package/utils/directives/repeat/repeat.module.d.ts +0 -7
  140. package/utils/directives/resize/resize-handle.directive.d.ts +0 -9
  141. package/utils/directives/resize/resize.directive.d.ts +0 -60
  142. package/utils/directives/resize/resize.module.d.ts +0 -8
  143. package/utils/directives/resize-observer/index.d.ts +0 -1
  144. package/utils/directives/resize-observer/resize-observer.directive.d.ts +0 -20
  145. package/utils/directives/selectable-list/index.d.ts +0 -7
  146. package/utils/directives/selectable-list/select-component-root.token.d.ts +0 -10
  147. package/utils/directives/selectable-list/selectable-item.directive.d.ts +0 -46
  148. package/utils/directives/selectable-list/selectable-item.token.d.ts +0 -11
  149. package/utils/directives/selectable-list/selectable-list.directive.d.ts +0 -34
  150. package/utils/directives/selectable-list/selectable-list.module.d.ts +0 -8
  151. package/utils/directives/selectable-list/selectable-list.tokens.d.ts +0 -2
  152. package/utils/directives/selectable-list/selection.service.d.ts +0 -64
  153. package/utils/directives/template/template.directive.d.ts +0 -13
  154. package/utils/directives/template/template.module.d.ts +0 -7
  155. package/utils/directives/truncate/truncate.directive.d.ts +0 -55
  156. package/utils/directives/truncate/truncate.module.d.ts +0 -7
  157. package/utils/drag-and-drop/dnd-item/dnd-item.directive.d.ts +0 -95
  158. package/utils/drag-and-drop/dnd-keyboard-group/dnd-keyboard-group.directive.d.ts +0 -32
  159. package/utils/drag-and-drop/dnd-keyboard-item/dnd-keyboard-item.directive.d.ts +0 -61
  160. package/utils/drag-and-drop/dnd-list/dnd-list.directive.d.ts +0 -113
  161. package/utils/drag-and-drop/dnd.interfaces.d.ts +0 -40
  162. package/utils/drag-and-drop/drag-and-drop.module.d.ts +0 -11
  163. package/utils/drag-and-drop/index.d.ts +0 -7
  164. package/utils/drag-and-drop/tokens.d.ts +0 -3
  165. package/utils/dynamic-component/dynamic-component-config.d.ts +0 -8
  166. package/utils/dynamic-component/dynamic-component-container.d.ts +0 -24
  167. package/utils/dynamic-component/dynamic-component-injector.d.ts +0 -13
  168. package/utils/dynamic-component/dynamic-component.service.d.ts +0 -46
  169. package/utils/dynamic-component/index.d.ts +0 -4
  170. package/utils/functions/consumer-provider-factory.d.ts +0 -5
  171. package/utils/functions/element-size.d.ts +0 -12
  172. package/utils/functions/get-document-font-size.d.ts +0 -2
  173. package/utils/functions/index.d.ts +0 -13
  174. package/utils/functions/intersection-observable.d.ts +0 -8
  175. package/utils/functions/is-compact-density.d.ts +0 -7
  176. package/utils/functions/is-odd.d.ts +0 -6
  177. package/utils/functions/key-util.d.ts +0 -16
  178. package/utils/functions/module-deprecations-provider.d.ts +0 -5
  179. package/utils/functions/parser-file-size.d.ts +0 -2
  180. package/utils/functions/random-color-accent.d.ts +0 -3
  181. package/utils/functions/resize-observable.d.ts +0 -8
  182. package/utils/functions/scroll.d.ts +0 -7
  183. package/utils/functions/uuidv4-generator.d.ts +0 -2
  184. package/utils/helpers/destroy-observable.d.ts +0 -7
  185. package/utils/helpers/dfs.d.ts +0 -18
  186. package/utils/helpers/get-native-element.d.ts +0 -13
  187. package/utils/helpers/index.d.ts +0 -5
  188. package/utils/helpers/range-selector.d.ts +0 -84
  189. package/utils/helpers/warn-once.d.ts +0 -2
  190. package/utils/interfaces/content-density.d.ts +0 -1
  191. package/utils/interfaces/css-class-builder.interface.d.ts +0 -13
  192. package/utils/interfaces/css-style-builder.interface.d.ts +0 -5
  193. package/utils/interfaces/has-element-ref.interface.d.ts +0 -5
  194. package/utils/interfaces/index.d.ts +0 -7
  195. package/utils/interfaces/keyboard-support-item.interface.d.ts +0 -6
  196. package/utils/interfaces/module-deprecation.interface.d.ts +0 -8
  197. package/utils/interfaces/require.interface.d.ts +0 -6
  198. package/utils/list-item/list-item-utils.d.ts +0 -7
  199. package/utils/models/nullable.d.ts +0 -6
  200. package/utils/pipes/async-or-sync.pipe.d.ts +0 -21
  201. package/utils/pipes/displayFn.pipe.d.ts +0 -8
  202. package/utils/pipes/filter-strings.pipe.d.ts +0 -16
  203. package/utils/pipes/index.d.ts +0 -11
  204. package/utils/pipes/is-compact.pipe.d.ts +0 -9
  205. package/utils/pipes/make-async.pipe.d.ts +0 -12
  206. package/utils/pipes/pipe.module.d.ts +0 -16
  207. package/utils/pipes/safe.pipe.d.ts +0 -12
  208. package/utils/pipes/search-highlight.pipe.d.ts +0 -8
  209. package/utils/pipes/truncate.pipe.d.ts +0 -8
  210. package/utils/pipes/two-digits.pipe.d.ts +0 -8
  211. package/utils/pipes/value-by-path.pipe.d.ts +0 -8
  212. package/utils/services/content-density.service.d.ts +0 -19
  213. package/utils/services/destroyed.service.d.ts +0 -15
  214. package/utils/services/focus-trap.service.d.ts +0 -43
  215. package/utils/services/index.d.ts +0 -9
  216. package/utils/services/keyboard-support/keyboard-support.service.d.ts +0 -32
  217. package/utils/services/local-storage.service.d.ts +0 -13
  218. package/utils/services/observers/attribute.observer.d.ts +0 -26
  219. package/utils/services/resize-observer.service.d.ts +0 -34
  220. package/utils/services/rtl.service.d.ts +0 -14
  221. package/utils/services/tabbable-element.service.d.ts +0 -12
  222. package/utils/toast/base-toast-animations.d.ts +0 -7
  223. package/utils/toast/base-toast-positions.d.ts +0 -129
  224. package/utils/toast/base-toast.service.d.ts +0 -148
  225. package/utils/toast/classes/action-dismissible/base-toast-action-dismissible-ref.d.ts +0 -23
  226. package/utils/toast/classes/base-toast-animated-container.component.d.ts +0 -41
  227. package/utils/toast/classes/base-toast-config.d.ts +0 -53
  228. package/utils/toast/classes/base-toast-container.component.d.ts +0 -55
  229. package/utils/toast/classes/base-toast-overlay-container.d.ts +0 -16
  230. package/utils/toast/classes/base-toast-ref.d.ts +0 -35
  231. package/utils/toast/classes/duration-dismissible/base-toast-duration-dismissible-config.d.ts +0 -15
  232. package/utils/toast/classes/duration-dismissible/base-toast-duration-dismissible-container.component.d.ts +0 -20
  233. package/utils/toast/classes/duration-dismissible/base-toast-duration-dismissible-ref.d.ts +0 -20
  234. package/utils/toast/classes/duration-dismissible/base-toast-duration-dismissible.service.d.ts +0 -11
  235. package/utils/toast/index.d.ts +0 -15
  236. package/utils/toast/interfaces/toast-container-component.interface.d.ts +0 -14
  237. package/utils/toast/interfaces/toast-duration-dismissible-container-component.interface.d.ts +0 -6
  238. package/utils/toast/interfaces/toast-text-component.interface.d.ts +0 -5
  239. package/utils/tokens/module-deprecations.token.d.ts +0 -3
  240. package/utils/tokens/viewport-size.observable.d.ts +0 -8
  241. package/utils/typecheck.d.ts +0 -47
  242. package/utils/utils.module.d.ts +0 -25
@@ -1,55 +0,0 @@
1
- import { OverlayRef } from '@angular/cdk/overlay';
2
- import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
3
- import { ComponentRef, EmbeddedViewRef } from '@angular/core';
4
- import { Subject } from 'rxjs';
5
- import { Nullable } from '../../models/nullable';
6
- import { ToastContainerComponent } from '../interfaces/toast-container-component.interface';
7
- import { BaseToastConfig } from './base-toast-config';
8
- import * as i0 from "@angular/core";
9
- export declare abstract class BaseToastContainerComponent<P extends BaseToastConfig = BaseToastConfig> extends BasePortalOutlet implements ToastContainerComponent<P> {
10
- config: P;
11
- /** Method, which is triggered when the Toast component is ready to be shown. Used to trigger animations. */
12
- abstract enter(): void;
13
- /** Method, which is triggered when the Toast component is ready to be removed. Used to trigger animations. */
14
- abstract exit(): void;
15
- /**
16
- * @hidden
17
- * The portal outlet inside this container into which the Toast content will be loaded.
18
- */
19
- _portalOutlet: CdkPortalOutlet;
20
- /** Min width of the toast component. */
21
- minWidth?: string | number | null;
22
- /** Max width of the toast component. */
23
- maxWidth?: string | number | null;
24
- /** Width of the toast component. */
25
- width?: string | number | null;
26
- /** Min height of the toast component. */
27
- minHeight?: string | number | null;
28
- /** Max height of the toast component. */
29
- maxHeight?: string | number | null;
30
- /** Height of the toast component. */
31
- height?: string | number | null;
32
- /** Subject for notifying that the Toast has finished exiting from view. */
33
- readonly onExit$: Subject<void>;
34
- /** Subject for notifying that the Toast has finished entering the view. */
35
- readonly onEnter$: Subject<void>;
36
- /** Overlay reference */
37
- overlayRef: OverlayRef;
38
- /** Aria label. */
39
- ariaLabel: Nullable<string>;
40
- /** ID of the Toast. */
41
- id: Nullable<string>;
42
- /** @hidden */
43
- protected constructor(config: P);
44
- /**
45
- * Attaches component to the portal.
46
- */
47
- attachComponentPortal<C>(portal: ComponentPortal<C>): ComponentRef<C>;
48
- /**
49
- * Attaches Template to the portal.
50
- * @param portal
51
- */
52
- attachTemplatePortal<T>(portal: TemplatePortal<T>): EmbeddedViewRef<T>;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseToastContainerComponent<any>, never>;
54
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseToastContainerComponent<any>, never, never, {}, {}, never, never, true, never>;
55
- }
@@ -1,16 +0,0 @@
1
- import { OverlayContainer } from '@angular/cdk/overlay';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Custom overlay container for CDK Overlay.
5
- */
6
- export declare class BaseToastOverlayContainer extends OverlayContainer {
7
- /**
8
- * This method returns the overlay container element. It will lazily
9
- * create the element the first time it is called to facilitate using
10
- * the container in non-browser environments.
11
- * @returns the container element
12
- */
13
- getContainerElement(): HTMLElement;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseToastOverlayContainer, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseToastOverlayContainer>;
16
- }
@@ -1,35 +0,0 @@
1
- import { OverlayRef } from '@angular/cdk/overlay';
2
- import { Observable, Subject } from 'rxjs';
3
- import { BaseToastPosition } from '../base-toast-positions';
4
- import { ToastContainerComponent } from '../interfaces/toast-container-component.interface';
5
- export declare abstract class BaseToastRef<T = any, P = any, C extends ToastContainerComponent<P> = ToastContainerComponent<P>> {
6
- containerInstance: C;
7
- overlayRef: OverlayRef;
8
- positionStrategy: BaseToastPosition;
9
- /** The instance of the component is making up the content of the Toast. */
10
- instance: T;
11
- /** @hidden */
12
- _defaultPositionStrategy: boolean;
13
- /** @hidden
14
- * Used for flagging the toast as an anchor for all next appearing toasts.
15
- */
16
- _isAnchor: boolean;
17
- /**
18
- * @hidden
19
- * Subject for notifying the user that the Toast has been dismissed.
20
- */
21
- protected readonly _afterDismissed$: Subject<void>;
22
- /** @hidden */
23
- protected constructor(containerInstance: C, overlayRef: OverlayRef, positionStrategy: BaseToastPosition);
24
- /** Dismisses the Toast. */
25
- dismiss(): void;
26
- /** Gets an observable that is notified when the Toast is finished closing. */
27
- afterDismissed(): Observable<void>;
28
- /** Gets an observable that is notified when the Toast has opened and appeared. */
29
- afterOpened(): Observable<void>;
30
- /**
31
- * @hidden
32
- * Cleans up the DOM after closing.
33
- */
34
- protected _finishDismiss(): void;
35
- }
@@ -1,15 +0,0 @@
1
- import { BaseToastConfig } from '../base-toast-config';
2
- /**
3
- * Base configuration class used when opening a Toast which automatically destroys after some time.
4
- */
5
- export declare class BaseToastDurationDismissibleConfig<T = any> extends BaseToastConfig<T> {
6
- /**
7
- * The length of time in milliseconds to wait before automatically dismissing the Message Toast.
8
- */
9
- duration?: number | undefined;
10
- /**
11
- * Whether the message toast should stay visible if the cursor is over it.
12
- * Default is `true`
13
- */
14
- mousePersist?: boolean;
15
- }
@@ -1,20 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { ToastDurationDismissibleContainerComponent } from '../../interfaces/toast-duration-dismissible-container-component.interface';
4
- import { BaseToastAnimatedContainerComponent } from '../base-toast-animated-container.component';
5
- import { BaseToastConfig } from '../base-toast-config';
6
- import * as i0 from "@angular/core";
7
- export declare abstract class BaseToastDurationDismissibleContainerComponent<P extends BaseToastConfig> extends BaseToastAnimatedContainerComponent<P> implements OnDestroy, ToastDurationDismissibleContainerComponent<P> {
8
- /** Subject for notifying that component is out of hover */
9
- readonly mouseleave$: Subject<void>;
10
- /** Subject for notifying that component is hovered */
11
- readonly mouseover$: Subject<void>;
12
- /** Emits mouseleave$ subject when component is out of hover. */
13
- onMouseLeave(): void;
14
- /** Emits mouseover$ subject when component is hovered. */
15
- onMouseOver(): void;
16
- /** @Hidden */
17
- ngOnDestroy(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseToastDurationDismissibleContainerComponent<any>, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseToastDurationDismissibleContainerComponent<any>, never, never, {}, {}, never, never, true, never>;
20
- }
@@ -1,20 +0,0 @@
1
- import { OverlayRef } from '@angular/cdk/overlay';
2
- import { BaseToastPosition } from '../../base-toast-positions';
3
- import { BaseToastConfig } from '../base-toast-config';
4
- import { BaseToastRef } from '../base-toast-ref';
5
- import { BaseToastDurationDismissibleContainerComponent } from './base-toast-duration-dismissible-container.component';
6
- export declare abstract class BaseToastDurationDismissibleRef<T = any, P extends BaseToastConfig<T> = any, C extends BaseToastDurationDismissibleContainerComponent<P> = BaseToastDurationDismissibleContainerComponent<P>> extends BaseToastRef<T, P, C> {
7
- /**
8
- * Timeout ID for the duration setTimeout call. Used to clear the timeout if the toast is
9
- * dismissed before the duration passes.
10
- */
11
- protected durationTimeoutId: ReturnType<typeof setTimeout>;
12
- /** @hidden */
13
- protected constructor(containerInstance: C, overlayRef: OverlayRef, positionStrategy: BaseToastPosition);
14
- /** Dismisses the toast and clears the timeout. */
15
- dismiss(): void;
16
- /** Dismisses the Toast component after some duration */
17
- dismissAfter(duration: number): void;
18
- /** Cancels current dismiss timeout */
19
- cancelDismiss(): void;
20
- }
@@ -1,11 +0,0 @@
1
- import { EmbeddedViewRef } from '@angular/core';
2
- import { BaseToastService } from '../../base-toast.service';
3
- import { BaseToastDurationDismissibleConfig } from './base-toast-duration-dismissible-config';
4
- import { BaseToastDurationDismissibleContainerComponent } from './base-toast-duration-dismissible-container.component';
5
- import { BaseToastDurationDismissibleRef } from './base-toast-duration-dismissible-ref';
6
- export declare abstract class BaseDismissibleToastService<P extends BaseToastDurationDismissibleConfig, C extends BaseToastDurationDismissibleContainerComponent<P> = BaseToastDurationDismissibleContainerComponent<P>> extends BaseToastService<P, C> {
7
- /**
8
- * Animates the old Toast out and the new one in.
9
- */
10
- protected animateToast<T>(toastRef: BaseToastDurationDismissibleRef<T | EmbeddedViewRef<any>, P>): void;
11
- }
@@ -1,15 +0,0 @@
1
- export * from './base-toast-animations';
2
- export * from './base-toast-positions';
3
- export * from './base-toast.service';
4
- export * from './interfaces/toast-container-component.interface';
5
- export * from './interfaces/toast-duration-dismissible-container-component.interface';
6
- export * from './interfaces/toast-text-component.interface';
7
- export * from './classes/action-dismissible/base-toast-action-dismissible-ref';
8
- export * from './classes/base-toast-config';
9
- export * from './classes/base-toast-container.component';
10
- export * from './classes/base-toast-overlay-container';
11
- export * from './classes/base-toast-ref';
12
- export * from './classes/duration-dismissible/base-toast-duration-dismissible-config';
13
- export * from './classes/duration-dismissible/base-toast-duration-dismissible-container.component';
14
- export * from './classes/duration-dismissible/base-toast-duration-dismissible-ref';
15
- export * from './classes/duration-dismissible/base-toast-duration-dismissible.service';
@@ -1,14 +0,0 @@
1
- import { OverlayRef } from '@angular/cdk/overlay';
2
- import { ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
3
- import { ComponentRef, EmbeddedViewRef } from '@angular/core';
4
- import { Subject } from 'rxjs';
5
- export interface ToastContainerComponent<P> {
6
- config: P;
7
- readonly onExit$: Subject<void>;
8
- readonly onEnter$: Subject<void>;
9
- overlayRef: OverlayRef;
10
- enter(): void;
11
- exit(): void;
12
- attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
13
- attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
14
- }
@@ -1,6 +0,0 @@
1
- import { Subject } from 'rxjs';
2
- import { ToastContainerComponent } from './toast-container-component.interface';
3
- export interface ToastDurationDismissibleContainerComponent<P> extends ToastContainerComponent<P> {
4
- mouseover$: Subject<void>;
5
- mouseleave$: Subject<void>;
6
- }
@@ -1,5 +0,0 @@
1
- import { BaseToastRef } from '../classes/base-toast-ref';
2
- export interface ToastTextComponent {
3
- toastRef: BaseToastRef;
4
- message: string;
5
- }
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { ModuleDeprecation } from '../interfaces/module-deprecation.interface';
3
- export declare const ModuleDeprecations: InjectionToken<ModuleDeprecation>;
@@ -1,8 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- /**
4
- * Injection token for the viewport size observable.
5
- * Emits the viewport size in pixels, which are outputted by the ViewportRuler
6
- * from @angular/cdk/overlay.
7
- */
8
- export declare const ViewportSizeObservable: InjectionToken<Observable<number>>;
@@ -1,47 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- /**
3
- * Helper function check whether passed data is a JS object (including function).
4
- */
5
- export declare function isJsObject(obj: any): obj is object | Function;
6
- /**
7
- * Helper function checks whether passed value is not empty.
8
- */
9
- export declare function isPresent(obj: any): boolean;
10
- /**
11
- * Helper function check whether passed value is empty.
12
- */
13
- export declare function isBlank(obj: any): obj is undefined | null;
14
- /**
15
- * Helper function checks whether passed value is a boolean.
16
- */
17
- export declare function isBoolean(obj: any): obj is boolean;
18
- /**
19
- * Helper function checks whether passed value is a valid number.
20
- */
21
- export declare function isNumber(obj: any): obj is number;
22
- /**
23
- * Helper function checks whether passed value is a string.
24
- */
25
- export declare function isString(obj: any): obj is string;
26
- /**
27
- * Helper function checks whether passed value is a function
28
- */
29
- export declare function isFunction(obj: any): boolean;
30
- /** @hidden */
31
- export declare function isType(obj: any): obj is Function;
32
- /**
33
- * Helper function checks whether passed value is a record of `T` values.
34
- */
35
- export declare function isStringMap<T = any>(obj: any): obj is Record<string, T>;
36
- /**
37
- * Helper function checks whether passed value is an `object`.
38
- */
39
- export declare function isObject<T>(item: T): boolean;
40
- /**
41
- * Helper function checks whether passed value is a promise.
42
- */
43
- export declare function isPromise<T = any>(obj: any): obj is Promise<T>;
44
- /**
45
- * Helper function checks whether passed value is an Observable/Subscribable.
46
- */
47
- export declare function isSubscribable<T = any>(obj: any | Observable<T>): obj is Observable<T>;
@@ -1,25 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./directives/focusable-item/focusable-item.module";
3
- import * as i2 from "./directives/focusable-list/focusable-list.module";
4
- import * as i3 from "./directives/focusable-grid/focusable-grid.module";
5
- import * as i4 from "./drag-and-drop/drag-and-drop.module";
6
- import * as i5 from "./directives/only-digits/only-digits.module";
7
- import * as i6 from "./directives/truncate/truncate.module";
8
- import * as i7 from "./directives/line-clamp/line-clamp.module";
9
- import * as i8 from "./directives/overflow-list/overflow-list.module";
10
- import * as i9 from "./directives/repeat/repeat.module";
11
- import * as i10 from "./directives/resize/resize.module";
12
- import * as i11 from "./directives/template/template.module";
13
- import * as i12 from "./directives/auto-complete/auto-complete.module";
14
- import * as i13 from "./directives/disabled/disabled-behavior.module";
15
- import * as i14 from "./directives/selectable-list/selectable-list.module";
16
- import * as i15 from "./directives/readonly/readonly-behavior.module";
17
- import * as i16 from "./directives/clicked/clicked.directive";
18
- import * as i17 from "./directives/initial-focus/initial-focus.module";
19
- import * as i18 from "./directives/breakpoints/breakpoint.directive";
20
- import * as i19 from "./directives/intersection-spy/intersection-spy.directive";
21
- export declare class UtilsModule {
22
- static ɵfac: i0.ɵɵFactoryDeclaration<UtilsModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<UtilsModule, never, [typeof i1.FocusableItemModule, typeof i2.FocusableListModule, typeof i3.FocusableGridModule, typeof i4.DragAndDropModule, typeof i5.OnlyDigitsModule, typeof i6.TruncateModule, typeof i7.LineClampModule, typeof i8.OverflowListModule, typeof i9.RepeatModule, typeof i10.ResizeModule, typeof i11.TemplateModule, typeof i12.AutoCompleteModule, typeof i13.DisabledBehaviorModule, typeof i14.SelectableListModule, typeof i15.ReadonlyBehaviorModule, typeof i16.ClickedDirective, typeof i17.InitialFocusModule, typeof i18.BreakpointModule, typeof i19.IntersectionSpyDirective], [typeof i1.FocusableItemModule, typeof i2.FocusableListModule, typeof i3.FocusableGridModule, typeof i4.DragAndDropModule, typeof i5.OnlyDigitsModule, typeof i6.TruncateModule, typeof i7.LineClampModule, typeof i8.OverflowListModule, typeof i9.RepeatModule, typeof i10.ResizeModule, typeof i11.TemplateModule, typeof i12.AutoCompleteModule, typeof i13.DisabledBehaviorModule, typeof i14.SelectableListModule, typeof i15.ReadonlyBehaviorModule, typeof i16.ClickedDirective, typeof i17.InitialFocusModule, typeof i18.BreakpointModule, typeof i19.IntersectionSpyDirective]>;
24
- static ɵinj: i0.ɵɵInjectorDeclaration<UtilsModule>;
25
- }