vitral 0.13.0 → 0.13.2

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/angular.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  defineVitralElement
3
- } from "./chunk-B4LYXSNK.js";
4
- import "./chunk-XNUU3YPA.js";
3
+ } from "./chunk-GB3J6I2T.js";
4
+ import "./chunk-5JNG3OG5.js";
5
5
  import {
6
6
  defineRemote,
7
7
  memoSelect,
8
8
  same,
9
9
  shared
10
- } from "./chunk-WIQ3W6AY.js";
10
+ } from "./chunk-DSOK3BNO.js";
11
11
  import {
12
12
  configure
13
- } from "./chunk-NGO67IJR.js";
13
+ } from "./chunk-6XXPGS5Q.js";
14
14
  import "./chunk-OKXLOMAG.js";
15
15
  import "./chunk-YDO7SPF4.js";
16
16
  import "./chunk-VDVVEGAO.js";
package/dist/auto.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  defineVitralElement
3
- } from "./chunk-B4LYXSNK.js";
4
- import "./chunk-XNUU3YPA.js";
5
- import "./chunk-WIQ3W6AY.js";
6
- import "./chunk-NGO67IJR.js";
3
+ } from "./chunk-GB3J6I2T.js";
4
+ import "./chunk-5JNG3OG5.js";
5
+ import "./chunk-DSOK3BNO.js";
6
+ import "./chunk-6XXPGS5Q.js";
7
7
  import "./chunk-OKXLOMAG.js";
8
8
  import "./chunk-YDO7SPF4.js";
9
9
  import "./chunk-VDVVEGAO.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createSlot
3
- } from "./chunk-WIQ3W6AY.js";
3
+ } from "./chunk-DSOK3BNO.js";
4
4
  import {
5
5
  policy,
6
6
  preload,
7
7
  registerSrc
8
- } from "./chunk-NGO67IJR.js";
8
+ } from "./chunk-6XXPGS5Q.js";
9
9
  import {
10
10
  ctxHooks
11
11
  } from "./chunk-JWDDXX5O.js";
@@ -106,7 +106,7 @@ function loadRemote(name) {
106
106
  return load(name).then((r) => r.module);
107
107
  }
108
108
  function loadModule(name) {
109
- return import("./expose-PY7A4VM2.js").then((m) => m.resolveModule(name, (n) => loadFile(n))).catch(fail);
109
+ return import("./expose-4CIS6AKL.js").then((m) => m.resolveModule(name, (n) => loadFile(n))).catch(fail);
110
110
  }
