@i18n-micro/devtools-ui 1.2.2 → 1.2.4
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 +0 -7
- package/dist/composables/useI18nState.d.ts +16 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +1961 -1938
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/safe-path.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/vite/plugin.mjs +44 -8
- package/dist/vite/plugin.mjs.map +1 -1
- package/package.json +21 -20
package/README.md
CHANGED
|
@@ -29,6 +29,7 @@ export declare function createI18nState(): {
|
|
|
29
29
|
plugin?: boolean | undefined;
|
|
30
30
|
hooks?: boolean | undefined;
|
|
31
31
|
components?: boolean | undefined;
|
|
32
|
+
serverTranslationPreload?: boolean | undefined;
|
|
32
33
|
defaultLocale?: string | undefined;
|
|
33
34
|
apiBaseUrl?: string | undefined;
|
|
34
35
|
apiBaseClientHost?: string | undefined;
|
|
@@ -68,6 +69,9 @@ export declare function createI18nState(): {
|
|
|
68
69
|
hmr?: boolean | undefined;
|
|
69
70
|
cacheMaxSize?: number | undefined;
|
|
70
71
|
cacheTtl?: number | undefined;
|
|
72
|
+
numberFormats?: Record<string, Record<string, Intl.NumberFormatOptions>> | undefined;
|
|
73
|
+
datetimeFormats?: Record<string, Record<string, Intl.DateTimeFormatOptions>> | undefined;
|
|
74
|
+
httpCacheDuration?: number | undefined;
|
|
71
75
|
dateBuild?: string | number | undefined;
|
|
72
76
|
experimental?: Record<string, unknown> | undefined;
|
|
73
77
|
}, ModuleOptions | {
|
|
@@ -94,6 +98,7 @@ export declare function createI18nState(): {
|
|
|
94
98
|
plugin?: boolean | undefined;
|
|
95
99
|
hooks?: boolean | undefined;
|
|
96
100
|
components?: boolean | undefined;
|
|
101
|
+
serverTranslationPreload?: boolean | undefined;
|
|
97
102
|
defaultLocale?: string | undefined;
|
|
98
103
|
apiBaseUrl?: string | undefined;
|
|
99
104
|
apiBaseClientHost?: string | undefined;
|
|
@@ -133,6 +138,9 @@ export declare function createI18nState(): {
|
|
|
133
138
|
hmr?: boolean | undefined;
|
|
134
139
|
cacheMaxSize?: number | undefined;
|
|
135
140
|
cacheTtl?: number | undefined;
|
|
141
|
+
numberFormats?: Record<string, Record<string, Intl.NumberFormatOptions>> | undefined;
|
|
142
|
+
datetimeFormats?: Record<string, Record<string, Intl.DateTimeFormatOptions>> | undefined;
|
|
143
|
+
httpCacheDuration?: number | undefined;
|
|
136
144
|
dateBuild?: string | number | undefined;
|
|
137
145
|
experimental?: Record<string, unknown> | undefined;
|
|
138
146
|
}>;
|
|
@@ -184,6 +192,7 @@ export declare function useI18nState(): {
|
|
|
184
192
|
plugin?: boolean | undefined;
|
|
185
193
|
hooks?: boolean | undefined;
|
|
186
194
|
components?: boolean | undefined;
|
|
195
|
+
serverTranslationPreload?: boolean | undefined;
|
|
187
196
|
defaultLocale?: string | undefined;
|
|
188
197
|
apiBaseUrl?: string | undefined;
|
|
189
198
|
apiBaseClientHost?: string | undefined;
|
|
@@ -223,6 +232,9 @@ export declare function useI18nState(): {
|
|
|
223
232
|
hmr?: boolean | undefined;
|
|
224
233
|
cacheMaxSize?: number | undefined;
|
|
225
234
|
cacheTtl?: number | undefined;
|
|
235
|
+
numberFormats?: Record<string, Record<string, Intl.NumberFormatOptions>> | undefined;
|
|
236
|
+
datetimeFormats?: Record<string, Record<string, Intl.DateTimeFormatOptions>> | undefined;
|
|
237
|
+
httpCacheDuration?: number | undefined;
|
|
226
238
|
dateBuild?: string | number | undefined;
|
|
227
239
|
experimental?: Record<string, unknown> | undefined;
|
|
228
240
|
}, ModuleOptions | {
|
|
@@ -249,6 +261,7 @@ export declare function useI18nState(): {
|
|
|
249
261
|
plugin?: boolean | undefined;
|
|
250
262
|
hooks?: boolean | undefined;
|
|
251
263
|
components?: boolean | undefined;
|
|
264
|
+
serverTranslationPreload?: boolean | undefined;
|
|
252
265
|
defaultLocale?: string | undefined;
|
|
253
266
|
apiBaseUrl?: string | undefined;
|
|
254
267
|
apiBaseClientHost?: string | undefined;
|
|
@@ -288,6 +301,9 @@ export declare function useI18nState(): {
|
|
|
288
301
|
hmr?: boolean | undefined;
|
|
289
302
|
cacheMaxSize?: number | undefined;
|
|
290
303
|
cacheTtl?: number | undefined;
|
|
304
|
+
numberFormats?: Record<string, Record<string, Intl.NumberFormatOptions>> | undefined;
|
|
305
|
+
datetimeFormats?: Record<string, Record<string, Intl.DateTimeFormatOptions>> | undefined;
|
|
306
|
+
httpCacheDuration?: number | undefined;
|
|
291
307
|
dateBuild?: string | number | undefined;
|
|
292
308
|
experimental?: Record<string, unknown> | undefined;
|
|
293
309
|
}>;
|
package/dist/index.d.cts
CHANGED
|
@@ -16,4 +16,4 @@ export type { I18nDevToolsBridge } from './bridge/interface';
|
|
|
16
16
|
export { createRpcClient } from './rpc/client';
|
|
17
17
|
export { setupRpcHost } from './rpc/host';
|
|
18
18
|
export type { JsonRpcEvent, JsonRpcRequest, JsonRpcResponse } from './rpc/types';
|
|
19
|
-
export type { JSONValue, LocaleData, TranslationContent, TreeNode
|
|
19
|
+
export type { JSONValue, LocaleData, TranslationContent, TreeNode } from './types';
|
package/dist/index.d.ts
CHANGED
|
@@ -16,4 +16,4 @@ export type { I18nDevToolsBridge } from './bridge/interface';
|
|
|
16
16
|
export { createRpcClient } from './rpc/client';
|
|
17
17
|
export { setupRpcHost } from './rpc/host';
|
|
18
18
|
export type { JsonRpcEvent, JsonRpcRequest, JsonRpcResponse } from './rpc/types';
|
|
19
|
-
export type { JSONValue, LocaleData, TranslationContent, TreeNode
|
|
19
|
+
export type { JSONValue, LocaleData, TranslationContent, TreeNode } from './types';
|