Compare commits

...

17 Commits

Author SHA1 Message Date
ac384db9e6 Add Yarn lock 2025-09-01 22:30:09 -04:00
Joshua Boniface
56ca497041 Tweak positioning of icons 2025-03-02 19:24:47 -05:00
Joshua Boniface
4b708f1f40 Fix search opening bug 2025-03-02 19:17:23 -05:00
Joshua Boniface
b891929956 First try at refactoring again 2025-03-02 19:08:03 -05:00
Joshua Boniface
47b4e6e182 Fix bug with VM name showing as filter 2025-03-02 18:38:31 -05:00
Joshua Boniface
acfd2554b0 Fix bug with selected VM 2025-03-02 17:55:42 -05:00
Joshua Boniface
8d1028ab47 Add way to clear localstorage of last VM 2025-03-02 17:52:23 -05:00
Joshua Boniface
e26c5defa4 URL-less VM view and persistence 2025-03-02 17:46:37 -05:00
Joshua Boniface
61dbe8eed1 Make Node selection persistent 2025-03-02 17:37:20 -05:00
Joshua Boniface
779dbe1632 Add health messages for nodes 2025-03-02 17:31:08 -05:00
Joshua Boniface
e6da8ec2c0 Fix up colour of collapsed section title 2025-03-02 17:11:51 -05:00
Joshua Boniface
e11217e28a Unify and clean up position styling 2025-03-02 17:06:47 -05:00
Joshua Boniface
4ca93fcc9a Further adjust spacing to be perfect 2025-03-02 16:52:52 -05:00
Joshua Boniface
0200df7b16 Fix up Node page styling 2025-03-02 16:38:09 -05:00
Joshua Boniface
d581d17273 Clean up styling and organize components 2025-03-02 15:56:52 -05:00
Joshua Boniface
5b691d0e5b Add more search bar features 2025-03-02 15:07:35 -05:00
Joshua Boniface
745d554768 Fix search bar behaviour (step 9) 2025-03-02 14:56:51 -05:00
15 changed files with 1986 additions and 2614 deletions

1401
pvc-vue/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,368 +0,0 @@
/* Global spacing adjustments */
.content-grid {
gap: 0.25rem !important;
}
.main-content {
padding-top: 0.25rem;
}
/* Reduce space between page title and content */
.content-grid > *:first-child + * {
margin-top: 0.375rem !important;
}
/* Target the specific space between title underline and first card */
.content-grid > div:first-child {
margin-bottom: 0.375rem !important;
}
/* Reduce space after PageTitle component */
.page-title {
margin-bottom: 0.25rem !important;
}
/* Remove left padding from node tabs */
.nav-tabs {
padding-left: 0 !important;
margin-left: 0 !important;
}
/* Ensure node content aligns with left edge */
.node-content, .tab-content {
padding-left: 0 !important;
margin-left: 0 !important;
}
/* Target the specific element causing the padding */
div.node-tabs {
padding-left: 0 !important;
padding-right: 0 !important;
}
/* More aggressive targeting for node tabs */
.node-overview .nav,
.node-overview .nav-tabs,
.node-overview ul.nav,
.node-overview ul.nav-tabs {
padding-left: 0 !important;
margin-left: 0 !important;
border-left: 0 !important;
}
/* Target the first tab item specifically */
.node-overview .nav-item:first-child,
.node-overview .nav-link:first-child {
margin-left: 0 !important;
padding-left: 0 !important;
}
/* Target any container that might be wrapping the tabs */
.node-overview > div,
.node-overview > ul {
padding-left: 0 !important;
margin-left: 0 !important;
}
/* Style VM search bar section like node tabs */
.vm-search-container,
.vm-list-header,
.vm-controls {
border: none !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
border-radius: 0 !important;
background-color: transparent !important;
padding: 0.5rem 0 !important;
margin-bottom: 1rem !important;
}
/* Remove any box shadow from VM search elements */
.vm-search-container *,
.vm-list-header *,
.vm-controls * {
box-shadow: none !important;
}
/* Ensure search input has proper styling */
.vm-search-input {
border: 1px solid rgba(0, 0, 0, 0.2) !important;
border-radius: 0.25rem !important;
}
/* Target the specific VM list controls more directly */
.vm-overview .list-vms-container,
.vm-overview .vm-controls-container {
border: none !important;
box-shadow: none !important;
background: transparent !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
border-radius: 0 !important;
padding-left: 0 !important;
}
/* Target the buttons and inputs directly */
.vm-overview .btn-group,
.vm-overview .input-group {
margin: 0 !important;
background: transparent !important;
}
/* Target the List VMs button specifically */
.vm-overview .btn-secondary,
.vm-overview button[type="button"] {
background-color: #6c757d !important;
border-color: #6c757d !important;
}
/* Super aggressive targeting for VM search container */
.vm-list-container > div:first-child,
.vm-overview > div:first-child,
div[class*="vm-"] > div:first-child {
border: none !important;
background: transparent !important;
box-shadow: none !important;
border-radius: 0 !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
padding: 0.5rem 0 !important;
}
/* Target the actual search box and buttons */
.input-group,
.btn-group {
margin-bottom: 0 !important;
}
/* Target any card or container in the VM list header */
.card,
.card-header,
.card-body {
/* Target only VM list cards, not ValueCards */
.vm-list-container .card,
.vm-list-container .card-header,
.vm-list-container .card-body,
.vm-controls-container .card,
.vm-controls-container .card-header,
.vm-controls-container .card-body {
border: none !important;
background: transparent !important;
box-shadow: none !important;
padding: 0.5rem 0 !important;
}
}
/* Target the specific vm-controls-container element */
div.vm-controls-container {
background-color: transparent !important;
border-radius: 0 !important;
box-shadow: none !important;
padding: 0.5rem 0 !important;
}
/* Target the light blue background */
div.vm-controls-container[data-v-8e678963] {
background-color: transparent !important;
}
/* Adjust spacing after page title on VM page */
.vm-overview .page-title,
.vm-overview .page-title-container {
margin-bottom: 0.05rem !important;
}
/* Ensure consistent spacing between title and controls */
.vm-overview .content-grid > *:first-child + * {
margin-top: 0.05rem !important;
}
/* Remove lines under VM names */
.vm-list-item,
.vm-item {
border-bottom: none !important;
}
/* Ensure only the controls container has the bottom border */
.vm-list-container > div:not(:first-child),
.vm-overview > div:not(:first-child) {
border-bottom: none !important;
}
/* Further reduce spacing between title and controls */
.content-grid > div:first-child {
margin-bottom: 0.05rem !important;
}
/* Extremely aggressive spacing reduction */
.page-title + *,
.page-title-container + * {
margin-top: 0 !important;
}
/* Specifically target VM list items to remove bottom borders */
.vm-list > div,
.vm-list-item,
.vm-item,
div[class*="vm-list"] > div {
border-bottom: none !important;
border: none !important;
}
/* Target the VM list container to remove any borders from its children except the first */
.vm-list-container > div:not(:first-child) *,
.vm-overview > div:not(:first-child) * {
border-bottom: none !important;
}
/* Zero out all margins between title and controls */
.page-title,
.page-title-container,
.content-grid > div:first-child {
margin-bottom: 0 !important;
}
/* Reduce padding above the VM controls container */
div.vm-controls-container,
.vm-list-container > div:first-child {
margin-top: 0.05rem !important;
padding-top: 0 !important;
}
/* Fix double border issue - ensure only one border appears below search */
.vm-list-container > div:first-child,
.vm-overview > div:first-child,
div[class*="vm-"] > div:first-child {
border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
}
/* Remove ALL borders from VM list items - extremely aggressive */
.vm-list-container .vm-list-item,
.vm-list-container .vm-item,
.vm-list-container li,
.vm-list-container tr,
.vm-list-container div[class*="vm-"],
.vm-list > div,
.vm-list > li,
.vm-list > tr,
.vm-list-item,
.vm-item,
div[class*="vm-list"] > div,
div[class*="vm-list"] div {
border: none !important;
border-bottom: none !important;
border-top: none !important;
border-left: none !important;
border-right: none !important;
}
/* Ensure VM list container itself doesn't have a border */
.vm-list-container {
border: none !important;
}
/* Target the actual VM list to remove borders */
.vm-list {
border: none !important;
}
/* Override any hr elements that might be creating lines */
.vm-list-container hr,
.vm-list hr,
.vm-item + hr,
.vm-list-item + hr {
display: none !important;
}
/* Single border under search bar */
.vm-controls-container {
border: none !important;
background: transparent !important;
}
/* Target VM list items specifically */
.vm-list-container .vm-list-item {
border: none !important;
background: transparent !important;
padding-top: 0.25rem !important;
padding-bottom: 0.25rem !important;
}
/* Target the VM item content to reduce spacing */
.vm-item-content,
.vm-list-item > div,
button.vm-list-item {
padding-top: 0.25rem !important;
padding-bottom: 0.25rem !important;
}
/* Also target any nested content */
.vm-name,
.vm-status {
padding-top: 0.25rem !important;
padding-bottom: 0.25rem !important;
}
/* Remove any dividers between VM items */
.vm-list-container .divider,
.vm-list-container hr,
.vm-list-item::after,
.vm-list-item::before {
display: none !important;
}
/* Adjust spacing between title and search */
.page-title + .vm-controls-container {
margin-top: 0 !important;
}
/* Let's also clean up any duplicate rules */
.controls-row {
border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
}
/* Remove border from vm-name elements */
.vm-name {
border: none !important;
border-bottom: none !important;
}
/* Target both instances of the border */
div[class*="vm-"] > div:first-child div[class*="vm-"] > div:first-child,
.vm-list-container > div:first-child div[class*="vm-"] > div:first-child {
border: none !important;
border-bottom: none !important;
}
/* Super specific targeting for the border issue */
div[class*="vm-"] > div:first-child H {
border: none !important;
border-bottom: none !important;
}
/* Keep node tabs close to title but adjust content below tabs */
.node-overview .node-tabs-wrapper {
margin-top: 0.25rem !important;
}
/* Adjust spacing below tabs to match overview spacing */
.node-overview .node-tabs-wrapper + * {
margin-top: 0.375rem !important;
}
/* Ensure consistent spacing in overview page */
.overview-container > *:first-child {
margin-top: 0.375rem !important;
}
/* Override spacing specifically for node tabs - keep tight to title */
.node-overview .content-grid > *:first-child + * {
margin-top: 0.25rem !important; /* Keep tabs close to title */
}
/* Adjust spacing between tabs and content below */
.node-overview .node-tabs-wrapper {
margin-bottom: 0.375rem !important; /* Match overview spacing */
}
/* Remove any extra spacing that might be added by other elements */
.node-overview .node-details {
margin-top: 0 !important;
}

View File

