@burdenoff/microfe-i18n 2026.519.1 → 2026.525.1
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/package.json +1 -1
- package/dist/i18n/I18nRoot.d.ts +0 -34
- package/dist/i18n/I18nRoot.d.ts.map +0 -1
- package/dist/i18n/I18nRoutes.d.ts +0 -24
- package/dist/i18n/I18nRoutes.d.ts.map +0 -1
- package/dist/i18n/index.d.ts +0 -40
- package/dist/i18n/index.d.ts.map +0 -1
- package/dist/i18n/pages/ImportExportPage.d.ts +0 -10
- package/dist/i18n/pages/ImportExportPage.d.ts.map +0 -1
- package/dist/i18n/pages/LanguagesListPage.d.ts +0 -8
- package/dist/i18n/pages/LanguagesListPage.d.ts.map +0 -1
- package/dist/i18n/pages/LocaleConfigPage.d.ts +0 -8
- package/dist/i18n/pages/LocaleConfigPage.d.ts.map +0 -1
- package/dist/i18n/pages/ProductsListPage.d.ts +0 -8
- package/dist/i18n/pages/ProductsListPage.d.ts.map +0 -1
- package/dist/i18n/pages/ProgressDashboardPage.d.ts +0 -8
- package/dist/i18n/pages/ProgressDashboardPage.d.ts.map +0 -1
- package/dist/i18n/pages/ReviewQueuePage.d.ts +0 -8
- package/dist/i18n/pages/ReviewQueuePage.d.ts.map +0 -1
- package/dist/i18n/pages/TranslationEditorPage.d.ts +0 -8
- package/dist/i18n/pages/TranslationEditorPage.d.ts.map +0 -1
- package/dist/i18n/providers/I18nProvider.d.ts +0 -21
- package/dist/i18n/providers/I18nProvider.d.ts.map +0 -1
- package/dist/i18n/store/i18nStore.d.ts +0 -46
- package/dist/i18n/store/i18nStore.d.ts.map +0 -1
- package/dist/i18n/types/index.d.ts +0 -323
- package/dist/i18n/types/index.d.ts.map +0 -1
- package/dist/i18n/utils/i18n.d.ts +0 -3
- package/dist/i18n/utils/i18n.d.ts.map +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
package/package.json
CHANGED
package/dist/i18n/I18nRoot.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { I18nRootProps } from './types';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Root component for the I18n microfrontend.
|
|
6
|
-
*
|
|
7
|
-
* This is the main entry point that host applications import and render.
|
|
8
|
-
* It sets up the necessary providers and renders the internal routing.
|
|
9
|
-
* Automatically registers navigation items with the shell if registration functions are provided.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```tsx
|
|
13
|
-
* import { I18nRoot, type I18nRootProps } from '@burdenoff/micro-fe/i18n';
|
|
14
|
-
*
|
|
15
|
-
* function App() {
|
|
16
|
-
* const props: I18nRootProps = {
|
|
17
|
-
* basePath: '/i18n',
|
|
18
|
-
* navigate: (path) => router.push(path),
|
|
19
|
-
* currentUser: { id: '1', email: 'user@example.com', firstName: 'John', lastName: 'Doe' },
|
|
20
|
-
* tenantId: 'tenant-123',
|
|
21
|
-
* apiGatewayUrl: 'https://api.example.com',
|
|
22
|
-
* authToken: 'token',
|
|
23
|
-
* defaultView: 'languages',
|
|
24
|
-
* onLanguageChange: (language) => console.log('Language changed:', language),
|
|
25
|
-
* onTranslationPublish: (translation) => console.log('Translation published:', translation),
|
|
26
|
-
* registerNavItems: (items) => { return () => {}; },
|
|
27
|
-
* };
|
|
28
|
-
*
|
|
29
|
-
* return <I18nRoot {...props} />;
|
|
30
|
-
* }
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare const I18nRoot: FC<I18nRootProps>;
|
|
34
|
-
//# sourceMappingURL=I18nRoot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"I18nRoot.d.ts","sourceRoot":"","sources":["../../src/i18n/I18nRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAehC,OAAO,KAAK,EAAW,aAAa,EAAE,MAAM,SAAS,CAAC;AAGtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAqHtC,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Internal router for the I18n microfrontend.
|
|
3
|
-
* This component handles routing within the microfrontend using React Router v7.
|
|
4
|
-
*
|
|
5
|
-
* Routes:
|
|
6
|
-
* - / → Redirects to languages
|
|
7
|
-
* - /languages → Languages list and management
|
|
8
|
-
* - /languages/new → Create new language
|
|
9
|
-
* - /languages/:code → Language detail and configuration
|
|
10
|
-
* - /products → Products and hierarchy management
|
|
11
|
-
* - /products/new → Create new product
|
|
12
|
-
* - /products/:id → Product detail
|
|
13
|
-
* - /editor → Translation editor (list view)
|
|
14
|
-
* - /editor/:keyId → Edit specific translation key
|
|
15
|
-
* - /editor/:keyId/:languageCode → Edit translation for specific key and language
|
|
16
|
-
* - /progress → Translation progress dashboard
|
|
17
|
-
* - /review → Review queue for pending translations
|
|
18
|
-
* - /import → Import translations
|
|
19
|
-
* - /export → Export translations
|
|
20
|
-
* - /locales → Locale configuration list
|
|
21
|
-
* - /locales/:code → Locale configuration for specific language
|
|
22
|
-
*/
|
|
23
|
-
export declare function I18nRoutes(): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
//# sourceMappingURL=I18nRoutes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"I18nRoutes.d.ts","sourceRoot":"","sources":["../../src/i18n/I18nRoutes.tsx"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,UAAU,4CA6CzB"}
|
package/dist/i18n/index.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* I18n (Internationalization) Microfrontend
|
|
3
|
-
*
|
|
4
|
-
* Provides a comprehensive UI for managing translations, languages, locales,
|
|
5
|
-
* and localization workflows across all Burdenoff products.
|
|
6
|
-
*
|
|
7
|
-
* This is a TENANT module microfrontend that enables:
|
|
8
|
-
* - Language management (create, configure, enable/disable)
|
|
9
|
-
* - Translation hierarchy (Product → Module → Namespace → Key)
|
|
10
|
-
* - Translation editor with plural forms, suggestions, and comparison
|
|
11
|
-
* - Translation workflow (Draft → Review → Approve → Publish)
|
|
12
|
-
* - Progress tracking and coverage analytics
|
|
13
|
-
* - Import/Export (JSON, CSV, XLSX, PO, XLIFF)
|
|
14
|
-
* - Locale configuration (date/time/number formats, plural rules)
|
|
15
|
-
* - Version history and rollback
|
|
16
|
-
* - Translation memory and suggestions
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```tsx
|
|
20
|
-
* import { I18nRoot, type I18nRootProps } from '@burdenoff/micro-fe/i18n';
|
|
21
|
-
*
|
|
22
|
-
* function App() {
|
|
23
|
-
* const props: I18nRootProps = {
|
|
24
|
-
* basePath: '/i18n',
|
|
25
|
-
* navigate: (path) => router.push(path),
|
|
26
|
-
* currentUser: { id: '1', email: 'user@example.com' },
|
|
27
|
-
* tenantId: 'tenant-123',
|
|
28
|
-
* apiGatewayUrl: 'https://api.example.com',
|
|
29
|
-
* authToken: 'token',
|
|
30
|
-
* };
|
|
31
|
-
*
|
|
32
|
-
* return <I18nRoot {...props} />;
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
export { I18nRoot } from './I18nRoot';
|
|
37
|
-
export type { I18nRootProps, I18nView, I18nTab, Language, I18nProduct, I18nModule, I18nNamespace, TranslationKey, Translation, TranslationStatus, TranslationCoverage, ImportJob, ImportFormat, ImportJobStatus, ExportRequest, ExportResult, NavItem, FooterItem, } from './types';
|
|
38
|
-
export { useI18n } from './providers/I18nProvider';
|
|
39
|
-
export { useI18nStore } from './store/i18nStore';
|
|
40
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/i18n/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,aAAa,EACb,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,aAAa,EACb,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,SAAS,EACT,YAAY,EACZ,eAAe,EACf,aAAa,EACb,YAAY,EACZ,OAAO,EACP,UAAU,GACX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImportExportPage.d.ts","sourceRoot":"","sources":["../../../src/i18n/pages/ImportExportPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC;IAAE,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAA;CAAE,CAyZ9D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LanguagesListPage.d.ts","sourceRoot":"","sources":["../../../src/i18n/pages/LanguagesListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAqK/B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LocaleConfigPage.d.ts","sourceRoot":"","sources":["../../../src/i18n/pages/LocaleConfigPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAiU9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductsListPage.d.ts","sourceRoot":"","sources":["../../../src/i18n/pages/ProductsListPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,EAkI9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressDashboardPage.d.ts","sourceRoot":"","sources":["../../../src/i18n/pages/ProgressDashboardPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,EAyRnC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewQueuePage.d.ts","sourceRoot":"","sources":["../../../src/i18n/pages/ReviewQueuePage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,EAoL7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TranslationEditorPage.d.ts","sourceRoot":"","sources":["../../../src/i18n/pages/TranslationEditorPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,EA2RnC,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import { I18nRootProps } from '../types';
|
|
3
|
-
import { TranslationParams } from '../utils/i18n';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Context value for I18n microfrontend
|
|
7
|
-
*/
|
|
8
|
-
interface I18nContextValue extends I18nRootProps {
|
|
9
|
-
t: (key: string, fallback?: string, params?: TranslationParams) => string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Hook to access I18n context
|
|
13
|
-
*/
|
|
14
|
-
export declare const useI18n: () => I18nContextValue;
|
|
15
|
-
/**
|
|
16
|
-
* Provider component for I18n microfrontend
|
|
17
|
-
* Sets up routing and context
|
|
18
|
-
*/
|
|
19
|
-
export declare const I18nProvider: FC<PropsWithChildren<I18nRootProps>>;
|
|
20
|
-
export {};
|
|
21
|
-
//# sourceMappingURL=I18nProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"I18nProvider.d.ts","sourceRoot":"","sources":["../../../src/i18n/providers/I18nProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAuB,KAAK,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAE5E;;GAEG;AACH,UAAU,gBAAiB,SAAQ,aAAa;IAC9C,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,iBAAiB,KAAK,MAAM,CAAC;CAC3E;AAID;;GAEG;AACH,eAAO,MAAM,OAAO,wBAMnB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAoE7D,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { I18nView, I18nTab, Language, I18nProduct, I18nModule, I18nNamespace, ViewMode, EditorMode, LanguageFilter, TranslationFilter, ProgressViewConfig, ImportState, ImportError, ImportFormat } from '../types';
|
|
2
|
-
|
|
3
|
-
interface I18nState {
|
|
4
|
-
currentView: I18nView;
|
|
5
|
-
currentTab: I18nTab;
|
|
6
|
-
viewMode: ViewMode;
|
|
7
|
-
selectedLanguage: Language | null;
|
|
8
|
-
selectedProduct: I18nProduct | null;
|
|
9
|
-
selectedModule: I18nModule | null;
|
|
10
|
-
selectedNamespace: I18nNamespace | null;
|
|
11
|
-
editorMode: EditorMode;
|
|
12
|
-
showPlurals: boolean;
|
|
13
|
-
showSuggestions: boolean;
|
|
14
|
-
comparisonLanguage: string | null;
|
|
15
|
-
languageFilter: LanguageFilter;
|
|
16
|
-
translationFilter: TranslationFilter;
|
|
17
|
-
progressView: ProgressViewConfig;
|
|
18
|
-
importState: ImportState;
|
|
19
|
-
sidebarOpen: boolean;
|
|
20
|
-
setCurrentView: (view: I18nView) => void;
|
|
21
|
-
setCurrentTab: (tab: I18nTab) => void;
|
|
22
|
-
setViewMode: (mode: ViewMode) => void;
|
|
23
|
-
setSelectedLanguage: (language: Language | null) => void;
|
|
24
|
-
setSelectedProduct: (product: I18nProduct | null) => void;
|
|
25
|
-
setSelectedModule: (module: I18nModule | null) => void;
|
|
26
|
-
setSelectedNamespace: (namespace: I18nNamespace | null) => void;
|
|
27
|
-
setEditorMode: (mode: EditorMode) => void;
|
|
28
|
-
togglePlurals: () => void;
|
|
29
|
-
toggleSuggestions: () => void;
|
|
30
|
-
setComparisonLanguage: (code: string | null) => void;
|
|
31
|
-
updateLanguageFilter: (filter: Partial<LanguageFilter>) => void;
|
|
32
|
-
updateTranslationFilter: (filter: Partial<TranslationFilter>) => void;
|
|
33
|
-
resetLanguageFilter: () => void;
|
|
34
|
-
resetTranslationFilter: () => void;
|
|
35
|
-
updateProgressView: (view: Partial<ProgressViewConfig>) => void;
|
|
36
|
-
startImport: (format: ImportFormat, jobId: string) => void;
|
|
37
|
-
updateImportProgress: (progress: number) => void;
|
|
38
|
-
addImportError: (error: ImportError) => void;
|
|
39
|
-
resetImport: () => void;
|
|
40
|
-
toggleSidebar: () => void;
|
|
41
|
-
setSidebarOpen: (open: boolean) => void;
|
|
42
|
-
reset: () => void;
|
|
43
|
-
}
|
|
44
|
-
export declare const useI18nStore: import('zustand').UseBoundStore<import('zustand').StoreApi<I18nState>>;
|
|
45
|
-
export {};
|
|
46
|
-
//# sourceMappingURL=i18nStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18nStore.d.ts","sourceRoot":"","sources":["../../../src/i18n/store/i18nStore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,WAAW,EACX,UAAU,EACV,aAAa,EACb,QAAQ,EACR,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,WAAW,EACX,YAAY,EACb,MAAM,UAAU,CAAC;AAElB,UAAU,SAAS;IAEjB,WAAW,EAAE,QAAQ,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,QAAQ,CAAC;IAGnB,gBAAgB,EAAE,QAAQ,GAAG,IAAI,CAAC;IAClC,eAAe,EAAE,WAAW,GAAG,IAAI,CAAC;IACpC,cAAc,EAAE,UAAU,GAAG,IAAI,CAAC;IAClC,iBAAiB,EAAE,aAAa,GAAG,IAAI,CAAC;IAGxC,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGlC,cAAc,EAAE,cAAc,CAAC;IAC/B,iBAAiB,EAAE,iBAAiB,CAAC;IAGrC,YAAY,EAAE,kBAAkB,CAAC;IAGjC,WAAW,EAAE,WAAW,CAAC;IAGzB,WAAW,EAAE,OAAO,CAAC;IAGrB,cAAc,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACzC,aAAa,EAAE,CAAC,GAAG,EAA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AE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAGxC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AA+BD,eAAO,MAAM,YAAY,wEAkGtB,CAAC"}
|
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
import { MicrofrontendRootProps } from '../../../../../fe-libs/src/shared/types';
|
|
2
|
-
import { NavItem, FooterItem } from '../../../../../fe-libs/src/shared/hooks/shell';
|
|
3
|
-
|
|
4
|
-
export type { NavItem, FooterItem };
|
|
5
|
-
/**
|
|
6
|
-
* Props for the I18nRoot component
|
|
7
|
-
*/
|
|
8
|
-
export interface I18nRootProps extends MicrofrontendRootProps {
|
|
9
|
-
/**
|
|
10
|
-
* Optional keyed translations injected by the host shell.
|
|
11
|
-
*/
|
|
12
|
-
translations?: Record<string, string>;
|
|
13
|
-
/**
|
|
14
|
-
* Optional callback when a language is created/updated
|
|
15
|
-
*/
|
|
16
|
-
onLanguageChange?: (language: Language) => void;
|
|
17
|
-
/**
|
|
18
|
-
* Optional callback when a translation is published
|
|
19
|
-
*/
|
|
20
|
-
onTranslationPublish?: (translation: Translation) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Optional default view to show
|
|
23
|
-
*/
|
|
24
|
-
defaultView?: I18nView;
|
|
25
|
-
/**
|
|
26
|
-
* Optional function to register navigation items with the shell
|
|
27
|
-
* Injected by the shell app
|
|
28
|
-
*/
|
|
29
|
-
registerNavItems?: (items: NavItem | NavItem[]) => () => void;
|
|
30
|
-
/**
|
|
31
|
-
* Optional function to register footer items with the shell
|
|
32
|
-
* Injected by the shell app
|
|
33
|
-
*/
|
|
34
|
-
registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
|
|
35
|
-
/**
|
|
36
|
-
* Tenant ID (this is a tenant module)
|
|
37
|
-
*/
|
|
38
|
-
tenantId: string;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* View mode for the i18n UI
|
|
42
|
-
*/
|
|
43
|
-
export type I18nView = "languages" | "products" | "editor" | "progress" | "review" | "import" | "export" | "locales";
|
|
44
|
-
/**
|
|
45
|
-
* Tab in the i18n interface
|
|
46
|
-
*/
|
|
47
|
-
export type I18nTab = "languages" | "products" | "modules" | "namespaces" | "keys" | "translations" | "progress" | "review";
|
|
48
|
-
/**
|
|
49
|
-
* Language entity
|
|
50
|
-
*/
|
|
51
|
-
export interface Language {
|
|
52
|
-
id: string;
|
|
53
|
-
code: string;
|
|
54
|
-
name: string;
|
|
55
|
-
nativeName: string;
|
|
56
|
-
region?: string;
|
|
57
|
-
direction: "ltr" | "rtl";
|
|
58
|
-
status: "active" | "inactive";
|
|
59
|
-
isDefault: boolean;
|
|
60
|
-
fallbackCode?: string;
|
|
61
|
-
pluralRules?: PluralRule[];
|
|
62
|
-
dateFormat?: string;
|
|
63
|
-
timeFormat?: string;
|
|
64
|
-
numberFormat?: string;
|
|
65
|
-
currencyCode?: string;
|
|
66
|
-
metadata?: Record<string, unknown>;
|
|
67
|
-
createdAt?: string;
|
|
68
|
-
updatedAt?: string;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Plural rule for a language
|
|
72
|
-
*/
|
|
73
|
-
export interface PluralRule {
|
|
74
|
-
form: PluralForm;
|
|
75
|
-
rule: string;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Plural forms based on CLDR
|
|
79
|
-
*/
|
|
80
|
-
export type PluralForm = "zero" | "one" | "two" | "few" | "many" | "other";
|
|
81
|
-
/**
|
|
82
|
-
* I18n Product (e.g., Workspaces, Botlit, Tenant)
|
|
83
|
-
*/
|
|
84
|
-
export interface I18nProduct {
|
|
85
|
-
id: string;
|
|
86
|
-
name: string;
|
|
87
|
-
displayName: string;
|
|
88
|
-
description?: string;
|
|
89
|
-
status: "active" | "archived";
|
|
90
|
-
metadata?: Record<string, unknown>;
|
|
91
|
-
modules?: I18nModule[];
|
|
92
|
-
createdAt?: string;
|
|
93
|
-
updatedAt?: string;
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* I18n Module (e.g., auth, billing, calendar)
|
|
97
|
-
*/
|
|
98
|
-
export interface I18nModule {
|
|
99
|
-
id: string;
|
|
100
|
-
productId?: string;
|
|
101
|
-
name: string;
|
|
102
|
-
displayName: string;
|
|
103
|
-
description?: string;
|
|
104
|
-
status?: "active" | "archived";
|
|
105
|
-
metadata?: Record<string, unknown>;
|
|
106
|
-
namespaces?: I18nNamespace[];
|
|
107
|
-
createdAt?: string;
|
|
108
|
-
updatedAt?: string;
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* I18n Namespace (e.g., common, errors, validation)
|
|
112
|
-
*/
|
|
113
|
-
export interface I18nNamespace {
|
|
114
|
-
id: string;
|
|
115
|
-
moduleId: string;
|
|
116
|
-
name: string;
|
|
117
|
-
displayName: string;
|
|
118
|
-
description?: string;
|
|
119
|
-
status: "active" | "archived";
|
|
120
|
-
metadata?: Record<string, unknown>;
|
|
121
|
-
keys?: TranslationKey[];
|
|
122
|
-
createdAt: string;
|
|
123
|
-
updatedAt: string;
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Translation Key
|
|
127
|
-
*/
|
|
128
|
-
export interface TranslationKey {
|
|
129
|
-
id: string;
|
|
130
|
-
namespaceId: string;
|
|
131
|
-
key: string;
|
|
132
|
-
defaultValue: string;
|
|
133
|
-
description?: string;
|
|
134
|
-
placeholders?: Placeholder[];
|
|
135
|
-
characterLimit?: number;
|
|
136
|
-
tags?: string[];
|
|
137
|
-
context?: string;
|
|
138
|
-
status: "active" | "deprecated" | "archived";
|
|
139
|
-
isPlural: boolean;
|
|
140
|
-
translations?: Translation[];
|
|
141
|
-
metadata?: Record<string, unknown>;
|
|
142
|
-
createdAt: string;
|
|
143
|
-
updatedAt: string;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* Placeholder in a translation key
|
|
147
|
-
*/
|
|
148
|
-
export interface Placeholder {
|
|
149
|
-
name: string;
|
|
150
|
-
description?: string;
|
|
151
|
-
example?: string;
|
|
152
|
-
required: boolean;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* Translation
|
|
156
|
-
*/
|
|
157
|
-
export interface Translation {
|
|
158
|
-
id: string;
|
|
159
|
-
keyId: string;
|
|
160
|
-
languageCode: string;
|
|
161
|
-
value: string;
|
|
162
|
-
pluralForms?: PluralFormTranslation[];
|
|
163
|
-
status: TranslationStatus;
|
|
164
|
-
notes?: string;
|
|
165
|
-
reviewedBy?: string;
|
|
166
|
-
reviewedAt?: string;
|
|
167
|
-
publishedBy?: string;
|
|
168
|
-
publishedAt?: string;
|
|
169
|
-
metadata?: Record<string, unknown>;
|
|
170
|
-
createdBy: string;
|
|
171
|
-
createdAt: string;
|
|
172
|
-
updatedAt: string;
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* Plural form translation
|
|
176
|
-
*/
|
|
177
|
-
export interface PluralFormTranslation {
|
|
178
|
-
form: PluralForm;
|
|
179
|
-
value: string;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Translation status
|
|
183
|
-
*/
|
|
184
|
-
export type TranslationStatus = "draft" | "pending_review" | "approved" | "published";
|
|
185
|
-
/**
|
|
186
|
-
* Translation version (for history)
|
|
187
|
-
*/
|
|
188
|
-
export interface TranslationVersion {
|
|
189
|
-
id: string;
|
|
190
|
-
translationId: string;
|
|
191
|
-
version: number;
|
|
192
|
-
value: string;
|
|
193
|
-
pluralForms?: PluralFormTranslation[];
|
|
194
|
-
status: TranslationStatus;
|
|
195
|
-
changeReason?: string;
|
|
196
|
-
changedBy: string;
|
|
197
|
-
changedAt: string;
|
|
198
|
-
metadata?: Record<string, unknown>;
|
|
199
|
-
}
|
|
200
|
-
/**
|
|
201
|
-
* Translation coverage stats
|
|
202
|
-
*/
|
|
203
|
-
export interface TranslationCoverage {
|
|
204
|
-
languageCode: string;
|
|
205
|
-
totalKeys: number;
|
|
206
|
-
translatedKeys: number;
|
|
207
|
-
draftKeys: number;
|
|
208
|
-
pendingReviewKeys: number;
|
|
209
|
-
approvedKeys: number;
|
|
210
|
-
publishedKeys: number;
|
|
211
|
-
coveragePercentage: number;
|
|
212
|
-
missingKeys?: TranslationKey[];
|
|
213
|
-
}
|
|
214
|
-
/**
|
|
215
|
-
* Import job
|
|
216
|
-
*/
|
|
217
|
-
export interface ImportJob {
|
|
218
|
-
id: string;
|
|
219
|
-
tenantId: string;
|
|
220
|
-
format: ImportFormat;
|
|
221
|
-
status: ImportJobStatus;
|
|
222
|
-
totalOperations: number;
|
|
223
|
-
successfulOperations: number;
|
|
224
|
-
failedOperations: number;
|
|
225
|
-
errors?: ImportError[];
|
|
226
|
-
metadata?: Record<string, unknown>;
|
|
227
|
-
createdBy: string;
|
|
228
|
-
createdAt: string;
|
|
229
|
-
completedAt?: string;
|
|
230
|
-
}
|
|
231
|
-
/**
|
|
232
|
-
* Import format
|
|
233
|
-
*/
|
|
234
|
-
export type ImportFormat = "json" | "csv" | "xlsx" | "po" | "xliff";
|
|
235
|
-
/**
|
|
236
|
-
* Import job status
|
|
237
|
-
*/
|
|
238
|
-
export type ImportJobStatus = "pending" | "processing" | "completed" | "failed";
|
|
239
|
-
/**
|
|
240
|
-
* Import error
|
|
241
|
-
*/
|
|
242
|
-
export interface ImportError {
|
|
243
|
-
row?: number;
|
|
244
|
-
key?: string;
|
|
245
|
-
field?: string;
|
|
246
|
-
message: string;
|
|
247
|
-
severity: "error" | "warning";
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* Export request
|
|
251
|
-
*/
|
|
252
|
-
export interface ExportRequest {
|
|
253
|
-
productId?: string;
|
|
254
|
-
moduleId?: string;
|
|
255
|
-
namespaceId?: string;
|
|
256
|
-
languageCode?: string;
|
|
257
|
-
format: ImportFormat;
|
|
258
|
-
includeMetadata?: boolean;
|
|
259
|
-
}
|
|
260
|
-
/**
|
|
261
|
-
* Export result
|
|
262
|
-
*/
|
|
263
|
-
export interface ExportResult {
|
|
264
|
-
downloadUrl: string;
|
|
265
|
-
format: ImportFormat;
|
|
266
|
-
expiresAt: string;
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* Translation suggestion
|
|
270
|
-
*/
|
|
271
|
-
export interface TranslationSuggestion {
|
|
272
|
-
key: string;
|
|
273
|
-
value: string;
|
|
274
|
-
similarity: number;
|
|
275
|
-
context?: string;
|
|
276
|
-
source: "translation_memory" | "similar_key" | "glossary";
|
|
277
|
-
}
|
|
278
|
-
/**
|
|
279
|
-
* Filter for languages
|
|
280
|
-
*/
|
|
281
|
-
export interface LanguageFilter {
|
|
282
|
-
search?: string;
|
|
283
|
-
status?: "all" | "active" | "inactive";
|
|
284
|
-
direction?: "all" | "ltr" | "rtl";
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* Filter for translations
|
|
288
|
-
*/
|
|
289
|
-
export interface TranslationFilter {
|
|
290
|
-
search?: string;
|
|
291
|
-
status?: "all" | TranslationStatus;
|
|
292
|
-
languageCode?: string | null;
|
|
293
|
-
productId?: string | null;
|
|
294
|
-
moduleId?: string | null;
|
|
295
|
-
namespaceId?: string | null;
|
|
296
|
-
hasMissingTranslations?: boolean;
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* Progress view configuration
|
|
300
|
-
*/
|
|
301
|
-
export interface ProgressViewConfig {
|
|
302
|
-
groupBy: "language" | "product" | "module";
|
|
303
|
-
showPercentages: boolean;
|
|
304
|
-
chartType: "bar" | "pie" | "heatmap";
|
|
305
|
-
}
|
|
306
|
-
/**
|
|
307
|
-
* Import state
|
|
308
|
-
*/
|
|
309
|
-
export interface ImportState {
|
|
310
|
-
format: ImportFormat;
|
|
311
|
-
jobId: string | null;
|
|
312
|
-
progress: number;
|
|
313
|
-
errors: ImportError[];
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* Editor mode
|
|
317
|
-
*/
|
|
318
|
-
export type EditorMode = "simple" | "advanced";
|
|
319
|
-
/**
|
|
320
|
-
* View mode for displaying translations
|
|
321
|
-
*/
|
|
322
|
-
export type ViewMode = "list" | "tree" | "table";
|
|
323
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/i18n/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EACV,OAAO,EACP,UAAU,EACX,MAAM,uCAAuC,CAAC;AAE/C,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AAEpC;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,sBAAsB;IAC3D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEtC;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAEhD;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;IAE1D;;OAEG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;IAEvB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,EAAE,KAAK,MAAM,IAAI,CAAC;IAE9D;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,EAAE,KAAK,MAAM,IAAI,CAAC;IAEvE;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,QAAQ,GAChB,WAAW,GACX,UAAU,GACV,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC;AAEd;;GAEG;AACH,MAAM,MAAM,OAAO,GACf,WAAW,GACX,UAAU,GACV,SAAS,GACT,YAAY,GACZ,MAAM,GACN,cAAc,GAC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,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,KAAK,GAAG,iBAAiB,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC3C,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,KAAK,GAAG,KAAK,GAAG,SAAS,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,YAAY,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/i18n/utils/i18n.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAEhE,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,iBAAiB,GACzB,MAAM,CASR"}
|
package/dist/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './i18n/index'
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '../../../../fe-libs/src/shared/native';
|
|
2
|
-
export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '../../../../fe-libs/src/shared/native';
|
|
3
|
-
//# sourceMappingURL=nativeBridge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nativeBridge.d.ts","sourceRoot":"","sources":["../../src/utils/nativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,GACb,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,kCAAkC,CAAC"}
|