@farris/x-ui 0.4.0 → 0.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/x-ui",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "可复用的 AI 对话组件",
5
5
  "type": "module",
6
6
  "main": "./farris.x-ui.umd.cjs",
@@ -14,6 +14,7 @@ declare const _default: import('../../../vue').DefineComponent<{
14
14
  visible: boolean;
15
15
  zIndex: number;
16
16
  limitContentBySpace: boolean;
17
+ enableDrag: boolean;
17
18
  title?: string | undefined;
18
19
  id?: string | undefined;
19
20
  host?: any;
@@ -37,6 +38,7 @@ declare const _default: import('../../../vue').DefineComponent<{
37
38
  visible: boolean;
38
39
  zIndex: number;
39
40
  limitContentBySpace: boolean;
41
+ enableDrag: boolean;
40
42
  title?: string | undefined;
41
43
  id?: string | undefined;
42
44
  host?: any;
@@ -60,5 +62,6 @@ declare const _default: import('../../../vue').DefineComponent<{
60
62
  visible: boolean;
61
63
  zIndex: number;
62
64
  limitContentBySpace: boolean;
65
+ enableDrag: boolean;
63
66
  }, {}, {}, {}, string, import('../../../vue').ComponentProvideOptions, true, {}, any>;
64
67
  export default _default;
@@ -108,5 +108,12 @@ export declare const popoverProps: {
108
108
  beforeClose: {
109
109
  type: PropType<() => Promise<boolean> | boolean>;
110
110
  };
111
+ /**
112
+ * 启用拖拽友好模式:跳过 mousedown stopPropagation,拖拽过程中不关闭 popover
113
+ */
114
+ enableDrag: {
115
+ type: BooleanConstructor;
116
+ default: boolean;
117
+ };
111
118
  };
112
119
  export type PopoverProps = ExtractPropTypes<typeof popoverProps>;