@wix/site-service-locale 1.0.3 → 1.0.5

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @wix/site-service-locale
2
2
 
3
- A thin signal-backed service that exposes the current site language, text direction, and regional locale.
3
+ A thin signal-backed service that exposes the current site language, text direction, regional locale, and time zone.
4
4
 
5
5
  ## Install
6
6
 
@@ -22,6 +22,7 @@ const service = servicesManager.getService(LocaleDefinition)
22
22
  service.language
23
23
  service.direction
24
24
  service.locale
25
+ service.timeZone
25
26
  ```
26
27
 
27
28
  ## API
@@ -31,6 +32,7 @@ service.locale
31
32
  | `language` | `Language` | never | Site primary language code (for example `en`, `fr`). |
32
33
  | `direction` | `LanguageDirection` | never | Site text direction (`ltr` or `rtl`). |
33
34
  | `locale` | `string` | never | BCP-47 locale used for regional formatting (for example `en-US`, `de-CH`). |
35
+ | `timeZone` | `string` | never | IANA time zone of the site's business (for example `America/New_York`, `Europe/Zurich`). |
34
36
  | `_updateConfig` | `(Partial<ILocaleServiceConfig>) => void` | never | Private replace-on-write updater for provided fields. |
35
37
 
36
38
  ## Configuration
@@ -42,6 +44,7 @@ type ILocaleServiceConfig = {
42
44
  language: Language
43
45
  direction: LanguageDirection
44
46
  locale: string
47
+ timeZone: string
45
48
  }
46
49
  ```
47
50
 
@@ -4,11 +4,13 @@ export type ILocaleServiceConfig = {
4
4
  language: Language;
5
5
  direction: LanguageDirection;
6
6
  locale: string;
7
+ timeZone: string;
7
8
  };
8
9
  export interface ILocaleService {
9
10
  readonly language: Language;
10
11
  readonly direction: LanguageDirection;
11
12
  readonly locale: string;
13
+ readonly timeZone: string;
12
14
  _updateConfig: (config: Partial<ILocaleServiceConfig>) => void;
13
15
  }
14
16
  export type ILocaleDefinition = ServiceDefinition<ILocaleService, ILocaleServiceConfig>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/definition/index.ts"],"names":[],"mappings":";;;AAAA,oEAAyD;AAmB5C,QAAA,gBAAgB,GAAG,IAAA,oCAAa,EAAuC,0BAA0B,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/definition/index.ts"],"names":[],"mappings":";;;AAAA,oEAAyD;AAqB5C,QAAA,gBAAgB,GAAG,IAAA,oCAAa,EAAuC,0BAA0B,CAAC,CAAA"}
