zhihao-ui 1.3.58 → 1.3.59-alpha.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/dist/es/BaseInfo-Bx3C9ZBL.js +51 -0
- package/dist/es/BaseItem-B1E_ckBc.js +127 -0
- package/dist/es/{Button-DlEYWX3X.js → Button-BFA52ivn.js} +2 -2
- package/dist/es/{CascaderLoadMore-DsQfSHJS.js → CascaderLoadMore-C6micaqI.js} +65 -68
- package/dist/es/{DatePicker-Dsu_fuVt.js → DatePicker-BxalhOJm.js} +3 -3
- package/dist/es/{DetailHeader-DU1bbSjD.js → DetailHeader-CTHrhLa3.js} +3 -3
- package/dist/es/{DetailSubTitle-DFPCx1sq.js → DetailSubTitle-CeXkvL12.js} +2 -2
- package/dist/es/{Dialog-B_Psb_wh.js → Dialog-BptDzN8n.js} +3 -3
- package/dist/es/{DiyDataTable-Qcs2hktR.js → DiyDataTable-BIwNu91S.js} +4 -4
- package/dist/es/{EditInfoPair-3JMSayr1.js → EditInfoPair-BuNjky_P.js} +3 -3
- package/dist/es/{FileWrapper-B-g_NLuL.js → FileWrapper-SNPju9Db.js} +4 -4
- package/dist/es/{Grid-C1mkzQ0C.js → Grid-8CT6JVvo.js} +35 -34
- package/dist/es/{InfoPair-mbI5s0rV.js → InfoPair-W4cuHn-N.js} +3 -3
- package/dist/es/{Input-DjQtffZg.js → Input-FPnMJc-X.js} +3 -3
- package/dist/es/{Loading-CDxuHkdt.js → Loading-D1OYqPWU.js} +2 -2
- package/dist/es/Map-B7b_QqZC.js +2446 -0
- package/dist/es/{MessageBox-kkpNeAii.js → MessageBox-BIQVuTBY.js} +2 -2
- package/dist/es/{MoneyInput-Ca8_COsK.js → MoneyInput-CSzkTtxb.js} +5 -5
- package/dist/es/{PageHeadPanel-DsEeXTgj.js → PageHeadPanel-BV5qQLDj.js} +2 -2
- package/dist/es/{Table-CZ2AbcN7.js → Table-BnXX6Zcr.js} +155 -155
- package/dist/es/{ToolTips-BRjrysPf.js → ToolTips-B9Z_U4WM.js} +3 -3
- package/dist/es/index.js +23 -23
- package/dist/es/{utils-B-n1yx0L.js → utils-COxKH46Q.js} +1 -1
- package/dist/es/{vendor-DkGhDRdQ.js → vendor-CbeG2C4c.js} +22839 -23665
- package/dist/index.css +1 -1
- package/dist/types/components/BaseInfo/BaseInfo.vue.d.ts +2 -2
- package/dist/types/components/BaseInfo/index.d.ts +33 -33
- package/dist/types/components/BaseItem/BaseItem.vue.d.ts +1 -1
- package/dist/types/components/BaseItem/index.d.ts +24 -24
- package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +6 -6
- package/dist/types/components/DiyDataTable/index.d.ts +18 -18
- package/dist/types/components/Grid/Grid.vue.d.ts +1 -1
- package/dist/types/components/Grid/index.d.ts +15 -15
- package/dist/types/components/Input/Input.vue.d.ts +6 -6
- package/dist/types/components/Input/index.d.ts +9 -9
- package/dist/types/components/Map/Map.vue.d.ts +4 -2
- package/dist/types/components/Map/function/carTrack.d.ts +4 -2
- package/dist/types/components/Map/function/map.d.ts +2 -0
- package/dist/types/components/Map/function/renderPolygon.d.ts +25 -0
- package/dist/types/components/Map/function/ship/index.d.ts +6 -2
- package/dist/types/components/Map/function/ship/style.d.ts +5 -3
- package/dist/types/components/Map/index.d.ts +12 -6
- package/dist/types/components/Map/meta/index.d.ts +3 -1
- package/dist/types/components/Map/utils/animation.d.ts +13 -0
- package/dist/types/components/Map/utils/shipOverlay.d.ts +1 -0
- package/dist/types/components/MoneyInput/MoneyInput.vue.d.ts +4 -4
- package/dist/types/components/MoneyInput/index.d.ts +6 -6
- package/dist/types/components/Table/types.d.ts +2 -2
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +59 -132
- package/package.json +1 -1
- package/dist/es/BaseInfo-ehtLJvVF.js +0 -53
- package/dist/es/BaseItem-NLySOoTL.js +0 -130
- package/dist/es/Map-CmcmvvxF.js +0 -2363
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
declare function __VLS_template(): Partial<Record<import('vue').Slot<any>, (_: any) => any>>;
|
|
3
3
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
5
|
+
style: {
|
|
6
|
+
type: import('vue').PropType<any>;
|
|
7
|
+
};
|
|
5
8
|
class: {
|
|
6
9
|
type: import('vue').PropType<string>;
|
|
7
10
|
default: string;
|
|
8
11
|
};
|
|
9
|
-
style: {
|
|
10
|
-
type: import('vue').PropType<any>;
|
|
11
|
-
};
|
|
12
12
|
size: {
|
|
13
13
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
14
14
|
default: string;
|
|
@@ -18,13 +18,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
18
18
|
};
|
|
19
19
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
20
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
21
|
+
style: {
|
|
22
|
+
type: import('vue').PropType<any>;
|
|
23
|
+
};
|
|
21
24
|
class: {
|
|
22
25
|
type: import('vue').PropType<string>;
|
|
23
26
|
default: string;
|
|
24
27
|
};
|
|
25
|
-
style: {
|
|
26
|
-
type: import('vue').PropType<any>;
|
|
27
|
-
};
|
|
28
28
|
size: {
|
|
29
29
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
30
30
|
default: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const ZhInput: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
4
|
+
style: {
|
|
5
|
+
type: import('vue').PropType<any>;
|
|
6
|
+
};
|
|
4
7
|
class: {
|
|
5
8
|
type: import('vue').PropType<string>;
|
|
6
9
|
default: string;
|
|
7
10
|
};
|
|
8
|
-
style: {
|
|
9
|
-
type: import('vue').PropType<any>;
|
|
10
|
-
};
|
|
11
11
|
size: {
|
|
12
12
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
13
13
|
default: string;
|
|
@@ -27,13 +27,13 @@ export declare const ZhInput: {
|
|
|
27
27
|
Defaults: {};
|
|
28
28
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
29
29
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
30
|
+
style: {
|
|
31
|
+
type: import('vue').PropType<any>;
|
|
32
|
+
};
|
|
30
33
|
class: {
|
|
31
34
|
type: import('vue').PropType<string>;
|
|
32
35
|
default: string;
|
|
33
36
|
};
|
|
34
|
-
style: {
|
|
35
|
-
type: import('vue').PropType<any>;
|
|
36
|
-
};
|
|
37
37
|
size: {
|
|
38
38
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
39
39
|
default: string;
|
|
@@ -50,13 +50,13 @@ export declare const ZhInput: {
|
|
|
50
50
|
__isSuspense?: never;
|
|
51
51
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
52
52
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
53
|
+
style: {
|
|
54
|
+
type: import('vue').PropType<any>;
|
|
55
|
+
};
|
|
53
56
|
class: {
|
|
54
57
|
type: import('vue').PropType<string>;
|
|
55
58
|
default: string;
|
|
56
59
|
};
|
|
57
|
-
style: {
|
|
58
|
-
type: import('vue').PropType<any>;
|
|
59
|
-
};
|
|
60
60
|
size: {
|
|
61
61
|
type: import('vue').PropType<"small" | "default" | "larger">;
|
|
62
62
|
default: string;
|
|
@@ -15,10 +15,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
15
15
|
getZoom: () => any;
|
|
16
16
|
setZoom: (zoom: number) => any;
|
|
17
17
|
getInstall: () => any;
|
|
18
|
+
setMapClick: (...reset: any[]) => any;
|
|
19
|
+
getMapClick: () => any;
|
|
18
20
|
getView: () => any;
|
|
19
21
|
setCenter: (lon: number, lat: number) => any;
|
|
20
22
|
getSize: () => any;
|
|
21
|
-
getCenter: (
|
|
23
|
+
getCenter: () => any;
|
|
22
24
|
layer: {
|
|
23
25
|
setGreenTileVisible: (show: boolean) => any;
|
|
24
26
|
getGreenTileVisible: () => any;
|
|
@@ -70,7 +72,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
70
72
|
getState: () => any;
|
|
71
73
|
};
|
|
72
74
|
drawPolygon: {
|
|
73
|
-
open: () => any;
|
|
75
|
+
open: (...reset: any[]) => any;
|
|
74
76
|
close: () => any;
|
|
75
77
|
reset: () => any;
|
|
76
78
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { VehicleInfo } from '../interface';
|
|
2
|
+
import { Map as MapOl } from 'ol';
|
|
2
3
|
import { ShipTrack } from '../interface/shipTrack';
|
|
4
|
+
import { useTrackManager } from './shipTrack.ts';
|
|
3
5
|
|
|
4
|
-
export declare const useCarTrackManager: (mapInstance:
|
|
6
|
+
export declare const useCarTrackManager: (mapInstance: MapOl, trackManager: ReturnType<typeof useTrackManager>) => {
|
|
5
7
|
location: (vehicleInfo?: VehicleInfo) => Promise<void>;
|
|
6
8
|
remove: () => void;
|
|
7
|
-
renderTrack: (vclN: string, list: ShipTrack[], color: string) => void;
|
|
9
|
+
renderTrack: (vclN: string, list: ShipTrack[], color: string, interval?: number) => void;
|
|
8
10
|
setCenter: (id: string | number) => void;
|
|
9
11
|
closeTrack: () => void;
|
|
10
12
|
playTrack: (id: number | string, speed: number) => void;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Feature, Map } from 'ol';
|
|
2
|
+
import { PropsManager } from './props';
|
|
3
|
+
|
|
4
|
+
interface Coordinate {
|
|
5
|
+
lng: number;
|
|
6
|
+
lat: number;
|
|
7
|
+
}
|
|
8
|
+
interface StyleOptions {
|
|
9
|
+
fillColor: string;
|
|
10
|
+
stokeColor: string;
|
|
11
|
+
}
|
|
12
|
+
interface PolygonOptions {
|
|
13
|
+
id: string;
|
|
14
|
+
coordinates: Coordinate[];
|
|
15
|
+
radius: number;
|
|
16
|
+
isEdit: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const useRenderPolygonManager: (mapInstance: Map, propsManager: PropsManager) => {
|
|
19
|
+
createPolygon: (polygonData: PolygonOptions, options: styleOptions) => void;
|
|
20
|
+
createCircle: (polygonData: PolygonOptions, options: StyleOptions) => Feature;
|
|
21
|
+
deletePolygon: (id: string) => void;
|
|
22
|
+
updatePolygon: (polygonData: any) => void;
|
|
23
|
+
clear: () => void;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { ShipInfoVo } from '../../interface';
|
|
2
2
|
import { Feature, Map as MapOl } from 'ol';
|
|
3
|
+
import { PropsManager } from '../props';
|
|
4
|
+
import { useDrawLineManager } from '../drawLine';
|
|
5
|
+
import { useDrawPolygonManager } from '../drawPolygon';
|
|
6
|
+
import { useMapInitializer } from '../map';
|
|
3
7
|
|
|
4
|
-
export declare const useShipManager: (mapInstance: MapOl) => {
|
|
8
|
+
export declare const useShipManager: (mapInstance: MapOl, propsManager: PropsManager, mapManager: ReturnType<typeof useMapInitializer>, drawPolygonManager: ReturnType<typeof useDrawPolygonManager>, drawLineManager: ReturnType<typeof useDrawLineManager>) => {
|
|
5
9
|
render: (shipList: ShipInfoVo[]) => void;
|
|
6
10
|
selected: (ship: ShipInfoVo) => void;
|
|
7
11
|
filter: (shipList: ShipInfoVo[]) => void;
|
|
@@ -12,5 +16,5 @@ export declare const useShipManager: (mapInstance: MapOl) => {
|
|
|
12
16
|
clear: () => void;
|
|
13
17
|
setLableStatus: (shipStatus: boolean, followStatus: boolean, selectedStatus: boolean) => void;
|
|
14
18
|
handleShipMapEvent: import('lodash-es').DebouncedFunc<(shipsFeature: Feature | null, type: string, callback?: (id: string) => void) => void>;
|
|
15
|
-
changeShipScale: (
|
|
19
|
+
changeShipScale: () => void;
|
|
16
20
|
};
|
|
@@ -3,16 +3,18 @@ import { SHIP_DIRECT } from '../../meta/ship';
|
|
|
3
3
|
import { Feature, Map as MapOl } from 'ol';
|
|
4
4
|
import { Style } from 'ol/style';
|
|
5
5
|
|
|
6
|
-
export declare const getShipDirectPath: (ship: ShipInfoVo) => "" | SHIP_DIRECT.left | SHIP_DIRECT.right | SHIP_DIRECT.front;
|
|
7
6
|
type ShipType = 'ship' | 'triangle';
|
|
8
|
-
export declare const
|
|
7
|
+
export declare const getShipDirectPath: (ship: ShipInfoVo) => "" | SHIP_DIRECT.left | SHIP_DIRECT.right | SHIP_DIRECT.front;
|
|
8
|
+
export declare const styleCache: Map<string, Style>;
|
|
9
|
+
export declare const createShipStyle: (mapInstance: MapOl, feature: Feature) => Style | undefined;
|
|
9
10
|
export declare const getShipType: (mapInstance: MapOl) => ShipType;
|
|
10
11
|
export declare const getShipScale: (mapInstance: MapOl, shipData: ShipInfoVo, shipType: ShipType) => number;
|
|
11
12
|
/**
|
|
12
13
|
* 生成船只元素
|
|
13
14
|
* @param shipData
|
|
14
15
|
*/
|
|
15
|
-
export declare const
|
|
16
|
+
export declare const selectedStyleCache: Map<string, Style>;
|
|
17
|
+
export declare const selectedShipStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => Style | undefined;
|
|
16
18
|
export declare const createLabelStyle: (mapInstance: MapOl, shipData: ShipInfoVo) => void;
|
|
17
19
|
export declare const createLabelElement: (shipData: ShipInfoVo) => HTMLDivElement;
|
|
18
20
|
export declare const getRightIcons: (ship: ShipInfoVo) => string[];
|
|
@@ -47,10 +47,12 @@ export declare const ZhMap: {
|
|
|
47
47
|
getZoom: () => any;
|
|
48
48
|
setZoom: (zoom: number) => any;
|
|
49
49
|
getInstall: () => any;
|
|
50
|
+
setMapClick: (...reset: any[]) => any;
|
|
51
|
+
getMapClick: () => any;
|
|
50
52
|
getView: () => any;
|
|
51
53
|
setCenter: (lon: number, lat: number) => any;
|
|
52
54
|
getSize: () => any;
|
|
53
|
-
getCenter: (
|
|
55
|
+
getCenter: () => any;
|
|
54
56
|
layer: {
|
|
55
57
|
setGreenTileVisible: (show: boolean) => any;
|
|
56
58
|
getGreenTileVisible: () => any;
|
|
@@ -102,7 +104,7 @@ export declare const ZhMap: {
|
|
|
102
104
|
getState: () => any;
|
|
103
105
|
};
|
|
104
106
|
drawPolygon: {
|
|
105
|
-
open: () => any;
|
|
107
|
+
open: (...reset: any[]) => any;
|
|
106
108
|
close: () => any;
|
|
107
109
|
reset: () => any;
|
|
108
110
|
};
|
|
@@ -177,10 +179,12 @@ export declare const ZhMap: {
|
|
|
177
179
|
getZoom: () => any;
|
|
178
180
|
setZoom: (zoom: number) => any;
|
|
179
181
|
getInstall: () => any;
|
|
182
|
+
setMapClick: (...reset: any[]) => any;
|
|
183
|
+
getMapClick: () => any;
|
|
180
184
|
getView: () => any;
|
|
181
185
|
setCenter: (lon: number, lat: number) => any;
|
|
182
186
|
getSize: () => any;
|
|
183
|
-
getCenter: (
|
|
187
|
+
getCenter: () => any;
|
|
184
188
|
layer: {
|
|
185
189
|
setGreenTileVisible: (show: boolean) => any;
|
|
186
190
|
getGreenTileVisible: () => any;
|
|
@@ -232,7 +236,7 @@ export declare const ZhMap: {
|
|
|
232
236
|
getState: () => any;
|
|
233
237
|
};
|
|
234
238
|
drawPolygon: {
|
|
235
|
-
open: () => any;
|
|
239
|
+
open: (...reset: any[]) => any;
|
|
236
240
|
close: () => any;
|
|
237
241
|
reset: () => any;
|
|
238
242
|
};
|
|
@@ -304,10 +308,12 @@ export declare const ZhMap: {
|
|
|
304
308
|
getZoom: () => any;
|
|
305
309
|
setZoom: (zoom: number) => any;
|
|
306
310
|
getInstall: () => any;
|
|
311
|
+
setMapClick: (...reset: any[]) => any;
|
|
312
|
+
getMapClick: () => any;
|
|
307
313
|
getView: () => any;
|
|
308
314
|
setCenter: (lon: number, lat: number) => any;
|
|
309
315
|
getSize: () => any;
|
|
310
|
-
getCenter: (
|
|
316
|
+
getCenter: () => any;
|
|
311
317
|
layer: {
|
|
312
318
|
setGreenTileVisible: (show: boolean) => any;
|
|
313
319
|
getGreenTileVisible: () => any;
|
|
@@ -359,7 +365,7 @@ export declare const ZhMap: {
|
|
|
359
365
|
getState: () => any;
|
|
360
366
|
};
|
|
361
367
|
drawPolygon: {
|
|
362
|
-
open: () => any;
|
|
368
|
+
open: (...reset: any[]) => any;
|
|
363
369
|
close: () => any;
|
|
364
370
|
reset: () => any;
|
|
365
371
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as VectorLayer } from 'ol/layer/Vector';
|
|
2
|
+
import { Overlay } from 'ol';
|
|
3
|
+
|
|
4
|
+
export declare class BlinkAnimation {
|
|
5
|
+
private animationId;
|
|
6
|
+
private interval;
|
|
7
|
+
private routeLayer;
|
|
8
|
+
private routeOverlay;
|
|
9
|
+
constructor(routeLayer: VectorLayer, overlays: Overlay[]);
|
|
10
|
+
start(): void;
|
|
11
|
+
stop(): void;
|
|
12
|
+
private toggleVisibility;
|
|
13
|
+
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
declare function __VLS_template(): Partial<Record<string, (_: any) => any>>;
|
|
3
3
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
5
|
-
|
|
5
|
+
style: {
|
|
6
6
|
type: import('vue').PropType<any>;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
class: {
|
|
9
9
|
type: import('vue').PropType<any>;
|
|
10
10
|
};
|
|
11
11
|
showTooltip: {
|
|
@@ -14,10 +14,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
14
14
|
};
|
|
15
15
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
16
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
17
|
-
|
|
17
|
+
style: {
|
|
18
18
|
type: import('vue').PropType<any>;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
class: {
|
|
21
21
|
type: import('vue').PropType<any>;
|
|
22
22
|
};
|
|
23
23
|
showTooltip: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const ZhMoneyInput: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
3
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
4
|
-
|
|
4
|
+
style: {
|
|
5
5
|
type: import('vue').PropType<any>;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
class: {
|
|
8
8
|
type: import('vue').PropType<any>;
|
|
9
9
|
};
|
|
10
10
|
showTooltip: {
|
|
@@ -22,10 +22,10 @@ export declare const ZhMoneyInput: {
|
|
|
22
22
|
Defaults: {};
|
|
23
23
|
}, Readonly<import('vue').ExtractPropTypes<{
|
|
24
24
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
25
|
-
|
|
25
|
+
style: {
|
|
26
26
|
type: import('vue').PropType<any>;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
class: {
|
|
29
29
|
type: import('vue').PropType<any>;
|
|
30
30
|
};
|
|
31
31
|
showTooltip: {
|
|
@@ -40,10 +40,10 @@ export declare const ZhMoneyInput: {
|
|
|
40
40
|
__isSuspense?: never;
|
|
41
41
|
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
42
42
|
modelValue: import('vue').PropType<string | number | undefined>;
|
|
43
|
-
|
|
43
|
+
style: {
|
|
44
44
|
type: import('vue').PropType<any>;
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
class: {
|
|
47
47
|
type: import('vue').PropType<any>;
|
|
48
48
|
};
|
|
49
49
|
showTooltip: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNode, ComponentPublicInstance, Ref } from 'vue';
|
|
2
2
|
import { TableColumnCtx } from 'element-plus/es/components/table/src/table-column/defaults';
|
|
3
|
-
import { ZhTableProps, default as
|
|
3
|
+
import { ZhTableProps, default as ZhTable } from './Table.vue';
|
|
4
4
|
|
|
5
5
|
export interface EnumProps {
|
|
6
6
|
label?: string;
|
|
@@ -74,7 +74,7 @@ export interface SortChangeEvent {
|
|
|
74
74
|
prop: string;
|
|
75
75
|
order: "ascending" | "descending" | null;
|
|
76
76
|
}
|
|
77
|
-
export type ZhTableInstance = Omit<InstanceType<typeof
|
|
77
|
+
export type ZhTableInstance = Omit<InstanceType<typeof ZhTable>, keyof ComponentPublicInstance | keyof ZhTableProps>;
|
|
78
78
|
export type BreakPoint = "xs" | "sm" | "md" | "lg" | "xl";
|
|
79
79
|
export type Responsive = {
|
|
80
80
|
span?: number;
|