zhihao-ui 1.2.31 → 1.2.33
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-CAuR2Id0.js → BaseInfo-C4sgm12k.js} +1 -1
- package/dist/es/{BaseItem-CQzBP1WX.js → BaseItem-Dok2Aus9.js} +5 -5
- package/dist/es/{Button-D-R-2Fix.js → Button-BbUxF68h.js} +2 -2
- package/dist/es/DatePicker-DJuI_Emt.js +73 -0
- package/dist/es/{DetailHeader-CBN9CqAp.js → DetailHeader-DKjKORoT.js} +3 -3
- package/dist/es/{DetailSubTitle-DsnSxPKH.js → DetailSubTitle-zqhDyrw7.js} +2 -2
- package/dist/es/{Dialog-C_hAbDgU.js → Dialog-CiO2p3lS.js} +3 -3
- package/dist/es/{DiyDataTable-CXSUoapn.js → DiyDataTable-0J0XHWOg.js} +4 -4
- package/dist/es/{EditInfoPair-C0Ielr4q.js → EditInfoPair-BCrdjdwr.js} +4 -4
- package/dist/es/{FileWrapper-DFqY2SD_.js → FileWrapper-DwI3Gpd7.js} +6 -6
- package/dist/es/{Grid-CLg9sn2Y.js → Grid-BEBnaQkh.js} +2 -2
- package/dist/es/{InfoPair-6agPuvqq.js → InfoPair-8ibzEbk8.js} +4 -4
- package/dist/es/{Input-CzlIXSCf.js → Input-CWfFyiHL.js} +5 -5
- package/dist/es/Loading-nlPpGN-L.js +22 -0
- package/dist/es/{Map-BJc6GMOA.js → Map-zDBSTbli.js} +512 -499
- package/dist/es/{MessageBox-CBMAgp6C.js → MessageBox-DJR9qhIT.js} +2 -2
- package/dist/es/{MoneyInput-EODuzFjO.js → MoneyInput-BUtchReq.js} +19 -18
- package/dist/es/{PageHeadPanel-DDnMIqmC.js → PageHeadPanel-Bw6wb6jF.js} +6 -6
- package/dist/es/{Table-D7YUOcI0.js → Table-Ce83Xr3L.js} +196 -200
- package/dist/es/ToolTips-D7B0F-bQ.js +37 -0
- package/dist/es/index.js +40 -41
- package/dist/es/utils-hD_p7bGY.js +14 -0
- package/dist/es/{vendor-Cq716b5Q.js → vendor-Bonn9k5m.js} +26 -26
- package/dist/index.css +1 -1
- package/dist/types/components/Map/Map.vue.d.ts +11 -3
- package/dist/types/components/Map/config.d.ts +1 -0
- package/dist/types/components/Map/index.d.ts +51 -31
- package/dist/types/components/Map/interface/entity/render.d.ts +1 -0
- package/dist/types/components/Map/interface/entity/shipInfoVo.d.ts +2 -2
- package/dist/types/components/Map/render/canvasRender/renderTrackStyle.d.ts +4 -2
- package/dist/types/components/Map/utils/store.d.ts +4 -2
- package/dist/types/components/utils.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.umd.cjs +19 -19
- package/package.json +1 -1
- package/dist/es/DatePicker-BDz_yTX2.js +0 -36
- package/dist/es/Loading-ClE8eADM.js +0 -22
- package/dist/es/ToolTips-BpZo8gsa.js +0 -37
- package/dist/es/utils-BbWQLYZL.js +0 -52
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { Map as MapType } from 'ol';
|
|
3
3
|
import { ShipInfoVo } from './interface';
|
|
4
|
+
import { PointMarkerClass } from './render/renderPoint.ts';
|
|
4
5
|
|
|
5
6
|
declare function __VLS_template(): {
|
|
6
7
|
toolPanel?(_: {}): any;
|
|
@@ -9,12 +10,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
9
10
|
zoom: number | null;
|
|
10
11
|
center: [number, number] | null;
|
|
11
12
|
vehicleMode: "truck" | "ship";
|
|
12
|
-
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip";
|
|
13
|
+
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
|
|
13
14
|
mmsi?: string;
|
|
14
15
|
shipData?: ShipInfoVo;
|
|
15
16
|
}>>, {
|
|
16
17
|
mapInstance: Ref<MapType | undefined, MapType | undefined>;
|
|
17
18
|
initMap: () => void;
|
|
19
|
+
pointRender: (mapInstance: MapType, options: {
|
|
20
|
+
color: string;
|
|
21
|
+
activeUrl?: string;
|
|
22
|
+
url?: string;
|
|
23
|
+
activeColor?: string;
|
|
24
|
+
}) => PointMarkerClass;
|
|
18
25
|
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
19
26
|
renderShip: (list: ShipInfoVo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | import('ol/layer').WebGLPoints<import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>>> | undefined;
|
|
20
27
|
renderTrack: (mmsi: string, list: any[], color: string) => void;
|
|
@@ -35,7 +42,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
35
42
|
switchGreenDot: () => void;
|
|
36
43
|
zoomTruckIcon: () => void;
|
|
37
44
|
renderTruckTrack: (vclN: string, list: any[], color: string) => void;
|
|
38
|
-
removerLayer: (index: number) => void;
|
|
45
|
+
removerLayer: (index: number, id: string) => void;
|
|
39
46
|
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
40
47
|
setMarkerPosition: (val: string) => void;
|
|
41
48
|
getZoomAndCenter: () => {
|
|
@@ -63,6 +70,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
63
70
|
truckStatistics: number;
|
|
64
71
|
shipModelMin: number;
|
|
65
72
|
shipModelMax: number;
|
|
73
|
+
markerPosition: number;
|
|
66
74
|
};
|
|
67
75
|
projection: {
|
|
68
76
|
data: string;
|
|
@@ -110,7 +118,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
110
118
|
zoom: number | null;
|
|
111
119
|
center: [number, number] | null;
|
|
112
120
|
vehicleMode: "truck" | "ship";
|
|
113
|
-
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip";
|
|
121
|
+
viewMode: "PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition";
|
|
114
122
|
mmsi?: string;
|
|
115
123
|
shipData?: ShipInfoVo;
|
|
116
124
|
}>>> & Readonly<{
|
|
@@ -13,14 +13,14 @@ export declare const ZhMap: {
|
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
viewMode: {
|
|
16
|
-
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip">;
|
|
16
|
+
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition">;
|
|
17
17
|
required: true;
|
|
18
18
|
};
|
|
19
19
|
mmsi: {
|
|
20
20
|
type: import('vue').PropType<string>;
|
|
21
21
|
};
|
|
22
22
|
shipData: {
|
|
23
|
-
type: import('vue').PropType<import('./interface
|
|
23
|
+
type: import('vue').PropType<import('./interface').ShipInfoVo>;
|
|
24
24
|
};
|
|
25
25
|
}>> & Readonly<{
|
|
26
26
|
onZoomChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -28,10 +28,16 @@ export declare const ZhMap: {
|
|
|
28
28
|
}>, {
|
|
29
29
|
mapInstance: import('vue').Ref<import('ol').Map | undefined, import('ol').Map | undefined>;
|
|
30
30
|
initMap: () => void;
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
pointRender: (mapInstance: import('ol').Map, options: {
|
|
32
|
+
color: string;
|
|
33
|
+
activeUrl?: string;
|
|
34
|
+
url?: string;
|
|
35
|
+
activeColor?: string;
|
|
36
|
+
}) => import('./render/renderPoint').PointMarkerClass;
|
|
37
|
+
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
38
|
+
renderShip: (list: import('./interface').ShipInfoVo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | import('ol/layer').WebGLPoints<import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>>> | undefined;
|
|
33
39
|
renderTrack: (mmsi: string, list: any[], color: string) => void;
|
|
34
|
-
findTruck: (vehicleInfo?: import('./interface
|
|
40
|
+
findTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
35
41
|
removeTruckIcon: () => void;
|
|
36
42
|
clearAllTruck: () => void;
|
|
37
43
|
closeTrack: () => void;
|
|
@@ -39,16 +45,16 @@ export declare const ZhMap: {
|
|
|
39
45
|
resetTrackView: (id?: number | string) => void;
|
|
40
46
|
playTrack: (id: number | string, speed: number) => void;
|
|
41
47
|
clearSelectFeature: () => void;
|
|
42
|
-
findShip: (id: string, shipData?: import('./interface
|
|
43
|
-
focusShip: (id: string, shipData?: import('./interface
|
|
44
|
-
showTracks: import('vue').Ref<import('./interface
|
|
48
|
+
findShip: (id: string, shipData?: import('./interface').ShipInfoVo, select?: boolean) => any;
|
|
49
|
+
focusShip: (id: string, shipData?: import('./interface').ShipInfoVo, hidden?: boolean) => void;
|
|
50
|
+
showTracks: import('vue').Ref<import('./interface').TrackExtend[], import('./interface').TrackExtend[]>;
|
|
45
51
|
removeAllTrackLayer: () => void;
|
|
46
|
-
switchFilterItem: (key: import('./enum
|
|
52
|
+
switchFilterItem: (key: import('./enum').SWITCH_BTN, value: boolean) => void;
|
|
47
53
|
rerenderShip: () => void;
|
|
48
54
|
switchGreenDot: () => void;
|
|
49
55
|
zoomTruckIcon: () => void;
|
|
50
56
|
renderTruckTrack: (vclN: string, list: any[], color: string) => void;
|
|
51
|
-
removerLayer: (index: number) => void;
|
|
57
|
+
removerLayer: (index: number, id: string) => void;
|
|
52
58
|
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
53
59
|
setMarkerPosition: (val: string) => void;
|
|
54
60
|
getZoomAndCenter: () => {
|
|
@@ -76,6 +82,7 @@ export declare const ZhMap: {
|
|
|
76
82
|
truckStatistics: number;
|
|
77
83
|
shipModelMin: number;
|
|
78
84
|
shipModelMax: number;
|
|
85
|
+
markerPosition: number;
|
|
79
86
|
};
|
|
80
87
|
projection: {
|
|
81
88
|
data: string;
|
|
@@ -140,14 +147,14 @@ export declare const ZhMap: {
|
|
|
140
147
|
required: true;
|
|
141
148
|
};
|
|
142
149
|
viewMode: {
|
|
143
|
-
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip">;
|
|
150
|
+
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition">;
|
|
144
151
|
required: true;
|
|
145
152
|
};
|
|
146
153
|
mmsi: {
|
|
147
154
|
type: import('vue').PropType<string>;
|
|
148
155
|
};
|
|
149
156
|
shipData: {
|
|
150
|
-
type: import('vue').PropType<import('./interface
|
|
157
|
+
type: import('vue').PropType<import('./interface').ShipInfoVo>;
|
|
151
158
|
};
|
|
152
159
|
}>> & Readonly<{
|
|
153
160
|
onZoomChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -155,10 +162,16 @@ export declare const ZhMap: {
|
|
|
155
162
|
}>, {
|
|
156
163
|
mapInstance: import('vue').Ref<import('ol').Map | undefined, import('ol').Map | undefined>;
|
|
157
164
|
initMap: () => void;
|
|
158
|
-
|
|
159
|
-
|
|
165
|
+
pointRender: (mapInstance: import('ol').Map, options: {
|
|
166
|
+
color: string;
|
|
167
|
+
activeUrl?: string;
|
|
168
|
+
url?: string;
|
|
169
|
+
activeColor?: string;
|
|
170
|
+
}) => import('./render/renderPoint').PointMarkerClass;
|
|
171
|
+
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
172
|
+
renderShip: (list: import('./interface').ShipInfoVo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | import('ol/layer').WebGLPoints<import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>>> | undefined;
|
|
160
173
|
renderTrack: (mmsi: string, list: any[], color: string) => void;
|
|
161
|
-
findTruck: (vehicleInfo?: import('./interface
|
|
174
|
+
findTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
162
175
|
removeTruckIcon: () => void;
|
|
163
176
|
clearAllTruck: () => void;
|
|
164
177
|
closeTrack: () => void;
|
|
@@ -166,16 +179,16 @@ export declare const ZhMap: {
|
|
|
166
179
|
resetTrackView: (id?: number | string) => void;
|
|
167
180
|
playTrack: (id: number | string, speed: number) => void;
|
|
168
181
|
clearSelectFeature: () => void;
|
|
169
|
-
findShip: (id: string, shipData?: import('./interface
|
|
170
|
-
focusShip: (id: string, shipData?: import('./interface
|
|
171
|
-
showTracks: import('vue').Ref<import('./interface
|
|
182
|
+
findShip: (id: string, shipData?: import('./interface').ShipInfoVo, select?: boolean) => any;
|
|
183
|
+
focusShip: (id: string, shipData?: import('./interface').ShipInfoVo, hidden?: boolean) => void;
|
|
184
|
+
showTracks: import('vue').Ref<import('./interface').TrackExtend[], import('./interface').TrackExtend[]>;
|
|
172
185
|
removeAllTrackLayer: () => void;
|
|
173
|
-
switchFilterItem: (key: import('./enum
|
|
186
|
+
switchFilterItem: (key: import('./enum').SWITCH_BTN, value: boolean) => void;
|
|
174
187
|
rerenderShip: () => void;
|
|
175
188
|
switchGreenDot: () => void;
|
|
176
189
|
zoomTruckIcon: () => void;
|
|
177
190
|
renderTruckTrack: (vclN: string, list: any[], color: string) => void;
|
|
178
|
-
removerLayer: (index: number) => void;
|
|
191
|
+
removerLayer: (index: number, id: string) => void;
|
|
179
192
|
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
180
193
|
setMarkerPosition: (val: string) => void;
|
|
181
194
|
getZoomAndCenter: () => {
|
|
@@ -203,6 +216,7 @@ export declare const ZhMap: {
|
|
|
203
216
|
truckStatistics: number;
|
|
204
217
|
shipModelMin: number;
|
|
205
218
|
shipModelMax: number;
|
|
219
|
+
markerPosition: number;
|
|
206
220
|
};
|
|
207
221
|
projection: {
|
|
208
222
|
data: string;
|
|
@@ -261,14 +275,14 @@ export declare const ZhMap: {
|
|
|
261
275
|
required: true;
|
|
262
276
|
};
|
|
263
277
|
viewMode: {
|
|
264
|
-
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip">;
|
|
278
|
+
type: import('vue').PropType<"PC" | "WxMiniprogram" | "APP" | "findShip" | "markerPosition">;
|
|
265
279
|
required: true;
|
|
266
280
|
};
|
|
267
281
|
mmsi: {
|
|
268
282
|
type: import('vue').PropType<string>;
|
|
269
283
|
};
|
|
270
284
|
shipData: {
|
|
271
|
-
type: import('vue').PropType<import('./interface
|
|
285
|
+
type: import('vue').PropType<import('./interface').ShipInfoVo>;
|
|
272
286
|
};
|
|
273
287
|
}>> & Readonly<{
|
|
274
288
|
onZoomChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -276,10 +290,16 @@ export declare const ZhMap: {
|
|
|
276
290
|
}>, {
|
|
277
291
|
mapInstance: import('vue').Ref<import('ol').Map | undefined, import('ol').Map | undefined>;
|
|
278
292
|
initMap: () => void;
|
|
279
|
-
|
|
280
|
-
|
|
293
|
+
pointRender: (mapInstance: import('ol').Map, options: {
|
|
294
|
+
color: string;
|
|
295
|
+
activeUrl?: string;
|
|
296
|
+
url?: string;
|
|
297
|
+
activeColor?: string;
|
|
298
|
+
}) => import('./render/renderPoint').PointMarkerClass;
|
|
299
|
+
renderTrucksMarker: (list: import('./interface').SinoiovVehicleInfo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | undefined;
|
|
300
|
+
renderShip: (list: import('./interface').ShipInfoVo[]) => import('ol/layer').Vector<import('ol/source').Vector<any>, any> | import('ol/layer').WebGLPoints<import('ol/source').Vector<import('ol').Feature<import('ol/geom').Geometry>>> | undefined;
|
|
281
301
|
renderTrack: (mmsi: string, list: any[], color: string) => void;
|
|
282
|
-
findTruck: (vehicleInfo?: import('./interface
|
|
302
|
+
findTruck: (vehicleInfo?: import('./interface').VehicleInfo) => Promise<void>;
|
|
283
303
|
removeTruckIcon: () => void;
|
|
284
304
|
clearAllTruck: () => void;
|
|
285
305
|
closeTrack: () => void;
|
|
@@ -287,16 +307,16 @@ export declare const ZhMap: {
|
|
|
287
307
|
resetTrackView: (id?: number | string) => void;
|
|
288
308
|
playTrack: (id: number | string, speed: number) => void;
|
|
289
309
|
clearSelectFeature: () => void;
|
|
290
|
-
findShip: (id: string, shipData?: import('./interface
|
|
291
|
-
focusShip: (id: string, shipData?: import('./interface
|
|
292
|
-
showTracks: import('vue').Ref<import('./interface
|
|
310
|
+
findShip: (id: string, shipData?: import('./interface').ShipInfoVo, select?: boolean) => any;
|
|
311
|
+
focusShip: (id: string, shipData?: import('./interface').ShipInfoVo, hidden?: boolean) => void;
|
|
312
|
+
showTracks: import('vue').Ref<import('./interface').TrackExtend[], import('./interface').TrackExtend[]>;
|
|
293
313
|
removeAllTrackLayer: () => void;
|
|
294
|
-
switchFilterItem: (key: import('./enum
|
|
314
|
+
switchFilterItem: (key: import('./enum').SWITCH_BTN, value: boolean) => void;
|
|
295
315
|
rerenderShip: () => void;
|
|
296
316
|
switchGreenDot: () => void;
|
|
297
317
|
zoomTruckIcon: () => void;
|
|
298
318
|
renderTruckTrack: (vclN: string, list: any[], color: string) => void;
|
|
299
|
-
removerLayer: (index: number) => void;
|
|
319
|
+
removerLayer: (index: number, id: string) => void;
|
|
300
320
|
renderMarker: (lngLat: string, translate?: boolean, showText?: boolean) => void;
|
|
301
321
|
setMarkerPosition: (val: string) => void;
|
|
302
322
|
getZoomAndCenter: () => {
|
|
@@ -324,6 +344,7 @@ export declare const ZhMap: {
|
|
|
324
344
|
truckStatistics: number;
|
|
325
345
|
shipModelMin: number;
|
|
326
346
|
shipModelMax: number;
|
|
347
|
+
markerPosition: number;
|
|
327
348
|
};
|
|
328
349
|
projection: {
|
|
329
350
|
data: string;
|
|
@@ -372,5 +393,4 @@ export declare const ZhMap: {
|
|
|
372
393
|
toolPanel?(_: {}): any;
|
|
373
394
|
};
|
|
374
395
|
}) & import('vue').Plugin;
|
|
375
|
-
export * from './render/renderPoint.ts';
|
|
376
396
|
export * from './config';
|
|
@@ -4,8 +4,10 @@ import { ShipTrack } from '../../interface';
|
|
|
4
4
|
import { Ref } from 'vue';
|
|
5
5
|
|
|
6
6
|
export declare const renderTrackStyleSetInstance: (instance: Ref<MapType>) => Ref<MapType, MapType>;
|
|
7
|
-
export declare const renderTrackLine: (data:
|
|
7
|
+
export declare const renderTrackLine: (data: {
|
|
8
|
+
[key: string]: ShipTrack[];
|
|
9
|
+
}, id: string, trackColor: string) => void;
|
|
8
10
|
export declare const handlePlay: (id: string, speed: number) => void;
|
|
9
|
-
export declare const removeShipTrackLineFeatureByIndex: (index: number) => void;
|
|
11
|
+
export declare const removeShipTrackLineFeatureByIndex: (index: number, id: string) => void;
|
|
10
12
|
export declare const stopAnimation: () => void;
|
|
11
13
|
export declare const setTrackLabelStyle: (featureData: ShipTrack, trackColor: string) => Style;
|
|
@@ -4,7 +4,7 @@ import { default as VectorLayer } from 'ol/layer/Vector';
|
|
|
4
4
|
import { default as WebGLPointsLayer } from 'ol/layer/WebGLPoints';
|
|
5
5
|
import { default as VectorSource } from 'ol/source/Vector';
|
|
6
6
|
import { Geometry } from 'ol/geom';
|
|
7
|
-
import { ShipInfoVo, ShipMapData } from '../interface';
|
|
7
|
+
import { ShipInfoVo, ShipTrack, ShipMapData } from '../interface';
|
|
8
8
|
|
|
9
9
|
export declare const mapInstance: Ref<MapType | undefined, MapType | undefined>;
|
|
10
10
|
export declare const shipsLayer: Ref<VectorLayer | undefined>;
|
|
@@ -22,7 +22,9 @@ export declare const trackLabelLayer: Ref<VectorLayer | undefined>;
|
|
|
22
22
|
export declare const shipLabels: Ref<any>;
|
|
23
23
|
export declare const trackLabels: Ref<any>;
|
|
24
24
|
export declare const showTrackLayer: Ref<boolean>;
|
|
25
|
-
export declare const allTracks: Ref<
|
|
25
|
+
export declare const allTracks: Ref<{
|
|
26
|
+
[key: string]: ShipTrack[];
|
|
27
|
+
}>;
|
|
26
28
|
export declare const currentTrackId: Ref<string>;
|
|
27
29
|
export declare const showTrackAnimatMarker: Ref<boolean>;
|
|
28
30
|
export declare const hiddenOrther: Ref<boolean>;
|
|
@@ -2,3 +2,4 @@ export declare const dateFormat: (str?: string | Date, format?: string) => strin
|
|
|
2
2
|
/**校验数字 */
|
|
3
3
|
export declare const validateNumber: (value: string | number) => boolean;
|
|
4
4
|
export declare function digitUppercase(n: number): string;
|
|
5
|
+
export declare function getForegroundColor(backgroundColor: string, threshold?: number): "white" | "black";
|