@rowsncolumns/utils 9.2.43 → 9.3.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.
@@ -0,0 +1,44 @@
1
+ /** Excel formula syntax of one UI language: the characters that vary per locale. */
2
+ export interface FormulaLocaleSyntaxData {
3
+ /** Decimal mark inside number literals (`1.5` / `1,5`). */
4
+ decimalSeparator: string;
5
+ /** Function-argument separator; also Excel's reference-union operator (`SUM(A1:A2,B1:B2)`). */
6
+ argumentSeparator: string;
7
+ /** Separator between the columns of an array constant (`{1,2;3,4}` → `,`). */
8
+ arrayColumnSeparator: string;
9
+ /** Separator between the rows of an array constant (`{1,2;3,4}` → `;`). */
10
+ arrayRowSeparator: string;
11
+ }
12
+ /** One locale's row of the table, as imported. Functions/errors map the canonical (English) spelling
13
+ * to the localized one; names without an entry keep their English spelling in that locale. */
14
+ export interface FormulaLocaleDataEntry {
15
+ /** Display name of the language, in the language. */
16
+ name: string;
17
+ /** Tag whose function/error dictionaries this locale inherits (Swiss variants of de/fr/it). */
18
+ extends?: string;
19
+ syntax: FormulaLocaleSyntaxData;
20
+ /** Canonical function name → localized function name (non-identity entries only). */
21
+ functions?: Readonly<Record<string, string>>;
22
+ /** Canonical error value → localized error value (non-identity entries only). */
23
+ errors?: Readonly<Record<string, string>>;
24
+ /** Functions the maintainers could not confirm a localized name for; they resolve to English. */
25
+ uncertain?: readonly string[];
26
+ }
27
+ /** Provenance of the table (see the JSON source). */
28
+ export declare const FORMULA_LOCALE_DATA_SOURCES: {
29
+ readonly functionsAndErrors: {
30
+ readonly description: "Excel's localized function names and error values per UI language, as collected by PhpSpreadsheet (MIT) in Translations.xlsx.";
31
+ readonly url: "https://raw.githubusercontent.com/PHPOffice/PhpSpreadsheet/master/src/PhpSpreadsheet/Calculation/locale/Translations.xlsx";
32
+ readonly sha256: "2e06ff637feaa81934e40c03744e2ba05f4a0973d0eb331263daee82d80d18f4";
33
+ };
34
+ readonly syntax: {
35
+ readonly description: "Excel formula syntax per language. Decimal/argument separators: the Windows regional defaults of the language (Excel's argument separator doubles as its reference-union operator). Array-constant separators: read off Microsoft's localized function reference for MDETERM and MINVERSE (support.microsoft.com/<locale>/excel/functions/{mdeterm,minverse}-function), whose examples localize the English {3,6,1;1,1,0;3,10,2}. Swiss variants derive from Excel's xlAlternateArraySeparator rule.";
36
+ readonly retrieved: "2026-09-17";
37
+ };
38
+ readonly curated: {
39
+ readonly description: "Functions newer than the xlsx (dynamic arrays, LAMBDA helpers, TEXTSPLIT family, *B byte functions) come from formula-locale-overrides.json; names the maintainers could not confirm are listed under `uncertain` and resolve to English.";
40
+ };
41
+ };
42
+ /** Excel's formula syntax + function/error dictionaries per BCP-47 language (or language-REGION) tag. */
43
+ export declare const FORMULA_LOCALE_DATA: Readonly<Record<string, FormulaLocaleDataEntry>>;
44
+ //# sourceMappingURL=formula-locale-data.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formula-locale-data.generated.d.ts","sourceRoot":"","sources":["../../../formula-locale/formula-locale-data.generated.ts"],"names":[],"mappings":"AAMA,oFAAoF;AACpF,MAAM,WAAW,uBAAuB;IACtC,2DAA2D;IAC3D,gBAAgB,EAAE,MAAM,CAAC;IACzB,+FAA+F;IAC/F,iBAAiB,EAAE,MAAM,CAAC;IAC1B,8EAA8E;IAC9E,oBAAoB,EAAE,MAAM,CAAC;IAC7B,2EAA2E;IAC3E,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED;8FAC8F;AAC9F,MAAM,WAAW,sBAAsB;IACrC,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,+FAA+F;IAC/F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,uBAAuB,CAAC;IAChC,qFAAqF;IACrF,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC7C,iFAAiF;IACjF,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAC1C,iGAAiG;IACjG,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC/B;AAED,qDAAqD;AACrD,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;CAa5B,CAAC;AAEb,yGAAyG;AACzG,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAs6KhF,CAAC"}