111
111
  function preload(name, options = {}) {
112
112
  const done = load(name);
@@ -146,7 +146,7 @@ function warmSsr(holder) {
146
146
  }
147
147
  function load(name, isolate, priority) {
148
148
  const file = (n) => loadFile(n, isolate, priority);
149
- return (protocol().entry(name) || !name.includes("/") ? file(name).then((r) => mountable(name, r)) : import("./expose-PY7A4VM2.js").then((m) => m.resolveTarget(name, file))).catch(fail);
149
+ return (protocol().entry(name) || !name.includes("/") ? file(name).then((r) => mountable(name, r)) : import("./expose-4CIS6AKL.js").then((m) => m.resolveTarget(name, file))).catch(fail);
150
150
  }
151
151
  function loadFile(name, isolate, priority) {
152
152
  const p = protocol();
@@ -168,7 +168,7 @@ function loadFile(name, isolate, priority) {
168
168
  if (d?.some((x) => x.uses)) (p.uses ??= {})[resolved.split.entry] = Object.fromEntries(d.map((x) => [x.name, x.uses]));
169
169
  prefetchCss(resolved, (isolate ?? resolved.isolate ?? p.settings().isolate) === "shadow", priority);
170
170
  const { i18n, timeout } = p.settings();
171
- const words = resolved.i18n && i18n && import("./i18n-WISV4IP6.js").then((m) => m.loadTranslations(name, resolved.i18n, resolved.sri ?? {}, i18n, timeout, priority)).catch((e) => console.warn(`[vitral] ${name}: tradu\xE7\xF5es n\xE3o carregaram`, e));
171
+ const words = resolved.i18n && i18n && import("./i18n-TMQBOCPP.js").then((m) => m.loadTranslations(name, resolved.i18n, resolved.sri ?? {}, i18n, timeout, priority)).catch((e) => console.warn(`[vitral] ${name}: tradu\xE7\xF5es n\xE3o carregaram`, e));
172
172
  t = performance.now();
173
173
  const ns = await withRetry(p.settings().retries, () => importModule(name, resolved));
174
174
  await words;
@@ -14,6 +14,7 @@ var asked = /* @__PURE__ */ new Map();
14
14
  var remotes = /* @__PURE__ */ new Map();
15
15
  var watching;
16
16
  var stop;
17
+ var wait = 0;
17
18
  function pickLanguage(lng, available, fallback = []) {
18
19
  const low = available.map((a) => a.toLowerCase());
19
20
  const base = (x) => x.toLowerCase().split(/[-_]/)[0];
@@ -62,11 +63,18 @@ function load(name, files, sri, host, lng, timeout, priority) {
62
63
  })
63
64
  ).then((added) => added.includes(true));
64
65
  }
66
+ function languageReady(lng) {
67
+ const host = watching;
68
+ if (!host) return Promise.resolve();
69
+ return Promise.all([...remotes].map(([name, r]) => load(name, r.files, r.sri, host, lng, wait).catch(() => false))).then(() => {
70
+ });
71
+ }
65
72
  function watch(host, timeout) {
66
- if (watching === host || !host.onChange) return;
73
+ wait = timeout;
74
+ if (watching === host) return;
67
75
  stop?.();
68
76
  watching = host;
69
- stop = host.onChange((lng) => {
77
+ stop = host.onChange?.((lng) => {
70
78
  Promise.all([...remotes].map(([name, r]) => load(name, r.files, r.sri, host, lng, timeout).catch(() => false))).then((added) => {
71
79
  if (added.includes(true)) host.refresh?.();
72
80
  });
@@ -77,10 +85,12 @@ function resetTranslations() {
77
85
  asked.clear();
78
86
  remotes.clear();
79
87
  watching = stop = void 0;
88
+ wait = 0;
80
89
  }
81
90
 
82
91
  export {
83
92
  pickLanguage,
84
93
  loadTranslations,
94
+ languageReady,
85
95
  resetTranslations
86
96
  };
@@ -3,7 +3,7 @@ import {
3
3
  loadFile,
4
4
  registerSrc,
5
5
  resolveEntry
6
- } from "./chunk-NGO67IJR.js";
6
+ } from "./chunk-6XXPGS5Q.js";
7
7
  import {
8
8
  injectStyles
9
9
  } from "./chunk-YDO7SPF4.js";
@@ -87,7 +87,7 @@ var noop = () => {
87
87
  async function checkUpdates() {
88
88
  const p = protocol();
89
89
  const found = [];
90
- const { splitName } = await import("./expose-PY7A4VM2.js");
90
+ const { splitName } = await import("./expose-4CIS6AKL.js");
91
91
  const remotes = /* @__PURE__ */ new Map();
92
92
  for (const name of live.keys()) {
93
93
  const root = splitName(name)[0];
@@ -132,8 +132,8 @@ async function mountOnce(target, name, props, options) {
132
132
  const p = protocol();
133
133
  await p.pending();
134
134
  const isolate = options.isolate ?? registered(name)?.isolate ?? p.settings().isolate;
135
- if (isolate === "iframe") return (frames ?? (await import("./reframe-RLSKSEJS.js")).noFrames)(target, name, props, options).catch(fail);
136
- const { module: mod, ...resolved } = await (isolate == "reframe" ? (await import("./reframe-RLSKSEJS.js")).load : load)(name, isolate, options.priority);
135
+ if (isolate === "iframe") return (frames ?? (await import("./reframe-IV36WJRO.js")).noFrames)(target, name, props, options).catch(fail);
136
+ const { module: mod, ...resolved } = await (isolate == "reframe" ? (await import("./reframe-IV36WJRO.js")).load : load)(name, isolate, options.priority);
137
137
  const untrack = track(name, resolved);
138
138
  ctxHooks.watch?.(name);
139
139
  const label = resolved.name ?? name;
@@ -6,17 +6,17 @@ import {
6
6
  import {
7
7
  hostSlot,
8
8
  when
9
- } from "./chunk-XNUU3YPA.js";
9
+ } from "./chunk-5JNG3OG5.js";
10
10
  import {
11
11
  defineRemote,
12
12
  memoSelect,
13
13
  same,
14
14
  shared
15
- } from "./chunk-WIQ3W6AY.js";
15
+ } from "./chunk-DSOK3BNO.js";
16
16
  import {
17
17
  policy,
18
18
  preload
19
- } from "./chunk-NGO67IJR.js";
19
+ } from "./chunk-6XXPGS5Q.js";
20
20
  import {
21
21
  dedupeModule
22
22
  } from "./chunk-OKXLOMAG.js";
@@ -192,7 +192,7 @@ function Remote({
192
192
  let dead = false;
193
193
  let s = null;
194
194
  if (holder) {
195
- const go = () => import("./hydrate-UOEAX7D3.js").then((m) => {
195
+ const go = () => import("./hydrate-QPVDJHM7.js").then((m) => {
196
196
  if (!dead) slot.current = s = m.hydrateSlot(target.current, holder, { ...options, props: latest.current ?? {} });
197
197
  });
198
198
  const stop = policy() === "lazy" ? when(target.current, "visible", go) : (go(), () => {
@@ -2,18 +2,18 @@ import {
2
2
  hostSlot,
3
3
  timings,
4
4
  when
5
- } from "./chunk-XNUU3YPA.js";
5
+ } from "./chunk-5JNG3OG5.js";
6
6
  import {
7
7
  defineRemote,
8
8
  memoSelect,
9
9
  same,
10
10
  shared
11
- } from "./chunk-WIQ3W6AY.js";
11
+ } from "./chunk-DSOK3BNO.js";
12
12
  import {
13
13
  policy,
14
14
  registerSrc,
15
15
  warmSsr
16
- } from "./chunk-NGO67IJR.js";
16
+ } from "./chunk-6XXPGS5Q.js";
17
17
 
18
18
  // src/element.ts
19
19
  var Base = typeof HTMLElement === "undefined" ? class {
@@ -77,7 +77,7 @@ var VitralRemoteElement = class extends Base {
77
77
  };
78
78
  const ssr = true ? this.querySelector(":scope>[data-vitral-ssr]") : null;
79
79
  if (ssr) {
80
- const go = () => (warmSsr(ssr), import("./hydrate-UOEAX7D3.js").then((m) => this.isConnected && !this.#slot && (this.#slot = m.hydrateSlot(this, ssr, { ...options, props: this.#props }))));
80
+ const go = () => (warmSsr(ssr), import("./hydrate-QPVDJHM7.js").then((m) => this.isConnected && !this.#slot && (this.#slot = m.hydrateSlot(this, ssr, { ...options, props: this.#props }))));
81
81
  if (policy() === "lazy") when(this, "visible", go);
82
82
  else go();
83
83
  } else this.#slot = hostSlot(this, options);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mountable
3
- } from "./chunk-NGO67IJR.js";
3
+ } from "./chunk-6XXPGS5Q.js";
4
4
  import {
5
5
  RemoteError
6
6
  } from "./chunk-BQGVAXFM.js";
package/dist/element.js CHANGED
@@ -3,10 +3,10 @@ import {
3
3
  VitralRemoteElement,
4
4
  defineVitralElement,
5
5
  elementRemote
6
- } from "./chunk-B4LYXSNK.js";
7
- import "./chunk-XNUU3YPA.js";
8
- import "./chunk-WIQ3W6AY.js";
9
- import "./chunk-NGO67IJR.js";
6
+ } from "./chunk-GB3J6I2T.js";
7
+ import "./chunk-5JNG3OG5.js";
8
+ import "./chunk-DSOK3BNO.js";
9
+ import "./chunk-6XXPGS5Q.js";
10
10
  import "./chunk-OKXLOMAG.js";
11
11
  import "./chunk-YDO7SPF4.js";
12
12
  import "./chunk-VDVVEGAO.js";
@@ -2,8 +2,8 @@ import {
2
2
  resolveModule,
3
3
  resolveTarget,
4
4
  splitName
5
- } from "./chunk-GJY5QTOO.js";
6
- import "./chunk-NGO67IJR.js";
5
+ } from "./chunk-SQ46TAP4.js";
6
+ import "./chunk-6XXPGS5Q.js";
7
7
  import "./chunk-OKXLOMAG.js";
8
8
  import "./chunk-YDO7SPF4.js";
9
9
  import "./chunk-VDVVEGAO.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  hostSlot
3
- } from "./chunk-XNUU3YPA.js";
3
+ } from "./chunk-5JNG3OG5.js";
4
4
  import {
5
5
  mountOnce,
6
6
  refreshable,
7
7
  registered,
8
8
  track
9
- } from "./chunk-WIQ3W6AY.js";
9
+ } from "./chunk-DSOK3BNO.js";
10
10
  import {
11
11
  load
12
- } from "./chunk-NGO67IJR.js";
12
+ } from "./chunk-6XXPGS5Q.js";
13
13
  import "./chunk-OKXLOMAG.js";
14
14
  import {
15
15
  injectStyles
@@ -1,8 +1,9 @@
1
1
  import {
2
+ languageReady,
2
3
  loadTranslations,
3
4
  pickLanguage,
4
5
  resetTranslations
5
- } from "./chunk-EGUHWWE4.js";
6
+ } from "./chunk-B7LKO4HS.js";
6
7
  import "./chunk-UCFOXMOR.js";
7
8
  import "./chunk-VDVVEGAO.js";
8
9
  import "./chunk-BQGVAXFM.js";
@@ -10,6 +11,7 @@ import "./chunk-JWDDXX5O.js";
10
11
  import "./chunk-GNPFWISJ.js";
11
12
  import "./chunk-MLKGABMK.js";
12
13
  export {
14
+ languageReady,
13
15
  loadTranslations,
14
16
  pickLanguage,
15
17
  resetTranslations
package/dist/i18n.d.ts CHANGED
@@ -16,22 +16,13 @@ import './errors-kjBv6IH_.js';
16
16
  * remote tiver.
17
17
  */
18
18
  declare function pickLanguage(lng: string, available: string[], fallback?: string[]): string | undefined;
19
-
20
19
  /**
21
- * Traduções dos remotes no i18next do host.
22
- *
23
- * ```ts
24
- * import i18n from 'i18next'
25
- * import { configure } from 'vitral'
26
- * import { i18next } from 'vitral/i18n'
27
- *
28
- * configure({ remotes, i18n: i18next(i18n) })
29
- * ```
30
- *
31
- * Cada remote com `i18n` no plugin baixa só a língua aberta, junto com o JS,
32
- * e as traduções entram nesta instância antes da montagem. Com `dedupe:
33
- * ['i18next', 'react-i18next']` no remote, o `useTranslation` dele lê daqui.
20
+ * Baixa as traduções de `lng` de cada remote já carregado. Com o adaptador
21
+ * `i18next()`, o `changeLanguage` espera por ela: a tela troca de língua já
22
+ * com os textos dos remotes, sem mostrar as chaves enquanto os arquivos chegam.
23
+ * Uma tradução que falha não segura a troca.
34
24
  */
25
+ declare function languageReady(lng: string): Promise<void>;
35
26
 
36
27
  /** O que o vitral usa de uma instância do i18next. */
37
28
  interface I18nextLike {
@@ -42,11 +33,17 @@ interface I18nextLike {
42
33
  addResourceBundle(lng: string, ns: string, resources: any, deep?: boolean, overwrite?: boolean): unknown;
43
34
  on(event: 'languageChanged', fn: (lng: string) => void): unknown;
44
35
  off(event: 'languageChanged', fn: (lng: string) => void): unknown;
45
- changeLanguage(lng?: string): unknown;
36
+ changeLanguage(lng?: string, ...rest: any[]): unknown;
46
37
  }
47
38
  /** `fallbackLng` do i18next (texto, lista, objeto por língua ou função) como lista. */
48
39
  declare function fallbacks(value: unknown, lng?: string): string[];
49
- /** Adaptador de uma instância do i18next para `configure({ i18n })`. */
40
+ /**
41
+ * Adaptador de uma instância do i18next para `configure({ i18n })`.
42
+ *
43
+ * O `changeLanguage` da instância passa a baixar antes as traduções da nova
44
+ * língua dos remotes já carregados: a tela troca já com os textos certos, e
45
+ * enquanto os arquivos chegam fica a língua anterior (nunca as chaves).
46
+ */
50
47
  declare function i18next(i: I18nextLike): I18nHost;
51
48
 
52
- export { I18nHost, type I18nextLike, fallbacks, i18next, pickLanguage };
49
+ export { I18nHost, type I18nextLike, fallbacks, i18next, languageReady, pickLanguage };
package/dist/i18n.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import {
2
+ languageReady,
2
3
  pickLanguage
3
- } from "./chunk-EGUHWWE4.js";
4
+ } from "./chunk-B7LKO4HS.js";
4
5
  import "./chunk-UCFOXMOR.js";
5
6
  import "./chunk-VDVVEGAO.js";
6
7
  import "./chunk-BQGVAXFM.js";
@@ -9,6 +10,7 @@ import "./chunk-GNPFWISJ.js";
9
10
  import "./chunk-MLKGABMK.js";
10
11
 
11
12
  // src/i18n.ts
13
+ var ready = /* @__PURE__ */ new WeakMap();
12
14
  function fallbacks(value, lng = "") {
13
15
  if (typeof value === "function") return fallbacks(value(lng), lng);
14
16
  if (typeof value === "string") return [value];
@@ -20,6 +22,14 @@ function fallbacks(value, lng = "") {
20
22
  return [];
21
23
  }
22
24
  function i18next(i) {
25
+ let change = ready.get(i);
26
+ if (!change) {
27
+ const original = i.changeLanguage;
28
+ change = original.bind(i);
29
+ ready.set(i, change);
30
+ i.changeLanguage = (lng, ...rest) => lng ? languageReady(lng).then(() => original.call(i, lng, ...rest)) : original.call(i, lng, ...rest);
31
+ }
32
+ const set = change;
23
33
  return {
24
34
  language: () => i.language ?? "",
25
35
  fallback: () => fallbacks(i.options?.fallbackLng, i.language),
@@ -29,11 +39,12 @@ function i18next(i) {
29
39
  return () => void i.off("languageChanged", fn);
30
40
  },
31
41
  // O react-i18next desenha de novo no `languageChanged`, não quando um namespace entra.
32
- refresh: () => void i.changeLanguage(i.language)
42
+ refresh: () => void set(i.language)
33
43
  };
34
44
  }
35
45
  export {
36
46
  fallbacks,
37
47
  i18next,
48
+ languageReady,
38
49
  pickLanguage
39
50
  };
package/dist/iframe.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  splitName
3
- } from "./chunk-GJY5QTOO.js";
3
+ } from "./chunk-SQ46TAP4.js";
4
4
  import {
5
5
  verifyIntegrity
6
6
  } from "./chunk-UCFOXMOR.js";
7
7
  import {
8
8
  setFrameMounter,
9
9
  track
10
- } from "./chunk-WIQ3W6AY.js";
10
+ } from "./chunk-DSOK3BNO.js";
11
11
  import {
12
12
  resolveEntry
13
- } from "./chunk-NGO67IJR.js";
13
+ } from "./chunk-6XXPGS5Q.js";
14
14
  import "./chunk-OKXLOMAG.js";
15
15
  import "./chunk-YDO7SPF4.js";
16
16
  import {
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  syncTabs,
16
16
  unsafeHTML,
17
17
  watchUpdates
18
- } from "./chunk-WIQ3W6AY.js";
18
+ } from "./chunk-DSOK3BNO.js";
19
19
  import {
20
20
  choose,
21
21
  configure,
@@ -27,7 +27,7 @@ import {
27
27
  registerSrc,
28
28
  signals,
29
29
  signalsFrom
30
- } from "./chunk-NGO67IJR.js";
30
+ } from "./chunk-6XXPGS5Q.js";
31
31
  import "./chunk-OKXLOMAG.js";
32
32
  import "./chunk-YDO7SPF4.js";
33
33
  import "./chunk-VDVVEGAO.js";
package/dist/next-host.js CHANGED
@@ -8,23 +8,23 @@ import {
8
8
  import {
9
9
  Remote,
10
10
  preload
11
- } from "./chunk-C3LH5DSE.js";
11
+ } from "./chunk-F5USJIBT.js";
12
12
  import "./chunk-KCF46XOX.js";
13
13
  import {
14
14
  pickLanguage
15
- } from "./chunk-EGUHWWE4.js";
15
+ } from "./chunk-B7LKO4HS.js";
16
16
  import "./chunk-UCFOXMOR.js";
17
17
  import {
18
18
  hintsOf
19
19
  } from "./chunk-AJUORT35.js";
20
20
  import "./chunk-5O6XDJBR.js";
21
- import "./chunk-XNUU3YPA.js";
22
- import "./chunk-WIQ3W6AY.js";
21
+ import "./chunk-5JNG3OG5.js";
22
+ import "./chunk-DSOK3BNO.js";
23
23
  import {
24
24
  configure,
25
25
  policy,
26
26
  register
27
- } from "./chunk-NGO67IJR.js";
27
+ } from "./chunk-6XXPGS5Q.js";
28
28
  import {
29
29
  bundled
30
30
  } from "./chunk-OKXLOMAG.js";
package/dist/preact.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  hostSlot
3
- } from "./chunk-XNUU3YPA.js";
3
+ } from "./chunk-5JNG3OG5.js";
4
4
  import {
5
5
  defineRemote,
6
6
  memoSelect,
7
7
  same,
8
8
  shared
9
- } from "./chunk-WIQ3W6AY.js";
10
- import "./chunk-NGO67IJR.js";
9
+ } from "./chunk-DSOK3BNO.js";
10
+ import "./chunk-6XXPGS5Q.js";
11
11
  import "./chunk-OKXLOMAG.js";
