@glowjs/core 2023.10.9 → 2023.10.26
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/glow.core.js +1 -1
- package/dist/typings/base/Base.d.ts +24 -24
- package/dist/typings/base/IDisposable.d.ts +9 -9
- package/dist/typings/camera/AutoRotate.d.ts +36 -36
- package/dist/typings/camera/CameraCacheData.d.ts +21 -21
- package/dist/typings/camera/CameraMgr.d.ts +339 -339
- package/dist/typings/camera/CameraMode.d.ts +13 -13
- package/dist/typings/camera/CameraPerson.d.ts +13 -13
- package/dist/typings/camera/CustomArcRotateCameraKeyboardMoveInput.d.ts +28 -28
- package/dist/typings/camera/CustomArcRotateCameraMouseWheelInput.d.ts +17 -17
- package/dist/typings/camera/FlyData.d.ts +29 -29
- package/dist/typings/camera/OrthographicView.d.ts +21 -21
- package/dist/typings/core/App.d.ts +149 -149
- package/dist/typings/core/AppOptions.d.ts +35 -35
- package/dist/typings/core/Size.d.ts +13 -13
- package/dist/typings/core/create.d.ts +9 -9
- package/dist/typings/core/version.d.ts +1 -1
- package/dist/typings/effect/ColorCorrection.d.ts +129 -129
- package/dist/typings/effect/EffectMgr.d.ts +71 -71
- package/dist/typings/effect/EnvironmentTexture.d.ts +36 -36
- package/dist/typings/effect/EnvironmentTextureSource.d.ts +25 -25
- package/dist/typings/effect/Fog.d.ts +43 -43
- package/dist/typings/effect/FogMode.d.ts +21 -21
- package/dist/typings/effect/Glow.d.ts +43 -43
- package/dist/typings/effect/HighLight.d.ts +49 -49
- package/dist/typings/effect/ImageProcessing.d.ts +43 -43
- package/dist/typings/effect/Light.d.ts +20 -20
- package/dist/typings/effect/SkyBox.d.ts +73 -73
- package/dist/typings/effect/SkyBoxSource.d.ts +41 -41
- package/dist/typings/effect/ToneMappingType.d.ts +13 -13
- package/dist/typings/entity/Building.d.ts +129 -103
- package/dist/typings/entity/Campus.d.ts +35 -35
- package/dist/typings/entity/Corner.d.ts +43 -43
- package/dist/typings/entity/DecorateGrid.d.ts +35 -35
- package/dist/typings/entity/DoorWindow.d.ts +77 -77
- package/dist/typings/entity/DoorWindowDirection.d.ts +21 -21
- package/dist/typings/entity/Entity.d.ts +359 -359
- package/dist/typings/entity/EntityType.d.ts +65 -65
- package/dist/typings/entity/Floor.d.ts +109 -109
- package/dist/typings/entity/Group.d.ts +34 -34
- package/dist/typings/entity/LeakLine.d.ts +44 -44
- package/dist/typings/entity/LevelMgr.d.ts +84 -84
- package/dist/typings/entity/ManualWall.d.ts +85 -85
- package/dist/typings/entity/ManualWallBuilder.d.ts +157 -157
- package/dist/typings/entity/MeshFaceData.d.ts +25 -25
- package/dist/typings/entity/OtherEntity.d.ts +20 -20
- package/dist/typings/entity/Path.d.ts +1 -1
- package/dist/typings/entity/PrefabWall.d.ts +57 -57
- package/dist/typings/entity/Room.d.ts +167 -167
- package/dist/typings/entity/Text3D.d.ts +62 -62
- package/dist/typings/entity/Thing.d.ts +121 -121
- package/dist/typings/entity/Tracker.d.ts +34 -34
- package/dist/typings/entity/ViewInfo.d.ts +14 -14
- package/dist/typings/entity/Wall.d.ts +95 -95
- package/dist/typings/entity/building/initPoolingLoop.d.ts +6 -0
- package/dist/typings/entity/building/initPoolingMouse.d.ts +6 -0
- package/dist/typings/entity/component/Animator.d.ts +45 -45
- package/dist/typings/entity/component/AutoOpenDoor.d.ts +24 -24
- package/dist/typings/entity/component/Component.d.ts +17 -17
- package/dist/typings/entity/component/PathAnimation.d.ts +51 -51
- package/dist/typings/entity/component/Style.d.ts +47 -47
- package/dist/typings/entity/component/archive/ArchiveBox.d.ts +97 -97
- package/dist/typings/entity/component/archive/ArchiveCabinet.d.ts +98 -98
- package/dist/typings/entity/component/archive/ArchiveCabinetGroup.d.ts +154 -154
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupCount.d.ts +16 -16
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupState.d.ts +21 -21
- package/dist/typings/entity/component/archive/ArchiveDoor.d.ts +28 -28
- package/dist/typings/entity/component/archive/ArchiveGrid.d.ts +43 -43
- package/dist/typings/entity/component/archive/ArchiveMgr.d.ts +36 -36
- package/dist/typings/entity/component/archive/createArchiveGrid.d.ts +6 -6
- package/dist/typings/entity/component/archive/createColumnTag.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onAppMove.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onAppRightDoubleClick.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onGroupLeftDoubleClick.d.ts +8 -8
- package/dist/typings/entity/component/archive/events/onGroupPointerLeave.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onGroupRightClick.d.ts +8 -8
- package/dist/typings/entity/component/archive/events/onLevelChanged.d.ts +8 -8
- package/dist/typings/entity/component/archive/getCapacityOriginBox.d.ts +6 -6
- package/dist/typings/entity/component/cabinet/BoardCard.d.ts +63 -63
- package/dist/typings/entity/component/cabinet/Cabinet.d.ts +123 -123
- package/dist/typings/entity/component/cabinet/CabinetCapacityData.d.ts +17 -17
- package/dist/typings/entity/component/cabinet/CabinetMgr.d.ts +47 -47
- package/dist/typings/entity/component/cabinet/NetworkPort.d.ts +46 -46
- package/dist/typings/entity/component/cabinet/RackMounted.d.ts +106 -106
- package/dist/typings/entity/component/cabinet/ResImageSource.d.ts +13 -13
- package/dist/typings/entity/component/cabinet/events/onAppMove.d.ts +6 -6
- package/dist/typings/entity/component/cabinet/events/onAppRightDoubleClick.d.ts +6 -6
- package/dist/typings/entity/component/cabinet/events/onCabinetLeftDoubleClick.d.ts +7 -7
- package/dist/typings/entity/component/cabinet/events/onCabinetPointerLeave.d.ts +2 -2
- package/dist/typings/entity/component/cabinet/events/onCabinetRightClick.d.ts +3 -3
- package/dist/typings/entity/component/cabinet/events/onLevelChanged.d.ts +8 -8
- package/dist/typings/entity/component/heatmap/Heatmap.d.ts +56 -56
- package/dist/typings/entity/component/heatmap/HeatmapType.d.ts +17 -17
- package/dist/typings/entity/component/heatmap/buildHorizontal.d.ts +6 -6
- package/dist/typings/entity/component/heatmap/buildVertical.d.ts +6 -6
- package/dist/typings/entity/component/roaming/Roaming.d.ts +93 -93
- package/dist/typings/entity/component/roaming/pencil.d.ts +1 -1
- package/dist/typings/entity/path/Path.d.ts +48 -48
- package/dist/typings/entity/path/attachDrag.d.ts +2 -2
- package/dist/typings/entity/path/createLineMeshData.d.ts +3 -3
- package/dist/typings/entity/path/createPointInstance.d.ts +5 -5
- package/dist/typings/entity/path/detachDrag.d.ts +2 -2
- package/dist/typings/entity/path/dragData.d.ts +9 -9
- package/dist/typings/entity/path/getLineMaterial.d.ts +2 -2
- package/dist/typings/entity/placement.d.ts +20 -20
- package/dist/typings/entity/util/box.d.ts +9 -9
- package/dist/typings/entity/util/createManualWallEdgeMaterial.d.ts +8 -8
- package/dist/typings/entity/util/createManualWallFaceMaterial.d.ts +8 -8
- package/dist/typings/entity/util/createManualWallMesh.d.ts +12 -12
- package/dist/typings/entity/util/createMergedMesh.d.ts +13 -13
- package/dist/typings/entity/util/createPathArrowIcon.d.ts +4 -4
- package/dist/typings/entity/util/createPathCircleIcon.d.ts +4 -4
- package/dist/typings/entity/util/createRoomMaterial.d.ts +3 -3
- package/dist/typings/entity/util/createRoomMesh.d.ts +14 -14
- package/dist/typings/entity/util/getPathIconMesh.d.ts +7 -7
- package/dist/typings/entity/util/getPathLineMesh.d.ts +2 -2
- package/dist/typings/entity/util/getPerWeight.d.ts +6 -6
- package/dist/typings/entity/util/hideAllBoundingBox.d.ts +6 -6
- package/dist/typings/entity/util/setRes.d.ts +5 -5
- package/dist/typings/entity/util/smoothTube.d.ts +7 -7
- package/dist/typings/entity/util/technologyBuildingMaterial.d.ts +67 -67
- package/dist/typings/event/EventArg.d.ts +14 -14
- package/dist/typings/event/EventDispatcher.d.ts +67 -67
- package/dist/typings/event/EventMgr.d.ts +102 -102
- package/dist/typings/event/EventObject.d.ts +26 -26
- package/dist/typings/event/EventType.d.ts +161 -161
- package/dist/typings/event/KeyCode.d.ts +55 -55
- package/dist/typings/event/PropertyChangedData.d.ts +21 -21
- package/dist/typings/gui/Billboard.d.ts +104 -104
- package/dist/typings/gui/BillboardOptions.d.ts +62 -62
- package/dist/typings/gui/FPSBar.d.ts +25 -25
- package/dist/typings/gui/GUIMgr.d.ts +41 -41
- package/dist/typings/gui/GradientRectangle.d.ts +57 -57
- package/dist/typings/gui/LinkTip.d.ts +30 -30
- package/dist/typings/gui/PerformancePanel.d.ts +41 -41
- package/dist/typings/gui/RectangleProgress.d.ts +20 -20
- package/dist/typings/gui/ToolTip.d.ts +24 -24
- package/dist/typings/gui/getTextWidth.d.ts +6 -6
- package/dist/typings/index.d.ts +80 -80
- package/dist/typings/material/MaterialMgr.d.ts +18 -18
- package/dist/typings/misc/Point2D.d.ts +4 -4
- package/dist/typings/misc/Point3D.d.ts +4 -4
- package/dist/typings/misc/Point4D.d.ts +4 -4
- package/dist/typings/misc/SystemResId.d.ts +85 -85
- package/dist/typings/misc/blobToDataURL.d.ts +5 -5
- package/dist/typings/misc/cookie.d.ts +17 -17
- package/dist/typings/misc/dataURLtoBlob.d.ts +5 -5
- package/dist/typings/misc/getQueryString.d.ts +5 -5
- package/dist/typings/misc/guid.d.ts +21 -21
- package/dist/typings/misc/http.d.ts +46 -46
- package/dist/typings/misc/index.d.ts +15 -15
- package/dist/typings/misc/isHexColor.d.ts +5 -5
- package/dist/typings/misc/isLAN.d.ts +4 -4
- package/dist/typings/misc/math/Line.d.ts +5 -5
- package/dist/typings/misc/math/Point.d.ts +7 -7
- package/dist/typings/misc/math/compare/EPSILON.d.ts +4 -4
- package/dist/typings/misc/math/compare/greateThanOrEqual.d.ts +8 -8
- package/dist/typings/misc/math/compare/greaterThan.d.ts +7 -7
- package/dist/typings/misc/math/compare/lessThan.d.ts +7 -7
- package/dist/typings/misc/math/compare/lessThanOrEqual.d.ts +7 -7
- package/dist/typings/misc/math/compare/withinEpsilon.d.ts +9 -9
- package/dist/typings/misc/math/index.d.ts +34 -34
- package/dist/typings/misc/math/line/distanceToParallelLine.d.ts +7 -7
- package/dist/typings/misc/math/line/distanceToProjection.d.ts +8 -8
- package/dist/typings/misc/math/line/getLineIntersection.d.ts +9 -9
- package/dist/typings/misc/math/line/isLineParallel.d.ts +7 -7
- package/dist/typings/misc/math/line/project.d.ts +8 -8
- package/dist/typings/misc/math/line/relateToPoint.d.ts +8 -8
- package/dist/typings/misc/math/round.d.ts +6 -6
- package/dist/typings/misc/math/segment/getSegmentIntersection.d.ts +8 -8
- package/dist/typings/misc/math/segment/getSegmentPartIncludePoint.d.ts +8 -8
- package/dist/typings/misc/math/segment/onSegment.d.ts +8 -8
- package/dist/typings/misc/math/segment/segmentFullInclude.d.ts +8 -8
- package/dist/typings/misc/math/vec/addTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/angleTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/centerTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/cross.d.ts +7 -7
- package/dist/typings/misc/math/vec/distanceTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/dot.d.ts +7 -7
- package/dist/typings/misc/math/vec/ignoreYAxis.d.ts +7 -7
- package/dist/typings/misc/math/vec/isClockwise.d.ts +6 -6
- package/dist/typings/misc/math/vec/lengthTo.d.ts +6 -6
- package/dist/typings/misc/math/vec/multiplyTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/normalizeTo.d.ts +6 -6
- package/dist/typings/misc/math/vec/scaleTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/subtractTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/toPoint.d.ts +8 -8
- package/dist/typings/misc/math/vec/toVector3.d.ts +7 -7
- package/dist/typings/misc/math/vec/verticalVector.d.ts +7 -7
- package/dist/typings/misc/object.d.ts +16 -16
- package/dist/typings/misc/randomColor.d.ts +4 -4
- package/dist/typings/misc/to.d.ts +5 -5
- package/dist/typings/res/ResCacheData.d.ts +14 -14
- package/dist/typings/res/ResOptions.d.ts +75 -75
- package/dist/typings/res/ResPool.d.ts +57 -57
- package/dist/typings/res/registerBuffer.d.ts +6 -6
- package/dist/typings/res/replaceInstancedMesh.d.ts +6 -6
- package/dist/typings/runtime/RunTime.d.ts +184 -173
- package/dist/typings/runtime/babylonjs/babylonjs-core.d.ts +73 -73
- package/dist/typings/runtime/babylonjs/babylonjs-gui.d.ts +12 -12
- package/dist/typings/runtime/babylonjs/babylonjs-loaders.d.ts +1 -1
- package/dist/typings/runtime/babylonjs/babylonjs-materials.d.ts +1 -1
- package/dist/typings/runtime/index.d.ts +8 -8
- package/dist/typings/runtime/tweenjs/index.d.ts +1 -1
- package/package.json +16 -16
package/dist/typings/index.d.ts
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
export * from './runtime';
|
|
2
|
-
import { version } from './core/version';
|
|
3
|
-
export { version };
|
|
4
|
-
export { Base } from './base/Base';
|
|
5
|
-
export { Entity } from './entity/Entity';
|
|
6
|
-
export type { IDisposable } from './base/IDisposable';
|
|
7
|
-
export type { ViewInfo } from './entity/ViewInfo';
|
|
8
|
-
export { CameraMgr } from './camera/CameraMgr';
|
|
9
|
-
export type { FlyData } from './camera/FlyData';
|
|
10
|
-
export { CameraMode } from './camera/CameraMode';
|
|
11
|
-
export { CameraPerson } from './camera/CameraPerson';
|
|
12
|
-
export { OrthographicView } from './camera/OrthographicView';
|
|
13
|
-
export { App } from './core/App';
|
|
14
|
-
export type { AppOptions } from './core/AppOptions';
|
|
15
|
-
export type { Size } from './core/Size';
|
|
16
|
-
export { ColorCorrection } from './effect/ColorCorrection';
|
|
17
|
-
export { EffectMgr } from './effect/EffectMgr';
|
|
18
|
-
export { EnvironmentTextureSource } from './effect/EnvironmentTextureSource';
|
|
19
|
-
export { SkyBox } from './effect/SkyBox';
|
|
20
|
-
export { SkyBoxSource } from './effect/SkyBoxSource';
|
|
21
|
-
export { FogMode } from './effect/FogMode';
|
|
22
|
-
export { Fog } from './effect/Fog';
|
|
23
|
-
export type { EventArg } from './event/EventArg';
|
|
24
|
-
export { EventDispatcher } from './event/EventDispatcher';
|
|
25
|
-
export { EventMgr } from './event/EventMgr';
|
|
26
|
-
export type { EventObject } from './event/EventObject';
|
|
27
|
-
export { EventType } from './event/EventType';
|
|
28
|
-
export type { PropertyChangedData } from './event/PropertyChangedData';
|
|
29
|
-
export { KeyCode } from './event/KeyCode';
|
|
30
|
-
export { Billboard } from './gui/Billboard';
|
|
31
|
-
export type { BillboardOptions } from './gui/BillboardOptions';
|
|
32
|
-
export { FPSBar } from './gui/FPSBar';
|
|
33
|
-
export { GUIMgr } from './gui/GUIMgr';
|
|
34
|
-
export { GradientRectangle } from './gui/GradientRectangle';
|
|
35
|
-
export { RectangleProgress } from './gui/RectangleProgress';
|
|
36
|
-
export { Building } from './entity/Building';
|
|
37
|
-
export { Campus } from './entity/Campus';
|
|
38
|
-
export { LevelMgr } from './entity/LevelMgr';
|
|
39
|
-
export { Corner } from './entity/Corner';
|
|
40
|
-
export { DoorWindow } from './entity/DoorWindow';
|
|
41
|
-
export { Floor } from './entity/Floor';
|
|
42
|
-
export { ManualWall } from './entity/ManualWall';
|
|
43
|
-
export { PrefabWall } from './entity/PrefabWall';
|
|
44
|
-
export { Room } from './entity/Room';
|
|
45
|
-
export { Wall } from './entity/Wall';
|
|
46
|
-
export { LeakLine } from './entity/LeakLine';
|
|
47
|
-
export { Text3D } from './entity/Text3D';
|
|
48
|
-
export * from './entity/placement';
|
|
49
|
-
export { EntityType } from './entity/EntityType';
|
|
50
|
-
export { DoorWindowDirection } from './entity/DoorWindowDirection';
|
|
51
|
-
export { Path } from './entity/Path';
|
|
52
|
-
export { Group } from './entity/Group';
|
|
53
|
-
export { Thing } from './entity/Thing';
|
|
54
|
-
export { DecorateGrid } from './entity/DecorateGrid';
|
|
55
|
-
export { Component } from './entity/component/Component';
|
|
56
|
-
export { Style } from './entity/component/Style';
|
|
57
|
-
export { Animator } from './entity/component/Animator';
|
|
58
|
-
export { Heatmap } from './entity/component/heatmap/Heatmap';
|
|
59
|
-
export { HeatmapType } from './entity/component/heatmap/HeatmapType';
|
|
60
|
-
export { PathAnimation } from './entity/component/PathAnimation';
|
|
61
|
-
export { Roaming } from './entity/component/roaming/Roaming';
|
|
62
|
-
export { Cabinet } from './entity/component/cabinet/Cabinet';
|
|
63
|
-
export { RackMounted } from './entity/component/cabinet/RackMounted';
|
|
64
|
-
export { BoardCard } from './entity/component/cabinet/BoardCard';
|
|
65
|
-
export { NetworkPort } from './entity/component/cabinet/NetworkPort';
|
|
66
|
-
export { ResImageSource } from './entity/component/cabinet/ResImageSource';
|
|
67
|
-
export { ArchiveMgr } from './entity/component/archive/ArchiveMgr';
|
|
68
|
-
export { ArchiveCabinetGroup } from './entity/component/archive/ArchiveCabinetGroup';
|
|
69
|
-
export { ArchiveCabinet } from './entity/component/archive/ArchiveCabinet';
|
|
70
|
-
export { ArchiveGrid } from './entity/component/archive/ArchiveGrid';
|
|
71
|
-
export { ArchiveBox } from './entity/component/archive/ArchiveBox';
|
|
72
|
-
export { ArchiveCabinetGroupCount } from './entity/component/archive/ArchiveCabinetGroupCount';
|
|
73
|
-
export { CabinetMgr } from './entity/component/cabinet/CabinetMgr';
|
|
74
|
-
export { CabinetCapacityData } from './entity/component/cabinet/CabinetCapacityData';
|
|
75
|
-
export { MaterialMgr } from './material/MaterialMgr';
|
|
76
|
-
export { Link } from './link/Link';
|
|
77
|
-
export { LinkMgr } from './link/LinkMgr';
|
|
78
|
-
export { ResPool } from './res/ResPool';
|
|
79
|
-
export type { ResOptions } from './res/ResOptions';
|
|
80
|
-
export * from './misc';
|
|
1
|
+
export * from './runtime';
|
|
2
|
+
import { version } from './core/version';
|
|
3
|
+
export { version };
|
|
4
|
+
export { Base } from './base/Base';
|
|
5
|
+
export { Entity } from './entity/Entity';
|
|
6
|
+
export type { IDisposable } from './base/IDisposable';
|
|
7
|
+
export type { ViewInfo } from './entity/ViewInfo';
|
|
8
|
+
export { CameraMgr } from './camera/CameraMgr';
|
|
9
|
+
export type { FlyData } from './camera/FlyData';
|
|
10
|
+
export { CameraMode } from './camera/CameraMode';
|
|
11
|
+
export { CameraPerson } from './camera/CameraPerson';
|
|
12
|
+
export { OrthographicView } from './camera/OrthographicView';
|
|
13
|
+
export { App } from './core/App';
|
|
14
|
+
export type { AppOptions } from './core/AppOptions';
|
|
15
|
+
export type { Size } from './core/Size';
|
|
16
|
+
export { ColorCorrection } from './effect/ColorCorrection';
|
|
17
|
+
export { EffectMgr } from './effect/EffectMgr';
|
|
18
|
+
export { EnvironmentTextureSource } from './effect/EnvironmentTextureSource';
|
|
19
|
+
export { SkyBox } from './effect/SkyBox';
|
|
20
|
+
export { SkyBoxSource } from './effect/SkyBoxSource';
|
|
21
|
+
export { FogMode } from './effect/FogMode';
|
|
22
|
+
export { Fog } from './effect/Fog';
|
|
23
|
+
export type { EventArg } from './event/EventArg';
|
|
24
|
+
export { EventDispatcher } from './event/EventDispatcher';
|
|
25
|
+
export { EventMgr } from './event/EventMgr';
|
|
26
|
+
export type { EventObject } from './event/EventObject';
|
|
27
|
+
export { EventType } from './event/EventType';
|
|
28
|
+
export type { PropertyChangedData } from './event/PropertyChangedData';
|
|
29
|
+
export { KeyCode } from './event/KeyCode';
|
|
30
|
+
export { Billboard } from './gui/Billboard';
|
|
31
|
+
export type { BillboardOptions } from './gui/BillboardOptions';
|
|
32
|
+
export { FPSBar } from './gui/FPSBar';
|
|
33
|
+
export { GUIMgr } from './gui/GUIMgr';
|
|
34
|
+
export { GradientRectangle } from './gui/GradientRectangle';
|
|
35
|
+
export { RectangleProgress } from './gui/RectangleProgress';
|
|
36
|
+
export { Building } from './entity/Building';
|
|
37
|
+
export { Campus } from './entity/Campus';
|
|
38
|
+
export { LevelMgr } from './entity/LevelMgr';
|
|
39
|
+
export { Corner } from './entity/Corner';
|
|
40
|
+
export { DoorWindow } from './entity/DoorWindow';
|
|
41
|
+
export { Floor } from './entity/Floor';
|
|
42
|
+
export { ManualWall } from './entity/ManualWall';
|
|
43
|
+
export { PrefabWall } from './entity/PrefabWall';
|
|
44
|
+
export { Room } from './entity/Room';
|
|
45
|
+
export { Wall } from './entity/Wall';
|
|
46
|
+
export { LeakLine } from './entity/LeakLine';
|
|
47
|
+
export { Text3D } from './entity/Text3D';
|
|
48
|
+
export * from './entity/placement';
|
|
49
|
+
export { EntityType } from './entity/EntityType';
|
|
50
|
+
export { DoorWindowDirection } from './entity/DoorWindowDirection';
|
|
51
|
+
export { Path } from './entity/Path';
|
|
52
|
+
export { Group } from './entity/Group';
|
|
53
|
+
export { Thing } from './entity/Thing';
|
|
54
|
+
export { DecorateGrid } from './entity/DecorateGrid';
|
|
55
|
+
export { Component } from './entity/component/Component';
|
|
56
|
+
export { Style } from './entity/component/Style';
|
|
57
|
+
export { Animator } from './entity/component/Animator';
|
|
58
|
+
export { Heatmap } from './entity/component/heatmap/Heatmap';
|
|
59
|
+
export { HeatmapType } from './entity/component/heatmap/HeatmapType';
|
|
60
|
+
export { PathAnimation } from './entity/component/PathAnimation';
|
|
61
|
+
export { Roaming } from './entity/component/roaming/Roaming';
|
|
62
|
+
export { Cabinet } from './entity/component/cabinet/Cabinet';
|
|
63
|
+
export { RackMounted } from './entity/component/cabinet/RackMounted';
|
|
64
|
+
export { BoardCard } from './entity/component/cabinet/BoardCard';
|
|
65
|
+
export { NetworkPort } from './entity/component/cabinet/NetworkPort';
|
|
66
|
+
export { ResImageSource } from './entity/component/cabinet/ResImageSource';
|
|
67
|
+
export { ArchiveMgr } from './entity/component/archive/ArchiveMgr';
|
|
68
|
+
export { ArchiveCabinetGroup } from './entity/component/archive/ArchiveCabinetGroup';
|
|
69
|
+
export { ArchiveCabinet } from './entity/component/archive/ArchiveCabinet';
|
|
70
|
+
export { ArchiveGrid } from './entity/component/archive/ArchiveGrid';
|
|
71
|
+
export { ArchiveBox } from './entity/component/archive/ArchiveBox';
|
|
72
|
+
export { ArchiveCabinetGroupCount } from './entity/component/archive/ArchiveCabinetGroupCount';
|
|
73
|
+
export { CabinetMgr } from './entity/component/cabinet/CabinetMgr';
|
|
74
|
+
export { CabinetCapacityData } from './entity/component/cabinet/CabinetCapacityData';
|
|
75
|
+
export { MaterialMgr } from './material/MaterialMgr';
|
|
76
|
+
export { Link } from './link/Link';
|
|
77
|
+
export { LinkMgr } from './link/LinkMgr';
|
|
78
|
+
export { ResPool } from './res/ResPool';
|
|
79
|
+
export type { ResOptions } from './res/ResOptions';
|
|
80
|
+
export * from './misc';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { NodeMaterial } from '../runtime';
|
|
2
|
-
import { Base } from '../base/Base';
|
|
3
|
-
import { App } from '../core/App';
|
|
4
|
-
/**
|
|
5
|
-
* 材质管理器
|
|
6
|
-
*/
|
|
7
|
-
export declare class MaterialMgr extends Base {
|
|
8
|
-
/**
|
|
9
|
-
* 实例化一个材质管理器对象
|
|
10
|
-
* @param app 应用对象
|
|
11
|
-
*/
|
|
12
|
-
constructor(app: App);
|
|
13
|
-
/**
|
|
14
|
-
* 创建节点材质
|
|
15
|
-
* @param fileName 文件名称
|
|
16
|
-
*/
|
|
17
|
-
createNodeMaterial(fileName: string): Promise<NodeMaterial>;
|
|
18
|
-
}
|
|
1
|
+
import { NodeMaterial } from '../runtime';
|
|
2
|
+
import { Base } from '../base/Base';
|
|
3
|
+
import { App } from '../core/App';
|
|
4
|
+
/**
|
|
5
|
+
* 材质管理器
|
|
6
|
+
*/
|
|
7
|
+
export declare class MaterialMgr extends Base {
|
|
8
|
+
/**
|
|
9
|
+
* 实例化一个材质管理器对象
|
|
10
|
+
* @param app 应用对象
|
|
11
|
+
*/
|
|
12
|
+
constructor(app: App);
|
|
13
|
+
/**
|
|
14
|
+
* 创建节点材质
|
|
15
|
+
* @param fileName 文件名称
|
|
16
|
+
*/
|
|
17
|
+
createNodeMaterial(fileName: string): Promise<NodeMaterial>;
|
|
18
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 二维点
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* 二维点
|
|
3
|
+
*/
|
|
4
|
+
export type Point2D = [number, number];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 三维点
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* 三维点
|
|
3
|
+
*/
|
|
4
|
+
export type Point3D = [number, number, number];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 四维点
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* 四维点
|
|
3
|
+
*/
|
|
4
|
+
export type Point4D = [number, number, number, number];
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 系统内置资源ID枚举
|
|
3
|
-
*/
|
|
4
|
-
export declare enum SystemResId {
|
|
5
|
-
/**
|
|
6
|
-
* 自定义建筑
|
|
7
|
-
*/
|
|
8
|
-
CustomBuilding = "939abce2ec996ceb17190ba2915229d2",
|
|
9
|
-
/**
|
|
10
|
-
* 普通墙
|
|
11
|
-
*/
|
|
12
|
-
ManualWall = "05bb16a31bb5e03d5f8fca9d2c9bfa7c",
|
|
13
|
-
/**
|
|
14
|
-
* 3D文本
|
|
15
|
-
*/
|
|
16
|
-
Text = "b9d2a3e98a044d828241a55674d12fb3",
|
|
17
|
-
/**
|
|
18
|
-
* 圈地(无框)
|
|
19
|
-
*/
|
|
20
|
-
Wall = "a4fd143c58ea17e7aeb20dab344c0231",
|
|
21
|
-
/**
|
|
22
|
-
* 普通墙贴图(科技风)
|
|
23
|
-
*/
|
|
24
|
-
ManualWallTexture = "725c7996b1978d0bd1484d551d777e58",
|
|
25
|
-
/**
|
|
26
|
-
* 默认楼顶贴图
|
|
27
|
-
*/
|
|
28
|
-
DefaultRoofTexture = "430eab360b8a4e371d1fb62ba2dfae9b",
|
|
29
|
-
/**
|
|
30
|
-
* 默认天花板贴图
|
|
31
|
-
*/
|
|
32
|
-
DefaultCeilingTexture = "bd68f59792c7af353b47b68eeb43b36c",
|
|
33
|
-
/**
|
|
34
|
-
* 默认地板贴图(科技风)
|
|
35
|
-
*/
|
|
36
|
-
DefaultFloorTexture = "3743334a2ed2df2ad6e2a2f221f87e58",
|
|
37
|
-
/**
|
|
38
|
-
* 漏水线贴图
|
|
39
|
-
*/
|
|
40
|
-
LeakLineTexture = "bc17b3c748934e2e3a4a71095a2164bd",
|
|
41
|
-
/**
|
|
42
|
-
* 漏水线
|
|
43
|
-
*/
|
|
44
|
-
LeakLine = "23bbbdc49de5e85d7db29b7e78097557",
|
|
45
|
-
/**
|
|
46
|
-
* 热力图材质
|
|
47
|
-
*/
|
|
48
|
-
HeatmapMaterial = "8b103036eb2573bcd08348a58adc5ded",
|
|
49
|
-
/**
|
|
50
|
-
* 热力图烟雾贴图
|
|
51
|
-
*/
|
|
52
|
-
HeatmapSmokeTexture = "42656a9c6ff1fb39bc10c4395c94b01c",
|
|
53
|
-
/**
|
|
54
|
-
* 场景漫游人物
|
|
55
|
-
*/
|
|
56
|
-
SceneRoamingMan = "fa9c8432405a757bf3dcdd13d93976a3",
|
|
57
|
-
/**
|
|
58
|
-
* 路径
|
|
59
|
-
*/
|
|
60
|
-
Path = "fb5819545e6e92a24c417eb95e0f6a3a",
|
|
61
|
-
/**
|
|
62
|
-
* 数据点位
|
|
63
|
-
*/
|
|
64
|
-
DataPoint = "7cb64f7ab6119aba1233605791776c78",
|
|
65
|
-
/**
|
|
66
|
-
* 链接
|
|
67
|
-
*/
|
|
68
|
-
Link = "36ada31beac6807eef7bcddc12ddb5f3",
|
|
69
|
-
/**
|
|
70
|
-
* 网口
|
|
71
|
-
*/
|
|
72
|
-
NetworkPort = "cf1a7ec6257196ca660298ec798ebba5",
|
|
73
|
-
/**
|
|
74
|
-
* 跟踪器
|
|
75
|
-
*/
|
|
76
|
-
Tracker = "772ffd17c14eca5c7734eb1d831e2749",
|
|
77
|
-
/**
|
|
78
|
-
* 玻璃墙
|
|
79
|
-
*/
|
|
80
|
-
GlassWall = "8ed99c9d8cf0eb081e863a201cce3d1f",
|
|
81
|
-
/**
|
|
82
|
-
* 装饰线框
|
|
83
|
-
*/
|
|
84
|
-
DecorateGrid = "aeb46e27018fa8aef1ab9809c442167f"
|
|
85
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 系统内置资源ID枚举
|
|
3
|
+
*/
|
|
4
|
+
export declare enum SystemResId {
|
|
5
|
+
/**
|
|
6
|
+
* 自定义建筑
|
|
7
|
+
*/
|
|
8
|
+
CustomBuilding = "939abce2ec996ceb17190ba2915229d2",
|
|
9
|
+
/**
|
|
10
|
+
* 普通墙
|
|
11
|
+
*/
|
|
12
|
+
ManualWall = "05bb16a31bb5e03d5f8fca9d2c9bfa7c",
|
|
13
|
+
/**
|
|
14
|
+
* 3D文本
|
|
15
|
+
*/
|
|
16
|
+
Text = "b9d2a3e98a044d828241a55674d12fb3",
|
|
17
|
+
/**
|
|
18
|
+
* 圈地(无框)
|
|
19
|
+
*/
|
|
20
|
+
Wall = "a4fd143c58ea17e7aeb20dab344c0231",
|
|
21
|
+
/**
|
|
22
|
+
* 普通墙贴图(科技风)
|
|
23
|
+
*/
|
|
24
|
+
ManualWallTexture = "725c7996b1978d0bd1484d551d777e58",
|
|
25
|
+
/**
|
|
26
|
+
* 默认楼顶贴图
|
|
27
|
+
*/
|
|
28
|
+
DefaultRoofTexture = "430eab360b8a4e371d1fb62ba2dfae9b",
|
|
29
|
+
/**
|
|
30
|
+
* 默认天花板贴图
|
|
31
|
+
*/
|
|
32
|
+
DefaultCeilingTexture = "bd68f59792c7af353b47b68eeb43b36c",
|
|
33
|
+
/**
|
|
34
|
+
* 默认地板贴图(科技风)
|
|
35
|
+
*/
|
|
36
|
+
DefaultFloorTexture = "3743334a2ed2df2ad6e2a2f221f87e58",
|
|
37
|
+
/**
|
|
38
|
+
* 漏水线贴图
|
|
39
|
+
*/
|
|
40
|
+
LeakLineTexture = "bc17b3c748934e2e3a4a71095a2164bd",
|
|
41
|
+
/**
|
|
42
|
+
* 漏水线
|
|
43
|
+
*/
|
|
44
|
+
LeakLine = "23bbbdc49de5e85d7db29b7e78097557",
|
|
45
|
+
/**
|
|
46
|
+
* 热力图材质
|
|
47
|
+
*/
|
|
48
|
+
HeatmapMaterial = "8b103036eb2573bcd08348a58adc5ded",
|
|
49
|
+
/**
|
|
50
|
+
* 热力图烟雾贴图
|
|
51
|
+
*/
|
|
52
|
+
HeatmapSmokeTexture = "42656a9c6ff1fb39bc10c4395c94b01c",
|
|
53
|
+
/**
|
|
54
|
+
* 场景漫游人物
|
|
55
|
+
*/
|
|
56
|
+
SceneRoamingMan = "fa9c8432405a757bf3dcdd13d93976a3",
|
|
57
|
+
/**
|
|
58
|
+
* 路径
|
|
59
|
+
*/
|
|
60
|
+
Path = "fb5819545e6e92a24c417eb95e0f6a3a",
|
|
61
|
+
/**
|
|
62
|
+
* 数据点位
|
|
63
|
+
*/
|
|
64
|
+
DataPoint = "7cb64f7ab6119aba1233605791776c78",
|
|
65
|
+
/**
|
|
66
|
+
* 链接
|
|
67
|
+
*/
|
|
68
|
+
Link = "36ada31beac6807eef7bcddc12ddb5f3",
|
|
69
|
+
/**
|
|
70
|
+
* 网口
|
|
71
|
+
*/
|
|
72
|
+
NetworkPort = "cf1a7ec6257196ca660298ec798ebba5",
|
|
73
|
+
/**
|
|
74
|
+
* 跟踪器
|
|
75
|
+
*/
|
|
76
|
+
Tracker = "772ffd17c14eca5c7734eb1d831e2749",
|
|
77
|
+
/**
|
|
78
|
+
* 玻璃墙
|
|
79
|
+
*/
|
|
80
|
+
GlassWall = "8ed99c9d8cf0eb081e863a201cce3d1f",
|
|
81
|
+
/**
|
|
82
|
+
* 装饰线框
|
|
83
|
+
*/
|
|
84
|
+
DecorateGrid = "aeb46e27018fa8aef1ab9809c442167f"
|
|
85
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Blob转BASE64
|
|
3
|
-
* @param blob Blob
|
|
4
|
-
*/
|
|
5
|
-
export declare function blobToDataURL(blob: Blob): Promise<string>;
|
|
1
|
+
/**
|
|
2
|
+
* Blob转BASE64
|
|
3
|
+
* @param blob Blob
|
|
4
|
+
*/
|
|
5
|
+
export declare function blobToDataURL(blob: Blob): Promise<string>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 设置Cookie
|
|
3
|
-
* @param {string} key 键
|
|
4
|
-
* @param {string} value 值
|
|
5
|
-
* @param {number} minutes 过期时间(分钟)
|
|
6
|
-
*/
|
|
7
|
-
export declare function setCookie(key: string, value: string, minutes: number): void;
|
|
8
|
-
/**
|
|
9
|
-
* 获取指定键的Cookie
|
|
10
|
-
* @param {string} key 键
|
|
11
|
-
*/
|
|
12
|
-
export declare function getCookie(key: string): string;
|
|
13
|
-
/**
|
|
14
|
-
* 删除指定的键
|
|
15
|
-
* @param {string} key 键
|
|
16
|
-
*/
|
|
17
|
-
export declare function delCookie(key: string): void;
|
|
1
|
+
/**
|
|
2
|
+
* 设置Cookie
|
|
3
|
+
* @param {string} key 键
|
|
4
|
+
* @param {string} value 值
|
|
5
|
+
* @param {number} minutes 过期时间(分钟)
|
|
6
|
+
*/
|
|
7
|
+
export declare function setCookie(key: string, value: string, minutes: number): void;
|
|
8
|
+
/**
|
|
9
|
+
* 获取指定键的Cookie
|
|
10
|
+
* @param {string} key 键
|
|
11
|
+
*/
|
|
12
|
+
export declare function getCookie(key: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* 删除指定的键
|
|
15
|
+
* @param {string} key 键
|
|
16
|
+
*/
|
|
17
|
+
export declare function delCookie(key: string): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BASE64转Blob
|
|
3
|
-
* @param dataURL BASE64字符串
|
|
4
|
-
*/
|
|
5
|
-
export declare function dataURLtoBlob(dataURL: string): Blob;
|
|
1
|
+
/**
|
|
2
|
+
* BASE64转Blob
|
|
3
|
+
* @param dataURL BASE64字符串
|
|
4
|
+
*/
|
|
5
|
+
export declare function dataURLtoBlob(dataURL: string): Blob;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 获取URL指定名称的参数值
|
|
3
|
-
* @param name 参数名称
|
|
4
|
-
*/
|
|
5
|
-
export declare function getQueryString(name: string): string;
|
|
1
|
+
/**
|
|
2
|
+
* 获取URL指定名称的参数值
|
|
3
|
+
* @param name 参数名称
|
|
4
|
+
*/
|
|
5
|
+
export declare function getQueryString(name: string): string;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 生成一个指定长度的GUID字符串
|
|
3
|
-
* @param length 长度
|
|
4
|
-
* @returns GUID字符串
|
|
5
|
-
*/
|
|
6
|
-
export declare function newGuid(length: number): string;
|
|
7
|
-
/**
|
|
8
|
-
* 生成一个8位长度的GUID字符串
|
|
9
|
-
* @returns GUID字符串
|
|
10
|
-
*/
|
|
11
|
-
export declare function newGuid8(): string;
|
|
12
|
-
/**
|
|
13
|
-
* 生成一个16位长度的GUID字符串
|
|
14
|
-
* @returns GUID字符串
|
|
15
|
-
*/
|
|
16
|
-
export declare function newGuid16(): string;
|
|
17
|
-
/**
|
|
18
|
-
* 生成一个32位长度的GUID字符串
|
|
19
|
-
* @returns GUID字符串
|
|
20
|
-
*/
|
|
21
|
-
export declare function newGuid32(): string;
|
|
1
|
+
/**
|
|
2
|
+
* 生成一个指定长度的GUID字符串
|
|
3
|
+
* @param length 长度
|
|
4
|
+
* @returns GUID字符串
|
|
5
|
+
*/
|
|
6
|
+
export declare function newGuid(length: number): string;
|
|
7
|
+
/**
|
|
8
|
+
* 生成一个8位长度的GUID字符串
|
|
9
|
+
* @returns GUID字符串
|
|
10
|
+
*/
|
|
11
|
+
export declare function newGuid8(): string;
|
|
12
|
+
/**
|
|
13
|
+
* 生成一个16位长度的GUID字符串
|
|
14
|
+
* @returns GUID字符串
|
|
15
|
+
*/
|
|
16
|
+
export declare function newGuid16(): string;
|
|
17
|
+
/**
|
|
18
|
+
* 生成一个32位长度的GUID字符串
|
|
19
|
+
* @returns GUID字符串
|
|
20
|
+
*/
|
|
21
|
+
export declare function newGuid32(): string;
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AJAX
|
|
3
|
-
* @param method HTTP请求的方法
|
|
4
|
-
* @param url URL地址
|
|
5
|
-
* @param data 发送的数据,可以是字符串或者表单数据
|
|
6
|
-
* @param arraybuffer 是否返回二进制
|
|
7
|
-
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
8
|
-
*/
|
|
9
|
-
export declare function ajax(method: 'GET' | 'POST', url: string, data?: string | FormData, arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
10
|
-
/**
|
|
11
|
-
* 发送HTTP GET请求,返回文本或二进制数据
|
|
12
|
-
* @param url URL地址
|
|
13
|
-
* @param arraybuffer 是否返回二进制
|
|
14
|
-
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
15
|
-
*/
|
|
16
|
-
export declare function get(url: string, arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
17
|
-
/**
|
|
18
|
-
* 发送HTTP GET请求,返回JSON对象
|
|
19
|
-
* @param url URL地址
|
|
20
|
-
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
21
|
-
*/
|
|
22
|
-
export declare function getJson(url: string, onProgress?: (progress: number) => void): Promise<string | undefined>;
|
|
23
|
-
/**
|
|
24
|
-
* 发送HTTP POST请求,返回文本或二进制数据
|
|
25
|
-
* @param url URL地址
|
|
26
|
-
* @param data 数据,可以是字符串或者表单数据
|
|
27
|
-
* @param arraybuffer 是否返回二进制
|
|
28
|
-
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
29
|
-
*/
|
|
30
|
-
export declare function post(url: string, data: string | FormData, arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
31
|
-
/**
|
|
32
|
-
* HTTP POST上传单个文件
|
|
33
|
-
* @param url URL地址
|
|
34
|
-
* @param fileData 文件数据
|
|
35
|
-
* @param arraybuffer 是否返回二进制
|
|
36
|
-
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
37
|
-
*/
|
|
38
|
-
export declare function postFile(url: string, fileData: any, arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
39
|
-
/**
|
|
40
|
-
* HTTP POST上传多个文件
|
|
41
|
-
* @param url URL地址
|
|
42
|
-
* @param fileDatas 文件数据数组
|
|
43
|
-
* @param arraybuffer 是否返回二进制
|
|
44
|
-
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
45
|
-
*/
|
|
46
|
-
export declare function postFiles(url: string, fileDatas: any[], arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
1
|
+
/**
|
|
2
|
+
* AJAX
|
|
3
|
+
* @param method HTTP请求的方法
|
|
4
|
+
* @param url URL地址
|
|
5
|
+
* @param data 发送的数据,可以是字符串或者表单数据
|
|
6
|
+
* @param arraybuffer 是否返回二进制
|
|
7
|
+
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
8
|
+
*/
|
|
9
|
+
export declare function ajax(method: 'GET' | 'POST', url: string, data?: string | FormData, arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
10
|
+
/**
|
|
11
|
+
* 发送HTTP GET请求,返回文本或二进制数据
|
|
12
|
+
* @param url URL地址
|
|
13
|
+
* @param arraybuffer 是否返回二进制
|
|
14
|
+
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
15
|
+
*/
|
|
16
|
+
export declare function get(url: string, arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
17
|
+
/**
|
|
18
|
+
* 发送HTTP GET请求,返回JSON对象
|
|
19
|
+
* @param url URL地址
|
|
20
|
+
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
21
|
+
*/
|
|
22
|
+
export declare function getJson(url: string, onProgress?: (progress: number) => void): Promise<string | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* 发送HTTP POST请求,返回文本或二进制数据
|
|
25
|
+
* @param url URL地址
|
|
26
|
+
* @param data 数据,可以是字符串或者表单数据
|
|
27
|
+
* @param arraybuffer 是否返回二进制
|
|
28
|
+
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
29
|
+
*/
|
|
30
|
+
export declare function post(url: string, data: string | FormData, arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* HTTP POST上传单个文件
|
|
33
|
+
* @param url URL地址
|
|
34
|
+
* @param fileData 文件数据
|
|
35
|
+
* @param arraybuffer 是否返回二进制
|
|
36
|
+
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
37
|
+
*/
|
|
38
|
+
export declare function postFile(url: string, fileData: any, arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* HTTP POST上传多个文件
|
|
41
|
+
* @param url URL地址
|
|
42
|
+
* @param fileDatas 文件数据数组
|
|
43
|
+
* @param arraybuffer 是否返回二进制
|
|
44
|
+
* @param onProgress 进度回调函数,函数参数为0~100之间的数值
|
|
45
|
+
*/
|
|
46
|
+
export declare function postFiles(url: string, fileDatas: any[], arraybuffer?: boolean, onProgress?: (progress: number) => void): Promise<string | ArrayBuffer | undefined>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from './blobToDataURL';
|
|
2
|
-
export * from './cookie';
|
|
3
|
-
export * from './dataURLtoBlob';
|
|
4
|
-
export * from './getQueryString';
|
|
5
|
-
export * from './guid';
|
|
6
|
-
export * from './http';
|
|
7
|
-
export * from './isHexColor';
|
|
8
|
-
export * from './isLAN';
|
|
9
|
-
export * from './object';
|
|
10
|
-
export * from './Point2D';
|
|
11
|
-
export * from './Point3D';
|
|
12
|
-
export * from './Point4D';
|
|
13
|
-
export * from './SystemResId';
|
|
14
|
-
export * from './to';
|
|
15
|
-
export * from './math';
|
|
1
|
+
export * from './blobToDataURL';
|
|
2
|
+
export * from './cookie';
|
|
3
|
+
export * from './dataURLtoBlob';
|
|
4
|
+
export * from './getQueryString';
|
|
5
|
+
export * from './guid';
|
|
6
|
+
export * from './http';
|
|
7
|
+
export * from './isHexColor';
|
|
8
|
+
export * from './isLAN';
|
|
9
|
+
export * from './object';
|
|
10
|
+
export * from './Point2D';
|
|
11
|
+
export * from './Point3D';
|
|
12
|
+
export * from './Point4D';
|
|
13
|
+
export * from './SystemResId';
|
|
14
|
+
export * from './to';
|
|
15
|
+
export * from './math';
|