@coreui/angular-pro 5.5.22 → 5.5.23

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
@@ -3788,6 +3788,133 @@ declare class OffcanvasModule {
3788
3788
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<OffcanvasModule>;
3789
3789
  }
3790
3790
 
3791
+ declare class OtpDirective implements FocusableOption {
3792
+ #private;
3793
+ readonly hostElement: ElementRef<any>;
3794
+ readonly focusable: _angular_core.WritableSignal<boolean>;
3795
+ readonly placeholderInput: _angular_core.InputSignal<string>;
3796
+ readonly placeholder: _angular_core.Signal<string>;
3797
+ readonly valueInput: _angular_core.InputSignal<string | number>;
3798
+ readonly value: _angular_core.WritableSignal<string | number>;
3799
+ readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
3800
+ set disabled(disabled: boolean);
3801
+ get disabled(): boolean;
3802
+ readonly tabIndex: _angular_core.WritableSignal<number>;
3803
+ readonly index: _angular_core.WritableSignal<number | undefined>;
3804
+ focus(origin?: FocusOrigin): void;
3805
+ protected readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
3806
+ protected readonly inputMode: _angular_core.Signal<"text" | "numeric">;
3807
+ protected readonly inputType: _angular_core.Signal<"password" | "text">;
3808
+ protected readonly pattern: _angular_core.Signal<".*" | "[0-9]*">;
3809
+ protected readonly readOnly: _angular_core.WritableSignal<boolean>;
3810
+ protected handleSelectionChange($event: Event): void;
3811
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<OtpDirective, never>;
3812
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OtpDirective, "input[cOtp]", never, { "placeholderInput": { "alias": "placeholder"; "required": false; "isSignal": true; }; "valueInput": { "alias": "value"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3813
+ }
3814
+
3815
+ declare class OneTimePasswordComponent implements ControlValueAccessor {
3816
+ #private;
3817
+ static ngAcceptInputType_autoSubmit: BooleanInput$1;
3818
+ static ngAcceptInputType_disabledInput: BooleanInput$1;
3819
+ static ngAcceptInputType_masked: BooleanInput$1;
3820
+ static ngAcceptInputType_readOnly: BooleanInput$1;
3821
+ writeValue(value: string | number): void;
3822
+ registerOnChange(fn: any): void;
3823
+ registerOnTouched(fn: any): void;
3824
+ setDisabledState?(isDisabled: boolean): void;
3825
+ onChange: (value: any) => void;
3826
+ onTouched: () => void;
3827
+ constructor();
3828
+ /**
3829
+ * Function to generate aria-label for each input field. Receives current index (0-based) and total number of inputs.
3830
+ * @default: (index, total) => `Digit ${index + 1} of ${total}`
3831
+ */
3832
+ readonly ariaLabel: _angular_core.InputSignal<(index: number, total: number) => string>;
3833
+ /**
3834
+ * Automatically submit the form when all one time password fields are filled.
3835
+ * @default: false
3836
+ */
3837
+ readonly autoSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
3838
+ /**
3839
+ * Initial value for Angular one time password input.
3840
+ * @default: undefined
3841
+ */
3842
+ readonly defaultValue: _angular_core.InputSignal<string | number | undefined>;
3843
+ /**
3844
+ * Disable all one time password (OTP) input fields.
3845
+ * @default: false
3846
+ */
3847
+ readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
3848
+ readonly disabled: _angular_core.WritableSignal<boolean>;
3849
+ /**
3850
+ * Enforce sequential input (users must fill fields in order).
3851
+ * @default: true
3852
+ */
3853
+ readonly linear: _angular_core.InputSignalWithTransform<boolean, unknown>;
3854
+ /**
3855
+ * Show input as password (masked characters).
3856
+ * @default: false
3857
+ */
3858
+ readonly masked: _angular_core.InputSignalWithTransform<boolean, unknown>;
3859
+ /**
3860
+ * Placeholder text for input fields. Single character applies to all fields, longer strings apply character-by-character.
3861
+ * @default: undefined
3862
+ */
3863
+ readonly placeholder: _angular_core.InputSignal<string>;
3864
+ /**
3865
+ * Make Angular OTP input component read-only.
3866
+ * @default: false
3867
+ */
3868
+ readonly readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
3869
+ /**
3870
+ * Sets the visual size of the React.js one time password (OTP) input. Use 'sm' for small or 'lg' for large input fields.
3871
+ * @default: undefined
3872
+ */
3873
+ readonly sizing: _angular_core.InputSignal<string | undefined>;
3874
+ /**
3875
+ * Input validation type: 'number' for digits only, or 'text' for free text.
3876
+ * @default: 'number'
3877
+ */
3878
+ readonly type: _angular_core.InputSignal<"number" | "text">;
3879
+ /**
3880
+ * Set form input validation state to valid.
3881
+ * @default undefined
3882
+ */
3883
+ readonly valid: _angular_core.InputSignal<boolean | undefined>;
3884
+ /**
3885
+ * Current value for OTP input.
3886
+ * @default: undefined
3887
+ */
3888
+ readonly valueInput: _angular_core.InputSignal<string | number | undefined>;
3889
+ protected readonly value: _angular_core.WritableSignal<string>;
3890
+ /**
3891
+ * Event triggered when the Angular one time password (OTP) value changes.
3892
+ */
3893
+ readonly valueChange: _angular_core.OutputEmitterRef<string>;
3894
+ /**
3895
+ * Callback triggered when all Angular one time password (OTP) fields are filled.
3896
+ */
3897
+ readonly complete: _angular_core.OutputEmitterRef<string>;
3898
+ protected readonly hostClasses: _angular_core.Signal<{
3899
+ [x: string]: boolean;
3900
+ 'form-otp': boolean;
3901
+ }>;
3902
+ protected readonly inputRefs: _angular_core.Signal<readonly OtpDirective[]>;
3903
+ protected readonly inputCount: _angular_core.Signal<number>;
3904
+ protected handleInputChange($event: Event, index: number): void;
3905
+ protected handleInputFocus($event: FocusEvent, index: number): void;
3906
+ protected handleKeyDown($event: KeyboardEvent, index: number): void;
3907
+ protected handlePaste($event: ClipboardEvent, index: number): void;
3908
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<OneTimePasswordComponent, never>;
3909
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<OneTimePasswordComponent, "c-one-time-password", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "autoSubmit": { "alias": "autoSubmit"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "masked": { "alias": "masked"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "sizing": { "alias": "sizing"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "valid": { "alias": "valid"; "required": false; "isSignal": true; }; "valueInput": { "alias": "value"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "complete": "complete"; }, ["inputRefs"], ["*"], true, never>;
3910
+ }
3911
+
3912
+ declare class OneTimePasswordModule {
3913
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<OneTimePasswordModule, never>;
3914
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<OneTimePasswordModule, never, [typeof OneTimePasswordComponent, typeof OtpDirective], [typeof OneTimePasswordComponent, typeof OtpDirective]>;
3915
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<OneTimePasswordModule>;
3916
+ }
3917
+
3791
3918
  declare class PageLinkDirective {
3792
3919
  static ngAcceptInputType_disabled: BooleanInput$1;
3793
3920
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
@@ -6892,5 +7019,5 @@ declare class WidgetModule {
6892
7019
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<WidgetModule>;
6893
7020
  }
6894
7021
 
6895
- export { AccordionButtonDirective, AccordionComponent, AccordionItemComponent, AccordionModule, AlertComponent, AlertHeadingDirective, AlertLinkDirective, AlertModule, AlignDirective, AutocompleteDirective, AutocompleteModule, AvatarComponent, AvatarModule, BackdropService, BadgeComponent, BadgeModule, BgColorDirective, BorderDirective, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbModule, BreadcrumbRouterComponent, BreadcrumbRouterService, BreakpointInfix, ButtonCloseDirective, ButtonDirective, ButtonGroupComponent, ButtonGroupModule, ButtonModule, ButtonToolbarComponent, CalendarComponent, CalendarModule, CalendarMonthComponent, CalendarNavigationComponent, CalloutComponent, CalloutModule, CardBodyComponent, CardComponent, CardFooterComponent, CardGroupComponent, CardHeaderActionsComponent, CardHeaderComponent, CardImgDirective, CardImgOverlayComponent, CardLinkDirective, CardModule, CardSubtitleDirective, CardTextDirective, CardTitleDirective, CarouselCaptionComponent, CarouselComponent, CarouselConfig, CarouselControlComponent, CarouselIndicatorsComponent, CarouselInnerComponent, CarouselItemComponent, CarouselModule, ClassToggleService, ColComponent, ColDirective, CollapseDirective, CollapseModule, ColorModeService, ContainerComponent, DatePickerComponent, DatePickerModule, DateRangePickerComponent, DateRangePickerModule, DropdownCloseDirective, DropdownComponent, DropdownDividerDirective, DropdownHeaderDirective, DropdownItemDirective, DropdownItemPlainDirective, DropdownMenuDirective, DropdownModule, DropdownService, DropdownToggleDirective, ElementCoverComponent, ElementCoverModule, ElementRefDirective, FooterComponent, FooterModule, FormCheckComponent, FormCheckInputDirective, FormCheckLabelDirective, FormControlDirective, FormDirective, FormFeedbackComponent, FormFloatingDirective, FormLabelDirective, FormModule, FormPasswordDirective, FormSelectDirective, FormTextDirective, GridModule, GutterDirective, HeaderBrandComponent, HeaderComponent, HeaderDividerComponent, HeaderModule, HeaderNavComponent, HeaderTextComponent, HeaderTogglerDirective, HtmlAttributesDirective, ImgDirective, ImgModule, InMemoryStorageService, InputGroupComponent, InputGroupTextDirective, IntersectionService, ListGroupDirective, ListGroupItemDirective, ListGroupModule, ListenersService, LoadingButtonComponent, LoadingButtonModule, LocalStorageService, ModalBodyComponent, ModalComponent, ModalContentComponent, ModalDialogComponent, ModalFooterComponent, ModalHeaderComponent, ModalModule, ModalService, ModalTitleDirective, ModalToggleDirective, MultiSelectComponent, MultiSelectModule, MultiSelectOptgroupComponent, MultiSelectOptgroupLabelComponent, MultiSelectOptionComponent, NavComponent, NavItemComponent, NavLinkDirective, NavModule, NavbarBrandDirective, NavbarComponent, NavbarModule, NavbarNavComponent, NavbarTextComponent, NavbarTogglerDirective, OffcanvasBodyComponent, OffcanvasComponent, OffcanvasHeaderComponent, OffcanvasModule, OffcanvasService, OffcanvasTitleDirective, OffcanvasToggleDirective, PageItemComponent, PageItemDirective, PageLinkDirective, PaginationComponent, PaginationModule, PlaceholderAnimationDirective, PlaceholderDirective, PlaceholderModule, PopoverComponent, PopoverDirective, PopoverModule, ProgressBarComponent, ProgressBarDirective, ProgressComponent, ProgressModule, ProgressStackedComponent, RangeSliderComponent, RangeSliderModule, RatingComponent, RatingModule, RoundedDirective, RowComponent, RowDirective, RtlService, ShadowOnScrollDirective, SharedModule, SidebarBrandComponent, SidebarComponent, SidebarFooterComponent, SidebarHeaderComponent, SidebarModule, SidebarNavComponent, SidebarNavHelper, SidebarService, SidebarToggleDirective, SidebarTogglerDirective, SmartPaginationComponent, SmartPaginationModule, SmartTableComponent, SmartTableFilterComponent, SmartTableModule, SpinnerComponent, SpinnerModule, StepButtonDirective, StepperComponent, StepperModule, StepperStepComponent, TabContentComponent, TabContentRefDirective, TabDirective, TabPaneComponent, TabPanelComponent, TabService, TableActiveDirective, TableColorDirective, TableDirective, TableModule, Tabs2Module, TabsComponent, TabsContentComponent, TabsListComponent, TabsModule, TabsService, TemplateIdDirective, TextBgColorDirective, TextColorDirective, ThemeDirective, TimePickerComponent, TimePickerModule, ToastBodyComponent, ToastCloseDirective, ToastComponent, ToastHeaderComponent, ToastModule, ToasterComponent, ToasterHostDirective, ToasterPlacement, ToasterService, TooltipComponent, TooltipDirective, TooltipModule, UIDService, UtilitiesModule, WidgetModule, WidgetStatAComponent, WidgetStatBComponent, WidgetStatCComponent, WidgetStatDComponent, WidgetStatEComponent, WidgetStatFComponent };
7022
+ export { AccordionButtonDirective, AccordionComponent, AccordionItemComponent, AccordionModule, AlertComponent, AlertHeadingDirective, AlertLinkDirective, AlertModule, AlignDirective, AutocompleteDirective, AutocompleteModule, AvatarComponent, AvatarModule, BackdropService, BadgeComponent, BadgeModule, BgColorDirective, BorderDirective, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbModule, BreadcrumbRouterComponent, BreadcrumbRouterService, BreakpointInfix, ButtonCloseDirective, ButtonDirective, ButtonGroupComponent, ButtonGroupModule, ButtonModule, ButtonToolbarComponent, CalendarComponent, CalendarModule, CalendarMonthComponent, CalendarNavigationComponent, CalloutComponent, CalloutModule, CardBodyComponent, CardComponent, CardFooterComponent, CardGroupComponent, CardHeaderActionsComponent, CardHeaderComponent, CardImgDirective, CardImgOverlayComponent, CardLinkDirective, CardModule, CardSubtitleDirective, CardTextDirective, CardTitleDirective, CarouselCaptionComponent, CarouselComponent, CarouselConfig, CarouselControlComponent, CarouselIndicatorsComponent, CarouselInnerComponent, CarouselItemComponent, CarouselModule, ClassToggleService, ColComponent, ColDirective, CollapseDirective, CollapseModule, ColorModeService, ContainerComponent, DatePickerComponent, DatePickerModule, DateRangePickerComponent, DateRangePickerModule, DropdownCloseDirective, DropdownComponent, DropdownDividerDirective, DropdownHeaderDirective, DropdownItemDirective, DropdownItemPlainDirective, DropdownMenuDirective, DropdownModule, DropdownService, DropdownToggleDirective, ElementCoverComponent, ElementCoverModule, ElementRefDirective, FooterComponent, FooterModule, FormCheckComponent, FormCheckInputDirective, FormCheckLabelDirective, FormControlDirective, FormDirective, FormFeedbackComponent, FormFloatingDirective, FormLabelDirective, FormModule, FormPasswordDirective, FormSelectDirective, FormTextDirective, GridModule, GutterDirective, HeaderBrandComponent, HeaderComponent, HeaderDividerComponent, HeaderModule, HeaderNavComponent, HeaderTextComponent, HeaderTogglerDirective, HtmlAttributesDirective, ImgDirective, ImgModule, InMemoryStorageService, InputGroupComponent, InputGroupTextDirective, IntersectionService, ListGroupDirective, ListGroupItemDirective, ListGroupModule, ListenersService, LoadingButtonComponent, LoadingButtonModule, LocalStorageService, ModalBodyComponent, ModalComponent, ModalContentComponent, ModalDialogComponent, ModalFooterComponent, ModalHeaderComponent, ModalModule, ModalService, ModalTitleDirective, ModalToggleDirective, MultiSelectComponent, MultiSelectModule, MultiSelectOptgroupComponent, MultiSelectOptgroupLabelComponent, MultiSelectOptionComponent, NavComponent, NavItemComponent, NavLinkDirective, NavModule, NavbarBrandDirective, NavbarComponent, NavbarModule, NavbarNavComponent, NavbarTextComponent, NavbarTogglerDirective, OffcanvasBodyComponent, OffcanvasComponent, OffcanvasHeaderComponent, OffcanvasModule, OffcanvasService, OffcanvasTitleDirective, OffcanvasToggleDirective, OneTimePasswordComponent, OneTimePasswordModule, OtpDirective, PageItemComponent, PageItemDirective, PageLinkDirective, PaginationComponent, PaginationModule, PlaceholderAnimationDirective, PlaceholderDirective, PlaceholderModule, PopoverComponent, PopoverDirective, PopoverModule, ProgressBarComponent, ProgressBarDirective, ProgressComponent, ProgressModule, ProgressStackedComponent, RangeSliderComponent, RangeSliderModule, RatingComponent, RatingModule, RoundedDirective, RowComponent, RowDirective, RtlService, ShadowOnScrollDirective, SharedModule, SidebarBrandComponent, SidebarComponent, SidebarFooterComponent, SidebarHeaderComponent, SidebarModule, SidebarNavComponent, SidebarNavHelper, SidebarService, SidebarToggleDirective, SidebarTogglerDirective, SmartPaginationComponent, SmartPaginationModule, SmartTableComponent, SmartTableFilterComponent, SmartTableModule, SpinnerComponent, SpinnerModule, StepButtonDirective, StepperComponent, StepperModule, StepperStepComponent, TabContentComponent, TabContentRefDirective, TabDirective, TabPaneComponent, TabPanelComponent, TabService, TableActiveDirective, TableColorDirective, TableDirective, TableModule, Tabs2Module, TabsComponent, TabsContentComponent, TabsListComponent, TabsModule, TabsService, TemplateIdDirective, TextBgColorDirective, TextColorDirective, ThemeDirective, TimePickerComponent, TimePickerModule, ToastBodyComponent, ToastCloseDirective, ToastComponent, ToastHeaderComponent, ToastModule, ToasterComponent, ToasterHostDirective, ToasterPlacement, ToasterService, TooltipComponent, TooltipDirective, TooltipModule, UIDService, UtilitiesModule, WidgetModule, WidgetStatAComponent, WidgetStatBComponent, WidgetStatCComponent, WidgetStatDComponent, WidgetStatEComponent, WidgetStatFComponent };
6896
7023
  export type { Alignment, AutocompleteOption, BackgroundColors, BadgePositions, BooleanInput, BreakpointInfixStrings, Breakpoints, ButtonType, ColorMode, Colors, Directions, IAutocompleteOption, IAutocompleteOptionBase, IAutocompleteOptionNorm, IBreadcrumbItem, ICalendarRanges, IColumn, IColumnFilter, IColumnFilterValue, IGroup, IIntersectionObserverInit, IItem, IItemInternal, IListenersConfig, INavAttributes$1 as INavAttributes, INavData, INavLinkProps$1 as INavLinkProps, IOption, IProgress, IProgressBar, IProgressBarStacked, ISmartTable, ISorter, ISorterValue, ITableCellProps, ITableFilter, ITableHeaderCellProps, ITableSectionProps, InputType, ItemsPerPageSelect, Label, NgCssClass, NumberInput, Placements, Positions, Search, SearchFn, Shapes, Sizes, SortOrder, StepperRef, StepperStepData, StepperStepValidationResult, TToasterPlacement, TextColors, ThumbSize, Triggers };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "5.5.22",
3
+ "version": "5.5.23",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "copyright": "Copyright 2025 creativeLabs Łukasz Holeczek",
6
6
  "homepage": "https://coreui.io/angular",
@@ -29,7 +29,7 @@
29
29
  "@angular/forms": "^20.3.0",
30
30
  "@angular/router": "^20.3.0",
31
31
  "@coreui/coreui-pro": "^5.21.1",
32
- "@coreui/icons-angular": "~5.5.22",
32
+ "@coreui/icons-angular": "~5.5.23",
33
33
  "rxjs": "^7.8.2"
34
34
  },
35
35
  "repository": {