@lokascript/i18n 2.0.0 → 2.1.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.
@@ -1,5 +1,5 @@
1
- export { a1 as AdpositionType, E as ENGLISH_COMMANDS, d as ENGLISH_KEYWORDS, a5 as GrammarRule, aw as GrammarTransformer, a3 as GrammaticalMarker, K as KeywordProvider, a as KeywordProviderOptions, ab as LANGUAGE_FAMILY_DEFAULTS, a4 as LanguageProfile, Z as LocaleManager, a2 as MorphologyType, a9 as ParsedElement, a8 as ParsedStatement, a6 as PatternMatcher, a7 as PatternTransform, $ as SemanticRole, U as UNIVERSAL_ENGLISH_KEYWORDS, aa as UNIVERSAL_PATTERNS, a0 as WordOrder, n as ar, n as arDictionary, m as arKeywords, an as arabicProfile, R as bn, R as bnDictionary, Q as bnKeywords, am as chineseProfile, b as createEnglishProvider, c as createKeywordProvider, l as de, l as deDictionary, k as deKeywords, _ as detectBrowserLocale, aj as englishProfile, f as es, f as esDictionary, e as esKeywords, i as fr, i as frDictionary, h as frKeywords, ar as frenchProfile, aq as germanProfile, ah as getProfile, ai as getSupportedLocales, aB as grammarExamples, P as hiDictionary, O as hiKeywords, P as hindiDictionary, u as id, u as idDictionary, s as idKeywords, at as indonesianProfile, ad as insertMarkers, D as it, D as itDictionary, C as itKeywords, g as ja, g as jaDictionary, j as jaKeywords, ak as japaneseProfile, ae as joinTokens, p as ko, p as koDictionary, o as koKeywords, al as koreanProfile, W as ms, W as msDictionary, V as msKeywords, ax as parseStatement, I as pl, I as plDictionary, H as plKeywords, as as portugueseProfile, ag as profiles, B as pt, B as ptDictionary, A as ptKeywords, w as qu, w as quDictionary, v as quKeywords, au as quechuaProfile, ac as reorderRoles, L as ruDictionary, J as ruKeywords, L as russianDictionary, ap as spanishProfile, y as sw, y as swDictionary, x as swKeywords, av as swahiliProfile, T as th, T as thDictionary, S as thKeywords, Y as tl, Y as tlDictionary, X as tlKeywords, az as toEnglish, ay as toLocale, r as tr, r as trDictionary, t as trKeywords, af as transformStatement, aA as translate, ao as turkishProfile, N as ukDictionary, M as ukKeywords, N as ukrainianDictionary, G as vi, G as viDictionary, F as viKeywords, q as zh, q as zhDictionary, z as zhKeywords } from './transformer-kXwlqa5b.cjs';
2
- import { D as Dictionary } from './types-naTJIIaT.cjs';
1
+ export { A as AdpositionType, E as ENGLISH_COMMANDS, a as ENGLISH_KEYWORDS, G as GrammarRule, b as GrammarTransformer, c as GrammaticalMarker, K as KeywordProvider, d as KeywordProviderOptions, L as LANGUAGE_FAMILY_DEFAULTS, e as LanguageProfile, f as LocaleManager, M as MorphologyType, P as ParsedElement, g as ParsedStatement, h as PatternMatcher, i as PatternTransform, S as SemanticRole, U as UNIVERSAL_ENGLISH_KEYWORDS, j as UNIVERSAL_PATTERNS, W as WordOrder, k as ar, k as arDictionary, l as arKeywords, m as arabicProfile, n as bn, n as bnDictionary, o as bnKeywords, p as chineseProfile, q as createEnglishProvider, r as createKeywordProvider, s as de, s as deDictionary, t as deKeywords, u as detectBrowserLocale, v as englishProfile, w as es, w as esDictionary, x as esKeywords, y as fr, y as frDictionary, z as frKeywords, B as frenchProfile, C as germanProfile, D as getProfile, F as getSupportedLocales, H as grammarExamples, I as hiDictionary, J as hiKeywords, I as hindiDictionary, N as id, N as idDictionary, O as idKeywords, Q as indonesianProfile, R as insertMarkers, T as it, T as itDictionary, V as itKeywords, X as ja, X as jaDictionary, Y as jaKeywords, Z as japaneseProfile, _ as joinTokens, $ as ko, $ as koDictionary, a0 as koKeywords, a1 as koreanProfile, a2 as ms, a2 as msDictionary, a3 as msKeywords, a4 as parseStatement, a5 as pl, a5 as plDictionary, a6 as plKeywords, a7 as portugueseProfile, a8 as profiles, a9 as pt, a9 as ptDictionary, aa as ptKeywords, ab as qu, ab as quDictionary, ac as quKeywords, ad as quechuaProfile, ae as reorderRoles, af as ruDictionary, ag as ruKeywords, af as russianDictionary, ah as spanishProfile, ai as sw, ai as swDictionary, aj as swKeywords, ak as swahiliProfile, al as th, al as thDictionary, am as thKeywords, an as tl, an as tlDictionary, ao as tlKeywords, ap as toEnglish, aq as toLocale, ar as tr, ar as trDictionary, as as trKeywords, at as transformStatement, au as translate, av as turkishProfile, aw as ukDictionary, ax as ukKeywords, aw as ukrainianDictionary, ay as vi, ay as viDictionary, az as viKeywords, aA as zh, aA as zhDictionary, aB as zhKeywords } from './transformer-DQqxl6hb.cjs';
2
+ import { D as Dictionary } from './types-BYtpqGq3.cjs';
3
3
 
