@ultrst-armada/floks 1.2.8 → 1.3.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/.krusbl-release-attestation.json +8 -0
- package/package.json +3 -2
- package/packages/ui/dist/{chunk-KQAFKNQH.js → chunk-AF2KAEOA.js} +65 -44
- package/packages/ui/dist/{chunk-X67KXI3H.js → chunk-QRSVZE4C.js} +183 -17
- package/packages/ui/dist/components/auth/index.d.ts +1 -0
- package/packages/ui/dist/components/auth/index.js +1 -1
- package/packages/ui/dist/components/workspace/index.d.ts +63 -12
- package/packages/ui/dist/components/workspace/index.js +5 -1
- package/packages/ui/dist/index.d.ts +1 -1
- package/packages/ui/dist/index.js +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultrst-armada/floks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"packages/*/src/theme/tokens.css",
|
|
19
19
|
"packages/*/src/styles/**",
|
|
20
20
|
"packages/*/package.json",
|
|
21
|
-
"packages/*/floks.manifest.json"
|
|
21
|
+
"packages/*/floks.manifest.json",
|
|
22
|
+
".krusbl-release-attestation.json"
|
|
22
23
|
],
|
|
23
24
|
"exports": {
|
|
24
25
|
".": {
|
|
@@ -31,6 +31,7 @@ var AuthPage = ({
|
|
|
31
31
|
appName = "SKIPO",
|
|
32
32
|
appSubtitle = "WORKSPACE",
|
|
33
33
|
footerText,
|
|
34
|
+
appIcon,
|
|
34
35
|
onLogin,
|
|
35
36
|
onRegister,
|
|
36
37
|
onSuccess,
|
|
@@ -46,6 +47,8 @@ var AuthPage = ({
|
|
|
46
47
|
const [showPassword, setShowPassword] = useState(false);
|
|
47
48
|
const [error, setError] = useState(null);
|
|
48
49
|
const [loading, setLoading] = useState(false);
|
|
50
|
+
const [iconError, setIconError] = useState(false);
|
|
51
|
+
const iconSrc = typeof appIcon === "string" ? appIcon : "/src/frontend/assets/app-icon.svg";
|
|
49
52
|
const handlers = useMemo(() => ({
|
|
50
53
|
"AuthPage.idle.login": () => {
|
|
51
54
|
},
|
|
@@ -79,51 +82,69 @@ var AuthPage = ({
|
|
|
79
82
|
setLoading(false);
|
|
80
83
|
}
|
|
81
84
|
};
|
|
82
|
-
return /* @__PURE__ */ jsxs(
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
85
|
+
return /* @__PURE__ */ jsxs(
|
|
86
|
+
"div",
|
|
87
|
+
{
|
|
88
|
+
id: componentId,
|
|
89
|
+
"data-frnl-component": "AuthPage",
|
|
90
|
+
"data-frnl-state": frnl.state,
|
|
91
|
+
className: "min-h-screen h-screen w-screen bg-[var(--skipo-bg)] text-[var(--skipo-text)] font-mono flex flex-col justify-between overflow-hidden",
|
|
92
|
+
style: { minHeight: "100vh", height: "100vh", width: "100vw" },
|
|
93
|
+
children: [
|
|
94
|
+
/* @__PURE__ */ jsxs("header", { className: "border-b-2 border-[var(--skipo-border-color)] bg-[var(--skipo-surface)] px-6 py-3.5 flex items-center justify-between shrink-0", children: [
|
|
95
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
96
|
+
appIcon && typeof appIcon !== "string" ? /* @__PURE__ */ jsx("div", { className: "w-8 h-8 shrink-0 flex items-center justify-center", children: appIcon }) : !iconError ? /* @__PURE__ */ jsx("div", { className: "w-8 h-8 shrink-0 flex items-center justify-center overflow-hidden rounded bg-[var(--skipo-surface)] border border-[var(--skipo-border-color)]", children: /* @__PURE__ */ jsx(
|
|
97
|
+
"img",
|
|
98
|
+
{
|
|
99
|
+
src: iconSrc,
|
|
100
|
+
alt: appName,
|
|
101
|
+
className: "w-6 h-6 object-contain shrink-0",
|
|
102
|
+
onError: () => setIconError(true)
|
|
103
|
+
}
|
|
104
|
+
) }) : /* @__PURE__ */ jsx("div", { className: "w-8 h-8 shrink-0 bg-[var(--skipo-accent)] text-black font-black flex items-center justify-center text-xs rounded select-none", children: "\u25B2" }),
|
|
105
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
106
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-black uppercase tracking-wider", children: appName }),
|
|
107
|
+
/* @__PURE__ */ jsx("span", { className: "ml-2 text-[10px] text-[var(--skipo-text-muted)] tracking-tight", children: appSubtitle })
|
|
108
|
+
] })
|
|
109
|
+
] }),
|
|
110
|
+
onSwitchToAdmin && /* @__PURE__ */ jsxs("button", { type: "button", onClick: onSwitchToAdmin, className: "px-3 py-1.5 text-[10px] font-black border-2 border-[var(--skipo-accent)] text-[var(--skipo-accent)] flex items-center gap-1.5", children: [
|
|
111
|
+
/* @__PURE__ */ jsx(Shield, { size: 13 }),
|
|
112
|
+
" ADMIN ",
|
|
113
|
+
/* @__PURE__ */ jsx(ArrowRight, { size: 13 })
|
|
114
|
+
] })
|
|
105
115
|
] }),
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
116
|
+
/* @__PURE__ */ jsx("main", { className: "flex-1 flex items-center justify-center p-4 overflow-auto", children: /* @__PURE__ */ jsxs("div", { className: "w-full max-w-md border-2 border-[var(--skipo-border-color)] bg-[var(--skipo-surface)] shadow-[6px_6px_0px_var(--skipo-border-color)] p-6 my-auto", children: [
|
|
117
|
+
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-2 gap-2 mb-5", children: [
|
|
118
|
+
/* @__PURE__ */ jsxs("button", { type: "button", onClick: () => {
|
|
119
|
+
setMode("login");
|
|
120
|
+
setError(null);
|
|
121
|
+
}, className: `py-2 text-[10px] font-black border ${mode === "login" ? "bg-[var(--skipo-accent)] text-black" : "bg-[var(--skipo-bg)]"}`, children: [
|
|
122
|
+
/* @__PURE__ */ jsx(LogIn, { size: 13, className: "inline mr-1" }),
|
|
123
|
+
" SIGN IN"
|
|
124
|
+
] }),
|
|
125
|
+
/* @__PURE__ */ jsxs("button", { type: "button", onClick: () => {
|
|
126
|
+
setMode("register");
|
|
127
|
+
setError(null);
|
|
128
|
+
}, className: `py-2 text-[10px] font-black border ${mode === "register" ? "bg-[var(--skipo-accent)] text-black" : "bg-[var(--skipo-bg)]"}`, children: [
|
|
129
|
+
/* @__PURE__ */ jsx(UserPlus, { size: 13, className: "inline mr-1" }),
|
|
130
|
+
" CREATE ACCOUNT"
|
|
131
|
+
] })
|
|
132
|
+
] }),
|
|
133
|
+
error && /* @__PURE__ */ jsxs("div", { className: "mb-4 p-3 border-2 border-red-500/80 bg-red-950/30 text-red-300 text-xs flex items-center gap-2", children: [
|
|
134
|
+
/* @__PURE__ */ jsx(AlertCircle, { size: 14 }),
|
|
135
|
+
error
|
|
136
|
+
] }),
|
|
137
|
+
/* @__PURE__ */ jsxs("form", { onSubmit: submit, className: "space-y-3", children: [
|
|
138
|
+
mode === "register" && React.createElement(frnlTextInput, { id: componentId + ".name", label: "Full Name", value: name, onChange: (e) => setName(e.target.value) }),
|
|
139
|
+
React.createElement(frnlTextInput, { id: componentId + ".email", label: "Email Address", value: email, onChange: (e) => setEmail(e.target.value), type: "email", autoComplete: "username" }),
|
|
140
|
+
/* @__PURE__ */ jsx("div", { children: React.createElement(frnlTextInput, { id: componentId + ".password", label: "Password", value: password, onChange: (e) => setPassword(e.target.value), type: showPassword ? "text" : "password", autoComplete: mode === "login" ? "current-password" : "new-password", trailingIcon: /* @__PURE__ */ jsx("button", { type: "button", "aria-label": "Toggle password visibility", onClick: () => setShowPassword((v) => !v), children: showPassword ? /* @__PURE__ */ jsx(EyeOff, { size: 13 }) : /* @__PURE__ */ jsx(Eye, { size: 13 }) }) }) }),
|
|
141
|
+
React.createElement(frnlButton, { type: "submit", disabled: loading, loading, variant: "accent", size: "lg", className: "w-full", icon: /* @__PURE__ */ jsx(ArrowRight, { size: 13 }) }, mode === "login" ? "SIGN IN TO WORKSPACE" : "CREATE ACCOUNT")
|
|
142
|
+
] }),
|
|
143
|
+
/* @__PURE__ */ jsx("p", { className: "mt-5 pt-3 border-t border-[var(--skipo-border-color)] text-center text-[10px] text-[var(--skipo-text-muted)]", children: footerText || `${appName} WORKSPACE SYSTEM` })
|
|
144
|
+
] }) })
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
);
|
|
127
148
|
};
|
|
128
149
|
|
|
129
150
|
// src/components/auth/LoginModal.tsx
|
|
@@ -44,13 +44,21 @@ var SrklBackblazeTile = ({
|
|
|
44
44
|
selectedBucketName,
|
|
45
45
|
isSelectedAccount,
|
|
46
46
|
onSelectBucket,
|
|
47
|
-
userId
|
|
47
|
+
userId,
|
|
48
|
+
storageService
|
|
48
49
|
}) => {
|
|
49
50
|
const [buckets, setBuckets] = useState([]);
|
|
50
51
|
const [loading, setLoading] = useState(false);
|
|
51
52
|
const fetchBuckets = async () => {
|
|
52
53
|
setLoading(true);
|
|
53
54
|
try {
|
|
55
|
+
if (storageService?.listBackblazeBuckets) {
|
|
56
|
+
const res2 = await storageService.listBackblazeBuckets(account.id, userId || "");
|
|
57
|
+
if (Array.isArray(res2) && res2.length > 0) {
|
|
58
|
+
setBuckets(res2);
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
54
62
|
const creds = account.credentials || account.metadata?.credentials || {};
|
|
55
63
|
const keyId = creds.keyId || creds.b2KeyId || "";
|
|
56
64
|
const applicationKey = creds.applicationKey || creds.b2ApplicationKey || "";
|
|
@@ -58,7 +66,7 @@ var SrklBackblazeTile = ({
|
|
|
58
66
|
const res = await fetch("/api/srkl/backblaze/buckets", {
|
|
59
67
|
method: "POST",
|
|
60
68
|
headers: { "Content-Type": "application/json" },
|
|
61
|
-
body: JSON.stringify({ keyId, applicationKey, userId, bucketName: defaultBucket })
|
|
69
|
+
body: JSON.stringify({ accountId: account.id, keyId, applicationKey, userId, bucketName: defaultBucket })
|
|
62
70
|
});
|
|
63
71
|
const data = await res.json().catch(() => ({}));
|
|
64
72
|
if (data.success && Array.isArray(data.buckets)) {
|
|
@@ -122,18 +130,28 @@ import { HardDrive as HardDrive2, Cloud as Cloud2, RefreshCw as RefreshCw2 } fro
|
|
|
122
130
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
123
131
|
var StorageOptionTiles = ({
|
|
124
132
|
currentUser,
|
|
133
|
+
userId,
|
|
125
134
|
selectedConnectionId,
|
|
135
|
+
storageService,
|
|
126
136
|
onSelectStorage
|
|
127
137
|
}) => {
|
|
128
138
|
const [activeId, setActiveId] = useState2(selectedConnectionId || "local_default");
|
|
129
139
|
const [selectedBucket, setSelectedBucket] = useState2("");
|
|
130
140
|
const [srklAccounts, setSrklAccounts] = useState2([]);
|
|
131
141
|
const [loadingSrkl, setLoadingSrkl] = useState2(false);
|
|
142
|
+
const effectiveUserId = currentUser?.id || userId || "";
|
|
132
143
|
const fetchSrklAccounts = useCallback(async () => {
|
|
133
|
-
if (!
|
|
144
|
+
if (!effectiveUserId) return;
|
|
134
145
|
setLoadingSrkl(true);
|
|
135
146
|
try {
|
|
136
|
-
|
|
147
|
+
if (storageService?.listBackblazeAccounts) {
|
|
148
|
+
const accs = await storageService.listBackblazeAccounts(effectiveUserId);
|
|
149
|
+
if (Array.isArray(accs) && accs.length > 0) {
|
|
150
|
+
setSrklAccounts(accs);
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
const uId = encodeURIComponent(effectiveUserId);
|
|
137
155
|
const res = await fetch(`/api/srkl/accounts?service=backblaze&userId=${uId}`);
|
|
138
156
|
const data = await res.json().catch(() => ({}));
|
|
139
157
|
if (data.success && Array.isArray(data.accounts)) {
|
|
@@ -143,7 +161,7 @@ var StorageOptionTiles = ({
|
|
|
143
161
|
} finally {
|
|
144
162
|
setLoadingSrkl(false);
|
|
145
163
|
}
|
|
146
|
-
}, [
|
|
164
|
+
}, [effectiveUserId, storageService]);
|
|
147
165
|
useEffect2(() => {
|
|
148
166
|
fetchSrklAccounts();
|
|
149
167
|
}, [fetchSrklAccounts]);
|
|
@@ -216,7 +234,8 @@ var StorageOptionTiles = ({
|
|
|
216
234
|
selectedBucketName: selectedBucket,
|
|
217
235
|
isSelectedAccount: account.id === activeId,
|
|
218
236
|
onSelectBucket: handleSelectSrklBucket,
|
|
219
|
-
userId:
|
|
237
|
+
userId: effectiveUserId,
|
|
238
|
+
storageService
|
|
220
239
|
},
|
|
221
240
|
account.id
|
|
222
241
|
))
|
|
@@ -425,6 +444,31 @@ import { useEffect as useEffect3, useState as useState5 } from "react";
|
|
|
425
444
|
import { Cloud as Cloud5, HardDrive as HardDrive5, Loader2 } from "lucide-react";
|
|
426
445
|
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
427
446
|
var WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES = ["workspace", "storage", "srkl"];
|
|
447
|
+
var defaultWorkspaceStorageService = {
|
|
448
|
+
listBackblazeAccounts: async (userId) => {
|
|
449
|
+
try {
|
|
450
|
+
const uId = encodeURIComponent(userId);
|
|
451
|
+
const res = await fetch(`/api/srkl/accounts?service=backblaze&userId=${uId}`);
|
|
452
|
+
const data = await res.json().catch(() => ({}));
|
|
453
|
+
return Array.isArray(data?.accounts) ? data.accounts : [];
|
|
454
|
+
} catch {
|
|
455
|
+
return [];
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
listBackblazeBuckets: async (accountId, userId) => {
|
|
459
|
+
try {
|
|
460
|
+
const res = await fetch("/api/srkl/backblaze/buckets", {
|
|
461
|
+
method: "POST",
|
|
462
|
+
headers: { "Content-Type": "application/json" },
|
|
463
|
+
body: JSON.stringify({ accountId, userId })
|
|
464
|
+
});
|
|
465
|
+
const data = await res.json().catch(() => ({}));
|
|
466
|
+
return Array.isArray(data?.buckets) ? data.buckets : [];
|
|
467
|
+
} catch {
|
|
468
|
+
return [];
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
};
|
|
428
472
|
function createKloksWorkspaceStorageService(invoker) {
|
|
429
473
|
return {
|
|
430
474
|
listBackblazeAccounts: async (userId) => {
|
|
@@ -437,7 +481,14 @@ function createKloksWorkspaceStorageService(invoker) {
|
|
|
437
481
|
}
|
|
438
482
|
};
|
|
439
483
|
}
|
|
440
|
-
function WorkspaceCreateDialog({
|
|
484
|
+
function WorkspaceCreateDialog({
|
|
485
|
+
open,
|
|
486
|
+
userId = "system",
|
|
487
|
+
currentUser,
|
|
488
|
+
storageService = defaultWorkspaceStorageService,
|
|
489
|
+
onClose,
|
|
490
|
+
onSubmit
|
|
491
|
+
}) {
|
|
441
492
|
const [name, setName] = useState5("");
|
|
442
493
|
const [description, setDescription] = useState5("");
|
|
443
494
|
const [provider, setProvider] = useState5("local_fs");
|
|
@@ -448,19 +499,20 @@ function WorkspaceCreateDialog({ open, userId, storageService, onClose, onSubmit
|
|
|
448
499
|
const [loading, setLoading] = useState5(false);
|
|
449
500
|
const [loadingBuckets, setLoadingBuckets] = useState5(false);
|
|
450
501
|
const [error, setError] = useState5(null);
|
|
502
|
+
const effectiveUserId = userId || currentUser?.id || "system";
|
|
451
503
|
useEffect3(() => {
|
|
452
|
-
if (!open || !
|
|
504
|
+
if (!open || !effectiveUserId) return;
|
|
453
505
|
setError(null);
|
|
454
|
-
storageService.listBackblazeAccounts(
|
|
455
|
-
}, [open,
|
|
506
|
+
storageService.listBackblazeAccounts(effectiveUserId).then(setAccounts).catch((e) => setError(e instanceof Error ? e.message : "Failed to load SRKL accounts."));
|
|
507
|
+
}, [open, effectiveUserId, storageService]);
|
|
456
508
|
useEffect3(() => {
|
|
457
509
|
if (provider !== "backblaze_b2" || !accountId) return;
|
|
458
510
|
setLoadingBuckets(true);
|
|
459
|
-
storageService.listBackblazeBuckets(accountId,
|
|
511
|
+
storageService.listBackblazeBuckets(accountId, effectiveUserId).then((items) => {
|
|
460
512
|
setBuckets(items);
|
|
461
513
|
setBucketName("");
|
|
462
514
|
}).catch((e) => setError(e instanceof Error ? e.message : "Failed to load Backblaze buckets.")).finally(() => setLoadingBuckets(false));
|
|
463
|
-
}, [provider, accountId, storageService]);
|
|
515
|
+
}, [provider, accountId, effectiveUserId, storageService]);
|
|
464
516
|
if (!open) return null;
|
|
465
517
|
const submit = async (e) => {
|
|
466
518
|
e.preventDefault();
|
|
@@ -469,9 +521,18 @@ function WorkspaceCreateDialog({ open, userId, storageService, onClose, onSubmit
|
|
|
469
521
|
setLoading(true);
|
|
470
522
|
try {
|
|
471
523
|
const account = accounts.find((a) => a.id === accountId);
|
|
524
|
+
const storageObj = {
|
|
525
|
+
provider,
|
|
526
|
+
connectionId: accountId || void 0,
|
|
527
|
+
b2BucketName: provider === "backblaze_b2" ? bucketName : void 0,
|
|
528
|
+
b2Endpoint: account?.credentials?.endpoint,
|
|
529
|
+
b2Region: account?.credentials?.region,
|
|
530
|
+
localFolderName: provider === "local_fs" ? name.trim() : void 0
|
|
531
|
+
};
|
|
472
532
|
await onSubmit({
|
|
473
533
|
name: name.trim(),
|
|
474
534
|
description: description.trim() || void 0,
|
|
535
|
+
storage: storageObj,
|
|
475
536
|
storageProvider: provider,
|
|
476
537
|
storageConnectionId: accountId || void 0,
|
|
477
538
|
localFolderName: provider === "local_fs" ? name.trim() : void 0,
|
|
@@ -550,8 +611,10 @@ var workspaceTilesMenuDefinition = defineFrnlComponent({
|
|
|
550
611
|
function WorkspaceTilesMenu({
|
|
551
612
|
workspaces,
|
|
552
613
|
userId,
|
|
614
|
+
currentUser,
|
|
553
615
|
activeWorkspaceId = null,
|
|
554
|
-
|
|
616
|
+
appName = "Workspaces",
|
|
617
|
+
storageService = defaultWorkspaceStorageService,
|
|
555
618
|
onSelectWorkspace,
|
|
556
619
|
onCreateWorkspace,
|
|
557
620
|
onUpdateWorkspace: _onUpdateWorkspace,
|
|
@@ -561,6 +624,7 @@ function WorkspaceTilesMenu({
|
|
|
561
624
|
error = null
|
|
562
625
|
}) {
|
|
563
626
|
const store = useFloksFrnlStore();
|
|
627
|
+
const effectiveUserId = userId || currentUser?.id || "system";
|
|
564
628
|
const generated = useId().replace(/[:/]/g, "");
|
|
565
629
|
const componentId = `workspaceTilesMenu.${generated}`;
|
|
566
630
|
const [creating, setCreating] = useState6(false);
|
|
@@ -597,20 +661,120 @@ function WorkspaceTilesMenu({
|
|
|
597
661
|
renderTile: (ws, selected) => /* @__PURE__ */ jsxs7(Fragment, { children: [
|
|
598
662
|
/* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-2 text-xs font-black uppercase", children: [
|
|
599
663
|
ws.storageProvider === "backblaze_b2" ? /* @__PURE__ */ jsx7(Cloud6, { size: 14 }) : /* @__PURE__ */ jsx7(HardDrive6, { size: 14 }),
|
|
600
|
-
ws.title
|
|
664
|
+
ws.title || ws.name || "Workspace"
|
|
601
665
|
] }),
|
|
602
666
|
/* @__PURE__ */ jsx7("p", { className: "mt-2 text-[11px] text-[var(--skipo-text-muted)]", children: ws.description }),
|
|
603
667
|
/* @__PURE__ */ jsxs7("div", { className: `mt-2 text-[10px] ${selected || ws.id === activeWorkspaceId ? "text-[var(--skipo-accent)]" : "text-[var(--skipo-text-muted)]"}`, children: [
|
|
604
668
|
/* @__PURE__ */ jsx7(FolderOpen, { size: 11, className: "inline mr-1" }),
|
|
605
|
-
ws.workspacePath ?? ws.b2BucketName ?? ws.id
|
|
669
|
+
ws.workspacePath ?? ws.b2BucketName ?? ws.localFolderName ?? ws.id
|
|
606
670
|
] })
|
|
607
671
|
] })
|
|
608
672
|
}
|
|
609
673
|
),
|
|
610
|
-
/* @__PURE__ */ jsx7(WorkspaceCreateDialog, { open: creating, userId, storageService, onClose: () => setCreating(false), onSubmit: onCreateWorkspace })
|
|
674
|
+
/* @__PURE__ */ jsx7(WorkspaceCreateDialog, { open: creating, userId: effectiveUserId, currentUser, storageService, onClose: () => setCreating(false), onSubmit: onCreateWorkspace })
|
|
611
675
|
] });
|
|
612
676
|
}
|
|
613
677
|
|
|
678
|
+
// src/components/workspace/WorkspaceGate.tsx
|
|
679
|
+
import { useMemo as useMemo2 } from "react";
|
|
680
|
+
import { LogOut as LogOut2, ArrowLeft } from "lucide-react";
|
|
681
|
+
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
682
|
+
var WorkspaceGate = ({
|
|
683
|
+
workspaces,
|
|
684
|
+
activeWorkspaceId,
|
|
685
|
+
userId,
|
|
686
|
+
currentUser,
|
|
687
|
+
appName = "Workspaces",
|
|
688
|
+
appSubtitle = "WORKSPACE VAULT GATEWAY \u2022 ISOLATION ENFORCED (LAW L6)",
|
|
689
|
+
storageService,
|
|
690
|
+
onSelectWorkspace,
|
|
691
|
+
onCreateWorkspace,
|
|
692
|
+
onUpdateWorkspace,
|
|
693
|
+
onDeleteWorkspace,
|
|
694
|
+
onLogout,
|
|
695
|
+
canClose,
|
|
696
|
+
onClose,
|
|
697
|
+
loading = false,
|
|
698
|
+
error = null
|
|
699
|
+
}) => {
|
|
700
|
+
const normalizedWorkspaces = useMemo2(() => {
|
|
701
|
+
return (workspaces || []).map((w) => ({
|
|
702
|
+
id: w.id,
|
|
703
|
+
title: w.title || w.name || "Workspace",
|
|
704
|
+
name: w.name || w.title || "Workspace",
|
|
705
|
+
description: w.description || "Workspace vault for workflows and graph state",
|
|
706
|
+
workspacePath: w.workspacePath || "./projects",
|
|
707
|
+
storageProvider: w.storageProvider || w.storage?.provider || "local_fs",
|
|
708
|
+
storageConnectionId: w.storageConnectionId || w.storage?.storageConnectionId,
|
|
709
|
+
b2BucketName: w.b2BucketName || w.storage?.b2BucketName,
|
|
710
|
+
b2Endpoint: w.b2Endpoint || w.storage?.b2Endpoint,
|
|
711
|
+
b2Region: w.b2Region || w.storage?.b2Region,
|
|
712
|
+
localFolderName: w.localFolderName || w.storage?.localFolderName,
|
|
713
|
+
metadata: w.metadata
|
|
714
|
+
}));
|
|
715
|
+
}, [workspaces]);
|
|
716
|
+
const effectiveUserId = userId || currentUser?.id || "system";
|
|
717
|
+
return /* @__PURE__ */ jsx8(
|
|
718
|
+
"div",
|
|
719
|
+
{
|
|
720
|
+
className: "min-h-screen h-screen w-screen bg-[var(--skipo-bg,#0b0e17)] text-[var(--skipo-text,#f8fafc)] font-mono p-6 sm:p-8 flex flex-col items-center justify-center overflow-auto",
|
|
721
|
+
style: { minHeight: "100vh", height: "100vh", width: "100vw" },
|
|
722
|
+
children: /* @__PURE__ */ jsxs8("div", { className: "w-full max-w-4xl my-auto", children: [
|
|
723
|
+
/* @__PURE__ */ jsxs8("header", { className: "mb-6 flex items-center justify-between border-b border-[var(--skipo-border-color,#1e293b)] pb-4", children: [
|
|
724
|
+
/* @__PURE__ */ jsxs8("div", { children: [
|
|
725
|
+
/* @__PURE__ */ jsx8("h1", { className: "text-2xl font-black tracking-wider text-[var(--skipo-accent,#f59e0b)] uppercase", children: appName }),
|
|
726
|
+
/* @__PURE__ */ jsx8("p", { className: "text-xs text-[var(--skipo-text-muted,#94a3b8)] font-mono tracking-tight mt-0.5", children: appSubtitle })
|
|
727
|
+
] }),
|
|
728
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex items-center gap-2", children: [
|
|
729
|
+
canClose && onClose && /* @__PURE__ */ jsxs8(
|
|
730
|
+
"button",
|
|
731
|
+
{
|
|
732
|
+
type: "button",
|
|
733
|
+
onClick: onClose,
|
|
734
|
+
className: "h-8 px-3 border border-[var(--skipo-border-color,#1e293b)] hover:border-[var(--skipo-accent,#f59e0b)] text-[var(--skipo-text-muted)] hover:text-[var(--skipo-text)] text-[10px] font-black flex items-center gap-1.5 transition-colors",
|
|
735
|
+
children: [
|
|
736
|
+
/* @__PURE__ */ jsx8(ArrowLeft, { size: 13 }),
|
|
737
|
+
" BACK TO APP"
|
|
738
|
+
]
|
|
739
|
+
}
|
|
740
|
+
),
|
|
741
|
+
onLogout && /* @__PURE__ */ jsxs8(
|
|
742
|
+
"button",
|
|
743
|
+
{
|
|
744
|
+
type: "button",
|
|
745
|
+
onClick: onLogout,
|
|
746
|
+
className: "h-8 px-3 border border-red-500/60 hover:bg-red-950/20 text-red-300 text-[10px] font-black flex items-center gap-1.5 transition-colors",
|
|
747
|
+
children: [
|
|
748
|
+
/* @__PURE__ */ jsx8(LogOut2, { size: 12 }),
|
|
749
|
+
" LOGOUT"
|
|
750
|
+
]
|
|
751
|
+
}
|
|
752
|
+
)
|
|
753
|
+
] })
|
|
754
|
+
] }),
|
|
755
|
+
/* @__PURE__ */ jsx8(
|
|
756
|
+
WorkspaceTilesMenu,
|
|
757
|
+
{
|
|
758
|
+
workspaces: normalizedWorkspaces,
|
|
759
|
+
activeWorkspaceId,
|
|
760
|
+
userId: effectiveUserId,
|
|
761
|
+
currentUser,
|
|
762
|
+
appName,
|
|
763
|
+
storageService,
|
|
764
|
+
onSelectWorkspace,
|
|
765
|
+
onCreateWorkspace: onCreateWorkspace || (() => {
|
|
766
|
+
}),
|
|
767
|
+
onUpdateWorkspace,
|
|
768
|
+
onDeleteWorkspace,
|
|
769
|
+
loading,
|
|
770
|
+
error
|
|
771
|
+
}
|
|
772
|
+
)
|
|
773
|
+
] })
|
|
774
|
+
}
|
|
775
|
+
);
|
|
776
|
+
};
|
|
777
|
+
|
|
614
778
|
export {
|
|
615
779
|
StoragePresetTile,
|
|
616
780
|
SrklBackblazeTile,
|
|
@@ -618,9 +782,11 @@ export {
|
|
|
618
782
|
WorkspaceStorageReadonlyPanel,
|
|
619
783
|
WorkspaceSecondaryClonesPanel,
|
|
620
784
|
WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES,
|
|
785
|
+
defaultWorkspaceStorageService,
|
|
621
786
|
createKloksWorkspaceStorageService,
|
|
622
787
|
WorkspaceCreateDialog,
|
|
623
788
|
WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
|
|
624
789
|
workspaceTilesMenuDefinition,
|
|
625
|
-
WorkspaceTilesMenu
|
|
790
|
+
WorkspaceTilesMenu,
|
|
791
|
+
WorkspaceGate
|
|
626
792
|
};
|
|
@@ -27,6 +27,9 @@ interface Props$3 {
|
|
|
27
27
|
isSelectedAccount: boolean;
|
|
28
28
|
onSelectBucket: (account: SrklBackblazeAccount, bucketName: string) => void;
|
|
29
29
|
userId?: string;
|
|
30
|
+
storageService?: {
|
|
31
|
+
listBackblazeBuckets?: (accountId: string, userId: string) => Promise<any[]>;
|
|
32
|
+
};
|
|
30
33
|
}
|
|
31
34
|
declare const SrklBackblazeTile: React__default.FC<Props$3>;
|
|
32
35
|
|
|
@@ -45,8 +48,13 @@ interface Props$2 {
|
|
|
45
48
|
email: string;
|
|
46
49
|
name?: string;
|
|
47
50
|
} | null;
|
|
51
|
+
userId?: string;
|
|
48
52
|
selectedProvider?: string;
|
|
49
53
|
selectedConnectionId?: string;
|
|
54
|
+
storageService?: {
|
|
55
|
+
listBackblazeAccounts?: (userId: string) => Promise<any[]>;
|
|
56
|
+
listBackblazeBuckets?: (accountId: string, userId: string) => Promise<any[]>;
|
|
57
|
+
};
|
|
50
58
|
onSelectStorage: (selection: StorageSelection) => void;
|
|
51
59
|
}
|
|
52
60
|
declare const StorageOptionTiles: React__default.FC<Props$2>;
|
|
@@ -90,8 +98,9 @@ interface BackblazeAccount {
|
|
|
90
98
|
}
|
|
91
99
|
interface WorkspaceStorageService {
|
|
92
100
|
listBackblazeAccounts: (userId: string) => Promise<BackblazeAccount[]>;
|
|
93
|
-
listBackblazeBuckets: (accountId: string, userId
|
|
101
|
+
listBackblazeBuckets: (accountId: string, userId?: string) => Promise<BackblazeBucket[]>;
|
|
94
102
|
}
|
|
103
|
+
declare const defaultWorkspaceStorageService: WorkspaceStorageService;
|
|
95
104
|
interface KloksServiceInvoker {
|
|
96
105
|
invoke: (serviceId: string, operation: string, input: Record<string, unknown>) => Promise<unknown>;
|
|
97
106
|
}
|
|
@@ -99,6 +108,7 @@ declare function createKloksWorkspaceStorageService(invoker: KloksServiceInvoker
|
|
|
99
108
|
interface WorkspaceCreateInput {
|
|
100
109
|
name: string;
|
|
101
110
|
description?: string;
|
|
111
|
+
storage?: Record<string, unknown>;
|
|
102
112
|
storageProvider: 'local_fs' | 'backblaze_b2';
|
|
103
113
|
storageConnectionId?: string;
|
|
104
114
|
localFolderName?: string;
|
|
@@ -108,17 +118,23 @@ interface WorkspaceCreateInput {
|
|
|
108
118
|
}
|
|
109
119
|
interface WorkspaceCreateDialogProps {
|
|
110
120
|
open: boolean;
|
|
111
|
-
userId
|
|
112
|
-
|
|
121
|
+
userId?: string;
|
|
122
|
+
currentUser?: {
|
|
123
|
+
id: string;
|
|
124
|
+
email: string;
|
|
125
|
+
name?: string;
|
|
126
|
+
} | null;
|
|
127
|
+
storageService?: WorkspaceStorageService;
|
|
113
128
|
onClose: () => void;
|
|
114
|
-
onSubmit: (input: WorkspaceCreateInput) => Promise<void
|
|
129
|
+
onSubmit: (input: WorkspaceCreateInput) => Promise<void> | void;
|
|
115
130
|
}
|
|
116
|
-
declare function WorkspaceCreateDialog({ open, userId, storageService, onClose, onSubmit }: WorkspaceCreateDialogProps): React__default.JSX.Element;
|
|
131
|
+
declare function WorkspaceCreateDialog({ open, userId, currentUser, storageService, onClose, onSubmit, }: WorkspaceCreateDialogProps): React__default.JSX.Element;
|
|
117
132
|
|
|
118
133
|
declare const WORKSPACE_TILES_MENU_REQUIRED_SERVICES: readonly ["auth", "workspace", "storage", "srkl"];
|
|
119
134
|
interface WorkspaceRecord {
|
|
120
135
|
id: string;
|
|
121
136
|
title: string;
|
|
137
|
+
name?: string;
|
|
122
138
|
description?: string;
|
|
123
139
|
workspacePath?: string;
|
|
124
140
|
storageProvider?: string;
|
|
@@ -126,20 +142,27 @@ interface WorkspaceRecord {
|
|
|
126
142
|
b2BucketName?: string;
|
|
127
143
|
b2Endpoint?: string;
|
|
128
144
|
b2Region?: string;
|
|
145
|
+
localFolderName?: string;
|
|
129
146
|
metadata?: React__default.ReactNode;
|
|
130
147
|
}
|
|
131
148
|
interface WorkspaceTilesMenuProps {
|
|
132
149
|
workspaces: WorkspaceRecord[];
|
|
133
|
-
userId
|
|
150
|
+
userId?: string;
|
|
151
|
+
currentUser?: {
|
|
152
|
+
id: string;
|
|
153
|
+
email: string;
|
|
154
|
+
name?: string;
|
|
155
|
+
} | null;
|
|
134
156
|
activeWorkspaceId?: string | null;
|
|
135
|
-
|
|
157
|
+
appName?: string;
|
|
158
|
+
storageService?: WorkspaceStorageService;
|
|
136
159
|
onSelectWorkspace: (workspace: WorkspaceRecord) => void;
|
|
137
|
-
onCreateWorkspace: (input: WorkspaceCreateInput) => Promise<void
|
|
160
|
+
onCreateWorkspace: (input: WorkspaceCreateInput | any) => Promise<void> | void;
|
|
138
161
|
onUpdateWorkspace?: (workspaceId: string, patch: {
|
|
139
162
|
name: string;
|
|
140
163
|
description?: string;
|
|
141
|
-
}) => Promise<void
|
|
142
|
-
onDeleteWorkspace?: (workspaceId: string) => Promise<void
|
|
164
|
+
}) => Promise<void> | void;
|
|
165
|
+
onDeleteWorkspace?: (workspaceId: string) => Promise<void> | void;
|
|
143
166
|
onLogout?: () => void;
|
|
144
167
|
loading?: boolean;
|
|
145
168
|
error?: string | null;
|
|
@@ -197,6 +220,34 @@ declare const workspaceTilesMenuDefinition: {
|
|
|
197
220
|
};
|
|
198
221
|
};
|
|
199
222
|
};
|
|
200
|
-
declare function WorkspaceTilesMenu({ workspaces, userId, activeWorkspaceId, storageService, onSelectWorkspace, onCreateWorkspace, onUpdateWorkspace: _onUpdateWorkspace, onDeleteWorkspace: _onDeleteWorkspace, onLogout, loading, error, }: WorkspaceTilesMenuProps): React__default.JSX.Element;
|
|
223
|
+
declare function WorkspaceTilesMenu({ workspaces, userId, currentUser, activeWorkspaceId, appName, storageService, onSelectWorkspace, onCreateWorkspace, onUpdateWorkspace: _onUpdateWorkspace, onDeleteWorkspace: _onDeleteWorkspace, onLogout, loading, error, }: WorkspaceTilesMenuProps): React__default.JSX.Element;
|
|
224
|
+
|
|
225
|
+
interface WorkspaceGateProps {
|
|
226
|
+
workspaces: WorkspaceRecord[] | any[];
|
|
227
|
+
activeWorkspaceId?: string | null;
|
|
228
|
+
userId?: string;
|
|
229
|
+
currentUser?: {
|
|
230
|
+
id: string;
|
|
231
|
+
email: string;
|
|
232
|
+
name?: string;
|
|
233
|
+
role?: string;
|
|
234
|
+
} | null;
|
|
235
|
+
appName?: string;
|
|
236
|
+
appSubtitle?: string;
|
|
237
|
+
storageService?: WorkspaceStorageService;
|
|
238
|
+
onSelectWorkspace: (workspace: WorkspaceRecord) => void;
|
|
239
|
+
onCreateWorkspace?: (input: WorkspaceCreateInput | any) => Promise<void> | void;
|
|
240
|
+
onUpdateWorkspace?: (workspaceId: string, patch: {
|
|
241
|
+
name: string;
|
|
242
|
+
description?: string;
|
|
243
|
+
}) => Promise<void> | void;
|
|
244
|
+
onDeleteWorkspace?: (workspaceId: string) => Promise<void> | void;
|
|
245
|
+
onLogout?: () => void;
|
|
246
|
+
canClose?: boolean;
|
|
247
|
+
onClose?: () => void;
|
|
248
|
+
loading?: boolean;
|
|
249
|
+
error?: string | null;
|
|
250
|
+
}
|
|
251
|
+
declare const WorkspaceGate: React__default.FC<WorkspaceGateProps>;
|
|
201
252
|
|
|
202
|
-
export { type BackblazeAccount, type BackblazeBucket, type KloksServiceInvoker, type SrklBackblazeAccount, SrklBackblazeTile, StorageOptionTiles, StoragePresetTile, type StorageSelection, WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES, WORKSPACE_TILES_MENU_REQUIRED_SERVICES, WorkspaceCreateDialog, type WorkspaceCreateDialogProps, type WorkspaceCreateInput, type WorkspaceRecord, type WorkspaceSecondaryClone, WorkspaceSecondaryClonesPanel, WorkspaceStorageReadonlyPanel, type WorkspaceStorageService, WorkspaceTilesMenu, type WorkspaceTilesMenuProps, createKloksWorkspaceStorageService, workspaceTilesMenuDefinition };
|
|
253
|
+
export { type BackblazeAccount, type BackblazeBucket, type KloksServiceInvoker, type SrklBackblazeAccount, SrklBackblazeTile, StorageOptionTiles, StoragePresetTile, type StorageSelection, WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES, WORKSPACE_TILES_MENU_REQUIRED_SERVICES, WorkspaceCreateDialog, type WorkspaceCreateDialogProps, type WorkspaceCreateInput, WorkspaceGate, type WorkspaceGateProps, type WorkspaceRecord, type WorkspaceSecondaryClone, WorkspaceSecondaryClonesPanel, WorkspaceStorageReadonlyPanel, type WorkspaceStorageService, WorkspaceTilesMenu, type WorkspaceTilesMenuProps, createKloksWorkspaceStorageService, defaultWorkspaceStorageService, workspaceTilesMenuDefinition };
|
|
@@ -5,12 +5,14 @@ import {
|
|
|
5
5
|
WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES,
|
|
6
6
|
WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
|
|
7
7
|
WorkspaceCreateDialog,
|
|
8
|
+
WorkspaceGate,
|
|
8
9
|
WorkspaceSecondaryClonesPanel,
|
|
9
10
|
WorkspaceStorageReadonlyPanel,
|
|
10
11
|
WorkspaceTilesMenu,
|
|
11
12
|
createKloksWorkspaceStorageService,
|
|
13
|
+
defaultWorkspaceStorageService,
|
|
12
14
|
workspaceTilesMenuDefinition
|
|
13
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-QRSVZE4C.js";
|
|
14
16
|
import "../../chunk-PH4NEHWR.js";
|
|
15
17
|
import "../../chunk-X4B3EBMY.js";
|
|
16
18
|
export {
|
|
@@ -20,9 +22,11 @@ export {
|
|
|
20
22
|
WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES,
|
|
21
23
|
WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
|
|
22
24
|
WorkspaceCreateDialog,
|
|
25
|
+
WorkspaceGate,
|
|
23
26
|
WorkspaceSecondaryClonesPanel,
|
|
24
27
|
WorkspaceStorageReadonlyPanel,
|
|
25
28
|
WorkspaceTilesMenu,
|
|
26
29
|
createKloksWorkspaceStorageService,
|
|
30
|
+
defaultWorkspaceStorageService,
|
|
27
31
|
workspaceTilesMenuDefinition
|
|
28
32
|
};
|
|
@@ -10,7 +10,7 @@ export { AccountsSettingsSection, AccountsSettingsSectionProps, SettingsTab, Set
|
|
|
10
10
|
export { AUTH_PAGE_REQUIRED_SERVICES, AuthPage, AuthPageProps, AuthResult, LoginModal, LoginModalProps, authPageDefinition } from './components/auth/index.js';
|
|
11
11
|
export { FrnlTileRecord, TilesMenu, TilesMenuProps, tilesMenuDefinition } from './components/tiles/index.js';
|
|
12
12
|
export { GRAPHS_MENU_REQUIRED_SERVICES, GraphRecord, GraphsMenu, GraphsMenuProps } from './components/graph/index.js';
|
|
13
|
-
export { BackblazeAccount, BackblazeBucket, KloksServiceInvoker, SrklBackblazeAccount, SrklBackblazeTile, StorageOptionTiles, StoragePresetTile, StorageSelection, WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES, WORKSPACE_TILES_MENU_REQUIRED_SERVICES, WorkspaceCreateDialog, WorkspaceCreateDialogProps, WorkspaceCreateInput, WorkspaceRecord, WorkspaceSecondaryClone, WorkspaceSecondaryClonesPanel, WorkspaceStorageReadonlyPanel, WorkspaceStorageService, WorkspaceTilesMenu, WorkspaceTilesMenuProps, createKloksWorkspaceStorageService, workspaceTilesMenuDefinition } from './components/workspace/index.js';
|
|
13
|
+
export { BackblazeAccount, BackblazeBucket, KloksServiceInvoker, SrklBackblazeAccount, SrklBackblazeTile, StorageOptionTiles, StoragePresetTile, StorageSelection, WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES, WORKSPACE_TILES_MENU_REQUIRED_SERVICES, WorkspaceCreateDialog, WorkspaceCreateDialogProps, WorkspaceCreateInput, WorkspaceGate, WorkspaceGateProps, WorkspaceRecord, WorkspaceSecondaryClone, WorkspaceSecondaryClonesPanel, WorkspaceStorageReadonlyPanel, WorkspaceStorageService, WorkspaceTilesMenu, WorkspaceTilesMenuProps, createKloksWorkspaceStorageService, defaultWorkspaceStorageService, workspaceTilesMenuDefinition } from './components/workspace/index.js';
|
|
14
14
|
export { DEFAULT_PALETTE_ID, THEME_STORAGE_KEY, ThemeContextValue, ThemeProvider, ThemeProviderProps, applyPaletteToDocument, getActivePalette, paletteToSkipoThemePack, subscribeToPalette, usePalette, useTheme } from './palette/index.js';
|
|
15
15
|
export { ActionButton, Badge, BadgeProps, BadgeTone, ButtonParent, ButtonParentProps, ButtonProps, ButtonSize, ButtonVariant, CardPanel, CategoryCardTile, ChannelStripTile, ClipCardTile, DangerButton, GhostButton, IconButton, InspectorPanel, ModalPanel, PanelParent, PanelParentProps, PanelProps, PanelVariant, SelectInput, SelectInputProps, SliderInput, SliderInputProps, SpawnOptionTile, SplitButton, SplitButtonProps, StatusDot, StatusDotProps, TelemetryPill, TelemetryPillProps, TextInput, TextInputProps, TileParent, TileParentProps, TileVariant, ToggleButton, ToggleInput, ToggleInputProps, ToolbarPanel, TooltipDirection, UIBaseProps, UIInteractionState, UIParent, UIParentProps, UIProps, UIRole, UISize, UIStyleTokens, UIVariant } from './hierarchy/index.js';
|
|
16
16
|
export { FrnlStoreProvider, FrnlStoreProviderProps, floksFrnlStore, getFloksFrnlStore, useFloksFrnlStore } from './frnl/store.js';
|
|
@@ -52,12 +52,14 @@ import {
|
|
|
52
52
|
WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES,
|
|
53
53
|
WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
|
|
54
54
|
WorkspaceCreateDialog,
|
|
55
|
+
WorkspaceGate,
|
|
55
56
|
WorkspaceSecondaryClonesPanel,
|
|
56
57
|
WorkspaceStorageReadonlyPanel,
|
|
57
58
|
WorkspaceTilesMenu,
|
|
58
59
|
createKloksWorkspaceStorageService,
|
|
60
|
+
defaultWorkspaceStorageService,
|
|
59
61
|
workspaceTilesMenuDefinition
|
|
60
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-QRSVZE4C.js";
|
|
61
63
|
import {
|
|
62
64
|
TilesMenu,
|
|
63
65
|
tilesMenuDefinition
|
|
@@ -168,7 +170,7 @@ import {
|
|
|
168
170
|
AuthPage,
|
|
169
171
|
LoginModal,
|
|
170
172
|
authPageDefinition
|
|
171
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-AF2KAEOA.js";
|
|
172
174
|
import {
|
|
173
175
|
frnlButton,
|
|
174
176
|
frnlButtonDefinition,
|
|
@@ -326,6 +328,7 @@ export {
|
|
|
326
328
|
WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES,
|
|
327
329
|
WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
|
|
328
330
|
WorkspaceCreateDialog,
|
|
331
|
+
WorkspaceGate,
|
|
329
332
|
WorkspaceSecondaryClonesPanel,
|
|
330
333
|
WorkspaceStorageReadonlyPanel,
|
|
331
334
|
WorkspaceTilesMenu,
|
|
@@ -336,6 +339,7 @@ export {
|
|
|
336
339
|
centralLedger,
|
|
337
340
|
createAppThemeSocket,
|
|
338
341
|
createKloksWorkspaceStorageService,
|
|
342
|
+
defaultWorkspaceStorageService,
|
|
339
343
|
depmThemeSocket,
|
|
340
344
|
floksFrnlStore,
|
|
341
345
|
frnlBadge,
|