@cobaltcore-dev/aurora 0.18.0 → 0.19.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 (84) hide show
  1. package/dist/client/{BucketToastNotifications-D2Cq2VrV.mjs → BucketToastNotifications-BGd2wVmh.mjs} +2 -2
  2. package/dist/client/{BucketToastNotifications-D2Cq2VrV.mjs.map → BucketToastNotifications-BGd2wVmh.mjs.map} +1 -1
  3. package/dist/client/DeletePcaModal-BU6kbKsw.mjs +80 -0
  4. package/dist/client/DeletePcaModal-BU6kbKsw.mjs.map +1 -0
  5. package/dist/client/DetailsInfo-BUyuYpJj.mjs +52 -0
  6. package/dist/client/DetailsInfo-BUyuYpJj.mjs.map +1 -0
  7. package/dist/client/{FloatingIpActionModals-sJlSFIsK.mjs → FloatingIpActionModals-DAtZoYGS.mjs} +22 -22
  8. package/dist/client/{FloatingIpActionModals-sJlSFIsK.mjs.map → FloatingIpActionModals-DAtZoYGS.mjs.map} +1 -1
  9. package/dist/client/{ImageToastNotifications-CISH3c_d.mjs → ImageToastNotifications-BhjU1bfT.mjs} +7 -7
  10. package/dist/client/{ImageToastNotifications-CISH3c_d.mjs.map → ImageToastNotifications-BhjU1bfT.mjs.map} +1 -1
  11. package/dist/client/{_flavorId-Cx5tf2KQ.mjs → _flavorId-BQY7YhNx.mjs} +2 -2
  12. package/dist/client/{_flavorId-Cx5tf2KQ.mjs.map → _flavorId-BQY7YhNx.mjs.map} +1 -1
  13. package/dist/client/{_flavorId-C6RJfhh8.mjs → _flavorId-sS1sg_DZ.mjs} +3 -3
  14. package/dist/client/{_flavorId-C6RJfhh8.mjs.map → _flavorId-sS1sg_DZ.mjs.map} +1 -1
  15. package/dist/client/{_floatingIpId-C4Sa8tMa.mjs → _floatingIpId-BHZGh8U8.mjs} +2 -2
  16. package/dist/client/{_floatingIpId-C4Sa8tMa.mjs.map → _floatingIpId-BHZGh8U8.mjs.map} +1 -1
  17. package/dist/client/{_floatingIpId-CAUBZ5WD2.mjs → _floatingIpId-CR3aD38l2.mjs} +5 -5
  18. package/dist/client/{_floatingIpId-CAUBZ5WD2.mjs.map → _floatingIpId-CR3aD38l2.mjs.map} +1 -1
  19. package/dist/client/{_imageId-DpXNAIbD.mjs → _imageId-Cf-Xdksv.mjs} +3 -3
  20. package/dist/client/{_imageId-DpXNAIbD.mjs.map → _imageId-Cf-Xdksv.mjs.map} +1 -1
  21. package/dist/client/_pcaId-B7j0sXnY.mjs +545 -0
  22. package/dist/client/_pcaId-B7j0sXnY.mjs.map +1 -0
  23. package/dist/client/{_projectId-fEA6fnFQ.mjs → _projectId-Cq9JnhRj.mjs} +3 -3
  24. package/dist/client/{_projectId-fEA6fnFQ.mjs.map → _projectId-Cq9JnhRj.mjs.map} +1 -1
  25. package/dist/client/{_projectId-w-tZz0FI.mjs → _projectId-D8FHe0gr.mjs} +2 -2
  26. package/dist/client/{_projectId-w-tZz0FI.mjs.map → _projectId-D8FHe0gr.mjs.map} +1 -1
  27. package/dist/client/{_projectId-qvINx3Dx.mjs → _projectId-Ig3QqYzt.mjs} +2 -2
  28. package/dist/client/{_projectId-qvINx3Dx.mjs.map → _projectId-Ig3QqYzt.mjs.map} +1 -1
  29. package/dist/client/{_projectId-BOaPmCuz.mjs → _projectId-b4NGeECR.mjs} +3 -3
  30. package/dist/client/{_projectId-BOaPmCuz.mjs.map → _projectId-b4NGeECR.mjs.map} +1 -1
  31. package/dist/client/{_securityGroupId-B6_lD8ry.mjs → _securityGroupId-BVSsCus9.mjs} +2 -2
  32. package/dist/client/{_securityGroupId-B6_lD8ry.mjs.map → _securityGroupId-BVSsCus9.mjs.map} +1 -1
  33. package/dist/client/{_securityGroupId-D9FHSkNU.mjs → _securityGroupId-gwV4eB0s.mjs} +16 -16
  34. package/dist/client/{_securityGroupId-D9FHSkNU.mjs.map → _securityGroupId-gwV4eB0s.mjs.map} +1 -1
  35. package/dist/client/{_storageType-ZFnIALny.mjs → _storageType-CH2khFcZ.mjs} +2 -2
  36. package/dist/client/{_storageType-ZFnIALny.mjs.map → _storageType-CH2khFcZ.mjs.map} +1 -1
  37. package/dist/client/{_storageType-MgntkZb6.mjs → _storageType-D-1H6SX1.mjs} +856 -856
  38. package/dist/client/{_storageType-MgntkZb6.mjs.map → _storageType-D-1H6SX1.mjs.map} +1 -1
  39. package/dist/client/build-DgeVmENN.mjs.map +1 -1
  40. package/dist/client/{floatingips-DOGKGGkC.mjs → floatingips-DyBEotB8.mjs} +10 -10
  41. package/dist/client/{floatingips-DOGKGGkC.mjs.map → floatingips-DyBEotB8.mjs.map} +1 -1
  42. package/dist/client/hooks-iGiEkLTp.mjs +12 -0
  43. package/dist/client/hooks-iGiEkLTp.mjs.map +1 -0
  44. package/dist/client/{images-B1wqMKYw.mjs → images-BklbSacK.mjs} +2 -2
  45. package/dist/client/{images-B1wqMKYw.mjs.map → images-BklbSacK.mjs.map} +1 -1
  46. package/dist/client/{images-D5UsQi8i.mjs → images-C3voJ3B1.mjs} +259 -259
  47. package/dist/client/{images-D5UsQi8i.mjs.map → images-C3voJ3B1.mjs.map} +1 -1
  48. package/dist/client/index.d.ts +2 -0
  49. package/dist/client/index.js +337 -344
  50. package/dist/client/index.js.map +1 -1
  51. package/dist/client/md-CyCflQee.mjs.map +1 -1
  52. package/dist/client/{objects-DpgXMFrG.mjs → objects-B3Z8h4RU.mjs} +2 -2
  53. package/dist/client/{objects-DpgXMFrG.mjs.map → objects-B3Z8h4RU.mjs.map} +1 -1
  54. package/dist/client/{objects-Deo1Ic1A.mjs → objects-CGOfO00N.mjs} +499 -475
  55. package/dist/client/objects-CGOfO00N.mjs.map +1 -0
  56. package/dist/client/{pca-DztTIs18.mjs → pca-72YR_Pk0.mjs} +3 -3
  57. package/dist/client/pca-72YR_Pk0.mjs.map +1 -0
  58. package/dist/client/pca-CsBx_IDO.mjs +251 -0
  59. package/dist/client/pca-CsBx_IDO.mjs.map +1 -0
  60. package/dist/client/pcaAccess-Br4kVjLQ.mjs +9 -0
  61. package/dist/client/pcaAccess-Br4kVjLQ.mjs.map +1 -0
  62. package/dist/client/{securitygroups-BRtHaTLm.mjs → securitygroups-8vRbXmBL.mjs} +3 -3
  63. package/dist/client/{securitygroups-BRtHaTLm.mjs.map → securitygroups-8vRbXmBL.mjs.map} +1 -1
  64. package/dist/client/trpcClient-BxcNKnhv.mjs +65 -0
  65. package/dist/client/trpcClient-BxcNKnhv.mjs.map +1 -0
  66. package/dist/client/trpcClient.d.ts +56 -49
  67. package/dist/server/index.d.ts +51 -49
  68. package/dist/server/index.js +53 -23
  69. package/package.json +4 -2
  70. package/dist/client/_pcaId-DY9GPV7t.mjs +0 -479
  71. package/dist/client/_pcaId-DY9GPV7t.mjs.map +0 -1
  72. package/dist/client/_pcaId-ldtkXsbp.mjs +0 -36
  73. package/dist/client/_pcaId-ldtkXsbp.mjs.map +0 -1
  74. package/dist/client/constants-COPE2ktv.mjs +0 -153
  75. package/dist/client/constants-COPE2ktv.mjs.map +0 -1
  76. package/dist/client/hooks-DvdvErNv.mjs +0 -2
  77. package/dist/client/objects-Deo1Ic1A.mjs.map +0 -1
  78. package/dist/client/pca-B7WldCGw.mjs +0 -202
  79. package/dist/client/pca-B7WldCGw.mjs.map +0 -1
  80. package/dist/client/pca-DztTIs18.mjs.map +0 -1
  81. package/dist/client/pcaAccess-BYUY700H.mjs +0 -9
  82. package/dist/client/pcaAccess-BYUY700H.mjs.map +0 -1
  83. package/dist/client/trpcClient-Dy_MP_Pv.mjs +0 -57
  84. package/dist/client/trpcClient-Dy_MP_Pv.mjs.map +0 -1
