@endge/ui-vue 2.1.2-dev.19 → 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 +1 -0
- package/dist/modules/EndgeVue_Module.d.ts +9 -2
- package/dist/services/modules/vue-module-catalog-loader.d.ts +10 -0
- package/dist/services/modules/vue-module.d.ts +1 -0
- package/dist/services/render/sfc/native-vue-sfc-adapter.d.ts +1 -1
- package/dist/ui/render/entities/EndgePage.vue.d.ts +2 -2
- package/dist/ui/render/sfc/SFCRender_Adapter.d.ts +3 -0
- package/dist/vue.js +2499 -2383
- package/package.json +3 -3
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
|
|
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 {};
|
|
@@ -5,6 +5,7 @@ export declare const MODULE_VISUAL_ATTRIBUTE = "data-endge-module-visual";
|
|
|
5
5
|
export declare const VUE_MODULE_RENDERERS = "endge.vue.renderers";
|
|
6
6
|
export declare const VUE_MODULE_TIMELINE_PRESETS = "endge.vue.timeline.presets";
|
|
7
7
|
export declare function registerScopedVueRenderer(context: ScopedModuleContext, tag: SFCVueRenderAdapterKey, renderer: SFCVueRenderFunction): () => void;
|
|
8
|
+
export declare function registerNamedScopedVueRenderer(context: ScopedModuleContext, primitive: SFCVueRenderAdapterKey, id: string, renderer: SFCVueRenderFunction): () => void;
|
|
8
9
|
export declare function registerScopedTimelinePreset(context: ScopedModuleContext, descriptor: TimelinePresetDescriptor, provider: TimelinePresetProvider): () => void;
|
|
9
10
|
export interface VueModuleHost {
|
|
10
11
|
core: typeof import('@endge/core');
|
|
@@ -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"]>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { ModuleReference } from '@endge/core';
|
|
1
2
|
import { SFCVueRenderAdapterKey, SFCVueRenderContext, SFCVueRenderElementInput, SFCVueRenderFunction, SFCVueRenderResult } from '../../../services/render/sfc/sfc-vue-render.type';
|
|
2
3
|
export declare function requireSFCAdapterRenderer(tag: SFCVueRenderAdapterKey): SFCVueRenderFunction;
|
|
3
4
|
export declare function resolveSFCModuleScope(context: SFCVueRenderContext): import('@endge/core').RuntimeScope | null;
|
|
5
|
+
export declare function readWorkspaceRendererReferences(): Partial<Record<"Text" | "DateTime" | "Number" | "Icon" | "Badge" | "Dot" | "Box" | "Flex" | "Grid" | "Divider" | "Input" | "Textarea" | "Checkbox" | "Select" | "Tooltip" | "Table" | "TimelineChart" | "TimelineGroup", import('@endge/core').ModuleRendererReference>> | undefined;
|
|
6
|
+
export declare function workspaceRendererAttachment(reference: ModuleReference): string;
|
|
4
7
|
export declare function renderWithSFCAdapter(tag: SFCVueRenderAdapterKey, input: SFCVueRenderElementInput): SFCVueRenderResult;
|