@geode/opengeodeweb-front 10.3.0 → 10.3.1

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 (178) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/app/assets/geode_objects.js +1 -3
  3. package/app/components/Carousel.vue +7 -4
  4. package/app/components/CrsSelector.vue +5 -6
  5. package/app/components/DragAndDrop.vue +18 -8
  6. package/app/components/ExtensionSelector.vue +9 -17
  7. package/app/components/FeedBack/ErrorBanner.vue +1 -1
  8. package/app/components/FeedBack/Snackers.vue +4 -1
  9. package/app/components/FileSelector.vue +21 -10
  10. package/app/components/FileUploader.vue +15 -32
  11. package/app/components/HybridRenderingView.vue +5 -3
  12. package/app/components/Inspector/InspectionButton.vue +2 -2
  13. package/app/components/Inspector/ResultPanel.vue +4 -4
  14. package/app/components/Launcher.vue +1 -1
  15. package/app/components/Loading.vue +6 -6
  16. package/app/components/MissingFilesSelector.vue +23 -29
  17. package/app/components/ObjectSelector.vue +11 -10
  18. package/app/components/OptionCard.vue +1 -1
  19. package/app/components/PackagesVersions.vue +5 -3
  20. package/app/components/Recaptcha.vue +6 -4
  21. package/app/components/RemoteRenderingView.vue +4 -3
  22. package/app/components/Screenshot.vue +4 -4
  23. package/app/components/Step.vue +7 -7
  24. package/app/components/VeaseViewToolbar.vue +3 -3
  25. package/app/components/Viewer/BreadCrumb.vue +2 -4
  26. package/app/components/Viewer/ContextMenu.vue +77 -45
  27. package/app/components/Viewer/ContextMenuItem.vue +42 -33
  28. package/app/components/Viewer/EdgedCurve/PointsOptions.vue +3 -3
  29. package/app/components/Viewer/EdgedCurve/SpecificEdgesOptions.vue +5 -5
  30. package/app/components/Viewer/Generic/Mesh/CellsOptions.vue +6 -6
  31. package/app/components/Viewer/Generic/Mesh/EdgesOptions.vue +5 -5
  32. package/app/components/Viewer/Generic/Mesh/PointsOptions.vue +5 -5
  33. package/app/components/Viewer/Generic/Mesh/PolygonsOptions.vue +6 -7
  34. package/app/components/Viewer/Generic/Mesh/PolyhedraOptions.vue +6 -6
  35. package/app/components/Viewer/Generic/Model/EdgesOptions.vue +3 -3
  36. package/app/components/Viewer/Generic/Model/PointsOptions.vue +4 -4
  37. package/app/components/Viewer/Grid/2D/CellsOptions.vue +3 -3
  38. package/app/components/Viewer/Grid/2D/EdgesOptions.vue +3 -3
  39. package/app/components/Viewer/Grid/2D/PointsOptions.vue +3 -3
  40. package/app/components/Viewer/Grid/3D/CellsOptions.vue +3 -3
  41. package/app/components/Viewer/Grid/3D/EdgesOptions.vue +3 -3
  42. package/app/components/Viewer/Grid/3D/FacetsOptions.vue +3 -3
  43. package/app/components/Viewer/Grid/3D/PointsOptions.vue +3 -3
  44. package/app/components/Viewer/HybridSolid/EdgesOptions.vue +3 -3
  45. package/app/components/Viewer/HybridSolid/PointsOptions.vue +3 -3
  46. package/app/components/Viewer/HybridSolid/PolygonsOptions.vue +3 -3
  47. package/app/components/Viewer/HybridSolid/PolyhedraOptions.vue +3 -3
  48. package/app/components/Viewer/Options/CellAttributeSelector.vue +23 -20
  49. package/app/components/Viewer/Options/ColorMapList.vue +75 -50
  50. package/app/components/Viewer/Options/ColorMapPicker.vue +38 -32
  51. package/app/components/Viewer/Options/ColorPicker.vue +3 -3
  52. package/app/components/Viewer/Options/ColoringTypeSelector.vue +29 -21
  53. package/app/components/Viewer/Options/EdgeAttributeSelector.vue +7 -7
  54. package/app/components/Viewer/Options/PolygonAttributeSelector.vue +7 -7
  55. package/app/components/Viewer/Options/PolyhedronAttributeSelector.vue +7 -7
  56. package/app/components/Viewer/Options/TextureItem.vue +5 -5
  57. package/app/components/Viewer/Options/TexturesSelector.vue +5 -5
  58. package/app/components/Viewer/Options/VertexAttributeSelector.vue +7 -7
  59. package/app/components/Viewer/PointSet/SpecificPointsOptions.vue +5 -5
  60. package/app/components/Viewer/PolygonalSurface/EdgesOptions.vue +3 -3
  61. package/app/components/Viewer/PolygonalSurface/PointsOptions.vue +3 -3
  62. package/app/components/Viewer/PolygonalSurface/SpecificPolygonsOptions.vue +6 -6
  63. package/app/components/Viewer/Solid/EdgesOptions.vue +3 -3
  64. package/app/components/Viewer/Solid/PointsOptions.vue +3 -3
  65. package/app/components/Viewer/Solid/PolygonsOptions.vue +3 -3
  66. package/app/components/Viewer/Solid/SpecificPolyhedraOptions.vue +6 -6
  67. package/app/components/Viewer/TetrahedralSolid/TetrahedraOptions.vue +3 -3
  68. package/app/components/Viewer/TetrahedralSolid/TrianglesOptions.vue +3 -3
  69. package/app/components/Viewer/Tree/ObjectTree.vue +7 -9
  70. package/app/components/Viewer/TreeComponent.vue +9 -13
  71. package/app/components/Viewer/TreeObject.vue +8 -9
  72. package/app/components/Viewer/TriangulatedSurface/EdgesOptions.vue +3 -3
  73. package/app/components/Viewer/TriangulatedSurface/PointsOptions.vue +3 -3
  74. package/app/components/Viewer/TriangulatedSurface/TrianglesOptions.vue +3 -3
  75. package/app/components/Wrapper.vue +1 -2
  76. package/app/components/ZScaling.vue +1 -1
  77. package/app/composables/project_manager.js +6 -6
  78. package/app/plugins/auto_store_register.js +1 -1
  79. package/app/stores/app.js +45 -41
  80. package/app/stores/data.js +52 -51
  81. package/app/stores/data_style.js +12 -11
  82. package/app/stores/feedback.js +5 -1
  83. package/app/stores/geode.js +16 -13
  84. package/app/stores/hybrid_viewer.js +72 -44
  85. package/app/stores/infra.js +18 -16
  86. package/app/stores/lambda.js +1 -9
  87. package/app/stores/menu.js +13 -13
  88. package/app/stores/treeview.js +15 -13
  89. package/app/stores/viewer.js +39 -33
  90. package/app/utils/app_mode.js +4 -3
  91. package/app/utils/default_styles.js +55 -47
  92. package/app/utils/file_import_workflow.js +4 -17
  93. package/app/utils/local.js +195 -184
  94. package/app/utils/upload_file.js +1 -2
  95. package/eslint.config.js +2 -2
  96. package/internal/database/database.js +17 -32
  97. package/internal/database/extended_database.js +25 -0
  98. package/internal/stores/data_style/mesh/cells/cell.js +3 -3
  99. package/internal/stores/data_style/mesh/cells/color.js +1 -1
  100. package/internal/stores/data_style/mesh/cells/index.js +7 -7
  101. package/internal/stores/data_style/mesh/cells/textures.js +1 -1
  102. package/internal/stores/data_style/mesh/cells/vertex.js +3 -3
  103. package/internal/stores/data_style/mesh/cells/visibility.js +1 -1
  104. package/internal/stores/data_style/mesh/edges/color.js +1 -1
  105. package/internal/stores/data_style/mesh/edges/edge.js +22 -22
  106. package/internal/stores/data_style/mesh/edges/index.js +7 -7
  107. package/internal/stores/data_style/mesh/edges/vertex.js +3 -3
  108. package/internal/stores/data_style/mesh/edges/visibility.js +1 -1
  109. package/internal/stores/data_style/mesh/edges/width.js +1 -1
  110. package/internal/stores/data_style/mesh/index.js +4 -5
  111. package/internal/stores/data_style/mesh/points/color.js +1 -1
  112. package/internal/stores/data_style/mesh/points/index.js +6 -6
  113. package/internal/stores/data_style/mesh/points/size.js +1 -1
  114. package/internal/stores/data_style/mesh/points/vertex.js +3 -3
  115. package/internal/stores/data_style/mesh/points/visibility.js +1 -1
  116. package/internal/stores/data_style/mesh/polygons/color.js +1 -1
  117. package/internal/stores/data_style/mesh/polygons/index.js +7 -7
  118. package/internal/stores/data_style/mesh/polygons/polygon.js +3 -3
  119. package/internal/stores/data_style/mesh/polygons/textures.js +1 -1
  120. package/internal/stores/data_style/mesh/polygons/vertex.js +3 -3
  121. package/internal/stores/data_style/mesh/polygons/visibility.js +1 -1
  122. package/internal/stores/data_style/mesh/polyhedra/color.js +1 -1
  123. package/internal/stores/data_style/mesh/polyhedra/index.js +6 -6
  124. package/internal/stores/data_style/mesh/polyhedra/polyhedron.js +3 -3
  125. package/internal/stores/data_style/mesh/polyhedra/vertex.js +3 -3
  126. package/internal/stores/data_style/mesh/polyhedra/visibility.js +1 -1
  127. package/internal/stores/data_style/model/edges.js +1 -1
  128. package/internal/stores/data_style/model/index.js +32 -22
  129. package/internal/utils/api_fetch.js +8 -5
  130. package/internal/utils/viewer_call.js +42 -46
  131. package/nuxt.config.js +3 -3
  132. package/package.json +1 -1
  133. package/scripts/generate_geode_objects.js +8 -7
  134. package/tests/integration/setup.js +28 -21
  135. package/tests/integration/stores/data_style/mesh/cells.nuxt.test.js +18 -10
  136. package/tests/integration/stores/data_style/mesh/edges.nuxt.test.js +18 -10
  137. package/tests/integration/stores/data_style/mesh/index.nuxt.test.js +9 -5
  138. package/tests/integration/stores/data_style/mesh/points.nuxt.test.js +17 -10
  139. package/tests/integration/stores/data_style/mesh/polygons.nuxt.test.js +18 -10
  140. package/tests/integration/stores/data_style/mesh/polyhedra.nuxt.test.js +18 -10
  141. package/tests/integration/stores/data_style/model/blocks.nuxt.test.js +10 -6
  142. package/tests/integration/stores/data_style/model/corners.nuxt.test.js +10 -6
  143. package/tests/integration/stores/data_style/model/edges.nuxt.test.js +9 -5
  144. package/tests/integration/stores/data_style/model/index.nuxt.test.js +9 -5
  145. package/tests/integration/stores/data_style/model/lines.nuxt.test.js +10 -6
  146. package/tests/integration/stores/data_style/model/points.nuxt.test.js +9 -5
  147. package/tests/integration/stores/data_style/model/surfaces.nuxt.test.js +10 -6
  148. package/tests/integration/stores/viewer.nuxt.test.js +55 -39
  149. package/tests/setup_indexeddb.js +1 -0
  150. package/tests/unit/components/CrsSelector.nuxt.test.js +18 -19
  151. package/tests/unit/components/ExtensionSelector.nuxt.test.js +24 -19
  152. package/tests/unit/components/FeedBack/ErrorsBanner.nuxt.test.js +23 -36
  153. package/tests/unit/components/FeedBack/Snackers.nuxt.test.js +20 -25
  154. package/tests/unit/components/FileSelector.nuxt.test.js +27 -27
  155. package/tests/unit/components/FileUploader.nuxt.test.js +18 -17
  156. package/tests/unit/components/Inspector/InspectionButton.nuxt.test.js +9 -16
  157. package/tests/unit/components/Inspector/ResultPanel.nuxt.test.js +8 -6
  158. package/tests/unit/components/Launcher.nuxt.test.js +12 -17
  159. package/tests/unit/components/MissingFilesSelector.nuxt.test.js +16 -19
  160. package/tests/unit/components/ObjectSelector.nuxt.test.js +30 -34
  161. package/tests/unit/components/PackagesVersions.nuxt.test.js +8 -11
  162. package/tests/unit/components/Step.nuxt.test.js +8 -7
  163. package/tests/unit/components/Stepper.nuxt.test.js +14 -12
  164. package/tests/unit/composables/ProjectManager.nuxt.test.js +142 -100
  165. package/tests/unit/composables/api_fetch.nuxt.test.js +12 -39
  166. package/tests/unit/composables/run_function_when_microservices_connected.nuxt.test.js +36 -61
  167. package/tests/unit/composables/upload_file.nuxt.test.js +21 -25
  168. package/tests/unit/plugins/project_load.nuxt.test.js +22 -21
  169. package/tests/unit/stores/App.nuxt.test.js +45 -43
  170. package/tests/unit/stores/Feedback.nuxt.test.js +16 -18
  171. package/tests/unit/stores/Geode.nuxt.test.js +135 -137
  172. package/tests/unit/stores/Infra.nuxt.test.js +20 -26
  173. package/tests/unit/stores/Lambda.nuxt.test.js +30 -31
  174. package/tests/unit/stores/Treeview.nuxt.test.js +53 -55
  175. package/tests/unit/stores/Viewer.nuxt.test.js +16 -23
  176. package/tests/unit/utils/validate_schema.nuxt.test.js +18 -18
  177. package/tests/utils.js +15 -2
  178. package/tests/vitest.config.js +6 -2
