@rossigee/clarity-angular 18.2.1-fixed → 18.2.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 (182) hide show
  1. package/fesm2022/clr-angular-accordion.mjs +355 -0
  2. package/fesm2022/clr-angular-accordion.mjs.map +1 -0
  3. package/fesm2022/clr-angular-button.mjs +713 -0
  4. package/fesm2022/clr-angular-button.mjs.map +1 -0
  5. package/fesm2022/clr-angular-collapsible-panel.mjs +201 -0
  6. package/fesm2022/clr-angular-collapsible-panel.mjs.map +1 -0
  7. package/fesm2022/clr-angular-data-datagrid.mjs +7635 -0
  8. package/fesm2022/clr-angular-data-datagrid.mjs.map +1 -0
  9. package/fesm2022/clr-angular-data-stack-view.mjs +442 -0
  10. package/fesm2022/clr-angular-data-stack-view.mjs.map +1 -0
  11. package/fesm2022/clr-angular-data-tree-view.mjs +1106 -0
  12. package/fesm2022/clr-angular-data-tree-view.mjs.map +1 -0
  13. package/fesm2022/clr-angular-data.mjs +40 -0
  14. package/fesm2022/clr-angular-data.mjs.map +1 -0
  15. package/fesm2022/clr-angular-emphasis-alert.mjs +624 -0
  16. package/fesm2022/clr-angular-emphasis-alert.mjs.map +1 -0
  17. package/fesm2022/clr-angular-emphasis-badge.mjs +69 -0
  18. package/fesm2022/clr-angular-emphasis-badge.mjs.map +1 -0
  19. package/fesm2022/clr-angular-emphasis-common.mjs +25 -0
  20. package/fesm2022/clr-angular-emphasis-common.mjs.map +1 -0
  21. package/fesm2022/clr-angular-emphasis-label.mjs +105 -0
  22. package/fesm2022/clr-angular-emphasis-label.mjs.map +1 -0
  23. package/fesm2022/clr-angular-emphasis.mjs +41 -0
  24. package/fesm2022/clr-angular-emphasis.mjs.map +1 -0
  25. package/fesm2022/clr-angular-forms-checkbox.mjs +270 -0
  26. package/fesm2022/clr-angular-forms-checkbox.mjs.map +1 -0
  27. package/fesm2022/clr-angular-forms-combobox.mjs +1775 -0
  28. package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -0
  29. package/fesm2022/clr-angular-forms-common.mjs +1251 -0
  30. package/fesm2022/clr-angular-forms-common.mjs.map +1 -0
  31. package/fesm2022/clr-angular-forms-datalist.mjs +263 -0
  32. package/fesm2022/clr-angular-forms-datalist.mjs.map +1 -0
  33. package/fesm2022/clr-angular-forms-datepicker.mjs +3274 -0
  34. package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -0
  35. package/fesm2022/clr-angular-forms-file-input.mjs +826 -0
  36. package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -0
  37. package/fesm2022/clr-angular-forms-input.mjs +153 -0
  38. package/fesm2022/clr-angular-forms-input.mjs.map +1 -0
  39. package/fesm2022/clr-angular-forms-number-input.mjs +236 -0
  40. package/fesm2022/clr-angular-forms-number-input.mjs.map +1 -0
  41. package/fesm2022/clr-angular-forms-password.mjs +233 -0
  42. package/fesm2022/clr-angular-forms-password.mjs.map +1 -0
  43. package/fesm2022/clr-angular-forms-radio.mjs +231 -0
  44. package/fesm2022/clr-angular-forms-radio.mjs.map +1 -0
  45. package/fesm2022/clr-angular-forms-range.mjs +186 -0
  46. package/fesm2022/clr-angular-forms-range.mjs.map +1 -0
  47. package/fesm2022/clr-angular-forms-select.mjs +153 -0
  48. package/fesm2022/clr-angular-forms-select.mjs.map +1 -0
  49. package/fesm2022/clr-angular-forms-textarea.mjs +136 -0
  50. package/fesm2022/clr-angular-forms-textarea.mjs.map +1 -0
  51. package/fesm2022/clr-angular-forms.mjs +100 -0
  52. package/fesm2022/clr-angular-forms.mjs.map +1 -0
  53. package/fesm2022/clr-angular-icon.mjs +7397 -0
  54. package/fesm2022/clr-angular-icon.mjs.map +1 -0
  55. package/fesm2022/clr-angular-layout-breadcrumbs.mjs +120 -0
  56. package/fesm2022/clr-angular-layout-breadcrumbs.mjs.map +1 -0
  57. package/fesm2022/clr-angular-layout-main-container.mjs +100 -0
  58. package/fesm2022/clr-angular-layout-main-container.mjs.map +1 -0
  59. package/fesm2022/clr-angular-layout-nav.mjs +582 -0
  60. package/fesm2022/clr-angular-layout-nav.mjs.map +1 -0
  61. package/fesm2022/clr-angular-layout-tabs.mjs +807 -0
  62. package/fesm2022/clr-angular-layout-tabs.mjs.map +1 -0
  63. package/fesm2022/clr-angular-layout-vertical-nav.mjs +507 -0
  64. package/fesm2022/clr-angular-layout-vertical-nav.mjs.map +1 -0
  65. package/fesm2022/clr-angular-layout.mjs +44 -0
  66. package/fesm2022/clr-angular-layout.mjs.map +1 -0
  67. package/fesm2022/clr-angular-modal.mjs +617 -0
  68. package/fesm2022/clr-angular-modal.mjs.map +1 -0
  69. package/fesm2022/clr-angular-popover-common.mjs +1082 -0
  70. package/fesm2022/clr-angular-popover-common.mjs.map +1 -0
  71. package/fesm2022/clr-angular-popover-dropdown.mjs +492 -0
  72. package/fesm2022/clr-angular-popover-dropdown.mjs.map +1 -0
  73. package/fesm2022/clr-angular-popover-signpost.mjs +494 -0
  74. package/fesm2022/clr-angular-popover-signpost.mjs.map +1 -0
  75. package/fesm2022/clr-angular-popover-tooltip.mjs +293 -0
  76. package/fesm2022/clr-angular-popover-tooltip.mjs.map +1 -0
  77. package/fesm2022/clr-angular-popover.mjs +41 -0
  78. package/fesm2022/clr-angular-popover.mjs.map +1 -0
  79. package/fesm2022/clr-angular-progress-progress-bars.mjs +217 -0
  80. package/fesm2022/clr-angular-progress-progress-bars.mjs.map +1 -0
  81. package/fesm2022/clr-angular-progress-spinner.mjs +132 -0
  82. package/fesm2022/clr-angular-progress-spinner.mjs.map +1 -0
  83. package/fesm2022/clr-angular-stepper.mjs +694 -0
  84. package/fesm2022/clr-angular-stepper.mjs.map +1 -0
  85. package/fesm2022/clr-angular-timeline.mjs +316 -0
  86. package/fesm2022/clr-angular-timeline.mjs.map +1 -0
  87. package/fesm2022/clr-angular-utils-conditional.mjs +351 -0
  88. package/fesm2022/clr-angular-utils-conditional.mjs.map +1 -0
  89. package/fesm2022/clr-angular-utils-loading.mjs +107 -0
  90. package/fesm2022/clr-angular-utils-loading.mjs.map +1 -0
  91. package/fesm2022/clr-angular-utils.mjs +2079 -0
  92. package/fesm2022/clr-angular-utils.mjs.map +1 -0
  93. package/fesm2022/clr-angular-wizard.mjs +3074 -0
  94. package/fesm2022/clr-angular-wizard.mjs.map +1 -0
  95. package/fesm2022/{rossigee-clarity-angular.mjs → clr-angular.mjs} +2 -2
  96. package/fesm2022/clr-angular.mjs.map +1 -0
  97. package/package.json +105 -103
  98. package/schematics/ng-update/index.d.ts +2 -0
  99. package/schematics/ng-update/index.js +69 -0
  100. package/schematics/ng-update/index.js.map +1 -0
  101. package/schematics/ng-update/migrations/css-migration.d.ts +6 -0
  102. package/schematics/ng-update/migrations/css-migration.js +177 -0
  103. package/schematics/ng-update/migrations/css-migration.js.map +1 -0
  104. package/schematics/ng-update/migrations/import-migration.d.ts +4 -0
  105. package/schematics/ng-update/migrations/import-migration.js +187 -0
  106. package/schematics/ng-update/migrations/import-migration.js.map +1 -0
  107. package/schematics/ng-update/migrations/template-migration.d.ts +6 -0
  108. package/schematics/ng-update/migrations/template-migration.js +261 -0
  109. package/schematics/ng-update/migrations/template-migration.js.map +1 -0
  110. package/schematics/ng-update/replacements/css-replacements.d.ts +17 -0
  111. package/schematics/ng-update/replacements/css-replacements.js +74 -0
  112. package/schematics/ng-update/replacements/css-replacements.js.map +1 -0
  113. package/schematics/ng-update/replacements/import-replacements.d.ts +13 -0
  114. package/schematics/ng-update/replacements/import-replacements.js +108 -0
  115. package/schematics/ng-update/replacements/import-replacements.js.map +1 -0
  116. package/schematics/ng-update/replacements/symbol-replacements.d.ts +12 -0
  117. package/schematics/ng-update/replacements/symbol-replacements.js +67 -0
  118. package/schematics/ng-update/replacements/symbol-replacements.js.map +1 -0
  119. package/schematics/ng-update/replacements/template-replacements.d.ts +19 -0
  120. package/schematics/ng-update/replacements/template-replacements.js +57 -0
  121. package/schematics/ng-update/replacements/template-replacements.js.map +1 -0
  122. package/schematics/ng-update/tests/test-helpers.d.ts +6 -0
  123. package/schematics/ng-update/tests/test-helpers.js +34 -0
  124. package/schematics/ng-update/tests/test-helpers.js.map +1 -0
  125. package/schematics/ng-update/utils/file-visitor.d.ts +8 -0
  126. package/schematics/ng-update/utils/file-visitor.js +44 -0
  127. package/schematics/ng-update/utils/file-visitor.js.map +1 -0
  128. package/schematics/ng-update/utils/regexp-utils.d.ts +16 -0
  129. package/schematics/ng-update/utils/regexp-utils.js +34 -0
  130. package/schematics/ng-update/utils/regexp-utils.js.map +1 -0
  131. package/schematics/vitest.config.d.ts +2 -0
  132. package/schematics/vitest.config.js +17 -0
  133. package/schematics/vitest.config.js.map +1 -0
  134. package/types/clr-angular-accordion.d.ts +100 -0
  135. package/types/clr-angular-button.d.ts +169 -0
  136. package/types/clr-angular-collapsible-panel.d.ts +73 -0
  137. package/types/clr-angular-data-datagrid.d.ts +1843 -0
  138. package/types/clr-angular-data-stack-view.d.ts +87 -0
  139. package/types/clr-angular-data-tree-view.d.ts +229 -0
  140. package/types/clr-angular-data.d.ts +15 -0
  141. package/types/clr-angular-emphasis-alert.d.ts +175 -0
  142. package/types/clr-angular-emphasis-badge.d.ts +25 -0
  143. package/types/clr-angular-emphasis-common.d.ts +6 -0
  144. package/types/clr-angular-emphasis-label.d.ts +29 -0
  145. package/types/clr-angular-emphasis.d.ts +15 -0
  146. package/types/clr-angular-forms-checkbox.d.ts +69 -0
  147. package/types/clr-angular-forms-combobox.d.ts +353 -0
  148. package/types/clr-angular-forms-common.d.ts +339 -0
  149. package/types/clr-angular-forms-datalist.d.ts +59 -0
  150. package/types/clr-angular-forms-datepicker.d.ts +986 -0
  151. package/types/clr-angular-forms-file-input.d.ts +193 -0
  152. package/types/clr-angular-forms-input.d.ts +29 -0
  153. package/types/clr-angular-forms-number-input.d.ts +43 -0
  154. package/types/clr-angular-forms-password.d.ts +52 -0
  155. package/types/clr-angular-forms-radio.d.ts +50 -0
  156. package/types/clr-angular-forms-range.d.ts +37 -0
  157. package/types/clr-angular-forms-select.d.ts +36 -0
  158. package/types/clr-angular-forms-textarea.d.ts +29 -0
  159. package/types/clr-angular-forms.d.ts +36 -0
  160. package/types/clr-angular-icon.d.ts +1498 -0
  161. package/types/clr-angular-layout-breadcrumbs.d.ts +45 -0
  162. package/types/clr-angular-layout-main-container.d.ts +28 -0
  163. package/types/clr-angular-layout-nav.d.ts +142 -0
  164. package/types/clr-angular-layout-tabs.d.ts +158 -0
  165. package/types/clr-angular-layout-vertical-nav.d.ts +128 -0
  166. package/types/clr-angular-layout.d.ts +19 -0
  167. package/types/clr-angular-modal.d.ts +160 -0
  168. package/types/clr-angular-popover-common.d.ts +254 -0
  169. package/types/clr-angular-popover-dropdown.d.ts +123 -0
  170. package/types/clr-angular-popover-signpost.d.ts +157 -0
  171. package/types/clr-angular-popover-tooltip.d.ts +83 -0
  172. package/types/clr-angular-popover.d.ts +16 -0
  173. package/types/clr-angular-progress-progress-bars.d.ts +57 -0
  174. package/types/clr-angular-progress-spinner.d.ts +44 -0
  175. package/types/clr-angular-stepper.d.ts +179 -0
  176. package/types/clr-angular-timeline.d.ts +86 -0
  177. package/types/clr-angular-utils-conditional.d.ts +132 -0
  178. package/types/clr-angular-utils-loading.d.ts +38 -0
  179. package/types/clr-angular-utils.d.ts +913 -0
  180. package/types/clr-angular-wizard.d.ts +1508 -0
  181. package/fesm2022/rossigee-clarity-angular.mjs.map +0 -1
  182. /package/types/{rossigee-clarity-angular.d.ts → clr-angular.d.ts} +0 -0