@@ -1,9 +1,9 @@
1
1
  import { A as e, B as t, E as n, G as r, H as i, K as a, P as o, Q as s, R as c, U as l, Y as u, Z as d, at as f, c as p, dt as m, et as h, g, h as _, m as v, nt as y, o as b, p as x, r as S, rt as C, tt as w, ut as T, y as E } from "./build-DgeVmENN.mjs";
2
- import { r as D } from "./trpcClient-Dy_MP_Pv.mjs";
3
- import { t as O } from "./_securityGroupId-B6_lD8ry.mjs";
4
- import { t as k } from "./useModal-DCs1OJh7.mjs";
5
- import { t as A } from "./useProjectId-DBc5lpoU.mjs";
6
- import "./hooks-DvdvErNv.mjs";
2
+ import { r as D } from "./trpcClient-BxcNKnhv.mjs";
3
+ import { t as O } from "./_securityGroupId-BVSsCus9.mjs";
4
+ import { t as k } from "./useProjectId-DBc5lpoU.mjs";
5
+ import "./hooks-iGiEkLTp.mjs";
6
+ import { t as A } from "./useModal-DCs1OJh7.mjs";
7
7
  import { n as j, t as M } from "./useListWithFiltering-BuhE81I6.mjs";
8
8
  import { t as N } from "./EditSecurityGroupModal-BGPXglju.mjs";