4
4
  /**
5
5
  * English dictionary - identity mapping since English is the canonical hyperscript language.
package/dist/browser.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { a1 as AdpositionType, E as ENGLISH_COMMANDS, d as ENGLISH_KEYWORDS, a5 as GrammarRule, aw as GrammarTransformer, a3 as GrammaticalMarker, K as KeywordProvider, a as KeywordProviderOptions, ab as LANGUAGE_FAMILY_DEFAULTS, a4 as LanguageProfile, Z as LocaleManager, a2 as MorphologyType, a9 as ParsedElement, a8 as ParsedStatement, a6 as PatternMatcher, a7 as PatternTransform, $ as SemanticRole, U as UNIVERSAL_ENGLISH_KEYWORDS, aa as UNIVERSAL_PATTERNS, a0 as WordOrder, n as ar, n as arDictionary, m as arKeywords, an as arabicProfile, R as bn, R as bnDictionary, Q as bnKeywords, am as chineseProfile, b as createEnglishProvider, c as createKeywordProvider, l as de, l as deDictionary, k as deKeywords, _ as detectBrowserLocale, aj as englishProfile, f as es, f as esDictionary, e as esKeywords, i as fr, i as frDictionary, h as frKeywords, ar as frenchProfile, aq as germanProfile, ah as getProfile, ai as getSupportedLocales, aB as grammarExamples, P as hiDictionary, O as hiKeywords, P as hindiDictionary, u as id, u as idDictionary, s as idKeywords, at as indonesianProfile, ad as insertMarkers, D as it, D as itDictionary, C as itKeywords, g as ja, g as jaDictionary, j as jaKeywords, ak as japaneseProfile, ae as joinTokens, p as ko, p as koDictionary, o as koKeywords, al as koreanProfile, W as ms, W as msDictionary, V as msKeywords, ax as parseStatement, I as pl, I as plDictionary, H as plKeywords, as as portugueseProfile, ag as profiles, B as pt, B as ptDictionary, A as ptKeywords, w as qu, w as quDictionary, v as quKeywords, au as quechuaProfile, ac as reorderRoles, L as ruDictionary, J as ruKeywords, L as russianDictionary, ap as spanishProfile, y as sw, y as swDictionary, x as swKeywords, av as swahiliProfile, T as th, T as thDictionary, S as thKeywords, Y as tl, Y as tlDictionary, X as tlKeywords, az as toEnglish, ay as toLocale, r as tr, r as trDictionary, t as trKeywords, af as transformStatement, aA as translate, ao as turkishProfile, N as ukDictionary, M as ukKeywords, N as ukrainianDictionary, G as vi, G as viDictionary, F as viKeywords, q as zh, q as zhDictionary, z as zhKeywords } from './transformer-DN_HqdDB.js';
2
- import { D as Dictionary } from './types-naTJIIaT.js';
1
+ export { A as AdpositionType, E as ENGLISH_COMMANDS, a as ENGLISH_KEYWORDS, G as GrammarRule, b as GrammarTransformer, c as GrammaticalMarker, K as KeywordProvider, d as KeywordProviderOptions, L as LANGUAGE_FAMILY_DEFAULTS, e as LanguageProfile, f as LocaleManager, M as MorphologyType, P as ParsedElement, g as ParsedStatement, h as PatternMatcher, i as PatternTransform, S as SemanticRole, U as UNIVERSAL_ENGLISH_KEYWORDS, j as UNIVERSAL_PATTERNS, W as WordOrder, k as ar, k as arDictionary, l as arKeywords, m as arabicProfile, n as bn, n as bnDictionary, o as bnKeywords, p as chineseProfile, q as createEnglishProvider, r as createKeywordProvider, s as de, s as deDictionary, t as deKeywords, u as detectBrowserLocale, v as englishProfile, w as es, w as esDictionary, x as esKeywords, y as fr, y as frDictionary, z as frKeywords, B as frenchProfile, C as germanProfile, D as getProfile, F as getSupportedLocales, H as grammarExamples, I as hiDictionary, J as hiKeywords, I as hindiDictionary, N as id, N as idDictionary, O as idKeywords, Q as indonesianProfile, R as insertMarkers, T as it, T as itDictionary, V as itKeywords, X as ja, X as jaDictionary, Y as jaKeywords, Z as japaneseProfile, _ as joinTokens, $ as ko, $ as koDictionary, a0 as koKeywords, a1 as koreanProfile, a2 as ms, a2 as msDictionary, a3 as msKeywords, a4 as parseStatement, a5 as pl, a5 as plDictionary, a6 as plKeywords, a7 as portugueseProfile, a8 as profiles, a9 as pt, a9 as ptDictionary, aa as ptKeywords, ab as qu, ab as quDictionary, ac as quKeywords, ad as quechuaProfile, ae as reorderRoles, af as ruDictionary, ag as ruKeywords, af as russianDictionary, ah as spanishProfile, ai as sw, ai as swDictionary, aj as swKeywords, ak as swahiliProfile, al as th, al as thDictionary, am as thKeywords, an as tl, an as tlDictionary, ao as tlKeywords, ap as toEnglish, aq as toLocale, ar as tr, ar as trDictionary, as as trKeywords, at as transformStatement, au as translate, av as turkishProfile, aw as ukDictionary, ax as ukKeywords, aw as ukrainianDictionary, ay as vi, ay as viDictionary, az as viKeywords, aA as zh, aA as zhDictionary, aB as zhKeywords } from './transformer-B6NgN3JQ.js';
2
+ import { D as Dictionary } from './types-BYtpqGq3.js';
3
3
 
4
4
  /**
5
5
  * English dictionary - identity mapping since English is the canonical hyperscript language.
@@ -1,4 +1,4 @@
1
- import { D as Dictionary, c as DictionaryCategory } from '../types-naTJIIaT.cjs';
1
+ import { D as Dictionary, d as DictionaryCategory } from '../types-BYtpqGq3.cjs';
2
2
 
3
3
  /**
4
4
  * Dictionary Derivation from Semantic Profiles
@@ -1,4 +1,4 @@
1
- import { D as Dictionary, c as DictionaryCategory } from '../types-naTJIIaT.js';
1
+ import { D as Dictionary, d as DictionaryCategory } from '../types-BYtpqGq3.js';
2
2
 
3
3
  /**
4
4
  * Dictionary Derivation from Semantic Profiles
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as I18nConfig, T as TranslationOptions, a as TranslationResult, D as Dictionary, V as ValidationResult$1, b as Token } from './types-naTJIIaT.cjs';
2
- export { h as DICTIONARY_CATEGORIES, c as DictionaryCategory, L as LocaleMetadata, g as TokenType, f as TranslationContext, d as ValidationError, e as ValidationWarning, l as findInDictionary, k as forEachCategory, j as getDictionaryCategory, i as isDictionaryCategory, t as translateFromEnglish } from './types-naTJIIaT.cjs';
1
+ import { I as I18nConfig, T as TranslationOptions, a as TranslationResult, D as Dictionary, V as ValidationResult$1, b as Token } from './types-BYtpqGq3.cjs';
2
+ export { c as DICTIONARY_CATEGORIES, d as DictionaryCategory, L as LocaleMetadata, e as TokenType, f as TranslationContext, g as ValidationError, h as ValidationWarning, i as findInDictionary, j as forEachCategory, k as getDictionaryCategory, l as isDictionaryCategory, t as translateFromEnglish } from './types-BYtpqGq3.cjs';
3
3
  export { ar, bn, de, dictionaries, en, es, fr, getDictionary, hi, id, isLocaleSupported, it, ja, ko, ms, pl, pt, qu, ru, supportedLocales, sw, th, tl, tr, uk, vi, zh } from './dictionaries/index.cjs';
4
- export { a1 as AdpositionType, E as ENGLISH_COMMANDS, d as ENGLISH_KEYWORDS, a5 as GrammarRule, aw as GrammarTransformer, a3 as GrammaticalMarker, K as KeywordProvider, a as KeywordProviderOptions, ab as LANGUAGE_FAMILY_DEFAULTS, a4 as LanguageProfile, Z as LocaleManager, a2 as MorphologyType, a9 as ParsedElement, a8 as ParsedStatement, a6 as PatternMatcher, a7 as PatternTransform, $ as SemanticRole, U as UNIVERSAL_ENGLISH_KEYWORDS, aa as UNIVERSAL_PATTERNS, a0 as WordOrder, n as arDictionary, m as arKeywords, an as arabicProfile, R as bnDictionary, Q as bnKeywords, am as chineseProfile, b as createEnglishProvider, c as createKeywordProvider, l as deDictionary, k as deKeywords, _ as detectBrowserLocale, aj as englishProfile, f as esDictionary, e as esKeywords, i as frDictionary, h as frKeywords, ah as getProfile, ai as getSupportedLocales, aB as grammarExamples, P as hiDictionary, O as hiKeywords, u as idDictionary, s as idKeywords, at as indonesianProfile, ad as insertMarkers, D as itDictionary, C as itKeywords, g as jaDictionary, j as jaKeywords, ak as japaneseProfile, p as koDictionary, o as koKeywords, al as koreanProfile, W as msDictionary, V as msKeywords, ax as parseStatement, I as plDictionary, H as plKeywords, ag as profiles, B as ptDictionary, A as ptKeywords, w as quDictionary, v as quKeywords, au as quechuaProfile, ac as reorderRoles, L as ruDictionary, J as ruKeywords, ap as spanishProfile, y as swDictionary, x as swKeywords, av as swahiliProfile, T as thDictionary, S as thKeywords, Y as tlDictionary, X as tlKeywords, az as toEnglish, ay as toLocale, r as trDictionary, t as trKeywords, af as transformStatement, aA as translate, ao as turkishProfile, N as ukDictionary, M as ukKeywords, G as viDictionary, F as viKeywords, q as zhDictionary, z as zhKeywords } from './transformer-kXwlqa5b.cjs';
4
+ export { A as AdpositionType, E as ENGLISH_COMMANDS, a as ENGLISH_KEYWORDS, G as GrammarRule, b as GrammarTransformer, c as GrammaticalMarker, K as KeywordProvider, d as KeywordProviderOptions, L as LANGUAGE_FAMILY_DEFAULTS, e as LanguageProfile, f as LocaleManager, M as MorphologyType, P as ParsedElement, g as ParsedStatement, h as PatternMatcher, i as PatternTransform, S as SemanticRole, U as UNIVERSAL_ENGLISH_KEYWORDS, j as UNIVERSAL_PATTERNS, W as WordOrder, k as arDictionary, l as arKeywords, m as arabicProfile, n as bnDictionary, o as bnKeywords, p as chineseProfile, q as createEnglishProvider, r as createKeywordProvider, s as deDictionary, t as deKeywords, u as detectBrowserLocale, v as englishProfile, w as esDictionary, x as esKeywords, y as frDictionary, z as frKeywords, D as getProfile, F as getSupportedLocales, H as grammarExamples, I as hiDictionary, J as hiKeywords, N as idDictionary, O as idKeywords, Q as indonesianProfile, R as insertMarkers, T as itDictionary, V as itKeywords, X as jaDictionary, Y as jaKeywords, Z as japaneseProfile, $ as koDictionary, a0 as koKeywords, a1 as koreanProfile, a2 as msDictionary, a3 as msKeywords, a4 as parseStatement, a5 as plDictionary, a6 as plKeywords, a8 as profiles, a9 as ptDictionary, aa as ptKeywords, ab as quDictionary, ac as quKeywords, ad as quechuaProfile, ae as reorderRoles, af as ruDictionary, ag as ruKeywords, ah as spanishProfile, ai as swDictionary, aj as swKeywords, ak as swahiliProfile, al as thDictionary, am as thKeywords, an as tlDictionary, ao as tlKeywords, ap as toEnglish, aq as toLocale, ar as trDictionary, as as trKeywords, at as transformStatement, au as translate, av as turkishProfile, aw as ukDictionary, ax as ukKeywords, ay as viDictionary, az as viKeywords, aA as zhDictionary, aB as zhKeywords } from './transformer-DQqxl6hb.cjs';
5
5
  export { hyperscriptI18nVitePlugin } from './plugins/vite.cjs';
6
6
  export { HyperscriptI18nWebpackPlugin } from './plugins/webpack.cjs';
7
7
  import { z } from 'zod';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { I as I18nConfig, T as TranslationOptions, a as TranslationResult, D as Dictionary, V as ValidationResult$1, b as Token } from './types-naTJIIaT.js';
2
- export { h as DICTIONARY_CATEGORIES, c as DictionaryCategory, L as LocaleMetadata, g as TokenType, f as TranslationContext, d as ValidationError, e as ValidationWarning, l as findInDictionary, k as forEachCategory, j as getDictionaryCategory, i as isDictionaryCategory, t as translateFromEnglish } from './types-naTJIIaT.js';
1
+ import { I as I18nConfig, T as TranslationOptions, a as TranslationResult, D as Dictionary, V as ValidationResult$1, b as Token } from './types-BYtpqGq3.js';
2
+ export { c as DICTIONARY_CATEGORIES, d as DictionaryCategory, L as LocaleMetadata, e as TokenType, f as TranslationContext, g as ValidationError, h as ValidationWarning, i as findInDictionary, j as forEachCategory, k as getDictionaryCategory, l as isDictionaryCategory, t as translateFromEnglish } from './types-BYtpqGq3.js';
3
3
  export { ar, bn, de, dictionaries, en, es, fr, getDictionary, hi, id, isLocaleSupported, it, ja, ko, ms, pl, pt, qu, ru, supportedLocales, sw, th, tl, tr, uk, vi, zh } from './dictionaries/index.js';
4
- export { a1 as AdpositionType, E as ENGLISH_COMMANDS, d as ENGLISH_KEYWORDS, a5 as GrammarRule, aw as GrammarTransformer, a3 as GrammaticalMarker, K as KeywordProvider, a as KeywordProviderOptions, ab as LANGUAGE_FAMILY_DEFAULTS, a4 as LanguageProfile, Z as LocaleManager, a2 as MorphologyType, a9 as ParsedElement, a8 as ParsedStatement, a6 as PatternMatcher, a7 as PatternTransform, $ as SemanticRole, U as UNIVERSAL_ENGLISH_KEYWORDS, aa as UNIVERSAL_PATTERNS, a0 as WordOrder, n as arDictionary, m as arKeywords, an as arabicProfile, R as bnDictionary, Q as bnKeywords, am as chineseProfile, b as createEnglishProvider, c as createKeywordProvider, l as deDictionary, k as deKeywords, _ as detectBrowserLocale, aj as englishProfile, f as esDictionary, e as esKeywords, i as frDictionary, h as frKeywords, ah as getProfile, ai as getSupportedLocales, aB as grammarExamples, P as hiDictionary, O as hiKeywords, u as idDictionary, s as idKeywords, at as indonesianProfile, ad as insertMarkers, D as itDictionary, C as itKeywords, g as jaDictionary, j as jaKeywords, ak as japaneseProfile, p as koDictionary, o as koKeywords, al as koreanProfile, W as msDictionary, V as msKeywords, ax as parseStatement, I as plDictionary, H as plKeywords, ag as profiles, B as ptDictionary, A as ptKeywords, w as quDictionary, v as quKeywords, au as quechuaProfile, ac as reorderRoles, L as ruDictionary, J as ruKeywords, ap as spanishProfile, y as swDictionary, x as swKeywords, av as swahiliProfile, T as thDictionary, S as thKeywords, Y as tlDictionary, X as tlKeywords, az as toEnglish, ay as toLocale, r as trDictionary, t as trKeywords, af as transformStatement, aA as translate, ao as turkishProfile, N as ukDictionary, M as ukKeywords, G as viDictionary, F as viKeywords, q as zhDictionary, z as zhKeywords } from './transformer-DN_HqdDB.js';
4
+ export { A as AdpositionType, E as ENGLISH_COMMANDS, a as ENGLISH_KEYWORDS, G as GrammarRule, b as GrammarTransformer, c as GrammaticalMarker, K as KeywordProvider, d as KeywordProviderOptions, L as LANGUAGE_FAMILY_DEFAULTS, e as LanguageProfile, f as LocaleManager, M as MorphologyType, P as ParsedElement, g as ParsedStatement, h as PatternMatcher, i as PatternTransform, S as SemanticRole, U as UNIVERSAL_ENGLISH_KEYWORDS, j as UNIVERSAL_PATTERNS, W as WordOrder, k as arDictionary, l as arKeywords, m as arabicProfile, n as bnDictionary, o as bnKeywords, p as chineseProfile, q as createEnglishProvider, r as createKeywordProvider, s as deDictionary, t as deKeywords, u as detectBrowserLocale, v as englishProfile, w as esDictionary, x as esKeywords, y as frDictionary, z as frKeywords, D as getProfile, F as getSupportedLocales, H as grammarExamples, I as hiDictionary, J as hiKeywords, N as idDictionary, O as idKeywords, Q as indonesianProfile, R as insertMarkers, T as itDictionary, V as itKeywords, X as jaDictionary, Y as jaKeywords, Z as japaneseProfile, $ as koDictionary, a0 as koKeywords, a1 as koreanProfile, a2 as msDictionary, a3 as msKeywords, a4 as parseStatement, a5 as plDictionary, a6 as plKeywords, a8 as profiles, a9 as ptDictionary, aa as ptKeywords, ab as quDictionary, ac as quKeywords, ad as quechuaProfile, ae as reorderRoles, af as ruDictionary, ag as ruKeywords, ah as spanishProfile, ai as swDictionary, aj as swKeywords, ak as swahiliProfile, al as thDictionary, am as thKeywords, an as tlDictionary, ao as tlKeywords, ap as toEnglish, aq as toLocale, ar as trDictionary, as as trKeywords, at as transformStatement, au as translate, av as turkishProfile, aw as ukDictionary, ax as ukKeywords, ay as viDictionary, az as viKeywords, aA as zhDictionary, aB as zhKeywords } from './transformer-B6NgN3JQ.js';
5
5
  export { hyperscriptI18nVitePlugin } from './plugins/vite.js';
6
6
  export { HyperscriptI18nWebpackPlugin } from './plugins/webpack.js';
7
7
  import { z } from 'zod';
@@ -1,4 +1,4 @@
1
- import { D as Dictionary } from './types-naTJIIaT.js';
1
+ import { D as Dictionary } from './types-BYtpqGq3.js';
2
2
 
3
3
  /**
4
4
  * KeywordProvider interface for locale-aware parsing.
@@ -1012,4 +1012,4 @@ declare const examples: {
1012
1012
  };
1013
1013
  };
1014
1014
 
1015
- export { type SemanticRole as $, ptKeywords as A, pt as B, itKeywords as C, it as D, ENGLISH_COMMANDS as E, viKeywords as F, vi as G, plKeywords as H, pl as I, ruKeywords as J, type KeywordProvider as K, russianDictionary as L, ukKeywords as M, ukrainianDictionary as N, hiKeywords as O, hindiDictionary as P, bnKeywords as Q, bn as R, thKeywords as S, th as T, UNIVERSAL_ENGLISH_KEYWORDS as U, msKeywords as V, ms as W, tlKeywords as X, tl as Y, LocaleManager as Z, detectBrowserLocale as _, type KeywordProviderOptions as a, type WordOrder as a0, type AdpositionType as a1, type MorphologyType as a2, type GrammaticalMarker as a3, type LanguageProfile as a4, type GrammarRule as a5, type PatternMatcher as a6, type PatternTransform as a7, type ParsedStatement as a8, type ParsedElement as a9, translate as aA, examples as aB, UNIVERSAL_PATTERNS as aa, LANGUAGE_FAMILY_DEFAULTS as ab, reorderRoles as ac, insertMarkers as ad, joinTokens as ae, transformStatement as af, profiles as ag, getProfile as ah, getSupportedLocales as ai, englishProfile as aj, japaneseProfile as ak, koreanProfile as al, chineseProfile as am, arabicProfile as an, turkishProfile as ao, spanishProfile as ap, germanProfile as aq, frenchProfile as ar, portugueseProfile as as, indonesianProfile as at, quechuaProfile as au, swahiliProfile as av, GrammarTransformer as aw, parseStatement as ax, toLocale as ay, toEnglish as az, createEnglishProvider as b, createKeywordProvider as c, ENGLISH_KEYWORDS as d, esKeywords as e, es as f, ja as g, frKeywords as h, fr as i, jaKeywords as j, deKeywords as k, de as l, arKeywords as m, ar as n, koKeywords as o, ko as p, zh as q, tr as r, idKeywords as s, trKeywords as t, id as u, quKeywords as v, qu as w, swKeywords as x, sw as y, zhKeywords as z };
1015
+ export { ko as $, type AdpositionType as A, frenchProfile as B, germanProfile as C, getProfile as D, ENGLISH_COMMANDS as E, getSupportedLocales as F, type GrammarRule as G, examples as H, hindiDictionary as I, hiKeywords as J, type KeywordProvider as K, LANGUAGE_FAMILY_DEFAULTS as L, type MorphologyType as M, id as N, idKeywords as O, type ParsedElement as P, indonesianProfile as Q, insertMarkers as R, type SemanticRole as S, it as T, UNIVERSAL_ENGLISH_KEYWORDS as U, itKeywords as V, type WordOrder as W, ja as X, jaKeywords as Y, japaneseProfile as Z, joinTokens as _, ENGLISH_KEYWORDS as a, koKeywords as a0, koreanProfile as a1, ms as a2, msKeywords as a3, parseStatement as a4, pl as a5, plKeywords as a6, portugueseProfile as a7, profiles as a8, pt as a9, zh as aA, zhKeywords as aB, ptKeywords as aa, qu as ab, quKeywords as ac, quechuaProfile as ad, reorderRoles as ae, russianDictionary as af, ruKeywords as ag, spanishProfile as ah, sw as ai, swKeywords as aj, swahiliProfile as ak, th as al, thKeywords as am, tl as an, tlKeywords as ao, toEnglish as ap, toLocale as aq, tr as ar, trKeywords as as, transformStatement as at, translate as au, turkishProfile as av, ukrainianDictionary as aw, ukKeywords as ax, vi as ay, viKeywords as az, GrammarTransformer as b, type GrammaticalMarker as c, type KeywordProviderOptions as d, type LanguageProfile as e, LocaleManager as f, type ParsedStatement as g, type PatternMatcher as h, type PatternTransform as i, UNIVERSAL_PATTERNS as j, ar as k, arKeywords as l, arabicProfile as m, bn as n, bnKeywords as o, chineseProfile as p, createEnglishProvider as q, createKeywordProvider as r, de as s, deKeywords as t, detectBrowserLocale as u, englishProfile as v, es as w, esKeywords as x, fr as y, frKeywords as z };
@@ -1,4 +1,4 @@
1
- import { D as Dictionary } from './types-naTJIIaT.cjs';
1
+ import { D as Dictionary } from './types-BYtpqGq3.cjs';
2
2
 
3
3
  /**
4
4
  * KeywordProvider interface for locale-aware parsing.
@@ -1012,4 +1012,4 @@ declare const examples: {
1012
1012
  };
1013
1013
  };
1014
1014
 
1015
- export { type SemanticRole as $, ptKeywords as A, pt as B, itKeywords as C, it as D, ENGLISH_COMMANDS as E, viKeywords as F, vi as G, plKeywords as H, pl as I, ruKeywords as J, type KeywordProvider as K, russianDictionary as L, ukKeywords as M, ukrainianDictionary as N, hiKeywords as O, hindiDictionary as P, bnKeywords as Q, bn as R, thKeywords as S, th as T, UNIVERSAL_ENGLISH_KEYWORDS as U, msKeywords as V, ms as W, tlKeywords as X, tl as Y, LocaleManager as Z, detectBrowserLocale as _, type KeywordProviderOptions as a, type WordOrder as a0, type AdpositionType as a1, type MorphologyType as a2, type GrammaticalMarker as a3, type LanguageProfile as a4, type GrammarRule as a5, type PatternMatcher as a6, type PatternTransform as a7, type ParsedStatement as a8, type ParsedElement as a9, translate as aA, examples as aB, UNIVERSAL_PATTERNS as aa, LANGUAGE_FAMILY_DEFAULTS as ab, reorderRoles as ac, insertMarkers as ad, joinTokens as ae, transformStatement as af, profiles as ag, getProfile as ah, getSupportedLocales as ai, englishProfile as aj, japaneseProfile as ak, koreanProfile as al, chineseProfile as am, arabicProfile as an, turkishProfile as ao, spanishProfile as ap, germanProfile as aq, frenchProfile as ar, portugueseProfile as as, indonesianProfile as at, quechuaProfile as au, swahiliProfile as av, GrammarTransformer as aw, parseStatement as ax, toLocale as ay, toEnglish as az, createEnglishProvider as b, createKeywordProvider as c, ENGLISH_KEYWORDS as d, esKeywords as e, es as f, ja as g, frKeywords as h, fr as i, jaKeywords as j, deKeywords as k, de as l, arKeywords as m, ar as n, koKeywords as o, ko as p, zh as q, tr as r, idKeywords as s, trKeywords as t, id as u, quKeywords as v, qu as w, swKeywords as x, sw as y, zhKeywords as z };
1015
+ export { ko as $, type AdpositionType as A, frenchProfile as B, germanProfile as C, getProfile as D, ENGLISH_COMMANDS as E, getSupportedLocales as F, type GrammarRule as G, examples as H, hindiDictionary as I, hiKeywords as J, type KeywordProvider as K, LANGUAGE_FAMILY_DEFAULTS as L, type MorphologyType as M, id as N, idKeywords as O, type ParsedElement as P, indonesianProfile as Q, insertMarkers as R, type SemanticRole as S, it as T, UNIVERSAL_ENGLISH_KEYWORDS as U, itKeywords as V, type WordOrder as W, ja as X, jaKeywords as Y, japaneseProfile as Z, joinTokens as _, ENGLISH_KEYWORDS as a, koKeywords as a0, koreanProfile as a1, ms as a2, msKeywords as a3, parseStatement as a4, pl as a5, plKeywords as a6, portugueseProfile as a7, profiles as a8, pt as a9, zh as aA, zhKeywords as aB, ptKeywords as aa, qu as ab, quKeywords as ac, quechuaProfile as ad, reorderRoles as ae, russianDictionary as af, ruKeywords as ag, spanishProfile as ah, sw as ai, swKeywords as aj, swahiliProfile as ak, th as al, thKeywords as am, tl as an, tlKeywords as ao, toEnglish as ap, toLocale as aq, tr as ar, trKeywords as as, transformStatement as at, translate as au, turkishProfile as av, ukrainianDictionary as aw, ukKeywords as ax, vi as ay, viKeywords as az, GrammarTransformer as b, type GrammaticalMarker as c, type KeywordProviderOptions as d, type LanguageProfile as e, LocaleManager as f, type ParsedStatement as g, type PatternMatcher as h, type PatternTransform as i, UNIVERSAL_PATTERNS as j, ar as k, arKeywords as l, arabicProfile as m, bn as n, bnKeywords as o, chineseProfile as p, createEnglishProvider as q, createKeywordProvider as r, de as s, deKeywords as t, detectBrowserLocale as u, englishProfile as v, es as w, esKeywords as x, fr as y, frKeywords as z };
@@ -119,4 +119,4 @@ interface TranslationResult {
119
119
  warnings?: string[];
120
120
  }
121
121
 
122
- export { type Dictionary as D, type I18nConfig as I, type LocaleMetadata as L, type TranslationOptions as T, type ValidationResult as V, type TranslationResult as a, type Token as b, type DictionaryCategory as c, type ValidationError as d, type ValidationWarning as e, type TranslationContext as f, type TokenType as g, DICTIONARY_CATEGORIES as h, isDictionaryCategory as i, getDictionaryCategory as j, forEachCategory as k, findInDictionary as l, translateFromEnglish as t };
122
+ export { type Dictionary as D, type I18nConfig as I, type LocaleMetadata as L, type TranslationOptions as T, type ValidationResult as V, type TranslationResult as a, type Token as b, DICTIONARY_CATEGORIES as c, type DictionaryCategory as d, type TokenType as e, type TranslationContext as f, type ValidationError as g, type ValidationWarning as h, findInDictionary as i, forEachCategory as j, getDictionaryCategory as k, isDictionaryCategory as l, translateFromEnglish as t };
@@ -119,4 +119,4 @@ interface TranslationResult {
119
119
  warnings?: string[];
120
120
  }
121
121
 
122
- export { type Dictionary as D, type I18nConfig as I, type LocaleMetadata as L, type TranslationOptions as T, type ValidationResult as V, type TranslationResult as a, type Token as b, type DictionaryCategory as c, type ValidationError as d, type ValidationWarning as e, type TranslationContext as f, type TokenType as g, DICTIONARY_CATEGORIES as h, isDictionaryCategory as i, getDictionaryCategory as j, forEachCategory as k, findInDictionary as l, translateFromEnglish as t };
122
+ export { type Dictionary as D, type I18nConfig as I, type LocaleMetadata as L, type TranslationOptions as T, type ValidationResult as V, type TranslationResult as a, type Token as b, DICTIONARY_CATEGORIES as c, type DictionaryCategory as d, type TokenType as e, type TranslationContext as f, type ValidationError as g, type ValidationWarning as h, findInDictionary as i, forEachCategory as j, getDictionaryCategory as k, isDictionaryCategory as l, translateFromEnglish as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokascript/i18n",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Grammar transformation and keyword translation for hyperscript",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -67,7 +67,7 @@
67
67
  "dependencies": {
68
68
  "@hyperfixi/core": "*",
69
69
  "@lokascript/semantic": "*",
70
- "esbuild": "0.25.11",
70
+ "esbuild": "0.27.3",
71
71
  "happy-dom": "20.0.6",
72
72
  "vite": "^7.1.12"
73
73
  },