@vipl520/dk-ui 1.0.63 → 1.0.64
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +12 -1
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +1 -1
- package/dist/index.min.mjs +4 -4
- package/dist/index.min.mjs.map +1 -1
- package/dist/index.mjs +12 -1
- package/dist/web-types.json +1 -1
- package/es/form/src/form.vue2.mjs +12 -1
- package/es/form/src/form.vue2.mjs.map +1 -1
- package/es/page-diy/style/dk-page-diy.scss +4 -8
- package/lib/form/src/form.vue2.js +12 -1
- package/lib/form/src/form.vue2.js.map +1 -1
- package/lib/page-diy/style/dk-page-diy.scss +4 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2497,6 +2497,16 @@
|
|
2497
2497
|
}
|
2498
2498
|
return {};
|
2499
2499
|
});
|
2500
|
+
const draggable = vue.computed(() => {
|
2501
|
+
let draggable2 = false;
|
2502
|
+
if (props.dialog?.draggable) {
|
2503
|
+
draggable2 = props.dialog?.draggable;
|
2504
|
+
}
|
2505
|
+
if (_formData.value?.config?.draggable !== void 0) {
|
2506
|
+
draggable2 = _formData.value?.config?.draggable;
|
2507
|
+
}
|
2508
|
+
return draggable2;
|
2509
|
+
});
|
2500
2510
|
const isFullscreen = vue.computed(() => {
|
2501
2511
|
let defaultFullscreen = false;
|
2502
2512
|
const autoFullscreen = _formData.value?.config?.autoFullscreen !== false;
|
@@ -2606,6 +2616,7 @@
|
|
2606
2616
|
"min-height": "200px"
|
2607
2617
|
}, dialogProps.value, {
|
2608
2618
|
"max-height": "auto",
|
2619
|
+
draggable: draggable.value,
|
2609
2620
|
"append-to-body": ""
|
2610
2621
|
}), {
|
2611
2622
|
default: vue.withCtx(() => [
|
@@ -2657,7 +2668,7 @@
|
|
2657
2668
|
]),
|
2658
2669
|
_: 3
|
2659
2670
|
/* FORWARDED */
|
2660
|
-
}, 16, ["modelValue", "title", "width", "default-fullscreen"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
|
2671
|
+
}, 16, ["modelValue", "title", "width", "default-fullscreen", "draggable"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
|
2661
2672
|
vue.createElementVNode(
|
2662
2673
|
"div",
|
2663
2674
|
{
|