@cobaltcore-dev/aurora 0.20.2 → 0.21.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.
- package/dist/client/AuthProvider-p1e1DuKU.mjs +69 -0
- package/dist/client/AuthProvider-p1e1DuKU.mjs.map +1 -0
- package/dist/client/DeleteFlavorModal-lFMExcq_.mjs +713 -0
- package/dist/client/DeleteFlavorModal-lFMExcq_.mjs.map +1 -0
- package/dist/client/{DeletePcaModal-YUlNw8cw.mjs → DeletePcaModal-Dg9dej-H.mjs} +2 -2
- package/dist/client/{DeletePcaModal-YUlNw8cw.mjs.map → DeletePcaModal-Dg9dej-H.mjs.map} +1 -1
- package/dist/client/{DetailsInfo-Cv3oke-R.mjs → DetailsInfo-DwCo9P1o.mjs} +2 -2
- package/dist/client/{DetailsInfo-Cv3oke-R.mjs.map → DetailsInfo-DwCo9P1o.mjs.map} +1 -1
- package/dist/client/{FloatingIpActionModals-PLN6CWZ9.mjs → FloatingIpActionModals-CDF8LVtX.mjs} +2 -2
- package/dist/client/{FloatingIpActionModals-PLN6CWZ9.mjs.map → FloatingIpActionModals-CDF8LVtX.mjs.map} +1 -1
- package/dist/client/{ImageToastNotifications-BQM7HOyE.mjs → ImageToastNotifications-Dzq6jNTm.mjs} +2 -2
- package/dist/client/{ImageToastNotifications-BQM7HOyE.mjs.map → ImageToastNotifications-Dzq6jNTm.mjs.map} +1 -1
- package/dist/client/{_auth-BtRCgHQe.mjs → _auth-Dut7CaMR.mjs} +2 -2
- package/dist/client/{_auth-BtRCgHQe.mjs.map → _auth-Dut7CaMR.mjs.map} +1 -1
- package/dist/client/{_flavorId-BaNJ1CDY.mjs → _flavorId-BsIWL0XK.mjs} +2 -2
- package/dist/client/{_flavorId-BaNJ1CDY.mjs.map → _flavorId-BsIWL0XK.mjs.map} +1 -1
- package/dist/client/{_flavorId-BMX239RH.mjs → _flavorId-Cu1nWwOq.mjs} +13 -14
- package/dist/client/{_flavorId-BMX239RH.mjs.map → _flavorId-Cu1nWwOq.mjs.map} +1 -1
- package/dist/client/{_floatingIpId-DQFtZNeg.mjs → _floatingIpId-8-UPUV8M.mjs} +2 -2
- package/dist/client/{_floatingIpId-DQFtZNeg.mjs.map → _floatingIpId-8-UPUV8M.mjs.map} +1 -1
- package/dist/client/{_floatingIpId-E6x99cmW.mjs → _floatingIpId-B_M3gyMA.mjs} +4 -4
- package/dist/client/{_floatingIpId-E6x99cmW.mjs.map → _floatingIpId-B_M3gyMA.mjs.map} +1 -1
- package/dist/client/{_imageId-C2662dZr.mjs → _imageId-D1Z0xIco.mjs} +2 -2
- package/dist/client/{_imageId-C2662dZr.mjs.map → _imageId-D1Z0xIco.mjs.map} +1 -1
- package/dist/client/{_pcaId-CNbmhUF8.mjs → _pcaId-BcwGho7g.mjs} +4 -4
- package/dist/client/{_pcaId-CNbmhUF8.mjs.map → _pcaId-BcwGho7g.mjs.map} +1 -1
- package/dist/client/{_securityGroupId-ju2ZSIYe.mjs → _securityGroupId-B5-gJe1u.mjs} +3 -3
- package/dist/client/{_securityGroupId-ju2ZSIYe.mjs.map → _securityGroupId-B5-gJe1u.mjs.map} +1 -1
- package/dist/client/{_securityGroupId-a46ExjsA.mjs → _securityGroupId-fPJWtDPU.mjs} +2 -2
- package/dist/client/{_securityGroupId-a46ExjsA.mjs.map → _securityGroupId-fPJWtDPU.mjs.map} +1 -1
- package/dist/client/{_storageType-DsbBodWF.mjs → _storageType-BkhbKG_G.mjs} +2 -2
- package/dist/client/{_storageType-DsbBodWF.mjs.map → _storageType-BkhbKG_G.mjs.map} +1 -1
- package/dist/client/{_storageType-WwAATdsa.mjs → _storageType-ByLL106s.mjs} +113 -115
- package/dist/client/_storageType-ByLL106s.mjs.map +1 -0
- package/dist/client/{aurora-Owys0YMN.mjs → aurora-Dp_NPGe8.mjs} +2 -2
- package/dist/client/{aurora-Owys0YMN.mjs.map → aurora-Dp_NPGe8.mjs.map} +1 -1
- package/dist/client/components/Auth/LoginForm.d.ts +1 -0
- package/dist/client/{flavors-Bwjig3k2.mjs → flavors-CT1bHP61.mjs} +11 -12
- package/dist/client/{flavors-Bwjig3k2.mjs.map → flavors-CT1bHP61.mjs.map} +1 -1
- package/dist/client/{flavors-C7PVJUqZ.mjs → flavors-q1j-y3e-.mjs} +2 -2
- package/dist/client/{flavors-C7PVJUqZ.mjs.map → flavors-q1j-y3e-.mjs.map} +1 -1
- package/dist/client/{floatingips-D98DrjA0.mjs → floatingips-DC5OrR8h.mjs} +3 -3
- package/dist/client/{floatingips-D98DrjA0.mjs.map → floatingips-DC5OrR8h.mjs.map} +1 -1
- package/dist/client/{hooks-BsbKkpZc.mjs → hooks-D0wGUhRF.mjs} +2 -2
- package/dist/client/{hooks-BsbKkpZc.mjs.map → hooks-D0wGUhRF.mjs.map} +1 -1
- package/dist/client/{images-CfBrglGJ.mjs → images-BklcxYWi.mjs} +4 -4
- package/dist/client/{images-CfBrglGJ.mjs.map → images-BklcxYWi.mjs.map} +1 -1
- package/dist/client/{images-CD7DNwru.mjs → images-CPYewah0.mjs} +2 -2
- package/dist/client/{images-CD7DNwru.mjs.map → images-CPYewah0.mjs.map} +1 -1
- package/dist/client/index.js +291 -492
- package/dist/client/index.js.map +1 -1
- package/dist/client/{pca-ZgGU0UPF.mjs → pca-BAuZA0K3.mjs} +2 -2
- package/dist/client/{pca-ZgGU0UPF.mjs.map → pca-BAuZA0K3.mjs.map} +1 -1
- package/dist/client/{pca-CpMqoF00.mjs → pca-Ddk0YfgK.mjs} +4 -4
- package/dist/client/{pca-CpMqoF00.mjs.map → pca-Ddk0YfgK.mjs.map} +1 -1
- package/dist/client/routes-BzBTVAjK.mjs +105 -0
- package/dist/client/routes-BzBTVAjK.mjs.map +1 -0
- package/dist/client/routes-DsisKFfG.mjs +10 -0
- package/dist/client/routes-DsisKFfG.mjs.map +1 -0
- package/dist/client/{securitygroups-BwhVyNmZ.mjs → securitygroups-JMvcJLpb.mjs} +2 -2
- package/dist/client/{securitygroups-BwhVyNmZ.mjs.map → securitygroups-JMvcJLpb.mjs.map} +1 -1
- package/dist/client/store/AuthProvider.d.ts +10 -11
- package/dist/server/index.js +1 -10
- package/package.json +3 -4
- package/dist/client/AuthProvider-Cj_Btfnc.mjs +0 -56
- package/dist/client/AuthProvider-Cj_Btfnc.mjs.map +0 -1
- package/dist/client/DeleteFlavorModal-Dwm0Hh84.mjs +0 -638
- package/dist/client/DeleteFlavorModal-Dwm0Hh84.mjs.map +0 -1
- package/dist/client/_storageType-WwAATdsa.mjs.map +0 -1
- package/dist/client/useErrorTranslation-Dc0eE8Zt.mjs +0 -83
- package/dist/client/useErrorTranslation-Dc0eE8Zt.mjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { $ as e, A as t, B as n, D as r, E as i, F as a, G as o, K as s, L as c, N as l, P as u, R as d, U as f, at as p, ct as m, et as h, f as g, g as _, l as v, lt as y, n as b, ot as x, q as S, r as C, rt as w, s as T, st as E, tt as D, ut as O, w as k, y as A } from "./build-DgeVmENN.mjs";
|
|
2
2
|
import { r as j } from "./trpcClient-BxcNKnhv.mjs";
|
|
3
|
-
import { t as M } from "./_storageType-
|
|
3
|
+
import { t as M } from "./_storageType-BkhbKG_G.mjs";
|
|
4
4
|
import { t as N } from "./useProjectId-DBc5lpoU.mjs";
|
|
5
5
|
import { t as P } from "./ContentHeader-CIAzorGI.mjs";
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { _ as
|
|
6
|
+
import { t as ee } from "./SortInput-DjaEHvcO.mjs";
|
|
7
|
+
import { t as F } from "./formatBytes-CZv_XyCY.mjs";
|
|
8
|
+
import { _ as I, a as te, i as L, l as R, n as ne, o as re, r as z, t as B, v as ie, x as V } from "./BucketToastNotifications-BGd2wVmh.mjs";
|
|
9
9
|
import { Fragment as H, jsx as U, jsxs as W } from "react/jsx-runtime";
|
|
10
10
|
import { Fragment as ae, startTransition as oe, useCallback as se, useEffect as ce, useRef as le, useState as G } from "react";
|
|
11
11
|
import { useNavigate as ue, useParams as K } from "@tanstack/react-router";
|
|
@@ -93,14 +93,14 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
93
93
|
a?.(S.current, e.message);
|
|
94
94
|
},
|
|
95
95
|
onSettled: () => {
|
|
96
|
-
|
|
96
|
+
ee();
|
|
97
97
|
}
|
|
98
|
-
}),
|
|
98
|
+
}), ee = () => {
|
|
99
99
|
h(""), y(null), P.reset(), n();
|
|
100
|
-
},
|
|
100
|
+
}, I = (e) => {
|
|
101
101
|
let t = e.target.value;
|
|
102
102
|
h(t), v && y(null);
|
|
103
|
-
},
|
|
103
|
+
}, te = () => {
|
|
104
104
|
if (t) {
|
|
105
105
|
if (m.trim() !== t.name) {
|
|
106
106
|
y(c._({ id: "jS4B2+" }));
|
|
@@ -111,11 +111,11 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
111
111
|
container: t.name
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
},
|
|
115
|
-
e.key === "Enter" &&
|
|
114
|
+
}, L = (e) => {
|
|
115
|
+
e.key === "Enter" && te();
|
|
116
116
|
};
|
|
117
117
|
if (!e || !t) return null;
|
|
118
|
-
let
|
|
118
|
+
let R = E?.length ?? 0, ne = !k && t.count === 0 && R === 0, re = !k && t.count > 0 && R === 0, z = ne || re;
|
|
119
119
|
return /*#__PURE__*/ W(C, {
|
|
120
120
|
title: /* @__PURE__ */ W("span", {
|
|
121
121
|
className: "flex max-w-[400px] items-center gap-2",
|
|
@@ -142,16 +142,16 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
142
142
|
]
|
|
143
143
|
}),
|
|
144
144
|
open: e,
|
|
145
|
-
onCancel:
|
|
145
|
+
onCancel: ee,
|
|
146
146
|
confirmButtonLabel: z ? void 0 : c._({ id: "N2S1rs" }),
|
|
147
147
|
confirmButtonVariant: "primary-danger",
|
|
148
|
-
onConfirm: z ? void 0 :
|
|
148
|
+
onConfirm: z ? void 0 : te,
|
|
149
149
|
cancelButtonLabel: z ? void 0 : c._({ id: "dEgA5A" }),
|
|
150
150
|
modalFooter: z ? /*#__PURE__*/ U(_, {
|
|
151
151
|
className: "flex justify-end",
|
|
152
152
|
children: /*#__PURE__*/ U(O, { children: /*#__PURE__*/ U(A, {
|
|
153
153
|
variant: "primary",
|
|
154
|
-
onClick:
|
|
154
|
+
onClick: ee,
|
|
155
155
|
"data-testid": "empty-info-close-button",
|
|
156
156
|
children: /*#__PURE__*/ U(q, { id: "yz7wBu" })
|
|
157
157
|
}) })
|
|
@@ -198,14 +198,14 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
198
198
|
/*#__PURE__*/ W("div", {
|
|
199
199
|
className: "border-theme-background-lvl-3 overflow-hidden rounded border",
|
|
200
200
|
children: [
|
|
201
|
-
t.count >
|
|
201
|
+
t.count > R && /*#__PURE__*/ U("p", {
|
|
202
202
|
className: "text-theme-light px-3 py-2 text-xs",
|
|
203
203
|
children: (() => {
|
|
204
204
|
let e = t.count;
|
|
205
205
|
return /*#__PURE__*/ U(q, {
|
|
206
206
|
id: "1iQtS2",
|
|
207
207
|
values: {
|
|
208
|
-
actualObjectCount:
|
|
208
|
+
actualObjectCount: R,
|
|
209
209
|
total: e
|
|
210
210
|
}
|
|
211
211
|
});
|
|
@@ -231,7 +231,7 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
231
231
|
title: e.name,
|
|
232
232
|
children: e.name
|
|
233
233
|
}),
|
|
234
|
-
/*#__PURE__*/ U(o, { children:
|
|
234
|
+
/*#__PURE__*/ U(o, { children: F(e.bytes) }),
|
|
235
235
|
/*#__PURE__*/ U(o, { children: e.last_modified ? new Date(e.last_modified).toLocaleString() : c._({ id: "fj5byd" }) })
|
|
236
236
|
] }, e.name))
|
|
237
237
|
})
|
|
@@ -242,8 +242,8 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
242
242
|
label: c._({ id: "33F2A+" }),
|
|
243
243
|
required: !0,
|
|
244
244
|
value: m,
|
|
245
|
-
onChange:
|
|
246
|
-
onKeyDown:
|
|
245
|
+
onChange: I,
|
|
246
|
+
onKeyDown: L,
|
|
247
247
|
invalid: !!v,
|
|
248
248
|
errortext: v || void 0,
|
|
249
249
|
disabled: P.isPending,
|
|
@@ -292,11 +292,11 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
292
292
|
container: t.name
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
|
-
},
|
|
295
|
+
}, ee = (e) => {
|
|
296
296
|
e.key === "Enter" && P();
|
|
297
297
|
};
|
|
298
298
|
if (!e || !t) return null;
|
|
299
|
-
let
|
|
299
|
+
let F = v?.length ?? 0, I = !b && (F > 0 || t.count > 0), te = !b && t.count > 0 && F === 0, L = !!(x || w);
|
|
300
300
|
return /*#__PURE__*/ W(C, {
|
|
301
301
|
title: /* @__PURE__ */ W("span", {
|
|
302
302
|
className: "flex max-w-[400px] items-center gap-2",
|
|
@@ -311,11 +311,11 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
311
311
|
}),
|
|
312
312
|
open: e,
|
|
313
313
|
onCancel: k,
|
|
314
|
-
confirmButtonLabel:
|
|
315
|
-
confirmButtonVariant:
|
|
316
|
-
onConfirm:
|
|
317
|
-
cancelButtonLabel:
|
|
318
|
-
modalFooter:
|
|
314
|
+
confirmButtonLabel: I ? void 0 : a._({ id: "cnGeoo" }),
|
|
315
|
+
confirmButtonVariant: I ? void 0 : "primary-danger",
|
|
316
|
+
onConfirm: I ? void 0 : P,
|
|
317
|
+
cancelButtonLabel: I ? void 0 : a._({ id: "dEgA5A" }),
|
|
318
|
+
modalFooter: I ? /*#__PURE__*/ U(_, {
|
|
319
319
|
className: "flex justify-end",
|
|
320
320
|
children: /*#__PURE__*/ U(O, { children: /*#__PURE__*/ U(A, {
|
|
321
321
|
variant: "primary",
|
|
@@ -325,7 +325,7 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
325
325
|
}) })
|
|
326
326
|
}) : void 0,
|
|
327
327
|
size: "small",
|
|
328
|
-
disableConfirmButton: b ||
|
|
328
|
+
disableConfirmButton: b || L || E.isPending || !I && l.trim() !== "delete" || !I && T && !m,
|
|
329
329
|
children: [(x || w) && /*#__PURE__*/ W(D, {
|
|
330
330
|
direction: "vertical",
|
|
331
331
|
gap: "2",
|
|
@@ -357,13 +357,13 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
357
357
|
gap: "2",
|
|
358
358
|
className: "py-4",
|
|
359
359
|
children: [/*#__PURE__*/ U(s, { size: "small" }), /*#__PURE__*/ U(q, { id: "Z3FXyt" })]
|
|
360
|
-
}) :
|
|
360
|
+
}) : I ? /*#__PURE__*/ W(D, {
|
|
361
361
|
direction: "vertical",
|
|
362
362
|
gap: "3",
|
|
363
363
|
children: [/*#__PURE__*/ U("p", {
|
|
364
364
|
className: "text-theme-default",
|
|
365
365
|
children: /*#__PURE__*/ U(q, { id: "3dBmvU" })
|
|
366
|
-
}),
|
|
366
|
+
}), te && /*#__PURE__*/ U("p", {
|
|
367
367
|
className: "text-theme-default",
|
|
368
368
|
children: /*#__PURE__*/ U(q, { id: "x3T4pq" })
|
|
369
369
|
})]
|
|
@@ -393,7 +393,7 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
393
393
|
required: !0,
|
|
394
394
|
value: l,
|
|
395
395
|
onChange: M,
|
|
396
|
-
onKeyDown:
|
|
396
|
+
onKeyDown: ee,
|
|
397
397
|
invalid: !!d,
|
|
398
398
|
errortext: d || void 0,
|
|
399
399
|
disabled: E.isPending,
|
|
@@ -417,10 +417,10 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
417
417
|
}, { enabled: t && n !== null }), E = _?.read === ".r:*,.rlistings", { data: O } = j.storage.swift.getContainerPublicUrl.useQuery({
|
|
418
418
|
project_id: h,
|
|
419
419
|
container: n?.name ?? ""
|
|
420
|
-
}, { enabled: t && n !== null && E }), { data: k } = j.storage.swift.listContainers.useQuery({ project_id: h }, { enabled: t }), [M, P] = G(""), [
|
|
420
|
+
}, { enabled: t && n !== null && E }), { data: k } = j.storage.swift.listContainers.useQuery({ project_id: h }, { enabled: t }), [M, P] = G(""), [ee, F] = G(""), I = le(null), te = se((e) => {
|
|
421
421
|
let t = e.target.value;
|
|
422
|
-
P(t),
|
|
423
|
-
}, []),
|
|
422
|
+
P(t), I.current && clearTimeout(I.current), I.current = setTimeout(() => F(t), 300);
|
|
423
|
+
}, []), L = ee.trim().length > 0 ? (k ?? []).filter((e) => e.name !== n?.name && e.name.toLowerCase().includes(ee.toLowerCase())) : [], R = L.slice(0, _e), ne = L.length - R.length, re = j.useUtils(), [z, B] = G(""), [ie, V] = G(null), [H, ae] = G(""), [oe, ue] = G(null), [K, de] = G(""), [Y, fe] = G(!1), [pe, me] = G(!1), [he, X] = G(""), [Z, Q] = G([]), [ye, be] = G({}), [xe, Se] = G(!1), [Ce, we] = G(""), [Te, Ee] = G(""), [De, Oe] = G(null), [ke, Ae] = G(null);
|
|
424
424
|
ce(() => {
|
|
425
425
|
if (!_) return;
|
|
426
426
|
B(_.quotaBytes == null ? "" : String(_.quotaBytes)), ae(_.quotaCount == null ? "" : String(_.quotaCount)), me(!!(_.versionsEnabled || _.versionsLocation || _.historyLocation)), X(_.versionsLocation || _.historyLocation || "");
|
|
@@ -439,7 +439,7 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
439
439
|
t || je();
|
|
440
440
|
}, [t]);
|
|
441
441
|
let je = () => {
|
|
442
|
-
B(""), V(null), ae(""), ue(null), de(""), fe(!1), me(!1), X(""), P(""),
|
|
442
|
+
B(""), V(null), ae(""), ue(null), de(""), fe(!1), me(!1), X(""), P(""), F(""), I.current && clearTimeout(I.current), Q([]), be({}), Se(!1), we(""), Ee(""), Oe(null), Ae(null), Me.reset();
|
|
443
443
|
}, Me = j.storage.swift.updateContainerMetadata.useMutation({
|
|
444
444
|
onSuccess: () => {
|
|
445
445
|
re.storage.swift.getContainerMetadata.invalidate({ container: n.name }), re.storage.swift.listContainers.invalidate(), a?.(n.name), Ue();
|
|
@@ -707,7 +707,7 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
707
707
|
label: p._({ id: "Nvfd2b" }),
|
|
708
708
|
checked: !0,
|
|
709
709
|
onChange: (e) => {
|
|
710
|
-
e.target.checked || (me(!1), X(""), P(""),
|
|
710
|
+
e.target.checked || (me(!1), X(""), P(""), F(""));
|
|
711
711
|
},
|
|
712
712
|
disabled: !0
|
|
713
713
|
}) : !pe && !he ? /*#__PURE__*/ U(y, {
|
|
@@ -722,7 +722,7 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
722
722
|
label: p._({ id: "b0uU1G" }),
|
|
723
723
|
checked: pe,
|
|
724
724
|
onChange: (e) => {
|
|
725
|
-
me(e.target.checked), e.target.checked || (X(""), P(""),
|
|
725
|
+
me(e.target.checked), e.target.checked || (X(""), P(""), F(""));
|
|
726
726
|
},
|
|
727
727
|
disabled: We
|
|
728
728
|
}), pe && /*#__PURE__*/ U("div", {
|
|
@@ -730,12 +730,12 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
730
730
|
children: /*#__PURE__*/ U(e, {
|
|
731
731
|
value: he,
|
|
732
732
|
onChange: (e) => X(e),
|
|
733
|
-
onInputChange:
|
|
733
|
+
onInputChange: te,
|
|
734
734
|
placeholder: p._({ id: "a13wDR" }),
|
|
735
735
|
helptext: (() => {
|
|
736
736
|
if (M.trim().length === 0) return p._({ id: "c+fUtV" });
|
|
737
737
|
if (ne > 0) {
|
|
738
|
-
let e = _e, t =
|
|
738
|
+
let e = _e, t = L.length;
|
|
739
739
|
return p._({
|
|
740
740
|
id: "qzhUb9",
|
|
741
741
|
values: {
|
|
@@ -746,7 +746,7 @@ var pe = ({ isOpen: e, onClose: t, onSuccess: n, onError: r, maxContainerNameLen
|
|
|
746
746
|
}
|
|
747
747
|
})(),
|
|
748
748
|
disabled: We,
|
|
749
|
-
children:
|
|
749
|
+
children: R.map((e) => /*#__PURE__*/ U(c, {
|
|
750
750
|
value: e.name,
|
|
751
751
|
children: e.name
|
|
752
752
|
}, e.name))
|
|
@@ -1039,26 +1039,26 @@ var we = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) =>
|
|
|
1039
1039
|
k.storage.swift.getContainerMetadata.invalidate({
|
|
1040
1040
|
project_id: d,
|
|
1041
1041
|
container: t.name
|
|
1042
|
-
}), k.storage.swift.listContainers.invalidate(), o?.(t.name),
|
|
1042
|
+
}), k.storage.swift.listContainers.invalidate(), o?.(t.name), ee();
|
|
1043
1043
|
},
|
|
1044
1044
|
onError: (e) => {
|
|
1045
1045
|
c?.(t.name, e.message);
|
|
1046
1046
|
}
|
|
1047
1047
|
}), P = le(M.reset);
|
|
1048
1048
|
P.current = M.reset;
|
|
1049
|
-
let
|
|
1049
|
+
let ee = () => {
|
|
1050
1050
|
p(""), g(""), v(!1), x(!1), M.reset(), i();
|
|
1051
1051
|
};
|
|
1052
1052
|
ce(() => {
|
|
1053
1053
|
e || (p(""), g(""), v(!1), P.current());
|
|
1054
1054
|
}, [e]);
|
|
1055
|
-
let
|
|
1055
|
+
let F = (e) => {
|
|
1056
1056
|
let t = e.target.checked;
|
|
1057
1057
|
v(t), p((e) => t ? xe(e) : Se(e));
|
|
1058
|
-
},
|
|
1058
|
+
}, I = (e) => {
|
|
1059
1059
|
let t = e.target.value;
|
|
1060
1060
|
p(t), v(be(t));
|
|
1061
|
-
},
|
|
1061
|
+
}, te = () => {
|
|
1062
1062
|
t && M.mutate({
|
|
1063
1063
|
project_id: d,
|
|
1064
1064
|
container: t.name,
|
|
@@ -1067,7 +1067,7 @@ var we = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) =>
|
|
|
1067
1067
|
});
|
|
1068
1068
|
};
|
|
1069
1069
|
if (!e || !t) return null;
|
|
1070
|
-
let
|
|
1070
|
+
let L = T || M.isPending, R = f.trim().length > 0 || m.trim().length > 0, ne = Q(f), re = Q(m);
|
|
1071
1071
|
return /*#__PURE__*/ W(C, {
|
|
1072
1072
|
title: /* @__PURE__ */ W("span", {
|
|
1073
1073
|
className: "flex items-center gap-2",
|
|
@@ -1078,12 +1078,12 @@ var we = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) =>
|
|
|
1078
1078
|
})]
|
|
1079
1079
|
}),
|
|
1080
1080
|
open: e,
|
|
1081
|
-
onCancel:
|
|
1081
|
+
onCancel: ee,
|
|
1082
1082
|
confirmButtonLabel: l._({ id: "tfDRzk" }),
|
|
1083
|
-
onConfirm:
|
|
1083
|
+
onConfirm: te,
|
|
1084
1084
|
cancelButtonLabel: l._({ id: "dEgA5A" }),
|
|
1085
1085
|
size: "xl",
|
|
1086
|
-
disableConfirmButton:
|
|
1086
|
+
disableConfirmButton: L || E,
|
|
1087
1087
|
children: [M.isError && /*#__PURE__*/ U("p", {
|
|
1088
1088
|
className: "text-theme-error mb-4",
|
|
1089
1089
|
children: (() => {
|
|
@@ -1128,8 +1128,8 @@ var we = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) =>
|
|
|
1128
1128
|
/*#__PURE__*/ U(Ee, { label: l._({ id: "SBGiGm" }) }),
|
|
1129
1129
|
/*#__PURE__*/ U(h, {
|
|
1130
1130
|
value: f,
|
|
1131
|
-
onChange:
|
|
1132
|
-
disabled:
|
|
1131
|
+
onChange: I,
|
|
1132
|
+
disabled: L || _,
|
|
1133
1133
|
placeholder: l._({ id: "FKL6Jv" }),
|
|
1134
1134
|
className: "text-sm",
|
|
1135
1135
|
rows: 3
|
|
@@ -1137,8 +1137,8 @@ var we = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) =>
|
|
|
1137
1137
|
/*#__PURE__*/ U(y, {
|
|
1138
1138
|
label: l._({ id: "23wBCX" }),
|
|
1139
1139
|
checked: _,
|
|
1140
|
-
onChange:
|
|
1141
|
-
disabled:
|
|
1140
|
+
onChange: F,
|
|
1141
|
+
disabled: L,
|
|
1142
1142
|
className: "mt-2"
|
|
1143
1143
|
})
|
|
1144
1144
|
] }),
|
|
@@ -1148,16 +1148,16 @@ var we = ({ isOpen: e, container: t, onClose: i, onSuccess: o, onError: c }) =>
|
|
|
1148
1148
|
let t = e.target.value;
|
|
1149
1149
|
g(t);
|
|
1150
1150
|
},
|
|
1151
|
-
disabled:
|
|
1151
|
+
disabled: L,
|
|
1152
1152
|
placeholder: l._({ id: "UVFHGY" }),
|
|
1153
1153
|
className: "text-sm",
|
|
1154
1154
|
rows: 3
|
|
1155
1155
|
})] }),
|
|
1156
|
-
|
|
1156
|
+
R && /*#__PURE__*/ U(A, {
|
|
1157
1157
|
label: b ? l._({ id: "we28Pq" }) : l._({ id: "YiMCKk" }),
|
|
1158
1158
|
onClick: () => x((e) => !e),
|
|
1159
1159
|
variant: "subdued",
|
|
1160
|
-
disabled:
|
|
1160
|
+
disabled: L,
|
|
1161
1161
|
className: "self-start"
|
|
1162
1162
|
}),
|
|
1163
1163
|
b && (ne.length > 0 || re.length > 0) && /*#__PURE__*/ W(D, {
|
|
@@ -1309,7 +1309,7 @@ function Ee({ label: e }) {
|
|
|
1309
1309
|
//#endregion
|
|
1310
1310
|
//#region src/client/routes/_auth/projects/$projectId/storage/-components/Swift/Containers/ContainerTableView.tsx
|
|
1311
1311
|
var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContainerNameLength: a, onCreateSuccess: s, onCreateError: c, onEmptySuccess: l, onEmptyError: f, onDeleteSuccess: m, onDeleteError: h, onPropertiesSuccess: g, onPropertiesError: _, onAclSuccess: v, onAclError: b, selectedContainers: x, setSelectedContainers: S, hasAnyBulkAction: C = !0 }) => {
|
|
1312
|
-
let { projectId: T, provider: E, storageType: D } = K({ from: "/_auth/projects/$projectId/storage/$provider/$storageType/" }), { i18n: O, _: k } = J(), A = ue(), j = le(null), [M, N] = G(0), [P,
|
|
1312
|
+
let { projectId: T, provider: E, storageType: D } = K({ from: "/_auth/projects/$projectId/storage/$provider/$storageType/" }), { i18n: O, _: k } = J(), A = ue(), j = le(null), [M, N] = G(0), [P, ee] = G(null), [I, te] = G(null), [L, R] = G(null), [ne, re] = G(null);
|
|
1313
1313
|
ce(() => {
|
|
1314
1314
|
j.current && N(j.current.offsetWidth - j.current.clientWidth);
|
|
1315
1315
|
}, [e.length]);
|
|
@@ -1435,7 +1435,7 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
1435
1435
|
}),
|
|
1436
1436
|
/*#__PURE__*/ U(o, { children: r.count.toLocaleString() }),
|
|
1437
1437
|
/*#__PURE__*/ U(o, { children: r.last_modified ? z(r.last_modified) : O._({ id: "fj5byd" }) }),
|
|
1438
|
-
/*#__PURE__*/ U(o, { children:
|
|
1438
|
+
/*#__PURE__*/ U(o, { children: F(r.bytes) }),
|
|
1439
1439
|
/*#__PURE__*/ U(o, {
|
|
1440
1440
|
onClick: (e) => e.stopPropagation(),
|
|
1441
1441
|
children: /*#__PURE__*/ U(w, { children: /*#__PURE__*/ W(t, { children: [
|
|
@@ -1446,17 +1446,17 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
1446
1446
|
}),
|
|
1447
1447
|
/*#__PURE__*/ U(p, {
|
|
1448
1448
|
label: O._({ id: "Oc8Aqv" }),
|
|
1449
|
-
onClick: () =>
|
|
1449
|
+
onClick: () => R(r),
|
|
1450
1450
|
"data-testid": `properties-action-${r.name}`
|
|
1451
1451
|
}),
|
|
1452
1452
|
/*#__PURE__*/ U(p, {
|
|
1453
1453
|
label: O._({ id: "N2S1rs" }),
|
|
1454
|
-
onClick: () =>
|
|
1454
|
+
onClick: () => ee(r),
|
|
1455
1455
|
"data-testid": `empty-action-${r.name}`
|
|
1456
1456
|
}),
|
|
1457
1457
|
/*#__PURE__*/ U(p, {
|
|
1458
1458
|
label: O._({ id: "cnGeoo" }),
|
|
1459
|
-
onClick: () =>
|
|
1459
|
+
onClick: () => te(r),
|
|
1460
1460
|
"data-testid": `delete-action-${r.name}`
|
|
1461
1461
|
})
|
|
1462
1462
|
] }) })
|
|
@@ -1477,21 +1477,21 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
1477
1477
|
/*#__PURE__*/ U(me, {
|
|
1478
1478
|
isOpen: P !== null,
|
|
1479
1479
|
container: P,
|
|
1480
|
-
onClose: () =>
|
|
1480
|
+
onClose: () => ee(null),
|
|
1481
1481
|
onSuccess: l,
|
|
1482
1482
|
onError: f
|
|
1483
1483
|
}),
|
|
1484
1484
|
/*#__PURE__*/ U(he, {
|
|
1485
|
-
isOpen:
|
|
1486
|
-
container:
|
|
1487
|
-
onClose: () =>
|
|
1485
|
+
isOpen: I !== null,
|
|
1486
|
+
container: I,
|
|
1487
|
+
onClose: () => te(null),
|
|
1488
1488
|
onSuccess: m,
|
|
1489
1489
|
onError: h
|
|
1490
1490
|
}),
|
|
1491
1491
|
/*#__PURE__*/ U(X, {
|
|
1492
|
-
isOpen:
|
|
1493
|
-
container:
|
|
1494
|
-
onClose: () =>
|
|
1492
|
+
isOpen: L !== null,
|
|
1493
|
+
container: L,
|
|
1494
|
+
onClose: () => R(null),
|
|
1495
1495
|
onSuccess: g,
|
|
1496
1496
|
onError: _
|
|
1497
1497
|
}),
|
|
@@ -1681,11 +1681,11 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
1681
1681
|
}),
|
|
1682
1682
|
/*#__PURE__*/ U($, {
|
|
1683
1683
|
label: r._({ id: "aL1w5Z" }),
|
|
1684
|
-
value:
|
|
1684
|
+
value: F(t.bytesUsed)
|
|
1685
1685
|
}),
|
|
1686
1686
|
t.quotaBytes !== void 0 && /*#__PURE__*/ U($, {
|
|
1687
1687
|
label: r._({ id: "vEkTR9" }),
|
|
1688
|
-
value:
|
|
1688
|
+
value: F(t.quotaBytes)
|
|
1689
1689
|
})
|
|
1690
1690
|
]
|
|
1691
1691
|
}),
|
|
@@ -1694,7 +1694,7 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
1694
1694
|
children: [
|
|
1695
1695
|
/*#__PURE__*/ U($, {
|
|
1696
1696
|
label: r._({ id: "wTg+FY" }),
|
|
1697
|
-
value: a.max_file_size === void 0 ? void 0 :
|
|
1697
|
+
value: a.max_file_size === void 0 ? void 0 : F(a.max_file_size)
|
|
1698
1698
|
}),
|
|
1699
1699
|
/*#__PURE__*/ U($, {
|
|
1700
1700
|
label: r._({ id: "Rih53k" }),
|
|
@@ -1901,16 +1901,16 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
1901
1901
|
}, P = (e, t) => {
|
|
1902
1902
|
let { message: n, ...r } = je(e, t);
|
|
1903
1903
|
l.error(n, r);
|
|
1904
|
-
},
|
|
1904
|
+
}, I = (e) => {
|
|
1905
1905
|
let { message: t, ...n } = Me(e);
|
|
1906
1906
|
l.success(t, n);
|
|
1907
|
-
},
|
|
1907
|
+
}, te = (e, t) => {
|
|
1908
1908
|
let { message: n, ...r } = Ne(e, t);
|
|
1909
1909
|
l.error(n, r);
|
|
1910
|
-
},
|
|
1910
|
+
}, L = (e) => {
|
|
1911
1911
|
let { message: t, ...n } = Pe(e);
|
|
1912
1912
|
l.success(t, n);
|
|
1913
|
-
},
|
|
1913
|
+
}, R = (e, t) => {
|
|
1914
1914
|
let { message: n, ...r } = Fe(e, t);
|
|
1915
1915
|
l.error(n, r);
|
|
1916
1916
|
}, ne = (e) => {
|
|
@@ -2027,7 +2027,7 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
2027
2027
|
children: [/*#__PURE__*/ U(D, {
|
|
2028
2028
|
gap: "0.5",
|
|
2029
2029
|
alignment: "center",
|
|
2030
|
-
children: /*#__PURE__*/ U(
|
|
2030
|
+
children: /*#__PURE__*/ U(ee, {
|
|
2031
2031
|
options: B.options,
|
|
2032
2032
|
sortBy: B.sortBy,
|
|
2033
2033
|
sortDirection: B.sortDirection ?? "asc",
|
|
@@ -2123,7 +2123,7 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
2123
2123
|
" ",
|
|
2124
2124
|
/*#__PURE__*/ U("span", {
|
|
2125
2125
|
className: "text-theme-default font-semibold",
|
|
2126
|
-
children:
|
|
2126
|
+
children: F(_e)
|
|
2127
2127
|
})
|
|
2128
2128
|
] })] }),
|
|
2129
2129
|
/*#__PURE__*/ U(Ve, {
|
|
@@ -2144,10 +2144,10 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
2144
2144
|
onCreateError: O,
|
|
2145
2145
|
onEmptySuccess: k,
|
|
2146
2146
|
onEmptyError: P,
|
|
2147
|
-
onDeleteSuccess:
|
|
2148
|
-
onDeleteError:
|
|
2149
|
-
onPropertiesSuccess:
|
|
2150
|
-
onPropertiesError:
|
|
2147
|
+
onDeleteSuccess: I,
|
|
2148
|
+
onDeleteError: te,
|
|
2149
|
+
onPropertiesSuccess: L,
|
|
2150
|
+
onPropertiesError: R,
|
|
2151
2151
|
onAclSuccess: ne,
|
|
2152
2152
|
onAclError: re,
|
|
2153
2153
|
selectedContainers: _,
|
|
@@ -2277,35 +2277,33 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
2277
2277
|
getScrollElement: () => E.current,
|
|
2278
2278
|
estimateSize: () => 48,
|
|
2279
2279
|
overscan: 10
|
|
2280
|
-
}),
|
|
2280
|
+
}), ee = (e) => {
|
|
2281
2281
|
h.includes(e) ? g(h.filter((t) => t !== e)) : g([...h, e]);
|
|
2282
|
-
};
|
|
2283
|
-
if (!e || e.length === 0) return /*#__PURE__*/ U(u, {
|
|
2284
|
-
columns: 4,
|
|
2285
|
-
className: "buckets",
|
|
2286
|
-
"data-testid": "no-buckets",
|
|
2287
|
-
children: /*#__PURE__*/ U(i, { children: /*#__PURE__*/ U(o, {
|
|
2288
|
-
colSpan: 4,
|
|
2289
|
-
children: /*#__PURE__*/ W("div", {
|
|
2290
|
-
className: "py-8 text-center",
|
|
2291
|
-
children: [/*#__PURE__*/ U("h3", {
|
|
2292
|
-
className: "text-lg font-semibold",
|
|
2293
|
-
children: /*#__PURE__*/ U(q, { id: "ih2lfP" })
|
|
2294
|
-
}), /*#__PURE__*/ U("p", {
|
|
2295
|
-
className: "text-theme-light mt-2",
|
|
2296
|
-
children: /*#__PURE__*/ U(q, { id: "emkxJa" })
|
|
2297
|
-
})]
|
|
2298
|
-
})
|
|
2299
|
-
}) })
|
|
2300
|
-
});
|
|
2301
|
-
let ee = _ ? 6 : 5, R = _ ? "40px minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px" : "minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px";
|
|
2282
|
+
}, te = !e || e.length === 0, L = _ ? 6 : 5, R = _ ? "40px minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px" : "minmax(200px, 2fr) minmax(100px, 1fr) minmax(180px, 2fr) minmax(100px, 1fr) 60px";
|
|
2302
2283
|
return /*#__PURE__*/ W(H, { children: [
|
|
2303
|
-
/*#__PURE__*/
|
|
2284
|
+
te ? /*#__PURE__*/ U(u, {
|
|
2285
|
+
columns: 4,
|
|
2286
|
+
className: "buckets",
|
|
2287
|
+
"data-testid": "no-buckets",
|
|
2288
|
+
children: /*#__PURE__*/ U(i, { children: /*#__PURE__*/ U(o, {
|
|
2289
|
+
colSpan: 4,
|
|
2290
|
+
children: /*#__PURE__*/ W("div", {
|
|
2291
|
+
className: "py-8 text-center",
|
|
2292
|
+
children: [/*#__PURE__*/ U("h3", {
|
|
2293
|
+
className: "text-lg font-semibold",
|
|
2294
|
+
children: /*#__PURE__*/ U(q, { id: "ih2lfP" })
|
|
2295
|
+
}), /*#__PURE__*/ U("p", {
|
|
2296
|
+
className: "text-theme-light mt-2",
|
|
2297
|
+
children: /*#__PURE__*/ U(q, { id: "emkxJa" })
|
|
2298
|
+
})]
|
|
2299
|
+
})
|
|
2300
|
+
}) })
|
|
2301
|
+
}) : /*#__PURE__*/ W("div", {
|
|
2304
2302
|
className: "relative",
|
|
2305
2303
|
children: [/*#__PURE__*/ U("div", {
|
|
2306
2304
|
style: { paddingRight: `${D}px` },
|
|
2307
2305
|
children: /*#__PURE__*/ U(u, {
|
|
2308
|
-
columns:
|
|
2306
|
+
columns: L,
|
|
2309
2307
|
gridColumnTemplate: R,
|
|
2310
2308
|
className: "buckets",
|
|
2311
2309
|
"data-testid": "buckets-table-header",
|
|
@@ -2368,7 +2366,7 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
2368
2366
|
},
|
|
2369
2367
|
children: /*#__PURE__*/ U(y, {
|
|
2370
2368
|
checked: i,
|
|
2371
|
-
onChange: () =>
|
|
2369
|
+
onChange: () => ee(r.name),
|
|
2372
2370
|
"data-testid": `select-bucket-${r.name}`
|
|
2373
2371
|
})
|
|
2374
2372
|
}),
|
|
@@ -2382,7 +2380,7 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
2382
2380
|
}),
|
|
2383
2381
|
/*#__PURE__*/ U(o, { children: r.count.toLocaleString() }),
|
|
2384
2382
|
/*#__PURE__*/ U(o, { children: N(r.last_modified || r.creationDate || "") }),
|
|
2385
|
-
/*#__PURE__*/ U(o, { children:
|
|
2383
|
+
/*#__PURE__*/ U(o, { children: F(r.bytes) }),
|
|
2386
2384
|
/*#__PURE__*/ U(o, {
|
|
2387
2385
|
onClick: (e) => e.stopPropagation(),
|
|
2388
2386
|
children: /*#__PURE__*/ U(w, { children: /*#__PURE__*/ W(t, { children: [
|
|
@@ -2422,7 +2420,7 @@ var De = ({ containers: e, createModalOpen: n, setCreateModalOpen: r, maxContain
|
|
|
2422
2420
|
onSuccess: c,
|
|
2423
2421
|
onError: l
|
|
2424
2422
|
}),
|
|
2425
|
-
/*#__PURE__*/ U(
|
|
2423
|
+
/*#__PURE__*/ U(I, {
|
|
2426
2424
|
isOpen: j !== null,
|
|
2427
2425
|
bucket: j,
|
|
2428
2426
|
onClose: () => M(null),
|
|
@@ -2583,15 +2581,15 @@ var tt = () => {
|
|
|
2583
2581
|
let { message: n, ...r } = B(e, t);
|
|
2584
2582
|
l.error(n, r);
|
|
2585
2583
|
}, k = (e, t) => {
|
|
2586
|
-
let { message: n, ...r } =
|
|
2584
|
+
let { message: n, ...r } = te(e, t);
|
|
2587
2585
|
l.success(n, r);
|
|
2588
2586
|
}, P = (e, t) => {
|
|
2589
2587
|
let { message: n, ...r } = re(e, t);
|
|
2590
2588
|
l.error(n, r);
|
|
2591
|
-
},
|
|
2592
|
-
let { message: t, ...n } =
|
|
2589
|
+
}, F = (e) => {
|
|
2590
|
+
let { message: t, ...n } = L(e);
|
|
2593
2591
|
l.success(t, n);
|
|
2594
|
-
},
|
|
2592
|
+
}, I = (e, t) => {
|
|
2595
2593
|
let { message: n, ...r } = z(e, t);
|
|
2596
2594
|
l.error(n, r);
|
|
2597
2595
|
}, ie = ({ emptiedCount: e, totalDeleted: t, errors: n }) => {
|
|
@@ -2600,7 +2598,7 @@ var tt = () => {
|
|
|
2600
2598
|
let e = new Set(n.map((e) => e.split(": ")[0]));
|
|
2601
2599
|
v((t) => t.filter((t) => e.has(t)));
|
|
2602
2600
|
}
|
|
2603
|
-
let { message: r, ...i } =
|
|
2601
|
+
let { message: r, ...i } = R(e, t, n);
|
|
2604
2602
|
n.length > 0 ? l.warning(r, i) : l.success(r, i);
|
|
2605
2603
|
}, V = {
|
|
2606
2604
|
options: [
|
|
@@ -2706,7 +2704,7 @@ var tt = () => {
|
|
|
2706
2704
|
children: [/*#__PURE__*/ U(D, {
|
|
2707
2705
|
gap: "0.5",
|
|
2708
2706
|
alignment: "center",
|
|
2709
|
-
children: /*#__PURE__*/ U(
|
|
2707
|
+
children: /*#__PURE__*/ U(ee, {
|
|
2710
2708
|
options: V.options,
|
|
2711
2709
|
sortBy: V.sortBy,
|
|
2712
2710
|
sortDirection: V.sortDirection ?? "asc",
|
|
@@ -2809,8 +2807,8 @@ var tt = () => {
|
|
|
2809
2807
|
onCreateError: O,
|
|
2810
2808
|
onEmptySuccess: k,
|
|
2811
2809
|
onEmptyError: P,
|
|
2812
|
-
onDeleteSuccess:
|
|
2813
|
-
onDeleteError:
|
|
2810
|
+
onDeleteSuccess: F,
|
|
2811
|
+
onDeleteError: I,
|
|
2814
2812
|
selectedBuckets: _,
|
|
2815
2813
|
setSelectedBuckets: v,
|
|
2816
2814
|
hasAnyBulkAction: !0
|
|
@@ -2869,4 +2867,4 @@ var rt = () => /*#__PURE__*/ U(nt, {});
|
|
|
2869
2867
|
//#endregion
|
|
2870
2868
|
export { rt as component };
|
|
2871
2869
|
|
|
2872
|
-
//# sourceMappingURL=_storageType-
|
|
2870
|
+
//# sourceMappingURL=_storageType-ByLL106s.mjs.map
|