@sepveneto/dnde 0.5.14 → 0.5.16

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.
@@ -3,6 +3,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3
3
  readonly type: StringConstructor;
4
4
  readonly required: true;
5
5
  };
6
+ readonly name: {
7
+ readonly type: StringConstructor;
8
+ readonly default: "widgets";
9
+ };
6
10
  readonly widgets: {
7
11
  readonly type: import("vue").PropType<import("./store").LikeWidget[]>;
8
12
  readonly default: () => never[];
@@ -18,6 +22,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
18
22
  readonly type: StringConstructor;
19
23
  readonly required: true;
20
24
  };
25
+ readonly name: {
26
+ readonly type: StringConstructor;
27
+ readonly default: "widgets";
28
+ };
21
29
  readonly widgets: {
22
30
  readonly type: import("vue").PropType<import("./store").LikeWidget[]>;
23
31
  readonly default: () => never[];
@@ -27,6 +35,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
27
35
  readonly default: () => {};
28
36
  };
29
37
  }>> & Readonly<{}>, {
38
+ readonly name: string;
30
39
  readonly widgets: import("./store").LikeWidget[];
31
40
  readonly extra: Record<string, any>;
32
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -107,6 +107,10 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
107
107
  readonly type: StringConstructor;
108
108
  readonly required: true;
109
109
  };
110
+ readonly name: {
111
+ readonly type: StringConstructor;
112
+ readonly default: "widgets";
113
+ };
110
114
  readonly widgets: {
111
115
  readonly type: Vue.PropType<import("./store").LikeWidget[]>;
112
116
  readonly default: () => never[];
@@ -132,6 +136,10 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
132
136
  readonly type: StringConstructor;
133
137
  readonly required: true;
134
138
  };
139
+ readonly name: {
140
+ readonly type: StringConstructor;
141
+ readonly default: "widgets";
142
+ };
135
143
  readonly widgets: {
136
144
  readonly type: Vue.PropType<import("./store").LikeWidget[]>;
137
145
  readonly default: () => never[];
@@ -143,6 +151,7 @@ declare const _default: Vue.DefineComponent<Vue.ExtractPropTypes<{
143
151
  }>> & Readonly<{
144
152
  onChange?: ((...args: any[]) => any) | undefined;
145
153
  }>, {
154
+ readonly name: string;
146
155
  readonly widgets: import("./store").LikeWidget[];
147
156
  readonly extra: Record<string, any>;
148
157
  }, {}, {}, {}, string, Vue.ComponentProvideOptions, true, {}, any>;
package/dist/editor.js CHANGED
@@ -107305,6 +107305,10 @@ const editorProps = {
107305
107305
  type: String,
107306
107306
  required: true
107307
107307
  },
107308
+ name: {
107309
+ type: String,
107310
+ default: "widgets"
107311
+ },
107308
107312
  widgets: {
107309
107313
  type: Array,
107310
107314
  default: () => []
@@ -107336,6 +107340,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
107336
107340
  onMounted(() => {
107337
107341
  editor.elementRoot = refRoot.value;
107338
107342
  });
107343
+ onUnmounted(() => {
107344
+ Object.keys(window.__GLOBAL_LOADING_REMOTE_ENTRY__).forEach((key) => {
107345
+ delete window.__GLOBAL_LOADING_REMOTE_ENTRY__[key];
107346
+ });
107347
+ delete window[props.name];
107348
+ });
107339
107349
  provide(editorContextKey, {
107340
107350
  node: editor.selectedNode,
107341
107351
  plugins: editor.plugins,
package/dist/main.d.ts CHANGED
@@ -4,6 +4,10 @@ export declare const Editor: import("vue").VueElementConstructor<import("vue").E
4
4
  readonly type: StringConstructor;
5
5
  readonly required: true;
6
6
  };
7
+ readonly name: {
8
+ readonly type: StringConstructor;
9
+ readonly default: "widgets";
10
+ };
7
11
  readonly widgets: {
8
12
  readonly type: import("vue").PropType<import("./store/app.js").LikeWidget[]>;
9
13
  readonly default: () => never[];
package/dist/props.d.ts CHANGED
@@ -5,6 +5,10 @@ export declare const editorProps: {
5
5
  readonly type: StringConstructor;
6
6
  readonly required: true;
7
7
  };
8
+ readonly name: {
9
+ readonly type: StringConstructor;
10
+ readonly default: "widgets";
11
+ };
8
12
  readonly widgets: {
9
13
  readonly type: PropType<LikeWidget[]>;
10
14
  readonly default: () => never[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sepveneto/dnde",
3
3
  "type": "module",
4
- "version": "0.5.14",
4
+ "version": "0.5.16",
5
5
  "description": "",
6
6
  "author": "",
7
7
  "license": "GPL",