@coreui/angular-pro 4.2.36 → 4.2.38

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.
@@ -11,7 +11,7 @@ export interface ICalendarState {
11
11
  endDate?: Date | null;
12
12
  maxDate?: Date | null;
13
13
  minDate?: Date | null;
14
- disabledDates?: Date[] | Date[][];
14
+ disabledDates?: (Date | Date[])[];
15
15
  range?: boolean;
16
16
  view?: string;
17
17
  locale?: string;
@@ -23,7 +23,7 @@ export interface ICalendarState {
23
23
  export declare class CalendarService {
24
24
  private keyValueDiffers;
25
25
  constructor(keyValueDiffers: KeyValueDiffers);
26
- private differ;
26
+ private readonly differ;
27
27
  calendarStateObject: ICalendarState;
28
28
  private calendarState;
29
29
  calendarState$: import("rxjs").Observable<ICalendarState>;
@@ -11,7 +11,7 @@ export declare const getMonthDetails: (year: number, month: number, firstDayOfWe
11
11
  date: Date;
12
12
  month: string;
13
13
  }[][];
14
- export declare const isDateDisabled: (date: Date | null, min?: Date | null, max?: Date | null, dates?: Date[] | Date[][]) => boolean | undefined;
14
+ export declare const isDateDisabled: (date: Date | null, min?: Date | null, max?: Date | null, dates?: (Date | Date[])[]) => boolean | undefined;
15
15
  export declare const isDateInRange: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
16
16
  export declare const isDateSelected: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
17
17
  export declare const isEndDate: (date: Date | null, start: Date | null, end: Date | null) => boolean | null;
@@ -23,4 +23,4 @@ export declare const isThisMonth: (date: Date, index: number) => boolean;
23
23
  export declare const isThisYear: (year: number) => boolean;
24
24
  export declare const isValidDate: (date: Date | string | number) => boolean;
25
25
  export declare const tryDate: (value: string | number | Date, propName?: string) => Date;
26
- export declare const isDateInRangeDisabled: (startDate?: Date | null, endDate?: Date | null, dates?: Date[] | Date[][]) => boolean;
26
+ export declare const isDateInRangeDisabled: (startDate?: Date | null, endDate?: Date | null, dates?: (Date | Date[])[]) => boolean;
@@ -143,5 +143,5 @@ export declare class SmartTableComponent implements ISmartTable, AfterContentIni
143
143
  }): void;
144
144
  ngOnChanges(changes: SimpleChanges): void;
145
145
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartTableComponent, never>;
146
- 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, false>;
146
+ 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"], ["[customHeader]"], false>;
147
147
  }
@@ -22,7 +22,9 @@ export declare class SmartTableHeadComponent implements OnInit {
22
22
  tfoot: boolean;
23
23
  };
24
24
  ngOnInit(): void;
25
- tableHeaderCellProps(column: IColumn | string): {};
25
+ tableHeaderCellProps(column: IColumn | string): {
26
+ [key: string]: any;
27
+ };
26
28
  tableHeaderCellColor(column: IColumn | string): string | undefined;
27
29
  tableHeaderCellStyles(column: IColumn | string): any;
28
30
  columnLabel(column: IColumn | string): string;
@@ -231,6 +231,7 @@ export interface ITableHeaderCellProps {
231
231
  * @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
232
232
  */
233
233
  color?: Colors;
234
+ [key: string]: any;
234
235
  }
235
236
  export interface ISorter {
236
237
  resetable?: boolean;
@@ -58,9 +58,9 @@ export interface ITable {
58
58
  export interface ITableElementProps {
59
59
  /**
60
60
  * Set the vertical alignment.
61
- @type string
61
+ @type 'bottom' | 'middle' | 'top'
62
62
  */
63
- align?: 'bottom' | 'middle' | 'top';
63
+ align?: ('bottom' | 'middle' | 'top');
64
64
  /**
65
65
  * Sets the color context of the component to one of CoreUI’s themed colors.
66
66
  * @type Colors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.2.36",
3
+ "version": "4.2.38",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "homepage": "https://coreui.io/angular",
6
6
  "author": {