@ampless/admin 1.0.0-beta.110 → 1.0.0-beta.114
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/api/index.js +2 -3
- package/dist/{chunk-XQAPTM5X.js → chunk-2DB3EDD7.js} +1 -1
- package/dist/{chunk-IMWUSMAA.js → chunk-7UEIAZPY.js} +16 -2
- package/dist/{chunk-L6CFURU6.js → chunk-GNZZ33OH.js} +1 -1
- package/dist/{chunk-DR2HES7B.js → chunk-HEBAGP4Q.js} +288 -146
- package/dist/{chunk-CRHOOLCJ.js → chunk-HNI5IJWI.js} +1 -1
- package/dist/{chunk-TQUMC5HE.js → chunk-JSJ6OFNB.js} +1 -1
- package/dist/{chunk-IYBKPYWB.js → chunk-L3LY5KUM.js} +1 -1
- package/dist/{chunk-MQT2ULYX.js → chunk-LSEBYLVJ.js} +2 -2
- package/dist/{chunk-4X3HTOYV.js → chunk-OT4JJTAW.js} +1 -1
- package/dist/{chunk-N4JBA225.js → chunk-OZ2MSV43.js} +3 -3
- package/dist/{chunk-XQNR5GZE.js → chunk-RAAQWTZ2.js} +6 -5
- package/dist/{chunk-Q2EB5CFY.js → chunk-RP5YCLR4.js} +1 -1
- package/dist/{chunk-TLON56UA.js → chunk-XAEQWVMZ.js} +2 -2
- package/dist/{chunk-LE4INBQU.js → chunk-XDV7HADD.js} +6 -5
- package/dist/{chunk-CRZNBNEF.js → chunk-XGI3Y5KL.js} +1 -1
- package/dist/{chunk-OR6TTYYM.js → chunk-YB2GFJU7.js} +1 -1
- package/dist/components/account-view.js +3 -3
- package/dist/components/admin-dashboard.js +3 -3
- package/dist/components/edit-post-view.d.ts +7 -1
- 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.js +3 -3
- package/dist/components/mcp-tokens-view.js +3 -3
- package/dist/components/media-view.js +5 -5
- package/dist/components/new-post-view.d.ts +7 -1
- 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-CiexA8rJ.d.ts → i18n-Cx6FCYEy.d.ts} +22 -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 +10 -11
- package/dist/pages/index.js +45 -24
- package/dist/table-classes-context-CQvkORm3.d.ts +12 -0
- package/package.json +19 -19
package/dist/api/index.d.ts
CHANGED
package/dist/api/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// src/api/media-proxy.ts
|
|
2
|
-
import { cookies } from "next/headers";
|
|
3
2
|
import { getUrl } from "aws-amplify/storage/server";
|
|
4
3
|
import {
|
|
5
4
|
streamS3Object
|
|
@@ -29,7 +28,7 @@ function createMediaProxyRoute(admin) {
|
|
|
29
28
|
presignedUrlFor: (k) => signMediaUrl({ runWithAmplifyServerContext, key: k })
|
|
30
29
|
};
|
|
31
30
|
return runWithAmplifyServerContext({
|
|
32
|
-
nextServerContext:
|
|
31
|
+
nextServerContext: null,
|
|
33
32
|
operation: (amplifyContext) => streamS3Object(amplifyContext, key, opts)
|
|
34
33
|
});
|
|
35
34
|
}
|
|
@@ -41,7 +40,7 @@ async function signMediaUrl({
|
|
|
41
40
|
}) {
|
|
42
41
|
try {
|
|
43
42
|
return await runWithAmplifyServerContext({
|
|
44
|
-
nextServerContext:
|
|
43
|
+
nextServerContext: null,
|
|
45
44
|
operation: async (amplifyContext) => {
|
|
46
45
|
const result = await getUrl(amplifyContext, {
|
|
47
46
|
path: key,
|
|
@@ -91,6 +91,7 @@ var en_default = {
|
|
|
91
91
|
body: "Body",
|
|
92
92
|
format: "Format",
|
|
93
93
|
formatHint: "Tiptap is the rich editor. Markdown / HTML use a plain textarea.",
|
|
94
|
+
formatLossTableClasses: "Markdown cannot keep table styles. Converting removes these table styles from this post: {classes}. Switching back will not restore them. Convert to Markdown anyway?",
|
|
94
95
|
insertMedia: "Insert media",
|
|
95
96
|
tabEdit: "Edit",
|
|
96
97
|
tabPreview: "Preview",
|
|
@@ -278,7 +279,13 @@ var en_default = {
|
|
|
278
279
|
deleteRow: "Delete row",
|
|
279
280
|
deleteColumn: "Delete column",
|
|
280
281
|
toggleHeaderRow: "Toggle header row",
|
|
281
|
-
deleteTable: "Delete table"
|
|
282
|
+
deleteTable: "Delete table",
|
|
283
|
+
style: "Table style",
|
|
284
|
+
styleDefault: "Default",
|
|
285
|
+
styleUnknown: "{id} (not declared by the active theme)",
|
|
286
|
+
styleUnknownHint: "Kept and still rendered as a class; pick another style or Default to replace it.",
|
|
287
|
+
styleNoneDeclared: "The active theme declares no table styles.",
|
|
288
|
+
titleWithStyle: "Table (style: {style})"
|
|
282
289
|
},
|
|
283
290
|
codeBlock: {
|
|
284
291
|
languageLabel: "Language",
|
|
@@ -517,6 +524,7 @@ var ja_default = {
|
|
|
517
524
|
body: "\u672C\u6587",
|
|
518
525
|
format: "\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8",
|
|
519
526
|
formatHint: "Tiptap \u306F\u30EA\u30C3\u30C1\u30A8\u30C7\u30A3\u30BF\u3002Markdown / HTML \u306F\u30D7\u30EC\u30FC\u30F3\u30C6\u30AD\u30B9\u30C8\u30A8\u30EA\u30A2\u3002",
|
|
527
|
+
formatLossTableClasses: "Markdown \u3067\u306F\u8868\u306E\u30B9\u30BF\u30A4\u30EB\u3092\u4FDD\u6301\u3067\u304D\u307E\u305B\u3093\u3002\u5909\u63DB\u3059\u308B\u3068\u3053\u306E\u8A18\u4E8B\u304B\u3089\u6B21\u306E\u8868\u30B9\u30BF\u30A4\u30EB\u304C\u5931\u308F\u308C\u307E\u3059: {classes}\u3002\u5143\u306E\u5F62\u5F0F\u306B\u623B\u3057\u3066\u3082\u5FA9\u5143\u3055\u308C\u307E\u305B\u3093\u3002Markdown \u306B\u5909\u63DB\u3057\u307E\u3059\u304B\uFF1F",
|
|
520
528
|
insertMedia: "\u30E1\u30C7\u30A3\u30A2\u3092\u633F\u5165",
|
|
521
529
|
tabEdit: "\u7DE8\u96C6",
|
|
522
530
|
tabPreview: "\u30D7\u30EC\u30D3\u30E5\u30FC",
|
|
@@ -704,7 +712,13 @@ var ja_default = {
|
|
|
704
712
|
deleteRow: "\u884C\u3092\u524A\u9664",
|
|
705
713
|
deleteColumn: "\u5217\u3092\u524A\u9664",
|
|
706
714
|
toggleHeaderRow: "\u30D8\u30C3\u30C0\u30FC\u884C\u3092\u5207\u66FF",
|
|
707
|
-
deleteTable: "\u30C6\u30FC\u30D6\u30EB\u3092\u524A\u9664"
|
|
715
|
+
deleteTable: "\u30C6\u30FC\u30D6\u30EB\u3092\u524A\u9664",
|
|
716
|
+
style: "\u8868\u306E\u30B9\u30BF\u30A4\u30EB",
|
|
717
|
+
styleDefault: "\u6A19\u6E96",
|
|
718
|
+
styleUnknown: "{id}\uFF08\u73FE\u5728\u306E\u30C6\u30FC\u30DE\u3067\u672A\u5B9A\u7FA9\uFF09",
|
|
719
|
+
styleUnknownHint: "\u30AF\u30E9\u30B9\u3068\u3057\u3066\u4FDD\u6301\u30FB\u51FA\u529B\u3055\u308C\u307E\u3059\u3002\u5225\u306E\u30B9\u30BF\u30A4\u30EB\u304B\u300C\u6A19\u6E96\u300D\u3092\u9078\u3076\u3068\u7F6E\u304D\u63DB\u308F\u308A\u307E\u3059\u3002",
|
|
720
|
+
styleNoneDeclared: "\u73FE\u5728\u306E\u30C6\u30FC\u30DE\u306F\u8868\u306E\u30B9\u30BF\u30A4\u30EB\u3092\u5B9A\u7FA9\u3057\u3066\u3044\u307E\u305B\u3093\u3002",
|
|
721
|
+
titleWithStyle: "\u30C6\u30FC\u30D6\u30EB\uFF08\u30B9\u30BF\u30A4\u30EB: {style}\uFF09"
|
|
708
722
|
},
|
|
709
723
|
codeBlock: {
|
|
710
724
|
languageLabel: "\u8A00\u8A9E",
|