@datarailsshared/datarailsshared 1.6.47 → 1.6.51
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/datarailsshared-datarailsshared-1.6.51.tgz +0 -0
- package/esm2022/lib/dr-tooltip/dr-tooltip.directive.mjs +10 -8
- package/esm2022/lib/utils/dr-shared-utils.mjs +4 -3
- package/fesm2022/datarailsshared-datarailsshared.mjs +12 -9
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/utils/dr-shared-utils.d.ts +2 -1
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.6.47.tgz +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import moment from 'moment';
|
|
1
2
|
import { TimeframeOption } from '../models/datePicker';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import { ActivatedRoute } from '@angular/router';
|
|
@@ -8,7 +9,7 @@ export declare class DrSharedUtils {
|
|
|
8
9
|
* @param format - date format string. Examples: MM/DD/YYYY, Q/YYYY
|
|
9
10
|
*/
|
|
10
11
|
static getTimeframeByDateFormat(format: string): TimeframeOption;
|
|
11
|
-
static getDateByTag(tag: string):
|
|
12
|
+
static getDateByTag(tag: string, shouldDateBeCorrectedWithTimezone?: boolean): moment.Moment;
|
|
12
13
|
static fromResizeObserver: (target: Element) => Observable<ResizeObserverEntry[]>;
|
|
13
14
|
static normalizeLineEndings: (str: string) => string;
|
|
14
15
|
static isLocalhost: () => boolean;
|
package/package.json
CHANGED
|
Binary file
|