@cobaltcore-dev/aurora 0.4.0 → 0.5.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 (157) hide show
  1. package/README.md +73 -77
  2. package/dist/client/AuroraApp.d.ts +15 -0
  3. package/dist/client/{AuthProvider-D-5Jpa6F.mjs → AuthProvider-Co4d0WzB.mjs} +3 -3
  4. package/dist/client/{AuthProvider-D-5Jpa6F.mjs.map → AuthProvider-Co4d0WzB.mjs.map} +1 -1
  5. package/dist/client/{ContentHeader-BXZoN3B9.mjs → ContentHeader-xQVhO2yT.mjs} +20 -20
  6. package/dist/client/{ContentHeader-BXZoN3B9.mjs.map → ContentHeader-xQVhO2yT.mjs.map} +1 -1
  7. package/dist/client/{DeleteFlavorModal-BusYn32r.mjs → DeleteFlavorModal-CHTUZ3YV.mjs} +211 -202
  8. package/dist/client/DeleteFlavorModal-CHTUZ3YV.mjs.map +1 -0
  9. package/dist/client/{EditSecurityGroupModal-DK3WYikA.mjs → EditSecurityGroupModal-CWHHx2Xk.mjs} +22 -22
  10. package/dist/client/{EditSecurityGroupModal-DK3WYikA.mjs.map → EditSecurityGroupModal-CWHHx2Xk.mjs.map} +1 -1
  11. package/dist/client/{FiltersInput-OVeIJzIo.mjs → FiltersInput-UKJpNFdr.mjs} +10 -10
  12. package/dist/client/{FiltersInput-OVeIJzIo.mjs.map → FiltersInput-UKJpNFdr.mjs.map} +1 -1
  13. package/dist/client/{FloatingIpActionModals-Dok7fJss.mjs → FloatingIpActionModals-caXn6bYo.mjs} +54 -54
  14. package/dist/client/{FloatingIpActionModals-Dok7fJss.mjs.map → FloatingIpActionModals-caXn6bYo.mjs.map} +1 -1
  15. package/dist/client/{ImageToastNotifications-BG9LPnXf.mjs → ImageToastNotifications-BWimIzu_.mjs} +227 -227
  16. package/dist/client/{ImageToastNotifications-BG9LPnXf.mjs.map → ImageToastNotifications-BWimIzu_.mjs.map} +1 -1
  17. package/dist/client/{RouteError-pDEWC_k7.mjs → RouteError-CUj_m3gu.mjs} +6 -6
  18. package/dist/client/{RouteError-pDEWC_k7.mjs.map → RouteError-CUj_m3gu.mjs.map} +1 -1
  19. package/dist/client/{SortInput-DXWSqSny.mjs → SortInput-GQlQBlAj.mjs} +6 -6
  20. package/dist/client/{SortInput-DXWSqSny.mjs.map → SortInput-GQlQBlAj.mjs.map} +1 -1
  21. package/dist/client/{_auth-CJj1Cnbm.mjs → _auth-DXJkv9QO.mjs} +3 -3
  22. package/dist/client/{_auth-CJj1Cnbm.mjs.map → _auth-DXJkv9QO.mjs.map} +1 -1
  23. package/dist/client/_flavorId-C5dc1N_j.mjs +194 -0
  24. package/dist/client/_flavorId-C5dc1N_j.mjs.map +1 -0
  25. package/dist/client/{_flavorId-BoNcxYmF.mjs → _flavorId-sUWG0xuy.mjs} +15 -15
  26. package/dist/client/_flavorId-sUWG0xuy.mjs.map +1 -0
  27. package/dist/client/{_floatingIpId-DF_BSJN6.mjs → _floatingIpId-COK_TBrz2.mjs} +42 -42
  28. package/dist/client/_floatingIpId-COK_TBrz2.mjs.map +1 -0
  29. package/dist/client/{_floatingIpId-D33bOEmH.mjs → _floatingIpId-CT4y-60o.mjs} +3 -3
  30. package/dist/client/{_floatingIpId-D33bOEmH.mjs.map → _floatingIpId-CT4y-60o.mjs.map} +1 -1
  31. package/dist/client/_imageId-n3RcnhAR.mjs +534 -0
  32. package/dist/client/_imageId-n3RcnhAR.mjs.map +1 -0
  33. package/dist/client/{_pcaId-CbBhBrX1.mjs → _pcaId-B-f_6kqs.mjs} +99 -99
  34. package/dist/client/{_pcaId-CbBhBrX1.mjs.map → _pcaId-B-f_6kqs.mjs.map} +1 -1
  35. package/dist/client/{_pcaId-BYCoeK6_.mjs → _pcaId-ChnM_t-9.mjs} +3 -3
  36. package/dist/client/{_pcaId-BYCoeK6_.mjs.map → _pcaId-ChnM_t-9.mjs.map} +1 -1
  37. package/dist/client/_projectId-26bw-_rm.mjs +46 -0
  38. package/dist/client/_projectId-26bw-_rm.mjs.map +1 -0
  39. package/dist/client/{_projectId-BwLMEMGC.mjs → _projectId-BK9UqeYw.mjs} +14 -14
  40. package/dist/client/{_projectId-BwLMEMGC.mjs.map → _projectId-BK9UqeYw.mjs.map} +1 -1
  41. package/dist/client/{_projectId-D35MN1kY.mjs → _projectId-CCtpAQ8m.mjs} +78 -95
  42. package/dist/client/_projectId-CCtpAQ8m.mjs.map +1 -0
  43. package/dist/client/{_projectId-OW2xkK43.mjs → _projectId-Dhb4AyBD.mjs} +3 -3
  44. package/dist/client/{_projectId-OW2xkK43.mjs.map → _projectId-Dhb4AyBD.mjs.map} +1 -1
  45. package/dist/client/{_securityGroupId-B-Z-CzLp.mjs → _securityGroupId-CR1mKICQ.mjs} +3 -3
  46. package/dist/client/{_securityGroupId-B-Z-CzLp.mjs.map → _securityGroupId-CR1mKICQ.mjs.map} +1 -1
  47. package/dist/client/{_securityGroupId-B1bOYRbX.mjs → _securityGroupId-DroYG6cA.mjs} +254 -255
  48. package/dist/client/{_securityGroupId-B1bOYRbX.mjs.map → _securityGroupId-DroYG6cA.mjs.map} +1 -1
  49. package/dist/client/about-969pIiZ9.mjs +92 -0
  50. package/dist/client/{about-DLn1ShhF.mjs.map → about-969pIiZ9.mjs.map} +1 -1
  51. package/dist/client/aurora-DDzsst74.mjs +19 -0
  52. package/dist/client/{aurora-CRcxVUCo.mjs.map → aurora-DDzsst74.mjs.map} +1 -1
  53. package/dist/client/{build-BJDfnAyi.mjs → build-DracvfrJ.mjs} +5 -5
  54. package/dist/client/{build-BJDfnAyi.mjs.map → build-DracvfrJ.mjs.map} +1 -1
  55. package/dist/client/{buildFilterParams-TeyosGyK.mjs → buildFilterParams-DoZzMKX9.mjs} +1 -1
  56. package/dist/client/{buildFilterParams-TeyosGyK.mjs.map → buildFilterParams-DoZzMKX9.mjs.map} +1 -1
  57. package/dist/client/{cn-C3laVXMm.mjs → cn-DM4Cy3jv.mjs} +1 -1
  58. package/dist/client/{cn-C3laVXMm.mjs.map → cn-DM4Cy3jv.mjs.map} +1 -1
  59. package/dist/client/{constants-B-P2r5F1.mjs → constants-4lVQXort.mjs} +22 -22
  60. package/dist/client/{constants-B-P2r5F1.mjs.map → constants-4lVQXort.mjs.map} +1 -1
  61. package/dist/client/{containers-BjWqjNOx.mjs → containers-DGY2hoWw.mjs} +3 -3
  62. package/dist/client/{containers-BjWqjNOx.mjs.map → containers-DGY2hoWw.mjs.map} +1 -1
  63. package/dist/client/containers-ZMFTRaQL.mjs +3277 -0
  64. package/dist/client/containers-ZMFTRaQL.mjs.map +1 -0
  65. package/dist/client/{containers-DsRWc1L5.mjs → containers-xfsYgRyf.mjs} +2 -2
  66. package/dist/client/{containers-DsRWc1L5.mjs.map → containers-xfsYgRyf.mjs.map} +1 -1
  67. package/dist/client/{flavors-D8oElC2K.mjs → flavors-C4GtoybP.mjs} +2 -2
  68. package/dist/client/{flavors-D8oElC2K.mjs.map → flavors-C4GtoybP.mjs.map} +1 -1
  69. package/dist/client/{flavors-qvgPSI7J.mjs → flavors-CpirO_nr.mjs} +167 -148
  70. package/dist/client/flavors-CpirO_nr.mjs.map +1 -0
  71. package/dist/client/{flavors-BXPYAFyQ.mjs → flavors-DWMZ6TuJ.mjs} +2 -2
  72. package/dist/client/{flavors-BXPYAFyQ.mjs.map → flavors-DWMZ6TuJ.mjs.map} +1 -1
  73. package/dist/client/{floatingips-Fa6ocNUu.mjs → floatingips-BUf_oLRl.mjs} +74 -75
  74. package/dist/client/{floatingips-Fa6ocNUu.mjs.map → floatingips-BUf_oLRl.mjs.map} +1 -1
  75. package/dist/client/{formatBytes-tQBEnPoL.mjs → formatBytes-CZv_XyCY.mjs} +1 -1
  76. package/dist/client/{formatBytes-tQBEnPoL.mjs.map → formatBytes-CZv_XyCY.mjs.map} +1 -1
  77. package/dist/client/{helpers--JWXi40U.mjs → helpers-1PpYf-fC.mjs} +1 -1
  78. package/dist/client/{helpers--JWXi40U.mjs.map → helpers-1PpYf-fC.mjs.map} +1 -1
  79. package/dist/client/hooks-dSArr2Ca.mjs +2 -0
  80. package/dist/client/{images-tYfyOkX8.mjs → images-CsonlmFx.mjs} +3 -3
  81. package/dist/client/{images-tYfyOkX8.mjs.map → images-CsonlmFx.mjs.map} +1 -1
  82. package/dist/client/{images-CSFfefAu.mjs → images-Da1t5KPh.mjs} +507 -535
  83. package/dist/client/images-Da1t5KPh.mjs.map +1 -0
  84. package/dist/client/{images-DM9I8G0p.mjs → images-NBf2bV43.mjs} +2 -2
  85. package/dist/client/{images-DM9I8G0p.mjs.map → images-NBf2bV43.mjs.map} +1 -1
  86. package/dist/client/{images-CTLCY-yY.mjs → images-QnWf63uj.mjs} +2 -2
  87. package/dist/client/{images-CTLCY-yY.mjs.map → images-QnWf63uj.mjs.map} +1 -1
  88. package/dist/client/index.js +252 -258
  89. package/dist/client/index.js.map +1 -1
  90. package/dist/client/{md-BivyCkGC.mjs → md-sBiSNVSQ.mjs} +7 -7
  91. package/dist/client/{md-BivyCkGC.mjs.map → md-sBiSNVSQ.mjs.map} +1 -1
  92. package/dist/client/{network-rYLHyf15.mjs → network-DuZm76BZ.mjs} +2 -2
  93. package/dist/client/{network-rYLHyf15.mjs.map → network-DuZm76BZ.mjs.map} +1 -1
  94. package/dist/client/{objects-BciXwZ00.mjs → objects-B89dYCBq.mjs} +3 -3
  95. package/dist/client/{objects-BciXwZ00.mjs.map → objects-B89dYCBq.mjs.map} +1 -1
  96. package/dist/client/{objects-Cdew99tK.mjs → objects-CuFLUOe1.mjs} +2 -2
  97. package/dist/client/{objects-Cdew99tK.mjs.map → objects-CuFLUOe1.mjs.map} +1 -1
  98. package/dist/client/objects-H0NN_Sja.mjs +5460 -0
  99. package/dist/client/objects-H0NN_Sja.mjs.map +1 -0
  100. package/dist/client/{pca-oc7J0_Xd.mjs → pca-C-UFjicP.mjs} +42 -42
  101. package/dist/client/{pca-oc7J0_Xd.mjs.map → pca-C-UFjicP.mjs.map} +1 -1
  102. package/dist/client/{pca-COmKvp3J.mjs → pca-CtU6REww.mjs} +2 -2
  103. package/dist/client/{pca-COmKvp3J.mjs.map → pca-CtU6REww.mjs.map} +1 -1
  104. package/dist/client/{projects-Dl5XkXUP.mjs → projects-C-sjd9T5.mjs} +3 -3
  105. package/dist/client/{projects-Dl5XkXUP.mjs.map → projects-C-sjd9T5.mjs.map} +1 -1
  106. package/dist/client/{projects-BUabCzvw.mjs → projects-DNXsDnJM.mjs} +25 -21
  107. package/dist/client/projects-DNXsDnJM.mjs.map +1 -0
  108. package/dist/client/{projects-DI_L4oDw.mjs → projects-dhnQkuvV.mjs} +2 -2
  109. package/dist/client/{projects-DI_L4oDw.mjs.map → projects-dhnQkuvV.mjs.map} +1 -1
  110. package/dist/client/{projects-HoQ0gE5Y.mjs → projects-yiK0HGSA.mjs} +2 -2
  111. package/dist/client/{projects-HoQ0gE5Y.mjs.map → projects-yiK0HGSA.mjs.map} +1 -1
  112. package/dist/client/{securitygroups-BjkmHk2J.mjs → securitygroups-wHdrxZXd.mjs} +72 -73
  113. package/dist/client/{securitygroups-BjkmHk2J.mjs.map → securitygroups-wHdrxZXd.mjs.map} +1 -1
  114. package/dist/client/{trpcClient-BxguzNYF.mjs → trpcClient-BzPUgiM2.mjs} +1 -1
  115. package/dist/client/{trpcClient-BxguzNYF.mjs.map → trpcClient-BzPUgiM2.mjs.map} +1 -1
  116. package/dist/client/{useErrorTranslation-TZVwIAzq.mjs → useErrorTranslation-Dc0eE8Zt.mjs} +1 -1
  117. package/dist/client/{useErrorTranslation-TZVwIAzq.mjs.map → useErrorTranslation-Dc0eE8Zt.mjs.map} +1 -1
  118. package/dist/client/useListWithFiltering-DrgUwXef.mjs +157 -0
  119. package/dist/client/useListWithFiltering-DrgUwXef.mjs.map +1 -0
  120. package/dist/client/{useModal-DxxlilRm.mjs → useModal-DCs1OJh7.mjs} +1 -1
  121. package/dist/client/{useModal-DxxlilRm.mjs.map → useModal-DCs1OJh7.mjs.map} +1 -1
  122. package/dist/client/{useProjectId-OQv2KBbG.mjs → useProjectId-DBc5lpoU.mjs} +1 -1
  123. package/dist/client/{useProjectId-OQv2KBbG.mjs.map → useProjectId-DBc5lpoU.mjs.map} +1 -1
  124. package/dist/server/index.js +1281 -432
  125. package/package.json +6 -5
  126. package/dist/client/DeleteFlavorModal-BusYn32r.mjs.map +0 -1
  127. package/dist/client/ListToolbar-BojRTNbo.mjs +0 -129
  128. package/dist/client/ListToolbar-BojRTNbo.mjs.map +0 -1
  129. package/dist/client/_flavorId-BRonXvCo.mjs +0 -188
  130. package/dist/client/_flavorId-BRonXvCo.mjs.map +0 -1
  131. package/dist/client/_flavorId-BoNcxYmF.mjs.map +0 -1
  132. package/dist/client/_floatingIpId-DF_BSJN6.mjs.map +0 -1
  133. package/dist/client/_imageId-BL0I5_pv.mjs +0 -527
  134. package/dist/client/_imageId-BL0I5_pv.mjs.map +0 -1
  135. package/dist/client/_projectId-5NiasyXm.mjs +0 -26
  136. package/dist/client/_projectId-5NiasyXm.mjs.map +0 -1
  137. package/dist/client/_projectId-D35MN1kY.mjs.map +0 -1
  138. package/dist/client/about-DLn1ShhF.mjs +0 -92
  139. package/dist/client/aurora-CRcxVUCo.mjs +0 -19
  140. package/dist/client/containers-J7WFA18U.mjs +0 -3120
  141. package/dist/client/containers-J7WFA18U.mjs.map +0 -1
  142. package/dist/client/flavors-qvgPSI7J.mjs.map +0 -1
  143. package/dist/client/hooks-DEjb9d1F.mjs +0 -2
  144. package/dist/client/images-CSFfefAu.mjs.map +0 -1
  145. package/dist/client/objects-DaElrban.mjs +0 -5340
  146. package/dist/client/objects-DaElrban.mjs.map +0 -1
  147. package/dist/client/overview-BMhjFMIV.mjs +0 -15
  148. package/dist/client/overview-BMhjFMIV.mjs.map +0 -1
  149. package/dist/client/overview-BYIRj7_X.mjs +0 -15
  150. package/dist/client/overview-BYIRj7_X.mjs.map +0 -1
  151. package/dist/client/overview-DRCKNBH2.mjs +0 -15
  152. package/dist/client/overview-DRCKNBH2.mjs.map +0 -1
  153. package/dist/client/overview-urYLOVQE.mjs +0 -173
  154. package/dist/client/overview-urYLOVQE.mjs.map +0 -1
  155. package/dist/client/projects-BUabCzvw.mjs.map +0 -1
  156. package/dist/client/useListWithFiltering-CbhHJO4V.mjs +0 -32
  157. package/dist/client/useListWithFiltering-CbhHJO4V.mjs.map +0 -1
