@cobaltcore-dev/aurora 0.7.0 → 0.8.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 (108) hide show
  1. package/README.md +101 -7
  2. package/dist/client/AuroraApp.d.ts +38 -0
  3. package/dist/client/{ContentHeader-kx1Th5Sq.mjs → ContentHeader-C51H95X8.mjs} +24 -20
  4. package/dist/client/ContentHeader-C51H95X8.mjs.map +1 -0
  5. package/dist/client/{DeleteFlavorModal-C3cb7YiJ.mjs → DeleteFlavorModal-C3m7bQJu.mjs} +163 -163
  6. package/dist/client/{DeleteFlavorModal-C3cb7YiJ.mjs.map → DeleteFlavorModal-C3m7bQJu.mjs.map} +1 -1
  7. package/dist/client/{EditSecurityGroupModal-CpP54WIK.mjs → EditSecurityGroupModal-DKusxfta.mjs} +18 -18
  8. package/dist/client/{EditSecurityGroupModal-CpP54WIK.mjs.map → EditSecurityGroupModal-DKusxfta.mjs.map} +1 -1
  9. package/dist/client/{FiltersInput-DxcyR6Bp.mjs → FiltersInput-GzR4D0q6.mjs} +21 -21
  10. package/dist/client/{FiltersInput-DxcyR6Bp.mjs.map → FiltersInput-GzR4D0q6.mjs.map} +1 -1
  11. package/dist/client/{FloatingIpActionModals-BP8RWHbu.mjs → FloatingIpActionModals-CRvROJ3H.mjs} +51 -51
  12. package/dist/client/{FloatingIpActionModals-BP8RWHbu.mjs.map → FloatingIpActionModals-CRvROJ3H.mjs.map} +1 -1
  13. package/dist/client/{ImageToastNotifications-TZ3EfQg-.mjs → ImageToastNotifications-BuDXpTkl.mjs} +344 -344
  14. package/dist/client/{ImageToastNotifications-TZ3EfQg-.mjs.map → ImageToastNotifications-BuDXpTkl.mjs.map} +1 -1
  15. package/dist/client/{RouteError-QSV7qOoJ.mjs → RouteError-DVAiT0mT.mjs} +2 -2
  16. package/dist/client/{RouteError-QSV7qOoJ.mjs.map → RouteError-DVAiT0mT.mjs.map} +1 -1
  17. package/dist/client/{SortInput-CYv2_Pur.mjs → SortInput-VK7IYqQv.mjs} +6 -6
  18. package/dist/client/{SortInput-CYv2_Pur.mjs.map → SortInput-VK7IYqQv.mjs.map} +1 -1
  19. package/dist/client/{_flavorId-C2x43-6S.mjs → _flavorId-DU4gcFna.mjs} +8 -8
  20. package/dist/client/{_flavorId-C2x43-6S.mjs.map → _flavorId-DU4gcFna.mjs.map} +1 -1
  21. package/dist/client/{_flavorId-CR8ZUI-P.mjs → _flavorId-iZE2j210.mjs} +62 -62
  22. package/dist/client/{_flavorId-CR8ZUI-P.mjs.map → _flavorId-iZE2j210.mjs.map} +1 -1
  23. package/dist/client/{_floatingIpId-BCk41_Lb.mjs → _floatingIpId-B5GMSLeQ.mjs} +2 -2
  24. package/dist/client/{_floatingIpId-BCk41_Lb.mjs.map → _floatingIpId-B5GMSLeQ.mjs.map} +1 -1
  25. package/dist/client/{_floatingIpId-BGrOAmPT.mjs → _floatingIpId-C2-BeRmF.mjs} +27 -27
  26. package/dist/client/{_floatingIpId-BGrOAmPT.mjs.map → _floatingIpId-C2-BeRmF.mjs.map} +1 -1
  27. package/dist/client/_imageId-zmaSymWe.mjs +534 -0
  28. package/dist/client/{_imageId-CvfD832b.mjs.map → _imageId-zmaSymWe.mjs.map} +1 -1
  29. package/dist/client/_pcaId-BwTvJJgh.mjs +479 -0
  30. package/dist/client/_pcaId-BwTvJJgh.mjs.map +1 -0
  31. package/dist/client/{_pcaId-DOHycvCf.mjs → _pcaId-DUHQd0rB.mjs} +2 -2
  32. package/dist/client/{_pcaId-DOHycvCf.mjs.map → _pcaId-DUHQd0rB.mjs.map} +1 -1
  33. package/dist/client/{_projectId-DOgwFiqD.mjs → _projectId-B_2sZKk-.mjs} +2 -2
  34. package/dist/client/_projectId-B_2sZKk-.mjs.map +1 -0
  35. package/dist/client/_projectId-C8BaEHUj.mjs +273 -0
  36. package/dist/client/_projectId-C8BaEHUj.mjs.map +1 -0
  37. package/dist/client/_projectId-COt93OEF.mjs +84 -0
  38. package/dist/client/_projectId-COt93OEF.mjs.map +1 -0
  39. package/dist/client/{_securityGroupId-KKw4RPdH.mjs → _securityGroupId-DYxmXUOP.mjs} +319 -319
  40. package/dist/client/{_securityGroupId-KKw4RPdH.mjs.map → _securityGroupId-DYxmXUOP.mjs.map} +1 -1
  41. package/dist/client/{_securityGroupId-CJJanWiY.mjs → _securityGroupId-fhK1CuZh.mjs} +2 -2
  42. package/dist/client/{_securityGroupId-CJJanWiY.mjs.map → _securityGroupId-fhK1CuZh.mjs.map} +1 -1
  43. package/dist/client/{_storageType-DYjo-6ej.mjs → _storageType-B-qGcGUQ.mjs} +699 -698
  44. package/dist/client/_storageType-B-qGcGUQ.mjs.map +1 -0
  45. package/dist/client/{_storageType-4wSxI__0.mjs → _storageType-CepuevDG.mjs} +2 -2
  46. package/dist/client/{_storageType-4wSxI__0.mjs.map → _storageType-CepuevDG.mjs.map} +1 -1
  47. package/dist/client/{about-Bo9vxGHy.mjs → about-Nsxkyh9U.mjs} +2 -2
  48. package/dist/client/{about-Bo9vxGHy.mjs.map → about-Nsxkyh9U.mjs.map} +1 -1
  49. package/dist/client/{build-DeJcDjPi.mjs → build-BdRRmNf5.mjs} +3290 -3274
  50. package/dist/client/{build-DeJcDjPi.mjs.map → build-BdRRmNf5.mjs.map} +1 -1
  51. package/dist/client/{constants-BmcGYeR-.mjs → constants-J5nm9hbP.mjs} +15 -15
  52. package/dist/client/{constants-BmcGYeR-.mjs.map → constants-J5nm9hbP.mjs.map} +1 -1
  53. package/dist/client/{flavors-BxFVqgnb.mjs → flavors-8bZVlzzb.mjs} +2 -2
  54. package/dist/client/{flavors-BxFVqgnb.mjs.map → flavors-8bZVlzzb.mjs.map} +1 -1
  55. package/dist/client/{flavors-CfdgjsZY.mjs → flavors-BfsEBUE-.mjs} +238 -221
  56. package/dist/client/flavors-BfsEBUE-.mjs.map +1 -0
  57. package/dist/client/{floatingips-ByRb82wS.mjs → floatingips-Dq4DXQYb.mjs} +90 -90
  58. package/dist/client/{floatingips-ByRb82wS.mjs.map → floatingips-Dq4DXQYb.mjs.map} +1 -1
  59. package/dist/client/{images-CenluYV8.mjs → images-8FOgju2f.mjs} +2 -2
  60. package/dist/client/{images-CenluYV8.mjs.map → images-8FOgju2f.mjs.map} +1 -1
  61. package/dist/client/images-BPnTuKFO2.mjs +1890 -0
  62. package/dist/client/images-BPnTuKFO2.mjs.map +1 -0
  63. package/dist/client/{images-C_dX7nY6.mjs → images-Dbjo4yKn.mjs} +2 -2
  64. package/dist/client/{images-C_dX7nY6.mjs.map → images-Dbjo4yKn.mjs.map} +1 -1
  65. package/dist/client/index.d.ts +1 -1
  66. package/dist/client/index.js +382 -351
  67. package/dist/client/index.js.map +1 -1
  68. package/dist/client/{objects-gxSjvbvF.mjs → objects-DKWp9RtR.mjs} +2 -2
  69. package/dist/client/{objects-gxSjvbvF.mjs.map → objects-DKWp9RtR.mjs.map} +1 -1
  70. package/dist/client/{objects-BJM6YeuF.mjs → objects-DaCuy_CB.mjs} +1156 -1156
  71. package/dist/client/{objects-BJM6YeuF.mjs.map → objects-DaCuy_CB.mjs.map} +1 -1
  72. package/dist/client/pca-5wOBf_KI.mjs +202 -0
  73. package/dist/client/pca-5wOBf_KI.mjs.map +1 -0
  74. package/dist/client/{pca-Bl8NmoVZ.mjs → pca-dhrOFfrE.mjs} +2 -2
  75. package/dist/client/{pca-Bl8NmoVZ.mjs.map → pca-dhrOFfrE.mjs.map} +1 -1
  76. package/dist/client/{projects-D2iewAzu.mjs → projects-B_PPyZD1.mjs} +2 -2
  77. package/dist/client/{projects-D2iewAzu.mjs.map → projects-B_PPyZD1.mjs.map} +1 -1
  78. package/dist/client/{projects-pe2_dCnV.mjs → projects-CHYn7L5e.mjs} +2 -2
  79. package/dist/client/{projects-pe2_dCnV.mjs.map → projects-CHYn7L5e.mjs.map} +1 -1
  80. package/dist/client/{projects-CgclWI16.mjs → projects-Dmewygrp.mjs} +12 -12
  81. package/dist/client/projects-Dmewygrp.mjs.map +1 -0
  82. package/dist/client/routeInfo-CHiJfum5.mjs +73 -0
  83. package/dist/client/routeInfo-CHiJfum5.mjs.map +1 -0
  84. package/dist/client/{securitygroups-DahZkVYQ.mjs → securitygroups-CNFLu9zS.mjs} +112 -112
  85. package/dist/client/{securitygroups-DahZkVYQ.mjs.map → securitygroups-CNFLu9zS.mjs.map} +1 -1
  86. package/dist/client/{useListWithFiltering-DaYcu5AB.mjs → useListWithFiltering-v2A0-SZb.mjs} +9 -9
  87. package/dist/client/{useListWithFiltering-DaYcu5AB.mjs.map → useListWithFiltering-v2A0-SZb.mjs.map} +1 -1
  88. package/dist/server/index.d.ts +6 -1
  89. package/dist/server/index.js +37 -52
  90. package/package.json +4 -4
  91. package/dist/client/ContentHeader-kx1Th5Sq.mjs.map +0 -1
  92. package/dist/client/_imageId-CvfD832b.mjs +0 -534
  93. package/dist/client/_pcaId-BxBt5DXi.mjs +0 -459
  94. package/dist/client/_pcaId-BxBt5DXi.mjs.map +0 -1
  95. package/dist/client/_projectId-BDSWnMGj.mjs +0 -46
  96. package/dist/client/_projectId-BDSWnMGj.mjs.map +0 -1
  97. package/dist/client/_projectId-DOgwFiqD.mjs.map +0 -1
  98. package/dist/client/_projectId-DS4nR59B.mjs +0 -299
  99. package/dist/client/_projectId-DS4nR59B.mjs.map +0 -1
  100. package/dist/client/_projectId-MxcHrXW4.mjs +0 -84
  101. package/dist/client/_projectId-MxcHrXW4.mjs.map +0 -1
  102. package/dist/client/_storageType-DYjo-6ej.mjs.map +0 -1
  103. package/dist/client/flavors-CfdgjsZY.mjs.map +0 -1
  104. package/dist/client/images-CKqIXUq52.mjs +0 -1873
  105. package/dist/client/images-CKqIXUq52.mjs.map +0 -1
  106. package/dist/client/pca-RSiWpJs9.mjs +0 -182
  107. package/dist/client/pca-RSiWpJs9.mjs.map +0 -1
  108. package/dist/client/projects-CgclWI16.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { B as e, F as t, G as n, H as r, Q as i, R as a, U as o, a as s, ct as c, f as l, i as u, j as d, k as f, lt as p, ot as m, r as h, s as g, u as _, w as v } from "./build-DeJcDjPi.mjs";
