@cobaltcore-dev/aurora 0.2.2 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/client/AuroraApp.d.ts +10 -0
  2. package/dist/client/{ContentHeader-DtBiIwRY.mjs → ContentHeader-BXZoN3B9.mjs} +15 -15
  3. package/dist/client/{ContentHeader-DtBiIwRY.mjs.map → ContentHeader-BXZoN3B9.mjs.map} +1 -1
  4. package/dist/client/{DeleteFlavorModal-rmuYIafD.mjs → DeleteFlavorModal-BusYn32r.mjs} +148 -148
  5. package/dist/client/{DeleteFlavorModal-rmuYIafD.mjs.map → DeleteFlavorModal-BusYn32r.mjs.map} +1 -1
  6. package/dist/client/{EditSecurityGroupModal-B7Sz9puM.mjs → EditSecurityGroupModal-Dl6m7wUe.mjs} +16 -16
  7. package/dist/client/{EditSecurityGroupModal-B7Sz9puM.mjs.map → EditSecurityGroupModal-Dl6m7wUe.mjs.map} +1 -1
  8. package/dist/client/FiltersInput-BgNaHFBt.mjs +81 -0
  9. package/dist/client/FiltersInput-BgNaHFBt.mjs.map +1 -0
  10. package/dist/client/{FloatingIpActionModals-CfRJiZqD.mjs → FloatingIpActionModals-By2hXR9m.mjs} +51 -51
  11. package/dist/client/{FloatingIpActionModals-CfRJiZqD.mjs.map → FloatingIpActionModals-By2hXR9m.mjs.map} +1 -1
  12. package/dist/client/{ImageToastNotifications-Cw30RXsw.mjs → ImageToastNotifications-fHI8jB2j.mjs} +369 -369
  13. package/dist/client/{ImageToastNotifications-Cw30RXsw.mjs.map → ImageToastNotifications-fHI8jB2j.mjs.map} +1 -1
  14. package/dist/client/ListToolbar-BvtCo8dk.mjs +129 -0
  15. package/dist/client/ListToolbar-BvtCo8dk.mjs.map +1 -0
  16. package/dist/client/{RouteError-Cyto623-.mjs → RouteError-pDEWC_k7.mjs} +2 -2
  17. package/dist/client/{RouteError-Cyto623-.mjs.map → RouteError-pDEWC_k7.mjs.map} +1 -1
  18. package/dist/client/SortInput-DXWSqSny.mjs +34 -0
  19. package/dist/client/SortInput-DXWSqSny.mjs.map +1 -0
  20. package/dist/client/{_flavorId-B-1fYadl.mjs → _flavorId-BRonXvCo.mjs} +46 -46
  21. package/dist/client/_flavorId-BRonXvCo.mjs.map +1 -0
  22. package/dist/client/{_flavorId-BYfIHIV_.mjs → _flavorId-BoNcxYmF.mjs} +10 -10
  23. package/dist/client/_flavorId-BoNcxYmF.mjs.map +1 -0
  24. package/dist/client/_floatingIpId-BpUfL8Im2.mjs +228 -0
  25. package/dist/client/_floatingIpId-BpUfL8Im2.mjs.map +1 -0
  26. package/dist/client/{_floatingIpId-IrnN-ozB.mjs → _floatingIpId-CwHiXazi.mjs} +2 -2
  27. package/dist/client/{_floatingIpId-IrnN-ozB.mjs.map → _floatingIpId-CwHiXazi.mjs.map} +1 -1
  28. package/dist/client/{_imageId-Tx_9bqEc.mjs → _imageId-CdOOJjw0.mjs} +158 -158
  29. package/dist/client/_imageId-CdOOJjw0.mjs.map +1 -0
  30. package/dist/client/{_pcaId-CFuKY82d.mjs → _pcaId-CwlH1Kvl.mjs} +132 -132
  31. package/dist/client/{_pcaId-CFuKY82d.mjs.map → _pcaId-CwlH1Kvl.mjs.map} +1 -1
  32. package/dist/client/{_pcaId-Bck7S7gJ.mjs → _pcaId-D1ZEaCdp.mjs} +2 -2
  33. package/dist/client/{_pcaId-Bck7S7gJ.mjs.map → _pcaId-D1ZEaCdp.mjs.map} +1 -1
  34. package/dist/client/_projectId-D1gGribM.mjs +316 -0
  35. package/dist/client/_projectId-D1gGribM.mjs.map +1 -0
  36. package/dist/client/{_projectId-PSpuCKO7.mjs → _projectId-DhLpIalx.mjs} +9 -9
  37. package/dist/client/{_projectId-PSpuCKO7.mjs.map → _projectId-DhLpIalx.mjs.map} +1 -1
  38. package/dist/client/{_projectId-B1VjDd0Z.mjs → _projectId-Dj_InfSc.mjs} +3 -3
  39. package/dist/client/{_projectId-B1VjDd0Z.mjs.map → _projectId-Dj_InfSc.mjs.map} +1 -1
  40. package/dist/client/{_projectId-Pxp-RXK4.mjs → _projectId-OW2xkK43.mjs} +2 -2
  41. package/dist/client/{_projectId-Pxp-RXK4.mjs.map → _projectId-OW2xkK43.mjs.map} +1 -1
  42. package/dist/client/{_securityGroupId-VV2lUcGQ.mjs → _securityGroupId-B0llWH9A.mjs} +2 -2
  43. package/dist/client/{_securityGroupId-VV2lUcGQ.mjs.map → _securityGroupId-B0llWH9A.mjs.map} +1 -1
  44. package/dist/client/{_securityGroupId-Dqi6ddw4.mjs → _securityGroupId-gbUnd5Wv.mjs} +363 -363
  45. package/dist/client/{_securityGroupId-Dqi6ddw4.mjs.map → _securityGroupId-gbUnd5Wv.mjs.map} +1 -1
  46. package/dist/client/{about-B2AzqxFI.mjs → about-DCe6LsKz.mjs} +8 -8
  47. package/dist/client/{about-B2AzqxFI.mjs.map → about-DCe6LsKz.mjs.map} +1 -1
  48. package/dist/client/{build-Cf7iWbpH.mjs → build-BJDfnAyi.mjs} +1573 -1564
  49. package/dist/client/{build-Cf7iWbpH.mjs.map → build-BJDfnAyi.mjs.map} +1 -1
  50. package/dist/client/{buildFilterParams-ngVK3ybs.mjs → buildFilterParams-By33pG59.mjs} +1 -1
  51. package/dist/client/{buildFilterParams-ngVK3ybs.mjs.map → buildFilterParams-By33pG59.mjs.map} +1 -1
  52. package/dist/client/{constants-CCgR6fKI.mjs → constants-CAjjRTo_.mjs} +9 -9
  53. package/dist/client/{constants-CCgR6fKI.mjs.map → constants-CAjjRTo_.mjs.map} +1 -1
  54. package/dist/client/{containers-BWERuY0O.mjs → containers-BuXUVb1N.mjs} +811 -811
  55. package/dist/client/{containers-BWERuY0O.mjs.map → containers-BuXUVb1N.mjs.map} +1 -1
  56. package/dist/client/{containers-Cs5vOeR2.mjs → containers-Ca5V1EBS.mjs} +1 -1
  57. package/dist/client/containers-Ca5V1EBS.mjs.map +1 -0
  58. package/dist/client/{containers-DovytjVP.mjs → containers-NW7RnHTI.mjs} +6 -6
  59. package/dist/client/containers-NW7RnHTI.mjs.map +1 -0
  60. package/dist/client/flavors-BXPYAFyQ.mjs.map +1 -1
  61. package/dist/client/{flavors-CUiALHcB.mjs → flavors-D8oElC2K.mjs} +2 -2
  62. package/dist/client/{flavors-CUiALHcB.mjs.map → flavors-D8oElC2K.mjs.map} +1 -1
  63. package/dist/client/flavors-qvgPSI7J.mjs +613 -0
  64. package/dist/client/flavors-qvgPSI7J.mjs.map +1 -0
  65. package/dist/client/{floatingips-BrjDiY2t.mjs → floatingips-Be3zLoaD.mjs} +126 -126
  66. package/dist/client/{floatingips-BrjDiY2t.mjs.map → floatingips-Be3zLoaD.mjs.map} +1 -1
  67. package/dist/client/{images-BZP3pBqj.mjs → images-BiEBENaj.mjs} +2 -2
  68. package/dist/client/{images-BZP3pBqj.mjs.map → images-BiEBENaj.mjs.map} +1 -1
  69. package/dist/client/images-CCYBAphP2.mjs +1900 -0
  70. package/dist/client/images-CCYBAphP2.mjs.map +1 -0
  71. package/dist/client/images-DM9I8G0p.mjs.map +1 -1
  72. package/dist/client/index.d.ts +2 -1
  73. package/dist/client/index.js +410 -412
  74. package/dist/client/index.js.map +1 -1
  75. package/dist/client/{network-SCVadZsv.mjs → network-nbSbl0X0.mjs} +1 -1
  76. package/dist/client/{network-SCVadZsv.mjs.map → network-nbSbl0X0.mjs.map} +1 -1
  77. package/dist/client/{objects-D4zBka5e.mjs → objects-CU5ws07o.mjs} +6 -6
  78. package/dist/client/objects-CU5ws07o.mjs.map +1 -0
  79. package/dist/client/objects-FXN0VWLI.mjs +4760 -0
  80. package/dist/client/{objects-Cw4Vu01M.mjs.map → objects-FXN0VWLI.mjs.map} +1 -1
  81. package/dist/client/{objects-B4yrYf_a.mjs → objects-GmuIOaHd.mjs} +1 -1
  82. package/dist/client/objects-GmuIOaHd.mjs.map +1 -0
  83. package/dist/client/{overview-BtIXpYBo.mjs → overview-B3gdnWTG.mjs} +2 -2
  84. package/dist/client/{overview-BtIXpYBo.mjs.map → overview-B3gdnWTG.mjs.map} +1 -1
  85. package/dist/client/{overview-2J54-loz.mjs → overview-DzYBiNfD.mjs} +2 -2
  86. package/dist/client/{overview-2J54-loz.mjs.map → overview-DzYBiNfD.mjs.map} +1 -1
  87. package/dist/client/{overview-D0AAvsmL.mjs → overview-EhfPY8Je.mjs} +2 -2
  88. package/dist/client/{overview-D0AAvsmL.mjs.map → overview-EhfPY8Je.mjs.map} +1 -1
  89. package/dist/client/{overview-BnmukbFh.mjs → overview-XueZI4LQ.mjs} +7 -7
  90. package/dist/client/{overview-BnmukbFh.mjs.map → overview-XueZI4LQ.mjs.map} +1 -1
  91. package/dist/client/{pca-BqZycwCu.mjs → pca-DSM71LhW.mjs} +2 -2
  92. package/dist/client/{pca-BqZycwCu.mjs.map → pca-DSM71LhW.mjs.map} +1 -1
  93. package/dist/client/{pca-V2aaOxZA.mjs → pca-x9if8xU-.mjs} +59 -59
  94. package/dist/client/{pca-V2aaOxZA.mjs.map → pca-x9if8xU-.mjs.map} +1 -1
  95. package/dist/client/{projects-jyIHL6DE.mjs → projects-B6BPo2Ar.mjs} +2 -2
  96. package/dist/client/projects-B6BPo2Ar.mjs.map +1 -0
  97. package/dist/client/{projects-BsN4bvU2.mjs → projects-BilrmHLu.mjs} +1 -1
  98. package/dist/client/projects-BilrmHLu.mjs.map +1 -0
  99. package/dist/client/{projects-0feOw_b6.mjs → projects-Bt0XptpG.mjs} +2 -2
  100. package/dist/client/projects-Bt0XptpG.mjs.map +1 -0
  101. package/dist/client/projects-CnmZIB2Q.mjs +95 -0
  102. package/dist/client/projects-CnmZIB2Q.mjs.map +1 -0
  103. package/dist/client/{securitygroups-B4MkSBtI.mjs → securitygroups-BdzieS7Z.mjs} +121 -121
  104. package/dist/client/{securitygroups-B4MkSBtI.mjs.map → securitygroups-BdzieS7Z.mjs.map} +1 -1
  105. package/dist/client/{useListWithFiltering-CEDh1LO-.mjs → useListWithFiltering-CqQbAjEe.mjs} +1 -1
  106. package/dist/client/{useListWithFiltering-CEDh1LO-.mjs.map → useListWithFiltering-CqQbAjEe.mjs.map} +1 -1
  107. package/package.json +2 -2
  108. package/dist/client/ListToolbar-DuazvsAu.mjs +0 -223
  109. package/dist/client/ListToolbar-DuazvsAu.mjs.map +0 -1
  110. package/dist/client/_flavorId-B-1fYadl.mjs.map +0 -1
  111. package/dist/client/_flavorId-BYfIHIV_.mjs.map +0 -1
  112. package/dist/client/_floatingIpId-FQ5P2qMV.mjs +0 -228
  113. package/dist/client/_floatingIpId-FQ5P2qMV.mjs.map +0 -1
  114. package/dist/client/_imageId-Tx_9bqEc.mjs.map +0 -1
  115. package/dist/client/_projectId-Bs4W9hos.mjs +0 -283
  116. package/dist/client/_projectId-Bs4W9hos.mjs.map +0 -1
  117. package/dist/client/containers-Cs5vOeR2.mjs.map +0 -1
  118. package/dist/client/containers-DovytjVP.mjs.map +0 -1
  119. package/dist/client/flavors-Bovz-I2U.mjs +0 -565
  120. package/dist/client/flavors-Bovz-I2U.mjs.map +0 -1
  121. package/dist/client/images-DaaCUXMI.mjs +0 -1797
  122. package/dist/client/images-DaaCUXMI.mjs.map +0 -1
  123. package/dist/client/objects-B4yrYf_a.mjs.map +0 -1
  124. package/dist/client/objects-Cw4Vu01M.mjs +0 -4760
  125. package/dist/client/objects-D4zBka5e.mjs.map +0 -1
  126. package/dist/client/projects-0feOw_b6.mjs.map +0 -1
  127. package/dist/client/projects-BsN4bvU2.mjs.map +0 -1
  128. package/dist/client/projects-C1IYOvFQ.mjs +0 -144
  129. package/dist/client/projects-C1IYOvFQ.mjs.map +0 -1
  130. package/dist/client/projects-jyIHL6DE.mjs.map +0 -1