@@ -1,12 +1,11 @@
1
- import { B as e, D as t, E as n, G as r, I as i, M as a, Q as o, S as s, T as c, U as l, X as u, Y as d, at as f, c as p, d as m, et as h, h as g, it as _, j as v, n as y, nt as b, ot as x, q as S, r as C, s as w, t as T, z as E } from "./build-BJDfnAyi.mjs";
2
- import { r as D } from "./trpcClient-BxguzNYF.mjs";
3
- import { t as O } from "./_securityGroupId-B-Z-CzLp.mjs";
4
- import { t as k } from "./useModal-DxxlilRm.mjs";
5
- import { t as A } from "./useProjectId-OQv2KBbG.mjs";
6
- import "./hooks-DEjb9d1F.mjs";
7
- import { t as j } from "./ListToolbar-BojRTNbo.mjs";
8
- import { t as M } from "./useListWithFiltering-CbhHJO4V.mjs";
9
- import { t as N } from "./EditSecurityGroupModal-DK3WYikA.mjs";
1
+ import { B as e, D as t, E as n, G as r, I as i, M as a, Q as o, S as s, T as c, U as l, X as u, Y as d, at as f, c as p, d as m, et as h, h as g, it as _, j as v, n as y, nt as b, ot as x, q as S, r as C, s as w, t as T, z as E } from "./build-DracvfrJ.mjs";
2
+ import { r as D } from "./trpcClient-BzPUgiM2.mjs";
3
+ import { t as O } from "./_securityGroupId-CR1mKICQ.mjs";
4
+ import { t as k } from "./useModal-DCs1OJh7.mjs";
5
+ import { t as A } from "./useProjectId-DBc5lpoU.mjs";
6
+ import "./hooks-dSArr2Ca.mjs";
7
+ import { n as j, t as M } from "./useListWithFiltering-DrgUwXef.mjs";
8
+ import { t as N } from "./EditSecurityGroupModal-CWHHx2Xk.mjs";
10
9
  import { Fragment as P, jsx as F, jsxs as I } from "react/jsx-runtime";
11
10
  import { useEffect as L, useMemo as R, useState as z } from "react";
12
11
  import { useNavigate as B } from "@tanstack/react-router";
@@ -15,71 +14,71 @@ import { z as U } from "zod";
15
14
  import { useForm as W, useStore as G } from "@tanstack/react-form";
