@aiquants/auth-react-router 0.14.1 → 0.14.2
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/admin.js +1 -1
- package/dist/admin.js.map +1 -1
- package/dist/admin.mjs +1 -1
- package/dist/admin.mjs.map +1 -1
- package/package.json +3 -3
- package/src/admin/views.tsx +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiquants/auth-react-router",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "React Router v7 / v8 auth adapter for @aiquants/auth-core: Google OAuth strategy factory (remix-auth), cookie session storage with DI test backdoor, a loader guard that authenticates at most once per request (token refresh + photo cache), auth route handlers, and a <GoogleForm> login button.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"typescript": "^5.9.3",
|
|
71
71
|
"vitest": "^4.1.8",
|
|
72
72
|
"@aiquants/auth-core": "0.6.0",
|
|
73
|
+
"@aiquants/fuzzy-search": "2.2.0",
|
|
73
74
|
"@aiquants/select-box": "0.9.0",
|
|
74
|
-
"@aiquants/virtualscroll": "3.4.0"
|
|
75
|
-
"@aiquants/fuzzy-search": "2.2.0"
|
|
75
|
+
"@aiquants/virtualscroll": "3.4.0"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"react": ">=18",
|
package/src/admin/views.tsx
CHANGED
|
@@ -1739,7 +1739,16 @@ export function DirectoryView() {
|
|
|
1739
1739
|
</p>
|
|
1740
1740
|
)}
|
|
1741
1741
|
|
|
1742
|
-
{
|
|
1742
|
+
{/* ⚠️ 連携候補が無い理由は 2 つあり、向かわせる先が逆である。グループが 1 つも無いのに
|
|
1743
|
+
「すべて連携済み」と言うと、運用者は存在しない連携済み一覧を探し、真の次の一手
|
|
1744
|
+
(グループタブで作る) に辿り着けない。空集合の意味を先に分ける */}
|
|
1745
|
+
{canLink && data.groups.length === 0 && (
|
|
1746
|
+
<p data-testid="directory-no-groups" style={{ margin: 0, padding: "0.7rem 1rem", borderRadius: "6px", border: "1px solid #e2e8f0", backgroundColor: "#f8fafc", color: "#475569", fontSize: "0.85rem" }}>
|
|
1747
|
+
{L.noGroupsToLink}
|
|
1748
|
+
</p>
|
|
1749
|
+
)}
|
|
1750
|
+
|
|
1751
|
+
{canLink && data.groups.length > 0 && linkable.length === 0 && (
|
|
1743
1752
|
<p data-testid="directory-nothing-to-link" style={{ margin: 0, padding: "0.7rem 1rem", borderRadius: "6px", border: "1px solid #e2e8f0", backgroundColor: "#f8fafc", color: "#475569", fontSize: "0.85rem" }}>
|
|
1744
1753
|
{L.nothingToLink}
|
|
1745
1754
|
</p>
|