gs-bim-air 0.1.3-0.36 → 0.1.3-0.38

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.
Files changed (36) hide show
  1. package/READMEBETA2.md +9 -0
  2. package/docs/.vuepress/config.js +281 -245
  3. package/docs/README.md +3 -1
  4. package/docs/animation//350/267/257/345/276/204/345/271/263/347/247/273/345/212/250/347/224/273/346/226/207/346/241/243.md +39 -24
  5. package/docs/classes/Longan.BaseShader.md +28 -6
  6. package/docs/classes/Longan.LonganCore.Viewer.md +9 -7
  7. package/docs/classes/Longan.Viewer.md +78 -46
  8. package/docs/classes/Viewer.md +86 -66
  9. package/docs/enums/ShowBorder.md +29 -0
  10. package/docs/interfaces/LoaderOptions.md +78 -0
  11. package/docs/interfaces/Options.md +10 -6
  12. package/docs//345/212/240/350/275/275/346/230/276/347/244/272/346/250/241/345/236/213.md +93 -0
  13. package/docs//345/277/253/351/200/237/344/270/212/346/211/213.md +90 -74
  14. package/docs//346/250/241/345/236/213/344/272/244/344/272/222//344/272/213/344/273/266/347/233/221/345/220/254.md +70 -0
  15. package/docs/{feature → /346/250/241/345/236/213/344/272/244/344/272/222}//350/247/206/345/233/276/350/256/276/347/275/256.md +6 -1
  16. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//{345 → 346/236/204/344/273/266/345/256/232/344/275/215/343/200/201/345}/261/236/346/200/247/346/230/276/347/244/272.md +12 -2
  17. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/346/240/267/345/274/217/350/256/276/347/275/256.md +5 -3
  18. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//346/236/204/344/273/266/351/232/220/350/227/217/343/200/201/351/232/224/347/246/273/343/200/201/351/253/230/344/272/256.md +72 -6
  19. package/docs//347/273/223/346/236/204/346/240/221/344/270/216/346/236/204/344/273/266//347/273/223/346/236/204/346/240/221.md +2 -0
  20. package/docs//351/205/215/347/275/256/LoaderOptions.md +29 -0
  21. package/docs//351/205/215/347/275/256/Options.md +177 -0
  22. package/lib/BimAir.common-report.html +2 -2
  23. package/lib/BimAir.common.js +10 -10
  24. package/lib/BimAir.css +123 -123
  25. package/lib/BimAir.umd-report.html +2 -2
  26. package/lib/BimAir.umd.js +10 -10
  27. package/lib/BimAir.umd.min-report.html +2 -2
  28. package/lib/BimAir.umd.min.js +10 -10
  29. package/lib/undefined.gzundefined +0 -0
  30. package/package.json +1 -1
  31. package/public/js/longan/longan.js +8 -8
  32. package/public/js/longan/longan.wasm +0 -0
  33. package/public/js/longanWithoutShareArrayBuffer/longan.js +1 -1
  34. package/public/js/longanWithoutShareArrayBuffer/longan.wasm +0 -0
  35. package/docs/options/options.md +0 -75
  36. /package/docs/{feature → /346/250/241/345/236/213/344/272/244/344/272/222}//351/200/211/346/213/251/347/256/241/347/220/206/345/231/250.md" +0 -0
