@oktis-works/admin 0.4.18 → 0.4.19
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.DGLCPDgH.js} +1 -1
- package/dist/client/_astro/{AdminBar.CeAqY2Nn.js → AdminBar.Cj9iKizr.js} +1 -1
- package/dist/client/_astro/{AtGlanceWidget.ClnyPmqR.js → AtGlanceWidget.B1bDhxvN.js} +1 -1
- package/dist/client/_astro/{BaseLayout.B3A9-IS6.css → BaseLayout.Y8xW22CP.css} +1 -1
- package/dist/client/_astro/ContentEditor.SP4PO6Pb.js +3 -0
- package/dist/client/_astro/ContentList.o2zVu57t.js +1 -0
- package/dist/client/_astro/{CustomFieldsManager.BZAwLlD7.js → CustomFieldsManager.CvWD3R1q.js} +1 -1
- package/dist/client/_astro/{DashboardHome.DYshyax_.js → DashboardHome.DnCbpnkg.js} +1 -1
- package/dist/client/_astro/DashboardLayout.BOoRKX4v.css +1 -0
- package/dist/client/_astro/DashboardLayout.astro_astro_type_script_index_0_lang.7Kcbf7KO.js +1 -0
- package/dist/client/_astro/{Footer.B8DQezwj.js → Footer.BqzSGnHm.js} +1 -1
- package/dist/client/_astro/{GeneralSettings.DzzIY4EJ.js → GeneralSettings.Ditcyy4b.js} +1 -1
- package/dist/client/_astro/{MediaLibrary.CB2vN3WX.js → MediaLibrary.qzwN-LI5.js} +1 -1
- package/dist/client/_astro/{PluginManager.CZnOmZ4H.js → PluginManager.DEkeX_0Z.js} +1 -1
- package/dist/client/_astro/{PostTypesManager.QU-bDofy.js → PostTypesManager.CGYbeXgb.js} +1 -1
- package/dist/client/_astro/{QuickDraftWidget.B8sKln0S.js → QuickDraftWidget.xoJjOM58.js} +1 -1
- package/dist/client/_astro/{ResourceHubs.gibltbet.js → ResourceHubs.BHlRlPvI.js} +1 -1
- package/dist/client/_astro/{TaxonomiesManager.BVGc-hS0.js → TaxonomiesManager.DKQAGS8n.js} +1 -1
- package/dist/client/_astro/TaxonomyTermsManager.CyB7XH-D.js +1 -0
- package/dist/client/_astro/{ThemeManager.b7xZdz4_.js → ThemeManager.BBKCx5pa.js} +1 -1
- package/dist/client/_astro/{UserCreateForm.By8e9stC.js → UserCreateForm.BDsHkQYW.js} +1 -1
- package/dist/client/_astro/{UsersManager.M8WCxyOI.js → UsersManager.DeQ4uL3a.js} +1 -1
- 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.DLE6XtMB.js} +1 -1
- package/dist/client/_astro/{he.U1Vtp3zT.js → he.DfZ0ZzM-.js} +1 -1
- package/dist/client/_astro/i18n.JWFhLjfn.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/{pl.Dsz-4G_z.js → pl.CRExzLlj.js} +1 -1
- package/dist/client/_astro/pt-BR.CGjPpous.js +1 -0
- package/dist/client/_astro/{ru.CwIIcTdy.js → ru.CWV-tkZ3.js} +1 -1
- package/dist/client/_astro/{src.DmjGg1I5.js → src.lFTwiz1W.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.Cwfv80ER.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_CxZJjeXR.mjs} +423 -87
- package/dist/server/chunks/{DashboardLayout_svhEj8jj.mjs → DashboardLayout_DCIiRkcO.mjs} +5 -5
- package/dist/server/chunks/{MediaLibrary_BCzLRYs6.mjs → MediaLibrary_azhfNs4N.mjs} +2 -2
- package/dist/server/chunks/{ResourceHubs_BH3vCwma.mjs → ResourceHubs_BJMX1AJR.mjs} +1 -1
- package/dist/server/chunks/{_slug__qrjLegLj.mjs → _slug__BEfbBGa_.mjs} +1 -1
- package/dist/server/chunks/{access_DSLRN3qH.mjs → access_DNxcWCO1.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_DI9f2Pqi.mjs} +2 -2
- package/dist/server/chunks/{edit_CmOvfpRE.mjs → edit_3GtD2cva.mjs} +4 -2
- package/dist/server/chunks/{es-ES_DZvHskAD.mjs → es-ES_dBEm2FNw.mjs} +1 -1
- package/dist/server/chunks/{general_DDYnR_op.mjs → general_CbiPNS7I.mjs} +2 -2
- package/dist/server/chunks/{he_zy3stNhR.mjs → he_DRWoI1A5.mjs} +1 -1
- package/dist/server/chunks/{i18n_BKVjk7jX.mjs → i18n_DIBvEjfq.mjs} +45 -14
- package/dist/server/chunks/{index_w8inlUI7.mjs → index_BZJqnzEO.mjs} +34 -31
- package/dist/server/chunks/{index_DdCS_Yn8.mjs → index_BcV8TVEC.mjs} +2 -2
- package/dist/server/chunks/{index_eYmi9sSz.mjs → index_C3amWOJX.mjs} +1 -1
- package/dist/server/chunks/{index_BTLdKNys.mjs → index_CTJw_OsD.mjs} +2 -2
- package/dist/server/chunks/{index_DBrNG14W.mjs → index_kTsjYnf7.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_BeqZaUZk.mjs → new_Dg9ykZGm.mjs} +4 -2
- package/dist/server/chunks/{new_QzmF9JQw.mjs → new_uLMmBd95.mjs} +2 -2
- package/dist/server/chunks/{operations_CzDlpc-d.mjs → operations_vnv5cnws.mjs} +2 -2
- package/dist/server/chunks/{pl_0Xe9Qom2.mjs → pl_DH5LKmVG.mjs} +1 -1
- package/dist/server/chunks/{plugins_Df0WEWyi.mjs → plugins_pNXwbZGI.mjs} +2 -2
- package/dist/server/chunks/{post-types_7UOUQOdJ.mjs → post-types_g7oMw8xZ.mjs} +2 -2
- package/dist/server/chunks/{pt-BR_DIZpU2Mk.mjs → pt-BR_BM0FS26r.mjs} +32 -1
- package/dist/server/chunks/{resources_D5QYgIOn.mjs → resources_DhbyXd_o.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_CX8h73Lt.mjs} +2 -2
- package/dist/server/chunks/taxonomy_D8om_RNg.mjs +152 -0
- package/dist/server/chunks/{themes_DAbb-26x.mjs → themes_JX5WVf2J.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_r2qJskLo.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 +70 -39
- package/dist/server/virtual_astro_middleware.mjs +1 -1
- package/package.json +1 -1
- package/dist/client/_astro/ContentEditor.CNU6JpC2.js +0 -1
- package/dist/client/_astro/ContentList.CND9xLTq.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/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_DIBvEjfq.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";
|
|
@@ -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.19",
|
|
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.19",
|
|
616
616
|
"@changesets/changelog-github": "^1.0.1",
|
|
617
617
|
"@changesets/cli": "^3.0.3",
|
|
618
618
|
"@types/node": "22.0.0",
|
|
@@ -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><a href="/content"${addAttribute(["nav-item", { active: navActive.content }], "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="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" data-astro-cid-ynf3rr4n></path><polyline points="14 2 14 8 20 8" data-astro-cid-ynf3rr4n></polyline><line x1="16" y1="13" x2="8" y2="13" data-astro-cid-ynf3rr4n></line><line x1="16" y1="17" x2="8" y2="17" data-astro-cid-ynf3rr4n></line><polyline points="10 9 9 9 8 9" data-astro-cid-ynf3rr4n></polyline></svg><span class="nav-label" data-sidebar-i18n="layout.nav.content" data-astro-cid-ynf3rr4n>${t("layout.nav.content")}</span></a><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><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><!-- 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><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, {
|
|
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><a href="/content"${addAttribute(["nav-item", { active: navActive.content }], "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="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" data-astro-cid-ynf3rr4n></path><polyline points="14 2 14 8 20 8" data-astro-cid-ynf3rr4n></polyline><line x1="16" y1="13" x2="8" y2="13" data-astro-cid-ynf3rr4n></line><line x1="16" y1="17" x2="8" y2="17" data-astro-cid-ynf3rr4n></line><polyline points="10 9 9 9 8 9" data-astro-cid-ynf3rr4n></polyline></svg><span class="nav-label" data-sidebar-i18n="layout.nav.content" data-astro-cid-ynf3rr4n>${t("layout.nav.content")}</span></a><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><a class="nav-subitem" href="/content" data-sidebar-i18n="content.list.all" data-astro-cid-ynf3rr4n>All content</a><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_DIBvEjfq.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_DCIiRkcO.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_DIBvEjfq.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_DCIiRkcO.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_DCIiRkcO.mjs";
|
|
5
|
+
import { t as AccessManager } from "./ResourceHubs_BJMX1AJR.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_DIBvEjfq.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.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,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 ContentEditor } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.mjs";
|
|
5
|
+
import { t as ContentEditor } from "./ContentEditor_CxZJjeXR.mjs";
|
|
6
6
|
//#region src/pages/content/edit.astro
|
|
7
7
|
var edit_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
default: () => $$Edit,
|
|
@@ -14,11 +14,13 @@ 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 initialType = Astro.url.searchParams.get("type") ?? void 0;
|
|
17
18
|
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
18
19
|
"title": t("content.editor.save"),
|
|
19
20
|
"data-astro-cid-4zhgedtj": true
|
|
20
21
|
}, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="editor-page" data-astro-cid-4zhgedtj>${renderComponent($$result, "ContentEditor", ContentEditor, {
|
|
21
22
|
"client:load": true,
|
|
23
|
+
"initialType": initialType,
|
|
22
24
|
"data-astro-cid-4zhgedtj": true,
|
|
23
25
|
"client:component-hydration": "load",
|
|
24
26
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/content/ContentEditor.tsx",
|
|
@@ -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_DIBvEjfq.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_DCIiRkcO.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_BM0FS26r.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);
|
|
@@ -814,8 +814,10 @@ var content = {
|
|
|
814
814
|
},
|
|
815
815
|
"buttons": {
|
|
816
816
|
"new": "+ New content",
|
|
817
|
+
"addNew": "+ Add new",
|
|
817
818
|
"search": "Search"
|
|
818
819
|
},
|
|
820
|
+
"all": "All content",
|
|
819
821
|
"empty": "No content found.",
|
|
820
822
|
"statuses": {
|
|
821
823
|
"draft": "Draft",
|
|
@@ -830,10 +832,23 @@ var content = {
|
|
|
830
832
|
},
|
|
831
833
|
"editor": {
|
|
832
834
|
"type": "Type",
|
|
835
|
+
"adding": "Add new",
|
|
836
|
+
"editing": "Edit",
|
|
837
|
+
"backToList": "Back to list",
|
|
838
|
+
"saving": "Saving…",
|
|
833
839
|
"title": "Title",
|
|
840
|
+
"titlePlaceholder": "Add title",
|
|
834
841
|
"slug": "Slug",
|
|
842
|
+
"slugPlaceholder": "auto-generated-from-title",
|
|
843
|
+
"toolbar": "Editor toolbar",
|
|
844
|
+
"bodyPlaceholder": "Start writing…",
|
|
845
|
+
"linkPrompt": "Enter the URL:",
|
|
835
846
|
"excerpt": "Excerpt",
|
|
836
847
|
"featuredImage": "Featured Image (media ID)",
|
|
848
|
+
"mediaIdPlaceholder": "Media ID",
|
|
849
|
+
"featuredImageHint": "Choose a media item from the Media library.",
|
|
850
|
+
"pageAttributes": "Page attributes",
|
|
851
|
+
"publishPanel": "Publish",
|
|
837
852
|
"status": "Status",
|
|
838
853
|
"statusOptions": {
|
|
839
854
|
"draft": "Draft",
|
|
@@ -846,6 +861,22 @@ var content = {
|
|
|
846
861
|
"inspectTypes": "Inspect available types",
|
|
847
862
|
"save": "Save",
|
|
848
863
|
"saved": "Content saved successfully."
|
|
864
|
+
},
|
|
865
|
+
"taxonomy": {
|
|
866
|
+
"title": "Taxonomy terms",
|
|
867
|
+
"back": "← Back to content",
|
|
868
|
+
"choose": "Choose a taxonomy from the content menu.",
|
|
869
|
+
"notFound": "Taxonomy not found.",
|
|
870
|
+
"addTerm": "Add new term",
|
|
871
|
+
"name": "Name",
|
|
872
|
+
"slug": "Slug",
|
|
873
|
+
"description": "Description",
|
|
874
|
+
"descriptionHint": "Manage the terms used by this content type.",
|
|
875
|
+
"attachedTo": "Attached to",
|
|
876
|
+
"add": "Add term",
|
|
877
|
+
"delete": "Delete",
|
|
878
|
+
"empty": "No terms yet.",
|
|
879
|
+
"confirmDelete": "Delete \"{name}\"?"
|
|
849
880
|
}
|
|
850
881
|
};
|
|
851
882
|
var media = {
|
|
@@ -1286,7 +1317,7 @@ var footer = {
|
|
|
1286
1317
|
"github": "GitHub",
|
|
1287
1318
|
"docs": "Documentation",
|
|
1288
1319
|
"community": "Community",
|
|
1289
|
-
"poweredBy": "Powered by
|
|
1320
|
+
"poweredBy": "Powered by Oktis Works"
|
|
1290
1321
|
};
|
|
1291
1322
|
var helpTabs = {
|
|
1292
1323
|
"title": "Help",
|
|
@@ -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$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { c as Select, i as Card, n as Badge, o as Input, r as Button, s as Pagination, t as $$DashboardLayout, u as Table } from "./
|
|
6
|
-
import { createComponent, escape, ssr, ssrHydrationKey } from "solid-js/web";
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_DIBvEjfq.mjs";
|
|
5
|
+
import { c as Select, i as Card, n as Badge, o as Input, r as Button, s as Pagination, t as $$DashboardLayout, u as Table } from "./DashboardLayout_DCIiRkcO.mjs";
|
|
6
|
+
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { Show, createMemo, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/content/ContentList.tsx
|
|
9
9
|
var _tmpl$ = [
|
|
@@ -20,24 +20,31 @@ var _tmpl$2 = [
|
|
|
20
20
|
"<!--/--></div>"
|
|
21
21
|
];
|
|
22
22
|
var _tmpl$3 = [
|
|
23
|
+
"<a",
|
|
24
|
+
" class=\"btn btn-primary\"",
|
|
25
|
+
">",
|
|
26
|
+
"</a>"
|
|
27
|
+
];
|
|
28
|
+
var _tmpl$4 = [
|
|
23
29
|
"<div",
|
|
24
30
|
" class=\"notice notice--error\">",
|
|
25
31
|
"</div>"
|
|
26
32
|
];
|
|
27
|
-
var _tmpl$
|
|
33
|
+
var _tmpl$5 = [
|
|
28
34
|
"<div",
|
|
29
35
|
" class=\"notice\">",
|
|
30
36
|
"</div>"
|
|
31
37
|
];
|
|
32
|
-
var _tmpl$
|
|
38
|
+
var _tmpl$6 = [
|
|
33
39
|
"<div",
|
|
34
|
-
" class=\"content-list\"
|
|
40
|
+
" class=\"content-list\"><div class=\"content-list__heading\"><div><h2>",
|
|
41
|
+
"</h2><p class=\"muted\">",
|
|
42
|
+
"</p></div><!--$-->",
|
|
43
|
+
"<!--/--></div><!--$-->",
|
|
35
44
|
"<!--/--><!--$-->",
|
|
36
45
|
"<!--/--><div class=\"toolbar\"><!--$-->",
|
|
37
46
|
"<!--/--><!--$-->",
|
|
38
47
|
"<!--/--><!--$-->",
|
|
39
|
-
"<!--/--><a class=\"btn btn-primary\" href=\"/content/new\">",
|
|
40
|
-
"</a><!--$-->",
|
|
41
48
|
"<!--/--></div><!--$-->",
|
|
42
49
|
"<!--/--></div>"
|
|
43
50
|
];
|
|
@@ -79,11 +86,18 @@ function ContentList() {
|
|
|
79
86
|
}
|
|
80
87
|
};
|
|
81
88
|
onMount(async () => {
|
|
89
|
+
const query = new URLSearchParams(window.location.search);
|
|
90
|
+
setType(query.get("type") ?? "");
|
|
91
|
+
setStatus(query.get("status") ?? "");
|
|
92
|
+
setSearch(query.get("search") ?? "");
|
|
82
93
|
await load();
|
|
83
94
|
try {
|
|
84
95
|
setTypes(await apiClient.getContentTypes());
|
|
85
96
|
} catch {}
|
|
86
97
|
});
|
|
98
|
+
const activeType = createMemo(() => types().find((entry) => entry.slug === type()));
|
|
99
|
+
const pageTitle = createMemo(() => activeType()?.pluralLabel || t("content.list.title"));
|
|
100
|
+
const newContentHref = createMemo(() => `/content/new?type=${encodeURIComponent(type() || "post")}`);
|
|
87
101
|
const searchNow = async () => {
|
|
88
102
|
setPage(1);
|
|
89
103
|
await load();
|
|
@@ -165,19 +179,26 @@ function ContentList() {
|
|
|
165
179
|
}
|
|
166
180
|
}
|
|
167
181
|
]);
|
|
168
|
-
return ssr(_tmpl$
|
|
182
|
+
return ssr(_tmpl$6, ssrHydrationKey(), escape(pageTitle()), escape(t("content.list.description")), escape(createComponent(Show, {
|
|
183
|
+
get when() {
|
|
184
|
+
return type();
|
|
185
|
+
},
|
|
186
|
+
get children() {
|
|
187
|
+
return ssr(_tmpl$3, ssrHydrationKey(), ssrAttribute("href", escape(newContentHref(), true), false), escape(t("content.list.buttons.addNew")));
|
|
188
|
+
}
|
|
189
|
+
})), escape(createComponent(Show, {
|
|
169
190
|
get when() {
|
|
170
191
|
return error();
|
|
171
192
|
},
|
|
172
193
|
get children() {
|
|
173
|
-
return ssr(_tmpl$
|
|
194
|
+
return ssr(_tmpl$4, ssrHydrationKey(), escape(error()));
|
|
174
195
|
}
|
|
175
196
|
})), escape(createComponent(Show, {
|
|
176
197
|
get when() {
|
|
177
198
|
return info();
|
|
178
199
|
},
|
|
179
200
|
get children() {
|
|
180
|
-
return ssr(_tmpl$
|
|
201
|
+
return ssr(_tmpl$5, ssrHydrationKey(), escape(info()));
|
|
181
202
|
}
|
|
182
203
|
})), escape(createComponent(Input, {
|
|
183
204
|
name: "search",
|
|
@@ -191,24 +212,6 @@ function ContentList() {
|
|
|
191
212
|
setSearch(value);
|
|
192
213
|
searchNow();
|
|
193
214
|
}
|
|
194
|
-
})), escape(createComponent(Select, {
|
|
195
|
-
name: "type",
|
|
196
|
-
get placeholder() {
|
|
197
|
-
return t("content.list.filters.allTypes");
|
|
198
|
-
},
|
|
199
|
-
get value() {
|
|
200
|
-
return type();
|
|
201
|
-
},
|
|
202
|
-
get options() {
|
|
203
|
-
return types().map((t) => ({
|
|
204
|
-
value: t.slug,
|
|
205
|
-
label: t.pluralLabel || t.name
|
|
206
|
-
}));
|
|
207
|
-
},
|
|
208
|
-
onChange: (value) => {
|
|
209
|
-
setType(value);
|
|
210
|
-
searchNow();
|
|
211
|
-
}
|
|
212
215
|
})), escape(createComponent(Select, {
|
|
213
216
|
name: "status",
|
|
214
217
|
get placeholder() {
|
|
@@ -237,7 +240,7 @@ function ContentList() {
|
|
|
237
240
|
setStatus(value);
|
|
238
241
|
searchNow();
|
|
239
242
|
}
|
|
240
|
-
})), escape(
|
|
243
|
+
})), escape(createComponent(Button, {
|
|
241
244
|
variant: "secondary",
|
|
242
245
|
onClick: () => void searchNow(),
|
|
243
246
|
get children() {
|
|
@@ -284,7 +287,7 @@ var $$Index = createComponent$1(($$result, $$props, $$slots) => {
|
|
|
284
287
|
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
285
288
|
"title": t("content.list.title"),
|
|
286
289
|
"data-astro-cid-qhu5jad5": true
|
|
287
|
-
}, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="content-page" data-astro-cid-qhu5jad5
|
|
290
|
+
}, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="content-page" data-astro-cid-qhu5jad5>${renderComponent($$result, "ContentList", ContentList, {
|
|
288
291
|
"client:load": true,
|
|
289
292
|
"data-astro-cid-qhu5jad5": true,
|
|
290
293
|
"client:component-hydration": "load",
|
|
@@ -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 { a as For2, c as Select, f as createSignal, l as Show2, n as Badge, o as Input, p as onMount, r as Button, s as Pagination, t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_DIBvEjfq.mjs";
|
|
5
|
+
import { a as For2, c as Select, f as createSignal, l as Show2, n as Badge, o as Input, p as onMount, r as Button, s as Pagination, t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
//#region src/components/apps/users/UsersManager.tsx
|
|
8
8
|
var _tmpl$ = [
|
|
@@ -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_DCIiRkcO.mjs";
|
|
5
5
|
//#region src/pages/settings/index.astro
|
|
6
6
|
var settings_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
default: () => $$Index,
|
|
@@ -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 MediaLibrary } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.mjs";
|
|
5
|
+
import { t as MediaLibrary } from "./MediaLibrary_azhfNs4N.mjs";
|
|
6
6
|
//#region src/pages/media/index.astro
|
|
7
7
|
var media_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
default: () => $$Index,
|
|
@@ -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_DIBvEjfq.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.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,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_m8b8Eemd.mjs";
|
|
5
5
|
//#region src/pages/login.astro
|
|
6
6
|
var login_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
default: () => $$Login,
|
|
@@ -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 ContentEditor } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.mjs";
|
|
5
|
+
import { t as ContentEditor } from "./ContentEditor_CxZJjeXR.mjs";
|
|
6
6
|
//#region src/pages/content/new.astro
|
|
7
7
|
var new_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
default: () => $$New,
|
|
@@ -14,11 +14,13 @@ var $$New = createComponent(($$result, $$props, $$slots) => {
|
|
|
14
14
|
const Astro = $$result.createAstro($$props, $$slots);
|
|
15
15
|
Astro.self = $$New;
|
|
16
16
|
const { t } = Astro.locals;
|
|
17
|
+
const initialType = Astro.url.searchParams.get("type") ?? "post";
|
|
17
18
|
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
18
19
|
"title": t("content.editor.save"),
|
|
19
20
|
"data-astro-cid-uavvtubt": true
|
|
20
21
|
}, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="editor-page" data-astro-cid-uavvtubt>${renderComponent($$result, "ContentEditor", ContentEditor, {
|
|
21
22
|
"client:load": true,
|
|
23
|
+
"initialType": initialType,
|
|
22
24
|
"data-astro-cid-uavvtubt": true,
|
|
23
25
|
"client:component-hydration": "load",
|
|
24
26
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/content/ContentEditor.tsx",
|
|
@@ -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_DIBvEjfq.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/users/UserCreateForm.tsx
|
|
@@ -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 { r as OperationsManager } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.mjs";
|
|
5
|
+
import { r as OperationsManager } from "./ResourceHubs_BJMX1AJR.mjs";
|
|
6
6
|
//#region src/pages/settings/operations.astro
|
|
7
7
|
var operations_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
default: () => $$Operations,
|
|
@@ -1,8 +1,8 @@
|
|
|
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_DIBvEjfq.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/plugins/PluginManager.tsx
|
|
@@ -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_DIBvEjfq.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DCIiRkcO.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/settings/PostTypesManager.tsx
|