@smartsoft001/angular 2.91.0 → 2.93.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/fesm2022/smartsoft001-angular.mjs +11 -12
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/index.d.ts +10 -11
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -7,8 +7,7 @@ import { Observable, MonoTypeOperatorFunction, Subject, Subscription } from 'rxj
|
|
|
7
7
|
import { IEntity, IAddress, IDateRange } from '@smartsoft001/domain-core';
|
|
8
8
|
import * as _smartsoft001_models from '@smartsoft001/models';
|
|
9
9
|
import { IFieldOptions, IModelOptions, FieldTypeDef } from '@smartsoft001/models';
|
|
10
|
-
import
|
|
11
|
-
import moment__default from 'moment';
|
|
10
|
+
import moment from 'moment';
|
|
12
11
|
import * as i1 from '@ngx-translate/core';
|
|
13
12
|
import { TranslateService } from '@ngx-translate/core';
|
|
14
13
|
import * as i2 from 'ngx-cookie';
|
|
@@ -1658,12 +1657,12 @@ declare const enum FilterBtnConstants {
|
|
|
1658
1657
|
lastMonth = "LastMonth"
|
|
1659
1658
|
}
|
|
1660
1659
|
interface SubjectType {
|
|
1661
|
-
date:
|
|
1660
|
+
date: moment.Moment;
|
|
1662
1661
|
event: any;
|
|
1663
1662
|
}
|
|
1664
1663
|
interface CalendarState {
|
|
1665
|
-
dateFrom:
|
|
1666
|
-
dateTo:
|
|
1664
|
+
dateFrom: moment.Moment;
|
|
1665
|
+
dateTo: moment.Moment;
|
|
1667
1666
|
scrollPosition: number;
|
|
1668
1667
|
selectedButtonName: FilterBtnConstants;
|
|
1669
1668
|
}
|
|
@@ -1677,7 +1676,7 @@ declare class DateRangeModalComponent implements OnInit, AfterContentInit {
|
|
|
1677
1676
|
private elementRef;
|
|
1678
1677
|
showFilterBtns: i0.InputSignal<boolean>;
|
|
1679
1678
|
restrictSelectionTo: i0.InputSignal<number>;
|
|
1680
|
-
currentDate:
|
|
1679
|
+
currentDate: moment.Moment;
|
|
1681
1680
|
dateForm: UntypedFormGroup;
|
|
1682
1681
|
calendar: month[];
|
|
1683
1682
|
selectedButtonName: FilterBtnConstants;
|
|
@@ -1694,16 +1693,16 @@ declare class DateRangeModalComponent implements OnInit, AfterContentInit {
|
|
|
1694
1693
|
private setPreviousStateData;
|
|
1695
1694
|
noop(): void;
|
|
1696
1695
|
when: (cond: boolean, fn: () => void) => void;
|
|
1697
|
-
setStartDate: (date:
|
|
1698
|
-
setEndDate: (date:
|
|
1696
|
+
setStartDate: (date: moment.Moment, formattedDate: string) => void;
|
|
1697
|
+
setEndDate: (date: moment.Moment, formattedDate: string) => void;
|
|
1699
1698
|
resetDates: () => void;
|
|
1700
1699
|
canSelectionBeRestricted: () => boolean;
|
|
1701
1700
|
showRestrictSelectionAlertAndResetDates: () => void;
|
|
1702
1701
|
isSelectionInRestrictedRange(): boolean;
|
|
1703
1702
|
private formatDate;
|
|
1704
|
-
isInRange(day:
|
|
1705
|
-
isSelectionStart(day:
|
|
1706
|
-
isSelectionEnd(day:
|
|
1703
|
+
isInRange(day: moment.Moment): boolean;
|
|
1704
|
+
isSelectionStart(day: moment.Moment): boolean;
|
|
1705
|
+
isSelectionEnd(day: moment.Moment): boolean;
|
|
1707
1706
|
isStartAndEndDateSame(): boolean;
|
|
1708
1707
|
selectThisMonth(): void;
|
|
1709
1708
|
selectLastMonth(): void;
|