12
12
  import "./chunk-YDO7SPF4.js";
13
13
  import "./chunk-VDVVEGAO.js";
package/dist/prefetch.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  policy,
3
3
  resolveEntry
4
- } from "./chunk-NGO67IJR.js";
4
+ } from "./chunk-6XXPGS5Q.js";
5
5
  import "./chunk-OKXLOMAG.js";
6
6
  import "./chunk-YDO7SPF4.js";
7
7
  import {
package/dist/react.js CHANGED
@@ -9,11 +9,11 @@ import {
9
9
  usePortalContainer,
10
10
  useShared,
11
11
  useVitral
12
- } from "./chunk-C3LH5DSE.js";
12
+ } from "./chunk-F5USJIBT.js";
13
13
  import "./chunk-KCF46XOX.js";
14
- import "./chunk-XNUU3YPA.js";
15
- import "./chunk-WIQ3W6AY.js";
16
- import "./chunk-NGO67IJR.js";
14
+ import "./chunk-5JNG3OG5.js";
15
+ import "./chunk-DSOK3BNO.js";
16
+ import "./chunk-6XXPGS5Q.js";
17
17
  import "./chunk-OKXLOMAG.js";
18
18
  import "./chunk-YDO7SPF4.js";
19
19
  import "./chunk-VDVVEGAO.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  splitName
