@xen-orchestra/web-core 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/charts/LinearChart.md +33 -0
- package/lib/components/charts/LinearChart.vue +77 -0
- package/lib/components/connection-status/VtsConnectionStatus.vue +33 -0
- package/lib/components/console/VtsActionsConsole.vue +26 -12
- package/lib/components/console/VtsRemoteConsole.vue +58 -16
- package/lib/components/data-table/VtsDataTable.vue +58 -0
- package/lib/components/menu/MenuItem.vue +9 -13
- package/lib/components/menu/MenuList.vue +15 -13
- package/lib/components/tab/TabItem.vue +3 -4
- package/lib/components/tab/TabList.vue +5 -9
- package/lib/components/table/ColumnTitle.vue +1 -1
- package/lib/components/ui/account-menu-button/UiAccountMenuButton.vue +2 -3
- package/lib/components/ui/button/UiButton.vue +11 -17
- package/lib/components/ui/checkbox/UiCheckbox.vue +11 -15
- package/lib/components/ui/dropdown-button/UiDropdownButton.vue +9 -13
- package/lib/components/ui/info/UiInfo.vue +9 -11
- package/lib/components/ui/input/UiInput.vue +1 -0
- package/lib/components/ui/label/UiLabel.vue +11 -19
- package/lib/components/ui/radio-button/UiRadioButton.vue +12 -15
- package/lib/components/ui/table-pagination/PaginationButton.vue +33 -0
- package/lib/components/ui/table-pagination/UiTablePagination.vue +178 -0
- package/lib/components/ui/toggle/UiToggle.vue +6 -10
- package/lib/composables/chart-theme.composable.ts +382 -0
- package/lib/composables/disabled.composable.ts +15 -0
- package/lib/composables/route-query/types.ts +3 -2
- package/lib/i18n.ts +53 -0
- package/lib/layouts/CoreLayout.vue +20 -13
- package/lib/locales/en.json +6 -0
- package/lib/locales/es.json +97 -0
- package/lib/locales/fr.json +6 -0
- package/lib/types/chart.ts +9 -0
- package/lib/utils/injection-keys.util.ts +5 -0
- package/package.json +7 -2
- package/lib/context.ts +0 -10
package/lib/locales/fr.json
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"core.quick-actions": "Actions rapides",
|
|
22
22
|
|
|
23
23
|
"core.search": "Rechercher",
|
|
24
|
+
"core.show-by": "Afficher par",
|
|
24
25
|
|
|
25
26
|
"core.query-search-bar.label": "Moteur de recherche",
|
|
26
27
|
"core.query-search-bar.placeholder": "Écrivez votre requête…",
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"core.select.all": "Tout sélectionner",
|
|
30
31
|
"core.select.none": "Tout désélectionner",
|
|
31
32
|
"core.select.unselect": "Tout désélectionner",
|
|
33
|
+
"core.select.n-object-of": "{from} - {to} de {total} objets",
|
|
32
34
|
"core.select.n-selected-of": "{count} objet sélectionné sur {total} | {count} objet sélectionné sur {total} | {count} objets sélectionnés sur {total}",
|
|
33
35
|
"core.sidebar.close": "Fermer la barre latérale",
|
|
34
36
|
"core.sidebar.lock": "Verrouiller la barre latérale",
|
|
@@ -43,7 +45,10 @@
|
|
|
43
45
|
"dark-mode.auto": "Mode sombre automatique",
|
|
44
46
|
|
|
45
47
|
"access-forum": "Accès au forum",
|
|
48
|
+
"connected": "Connecté",
|
|
46
49
|
"dashboard": "Tableau de bord",
|
|
50
|
+
"disconnected": "Déconnecté",
|
|
51
|
+
"disconnected-from-physical-device": "Déconnecté de l'appareil physique",
|
|
47
52
|
"documentation-name": "Documentation {name}",
|
|
48
53
|
"error-no-data": "Erreur, impossible de collecter les données.",
|
|
49
54
|
"exit-fullscreen": "Quitter le plein écran",
|
|
@@ -61,6 +66,7 @@
|
|
|
61
66
|
"open-console-in-new-tab": "Ouvrir la console dans un nouvel onglet",
|
|
62
67
|
"other": "Autre",
|
|
63
68
|
"page-not-found": "Cette page est introuvable…",
|
|
69
|
+
"partially-connected": "Partiellement connecté",
|
|
64
70
|
"patches": "Patches",
|
|
65
71
|
"power-on-vm-for-console": "Allumez votre VM pour accéder à sa console",
|
|
66
72
|
"power-on-host-for-console": "Allumez votre hôte pour accéder à sa console",
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import type { ValueFormatter } from '@core/types/chart'
|
|
1
2
|
import type { ComputedRef, InjectionKey, Ref } from 'vue'
|
|
2
3
|
|
|
4
|
+
export const IK_CHART_VALUE_FORMATTER = Symbol('IK_CHART_VALUE_FORMATTER') as InjectionKey<ComputedRef<ValueFormatter>>
|
|
5
|
+
|
|
3
6
|
export const IK_TREE_ITEM_HAS_CHILDREN = Symbol('IK_TREE_ITEM_HAS_CHILDREN') as InjectionKey<Ref<boolean>>
|
|
4
7
|
|
|
5
8
|
export const IK_TREE_ITEM_TOGGLE = Symbol('IK_TREE_ITEM_TOGGLE') as InjectionKey<(force?: boolean) => void>
|
|
@@ -15,3 +18,5 @@ export const IK_MENU_HORIZONTAL = Symbol('IK_MENU_HORIZONTAL') as InjectionKey<C
|
|
|
15
18
|
export const IK_CLOSE_MENU = Symbol('IK_CLOSE_MENU') as InjectionKey<() => void>
|
|
16
19
|
|
|
17
20
|
export const IK_MENU_TELEPORTED = Symbol('IK_MENU_TELEPORTED') as InjectionKey<boolean>
|
|
21
|
+
|
|
22
|
+
export const IK_DISABLED = Symbol('IK_DISABLED') as InjectionKey<ComputedRef<boolean>>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xen-orchestra/web-core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.11.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"exports": {
|
|
7
7
|
"./*": {
|
|
@@ -17,11 +17,16 @@
|
|
|
17
17
|
"@fortawesome/free-solid-svg-icons": "^6.5.1",
|
|
18
18
|
"@fortawesome/vue-fontawesome": "^3.0.5",
|
|
19
19
|
"@novnc/novnc": "^1.4.0",
|
|
20
|
+
"@types/d3-time-format": "^4.0.3",
|
|
20
21
|
"@vueuse/core": "^10.7.1",
|
|
22
|
+
"@vueuse/math": "^10.7.1",
|
|
21
23
|
"@vueuse/shared": "^10.7.1",
|
|
24
|
+
"d3-time-format": "^4.1.0",
|
|
25
|
+
"echarts": "^5.4.3",
|
|
22
26
|
"iterable-backoff": "^0.1.0",
|
|
23
27
|
"lodash-es": "^4.17.21",
|
|
24
|
-
"placement.js": "^1.0.0-beta.5"
|
|
28
|
+
"placement.js": "^1.0.0-beta.5",
|
|
29
|
+
"vue-echarts": "^6.6.8"
|
|
25
30
|
},
|
|
26
31
|
"peerDependencies": {
|
|
27
32
|
"pinia": "^2.2.6",
|
package/lib/context.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { createContext } from '@core/composables/context.composable'
|
|
2
|
-
import type { Color } from '@core/types/color.type'
|
|
3
|
-
import { computed } from 'vue'
|
|
4
|
-
|
|
5
|
-
export const DisabledContext = createContext(false)
|
|
6
|
-
|
|
7
|
-
export const ColorContext = createContext('info' as Color, (color, previousColor) => ({
|
|
8
|
-
name: color,
|
|
9
|
-
colorContextClass: computed(() => (previousColor.value === color.value ? undefined : `color-context-${color.value}`)),
|
|
10
|
-
}))
|