otimus-library 0.5.4 → 0.5.6

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
@@ -686,9 +686,9 @@ declare class OcDropdownDirective implements OnInit {
686
686
  protected readonly dropdownService: OcDropdownService;
687
687
  protected readonly isThisDropdownOpen: i0.Signal<boolean>;
688
688
  readonly ocDropdownMenu: i0.InputSignal<OcDropdownMenuContentComponent | undefined>;
689
- readonly ocTrigger: i0.InputSignal<"hover" | "click">;
689
+ readonly ocTrigger: i0.InputSignal<"click" | "hover">;
690
690
  readonly ocDisabled: i0.InputSignal<boolean>;
691
- readonly ocAlign: i0.InputSignal<"start" | "end">;
691
+ readonly ocAlign: i0.InputSignal<"end" | "start">;
692
692
  ngOnInit(): void;
693
693
  protected onClick(event: MouseEvent): void;
694
694
  protected onKeydown(event: KeyboardEvent): void;
@@ -930,14 +930,15 @@ declare class OcModalFooterComponent {
930
930
  static ɵcmp: i0.ɵɵComponentDeclaration<OcModalFooterComponent, "oc-modal-footer", never, { "ocSide": { "alias": "ocSide"; "required": false; }; "ocBgColor": { "alias": "ocBgColor"; "required": false; }; "ocFixed": { "alias": "ocFixed"; "required": false; }; }, {}, never, ["*"], true, never>;
931
931
  }
932
932
 
933
- declare class OcModalComponent implements AfterViewInit {
933
+ declare class OcModalComponent implements AfterViewInit, OnDestroy {
934
934
  private elRef;
935
935
  private styleThemeService;
936
936
  private cdr;
937
937
  constructor(elRef: ElementRef, styleThemeService: StyleThemeService, cdr: ChangeDetectorRef);
938
+ private closeTimeout;
938
939
  readonly ocClose: i0.InputSignal<boolean>;
939
940
  ocTitle: string;
940
- readonly ocSize: i0.InputSignal<"small" | "large" | "medium" | "screen">;
941
+ readonly ocSize: i0.InputSignal<"small" | "medium" | "large" | "screen">;
941
942
  readonly ocBgColor: i0.InputSignal<string | undefined>;
942
943
  readonly ocWidth: i0.InputSignal<string>;
943
944
  readonly ocMaxWidth: i0.InputSignal<string>;
@@ -952,6 +953,8 @@ declare class OcModalComponent implements AfterViewInit {
952
953
  ngAfterViewInit(): void;
953
954
  open(): void;
954
955
  close(): void;
956
+ private finishClose;
957
+ ngOnDestroy(): void;
955
958
  protected getModalStyles(): {
956
959
  [key: string]: string;
957
960
  };
@@ -982,7 +985,7 @@ declare class OcOtpComponent implements AfterViewInit, OnDestroy {
982
985
  constructor(cdr: ChangeDetectorRef);
983
986
  ngAfterViewInit(): void;
984
987
  ngOnDestroy(): void;
985
- protected readonly inputMode: i0.Signal<"text" | "numeric">;
988
+ protected readonly inputMode: i0.Signal<"numeric" | "text">;
986
989
  protected onInput(idx: number, event: Event): void;
987
990
  protected onKey(idx: number, event: KeyboardEvent): void;
988
991
  protected onPaste(event: ClipboardEvent): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otimus-library",
3
- "version": "0.5.4",
3
+ "version": "0.5.6",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^20.2.5",