gs-bim-air 1.6.1-beta.81 → 1.6.1-beta.82
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/README.md +9 -0
- package/docs/classes/Animation.SkyboxEffect.md +3 -3
- package/docs/interfaces/ViewerOptions.md +14 -0
- package/docs/modules/Utility.md +34 -0
- package/lib/BimAir.common-report.html +2 -2
- package/lib/BimAir.common.js +4118 -752
- package/lib/BimAir.css +1198 -1186
- package/lib/BimAir.umd-report.html +2 -2
- package/lib/BimAir.umd.js +4118 -752
- package/lib/BimAir.umd.min-report.html +2 -2
- package/lib/BimAir.umd.min.js +4118 -752
- package/package.json +2 -1
- package/types/index.d.ts +11354 -0
- package/types/index.d.ts.map +1 -0
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
### Properties
|
|
14
14
|
|
|
15
|
-
- [
|
|
15
|
+
- [ro](Animation.SkyboxEffect.md#ro)
|
|
16
16
|
- [skyboxEffectConfig](Animation.SkyboxEffect.md#skyboxeffectconfig)
|
|
17
17
|
|
|
18
18
|
### Methods
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
|
|
37
37
|
## Properties
|
|
38
38
|
|
|
39
|
-
###
|
|
39
|
+
### ro
|
|
40
40
|
|
|
41
|
-
• **
|
|
41
|
+
• **ro**: `RenderObject`
|
|
42
42
|
|
|
43
43
|
___
|
|
44
44
|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
- [elementId](ViewerOptions.md#elementid)
|
|
13
13
|
- [events](ViewerOptions.md#events)
|
|
14
14
|
- [fileService](ViewerOptions.md#fileservice)
|
|
15
|
+
- [isFreeze](ViewerOptions.md#isfreeze)
|
|
15
16
|
- [isShowLoading](ViewerOptions.md#isshowloading)
|
|
16
17
|
- [modelService](ViewerOptions.md#modelservice)
|
|
17
18
|
- [renderingOptions](ViewerOptions.md#renderingoptions)
|
|
@@ -40,6 +41,11 @@ ___
|
|
|
40
41
|
|
|
41
42
|
| Name | Type | Description |
|
|
42
43
|
| :------ | :------ | :------ |
|
|
44
|
+
| `bottomToolbar?` | { `markup?`: { `color?`: `string` ; `visible?`: `boolean` ; `width?`: `number` } } | 底部工具栏配置 |
|
|
45
|
+
| `bottomToolbar.markup?` | { `color?`: `string` ; `visible?`: `boolean` ; `width?`: `number` } | - |
|
|
46
|
+
| `bottomToolbar.markup.color?` | `string` | - |
|
|
47
|
+
| `bottomToolbar.markup.visible?` | `boolean` | - |
|
|
48
|
+
| `bottomToolbar.markup.width?` | `number` | - |
|
|
43
49
|
| `bottomToolbarButtons?` | { `active`: `boolean` ; `clickFun`: () => `void` ; `icon`: `string` ; `title`: `string` }[] | 底部工具栏配置 |
|
|
44
50
|
| `compass?` | { `position?`: {} ; `visible?`: `boolean` } | 罗盘配置 |
|
|
45
51
|
| `compass.position?` | {} | - |
|
|
@@ -118,6 +124,14 @@ ___
|
|
|
118
124
|
|
|
119
125
|
___
|
|
120
126
|
|
|
127
|
+
### isFreeze
|
|
128
|
+
|
|
129
|
+
• `Optional` **isFreeze**: `boolean`
|
|
130
|
+
|
|
131
|
+
是否禁用viewer的pointerEvent
|
|
132
|
+
|
|
133
|
+
___
|
|
134
|
+
|
|
121
135
|
### isShowLoading
|
|
122
136
|
|
|
123
137
|
• `Optional` **isShowLoading**: `boolean`
|
package/docs/modules/Utility.md
CHANGED
|
@@ -6,10 +6,28 @@
|
|
|
6
6
|
|
|
7
7
|
### Functions
|
|
8
8
|
|
|
9
|
+
- [hexToRgba](Utility.md#hextorgba)
|
|
9
10
|
- [isPointInPolygonXy](Utility.md#ispointinpolygonxy)
|
|
11
|
+
- [rgbaToHex](Utility.md#rgbatohex)
|
|
10
12
|
|
|
11
13
|
## Functions
|
|
12
14
|
|
|
15
|
+
### hexToRgba
|
|
16
|
+
|
|
17
|
+
▸ **hexToRgba**(`hex`): `number`[]
|
|
18
|
+
|
|
19
|
+
#### Parameters
|
|
20
|
+
|
|
21
|
+
| Name | Type |
|
|
22
|
+
| :------ | :------ |
|
|
23
|
+
| `hex` | `string` |
|
|
24
|
+
|
|
25
|
+
#### Returns
|
|
26
|
+
|
|
27
|
+
`number`[]
|
|
28
|
+
|
|
29
|
+
___
|
|
30
|
+
|
|
13
31
|
### isPointInPolygonXy
|
|
14
32
|
|
|
15
33
|
▸ **isPointInPolygonXy**(`point`, `polygon_points`): `boolean`
|
|
@@ -24,3 +42,19 @@
|
|
|
24
42
|
#### Returns
|
|
25
43
|
|
|
26
44
|
`boolean`
|
|
45
|
+
|
|
46
|
+
___
|
|
47
|
+
|
|
48
|
+
### rgbaToHex
|
|
49
|
+
|
|
50
|
+
▸ **rgbaToHex**(`rgba`): `string`
|
|
51
|
+
|
|
52
|
+
#### Parameters
|
|
53
|
+
|
|
54
|
+
| Name | Type |
|
|
55
|
+
| :------ | :------ |
|
|
56
|
+
| `rgba` | `number`[] |
|
|
57
|
+
|
|
58
|
+
#### Returns
|
|
59
|
+
|
|
60
|
+
`string`
|