@formatjs/ecma402-abstract 1.14.3 → 1.16.0
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/262.d.ts +1 -2
- package/CanonicalizeLocaleList.d.ts +0 -1
- package/CanonicalizeTimeZoneName.d.ts +0 -1
- package/CoerceOptionsToObject.d.ts +0 -1
- package/DefaultNumberOption.d.ts +0 -1
- package/GetNumberOption.d.ts +0 -1
- package/GetOption.d.ts +0 -1
- package/GetOptionsObject.d.ts +0 -1
- package/GetStringOrBooleanOption.d.ts +0 -1
- package/IsSanctionedSimpleUnitIdentifier.d.ts +0 -1
- package/IsValidTimeZoneName.d.ts +0 -1
- package/IsWellFormedCurrencyCode.d.ts +0 -1
- package/IsWellFormedUnitIdentifier.d.ts +0 -1
- package/NumberFormat/ApplyUnsignedRoundingMode.d.ts +0 -1
- package/NumberFormat/ApplyUnsignedRoundingMode.d.ts.map +1 -1
- package/NumberFormat/CollapseNumberRange.d.ts +0 -1
- package/NumberFormat/CollapseNumberRange.d.ts.map +1 -1
- package/NumberFormat/ComputeExponent.d.ts +0 -1
- package/NumberFormat/ComputeExponent.d.ts.map +1 -1
- package/NumberFormat/ComputeExponentForMagnitude.d.ts +0 -1
- package/NumberFormat/ComputeExponentForMagnitude.d.ts.map +1 -1
- package/NumberFormat/CurrencyDigits.d.ts +0 -1
- package/NumberFormat/CurrencyDigits.d.ts.map +1 -1
- package/NumberFormat/FormatApproximately.d.ts +0 -1
- package/NumberFormat/FormatApproximately.d.ts.map +1 -1
- package/NumberFormat/FormatNumericRange.d.ts +0 -1
- package/NumberFormat/FormatNumericRange.d.ts.map +1 -1
- package/NumberFormat/FormatNumericRangeToParts.d.ts +0 -1
- package/NumberFormat/FormatNumericRangeToParts.d.ts.map +1 -1
- package/NumberFormat/FormatNumericToParts.d.ts +0 -1
- package/NumberFormat/FormatNumericToParts.d.ts.map +1 -1
- package/NumberFormat/FormatNumericToString.d.ts +0 -1
- package/NumberFormat/FormatNumericToString.d.ts.map +1 -1
- package/NumberFormat/GetUnsignedRoundingMode.d.ts +0 -1
- package/NumberFormat/GetUnsignedRoundingMode.d.ts.map +1 -1
- package/NumberFormat/InitializeNumberFormat.d.ts +0 -1
- package/NumberFormat/InitializeNumberFormat.d.ts.map +1 -1
- package/NumberFormat/PartitionNumberPattern.d.ts +0 -1
- package/NumberFormat/PartitionNumberPattern.d.ts.map +1 -1
- package/NumberFormat/PartitionNumberRangePattern.d.ts +0 -1
- package/NumberFormat/PartitionNumberRangePattern.d.ts.map +1 -1
- package/NumberFormat/SetNumberFormatDigitOptions.d.ts +0 -1
- package/NumberFormat/SetNumberFormatDigitOptions.d.ts.map +1 -1
- package/NumberFormat/SetNumberFormatUnitOptions.d.ts +0 -1
- package/NumberFormat/SetNumberFormatUnitOptions.d.ts.map +1 -1
- package/NumberFormat/ToRawFixed.d.ts +0 -1
- package/NumberFormat/ToRawFixed.d.ts.map +1 -1
- package/NumberFormat/ToRawPrecision.d.ts +0 -1
- package/NumberFormat/ToRawPrecision.d.ts.map +1 -1
- package/NumberFormat/digit-mapping.generated.d.ts +0 -1
- package/NumberFormat/digit-mapping.generated.d.ts.map +1 -1
- package/NumberFormat/digit-mapping.generated.js +782 -1
- package/NumberFormat/format_to_parts.d.ts +0 -1
- package/NumberFormat/format_to_parts.d.ts.map +1 -1
- package/PartitionPattern.d.ts +0 -1
- package/SupportedLocales.d.ts +0 -1
- package/data.d.ts +0 -1
- package/index.d.ts +0 -1
- package/lib/262.d.ts +1 -2
- package/lib/CanonicalizeLocaleList.d.ts +0 -1
- package/lib/CanonicalizeTimeZoneName.d.ts +0 -1
- package/lib/CoerceOptionsToObject.d.ts +0 -1
- package/lib/DefaultNumberOption.d.ts +0 -1
- package/lib/GetNumberOption.d.ts +0 -1
- package/lib/GetOption.d.ts +0 -1
- package/lib/GetOptionsObject.d.ts +0 -1
- package/lib/GetStringOrBooleanOption.d.ts +0 -1
- package/lib/IsSanctionedSimpleUnitIdentifier.d.ts +0 -1
- package/lib/IsValidTimeZoneName.d.ts +0 -1
- package/lib/IsWellFormedCurrencyCode.d.ts +0 -1
- package/lib/IsWellFormedUnitIdentifier.d.ts +0 -1
- package/lib/NumberFormat/ApplyUnsignedRoundingMode.d.ts +0 -1
- package/lib/NumberFormat/CollapseNumberRange.d.ts +0 -1
- package/lib/NumberFormat/ComputeExponent.d.ts +0 -1
- package/lib/NumberFormat/ComputeExponentForMagnitude.d.ts +0 -1
- package/lib/NumberFormat/CurrencyDigits.d.ts +0 -1
- package/lib/NumberFormat/FormatApproximately.d.ts +0 -1
- package/lib/NumberFormat/FormatNumericRange.d.ts +0 -1
- package/lib/NumberFormat/FormatNumericRangeToParts.d.ts +0 -1
- package/lib/NumberFormat/FormatNumericToParts.d.ts +0 -1
- package/lib/NumberFormat/FormatNumericToString.d.ts +0 -1
- package/lib/NumberFormat/GetUnsignedRoundingMode.d.ts +0 -1
- package/lib/NumberFormat/InitializeNumberFormat.d.ts +0 -1
- package/lib/NumberFormat/PartitionNumberPattern.d.ts +0 -1
- package/lib/NumberFormat/PartitionNumberRangePattern.d.ts +0 -1
- package/lib/NumberFormat/SetNumberFormatDigitOptions.d.ts +0 -1
- package/lib/NumberFormat/SetNumberFormatUnitOptions.d.ts +0 -1
- package/lib/NumberFormat/ToRawFixed.d.ts +0 -1
- package/lib/NumberFormat/ToRawPrecision.d.ts +0 -1
- package/lib/NumberFormat/digit-mapping.generated.d.ts +0 -1
- package/lib/NumberFormat/digit-mapping.generated.js +782 -1
- package/lib/NumberFormat/format_to_parts.d.ts +0 -1
- package/lib/PartitionPattern.d.ts +0 -1
- package/lib/SupportedLocales.d.ts +0 -1
- package/lib/data.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/regex.generated.d.ts +0 -1
- package/lib/types/core.d.ts +0 -1
- package/lib/types/date-time.d.ts +0 -1
- package/lib/types/displaynames.d.ts +0 -1
- package/lib/types/list.d.ts +0 -1
- package/lib/types/number.d.ts +0 -1
- package/lib/types/plural-rules.d.ts +0 -1
- package/lib/types/relative-time.d.ts +0 -1
- package/lib/utils.d.ts +0 -1
- package/package.json +10 -2
- package/regex.generated.d.ts +0 -1
- package/types/core.d.ts +0 -1
- package/types/core.d.ts.map +1 -1
- package/types/date-time.d.ts +0 -1
- package/types/date-time.d.ts.map +1 -1
- package/types/displaynames.d.ts +0 -1
- package/types/displaynames.d.ts.map +1 -1
- package/types/list.d.ts +0 -1
- package/types/list.d.ts.map +1 -1
- package/types/number.d.ts +0 -1
- package/types/number.d.ts.map +1 -1
- package/types/plural-rules.d.ts +0 -1
- package/types/plural-rules.d.ts.map +1 -1
- package/types/relative-time.d.ts +0 -1
- package/types/relative-time.d.ts.map +1 -1
- package/utils.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format_to_parts.d.ts","sourceRoot":"","sources":["format_to_parts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,2BAA2B,EAC3B,iCAAiC,EACjC,kCAAkC,EAClC,+BAA+B,EAC/B,8BAA8B,EAC9B,8BAA8B,EAM9B,gBAAgB,EAChB,eAAe,EAChB,MAAM,iBAAiB,CAAA;AAexB,UAAU,YAAY;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;IAEhB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,8BAA8B,EACpC,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,OAAO,EAAE;IACP,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,CAAC,EAAE,eAAe,CAAA;IAC7B,KAAK,EAAE,wBAAwB,CAAA;IAE/B,QAAQ,EAAE,2BAA2B,CAAA;IAErC,cAAc,C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BAAgB,EAAE,CAySpB"}
|
package/PartitionPattern.d.ts
CHANGED
package/SupportedLocales.d.ts
CHANGED
package/data.d.ts
CHANGED
package/index.d.ts
CHANGED
package/lib/262.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare function InLeapYear(t: number): 0 | 1;
|
|
|
71
71
|
* https://tc39.es/ecma262/#sec-month-number
|
|
72
72
|
* @param t
|
|
73
73
|
*/
|
|
74
|
-
export declare function MonthFromTime(t: number): 0 | 1 |
|
|
74
|
+
export declare function MonthFromTime(t: number): 0 | 1 | 2 | 3 | 4 | 8 | 5 | 6 | 10 | 7 | 9 | 11;
|
|
75
75
|
export declare function DateFromTime(t: number): number;
|
|
76
76
|
export declare function HourFromTime(t: number): number;
|
|
77
77
|
export declare function MinFromTime(t: number): number;
|
|
@@ -89,4 +89,3 @@ export declare function OrdinaryHasInstance(C: Object, O: any, internalSlots?: {
|
|
|
89
89
|
boundTargetFunction: any;
|
|
90
90
|
}): boolean;
|
|
91
91
|
export declare function msFromTime(t: number): number;
|
|
92
|
-
//# sourceMappingURL=262.d.ts.map
|
package/lib/GetNumberOption.d.ts
CHANGED
package/lib/GetOption.d.ts
CHANGED
|
@@ -8,4 +8,3 @@
|
|
|
8
8
|
* @param fallback
|
|
9
9
|
*/
|
|
10
10
|
export declare function GetStringOrBooleanOption<T extends object, K extends keyof T>(opts: T, prop: K, values: T[K][] | undefined, trueValue: T[K] | boolean, falsyValue: T[K] | boolean, fallback: T[K] | boolean): T[K] | boolean;
|
|
11
|
-
//# sourceMappingURL=GetStringOrBooleanOption.d.ts.map
|
|
@@ -11,4 +11,3 @@ export declare const SIMPLE_UNITS: string[];
|
|
|
11
11
|
* https://tc39.es/ecma402/#sec-issanctionedsimpleunitidentifier
|
|
12
12
|
*/
|
|
13
13
|
export declare function IsSanctionedSimpleUnitIdentifier(unitIdentifier: string): boolean;
|
|
14
|
-
//# sourceMappingURL=IsSanctionedSimpleUnitIdentifier.d.ts.map
|
|
@@ -9,4 +9,3 @@ import { NumberFormatInternal } from '../types/number';
|
|
|
9
9
|
export declare function ComputeExponent(numberFormat: Intl.NumberFormat, x: number, { getInternalSlots, }: {
|
|
10
10
|
getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal;
|
|
11
11
|
}): [number, number];
|
|
12
|
-
//# sourceMappingURL=ComputeExponent.d.ts.map
|
|
@@ -7,4 +7,3 @@ import { NumberFormatInternal } from '../types/number';
|
|
|
7
7
|
export declare function ComputeExponentForMagnitude(numberFormat: Intl.NumberFormat, magnitude: number, { getInternalSlots, }: {
|
|
8
8
|
getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal;
|
|
9
9
|
}): number;
|
|
10
|
-
//# sourceMappingURL=ComputeExponentForMagnitude.d.ts.map
|
|
@@ -5,4 +5,3 @@ import { NumberFormatInternal, NumberFormatPart } from '../types/number';
|
|
|
5
5
|
export declare function FormatApproximately(numberFormat: Intl.NumberFormat, result: NumberFormatPart[], { getInternalSlots, }: {
|
|
6
6
|
getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal;
|
|
7
7
|
}): NumberFormatPart[];
|
|
8
|
-
//# sourceMappingURL=FormatApproximately.d.ts.map
|
|
@@ -5,4 +5,3 @@ import { NumberFormatInternal } from '../types/number';
|
|
|
5
5
|
export declare function FormatNumericRange(numberFormat: Intl.NumberFormat, x: number, y: number, { getInternalSlots, }: {
|
|
6
6
|
getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal;
|
|
7
7
|
}): string;
|
|
8
|
-
//# sourceMappingURL=FormatNumericRange.d.ts.map
|
|
@@ -5,4 +5,3 @@ import { NumberFormatInternal, NumberRangeToParts } from '../types/number';
|
|
|
5
5
|
export declare function FormatNumericRangeToParts(numberFormat: Intl.NumberFormat, x: number, y: number, { getInternalSlots, }: {
|
|
6
6
|
getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal;
|
|
7
7
|
}): NumberRangeToParts[];
|
|
8
|
-
//# sourceMappingURL=FormatNumericRangeToParts.d.ts.map
|
|
@@ -2,4 +2,3 @@ import { NumberFormatInternal, NumberFormatPart } from '../types/number';
|
|
|
2
2
|
export declare function FormatNumericToParts(nf: Intl.NumberFormat, x: number, implDetails: {
|
|
3
3
|
getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal;
|
|
4
4
|
}): NumberFormatPart[];
|
|
5
|
-
//# sourceMappingURL=FormatNumericToParts.d.ts.map
|
|
@@ -5,4 +5,3 @@ import { NumberFormatInternal } from '../types/number';
|
|
|
5
5
|
export declare function PartitionNumberPattern(numberFormat: Intl.NumberFormat, x: number, { getInternalSlots, }: {
|
|
6
6
|
getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal;
|
|
7
7
|
}): import("../types/number").NumberFormatPart[];
|
|
8
|
-
//# sourceMappingURL=PartitionNumberPattern.d.ts.map
|
|
@@ -5,4 +5,3 @@ import { NumberFormatInternal, NumberFormatPart } from '../types/number';
|
|
|
5
5
|
export declare function PartitionNumberRangePattern(numberFormat: Intl.NumberFormat, x: number, y: number, { getInternalSlots, }: {
|
|
6
6
|
getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal;
|
|
7
7
|
}): NumberFormatPart[];
|
|
8
|
-
//# sourceMappingURL=PartitionNumberRangePattern.d.ts.map
|
|
@@ -3,4 +3,3 @@ import { NumberFormatDigitOptions, NumberFormatNotation, NumberFormatDigitIntern
|
|
|
3
3
|
* https://tc39.es/ecma402/#sec-setnfdigitoptions
|
|
4
4
|
*/
|
|
5
5
|
export declare function SetNumberFormatDigitOptions(internalSlots: NumberFormatDigitInternalSlots, opts: NumberFormatDigitOptions, mnfdDefault: number, mxfdDefault: number, notation: NumberFormatNotation): void;
|
|
6
|
-
//# sourceMappingURL=SetNumberFormatDigitOptions.d.ts.map
|
|
@@ -5,4 +5,3 @@ import { NumberFormatInternal, NumberFormatOptions } from '../types/number';
|
|
|
5
5
|
export declare function SetNumberFormatUnitOptions(nf: Intl.NumberFormat, options: NumberFormatOptions | undefined, { getInternalSlots, }: {
|
|
6
6
|
getInternalSlots(nf: Intl.NumberFormat): NumberFormatInternal;
|
|
7
7
|
}): void;
|
|
8
|
-
//# sourceMappingURL=SetNumberFormatUnitOptions.d.ts.map
|