@cobaltcore-dev/aurora 0.3.0 → 0.4.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.
Files changed (134) hide show
  1. package/dist/client/{ContentHeader-B_PWrxbw.mjs → ContentHeader-BXZoN3B9.mjs} +16 -16
  2. package/dist/client/{ContentHeader-B_PWrxbw.mjs.map → ContentHeader-BXZoN3B9.mjs.map} +1 -1
  3. package/dist/client/{DeleteFlavorModal-BkPrQKyE.mjs → DeleteFlavorModal-BusYn32r.mjs} +152 -152
  4. package/dist/client/{DeleteFlavorModal-BkPrQKyE.mjs.map → DeleteFlavorModal-BusYn32r.mjs.map} +1 -1
  5. package/dist/client/{EditSecurityGroupModal-ad4uzlt0.mjs → EditSecurityGroupModal-DK3WYikA.mjs} +15 -15
  6. package/dist/client/{EditSecurityGroupModal-ad4uzlt0.mjs.map → EditSecurityGroupModal-DK3WYikA.mjs.map} +1 -1
  7. package/dist/client/FiltersInput-OVeIJzIo.mjs +81 -0
  8. package/dist/client/FiltersInput-OVeIJzIo.mjs.map +1 -0
  9. package/dist/client/{FloatingIpActionModals-lKMwLuL8.mjs → FloatingIpActionModals-Dok7fJss.mjs} +52 -52
  10. package/dist/client/{FloatingIpActionModals-lKMwLuL8.mjs.map → FloatingIpActionModals-Dok7fJss.mjs.map} +1 -1
  11. package/dist/client/{ImageToastNotifications--U13YiQ_.mjs → ImageToastNotifications-BG9LPnXf.mjs} +324 -324
  12. package/dist/client/{ImageToastNotifications--U13YiQ_.mjs.map → ImageToastNotifications-BG9LPnXf.mjs.map} +1 -1
  13. package/dist/client/ListToolbar-BojRTNbo.mjs +129 -0
  14. package/dist/client/ListToolbar-BojRTNbo.mjs.map +1 -0
  15. package/dist/client/{RouteError-iP1Vd6bY.mjs → RouteError-pDEWC_k7.mjs} +2 -2
  16. package/dist/client/{RouteError-iP1Vd6bY.mjs.map → RouteError-pDEWC_k7.mjs.map} +1 -1
  17. package/dist/client/SortInput-DXWSqSny.mjs +34 -0
  18. package/dist/client/SortInput-DXWSqSny.mjs.map +1 -0
  19. package/dist/client/{_flavorId-BaNXUJhA.mjs → _flavorId-BRonXvCo.mjs} +40 -40
  20. package/dist/client/{_flavorId-BaNXUJhA.mjs.map → _flavorId-BRonXvCo.mjs.map} +1 -1
  21. package/dist/client/{_flavorId-CnO76tuy.mjs → _flavorId-BoNcxYmF.mjs} +9 -9
  22. package/dist/client/{_flavorId-CnO76tuy.mjs.map → _flavorId-BoNcxYmF.mjs.map} +1 -1
  23. package/dist/client/{_floatingIpId-C8G20nNt.mjs → _floatingIpId-D33bOEmH.mjs} +2 -2
  24. package/dist/client/{_floatingIpId-C8G20nNt.mjs.map → _floatingIpId-D33bOEmH.mjs.map} +1 -1
  25. package/dist/client/_floatingIpId-DF_BSJN6.mjs +228 -0
  26. package/dist/client/{_floatingIpId-DdKnjdIV.mjs.map → _floatingIpId-DF_BSJN6.mjs.map} +1 -1
  27. package/dist/client/{_imageId-DdSbxFqG.mjs → _imageId-BL0I5_pv.mjs} +127 -127
  28. package/dist/client/{_imageId-DdSbxFqG.mjs.map → _imageId-BL0I5_pv.mjs.map} +1 -1
  29. package/dist/client/{_pcaId-DX_S-3hE.mjs → _pcaId-BYCoeK6_.mjs} +2 -2
  30. package/dist/client/{_pcaId-DX_S-3hE.mjs.map → _pcaId-BYCoeK6_.mjs.map} +1 -1
  31. package/dist/client/_pcaId-CbBhBrX1.mjs +466 -0
  32. package/dist/client/_pcaId-CbBhBrX1.mjs.map +1 -0
  33. package/dist/client/{_projectId-Dha4XqX4.mjs → _projectId-5NiasyXm.mjs} +3 -3
  34. package/dist/client/{_projectId-Dha4XqX4.mjs.map → _projectId-5NiasyXm.mjs.map} +1 -1
  35. package/dist/client/{_projectId-DYrcZ3E3.mjs → _projectId-BwLMEMGC.mjs} +3 -3
  36. package/dist/client/{_projectId-DYrcZ3E3.mjs.map → _projectId-BwLMEMGC.mjs.map} +1 -1
  37. package/dist/client/{_projectId-DsSVV2EA.mjs → _projectId-D35MN1kY.mjs} +70 -70
  38. package/dist/client/{_projectId-DsSVV2EA.mjs.map → _projectId-D35MN1kY.mjs.map} +1 -1
  39. package/dist/client/{_projectId-KH5si25Q.mjs → _projectId-OW2xkK43.mjs} +2 -2
  40. package/dist/client/{_projectId-KH5si25Q.mjs.map → _projectId-OW2xkK43.mjs.map} +1 -1
  41. package/dist/client/{_securityGroupId-DgaSqYex.mjs → _securityGroupId-B-Z-CzLp.mjs} +2 -2
  42. package/dist/client/{_securityGroupId-DgaSqYex.mjs.map → _securityGroupId-B-Z-CzLp.mjs.map} +1 -1
  43. package/dist/client/{_securityGroupId-O7FXfx0M.mjs → _securityGroupId-B1bOYRbX.mjs} +307 -307
  44. package/dist/client/{_securityGroupId-O7FXfx0M.mjs.map → _securityGroupId-B1bOYRbX.mjs.map} +1 -1
  45. package/dist/client/{about-DN8n8sN8.mjs → about-DLn1ShhF.mjs} +2 -2
  46. package/dist/client/{about-DN8n8sN8.mjs.map → about-DLn1ShhF.mjs.map} +1 -1
  47. package/dist/client/{build-CZRvXrAL.mjs → build-BJDfnAyi.mjs} +541 -537
  48. package/dist/client/{build-CZRvXrAL.mjs.map → build-BJDfnAyi.mjs.map} +1 -1
  49. package/dist/client/{buildFilterParams-ngVK3ybs.mjs → buildFilterParams-TeyosGyK.mjs} +1 -1
  50. package/dist/client/{buildFilterParams-ngVK3ybs.mjs.map → buildFilterParams-TeyosGyK.mjs.map} +1 -1
  51. package/dist/client/{constants-akdIBeTX.mjs → constants-B-P2r5F1.mjs} +11 -11
  52. package/dist/client/{constants-akdIBeTX.mjs.map → constants-B-P2r5F1.mjs.map} +1 -1
  53. package/dist/client/{containers-DmwhE9Uz.mjs → containers-BjWqjNOx.mjs} +2 -2
  54. package/dist/client/containers-BjWqjNOx.mjs.map +1 -0
  55. package/dist/client/{containers-Cs5vOeR2.mjs → containers-DsRWc1L5.mjs} +1 -1
  56. package/dist/client/containers-DsRWc1L5.mjs.map +1 -0
  57. package/dist/client/containers-J7WFA18U.mjs +3120 -0
  58. package/dist/client/containers-J7WFA18U.mjs.map +1 -0
  59. package/dist/client/{flavors-CY7A6--v.mjs → flavors-D8oElC2K.mjs} +2 -2
  60. package/dist/client/{flavors-CY7A6--v.mjs.map → flavors-D8oElC2K.mjs.map} +1 -1
  61. package/dist/client/flavors-qvgPSI7J.mjs +613 -0
  62. package/dist/client/flavors-qvgPSI7J.mjs.map +1 -0
  63. package/dist/client/{floatingips-BtL4d4m-.mjs → floatingips-Fa6ocNUu.mjs} +86 -86
  64. package/dist/client/{floatingips-BtL4d4m-.mjs.map → floatingips-Fa6ocNUu.mjs.map} +1 -1
  65. package/dist/client/{formatBytes-D6oa0wU9.mjs → formatBytes-tQBEnPoL.mjs} +1 -1
  66. package/dist/client/{formatBytes-D6oa0wU9.mjs.map → formatBytes-tQBEnPoL.mjs.map} +1 -1
  67. package/dist/client/{hooks-D0krAKvo.mjs → hooks-DEjb9d1F.mjs} +1 -1
  68. package/dist/client/images-CSFfefAu.mjs +1901 -0
  69. package/dist/client/images-CSFfefAu.mjs.map +1 -0
  70. package/dist/client/{images-I9gQfRa7.mjs → images-CTLCY-yY.mjs} +2 -2
  71. package/dist/client/{images-I9gQfRa7.mjs.map → images-CTLCY-yY.mjs.map} +1 -1
  72. package/dist/client/images-DM9I8G0p.mjs.map +1 -1
  73. package/dist/client/images-tYfyOkX8.mjs +8 -0
  74. package/dist/client/images-tYfyOkX8.mjs.map +1 -0
  75. package/dist/client/index.js +200 -198
  76. package/dist/client/index.js.map +1 -1
  77. package/dist/client/{network-SCVadZsv.mjs → network-rYLHyf15.mjs} +1 -1
  78. package/dist/client/{network-SCVadZsv.mjs.map → network-rYLHyf15.mjs.map} +1 -1
  79. package/dist/client/{objects-BrYe_RaJ.mjs → objects-BciXwZ00.mjs} +2 -2
  80. package/dist/client/objects-BciXwZ00.mjs.map +1 -0
  81. package/dist/client/{objects-B4yrYf_a.mjs → objects-Cdew99tK.mjs} +1 -1
  82. package/dist/client/objects-Cdew99tK.mjs.map +1 -0
  83. package/dist/client/objects-DaElrban.mjs +5340 -0
  84. package/dist/client/objects-DaElrban.mjs.map +1 -0
  85. package/dist/client/{overview-CmQkJ4Hh.mjs → overview-BMhjFMIV.mjs} +2 -2
  86. package/dist/client/{overview-CmQkJ4Hh.mjs.map → overview-BMhjFMIV.mjs.map} +1 -1
  87. package/dist/client/{overview-BjRSFSBh.mjs → overview-BYIRj7_X.mjs} +2 -2
  88. package/dist/client/{overview-BjRSFSBh.mjs.map → overview-BYIRj7_X.mjs.map} +1 -1
  89. package/dist/client/{overview-DTLIAKkJ.mjs → overview-DRCKNBH2.mjs} +2 -2
  90. package/dist/client/{overview-DTLIAKkJ.mjs.map → overview-DRCKNBH2.mjs.map} +1 -1
  91. package/dist/client/{overview-C4gjtc2q.mjs → overview-urYLOVQE.mjs} +3 -3
  92. package/dist/client/{overview-C4gjtc2q.mjs.map → overview-urYLOVQE.mjs.map} +1 -1
  93. package/dist/client/{pca-DzixU9Dl.mjs → pca-COmKvp3J.mjs} +2 -2
  94. package/dist/client/{pca-DzixU9Dl.mjs.map → pca-COmKvp3J.mjs.map} +1 -1
  95. package/dist/client/{pca-CYFJxSZ2.mjs → pca-oc7J0_Xd.mjs} +62 -62
  96. package/dist/client/pca-oc7J0_Xd.mjs.map +1 -0
  97. package/dist/client/{projects-D3hOC1cy.mjs → projects-BUabCzvw.mjs} +33 -33
  98. package/dist/client/projects-BUabCzvw.mjs.map +1 -0
  99. package/dist/client/{projects-BtyjXGq2.mjs → projects-DI_L4oDw.mjs} +2 -2
  100. package/dist/client/{projects-BtyjXGq2.mjs.map → projects-DI_L4oDw.mjs.map} +1 -1
  101. package/dist/client/{projects-DwVawmll.mjs → projects-Dl5XkXUP.mjs} +2 -2
  102. package/dist/client/{projects-DwVawmll.mjs.map → projects-Dl5XkXUP.mjs.map} +1 -1
  103. package/dist/client/{projects-BsN4bvU2.mjs → projects-HoQ0gE5Y.mjs} +1 -1
  104. package/dist/client/{projects-BsN4bvU2.mjs.map → projects-HoQ0gE5Y.mjs.map} +1 -1
  105. package/dist/client/{securitygroups-DMCIDHQS.mjs → securitygroups-BjkmHk2J.mjs} +102 -102
  106. package/dist/client/{securitygroups-DMCIDHQS.mjs.map → securitygroups-BjkmHk2J.mjs.map} +1 -1
  107. package/dist/client/{useListWithFiltering-CEDh1LO-.mjs → useListWithFiltering-CbhHJO4V.mjs} +1 -1
  108. package/dist/client/{useListWithFiltering-CEDh1LO-.mjs.map → useListWithFiltering-CbhHJO4V.mjs.map} +1 -1
  109. package/dist/client/{useProjectId-CgOTejka.mjs → useProjectId-OQv2KBbG.mjs} +1 -1
  110. package/dist/client/{useProjectId-CgOTejka.mjs.map → useProjectId-OQv2KBbG.mjs.map} +1 -1
  111. package/dist/server/index.d.ts +7 -1
  112. package/dist/server/index.js +116 -55
  113. package/package.json +3 -4
  114. package/dist/client/ListToolbar-C5lzTrit.mjs +0 -223
  115. package/dist/client/ListToolbar-C5lzTrit.mjs.map +0 -1
  116. package/dist/client/_floatingIpId-DdKnjdIV.mjs +0 -228
  117. package/dist/client/_pcaId-DFkYJEb5.mjs +0 -369
  118. package/dist/client/_pcaId-DFkYJEb5.mjs.map +0 -1
  119. package/dist/client/containers-BE2QiLBs.mjs +0 -3031
  120. package/dist/client/containers-BE2QiLBs.mjs.map +0 -1
  121. package/dist/client/containers-Cs5vOeR2.mjs.map +0 -1
  122. package/dist/client/containers-DmwhE9Uz.mjs.map +0 -1
  123. package/dist/client/flavors-pEcGkCut.mjs +0 -565
  124. package/dist/client/flavors-pEcGkCut.mjs.map +0 -1
  125. package/dist/client/images-C19gCFSy.mjs +0 -1797
  126. package/dist/client/images-C19gCFSy.mjs.map +0 -1
  127. package/dist/client/objects-B4yrYf_a.mjs.map +0 -1
  128. package/dist/client/objects-BrYe_RaJ.mjs.map +0 -1
  129. package/dist/client/objects-DOYFFn3Y.mjs +0 -4760
  130. package/dist/client/objects-DOYFFn3Y.mjs.map +0 -1
  131. package/dist/client/pca-CYFJxSZ2.mjs.map +0 -1
  132. package/dist/client/projects-D3hOC1cy.mjs.map +0 -1
  133. package/permission_policies/compute.yaml +0 -975
  134. package/permission_policies/image.yaml +0 -71