@@ -4,7 +4,7 @@
<div v-if="!isExpanded" class="section-content-wrapper">
<div class="section-content">
<div class="collapsed-section-header">
<h6 class="card-title mb-0 metric-label">{{ title }}</h6>
<h5 class="section-title" v-if="title">{{ title }}</h5>
</div>
</div>
<div class="toggle-column">
@@ -137,4 +137,19 @@ const toggleSection = () => {
.section-container.collapsed .section-content-wrapper {
margin-bottom: 0;
}
.section-header h6 {
font-size: 0.95rem;
font-weight: 600;
display: flex;
justify-content: space-between;
align-items: center;
}
.section-title {
margin: 0;
font-size: 0.95rem;
font-weight: 600;
color: #495057;
}
</style>

View File

@@ -1,19 +1,21 @@
<template>
<div class="node-select-bar">
<button
v-for="node in nodes"
:key="node"
class="node-tab"
:class="{ 'active': modelValue === node }"
@click="selectNode(node)"
>
{{ node }}
</button>
<div class="node-select-row">
<button
v-for="node in nodes"
:key="node"
class="node-tab"
:class="{ 'active': modelValue === node }"
@click="selectNode(node)"
>
{{ node }}
</button>
</div>
</div>
</template>
<script setup>
import { defineProps, defineEmits } from 'vue';
import { ref, onMounted, watch } from 'vue';
const props = defineProps({
modelValue: {
@@ -24,31 +26,70 @@ const props = defineProps({
type: Array,
required: true,
default: () => []
},
value: {
type: String,
default: null
}
});
const emit = defineEmits(['update:modelValue', 'select']);
const selectedNode = ref(props.value || props.modelValue);
const selectNode = (node) => {
selectedNode.value = node;
emit('update:modelValue', node);
emit('select', node);
// Save to localStorage
localStorage.setItem('selectedNodeId', node);
};
onMounted(() => {
// Restore selected node from localStorage if available
const savedNodeId = localStorage.getItem('selectedNodeId');
if (savedNodeId && props.nodes.includes(savedNodeId)) {
// Only select if the node exists in the available nodes
selectedNode.value = savedNodeId;
emit('update:modelValue', savedNodeId);
emit('select', savedNodeId);
}
});
watch(() => props.value, (newValue) => {
if (newValue) {
selectedNode.value = newValue;
}
});
watch(() => props.modelValue, (newValue) => {
if (newValue) {
selectedNode.value = newValue;
}
});
</script>
<style scoped>
.node-select-bar {
display: flex;
gap: 0.25rem;
padding: 0.5rem;
flex-direction: column;
gap: 0.5rem;
background-color: white;
border-radius: 0.25rem;
overflow-x: auto;
padding-top: 0.25rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
margin-bottom: 0.5rem;
}
.node-select-row {
display: flex;
align-items: center;
gap: 0.5rem;
padding-bottom: 0.75rem !important;
}
.node-tab {
padding: 0.375rem 0.75rem;
padding: 0.45rem 0.75rem;
border: none;
background: none;
color: #495057;
@@ -66,5 +107,7 @@ const selectNode = (node) => {
.node-tab.active {
color: #0d6efd;
background-color: rgba(13, 110, 253, 0.1);
border-bottom: 4px solid rgba(13, 110, 253, 0.25);
margin-bottom: -4px;
}
</style>

View File

@@ -21,7 +21,6 @@ defineProps({
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

View File

@@ -1,6 +1,6 @@
<template>
<div class="controls-bar" ref="controlsBar">
<div class="controls-row">
<div class="vm-selector-bar" ref="controlsBar">
<div class="vm-selector-row">
<button
class="btn btn-outline-secondary list-toggle-btn"
@click="toggleList"
@@ -13,8 +13,25 @@
<i class="fas fa-list"></i> List VMs
</button>
<div class="search-box">
<i class="fas fa-search search-icon"></i>
<!-- Search box - visible when drawer is open -->
<div v-if="showList" class="search-box">
<button
v-if="shouldShowClearButton"
class="btn-clear btn-clear-left"
@click.stop="handleClearButton"
title="Clear search"
>
<i class="fas fa-times"></i>
</button>
<button
v-else
class="btn-clear btn-clear-left disabled"
disabled
title="No search to clear"
>
<i class="fas fa-times"></i>
</button>
<input
type="text"
placeholder="Search VMs..."
@@ -26,13 +43,32 @@
:class="{ 'search-active': showList && isFilterActive }"
class="form-control search-input"
>
<i class="fas fa-search search-icon-right-open"></i>
</div>
<!-- VM Display - visible when drawer is closed -->
<div v-else class="vm-display" @click.stop="openSearchDrawer">
<button
v-if="modelValue && showList && showClearButton"
class="btn-clear"
@click.stop="clearSearch"
v-if="selectedVMName"
class="btn-clear vm-clear-btn"
@click.stop="clearSelectedVM"
title="Clear selected VM"
>
<i class="fas fa-times"></i>
</button>
<button
v-else
class="btn-clear vm-clear-btn disabled"
disabled
title="No VM selected"
>
<i class="fas fa-times"></i>
</button>
<i class="fas fa-desktop vm-icon"></i>
<span class="vm-name">{{ selectedVMName || 'Select a VM...' }}</span>
<i class="fas fa-search search-icon-right-closed"></i>
</div>
<div class="filter-dropdown" ref="filterDropdown">
@@ -46,7 +82,7 @@
</button>
<div class="filter-menu" v-show="showFilterMenu" ref="filterMenu">
<div class="filter-section">
<h6>Status</h6>
<h6>State</h6>
<div class="filter-options-dropdown">
<div class="filter-pills">
<button
@@ -98,16 +134,20 @@
:key="vm.name"
:data-vm-name="vm.name"
class="vm-list-item"
:class="{ 'active': selectedVM === vm.name || vmFromUrl === vm.name }"
:class="{ 'active': isVMSelected(vm.name) }"
@click="handleVMSelect(vm)"
>
<div v-if="selectedVM === vm.name || vmFromUrl === vm.name" class="active-indicator"></div>
<div v-if="isVMSelected(vm.name)" class="active-indicator"></div>
<div class="vm-item-content">
<div class="vm-name">{{ vm.name }}</div>
<div class="vm-status" :class="getStatusClass(vm.state)">
<i class="fas fa-circle status-indicator"></i>
<div class="vm-state" :class="getStateClass(vm.state)">
<i class="fas fa-circle state-indicator"></i>
<span>{{ vm.state }}</span>
</div>
<div v-if="vm.node" class="vm-node">
<i class="fas fa-server node-icon"></i>
<span>{{ vm.node }}</span>
</div>
</div>
</button>
</div>
@@ -154,7 +194,8 @@ const emit = defineEmits([
'toggle-list',
'select-vm',
'toggle-filter',
'reset-filters'
'reset-filters',
'clear-vm'
]);
// UI state refs
@@ -175,30 +216,78 @@ const appliedFilters = ref({
nodes: {}
});
// Add a computed property to determine if the clear button should be shown
const shouldShowClearButton = computed(() => {
// Show when:
// 1. List is open and there's a search query
// 2. List is closed and there's a selected VM
return (props.showList && props.modelValue && props.showClearButton) ||
(!props.showList && (props.selectedVM || localStorage.getItem('selectedVMId')));
});
// Add a computed property to check if a VM is selected
const isVMSelected = (vmName) => {
return props.selectedVM === vmName ||
props.vmFromUrl === vmName ||
localStorage.getItem('selectedVMId') === vmName;
};
// Computed property for the selected VM name
const selectedVMName = computed(() => {
return props.selectedVM || props.vmFromUrl || localStorage.getItem('selectedVMId') || '';
});
// Initialize the component
onMounted(() => {
// Set up click outside handler
document.addEventListener('click', handleClickOutside);
// Get the selected VM from localStorage
const savedVMId = localStorage.getItem('selectedVMId');
// Restore search text from localStorage if available
const savedSearchText = localStorage.getItem('vmSearchText');
// Initialize input value based on context
if (!props.showList) {
// If list is closed, show the selected VM name in the input
const effectiveVM = props.selectedVM || props.vmFromUrl || savedVMId;
if (effectiveVM) {
// Find the VM in the list to get its full name
const vm = props.vmList.find(v => v.name === effectiveVM);
if (vm) {
inputValue.value = vm.name;
} else {
inputValue.value = effectiveVM;
}
}
} else if (props.showList) {
// If list is open
if (props.modelValue) {
// If there's a model value, use it
inputValue.value = props.modelValue;
searchText.value = props.modelValue;
} else if (savedSearchText) {
// If there's saved search text, restore it
inputValue.value = savedSearchText;
searchText.value = savedSearchText;
emit('update:modelValue', savedSearchText);
}
}
// Always restore the search text ref from localStorage
if (savedSearchText) {
searchText.value = savedSearchText;
}
// Initialize input value based on selected VM
if (!props.showList && (props.selectedVM || props.vmFromUrl)) {
inputValue.value = props.selectedVM || props.vmFromUrl;
} else if (props.showList && props.modelValue) {
inputValue.value = props.modelValue;
searchText.value = props.modelValue;
// Save to localStorage
localStorage.setItem('vmSearchText', props.modelValue);
}
// Load saved filters
loadFiltersFromLocalStorage();
// If the list is visible on mount, scroll to selected VM
if (props.showList && (props.selectedVM || props.vmFromUrl)) {
scrollToSelectedVM();
if (props.showList) {
nextTick(() => {
scrollToSelectedVM();
});
}
});
@@ -210,14 +299,23 @@ onUnmounted(() => {
const handleSearch = (event) => {
const value = event.target.value;
inputValue.value = value;
// Update search text ref
searchText.value = value;
isFilterActive.value = true;
// Save search text to localStorage
localStorage.setItem('vmSearchText', value);
// Update the model
emit('update:modelValue', value);
emit('search', value);
// Save to localStorage for search history
if (value) {
localStorage.setItem('vmSearchText', value);
} else {
localStorage.removeItem('vmSearchText');
}
// Update filter state
isFilterActive.value = !!value;
};
// Handle focus on search input
@@ -246,14 +344,15 @@ const handleBlur = (event) => {
// Handle click on search input
const handleSearchClick = () => {
if (props.showList) {
// When clicking the search input while list is open, activate filtering
// When clicking the search input, activate filtering mode
if (props.showList && !isFilterActive.value) {
isFilterActive.value = true;
// Restore search text if available
if (searchText.value && searchText.value !== inputValue.value) {
inputValue.value = searchText.value;
emit('update:modelValue', searchText.value);
// Restore saved search text if available
const savedSearchText = localStorage.getItem('vmSearchText');
if (savedSearchText && inputValue.value !== savedSearchText) {
inputValue.value = savedSearchText;
emit('update:modelValue', savedSearchText);
}
}
};
@@ -316,6 +415,17 @@ const toggleList = () => {
emit('toggle-list');
};
// Handle clear button click
const handleClearButton = () => {
if (props.showList) {
// If the list is open, clear the search
clearSearch();
} else {
// If the list is closed, clear the selected VM
clearSelectedVM();
}
};
// Clear search
const clearSearch = () => {
inputValue.value = '';
@@ -328,8 +438,11 @@ const clearSearch = () => {
emit('update:modelValue', '');
emit('clear');
// Focus the search input after clearing
// Scroll to selected VM after clearing search
nextTick(() => {
scrollToSelectedVM();
// Focus the search input after clearing
const searchInput = document.querySelector('.search-input');
if (searchInput) {
searchInput.focus();
@@ -337,10 +450,22 @@ const clearSearch = () => {
});
};
// Clear selected VM
const clearSelectedVM = () => {
// Clear from localStorage
localStorage.removeItem('selectedVMId');
// Emit event to parent component
emit('clear-vm');
};
// Select a VM
const handleVMSelect = (vm) => {
console.log('Selecting VM:', vm);
// Update the input value to show the selected VM
inputValue.value = vm.name;
// Save the current search text before selecting a VM
if (props.modelValue) {
searchText.value = props.modelValue;
@@ -348,6 +473,9 @@ const handleVMSelect = (vm) => {
localStorage.setItem('vmSearchText', props.modelValue);
}
// Save selected VM to localStorage
localStorage.setItem('selectedVMId', vm.name);
emit('select-vm', vm);
};
@@ -377,6 +505,7 @@ const toggleFilterMenu = () => {
// Filter toggle
const handleFilterToggle = (type, value) => {
appliedFilters.value[type][value] = !appliedFilters.value[type][value];
saveFiltersToLocalStorage();
};
// Reset filters
@@ -387,6 +516,7 @@ const handleResetFilters = () => {
Object.keys(appliedFilters.value.nodes).forEach(node => {
appliedFilters.value.nodes[node] = false;
});
saveFiltersToLocalStorage();
showFilterMenu.value = false;
};
@@ -427,7 +557,24 @@ const availableStates = computed(() => {
props.vmList.forEach(vm => {
if (vm.state) states.add(vm.state);
});
return Array.from(states).sort();
// Convert to array and ensure all important states are included
const statesArray = Array.from(states);
const importantStates = ['start', 'disable', 'migrate', 'unmigrate', 'provision', 'mirror', 'stop', 'fail', 'shutdown', 'restart'];
// Add any missing important states
importantStates.forEach(state => {
if (!statesArray.includes(state)) {
statesArray.push(state);
}
});
// Sort with 'start' first, then alphabetically
return statesArray.sort((a, b) => {
if (a.toLowerCase() === 'start') return -1;
if (b.toLowerCase() === 'start') return 1;
return a.localeCompare(b);
});
});
// Calculate available nodes from vmList
@@ -454,6 +601,9 @@ watch([availableStates, availableNodes], ([states, nodes]) => {
appliedFilters.value.nodes[node] = false;
}
});
// Save updated filters
saveFiltersToLocalStorage();
});
// Count active filters
@@ -468,22 +618,46 @@ const activeFiltersCount = computed(() => {
return count;
});
// Status class helper
const getStatusClass = (state) => {
// Update function name from getStatusClass to getStateClass
const getStateClass = (state) => {
if (!state) return 'status-unknown';
switch(state.toLowerCase()) {
case 'start': return 'status-running';
case 'stop': return 'status-stopped';
case 'disable': return 'status-paused';
default: return 'status-unknown';
const lowerState = state.toLowerCase();
// Green for running VMs
if (lowerState === 'start') {
return 'status-running';
}
// Blue for provisioning, migration, etc.
if (['disable', 'migrate', 'unmigrate', 'provision'].includes(lowerState)) {
return 'status-provisioning';
}
// Purple for mirror
if (lowerState === 'mirror') {
return 'status-mirror';
}
// Red for stopped or failed VMs
if (['stop', 'fail'].includes(lowerState)) {
return 'status-stopped';
}
// Yellow for shutdown or restart
if (['shutdown', 'restart'].includes(lowerState)) {
return 'status-restarting';
}
// Default to unknown (black) for any other states
return 'status-unknown';
};
// Watch for changes in showList
watch(() => props.showList, (isVisible) => {
if (!isVisible) {
// When list is closed, show selected VM
const effectiveVM = props.selectedVM || props.vmFromUrl;
const effectiveVM = props.selectedVM || props.vmFromUrl || localStorage.getItem('selectedVMId');
if (effectiveVM) {
inputValue.value = effectiveVM;
@@ -513,7 +687,7 @@ watch(() => props.showList, (isVisible) => {
// Watch for changes in selectedVM or vmFromUrl
watch([() => props.selectedVM, () => props.vmFromUrl], ([selectedVM, vmFromUrl]) => {
if (!props.showList) {
const effectiveVM = selectedVM || vmFromUrl;
const effectiveVM = selectedVM || vmFromUrl || localStorage.getItem('selectedVMId');
if (effectiveVM) {
inputValue.value = effectiveVM;
}
@@ -523,55 +697,110 @@ watch([() => props.selectedVM, () => props.vmFromUrl], ([selectedVM, vmFromUrl])
// Add a function to scroll to the selected VM
const scrollToSelectedVM = () => {
nextTick(() => {
const selectedVMName = props.selectedVM || props.vmFromUrl;
// Find the first selected VM
const selectedVMName = props.selectedVM || props.vmFromUrl || localStorage.getItem('selectedVMId');
if (selectedVMName && vmListContainer.value) {
const activeElement = vmListContainer.value.querySelector(`[data-vm-name="${selectedVMName}"]`);
if (activeElement) {
// Scroll the element into view
activeElement.scrollIntoView({ block: 'center', behavior: 'smooth' });
}
}
});
};
// Add localStorage persistence for filters
const saveFiltersToLocalStorage = () => {
localStorage.setItem('vmFilters', JSON.stringify(appliedFilters.value));
};
const loadFiltersFromLocalStorage = () => {
const savedFilters = localStorage.getItem('vmFilters');
if (savedFilters) {
try {
const parsedFilters = JSON.parse(savedFilters);
// Merge saved filters with current filters to handle new states/nodes
appliedFilters.value = {
states: { ...appliedFilters.value.states, ...parsedFilters.states },
nodes: { ...appliedFilters.value.nodes, ...parsedFilters.nodes }
};
} catch (e) {
console.error('Error parsing saved filters:', e);
}
}
};
// Method to open the search drawer
const openSearchDrawer = (event) => {
// Prevent event propagation
event.stopPropagation();
console.log('Opening search drawer');
// Only open if it's not already open
if (!props.showList) {
// Set filter active to true to indicate we're in search mode
isFilterActive.value = true;
// Emit toggle-list to open the drawer
emit('toggle-list');
// Focus the search input after the drawer opens
nextTick(() => {
const searchInput = document.querySelector('.search-input');
if (searchInput) {
searchInput.focus();
// Restore saved search text if available
const savedSearchText = localStorage.getItem('vmSearchText');
if (savedSearchText) {
inputValue.value = savedSearchText;
emit('update:modelValue', savedSearchText);
} else {
// If no saved search, clear the input
inputValue.value = '';
emit('update:modelValue', '');
}
}
});
}
};
</script>
<style scoped>
.controls-bar {
.vm-selector-bar {
display: flex;
flex-direction: column;
gap: 0.5rem;
background-color: white;
border-radius: 0.25rem;
padding: 1rem;
padding-top: 0.25rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.controls-row {
.vm-selector-row {
display: flex;
align-items: center;
gap: 0.5rem;
padding-bottom: 0.75rem !important;
}
.search-box {
position: relative;
flex: 1;
min-width: 200px;
}
.search-icon {
position: absolute;
left: 10px;
top: 50%;
transform: translateY(-50%);
color: #6c757d;
height: 38px;
}
.search-input {
padding-left: 30px;
height: 38px;
padding-left: 35px;
padding-right: 30px;
}
.btn-clear {
.btn-clear-left {
position: absolute;
right: 10px;
left: 10px;
top: 50%;
transform: translateY(-50%);
background: none;
@@ -580,6 +809,12 @@ const scrollToSelectedVM = () => {
cursor: pointer;
padding: 0;
font-size: 0.875rem;
transition: color 0.2s;
z-index: 5;
}
.btn-clear-left:hover {
color: #dc3545;
}
.list-toggle-btn {
@@ -622,7 +857,8 @@ const scrollToSelectedVM = () => {
background-color: white;
border-radius: 0.25rem;
overflow: hidden;
margin-top: 0.5rem;
margin-top: -0.5rem;
padding-bottom: 0.25rem;
}
.vm-list {
@@ -631,6 +867,7 @@ const scrollToSelectedVM = () => {
width: 100%;
max-height: calc(100vh - 200px);
overflow-y: auto;
padding-bottom: 0.25rem;
}
.vm-list-item {
@@ -638,7 +875,6 @@ const scrollToSelectedVM = () => {
align-items: center;
padding: 0.75rem 1rem;
border: none !important;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
background-color: white;
text-align: left;
cursor: pointer;
@@ -648,6 +884,7 @@ const scrollToSelectedVM = () => {
.vm-list-item:last-child {
border-bottom: none !important;
margin-bottom: 0.25rem;
}
.vm-list-item:hover {
@@ -671,12 +908,12 @@ const scrollToSelectedVM = () => {
z-index: 2 !important;
}
.controls-bar .vm-list-container .vm-list .vm-list-item.active {
.vm-selector-bar .vm-list-container .vm-list .vm-list-item.active {
background-color: rgba(13, 110, 253, 0.15) !important;
position: relative !important;
}
.controls-bar .vm-list-container .vm-list .vm-list-item.active::before {
.vm-selector-bar .vm-list-container .vm-list .vm-list-item.active::before {
content: '';
position: absolute !important;
left: 0 !important;
@@ -688,45 +925,64 @@ const scrollToSelectedVM = () => {
.vm-item-content {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
gap: 1rem;
}
.vm-name {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
padding-left: 0;
}
.vm-status {
.vm-state {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
width: 100px;
}
.status-indicator {
.vm-node {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
color: #6c757d;
width: 100px;
}
.node-icon {
font-size: 0.75rem;
}
.state-indicator {
font-size: 0.625rem;
}
/* Status colors */
/* Status colors - updated */
.status-running {
color: #28a745;
color: #28a745; /* Green */
}
.status-stopped {
color: #6c757d;
color: #dc3545; /* Red */
}
.status-paused {
color: #ffc107;
.status-provisioning {
color: #0d6efd; /* Blue */
}
.status-error {
color: #dc3545;
.status-mirror {
color: #6f42c1; /* Purple */
}
.status-unknown {
color: #6c757d;
.status-restarting {
color: #ffc107; /* Yellow */
}
.no-vms-message {
@@ -741,7 +997,7 @@ const scrollToSelectedVM = () => {
top: 100%;
right: 0;
z-index: 1000;
min-width: 250px;
min-width: 350px;
padding: 1rem;
margin-top: 0.5rem;
background-color: white;
@@ -757,12 +1013,11 @@ const scrollToSelectedVM = () => {
margin-bottom: 0.5rem;
font-weight: 600;
color: #495057;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
padding-bottom: 0.25rem;
}
.filter-options-dropdown {
max-height: 150px;
max-height: 200px;
overflow-y: auto;
display: flex;
flex-direction: column;
@@ -821,4 +1076,94 @@ const scrollToSelectedVM = () => {
border-color: #0d6efd;
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
/* Add these styles for the VM display */
.vm-display {
position: relative;
flex: 1;
min-width: 200px;
height: 38px;
padding: 0.375rem 0.75rem;
padding-left: 35px;
padding-right: 30px;
background-color: #f8f9fa;
border: 1px solid #ced4da;
border-radius: 0.25rem;
display: flex;
align-items: center;
cursor: pointer;
transition: background-color 0.2s;
user-select: none;
z-index: 1;
}
/* Add a hover effect to make it clear it's clickable */
.vm-display:hover {
background-color: #e9ecef;
border-color: #adb5bd;
}
/* Add an active state for when it's clicked */
.vm-display:active {
background-color: #dee2e6;
border-color: #adb5bd;
}
.vm-clear-btn {
position: absolute;
left: 9px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
color: #6c757d;
cursor: pointer;
padding: 0;
font-size: 0.875rem;
transition: color 0.2s;
z-index: 5;
}
.vm-clear-btn:hover {
color: #dc3545;
}
.vm-icon {
color: #6c757d;
margin-right: 0.5rem;
margin-left: -0.25rem;
}
.vm-name {
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1;
padding-left: 0;
}
.search-icon-right-open {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
color: #6c757d;
}
.search-icon-right-closed {
position: absolute;
right: 9px;
top: 50%;
transform: translateY(-50%);
color: #6c757d;
}
/* Add disabled style for clear buttons */
.btn-clear-left.disabled,
.vm-clear-btn.disabled {
color: #ced4da;
cursor: default;
pointer-events: none;
}
</style>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,156 @@
<template>
<div class="vms-container">
<div class="card-header">
<h6 class="card-title mb-0">
<span class="metric-label">Running VMs</span>
</h6>
</div>
<div v-if="!runningDomains || runningDomains.length === 0" class="no-vms">
No VMs running on this node
</div>
<div v-else class="vm-list" :style="{
'grid-template-columns': `repeat(auto-fill, minmax(150px, 1fr))`
}">
<div
v-for="vmName in runningDomains"
:key="vmName"
class="vm-item"
@click="selectVMAndNavigate(vmName)"
>
{{ vmName }}
</div>
</div>
</div>
</template>
<script setup>
import { computed } from 'vue';
import { useRouter } from 'vue-router';
import { navigateToVM } from '../../../services/navigation';
const props = defineProps({
vmData: {
type: Array,
required: true,
default: () => []
},
nodeData: {
type: Array,
required: true,
default: () => []
},
nodeName: {
type: String,
required: true
}
});
const router = useRouter();
// Get the selected node data
const nodeData = computed(() => {
if (!props.nodeName || !props.nodeData || props.nodeData.length === 0) {
console.log('No node selected or no node data available');
return null;
}
const node = props.nodeData.find(node => node.name === props.nodeName);
console.log(`Node data for ${props.nodeName}:`, node);
return node;
});
// Get running domains from the node data
const runningDomains = computed(() => {
if (!nodeData.value || !nodeData.value.running_domains) {
console.log('No running domains found for node:', props.nodeName);
return [];
}
console.log(`Found ${nodeData.value.running_domains.length} running domains on node ${props.nodeName}:`, nodeData.value.running_domains);
return nodeData.value.running_domains;
});
// Navigate to VM details using the navigation service
const selectVMAndNavigate = (vmName) => {
navigateToVM(vmName, router);
};
</script>
<style scoped>
.vms-container {
min-width: 180px;
background: white;
border: 1px solid rgba(0,0,0,0.125);
border-radius: 0.25rem;
height: 100%;
display: flex;
flex-direction: column;
min-width: 0;
width: 100%;
overflow: hidden;
}
.card-header {
background-color: rgba(0, 0, 0, 0.03);
padding: 0.5rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
height: 38px;
display: flex;
justify-content: space-between;
align-items: center;
}
.card-header h6 {
font-size: 0.95rem;
font-weight: 600;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0;
}
.no-vms {
display: flex;
justify-content: center;
align-items: center;
height: 100px;
color: #6c757d;
font-style: italic;
}
.vm-list {
display: grid;
gap: 0.5rem;
width: 100%;
padding: 0.5rem;
border-radius: 0.25rem;
}
.vm-item {
padding: 0.5rem;
background-color: rgba(0, 0, 0, 0.015);
border: 1px solid rgba(0, 0, 0, 0.05);
border-radius: 0.25rem;
cursor: pointer;
text-align: center;
font-weight: 500;
color: #333;
transition: all 0.2s;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
position: relative;
display: block;
}
.vm-item:hover {
background-color: rgba(0, 0, 0, 0.04);
border-color: rgba(0, 0, 0, 0.1);
}
.vm-node {
font-size: 0.7rem;
color: #6c757d;
margin-top: 0.25rem;
}
</style>

View File

@@ -1,5 +1,5 @@
<template>
<div class="overview-container">
<div class="content-container">
<!-- Information Cards Section -->
<CollapsibleSection title="Cluster Information" :initially-expanded="sections.info">
<div class="metrics-row">
@@ -870,11 +870,12 @@ const isMaintenanceMode = computed(() => {
</script>
<style scoped>
.overview-container {
.content-container {
display: flex;
flex-direction: column;
gap: 0.5rem;
width: 100%;
padding-top: 0.25rem;
}
.metrics-row {

View File

@@ -1,117 +1,116 @@
<template>
<div class="overview-container">
<VMSearchBar
:key="`vm-search-${selectedVM}`"
v-model="searchQuery"
:selected-vm="selectedVM"
:vm-from-url="route.query.vm"
:show-list="showVMList"
:show-clear-button="true"
:vm-list="props.vmData"
@search="handleSearch"
@focus="handleSearchFocus"
@blur="handleSearchBlur"
@clear="clearSearch"
@toggle-list="toggleVMList"
@select-vm="selectVM"
/>
<VMSearchBar
:key="`vm-search-${selectedVM}`"
v-model="searchQuery"
:selected-vm="selectedVM"
:vm-from-url="route.query.vm"
:show-list="showVMList"
:show-clear-button="true"
:vm-list="props.vmData"
@search="handleSearch"
@focus="handleSearchFocus"
@blur="handleSearchBlur"
@clear="clearSearch"
@toggle-list="toggleVMList"
@select-vm="selectVM"
@clear-vm="clearSelectedVM"
/>
<!-- VM Details -->
<div v-if="selectedVMData && !showVMList" class="content-container">
<CollapsibleSection title="VM Information" :initially-expanded="sections.info">
<div class="info-grid">
<ValueCard
title="State"
:value="selectedVMData.state || 'Unknown'"
:status="getStateColor(selectedVMData.state)"
/>
<ValueCard
title="Node"
:value="selectedVMData.node || 'N/A'"
/>
<ValueCard
title="CPUs"
:value="selectedVMData.vcpus || 0"
/>
<ValueCard
title="Memory"
:value="formatMemory(selectedVMData.memory)"
/>
</div>
</CollapsibleSection>
<!-- Resources Section -->
<CollapsibleSection title="Resources" :initially-expanded="sections.resources">
<div class="info-grid-2">
<ValueCard
title="Disk Size"
:value="formatStorage(selectedVMData.disk_size)"
/>
<ValueCard
title="Network IPs"
:value="selectedVMData.ips?.join(', ') || 'None'"
/>
</div>
</CollapsibleSection>
<!-- Networks Section -->
<CollapsibleSection
v-if="selectedVMData.networks?.length"
title="Network Interfaces"
:initially-expanded="sections.networks"
>
<div class="cards-stack">
<div v-for="network in selectedVMData.networks"
:key="network.vni"
class="detail-card"
>
<ValueCard title="Interface" :value="network.vni" />
<ValueCard title="Type" :value="network.type" />
<ValueCard title="MAC" :value="network.mac" />
<ValueCard title="Source" :value="network.source" />
</div>
</div>
</CollapsibleSection>
<!-- Storage Section -->
<CollapsibleSection
v-if="selectedVMData.disks?.length"
title="Storage"
:initially-expanded="sections.storage"
>
<div class="cards-stack">
<div v-for="disk in selectedVMData.disks"
:key="disk.dev"
class="detail-card"
>
<ValueCard title="Device" :value="disk.dev" />
<ValueCard title="Type" :value="disk.type" />
<ValueCard title="Bus" :value="disk.bus" />
<ValueCard title="Source" :value="disk.name" />
</div>
</div>
</CollapsibleSection>
</div>
<!-- Loading and no-selection states -->
<div v-if="!selectedVMData && !showVMList" class="content-container">
<div v-if="isLoading" class="loading-container">
<div class="spinner-border text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<p class="mt-2 text-muted">Loading VM details...</p>
<!-- VM Details -->
<div v-if="selectedVMData && !showVMList" class="content-container">
<CollapsibleSection title="VM Information" :initially-expanded="sections.info">
<div class="info-grid-general">
<ValueCard
title="State"
:value="selectedVMData.state || 'Unknown'"
:status="getStateColor(selectedVMData.state)"
/>
<ValueCard
title="Node"
:value="selectedVMData.node || 'N/A'"
/>
<ValueCard
title="CPUs"
:value="selectedVMData.vcpus || 0"
/>
<ValueCard
title="Memory"
:value="formatMemory(selectedVMData.memory)"
/>
</div>
<div v-else class="no-content-message">
<div class="alert alert-info">
<i class="fas fa-info-circle me-2"></i>
<span v-if="invalidVMSelected">
Selected VM does not exist
</span>
<span v-else>
Please select a VM from the list to view its details
</span>
</CollapsibleSection>
<!-- Resources Section -->
<CollapsibleSection title="Resources" :initially-expanded="sections.resources">
<div class="info-grid-resources">
<ValueCard
title="Disk Size"
:value="formatStorage(selectedVMData.disk_size)"
/>
<ValueCard
title="Network IPs"
:value="selectedVMData.ips?.join(', ') || 'None'"
/>
</div>
</CollapsibleSection>
<!-- Networks Section -->
<CollapsibleSection
v-if="selectedVMData.networks?.length"
title="Network Interfaces"
:initially-expanded="sections.networks"
>
<div class="cards-stack">
<div v-for="network in selectedVMData.networks"
:key="network.vni"
class="detail-card"
>
<ValueCard title="Interface" :value="network.vni" />
<ValueCard title="Type" :value="network.type" />
<ValueCard title="MAC" :value="network.mac" />
<ValueCard title="Source" :value="network.source" />
</div>
</div>
</CollapsibleSection>
<!-- Storage Section -->
<CollapsibleSection
v-if="selectedVMData.disks?.length"
title="Storage"
:initially-expanded="sections.storage"
>
<div class="cards-stack">
<div v-for="disk in selectedVMData.disks"
:key="disk.dev"
class="detail-card"
>
<ValueCard title="Device" :value="disk.dev" />
<ValueCard title="Type" :value="disk.type" />
<ValueCard title="Bus" :value="disk.bus" />
<ValueCard title="Source" :value="disk.name" />
</div>
</div>
</CollapsibleSection>
</div>
<!-- Loading and no-selection states -->
<div v-if="!selectedVMData && !showVMList" class="content-container">
<div v-if="isLoading" class="loading-container">
<div class="spinner-border text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<p class="mt-2 text-muted">Loading VM details...</p>
</div>
<div v-else class="no-content-message">
<div class="alert alert-info">
<i class="fas fa-info-circle me-2"></i>
<span v-if="invalidVMSelected">
Selected VM does not exist
</span>
<span v-else>
Please select a VM from the list to view its details
</span>
</div>
</div>
</div>
</template>
@@ -149,7 +148,7 @@ const props = defineProps({
});
// Use ref and sync with route
const selectedVM = ref(route.query.vm || '');
const selectedVM = ref('');
const searchQuery = ref('');
const showVMList = ref(true);
const searchActive = ref(false);
@@ -173,9 +172,15 @@ const selectedVMData = computed(() => {
const handleSearch = (value) => {
searchQuery.value = value;
searchActive.value = true;
// Store the search query in localStorage for persistence
if (value) {
localStorage.setItem('vmSearchQuery', value);
// Also save to vmSearchText for consistency
localStorage.setItem('vmSearchText', value);
} else {
localStorage.removeItem('vmSearchQuery');
// Don't remove vmSearchText here - it's used for search history
}
};
@@ -196,9 +201,17 @@ const handleSearchBlur = (event) => {
// Toggle VM list visibility
const toggleVMList = () => {
showVMList.value = !showVMList.value;
if (showVMList.value) {
// When opening the list
searchActive.value = false;
invalidVMSelected.value = false;
// Restore search text if available
const savedSearchText = localStorage.getItem('vmSearchText');
if (savedSearchText && !searchQuery.value) {
searchQuery.value = savedSearchText;
}
}
};
@@ -213,8 +226,10 @@ const selectVM = (vm) => {
// Close the VM list
showVMList.value = false;
// Update the URL
router.push({ query: { vm: vm.name } });
// Save to localStorage
localStorage.setItem('selectedVMId', vm.name);
// No URL parameter update
};
// Clear search
@@ -224,75 +239,124 @@ const clearSearch = () => {
localStorage.removeItem('vmSearchQuery');
};
// Add a method to clear the selected VM
const clearSelectedVM = () => {
// Clear the selected VM
selectedVM.value = '';
invalidVMSelected.value = false;
// Clear the search query in this component
searchQuery.value = '';
// Show the VM list
showVMList.value = true;
// Clear VM selection from localStorage
localStorage.removeItem('selectedVMId');
// Don't clear vmSearchText unless it matches the VM name
const savedVMId = localStorage.getItem('selectedVMId');
const savedSearchText = localStorage.getItem('vmSearchText');
if (savedSearchText === savedVMId) {
localStorage.removeItem('vmSearchText');
}
// Clear URL parameter if it exists
if (route.query.vm) {
router.replace({ path: '/vms' }, { replace: true });
}
};
// Lifecycle hooks
onMounted(() => {
console.log('VMOverview mounted, route.query.vm:', route.query.vm);
console.log('VMOverview mounted');
isLoading.value = true;
// Check sources in priority order:
// 1. localStorage (for returning to the page or navigating from other pages)
// 2. URL query parameter (for backward compatibility)
const savedVMId = localStorage.getItem('selectedVMId');
const vmFromQuery = route.query.vm;
// Restore previous search query from localStorage if available
// Restore previous search query from localStorage
const savedSearch = localStorage.getItem('vmSearchQuery');
if (savedSearch) {
searchQuery.value = savedSearch;
const savedSearchText = localStorage.getItem('vmSearchText');
// If we have a VM to select
let vmToSelect = savedVMId || vmFromQuery;
if (vmToSelect && props.vmData.length > 0) {
// Check if the VM exists
const vmExists = props.vmData.some(v => v.name === vmToSelect);
if (vmExists) {
selectedVM.value = vmToSelect;
showVMList.value = false;
// Set the search query to the VM name for display in the search bar
searchQuery.value = vmToSelect;
// If from URL, save to localStorage for persistence
if (vmFromQuery && !savedVMId) {
localStorage.setItem('selectedVMId', vmFromQuery);
// Remove the VM ID from the URL without reloading the page
router.replace({ path: '/vms' }, { replace: true });
}
} else {
console.log('Selected VM does not exist:', vmToSelect);
invalidVMSelected.value = true;
localStorage.removeItem('selectedVMId');
// Only clear search text if it matches the VM name
if (savedSearchText === vmToSelect) {
localStorage.removeItem('vmSearchText');
}
// Show the VM list with any saved search
showVMList.value = true;
if (savedSearch) {
searchQuery.value = savedSearch;
} else if (savedSearchText) {
searchQuery.value = savedSearchText;
}
}
} else {
// No VM selected, show the list with any saved search
showVMList.value = true;
if (savedSearch) {
searchQuery.value = savedSearch;
} else if (savedSearchText) {
searchQuery.value = savedSearchText;
}
}
if (vmFromQuery) {
console.log('Setting selectedVM to:', vmFromQuery);
selectedVM.value = vmFromQuery;
isLoading.value = true;
showVMList.value = false;
// If we have data, verify the VM exists
if (props.vmData.length) {
const vmExists = props.vmData.some(v => v.name === vmFromQuery);
invalidVMSelected.value = !vmExists;
}
isLoading.value = false;
} else if (props.vmData.length > 0) {
showVMList.value = true;
invalidVMSelected.value = false;
isLoading.value = false;
});
// Watch for changes in the selected VM
watch(selectedVM, (newValue) => {
if (newValue) {
// Save to localStorage whenever it changes
localStorage.setItem('selectedVMId', newValue);
} else {
localStorage.removeItem('selectedVMId');
}
});
onUnmounted(() => {
// Remove event listeners and clean up resources
});
// Watch for route changes to update selectedVM
watch(() => route.query.vm, (newVm) => {
// Explicitly update the ref when route changes
selectedVM.value = newVm || '';
if (newVm) {
// Just update UI state, don't trigger another route change
invalidVMSelected.value = false;
showVMList.value = false;
} else if (props.vmData.length > 0) {
showVMList.value = true;
invalidVMSelected.value = false;
}
}, { immediate: true });
// Watch for changes in the VM list visibility
watch(() => showVMList.value, (isVisible) => {
if (isVisible && selectedVM.value) {
// Scroll to selected VM when the list becomes visible
nextTick(() => {
// Scroll to selected VM logic
});
}
});
// Add watcher for vmData to handle loading state
// Watch for changes in the VM data
watch(() => props.vmData, (newData) => {
if (selectedVM.value && newData.length) {
if (selectedVM.value && newData.length > 0) {
// Verify the VM still exists
const vmExists = newData.some(vm => vm.name === selectedVM.value);
invalidVMSelected.value = !vmExists;
if (!vmExists) {
// If VM no longer exists, clear localStorage
localStorage.removeItem('selectedVMId');
}
}
}, { immediate: true });
// Add debug watcher
watch(() => selectedVM.value, (newVal) => {
console.log('VMOverview selectedVM changed:', newVal);
}, { immediate: true });
}, { deep: true });
// Helper functions
const getStateColor = (state) => {
@@ -318,17 +382,12 @@ const formatStorage = (sizeGB) => {
</script>
<style scoped>
.overview-container {
display: flex;
flex-direction: column;
gap: 0.5rem;
width: 100%;
}
.content-container {
background-color: white;
border-radius: 0.25rem;
padding: 1rem;
width: 100%;
padding-top: 0.25rem;
}
.loading-container {
@@ -344,37 +403,33 @@ const formatStorage = (sizeGB) => {
padding: 2rem;
}
/* Keep only the styles needed for VM details display */
.info-grid {
.info-grid-general {
display: grid;
gap: 1rem;
gap: 0.5rem;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.info-grid-2 {
.info-grid-resources {
display: grid;
gap: 1rem;
gap: 0.5rem;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.cards-stack {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.5rem;
}
.detail-card {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
padding: 1rem;
background-color: rgba(0, 0, 0, 0.02);
border-radius: 0.25rem;
gap: 0.5rem;
}
@media (max-width: 768px) {
.info-grid,
.info-grid-2 {
.info-grid-general,
.info-grid-resources {
grid-template-columns: 1fr;
}

View File

@@ -0,0 +1,39 @@
import { useRouter } from 'vue-router';
/**
* Navigate to a VM without using URL parameters
* @param {string} vmId - The ID of the VM to navigate to
* @param {import('vue-router').Router} router - Vue Router instance
*/
export function navigateToVM(vmId, router) {
// Save the VM ID to localStorage
localStorage.setItem('selectedVMId', vmId);
// Navigate to the VMs page
router.push('/vms');
}
/**
* Navigate to a node without using URL parameters
* @param {string} nodeId - The ID of the node to navigate to
* @param {import('vue-router').Router} router - Vue Router instance
*/
export function navigateToNode(nodeId, router) {
// Save the node ID to localStorage
localStorage.setItem('selectedNodeId', nodeId);
// Navigate to the Nodes page
router.push('/nodes');
}
/**
* Clear the selected VM and return to the default VM page view
* @param {import('vue-router').Router} router - Vue Router instance
*/
export function clearSelectedVM(router) {
// Clear from localStorage
localStorage.removeItem('selectedVMId');
// Navigate to the VMs page without query parameters
router.push('/vms');
}

View File

@@ -0,0 +1,32 @@
/**
* Selects a VM and saves the selection to localStorage
* @param {string} vmId - The ID of the VM to select
* @param {import('vue-router').Router} router - Vue Router instance (optional)
*/
export function selectVM(vmId, router = null) {
// Save to localStorage
localStorage.setItem('selectedVMId', vmId);
// Optionally update URL if router is provided
if (router) {
router.push({
path: '/vms',
query: { vm: vmId }
});
}
}
/**
* Gets the currently selected VM from localStorage
* @returns {string|null} The selected VM ID or null if none is selected
*/
export function getSelectedVM() {
return localStorage.getItem('selectedVMId');
}
/**
* Clears the selected VM from localStorage
*/
export function clearSelectedVM() {
localStorage.removeItem('selectedVMId');
}

View File

@@ -10,10 +10,11 @@
</template>
<script setup>
import { ref, onMounted, watch } from 'vue';
import PageTitle from '../components/general/PageTitle.vue';
import NodeOverview from '../components/pages/nodes/NodeOverview.vue';
defineProps({
const props = defineProps({
nodeData: {
type: Array,
required: true,
@@ -30,6 +31,25 @@ defineProps({
default: () => ({})
}
});
const selectedNode = ref(null);
onMounted(() => {
// Restore selected node from localStorage if available
const savedNodeId = localStorage.getItem('selectedNodeId');
if (savedNodeId) {
selectedNode.value = savedNodeId;
}
});
watch(selectedNode, (newValue) => {
// Save selected node to localStorage whenever it changes
if (newValue) {
localStorage.setItem('selectedNodeId', newValue);
} else {
localStorage.removeItem('selectedNodeId');
}
});
</script>
<style scoped>
@@ -39,9 +59,4 @@ defineProps({
gap: 0.5rem;
width: 100%;
}
/* Remove top margin from first child (usually PageTitle) */
.content-grid > :first-child {
margin-top: 0 !important;
}
</style>

View File

@@ -11,10 +11,14 @@
</template>
<script setup>
import { ref, onMounted, watch } from 'vue';
import { useRouter, useRoute } from 'vue-router';
import PageTitle from '../components/general/PageTitle.vue';
import VMOverview from '../components/pages/vms/VMOverview.vue';
// Define props to receive data from App.vue
const router = useRouter();
const route = useRoute();
const props = defineProps({
vmData: {
type: Array,
@@ -36,6 +40,9 @@ const props = defineProps({
default: false
}
});
// We'll handle the VM selection in the VMOverview component
// This parent component just needs to pass the data
</script>
<style scoped>
@@ -45,9 +52,4 @@ const props = defineProps({
gap: 0.5rem;
width: 100%;
}
/* Remove top margin from first child (usually PageTitle) */
.content-grid > :first-child {
margin-top: 0 !important;
}
</style>

641
pvc-vue/yarn.lock Normal file
View File

@@ -0,0 +1,641 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@babel/helper-string-parser@^7.27.1":
version "7.27.1"
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687"
integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==
"@babel/helper-validator-identifier@^7.27.1":
version "7.27.1"
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8"
integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==
"@babel/parser@^7.28.3":
version "7.28.3"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.3.tgz#d2d25b814621bca5fe9d172bc93792547e7a2a71"
integrity sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA==
dependencies:
"@babel/types" "^7.28.2"
"@babel/types@^7.28.2":
version "7.28.2"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.2.tgz#da9db0856a9a88e0a13b019881d7513588cf712b"
integrity sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==
dependencies:
"@babel/helper-string-parser" "^7.27.1"
"@babel/helper-validator-identifier" "^7.27.1"
"@esbuild/aix-ppc64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.9.tgz#bef96351f16520055c947aba28802eede3c9e9a9"
integrity sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==
"@esbuild/android-arm64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.9.tgz#d2e70be7d51a529425422091e0dcb90374c1546c"
integrity sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==
"@esbuild/android-arm@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.9.tgz#d2a753fe2a4c73b79437d0ba1480e2d760097419"
integrity sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==
"@esbuild/android-x64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.9.tgz#5278836e3c7ae75761626962f902a0d55352e683"
integrity sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==
"@esbuild/darwin-arm64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.9.tgz#f1513eaf9ec8fa15dcaf4c341b0f005d3e8b47ae"
integrity sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==
"@esbuild/darwin-x64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.9.tgz#e27dbc3b507b3a1cea3b9280a04b8b6b725f82be"
integrity sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==
"@esbuild/freebsd-arm64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.9.tgz#364e3e5b7a1fd45d92be08c6cc5d890ca75908ca"
integrity sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==
"@esbuild/freebsd-x64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.9.tgz#7c869b45faeb3df668e19ace07335a0711ec56ab"
integrity sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==
"@esbuild/linux-arm64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.9.tgz#48d42861758c940b61abea43ba9a29b186d6cb8b"
integrity sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==
"@esbuild/linux-arm@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.9.tgz#6ce4b9cabf148274101701d112b89dc67cc52f37"
integrity sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==
"@esbuild/linux-ia32@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.9.tgz#207e54899b79cac9c26c323fc1caa32e3143f1c4"
integrity sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==
"@esbuild/linux-loong64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.9.tgz#0ba48a127159a8f6abb5827f21198b999ffd1fc0"
integrity sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==
"@esbuild/linux-mips64el@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.9.tgz#a4d4cc693d185f66a6afde94f772b38ce5d64eb5"
integrity sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==
"@esbuild/linux-ppc64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.9.tgz#0f5805c1c6d6435a1dafdc043cb07a19050357db"
integrity sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==
"@esbuild/linux-riscv64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.9.tgz#6776edece0f8fca79f3386398b5183ff2a827547"
integrity sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==
"@esbuild/linux-s390x@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.9.tgz#3f6f29ef036938447c2218d309dc875225861830"
integrity sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==
"@esbuild/linux-x64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.9.tgz#831fe0b0e1a80a8b8391224ea2377d5520e1527f"
integrity sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==
"@esbuild/netbsd-arm64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.9.tgz#06f99d7eebe035fbbe43de01c9d7e98d2a0aa548"
integrity sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q==
"@esbuild/netbsd-x64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.9.tgz#db99858e6bed6e73911f92a88e4edd3a8c429a52"
integrity sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==
"@esbuild/openbsd-arm64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.9.tgz#afb886c867e36f9d86bb21e878e1185f5d5a0935"
integrity sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ==
"@esbuild/openbsd-x64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.9.tgz#30855c9f8381fac6a0ef5b5f31ac6e7108a66ecf"
integrity sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==
"@esbuild/openharmony-arm64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.9.tgz#2f2144af31e67adc2a8e3705c20c2bd97bd88314"
integrity sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg==
"@esbuild/sunos-x64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.9.tgz#69b99a9b5bd226c9eb9c6a73f990fddd497d732e"
integrity sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==
"@esbuild/win32-arm64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.9.tgz#d789330a712af916c88325f4ffe465f885719c6b"
integrity sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==
"@esbuild/win32-ia32@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.9.tgz#52fc735406bd49688253e74e4e837ac2ba0789e3"
integrity sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==
"@esbuild/win32-x64@0.25.9":
version "0.25.9"
resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.9.tgz#585624dc829cfb6e7c0aa6c3ca7d7e6daa87e34f"
integrity sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==
"@fortawesome/fontawesome-free@^6.7.2":
version "6.7.2"
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.7.2.tgz#8249de9b7e22fcb3ceb5e66090c30a1d5492b81a"
integrity sha512-JUOtgFW6k9u4Y+xeIaEiLr3+cjoUPiAuLXoyKOJSia6Duzb7pq+A76P9ZdPDoAoxHdHzq6gE9/jKBGXlZT8FbA==
"@jridgewell/sourcemap-codec@^1.5.5":
version "1.5.5"
resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba"
integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==
"@kurkle/color@^0.3.0":
version "0.3.4"
resolved "https://registry.yarnpkg.com/@kurkle/color/-/color-0.3.4.tgz#4d4ff677e1609214fc71c580125ddddd86abcabf"
integrity sha512-M5UknZPHRu3DEDWoipU6sE8PdkZ6Z/S+v4dD+Ke8IaNlpdSQah50lz1KtcFBa2vsdOnwbbnxJwVM4wty6udA5w==
"@rollup/rollup-android-arm-eabi@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.50.0.tgz#939c1be9625d428d8513e4ab60d406fe8db23718"
integrity sha512-lVgpeQyy4fWN5QYebtW4buT/4kn4p4IJ+kDNB4uYNT5b8c8DLJDg6titg20NIg7E8RWwdWZORW6vUFfrLyG3KQ==
"@rollup/rollup-android-arm64@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.50.0.tgz#b74005775903f7a8f4e363d2840c1dcef3776ff3"
integrity sha512-2O73dR4Dc9bp+wSYhviP6sDziurB5/HCym7xILKifWdE9UsOe2FtNcM+I4xZjKrfLJnq5UR8k9riB87gauiQtw==
"@rollup/rollup-darwin-arm64@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.50.0.tgz#8c04603cdcf1ec0cd6b27152b3827e49295f2962"
integrity sha512-vwSXQN8T4sKf1RHr1F0s98Pf8UPz7pS6P3LG9NSmuw0TVh7EmaE+5Ny7hJOZ0M2yuTctEsHHRTMi2wuHkdS6Hg==
"@rollup/rollup-darwin-x64@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.50.0.tgz#19ec976f1cc663def2692cd7ffb32981f2b0b733"
integrity sha512-cQp/WG8HE7BCGyFVuzUg0FNmupxC+EPZEwWu2FCGGw5WDT1o2/YlENbm5e9SMvfDFR6FRhVCBePLqj0o8MN7Vw==
"@rollup/rollup-freebsd-arm64@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.50.0.tgz#a96b4ad8346229f6fcbd9d57f1c53040b037c2da"
integrity sha512-UR1uTJFU/p801DvvBbtDD7z9mQL8J80xB0bR7DqW7UGQHRm/OaKzp4is7sQSdbt2pjjSS72eAtRh43hNduTnnQ==
"@rollup/rollup-freebsd-x64@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.50.0.tgz#fa565a282bc57967ee6668607b181678bdd74e4a"
integrity sha512-G/DKyS6PK0dD0+VEzH/6n/hWDNPDZSMBmqsElWnCRGrYOb2jC0VSupp7UAHHQ4+QILwkxSMaYIbQ72dktp8pKA==
"@rollup/rollup-linux-arm-gnueabihf@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.50.0.tgz#dfc88f7295e1f98d77f25296be787e8a5d6ced75"
integrity sha512-u72Mzc6jyJwKjJbZZcIYmd9bumJu7KNmHYdue43vT1rXPm2rITwmPWF0mmPzLm9/vJWxIRbao/jrQmxTO0Sm9w==
"@rollup/rollup-linux-arm-musleabihf@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.50.0.tgz#32cd70c87455ca031f0361090cf17da5a2ef66d5"
integrity sha512-S4UefYdV0tnynDJV1mdkNawp0E5Qm2MtSs330IyHgaccOFrwqsvgigUD29uT+B/70PDY1eQ3t40+xf6wIvXJyg==
"@rollup/rollup-linux-arm64-gnu@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.50.0.tgz#0e7e1fe7241e3384f6c6b4ccdbcfa8ad8c78b869"
integrity sha512-1EhkSvUQXJsIhk4msxP5nNAUWoB4MFDHhtc4gAYvnqoHlaL9V3F37pNHabndawsfy/Tp7BPiy/aSa6XBYbaD1g==
"@rollup/rollup-linux-arm64-musl@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.50.0.tgz#5d421f2f3e4a84786c4dfd9ce97e595c9b59e7f4"
integrity sha512-EtBDIZuDtVg75xIPIK1l5vCXNNCIRM0OBPUG+tbApDuJAy9mKago6QxX+tfMzbCI6tXEhMuZuN1+CU8iDW+0UQ==
"@rollup/rollup-linux-loongarch64-gnu@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.50.0.tgz#a0fb5c7d0e88319e18acfd9436f19ee39354b027"
integrity sha512-BGYSwJdMP0hT5CCmljuSNx7+k+0upweM2M4YGfFBjnFSZMHOLYR0gEEj/dxyYJ6Zc6AiSeaBY8dWOa11GF/ppQ==
"@rollup/rollup-linux-ppc64-gnu@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.50.0.tgz#a65b598af12f25210c3295da551a6e3616ea488d"
integrity sha512-I1gSMzkVe1KzAxKAroCJL30hA4DqSi+wGc5gviD0y3IL/VkvcnAqwBf4RHXHyvH66YVHxpKO8ojrgc4SrWAnLg==
"@rollup/rollup-linux-riscv64-gnu@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.50.0.tgz#10ba776214ae2857c5bf4389690dabb2fbaf7d98"
integrity sha512-bSbWlY3jZo7molh4tc5dKfeSxkqnf48UsLqYbUhnkdnfgZjgufLS/NTA8PcP/dnvct5CCdNkABJ56CbclMRYCA==
"@rollup/rollup-linux-riscv64-musl@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.50.0.tgz#c2a46cbaa329d5f21e5808f5a66bb9c78cf68aac"
integrity sha512-LSXSGumSURzEQLT2e4sFqFOv3LWZsEF8FK7AAv9zHZNDdMnUPYH3t8ZlaeYYZyTXnsob3htwTKeWtBIkPV27iQ==
"@rollup/rollup-linux-s390x-gnu@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.50.0.tgz#a07447be069d64462e30c66611be20c4513963ed"
integrity sha512-CxRKyakfDrsLXiCyucVfVWVoaPA4oFSpPpDwlMcDFQvrv3XY6KEzMtMZrA+e/goC8xxp2WSOxHQubP8fPmmjOQ==
"@rollup/rollup-linux-x64-gnu@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.50.0.tgz#8887c58bd51242754ae9c56947d6e883332dcc74"
integrity sha512-8PrJJA7/VU8ToHVEPu14FzuSAqVKyo5gg/J8xUerMbyNkWkO9j2ExBho/68RnJsMGNJq4zH114iAttgm7BZVkA==
"@rollup/rollup-linux-x64-musl@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.50.0.tgz#6403fda72a2b3b9fbbeeff93d14f1c45ef9775f3"
integrity sha512-SkE6YQp+CzpyOrbw7Oc4MgXFvTw2UIBElvAvLCo230pyxOLmYwRPwZ/L5lBe/VW/qT1ZgND9wJfOsdy0XptRvw==
"@rollup/rollup-openharmony-arm64@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.50.0.tgz#52809afccaff47e731b965a0c16e5686be819d5f"
integrity sha512-PZkNLPfvXeIOgJWA804zjSFH7fARBBCpCXxgkGDRjjAhRLOR8o0IGS01ykh5GYfod4c2yiiREuDM8iZ+pVsT+Q==
"@rollup/rollup-win32-arm64-msvc@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.50.0.tgz#23fe00ddbb40b27a3889bc1e99e6310d97353ad5"
integrity sha512-q7cIIdFvWQoaCbLDUyUc8YfR3Jh2xx3unO8Dn6/TTogKjfwrax9SyfmGGK6cQhKtjePI7jRfd7iRYcxYs93esg==
"@rollup/rollup-win32-ia32-msvc@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.50.0.tgz#520b588076b593413d919912d69dfd5728a1f305"
integrity sha512-XzNOVg/YnDOmFdDKcxxK410PrcbcqZkBmz+0FicpW5jtjKQxcW1BZJEQOF0NJa6JO7CZhett8GEtRN/wYLYJuw==
"@rollup/rollup-win32-x64-msvc@4.50.0":
version "4.50.0"
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.50.0.tgz#d81efe6a12060c7feddf9805e2a94c3ab0679f48"
integrity sha512-xMmiWRR8sp72Zqwjgtf3QbZfF1wdh8X2ABu3EaozvZcyHJeU0r+XAnXdKgs4cCAp6ORoYoCygipYP1mjmbjrsg==
"@types/estree@1.0.8":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.8.tgz#958b91c991b1867ced318bedea0e215ee050726e"
integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==
"@vitejs/plugin-vue@^5.2.1":
version "5.2.4"
resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-5.2.4.tgz#9e8a512eb174bfc2a333ba959bbf9de428d89ad8"
integrity sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA==
"@vue/compiler-core@3.5.20":
version "3.5.20"
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.5.20.tgz#ea100646460703c98117b88900aab4aa7e6f797e"
integrity sha512-8TWXUyiqFd3GmP4JTX9hbiTFRwYHgVL/vr3cqhr4YQ258+9FADwvj7golk2sWNGHR67QgmCZ8gz80nQcMokhwg==
dependencies:
"@babel/parser" "^7.28.3"
"@vue/shared" "3.5.20"
entities "^4.5.0"
estree-walker "^2.0.2"
source-map-js "^1.2.1"
"@vue/compiler-dom@3.5.20":
version "3.5.20"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.5.20.tgz#7eb0d4b761a48b93723cf264d27c1385b90dae6d"
integrity sha512-whB44M59XKjqUEYOMPYU0ijUV0G+4fdrHVKDe32abNdX/kJe1NUEMqsi4cwzXa9kyM9w5S8WqFsrfo1ogtBZGQ==
dependencies:
"@vue/compiler-core" "3.5.20"
"@vue/shared" "3.5.20"
"@vue/compiler-sfc@3.5.20":
version "3.5.20"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.5.20.tgz#7bf92fc65951fd888076f1c71128dda4507a9328"
integrity sha512-SFcxapQc0/feWiSBfkGsa1v4DOrnMAQSYuvDMpEaxbpH5dKbnEM5KobSNSgU+1MbHCl+9ftm7oQWxvwDB6iBfw==
dependencies:
"@babel/parser" "^7.28.3"
"@vue/compiler-core" "3.5.20"
"@vue/compiler-dom" "3.5.20"
"@vue/compiler-ssr" "3.5.20"
"@vue/shared" "3.5.20"
estree-walker "^2.0.2"
magic-string "^0.30.17"
postcss "^8.5.6"
source-map-js "^1.2.1"
"@vue/compiler-ssr@3.5.20":
version "3.5.20"
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.5.20.tgz#6cdae8662bf36974ffb4fe894ba08192f89d5660"
integrity sha512-RSl5XAMc5YFUXpDQi+UQDdVjH9FnEpLDHIALg5J0ITHxkEzJ8uQLlo7CIbjPYqmZtt6w0TsIPbo1izYXwDG7JA==
dependencies:
"@vue/compiler-dom" "3.5.20"
"@vue/shared" "3.5.20"
"@vue/devtools-api@^6.6.4":
version "6.6.4"
resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.6.4.tgz#cbe97fe0162b365edc1dba80e173f90492535343"
integrity sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==
"@vue/devtools-api@^7.7.2":
version "7.7.7"
resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-7.7.7.tgz#5ef5f55f60396220725a273548c0d7ee983d5d34"
integrity sha512-lwOnNBH2e7x1fIIbVT7yF5D+YWhqELm55/4ZKf45R9T8r9dE2AIOy8HKjfqzGsoTHFbWbr337O4E0A0QADnjBg==
dependencies:
"@vue/devtools-kit" "^7.7.7"
"@vue/devtools-kit@^7.7.7":
version "7.7.7"
resolved "https://registry.yarnpkg.com/@vue/devtools-kit/-/devtools-kit-7.7.7.tgz#41a64f9526e9363331c72405544df020ce2e3641"
integrity sha512-wgoZtxcTta65cnZ1Q6MbAfePVFxfM+gq0saaeytoph7nEa7yMXoi6sCPy4ufO111B9msnw0VOWjPEFCXuAKRHA==
dependencies:
"@vue/devtools-shared" "^7.7.7"
birpc "^2.3.0"
hookable "^5.5.3"
mitt "^3.0.1"
perfect-debounce "^1.0.0"
speakingurl "^14.0.1"
superjson "^2.2.2"
"@vue/devtools-shared@^7.7.7":
version "7.7.7"
resolved "https://registry.yarnpkg.com/@vue/devtools-shared/-/devtools-shared-7.7.7.tgz#ff14aa8c1262ebac8c0397d3b09f767cd489750c"
integrity sha512-+udSj47aRl5aKb0memBvcUG9koarqnxNM5yjuREvqwK6T3ap4mn3Zqqc17QrBFTqSMjr3HK1cvStEZpMDpfdyw==
dependencies:
rfdc "^1.4.1"
"@vue/reactivity@3.5.20":
version "3.5.20"
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.5.20.tgz#95b959380af1f49780247686467e8858641209bc"
integrity sha512-hS8l8x4cl1fmZpSQX/NXlqWKARqEsNmfkwOIYqtR2F616NGfsLUm0G6FQBK6uDKUCVyi1YOL8Xmt/RkZcd/jYQ==
dependencies:
"@vue/shared" "3.5.20"
"@vue/runtime-core@3.5.20":
version "3.5.20"
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.5.20.tgz#298eb83fc08887e21adf098a8c6ffeaa9e24c867"
integrity sha512-vyQRiH5uSZlOa+4I/t4Qw/SsD/gbth0SW2J7oMeVlMFMAmsG1rwDD6ok0VMmjXY3eI0iHNSSOBilEDW98PLRKw==
dependencies:
"@vue/reactivity" "3.5.20"
"@vue/shared" "3.5.20"
"@vue/runtime-dom@3.5.20":
version "3.5.20"
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.5.20.tgz#bbeb73b51745bf4065d3d42c9a2f18266c3269b7"
integrity sha512-KBHzPld/Djw3im0CQ7tGCpgRedryIn4CcAl047EhFTCCPT2xFf4e8j6WeKLgEEoqPSl9TYqShc3Q6tpWpz/Xgw==
dependencies:
"@vue/reactivity" "3.5.20"
"@vue/runtime-core" "3.5.20"
"@vue/shared" "3.5.20"
csstype "^3.1.3"
"@vue/server-renderer@3.5.20":
version "3.5.20"
resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.5.20.tgz#6e075ef0386d099e8ec09c4662b6e8af1c1a086f"
integrity sha512-HthAS0lZJDH21HFJBVNTtx+ULcIbJQRpjSVomVjfyPkFSpCwvsPTA+jIzOaUm3Hrqx36ozBHePztQFg6pj5aKg==
dependencies:
"@vue/compiler-ssr" "3.5.20"
"@vue/shared" "3.5.20"
"@vue/shared@3.5.20":
version "3.5.20"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.5.20.tgz#8740b370738c8c7e29e02fa9051cfe6d20114cb4"
integrity sha512-SoRGP596KU/ig6TfgkCMbXkr4YJ91n/QSdMuqeP5r3hVIYA3CPHUBCc7Skak0EAKV+5lL4KyIh61VA/pK1CIAA==
birpc@^2.3.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/birpc/-/birpc-2.5.0.tgz#3a014e54c17eceba0ce15738d484ea371dbf6527"
integrity sha512-VSWO/W6nNQdyP520F1mhf+Lc2f8pjGQOtoHHm7Ze8Go1kX7akpVIrtTa0fn+HB0QJEDVacl6aO08YE0PgXfdnQ==
bootstrap@^5.3.3:
version "5.3.8"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.3.8.tgz#6401a10057a22752d21f4e19055508980656aeed"
integrity sha512-HP1SZDqaLDPwsNiqRqi5NcP0SSXciX2s9E+RyqJIIqGo+vJeN5AJVM98CXmW/Wux0nQ5L7jeWUdplCEf0Ee+tg==
chart.js@^4.4.1:
version "4.5.0"
resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-4.5.0.tgz#11a1ef6c4befc514b1b0b613ebac226c4ad2740b"
integrity sha512-aYeC/jDgSEx8SHWZvANYMioYMZ2KX02W6f6uVfyteuCGcadDLcYVHdfdygsTQkQ4TKn5lghoojAsPj5pu0SnvQ==
dependencies:
"@kurkle/color" "^0.3.0"
chartjs-plugin-annotation@^3.0.1:
version "3.1.0"
resolved "https://registry.yarnpkg.com/chartjs-plugin-annotation/-/chartjs-plugin-annotation-3.1.0.tgz#0b3910862bde232344bbb6cf998633f71db7b093"
integrity sha512-EkAed6/ycXD/7n0ShrlT1T2Hm3acnbFhgkIEJLa0X+M6S16x0zwj1Fv4suv/2bwayCT3jGPdAtI9uLcAMToaQQ==
copy-anything@^3.0.2:
version "3.0.5"
resolved "https://registry.yarnpkg.com/copy-anything/-/copy-anything-3.0.5.tgz#2d92dce8c498f790fa7ad16b01a1ae5a45b020a0"
integrity sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==
dependencies:
is-what "^4.1.8"
csstype@^3.1.3:
version "3.1.3"
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81"
integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
entities@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48"
integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==
esbuild@^0.25.0:
version "0.25.9"
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.9.tgz#15ab8e39ae6cdc64c24ff8a2c0aef5b3fd9fa976"
integrity sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==
optionalDependencies:
"@esbuild/aix-ppc64" "0.25.9"
"@esbuild/android-arm" "0.25.9"
"@esbuild/android-arm64" "0.25.9"
"@esbuild/android-x64" "0.25.9"
"@esbuild/darwin-arm64" "0.25.9"
"@esbuild/darwin-x64" "0.25.9"
"@esbuild/freebsd-arm64" "0.25.9"
"@esbuild/freebsd-x64" "0.25.9"
"@esbuild/linux-arm" "0.25.9"
"@esbuild/linux-arm64" "0.25.9"
"@esbuild/linux-ia32" "0.25.9"
"@esbuild/linux-loong64" "0.25.9"
"@esbuild/linux-mips64el" "0.25.9"
"@esbuild/linux-ppc64" "0.25.9"
"@esbuild/linux-riscv64" "0.25.9"
"@esbuild/linux-s390x" "0.25.9"
"@esbuild/linux-x64" "0.25.9"
"@esbuild/netbsd-arm64" "0.25.9"
"@esbuild/netbsd-x64" "0.25.9"
"@esbuild/openbsd-arm64" "0.25.9"
"@esbuild/openbsd-x64" "0.25.9"
"@esbuild/openharmony-arm64" "0.25.9"
"@esbuild/sunos-x64" "0.25.9"
"@esbuild/win32-arm64" "0.25.9"
"@esbuild/win32-ia32" "0.25.9"
"@esbuild/win32-x64" "0.25.9"
estree-walker@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac"
integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==
fdir@^6.4.4:
version "6.5.0"
resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350"
integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==
fsevents@~2.3.2, fsevents@~2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
hookable@^5.5.3:
version "5.5.3"
resolved "https://registry.yarnpkg.com/hookable/-/hookable-5.5.3.tgz#6cfc358984a1ef991e2518cb9ed4a778bbd3215d"
integrity sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==
is-what@^4.1.8:
version "4.1.16"
resolved "https://registry.yarnpkg.com/is-what/-/is-what-4.1.16.tgz#1ad860a19da8b4895ad5495da3182ce2acdd7a6f"
integrity sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==
magic-string@^0.30.17:
version "0.30.18"
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.18.tgz#905bfbbc6aa5692703a93db26a9edcaa0007d2bb"
integrity sha512-yi8swmWbO17qHhwIBNeeZxTceJMeBvWJaId6dyvTSOwTipqeHhMhOrz6513r1sOKnpvQ7zkhlG8tPrpilwTxHQ==
dependencies:
"@jridgewell/sourcemap-codec" "^1.5.5"
mitt@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/mitt/-/mitt-3.0.1.tgz#ea36cf0cc30403601ae074c8f77b7092cdab36d1"
integrity sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==
nanoid@^3.3.11:
version "3.3.11"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.11.tgz#4f4f112cefbe303202f2199838128936266d185b"
integrity sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==
perfect-debounce@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/perfect-debounce/-/perfect-debounce-1.0.0.tgz#9c2e8bc30b169cc984a58b7d5b28049839591d2a"
integrity sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==
picocolors@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
picomatch@^4.0.2:
version "4.0.3"
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042"
integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==
pinia@^3.0.1:
version "3.0.3"
resolved "https://registry.yarnpkg.com/pinia/-/pinia-3.0.3.tgz#f412019bdeb2f45e85927b432803190343e12d89"
integrity sha512-ttXO/InUULUXkMHpTdp9Fj4hLpD/2AoJdmAbAeW2yu1iy1k+pkFekQXw5VpC0/5p51IOR/jDaDRfRWRnMMsGOA==
dependencies:
"@vue/devtools-api" "^7.7.2"
postcss@^8.5.3, postcss@^8.5.6:
version "8.5.6"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.5.6.tgz#2825006615a619b4f62a9e7426cc120b349a8f3c"
integrity sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==
dependencies:
nanoid "^3.3.11"
picocolors "^1.1.1"
source-map-js "^1.2.1"
rfdc@^1.4.1:
version "1.4.1"
resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.4.1.tgz#778f76c4fb731d93414e8f925fbecf64cce7f6ca"
integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==
rollup@^4.34.9:
version "4.50.0"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.50.0.tgz#6f237f598b7163ede33ce827af8534c929aaa186"
integrity sha512-/Zl4D8zPifNmyGzJS+3kVoyXeDeT/GrsJM94sACNg9RtUE0hrHa1bNPtRSrfHTMH5HjRzce6K7rlTh3Khiw+pw==
dependencies:
"@types/estree" "1.0.8"
optionalDependencies:
"@rollup/rollup-android-arm-eabi" "4.50.0"
"@rollup/rollup-android-arm64" "4.50.0"
"@rollup/rollup-darwin-arm64" "4.50.0"
"@rollup/rollup-darwin-x64" "4.50.0"
"@rollup/rollup-freebsd-arm64" "4.50.0"
"@rollup/rollup-freebsd-x64" "4.50.0"
"@rollup/rollup-linux-arm-gnueabihf" "4.50.0"
"@rollup/rollup-linux-arm-musleabihf" "4.50.0"
"@rollup/rollup-linux-arm64-gnu" "4.50.0"
"@rollup/rollup-linux-arm64-musl" "4.50.0"
"@rollup/rollup-linux-loongarch64-gnu" "4.50.0"
"@rollup/rollup-linux-ppc64-gnu" "4.50.0"
"@rollup/rollup-linux-riscv64-gnu" "4.50.0"
"@rollup/rollup-linux-riscv64-musl" "4.50.0"
"@rollup/rollup-linux-s390x-gnu" "4.50.0"
"@rollup/rollup-linux-x64-gnu" "4.50.0"
"@rollup/rollup-linux-x64-musl" "4.50.0"
"@rollup/rollup-openharmony-arm64" "4.50.0"
"@rollup/rollup-win32-arm64-msvc" "4.50.0"
"@rollup/rollup-win32-ia32-msvc" "4.50.0"
"@rollup/rollup-win32-x64-msvc" "4.50.0"
fsevents "~2.3.2"
source-map-js@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"
integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==
speakingurl@^14.0.1:
version "14.0.1"
resolved "https://registry.yarnpkg.com/speakingurl/-/speakingurl-14.0.1.tgz#f37ec8ddc4ab98e9600c1c9ec324a8c48d772a53"
integrity sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==
superjson@^2.2.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/superjson/-/superjson-2.2.2.tgz#9d52bf0bf6b5751a3c3472f1292e714782ba3173"
integrity sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==
dependencies:
copy-anything "^3.0.2"
tinyglobby@^0.2.13:
version "0.2.14"
resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.14.tgz#5280b0cf3f972b050e74ae88406c0a6a58f4079d"
integrity sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==
dependencies:
fdir "^6.4.4"
picomatch "^4.0.2"
vite@^6.2.0:
version "6.3.5"
resolved "https://registry.yarnpkg.com/vite/-/vite-6.3.5.tgz#fec73879013c9c0128c8d284504c6d19410d12a3"
integrity sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==
dependencies:
esbuild "^0.25.0"
fdir "^6.4.4"
picomatch "^4.0.2"
postcss "^8.5.3"
rollup "^4.34.9"
tinyglobby "^0.2.13"
optionalDependencies:
fsevents "~2.3.3"
vue-chartjs@^5.3.2:
version "5.3.2"
resolved "https://registry.yarnpkg.com/vue-chartjs/-/vue-chartjs-5.3.2.tgz#c0f2009af6b08845af158ddee9d0a68d9dae631b"
integrity sha512-NrkbRRoYshbXbWqJkTN6InoDVwVb90C0R7eAVgMWcB9dPikbruaOoTFjFYHE/+tNPdIe6qdLCDjfjPHQ0fw4jw==
vue-router@^4.2.5:
version "4.5.1"
resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.5.1.tgz#47bffe2d3a5479d2886a9a244547a853aa0abf69"
integrity sha512-ogAF3P97NPm8fJsE4by9dwSYtDwXIY1nFY9T6DyQnGHd1E2Da94w9JIolpe42LJGIl0DwOHBi8TcRPlPGwbTtw==
dependencies:
"@vue/devtools-api" "^6.6.4"
vue@^3.5.13:
version "3.5.20"
resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.20.tgz#855c3f4c0a1260abc894f729c3ffb6cb687d0d34"
integrity sha512-2sBz0x/wis5TkF1XZ2vH25zWq3G1bFEPOfkBcx2ikowmphoQsPH6X0V3mmPCXA2K1N/XGTnifVyDQP4GfDDeQw==
dependencies:
"@vue/compiler-dom" "3.5.20"
"@vue/compiler-sfc" "3.5.20"
"@vue/runtime-dom" "3.5.20"
"@vue/server-renderer" "3.5.20"
"@vue/shared" "3.5.20"