@omnia/fx 7.6.11-preview → 7.6.13-preview

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.
@@ -1,4 +1,4 @@
1
- import { TimePeriodSettings, TenantRegionalSettings, GuidValue, IIcon } from "../../models";
1
+ import { GuidValue, IIcon, TenantRegionalSettings, TimePeriodSettings } from "../../models";
2
2
  export declare module Utils {
3
3
  function isNativeClass(value: any): boolean;
4
4
  function asyncForEach<T>(array: Array<T>, callback: (item: T, index?: number, items?: Array<T>) => Promise<void>): Promise<void>;
@@ -131,6 +131,10 @@ export declare module Utils {
131
131
  function safeStringify(value: any): string;
132
132
  function getFileType(fileName: string): string;
133
133
  function isImageFormatSupportForMediaPicker(fileName: string): boolean;
134
+ function ensureDateTimeFormat(regionalSettings: TenantRegionalSettings): {
135
+ dateFormat: string;
136
+ timeFormat: string;
137
+ };
134
138
  function formatDateTime(regionalSettings: TenantRegionalSettings, date?: Date | string): string;
135
139
  function removeClaimPrefixFromLoginName(loginName: string): string;
136
140
  function getManifestIdByElementName(elementName: string): GuidValue;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.6.11-preview",
4
+ "version": "7.6.13-preview",
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.6.11-preview",
23
+ "@omnia/fx-models": "7.6.13-preview",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",