vitral 0.7.2 → 0.8.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/README.md +2 -0
- package/dist/angular.d.ts +2 -2
- package/dist/angular.js +8 -6
- package/dist/auto.js +5 -4
- package/dist/chunk-4IWZIFAL.js +165 -0
- package/dist/chunk-6AFVJCQG.js +311 -0
- package/dist/{chunk-72H4FXMD.js → chunk-6T25WKNK.js} +44 -13
- package/dist/chunk-EQZOJU3B.js +48 -0
- package/dist/{chunk-O7DV3EVB.js → chunk-NTXMEZIZ.js} +9 -46
- package/dist/{chunk-4NSPG6NK.js → chunk-PQXS2UDM.js} +1 -1
- package/dist/{chunk-TXSHK3SK.js → chunk-ZJ4IM2PZ.js} +2 -2
- package/dist/{chunk-V24ZNHUF.js → chunk-ZRAGLT3I.js} +4 -4
- package/dist/cli.js +1 -1
- package/dist/{contract-46EZFQPQ.js → contract-OMHCH6LI.js} +1 -1
- package/dist/{dedupe-S7BHQMOZ.js → dedupe-PZCSKL3L.js} +1 -1
- package/dist/edge.d.ts +1 -1
- package/dist/element.d.ts +2 -2
- package/dist/element.js +5 -4
- package/dist/embed.js +2 -2
- package/dist/{events-DLdbFqBM.d.ts → events-Cieg_far.d.ts} +1 -1
- package/dist/{expose-ZLYQZUP2.js → expose-V5ASGX4E.js} +2 -2
- package/dist/federation.d.ts +1 -1
- package/dist/{hydrate-NFZZMYWT.js → hydrate-6NE4MYOD.js} +7 -5
- package/dist/iframe.js +9 -7
- package/dist/index.d.ts +6 -19
- package/dist/index.js +6 -4
- package/dist/loader-BIXjuvvp.d.ts +25 -0
- package/dist/next-config.d.ts +95 -0
- package/dist/next-config.js +149 -0
- package/dist/next-host.d.ts +26 -0
- package/dist/next-host.js +92 -0
- package/dist/next.d.ts +190 -0
- package/dist/next.js +287 -0
- package/dist/preact.d.ts +4 -4
- package/dist/preact.js +7 -5
- package/dist/prefetch.js +2 -2
- package/dist/react-server.d.ts +1 -1
- package/dist/react.d.ts +11 -4
- package/dist/react.js +17 -144
- package/dist/{reframe-7K5S6JC6.js → reframe-3ZN5CHEG.js} +4 -4
- package/dist/routes.d.ts +2 -2
- package/dist/routes.js +6 -4
- package/dist/single-spa.d.ts +1 -1
- package/dist/{slot-Ddzp7AgL.d.ts → slot-Dhczjs1E.d.ts} +1 -1
- package/dist/solid.d.ts +3 -3
- package/dist/solid.js +7 -5
- package/dist/{sri-576GTDIA.js → sri-TBZ6PYYY.js} +39 -24
- package/dist/svelte.d.ts +4 -4
- package/dist/svelte.js +6 -4
- package/dist/sw.d.ts +8 -0
- package/dist/sw.js +21 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +3 -2
- package/dist/{types-EOz1rOHs.d.ts → types-wsKR1gfx.d.ts} +19 -3
- package/dist/vite.d.ts +33 -1
- package/dist/vite.js +353 -158
- package/dist/vue.d.ts +3 -3
- package/dist/vue.js +6 -4
- package/package.json +28 -12
package/dist/vue.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { PropType, App, ShallowRef, WritableComputedRef, ComputedRef, Component } from 'vue';
|
|
3
|
-
import { P as Props, I as Isolation, R as RemoteContext, S as Shared, a as RemoteModule } from './types-
|
|
4
|
-
export { e as events } from './events-
|
|
3
|
+
import { P as Props, I as Isolation, R as RemoteContext, S as Shared, a as RemoteModule } from './types-wsKR1gfx.js';
|
|
4
|
+
export { e as events } from './events-Cieg_far.js';
|
|
5
5
|
import { L as Loading, P as Prefetch } from './host-slot-Cz6EiGsB.js';
|
|
6
6
|
import './errors-kjBv6IH_.js';
|
|
7
7
|
|
|
@@ -127,8 +127,8 @@ declare const VitralRemote: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
127
127
|
onError?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
129
129
|
}>, {
|
|
130
|
-
isolate: Isolation;
|
|
131
130
|
name: string;
|
|
131
|
+
isolate: Isolation;
|
|
132
132
|
priority: RequestPriority;
|
|
133
133
|
loading: Loading;
|
|
134
134
|
src: string;
|
package/dist/vue.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hostSlot,
|
|
3
3
|
timings
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZJ4IM2PZ.js";
|
|
5
5
|
import {
|
|
6
6
|
defineRemote,
|
|
7
|
-
events,
|
|
8
7
|
memoSelect,
|
|
9
8
|
same,
|
|
10
9
|
shared
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import
|
|
10
|
+
} from "./chunk-NTXMEZIZ.js";
|
|
11
|
+
import {
|
|
12
|
+
events
|
|
13
|
+
} from "./chunk-EQZOJU3B.js";
|
|
14
|
+
import "./chunk-6T25WKNK.js";
|
|
13
15
|
import "./chunk-KU6HF2EW.js";
|
|
14
16
|
import {
|
|
15
17
|
absolute
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitral",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Micro-frontends de qualquer framework numa página só, sem configuração de build no host. React, Next, Vue, Nuxt, Angular, Svelte, Solid, Preact, Lit e JS puro.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"micro-frontend",
|
|
@@ -132,6 +132,22 @@
|
|
|
132
132
|
"types": "./dist/federation.d.ts",
|
|
133
133
|
"import": "./dist/federation.js"
|
|
134
134
|
},
|
|
135
|
+
"./next": {
|
|
136
|
+
"types": "./dist/next.d.ts",
|
|
137
|
+
"import": "./dist/next.js"
|
|
138
|
+
},
|
|
139
|
+
"./next-host": {
|
|
140
|
+
"types": "./dist/next-host.d.ts",
|
|
141
|
+
"import": "./dist/next-host.js"
|
|
142
|
+
},
|
|
143
|
+
"./next-config": {
|
|
144
|
+
"types": "./dist/next-config.d.ts",
|
|
145
|
+
"default": "./dist/next-config.js"
|
|
146
|
+
},
|
|
147
|
+
"./sw": {
|
|
148
|
+
"types": "./dist/sw.d.ts",
|
|
149
|
+
"import": "./dist/sw.js"
|
|
150
|
+
},
|
|
135
151
|
"./vitals": {
|
|
136
152
|
"types": "./dist/vitals.d.ts",
|
|
137
153
|
"import": "./dist/vitals.js"
|
|
@@ -252,7 +268,7 @@
|
|
|
252
268
|
"./channel-*",
|
|
253
269
|
"./hydrate-*"
|
|
254
270
|
],
|
|
255
|
-
"limit": "4.
|
|
271
|
+
"limit": "4.83 kB"
|
|
256
272
|
},
|
|
257
273
|
{
|
|
258
274
|
"name": "núcleo",
|
|
@@ -276,12 +292,12 @@
|
|
|
276
292
|
{
|
|
277
293
|
"name": "SRI e dedupe (sob demanda, com as dependências)",
|
|
278
294
|
"path": "dist/sri-*.js",
|
|
279
|
-
"limit": "2.
|
|
295
|
+
"limit": "2.76 kB"
|
|
280
296
|
},
|
|
281
297
|
{
|
|
282
298
|
"name": "dedupe (sob demanda, para hosts que oferecem dependências)",
|
|
283
299
|
"path": "dist/dedupe-*.js",
|
|
284
|
-
"limit": "
|
|
300
|
+
"limit": "690 B"
|
|
285
301
|
},
|
|
286
302
|
{
|
|
287
303
|
"name": "overrides (sob demanda)",
|
|
@@ -313,7 +329,7 @@
|
|
|
313
329
|
"./channel-*",
|
|
314
330
|
"./hydrate-*"
|
|
315
331
|
],
|
|
316
|
-
"limit": "5.
|
|
332
|
+
"limit": "5.53 kB"
|
|
317
333
|
},
|
|
318
334
|
{
|
|
319
335
|
"name": "host mínimo + store + persist + syncTabs",
|
|
@@ -332,7 +348,7 @@
|
|
|
332
348
|
"./channel-*",
|
|
333
349
|
"./hydrate-*"
|
|
334
350
|
],
|
|
335
|
-
"limit": "5.
|
|
351
|
+
"limit": "5.76 kB"
|
|
336
352
|
},
|
|
337
353
|
{
|
|
338
354
|
"name": "reframe: JS em iframe oculto, DOM no Shadow DOM (sob demanda, além do núcleo e do Shadow DOM)",
|
|
@@ -378,7 +394,7 @@
|
|
|
378
394
|
"./channel-*",
|
|
379
395
|
"./hydrate-*"
|
|
380
396
|
],
|
|
381
|
-
"limit": "6.
|
|
397
|
+
"limit": "6.27 kB"
|
|
382
398
|
},
|
|
383
399
|
{
|
|
384
400
|
"name": "vue",
|
|
@@ -417,7 +433,7 @@
|
|
|
417
433
|
"./channel-*",
|
|
418
434
|
"./hydrate-*"
|
|
419
435
|
],
|
|
420
|
-
"limit": "6.
|
|
436
|
+
"limit": "6.49 kB"
|
|
421
437
|
},
|
|
422
438
|
{
|
|
423
439
|
"name": "devtools",
|
|
@@ -428,7 +444,7 @@
|
|
|
428
444
|
{
|
|
429
445
|
"name": "auto",
|
|
430
446
|
"path": "dist/auto.js",
|
|
431
|
-
"limit": "6.
|
|
447
|
+
"limit": "6.67 kB",
|
|
432
448
|
"ignore": [
|
|
433
449
|
"./shadow-*",
|
|
434
450
|
"./reframe-*",
|
|
@@ -447,7 +463,7 @@
|
|
|
447
463
|
"name": "routes",
|
|
448
464
|
"path": "dist/routes.js",
|
|
449
465
|
"import": "{ routes }",
|
|
450
|
-
"limit": "9.
|
|
466
|
+
"limit": "9.59 kB",
|
|
451
467
|
"ignore": [
|
|
452
468
|
"./overrides-*",
|
|
453
469
|
"./stale-*",
|
|
@@ -472,7 +488,7 @@
|
|
|
472
488
|
"name": "prefetch",
|
|
473
489
|
"path": "dist/prefetch.js",
|
|
474
490
|
"import": "{ prefetch }",
|
|
475
|
-
"limit": "3.
|
|
491
|
+
"limit": "3.28 kB",
|
|
476
492
|
"ignore": [
|
|
477
493
|
"./shadow-*",
|
|
478
494
|
"./overrides-*",
|
|
@@ -501,7 +517,7 @@
|
|
|
501
517
|
{
|
|
502
518
|
"name": "embed (loader de sites de terceiros, arquivo único com Shadow DOM, SRI e canal)",
|
|
503
519
|
"path": "dist/embed.js",
|
|
504
|
-
"limit": "12.
|
|
520
|
+
"limit": "12.59 kB"
|
|
505
521
|
},
|
|
506
522
|
{
|
|
507
523
|
"name": "vitals (Web Vitals por remote)",
|