gemi 0.173.0 → 0.174.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.
- package/dist/bin/gemi.js +13 -2
- package/dist/bin/gemi.js.map +3 -3
- package/dist/{chunk-z58zh5gm.js → chunk-48pgk5j8.js} +1 -1
- package/dist/{chunk-dxtry1gh.js → chunk-a8c7fe9s.js} +1 -1
- package/dist/{chunk-1pvfgfhj.js → chunk-d6x90qty.js} +25 -25
- package/dist/{chunk-1pvfgfhj.js.map → chunk-d6x90qty.js.map} +10 -6
- package/dist/{chunk-9pet8zmd.js → chunk-ewf24h4z.js} +13 -2
- package/dist/chunk-ewf24h4z.js.map +10 -0
- package/dist/{chunk-psmwxtf5.js → chunk-hz37kkwy.js} +2 -2
- package/dist/{chunk-psmwxtf5.js.map → chunk-hz37kkwy.js.map} +1 -1
- package/dist/{chunk-yeaftz5a.js → chunk-jy4hy8d4.js} +1 -1
- package/dist/{chunk-eykb93pv.js → chunk-q1s9y4ce.js} +1 -1
- package/dist/{chunk-x2e20w8g.js → chunk-r5wtc9fw.js} +1 -1
- package/dist/client/IslandI18nContext.d.ts +32 -0
- package/dist/client/IslandI18nContext.d.ts.map +1 -0
- package/dist/client/index.js +29 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/islands.d.ts +40 -2
- package/dist/client/islands.d.ts.map +1 -1
- package/dist/client/useDictionary.d.ts.map +1 -1
- package/dist/facades/index.js +1 -1
- package/dist/http/index.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/internal/islandRuntime.d.ts +10 -2
- package/dist/internal/islandRuntime.d.ts.map +1 -1
- package/dist/kernel/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/services/index.js +1 -1
- package/dist/services/router/ViewRouteDispatcher.d.ts.map +1 -1
- package/dist/services/router/staticDocument.d.ts +10 -0
- package/dist/services/router/staticDocument.d.ts.map +1 -1
- package/dist/testing/index.js +20 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/vite/index.mjs +12 -1
- package/dist/vitest/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-9pet8zmd.js.map +0 -10
- /package/dist/{chunk-z58zh5gm.js.map → chunk-48pgk5j8.js.map} +0 -0
- /package/dist/{chunk-dxtry1gh.js.map → chunk-a8c7fe9s.js.map} +0 -0
- /package/dist/{chunk-yeaftz5a.js.map → chunk-jy4hy8d4.js.map} +0 -0
- /package/dist/{chunk-eykb93pv.js.map → chunk-q1s9y4ce.js.map} +0 -0
- /package/dist/{chunk-x2e20w8g.js.map → chunk-r5wtc9fw.js.map} +0 -0
package/dist/bin/gemi.js
CHANGED
|
@@ -40309,7 +40309,18 @@ var ISLAND_HYDRATE_SOURCE = `function h(marker, Component) {
|
|
|
40309
40309
|
dangerouslySetInnerHTML: { __html: slot.innerHTML },
|
|
40310
40310
|
})]
|
|
40311
40311
|
: [];
|
|
40312
|
-
|
|
40312
|
+
let element = createElement(Component, props, ...children);
|
|
40313
|
+
const i18n = document.getElementById("gemi-island-i18n");
|
|
40314
|
+
const context = globalThis[Symbol.for("gemi.islandI18n")];
|
|
40315
|
+
if (i18n && context) {
|
|
40316
|
+
const payload = (i18n.p = i18n.p || JSON.parse(i18n.textContent));
|
|
40317
|
+
const dictionaries = (self.__GEMI_DICT__ = self.__GEMI_DICT__ || []);
|
|
40318
|
+
for (const entry of payload.dictionaries || []) dictionaries.push(entry);
|
|
40319
|
+
element = createElement(context.Provider, {
|
|
40320
|
+
value: { currentLocale: payload.currentLocale, defaultLocale: payload.defaultLocale, timeZone: payload.timeZone },
|
|
40321
|
+
}, element);
|
|
40322
|
+
}
|
|
40323
|
+
return hydrateRoot(marker, element, {
|
|
40313
40324
|
identifierPrefix: marker.getAttribute("data-uid") || undefined,
|
|
40314
40325
|
});
|
|
40315
40326
|
}`;
|
|
@@ -42347,5 +42358,5 @@ program.command("app:route-manifest").action(async () => {
|
|
|
42347
42358
|
});
|
|
42348
42359
|
program.parse();
|
|
42349
42360
|
|
|
42350
|
-
//# debugId=
|
|
42361
|
+
//# debugId=FE8A3D76F2E0CC8A64756E2164756E21
|
|
42351
42362
|
//# sourceMappingURL=gemi.js.map
|