@clr/angular 18.0.0-beta.2 → 18.0.0-beta.3

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 (56) hide show
  1. package/fesm2022/clr-angular-accordion.mjs +1 -1
  2. package/fesm2022/clr-angular-accordion.mjs.map +1 -1
  3. package/fesm2022/clr-angular-button.mjs +5 -5
  4. package/fesm2022/clr-angular-button.mjs.map +1 -1
  5. package/fesm2022/clr-angular-data-datagrid.mjs +10 -10
  6. package/fesm2022/clr-angular-data-datagrid.mjs.map +1 -1
  7. package/fesm2022/clr-angular-data.mjs +11 -9102
  8. package/fesm2022/clr-angular-data.mjs.map +1 -1
  9. package/fesm2022/clr-angular-emphasis.mjs +12 -778
  10. package/fesm2022/clr-angular-emphasis.mjs.map +1 -1
  11. package/fesm2022/clr-angular-forms-combobox.mjs +4 -4
  12. package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -1
  13. package/fesm2022/clr-angular-forms-common.mjs +8 -6
  14. package/fesm2022/clr-angular-forms-common.mjs.map +1 -1
  15. package/fesm2022/clr-angular-forms-datepicker.mjs +5 -5
  16. package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -1
  17. package/fesm2022/clr-angular-forms-file-input.mjs +8 -6
  18. package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -1
  19. package/fesm2022/clr-angular-forms.mjs +68 -8460
  20. package/fesm2022/clr-angular-forms.mjs.map +1 -1
  21. package/fesm2022/clr-angular-layout-tabs.mjs +1 -1
  22. package/fesm2022/clr-angular-layout-tabs.mjs.map +1 -1
  23. package/fesm2022/clr-angular-layout.mjs +15 -2057
  24. package/fesm2022/clr-angular-layout.mjs.map +1 -1
  25. package/fesm2022/clr-angular-popover-common.mjs +1 -1
  26. package/fesm2022/clr-angular-popover-common.mjs.map +1 -1
  27. package/fesm2022/clr-angular-popover-signpost.mjs +4 -4
  28. package/fesm2022/clr-angular-popover-signpost.mjs.map +1 -1
  29. package/fesm2022/clr-angular-popover-tooltip.mjs +4 -4
  30. package/fesm2022/clr-angular-popover-tooltip.mjs.map +1 -1
  31. package/fesm2022/clr-angular-popover.mjs +12 -2326
  32. package/fesm2022/clr-angular-popover.mjs.map +1 -1
  33. package/fesm2022/clr-angular-stepper.mjs +1 -1
  34. package/fesm2022/clr-angular-stepper.mjs.map +1 -1
  35. package/fesm2022/clr-angular-utils.mjs +4 -439
  36. package/fesm2022/clr-angular-utils.mjs.map +1 -1
  37. package/fesm2022/clr-angular.mjs +94 -38683
  38. package/fesm2022/clr-angular.mjs.map +1 -1
  39. package/package.json +2 -2
  40. package/types/clr-angular-accordion.d.ts +1 -1
  41. package/types/clr-angular-button.d.ts +1 -1
  42. package/types/clr-angular-data-datagrid.d.ts +23 -23
  43. package/types/clr-angular-data.d.ts +4 -2126
  44. package/types/clr-angular-emphasis.d.ts +4 -220
  45. package/types/clr-angular-forms-combobox.d.ts +1 -1
  46. package/types/clr-angular-forms-datepicker.d.ts +1 -1
  47. package/types/clr-angular-forms.d.ts +26 -2078
  48. package/types/clr-angular-layout-tabs.d.ts +1 -1
  49. package/types/clr-angular-layout.d.ts +6 -463
  50. package/types/clr-angular-popover-common.d.ts +1 -1
  51. package/types/clr-angular-popover-signpost.d.ts +1 -1
  52. package/types/clr-angular-popover-tooltip.d.ts +1 -1
  53. package/types/clr-angular-popover.d.ts +7 -593
  54. package/types/clr-angular-stepper.d.ts +1 -1
  55. package/types/clr-angular-utils.d.ts +5 -162
  56. package/types/clr-angular.d.ts +22 -10270
