react-intl 6.2.2 → 6.2.5
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 +10 -10
- package/react-intl.iife.js +521 -107
- 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/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,iBAAiB,CAAA;IAC7B,YAAY,EAAE,mBAAmB,CAAA;IACjC,UAAU,EAAE,iBAAiB,CAAA;IAC7B,iBAAiB,EAAE,wBAAwB,CAAA;CAC5C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CACzC,SAAS,CAAC,cAAc,CAAC,GAAG;IAC1B,KAAK,EAAE,UAAU,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAE/C,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,gBAAgB,EAAE,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;CAClE,CAKF,CAAA;AAGD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CACvC,SAAS,CAAC,YAAY,CAAC,GAAG;IACxB,KAAK,EAAE,UAAU,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAE7C,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;CACjD,CAKF,CAAA;AAGD,wBAAgB,qCAAqC,CACnD,IAAI,SAAS,YAAY,GAAG,YAAY,EAExC,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,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,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":["../../../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,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,MAAM,MAAM,qBAAqB,CAAC,YAAY,SAAS,MAAM,GAAG,MAAM,IAAI;KACvE,CAAC,IAAI,YAAY,GAAG,SAAS;CAC/B,CAAA;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,qBAAqB,CAAC,GAAG;IACpE,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;CAC9B,CAAA;AAID,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,YAAY,SAAS,MAAM,GAAG,MAAM,EACpC,CAAC,SAAS,qBAAqB,CAAC,YAAY,CAAC,GAAG,qBAAqB,CAAC,GAAG,CAAC,EAE1E,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACxC,OAAO,CAAC,EAAE,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.5",
|
|
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.3",
|
|
132
|
+
"@formatjs/icu-messageformat-parser": "2.1.14",
|
|
133
|
+
"@formatjs/intl": "2.6.3",
|
|
134
|
+
"@formatjs/intl-displaynames": "6.2.3",
|
|
135
|
+
"@formatjs/intl-listformat": "7.1.7",
|
|
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.
|
|
140
|
-
"tslib": "2.4.0"
|
|
139
|
+
"intl-messageformat": "10.2.5",
|
|
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.3",
|
|
144
|
+
"@formatjs/intl-relativetimeformat": "11.1.8"
|
|
145
145
|
},
|
|
146
146
|
"peerDependencies": {
|
|
147
147
|
"react": "^16.6.0 || 17 || 18",
|
package/react-intl.iife.js
CHANGED
|
@@ -33,9 +33,449 @@ 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/tslib@2.4.0/node_modules/tslib/tslib.js
|
|
37
|
+
var require_tslib = __commonJS({
|
|
38
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
39
|
+
var __extends2;
|
|
40
|
+
var __assign2;
|
|
41
|
+
var __rest2;
|
|
42
|
+
var __decorate2;
|
|
43
|
+
var __param2;
|
|
44
|
+
var __metadata2;
|
|
45
|
+
var __awaiter2;
|
|
46
|
+
var __generator2;
|
|
47
|
+
var __exportStar2;
|
|
48
|
+
var __values2;
|
|
49
|
+
var __read2;
|
|
50
|
+
var __spread2;
|
|
51
|
+
var __spreadArrays2;
|
|
52
|
+
var __spreadArray2;
|
|
53
|
+
var __await2;
|
|
54
|
+
var __asyncGenerator2;
|
|
55
|
+
var __asyncDelegator2;
|
|
56
|
+
var __asyncValues2;
|
|
57
|
+
var __makeTemplateObject2;
|
|
58
|
+
var __importStar2;
|
|
59
|
+
var __importDefault2;
|
|
60
|
+
var __classPrivateFieldGet2;
|
|
61
|
+
var __classPrivateFieldSet2;
|
|
62
|
+
var __classPrivateFieldIn2;
|
|
63
|
+
var __createBinding2;
|
|
64
|
+
(function(factory) {
|
|
65
|
+
var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
|
|
66
|
+
if (typeof define === "function" && define.amd) {
|
|
67
|
+
define("tslib", ["exports"], function(exports2) {
|
|
68
|
+
factory(createExporter(root, createExporter(exports2)));
|
|
69
|
+
});
|
|
70
|
+
} else if (typeof module === "object" && typeof module.exports === "object") {
|
|
71
|
+
factory(createExporter(root, createExporter(module.exports)));
|
|
72
|
+
} else {
|
|
73
|
+
factory(createExporter(root));
|
|
74
|
+
}
|
|
75
|
+
function createExporter(exports2, previous) {
|
|
76
|
+
if (exports2 !== root) {
|
|
77
|
+
if (typeof Object.create === "function") {
|
|
78
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
79
|
+
} else {
|
|
80
|
+
exports2.__esModule = true;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return function(id, v) {
|
|
84
|
+
return exports2[id] = previous ? previous(id, v) : v;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
})(function(exporter) {
|
|
88
|
+
var extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, b) {
|
|
89
|
+
d.__proto__ = b;
|
|
90
|
+
} || function(d, b) {
|
|
91
|
+
for (var p in b)
|
|
92
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
93
|
+
d[p] = b[p];
|
|
94
|
+
};
|
|
95
|
+
__extends2 = function(d, b) {
|
|
96
|
+
if (typeof b !== "function" && b !== null)
|
|
97
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
98
|
+
extendStatics(d, b);
|
|
99
|
+
function __() {
|
|
100
|
+
this.constructor = d;
|
|
101
|
+
}
|
|
102
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
103
|
+
};
|
|
104
|
+
__assign2 = Object.assign || function(t) {
|
|
105
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
106
|
+
s = arguments[i];
|
|
107
|
+
for (var p in s)
|
|
108
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
109
|
+
t[p] = s[p];
|
|
110
|
+
}
|
|
111
|
+
return t;
|
|
112
|
+
};
|
|
113
|
+
__rest2 = function(s, e) {
|
|
114
|
+
var t = {};
|
|
115
|
+
for (var p in s)
|
|
116
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
117
|
+
t[p] = s[p];
|
|
118
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
119
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
120
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
121
|
+
t[p[i]] = s[p[i]];
|
|
122
|
+
}
|
|
123
|
+
return t;
|
|
124
|
+
};
|
|
125
|
+
__decorate2 = function(decorators, target, key, desc) {
|
|
126
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
127
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
128
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
129
|
+
else
|
|
130
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
131
|
+
if (d = decorators[i])
|
|
132
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
133
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
134
|
+
};
|
|
135
|
+
__param2 = function(paramIndex, decorator) {
|
|
136
|
+
return function(target, key) {
|
|
137
|
+
decorator(target, key, paramIndex);
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
__metadata2 = function(metadataKey, metadataValue) {
|
|
141
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
142
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
143
|
+
};
|
|
144
|
+
__awaiter2 = function(thisArg, _arguments, P, generator) {
|
|
145
|
+
function adopt(value) {
|
|
146
|
+
return value instanceof P ? value : new P(function(resolve) {
|
|
147
|
+
resolve(value);
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
return new (P || (P = Promise))(function(resolve, reject) {
|
|
151
|
+
function fulfilled(value) {
|
|
152
|
+
try {
|
|
153
|
+
step(generator.next(value));
|
|
154
|
+
} catch (e) {
|
|
155
|
+
reject(e);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
function rejected(value) {
|
|
159
|
+
try {
|
|
160
|
+
step(generator["throw"](value));
|
|
161
|
+
} catch (e) {
|
|
162
|
+
reject(e);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function step(result) {
|
|
166
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
167
|
+
}
|
|
168
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
169
|
+
});
|
|
170
|
+
};
|
|
171
|
+
__generator2 = function(thisArg, body) {
|
|
172
|
+
var _ = { label: 0, sent: function() {
|
|
173
|
+
if (t[0] & 1)
|
|
174
|
+
throw t[1];
|
|
175
|
+
return t[1];
|
|
176
|
+
}, trys: [], ops: [] }, f, y, t, g;
|
|
177
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
178
|
+
return this;
|
|
179
|
+
}), g;
|
|
180
|
+
function verb(n) {
|
|
181
|
+
return function(v) {
|
|
182
|
+
return step([n, v]);
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
function step(op) {
|
|
186
|
+
if (f)
|
|
187
|
+
throw new TypeError("Generator is already executing.");
|
|
188
|
+
while (_)
|
|
189
|
+
try {
|
|
190
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
191
|
+
return t;
|
|
192
|
+
if (y = 0, t)
|
|
193
|
+
op = [op[0] & 2, t.value];
|
|
194
|
+
switch (op[0]) {
|
|
195
|
+
case 0:
|
|
196
|
+
case 1:
|
|
197
|
+
t = op;
|
|
198
|
+
break;
|
|
199
|
+
case 4:
|
|
200
|
+
_.label++;
|
|
201
|
+
return { value: op[1], done: false };
|
|
202
|
+
case 5:
|
|
203
|
+
_.label++;
|
|
204
|
+
y = op[1];
|
|
205
|
+
op = [0];
|
|
206
|
+
continue;
|
|
207
|
+
case 7:
|
|
208
|
+
op = _.ops.pop();
|
|
209
|
+
_.trys.pop();
|
|
210
|
+
continue;
|
|
211
|
+
default:
|
|
212
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
213
|
+
_ = 0;
|
|
214
|
+
continue;
|
|
215
|
+
}
|
|
216
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
217
|
+
_.label = op[1];
|
|
218
|
+
break;
|
|
219
|
+
}
|
|
220
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
221
|
+
_.label = t[1];
|
|
222
|
+
t = op;
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
225
|
+
if (t && _.label < t[2]) {
|
|
226
|
+
_.label = t[2];
|
|
227
|
+
_.ops.push(op);
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
if (t[2])
|
|
231
|
+
_.ops.pop();
|
|
232
|
+
_.trys.pop();
|
|
233
|
+
continue;
|
|
234
|
+
}
|
|
235
|
+
op = body.call(thisArg, _);
|
|
236
|
+
} catch (e) {
|
|
237
|
+
op = [6, e];
|
|
238
|
+
y = 0;
|
|
239
|
+
} finally {
|
|
240
|
+
f = t = 0;
|
|
241
|
+
}
|
|
242
|
+
if (op[0] & 5)
|
|
243
|
+
throw op[1];
|
|
244
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
__exportStar2 = function(m, o) {
|
|
248
|
+
for (var p in m)
|
|
249
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
250
|
+
__createBinding2(o, m, p);
|
|
251
|
+
};
|
|
252
|
+
__createBinding2 = Object.create ? function(o, m, k, k2) {
|
|
253
|
+
if (k2 === void 0)
|
|
254
|
+
k2 = k;
|
|
255
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
256
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
257
|
+
desc = { enumerable: true, get: function() {
|
|
258
|
+
return m[k];
|
|
259
|
+
} };
|
|
260
|
+
}
|
|
261
|
+
Object.defineProperty(o, k2, desc);
|
|
262
|
+
} : function(o, m, k, k2) {
|
|
263
|
+
if (k2 === void 0)
|
|
264
|
+
k2 = k;
|
|
265
|
+
o[k2] = m[k];
|
|
266
|
+
};
|
|
267
|
+
__values2 = function(o) {
|
|
268
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
269
|
+
if (m)
|
|
270
|
+
return m.call(o);
|
|
271
|
+
if (o && typeof o.length === "number")
|
|
272
|
+
return {
|
|
273
|
+
next: function() {
|
|
274
|
+
if (o && i >= o.length)
|
|
275
|
+
o = void 0;
|
|
276
|
+
return { value: o && o[i++], done: !o };
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
280
|
+
};
|
|
281
|
+
__read2 = function(o, n) {
|
|
282
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
283
|
+
if (!m)
|
|
284
|
+
return o;
|
|
285
|
+
var i = m.call(o), r, ar = [], e;
|
|
286
|
+
try {
|
|
287
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
288
|
+
ar.push(r.value);
|
|
289
|
+
} catch (error) {
|
|
290
|
+
e = { error };
|
|
291
|
+
} finally {
|
|
292
|
+
try {
|
|
293
|
+
if (r && !r.done && (m = i["return"]))
|
|
294
|
+
m.call(i);
|
|
295
|
+
} finally {
|
|
296
|
+
if (e)
|
|
297
|
+
throw e.error;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
return ar;
|
|
301
|
+
};
|
|
302
|
+
__spread2 = function() {
|
|
303
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
304
|
+
ar = ar.concat(__read2(arguments[i]));
|
|
305
|
+
return ar;
|
|
306
|
+
};
|
|
307
|
+
__spreadArrays2 = function() {
|
|
308
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
309
|
+
s += arguments[i].length;
|
|
310
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
311
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
312
|
+
r[k] = a[j];
|
|
313
|
+
return r;
|
|
314
|
+
};
|
|
315
|
+
__spreadArray2 = function(to, from, pack) {
|
|
316
|
+
if (pack || arguments.length === 2)
|
|
317
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
318
|
+
if (ar || !(i in from)) {
|
|
319
|
+
if (!ar)
|
|
320
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
321
|
+
ar[i] = from[i];
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
325
|
+
};
|
|
326
|
+
__await2 = function(v) {
|
|
327
|
+
return this instanceof __await2 ? (this.v = v, this) : new __await2(v);
|
|
328
|
+
};
|
|
329
|
+
__asyncGenerator2 = function(thisArg, _arguments, generator) {
|
|
330
|
+
if (!Symbol.asyncIterator)
|
|
331
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
332
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
333
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
334
|
+
return this;
|
|
335
|
+
}, i;
|
|
336
|
+
function verb(n) {
|
|
337
|
+
if (g[n])
|
|
338
|
+
i[n] = function(v) {
|
|
339
|
+
return new Promise(function(a, b) {
|
|
340
|
+
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
341
|
+
});
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
function resume(n, v) {
|
|
345
|
+
try {
|
|
346
|
+
step(g[n](v));
|
|
347
|
+
} catch (e) {
|
|
348
|
+
settle(q[0][3], e);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
function step(r) {
|
|
352
|
+
r.value instanceof __await2 ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
|
|
353
|
+
}
|
|
354
|
+
function fulfill(value) {
|
|
355
|
+
resume("next", value);
|
|
356
|
+
}
|
|
357
|
+
function reject(value) {
|
|
358
|
+
resume("throw", value);
|
|
359
|
+
}
|
|
360
|
+
function settle(f, v) {
|
|
361
|
+
if (f(v), q.shift(), q.length)
|
|
362
|
+
resume(q[0][0], q[0][1]);
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
__asyncDelegator2 = function(o) {
|
|
366
|
+
var i, p;
|
|
367
|
+
return i = {}, verb("next"), verb("throw", function(e) {
|
|
368
|
+
throw e;
|
|
369
|
+
}), verb("return"), i[Symbol.iterator] = function() {
|
|
370
|
+
return this;
|
|
371
|
+
}, i;
|
|
372
|
+
function verb(n, f) {
|
|
373
|
+
i[n] = o[n] ? function(v) {
|
|
374
|
+
return (p = !p) ? { value: __await2(o[n](v)), done: n === "return" } : f ? f(v) : v;
|
|
375
|
+
} : f;
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
__asyncValues2 = function(o) {
|
|
379
|
+
if (!Symbol.asyncIterator)
|
|
380
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
381
|
+
var m = o[Symbol.asyncIterator], i;
|
|
382
|
+
return m ? m.call(o) : (o = typeof __values2 === "function" ? __values2(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
383
|
+
return this;
|
|
384
|
+
}, i);
|
|
385
|
+
function verb(n) {
|
|
386
|
+
i[n] = o[n] && function(v) {
|
|
387
|
+
return new Promise(function(resolve, reject) {
|
|
388
|
+
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
389
|
+
});
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
function settle(resolve, reject, d, v) {
|
|
393
|
+
Promise.resolve(v).then(function(v2) {
|
|
394
|
+
resolve({ value: v2, done: d });
|
|
395
|
+
}, reject);
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
__makeTemplateObject2 = function(cooked, raw) {
|
|
399
|
+
if (Object.defineProperty) {
|
|
400
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
401
|
+
} else {
|
|
402
|
+
cooked.raw = raw;
|
|
403
|
+
}
|
|
404
|
+
return cooked;
|
|
405
|
+
};
|
|
406
|
+
var __setModuleDefault = Object.create ? function(o, v) {
|
|
407
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
408
|
+
} : function(o, v) {
|
|
409
|
+
o["default"] = v;
|
|
410
|
+
};
|
|
411
|
+
__importStar2 = function(mod) {
|
|
412
|
+
if (mod && mod.__esModule)
|
|
413
|
+
return mod;
|
|
414
|
+
var result = {};
|
|
415
|
+
if (mod != null) {
|
|
416
|
+
for (var k in mod)
|
|
417
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
418
|
+
__createBinding2(result, mod, k);
|
|
419
|
+
}
|
|
420
|
+
__setModuleDefault(result, mod);
|
|
421
|
+
return result;
|
|
422
|
+
};
|
|
423
|
+
__importDefault2 = function(mod) {
|
|
424
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
425
|
+
};
|
|
426
|
+
__classPrivateFieldGet2 = function(receiver, state, kind, f) {
|
|
427
|
+
if (kind === "a" && !f)
|
|
428
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
429
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
430
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
431
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
432
|
+
};
|
|
433
|
+
__classPrivateFieldSet2 = function(receiver, state, value, kind, f) {
|
|
434
|
+
if (kind === "m")
|
|
435
|
+
throw new TypeError("Private method is not writable");
|
|
436
|
+
if (kind === "a" && !f)
|
|
437
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
438
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
439
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
440
|
+
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
441
|
+
};
|
|
442
|
+
__classPrivateFieldIn2 = function(state, receiver) {
|
|
443
|
+
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function")
|
|
444
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
445
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
446
|
+
};
|
|
447
|
+
exporter("__extends", __extends2);
|
|
448
|
+
exporter("__assign", __assign2);
|
|
449
|
+
exporter("__rest", __rest2);
|
|
450
|
+
exporter("__decorate", __decorate2);
|
|
451
|
+
exporter("__param", __param2);
|
|
452
|
+
exporter("__metadata", __metadata2);
|
|
453
|
+
exporter("__awaiter", __awaiter2);
|
|
454
|
+
exporter("__generator", __generator2);
|
|
455
|
+
exporter("__exportStar", __exportStar2);
|
|
456
|
+
exporter("__createBinding", __createBinding2);
|
|
457
|
+
exporter("__values", __values2);
|
|
458
|
+
exporter("__read", __read2);
|
|
459
|
+
exporter("__spread", __spread2);
|
|
460
|
+
exporter("__spreadArrays", __spreadArrays2);
|
|
461
|
+
exporter("__spreadArray", __spreadArray2);
|
|
462
|
+
exporter("__await", __await2);
|
|
463
|
+
exporter("__asyncGenerator", __asyncGenerator2);
|
|
464
|
+
exporter("__asyncDelegator", __asyncDelegator2);
|
|
465
|
+
exporter("__asyncValues", __asyncValues2);
|
|
466
|
+
exporter("__makeTemplateObject", __makeTemplateObject2);
|
|
467
|
+
exporter("__importStar", __importStar2);
|
|
468
|
+
exporter("__importDefault", __importDefault2);
|
|
469
|
+
exporter("__classPrivateFieldGet", __classPrivateFieldGet2);
|
|
470
|
+
exporter("__classPrivateFieldSet", __classPrivateFieldSet2);
|
|
471
|
+
exporter("__classPrivateFieldIn", __classPrivateFieldIn2);
|
|
472
|
+
});
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
|
|
476
|
+
// ../../../../../../../../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
477
|
var require_react_is_development = __commonJS({
|
|
38
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
478
|
+
"../../../../../../../../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
479
|
"use strict";
|
|
40
480
|
if (true) {
|
|
41
481
|
(function() {
|
|
@@ -187,9 +627,9 @@ var ReactIntl = (() => {
|
|
|
187
627
|
}
|
|
188
628
|
});
|
|
189
629
|
|
|
190
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
630
|
+
// ../../../../../../../../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
631
|
var require_react_is = __commonJS({
|
|
192
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
632
|
+
"../../../../../../../../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
633
|
"use strict";
|
|
194
634
|
if (false) {
|
|
195
635
|
module.exports = null;
|
|
@@ -199,9 +639,9 @@ var ReactIntl = (() => {
|
|
|
199
639
|
}
|
|
200
640
|
});
|
|
201
641
|
|
|
202
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
642
|
+
// ../../../../../../../../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
643
|
var require_hoist_non_react_statics_cjs = __commonJS({
|
|
204
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
644
|
+
"../../../../../../../../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
645
|
"use strict";
|
|
206
646
|
var reactIs = require_react_is();
|
|
207
647
|
var REACT_STATICS = {
|
|
@@ -287,7 +727,7 @@ var ReactIntl = (() => {
|
|
|
287
727
|
}
|
|
288
728
|
});
|
|
289
729
|
|
|
290
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
730
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/index.js
|
|
291
731
|
var lib_exports = {};
|
|
292
732
|
__export(lib_exports, {
|
|
293
733
|
FormattedDate: () => FormattedDate,
|
|
@@ -321,83 +761,57 @@ var ReactIntl = (() => {
|
|
|
321
761
|
useIntl: () => useIntl
|
|
322
762
|
});
|
|
323
763
|
|
|
324
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
325
|
-
var
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
};
|
|
354
|
-
return __assign.apply(this, arguments);
|
|
355
|
-
};
|
|
356
|
-
function __rest(s, e) {
|
|
357
|
-
var t = {};
|
|
358
|
-
for (var p in s)
|
|
359
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
360
|
-
t[p] = s[p];
|
|
361
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
362
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
363
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
364
|
-
t[p[i]] = s[p[i]];
|
|
365
|
-
}
|
|
366
|
-
return t;
|
|
367
|
-
}
|
|
368
|
-
function __spreadArray(to, from, pack) {
|
|
369
|
-
if (pack || arguments.length === 2)
|
|
370
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
371
|
-
if (ar || !(i in from)) {
|
|
372
|
-
if (!ar)
|
|
373
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
374
|
-
ar[i] = from[i];
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
378
|
-
}
|
|
764
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/modules/index.js
|
|
765
|
+
var import_tslib = __toESM(require_tslib(), 1);
|
|
766
|
+
var {
|
|
767
|
+
__extends,
|
|
768
|
+
__assign,
|
|
769
|
+
__rest,
|
|
770
|
+
__decorate,
|
|
771
|
+
__param,
|
|
772
|
+
__metadata,
|
|
773
|
+
__awaiter,
|
|
774
|
+
__generator,
|
|
775
|
+
__exportStar,
|
|
776
|
+
__createBinding,
|
|
777
|
+
__values,
|
|
778
|
+
__read,
|
|
779
|
+
__spread,
|
|
780
|
+
__spreadArrays,
|
|
781
|
+
__spreadArray,
|
|
782
|
+
__await,
|
|
783
|
+
__asyncGenerator,
|
|
784
|
+
__asyncDelegator,
|
|
785
|
+
__asyncValues,
|
|
786
|
+
__makeTemplateObject,
|
|
787
|
+
__importStar,
|
|
788
|
+
__importDefault,
|
|
789
|
+
__classPrivateFieldGet,
|
|
790
|
+
__classPrivateFieldSet,
|
|
791
|
+
__classPrivateFieldIn
|
|
792
|
+
} = import_tslib.default;
|
|
379
793
|
|
|
380
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
794
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/createFormattedComponent.js
|
|
381
795
|
var React4 = __toESM(window.React);
|
|
382
796
|
|
|
383
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
797
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/useIntl.js
|
|
384
798
|
var React3 = __toESM(window.React);
|
|
385
799
|
|
|
386
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
800
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/injectIntl.js
|
|
387
801
|
var React2 = __toESM(window.React);
|
|
388
802
|
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
|
|
389
803
|
|
|
390
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
804
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/utils.js
|
|
391
805
|
var React = __toESM(window.React);
|
|
392
806
|
|
|
393
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
807
|
+
// ../../../../../../../../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
808
|
var MINUTES_PER_HOUR = 60;
|
|
395
809
|
var SECONDS_PER_MINUTE = 60;
|
|
396
810
|
var MS_PER_SECOND = 1e3;
|
|
397
811
|
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
|
|
398
812
|
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
|
|
399
813
|
|
|
400
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
814
|
+
// ../../../../../../../../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
815
|
var SANCTIONED_UNITS = [
|
|
402
816
|
"angle-degree",
|
|
403
817
|
"area-acre",
|
|
@@ -448,7 +862,7 @@ var ReactIntl = (() => {
|
|
|
448
862
|
}
|
|
449
863
|
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
450
864
|
|
|
451
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
865
|
+
// ../../../../../../../../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
866
|
function invariant(condition, message, Err) {
|
|
453
867
|
if (Err === void 0) {
|
|
454
868
|
Err = Error;
|
|
@@ -458,14 +872,14 @@ var ReactIntl = (() => {
|
|
|
458
872
|
}
|
|
459
873
|
}
|
|
460
874
|
|
|
461
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
875
|
+
// ../../../../../../../../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
876
|
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
877
|
|
|
464
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
878
|
+
// ../../../../../../../../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
879
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
466
880
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
467
881
|
|
|
468
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
882
|
+
// ../../../../../../../../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
883
|
var MissingLocaleDataError = function(_super) {
|
|
470
884
|
__extends(MissingLocaleDataError2, _super);
|
|
471
885
|
function MissingLocaleDataError2() {
|
|
@@ -476,7 +890,7 @@ var ReactIntl = (() => {
|
|
|
476
890
|
return MissingLocaleDataError2;
|
|
477
891
|
}(Error);
|
|
478
892
|
|
|
479
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
893
|
+
// ../../../../../../../../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
894
|
var RangePatternType;
|
|
481
895
|
(function(RangePatternType2) {
|
|
482
896
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -484,7 +898,7 @@ var ReactIntl = (() => {
|
|
|
484
898
|
RangePatternType2["endRange"] = "endRange";
|
|
485
899
|
})(RangePatternType || (RangePatternType = {}));
|
|
486
900
|
|
|
487
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
901
|
+
// ../../../../../../../../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
902
|
var ErrorKind;
|
|
489
903
|
(function(ErrorKind2) {
|
|
490
904
|
ErrorKind2[ErrorKind2["EXPECT_ARGUMENT_CLOSING_BRACE"] = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE";
|
|
@@ -515,7 +929,7 @@ var ReactIntl = (() => {
|
|
|
515
929
|
ErrorKind2[ErrorKind2["UNCLOSED_TAG"] = 27] = "UNCLOSED_TAG";
|
|
516
930
|
})(ErrorKind || (ErrorKind = {}));
|
|
517
931
|
|
|
518
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
932
|
+
// ../../../../../../../../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
933
|
var TYPE;
|
|
520
934
|
(function(TYPE2) {
|
|
521
935
|
TYPE2[TYPE2["literal"] = 0] = "literal";
|
|
@@ -567,10 +981,10 @@ var ReactIntl = (() => {
|
|
|
567
981
|
return !!(el && typeof el === "object" && el.type === SKELETON_TYPE.dateTime);
|
|
568
982
|
}
|
|
569
983
|
|
|
570
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
984
|
+
// ../../../../../../../../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
985
|
var SPACE_SEPARATOR_REGEX = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
|
|
572
986
|
|
|
573
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
987
|
+
// ../../../../../../../../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
988
|
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
989
|
function parseDateTimeSkeleton(skeleton) {
|
|
576
990
|
var result = {};
|
|
@@ -671,10 +1085,10 @@ var ReactIntl = (() => {
|
|
|
671
1085
|
return result;
|
|
672
1086
|
}
|
|
673
1087
|
|
|
674
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1088
|
+
// ../../../../../../../../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
1089
|
var WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
676
1090
|
|
|
677
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1091
|
+
// ../../../../../../../../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
1092
|
function parseNumberSkeletonFromString(skeleton) {
|
|
679
1093
|
if (skeleton.length === 0) {
|
|
680
1094
|
throw new Error("Number skeleton cannot be empty");
|
|
@@ -940,7 +1354,7 @@ var ReactIntl = (() => {
|
|
|
940
1354
|
return result;
|
|
941
1355
|
}
|
|
942
1356
|
|
|
943
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1357
|
+
// ../../../../../../../../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
1358
|
var timeData = {
|
|
945
1359
|
"AX": [
|
|
946
1360
|
"H"
|
|
@@ -2279,7 +2693,7 @@ var ReactIntl = (() => {
|
|
|
2279
2693
|
]
|
|
2280
2694
|
};
|
|
2281
2695
|
|
|
2282
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2696
|
+
// ../../../../../../../../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
2697
|
function getBestPattern(skeleton, locale) {
|
|
2284
2698
|
var skeletonCopy = "";
|
|
2285
2699
|
for (var patternPos = 0; patternPos < skeleton.length; patternPos++) {
|
|
@@ -2339,7 +2753,7 @@ var ReactIntl = (() => {
|
|
|
2339
2753
|
return hourCycles[0];
|
|
2340
2754
|
}
|
|
2341
2755
|
|
|
2342
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
2756
|
+
// ../../../../../../../../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
2757
|
var _a;
|
|
2344
2758
|
var SPACE_SEPARATOR_START_REGEX = new RegExp("^".concat(SPACE_SEPARATOR_REGEX.source, "*"));
|
|
2345
2759
|
var SPACE_SEPARATOR_END_REGEX = new RegExp("".concat(SPACE_SEPARATOR_REGEX.source, "*$"));
|
|
@@ -3106,7 +3520,7 @@ var ReactIntl = (() => {
|
|
|
3106
3520
|
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
3521
|
}
|
|
3108
3522
|
|
|
3109
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3523
|
+
// ../../../../../../../../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
3524
|
function pruneLocation(els) {
|
|
3111
3525
|
els.forEach(function(el) {
|
|
3112
3526
|
delete el.location;
|
|
@@ -3142,7 +3556,7 @@ var ReactIntl = (() => {
|
|
|
3142
3556
|
return result.val;
|
|
3143
3557
|
}
|
|
3144
3558
|
|
|
3145
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3559
|
+
// ../../../../../../../../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
3560
|
function memoize(fn, options) {
|
|
3147
3561
|
var cache = options && options.cache ? options.cache : cacheDefault;
|
|
3148
3562
|
var serializer = options && options.serializer ? options.serializer : serializerDefault;
|
|
@@ -3209,7 +3623,7 @@ var ReactIntl = (() => {
|
|
|
3209
3623
|
monadic: strategyMonadic
|
|
3210
3624
|
};
|
|
3211
3625
|
|
|
3212
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3626
|
+
// ../../../../../../../../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
3627
|
var ErrorCode;
|
|
3214
3628
|
(function(ErrorCode2) {
|
|
3215
3629
|
ErrorCode2["MISSING_VALUE"] = "MISSING_VALUE";
|
|
@@ -3251,7 +3665,7 @@ var ReactIntl = (() => {
|
|
|
3251
3665
|
return MissingValueError2;
|
|
3252
3666
|
}(FormatError);
|
|
3253
3667
|
|
|
3254
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3668
|
+
// ../../../../../../../../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
3669
|
var PART_TYPE;
|
|
3256
3670
|
(function(PART_TYPE2) {
|
|
3257
3671
|
PART_TYPE2[PART_TYPE2["literal"] = 0] = "literal";
|
|
@@ -3391,7 +3805,7 @@ var ReactIntl = (() => {
|
|
|
3391
3805
|
return mergeLiteral(result);
|
|
3392
3806
|
}
|
|
3393
3807
|
|
|
3394
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
3808
|
+
// ../../../../../../../../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
3809
|
function mergeConfig(c1, c2) {
|
|
3396
3810
|
if (!c2) {
|
|
3397
3811
|
return c1;
|
|
@@ -3613,7 +4027,7 @@ var ReactIntl = (() => {
|
|
|
3613
4027
|
return IntlMessageFormat2;
|
|
3614
4028
|
}();
|
|
3615
4029
|
|
|
3616
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4030
|
+
// ../../../../../../../../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
4031
|
var IntlErrorCode;
|
|
3618
4032
|
(function(IntlErrorCode2) {
|
|
3619
4033
|
IntlErrorCode2["FORMAT_ERROR"] = "FORMAT_ERROR";
|
|
@@ -3686,7 +4100,7 @@ var ReactIntl = (() => {
|
|
|
3686
4100
|
return MissingTranslationError2;
|
|
3687
4101
|
}(IntlError);
|
|
3688
4102
|
|
|
3689
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4103
|
+
// ../../../../../../../../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
4104
|
function filterProps(props, allowlist, defaults) {
|
|
3691
4105
|
if (defaults === void 0) {
|
|
3692
4106
|
defaults = {};
|
|
@@ -3843,7 +4257,7 @@ var ReactIntl = (() => {
|
|
|
3843
4257
|
onError(new UnsupportedFormatterError("No ".concat(type, " format named: ").concat(name)));
|
|
3844
4258
|
}
|
|
3845
4259
|
|
|
3846
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4260
|
+
// ../../../../../../../../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
4261
|
function setTimeZoneInOptions(opts, timeZone) {
|
|
3848
4262
|
return Object.keys(opts).reduce(function(all, k) {
|
|
3849
4263
|
all[k] = __assign({ timeZone }, opts[k]);
|
|
@@ -3923,7 +4337,7 @@ var ReactIntl = (() => {
|
|
|
3923
4337
|
return id;
|
|
3924
4338
|
};
|
|
3925
4339
|
|
|
3926
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4340
|
+
// ../../../../../../../../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
4341
|
var DATE_TIME_FORMAT_OPTIONS = [
|
|
3928
4342
|
"formatMatcher",
|
|
3929
4343
|
"timeZone",
|
|
@@ -4029,7 +4443,7 @@ var ReactIntl = (() => {
|
|
|
4029
4443
|
return [];
|
|
4030
4444
|
}
|
|
4031
4445
|
|
|
4032
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4446
|
+
// ../../../../../../../../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
4447
|
var DISPLAY_NAMES_OPTONS = [
|
|
4034
4448
|
"style",
|
|
4035
4449
|
"type",
|
|
@@ -4050,7 +4464,7 @@ var ReactIntl = (() => {
|
|
|
4050
4464
|
}
|
|
4051
4465
|
}
|
|
4052
4466
|
|
|
4053
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4467
|
+
// ../../../../../../../../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
4468
|
var LIST_FORMAT_OPTIONS = [
|
|
4055
4469
|
"type",
|
|
4056
4470
|
"style"
|
|
@@ -4105,7 +4519,7 @@ var ReactIntl = (() => {
|
|
|
4105
4519
|
return values;
|
|
4106
4520
|
}
|
|
4107
4521
|
|
|
4108
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4522
|
+
// ../../../../../../../../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
4523
|
var PLURAL_FORMAT_OPTIONS = ["type"];
|
|
4110
4524
|
function formatPlural(_a2, getPluralRules, value, options) {
|
|
4111
4525
|
var locale = _a2.locale, onError = _a2.onError;
|
|
@@ -4124,7 +4538,7 @@ var ReactIntl = (() => {
|
|
|
4124
4538
|
return "other";
|
|
4125
4539
|
}
|
|
4126
4540
|
|
|
4127
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4541
|
+
// ../../../../../../../../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
4542
|
var RELATIVE_TIME_FORMAT_OPTIONS = ["numeric", "style"];
|
|
4129
4543
|
function getFormatter2(_a2, getRelativeTimeFormat, options) {
|
|
4130
4544
|
var locale = _a2.locale, formats = _a2.formats, onError = _a2.onError;
|
|
@@ -4155,7 +4569,7 @@ var ReactIntl = (() => {
|
|
|
4155
4569
|
return String(value);
|
|
4156
4570
|
}
|
|
4157
4571
|
|
|
4158
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4572
|
+
// ../../../../../../../../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
4573
|
var NUMBER_FORMAT_OPTIONS = [
|
|
4160
4574
|
"style",
|
|
4161
4575
|
"currency",
|
|
@@ -4210,7 +4624,7 @@ var ReactIntl = (() => {
|
|
|
4210
4624
|
return [];
|
|
4211
4625
|
}
|
|
4212
4626
|
|
|
4213
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4627
|
+
// ../../../../../../../../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
4628
|
function messagesContainString(messages) {
|
|
4215
4629
|
var firstMessage = messages ? messages[Object.keys(messages)[0]] : void 0;
|
|
4216
4630
|
return typeof firstMessage === "string";
|
|
@@ -4254,7 +4668,7 @@ var ReactIntl = (() => {
|
|
|
4254
4668
|
});
|
|
4255
4669
|
}
|
|
4256
4670
|
|
|
4257
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4671
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/utils.js
|
|
4258
4672
|
function invariantIntlContext(intl) {
|
|
4259
4673
|
invariant(intl, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
|
|
4260
4674
|
}
|
|
@@ -4286,7 +4700,7 @@ var ReactIntl = (() => {
|
|
|
4286
4700
|
return true;
|
|
4287
4701
|
}
|
|
4288
4702
|
|
|
4289
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4703
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/injectIntl.js
|
|
4290
4704
|
function getDisplayName(Component) {
|
|
4291
4705
|
return Component.displayName || Component.name || "Component";
|
|
4292
4706
|
}
|
|
@@ -4317,14 +4731,14 @@ var ReactIntl = (() => {
|
|
|
4317
4731
|
return (0, import_hoist_non_react_statics.default)(WithIntl, WrappedComponent);
|
|
4318
4732
|
}
|
|
4319
4733
|
|
|
4320
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4734
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/useIntl.js
|
|
4321
4735
|
function useIntl() {
|
|
4322
4736
|
var intl = React3.useContext(Context);
|
|
4323
4737
|
invariantIntlContext(intl);
|
|
4324
4738
|
return intl;
|
|
4325
4739
|
}
|
|
4326
4740
|
|
|
4327
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4741
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/createFormattedComponent.js
|
|
4328
4742
|
var DisplayName;
|
|
4329
4743
|
(function(DisplayName2) {
|
|
4330
4744
|
DisplayName2["formatDate"] = "FormattedDate";
|
|
@@ -4381,7 +4795,7 @@ var ReactIntl = (() => {
|
|
|
4381
4795
|
return Component;
|
|
4382
4796
|
}
|
|
4383
4797
|
|
|
4384
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4798
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/provider.js
|
|
4385
4799
|
var React5 = __toESM(window.React);
|
|
4386
4800
|
function processIntlConfig(config) {
|
|
4387
4801
|
return {
|
|
@@ -4479,7 +4893,7 @@ var ReactIntl = (() => {
|
|
|
4479
4893
|
}(React5.PureComponent);
|
|
4480
4894
|
var provider_default = IntlProvider2;
|
|
4481
4895
|
|
|
4482
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
4896
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/relative.js
|
|
4483
4897
|
var React6 = __toESM(window.React);
|
|
4484
4898
|
var MINUTE = 60;
|
|
4485
4899
|
var HOUR = 60 * 60;
|
|
@@ -4598,7 +5012,7 @@ var ReactIntl = (() => {
|
|
|
4598
5012
|
};
|
|
4599
5013
|
var relative_default = FormattedRelativeTime;
|
|
4600
5014
|
|
|
4601
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
5015
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/plural.js
|
|
4602
5016
|
var React7 = __toESM(window.React);
|
|
4603
5017
|
var FormattedPlural = function(props) {
|
|
4604
5018
|
var _a2 = useIntl(), formatPlural2 = _a2.formatPlural, Text = _a2.textComponent;
|
|
@@ -4619,7 +5033,7 @@ var ReactIntl = (() => {
|
|
|
4619
5033
|
FormattedPlural.displayName = "FormattedPlural";
|
|
4620
5034
|
var plural_default = FormattedPlural;
|
|
4621
5035
|
|
|
4622
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
5036
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/message.js
|
|
4623
5037
|
var React8 = __toESM(window.React);
|
|
4624
5038
|
function areEqual(prevProps, nextProps) {
|
|
4625
5039
|
var values = prevProps.values, otherProps = __rest(prevProps, ["values"]);
|
|
@@ -4647,7 +5061,7 @@ var ReactIntl = (() => {
|
|
|
4647
5061
|
MemoizedFormattedMessage.displayName = "MemoizedFormattedMessage";
|
|
4648
5062
|
var message_default = MemoizedFormattedMessage;
|
|
4649
5063
|
|
|
4650
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
5064
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/dateTimeRange.js
|
|
4651
5065
|
var React9 = __toESM(window.React);
|
|
4652
5066
|
var FormattedDateTimeRange = function(props) {
|
|
4653
5067
|
var intl = useIntl();
|
|
@@ -4662,7 +5076,7 @@ var ReactIntl = (() => {
|
|
|
4662
5076
|
FormattedDateTimeRange.displayName = "FormattedDateTimeRange";
|
|
4663
5077
|
var dateTimeRange_default = FormattedDateTimeRange;
|
|
4664
5078
|
|
|
4665
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
5079
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/index.js
|
|
4666
5080
|
function defineMessages(msgs) {
|
|
4667
5081
|
return msgs;
|
|
4668
5082
|
}
|
|
@@ -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,iBAAiB,CAAA;IAC7B,YAAY,EAAE,mBAAmB,CAAA;IACjC,UAAU,EAAE,iBAAiB,CAAA;IAC7B,iBAAiB,EAAE,wBAAwB,CAAA;CAC5C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CACzC,SAAS,CAAC,cAAc,CAAC,GAAG;IAC1B,KAAK,EAAE,UAAU,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAE/C,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,gBAAgB,EAAE,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;CAClE,CAKF,CAAA;AAGD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CACvC,SAAS,CAAC,YAAY,CAAC,GAAG;IACxB,KAAK,EAAE,UAAU,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAE7C,QAAQ,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;CACjD,CAKF,CAAA;AAGD,wBAAgB,qCAAqC,CACnD,IAAI,SAAS,YAAY,GAAG,YAAY,EAExC,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,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":["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,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,MAAM,MAAM,qBAAqB,CAAC,YAAY,SAAS,MAAM,GAAG,MAAM,IAAI;KACvE,CAAC,IAAI,YAAY,GAAG,SAAS;CAC/B,CAAA;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,MAAM,qBAAqB,CAAC,GAAG;IACpE,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;CAC9B,CAAA;AAID,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,YAAY,SAAS,MAAM,GAAG,MAAM,EACpC,CAAC,SAAS,qBAAqB,CAAC,YAAY,CAAC,GAAG,qBAAqB,CAAC,GAAG,CAAC,EAE1E,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACxC,OAAO,CAAC,EAAE,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/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"}
|