@ampless/admin 1.0.0-beta.91 → 1.0.0-beta.92
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/api/index.d.ts +1 -1
- package/dist/{chunk-7VF6F2P5.js → chunk-2Y5SRSCZ.js} +4 -4
- package/dist/{chunk-MOXQLS3E.js → chunk-3AQGYUVP.js} +1 -1
- package/dist/{chunk-R5CWAZEY.js → chunk-6275N7HG.js} +1 -1
- package/dist/{chunk-B7DJVPO3.js → chunk-FVGWVH6Q.js} +3 -3
- package/dist/{chunk-4YVI7TI4.js → chunk-FVHQJCH4.js} +2 -2
- package/dist/{chunk-T3UDPN3W.js → chunk-HKMHNEFV.js} +1 -1
- package/dist/{chunk-ZDKVGJ4F.js → chunk-HRCUFIGW.js} +2 -2
- package/dist/{chunk-ZHOVAVUK.js → chunk-IBFNFTJ6.js} +1 -1
- package/dist/{chunk-TSPYGLX3.js → chunk-M5QQJHM7.js} +4 -2
- package/dist/{chunk-2SYDNTEW.js → chunk-OAG4NI7Q.js} +1 -1
- package/dist/{chunk-2ND3UUVK.js → chunk-OPHSYQQV.js} +2 -2
- package/dist/{chunk-YGGBEDUG.js → chunk-QO73C7VC.js} +1 -1
- package/dist/{chunk-CH2BLQD7.js → chunk-TEMSFG34.js} +2 -2
- package/dist/{chunk-6PAJSUMF.js → chunk-TMOFUAU7.js} +1 -1
- package/dist/{chunk-QOUZDIVS.js → chunk-UUZAKCZZ.js} +2 -2
- package/dist/{chunk-CU3CL5DB.js → chunk-VJ5SDYVW.js} +11 -6
- package/dist/{chunk-36MRQN3G.js → chunk-ZDIDJCSU.js} +6 -1
- package/dist/components/account-view.d.ts +2 -1
- package/dist/components/account-view.js +4 -4
- package/dist/components/admin-dashboard.js +3 -3
- package/dist/components/edit-post-view.js +5 -5
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +6 -6
- package/dist/components/login-view.d.ts +3 -1
- package/dist/components/login-view.js +4 -4
- package/dist/components/mcp-tokens-view.js +3 -3
- package/dist/components/media-view.js +5 -5
- package/dist/components/new-post-view.js +5 -5
- package/dist/components/plugin-settings-form.js +3 -3
- package/dist/components/posts-list-view.js +3 -3
- package/dist/components/users-list-view.js +3 -3
- package/dist/{i18n-DiA-HQ9_.d.ts → i18n-CecqYBeP.d.ts} +4 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/index.d.ts +11 -5
- package/dist/pages/index.js +27 -20
- package/package.json +1 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
classifyPasskeyError,
|
|
4
4
|
isWebAuthnSupported,
|
|
5
5
|
signInWithPasskey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZDIDJCSU.js";
|
|
7
7
|
import {
|
|
8
8
|
useT
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IBFNFTJ6.js";
|
|
10
10
|
|
|
11
11
|
// src/components/login-view.tsx
|
|
12
12
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "@ampless/runtime/ui";
|
|
32
32
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
33
33
|
var LAST_EMAIL_KEY = "ampless.lastSignInEmail";
|
|
34
|
-
function LoginPage() {
|
|
34
|
+
function LoginPage({ passkeysEnabled = true }) {
|
|
35
35
|
const router = useRouter();
|
|
36
36
|
const t = useT();
|
|
37
37
|
const [mode, setMode] = useState("signIn");
|
|
@@ -201,7 +201,7 @@ function LoginPage() {
|
|
|
201
201
|
info && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: info }),
|
|
202
202
|
error && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: error }),
|
|
203
203
|
/* @__PURE__ */ jsx(Button, { type: "submit", className: "w-full", disabled: loading, children: loading ? t("auth.common.working") : t(`auth.${mode}.submit`) }),
|
|
204
|
-
mode === "signIn" && passkeySupported && /* @__PURE__ */ jsxs(
|
|
204
|
+
mode === "signIn" && passkeysEnabled && passkeySupported && /* @__PURE__ */ jsxs(
|
|
205
205
|
Button,
|
|
206
206
|
{
|
|
207
207
|
type: "button",
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
} from "./chunk-D72XF3Q3.js";
|
|
8
8
|
import {
|
|
9
9
|
clearAllDrafts
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UUZAKCZZ.js";
|
|
11
11
|
import {
|
|
12
12
|
setAdminCmsConfigClient
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6275N7HG.js";
|
|
14
14
|
import {
|
|
15
15
|
setAdminMediaContext
|
|
16
16
|
} from "./chunk-2ITWLRYF.js";
|
|
17
17
|
import {
|
|
18
18
|
useLocale,
|
|
19
19
|
useT
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IBFNFTJ6.js";
|
|
21
21
|
|
|
22
22
|
// src/lib/amplify-client.ts
|
|
23
23
|
import { Amplify } from "aws-amplify";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
MediaUploader
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TEMSFG34.js";
|
|
5
5
|
import {
|
|
6
6
|
useT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IBFNFTJ6.js";
|
|
8
8
|
|
|
9
9
|
// src/components/media-view.tsx
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
PostForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UUZAKCZZ.js";
|
|
5
5
|
import {
|
|
6
6
|
useT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IBFNFTJ6.js";
|
|
8
8
|
|
|
9
9
|
// src/components/edit-post-view.tsx
|
|
10
10
|
import { useEffect, useState, use } from "react";
|
|
@@ -410,7 +410,8 @@ var en_default = {
|
|
|
410
410
|
delete: "Delete",
|
|
411
411
|
deleteConfirm: "Delete this passkey? You will no longer be able to sign in with it.",
|
|
412
412
|
loadError: "Failed to load passkeys",
|
|
413
|
-
unsupported: "This browser does not support passkeys."
|
|
413
|
+
unsupported: "This browser does not support passkeys.",
|
|
414
|
+
disabled: "Passkeys are disabled for this site."
|
|
414
415
|
}
|
|
415
416
|
}
|
|
416
417
|
};
|
|
@@ -827,7 +828,8 @@ var ja_default = {
|
|
|
827
828
|
delete: "\u524A\u9664",
|
|
828
829
|
deleteConfirm: "\u3053\u306E\u30D1\u30B9\u30AD\u30FC\u3092\u524A\u9664\u3057\u307E\u3059\u304B? \u3053\u306E\u30D1\u30B9\u30AD\u30FC\u3067\u306F\u30B5\u30A4\u30F3\u30A4\u30F3\u3067\u304D\u306A\u304F\u306A\u308A\u307E\u3059\u3002",
|
|
829
830
|
loadError: "\u30D1\u30B9\u30AD\u30FC\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
|
|
830
|
-
unsupported: "\u3053\u306E\u30D6\u30E9\u30A6\u30B6\u306F\u30D1\u30B9\u30AD\u30FC\u306B\u5BFE\u5FDC\u3057\u3066\u3044\u307E\u305B\u3093\u3002"
|
|
831
|
+
unsupported: "\u3053\u306E\u30D6\u30E9\u30A6\u30B6\u306F\u30D1\u30B9\u30AD\u30FC\u306B\u5BFE\u5FDC\u3057\u3066\u3044\u307E\u305B\u3093\u3002",
|
|
832
|
+
disabled: "\u3053\u306E\u30B5\u30A4\u30C8\u3067\u306F\u30D1\u30B9\u30AD\u30FC\u306F\u7121\u52B9\u3067\u3059\u3002"
|
|
831
833
|
}
|
|
832
834
|
}
|
|
833
835
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
PostForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UUZAKCZZ.js";
|
|
5
5
|
import {
|
|
6
6
|
useT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IBFNFTJ6.js";
|
|
8
8
|
|
|
9
9
|
// src/components/new-post-view.tsx
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
ImageUploadDialog,
|
|
4
4
|
createMediaRow,
|
|
5
5
|
getMediaProcessingDefaults
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6275N7HG.js";
|
|
7
7
|
import {
|
|
8
8
|
publicMediaUrl
|
|
9
9
|
} from "./chunk-2ITWLRYF.js";
|
|
10
10
|
import {
|
|
11
11
|
useT
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IBFNFTJ6.js";
|
|
13
13
|
|
|
14
14
|
// src/components/media-uploader.tsx
|
|
15
15
|
import { useState, useEffect, useCallback, useRef } from "react";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getAdminCmsConfig,
|
|
5
5
|
getMediaProcessingDefaults,
|
|
6
6
|
uploadProcessedImage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6275N7HG.js";
|
|
8
8
|
import {
|
|
9
9
|
getAdminEditorExtensions,
|
|
10
10
|
getAdminTiptapNodeHtml,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-2ITWLRYF.js";
|
|
16
16
|
import {
|
|
17
17
|
useT
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IBFNFTJ6.js";
|
|
19
19
|
|
|
20
20
|
// src/components/media-picker.tsx
|
|
21
21
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
isWebAuthnSupported
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZDIDJCSU.js";
|
|
5
5
|
import {
|
|
6
6
|
useT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IBFNFTJ6.js";
|
|
8
8
|
|
|
9
9
|
// src/components/account-view.tsx
|
|
10
10
|
import { useEffect, useState } from "react";
|
|
@@ -67,7 +67,7 @@ function formatDate(iso) {
|
|
|
67
67
|
if (Number.isNaN(d.getTime())) return "";
|
|
68
68
|
return d.toLocaleString();
|
|
69
69
|
}
|
|
70
|
-
function AccountView({ currentUserEmail }) {
|
|
70
|
+
function AccountView({ currentUserEmail, passkeysEnabled }) {
|
|
71
71
|
const t = useT();
|
|
72
72
|
const [supported, setSupported] = useState(false);
|
|
73
73
|
const [supportResolved, setSupportResolved] = useState(false);
|
|
@@ -90,12 +90,17 @@ function AccountView({ currentUserEmail }) {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
useEffect(() => {
|
|
93
|
+
if (!passkeysEnabled) {
|
|
94
|
+
setSupportResolved(true);
|
|
95
|
+
setLoading(false);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
93
98
|
const ok = isWebAuthnSupported();
|
|
94
99
|
setSupported(ok);
|
|
95
100
|
setSupportResolved(true);
|
|
96
101
|
if (ok) void loadPasskeys();
|
|
97
102
|
else setLoading(false);
|
|
98
|
-
}, []);
|
|
103
|
+
}, [passkeysEnabled]);
|
|
99
104
|
async function handleAdd() {
|
|
100
105
|
setAdding(true);
|
|
101
106
|
setAddError(null);
|
|
@@ -127,10 +132,10 @@ function AccountView({ currentUserEmail }) {
|
|
|
127
132
|
/* @__PURE__ */ jsxs("section", { className: "space-y-4 rounded-md border bg-card p-4 md:p-6", children: [
|
|
128
133
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
129
134
|
/* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx("h2", { className: "text-lg font-semibold", children: t("account.passkeys.title") }) }),
|
|
130
|
-
supportResolved && supported && /* @__PURE__ */ jsx(Button, { type: "button", disabled: adding, onClick: () => void handleAdd(), children: adding ? t("account.passkeys.adding") : t("account.passkeys.add") })
|
|
135
|
+
passkeysEnabled && supportResolved && supported && /* @__PURE__ */ jsx(Button, { type: "button", disabled: adding, onClick: () => void handleAdd(), children: adding ? t("account.passkeys.adding") : t("account.passkeys.add") })
|
|
131
136
|
] }),
|
|
132
137
|
addError && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: addError }),
|
|
133
|
-
supportResolved && !supported ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: t("account.passkeys.unsupported") }) : loading ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: t("account.passkeys.loading") }) : loadError ? /* @__PURE__ */ jsxs("p", { className: "text-sm text-destructive", children: [
|
|
138
|
+
!passkeysEnabled ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: t("account.passkeys.disabled") }) : supportResolved && !supported ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: t("account.passkeys.unsupported") }) : loading ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: t("account.passkeys.loading") }) : loadError ? /* @__PURE__ */ jsxs("p", { className: "text-sm text-destructive", children: [
|
|
134
139
|
t("account.passkeys.loadError"),
|
|
135
140
|
": ",
|
|
136
141
|
loadError
|
|
@@ -27,9 +27,14 @@ async function signInWithPasskey(username) {
|
|
|
27
27
|
});
|
|
28
28
|
return interpretPasskeySignInResult(result);
|
|
29
29
|
}
|
|
30
|
+
function isWebAuthnEnabled(outputs) {
|
|
31
|
+
const narrowed = outputs;
|
|
32
|
+
return narrowed.auth?.passwordless?.web_authn != null;
|
|
33
|
+
}
|
|
30
34
|
|
|
31
35
|
export {
|
|
32
36
|
isWebAuthnSupported,
|
|
33
37
|
classifyPasskeyError,
|
|
34
|
-
signInWithPasskey
|
|
38
|
+
signInWithPasskey,
|
|
39
|
+
isWebAuthnEnabled
|
|
35
40
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
|
|
3
|
-
declare function AccountView({ currentUserEmail }: {
|
|
3
|
+
declare function AccountView({ currentUserEmail, passkeysEnabled }: {
|
|
4
4
|
currentUserEmail: string;
|
|
5
|
+
passkeysEnabled: boolean;
|
|
5
6
|
}): react_jsx_runtime.JSX.Element;
|
|
6
7
|
|
|
7
8
|
export { AccountView };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AccountView
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-VJ5SDYVW.js";
|
|
5
|
+
import "../chunk-ZDIDJCSU.js";
|
|
6
|
+
import "../chunk-IBFNFTJ6.js";
|
|
7
|
+
import "../chunk-M5QQJHM7.js";
|
|
8
8
|
export {
|
|
9
9
|
AccountView
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AdminDashboard
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-3AQGYUVP.js";
|
|
5
|
+
import "../chunk-IBFNFTJ6.js";
|
|
6
|
+
import "../chunk-M5QQJHM7.js";
|
|
7
7
|
export {
|
|
8
8
|
AdminDashboard
|
|
9
9
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EditPostPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-HRCUFIGW.js";
|
|
5
|
+
import "../chunk-UUZAKCZZ.js";
|
|
6
|
+
import "../chunk-6275N7HG.js";
|
|
7
7
|
import "../chunk-PCPXAEBG.js";
|
|
8
8
|
import "../chunk-2ITWLRYF.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-IBFNFTJ6.js";
|
|
10
|
+
import "../chunk-M5QQJHM7.js";
|
|
11
11
|
export {
|
|
12
12
|
EditPostPage
|
|
13
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { L as Locale, D as Dictionary } from '../i18n-
|
|
2
|
+
import { L as Locale, D as Dictionary } from '../i18n-CecqYBeP.js';
|
|
3
3
|
import { Config, Post, ThemeManifest, LocalizedString, MediaProcessingDefaults } from 'ampless';
|
|
4
4
|
import { AmplessOutputs, ColorScheme } from '@ampless/runtime';
|
|
5
5
|
import { ProcessOptions } from 'ampless/media';
|
package/dist/components/index.js
CHANGED
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
Sidebar,
|
|
5
5
|
SiteSettingsForm,
|
|
6
6
|
ThemeSettingsForm
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-FVGWVH6Q.js";
|
|
8
8
|
import "../chunk-C7G5AQ3L.js";
|
|
9
9
|
import {
|
|
10
10
|
MediaUploader
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-TEMSFG34.js";
|
|
12
12
|
import {
|
|
13
13
|
invalidateSiteSettingsCache
|
|
14
14
|
} from "../chunk-D72XF3Q3.js";
|
|
15
15
|
import {
|
|
16
16
|
MediaPicker,
|
|
17
17
|
PostForm
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-UUZAKCZZ.js";
|
|
19
19
|
import {
|
|
20
20
|
ImageUploadDialog,
|
|
21
21
|
sanitizeName,
|
|
22
22
|
uploadProcessedImage
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-6275N7HG.js";
|
|
24
24
|
import "../chunk-PCPXAEBG.js";
|
|
25
25
|
import {
|
|
26
26
|
publicMediaUrl,
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
I18nProvider,
|
|
31
31
|
useLocale,
|
|
32
32
|
useT
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-IBFNFTJ6.js";
|
|
34
|
+
import "../chunk-M5QQJHM7.js";
|
|
35
35
|
export {
|
|
36
36
|
AdminProviders,
|
|
37
37
|
I18nProvider,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
LoginPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-2Y5SRSCZ.js";
|
|
5
|
+
import "../chunk-ZDIDJCSU.js";
|
|
6
|
+
import "../chunk-IBFNFTJ6.js";
|
|
7
|
+
import "../chunk-M5QQJHM7.js";
|
|
8
8
|
export {
|
|
9
9
|
LoginPage
|
|
10
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
McpTokensView
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HKMHNEFV.js";
|
|
5
5
|
import "../chunk-C7G5AQ3L.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-IBFNFTJ6.js";
|
|
7
|
+
import "../chunk-M5QQJHM7.js";
|
|
8
8
|
export {
|
|
9
9
|
McpTokensView
|
|
10
10
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
MediaPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-FVHQJCH4.js";
|
|
5
|
+
import "../chunk-TEMSFG34.js";
|
|
6
|
+
import "../chunk-6275N7HG.js";
|
|
7
7
|
import "../chunk-2ITWLRYF.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-IBFNFTJ6.js";
|
|
9
|
+
import "../chunk-M5QQJHM7.js";
|
|
10
10
|
export {
|
|
11
11
|
MediaPage
|
|
12
12
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
NewPostPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-OPHSYQQV.js";
|
|
5
|
+
import "../chunk-UUZAKCZZ.js";
|
|
6
|
+
import "../chunk-6275N7HG.js";
|
|
7
7
|
import "../chunk-PCPXAEBG.js";
|
|
8
8
|
import "../chunk-2ITWLRYF.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-IBFNFTJ6.js";
|
|
10
|
+
import "../chunk-M5QQJHM7.js";
|
|
11
11
|
export {
|
|
12
12
|
NewPostPage
|
|
13
13
|
};
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
PluginSettingsForm,
|
|
4
4
|
renderScalarInput
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-QO73C7VC.js";
|
|
6
6
|
import "../chunk-D72XF3Q3.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-IBFNFTJ6.js";
|
|
8
|
+
import "../chunk-M5QQJHM7.js";
|
|
9
9
|
export {
|
|
10
10
|
PluginSettingsForm,
|
|
11
11
|
renderScalarInput
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
PostsList
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-TMOFUAU7.js";
|
|
5
|
+
import "../chunk-IBFNFTJ6.js";
|
|
6
|
+
import "../chunk-M5QQJHM7.js";
|
|
7
7
|
export {
|
|
8
8
|
PostsList
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
UsersListView
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-OAG4NI7Q.js";
|
|
5
|
+
import "../chunk-IBFNFTJ6.js";
|
|
6
|
+
import "../chunk-M5QQJHM7.js";
|
|
7
7
|
export {
|
|
8
8
|
UsersListView
|
|
9
9
|
};
|
|
@@ -400,7 +400,8 @@ var account = {
|
|
|
400
400
|
"delete": "Delete",
|
|
401
401
|
deleteConfirm: "Delete this passkey? You will no longer be able to sign in with it.",
|
|
402
402
|
loadError: "Failed to load passkeys",
|
|
403
|
-
unsupported: "This browser does not support passkeys."
|
|
403
|
+
unsupported: "This browser does not support passkeys.",
|
|
404
|
+
disabled: "Passkeys are disabled for this site."
|
|
404
405
|
}
|
|
405
406
|
};
|
|
406
407
|
var en = {
|
|
@@ -841,6 +842,7 @@ declare const dictionaries: {
|
|
|
841
842
|
deleteConfirm: string;
|
|
842
843
|
loadError: string;
|
|
843
844
|
unsupported: string;
|
|
845
|
+
disabled: string;
|
|
844
846
|
};
|
|
845
847
|
};
|
|
846
848
|
};
|
|
@@ -1256,6 +1258,7 @@ declare const dictionaries: {
|
|
|
1256
1258
|
deleteConfirm: string;
|
|
1257
1259
|
loadError: string;
|
|
1258
1260
|
unsupported: string;
|
|
1261
|
+
disabled: string;
|
|
1259
1262
|
};
|
|
1260
1263
|
};
|
|
1261
1264
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Config } from 'ampless';
|
|
2
2
|
import { AmplessOutputs, EffectiveSiteSettings, EffectiveThemeConfig, ResolvedMedia, Ampless } from '@ampless/runtime';
|
|
3
|
-
import { L as Locale, D as Dictionary } from './i18n-
|
|
4
|
-
export { A as AdminLocaleStrings, g as getDictionary, r as resolveLocale, t as translate } from './i18n-
|
|
3
|
+
import { L as Locale, D as Dictionary } from './i18n-CecqYBeP.js';
|
|
4
|
+
export { A as AdminLocaleStrings, g as getDictionary, r as resolveLocale, t as translate } from './i18n-CecqYBeP.js';
|
|
5
5
|
import * as _aws_amplify_adapter_nextjs from '@aws-amplify/adapter-nextjs';
|
|
6
6
|
|
|
7
7
|
/**
|