zhihao-ui 1.3.57 → 1.3.58-alpha.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/es/{BaseInfo-ehtLJvVF.js → BaseInfo-C2j6mJJE.js} +1 -1
- package/dist/es/{BaseItem-6LMSv4Je.js → BaseItem-zscYu8eV.js} +3 -3
- package/dist/es/{Button-DlEYWX3X.js → Button-B2Z_WKdq.js} +2 -2
- package/dist/es/CascaderLoadMore-Bt031LmH.js +277 -0
- package/dist/es/{DatePicker-CymT2gjS.js → DatePicker-C1DDRvC8.js} +3 -3
- package/dist/es/{DetailHeader-DlAjiYhV.js → DetailHeader-vuClNac7.js} +3 -3
- package/dist/es/{DetailSubTitle-OH6TMyKI.js → DetailSubTitle-Cu4OuVMN.js} +2 -2
- package/dist/es/{Dialog-B_Psb_wh.js → Dialog-BynyEy56.js} +3 -3
- package/dist/es/{DiyDataTable-DRuRQedj.js → DiyDataTable-Dxj2T0df.js} +9 -7
- package/dist/es/{EditInfoPair-B3TKNnnl.js → EditInfoPair-m7xcpK-8.js} +3 -3
- package/dist/es/{FileWrapper-bVyPV48o.js → FileWrapper-C7ZFwtsF.js} +4 -4
- package/dist/es/{Grid-CLU3cdzX.js → Grid-CK82axOD.js} +2 -2
- package/dist/es/{InfoPair-nPqi45Ys.js → InfoPair-CdkSVoN0.js} +3 -3
- package/dist/es/{Input-DjQtffZg.js → Input-EcnKRK5Q.js} +3 -3
- package/dist/es/{Loading-CDxuHkdt.js → Loading-Mq3IiaFA.js} +2 -2
- package/dist/es/Map-cM2ZsC86.js +2466 -0
- package/dist/es/{MessageBox-kkpNeAii.js → MessageBox-wQY1ft63.js} +2 -2
- package/dist/es/{MoneyInput-ZLGQmpLk.js → MoneyInput-Cn4BH3R9.js} +5 -5
- package/dist/es/{PageHeadPanel-DsEeXTgj.js → PageHeadPanel-B2Uqf3zz.js} +2 -2
- package/dist/es/{Table-gFH87j_O.js → Table-BcofWMU9.js} +7 -7
- package/dist/es/{ToolTips-BRjrysPf.js → ToolTips-CVkx0nFU.js} +3 -3
- package/dist/es/index.js +60 -60
- package/dist/es/{utils-B-n1yx0L.js → utils-vqG84sMo.js} +1 -1
- package/dist/es/{vendor-DkGhDRdQ.js → vendor-MMWA2y7U.js} +29 -28
- package/dist/index.css +1 -1
- package/dist/types/components/DetailSubTitle/index.d.ts +1 -0
- package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +26 -0
- package/dist/types/components/DiyDataTable/index.d.ts +78 -0
- package/dist/types/components/DiyDataTable/type.d.ts +1 -1
- package/dist/types/components/Map/Map.vue.d.ts +4 -1
- package/dist/types/components/Map/function/drawPolygon.d.ts +1 -1
- package/dist/types/components/Map/function/renderPolygon.d.ts +20 -0
- package/dist/types/components/Map/function/ship/index.d.ts +1 -1
- package/dist/types/components/Map/function/ship/style.d.ts +5 -3
- package/dist/types/components/Map/index.d.ts +12 -3
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +58 -59
- package/package.json +2 -2
- package/dist/es/CascaderLoadMore-DKTvm00E.js +0 -287
- package/dist/es/Map-CmcmvvxF.js +0 -2363
|
@@ -466,6 +466,32 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
466
466
|
default?(_: {}): any;
|
|
467
467
|
};
|
|
468
468
|
}) | undefined>;
|
|
469
|
+
getColumns: () => {
|
|
470
|
+
prop: string;
|
|
471
|
+
label: string;
|
|
472
|
+
key?: (number | string) | undefined;
|
|
473
|
+
isAdd?: boolean | undefined;
|
|
474
|
+
width?: number | undefined;
|
|
475
|
+
minWidth?: number | undefined;
|
|
476
|
+
maxlength?: number | undefined;
|
|
477
|
+
headerMaxlength?: number | undefined;
|
|
478
|
+
placeholder?: string | undefined;
|
|
479
|
+
required?: boolean | undefined;
|
|
480
|
+
requiredMessage?: string | undefined;
|
|
481
|
+
isEditHeader?: boolean | undefined;
|
|
482
|
+
isSameData?: boolean | undefined;
|
|
483
|
+
type?: DIY_DATA_TYPE | undefined;
|
|
484
|
+
completeList?: string[] | undefined;
|
|
485
|
+
formatter?: ((value: string | DiyDataType) => string) | undefined;
|
|
486
|
+
showFormatter?: ((value: string) => string) | undefined;
|
|
487
|
+
parser?: ((value: string) => string) | undefined;
|
|
488
|
+
varidate?: ((value: string | number | undefined, row: DiyDataType, index: number) => true | string) | undefined;
|
|
489
|
+
fixed?: ("left" | "right") | undefined;
|
|
490
|
+
slot?: string | undefined;
|
|
491
|
+
isShow?: boolean | undefined;
|
|
492
|
+
isNewlyColumn?: boolean | undefined;
|
|
493
|
+
showWordLimit?: boolean | undefined;
|
|
494
|
+
}[];
|
|
469
495
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
470
496
|
rawData: {
|
|
471
497
|
required: true;
|
|
@@ -448,6 +448,32 @@ export declare const ZhDiyDataTable: {
|
|
|
448
448
|
default?(_: {}): any;
|
|
449
449
|
};
|
|
450
450
|
}) | undefined>;
|
|
451
|
+
getColumns: () => {
|
|
452
|
+
prop: string;
|
|
453
|
+
label: string;
|
|
454
|
+
key?: (number | string) | undefined;
|
|
455
|
+
isAdd?: boolean | undefined;
|
|
456
|
+
width?: number | undefined;
|
|
457
|
+
minWidth?: number | undefined;
|
|
458
|
+
maxlength?: number | undefined;
|
|
459
|
+
headerMaxlength?: number | undefined;
|
|
460
|
+
placeholder?: string | undefined;
|
|
461
|
+
required?: boolean | undefined;
|
|
462
|
+
requiredMessage?: string | undefined;
|
|
463
|
+
isEditHeader?: boolean | undefined;
|
|
464
|
+
isSameData?: boolean | undefined;
|
|
465
|
+
type?: import('./type').DIY_DATA_TYPE | undefined;
|
|
466
|
+
completeList?: string[] | undefined;
|
|
467
|
+
formatter?: ((value: string | import('./type').DiyDataType) => string) | undefined;
|
|
468
|
+
showFormatter?: ((value: string) => string) | undefined;
|
|
469
|
+
parser?: ((value: string) => string) | undefined;
|
|
470
|
+
varidate?: ((value: string | number | undefined, row: import('./type').DiyDataType, index: number) => true | string) | undefined;
|
|
471
|
+
fixed?: ("left" | "right") | undefined;
|
|
472
|
+
slot?: string | undefined;
|
|
473
|
+
isShow?: boolean | undefined;
|
|
474
|
+
isNewlyColumn?: boolean | undefined;
|
|
475
|
+
showWordLimit?: boolean | undefined;
|
|
476
|
+
}[];
|
|
451
477
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
452
478
|
isEdit: boolean;
|
|
453
479
|
maxRowLength: number;
|
|
@@ -914,6 +940,32 @@ export declare const ZhDiyDataTable: {
|
|
|
914
940
|
default?(_: {}): any;
|
|
915
941
|
};
|
|
916
942
|
}) | undefined>;
|
|
943
|
+
getColumns: () => {
|
|
944
|
+
prop: string;
|
|
945
|
+
label: string;
|
|
946
|
+
key?: (number | string) | undefined;
|
|
947
|
+
isAdd?: boolean | undefined;
|
|
948
|
+
width?: number | undefined;
|
|
949
|
+
minWidth?: number | undefined;
|
|
950
|
+
maxlength?: number | undefined;
|
|
951
|
+
headerMaxlength?: number | undefined;
|
|
952
|
+
placeholder?: string | undefined;
|
|
953
|
+
required?: boolean | undefined;
|
|
954
|
+
requiredMessage?: string | undefined;
|
|
955
|
+
isEditHeader?: boolean | undefined;
|
|
956
|
+
isSameData?: boolean | undefined;
|
|
957
|
+
type?: import('./type').DIY_DATA_TYPE | undefined;
|
|
958
|
+
completeList?: string[] | undefined;
|
|
959
|
+
formatter?: ((value: string | import('./type').DiyDataType) => string) | undefined;
|
|
960
|
+
showFormatter?: ((value: string) => string) | undefined;
|
|
961
|
+
parser?: ((value: string) => string) | undefined;
|
|
962
|
+
varidate?: ((value: string | number | undefined, row: import('./type').DiyDataType, index: number) => true | string) | undefined;
|
|
963
|
+
fixed?: ("left" | "right") | undefined;
|
|
964
|
+
slot?: string | undefined;
|
|
965
|
+
isShow?: boolean | undefined;
|
|
966
|
+
isNewlyColumn?: boolean | undefined;
|
|
967
|
+
showWordLimit?: boolean | undefined;
|
|
968
|
+
}[];
|
|
917
969
|
}, {}, {}, {}, {
|
|
918
970
|
isEdit: boolean;
|
|
919
971
|
maxRowLength: number;
|
|
@@ -1377,6 +1429,32 @@ export declare const ZhDiyDataTable: {
|
|
|
1377
1429
|
default?(_: {}): any;
|
|
1378
1430
|
};
|
|
1379
1431
|
}) | undefined>;
|
|
1432
|
+
getColumns: () => {
|
|
1433
|
+
prop: string;
|
|
1434
|
+
label: string;
|
|
1435
|
+
key?: (number | string) | undefined;
|
|
1436
|
+
isAdd?: boolean | undefined;
|
|
1437
|
+
width?: number | undefined;
|
|
1438
|
+
minWidth?: number | undefined;
|
|
1439
|
+
maxlength?: number | undefined;
|
|
1440
|
+
headerMaxlength?: number | undefined;
|
|
1441
|
+
placeholder?: string | undefined;
|
|
1442
|
+
required?: boolean | undefined;
|
|
1443
|
+
requiredMessage?: string | undefined;
|
|
1444
|
+
isEditHeader?: boolean | undefined;
|
|
1445
|
+
isSameData?: boolean | undefined;
|
|
1446
|
+
type?: import('./type').DIY_DATA_TYPE | undefined;
|
|
1447
|
+
completeList?: string[] | undefined;
|
|
1448
|
+
formatter?: ((value: string | import('./type').DiyDataType) => string) | undefined;
|
|
1449
|
+
showFormatter?: ((value: string) => string) | undefined;
|
|
1450
|
+
parser?: ((value: string) => string) | undefined;
|
|
1451
|
+
varidate?: ((value: string | number | undefined, row: import('./type').DiyDataType, index: number) => true | string) | undefined;
|
|
1452
|
+
fixed?: ("left" | "right") | undefined;
|
|
1453
|
+
slot?: string | undefined;
|
|
1454
|
+
isShow?: boolean | undefined;
|
|
1455
|
+
isNewlyColumn?: boolean | undefined;
|
|
1456
|
+
showWordLimit?: boolean | undefined;
|
|
1457
|
+
}[];
|
|
1380
1458
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
1381
1459
|
isEdit: boolean;
|
|
1382
1460
|
maxRowLength: number;
|
|
@@ -70,10 +70,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
70
70
|
getState: () => any;
|
|
71
71
|
};
|
|
72
72
|
drawPolygon: {
|
|
73
|
-
open: () => any;
|
|
73
|
+
open: (...reset: any[]) => any;
|
|
74
74
|
close: () => any;
|
|
75
75
|
reset: () => any;
|
|
76
76
|
};
|
|
77
|
+
renderPolygon: {
|
|
78
|
+
createPolygon: (...rest: any[]) => any;
|
|
79
|
+
};
|
|
77
80
|
utils: {
|
|
78
81
|
getCalculateExtent: (...reset: any[]) => any;
|
|
79
82
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -2,7 +2,7 @@ import { Map } from 'ol';
|
|
|
2
2
|
import { PropsManager } from './props';
|
|
3
3
|
|
|
4
4
|
export declare const useDrawPolygonManager: (mapInstance: Map, propsManager: PropsManager) => {
|
|
5
|
-
open: () => void;
|
|
5
|
+
open: (type: string, callback: () => void) => void;
|
|
6
6
|
close: () => void;
|
|
7
7
|
reset: () => void;
|
|
8
8
|
getState: () => "close" | "open";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Feature, Map } from 'ol';
|
|
2
|
+
|
|
3
|
+
interface Coordinate {
|
|
4
|
+
lng: number;
|
|
5
|
+
lat: number;
|
|
6
|
+
}
|
|
7
|
+
interface styleOptions {
|
|
8
|
+
fillColor: string;
|
|
9
|
+
stokeColor: string;
|
|
10
|
+
}
|
|
11
|
+
interface polygonOptions {
|
|
12
|
+
id: string;
|
|
13
|
+
coordinates: Coordinate[];
|
|
14
|
+
isEdit: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const useRenderPolygonManager: (mapInstance: Map) => {
|
|
17
|
+
createPolygon: (polygonData: polygonOptions, options: styleOptions) => void;
|
|
18
|
+
createCircle: (center: Coordinate, radius: number) => Feature;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -12,5 +12,5 @@ export declare const useShipManager: (mapInstance: MapOl) => {
|
|
|
12
12
|
clear: () => void;
|
|
13
13
|
setLableStatus: (shipStatus: boolean, followStatus: boolean, selectedStatus: boolean) => void;
|
|
14
14
|
handleShipMapEvent: import('lodash-es').DebouncedFunc<(shipsFeature: Feature | null, type: string, callback?: (id: string) => void) => void>;
|
|
15
|
-
changeShipScale: (
|
|
15
|
+
changeShipScale: () => void;
|
|
16
16
|
};
|
|
@@ -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[];
|
|
@@ -102,10 +102,13 @@ export declare const ZhMap: {
|
|
|
102
102
|
getState: () => any;
|
|
103
103
|
};
|
|
104
104
|
drawPolygon: {
|
|
105
|
-
open: () => any;
|
|
105
|
+
open: (...reset: any[]) => any;
|
|
106
106
|
close: () => any;
|
|
107
107
|
reset: () => any;
|
|
108
108
|
};
|
|
109
|
+
renderPolygon: {
|
|
110
|
+
createPolygon: (...rest: any[]) => any;
|
|
111
|
+
};
|
|
109
112
|
utils: {
|
|
110
113
|
getCalculateExtent: (...reset: any[]) => any;
|
|
111
114
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -232,10 +235,13 @@ export declare const ZhMap: {
|
|
|
232
235
|
getState: () => any;
|
|
233
236
|
};
|
|
234
237
|
drawPolygon: {
|
|
235
|
-
open: () => any;
|
|
238
|
+
open: (...reset: any[]) => any;
|
|
236
239
|
close: () => any;
|
|
237
240
|
reset: () => any;
|
|
238
241
|
};
|
|
242
|
+
renderPolygon: {
|
|
243
|
+
createPolygon: (...rest: any[]) => any;
|
|
244
|
+
};
|
|
239
245
|
utils: {
|
|
240
246
|
getCalculateExtent: (...reset: any[]) => any;
|
|
241
247
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|
|
@@ -359,10 +365,13 @@ 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
|
};
|
|
372
|
+
renderPolygon: {
|
|
373
|
+
createPolygon: (...rest: any[]) => any;
|
|
374
|
+
};
|
|
366
375
|
utils: {
|
|
367
376
|
getCalculateExtent: (...reset: any[]) => any;
|
|
368
377
|
convertSixHundredThousandToLatLng: (...reset: any[]) => any;
|