@geode/opengeodeweb-front 10.34.0-rc.4 → 10.34.0-rc.5

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.
@@ -97,26 +97,30 @@ async function copyToClipboard(text: string, label: string) {
97
97
  <span>{{ actualItem.id }}</span>
98
98
  <v-btn
99
99
  data-testid="copyIdBtn"
100
- icon="mdi-content-copy"
100
+ icon
101
101
  variant="text"
102
- size="x-small"
103
102
  density="compact"
104
103
  class="ml-1 text-white"
104
+ style="width: 18px; height: 18px; min-width: 18px; min-height: 18px"
105
105
  @click.stop="copyToClipboard(actualItem.id, 'ID')"
106
- />
106
+ >
107
+ <v-icon size="12">mdi-content-copy</v-icon>
108
+ </v-btn>
107
109
  </span>
108
110
  <span v-if="actualItem.title" class="text-caption d-flex align-center">
109
111
  <strong class="text-white mr-1">Name:</strong>
110
112
  <span>{{ tooltipTitle }}</span>
111
113
  <v-btn
112
114
  data-testid="copyNameBtn"
113
- icon="mdi-content-copy"
115
+ icon
114
116
  variant="text"
115
- size="x-small"
116
117
  density="compact"
117
118
  class="ml-1 text-white"
119
+ style="width: 18px; height: 18px; min-width: 18px; min-height: 18px"
118
120
  @click.stop="copyToClipboard(actualItem.title, 'Name')"
119
- />
121
+ >
122
+ <v-icon size="12">mdi-content-copy</v-icon>
123
+ </v-btn>
120
124
  </span>
121
125
  <span v-if="actualItem.is_active !== undefined" class="text-caption d-flex align-center">
122
126
  <strong class="text-white mr-1">Status:</strong>
@@ -209,6 +209,7 @@ function onVerticalResizeStart(event: MouseEvent, index: number) {
209
209
  <div
210
210
  ref="activity-bar"
211
211
  class="activity-bar d-flex flex-column align-center py-2"
212
+ :class="{ 'is-closed': treeviewStore.opened_views.length === 0 }"
212
213
  :style="activityBarAdaptiveStyles"
213
214
  >
214
215
  <v-btn
@@ -314,9 +315,8 @@ function onVerticalResizeStart(event: MouseEvent, index: number) {
314
315
  position: absolute;
315
316
  z-index: 1;
316
317
  left: 0;
317
- top: 0;
318
- height: calc(100vh - 100px);
319
- margin-top: 8px;
318
+ top: 8px;
319
+ height: calc(100% - 16px);
320
320
  pointer-events: auto;
321
321
  }
322
322
 
@@ -325,9 +325,20 @@ function onVerticalResizeStart(event: MouseEvent, index: number) {
325
325
  height: 100%;
326
326
  border-radius: 16px 0 0 16px;
327
327
  margin-left: 10px;
328
+ border: 1px solid rgba(255, 255, 255, 0.2);
329
+ border-right: none;
328
330
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
329
331
  position: relative;
330
332
  overflow: hidden;
333
+ transition:
334
+ background-color 0.3s ease,
335
+ backdrop-filter 0.3s ease,
336
+ border-radius 0.2s ease;
337
+ }
338
+
339
+ .activity-bar.is-closed {
340
+ border-radius: 16px;
341
+ border-right: 1px solid rgba(255, 255, 255, 0.2);
331
342
  }
332
343
 
333
344
  .activity-bar::before {
@@ -219,8 +219,9 @@ function expandAll() {
219
219
  <v-btn
220
220
  v-if="isModel(item as unknown as TreeGroupItem)"
221
221
  data-testid="expandModelComponentsButton"
222
- icon="mdi-magnify-expand"
222
+ icon
223
223
  size="medium"
224
+ style="height: 23px; width: 23px"
224
225
  class="ml-2"
225
226
  variant="text"
226
227
  v-tooltip="'Model\'s mesh components'"
@@ -232,7 +233,9 @@ function expandAll() {
232
233
  'model_components',
233
234
  )
234
235
  "
235
- />
236
+ >
237
+ <v-icon size="18">mdi-magnify-expand</v-icon>
238
+ </v-btn>
236
239
  <v-btn
237
240
  v-if="isModel(item as unknown as TreeGroupItem) && hasCollectionsMap[item.id as string]"
238
241
  data-testid="expandModelCollectionsButton"
@@ -91,7 +91,14 @@ async function importWorkflow(files: FileToImport[]): Promise<string[]> {
91
91
  }
92
92
  const chunk = chunks[chunkIndex] ?? [];
93
93
  const chunk_results = await Promise.all(
94
- chunk.map(({ filename, geode_object_type }) => importFile(filename, geode_object_type)),
94
+ chunk.map(async ({ filename, geode_object_type }) => {
95
+ const res = await importFile(filename, geode_object_type);
96
+ loadedCount += 1;
97
+ if (typeof onProgress === "function") {
98
+ onProgress(loadedCount, files.length);
99
+ }
100
+ return res;
101
+ }),
95
102
  );
96
103
  results.push(...chunk_results);
97
104
  await processChunk(chunkIndex + 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-front",
3
- "version": "10.34.0-rc.4",
3
+ "version": "10.34.0-rc.5",
4
4
  "description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
6
6
  "bugs": {