cats-ui-lib 2.0.6 → 2.0.7
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 +0 -1
- package/fesm2022/cats-ui-lib.mjs +236 -707
- package/fesm2022/cats-ui-lib.mjs.map +1 -1
- package/index.d.ts +25 -243
- package/package.json +1 -1
- package/styles/_utilities.scss +15 -2
package/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { EventEmitter, OnInit, OnChanges, TemplateRef, ChangeDetectorRef, ElementRef, SimpleChanges, OnDestroy, Renderer2, QueryList } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, Validator, FormControl, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
4
4
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
5
|
-
import { DatePipe } from '@angular/common';
|
|
6
5
|
|
|
7
6
|
declare class CatsUiService {
|
|
8
7
|
constructor();
|
|
@@ -14,18 +13,24 @@ declare class SingleSelectConfig {
|
|
|
14
13
|
idField: string;
|
|
15
14
|
textField: string;
|
|
16
15
|
disabledField?: string;
|
|
16
|
+
colorField?: string;
|
|
17
|
+
iconField?: string;
|
|
17
18
|
placeholder?: string;
|
|
18
19
|
prefixLabel?: string;
|
|
19
20
|
enableSearch?: boolean;
|
|
21
|
+
searchPlaceholder?: string;
|
|
20
22
|
required?: boolean;
|
|
21
23
|
}
|
|
22
24
|
declare class MultiSelectConfig {
|
|
23
25
|
idField: string;
|
|
24
26
|
textField: string;
|
|
25
27
|
disabledField?: string;
|
|
28
|
+
colorField?: string;
|
|
29
|
+
iconField?: string;
|
|
26
30
|
placeholder?: string;
|
|
27
31
|
prefixLabel?: string;
|
|
28
32
|
enableSearch?: boolean;
|
|
33
|
+
searchPlaceholder?: string;
|
|
29
34
|
chipLimit: number;
|
|
30
35
|
selectAll?: boolean;
|
|
31
36
|
required?: boolean;
|
|
@@ -42,6 +47,8 @@ declare class InputConfig {
|
|
|
42
47
|
declare class AutoCompleteSingleSelectConfig {
|
|
43
48
|
idField: string;
|
|
44
49
|
textField: string;
|
|
50
|
+
colorField?: string;
|
|
51
|
+
iconField?: string;
|
|
45
52
|
disabledField?: string;
|
|
46
53
|
placeholder?: string;
|
|
47
54
|
required?: boolean;
|
|
@@ -51,6 +58,8 @@ declare class AutoCompleteMultiSelectConfig {
|
|
|
51
58
|
idField: string;
|
|
52
59
|
textField: string;
|
|
53
60
|
disabledField?: string;
|
|
61
|
+
colorField?: string;
|
|
62
|
+
iconField?: string;
|
|
54
63
|
selectAll?: boolean;
|
|
55
64
|
placeholder?: string;
|
|
56
65
|
required?: boolean;
|
|
@@ -85,10 +94,6 @@ interface RadioButtonConfig {
|
|
|
85
94
|
name: string;
|
|
86
95
|
layout?: 'horizontal' | 'vertical';
|
|
87
96
|
}
|
|
88
|
-
interface DateConfig {
|
|
89
|
-
selectionMode: 'single' | 'range';
|
|
90
|
-
enableTime?: boolean;
|
|
91
|
-
}
|
|
92
97
|
|
|
93
98
|
declare class InputComponent implements ControlValueAccessor, Validator {
|
|
94
99
|
inputConfig: InputConfig;
|
|
@@ -601,199 +606,6 @@ declare class RadioButtonComponent implements ControlValueAccessor {
|
|
|
601
606
|
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "cats-ui-radio-button", never, { "config": { "alias": "config"; "required": false; }; "optionList": { "alias": "optionList"; "required": false; }; "selectedRadio": { "alias": "selectedRadio"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
602
607
|
}
|
|
603
608
|
|
|
604
|
-
interface IRange {
|
|
605
|
-
value: Date;
|
|
606
|
-
label: string;
|
|
607
|
-
}
|
|
608
|
-
declare class DateTimePickerComponent implements OnInit, OnChanges, ControlValueAccessor {
|
|
609
|
-
private locale;
|
|
610
|
-
private cd;
|
|
611
|
-
private datePipe;
|
|
612
|
-
dateTimeSelected: EventEmitter<any>;
|
|
613
|
-
dateConfig: DateConfig;
|
|
614
|
-
minDate?: string;
|
|
615
|
-
maxDate?: string;
|
|
616
|
-
preSelectedValue: any;
|
|
617
|
-
selectedDateTime: any;
|
|
618
|
-
currentDate: Date;
|
|
619
|
-
currentMonth: number;
|
|
620
|
-
currentYear: number;
|
|
621
|
-
selectedDate: number | null;
|
|
622
|
-
selectedTime: string | null;
|
|
623
|
-
calendar: number[][];
|
|
624
|
-
timeSlots: IRange[];
|
|
625
|
-
rangeStart: number | null;
|
|
626
|
-
rangeEnd: number | null;
|
|
627
|
-
selectedMonth: any;
|
|
628
|
-
selectedYear: any;
|
|
629
|
-
control: AbstractControl<any, any>;
|
|
630
|
-
disableControl: boolean;
|
|
631
|
-
date: any;
|
|
632
|
-
calendarView: string;
|
|
633
|
-
yearRange: number[];
|
|
634
|
-
daysInMonth: any[];
|
|
635
|
-
selectedDay: number;
|
|
636
|
-
selectedStartDate: any;
|
|
637
|
-
selectedEndDate: any;
|
|
638
|
-
isOpen: boolean;
|
|
639
|
-
showYearSelector: boolean;
|
|
640
|
-
monthRange: any;
|
|
641
|
-
constructor(locale: string, cd: ChangeDetectorRef, datePipe: DatePipe);
|
|
642
|
-
ngOnChanges(_changes: SimpleChanges): void;
|
|
643
|
-
ngOnInit(): void;
|
|
644
|
-
private onTouchedCallback;
|
|
645
|
-
private onChangeCallback;
|
|
646
|
-
writeValue(value: any): void;
|
|
647
|
-
registerOnChange(fn: any): void;
|
|
648
|
-
registerOnTouched(fn: any): void;
|
|
649
|
-
setDisabledState(isDisabled: boolean): void;
|
|
650
|
-
/**
|
|
651
|
-
* @description Validates date time picker component
|
|
652
|
-
* @author Shiva Kant
|
|
653
|
-
* @param control
|
|
654
|
-
* @returns validate
|
|
655
|
-
*/
|
|
656
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
657
|
-
/**
|
|
658
|
-
* @description method to toggleCalendar
|
|
659
|
-
* @author Shiva Kant
|
|
660
|
-
*/
|
|
661
|
-
toggleCalendar(): void;
|
|
662
|
-
/**
|
|
663
|
-
* @description Closes calendar
|
|
664
|
-
* @author Shiva Kant
|
|
665
|
-
*/
|
|
666
|
-
closeCalendar(): void;
|
|
667
|
-
/**
|
|
668
|
-
* @description Method to Gets month year
|
|
669
|
-
* @author Shiva Kant
|
|
670
|
-
* @returns month year
|
|
671
|
-
*/
|
|
672
|
-
getMonthYear(): {
|
|
673
|
-
month: string;
|
|
674
|
-
year: string;
|
|
675
|
-
};
|
|
676
|
-
/**
|
|
677
|
-
* @description Method to Updates current year month
|
|
678
|
-
* @author Shiva Kant
|
|
679
|
-
*/
|
|
680
|
-
updateCurrentYearMonth(): void;
|
|
681
|
-
/**
|
|
682
|
-
* @description Method to Selects year
|
|
683
|
-
* @author Shiva Kant
|
|
684
|
-
* @param year
|
|
685
|
-
*/
|
|
686
|
-
selectYear(year: number): void;
|
|
687
|
-
/**
|
|
688
|
-
* @description Method to Selects month
|
|
689
|
-
* @author Shiva Kant
|
|
690
|
-
* @param month
|
|
691
|
-
*/
|
|
692
|
-
selectMonth(month: any): void;
|
|
693
|
-
/**
|
|
694
|
-
* @description Method to Previous year range
|
|
695
|
-
* @author Shiva Kant
|
|
696
|
-
*/
|
|
697
|
-
previousYearRange(): void;
|
|
698
|
-
/**
|
|
699
|
-
* @description Method to Next year range
|
|
700
|
-
* @author Shiva Kant
|
|
701
|
-
*/
|
|
702
|
-
nextYearRange(): void;
|
|
703
|
-
/**
|
|
704
|
-
* @description Method to Toggles year selector
|
|
705
|
-
* @author Shiva Kant
|
|
706
|
-
*/
|
|
707
|
-
toggleYearSelector(): void;
|
|
708
|
-
/**
|
|
709
|
-
* @description Method to Generates year range
|
|
710
|
-
* @author Shiva Kant
|
|
711
|
-
*/
|
|
712
|
-
generateYearRange(): void;
|
|
713
|
-
/**
|
|
714
|
-
* @description Method to Determines whether date selectable is
|
|
715
|
-
* @author Shiva Kant
|
|
716
|
-
* @param date
|
|
717
|
-
* @returns true if date selectable
|
|
718
|
-
*/
|
|
719
|
-
isDateSelectable(date: Date): boolean;
|
|
720
|
-
/**
|
|
721
|
-
* @description Method to Determines whether day disabled is
|
|
722
|
-
* @author Shiva Kant
|
|
723
|
-
* @param day
|
|
724
|
-
* @returns true if day disabled
|
|
725
|
-
*/
|
|
726
|
-
isDayDisabled(day: number): boolean;
|
|
727
|
-
/**
|
|
728
|
-
* @description Method to Generates calendar
|
|
729
|
-
* @author Shiva Kant
|
|
730
|
-
*/
|
|
731
|
-
generateCalendar(): void;
|
|
732
|
-
/**
|
|
733
|
-
* @description Method to Previous month
|
|
734
|
-
* @author Shiva Kant
|
|
735
|
-
*/
|
|
736
|
-
previousMonth(): void;
|
|
737
|
-
/**
|
|
738
|
-
* @description Method to Next month
|
|
739
|
-
* @author Shiva Kant
|
|
740
|
-
*/
|
|
741
|
-
nextMonth(): void;
|
|
742
|
-
/**
|
|
743
|
-
* @description Method to Initializes calendar when preSelectedValue date
|
|
744
|
-
* @author Shiva Kant
|
|
745
|
-
* @returns calendar
|
|
746
|
-
*/
|
|
747
|
-
initializeCalendar(): void;
|
|
748
|
-
/**
|
|
749
|
-
* @description Method to Selects date
|
|
750
|
-
* @author Shiva Kant
|
|
751
|
-
* @param date
|
|
752
|
-
*/
|
|
753
|
-
selectDate(date: number): void;
|
|
754
|
-
/**
|
|
755
|
-
* @description Method to Selects time
|
|
756
|
-
* @author Shiva Kant
|
|
757
|
-
* @param time
|
|
758
|
-
*/
|
|
759
|
-
selectTime(time: string): void;
|
|
760
|
-
/**
|
|
761
|
-
* @description Method to Determines whether selected date is
|
|
762
|
-
* @author Shiva Kant
|
|
763
|
-
* @param date
|
|
764
|
-
* @returns
|
|
765
|
-
*/
|
|
766
|
-
isSelectedDate(date: number, month: number, year: number): boolean;
|
|
767
|
-
/**
|
|
768
|
-
* @description Method to Generates time ranges
|
|
769
|
-
* @author Shiva Kant
|
|
770
|
-
*/
|
|
771
|
-
generateTimeRanges(): void;
|
|
772
|
-
/**
|
|
773
|
-
* @description Method to Formats time
|
|
774
|
-
* @author Shiva Kant
|
|
775
|
-
* @param date
|
|
776
|
-
* @returns time
|
|
777
|
-
*/
|
|
778
|
-
formatTime(date: Date): string;
|
|
779
|
-
/**
|
|
780
|
-
* @description Method to Formats date time
|
|
781
|
-
* @author Shiva Kant
|
|
782
|
-
* @param fullDate
|
|
783
|
-
* @param selectedTime
|
|
784
|
-
* @returns date time
|
|
785
|
-
*/
|
|
786
|
-
formatDateTime(fullDate: Date, selectedTime: string | null): string;
|
|
787
|
-
/**
|
|
788
|
-
* @description Method to Emits date time
|
|
789
|
-
* @author Shiva Kant
|
|
790
|
-
* @returns date time
|
|
791
|
-
*/
|
|
792
|
-
emitDateTime(): void;
|
|
793
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerComponent, never>;
|
|
794
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerComponent, "cats-ui-date-time-picker", never, { "dateConfig": { "alias": "dateConfig"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "preSelectedValue": { "alias": "preSelectedValue"; "required": false; }; }, { "dateTimeSelected": "dateTimeSelected"; }, never, never, true, never>;
|
|
795
|
-
}
|
|
796
|
-
|
|
797
609
|
type DatePickerMode = 'single' | 'range' | 'dual';
|
|
798
610
|
interface DatePickerConfig {
|
|
799
611
|
mode?: DatePickerMode;
|
|
@@ -822,7 +634,7 @@ interface DateTimeResult {
|
|
|
822
634
|
meridiem: 'AM' | 'PM';
|
|
823
635
|
}
|
|
824
636
|
type CalenderView = 'day' | 'year' | 'month';
|
|
825
|
-
declare class CustomDatePickerComponent implements OnInit, ControlValueAccessor {
|
|
637
|
+
declare class CustomDatePickerComponent implements OnInit, ControlValueAccessor, OnChanges {
|
|
826
638
|
private elRef;
|
|
827
639
|
config: DatePickerConfig;
|
|
828
640
|
label: string;
|
|
@@ -858,6 +670,7 @@ declare class CustomDatePickerComponent implements OnInit, ControlValueAccessor
|
|
|
858
670
|
activeCalendar: 'primary' | 'secondary';
|
|
859
671
|
monthNames: string[];
|
|
860
672
|
constructor(elRef: ElementRef);
|
|
673
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
861
674
|
ngOnInit(): void;
|
|
862
675
|
get mode(): DatePickerMode;
|
|
863
676
|
get showDateLabel(): boolean;
|
|
@@ -1007,42 +820,6 @@ declare class AccordionItemComponent {
|
|
|
1007
820
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "cats-ui-accordion-item", never, { "title": { "alias": "title"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, ["contentTemplate"], never, true, never>;
|
|
1008
821
|
}
|
|
1009
822
|
|
|
1010
|
-
declare class TabContentDirective {
|
|
1011
|
-
template: TemplateRef<any>;
|
|
1012
|
-
constructor(template: TemplateRef<any>);
|
|
1013
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
|
|
1014
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[tabContent]", never, {}, {}, never, never, true, never>;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
declare class TabHeadingDirective {
|
|
1018
|
-
template: TemplateRef<any>;
|
|
1019
|
-
constructor(template: TemplateRef<any>);
|
|
1020
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabHeadingDirective, never>;
|
|
1021
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabHeadingDirective, "[tabHeading]", never, {}, {}, never, never, true, never>;
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
declare class TabItemComponent {
|
|
1025
|
-
heading: TabHeadingDirective;
|
|
1026
|
-
content: TabContentDirective;
|
|
1027
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabItemComponent, never>;
|
|
1028
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "cats-ui-tab-item", never, {}, {}, ["heading", "content"], never, true, never>;
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
declare class TabComponent {
|
|
1032
|
-
activeTab: number;
|
|
1033
|
-
disabledTabs: number[];
|
|
1034
|
-
selectTab: EventEmitter<number>;
|
|
1035
|
-
items: QueryList<TabItemComponent>;
|
|
1036
|
-
/**
|
|
1037
|
-
* @description Sets active
|
|
1038
|
-
* @author Shiva Kant
|
|
1039
|
-
* @param index
|
|
1040
|
-
*/
|
|
1041
|
-
setActive(index: number): void;
|
|
1042
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
1043
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "cats-ui-tab", never, { "activeTab": { "alias": "activeTab"; "required": false; }; "disabledTabs": { "alias": "disabledTabs"; "required": false; }; }, { "selectTab": "selectTab"; }, ["items"], never, true, never>;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
823
|
declare class TabContentComponent {
|
|
1047
824
|
active: boolean;
|
|
1048
825
|
tabId: number;
|
|
@@ -1093,8 +870,10 @@ interface TimeFilterOption {
|
|
|
1093
870
|
children?: TimeFilterOption[];
|
|
1094
871
|
default?: boolean;
|
|
1095
872
|
custom?: boolean;
|
|
873
|
+
parentDateFormat?: 'dd MMM yyyy' | 'MM/dd/yyyy' | 'yyyy-MM-dd';
|
|
1096
874
|
pickerMode?: DatePickerMode;
|
|
1097
875
|
time?: boolean;
|
|
876
|
+
extraConfig?: Partial<DatePickerConfig>;
|
|
1098
877
|
}
|
|
1099
878
|
interface TimeFilterConfig {
|
|
1100
879
|
title?: string;
|
|
@@ -1104,21 +883,23 @@ interface TimeFilterConfig {
|
|
|
1104
883
|
interface TimeFilterOutput {
|
|
1105
884
|
type: FilterType;
|
|
1106
885
|
label?: string;
|
|
1107
|
-
startDate?:
|
|
1108
|
-
endDate?:
|
|
886
|
+
startDate?: string;
|
|
887
|
+
endDate?: string;
|
|
1109
888
|
value?: number;
|
|
1110
889
|
unit?: 'Hours' | 'Days';
|
|
1111
890
|
key?: string;
|
|
1112
891
|
}
|
|
1113
892
|
declare class TimestampFilterComponent {
|
|
893
|
+
private cdr;
|
|
1114
894
|
config: TimeFilterConfig;
|
|
1115
895
|
selectionChange: EventEmitter<TimeFilterOutput>;
|
|
1116
896
|
selectedValue: string | null;
|
|
1117
897
|
activePicker: TimeFilterOption | null;
|
|
1118
898
|
lastValue: number;
|
|
1119
|
-
lastUnit: '
|
|
899
|
+
lastUnit: 'seconds' | 'minutes' | 'hours' | 'days';
|
|
1120
900
|
get normalOptions(): TimeFilterOption[];
|
|
1121
901
|
get customOptions(): TimeFilterOption[];
|
|
902
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1122
903
|
ngOnInit(): void;
|
|
1123
904
|
getPickerConfig(option: TimeFilterOption): DatePickerConfig;
|
|
1124
905
|
selectOption(option: TimeFilterOption): void;
|
|
@@ -1131,7 +912,7 @@ declare class TimestampFilterComponent {
|
|
|
1131
912
|
reset(): void;
|
|
1132
913
|
private emit;
|
|
1133
914
|
onDateApplied(event: any): void;
|
|
1134
|
-
|
|
915
|
+
onCancel(event: any): void;
|
|
1135
916
|
static ɵfac: i0.ɵɵFactoryDeclaration<TimestampFilterComponent, never>;
|
|
1136
917
|
static ɵcmp: i0.ɵɵComponentDeclaration<TimestampFilterComponent, "cats-ui-timestamp-filter", never, { "config": { "alias": "config"; "required": true; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
1137
918
|
}
|
|
@@ -1171,12 +952,13 @@ declare class WizardComponent {
|
|
|
1171
952
|
showStepBadge: boolean;
|
|
1172
953
|
expandable: boolean;
|
|
1173
954
|
isExpanded: boolean;
|
|
1174
|
-
toggleExpand(): void;
|
|
1175
955
|
steps: any;
|
|
1176
956
|
activeStep: any;
|
|
1177
957
|
templates: WizardStepDirective[];
|
|
1178
958
|
constructor(commonService: WizardService);
|
|
1179
959
|
ngAfterContentInit(): void;
|
|
960
|
+
toggleExpand(): void;
|
|
961
|
+
onEscPressed(): void;
|
|
1180
962
|
get currentStepIndex(): number;
|
|
1181
963
|
get wizardSteps(): any[];
|
|
1182
964
|
get currentTemplate(): i0.TemplateRef<any>;
|
|
@@ -1185,8 +967,8 @@ declare class WizardComponent {
|
|
|
1185
967
|
goToStep(step: number): void;
|
|
1186
968
|
closeModal(): void;
|
|
1187
969
|
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
|
|
1188
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "cats-ui-wizard", never, { "wizardId": { "alias": "wizardId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showStepBadge": { "alias": "showStepBadge"; "required": false; };
|
|
970
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "cats-ui-wizard", never, { "wizardId": { "alias": "wizardId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showProgressBar": { "alias": "showProgressBar"; "required": false; }; "showStepBadge": { "alias": "showStepBadge"; "required": false; }; }, { "closed": "closed"; }, ["stepTemplates"], never, true, never>;
|
|
1189
971
|
}
|
|
1190
972
|
|
|
1191
|
-
export { AccordionComponent, AccordionItemComponent, AutoCompleteMultiSelectComponent, AutoCompleteMultiSelectConfig, AutoCompleteSingleSelectComponent, AutoCompleteSingleSelectConfig, CatsUiService, CatsUiTooltipDirective, CheckBoxConfig, CheckBoxSubtask, CheckboxButtonComponent, CustomDatePickerComponent, DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALUE_VALIDATOR,
|
|
1192
|
-
export type { CalenderView,
|
|
973
|
+
export { AccordionComponent, AccordionItemComponent, AutoCompleteMultiSelectComponent, AutoCompleteMultiSelectConfig, AutoCompleteSingleSelectComponent, AutoCompleteSingleSelectConfig, CatsUiService, CatsUiTooltipDirective, CheckBoxConfig, CheckBoxSubtask, CheckboxButtonComponent, CustomDatePickerComponent, DROPDOWN_CONTROL_VALUE_ACCESSOR, DROPDOWN_CONTROL_VALUE_VALIDATOR, InputComponent, InputConfig, MULTI_SELECT_CONTROL_VALUE_ACCESSOR, MULTI_SELECT_CONTROL_VALUE_VALIDATOR, MultiSelectComponent, MultiSelectConfig, OutsideClickDirective, RadioButtonComponent, SINGLE_SELECT_CONTROL_VALUE_ACCESSOR, SINGLE_SELECT_CONTROL_VALUE_VALIDATOR, SearchBoxComponent, SearchConfig, SingleSelectComponent, SingleSelectConfig, TabContentComponent, TabsetComponent, TimestampFilterComponent, ToggleConfig, ToogleButtonComponent, WizardComponent, WizardService, WizardStepDirective };
|
|
974
|
+
export type { CalenderView, DatePickerConfig, DatePickerMode, DateRange, DateTimeResult, FilterType, RadioButtonConfig, TabConfig, TabItem, TimeFilterConfig, TimeFilterOption, TimeFilterOutput };
|
package/package.json
CHANGED
package/styles/_utilities.scss
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
// ------------------Button Styles--------------------
|
|
20
|
-
button.
|
|
20
|
+
button.cats-btn {
|
|
21
21
|
border: rem(1px) solid transparent;
|
|
22
22
|
padding: 0 rem(28px);
|
|
23
23
|
height: rem(56px);
|
|
@@ -805,11 +805,24 @@ button.button {
|
|
|
805
805
|
}
|
|
806
806
|
|
|
807
807
|
// ------------------Checkbox Styles--------------------
|
|
808
|
-
.checkbox-container
|
|
808
|
+
.checkbox-container,
|
|
809
|
+
.item, .multiitem {
|
|
809
810
|
@include flex(flex-start, center, rem(8px));
|
|
810
811
|
@include fontStyle(var(--fs-16), rem(20px), 400);
|
|
811
812
|
margin-bottom: rem(8px);
|
|
812
813
|
color: var(--text-heading-primary);
|
|
814
|
+
&.disabled-option{
|
|
815
|
+
input[type="checkbox"]:checked{
|
|
816
|
+
background-color: var(--surface-background-subtle);
|
|
817
|
+
border-color: var(--border-core-default);
|
|
818
|
+
&::after{
|
|
819
|
+
background-image: url(/images/check-disabled.svg);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
&::selection{
|
|
823
|
+
background-color: transparent;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
813
826
|
|
|
814
827
|
input[type="checkbox"] {
|
|
815
828
|
appearance: none;
|