@sepveneto/dnde 0.7.0-beta.3 → 0.7.0-beta.6

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.
@@ -1,8 +1,4 @@
1
1
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- readonly remoteUrl: {
3
- readonly type: StringConstructor;
4
- readonly required: true;
5
- };
6
2
  readonly name: {
7
3
  readonly type: StringConstructor;
8
4
  readonly default: "widgets";
@@ -18,10 +14,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
18
14
  }>, {
19
15
  validate(): Promise<void> | undefined;
20
16
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
- readonly remoteUrl: {
22
- readonly type: StringConstructor;
23
- readonly required: true;
24
- };
25
17
  readonly name: {
26
18
  readonly type: StringConstructor;
27
19
  readonly default: "widgets";
@@ -103,10 +103,6 @@ declare const editor: import("pinia").Store<"editor", Pick<{
103
103
  setSchema: (schema: import("@sepveneto/dnde-core").IWidget["schema"]) => void;
104
104
  }, "selectNode" | "addNode" | "delNode" | "getData" | "setData" | "setSchema">>;
105
105
  declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
106
- readonly remoteUrl: {
107
- readonly type: StringConstructor;
108
- readonly required: true;
109
- };
110
106
  readonly name: {
111
107
  readonly type: StringConstructor;
112
108
  readonly default: "widgets";
@@ -132,10 +128,6 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
132
128
  }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {
133
129
  change: (...args: any[]) => void;
134
130
  }, string, Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
135
- readonly remoteUrl: {
136
- readonly type: StringConstructor;
137
- readonly required: true;
138
- };
139
131
  readonly name: {
140
132
  readonly type: StringConstructor;
141
133
  readonly default: "widgets";
@@ -1,21 +1,5 @@
1
1
  import Main from './Editor.vue';
2
- export declare const Editor: import("vue").VueElementConstructor<import("vue").ExtractPropTypes<{
3
- readonly remoteUrl: {
4
- readonly type: StringConstructor;
5
- readonly required: true;
6
- };
7
- readonly name: {
8
- readonly type: StringConstructor;
9
- readonly default: "widgets";
10
- };
11
- readonly widgets: {
12
- readonly type: import("vue").PropType<import("./store/app.js").LikeWidget[]>;
13
- readonly default: () => never[];
14
- };
15
- readonly extra: {
16
- readonly type: import("vue").PropType<Record<string, any>>;
17
- readonly default: () => {};
18
- };
19
- }>>;
20
2
  export type EditorInstance = InstanceType<typeof Main>;
21
- export declare function register(): void;
3
+ export declare function register(options: {
4
+ remoteUrl: string;
5
+ }): Promise<boolean | undefined>;
@@ -1,10 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { LikeWidget } from './store';
3
3
  export declare const editorProps: {
4
- readonly remoteUrl: {
5
- readonly type: StringConstructor;
6
- readonly required: true;
7
- };
8
4
  readonly name: {
9
5
  readonly type: StringConstructor;
10
6
  readonly default: "widgets";
@@ -1,7 +1,8 @@
1
+ import type { ModuleFederation } from '@module-federation/enhanced/runtime';
1
2
  import type { AppContext, CSSProperties, InjectionKey, Ref, VNode } from 'vue';
2
3
  import debug from 'debug';
3
4
  import * as Vue from 'vue';
4
- export declare function initMf(url: string): void;
5
+ export declare function initMf(url: string): ModuleFederation;
5
6
  export declare function loadFromRemote(scope: string, module: string): new () => Vue.ComponentPublicInstance;
6
7
  type RemovePopperFn = (() => void) & {
7
8
  trigger?: HTMLElement;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sepveneto/dnde",
3
3
  "type": "module",
4
- "version": "0.7.0-beta.3",
4
+ "version": "0.7.0-beta.6",
5
5
  "description": "",
6
6
  "author": "",
7
7
  "license": "GPL",