a-calc 3.0.0-beta.20260124.2 → 3.0.0-beta.20260124.3
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/a-calc.versions.js +4 -3
- package/browser/index.js +1 -1
- package/calc.d.ts +12 -0
- package/cjs/index.js +1 -1
- package/es/index.js +1 -1
- package/package.json +1 -1
package/calc.d.ts
CHANGED
|
@@ -458,6 +458,18 @@ export type UnitConvertOut = Record<string, Record<string, UnitConvertRule> & {
|
|
|
458
458
|
*/
|
|
459
459
|
export type UnitConvertIn = Record<string, Record<string, UnitConvertRule>>;
|
|
460
460
|
|
|
461
|
+
/**
|
|
462
|
+
* 千分位预设名称(系统内置)
|
|
463
|
+
* - us: 美式/英式/国际标准 (1,234,567.89)
|
|
464
|
+
* - eu: 欧洲大陆格式 (1.234.567,89)
|
|
465
|
+
* - swiss: 瑞士格式 (1'234'567.89)
|
|
466
|
+
* - space: 空格分隔/ISO标准 (1 234 567.89)
|
|
467
|
+
* - fr: 法国格式 (1 234 567,89 - 使用不换行空格)
|
|
468
|
+
* - indian: 印度格式 (12,34,567.89)
|
|
469
|
+
* - wan: 万进制/东亚格式 (123,4567.89)
|
|
470
|
+
*/
|
|
471
|
+
export type ThousandsPresetName = 'us' | 'eu' | 'swiss' | 'space' | 'fr' | 'indian' | 'wan';
|
|
472
|
+
|
|
461
473
|
/**
|
|
462
474
|
* 千分位预设配置类型
|
|
463
475
|
*/
|