3
- } from "./chunk-GJY5QTOO.js";
3
+ } from "./chunk-SQ46TAP4.js";
4
4
  import {
5
5
  verifyIntegrity
6
6
  } from "./chunk-UCFOXMOR.js";
7
7
  import {
8
8
  resolveEntry
9
- } from "./chunk-NGO67IJR.js";
9
+ } from "./chunk-6XXPGS5Q.js";
10
10
  import "./chunk-OKXLOMAG.js";
11
11
  import {
12
12
  prefetchCss
package/dist/routes.js CHANGED
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-OVVGVPIV.js";
4
4
  import {
5
5
  createSlot
6
- } from "./chunk-WIQ3W6AY.js";
6
+ } from "./chunk-DSOK3BNO.js";
7
7
  import {
8
8
  warmSsr
9
- } from "./chunk-NGO67IJR.js";
9
+ } from "./chunk-6XXPGS5Q.js";
10
10
  import "./chunk-OKXLOMAG.js";
11
11
  import "./chunk-YDO7SPF4.js";
12
12
  import "./chunk-VDVVEGAO.js";
@@ -122,7 +122,7 @@ var VitralOutletElement = class extends Base {
122
122
  if (ssr?.getAttribute("data-vitral-slot") === name) {
123
123
  this.#status("loading", null);
124
124
  warmSsr(ssr);
125
- import("./hydrate-UOEAX7D3.js").then((m) => {
125
+ import("./hydrate-QPVDJHM7.js").then((m) => {
126
126
  if (this.#route === name && !this.#slot) this.#slot = m.hydrateSlot(this, ssr, { ...options, props: this.#props });
127
127
  else ssr.remove();
128
128
  });
package/dist/solid.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  hostSlot
3
- } from "./chunk-XNUU3YPA.js";
3
+ } from "./chunk-5JNG3OG5.js";
4
4
  import {
5
5
  defineRemote,
6
6
  memoSelect,
7
7
  same,
8
8
  shared
9
- } from "./chunk-WIQ3W6AY.js";
10
- import "./chunk-NGO67IJR.js";
9
+ } from "./chunk-DSOK3BNO.js";
10
+ import "./chunk-6XXPGS5Q.js";
11
11
  import "./chunk-OKXLOMAG.js";
12
12
  import "./chunk-YDO7SPF4.js";
13
13
  import "./chunk-VDVVEGAO.js";
package/dist/svelte.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  hostSlot
3
- } from "./chunk-XNUU3YPA.js";
3
+ } from "./chunk-5JNG3OG5.js";
4
4
  import {
5
5
  defineRemote
6
- } from "./chunk-WIQ3W6AY.js";
7
- import "./chunk-NGO67IJR.js";
6
+ } from "./chunk-DSOK3BNO.js";
7
+ import "./chunk-6XXPGS5Q.js";
8
8
  import "./chunk-OKXLOMAG.js";
