@endge/ui-vue 2.2.0-dev.20 → 2.3.0-dev.21

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/main.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './reactive/use-subscribable-ref';
8
8
  export * from './reactive/use-ui';
9
9
  export * from './services/debug/vue-console';
10
10
  export * from './services/modules/vue-module';
11
+ export * from './services/modules/vue-module-catalog-loader';
11
12
  export * from './services/render/register-vue-ui-renderer';
12
13
  export * from './services/render/sfc/native-vue-sfc-adapter';
13
14
  export * from './services/render/sfc/sfc-vue-render.type';
@@ -1,6 +1,8 @@
1
- import { EndgeContextStateTransform, EndgeFederationContext, EndgePlugin, EndgeModule } from '@endge/core';
1
+ import { EndgeContextStateTransform, EndgeFederationContext, EndgePlugin, EndgeSFCRendererTag, EndgeModule } from '@endge/core';
2
2
  import { Ref } from 'vue';
3
+ import { SFCVueRenderAdapter, SFCVueRenderFunction } from '../services/render/sfc/sfc-vue-render.type';
3
4
  export declare class EndgeVue_Module extends EndgeModule {
5
+ private readonly _adapter;
4
6
  readonly debuggerCompatible = true;
5
7
  private _started;
6
8
  private _adapterFallbackIds;
@@ -10,6 +12,7 @@ export declare class EndgeVue_Module extends EndgeModule {
10
12
  private _unsubscribeUIRegistry;
11
13
  private _unsubscribeRuntimeScopes;
12
14
  private readonly _styleRuntime;
15
+ constructor(_adapter?: SFCVueRenderAdapter);
13
16
  setup(ctx?: EndgeFederationContext): void;
14
17
  build(): void;
15
18
  private _activateWorkspaceAdapter;
@@ -28,4 +31,8 @@ declare module '@endge/core' {
28
31
  readonly vue: EndgeVue_Module;
29
32
  }
30
33
  }
31
- export declare const EndgeVuePlugin: EndgePlugin;
34
+ export interface EndgeVuePluginOptions {
35
+ defaultRenderers?: Readonly<Partial<Record<EndgeSFCRendererTag, SFCVueRenderFunction>>>;
36
+ }
37
+ export declare function createEndgeVuePlugin(options?: EndgeVuePluginOptions): EndgePlugin;
38
+ export declare const EndgeVuePlugin: EndgePlugin<import('@endge/core').EndgeModuleDefinitions, import('@endge/core').EndgeChildFederationDefinitions>;
@@ -0,0 +1,10 @@
1
+ import { ModuleArtifactLoader } from '@endge/core';
2
+ import { VueModuleHost } from './vue-module';
3
+ interface VueModuleCatalogLoaderOptions {
4
+ backendURL: string;
5
+ host: () => Promise<VueModuleHost>;
6
+ resolveAccessToken?: () => Promise<string | null>;
7
+ }
8
+ /** Loads an exact catalog version with the host's session and shared dependencies. */
9
+ export declare function createVueModuleCatalogLoader(options: VueModuleCatalogLoaderOptions): ModuleArtifactLoader;
10
+ export {};
@@ -1,3 +1,3 @@
1
1
  import { SFCVueRenderAdapter } from './sfc-vue-render.type';
2
- export declare const NATIVE_VUE_SFC_ADAPTER_ID = "vue-native";
2
+ export declare const NATIVE_VUE_SFC_ADAPTER_ID = "vue";
3
3
  export declare const NativeVueSFCAdapter: SFCVueRenderAdapter;
@@ -199,10 +199,10 @@ declare var __VLS_1: {
199
199
  _removeDerived: (handle: import('@raphy-js/raph').RaphDerivedHandle<any, any>) => void;
200
200
  };
201
201
  readonly meta: {
202
+ set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
202
203
  delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
203
204
  get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
204
205
  has: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
205
- set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
206
206
  merge: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
207
207
  };
208
208
  getDerivedSnapshot: () => ReturnType<import('@raphy-js/raph').RaphKernel["getDerivedSnapshot"]>;
@@ -1165,10 +1165,10 @@ declare var __VLS_1: {
1165
1165
  _removeDerived: (handle: import('@raphy-js/raph').RaphDerivedHandle<any, any>) => void;
1166
1166
  };
1167
1167
  readonly meta: {
1168
+ set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
1168
1169
  delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
1169
1170
  get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
1170
1171
  has: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
1171
- set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
1172
1172
  merge: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
1173
1173
  };
1174
1174
  getDerivedSnapshot: () => ReturnType<import('@raphy-js/raph').RaphKernel["getDerivedSnapshot"]>;