@geode/opengeodeweb-front 11.2.2-rc.1 → 12.0.0-rc.2

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 (260) hide show
  1. package/.build/shared/utils/response_handlers/load.js +5 -2
  2. package/.build/tests/browser/helpers/object_trees/main_object_tree.js +3 -3
  3. package/.build/tests/browser/helpers/object_trees/model_components_object_tree.js +2 -2
  4. package/.build/tests/browser/suites/model/surfaces.js +1 -1
  5. package/app/app.config.ts +28 -0
  6. package/app/assets/css/main.css +11 -0
  7. package/app/assets/geode_objects.ts +37 -108
  8. package/app/assets/img/geode_objects/HorizonStack3D.svg +10 -0
  9. package/app/components/ActionButton.vue +9 -2
  10. package/app/components/CameraManager/List.vue +6 -6
  11. package/app/components/CameraManager.vue +0 -1
  12. package/app/components/CameraOrientation.vue +12 -7
  13. package/app/components/ChromeTheme.vue +20 -0
  14. package/app/components/ClippingPlaneCard.vue +2 -3
  15. package/app/components/ClippingPlanes.vue +2 -2
  16. package/app/components/CrsSelector.vue +8 -8
  17. package/app/components/DeleteDialog.vue +12 -16
  18. package/app/components/DragAndDropInternal/DragAndDropInline.vue +7 -7
  19. package/app/components/DragAndDropInternal/DragAndDropOverlay.vue +87 -82
  20. package/app/components/ExtensionSelector.vue +21 -14
  21. package/app/components/FactorFilterPanel.vue +0 -1
  22. package/app/components/FeedBack/ErrorBanner.vue +8 -9
  23. package/app/components/FeedBack/Snackers.vue +5 -7
  24. package/app/components/FileUploader.vue +13 -21
  25. package/app/components/GlassCard.vue +3 -1
  26. package/app/components/HybridRenderingView.vue +2 -0
  27. package/app/components/HybridViewerTooltip.vue +4 -4
  28. package/app/components/Launcher.vue +1 -1
  29. package/app/components/Loading/EcoMessages.vue +17 -11
  30. package/app/components/Loading/Footer.vue +2 -2
  31. package/app/components/Loading/Header.vue +9 -4
  32. package/app/components/Loading/Progress.vue +7 -3
  33. package/app/components/Loading.vue +54 -46
  34. package/app/components/MissingFilesSelector.vue +5 -5
  35. package/app/components/ObjectSelector.vue +8 -15
  36. package/app/components/PackagesVersions.vue +1 -3
  37. package/app/components/ProjectCrs.vue +1 -1
  38. package/app/components/Screenshot.vue +23 -15
  39. package/app/components/SearchBar.vue +1 -3
  40. package/app/components/SliceCard.vue +1 -2
  41. package/app/components/Step.vue +1 -1
  42. package/app/components/Stepper.vue +13 -11
  43. package/app/components/ThresholdCard.vue +1 -1
  44. package/app/components/ThresholdFilter.vue +2 -2
  45. package/app/components/TimeSeriesTargetSelector.vue +3 -6
  46. package/app/components/ToolPanel.vue +3 -9
  47. package/app/components/Viewer/Basemap/CropOptions.vue +1 -1
  48. package/app/components/Viewer/Basemap/OpacityOptions.vue +1 -1
  49. package/app/components/Viewer/ContextMenu/CenterButton.vue +9 -3
  50. package/app/components/Viewer/ContextMenu/ContextMenu.vue +1 -1
  51. package/app/components/Viewer/ContextMenu/ContextMenuItem.vue +17 -6
  52. package/app/components/Viewer/ContextMenu/InfoCard.vue +12 -13
  53. package/app/components/Viewer/EdgedCurve/SpecificEdgesColoring.vue +12 -9
  54. package/app/components/Viewer/EdgedCurve/SpecificEdgesOptions.vue +2 -2
  55. package/app/components/Viewer/Generic/Mesh/CellsColoring.vue +12 -9
  56. package/app/components/Viewer/Generic/Mesh/CellsOptions.vue +1 -1
  57. package/app/components/Viewer/Generic/Mesh/EdgesColoring.vue +12 -9
  58. package/app/components/Viewer/Generic/Mesh/EdgesOptions.vue +3 -3
  59. package/app/components/Viewer/Generic/Mesh/PointsOptions.vue +12 -8
  60. package/app/components/Viewer/Generic/Mesh/PolygonsColoring.vue +12 -9
  61. package/app/components/Viewer/Generic/Mesh/PolygonsOptions.vue +1 -1
  62. package/app/components/Viewer/Generic/Mesh/PolyhedraColoring.vue +12 -9
  63. package/app/components/Viewer/Generic/Mesh/PolyhedraOptions.vue +1 -1
  64. package/app/components/Viewer/Generic/Model/BlocksOptions.vue +16 -17
  65. package/app/components/Viewer/Generic/Model/ComponentEdgesOptions.vue +11 -6
  66. package/app/components/Viewer/Generic/Model/ComponentPointsOptions.vue +11 -6
  67. package/app/components/Viewer/Generic/Model/CornerComponentOptions.vue +7 -8
  68. package/app/components/Viewer/Generic/Model/CornersTypeOptions.vue +7 -8
  69. package/app/components/Viewer/Generic/Model/LineComponentOptions.vue +9 -10
  70. package/app/components/Viewer/Generic/Model/LinesTypeOptions.vue +9 -10
  71. package/app/components/Viewer/Generic/Model/ModelEdgesCard.vue +2 -2
  72. package/app/components/Viewer/Generic/Model/ModelPointsCard.vue +1 -1
  73. package/app/components/Viewer/Generic/Model/ModelStyleCard.vue +3 -4
  74. package/app/components/Viewer/Generic/Model/SurfacesOptions.vue +16 -17
  75. package/app/components/Viewer/ObjectTree/Base/CommonTreeView.vue +4 -4
  76. package/app/components/Viewer/ObjectTree/Base/ComponentRelations.vue +1 -1
  77. package/app/components/Viewer/ObjectTree/Base/Controls.vue +22 -18
  78. package/app/components/Viewer/ObjectTree/Base/ItemLabel.vue +11 -11
  79. package/app/components/Viewer/ObjectTree/Base/StickyHeader.vue +3 -3
  80. package/app/components/Viewer/ObjectTree/Base/TreeRow.vue +6 -9
  81. package/app/components/Viewer/ObjectTree/Box.vue +20 -21
  82. package/app/components/Viewer/ObjectTree/Layout.vue +28 -25
  83. package/app/components/Viewer/ObjectTree/Views/GlobalObjects.vue +4 -3
  84. package/app/components/Viewer/ObjectTree/Views/ModelTree.vue +1 -1
  85. package/app/components/Viewer/Options/AttributeRangeSelector.vue +1 -1
  86. package/app/components/Viewer/Options/AttributeSelector.vue +1 -1
  87. package/app/components/Viewer/Options/ColorMapList.vue +7 -9
  88. package/app/components/Viewer/Options/ColorMapPicker.vue +2 -2
  89. package/app/components/Viewer/Options/ColorPicker.vue +9 -9
  90. package/app/components/Viewer/Options/ColoringTypeSelector.vue +9 -9
  91. package/app/components/Viewer/Options/NoDataColorInfo.vue +4 -4
  92. package/app/components/Viewer/Options/Sliders/Opacity.vue +1 -1
  93. package/app/components/Viewer/Options/Sliders/Slider.vue +1 -1
  94. package/app/components/Viewer/Options/TextureItem.vue +11 -8
  95. package/app/components/Viewer/Options/TexturesSelector.vue +3 -3
  96. package/app/components/Viewer/Options/VisibilitySwitch.vue +1 -1
  97. package/app/components/Viewer/OrientationCompass.vue +223 -0
  98. package/app/components/Viewer/OrientationGlobe.vue +376 -0
  99. package/app/components/Viewer/OrientationOverlay.vue +47 -0
  100. package/app/components/Viewer/OverlappingObjectsPicker.vue +10 -7
  101. package/app/components/Viewer/PointSet/SpecificPointsOptions.vue +4 -5
  102. package/app/components/Viewer/Scene/BackgroundOptions.vue +3 -3
  103. package/app/components/Viewer/Scene/OrientationWidgetOptions.vue +1 -1
  104. package/app/components/Viewer/Scene/TextOptions.vue +3 -3
  105. package/app/components/Viewer/Solid/SpecificPolyhedraColoring.vue +12 -12
  106. package/app/components/Viewer/Solid/SpecificPolyhedraOptions.vue +1 -1
  107. package/app/components/Viewer/Surface/PolygonsColoring.vue +12 -12
  108. package/app/components/Viewer/Surface/PolygonsOptions.vue +1 -1
  109. package/app/components/Viewer/ToolActiveChip.vue +1 -1
  110. package/app/components/Viewer/Ui.vue +2 -2
  111. package/app/components/csv-preview/CsvPreviewer.vue +17 -24
  112. package/app/components/csv-preview/CsvSettings.vue +6 -6
  113. package/app/components/csv-preview/CsvTable.vue +11 -9
  114. package/app/composables/attribute_selector.ts +1 -1
  115. package/app/composables/batch_style.ts +3 -3
  116. package/app/composables/batch_style_model.ts +1 -1
  117. package/app/composables/chrome_theme.ts +23 -0
  118. package/app/composables/clipping_slices.ts +2 -1
  119. package/app/composables/hover_highlight.ts +10 -7
  120. package/app/composables/live_data_item.ts +1 -1
  121. package/app/composables/model_menu_context.ts +11 -4
  122. package/app/composables/orientation_overlay.ts +133 -0
  123. package/app/composables/project_manager_helpers/reset.ts +2 -0
  124. package/app/composables/project_manager_helpers/types.ts +2 -2
  125. package/app/composables/use_adaptive_styles.ts +42 -21
  126. package/app/composables/use_overlapping_picker.ts +10 -8
  127. package/app/composables/view_toolbar_options.ts +7 -7
  128. package/app/composables/view_toolbar_tool_options.ts +9 -11
  129. package/app/composables/viewer_context_menu.ts +4 -2
  130. package/app/composables/viewer_reset.ts +54 -0
  131. package/app/plugins/chrome_theme.ts +10 -0
  132. package/app/plugins/phosphor_icons.ts +13 -0
  133. package/app/plugins/scene_colors.ts +10 -0
  134. package/app/stores/basemap_helpers/builds.ts +2 -2
  135. package/app/stores/basemap_helpers/viewer.ts +1 -1
  136. package/app/stores/crs.ts +12 -12
  137. package/app/stores/data.ts +4 -5
  138. package/app/stores/data_helpers/mesh.ts +2 -1
  139. package/app/stores/data_style.ts +4 -3
  140. package/app/stores/hybrid_viewer.ts +5 -3
  141. package/app/stores/menu.ts +18 -12
  142. package/app/stores/treeview.ts +5 -4
  143. package/app/stores/viewer.ts +2 -0
  144. package/app/types/attribute.ts +5 -21
  145. package/app/types/identifiers.ts +5 -15
  146. package/app/utils/attribute_range.ts +1 -1
  147. package/app/utils/attributes.ts +2 -1
  148. package/app/utils/clipping_planes.ts +1 -1
  149. package/app/utils/color_picker.ts +3 -3
  150. package/app/utils/crs.ts +6 -6
  151. package/app/utils/default_styles/constants.ts +17 -22
  152. package/app/utils/default_styles/index.ts +24 -3
  153. package/app/utils/default_styles/mesh_components.ts +15 -11
  154. package/app/utils/default_styles/meshes.ts +1 -1
  155. package/app/utils/default_styles/model_components.ts +14 -10
  156. package/app/utils/default_styles/models.ts +1 -1
  157. package/app/utils/import_workflow.ts +3 -1
  158. package/app/utils/legacy_data_id.ts +2 -1
  159. package/app/utils/orientation_compass.ts +103 -0
  160. package/app/utils/orientation_gizmo.ts +73 -0
  161. package/app/utils/orientation_globe.ts +145 -0
  162. package/app/utils/orientation_strata.ts +119 -0
  163. package/app/utils/phosphor_icons.ts +105 -0
  164. package/app/utils/slice.ts +2 -1
  165. package/app/utils/threshold_sources.ts +1 -1
  166. package/internal/stores/data_style/attribute_types.ts +6 -6
  167. package/internal/stores/data_style/mesh/base_style.ts +6 -7
  168. package/internal/stores/data_style/mesh/cells/cell.ts +6 -6
  169. package/internal/stores/data_style/mesh/cells/cell_attribute.ts +8 -6
  170. package/internal/stores/data_style/mesh/cells/cell_config.ts +5 -6
  171. package/internal/stores/data_style/mesh/cells/color.ts +6 -6
  172. package/internal/stores/data_style/mesh/cells/opacity.ts +3 -4
  173. package/internal/stores/data_style/mesh/cells/vertex.ts +6 -6
  174. package/internal/stores/data_style/mesh/cells/vertex_attribute.ts +8 -6
  175. package/internal/stores/data_style/mesh/cells/vertex_config.ts +5 -6
  176. package/internal/stores/data_style/mesh/cells/visibility.ts +1 -1
  177. package/internal/stores/data_style/mesh/edges/color.ts +6 -6
  178. package/internal/stores/data_style/mesh/edges/edge.ts +6 -6
  179. package/internal/stores/data_style/mesh/edges/edge_attribute.ts +8 -6
  180. package/internal/stores/data_style/mesh/edges/edge_config.ts +5 -6
  181. package/internal/stores/data_style/mesh/edges/opacity.ts +3 -4
  182. package/internal/stores/data_style/mesh/edges/vertex.ts +6 -6
  183. package/internal/stores/data_style/mesh/edges/vertex_attribute.ts +8 -6
  184. package/internal/stores/data_style/mesh/edges/vertex_config.ts +5 -6
  185. package/internal/stores/data_style/mesh/edges/visibility.ts +1 -1
  186. package/internal/stores/data_style/mesh/edges/width.ts +6 -6
  187. package/internal/stores/data_style/mesh/index.ts +3 -4
  188. package/internal/stores/data_style/mesh/points/color.ts +6 -6
  189. package/internal/stores/data_style/mesh/points/common.ts +1 -1
  190. package/internal/stores/data_style/mesh/points/opacity.ts +3 -4
  191. package/internal/stores/data_style/mesh/points/size.ts +6 -6
  192. package/internal/stores/data_style/mesh/points/vertex.ts +6 -6
  193. package/internal/stores/data_style/mesh/points/vertex_attribute.ts +8 -6
  194. package/internal/stores/data_style/mesh/points/vertex_config.ts +5 -6
  195. package/internal/stores/data_style/mesh/points/visibility.ts +1 -1
  196. package/internal/stores/data_style/mesh/polygons/color.ts +6 -6
  197. package/internal/stores/data_style/mesh/polygons/opacity.ts +3 -4
  198. package/internal/stores/data_style/mesh/polygons/polygon.ts +6 -6
  199. package/internal/stores/data_style/mesh/polygons/polygon_attribute.ts +8 -6
  200. package/internal/stores/data_style/mesh/polygons/polygon_config.ts +5 -6
  201. package/internal/stores/data_style/mesh/polygons/vertex.ts +6 -6
  202. package/internal/stores/data_style/mesh/polygons/vertex_attribute.ts +8 -6
  203. package/internal/stores/data_style/mesh/polygons/vertex_config.ts +5 -6
  204. package/internal/stores/data_style/mesh/polygons/visibility.ts +1 -1
  205. package/internal/stores/data_style/mesh/polyhedra/color.ts +6 -6
  206. package/internal/stores/data_style/mesh/polyhedra/opacity.ts +3 -4
  207. package/internal/stores/data_style/mesh/polyhedra/polyhedron.ts +6 -6
  208. package/internal/stores/data_style/mesh/polyhedra/polyhedron_attribute.ts +8 -6
  209. package/internal/stores/data_style/mesh/polyhedra/polyhedron_config.ts +5 -6
  210. package/internal/stores/data_style/mesh/polyhedra/vertex.ts +6 -6
  211. package/internal/stores/data_style/mesh/polyhedra/vertex_attribute.ts +8 -6
  212. package/internal/stores/data_style/mesh/polyhedra/vertex_config.ts +5 -6
  213. package/internal/stores/data_style/mesh/polyhedra/visibility.ts +1 -1
  214. package/internal/stores/data_style/model/blocks/color.ts +6 -6
  215. package/internal/stores/data_style/model/blocks/coloring_groups.ts +2 -2
  216. package/internal/stores/data_style/model/blocks/polyhedron.ts +12 -9
  217. package/internal/stores/data_style/model/blocks/vertex.ts +12 -9
  218. package/internal/stores/data_style/model/blocks/visibility.ts +1 -1
  219. package/internal/stores/data_style/model/color.ts +10 -11
  220. package/internal/stores/data_style/model/common.ts +3 -4
  221. package/internal/stores/data_style/model/corners/color.ts +6 -6
  222. package/internal/stores/data_style/model/corners/index.ts +2 -2
  223. package/internal/stores/data_style/model/corners/vertex.ts +12 -9
  224. package/internal/stores/data_style/model/corners/visibility.ts +1 -1
  225. package/internal/stores/data_style/model/edges/component.ts +13 -13
  226. package/internal/stores/data_style/model/edges/visibility.ts +1 -1
  227. package/internal/stores/data_style/model/edges/width.ts +6 -6
  228. package/internal/stores/data_style/model/lines/color.ts +6 -6
  229. package/internal/stores/data_style/model/lines/coloring_groups.ts +2 -2
  230. package/internal/stores/data_style/model/lines/edge.ts +12 -9
  231. package/internal/stores/data_style/model/lines/vertex.ts +12 -9
  232. package/internal/stores/data_style/model/lines/visibility.ts +1 -1
  233. package/internal/stores/data_style/model/points/component.ts +17 -13
  234. package/internal/stores/data_style/model/points/index.ts +2 -2
  235. package/internal/stores/data_style/model/points/size.ts +6 -6
  236. package/internal/stores/data_style/model/points/visibility.ts +1 -1
  237. package/internal/stores/data_style/model/surfaces/color.ts +6 -6
  238. package/internal/stores/data_style/model/surfaces/coloring_groups.ts +2 -2
  239. package/internal/stores/data_style/model/surfaces/polygon.ts +12 -9
  240. package/internal/stores/data_style/model/surfaces/vertex.ts +12 -9
  241. package/internal/stores/data_style/model/surfaces/visibility.ts +1 -1
  242. package/internal/stores/data_style/model/visibility.ts +1 -1
  243. package/internal/stores/data_style/scene.ts +31 -19
  244. package/internal/stores/data_style/time_step.ts +3 -2
  245. package/internal/stores/data_style/types.ts +3 -4
  246. package/internal/stores/hybrid_viewer/brightness.ts +14 -7
  247. package/internal/stores/hybrid_viewer/camera.ts +1 -1
  248. package/internal/stores/hybrid_viewer/constants.ts +1 -12
  249. package/internal/stores/hybrid_viewer/filters.ts +2 -2
  250. package/internal/stores/hybrid_viewer/highlight.ts +2 -1
  251. package/internal/stores/hybrid_viewer/scene.ts +11 -4
  252. package/nuxt.config.ts +9 -1
  253. package/package.json +4 -2
  254. package/shared/utils/response_handlers/load.ts +19 -11
  255. package/tests/browser/helpers/object_trees/main_object_tree.ts +3 -3
  256. package/tests/browser/helpers/object_trees/model_components_object_tree.ts +2 -2
  257. package/tests/browser/suites/model/surfaces.ts +1 -1
  258. package/tests/unit/helpers/phosphor_glyphs.ts +46 -0
  259. package/app/assets/viewer_svgs/camera-bookmark.svg +0 -64
  260. package/app/types/style.ts +0 -13