1
+ import { G as e, H as t, J as n, L as r, N as i, S as a, Y as o, _ as s, ct as c, et as l, f as u, it as d, l as f, lt as p, m, n as h, p as g, v as _, x as v } from "./build-BdRRmNf5.mjs";
2
2
  import { r as y } from "./trpcClient-BzPUgiM2.mjs";
3
3
  import { n as b } from "./formatBytes-CZv_XyCY.mjs";
4
4
  import { t as x } from "./useProjectId-DBc5lpoU.mjs";
@@ -51,60 +51,60 @@ var j = {
51
51
  OVF: "ovf",
52
52
  OVA: "ova",
53
53
  DOCKER: "docker"
54
- }, I = ({ memberId: e, imageId: t, errors: r, isLoading: i, onMemberIdChange: a, onSave: s, onCancel: l }) => {
55
- let { i18n: d, _: f } = k();
56
- return /*#__PURE__*/ w(v, { children: [
57
- /*#__PURE__*/ C(n, {
54
+ }, I = ({ memberId: t, imageId: n, errors: r, isLoading: a, onMemberIdChange: o, onSave: c, onCancel: l }) => {
55
+ let { i18n: u, _: d } = k();
56
+ return /*#__PURE__*/ w(i, { children: [
57
+ /*#__PURE__*/ C(e, {
58
58
  className: "break-all",
59
- children: t
59
+ children: n
60
60
  }),
61
- /*#__PURE__*/ C(n, {
61
+ /*#__PURE__*/ C(e, {
62
62
  className: "pl-0",
63
- children: /*#__PURE__*/ C(o, {
64
- value: e,
65
- onChange: (e) => a(e.target.value),
66
- placeholder: d._({ id: "TpGxnq" }),
63
+ children: /*#__PURE__*/ C(m, {
64
+ value: t,
65
+ onChange: (e) => o(e.target.value),
66
+ placeholder: u._({ id: "TpGxnq" }),
67
67
  errortext: r.memberId,
68
68
  required: !0
69
69
  })
70
70
  }),
71
- /*#__PURE__*/ C(n, {}),
72
- /*#__PURE__*/ C(n, { children: /*#__PURE__*/ w(u, { children: [/*#__PURE__*/ C(c, {
71
+ /*#__PURE__*/ C(e, {}),
72
+ /*#__PURE__*/ C(e, { children: /*#__PURE__*/ w(p, { children: [/*#__PURE__*/ C(s, {
73
73
  icon: "check",
74
- onClick: s,
74
+ onClick: c,
75
75
  variant: "primary",
76
- title: d._({ id: "3Qn0me" }),
77
- disabled: i
78
- }), /*#__PURE__*/ C(c, {
76
+ title: u._({ id: "3Qn0me" }),
77
+ disabled: a
78
+ }), /*#__PURE__*/ C(s, {
79
79
  icon: "cancel",
80
80
  onClick: l,
81
- title: d._({ id: "dEgA5A" }),
82
- disabled: i
81
+ title: u._({ id: "dEgA5A" }),
82
+ disabled: a
83
83
  })] }) })
84
84
  ] });
85
- }, L = ({ member: e, isDeleting: t, onDelete: r, canDelete: o }) => {
86
- let { i18n: s, _: l } = k(), [u, d] = D(!1);
85
+ }, L = ({ member: n, isDeleting: r, onDelete: a, canDelete: c }) => {
86
+ let { i18n: l, _: u } = k(), [d, f] = D(!1);
87
87
  T(() => {
88
- if (u) {
88
+ if (d) {
89
89
  let e = setTimeout(() => {
90
- d(!1);
90
+ f(!1);
91
91
  }, 3e3);
92
92
  return () => clearTimeout(e);
93
93
  }
94
- }, [u]);
95
- let f = () => {
96
- d(!1), r();
94
+ }, [d]);
95
+ let p = () => {
96
+ f(!1), a();
97
97
  };
98
- return /*#__PURE__*/ w(v, { children: [
99
- /*#__PURE__*/ C(n, {
98
+ return /*#__PURE__*/ w(i, { children: [
99
+ /*#__PURE__*/ C(e, {
100
100
  className: "break-all",
101
- children: e.image_id
101
+ children: n.image_id
102
102
  }),
103
- /*#__PURE__*/ C(n, {
103
+ /*#__PURE__*/ C(e, {
104
104
  className: "break-all",
105
- children: e.member_id
105
+ children: n.member_id
106
106
  }),
107
- /*#__PURE__*/ C(n, {
107
+ /*#__PURE__*/ C(e, {
108
108
  className: `break-all text-theme-${((e) => {
109
109
  switch (e) {
110
110
  case j.PENDING: return "warning";
@@ -112,49 +112,49 @@ var j = {
112
112
  case j.REJECTED: return "danger";
113
113
  default: return "default";
114
114
  }
115
- })(e.status)}`,
115
+ })(n.status)}`,
116
116
  children: ((e) => {
117
117
  switch (e) {
118
- case j.PENDING: return s._({ id: "UbRKMZ" });
119
- case j.ACCEPTED: return s._({ id: "bzMKg7" });
120
- case j.REJECTED: return s._({ id: "ekCRTP" });
118
+ case j.PENDING: return l._({ id: "UbRKMZ" });
119
+ case j.ACCEPTED: return l._({ id: "bzMKg7" });
120
+ case j.REJECTED: return l._({ id: "ekCRTP" });
121
121
  default: return e;
122
122
  }
123
- })(e.status)
123
+ })(n.status)
124
124
  }),
125
- /*#__PURE__*/ C(n, { children: t ? /*#__PURE__*/ C(i, {
125
+ /*#__PURE__*/ C(e, { children: r ? /*#__PURE__*/ C(o, {
126
126
  distribution: "center",
127
127
  alignment: "center",
128
- children: /*#__PURE__*/ C(a, { variant: "primary" })
129
- }) : /*#__PURE__*/ C(i, {
128
+ children: /*#__PURE__*/ C(t, { variant: "primary" })
129
+ }) : /*#__PURE__*/ C(o, {
130
130
  distribution: "end",
131
131
  alignment: "end",
132
132
  children: (() => {
133
- if (!o) return /*#__PURE__*/ C(S, {});
134
- if (u) return /*#__PURE__*/ C(c, {
133
+ if (!c) return /*#__PURE__*/ C(S, {});
134
+ if (d) return /*#__PURE__*/ C(s, {
135
135
  variant: "primary-danger",
136
- onClick: f,
137
- title: s._({ id: "n9jJG6" }),
138
- "aria-label": s._({ id: "n9jJG6" }),
136
+ onClick: p,
137
+ title: l._({ id: "n9jJG6" }),
138
+ "aria-label": l._({ id: "n9jJG6" }),
139
139
  "data-testid": "confirm-removal",
140
- disabled: t,
141
- children: s._({ id: "t/YqKh" })
140
+ disabled: r,
141
+ children: l._({ id: "t/YqKh" })
142
142
  });
143
143
  {
144
- let n = e.member_id;
145
- return /*#__PURE__*/ C(c, {
144
+ let e = n.member_id;
145
+ return /*#__PURE__*/ C(s, {
146
146
  icon: "deleteForever",
147
- onClick: () => d(!0),
148
- title: s._({
147
+ onClick: () => f(!0),
148
+ title: l._({
149
149
  id: "pebLmQ",
150
- values: { memberIdDisplay: n }
150
+ values: { memberIdDisplay: e }
151
151
  }),
152
- "aria-label": s._({
152
+ "aria-label": l._({
153
153
  id: "pebLmQ",
154
- values: { memberIdDisplay: n }
154
+ values: { memberIdDisplay: e }
155
155
  }),
156
- "data-testid": `remove-${n}`,
157
- disabled: t
156
+ "data-testid": `remove-${e}`,
157
+ disabled: r
158
158
  });
159
159
  }
160
160
  })()
@@ -164,35 +164,35 @@ 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(v, { children: /*#__PURE__*/ C(n, {
167
+ return /*#__PURE__*/ C(i, { children: /*#__PURE__*/ C(e, {
168
168
  colSpan: 4,
169
- children: /*#__PURE__*/ C(i, {
169
+ children: /*#__PURE__*/ C(o, {
170
170
  distribution: "center",
171
171
  alignment: "center",
172
- children: /*#__PURE__*/ C(a, { variant: "primary" })
172
+ children: /*#__PURE__*/ C(t, { variant: "primary" })
173
173
  })
174
174
  }) });
175
175
  }
176
- var z = ({ image: r, imageMembers: a, isMembersLoading: o, canAdd: s, canRemove: l, isAddingMember: u, setIsAddingMember: d, setMessage: p, projectId: m }) => {
177
- let { i18n: h, _: g } = k(), _ = y.useUtils(), [b, x] = D(""), [T, E] = D({}), [O, A] = D(/* @__PURE__ */ new Set()), j = y.compute.createImageMember.useMutation({ onSuccess: () => {
178
- _.compute.listImageMembers.invalidate({
179
- project_id: m,
180
- imageId: r.id
176
+ var z = ({ image: t, imageMembers: a, isMembersLoading: c, canAdd: u, canRemove: d, isAddingMember: f, setIsAddingMember: p, setMessage: m, projectId: h }) => {
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
+ v.compute.listImageMembers.invalidate({
179
+ project_id: h,
180
+ imageId: t.id
181
181
  });
182
182
  } }), M = y.compute.deleteImageMember.useMutation({ onSuccess: () => {
183
- _.compute.listImageMembers.invalidate({
184
- project_id: m,
185
- imageId: r.id
183
+ v.compute.listImageMembers.invalidate({
184
+ project_id: h,
185
+ imageId: t.id
186
186
  });
187
- } }), N = r.visibility === "public", P = !a || a.length === 0, F = j.isPending || M.isPending, z = () => {
187
+ } }), N = t.visibility === "public", P = !a || a.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 = h._({ id: "jyqLKs" })) : t.memberId = h._({ id: "S5CUKP" }), E(t), Object.keys(t).length === 0;
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;
190
190
  }, B = () => {
191
191
  x(""), E({});
192
192
  }, V = async () => {
193
193
  if (!z()) {
194
- p({
195
- text: h._({ id: "CBFSfX" }),
194
+ m({
195
+ text: g._({ id: "CBFSfX" }),
196
196
  type: "error"
197
197
  });
198
198
  return;
@@ -200,19 +200,19 @@ var z = ({ image: r, imageMembers: a, isMembersLoading: o, canAdd: s, canRemove:
200
200
  let e = b.trim();
201
201
  try {
202
202
  await j.mutateAsync({
203
- project_id: m,
204
- imageId: r.id,
203
+ project_id: h,
204
+ imageId: t.id,
205
205
  member: e
206
- }), p({
207
- text: h._({
206
+ }), m({
207
+ text: g._({
208
208
  id: "Sgz1vJ",
209
209
  values: { trimmedMemberId: e }
210
210
  }),
211
211
  type: "info"
212
- }), B(), d(!1);
212
+ }), B(), p(!1);
213
213
  } catch (e) {
214
- p({
215
- text: e?.message || h._({ id: "9doWrf" }),
214
+ m({
215
+ text: e?.message || g._({ id: "9doWrf" }),
216
216
  type: "error"
217
217
  });
218
218
  }
@@ -220,19 +220,19 @@ var z = ({ image: r, imageMembers: a, isMembersLoading: o, canAdd: s, canRemove:
220
220
  A((t) => new Set(t).add(e));
221
221
  try {
222
222
  await M.mutateAsync({
223
- project_id: m,
224
- imageId: r.id,
223
+ project_id: h,
224
+ imageId: t.id,
225
225
  memberId: e
226
- }), p({
227
- text: h._({
226
+ }), m({
227
+ text: g._({
228
228
  id: "4O2AH3",
229
229
  values: { memberIdToRemove: e }
230
230
  }),
231
231
  type: "info"
232
232
  });
233
233
  } catch (t) {
234
- p({
235
- text: t?.message || h._({ id: "n46oLW" }) || h._({
234
+ m({
235
+ text: t?.message || g._({ id: "n46oLW" }) || g._({
236
236
  id: "7T1fHv",
237
237
  values: { memberIdToRemove: e }
238
238
  }),
@@ -245,39 +245,39 @@ var z = ({ image: r, imageMembers: a, isMembersLoading: o, canAdd: s, canRemove:
245
245
  });
246
246
  }
247
247
  };
248
- return o ? /*#__PURE__*/ w(f, {
248
+ return c ? /*#__PURE__*/ w(l, {
249
249
  columns: 4,
250
- children: [/*#__PURE__*/ w(v, { children: [
251
- /*#__PURE__*/ C(t, { children: h._({ id: "vrPCbw" }) }),
252
- /*#__PURE__*/ C(t, { children: h._({ id: "mSfwLL" }) }),
253
- /*#__PURE__*/ C(t, { children: h._({ id: "uAQUqI" }) }),
254
- /*#__PURE__*/ C(t, {})
250
+ children: [/*#__PURE__*/ w(i, { children: [
251
+ /*#__PURE__*/ C(r, { children: g._({ id: "vrPCbw" }) }),
252
+ /*#__PURE__*/ C(r, { children: g._({ id: "mSfwLL" }) }),
253
+ /*#__PURE__*/ C(r, { children: g._({ id: "uAQUqI" }) }),
254
+ /*#__PURE__*/ C(r, {})
255
255
  ] }), /*#__PURE__*/ C(R, {})]
256
- }) : N ? /*#__PURE__*/ C(e, {
257
- text: h._({ id: "6H/Lg1" }),
256
+ }) : N ? /*#__PURE__*/ C(n, {
257
+ text: g._({ id: "6H/Lg1" }),
258
258
  variant: "info"
259
- }) : /*#__PURE__*/ w(S, { children: [s && /*#__PURE__*/ C(i, {
259
+ }) : /*#__PURE__*/ w(S, { children: [u && /*#__PURE__*/ C(o, {
260
260
  direction: "horizontal",
261
261
  className: "bg-theme-background-lvl-1 justify-end p-2",
262
- children: /*#__PURE__*/ C(c, {
263
- label: h._({ id: "VCM3KS" }),
262
+ children: /*#__PURE__*/ C(s, {
263
+ label: g._({ id: "VCM3KS" }),
264
264
  "data-testid": "addMemberButton",
265
- onClick: () => d(!0),
265
+ onClick: () => p(!0),
266
266
  variant: "primary",
267
- disabled: u
267
+ disabled: f
268
268
  })
269
- }), /*#__PURE__*/ w(f, {
269
+ }), /*#__PURE__*/ w(l, {
270
270
  columns: 4,
271
271
  children: [
272
- /*#__PURE__*/ w(v, { children: [
273
- /*#__PURE__*/ C(t, { children: h._({ id: "vrPCbw" }) }),
274
- /*#__PURE__*/ C(t, { children: h._({ id: "NRVSdy" }) }),
275
- /*#__PURE__*/ C(t, { children: h._({ id: "uAQUqI" }) }),
276
- /*#__PURE__*/ C(t, {})
272
+ /*#__PURE__*/ w(i, { children: [
273
+ /*#__PURE__*/ C(r, { children: g._({ id: "vrPCbw" }) }),
274
+ /*#__PURE__*/ C(r, { children: g._({ id: "NRVSdy" }) }),
275
+ /*#__PURE__*/ C(r, { children: g._({ id: "uAQUqI" }) }),
276
+ /*#__PURE__*/ C(r, {})
277
277
  ] }),
278
- u && /*#__PURE__*/ C(I, {
278
+ f && /*#__PURE__*/ C(I, {
279
279
  memberId: b,
280
- imageId: r.id,
280
+ imageId: t.id,
281
281
  errors: T,
282
282
  isLoading: F,
283
283
  onMemberIdChange: (e) => {
@@ -288,24 +288,24 @@ var z = ({ image: r, imageMembers: a, isMembersLoading: o, canAdd: s, canRemove:
288
288
  },
289
289
  onSave: V,
290
290
  onCancel: () => {
291
- B(), d(!1), p(null);
291
+ B(), p(!1), m(null);
292
292
  }
293
293
  }),
294
294
  a?.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
- canDelete: l
298
+ canDelete: d
299
299
  }, `${e.member_id}-${t}`)),
300
- P && !u && /*#__PURE__*/ C(v, { children: /*#__PURE__*/ C(n, {
300
+ P && !f && /*#__PURE__*/ C(i, { children: /*#__PURE__*/ C(e, {
301
301
  colSpan: 4,
302
302
  className: "text-theme-default py-4 text-center",
303
- children: h._({ id: "H7u085" })
303
+ children: g._({ id: "H7u085" })
304
304
  }) })
305
305
  ]
306
306
  })] });
307
- }, B = ({ image: e, isOpen: t, isLoading: n = !1, onClose: l, onSave: u }) => {
308
- let { i18n: f, _: v } = k(), [y, b] = D({
307
+ }, B = ({ image: e, isOpen: n, isLoading: r = !1, onClose: i, onSave: l }) => {
308
+ let { i18n: u, _: p } = k(), [y, b] = D({
309
309
  name: e.name || "",
310
310
  tags: e.tags || [],
311
311
  visibility: e.visibility || N.PRIVATE,
@@ -365,17 +365,17 @@ var z = ({ image: r, imageMembers: a, isMembersLoading: o, canAdd: s, canRemove:
365
365
  }));
366
366
  }, B = () => {
367
367
  let e = {};
368
- return (!y.name || y.name.trim() === "") && (e.name = f._({ id: "wyIOMP" })), y.min_disk < 0 && (e.min_disk = f._({ id: "K3bUTE" })), y.min_ram < 0 && (e.min_ram = f._({ 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(h, {
371
- open: t,
370
+ return /*#__PURE__*/ w(c, {
371
+ open: n,
372
372
  onCancel: () => {
373
- E({}), l();
373
+ E({}), i();
374
374
  },
375
375
  size: "large",
376
- title: f._({ id: "M5Epeo" }),
376
+ title: u._({ id: "M5Epeo" }),
377
377
  onConfirm: (t) => {
378
- t.preventDefault(), B() && u({
378
+ t.preventDefault(), B() && l({
379
379
  ...e.name === y.name.trim() ? {} : { name: y.name.trim() },
380
380
  ...A(e.tags || [], y.tags) ? {} : { tags: y.tags },
381
381
  ...e.visibility === y.visibility ? {} : { visibility: y.visibility },
@@ -384,60 +384,60 @@ var z = ({ image: r, imageMembers: a, isMembersLoading: o, canAdd: s, canRemove:
384
384
  ...e.min_ram === y.min_ram ? {} : { min_ram: y.min_ram }
385
385
  });
386
386
  },
387
- confirmButtonLabel: f._({ id: "IUwGEM" }),
388
- cancelButtonLabel: f._({ id: "dEgA5A" }),
389
- disableConfirmButton: n || j,
390
- children: [n && /*#__PURE__*/ C(i, {
387
+ confirmButtonLabel: u._({ id: "IUwGEM" }),
388
+ cancelButtonLabel: u._({ id: "dEgA5A" }),
389
+ disableConfirmButton: r || j,
390
+ children: [r && /*#__PURE__*/ C(o, {
391
391
  distribution: "center",
392
392
  alignment: "center",
393
- children: /*#__PURE__*/ C(a, { variant: "primary" })
394
- }), !n && /*#__PURE__*/ w(s, { children: [/*#__PURE__*/ w(r, {
393
+ children: /*#__PURE__*/ C(t, { variant: "primary" })
394
+ }), !r && /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ w(g, {
395
395
  className: "mb-6",
396
396
  children: [
397
- /*#__PURE__*/ C(g, {
397
+ /*#__PURE__*/ C(a, {
398
398
  className: "mb-4",
399
- children: /*#__PURE__*/ C(o, {
399
+ children: /*#__PURE__*/ C(m, {
400
400
  id: "name",
401
401
  name: "name",
402
- label: f._({ 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(g, {
409
+ /*#__PURE__*/ C(a, {
410
410
  className: "my-6",
411
411
  children: /*#__PURE__*/ w("div", {
412
412
  className: "w-full",
413
- children: [/*#__PURE__*/ w(i, {
413
+ children: [/*#__PURE__*/ w(o, {
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(o, {
419
+ children: /*#__PURE__*/ C(m, {
420
420
  id: "tags",
421
421
  name: "tags",
422
- label: f._({ id: "OYHzN1" }),
422
+ label: u._({ id: "OYHzN1" }),
423
423
  value: x,
424
424
  onChange: I,
425
425
  onKeyDown: R,
426
- helptext: f._({ id: "MOug+V" }),
427
- placeholder: f._({ id: "y+KBOY" })
426
+ helptext: u._({ id: "MOug+V" }),
427
+ placeholder: u._({ id: "y+KBOY" })
428
428
  })
429
- }), /*#__PURE__*/ C(c, {
429
+ }), /*#__PURE__*/ C(s, {
430
430
  variant: "primary",
431
431
  onClick: L,
432
- disabled: n || x.trim() === "",
432
+ disabled: r || x.trim() === "",
433
433
  children: /*#__PURE__*/ C(O, { id: "m16xKo" })
434
434
  })]
435
- }), y.tags.length > 0 && /*#__PURE__*/ C(i, {
435
+ }), y.tags.length > 0 && /*#__PURE__*/ C(o, {
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(d, {
440
+ children: y.tags.map((e) => /*#__PURE__*/ C(h, {
441
441
  closeable: !0,
442
442
  pillKey: "",
443
443
  pillValue: e,
@@ -446,65 +446,65 @@ var z = ({ image: r, imageMembers: a, isMembersLoading: o, canAdd: s, canRemove:
446
446
  })]
447
447
  })
448
448
  }),
449
- /*#__PURE__*/ C(g, {
449
+ /*#__PURE__*/ C(a, {
450
450
  className: "mb-4",
451
- children: /*#__PURE__*/ w(p, {
451
+ children: /*#__PURE__*/ w(_, {
452
452
  id: "visibility",
453
453
  name: "visibility",
454
- label: f._({ 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(_, {
458
+ /*#__PURE__*/ C(f, {
459
459
  value: N.PUBLIC,
460
- label: f._({ id: "7d1a0d" })
460
+ label: u._({ id: "7d1a0d" })
461
461
  }),
462
- /*#__PURE__*/ C(_, {
462
+ /*#__PURE__*/ C(f, {
463
463
  value: N.PRIVATE,
464
- label: f._({ id: "zwBp5t" })
464
+ label: u._({ id: "zwBp5t" })
465
465
  }),
466
- /*#__PURE__*/ C(_, {
466
+ /*#__PURE__*/ C(f, {
467
467
  value: N.SHARED,
468
- label: f._({ id: "0Gd0NU" })
468
+ label: u._({ id: "0Gd0NU" })
469
469
  }),
470
- /*#__PURE__*/ C(_, {
470
+ /*#__PURE__*/ C(f, {
471
471
  value: N.COMMUNITY,
472
- label: f._({ id: "chL5IG" })
472
+ label: u._({ id: "chL5IG" })
473
473
  })
474
474
  ]
475
475
  })
476
476
  }),
477
- /*#__PURE__*/ C(g, { children: /*#__PURE__*/ C(m, {
477
+ /*#__PURE__*/ C(a, { children: /*#__PURE__*/ C(d, {
478
478
  id: "protected",
479
479
  name: "protected",
480
- label: f._({ id: "644xgx" }),
480
+ label: u._({ id: "644xgx" }),
481
481
  checked: y.protected,
482
482
  onChange: M,
483
- helptext: f._({ id: "lAsm87" })
483
+ helptext: u._({ id: "lAsm87" })
484
484
  }) })
485
485
  ]
486
- }), /*#__PURE__*/ w(r, {
486
+ }), /*#__PURE__*/ w(g, {
487
487
  className: "mb-6",
488
- children: [/*#__PURE__*/ C(g, {
488
+ children: [/*#__PURE__*/ C(a, {
489
489
  className: "mb-4",
490
- children: /*#__PURE__*/ C(o, {
490
+ children: /*#__PURE__*/ C(m, {
491
491
  id: "min_disk",
492
492
  name: "min_disk",
493
- label: f._({ 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: f._({ id: "RFDYCD" }),
497
+ helptext: u._({ id: "RFDYCD" }),
498
498
  errortext: T.min_disk
499
499
  })
500
- }), /*#__PURE__*/ C(g, { children: /*#__PURE__*/ C(o, {
500
+ }), /*#__PURE__*/ C(a, { children: /*#__PURE__*/ C(m, {
501
501
  id: "min_ram",
502
502
  name: "min_ram",
503
- label: f._({ 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: f._({ id: "WErCZy" }),
507
+ helptext: u._({ id: "WErCZy" }),
508
508
  errortext: T.min_ram
509
509
  }) })]
510
510
  })] })]
@@ -528,28 +528,28 @@ function H(e, t) {
528
528
  };
529
529
  });
530
530
  }
531
- function U({ isLoading: e, onClose: r, onSave: s, initialMetadata: l, excludedProperties: u }) {
532
- let { i18n: d, _: p } = k(), [m, g] = D(l), [_, y] = D({}), [b, x] = D(!1), [S, E] = D(""), [O, A] = D(""), [j, M] = D(null);
531
+ function U({ isLoading: n, onClose: a, onSave: u, initialMetadata: d, excludedProperties: f }) {
532
+ let { i18n: p, _: h } = k(), [g, _] = D(d), [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) && d.length === g.length, P = (e, t, n) => {
540
540
  let r = e?.trim().toLowerCase();
541
- return r ? u.has(r) ? d._({ id: "n3eQzA" }) : m.some((e, i) => e.key.trim().toLowerCase() === r && i !== n && e.originalKey !== t) ? d._({ id: "i6/ygf" }) : null : d._({ id: "QV1ZPO" });
541
+ return r ? f.has(r) ? p._({ id: "n3eQzA" }) : g.some((e, i) => e.key.trim().toLowerCase() === r && i !== n && e.originalKey !== t) ? p._({ id: "i6/ygf" }) : null : p._({ 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;
547
547
  }
548
548
  if (!O.trim()) {
549
- y({ newValue: d._({ id: "hXUWyd" }) });
549
+ y({ newValue: p._({ id: "hXUWyd" }) });
550
550
  return;
551
551
  }
552
- g([...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: s, initialMetadata: l, excludedPr
558
558
  }, I = () => {
559
559
  E(""), A(""), x(!1), y({});
560
560
  }, L = (e) => {
561
- M(null), g(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,357 +566,357 @@ function U({ isLoading: e, onClose: r, onSave: s, 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;
573
573
  }
574
574
  if (!t.value.trim()) {
575
- y({ [`edit-${e}`]: d._({ id: "hXUWyd" }) });
575
+ y({ [`edit-${e}`]: p._({ id: "hXUWyd" }) });
576
576
  return;
577
577
  }
578
- g(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
- g(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
- g(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
- g(m.map((n, r) => r === e ? {
594
+ _(g.map((n, r) => r === e ? {
595
595
  ...n,
596
596
  key: t
597
- } : n)), _[`edit-${e}`] && y((t) => {
597
+ } : n)), v[`edit-${e}`] && y((t) => {
598
598
  let n = { ...t };
599
599
  return delete n[`edit-${e}`], n;
600
600
  });
601
601
  }, H = (e, t) => {
602
- g(m.map((n, r) => r === e ? {
602
+ _(g.map((n, r) => r === e ? {
603
603
  ...n,
604
604
  value: t
605
- } : n)), _[`edit-${e}`] && y((t) => {
605
+ } : n)), v[`edit-${e}`] && y((t) => {
606
606
  let n = { ...t };
607
607
  return delete n[`edit-${e}`], n;
608
608
  });
609
609
  };
610
- return /*#__PURE__*/ w(h, {
610
+ return /*#__PURE__*/ w(c, {
611
611
  open: !0,
612
612
  onCancel: () => {
613
- g(l), x(!1), E(""), A(""), y({}), r();
613
+ _(d), x(!1), E(""), A(""), y({}), a();
614
614
  },
615
615
  size: "large",
616
- title: d._({ id: "yTtJTy" }),
616
+ title: p._({ 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(d.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 s({
621
+ }), await u({
622
622
  ...e,
623
623
  ...t
624
- }) && r();
624
+ }) && a();
625
625
  },
626
- confirmButtonLabel: d._({ id: "IUwGEM" }),
627
- cancelButtonLabel: d._({ id: "dEgA5A" }),
628
- disableConfirmButton: e || b || m.some((e) => e.isEditing) || N,
629
- children: [e && /*#__PURE__*/ C(i, {
626
+ confirmButtonLabel: p._({ id: "IUwGEM" }),
627
+ cancelButtonLabel: p._({ id: "dEgA5A" }),
628
+ disableConfirmButton: n || b || g.some((e) => e.isEditing) || N,
629
+ children: [n && /*#__PURE__*/ C(o, {
630
630
  distribution: "center",
631
631
  alignment: "center",
632
- children: /*#__PURE__*/ C(a, { variant: "primary" })
633
- }), !e && /*#__PURE__*/ w("div", { children: [/*#__PURE__*/ C(i, {
632
+ children: /*#__PURE__*/ C(t, { variant: "primary" })
633
+ }), !n && /*#__PURE__*/ w("div", { children: [/*#__PURE__*/ C(o, {
634
634
  direction: "horizontal",
635
635
  className: "jn:bg-theme-background-lvl-1 mb-4 justify-end p-2",
636
- children: /*#__PURE__*/ C(c, {
637
- label: d._({ id: "sWBLli" }),
636
+ children: /*#__PURE__*/ C(s, {
637
+ label: p._({ 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(f, {
643
+ }), /*#__PURE__*/ w(l, {
644
644
  columns: 3,
645
645
  minContentColumns: [2],
646
646
  className: "mb-6",
647
647
  children: [
648
- /*#__PURE__*/ w(v, { children: [
649
- /*#__PURE__*/ C(t, { children: d._({ id: "T8N6oi" }) }),
650
- /*#__PURE__*/ C(t, { children: d._({ id: "wMHvYH" }) }),
651
- /*#__PURE__*/ C(t, {})
648
+ /*#__PURE__*/ w(i, { children: [
649
+ /*#__PURE__*/ C(r, { children: p._({ id: "T8N6oi" }) }),
650
+ /*#__PURE__*/ C(r, { children: p._({ id: "wMHvYH" }) }),
651
+ /*#__PURE__*/ C(r, {})
652
652
  ] }),
653
- b && /*#__PURE__*/ w(v, { children: [
654
- /*#__PURE__*/ C(n, { children: /*#__PURE__*/ C(o, {
653
+ b && /*#__PURE__*/ w(i, { children: [
654
+ /*#__PURE__*/ C(e, { children: /*#__PURE__*/ C(m, {
655
655
  value: S,
656
656
  onChange: (e) => {
657
- E(e.target.value), _.newKey && y((e) => {
657
+ E(e.target.value), v.newKey && y((e) => {
658
658
  let t = { ...e };
659
659
  return delete t.newKey, t;
660
660
  });
661
661
  },
662
- placeholder: d._({ id: "x9AdZ8" }),
663
- errortext: _.newKey,
662
+ placeholder: p._({ id: "x9AdZ8" }),
663
+ errortext: v.newKey,
664
664
  autoFocus: !0
665
665
  }) }),
666
- /*#__PURE__*/ C(n, { children: /*#__PURE__*/ C(o, {
666
+ /*#__PURE__*/ C(e, { children: /*#__PURE__*/ C(m, {
667
667
  value: O,
668
668
  onChange: (e) => {
669
- A(e.target.value), _.newValue && y((e) => {
669
+ A(e.target.value), v.newValue && y((e) => {
670
670
  let t = { ...e };
671
671
  return delete t.newValue, t;
672
672
  });
673
673
  },
674
- placeholder: d._({ id: "wMHvYH" }),
675
- errortext: _.newValue
674
+ placeholder: p._({ id: "wMHvYH" }),
675
+ errortext: v.newValue
676
676
  }) }),
677
- /*#__PURE__*/ C(n, { children: /*#__PURE__*/ w(i, {
677
+ /*#__PURE__*/ C(e, { children: /*#__PURE__*/ w(o, {
678
678
  direction: "horizontal",
679
679
  gap: "2",
680
- children: [/*#__PURE__*/ C(c, {
680
+ children: [/*#__PURE__*/ C(s, {
681
681
  size: "small",
682
682
  variant: "primary",
683
683
  onClick: F,
684
684
  icon: "check",
685
- title: d._({ id: "tfDRzk" })
686
- }), /*#__PURE__*/ C(c, {
685
+ title: p._({ id: "tfDRzk" })
686
+ }), /*#__PURE__*/ C(s, {
687
687
  size: "small",
688
688
  variant: "subdued",
689
689
  onClick: I,
690
690
  icon: "close",
691
- title: d._({ id: "bzSI52" })
691
+ title: p._({ id: "bzSI52" })
692
692
  })]
693
693
  }) })
694
694
  ] }),
695
- m.map((e, t) => /*#__PURE__*/ w(v, { children: [
696
- /*#__PURE__*/ C(n, { children: e.isEditing ? /*#__PURE__*/ C(o, {
697
- value: e.key,
698
- onChange: (e) => V(t, e.target.value),
699
- errortext: _[`edit-${t}`]
695
+ g.map((t, n) => /*#__PURE__*/ w(i, { children: [
696
+ /*#__PURE__*/ C(e, { children: t.isEditing ? /*#__PURE__*/ C(m, {
697
+ value: t.key,
698
+ onChange: (e) => V(n, e.target.value),
699
+ errortext: v[`edit-${n}`]
700
700
  }) : /*#__PURE__*/ C("span", {
701
701
  className: "jn:text-theme-high block max-w-xs truncate font-mono",
702
- title: e.key,
703
- children: e.key
702
+ title: t.key,
703
+ children: t.key
704
704
  }) }),
705
- /*#__PURE__*/ C(n, { children: e.isEditing ? /*#__PURE__*/ C(o, {
706
- value: e.value,
707
- onChange: (e) => H(t, e.target.value)
705
+ /*#__PURE__*/ C(e, { children: t.isEditing ? /*#__PURE__*/ C(m, {
706
+ value: t.value,
707
+ onChange: (e) => H(n, e.target.value)
708
708
  }) : /*#__PURE__*/ C("span", {
709
709
  className: "jn:text-theme-default block max-w-md truncate",
710
- title: e.value,
711
- children: e.value
710
+ title: t.value,
711
+ children: t.value
712
712
  }) }),
713
- /*#__PURE__*/ C(n, { children: e.isEditing ? /*#__PURE__*/ w(i, {
713
+ /*#__PURE__*/ C(e, { children: t.isEditing ? /*#__PURE__*/ w(o, {
714
714
  direction: "horizontal",
715
715
  gap: "2",
716
- children: [/*#__PURE__*/ C(c, {
716
+ children: [/*#__PURE__*/ C(s, {
717
717
  size: "small",
718
718
  variant: "primary",
719
- onClick: () => R(t),
719
+ onClick: () => R(n),
720
720
  icon: "check",
721
- title: d._({ id: "tfDRzk" })
722
- }), /*#__PURE__*/ C(c, {
721
+ title: p._({ id: "tfDRzk" })
722
+ }), /*#__PURE__*/ C(s, {
723
723
  size: "small",
724
724
  variant: "subdued",
725
- onClick: () => z(t),
725
+ onClick: () => z(n),
726
726
  icon: "close",
727
- title: d._({ id: "bzSI52" })
727
+ title: p._({ id: "bzSI52" })
728
728
  })]
729
- }) : /*#__PURE__*/ w(i, {
729
+ }) : /*#__PURE__*/ w(o, {
730
730
  direction: "horizontal",
731
731
  gap: "2",
732
- children: [j !== t && /*#__PURE__*/ C(c, {
732
+ children: [j !== n && /*#__PURE__*/ C(s, {
733
733
  size: "small",
734
734
  variant: "subdued",
735
- onClick: () => L(t),
735
+ onClick: () => L(n),
736
736
  icon: "edit",
737
- "data-testid": `edit-${e.key}`,
738
- title: d._({ id: "ePK91l" }),
739
- disabled: b || m.some((e) => e.isEditing)
740
- }), j === t ? /*#__PURE__*/ C(c, {
737
+ "data-testid": `edit-${t.key}`,
738
+ title: p._({ id: "ePK91l" }),
739
+ disabled: b || g.some((e) => e.isEditing)
740
+ }), j === n ? /*#__PURE__*/ C(s, {
741
741
  size: "small",
742
742
  variant: "primary-danger",
743
- onClick: () => B(t),
744
- "data-testid": `confirm-delete-${e.key}`,
745
- title: d._({ id: "cnGeoo" }),
746
- disabled: b || m.some((e) => e.isEditing),
747
- children: d._({ id: "cnGeoo" })
748
- }) : /*#__PURE__*/ C(c, {
743
+ onClick: () => B(n),
744
+ "data-testid": `confirm-delete-${t.key}`,
745
+ title: p._({ id: "cnGeoo" }),
746
+ disabled: b || g.some((e) => e.isEditing),
747
+ children: p._({ id: "cnGeoo" })
748
+ }) : /*#__PURE__*/ C(s, {
749
749
  size: "small",
750
- onClick: () => M(t),
750
+ onClick: () => M(n),
751
751
  icon: "deleteForever",
752
- "data-testid": `delete-${e.key}`,
753
- title: d._({ id: "cnGeoo" }),
754
- disabled: b || m.some((e) => e.isEditing)
752
+ "data-testid": `delete-${t.key}`,
753
+ title: p._({ id: "cnGeoo" }),
754
+ disabled: b || g.some((e) => e.isEditing)
755
755
  })]
756
756
  }) })
757
- ] }, `${e.originalKey}-${t}`)),
758
- m.length === 0 && !b && /*#__PURE__*/ C(v, { children: /*#__PURE__*/ C(n, {
757
+ ] }, `${t.originalKey}-${n}`)),
758
+ g.length === 0 && !b && /*#__PURE__*/ C(i, { children: /*#__PURE__*/ C(e, {
759
759
  colSpan: 3,
760
760
  className: "jn:text-theme-light py-8 text-center",
761
- children: /*#__PURE__*/ C(i, {
761
+ children: /*#__PURE__*/ C(o, {
762
762
  alignment: "center",
763
- children: /*#__PURE__*/ C("span", { children: d._({ id: "t1POAD" }) })
763
+ children: /*#__PURE__*/ C("span", { children: p._({ id: "t1POAD" }) })
764
764
  })
765
765
  }) })
766
766
  ]
767
767
  })] })]
768
768
  });
769
769
  }
770
- var W = ({ image: e, isOpen: t, isLoading: n = !1, onClose: r, onSave: o }) => {
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 W = ({ image: e, isOpen: n, isLoading: r = !1, onClose: i, onSave: a }) => {
771
+ let { i18n: s, _: l } = k(), u = x(), { data: d, isLoading: f, isError: p } = y.compute.getImageMetadataExcludedProperties.useQuery({ project_id: u }, { enabled: n }), m = E(() => new Set((d ?? []).map((e) => e.toLowerCase())), [d]), h = E(() => H(e, m), [
772
772
  e.id,
773
773
  e.updated_at,
774
- p
774
+ m
775
775
  ]);
776
- return t ? d ? /*#__PURE__*/ C(h, {
776
+ return n ? f ? /*#__PURE__*/ C(c, {
777
777
  open: !0,
778
- onCancel: r,
778
+ onCancel: i,
779
779
  size: "large",
780
780
  title: s._({ id: "yTtJTy" }),
781
- children: /*#__PURE__*/ C(i, {
781
+ children: /*#__PURE__*/ C(o, {
782
782
  distribution: "center",
783
783
  alignment: "center",
784
- children: /*#__PURE__*/ C(a, { variant: "primary" })
784
+ children: /*#__PURE__*/ C(t, { variant: "primary" })
785
785
  })
786
- }) : f ? /*#__PURE__*/ C(h, {
786
+ }) : p ? /*#__PURE__*/ C(c, {
787
787
  open: !0,
788
- onCancel: r,
788
+ onCancel: i,
789
789
  size: "large",
790
790
  title: s._({ id: "yTtJTy" }),
791
- children: /*#__PURE__*/ C(i, {
791
+ children: /*#__PURE__*/ C(o, {
792
792
  distribution: "center",
793
793
  alignment: "center",
794
794
  children: /*#__PURE__*/ C("span", { children: s._({ id: "PYQUjU" }) })
795
795
  })
796
796
  }) : /*#__PURE__*/ C(U, {
797
- isLoading: n,
798
- onClose: r,
799
- onSave: o,
800
- initialMetadata: m,
801
- excludedProperties: p
802
- }, `${e.id}-${e.updated_at}-${p.size}`) : null;
803
- }, G = ({ image: r, isOpen: o, isLoading: s, isDisabled: d, onClose: p, onDelete: m }) => {
804
- if (!r) return null;
805
- let { i18n: g, _ } = k(), y = (e) => {
806
- e.preventDefault(), m(r);
797
+ isLoading: r,
798
+ onClose: i,
799
+ onSave: a,
800
+ initialMetadata: h,
801
+ excludedProperties: m
802
+ }, `${e.id}-${e.updated_at}-${m.size}`) : null;
803
+ }, G = ({ image: a, isOpen: d, isLoading: f, isDisabled: m, onClose: h, 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(h, {
809
- onCancel: p,
808
+ return /*#__PURE__*/ w(c, {
809
+ onCancel: h,
810
810
  size: "small",
811
811
  title: "Delete Image",
812
- open: o,
813
- modalFooter: /*#__PURE__*/ C(l, {
812
+ open: d,
813
+ modalFooter: /*#__PURE__*/ C(u, {
814
814
  className: "flex justify-end",
815
- children: /*#__PURE__*/ w(u, { children: [/*#__PURE__*/ C(c, {
815
+ children: /*#__PURE__*/ w(p, { children: [/*#__PURE__*/ C(s, {
816
816
  variant: "default",
817
- onClick: p,
817
+ onClick: h,
818
818
  children: /*#__PURE__*/ C(O, { id: "dEgA5A" })
819
- }), /*#__PURE__*/ C(c, {
819
+ }), /*#__PURE__*/ C(s, {
820
820
  variant: "primary-danger",
821
821
  onClick: (e) => {
822
- y(e), p();
822
+ y(e), h();
823
823
  },
824
- disabled: s || d,
824
+ disabled: f || m,
825
825
  "data-testid": "delete-image-button",
826
- children: s ? /*#__PURE__*/ C(a, { size: "small" }) : /*#__PURE__*/ C(O, { id: "cnGeoo" })
826
+ children: f ? /*#__PURE__*/ C(t, { size: "small" }) : /*#__PURE__*/ C(O, { id: "cnGeoo" })
827
827
  })] })
828
828
  }),
829
- children: [s && /*#__PURE__*/ C(i, {
829
+ children: [f && /*#__PURE__*/ C(o, {
830
830
  distribution: "center",
831
831
  alignment: "center",
832
- children: /*#__PURE__*/ C(a, { variant: "primary" })
833
- }), !s && /*#__PURE__*/ w("div", { children: [/*#__PURE__*/ C(e, {
834
- text: g._({ id: "2zceEg" }),
832
+ children: /*#__PURE__*/ C(t, { variant: "primary" })
833
+ }), !f && /*#__PURE__*/ w("div", { children: [/*#__PURE__*/ C(n, {
834
+ text: _._({ id: "2zceEg" }),
835
835
  variant: "danger",
836
836
  className: "mb-4"
837
- }), r && /*#__PURE__*/ w(f, {
837
+ }), a && /*#__PURE__*/ w(l, {
838
838
  columns: 2,
839
839
  children: [
840
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: g._({ id: "6YtxFj" }) }), /*#__PURE__*/ C(n, { children: r.name || g._({ id: "MEIAzV" }) })] }),
841
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: g._({ id: "dFb5Nt" }) }), /*#__PURE__*/ C(n, { children: r.id })] }),
842
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: g._({ id: "uAQUqI" }) }), /*#__PURE__*/ C(n, { children: r.status })] }),
843
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: g._({ id: "2q/Q7x" }) }), /*#__PURE__*/ C(n, { children: r.visibility })] }),
844
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: g._({ id: "Cj2Gtd" }) }), /*#__PURE__*/ C(n, { children: /*#__PURE__*/ C(A, { size: r.size }) })] }),
845
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: g._({ id: "NopYGU" }) }), /*#__PURE__*/ C(n, { children: r.disk_format || g._({ id: "fj5byd" }) })] }),
846
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: g._({ id: "d+F6q9" }) }), /*#__PURE__*/ C(n, { children: r.created_at ? new Date(r.created_at).toLocaleDateString() : g._({ id: "fj5byd" }) })] })
840
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: _._({ id: "6YtxFj" }) }), /*#__PURE__*/ C(e, { children: a.name || _._({ id: "MEIAzV" }) })] }),
841
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: _._({ id: "dFb5Nt" }) }), /*#__PURE__*/ C(e, { children: a.id })] }),
842
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: _._({ id: "uAQUqI" }) }), /*#__PURE__*/ C(e, { children: a.status })] }),
843
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: _._({ id: "2q/Q7x" }) }), /*#__PURE__*/ C(e, { children: a.visibility })] }),
844
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: _._({ id: "Cj2Gtd" }) }), /*#__PURE__*/ C(e, { children: /*#__PURE__*/ C(A, { size: a.size }) })] }),
845
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: _._({ id: "NopYGU" }) }), /*#__PURE__*/ C(e, { children: a.disk_format || _._({ id: "fj5byd" }) })] }),
846
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: _._({ id: "d+F6q9" }) }), /*#__PURE__*/ C(e, { 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: o, onClose: s, onActivate: c }) => {
851
- if (!e) return null;
852
- let { i18n: l, _: u } = k();
853
- return /*#__PURE__*/ w(h, {
854
- onCancel: s,
850
+ }, K = ({ image: n, isOpen: a, isLoading: s, onClose: u, onActivate: d }) => {
851
+ if (!n) return null;
852
+ let { i18n: f, _: p } = k();
853
+ return /*#__PURE__*/ w(c, {
854
+ onCancel: u,
855
855
  size: "small",
856
- title: l._({ id: "RSFkXF" }),
857
- open: r,
858
- onConfirm: (t) => {
859
- t.preventDefault(), c(e);
856
+ title: f._({ id: "RSFkXF" }),
857
+ open: a,
858
+ onConfirm: (e) => {
859
+ e.preventDefault(), d(n);
860
860
  },
861
- confirmButtonLabel: l._({ id: "FQBaXG" }),
862
- cancelButtonLabel: l._({ id: "dEgA5A" }),
863
- disableConfirmButton: o,
864
- children: [o && /*#__PURE__*/ C(i, {
861
+ confirmButtonLabel: f._({ id: "FQBaXG" }),
862
+ cancelButtonLabel: f._({ id: "dEgA5A" }),
863
+ disableConfirmButton: s,
864
+ children: [s && /*#__PURE__*/ C(o, {
865
865
  distribution: "center",
866
866
  alignment: "center",
867
- children: /*#__PURE__*/ C(a, { variant: "primary" })
868
- }), !o && /*#__PURE__*/ w("div", { children: [/*#__PURE__*/ C("p", {
867
+ children: /*#__PURE__*/ C(t, { variant: "primary" })
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(f, {
871
+ }), /*#__PURE__*/ w(l, {
872
872
  columns: 2,
873
873
  children: [
874
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "6YtxFj" }) }), /*#__PURE__*/ C(n, { children: e.name || l._({ id: "MEIAzV" }) })] }),
875
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "dFb5Nt" }) }), /*#__PURE__*/ C(n, { children: e.id })] }),
876
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "uAQUqI" }) }), /*#__PURE__*/ C(n, { children: e.status })] }),
877
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "2q/Q7x" }) }), /*#__PURE__*/ C(n, { children: e.visibility })] }),
878
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "Cj2Gtd" }) }), /*#__PURE__*/ C(n, { children: /*#__PURE__*/ C(A, { size: e.size }) })] }),
879
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "NopYGU" }) }), /*#__PURE__*/ C(n, { children: e.disk_format || l._({ id: "fj5byd" }) })] }),
880
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "d+F6q9" }) }), /*#__PURE__*/ C(n, { children: (() => {
881
- let t = new Date(e.created_at ?? "");
882
- return isNaN(t.getTime()) ? l._({ id: "fj5byd" }) : t.toLocaleDateString();
874
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "6YtxFj" }) }), /*#__PURE__*/ C(e, { children: n.name || f._({ id: "MEIAzV" }) })] }),
875
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "dFb5Nt" }) }), /*#__PURE__*/ C(e, { children: n.id })] }),
876
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "uAQUqI" }) }), /*#__PURE__*/ C(e, { children: n.status })] }),
877
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "2q/Q7x" }) }), /*#__PURE__*/ C(e, { children: n.visibility })] }),
878
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "Cj2Gtd" }) }), /*#__PURE__*/ C(e, { children: /*#__PURE__*/ C(A, { size: n.size }) })] }),
879
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "NopYGU" }) }), /*#__PURE__*/ C(e, { children: n.disk_format || f._({ id: "fj5byd" }) })] }),
880
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "d+F6q9" }) }), /*#__PURE__*/ C(e, { children: (() => {
881
+ let e = new Date(n.created_at ?? "");
882
+ return isNaN(e.getTime()) ? f._({ id: "fj5byd" }) : e.toLocaleDateString();
883
883
  })() })] })
884
884
  ]
885
885
  })] })]
886
886
  });
887
- }, q = ({ image: e, isOpen: r, isLoading: o, onClose: s, onDeactivate: c }) => {
888
- if (!e) return null;
889
- let { i18n: l, _: u } = k();
890
- return /*#__PURE__*/ w(h, {
891
- onCancel: s,
887
+ }, q = ({ image: n, isOpen: a, isLoading: s, onClose: u, onDeactivate: d }) => {
888
+ if (!n) return null;
889
+ let { i18n: f, _: p } = k();
890
+ return /*#__PURE__*/ w(c, {
891
+ onCancel: u,
892
892
  size: "small",
893
- title: l._({ id: "hQr1Cr" }),
894
- open: r,
895
- onConfirm: (t) => {
896
- t.preventDefault(), c(e);
893
+ title: f._({ id: "hQr1Cr" }),
894
+ open: a,
895
+ onConfirm: (e) => {
896
+ e.preventDefault(), d(n);
897
897
  },
898
- confirmButtonLabel: l._({ id: "5y3O+A" }),
899
- cancelButtonLabel: l._({ id: "dEgA5A" }),
900
- disableConfirmButton: o,
901
- children: [o && /*#__PURE__*/ C(i, {
898
+ confirmButtonLabel: f._({ id: "5y3O+A" }),
899
+ cancelButtonLabel: f._({ id: "dEgA5A" }),
900
+ disableConfirmButton: s,
901
+ children: [s && /*#__PURE__*/ C(o, {
902
902
  distribution: "center",
903
903
  alignment: "center",
904
- children: /*#__PURE__*/ C(a, { variant: "primary" })
905
- }), !o && /*#__PURE__*/ w("div", { children: [/*#__PURE__*/ C("p", {
904
+ children: /*#__PURE__*/ C(t, { variant: "primary" })
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(f, {
908
+ }), /*#__PURE__*/ w(l, {
909
909
  columns: 2,
910
910
  children: [
911
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "6YtxFj" }) }), /*#__PURE__*/ C(n, { children: e.name || l._({ id: "MEIAzV" }) })] }),
912
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "dFb5Nt" }) }), /*#__PURE__*/ C(n, { children: e.id })] }),
913
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "uAQUqI" }) }), /*#__PURE__*/ C(n, { children: e.status })] }),
914
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "2q/Q7x" }) }), /*#__PURE__*/ C(n, { children: e.visibility })] }),
915
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "Cj2Gtd" }) }), /*#__PURE__*/ C(n, { children: /*#__PURE__*/ C(A, { size: e.size }) })] }),
916
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "NopYGU" }) }), /*#__PURE__*/ C(n, { children: e.disk_format || l._({ id: "fj5byd" }) })] }),
917
- /*#__PURE__*/ w(v, { children: [/*#__PURE__*/ C(t, { children: l._({ id: "d+F6q9" }) }), /*#__PURE__*/ C(n, { children: (() => {
918
- let t = new Date(e.created_at ?? "");
919
- return isNaN(t.getTime()) ? l._({ id: "fj5byd" }) : t.toLocaleDateString();
911
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "6YtxFj" }) }), /*#__PURE__*/ C(e, { children: n.name || f._({ id: "MEIAzV" }) })] }),
912
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "dFb5Nt" }) }), /*#__PURE__*/ C(e, { children: n.id })] }),
913
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "uAQUqI" }) }), /*#__PURE__*/ C(e, { children: n.status })] }),
914
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "2q/Q7x" }) }), /*#__PURE__*/ C(e, { children: n.visibility })] }),
915
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "Cj2Gtd" }) }), /*#__PURE__*/ C(e, { children: /*#__PURE__*/ C(A, { size: n.size }) })] }),
916
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "NopYGU" }) }), /*#__PURE__*/ C(e, { children: n.disk_format || f._({ id: "fj5byd" }) })] }),
917
+ /*#__PURE__*/ w(i, { children: [/*#__PURE__*/ C(r, { children: f._({ id: "d+F6q9" }) }), /*#__PURE__*/ C(e, { children: (() => {
918
+ let e = new Date(n.created_at ?? "");
919
+ return isNaN(e.getTime()) ? f._({ id: "fj5byd" }) : e.toLocaleDateString();
920
920
  })() })] })
921
921
  ]
922
922
  })] })]
@@ -925,7 +925,7 @@ var W = ({ image: e, isOpen: t, isLoading: n = !1, onClose: r, onSave: o }) => {
925
925
  //#endregion
926
926
  //#region src/client/routes/_auth/projects/$projectId/compute/-components/Images/-components/NotificationText.tsx
927
927
  function J({ title: e, description: t }) {
928
- return /*#__PURE__*/ w(i, {
928
+ return /*#__PURE__*/ w(o, {
929
929
  direction: "vertical",
930
930
  gap: "1.5",
931
931
  children: [/*#__PURE__*/ C("span", { children: e }), /*#__PURE__*/ C("span", {
@@ -1216,4 +1216,4 @@ var Y = (e, t) => ({
1216
1216
  //#endregion
1217
1217
  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 };
1218
1218
 
1219
- //# sourceMappingURL=ImageToastNotifications-TZ3EfQg-.mjs.map
1219
+ //# sourceMappingURL=ImageToastNotifications-BuDXpTkl.mjs.map