@oktis-works/admin 0.5.4 → 0.6.0
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/client/_astro/{ActivityWidget.BNFwjO71.js → ActivityWidget.CLFjbNJf.js} +1 -1
- package/dist/client/_astro/{AdminBar.DRgRB1PC.js → AdminBar.CKYNoMCz.js} +1 -1
- package/dist/client/_astro/{AtGlanceWidget.h60KI_JU.js → AtGlanceWidget.DZLDbAfC.js} +1 -1
- package/dist/client/_astro/{BaseLayout.Du3LchRX.css → BaseLayout.Cb-QSCvc.css} +1 -1
- package/dist/client/_astro/{ContentEditor.BDb6qSSI.js → ContentEditor.BmpwqkNT.js} +1 -1
- package/dist/client/_astro/ContentEditor.saSUoKf0.js +1 -0
- package/dist/client/_astro/ContentTypeWorkspace.00bHkcJD.js +1 -0
- package/dist/client/_astro/{DashboardHome.1vPxu78E.js → DashboardHome.DCz0EiH2.js} +1 -1
- package/dist/client/_astro/DashboardLayout.DH1KnS2w.css +1 -0
- package/dist/client/_astro/{DashboardLayout.astro_astro_type_script_index_0_lang.D3odZySo.js → DashboardLayout.astro_astro_type_script_index_0_lang.DdRNBOsR.js} +1 -1
- package/dist/client/_astro/{FieldGroupEditor.C9U6-zxk.js → FieldGroupEditor.Bdm2FW0L.js} +1 -1
- package/dist/client/_astro/{FieldGroupList.DYFBUBY7.js → FieldGroupList.BaNTs6an.js} +1 -1
- package/dist/client/_astro/{Footer.BwLmoHuk.js → Footer.B3_EZU5m.js} +1 -1
- package/dist/client/_astro/GeneralSettings.BH-f6pL0.js +1 -0
- package/dist/client/_astro/{LogsManager.CBwBkCUP.js → LogsManager.1c_AlgX8.js} +1 -1
- package/dist/client/_astro/MediaLibrary.DH7eqign.js +1 -0
- package/dist/client/_astro/{MenuManager.BhYhygsR.js → MenuManager.CLPv5Ths.js} +1 -1
- package/dist/client/_astro/{PluginManager.DxAKvMfM.js → PluginManager.Duzn64IF.js} +1 -1
- package/dist/client/_astro/{PostTypesManager.DLymaQPT.js → PostTypesManager.BHKbIEwD.js} +1 -1
- package/dist/client/_astro/{QuickDraftWidget.CfUR8qmY.js → QuickDraftWidget.MBRACUqB.js} +1 -1
- package/dist/client/_astro/{ResourceHubs.BnINa0O3.js → ResourceHubs.CL3KxW6a.js} +1 -1
- package/dist/client/_astro/{TaxonomiesManager.1EZYO2u5.js → TaxonomiesManager.DEwFIIP9.js} +1 -1
- package/dist/client/_astro/{TaxonomyTermsManager.YXbuam33.js → TaxonomyTermsManager.DWljfgZH.js} +1 -1
- package/dist/client/_astro/{ThemeManager.EFMZJdmx.js → ThemeManager.CAGeBTsz.js} +1 -1
- package/dist/client/_astro/{UserCreateForm.C_m7ovUU.js → UserCreateForm.wCOVD_YS.js} +1 -1
- package/dist/client/_astro/UsersManager.RHbgYhoE.js +1 -0
- package/dist/client/_astro/{WebhooksManager.CKRtabi3.js → WebhooksManager.B-g7Wbit.js} +1 -1
- package/dist/client/_astro/api.CGA0D2A2.js +1 -0
- package/dist/client/_astro/extensions.CKCZC04g.js +1 -0
- package/dist/client/_astro/{i18n.EKfvSb1v.js → i18n.3zKFZ7KU.js} +1 -1
- package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.D8XVBan6.js → login.astro_astro_type_script_index_0_lang.DzXBvx_L.js} +1 -1
- package/dist/client/_astro/src.DQwsXUur.js +1 -0
- package/dist/client/_astro/{version.B4bPYHRP.js → version.BrTlYw56.js} +1 -1
- package/dist/server/chunks/{ContentEditor_DfYDk5IM.mjs → ContentEditor_BEGQZSwm.mjs} +525 -2
- package/dist/server/chunks/{DashboardLayout_7Gcd6oTS.mjs → DashboardLayout_BrMujuUY.mjs} +10 -7
- package/dist/server/chunks/{MediaLibrary_fu8AtNog.mjs → MediaLibrary_BnG47fd2.mjs} +2 -2
- package/dist/server/chunks/PageHeader_CBOioOjo.mjs +42 -0
- package/dist/server/chunks/{_id__BVLdyCKg.mjs → _id__CPqaq-or.mjs} +10 -5
- package/dist/server/chunks/{_slug__DG6xjEan.mjs → _slug__B53mL1bx.mjs} +6 -2
- package/dist/server/chunks/{access_B8fU0pWq.mjs → access_CtJtAQdD.mjs} +8 -8
- package/dist/server/chunks/{custom-fields_BOqCiSPQ.mjs → custom-fields_BP_aajHY.mjs} +2 -2
- package/dist/server/chunks/{dist_D98LO9y-.mjs → dist_CP9QIrJI.mjs} +2 -1394
- package/dist/server/chunks/{edit_C27RHq7N.mjs → edit_DG_K-2Qj.mjs} +8 -8
- package/dist/server/chunks/{general_TSviTaPT.mjs → general_q5AGQ36F.mjs} +8 -8
- package/dist/server/chunks/{i18n_Co0XNC0I.mjs → i18n_B-Vk5esc.mjs} +4 -1
- package/dist/server/chunks/{index_CCNhQxvS.mjs → index_C38LMbC9.mjs} +8 -8
- package/dist/server/chunks/index_CM5J56RR.mjs +32 -0
- package/dist/server/chunks/{index_t5k7sOZ8.mjs → index_CxA75vPH.mjs} +7 -10
- package/dist/server/chunks/{index_CRSTdqw0.mjs → index_FRRIyHOL.mjs} +2 -2
- package/dist/server/chunks/{index_BwaqRmvv.mjs → index_wJQJWCXJ.mjs} +8 -8
- package/dist/server/chunks/{login_DWlZa2zd.mjs → login_CNRlK7LB.mjs} +1 -1
- package/dist/server/chunks/{logs_DrjJ6S6J.mjs → logs_jnQGnqA9.mjs} +8 -8
- package/dist/server/chunks/{menus_DjfOcrez.mjs → menus_D5Vn-oIS.mjs} +2 -2
- package/dist/server/chunks/{new_B484WwaA.mjs → new_7JMkKLJt.mjs} +9 -9
- package/dist/server/chunks/{new_DNNbQ1Zw.mjs → new_CBhCftFl.mjs} +8 -8
- package/dist/server/chunks/{node_CECPlmah.mjs → node_kWZa8y--.mjs} +1 -1
- package/dist/server/chunks/{plugins_Bhuk-oUR.mjs → plugins_CfwZhokZ.mjs} +5 -4
- package/dist/server/chunks/{post-types_BtisIanW.mjs → post-types_isCYbGpy.mjs} +10 -5
- package/dist/server/chunks/semver_WbqCUY_o.mjs +1395 -0
- package/dist/server/chunks/{sharp_DQfjpH-u.mjs → sharp_37gnUicY.mjs} +2 -2
- package/dist/server/chunks/{taxonomies_CHJK2gT1.mjs → taxonomies_3rdILM-c.mjs} +10 -5
- package/dist/server/chunks/{taxonomy_DboKpEOu.mjs → taxonomy_APMNQqQ0.mjs} +9 -7
- package/dist/server/chunks/{themes_MC8vERGL.mjs → themes_CmKm5Q2f.mjs} +5 -4
- package/dist/server/chunks/{upload_BMoVV-rt.mjs → upload_5PzqW0LU.mjs} +8 -8
- package/dist/server/chunks/{webhooks_EHN9q7Yv.mjs → webhooks_CuZ4P9Yb.mjs} +8 -8
- package/dist/server/entry.mjs +25 -25
- package/dist/server/virtual_astro_middleware.mjs +1 -1
- package/package.json +5 -5
- package/dist/client/_astro/ContentEditor.QGAstGzA.js +0 -1
- package/dist/client/_astro/ContentTypeWorkspace.K35mfD2P.js +0 -1
- package/dist/client/_astro/DashboardLayout.C1OQ0r8H.css +0 -1
- package/dist/client/_astro/GeneralSettings.EU3z_sSD.js +0 -1
- package/dist/client/_astro/MediaLibrary.D56bkgPF.js +0 -1
- package/dist/client/_astro/UsersManager.t4-9GwDK.js +0 -1
- package/dist/client/_astro/api.CM0tblEa.js +0 -1
- package/dist/client/_astro/dist.D-evrPNi.js +0 -1
- package/dist/client/_astro/extensions.OpEcHTzv.js +0 -1
- package/dist/server/chunks/index_40l_yCUu.mjs +0 -27
- /package/dist/server/chunks/{BaseLayout_CHj9u5wO.mjs → BaseLayout_vNs_yXMd.mjs} +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { S as createAstro,
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as ContentEditor } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
5
|
+
import { t as ContentEditor } from "./ContentEditor_BEGQZSwm.mjs";
|
|
6
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
7
|
//#region src/pages/content/[type]/edit.astro
|
|
7
8
|
var edit_exports = /* @__PURE__ */ __exportAll({
|
|
8
9
|
default: () => $$Edit,
|
|
@@ -15,17 +16,16 @@ var $$Edit = createComponent(($$result, $$props, $$slots) => {
|
|
|
15
16
|
Astro.self = $$Edit;
|
|
16
17
|
const { t } = Astro.locals;
|
|
17
18
|
const contentType = Astro.params.type ?? "post";
|
|
18
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
19
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("content.editor.save") }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
19
20
|
"title": t("content.editor.save"),
|
|
20
|
-
"
|
|
21
|
-
}
|
|
21
|
+
"eyebrow": contentType
|
|
22
|
+
})}${renderComponent($$result, "ContentEditor", ContentEditor, {
|
|
22
23
|
"client:load": true,
|
|
23
24
|
"initialType": contentType,
|
|
24
|
-
"data-astro-cid-w7izymzk": true,
|
|
25
25
|
"client:component-hydration": "load",
|
|
26
26
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/content/ContentEditor.tsx",
|
|
27
27
|
"client:component-export": "ContentEditor"
|
|
28
|
-
})}
|
|
28
|
+
})}` })}`;
|
|
29
29
|
}, "/home/runner/work/cms/cms/apps/admin/src/pages/content/[type]/edit.astro", void 0);
|
|
30
30
|
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/content/[type]/edit.astro";
|
|
31
31
|
var $$url = "/content/[type]/edit";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { S as createAstro,
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { f as createMemo,
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
|
|
5
|
+
import { f as createMemo, i as Card, l as Select, m as onMount, o as Input, p as createSignal, r as Button, t as $$DashboardLayout, u as Show2 } from "./DashboardLayout_BrMujuUY.mjs";
|
|
6
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
7
|
import { createComponent, escape, memo, ssr, ssrHydrationKey } from "solid-js/web";
|
|
7
8
|
//#region src/components/apps/settings/GeneralSettings.tsx
|
|
8
9
|
var _tmpl$ = [
|
|
@@ -172,16 +173,15 @@ var $$General = createComponent$1(($$result, $$props, $$slots) => {
|
|
|
172
173
|
const Astro = $$result.createAstro($$props, $$slots);
|
|
173
174
|
Astro.self = $$General;
|
|
174
175
|
const { t } = Astro.locals;
|
|
175
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
176
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("settings.general.title") }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
176
177
|
"title": t("settings.general.title"),
|
|
177
|
-
"
|
|
178
|
-
}
|
|
178
|
+
"description": t("settings.general.description")
|
|
179
|
+
})}${renderComponent($$result, "GeneralSettings", GeneralSettings, {
|
|
179
180
|
"client:load": true,
|
|
180
|
-
"data-astro-cid-nzku6miy": true,
|
|
181
181
|
"client:component-hydration": "load",
|
|
182
182
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/settings/GeneralSettings.tsx",
|
|
183
183
|
"client:component-export": "GeneralSettings"
|
|
184
|
-
})}
|
|
184
|
+
})}` })}`;
|
|
185
185
|
}, "/home/runner/work/cms/cms/apps/admin/src/pages/settings/general.astro", void 0);
|
|
186
186
|
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/settings/general.astro";
|
|
187
187
|
var $$url = "/settings/general";
|
|
@@ -111,7 +111,10 @@ async function loadLocale(locale) {
|
|
|
111
111
|
function resolveApiBase() {
|
|
112
112
|
if (typeof document !== "undefined") {
|
|
113
113
|
const runtimeUrl = document.querySelector("meta[name=\"okcms-api-url\"]")?.getAttribute("content")?.trim();
|
|
114
|
-
if (runtimeUrl)
|
|
114
|
+
if (runtimeUrl) {
|
|
115
|
+
if (runtimeUrl.startsWith("/")) return runtimeUrl.replace(/\/$/, "");
|
|
116
|
+
return runtimeUrl.replace(/\/$/, "");
|
|
117
|
+
}
|
|
115
118
|
}
|
|
116
119
|
return "";
|
|
117
120
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { S as createAstro,
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { a as For2, c as Pagination,
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
|
|
5
|
+
import { a as For2, c as Pagination, l as Select, m as onMount, n as Badge, o as Input, p as createSignal, r as Button, t as $$DashboardLayout, u as Show2 } from "./DashboardLayout_BrMujuUY.mjs";
|
|
6
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
8
|
//#region src/components/apps/users/UsersManager.tsx
|
|
8
9
|
var _tmpl$ = [
|
|
@@ -343,16 +344,15 @@ var $$Index = createComponent$1(($$result, $$props, $$slots) => {
|
|
|
343
344
|
const Astro = $$result.createAstro($$props, $$slots);
|
|
344
345
|
Astro.self = $$Index;
|
|
345
346
|
const { t } = Astro.locals;
|
|
346
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
347
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("users.title") }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
347
348
|
"title": t("users.title"),
|
|
348
|
-
"
|
|
349
|
-
}
|
|
349
|
+
"description": t("users.description")
|
|
350
|
+
})}${renderComponent($$result, "UsersManager", UsersManager, {
|
|
350
351
|
"client:load": true,
|
|
351
|
-
"data-astro-cid-ao6unroh": true,
|
|
352
352
|
"client:component-hydration": "load",
|
|
353
353
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/users/UsersManager.tsx",
|
|
354
354
|
"client:component-export": "UsersManager"
|
|
355
|
-
})}
|
|
355
|
+
})}` })}`;
|
|
356
356
|
}, "/home/runner/work/cms/cms/apps/admin/src/pages/users/index.astro", void 0);
|
|
357
357
|
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/users/index.astro";
|
|
358
358
|
var $$url = "/users";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
+
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
|
+
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
5
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
|
+
//#region src/pages/settings/index.astro
|
|
7
|
+
var settings_exports = /* @__PURE__ */ __exportAll({
|
|
8
|
+
default: () => $$Index,
|
|
9
|
+
file: () => $$file,
|
|
10
|
+
url: () => $$url
|
|
11
|
+
});
|
|
12
|
+
createAstro("https://astro.build");
|
|
13
|
+
var $$Index = createComponent(($$result, $$props, $$slots) => {
|
|
14
|
+
const Astro = $$result.createAstro($$props, $$slots);
|
|
15
|
+
Astro.self = $$Index;
|
|
16
|
+
const { t } = Astro.locals;
|
|
17
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
18
|
+
"title": t("settings.general.title"),
|
|
19
|
+
"data-astro-cid-pvy7orjg": true
|
|
20
|
+
}, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
21
|
+
"title": t("settings.general.title"),
|
|
22
|
+
"description": t("settings.general.description"),
|
|
23
|
+
"data-astro-cid-pvy7orjg": true
|
|
24
|
+
})}${maybeRenderHead($$result)}<div class="settings-cards" data-astro-cid-pvy7orjg><a class="card settings-card" href="/settings/general" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("settings.general.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("settings.general.fields.siteTitle")}, ${t("settings.general.fields.siteDescription")}, ${t("settings.general.fields.language")} e ${t("settings.general.fields.timezone")} do site.</p></a><a class="card settings-card" href="/settings/post-types" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("settings.postTypes.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("settings.postTypes.description")}</p></a><a class="card settings-card" href="/settings/taxonomies" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("settings.taxonomies.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("settings.taxonomies.description")}</p></a><a class="card settings-card" href="/settings/custom-fields" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("settings.customFields.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("settings.customFields.description")}</p></a><a class="card settings-card" href="/settings/access" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("access.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("access.description")}</p></a><a class="card settings-card" href="/settings/logs" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("logs.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("logs.description")}</p></a><a class="card settings-card" href="/settings/webhooks" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("webhooks.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("webhooks.description")}</p></a></div>` })}`;
|
|
25
|
+
}, "/home/runner/work/cms/cms/apps/admin/src/pages/settings/index.astro", void 0);
|
|
26
|
+
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/settings/index.astro";
|
|
27
|
+
var $$url = "/settings";
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region \0virtual:astro:page:src/pages/settings/index@_@astro
|
|
30
|
+
var page = () => settings_exports;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { page };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { S as createAstro,
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { c as Pagination, d as Table, i as Card, l as Select, n as Badge, o as Input, r as Button, t as $$DashboardLayout } from "./
|
|
6
|
-
import { t as ContentEditor } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
|
|
5
|
+
import { c as Pagination, d as Table, i as Card, l as Select, n as Badge, o as Input, r as Button, t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
6
|
+
import { t as ContentEditor } from "./ContentEditor_BEGQZSwm.mjs";
|
|
7
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
7
8
|
import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
9
|
import { Show, createMemo, createSignal, onMount } from "solid-js";
|
|
9
10
|
//#region src/components/content/ContentList.tsx
|
|
@@ -328,17 +329,13 @@ var $$Index = createComponent$1(($$result, $$props, $$slots) => {
|
|
|
328
329
|
Astro.self = $$Index;
|
|
329
330
|
const { t } = Astro.locals;
|
|
330
331
|
const contentType = Astro.params.type ?? "post";
|
|
331
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
332
|
-
"title": contentType,
|
|
333
|
-
"data-astro-cid-znq2nu33": true
|
|
334
|
-
}, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="content-type-page" data-astro-cid-znq2nu33>${renderComponent($$result, "ContentTypeWorkspace", ContentTypeWorkspace, {
|
|
332
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": contentType }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, { "title": contentType })}${renderComponent($$result, "ContentTypeWorkspace", ContentTypeWorkspace, {
|
|
335
333
|
"client:load": true,
|
|
336
334
|
"contentType": contentType,
|
|
337
|
-
"data-astro-cid-znq2nu33": true,
|
|
338
335
|
"client:component-hydration": "load",
|
|
339
336
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/content/ContentTypeWorkspace.tsx",
|
|
340
337
|
"client:component-export": "ContentTypeWorkspace"
|
|
341
|
-
})}
|
|
338
|
+
})}` })}`;
|
|
342
339
|
}, "/home/runner/work/cms/cms/apps/admin/src/pages/content/[type]/index.astro", void 0);
|
|
343
340
|
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/content/[type]/index.astro";
|
|
344
341
|
var $$url = "/content/[type]";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/dashboard/DashboardHome.tsx
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { S as createAstro,
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
5
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
|
+
import { t as MediaLibrary } from "./MediaLibrary_BnG47fd2.mjs";
|
|
6
7
|
//#region src/pages/media/index.astro
|
|
7
8
|
var media_exports = /* @__PURE__ */ __exportAll({
|
|
8
9
|
default: () => $$Index,
|
|
@@ -14,16 +15,15 @@ var $$Index = createComponent(($$result, $$props, $$slots) => {
|
|
|
14
15
|
const Astro = $$result.createAstro($$props, $$slots);
|
|
15
16
|
Astro.self = $$Index;
|
|
16
17
|
const { t } = Astro.locals;
|
|
17
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
18
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("media.title") }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
18
19
|
"title": t("media.title"),
|
|
19
|
-
"
|
|
20
|
-
}
|
|
20
|
+
"description": t("media.description")
|
|
21
|
+
})}${renderComponent($$result, "MediaLibrary", MediaLibrary, {
|
|
21
22
|
"client:load": true,
|
|
22
|
-
"data-astro-cid-jureezux": true,
|
|
23
23
|
"client:component-hydration": "load",
|
|
24
24
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/media/MediaLibrary.tsx",
|
|
25
25
|
"client:component-export": "MediaLibrary"
|
|
26
|
-
})}
|
|
26
|
+
})}` })}`;
|
|
27
27
|
}, "/home/runner/work/cms/cms/apps/admin/src/pages/media/index.astro", void 0);
|
|
28
28
|
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/media/index.astro";
|
|
29
29
|
var $$url = "/media";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as renderScript, t as $$BaseLayout } from "./
|
|
4
|
+
import { n as renderScript, t as $$BaseLayout } from "./BaseLayout_vNs_yXMd.mjs";
|
|
5
5
|
//#region src/pages/login.astro
|
|
6
6
|
var login_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
default: () => $$Login,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { S as createAstro,
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
6
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
8
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
9
|
//#region src/components/apps/settings/LogsManager.tsx
|
|
@@ -140,16 +141,15 @@ var $$Logs = createComponent$1(($$result, $$props, $$slots) => {
|
|
|
140
141
|
const Astro = $$result.createAstro($$props, $$slots);
|
|
141
142
|
Astro.self = $$Logs;
|
|
142
143
|
const { t } = Astro.locals;
|
|
143
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
144
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("logs.title") }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
144
145
|
"title": t("logs.title"),
|
|
145
|
-
"
|
|
146
|
-
}
|
|
146
|
+
"description": t("logs.description")
|
|
147
|
+
})}${renderComponent($$result, "LogsManager", LogsManager, {
|
|
147
148
|
"client:load": true,
|
|
148
|
-
"data-astro-cid-satfzsfj": true,
|
|
149
149
|
"client:component-hydration": "load",
|
|
150
150
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/settings/LogsManager.tsx",
|
|
151
151
|
"client:component-export": "LogsManager"
|
|
152
|
-
})}
|
|
152
|
+
})}` })}`;
|
|
153
153
|
}, "/home/runner/work/cms/cms/apps/admin/src/pages/settings/logs.astro", void 0);
|
|
154
154
|
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/settings/logs.astro";
|
|
155
155
|
var $$url = "/settings/logs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { For, Show, createMemo, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/menus/MenuManager.tsx
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { S as createAstro,
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as ContentEditor } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
5
|
+
import { t as ContentEditor } from "./ContentEditor_BEGQZSwm.mjs";
|
|
6
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
7
|
//#region src/pages/content/[type]/new.astro
|
|
7
8
|
var new_exports = /* @__PURE__ */ __exportAll({
|
|
8
9
|
default: () => $$New,
|
|
@@ -15,17 +16,16 @@ var $$New = createComponent(($$result, $$props, $$slots) => {
|
|
|
15
16
|
Astro.self = $$New;
|
|
16
17
|
const { t } = Astro.locals;
|
|
17
18
|
const contentType = Astro.params.type ?? "post";
|
|
18
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
19
|
-
"title": t("content.editor.
|
|
20
|
-
"
|
|
21
|
-
}
|
|
19
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("content.editor.new") }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
20
|
+
"title": t("content.editor.new"),
|
|
21
|
+
"eyebrow": contentType
|
|
22
|
+
})}${renderComponent($$result, "ContentEditor", ContentEditor, {
|
|
22
23
|
"client:load": true,
|
|
23
24
|
"initialType": contentType,
|
|
24
|
-
"data-astro-cid-5s5mludg": true,
|
|
25
25
|
"client:component-hydration": "load",
|
|
26
26
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/content/ContentEditor.tsx",
|
|
27
27
|
"client:component-export": "ContentEditor"
|
|
28
|
-
})}
|
|
28
|
+
})}` })}`;
|
|
29
29
|
}, "/home/runner/work/cms/cms/apps/admin/src/pages/content/[type]/new.astro", void 0);
|
|
30
30
|
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/content/[type]/new.astro";
|
|
31
31
|
var $$url = "/content/[type]/new";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { S as createAstro,
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
6
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
8
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
9
|
//#region src/components/apps/users/UserCreateForm.tsx
|
|
@@ -83,16 +84,15 @@ var $$New = createComponent$1(($$result, $$props, $$slots) => {
|
|
|
83
84
|
const Astro = $$result.createAstro($$props, $$slots);
|
|
84
85
|
Astro.self = $$New;
|
|
85
86
|
const { t } = Astro.locals;
|
|
86
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
87
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("users.new") }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
87
88
|
"title": t("users.new"),
|
|
88
|
-
"
|
|
89
|
-
}
|
|
89
|
+
"description": t("users.description")
|
|
90
|
+
})}${renderComponent($$result, "UserCreateForm", UserCreateForm, {
|
|
90
91
|
"client:load": true,
|
|
91
|
-
"data-astro-cid-zengvhh7": true,
|
|
92
92
|
"client:component-hydration": "load",
|
|
93
93
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/users/UserCreateForm.tsx",
|
|
94
94
|
"client:component-export": "UserCreateForm"
|
|
95
|
-
})}
|
|
95
|
+
})}` })}`;
|
|
96
96
|
}, "/home/runner/work/cms/cms/apps/admin/src/pages/users/new.astro", void 0);
|
|
97
97
|
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/users/new.astro";
|
|
98
98
|
var $$url = "/users/new";
|
|
@@ -1343,7 +1343,7 @@ var cssFitValues = [
|
|
|
1343
1343
|
];
|
|
1344
1344
|
async function getConfiguredImageService() {
|
|
1345
1345
|
if (!globalThis?.astroAsset?.imageService) {
|
|
1346
|
-
const { default: service } = await import("./
|
|
1346
|
+
const { default: service } = await import("./sharp_37gnUicY.mjs").catch((e) => {
|
|
1347
1347
|
const error = new AstroError(InvalidImageService);
|
|
1348
1348
|
error.cause = e;
|
|
1349
1349
|
throw error;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
6
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
8
|
import { For, createSignal, onMount } from "solid-js";
|
|
8
9
|
//#region src/components/apps/plugins/PluginManager.tsx
|
|
@@ -114,10 +115,10 @@ var $$Plugins = createComponent$1(($$result, $$props, $$slots) => {
|
|
|
114
115
|
const Astro = $$result.createAstro($$props, $$slots);
|
|
115
116
|
Astro.self = $$Plugins;
|
|
116
117
|
const { t } = Astro.locals;
|
|
117
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
118
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("plugins.title") }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
118
119
|
"title": t("plugins.title"),
|
|
119
120
|
"description": t("plugins.description")
|
|
120
|
-
}
|
|
121
|
+
})}${renderComponent($$result, "PluginManager", PluginManager, {
|
|
121
122
|
"client:load": true,
|
|
122
123
|
"client:component-hydration": "load",
|
|
123
124
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/plugins/PluginManager.tsx",
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { S as createAstro,
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BrMujuUY.mjs";
|
|
6
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
8
|
import { For, Show, createMemo, createSignal, onMount } from "solid-js";
|
|
8
9
|
//#region src/components/apps/settings/PostTypesManager.tsx
|
|
@@ -168,13 +169,17 @@ var $$PostTypes = createComponent$1(($$result, $$props, $$slots) => {
|
|
|
168
169
|
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
169
170
|
"title": t("settings.postTypes.title"),
|
|
170
171
|
"data-astro-cid-jfwjjply": true
|
|
171
|
-
}, { "default": ($$result) => renderTemplate`${
|
|
172
|
+
}, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
173
|
+
"title": t("settings.postTypes.title"),
|
|
174
|
+
"description": t("settings.postTypes.description"),
|
|
175
|
+
"data-astro-cid-jfwjjply": true
|
|
176
|
+
})}${renderComponent($$result, "PostTypesManager", PostTypesManager, {
|
|
172
177
|
"client:load": true,
|
|
173
178
|
"data-astro-cid-jfwjjply": true,
|
|
174
179
|
"client:component-hydration": "load",
|
|
175
180
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/settings/PostTypesManager.tsx",
|
|
176
181
|
"client:component-export": "PostTypesManager"
|
|
177
|
-
})}
|
|
182
|
+
})}` })}`;
|
|
178
183
|
}, "/home/runner/work/cms/cms/apps/admin/src/pages/settings/post-types.astro", void 0);
|
|
179
184
|
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/settings/post-types.astro";
|
|
180
185
|
var $$url = "/settings/post-types";
|