@@ -1,8 +1,8 @@
1
- import { C as e, F as t, H as n, K as r, W as i, Z as a, at as o, c as s, d as c, h as l, it as u, j as d, n as f, r as p, rt as m, tt as h, w as g, y as _, z as v } from "./build-CZRvXrAL.mjs";
1
+ import { B as e, G as t, I as n, M as r, Q as i, T as a, U as o, at as s, c, d as l, h as u, it as d, n as f, nt as p, ot as m, q as h, r as g, w as _, y as v } from "./build-BJDfnAyi.mjs";
2
2
  import { r as y } from "./trpcClient-BxguzNYF.mjs";
3
- import { n as b } from "./formatBytes-D6oa0wU9.mjs";
4
- import { t as x } from "./useProjectId-CgOTejka.mjs";
5
- import "./hooks-D0krAKvo.mjs";
3
+ import { n as b } from "./formatBytes-tQBEnPoL.mjs";
4
+ import { t as x } from "./useProjectId-OQv2KBbG.mjs";
5
+ import "./hooks-DEjb9d1F.mjs";
6
6
  import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
7
7
  import { useEffect as T, useMemo as E, useState as D } from "react";
8
8
  import { Trans as O, useLingui as k } from "@lingui/react";
@@ -51,60 +51,60 @@ var j = {
51
51
  OVF: "ovf",
52
52
  OVA: "ova",
53
53
  DOCKER: "docker"
54
- }, I = ({ memberId: e, imageId: n, errors: r, isLoading: i, onMemberIdChange: a, onSave: o, onCancel: c }) => {
55
- let { i18n: u, _: f } = k();
56
- return /* @__PURE__ */ w(t, { children: [
57
- /* @__PURE__ */ C(d, {
54
+ }, I = ({ memberId: e, imageId: t, errors: i, isLoading: o, onMemberIdChange: s, onSave: l, onCancel: d }) => {
55
+ let { i18n: f, _: p } = k();
56
+ return /* @__PURE__ */ w(n, { children: [
57
+ /* @__PURE__ */ C(r, {
58
58
  className: "break-all",
59
- children: n
59
+ children: t
60
60
  }),
61
- /* @__PURE__ */ C(d, {
61
+ /* @__PURE__ */ C(r, {
62
62
  className: "pl-0",
63
- children: /* @__PURE__ */ C(g, {
63
+ children: /* @__PURE__ */ C(a, {
64
64
  value: e,
65
- onChange: (e) => a(e.target.value),
66
- placeholder: u._({ id: "TpGxnq" }),
67
- errortext: r.memberId,
65
+ onChange: (e) => s(e.target.value),
66
+ placeholder: f._({ id: "TpGxnq" }),
67
+ errortext: i.memberId,
68
68
  required: !0
69
69
  })
70
70
  }),
71
- /* @__PURE__ */ C(d, {}),
72
- /* @__PURE__ */ C(d, { children: /* @__PURE__ */ w(l, { children: [/* @__PURE__ */ C(s, {
71
+ /* @__PURE__ */ C(r, {}),
72
+ /* @__PURE__ */ C(r, { children: /* @__PURE__ */ w(u, { children: [/* @__PURE__ */ C(c, {
73
73
  icon: "check",
74
- onClick: o,
74
+ onClick: l,
75
75
  variant: "primary",
76
- title: u._({ id: "3Qn0me" }),
77
- disabled: i
78
- }), /* @__PURE__ */ C(s, {
76
+ title: f._({ id: "3Qn0me" }),
77
+ disabled: o
78
+ }), /* @__PURE__ */ C(c, {
79
79
  icon: "cancel",
80
- onClick: c,
81
- title: u._({ id: "dEgA5A" }),
82
- disabled: i
80
+ onClick: d,
81
+ title: f._({ id: "dEgA5A" }),
82
+ disabled: o
83
83
  })] }) })
84
84
  ] });
85
- }, L = ({ member: e, isDeleting: n, onDelete: r, canDelete: i }) => {
86
- let { i18n: o, _: c } = k(), [l, u] = D(!1);
85
+ }, L = ({ member: e, isDeleting: t, onDelete: a, canDelete: o }) => {
86
+ let { i18n: s, _: l } = k(), [u, d] = D(!1);
87
87
  T(() => {
88
- if (l) {
88
+ if (u) {
89
89
  let e = setTimeout(() => {
90
- u(!1);
90
+ d(!1);
91
91
  }, 3e3);
92
92
  return () => clearTimeout(e);
93
93
  }
94
- }, [l]);
94
+ }, [u]);
95
95
  let f = () => {
96
- u(!1), r();
96
+ d(!1), a();
97
97
  };
98
- return /* @__PURE__ */ w(t, { children: [
99
- /* @__PURE__ */ C(d, {
98
+ return /* @__PURE__ */ w(n, { children: [
99
+ /* @__PURE__ */ C(r, {
100
100
  className: "break-all",
101
101
  children: e.image_id
102
102
  }),
103
- /* @__PURE__ */ C(d, {
103
+ /* @__PURE__ */ C(r, {
104
104
  className: "break-all",
105
105
  children: e.member_id
106
106
  }),
107
- /* @__PURE__ */ C(d, {
107
+ /* @__PURE__ */ C(r, {
108
108
  className: `break-all text-theme-${((e) => {
109
109
  switch (e) {
110
110
  case j.PENDING: return "warning";
@@ -115,46 +115,46 @@ var j = {
115
115
  })(e.status)}`,
116
116
  children: ((e) => {
117
117
  switch (e) {
118
- case j.PENDING: return o._({ id: "UbRKMZ" });
119
- case j.ACCEPTED: return o._({ id: "bzMKg7" });
120
- case j.REJECTED: return o._({ id: "ekCRTP" });
118
+ case j.PENDING: return s._({ id: "UbRKMZ" });
119
+ case j.ACCEPTED: return s._({ id: "bzMKg7" });
120
+ case j.REJECTED: return s._({ id: "ekCRTP" });
121
121
  default: return e;
122
122
  }
123
123
  })(e.status)
124
124
  }),
125
- /* @__PURE__ */ C(d, { children: n ? /* @__PURE__ */ C(h, {
125
+ /* @__PURE__ */ C(r, { children: t ? /* @__PURE__ */ C(p, {
126
126
  distribution: "center",
127
127
  alignment: "center",
128
- children: /* @__PURE__ */ C(a, { variant: "primary" })
129
- }) : /* @__PURE__ */ C(h, {
128
+ children: /* @__PURE__ */ C(i, { variant: "primary" })
129
+ }) : /* @__PURE__ */ C(p, {
130
130
  distribution: "end",
131
131
  alignment: "end",
132
132
  children: (() => {
133
- if (!i) return /* @__PURE__ */ C(S, {});
134
- if (l) return /* @__PURE__ */ C(s, {
133
+ if (!o) return /* @__PURE__ */ C(S, {});
134
+ if (u) return /* @__PURE__ */ C(c, {
135
135
  variant: "primary-danger",
136
136
  onClick: f,
137
- title: o._({ id: "n9jJG6" }),
138
- "aria-label": o._({ id: "n9jJG6" }),
137
+ title: s._({ id: "n9jJG6" }),
138
+ "aria-label": s._({ id: "n9jJG6" }),
139
139
  "data-testid": "confirm-removal",
140
- disabled: n,
141
- children: o._({ id: "t/YqKh" })
140
+ disabled: t,
141
+ children: s._({ id: "t/YqKh" })
142
142
  });
143
143
  {
144
- let t = e.member_id;
145
- return /* @__PURE__ */ C(s, {
144
+ let n = e.member_id;
145
+ return /* @__PURE__ */ C(c, {
146
146
  icon: "deleteForever",
147
- onClick: () => u(!0),
148
- title: o._({
147
+ onClick: () => d(!0),
148
+ title: s._({
149
149
  id: "pebLmQ",
150
- values: { memberIdDisplay: t }
150
+ values: { memberIdDisplay: n }
151
151
  }),
152
- "aria-label": o._({
152
+ "aria-label": s._({
153
153
  id: "pebLmQ",
154
- values: { memberIdDisplay: t }
154
+ values: { memberIdDisplay: n }
155
155
  }),
156
- "data-testid": `remove-${t}`,
157
- disabled: n
156
+ "data-testid": `remove-${n}`,
157
+ disabled: t
158
158
  });
159
159
  }
160
160
  })()
@@ -164,16 +164,16 @@ var j = {
164
164
  //#endregion
165
165
  //#region src/client/routes/_auth/projects/$projectId/compute/-components/Images/-components/ImageMembersTable.tsx
166
166
  function R() {
167
- return /* @__PURE__ */ C(t, { children: /* @__PURE__ */ C(d, {
167
+ return /* @__PURE__ */ C(n, { children: /* @__PURE__ */ C(r, {
168
168
  colSpan: 4,
169
- children: /* @__PURE__ */ C(h, {
169
+ children: /* @__PURE__ */ C(p, {
170
170
  distribution: "center",
171
171
  alignment: "center",
172
- children: /* @__PURE__ */ C(a, { variant: "primary" })
172
+ children: /* @__PURE__ */ C(i, { variant: "primary" })
173
173
  })
174
174
  }) });
175
175
  }
176
- var z = ({ image: e, imageMembers: a, isMembersLoading: o, canAdd: c, canRemove: l, isAddingMember: u, setIsAddingMember: f, setMessage: p, projectId: m }) => {
176
+ var z = ({ image: e, imageMembers: i, isMembersLoading: a, canAdd: s, canRemove: l, isAddingMember: u, setIsAddingMember: d, setMessage: f, projectId: m }) => {
177
177
  let { i18n: g, _ } = k(), v = y.useUtils(), [b, x] = D(""), [T, E] = D({}), [O, A] = D(/* @__PURE__ */ new Set()), j = y.compute.createImageMember.useMutation({ onSuccess: () => {
178
178
  v.compute.listImageMembers.invalidate({
179
179
  project_id: m,
@@ -184,14 +184,14 @@ var z = ({ image: e, imageMembers: a, isMembersLoading: o, canAdd: c, canRemove:
184
184
  project_id: m,
185
185
  imageId: e.id
186
186
  });
187
- } }), N = e.visibility === "public", P = !a || a.length === 0, F = j.isPending || M.isPending, z = () => {
187
+ } }), N = e.visibility === "public", P = !i || i.length === 0, F = j.isPending || M.isPending, z = () => {
188
188
  let e = b.trim(), t = {};
189
- return e ? a?.some((t) => t.member_id === e) && (t.memberId = g._({ id: "jyqLKs" })) : t.memberId = g._({ id: "S5CUKP" }), E(t), Object.keys(t).length === 0;
189
+ return e ? i?.some((t) => t.member_id === e) && (t.memberId = g._({ id: "jyqLKs" })) : t.memberId = g._({ id: "S5CUKP" }), E(t), Object.keys(t).length === 0;
190
190
  }, B = () => {
191
191
  x(""), E({});
192
192
  }, V = async () => {
193
193
  if (!z()) {
194
- p({
194
+ f({
195
195
  text: g._({ id: "CBFSfX" }),
196
196
  type: "error"
197
197
  });
@@ -203,15 +203,15 @@ var z = ({ image: e, imageMembers: a, isMembersLoading: o, canAdd: c, canRemove:
203
203
  project_id: m,
204
204
  imageId: e.id,
205
205
  member: t
206
- }), p({
206
+ }), f({
207
207
  text: g._({
208
208
  id: "Sgz1vJ",
209
209
  values: { trimmedMemberId: t }
210
210
  }),
211
211
  type: "info"
212
- }), B(), f(!1);
212
+ }), B(), d(!1);
213
213
  } catch (e) {
214
- p({
214
+ f({
215
215
  text: e?.message || g._({ id: "9doWrf" }),
216
216
  type: "error"
217
217
  });
@@ -223,7 +223,7 @@ var z = ({ image: e, imageMembers: a, isMembersLoading: o, canAdd: c, canRemove:
223
223
  project_id: m,
224
224
  imageId: e.id,
225
225
  memberId: t
226
- }), p({
226
+ }), f({
227
227
  text: g._({
228
228
  id: "4O2AH3",
229
229
  values: { memberIdToRemove: t }
@@ -231,7 +231,7 @@ var z = ({ image: e, imageMembers: a, isMembersLoading: o, canAdd: c, canRemove:
231
231
  type: "info"
232
232
  });
233
233
  } catch (e) {
234
- p({
234
+ f({
235
235
  text: e?.message || g._({ id: "n46oLW" }) || g._({
236
236
  id: "7T1fHv",
237
237
  values: { memberIdToRemove: t }
@@ -245,35 +245,35 @@ var z = ({ image: e, imageMembers: a, isMembersLoading: o, canAdd: c, canRemove:
245
245
  });
246
246
  }
247
247
  };
248
- return o ? /* @__PURE__ */ w(n, {
248
+ return a ? /* @__PURE__ */ w(o, {
249
249
  columns: 4,
250
- children: [/* @__PURE__ */ w(t, { children: [
251
- /* @__PURE__ */ C(i, { children: g._({ id: "vrPCbw" }) }),
252
- /* @__PURE__ */ C(i, { children: g._({ id: "mSfwLL" }) }),
253
- /* @__PURE__ */ C(i, { children: g._({ id: "uAQUqI" }) }),
254
- /* @__PURE__ */ C(i, {})
250
+ children: [/* @__PURE__ */ w(n, { children: [
251
+ /* @__PURE__ */ C(t, { children: g._({ id: "vrPCbw" }) }),
252
+ /* @__PURE__ */ C(t, { children: g._({ id: "mSfwLL" }) }),
253
+ /* @__PURE__ */ C(t, { children: g._({ id: "uAQUqI" }) }),
254
+ /* @__PURE__ */ C(t, {})
255
255
  ] }), /* @__PURE__ */ C(R, {})]
256
- }) : N ? /* @__PURE__ */ C(r, {
256
+ }) : N ? /* @__PURE__ */ C(h, {
257
257
  text: g._({ id: "6H/Lg1" }),
258
258
  variant: "info"
259
- }) : /* @__PURE__ */ w(S, { children: [c && /* @__PURE__ */ C(h, {
259
+ }) : /* @__PURE__ */ w(S, { children: [s && /* @__PURE__ */ C(p, {
260
260
  direction: "horizontal",
261
261
  className: "bg-theme-background-lvl-1 justify-end p-2",
262
- children: /* @__PURE__ */ C(s, {
262
+ children: /* @__PURE__ */ C(c, {
263
263
  label: g._({ id: "VCM3KS" }),
264
264
  "data-testid": "addMemberButton",
265
- onClick: () => f(!0),
265
+ onClick: () => d(!0),
266
266
  variant: "primary",
267
267
  disabled: u
268
268
  })
269
- }), /* @__PURE__ */ w(n, {
269
+ }), /* @__PURE__ */ w(o, {
270
270
  columns: 4,
271
271
  children: [
272
- /* @__PURE__ */ w(t, { children: [
273
- /* @__PURE__ */ C(i, { children: g._({ id: "vrPCbw" }) }),
274
- /* @__PURE__ */ C(i, { children: g._({ id: "NRVSdy" }) }),
275
- /* @__PURE__ */ C(i, { children: g._({ id: "uAQUqI" }) }),
276
- /* @__PURE__ */ C(i, {})
272
+ /* @__PURE__ */ w(n, { children: [
273
+ /* @__PURE__ */ C(t, { children: g._({ id: "vrPCbw" }) }),
274
+ /* @__PURE__ */ C(t, { children: g._({ id: "NRVSdy" }) }),
275
+ /* @__PURE__ */ C(t, { children: g._({ id: "uAQUqI" }) }),
276
+ /* @__PURE__ */ C(t, {})
277
277
  ] }),
278
278
  u && /* @__PURE__ */ C(I, {
279
279
  memberId: b,
@@ -288,35 +288,35 @@ var z = ({ image: e, imageMembers: a, isMembersLoading: o, canAdd: c, canRemove:
288
288
  },
289
289
  onSave: V,
290
290
  onCancel: () => {
291
- B(), f(!1), p(null);
291
+ B(), d(!1), f(null);
292
292
  }
293
293
  }),
294
- a?.map((e, t) => /* @__PURE__ */ C(L, {
294
+ i?.map((e, t) => /* @__PURE__ */ C(L, {
295
295
  member: e,
296
296
  isDeleting: O.has(e.member_id),
297
297
  onDelete: () => H(e.member_id),
298
298
  canDelete: l
299
299
  }, `${e.member_id}-${t}`)),
300
- P && !u && /* @__PURE__ */ C(t, { children: /* @__PURE__ */ C(d, {
300
+ P && !u && /* @__PURE__ */ C(n, { children: /* @__PURE__ */ C(r, {
301
301
  colSpan: 4,
302
302
  className: "text-theme-default py-4 text-center",
303
303
  children: g._({ id: "H7u085" })
304
304
  }) })
305
305
  ]
306
306
  })] });
307
- }, B = ({ image: t, isOpen: n, isLoading: r = !1, onClose: i, onSave: l }) => {
308
- let { i18n: d, _: v } = k(), [y, b] = D({
309
- name: t.name || "",
310
- tags: t.tags || [],
311
- visibility: t.visibility || N.PRIVATE,
312
- protected: t.protected || !1,
313
- min_disk: t.min_disk || 0,
314
- min_ram: t.min_ram || 0
307
+ }, B = ({ image: e, isOpen: t, isLoading: n = !1, onClose: r, onSave: o }) => {
308
+ let { i18n: u, _: h } = k(), [y, b] = D({
309
+ name: e.name || "",
310
+ tags: e.tags || [],
311
+ visibility: e.visibility || N.PRIVATE,
312
+ protected: e.protected || !1,
313
+ min_disk: e.min_disk || 0,
314
+ min_ram: e.min_ram || 0
315
315
  }), [x, S] = D(""), [T, E] = D({}), A = (e, t) => {
316
316
  if (e.length !== t.length) return !1;
317
317
  let n = [...e].sort(), r = [...t].sort();
318
318
  return n.every((e, t) => e === r[t]);
319
- }, j = t.name === y.name && A(t.tags || [], y.tags) && t.visibility === y.visibility && t.protected === y.protected && t.min_disk === y.min_disk && t.min_ram === y.min_ram, M = (e) => {
319
+ }, j = e.name === y.name && A(e.tags || [], y.tags) && e.visibility === y.visibility && e.protected === y.protected && e.min_disk === y.min_disk && e.min_ram === y.min_ram, M = (e) => {
320
320
  let { name: t, value: n, type: r, checked: i } = e.target;
321
321
  b((e) => ({
322
322
  ...e,
@@ -365,79 +365,79 @@ var z = ({ image: e, imageMembers: a, isMembersLoading: o, canAdd: c, canRemove:
365
365
  }));
366
366
  }, B = () => {
367
367
  let e = {};
368
- return (!y.name || y.name.trim() === "") && (e.name = d._({ id: "wyIOMP" })), y.min_disk < 0 && (e.min_disk = d._({ id: "K3bUTE" })), y.min_ram < 0 && (e.min_ram = d._({ id: "PEGvy+" })), E(e), Object.keys(e).length === 0;
368
+ return (!y.name || y.name.trim() === "") && (e.name = u._({ id: "wyIOMP" })), y.min_disk < 0 && (e.min_disk = u._({ id: "K3bUTE" })), y.min_ram < 0 && (e.min_ram = u._({ id: "PEGvy+" })), E(e), Object.keys(e).length === 0;
369
369
  };
370
- return /* @__PURE__ */ w(o, {
371
- open: n,
370
+ return /* @__PURE__ */ w(m, {
371
+ open: t,
372
372
  onCancel: () => {
373
- E({}), i();
373
+ E({}), r();
374
374
  },
375
375
  size: "large",
376
- title: d._({ id: "M5Epeo" }),
377
- onConfirm: (e) => {
378
- e.preventDefault(), B() && l({
379
- ...t.name === y.name.trim() ? {} : { name: y.name.trim() },
380
- ...A(t.tags || [], y.tags) ? {} : { tags: y.tags },
381
- ...t.visibility === y.visibility ? {} : { visibility: y.visibility },
382
- ...t.protected === y.protected ? {} : { protected: y.protected },
383
- ...t.min_disk === y.min_disk ? {} : { min_disk: y.min_disk },
384
- ...t.min_ram === y.min_ram ? {} : { min_ram: y.min_ram }
376
+ title: u._({ id: "M5Epeo" }),
377
+ onConfirm: (t) => {
378
+ t.preventDefault(), B() && o({
379
+ ...e.name === y.name.trim() ? {} : { name: y.name.trim() },
380
+ ...A(e.tags || [], y.tags) ? {} : { tags: y.tags },
381
+ ...e.visibility === y.visibility ? {} : { visibility: y.visibility },
382
+ ...e.protected === y.protected ? {} : { protected: y.protected },
383
+ ...e.min_disk === y.min_disk ? {} : { min_disk: y.min_disk },
384
+ ...e.min_ram === y.min_ram ? {} : { min_ram: y.min_ram }
385
385
  });
386
386
  },
387
- confirmButtonLabel: d._({ id: "IUwGEM" }),
388
- cancelButtonLabel: d._({ id: "dEgA5A" }),
389
- disableConfirmButton: r || j,
390
- children: [r && /* @__PURE__ */ C(h, {
387
+ confirmButtonLabel: u._({ id: "IUwGEM" }),
388
+ cancelButtonLabel: u._({ id: "dEgA5A" }),
389
+ disableConfirmButton: n || j,
390
+ children: [n && /* @__PURE__ */ C(p, {
391
391
  distribution: "center",
392
392
  alignment: "center",
393
- children: /* @__PURE__ */ C(a, { variant: "primary" })
394
- }), !r && /* @__PURE__ */ w(u, { children: [/* @__PURE__ */ w(f, {
393
+ children: /* @__PURE__ */ C(i, { variant: "primary" })
394
+ }), !n && /* @__PURE__ */ w(s, { children: [/* @__PURE__ */ w(f, {
395
395
  className: "mb-6",
396
396
  children: [
397
- /* @__PURE__ */ C(m, {
397
+ /* @__PURE__ */ C(d, {
398
398
  className: "mb-4",
399
- children: /* @__PURE__ */ C(g, {
399
+ children: /* @__PURE__ */ C(a, {
400
400
  id: "name",
401
401
  name: "name",
402
- label: d._({ id: "ExLULX" }),
402
+ label: u._({ id: "ExLULX" }),
403
403
  value: y.name,
404
404
  onChange: M,
405
405
  required: !0,
406
406
  errortext: T.name
407
407
  })
408
408
  }),
409
- /* @__PURE__ */ C(m, {
409
+ /* @__PURE__ */ C(d, {
410
410
  className: "my-6",
411
411
  children: /* @__PURE__ */ w("div", {
412
412
  className: "w-full",
413
- children: [/* @__PURE__ */ w(h, {
413
+ children: [/* @__PURE__ */ w(p, {
414
414
  gap: "2",
415
415
  direction: "horizontal",
416
416
  alignment: "start",
417
417
  children: [/* @__PURE__ */ C("div", {
418
418
  className: "flex-1",
419
- children: /* @__PURE__ */ C(g, {
419
+ children: /* @__PURE__ */ C(a, {
420
420
  id: "tags",
421
421
  name: "tags",
422
- label: d._({ id: "OYHzN1" }),
422
+ label: u._({ id: "OYHzN1" }),
423
423
  value: x,
424
424
  onChange: I,
425
425
  onKeyDown: R,
426
- helptext: d._({ id: "MOug+V" }),
427
- placeholder: d._({ id: "y+KBOY" })
426
+ helptext: u._({ id: "MOug+V" }),
427
+ placeholder: u._({ id: "y+KBOY" })
428
428
  })
429
- }), /* @__PURE__ */ C(s, {
429
+ }), /* @__PURE__ */ C(c, {
430
430
  variant: "primary",
431
431
  onClick: L,
432
- disabled: r || x.trim() === "",
432
+ disabled: n || x.trim() === "",
433
433
  children: /* @__PURE__ */ C(O, { id: "m16xKo" })
434
434
  })]
435
- }), y.tags.length > 0 && /* @__PURE__ */ C(h, {
435
+ }), y.tags.length > 0 && /* @__PURE__ */ C(p, {
436
436
  gap: "2",
437
437
  wrap: !0,
438
438
  alignment: "center",
439
439
  className: "mt-3",
440
- children: y.tags.map((e) => /* @__PURE__ */ C(_, {
440
+ children: y.tags.map((e) => /* @__PURE__ */ C(v, {
441
441
  closeable: !0,
442
442
  pillKey: "",
443
443
  pillValue: e,
@@ -446,65 +446,65 @@ var z = ({ image: e, imageMembers: a, isMembersLoading: o, canAdd: c, canRemove:
446
446
  })]
447
447
  })
448
448
  }),
449
- /* @__PURE__ */ C(m, {
449
+ /* @__PURE__ */ C(d, {
450
450
  className: "mb-4",
451
- children: /* @__PURE__ */ w(p, {
451
+ children: /* @__PURE__ */ w(g, {
452
452
  id: "visibility",
453
453
  name: "visibility",
454
- label: d._({ id: "2q/Q7x" }),
454
+ label: u._({ id: "2q/Q7x" }),
455
455
  value: y.visibility,
456
456
  onChange: (e) => P("visibility", e),
457
457
  children: [
458
- /* @__PURE__ */ C(c, {
458
+ /* @__PURE__ */ C(l, {
459
459
  value: N.PUBLIC,
460
- label: d._({ id: "7d1a0d" })
460
+ label: u._({ id: "7d1a0d" })
461
461
  }),
462
- /* @__PURE__ */ C(c, {
462
+ /* @__PURE__ */ C(l, {
463
463
  value: N.PRIVATE,
464
- label: d._({ id: "zwBp5t" })
464
+ label: u._({ id: "zwBp5t" })
465
465
  }),
466
- /* @__PURE__ */ C(c, {
466
+ /* @__PURE__ */ C(l, {
467
467
  value: N.SHARED,
468
- label: d._({ id: "0Gd0NU" })
468
+ label: u._({ id: "0Gd0NU" })
469
469
  }),
470
- /* @__PURE__ */ C(c, {
470
+ /* @__PURE__ */ C(l, {
471
471
  value: N.COMMUNITY,
472
- label: d._({ id: "chL5IG" })
472
+ label: u._({ id: "chL5IG" })
473
473
  })
474
474
  ]
475
475
  })
476
476
  }),
477
- /* @__PURE__ */ C(m, { children: /* @__PURE__ */ C(e, {
477
+ /* @__PURE__ */ C(d, { children: /* @__PURE__ */ C(_, {
478
478
  id: "protected",
479
479
  name: "protected",
480
- label: d._({ id: "644xgx" }),
480
+ label: u._({ id: "644xgx" }),
481
481
  checked: y.protected,
482
482
  onChange: M,
483
- helptext: d._({ id: "lAsm87" })
483
+ helptext: u._({ id: "lAsm87" })
484
484
  }) })
485
485
  ]
486
486
  }), /* @__PURE__ */ w(f, {
487
487
  className: "mb-6",
488
- children: [/* @__PURE__ */ C(m, {
488
+ children: [/* @__PURE__ */ C(d, {
489
489
  className: "mb-4",
490
- children: /* @__PURE__ */ C(g, {
490
+ children: /* @__PURE__ */ C(a, {
491
491
  id: "min_disk",
492
492
  name: "min_disk",
493
- label: d._({ id: "tbwGSx" }),
493
+ label: u._({ id: "tbwGSx" }),
494
494
  type: "number",
495
495
  value: String(y.min_disk),
496
496
  onChange: (e) => F("min_disk", e.target.value),
497
- helptext: d._({ id: "RFDYCD" }),
497
+ helptext: u._({ id: "RFDYCD" }),
498
498
  errortext: T.min_disk
499
499
  })
500
- }), /* @__PURE__ */ C(m, { children: /* @__PURE__ */ C(g, {
500
+ }), /* @__PURE__ */ C(d, { children: /* @__PURE__ */ C(a, {
501
501
  id: "min_ram",
502
502
  name: "min_ram",
503
- label: d._({ id: "UYSopm" }),
503
+ label: u._({ id: "UYSopm" }),
504
504
  type: "number",
505
505
  value: String(y.min_ram),
506
506
  onChange: (e) => F("min_ram", e.target.value),
507
- helptext: d._({ id: "WErCZy" }),
507
+ helptext: u._({ id: "WErCZy" }),
508
508
  errortext: T.min_ram
509
509
  }) })]
510
510
  })] })]
@@ -528,19 +528,19 @@ function H(e, t) {
528
528
  };
529
529
  });
530
530
  }
531
- function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedProperties: u }) {
532
- let { i18n: f, _: p } = k(), [m, _] = D(l), [v, y] = D({}), [b, x] = D(!1), [S, E] = D(""), [O, A] = D(""), [j, M] = D(null);
531
+ function U({ isLoading: e, onClose: s, onSave: l, initialMetadata: u, excludedProperties: d }) {
532
+ let { i18n: f, _: h } = k(), [g, _] = D(u), [v, y] = D({}), [b, x] = D(!1), [S, E] = D(""), [O, A] = D(""), [j, M] = D(null);
533
533
  T(() => {
534
534
  if (j !== null) {
535
535
  let e = setTimeout(() => M(null), 3e3);
536
536
  return () => clearTimeout(e);
537
537
  }
538
538
  }, [j]);
539
- let N = m.every((e) => !e.isNew && e.key === e.originalKey && e.value === e.originalValue) && l.length === m.length, P = (e, t, n) => {
539
+ let N = g.every((e) => !e.isNew && e.key === e.originalKey && e.value === e.originalValue) && u.length === g.length, P = (e, t, n) => {
540
540
  let r = e?.trim().toLowerCase();
541
- return r ? u.has(r) ? f._({ id: "n3eQzA" }) : m.some((e, i) => e.key.trim().toLowerCase() === r && i !== n && e.originalKey !== t) ? f._({ id: "i6/ygf" }) : null : f._({ id: "QV1ZPO" });
541
+ return r ? d.has(r) ? f._({ id: "n3eQzA" }) : g.some((e, i) => e.key.trim().toLowerCase() === r && i !== n && e.originalKey !== t) ? f._({ id: "i6/ygf" }) : null : f._({ id: "QV1ZPO" });
542
542
  }, F = () => {
543
- let e = P(S, void 0, m.length);
543
+ let e = P(S, void 0, g.length);
544
544
  if (e) {
545
545
  y({ newKey: e });
546
546
  return;
@@ -549,7 +549,7 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
549
549
  y({ newValue: f._({ id: "hXUWyd" }) });
550
550
  return;
551
551
  }
552
- _([...m, {
552
+ _([...g, {
553
553
  key: S.trim(),
554
554
  value: O.trim(),
555
555
  isNew: !0,
@@ -558,7 +558,7 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
558
558
  }, I = () => {
559
559
  E(""), A(""), x(!1), y({});
560
560
  }, L = (e) => {
561
- M(null), _(m.map((t, n) => n === e ? {
561
+ M(null), _(g.map((t, n) => n === e ? {
562
562
  ...t,
563
563
  isEditing: !0
564
564
  } : {
@@ -566,7 +566,7 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
566
566
  isEditing: !1
567
567
  })), x(!1);
568
568
  }, R = (e) => {
569
- let t = m[e], n = P(t.key, t.originalKey, e);
569
+ let t = g[e], n = P(t.key, t.originalKey, e);
570
570
  if (n) {
571
571
  y({ [`edit-${e}`]: n });
572
572
  return;
@@ -575,23 +575,23 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
575
575
  y({ [`edit-${e}`]: f._({ id: "hXUWyd" }) });
576
576
  return;
577
577
  }
578
- _(m.map((t, n) => n === e ? {
578
+ _(g.map((t, n) => n === e ? {
579
579
  ...t,
580
580
  isEditing: !1,
581
581
  key: t.key.trim(),
582
582
  value: t.value.trim()
583
583
  } : t)), y({});
584
584
  }, z = (e) => {
585
- _(m.map((t, n) => n === e ? {
585
+ _(g.map((t, n) => n === e ? {
586
586
  ...t,
587
587
  isEditing: !1,
588
588
  key: t.originalKey ?? t.key,
589
589
  value: t.originalValue ?? t.value
590
590
  } : t)), y({});
591
591
  }, B = (e) => {
592
- _(m.filter((t, n) => n !== e)), M(null), y({});
592
+ _(g.filter((t, n) => n !== e)), M(null), y({});
593
593
  }, V = (e, t) => {
594
- _(m.map((n, r) => r === e ? {
594
+ _(g.map((n, r) => r === e ? {
595
595
  ...n,
596
596
  key: t
597
597
  } : n)), v[`edit-${e}`] && y((t) => {
@@ -599,7 +599,7 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
599
599
  return delete n[`edit-${e}`], n;
600
600
  });
601
601
  }, H = (e, t) => {
602
- _(m.map((n, r) => r === e ? {
602
+ _(g.map((n, r) => r === e ? {
603
603
  ...n,
604
604
  value: t
605
605
  } : n)), v[`edit-${e}`] && y((t) => {
@@ -607,51 +607,51 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
607
607
  return delete n[`edit-${e}`], n;
608
608
  });
609
609
  };
610
- return /* @__PURE__ */ w(o, {
610
+ return /* @__PURE__ */ w(m, {
611
611
  open: !0,
612
612
  onCancel: () => {
613
- _(l), x(!1), E(""), A(""), y({}), r();
613
+ _(u), x(!1), E(""), A(""), y({}), s();
614
614
  },
615
615
  size: "large",
616
616
  title: f._({ id: "yTtJTy" }),
617
617
  onConfirm: async () => {
618
- let e = {}, t = Object.fromEntries(l.filter((e) => !m.map((e) => e.originalKey).includes(e.originalKey) || !m.map((e) => e.key).includes(e.key)).map((e) => [e.key, null]));
619
- m.filter((e) => e.isNew || e.value !== e.originalValue || e.key !== e.originalKey).forEach((t) => {
618
+ let e = {}, t = Object.fromEntries(u.filter((e) => !g.map((e) => e.originalKey).includes(e.originalKey) || !g.map((e) => e.key).includes(e.key)).map((e) => [e.key, null]));
619
+ g.filter((e) => e.isNew || e.value !== e.originalValue || e.key !== e.originalKey).forEach((t) => {
620
620
  e[t.key] = t.value;
621
- }), await c({
621
+ }), await l({
622
622
  ...e,
623
623
  ...t
624
- }) && r();
624
+ }) && s();
625
625
  },
626
626
  confirmButtonLabel: f._({ id: "IUwGEM" }),
627
627
  cancelButtonLabel: f._({ id: "dEgA5A" }),
628
- disableConfirmButton: e || b || m.some((e) => e.isEditing) || N,
629
- children: [e && /* @__PURE__ */ C(h, {
628
+ disableConfirmButton: e || b || g.some((e) => e.isEditing) || N,
629
+ children: [e && /* @__PURE__ */ C(p, {
630
630
  distribution: "center",
631
631
  alignment: "center",
632
- children: /* @__PURE__ */ C(a, { variant: "primary" })
633
- }), !e && /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C(h, {
632
+ children: /* @__PURE__ */ C(i, { variant: "primary" })
633
+ }), !e && /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C(p, {
634
634
  direction: "horizontal",
635
635
  className: "jn:bg-theme-background-lvl-1 mb-4 justify-end p-2",
636
- children: /* @__PURE__ */ C(s, {
636
+ children: /* @__PURE__ */ C(c, {
637
637
  label: f._({ id: "sWBLli" }),
638
638
  onClick: () => x(!0),
639
639
  variant: "primary",
640
- disabled: b || m.some((e) => e.isEditing),
640
+ disabled: b || g.some((e) => e.isEditing),
641
641
  icon: "addCircle"
642
642
  })
643
- }), /* @__PURE__ */ w(n, {
643
+ }), /* @__PURE__ */ w(o, {
644
644
  columns: 3,
645
645
  minContentColumns: [2],
646
646
  className: "mb-6",
647
647
  children: [
648
- /* @__PURE__ */ w(t, { children: [
649
- /* @__PURE__ */ C(i, { children: f._({ id: "T8N6oi" }) }),
650
- /* @__PURE__ */ C(i, { children: f._({ id: "wMHvYH" }) }),
651
- /* @__PURE__ */ C(i, {})
648
+ /* @__PURE__ */ w(n, { children: [
649
+ /* @__PURE__ */ C(t, { children: f._({ id: "T8N6oi" }) }),
650
+ /* @__PURE__ */ C(t, { children: f._({ id: "wMHvYH" }) }),
651
+ /* @__PURE__ */ C(t, {})
652
652
  ] }),
653
- b && /* @__PURE__ */ w(t, { children: [
654
- /* @__PURE__ */ C(d, { children: /* @__PURE__ */ C(g, {
653
+ b && /* @__PURE__ */ w(n, { children: [
654
+ /* @__PURE__ */ C(r, { children: /* @__PURE__ */ C(a, {
655
655
  value: S,
656
656
  onChange: (e) => {
657
657
  E(e.target.value), v.newKey && y((e) => {
@@ -663,7 +663,7 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
663
663
  errortext: v.newKey,
664
664
  autoFocus: !0
665
665
  }) }),
666
- /* @__PURE__ */ C(d, { children: /* @__PURE__ */ C(g, {
666
+ /* @__PURE__ */ C(r, { children: /* @__PURE__ */ C(a, {
667
667
  value: O,
668
668
  onChange: (e) => {
669
669
  A(e.target.value), v.newValue && y((e) => {
@@ -674,16 +674,16 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
674
674
  placeholder: f._({ id: "wMHvYH" }),
675
675
  errortext: v.newValue
676
676
  }) }),
677
- /* @__PURE__ */ C(d, { children: /* @__PURE__ */ w(h, {
677
+ /* @__PURE__ */ C(r, { children: /* @__PURE__ */ w(p, {
678
678
  direction: "horizontal",
679
679
  gap: "2",
680
- children: [/* @__PURE__ */ C(s, {
680
+ children: [/* @__PURE__ */ C(c, {
681
681
  size: "small",
682
682
  variant: "primary",
683
683
  onClick: F,
684
684
  icon: "check",
685
685
  title: f._({ id: "tfDRzk" })
686
- }), /* @__PURE__ */ C(s, {
686
+ }), /* @__PURE__ */ C(c, {
687
687
  size: "small",
688
688
  variant: "subdued",
689
689
  onClick: I,
@@ -692,73 +692,73 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
692
692
  })]
693
693
  }) })
694
694
  ] }),
695
- m.map((e, n) => /* @__PURE__ */ w(t, { children: [
696
- /* @__PURE__ */ C(d, { children: e.isEditing ? /* @__PURE__ */ C(g, {
695
+ g.map((e, t) => /* @__PURE__ */ w(n, { children: [
696
+ /* @__PURE__ */ C(r, { children: e.isEditing ? /* @__PURE__ */ C(a, {
697
697
  value: e.key,
698
- onChange: (e) => V(n, e.target.value),
699
- errortext: v[`edit-${n}`]
698
+ onChange: (e) => V(t, e.target.value),
699
+ errortext: v[`edit-${t}`]
700
700
  }) : /* @__PURE__ */ C("span", {
701
701
  className: "jn:text-theme-high block max-w-xs truncate font-mono",
702
702
  title: e.key,
703
703
  children: e.key
704
704
  }) }),
705
- /* @__PURE__ */ C(d, { children: e.isEditing ? /* @__PURE__ */ C(g, {
705
+ /* @__PURE__ */ C(r, { children: e.isEditing ? /* @__PURE__ */ C(a, {
706
706
  value: e.value,
707
- onChange: (e) => H(n, e.target.value)
707
+ onChange: (e) => H(t, e.target.value)
708
708
  }) : /* @__PURE__ */ C("span", {
709
709
  className: "jn:text-theme-default block max-w-md truncate",
710
710
  title: e.value,
711
711
  children: e.value
712
712
  }) }),
713
- /* @__PURE__ */ C(d, { children: e.isEditing ? /* @__PURE__ */ w(h, {
713
+ /* @__PURE__ */ C(r, { children: e.isEditing ? /* @__PURE__ */ w(p, {
714
714
  direction: "horizontal",
715
715
  gap: "2",
716
- children: [/* @__PURE__ */ C(s, {
716
+ children: [/* @__PURE__ */ C(c, {
717
717
  size: "small",
718
718
  variant: "primary",
719
- onClick: () => R(n),
719
+ onClick: () => R(t),
720
720
  icon: "check",
721
721
  title: f._({ id: "tfDRzk" })
722
- }), /* @__PURE__ */ C(s, {
722
+ }), /* @__PURE__ */ C(c, {
723
723
  size: "small",
724
724
  variant: "subdued",
725
- onClick: () => z(n),
725
+ onClick: () => z(t),
726
726
  icon: "close",
727
727
  title: f._({ id: "bzSI52" })
728
728
  })]
729
- }) : /* @__PURE__ */ w(h, {
729
+ }) : /* @__PURE__ */ w(p, {
730
730
  direction: "horizontal",
731
731
  gap: "2",
732
- children: [j !== n && /* @__PURE__ */ C(s, {
732
+ children: [j !== t && /* @__PURE__ */ C(c, {
733
733
  size: "small",
734
734
  variant: "subdued",
735
- onClick: () => L(n),
735
+ onClick: () => L(t),
736
736
  icon: "edit",
737
737
  "data-testid": `edit-${e.key}`,
738
738
  title: f._({ id: "ePK91l" }),
739
- disabled: b || m.some((e) => e.isEditing)
740
- }), j === n ? /* @__PURE__ */ C(s, {
739
+ disabled: b || g.some((e) => e.isEditing)
740
+ }), j === t ? /* @__PURE__ */ C(c, {
741
741
  size: "small",
742
742
  variant: "primary-danger",
743
- onClick: () => B(n),
743
+ onClick: () => B(t),
744
744
  "data-testid": `confirm-delete-${e.key}`,
745
745
  title: f._({ id: "cnGeoo" }),
746
- disabled: b || m.some((e) => e.isEditing),
746
+ disabled: b || g.some((e) => e.isEditing),
747
747
  children: f._({ id: "cnGeoo" })
748
- }) : /* @__PURE__ */ C(s, {
748
+ }) : /* @__PURE__ */ C(c, {
749
749
  size: "small",
750
- onClick: () => M(n),
750
+ onClick: () => M(t),
751
751
  icon: "deleteForever",
752
752
  "data-testid": `delete-${e.key}`,
753
753
  title: f._({ id: "cnGeoo" }),
754
- disabled: b || m.some((e) => e.isEditing)
754
+ disabled: b || g.some((e) => e.isEditing)
755
755
  })]
756
756
  }) })
757
- ] }, `${e.originalKey}-${n}`)),
758
- m.length === 0 && !b && /* @__PURE__ */ C(t, { children: /* @__PURE__ */ C(d, {
757
+ ] }, `${e.originalKey}-${t}`)),
758
+ g.length === 0 && !b && /* @__PURE__ */ C(n, { children: /* @__PURE__ */ C(r, {
759
759
  colSpan: 3,
760
760
  className: "jn:text-theme-light py-8 text-center",
761
- children: /* @__PURE__ */ C(h, {
761
+ children: /* @__PURE__ */ C(p, {
762
762
  alignment: "center",
763
763
  children: /* @__PURE__ */ C("span", { children: f._({ id: "t1POAD" }) })
764
764
  })
@@ -767,154 +767,154 @@ function U({ isLoading: e, onClose: r, onSave: c, initialMetadata: l, excludedPr
767
767
  })] })]
768
768
  });
769
769
  }
770
- var W = ({ image: e, isOpen: t, isLoading: n = !1, onClose: r, onSave: i }) => {
771
- let { i18n: s, _: c } = k(), l = x(), { data: u, isLoading: d, isError: f } = y.compute.getImageMetadataExcludedProperties.useQuery({ project_id: l }, { enabled: t }), p = E(() => new Set((u ?? []).map((e) => e.toLowerCase())), [u]), m = E(() => H(e, p), [
770
+ var ee = ({ image: e, isOpen: t, isLoading: n = !1, onClose: r, onSave: a }) => {
771
+ let { i18n: o, _: s } = k(), c = x(), { data: l, isLoading: u, isError: d } = y.compute.getImageMetadataExcludedProperties.useQuery({ project_id: c }, { enabled: t }), f = E(() => new Set((l ?? []).map((e) => e.toLowerCase())), [l]), h = E(() => H(e, f), [
772
772
  e.id,
773
773
  e.updated_at,
774
- p
774
+ f
775
775
  ]);
776
- return t ? d ? /* @__PURE__ */ C(o, {
776
+ return t ? u ? /* @__PURE__ */ C(m, {
777
777
  open: !0,
778
778
  onCancel: r,
779
779
  size: "large",
780
- title: s._({ id: "yTtJTy" }),
781
- children: /* @__PURE__ */ C(h, {
780
+ title: o._({ id: "yTtJTy" }),
781
+ children: /* @__PURE__ */ C(p, {
782
782
  distribution: "center",
783
783
  alignment: "center",
784
- children: /* @__PURE__ */ C(a, { variant: "primary" })
784
+ children: /* @__PURE__ */ C(i, { variant: "primary" })
785
785
  })
786
- }) : f ? /* @__PURE__ */ C(o, {
786
+ }) : d ? /* @__PURE__ */ C(m, {
787
787
  open: !0,
788
788
  onCancel: r,
789
789
  size: "large",
790
- title: s._({ id: "yTtJTy" }),
791
- children: /* @__PURE__ */ C(h, {
790
+ title: o._({ id: "yTtJTy" }),
791
+ children: /* @__PURE__ */ C(p, {
792
792
  distribution: "center",
793
793
  alignment: "center",
794
- children: /* @__PURE__ */ C("span", { children: s._({ id: "PYQUjU" }) })
794
+ children: /* @__PURE__ */ C("span", { children: o._({ id: "PYQUjU" }) })
795
795
  })
796
796
  }) : /* @__PURE__ */ C(U, {
797
797
  isLoading: n,
798
798
  onClose: r,
799
- onSave: i,
800
- initialMetadata: m,
801
- excludedProperties: p
802
- }, `${e.id}-${e.updated_at}-${p.size}`) : null;
803
- }, G = ({ image: e, isOpen: c, isLoading: u, isDisabled: f, onClose: p, onDelete: m }) => {
804
- if (!e) return null;
805
- let { i18n: g, _ } = k(), y = (t) => {
806
- t.preventDefault(), m(e);
799
+ onSave: a,
800
+ initialMetadata: h,
801
+ excludedProperties: f
802
+ }, `${e.id}-${e.updated_at}-${f.size}`) : null;
803
+ }, W = ({ image: a, isOpen: s, isLoading: l, isDisabled: d, onClose: f, onDelete: g }) => {
804
+ if (!a) return null;
805
+ let { i18n: _, _: v } = k(), y = (e) => {
806
+ e.preventDefault(), g(a);
807
807
  };
808
- return /* @__PURE__ */ w(o, {
809
- onCancel: p,
808
+ return /* @__PURE__ */ w(m, {
809
+ onCancel: f,
810
810
  size: "small",
811
811
  title: "Delete Image",
812
- open: c,
813
- modalFooter: /* @__PURE__ */ C(v, {
812
+ open: s,
813
+ modalFooter: /* @__PURE__ */ C(e, {
814
814
  className: "flex justify-end",
815
- children: /* @__PURE__ */ w(l, { children: [/* @__PURE__ */ C(s, {
815
+ children: /* @__PURE__ */ w(u, { children: [/* @__PURE__ */ C(c, {
816
816
  variant: "default",
817
- onClick: p,
817
+ onClick: f,
818
818
  children: /* @__PURE__ */ C(O, { id: "dEgA5A" })
819
- }), /* @__PURE__ */ C(s, {
819
+ }), /* @__PURE__ */ C(c, {
820
820
  variant: "primary-danger",
821
821
  onClick: (e) => {
822
- y(e), p();
822
+ y(e), f();
823
823
  },
824
- disabled: u || f,
824
+ disabled: l || d,
825
825
  "data-testid": "delete-image-button",
826
- children: u ? /* @__PURE__ */ C(a, { size: "small" }) : /* @__PURE__ */ C(O, { id: "cnGeoo" })
826
+ children: l ? /* @__PURE__ */ C(i, { size: "small" }) : /* @__PURE__ */ C(O, { id: "cnGeoo" })
827
827
  })] })
828
828
  }),
829
- children: [u && /* @__PURE__ */ C(h, {
829
+ children: [l && /* @__PURE__ */ C(p, {
830
830
  distribution: "center",
831
831
  alignment: "center",
832
- children: /* @__PURE__ */ C(a, { variant: "primary" })
833
- }), !u && /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C(r, {
834
- text: g._({ id: "2zceEg" }),
832
+ children: /* @__PURE__ */ C(i, { variant: "primary" })
833
+ }), !l && /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C(h, {
834
+ text: _._({ id: "2zceEg" }),
835
835
  variant: "danger",
836
836
  className: "mb-4"
837
- }), e && /* @__PURE__ */ w(n, {
837
+ }), a && /* @__PURE__ */ w(o, {
838
838
  columns: 2,
839
839
  children: [
840
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: g._({ id: "6YtxFj" }) }), /* @__PURE__ */ C(d, { children: e.name || g._({ id: "MEIAzV" }) })] }),
841
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: g._({ id: "dFb5Nt" }) }), /* @__PURE__ */ C(d, { children: e.id })] }),
842
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: g._({ id: "uAQUqI" }) }), /* @__PURE__ */ C(d, { children: e.status })] }),
843
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: g._({ id: "2q/Q7x" }) }), /* @__PURE__ */ C(d, { children: e.visibility })] }),
844
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: g._({ id: "Cj2Gtd" }) }), /* @__PURE__ */ C(d, { children: /* @__PURE__ */ C(A, { size: e.size }) })] }),
845
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: g._({ id: "NopYGU" }) }), /* @__PURE__ */ C(d, { children: e.disk_format || g._({ id: "fj5byd" }) })] }),
846
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: g._({ id: "d+F6q9" }) }), /* @__PURE__ */ C(d, { children: e.created_at ? new Date(e.created_at).toLocaleDateString() : g._({ id: "fj5byd" }) })] })
840
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: _._({ id: "6YtxFj" }) }), /* @__PURE__ */ C(r, { children: a.name || _._({ id: "MEIAzV" }) })] }),
841
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: _._({ id: "dFb5Nt" }) }), /* @__PURE__ */ C(r, { children: a.id })] }),
842
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: _._({ id: "uAQUqI" }) }), /* @__PURE__ */ C(r, { children: a.status })] }),
843
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: _._({ id: "2q/Q7x" }) }), /* @__PURE__ */ C(r, { children: a.visibility })] }),
844
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: _._({ id: "Cj2Gtd" }) }), /* @__PURE__ */ C(r, { children: /* @__PURE__ */ C(A, { size: a.size }) })] }),
845
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: _._({ id: "NopYGU" }) }), /* @__PURE__ */ C(r, { children: a.disk_format || _._({ id: "fj5byd" }) })] }),
846
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: _._({ id: "d+F6q9" }) }), /* @__PURE__ */ C(r, { children: a.created_at ? new Date(a.created_at).toLocaleDateString() : _._({ id: "fj5byd" }) })] })
847
847
  ]
848
848
  })] })]
849
849
  });
850
- }, K = ({ image: e, isOpen: r, isLoading: s, onClose: c, onActivate: l }) => {
850
+ }, G = ({ image: e, isOpen: a, isLoading: s, onClose: c, onActivate: l }) => {
851
851
  if (!e) return null;
852
- let { i18n: u, _: f } = k();
853
- return /* @__PURE__ */ w(o, {
852
+ let { i18n: u, _: d } = k();
853
+ return /* @__PURE__ */ w(m, {
854
854
  onCancel: c,
855
855
  size: "small",
856
856
  title: u._({ id: "RSFkXF" }),
857
- open: r,
857
+ open: a,
858
858
  onConfirm: (t) => {
859
859
  t.preventDefault(), l(e);
860
860
  },
861
861
  confirmButtonLabel: u._({ id: "FQBaXG" }),
862
862
  cancelButtonLabel: u._({ id: "dEgA5A" }),
863
863
  disableConfirmButton: s,
864
- children: [s && /* @__PURE__ */ C(h, {
864
+ children: [s && /* @__PURE__ */ C(p, {
865
865
  distribution: "center",
866
866
  alignment: "center",
867
- children: /* @__PURE__ */ C(a, { variant: "primary" })
867
+ children: /* @__PURE__ */ C(i, { variant: "primary" })
868
868
  }), !s && /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
869
869
  className: "mb-6",
870
870
  children: /* @__PURE__ */ C(O, { id: "+NwLgN" })
871
- }), /* @__PURE__ */ w(n, {
871
+ }), /* @__PURE__ */ w(o, {
872
872
  columns: 2,
873
873
  children: [
874
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "6YtxFj" }) }), /* @__PURE__ */ C(d, { children: e.name || u._({ id: "MEIAzV" }) })] }),
875
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "dFb5Nt" }) }), /* @__PURE__ */ C(d, { children: e.id })] }),
876
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "uAQUqI" }) }), /* @__PURE__ */ C(d, { children: e.status })] }),
877
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "2q/Q7x" }) }), /* @__PURE__ */ C(d, { children: e.visibility })] }),
878
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "Cj2Gtd" }) }), /* @__PURE__ */ C(d, { children: /* @__PURE__ */ C(A, { size: e.size }) })] }),
879
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "NopYGU" }) }), /* @__PURE__ */ C(d, { children: e.disk_format || u._({ id: "fj5byd" }) })] }),
880
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "d+F6q9" }) }), /* @__PURE__ */ C(d, { children: (() => {
874
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "6YtxFj" }) }), /* @__PURE__ */ C(r, { children: e.name || u._({ id: "MEIAzV" }) })] }),
875
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "dFb5Nt" }) }), /* @__PURE__ */ C(r, { children: e.id })] }),
876
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "uAQUqI" }) }), /* @__PURE__ */ C(r, { children: e.status })] }),
877
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "2q/Q7x" }) }), /* @__PURE__ */ C(r, { children: e.visibility })] }),
878
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "Cj2Gtd" }) }), /* @__PURE__ */ C(r, { children: /* @__PURE__ */ C(A, { size: e.size }) })] }),
879
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "NopYGU" }) }), /* @__PURE__ */ C(r, { children: e.disk_format || u._({ id: "fj5byd" }) })] }),
880
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "d+F6q9" }) }), /* @__PURE__ */ C(r, { children: (() => {
881
881
  let t = new Date(e.created_at ?? "");
882
882
  return isNaN(t.getTime()) ? u._({ id: "fj5byd" }) : t.toLocaleDateString();
883
883
  })() })] })
884
884
  ]
885
885
  })] })]
886
886
  });
887
- }, q = ({ image: e, isOpen: r, isLoading: s, onClose: c, onDeactivate: l }) => {
887
+ }, K = ({ image: e, isOpen: a, isLoading: s, onClose: c, onDeactivate: l }) => {
888
888
  if (!e) return null;
889
- let { i18n: u, _: f } = k();
890
- return /* @__PURE__ */ w(o, {
889
+ let { i18n: u, _: d } = k();
890
+ return /* @__PURE__ */ w(m, {
891
891
  onCancel: c,
892
892
  size: "small",
893
893
  title: u._({ id: "hQr1Cr" }),
894
- open: r,
894
+ open: a,
895
895
  onConfirm: (t) => {
896
896
  t.preventDefault(), l(e);
897
897
  },
898
898
  confirmButtonLabel: u._({ id: "5y3O+A" }),
899
899
  cancelButtonLabel: u._({ id: "dEgA5A" }),
900
900
  disableConfirmButton: s,
901
- children: [s && /* @__PURE__ */ C(h, {
901
+ children: [s && /* @__PURE__ */ C(p, {
902
902
  distribution: "center",
903
903
  alignment: "center",
904
- children: /* @__PURE__ */ C(a, { variant: "primary" })
904
+ children: /* @__PURE__ */ C(i, { variant: "primary" })
905
905
  }), !s && /* @__PURE__ */ w("div", { children: [/* @__PURE__ */ C("p", {
906
906
  className: "mb-6",
907
907
  children: /* @__PURE__ */ C(O, { id: "8TSI9h" })
908
- }), /* @__PURE__ */ w(n, {
908
+ }), /* @__PURE__ */ w(o, {
909
909
  columns: 2,
910
910
  children: [
911
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "6YtxFj" }) }), /* @__PURE__ */ C(d, { children: e.name || u._({ id: "MEIAzV" }) })] }),
912
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "dFb5Nt" }) }), /* @__PURE__ */ C(d, { children: e.id })] }),
913
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "uAQUqI" }) }), /* @__PURE__ */ C(d, { children: e.status })] }),
914
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "2q/Q7x" }) }), /* @__PURE__ */ C(d, { children: e.visibility })] }),
915
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "Cj2Gtd" }) }), /* @__PURE__ */ C(d, { children: /* @__PURE__ */ C(A, { size: e.size }) })] }),
916
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "NopYGU" }) }), /* @__PURE__ */ C(d, { children: e.disk_format || u._({ id: "fj5byd" }) })] }),
917
- /* @__PURE__ */ w(t, { children: [/* @__PURE__ */ C(i, { children: u._({ id: "d+F6q9" }) }), /* @__PURE__ */ C(d, { children: (() => {
911
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "6YtxFj" }) }), /* @__PURE__ */ C(r, { children: e.name || u._({ id: "MEIAzV" }) })] }),
912
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "dFb5Nt" }) }), /* @__PURE__ */ C(r, { children: e.id })] }),
913
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "uAQUqI" }) }), /* @__PURE__ */ C(r, { children: e.status })] }),
914
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "2q/Q7x" }) }), /* @__PURE__ */ C(r, { children: e.visibility })] }),
915
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "Cj2Gtd" }) }), /* @__PURE__ */ C(r, { children: /* @__PURE__ */ C(A, { size: e.size }) })] }),
916
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "NopYGU" }) }), /* @__PURE__ */ C(r, { children: e.disk_format || u._({ id: "fj5byd" }) })] }),
917
+ /* @__PURE__ */ w(n, { children: [/* @__PURE__ */ C(t, { children: u._({ id: "d+F6q9" }) }), /* @__PURE__ */ C(r, { children: (() => {
918
918
  let t = new Date(e.created_at ?? "");
919
919
  return isNaN(t.getTime()) ? u._({ id: "fj5byd" }) : t.toLocaleDateString();
920
920
  })() })] })
@@ -924,8 +924,8 @@ var W = ({ image: e, isOpen: t, isLoading: n = !1, onClose: r, onSave: i }) => {
924
924
  };
925
925
  //#endregion
926
926
  //#region src/client/routes/_auth/projects/$projectId/compute/-components/Images/-components/NotificationText.tsx
927
- function J({ title: e, description: t }) {
928
- return /* @__PURE__ */ w(h, {
927
+ function q({ title: e, description: t }) {
928
+ return /* @__PURE__ */ w(p, {
929
929
  direction: "vertical",
930
930
  gap: "1.5",
931
931
  children: [/* @__PURE__ */ C("span", { children: e }), /* @__PURE__ */ C("span", {
@@ -936,9 +936,9 @@ function J({ title: e, description: t }) {
936
936
  }
937
937
  //#endregion
938
938
  //#region src/client/routes/_auth/projects/$projectId/compute/-components/Images/-components/ImageToastNotifications.tsx
939
- var Y = (e, t) => ({
939
+ var J = (e, t) => ({
940
940
  variant: "success",
941
- children: /* @__PURE__ */ C(J, {
941
+ children: /* @__PURE__ */ C(q, {
942
942
  title: /* @__PURE__ */ C(O, { id: "bM1O3m" }),
943
943
  description: /* @__PURE__ */ C(O, {
944
944
  id: "hHL/wm",
@@ -948,9 +948,9 @@ var Y = (e, t) => ({
948
948
  autoDismiss: !0,
949
949
  autoDismissTimeout: t.autoDismissTimeout ?? 3e3,
950
950
  onDismiss: t.onDismiss
951
- }), X = (e, t, n) => ({
951
+ }), Y = (e, t, n) => ({
952
952
  variant: "error",
953
- children: /* @__PURE__ */ C(J, {
953
+ children: /* @__PURE__ */ C(q, {
954
954
  title: /* @__PURE__ */ C(O, { id: "9iz2XW" }),
955
955
  description: /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C(O, {
956
956
  id: "9SX0bO",
@@ -960,9 +960,9 @@ var Y = (e, t) => ({
960
960
  autoDismiss: !0,
961
961
  autoDismissTimeout: n.autoDismissTimeout ?? 5e3,
962
962
  onDismiss: n.onDismiss
963
- }), Z = (e, t) => ({
963
+ }), X = (e, t) => ({
964
964
  variant: "success",
965
- children: /* @__PURE__ */ C(J, {
965
+ children: /* @__PURE__ */ C(q, {
966
966
  title: /* @__PURE__ */ C(O, { id: "bM1O3m" }),
967
967
  description: /* @__PURE__ */ C(O, {
968
968
  id: "8AriEH",
@@ -972,9 +972,9 @@ var Y = (e, t) => ({
972
972
  autoDismiss: !0,
973
973
  autoDismissTimeout: t.autoDismissTimeout ?? 3e3,
974
974
  onDismiss: t.onDismiss
975
- }), Q = (e, t, n) => ({
975
+ }), Z = (e, t, n) => ({
976
976
  variant: "error",
977
- children: /* @__PURE__ */ C(J, {
977
+ children: /* @__PURE__ */ C(q, {
978
978
  title: /* @__PURE__ */ C(O, { id: "lWTy+Y" }),
979
979
  description: /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C(O, {
980
980
  id: "jhU93c",
@@ -984,9 +984,9 @@ var Y = (e, t) => ({
984
984
  autoDismiss: !0,
985
985
  autoDismissTimeout: n.autoDismissTimeout ?? 5e3,
986
986
  onDismiss: n.onDismiss
987
- }), $ = (e, t, n) => ({
987
+ }), Q = (e, t, n) => ({
988
988
  variant: "error",
989
- children: /* @__PURE__ */ C(J, {
989
+ children: /* @__PURE__ */ C(q, {
990
990
  title: /* @__PURE__ */ C(O, { id: "AGXLLY" }),
991
991
  description: /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C(O, {
992
992
  id: "bRgFkJ",
@@ -996,9 +996,9 @@ var Y = (e, t) => ({
996
996
  autoDismiss: !0,
997
997
  autoDismissTimeout: n.autoDismissTimeout ?? 5e3,
998
998
  onDismiss: n.onDismiss
999
- }), ee = (e, t) => ({
999
+ }), te = (e, t) => ({
1000
1000
  variant: "success",
1001
- children: /* @__PURE__ */ C(J, {
1001
+ children: /* @__PURE__ */ C(q, {
1002
1002
  title: /* @__PURE__ */ C(O, { id: "bM1O3m" }),
1003
1003
  description: /* @__PURE__ */ C(O, {
1004
1004
  id: "S1iTXO",
@@ -1008,9 +1008,9 @@ var Y = (e, t) => ({
1008
1008
  autoDismiss: !0,
1009
1009
  autoDismissTimeout: t.autoDismissTimeout ?? 3e3,
1010
1010
  onDismiss: t.onDismiss
1011
- }), te = (e, t, n) => ({
1011
+ }), ne = (e, t, n) => ({
1012
1012
  variant: "error",
1013
- children: /* @__PURE__ */ C(J, {
1013
+ children: /* @__PURE__ */ C(q, {
1014
1014
  title: /* @__PURE__ */ C(O, { id: "o/VDOG" }),
1015
1015
  description: /* @__PURE__ */ C(O, {
1016
1016
  id: "c1uL4p",
@@ -1023,9 +1023,9 @@ var Y = (e, t) => ({
1023
1023
  autoDismiss: !0,
1024
1024
  autoDismissTimeout: n.autoDismissTimeout ?? 3e3,
1025
1025
  onDismiss: n.onDismiss
1026
- }), ne = (e, t) => ({
1026
+ }), re = (e, t) => ({
1027
1027
  variant: "success",
1028
- children: /* @__PURE__ */ C(J, {
1028
+ children: /* @__PURE__ */ C(q, {
1029
1029
  title: /* @__PURE__ */ C(O, { id: "bM1O3m" }),
1030
1030
  description: /* @__PURE__ */ C(O, {
1031
1031
  id: "cj17eo",
@@ -1035,9 +1035,9 @@ var Y = (e, t) => ({
1035
1035
  autoDismiss: !0,
1036
1036
  autoDismissTimeout: t.autoDismissTimeout ?? 3e3,
1037
1037
  onDismiss: t.onDismiss
1038
- }), re = (e, t) => ({
1038
+ }), ie = (e, t) => ({
1039
1039
  variant: "success",
1040
- children: /* @__PURE__ */ C(J, {
1040
+ children: /* @__PURE__ */ C(q, {
1041
1041
  title: /* @__PURE__ */ C(O, { id: "bM1O3m" }),
1042
1042
  description: /* @__PURE__ */ C(O, {
1043
1043
  id: "ZcWMT1",
@@ -1047,9 +1047,9 @@ var Y = (e, t) => ({
1047
1047
  autoDismiss: !0,
1048
1048
  autoDismissTimeout: t.autoDismissTimeout ?? 3e3,
1049
1049
  onDismiss: t.onDismiss
1050
- }), ie = (e, t, n) => ({
1050
+ }), ae = (e, t, n) => ({
1051
1051
  variant: "error",
1052
- children: /* @__PURE__ */ C(J, {
1052
+ children: /* @__PURE__ */ C(q, {
1053
1053
  title: /* @__PURE__ */ C(O, { id: "tiflqy" }),
1054
1054
  description: /* @__PURE__ */ C(O, {
1055
1055
  id: "9dsDHD",
@@ -1062,9 +1062,9 @@ var Y = (e, t) => ({
1062
1062
  autoDismiss: !0,
1063
1063
  autoDismissTimeout: n.autoDismissTimeout ?? 3e3,
1064
1064
  onDismiss: n.onDismiss
1065
- }), ae = (e, t, n) => ({
1065
+ }), oe = (e, t, n) => ({
1066
1066
  variant: "error",
1067
- children: /* @__PURE__ */ C(J, {
1067
+ children: /* @__PURE__ */ C(q, {
1068
1068
  title: /* @__PURE__ */ C(O, { id: "BYH/2L" }),
1069
1069
  description: /* @__PURE__ */ C(O, {
1070
1070
  id: "S63NbU",
@@ -1077,9 +1077,9 @@ var Y = (e, t) => ({
1077
1077
  autoDismiss: !0,
1078
1078
  autoDismissTimeout: n.autoDismissTimeout ?? 3e3,
1079
1079
  onDismiss: n.onDismiss
1080
- }), oe = (e, t, n) => ({
1080
+ }), se = (e, t, n) => ({
1081
1081
  variant: "success",
1082
- children: /* @__PURE__ */ C(J, {
1082
+ children: /* @__PURE__ */ C(q, {
1083
1083
  title: /* @__PURE__ */ C(O, { id: "CFMxC8" }),
1084
1084
  description: /* @__PURE__ */ C(O, {
1085
1085
  id: "T7mgdd",
@@ -1092,9 +1092,9 @@ var Y = (e, t) => ({
1092
1092
  autoDismiss: !0,
1093
1093
  autoDismissTimeout: n.autoDismissTimeout ?? 3e3,
1094
1094
  onDismiss: n.onDismiss
1095
- }), se = (e, t, n) => ({
1095
+ }), ce = (e, t, n) => ({
1096
1096
  variant: "error",
1097
- children: /* @__PURE__ */ C(J, {
1097
+ children: /* @__PURE__ */ C(q, {
1098
1098
  title: /* @__PURE__ */ C(O, { id: "fIvd7X" }),
1099
1099
  description: /* @__PURE__ */ C(O, {
1100
1100
  id: "xNZKYy",
@@ -1107,9 +1107,9 @@ var Y = (e, t) => ({
1107
1107
  autoDismiss: !0,
1108
1108
  autoDismissTimeout: n.autoDismissTimeout ?? 5e3,
1109
1109
  onDismiss: n.onDismiss
1110
- }), ce = (e, t, n) => ({
1110
+ }), le = (e, t, n) => ({
1111
1111
  variant: "warning",
1112
- children: /* @__PURE__ */ C(J, {
1112
+ children: /* @__PURE__ */ C(q, {
1113
1113
  title: /* @__PURE__ */ C(O, { id: "Z5r9vC" }),
1114
1114
  description: /* @__PURE__ */ C(O, {
1115
1115
  id: "plnnns",
@@ -1122,9 +1122,9 @@ var Y = (e, t) => ({
1122
1122
  autoDismiss: !0,
1123
1123
  autoDismissTimeout: n.autoDismissTimeout ?? 5e3,
1124
1124
  onDismiss: n.onDismiss
1125
- }), le = (e, t, n) => ({
1125
+ }), ue = (e, t, n) => ({
1126
1126
  variant: "success",
1127
- children: /* @__PURE__ */ C(J, {
1127
+ children: /* @__PURE__ */ C(q, {
1128
1128
  title: /* @__PURE__ */ C(O, { id: "ryf/ee" }),
1129
1129
  description: /* @__PURE__ */ C(O, {
1130
1130
  id: "J9QcnV",
@@ -1137,9 +1137,9 @@ var Y = (e, t) => ({
1137
1137
  autoDismiss: !0,
1138
1138
  autoDismissTimeout: n.autoDismissTimeout ?? 3e3,
1139
1139
  onDismiss: n.onDismiss
1140
- }), ue = (e, t, n) => ({
1140
+ }), de = (e, t, n) => ({
1141
1141
  variant: "error",
1142
- children: /* @__PURE__ */ C(J, {
1142
+ children: /* @__PURE__ */ C(q, {
1143
1143
  title: /* @__PURE__ */ C(O, { id: "9njIiV" }),
1144
1144
  description: /* @__PURE__ */ C(O, {
1145
1145
  id: "R6u5CR",
@@ -1152,9 +1152,9 @@ var Y = (e, t) => ({
1152
1152
  autoDismiss: !0,
1153
1153
  autoDismissTimeout: n.autoDismissTimeout ?? 5e3,
1154
1154
  onDismiss: n.onDismiss
1155
- }), de = (e, t, n) => ({
1155
+ }), fe = (e, t, n) => ({
1156
1156
  variant: "warning",
1157
- children: /* @__PURE__ */ C(J, {
1157
+ children: /* @__PURE__ */ C(q, {
1158
1158
  title: /* @__PURE__ */ C(O, { id: "YZmsaT" }),
1159
1159
  description: /* @__PURE__ */ C(O, {
1160
1160
  id: "GbKqnI",
@@ -1167,9 +1167,9 @@ var Y = (e, t) => ({
1167
1167
  autoDismiss: !0,
1168
1168
  autoDismissTimeout: n.autoDismissTimeout ?? 5e3,
1169
1169
  onDismiss: n.onDismiss
1170
- }), fe = (e, t, n) => ({
1170
+ }), pe = (e, t, n) => ({
1171
1171
  variant: "success",
1172
- children: /* @__PURE__ */ C(J, {
1172
+ children: /* @__PURE__ */ C(q, {
1173
1173
  title: /* @__PURE__ */ C(O, { id: "h8h6oz" }),
1174
1174
  description: /* @__PURE__ */ C(O, {
1175
1175
  id: "ZAy0zp",
@@ -1182,9 +1182,9 @@ var Y = (e, t) => ({
1182
1182
  autoDismiss: !0,
1183
1183
  autoDismissTimeout: n.autoDismissTimeout ?? 3e3,
1184
1184
  onDismiss: n.onDismiss
1185
- }), pe = (e, t, n) => ({
1185
+ }), me = (e, t, n) => ({
1186
1186
  variant: "error",
1187
- children: /* @__PURE__ */ C(J, {
1187
+ children: /* @__PURE__ */ C(q, {
1188
1188
  title: /* @__PURE__ */ C(O, { id: "fJpv9x" }),
1189
1189
  description: /* @__PURE__ */ C(O, {
1190
1190
  id: "quU9wK",
@@ -1197,9 +1197,9 @@ var Y = (e, t) => ({
1197
1197
  autoDismiss: !0,
1198
1198
  autoDismissTimeout: n.autoDismissTimeout ?? 5e3,
1199
1199
  onDismiss: n.onDismiss
1200
- }), me = (e, t, n) => ({
1200
+ }), $ = (e, t, n) => ({
1201
1201
  variant: "warning",
1202
- children: /* @__PURE__ */ C(J, {
1202
+ children: /* @__PURE__ */ C(q, {
1203
1203
  title: /* @__PURE__ */ C(O, { id: "JfWCsP" }),
1204
1204
  description: /* @__PURE__ */ C(O, {
1205
1205
  id: "8t1+HU",
@@ -1214,7 +1214,7 @@ var Y = (e, t) => ({
1214
1214
  onDismiss: n.onDismiss
1215
1215
  }), he = (e, t) => ({
1216
1216
  variant: "info",
1217
- children: /* @__PURE__ */ C(J, {
1217
+ children: /* @__PURE__ */ C(q, {
1218
1218
  title: /* @__PURE__ */ C(O, { id: "V66Jih" }),
1219
1219
  description: /* @__PURE__ */ C(O, {
1220
1220
  id: "Vmojta",
@@ -1226,7 +1226,7 @@ var Y = (e, t) => ({
1226
1226
  onDismiss: t.onDismiss
1227
1227
  }), ge = (e, t) => ({
1228
1228
  variant: "error",
1229
- children: /* @__PURE__ */ C(J, {
1229
+ children: /* @__PURE__ */ C(q, {
1230
1230
  title: /* @__PURE__ */ C(O, { id: "V66Jih" }),
1231
1231
  description: e || /* @__PURE__ */ C(O, { id: "QYiqYb" })
1232
1232
  }),
@@ -1235,7 +1235,7 @@ var Y = (e, t) => ({
1235
1235
  onDismiss: t.onDismiss
1236
1236
  }), _e = (e, t, n) => ({
1237
1237
  variant: "success",
1238
- children: /* @__PURE__ */ C(J, {
1238
+ children: /* @__PURE__ */ C(q, {
1239
1239
  title: /* @__PURE__ */ C(O, { id: "OSlLnz" }),
1240
1240
  description: /* @__PURE__ */ C(O, {
1241
1241
  id: "CA8ZeT",
@@ -1250,7 +1250,7 @@ var Y = (e, t) => ({
1250
1250
  onDismiss: n.onDismiss
1251
1251
  }), ve = (e, t, n) => ({
1252
1252
  variant: "error",
1253
- children: /* @__PURE__ */ C(J, {
1253
+ children: /* @__PURE__ */ C(q, {
1254
1254
  title: /* @__PURE__ */ C(O, { id: "aqagJH" }),
1255
1255
  description: /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C(O, {
1256
1256
  id: "hkjZ7P",
@@ -1262,6 +1262,6 @@ var Y = (e, t) => ({
1262
1262
  onDismiss: n.onDismiss
1263
1263
  });
1264
1264
  //#endregion
1265
- export { z as A, ve as C, G as D, K as E, j as F, A as I, P as M, M as N, W as O, N as P, Y as S, q as T, ae as _, me as a, $ as b, ce as c, he as d, ne as f, re as g, Z as h, pe as i, F as j, B as k, oe as l, Q as m, de as n, fe as o, ie as p, le as r, se as s, ue as t, ge as u, te as v, _e as w, X as x, ee as y };
1265
+ export { z as A, ve as C, W as D, G as E, j as F, A as I, P as M, M as N, ee as O, N as P, J as S, K as T, oe as _, $ as a, Q as b, le as c, he as d, re as f, ie as g, X as h, me as i, F as j, B as k, se as l, Z as m, fe as n, pe as o, ae as p, ue as r, ce as s, de as t, ge as u, ne as v, _e as w, Y as x, te as y };
1266
1266
 
1267
- //# sourceMappingURL=ImageToastNotifications--U13YiQ_.mjs.map
1267
+ //# sourceMappingURL=ImageToastNotifications-BG9LPnXf.mjs.map