@@ -0,0 +1,913 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ import * as i0 from '@angular/core';
3
+ import { OnDestroy, EventEmitter, ElementRef, Renderer2, NgZone, Type, TemplateRef, Injector, ViewContainerRef, InjectionToken, OnChanges, SimpleChanges, AfterViewInit, QueryList, FactoryProvider, ChangeDetectorRef, AfterViewChecked, AfterContentChecked } from '@angular/core';
4
+ import * as i2 from '@angular/common';
5
+ import * as _angular_animations from '@angular/animations';
6
+ import { AnimationMetadata, AnimationEvent, AnimationBuilder } from '@angular/animations';
7
+ export * from '@clr/angular/utils/loading';
8
+ export * from '@clr/angular/utils/conditional';
9
+ import { CdkTrapFocus, FocusTrapFactory } from '@angular/cdk/a11y';
10
+ import { Subscription, Observable, Observer, Subject } from 'rxjs';
11
+ import { Directionality } from '@angular/cdk/bidi';
12
+ import { CdkDrag, DragDropConfig, DragDrop } from '@angular/cdk/drag-drop';
13
+
14
+ declare function triggerAllFormControlValidation(formGroup: FormGroup): void;
15
+
16
+ declare class DomAdapter {
17
+ userDefinedWidth(element: HTMLElement): number;
18
+ scrollBarWidth(element: any): number;
19
+ scrollWidth(element: any): any;
20
+ computedHeight(element: any): number;
21
+ clientRect(element: any): DOMRect;
22
+ minWidth(element: any): number;
23
+ focus(element: any): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<DomAdapter, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<DomAdapter>;
26
+ }
27
+
28
+ declare class MockDomAdapter extends DomAdapter {
29
+ _userDefinedWidth: number;
30
+ _scrollBarWidth: number;
31
+ _scrollWidth: number;
32
+ _computedHeight: number;
33
+ userDefinedWidth(_element: any): number;
34
+ scrollBarWidth(_element: any): number;
35
+ scrollWidth(_element: any): number;
36
+ computedHeight(_element: any): number;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<MockDomAdapter, never>;
38
+ static ɵprov: i0.ɵɵInjectableDeclaration<MockDomAdapter>;
39
+ }
40
+ declare const MOCK_DOM_ADAPTER_PROVIDER: {
41
+ provide: typeof DomAdapter;
42
+ useClass: typeof MockDomAdapter;
43
+ };
44
+
45
+ declare class OutsideClick implements OnDestroy {
46
+ strict: boolean;
47
+ outsideClick: EventEmitter<any>;
48
+ private documentClickListener;
49
+ constructor(host: ElementRef<HTMLElement>, renderer: Renderer2, ngZone: NgZone);
50
+ ngOnDestroy(): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<OutsideClick, never>;
52
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OutsideClick, "[clrOutsideClick]", never, { "strict": { "alias": "clrStrict"; "required": false; }; }, { "outsideClick": "clrOutsideClick"; }, never, never, false, never>;
53
+ }
54
+
55
+ declare const OUSTIDE_CLICK_DIRECTIVES: Type<any>[];
56
+ declare class ClrOutsideClickModule {
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrOutsideClickModule, never>;
58
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrOutsideClickModule, [typeof OutsideClick], [typeof i2.CommonModule], [typeof OutsideClick]>;
59
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrOutsideClickModule>;
60
+ }
61
+
62
+ declare class TemplateRefContainer {
63
+ template: TemplateRef<any>;
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<TemplateRefContainer, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<TemplateRefContainer, "ng-component", never, {}, {}, never, ["*"], false, never>;
66
+ }
67
+
68
+ declare class ClrTemplateRefModule {
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrTemplateRefModule, never>;
70
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrTemplateRefModule, [typeof TemplateRefContainer], [typeof i2.CommonModule], [typeof TemplateRefContainer]>;
71
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrTemplateRefModule>;
72
+ }
73
+
74
+ /**
75
+ * TODO:
76
+ * Using core functions like:
77
+ * - pluckPixelValue
78
+ * - getCssPropertyValue
79
+ *
80
+ * to get the value of the design token.
81
+ *
82
+ * Note: Memoization/Cache usage possible.
83
+ */
84
+ declare const DATEPICKER_ENABLE_BREAKPOINT = 768;
85
+ declare const SMALL_BREAKPOINT = 576;
86
+ declare const MEDIUM_BREAKPOINT = 768;
87
+ declare const LARGE_BREAKPOINT = 992;
88
+ declare const EXTRA_LARGE_BREAKPOINT = 1200;
89
+
90
+ declare class EmptyAnchor {
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<EmptyAnchor, never>;
92
+ static ɵcmp: i0.ɵɵComponentDeclaration<EmptyAnchor, "ng-component", never, {}, {}, never, never, false, never>;
93
+ }
94
+
95
+ /**
96
+ * HostWrapper must be called in OnInit to ensure that the Views are ready. If its called in a constructor the view is
97
+ * still undefined.
98
+ */
99
+ declare class HostWrapper<W> implements Injector {
100
+ private injector;
101
+ constructor(containerType: Type<W>, vcr: ViewContainerRef, index?: number);
102
+ get<T>(token: Type<T> | InjectionToken<T>, notFoundValue?: T): T;
103
+ }
104
+
105
+ /**
106
+ * Internal module, please do not export!
107
+ */
108
+ declare class ClrHostWrappingModule {
109
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrHostWrappingModule, never>;
110
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrHostWrappingModule, [typeof EmptyAnchor], never, [typeof EmptyAnchor]>;
111
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrHostWrappingModule>;
112
+ }
113
+
114
+ declare function assertNever(value: never): void;
115
+
116
+ declare function isBooleanAttributeSet(value: string | boolean): boolean;
117
+
118
+ declare const defaultAnimationTiming = "0.2s ease-in-out";
119
+ declare const defaultExpandAnimation: _angular_animations.AnimationReferenceMetadata;
120
+
121
+ declare function collapse(): AnimationMetadata[];
122
+
123
+ declare class BaseExpandableAnimation {
124
+ protected element: ElementRef<HTMLElement>;
125
+ protected domAdapter: DomAdapter;
126
+ protected renderer: Renderer2;
127
+ startHeight: number;
128
+ constructor(element: ElementRef<HTMLElement>, domAdapter: DomAdapter, renderer: Renderer2);
129
+ updateStartHeight(): void;
130
+ initAnimationEffects(): void;
131
+ cleanupAnimationEffects(cancelAnimations?: boolean): void;
132
+ private cancelElementAnimations;
133
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseExpandableAnimation, never>;
134
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseExpandableAnimation, never, never, {}, {}, never, never, true, never>;
135
+ }
136
+
137
+ declare class ClrExpandableAnimation extends BaseExpandableAnimation {
138
+ clrExpandTrigger: boolean;
139
+ get expandAnimation(): {
140
+ value: boolean;
141
+ params: {
142
+ startHeight: number;
143
+ };
144
+ };
145
+ animationStart(event: AnimationEvent): void;
146
+ animationDone(event: AnimationEvent): void;
147
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrExpandableAnimation, never>;
148
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrExpandableAnimation, "clr-expandable-animation", never, { "clrExpandTrigger": { "alias": "clrExpandTrigger"; "required": false; }; }, {}, never, ["*"], false, never>;
149
+ }
150
+
151
+ declare class ClrExpandableAnimationDirective extends BaseExpandableAnimation implements OnChanges, OnDestroy {
152
+ private builder;
153
+ expanded: boolean;
154
+ private player;
155
+ constructor(element: ElementRef<HTMLElement>, domAdapter: DomAdapter, renderer: Renderer2, builder: AnimationBuilder);
156
+ ngOnChanges(changes: SimpleChanges): void;
157
+ ngOnDestroy(): void;
158
+ playAnimation(): void;
159
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrExpandableAnimationDirective, never>;
160
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrExpandableAnimationDirective, "[clrExpandableAnimation]", never, { "expanded": { "alias": "clrExpandableAnimation"; "required": false; }; }, {}, never, never, false, never>;
161
+ }
162
+
163
+ declare const EXPANDABLE_ANIMATION_DIRECTIVES: Type<any>[];
164
+ declare class ClrExpandableAnimationModule {
165
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrExpandableAnimationModule, never>;
166
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrExpandableAnimationModule, [typeof ClrExpandableAnimation, typeof ClrExpandableAnimationDirective], [typeof i2.CommonModule], [typeof ClrExpandableAnimation, typeof ClrExpandableAnimationDirective]>;
167
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrExpandableAnimationModule>;
168
+ }
169
+
170
+ declare function fade(opacity?: number): AnimationMetadata[];
171
+
172
+ declare function fadeSlide(direction: string): AnimationMetadata[];
173
+
174
+ declare function slide(direction: string): AnimationMetadata[];
175
+
176
+ interface ClrCommonStrings {
177
+ /**
178
+ * Open button
179
+ */
180
+ open: string;
181
+ /**
182
+ * Close button
183
+ */
184
+ close: string;
185
+ /**
186
+ * Show button
187
+ */
188
+ show: string;
189
+ /**
190
+ * Hide button
191
+ */
192
+ hide: string;
193
+ /**
194
+ * Apply button
195
+ */
196
+ apply: string;
197
+ /**
198
+ * Cancel button
199
+ */
200
+ cancel: string;
201
+ /**
202
+ * Expandable components: expand caret
203
+ */
204
+ expand: string;
205
+ /**
206
+ * Expandable components: collapse caret
207
+ */
208
+ collapse: string;
209
+ /**
210
+ * Overflow menus: ellipsis button
211
+ */
212
+ more: string;
213
+ /**
214
+ * Selectable components: checkbox or radio
215
+ */
216
+ select: string;
217
+ /**
218
+ * Selectable components: checkbox to select all
219
+ */
220
+ selectAll: string;
221
+ /**
222
+ * Pagination: previous button
223
+ */
224
+ previous: string;
225
+ /**
226
+ * Pagination: next button
227
+ */
228
+ next: string;
229
+ /**
230
+ * Pagination: go to current
231
+ */
232
+ current: string;
233
+ /**
234
+ * Alert levels: info
235
+ */
236
+ info: string;
237
+ /**
238
+ * Alert levels: success
239
+ */
240
+ success: string;
241
+ /**
242
+ * Alert levels: warning
243
+ */
244
+ warning: string;
245
+ /**
246
+ * Alert levels: danger
247
+ */
248
+ danger: string;
249
+ /**
250
+ * Alert levels: neutral
251
+ */
252
+ neutral: string;
253
+ /**
254
+ * Alert levels: unknown
255
+ */
256
+ unknown: string;
257
+ /**
258
+ * Datagrid: row actions
259
+ */
260
+ rowActions: string;
261
+ /**
262
+ * Datagrid: pick columns
263
+ */
264
+ pickColumns: string;
265
+ /**
266
+ * Datagrid: show columns
267
+ */
268
+ showColumns: string;
269
+ /**
270
+ * Datagrid: sort of columns
271
+ */
272
+ sortColumn: string;
273
+ /**
274
+ * Datagrid: first page
275
+ */
276
+ firstPage: string;
277
+ /**
278
+ * Datagrid: last page
279
+ */
280
+ lastPage: string;
281
+ /**
282
+ * Datagrid: next page
283
+ */
284
+ nextPage: string;
285
+ /**
286
+ * Datagrid: previous page
287
+ */
288
+ previousPage: string;
289
+ /**
290
+ * Datagrid: previous page
291
+ */
292
+ currentPage: string;
293
+ /**
294
+ * Datagird: total pages
295
+ */
296
+ totalPages: string;
297
+ /**
298
+ * Datagrid string filter: filter items
299
+ */
300
+ filterItems: string;
301
+ /**
302
+ * Datagrid numeric filter: min
303
+ */
304
+ minValue: string;
305
+ /**
306
+ * Datagrid numeric filter: max
307
+ */
308
+ maxValue: string;
309
+ /**
310
+ * Datagrid filter toggle button
311
+ */
312
+ datagridFilterAriaLabel: string;
313
+ /**
314
+ * Datagrid filter label
315
+ */
316
+ datagridFilterLabel: string;
317
+ /**
318
+ * Datagrid filter dialog
319
+ */
320
+ datagridFilterDialogAriaLabel: string;
321
+ /**
322
+ * Datagrid column handler string
323
+ */
324
+ columnSeparatorAriaLabel: string;
325
+ /**
326
+ * Datagrid column resize handler string
327
+ */
328
+ columnSeparatorDescription: string;
329
+ /**
330
+ * Numeric filter from label string
331
+ */
332
+ fromLabel: string;
333
+ /**
334
+ * Numeric filter to label string
335
+ */
336
+ toLabel: string;
337
+ /**
338
+ * Modal start of content
339
+ */
340
+ modalContentStart: string;
341
+ /**
342
+ * Modal end of content
343
+ */
344
+ modalContentEnd: string;
345
+ /**
346
+ * Side Panel pin dialog
347
+ */
348
+ sidePanelPin: string;
349
+ /**
350
+ * Datagrid Show columns menu description
351
+ */
352
+ showColumnsMenuDescription: string;
353
+ /**
354
+ * Datagrid Show columns / All columns selected confirmation
355
+ */
356
+ allColumnsSelected: string;
357
+ /**
358
+ * Signpost Toggle Button
359
+ */
360
+ signpostToggle: string;
361
+ /**
362
+ * Signpost Close Button
363
+ * (used inside signpost content components)
364
+ */
365
+ signpostClose: string;
366
+ loading: string;
367
+ /**
368
+ * Datagrid: detail pane start content for screen reader
369
+ */
370
+ detailPaneStart: string;
371
+ /**
372
+ * Datagrid: detail pane end content for screen reader
373
+ */
374
+ detailPaneEnd: string;
375
+ /**
376
+ * Datagrid: Single selection header
377
+ */
378
+ singleSelectionAriaLabel: string;
379
+ /**
380
+ * Datagrid: Single actionable header
381
+ */
382
+ singleActionableAriaLabel: string;
383
+ /**
384
+ * Datagrid: Expandable row
385
+ */
386
+ detailExpandableAriaLabel: string;
387
+ /**
388
+ * Alert: Close alert button
389
+ */
390
+ alertCloseButtonAriaLabel: string;
391
+ /**
392
+ * Alert: Next Alert button
393
+ */
394
+ alertNextAlertAriaLabel: string;
395
+ /**
396
+ * Alert: Previous Alert button
397
+ */
398
+ alertPreviousAlertAriaLabel: string;
399
+ /**
400
+ * Datepicker UI labels
401
+ */
402
+ datepickerDialogLabel: string;
403
+ datepickerToggleChooseDateLabel: string;
404
+ datepickerToggleChangeDateLabel: string;
405
+ datepickerPreviousMonth: string;
406
+ datepickerCurrentMonth: string;
407
+ datepickerNextMonth: string;
408
+ datepickerPreviousDecade: string;
409
+ datepickerNextDecade: string;
410
+ datepickerCurrentDecade: string;
411
+ datepickerSelectMonthText: string;
412
+ datepickerSelectYearText: string;
413
+ datepickerSelectedLabel: string;
414
+ /**
415
+ * Stack View: Record has changed
416
+ */
417
+ stackViewChanged: string;
418
+ responsiveNavToggleOpen: string;
419
+ responsiveNavToggleClose: string;
420
+ responsiveNavOverflowOpen: string;
421
+ responsiveNavOverflowClose: string;
422
+ verticalNavToggle: string;
423
+ /**
424
+ * Timeline Steps
425
+ */
426
+ timelineStepNotStarted: string;
427
+ timelineStepCurrent: string;
428
+ timelineStepSuccess: string;
429
+ timelineStepError: string;
430
+ timelineStepProcessing: string;
431
+ datagridExpandableBeginningOf: string;
432
+ datagridExpandableEndOf: string;
433
+ datagridExpandableRowContent: string;
434
+ datagridExpandableRowsHelperText: string;
435
+ /**
436
+ * Combobox Searching Text
437
+ */
438
+ comboboxSearching: string;
439
+ comboboxDelete: string;
440
+ comboboxSelection: string;
441
+ comboboxSelected: string;
442
+ comboboxNoResults: string;
443
+ comboboxOpen: string;
444
+ comboboxSelectAll: string;
445
+ comboboxUnselectAll: string;
446
+ comboboxAllSelected: string;
447
+ comboboxShowAll: string;
448
+ comboboxShowLess: string;
449
+ /**
450
+ * Wizard: Screen-reader text for "step" (read before step number).
451
+ */
452
+ wizardStep: string;
453
+ /**
454
+ * Wizard: Screen-reader text for current step.
455
+ */
456
+ wizardStepCurrent: string;
457
+ /**
458
+ * Wizard: Screen-reader text for completed step.
459
+ */
460
+ wizardStepSuccess: string;
461
+ /**
462
+ * Wizard: Screen-reader text for step with error.
463
+ */
464
+ wizardStepError: string;
465
+ /**
466
+ * Wizard: Aria-label for the stepnav section.
467
+ */
468
+ wizardStepnavAriaLabel: string;
469
+ /**
470
+ * Password Input
471
+ * Screen-reader text for the hide/show password field button.
472
+ */
473
+ passwordHide: string;
474
+ passwordShow: string;
475
+ /**
476
+ * Datagrid footer; sr-only text after the number of selected rows.
477
+ */
478
+ selectedRows: string;
479
+ stepComplete: string;
480
+ stepError: string;
481
+ browse: string;
482
+ fileCount: string;
483
+ clearFile: string;
484
+ clearFiles: string;
485
+ selectedTreeNode: string;
486
+ unselectedTreeNode: string;
487
+ breadcrumbsLabel: string;
488
+ expandBreadcrumbsLabel: string;
489
+ }
490
+
491
+ declare class ClrCommonStringsService {
492
+ private _strings;
493
+ /**
494
+ * Access to all of the keys as strings
495
+ */
496
+ get keys(): Readonly<ClrCommonStrings>;
497
+ /**
498
+ * Allows you to pass in new overrides for localization
499
+ */
500
+ localize(overrides: Partial<ClrCommonStrings>): void;
501
+ /**
502
+ * Parse a string with a set of tokens to replace
503
+ */
504
+ parse(source: string, tokens?: {
505
+ [key: string]: string;
506
+ }): string;
507
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrCommonStringsService, never>;
508
+ static ɵprov: i0.ɵɵInjectableDeclaration<ClrCommonStringsService>;
509
+ }
510
+
511
+ declare const commonStringsDefault: ClrCommonStrings;
512
+
513
+ declare class ClrFocusOnViewInit implements AfterViewInit, OnDestroy {
514
+ private el;
515
+ private platformId;
516
+ private focusOnViewInit;
517
+ private renderer;
518
+ private document;
519
+ private directFocus;
520
+ private destroy$;
521
+ private _isEnabled;
522
+ constructor(el: ElementRef<HTMLElement>, platformId: any, focusOnViewInit: boolean, document: any, renderer: Renderer2, ngZone: NgZone);
523
+ set isEnabled(value: boolean | string);
524
+ ngAfterViewInit(): void;
525
+ ngOnDestroy(): void;
526
+ private focus;
527
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFocusOnViewInit, never>;
528
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrFocusOnViewInit, "[clrFocusOnViewInit]", never, { "isEnabled": { "alias": "clrFocusOnViewInit"; "required": false; }; }, {}, never, never, false, never>;
529
+ }
530
+
531
+ declare const FOCUS_ON_VIEW_INIT: InjectionToken<boolean>;
532
+
533
+ declare const FOCUS_ON_VIEW_INIT_DIRECTIVES: Type<any>[];
534
+ declare class ClrFocusOnViewInitModule {
535
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrFocusOnViewInitModule, never>;
536
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrFocusOnViewInitModule, [typeof ClrFocusOnViewInit], [typeof i2.CommonModule], [typeof ClrFocusOnViewInit]>;
537
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrFocusOnViewInitModule>;
538
+ }
539
+
540
+ declare class ClrStandaloneCdkTrapFocus extends CdkTrapFocus {
541
+ /**
542
+ * Include the constructor to forward all the dependencies to the base class
543
+ * as a workaround to fix Angular "ɵɵinvalidFactoryDep" error after upgrading storybook
544
+ * https://github.com/storybookjs/storybook/issues/23534
545
+ */
546
+ constructor(elementRef: ElementRef<HTMLElement>, focusTrapFactory: FocusTrapFactory, document: any);
547
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrStandaloneCdkTrapFocus, [null, null, { optional: true; }]>;
548
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrStandaloneCdkTrapFocus, never, never, {}, {}, never, never, true, never>;
549
+ }
550
+
551
+ declare enum ClrFocusDirection {
552
+ VERTICAL = "vertical",
553
+ HORIZONTAL = "horizontal",
554
+ BOTH = "both"
555
+ }
556
+
557
+ interface FocusableItem$1 {
558
+ tabIndex?: number;
559
+ focus: () => void;
560
+ nativeElement?: HTMLElement;
561
+ }
562
+
563
+ declare class ClrKeyFocusItem {
564
+ private elementRef;
565
+ private platformId;
566
+ constructor(elementRef: ElementRef<HTMLElement>, platformId: any);
567
+ get nativeElement(): HTMLElement;
568
+ focus(): void;
569
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrKeyFocusItem, never>;
570
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClrKeyFocusItem, "[clrKeyFocusItem]", never, {}, {}, never, never, false, never>;
571
+ }
572
+
573
+ declare class ClrKeyFocus {
574
+ private elementRef;
575
+ direction: ClrFocusDirection | string;
576
+ focusOnLoad: boolean;
577
+ protected clrKeyFocusItems: QueryList<ClrKeyFocusItem>;
578
+ protected subscriptions: Subscription[];
579
+ private focusChange;
580
+ private _current;
581
+ private _focusableItems;
582
+ constructor(elementRef: ElementRef<HTMLElement>);
583
+ /**
584
+ * Here we use `any` cause any other type require reworking all methods below and a lot of more ifs.
585
+ * this method will only work with array with FocusableItems anyway so any other value will be ignored.
586
+ */
587
+ get focusableItems(): Array<FocusableItem$1> | any;
588
+ set focusableItems(elements: Array<FocusableItem$1> | any);
589
+ get nativeElement(): HTMLElement;
590
+ get current(): number;
591
+ set current(value: number);
592
+ get currentItem(): any;
593
+ get currentItemElement(): HTMLElement;
594
+ ngAfterContentInit(): void;
595
+ ngOnDestroy(): void;
596
+ handleKeyboardEvent(event: KeyboardEvent): void;
597
+ setClickedItemCurrent(event: any): void;
598
+ focusCurrent(): void;
599
+ moveTo(position: number): void;
600
+ protected positionInRange(position: number): boolean;
601
+ protected currentFocusIsNotFirstItem(): boolean;
602
+ protected currentFocusIsNotLastItem(): boolean;
603
+ protected initializeFocus(): void;
604
+ protected nextKeyPressed(event: KeyboardEvent): boolean;
605
+ protected prevKeyPressed(event: KeyboardEvent): boolean;
606
+ private getItemPosition;
607
+ private listenForItemUpdates;
608
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrKeyFocus, never>;
609
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrKeyFocus, "[clrKeyFocus]", never, { "direction": { "alias": "clrDirection"; "required": false; }; "focusOnLoad": { "alias": "clrFocusOnLoad"; "required": false; }; "focusableItems": { "alias": "clrKeyFocus"; "required": false; }; }, { "focusChange": "clrFocusChange"; }, ["clrKeyFocusItems"], ["*"], false, never>;
610
+ }
611
+
612
+ declare function preventArrowKeyScroll(event: KeyboardEvent): void;
613
+ declare function isKeyEitherLetterOrNumber(event: KeyboardEvent): boolean;
614
+
615
+ declare class ClrRovingTabindex extends ClrKeyFocus {
616
+ private renderer;
617
+ private disabled;
618
+ constructor(elementRef: ElementRef<HTMLElement>, renderer: Renderer2);
619
+ get rovingIndexItems(): Array<FocusableItem$1> | string;
620
+ set rovingIndexItems(elements: Array<FocusableItem$1> | string);
621
+ set rovingTabindexDisabled(disabled: boolean);
622
+ handleKeyboardEvent(event: KeyboardEvent): void;
623
+ setClickedItemCurrent(event: any): void;
624
+ protected initializeFocus(): void;
625
+ private updateTabindex;
626
+ private setTabindex;
627
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrRovingTabindex, never>;
628
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClrRovingTabindex, "[clrRovingTabindex]", never, { "rovingIndexItems": { "alias": "clrRovingTabindex"; "required": false; }; "rovingTabindexDisabled": { "alias": "clrRovingTabindexDisabled"; "required": false; }; }, {}, never, ["*"], false, never>;
629
+ }
630
+
631
+ declare class ClrKeyFocusModule {
632
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrKeyFocusModule, never>;
633
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrKeyFocusModule, [typeof ClrKeyFocus, typeof ClrRovingTabindex, typeof ClrKeyFocusItem], [typeof i2.CommonModule], [typeof ClrKeyFocus, typeof ClrRovingTabindex, typeof ClrKeyFocusItem]>;
634
+ static ɵinj: i0.ɵɵInjectorDeclaration<ClrKeyFocusModule>;
635
+ }
636
+
637
+ declare abstract class FocusableItem {
638
+ id: string;
639
+ disabled?: boolean;
640
+ up?: FocusableItem | Observable<FocusableItem>;
641
+ down?: FocusableItem | Observable<FocusableItem>;
642
+ left?: FocusableItem | Observable<FocusableItem>;
643
+ right?: FocusableItem | Observable<FocusableItem>;
644
+ abstract focus(): void;
645
+ abstract blur(): void;
646
+ abstract activate?(): void;
647
+ }
648
+
649
+ declare class MockFocusableItem implements FocusableItem {
650
+ id: string;
651
+ disabled: boolean;
652
+ up?: FocusableItem | Observable<FocusableItem>;
653
+ down?: FocusableItem | Observable<FocusableItem>;
654
+ left?: FocusableItem | Observable<FocusableItem>;
655
+ right?: FocusableItem | Observable<FocusableItem>;
656
+ constructor(id: string);
657
+ focus(): void;
658
+ blur(): void;
659
+ activate(): void;
660
+ }
661
+
662
+ declare class BasicFocusableItem implements FocusableItem {
663
+ private el;
664
+ private renderer;
665
+ private platformId;
666
+ id: string;
667
+ disabled: boolean;
668
+ constructor(el: ElementRef<HTMLElement>, renderer: Renderer2, platformId: any);
669
+ focus(): void;
670
+ blur(): void;
671
+ activate(): void;
672
+ static ɵfac: i0.ɵɵFactoryDeclaration<BasicFocusableItem, never>;
673
+ static ɵprov: i0.ɵɵInjectableDeclaration<BasicFocusableItem>;
674
+ }
675
+ declare const BASIC_FOCUSABLE_ITEM_PROVIDER: {
676
+ provide: typeof FocusableItem;
677
+ useClass: typeof BasicFocusableItem;
678
+ }[];
679
+
680
+ declare function customFocusableItemProvider<T>(implementation: Type<T>): (Type<T> | {
681
+ provide: typeof FocusableItem;
682
+ useExisting: Type<T>;
683
+ })[];
684
+
685
+ declare enum ArrowKeyDirection {
686
+ UP = "up",
687
+ DOWN = "down",
688
+ LEFT = "left",
689
+ RIGHT = "right"
690
+ }
691
+
692
+ declare class Linkers {
693
+ /**
694
+ * Links a set of focusable items to a parent along one direction
695
+ */
696
+ static linkParent(items: FocusableItem[], parent: FocusableItem | Observable<FocusableItem>, direction: ArrowKeyDirection): void;
697
+ /**
698
+ * Double-links a set of focusable items vertically, possibly looping
699
+ */
700
+ static linkVertical(items: FocusableItem[], loop?: boolean): void;
701
+ }
702
+
703
+ declare function wrapObservable<T>(observable: Observable<T>, onSubscribe?: (observer: Observer<T>) => void, onUnsubscribe?: (observer: Observer<T>) => void): Observable<T>;
704
+
705
+ declare class FocusService {
706
+ private renderer;
707
+ private _current;
708
+ private _unlistenFuncsMap;
709
+ constructor(renderer: Renderer2);
710
+ get current(): FocusableItem;
711
+ reset(first: FocusableItem): void;
712
+ registerContainer(el: HTMLElement): void;
713
+ moveTo(item: FocusableItem): void;
714
+ move(direction: ArrowKeyDirection): boolean;
715
+ activateCurrent(): boolean;
716
+ detachListeners(el: HTMLElement): void;
717
+ static ɵfac: i0.ɵɵFactoryDeclaration<FocusService, never>;
718
+ static ɵprov: i0.ɵɵInjectableDeclaration<FocusService>;
719
+ }
720
+ declare function clrFocusServiceFactory(existing: FocusService, renderer: Renderer2): FocusService;
721
+ declare const FOCUS_SERVICE_PROVIDER: FactoryProvider;
722
+
723
+ declare function uniqueIdFactory(): string;
724
+
725
+ declare class ScrollingService {
726
+ private _document;
727
+ constructor(_document: any);
728
+ stopScrolling(): void;
729
+ resumeScrolling(): void;
730
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScrollingService, never>;
731
+ static ɵprov: i0.ɵɵInjectableDeclaration<ScrollingService>;
732
+ }
733
+
734
+ /**
735
+ * This is just a copy of CdkDrag so it can be used independent of the rest of the CdkDragDropModule.
736
+ */
737
+ declare class CdkDragModule_CdkDrag extends CdkDrag {
738
+ /**
739
+ * Include the constructor to forward all the dependencies to the base class
740
+ * as a workaround to fix Angular "ɵɵinvalidFactoryDep" error after upgrading storybook
741
+ * https://github.com/storybookjs/storybook/issues/23534
742
+ */
743
+ constructor(elementRef: ElementRef<HTMLElement>, dropContainer: any, document: any, ngZone: NgZone, viewContainerRef: ViewContainerRef, config: DragDropConfig, dir: Directionality, dragDrop: DragDrop, changeDetectorRef: ChangeDetectorRef);
744
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragModule_CdkDrag, [null, { optional: true; }, { optional: true; }, null, null, { optional: true; }, null, null, null]>;
745
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragModule_CdkDrag, "[cdkDrag]", never, {}, {}, never, never, false, never>;
746
+ }
747
+ /**
748
+ * This module allows us to avoid importing all of CdkDragDropModule which results in a smaller application bundle.
749
+ */
750
+ declare class CdkDragModule {
751
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragModule, never>;
752
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CdkDragModule, [typeof CdkDragModule_CdkDrag], never, [typeof CdkDragModule_CdkDrag]>;
753
+ static ɵinj: i0.ɵɵInjectorDeclaration<CdkDragModule>;
754
+ }
755
+
756
+ /**
757
+ * This is just a copy of CdkTrapFocus so it can be used independent of the rest of the A11yModule.
758
+ */
759
+ declare class CdkTrapFocusModule_CdkTrapFocus extends CdkTrapFocus {
760
+ /**
761
+ * Include the constructor to forward all the dependencies to the base class
762
+ * as a workaround to fix Angular "ɵɵinvalidFactoryDep" error after upgrading storybook
763
+ * https://github.com/storybookjs/storybook/issues/23534
764
+ */
765
+ constructor(elementRef: ElementRef<HTMLElement>, focusTrapFactory: FocusTrapFactory, document: any);
766
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkTrapFocusModule_CdkTrapFocus, [null, null, { optional: true; }]>;
767
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTrapFocusModule_CdkTrapFocus, "[cdkTrapFocus]", never, {}, {}, never, never, false, never>;
768
+ }
769
+ /**
770
+ * This module allows us to avoid importing all of A11yModule which results in a smaller application bundle.
771
+ */
772
+ declare class CdkTrapFocusModule {
773
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkTrapFocusModule, never>;
774
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CdkTrapFocusModule, [typeof CdkTrapFocusModule_CdkTrapFocus], never, [typeof CdkTrapFocusModule_CdkTrapFocus]>;
775
+ static ɵinj: i0.ɵɵInjectorDeclaration<CdkTrapFocusModule>;
776
+ }
777
+
778
+ /**
779
+ * @description
780
+ *
781
+ * Developers should explicitly add this service to providers; it then can be injected
782
+ * into a constructor and used as a notifier for the `takeUntil` operator. This eliminates
783
+ * the need for boilerplates with subscriptions, and we don't need to implement the `OnDestroy`
784
+ * interface and teardown subscriptions there.
785
+ *
786
+ * This can be used as follows:
787
+ * ```ts
788
+ * @Component({
789
+ * selector: 'clr-button-group',
790
+ * templateUrl: 'button-group.html',
791
+ * providers: [ClrDestroyService],
792
+ * })
793
+ * export class ClrButtonGroup {
794
+ * constructor(public buttonGroupNewService: ButtonInGroupService, private destroy$: ClrDestroyService) {}
795
+ *
796
+ * ngAfterContentInit() {
797
+ * this.buttonGroupNewService.changes.pipe(takeUntil(this.destroy$)).subscribe(button => this.rearrangeButton(button));
798
+ * }
799
+ * }
800
+ * ```
801
+ */
802
+ declare class ClrDestroyService extends Subject<void> implements OnDestroy {
803
+ ngOnDestroy(): void;
804
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClrDestroyService, never>;
805
+ static ɵprov: i0.ɵɵInjectableDeclaration<ClrDestroyService>;
806
+ }
807
+
808
+ type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6 | '1' | '2' | '3' | '4' | '5' | '6';
809
+
810
+ declare enum Keys {
811
+ ArrowLeft = "ArrowLeft",
812
+ ArrowUp = "ArrowUp",
813
+ ArrowRight = "ArrowRight",
814
+ ArrowDown = "ArrowDown",
815
+ Backspace = "Backspace",
816
+ Tab = "Tab",
817
+ Enter = "Enter",
818
+ Escape = "Escape",
819
+ Space = "Space",
820
+ Spacebar = " ",
821
+ Home = "Home",
822
+ End = "End",
823
+ PageDown = "PageDown",
824
+ PageUp = "PageUp"
825
+ }
826
+
827
+ /**
828
+ * A (clockwise) enumeration for positions around an element.
829
+ *
830
+ * A B C
831
+ * L ----------- D
832
+ * | |
833
+ * | |
834
+ * K | | E
835
+ * | |
836
+ * | |
837
+ * J ----------- F
838
+ * I H G
839
+ *
840
+ * TOP_LEFT = A
841
+ * TOP_CENTER = B
842
+ * TOP_RIGHT = C
843
+ * RIGHT_TOP = D
844
+ * RIGHT_CENTER = E
845
+ * RIGHT_BOTTOM = F
846
+ * BOTTOM_RIGHT = G
847
+ * BOTTOM_CENTER = H
848
+ * BOTTOM_LEFT = I
849
+ * LEFT_BOTTOM = J
850
+ * LEFT_CENTER = K
851
+ * LEFT_TOP = L
852
+ *
853
+ *
854
+ * Consumers tell us that they want something to display on the TOP_LEFT of the trigger and that they want the
855
+ * _content_ container to orient AT the bottom left.
856
+ * In order to calculate the position for the content I need to match up the origin/trigger ClrPosition with the
857
+ * content ClrPosition.
858
+ *
859
+ * Origin TOP_LEFT **AT** Content BOTTOM_LEFT.
860
+ * -----------
861
+ * | |
862
+ * | |
863
+ * | content |
864
+ * | |
865
+ * | |
866
+ * -----------
867
+ * |/
868
+ * -----------
869
+ * | |
870
+ * | |
871
+ * | trigger |
872
+ * | |
873
+ * | |
874
+ * -----------
875
+ *
876
+ */
877
+ declare enum ClrPosition {
878
+ TOP_LEFT = 0,
879
+ TOP_CENTER = 1,
880
+ TOP_RIGHT = 2,
881
+ RIGHT_TOP = 3,
882
+ RIGHT_CENTER = 4,
883
+ RIGHT_BOTTOM = 5,
884
+ BOTTOM_RIGHT = 6,
885
+ BOTTOM_CENTER = 7,
886
+ BOTTOM_LEFT = 8,
887
+ LEFT_BOTTOM = 9,
888
+ LEFT_CENTER = 10,
889
+ LEFT_TOP = 11
890
+ }
891
+
892
+ declare class WillyWonka implements AfterViewChecked {
893
+ disableChocolateCheck: boolean;
894
+ private _chocolate;
895
+ get chocolate(): Observable<void>;
896
+ ngAfterViewChecked(): void;
897
+ static ɵfac: i0.ɵɵFactoryDeclaration<WillyWonka, never>;
898
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WillyWonka, never, never, {}, {}, never, never, true, never>;
899
+ }
900
+
901
+ declare abstract class OompaLoompa implements AfterContentChecked, OnDestroy {
902
+ private latestFlavor;
903
+ private subscription;
904
+ protected constructor(cdr: ChangeDetectorRef, willyWonka: WillyWonka);
905
+ abstract get flavor(): any;
906
+ ngAfterContentChecked(): void;
907
+ ngOnDestroy(): void;
908
+ static ɵfac: i0.ɵɵFactoryDeclaration<OompaLoompa, never>;
909
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OompaLoompa, never, never, {}, {}, never, never, true, never>;
910
+ }
911
+
912
+ export { ArrowKeyDirection, BASIC_FOCUSABLE_ITEM_PROVIDER, BaseExpandableAnimation, BasicFocusableItem, CdkDragModule, CdkDragModule_CdkDrag, CdkTrapFocusModule, CdkTrapFocusModule_CdkTrapFocus, ClrCommonStringsService, ClrDestroyService, ClrExpandableAnimation, ClrExpandableAnimationDirective, ClrExpandableAnimationModule, ClrFocusOnViewInit, ClrFocusOnViewInitModule, ClrHostWrappingModule, ClrKeyFocus, ClrKeyFocusItem, ClrKeyFocusModule, ClrOutsideClickModule, ClrPosition, ClrRovingTabindex, ClrStandaloneCdkTrapFocus, ClrTemplateRefModule, DATEPICKER_ENABLE_BREAKPOINT, DomAdapter, EXPANDABLE_ANIMATION_DIRECTIVES, EXTRA_LARGE_BREAKPOINT, EmptyAnchor, FOCUS_ON_VIEW_INIT, FOCUS_ON_VIEW_INIT_DIRECTIVES, FOCUS_SERVICE_PROVIDER, FocusService, FocusableItem, HostWrapper, Keys, LARGE_BREAKPOINT, Linkers, MEDIUM_BREAKPOINT, MOCK_DOM_ADAPTER_PROVIDER, MockDomAdapter, MockFocusableItem, OUSTIDE_CLICK_DIRECTIVES, OompaLoompa, OutsideClick, SMALL_BREAKPOINT, ScrollingService, TemplateRefContainer, WillyWonka, assertNever, clrFocusServiceFactory, collapse, commonStringsDefault, customFocusableItemProvider, defaultAnimationTiming, defaultExpandAnimation, fade, fadeSlide, isBooleanAttributeSet, isKeyEitherLetterOrNumber, preventArrowKeyScroll, slide, triggerAllFormControlValidation, uniqueIdFactory, wrapObservable };
913
+ export type { ClrCommonStrings, HeadingLevel };