@omnia/fx 7.1.156-dev → 7.1.158-dev
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.
|
@@ -3,21 +3,17 @@ import { Store } from "./Store";
|
|
|
3
3
|
import dayjs from "dayjs";
|
|
4
4
|
export declare class TimeZoneStore extends Store {
|
|
5
5
|
private timeZoneService;
|
|
6
|
-
private omniaContext;
|
|
7
6
|
private localTimeZoneId;
|
|
8
7
|
private timeZoneUnits;
|
|
9
8
|
private loadTimeZoneCollectionPromise;
|
|
10
|
-
private loadCurrenTimeZoneSettingsPromise;
|
|
11
|
-
private currentUser;
|
|
12
|
-
private currentTimeZone;
|
|
13
9
|
getters: {
|
|
14
10
|
localTimeZoneId: () => string;
|
|
15
11
|
timeZones: () => TimeZoneUnit[];
|
|
16
12
|
convertToCurrentUserTimeZone: (utcDatetime: string) => dayjs.Dayjs;
|
|
13
|
+
convertToTimeZone: (utcDatetime: string, timezone: string) => dayjs.Dayjs;
|
|
17
14
|
};
|
|
18
15
|
actions: {
|
|
19
16
|
ensureTimeZones: import("./Store").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
20
|
-
ensureLoadedCurrentTimeZoneSettings: import("./Store").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
|
|
21
17
|
};
|
|
22
18
|
protected onActivated(): void;
|
|
23
19
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.1.
|
|
4
|
+
"version": "7.1.158-dev",
|
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "Precio Fishbone",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.1.
|
|
23
|
+
"@omnia/fx-models": "7.1.158-dev",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|