-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6950 from ever-co/develop
Release
- Loading branch information
Showing
47 changed files
with
864 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...uzy/src/app/@theme/components/header/selectors/date-range-picker/date-picker.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Represents a date range with a start date and end date. | ||
export interface IDateRangePicker { | ||
startDate: Date; // The start date of the date range. | ||
endDate: Date; // The end date of the date range. | ||
isCustomDate?: boolean; // Optional flag to indicate if it's a custom date range. | ||
} | ||
|
||
// Represents a time period with a start date and end date using moment.js. | ||
export interface TimePeriod { | ||
startDate: moment.Moment; // The start date of the time period. | ||
endDate: moment.Moment; // The end date of the time period. | ||
} | ||
|
||
// Represents a collection of date ranges where each range is indexed by a string key. | ||
export interface DateRanges { | ||
[index: string]: [moment.Moment, moment.Moment]; // Key-value pairs of date ranges. | ||
} | ||
|
||
// Enum defining keys for common date range options. | ||
export enum DateRangeKeyEnum { | ||
TODAY = 'Today', | ||
YESTERDAY = 'Yesterday', | ||
CURRENT_WEEK = 'Current week', | ||
LAST_WEEK = 'Last week', | ||
CURRENT_MONTH = 'Current month', | ||
LAST_MONTH = 'Last month' | ||
} |
Oops, something went wrong.