@@ -9,6 +9,7 @@ exports.LocaleService = (0, services_definitions_1.implementService)(definition_
9
9
  const _language = signal(config.language);
10
10
  const _direction = signal(config.direction);
11
11
  const _locale = signal(config.locale);
12
+ const _timeZone = signal(config.timeZone);
12
13
  return {
13
14
  get language() {
14
15
  return _language.get();
@@ -19,7 +20,10 @@ exports.LocaleService = (0, services_definitions_1.implementService)(definition_
19
20
  get locale() {
20
21
  return _locale.get();
21
22
  },
22
- _updateConfig({ language, direction, locale }) {
23
+ get timeZone() {
24
+ return _timeZone.get();
25
+ },
26
+ _updateConfig({ language, direction, locale, timeZone }) {
23
27
  if (language) {
24
28
  _language.set(language);
25
29
  }
@@ -29,6 +33,9 @@ exports.LocaleService = (0, services_definitions_1.implementService)(definition_
29
33
  if (locale) {
30
34
  _locale.set(locale);
31
35
  }
36
+ if (timeZone) {
37
+ _timeZone.set(timeZone);
38
+ }
32
39
  },
33
40
  };
34
41
  });
@@ -1 +1 @@
1
- {"version":3,"file":"localeService.js","sourceRoot":"","sources":["../../../src/implementations/localeService.ts"],"names":[],"mappings":";;;AAAA,oEAA4D;AAE5D,6EAA0F;AAE1F,8CAAgD;AAEnC,QAAA,aAAa,GAAG,IAAA,uCAAgB,EACzC,6BAAgB,EAChB,CAAC,EAAE,MAAM,EAAE,UAAU,EAA4C,EAAkB,EAAE;IACjF,MAAM,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC,kCAAwB,CAAC,CAAA;IACvD,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;IACzC,MAA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AA;IACrC,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;IAEzC,OAAO;QACN,IAAI,QAAQ;YACX,OAAO,SAAS,CAAC,GAAG,EAAE,CAAA;QACvB,CAAC;QACD,IAAI,SAAS;YACZ,OAAO,UAAU,CAAC,GAAG,EAAE,CAAA;QACxB,CAAC;QACD,IAAI,MAAM;YACT,OAAO,OAAO,CAAC,GAAG,EAAE,CAAA;QACrB,CAAC;QACD,IAAI,QAAQ;YACX,OAAO,SAAS,CAAC,GAAG,EAAE,CAAA;QACvB,CAAC;QACD,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAiC;YACrF,IAAI,QAAQ,EAAE,CAAC;gBACd,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;YACxB,CAAC;YACD,IAAI,SAAS,EAAE,CAAC;gBACf,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAA;YAC1B,CAAC;YACD,IAAI,MAAM,EAAE,CAAC;gBACZ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;YACpB,CAAC;YACD,IAAI,QAAQ,EAAE,CAAC;gBACd,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;YACxB,CAAC;QACF,CAAC;KACD,CAAA;AACF,CAAC,CACD,CAAA"}
package/cjs/package.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "type": "commonjs"
2
+ "type": "commonjs"
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "main": "../cjs/build/definition/index.js"
2
+ "main": "../cjs/build/definition/index.js"
3
3
  }
@@ -4,11 +4,13 @@ export type ILocaleServiceConfig = {
4
4
  language: Language;
5
5
  direction: LanguageDirection;
6
6
  locale: string;
7
+ timeZone: string;
7
8
  };
8
9
  export interface ILocaleService {
9
10
  readonly language: Language;
10
11
  readonly direction: LanguageDirection;
11
12
  readonly locale: string;
13
+ readonly timeZone: string;
12
14
  _updateConfig: (config: Partial<ILocaleServiceConfig>) => void;
13
15
  }
14
16
  export type ILocaleDefinition = ServiceDefinition<ILocaleService, ILocaleServiceConfig>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/definition/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAmBzD,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAuC,0BAA0B,CAAC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/definition/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAqBzD,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAuC,0BAA0B,CAAC,CAAA"}
@@ -6,6 +6,7 @@ export const LocaleService = implementService(LocaleDefinition, ({ config, getSe
6
6
  const _language = signal(config.language);
7
7
  const _direction = signal(config.direction);
8
8
  const _locale = signal(config.locale);
9
+ const _timeZone = signal(config.timeZone);
9
10
  return {
10
11
  get language() {
11
12
  return _language.get();
@@ -16,7 +17,10 @@ export const LocaleService = implementService(LocaleDefinition, ({ config, getSe
16
17
  get locale() {
17
18
  return _locale.get();
18
19
  },
19
- _updateConfig({ language, direction, locale }) {
20
+ get timeZone() {
21
+ return _timeZone.get();
22
+ },
23
+ _updateConfig({ language, direction, locale, timeZone }) {
20
24
  if (language) {
21
25
  _language.set(language);
22
26
  }
@@ -26,6 +30,9 @@ export const LocaleService = implementService(LocaleDefinition, ({ config, getSe
26
30
  if (locale) {
27
31
  _locale.set(locale);
28
32
  }
33
+ if (timeZone) {
34
+ _timeZone.set(timeZone);
35
+ }
29
36
  },
30
37
  };
31
38
  });
@@ -1 +1 @@
1
- {"version":3,"file":"localeService.js","sourceRoot":"","sources":["../../src/implementations/localeService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAE5D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S,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;YACxB,CAAC;QACF,CAAC;KACD,CAAA;AACF,CAAC,CACD,CAAA"}
@@ -1,3 +1,3 @@
1
1
  {
2
- "main": "../cjs/build/implementations/index.js"
2
+ "main": "../cjs/build/implementations/index.js"
3
3
  }
package/package.json CHANGED
@@ -1,9 +1,6 @@
1
1
  {
2
2
  "name": "@wix/site-service-locale",
3
- "version": "1.0.3",
4
- "main": "cjs/build/index.js",
5
- "module": "dist/index.js",
6
- "types": "dist/index.d.ts",
3
+ "version": "1.0.5",
7
4
  "license": "MIT",
8
5
  "files": [
9
6
  "dist",
@@ -14,6 +11,10 @@
14
11
  "types",
15
12
  "!**/*.tsbuildinfo"
16
13
  ],
14
+ "sideEffects": false,
15
+ "main": "cjs/build/index.js",
16
+ "module": "dist/index.js",
17
+ "types": "dist/index.d.ts",
17
18
  "exports": {
18
19
  ".": {
19
20
  "types": "./dist/index.d.ts",
@@ -41,13 +42,9 @@
41
42
  "require": "./cjs/build/service.js"
42
43
  }
43
44
  },
44
- "dependencies": {
45
- "@wix/services-definitions": "^0.1.4",
46
- "@wix/services-manager": "^0.2.20"
47
- },
48
- "devDependencies": {
49
- "typescript": "^5.3.3",
50
- "vitest": "4.1.0"
45
+ "publishConfig": {
46
+ "registry": "https://registry.npmjs.org/",
47
+ "access": "public"
51
48
  },
52
49
  "scripts": {
53
50
  "build": "tsc -b . --force && tsc --project tsconfig.cjs.json",
@@ -55,12 +52,15 @@
55
52
  "test": "vitest --run && yarn test-type-check",
56
53
  "test-type-check": "echo 'validating typescript in test files' && tsc --project tsconfig.test.json && echo 'Finished validating typescript in test files successfully'"
57
54
  },
58
- "publishUnscoped": false,
59
- "publishConfig": {
60
- "registry": "https://registry.npmjs.org/",
61
- "access": "public"
55
+ "dependencies": {
56
+ "@wix/services-definitions": "^0.1.4",
57
+ "@wix/services-manager": "^0.2.20"
62
58
  },
63
- "sideEffects": false,
59
+ "devDependencies": {
60
+ "typescript": "^5.3.3",
61
+ "vitest": "4.1.11"
62
+ },
63
+ "publishUnscoped": false,
64
64
  "wix": {
65
65
  "artifact": {
66
66
  "groupId": "com.wixpress.npm",
@@ -77,5 +77,5 @@
77
77
  ]
78
78
  }
79
79
  },
80
- "falconPackageHash": "bbfdbace36fedb3156231ee0832d6181bd77227ae43ed017301e84c6"
80
+ "falconPackageHash": "0e3146b73e95d2cfbdf17daa3388bf2a48a9dc216fe53149516f46b0"
81
81
  }
@@ -3,16 +3,18 @@ import type { ServiceDefinition } from '@wix/services-definitions'
3
3
  import type { Language, LanguageDirection } from '../types'
4
4
 
5
5
  export type ILocaleServiceConfig = {
6
- language: Language
7
- direction: LanguageDirection
8
- locale: string
6
+ language: Language
7
+ direction: LanguageDirection
8
+ locale: string
9
+ timeZone: string
9
10
  }
10
11
 
11
12
  export interface ILocaleService {
12
- readonly language: Language
13
- readonly direction: LanguageDirection
14
- readonly locale: string
15
- _updateConfig: (config: Partial<ILocaleServiceConfig>) => void
13
+ readonly language: Language
14
+ readonly direction: LanguageDirection
15
+ readonly locale: string
16
+ readonly timeZone: string
17
+ _updateConfig: (config: Partial<ILocaleServiceConfig>) => void
16
18
  }
17
19
 
18
20
  export type ILocaleDefinition = ServiceDefinition<ILocaleService, ILocaleServiceConfig>
@@ -5,34 +5,41 @@ import type { ILocaleService, ILocaleServiceConfig } from '../definition'
5
5
  import { LocaleDefinition } from '../definition'
6
6
 
7
7
  export const LocaleService = implementService(
8
- LocaleDefinition,
9
- ({ config, getService }: ServiceFactoryOpts<ILocaleServiceConfig>): ILocaleService => {
10
- const { signal } = getService(SignalsServiceDefinition)
11
- const _language = signal(config.language)
12
- const _direction = signal(config.direction)
13
- const _locale = signal(config.locale)
8
+ LocaleDefinition,
9
+ ({ config, getService }: ServiceFactoryOpts<ILocaleServiceConfig>): ILocaleService => {
10
+ const { signal } = getService(SignalsServiceDefinition)
11
+ const _language = signal(config.language)
12
+ const _direction = signal(config.direction)
13
+ const _locale = signal(config.locale)
14
+ const _timeZone = signal(config.timeZone)
14
15
 
15
- return {
16
- get language() {
17
- return _language.get()
18
- },
19
- get direction() {
20
- return _direction.get()
21
- },
22
- get locale() {
23
- return _locale.get()
24
- },
25
- _updateConfig({ language, direction, locale }: Partial<ILocaleServiceConfig>) {
26
- if (language) {
27
- _language.set(language)
28
- }
29
- if (direction) {
30
- _direction.set(direction)
31
- }
32
- if (locale) {
33
- _locale.set(locale)
34
- }
35
- },
36
- }
37
- }
16
+ return {
17
+ get language() {
18
+ return _language.get()
19
+ },
20
+ get direction() {
21
+ return _direction.get()
22
+ },
23
+ get locale() {
24
+ return _locale.get()
25
+ },
26
+ get timeZone() {
27
+ return _timeZone.get()
28
+ },
29
+ _updateConfig({ language, direction, locale, timeZone }: Partial<ILocaleServiceConfig>) {
30
+ if (language) {
31
+ _language.set(language)
32
+ }
33
+ if (direction) {
34
+ _direction.set(direction)
35
+ }
36
+ if (locale) {
37
+ _locale.set(locale)
38
+ }
39
+ if (timeZone) {
40
+ _timeZone.set(timeZone)
41
+ }
42
+ },
43
+ }
44
+ }
38
45
  )
@@ -1,187 +1,187 @@
1
1
  export type LanguageDirection = 'ltr' | 'rtl'
2
2
 
3
3
  export type Language =
4
- | 'fa'
5
- | 'fo'
6
- | 'ps'
7
- | 'sq'
8
- | 'hy'
9
- | 'bn'
10
- | 'be'
11
- | 'yo'
12
- | 'bs'
13
- | 'pt'
14
- | 'bg'
15
- | 'km'
16
- | 'zh'
17
- | 'hr'
18
- | 'da'
19
- | 'et'
20
- | 'fj'
21
- | 'fi'
22
- | 'fr'
23
- | 'de'
24
- | 'el'
25
- | 'ht'
26
- | 'hu'
27
- | 'is'
28
- | 'gu'
29
- | 'hi'
30
- | 'kl'
31
- | 'kn'
32
- | 'ml'
33
- | 'sd'
34
- | 'ta'
35
- | 'te'
36
- | 'id'
37
- | 'su'
38
- | 'ku'
39
- | 'ga'
40
- | 'gl'
41
- | 'he'
42
- | 'yi'
43
- | 'co'
44
- | 'it'
45
- | 'la'
46
- | 'lb'
47
- | 'ja'
48
- | 'jp'
49
- | 'kk'
50
- | 'sw'
51
- | 'ln'
52
- | 'lo'
53
- | 'lv'
54
- | 'lt'
55
- | 'mi'
56
- | 'mk'
57
- | 'mg'
58
- | 'mr'
59
- | 'ms'
60
- | 'mt'
61
- | 'my'
62
- | 'mn'
63
- | 'ne'
64
- | 'ha'
65
- | 'ig'
66
- | 'no'
67
- | 'tl'
68
- | 'pl'
69
- | 'ro'
70
- | 'ru'
71
- | 'se'
72
- | 'sm'
73
- | 'sr'
74
- | 'sk'
75
- | 'si'
76
- | 'sl'
77
- | 'so'
78
- | 'af'
79
- | 'xh'
80
- | 'zu'
81
- | 'ko'
82
- | 'eu'
83
- | 'ca'
84
- | 'es'
85
- | 'sv'
86
- | 'tg'
87
- | 'th'
88
- | 'tr'
89
- | 'ug'
90
- | 'uk'
91
- | 'cy'
92
- | 'en'
93
- | 'uz'
94
- | 'vi'
95
- | 'ny'
96
- | 'sn'
97
- | 'az'
98
- | 'cs'
99
- | 'am'
100
- | 'ka'
101
- | 'ky'
102
- | 'nl'
103
- | 'ur'
104
- | 'ar'
105
- | 'qu'
106
- | 'tk'
107
- | 'aa'
108
- | 'ab'
109
- | 'ae'
110
- | 'ak'
111
- | 'an'
112
- | 'as'
113
- | 'av'
114
- | 'ay'
115
- | 'ba'
116
- | 'bh'
117
- | 'bi'
118
- | 'bm'
119
- | 'bo'
120
- | 'br'
121
- | 'ce'
122
- | 'ch'
123
- | 'cr'
124
- | 'cu'
125
- | 'cv'
126
- | 'dv'
127
- | 'dz'
128
- | 'ee'
129
- | 'eo'
130
- | 'ff'
131
- | 'fy'
132
- | 'gd'
133
- | 'gn'
134
- | 'gv'
135
- | 'ho'
136
- | 'hz'
137
- | 'ia'
138
- | 'ie'
139
- | 'ii'
140
- | 'ik'
141
- | 'io'
142
- | 'iu'
143
- | 'jv'
144
- | 'ki'
145
- | 'kr'
146
- | 'ks'
147
- | 'kw'
148
- | 'lg'
149
- | 'li'
150
- | 'lu'
151
- | 'mh'
152
- | 'na'
153
- | 'nb'
154
- | 'nd'
155
- | 'ng'
156
- | 'nn'
157
- | 'nr'
158
- | 'nv'
159
- | 'oc'
160
- | 'oj'
161
- | 'om'
162
- | 'or'
163
- | 'os'
164
- | 'pa'
165
- | 'pi'
166
- | 'rm'
167
- | 'rn'
168
- | 'rw'
169
- | 'sa'
170
- | 'sc'
171
- | 'sg'
172
- | 'ss'
173
- | 'st'
174
- | 'ti'
175
- | 'tn'
176
- | 'to'
177
- | 'ts'
178
- | 'tt'
179
- | 'tw'
180
- | 'ty'
181
- | 've'
182
- | 'vo'
183
- | 'wa'
184
- | 'wo'
185
- | 'za'
4
+ | 'fa'
5
+ | 'fo'
6
+ | 'ps'
7
+ | 'sq'
8
+ | 'hy'
9
+ | 'bn'
10
+ | 'be'
11
+ | 'yo'
12
+ | 'bs'
13
+ | 'pt'
14
+ | 'bg'
15
+ | 'km'
16
+ | 'zh'
17
+ | 'hr'
18
+ | 'da'
19
+ | 'et'
20
+ | 'fj'
21
+ | 'fi'
22
+ | 'fr'
23
+ | 'de'
24
+ | 'el'
25
+ | 'ht'
26
+ | 'hu'
27
+ | 'is'
28
+ | 'gu'
29
+ | 'hi'
30
+ | 'kl'
31
+ | 'kn'
32
+ | 'ml'
33
+ | 'sd'
34
+ | 'ta'
35
+ | 'te'
36
+ | 'id'
37
+ | 'su'
38
+ | 'ku'
39
+ | 'ga'
40
+ | 'gl'
41
+ | 'he'
42
+ | 'yi'
43
+ | 'co'
44
+ | 'it'
45
+ | 'la'
46
+ | 'lb'
47
+ | 'ja'
48
+ | 'jp'
49
+ | 'kk'
50
+ | 'sw'
51
+ | 'ln'
52
+ | 'lo'
53
+ | 'lv'
54
+ | 'lt'
55
+ | 'mi'
56
+ | 'mk'
57
+ | 'mg'
58
+ | 'mr'
59
+ | 'ms'
60
+ | 'mt'
61
+ | 'my'
62
+ | 'mn'
63
+ | 'ne'
64
+ | 'ha'
65
+ | 'ig'
66
+ | 'no'
67
+ | 'tl'
68
+ | 'pl'
69
+ | 'ro'
70
+ | 'ru'
71
+ | 'se'
72
+ | 'sm'
73
+ | 'sr'
74
+ | 'sk'
75
+ | 'si'
76
+ | 'sl'
77
+ | 'so'
78
+ | 'af'
79
+ | 'xh'
80
+ | 'zu'
81
+ | 'ko'
82
+ | 'eu'
83
+ | 'ca'
84
+ | 'es'
85
+ | 'sv'
86
+ | 'tg'
87
+ | 'th'
88
+ | 'tr'
89
+ | 'ug'
90
+ | 'uk'
91
+ | 'cy'
92
+ | 'en'
93
+ | 'uz'
94
+ | 'vi'
95
+ | 'ny'
96
+ | 'sn'
97
+ | 'az'
98
+ | 'cs'
99
+ | 'am'
100
+ | 'ka'
101
+ | 'ky'
102
+ | 'nl'
103
+ | 'ur'
104
+ | 'ar'
105
+ | 'qu'
106
+ | 'tk'
107
+ | 'aa'
108
+ | 'ab'
109
+ | 'ae'
110
+ | 'ak'
111
+ | 'an'
112
+ | 'as'
113
+ | 'av'
114
+ | 'ay'
115
+ | 'ba'
116
+ | 'bh'
117
+ | 'bi'
118
+ | 'bm'
119
+ | 'bo'
120
+ | 'br'
121
+ | 'ce'
122
+ | 'ch'
123
+ | 'cr'
124
+ | 'cu'
125
+ | 'cv'
126
+ | 'dv'
127
+ | 'dz'
128
+ | 'ee'
129
+ | 'eo'
130
+ | 'ff'
131
+ | 'fy'
132
+ | 'gd'
133
+ | 'gn'
134
+ | 'gv'
135
+ | 'ho'
136
+ | 'hz'
137
+ | 'ia'
138
+ | 'ie'
139
+ | 'ii'
140
+ | 'ik'
141
+ | 'io'
142
+ | 'iu'
143
+ | 'jv'
144
+ | 'ki'
145
+ | 'kr'
146
+ | 'ks'
147
+ | 'kw'
148
+ | 'lg'
149
+ | 'li'
150
+ | 'lu'
151
+ | 'mh'
152
+ | 'na'
153
+ | 'nb'
154
+ | 'nd'
155
+ | 'ng'
156
+ | 'nn'
157
+ | 'nr'
158
+ | 'nv'
159
+ | 'oc'
160
+ | 'oj'
161
+ | 'om'
162
+ | 'or'
163
+ | 'os'
164
+ | 'pa'
165
+ | 'pi'
166
+ | 'rm'
167
+ | 'rn'
168
+ | 'rw'
169
+ | 'sa'
170
+ | 'sc'
171
+ | 'sg'
172
+ | 'ss'
173
+ | 'st'
174
+ | 'ti'
175
+ | 'tn'
176
+ | 'to'
177
+ | 'ts'
178
+ | 'tt'
179
+ | 'tw'
180
+ | 'ty'
181
+ | 've'
182
+ | 'vo'
183
+ | 'wa'
184
+ | 'wo'
185
+ | 'za'
186
186
 
187
187
  export type { ILocaleService, ILocaleServiceConfig, ILocaleDefinition } from '../definition'
@@ -1,3 +1,3 @@
1
1
  {
2
- "main": "../cjs/build/types/index.js"
2
+ "main": "../cjs/build/types/index.js"
3
3
  }