@fundamental-ngx/cdk 0.56.4 → 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,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ValueByPathPipe implements PipeTransform {
4
- /** Get value by path. */
5
- transform(value: any, key: string): any;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ValueByPathPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<ValueByPathPipe, "valueByPath", true>;
8
- }
@@ -1,19 +0,0 @@
1
- import { BehaviorSubject, Observable } from 'rxjs';
2
- import { ContentDensity } from '../interfaces/content-density';
3
- import * as i0 from "@angular/core";
4
- export declare const DEFAULT_CONTENT_DENSITY: ContentDensity;
5
- /**
6
- * Service taking care of ContentDensity
7
- */
8
- export declare class ContentDensityService {
9
- /** Content Density BehaviourSubject */
10
- readonly contentDensity: BehaviorSubject<ContentDensity>;
11
- /** @hidden */
12
- constructor();
13
- /** @hidden */
14
- get _contentDensityListener(): Observable<ContentDensity>;
15
- /** @hidden */
16
- get _isCompactDensity(): Observable<boolean>;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ContentDensityService, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<ContentDensityService>;
19
- }
@@ -1,15 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { ReplaySubject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated Use Angular's built-in `DestroyRef` and `takeUntilDestroyed` instead.
6
- * Will be removed in next release
7
- */
8
- export declare class DestroyedService extends ReplaySubject<void> implements OnDestroy {
9
- /** @hidden */
10
- constructor();
11
- /** @hidden */
12
- ngOnDestroy(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<DestroyedService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<DestroyedService>;
15
- }
@@ -1,43 +0,0 @@
1
- import { FocusTrap, Options } from 'focus-trap';
2
- import * as i0 from "@angular/core";
3
- export declare class FocusTrapService {
4
- /** @hidden */
5
- private _focusTrapInstances;
6
- /**
7
- * Creates focus trap instance for defined element
8
- * @param element Container for which to create focus trap
9
- * @param userOptions Focus-trap specific configuration
10
- * @returns {string} Unique ID of focus trap instance
11
- */
12
- createFocusTrap(element: string | HTMLElement | SVGElement | (string | HTMLElement | SVGElement)[], userOptions?: Options): string;
13
- /**
14
- * Activates focus trap for defined ID
15
- * @param id Unique ID of focus trap instance
16
- */
17
- activateFocusTrap(id: string): void;
18
- /**
19
- * Deactivates focus trap for defined ID
20
- * @param id Unique ID of focus trap instance
21
- */
22
- deactivateFocusTrap(id: string): void;
23
- /**
24
- * Pauses current focus trap.
25
- */
26
- pauseCurrentFocusTrap(): void;
27
- /**
28
- * Unpauses current focus trap.
29
- */
30
- unpauseCurrentFocusTrap(): void;
31
- /**
32
- * Get focus trap instance by ID.
33
- * @param id ID of the instance.
34
- * @returns Focus trap instance if exists.
35
- */
36
- getFocusTrapInstance(id: string): FocusTrap | undefined;
37
- /** @hidden */
38
- private _getLastTrapedItem;
39
- /** @hidden */
40
- private _focusTrapExists;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<FocusTrapService, never>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<FocusTrapService>;
43
- }
@@ -1,9 +0,0 @@
1
- export * from './content-density.service';
2
- export * from './destroyed.service';
3
- export * from './focus-trap.service';
4
- export * from './keyboard-support/keyboard-support.service';
5
- export * from './local-storage.service';
6
- export * from './observers/attribute.observer';
7
- export * from './resize-observer.service';
8
- export * from './rtl.service';
9
- export * from './tabbable-element.service';
@@ -1,32 +0,0 @@
1
- import { FocusKeyManager } from '@angular/cdk/a11y';
2
- import { OnDestroy, QueryList } from '@angular/core';
3
- import { Subject } from 'rxjs';
4
- import { KeyboardSupportItemInterface } from '../../interfaces/keyboard-support-item.interface';
5
- import * as i0 from "@angular/core";
6
- export type FocusEscapeDirection = 'up' | 'down';
7
- export declare class KeyboardSupportService<T> implements OnDestroy {
8
- /** Subject that is thrown, when focus escapes the list */
9
- focusEscapeList: Subject<FocusEscapeDirection>;
10
- /** @hidden */
11
- private readonly _destroyRef;
12
- /** An RxJS Subject that will kill the data stream upon queryList changes (for unsubscribing) */
13
- private readonly _onRefresh$;
14
- /** @hidden */
15
- private _keyManager;
16
- /** @hidden */
17
- get keyManager(): FocusKeyManager<T>;
18
- /** @hidden
19
- * allow tab key navigation. default is true.
20
- */
21
- private _tabKeyNavigation;
22
- /** @hidden */
23
- setKeyboardService(queryList: QueryList<KeyboardSupportItemInterface & T>, wrap?: boolean, tabKeyNavigation?: boolean): void;
24
- /** @hidden */
25
- onKeyDown(event: KeyboardEvent): void;
26
- /** Destroys KeyboardSupportService dependencies */
27
- ngOnDestroy(): void;
28
- /** @hidden */
29
- private _refreshEscapeLogic;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardSupportService<any>, never>;
31
- static ɵprov: i0.ɵɵInjectableDeclaration<KeyboardSupportService<any>>;
32
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LocalStorageService {
3
- /** @hidden */
4
- private _storage;
5
- /** @hidden */
6
- constructor();
7
- /** Get item from local storage. */
8
- get(key: string): any;
9
- /** Set item in local storage. */
10
- set(key: string, value: any): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
13
- }
@@ -1,26 +0,0 @@
1
- import { MutationObserverFactory } from '@angular/cdk/observers';
2
- import { ElementRef, OnDestroy } from '@angular/core';
3
- import { Observable } from 'rxjs';
4
- import { HasElementRef } from '../../interfaces/has-element-ref.interface';
5
- import * as i0 from "@angular/core";
6
- export declare class AttributeObserver implements OnDestroy {
7
- private _mutationObserverFactory;
8
- /** @Hidden */
9
- private readonly _observedElements;
10
- /** @hidden */
11
- constructor(_mutationObserverFactory: MutationObserverFactory);
12
- /** @hidden */
13
- ngOnDestroy(): void;
14
- /** @Hidden */
15
- observe(elementOrRef: Element | ElementRef<Element> | HasElementRef<Element>): Observable<MutationRecord[]>;
16
- /** @Hidden */
17
- unobserve(element: HasElementRef<Element> | Element | ElementRef<Element>): void;
18
- /** @hidden */
19
- private _observeElement;
20
- /** @Hidden */
21
- private _unobserveElement;
22
- /** @hidden */
23
- private _cleanupObserver;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<AttributeObserver, never>;
25
- static ɵprov: i0.ɵɵInjectableDeclaration<AttributeObserver>;
26
- }
@@ -1,34 +0,0 @@
1
- import { ElementRef, OnDestroy } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class ResizeObserverFactory {
5
- /** Factory to create ResizeObserver if it's present in browser. */
6
- create(callback: ResizeObserverCallback): ResizeObserver | null;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverFactory, never>;
8
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeObserverFactory>;
9
- }
10
- export declare class ResizeObserverService implements OnDestroy {
11
- private _resizeObserverFactory;
12
- /** @hidden */
13
- private _observedElements;
14
- /** @hidden */
15
- constructor(_resizeObserverFactory: ResizeObserverFactory);
16
- /** @hidden */
17
- ngOnDestroy(): void;
18
- /** Observe the given element and emit whenever its size changes. */
19
- observe(elementOrRef: Element | ElementRef<Element>): Observable<ResizeObserverEntry[]>;
20
- /**
21
- * Observes the given element by using the existing MutationObserver if available, or creating a
22
- * new one if not.
23
- */
24
- private _observeElement;
25
- /**
26
- * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is
27
- * observing this element.
28
- */
29
- private _unobserveElement;
30
- /** Clean up the underlying MutationObserver for the specified element. */
31
- private _cleanupObserver;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeObserverService, never>;
33
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeObserverService>;
34
- }
@@ -1,14 +0,0 @@
1
- import { InjectionToken, Signal } from '@angular/core';
2
- import { BehaviorSubject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare const RTL_LANGUAGE: InjectionToken<string[]>;
5
- export declare class RtlService {
6
- /** RTL value */
7
- rtl: BehaviorSubject<boolean>;
8
- /** Signal wrapper for RTL value. */
9
- rtlSignal: Signal<boolean>;
10
- /** @hidden */
11
- constructor(injectedRtlLanguages: string[]);
12
- static ɵfac: i0.ɵɵFactoryDeclaration<RtlService, [{ optional: true; }]>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<RtlService>;
14
- }
@@ -1,12 +0,0 @@
1
- import { InteractivityChecker } from '@angular/cdk/a11y';
2
- import * as i0 from "@angular/core";
3
- export declare class TabbableElementService {
4
- private readonly _checker;
5
- private readonly _document;
6
- /** @hidden */
7
- constructor(_checker: InteractivityChecker, _document: Document | null);
8
- /** Get the first tabbable element from a DOM subtree (inclusive). */
9
- getTabbableElement(root: HTMLElement, focusLastElement?: boolean, skipSelf?: boolean): HTMLElement | null;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TabbableElementService, [null, { optional: true; }]>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<TabbableElementService>;
12
- }
@@ -1,7 +0,0 @@
1
- import { AnimationTriggerMetadata } from '@angular/animations';
2
- /**
3
- * Animations used by the Toast components.
4
- */
5
- export declare const baseToastAnimations: {
6
- readonly toastState: AnimationTriggerMetadata;
7
- };
@@ -1,129 +0,0 @@
1
- import { ConnectedPosition, ScrollStrategy } from '@angular/cdk/overlay';
2
- export interface ToastGlobalPosition {
3
- left?: string;
4
- right?: string;
5
- bottom?: string;
6
- top?: string;
7
- center: boolean;
8
- centerVertically?: boolean;
9
- }
10
- export interface ToastGlobalConnectedPosition extends ConnectedPosition {
11
- boundTo: HTMLElement;
12
- }
13
- export declare const toastConnectedTopPosition: ConnectedPosition;
14
- export declare const toastConnectedTopLeftPosition: ConnectedPosition;
15
- export declare const toastConnectedTopRightPosition: ConnectedPosition;
16
- export declare const toastConnectedBottomPosition: ConnectedPosition;
17
- export declare const toastConnectedBottomLeftPosition: ConnectedPosition;
18
- export declare const toastConnectedBottomRightPosition: ConnectedPosition;
19
- /**
20
- * Base Toast Position class.
21
- */
22
- export declare abstract class BaseToastPosition {
23
- /**
24
- * Position strategy of the first item.
25
- */
26
- global: ToastGlobalPosition | ToastGlobalConnectedPosition;
27
- /**
28
- * Position strategy of the newly added items.
29
- */
30
- connected: ConnectedPosition;
31
- /**
32
- * Scroll strategy. Used when global position is bound to some HTML element on the page.
33
- */
34
- scrollPosition?: ScrollStrategy;
35
- }
36
- /**
37
- * Toast Position class.
38
- * The first item will pop from the top-center of the screen.
39
- * New items will stack after the first item.
40
- */
41
- export declare class ToastTopCenterPosition extends BaseToastPosition {
42
- /** @hidden */
43
- static global: ToastGlobalPosition;
44
- /** @hidden */
45
- static connected: ConnectedPosition;
46
- }
47
- /**
48
- * Toast Position class.
49
- * The first item will pop from the bottom-center of the screen.
50
- * New items will stack before first item.
51
- */
52
- export declare class ToastBottomCenterPosition extends BaseToastPosition {
53
- /** @hidden */
54
- static global: ToastGlobalPosition;
55
- /** @hidden */
56
- static connected: ConnectedPosition;
57
- }
58
- /**
59
- * Toast Position class.
60
- * The first item will pop from the top-left of the screen.
61
- * New items will stack after first item.
62
- */
63
- export declare class ToastTopLeftPosition extends ToastTopCenterPosition {
64
- /** @hidden */
65
- static global: {
66
- left: string;
67
- center: boolean;
68
- right?: string;
69
- bottom?: string;
70
- top?: string;
71
- centerVertically?: boolean;
72
- };
73
- /** @hidden */
74
- static connected: ConnectedPosition;
75
- }
76
- /**
77
- * Toast Position class.
78
- * The first item will pop from the top-right of the screen.
79
- * New items will stack after first item.
80
- */
81
- export declare class ToastTopRightPosition extends ToastTopCenterPosition {
82
- /** @hidden */
83
- static global: {
84
- right: string;
85
- center: boolean;
86
- left?: string;
87
- bottom?: string;
88
- top?: string;
89
- centerVertically?: boolean;
90
- };
91
- /** @hidden */
92
- static connected: ConnectedPosition;
93
- }
94
- /**
95
- * Toast Position class.
96
- * The first item will pop from the bottom-left of the screen.
97
- * New items will stack before first item.
98
- */
99
- export declare class ToastBottomLeftPosition extends ToastBottomCenterPosition {
100
- /** @hidden */
101
- static global: {
102
- left: string;
103
- center: boolean;
104
- right?: string;
105
- bottom?: string;
106
- top?: string;
107
- centerVertically?: boolean;
108
- };
109
- /** @hidden */
110
- static connected: ConnectedPosition;
111
- }
112
- /**
113
- * Toast Position class.
114
- * The first item will pop from the bottom-right of the screen.
115
- * New items will stack before first item.
116
- */
117
- export declare class ToastBottomRightPosition extends ToastBottomCenterPosition {
118
- /** @hidden */
119
- static global: {
120
- right: string;
121
- center: boolean;
122
- left?: string;
123
- bottom?: string;
124
- top?: string;
125
- centerVertically?: boolean;
126
- };
127
- /** @hidden */
128
- static connected: ConnectedPosition;
129
- }
@@ -1,148 +0,0 @@
1
- import { ComponentType, Overlay, OverlayRef } from '@angular/cdk/overlay';
2
- import { EmbeddedViewRef, InjectionToken, Injector, StaticProvider, TemplateRef, Type } from '@angular/core';
3
- import { BaseToastPosition } from './base-toast-positions';
4
- import { BaseToastConfig } from './classes/base-toast-config';
5
- import { BaseToastRef } from './classes/base-toast-ref';
6
- import { ToastContainerComponent } from './interfaces/toast-container-component.interface';
7
- import { ToastTextComponent } from './interfaces/toast-text-component.interface';
8
- import * as i0 from "@angular/core";
9
- export declare abstract class BaseToastService<P extends BaseToastConfig, C extends ToastContainerComponent<P> = ToastContainerComponent<P>> {
10
- overlay: Overlay;
11
- injector: Injector;
12
- /** Component for simple text toast. */
13
- protected abstract toastTextComponent: Type<ToastTextComponent>;
14
- /** Component for Toast Container. */
15
- protected abstract toastContainerComponent: Type<C>;
16
- /** Injection token for Toast Data. */
17
- protected abstract toastDataInjectionToken: InjectionToken<any>;
18
- /** Toast Position Strategy. */
19
- protected abstract toastPositionStrategy: BaseToastPosition;
20
- /** Toast default config. */
21
- protected abstract defaultConfig: P;
22
- /**
23
- * Opens a Toast with the provided configuration.
24
- * @param toast accepts string, Component or TemplateRef.
25
- */
26
- abstract open<T>(toast: string | Type<T> | TemplateRef<T>): BaseToastRef<ToastTextComponent | T | EmbeddedViewRef<T>, P>;
27
- abstract openFromString(message: string, config: P): BaseToastRef<ToastTextComponent, P>;
28
- /**
29
- * Opens a Toast with provided component inside.
30
- * @param component Component to render inside a Toast.
31
- * @param config Toast configuration.
32
- * @returns Toast reference.
33
- */
34
- abstract openFromComponent<T>(component: Type<T>, config: P): BaseToastRef<T, P>;
35
- /**
36
- * Opens a Toast with provided Template Reference.
37
- * @param template Template Reference to render inside a Toast.
38
- * @param config Toast configuration.
39
- * @returns Toast reference.
40
- */
41
- abstract openFromTemplate(template: TemplateRef<any>, config: P): BaseToastRef<EmbeddedViewRef<any>>;
42
- /**
43
- * Gets Toast Container providers.
44
- * @param config Toast Config.
45
- */
46
- protected abstract getContainerComponentProviders(config: P): StaticProvider[];
47
- /**
48
- * Gets Toast Content providers.
49
- * @param config Toast Config.
50
- * @param toastRef Toast Reference.
51
- */
52
- protected abstract getContentComponentProviders<T>(config: P, toastRef: BaseToastRef<T>): StaticProvider[];
53
- /**
54
- * Creates Toast Reference for provided container and overlay.
55
- * @param containerRef Container reference.
56
- * @param overlayRef Overlay Reference.
57
- * @param positionStrategy Position Strategy
58
- */
59
- protected abstract getToastRef<T>(containerRef: C, overlayRef: OverlayRef, positionStrategy: BaseToastPosition): BaseToastRef<T | EmbeddedViewRef<any>, P>;
60
- /**
61
- * @hidden
62
- * Array of all current toasts.
63
- */
64
- protected _toasts: BaseToastRef[];
65
- /**
66
- * @hidden
67
- */
68
- protected _toastsMap: Map<BaseToastPosition, BaseToastRef<any, any, ToastContainerComponent<any>>[]>;
69
- /** @hidden */
70
- private _destroyRef;
71
- /** @hidden */
72
- protected constructor(overlay: Overlay, injector: Injector);
73
- /**
74
- * Dismisses all Toasts.
75
- */
76
- hideAll(): void;
77
- /**
78
- * Returns `true` if there are some message toasts currently open. `False` otherwise.
79
- */
80
- hasOpenMessageToasts(): boolean;
81
- /**
82
- * Sets new position strategy for all Toast items.
83
- * @param newStrategy New Position Strategy
84
- */
85
- setNewPositionStrategy(newStrategy: BaseToastPosition): void;
86
- /**
87
- * @hidden
88
- * Places a new component or a template as the content of the Toast container.
89
- */
90
- protected _attach<T>(content: ComponentType<T> | TemplateRef<T>, userConfig?: P): BaseToastRef<T | EmbeddedViewRef<any>, P>;
91
- /**
92
- * Attaches the Toast container component to the overlay.
93
- */
94
- protected attachToastContainerComponent(overlayRef: OverlayRef, config: P): C;
95
- /**
96
- * Creates an injector to be used inside a Toast component.
97
- * @param config Config that was used to create the Toast.
98
- * @param toastRef Reference to the Toast.
99
- */
100
- protected createContentComponentInjector<T>(config: P, toastRef: BaseToastRef<T>): Injector;
101
- /**
102
- * Animates the old Toast out and the new one in.
103
- */
104
- protected animateToast<T>(toastRef: BaseToastRef<T | EmbeddedViewRef<any>, P>): void;
105
- /**
106
- * @hidden
107
- * Creates a new overlay and places it in the correct location.
108
- */
109
- private _createOverlay;
110
- /**
111
- * @hidden
112
- * @returns Initial Position Strategy of the Toast Overlay Reference.
113
- */
114
- private _getPositionStrategy;
115
- /**
116
- * @hidden
117
- * @param needlePosition
118
- * @private
119
- */
120
- private _getLastToastWithSamePosition;
121
- /**
122
- * @hidden
123
- * @param connectedElm element to connect with.
124
- * @param positionStrategy Position Strategy
125
- * @returns Flexible Connected Position Strategy for Overlay Reference.
126
- */
127
- private _composeFlexibleConnectedPosition;
128
- /**
129
- * @hidden
130
- * @returns Default Global Position for Overlay Reference.
131
- */
132
- private _composeGlobalPosition;
133
- /** @hidden */
134
- private _refreshOverlayPositions;
135
- /** @hidden */
136
- private _updateOverlayPositionStrategy;
137
- /**
138
- * @hidden
139
- * Updates the position of a current Overlay Reference.
140
- * @returns New Position Strategy.
141
- * @param toast Toast Reference
142
- */
143
- private _updatePositionStrategy;
144
- /** @hidden */
145
- private _isBoundGlobalPosition;
146
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseToastService<any, any>, never>;
147
- static ɵprov: i0.ɵɵInjectableDeclaration<BaseToastService<any, any>>;
148
- }
@@ -1,23 +0,0 @@
1
- import { OverlayRef } from '@angular/cdk/overlay';
2
- import { Observable, Subject } from 'rxjs';
3
- import { BaseToastPosition } from '../../base-toast-positions';
4
- import { BaseToastConfig } from '../base-toast-config';
5
- import { BaseToastDurationDismissibleContainerComponent } from '../duration-dismissible/base-toast-duration-dismissible-container.component';
6
- import { BaseToastDurationDismissibleRef } from '../duration-dismissible/base-toast-duration-dismissible-ref';
7
- export declare abstract class BaseToastActionDismissibleRef<T = any, P extends BaseToastConfig<T> = any> extends BaseToastDurationDismissibleRef<T, P> {
8
- /** Subject for notifying the user that the Toast action-dismissible was called. */
9
- protected readonly onAction$: Subject<string | null>;
10
- /** Whether the Toast was dismissed using the action-dismissible button. */
11
- protected dismissedByAction: boolean;
12
- /** @hidden */
13
- protected constructor(containerInstance: BaseToastDurationDismissibleContainerComponent<P>, overlayRef: OverlayRef, positionStrategy: BaseToastPosition);
14
- /** Marks the Toast action-dismissible clicked. */
15
- dismissWithAction(reason?: string | null): void;
16
- /** Gets an observable that is notified when the Toast action-dismissible is called. */
17
- onAction(): Observable<string | null>;
18
- /**
19
- * @hidden
20
- * Cleans up the DOM after closing.
21
- */
22
- protected _finishDismiss(): void;
23
- }
@@ -1,41 +0,0 @@
1
- import { NgZone, OnDestroy } from '@angular/core';
2
- import { BaseAnimatedToastConfig } from './base-toast-config';
3
- import { BaseToastContainerComponent } from './base-toast-container.component';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class BaseToastAnimatedContainerComponent<P extends BaseAnimatedToastConfig> extends BaseToastContainerComponent<P> implements OnDestroy {
6
- /**
7
- * @hidden
8
- * The state of the Message Toast animations.
9
- */
10
- private get _animationState();
11
- /**
12
- * @hidden
13
- * Whether the animations should be disabled.
14
- */
15
- private _animationsDisabled;
16
- /** @hidden */
17
- protected _ngZone: NgZone;
18
- /** @hidden */
19
- private _animationStateSignal;
20
- /** @hidden */
21
- constructor(config: P);
22
- /**
23
- * @hidden
24
- * Handle end of animations, updating the state of the Message Toast.
25
- */
26
- private _onAnimationEnd;
27
- /** Begin animation of Message Toast entrance into view. */
28
- enter(): void;
29
- /** Begin animation of Message Toast removal. */
30
- exit(): void;
31
- /** @hidden */
32
- ngOnDestroy(): void;
33
- /**
34
- * @hidden
35
- * Waits for the zone to settle before removing the element. Helps prevent
36
- * errors where we end up removing an element which is in the middle of an animation.
37
- */
38
- private _completeExit;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseToastAnimatedContainerComponent<any>, never>;
40
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseToastAnimatedContainerComponent<any>, never, never, {}, {}, never, never, true, never>;
41
- }
@@ -1,53 +0,0 @@
1
- import { BaseToastPosition } from '../base-toast-positions';
2
- /**
3
- * Base Configuration class used when opening a Toast.
4
- */
5
- export declare class BaseToastConfig<T = any> {
6
- /**
7
- * Data being injected into the child component.
8
- */
9
- data?: T;
10
- /**
11
- * Aria-label for the message toast component element.
12
- */
13
- ariaLabel?: string;
14
- /**
15
- * Toast position strategy.
16
- */
17
- positionStrategy?: BaseToastPosition;
18
- /**
19
- * Toast minimum width.
20
- */
21
- minWidth?: number | string;
22
- /**
23
- * Toast maximum width.
24
- */
25
- maxWidth?: number | string;
26
- /**
27
- * Toast minimum height.
28
- */
29
- minHeight?: number | string;
30
- /**
31
- * Toast maximum height.
32
- */
33
- maxHeight?: number | string;
34
- /**
35
- * Toast width.
36
- */
37
- width?: number | string;
38
- /**
39
- * Toast height.
40
- */
41
- height?: number | string;
42
- /**
43
- * Toast ID.
44
- */
45
- id?: string;
46
- }
47
- /**
48
- * Base Configuration class used when opening an animated Toast.
49
- */
50
- export declare class BaseAnimatedToastConfig<T = any> extends BaseToastConfig<T> {
51
- /** Whether the toast should be animated. */
52
- animated?: boolean | undefined;
53
- }