@mozaic-ds/angular 2.0.0-beta.3 → 2.0.0-beta.4
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/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef, ElementRef, Type, OnInit, AfterViewInit,
|
|
2
|
+
import { TemplateRef, OnDestroy, ElementRef, Type, OnInit, AfterViewInit, Renderer2, WritableSignal, EventEmitter, AfterContentInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { DialogRef } from '@angular/cdk/dialog';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
@@ -158,15 +158,19 @@ declare class MozDrawerComponent {
|
|
|
158
158
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MozDrawerComponent, "moz-drawer", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "extended": { "alias": "extended"; "required": false; "isSignal": true; }; "back": { "alias": "back"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "contentTitle": { "alias": "contentTitle"; "required": false; "isSignal": true; }; }, { "updateOpen": "updateOpen"; "backEvent": "backEvent"; }, ["footerTpl"], ["*", "[footer]"], true, never>;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
declare class MozDrawerContainerComponent<T = unknown, R = unknown> {
|
|
161
|
+
declare class MozDrawerContainerComponent<T = unknown, R = unknown> implements OnDestroy {
|
|
162
162
|
readonly dialogRef: DialogRef<R, unknown>;
|
|
163
163
|
readonly data: MozDrawerConfig<T>;
|
|
164
164
|
readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
165
165
|
readonly drawerElement: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
166
166
|
private pendingClose;
|
|
167
167
|
private isClosing;
|
|
168
|
+
private transitionEndHandler?;
|
|
169
|
+
private closeTimeoutId?;
|
|
168
170
|
constructor();
|
|
171
|
+
ngOnDestroy(): void;
|
|
169
172
|
private onTransitionEnd;
|
|
173
|
+
private cleanupAndClose;
|
|
170
174
|
isTemplate(content: unknown): content is TemplateRef<{
|
|
171
175
|
$implicit: T | undefined;
|
|
172
176
|
}>;
|
|
@@ -421,15 +425,19 @@ declare class MozModalComponent {
|
|
|
421
425
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MozModalComponent, "moz-modal", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "updateOpen": "updateOpen"; "closeRequest": "closeRequest"; }, never, ["*"], true, never>;
|
|
422
426
|
}
|
|
423
427
|
|
|
424
|
-
declare class MozModalContainerComponent<T = unknown, R = unknown> {
|
|
428
|
+
declare class MozModalContainerComponent<T = unknown, R = unknown> implements OnDestroy {
|
|
425
429
|
readonly dialogRef: DialogRef<R, unknown>;
|
|
426
430
|
readonly data: MozModalConfig<T>;
|
|
427
431
|
readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
428
432
|
readonly modalElement: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
429
433
|
private pendingClose;
|
|
430
434
|
private isClosing;
|
|
435
|
+
private transitionEndHandler?;
|
|
436
|
+
private closeTimeoutId?;
|
|
431
437
|
constructor();
|
|
438
|
+
ngOnDestroy(): void;
|
|
432
439
|
private onTransitionEnd;
|
|
440
|
+
private cleanupAndClose;
|
|
433
441
|
isTemplate(content: unknown): content is TemplateRef<{
|
|
434
442
|
$implicit: T | undefined;
|
|
435
443
|
}>;
|