@smartsoft001/angular 2.90.0 → 2.92.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 +20 -39
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/index.d.ts +11 -13
- 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';
|
|
@@ -26,7 +25,6 @@ import * as i11 from 'ng-dynamic-component';
|
|
|
26
25
|
import * as i1$1 from '@angular/common';
|
|
27
26
|
import * as i7 from '@angular/common/http';
|
|
28
27
|
import * as i8 from 'ng-lazyload-image';
|
|
29
|
-
import * as i2$2 from '@ngrx/effects';
|
|
30
28
|
|
|
31
29
|
/**
|
|
32
30
|
* Forward declaration for InputBaseComponent to break circular dependency.
|
|
@@ -1659,12 +1657,12 @@ declare const enum FilterBtnConstants {
|
|
|
1659
1657
|
lastMonth = "LastMonth"
|
|
1660
1658
|
}
|
|
1661
1659
|
interface SubjectType {
|
|
1662
|
-
date:
|
|
1660
|
+
date: moment.Moment;
|
|
1663
1661
|
event: any;
|
|
1664
1662
|
}
|
|
1665
1663
|
interface CalendarState {
|
|
1666
|
-
dateFrom:
|
|
1667
|
-
dateTo:
|
|
1664
|
+
dateFrom: moment.Moment;
|
|
1665
|
+
dateTo: moment.Moment;
|
|
1668
1666
|
scrollPosition: number;
|
|
1669
1667
|
selectedButtonName: FilterBtnConstants;
|
|
1670
1668
|
}
|
|
@@ -1678,7 +1676,7 @@ declare class DateRangeModalComponent implements OnInit, AfterContentInit {
|
|
|
1678
1676
|
private elementRef;
|
|
1679
1677
|
showFilterBtns: i0.InputSignal<boolean>;
|
|
1680
1678
|
restrictSelectionTo: i0.InputSignal<number>;
|
|
1681
|
-
currentDate:
|
|
1679
|
+
currentDate: moment.Moment;
|
|
1682
1680
|
dateForm: UntypedFormGroup;
|
|
1683
1681
|
calendar: month[];
|
|
1684
1682
|
selectedButtonName: FilterBtnConstants;
|
|
@@ -1695,16 +1693,16 @@ declare class DateRangeModalComponent implements OnInit, AfterContentInit {
|
|
|
1695
1693
|
private setPreviousStateData;
|
|
1696
1694
|
noop(): void;
|
|
1697
1695
|
when: (cond: boolean, fn: () => void) => void;
|
|
1698
|
-
setStartDate: (date:
|
|
1699
|
-
setEndDate: (date:
|
|
1696
|
+
setStartDate: (date: moment.Moment, formattedDate: string) => void;
|
|
1697
|
+
setEndDate: (date: moment.Moment, formattedDate: string) => void;
|
|
1700
1698
|
resetDates: () => void;
|
|
1701
1699
|
canSelectionBeRestricted: () => boolean;
|
|
1702
1700
|
showRestrictSelectionAlertAndResetDates: () => void;
|
|
1703
1701
|
isSelectionInRestrictedRange(): boolean;
|
|
1704
1702
|
private formatDate;
|
|
1705
|
-
isInRange(day:
|
|
1706
|
-
isSelectionStart(day:
|
|
1707
|
-
isSelectionEnd(day:
|
|
1703
|
+
isInRange(day: moment.Moment): boolean;
|
|
1704
|
+
isSelectionStart(day: moment.Moment): boolean;
|
|
1705
|
+
isSelectionEnd(day: moment.Moment): boolean;
|
|
1708
1706
|
isStartAndEndDateSame(): boolean;
|
|
1709
1707
|
selectThisMonth(): void;
|
|
1710
1708
|
selectLastMonth(): void;
|
|
@@ -1810,7 +1808,7 @@ declare class SharedModule {
|
|
|
1810
1808
|
declare class NgrxSharedModule {
|
|
1811
1809
|
constructor(store: Store<any>, storeService: NgrxStoreService);
|
|
1812
1810
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgrxSharedModule, never>;
|
|
1813
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgrxSharedModule, never, [typeof SharedModule
|
|
1811
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgrxSharedModule, never, [typeof SharedModule], never>;
|
|
1814
1812
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgrxSharedModule>;
|
|
1815
1813
|
}
|
|
1816
1814
|
|