@juzhenfe/page-model 3.9.46 → 3.9.47
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/form-container/components/dialog-mode/index.vue.d.ts +4 -5
- package/dist/components/form-dialog/index.vue.d.ts +4 -5
- package/dist/components/form-dialog/use-move.d.ts +19 -0
- package/dist/components/search-form/components/search-form-full/index.vue.d.ts +4 -5
- package/dist/components/table/components/simple-popover/index.vue.d.ts +25 -0
- package/dist/components/table/constructor.d.ts +1 -1
- package/dist/components/table/type.d.ts +1 -1
- package/dist/components/table-toolsbox/index.vue.d.ts +5 -2
- package/dist/index.es.js +4125 -7751
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -7
- package/package.json +56 -59
|
@@ -48,15 +48,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
48
48
|
MIN_WIDTH: number;
|
|
49
49
|
MIN_HEIGHT: number;
|
|
50
50
|
props: any;
|
|
51
|
-
|
|
51
|
+
dragElRef: import("vue").Ref<HTMLElement>;
|
|
52
|
+
dialogRef: import("vue").Ref<any>;
|
|
52
53
|
emit: (event: "update:model-value", ...args: any[]) => void;
|
|
53
54
|
BEMSpace: string;
|
|
54
55
|
createBEMName: (name: string) => string;
|
|
55
56
|
onUpdateModelValue: (value: boolean) => void;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
interactable: any;
|
|
59
|
-
initInteract: () => void;
|
|
57
|
+
bind: (bindElement: HTMLElement) => void;
|
|
58
|
+
destroy: () => void;
|
|
60
59
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
60
|
modelValue: {
|
|
62
61
|
type: BooleanConstructor;
|
|
@@ -29,15 +29,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
29
29
|
MIN_WIDTH: number;
|
|
30
30
|
MIN_HEIGHT: number;
|
|
31
31
|
props: any;
|
|
32
|
-
|
|
32
|
+
dragElRef: import("vue").Ref<HTMLElement>;
|
|
33
|
+
dialogRef: import("vue").Ref<any>;
|
|
33
34
|
emit: (event: "update:model-value", ...args: any[]) => void;
|
|
34
35
|
BEMSpace: string;
|
|
35
36
|
createBEMName: (name: string) => string;
|
|
36
37
|
onUpdateModelValue: (value: boolean) => void;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
interactable: any;
|
|
40
|
-
initInteract: () => void;
|
|
38
|
+
bind: (bindElement: HTMLElement) => void;
|
|
39
|
+
destroy: () => void;
|
|
41
40
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
41
|
modelValue: {
|
|
43
42
|
type: BooleanConstructor;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 拖动事件
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* 使用拖动事件
|
|
6
|
+
* @param element 目标元素
|
|
7
|
+
* @param callback
|
|
8
|
+
*/
|
|
9
|
+
declare const useMove: (callback: (event: {
|
|
10
|
+
delta: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
};
|
|
14
|
+
element: HTMLElement;
|
|
15
|
+
}) => void) => {
|
|
16
|
+
destroy: () => void;
|
|
17
|
+
bind: (bindElement: HTMLElement) => void;
|
|
18
|
+
};
|
|
19
|
+
export { useMove };
|
|
@@ -47,15 +47,14 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
47
47
|
MIN_WIDTH: number;
|
|
48
48
|
MIN_HEIGHT: number;
|
|
49
49
|
props: any;
|
|
50
|
-
|
|
50
|
+
dragElRef: import("vue").Ref<HTMLElement>;
|
|
51
|
+
dialogRef: import("vue").Ref<any>;
|
|
51
52
|
emit: (event: "update:model-value", ...args: any[]) => void;
|
|
52
53
|
BEMSpace: string;
|
|
53
54
|
createBEMName: (name: string) => string;
|
|
54
55
|
onUpdateModelValue: (value: boolean) => void;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
interactable: any;
|
|
58
|
-
initInteract: () => void;
|
|
56
|
+
bind: (bindElement: HTMLElement) => void;
|
|
57
|
+
destroy: () => void;
|
|
59
58
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
59
|
modelValue: {
|
|
61
60
|
type: BooleanConstructor;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
BEMSpace: string;
|
|
3
|
+
visible: import("vue").Ref<boolean>;
|
|
4
|
+
isRender: import("vue").Ref<boolean>;
|
|
5
|
+
currentTriggerElement: HTMLElement;
|
|
6
|
+
popoverRectInfo: import("vue").Ref<any>;
|
|
7
|
+
getPopoverTriggerElementRectInfo: (element: HTMLElement) => void;
|
|
8
|
+
popoverRef: import("vue").Ref<HTMLElement>;
|
|
9
|
+
POPOVER_WIDTH: number;
|
|
10
|
+
popoverStyle: import("vue").ComputedRef<{
|
|
11
|
+
top?: undefined;
|
|
12
|
+
left?: undefined;
|
|
13
|
+
width?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
top: string;
|
|
16
|
+
left: string;
|
|
17
|
+
width: string;
|
|
18
|
+
}>;
|
|
19
|
+
isChildElement: (rootElement: HTMLElement, childElement: HTMLElement) => boolean;
|
|
20
|
+
handleHide: (e: Event) => void;
|
|
21
|
+
handleResize: (...rest: any[]) => void;
|
|
22
|
+
hide: () => void;
|
|
23
|
+
show: (element: HTMLElement) => void;
|
|
24
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
25
|
+
export default _sfc_main;
|
|
@@ -4,12 +4,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
}, {
|
|
7
|
-
emit: (event: "fullscreen" | "export", ...args: any[]) => void;
|
|
7
|
+
emit: (event: "fullscreen" | "export" | "show-column-tool", ...args: any[]) => void;
|
|
8
8
|
handleExport: () => void;
|
|
9
9
|
handleToggleFullscreen: () => void;
|
|
10
|
+
handleShowColumnTool: (e: Event) => void;
|
|
10
11
|
readonly FullScreen: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
11
12
|
readonly Download: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
12
|
-
},
|
|
13
|
+
readonly Tools: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
14
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("fullscreen" | "export" | "show-column-tool")[], "fullscreen" | "export" | "show-column-tool", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
15
|
toolbox: {
|
|
14
16
|
type: any;
|
|
15
17
|
required: true;
|
|
@@ -17,5 +19,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
17
19
|
}>> & {
|
|
18
20
|
onExport?: (...args: any[]) => any;
|
|
19
21
|
onFullscreen?: (...args: any[]) => any;
|
|
22
|
+
"onShow-column-tool"?: (...args: any[]) => any;
|
|
20
23
|
}, {}, {}>;
|
|
21
24
|
export default _sfc_main;
|