@sepveneto/dnde 0.5.15 → 0.5.17
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/App.ce.vue.d.ts +9 -0
- package/dist/Editor.vue.d.ts +9 -0
- package/dist/editor.js +49 -20
- package/dist/main.d.ts +4 -0
- package/dist/props.d.ts +4 -0
- package/package.json +1 -1
package/dist/App.ce.vue.d.ts
CHANGED
|
@@ -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>;
|
package/dist/Editor.vue.d.ts
CHANGED
|
@@ -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
|
@@ -106873,6 +106873,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
106873
106873
|
return (_ctx, _cache) => {
|
|
106874
106874
|
const _component_ElBreadcrumbItem = resolveComponent("ElBreadcrumbItem");
|
|
106875
106875
|
const _component_ElBreadcrumb = resolveComponent("ElBreadcrumb");
|
|
106876
|
+
const _component_ElScrollbar = resolveComponent("ElScrollbar");
|
|
106876
106877
|
const _component_ElTabPane = resolveComponent("ElTabPane");
|
|
106877
106878
|
const _component_ElTabs = resolveComponent("ElTabs");
|
|
106878
106879
|
return openBlock(), createElementBlock("div", null, [
|
|
@@ -106902,12 +106903,20 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
106902
106903
|
name: "props"
|
|
106903
106904
|
}, {
|
|
106904
106905
|
default: withCtx(() => [
|
|
106905
|
-
createVNode(
|
|
106906
|
-
|
|
106907
|
-
|
|
106908
|
-
|
|
106909
|
-
|
|
106910
|
-
|
|
106906
|
+
createVNode(_component_ElScrollbar, {
|
|
106907
|
+
height: "700px",
|
|
106908
|
+
"wrap-style": "padding-right: 20px;"
|
|
106909
|
+
}, {
|
|
106910
|
+
default: withCtx(() => [
|
|
106911
|
+
createVNode(_sfc_main$7, {
|
|
106912
|
+
ref: "propRef",
|
|
106913
|
+
modelValue: unref(editor).selectedNode.data,
|
|
106914
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editor).selectedNode.data = $event),
|
|
106915
|
+
list: propSchema.value
|
|
106916
|
+
}, null, 8, ["modelValue", "list"])
|
|
106917
|
+
]),
|
|
106918
|
+
_: 1
|
|
106919
|
+
})
|
|
106911
106920
|
]),
|
|
106912
106921
|
_: 1
|
|
106913
106922
|
}),
|
|
@@ -106917,12 +106926,20 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
106917
106926
|
name: "style"
|
|
106918
106927
|
}, {
|
|
106919
106928
|
default: withCtx(() => [
|
|
106920
|
-
createVNode(
|
|
106921
|
-
|
|
106922
|
-
|
|
106923
|
-
|
|
106924
|
-
|
|
106925
|
-
|
|
106929
|
+
createVNode(_component_ElScrollbar, {
|
|
106930
|
+
height: "700px",
|
|
106931
|
+
"wrap-style": "padding-right: 20px;"
|
|
106932
|
+
}, {
|
|
106933
|
+
default: withCtx(() => [
|
|
106934
|
+
createVNode(_sfc_main$7, {
|
|
106935
|
+
ref: "styleRef",
|
|
106936
|
+
modelValue: unref(editor).selectedNode.style,
|
|
106937
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(editor).selectedNode.style = $event),
|
|
106938
|
+
list: styleSchema.value
|
|
106939
|
+
}, null, 8, ["modelValue", "list"])
|
|
106940
|
+
]),
|
|
106941
|
+
_: 1
|
|
106942
|
+
})
|
|
106926
106943
|
]),
|
|
106927
106944
|
_: 1
|
|
106928
106945
|
})) : createCommentVNode("", true),
|
|
@@ -106933,13 +106950,21 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
106933
106950
|
name: pane.name
|
|
106934
106951
|
}, {
|
|
106935
106952
|
default: withCtx(() => [
|
|
106936
|
-
createVNode(
|
|
106937
|
-
|
|
106938
|
-
|
|
106939
|
-
|
|
106940
|
-
|
|
106941
|
-
|
|
106942
|
-
|
|
106953
|
+
createVNode(_component_ElScrollbar, {
|
|
106954
|
+
height: "700px",
|
|
106955
|
+
"wrap-style": "padding-right: 20px;"
|
|
106956
|
+
}, {
|
|
106957
|
+
default: withCtx(() => [
|
|
106958
|
+
createVNode(_sfc_main$7, {
|
|
106959
|
+
ref_for: true,
|
|
106960
|
+
ref: (ref2) => refPageConfig.value.push({ ref: ref2, name: pane.name }),
|
|
106961
|
+
modelValue: unref(editor).selectedNode.data[pane.name],
|
|
106962
|
+
"onUpdate:modelValue": ($event) => unref(editor).selectedNode.data[pane.name] = $event,
|
|
106963
|
+
list: pane.attributes
|
|
106964
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "list"])
|
|
106965
|
+
]),
|
|
106966
|
+
_: 2
|
|
106967
|
+
}, 1024)
|
|
106943
106968
|
]),
|
|
106944
106969
|
_: 2
|
|
106945
106970
|
}, 1032, ["label", "name"]);
|
|
@@ -107305,6 +107330,10 @@ const editorProps = {
|
|
|
107305
107330
|
type: String,
|
|
107306
107331
|
required: true
|
|
107307
107332
|
},
|
|
107333
|
+
name: {
|
|
107334
|
+
type: String,
|
|
107335
|
+
default: "widgets"
|
|
107336
|
+
},
|
|
107308
107337
|
widgets: {
|
|
107309
107338
|
type: Array,
|
|
107310
107339
|
default: () => []
|
|
@@ -107340,7 +107369,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
107340
107369
|
Object.keys(window.__GLOBAL_LOADING_REMOTE_ENTRY__).forEach((key) => {
|
|
107341
107370
|
delete window.__GLOBAL_LOADING_REMOTE_ENTRY__[key];
|
|
107342
107371
|
});
|
|
107343
|
-
delete window.
|
|
107372
|
+
delete window[props.name];
|
|
107344
107373
|
});
|
|
107345
107374
|
provide(editorContextKey, {
|
|
107346
107375
|
node: editor.selectedNode,
|
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[];
|