@sepveneto/dnde 0.5.4 → 0.5.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.
- package/dist/components/ConfigRender.vue.d.ts +1 -2
- package/dist/editor.js +26 -25
- package/package.json +2 -2
package/dist/editor.js
CHANGED
|
@@ -80048,7 +80048,7 @@ const dialogEmits = {
|
|
|
80048
80048
|
submit: () => true
|
|
80049
80049
|
};
|
|
80050
80050
|
|
|
80051
|
-
const _hoisted_1$
|
|
80051
|
+
const _hoisted_1$e = { class: "bc-dialog-header" };
|
|
80052
80052
|
const _hoisted_2$7 = {
|
|
80053
80053
|
key: 2,
|
|
80054
80054
|
class: "text"
|
|
@@ -80129,7 +80129,7 @@ var _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
80129
80129
|
fullscreen: fullscreen.value
|
|
80130
80130
|
}, _ctx.$attrs, { "onUpdate:modelValue": close }), createSlots({
|
|
80131
80131
|
header: withCtx(() => [
|
|
80132
|
-
createBaseVNode("header", _hoisted_1$
|
|
80132
|
+
createBaseVNode("header", _hoisted_1$e, [
|
|
80133
80133
|
hasHeader.value ? renderSlot(_ctx.$slots, "header", { key: 0 }) : hasTitle.value ? renderSlot(_ctx.$slots, "title", { key: 1 }) : (openBlock(), createElementBlock("span", _hoisted_2$7, toDisplayString(unref(rawAttrs).title), 1)),
|
|
80134
80134
|
_ctx.needFullscreen ? (openBlock(), createBlock(unref(ElIcon), {
|
|
80135
80135
|
key: 3,
|
|
@@ -80544,7 +80544,7 @@ var _sfc_main$n = defineComponent({
|
|
|
80544
80544
|
}
|
|
80545
80545
|
});
|
|
80546
80546
|
|
|
80547
|
-
const _hoisted_1$
|
|
80547
|
+
const _hoisted_1$d = { class: "text-center" };
|
|
80548
80548
|
const _hoisted_2$6 = /* @__PURE__ */ createBaseVNode(
|
|
80549
80549
|
"span",
|
|
80550
80550
|
null,
|
|
@@ -80605,7 +80605,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
80605
80605
|
closable: false
|
|
80606
80606
|
}, {
|
|
80607
80607
|
default: withCtx(() => [
|
|
80608
|
-
createBaseVNode("div", _hoisted_1$
|
|
80608
|
+
createBaseVNode("div", _hoisted_1$d, [
|
|
80609
80609
|
_hoisted_2$6,
|
|
80610
80610
|
_hoisted_3$4,
|
|
80611
80611
|
createVNode(_component_el_link, {
|
|
@@ -81060,7 +81060,7 @@ var _sfc_main$m = defineComponent({
|
|
|
81060
81060
|
}
|
|
81061
81061
|
});
|
|
81062
81062
|
|
|
81063
|
-
const _hoisted_1$
|
|
81063
|
+
const _hoisted_1$c = { key: 1 };
|
|
81064
81064
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
81065
81065
|
const _component_ElOption = resolveComponent("ElOption");
|
|
81066
81066
|
const _component_ElOptionGroup = resolveComponent("ElOptionGroup");
|
|
@@ -81136,7 +81136,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81136
81136
|
/* FORWARDED */
|
|
81137
81137
|
}, 16, ["model-value", "style", "onUpdate:modelValue", "onChange"])) : (openBlock(), createElementBlock(
|
|
81138
81138
|
"span",
|
|
81139
|
-
_hoisted_1$
|
|
81139
|
+
_hoisted_1$c,
|
|
81140
81140
|
toDisplayString(_ctx.displayText),
|
|
81141
81141
|
1
|
|
81142
81142
|
/* TEXT */
|
|
@@ -81191,7 +81191,7 @@ var _sfc_main$l = defineComponent({
|
|
|
81191
81191
|
}
|
|
81192
81192
|
});
|
|
81193
81193
|
|
|
81194
|
-
const _hoisted_1$
|
|
81194
|
+
const _hoisted_1$b = ["xlink:href"];
|
|
81195
81195
|
const _hoisted_2$5 = {
|
|
81196
81196
|
key: 2,
|
|
81197
81197
|
class: "placeholder"
|
|
@@ -81219,7 +81219,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
81219
81219
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
|
|
81220
81220
|
},
|
|
81221
81221
|
[
|
|
81222
|
-
createBaseVNode("use", { "xlink:href": _ctx.iconName }, null, 8, _hoisted_1$
|
|
81222
|
+
createBaseVNode("use", { "xlink:href": _ctx.iconName }, null, 8, _hoisted_1$b)
|
|
81223
81223
|
],
|
|
81224
81224
|
6
|
|
81225
81225
|
/* CLASS, STYLE */
|
|
@@ -82059,9 +82059,9 @@ var _sfc_main$j = defineComponent({
|
|
|
82059
82059
|
}
|
|
82060
82060
|
});
|
|
82061
82061
|
|
|
82062
|
-
const _hoisted_1$
|
|
82062
|
+
const _hoisted_1$a = { class: "bc-status" };
|
|
82063
82063
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
82064
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
82064
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
82065
82065
|
createBaseVNode(
|
|
82066
82066
|
"i",
|
|
82067
82067
|
{
|
|
@@ -105707,7 +105707,7 @@ const NodeContainer = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["styles", [_sty
|
|
|
105707
105707
|
|
|
105708
105708
|
const _sfc_main$f = { };
|
|
105709
105709
|
|
|
105710
|
-
const _hoisted_1$
|
|
105710
|
+
const _hoisted_1$9 = {
|
|
105711
105711
|
t: "1757062107207",
|
|
105712
105712
|
class: "icon",
|
|
105713
105713
|
viewBox: "0 0 1024 1024",
|
|
@@ -105719,7 +105719,7 @@ const _hoisted_1$8 = {
|
|
|
105719
105719
|
};
|
|
105720
105720
|
|
|
105721
105721
|
function _sfc_render$2(_ctx, _cache) {
|
|
105722
|
-
return (openBlock(), createElementBlock("svg", _hoisted_1$
|
|
105722
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$9, _cache[0] || (_cache[0] = [
|
|
105723
105723
|
createBaseVNode("path", {
|
|
105724
105724
|
d: "M880 112H144c-17.673 0-32 14.327-32 32v736c0 17.673 14.327 32 32 32h736c17.673 0 32-14.327 32-32V144c0-17.673-14.327-32-32-32z m-40 728H184V184h656v656z",
|
|
105725
105725
|
fill: "currentColor",
|
|
@@ -105736,7 +105736,7 @@ const IconContainer = /*#__PURE__*/_export_sfc(_sfc_main$f, [['render',_sfc_rend
|
|
|
105736
105736
|
|
|
105737
105737
|
const _sfc_main$e = { };
|
|
105738
105738
|
|
|
105739
|
-
const _hoisted_1$
|
|
105739
|
+
const _hoisted_1$8 = {
|
|
105740
105740
|
t: "1757063306324",
|
|
105741
105741
|
class: "icon",
|
|
105742
105742
|
viewBox: "0 0 1024 1024",
|
|
@@ -105748,7 +105748,7 @@ const _hoisted_1$7 = {
|
|
|
105748
105748
|
};
|
|
105749
105749
|
|
|
105750
105750
|
function _sfc_render$1(_ctx, _cache) {
|
|
105751
|
-
return (openBlock(), createElementBlock("svg", _hoisted_1$
|
|
105751
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$8, _cache[0] || (_cache[0] = [
|
|
105752
105752
|
createBaseVNode("path", {
|
|
105753
105753
|
fill: "currentColor",
|
|
105754
105754
|
d: "M403.23 54.021c-87.118 1.413-157.305 72.474-157.305 159.929v10.65H86c-17.673 0-32 14.327-32 32v255.9c0 17.673 14.327 32 32 32h85.3c52.992 0 95.95 42.958 95.95 95.95 0 52.992-42.958 95.95-95.95 95.95H86c-17.673 0-32 14.327-32 32V939c0 17.673 14.327 32 32 32h640.28c17.428-0.287 31.47-14.504 31.47-32V800.4h53.3c88.338 0 159.95-71.612 159.95-159.95l-0.021-2.645C969.566 550.687 898.504 480.5 811.05 480.5h-53.3V256.6l-0.004-0.53c-0.283-17.428-14.5-31.47-31.996-31.47H565.825v-10.65c0-88.338-71.612-159.95-159.95-159.95l-2.645 0.021zM405.875 118c52.992 0 95.95 42.958 95.95 95.95v42.65l0.004 0.53c0.283 17.428 14.5 31.47 31.996 31.47H693.75v223.9c0 17.673 14.327 32 32 32h85.3c52.992 0 95.95 42.958 95.95 95.95 0 52.992-42.958 95.95-95.95 95.95h-85.3l-0.53 0.004c-17.428 0.283-31.47 14.5-31.47 31.996V907H118V800.4h53.3c88.338 0 159.95-71.612 159.95-159.95l-0.021-2.645C329.816 550.687 258.754 480.5 171.3 480.5H118V288.6h159.925c17.673 0 32-14.327 32-32v-42.65c0-52.992 42.958-95.95 95.95-95.95z",
|
|
@@ -105810,7 +105810,7 @@ const _style_0$6 = ".node-helper[data-v-a86e1037] {\n cursor: pointer;\n}";
|
|
|
105810
105810
|
|
|
105811
105811
|
const NodePlugin = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["styles", [_style_0$6]], ["__scopeId", "data-v-a86e1037"]]);
|
|
105812
105812
|
|
|
105813
|
-
const _hoisted_1$
|
|
105813
|
+
const _hoisted_1$7 = { class: "mpd-p-1 mpd-box-border mpd-h-full mpd-text-xs mpd-bg-primary mpd-mr-1 mpd-rounded-sm" };
|
|
105814
105814
|
const _hoisted_2$4 = {
|
|
105815
105815
|
class: "mpd-flex mpd-items-center",
|
|
105816
105816
|
style: { "color": "#fff" }
|
|
@@ -105836,7 +105836,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
105836
105836
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
105837
105837
|
}, ["stop"]))
|
|
105838
105838
|
}, [
|
|
105839
|
-
createBaseVNode("div", _hoisted_1$
|
|
105839
|
+
createBaseVNode("div", _hoisted_1$7, [
|
|
105840
105840
|
createVNode(_component_ElDropdown, {
|
|
105841
105841
|
teleported: false,
|
|
105842
105842
|
persistent: false,
|
|
@@ -105884,7 +105884,7 @@ const _style_0$5 = ".node-operate[data-v-d8fd7781] {\n display: flex;\n -moz-c
|
|
|
105884
105884
|
|
|
105885
105885
|
const NodeOperate = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["styles", [_style_0$5]], ["__scopeId", "data-v-d8fd7781"]]);
|
|
105886
105886
|
|
|
105887
|
-
const _hoisted_1$
|
|
105887
|
+
const _hoisted_1$6 = ["data-id"];
|
|
105888
105888
|
const _hoisted_2$3 = ["data-name"];
|
|
105889
105889
|
const _hoisted_3$1 = {
|
|
105890
105890
|
key: 1,
|
|
@@ -105940,7 +105940,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
105940
105940
|
_: 1
|
|
105941
105941
|
})
|
|
105942
105942
|
])) : createCommentVNode("", true)
|
|
105943
|
-
], 12, _hoisted_1$
|
|
105943
|
+
], 12, _hoisted_1$6);
|
|
105944
105944
|
};
|
|
105945
105945
|
}
|
|
105946
105946
|
});
|
|
@@ -105949,7 +105949,7 @@ const _style_0$4 = ".node-wrap[data-v-744d25bf] {\n position: relative;\n widt
|
|
|
105949
105949
|
|
|
105950
105950
|
const NodeWrap = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["styles", [_style_0$4]], ["__scopeId", "data-v-744d25bf"]]);
|
|
105951
105951
|
|
|
105952
|
-
const _hoisted_1$
|
|
105952
|
+
const _hoisted_1$5 = {
|
|
105953
105953
|
class: "mpd-color-picker",
|
|
105954
105954
|
style: { "width": "200px" }
|
|
105955
105955
|
};
|
|
@@ -106050,7 +106050,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
106050
106050
|
}, 8, ["modelValue"])
|
|
106051
106051
|
]),
|
|
106052
106052
|
default: withCtx(() => [
|
|
106053
|
-
createBaseVNode("div", _hoisted_1$
|
|
106053
|
+
createBaseVNode("div", _hoisted_1$5, [
|
|
106054
106054
|
createBaseVNode("div", _hoisted_2$2, [
|
|
106055
106055
|
createBaseVNode("span", {
|
|
106056
106056
|
class: normalizeClass(["mpd-color-picker__color", [_ctx.showAlpha && "mpd-color-picker__alpha"]])
|
|
@@ -106138,6 +106138,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
106138
106138
|
}
|
|
106139
106139
|
});
|
|
106140
106140
|
|
|
106141
|
+
const _hoisted_1$4 = { key: 9 };
|
|
106141
106142
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
106142
106143
|
__name: "ConfigRender",
|
|
106143
106144
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -106222,13 +106223,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
106222
106223
|
key: 7,
|
|
106223
106224
|
modelValue: model.value,
|
|
106224
106225
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => model.value = $event)
|
|
106225
|
-
}, _ctx.config.attrs, { "append-to": appendTo.value }), null, 16, ["modelValue", "append-to"])) : (openBlock(), createBlock(resolveDynamicComponent(unref(configRender)), mergeProps({
|
|
106226
|
+
}, _ctx.config.attrs, { "append-to": appendTo.value }), null, 16, ["modelValue", "append-to"])) : _ctx.config.type === "custom" ? (openBlock(), createBlock(resolveDynamicComponent(unref(configRender)), mergeProps({
|
|
106226
106227
|
key: 8,
|
|
106227
106228
|
modelValue: model.value,
|
|
106228
106229
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => model.value = $event),
|
|
106229
|
-
config:
|
|
106230
|
-
type: _ctx.config.
|
|
106231
|
-
}, _ctx.config.attrs), null, 16, ["modelValue", "config", "type"]));
|
|
106230
|
+
config: _ctx.config,
|
|
106231
|
+
type: _ctx.config.name
|
|
106232
|
+
}, _ctx.config.attrs), null, 16, ["modelValue", "config", "type"])) : (openBlock(), createElementBlock("div", _hoisted_1$4, " unknown type: " + toDisplayString(_ctx.config.type), 1));
|
|
106232
106233
|
};
|
|
106233
106234
|
}
|
|
106234
106235
|
});
|
|
@@ -106300,7 +106301,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
106300
106301
|
createVNode(_sfc_main$8, {
|
|
106301
106302
|
"model-value": getData(form.value, item.key),
|
|
106302
106303
|
stylesheet: "",
|
|
106303
|
-
config:
|
|
106304
|
+
config: form.value,
|
|
106304
106305
|
"onUpdate:modelValue": ($event) => updateData(item.key, $event)
|
|
106305
106306
|
}, null, 8, ["model-value", "config", "onUpdate:modelValue"])
|
|
106306
106307
|
]),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sepveneto/dnde",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.6",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "GPL",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"vue": "^3.5.15",
|
|
47
47
|
"vue-router": "^4.5.1",
|
|
48
48
|
"vuedraggable": "^4.1.0",
|
|
49
|
-
"@sepveneto/dnde-core": "0.4.
|
|
49
|
+
"@sepveneto/dnde-core": "0.4.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^22.15.23",
|