ngx-opalbytes-components 1.15.0 → 1.16.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-opalbytes-components",
3
- "version": "1.15.0",
3
+ "version": "1.16.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0",
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter, OnChanges, SimpleChanges, OnDestroy, ElementRef, ChangeDetectorRef, Signal, AfterViewInit, AfterContentInit, QueryList } from '@angular/core';
2
+ import { OnInit, EventEmitter, OnChanges, SimpleChanges, OnDestroy, ElementRef, ChangeDetectorRef, Signal, AfterViewInit, AfterContentInit, QueryList, TemplateRef, WritableSignal } from '@angular/core';
3
3
  import { ControlValueAccessor, AbstractControl, FormControl } from '@angular/forms';
4
4
  import { MatDateRangeInput } from '@angular/material/datepicker';
5
5
  import { MatAutocompleteTrigger, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
@@ -716,5 +716,73 @@ declare class StepperComponent implements AfterContentInit {
716
716
  static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "cao-stepper", never, { "title": { "alias": "title"; "required": false; }; }, { "maxReachedEvent": "maxReachedEvent"; }, ["steps"], ["*"], true, never>;
717
717
  }
718
718
 
719
- export { BaseAlert, BaseAlertService, BaseDialog, BaseDialogService, BaseFilterTablePaginatedService, BaseFilterTableService, BaseModal, BaseModalService, BasePaginationService, BaseTable, BaseTablePaginated, BaseTableService, BaseTimeRange, CaoAutocompleteComponent, CaoBaseButtonComponent, CaoBaseInput, CaoDropDownComponent, Footer, LinksButton, Paginator, StepComponent, StepperComponent, TablePaginatedService, TimePicker, getPtBrPaginatorIntlBasePaginated, getPtBrPaginatorIntlBaseTable };
720
- export type { AlertType, CaoTypeInputs, DialogType, IAlertConfig, ICaoAutoCompleteOption, ICaoDropDownOption, IColumnButton, IColumnConfig, IColumnPaginatedButton, IColumnPaginatedConfig, IDialogConfig, IModal, INavContent, INavLink, ITableConfig, ITablePaginatedConfig, ModalType, ModalTypeClass, ModalTypeSize };
719
+ declare class CaoTabPanel {
720
+ label: string;
721
+ isLucideIcon: boolean;
722
+ trailingIcon: string | null;
723
+ leadingIcon: string | null;
724
+ isDisabled: boolean;
725
+ labelTemplate?: TemplateRef<unknown>;
726
+ lazyContent?: TemplateRef<unknown>;
727
+ content: TemplateRef<unknown>;
728
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaoTabPanel, never>;
729
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaoTabPanel, "cao-tab-panel", never, { "label": { "alias": "label"; "required": false; }; "isLucideIcon": { "alias": "isLucideIcon"; "required": false; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; }, {}, ["labelTemplate", "lazyContent"], ["*"], true, never>;
730
+ }
731
+
732
+ interface ICaoTabChangeEvent {
733
+ previousIndex: number;
734
+ index: number;
735
+ tab: CaoTabPanel;
736
+ }
737
+ declare class CaoTabGroup implements AfterContentInit, OnDestroy {
738
+ get _hostStyles(): Record<string, string>;
739
+ set selectedIndex(val: number);
740
+ get selectedIndex(): number;
741
+ labelHeight: string;
742
+ labelPaddingX: string;
743
+ labelGap: string;
744
+ colorText: string;
745
+ colorActive: string;
746
+ colorHoverBg: string;
747
+ colorDisabled: string;
748
+ colorInkBar: string;
749
+ colorHeaderBorder: string;
750
+ inkBarHeight: string;
751
+ contentPaddingTop: string;
752
+ labelRadius: string;
753
+ animationDuration: string;
754
+ dynamicHeight: boolean;
755
+ labelAlign: 'start' | 'center' | 'end';
756
+ iconColorActive: string;
757
+ iconColorInactive: string;
758
+ strokeWidthIcon: number;
759
+ readonly selectedTabChange: EventEmitter<ICaoTabChangeEvent>;
760
+ readonly focusChange: EventEmitter<number>;
761
+ tabs: QueryList<CaoTabPanel>;
762
+ tabBtns: QueryList<ElementRef<HTMLButtonElement>>;
763
+ inkBar: ElementRef<HTMLElement>;
764
+ readonly activeIndex: WritableSignal<number>;
765
+ private activatedSet;
766
+ tabList: CaoTabPanel[];
767
+ private subs;
768
+ private isBrowser;
769
+ ngAfterContentInit(): void;
770
+ ngOnDestroy(): void;
771
+ selectTab(index: number): void;
772
+ get activeTab(): CaoTabPanel | null;
773
+ isActive(index: number): boolean;
774
+ wasActivated(index: number): boolean;
775
+ onTabClick(index: number): void;
776
+ onKeydown(event: KeyboardEvent, currentIndex: number): void;
777
+ onFocus(index: number): void;
778
+ private nextEnabled;
779
+ private selectIndex;
780
+ private focusTab;
781
+ scheduleInkBar(): void;
782
+ private updateInkBar;
783
+ static ɵfac: i0.ɵɵFactoryDeclaration<CaoTabGroup, never>;
784
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaoTabGroup, "cao-tab-group", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "labelHeight": { "alias": "labelHeight"; "required": false; }; "labelPaddingX": { "alias": "labelPaddingX"; "required": false; }; "labelGap": { "alias": "labelGap"; "required": false; }; "colorText": { "alias": "colorText"; "required": false; }; "colorActive": { "alias": "colorActive"; "required": false; }; "colorHoverBg": { "alias": "colorHoverBg"; "required": false; }; "colorDisabled": { "alias": "colorDisabled"; "required": false; }; "colorInkBar": { "alias": "colorInkBar"; "required": false; }; "colorHeaderBorder": { "alias": "colorHeaderBorder"; "required": false; }; "inkBarHeight": { "alias": "inkBarHeight"; "required": false; }; "contentPaddingTop": { "alias": "contentPaddingTop"; "required": false; }; "labelRadius": { "alias": "labelRadius"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "labelAlign": { "alias": "labelAlign"; "required": false; }; "iconColorActive": { "alias": "iconColorActive"; "required": false; }; "iconColorInactive": { "alias": "iconColorInactive"; "required": false; }; "strokeWidthIcon": { "alias": "strokeWidthIcon"; "required": false; }; }, { "selectedTabChange": "selectedTabChange"; "focusChange": "focusChange"; }, ["tabs"], never, true, never>;
785
+ }
786
+
787
+ export { BaseAlert, BaseAlertService, BaseDialog, BaseDialogService, BaseFilterTablePaginatedService, BaseFilterTableService, BaseModal, BaseModalService, BasePaginationService, BaseTable, BaseTablePaginated, BaseTableService, BaseTimeRange, CaoAutocompleteComponent, CaoBaseButtonComponent, CaoBaseInput, CaoDropDownComponent, CaoTabGroup, CaoTabPanel, Footer, LinksButton, Paginator, StepComponent, StepperComponent, TablePaginatedService, TimePicker, getPtBrPaginatorIntlBasePaginated, getPtBrPaginatorIntlBaseTable };
788
+ export type { AlertType, CaoTypeInputs, DialogType, IAlertConfig, ICaoAutoCompleteOption, ICaoDropDownOption, ICaoTabChangeEvent, IColumnButton, IColumnConfig, IColumnPaginatedButton, IColumnPaginatedConfig, IDialogConfig, IModal, INavContent, INavLink, ITableConfig, ITablePaginatedConfig, ModalType, ModalTypeClass, ModalTypeSize };