@clr/angular 18.0.0-beta.1 → 18.0.0-beta.2
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.
- package/fesm2022/clr-angular-button.mjs +2 -2
- package/fesm2022/clr-angular-button.mjs.map +1 -1
- package/fesm2022/clr-angular-data-datagrid.mjs +12 -26
- package/fesm2022/clr-angular-data-datagrid.mjs.map +1 -1
- package/fesm2022/clr-angular-data-tree-view.mjs +2 -2
- package/fesm2022/clr-angular-data-tree-view.mjs.map +1 -1
- package/fesm2022/clr-angular-data.mjs +13 -27
- package/fesm2022/clr-angular-data.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis-alert.mjs +2 -2
- package/fesm2022/clr-angular-emphasis-alert.mjs.map +1 -1
- package/fesm2022/clr-angular-emphasis.mjs +2 -2
- package/fesm2022/clr-angular-emphasis.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-checkbox.mjs +13 -44
- package/fesm2022/clr-angular-forms-checkbox.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-combobox.mjs +94 -61
- package/fesm2022/clr-angular-forms-combobox.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-common.mjs +61 -58
- package/fesm2022/clr-angular-forms-common.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-datalist.mjs +2 -14
- package/fesm2022/clr-angular-forms-datalist.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-datepicker.mjs +16 -24
- package/fesm2022/clr-angular-forms-datepicker.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-file-input.mjs +72 -55
- package/fesm2022/clr-angular-forms-file-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-input.mjs +4 -18
- package/fesm2022/clr-angular-forms-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-number-input.mjs +2 -14
- package/fesm2022/clr-angular-forms-number-input.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-password.mjs +2 -14
- package/fesm2022/clr-angular-forms-password.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-radio.mjs +13 -44
- package/fesm2022/clr-angular-forms-radio.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-range.mjs +3 -16
- package/fesm2022/clr-angular-forms-range.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-select.mjs +3 -16
- package/fesm2022/clr-angular-forms-select.mjs.map +1 -1
- package/fesm2022/clr-angular-forms-textarea.mjs +4 -17
- package/fesm2022/clr-angular-forms-textarea.mjs.map +1 -1
- package/fesm2022/clr-angular-forms.mjs +258 -358
- package/fesm2022/clr-angular-forms.mjs.map +1 -1
- package/fesm2022/clr-angular-modal.mjs +2 -2
- package/fesm2022/clr-angular-modal.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-common.mjs +151 -85
- package/fesm2022/clr-angular-popover-common.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-dropdown.mjs +7 -4
- package/fesm2022/clr-angular-popover-dropdown.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-signpost.mjs +27 -12
- package/fesm2022/clr-angular-popover-signpost.mjs.map +1 -1
- package/fesm2022/clr-angular-popover-tooltip.mjs +4 -4
- package/fesm2022/clr-angular-popover-tooltip.mjs.map +1 -1
- package/fesm2022/clr-angular-popover.mjs +186 -102
- package/fesm2022/clr-angular-popover.mjs.map +1 -1
- package/fesm2022/clr-angular-stepper.mjs +4 -4
- package/fesm2022/clr-angular-stepper.mjs.map +1 -1
- package/fesm2022/clr-angular-utils.mjs +12 -47
- package/fesm2022/clr-angular-utils.mjs.map +1 -1
- package/fesm2022/clr-angular-wizard.mjs +19 -11
- package/fesm2022/clr-angular-wizard.mjs.map +1 -1
- package/fesm2022/clr-angular.mjs +491 -548
- package/fesm2022/clr-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/popover/common/README.md +14 -12
- package/types/clr-angular-data-datagrid.d.ts +0 -10
- package/types/clr-angular-data.d.ts +0 -10
- package/types/clr-angular-forms-combobox.d.ts +11 -4
- package/types/clr-angular-forms-common.d.ts +9 -9
- package/types/clr-angular-forms-datepicker.d.ts +7 -0
- package/types/clr-angular-forms-file-input.d.ts +5 -2
- package/types/clr-angular-forms.d.ts +31 -15
- package/types/clr-angular-popover-common.d.ts +38 -13
- package/types/clr-angular-popover-dropdown.d.ts +2 -1
- package/types/clr-angular-popover-signpost.d.ts +14 -6
- package/types/clr-angular-popover.d.ts +52 -18
- package/types/clr-angular-utils.d.ts +4 -14
- package/types/clr-angular-wizard.d.ts +7 -4
- package/types/clr-angular.d.ts +91 -59
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, Renderer2, ChangeDetectorRef, AfterContentInit, QueryList, ElementRef, Type, AfterViewInit, ViewContainerRef, TemplateRef, NgZone, OnInit, InjectionToken, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as i1 from '@clr/angular/popover/common';
|
|
4
|
-
import { ClrPopoverService as ClrPopoverService$1, ClrPopoverContent as ClrPopoverContent$1, ClrPopoverPosition as ClrPopoverPosition$1 } from '@clr/angular/popover/common';
|
|
4
|
+
import { ClrPopoverService as ClrPopoverService$1, ClrPopoverPoint as ClrPopoverPoint$1, ClrPopoverContent as ClrPopoverContent$1, ClrPopoverPosition as ClrPopoverPosition$1 } from '@clr/angular/popover/common';
|
|
5
5
|
import * as i7 from '@clr/angular/utils';
|
|
6
6
|
import { FocusableItem, FocusService, ClrPosition, ClrCommonStringsService } from '@clr/angular/utils';
|
|
7
7
|
import { Observable } from 'rxjs';
|
|
8
8
|
import * as i5 from '@angular/common';
|
|
9
9
|
import * as i6 from '@clr/angular/icon';
|
|
10
|
-
import { ConnectedPosition, OverlayContainer, Overlay } from '@angular/cdk/overlay';
|
|
10
|
+
import { ConnectedPosition, FlexibleConnectedPositionStrategyOrigin, OverlayContainer, Overlay } from '@angular/cdk/overlay';
|
|
11
11
|
import * as i1$1 from '@clr/angular/popover/dropdown';
|
|
12
12
|
import * as i2 from '@clr/angular/popover/signpost';
|
|
13
13
|
import * as i3 from '@clr/angular/popover/tooltip';
|
|
@@ -62,6 +62,7 @@ declare class ClrDropdown implements OnDestroy {
|
|
|
62
62
|
isMenuClosable: boolean;
|
|
63
63
|
private subscriptions;
|
|
64
64
|
constructor(parent: ClrDropdown, popoverService: ClrPopoverService$1, focusHandler: DropdownFocusHandler, cdr: ChangeDetectorRef, dropdownService: RootDropdownService);
|
|
65
|
+
openAtPoint(point: ClrPopoverPoint$1): void;
|
|
65
66
|
ngOnDestroy(): void;
|
|
66
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDropdown, [{ optional: true; skipSelf: true; }, null, null, null, null]>;
|
|
67
68
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDropdown, "clr-dropdown", never, { "isMenuClosable": { "alias": "clrCloseMenuOnItemClick"; "required": false; }; }, {}, never, ["*"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
@@ -152,11 +153,15 @@ declare const SIGNPOST_POSITIONS: ClrPopoverPosition[];
|
|
|
152
153
|
declare function getPositionsArray(type: ClrPopoverType): ClrPopoverPosition[];
|
|
153
154
|
declare function getConnectedPositions(type: ClrPopoverType): ConnectedPosition[];
|
|
154
155
|
declare function mapPopoverKeyToPosition(key: ClrPopoverPosition, type: ClrPopoverType): ConnectedPosition;
|
|
155
|
-
declare function
|
|
156
|
+
declare function getOriginPosition(key: ClrPosition): Partial<ConnectedPosition>;
|
|
156
157
|
declare function getContentPosition(key: ClrPosition): Partial<ConnectedPosition>;
|
|
157
158
|
|
|
159
|
+
interface ClrPopoverPoint {
|
|
160
|
+
x: number;
|
|
161
|
+
y: number;
|
|
162
|
+
}
|
|
158
163
|
declare class ClrPopoverService {
|
|
159
|
-
|
|
164
|
+
origin: FlexibleConnectedPositionStrategyOrigin;
|
|
160
165
|
closeButtonRef: ElementRef;
|
|
161
166
|
panelClass: string[];
|
|
162
167
|
private _open;
|
|
@@ -167,6 +172,8 @@ declare class ClrPopoverService {
|
|
|
167
172
|
private _resetPositions;
|
|
168
173
|
private _updatePosition;
|
|
169
174
|
private _popoverVisible;
|
|
175
|
+
get originElement(): ElementRef<HTMLElement> | null;
|
|
176
|
+
get originPoint(): ClrPopoverPoint | null;
|
|
170
177
|
get openChange(): Observable<boolean>;
|
|
171
178
|
get popoverVisible(): Observable<boolean>;
|
|
172
179
|
get openEvent(): Event;
|
|
@@ -183,11 +190,16 @@ declare class ClrPopoverService {
|
|
|
183
190
|
* This is for instance the case of components that open on a click, but close on a click outside.
|
|
184
191
|
*/
|
|
185
192
|
toggleWithEvent(event: any): void;
|
|
193
|
+
/**
|
|
194
|
+
* Opens the popover at a specific screen coordinate.
|
|
195
|
+
* Useful for context menus where the popover should appear at the cursor position.
|
|
196
|
+
*/
|
|
197
|
+
openAtPoint(point: ClrPopoverPoint): void;
|
|
186
198
|
popoverVisibleEmit(visible: boolean): void;
|
|
187
199
|
resetPositions(): void;
|
|
188
200
|
updatePosition(): void;
|
|
189
201
|
focusCloseButton(): void;
|
|
190
|
-
|
|
202
|
+
focusOrigin(): void;
|
|
191
203
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrPopoverService, never>;
|
|
192
204
|
static ɵprov: i0.ɵɵInjectableDeclaration<ClrPopoverService>;
|
|
193
205
|
}
|
|
@@ -227,31 +239,44 @@ declare class ClrPopoverContent implements OnDestroy, AfterViewInit {
|
|
|
227
239
|
set outsideClickClose(clickToClose: boolean);
|
|
228
240
|
get scrollToClose(): boolean;
|
|
229
241
|
set scrollToClose(scrollToClose: boolean);
|
|
242
|
+
set contentOrigin(origin: FlexibleConnectedPositionStrategyOrigin);
|
|
230
243
|
private get positionStrategy();
|
|
231
244
|
private get preferredPosition();
|
|
232
245
|
ngAfterViewInit(): void;
|
|
233
246
|
ngOnDestroy(): void;
|
|
234
247
|
private _createOverlayRef;
|
|
248
|
+
/**
|
|
249
|
+
* Point-based origins (context menus) delay the subscription to avoid the
|
|
250
|
+
* mouseup from the same right-click that opened the popover.
|
|
251
|
+
*/
|
|
252
|
+
private createPointBasedOutsideClickSubscription;
|
|
253
|
+
/**
|
|
254
|
+
* Element-based origins close on outside clicks and suppress toggle-button
|
|
255
|
+
* re-clicks so the popover doesn't immediately reopen.
|
|
256
|
+
*/
|
|
257
|
+
private createElementBasedOutsideClickSubscription;
|
|
235
258
|
private resetPosition;
|
|
236
259
|
private closePopover;
|
|
237
260
|
private showOverlay;
|
|
238
261
|
private removeOverlay;
|
|
239
262
|
private getScrollableParents;
|
|
240
263
|
/**
|
|
241
|
-
* Uses IntersectionObserver to detect when the
|
|
264
|
+
* Uses IntersectionObserver to detect when the origin element leaves the screen.
|
|
242
265
|
* This handles the "Close on Scroll" logic much cheaper than getBoundingClientRect.
|
|
243
266
|
*/
|
|
244
267
|
private setupIntersectionObserver;
|
|
245
|
-
private
|
|
268
|
+
private listenToScrollEvents;
|
|
269
|
+
private listenToScrollForPointOrigin;
|
|
270
|
+
private listenToScrollForElementOrigin;
|
|
246
271
|
private getRootPopover;
|
|
247
272
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrPopoverContent, [null, null, { optional: true; }, null, { optional: true; skipSelf: true; }, null, null, null, null]>;
|
|
248
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrPopoverContent, "[clrPopoverContent]", never, { "open": { "alias": "clrPopoverContent"; "required": false; }; "contentAt": { "alias": "clrPopoverContentAt"; "required": false; }; "availablePositions": { "alias": "clrPopoverContentAvailablePositions"; "required": false; }; "contentType": { "alias": "clrPopoverContentType"; "required": false; }; "outsideClickClose": { "alias": "clrPopoverContentOutsideClickToClose"; "required": false; }; "scrollToClose": { "alias": "clrPopoverContentScrollToClose"; "required": false; }; }, {}, never, never, true, never>;
|
|
273
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrPopoverContent, "[clrPopoverContent]", never, { "open": { "alias": "clrPopoverContent"; "required": false; }; "contentAt": { "alias": "clrPopoverContentAt"; "required": false; }; "availablePositions": { "alias": "clrPopoverContentAvailablePositions"; "required": false; }; "contentType": { "alias": "clrPopoverContentType"; "required": false; }; "outsideClickClose": { "alias": "clrPopoverContentOutsideClickToClose"; "required": false; }; "scrollToClose": { "alias": "clrPopoverContentScrollToClose"; "required": false; }; "contentOrigin": { "alias": "clrPopoverContentOrigin"; "required": false; }; }, {}, never, never, true, never>;
|
|
249
274
|
}
|
|
250
275
|
|
|
251
|
-
declare class
|
|
276
|
+
declare class ClrPopoverOrigin {
|
|
252
277
|
constructor(popoverService: ClrPopoverService, element: ElementRef<HTMLButtonElement>);
|
|
253
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
254
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
278
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrPopoverOrigin, never>;
|
|
279
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrPopoverOrigin, "[clrPopoverOrigin]", never, {}, {}, never, never, false, never>;
|
|
255
280
|
}
|
|
256
281
|
|
|
257
282
|
declare class ClrStopEscapePropagationDirective implements OnInit, OnDestroy {
|
|
@@ -271,7 +296,7 @@ declare class ClrPopoverHostDirective {
|
|
|
271
296
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrPopoverHostDirective, never, never, {}, {}, never, never, true, [{ directive: typeof ClrStopEscapePropagationDirective; inputs: {}; outputs: {}; }]>;
|
|
272
297
|
}
|
|
273
298
|
|
|
274
|
-
declare const
|
|
299
|
+
declare const POPOVER_HOST_ORIGIN: InjectionToken<ElementRef<any>>;
|
|
275
300
|
|
|
276
301
|
/**********
|
|
277
302
|
*
|
|
@@ -343,7 +368,7 @@ declare class ClrPopoverOpenCloseButton implements OnDestroy {
|
|
|
343
368
|
|
|
344
369
|
declare class ClrPopoverModuleNext {
|
|
345
370
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrPopoverModuleNext, never>;
|
|
346
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrPopoverModuleNext, [typeof
|
|
371
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrPopoverModuleNext, [typeof ClrPopoverOrigin, typeof ClrPopoverCloseButton, typeof ClrPopoverOpenCloseButton], [typeof ClrPopoverContent, typeof ClrIfOpen], [typeof ClrPopoverOrigin, typeof ClrPopoverCloseButton, typeof ClrPopoverOpenCloseButton, typeof ClrPopoverContent, typeof ClrIfOpen]>;
|
|
347
372
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrPopoverModuleNext>;
|
|
348
373
|
}
|
|
349
374
|
|
|
@@ -396,6 +421,7 @@ declare class ClrSignpostTrigger implements OnDestroy {
|
|
|
396
421
|
|
|
397
422
|
declare class ClrSignpost {
|
|
398
423
|
commonStrings: ClrCommonStringsService;
|
|
424
|
+
private popoverService;
|
|
399
425
|
/**********
|
|
400
426
|
* @property useCustomTrigger
|
|
401
427
|
*
|
|
@@ -405,7 +431,12 @@ declare class ClrSignpost {
|
|
|
405
431
|
*/
|
|
406
432
|
useCustomTrigger: boolean;
|
|
407
433
|
signpostTriggerAriaLabel: string;
|
|
408
|
-
|
|
434
|
+
/**
|
|
435
|
+
* Hides the default trigger button. Use when the signpost is opened
|
|
436
|
+
* programmatically via `openAtPoint()` and no trigger icon is needed.
|
|
437
|
+
*/
|
|
438
|
+
hideTrigger: boolean;
|
|
439
|
+
constructor(commonStrings: ClrCommonStringsService, popoverService: ClrPopoverService$1);
|
|
409
440
|
/**********
|
|
410
441
|
* @property signPostTrigger
|
|
411
442
|
*
|
|
@@ -414,8 +445,10 @@ declare class ClrSignpost {
|
|
|
414
445
|
*
|
|
415
446
|
*/
|
|
416
447
|
set customTrigger(trigger: ClrSignpostTrigger);
|
|
448
|
+
get showDefaultTrigger(): boolean;
|
|
449
|
+
openAtPoint(point: ClrPopoverPoint$1): void;
|
|
417
450
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrSignpost, never>;
|
|
418
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSignpost, "clr-signpost", never, { "signpostTriggerAriaLabel": { "alias": "clrSignpostTriggerAriaLabel"; "required": false; }; }, {}, ["customTrigger"], ["*"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
451
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrSignpost, "clr-signpost", never, { "signpostTriggerAriaLabel": { "alias": "clrSignpostTriggerAriaLabel"; "required": false; }; "hideTrigger": { "alias": "clrSignpostHideTrigger"; "required": false; }; }, {}, ["customTrigger"], ["*"], false, [{ directive: typeof i1.ClrPopoverHostDirective; inputs: {}; outputs: {}; }]>;
|
|
419
452
|
}
|
|
420
453
|
|
|
421
454
|
declare class ClrSignpostContent implements OnDestroy, AfterViewInit {
|
|
@@ -435,8 +468,8 @@ declare class ClrSignpostContent implements OnDestroy, AfterViewInit {
|
|
|
435
468
|
*
|
|
436
469
|
* @description
|
|
437
470
|
* A setter for the position of the ClrSignpostContent popover. This is a combination of the following:
|
|
438
|
-
* -
|
|
439
|
-
* - popoverPoint - where on the
|
|
471
|
+
* - originPoint - where on the trigger to position the content
|
|
472
|
+
* - popoverPoint - where on the content container to align with the origin
|
|
440
473
|
* - offsetY - where on the Y axis to align the ClrSignpostContent so it meets specs
|
|
441
474
|
* - offsetX - where on the X axis to align the ClrSignpostContent so it meets specs
|
|
442
475
|
* There are 12 possible positions to place a ClrSignpostContent container:
|
|
@@ -565,4 +598,5 @@ declare class ClrTooltipModule {
|
|
|
565
598
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrTooltipModule>;
|
|
566
599
|
}
|
|
567
600
|
|
|
568
|
-
export { CLR_DROPDOWN_DIRECTIVES, CLR_MENU_POSITIONS, CLR_SIGNPOST_DIRECTIVES, CLR_TOOLTIP_DIRECTIVES, ClrDropdown, ClrDropdownItem, ClrDropdownMenu, ClrDropdownModule, ClrDropdownTrigger, ClrIfOpen,
|
|
601
|
+
export { CLR_DROPDOWN_DIRECTIVES, CLR_MENU_POSITIONS, CLR_SIGNPOST_DIRECTIVES, CLR_TOOLTIP_DIRECTIVES, ClrDropdown, ClrDropdownItem, ClrDropdownMenu, ClrDropdownModule, ClrDropdownTrigger, ClrIfOpen, ClrPopoverContent, ClrPopoverHostDirective, ClrPopoverModule, ClrPopoverOrigin, ClrPopoverPosition, ClrPopoverService, ClrPopoverType, ClrSignpost, ClrSignpostContent, ClrSignpostModule, ClrSignpostTitle, ClrSignpostTrigger, ClrStopEscapePropagationDirective, ClrTooltip, ClrTooltipContent, ClrTooltipModule, ClrTooltipTrigger, DROPDOWN_POSITIONS, POPOVER_HOST_ORIGIN, SIGNPOST_POSITIONS, TOOLTIP_POSITIONS, getConnectedPositions, getContentPosition, getOriginPosition, getPositionsArray, mapPopoverKeyToPosition, ClrPopoverCloseButton as ÇlrClrPopoverCloseButton, ClrPopoverModuleNext as ÇlrClrPopoverModuleNext, ClrPopoverOpenCloseButton as ÇlrClrPopoverOpenCloseButton };
|
|
602
|
+
export type { ClrPopoverPoint };
|
|
@@ -94,7 +94,6 @@ declare class EmptyAnchor {
|
|
|
94
94
|
/**
|
|
95
95
|
* HostWrapper must be called in OnInit to ensure that the Views are ready. If its called in a constructor the view is
|
|
96
96
|
* still undefined.
|
|
97
|
-
* TODO - make sure these comment annotations do not break ng-packgr.
|
|
98
97
|
*/
|
|
99
98
|
declare class HostWrapper<W> implements Injector {
|
|
100
99
|
private injector;
|
|
@@ -762,7 +761,6 @@ declare class ClrKeyFocus {
|
|
|
762
761
|
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>;
|
|
763
762
|
}
|
|
764
763
|
|
|
765
|
-
declare function normalizeKey(key: string): string;
|
|
766
764
|
declare function preventArrowKeyScroll(event: KeyboardEvent): void;
|
|
767
765
|
declare function isKeyEitherLetterOrNumber(event: KeyboardEvent): boolean;
|
|
768
766
|
|
|
@@ -977,14 +975,6 @@ declare enum Keys {
|
|
|
977
975
|
PageDown = "PageDown",
|
|
978
976
|
PageUp = "PageUp"
|
|
979
977
|
}
|
|
980
|
-
declare enum IEKeys {
|
|
981
|
-
ArrowUp = "Up",
|
|
982
|
-
ArrowDown = "Down",
|
|
983
|
-
ArrowRight = "Right",
|
|
984
|
-
ArrowLeft = "Left",
|
|
985
|
-
Space = "Spacebar",
|
|
986
|
-
Escape = "Esc"
|
|
987
|
-
}
|
|
988
978
|
|
|
989
979
|
/**
|
|
990
980
|
* A (clockwise) enumeration for positions around an element.
|
|
@@ -1014,11 +1004,11 @@ declare enum IEKeys {
|
|
|
1014
1004
|
*
|
|
1015
1005
|
*
|
|
1016
1006
|
* Consumers tell us that they want something to display on the TOP_LEFT of the trigger and that they want the
|
|
1017
|
-
* _content_ container to
|
|
1018
|
-
* In order to calculate the position for the content I need to match up the
|
|
1007
|
+
* _content_ container to orient AT the bottom left.
|
|
1008
|
+
* In order to calculate the position for the content I need to match up the origin/trigger ClrPosition with the
|
|
1019
1009
|
* content ClrPosition.
|
|
1020
1010
|
*
|
|
1021
|
-
*
|
|
1011
|
+
* Origin TOP_LEFT **AT** Content BOTTOM_LEFT.
|
|
1022
1012
|
* -----------
|
|
1023
1013
|
* | |
|
|
1024
1014
|
* | |
|
|
@@ -1071,5 +1061,5 @@ declare abstract class OompaLoompa implements AfterContentChecked, OnDestroy {
|
|
|
1071
1061
|
static ɵdir: i0.ɵɵDirectiveDeclaration<OompaLoompa, never, never, {}, {}, never, never, true, never>;
|
|
1072
1062
|
}
|
|
1073
1063
|
|
|
1074
|
-
export { ArrowKeyDirection, BASIC_FOCUSABLE_ITEM_PROVIDER, BaseExpandableAnimation, BasicFocusableItem, CLR_LOADING_DIRECTIVES, CONDITIONAL_DIRECTIVES, CdkDragModule, CdkDragModule_CdkDrag, CdkTrapFocusModule, CdkTrapFocusModule_CdkTrapFocus, ClrCommonStringsService, ClrConditionalModule, ClrDestroyService, ClrExpandableAnimation, ClrExpandableAnimationDirective, ClrExpandableAnimationModule, ClrFocusOnViewInit, ClrFocusOnViewInitModule, ClrHostWrappingModule, ClrIfActive, ClrIfExpanded, ClrKeyFocus, ClrKeyFocusItem, ClrKeyFocusModule, ClrLoading, ClrLoadingModule, ClrLoadingState, 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,
|
|
1064
|
+
export { ArrowKeyDirection, BASIC_FOCUSABLE_ITEM_PROVIDER, BaseExpandableAnimation, BasicFocusableItem, CLR_LOADING_DIRECTIVES, CONDITIONAL_DIRECTIVES, CdkDragModule, CdkDragModule_CdkDrag, CdkTrapFocusModule, CdkTrapFocusModule_CdkTrapFocus, ClrCommonStringsService, ClrConditionalModule, ClrDestroyService, ClrExpandableAnimation, ClrExpandableAnimationDirective, ClrExpandableAnimationModule, ClrFocusOnViewInit, ClrFocusOnViewInitModule, ClrHostWrappingModule, ClrIfActive, ClrIfExpanded, ClrKeyFocus, ClrKeyFocusItem, ClrKeyFocusModule, ClrLoading, ClrLoadingModule, ClrLoadingState, 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, IF_ACTIVE_ID, IF_ACTIVE_ID_PROVIDER, IfActiveService, IfExpandService, Keys, LARGE_BREAKPOINT, Linkers, LoadingListener, 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, tokenFactory, triggerAllFormControlValidation, uniqueIdFactory, wrapObservable };
|
|
1075
1065
|
export type { ClrCommonStrings, HeadingLevel };
|
|
@@ -911,7 +911,7 @@ declare class WizardNavigationService implements OnDestroy {
|
|
|
911
911
|
*
|
|
912
912
|
* @memberof WizardNavigationService
|
|
913
913
|
*/
|
|
914
|
-
get
|
|
914
|
+
get currentPageChange(): Observable<ClrWizardPage>;
|
|
915
915
|
/**
|
|
916
916
|
* @memberof WizardNavigationService
|
|
917
917
|
*/
|
|
@@ -1181,10 +1181,10 @@ declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
1181
1181
|
*/
|
|
1182
1182
|
onReset: EventEmitter<any>;
|
|
1183
1183
|
/**
|
|
1184
|
-
* Emits when the current page has changed. Listen via `(
|
|
1184
|
+
* Emits when the current page has changed. Listen via `(clrWizardCurrentPageChange)` event.
|
|
1185
1185
|
* output. Useful for non-blocking validation.
|
|
1186
1186
|
*/
|
|
1187
|
-
|
|
1187
|
+
currentPageChange: EventEmitter<any>;
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Emits when the wizard moves to the next page. Listen via `(clrWizardOnNext)` event.
|
|
1190
1190
|
* Can be combined with the `[clrWizardPreventDefaultNext]` input to create
|
|
@@ -1203,6 +1203,7 @@ declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
1203
1203
|
wizardId: string;
|
|
1204
1204
|
protected wizardTitle: ClrWizardTitle;
|
|
1205
1205
|
private readonly bodyElementRef;
|
|
1206
|
+
private _title;
|
|
1206
1207
|
private _forceForward;
|
|
1207
1208
|
private _stopNext;
|
|
1208
1209
|
private _stopCancel;
|
|
@@ -1212,6 +1213,8 @@ declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
1212
1213
|
private subscriptions;
|
|
1213
1214
|
private readonly modal;
|
|
1214
1215
|
constructor(platformId: any, commonStrings: ClrCommonStringsService, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, elementRef: ElementRef<HTMLElement>, differs: IterableDiffers);
|
|
1216
|
+
get title(): ElementRef<HTMLElement>;
|
|
1217
|
+
set title(title: ElementRef<HTMLElement>);
|
|
1215
1218
|
/**
|
|
1216
1219
|
* Resets page completed states when navigating backwards.
|
|
1217
1220
|
* Set using `[clrWizardForceForwardNavigation]` input.
|
|
@@ -1367,7 +1370,7 @@ declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
1367
1370
|
private initializeButtons;
|
|
1368
1371
|
private emitWizardFinished;
|
|
1369
1372
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizard, never>;
|
|
1370
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "stepnavAriaLabel": { "alias": "clrWizardStepnavAriaLabel"; "required": false; }; "size": { "alias": "clrWizardSize"; "required": false; }; "inPage": { "alias": "clrWizardInPage"; "required": false; }; "inPageFillContentArea": { "alias": "clrWizardInPageFillContentArea"; "required": false; }; "closable": { "alias": "clrWizardClosable"; "required": false; }; "_stopModalAnimations": { "alias": "clrWizardPreventModalAnimation"; "required": false; }; "forceForward": { "alias": "clrWizardForceForwardNavigation"; "required": false; }; "clrWizardOpen": { "alias": "clrWizardOpen"; "required": false; }; "stopNext": { "alias": "clrWizardPreventDefaultNext"; "required": false; }; "stopCancel": { "alias": "clrWizardPreventDefaultCancel"; "required": false; }; "stopNavigation": { "alias": "clrWizardPreventNavigation"; "required": false; }; "disableStepnav": { "alias": "clrWizardDisableStepnav"; "required": false; }; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "
|
|
1373
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "stepnavAriaLabel": { "alias": "clrWizardStepnavAriaLabel"; "required": false; }; "size": { "alias": "clrWizardSize"; "required": false; }; "inPage": { "alias": "clrWizardInPage"; "required": false; }; "inPageFillContentArea": { "alias": "clrWizardInPageFillContentArea"; "required": false; }; "closable": { "alias": "clrWizardClosable"; "required": false; }; "_stopModalAnimations": { "alias": "clrWizardPreventModalAnimation"; "required": false; }; "forceForward": { "alias": "clrWizardForceForwardNavigation"; "required": false; }; "clrWizardOpen": { "alias": "clrWizardOpen"; "required": false; }; "stopNext": { "alias": "clrWizardPreventDefaultNext"; "required": false; }; "stopCancel": { "alias": "clrWizardPreventDefaultCancel"; "required": false; }; "stopNavigation": { "alias": "clrWizardPreventNavigation"; "required": false; }; "disableStepnav": { "alias": "clrWizardDisableStepnav"; "required": false; }; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "currentPageChange": "clrWizardCurrentPageChange"; "onMoveNext": "clrWizardOnNext"; "onMovePrevious": "clrWizardOnPrevious"; }, ["wizardTitle", "pages", "headerActions"], ["clr-wizard-title", "clr-wizard-header-action", "*", "clr-wizard-button"], false, never>;
|
|
1371
1374
|
}
|
|
1372
1375
|
|
|
1373
1376
|
declare class ClrWizardStepnav {
|