@alfadocs/ui-kit 0.30.3 → 0.30.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/dist/_chunks/{booking-DiyuLsQV.js → booking-Cw92aqo3.js} +426 -422
- package/dist/_chunks/{public-footer.agent-DivkKdG4.js → public-footer.agent-Bc99tE5Z.js} +251 -204
- package/dist/agent-catalog.json +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/i18n/config.d.ts +14 -1
- package/dist/i18n/config.js +66 -26936
- package/dist/i18n/locales/ar.js +1500 -0
- package/dist/i18n/locales/de.js +1500 -0
- package/dist/i18n/locales/el.js +1500 -0
- package/dist/i18n/locales/en.d.ts +1501 -0
- package/dist/i18n/locales/en.js +1486 -0
- package/dist/i18n/locales/es.js +1498 -0
- package/dist/i18n/locales/fr.js +1498 -0
- package/dist/i18n/locales/hi.js +1498 -0
- package/dist/i18n/locales/it.d.ts +1498 -0
- package/dist/i18n/locales/it.js +1480 -0
- package/dist/i18n/locales/ja.js +1500 -0
- package/dist/i18n/locales/nl.js +1498 -0
- package/dist/i18n/locales/pl.js +1498 -0
- package/dist/i18n/locales/pt.js +1498 -0
- package/dist/i18n/locales/ro.js +1498 -0
- package/dist/i18n/locales/ru.js +1500 -0
- package/dist/i18n/locales/sq.js +1498 -0
- package/dist/i18n/locales/sv.js +1498 -0
- package/dist/i18n/locales/tr.js +1498 -0
- package/dist/i18n/locales/zh.js +1498 -0
- package/dist/i18n/resources.d.ts +2 -2994
- package/dist/index.js +2 -2
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
package/dist/agent-catalog.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as s, a as A, P as L, S as e, c as S, p as _ } from "../../_chunks/public-footer.agent-
|
|
1
|
+
import { D as s, a as A, P as L, S as e, c as S, p as _ } from "../../_chunks/public-footer.agent-Bc99tE5Z.js";
|
|
2
2
|
export {
|
|
3
3
|
s as DEFAULT_MARKETING_BASE_URL,
|
|
4
4
|
A as DEFAULT_SOCIAL_URLS,
|
package/dist/i18n/config.d.ts
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import i18next from 'i18next';
|
|
2
|
+
/**
|
|
3
|
+
* Lazy-load a locale's `ui` bundle and register it with i18next. No-op
|
|
4
|
+
* for `en` (already in the entry chunk) and for locales already
|
|
5
|
+
* registered. Unknown locales resolve without registering — i18next's
|
|
6
|
+
* `fallbackLng` handles the lookup.
|
|
7
|
+
*/
|
|
8
|
+
export declare function loadLocale(code: string): Promise<void>;
|
|
9
|
+
/** Convenience: `loadLocale(code)` then `i18next.changeLanguage(code)`. */
|
|
10
|
+
export declare function setLocale(code: string): Promise<void>;
|
|
11
|
+
/** Eager-load every locale bundle in parallel. Useful at app boot when
|
|
12
|
+
* the consumer can afford the up-front cost (offline-first apps,
|
|
13
|
+
* marketing pages that switch locales without a re-fetch). */
|
|
14
|
+
export declare function loadAllLocales(): Promise<void>;
|
|
2
15
|
export default i18next;
|
|
3
|
-
export {
|
|
16
|
+
export { LOCALES_WITH_BUNDLES } from './resources';
|
|
4
17
|
export { registerUiBundle } from './registerUiBundle';
|
|
5
18
|
//# sourceMappingURL=config.d.ts.map
|