@@ -1,15 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { QueryList, OnInit, OnDestroy, EventEmitter, ChangeDetectorRef, Renderer2, ElementRef, AfterContentInit, Type } from '@angular/core';
3
2
  import * as i1 from '@clr/angular/emphasis/badge';
3
+ export * from '@clr/angular/emphasis/badge';
4
4
  import * as i2 from '@clr/angular/emphasis/label';
5
+ export * from '@clr/angular/emphasis/label';
5
6
  import * as i3 from '@clr/angular/emphasis/alert';
6
- import { ClrCommonStringsService } from '@clr/angular/utils';
7
- import { Observable } from 'rxjs';
8
- import * as i6 from '@angular/common';
9
- import * as i7 from '@clr/angular/icon';
10
- import * as i8 from '@clr/angular/popover/dropdown';
11
- import * as i9 from '@clr/angular/progress/spinner';
12
- import { Type as Type$1 } from '@clr/angular/emphasis/common';
7
+ export * from '@clr/angular/emphasis/alert';
13
8
 
14
9
  declare class ClrEmphasisModule {
15
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrEmphasisModule, never>;
@@ -17,215 +12,4 @@ declare class ClrEmphasisModule {
17
12
  static ɵinj: i0.ɵɵInjectorDeclaration<ClrEmphasisModule>;
18
13
  }
19
14
 
20
- interface AlertInfoObject {
21
- shape: string;
22
- cssClass: string;
23
- title: string;
24
- }
25
-
26
- declare class AlertIconAndTypesService {
27
- private commonStrings;
28
- private defaultIconShape;
29
- private _alertIconShape;
30
- private _alertType;
31
- constructor(commonStrings: ClrCommonStringsService);
32
- get alertType(): string;
33
- set alertType(val: string);
34
- get alertIconShape(): string;
35
- set alertIconShape(val: string);
36
- get alertIconTitle(): string;
37
- iconInfoFromType(type: string): AlertInfoObject;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertIconAndTypesService, never>;
39
- static ɵprov: i0.ɵɵInjectableDeclaration<AlertIconAndTypesService>;
40
- }
41
-
42
- declare class MultiAlertService {
43
- private subscription;
44
- private allAlerts;
45
- private _change;
46
- private _current;
47
- /**
48
- * The Observable that lets other classes subscribe to changes
49
- */
50
- get changes(): Observable<number>;
51
- get current(): number;
52
- set current(index: number);
53
- get activeAlerts(): ClrAlert[];
54
- get currentAlert(): ClrAlert;
55
- set currentAlert(alert: ClrAlert);
56
- get count(): number;
57
- manage(alerts: QueryList<ClrAlert>): void;
58
- next(): void;
59
- previous(): void;
60
- open(): void;
61
- close(isCurrentAlert: boolean): void;
62
- destroy(): void;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiAlertService, never>;
64
- static ɵprov: i0.ɵɵInjectableDeclaration<MultiAlertService>;
65
- }
66
-
67
- declare class ClrAlert implements OnInit, OnDestroy {
68
- private iconService;
69
- private cdr;
70
- private multiAlertService;
71
- private commonStrings;
72
- private renderer;
73
- private hostElement;
74
- isSmall: boolean;
75
- closable: boolean;
76
- isAppLevel: boolean;
77
- clrCloseButtonAriaLabel: string;
78
- _closedChanged: EventEmitter<boolean>;
79
- _closed: boolean;
80
- private _hidden;
81
- private subscriptions;
82
- private _isLightweight;
83
- private _origAlertType;
84
- constructor(iconService: AlertIconAndTypesService, cdr: ChangeDetectorRef, multiAlertService: MultiAlertService, commonStrings: ClrCommonStringsService, renderer: Renderer2, hostElement: ElementRef<HTMLElement>);
85
- get isLightweight(): boolean;
86
- set isLightweight(val: boolean);
87
- get alertType(): string;
88
- set alertType(val: string);
89
- set alertIconShape(value: string);
90
- set closed(value: boolean);
91
- get alertClass(): string;
92
- get hidden(): boolean;
93
- set hidden(value: boolean);
94
- ngOnInit(): void;
95
- ngOnDestroy(): void;
96
- configAlertType(val: string): void;
97
- open(): void;
98
- close(): void;
99
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrAlert, [null, null, { optional: true; }, null, null, null]>;
100
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrAlert, "clr-alert", never, { "isSmall": { "alias": "clrAlertSizeSmall"; "required": false; }; "closable": { "alias": "clrAlertClosable"; "required": false; }; "isAppLevel": { "alias": "clrAlertAppLevel"; "required": false; }; "clrCloseButtonAriaLabel": { "alias": "clrCloseButtonAriaLabel"; "required": false; }; "isLightweight": { "alias": "clrAlertLightweight"; "required": false; }; "alertType": { "alias": "clrAlertType"; "required": false; }; "alertIconShape": { "alias": "clrAlertIcon"; "required": false; }; "closed": { "alias": "clrAlertClosed"; "required": false; }; }, { "_closedChanged": "clrAlertClosedChange"; }, never, ["*"], false, never>;
101
- }
102
-
103
- declare class ClrAlertItem {
104
- iconService: AlertIconAndTypesService;
105
- constructor(iconService: AlertIconAndTypesService);
106
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrAlertItem, never>;
107
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrAlertItem, "clr-alert-item", never, {}, {}, never, ["*"], false, never>;
108
- }
109
-
110
- /**
111
- * @remark
112
- * This directive is used only of selectin alert text.
113
- */
114
- declare class ClrAlertText {
115
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrAlertText, never>;
116
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClrAlertText, ".alert-text", never, {}, {}, never, never, false, never>;
117
- }
118
-
119
- declare class ClrAlerts implements AfterContentInit, OnDestroy {
120
- multiAlertService: MultiAlertService;
121
- currentAlertChange: EventEmitter<ClrAlert>;
122
- currentAlertIndexChange: EventEmitter<number>;
123
- private subscriptions;
124
- constructor(multiAlertService: MultiAlertService);
125
- set allAlerts(value: QueryList<ClrAlert>);
126
- /**
127
- * Input/Output to support two way binding on current alert index
128
- */
129
- set _inputCurrentIndex(index: number);
130
- get currentAlertIndex(): number;
131
- set currentAlertIndex(index: number);
132
- /**
133
- * Input/Output to support two way binding on current alert instance
134
- */
135
- get currentAlert(): ClrAlert;
136
- set currentAlert(alert: ClrAlert);
137
- /**
138
- * Ensure we are only dealing with alerts that have not been closed yet
139
- */
140
- get alerts(): ClrAlert[];
141
- get currentAlertType(): string;
142
- ngAfterContentInit(): void;
143
- ngOnDestroy(): void;
144
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrAlerts, never>;
145
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrAlerts, "clr-alerts", never, { "_inputCurrentIndex": { "alias": "clrCurrentAlertIndex"; "required": false; }; "currentAlert": { "alias": "clrCurrentAlert"; "required": false; }; }, { "currentAlertChange": "clrCurrentAlertChange"; "currentAlertIndexChange": "clrCurrentAlertIndexChange"; }, ["allAlerts"], ["clr-alert"], false, never>;
146
- }
147
-
148
- declare class ClrAlertsPager implements OnInit, OnDestroy {
149
- multiAlertService: MultiAlertService;
150
- commonStrings: ClrCommonStringsService;
151
- currentAlertChange: EventEmitter<ClrAlert>;
152
- currentAlertIndexChange: EventEmitter<number>;
153
- private multiAlertServiceChanges;
154
- constructor(multiAlertService: MultiAlertService, commonStrings: ClrCommonStringsService);
155
- /**
156
- * Input/Output to support two way binding on current alert instance
157
- */
158
- get currentAlert(): ClrAlert;
159
- set currentAlert(alert: ClrAlert);
160
- /**
161
- * Input/Output to support two way binding on current alert index
162
- */
163
- get currentAlertIndex(): number;
164
- set currentAlertIndex(index: number);
165
- protected get previousAlertAriaLabel(): string;
166
- protected get nextAlertAriaLabel(): string;
167
- ngOnInit(): void;
168
- ngOnDestroy(): void;
169
- pageUp(): void;
170
- pageDown(): void;
171
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrAlertsPager, never>;
172
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrAlertsPager, "clr-alerts-pager", never, { "currentAlert": { "alias": "clrCurrentAlert"; "required": false; }; "currentAlertIndex": { "alias": "clrCurrentAlertIndex"; "required": false; }; }, { "currentAlertChange": "clrCurrentAlertChange"; "currentAlertIndexChange": "clrCurrentAlertIndexChange"; }, never, never, false, never>;
173
- }
174
-
175
- declare const CLR_ALERT_DIRECTIVES: Type<any>[];
176
- declare class ClrAlertModule {
177
- constructor();
178
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrAlertModule, never>;
179
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClrAlertModule, [typeof ClrAlert, typeof ClrAlertItem, typeof ClrAlerts, typeof ClrAlertsPager, typeof ClrAlertText], [typeof i6.CommonModule, typeof i7.ClrIcon, typeof i8.ClrDropdownModule, typeof i9.ClrSpinnerModule], [typeof ClrAlert, typeof ClrAlertItem, typeof ClrAlerts, typeof ClrAlertsPager, typeof ClrAlertText]>;
180
- static ɵinj: i0.ɵɵInjectorDeclaration<ClrAlertModule>;
181
- }
182
-
183
- declare const ALERT_TYPES: string[];
184
-
185
- declare enum ClrBadgeColors {
186
- None = "",
187
- Info = "info",
188
- Warning = "warning",
189
- Danger = "danger",
190
- Success = "success",
191
- Gray = "gray",
192
- Blue = "blue",
193
- LightBlue = "light-blue",
194
- Orange = "orange",
195
- Purple = "purple"
196
- }
197
- declare class ClrBadge {
198
- color: ClrBadgeColors | string;
199
- type: Type$1 | string;
200
- get isOutlined(): boolean;
201
- get colorClass(): string;
202
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrBadge, never>;
203
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrBadge, "clr-badge", never, { "color": { "alias": "clrColor"; "required": false; }; "type": { "alias": "clrType"; "required": false; }; }, {}, never, ["*"], true, never>;
204
- }
205
-
206
- declare enum ClrLabelColors {
207
- None = "",
208
- Info = "info",
209
- Warning = "warning",
210
- Danger = "danger",
211
- Success = "success",
212
- Gray = "gray",
213
- Blue = "blue",
214
- LightBlue = "light-blue",
215
- Orange = "orange",
216
- Purple = "purple"
217
- }
218
- declare class ClrLabel {
219
- color: ClrLabelColors | string;
220
- badgeText: string;
221
- textContent: string;
222
- clickable: boolean;
223
- disabled: boolean;
224
- type: Type$1 | string;
225
- get isSolid(): boolean;
226
- get colorClass(): string;
227
- static ɵfac: i0.ɵɵFactoryDeclaration<ClrLabel, never>;
228
- static ɵcmp: i0.ɵɵComponentDeclaration<ClrLabel, "clr-label", never, { "color": { "alias": "clrColor"; "required": false; }; "badgeText": { "alias": "clrBadgeText"; "required": false; }; "textContent": { "alias": "clrText"; "required": false; }; "clickable": { "alias": "clrClickable"; "required": false; }; "disabled": { "alias": "clrDisabled"; "required": false; }; "type": { "alias": "clrType"; "required": false; }; }, {}, never, ["*"], true, never>;
229
- }
230
-
231
- export { ALERT_TYPES, CLR_ALERT_DIRECTIVES, ClrAlert, ClrAlertItem, ClrAlertModule, ClrAlertText, ClrAlerts, ClrAlertsPager, ClrBadge, ClrBadgeColors, ClrEmphasisModule, ClrLabel, ClrLabelColors };
15
+ export { ClrEmphasisModule };
@@ -299,7 +299,7 @@ declare class ClrOptionGroup<T> {
299
299
  declare class ClrComboboxModule {
300
300
  constructor();
301
301
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrComboboxModule, never>;
302
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClrComboboxModule, [typeof ClrCombobox, typeof ClrComboboxContainer, typeof ClrOptions, typeof ClrOption, typeof ClrOptionGroup, typeof ClrOptionSelected, typeof ClrOptionItems], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.ClrIcon, typeof i11.ClrKeyFocusModule, typeof i12.ClrCommonFormsModule, typeof i11.ClrConditionalModule, typeof i1.ÇlrClrPopoverModuleNext, typeof i14.ClrSpinnerModule], [typeof i12.ClrCommonFormsModule, typeof ClrCombobox, typeof ClrComboboxContainer, typeof ClrOptions, typeof ClrOption, typeof ClrOptionGroup, typeof ClrOptionSelected, typeof i11.ClrConditionalModule, typeof ClrOptionItems]>;
302
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrComboboxModule, [typeof ClrCombobox, typeof ClrComboboxContainer, typeof ClrOptions, typeof ClrOption, typeof ClrOptionGroup, typeof ClrOptionSelected, typeof ClrOptionItems], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.ClrIcon, typeof i11.ClrKeyFocusModule, typeof i12.ClrCommonFormsModule, typeof i11.ClrConditionalModule, typeof i1.ClrPopoverModuleNext, typeof i14.ClrSpinnerModule], [typeof i12.ClrCommonFormsModule, typeof ClrCombobox, typeof ClrComboboxContainer, typeof ClrOptions, typeof ClrOption, typeof ClrOptionGroup, typeof ClrOptionSelected, typeof i11.ClrConditionalModule, typeof ClrOptionItems]>;
303
303
  static ɵinj: i0.ɵɵInjectorDeclaration<ClrComboboxModule>;
304
304
  }