package/READMEBETA2.md CHANGED
@@ -192,3 +192,12 @@ viewer.panelManager.structureTree.toggleCallback = (visible) => {
192
192
 
193
193
  - 更新 public/js 里的内核文件,安装此版本需替换 js 文件夹
194
194
  - 修复模型不显示问题
195
+
196
+ ### 0.1.30.37
197
+
198
+ - 触摸添加 isBusy 控制
199
+ - 添加 maxMemoryFactor 配置
200
+
201
+ ```js
202
+ viewer.maxMemoryFactor = 0.8;
203
+ ```
@@ -1,247 +1,283 @@
1
1
  module.exports = {
2
- // title: 'Hello VuePress',
3
- // description: 'Just playing around',
4
- base: "/docsHtml/",
5
- // base:"<%= BASE_URL %>",
6
- title: "轻量化云平台",
7
- markdown: {
8
- lineNumbers: true,
9
- },
10
- dest: "public/docsHtml",
11
- themeConfig: {
12
- sidebarDepth: 2,
13
- smoothScroll: true,
14
- // nav: [
15
- // { text: '简介', link: '/' },
16
- // { text: '开发指南', link: '/guide/EasyStart.md' },
17
- // { text: '功能特性', link: '/feature/' },
18
- // { text: '前端API', link: '/jsApi/Viewer.md' },
19
- // { text: 'WebAPI', link: '/webApi/后台API列表.md' },
20
- // { text: '高级开发', link: '/senior/' },
21
- // ],
22
- sidebar: [
23
- {
24
- title: "简介",
25
- collapsable: true,
26
- children: ["/简介.md"],
27
- },
28
- {
29
- title: "快速上手",
30
- collapsable: true,
31
- children: ["/快速上手.md"],
32
- },
33
-
34
- {
35
- title: "BimAir文档",
36
- collapsable: false,
37
- children: [
38
- {
39
- title: "BimAir",
40
- path: "/",
41
- },
42
- {
43
- title: "模型视图Viewer",
44
- path: "/classes/Viewer.md",
45
- },
46
- {
47
- title: "配置Options",
48
- collapsable: true,
49
- children: [
50
- {
51
- title: "Options",
52
- path: "/interfaces/Options.md",
53
- },
54
- {
55
- title: "ToolbarVisible",
56
- path: "/interfaces/ToolbarVisible.md",
57
- },
58
- ],
59
- },
60
- {
61
- title: "绘制对象",
62
- collapsable: true,
63
- children: [
64
- {
65
- title: "LightModel",
66
- path: "/classes/LightModel.md",
67
- },
68
- {
69
- title: "TreeNodeObject",
70
- path: "/classes/TreeNodeObject.md",
71
- },
72
- {
73
- title: "SegmentObject",
74
- path: "/classes/SegmentObject.md",
75
- },
76
- {
77
- title: "Material",
78
- path: "/classes/Material.md",
79
- },
80
- ],
81
- },
82
- {
83
- title: "管理器",
84
- collapsable: true,
85
- children: [
86
- {
87
- title: "ComponentManager",
88
- path: "/classes/ComponentManager.md",
89
- },
90
- {
91
- title: "HighlightManager",
92
- path: "/classes/HighlightManager.md",
93
- },
94
- {
95
- title: "InvisibleManager",
96
- path: "/classes/InvisibleManager.md",
97
- },
98
- {
99
- title: "IsolationManager",
100
- path: "/classes/IsolationManager.md",
101
- },
102
- {
103
- title: "PanelManager",
104
- path: "/classes/PanelManager.md",
105
- },
106
- {
107
- title: "PropertyManager",
108
- path: "/classes/PropertyManager.md",
109
- },
110
- {
111
- title: "SelectionManager",
112
- path: "/classes/SelectionManager.md",
113
- },
114
- {
115
- title: "StructureTreeManager",
116
- path: "/classes/StructureTreeManager.md",
117
- },
118
- ],
119
- },
120
- {
121
- title: "操作器",
122
- collapsable: true,
123
- children: [
124
- {
125
- title: "ComponentSelector",
126
- path: "/classes/ComponentSelector.md",
127
- },
128
- ],
129
- },
130
- {
131
- title: "动画效果Animation",
132
- collapsable: true,
133
- children: [
134
- {
135
- title: "HeightLimitEffect",
136
- path: "/classes/HeightLimitEffect.md",
137
- },
138
- {
139
- title: "HeightLimitEffectConfig",
140
- path: "/classes/HeightLimitEffectConfig.md",
141
- },
142
- {
143
- title: "PathEffect",
144
- path: "/classes/PathEffect.md",
145
- },
146
- {
147
- title: "PathEffectConfig",
148
- path: "/classes/PathEffectConfig.md",
149
- },
150
- {
151
- title: "SkyboxEffect",
152
- path: "/classes/SkyboxEffect.md",
153
- },
154
- {
155
- title: "SkyboxEffectConfig",
156
- path: "/classes/SkyboxEffectConfig.md",
157
- },
158
- {
159
- title: "SnowEffect",
160
- path: "/classes/SnowEffect.md",
161
- },
162
- {
163
- title: "SnowEffectConfig.md",
164
- path: "/classes/SnowEffectConfig.md",
165
- },
166
- {
167
- title: "WallEffect",
168
- path: "/classes/WallEffect.md",
169
- },
170
- {
171
- title: "WallEffectConfig",
172
- path: "/classes/WallEffectConfig.md",
173
- },
174
- {
175
- title: "WaterEffect",
176
- path: "/classes/WaterEffect.md",
177
- },
178
- {
179
- title: "WaterEffectConfig",
180
- path: "/classes/WaterEffectConfig.md",
181
- },
182
- {
183
- title: "CircleScanEffect",
184
- path: "/classes/CircleScanEffect.md",
185
- },
186
- {
187
- title: "CircleScanEffectConfig",
188
- path: "/classes/CircleScanEffectConfig.md",
189
- },
190
- {
191
- title: "FanScanEffect",
192
- path: "/classes/FanScanEffect.md",
193
- },
194
- {
195
- title: "FanScanEffectConfig",
196
- path: "/classes/FanScanEffectConfig.md",
197
- },
198
- ],
199
- },
200
- ],
201
- },
202
- // {
203
- // title: 'WebAPI',
204
- // collapsable: false,
205
- // children: [
206
- // {
207
- // title: "后台API列表",
208
- // path: "/webApi/后台API列表.md"
209
- // }
210
- // ]
211
- // },
212
- // {
213
- // title: '高级开发',
214
- // collapsable: false,
215
- // children: [
216
- // {
217
- // title: "框架结构",
218
- // path: "/senior/"
219
- //
220
- // },
221
- // {
222
- // title: "TypeScript支持",
223
- // path: "/senior/TypeScript支持.md"
224
- //
225
- // },
226
- // ]
227
- // },
228
- ],
229
- },
230
- plugins: [
231
- "vuepress-plugin-mermaidjs",
232
- [
233
- "vuepress-plugin-typedoc",
234
- // Plugin / TypeDoc options
235
- {
236
- entryPoints: ["../../packages/bimAir/src/index.ts"],
237
- tsconfig: "../../packages/bimAir/src/tsconfig.json",
238
- // 插件选项
239
- out: "api",
240
- sidebar: {
241
- fullNames: true,
242
- parentCategory: "API",
243
- },
244
- },
245
- ],
246
- ],
2
+ // title: 'Hello VuePress',
3
+ // description: 'Just playing around',
4
+ base: "/docsHtml/",
5
+ // base:"<%= BASE_URL %>",
6
+ title: "轻量化云平台",
7
+ markdown: {
8
+ lineNumbers: true,
9
+ },
10
+ dest: "public/docsHtml",
11
+ home: "/快速上手/",
12
+ themeConfig: {
13
+ sidebarDepth: 2,
14
+ smoothScroll: true,
15
+ // nav: [
16
+ // { text: '简介', link: '/' },
17
+ // { text: '开发指南', link: '/guide/EasyStart.md' },
18
+ // { text: '功能特性', link: '/feature/' },
19
+ // { text: '前端API', link: '/jsApi/Viewer.md' },
20
+ // { text: 'WebAPI', link: '/webApi/后台API列表.md' },
21
+ // { text: '高级开发', link: '/senior/' },
22
+ // ],
23
+ sidebar: [
24
+ {
25
+ title: "简介",
26
+ collapsable: false,
27
+ children: ["/简介.md"],
28
+ },
29
+ {
30
+ title: "教程",
31
+ collapsable: false,
32
+ children: [
33
+ "/快速上手.md",
34
+ "/加载显示模型.md",
35
+ {
36
+ title: "结构树与构件",
37
+ collapsable: true,
38
+ children: [
39
+ "/结构树与构件/结构树.md",
40
+ "/结构树与构件/构件样式设置.md",
41
+ "/结构树与构件/构件隐藏、隔离、高亮.md",
42
+ "/结构树与构件/构件定位、属性显示.md",
43
+ ],
44
+ },
45
+ {
46
+ title: "模型交互",
47
+ collapsable: true,
48
+ children: [
49
+ "/模型交互/事件监听.md",
50
+ "/模型交互/视图设置.md",
51
+ "/模型交互/选择管理器.md",
52
+ ],
53
+ },
54
+ {
55
+ title: "配置",
56
+ collapsable: true,
57
+ children: [
58
+ {
59
+ title: "Loader的配置",
60
+ path: "/配置/LoaderOptions.md",
61
+ },
62
+ {
63
+ title: "Viewer的配置",
64
+ path: "/配置/Options.md",
65
+ },
66
+ ],
67
+ },
68
+ ],
69
+ },
70
+ {
71
+ title: "BimAir文档",
72
+ collapsable: false,
73
+ children: [
74
+ {
75
+ title: "BimAir",
76
+ path: "/",
77
+ },
78
+ {
79
+ title: "模型视图Viewer",
80
+ path: "/classes/Viewer.md",
81
+ },
82
+ {
83
+ title: "配置Options",
84
+ collapsable: true,
85
+ children: [
86
+ {
87
+ title: "Options",
88
+ path: "/interfaces/Options.md",
89
+ },
90
+ {
91
+ title: "ToolbarVisible",
92
+ path: "/interfaces/ToolbarVisible.md",
93
+ },
94
+ ],
95
+ },
96
+ {
97
+ title: "绘制对象",
98
+ collapsable: true,
99
+ children: [
100
+ {
101
+ title: "LightModel",
102
+ path: "/classes/LightModel.md",
103
+ },
104
+ {
105
+ title: "TreeNodeObject",
106
+ path: "/classes/TreeNodeObject.md",
107
+ },
108
+ {
109
+ title: "SegmentObject",
110
+ path: "/classes/SegmentObject.md",
111
+ },
112
+ {
113
+ title: "Material",
114
+ path: "/classes/Material.md",
115
+ },
116
+ ],
117
+ },
118
+ {
119
+ title: "管理器",
120
+ collapsable: true,
121
+ children: [
122
+ {
123
+ title: "ComponentManager",
124
+ path: "/classes/ComponentManager.md",
125
+ },
126
+ {
127
+ title: "HighlightManager",
128
+ path: "/classes/HighlightManager.md",
129
+ },
130
+ {
131
+ title: "InvisibleManager",
132
+ path: "/classes/InvisibleManager.md",
133
+ },
134
+ {
135
+ title: "IsolationManager",
136
+ path: "/classes/IsolationManager.md",
137
+ },
138
+ {
139
+ title: "PanelManager",
140
+ path: "/classes/PanelManager.md",
141
+ },
142
+ {
143
+ title: "PropertyManager",
144
+ path: "/classes/PropertyManager.md",
145
+ },
146
+ {
147
+ title: "SelectionManager",
148
+ path: "/classes/SelectionManager.md",
149
+ },
150
+ {
151
+ title: "StructureTreeManager",
152
+ path: "/classes/StructureTreeManager.md",
153
+ },
154
+ ],
155
+ },
156
+ {
157
+ title: "操作器",
158
+ collapsable: true,
159
+ children: [
160
+ {
161
+ title: "ComponentSelector",
162
+ path: "/classes/ComponentSelector.md",
163
+ },
164
+ ],
165
+ },
166
+ {
167
+ title: "动画效果Animation",
168
+ collapsable: true,
169
+ children: [
170
+ {
171
+ title: "HeightLimitEffect",
172
+ path: "/classes/HeightLimitEffect.md",
173
+ },
174
+ {
175
+ title: "HeightLimitEffectConfig",
176
+ path: "/classes/HeightLimitEffectConfig.md",
177
+ },
178
+ {
179
+ title: "PathEffect",
180
+ path: "/classes/PathEffect.md",
181
+ },
182
+ {
183
+ title: "PathEffectConfig",
184
+ path: "/classes/PathEffectConfig.md",
185
+ },
186
+ {
187
+ title: "SkyboxEffect",
188
+ path: "/classes/SkyboxEffect.md",
189
+ },
190
+ {
191
+ title: "SkyboxEffectConfig",
192
+ path: "/classes/SkyboxEffectConfig.md",
193
+ },
194
+ {
195
+ title: "SnowEffect",
196
+ path: "/classes/SnowEffect.md",
197
+ },
198
+ {
199
+ title: "SnowEffectConfig.md",
200
+ path: "/classes/SnowEffectConfig.md",
201
+ },
202
+ {
203
+ title: "WallEffect",
204
+ path: "/classes/WallEffect.md",
205
+ },
206
+ {
207
+ title: "WallEffectConfig",
208
+ path: "/classes/WallEffectConfig.md",
209
+ },
210
+ {
211
+ title: "WaterEffect",
212
+ path: "/classes/WaterEffect.md",
213
+ },
214
+ {
215
+ title: "WaterEffectConfig",
216
+ path: "/classes/WaterEffectConfig.md",
217
+ },
218
+ {
219
+ title: "CircleScanEffect",
220
+ path: "/classes/CircleScanEffect.md",
221
+ },
222
+ {
223
+ title: "CircleScanEffectConfig",
224
+ path: "/classes/CircleScanEffectConfig.md",
225
+ },
226
+ {
227
+ title: "FanScanEffect",
228
+ path: "/classes/FanScanEffect.md",
229
+ },
230
+ {
231
+ title: "FanScanEffectConfig",
232
+ path: "/classes/FanScanEffectConfig.md",
233
+ },
234
+ ],
235
+ },
236
+ ],
237
+ },
238
+ // {
239
+ // title: 'WebAPI',
240
+ // collapsable: false,
241
+ // children: [
242
+ // {
243
+ // title: "后台API列表",
244
+ // path: "/webApi/后台API列表.md"
245
+ // }
246
+ // ]
247
+ // },
248
+ // {
249
+ // title: '高级开发',
250
+ // collapsable: false,
251
+ // children: [
252
+ // {
253
+ // title: "框架结构",
254
+ // path: "/senior/"
255
+ //
256
+ // },
257
+ // {
258
+ // title: "TypeScript支持",
259
+ // path: "/senior/TypeScript支持.md"
260
+ //
261
+ // },
262
+ // ]
263
+ // },
264
+ ],
265
+ },
266
+ plugins: [
267
+ "vuepress-plugin-mermaidjs",
268
+ [
269
+ "vuepress-plugin-typedoc",
270
+ // Plugin / TypeDoc options
271
+ {
272
+ entryPoints: ["../../packages/bimAir/src/index.ts"],
273
+ tsconfig: "../../packages/bimAir/src/tsconfig.json",
274
+ // 插件选项
275
+ out: "api",
276
+ sidebar: {
277
+ fullNames: true,
278
+ parentCategory: "API",
279
+ },
280
+ },
281
+ ],
282
+ ],
247
283
  };
package/docs/README.md CHANGED
@@ -11,6 +11,7 @@ gs-bim-air
11
11
  ### Enumerations
12
12
 
13
13
  - [CuttingCreateType](enums/CuttingCreateType.md)
14
+ - [ShowBorder](enums/ShowBorder.md)
14
15
 
15
16
  ### Classes
16
17
 
@@ -69,6 +70,7 @@ gs-bim-air
69
70
 
70
71
  ### Interfaces
71
72
 
73
+ - [LoaderOptions](interfaces/LoaderOptions.md)
72
74
  - [Options](interfaces/Options.md)
73
75
  - [ToolbarVisible](interfaces/ToolbarVisible.md)
74
76
 
@@ -88,7 +90,7 @@ gs-bim-air
88
90
 
89
91
  | Name | Type | Default value |
90
92
  | :------ | :------ | :------ |
91
- | `config` | `LoaderOptions` | `defaultLoaderOptions` |
93
+ | `config` | [`LoaderOptions`](interfaces/LoaderOptions.md) | `defaultLoaderOptions` |
92
94
 
93
95
  #### Returns
94
96