@oktis-works/admin 0.4.18 → 0.4.20
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.BQVQr1OI.js → ActivityWidget.BbEtaaM-.js} +2 -2
- package/dist/client/_astro/{AdminBar.CeAqY2Nn.js → AdminBar.CU2eba2D.js} +2 -2
- package/dist/client/_astro/{AtGlanceWidget.ClnyPmqR.js → AtGlanceWidget.C1hpeDlx.js} +1 -1
- package/dist/client/_astro/{BaseLayout.B3A9-IS6.css → BaseLayout.Y8xW22CP.css} +1 -1
- package/dist/client/_astro/ContentEditor.Bc5Jq8Dv.js +1 -0
- package/dist/client/_astro/ContentEditor.DvpaqJBD.js +3 -0
- package/dist/client/_astro/ContentTypeWorkspace.DakVi21h.js +1 -0
- package/dist/client/_astro/{CustomFieldsManager.BZAwLlD7.js → CustomFieldsManager.B7WOTvb7.js} +1 -1
- package/dist/client/_astro/DashboardHome.CUfuLLDH.js +1 -0
- package/dist/client/_astro/DashboardLayout.CGou4voc.css +1 -0
- package/dist/client/_astro/DashboardLayout.astro_astro_type_script_index_0_lang.Dpnx6U2l.js +4 -0
- package/dist/client/_astro/{Footer.B8DQezwj.js → Footer.rUGgtlfI.js} +1 -1
- package/dist/client/_astro/{GeneralSettings.DzzIY4EJ.js → GeneralSettings.C4mnJ7P2.js} +1 -1
- package/dist/client/_astro/{MediaLibrary.CB2vN3WX.js → MediaLibrary.2geQYfXB.js} +1 -1
- package/dist/client/_astro/{PluginManager.CZnOmZ4H.js → PluginManager.D3pm88iu.js} +1 -1
- package/dist/client/_astro/PostTypesManager.Cyhr3VEJ.js +1 -0
- package/dist/client/_astro/{QuickDraftWidget.B8sKln0S.js → QuickDraftWidget.CPljoS31.js} +2 -2
- package/dist/client/_astro/{ResourceHubs.gibltbet.js → ResourceHubs.DpCJERsJ.js} +1 -1
- package/dist/client/_astro/{TaxonomiesManager.BVGc-hS0.js → TaxonomiesManager.P3bc-fnu.js} +1 -1
- package/dist/client/_astro/TaxonomyTermsManager.BxP9gwm7.js +1 -0
- package/dist/client/_astro/{ThemeManager.b7xZdz4_.js → ThemeManager.3MUOwqex.js} +1 -1
- package/dist/client/_astro/{UserCreateForm.By8e9stC.js → UserCreateForm.C3RiEJEa.js} +1 -1
- package/dist/client/_astro/{UsersManager.M8WCxyOI.js → UsersManager.DR9XR3FX.js} +1 -1
- package/dist/client/_astro/api.25OAsWO0.js +1 -0
- package/dist/client/_astro/{ar.DsV0P0EN.js → ar.CwC9hXB9.js} +1 -1
- package/dist/client/_astro/{es-ES.etPSaiLd.js → es-ES.qNcd-cVX.js} +1 -1
- package/dist/client/_astro/{extensions.BC-nLC12.js → extensions.Bj86CHnv.js} +1 -1
- package/dist/client/_astro/{he.U1Vtp3zT.js → he.DfZ0ZzM-.js} +1 -1
- package/dist/client/_astro/i18n.C24_pkIi.js +1 -0
- package/dist/client/_astro/{it.DJuI8oO_.js → it.PFmLQj2s.js} +1 -1
- package/dist/client/_astro/{ja.Cw8I_NUV.js → ja.CMi5cD8g.js} +1 -1
- package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.BPE3sVZJ.js → login.astro_astro_type_script_index_0_lang.O-AlzgHd.js} +1 -1
- package/dist/client/_astro/{pl.Dsz-4G_z.js → pl.CRExzLlj.js} +1 -1
- package/dist/client/_astro/pt-BR.BPvwNpKR.js +1 -0
- package/dist/client/_astro/{ru.CwIIcTdy.js → ru.CWV-tkZ3.js} +1 -1
- package/dist/client/_astro/{src.DmjGg1I5.js → src.Cq47pnsg.js} +1 -1
- package/dist/client/_astro/{sw.DwpL3sb6.js → sw.B5x6GU4s.js} +1 -1
- package/dist/client/_astro/{tr.CY2JWJ7Y.js → tr.BzxCGQu8.js} +1 -1
- package/dist/client/_astro/{uk.BudEWIU8.js → uk.DJHMwNRU.js} +1 -1
- package/dist/client/_astro/{version.CACx_Y2G.js → version.BQq07lEn.js} +1 -1
- package/dist/client/_astro/{yo.BmoZs0fO.js → yo.DNw_hOnW.js} +1 -1
- package/dist/client/_astro/{zh-CN.khaXV6fv.js → zh-CN.Bs7H6Unx.js} +1 -1
- package/dist/server/chunks/{ContentEditor_RKGob-Zo.mjs → ContentEditor_DS7flRjR.mjs} +432 -89
- package/dist/server/chunks/{DashboardLayout_svhEj8jj.mjs → DashboardLayout_09DepSVn.mjs} +8 -8
- package/dist/server/chunks/{MediaLibrary_BCzLRYs6.mjs → MediaLibrary_Xs09kLza.mjs} +2 -2
- package/dist/server/chunks/{ResourceHubs_BH3vCwma.mjs → ResourceHubs_Dwb0xyPZ.mjs} +1 -1
- package/dist/server/chunks/{_slug__qrjLegLj.mjs → _slug__l8CTaLpP.mjs} +1 -1
- package/dist/server/chunks/{access_DSLRN3qH.mjs → access_D93W5BWD.mjs} +2 -2
- package/dist/server/chunks/{ar_DMC8HaoP.mjs → ar_B0LfQbpu.mjs} +1 -1
- package/dist/server/chunks/{custom-fields_BwLtNm1t.mjs → custom-fields_Dp7DHJ0M.mjs} +2 -2
- package/dist/server/chunks/{edit_CmOvfpRE.mjs → edit_hSCrM2Gq.mjs} +12 -10
- package/dist/server/chunks/{es-ES_DZvHskAD.mjs → es-ES_dBEm2FNw.mjs} +1 -1
- package/dist/server/chunks/{general_DDYnR_op.mjs → general_Ct9MU7b-.mjs} +2 -2
- package/dist/server/chunks/{he_zy3stNhR.mjs → he_DRWoI1A5.mjs} +1 -1
- package/dist/server/chunks/{i18n_BKVjk7jX.mjs → i18n_BqFK0MIW.mjs} +64 -15
- package/dist/server/chunks/{index_eYmi9sSz.mjs → index_B77wdzK2.mjs} +1 -1
- package/dist/server/chunks/{index_w8inlUI7.mjs → index_CBfRX_VO.mjs} +93 -45
- package/dist/server/chunks/{index_DBrNG14W.mjs → index_Cv2j9xC_.mjs} +5 -5
- package/dist/server/chunks/{index_DdCS_Yn8.mjs → index_DQ5pFuPN.mjs} +2 -2
- package/dist/server/chunks/{index_BTLdKNys.mjs → index_uv0IHg8r.mjs} +2 -2
- package/dist/server/chunks/{it_BiUDLszZ.mjs → it_BDY3lerP.mjs} +1 -1
- package/dist/server/chunks/{ja_DjFAG7hL.mjs → ja_C-EybQiV.mjs} +1 -1
- package/dist/server/chunks/{login_xmDNRy6-.mjs → login_D-Z6bo6E.mjs} +1 -1
- package/dist/server/chunks/{new_QzmF9JQw.mjs → new_DpJfTahF.mjs} +2 -2
- package/dist/server/chunks/{new_BeqZaUZk.mjs → new_XOnqlHm3.mjs} +12 -10
- package/dist/server/chunks/{operations_CzDlpc-d.mjs → operations_0sYvzzNC.mjs} +2 -2
- package/dist/server/chunks/{pl_0Xe9Qom2.mjs → pl_DH5LKmVG.mjs} +1 -1
- package/dist/server/chunks/{plugins_Df0WEWyi.mjs → plugins_Clk92l6Q.mjs} +2 -2
- package/dist/server/chunks/{post-types_7UOUQOdJ.mjs → post-types_DziideHh.mjs} +40 -14
- package/dist/server/chunks/{pt-BR_DIZpU2Mk.mjs → pt-BR_CBnqy3xP.mjs} +47 -2
- package/dist/server/chunks/{resources_D5QYgIOn.mjs → resources_dPTDnpAf.mjs} +2 -2
- package/dist/server/chunks/{ru_DFvIxd0Y.mjs → ru_CFa1xYFr.mjs} +1 -1
- package/dist/server/chunks/{sw_CmaPgGYa.mjs → sw_QZf7NSsI.mjs} +1 -1
- package/dist/server/chunks/{taxonomies_DIuTYSy1.mjs → taxonomies_Bc6xPaKp.mjs} +2 -2
- package/dist/server/chunks/taxonomy_Cv4_KTTL.mjs +152 -0
- package/dist/server/chunks/{themes_DAbb-26x.mjs → themes_BRtDtEK7.mjs} +2 -2
- package/dist/server/chunks/{tr_B_acwl2e.mjs → tr_Fjry5R-K.mjs} +1 -1
- package/dist/server/chunks/{uk_DXnk4imL.mjs → uk_Bxc3qY45.mjs} +1 -1
- package/dist/server/chunks/{upload_Bbn1yjFV.mjs → upload_CB_L9tkU.mjs} +2 -2
- package/dist/server/chunks/{yo_DDQ8a-0v.mjs → yo_BARL-Qrh.mjs} +1 -1
- package/dist/server/chunks/{zh-CN_763uzTMQ.mjs → zh-CN_CkjPJL88.mjs} +1 -1
- package/dist/server/entry.mjs +129 -74
- package/dist/server/virtual_astro_middleware.mjs +1 -1
- package/package.json +6 -5
- package/dist/client/_astro/ContentEditor.CNU6JpC2.js +0 -1
- package/dist/client/_astro/ContentList.CND9xLTq.js +0 -1
- package/dist/client/_astro/DashboardHome.DYshyax_.js +0 -1
- package/dist/client/_astro/DashboardLayout.CUyl_vSg.css +0 -1
- package/dist/client/_astro/DashboardLayout.astro_astro_type_script_index_0_lang.D6MgCJGl.js +0 -1
- package/dist/client/_astro/PostTypesManager.QU-bDofy.js +0 -1
- package/dist/client/_astro/api.DD5u5p4h.js +0 -1
- package/dist/client/_astro/i18n.sRt_iZ5u.js +0 -1
- package/dist/client/_astro/pt-BR.CyQAHnXs.js +0 -1
- /package/dist/server/chunks/{BaseLayout_D1PbsjNG.mjs → BaseLayout_m8b8Eemd.mjs} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, p as addAttribute, s as renderSlot, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as renderScript, t as $$BaseLayout } from "./
|
|
5
|
-
import { a as LOCALE_LABELS, i as LOCALE_FLAGS, n as useTranslation, o as SUPPORTED_LOCALES, r as apiClient } from "./
|
|
4
|
+
import { n as renderScript, t as $$BaseLayout } from "./BaseLayout_m8b8Eemd.mjs";
|
|
5
|
+
import { a as LOCALE_LABELS, i as LOCALE_FLAGS, n as useTranslation, o as SUPPORTED_LOCALES, r as apiClient } from "./i18n_BqFK0MIW.mjs";
|
|
6
6
|
import { t as require_semver } from "./semver_WbqCUY_o.mjs";
|
|
7
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey, ssrStyle } from "solid-js/web";
|
|
8
8
|
import { For, For as For2, Show, Show as Show2, createMemo as createMemo$1, createSignal, createSignal as createSignal$1, onMount, onMount as onMount$1 } from "solid-js";
|
|
@@ -439,7 +439,7 @@ var _tmpl$8$1 = [
|
|
|
439
439
|
"<header",
|
|
440
440
|
" id=\"admin-bar\" role=\"banner\"><div class=\"admin-bar-left\"><a href=\"/\" class=\"admin-bar-brand\"",
|
|
441
441
|
"><svg viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\"><rect width=\"32\" height=\"32\" rx=\"8\" fill=\"url(#grad)\"></rect><path d=\"M8 10h16M8 16h12M8 22h8\" stroke=\"#0A0A0A\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><defs><linearGradient id=\"grad\" x1=\"0\" y1=\"0\" x2=\"32\" y2=\"32\" gradientUnits=\"userSpaceOnUse\"><stop offset=\"0%\" stop-color=\"#D8B45E\"></stop><stop offset=\"100%\" stop-color=\"#B99542\"></stop></linearGradient></defs></svg><span>OkCMS</span></a><div class=\"admin-bar-separator\"></div><nav class=\"admin-bar-menu\"",
|
|
442
|
-
"><a href=\"/content\" class=\"admin-bar-menu-item\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"></path><polyline points=\"14 2 14 8 20 8\"></polyline><line x1=\"16\" y1=\"13\" x2=\"8\" y2=\"13\"></line><line x1=\"16\" y1=\"17\" x2=\"8\" y2=\"17\"></line></svg><!--$-->",
|
|
442
|
+
"><a href=\"/content/post\" class=\"admin-bar-menu-item\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"></path><polyline points=\"14 2 14 8 20 8\"></polyline><line x1=\"16\" y1=\"13\" x2=\"8\" y2=\"13\"></line><line x1=\"16\" y1=\"17\" x2=\"8\" y2=\"17\"></line></svg><!--$-->",
|
|
443
443
|
"<!--/--></a><a href=\"/media\" class=\"admin-bar-menu-item\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\"></rect><circle cx=\"8.5\" cy=\"8.5\" r=\"1.5\"></circle><polyline points=\"21 15 16 10 5 21\"></polyline></svg><!--$-->",
|
|
444
444
|
"<!--/--></a><a href=\"/settings\" class=\"admin-bar-menu-item\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"3\"></circle><path d=\"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z\"></path></svg><!--$-->",
|
|
445
445
|
"<!--/--></a></nav></div><div class=\"admin-bar-right\"><div class=\"notifications-dropdown\"><button class=\"notifications-btn\"",
|
|
@@ -585,7 +585,7 @@ function AdminBar(props) {
|
|
|
585
585
|
/** Versão do release atual (ex.: "0.4.0"). */
|
|
586
586
|
var APP_VERSION = {
|
|
587
587
|
name: "okcms",
|
|
588
|
-
version: "0.4.
|
|
588
|
+
version: "0.4.20",
|
|
589
589
|
"private": true,
|
|
590
590
|
description: "Hybrid, modular, API-first CMS",
|
|
591
591
|
engines: {
|
|
@@ -612,7 +612,7 @@ var APP_VERSION = {
|
|
|
612
612
|
"publish:all": "node scripts/prepare-publish.mjs && for pkg in packages/* apps/api apps/admin apps/web apps/worker; do [ -f \"$pkg/package.json\" ] || continue; echo \"→ publishing $pkg\"; (cd \"$pkg\" && npm publish --access public) || exit 1; done"
|
|
613
613
|
},
|
|
614
614
|
devDependencies: {
|
|
615
|
-
"@oktis-works/cms": "^0.4.
|
|
615
|
+
"@oktis-works/cms": "^0.4.20",
|
|
616
616
|
"@changesets/changelog-github": "^1.0.1",
|
|
617
617
|
"@changesets/cli": "^3.0.3",
|
|
618
618
|
"@types/node": "22.0.0",
|
|
@@ -830,7 +830,7 @@ function QuickDraftWidget() {
|
|
|
830
830
|
get each() {
|
|
831
831
|
return drafts();
|
|
832
832
|
},
|
|
833
|
-
children: (draft) => ssr(_tmpl$7, ssrHydrationKey(), `/content/edit?id=${escape(draft.id, true)}`, escape(draft.title), escape(t("content.list.statuses.draft")), escape(formatDate(draft.updated_at)))
|
|
833
|
+
children: (draft) => ssr(_tmpl$7, ssrHydrationKey(), `/content/${escape(encodeURIComponent(draft.type || "post"), true)}/edit?id=${escape(draft.id, true)}`, escape(draft.title), escape(t("content.list.statuses.draft")), escape(formatDate(draft.updated_at)))
|
|
834
834
|
}))) : ssr(_tmpl$8, ssrHydrationKey(), escape(t("dashboard.widgets.quickDraft.noDrafts"))))), ssr(_tmpl$2$1, ssrHydrationKey())];
|
|
835
835
|
}
|
|
836
836
|
});
|
|
@@ -891,7 +891,7 @@ function ActivityWidget() {
|
|
|
891
891
|
},
|
|
892
892
|
description: `${item.status === "PUBLISHED" ? t("activity.published") : t("activity.updated")} "${item.title}"`,
|
|
893
893
|
timestamp: updatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
894
|
-
url: `/content/edit?id=${item.id}`
|
|
894
|
+
url: `/content/${encodeURIComponent(item.type || "post")}/edit?id=${item.id}`
|
|
895
895
|
});
|
|
896
896
|
});
|
|
897
897
|
for (const user of usersRes.data ?? []) activities.push({
|
|
@@ -1030,7 +1030,7 @@ var $$DashboardLayout = createComponent$1(($$result, $$props, $$slots) => {
|
|
|
1030
1030
|
"client:component-hydration": "load",
|
|
1031
1031
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/admin-bar/AdminBar.tsx",
|
|
1032
1032
|
"client:component-export": "AdminBar"
|
|
1033
|
-
})}${maybeRenderHead($$result)}<div class="layout" data-astro-cid-ynf3rr4n><!-- Sidebar colapsavel — o estado (body.sidebar-collapsed) e aplicado pelo script abaixo --><aside class="sidebar" data-astro-cid-ynf3rr4n><div class="sidebar-header" data-astro-cid-ynf3rr4n><span class="sidebar-collapsed-brand"${addAttribute(t("layout.appName"), "title")} data-astro-cid-ynf3rr4n><svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" width="28" height="28" data-astro-cid-ynf3rr4n><rect width="32" height="32" rx="8" fill="url(#grad)" data-astro-cid-ynf3rr4n></rect><path d="M8 10h16M8 16h12M8 22h8" stroke="#0A0A0A" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n></path><defs data-astro-cid-ynf3rr4n><linearGradient id="grad" x1="0" y1="0" x2="32" y2="32" gradientUnits="userSpaceOnUse" data-astro-cid-ynf3rr4n><stop offset="0%" stop-color="#D8B45E" data-astro-cid-ynf3rr4n></stop><stop offset="100%" stop-color="#B99542" data-astro-cid-ynf3rr4n></stop></linearGradient></defs></svg></span></div><nav class="sidebar-nav" data-astro-cid-ynf3rr4n><a href="/"${addAttribute(["nav-item", { active: navActive.dashboard }], "class:list")} data-astro-cid-ynf3rr4n><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n><rect x="3" y="3" width="7" height="7" data-astro-cid-ynf3rr4n></rect><rect x="14" y="3" width="7" height="7" data-astro-cid-ynf3rr4n></rect><rect x="14" y="14" width="7" height="7" data-astro-cid-ynf3rr4n></rect><rect x="3" y="14" width="7" height="7" data-astro-cid-ynf3rr4n></rect></svg><span class="nav-label" data-sidebar-i18n="layout.nav.dashboard" data-astro-cid-ynf3rr4n>${t("layout.nav.dashboard")}</span></a><
|
|
1033
|
+
})}${maybeRenderHead($$result)}<div class="layout" data-astro-cid-ynf3rr4n><!-- Sidebar colapsavel — o estado (body.sidebar-collapsed) e aplicado pelo script abaixo --><aside class="sidebar" data-astro-cid-ynf3rr4n><div class="sidebar-header" data-astro-cid-ynf3rr4n><span class="sidebar-collapsed-brand"${addAttribute(t("layout.appName"), "title")} data-astro-cid-ynf3rr4n><svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" width="28" height="28" data-astro-cid-ynf3rr4n><rect width="32" height="32" rx="8" fill="url(#grad)" data-astro-cid-ynf3rr4n></rect><path d="M8 10h16M8 16h12M8 22h8" stroke="#0A0A0A" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n></path><defs data-astro-cid-ynf3rr4n><linearGradient id="grad" x1="0" y1="0" x2="32" y2="32" gradientUnits="userSpaceOnUse" data-astro-cid-ynf3rr4n><stop offset="0%" stop-color="#D8B45E" data-astro-cid-ynf3rr4n></stop><stop offset="100%" stop-color="#B99542" data-astro-cid-ynf3rr4n></stop></linearGradient></defs></svg></span></div><nav class="sidebar-nav" data-astro-cid-ynf3rr4n><a href="/"${addAttribute(["nav-item", { active: navActive.dashboard }], "class:list")} data-astro-cid-ynf3rr4n><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n><rect x="3" y="3" width="7" height="7" data-astro-cid-ynf3rr4n></rect><rect x="14" y="3" width="7" height="7" data-astro-cid-ynf3rr4n></rect><rect x="14" y="14" width="7" height="7" data-astro-cid-ynf3rr4n></rect><rect x="3" y="14" width="7" height="7" data-astro-cid-ynf3rr4n></rect></svg><span class="nav-label" data-sidebar-i18n="layout.nav.dashboard" data-astro-cid-ynf3rr4n>${t("layout.nav.dashboard")}</span></a><div${addAttribute(["nav-group", { open: navActive.content }], "class:list")} data-nav-group="content" data-astro-cid-ynf3rr4n><div class="nav-group-header" data-astro-cid-ynf3rr4n><div${addAttribute(["nav-item", { active: navActive.content }], "class:list")} data-astro-cid-ynf3rr4n><i data-lucide="file-text" aria-hidden="true" data-astro-cid-ynf3rr4n></i><span class="nav-label" data-sidebar-i18n="layout.nav.content" data-astro-cid-ynf3rr4n>${t("layout.nav.content")}</span></div><button class="nav-group-toggle" type="button"${addAttribute(navActive.content ? "true" : "false", "aria-expanded")} aria-label="Toggle content menu" data-astro-cid-ynf3rr4n>⌄</button></div><div class="nav-submenu" data-astro-cid-ynf3rr4n><div data-post-types-menu data-astro-cid-ynf3rr4n></div></div></div><a href="/media"${addAttribute(["nav-item", { active: navActive.media }], "class:list")} data-astro-cid-ynf3rr4n><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n><rect x="3" y="3" width="18" height="18" rx="2" ry="2" data-astro-cid-ynf3rr4n></rect><circle cx="8.5" cy="8.5" r="1.5" data-astro-cid-ynf3rr4n></circle><polyline points="21 15 16 10 5 21" data-astro-cid-ynf3rr4n></polyline></svg><span class="nav-label" data-sidebar-i18n="layout.nav.media" data-astro-cid-ynf3rr4n>${t("layout.nav.media")}</span></a><a href="/users"${addAttribute(["nav-item", { active: navActive.users }], "class:list")} data-astro-cid-ynf3rr4n><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" data-astro-cid-ynf3rr4n></path><circle cx="9" cy="7" r="4" data-astro-cid-ynf3rr4n></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87" data-astro-cid-ynf3rr4n></path><path d="M16 3.13a4 4 0 0 1 0 7.75" data-astro-cid-ynf3rr4n></path></svg><span class="nav-label" data-sidebar-i18n="layout.nav.users" data-astro-cid-ynf3rr4n>${t("layout.nav.users")}</span></a><div${addAttribute(["nav-group", { open: navActive.settings }], "class:list")} data-nav-group="settings" data-astro-cid-ynf3rr4n><div class="nav-group-header" data-astro-cid-ynf3rr4n><a href="/settings"${addAttribute(["nav-item", { active: navActive.settings }], "class:list")} data-astro-cid-ynf3rr4n><svg class="settings-nav-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.38a2 2 0 0 0-.73-2.73l-.15-.09a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 0-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" data-astro-cid-ynf3rr4n></path><circle cx="12" cy="12" r="3" data-astro-cid-ynf3rr4n></circle></svg><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n><circle cx="12" cy="12" r="3" data-astro-cid-ynf3rr4n></circle><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06-.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1.82-.33l-.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0-2.83l-.06-.06a1.65 1.65 0 0 0-.33-1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" data-astro-cid-ynf3rr4n></path></svg><span class="nav-label" data-sidebar-i18n="layout.nav.settings" data-astro-cid-ynf3rr4n>${t("layout.nav.settings")}</span></a><button class="nav-group-toggle" type="button"${addAttribute(navActive.settings ? "true" : "false", "aria-expanded")} aria-label="Toggle settings menu" data-astro-cid-ynf3rr4n>⌄</button></div><!-- Submenu de configurações fica agrupado diretamente sob Settings. --><div class="nav-submenu" data-astro-cid-ynf3rr4n>${settingsChildren.map((child) => renderTemplate`<a${addAttribute(child.href, "href")}${addAttribute(["nav-subitem", { active: child.active }], "class:list")}${addAttribute(child.key, "data-sidebar-i18n")} data-astro-cid-ynf3rr4n>${t(child.key)}</a>`)}</div></div><a href="/plugins"${addAttribute(["nav-item", { active: navActive.plugins }], "class:list")} data-astro-cid-ynf3rr4n><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n><rect x="2" y="2" width="20" height="20" rx="2" ry="2" data-astro-cid-ynf3rr4n></rect><path d="M15 7h4a2 2 0 0 1 2 2v4" data-astro-cid-ynf3rr4n></path><path d="M9 17H5a2 2 0 0 1-2-2V9" data-astro-cid-ynf3rr4n></path><line x1="8" y1="12" x2="16" y2="12" data-astro-cid-ynf3rr4n></line></svg><span class="nav-label" data-sidebar-i18n="layout.nav.plugins" data-astro-cid-ynf3rr4n>${t("layout.nav.plugins")}</span></a><a href="/themes"${addAttribute(["nav-item", { active: navActive.themes }], "class:list")} data-astro-cid-ynf3rr4n><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-ynf3rr4n><circle cx="12" cy="12" r="10" data-astro-cid-ynf3rr4n></circle><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" data-astro-cid-ynf3rr4n></path><path d="M2 12h20" data-astro-cid-ynf3rr4n></path></svg><span class="nav-label" data-sidebar-i18n="layout.nav.themes" data-astro-cid-ynf3rr4n>${t("layout.nav.themes")}</span></a><!-- D1: slots de extensao — paginas de menu declaradas por plugins ativos -->${renderComponent($$result, "PluginExtensionsSlot", PluginExtensionsSlot, {
|
|
1034
1034
|
"client:load": true,
|
|
1035
1035
|
"data-astro-cid-ynf3rr4n": true,
|
|
1036
1036
|
"client:component-hydration": "load",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
2
|
-
import { a as For2, c as Select, f as createSignal, l as Show2, o as Input, p as onMount, r as Button, s as Pagination } from "./
|
|
1
|
+
import { n as useTranslation, r as apiClient } from "./i18n_BqFK0MIW.mjs";
|
|
2
|
+
import { a as For2, c as Select, f as createSignal, l as Show2, o as Input, p as onMount, r as Button, s as Pagination } from "./DashboardLayout_09DepSVn.mjs";
|
|
3
3
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
|
|
4
4
|
//#region src/components/media/MediaLibrary.tsx
|
|
5
5
|
var _tmpl$ = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
1
|
+
import { n as useTranslation, r as apiClient } from "./i18n_BqFK0MIW.mjs";
|
|
2
2
|
import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
3
3
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
4
4
|
//#region src/components/apps/settings/ResourceHubs.tsx
|
|
@@ -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, p as addAttribute, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_09DepSVn.mjs";
|
|
5
5
|
//#region src/pages/plugins/[slug].astro
|
|
6
6
|
var _slug__exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
default: () => $$Slug,
|
|
@@ -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 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as AccessManager } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_09DepSVn.mjs";
|
|
5
|
+
import { t as AccessManager } from "./ResourceHubs_Dwb0xyPZ.mjs";
|
|
6
6
|
//#region src/pages/settings/access.astro
|
|
7
7
|
var access_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
default: () => $$Access,
|
|
@@ -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_BqFK0MIW.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_09DepSVn.mjs";
|
|
6
6
|
import { t as FieldTypePicker } from "./FieldTypePicker_CXwpmcQ3.mjs";
|
|
7
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
import { For, Show, createMemo, createSignal, onMount } from "solid-js";
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as ContentEditor } from "./
|
|
6
|
-
//#region src/pages/content/edit.astro
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_09DepSVn.mjs";
|
|
5
|
+
import { t as ContentEditor } from "./ContentEditor_DS7flRjR.mjs";
|
|
6
|
+
//#region src/pages/content/[type]/edit.astro
|
|
7
7
|
var edit_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
default: () => $$Edit,
|
|
9
9
|
file: () => $$file,
|
|
@@ -14,21 +14,23 @@ var $$Edit = createComponent(($$result, $$props, $$slots) => {
|
|
|
14
14
|
const Astro = $$result.createAstro($$props, $$slots);
|
|
15
15
|
Astro.self = $$Edit;
|
|
16
16
|
const { t } = Astro.locals;
|
|
17
|
+
const contentType = Astro.params.type ?? "post";
|
|
17
18
|
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
18
19
|
"title": t("content.editor.save"),
|
|
19
|
-
"data-astro-cid-
|
|
20
|
-
}, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="editor-page" data-astro-cid-
|
|
20
|
+
"data-astro-cid-w7izymzk": true
|
|
21
|
+
}, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="editor-page" data-astro-cid-w7izymzk>${renderComponent($$result, "ContentEditor", ContentEditor, {
|
|
21
22
|
"client:load": true,
|
|
22
|
-
"
|
|
23
|
+
"initialType": contentType,
|
|
24
|
+
"data-astro-cid-w7izymzk": true,
|
|
23
25
|
"client:component-hydration": "load",
|
|
24
26
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/content/ContentEditor.tsx",
|
|
25
27
|
"client:component-export": "ContentEditor"
|
|
26
28
|
})}</div>` })}`;
|
|
27
|
-
}, "/home/runner/work/cms/cms/apps/admin/src/pages/content/edit.astro", void 0);
|
|
28
|
-
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/content/edit.astro";
|
|
29
|
-
var $$url = "/content/edit";
|
|
29
|
+
}, "/home/runner/work/cms/cms/apps/admin/src/pages/content/[type]/edit.astro", void 0);
|
|
30
|
+
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/content/[type]/edit.astro";
|
|
31
|
+
var $$url = "/content/[type]/edit";
|
|
30
32
|
//#endregion
|
|
31
|
-
//#region \0virtual:astro:page:src/pages/content/edit@_@astro
|
|
33
|
+
//#region \0virtual:astro:page:src/pages/content/[type]/edit@_@astro
|
|
32
34
|
var page = () => edit_exports;
|
|
33
35
|
//#endregion
|
|
34
36
|
export { page };
|
|
@@ -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 { c as Select, d as createMemo, f as createSignal, i as Card, l as Show2, o as Input, p as onMount, r as Button, t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_BqFK0MIW.mjs";
|
|
5
|
+
import { c as Select, d as createMemo, f as createSignal, i as Card, l as Show2, o as Input, p as onMount, r as Button, t as $$DashboardLayout } from "./DashboardLayout_09DepSVn.mjs";
|
|
6
6
|
import { createComponent, escape, memo, ssr, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
//#region src/components/apps/settings/GeneralSettings.tsx
|
|
8
8
|
var _tmpl$ = [
|
|
@@ -83,20 +83,20 @@ async function loadLocale(locale) {
|
|
|
83
83
|
if (localeCache.has(locale)) return localeCache.get(locale);
|
|
84
84
|
try {
|
|
85
85
|
const module = await _rolldown_dynamic_import_helper_default(/* #__PURE__ */ Object.assign({
|
|
86
|
-
"./locales/ar.json": () => import("./
|
|
86
|
+
"./locales/ar.json": () => import("./ar_B0LfQbpu.mjs"),
|
|
87
87
|
"./locales/en.json": () => Promise.resolve().then(() => en_exports),
|
|
88
|
-
"./locales/es-ES.json": () => import("./es-
|
|
89
|
-
"./locales/he.json": () => import("./
|
|
90
|
-
"./locales/it.json": () => import("./
|
|
91
|
-
"./locales/ja.json": () => import("./
|
|
92
|
-
"./locales/pl.json": () => import("./
|
|
93
|
-
"./locales/pt-BR.json": () => import("./pt-
|
|
94
|
-
"./locales/ru.json": () => import("./
|
|
95
|
-
"./locales/sw.json": () => import("./
|
|
96
|
-
"./locales/tr.json": () => import("./
|
|
97
|
-
"./locales/uk.json": () => import("./
|
|
98
|
-
"./locales/yo.json": () => import("./
|
|
99
|
-
"./locales/zh-CN.json": () => import("./zh-
|
|
88
|
+
"./locales/es-ES.json": () => import("./es-ES_dBEm2FNw.mjs"),
|
|
89
|
+
"./locales/he.json": () => import("./he_DRWoI1A5.mjs"),
|
|
90
|
+
"./locales/it.json": () => import("./it_BDY3lerP.mjs"),
|
|
91
|
+
"./locales/ja.json": () => import("./ja_C-EybQiV.mjs"),
|
|
92
|
+
"./locales/pl.json": () => import("./pl_DH5LKmVG.mjs"),
|
|
93
|
+
"./locales/pt-BR.json": () => import("./pt-BR_CBnqy3xP.mjs"),
|
|
94
|
+
"./locales/ru.json": () => import("./ru_CFa1xYFr.mjs"),
|
|
95
|
+
"./locales/sw.json": () => import("./sw_QZf7NSsI.mjs"),
|
|
96
|
+
"./locales/tr.json": () => import("./tr_Fjry5R-K.mjs"),
|
|
97
|
+
"./locales/uk.json": () => import("./uk_Bxc3qY45.mjs"),
|
|
98
|
+
"./locales/yo.json": () => import("./yo_BARL-Qrh.mjs"),
|
|
99
|
+
"./locales/zh-CN.json": () => import("./zh-CN_CkjPJL88.mjs")
|
|
100
100
|
}), `./locales/${locale}.json`, 3);
|
|
101
101
|
const translations = module.default ?? module;
|
|
102
102
|
localeCache.set(locale, translations);
|
|
@@ -317,6 +317,10 @@ var ApiClient = class {
|
|
|
317
317
|
async getContentById(id) {
|
|
318
318
|
return this.request("GET", `/api/v1/content/${id}`);
|
|
319
319
|
}
|
|
320
|
+
async getSingletonContent(type) {
|
|
321
|
+
const response = await this.request("GET", `/api/v1/content/singleton/${encodeURIComponent(type)}`);
|
|
322
|
+
return "content" in response ? response.content : response;
|
|
323
|
+
}
|
|
320
324
|
async createContent(data) {
|
|
321
325
|
return this.request("POST", `/api/v1/content`, data);
|
|
322
326
|
}
|
|
@@ -795,6 +799,7 @@ var content = {
|
|
|
795
799
|
"list": {
|
|
796
800
|
"title": "Content",
|
|
797
801
|
"description": "Search, filter, edit and publish your content.",
|
|
802
|
+
"typeNotFound": "This content type was not found.",
|
|
798
803
|
"columns": {
|
|
799
804
|
"title": "Title",
|
|
800
805
|
"type": "Type",
|
|
@@ -814,8 +819,10 @@ var content = {
|
|
|
814
819
|
},
|
|
815
820
|
"buttons": {
|
|
816
821
|
"new": "+ New content",
|
|
822
|
+
"addNew": "+ Add new",
|
|
817
823
|
"search": "Search"
|
|
818
824
|
},
|
|
825
|
+
"all": "All content",
|
|
819
826
|
"empty": "No content found.",
|
|
820
827
|
"statuses": {
|
|
821
828
|
"draft": "Draft",
|
|
@@ -830,10 +837,23 @@ var content = {
|
|
|
830
837
|
},
|
|
831
838
|
"editor": {
|
|
832
839
|
"type": "Type",
|
|
840
|
+
"adding": "Add new",
|
|
841
|
+
"editing": "Edit",
|
|
842
|
+
"backToList": "Back to list",
|
|
843
|
+
"saving": "Saving…",
|
|
833
844
|
"title": "Title",
|
|
845
|
+
"titlePlaceholder": "Add title",
|
|
834
846
|
"slug": "Slug",
|
|
847
|
+
"slugPlaceholder": "auto-generated-from-title",
|
|
848
|
+
"toolbar": "Editor toolbar",
|
|
849
|
+
"bodyPlaceholder": "Start writing…",
|
|
850
|
+
"linkPrompt": "Enter the URL:",
|
|
835
851
|
"excerpt": "Excerpt",
|
|
836
852
|
"featuredImage": "Featured Image (media ID)",
|
|
853
|
+
"mediaIdPlaceholder": "Media ID",
|
|
854
|
+
"featuredImageHint": "Choose a media item from the Media library.",
|
|
855
|
+
"pageAttributes": "Page attributes",
|
|
856
|
+
"publishPanel": "Publish",
|
|
837
857
|
"status": "Status",
|
|
838
858
|
"statusOptions": {
|
|
839
859
|
"draft": "Draft",
|
|
@@ -846,6 +866,22 @@ var content = {
|
|
|
846
866
|
"inspectTypes": "Inspect available types",
|
|
847
867
|
"save": "Save",
|
|
848
868
|
"saved": "Content saved successfully."
|
|
869
|
+
},
|
|
870
|
+
"taxonomy": {
|
|
871
|
+
"title": "Taxonomy terms",
|
|
872
|
+
"back": "← Back to content",
|
|
873
|
+
"choose": "Choose a taxonomy from the content menu.",
|
|
874
|
+
"notFound": "Taxonomy not found.",
|
|
875
|
+
"addTerm": "Add new term",
|
|
876
|
+
"name": "Name",
|
|
877
|
+
"slug": "Slug",
|
|
878
|
+
"description": "Description",
|
|
879
|
+
"descriptionHint": "Manage the terms used by this content type.",
|
|
880
|
+
"attachedTo": "Attached to",
|
|
881
|
+
"add": "Add term",
|
|
882
|
+
"delete": "Delete",
|
|
883
|
+
"empty": "No terms yet.",
|
|
884
|
+
"confirmDelete": "Delete \"{name}\"?"
|
|
849
885
|
}
|
|
850
886
|
};
|
|
851
887
|
var media = {
|
|
@@ -984,6 +1020,12 @@ var settings = {
|
|
|
984
1020
|
"revisions": "Revisions"
|
|
985
1021
|
},
|
|
986
1022
|
"hasArchive": "Has public archive (/slug)",
|
|
1023
|
+
"singleton": "Singleton (only one content entry)",
|
|
1024
|
+
"icon": "Sidebar icon (Lucide name)",
|
|
1025
|
+
"iconHint": "Examples: box, package, shopping-bag, file-text",
|
|
1026
|
+
"editTitle": "Edit Content Type",
|
|
1027
|
+
"update": "Update",
|
|
1028
|
+
"cancel": "Cancel",
|
|
987
1029
|
"create": "Create"
|
|
988
1030
|
},
|
|
989
1031
|
"table": {
|
|
@@ -993,7 +1035,14 @@ var settings = {
|
|
|
993
1035
|
"source": "Source",
|
|
994
1036
|
"supports": "Supports",
|
|
995
1037
|
"archive": "Archive",
|
|
996
|
-
"
|
|
1038
|
+
"mode": "Mode",
|
|
1039
|
+
"singleton": "Singleton",
|
|
1040
|
+
"collection": "Collection",
|
|
1041
|
+
"icon": "Icon",
|
|
1042
|
+
"actions": {
|
|
1043
|
+
"edit": "Edit",
|
|
1044
|
+
"remove": "Remove"
|
|
1045
|
+
}
|
|
997
1046
|
},
|
|
998
1047
|
"sources": {
|
|
999
1048
|
"admin": "Admin",
|
|
@@ -1286,7 +1335,7 @@ var footer = {
|
|
|
1286
1335
|
"github": "GitHub",
|
|
1287
1336
|
"docs": "Documentation",
|
|
1288
1337
|
"community": "Community",
|
|
1289
|
-
"poweredBy": "Powered by
|
|
1338
|
+
"poweredBy": "Powered by Oktis Works"
|
|
1290
1339
|
};
|
|
1291
1340
|
var helpTabs = {
|
|
1292
1341
|
"title": "Help",
|
|
@@ -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 { t as $$DashboardLayout } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_09DepSVn.mjs";
|
|
5
5
|
//#region src/pages/settings/index.astro
|
|
6
6
|
var settings_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
default: () => $$Index,
|