@cobaltcore-dev/aurora 0.2.2 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/AuroraApp.d.ts +10 -0
- package/dist/client/{ContentHeader-DtBiIwRY.mjs → ContentHeader-BXZoN3B9.mjs} +15 -15
- package/dist/client/{ContentHeader-DtBiIwRY.mjs.map → ContentHeader-BXZoN3B9.mjs.map} +1 -1
- package/dist/client/{DeleteFlavorModal-rmuYIafD.mjs → DeleteFlavorModal-BusYn32r.mjs} +148 -148
- package/dist/client/{DeleteFlavorModal-rmuYIafD.mjs.map → DeleteFlavorModal-BusYn32r.mjs.map} +1 -1
- package/dist/client/{EditSecurityGroupModal-B7Sz9puM.mjs → EditSecurityGroupModal-Dl6m7wUe.mjs} +16 -16
- package/dist/client/{EditSecurityGroupModal-B7Sz9puM.mjs.map → EditSecurityGroupModal-Dl6m7wUe.mjs.map} +1 -1
- package/dist/client/FiltersInput-BgNaHFBt.mjs +81 -0
- package/dist/client/FiltersInput-BgNaHFBt.mjs.map +1 -0
- package/dist/client/{FloatingIpActionModals-CfRJiZqD.mjs → FloatingIpActionModals-By2hXR9m.mjs} +51 -51
- package/dist/client/{FloatingIpActionModals-CfRJiZqD.mjs.map → FloatingIpActionModals-By2hXR9m.mjs.map} +1 -1
- package/dist/client/{ImageToastNotifications-Cw30RXsw.mjs → ImageToastNotifications-fHI8jB2j.mjs} +369 -369
- package/dist/client/{ImageToastNotifications-Cw30RXsw.mjs.map → ImageToastNotifications-fHI8jB2j.mjs.map} +1 -1
- package/dist/client/ListToolbar-BvtCo8dk.mjs +129 -0
- package/dist/client/ListToolbar-BvtCo8dk.mjs.map +1 -0
- package/dist/client/{RouteError-Cyto623-.mjs → RouteError-pDEWC_k7.mjs} +2 -2
- package/dist/client/{RouteError-Cyto623-.mjs.map → RouteError-pDEWC_k7.mjs.map} +1 -1
- package/dist/client/SortInput-DXWSqSny.mjs +34 -0
- package/dist/client/SortInput-DXWSqSny.mjs.map +1 -0
- package/dist/client/{_flavorId-B-1fYadl.mjs → _flavorId-BRonXvCo.mjs} +46 -46
- package/dist/client/_flavorId-BRonXvCo.mjs.map +1 -0
- package/dist/client/{_flavorId-BYfIHIV_.mjs → _flavorId-BoNcxYmF.mjs} +10 -10
- package/dist/client/_flavorId-BoNcxYmF.mjs.map +1 -0
- package/dist/client/_floatingIpId-BpUfL8Im2.mjs +228 -0
- package/dist/client/_floatingIpId-BpUfL8Im2.mjs.map +1 -0
- package/dist/client/{_floatingIpId-IrnN-ozB.mjs → _floatingIpId-CwHiXazi.mjs} +2 -2
- package/dist/client/{_floatingIpId-IrnN-ozB.mjs.map → _floatingIpId-CwHiXazi.mjs.map} +1 -1
- package/dist/client/{_imageId-Tx_9bqEc.mjs → _imageId-CdOOJjw0.mjs} +158 -158
- package/dist/client/_imageId-CdOOJjw0.mjs.map +1 -0
- package/dist/client/{_pcaId-CFuKY82d.mjs → _pcaId-CwlH1Kvl.mjs} +132 -132
- package/dist/client/{_pcaId-CFuKY82d.mjs.map → _pcaId-CwlH1Kvl.mjs.map} +1 -1
- package/dist/client/{_pcaId-Bck7S7gJ.mjs → _pcaId-D1ZEaCdp.mjs} +2 -2
- package/dist/client/{_pcaId-Bck7S7gJ.mjs.map → _pcaId-D1ZEaCdp.mjs.map} +1 -1
- package/dist/client/_projectId-D1gGribM.mjs +316 -0
- package/dist/client/_projectId-D1gGribM.mjs.map +1 -0
- package/dist/client/{_projectId-PSpuCKO7.mjs → _projectId-DhLpIalx.mjs} +9 -9
- package/dist/client/{_projectId-PSpuCKO7.mjs.map → _projectId-DhLpIalx.mjs.map} +1 -1
- package/dist/client/{_projectId-B1VjDd0Z.mjs → _projectId-Dj_InfSc.mjs} +3 -3
- package/dist/client/{_projectId-B1VjDd0Z.mjs.map → _projectId-Dj_InfSc.mjs.map} +1 -1
- package/dist/client/{_projectId-Pxp-RXK4.mjs → _projectId-OW2xkK43.mjs} +2 -2
- package/dist/client/{_projectId-Pxp-RXK4.mjs.map → _projectId-OW2xkK43.mjs.map} +1 -1
- package/dist/client/{_securityGroupId-VV2lUcGQ.mjs → _securityGroupId-B0llWH9A.mjs} +2 -2
- package/dist/client/{_securityGroupId-VV2lUcGQ.mjs.map → _securityGroupId-B0llWH9A.mjs.map} +1 -1
- package/dist/client/{_securityGroupId-Dqi6ddw4.mjs → _securityGroupId-gbUnd5Wv.mjs} +363 -363
- package/dist/client/{_securityGroupId-Dqi6ddw4.mjs.map → _securityGroupId-gbUnd5Wv.mjs.map} +1 -1
- package/dist/client/{about-B2AzqxFI.mjs → about-DCe6LsKz.mjs} +8 -8
- package/dist/client/{about-B2AzqxFI.mjs.map → about-DCe6LsKz.mjs.map} +1 -1
- package/dist/client/{build-Cf7iWbpH.mjs → build-BJDfnAyi.mjs} +1573 -1564
- package/dist/client/{build-Cf7iWbpH.mjs.map → build-BJDfnAyi.mjs.map} +1 -1
- package/dist/client/{buildFilterParams-ngVK3ybs.mjs → buildFilterParams-By33pG59.mjs} +1 -1
- package/dist/client/{buildFilterParams-ngVK3ybs.mjs.map → buildFilterParams-By33pG59.mjs.map} +1 -1
- package/dist/client/{constants-CCgR6fKI.mjs → constants-CAjjRTo_.mjs} +9 -9
- package/dist/client/{constants-CCgR6fKI.mjs.map → constants-CAjjRTo_.mjs.map} +1 -1
- package/dist/client/{containers-BWERuY0O.mjs → containers-BuXUVb1N.mjs} +811 -811
- package/dist/client/{containers-BWERuY0O.mjs.map → containers-BuXUVb1N.mjs.map} +1 -1
- package/dist/client/{containers-Cs5vOeR2.mjs → containers-Ca5V1EBS.mjs} +1 -1
- package/dist/client/containers-Ca5V1EBS.mjs.map +1 -0
- package/dist/client/{containers-DovytjVP.mjs → containers-NW7RnHTI.mjs} +6 -6
- package/dist/client/containers-NW7RnHTI.mjs.map +1 -0
- package/dist/client/flavors-BXPYAFyQ.mjs.map +1 -1
- package/dist/client/{flavors-CUiALHcB.mjs → flavors-D8oElC2K.mjs} +2 -2
- package/dist/client/{flavors-CUiALHcB.mjs.map → flavors-D8oElC2K.mjs.map} +1 -1
- package/dist/client/flavors-qvgPSI7J.mjs +613 -0
- package/dist/client/flavors-qvgPSI7J.mjs.map +1 -0
- package/dist/client/{floatingips-BrjDiY2t.mjs → floatingips-Be3zLoaD.mjs} +126 -126
- package/dist/client/{floatingips-BrjDiY2t.mjs.map → floatingips-Be3zLoaD.mjs.map} +1 -1
- package/dist/client/{images-BZP3pBqj.mjs → images-BiEBENaj.mjs} +2 -2
- package/dist/client/{images-BZP3pBqj.mjs.map → images-BiEBENaj.mjs.map} +1 -1
- package/dist/client/images-CCYBAphP2.mjs +1900 -0
- package/dist/client/images-CCYBAphP2.mjs.map +1 -0
- package/dist/client/images-DM9I8G0p.mjs.map +1 -1
- package/dist/client/index.d.ts +2 -1
- package/dist/client/index.js +410 -412
- package/dist/client/index.js.map +1 -1
- package/dist/client/{network-SCVadZsv.mjs → network-nbSbl0X0.mjs} +1 -1
- package/dist/client/{network-SCVadZsv.mjs.map → network-nbSbl0X0.mjs.map} +1 -1
- package/dist/client/{objects-D4zBka5e.mjs → objects-CU5ws07o.mjs} +6 -6
- package/dist/client/objects-CU5ws07o.mjs.map +1 -0
- package/dist/client/objects-FXN0VWLI.mjs +4760 -0
- package/dist/client/{objects-Cw4Vu01M.mjs.map → objects-FXN0VWLI.mjs.map} +1 -1
- package/dist/client/{objects-B4yrYf_a.mjs → objects-GmuIOaHd.mjs} +1 -1
- package/dist/client/objects-GmuIOaHd.mjs.map +1 -0
- package/dist/client/{overview-BtIXpYBo.mjs → overview-B3gdnWTG.mjs} +2 -2
- package/dist/client/{overview-BtIXpYBo.mjs.map → overview-B3gdnWTG.mjs.map} +1 -1
- package/dist/client/{overview-2J54-loz.mjs → overview-DzYBiNfD.mjs} +2 -2
- package/dist/client/{overview-2J54-loz.mjs.map → overview-DzYBiNfD.mjs.map} +1 -1
- package/dist/client/{overview-D0AAvsmL.mjs → overview-EhfPY8Je.mjs} +2 -2
- package/dist/client/{overview-D0AAvsmL.mjs.map → overview-EhfPY8Je.mjs.map} +1 -1
- package/dist/client/{overview-BnmukbFh.mjs → overview-XueZI4LQ.mjs} +7 -7
- package/dist/client/{overview-BnmukbFh.mjs.map → overview-XueZI4LQ.mjs.map} +1 -1
- package/dist/client/{pca-BqZycwCu.mjs → pca-DSM71LhW.mjs} +2 -2
- package/dist/client/{pca-BqZycwCu.mjs.map → pca-DSM71LhW.mjs.map} +1 -1
- package/dist/client/{pca-V2aaOxZA.mjs → pca-x9if8xU-.mjs} +59 -59
- package/dist/client/{pca-V2aaOxZA.mjs.map → pca-x9if8xU-.mjs.map} +1 -1
- package/dist/client/{projects-jyIHL6DE.mjs → projects-B6BPo2Ar.mjs} +2 -2
- package/dist/client/projects-B6BPo2Ar.mjs.map +1 -0
- package/dist/client/{projects-BsN4bvU2.mjs → projects-BilrmHLu.mjs} +1 -1
- package/dist/client/projects-BilrmHLu.mjs.map +1 -0
- package/dist/client/{projects-0feOw_b6.mjs → projects-Bt0XptpG.mjs} +2 -2
- package/dist/client/projects-Bt0XptpG.mjs.map +1 -0
- package/dist/client/projects-CnmZIB2Q.mjs +95 -0
- package/dist/client/projects-CnmZIB2Q.mjs.map +1 -0
- package/dist/client/{securitygroups-B4MkSBtI.mjs → securitygroups-BdzieS7Z.mjs} +121 -121
- package/dist/client/{securitygroups-B4MkSBtI.mjs.map → securitygroups-BdzieS7Z.mjs.map} +1 -1
- package/dist/client/{useListWithFiltering-CEDh1LO-.mjs → useListWithFiltering-CqQbAjEe.mjs} +1 -1
- package/dist/client/{useListWithFiltering-CEDh1LO-.mjs.map → useListWithFiltering-CqQbAjEe.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/client/ListToolbar-DuazvsAu.mjs +0 -223
- package/dist/client/ListToolbar-DuazvsAu.mjs.map +0 -1
- package/dist/client/_flavorId-B-1fYadl.mjs.map +0 -1
- package/dist/client/_flavorId-BYfIHIV_.mjs.map +0 -1
- package/dist/client/_floatingIpId-FQ5P2qMV.mjs +0 -228
- package/dist/client/_floatingIpId-FQ5P2qMV.mjs.map +0 -1
- package/dist/client/_imageId-Tx_9bqEc.mjs.map +0 -1
- package/dist/client/_projectId-Bs4W9hos.mjs +0 -283
- package/dist/client/_projectId-Bs4W9hos.mjs.map +0 -1
- package/dist/client/containers-Cs5vOeR2.mjs.map +0 -1
- package/dist/client/containers-DovytjVP.mjs.map +0 -1
- package/dist/client/flavors-Bovz-I2U.mjs +0 -565
- package/dist/client/flavors-Bovz-I2U.mjs.map +0 -1
- package/dist/client/images-DaaCUXMI.mjs +0 -1797
- package/dist/client/images-DaaCUXMI.mjs.map +0 -1
- package/dist/client/objects-B4yrYf_a.mjs.map +0 -1
- package/dist/client/objects-Cw4Vu01M.mjs +0 -4760
- package/dist/client/objects-D4zBka5e.mjs.map +0 -1
- package/dist/client/projects-0feOw_b6.mjs.map +0 -1
- package/dist/client/projects-BsN4bvU2.mjs.map +0 -1
- package/dist/client/projects-C1IYOvFQ.mjs +0 -144
- package/dist/client/projects-C1IYOvFQ.mjs.map +0 -1
- package/dist/client/projects-jyIHL6DE.mjs.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as e, J as t, L as n, N as r, Q as i, R as a, W as o, Y as s, b as c, c as l, et as u, h as d, j as f, nt as p, q as m, z as h } from "./build-BJDfnAyi.mjs";
|
|
2
2
|
import { r as g } from "./trpcClient-BxguzNYF.mjs";
|
|
3
|
-
import { t as ee } from "./ContentHeader-
|
|
4
|
-
import { A as _, D as te, E as ne, F as v, I as y, N as re, O as ie, P as b, T as ae, d as oe, k as se, u as ce } from "./ImageToastNotifications-
|
|
3
|
+
import { t as ee } from "./ContentHeader-BXZoN3B9.mjs";
|
|
4
|
+
import { A as _, D as te, E as ne, F as v, I as y, N as re, O as ie, P as b, T as ae, d as oe, k as se, u as ce } from "./ImageToastNotifications-fHI8jB2j.mjs";
|
|
5
5
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
6
6
|
import w, { useState as T } from "react";
|
|
7
7
|
import { useNavigate as le, useParams as ue, useSearch as de } from "@tanstack/react-router";
|
|
8
8
|
import { Trans as E, useLingui as D } from "@lingui/react";
|
|
9
9
|
//#region src/client/routes/_auth/projects/$projectId/compute/-components/Images/-components/ImageDetailsView.tsx
|
|
10
10
|
var O = ({ image: e, myMemberData: t, canUpdateMember: n, onStatusChange: r, isLoading: i }) => {
|
|
11
|
-
let { i18n: a, _: o } = D(), s = t.status === v.PENDING,
|
|
12
|
-
return /* @__PURE__ */ C(
|
|
11
|
+
let { i18n: a, _: o } = D(), s = t.status === v.PENDING, u = t.status === v.REJECTED, f = t.status === v.ACCEPTED, p = t.created_at ? new Date(t.created_at).toLocaleString() : a._({ id: "fj5byd" }), m = t.updated_at ? new Date(t.updated_at).toLocaleString() : a._({ id: "fj5byd" }), h = e.owner ?? "";
|
|
12
|
+
return /* @__PURE__ */ C(c, { children: [
|
|
13
13
|
s && /* @__PURE__ */ S("p", {
|
|
14
14
|
className: "text-theme-highest font-semibold",
|
|
15
15
|
children: /* @__PURE__ */ S(E, { id: "/EcdUM" })
|
|
@@ -17,8 +17,8 @@ var O = ({ image: e, myMemberData: t, canUpdateMember: n, onStatusChange: r, isL
|
|
|
17
17
|
/* @__PURE__ */ S("p", { children: /* @__PURE__ */ S(E, {
|
|
18
18
|
id: "Uwo8Xw",
|
|
19
19
|
values: {
|
|
20
|
-
ownerProject:
|
|
21
|
-
sharedAt:
|
|
20
|
+
ownerProject: h,
|
|
21
|
+
sharedAt: p
|
|
22
22
|
},
|
|
23
23
|
components: { 0: /* @__PURE__ */ S("span", { className: "font-semibold" }) }
|
|
24
24
|
}) }),
|
|
@@ -37,7 +37,7 @@ var O = ({ image: e, myMemberData: t, canUpdateMember: n, onStatusChange: r, isL
|
|
|
37
37
|
children: /* @__PURE__ */ S(E, { id: "G6AP+o" })
|
|
38
38
|
}),
|
|
39
39
|
" ",
|
|
40
|
-
|
|
40
|
+
p
|
|
41
41
|
] }),
|
|
42
42
|
/* @__PURE__ */ C("li", { children: [
|
|
43
43
|
/* @__PURE__ */ S("span", {
|
|
@@ -45,23 +45,23 @@ var O = ({ image: e, myMemberData: t, canUpdateMember: n, onStatusChange: r, isL
|
|
|
45
45
|
children: /* @__PURE__ */ S(E, { id: "pFg+7w" })
|
|
46
46
|
}),
|
|
47
47
|
" ",
|
|
48
|
-
|
|
48
|
+
m
|
|
49
49
|
] })
|
|
50
50
|
] }),
|
|
51
|
-
n && /* @__PURE__ */ C(
|
|
52
|
-
s && /* @__PURE__ */ S(
|
|
51
|
+
n && /* @__PURE__ */ C(d, { children: [
|
|
52
|
+
s && /* @__PURE__ */ S(l, {
|
|
53
53
|
onClick: () => r(v.REJECTED),
|
|
54
54
|
disabled: i,
|
|
55
55
|
variant: "subdued",
|
|
56
56
|
children: /* @__PURE__ */ S(E, { id: "1t/NnN" })
|
|
57
57
|
}),
|
|
58
|
-
(s ||
|
|
58
|
+
(s || u) && /* @__PURE__ */ S(l, {
|
|
59
59
|
onClick: () => r(v.ACCEPTED),
|
|
60
60
|
disabled: i,
|
|
61
61
|
variant: "primary",
|
|
62
62
|
children: /* @__PURE__ */ S(E, { id: "g3UF2V" })
|
|
63
63
|
}),
|
|
64
|
-
|
|
64
|
+
f && /* @__PURE__ */ S(l, {
|
|
65
65
|
onClick: () => r(v.REJECTED),
|
|
66
66
|
disabled: i,
|
|
67
67
|
variant: "primary-danger",
|
|
@@ -70,63 +70,63 @@ var O = ({ image: e, myMemberData: t, canUpdateMember: n, onStatusChange: r, isL
|
|
|
70
70
|
] })
|
|
71
71
|
] });
|
|
72
72
|
}, k = ({ image: e }) => {
|
|
73
|
-
let { i18n:
|
|
74
|
-
return /* @__PURE__ */ C(
|
|
73
|
+
let { i18n: t, _: i } = D();
|
|
74
|
+
return /* @__PURE__ */ C(h, {
|
|
75
75
|
px: !1,
|
|
76
76
|
py: !0,
|
|
77
|
-
children: [/* @__PURE__ */ S(
|
|
77
|
+
children: [/* @__PURE__ */ S(f, { children: t._({ id: "nW/hX9" }) }), /* @__PURE__ */ C(o, {
|
|
78
78
|
alignTerms: "right",
|
|
79
79
|
children: [
|
|
80
|
-
/* @__PURE__ */ S(
|
|
81
|
-
/* @__PURE__ */ S(
|
|
82
|
-
/* @__PURE__ */ S(
|
|
83
|
-
/* @__PURE__ */ S(
|
|
84
|
-
/* @__PURE__ */ S(
|
|
85
|
-
/* @__PURE__ */ S(
|
|
86
|
-
/* @__PURE__ */ S(
|
|
87
|
-
/* @__PURE__ */ S(
|
|
88
|
-
/* @__PURE__ */ S(
|
|
89
|
-
/* @__PURE__ */ C(
|
|
90
|
-
/* @__PURE__ */ S(
|
|
91
|
-
/* @__PURE__ */ C(
|
|
92
|
-
/* @__PURE__ */ S(
|
|
93
|
-
/* @__PURE__ */ S(
|
|
80
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "S0kLOH" }) }),
|
|
81
|
+
/* @__PURE__ */ S(n, { children: e.id }),
|
|
82
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "6YtxFj" }) }),
|
|
83
|
+
/* @__PURE__ */ S(n, { children: e.name }),
|
|
84
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "uAQUqI" }) }),
|
|
85
|
+
/* @__PURE__ */ S(n, { children: e.status }),
|
|
86
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "Cj2Gtd" }) }),
|
|
87
|
+
/* @__PURE__ */ S(n, { children: /* @__PURE__ */ S(y, { size: e.size }) }),
|
|
88
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "Cxgv2U" }) }),
|
|
89
|
+
/* @__PURE__ */ C(n, { children: [e.min_disk, " GB"] }),
|
|
90
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "B2Czeb" }) }),
|
|
91
|
+
/* @__PURE__ */ C(n, { children: [e.min_ram, " MB"] }),
|
|
92
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "NopYGU" }) }),
|
|
93
|
+
/* @__PURE__ */ S(n, { children: /* @__PURE__ */ S("span", {
|
|
94
94
|
className: "uppercase",
|
|
95
95
|
children: e.disk_format
|
|
96
96
|
}) }),
|
|
97
|
-
/* @__PURE__ */ S(
|
|
98
|
-
/* @__PURE__ */ S(
|
|
97
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "6/xipy" }) }),
|
|
98
|
+
/* @__PURE__ */ S(n, { children: /* @__PURE__ */ S("span", {
|
|
99
99
|
className: "uppercase",
|
|
100
100
|
children: e.container_format
|
|
101
101
|
}) }),
|
|
102
|
-
/* @__PURE__ */ S(
|
|
103
|
-
/* @__PURE__ */ S(
|
|
104
|
-
/* @__PURE__ */ S(
|
|
105
|
-
/* @__PURE__ */ S(
|
|
102
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "88kg0+" }) }),
|
|
103
|
+
/* @__PURE__ */ S(n, { children: e.created_at ? new Date(e.created_at).toLocaleDateString() : t._({ id: "fj5byd" }) }),
|
|
104
|
+
/* @__PURE__ */ S(r, { children: t._({ id: "Llcakz" }) }),
|
|
105
|
+
/* @__PURE__ */ S(n, { children: e.updated_at ? new Date(e.updated_at).toLocaleDateString() : t._({ id: "fj5byd" }) })
|
|
106
106
|
]
|
|
107
107
|
})]
|
|
108
108
|
});
|
|
109
|
-
}, A = ({ image: e, currentProjectId:
|
|
110
|
-
let { i18n: i, _:
|
|
111
|
-
return /* @__PURE__ */ C(
|
|
109
|
+
}, A = ({ image: e, currentProjectId: t }) => {
|
|
110
|
+
let { i18n: i, _: a } = D(), s = e.visibility === "shared" && e.owner !== void 0 && e.owner !== t;
|
|
111
|
+
return /* @__PURE__ */ C(h, {
|
|
112
112
|
px: !1,
|
|
113
113
|
py: !0,
|
|
114
|
-
children: [/* @__PURE__ */ S(
|
|
114
|
+
children: [/* @__PURE__ */ S(f, { children: i._({ id: "a3LDKx" }) }), /* @__PURE__ */ C(o, {
|
|
115
115
|
alignTerms: "right",
|
|
116
116
|
children: [
|
|
117
|
-
/* @__PURE__ */ S(
|
|
118
|
-
/* @__PURE__ */ S(
|
|
119
|
-
/* @__PURE__ */ S(
|
|
120
|
-
/* @__PURE__ */ S(
|
|
121
|
-
/* @__PURE__ */ S(
|
|
122
|
-
/* @__PURE__ */ S(
|
|
123
|
-
/* @__PURE__ */ S(
|
|
124
|
-
/* @__PURE__ */ S(
|
|
117
|
+
/* @__PURE__ */ S(r, { children: s ? i._({ id: "20axE5" }) : i._({ id: "YsrbQh" }) }),
|
|
118
|
+
/* @__PURE__ */ S(n, { children: e.owner }),
|
|
119
|
+
/* @__PURE__ */ S(r, { children: i._({ id: "2q/Q7x" }) }),
|
|
120
|
+
/* @__PURE__ */ S(n, { children: e.visibility }),
|
|
121
|
+
/* @__PURE__ */ S(r, { children: i._({ id: "644xgx" }) }),
|
|
122
|
+
/* @__PURE__ */ S(n, { children: e.protected ? i._({ id: "l75CjT" }) : i._({ id: "1UzENP" }) }),
|
|
123
|
+
/* @__PURE__ */ S(r, { children: i._({ id: "PzgYM9" }) }),
|
|
124
|
+
/* @__PURE__ */ S(n, { children: e?.checksum ? e.checksum : "" })
|
|
125
125
|
]
|
|
126
126
|
})]
|
|
127
127
|
});
|
|
128
128
|
}, j = ({ image: e }) => {
|
|
129
|
-
let { i18n:
|
|
129
|
+
let { i18n: t, _: i } = D(), a = new Set([
|
|
130
130
|
"id",
|
|
131
131
|
"name",
|
|
132
132
|
"status",
|
|
@@ -141,100 +141,100 @@ var O = ({ image: e, myMemberData: t, canUpdateMember: n, onStatusChange: r, isL
|
|
|
141
141
|
"created_at",
|
|
142
142
|
"updated_at",
|
|
143
143
|
"checksum"
|
|
144
|
-
]),
|
|
145
|
-
return /* @__PURE__ */ C(
|
|
144
|
+
]), s = Object.entries(e).filter(([e]) => !a.has(e)).sort(([e], [t]) => e.localeCompare(t)), c = s.length > 0;
|
|
145
|
+
return /* @__PURE__ */ C(h, {
|
|
146
146
|
px: !1,
|
|
147
147
|
py: !0,
|
|
148
|
-
children: [/* @__PURE__ */ S(
|
|
148
|
+
children: [/* @__PURE__ */ S(f, { children: t._({ id: "bc67JN" }) }), c ? /* @__PURE__ */ S(o, {
|
|
149
149
|
alignTerms: "right",
|
|
150
150
|
className: "grid-cols-4",
|
|
151
|
-
children:
|
|
151
|
+
children: s.map(([e, i]) => /* @__PURE__ */ C(w.Fragment, { children: [/* @__PURE__ */ S(r, {
|
|
152
152
|
className: "col-span-1",
|
|
153
153
|
children: e
|
|
154
|
-
}), /* @__PURE__ */ S(
|
|
154
|
+
}), /* @__PURE__ */ S(n, {
|
|
155
155
|
className: "col-span-1",
|
|
156
|
-
children:
|
|
156
|
+
children: i == null ? /* @__PURE__ */ S("span", { children: "null" }) : typeof i == "object" ? /* @__PURE__ */ S("span", {
|
|
157
157
|
className: "break-all",
|
|
158
|
-
children: JSON.stringify(
|
|
159
|
-
}) : typeof
|
|
158
|
+
children: JSON.stringify(i)
|
|
159
|
+
}) : typeof i == "boolean" ? i ? t._({ id: "c+xCSz" }) : t._({ id: "ocUvR+" }) : /* @__PURE__ */ S("span", {
|
|
160
160
|
className: "break-all",
|
|
161
|
-
children: String(
|
|
161
|
+
children: String(i)
|
|
162
162
|
})
|
|
163
163
|
})] }, e))
|
|
164
164
|
}) : /* @__PURE__ */ S("p", {
|
|
165
165
|
className: "text-theme-light",
|
|
166
|
-
children:
|
|
166
|
+
children: t._({ id: "9v5VLp" })
|
|
167
167
|
})]
|
|
168
168
|
});
|
|
169
169
|
}, M = (e) => {
|
|
170
170
|
let t = "px-6 py-3 font-semibold border-b-2 transition-colors";
|
|
171
171
|
return e ? `${t} border-theme-accent text-theme-highest` : `${t} border-transparent text-theme-secondary hover:text-theme-high`;
|
|
172
172
|
}, N = ({ image: e, permissions: t, currentProjectId: n }) => {
|
|
173
|
-
let [
|
|
173
|
+
let [r, i] = T(!1), [a, o] = T(null), { data: s, isLoading: c } = g.compute.listImageMembers.useQuery({
|
|
174
174
|
project_id: n,
|
|
175
175
|
imageId: e.id
|
|
176
176
|
}, { enabled: !!e.id && !!n });
|
|
177
|
-
return /* @__PURE__ */ C(
|
|
177
|
+
return /* @__PURE__ */ C(h, {
|
|
178
178
|
px: !1,
|
|
179
179
|
py: !0,
|
|
180
|
-
children: [
|
|
181
|
-
text:
|
|
182
|
-
variant:
|
|
183
|
-
onDismiss: () =>
|
|
180
|
+
children: [a && /* @__PURE__ */ S(m, {
|
|
181
|
+
text: a.text,
|
|
182
|
+
variant: a.type,
|
|
183
|
+
onDismiss: () => o(null),
|
|
184
184
|
className: "mb-4"
|
|
185
185
|
}), /* @__PURE__ */ S(_, {
|
|
186
186
|
image: e,
|
|
187
|
-
imageMembers:
|
|
188
|
-
isMembersLoading:
|
|
187
|
+
imageMembers: s,
|
|
188
|
+
isMembersLoading: c,
|
|
189
189
|
canAdd: t?.canCreateMember ?? !1,
|
|
190
190
|
canRemove: t?.canDeleteMember ?? !1,
|
|
191
|
-
isAddingMember:
|
|
192
|
-
setIsAddingMember:
|
|
193
|
-
setMessage:
|
|
191
|
+
isAddingMember: r,
|
|
192
|
+
setIsAddingMember: i,
|
|
193
|
+
setMessage: o,
|
|
194
194
|
projectId: n
|
|
195
195
|
})]
|
|
196
196
|
});
|
|
197
|
-
}, fe = ({ image:
|
|
198
|
-
let { i18n:
|
|
199
|
-
return /* @__PURE__ */ C(
|
|
197
|
+
}, fe = ({ image: e, currentProjectId: t, activeTab: n = "details", onTabChange: r, permissions: i, myMemberData: a, onMemberStatusChange: o, isMemberStatusChanging: s, actions: c }) => {
|
|
198
|
+
let { i18n: l, _: u } = D(), d = e.visibility === "shared" && e.owner !== void 0 && e.owner !== t, f = e.owner === t && e.visibility === "shared";
|
|
199
|
+
return /* @__PURE__ */ C(p, {
|
|
200
200
|
direction: "vertical",
|
|
201
201
|
gap: "6",
|
|
202
202
|
children: [
|
|
203
|
-
|
|
204
|
-
image:
|
|
205
|
-
myMemberData:
|
|
206
|
-
canUpdateMember:
|
|
207
|
-
onStatusChange:
|
|
208
|
-
isLoading:
|
|
203
|
+
d && a && o && /* @__PURE__ */ S(O, {
|
|
204
|
+
image: e,
|
|
205
|
+
myMemberData: a,
|
|
206
|
+
canUpdateMember: i?.canUpdateMember ?? !1,
|
|
207
|
+
onStatusChange: o,
|
|
208
|
+
isLoading: s ?? !1
|
|
209
209
|
}),
|
|
210
|
-
|
|
210
|
+
f && /* @__PURE__ */ S("div", {
|
|
211
211
|
className: "border-theme-background-lvl-3 border-b",
|
|
212
|
-
children: /* @__PURE__ */ C(
|
|
212
|
+
children: /* @__PURE__ */ C(p, {
|
|
213
213
|
direction: "horizontal",
|
|
214
214
|
gap: "0",
|
|
215
215
|
children: [/* @__PURE__ */ S("button", {
|
|
216
|
-
className: M(
|
|
217
|
-
onClick: () =>
|
|
218
|
-
children:
|
|
216
|
+
className: M(n === "details"),
|
|
217
|
+
onClick: () => r?.("details"),
|
|
218
|
+
children: l._({ id: "URmyfc" })
|
|
219
219
|
}), /* @__PURE__ */ S("button", {
|
|
220
|
-
className: M(
|
|
221
|
-
onClick: () =>
|
|
222
|
-
children:
|
|
220
|
+
className: M(n === "sharing"),
|
|
221
|
+
onClick: () => r?.("sharing"),
|
|
222
|
+
children: l._({ id: "aG9OiI" })
|
|
223
223
|
})]
|
|
224
224
|
})
|
|
225
225
|
}),
|
|
226
|
-
(
|
|
227
|
-
|
|
228
|
-
/* @__PURE__ */ S(k, { image:
|
|
226
|
+
(n === "details" || !f) && /* @__PURE__ */ C(x, { children: [
|
|
227
|
+
c,
|
|
228
|
+
/* @__PURE__ */ S(k, { image: e }),
|
|
229
229
|
/* @__PURE__ */ S(A, {
|
|
230
|
-
image:
|
|
231
|
-
currentProjectId:
|
|
230
|
+
image: e,
|
|
231
|
+
currentProjectId: t
|
|
232
232
|
}),
|
|
233
|
-
/* @__PURE__ */ S(j, { image:
|
|
233
|
+
/* @__PURE__ */ S(j, { image: e })
|
|
234
234
|
] }),
|
|
235
|
-
|
|
236
|
-
image:
|
|
237
|
-
permissions:
|
|
235
|
+
n === "sharing" && f && /* @__PURE__ */ S(N, {
|
|
236
|
+
image: e,
|
|
237
|
+
permissions: i
|
|
238
238
|
})
|
|
239
239
|
]
|
|
240
240
|
});
|
|
@@ -242,11 +242,11 @@ var O = ({ image: e, myMemberData: t, canUpdateMember: n, onStatusChange: r, isL
|
|
|
242
242
|
//#endregion
|
|
243
243
|
//#region src/client/routes/_auth/projects/$projectId/compute/images/$imageId.tsx?tsr-split=component
|
|
244
244
|
function P() {
|
|
245
|
-
let { projectId:
|
|
246
|
-
project_id:
|
|
245
|
+
let { projectId: n, imageId: r } = ue({ from: "/_auth/projects/$projectId/compute/images/$imageId" }), { tab: o } = de({ from: "/_auth/projects/$projectId/compute/images/$imageId" }), c = le(), { i18n: f, _: m } = D(), { data: h, status: _, error: v } = g.compute.getImageById.useQuery({
|
|
246
|
+
project_id: n,
|
|
247
247
|
imageId: r
|
|
248
248
|
}), { data: y } = g.compute.canUser.useQuery({
|
|
249
|
-
project_id:
|
|
249
|
+
project_id: n,
|
|
250
250
|
permission: [
|
|
251
251
|
"images:delete",
|
|
252
252
|
"images:update",
|
|
@@ -262,45 +262,45 @@ function P() {
|
|
|
262
262
|
canUpdateMember: y?.[4] ?? !1
|
|
263
263
|
}, O = g.useUtils(), [k, A] = T(!1), [j, M] = T(!1), [N, P] = T(!1), [F, I] = T(!1), [L, R] = T(!1), [z, B] = T(null), V = g.compute.updateImage.useMutation({ onSuccess: (e) => {
|
|
264
264
|
O.compute.getImageById.setData({
|
|
265
|
-
project_id:
|
|
265
|
+
project_id: n,
|
|
266
266
|
imageId: r
|
|
267
267
|
}, e), O.compute.listImagesWithPagination.invalidate();
|
|
268
268
|
} }), H = g.compute.deleteImage.useMutation({ onSuccess: () => {
|
|
269
269
|
O.compute.listImagesWithPagination.invalidate();
|
|
270
270
|
} }), U = g.compute.deactivateImage.useMutation({ onSuccess: () => {
|
|
271
271
|
O.compute.getImageById.invalidate({
|
|
272
|
-
project_id:
|
|
272
|
+
project_id: n,
|
|
273
273
|
imageId: r
|
|
274
274
|
});
|
|
275
275
|
} }), W = g.compute.reactivateImage.useMutation({ onSuccess: () => {
|
|
276
276
|
O.compute.getImageById.invalidate({
|
|
277
|
-
project_id:
|
|
277
|
+
project_id: n,
|
|
278
278
|
imageId: r
|
|
279
279
|
});
|
|
280
280
|
} }), G = g.compute.updateImageVisibility.useMutation({ onSuccess: (e) => {
|
|
281
281
|
O.compute.getImageById.setData({
|
|
282
|
-
project_id:
|
|
282
|
+
project_id: n,
|
|
283
283
|
imageId: r
|
|
284
284
|
}, e);
|
|
285
|
-
} }), K =
|
|
286
|
-
project_id:
|
|
285
|
+
} }), K = h?.visibility === b.SHARED && h?.owner !== void 0 && h?.owner !== n, { data: pe } = g.compute.getImageMember.useQuery({
|
|
286
|
+
project_id: n,
|
|
287
287
|
imageId: r,
|
|
288
|
-
memberId:
|
|
289
|
-
}, { enabled: K && !!r && !!
|
|
288
|
+
memberId: n
|
|
289
|
+
}, { enabled: K && !!r && !!n }), q = g.compute.updateImageMember.useMutation({ onSuccess: () => {
|
|
290
290
|
O.compute.getImageMember.invalidate({
|
|
291
|
-
project_id:
|
|
291
|
+
project_id: n,
|
|
292
292
|
imageId: r,
|
|
293
|
-
memberId:
|
|
293
|
+
memberId: n
|
|
294
294
|
}), O.compute.listImageMembers.invalidate({
|
|
295
|
-
project_id:
|
|
295
|
+
project_id: n,
|
|
296
296
|
imageId: r
|
|
297
297
|
}), O.compute.listImagesWithPagination.invalidate(), O.compute.listSharedImagesByMemberStatus.invalidate();
|
|
298
298
|
} }), me = async (e) => {
|
|
299
299
|
try {
|
|
300
300
|
await q.mutateAsync({
|
|
301
|
-
project_id:
|
|
301
|
+
project_id: n,
|
|
302
302
|
imageId: r,
|
|
303
|
-
memberId:
|
|
303
|
+
memberId: n,
|
|
304
304
|
status: e
|
|
305
305
|
}), B(oe(e, { onDismiss: () => B(null) }));
|
|
306
306
|
} catch (e) {
|
|
@@ -308,9 +308,9 @@ function P() {
|
|
|
308
308
|
B(ce(t, { onDismiss: () => B(null) }));
|
|
309
309
|
}
|
|
310
310
|
}, J = () => {
|
|
311
|
-
|
|
311
|
+
c({
|
|
312
312
|
to: "/projects/$projectId/compute/images",
|
|
313
|
-
params: { projectId:
|
|
313
|
+
params: { projectId: n }
|
|
314
314
|
});
|
|
315
315
|
}, Y = V.isPending || H.isPending || U.isPending || W.isPending || G.isPending, he = (e, t) => {
|
|
316
316
|
let n = [];
|
|
@@ -330,13 +330,13 @@ function P() {
|
|
|
330
330
|
}
|
|
331
331
|
}), n;
|
|
332
332
|
}, X = async (e) => {
|
|
333
|
-
if (!
|
|
334
|
-
let
|
|
333
|
+
if (!h) return !1;
|
|
334
|
+
let t = he(e, h);
|
|
335
335
|
try {
|
|
336
336
|
return await V.mutateAsync({
|
|
337
|
-
project_id:
|
|
337
|
+
project_id: n,
|
|
338
338
|
imageId: r,
|
|
339
|
-
operations:
|
|
339
|
+
operations: t
|
|
340
340
|
}), A(!1), !0;
|
|
341
341
|
} catch {
|
|
342
342
|
return !1;
|
|
@@ -344,7 +344,7 @@ function P() {
|
|
|
344
344
|
}, ge = async (e) => {
|
|
345
345
|
try {
|
|
346
346
|
await H.mutateAsync({
|
|
347
|
-
project_id:
|
|
347
|
+
project_id: n,
|
|
348
348
|
imageId: e.id
|
|
349
349
|
}), P(!1), J();
|
|
350
350
|
} catch {
|
|
@@ -353,7 +353,7 @@ function P() {
|
|
|
353
353
|
}, _e = async (e) => {
|
|
354
354
|
try {
|
|
355
355
|
await W.mutateAsync({
|
|
356
|
-
project_id:
|
|
356
|
+
project_id: n,
|
|
357
357
|
imageId: e.id
|
|
358
358
|
}), I(!1);
|
|
359
359
|
} catch {
|
|
@@ -362,22 +362,22 @@ function P() {
|
|
|
362
362
|
}, ve = async (e) => {
|
|
363
363
|
try {
|
|
364
364
|
await U.mutateAsync({
|
|
365
|
-
project_id:
|
|
365
|
+
project_id: n,
|
|
366
366
|
imageId: e.id
|
|
367
367
|
}), R(!1);
|
|
368
368
|
} catch {
|
|
369
369
|
R(!1);
|
|
370
370
|
}
|
|
371
371
|
}, Z = async (e) => {
|
|
372
|
-
if (
|
|
372
|
+
if (h) try {
|
|
373
373
|
await G.mutateAsync({
|
|
374
|
-
project_id:
|
|
375
|
-
imageId:
|
|
374
|
+
project_id: n,
|
|
375
|
+
imageId: h.id,
|
|
376
376
|
visibility: e
|
|
377
377
|
});
|
|
378
378
|
} catch {}
|
|
379
379
|
};
|
|
380
|
-
if (_ === "pending") return /* @__PURE__ */ C(
|
|
380
|
+
if (_ === "pending") return /* @__PURE__ */ C(p, {
|
|
381
381
|
className: "fixed inset-0",
|
|
382
382
|
distribution: "center",
|
|
383
383
|
alignment: "center",
|
|
@@ -389,8 +389,8 @@ function P() {
|
|
|
389
389
|
}), /* @__PURE__ */ S(E, { id: "hH3kDo" })]
|
|
390
390
|
});
|
|
391
391
|
if (_ === "error") {
|
|
392
|
-
let
|
|
393
|
-
return /* @__PURE__ */ C(
|
|
392
|
+
let e = v?.message || "Unknown error";
|
|
393
|
+
return /* @__PURE__ */ C(p, {
|
|
394
394
|
className: "fixed inset-0",
|
|
395
395
|
distribution: "center",
|
|
396
396
|
alignment: "center",
|
|
@@ -403,9 +403,9 @@ function P() {
|
|
|
403
403
|
}),
|
|
404
404
|
/* @__PURE__ */ S("p", {
|
|
405
405
|
className: "text-theme-highest",
|
|
406
|
-
children:
|
|
406
|
+
children: e
|
|
407
407
|
}),
|
|
408
|
-
/* @__PURE__ */ S(
|
|
408
|
+
/* @__PURE__ */ S(l, {
|
|
409
409
|
onClick: J,
|
|
410
410
|
variant: "primary",
|
|
411
411
|
children: /* @__PURE__ */ S(E, { id: "bnql/K" })
|
|
@@ -413,7 +413,7 @@ function P() {
|
|
|
413
413
|
]
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
|
-
if (!
|
|
416
|
+
if (!h) return /* @__PURE__ */ C(p, {
|
|
417
417
|
className: "fixed inset-0",
|
|
418
418
|
distribution: "center",
|
|
419
419
|
alignment: "center",
|
|
@@ -422,40 +422,40 @@ function P() {
|
|
|
422
422
|
children: [/* @__PURE__ */ S("p", {
|
|
423
423
|
className: "text-theme-highest",
|
|
424
424
|
children: /* @__PURE__ */ S(E, { id: "1pdLQw" })
|
|
425
|
-
}), /* @__PURE__ */ S(
|
|
425
|
+
}), /* @__PURE__ */ S(l, {
|
|
426
426
|
onClick: J,
|
|
427
427
|
variant: "primary",
|
|
428
428
|
children: /* @__PURE__ */ S(E, { id: "bnql/K" })
|
|
429
429
|
})]
|
|
430
430
|
});
|
|
431
|
-
let Q =
|
|
432
|
-
$ && /* @__PURE__ */ C(
|
|
431
|
+
let Q = h.status === re.DEACTIVATED, ye = h.visibility === b.PRIVATE, $ = !K && (w.canUpdate || w.canDelete && !h.protected), be = !K && ($ || w.canUpdate) ? /* @__PURE__ */ C(d, { children: [
|
|
432
|
+
$ && /* @__PURE__ */ C(u, { children: [/* @__PURE__ */ S(a, {
|
|
433
433
|
as: "div",
|
|
434
|
-
children: /* @__PURE__ */ S(
|
|
434
|
+
children: /* @__PURE__ */ S(l, {
|
|
435
435
|
icon: "moreVert",
|
|
436
436
|
disabled: Y,
|
|
437
437
|
children: /* @__PURE__ */ S(E, { id: "PgNNGl" })
|
|
438
438
|
})
|
|
439
|
-
}), /* @__PURE__ */ C(
|
|
440
|
-
w.canUpdate && /* @__PURE__ */ S(
|
|
441
|
-
label: Q ?
|
|
439
|
+
}), /* @__PURE__ */ C(e, { children: [
|
|
440
|
+
w.canUpdate && /* @__PURE__ */ S(s, {
|
|
441
|
+
label: Q ? f._({ id: "FQBaXG" }) : f._({ id: "5y3O+A" }),
|
|
442
442
|
onClick: () => Q ? I(!0) : R(!0)
|
|
443
443
|
}),
|
|
444
|
-
w.canUpdate && ye && /* @__PURE__ */ S(
|
|
445
|
-
label:
|
|
444
|
+
w.canUpdate && ye && /* @__PURE__ */ S(s, {
|
|
445
|
+
label: f._({ id: "gMYsdZ" }),
|
|
446
446
|
onClick: () => Z("shared")
|
|
447
447
|
}),
|
|
448
|
-
w.canDelete && !
|
|
449
|
-
label:
|
|
448
|
+
w.canDelete && !h.protected && /* @__PURE__ */ S(s, {
|
|
449
|
+
label: f._({ id: "cnGeoo" }),
|
|
450
450
|
onClick: () => P(!0)
|
|
451
451
|
})
|
|
452
452
|
] })] }),
|
|
453
|
-
w.canUpdate && /* @__PURE__ */ S(
|
|
453
|
+
w.canUpdate && /* @__PURE__ */ S(l, {
|
|
454
454
|
onClick: () => M(!0),
|
|
455
455
|
disabled: Y,
|
|
456
456
|
children: /* @__PURE__ */ S(E, { id: "SIfYq6" })
|
|
457
457
|
}),
|
|
458
|
-
w.canUpdate && /* @__PURE__ */ S(
|
|
458
|
+
w.canUpdate && /* @__PURE__ */ S(l, {
|
|
459
459
|
onClick: () => A(!0),
|
|
460
460
|
variant: "primary",
|
|
461
461
|
disabled: Y,
|
|
@@ -464,15 +464,15 @@ function P() {
|
|
|
464
464
|
] }) : void 0;
|
|
465
465
|
return /* @__PURE__ */ C(x, { children: [
|
|
466
466
|
/* @__PURE__ */ S(ee, {
|
|
467
|
-
title: String(
|
|
468
|
-
projectId:
|
|
467
|
+
title: String(h.name ?? h.id),
|
|
468
|
+
projectId: n,
|
|
469
469
|
actions: be
|
|
470
470
|
}),
|
|
471
471
|
/* @__PURE__ */ S(fe, {
|
|
472
|
-
image:
|
|
473
|
-
currentProjectId:
|
|
474
|
-
activeTab:
|
|
475
|
-
onTabChange: (e) =>
|
|
472
|
+
image: h,
|
|
473
|
+
currentProjectId: n,
|
|
474
|
+
activeTab: o ?? "details",
|
|
475
|
+
onTabChange: (e) => c({ search: { tab: e === "details" ? void 0 : e } }),
|
|
476
476
|
permissions: {
|
|
477
477
|
canCreateMember: w.canCreateMember,
|
|
478
478
|
canDeleteMember: w.canDeleteMember,
|
|
@@ -481,39 +481,39 @@ function P() {
|
|
|
481
481
|
myMemberData: pe,
|
|
482
482
|
onMemberStatusChange: me,
|
|
483
483
|
isMemberStatusChanging: q.isPending
|
|
484
|
-
},
|
|
485
|
-
z && /* @__PURE__ */ S(
|
|
484
|
+
}, h.id),
|
|
485
|
+
z && /* @__PURE__ */ S(t, { ...z }),
|
|
486
486
|
k && /* @__PURE__ */ S(se, {
|
|
487
|
-
image:
|
|
487
|
+
image: h,
|
|
488
488
|
isOpen: k,
|
|
489
489
|
isLoading: V.isPending,
|
|
490
490
|
onClose: () => A(!1),
|
|
491
491
|
onSave: X
|
|
492
492
|
}),
|
|
493
493
|
j && /* @__PURE__ */ S(ie, {
|
|
494
|
-
image:
|
|
494
|
+
image: h,
|
|
495
495
|
isOpen: j,
|
|
496
496
|
isLoading: V.isPending,
|
|
497
497
|
onClose: () => M(!1),
|
|
498
498
|
onSave: X
|
|
499
499
|
}),
|
|
500
500
|
N && /* @__PURE__ */ S(te, {
|
|
501
|
-
image:
|
|
501
|
+
image: h,
|
|
502
502
|
isOpen: N,
|
|
503
503
|
isLoading: H.isPending,
|
|
504
|
-
isDisabled: !!
|
|
504
|
+
isDisabled: !!h.protected,
|
|
505
505
|
onClose: () => P(!1),
|
|
506
506
|
onDelete: ge
|
|
507
507
|
}),
|
|
508
508
|
F && /* @__PURE__ */ S(ne, {
|
|
509
|
-
image:
|
|
509
|
+
image: h,
|
|
510
510
|
isOpen: F,
|
|
511
511
|
isLoading: W.isPending,
|
|
512
512
|
onClose: () => I(!1),
|
|
513
513
|
onActivate: _e
|
|
514
514
|
}),
|
|
515
515
|
L && /* @__PURE__ */ S(ae, {
|
|
516
|
-
image:
|
|
516
|
+
image: h,
|
|
517
517
|
isOpen: L,
|
|
518
518
|
isLoading: U.isPending,
|
|
519
519
|
onClose: () => R(!1),
|
|
@@ -524,4 +524,4 @@ function P() {
|
|
|
524
524
|
//#endregion
|
|
525
525
|
export { P as component };
|
|
526
526
|
|
|
527
|
-
//# sourceMappingURL=_imageId-
|
|
527
|
+
//# sourceMappingURL=_imageId-CdOOJjw0.mjs.map
|