@@ -22,18 +22,18 @@ const blocks_defaultVisibility = true
22
22
  const blocks_defaultColor = { r: 255, g: 255, b: 255 }
23
23
 
24
24
  // Mesh functions
25
- const meshPointsDefaultStyle = (
25
+ function meshPointsDefaultStyle(
26
26
  visibility = points_defaultVisibility,
27
27
  size = points_defaultSize,
28
28
  color = points_defaultColor,
29
- ) => {
29
+ ) {
30
30
  return {
31
31
  visibility,
32
32
  coloring: {
33
33
  active: "color",
34
34
  color,
35
35
  vertex: {
36
- name: null,
36
+ name: undefined,
37
37
  storedConfigs: {},
38
38
  },
39
39
  },
@@ -41,22 +41,22 @@ const meshPointsDefaultStyle = (
41
41
  }
42
42
  }
43
43
 
44
- const meshEdgesDefaultStyle = (
44
+ function meshEdgesDefaultStyle(
45
45
  visibility = edges_defaultVisibility,
46
46
  width = edges_defaultWidth,
47
47
  color = edges_defaultColor,
48
- ) => {
48
+ ) {
49
49
  return {
50
50
  visibility,
51
51
  coloring: {
52
52
  active: "color",
53
53
  color,
54
54
  edge: {
55
- name: null,
55
+ name: undefined,
56
56
  storedConfigs: {},
57
57
  },
58
58
  vertex: {
59
- name: null,
59
+ name: undefined,
60
60
  storedConfigs: {},
61
61
  },
62
62
  },
@@ -64,79 +64,79 @@ const meshEdgesDefaultStyle = (
64
64
  }
65
65
  }
66
66
 
67
- const meshCellsDefaultStyle = (
67
+ function meshCellsDefaultStyle(
68
68
  visibility = cells_defaultVisibility,
69
69
  color = cells_defaultColor,
70
- ) => {
70
+ ) {
71
71
  return {
72
72
  visibility,
73
73
  coloring: {
74
74
  active: "color",
75
75
  cell: {
76
- name: null,
76
+ name: undefined,
77
77
  storedConfigs: {},
78
78
  },
79
79
  color,
80
- textures: null,
80
+ textures: undefined,
81
81
  vertex: {
82
- name: null,
82
+ name: undefined,
83
83
  storedConfigs: {},
84
84
  },
85
85
  },
86
86
  }
87
87
  }
88
88
 
89
- const meshPolygonsDefaultStyle = (
89
+ function meshPolygonsDefaultStyle(
90
90
  visibility = polygons_defaultVisibility,
91
91
  color = polygons_defaultColor,
92
- ) => {
92
+ ) {
93
93
  return {
94
94
  visibility,
95
95
  coloring: {
96
96
  active: "color",
97
97
  color,
98
- textures: null,
98
+ textures: undefined,
99
99
  polygon: {
100
- name: null,
100
+ name: undefined,
101
101
  storedConfigs: {},
102
102
  },
103
103
  vertex: {
104
- name: null,
104
+ name: undefined,
105
105
  storedConfigs: {},
106
106
  },
107
107
  },
108
108
  }
109
109
  }
110
110
 
111
- const meshPolyhedraDefaultStyle = (
111
+ function meshPolyhedraDefaultStyle(
112
112
  visibility = polyhedra_defaultVisibility,
113
113
  color = polyhedra_defaultColor,
114
- ) => {
114
+ ) {
115
115
  return {
116
116
  visibility,
117
117
  coloring: {
118
118
  active: "color",
119
119
  color,
120
120
  polyhedron: {
121
- name: null,
121
+ name: undefined,
122
122
  storedConfigs: {},
123
123
  },
124
124
  vertex: {
125
- name: null,
125
+ name: undefined,
126
126
  storedConfigs: {},
127
127
  },
128
128
  },
129
129
  }
130
130
  }
131
131
 
132
- const pointSet_defaultStyle = () => {
132
+ function pointSet_defaultStyle() {
133
133
  return {
134
134
  visibility: true,
135
135
  points: meshPointsDefaultStyle(),
136
136
  }
137
137
  }
138
138
 
139
- const edgedCurve_defaultStyle = () => {
139
+ function edgedCurve_defaultStyle() {
140
140
  return {
141
141
  visibility: true,
142
142
  points: meshPointsDefaultStyle(),
@@ -144,7 +144,7 @@ const edgedCurve_defaultStyle = () => {
144
144
  }
145
145
  }
146
146
 
147
- const grid2d_defaultStyle = () => {
147
+ function grid2d_defaultStyle() {
148
148
  return {
149
149
  visibility: true,
150
150
  points: meshPointsDefaultStyle(false),
@@ -153,7 +153,7 @@ const grid2d_defaultStyle = () => {
153
153
  }
154
154
  }
155
155
 
156
- const grid3d_defaultStyle = () => {
156
+ function grid3d_defaultStyle() {
157
157
  return {
158
158
  visibility: true,
159
159
  points: meshPointsDefaultStyle(false),
@@ -162,7 +162,7 @@ const grid3d_defaultStyle = () => {
162
162
  polyhedra: meshPolyhedraDefaultStyle(),
163
163
  }
164
164
  }
165
- const surface_defaultStyle = () => {
165
+ function surface_defaultStyle() {
166
166
  return {
167
167
  visibility: true,
168
168
  points: meshPointsDefaultStyle(false),
@@ -171,7 +171,7 @@ const surface_defaultStyle = () => {
171
171
  }
172
172
  }
173
173
 
174
- const solid_defaultStyle = () => {
174
+ function solid_defaultStyle() {
175
175
  return {
176
176
  visibility: true,
177
177
  points: meshPointsDefaultStyle(false),
@@ -182,41 +182,49 @@ const solid_defaultStyle = () => {
182
182
  }
183
183
 
184
184
  // Model functions
185
- const modelCornersDefaultStyle = (
185
+ function modelCornersDefaultStyle(
186
186
  visibility = corners_defaultVisibility,
187
187
  color = corners_defaultColor,
188
- ) => {
188
+ ) {
189
189
  return { visibility, color }
190
190
  }
191
- const modelLinesDefaultStyle = (
191
+
192
+ function modelLinesDefaultStyle(
192
193
  visibility = lines_defaultVisibility,
193
194
  color = lines_defaultColor,
194
- ) => {
195
+ ) {
195
196
  return { visibility, color }
196
197
  }
197
- const modelSurfacesDefaultStyle = (
198
+
199
+ function modelSurfacesDefaultStyle(
198
200
  visibility = surfaces_defaultVisibility,
199
201
  color = surfaces_defaultColor,
200
- ) => {
202
+ ) {
201
203
  return { visibility, color }
202
204
  }
203
- const modelBlocksDefaultStyle = (
205
+
206
+ function modelBlocksDefaultStyle(
204
207
  visibility = blocks_defaultVisibility,
205
208
  color = blocks_defaultColor,
206
- ) => {
209
+ ) {
207
210
  return { visibility, color }
208
211
  }
209
- const modelPointsDefaultStyle = (
212
+
213
+ function modelPointsDefaultStyle(
210
214
  visibility = points_defaultVisibility,
211
- size,
212
- ) => {
215
+ size = points_defaultSize,
216
+ ) {
213
217
  return { visibility, size }
214
218
  }
215
- const modelEdgesDefaultStyle = (visibility = edges_defaultVisibility) => {
216
- return { visibility }
219
+
220
+ function modelEdgesDefaultStyle(
221
+ visibility = edges_defaultVisibility,
222
+ width = edges_defaultWidth,
223
+ ) {
224
+ return { visibility, width }
217
225
  }
218
226
 
219
- const brep_defaultStyle = () => {
227
+ function brep_defaultStyle() {
220
228
  return {
221
229
  visibility: true,
222
230
  corners: modelCornersDefaultStyle(),
@@ -228,7 +236,7 @@ const brep_defaultStyle = () => {
228
236
  }
229
237
  }
230
238
 
231
- const crossSection_defaultStyle = () => {
239
+ function crossSection_defaultStyle() {
232
240
  return {
233
241
  visibility: true,
234
242
  corners: modelCornersDefaultStyle(),
@@ -239,7 +247,7 @@ const crossSection_defaultStyle = () => {
239
247
  }
240
248
  }
241
249
 
242
- const structuralModel_defaultStyle = () => {
250
+ function structuralModel_defaultStyle() {
243
251
  return {
244
252
  visibility: true,
245
253
  corners: modelCornersDefaultStyle(),
@@ -251,7 +259,7 @@ const structuralModel_defaultStyle = () => {
251
259
  }
252
260
  }
253
261
 
254
- const section_defaultStyle = () => {
262
+ function section_defaultStyle() {
255
263
  return {
256
264
  visibility: true,
257
265
  corners: modelCornersDefaultStyle(),
@@ -262,7 +270,7 @@ const section_defaultStyle = () => {
262
270
  }
263
271
  }
264
272
 
265
- const implicitCrossSection_defaultStyle = () => {
273
+ function implicitCrossSection_defaultStyle() {
266
274
  return {
267
275
  visibility: true,
268
276
  corners: modelCornersDefaultStyle(),
@@ -273,7 +281,7 @@ const implicitCrossSection_defaultStyle = () => {
273
281
  }
274
282
  }
275
283
 
276
- const implicitStructuralModel_defaultStyle = () => {
284
+ function implicitStructuralModel_defaultStyle() {
277
285
  return {
278
286
  visibility: true,
279
287
  corners: modelCornersDefaultStyle(),
@@ -285,7 +293,7 @@ const implicitStructuralModel_defaultStyle = () => {
285
293
  }
286
294
  }
287
295
 
288
- const default_styles = () => {
296
+ function default_styles() {
289
297
  return {
290
298
  BRep: brep_defaultStyle(),
291
299
  CrossSection: crossSection_defaultStyle(),
@@ -2,10 +2,10 @@
2
2
  import back_schemas from "@geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
3
3
 
4
4
  // Local imports
5
- import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer"
6
- import { useGeodeStore } from "@ogw_front/stores/geode"
7
- import { useDataStyleStore } from "@ogw_front/stores/data_style"
8
5
  import { useDataStore } from "@ogw_front/stores/data"
6
+ import { useDataStyleStore } from "@ogw_front/stores/data_style"
7
+ import { useGeodeStore } from "@ogw_front/stores/geode"
8
+ import { useHybridViewerStore } from "@ogw_front/stores/hybrid_viewer"
9
9
  import { useTreeviewStore } from "@ogw_front/stores/treeview"
10
10
 
11
11
  async function importWorkflow(files) {
@@ -73,22 +73,9 @@ async function importFile(filename, geode_object_type) {
73
73
 
74
74
  async function importWorkflowFromSnapshot(items) {
75
75
  console.log("[importWorkflowFromSnapshot] start", { count: items?.length })
76
- const dataStore = useDataStore()
77
- const treeviewStore = useTreeviewStore()
78
- const dataStyleStore = useDataStyleStore()
79
76
  const hybridViewerStore = useHybridViewerStore()
80
77
 
81
- const ids = []
82
- for (const item of items) {
83
- const id = await importItem(
84
- item,
85
- dataStore,
86
- treeviewStore,
87
- dataStyleStore,
88
- hybridViewerStore,
89
- )
90
- ids.push(id)
91
- }
78
+ const ids = await Promise.all(items.map((item) => importItem(item)))
92
79
  hybridViewerStore.remoteRender()
93
80
  console.log("[importWorkflowFromSnapshot] done", { ids })
94
81
  return ids