9
9
  import { Fragment as P, jsx as F, jsxs as I } from "react/jsx-runtime";
@@ -974,15 +974,15 @@ var he = ({ securityGroupId: e, open: n, onClose: r, onCreate: o, isLoading: s =
974
974
  //#endregion
975
975
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-components/-details/SecurityGroupRulesTable.tsx
976
976
  function ge({ rules: t, totalRulesCount: i, onDeleteRule: a, isDeletingRule: s, deleteError: l, searchTerm: u = "", onSearchChange: d, sortSettings: p, onSortChange: m, filterSettings: h, onFilterChange: g, securityGroupId: _, onCreateRule: v, isCreatingRule: y = !1, createRuleError: b = null, availableSecurityGroups: x = [], readOnly: S = !1 }) {
977
- let { i18n: T, _: D } = H(), [O, A] = z(null), [M, N] = k(), R = (e) => {
978
- A(e);
977
+ let { i18n: T, _: D } = H(), [O, k] = z(null), [M, N] = A(), R = (e) => {
978
+ k(e);
979
979
  }, B = (e) => {
980
980
  a(e);
981
981
  }, U = () => {
982
- s || A(null);
982
+ s || k(null);
983
983
  };
984
984
  L(() => {
985
- !s && !l && A(null);
985
+ !s && !l && k(null);
986
986
  }, [s, l]);
987
987
  let W = (e) => {
988
988
  if (e.protocol === "icmp" || e.protocol === "ipv6-icmp") {
@@ -1093,7 +1093,7 @@ function $(e) {
1093
1093
  return ve.test(e) || ye.test(e);
1094
1094
  }
1095
1095
  function be({ isOpen: e, onClose: n, securityGroupId: r }) {
1096
- let { i18n: a, _: o } = H(), s = D.useUtils(), c = A(), [u, d] = z(!1), f = U.object({ targetTenant: U.string().min(1, a._({ id: "1RwosK" })).refine($, { message: a._({ id: "CunRry" }) }) }), p = D.network.rbacPolicy.create.useMutation({ onSuccess: () => {
1096
+ let { i18n: a, _: o } = H(), s = D.useUtils(), c = k(), [u, d] = z(!1), f = U.object({ targetTenant: U.string().min(1, a._({ id: "1RwosK" })).refine($, { message: a._({ id: "CunRry" }) }) }), p = D.network.rbacPolicy.create.useMutation({ onSuccess: () => {
1097
1097
  s.network.rbacPolicy.list.invalidate({
1098
1098
  project_id: c,
1099
1099
  securityGroupId: r
@@ -1266,7 +1266,7 @@ function xe({ policy: e, open: n, onClose: r, onConfirm: a, isLoading: o, error:
1266
1266
  //#endregion
1267
1267
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-components/-details/SecurityGroupRBACPolicies.tsx
1268
1268
  function Se({ securityGroupId: e }) {
1269
- let r = D.useUtils(), { i18n: i, _: s } = H(), l = A(), [u, d] = k(), [f, p] = z(null), [m, h] = z(""), { data: g, isPending: _, isError: v, error: y } = D.network.rbacPolicy.list.useQuery({
1269
+ let r = D.useUtils(), { i18n: i, _: s } = H(), l = k(), [u, d] = A(), [f, p] = z(null), [m, h] = z(""), { data: g, isPending: _, isError: v, error: y } = D.network.rbacPolicy.list.useQuery({
1270
1270
  project_id: l,
1271
1271
  securityGroupId: e
1272
1272
  }, { refetchOnWindowFocus: !1 }), b = D.network.rbacPolicy.delete.useMutation({ onSuccess: () => {
@@ -1411,7 +1411,7 @@ function Ce({ securityGroup: e, filteredAndSortedRules: t, onEdit: n, onDeleteRu
1411
1411
  //#endregion
1412
1412
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/-hooks/useSecurityGroupDetails.ts
1413
1413
  function we({ securityGroupId: e, filterControls: t }) {
1414
- let [n, r] = z(!1), i = A(), a = D.useUtils(), o = D.network.securityGroup.getById.useQuery({
1414
+ let [n, r] = z(!1), i = k(), a = D.useUtils(), o = D.network.securityGroup.getById.useQuery({
1415
1415
  project_id: i,
1416
1416
  securityGroupId: e
1417
1417
  }, { placeholderData: () => a.network.securityGroup.getById.getData({
@@ -1490,7 +1490,7 @@ function we({ securityGroupId: e, filterControls: t }) {
1490
1490
  //#endregion
1491
1491
  //#region src/client/routes/_auth/projects/$projectId/network/securitygroups/$securityGroupId/index.tsx?tsr-split=component
1492
1492
  function Te() {
1493
- let { securityGroupId: e } = O.useParams(), t = A(), n = B(), { i18n: r, _: i } = H(), { searchTerm: o, sortSettings: c, filterSettings: l, handleSearchChange: d, handleSortChange: f, handleFilterChange: p } = M({
1493
+ let { securityGroupId: e } = O.useParams(), t = k(), n = B(), { i18n: r, _: i } = H(), { searchTerm: o, sortSettings: c, filterSettings: l, handleSearchChange: d, handleSortChange: f, handleFilterChange: p } = M({
1494
1494
  defaultSortKey: "direction",
1495
1495
  defaultSortDir: "asc",
1496
1496
  sortOptions: [
@@ -1539,7 +1539,7 @@ function Te() {
1539
1539
  onSortChange: f,
1540
1540
  filterSettings: l,
1541
1541
  onFilterChange: p
1542
- }, { securityGroup: h, filteredAndSortedRules: g, isLoading: _, isError: v, error: b, isUpdating: x, updateError: S, isDeletingRule: C, deleteRuleError: T, isCreatingRule: k, createRuleError: j, editModalOpen: P, handleEdit: L, handleCloseEditModal: z, handleUpdate: U, handleDeleteRule: W, handleCreateRule: G } = we({
1542
+ }, { securityGroup: h, filteredAndSortedRules: g, isLoading: _, isError: v, error: b, isUpdating: x, updateError: S, isDeletingRule: C, deleteRuleError: T, isCreatingRule: A, createRuleError: j, editModalOpen: P, handleEdit: L, handleCloseEditModal: z, handleUpdate: U, handleDeleteRule: W, handleCreateRule: G } = we({
1543
1543
  securityGroupId: e,
1544
1544
  filterControls: m
1545
1545
  }), { data: K } = D.network.securityGroup.list.useQuery({ project_id: t }), q = R(() => (K || []).filter((t) => t.id !== e).map((e) => ({
@@ -1610,7 +1610,7 @@ function Te() {
1610
1610
  deleteRuleError: T,
1611
1611
  filterControls: m,
1612
1612
  onCreateRule: G,
1613
- isCreatingRule: k,
1613
+ isCreatingRule: A,
1614
1614
  createRuleError: j,
1615
1615
  availableSecurityGroups: q,
1616
1616
  currentProjectId: t
@@ -1643,4 +1643,4 @@ function Te() {
1643
1643
  //#endregion
1644
1644
  export { Te as component };
1645
1645
 
1646
- //# sourceMappingURL=_securityGroupId-D9FHSkNU.mjs.map
1646
+ //# sourceMappingURL=_securityGroupId-gwV4eB0s.mjs.map