@coreui/angular-pro 5.5.22 → 5.5.24

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
@@ -3553,6 +3553,9 @@ declare class ModalTitleDirective {
3553
3553
 
3554
3554
  declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
3555
3555
  #private;
3556
+ static ngAcceptInputType_ariaModalInput: BooleanInput$1;
3557
+ static ngAcceptInputType_scrollable: BooleanInput$1;
3558
+ static ngAcceptInputType_visibleInput: BooleanInput$1;
3556
3559
  /**
3557
3560
  * Align the modal in the center or top of the screen.
3558
3561
  * @return {'top' | 'center'}
@@ -3614,8 +3617,7 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
3614
3617
  * @default false
3615
3618
  */
3616
3619
  readonly visibleInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
3617
- set visible(value: boolean);
3618
- get visible(): boolean;
3620
+ readonly visible: _angular_core.WritableSignal<boolean>;
3619
3621
  /**
3620
3622
  * Event triggered on modal dismiss.
3621
3623
  * @return boolean
@@ -3788,6 +3790,133 @@ declare class OffcanvasModule {
3788
3790
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<OffcanvasModule>;
3789
3791
  }
3790
3792
 
3793
+ declare class OtpDirective implements FocusableOption {
3794
+ #private;
3795
+ readonly hostElement: ElementRef<any>;
3796
+ readonly focusable: _angular_core.WritableSignal<boolean>;
3797
+ readonly placeholderInput: _angular_core.InputSignal<string>;
3798
+ readonly placeholder: _angular_core.Signal<string>;
3799
+ readonly valueInput: _angular_core.InputSignal<string | number>;
3800
+ readonly value: _angular_core.WritableSignal<string | number>;
3801
+ readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
3802
+ set disabled(disabled: boolean);
3803
+ get disabled(): boolean;
3804
+ readonly tabIndex: _angular_core.WritableSignal<number>;
3805
+ readonly index: _angular_core.WritableSignal<number | undefined>;
3806
+ focus(origin?: FocusOrigin): void;
3807
+ protected readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
3808
+ protected readonly inputMode: _angular_core.Signal<"text" | "numeric">;
3809
+ protected readonly inputType: _angular_core.Signal<"password" | "text">;
3810
+ protected readonly pattern: _angular_core.Signal<".*" | "[0-9]*">;
3811
+ protected readonly readOnly: _angular_core.WritableSignal<boolean>;
3812
+ protected handleSelectionChange($event: Event): void;
3813
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<OtpDirective, never>;
3814
+ 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>;
3815
+ }
3816
+
3817
+ declare class OneTimePasswordComponent implements ControlValueAccessor {
3818
+ #private;
3819
+ static ngAcceptInputType_autoSubmit: BooleanInput$1;
3820
+ static ngAcceptInputType_disabledInput: BooleanInput$1;
3821
+ static ngAcceptInputType_masked: BooleanInput$1;
3822
+ static ngAcceptInputType_readOnly: BooleanInput$1;
3823
+ writeValue(value: string | number): void;
3824
+ registerOnChange(fn: any): void;
3825
+ registerOnTouched(fn: any): void;
3826
+ setDisabledState?(isDisabled: boolean): void;
3827
+ onChange: (value: any) => void;
3828
+ onTouched: () => void;
3829
+ constructor();
3830
+ /**
3831
+ * Function to generate aria-label for each input field. Receives current index (0-based) and total number of inputs.
3832
+ * @default: (index, total) => `Digit ${index + 1} of ${total}`
3833
+ */
3834
+ readonly ariaLabel: _angular_core.InputSignal<(index: number, total: number) => string>;
3835
+ /**
3836
+ * Automatically submit the form when all one time password fields are filled.
3837
+ * @default: false
3838
+ */
3839
+ readonly autoSubmit: _angular_core.InputSignalWithTransform<boolean, unknown>;
3840
+ /**
3841
+ * Initial value for Angular one time password input.
3842
+ * @default: undefined
3843
+ */
3844
+ readonly defaultValue: _angular_core.InputSignal<string | number | undefined>;
3845
+ /**
3846
+ * Disable all one time password (OTP) input fields.
3847
+ * @default: false
3848
+ */
3849
+ readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
3850
+ readonly disabled: _angular_core.WritableSignal<boolean>;
3851
+ /**
3852
+ * Enforce sequential input (users must fill fields in order).
3853
+ * @default: true
3854
+ */
3855
+ readonly linear: _angular_core.InputSignalWithTransform<boolean, unknown>;
3856
+ /**
3857
+ * Show input as password (masked characters).
3858
+ * @default: false
3859
+ */
3860
+ readonly masked: _angular_core.InputSignalWithTransform<boolean, unknown>;
3861
+ /**
3862
+ * Placeholder text for input fields. Single character applies to all fields, longer strings apply character-by-character.
3863
+ * @default: undefined
3864
+ */
3865
+ readonly placeholder: _angular_core.InputSignal<string>;
3866
+ /**
3867
+ * Make Angular OTP input component read-only.
3868
+ * @default: false
3869
+ */
3870
+ readonly readOnly: _angular_core.InputSignalWithTransform<boolean, unknown>;
3871
+ /**
3872
+ * Sets the visual size of the React.js one time password (OTP) input. Use 'sm' for small or 'lg' for large input fields.
3873
+ * @default: undefined
3874
+ */
3875
+ readonly sizing: _angular_core.InputSignal<string | undefined>;
3876
+ /**
3877
+ * Input validation type: 'number' for digits only, or 'text' for free text.
3878
+ * @default: 'number'
3879
+ */
3880
+ readonly type: _angular_core.InputSignal<"number" | "text">;
3881
+ /**
3882
+ * Set form input validation state to valid.
3883
+ * @default undefined
3884
+ */
3885
+ readonly valid: _angular_core.InputSignal<boolean | undefined>;
3886
+ /**
3887
+ * Current value for OTP input.
3888
+ * @default: undefined
3889
+ */
3890
+ readonly valueInput: _angular_core.InputSignal<string | number | undefined>;
3891
+ protected readonly value: _angular_core.WritableSignal<string>;
3892
+ /**
3893
+ * Event triggered when the Angular one time password (OTP) value changes.
3894
+ */
3895
+ readonly valueChange: _angular_core.OutputEmitterRef<string>;
3896
+ /**
3897
+ * Callback triggered when all Angular one time password (OTP) fields are filled.
3898
+ */
3899
+ readonly complete: _angular_core.OutputEmitterRef<string>;
3900
+ protected readonly hostClasses: _angular_core.Signal<{
3901
+ [x: string]: boolean;
3902
+ 'form-otp': boolean;
3903
+ }>;
3904
+ protected readonly inputRefs: _angular_core.Signal<readonly OtpDirective[]>;
3905
+ protected readonly inputCount: _angular_core.Signal<number>;
3906
+ protected handleInputChange($event: Event, index: number): void;
3907
+ protected handleInputFocus($event: FocusEvent, index: number): void;
3908
+ protected handleKeyDown($event: KeyboardEvent, index: number): void;
3909
+ protected handlePaste($event: ClipboardEvent, index: number): void;
3910
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<OneTimePasswordComponent, never>;
3911
+ 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>;
3912
+ }
3913
+
3914
+ declare class OneTimePasswordModule {
3915
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<OneTimePasswordModule, never>;
3916
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<OneTimePasswordModule, never, [typeof OneTimePasswordComponent, typeof OtpDirective], [typeof OneTimePasswordComponent, typeof OtpDirective]>;
3917
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<OneTimePasswordModule>;
3918
+ }
3919
+
3791
3920
  declare class PageLinkDirective {
3792
3921
  static ngAcceptInputType_disabled: BooleanInput$1;
3793
3922
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
@@ -6892,5 +7021,5 @@ declare class WidgetModule {
6892
7021
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<WidgetModule>;
6893
7022
  }
6894
7023
 
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 };
7024
+ 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
7025
  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.24",
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.24",
33
33
  "rxjs": "^7.8.2"
34
34
  },
35
35
  "repository": {