@@ -1,46 +1,46 @@
1
- import { $ as e, A as t, K as n, L as r, N as i, U as a, V as o, h as s, it as c, l, w as u, z as d } from "./build-Cf7iWbpH.mjs";
1
+ import { B as e, G as t, I as n, M as r, Q as i, T as a, U as o, c as s, h as c, nt as l, ot as u, q as d } from "./build-BJDfnAyi.mjs";
2
2
  import { t as f } from "./useErrorTranslation-TZVwIAzq.mjs";
3
3
  import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
4
4
  import g, { Suspense as _, startTransition as v, use as y, useEffect as b, useMemo as x, useState as S } from "react";
5
5
  import { Trans as C, useLingui as w } from "@lingui/react";
6
6
  //#region src/client/routes/_auth/projects/$projectId/compute/-components/Flavors/-components/SpecFormRow.tsx
7
- var T = ({ specKey: e, value: n, errors: r, isLoading: a, onKeyChange: o, onValueChange: c, onSave: d, onCancel: f }) => {
7
+ var T = ({ specKey: e, value: t, errors: i, isLoading: o, onKeyChange: l, onValueChange: u, onSave: d, onCancel: f }) => {
8
8
  let { i18n: p, _: g } = w();
9
- return /* @__PURE__ */ h(i, { children: [
10
- /* @__PURE__ */ m(t, {
9
+ return /* @__PURE__ */ h(n, { children: [
10
+ /* @__PURE__ */ m(r, {
11
11
  className: "pl-0",
12
- children: /* @__PURE__ */ m(u, {
12
+ children: /* @__PURE__ */ m(a, {
13
13
  value: e,
14
- onChange: (e) => o(e.target.value),
14
+ onChange: (e) => l(e.target.value),
15
15
  placeholder: p._({ id: "wPrtGF" }),
16
- errortext: r.key,
16
+ errortext: i.key,
17
17
  required: !0
18
18
  })
19
19
  }),
20
- /* @__PURE__ */ m(t, {
20
+ /* @__PURE__ */ m(r, {
21
21
  className: "pl-0",
22
- children: /* @__PURE__ */ m(u, {
23
- value: n,
24
- onChange: (e) => c(e.target.value),
22
+ children: /* @__PURE__ */ m(a, {
23
+ value: t,
24
+ onChange: (e) => u(e.target.value),
25
25
  placeholder: p._({ id: "pubQie" }),
26
- errortext: r.value,
26
+ errortext: i.value,
27
27
  required: !0
28
28
  })
29
29
  }),
30
- /* @__PURE__ */ m(t, { children: /* @__PURE__ */ h(s, { children: [/* @__PURE__ */ m(l, {
30
+ /* @__PURE__ */ m(r, { children: /* @__PURE__ */ h(c, { children: [/* @__PURE__ */ m(s, {
31
31
  icon: "check",
32
32
  onClick: d,
33
33
  variant: "primary",
34
34
  title: p._({ id: "TyODHt" }),
35
- disabled: a
36
- }), /* @__PURE__ */ m(l, {
35
+ disabled: o
36
+ }), /* @__PURE__ */ m(s, {
37
37
  icon: "cancel",
38
38
  onClick: f,
39
39
  title: p._({ id: "dEgA5A" }),
40
- disabled: a
40
+ disabled: o
41
41
  })] }) })
42
42
  ] });
43
- }, E = ({ specKey: r, value: a, isDeleting: o, onDelete: s, canDelete: c }) => {
43
+ }, E = ({ specKey: e, value: t, isDeleting: a, onDelete: o, canDelete: c }) => {
44
44
  let { i18n: u, _: d } = w(), [f, g] = S(!1);
45
45
  return b(() => {
46
46
  if (f) {
@@ -49,39 +49,39 @@ var T = ({ specKey: e, value: n, errors: r, isLoading: a, onKeyChange: o, onValu
49
49
  }, 3e3);
50
50
  return () => clearTimeout(e);
51
51
  }
52
- }, [f]), /* @__PURE__ */ h(i, { children: [
53
- /* @__PURE__ */ m(t, { children: r }),
54
- /* @__PURE__ */ m(t, { children: a }),
55
- /* @__PURE__ */ m(t, { children: o ? /* @__PURE__ */ m(e, {
52
+ }, [f]), /* @__PURE__ */ h(n, { children: [
53
+ /* @__PURE__ */ m(r, { children: e }),
54
+ /* @__PURE__ */ m(r, { children: t }),
55
+ /* @__PURE__ */ m(r, { children: a ? /* @__PURE__ */ m(l, {
56
56
  distribution: "center",
57
57
  alignment: "center",
58
- children: /* @__PURE__ */ m(n, { variant: "primary" })
59
- }) : /* @__PURE__ */ m(e, {
58
+ children: /* @__PURE__ */ m(i, { variant: "primary" })
59
+ }) : /* @__PURE__ */ m(l, {
60
60
  distribution: "end",
61
61
  alignment: "end",
62
- children: c ? f ? /* @__PURE__ */ m(l, {
62
+ children: c ? f ? /* @__PURE__ */ m(s, {
63
63
  variant: "primary-danger",
64
64
  onClick: () => {
65
- g(!1), s();
65
+ g(!1), o();
66
66
  },
67
67
  title: u._({ id: "cnGeoo" }),
68
68
  "aria-label": u._({ id: "cnGeoo" }),
69
69
  "data-testid": "confirm-deletion",
70
- disabled: o,
70
+ disabled: a,
71
71
  children: u._({ id: "cnGeoo" })
72
- }) : /* @__PURE__ */ m(l, {
72
+ }) : /* @__PURE__ */ m(s, {
73
73
  icon: "deleteForever",
74
74
  onClick: () => g(!0),
75
75
  title: u._({
76
76
  id: "2G6hLq",
77
- values: { specKey: r }
77
+ values: { specKey: e }
78
78
  }),
79
79
  "aria-label": u._({
80
80
  id: "2G6hLq",
81
- values: { specKey: r }
81
+ values: { specKey: e }
82
82
  }),
83
- "data-testid": `delete-${r}`,
84
- disabled: o
83
+ "data-testid": `delete-${e}`,
84
+ disabled: a
85
85
  }) : /* @__PURE__ */ m(p, {})
86
86
  }) })
87
87
  ] });
@@ -96,17 +96,17 @@ var T = ({ specKey: e, value: n, errors: r, isLoading: a, onKeyChange: o, onValu
96
96
  flavorId: n
97
97
  });
98
98
  function k() {
99
- return /* @__PURE__ */ m(i, { children: /* @__PURE__ */ m(t, {
99
+ return /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(r, {
100
100
  colSpan: 3,
101
- children: /* @__PURE__ */ m(e, {
101
+ children: /* @__PURE__ */ m(l, {
102
102
  distribution: "center",
103
103
  alignment: "center",
104
- children: /* @__PURE__ */ m(n, { variant: "primary" })
104
+ children: /* @__PURE__ */ m(i, { variant: "primary" })
105
105
  })
106
106
  }) });
107
107
  }
108
- function A({ permissionsPromise: n, extraSpecsPromise: r, client: a, project: s, flavor: c, onSpecsUpdate: u, isAddingSpec: g, setIsAddingSpec: _, setMessage: v }) {
109
- let { i18n: b, _: x } = w(), { translateError: C } = f(), D = y(n), [O, k] = S(y(r)), [A, j] = S(""), [M, N] = S(""), [P, F] = S({}), [I, L] = S(null), R = () => {
108
+ function A({ permissionsPromise: e, extraSpecsPromise: i, client: a, project: c, flavor: u, onSpecsUpdate: d, isAddingSpec: g, setIsAddingSpec: _, setMessage: v }) {
109
+ let { i18n: b, _: x } = w(), { translateError: C } = f(), D = y(e), [O, k] = S(y(i)), [A, j] = S(""), [M, N] = S(""), [P, F] = S({}), [I, L] = S(null), R = () => {
110
110
  let e = A.trim(), t = M.trim(), n = {};
111
111
  return e ? Object.keys(O).includes(e) && (n.key = "Key already exists.") : n.key = "Key is required.", t || (n.value = "Value is required."), F(n), Object.keys(n).length === 0;
112
112
  }, z = () => {
@@ -122,15 +122,15 @@ function A({ permissionsPromise: n, extraSpecsPromise: r, client: a, project: s,
122
122
  try {
123
123
  let e = A.trim(), t = M.trim();
124
124
  await a.compute.createExtraSpecs.mutate({
125
- project_id: s,
126
- flavorId: c.id,
125
+ project_id: c,
126
+ flavorId: u.id,
127
127
  extra_specs: { [e]: t }
128
128
  });
129
129
  let n = {
130
130
  [e]: t,
131
131
  ...O
132
132
  };
133
- k(n), u(n), v({
133
+ k(n), d(n), v({
134
134
  text: b._({
135
135
  id: "2mbisJ",
136
136
  values: { trimmedKey: e }
@@ -146,12 +146,12 @@ function A({ permissionsPromise: n, extraSpecsPromise: r, client: a, project: s,
146
146
  }, V = async (e) => {
147
147
  try {
148
148
  L(e), await a.compute.deleteExtraSpec.mutate({
149
- project_id: s,
150
- flavorId: c.id,
149
+ project_id: c,
150
+ flavorId: u.id,
151
151
  key: e
152
152
  });
153
153
  let t = { ...O };
154
- delete t[e], k(t), u(t), v({
154
+ delete t[e], k(t), d(t), v({
155
155
  text: b._({
156
156
  id: "7UlHhT",
157
157
  values: { keyToDelete: e }
@@ -177,23 +177,23 @@ function A({ permissionsPromise: n, extraSpecsPromise: r, client: a, project: s,
177
177
  value: void 0
178
178
  }));
179
179
  }, W = Object.keys(O).length === 0 && !g;
180
- return /* @__PURE__ */ h(p, { children: [D.canCreate && /* @__PURE__ */ m(e, {
180
+ return /* @__PURE__ */ h(p, { children: [D.canCreate && /* @__PURE__ */ m(l, {
181
181
  direction: "horizontal",
182
182
  className: "bg-theme-background-lvl-1 justify-end p-2",
183
- children: /* @__PURE__ */ m(l, {
183
+ children: /* @__PURE__ */ m(s, {
184
184
  label: b._({ id: "u7En0V" }),
185
185
  "data-testid": "addExtraButton",
186
186
  onClick: () => _(!0),
187
187
  variant: "primary",
188
188
  disabled: g
189
189
  })
190
- }), /* @__PURE__ */ h(d, {
190
+ }), /* @__PURE__ */ h(o, {
191
191
  columns: 3,
192
192
  children: [
193
- /* @__PURE__ */ h(i, { children: [
194
- /* @__PURE__ */ m(o, { children: b._({ id: "7sMeHQ" }) }),
195
- /* @__PURE__ */ m(o, { children: b._({ id: "wMHvYH" }) }),
196
- /* @__PURE__ */ m(o, {})
193
+ /* @__PURE__ */ h(n, { children: [
194
+ /* @__PURE__ */ m(t, { children: b._({ id: "7sMeHQ" }) }),
195
+ /* @__PURE__ */ m(t, { children: b._({ id: "wMHvYH" }) }),
196
+ /* @__PURE__ */ m(t, {})
197
197
  ] }),
198
198
  g && /* @__PURE__ */ m(T, {
199
199
  specKey: A,
@@ -214,7 +214,7 @@ function A({ permissionsPromise: n, extraSpecsPromise: r, client: a, project: s,
214
214
  onDelete: () => V(e),
215
215
  canDelete: D.canDelete
216
216
  }, e)),
217
- W && /* @__PURE__ */ m(i, { children: /* @__PURE__ */ m(t, {
217
+ W && /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(r, {
218
218
  colSpan: 3,
219
219
  className: "text-theme-default py-4 text-center",
220
220
  children: b._({ id: "S3olSf" })
@@ -223,7 +223,7 @@ function A({ permissionsPromise: n, extraSpecsPromise: r, client: a, project: s,
223
223
  })] });
224
224
  }
225
225
  var j = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
226
- let { i18n: o, _: s } = w(), [l, u] = S(null), [d, f] = S(!1), [p, y] = S(null), b = g.useMemo(() => t ? D(e, r) : null, [
226
+ let { i18n: a, _: o } = w(), [s, c] = S(null), [l, f] = S(!1), [p, y] = S(null), b = g.useMemo(() => t ? D(e, r) : null, [
227
227
  e,
228
228
  r,
229
229
  t
@@ -237,17 +237,17 @@ var j = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
237
237
  i?.id,
238
238
  e,
239
239
  r
240
- ]), !t || !i || !b || !p ? null : /* @__PURE__ */ m(c, {
240
+ ]), !t || !i || !b || !p ? null : /* @__PURE__ */ m(u, {
241
241
  onCancel: () => {
242
- u(null), f(!1), y(null), n();
242
+ c(null), f(!1), y(null), n();
243
243
  },
244
- title: o._({ id: "SIfYq6" }),
244
+ title: a._({ id: "SIfYq6" }),
245
245
  open: t,
246
246
  size: "large",
247
- children: /* @__PURE__ */ h("div", { children: [l && /* @__PURE__ */ m(a, {
248
- onDismiss: () => u(null),
249
- text: l.text,
250
- variant: l.type,
247
+ children: /* @__PURE__ */ h("div", { children: [s && /* @__PURE__ */ m(d, {
248
+ onDismiss: () => c(null),
249
+ text: s.text,
250
+ variant: s.type,
251
251
  className: "mb-4"
252
252
  }), /* @__PURE__ */ m(_, {
253
253
  fallback: /* @__PURE__ */ m(k, {}),
@@ -262,41 +262,41 @@ var j = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
262
262
  y(Promise.resolve(e));
263
263
  });
264
264
  },
265
- isAddingSpec: d,
265
+ isAddingSpec: l,
266
266
  setIsAddingSpec: f,
267
- message: l,
268
- setMessage: u
267
+ message: s,
268
+ setMessage: c
269
269
  })
270
270
  })] })
271
271
  });
272
- }, M = ({ tenantId: e, flavorId: n, errors: r, isLoading: a, onTenantIdChange: o, onSave: c, onCancel: d }) => {
272
+ }, M = ({ tenantId: e, flavorId: t, errors: i, isLoading: o, onTenantIdChange: l, onSave: u, onCancel: d }) => {
273
273
  let { i18n: f, _: p } = w();
274
- return /* @__PURE__ */ h(i, { children: [
275
- /* @__PURE__ */ m(t, { children: n }),
276
- /* @__PURE__ */ m(t, {
274
+ return /* @__PURE__ */ h(n, { children: [
275
+ /* @__PURE__ */ m(r, { children: t }),
276
+ /* @__PURE__ */ m(r, {
277
277
  className: "pl-0",
278
- children: /* @__PURE__ */ m(u, {
278
+ children: /* @__PURE__ */ m(a, {
279
279
  value: e,
280
- onChange: (e) => o(e.target.value),
280
+ onChange: (e) => l(e.target.value),
281
281
  placeholder: f._({ id: "wa1Bcq" }),
282
- errortext: r.tenantId,
282
+ errortext: i.tenantId,
283
283
  required: !0
284
284
  })
285
285
  }),
286
- /* @__PURE__ */ m(t, { children: /* @__PURE__ */ h(s, { children: [/* @__PURE__ */ m(l, {
286
+ /* @__PURE__ */ m(r, { children: /* @__PURE__ */ h(c, { children: [/* @__PURE__ */ m(s, {
287
287
  icon: "check",
288
- onClick: c,
288
+ onClick: u,
289
289
  variant: "primary",
290
290
  title: f._({ id: "q0Rla3" }),
291
- disabled: a
292
- }), /* @__PURE__ */ m(l, {
291
+ disabled: o
292
+ }), /* @__PURE__ */ m(s, {
293
293
  icon: "cancel",
294
294
  onClick: d,
295
295
  title: f._({ id: "dEgA5A" }),
296
- disabled: a
296
+ disabled: o
297
297
  })] }) })
298
298
  ] });
299
- }, N = ({ access: r, isDeleting: a, onDelete: o, canDelete: s }) => {
299
+ }, N = ({ access: e, isDeleting: t, onDelete: a, canDelete: o }) => {
300
300
  let { i18n: c, _: u } = w(), [d, f] = S(!1);
301
301
  b(() => {
302
302
  if (d) {
@@ -307,47 +307,47 @@ var j = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
307
307
  }
308
308
  }, [d]);
309
309
  let g = () => {
310
- f(!1), o();
310
+ f(!1), a();
311
311
  };
312
- return /* @__PURE__ */ h(i, { children: [
313
- /* @__PURE__ */ m(t, { children: r.flavor_id }),
314
- /* @__PURE__ */ m(t, {
312
+ return /* @__PURE__ */ h(n, { children: [
313
+ /* @__PURE__ */ m(r, { children: e.flavor_id }),
314
+ /* @__PURE__ */ m(r, {
315
315
  className: "break-all",
316
- children: r.tenant_id
316
+ children: e.tenant_id
317
317
  }),
318
- /* @__PURE__ */ m(t, { children: a ? /* @__PURE__ */ m(e, {
318
+ /* @__PURE__ */ m(r, { children: t ? /* @__PURE__ */ m(l, {
319
319
  distribution: "center",
320
320
  alignment: "center",
321
- children: /* @__PURE__ */ m(n, { variant: "primary" })
322
- }) : /* @__PURE__ */ m(e, {
321
+ children: /* @__PURE__ */ m(i, { variant: "primary" })
322
+ }) : /* @__PURE__ */ m(l, {
323
323
  distribution: "end",
324
324
  alignment: "end",
325
325
  children: (() => {
326
- if (!s) return /* @__PURE__ */ m(p, {});
327
- if (d) return /* @__PURE__ */ m(l, {
326
+ if (!o) return /* @__PURE__ */ m(p, {});
327
+ if (d) return /* @__PURE__ */ m(s, {
328
328
  variant: "primary-danger",
329
329
  onClick: g,
330
330
  title: c._({ id: "w9+8d7" }),
331
331
  "aria-label": c._({ id: "w9+8d7" }),
332
332
  "data-testid": "confirm-removal",
333
- disabled: a,
333
+ disabled: t,
334
334
  children: c._({ id: "t/YqKh" })
335
335
  });
336
336
  {
337
- let e = r.tenant_id;
338
- return /* @__PURE__ */ m(l, {
337
+ let n = e.tenant_id;
338
+ return /* @__PURE__ */ m(s, {
339
339
  icon: "deleteForever",
340
340
  onClick: () => f(!0),
341
341
  title: c._({
342
342
  id: "tfxu04",
343
- values: { tenantId: e }
343
+ values: { tenantId: n }
344
344
  }),
345
345
  "aria-label": c._({
346
346
  id: "tfxu04",
347
- values: { tenantId: e }
347
+ values: { tenantId: n }
348
348
  }),
349
- "data-testid": `remove-${e}`,
350
- disabled: a
349
+ "data-testid": `remove-${n}`,
350
+ disabled: t
351
351
  });
352
352
  }
353
353
  })()
@@ -364,17 +364,17 @@ var j = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
364
364
  flavorId: n
365
365
  });
366
366
  function I() {
367
- return /* @__PURE__ */ m(i, { children: /* @__PURE__ */ m(t, {
367
+ return /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(r, {
368
368
  colSpan: 3,
369
- children: /* @__PURE__ */ m(e, {
369
+ children: /* @__PURE__ */ m(l, {
370
370
  distribution: "center",
371
371
  alignment: "center",
372
- children: /* @__PURE__ */ m(n, { variant: "primary" })
372
+ children: /* @__PURE__ */ m(i, { variant: "primary" })
373
373
  })
374
374
  }) });
375
375
  }
376
- function L({ permissionsPromise: n, flavorAccessPromise: r, client: a, project: s, flavor: c, onAccessUpdate: u, isAddingAccess: g, setIsAddingAccess: _, setMessage: v }) {
377
- let { i18n: b, _: x } = w(), { translateError: C } = f(), T = y(n), E = y(r), [D, O] = S(""), [k, A] = S({}), [j, P] = S(/* @__PURE__ */ new Set()), [F, I] = S(!1), L = c["os-flavor-access:is_public"] !== !1, R = E.length === 0 && !g, z = () => {
376
+ function L({ permissionsPromise: e, flavorAccessPromise: i, client: a, project: c, flavor: u, onAccessUpdate: d, isAddingAccess: g, setIsAddingAccess: _, setMessage: v }) {
377
+ let { i18n: b, _: x } = w(), { translateError: C } = f(), T = y(e), E = y(i), [D, O] = S(""), [k, A] = S({}), [j, P] = S(/* @__PURE__ */ new Set()), [F, I] = S(!1), L = u["os-flavor-access:is_public"] !== !1, R = E.length === 0 && !g, z = () => {
378
378
  let e = D.trim(), t = {};
379
379
  return e ? E.some((t) => t.tenant_id === e) && (t.tenantId = "This tenant already has access to this flavor.") : t.tenantId = "Tenant ID is required.", A(t), Object.keys(t).length === 0;
380
380
  }, B = () => {
@@ -390,9 +390,9 @@ function L({ permissionsPromise: n, flavorAccessPromise: r, client: a, project:
390
390
  I(!0);
391
391
  try {
392
392
  let e = D.trim();
393
- u(await a.compute.addTenantAccess.mutate({
394
- project_id: s,
395
- flavorId: c.id,
393
+ d(await a.compute.addTenantAccess.mutate({
394
+ project_id: c,
395
+ flavorId: u.id,
396
396
  targetProjectId: e
397
397
  })), v({
398
398
  text: b._({
@@ -412,9 +412,9 @@ function L({ permissionsPromise: n, flavorAccessPromise: r, client: a, project:
412
412
  }, H = async (e) => {
413
413
  P((t) => new Set(t).add(e));
414
414
  try {
415
- u(await a.compute.removeTenantAccess.mutate({
416
- project_id: s,
417
- flavorId: c.id,
415
+ d(await a.compute.removeTenantAccess.mutate({
416
+ project_id: c,
417
+ flavorId: u.id,
418
418
  targetProjectId: e
419
419
  })), v({
420
420
  text: b._({
@@ -435,38 +435,38 @@ function L({ permissionsPromise: n, flavorAccessPromise: r, client: a, project:
435
435
  });
436
436
  }
437
437
  };
438
- return L ? /* @__PURE__ */ h(d, {
438
+ return L ? /* @__PURE__ */ h(o, {
439
439
  columns: 3,
440
- children: [/* @__PURE__ */ h(i, { children: [
441
- /* @__PURE__ */ m(o, { children: b._({ id: "s2ubkU" }) }),
442
- /* @__PURE__ */ m(o, { children: b._({ id: "T9Mtpi" }) }),
443
- /* @__PURE__ */ m(o, { children: " " })
444
- ] }), /* @__PURE__ */ m(i, { children: /* @__PURE__ */ m(t, {
440
+ children: [/* @__PURE__ */ h(n, { children: [
441
+ /* @__PURE__ */ m(t, { children: b._({ id: "s2ubkU" }) }),
442
+ /* @__PURE__ */ m(t, { children: b._({ id: "T9Mtpi" }) }),
443
+ /* @__PURE__ */ m(t, { children: " " })
444
+ ] }), /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(r, {
445
445
  colSpan: 3,
446
446
  className: "text-theme-default py-4 text-center",
447
447
  children: b._({ id: "9x6EkK" })
448
448
  }) })]
449
- }) : /* @__PURE__ */ h(p, { children: [T.canAdd && /* @__PURE__ */ m(e, {
449
+ }) : /* @__PURE__ */ h(p, { children: [T.canAdd && /* @__PURE__ */ m(l, {
450
450
  direction: "horizontal",
451
451
  className: "bg-theme-background-lvl-1 justify-end p-2",
452
- children: /* @__PURE__ */ m(l, {
452
+ children: /* @__PURE__ */ m(s, {
453
453
  label: b._({ id: "q0Rla3" }),
454
454
  "data-testid": "addTenantButton",
455
455
  onClick: () => _(!0),
456
456
  variant: "primary",
457
457
  disabled: g
458
458
  })
459
- }), /* @__PURE__ */ h(d, {
459
+ }), /* @__PURE__ */ h(o, {
460
460
  columns: 3,
461
461
  children: [
462
- /* @__PURE__ */ h(i, { children: [
463
- /* @__PURE__ */ m(o, { children: b._({ id: "s2ubkU" }) }),
464
- /* @__PURE__ */ m(o, { children: b._({ id: "T9Mtpi" }) }),
465
- /* @__PURE__ */ m(o, {})
462
+ /* @__PURE__ */ h(n, { children: [
463
+ /* @__PURE__ */ m(t, { children: b._({ id: "s2ubkU" }) }),
464
+ /* @__PURE__ */ m(t, { children: b._({ id: "T9Mtpi" }) }),
465
+ /* @__PURE__ */ m(t, {})
466
466
  ] }),
467
467
  g && /* @__PURE__ */ m(M, {
468
468
  tenantId: D,
469
- flavorId: c.id,
469
+ flavorId: u.id,
470
470
  errors: k,
471
471
  isLoading: F,
472
472
  onTenantIdChange: (e) => {
@@ -486,7 +486,7 @@ function L({ permissionsPromise: n, flavorAccessPromise: r, client: a, project:
486
486
  onDelete: () => H(e.tenant_id),
487
487
  canDelete: T.canRemove
488
488
  }, e.tenant_id)),
489
- R && /* @__PURE__ */ m(i, { children: /* @__PURE__ */ m(t, {
489
+ R && /* @__PURE__ */ m(n, { children: /* @__PURE__ */ m(r, {
490
490
  colSpan: 3,
491
491
  className: "text-theme-default py-4 text-center",
492
492
  children: b._({ id: "Gyd3No" })
@@ -495,12 +495,12 @@ function L({ permissionsPromise: n, flavorAccessPromise: r, client: a, project:
495
495
  })] });
496
496
  }
497
497
  var R = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
498
- let { i18n: o, _: s } = w(), { translateError: l } = f(), [u, d] = S(null), [p, g] = S(!1), y = x(() => t ? P(e, r) : null, [
498
+ let { i18n: a, _: o } = w(), { translateError: s } = f(), [c, l] = S(null), [p, g] = S(!1), y = x(() => t ? P(e, r) : null, [
499
499
  e,
500
500
  r,
501
501
  t
502
- ]), C = x(() => !t || !i?.id ? null : F(e, r, i.id).then((e) => e.filter((e, t, n) => n.findIndex((t) => t.tenant_id === e.tenant_id) === t)).catch((e) => (d({
503
- text: l(e?.message || "GET_FLAVOR_ACCESS_FAILED"),
502
+ ]), C = x(() => !t || !i?.id ? null : F(e, r, i.id).then((e) => e.filter((e, t, n) => n.findIndex((t) => t.tenant_id === e.tenant_id) === t)).catch((e) => (l({
503
+ text: s(e?.message || "GET_FLAVOR_ACCESS_FAILED"),
504
504
  type: "error"
505
505
  }), [])), [
506
506
  t,
@@ -509,10 +509,10 @@ var R = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
509
509
  r
510
510
  ]);
511
511
  b(() => {
512
- t && d(null);
512
+ t && l(null);
513
513
  }, [t, i?.id]);
514
514
  let [T, E] = S(null), D = `${t}-${i?.id}`, O = T?.key === D ? T.promise : C, k = () => {
515
- d(null), g(!1), E(null), n();
515
+ l(null), g(!1), E(null), n();
516
516
  }, A = (e) => {
517
517
  let t = e.filter((e, t, n) => n.findIndex((t) => t.tenant_id === e.tenant_id) === t);
518
518
  v(() => {
@@ -524,18 +524,18 @@ var R = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
524
524
  };
525
525
  if (!t || !i || !y || !O) return null;
526
526
  let j = i.name;
527
- return /* @__PURE__ */ m(c, {
527
+ return /* @__PURE__ */ m(u, {
528
528
  onCancel: k,
529
- title: o._({
529
+ title: a._({
530
530
  id: "6Rnrsz",
531
531
  values: { flavorName: j }
532
532
  }),
533
533
  open: t,
534
534
  size: "xl",
535
- children: /* @__PURE__ */ h("div", { children: [u && /* @__PURE__ */ m(a, {
536
- onDismiss: () => d(null),
537
- text: u.text,
538
- variant: u.type,
535
+ children: /* @__PURE__ */ h("div", { children: [c && /* @__PURE__ */ m(d, {
536
+ onDismiss: () => l(null),
537
+ text: c.text,
538
+ variant: c.type,
539
539
  className: "mb-4",
540
540
  dismissible: !0
541
541
  }), /* @__PURE__ */ m(_, {
@@ -549,11 +549,11 @@ var R = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
549
549
  onAccessUpdate: A,
550
550
  isAddingAccess: p,
551
551
  setIsAddingAccess: g,
552
- setMessage: d
552
+ setMessage: l
553
553
  })
554
554
  })] })
555
555
  });
556
- }, z = ({ client: u, isOpen: p, onClose: g, project: _, flavor: v, onSuccess: y }) => {
556
+ }, z = ({ client: a, isOpen: p, onClose: g, project: _, flavor: v, onSuccess: y }) => {
557
557
  let { i18n: b, _: x } = w(), { translateError: T } = f(), [E, D] = S(!1), [O, k] = S(null), A = async () => {
558
558
  if (!v?.id) {
559
559
  k(b._({ id: "NlcF/v" }));
@@ -561,7 +561,7 @@ var R = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
561
561
  }
562
562
  k(null);
563
563
  try {
564
- D(!0), await u.compute.deleteFlavor.mutate({
564
+ D(!0), await a.compute.deleteFlavor.mutate({
565
565
  project_id: _,
566
566
  flavorId: v.id
567
567
  }), y(), j();
@@ -573,30 +573,30 @@ var R = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
573
573
  }, j = () => {
574
574
  k(null), g();
575
575
  };
576
- return /* @__PURE__ */ h(c, {
576
+ return /* @__PURE__ */ h(u, {
577
577
  onCancel: j,
578
578
  title: b._({ id: "JT3I1g" }),
579
579
  open: p,
580
580
  onConfirm: A,
581
- modalFooter: /* @__PURE__ */ m(r, {
581
+ modalFooter: /* @__PURE__ */ m(e, {
582
582
  className: "flex justify-end",
583
- children: /* @__PURE__ */ h(s, { children: [/* @__PURE__ */ m(l, {
583
+ children: /* @__PURE__ */ h(c, { children: [/* @__PURE__ */ m(s, {
584
584
  variant: "primary-danger",
585
585
  onClick: A,
586
586
  disabled: E,
587
- children: E ? /* @__PURE__ */ m(n, { size: "small" }) : /* @__PURE__ */ m(C, { id: "cnGeoo" })
588
- }), /* @__PURE__ */ m(l, {
587
+ children: E ? /* @__PURE__ */ m(i, { size: "small" }) : /* @__PURE__ */ m(C, { id: "cnGeoo" })
588
+ }), /* @__PURE__ */ m(s, {
589
589
  variant: "default",
590
590
  onClick: j,
591
591
  children: /* @__PURE__ */ m(C, { id: "dEgA5A" })
592
592
  })] })
593
593
  }),
594
- children: [E && /* @__PURE__ */ m(e, {
594
+ children: [E && /* @__PURE__ */ m(l, {
595
595
  distribution: "center",
596
596
  alignment: "center",
597
- children: /* @__PURE__ */ m(n, { variant: "primary" })
597
+ children: /* @__PURE__ */ m(i, { variant: "primary" })
598
598
  }), !E && /* @__PURE__ */ h("div", { children: [
599
- O && /* @__PURE__ */ m(a, {
599
+ O && /* @__PURE__ */ m(d, {
600
600
  onDismiss: () => {
601
601
  k(null);
602
602
  },
@@ -604,20 +604,20 @@ var R = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
604
604
  variant: "error",
605
605
  className: "mb-4"
606
606
  }),
607
- /* @__PURE__ */ m(a, {
607
+ /* @__PURE__ */ m(d, {
608
608
  text: b._({ id: "QQ8wUG" }),
609
609
  variant: "danger",
610
610
  className: "mb-4"
611
611
  }),
612
- v && /* @__PURE__ */ h(d, {
612
+ v && /* @__PURE__ */ h(o, {
613
613
  columns: 2,
614
614
  children: [
615
- /* @__PURE__ */ h(i, { children: [/* @__PURE__ */ m(o, { children: b._({ id: "6YtxFj" }) }), /* @__PURE__ */ m(t, { children: v.name })] }),
616
- /* @__PURE__ */ h(i, { children: [/* @__PURE__ */ m(o, { children: b._({ id: "S0kLOH" }) }), /* @__PURE__ */ m(t, { children: v.id })] }),
617
- /* @__PURE__ */ h(i, { children: [/* @__PURE__ */ m(o, { children: b._({ id: "MZGbkp" }) }), /* @__PURE__ */ m(t, { children: v.vcpus })] }),
618
- /* @__PURE__ */ h(i, { children: [/* @__PURE__ */ m(o, { children: b._({ id: "RGhYAo" }) }), /* @__PURE__ */ h(t, { children: [v.ram, " MiB"] })] }),
619
- /* @__PURE__ */ h(i, { children: [/* @__PURE__ */ m(o, { children: b._({ id: "sPFHpI" }) }), /* @__PURE__ */ h(t, { children: [v.disk, " GiB"] })] }),
620
- v.swap && /* @__PURE__ */ h(i, { children: [/* @__PURE__ */ m(o, { children: b._({ id: "vH2C/2" }) }), /* @__PURE__ */ h(t, { children: [v.swap, " MiB"] })] })
615
+ /* @__PURE__ */ h(n, { children: [/* @__PURE__ */ m(t, { children: b._({ id: "6YtxFj" }) }), /* @__PURE__ */ m(r, { children: v.name })] }),
616
+ /* @__PURE__ */ h(n, { children: [/* @__PURE__ */ m(t, { children: b._({ id: "S0kLOH" }) }), /* @__PURE__ */ m(r, { children: v.id })] }),
617
+ /* @__PURE__ */ h(n, { children: [/* @__PURE__ */ m(t, { children: b._({ id: "MZGbkp" }) }), /* @__PURE__ */ m(r, { children: v.vcpus })] }),
618
+ /* @__PURE__ */ h(n, { children: [/* @__PURE__ */ m(t, { children: b._({ id: "RGhYAo" }) }), /* @__PURE__ */ h(r, { children: [v.ram, " MiB"] })] }),
619
+ /* @__PURE__ */ h(n, { children: [/* @__PURE__ */ m(t, { children: b._({ id: "sPFHpI" }) }), /* @__PURE__ */ h(r, { children: [v.disk, " GiB"] })] }),
620
+ v.swap && /* @__PURE__ */ h(n, { children: [/* @__PURE__ */ m(t, { children: b._({ id: "vH2C/2" }) }), /* @__PURE__ */ h(r, { children: [v.swap, " MiB"] })] })
621
621
  ]
622
622
  })
623
623
  ] })]
@@ -626,4 +626,4 @@ var R = ({ client: e, isOpen: t, onClose: n, project: r, flavor: i }) => {
626
626
  //#endregion
627
627
  export { R as n, j as r, z as t };
628
628
 
629
- //# sourceMappingURL=DeleteFlavorModal-rmuYIafD.mjs.map
629
+ //# sourceMappingURL=DeleteFlavorModal-BusYn32r.mjs.map