@jskit-ai/workspaces-web 0.1.225 → 0.1.227
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/workspaces-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.227",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test --test-concurrency=1"
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
"./client/composables/useWorkspaceRouteContext": "./src/client/composables/useWorkspaceRouteContext.js"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@jskit-ai/users-core": "0.1.
|
|
18
|
-
"@jskit-ai/workspaces-core": "0.1.
|
|
17
|
+
"@jskit-ai/users-core": "0.1.259",
|
|
18
|
+
"@jskit-ai/workspaces-core": "0.1.224",
|
|
19
19
|
"@mdi/js": "^7.4.47"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@jskit-ai/auth-web": "0.1.
|
|
23
|
-
"@jskit-ai/http-web": "0.1.
|
|
24
|
-
"@jskit-ai/kernel": "0.1.
|
|
25
|
-
"@jskit-ai/shell-web": "0.1.
|
|
26
|
-
"@jskit-ai/users-web": "0.1.
|
|
22
|
+
"@jskit-ai/auth-web": "0.1.248",
|
|
23
|
+
"@jskit-ai/http-web": "0.1.93",
|
|
24
|
+
"@jskit-ai/kernel": "0.1.246",
|
|
25
|
+
"@jskit-ai/shell-web": "0.1.252",
|
|
26
|
+
"@jskit-ai/users-web": "0.1.266",
|
|
27
27
|
"@tanstack/vue-query": "^5.90.5",
|
|
28
28
|
"vue": "^3.5.13",
|
|
29
29
|
"vue-router": "^5.0.4",
|
|
@@ -119,9 +119,7 @@ function workspaceInvitePath(inviteId) {
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
const access = useAccess({
|
|
122
|
-
|
|
123
|
-
enabled: hasRouteWorkspaceSlug,
|
|
124
|
-
placementSource: "workspaces-web.workspace-members-view"
|
|
122
|
+
enabled: hasRouteWorkspaceSlug
|
|
125
123
|
});
|
|
126
124
|
|
|
127
125
|
const matchesWorkspaceRealtime = createWorkspaceRealtimeMatcher(workspaceSlugFromRoute);
|
|
@@ -454,7 +452,7 @@ const loadError = computed(() => {
|
|
|
454
452
|
}
|
|
455
453
|
|
|
456
454
|
return (
|
|
457
|
-
access.
|
|
455
|
+
access.permissionsUnavailableError.value ||
|
|
458
456
|
workspaceSettingsView.loadError ||
|
|
459
457
|
workspaceRolesView.loadError ||
|
|
460
458
|
workspaceMembersList.loadError ||
|
|
@@ -462,7 +460,7 @@ const loadError = computed(() => {
|
|
|
462
460
|
""
|
|
463
461
|
);
|
|
464
462
|
});
|
|
465
|
-
const canRetryLoad = computed(() => Boolean(hasRouteWorkspaceSlug.value && !access.
|
|
463
|
+
const canRetryLoad = computed(() => Boolean(hasRouteWorkspaceSlug.value && !access.permissionsUnavailableError.value));
|
|
466
464
|
const isRetryingLoad = computed(() =>
|
|
467
465
|
Boolean(
|
|
468
466
|
workspaceSettingsView.isFetching ||
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { normalizeLowerText, normalizeText } from "@jskit-ai/kernel/shared/
|
|
1
|
+
import { normalizeLowerText, normalizeText } from "@jskit-ai/kernel/shared/support/normalize";
|
|
2
2
|
import { normalizeRecordId } from "@jskit-ai/kernel/shared/support/normalize";
|
|
3
3
|
|
|
4
4
|
function normalizeWorkspaceSlug(value = "") {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { DEFAULT_GUARD_EVALUATOR_KEY as SHELL_GUARD_EVALUATOR_KEY } from "@jskit-ai/kernel/client";
|
|
2
|
+
|
|
1
3
|
const WORKSPACE_BOOTSTRAP_STATUS_RESOLVED = "resolved";
|
|
2
4
|
const WORKSPACE_BOOTSTRAP_STATUS_NOT_FOUND = "not_found";
|
|
3
5
|
const WORKSPACE_BOOTSTRAP_STATUS_FORBIDDEN = "forbidden";
|
|
4
6
|
const WORKSPACE_BOOTSTRAP_STATUS_UNAUTHENTICATED = "unauthenticated";
|
|
5
7
|
const WORKSPACE_BOOTSTRAP_STATUS_ERROR = "error";
|
|
6
|
-
const SHELL_GUARD_EVALUATOR_KEY = "__JSKIT_WEB_SHELL_GUARD_EVALUATOR__";
|
|
7
8
|
const WORKSPACE_NOT_FOUND_GUARD_REASON = "workspace-not-found";
|
|
8
9
|
const WORKSPACE_FORBIDDEN_GUARD_REASON = "workspace-forbidden";
|
|
9
10
|
|