@juzhenfe/page-model 3.14.13 → 3.15.1
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/line-clamp-tools/index.vue.d.ts +89 -0
- package/dist/components/page-model/constructor.d.ts +8 -0
- package/dist/components/table/components/column-tools/use-user-show-row-config.d.ts +3 -0
- package/dist/components/table/constructor.d.ts +8 -0
- package/dist/components/table/type.d.ts +2 -1
- package/dist/components/table/utils/use-table-config-change.d.ts +9 -0
- package/dist/components/table-toolsbox/index.vue.d.ts +8 -1
- package/dist/index.es.js +452 -299
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/types/common.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
els: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
props: any;
|
|
8
|
+
emit: (event: "closed", ...args: any[]) => void;
|
|
9
|
+
BEMSpace: string;
|
|
10
|
+
createBEMName: (name: string) => string;
|
|
11
|
+
options: import("vue").Ref<{
|
|
12
|
+
label: string;
|
|
13
|
+
value: number;
|
|
14
|
+
}[]>;
|
|
15
|
+
simplePopoverRef: import("vue").Ref<any>;
|
|
16
|
+
userConfigFormData: import("vue").Ref<AnyObject>;
|
|
17
|
+
_updateUserConfig: Function;
|
|
18
|
+
showPopover: (element: HTMLElement) => void;
|
|
19
|
+
hidePopover: () => void;
|
|
20
|
+
handleSelectOption: (value: number) => void;
|
|
21
|
+
SimplePopover: import("vue").DefineComponent<{
|
|
22
|
+
width: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
required: false;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
placement: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: false;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
BEMSpace: string;
|
|
34
|
+
props: any;
|
|
35
|
+
emit: (event: "closed", ...args: any[]) => void;
|
|
36
|
+
nextZIndex: () => number;
|
|
37
|
+
visible: import("vue").Ref<boolean>;
|
|
38
|
+
isRender: import("vue").Ref<boolean>;
|
|
39
|
+
hideTimer: any;
|
|
40
|
+
triggerType: "element" | "rect";
|
|
41
|
+
currentTriggerElement: HTMLElement;
|
|
42
|
+
popoverRectInfo: import("vue").Ref<any>;
|
|
43
|
+
getPopoverTriggerElementRectInfo: (element: HTMLElement) => void;
|
|
44
|
+
popoverRef: import("vue").Ref<HTMLElement>;
|
|
45
|
+
popoverStyle: import("vue").ComputedRef<{
|
|
46
|
+
top?: undefined;
|
|
47
|
+
left?: undefined;
|
|
48
|
+
width?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
top: string;
|
|
51
|
+
left: string;
|
|
52
|
+
width: string;
|
|
53
|
+
}>;
|
|
54
|
+
isChildElement: (rootElement: HTMLElement, childElement: HTMLElement) => boolean;
|
|
55
|
+
isPopperChildElement: (element: HTMLElement) => boolean;
|
|
56
|
+
handleClickElement: (e: Event) => void;
|
|
57
|
+
handleResize: (...rest: any[]) => void;
|
|
58
|
+
bindEvent: () => void;
|
|
59
|
+
unbindEvent: () => void;
|
|
60
|
+
hide: () => void;
|
|
61
|
+
zIndex: import("vue").Ref<number>;
|
|
62
|
+
show: (element: HTMLElement | DOMRect) => void;
|
|
63
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "closed"[], "closed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
+
width: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
required: false;
|
|
67
|
+
default: number;
|
|
68
|
+
};
|
|
69
|
+
placement: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
required: false;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}>> & {
|
|
75
|
+
onClosed?: (...args: any[]) => any;
|
|
76
|
+
}, {
|
|
77
|
+
width: number;
|
|
78
|
+
placement: string;
|
|
79
|
+
}, {}>;
|
|
80
|
+
readonly Select: 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<{}>>, {}, {}>;
|
|
81
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "closed"[], "closed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
82
|
+
els: {
|
|
83
|
+
type: ArrayConstructor;
|
|
84
|
+
required: false;
|
|
85
|
+
};
|
|
86
|
+
}>> & {
|
|
87
|
+
onClosed?: (...args: any[]) => any;
|
|
88
|
+
}, {}, {}>;
|
|
89
|
+
export default _sfc_main;
|
|
@@ -137,5 +137,13 @@ export default class PageModelManager extends Reflections {
|
|
|
137
137
|
* 设置排序弹出可见性
|
|
138
138
|
*/
|
|
139
139
|
updateSortPopupVisible(visible: boolean): void;
|
|
140
|
+
/**
|
|
141
|
+
* 行高弹出框是否可见
|
|
142
|
+
*/
|
|
143
|
+
isLineClampPopupVisible: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* 设置行高弹出可见性
|
|
146
|
+
*/
|
|
147
|
+
updateLineClampPopupVisible(visible: boolean): void;
|
|
140
148
|
destroy(): void;
|
|
141
149
|
}
|
|
@@ -249,6 +249,14 @@ export default class TableManager extends IManager {
|
|
|
249
249
|
loadExcelDependence(): Promise<boolean | HTMLScriptElement>;
|
|
250
250
|
getTableCellText(el: any, rowData: AnyObject): any;
|
|
251
251
|
exportDataToExcel(opts: PageModel.TableDataExportModel): Promise<boolean>;
|
|
252
|
+
/**
|
|
253
|
+
* 当前表格元素
|
|
254
|
+
*/
|
|
255
|
+
currentFilterTableEls: PageModel.TableBaseItem[];
|
|
256
|
+
/**
|
|
257
|
+
* 更新当前表格元素
|
|
258
|
+
*/
|
|
259
|
+
updateCurrentFilterTableEls(els: PageModel.TableBaseItem[]): void;
|
|
252
260
|
/**
|
|
253
261
|
* 当前渲染的列元素
|
|
254
262
|
*/
|
|
@@ -34,7 +34,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
34
|
desc: string;
|
|
35
35
|
bg: boolean;
|
|
36
36
|
};
|
|
37
|
-
"
|
|
37
|
+
"column-tool": {
|
|
38
38
|
icon: 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<{}>>, {}, {}>;
|
|
39
39
|
text: string;
|
|
40
40
|
event: string;
|
|
@@ -55,6 +55,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
55
55
|
desc: string;
|
|
56
56
|
bg: boolean;
|
|
57
57
|
};
|
|
58
|
+
"line-clamp": {
|
|
59
|
+
icon: 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<{}>>, {}, {}>;
|
|
60
|
+
text: string;
|
|
61
|
+
event: string;
|
|
62
|
+
desc: string;
|
|
63
|
+
bg: boolean;
|
|
64
|
+
};
|
|
58
65
|
};
|
|
59
66
|
showToolbox: import("vue").ComputedRef<any>;
|
|
60
67
|
handleClickTool: (index: number, e: Event) => void;
|