@ampless/admin 1.0.0-beta.89 → 1.0.0-beta.91
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-STD3UYXK.js → chunk-2ND3UUVK.js} +2 -2
- package/dist/{chunk-K67HINPW.js → chunk-2SYDNTEW.js} +1 -1
- package/dist/chunk-36MRQN3G.js +35 -0
- package/dist/{chunk-LUONBBOA.js → chunk-4YVI7TI4.js} +2 -2
- package/dist/{chunk-25CIZ4R4.js → chunk-6PAJSUMF.js} +1 -1
- package/dist/{chunk-F4BDO5XD.js → chunk-7VF6F2P5.js} +68 -2
- package/dist/{chunk-OVUT27GX.js → chunk-B7DJVPO3.js} +19 -7
- package/dist/{chunk-DLIP4JOY.js → chunk-CH2BLQD7.js} +2 -2
- package/dist/chunk-CU3CL5DB.js +167 -0
- package/dist/{chunk-OS6QI7VW.js → chunk-MOXQLS3E.js} +1 -1
- package/dist/{chunk-X4V3LAP5.js → chunk-QOUZDIVS.js} +2 -2
- package/dist/{chunk-OLI5JPHI.js → chunk-R5CWAZEY.js} +1 -1
- package/dist/{chunk-VDNJ5KXR.js → chunk-T3UDPN3W.js} +1 -1
- package/dist/{chunk-DIIJWZPF.js → chunk-TSPYGLX3.js} +58 -4
- package/dist/{chunk-T3R5QD5K.js → chunk-YGGBEDUG.js} +1 -1
- package/dist/{chunk-TSHYVPGI.js → chunk-ZDKVGJ4F.js} +2 -2
- package/dist/{chunk-VX5FWOOG.js → chunk-ZHOVAVUK.js} +1 -1
- package/dist/components/account-view.d.ts +7 -0
- package/dist/components/account-view.js +10 -0
- 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 +7 -7
- package/dist/components/login-view.js +4 -3
- 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-BA6o0jvS.d.ts → i18n-DiA-HQ9_.d.ts} +85 -3
- 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 +13 -2
- package/dist/pages/index.js +37 -22
- package/package.json +5 -5
|
@@ -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-MOXQLS3E.js";
|
|
5
|
+
import "../chunk-ZHOVAVUK.js";
|
|
6
|
+
import "../chunk-TSPYGLX3.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-ZDKVGJ4F.js";
|
|
5
|
+
import "../chunk-QOUZDIVS.js";
|
|
6
|
+
import "../chunk-R5CWAZEY.js";
|
|
7
7
|
import "../chunk-PCPXAEBG.js";
|
|
8
8
|
import "../chunk-2ITWLRYF.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-ZHOVAVUK.js";
|
|
10
|
+
import "../chunk-TSPYGLX3.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-DiA-HQ9_.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,34 +4,34 @@ import {
|
|
|
4
4
|
Sidebar,
|
|
5
5
|
SiteSettingsForm,
|
|
6
6
|
ThemeSettingsForm
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-B7DJVPO3.js";
|
|
8
|
+
import "../chunk-C7G5AQ3L.js";
|
|
8
9
|
import {
|
|
9
10
|
MediaUploader
|
|
10
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-CH2BLQD7.js";
|
|
11
12
|
import {
|
|
12
13
|
invalidateSiteSettingsCache
|
|
13
14
|
} from "../chunk-D72XF3Q3.js";
|
|
14
15
|
import {
|
|
15
16
|
MediaPicker,
|
|
16
17
|
PostForm
|
|
17
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-QOUZDIVS.js";
|
|
18
19
|
import {
|
|
19
20
|
ImageUploadDialog,
|
|
20
21
|
sanitizeName,
|
|
21
22
|
uploadProcessedImage
|
|
22
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-R5CWAZEY.js";
|
|
23
24
|
import "../chunk-PCPXAEBG.js";
|
|
24
25
|
import {
|
|
25
26
|
publicMediaUrl,
|
|
26
27
|
setAdminMediaContext
|
|
27
28
|
} from "../chunk-2ITWLRYF.js";
|
|
28
|
-
import "../chunk-C7G5AQ3L.js";
|
|
29
29
|
import {
|
|
30
30
|
I18nProvider,
|
|
31
31
|
useLocale,
|
|
32
32
|
useT
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-ZHOVAVUK.js";
|
|
34
|
+
import "../chunk-TSPYGLX3.js";
|
|
35
35
|
export {
|
|
36
36
|
AdminProviders,
|
|
37
37
|
I18nProvider,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
LoginPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-7VF6F2P5.js";
|
|
5
|
+
import "../chunk-36MRQN3G.js";
|
|
6
|
+
import "../chunk-ZHOVAVUK.js";
|
|
7
|
+
import "../chunk-TSPYGLX3.js";
|
|
7
8
|
export {
|
|
8
9
|
LoginPage
|
|
9
10
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
McpTokensView
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-T3UDPN3W.js";
|
|
5
5
|
import "../chunk-C7G5AQ3L.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-ZHOVAVUK.js";
|
|
7
|
+
import "../chunk-TSPYGLX3.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-4YVI7TI4.js";
|
|
5
|
+
import "../chunk-CH2BLQD7.js";
|
|
6
|
+
import "../chunk-R5CWAZEY.js";
|
|
7
7
|
import "../chunk-2ITWLRYF.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-ZHOVAVUK.js";
|
|
9
|
+
import "../chunk-TSPYGLX3.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-2ND3UUVK.js";
|
|
5
|
+
import "../chunk-QOUZDIVS.js";
|
|
6
|
+
import "../chunk-R5CWAZEY.js";
|
|
7
7
|
import "../chunk-PCPXAEBG.js";
|
|
8
8
|
import "../chunk-2ITWLRYF.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-ZHOVAVUK.js";
|
|
10
|
+
import "../chunk-TSPYGLX3.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-YGGBEDUG.js";
|
|
6
6
|
import "../chunk-D72XF3Q3.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ZHOVAVUK.js";
|
|
8
|
+
import "../chunk-TSPYGLX3.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-6PAJSUMF.js";
|
|
5
|
+
import "../chunk-ZHOVAVUK.js";
|
|
6
|
+
import "../chunk-TSPYGLX3.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-2SYDNTEW.js";
|
|
5
|
+
import "../chunk-ZHOVAVUK.js";
|
|
6
|
+
import "../chunk-TSPYGLX3.js";
|
|
7
7
|
export {
|
|
8
8
|
UsersListView
|
|
9
9
|
};
|
|
@@ -39,7 +39,8 @@ var sidebar = {
|
|
|
39
39
|
signOut: "Sign out",
|
|
40
40
|
site: "Site",
|
|
41
41
|
openMenu: "Open menu",
|
|
42
|
-
closeMenu: "Close menu"
|
|
42
|
+
closeMenu: "Close menu",
|
|
43
|
+
account: "Account"
|
|
43
44
|
};
|
|
44
45
|
var dashboard = {
|
|
45
46
|
title: "Dashboard",
|
|
@@ -291,7 +292,8 @@ var auth = {
|
|
|
291
292
|
description: "Sign in to manage your site.",
|
|
292
293
|
submit: "Sign in",
|
|
293
294
|
forgotPassword: "Forgot password?",
|
|
294
|
-
createAccount: "Create admin account"
|
|
295
|
+
createAccount: "Create admin account",
|
|
296
|
+
passkeyButton: "Sign in with passkey"
|
|
295
297
|
},
|
|
296
298
|
signUp: {
|
|
297
299
|
title: "Create admin account",
|
|
@@ -322,6 +324,14 @@ var auth = {
|
|
|
322
324
|
invalidCredentials: "Invalid email or password.",
|
|
323
325
|
passwordTooShort: "Password must be at least 8 characters.",
|
|
324
326
|
userExists: "An account with this email already exists."
|
|
327
|
+
},
|
|
328
|
+
passkey: {
|
|
329
|
+
emailRequired: "Enter your email first, then sign in with your passkey.",
|
|
330
|
+
noneRegistered: "No passkey is registered for this account yet. Sign in with your password, then add one from the account page.",
|
|
331
|
+
cancelled: "Passkey sign-in was cancelled.",
|
|
332
|
+
unsupported: "This browser does not support passkeys.",
|
|
333
|
+
rpMismatch: "This site isn't configured for passkeys on this domain. Ask the site engineer to set the relyingPartyId in amplify/auth/resource.custom.ts.",
|
|
334
|
+
failed: "Passkey sign-in failed. Try again, or sign in with your password."
|
|
325
335
|
}
|
|
326
336
|
};
|
|
327
337
|
var plugins = {
|
|
@@ -376,6 +386,23 @@ var mcpTokens = {
|
|
|
376
386
|
revoke: "Revoke",
|
|
377
387
|
revokeConfirm: "Revoke this token? This cannot be undone."
|
|
378
388
|
};
|
|
389
|
+
var account = {
|
|
390
|
+
title: "Account",
|
|
391
|
+
passkeys: {
|
|
392
|
+
title: "Passkeys",
|
|
393
|
+
add: "Add passkey",
|
|
394
|
+
adding: "Adding...",
|
|
395
|
+
added: "Passkey added.",
|
|
396
|
+
loading: "Loading passkeys...",
|
|
397
|
+
empty: "No passkeys yet. Add one to sign in with Face ID, Touch ID, or your security key.",
|
|
398
|
+
columnName: "Name",
|
|
399
|
+
columnCreated: "Created",
|
|
400
|
+
"delete": "Delete",
|
|
401
|
+
deleteConfirm: "Delete this passkey? You will no longer be able to sign in with it.",
|
|
402
|
+
loadError: "Failed to load passkeys",
|
|
403
|
+
unsupported: "This browser does not support passkeys."
|
|
404
|
+
}
|
|
405
|
+
};
|
|
379
406
|
var en = {
|
|
380
407
|
common: common,
|
|
381
408
|
sidebar: sidebar,
|
|
@@ -397,7 +424,8 @@ var en = {
|
|
|
397
424
|
tagLabel: "Tag",
|
|
398
425
|
permalink: "Permalink",
|
|
399
426
|
shareOnX: "Share on X"
|
|
400
|
-
}
|
|
427
|
+
},
|
|
428
|
+
account: account
|
|
401
429
|
};
|
|
402
430
|
|
|
403
431
|
declare const dictionaries: {
|
|
@@ -444,6 +472,7 @@ declare const dictionaries: {
|
|
|
444
472
|
site: string;
|
|
445
473
|
openMenu: string;
|
|
446
474
|
closeMenu: string;
|
|
475
|
+
account: string;
|
|
447
476
|
};
|
|
448
477
|
dashboard: {
|
|
449
478
|
title: string;
|
|
@@ -696,6 +725,7 @@ declare const dictionaries: {
|
|
|
696
725
|
submit: string;
|
|
697
726
|
forgotPassword: string;
|
|
698
727
|
createAccount: string;
|
|
728
|
+
passkeyButton: string;
|
|
699
729
|
};
|
|
700
730
|
signUp: {
|
|
701
731
|
title: string;
|
|
@@ -727,6 +757,14 @@ declare const dictionaries: {
|
|
|
727
757
|
passwordTooShort: string;
|
|
728
758
|
userExists: string;
|
|
729
759
|
};
|
|
760
|
+
passkey: {
|
|
761
|
+
emailRequired: string;
|
|
762
|
+
noneRegistered: string;
|
|
763
|
+
cancelled: string;
|
|
764
|
+
unsupported: string;
|
|
765
|
+
rpMismatch: string;
|
|
766
|
+
failed: string;
|
|
767
|
+
};
|
|
730
768
|
};
|
|
731
769
|
plugins: {
|
|
732
770
|
title: string;
|
|
@@ -788,6 +826,23 @@ declare const dictionaries: {
|
|
|
788
826
|
permalink: string;
|
|
789
827
|
shareOnX: string;
|
|
790
828
|
};
|
|
829
|
+
account: {
|
|
830
|
+
title: string;
|
|
831
|
+
passkeys: {
|
|
832
|
+
title: string;
|
|
833
|
+
add: string;
|
|
834
|
+
adding: string;
|
|
835
|
+
added: string;
|
|
836
|
+
loading: string;
|
|
837
|
+
empty: string;
|
|
838
|
+
columnName: string;
|
|
839
|
+
columnCreated: string;
|
|
840
|
+
delete: string;
|
|
841
|
+
deleteConfirm: string;
|
|
842
|
+
loadError: string;
|
|
843
|
+
unsupported: string;
|
|
844
|
+
};
|
|
845
|
+
};
|
|
791
846
|
};
|
|
792
847
|
readonly ja: {
|
|
793
848
|
common: {
|
|
@@ -832,6 +887,7 @@ declare const dictionaries: {
|
|
|
832
887
|
site: string;
|
|
833
888
|
openMenu: string;
|
|
834
889
|
closeMenu: string;
|
|
890
|
+
account: string;
|
|
835
891
|
};
|
|
836
892
|
dashboard: {
|
|
837
893
|
title: string;
|
|
@@ -1084,6 +1140,7 @@ declare const dictionaries: {
|
|
|
1084
1140
|
submit: string;
|
|
1085
1141
|
forgotPassword: string;
|
|
1086
1142
|
createAccount: string;
|
|
1143
|
+
passkeyButton: string;
|
|
1087
1144
|
};
|
|
1088
1145
|
signUp: {
|
|
1089
1146
|
title: string;
|
|
@@ -1115,6 +1172,14 @@ declare const dictionaries: {
|
|
|
1115
1172
|
passwordTooShort: string;
|
|
1116
1173
|
userExists: string;
|
|
1117
1174
|
};
|
|
1175
|
+
passkey: {
|
|
1176
|
+
emailRequired: string;
|
|
1177
|
+
noneRegistered: string;
|
|
1178
|
+
cancelled: string;
|
|
1179
|
+
unsupported: string;
|
|
1180
|
+
rpMismatch: string;
|
|
1181
|
+
failed: string;
|
|
1182
|
+
};
|
|
1118
1183
|
};
|
|
1119
1184
|
plugins: {
|
|
1120
1185
|
title: string;
|
|
@@ -1176,6 +1241,23 @@ declare const dictionaries: {
|
|
|
1176
1241
|
permalink: string;
|
|
1177
1242
|
shareOnX: string;
|
|
1178
1243
|
};
|
|
1244
|
+
account: {
|
|
1245
|
+
title: string;
|
|
1246
|
+
passkeys: {
|
|
1247
|
+
title: string;
|
|
1248
|
+
add: string;
|
|
1249
|
+
adding: string;
|
|
1250
|
+
added: string;
|
|
1251
|
+
loading: string;
|
|
1252
|
+
empty: string;
|
|
1253
|
+
columnName: string;
|
|
1254
|
+
columnCreated: string;
|
|
1255
|
+
delete: string;
|
|
1256
|
+
deleteConfirm: string;
|
|
1257
|
+
loadError: string;
|
|
1258
|
+
unsupported: string;
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1179
1261
|
};
|
|
1180
1262
|
};
|
|
1181
1263
|
type Locale = keyof typeof dictionaries;
|
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-DiA-HQ9_.js';
|
|
4
|
+
export { A as AdminLocaleStrings, g as getDictionary, r as resolveLocale, t as translate } from './i18n-DiA-HQ9_.js';
|
|
5
5
|
import * as _aws_amplify_adapter_nextjs from '@aws-amplify/adapter-nextjs';
|
|
6
6
|
|
|
7
7
|
/**
|