react-intl 6.2.2 → 6.2.4
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/src/components/createFormattedComponent.d.ts +1 -1
- package/lib/src/components/createFormattedComponent.d.ts.map +1 -1
- package/lib/src/components/injectIntl.d.ts +2 -2
- package/lib/src/components/injectIntl.d.ts.map +1 -1
- package/lib/src/types.d.ts +1 -1
- package/lib/src/types.d.ts.map +1 -1
- package/package.json +9 -9
- package/react-intl.iife.js +53 -53
- package/src/components/createFormattedComponent.d.ts +1 -1
- package/src/components/createFormattedComponent.d.ts.map +1 -1
- package/src/components/injectIntl.d.ts +2 -2
- package/src/components/injectIntl.d.ts.map +1 -1
- package/src/types.d.ts +1 -1
- package/src/types.d.ts.map +1 -1
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { FormatDateOptions, FormatNumberOptions, FormatListOptions, FormatDisplayNameOptions } from '@formatjs/intl';
|
|
3
3
|
import { IntlShape } from '../types';
|
|
4
4
|
import { Part } from '@formatjs/intl-listformat';
|
|
5
|
-
|
|
5
|
+
type Formatter = {
|
|
6
6
|
formatDate: FormatDateOptions;
|
|
7
7
|
formatTime: FormatDateOptions;
|
|
8
8
|
formatNumber: FormatNumberOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFormattedComponent.d.ts","sourceRoot":"","sources":["../../../src/components/createFormattedComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAA;AAElC,OAAO,EAAC,IAAI,EAAC,MAAM,2BAA2B,CAAA;AAmB9C,
|
|
1
|
+
{"version":3,"file":"createFormattedComponent.d.ts","sourceRoot":"","sources":["../../../src/components/createF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CAAC,CAAC,CAAC,CAAC,CAAA;IACrC,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,kBAAkB,EAAE,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;CACpE,CACF,CAoBA;AAED,wBAAgB,wBAAwB,CAAC,IAAI,SAAS,MAAM,SAAS,EACnE,IAAI,EAAE,IAAI,GACT,KAAK,CAAC,EAAE,CACT,SAAS,CAAC,IAAI,CAAC,GAAG;IAChB,KAAK,EAAE,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IACrC,QAAQ,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;CAClD,CACF,CAsBA"}
|
|
@@ -7,10 +7,10 @@ export interface Opts<IntlPropName extends string = 'intl', ForwardRef extends b
|
|
|
7
7
|
forwardRef?: ForwardRef;
|
|
8
8
|
enforceContext?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type WrappedComponentProps<IntlPropName extends string = 'intl'> = {
|
|
11
11
|
[k in IntlPropName]: IntlShape;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type WithIntlProps<P> = Omit<P, keyof WrappedComponentProps> & {
|
|
14
14
|
forwardedRef?: React.Ref<any>;
|
|
15
15
|
};
|
|
16
16
|
export default function injectIntl<IntlPropName extends string = 'intl', P extends WrappedComponentProps<IntlPropName> = WrappedComponentProps<any>>(WrappedComponent: React.ComponentType<P>, options?: Opts<IntlPropName, false>): React.FC<WithIntlProps<P>> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectIntl.d.ts","sourceRoot":"","sources":["../../../src/components/injectIntl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAA;AAUlC,eAAO,MAAM,QAAQ,2BAAe,CAAA;AACpC,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E,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,GAClC,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG;IAC9B,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;CACzC,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,YAAY,SAAS,MAAM,GAAG,MAAM,EACpC,CAAC,SAAS,qBAAqB,CAAC,YAAY,CAAC,GAAG,qBAAqB,CAAC,GAAG,CAAC,EAC1E,CAAC,SAAS,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,GAAG,EAEtC,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACxC,OAAO,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,GACjC,KAAK,CAAC,yBAAyB,CAChC,KAAK,CAAC,eAAe,CAAC,aAAa,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,GAC9D,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CACzB,GAAG;IACF,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;CACzC,CAAA"}
|
package/lib/src/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ResolvedIntlConfig as CoreResolvedIntlConfig, IntlFormatters, Formatters } from '@formatjs/intl';
|
|
3
3
|
import { DEFAULT_INTL_CONFIG } from './utils';
|
|
4
|
-
export
|
|
4
|
+
export type IntlConfig = Omit<ResolvedIntlConfig, keyof typeof DEFAULT_INTL_CONFIG> & Partial<typeof DEFAULT_INTL_CONFIG>;
|
|
5
5
|
export interface ResolvedIntlConfig extends CoreResolvedIntlConfig<React.ReactNode> {
|
|
6
6
|
textComponent?: React.ComponentType | keyof React.ReactHTML;
|
|
7
7
|
wrapRichTextChunksInFragment?: boolean;
|
package/lib/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,kBAAkB,IAAI,sBAAsB,EAC5C,cAAc,EACd,UAAU,EACX,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;AAC3C,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,kBAAkB,IAAI,sBAAsB,EAC5C,cAAc,EACd,UAAU,EACX,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;AAC3C,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,kBAAkB,EAClB,MAAM,OAAO,mBAAmB,CACjC,GACC,OAAO,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErC,MAAM,WAAW,kBACf,SAAQ,sBAAsB,CAAC,KAAK,CAAC,SAAS,CAAC;IAC/C,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,MAAM,KAAK,CAAC,SAAS,CAAA;IAC3D,4BAA4B,CAAC,EAAE,OAAO,CAAA;CACvC;AAED,MAAM,WAAW,SACf,SAAQ,kBAAkB,EACxB,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC;IACjC,UAAU,EAAE,UAAU,CAAA;CACvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-intl",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.4",
|
|
4
4
|
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -128,20 +128,20 @@
|
|
|
128
128
|
"types": "index.d.ts",
|
|
129
129
|
"sideEffects": false,
|
|
130
130
|
"dependencies": {
|
|
131
|
-
"@formatjs/ecma402-abstract": "1.14.
|
|
132
|
-
"@formatjs/icu-messageformat-parser": "2.1.
|
|
133
|
-
"@formatjs/intl": "2.6.
|
|
134
|
-
"@formatjs/intl-displaynames": "6.2.
|
|
135
|
-
"@formatjs/intl-listformat": "7.1.
|
|
131
|
+
"@formatjs/ecma402-abstract": "1.14.2",
|
|
132
|
+
"@formatjs/icu-messageformat-parser": "2.1.13",
|
|
133
|
+
"@formatjs/intl": "2.6.2",
|
|
134
|
+
"@formatjs/intl-displaynames": "6.2.2",
|
|
135
|
+
"@formatjs/intl-listformat": "7.1.6",
|
|
136
136
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
137
137
|
"@types/react": "16 || 17 || 18",
|
|
138
138
|
"hoist-non-react-statics": "^3.3.2",
|
|
139
|
-
"intl-messageformat": "10.2.
|
|
139
|
+
"intl-messageformat": "10.2.4",
|
|
140
140
|
"tslib": "2.4.0"
|
|
141
141
|
},
|
|
142
142
|
"devDependencies": {
|
|
143
|
-
"@formatjs/intl-numberformat": "8.3.
|
|
144
|
-
"@formatjs/intl-relativetimeformat": "11.1.
|
|
143
|
+
"@formatjs/intl-numberformat": "8.3.2",
|
|
144
|
+
"@formatjs/intl-relativetimeformat": "11.1.7"
|
|
145
145
|
},
|
|
146
146
|
"peerDependencies": {
|
|
147
147
|
"react": "^16.6.0 || 17 || 18",
|
package/react-intl.iife.js
CHANGED
|
@@ -33,9 +33,9 @@ var ReactIntl = (() => {
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
36
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
|
|
37
37
|
var require_react_is_development = __commonJS({
|
|
38
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
38
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"(exports) {
|
|
39
39
|
"use strict";
|
|
40
40
|
if (true) {
|
|
41
41
|
(function() {
|
|
@@ -187,9 +187,9 @@ var ReactIntl = (() => {
|
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
|
|
190
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
190
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/index.js
|
|
191
191
|
var require_react_is = __commonJS({
|
|
192
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
192
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/index.js"(exports, module) {
|
|
193
193
|
"use strict";
|
|
194
194
|
if (false) {
|
|
195
195
|
module.exports = null;
|
|
@@ -199,9 +199,9 @@ var ReactIntl = (() => {
|
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
201
|
|
|
202
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
202
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
|
|
203
203
|
var require_hoist_non_react_statics_cjs = __commonJS({
|
|
204
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
204
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports, module) {
|
|
205
205
|
"use strict";
|
|
206
206
|
var reactIs = require_react_is();
|
|
207
207
|
var REACT_STATICS = {
|
|
@@ -287,7 +287,7 @@ var ReactIntl = (() => {
|
|
|
287
287
|
}
|
|
288
288
|
});
|
|
289
289
|
|
|
290
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
290
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/index.js
|
|
291
291
|
var lib_exports = {};
|
|
292
292
|
__export(lib_exports, {
|
|
293
293
|
FormattedDate: () => FormattedDate,
|
|
@@ -321,7 +321,7 @@ var ReactIntl = (() => {
|
|
|
321
321
|
useIntl: () => useIntl
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
324
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
|
|
325
325
|
var extendStatics = function(d, b) {
|
|
326
326
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
327
327
|
d2.__proto__ = b2;
|
|
@@ -377,27 +377,27 @@ var ReactIntl = (() => {
|
|
|
377
377
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
378
378
|
}
|
|
379
379
|
|
|
380
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
380
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/createFormattedComponent.js
|
|
381
381
|
var React4 = __toESM(window.React);
|
|
382
382
|
|
|
383
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
383
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/useIntl.js
|
|
384
384
|
var React3 = __toESM(window.React);
|
|
385
385
|
|
|
386
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
386
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/injectIntl.js
|
|
387
387
|
var React2 = __toESM(window.React);
|
|
388
388
|
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
|
|
389
389
|
|
|
390
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
390
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/utils.js
|
|
391
391
|
var React = __toESM(window.React);
|
|
392
392
|
|
|
393
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
393
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
|
|
394
394
|
var MINUTES_PER_HOUR = 60;
|
|
395
395
|
var SECONDS_PER_MINUTE = 60;
|
|
396
396
|
var MS_PER_SECOND = 1e3;
|
|
397
397
|
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
|
|
398
398
|
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
|
|
399
399
|
|
|
400
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
400
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
|
|
401
401
|
var SANCTIONED_UNITS = [
|
|
402
402
|
"angle-degree",
|
|
403
403
|
"area-acre",
|
|
@@ -448,7 +448,7 @@ var ReactIntl = (() => {
|
|
|
448
448
|
}
|
|
449
449
|
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
450
450
|
|
|
451
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
451
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
|
|
452
452
|
function invariant(condition, message, Err) {
|
|
453
453
|
if (Err === void 0) {
|
|
454
454
|
Err = Error;
|
|
@@ -458,14 +458,14 @@ var ReactIntl = (() => {
|
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
461
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
|
|
462
462
|
var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
|
|
463
463
|
|
|
464
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
464
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
|
|
465
465
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
466
466
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
467
467
|
|
|
468
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
468
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
|
|
469
469
|
var MissingLocaleDataError = function(_super) {
|
|
470
470
|
__extends(MissingLocaleDataError2, _super);
|
|
471
471
|
function MissingLocaleDataError2() {
|
|
@@ -476,7 +476,7 @@ var ReactIntl = (() => {
|
|
|
476
476
|
return MissingLocaleDataError2;
|
|
477
477
|
}(Error);
|
|
478
478
|
|
|
479
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
479
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
|
|
480
480
|
var RangePatternType;
|
|
481
481
|
(function(RangePatternType2) {
|
|
482
482
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -484,7 +484,7 @@ var ReactIntl = (() => {
|
|
|
484
484
|
RangePatternType2["endRange"] = "endRange";
|
|
485
485
|
})(RangePatternType || (RangePatternType = {}));
|
|
486
486
|
|
|
487
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
487
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/error.js
|
|
488
488
|
var ErrorKind;
|
|
489
489
|
(function(ErrorKind2) {
|
|
490
490
|
ErrorKind2[ErrorKind2["EXPECT_ARGUMENT_CLOSING_BRACE"] = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE";
|
|
@@ -515,7 +515,7 @@ var ReactIntl = (() => {
|
|
|
515
515
|
ErrorKind2[ErrorKind2["UNCLOSED_TAG"] = 27] = "UNCLOSED_TAG";
|
|
516
516
|
})(ErrorKind || (ErrorKind = {}));
|
|
517
517
|
|
|
518
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
518
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/types.js
|
|
519
519
|
var TYPE;
|
|
520
520
|
(function(TYPE2) {
|
|
521
521
|
TYPE2[TYPE2["literal"] = 0] = "literal";
|
|
@@ -567,10 +567,10 @@ var ReactIntl = (() => {
|
|
|
567
567
|
return !!(el && typeof el === "object" && el.type === SKELETON_TYPE.dateTime);
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
570
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js
|
|
571
571
|
var SPACE_SEPARATOR_REGEX = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
|
|
572
572
|
|
|
573
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
573
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js
|
|
574
574
|
var DATE_TIME_REGEX = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
575
575
|
function parseDateTimeSkeleton(skeleton) {
|
|
576
576
|
var result = {};
|
|
@@ -671,10 +671,10 @@ var ReactIntl = (() => {
|
|
|
671
671
|
return result;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
674
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js
|
|
675
675
|
var WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
676
676
|
|
|
677
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
677
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/number.js
|
|
678
678
|
function parseNumberSkeletonFromString(skeleton) {
|
|
679
679
|
if (skeleton.length === 0) {
|
|
680
680
|
throw new Error("Number skeleton cannot be empty");
|
|
@@ -940,7 +940,7 @@ var ReactIntl = (() => {
|
|
|
940
940
|
return result;
|
|
941
941
|
}
|
|
942
942
|
|
|
943
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
943
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js
|
|
944
944
|
var timeData = {
|
|
945
945
|
"AX": [
|
|
946
946
|
"H"
|
|
@@ -2279,7 +2279,7 @@ var ReactIntl = (() => {
|
|
|
2279
2279
|
]
|
|
2280
2280
|
};
|
|
2281
2281
|
|
|
2282
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2282
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js
|
|
2283
2283
|
function getBestPattern(skeleton, locale) {
|
|
2284
2284
|
var skeletonCopy = "";
|
|
2285
2285
|
for (var patternPos = 0; patternPos < skeleton.length; patternPos++) {
|
|
@@ -2339,7 +2339,7 @@ var ReactIntl = (() => {
|
|
|
2339
2339
|
return hourCycles[0];
|
|
2340
2340
|
}
|
|
2341
2341
|
|
|
2342
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2342
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js
|
|
2343
2343
|
var _a;
|
|
2344
2344
|
var SPACE_SEPARATOR_START_REGEX = new RegExp("^".concat(SPACE_SEPARATOR_REGEX.source, "*"));
|
|
2345
2345
|
var SPACE_SEPARATOR_END_REGEX = new RegExp("".concat(SPACE_SEPARATOR_REGEX.source, "*$"));
|
|
@@ -3106,7 +3106,7 @@ var ReactIntl = (() => {
|
|
|
3106
3106
|
return c >= 33 && c <= 35 || c === 36 || c >= 37 && c <= 39 || c === 40 || c === 41 || c === 42 || c === 43 || c === 44 || c === 45 || c >= 46 && c <= 47 || c >= 58 && c <= 59 || c >= 60 && c <= 62 || c >= 63 && c <= 64 || c === 91 || c === 92 || c === 93 || c === 94 || c === 96 || c === 123 || c === 124 || c === 125 || c === 126 || c === 161 || c >= 162 && c <= 165 || c === 166 || c === 167 || c === 169 || c === 171 || c === 172 || c === 174 || c === 176 || c === 177 || c === 182 || c === 187 || c === 191 || c === 215 || c === 247 || c >= 8208 && c <= 8213 || c >= 8214 && c <= 8215 || c === 8216 || c === 8217 || c === 8218 || c >= 8219 && c <= 8220 || c === 8221 || c === 8222 || c === 8223 || c >= 8224 && c <= 8231 || c >= 8240 && c <= 8248 || c === 8249 || c === 8250 || c >= 8251 && c <= 8254 || c >= 8257 && c <= 8259 || c === 8260 || c === 8261 || c === 8262 || c >= 8263 && c <= 8273 || c === 8274 || c === 8275 || c >= 8277 && c <= 8286 || c >= 8592 && c <= 8596 || c >= 8597 && c <= 8601 || c >= 8602 && c <= 8603 || c >= 8604 && c <= 8607 || c === 8608 || c >= 8609 && c <= 8610 || c === 8611 || c >= 8612 && c <= 8613 || c === 8614 || c >= 8615 && c <= 8621 || c === 8622 || c >= 8623 && c <= 8653 || c >= 8654 && c <= 8655 || c >= 8656 && c <= 8657 || c === 8658 || c === 8659 || c === 8660 || c >= 8661 && c <= 8691 || c >= 8692 && c <= 8959 || c >= 8960 && c <= 8967 || c === 8968 || c === 8969 || c === 8970 || c === 8971 || c >= 8972 && c <= 8991 || c >= 8992 && c <= 8993 || c >= 8994 && c <= 9e3 || c === 9001 || c === 9002 || c >= 9003 && c <= 9083 || c === 9084 || c >= 9085 && c <= 9114 || c >= 9115 && c <= 9139 || c >= 9140 && c <= 9179 || c >= 9180 && c <= 9185 || c >= 9186 && c <= 9254 || c >= 9255 && c <= 9279 || c >= 9280 && c <= 9290 || c >= 9291 && c <= 9311 || c >= 9472 && c <= 9654 || c === 9655 || c >= 9656 && c <= 9664 || c === 9665 || c >= 9666 && c <= 9719 || c >= 9720 && c <= 9727 || c >= 9728 && c <= 9838 || c === 9839 || c >= 9840 && c <= 10087 || c === 10088 || c === 10089 || c === 10090 || c === 10091 || c === 10092 || c === 10093 || c === 10094 || c === 10095 || c === 10096 || c === 10097 || c === 10098 || c === 10099 || c === 10100 || c === 10101 || c >= 10132 && c <= 10175 || c >= 10176 && c <= 10180 || c === 10181 || c === 10182 || c >= 10183 && c <= 10213 || c === 10214 || c === 10215 || c === 10216 || c === 10217 || c === 10218 || c === 10219 || c === 10220 || c === 10221 || c === 10222 || c === 10223 || c >= 10224 && c <= 10239 || c >= 10240 && c <= 10495 || c >= 10496 && c <= 10626 || c === 10627 || c === 10628 || c === 10629 || c === 10630 || c === 10631 || c === 10632 || c === 10633 || c === 10634 || c === 10635 || c === 10636 || c === 10637 || c === 10638 || c === 10639 || c === 10640 || c === 10641 || c === 10642 || c === 10643 || c === 10644 || c === 10645 || c === 10646 || c === 10647 || c === 10648 || c >= 10649 && c <= 10711 || c === 10712 || c === 10713 || c === 10714 || c === 10715 || c >= 10716 && c <= 10747 || c === 10748 || c === 10749 || c >= 10750 && c <= 11007 || c >= 11008 && c <= 11055 || c >= 11056 && c <= 11076 || c >= 11077 && c <= 11078 || c >= 11079 && c <= 11084 || c >= 11085 && c <= 11123 || c >= 11124 && c <= 11125 || c >= 11126 && c <= 11157 || c === 11158 || c >= 11159 && c <= 11263 || c >= 11776 && c <= 11777 || c === 11778 || c === 11779 || c === 11780 || c === 11781 || c >= 11782 && c <= 11784 || c === 11785 || c === 11786 || c === 11787 || c === 11788 || c === 11789 || c >= 11790 && c <= 11798 || c === 11799 || c >= 11800 && c <= 11801 || c === 11802 || c === 11803 || c === 11804 || c === 11805 || c >= 11806 && c <= 11807 || c === 11808 || c === 11809 || c === 11810 || c === 11811 || c === 11812 || c === 11813 || c === 11814 || c === 11815 || c === 11816 || c === 11817 || c >= 11818 && c <= 11822 || c === 11823 || c >= 11824 && c <= 11833 || c >= 11834 && c <= 11835 || c >= 11836 && c <= 11839 || c === 11840 || c === 11841 || c === 11842 || c >= 11843 && c <= 11855 || c >= 11856 && c <= 11857 || c === 11858 || c >= 11859 && c <= 11903 || c >= 12289 && c <= 12291 || c === 12296 || c === 12297 || c === 12298 || c === 12299 || c === 12300 || c === 12301 || c === 12302 || c === 12303 || c === 12304 || c === 12305 || c >= 12306 && c <= 12307 || c === 12308 || c === 12309 || c === 12310 || c === 12311 || c === 12312 || c === 12313 || c === 12314 || c === 12315 || c === 12316 || c === 12317 || c >= 12318 && c <= 12319 || c === 12320 || c === 12336 || c === 64830 || c === 64831 || c >= 65093 && c <= 65094;
|
|
3107
3107
|
}
|
|
3108
3108
|
|
|
3109
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3109
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/index.js
|
|
3110
3110
|
function pruneLocation(els) {
|
|
3111
3111
|
els.forEach(function(el) {
|
|
3112
3112
|
delete el.location;
|
|
@@ -3142,7 +3142,7 @@ var ReactIntl = (() => {
|
|
|
3142
3142
|
return result.val;
|
|
3143
3143
|
}
|
|
3144
3144
|
|
|
3145
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3145
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/lib/index.js
|
|
3146
3146
|
function memoize(fn, options) {
|
|
3147
3147
|
var cache = options && options.cache ? options.cache : cacheDefault;
|
|
3148
3148
|
var serializer = options && options.serializer ? options.serializer : serializerDefault;
|
|
@@ -3209,7 +3209,7 @@ var ReactIntl = (() => {
|
|
|
3209
3209
|
monadic: strategyMonadic
|
|
3210
3210
|
};
|
|
3211
3211
|
|
|
3212
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3212
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/intl-messageformat@0.0.0/node_modules/intl-messageformat/lib/src/error.js
|
|
3213
3213
|
var ErrorCode;
|
|
3214
3214
|
(function(ErrorCode2) {
|
|
3215
3215
|
ErrorCode2["MISSING_VALUE"] = "MISSING_VALUE";
|
|
@@ -3251,7 +3251,7 @@ var ReactIntl = (() => {
|
|
|
3251
3251
|
return MissingValueError2;
|
|
3252
3252
|
}(FormatError);
|
|
3253
3253
|
|
|
3254
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3254
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/intl-messageformat@0.0.0/node_modules/intl-messageformat/lib/src/formatters.js
|
|
3255
3255
|
var PART_TYPE;
|
|
3256
3256
|
(function(PART_TYPE2) {
|
|
3257
3257
|
PART_TYPE2[PART_TYPE2["literal"] = 0] = "literal";
|
|
@@ -3391,7 +3391,7 @@ var ReactIntl = (() => {
|
|
|
3391
3391
|
return mergeLiteral(result);
|
|
3392
3392
|
}
|
|
3393
3393
|
|
|
3394
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3394
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/intl-messageformat@0.0.0/node_modules/intl-messageformat/lib/src/core.js
|
|
3395
3395
|
function mergeConfig(c1, c2) {
|
|
3396
3396
|
if (!c2) {
|
|
3397
3397
|
return c1;
|
|
@@ -3613,7 +3613,7 @@ var ReactIntl = (() => {
|
|
|
3613
3613
|
return IntlMessageFormat2;
|
|
3614
3614
|
}();
|
|
3615
3615
|
|
|
3616
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3616
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/error.js
|
|
3617
3617
|
var IntlErrorCode;
|
|
3618
3618
|
(function(IntlErrorCode2) {
|
|
3619
3619
|
IntlErrorCode2["FORMAT_ERROR"] = "FORMAT_ERROR";
|
|
@@ -3686,7 +3686,7 @@ var ReactIntl = (() => {
|
|
|
3686
3686
|
return MissingTranslationError2;
|
|
3687
3687
|
}(IntlError);
|
|
3688
3688
|
|
|
3689
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3689
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/utils.js
|
|
3690
3690
|
function filterProps(props, allowlist, defaults) {
|
|
3691
3691
|
if (defaults === void 0) {
|
|
3692
3692
|
defaults = {};
|
|
@@ -3843,7 +3843,7 @@ var ReactIntl = (() => {
|
|
|
3843
3843
|
onError(new UnsupportedFormatterError("No ".concat(type, " format named: ").concat(name)));
|
|
3844
3844
|
}
|
|
3845
3845
|
|
|
3846
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3846
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/message.js
|
|
3847
3847
|
function setTimeZoneInOptions(opts, timeZone) {
|
|
3848
3848
|
return Object.keys(opts).reduce(function(all, k) {
|
|
3849
3849
|
all[k] = __assign({ timeZone }, opts[k]);
|
|
@@ -3923,7 +3923,7 @@ var ReactIntl = (() => {
|
|
|
3923
3923
|
return id;
|
|
3924
3924
|
};
|
|
3925
3925
|
|
|
3926
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3926
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/dateTime.js
|
|
3927
3927
|
var DATE_TIME_FORMAT_OPTIONS = [
|
|
3928
3928
|
"formatMatcher",
|
|
3929
3929
|
"timeZone",
|
|
@@ -4029,7 +4029,7 @@ var ReactIntl = (() => {
|
|
|
4029
4029
|
return [];
|
|
4030
4030
|
}
|
|
4031
4031
|
|
|
4032
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4032
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/displayName.js
|
|
4033
4033
|
var DISPLAY_NAMES_OPTONS = [
|
|
4034
4034
|
"style",
|
|
4035
4035
|
"type",
|
|
@@ -4050,7 +4050,7 @@ var ReactIntl = (() => {
|
|
|
4050
4050
|
}
|
|
4051
4051
|
}
|
|
4052
4052
|
|
|
4053
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4053
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/list.js
|
|
4054
4054
|
var LIST_FORMAT_OPTIONS = [
|
|
4055
4055
|
"type",
|
|
4056
4056
|
"style"
|
|
@@ -4105,7 +4105,7 @@ var ReactIntl = (() => {
|
|
|
4105
4105
|
return values;
|
|
4106
4106
|
}
|
|
4107
4107
|
|
|
4108
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4108
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/plural.js
|
|
4109
4109
|
var PLURAL_FORMAT_OPTIONS = ["type"];
|
|
4110
4110
|
function formatPlural(_a2, getPluralRules, value, options) {
|
|
4111
4111
|
var locale = _a2.locale, onError = _a2.onError;
|
|
@@ -4124,7 +4124,7 @@ var ReactIntl = (() => {
|
|
|
4124
4124
|
return "other";
|
|
4125
4125
|
}
|
|
4126
4126
|
|
|
4127
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4127
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/relativeTime.js
|
|
4128
4128
|
var RELATIVE_TIME_FORMAT_OPTIONS = ["numeric", "style"];
|
|
4129
4129
|
function getFormatter2(_a2, getRelativeTimeFormat, options) {
|
|
4130
4130
|
var locale = _a2.locale, formats = _a2.formats, onError = _a2.onError;
|
|
@@ -4155,7 +4155,7 @@ var ReactIntl = (() => {
|
|
|
4155
4155
|
return String(value);
|
|
4156
4156
|
}
|
|
4157
4157
|
|
|
4158
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4158
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/number.js
|
|
4159
4159
|
var NUMBER_FORMAT_OPTIONS = [
|
|
4160
4160
|
"style",
|
|
4161
4161
|
"currency",
|
|
@@ -4210,7 +4210,7 @@ var ReactIntl = (() => {
|
|
|
4210
4210
|
return [];
|
|
4211
4211
|
}
|
|
4212
4212
|
|
|
4213
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4213
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/create-intl.js
|
|
4214
4214
|
function messagesContainString(messages) {
|
|
4215
4215
|
var firstMessage = messages ? messages[Object.keys(messages)[0]] : void 0;
|
|
4216
4216
|
return typeof firstMessage === "string";
|
|
@@ -4254,7 +4254,7 @@ var ReactIntl = (() => {
|
|
|
4254
4254
|
});
|
|
4255
4255
|
}
|
|
4256
4256
|
|
|
4257
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4257
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/utils.js
|
|
4258
4258
|
function invariantIntlContext(intl) {
|
|
4259
4259
|
invariant(intl, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
|
|
4260
4260
|
}
|
|
@@ -4286,7 +4286,7 @@ var ReactIntl = (() => {
|
|
|
4286
4286
|
return true;
|
|
4287
4287
|
}
|
|
4288
4288
|
|
|
4289
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4289
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/injectIntl.js
|
|
4290
4290
|
function getDisplayName(Component) {
|
|
4291
4291
|
return Component.displayName || Component.name || "Component";
|
|
4292
4292
|
}
|
|
@@ -4317,14 +4317,14 @@ var ReactIntl = (() => {
|
|
|
4317
4317
|
return (0, import_hoist_non_react_statics.default)(WithIntl, WrappedComponent);
|
|
4318
4318
|
}
|
|
4319
4319
|
|
|
4320
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4320
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/useIntl.js
|
|
4321
4321
|
function useIntl() {
|
|
4322
4322
|
var intl = React3.useContext(Context);
|
|
4323
4323
|
invariantIntlContext(intl);
|
|
4324
4324
|
return intl;
|
|
4325
4325
|
}
|
|
4326
4326
|
|
|
4327
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4327
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/createFormattedComponent.js
|
|
4328
4328
|
var DisplayName;
|
|
4329
4329
|
(function(DisplayName2) {
|
|
4330
4330
|
DisplayName2["formatDate"] = "FormattedDate";
|
|
@@ -4381,7 +4381,7 @@ var ReactIntl = (() => {
|
|
|
4381
4381
|
return Component;
|
|
4382
4382
|
}
|
|
4383
4383
|
|
|
4384
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4384
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/provider.js
|
|
4385
4385
|
var React5 = __toESM(window.React);
|
|
4386
4386
|
function processIntlConfig(config) {
|
|
4387
4387
|
return {
|
|
@@ -4479,7 +4479,7 @@ var ReactIntl = (() => {
|
|
|
4479
4479
|
}(React5.PureComponent);
|
|
4480
4480
|
var provider_default = IntlProvider2;
|
|
4481
4481
|
|
|
4482
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4482
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/relative.js
|
|
4483
4483
|
var React6 = __toESM(window.React);
|
|
4484
4484
|
var MINUTE = 60;
|
|
4485
4485
|
var HOUR = 60 * 60;
|
|
@@ -4598,7 +4598,7 @@ var ReactIntl = (() => {
|
|
|
4598
4598
|
};
|
|
4599
4599
|
var relative_default = FormattedRelativeTime;
|
|
4600
4600
|
|
|
4601
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4601
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/plural.js
|
|
4602
4602
|
var React7 = __toESM(window.React);
|
|
4603
4603
|
var FormattedPlural = function(props) {
|
|
4604
4604
|
var _a2 = useIntl(), formatPlural2 = _a2.formatPlural, Text = _a2.textComponent;
|
|
@@ -4619,7 +4619,7 @@ var ReactIntl = (() => {
|
|
|
4619
4619
|
FormattedPlural.displayName = "FormattedPlural";
|
|
4620
4620
|
var plural_default = FormattedPlural;
|
|
4621
4621
|
|
|
4622
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4622
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/message.js
|
|
4623
4623
|
var React8 = __toESM(window.React);
|
|
4624
4624
|
function areEqual(prevProps, nextProps) {
|
|
4625
4625
|
var values = prevProps.values, otherProps = __rest(prevProps, ["values"]);
|
|
@@ -4647,7 +4647,7 @@ var ReactIntl = (() => {
|
|
|
4647
4647
|
MemoizedFormattedMessage.displayName = "MemoizedFormattedMessage";
|
|
4648
4648
|
var message_default = MemoizedFormattedMessage;
|
|
4649
4649
|
|
|
4650
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4650
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/dateTimeRange.js
|
|
4651
4651
|
var React9 = __toESM(window.React);
|
|
4652
4652
|
var FormattedDateTimeRange = function(props) {
|
|
4653
4653
|
var intl = useIntl();
|
|
@@ -4662,7 +4662,7 @@ var ReactIntl = (() => {
|
|
|
4662
4662
|
FormattedDateTimeRange.displayName = "FormattedDateTimeRange";
|
|
4663
4663
|
var dateTimeRange_default = FormattedDateTimeRange;
|
|
4664
4664
|
|
|
4665
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4665
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/index.js
|
|
4666
4666
|
function defineMessages(msgs) {
|
|
4667
4667
|
return msgs;
|
|
4668
4668
|
}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { FormatDateOptions, FormatNumberOptions, FormatListOptions, FormatDisplayNameOptions } from '@formatjs/intl';
|
|
3
3
|
import { IntlShape } from '../types';
|
|
4
4
|
import { Part } from '@formatjs/intl-listformat';
|
|
5
|
-
|
|
5
|
+
type Formatter = {
|
|
6
6
|
formatDate: FormatDateOptions;
|
|
7
7
|
formatTime: FormatDateOptions;
|
|
8
8
|
formatNumber: FormatNumberOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFormattedComponent.d.ts","sourceRoot":"","sources":["createFormattedComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAA;AAElC,OAAO,EAAC,IAAI,EAAC,MAAM,2BAA2B,CAAA;AAmB9C,
|
|
1
|
+
{"version":3,"file":"createFormattedComponent.d.ts","sourceRoot":"","sources":["createFormattedComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACzB,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAA;AAElC,OAAO,EAAC,IAAI,EAAC,MAAM,2BAA2B,CAAA;AAmB9C,KAAK,SAAS,GAAG;IACf,UAAU,EAAE,iBAAiB,CAAA;IAC7B,UAAU,EAAE,iBAA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,CAAC,CAAC,CAAA;IACrC,QAAQ,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;CAClD,CACF,CAsBA"}
|
|
@@ -7,10 +7,10 @@ export interface Opts<IntlPropName extends string = 'intl', ForwardRef extends b
|
|
|
7
7
|
forwardRef?: ForwardRef;
|
|
8
8
|
enforceContext?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type WrappedComponentProps<IntlPropName extends string = 'intl'> = {
|
|
11
11
|
[k in IntlPropName]: IntlShape;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type WithIntlProps<P> = Omit<P, keyof WrappedComponentProps> & {
|
|
14
14
|
forwardedRef?: React.Ref<any>;
|
|
15
15
|
};
|
|
16
16
|
export default function injectIntl<IntlPropName extends string = 'intl', P extends WrappedComponentProps<IntlPropName> = WrappedComponentProps<any>>(WrappedComponent: React.ComponentType<P>, options?: Opts<IntlPropName, false>): React.FC<WithIntlProps<P>> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"injectIntl.d.ts","sourceRoot":"","sources":["injectIntl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAA;AAUlC,eAAO,MAAM,QAAQ,2BAAe,CAAA;AACpC,eAAO,MAAM,OAAO,0BAAc,CAAA;AAElC,MAAM,WAAW,IAAI,CACnB,YAAY,SAAS,MAAM,GAAG,MAAM,EACpC,UAAU,SAAS,OAAO,GAAG,KAAK;IAElC,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,
|
|
1
|
+
{"version":3,"file":"injectIntl.d.ts","sourceRoot":"","sources":["injectIntl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MA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a,CAAC,CAAC,CAAC,GAAG,GAAG,EAEtC,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACxC,OAAO,CAAC,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,GACjC,KAAK,CAAC,yBAAyB,CAChC,KAAK,CAAC,eAAe,CAAC,aAAa,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,GAC9D,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CACzB,GAAG;IACF,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAA;CACzC,CAAA"}
|
package/src/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ResolvedIntlConfig as CoreResolvedIntlConfig, IntlFormatters, Formatters } from '@formatjs/intl';
|
|
3
3
|
import { DEFAULT_INTL_CONFIG } from './utils';
|
|
4
|
-
export
|
|
4
|
+
export type IntlConfig = Omit<ResolvedIntlConfig, keyof typeof DEFAULT_INTL_CONFIG> & Partial<typeof DEFAULT_INTL_CONFIG>;
|
|
5
5
|
export interface ResolvedIntlConfig extends CoreResolvedIntlConfig<React.ReactNode> {
|
|
6
6
|
textComponent?: React.ComponentType | keyof React.ReactHTML;
|
|
7
7
|
wrapRichTextChunksInFragment?: boolean;
|
package/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,kBAAkB,IAAI,sBAAsB,EAC5C,cAAc,EACd,UAAU,EACX,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;AAC3C,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,kBAAkB,IAAI,sBAAsB,EAC5C,cAAc,EACd,UAAU,EACX,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAA;AAC3C,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,kBAAkB,EAClB,MAAM,OAAO,mBAAmB,CACjC,GACC,OAAO,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAErC,MAAM,WAAW,kBACf,SAAQ,sBAAsB,CAAC,KAAK,CAAC,SAAS,CAAC;IAC/C,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,MAAM,KAAK,CAAC,SAAS,CAAA;IAC3D,4BAA4B,CAAC,EAAE,OAAO,CAAA;CACvC;AAED,MAAM,WAAW,SACf,SAAQ,kBAAkB,EACxB,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC;IACjC,UAAU,EAAE,UAAU,CAAA;CACvB"}
|