@ibragim-dev-org/ui-forge-library 1.2.1 → 1.2.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.
package/package.json
CHANGED
|
@@ -223,9 +223,12 @@ declare class UiAccordionComponent implements AfterViewInit {
|
|
|
223
223
|
protected readonly $transition: Signal<string>;
|
|
224
224
|
protected readonly $overflow: WritableSignal<'visible' | 'hidden'>;
|
|
225
225
|
private readonly $content;
|
|
226
|
+
private readonly $button;
|
|
227
|
+
protected readonly $hasButtonContent: WritableSignal<boolean>;
|
|
226
228
|
private resizeDebounceTimer;
|
|
227
229
|
constructor(destroyRef: DestroyRef, platformId: object);
|
|
228
230
|
ngAfterViewInit(): void;
|
|
231
|
+
private setButtonContentState;
|
|
229
232
|
private setSize;
|
|
230
233
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiAccordionComponent, never>;
|
|
231
234
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiAccordionComponent, "app-ui-accordion", never, { "$isOpen": { "alias": "$isOpen"; "required": false; "isSignal": true; }; "$durationMs": { "alias": "$durationMs"; "required": false; "isSignal": true; }; }, { "$isOpen": "$isOpenChange"; }, never, ["[button]", "[content]"], true, never>;
|
|
@@ -384,13 +387,15 @@ interface PopupAnimationOptions {
|
|
|
384
387
|
declare class UiPopupInstance {
|
|
385
388
|
private readonly overlayRef;
|
|
386
389
|
private readonly destroyRef;
|
|
390
|
+
private readonly onClose;
|
|
387
391
|
id: string;
|
|
388
392
|
width: number;
|
|
389
393
|
readonly animationOrigin$: BehaviorSubject<string>;
|
|
390
394
|
readonly options: PopupAnimationOptions;
|
|
391
395
|
private readonly closed;
|
|
392
396
|
private readonly shouldClose;
|
|
393
|
-
|
|
397
|
+
private isClosing;
|
|
398
|
+
constructor(overlayRef: OverlayRef, destroyRef: DestroyRef, onClose?: () => void, options?: PopupAnimationOptions);
|
|
394
399
|
close(): void;
|
|
395
400
|
detach(): void;
|
|
396
401
|
onShouldClose(): Observable<void>;
|
|
@@ -410,6 +415,7 @@ interface UiPopupParameters<TComponent> {
|
|
|
410
415
|
options: UiPopupOptions<TComponent>;
|
|
411
416
|
}
|
|
412
417
|
interface UiPopupOptions<TComponent> {
|
|
418
|
+
onClose?: () => void;
|
|
413
419
|
inputs?: {
|
|
414
420
|
[P in keyof TComponent]?: TComponent[P];
|
|
415
421
|
};
|