305
305
 
@@ -951,7 +951,7 @@ declare const CLR_DATEPICKER_DIRECTIVES: Type<any>[];
951
951
  declare class ClrDatepickerModule {
952
952
  constructor();
953
953
  static ɵfac: i0.ɵɵFactoryDeclaration<ClrDatepickerModule, never>;
954
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatepickerModule, [typeof ClrDateInput, typeof ClrDay, typeof ClrDateContainer, typeof ClrDateInputValidator, typeof ClrStartDateInput, typeof ClrEndDateInput, typeof ClrStartDateInputValidator, typeof ClrEndDateInputValidator, typeof ClrDatepickerViewManager, typeof ClrMonthpicker, typeof ClrYearpicker, typeof ClrDaypicker, typeof ClrCalendar, typeof ClrDatepickerActions], [typeof i13.CommonModule, typeof i14.CdkTrapFocusModule, typeof i14.ClrHostWrappingModule, typeof i14.ClrConditionalModule, typeof i1.ÇlrClrPopoverModuleNext, typeof i16.ClrIcon, typeof i17.ClrCommonFormsModule, typeof i18.ClrVerticalNavModule], [typeof ClrDateInput, typeof ClrDay, typeof ClrDateContainer, typeof ClrDateInputValidator, typeof ClrStartDateInput, typeof ClrEndDateInput, typeof ClrStartDateInputValidator, typeof ClrEndDateInputValidator, typeof ClrDatepickerViewManager, typeof ClrMonthpicker, typeof ClrYearpicker, typeof ClrDaypicker, typeof ClrCalendar, typeof ClrDatepickerActions]>;
954
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClrDatepickerModule, [typeof ClrDateInput, typeof ClrDay, typeof ClrDateContainer, typeof ClrDateInputValidator, typeof ClrStartDateInput, typeof ClrEndDateInput, typeof ClrStartDateInputValidator, typeof ClrEndDateInputValidator, typeof ClrDatepickerViewManager, typeof ClrMonthpicker, typeof ClrYearpicker, typeof ClrDaypicker, typeof ClrCalendar, typeof ClrDatepickerActions], [typeof i13.CommonModule, typeof i14.CdkTrapFocusModule, typeof i14.ClrHostWrappingModule, typeof i14.ClrConditionalModule, typeof i1.ClrPopoverModuleNext, typeof i16.ClrIcon, typeof i17.ClrCommonFormsModule, typeof i18.ClrVerticalNavModule], [typeof ClrDateInput, typeof ClrDay, typeof ClrDateContainer, typeof ClrDateInputValidator, typeof ClrStartDateInput, typeof ClrEndDateInput, typeof ClrStartDateInputValidator, typeof ClrEndDateInputValidator, typeof ClrDatepickerViewManager, typeof ClrMonthpicker, typeof ClrYearpicker, typeof ClrDaypicker, typeof ClrCalendar, typeof ClrDatepickerActions]>;
955
955
  static ɵinj: i0.ɵɵInjectorDeclaration<ClrDatepickerModule>;
956
956
  }
957
957