@ampless/admin 0.2.0-alpha.12 → 0.2.0-alpha.13
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-BFZODSUT.js → chunk-3E7CZV6A.js} +1 -1
- package/dist/{chunk-UOU7KQLR.js → chunk-42LEQGGJ.js} +1 -1
- package/dist/{chunk-BYLCQYEQ.js → chunk-6ELFL53G.js} +2 -2
- package/dist/{chunk-5OIPGVGG.js → chunk-76C6OJZU.js} +1 -1
- package/dist/{chunk-7IJDOT2K.js → chunk-C6XF22TC.js} +2 -2
- package/dist/{chunk-XXJDT6FF.js → chunk-HP4GCYKQ.js} +1 -1
- package/dist/{chunk-OFHKZNZS.js → chunk-MXOT7KNC.js} +1 -1
- package/dist/{chunk-XZQRPXKN.js → chunk-NZPV2O4C.js} +2 -2
- package/dist/{chunk-QVUTNQZH.js → chunk-OWYT37GC.js} +2 -2
- package/dist/{chunk-OPQ3SAZJ.js → chunk-QQ2LE36O.js} +16 -2
- package/dist/{chunk-XHWECTED.js → chunk-RVMHG4KN.js} +42 -3
- package/dist/{chunk-4YEBIBFG.js → chunk-XXY2GVLV.js} +1 -1
- package/dist/{chunk-GDQC5X46.js → chunk-Y376EYEF.js} +2 -2
- package/dist/components/admin-dashboard.js +3 -3
- package/dist/components/edit-post-view.js +5 -5
- package/dist/components/index.d.ts +9 -3
- package/dist/components/index.js +6 -6
- package/dist/components/login-view.js +3 -3
- package/dist/components/media-view.js +5 -5
- package/dist/components/new-post-view.js +5 -5
- package/dist/components/posts-list-view.js +3 -3
- package/dist/components/users-list-view.js +3 -3
- package/dist/{i18n-DzXXcIQQ.d.ts → i18n-OurZuBHX.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 +1 -1
- package/dist/pages/index.js +15 -14
- package/package.json +2 -2
package/dist/api/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
MediaUploader
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Y376EYEF.js";
|
|
5
5
|
import {
|
|
6
6
|
useT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MXOT7KNC.js";
|
|
8
8
|
|
|
9
9
|
// src/components/media-view.tsx
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
ImageUploadDialog,
|
|
7
7
|
getMediaProcessingDefaults
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HP4GCYKQ.js";
|
|
9
9
|
import {
|
|
10
10
|
publicMediaUrl
|
|
11
11
|
} from "./chunk-2ITWLRYF.js";
|
|
12
12
|
import {
|
|
13
13
|
useT
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MXOT7KNC.js";
|
|
15
15
|
|
|
16
16
|
// src/lib/upload.ts
|
|
17
17
|
import { uploadData } from "aws-amplify/storage";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
PostForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-C6XF22TC.js";
|
|
5
5
|
import {
|
|
6
6
|
readAdminSiteIdFromCookie
|
|
7
7
|
} from "./chunk-TZWSXAHD.js";
|
|
8
8
|
import {
|
|
9
9
|
useT
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MXOT7KNC.js";
|
|
11
11
|
|
|
12
12
|
// src/components/edit-post-view.tsx
|
|
13
13
|
import { useEffect, useState, use } from "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
PostForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-C6XF22TC.js";
|
|
5
5
|
import {
|
|
6
6
|
useT
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MXOT7KNC.js";
|
|
8
8
|
|
|
9
9
|
// src/components/new-post-view.tsx
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -200,7 +200,14 @@ var en_default = {
|
|
|
200
200
|
customizationHeading: "{theme} customization",
|
|
201
201
|
customizationHint: "Empty input resets to the manifest default.",
|
|
202
202
|
lengthHelp: "CSS length, e.g. 0.5rem, 4px.",
|
|
203
|
-
imagePlaceholder: "https://\u2026 or /media/\u2026"
|
|
203
|
+
imagePlaceholder: "https://\u2026 or /media/\u2026",
|
|
204
|
+
colorScheme: {
|
|
205
|
+
label: "Color scheme",
|
|
206
|
+
hint: "How the public site picks between the theme's light and dark token palettes.",
|
|
207
|
+
auto: "Auto (follow visitor's system)",
|
|
208
|
+
light: "Light only",
|
|
209
|
+
dark: "Dark only"
|
|
210
|
+
}
|
|
204
211
|
},
|
|
205
212
|
editor: {
|
|
206
213
|
linkPrompt: "URL",
|
|
@@ -471,7 +478,14 @@ var ja_default = {
|
|
|
471
478
|
customizationHeading: "{theme}\u306E\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",
|
|
472
479
|
customizationHint: "\u7A7A\u6B04\u306B\u3059\u308B\u3068\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u306B\u623B\u308A\u307E\u3059\u3002",
|
|
473
480
|
lengthHelp: "CSS\u306E\u9577\u3055\u3002\u4F8B: 0.5rem, 4px\u3002",
|
|
474
|
-
imagePlaceholder: "https://\u2026 \u307E\u305F\u306F /media/\u2026"
|
|
481
|
+
imagePlaceholder: "https://\u2026 \u307E\u305F\u306F /media/\u2026",
|
|
482
|
+
colorScheme: {
|
|
483
|
+
label: "\u30AB\u30E9\u30FC\u30B9\u30AD\u30FC\u30E0",
|
|
484
|
+
hint: "\u516C\u958B\u30B5\u30A4\u30C8\u3067\u30C6\u30FC\u30DE\u306E\u30E9\u30A4\u30C8/\u30C0\u30FC\u30AF\u4E21\u30D1\u30EC\u30C3\u30C8\u306E\u3069\u3061\u3089\u3092\u4F7F\u3046\u304B\u306E\u9078\u629E\u3002",
|
|
485
|
+
auto: "\u81EA\u52D5 (\u95B2\u89A7\u8005\u306EOS\u8A2D\u5B9A\u306B\u8FFD\u5F93)",
|
|
486
|
+
light: "\u30E9\u30A4\u30C8\u56FA\u5B9A",
|
|
487
|
+
dark: "\u30C0\u30FC\u30AF\u56FA\u5B9A"
|
|
488
|
+
}
|
|
475
489
|
},
|
|
476
490
|
editor: {
|
|
477
491
|
linkPrompt: "URL",
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
} from "./chunk-7IR4F7GA.js";
|
|
11
11
|
import {
|
|
12
12
|
setAdminCmsConfigClient
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HP4GCYKQ.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-MXOT7KNC.js";
|
|
21
21
|
|
|
22
22
|
// src/lib/amplify-client.ts
|
|
23
23
|
import { Amplify } from "aws-amplify";
|
|
@@ -653,6 +653,11 @@ import {
|
|
|
653
653
|
parseLinkList,
|
|
654
654
|
stringifyLinkList
|
|
655
655
|
} from "ampless";
|
|
656
|
+
import {
|
|
657
|
+
COLOR_SCHEME_SETTING_KEY,
|
|
658
|
+
DEFAULT_COLOR_SCHEME,
|
|
659
|
+
validateColorScheme
|
|
660
|
+
} from "@ampless/runtime";
|
|
656
661
|
import { Button as Button3, Input as Input2, Label as Label2 } from "@ampless/runtime/ui";
|
|
657
662
|
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
658
663
|
var CACHE_REBUILD_DELAY_MS = 8e3;
|
|
@@ -661,7 +666,8 @@ function ThemeSettingsForm({
|
|
|
661
666
|
manifest,
|
|
662
667
|
activeTheme,
|
|
663
668
|
themeOptions,
|
|
664
|
-
initial
|
|
669
|
+
initial,
|
|
670
|
+
initialColorScheme
|
|
665
671
|
}) {
|
|
666
672
|
const router = useRouter3();
|
|
667
673
|
const t = useT();
|
|
@@ -674,6 +680,10 @@ function ThemeSettingsForm({
|
|
|
674
680
|
const [error, setError] = useState3(null);
|
|
675
681
|
const [info, setInfo] = useState3(null);
|
|
676
682
|
const [invalid, setInvalid] = useState3({});
|
|
683
|
+
const [colorScheme, setColorScheme] = useState3(
|
|
684
|
+
initialColorScheme ?? DEFAULT_COLOR_SCHEME
|
|
685
|
+
);
|
|
686
|
+
const [colorSchemeTouched, setColorSchemeTouched] = useState3(false);
|
|
677
687
|
function update(key, value) {
|
|
678
688
|
setState((prev) => ({
|
|
679
689
|
values: { ...prev.values, [key]: value },
|
|
@@ -740,6 +750,13 @@ function ThemeSettingsForm({
|
|
|
740
750
|
}
|
|
741
751
|
writes.push(setSiteSetting2(siteId, storeKey, validated));
|
|
742
752
|
}
|
|
753
|
+
if (colorSchemeTouched) {
|
|
754
|
+
if (colorScheme === DEFAULT_COLOR_SCHEME) {
|
|
755
|
+
writes.push(deleteSiteSetting(siteId, COLOR_SCHEME_SETTING_KEY));
|
|
756
|
+
} else {
|
|
757
|
+
writes.push(setSiteSetting2(siteId, COLOR_SCHEME_SETTING_KEY, colorScheme));
|
|
758
|
+
}
|
|
759
|
+
}
|
|
743
760
|
if (Object.keys(newInvalid).length > 0) {
|
|
744
761
|
setInvalid(newInvalid);
|
|
745
762
|
setSaving(false);
|
|
@@ -750,6 +767,7 @@ function ThemeSettingsForm({
|
|
|
750
767
|
await Promise.all(writes);
|
|
751
768
|
setInfo(t("theme.saved"));
|
|
752
769
|
setState((prev) => ({ values: prev.values, touched: {} }));
|
|
770
|
+
setColorSchemeTouched(false);
|
|
753
771
|
scheduleCacheInvalidation();
|
|
754
772
|
} catch (err) {
|
|
755
773
|
console.error("[theme] save failed", err);
|
|
@@ -818,6 +836,27 @@ function ThemeSettingsForm({
|
|
|
818
836
|
manifest.description && /* @__PURE__ */ jsx5("p", { className: "text-sm text-muted-foreground", children: resolveLocalized(manifest.description, locale) }),
|
|
819
837
|
/* @__PURE__ */ jsx5("p", { className: "mt-1 text-xs text-muted-foreground", children: t("theme.customizationHint") })
|
|
820
838
|
] }),
|
|
839
|
+
/* @__PURE__ */ jsxs4("fieldset", { className: "space-y-2", children: [
|
|
840
|
+
/* @__PURE__ */ jsx5(Label2, { htmlFor: "color-scheme", className: "text-sm font-medium", children: t("theme.colorScheme.label") }),
|
|
841
|
+
/* @__PURE__ */ jsxs4(
|
|
842
|
+
"select",
|
|
843
|
+
{
|
|
844
|
+
id: "color-scheme",
|
|
845
|
+
className: "w-full rounded-md border bg-background px-2 py-1.5 text-sm",
|
|
846
|
+
value: colorScheme,
|
|
847
|
+
onChange: (e) => {
|
|
848
|
+
setColorScheme(validateColorScheme(e.target.value));
|
|
849
|
+
setColorSchemeTouched(true);
|
|
850
|
+
},
|
|
851
|
+
children: [
|
|
852
|
+
/* @__PURE__ */ jsx5("option", { value: "auto", children: t("theme.colorScheme.auto") }),
|
|
853
|
+
/* @__PURE__ */ jsx5("option", { value: "light", children: t("theme.colorScheme.light") }),
|
|
854
|
+
/* @__PURE__ */ jsx5("option", { value: "dark", children: t("theme.colorScheme.dark") })
|
|
855
|
+
]
|
|
856
|
+
}
|
|
857
|
+
),
|
|
858
|
+
/* @__PURE__ */ jsx5("p", { className: "text-xs text-muted-foreground", children: t("theme.colorScheme.hint") })
|
|
859
|
+
] }),
|
|
821
860
|
groups.map(({ key, name, fields }) => /* @__PURE__ */ jsxs4("fieldset", { className: "space-y-4", children: [
|
|
822
861
|
/* @__PURE__ */ jsx5("legend", { className: "text-sm font-medium uppercase tracking-wide text-muted-foreground", children: resolveLocalized(name, locale) }),
|
|
823
862
|
fields.map((field) => /* @__PURE__ */ jsx5(
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ImageUploadDialog,
|
|
4
4
|
getMediaProcessingDefaults
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HP4GCYKQ.js";
|
|
6
6
|
import {
|
|
7
7
|
publicMediaUrl
|
|
8
8
|
} from "./chunk-2ITWLRYF.js";
|
|
9
9
|
import {
|
|
10
10
|
useT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MXOT7KNC.js";
|
|
12
12
|
|
|
13
13
|
// src/components/media-uploader.tsx
|
|
14
14
|
import { useState, useEffect, useCallback, useRef } from "react";
|
|
@@ -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-XXY2GVLV.js";
|
|
5
|
+
import "../chunk-MXOT7KNC.js";
|
|
6
|
+
import "../chunk-QQ2LE36O.js";
|
|
7
7
|
export {
|
|
8
8
|
AdminDashboard
|
|
9
9
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EditPostPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-NZPV2O4C.js";
|
|
5
|
+
import "../chunk-C6XF22TC.js";
|
|
6
6
|
import "../chunk-TZWSXAHD.js";
|
|
7
7
|
import "../chunk-7IR4F7GA.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-HP4GCYKQ.js";
|
|
9
9
|
import "../chunk-2ITWLRYF.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-MXOT7KNC.js";
|
|
11
|
+
import "../chunk-QQ2LE36O.js";
|
|
12
12
|
export {
|
|
13
13
|
EditPostPage
|
|
14
14
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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-OurZuBHX.js';
|
|
3
3
|
import { Config, Post, ThemeManifest, LocalizedString, MediaProcessingDefaults } from 'ampless';
|
|
4
|
-
import { AmplessOutputs } from '@ampless/runtime';
|
|
4
|
+
import { AmplessOutputs, ColorScheme } from '@ampless/runtime';
|
|
5
5
|
import { ProcessOptions } from 'ampless/media';
|
|
6
6
|
export { invalidateSiteSettingsCache } from '../lib/theme-actions.js';
|
|
7
7
|
|
|
@@ -159,8 +159,14 @@ interface Props {
|
|
|
159
159
|
themeOptions: ThemeOption[];
|
|
160
160
|
/** Resolved values currently shown to the user (overrides ?? defaults). */
|
|
161
161
|
initial: Record<string, string>;
|
|
162
|
+
/**
|
|
163
|
+
* Per-site color-scheme override loaded from the runtime. Independent
|
|
164
|
+
* of the manifest (it's a site-wide concern, not theme-specific).
|
|
165
|
+
* Defaults to `'auto'` when not provided.
|
|
166
|
+
*/
|
|
167
|
+
initialColorScheme?: ColorScheme;
|
|
162
168
|
}
|
|
163
|
-
declare function ThemeSettingsForm({ siteId, manifest, activeTheme, themeOptions, initial, }: Props): react_jsx_runtime.JSX.Element;
|
|
169
|
+
declare function ThemeSettingsForm({ siteId, manifest, activeTheme, themeOptions, initial, initialColorScheme, }: Props): react_jsx_runtime.JSX.Element;
|
|
164
170
|
|
|
165
171
|
declare function MediaUploader(): react_jsx_runtime.JSX.Element;
|
|
166
172
|
|
package/dist/components/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
SiteSelector,
|
|
6
6
|
SiteSettingsForm,
|
|
7
7
|
ThemeSettingsForm
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-RVMHG4KN.js";
|
|
9
9
|
import {
|
|
10
10
|
invalidateSiteSettingsCache
|
|
11
11
|
} from "../chunk-VXEVLHGL.js";
|
|
12
12
|
import {
|
|
13
13
|
MediaUploader
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-Y376EYEF.js";
|
|
15
15
|
import {
|
|
16
16
|
MediaPicker,
|
|
17
17
|
PostForm,
|
|
18
18
|
sanitizeName,
|
|
19
19
|
uploadProcessedImage
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-C6XF22TC.js";
|
|
21
21
|
import {
|
|
22
22
|
readAdminSiteIdFromCookie,
|
|
23
23
|
setAdminCmsConfig
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "../chunk-7IR4F7GA.js";
|
|
28
28
|
import {
|
|
29
29
|
ImageUploadDialog
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-HP4GCYKQ.js";
|
|
31
31
|
import {
|
|
32
32
|
publicMediaUrl,
|
|
33
33
|
setAdminMediaContext
|
|
@@ -36,8 +36,8 @@ import {
|
|
|
36
36
|
I18nProvider,
|
|
37
37
|
useLocale,
|
|
38
38
|
useT
|
|
39
|
-
} from "../chunk-
|
|
40
|
-
import "../chunk-
|
|
39
|
+
} from "../chunk-MXOT7KNC.js";
|
|
40
|
+
import "../chunk-QQ2LE36O.js";
|
|
41
41
|
export {
|
|
42
42
|
ADMIN_SITE_COOKIE,
|
|
43
43
|
AdminProviders,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
LoginPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-76C6OJZU.js";
|
|
5
|
+
import "../chunk-MXOT7KNC.js";
|
|
6
|
+
import "../chunk-QQ2LE36O.js";
|
|
7
7
|
export {
|
|
8
8
|
LoginPage
|
|
9
9
|
};
|
|
@@ -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-6ELFL53G.js";
|
|
5
|
+
import "../chunk-Y376EYEF.js";
|
|
6
|
+
import "../chunk-HP4GCYKQ.js";
|
|
7
7
|
import "../chunk-2ITWLRYF.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-MXOT7KNC.js";
|
|
9
|
+
import "../chunk-QQ2LE36O.js";
|
|
10
10
|
export {
|
|
11
11
|
MediaPage
|
|
12
12
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
NewPostPage
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-OWYT37GC.js";
|
|
5
|
+
import "../chunk-C6XF22TC.js";
|
|
6
6
|
import "../chunk-TZWSXAHD.js";
|
|
7
7
|
import "../chunk-7IR4F7GA.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-HP4GCYKQ.js";
|
|
9
9
|
import "../chunk-2ITWLRYF.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-MXOT7KNC.js";
|
|
11
|
+
import "../chunk-QQ2LE36O.js";
|
|
12
12
|
export {
|
|
13
13
|
NewPostPage
|
|
14
14
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
PostsList
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-3E7CZV6A.js";
|
|
5
5
|
import "../chunk-TZWSXAHD.js";
|
|
6
6
|
import "../chunk-7IR4F7GA.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-MXOT7KNC.js";
|
|
8
|
+
import "../chunk-QQ2LE36O.js";
|
|
9
9
|
export {
|
|
10
10
|
PostsList
|
|
11
11
|
};
|
|
@@ -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-42LEQGGJ.js";
|
|
5
|
+
import "../chunk-MXOT7KNC.js";
|
|
6
|
+
import "../chunk-QQ2LE36O.js";
|
|
7
7
|
export {
|
|
8
8
|
UsersListView
|
|
9
9
|
};
|
|
@@ -198,7 +198,14 @@ var theme = {
|
|
|
198
198
|
customizationHeading: "{theme} customization",
|
|
199
199
|
customizationHint: "Empty input resets to the manifest default.",
|
|
200
200
|
lengthHelp: "CSS length, e.g. 0.5rem, 4px.",
|
|
201
|
-
imagePlaceholder: "https://… or /media/…"
|
|
201
|
+
imagePlaceholder: "https://… or /media/…",
|
|
202
|
+
colorScheme: {
|
|
203
|
+
label: "Color scheme",
|
|
204
|
+
hint: "How the public site picks between the theme's light and dark token palettes.",
|
|
205
|
+
auto: "Auto (follow visitor's system)",
|
|
206
|
+
light: "Light only",
|
|
207
|
+
dark: "Dark only"
|
|
208
|
+
}
|
|
202
209
|
};
|
|
203
210
|
var editor = {
|
|
204
211
|
linkPrompt: "URL",
|
|
@@ -482,6 +489,13 @@ declare const dictionaries: {
|
|
|
482
489
|
customizationHint: string;
|
|
483
490
|
lengthHelp: string;
|
|
484
491
|
imagePlaceholder: string;
|
|
492
|
+
colorScheme: {
|
|
493
|
+
label: string;
|
|
494
|
+
hint: string;
|
|
495
|
+
auto: string;
|
|
496
|
+
light: string;
|
|
497
|
+
dark: string;
|
|
498
|
+
};
|
|
485
499
|
};
|
|
486
500
|
editor: {
|
|
487
501
|
linkPrompt: string;
|
|
@@ -751,6 +765,13 @@ declare const dictionaries: {
|
|
|
751
765
|
customizationHint: string;
|
|
752
766
|
lengthHelp: string;
|
|
753
767
|
imagePlaceholder: string;
|
|
768
|
+
colorScheme: {
|
|
769
|
+
label: string;
|
|
770
|
+
hint: string;
|
|
771
|
+
auto: string;
|
|
772
|
+
light: string;
|
|
773
|
+
dark: string;
|
|
774
|
+
};
|
|
754
775
|
};
|
|
755
776
|
editor: {
|
|
756
777
|
linkPrompt: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Config } from 'ampless';
|
|
2
2
|
import { AmplessOutputs, EffectiveSiteSettings, EffectiveThemeConfig, 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-OurZuBHX.js';
|
|
4
|
+
export { A as AdminLocaleStrings, g as getDictionary, r as resolveLocale, t as translate } from './i18n-OurZuBHX.js';
|
|
5
5
|
import * as _aws_amplify_adapter_nextjs from '@aws-amplify/adapter-nextjs';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/index.js
CHANGED
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/locales/en.json":{"bytes":9501,"imports":[]},"src/locales/ja.json":{"bytes":11939,"imports":[]},"src/lib/i18n.ts":{"bytes":2935,"imports":[{"path":"src/locales/en.json","kind":"import-statement","original":"../locales/en.json"},{"path":"src/locales/ja.json","kind":"import-statement","original":"../locales/ja.json"}],"format":"esm"},"src/lib/media.ts":{"bytes":3109,"imports":[],"format":"esm"},"src/lib/admin-site-cookie.ts":{"bytes":420,"imports":[],"format":"esm"},"src/lib/admin-site.ts":{"bytes":1353,"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/lib/admin-site-cookie.ts","kind":"import-statement","original":"./admin-site-cookie.js"}],"format":"esm"},"src/lib/amplify-server.ts":{"bytes":593,"imports":[{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true}],"format":"esm"},"src/lib/auth-server.ts":{"bytes":1678,"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":6334,"imports":[{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"./lib/media.js"},{"path":"src/lib/admin-site.ts","kind":"import-statement","original":"./lib/admin-site.js"},{"path":"src/lib/amplify-server.ts","kind":"import-statement","original":"./lib/amplify-server.js"},{"path":"src/lib/auth-server.ts","kind":"import-statement","original":"./lib/auth-server.js"},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"}],"format":"esm"},"src/api/media-proxy.ts":{"bytes":2196,"imports":[{"path":"next/server","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true}],"format":"esm"},"src/api/index.ts":{"bytes":562,"imports":[{"path":"src/api/media-proxy.ts","kind":"import-statement","original":"./media-proxy.js"}],"format":"esm"},"src/components/i18n-provider.tsx":{"bytes":1526,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"../lib/i18n.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/admin-dashboard.tsx":{"bytes":2256,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/admin-site-client.ts":{"bytes":1745,"imports":[{"path":"ampless","kind":"import-statement","external":true},{"path":"src/lib/admin-site-cookie.ts","kind":"import-statement","original":"./admin-site-cookie.js"},{"path":"src/lib/admin-site-cookie.ts","kind":"import-statement","original":"./admin-site-cookie.js"}],"format":"esm"},"src/lib/upload.ts":{"bytes":1490,"imports":[{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"./media.js"}],"format":"esm"},"src/components/image-upload-dialog.tsx":{"bytes":14701,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/admin-config-client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/components/media-picker.tsx":{"bytes":5261,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/toolbar.tsx":{"bytes":3072,"imports":[{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"../components/media-picker.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/image-bubble-menu.tsx":{"bytes":2716,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/tiptap-editor.tsx":{"bytes":2323,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"src/editor/toolbar.tsx","kind":"import-statement","original":"./toolbar.js"},{"path":"src/editor/image-bubble-menu.tsx","kind":"import-statement","original":"./image-bubble-menu.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/static-bundle.ts":{"bytes":12989,"imports":[{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true}],"format":"esm"},"src/components/static-uploader.tsx":{"bytes":8959,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/post-form.tsx":{"bytes":19879,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/editor/tiptap-editor.tsx","kind":"import-statement","original":"../editor/tiptap-editor.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/static-uploader.tsx","kind":"import-statement","original":"./static-uploader.js"},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/edit-post-view.tsx":{"bytes":1190,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/amplify-client.ts":{"bytes":612,"imports":[{"path":"aws-amplify","kind":"import-statement","external":true}],"format":"esm"},"src/lib/posts-provider.ts":{"bytes":12504,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/kv-provider.ts":{"bytes":4538,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/components/admin-providers.tsx":{"bytes":1777,"imports":[{"path":"src/lib/amplify-client.ts","kind":"import-statement","original":"../lib/amplify-client.js"},{"path":"src/lib/posts-provider.ts","kind":"import-statement","original":"../lib/posts-provider.js"},{"path":"src/lib/kv-provider.ts","kind":"import-statement","original":"../lib/kv-provider.js"},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/theme-actions.ts":{"bytes":858,"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"format":"esm"},"src/components/sidebar.tsx":{"bytes":5411,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/site-selector.tsx":{"bytes":1324,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/site-settings-form.tsx":{"bytes":6542,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/theme-settings-form.tsx":{"bytes":21046,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-uploader.tsx":{"bytes":10866,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/index.ts":{"bytes":1841,"imports":[{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"./admin-providers.js"},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"./sidebar.js"},{"path":"src/components/site-selector.tsx","kind":"import-statement","original":"./site-selector.js"},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"./site-settings-form.js"},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"./theme-settings-form.js"},{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"}],"format":"esm"},"src/components/login-view.tsx":{"bytes":7062,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-view.tsx":{"bytes":351,"imports":[{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/new-post-view.tsx":{"bytes":346,"imports":[{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/posts-list-view.tsx":{"bytes":3331,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/users-list-view.tsx":{"bytes":7042,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/admin-layout.tsx":{"bytes":2699,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"../components/sidebar.js"},{"path":"src/components/site-selector.tsx","kind":"import-statement","original":"../components/site-selector.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"../components/admin-providers.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/dashboard.tsx":{"bytes":448,"imports":[{"path":"src/components/admin-dashboard.tsx","kind":"import-statement","original":"../components/admin-dashboard.js"}],"format":"esm"},"src/pages/posts-list.tsx":{"bytes":382,"imports":[{"path":"src/components/posts-list-view.tsx","kind":"import-statement","original":"../components/posts-list-view.js"}],"format":"esm"},"src/pages/post-new.tsx":{"bytes":385,"imports":[{"path":"src/components/new-post-view.tsx","kind":"import-statement","original":"../components/new-post-view.js"}],"format":"esm"},"src/pages/post-edit.tsx":{"bytes":390,"imports":[{"path":"src/components/edit-post-view.tsx","kind":"import-statement","original":"../components/edit-post-view.js"}],"format":"esm"},"src/pages/media.tsx":{"bytes":381,"imports":[{"path":"src/components/media-view.tsx","kind":"import-statement","original":"../components/media-view.js"}],"format":"esm"},"src/pages/sites-list.tsx":{"bytes":2742,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/site-edit.tsx":{"bytes":2441,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"../components/site-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/site-theme.tsx":{"bytes":2246,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"../components/theme-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/users-list.tsx":{"bytes":647,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/users-list-view.tsx","kind":"import-statement","original":"../components/users-list-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/login.tsx":{"bytes":400,"imports":[{"path":"src/components/login-view.tsx","kind":"import-statement","original":"../components/login-view.js"}],"format":"esm"},"src/pages/index.ts":{"bytes":1392,"imports":[{"path":"src/pages/admin-layout.tsx","kind":"import-statement","original":"./admin-layout.js"},{"path":"src/pages/dashboard.tsx","kind":"import-statement","original":"./dashboard.js"},{"path":"src/pages/posts-list.tsx","kind":"import-statement","original":"./posts-list.js"},{"path":"src/pages/post-new.tsx","kind":"import-statement","original":"./post-new.js"},{"path":"src/pages/post-edit.tsx","kind":"import-statement","original":"./post-edit.js"},{"path":"src/pages/media.tsx","kind":"import-statement","original":"./media.js"},{"path":"src/pages/sites-list.tsx","kind":"import-statement","original":"./sites-list.js"},{"path":"src/pages/site-edit.tsx","kind":"import-statement","original":"./site-edit.js"},{"path":"src/pages/site-theme.tsx","kind":"import-statement","original":"./site-theme.js"},{"path":"src/pages/users-list.tsx","kind":"import-statement","original":"./users-list.js"},{"path":"src/pages/login.tsx","kind":"import-statement","original":"./login.js"}],"format":"esm"}},"outputs":{"dist/components/posts-list-view.js":{"imports":[{"path":"dist/chunk-BFZODSUT.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"}],"exports":["PostsList"],"entryPoint":"src/components/posts-list-view.tsx","inputs":{},"bytes":214},"dist/components/users-list-view.js":{"imports":[{"path":"dist/chunk-UOU7KQLR.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"}],"exports":["UsersListView"],"entryPoint":"src/components/users-list-view.tsx","inputs":{},"bytes":160},"dist/lib/theme-actions.js":{"imports":[{"path":"dist/chunk-VXEVLHGL.js","kind":"import-statement"}],"exports":["invalidateSiteSettingsCache"],"entryPoint":"src/lib/theme-actions.ts","inputs":{},"bytes":126},"dist/pages/index.js":{"imports":[{"path":"dist/chunk-BFZODSUT.js","kind":"import-statement"},{"path":"dist/chunk-UOU7KQLR.js","kind":"import-statement"},{"path":"dist/chunk-4YEBIBFG.js","kind":"import-statement"},{"path":"dist/chunk-XZQRPXKN.js","kind":"import-statement"},{"path":"dist/chunk-XHWECTED.js","kind":"import-statement"},{"path":"dist/chunk-VXEVLHGL.js","kind":"import-statement"},{"path":"dist/chunk-5OIPGVGG.js","kind":"import-statement"},{"path":"dist/chunk-BYLCQYEQ.js","kind":"import-statement"},{"path":"dist/chunk-GDQC5X46.js","kind":"import-statement"},{"path":"dist/chunk-QVUTNQZH.js","kind":"import-statement"},{"path":"dist/chunk-7IJDOT2K.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-XXJDT6FF.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["createAdminDashboardPage","createAdminLayout","createEditPostPage","createLoginPage","createMediaPage","createNewPostPage","createPostsListPage","createSiteEditPage","createSiteThemePage","createSitesListPage","createUsersListPage"],"entryPoint":"src/pages/index.ts","inputs":{"src/pages/admin-layout.tsx":{"bytesInOutput":1373},"src/pages/index.ts":{"bytesInOutput":0},"src/pages/dashboard.tsx":{"bytesInOutput":71},"src/pages/posts-list.tsx":{"bytesInOutput":61},"src/pages/post-new.tsx":{"bytesInOutput":61},"src/pages/post-edit.tsx":{"bytesInOutput":63},"src/pages/media.tsx":{"bytesInOutput":57},"src/pages/sites-list.tsx":{"bytesInOutput":2701},"src/pages/site-edit.tsx":{"bytesInOutput":2341},"src/pages/site-theme.tsx":{"bytesInOutput":1782},"src/pages/users-list.tsx":{"bytesInOutput":404},"src/pages/login.tsx":{"bytesInOutput":57}},"bytes":10338},"dist/chunk-BFZODSUT.js":{"imports":[{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PostsList"],"inputs":{"src/components/posts-list-view.tsx":{"bytesInOutput":3277}},"bytes":3454},"dist/chunk-UOU7KQLR.js":{"imports":[{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["UsersListView"],"inputs":{"src/components/users-list-view.tsx":{"bytesInOutput":5995}},"bytes":6109},"dist/index.js":{"imports":[{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"},{"path":"next/headers","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"exports":["createAdmin","getDictionary","resolveLocale","translate"],"entryPoint":"src/index.ts","inputs":{"src/lib/admin-site.ts":{"bytesInOutput":732},"src/lib/amplify-server.ts":{"bytesInOutput":164},"src/lib/auth-server.ts":{"bytesInOutput":1165},"src/index.ts":{"bytesInOutput":1664}},"bytes":4095},"dist/api/index.js":{"imports":[{"path":"next/server","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true}],"exports":["createMediaProxyRoute"],"entryPoint":"src/api/index.ts","inputs":{"src/api/media-proxy.ts":{"bytesInOutput":1318},"src/api/index.ts":{"bytesInOutput":0}},"bytes":1380},"dist/components/admin-dashboard.js":{"imports":[{"path":"dist/chunk-4YEBIBFG.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"}],"exports":["AdminDashboard"],"entryPoint":"src/components/admin-dashboard.tsx","inputs":{},"bytes":162},"dist/chunk-4YEBIBFG.js":{"imports":[{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminDashboard"],"inputs":{"src/components/admin-dashboard.tsx":{"bytesInOutput":2444}},"bytes":2559},"dist/components/edit-post-view.js":{"imports":[{"path":"dist/chunk-XZQRPXKN.js","kind":"import-statement"},{"path":"dist/chunk-7IJDOT2K.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-XXJDT6FF.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"}],"exports":["EditPostPage"],"entryPoint":"src/components/edit-post-view.tsx","inputs":{},"bytes":313},"dist/chunk-XZQRPXKN.js":{"imports":[{"path":"dist/chunk-7IJDOT2K.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["EditPostPage"],"inputs":{"src/components/edit-post-view.tsx":{"bytesInOutput":1084}},"bytes":1313},"dist/components/index.js":{"imports":[{"path":"dist/chunk-XHWECTED.js","kind":"import-statement"},{"path":"dist/chunk-VXEVLHGL.js","kind":"import-statement"},{"path":"dist/chunk-GDQC5X46.js","kind":"import-statement"},{"path":"dist/chunk-7IJDOT2K.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-XXJDT6FF.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"}],"exports":["ADMIN_SITE_COOKIE","AdminProviders","I18nProvider","ImageUploadDialog","MediaPicker","MediaUploader","PostForm","Sidebar","SiteSelector","SiteSettingsForm","ThemeSettingsForm","invalidateSiteSettingsCache","publicMediaUrl","readAdminSiteIdFromCookie","sanitizeName","setAdminCmsConfig","setAdminMediaContext","uploadProcessedImage","useLocale","useT"],"entryPoint":"src/components/index.ts","inputs":{"src/components/index.ts":{"bytesInOutput":0}},"bytes":1137},"dist/chunk-XHWECTED.js":{"imports":[{"path":"dist/chunk-VXEVLHGL.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-XXJDT6FF.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"aws-amplify","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminProviders","Sidebar","SiteSelector","SiteSettingsForm","ThemeSettingsForm"],"inputs":{"src/lib/amplify-client.ts":{"bytesInOutput":194},"src/lib/posts-provider.ts":{"bytesInOutput":7000},"src/lib/kv-provider.ts":{"bytesInOutput":2282},"src/components/admin-providers.tsx":{"bytesInOutput":369},"src/components/sidebar.tsx":{"bytesInOutput":5385},"src/components/site-selector.tsx":{"bytesInOutput":950},"src/components/site-settings-form.tsx":{"bytesInOutput":6930},"src/components/theme-settings-form.tsx":{"bytesInOutput":16747}},"bytes":40607},"dist/chunk-VXEVLHGL.js":{"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"exports":["invalidateSiteSettingsCache"],"inputs":{"src/lib/theme-actions.ts":{"bytesInOutput":135}},"bytes":206},"dist/components/login-view.js":{"imports":[{"path":"dist/chunk-5OIPGVGG.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"}],"exports":["LoginPage"],"entryPoint":"src/components/login-view.tsx","inputs":{},"bytes":152},"dist/chunk-5OIPGVGG.js":{"imports":[{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["LoginPage"],"inputs":{"src/components/login-view.tsx":{"bytesInOutput":6967}},"bytes":7072},"dist/components/media-view.js":{"imports":[{"path":"dist/chunk-BYLCQYEQ.js","kind":"import-statement"},{"path":"dist/chunk-GDQC5X46.js","kind":"import-statement"},{"path":"dist/chunk-XXJDT6FF.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"}],"exports":["MediaPage"],"entryPoint":"src/components/media-view.tsx","inputs":{},"bytes":245},"dist/chunk-BYLCQYEQ.js":{"imports":[{"path":"dist/chunk-GDQC5X46.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPage"],"inputs":{"src/components/media-view.tsx":{"bytesInOutput":358}},"bytes":518},"dist/chunk-GDQC5X46.js":{"imports":[{"path":"dist/chunk-XXJDT6FF.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaUploader"],"inputs":{"src/components/media-uploader.tsx":{"bytesInOutput":8980}},"bytes":9238},"dist/components/new-post-view.js":{"imports":[{"path":"dist/chunk-QVUTNQZH.js","kind":"import-statement"},{"path":"dist/chunk-7IJDOT2K.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-XXJDT6FF.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"}],"exports":["NewPostPage"],"entryPoint":"src/components/new-post-view.tsx","inputs":{},"bytes":311},"dist/chunk-QVUTNQZH.js":{"imports":[{"path":"dist/chunk-7IJDOT2K.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["NewPostPage"],"inputs":{"src/components/new-post-view.tsx":{"bytesInOutput":363}},"bytes":523},"dist/chunk-7IJDOT2K.js":{"imports":[{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-XXJDT6FF.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPicker","PostForm","sanitizeName","uploadProcessedImage"],"inputs":{"src/lib/upload.ts":{"bytesInOutput":807},"src/components/media-picker.tsx":{"bytesInOutput":4988},"src/components/post-form.tsx":{"bytesInOutput":17036},"src/editor/tiptap-editor.tsx":{"bytesInOutput":1547},"src/editor/toolbar.tsx":{"bytesInOutput":3038},"src/editor/image-bubble-menu.tsx":{"bytesInOutput":2901},"src/components/static-uploader.tsx":{"bytesInOutput":7717},"src/lib/static-bundle.ts":{"bytesInOutput":7192}},"bytes":45924},"dist/chunk-TZWSXAHD.js":{"imports":[{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"ampless","kind":"import-statement","external":true}],"exports":["readAdminSiteIdFromCookie","setAdminCmsConfig"],"inputs":{"src/lib/admin-site-client.ts":{"bytesInOutput":642}},"bytes":796},"dist/chunk-7IR4F7GA.js":{"imports":[],"exports":["ADMIN_SITE_COOKIE"],"inputs":{"src/lib/admin-site-cookie.ts":{"bytesInOutput":41}},"bytes":106},"dist/chunk-XXJDT6FF.js":{"imports":[{"path":"dist/chunk-OFHKZNZS.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["ImageUploadDialog","getMediaProcessingDefaults","setAdminCmsConfigClient"],"inputs":{"src/components/image-upload-dialog.tsx":{"bytesInOutput":12823},"src/lib/admin-config-client.ts":{"bytesInOutput":170}},"bytes":13207},"dist/chunk-2ITWLRYF.js":{"imports":[],"exports":["createMedia","publicMediaUrl","setAdminMediaContext"],"inputs":{"src/lib/media.ts":{"bytesInOutput":1326}},"bytes":1415},"dist/chunk-OFHKZNZS.js":{"imports":[{"path":"dist/chunk-OPQ3SAZJ.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["I18nProvider","useLocale","useT"],"inputs":{"src/components/i18n-provider.tsx":{"bytesInOutput":785}},"bytes":922},"dist/chunk-OPQ3SAZJ.js":{"imports":[],"exports":["getDictionary","resolveLocale","translate"],"inputs":{"src/locales/en.json":{"bytesInOutput":9080},"src/locales/ja.json":{"bytesInOutput":17571},"src/lib/i18n.ts":{"bytesInOutput":1146}},"bytes":27923}}}
|
|
1
|
+
{"inputs":{"src/locales/en.json":{"bytes":9757,"imports":[]},"src/locales/ja.json":{"bytes":12247,"imports":[]},"src/lib/i18n.ts":{"bytes":2935,"imports":[{"path":"src/locales/en.json","kind":"import-statement","original":"../locales/en.json"},{"path":"src/locales/ja.json","kind":"import-statement","original":"../locales/ja.json"}],"format":"esm"},"src/lib/media.ts":{"bytes":3109,"imports":[],"format":"esm"},"src/lib/admin-site-cookie.ts":{"bytes":420,"imports":[],"format":"esm"},"src/lib/admin-site.ts":{"bytes":1353,"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/lib/admin-site-cookie.ts","kind":"import-statement","original":"./admin-site-cookie.js"}],"format":"esm"},"src/lib/amplify-server.ts":{"bytes":593,"imports":[{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true}],"format":"esm"},"src/lib/auth-server.ts":{"bytes":1678,"imports":[{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":6334,"imports":[{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"./lib/media.js"},{"path":"src/lib/admin-site.ts","kind":"import-statement","original":"./lib/admin-site.js"},{"path":"src/lib/amplify-server.ts","kind":"import-statement","original":"./lib/amplify-server.js"},{"path":"src/lib/auth-server.ts","kind":"import-statement","original":"./lib/auth-server.js"},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"./lib/i18n.js"}],"format":"esm"},"src/api/media-proxy.ts":{"bytes":2196,"imports":[{"path":"next/server","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true}],"format":"esm"},"src/api/index.ts":{"bytes":562,"imports":[{"path":"src/api/media-proxy.ts","kind":"import-statement","original":"./media-proxy.js"}],"format":"esm"},"src/components/i18n-provider.tsx":{"bytes":1526,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/lib/i18n.ts","kind":"import-statement","original":"../lib/i18n.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/admin-dashboard.tsx":{"bytes":2256,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/admin-site-client.ts":{"bytes":1745,"imports":[{"path":"ampless","kind":"import-statement","external":true},{"path":"src/lib/admin-site-cookie.ts","kind":"import-statement","original":"./admin-site-cookie.js"},{"path":"src/lib/admin-site-cookie.ts","kind":"import-statement","original":"./admin-site-cookie.js"}],"format":"esm"},"src/lib/upload.ts":{"bytes":1490,"imports":[{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"./media.js"}],"format":"esm"},"src/components/image-upload-dialog.tsx":{"bytes":14701,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/admin-config-client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/components/media-picker.tsx":{"bytes":5261,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/toolbar.tsx":{"bytes":3072,"imports":[{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"../components/media-picker.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/image-bubble-menu.tsx":{"bytes":2716,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/editor/tiptap-editor.tsx":{"bytes":2323,"imports":[{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"src/editor/toolbar.tsx","kind":"import-statement","original":"./toolbar.js"},{"path":"src/editor/image-bubble-menu.tsx","kind":"import-statement","original":"./image-bubble-menu.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/static-bundle.ts":{"bytes":12989,"imports":[{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true}],"format":"esm"},"src/components/static-uploader.tsx":{"bytes":8959,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/post-form.tsx":{"bytes":19879,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/editor/tiptap-editor.tsx","kind":"import-statement","original":"../editor/tiptap-editor.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/static-uploader.tsx","kind":"import-statement","original":"./static-uploader.js"},{"path":"src/lib/static-bundle.ts","kind":"import-statement","original":"../lib/static-bundle.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/edit-post-view.tsx":{"bytes":1190,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/amplify-client.ts":{"bytes":612,"imports":[{"path":"aws-amplify","kind":"import-statement","external":true}],"format":"esm"},"src/lib/posts-provider.ts":{"bytes":12504,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/lib/kv-provider.ts":{"bytes":4538,"imports":[{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true}],"format":"esm"},"src/components/admin-providers.tsx":{"bytes":1777,"imports":[{"path":"src/lib/amplify-client.ts","kind":"import-statement","original":"../lib/amplify-client.js"},{"path":"src/lib/posts-provider.ts","kind":"import-statement","original":"../lib/posts-provider.js"},{"path":"src/lib/kv-provider.ts","kind":"import-statement","original":"../lib/kv-provider.js"},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/lib/theme-actions.ts":{"bytes":858,"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"format":"esm"},"src/components/sidebar.tsx":{"bytes":5411,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/site-selector.tsx":{"bytes":1324,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/site-settings-form.tsx":{"bytes":6542,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/theme-settings-form.tsx":{"bytes":23240,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-uploader.tsx":{"bytes":10866,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/admin-config-client.ts","kind":"import-statement","original":"../lib/admin-config-client.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/index.ts":{"bytes":1841,"imports":[{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"./admin-providers.js"},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"src/lib/media.ts","kind":"import-statement","original":"../lib/media.js"},{"path":"src/lib/upload.ts","kind":"import-statement","original":"../lib/upload.js"},{"path":"src/lib/theme-actions.ts","kind":"import-statement","original":"../lib/theme-actions.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"./sidebar.js"},{"path":"src/components/site-selector.tsx","kind":"import-statement","original":"./site-selector.js"},{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"./site-settings-form.js"},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"./theme-settings-form.js"},{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/media-picker.tsx","kind":"import-statement","original":"./media-picker.js"},{"path":"src/components/image-upload-dialog.tsx","kind":"import-statement","original":"./image-upload-dialog.js"}],"format":"esm"},"src/components/login-view.tsx":{"bytes":7062,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/media-view.tsx":{"bytes":351,"imports":[{"path":"src/components/media-uploader.tsx","kind":"import-statement","original":"./media-uploader.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/new-post-view.tsx":{"bytes":346,"imports":[{"path":"src/components/post-form.tsx","kind":"import-statement","original":"./post-form.js"},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/posts-list-view.tsx":{"bytes":3331,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/lib/admin-site-client.ts","kind":"import-statement","original":"../lib/admin-site-client.js"},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/components/users-list-view.tsx":{"bytes":7042,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"./i18n-provider.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/admin-layout.tsx":{"bytes":2699,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/i18n-provider.tsx","kind":"import-statement","original":"../components/i18n-provider.js"},{"path":"src/components/sidebar.tsx","kind":"import-statement","original":"../components/sidebar.js"},{"path":"src/components/site-selector.tsx","kind":"import-statement","original":"../components/site-selector.js"},{"path":"src/components/admin-providers.tsx","kind":"import-statement","original":"../components/admin-providers.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/dashboard.tsx":{"bytes":448,"imports":[{"path":"src/components/admin-dashboard.tsx","kind":"import-statement","original":"../components/admin-dashboard.js"}],"format":"esm"},"src/pages/posts-list.tsx":{"bytes":382,"imports":[{"path":"src/components/posts-list-view.tsx","kind":"import-statement","original":"../components/posts-list-view.js"}],"format":"esm"},"src/pages/post-new.tsx":{"bytes":385,"imports":[{"path":"src/components/new-post-view.tsx","kind":"import-statement","original":"../components/new-post-view.js"}],"format":"esm"},"src/pages/post-edit.tsx":{"bytes":390,"imports":[{"path":"src/components/edit-post-view.tsx","kind":"import-statement","original":"../components/edit-post-view.js"}],"format":"esm"},"src/pages/media.tsx":{"bytes":381,"imports":[{"path":"src/components/media-view.tsx","kind":"import-statement","original":"../components/media-view.js"}],"format":"esm"},"src/pages/sites-list.tsx":{"bytes":2742,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/site-edit.tsx":{"bytes":2441,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/site-settings-form.tsx","kind":"import-statement","original":"../components/site-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/site-theme.tsx":{"bytes":2295,"imports":[{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"src/components/theme-settings-form.tsx","kind":"import-statement","original":"../components/theme-settings-form.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/users-list.tsx":{"bytes":647,"imports":[{"path":"next/navigation","kind":"import-statement","external":true},{"path":"src/components/users-list-view.tsx","kind":"import-statement","original":"../components/users-list-view.js"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/pages/login.tsx":{"bytes":400,"imports":[{"path":"src/components/login-view.tsx","kind":"import-statement","original":"../components/login-view.js"}],"format":"esm"},"src/pages/index.ts":{"bytes":1392,"imports":[{"path":"src/pages/admin-layout.tsx","kind":"import-statement","original":"./admin-layout.js"},{"path":"src/pages/dashboard.tsx","kind":"import-statement","original":"./dashboard.js"},{"path":"src/pages/posts-list.tsx","kind":"import-statement","original":"./posts-list.js"},{"path":"src/pages/post-new.tsx","kind":"import-statement","original":"./post-new.js"},{"path":"src/pages/post-edit.tsx","kind":"import-statement","original":"./post-edit.js"},{"path":"src/pages/media.tsx","kind":"import-statement","original":"./media.js"},{"path":"src/pages/sites-list.tsx","kind":"import-statement","original":"./sites-list.js"},{"path":"src/pages/site-edit.tsx","kind":"import-statement","original":"./site-edit.js"},{"path":"src/pages/site-theme.tsx","kind":"import-statement","original":"./site-theme.js"},{"path":"src/pages/users-list.tsx","kind":"import-statement","original":"./users-list.js"},{"path":"src/pages/login.tsx","kind":"import-statement","original":"./login.js"}],"format":"esm"}},"outputs":{"dist/components/posts-list-view.js":{"imports":[{"path":"dist/chunk-3E7CZV6A.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"}],"exports":["PostsList"],"entryPoint":"src/components/posts-list-view.tsx","inputs":{},"bytes":214},"dist/components/users-list-view.js":{"imports":[{"path":"dist/chunk-42LEQGGJ.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"}],"exports":["UsersListView"],"entryPoint":"src/components/users-list-view.tsx","inputs":{},"bytes":160},"dist/lib/theme-actions.js":{"imports":[{"path":"dist/chunk-VXEVLHGL.js","kind":"import-statement"}],"exports":["invalidateSiteSettingsCache"],"entryPoint":"src/lib/theme-actions.ts","inputs":{},"bytes":126},"dist/pages/index.js":{"imports":[{"path":"dist/chunk-3E7CZV6A.js","kind":"import-statement"},{"path":"dist/chunk-42LEQGGJ.js","kind":"import-statement"},{"path":"dist/chunk-XXY2GVLV.js","kind":"import-statement"},{"path":"dist/chunk-NZPV2O4C.js","kind":"import-statement"},{"path":"dist/chunk-RVMHG4KN.js","kind":"import-statement"},{"path":"dist/chunk-VXEVLHGL.js","kind":"import-statement"},{"path":"dist/chunk-76C6OJZU.js","kind":"import-statement"},{"path":"dist/chunk-6ELFL53G.js","kind":"import-statement"},{"path":"dist/chunk-Y376EYEF.js","kind":"import-statement"},{"path":"dist/chunk-OWYT37GC.js","kind":"import-statement"},{"path":"dist/chunk-C6XF22TC.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-HP4GCYKQ.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["createAdminDashboardPage","createAdminLayout","createEditPostPage","createLoginPage","createMediaPage","createNewPostPage","createPostsListPage","createSiteEditPage","createSiteThemePage","createSitesListPage","createUsersListPage"],"entryPoint":"src/pages/index.ts","inputs":{"src/pages/admin-layout.tsx":{"bytesInOutput":1373},"src/pages/index.ts":{"bytesInOutput":0},"src/pages/dashboard.tsx":{"bytesInOutput":71},"src/pages/posts-list.tsx":{"bytesInOutput":61},"src/pages/post-new.tsx":{"bytesInOutput":61},"src/pages/post-edit.tsx":{"bytesInOutput":63},"src/pages/media.tsx":{"bytesInOutput":57},"src/pages/sites-list.tsx":{"bytesInOutput":2701},"src/pages/site-edit.tsx":{"bytesInOutput":2341},"src/pages/site-theme.tsx":{"bytesInOutput":1831},"src/pages/users-list.tsx":{"bytesInOutput":404},"src/pages/login.tsx":{"bytesInOutput":57}},"bytes":10387},"dist/chunk-3E7CZV6A.js":{"imports":[{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["PostsList"],"inputs":{"src/components/posts-list-view.tsx":{"bytesInOutput":3277}},"bytes":3454},"dist/chunk-42LEQGGJ.js":{"imports":[{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["UsersListView"],"inputs":{"src/components/users-list-view.tsx":{"bytesInOutput":5995}},"bytes":6109},"dist/index.js":{"imports":[{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"},{"path":"next/headers","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@aws-amplify/adapter-nextjs","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/auth/server","kind":"import-statement","external":true}],"exports":["createAdmin","getDictionary","resolveLocale","translate"],"entryPoint":"src/index.ts","inputs":{"src/lib/admin-site.ts":{"bytesInOutput":732},"src/lib/amplify-server.ts":{"bytesInOutput":164},"src/lib/auth-server.ts":{"bytesInOutput":1165},"src/index.ts":{"bytesInOutput":1664}},"bytes":4095},"dist/api/index.js":{"imports":[{"path":"next/server","kind":"import-statement","external":true},{"path":"next/headers","kind":"import-statement","external":true},{"path":"aws-amplify/storage/server","kind":"import-statement","external":true}],"exports":["createMediaProxyRoute"],"entryPoint":"src/api/index.ts","inputs":{"src/api/media-proxy.ts":{"bytesInOutput":1318},"src/api/index.ts":{"bytesInOutput":0}},"bytes":1380},"dist/components/admin-dashboard.js":{"imports":[{"path":"dist/chunk-XXY2GVLV.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"}],"exports":["AdminDashboard"],"entryPoint":"src/components/admin-dashboard.tsx","inputs":{},"bytes":162},"dist/chunk-XXY2GVLV.js":{"imports":[{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminDashboard"],"inputs":{"src/components/admin-dashboard.tsx":{"bytesInOutput":2444}},"bytes":2559},"dist/components/edit-post-view.js":{"imports":[{"path":"dist/chunk-NZPV2O4C.js","kind":"import-statement"},{"path":"dist/chunk-C6XF22TC.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-HP4GCYKQ.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"}],"exports":["EditPostPage"],"entryPoint":"src/components/edit-post-view.tsx","inputs":{},"bytes":313},"dist/chunk-NZPV2O4C.js":{"imports":[{"path":"dist/chunk-C6XF22TC.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["EditPostPage"],"inputs":{"src/components/edit-post-view.tsx":{"bytesInOutput":1084}},"bytes":1313},"dist/components/index.js":{"imports":[{"path":"dist/chunk-RVMHG4KN.js","kind":"import-statement"},{"path":"dist/chunk-VXEVLHGL.js","kind":"import-statement"},{"path":"dist/chunk-Y376EYEF.js","kind":"import-statement"},{"path":"dist/chunk-C6XF22TC.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-HP4GCYKQ.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"}],"exports":["ADMIN_SITE_COOKIE","AdminProviders","I18nProvider","ImageUploadDialog","MediaPicker","MediaUploader","PostForm","Sidebar","SiteSelector","SiteSettingsForm","ThemeSettingsForm","invalidateSiteSettingsCache","publicMediaUrl","readAdminSiteIdFromCookie","sanitizeName","setAdminCmsConfig","setAdminMediaContext","uploadProcessedImage","useLocale","useT"],"entryPoint":"src/components/index.ts","inputs":{"src/components/index.ts":{"bytesInOutput":0}},"bytes":1137},"dist/chunk-RVMHG4KN.js":{"imports":[{"path":"dist/chunk-VXEVLHGL.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-HP4GCYKQ.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"aws-amplify","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"aws-amplify/api","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/link","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["AdminProviders","Sidebar","SiteSelector","SiteSettingsForm","ThemeSettingsForm"],"inputs":{"src/lib/amplify-client.ts":{"bytesInOutput":194},"src/lib/posts-provider.ts":{"bytesInOutput":7000},"src/lib/kv-provider.ts":{"bytesInOutput":2282},"src/components/admin-providers.tsx":{"bytesInOutput":369},"src/components/sidebar.tsx":{"bytesInOutput":5385},"src/components/site-selector.tsx":{"bytesInOutput":950},"src/components/site-settings-form.tsx":{"bytesInOutput":6930},"src/components/theme-settings-form.tsx":{"bytesInOutput":18452}},"bytes":42312},"dist/chunk-VXEVLHGL.js":{"imports":[{"path":"next/cache","kind":"import-statement","external":true}],"exports":["invalidateSiteSettingsCache"],"inputs":{"src/lib/theme-actions.ts":{"bytesInOutput":135}},"bytes":206},"dist/components/login-view.js":{"imports":[{"path":"dist/chunk-76C6OJZU.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"}],"exports":["LoginPage"],"entryPoint":"src/components/login-view.tsx","inputs":{},"bytes":152},"dist/chunk-76C6OJZU.js":{"imports":[{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"aws-amplify/auth","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["LoginPage"],"inputs":{"src/components/login-view.tsx":{"bytesInOutput":6967}},"bytes":7072},"dist/components/media-view.js":{"imports":[{"path":"dist/chunk-6ELFL53G.js","kind":"import-statement"},{"path":"dist/chunk-Y376EYEF.js","kind":"import-statement"},{"path":"dist/chunk-HP4GCYKQ.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"}],"exports":["MediaPage"],"entryPoint":"src/components/media-view.tsx","inputs":{},"bytes":245},"dist/chunk-6ELFL53G.js":{"imports":[{"path":"dist/chunk-Y376EYEF.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPage"],"inputs":{"src/components/media-view.tsx":{"bytesInOutput":358}},"bytes":518},"dist/chunk-Y376EYEF.js":{"imports":[{"path":"dist/chunk-HP4GCYKQ.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaUploader"],"inputs":{"src/components/media-uploader.tsx":{"bytesInOutput":8980}},"bytes":9238},"dist/components/new-post-view.js":{"imports":[{"path":"dist/chunk-OWYT37GC.js","kind":"import-statement"},{"path":"dist/chunk-C6XF22TC.js","kind":"import-statement"},{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"dist/chunk-HP4GCYKQ.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"}],"exports":["NewPostPage"],"entryPoint":"src/components/new-post-view.tsx","inputs":{},"bytes":311},"dist/chunk-OWYT37GC.js":{"imports":[{"path":"dist/chunk-C6XF22TC.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["NewPostPage"],"inputs":{"src/components/new-post-view.tsx":{"bytesInOutput":363}},"bytes":523},"dist/chunk-C6XF22TC.js":{"imports":[{"path":"dist/chunk-TZWSXAHD.js","kind":"import-statement"},{"path":"dist/chunk-HP4GCYKQ.js","kind":"import-statement"},{"path":"dist/chunk-2ITWLRYF.js","kind":"import-statement"},{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"next/navigation","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"ampless","kind":"import-statement","external":true},{"path":"@ampless/runtime","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"@tiptap/react","kind":"import-statement","external":true},{"path":"@tiptap/starter-kit","kind":"import-statement","external":true},{"path":"@tiptap/extension-link","kind":"import-statement","external":true},{"path":"@tiptap/extension-image","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"@tiptap/react/menus","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"lucide-react","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"jszip","kind":"import-statement","external":true},{"path":"aws-amplify/storage","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["MediaPicker","PostForm","sanitizeName","uploadProcessedImage"],"inputs":{"src/lib/upload.ts":{"bytesInOutput":807},"src/components/media-picker.tsx":{"bytesInOutput":4988},"src/components/post-form.tsx":{"bytesInOutput":17036},"src/editor/tiptap-editor.tsx":{"bytesInOutput":1547},"src/editor/toolbar.tsx":{"bytesInOutput":3038},"src/editor/image-bubble-menu.tsx":{"bytesInOutput":2901},"src/components/static-uploader.tsx":{"bytesInOutput":7717},"src/lib/static-bundle.ts":{"bytesInOutput":7192}},"bytes":45924},"dist/chunk-TZWSXAHD.js":{"imports":[{"path":"dist/chunk-7IR4F7GA.js","kind":"import-statement"},{"path":"ampless","kind":"import-statement","external":true}],"exports":["readAdminSiteIdFromCookie","setAdminCmsConfig"],"inputs":{"src/lib/admin-site-client.ts":{"bytesInOutput":642}},"bytes":796},"dist/chunk-7IR4F7GA.js":{"imports":[],"exports":["ADMIN_SITE_COOKIE"],"inputs":{"src/lib/admin-site-cookie.ts":{"bytesInOutput":41}},"bytes":106},"dist/chunk-HP4GCYKQ.js":{"imports":[{"path":"dist/chunk-MXOT7KNC.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react-image-crop","kind":"import-statement","external":true},{"path":"react-image-crop/dist/ReactCrop.css","kind":"import-statement","external":true},{"path":"ampless/media","kind":"import-statement","external":true},{"path":"@ampless/runtime/ui","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["ImageUploadDialog","getMediaProcessingDefaults","setAdminCmsConfigClient"],"inputs":{"src/components/image-upload-dialog.tsx":{"bytesInOutput":12823},"src/lib/admin-config-client.ts":{"bytesInOutput":170}},"bytes":13207},"dist/chunk-2ITWLRYF.js":{"imports":[],"exports":["createMedia","publicMediaUrl","setAdminMediaContext"],"inputs":{"src/lib/media.ts":{"bytesInOutput":1326}},"bytes":1415},"dist/chunk-MXOT7KNC.js":{"imports":[{"path":"dist/chunk-QQ2LE36O.js","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["I18nProvider","useLocale","useT"],"inputs":{"src/components/i18n-provider.tsx":{"bytesInOutput":785}},"bytes":922},"dist/chunk-QQ2LE36O.js":{"imports":[],"exports":["getDictionary","resolveLocale","translate"],"inputs":{"src/locales/en.json":{"bytesInOutput":9324},"src/locales/ja.json":{"bytesInOutput":18050},"src/lib/i18n.ts":{"bytesInOutput":1146}},"bytes":28646}}}
|
package/dist/pages/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { MediaPage } from '../components/media-view.js';
|
|
|
8
8
|
import { ThemeManifest } from 'ampless';
|
|
9
9
|
import { LoginPage } from '../components/login-view.js';
|
|
10
10
|
import '@ampless/runtime';
|
|
11
|
-
import '../i18n-
|
|
11
|
+
import '../i18n-OurZuBHX.js';
|
|
12
12
|
import '@aws-amplify/adapter-nextjs';
|
|
13
13
|
|
|
14
14
|
/**
|
package/dist/pages/index.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PostsList
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-3E7CZV6A.js";
|
|
4
4
|
import {
|
|
5
5
|
UsersListView
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-42LEQGGJ.js";
|
|
7
7
|
import {
|
|
8
8
|
AdminDashboard
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-XXY2GVLV.js";
|
|
10
10
|
import {
|
|
11
11
|
EditPostPage
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-NZPV2O4C.js";
|
|
13
13
|
import {
|
|
14
14
|
AdminProviders,
|
|
15
15
|
Sidebar,
|
|
16
16
|
SiteSelector,
|
|
17
17
|
SiteSettingsForm,
|
|
18
18
|
ThemeSettingsForm
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-RVMHG4KN.js";
|
|
20
20
|
import "../chunk-VXEVLHGL.js";
|
|
21
21
|
import {
|
|
22
22
|
LoginPage
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-76C6OJZU.js";
|
|
24
24
|
import {
|
|
25
25
|
MediaPage
|
|
26
|
-
} from "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-6ELFL53G.js";
|
|
27
|
+
import "../chunk-Y376EYEF.js";
|
|
28
28
|
import {
|
|
29
29
|
NewPostPage
|
|
30
|
-
} from "../chunk-
|
|
31
|
-
import "../chunk-
|
|
30
|
+
} from "../chunk-OWYT37GC.js";
|
|
31
|
+
import "../chunk-C6XF22TC.js";
|
|
32
32
|
import "../chunk-TZWSXAHD.js";
|
|
33
33
|
import "../chunk-7IR4F7GA.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-HP4GCYKQ.js";
|
|
35
35
|
import "../chunk-2ITWLRYF.js";
|
|
36
36
|
import {
|
|
37
37
|
I18nProvider
|
|
38
|
-
} from "../chunk-
|
|
39
|
-
import "../chunk-
|
|
38
|
+
} from "../chunk-MXOT7KNC.js";
|
|
39
|
+
import "../chunk-QQ2LE36O.js";
|
|
40
40
|
|
|
41
41
|
// src/pages/admin-layout.tsx
|
|
42
42
|
import { redirect } from "next/navigation";
|
|
@@ -254,7 +254,8 @@ function createSiteThemePage(admin, themeList) {
|
|
|
254
254
|
manifest: theme.manifest,
|
|
255
255
|
activeTheme: theme.activeTheme,
|
|
256
256
|
themeOptions,
|
|
257
|
-
initial: theme.values
|
|
257
|
+
initial: theme.values,
|
|
258
|
+
initialColorScheme: theme.colorScheme
|
|
258
259
|
}
|
|
259
260
|
)
|
|
260
261
|
] });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampless/admin",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.13",
|
|
4
4
|
"description": "Admin UI for ampless: post editor, media manager, site/theme settings",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"lucide-react": "^1.16.0",
|
|
52
52
|
"react-image-crop": "^11.0.7",
|
|
53
53
|
"tailwind-merge": "^3.6.0",
|
|
54
|
-
"@ampless/runtime": "0.2.0-alpha.
|
|
54
|
+
"@ampless/runtime": "0.2.0-alpha.6",
|
|
55
55
|
"ampless": "0.2.0-alpha.3"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|