mrxy-yk 1.7.5 → 1.7.7

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.
@@ -14,6 +14,7 @@ type __VLS_Props = {
14
14
  closeOnClickModal?: boolean;
15
15
  dialogCenter?: boolean;
16
16
  showClose?: boolean;
17
+ draggable?: boolean;
17
18
  };
18
19
  declare var __VLS_18: {}, __VLS_21: {};
19
20
  type __VLS_Slots = {} & {
@@ -24,6 +25,7 @@ type __VLS_Slots = {} & {
24
25
  declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
26
  modal: boolean;
26
27
  appendToBody: boolean;
28
+ draggable: boolean;
27
29
  fullscreen: boolean;
28
30
  showClose: boolean;
29
31
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -33,6 +33,10 @@ var FormDialog_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
33
33
  showClose: {
34
34
  type: Boolean,
35
35
  default: true
36
+ },
37
+ draggable: {
38
+ type: Boolean,
39
+ default: false
36
40
  }
37
41
  },
38
42
  setup(__props) {
@@ -99,6 +103,7 @@ var FormDialog_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
99
103
  modal: props.modal,
100
104
  center: props.dialogCenter,
101
105
  "show-close": props.showClose,
106
+ draggable: props.draggable,
102
107
  onClose: _cache[3] || (_cache[3] = ($event) => unref(hook).close())
103
108
  }, {
104
109
  footer: withCtx(() => [renderSlot(_ctx.$slots, "footer", {}, () => [createElementVNode("div", _hoisted_1, [createVNode(_component_el_button, {
@@ -144,7 +149,8 @@ var FormDialog_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
144
149
  "close-on-click-modal",
145
150
  "modal",
146
151
  "center",
147
- "show-close"
152
+ "show-close",
153
+ "draggable"
148
154
  ]);
149
155
  };
150
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrxy-yk",
3
- "version": "1.7.5",
3
+ "version": "1.7.7",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A collection of Vue 3 components and utilities",
package/web-types.json CHANGED
@@ -754,6 +754,13 @@
754
754
  "boolean"
755
755
  ],
756
756
  "description": "Dialog右上角是否显示关闭按钮,缺省值为true"
757
+ },
758
+ {
759
+ "name": "draggable",
760
+ "type": [
761
+ "boolean"
762
+ ],
763
+ "description": "el-dialog的draggable,是否可以拖动 Dialog"
757
764
  }
758
765
  ],
759
766
  "slots": [