ngx-opalbytes-components 1.16.0 → 1.17.0
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/README.md +28 -0
- package/fesm2022/ngx-opalbytes-components.mjs +1094 -1074
- package/fesm2022/ngx-opalbytes-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ngx-opalbytes-components.d.ts +103 -93
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, EventEmitter, OnChanges, SimpleChanges, OnDestroy, ElementRef, ChangeDetectorRef, Signal,
|
|
2
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges, OnDestroy, ElementRef, ChangeDetectorRef, Signal, AfterContentInit, QueryList, TemplateRef, WritableSignal, AfterViewInit } 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';
|
|
@@ -301,6 +301,107 @@ declare class TimePicker {
|
|
|
301
301
|
static ɵcmp: i0.ɵɵComponentDeclaration<TimePicker, "cao-time-picker", never, { "control": { "alias": "control"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "dataCy": { "alias": "dataCy"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "timeChange": "timeChange"; }, never, never, true, never>;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
+
declare class StepComponent {
|
|
305
|
+
title: string;
|
|
306
|
+
isActive: boolean;
|
|
307
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, never>;
|
|
308
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "cao-step", never, { "title": { "alias": "title"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, {}, never, never, true, never>;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
declare class StepperComponent implements AfterContentInit {
|
|
312
|
+
constructor();
|
|
313
|
+
steps: QueryList<StepComponent>;
|
|
314
|
+
title: string;
|
|
315
|
+
activeStepIndex: number;
|
|
316
|
+
lengthStep: number;
|
|
317
|
+
showLine: boolean;
|
|
318
|
+
readonly maxReachedEvent: EventEmitter<null>;
|
|
319
|
+
ngAfterContentInit(): void;
|
|
320
|
+
nextStep(): void;
|
|
321
|
+
prevStep(): void;
|
|
322
|
+
resetStepper(): void;
|
|
323
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
324
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "cao-stepper", never, { "title": { "alias": "title"; "required": false; }; }, { "maxReachedEvent": "maxReachedEvent"; }, ["steps"], ["*"], true, never>;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
declare class CaoTabPanel {
|
|
328
|
+
label: string;
|
|
329
|
+
isLucideIcon: boolean;
|
|
330
|
+
trailingIcon: string | null;
|
|
331
|
+
leadingIcon: string | null;
|
|
332
|
+
isDisabled: boolean;
|
|
333
|
+
labelTemplate?: TemplateRef<unknown>;
|
|
334
|
+
lazyContent?: TemplateRef<unknown>;
|
|
335
|
+
content: TemplateRef<unknown>;
|
|
336
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaoTabPanel, never>;
|
|
337
|
+
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>;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
interface ICaoTabChangeEvent {
|
|
341
|
+
previousIndex: number;
|
|
342
|
+
index: number;
|
|
343
|
+
tab: CaoTabPanel;
|
|
344
|
+
}
|
|
345
|
+
declare class CaoTabGroup implements AfterContentInit, OnDestroy {
|
|
346
|
+
get _hostStyles(): Record<string, string>;
|
|
347
|
+
set selectedIndex(val: number);
|
|
348
|
+
get selectedIndex(): number;
|
|
349
|
+
labelHeight: string;
|
|
350
|
+
labelPaddingX: string;
|
|
351
|
+
labelGap: string;
|
|
352
|
+
colorText: string;
|
|
353
|
+
colorActive: string;
|
|
354
|
+
colorHoverBg: string;
|
|
355
|
+
colorDisabled: string;
|
|
356
|
+
colorInkBar: string;
|
|
357
|
+
colorHeaderBorder: string;
|
|
358
|
+
inkBarHeight: string;
|
|
359
|
+
contentPaddingTop: string;
|
|
360
|
+
labelRadius: string;
|
|
361
|
+
animationDuration: string;
|
|
362
|
+
dynamicHeight: boolean;
|
|
363
|
+
labelAlign: 'start' | 'center' | 'end';
|
|
364
|
+
iconColorActive: string;
|
|
365
|
+
iconColorInactive: string;
|
|
366
|
+
strokeWidthIcon: number;
|
|
367
|
+
readonly selectedTabChange: EventEmitter<ICaoTabChangeEvent>;
|
|
368
|
+
readonly focusChange: EventEmitter<number>;
|
|
369
|
+
tabs: QueryList<CaoTabPanel>;
|
|
370
|
+
tabBtns: QueryList<ElementRef<HTMLButtonElement>>;
|
|
371
|
+
inkBar: ElementRef<HTMLElement>;
|
|
372
|
+
readonly activeIndex: WritableSignal<number>;
|
|
373
|
+
private activatedSet;
|
|
374
|
+
tabList: CaoTabPanel[];
|
|
375
|
+
private subs;
|
|
376
|
+
private isBrowser;
|
|
377
|
+
ngAfterContentInit(): void;
|
|
378
|
+
ngOnDestroy(): void;
|
|
379
|
+
selectTab(index: number): void;
|
|
380
|
+
get activeTab(): CaoTabPanel | null;
|
|
381
|
+
isActive(index: number): boolean;
|
|
382
|
+
wasActivated(index: number): boolean;
|
|
383
|
+
onTabClick(index: number): void;
|
|
384
|
+
onKeydown(event: KeyboardEvent, currentIndex: number): void;
|
|
385
|
+
onFocus(index: number): void;
|
|
386
|
+
private nextEnabled;
|
|
387
|
+
private selectIndex;
|
|
388
|
+
private focusTab;
|
|
389
|
+
scheduleInkBar(): void;
|
|
390
|
+
private updateInkBar;
|
|
391
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaoTabGroup, never>;
|
|
392
|
+
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>;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
declare class CaoBaseIcon {
|
|
396
|
+
imgSource: string;
|
|
397
|
+
isLucideIcon: boolean;
|
|
398
|
+
strokeWidthIcon: number;
|
|
399
|
+
iconColor: string;
|
|
400
|
+
size: number;
|
|
401
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaoBaseIcon, never>;
|
|
402
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CaoBaseIcon, "cao-base-icon", never, { "imgSource": { "alias": "imgSource"; "required": false; }; "isLucideIcon": { "alias": "isLucideIcon"; "required": false; }; "strokeWidthIcon": { "alias": "strokeWidthIcon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
403
|
+
}
|
|
404
|
+
|
|
304
405
|
type ModalType = "validation" | "finger" | "facial" | "clinic" | "graph" | "restriction" | "default";
|
|
305
406
|
interface IModal {
|
|
306
407
|
status: boolean;
|
|
@@ -693,96 +794,5 @@ declare class BaseAlertService {
|
|
|
693
794
|
static ɵprov: i0.ɵɵInjectableDeclaration<BaseAlertService>;
|
|
694
795
|
}
|
|
695
796
|
|
|
696
|
-
|
|
697
|
-
title: string;
|
|
698
|
-
isActive: boolean;
|
|
699
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, never>;
|
|
700
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "cao-step", never, { "title": { "alias": "title"; "required": false; }; "isActive": { "alias": "isActive"; "required": false; }; }, {}, never, never, true, never>;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
declare class StepperComponent implements AfterContentInit {
|
|
704
|
-
constructor();
|
|
705
|
-
steps: QueryList<StepComponent>;
|
|
706
|
-
title: string;
|
|
707
|
-
activeStepIndex: number;
|
|
708
|
-
lengthStep: number;
|
|
709
|
-
showLine: boolean;
|
|
710
|
-
readonly maxReachedEvent: EventEmitter<null>;
|
|
711
|
-
ngAfterContentInit(): void;
|
|
712
|
-
nextStep(): void;
|
|
713
|
-
prevStep(): void;
|
|
714
|
-
resetStepper(): void;
|
|
715
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
716
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "cao-stepper", never, { "title": { "alias": "title"; "required": false; }; }, { "maxReachedEvent": "maxReachedEvent"; }, ["steps"], ["*"], true, never>;
|
|
717
|
-
}
|
|
718
|
-
|
|
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 };
|
|
797
|
+
export { BaseAlert, BaseAlertService, BaseDialog, BaseDialogService, BaseFilterTablePaginatedService, BaseFilterTableService, BaseModal, BaseModalService, BasePaginationService, BaseTable, BaseTablePaginated, BaseTableService, BaseTimeRange, CaoAutocompleteComponent, CaoBaseButtonComponent, CaoBaseIcon, CaoBaseInput, CaoDropDownComponent, CaoTabGroup, CaoTabPanel, Footer, LinksButton, Paginator, StepComponent, StepperComponent, TablePaginatedService, TimePicker, getPtBrPaginatorIntlBasePaginated, getPtBrPaginatorIntlBaseTable };
|
|
788
798
|
export type { AlertType, CaoTypeInputs, DialogType, IAlertConfig, ICaoAutoCompleteOption, ICaoDropDownOption, ICaoTabChangeEvent, IColumnButton, IColumnConfig, IColumnPaginatedButton, IColumnPaginatedConfig, IDialogConfig, IModal, INavContent, INavLink, ITableConfig, ITablePaginatedConfig, ModalType, ModalTypeClass, ModalTypeSize };
|