@d3plus/locales 3.0.0-alpha.2 → 3.0.0-alpha.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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- @d3plus/locales v3.0.0-alpha.2
2
+ @d3plus/locales v3.0.0-alpha.3
3
3
  International localizations for number, date, and UI labels.
4
4
  Copyright (c) 2025 D3plus - https://d3plus.org
5
5
  @license MIT
@@ -8,14 +8,6 @@
8
8
  /**
9
9
  @namespace {Object} formatLocale
10
10
  @desc A set of default locale formatters used when assigning suffixes and currency in numbers.
11
- *
12
- * | Name | Default | Description |
13
- * |---|---|---|
14
- * | separator | "" | Separation between the number with the suffix. |
15
- * | suffixes | [] | List of suffixes used to format numbers. |
16
- * | grouping | [3] | The array of group sizes, |
17
- * | delimiters | {thousands: ",", decimal: "."} | Decimal and group separators. |
18
- * | currency | ["$", ""] | The currency prefix and suffix. |
19
11
  */let o=[],l=Object.keys(e),s=(Object.keys(i).map(a=>{let n=i[a];a=l.find(a=>a.toLowerCase()===n.language.toLowerCase());n.location&&a&&o.push({name:n.language,location:n.location,tag:n.tag,lcid:n.id,"iso639-2":e[a]["iso639-2"],"iso639-1":e[a]["iso639-1"]})}),{ar:"ar-SA",ca:"ca-ES",da:"da-DK",en:"en-US",ko:"ko-KR",pa:"pa-IN",pt:"pt-BR",sv:"sv-SE",zh:"zh-CN"});a.findLocale=
20
12
  /**
21
13
  @module inViewport