@coreui/angular-pro 4.0.2 → 4.1.0-next.2
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 +154 -152
- package/esm2020/lib/calendar/calendar/calendar-class-view.pipe.mjs +19 -0
- package/esm2020/lib/calendar/calendar/calendar.component.mjs +366 -0
- package/esm2020/lib/calendar/calendar-month/calendar-class-day.pipe.mjs +28 -0
- package/esm2020/lib/calendar/calendar-month/calendar-class-month.pipe.mjs +21 -0
- package/esm2020/lib/calendar/calendar-month/calendar-class-year.pipe.mjs +21 -0
- package/esm2020/lib/calendar/calendar-month/calendar-day.directive.mjs +81 -0
- package/esm2020/lib/calendar/calendar-month/calendar-day.pipe.mjs +18 -0
- package/esm2020/lib/calendar/calendar-month/calendar-month.component.mjs +320 -0
- package/esm2020/lib/calendar/calendar-month/calendar-weekday.pipe.mjs +20 -0
- package/esm2020/lib/calendar/calendar-navigation/calendar-navigation.component.mjs +79 -0
- package/esm2020/lib/calendar/calendar.module.mjs +61 -0
- package/esm2020/lib/calendar/calendar.service.mjs +58 -0
- package/esm2020/lib/calendar/calendar.utils.mjs +270 -0
- package/esm2020/lib/calendar/index.mjs +2 -0
- package/esm2020/lib/calendar/public_api.mjs +5 -0
- package/esm2020/lib/date-range-picker/date-range-picker/date-range-picker.component.mjs +496 -0
- package/esm2020/lib/date-range-picker/date-range-picker.module.mjs +59 -0
- package/esm2020/lib/date-range-picker/end-date.directive.mjs +17 -0
- package/esm2020/lib/date-range-picker/index.mjs +2 -0
- package/esm2020/lib/date-range-picker/public_api.mjs +3 -0
- package/esm2020/lib/date-range-picker/start-date.directive.mjs +17 -0
- package/esm2020/lib/dropdown/dropdown/dropdown.component.mjs +1 -1
- package/esm2020/lib/multi-select/multi-select/multi-select.component.mjs +4 -1
- package/esm2020/lib/smart-table/smart-table/smart-table.component.mjs +51 -26
- package/esm2020/lib/smart-table/smart-table-filter/smart-table-filter.component.mjs +9 -6
- package/esm2020/lib/smart-table/smart-table-head/smart-table-head.component.mjs +7 -2
- package/esm2020/public-api.mjs +3 -1
- package/fesm2015/coreui-angular-pro.mjs +3911 -2012
- package/fesm2015/coreui-angular-pro.mjs.map +1 -1
- package/fesm2020/coreui-angular-pro.mjs +3869 -1983
- package/fesm2020/coreui-angular-pro.mjs.map +1 -1
- package/lib/calendar/calendar/calendar-class-view.pipe.d.ts +7 -0
- package/lib/calendar/calendar/calendar.component.d.ts +155 -0
- package/lib/calendar/calendar-month/calendar-class-day.pipe.d.ts +15 -0
- package/lib/calendar/calendar-month/calendar-class-month.pipe.d.ts +7 -0
- package/lib/calendar/calendar-month/calendar-class-year.pipe.d.ts +7 -0
- package/lib/calendar/calendar-month/calendar-day.directive.d.ts +29 -0
- package/lib/calendar/calendar-month/calendar-day.pipe.d.ts +8 -0
- package/lib/calendar/calendar-month/calendar-month.component.d.ts +121 -0
- package/lib/calendar/calendar-month/calendar-weekday.pipe.d.ts +8 -0
- package/lib/calendar/calendar-navigation/calendar-navigation.component.d.ts +30 -0
- package/lib/calendar/calendar.module.d.ts +18 -0
- package/lib/calendar/calendar.service.d.ts +33 -0
- package/lib/calendar/calendar.utils.d.ts +26 -0
- package/lib/calendar/index.d.ts +1 -0
- package/lib/calendar/public_api.d.ts +4 -0
- package/lib/date-range-picker/date-range-picker/date-range-picker.component.d.ts +233 -0
- package/lib/date-range-picker/date-range-picker.module.d.ts +16 -0
- package/lib/date-range-picker/end-date.directive.d.ts +8 -0
- package/lib/date-range-picker/index.d.ts +1 -0
- package/lib/date-range-picker/public_api.d.ts +2 -0
- package/lib/date-range-picker/start-date.directive.d.ts +8 -0
- package/lib/smart-table/smart-table/smart-table.component.d.ts +8 -5
- package/lib/smart-table/smart-table-filter/smart-table-filter.component.d.ts +3 -2
- package/package.json +2 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
4
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
|
+
import { Colors } from '../../coreui.types';
|
|
6
|
+
import { CalendarComponent } from '../../calendar';
|
|
7
|
+
import { DateFilterType, DayFormatType, WeekdayFormatType } from '../../calendar/calendar.service';
|
|
8
|
+
import { StartDateDirective } from '../start-date.directive';
|
|
9
|
+
import { EndDateDirective } from '../end-date.directive';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export interface ICalendarRange {
|
|
12
|
+
[key: string]: Date[];
|
|
13
|
+
}
|
|
14
|
+
export declare type TCustomRange = [string, Date[]];
|
|
15
|
+
/** Must be a valid date string */
|
|
16
|
+
export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor {
|
|
17
|
+
private breakpointObserver;
|
|
18
|
+
static ngAcceptInputType_disabled: BooleanInput;
|
|
19
|
+
static ngAcceptInputType_navYearFirst: BooleanInput;
|
|
20
|
+
constructor(breakpointObserver: BreakpointObserver);
|
|
21
|
+
/**
|
|
22
|
+
* Set the format of day name.
|
|
23
|
+
* @default 'numeric'
|
|
24
|
+
* @type DayFormatType
|
|
25
|
+
*/
|
|
26
|
+
dayFormat: DayFormatType;
|
|
27
|
+
/**
|
|
28
|
+
* The number of calendars that render on desktop devices.
|
|
29
|
+
* @type number
|
|
30
|
+
* @default 2
|
|
31
|
+
*/
|
|
32
|
+
set calendars(value: number);
|
|
33
|
+
get calendars(): number;
|
|
34
|
+
private _calendars;
|
|
35
|
+
/**
|
|
36
|
+
* Toggle visibility or set the content of the cleaner button.
|
|
37
|
+
* @type boolean
|
|
38
|
+
* @default true
|
|
39
|
+
*/
|
|
40
|
+
set cleaner(value: boolean);
|
|
41
|
+
get cleaner(): boolean;
|
|
42
|
+
private _cleaner;
|
|
43
|
+
/**
|
|
44
|
+
* Set date format.
|
|
45
|
+
* We use date-fns to format dates. Visit https://date-fns.org/v2.28.0/docs/format to check accepted patterns.
|
|
46
|
+
*/
|
|
47
|
+
format?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Toggle visibility or set the content of the input indicator.
|
|
50
|
+
* @type boolean
|
|
51
|
+
* @default true
|
|
52
|
+
*/
|
|
53
|
+
set indicator(value: boolean);
|
|
54
|
+
get indicator(): boolean;
|
|
55
|
+
private _indicator;
|
|
56
|
+
/**
|
|
57
|
+
* Toggle the readonly state for the component.
|
|
58
|
+
* @type boolean
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
set inputReadOnly(value: boolean);
|
|
62
|
+
get inputReadOnly(): boolean;
|
|
63
|
+
private _inputReadOnly;
|
|
64
|
+
/**
|
|
65
|
+
* Reorder year-month navigation, and render year first.
|
|
66
|
+
* @type boolean
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
set navYearFirst(value: boolean);
|
|
70
|
+
get navYearFirst(): boolean;
|
|
71
|
+
private _navYearFirst;
|
|
72
|
+
/**
|
|
73
|
+
* Specifies short hints that are visible in start date and end date inputs.
|
|
74
|
+
* type string
|
|
75
|
+
*/
|
|
76
|
+
placeholder: string | string[];
|
|
77
|
+
/**
|
|
78
|
+
* Predefined date ranges the user can select from.
|
|
79
|
+
* @type ICalendarRange
|
|
80
|
+
*/
|
|
81
|
+
ranges?: object;
|
|
82
|
+
/**
|
|
83
|
+
* Sets the color context of the cancel button to one of CoreUI’s themed colors.
|
|
84
|
+
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
85
|
+
* @default 'secondary'
|
|
86
|
+
*/
|
|
87
|
+
rangesButtonsColor?: Colors;
|
|
88
|
+
/**
|
|
89
|
+
* Size the ranges button small or large.
|
|
90
|
+
* @type 'sm' | 'lg' | undefined
|
|
91
|
+
*/
|
|
92
|
+
rangesButtonsSize?: 'sm' | 'lg';
|
|
93
|
+
/**
|
|
94
|
+
* Set the ranges button variant to an outlined button or a ghost button.
|
|
95
|
+
* @type 'outline' | 'ghost' | undefined
|
|
96
|
+
*/
|
|
97
|
+
rangesButtonsVariant?: 'outline' | 'ghost';
|
|
98
|
+
/**
|
|
99
|
+
* Default icon or character that separates two dates.
|
|
100
|
+
* @type boolean
|
|
101
|
+
* @default true
|
|
102
|
+
*/
|
|
103
|
+
set separator(value: boolean);
|
|
104
|
+
get separator(): boolean;
|
|
105
|
+
private _separator;
|
|
106
|
+
/**
|
|
107
|
+
* Size the component small or large.
|
|
108
|
+
* @type 'sm' | 'lg' | undefined
|
|
109
|
+
* @default undefined
|
|
110
|
+
*/
|
|
111
|
+
size?: 'sm' | 'lg';
|
|
112
|
+
/**
|
|
113
|
+
* Provide an additional time selection by adding select boxes to choose time.
|
|
114
|
+
* @type boolean
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
set timepicker(value: boolean);
|
|
118
|
+
get timepicker(): boolean;
|
|
119
|
+
private _timepicker;
|
|
120
|
+
/**
|
|
121
|
+
* Toggle visibility or set the content of today button.
|
|
122
|
+
* @type string
|
|
123
|
+
* @default 'Today'
|
|
124
|
+
*/
|
|
125
|
+
todayButton: string;
|
|
126
|
+
/**
|
|
127
|
+
* Sets the color context of the today button to one of CoreUI’s themed colors.
|
|
128
|
+
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
129
|
+
* @default 'primary'
|
|
130
|
+
*/
|
|
131
|
+
todayButtonColor: Colors;
|
|
132
|
+
/**
|
|
133
|
+
* Size the today button small or large.
|
|
134
|
+
* @type 'sm' | 'lg'
|
|
135
|
+
* @default 'sm'
|
|
136
|
+
*/
|
|
137
|
+
todayButtonSize: 'sm' | 'lg';
|
|
138
|
+
/**
|
|
139
|
+
* Set the today button variant to an outlined button or a ghost button.
|
|
140
|
+
* @type 'outline' | 'ghost' | undefined
|
|
141
|
+
*/
|
|
142
|
+
todayButtonVariant?: 'outline' | 'ghost';
|
|
143
|
+
/**
|
|
144
|
+
* Toggle the visibility of the component.
|
|
145
|
+
* @type boolean
|
|
146
|
+
* @default false
|
|
147
|
+
*/
|
|
148
|
+
set visible(value: boolean);
|
|
149
|
+
get visible(): boolean;
|
|
150
|
+
private _visible;
|
|
151
|
+
startDate?: Date | null;
|
|
152
|
+
endDate?: Date | null;
|
|
153
|
+
calendarDate?: Date;
|
|
154
|
+
disabledDates: Date[] | Date[][];
|
|
155
|
+
set firstDayOfWeek(value: number);
|
|
156
|
+
get firstDayOfWeek(): number;
|
|
157
|
+
private _firstDayOfWeek;
|
|
158
|
+
locale: string;
|
|
159
|
+
maxDate: Date | null;
|
|
160
|
+
minDate: Date | null;
|
|
161
|
+
set navigation(value: boolean);
|
|
162
|
+
get navigation(): boolean;
|
|
163
|
+
private _navigation;
|
|
164
|
+
/**
|
|
165
|
+
* Allow range selection.
|
|
166
|
+
* @type boolean
|
|
167
|
+
* @default false
|
|
168
|
+
*/
|
|
169
|
+
set range(value: boolean);
|
|
170
|
+
get range(): boolean;
|
|
171
|
+
private _range;
|
|
172
|
+
dateFilter?: DateFilterType;
|
|
173
|
+
set disabled(value: boolean);
|
|
174
|
+
get disabled(): boolean;
|
|
175
|
+
private _disabled;
|
|
176
|
+
set value(value: Date[]);
|
|
177
|
+
get value(): Date[];
|
|
178
|
+
private _value;
|
|
179
|
+
/**
|
|
180
|
+
* Set length or format of day name.
|
|
181
|
+
* @type WeekdayFormatType
|
|
182
|
+
* @default 'short'
|
|
183
|
+
*/
|
|
184
|
+
weekdayFormat: WeekdayFormatType;
|
|
185
|
+
readonly valueChange: EventEmitter<Date | Date[] | undefined>;
|
|
186
|
+
calendarCellHover: EventEmitter<Date | null>;
|
|
187
|
+
calendarDateChange: EventEmitter<Date>;
|
|
188
|
+
endDateChange: EventEmitter<Date | null>;
|
|
189
|
+
startDateChange: EventEmitter<Date | null>;
|
|
190
|
+
calendarComponent: CalendarComponent;
|
|
191
|
+
startDateDirective: StartDateDirective;
|
|
192
|
+
endDateDirective: EndDateDirective;
|
|
193
|
+
isMobile: boolean;
|
|
194
|
+
customRanges: TCustomRange[];
|
|
195
|
+
set startDateValue(value: string);
|
|
196
|
+
get startDateValue(): string;
|
|
197
|
+
private _startDateValue;
|
|
198
|
+
set endDateValue(value: string);
|
|
199
|
+
get endDateValue(): string;
|
|
200
|
+
_endDateValue: string;
|
|
201
|
+
startDatePlaceholder: string;
|
|
202
|
+
endDatePlaceholder: string;
|
|
203
|
+
private layoutChanges;
|
|
204
|
+
startDateInput: FormControl;
|
|
205
|
+
endDateInput: FormControl;
|
|
206
|
+
dateRangeGroup: FormGroup;
|
|
207
|
+
set inputStartHoverValue(value: Date | null);
|
|
208
|
+
get inputStartHoverValue(): Date | null;
|
|
209
|
+
private _inputStartHoverValue;
|
|
210
|
+
set inputEndHoverValue(value: Date | null);
|
|
211
|
+
get inputEndHoverValue(): Date | null;
|
|
212
|
+
private _inputEndHoverValue;
|
|
213
|
+
ngOnInit(): void;
|
|
214
|
+
ngOnDestroy(): void;
|
|
215
|
+
getCustomRangeKey(customRange: any): any;
|
|
216
|
+
setCustomRange(customRange: any): void;
|
|
217
|
+
handleCalendarCellHover($event: Date | null): void;
|
|
218
|
+
handleCalendarDateChange($event: Date): void;
|
|
219
|
+
handleStartDateChange(date: Date | null): void;
|
|
220
|
+
handleEndDateChange(date: Date | null): void;
|
|
221
|
+
handleClear($event: MouseEvent): void;
|
|
222
|
+
handleStartDateInputChange($event: any): void;
|
|
223
|
+
handleEndDateInputChange($event: any): void;
|
|
224
|
+
forbiddenDate(date: Date): boolean | undefined;
|
|
225
|
+
setInputValue: (elementRef: ElementRef, date: Date | null) => void;
|
|
226
|
+
onChange: any;
|
|
227
|
+
registerOnChange(fn: any): void;
|
|
228
|
+
registerOnTouched(fn: any): void;
|
|
229
|
+
setDisabledState(isDisabled: boolean): void;
|
|
230
|
+
writeValue(value: (Date[])): void;
|
|
231
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerComponent, never>;
|
|
232
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerComponent, "c-date-range-picker", ["cDateRangePicker"], { "dayFormat": "dayFormat"; "calendars": "calendars"; "cleaner": "cleaner"; "format": "format"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "navYearFirst": "navYearFirst"; "placeholder": "placeholder"; "ranges": "ranges"; "rangesButtonsColor": "rangesButtonsColor"; "rangesButtonsSize": "rangesButtonsSize"; "rangesButtonsVariant": "rangesButtonsVariant"; "separator": "separator"; "size": "size"; "timepicker": "timepicker"; "todayButton": "todayButton"; "todayButtonColor": "todayButtonColor"; "todayButtonSize": "todayButtonSize"; "todayButtonVariant": "todayButtonVariant"; "visible": "visible"; "startDate": "startDate"; "endDate": "endDate"; "calendarDate": "calendarDate"; "disabledDates": "disabledDates"; "firstDayOfWeek": "firstDayOfWeek"; "locale": "locale"; "maxDate": "maxDate"; "minDate": "minDate"; "navigation": "navigation"; "range": "range"; "dateFilter": "dateFilter"; "disabled": "disabled"; "value": "value"; "weekdayFormat": "weekdayFormat"; }, { "valueChange": "valueChange"; "calendarCellHover": "calendarCellHover"; "calendarDateChange": "calendarDateChange"; "endDateChange": "endDateChange"; "startDateChange": "startDateChange"; }, never, ["*"]>;
|
|
233
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./date-range-picker/date-range-picker.component";
|
|
3
|
+
import * as i2 from "./start-date.directive";
|
|
4
|
+
import * as i3 from "./end-date.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "../button/button.module";
|
|
8
|
+
import * as i7 from "../calendar/calendar.module";
|
|
9
|
+
import * as i8 from "../shared/shared.module";
|
|
10
|
+
import * as i9 from "../form/form.module";
|
|
11
|
+
import * as i10 from "../dropdown/dropdown.module";
|
|
12
|
+
export declare class DateRangePickerModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangePickerModule, [typeof i1.DateRangePickerComponent, typeof i2.StartDateDirective, typeof i3.EndDateDirective], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ButtonModule, typeof i7.CalendarModule, typeof i8.SharedModule, typeof i9.FormModule, typeof i10.DropdownModule], [typeof i1.DateRangePickerComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DateRangePickerModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EndDateDirective {
|
|
4
|
+
elementRef: ElementRef;
|
|
5
|
+
constructor(elementRef: ElementRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EndDateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EndDateDirective, "[cEndDate]", ["cEndDate"], {}, {}, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public_api';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class StartDateDirective {
|
|
4
|
+
elementRef: ElementRef;
|
|
5
|
+
constructor(elementRef: ElementRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StartDateDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StartDateDirective, "[cStartDate]", ["cStartDate"], {}, {}, never>;
|
|
8
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { AfterContentInit, EventEmitter, IterableDiffers, QueryList, TemplateRef } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, EventEmitter, IterableDiffers, KeyValueDiffers, OnChanges, QueryList, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
2
|
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
3
3
|
import { ITable } from '../../table/table.type';
|
|
4
4
|
import { IColumnFilter, IColumnFilterValue, IItem, IItemInternal, ISmartTable, ISorter, ISorterValue, ITableFilter, ITableGroupProps, ItemsPerPageSelect } from '../smart-table.type';
|
|
5
5
|
import { TemplateIdDirective } from '../../shared';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SmartTableComponent implements ISmartTable, AfterContentInit {
|
|
8
|
-
private
|
|
7
|
+
export declare class SmartTableComponent implements ISmartTable, AfterContentInit, OnChanges {
|
|
8
|
+
private iterableDiffers;
|
|
9
|
+
private keyValueDiffers;
|
|
9
10
|
static ngAcceptInputType_activePage: NumberInput;
|
|
10
11
|
static ngAcceptInputType_cleaner: BooleanInput;
|
|
11
12
|
static ngAcceptInputType_clickableRows: BooleanInput;
|
|
@@ -14,8 +15,9 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
14
15
|
static ngAcceptInputType_itemsPerPage: NumberInput;
|
|
15
16
|
static ngAcceptInputType_pagination: BooleanInput;
|
|
16
17
|
static ngAcceptInputType_selectable: BooleanInput;
|
|
17
|
-
constructor(
|
|
18
|
+
constructor(iterableDiffers: IterableDiffers, keyValueDiffers: KeyValueDiffers);
|
|
18
19
|
private iterableDiffer;
|
|
20
|
+
private columFilterValueDiffer;
|
|
19
21
|
set activePage(value: number);
|
|
20
22
|
get activePage(): number;
|
|
21
23
|
private _activePage;
|
|
@@ -108,7 +110,7 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
108
110
|
handleSorterChange(column: string, index: number): void;
|
|
109
111
|
setActivePage($event: number): void;
|
|
110
112
|
handleColumnFilterChange($event: any): void;
|
|
111
|
-
handleTableFilterChange($event:
|
|
113
|
+
handleTableFilterChange($event: any): void;
|
|
112
114
|
clean($event: MouseEvent): void;
|
|
113
115
|
handleItemsPerPageChange(value: number): void;
|
|
114
116
|
handleRowChecked($event: Event, item: IItemInternal): void;
|
|
@@ -125,6 +127,7 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
|
|
|
125
127
|
item: IItemInternal;
|
|
126
128
|
i: number;
|
|
127
129
|
}): void;
|
|
130
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
128
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableComponent, never>;
|
|
129
132
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableComponent, "c-smart-table", ["cSmartTable"], { "activePage": "activePage"; "cleaner": "cleaner"; "clickableRows": "clickableRows"; "columns": "columns"; "columnFilter": "columnFilter"; "columnFilterValue": "columnFilterValue"; "columnSorter": "columnSorter"; "footer": "footer"; "header": "header"; "items": "items"; "itemsPerPage": "itemsPerPage"; "itemsPerPageLabel": "itemsPerPageLabel"; "itemsPerPageOptions": "itemsPerPageOptions"; "itemsPerPageSelect": "itemsPerPageSelect"; "loading": "loading"; "noItemsLabel": "noItemsLabel"; "pagination": "pagination"; "selectable": "selectable"; "sorterValue": "sorterValue"; "tableFilter": "tableFilter"; "tableFilterLabel": "tableFilterLabel"; "tableFilterPlaceholder": "tableFilterPlaceholder"; "tableFilterValue": "tableFilterValue"; "tableBodyProps": "tableBodyProps"; "tableFootProps": "tableFootProps"; "tableHeadProps": "tableHeadProps"; "tableProps": "tableProps"; }, { "selectedItemsChange": "selectedItemsChange"; "sorterValueChange": "sorterValueChange"; "activePageChange": "activePageChange"; "itemsPerPageChange": "itemsPerPageChange"; "rowClick": "rowClick"; "columnFilterValueChange": "columnFilterValueChange"; "filteredItemsChange": "filteredItemsChange"; "tableFilterValueChange": "tableFilterValueChange"; }, ["columnTemplates"], never>;
|
|
130
133
|
}
|
|
@@ -6,10 +6,11 @@ export declare class SmartTableFilterComponent {
|
|
|
6
6
|
filterPlaceholder: string;
|
|
7
7
|
set value(value: string);
|
|
8
8
|
get value(): string;
|
|
9
|
+
valueChange: EventEmitter<any>;
|
|
9
10
|
private _value;
|
|
10
|
-
|
|
11
|
+
private eventType;
|
|
11
12
|
get hostClasses(): any;
|
|
12
|
-
|
|
13
|
+
handleTableFilterChange($event: Event): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableFilterComponent, never>;
|
|
14
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartTableFilterComponent, "c-smart-table-filter", never, { "filterLabel": "filterLabel"; "filterPlaceholder": "filterPlaceholder"; "value": "value"; }, { "valueChange": "valueChange"; }, never, never>;
|
|
15
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/angular-pro",
|
|
3
|
-
"version": "4.0.2",
|
|
3
|
+
"version": "4.1.0-next.2",
|
|
4
4
|
"description": "CoreUI Pro Components Library for Angular",
|
|
5
5
|
"homepage": "https://coreui.io/angular",
|
|
6
6
|
"author": {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@popperjs/core": "~2.11.5",
|
|
20
|
+
"date-fns": "^2.28.0",
|
|
20
21
|
"tslib": "^2.3.0"
|
|
21
22
|
},
|
|
22
23
|
"peerDependencies": {
|
package/public-api.d.ts
CHANGED
|
@@ -7,10 +7,12 @@ export * from './lib/badge';
|
|
|
7
7
|
export * from './lib/breadcrumb';
|
|
8
8
|
export * from './lib/button';
|
|
9
9
|
export * from './lib/button-group';
|
|
10
|
+
export * from './lib/calendar';
|
|
10
11
|
export * from './lib/callout';
|
|
11
12
|
export * from './lib/card';
|
|
12
13
|
export * from './lib/carousel';
|
|
13
14
|
export * from './lib/collapse';
|
|
15
|
+
export * from './lib/date-range-picker';
|
|
14
16
|
export * from './lib/dropdown';
|
|
15
17
|
export * from './lib/element-cover';
|
|
16
18
|
export * from './lib/footer';
|