@@ -2,13 +2,16 @@
2
2
  function getFileExtension(filename) {
3
3
  return filename.slice(filename.lastIndexOf(".") + 1);
4
4
  }
5
+ function allowedObjectTypes(objectMap) {
6
+ return Object.keys(objectMap);
7
+ }
5
8
  function getObject(objectMap, key) {
6
9
  const object = objectMap[key];
7
10
  if (!object) throw new Error(`Unknown geode object key: ${key}`);
8
11
  return object;
9
12
  }
10
13
  function intersectAllowedObjects(allowedObjectsList) {
11
- const allKeys = [...new Set(allowedObjectsList.flatMap((object) => Object.keys(object)))];
14
+ const allKeys = [...new Set(allowedObjectsList.flatMap((object) => allowedObjectTypes(object)))];
12
15
  const commonKeys = allKeys.filter((key) => allowedObjectsList.every((object) => key in object));
13
16
  const mergedEntries = commonKeys.map((key) => {
14
17
  const loadScores = allowedObjectsList.map((object) => getObject(object, key).is_loadable);
@@ -33,7 +36,7 @@ function resolveAllowedObjects(filenames, allowedObjectsList) {
33
36
  };
34
37
  }
35
38
  function sortCandidates(objectMap) {
36
- return Object.keys(objectMap).filter((key) => getObject(objectMap, key).is_loadable > 0).toSorted((keyA, keyB) => {
39
+ return allowedObjectTypes(objectMap).filter((key) => getObject(objectMap, key).is_loadable > 0).toSorted((keyA, keyB) => {
37
40
  const objectA = getObject(objectMap, keyA);
38
41
  const objectB = getObject(objectMap, keyB);
39
42
  if (objectA.is_loadable !== objectB.is_loadable) return objectB.is_loadable - objectA.is_loadable;
@@ -9,11 +9,11 @@ function getMainObjectTree(window) {
9
9
  }
10
10
  async function collapseMainObjectTree(window) {
11
11
  const mainObjectTree = getMainObjectTree(window);
12
- await clickCollapseOrExpandAll(window, mainObjectTree, "mdi-collapse-all-outline");
12
+ await clickCollapseOrExpandAll(window, mainObjectTree, "ph-arrows-in-line-vertical");
13
13
  }
14
14
  async function expandMainObjectTree(window) {
15
15
  const mainObjectTree = getMainObjectTree(window);
16
- await clickCollapseOrExpandAll(window, mainObjectTree, "mdi-expand-all-outline");
16
+ await clickCollapseOrExpandAll(window, mainObjectTree, "ph-arrows-out-line-vertical");
17
17
  }
18
18
  async function collapseMainObjectTreeGroup(window, groupName) {
19
19
  const mainObjectTree = getMainObjectTree(window);
@@ -44,7 +44,7 @@ async function highlightData(window, geodeObjectType, dataName) {
44
44
  async function focusObjectInTree(window, geodeObjectType, dataName) {
45
45
  await expandGeodeObjectType(window, geodeObjectType);
46
46
  const mainObjectTree = getMainObjectTree(window);
47
- await (await getTreeRowByTextAndParent(window, geodeObjectType, dataName, mainObjectTree)).locator("button:has(.mdi-target)").click({ force: true });
47
+ await (await getTreeRowByTextAndParent(window, geodeObjectType, dataName, mainObjectTree)).locator("button:has(.ph-target)").click({ force: true });
48
48
  await waitForActionSettled(window);
49
49
  }
50
50
  async function showObjectInTree(window, objectName) {
@@ -14,11 +14,11 @@ function getModelComponentTypeTab(window) {
14
14
  }
15
15
  async function collapseModelComponentsObjectTree(window) {
16
16
  const modelComponentsObjectTree = getModelComponentsObjectTree(window);
17
- await clickCollapseOrExpandAll(window, modelComponentsObjectTree, "mdi-collapse-all-outline");
17
+ await clickCollapseOrExpandAll(window, modelComponentsObjectTree, "ph-arrows-in-line-vertical");
18
18
  }
19
19
  async function expandModelComponentsObjectTree(window) {
20
20
  const modelComponentsObjectTree = getModelComponentsObjectTree(window);
21
- await clickCollapseOrExpandAll(window, modelComponentsObjectTree, "mdi-expand-all-outline");
21
+ await clickCollapseOrExpandAll(window, modelComponentsObjectTree, "ph-arrows-out-line-vertical");
22
22
  }
23
23
  async function collapseModelComponentsObjectTreeGroup(window, groupName) {
24
24
  const modelComponentsObjectTree = getModelComponentsObjectTree(window);
@@ -95,7 +95,7 @@ function registerTests({ test, loadTestDatas }) {
95
95
  await setModelPointsVisibility(window, false);
96
96
  });
97
97
  test("context menu through non visible surface", async ({ window }) => {
98
- await getModelComponentsObjectTree(window).locator(".tree-row-wrapper", { hasText: "00000000-" }).nth(4).locator(".mdi-eye-off-outline").first().click();
98
+ await getModelComponentsObjectTree(window).locator(".tree-row-wrapper", { hasText: "00000000-" }).nth(4).locator(".ph-eye-slash").first().click();
99
99
  await waitForActionSettled(window);
100
100
  const hybridViewerCanvas = getHybridViewerCanvas(window);
101
101
  const box = await getHybridViewerCanvasBoundingBox(hybridViewerCanvas);
@@ -0,0 +1,28 @@
1
+ import type { ChromeTheme } from "@ogw_front/composables/chrome_theme";
2
+ import type { SceneColors } from "@ogw_front/utils/default_styles";
3
+
4
+ declare module "nuxt/schema" {
5
+ interface AppConfigInput {
6
+ ogwFront?: {
7
+ chromeTheme?: ChromeTheme;
8
+ orientationOverlay?: boolean;
9
+ // Colors ({ red, green, blue, alpha }) of a new or reset scene, see plugins/scene_colors.ts
10
+ sceneColors?: SceneColors;
11
+ };
12
+ }
13
+ }
14
+
15
+ // Apps extending this layer override these values in their own app.config.ts.
16
+ // oxlint-disable-next-line import/no-default-export
17
+ export default defineAppConfig({
18
+ ogwFront: {
19
+ // Vuetify theme forced on the floating chrome (GlassCard panels, loading screen...).
20
+ // "inherit" makes it follow the app's current theme instead.
21
+ chromeTheme: "dark",
22
+ // Draw the orientation marker (axes or compass) as a front overlay instead of the viewer's VTK
23
+ // Marker, which is then hidden (see composables/orientation_overlay.ts).
24
+ orientationOverlay: false,
25
+ // Colors of a new or reset scene, the OpenGeodeWeb ones when not set (see utils/default_styles)
26
+ sceneColors: {},
27
+ },
28
+ });
@@ -22,3 +22,14 @@
22
22
  font-size: 1rem !important;
23
23
  line-height: 1.5rem !important;
24
24
  }
25
+
26
+ /* Turns an icon on itself (loading states), as the MDI mdi-spin did */
27
+ .ogw-spin {
28
+ animation: ogw-spin 2s infinite linear;
29
+ }
30
+
31
+ @keyframes ogw-spin {
32
+ to {
33
+ transform: rotate(360deg);
34
+ }
35
+ }
@@ -1,8 +1,12 @@
1
+ // oxlint-disable import/max-dependencies -- one icon import per geode object type
2
+ import type { GeodeObjectType } from "@geode/opengeodeweb-microservice/data_types";
3
+
1
4
  import BRep from "@ogw_front/assets/img/geode_objects/BRep.svg";
2
5
  import CrossSection from "@ogw_front/assets/img/geode_objects/CrossSection.svg";
3
6
  import EdgedCurve2D from "@ogw_front/assets/img/geode_objects/EdgedCurve2D.svg";
4
7
  import EdgedCurve3D from "@ogw_front/assets/img/geode_objects/EdgedCurve3D.svg";
5
8
  import Graph from "@ogw_front/assets/img/geode_objects/Graph.svg";
9
+ import HorizonStack3D from "@ogw_front/assets/img/geode_objects/HorizonStack3D.svg";
6
10
  import HybridSolid3D from "@ogw_front/assets/img/geode_objects/HybridSolid3D.svg";
7
11
  import ImplicitCrossSection from "@ogw_front/assets/img/geode_objects/ImplicitCrossSection.svg";
8
12
  import ImplicitStructuralModel from "@ogw_front/assets/img/geode_objects/ImplicitStructuralModel.svg";
@@ -13,7 +17,6 @@ import PointSet3D from "@ogw_front/assets/img/geode_objects/PointSet3D.svg";
13
17
  import PolygonalSurface2D from "@ogw_front/assets/img/geode_objects/PolygonalSurface2D.svg";
14
18
  import PolygonalSurface3D from "@ogw_front/assets/img/geode_objects/PolygonalSurface3D.svg";
15
19
  import PolyhedralSolid3D from "@ogw_front/assets/img/geode_objects/PolyhedralSolid3D.svg";
16
- // oxlint-disable-next-line import/max-dependencies -- one icon import per geode object.
17
20
  import RasterImage2D from "@ogw_front/assets/img/geode_objects/RasterImage2D.svg";
18
21
  import RasterImage3D from "@ogw_front/assets/img/geode_objects/RasterImage3D.svg";
19
22
  import RegularGrid2D from "@ogw_front/assets/img/geode_objects/RegularGrid2D.svg";
@@ -25,112 +28,38 @@ import TriangulatedSurface2D from "@ogw_front/assets/img/geode_objects/Triangula
25
28
  import TriangulatedSurface3D from "@ogw_front/assets/img/geode_objects/TriangulatedSurface3D.svg";
26
29
  import VertexSet from "@ogw_front/assets/img/geode_objects/VertexSet.svg";
27
30
 
28
- interface GeodeObject {
29
- tooltip: string;
30
- image: string;
31
- }
32
-
33
- const geode_objects: Record<string, GeodeObject> = {
34
- BRep: {
35
- tooltip: "BRep",
36
- image: BRep,
37
- },
38
- CrossSection: {
39
- tooltip: "CrossSection",
40
- image: CrossSection,
41
- },
42
- EdgedCurve2D: {
43
- tooltip: "EdgedCurve2D",
44
- image: EdgedCurve2D,
45
- },
46
- EdgedCurve3D: {
47
- tooltip: "EdgedCurve3D",
48
- image: EdgedCurve3D,
49
- },
50
- Graph: {
51
- tooltip: "Graph",
52
- image: Graph,
53
- },
54
- HybridSolid3D: {
55
- tooltip: "HybridSolid3D",
56
- image: HybridSolid3D,
57
- },
58
- ImplicitCrossSection: {
59
- tooltip: "ImplicitCrossSection",
60
- image: ImplicitCrossSection,
61
- },
62
- ImplicitStructuralModel: {
63
- tooltip: "ImplicitStructuralModel",
64
- image: ImplicitStructuralModel,
65
- },
66
- LightRegularGrid2D: {
67
- tooltip: "LightRegularGrid2D",
68
- image: LightRegularGrid2D,
69
- },
70
- LightRegularGrid3D: {
71
- tooltip: "LightRegularGrid3D",
72
- image: LightRegularGrid3D,
73
- },
74
- PointSet2D: {
75
- tooltip: "PointSet2D",
76
- image: PointSet2D,
77
- },
78
- PointSet3D: {
79
- tooltip: "PointSet3D",
80
- image: PointSet3D,
81
- },
82
- PolygonalSurface2D: {
83
- tooltip: "PolygonalSurface2D",
84
- image: PolygonalSurface2D,
85
- },
86
- PolygonalSurface3D: {
87
- tooltip: "PolygonalSurface3D",
88
- image: PolygonalSurface3D,
89
- },
90
- PolyhedralSolid3D: {
91
- tooltip: "PolyhedralSolid3D",
92
- image: PolyhedralSolid3D,
93
- },
94
- RasterImage2D: {
95
- tooltip: "RasterImage2D",
96
- image: RasterImage2D,
97
- },
98
- RasterImage3D: {
99
- tooltip: "RasterImage3D",
100
- image: RasterImage3D,
101
- },
102
- RegularGrid2D: {
103
- tooltip: "RegularGrid2D",
104
- image: RegularGrid2D,
105
- },
106
- RegularGrid3D: {
107
- tooltip: "RegularGrid3D",
108
- image: RegularGrid3D,
109
- },
110
- Section: {
111
- tooltip: "Section",
112
- image: Section,
113
- },
114
- StructuralModel: {
115
- tooltip: "StructuralModel",
116
- image: StructuralModel,
117
- },
118
- TetrahedralSolid3D: {
119
- tooltip: "TetrahedralSolid3D",
120
- image: TetrahedralSolid3D,
121
- },
122
- TriangulatedSurface2D: {
123
- tooltip: "TriangulatedSurface2D",
124
- image: TriangulatedSurface2D,
125
- },
126
- TriangulatedSurface3D: {
127
- tooltip: "TriangulatedSurface3D",
128
- image: TriangulatedSurface3D,
129
- },
130
- VertexSet: {
131
- tooltip: "VertexSet",
132
- image: VertexSet,
133
- },
31
+ // Icon of each geode object type: every type of data_types.py must have one
32
+ const geodeObjectImages: Record<GeodeObjectType, string> = {
33
+ BRep,
34
+ CrossSection,
35
+ EdgedCurve2D,
36
+ EdgedCurve3D,
37
+ Graph,
38
+ HorizonStack3D,
39
+ HybridSolid3D,
40
+ ImplicitCrossSection,
41
+ ImplicitStructuralModel,
42
+ LightRegularGrid2D,
43
+ LightRegularGrid3D,
44
+ PointSet2D,
45
+ PointSet3D,
46
+ PolygonalSurface2D,
47
+ PolygonalSurface3D,
48
+ PolyhedralSolid3D,
49
+ RasterImage2D,
50
+ RasterImage3D,
51
+ RegularGrid2D,
52
+ RegularGrid3D,
53
+ Section,
54
+ StructuralModel,
55
+ TetrahedralSolid3D,
56
+ TriangulatedSurface2D,
57
+ TriangulatedSurface3D,
58
+ VertexSet,
134
59
  };
135
60
 
136
- export { geode_objects };
61
+ function geodeObjectImage(geodeObjectType: GeodeObjectType): string {
62
+ return geodeObjectImages[geodeObjectType];
63
+ }
64
+
65
+ export { geodeObjectImage };
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="18.141853mm" height="18.141851mm" viewBox="0 0 64.282157 64.282151" version="1.1">
3
+ <g style="fill:none;stroke:#000000;stroke-width:4.24248075;stroke-linecap:round;stroke-linejoin:round">
4
+ <path d="M 15,6 H 49 V 58 H 15 Z" />
5
+ <path d="M 15.00,17.00 C 25.20,12.00 30.30,22.00 38.80,17.00 S 46.28,14.50 49.00,17.00" />
6
+ <path d="M 15,28 H 49" />
7
+ <path d="M 15.00,39.50 C 25.20,34.50 30.30,44.50 38.80,39.50 S 46.28,37.00 49.00,39.50" />
8
+ <path d="M 15,49 H 49" />
9
+ </g>
10
+ </svg>
@@ -41,7 +41,7 @@ const emit = defineEmits<Emits>();
41
41
  icon
42
42
  @click="emit('click', $event)"
43
43
  >
44
- <v-icon v-if="typeof icon === 'string' && icon.startsWith('mdi-')" :size="iconSize">{{
44
+ <v-icon v-if="typeof icon === 'string' && icon.startsWith('ph-')" :size="iconSize">{{
45
45
  icon
46
46
  }}</v-icon>
47
47
  <v-img
@@ -49,7 +49,14 @@ const emit = defineEmits<Emits>();
49
49
  :src="icon"
50
50
  :height="iconSize"
51
51
  :width="iconSize"
52
- class="d-flex justify-center align-center"
52
+ class="d-flex justify-center align-center ogw-svg-icon"
53
53
  />
54
54
  </v-btn>
55
55
  </template>
56
+
57
+ <style scoped>
58
+ /* The viewer SVG icons are drawn in black; apps with a dark chrome can recolor them */
59
+ .ogw-svg-icon :deep(.v-img__img) {
60
+ filter: var(--ogw-svg-icon-filter, none);
61
+ }
62
+ </style>
@@ -57,7 +57,7 @@ async function saveRename(): void {
57
57
  :data-testid="`restoreCameraPosition${position.name}Button`"
58
58
  @click="restorePosition(position.id!)"
59
59
  >
60
- <v-icon size="14">mdi-play</v-icon>
60
+ <v-icon size="14">ph-play</v-icon>
61
61
  <v-tooltip activator="parent" location="top">Restore</v-tooltip>
62
62
  </v-btn>
63
63
  </template>
@@ -83,10 +83,10 @@ async function saveRename(): void {
83
83
  icon
84
84
  variant="text"
85
85
  size="x-small"
86
- color="grey-darken-1"
86
+ class="text-medium-emphasis"
87
87
  @click="startEditing(position)"
88
88
  >
89
- <v-icon size="14">mdi-pencil</v-icon>
89
+ <v-icon size="14">ph-pencil-simple</v-icon>
90
90
  <v-tooltip activator="parent" location="top">Rename</v-tooltip>
91
91
  </v-btn>
92
92
  <v-btn
@@ -96,15 +96,15 @@ async function saveRename(): void {
96
96
  color="error"
97
97
  @click="deletePosition(position.id!)"
98
98
  >
99
- <v-icon size="14">mdi-delete</v-icon>
99
+ <v-icon size="14">ph-trash</v-icon>
100
100
  <v-tooltip activator="parent" location="top">Delete</v-tooltip>
101
101
  </v-btn>
102
102
  </div>
103
103
  </template>
104
104
  </v-list-item>
105
105
  </v-list>
106
- <div v-else class="text-center text-grey-lighten-1 py-4 italic text-caption">
107
- <v-icon size="32" class="mb-1 d-block mx-auto opacity-20">mdi-camera-off</v-icon>
106
+ <div v-else class="text-center text-medium-emphasis py-4 italic text-caption">
107
+ <v-icon size="32" class="mb-1 d-block mx-auto opacity-20">ph-camera-slash</v-icon>
108
108
  No saved positions yet.
109
109
  </div>
110
110
  </template>
@@ -54,7 +54,6 @@ const show = computed<boolean>({
54
54
  <v-btn
55
55
  variant="text"
56
56
  size="small"
57
- color="white"
58
57
  class="text-caption text-none"
59
58
  data-testid="closeCameraManagerButton"
60
59
  @click="handleClose"
@@ -193,7 +193,11 @@ watch(hoveredFace, (newFace, oldFace) => {
193
193
  class="pa-0 overflow-hidden position-relative"
194
194
  style="
195
195
  height: 220px;
196
- background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
196
+ background: radial-gradient(
197
+ circle at center,
198
+ rgba(var(--v-theme-on-surface), 0.05),
199
+ transparent 70%
200
+ );
197
201
  "
198
202
  >
199
203
  <svg class="position-absolute fill-height w-100" style="pointer-events: none">
@@ -204,10 +208,11 @@ watch(hoveredFace, (newFace, oldFace) => {
204
208
  y1="50%"
205
209
  :x2="orientation.position.left"
206
210
  :y2="orientation.position.top"
207
- :stroke="hoveredFace === orientation.face ? 'white' : 'rgba(255,255,255,0.1)'"
211
+ stroke="currentColor"
212
+ :stroke-opacity="hoveredFace === orientation.face ? 1 : 0.1"
208
213
  :stroke-width="hoveredFace === orientation.face ? 2 : 1"
209
214
  class="transition-all"
210
- style="filter: drop-shadow(0 0 3px white)"
215
+ style="filter: drop-shadow(0 0 3px currentColor)"
211
216
  />
212
217
  </svg>
213
218
 
@@ -272,15 +277,15 @@ watch(hoveredFace, (newFace, oldFace) => {
272
277
  <style scoped>
273
278
  .satellite-node {
274
279
  transform: translate(-50%, -50%);
275
- background: rgba(0, 0, 0, 0.2) !important;
280
+ background: rgba(var(--v-theme-background), 0.4) !important;
276
281
  backdrop-filter: blur(8px);
277
- border: 1px solid rgba(255, 255, 255, 0.1) !important;
282
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)) !important;
278
283
  transition: all 0.2s ease;
279
284
  }
280
285
  .satellite-node:hover {
281
286
  transform: translate(-50%, -50%) scale(1.1);
282
- border-color: white !important;
283
- background: rgba(255, 255, 255, 0.1) !important;
287
+ border-color: rgb(var(--v-theme-primary)) !important;
288
+ background: rgba(var(--v-theme-primary), 0.12) !important;
284
289
  }
285
290
  .transition-all {
286
291
  transition: all 0.4s ease;
@@ -0,0 +1,20 @@
1
+ <script setup lang="ts">
2
+ import { useChromeTheme } from "@ogw_front/composables/chrome_theme";
3
+
4
+ const chromeTheme = useChromeTheme();
5
+ </script>
6
+
7
+ <template>
8
+ <!-- Applies the app's chrome theme (see composables/chrome_theme.ts) to its content, both to the
9
+ Vuetify components and to the CSS theme variables; display: contents keeps it out of the layout. -->
10
+ <v-theme-provider :theme="chromeTheme" with-background class="ogw-chrome-theme">
11
+ <slot />
12
+ </v-theme-provider>
13
+ </template>
14
+
15
+ <style scoped>
16
+ .ogw-chrome-theme {
17
+ display: contents;
18
+ background: transparent !important;
19
+ }
20
+ </style>
@@ -40,7 +40,7 @@ const emit = defineEmits<Emits>();
40
40
  <v-col cols="auto">
41
41
  <v-btn
42
42
  data-testid="removePlaneButton"
43
- icon="mdi-trash-can-outline"
43
+ icon="ph-trash"
44
44
  size="x-small"
45
45
  variant="text"
46
46
  color="error"
@@ -59,7 +59,6 @@ const emit = defineEmits<Emits>();
59
59
  :max="1"
60
60
  :step="0.05"
61
61
  :color="getPlaneCssColor(index)"
62
- track-color="grey-lighten-2"
63
62
  density="compact"
64
63
  hide-details
65
64
  />
@@ -104,7 +103,7 @@ const emit = defineEmits<Emits>();
104
103
  size="x-small"
105
104
  variant="text"
106
105
  color="primary"
107
- prepend-icon="mdi-swap-horizontal"
106
+ prepend-icon="ph-arrows-left-right"
108
107
  class="text-none text-caption px-1"
109
108
  @click="emit('flipNormal')"
110
109
  >
@@ -288,7 +288,7 @@ onBeforeUnmount(cleanupLocalWidget);
288
288
  size="x-small"
289
289
  variant="tonal"
290
290
  color="primary"
291
- icon="mdi-plus"
291
+ icon="ph-plus"
292
292
  @click="addSlice"
293
293
  />
294
294
  </v-col>
@@ -314,7 +314,7 @@ onBeforeUnmount(cleanupLocalWidget);
314
314
  size="x-small"
315
315
  variant="tonal"
316
316
  color="primary"
317
- icon="mdi-plus"
317
+ icon="ph-plus"
318
318
  @click="addPlane"
319
319
  />
320
320
  </v-col>
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
- import type { CRSList } from "@geode/opengeodeweb-back/opengeodeweb_back_typed_schemas.js";
3
- import type { GeodeObjectType } from "@ogw_front/types/identifiers";
2
+ import type { CRS } from "@geode/opengeodeweb-back/schema_types";
3
+ import type { GeodeObjectType } from "@geode/opengeodeweb-microservice/data_types";
4
4
  import { useCrsStore } from "@ogw_front/stores/crs";
5
5
 
6
6
  interface Props {
@@ -10,23 +10,23 @@ interface Props {
10
10
  }
11
11
 
12
12
  const { geodeObjectType, compact = false } = defineProps<Props>();
13
- const selectedCrs = defineModel<CRSList | undefined>();
13
+ const selectedCrs = defineModel<CRS | undefined>();
14
14
 
15
15
  const search = ref<string>("");
16
16
  const data_table_loading = ref<boolean>(false);
17
17
  // Thousands of rows that are never mutated: no deep reactivity
18
- const crs_list = shallowRef<CRSList[]>([]);
18
+ const crs_list = shallowRef<CRS[]>([]);
19
19
  // Keys of the selected rows: the item-value of the table, "AUTHORITY:CODE"
20
20
  const selected_crs = ref<string[]>([]);
21
21
  const toggle_loading = useToggle(data_table_loading);
22
22
  const crsStore = useCrsStore();
23
23
 
24
24
  // Codes are only unique within an authority (e.g. EPSG:4812 and ESRI:4812)
25
- function crs_key(crs: CRSList): string {
25
+ function crs_key(crs: CRS): string {
26
26
  return `${crs.authority}:${crs.code}`;
27
27
  }
28
28
 
29
- function get_selected_crs(key: string | undefined): CRSList | undefined {
29
+ function get_selected_crs(key: string | undefined): CRS | undefined {
30
30
  return crs_list.value.find((crs) => crs_key(crs) === key);
31
31
  }
32
32
 
@@ -73,8 +73,8 @@ onMounted(async () => {
73
73
  <v-text-field
74
74
  v-model="search"
75
75
  data-testid="crsSearchInput"
76
- :append-icon="compact ? undefined : 'mdi-magnify'"
77
- :prepend-inner-icon="compact ? 'mdi-magnify' : undefined"
76
+ :append-icon="compact ? undefined : 'ph-magnifying-glass'"
77
+ :prepend-inner-icon="compact ? 'ph-magnifying-glass' : undefined"
78
78
  label="Search"
79
79
  single-line
80
80
  hide-details
@@ -24,16 +24,14 @@ const emit = defineEmits<Emits>();
24
24
  <template>
25
25
  <v-dialog :model-value="show" @update:model-value="emit('update:show', $event)" max-width="400">
26
26
  <GlassCard v-if="item" variant="panel" padding="pa-8">
27
- <v-card-title class="pb-2 text-h5 font-weight-bold d-flex align-center text-white">
28
- <v-icon icon="mdi-trash-can-outline" class="mr-3 text-h4" color="error"></v-icon>
27
+ <v-card-title class="pb-2 text-h5 font-weight-bold d-flex align-center">
28
+ <v-icon icon="ph-trash" class="mr-3 text-h4" color="error"></v-icon>
29
29
  Delete Item
30
30
  </v-card-title>
31
31
 
32
- <v-card-text class="pa-0 mt-4 text-white opacity-80">
32
+ <v-card-text class="pa-0 mt-4 opacity-80">
33
33
  Are you sure you want to delete this item?
34
- <div
35
- class="bg-white-opacity-5 rounded-lg pa-4 my-6 font-weight-bold border-thin text-center"
36
- >
34
+ <div class="bg-surface-light rounded-lg pa-4 my-6 font-weight-bold border-thin text-center">
37
35
  {{ item.name }}
38
36
  </div>
39
37
  </v-card-text>
@@ -41,12 +39,11 @@ const emit = defineEmits<Emits>();
41
39
  <v-card-actions class="px-0 pb-0">
42
40
  <v-btn
43
41
  variant="text"
44
- color="white"
45
42
  size="large"
46
43
  @click="emit('update:show', false)"
47
44
  class="text-none rounded-lg"
48
45
  >
49
- <v-icon start>mdi-close-circle-outline</v-icon>
46
+ <v-icon start>ph-x-circle</v-icon>
50
47
  Cancel
51
48
  </v-btn>
52
49
 
@@ -61,32 +58,31 @@ const emit = defineEmits<Emits>();
61
58
  class="text-none rounded-lg font-weight-bold"
62
59
  elevation="4"
63
60
  >
64
- <v-icon start>mdi-trash-can-outline</v-icon>
61
+ <v-icon start>ph-trash</v-icon>
65
62
  Delete
66
63
  </v-btn>
67
64
  </v-card-actions>
68
65
  </GlassCard>
69
66
 
70
67
  <GlassCard v-else variant="panel" padding="pa-8">
71
- <v-card-title class="pb-2 text-h5 font-weight-bold d-flex align-center text-white">
72
- <v-icon icon="mdi-alert-circle-outline" class="mr-3 text-h4" color="error"></v-icon>
68
+ <v-card-title class="pb-2 text-h5 font-weight-bold d-flex align-center">
69
+ <v-icon icon="ph-warning-circle" class="mr-3 text-h4" color="error"></v-icon>
73
70
  Delete Items
74
71
  </v-card-title>
75
72
 
76
- <v-card-text class="pa-0 mt-4 text-white opacity-80">
73
+ <v-card-text class="pa-0 mt-4 opacity-80">
77
74
  Are you sure you want to delete
78
- <strong class="text-white">{{ selectedCount }}</strong> items?
75
+ <strong>{{ selectedCount }}</strong> items?
79
76
  </v-card-text>
80
77
 
81
78
  <v-card-actions class="px-0 pb-0 mt-8">
82
79
  <v-btn
83
80
  variant="text"
84
- color="white"
85
81
  size="large"
86
82
  @click="emit('update:show', false)"
87
83
  class="text-none rounded-lg"
88
84
  >
89
- <v-icon start>mdi-close-circle-outline</v-icon>
85
+ <v-icon start>ph-x-circle</v-icon>
90
86
  Cancel
91
87
  </v-btn>
92
88
 
@@ -101,7 +97,7 @@ const emit = defineEmits<Emits>();
101
97
  class="text-none rounded-lg font-weight-bold"
102
98
  elevation="4"
103
99
  >
104
- <v-icon start>mdi-trash-can-outline</v-icon>
100
+ <v-icon start>ph-trash</v-icon>
105
101
  Delete All
106
102
  </v-btn>
107
103
  </v-card-actions>