@sepveneto/dnde 0.5.2 → 0.5.4
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 -4
- package/dist/editor.js +31 -12
- package/package.json +2 -2
package/dist/editor.js
CHANGED
|
@@ -106161,6 +106161,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
106161
106161
|
const _component_ElInput = resolveComponent("ElInput");
|
|
106162
106162
|
const _component_ElOption = resolveComponent("ElOption");
|
|
106163
106163
|
const _component_ElSelect = resolveComponent("ElSelect");
|
|
106164
|
+
const _component_ElRadio = resolveComponent("ElRadio");
|
|
106165
|
+
const _component_ElRadioButton = resolveComponent("ElRadioButton");
|
|
106166
|
+
const _component_ElRadioGroup = resolveComponent("ElRadioGroup");
|
|
106164
106167
|
const _component_ElInputNumber = resolveComponent("ElInputNumber");
|
|
106165
106168
|
const _component_ElSwitch = resolveComponent("ElSwitch");
|
|
106166
106169
|
const _component_ElDatePicker = resolveComponent("ElDatePicker");
|
|
@@ -106180,33 +106183,49 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
106180
106183
|
}), 128))
|
|
106181
106184
|
]),
|
|
106182
106185
|
_: 1
|
|
106183
|
-
}, 16, ["modelValue", "append-to"])) : _ctx.config.type === "
|
|
106186
|
+
}, 16, ["modelValue", "append-to"])) : _ctx.config.type === "radio" || _ctx.config.type === "radioButton" ? (openBlock(), createBlock(_component_ElRadioGroup, mergeProps({
|
|
106184
106187
|
key: 2,
|
|
106185
106188
|
modelValue: model.value,
|
|
106186
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => model.value = $event)
|
|
106187
|
-
|
|
106188
|
-
|
|
106189
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => model.value = $event)
|
|
106190
|
+
}, _ctx.config.attrs), {
|
|
106191
|
+
default: withCtx(() => [
|
|
106192
|
+
_ctx.config.type === "radio" ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.config.options, (item) => {
|
|
106193
|
+
return openBlock(), createBlock(_component_ElRadio, mergeProps({
|
|
106194
|
+
key: String(item.value)
|
|
106195
|
+
}, { ref_for: true }, item), null, 16);
|
|
106196
|
+
}), 128)) : _ctx.config.type === "radioButton" ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.config.options, (item) => {
|
|
106197
|
+
return openBlock(), createBlock(_component_ElRadioButton, mergeProps({
|
|
106198
|
+
key: String(item.value)
|
|
106199
|
+
}, { ref_for: true }, item), null, 16);
|
|
106200
|
+
}), 128)) : createCommentVNode("", true)
|
|
106201
|
+
]),
|
|
106202
|
+
_: 1
|
|
106203
|
+
}, 16, ["modelValue"])) : _ctx.config.type === "number" ? (openBlock(), createBlock(_component_ElInputNumber, mergeProps({
|
|
106189
106204
|
key: 3,
|
|
106190
106205
|
modelValue: model.value,
|
|
106191
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => model.value = $event)
|
|
106192
|
-
|
|
106206
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => model.value = $event),
|
|
106207
|
+
"controls-position": "right"
|
|
106208
|
+
}, _ctx.config.attrs), null, 16, ["modelValue"])) : _ctx.config.type === "styleNumber" ? (openBlock(), createBlock(_sfc_main$9, {
|
|
106193
106209
|
key: 4,
|
|
106194
106210
|
modelValue: model.value,
|
|
106195
106211
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => model.value = $event)
|
|
106196
|
-
},
|
|
106212
|
+
}, null, 8, ["modelValue"])) : _ctx.config.type === "switch" ? (openBlock(), createBlock(_component_ElSwitch, mergeProps({
|
|
106197
106213
|
key: 5,
|
|
106198
106214
|
modelValue: model.value,
|
|
106199
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => model.value = $event)
|
|
106200
|
-
|
|
106201
|
-
}, _ctx.config.attrs), null, 16, ["modelValue", "append-to"])) : _ctx.config.type === "colorPicker" ? (openBlock(), createBlock(_sfc_main$a, mergeProps({
|
|
106215
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => model.value = $event)
|
|
106216
|
+
}, _ctx.config.attrs), null, 16, ["modelValue"])) : _ctx.config.type === "datetimePicker" ? (openBlock(), createBlock(_component_ElDatePicker, mergeProps({
|
|
106202
106217
|
key: 6,
|
|
106203
106218
|
modelValue: model.value,
|
|
106204
106219
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => model.value = $event),
|
|
106205
106220
|
"append-to": appendTo.value
|
|
106206
|
-
}, _ctx.config.attrs), null, 16, ["modelValue", "append-to"])) : (openBlock(), createBlock(
|
|
106221
|
+
}, _ctx.config.attrs), null, 16, ["modelValue", "append-to"])) : _ctx.config.type === "colorPicker" ? (openBlock(), createBlock(_sfc_main$a, mergeProps({
|
|
106207
106222
|
key: 7,
|
|
106208
106223
|
modelValue: model.value,
|
|
106209
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => model.value = $event)
|
|
106224
|
+
"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
|
+
key: 8,
|
|
106227
|
+
modelValue: model.value,
|
|
106228
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => model.value = $event),
|
|
106210
106229
|
config: model.value,
|
|
106211
106230
|
type: _ctx.config.type
|
|
106212
106231
|
}, _ctx.config.attrs), null, 16, ["modelValue", "config", "type"]));
|
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.4",
|
|
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.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^22.15.23",
|