@livetiles/reach-plugin-types 0.5.0-preview.582 → 0.5.0-preview.583
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/lib/index.d.ts +102 -87
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -979,86 +979,6 @@ declare module "libs/reach/util/common/src/resources/locales/zh-tw.async" {
|
|
|
979
979
|
declare module "libs/reach/util/common/src/resources/LazyLocaleResourcesImporter" {
|
|
980
980
|
export function importLocaleResourcesAsync(locale: string): Promise<void> | Promise<typeof import("libs/reach/util/common/src/resources/locales/ar-dz.async")>;
|
|
981
981
|
}
|
|
982
|
-
declare module "libs/reach/util/common/src/resources/BaseResourceContextProvider" {
|
|
983
|
-
import { FC } from 'react';
|
|
984
|
-
export const BaseResourceContextProvider: FC<{
|
|
985
|
-
language?: string;
|
|
986
|
-
locale?: string;
|
|
987
|
-
importLanguageResourcesAsync: (language: string) => Promise<{
|
|
988
|
-
default: unknown;
|
|
989
|
-
}>;
|
|
990
|
-
}>;
|
|
991
|
-
}
|
|
992
|
-
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
993
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
994
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
995
|
-
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
996
|
-
export default da;
|
|
997
|
-
}
|
|
998
|
-
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
999
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
1000
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
1001
|
-
import de from "libs/reach/util/common/src/resources/languages/string-resources/de";
|
|
1002
|
-
export default de;
|
|
1003
|
-
}
|
|
1004
|
-
declare module "libs/reach/util/common/src/resources/languages/fr.async" {
|
|
1005
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
1006
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
1007
|
-
import fr from "libs/reach/util/common/src/resources/languages/string-resources/fr";
|
|
1008
|
-
export default fr;
|
|
1009
|
-
}
|
|
1010
|
-
declare module "libs/reach/util/common/src/resources/languages/es.async" {
|
|
1011
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
1012
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
1013
|
-
import es from "libs/reach/util/common/src/resources/languages/string-resources/es";
|
|
1014
|
-
export default es;
|
|
1015
|
-
}
|
|
1016
|
-
declare module "libs/reach/util/common/src/resources/languages/zh-TW.async" {
|
|
1017
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1018
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1019
|
-
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-TW";
|
|
1020
|
-
export default zh;
|
|
1021
|
-
}
|
|
1022
|
-
declare module "libs/reach/util/common/src/resources/languages/zh-CN.async" {
|
|
1023
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1024
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1025
|
-
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-CN";
|
|
1026
|
-
export default zh;
|
|
1027
|
-
}
|
|
1028
|
-
declare module "libs/reach/util/common/src/resources/languages/ja.async" {
|
|
1029
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
1030
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
1031
|
-
import ja from "libs/reach/util/common/src/resources/languages/string-resources/ja";
|
|
1032
|
-
export default ja;
|
|
1033
|
-
}
|
|
1034
|
-
declare module "libs/reach/util/common/src/resources/languages/tr.async" {
|
|
1035
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
1036
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
1037
|
-
import tr from "libs/reach/util/common/src/resources/languages/string-resources/tr";
|
|
1038
|
-
export default tr;
|
|
1039
|
-
}
|
|
1040
|
-
declare module "libs/reach/util/common/src/resources/languages/it.async" {
|
|
1041
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
1042
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
1043
|
-
import it from "libs/reach/util/common/src/resources/languages/string-resources/it";
|
|
1044
|
-
export default it;
|
|
1045
|
-
}
|
|
1046
|
-
declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
1047
|
-
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
1048
|
-
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
1049
|
-
import en from "libs/reach/util/common/src/resources/languages/string-resources/en";
|
|
1050
|
-
export default en;
|
|
1051
|
-
}
|
|
1052
|
-
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
1053
|
-
export function importReachLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
1054
|
-
}
|
|
1055
|
-
declare module "libs/reach/util/common/src/resources/LegacyResourceContextProvider" {
|
|
1056
|
-
import { FC } from 'react';
|
|
1057
|
-
export const LegacyResourceContextProvider: FC<{
|
|
1058
|
-
language?: string;
|
|
1059
|
-
locale?: string;
|
|
1060
|
-
}>;
|
|
1061
|
-
}
|
|
1062
982
|
declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async" {
|
|
1063
983
|
import locale from 'date-fns/locale/ar-DZ';
|
|
1064
984
|
export default locale;
|
|
@@ -1286,6 +1206,95 @@ declare module "libs/reach/util/common/src/resources/lazy-date-fns/locales/en-us
|
|
|
1286
1206
|
declare module "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter" {
|
|
1287
1207
|
export function importDateFnsLocaleAsync(locale: string): Promise<typeof import("libs/reach/util/common/src/resources/lazy-date-fns/locales/ar-dz.async")>;
|
|
1288
1208
|
}
|
|
1209
|
+
declare module "libs/reach/util/common/src/resources/BaseResourceContextProvider" {
|
|
1210
|
+
import { FC } from 'react';
|
|
1211
|
+
import { Locale } from 'date-fns';
|
|
1212
|
+
export const BaseResourceContextProvider: FC<{
|
|
1213
|
+
language?: string;
|
|
1214
|
+
locale?: string;
|
|
1215
|
+
importLanguageResourcesAsync: (language: string) => Promise<{
|
|
1216
|
+
default: unknown;
|
|
1217
|
+
}>;
|
|
1218
|
+
}>;
|
|
1219
|
+
export function getDateFnsLocale(): Locale | undefined;
|
|
1220
|
+
}
|
|
1221
|
+
declare module "libs/reach/util/common/src/resources/languages/da.async" {
|
|
1222
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/da';
|
|
1223
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/da';
|
|
1224
|
+
import da from "libs/reach/util/common/src/resources/languages/string-resources/da";
|
|
1225
|
+
export default da;
|
|
1226
|
+
}
|
|
1227
|
+
declare module "libs/reach/util/common/src/resources/languages/de.async" {
|
|
1228
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/de';
|
|
1229
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/de';
|
|
1230
|
+
import de from "libs/reach/util/common/src/resources/languages/string-resources/de";
|
|
1231
|
+
export default de;
|
|
1232
|
+
}
|
|
1233
|
+
declare module "libs/reach/util/common/src/resources/languages/fr.async" {
|
|
1234
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/fr';
|
|
1235
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/fr';
|
|
1236
|
+
import fr from "libs/reach/util/common/src/resources/languages/string-resources/fr";
|
|
1237
|
+
export default fr;
|
|
1238
|
+
}
|
|
1239
|
+
declare module "libs/reach/util/common/src/resources/languages/es.async" {
|
|
1240
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/es';
|
|
1241
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/es';
|
|
1242
|
+
import es from "libs/reach/util/common/src/resources/languages/string-resources/es";
|
|
1243
|
+
export default es;
|
|
1244
|
+
}
|
|
1245
|
+
declare module "libs/reach/util/common/src/resources/languages/zh-TW.async" {
|
|
1246
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1247
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1248
|
+
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-TW";
|
|
1249
|
+
export default zh;
|
|
1250
|
+
}
|
|
1251
|
+
declare module "libs/reach/util/common/src/resources/languages/zh-CN.async" {
|
|
1252
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/zh';
|
|
1253
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/zh';
|
|
1254
|
+
import zh from "libs/reach/util/common/src/resources/languages/string-resources/zh-CN";
|
|
1255
|
+
export default zh;
|
|
1256
|
+
}
|
|
1257
|
+
declare module "libs/reach/util/common/src/resources/languages/ja.async" {
|
|
1258
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/ja';
|
|
1259
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/ja';
|
|
1260
|
+
import ja from "libs/reach/util/common/src/resources/languages/string-resources/ja";
|
|
1261
|
+
export default ja;
|
|
1262
|
+
}
|
|
1263
|
+
declare module "libs/reach/util/common/src/resources/languages/tr.async" {
|
|
1264
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/tr';
|
|
1265
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/tr';
|
|
1266
|
+
import tr from "libs/reach/util/common/src/resources/languages/string-resources/tr";
|
|
1267
|
+
export default tr;
|
|
1268
|
+
}
|
|
1269
|
+
declare module "libs/reach/util/common/src/resources/languages/it.async" {
|
|
1270
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/it';
|
|
1271
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/it';
|
|
1272
|
+
import it from "libs/reach/util/common/src/resources/languages/string-resources/it";
|
|
1273
|
+
export default it;
|
|
1274
|
+
}
|
|
1275
|
+
declare module "libs/reach/util/common/src/resources/languages/en.async" {
|
|
1276
|
+
import '@formatjs/intl-pluralrules/dist/locale-data/en';
|
|
1277
|
+
import '@formatjs/intl-relativetimeformat/dist/locale-data/en';
|
|
1278
|
+
import en from "libs/reach/util/common/src/resources/languages/string-resources/en";
|
|
1279
|
+
export default en;
|
|
1280
|
+
}
|
|
1281
|
+
declare module "libs/reach/util/common/src/resources/LazyLanguageResourcesImporter" {
|
|
1282
|
+
export function importReachLanguageResourcesAsync(language: string): Promise<typeof import("libs/reach/util/common/src/resources/languages/da.async")> | Promise<typeof import("libs/reach/util/common/src/resources/languages/en.async")>;
|
|
1283
|
+
}
|
|
1284
|
+
declare module "libs/reach/util/common/src/resources/LegacyResourceContextProvider" {
|
|
1285
|
+
import { FC } from 'react';
|
|
1286
|
+
export const LegacyResourceContextProvider: FC<{
|
|
1287
|
+
language?: string;
|
|
1288
|
+
locale?: string;
|
|
1289
|
+
}>;
|
|
1290
|
+
}
|
|
1291
|
+
declare module "libs/reach/util/common/src/resources/locals-util" {
|
|
1292
|
+
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
1293
|
+
export const defaultFallbackLocale = "en";
|
|
1294
|
+
export const supportedLocales: string[];
|
|
1295
|
+
export function getPreferredLocale(user?: CurrentUser, locale?: string): string;
|
|
1296
|
+
export function getValidLocale(locale: string): string;
|
|
1297
|
+
}
|
|
1289
1298
|
declare module "libs/reach/util/common/src/user/features/FeatureSet" {
|
|
1290
1299
|
export const orderedFeatureSet: string[];
|
|
1291
1300
|
export class FeatureSet {
|
|
@@ -3966,6 +3975,7 @@ declare module "libs/reach/util/common/src/index" {
|
|
|
3966
3975
|
export * from "libs/reach/util/common/src/resources/BaseResourceContextProvider";
|
|
3967
3976
|
export * from "libs/reach/util/common/src/resources/LegacyResourceContextProvider";
|
|
3968
3977
|
export * from "libs/reach/util/common/src/resources/LazyDateFnsLocaleImporter";
|
|
3978
|
+
export * from "libs/reach/util/common/src/resources/locals-util";
|
|
3969
3979
|
export * from "libs/reach/util/common/src/user/index";
|
|
3970
3980
|
export * from "libs/reach/util/common/src/plugins/index";
|
|
3971
3981
|
export * from "libs/reach/util/common/src/theme/index";
|
|
@@ -5125,12 +5135,6 @@ declare module "libs/reach/ui/common/src/common/list-view/ListViewNavigation" {
|
|
|
5125
5135
|
className?: string;
|
|
5126
5136
|
}>;
|
|
5127
5137
|
}
|
|
5128
|
-
declare module "libs/reach/ui/common/src/common/locals-util" {
|
|
5129
|
-
import { CurrentUser } from "libs/reach/util/common/src/index";
|
|
5130
|
-
export const defaultFallbackLocale = "en";
|
|
5131
|
-
export const supportedLocales: string[];
|
|
5132
|
-
export function getPreferredLocale(user?: CurrentUser, locale?: string): string;
|
|
5133
|
-
}
|
|
5134
5138
|
declare module "libs/reach/ui/common/src/common/paging/HorizontalPager" {
|
|
5135
5139
|
import { FC } from 'react';
|
|
5136
5140
|
interface Props {
|
|
@@ -5556,7 +5560,6 @@ declare module "libs/reach/ui/common/src/common/index" {
|
|
|
5556
5560
|
export * from "libs/reach/ui/common/src/common/inlineObjectsClassNames";
|
|
5557
5561
|
export * from "libs/reach/ui/common/src/common/isNullOrWhitespaceUtil";
|
|
5558
5562
|
export * from "libs/reach/ui/common/src/common/list-view/ListViewNavigation";
|
|
5559
|
-
export * from "libs/reach/ui/common/src/common/locals-util";
|
|
5560
5563
|
export * from "libs/reach/ui/common/src/common/paging/index";
|
|
5561
5564
|
export * from "libs/reach/ui/common/src/common/pull-to-refresh/PullToRefresh";
|
|
5562
5565
|
export * from "libs/reach/ui/common/src/common/refreshScripts";
|
|
@@ -5897,12 +5900,24 @@ declare module "libs/reach/ui/common/src/reach-2/surfaces/index" {
|
|
|
5897
5900
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/MobileInlineModal";
|
|
5898
5901
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/ConfirmationDialog";
|
|
5899
5902
|
}
|
|
5903
|
+
declare module "libs/reach/ui/common/src/reach-2/DateTimeDisplay" {
|
|
5904
|
+
import { FC } from 'react';
|
|
5905
|
+
interface Props {
|
|
5906
|
+
value: string;
|
|
5907
|
+
showWeekDay?: boolean;
|
|
5908
|
+
showAsRelative?: boolean;
|
|
5909
|
+
showAsAbsolute?: boolean;
|
|
5910
|
+
className?: string;
|
|
5911
|
+
}
|
|
5912
|
+
export const DateTimeDisplay: FC<Props>;
|
|
5913
|
+
}
|
|
5900
5914
|
declare module "libs/reach/ui/common/src/reach-2/index" {
|
|
5901
5915
|
export * from "libs/reach/ui/common/src/reach-2/Icon";
|
|
5902
5916
|
export * from "libs/reach/ui/common/src/reach-2/icons/index";
|
|
5903
5917
|
export * from "libs/reach/ui/common/src/reach-2/utils";
|
|
5904
5918
|
export * from "libs/reach/ui/common/src/reach-2/buttons/index";
|
|
5905
5919
|
export * from "libs/reach/ui/common/src/reach-2/surfaces/index";
|
|
5920
|
+
export * from "libs/reach/ui/common/src/reach-2/DateTimeDisplay";
|
|
5906
5921
|
}
|
|
5907
5922
|
declare module "libs/reach/ui/common/src/index" {
|
|
5908
5923
|
export * from "libs/reach/ui/common/src/LegacyDialog";
|