@xtctwins/tctwins-industry-engine 0.0.12 → 0.1.0

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 (105) hide show
  1. package/README.md +196 -3
  2. package/dist/01.xtc +0 -0
  3. package/dist/02.xtc +0 -0
  4. package/dist/03.xtc +0 -0
  5. package/dist/AnnotationTool-DfcSXn-d.mjs +166 -0
  6. package/dist/CameraViewTool-C91GKumm.mjs +164 -0
  7. package/dist/CommentTool-CR1yMDYP.mjs +1528 -0
  8. package/dist/HiddenTool-iCXaAMtS.mjs +56 -0
  9. package/dist/Industry_Viewer_Lib.es.js +10 -5
  10. package/dist/Industry_Viewer_Lib.umd.js +264 -237
  11. package/dist/InspectorTool-MyLTC7qp.mjs +679 -0
  12. package/dist/MeasureTool-BpomWCXl.mjs +593 -0
  13. package/dist/MouseTool-COWvA8Jk.mjs +84 -0
  14. package/dist/NavigateTool-DeMrrYoS.mjs +51 -0
  15. package/dist/OperateTool-DSZCJVkD.mjs +185 -0
  16. package/dist/RoamTool-0E0ls2Cx.mjs +287 -0
  17. package/dist/ScreenShotTool-viitj9zy.mjs +429 -0
  18. package/dist/SectionTool-Bz1c26fa.mjs +241 -0
  19. package/dist/SettingTool-BlsqUNQM.mjs +1745 -0
  20. package/dist/StructureTree-Dke0hMRC.mjs +1685 -0
  21. package/dist/alert-CgfjcpRo.mjs +52 -0
  22. package/dist/index-COQ8NdId.mjs +138714 -0
  23. package/dist/index.html +17 -0
  24. package/dist/{panel.vue_vue_type_style_index_0_lang-CCuIP-Pp.mjs → panel.vue_vue_type_style_index_0_lang-B-dNXuRK.mjs} +3 -3
  25. package/dist/style.css +3 -1
  26. package/dist/{tallPanel-CqKqC6yK.mjs → tallPanel-B-5hSZt6.mjs} +24 -24
  27. package/dist/timer-DoTiGoWP.mjs +30 -0
  28. package/package.json +85 -66
  29. package/types/App.vue.d.ts +3 -1
  30. package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +1 -1
  31. package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +1 -1
  32. package/types/components/BCFComponents/BCFFilter.vue.d.ts +2 -2
  33. package/types/components/BCFComponents/commentInput.vue.d.ts +1 -1
  34. package/types/components/BCFComponents/commentsView.vue.d.ts +6 -6
  35. package/types/components/BCFComponents/imageView.vue.d.ts +1 -1
  36. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  37. package/types/components/BimViewerComponents/CameraViewTool.vue.d.ts +12 -0
  38. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +34 -1
  39. package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +14 -0
  40. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +11 -0
  41. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +17 -0
  42. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +275 -0
  43. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +297 -0
  44. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +9 -0
  45. package/types/components/BimViewerComponents/OperateTool.vue.d.ts +12 -0
  46. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +14 -0
  47. package/types/components/BimViewerComponents/SectionModeBar.vue.d.ts +2 -0
  48. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +8035 -419
  49. package/types/components/{industryViewer.vue.d.ts → BimxViewerComp.vue.d.ts} +7 -0
  50. package/types/components/IndustryViewerComp.vue.d.ts +25 -0
  51. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +1 -1
  52. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +1 -1
  53. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +100 -308
  54. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +100 -308
  55. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +2 -0
  56. package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +4 -4
  57. package/types/components/utilsComponents/alert.vue.d.ts +9 -0
  58. package/types/components/utilsComponents/prompt.vue.d.ts +8 -0
  59. package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -1
  60. package/types/i18n/index.d.ts +1767 -0
  61. package/types/i18n/locales/en-US.d.ts +439 -0
  62. package/types/i18n/locales/zh-CN.d.ts +439 -0
  63. package/types/i18n/types.d.ts +144 -0
  64. package/types/index.d.ts +8 -5
  65. package/types/pages/{viewerEntry.vue.d.ts → BimxViewerEntry.vue.d.ts} +20 -8
  66. package/types/pages/IndustryViewerEntry.vue.d.ts +71 -0
  67. package/types/services/request/api.d.ts +3 -0
  68. package/types/services/request/index.d.ts +14 -0
  69. package/types/services/request/types.d.ts +12 -0
  70. package/types/store/bcfReflect.d.ts +8 -7
  71. package/types/store/const.d.ts +32 -3
  72. package/types/store/initConfigs.d.ts +3 -3
  73. package/types/store/localeStore.d.ts +12 -0
  74. package/types/store/propertyReflect.d.ts +1 -1
  75. package/types/store/toolbars.d.ts +596 -75
  76. package/types/store/userInfoStore.d.ts +32 -0
  77. package/types/tests/bcf.d.ts +8 -0
  78. package/types/utils/OSSHelper.d.ts +3 -0
  79. package/types/utils/eventBus.d.ts +23 -5
  80. package/types/utils/roles.d.ts +1 -1
  81. package/types/utils/splitType.d.ts +1 -0
  82. package/types/viewerManager/initial/viewerInitial.d.ts +14 -1
  83. package/types/viewerManager/load/loadModel.d.ts +137 -1
  84. package/types/viewerManager/sectionManager.d.ts +524 -0
  85. package/types/viewerManager/viewerManager.d.ts +19 -1
  86. package/dist/AnnotationTool-f7CrC7Dr.mjs +0 -131
  87. package/dist/BCFTool-CdN6SGDL.mjs +0 -25118
  88. package/dist/CommentTool-Cfht7mQS.mjs +0 -168
  89. package/dist/InspectorTool-M_oBYVQA.mjs +0 -674
  90. package/dist/MeasureTool-CxWeQFgY.mjs +0 -167
  91. package/dist/MouseTool-BHbi-fg3.mjs +0 -84
  92. package/dist/NavigateTool-BdUVi4Be.mjs +0 -52
  93. package/dist/RoamTool-Uuxa-94w.mjs +0 -212
  94. package/dist/ScreenShotTool-CZUm8l2Z.mjs +0 -445
  95. package/dist/SectionTool-DZToybAI.mjs +0 -217
  96. package/dist/SettingTool-CYM0qsUs.mjs +0 -770
  97. package/dist/StructureTree-DeXxENMk.mjs +0 -1824
  98. package/dist/XRayTool-Bug-FcKJ.mjs +0 -57
  99. package/dist/alert-DGyQ9rEq.mjs +0 -46
  100. package/dist/const-DeViLYl5.mjs +0 -266
  101. package/dist/el-checkbox-ClYe-8uK.mjs +0 -544
  102. package/dist/el-input-number-Df5HOHuh.mjs +0 -1028
  103. package/dist/index-BNrMlQLr.mjs +0 -101871
  104. /package/types/components/BimViewerComponents/{mobileToolbar.vue.d.ts → AppToolbar.vue.d.ts} +0 -0
  105. /package/types/components/BimViewerComponents/{XRayTool.vue.d.ts → HiddenTool.vue.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- export type ComponentName = "StructureTree" | "InspectorTool" | "XRayTool" | "RoamTool" | "MeasureTool" | "SectionTool" | "CommentTool" | "AnnotationTool" | "ScreenShotTool" | "SettingTool" | "NavigateTool" | "BCFTool" | "MobileBCFTool" | "MouseTool";
1
+ export type ComponentName = "StructureTree" | "InspectorTool" | "HiddenTool" | "RoamTool" | "CameraViewTool" | "MeasureTool" | "SectionTool" | "CommentTool" | "AnnotationTool" | "ScreenShotTool" | "SettingTool" | "NavigateTool" | "BCFTool" | "MouseTool" | "OperateTool";
2
2
  export type Tool = {
3
3
  id: number;
4
4
  key: string;
@@ -9,14 +9,67 @@ export type Tool = {
9
9
  img: string;
10
10
  imgActive: string;
11
11
  isActive: boolean;
12
+ position?: 0 | 1 | 2;
12
13
  };
13
14
  export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar", {
14
- tools: Tool[];
15
+ isPc: boolean;
16
+ pTools: Tool[];
17
+ mTools: Tool[];
15
18
  visibleToolIds: number[];
16
19
  readyToolIds: number[];
20
+ sectionMode: "plane" | "box" | null;
17
21
  }, {
22
+ tools: (state: {
23
+ isPc: boolean;
24
+ pTools: {
25
+ id: number;
26
+ key: string;
27
+ name: string;
28
+ hasActiveState: boolean;
29
+ component: ComponentName | "";
30
+ isShowDelimiter: boolean;
31
+ img: string;
32
+ imgActive: string;
33
+ isActive: boolean;
34
+ position?: 0 | 1 | 2 | undefined;
35
+ }[];
36
+ mTools: {
37
+ id: number;
38
+ key: string;
39
+ name: string;
40
+ hasActiveState: boolean;
41
+ component: ComponentName | "";
42
+ isShowDelimiter: boolean;
43
+ img: string;
44
+ imgActive: string;
45
+ isActive: boolean;
46
+ position?: 0 | 1 | 2 | undefined;
47
+ }[];
48
+ visibleToolIds: number[];
49
+ readyToolIds: number[];
50
+ sectionMode: "plane" | "box" | null;
51
+ } & import('pinia').PiniaCustomStateProperties<{
52
+ isPc: boolean;
53
+ pTools: Tool[];
54
+ mTools: Tool[];
55
+ visibleToolIds: number[];
56
+ readyToolIds: number[];
57
+ sectionMode: "plane" | "box" | null;
58
+ }>) => {
59
+ id: number;
60
+ key: string;
61
+ name: string;
62
+ hasActiveState: boolean;
63
+ component: ComponentName | "";
64
+ isShowDelimiter: boolean;
65
+ img: string;
66
+ imgActive: string;
67
+ isActive: boolean;
68
+ position?: 0 | 1 | 2 | undefined;
69
+ }[];
18
70
  visibleTools: (state: {
19
- tools: {
71
+ isPc: boolean;
72
+ pTools: {
20
73
  id: number;
21
74
  key: string;
22
75
  name: string;
@@ -26,16 +79,34 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
26
79
  img: string;
27
80
  imgActive: string;
28
81
  isActive: boolean;
82
+ position?: 0 | 1 | 2 | undefined;
83
+ }[];
84
+ mTools: {
85
+ id: number;
86
+ key: string;
87
+ name: string;
88
+ hasActiveState: boolean;
89
+ component: ComponentName | "";
90
+ isShowDelimiter: boolean;
91
+ img: string;
92
+ imgActive: string;
93
+ isActive: boolean;
94
+ position?: 0 | 1 | 2 | undefined;
29
95
  }[];
30
96
  visibleToolIds: number[];
31
97
  readyToolIds: number[];
98
+ sectionMode: "plane" | "box" | null;
32
99
  } & import('pinia').PiniaCustomStateProperties<{
33
- tools: Tool[];
100
+ isPc: boolean;
101
+ pTools: Tool[];
102
+ mTools: Tool[];
34
103
  visibleToolIds: number[];
35
104
  readyToolIds: number[];
105
+ sectionMode: "plane" | "box" | null;
36
106
  }>) => Tool[];
37
107
  readyTools: (state: {
38
- tools: {
108
+ isPc: boolean;
109
+ pTools: {
39
110
  id: number;
40
111
  key: string;
41
112
  name: string;
@@ -45,16 +116,46 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
45
116
  img: string;
46
117
  imgActive: string;
47
118
  isActive: boolean;
119
+ position?: 0 | 1 | 2 | undefined;
120
+ }[];
121
+ mTools: {
122
+ id: number;
123
+ key: string;
124
+ name: string;
125
+ hasActiveState: boolean;
126
+ component: ComponentName | "";
127
+ isShowDelimiter: boolean;
128
+ img: string;
129
+ imgActive: string;
130
+ isActive: boolean;
131
+ position?: 0 | 1 | 2 | undefined;
48
132
  }[];
49
133
  visibleToolIds: number[];
50
134
  readyToolIds: number[];
135
+ sectionMode: "plane" | "box" | null;
51
136
  } & import('pinia').PiniaCustomStateProperties<{
52
- tools: Tool[];
137
+ isPc: boolean;
138
+ pTools: Tool[];
139
+ mTools: Tool[];
53
140
  visibleToolIds: number[];
54
141
  readyToolIds: number[];
142
+ sectionMode: "plane" | "box" | null;
55
143
  }>) => number[];
56
144
  visibleComponents: (state: {
57
- tools: {
145
+ isPc: boolean;
146
+ pTools: {
147
+ id: number;
148
+ key: string;
149
+ name: string;
150
+ hasActiveState: boolean;
151
+ component: ComponentName | "";
152
+ isShowDelimiter: boolean;
153
+ img: string;
154
+ imgActive: string;
155
+ isActive: boolean;
156
+ position?: 0 | 1 | 2 | undefined;
157
+ }[];
158
+ mTools: {
58
159
  id: number;
59
160
  key: string;
60
161
  name: string;
@@ -64,16 +165,34 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
64
165
  img: string;
65
166
  imgActive: string;
66
167
  isActive: boolean;
168
+ position?: 0 | 1 | 2 | undefined;
67
169
  }[];
68
170
  visibleToolIds: number[];
69
171
  readyToolIds: number[];
172
+ sectionMode: "plane" | "box" | null;
70
173
  } & import('pinia').PiniaCustomStateProperties<{
71
- tools: Tool[];
174
+ isPc: boolean;
175
+ pTools: Tool[];
176
+ mTools: Tool[];
72
177
  visibleToolIds: number[];
73
178
  readyToolIds: number[];
179
+ sectionMode: "plane" | "box" | null;
74
180
  }>) => ("" | ComponentName)[];
75
181
  getKeyById: (state: {
76
- tools: {
182
+ isPc: boolean;
183
+ pTools: {
184
+ id: number;
185
+ key: string;
186
+ name: string;
187
+ hasActiveState: boolean;
188
+ component: ComponentName | "";
189
+ isShowDelimiter: boolean;
190
+ img: string;
191
+ imgActive: string;
192
+ isActive: boolean;
193
+ position?: 0 | 1 | 2 | undefined;
194
+ }[];
195
+ mTools: {
77
196
  id: number;
78
197
  key: string;
79
198
  name: string;
@@ -83,16 +202,34 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
83
202
  img: string;
84
203
  imgActive: string;
85
204
  isActive: boolean;
205
+ position?: 0 | 1 | 2 | undefined;
86
206
  }[];
87
207
  visibleToolIds: number[];
88
208
  readyToolIds: number[];
209
+ sectionMode: "plane" | "box" | null;
89
210
  } & import('pinia').PiniaCustomStateProperties<{
90
- tools: Tool[];
211
+ isPc: boolean;
212
+ pTools: Tool[];
213
+ mTools: Tool[];
91
214
  visibleToolIds: number[];
92
215
  readyToolIds: number[];
216
+ sectionMode: "plane" | "box" | null;
93
217
  }>) => (toolId: number) => string | undefined;
94
218
  getToolById: (state: {
95
- tools: {
219
+ isPc: boolean;
220
+ pTools: {
221
+ id: number;
222
+ key: string;
223
+ name: string;
224
+ hasActiveState: boolean;
225
+ component: ComponentName | "";
226
+ isShowDelimiter: boolean;
227
+ img: string;
228
+ imgActive: string;
229
+ isActive: boolean;
230
+ position?: 0 | 1 | 2 | undefined;
231
+ }[];
232
+ mTools: {
96
233
  id: number;
97
234
  key: string;
98
235
  name: string;
@@ -102,16 +239,71 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
102
239
  img: string;
103
240
  imgActive: string;
104
241
  isActive: boolean;
242
+ position?: 0 | 1 | 2 | undefined;
105
243
  }[];
106
244
  visibleToolIds: number[];
107
245
  readyToolIds: number[];
246
+ sectionMode: "plane" | "box" | null;
108
247
  } & import('pinia').PiniaCustomStateProperties<{
109
- tools: Tool[];
248
+ isPc: boolean;
249
+ pTools: Tool[];
250
+ mTools: Tool[];
110
251
  visibleToolIds: number[];
111
252
  readyToolIds: number[];
253
+ sectionMode: "plane" | "box" | null;
112
254
  }>) => (toolId: number) => Tool | undefined;
255
+ getToolByKey: (state: {
256
+ isPc: boolean;
257
+ pTools: {
258
+ id: number;
259
+ key: string;
260
+ name: string;
261
+ hasActiveState: boolean;
262
+ component: ComponentName | "";
263
+ isShowDelimiter: boolean;
264
+ img: string;
265
+ imgActive: string;
266
+ isActive: boolean;
267
+ position?: 0 | 1 | 2 | undefined;
268
+ }[];
269
+ mTools: {
270
+ id: number;
271
+ key: string;
272
+ name: string;
273
+ hasActiveState: boolean;
274
+ component: ComponentName | "";
275
+ isShowDelimiter: boolean;
276
+ img: string;
277
+ imgActive: string;
278
+ isActive: boolean;
279
+ position?: 0 | 1 | 2 | undefined;
280
+ }[];
281
+ visibleToolIds: number[];
282
+ readyToolIds: number[];
283
+ sectionMode: "plane" | "box" | null;
284
+ } & import('pinia').PiniaCustomStateProperties<{
285
+ isPc: boolean;
286
+ pTools: Tool[];
287
+ mTools: Tool[];
288
+ visibleToolIds: number[];
289
+ readyToolIds: number[];
290
+ sectionMode: "plane" | "box" | null;
291
+ }>) => (key: string) => Tool | undefined;
113
292
  hasActiveState: (state: {
114
- tools: {
293
+ isPc: boolean;
294
+ pTools: {
295
+ id: number;
296
+ key: string;
297
+ name: string;
298
+ hasActiveState: boolean;
299
+ component: ComponentName | "";
300
+ isShowDelimiter: boolean;
301
+ img: string;
302
+ imgActive: string;
303
+ isActive: boolean;
304
+ position?: 0 | 1 | 2 | undefined;
305
+ }[];
306
+ mTools: {
115
307
  id: number;
116
308
  key: string;
117
309
  name: string;
@@ -121,16 +313,34 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
121
313
  img: string;
122
314
  imgActive: string;
123
315
  isActive: boolean;
316
+ position?: 0 | 1 | 2 | undefined;
124
317
  }[];
125
318
  visibleToolIds: number[];
126
319
  readyToolIds: number[];
320
+ sectionMode: "plane" | "box" | null;
127
321
  } & import('pinia').PiniaCustomStateProperties<{
128
- tools: Tool[];
322
+ isPc: boolean;
323
+ pTools: Tool[];
324
+ mTools: Tool[];
129
325
  visibleToolIds: number[];
130
326
  readyToolIds: number[];
327
+ sectionMode: "plane" | "box" | null;
131
328
  }>) => (id: number) => boolean;
132
329
  isToolEnable: (state: {
133
- tools: {
330
+ isPc: boolean;
331
+ pTools: {
332
+ id: number;
333
+ key: string;
334
+ name: string;
335
+ hasActiveState: boolean;
336
+ component: ComponentName | "";
337
+ isShowDelimiter: boolean;
338
+ img: string;
339
+ imgActive: string;
340
+ isActive: boolean;
341
+ position?: 0 | 1 | 2 | undefined;
342
+ }[];
343
+ mTools: {
134
344
  id: number;
135
345
  key: string;
136
346
  name: string;
@@ -140,16 +350,34 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
140
350
  img: string;
141
351
  imgActive: string;
142
352
  isActive: boolean;
353
+ position?: 0 | 1 | 2 | undefined;
143
354
  }[];
144
355
  visibleToolIds: number[];
145
356
  readyToolIds: number[];
357
+ sectionMode: "plane" | "box" | null;
146
358
  } & import('pinia').PiniaCustomStateProperties<{
147
- tools: Tool[];
359
+ isPc: boolean;
360
+ pTools: Tool[];
361
+ mTools: Tool[];
148
362
  visibleToolIds: number[];
149
363
  readyToolIds: number[];
364
+ sectionMode: "plane" | "box" | null;
150
365
  }>) => (id: number) => boolean;
151
- isToolActive: (state: {
152
- tools: {
366
+ isToolEnableBykey: (state: {
367
+ isPc: boolean;
368
+ pTools: {
369
+ id: number;
370
+ key: string;
371
+ name: string;
372
+ hasActiveState: boolean;
373
+ component: ComponentName | "";
374
+ isShowDelimiter: boolean;
375
+ img: string;
376
+ imgActive: string;
377
+ isActive: boolean;
378
+ position?: 0 | 1 | 2 | undefined;
379
+ }[];
380
+ mTools: {
153
381
  id: number;
154
382
  key: string;
155
383
  name: string;
@@ -159,16 +387,22 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
159
387
  img: string;
160
388
  imgActive: string;
161
389
  isActive: boolean;
390
+ position?: 0 | 1 | 2 | undefined;
162
391
  }[];
163
392
  visibleToolIds: number[];
164
393
  readyToolIds: number[];
394
+ sectionMode: "plane" | "box" | null;
165
395
  } & import('pinia').PiniaCustomStateProperties<{
166
- tools: Tool[];
396
+ isPc: boolean;
397
+ pTools: Tool[];
398
+ mTools: Tool[];
167
399
  visibleToolIds: number[];
168
400
  readyToolIds: number[];
169
- }>) => (id: number) => boolean;
170
- isToolActiveBykey: (state: {
171
- tools: {
401
+ sectionMode: "plane" | "box" | null;
402
+ }>) => (key: string) => boolean;
403
+ isToolActive: (state: {
404
+ isPc: boolean;
405
+ pTools: {
172
406
  id: number;
173
407
  key: string;
174
408
  name: string;
@@ -178,16 +412,46 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
178
412
  img: string;
179
413
  imgActive: string;
180
414
  isActive: boolean;
415
+ position?: 0 | 1 | 2 | undefined;
416
+ }[];
417
+ mTools: {
418
+ id: number;
419
+ key: string;
420
+ name: string;
421
+ hasActiveState: boolean;
422
+ component: ComponentName | "";
423
+ isShowDelimiter: boolean;
424
+ img: string;
425
+ imgActive: string;
426
+ isActive: boolean;
427
+ position?: 0 | 1 | 2 | undefined;
181
428
  }[];
182
429
  visibleToolIds: number[];
183
430
  readyToolIds: number[];
431
+ sectionMode: "plane" | "box" | null;
184
432
  } & import('pinia').PiniaCustomStateProperties<{
185
- tools: Tool[];
433
+ isPc: boolean;
434
+ pTools: Tool[];
435
+ mTools: Tool[];
186
436
  visibleToolIds: number[];
187
437
  readyToolIds: number[];
188
- }>) => (key: string) => boolean;
189
- hasToolActive: (state: {
190
- tools: {
438
+ sectionMode: "plane" | "box" | null;
439
+ }>) => (id: number) => boolean;
440
+ isToolActiveBykey: (state: {
441
+ isPc: boolean;
442
+ pTools: {
443
+ id: number;
444
+ key: string;
445
+ name: string;
446
+ hasActiveState: boolean;
447
+ component: ComponentName | "";
448
+ isShowDelimiter: boolean;
449
+ img: string;
450
+ imgActive: string;
451
+ isActive: boolean;
452
+ position?: 0 | 1 | 2 | undefined;
453
+ }[];
454
+ mTools: {
191
455
  id: number;
192
456
  key: string;
193
457
  name: string;
@@ -197,42 +461,91 @@ export declare const useToolbarStore: import('pinia').StoreDefinition<"toolbar",
197
461
  img: string;
198
462
  imgActive: string;
199
463
  isActive: boolean;
464
+ position?: 0 | 1 | 2 | undefined;
200
465
  }[];
201
466
  visibleToolIds: number[];
202
467
  readyToolIds: number[];
468
+ sectionMode: "plane" | "box" | null;
203
469
  } & import('pinia').PiniaCustomStateProperties<{
204
- tools: Tool[];
470
+ isPc: boolean;
471
+ pTools: Tool[];
472
+ mTools: Tool[];
205
473
  visibleToolIds: number[];
206
474
  readyToolIds: number[];
207
- }>) => (extraTool?: number[]) => {
208
- id: number;
209
- key: string;
210
- name: string;
211
- hasActiveState: boolean;
212
- component: ComponentName | "";
213
- isShowDelimiter: boolean;
214
- img: string;
215
- imgActive: string;
216
- isActive: boolean;
217
- } | undefined;
475
+ sectionMode: "plane" | "box" | null;
476
+ }>) => (key: string) => boolean;
218
477
  }, {
478
+ setDevice(type: string): void;
219
479
  toggleToolVisibility(toolId: any): void;
220
480
  setEnableTools(toolIds: number[]): void;
221
481
  setEnableToolsByKey(keys: string[]): void;
222
482
  setToolActiveStatus(toolId: number, isOpen?: boolean): void;
223
483
  setToolActiveStatusBykey(key: string, isOpen?: boolean): void;
484
+ setSectionMode(mode: "plane" | "box" | null): void;
224
485
  setAllToolClose(extraTool?: number[]): void;
225
486
  setReadyById(toolId: number): void;
226
487
  ifToolAllReady(): boolean;
227
488
  setReadyTools(toolIds: number[]): void;
228
489
  }>;
229
490
  export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
230
- tools: Tool[];
491
+ isPc: boolean;
492
+ pTools: Tool[];
493
+ mTools: Tool[];
231
494
  visibleToolIds: number[];
232
495
  readyToolIds: number[];
496
+ sectionMode: "plane" | "box" | null;
233
497
  }, {
498
+ tools: (state: {
499
+ isPc: boolean;
500
+ pTools: {
501
+ id: number;
502
+ key: string;
503
+ name: string;
504
+ hasActiveState: boolean;
505
+ component: ComponentName | "";
506
+ isShowDelimiter: boolean;
507
+ img: string;
508
+ imgActive: string;
509
+ isActive: boolean;
510
+ position?: 0 | 1 | 2 | undefined;
511
+ }[];
512
+ mTools: {
513
+ id: number;
514
+ key: string;
515
+ name: string;
516
+ hasActiveState: boolean;
517
+ component: ComponentName | "";
518
+ isShowDelimiter: boolean;
519
+ img: string;
520
+ imgActive: string;
521
+ isActive: boolean;
522
+ position?: 0 | 1 | 2 | undefined;
523
+ }[];
524
+ visibleToolIds: number[];
525
+ readyToolIds: number[];
526
+ sectionMode: "plane" | "box" | null;
527
+ } & import('pinia').PiniaCustomStateProperties<{
528
+ isPc: boolean;
529
+ pTools: Tool[];
530
+ mTools: Tool[];
531
+ visibleToolIds: number[];
532
+ readyToolIds: number[];
533
+ sectionMode: "plane" | "box" | null;
534
+ }>) => {
535
+ id: number;
536
+ key: string;
537
+ name: string;
538
+ hasActiveState: boolean;
539
+ component: ComponentName | "";
540
+ isShowDelimiter: boolean;
541
+ img: string;
542
+ imgActive: string;
543
+ isActive: boolean;
544
+ position?: 0 | 1 | 2 | undefined;
545
+ }[];
234
546
  visibleTools: (state: {
235
- tools: {
547
+ isPc: boolean;
548
+ pTools: {
236
549
  id: number;
237
550
  key: string;
238
551
  name: string;
@@ -242,16 +555,34 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
242
555
  img: string;
243
556
  imgActive: string;
244
557
  isActive: boolean;
558
+ position?: 0 | 1 | 2 | undefined;
559
+ }[];
560
+ mTools: {
561
+ id: number;
562
+ key: string;
563
+ name: string;
564
+ hasActiveState: boolean;
565
+ component: ComponentName | "";
566
+ isShowDelimiter: boolean;
567
+ img: string;
568
+ imgActive: string;
569
+ isActive: boolean;
570
+ position?: 0 | 1 | 2 | undefined;
245
571
  }[];
246
572
  visibleToolIds: number[];
247
573
  readyToolIds: number[];
574
+ sectionMode: "plane" | "box" | null;
248
575
  } & import('pinia').PiniaCustomStateProperties<{
249
- tools: Tool[];
576
+ isPc: boolean;
577
+ pTools: Tool[];
578
+ mTools: Tool[];
250
579
  visibleToolIds: number[];
251
580
  readyToolIds: number[];
581
+ sectionMode: "plane" | "box" | null;
252
582
  }>) => Tool[];
253
583
  readyTools: (state: {
254
- tools: {
584
+ isPc: boolean;
585
+ pTools: {
255
586
  id: number;
256
587
  key: string;
257
588
  name: string;
@@ -261,16 +592,46 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
261
592
  img: string;
262
593
  imgActive: string;
263
594
  isActive: boolean;
595
+ position?: 0 | 1 | 2 | undefined;
596
+ }[];
597
+ mTools: {
598
+ id: number;
599
+ key: string;
600
+ name: string;
601
+ hasActiveState: boolean;
602
+ component: ComponentName | "";
603
+ isShowDelimiter: boolean;
604
+ img: string;
605
+ imgActive: string;
606
+ isActive: boolean;
607
+ position?: 0 | 1 | 2 | undefined;
264
608
  }[];
265
609
  visibleToolIds: number[];
266
610
  readyToolIds: number[];
611
+ sectionMode: "plane" | "box" | null;
267
612
  } & import('pinia').PiniaCustomStateProperties<{
268
- tools: Tool[];
613
+ isPc: boolean;
614
+ pTools: Tool[];
615
+ mTools: Tool[];
269
616
  visibleToolIds: number[];
270
617
  readyToolIds: number[];
618
+ sectionMode: "plane" | "box" | null;
271
619
  }>) => number[];
272
620
  visibleComponents: (state: {
273
- tools: {
621
+ isPc: boolean;
622
+ pTools: {
623
+ id: number;
624
+ key: string;
625
+ name: string;
626
+ hasActiveState: boolean;
627
+ component: ComponentName | "";
628
+ isShowDelimiter: boolean;
629
+ img: string;
630
+ imgActive: string;
631
+ isActive: boolean;
632
+ position?: 0 | 1 | 2 | undefined;
633
+ }[];
634
+ mTools: {
274
635
  id: number;
275
636
  key: string;
276
637
  name: string;
@@ -280,16 +641,34 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
280
641
  img: string;
281
642
  imgActive: string;
282
643
  isActive: boolean;
644
+ position?: 0 | 1 | 2 | undefined;
283
645
  }[];
284
646
  visibleToolIds: number[];
285
647
  readyToolIds: number[];
648
+ sectionMode: "plane" | "box" | null;
286
649
  } & import('pinia').PiniaCustomStateProperties<{
287
- tools: Tool[];
650
+ isPc: boolean;
651
+ pTools: Tool[];
652
+ mTools: Tool[];
288
653
  visibleToolIds: number[];
289
654
  readyToolIds: number[];
655
+ sectionMode: "plane" | "box" | null;
290
656
  }>) => ("" | ComponentName)[];
291
657
  getKeyById: (state: {
292
- tools: {
658
+ isPc: boolean;
659
+ pTools: {
660
+ id: number;
661
+ key: string;
662
+ name: string;
663
+ hasActiveState: boolean;
664
+ component: ComponentName | "";
665
+ isShowDelimiter: boolean;
666
+ img: string;
667
+ imgActive: string;
668
+ isActive: boolean;
669
+ position?: 0 | 1 | 2 | undefined;
670
+ }[];
671
+ mTools: {
293
672
  id: number;
294
673
  key: string;
295
674
  name: string;
@@ -299,16 +678,34 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
299
678
  img: string;
300
679
  imgActive: string;
301
680
  isActive: boolean;
681
+ position?: 0 | 1 | 2 | undefined;
302
682
  }[];
303
683
  visibleToolIds: number[];
304
684
  readyToolIds: number[];
685
+ sectionMode: "plane" | "box" | null;
305
686
  } & import('pinia').PiniaCustomStateProperties<{
306
- tools: Tool[];
687
+ isPc: boolean;
688
+ pTools: Tool[];
689
+ mTools: Tool[];
307
690
  visibleToolIds: number[];
308
691
  readyToolIds: number[];
692
+ sectionMode: "plane" | "box" | null;
309
693
  }>) => (toolId: number) => string | undefined;
310
694
  getToolById: (state: {
311
- tools: {
695
+ isPc: boolean;
696
+ pTools: {
697
+ id: number;
698
+ key: string;
699
+ name: string;
700
+ hasActiveState: boolean;
701
+ component: ComponentName | "";
702
+ isShowDelimiter: boolean;
703
+ img: string;
704
+ imgActive: string;
705
+ isActive: boolean;
706
+ position?: 0 | 1 | 2 | undefined;
707
+ }[];
708
+ mTools: {
312
709
  id: number;
313
710
  key: string;
314
711
  name: string;
@@ -318,16 +715,71 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
318
715
  img: string;
319
716
  imgActive: string;
320
717
  isActive: boolean;
718
+ position?: 0 | 1 | 2 | undefined;
321
719
  }[];
322
720
  visibleToolIds: number[];
323
721
  readyToolIds: number[];
722
+ sectionMode: "plane" | "box" | null;
324
723
  } & import('pinia').PiniaCustomStateProperties<{
325
- tools: Tool[];
724
+ isPc: boolean;
725
+ pTools: Tool[];
726
+ mTools: Tool[];
326
727
  visibleToolIds: number[];
327
728
  readyToolIds: number[];
729
+ sectionMode: "plane" | "box" | null;
328
730
  }>) => (toolId: number) => Tool | undefined;
731
+ getToolByKey: (state: {
732
+ isPc: boolean;
733
+ pTools: {
734
+ id: number;
735
+ key: string;
736
+ name: string;
737
+ hasActiveState: boolean;
738
+ component: ComponentName | "";
739
+ isShowDelimiter: boolean;
740
+ img: string;
741
+ imgActive: string;
742
+ isActive: boolean;
743
+ position?: 0 | 1 | 2 | undefined;
744
+ }[];
745
+ mTools: {
746
+ id: number;
747
+ key: string;
748
+ name: string;
749
+ hasActiveState: boolean;
750
+ component: ComponentName | "";
751
+ isShowDelimiter: boolean;
752
+ img: string;
753
+ imgActive: string;
754
+ isActive: boolean;
755
+ position?: 0 | 1 | 2 | undefined;
756
+ }[];
757
+ visibleToolIds: number[];
758
+ readyToolIds: number[];
759
+ sectionMode: "plane" | "box" | null;
760
+ } & import('pinia').PiniaCustomStateProperties<{
761
+ isPc: boolean;
762
+ pTools: Tool[];
763
+ mTools: Tool[];
764
+ visibleToolIds: number[];
765
+ readyToolIds: number[];
766
+ sectionMode: "plane" | "box" | null;
767
+ }>) => (key: string) => Tool | undefined;
329
768
  hasActiveState: (state: {
330
- tools: {
769
+ isPc: boolean;
770
+ pTools: {
771
+ id: number;
772
+ key: string;
773
+ name: string;
774
+ hasActiveState: boolean;
775
+ component: ComponentName | "";
776
+ isShowDelimiter: boolean;
777
+ img: string;
778
+ imgActive: string;
779
+ isActive: boolean;
780
+ position?: 0 | 1 | 2 | undefined;
781
+ }[];
782
+ mTools: {
331
783
  id: number;
332
784
  key: string;
333
785
  name: string;
@@ -337,16 +789,34 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
337
789
  img: string;
338
790
  imgActive: string;
339
791
  isActive: boolean;
792
+ position?: 0 | 1 | 2 | undefined;
340
793
  }[];
341
794
  visibleToolIds: number[];
342
795
  readyToolIds: number[];
796
+ sectionMode: "plane" | "box" | null;
343
797
  } & import('pinia').PiniaCustomStateProperties<{
344
- tools: Tool[];
798
+ isPc: boolean;
799
+ pTools: Tool[];
800
+ mTools: Tool[];
345
801
  visibleToolIds: number[];
346
802
  readyToolIds: number[];
803
+ sectionMode: "plane" | "box" | null;
347
804
  }>) => (id: number) => boolean;
348
805
  isToolEnable: (state: {
349
- tools: {
806
+ isPc: boolean;
807
+ pTools: {
808
+ id: number;
809
+ key: string;
810
+ name: string;
811
+ hasActiveState: boolean;
812
+ component: ComponentName | "";
813
+ isShowDelimiter: boolean;
814
+ img: string;
815
+ imgActive: string;
816
+ isActive: boolean;
817
+ position?: 0 | 1 | 2 | undefined;
818
+ }[];
819
+ mTools: {
350
820
  id: number;
351
821
  key: string;
352
822
  name: string;
@@ -356,16 +826,34 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
356
826
  img: string;
357
827
  imgActive: string;
358
828
  isActive: boolean;
829
+ position?: 0 | 1 | 2 | undefined;
359
830
  }[];
360
831
  visibleToolIds: number[];
361
832
  readyToolIds: number[];
833
+ sectionMode: "plane" | "box" | null;
362
834
  } & import('pinia').PiniaCustomStateProperties<{
363
- tools: Tool[];
835
+ isPc: boolean;
836
+ pTools: Tool[];
837
+ mTools: Tool[];
364
838
  visibleToolIds: number[];
365
839
  readyToolIds: number[];
840
+ sectionMode: "plane" | "box" | null;
366
841
  }>) => (id: number) => boolean;
367
- isToolActive: (state: {
368
- tools: {
842
+ isToolEnableBykey: (state: {
843
+ isPc: boolean;
844
+ pTools: {
845
+ id: number;
846
+ key: string;
847
+ name: string;
848
+ hasActiveState: boolean;
849
+ component: ComponentName | "";
850
+ isShowDelimiter: boolean;
851
+ img: string;
852
+ imgActive: string;
853
+ isActive: boolean;
854
+ position?: 0 | 1 | 2 | undefined;
855
+ }[];
856
+ mTools: {
369
857
  id: number;
370
858
  key: string;
371
859
  name: string;
@@ -375,16 +863,22 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
375
863
  img: string;
376
864
  imgActive: string;
377
865
  isActive: boolean;
866
+ position?: 0 | 1 | 2 | undefined;
378
867
  }[];
379
868
  visibleToolIds: number[];
380
869
  readyToolIds: number[];
870
+ sectionMode: "plane" | "box" | null;
381
871
  } & import('pinia').PiniaCustomStateProperties<{
382
- tools: Tool[];
872
+ isPc: boolean;
873
+ pTools: Tool[];
874
+ mTools: Tool[];
383
875
  visibleToolIds: number[];
384
876
  readyToolIds: number[];
385
- }>) => (id: number) => boolean;
386
- isToolActiveBykey: (state: {
387
- tools: {
877
+ sectionMode: "plane" | "box" | null;
878
+ }>) => (key: string) => boolean;
879
+ isToolActive: (state: {
880
+ isPc: boolean;
881
+ pTools: {
388
882
  id: number;
389
883
  key: string;
390
884
  name: string;
@@ -394,16 +888,46 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
394
888
  img: string;
395
889
  imgActive: string;
396
890
  isActive: boolean;
891
+ position?: 0 | 1 | 2 | undefined;
892
+ }[];
893
+ mTools: {
894
+ id: number;
895
+ key: string;
896
+ name: string;
897
+ hasActiveState: boolean;
898
+ component: ComponentName | "";
899
+ isShowDelimiter: boolean;
900
+ img: string;
901
+ imgActive: string;
902
+ isActive: boolean;
903
+ position?: 0 | 1 | 2 | undefined;
397
904
  }[];
398
905
  visibleToolIds: number[];
399
906
  readyToolIds: number[];
907
+ sectionMode: "plane" | "box" | null;
400
908
  } & import('pinia').PiniaCustomStateProperties<{
401
- tools: Tool[];
909
+ isPc: boolean;
910
+ pTools: Tool[];
911
+ mTools: Tool[];
402
912
  visibleToolIds: number[];
403
913
  readyToolIds: number[];
404
- }>) => (key: string) => boolean;
405
- hasToolActive: (state: {
406
- tools: {
914
+ sectionMode: "plane" | "box" | null;
915
+ }>) => (id: number) => boolean;
916
+ isToolActiveBykey: (state: {
917
+ isPc: boolean;
918
+ pTools: {
919
+ id: number;
920
+ key: string;
921
+ name: string;
922
+ hasActiveState: boolean;
923
+ component: ComponentName | "";
924
+ isShowDelimiter: boolean;
925
+ img: string;
926
+ imgActive: string;
927
+ isActive: boolean;
928
+ position?: 0 | 1 | 2 | undefined;
929
+ }[];
930
+ mTools: {
407
931
  id: number;
408
932
  key: string;
409
933
  name: string;
@@ -413,30 +937,27 @@ export declare function getToolbarStore(): import('pinia').Store<"toolbar", {
413
937
  img: string;
414
938
  imgActive: string;
415
939
  isActive: boolean;
940
+ position?: 0 | 1 | 2 | undefined;
416
941
  }[];
417
942
  visibleToolIds: number[];
418
943
  readyToolIds: number[];
944
+ sectionMode: "plane" | "box" | null;
419
945
  } & import('pinia').PiniaCustomStateProperties<{
420
- tools: Tool[];
946
+ isPc: boolean;
947
+ pTools: Tool[];
948
+ mTools: Tool[];
421
949
  visibleToolIds: number[];
422
950
  readyToolIds: number[];
423
- }>) => (extraTool?: number[]) => {
424
- id: number;
425
- key: string;
426
- name: string;
427
- hasActiveState: boolean;
428
- component: ComponentName | "";
429
- isShowDelimiter: boolean;
430
- img: string;
431
- imgActive: string;
432
- isActive: boolean;
433
- } | undefined;
951
+ sectionMode: "plane" | "box" | null;
952
+ }>) => (key: string) => boolean;
434
953
  }, {
954
+ setDevice(type: string): void;
435
955
  toggleToolVisibility(toolId: any): void;
436
956
  setEnableTools(toolIds: number[]): void;
437
957
  setEnableToolsByKey(keys: string[]): void;
438
958
  setToolActiveStatus(toolId: number, isOpen?: boolean): void;
439
959
  setToolActiveStatusBykey(key: string, isOpen?: boolean): void;
960
+ setSectionMode(mode: "plane" | "box" | null): void;
440
961
  setAllToolClose(extraTool?: number[]): void;
441
962
  setReadyById(toolId: number): void;
442
963
  ifToolAllReady(): boolean;