9
9
  import "./chunk-YDO7SPF4.js";
10
10
  import "./chunk-VDVVEGAO.js";
package/dist/testing.js CHANGED
@@ -4,10 +4,10 @@ import {
4
4
  harness,
5
5
  verify
6
6
  } from "./chunk-DAESKNQ6.js";
7
- import "./chunk-WIQ3W6AY.js";
7
+ import "./chunk-DSOK3BNO.js";
8
8
  import {
9
9
  register
10
- } from "./chunk-NGO67IJR.js";
10
+ } from "./chunk-6XXPGS5Q.js";
11
11
  import "./chunk-OKXLOMAG.js";
12
12
  import "./chunk-YDO7SPF4.js";
13
13
  import "./chunk-VDVVEGAO.js";
package/dist/vue.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  hostSlot,
3
3
  timings
4
- } from "./chunk-XNUU3YPA.js";
4
+ } from "./chunk-5JNG3OG5.js";
5
5
  import {
6
6
  defineRemote,
7
7
  memoSelect,
8
8
  same,
9
9
  shared
10
- } from "./chunk-WIQ3W6AY.js";
11
- import "./chunk-NGO67IJR.js";
10
+ } from "./chunk-DSOK3BNO.js";
11
+ import "./chunk-6XXPGS5Q.js";
12
12
  import "./chunk-OKXLOMAG.js";
13
13
  import "./chunk-YDO7SPF4.js";
14
14
  import {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vitral",
3
- "version": "0.13.0",
4
- "description": "Micro-frontends com qualquer framework, sem configurar build no host. React, Next.js, Vue, Nuxt, Angular, Svelte e outros na mesma página.",
3
+ "version": "0.13.2",
4
+ "description": "Micro-frontends for any framework with zero host build config. Mix React, Next.js, Vue, Nuxt, Angular, Svelte and more on one page.",
5
5
  "keywords": [
6
6
  "micro-frontend",
7
7
  "micro-frontends",