16
15
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-components/-details/SecurityGroupHeader.tsx
17
16
  function K({ name: e, id: t }) {
18
- return /* @__PURE__ */ I("div", {
17
+ return /*#__PURE__*/ I("div", {
19
18
  className: "mb-2",
20
- children: [/* @__PURE__ */ F(v, { children: `'${e || t}' Details` }), /* @__PURE__ */ F("p", {
19
+ children: [/*#__PURE__*/ F(v, { children: `'${e || t}' Details` }), /*#__PURE__*/ F("p", {
21
20
  className: "text-theme-secondary mt-2 text-sm",
22
- children: /* @__PURE__ */ F(V, { id: "kIuDMT" })
21
+ children: /*#__PURE__*/ F(V, { id: "kIuDMT" })
23
22
  })]
24
23
  });
25
24
  }
26
25
  //#endregion
27
26
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-components/-details/SecurityGroupBasicInfo.tsx
28
27
  function q({ securityGroup: e, onEdit: t, isReadOnly: n = !1 }) {
29
- let { i18n: o, _: s } = H(), c = ({ value: e }) => /* @__PURE__ */ F("span", { children: e ? o._({ id: "l75CjT" }) : o._({ id: "1UzENP" }) });
30
- return /* @__PURE__ */ I("div", { children: [/* @__PURE__ */ F("div", {
28
+ let { i18n: o, _: s } = H(), c = ({ value: e }) => /*#__PURE__*/ F("span", { children: e ? o._({ id: "l75CjT" }) : o._({ id: "1UzENP" }) });
29
+ return /*#__PURE__*/ I("div", { children: [/*#__PURE__*/ F("div", {
31
30
  className: "mb-4 flex flex-row-reverse",
32
- children: t && !n && /* @__PURE__ */ F(p, {
31
+ children: t && !n && /*#__PURE__*/ F(p, {
33
32
  variant: "primary",
34
33
  onClick: t,
35
34
  disabled: n,
36
- children: /* @__PURE__ */ F(V, { id: "ePK91l" })
35
+ children: /*#__PURE__*/ F(V, { id: "ePK91l" })
37
36
  })
38
- }), /* @__PURE__ */ I(l, {
37
+ }), /*#__PURE__*/ I(l, {
39
38
  columns: 4,
40
39
  gridColumnTemplate: "15% 35% 15% 35%",
41
40
  children: [
42
- /* @__PURE__ */ I(i, { children: [/* @__PURE__ */ F(r, { children: o._({ id: "Nu4oKW" }) }), /* @__PURE__ */ F(a, {
41
+ /*#__PURE__*/ I(i, { children: [/*#__PURE__*/ F(r, { children: o._({ id: "Nu4oKW" }) }), /*#__PURE__*/ F(a, {
43
42
  colSpan: 3,
44
- children: /* @__PURE__ */ F("div", {
43
+ children: /*#__PURE__*/ F("div", {
45
44
  className: "overflow-hidden text-ellipsis whitespace-nowrap",
46
45
  title: e.description || void 0,
47
46
  children: e.description || o._({ id: "h47p9L" })
48
47
  })
49
48
  })] }),
50
- /* @__PURE__ */ I(i, { children: [
51
- /* @__PURE__ */ F(r, { children: o._({ id: "S0kLOH" }) }),
52
- /* @__PURE__ */ F(a, { children: /* @__PURE__ */ F("div", {
49
+ /*#__PURE__*/ I(i, { children: [
50
+ /*#__PURE__*/ F(r, { children: o._({ id: "S0kLOH" }) }),
51
+ /*#__PURE__*/ F(a, { children: /*#__PURE__*/ F("div", {
53
52
  className: "overflow-hidden text-ellipsis whitespace-nowrap",
54
53
  title: e.id,
55
54
  children: e.id
56
55
  }) }),
57
- /* @__PURE__ */ F(r, { children: o._({ id: "OYHzN1" }) }),
58
- /* @__PURE__ */ F(a, { children: /* @__PURE__ */ F("div", {
56
+ /*#__PURE__*/ F(r, { children: o._({ id: "OYHzN1" }) }),
57
+ /*#__PURE__*/ F(a, { children: /*#__PURE__*/ F("div", {
59
58
  className: "overflow-hidden text-ellipsis whitespace-nowrap",
60
59
  title: e.tags?.join(", ") || void 0,
61
60
  children: e.tags?.join(", ") || o._({ id: "h47p9L" })
62
61
  }) })
63
62
  ] }),
64
- /* @__PURE__ */ I(i, { children: [
65
- /* @__PURE__ */ F(r, { children: o._({ id: "6YtxFj" }) }),
66
- /* @__PURE__ */ F(a, { children: /* @__PURE__ */ F("div", {
63
+ /*#__PURE__*/ I(i, { children: [
64
+ /*#__PURE__*/ F(r, { children: o._({ id: "6YtxFj" }) }),
65
+ /*#__PURE__*/ F(a, { children: /*#__PURE__*/ F("div", {
67
66
  className: "overflow-hidden text-ellipsis whitespace-nowrap",
68
67
  title: e.name || void 0,
69
68
  children: e.name
70
69
  }) }),
71
- /* @__PURE__ */ F(r, { children: o._({ id: "Jim5X9" }) }),
72
- /* @__PURE__ */ F(a, { children: /* @__PURE__ */ F(c, { value: e.stateful }) })
70
+ /*#__PURE__*/ F(r, { children: o._({ id: "Jim5X9" }) }),
71
+ /*#__PURE__*/ F(a, { children: /*#__PURE__*/ F(c, { value: e.stateful }) })
73
72
  ] }),
74
- /* @__PURE__ */ I(i, { children: [
75
- /* @__PURE__ */ F(r, { children: o._({ id: "aI8Tgp" }) }),
76
- /* @__PURE__ */ F(a, { children: /* @__PURE__ */ F("div", {
73
+ /*#__PURE__*/ I(i, { children: [
74
+ /*#__PURE__*/ F(r, { children: o._({ id: "aI8Tgp" }) }),
75
+ /*#__PURE__*/ F(a, { children: /*#__PURE__*/ F("div", {
77
76
  className: "overflow-hidden text-ellipsis whitespace-nowrap",
78
77
  title: e.project_id || void 0,
79
78
  children: e.project_id || o._({ id: "h47p9L" })
80
79
  }) }),
81
- /* @__PURE__ */ F(r, { children: o._({ id: "0Gd0NU" }) }),
82
- /* @__PURE__ */ F(a, { children: /* @__PURE__ */ F(c, { value: e.shared }) })
80
+ /*#__PURE__*/ F(r, { children: o._({ id: "0Gd0NU" }) }),
81
+ /*#__PURE__*/ F(a, { children: /*#__PURE__*/ F(c, { value: e.shared }) })
83
82
  ] })
84
83
  ]
85
84
  })] });
@@ -88,19 +87,19 @@ function q({ securityGroup: e, onEdit: t, isReadOnly: n = !1 }) {
88
87
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-components/-details/SecurityGroupTabs.tsx
89
88
  function J({ activeTab: e, onTabChange: t, showRBACTab: n = !0 }) {
90
89
  let r = (t) => `px-6 py-3 font-semibold border-b-2 transition-colors ${e === t ? "border-theme-accent text-theme-highest" : "border-transparent text-theme-secondary hover:text-theme-high"}`;
91
- return /* @__PURE__ */ F("div", {
90
+ return /*#__PURE__*/ F("div", {
92
91
  className: "border-theme-background-lvl-3 mt-1 border-b",
93
- children: /* @__PURE__ */ I(b, {
92
+ children: /*#__PURE__*/ I(b, {
94
93
  direction: "horizontal",
95
94
  gap: "0",
96
- children: [/* @__PURE__ */ F("button", {
95
+ children: [/*#__PURE__*/ F("button", {
97
96
  className: r("rules"),
98
97
  onClick: () => t("rules"),
99
- children: /* @__PURE__ */ F(V, { id: "4EZrJN" })
100
- }), n && /* @__PURE__ */ F("button", {
98
+ children: /*#__PURE__*/ F(V, { id: "4EZrJN" })
99
+ }), n && /*#__PURE__*/ F("button", {
101
100
  className: r("rbac"),
102
101
  onClick: () => t("rbac"),
103
- children: /* @__PURE__ */ F(V, { id: "/eFtWI" })
102
+ children: /*#__PURE__*/ F(V, { id: "/eFtWI" })
104
103
  })]
105
104
  })
106
105
  });
@@ -113,90 +112,90 @@ function Y({ rule: t, open: n, onClose: r, onConfirm: i, isLoading: a, error: o
113
112
  }, m = () => {
114
113
  d(""), r();
115
114
  }, h = u !== "delete" || a;
116
- return t ? /* @__PURE__ */ F(x, {
115
+ return t ? /*#__PURE__*/ F(x, {
117
116
  open: n,
118
117
  onCancel: m,
119
118
  size: "small",
120
119
  title: s._({ id: "TM93nK" }),
121
- modalFooter: /* @__PURE__ */ F(e, {
120
+ modalFooter: /*#__PURE__*/ F(e, {
122
121
  className: "flex justify-end",
123
- children: /* @__PURE__ */ I(g, { children: [/* @__PURE__ */ F(p, {
122
+ children: /*#__PURE__*/ I(g, { children: [/*#__PURE__*/ F(p, {
124
123
  variant: "default",
125
124
  onClick: m,
126
125
  disabled: a,
127
- children: /* @__PURE__ */ F(V, { id: "dEgA5A" })
128
- }), /* @__PURE__ */ F(p, {
126
+ children: /*#__PURE__*/ F(V, { id: "dEgA5A" })
127
+ }), /*#__PURE__*/ F(p, {
129
128
  variant: "primary-danger",
130
129
  onClick: f,
131
130
  disabled: h,
132
131
  "data-testid": "confirm-delete-rule-button",
133
- children: a ? /* @__PURE__ */ F(V, { id: "EF2EU9" }) : /* @__PURE__ */ F(V, { id: "lN3xvy" })
132
+ children: a ? /*#__PURE__*/ F(V, { id: "EF2EU9" }) : /*#__PURE__*/ F(V, { id: "lN3xvy" })
134
133
  })] })
135
134
  }),
136
- children: /* @__PURE__ */ I("div", { children: [
137
- o && /* @__PURE__ */ F(S, {
135
+ children: /*#__PURE__*/ I("div", { children: [
136
+ o && /*#__PURE__*/ F(S, {
138
137
  dismissible: !1,
139
138
  variant: "error",
140
139
  className: "mt-4",
141
140
  children: o
142
141
  }),
143
- /* @__PURE__ */ F(V, { id: "CMVP7y" }),
144
- /* @__PURE__ */ I("div", {
142
+ /*#__PURE__*/ F(V, { id: "CMVP7y" }),
143
+ /*#__PURE__*/ I("div", {
145
144
  className: "bg-theme-background-lvl-1 mt-4 mb-4 rounded p-4",
146
- children: [/* @__PURE__ */ F("p", {
145
+ children: [/*#__PURE__*/ F("p", {
147
146
  className: "mb-2 font-semibold",
148
- children: /* @__PURE__ */ F(V, { id: "uly9ET" })
149
- }), /* @__PURE__ */ I("ul", {
147
+ children: /*#__PURE__*/ F(V, { id: "uly9ET" })
148
+ }), /*#__PURE__*/ I("ul", {
150
149
  className: "list-inside list-disc space-y-1 text-sm",
151
150
  children: [
152
- /* @__PURE__ */ I("li", { children: [
153
- /* @__PURE__ */ F(V, { id: "MRB7nI" }),
151
+ /*#__PURE__*/ I("li", { children: [
152
+ /*#__PURE__*/ F(V, { id: "MRB7nI" }),
154
153
  ": ",
155
154
  t.direction
156
155
  ] }),
157
- t.description && /* @__PURE__ */ I("li", { children: [
158
- /* @__PURE__ */ F(V, { id: "Nu4oKW" }),
156
+ t.description && /*#__PURE__*/ I("li", { children: [
157
+ /*#__PURE__*/ F(V, { id: "Nu4oKW" }),
159
158
  ": ",
160
159
  t.description
161
160
  ] }),
162
- /* @__PURE__ */ I("li", { children: [
163
- /* @__PURE__ */ F(V, { id: "yp0UjB" }),
161
+ /*#__PURE__*/ I("li", { children: [
162
+ /*#__PURE__*/ F(V, { id: "yp0UjB" }),
164
163
  ": ",
165
164
  t.ethertype
166
165
  ] }),
167
- t.protocol && /* @__PURE__ */ I("li", { children: [
168
- /* @__PURE__ */ F(V, { id: "6+OdGi" }),
166
+ t.protocol && /*#__PURE__*/ I("li", { children: [
167
+ /*#__PURE__*/ F(V, { id: "6+OdGi" }),
169
168
  ": ",
170
169
  t.protocol
171
170
  ] }),
172
- t.port_range_min !== null && t.port_range_max !== null && /* @__PURE__ */ I("li", { children: [
173
- /* @__PURE__ */ F(V, { id: "tV/Ozb" }),
171
+ t.port_range_min !== null && t.port_range_max !== null && /*#__PURE__*/ I("li", { children: [
172
+ /*#__PURE__*/ F(V, { id: "tV/Ozb" }),
174
173
  ":",
175
174
  " ",
176
175
  t.port_range_min === t.port_range_max ? t.port_range_min : `${t.port_range_min}-${t.port_range_max}`
177
176
  ] }),
178
- t.remote_ip_prefix && /* @__PURE__ */ I("li", { children: [
179
- /* @__PURE__ */ F(V, { id: "WoSkGY" }),
177
+ t.remote_ip_prefix && /*#__PURE__*/ I("li", { children: [
178
+ /*#__PURE__*/ F(V, { id: "WoSkGY" }),
180
179
  ": ",
181
180
  t.remote_ip_prefix
182
181
  ] }),
183
- t.remote_group_id && /* @__PURE__ */ I("li", { children: [
184
- /* @__PURE__ */ F(V, { id: "i9TIyi" }),
182
+ t.remote_group_id && /*#__PURE__*/ I("li", { children: [
183
+ /*#__PURE__*/ F(V, { id: "i9TIyi" }),
185
184
  ": ",
186
185
  t.remote_group_id
187
186
  ] })
188
187
  ]
189
188
  })]
190
189
  }),
191
- /* @__PURE__ */ I("div", {
190
+ /*#__PURE__*/ I("div", {
192
191
  className: "mt-4",
193
- children: [/* @__PURE__ */ F("p", {
192
+ children: [/*#__PURE__*/ F("p", {
194
193
  className: "mb-2 text-sm",
195
- children: /* @__PURE__ */ F(V, {
194
+ children: /*#__PURE__*/ F(V, {
196
195
  id: "PHt+EV",
197
- components: { 0: /* @__PURE__ */ F("strong", {}) }
196
+ components: { 0: /*#__PURE__*/ F("strong", {}) }
198
197
  })
199
- }), /* @__PURE__ */ F(c, {
198
+ }), /*#__PURE__*/ F(c, {
200
199
  value: u,
201
200
  onChange: (e) => d(e.target.value),
202
201
  placeholder: s._({ id: "HNlEFZ" }),
@@ -549,12 +548,12 @@ var Z = "0.0.0.0/0", re = "::/0", ie = "other-protocol", ae = U.object({
549
548
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-modals/AddRuleModal/sections/RuleTypeSection.tsx
550
549
  function se({ form: e, disabled: t = !1 }) {
551
550
  let { i18n: n, _: r } = H();
552
- return /* @__PURE__ */ F(e.Field, {
551
+ return /*#__PURE__*/ F(e.Field, {
553
552
  name: "ruleType",
554
553
  mode: "value",
555
- children: (r) => /* @__PURE__ */ F(_, {
554
+ children: (r) => /*#__PURE__*/ F(_, {
556
555
  className: "mb-6",
557
- children: /* @__PURE__ */ F(C, {
556
+ children: /*#__PURE__*/ F(C, {
558
557
  id: "ruleType",
559
558
  label: n._({ id: "YuGQWb" }),
560
559
  value: r.state.value,
@@ -568,10 +567,10 @@ function se({ form: e, disabled: t = !1 }) {
568
567
  i && (e.setFieldValue("protocol", i.protocol), (i.protocol === "tcp" || i.protocol === "udp") && i.portRangeMin !== null && i.portRangeMax !== null ? (e.setFieldValue("portFrom", String(i.portRangeMin)), e.setFieldValue("portTo", String(i.portRangeMax))) : (e.setFieldValue("portFrom", ""), e.setFieldValue("portTo", "")), i.protocol !== "icmp" && i.protocol !== "ipv6-icmp" && (e.setFieldValue("icmpType", ""), e.setFieldValue("icmpCode", "")));
569
568
  },
570
569
  disabled: t,
571
- children: Q.map((e) => e.value === "" ? /* @__PURE__ */ F(m, {
570
+ children: Q.map((e) => e.value === "" ? /*#__PURE__*/ F(m, {
572
571
  value: e.value,
573
572
  label: n._({ id: "eh/k36" })
574
- }, e.value) : /* @__PURE__ */ F(m, {
573
+ }, e.value) : /*#__PURE__*/ F(m, {
575
574
  value: e.value,
576
575
  label: e.label
577
576
  }, e.value))
@@ -583,21 +582,21 @@ function se({ form: e, disabled: t = !1 }) {
583
582
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-modals/AddRuleModal/sections/DirectionEthertypeSection.tsx
584
583
  function ce({ form: e, disabled: t = !1 }) {
585
584
  let { i18n: n, _: r } = H();
586
- return /* @__PURE__ */ F(e.Field, {
585
+ return /*#__PURE__*/ F(e.Field, {
587
586
  name: "direction",
588
- children: (e) => /* @__PURE__ */ F(_, { children: /* @__PURE__ */ F(s, {
587
+ children: (e) => /*#__PURE__*/ F(_, { children: /*#__PURE__*/ F(s, {
589
588
  name: "direction",
590
589
  label: n._({ id: "MRB7nI" }),
591
590
  selected: e.state.value,
592
591
  onChange: (t) => e.handleChange(String(t)),
593
592
  required: !0,
594
593
  disabled: t,
595
- children: /* @__PURE__ */ I("div", {
594
+ children: /*#__PURE__*/ I("div", {
596
595
  className: "flex gap-4",
597
- children: [/* @__PURE__ */ F(T, {
596
+ children: [/*#__PURE__*/ F(T, {
598
597
  value: "ingress",
599
598
  label: n._({ id: "fzfAAa" })
600
- }), /* @__PURE__ */ F(T, {
599
+ }), /*#__PURE__*/ F(T, {
601
600
  value: "egress",
602
601
  label: n._({ id: "nETBrc" })
603
602
  })]
@@ -607,21 +606,21 @@ function ce({ form: e, disabled: t = !1 }) {
607
606
  }
608
607
  function le({ form: e, disabled: t = !1 }) {
609
608
  let { i18n: n, _: r } = H();
610
- return /* @__PURE__ */ F(e.Field, {
609
+ return /*#__PURE__*/ F(e.Field, {
611
610
  name: "ethertype",
612
- children: (e) => /* @__PURE__ */ F(_, { children: /* @__PURE__ */ F(s, {
611
+ children: (e) => /*#__PURE__*/ F(_, { children: /*#__PURE__*/ F(s, {
613
612
  name: "ethertype",
614
613
  label: n._({ id: "16085O" }),
615
614
  selected: e.state.value,
616
615
  onChange: (t) => e.handleChange(String(t)),
617
616
  required: !0,
618
617
  disabled: t,
619
- children: /* @__PURE__ */ I("div", {
618
+ children: /*#__PURE__*/ I("div", {
620
619
  className: "flex gap-4",
621
- children: [/* @__PURE__ */ F(T, {
620
+ children: [/*#__PURE__*/ F(T, {
622
621
  value: "IPv4",
623
622
  label: "IPv4"
624
- }), /* @__PURE__ */ F(T, {
623
+ }), /*#__PURE__*/ F(T, {
625
624
  value: "IPv6",
626
625
  label: "IPv6"
627
626
  })]
@@ -633,11 +632,11 @@ function le({ form: e, disabled: t = !1 }) {
633
632
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-modals/AddRuleModal/sections/ProtocolSection.tsx
634
633
  function ue({ form: e, disabled: t = !1 }) {
635
634
  let { i18n: n, _: r } = H();
636
- return /* @__PURE__ */ F(e.Field, {
635
+ return /*#__PURE__*/ F(e.Field, {
637
636
  name: "protocol",
638
- children: (e) => /* @__PURE__ */ F(_, {
637
+ children: (e) => /*#__PURE__*/ F(_, {
639
638
  className: "mb-6",
640
- children: /* @__PURE__ */ F(c, {
639
+ children: /*#__PURE__*/ F(c, {
641
640
  id: "protocol",
642
641
  name: "protocol",
643
642
  label: n._({ id: "6+OdGi" }),
@@ -654,17 +653,17 @@ function ue({ form: e, disabled: t = !1 }) {
654
653
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-modals/AddRuleModal/sections/PortRangeSection.tsx
655
654
  function de({ form: e, disabled: t = !1 }) {
656
655
  let { i18n: n, _: r } = H(), i = G(e.store, (e) => e.values.portFrom), a = G(e.store, (e) => e.fieldMeta.portFrom?.errors[0]?.message), o = G(e.store, (e) => e.fieldMeta.portTo?.errors[0]?.message), s = t || !i || i.trim() === "";
657
- return /* @__PURE__ */ I(_, {
656
+ return /*#__PURE__*/ I(_, {
658
657
  className: "mb-6",
659
658
  children: [
660
- /* @__PURE__ */ I("div", {
659
+ /*#__PURE__*/ I("div", {
661
660
  className: "flex items-center gap-4",
662
661
  children: [
663
- /* @__PURE__ */ F(e.Field, {
662
+ /*#__PURE__*/ F(e.Field, {
664
663
  name: "portFrom",
665
- children: (r) => /* @__PURE__ */ F("div", {
664
+ children: (r) => /*#__PURE__*/ F("div", {
666
665
  className: "flex-1",
667
- children: /* @__PURE__ */ F(c, {
666
+ children: /*#__PURE__*/ F(c, {
668
667
  id: "portFrom",
669
668
  name: "portFrom",
670
669
  label: n._({ id: "LMdsuJ" }),
@@ -679,15 +678,15 @@ function de({ form: e, disabled: t = !1 }) {
679
678
  })
680
679
  })
681
680
  }),
682
- /* @__PURE__ */ F("div", {
681
+ /*#__PURE__*/ F("div", {
683
682
  className: "text-theme-secondary flex items-center justify-center",
684
683
  children: "—"
685
684
  }),
686
- /* @__PURE__ */ F(e.Field, {
685
+ /*#__PURE__*/ F(e.Field, {
687
686
  name: "portTo",
688
- children: (t) => /* @__PURE__ */ F("div", {
687
+ children: (t) => /*#__PURE__*/ F("div", {
689
688
  className: "flex-1",
690
- children: /* @__PURE__ */ F(c, {
689
+ children: /*#__PURE__*/ F(c, {
691
690
  id: "portTo",
692
691
  name: "portTo",
693
692
  label: n._({ id: "a12lSo" }),
@@ -703,11 +702,11 @@ function de({ form: e, disabled: t = !1 }) {
703
702
  })
704
703
  ]
705
704
  }),
706
- (a || o) && /* @__PURE__ */ I("div", {
705
+ (a || o) && /*#__PURE__*/ I("div", {
707
706
  className: "text-theme-error mt-2 text-sm",
708
- children: [a && /* @__PURE__ */ F("div", { children: a }), o && /* @__PURE__ */ F("div", { children: o })]
707
+ children: [a && /*#__PURE__*/ F("div", { children: a }), o && /*#__PURE__*/ F("div", { children: o })]
709
708
  }),
710
- /* @__PURE__ */ F("p", {
709
+ /*#__PURE__*/ F("p", {
711
710
  className: "mt-2 text-sm",
712
711
  children: n._({ id: "QAUa4B" })
713
712
  })
@@ -718,15 +717,15 @@ function de({ form: e, disabled: t = !1 }) {
718
717
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-modals/AddRuleModal/sections/IcmpSection.tsx
719
718
  function fe({ form: e, disabled: t = !1 }) {
720
719
  let { i18n: n, _: r } = H();
721
- return /* @__PURE__ */ F(_, {
720
+ return /*#__PURE__*/ F(_, {
722
721
  className: "mb-6",
723
- children: /* @__PURE__ */ I("div", {
722
+ children: /*#__PURE__*/ I("div", {
724
723
  className: "flex w-full gap-4",
725
- children: [/* @__PURE__ */ F(e.Field, {
724
+ children: [/*#__PURE__*/ F(e.Field, {
726
725
  name: "icmpType",
727
- children: (e) => /* @__PURE__ */ F("div", {
726
+ children: (e) => /*#__PURE__*/ F("div", {
728
727
  className: "flex-1",
729
- children: /* @__PURE__ */ F(c, {
728
+ children: /*#__PURE__*/ F(c, {
730
729
  id: "icmpType",
731
730
  name: "icmpType",
732
731
  label: n._({ id: "yPWFWy" }),
@@ -737,11 +736,11 @@ function fe({ form: e, disabled: t = !1 }) {
737
736
  disabled: t
738
737
  })
739
738
  })
740
- }), /* @__PURE__ */ F(e.Field, {
739
+ }), /*#__PURE__*/ F(e.Field, {
741
740
  name: "icmpCode",
742
- children: (e) => /* @__PURE__ */ F("div", {
741
+ children: (e) => /*#__PURE__*/ F("div", {
743
742
  className: "flex-1",
744
- children: /* @__PURE__ */ F(c, {
743
+ children: /*#__PURE__*/ F(c, {
745
744
  id: "icmpCode",
746
745
  name: "icmpCode",
747
746
  label: n._({ id: "76RKuS" }),
@@ -760,13 +759,13 @@ function fe({ form: e, disabled: t = !1 }) {
760
759
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-modals/AddRuleModal/sections/RemoteSourceSection.tsx
761
760
  function pe({ form: e, disabled: t = !1, availableSecurityGroups: n }) {
762
761
  let { i18n: r, _: i } = H();
763
- return /* @__PURE__ */ I(P, { children: [
764
- /* @__PURE__ */ F(e.Field, {
762
+ return /*#__PURE__*/ I(P, { children: [
763
+ /*#__PURE__*/ F(e.Field, {
765
764
  name: "remoteSourceType",
766
765
  mode: "value",
767
- children: (n) => /* @__PURE__ */ F(_, {
766
+ children: (n) => /*#__PURE__*/ F(_, {
768
767
  className: "mb-1",
769
- children: /* @__PURE__ */ F(s, {
768
+ children: /*#__PURE__*/ F(s, {
770
769
  name: "remoteSourceType",
771
770
  label: r._({ id: "I5kZVK" }),
772
771
  selected: n.state.value,
@@ -775,12 +774,12 @@ function pe({ form: e, disabled: t = !1, availableSecurityGroups: n }) {
775
774
  n.handleChange(r), r !== "security_group" && e.setFieldValue("ethertype", "IPv4");
776
775
  },
777
776
  disabled: t,
778
- children: /* @__PURE__ */ I("div", {
777
+ children: /*#__PURE__*/ I("div", {
779
778
  className: "flex gap-4",
780
- children: [/* @__PURE__ */ F(T, {
779
+ children: [/*#__PURE__*/ F(T, {
781
780
  value: "cidr",
782
781
  label: r._({ id: "4uXhtt" })
783
- }), /* @__PURE__ */ F(T, {
782
+ }), /*#__PURE__*/ F(T, {
784
783
  value: "security_group",
785
784
  label: r._({ id: "bwhBhT" })
786
785
  })]
@@ -788,15 +787,15 @@ function pe({ form: e, disabled: t = !1, availableSecurityGroups: n }) {
788
787
  })
789
788
  })
790
789
  }),
791
- /* @__PURE__ */ F(e.Field, {
790
+ /*#__PURE__*/ F(e.Field, {
792
791
  name: "remoteSourceType",
793
- children: (n) => n.state.value === "cidr" ? /* @__PURE__ */ F(e.Field, {
792
+ children: (n) => n.state.value === "cidr" ? /*#__PURE__*/ F(e.Field, {
794
793
  name: "remoteCidr",
795
- children: (n) => /* @__PURE__ */ F(e.Field, {
794
+ children: (n) => /*#__PURE__*/ F(e.Field, {
796
795
  name: "ethertype",
797
- children: (e) => /* @__PURE__ */ F(_, {
796
+ children: (e) => /*#__PURE__*/ F(_, {
798
797
  className: "mb-6",
799
- children: /* @__PURE__ */ F(c, {
798
+ children: /*#__PURE__*/ F(c, {
800
799
  id: "remoteCidr",
801
800
  name: "remoteCidr",
802
801
  label: r._({ id: "vmYyLY" }),
@@ -810,23 +809,23 @@ function pe({ form: e, disabled: t = !1, availableSecurityGroups: n }) {
810
809
  })
811
810
  }) : null
812
811
  }),
813
- /* @__PURE__ */ F(e.Field, {
812
+ /*#__PURE__*/ F(e.Field, {
814
813
  name: "remoteSourceType",
815
- children: (i) => i.state.value === "security_group" ? /* @__PURE__ */ F(e.Field, {
814
+ children: (i) => i.state.value === "security_group" ? /*#__PURE__*/ F(e.Field, {
816
815
  name: "remoteSecurityGroupId",
817
- children: (e) => /* @__PURE__ */ F(_, {
816
+ children: (e) => /*#__PURE__*/ F(_, {
818
817
  className: "mb-6",
819
- children: /* @__PURE__ */ I(C, {
818
+ children: /*#__PURE__*/ I(C, {
820
819
  id: "remoteSecurityGroupId",
821
820
  label: r._({ id: "i9TIyi" }),
822
821
  value: e.state.value,
823
822
  onChange: (t) => e.handleChange(String(t)),
824
823
  errortext: e.state.meta.errors[0]?.message,
825
824
  disabled: t,
826
- children: [/* @__PURE__ */ F(m, {
825
+ children: [/*#__PURE__*/ F(m, {
827
826
  value: "",
828
827
  label: r._({ id: "ZvIpwi" })
829
- }), n.map((e) => /* @__PURE__ */ F(m, {
828
+ }), n.map((e) => /*#__PURE__*/ F(m, {
830
829
  value: e.id,
831
830
  label: e.name || e.id
832
831
  }, e.id))]
@@ -840,11 +839,11 @@ function pe({ form: e, disabled: t = !1, availableSecurityGroups: n }) {
840
839
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-modals/AddRuleModal/sections/DescriptionSection.tsx
841
840
  function me({ form: e, disabled: t = !1 }) {
842
841
  let { i18n: n, _: r } = H();
843
- return /* @__PURE__ */ F(e.Field, {
842
+ return /*#__PURE__*/ F(e.Field, {
844
843
  name: "description",
845
- children: (e) => /* @__PURE__ */ F(_, {
844
+ children: (e) => /*#__PURE__*/ F(_, {
846
845
  className: "mb-0",
847
- children: /* @__PURE__ */ F(w, {
846
+ children: /*#__PURE__*/ F(w, {
848
847
  id: "description",
849
848
  name: "description",
850
849
  label: n._({ id: "Nu4oKW" }),
@@ -884,84 +883,84 @@ var he = ({ securityGroupId: t, open: n, onClose: r, onCreate: i, isLoading: a =
884
883
  }), m = () => {
885
884
  d.reset(), r();
886
885
  };
887
- return /* @__PURE__ */ I(x, {
886
+ return /*#__PURE__*/ I(x, {
888
887
  open: n,
889
888
  onCancel: m,
890
889
  size: "large",
891
890
  title: l._({ id: "b2BLBa" }),
892
- modalFooter: /* @__PURE__ */ F(e, {
891
+ modalFooter: /*#__PURE__*/ F(e, {
893
892
  className: "flex justify-end",
894
- children: /* @__PURE__ */ F(d.Subscribe, { children: (e) => {
893
+ children: /*#__PURE__*/ F(d.Subscribe, { children: (e) => {
895
894
  let t = !!e.values.ruleType;
896
- return /* @__PURE__ */ I(g, { children: [/* @__PURE__ */ F(p, {
895
+ return /*#__PURE__*/ I(g, { children: [/*#__PURE__*/ F(p, {
897
896
  variant: "default",
898
897
  onClick: m,
899
898
  disabled: a || e.isSubmitting,
900
- children: /* @__PURE__ */ F(V, { id: "dEgA5A" })
901
- }), /* @__PURE__ */ F(p, {
899
+ children: /*#__PURE__*/ F(V, { id: "dEgA5A" })
900
+ }), /*#__PURE__*/ F(p, {
902
901
  variant: "primary",
903
902
  type: "button",
904
903
  onClick: () => d.handleSubmit(),
905
904
  disabled: a || e.isSubmitting || !t,
906
905
  "data-testid": "add-rule-button",
907
- children: e.isSubmitting || a ? /* @__PURE__ */ F(o, { size: "small" }) : /* @__PURE__ */ F(V, { id: "bmQLn5" })
906
+ children: e.isSubmitting || a ? /*#__PURE__*/ F(o, { size: "small" }) : /*#__PURE__*/ F(V, { id: "bmQLn5" })
908
907
  })] });
909
908
  } })
910
909
  }),
911
910
  children: [
912
- s && /* @__PURE__ */ F(S, {
911
+ s && /*#__PURE__*/ F(S, {
913
912
  dismissible: !1,
914
913
  variant: "error",
915
914
  className: "mb-4",
916
915
  children: s
917
916
  }),
918
- a && /* @__PURE__ */ I("div", {
917
+ a && /*#__PURE__*/ I("div", {
919
918
  className: "mb-4 flex items-center justify-center gap-2",
920
- children: [/* @__PURE__ */ F(o, { variant: "primary" }), /* @__PURE__ */ F("span", {
919
+ children: [/*#__PURE__*/ F(o, { variant: "primary" }), /*#__PURE__*/ F("span", {
921
920
  className: "text-theme-secondary text-sm",
922
- children: /* @__PURE__ */ F(V, { id: "gU7JFm" })
921
+ children: /*#__PURE__*/ F(V, { id: "gU7JFm" })
923
922
  })]
924
923
  }),
925
- /* @__PURE__ */ F(f, {
924
+ /*#__PURE__*/ F(f, {
926
925
  className: "mb-6",
927
926
  onSubmit: (e) => {
928
927
  e.preventDefault(), d.handleSubmit();
929
928
  },
930
- children: /* @__PURE__ */ I(y, {
929
+ children: /*#__PURE__*/ I(y, {
931
930
  className: "mb-6",
932
- children: [/* @__PURE__ */ F(se, {
931
+ children: [/*#__PURE__*/ F(se, {
933
932
  form: d,
934
933
  disabled: a
935
- }), /* @__PURE__ */ F(d.Subscribe, { children: (e) => {
934
+ }), /*#__PURE__*/ F(d.Subscribe, { children: (e) => {
936
935
  if (!e.values.ruleType) return null;
937
936
  let t = (e.values.protocol === "tcp" || e.values.protocol === "udp") && ["custom-tcp", "custom-udp"].includes(e.values.ruleType), n = e.values.protocol === "icmp" || e.values.protocol === "ipv6-icmp";
938
- return /* @__PURE__ */ I(P, { children: [
939
- /* @__PURE__ */ F(ce, {
937
+ return /*#__PURE__*/ I(P, { children: [
938
+ /*#__PURE__*/ F(ce, {
940
939
  form: d,
941
940
  disabled: a
942
941
  }),
943
- e.values.ruleType === "other-protocol" && /* @__PURE__ */ F(ue, {
942
+ e.values.ruleType === "other-protocol" && /*#__PURE__*/ F(ue, {
944
943
  form: d,
945
944
  disabled: a
946
945
  }),
947
- t && /* @__PURE__ */ F(de, {
946
+ t && /*#__PURE__*/ F(de, {
948
947
  form: d,
949
948
  disabled: a
950
949
  }),
951
- n && /* @__PURE__ */ F(fe, {
950
+ n && /*#__PURE__*/ F(fe, {
952
951
  form: d,
953
952
  disabled: a
954
953
  }),
955
- /* @__PURE__ */ F(pe, {
954
+ /*#__PURE__*/ F(pe, {
956
955
  form: d,
957
956
  disabled: a,
958
957
  availableSecurityGroups: c
959
958
  }),
960
- e.values.remoteSourceType === "security_group" && /* @__PURE__ */ F(le, {
959
+ e.values.remoteSourceType === "security_group" && /*#__PURE__*/ F(le, {
961
960
  form: d,
962
961
  disabled: a
963
962
  }),
964
- /* @__PURE__ */ F(me, {
963
+ /*#__PURE__*/ F(me, {
965
964
  form: d,
966
965
  disabled: a
967
966
  })
@@ -1001,11 +1000,11 @@ function ge({ rules: e, totalRulesCount: t, onDeleteRule: o, isDeletingRule: s,
1001
1000
  }
1002
1001
  return e.port_range_min === null || e.port_range_max === null ? E._({ id: "eKC+EC" }) : e.port_range_min === e.port_range_max ? String(e.port_range_min) : `${e.port_range_min}-${e.port_range_max}`;
1003
1002
  };
1004
- return /* @__PURE__ */ I(P, { children: [
1005
- /* @__PURE__ */ I(b, {
1003
+ return /*#__PURE__*/ I(P, { children: [
1004
+ /*#__PURE__*/ I(b, {
1006
1005
  direction: "vertical",
1007
1006
  gap: "4",
1008
- children: [/* @__PURE__ */ F(j, {
1007
+ children: [/*#__PURE__*/ F(j, {
1009
1008
  totalCount: t ?? e.length,
1010
1009
  filteredCount: e.length,
1011
1010
  itemName: E._({ id: "j9hkgJ" }),
@@ -1015,34 +1014,34 @@ function ge({ rules: e, totalRulesCount: t, onDeleteRule: o, isDeletingRule: s,
1015
1014
  onSort: g,
1016
1015
  searchTerm: u,
1017
1016
  onSearch: f,
1018
- actions: !T && x && /* @__PURE__ */ F(p, {
1017
+ actions: !T && x && /*#__PURE__*/ F(p, {
1019
1018
  variant: "primary",
1020
1019
  icon: "addCircle",
1021
1020
  onClick: N,
1022
- children: /* @__PURE__ */ F(V, { id: "O8tK4v" })
1021
+ children: /*#__PURE__*/ F(V, { id: "O8tK4v" })
1023
1022
  })
1024
- }), e.length === 0 ? /* @__PURE__ */ F(V, { id: "nnxwBn" }) : /* @__PURE__ */ I(l, {
1023
+ }), e.length === 0 ? /*#__PURE__*/ F(V, { id: "nnxwBn" }) : /*#__PURE__*/ I(l, {
1025
1024
  columns: T ? 5 : 6,
1026
1025
  className: "security-group-rules-table",
1027
- children: [/* @__PURE__ */ I(i, { children: [
1028
- /* @__PURE__ */ F(r, { children: E._({ id: "MRB7nI" }) }),
1029
- /* @__PURE__ */ F(r, { children: E._({ id: "Nu4oKW" }) }),
1030
- /* @__PURE__ */ F(r, { children: E._({ id: "yp0UjB" }) }),
1031
- /* @__PURE__ */ F(r, { children: E._({ id: "6+OdGi" }) }),
1032
- /* @__PURE__ */ F(r, { children: E._({ id: "6jAi8c" }) }),
1033
- !T && /* @__PURE__ */ F(r, { children: E._({ id: "7L01XJ" }) })
1034
- ] }), e.map((e) => /* @__PURE__ */ I(i, {
1026
+ children: [/*#__PURE__*/ I(i, { children: [
1027
+ /*#__PURE__*/ F(r, { children: E._({ id: "MRB7nI" }) }),
1028
+ /*#__PURE__*/ F(r, { children: E._({ id: "Nu4oKW" }) }),
1029
+ /*#__PURE__*/ F(r, { children: E._({ id: "yp0UjB" }) }),
1030
+ /*#__PURE__*/ F(r, { children: E._({ id: "6+OdGi" }) }),
1031
+ /*#__PURE__*/ F(r, { children: E._({ id: "6jAi8c" }) }),
1032
+ !T && /*#__PURE__*/ F(r, { children: E._({ id: "7L01XJ" }) })
1033
+ ] }), e.map((e) => /*#__PURE__*/ I(i, {
1035
1034
  "data-testid": `rule-row-${e.id}`,
1036
1035
  children: [
1037
- /* @__PURE__ */ F(a, { children: e.direction || E._({ id: "h47p9L" }) }),
1038
- /* @__PURE__ */ F(a, { children: e.description || E._({ id: "h47p9L" }) }),
1039
- /* @__PURE__ */ F(a, { children: e.ethertype }),
1040
- /* @__PURE__ */ F(a, { children: e.protocol || E._({ id: "eKC+EC" }) }),
1041
- /* @__PURE__ */ F(a, { children: W(e) }),
1042
- !T && /* @__PURE__ */ F(a, {
1036
+ /*#__PURE__*/ F(a, { children: e.direction || E._({ id: "h47p9L" }) }),
1037
+ /*#__PURE__*/ F(a, { children: e.description || E._({ id: "h47p9L" }) }),
1038
+ /*#__PURE__*/ F(a, { children: e.ethertype }),
1039
+ /*#__PURE__*/ F(a, { children: e.protocol || E._({ id: "eKC+EC" }) }),
1040
+ /*#__PURE__*/ F(a, { children: W(e) }),
1041
+ !T && /*#__PURE__*/ F(a, {
1043
1042
  onClick: (e) => e.stopPropagation(),
1044
1043
  className: "items-end justify-end pr-0",
1045
- children: /* @__PURE__ */ F(h, { children: /* @__PURE__ */ F(n, { children: /* @__PURE__ */ F(d, {
1044
+ children: /*#__PURE__*/ F(h, { children: /*#__PURE__*/ F(n, { children: /*#__PURE__*/ F(d, {
1046
1045
  label: E._({ id: "cnGeoo" }),
1047
1046
  onClick: () => R(e)
1048
1047
  }) }) })
@@ -1051,7 +1050,7 @@ function ge({ rules: e, totalRulesCount: t, onDeleteRule: o, isDeletingRule: s,
1051
1050
  }, e.id))]
1052
1051
  })]
1053
1052
  }),
1054
- !T && /* @__PURE__ */ F(Y, {
1053
+ !T && /*#__PURE__*/ F(Y, {
1055
1054
  rule: O,
1056
1055
  open: !!O,
1057
1056
  onClose: U,
@@ -1059,7 +1058,7 @@ function ge({ rules: e, totalRulesCount: t, onDeleteRule: o, isDeletingRule: s,
1059
1058
  isLoading: s,
1060
1059
  error: c
1061
1060
  }),
1062
- !T && y && x && M && /* @__PURE__ */ F(he, {
1061
+ !T && y && x && M && /*#__PURE__*/ F(he, {
1063
1062
  securityGroupId: y,
1064
1063
  open: M,
1065
1064
  onClose: N,
@@ -1074,13 +1073,13 @@ function ge({ rules: e, totalRulesCount: t, onDeleteRule: o, isDeletingRule: s,
1074
1073
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-components/-details/RBACPolicyRow.tsx
1075
1074
  function _e({ policy: e, onDelete: t }) {
1076
1075
  let { i18n: r, _: o } = H();
1077
- return /* @__PURE__ */ I(i, { children: [
1078
- /* @__PURE__ */ F(a, { children: e.target_tenant }),
1079
- /* @__PURE__ */ F(a, { children: e.action }),
1080
- /* @__PURE__ */ F(a, {
1076
+ return /*#__PURE__*/ I(i, { children: [
1077
+ /*#__PURE__*/ F(a, { children: e.target_tenant }),
1078
+ /*#__PURE__*/ F(a, { children: e.action }),
1079
+ /*#__PURE__*/ F(a, {
1081
1080
  onClick: (e) => e.stopPropagation(),
1082
1081
  className: "items-end justify-end pr-0",
1083
- children: /* @__PURE__ */ F(h, { children: /* @__PURE__ */ F(n, { children: /* @__PURE__ */ F(d, {
1082
+ children: /*#__PURE__*/ F(h, { children: /*#__PURE__*/ F(n, { children: /*#__PURE__*/ F(d, {
1084
1083
  label: r._({ id: "t/YqKh" }),
1085
1084
  onClick: t
1086
1085
  }) }) })
@@ -1117,7 +1116,7 @@ function be({ isOpen: e, onClose: t, securityGroupId: n }) {
1117
1116
  }, h = async () => {
1118
1117
  l(!0), await p.handleSubmit();
1119
1118
  };
1120
- return /* @__PURE__ */ I(x, {
1119
+ return /*#__PURE__*/ I(x, {
1121
1120
  open: e,
1122
1121
  onCancel: m,
1123
1122
  title: r._({ id: "vmRPFm" }),
@@ -1127,7 +1126,7 @@ function be({ isOpen: e, onClose: t, securityGroupId: n }) {
1127
1126
  confirmButtonLabel: r._({ id: "Z8lGw6" }),
1128
1127
  disableConfirmButton: d.isPending,
1129
1128
  children: [
1130
- d.error && /* @__PURE__ */ F(S, {
1129
+ d.error && /*#__PURE__*/ F(S, {
1131
1130
  variant: "error",
1132
1131
  className: "mb-4",
1133
1132
  children: (() => {
@@ -1135,16 +1134,16 @@ function be({ isOpen: e, onClose: t, securityGroupId: n }) {
1135
1134
  return e.includes("conflict") || e.includes("409") ? r._({ id: "rbuO5A" }) : e.includes("not found") || e.includes("404") ? r._({ id: "FwSyEp" }) : e.includes("forbidden") || e.includes("403") ? r._({ id: "kqJVBO" }) : d.error.message;
1136
1135
  })()
1137
1136
  }),
1138
- /* @__PURE__ */ F("p", {
1137
+ /*#__PURE__*/ F("p", {
1139
1138
  className: "mb-4",
1140
- children: /* @__PURE__ */ F(V, { id: "cjEOmc" })
1139
+ children: /*#__PURE__*/ F(V, { id: "cjEOmc" })
1141
1140
  }),
1142
- /* @__PURE__ */ F(f, {
1141
+ /*#__PURE__*/ F(f, {
1143
1142
  className: "mb-0",
1144
1143
  onSubmit: (e) => {
1145
1144
  e.preventDefault(), h();
1146
1145
  },
1147
- children: /* @__PURE__ */ F(y, { children: /* @__PURE__ */ F(p.Field, {
1146
+ children: /*#__PURE__*/ F(y, { children: /*#__PURE__*/ F(p.Field, {
1148
1147
  name: "targetTenant",
1149
1148
  validators: {
1150
1149
  onBlur: ({ value: e }) => {
@@ -1161,7 +1160,7 @@ function be({ isOpen: e, onClose: t, securityGroupId: n }) {
1161
1160
  },
1162
1161
  children: (e) => {
1163
1162
  let t = (e.state.meta.isTouched || s) && e.state.meta.errors.length > 0, n = e.state.meta.errors[0], i = t ? typeof n == "string" ? n : n?.message : void 0;
1164
- return /* @__PURE__ */ F(c, {
1163
+ return /*#__PURE__*/ F(c, {
1165
1164
  id: e.name,
1166
1165
  name: e.name,
1167
1166
  label: r._({ id: "WzVwU0" }),
@@ -1193,7 +1192,7 @@ function xe({ policy: e, open: t, onClose: n, onConfirm: r, isLoading: i, error:
1193
1192
  }), u = G(l.store, (e) => e.isSubmitting || e.values.confirmText !== "remove"), d = () => {
1194
1193
  l.reset(), n();
1195
1194
  };
1196
- return /* @__PURE__ */ F(x, {
1195
+ return /*#__PURE__*/ F(x, {
1197
1196
  open: t,
1198
1197
  onCancel: d,
1199
1198
  size: "small",
@@ -1202,54 +1201,54 @@ function xe({ policy: e, open: t, onClose: n, onConfirm: r, isLoading: i, error:
1202
1201
  cancelButtonLabel: o._({ id: "dEgA5A" }),
1203
1202
  confirmButtonLabel: i ? o._({ id: "M5RhXF" }) : o._({ id: "qh5W8q" }),
1204
1203
  disableConfirmButton: i || u,
1205
- children: /* @__PURE__ */ I("div", { children: [
1206
- a && /* @__PURE__ */ F(S, {
1204
+ children: /*#__PURE__*/ I("div", { children: [
1205
+ a && /*#__PURE__*/ F(S, {
1207
1206
  dismissible: !1,
1208
1207
  variant: "error",
1209
1208
  className: "mt-4",
1210
1209
  children: a
1211
1210
  }),
1212
- /* @__PURE__ */ F(V, { id: "BMTd81" }),
1213
- /* @__PURE__ */ I("div", {
1211
+ /*#__PURE__*/ F(V, { id: "BMTd81" }),
1212
+ /*#__PURE__*/ I("div", {
1214
1213
  className: "bg-theme-background-lvl-1 mt-4 mb-4 rounded p-4",
1215
- children: [/* @__PURE__ */ F("p", {
1214
+ children: [/*#__PURE__*/ F("p", {
1216
1215
  className: "mb-2 font-semibold",
1217
- children: /* @__PURE__ */ F(V, { id: "nLvo6K" })
1218
- }), /* @__PURE__ */ I("ul", {
1216
+ children: /*#__PURE__*/ F(V, { id: "nLvo6K" })
1217
+ }), /*#__PURE__*/ I("ul", {
1219
1218
  className: "list-inside list-disc space-y-1 text-sm",
1220
1219
  children: [
1221
- /* @__PURE__ */ I("li", { children: [
1222
- /* @__PURE__ */ F(V, { id: "WzVwU0" }),
1220
+ /*#__PURE__*/ I("li", { children: [
1221
+ /*#__PURE__*/ F(V, { id: "WzVwU0" }),
1223
1222
  ": ",
1224
1223
  e.target_tenant
1225
1224
  ] }),
1226
- /* @__PURE__ */ I("li", { children: [
1227
- /* @__PURE__ */ F(V, { id: "bwRvnp" }),
1225
+ /*#__PURE__*/ I("li", { children: [
1226
+ /*#__PURE__*/ F(V, { id: "bwRvnp" }),
1228
1227
  ": ",
1229
1228
  e.action
1230
1229
  ] }),
1231
- /* @__PURE__ */ I("li", { children: [
1232
- /* @__PURE__ */ F(V, { id: "UGhVPl" }),
1230
+ /*#__PURE__*/ I("li", { children: [
1231
+ /*#__PURE__*/ F(V, { id: "UGhVPl" }),
1233
1232
  ": ",
1234
1233
  e.object_type
1235
1234
  ] })
1236
1235
  ]
1237
1236
  })]
1238
1237
  }),
1239
- !i && /* @__PURE__ */ F(f, {
1238
+ !i && /*#__PURE__*/ F(f, {
1240
1239
  className: "mt-4 mb-0",
1241
1240
  onSubmit: (e) => {
1242
1241
  e.preventDefault(), l.handleSubmit();
1243
1242
  },
1244
- children: /* @__PURE__ */ I(y, { children: [/* @__PURE__ */ F("p", {
1243
+ children: /*#__PURE__*/ I(y, { children: [/*#__PURE__*/ F("p", {
1245
1244
  className: "mb-2 text-sm",
1246
- children: /* @__PURE__ */ F(V, {
1245
+ children: /*#__PURE__*/ F(V, {
1247
1246
  id: "Enpdmy",
1248
- components: { 0: /* @__PURE__ */ F("strong", {}) }
1247
+ components: { 0: /*#__PURE__*/ F("strong", {}) }
1249
1248
  })
1250
- }), /* @__PURE__ */ F(l.Field, {
1249
+ }), /*#__PURE__*/ F(l.Field, {
1251
1250
  name: "confirmText",
1252
- children: (e) => /* @__PURE__ */ F(c, {
1251
+ children: (e) => /*#__PURE__*/ F(c, {
1253
1252
  id: e.name,
1254
1253
  name: e.name,
1255
1254
  value: e.state.value,
@@ -1303,47 +1302,47 @@ function Se({ securityGroupId: e }) {
1303
1302
  }, [g, m]), O = (e) => {
1304
1303
  h(typeof e == "string" ? e : "");
1305
1304
  };
1306
- if (_) return /* @__PURE__ */ F(b, {
1305
+ if (_) return /*#__PURE__*/ F(b, {
1307
1306
  distribution: "center",
1308
1307
  alignment: "center",
1309
1308
  className: "py-8",
1310
- children: /* @__PURE__ */ F(o, { variant: "primary" })
1309
+ children: /*#__PURE__*/ F(o, { variant: "primary" })
1311
1310
  });
1312
- if (v) return /* @__PURE__ */ F(S, {
1311
+ if (v) return /*#__PURE__*/ F(S, {
1313
1312
  variant: "error",
1314
1313
  className: "mb-4",
1315
1314
  children: y.message
1316
1315
  });
1317
1316
  let M = g?.length || 0, N = E.length;
1318
- return /* @__PURE__ */ I(P, { children: [
1319
- /* @__PURE__ */ I(b, {
1317
+ return /*#__PURE__*/ I(P, { children: [
1318
+ /*#__PURE__*/ I(b, {
1320
1319
  direction: "vertical",
1321
1320
  gap: "4",
1322
- children: [/* @__PURE__ */ F(j, {
1321
+ children: [/*#__PURE__*/ F(j, {
1323
1322
  totalCount: M,
1324
1323
  filteredCount: N,
1325
1324
  itemName: n._({ id: "M9H+/G" }),
1326
1325
  searchTerm: m,
1327
1326
  onSearch: O,
1328
- actions: /* @__PURE__ */ F(p, {
1327
+ actions: /*#__PURE__*/ F(p, {
1329
1328
  variant: "primary",
1330
1329
  icon: "addCircle",
1331
1330
  onClick: u,
1332
- children: /* @__PURE__ */ F(V, { id: "vmRPFm" })
1331
+ children: /*#__PURE__*/ F(V, { id: "vmRPFm" })
1333
1332
  })
1334
- }), N === 0 ? m ? /* @__PURE__ */ F(V, { id: "qxxo7y" }) : /* @__PURE__ */ F(V, { id: "Dia2Ue" }) : /* @__PURE__ */ I(l, {
1333
+ }), N === 0 ? m ? /*#__PURE__*/ F(V, { id: "qxxo7y" }) : /*#__PURE__*/ F(V, { id: "Dia2Ue" }) : /*#__PURE__*/ I(l, {
1335
1334
  columns: 3,
1336
- children: [/* @__PURE__ */ I(i, { children: [
1337
- /* @__PURE__ */ F(r, { children: /* @__PURE__ */ F(V, { id: "WzVwU0" }) }),
1338
- /* @__PURE__ */ F(r, { children: /* @__PURE__ */ F(V, { id: "bwRvnp" }) }),
1339
- /* @__PURE__ */ F(r, { children: /* @__PURE__ */ F(V, { id: "7L01XJ" }) })
1340
- ] }), E.map((e) => /* @__PURE__ */ F(_e, {
1335
+ children: [/*#__PURE__*/ I(i, { children: [
1336
+ /*#__PURE__*/ F(r, { children: /*#__PURE__*/ F(V, { id: "WzVwU0" }) }),
1337
+ /*#__PURE__*/ F(r, { children: /*#__PURE__*/ F(V, { id: "bwRvnp" }) }),
1338
+ /*#__PURE__*/ F(r, { children: /*#__PURE__*/ F(V, { id: "7L01XJ" }) })
1339
+ ] }), E.map((e) => /*#__PURE__*/ F(_e, {
1341
1340
  policy: e,
1342
1341
  onDelete: () => C(e)
1343
1342
  }, e.id))]
1344
1343
  })]
1345
1344
  }),
1346
- !!d && /* @__PURE__ */ F(xe, {
1345
+ !!d && /*#__PURE__*/ F(xe, {
1347
1346
  policy: d,
1348
1347
  open: !!d,
1349
1348
  onClose: T,
@@ -1351,7 +1350,7 @@ function Se({ securityGroupId: e }) {
1351
1350
  isLoading: x.isPending,
1352
1351
  error: x.error?.message || null
1353
1352
  }),
1354
- c && /* @__PURE__ */ F(be, {
1353
+ c && /*#__PURE__*/ F(be, {
1355
1354
  isOpen: c,
1356
1355
  onClose: u,
1357
1356
  securityGroupId: e
@@ -1362,30 +1361,30 @@ function Se({ securityGroupId: e }) {
1362
1361
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-components/SecurityGroupDetailsView.tsx
1363
1362
  function Ce({ securityGroup: e, filteredAndSortedRules: t, onEdit: n, onDeleteRule: r, isDeletingRule: i = !1, deleteRuleError: a = null, filterControls: o, onCreateRule: s, isCreatingRule: c = !1, createRuleError: l = null, availableSecurityGroups: u = [], currentProjectId: d }) {
1364
1363
  let [f, p] = z("rules"), m = e.project_id === d, h = !m, g = m;
1365
- return /* @__PURE__ */ F(E, {
1364
+ return /*#__PURE__*/ F(E, {
1366
1365
  px: !1,
1367
1366
  py: !0,
1368
- children: /* @__PURE__ */ I(b, {
1367
+ children: /*#__PURE__*/ I(b, {
1369
1368
  direction: "vertical",
1370
1369
  gap: "4",
1371
1370
  children: [
1372
- /* @__PURE__ */ F(K, {
1371
+ /*#__PURE__*/ F(K, {
1373
1372
  name: e.name,
1374
1373
  id: e.id
1375
1374
  }),
1376
- /* @__PURE__ */ F(q, {
1375
+ /*#__PURE__*/ F(q, {
1377
1376
  securityGroup: e,
1378
1377
  onEdit: n,
1379
1378
  isReadOnly: h
1380
1379
  }),
1381
- !h && /* @__PURE__ */ F(J, {
1380
+ !h && /*#__PURE__*/ F(J, {
1382
1381
  activeTab: f,
1383
1382
  onTabChange: p,
1384
1383
  showRBACTab: g
1385
1384
  }),
1386
- /* @__PURE__ */ I("div", {
1385
+ /*#__PURE__*/ I("div", {
1387
1386
  className: "mt-6",
1388
- children: [f === "rules" && /* @__PURE__ */ F(ge, {
1387
+ children: [f === "rules" && /*#__PURE__*/ F(ge, {
1389
1388
  rules: t,
1390
1389
  totalRulesCount: e.security_group_rules?.length,
1391
1390
  onDeleteRule: r,
@@ -1403,7 +1402,7 @@ function Ce({ securityGroup: e, filteredAndSortedRules: t, onEdit: n, onDeleteRu
1403
1402
  createRuleError: l,
1404
1403
  availableSecurityGroups: u,
1405
1404
  readOnly: h
1406
- }), f === "rbac" && /* @__PURE__ */ F(Se, { securityGroupId: e.id })]
1405
+ }), f === "rbac" && /*#__PURE__*/ F(Se, { securityGroupId: e.id })]
1407
1406
  })
1408
1407
  ]
1409
1408
  })
@@ -1552,57 +1551,57 @@ function Te() {
1552
1551
  params: { projectId: n }
1553
1552
  });
1554
1553
  };
1555
- if (y) return /* @__PURE__ */ I(b, {
1554
+ if (y) return /*#__PURE__*/ I(b, {
1556
1555
  className: "fixed inset-0",
1557
1556
  distribution: "center",
1558
1557
  alignment: "center",
1559
1558
  direction: "vertical",
1560
- children: [/* @__PURE__ */ F(o, {
1559
+ children: [/*#__PURE__*/ F(o, {
1561
1560
  variant: "primary",
1562
1561
  size: "large",
1563
1562
  className: "mb-2"
1564
- }), /* @__PURE__ */ F(V, { id: "3x7Sws" })]
1563
+ }), /*#__PURE__*/ F(V, { id: "3x7Sws" })]
1565
1564
  });
1566
1565
  if (x) {
1567
1566
  let e = S?.message || "Unknown error";
1568
- return /* @__PURE__ */ I(b, {
1567
+ return /*#__PURE__*/ I(b, {
1569
1568
  className: "fixed inset-0",
1570
1569
  distribution: "center",
1571
1570
  alignment: "center",
1572
1571
  direction: "vertical",
1573
1572
  gap: "5",
1574
1573
  children: [
1575
- /* @__PURE__ */ F("p", {
1574
+ /*#__PURE__*/ F("p", {
1576
1575
  className: "text-theme-error font-semibold",
1577
- children: /* @__PURE__ */ F(V, { id: "FjPnAE" })
1576
+ children: /*#__PURE__*/ F(V, { id: "FjPnAE" })
1578
1577
  }),
1579
- /* @__PURE__ */ F("p", {
1578
+ /*#__PURE__*/ F("p", {
1580
1579
  className: "text-theme-highest",
1581
1580
  children: e
1582
1581
  }),
1583
- /* @__PURE__ */ F(p, {
1582
+ /*#__PURE__*/ F(p, {
1584
1583
  onClick: J,
1585
1584
  variant: "primary",
1586
- children: /* @__PURE__ */ F(V, { id: "U9q4M7" })
1585
+ children: /*#__PURE__*/ F(V, { id: "U9q4M7" })
1587
1586
  })
1588
1587
  ]
1589
1588
  });
1590
1589
  }
1591
- return g ? /* @__PURE__ */ I(b, {
1590
+ return g ? /*#__PURE__*/ I(b, {
1592
1591
  direction: "vertical",
1593
1592
  children: [
1594
- /* @__PURE__ */ F(v, { children: g.name || g.id }),
1595
- /* @__PURE__ */ I(u, {
1593
+ /*#__PURE__*/ F(v, { children: g.name || g.id }),
1594
+ /*#__PURE__*/ I(u, {
1596
1595
  className: "my-6",
1597
- children: [/* @__PURE__ */ F(t, {
1596
+ children: [/*#__PURE__*/ F(t, {
1598
1597
  onClick: J,
1599
1598
  label: i._({ id: "4opp4r" })
1600
- }), /* @__PURE__ */ F(t, {
1599
+ }), /*#__PURE__*/ F(t, {
1601
1600
  active: !0,
1602
1601
  label: g.id
1603
1602
  })]
1604
1603
  }),
1605
- /* @__PURE__ */ F(Ce, {
1604
+ /*#__PURE__*/ F(Ce, {
1606
1605
  securityGroup: g,
1607
1606
  filteredAndSortedRules: _,
1608
1607
  onEdit: L,
@@ -1616,7 +1615,7 @@ function Te() {
1616
1615
  availableSecurityGroups: q,
1617
1616
  currentProjectId: n
1618
1617
  }),
1619
- /* @__PURE__ */ F(N, {
1618
+ /*#__PURE__*/ F(N, {
1620
1619
  securityGroup: g,
1621
1620
  open: P,
1622
1621
  onClose: z,
@@ -1625,23 +1624,23 @@ function Te() {
1625
1624
  error: w
1626
1625
  })
1627
1626
  ]
1628
- }) : /* @__PURE__ */ I(b, {
1627
+ }) : /*#__PURE__*/ I(b, {
1629
1628
  className: "fixed inset-0",
1630
1629
  distribution: "center",
1631
1630
  alignment: "center",
1632
1631
  direction: "vertical",
1633
1632
  gap: "5",
1634
- children: [/* @__PURE__ */ F("p", {
1633
+ children: [/*#__PURE__*/ F("p", {
1635
1634
  className: "text-theme-secondary",
1636
- children: /* @__PURE__ */ F(V, { id: "Zw8Q49" })
1637
- }), /* @__PURE__ */ F(p, {
1635
+ children: /*#__PURE__*/ F(V, { id: "Zw8Q49" })
1636
+ }), /*#__PURE__*/ F(p, {
1638
1637
  onClick: J,
1639
1638
  variant: "primary",
1640
- children: /* @__PURE__ */ F(V, { id: "U9q4M7" })
1639
+ children: /*#__PURE__*/ F(V, { id: "U9q4M7" })
1641
1640
  })]
1642
1641
  });
1643
1642
  }
1644
1643
  //#endregion
1645
1644
  export { Te as component };
1646
1645
 
1647
- //# sourceMappingURL=_securityGroupId-B1bOYRbX.mjs.map
1646
+ //# sourceMappingURL=_securityGroupId-DroYG6cA.mjs.map