@oktis-works/admin 0.8.0 → 0.8.2

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.
Files changed (68) hide show
  1. package/dist/client/_astro/{ActivityWidget.CPGVx0TQ.js → ActivityWidget.ByKRv9-E.js} +1 -1
  2. package/dist/client/_astro/{AdminBar.DCHk_5ca.js → AdminBar.D_a0PAun.js} +3 -3
  3. package/dist/client/_astro/{AtGlanceWidget.BrzXTnzq.js → AtGlanceWidget.BSG_4syZ.js} +1 -1
  4. package/dist/client/_astro/BaseLayout.3eIEVCjB.css +1 -0
  5. package/dist/client/_astro/{ContentEditor.oK1k6X8U.js → ContentEditor.CdhqgY1I.js} +1 -1
  6. package/dist/client/_astro/ContentEditor.Dk4pXUkp.js +1 -0
  7. package/dist/client/_astro/{ContentTypeWorkspace.C44tlgPI.js → ContentTypeWorkspace.DRh2tSis.js} +1 -1
  8. package/dist/client/_astro/{DashboardHome.BO_rm7Uf.js → DashboardHome.BzbaJOUx.js} +1 -1
  9. package/dist/client/_astro/{DashboardLayout.astro_astro_type_script_index_0_lang.CJ39grFK.js → DashboardLayout.astro_astro_type_script_index_0_lang.wCZbNQh3.js} +1 -1
  10. package/dist/client/_astro/{FieldGroupEditor.BeI58rW-.js → FieldGroupEditor.DJJyTLKZ.js} +1 -1
  11. package/dist/client/_astro/{FieldGroupList.ahbjUfLG.js → FieldGroupList.DtsJdk81.js} +1 -1
  12. package/dist/client/_astro/{Footer.CXRzTXWy.js → Footer.C-hG1-qd.js} +1 -1
  13. package/dist/client/_astro/{GeneralSettings.BpkMdYlo.js → GeneralSettings.DsAiNE-f.js} +1 -1
  14. package/dist/client/_astro/{LogsManager.B4n86e4G.js → LogsManager.B_KlSIsF.js} +1 -1
  15. package/dist/client/_astro/{MediaLibrary.Bj4WH-vM.js → MediaLibrary.DRijq5qg.js} +1 -1
  16. package/dist/client/_astro/{MenuManager.8HZJSEQE.js → MenuManager.B73RzwWS.js} +1 -1
  17. package/dist/client/_astro/{PluginManager.chYe_Wjc.js → PluginManager.C8e99whu.js} +1 -1
  18. package/dist/client/_astro/{PostTypesManager.2yuiIqth.js → PostTypesManager.C5P_rgmV.js} +1 -1
  19. package/dist/client/_astro/{QuickDraftWidget.DKvRvC-B.js → QuickDraftWidget.W_YLMEhA.js} +1 -1
  20. package/dist/client/_astro/{ResourceHubs.Cj4GS6P8.js → ResourceHubs.CTqijjUu.js} +1 -1
  21. package/dist/client/_astro/{TaxonomiesManager.ly7pMtHQ.js → TaxonomiesManager.BR1fsS45.js} +1 -1
  22. package/dist/client/_astro/{TaxonomyTermsManager.rTnyCMmS.js → TaxonomyTermsManager.m3lSy4r2.js} +1 -1
  23. package/dist/client/_astro/{ThemeManager.4UHfA_xy.js → ThemeManager.BXeLJM2B.js} +1 -1
  24. package/dist/client/_astro/{UserCreateForm.BgcqPitU.js → UserCreateForm.B3vi6lEe.js} +1 -1
  25. package/dist/client/_astro/{UsersManager.iKH5HmkO.js → UsersManager.BsQLF4N-.js} +1 -1
  26. package/dist/client/_astro/{WebhooksManager.ljJo1uYf.js → WebhooksManager.DZOF_Lfa.js} +1 -1
  27. package/dist/client/_astro/api.s1WYKU5S.js +1 -0
  28. package/dist/client/_astro/{extensions.Ctfl4oXN.js → extensions.CPygai9z.js} +1 -1
  29. package/dist/client/_astro/{i18n.DVVsFXMk.js → i18n.Cnvng1i8.js} +1 -1
  30. package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.DzXBvx_L.js → login.astro_astro_type_script_index_0_lang.Di9uRFih.js} +1 -1
  31. package/dist/client/_astro/{version.7UQZoqQe.js → version.80ONfXfw.js} +1 -1
  32. package/dist/client/favicon.svg +53 -9
  33. package/dist/client/logo.svg +54 -0
  34. package/dist/server/chunks/{BaseLayout_rswPjbGh.mjs → BaseLayout_Ctd-h_eB.mjs} +43 -1
  35. package/dist/server/chunks/{ContentEditor_RD9ysP51.mjs → ContentEditor_qKR9fpe8.mjs} +2 -2
  36. package/dist/server/chunks/{DashboardLayout_C2WD4ptx.mjs → DashboardLayout_BNKTHTT6.mjs} +6 -6
  37. package/dist/server/chunks/{MediaLibrary_24_d7ImJ.mjs → MediaLibrary_DKM6Z01t.mjs} +2 -2
  38. package/dist/server/chunks/{_id__CX1oFo88.mjs → _id__Dc8x5ZB_.mjs} +2 -2
  39. package/dist/server/chunks/{_slug__rt1WM8Ol.mjs → _slug__TIgSSEKi.mjs} +1 -1
  40. package/dist/server/chunks/{access_b4p8dB9l.mjs → access_BvKpp3Az.mjs} +2 -2
  41. package/dist/server/chunks/{custom-fields_CyvtsOOQ.mjs → custom-fields_C6bBcIz1.mjs} +2 -2
  42. package/dist/server/chunks/{edit_D7ktjD13.mjs → edit_qJcwJec6.mjs} +2 -2
  43. package/dist/server/chunks/{general_D8L9oQfP.mjs → general_BCNLqMDL.mjs} +2 -2
  44. package/dist/server/chunks/{i18n_B-Vk5esc.mjs → i18n_BfgvkkQ3.mjs} +22 -6
  45. package/dist/server/chunks/{index_Cw6m_C-A.mjs → index_BaXq9AJQ.mjs} +2 -2
  46. package/dist/server/chunks/{index_BAO2u44Q.mjs → index_Bs28Crlc.mjs} +2 -2
  47. package/dist/server/chunks/{index_qvWMfYJq.mjs → index_Bz9Zt3Gg.mjs} +3 -3
  48. package/dist/server/chunks/{index_bN79oMio.mjs → index_CpOI5A1d.mjs} +2 -2
  49. package/dist/server/chunks/{index_lsaT-3jT.mjs → index_oNcDaYZP.mjs} +1 -1
  50. package/dist/server/chunks/login_Be6CwsHW.mjs +24 -0
  51. package/dist/server/chunks/{logs_B8S-8fCb.mjs → logs_6PAEU2-l.mjs} +2 -2
  52. package/dist/server/chunks/{menus_BFrrwwp2.mjs → menus_C1FABR1f.mjs} +2 -2
  53. package/dist/server/chunks/{new_9h5Yu5It.mjs → new_CEcQMkCA.mjs} +2 -2
  54. package/dist/server/chunks/{new_CWiwl9V1.mjs → new_CPBZ6l2j.mjs} +2 -2
  55. package/dist/server/chunks/{plugins_0RiYDkn3.mjs → plugins_BohPz8Db.mjs} +2 -2
  56. package/dist/server/chunks/{post-types_evePverd.mjs → post-types_ByqPWx-G.mjs} +2 -2
  57. package/dist/server/chunks/{taxonomies_05nc5Zkw.mjs → taxonomies_ChcH00Dp.mjs} +2 -2
  58. package/dist/server/chunks/{taxonomy_Bq3_1kK5.mjs → taxonomy_C5BNjW4y.mjs} +2 -2
  59. package/dist/server/chunks/{themes_DbSzFBay.mjs → themes_DbVQzy9w.mjs} +2 -2
  60. package/dist/server/chunks/{upload_Czr24kjY.mjs → upload_3ie1Sjrz.mjs} +2 -2
  61. package/dist/server/chunks/{webhooks_EJu1TMgC.mjs → webhooks_B0ruTCzg.mjs} +2 -2
  62. package/dist/server/entry.mjs +24 -24
  63. package/dist/server/virtual_astro_middleware.mjs +73 -3
  64. package/package.json +1 -1
  65. package/dist/client/_astro/BaseLayout.Bf1iwXRF.css +0 -1
  66. package/dist/client/_astro/ContentEditor.D2Pzxrmx.js +0 -1
  67. package/dist/client/_astro/api.CGA0D2A2.js +0 -1
  68. package/dist/server/chunks/login_Dv3Z0TBw.mjs +0 -24
@@ -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 "./BaseLayout_rswPjbGh.mjs";
5
- import { a as LOCALE_LABELS, i as LOCALE_FLAGS, n as useTranslation, o as SUPPORTED_LOCALES, r as apiClient } from "./i18n_B-Vk5esc.mjs";
4
+ import { n as renderScript, t as $$BaseLayout } from "./BaseLayout_Ctd-h_eB.mjs";
5
+ import { a as LOCALE_FLAGS, n as useTranslation, o as LOCALE_LABELS, r as apiClient, s as SUPPORTED_LOCALES } from "./i18n_BfgvkkQ3.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, createEffect, createMemo as createMemo$1, createSignal, createSignal as createSignal$1, onCleanup, onMount, onMount as onMount$1 } from "solid-js";
@@ -422,7 +422,7 @@ function PluginExtensionsSlot() {
422
422
  }
423
423
  //#endregion
424
424
  //#region src/components/admin-bar/AdminBar.tsx
425
- var _tmpl$$4 = ["<style", ">\n #admin-bar {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: 46px;\n background: #0A0A0A;\n border-bottom: 1px solid #333;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 1rem;\n z-index: 2000;\n font-family: inherit;\n }\n #admin-bar * { box-sizing: border-box; }\n .admin-bar-left, .admin-bar-right {\n display: flex;\n align-items: center;\n gap: 1rem;\n }\n .admin-bar-brand {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n color: #FAF5E8;\n font-weight: 600;\n font-size: 1.125rem;\n text-decoration: none;\n padding: 0.375rem 0.75rem;\n border-radius: 0.375rem;\n transition: background 0.15s;\n }\n .admin-bar-brand:hover {\n background: rgba(255,255,255,0.08);\n }\n .admin-bar-brand svg { width: 28px; height: 28px; }\n .admin-bar-separator { width: 1px; height: 24px; background: #333; }\n .admin-bar-menu { display: flex; gap: 0.25rem; }\n .admin-bar-menu-item {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0.375rem 0.75rem;\n color: rgba(255,255,255,0.7);\n font-size: 0.8125rem;\n font-weight: 500;\n border-radius: 0.375rem;\n text-decoration: none;\n transition: all 0.15s;\n }\n .admin-bar-menu-item:hover {\n background: rgba(255,255,255,0.1);\n color: #fff;\n }\n .admin-bar-menu-item svg { width: 18px; height: 18px; }\n .admin-bar-right { gap: 0.75rem; }\n .notifications-btn {\n position: relative;\n background: none;\n border: none;\n color: rgba(255,255,255,0.7);\n padding: 0.375rem;\n border-radius: 0.375rem;\n cursor: pointer;\n transition: all 0.15s;\n }\n .notifications-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }\n .notifications-badge {\n position: absolute;\n top: 2px;\n right: 2px;\n min-width: 16px;\n height: 16px;\n background: #EF4444;\n color: #fff;\n font-size: 0.625rem;\n font-weight: 600;\n border-radius: 9999px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 4px;\n }\n .notifications-dropdown { position: relative; }\n .lang-dropdown {\n position: relative;\n display: flex;\n align-items: center;\n }\n .lang-dropdown > .notifications-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.4rem;\n min-height: 32px;\n line-height: 1;\n white-space: nowrap;\n }\n .notifications-panel {\n position: absolute;\n top: calc(100% + 0.5rem);\n right: 0;\n min-width: 280px;\n max-width: 90vw;\n background: #FFFFFF;\n border: 1px solid #DCDCDE;\n border-radius: 0.5rem;\n box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);\n z-index: 2100;\n overflow: hidden;\n animation: slideIn 0.15s ease-out;\n }\n .notifications-header {\n padding: 0.75rem 1rem;\n font-size: 0.6875rem;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: #646970;\n border-bottom: 1px solid #DCDCDE;\n }\n .notifications-item {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.625rem 1rem;\n border-bottom: 1px solid #F6F7F7;\n }\n .notifications-item:last-child { border-bottom: none; }\n .notifications-action {\n font-size: 0.8125rem;\n font-weight: 600;\n color: #2C3338;\n font-family: ui-monospace, SFMono-Regular, monospace;\n word-break: break-word;\n }\n .notifications-meta {\n display: flex;\n justify-content: space-between;\n gap: 0.75rem;\n font-size: 0.6875rem;\n color: #646970;\n }\n .notifications-empty { padding: 1rem; margin: 0; font-size: 0.8125rem; color: #646970; }\n .user-menu-trigger {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n background: none;\n border: none;\n color: #fff;\n padding: 0.375rem 0.75rem;\n border-radius: 0.375rem;\n cursor: pointer;\n font-size: 0.8125rem;\n font-weight: 500;\n transition: background 0.15s;\n }\n .user-menu-trigger:hover { background: rgba(255,255,255,0.1); }\n .user-avatar {\n width: 32px;\n height: 32px;\n border-radius: 50%;\n background: linear-gradient(135deg, #D8B45E 0%, #B99542 100%);\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n font-size: 0.875rem;\n color: #0A0A0A;\n }\n .user-menu-dropdown {\n position: absolute;\n top: calc(100% + 0.5rem);\n right: 0;\n min-width: 200px;\n background: #FFFFFF;\n border: 1px solid #DCDCDE;\n border-radius: 0.5rem;\n box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);\n z-index: 2100;\n overflow: hidden;\n animation: slideIn 0.15s ease-out;\n }\n @keyframes slideIn { from { opacity: 0; transform: translateY(-0.5rem); } to { opacity: 1; transform: translateY(0); } }\n .user-menu-header {\n padding: 1rem;\n border-bottom: 1px solid #DCDCDE;\n }\n .user-menu-name { font-weight: 600; color: #0A0A0A; font-size: 0.875rem; }\n .user-menu-email { color: #646970; font-size: 0.75rem; margin-top: 0.125rem; }\n .user-menu-divider { height: 1px; background: #DCDCDE; }\n .user-menu-item {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n width: 100%;\n padding: 0.625rem 1rem;\n background: none;\n border: none;\n color: #2C3338;\n font-size: 0.8125rem;\n font-weight: 500;\n text-align: left;\n cursor: pointer;\n transition: background 0.15s;\n }\n .user-menu-item:hover { background: #F6F7F7; }\n .user-menu-item svg { width: 18px; height: 18px; color: #646970; }\n .user-menu-item.danger { color: #EF4444; }\n .user-menu-item.danger:hover { background: #FEF2F2; }\n .lang-menu-dropdown {\n position: absolute;\n top: calc(100% + 0.5rem);\n right: 0;\n min-width: 192px;\n max-height: min(18rem, calc(100vh - 3.5rem));\n background: #FFFFFF;\n border: 1px solid #DCDCDE;\n border-radius: 0.5rem;\n box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);\n z-index: 2100;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n scrollbar-gutter: stable;\n animation: slideIn 0.15s ease-out;\n }\n @keyframes slideIn { from { opacity: 0; transform: translateY(-0.5rem); } to { opacity: 1; transform: translateY(0); } }\n .lang-menu-item {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n width: 100%;\n padding: 0.625rem 1rem;\n background: none;\n border: none;\n color: #2C3338;\n font-size: 0.8125rem;\n font-weight: 500;\n text-align: left;\n cursor: pointer;\n min-height: 36px;\n }\n .lang-menu-item:hover { background: #F6F7F7; }\n .lang-menu-item.active { background: #FAF5E8; color: #B99542; font-weight: 600; }\n .lang-menu-item .flag { font-size: 1rem; }\n @media (max-width: 782px) {\n .admin-bar-menu { display: none; }\n }\n </style>"];
425
+ var _tmpl$$4 = ["<style", ">\n #admin-bar {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n height: 46px;\n background: #0A0A0A;\n border-bottom: 1px solid #333;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 1rem;\n z-index: 2000;\n font-family: inherit;\n }\n #admin-bar * { box-sizing: border-box; }\n .admin-bar-left, .admin-bar-right {\n display: flex;\n align-items: center;\n gap: 1rem;\n }\n .admin-bar-brand {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n color: #FAF5E8;\n font-weight: 600;\n font-size: 1.125rem;\n text-decoration: none;\n padding: 0.375rem 0.75rem;\n border-radius: 0.375rem;\n transition: background 0.15s;\n }\n .admin-bar-brand:hover {\n background: rgba(255,255,255,0.08);\n }\n .admin-bar-brand img { width: 28px; height: 28px; display: block; }\n .admin-bar-separator { width: 1px; height: 24px; background: #333; }\n .admin-bar-menu { display: flex; gap: 0.25rem; }\n .admin-bar-menu-item {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n padding: 0.375rem 0.75rem;\n color: rgba(255,255,255,0.7);\n font-size: 0.8125rem;\n font-weight: 500;\n border-radius: 0.375rem;\n text-decoration: none;\n transition: all 0.15s;\n }\n .admin-bar-menu-item:hover {\n background: rgba(255,255,255,0.1);\n color: #fff;\n }\n .admin-bar-menu-item svg { width: 18px; height: 18px; }\n .admin-bar-right { gap: 0.75rem; }\n .notifications-btn {\n position: relative;\n background: none;\n border: none;\n color: rgba(255,255,255,0.7);\n padding: 0.375rem;\n border-radius: 0.375rem;\n cursor: pointer;\n transition: all 0.15s;\n }\n .notifications-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }\n .notifications-badge {\n position: absolute;\n top: 2px;\n right: 2px;\n min-width: 16px;\n height: 16px;\n background: #EF4444;\n color: #fff;\n font-size: 0.625rem;\n font-weight: 600;\n border-radius: 9999px;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0 4px;\n }\n .notifications-dropdown { position: relative; }\n .lang-dropdown {\n position: relative;\n display: flex;\n align-items: center;\n }\n .lang-dropdown > .notifications-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 0.4rem;\n min-height: 32px;\n line-height: 1;\n white-space: nowrap;\n }\n .notifications-panel {\n position: absolute;\n top: calc(100% + 0.5rem);\n right: 0;\n min-width: 280px;\n max-width: 90vw;\n background: #FFFFFF;\n border: 1px solid #DCDCDE;\n border-radius: 0.5rem;\n box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);\n z-index: 2100;\n overflow: hidden;\n animation: slideIn 0.15s ease-out;\n }\n .notifications-header {\n padding: 0.75rem 1rem;\n font-size: 0.6875rem;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: #646970;\n border-bottom: 1px solid #DCDCDE;\n }\n .notifications-item {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.625rem 1rem;\n border-bottom: 1px solid #F6F7F7;\n }\n .notifications-item:last-child { border-bottom: none; }\n .notifications-action {\n font-size: 0.8125rem;\n font-weight: 600;\n color: #2C3338;\n font-family: ui-monospace, SFMono-Regular, monospace;\n word-break: break-word;\n }\n .notifications-meta {\n display: flex;\n justify-content: space-between;\n gap: 0.75rem;\n font-size: 0.6875rem;\n color: #646970;\n }\n .notifications-empty { padding: 1rem; margin: 0; font-size: 0.8125rem; color: #646970; }\n .user-menu-trigger {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n background: none;\n border: none;\n color: #fff;\n padding: 0.375rem 0.75rem;\n border-radius: 0.375rem;\n cursor: pointer;\n font-size: 0.8125rem;\n font-weight: 500;\n transition: background 0.15s;\n }\n .user-menu-trigger:hover { background: rgba(255,255,255,0.1); }\n .user-avatar {\n width: 32px;\n height: 32px;\n border-radius: 50%;\n background: linear-gradient(135deg, #D8B45E 0%, #B99542 100%);\n display: flex;\n align-items: center;\n justify-content: center;\n font-weight: 600;\n font-size: 0.875rem;\n color: #0A0A0A;\n }\n .user-menu-dropdown {\n position: absolute;\n top: calc(100% + 0.5rem);\n right: 0;\n min-width: 200px;\n background: #FFFFFF;\n border: 1px solid #DCDCDE;\n border-radius: 0.5rem;\n box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);\n z-index: 2100;\n overflow: hidden;\n animation: slideIn 0.15s ease-out;\n }\n @keyframes slideIn { from { opacity: 0; transform: translateY(-0.5rem); } to { opacity: 1; transform: translateY(0); } }\n .user-menu-header {\n padding: 1rem;\n border-bottom: 1px solid #DCDCDE;\n }\n .user-menu-name { font-weight: 600; color: #0A0A0A; font-size: 0.875rem; }\n .user-menu-email { color: #646970; font-size: 0.75rem; margin-top: 0.125rem; }\n .user-menu-divider { height: 1px; background: #DCDCDE; }\n .user-menu-item {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n width: 100%;\n padding: 0.625rem 1rem;\n background: none;\n border: none;\n color: #2C3338;\n font-size: 0.8125rem;\n font-weight: 500;\n text-align: left;\n cursor: pointer;\n transition: background 0.15s;\n }\n .user-menu-item:hover { background: #F6F7F7; }\n .user-menu-item svg { width: 18px; height: 18px; color: #646970; }\n .user-menu-item.danger { color: #EF4444; }\n .user-menu-item.danger:hover { background: #FEF2F2; }\n .lang-menu-dropdown {\n position: absolute;\n top: calc(100% + 0.5rem);\n right: 0;\n min-width: 192px;\n max-height: min(18rem, calc(100vh - 3.5rem));\n background: #FFFFFF;\n border: 1px solid #DCDCDE;\n border-radius: 0.5rem;\n box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);\n z-index: 2100;\n overflow-x: hidden;\n overflow-y: auto;\n overscroll-behavior: contain;\n scrollbar-gutter: stable;\n animation: slideIn 0.15s ease-out;\n }\n @keyframes slideIn { from { opacity: 0; transform: translateY(-0.5rem); } to { opacity: 1; transform: translateY(0); } }\n .lang-menu-item {\n display: flex;\n align-items: center;\n gap: 0.5rem;\n width: 100%;\n padding: 0.625rem 1rem;\n background: none;\n border: none;\n color: #2C3338;\n font-size: 0.8125rem;\n font-weight: 500;\n text-align: left;\n cursor: pointer;\n min-height: 36px;\n }\n .lang-menu-item:hover { background: #F6F7F7; }\n .lang-menu-item.active { background: #FAF5E8; color: #B99542; font-weight: 600; }\n .lang-menu-item .flag { font-size: 1rem; }\n @media (max-width: 782px) {\n .admin-bar-menu { display: none; }\n }\n </style>"];
426
426
  var _tmpl$2$3 = [
427
427
  "<span",
428
428
  " class=\"notifications-badge\">",
@@ -466,7 +466,7 @@ var _tmpl$7$1 = [
466
466
  var _tmpl$8$1 = [
467
467
  "<header",
468
468
  " id=\"admin-bar\" role=\"banner\"><div class=\"admin-bar-left\"><a href=\"/\" class=\"admin-bar-brand\"",
469
- "><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\"",
469
+ "><img src=\"/logo.svg\" width=\"28\" height=\"28\" alt><span>OkCMS</span></a><div class=\"admin-bar-separator\"></div><nav class=\"admin-bar-menu\"",
470
470
  "><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><!--$-->",
471
471
  "<!--/--></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><!--$-->",
472
472
  "<!--/--></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><!--$-->",
@@ -641,7 +641,7 @@ var APP_VERSION = {
641
641
  "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"
642
642
  },
643
643
  devDependencies: {
644
- "@oktis-works/cms": "^0.8.0",
644
+ "@oktis-works/cms": "^0.8.11",
645
645
  "@changesets/changelog-github": "^1.0.1",
646
646
  "@changesets/cli": "^3.0.3",
647
647
  "@types/node": "22.0.0",
@@ -1057,7 +1057,7 @@ var $$DashboardLayout = createComponent$1(($$result, $$props, $$slots) => {
1057
1057
  "client:component-hydration": "load",
1058
1058
  "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/admin-bar/AdminBar.tsx",
1059
1059
  "client:component-export": "AdminBar"
1060
- })}${maybeRenderHead($$result)}<div class="layout"><div class="dashboard-body"><!-- Sidebar colapsavel — o estado (body.sidebar-collapsed) e aplicado pelo script abaixo --><aside class="sidebar"><div class="sidebar-header"><span class="sidebar-collapsed-brand"${addAttribute(t("layout.appName"), "title")}><svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" width="28" height="28"><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></div><nav class="sidebar-nav"><a href="/"${addAttribute(["nav-item", { active: navActive.dashboard }], "class:list")}><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"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg><span class="nav-label" data-sidebar-i18n="layout.nav.dashboard">${t("layout.nav.dashboard")}</span></a><div data-post-types-menu></div><a href="/media"${addAttribute(["nav-item", { active: navActive.media }], "class:list")}><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"><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><span class="nav-label" data-sidebar-i18n="layout.nav.media">${t("layout.nav.media")}</span></a><a href="/users"${addAttribute(["nav-item", { active: navActive.users }], "class:list")}><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"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg><span class="nav-label" data-sidebar-i18n="layout.nav.users">${t("layout.nav.users")}</span></a><a href="/menus"${addAttribute(["nav-item", { active: navActive.menus }], "class:list")}><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" aria-hidden="true"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg><span class="nav-label" data-sidebar-i18n="layout.nav.menus">${t("layout.nav.menus")}</span></a><div${addAttribute(["nav-group", { open: navActive.settings }], "class:list")} data-nav-group="settings"><div class="nav-group-header"><a href="/settings/general"${addAttribute(["nav-item", { active: navActive.settings }], "class:list")}><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"><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"></path><circle cx="12" cy="12" r="3"></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"><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.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><span class="nav-label" data-sidebar-i18n="layout.nav.settings">${t("layout.nav.settings")}</span></a></div><!-- Submenu de configurações fica agrupado diretamente sob Settings. --><div class="nav-submenu">${settingsChildren.map((child) => renderTemplate`<a${addAttribute(child.href, "href")}${addAttribute(["nav-subitem", { active: child.active }], "class:list")}${addAttribute(child.key, "data-sidebar-i18n")}>${t(child.key)}</a>`)}</div></div><a href="/plugins"${addAttribute(["nav-item", { active: navActive.plugins }], "class:list")}><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"><rect x="2" y="2" width="20" height="20" rx="2" ry="2"></rect><path d="M15 7h4a2 2 0 0 1 2 2v4"></path><path d="M9 17H5a2 2 0 0 1-2-2V9"></path><line x1="8" y1="12" x2="16" y2="12"></line></svg><span class="nav-label" data-sidebar-i18n="layout.nav.plugins">${t("layout.nav.plugins")}</span></a><a href="/themes"${addAttribute(["nav-item", { active: navActive.themes }], "class:list")}><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"><circle cx="12" cy="12" r="10"></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"></path><path d="M2 12h20"></path></svg><span class="nav-label" data-sidebar-i18n="layout.nav.themes">${t("layout.nav.themes")}</span></a><!-- D1: slots de extensao — paginas de menu declaradas por plugins ativos -->${renderComponent($$result, "PluginExtensionsSlot", PluginExtensionsSlot, {
1060
+ })}${maybeRenderHead($$result)}<div class="layout"><div class="dashboard-body"><!-- Sidebar colapsavel — o estado (body.sidebar-collapsed) e aplicado pelo script abaixo --><aside class="sidebar"><div class="sidebar-header"><span class="sidebar-collapsed-brand"${addAttribute(t("layout.appName"), "title")}><img src="/logo.svg" width="28" height="28" alt=""></span></div><nav class="sidebar-nav"><a href="/"${addAttribute(["nav-item", { active: navActive.dashboard }], "class:list")}><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"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg><span class="nav-label" data-sidebar-i18n="layout.nav.dashboard">${t("layout.nav.dashboard")}</span></a><div data-post-types-menu></div><a href="/media"${addAttribute(["nav-item", { active: navActive.media }], "class:list")}><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"><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><span class="nav-label" data-sidebar-i18n="layout.nav.media">${t("layout.nav.media")}</span></a><a href="/users"${addAttribute(["nav-item", { active: navActive.users }], "class:list")}><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"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg><span class="nav-label" data-sidebar-i18n="layout.nav.users">${t("layout.nav.users")}</span></a><a href="/menus"${addAttribute(["nav-item", { active: navActive.menus }], "class:list")}><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" aria-hidden="true"><line x1="8" y1="6" x2="21" y2="6"></line><line x1="8" y1="12" x2="21" y2="12"></line><line x1="8" y1="18" x2="21" y2="18"></line><line x1="3" y1="6" x2="3.01" y2="6"></line><line x1="3" y1="12" x2="3.01" y2="12"></line><line x1="3" y1="18" x2="3.01" y2="18"></line></svg><span class="nav-label" data-sidebar-i18n="layout.nav.menus">${t("layout.nav.menus")}</span></a><div${addAttribute(["nav-group", { open: navActive.settings }], "class:list")} data-nav-group="settings"><div class="nav-group-header"><a href="/settings/general"${addAttribute(["nav-item", { active: navActive.settings }], "class:list")}><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"><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"></path><circle cx="12" cy="12" r="3"></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"><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.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><span class="nav-label" data-sidebar-i18n="layout.nav.settings">${t("layout.nav.settings")}</span></a></div><!-- Submenu de configurações fica agrupado diretamente sob Settings. --><div class="nav-submenu">${settingsChildren.map((child) => renderTemplate`<a${addAttribute(child.href, "href")}${addAttribute(["nav-subitem", { active: child.active }], "class:list")}${addAttribute(child.key, "data-sidebar-i18n")}>${t(child.key)}</a>`)}</div></div><a href="/plugins"${addAttribute(["nav-item", { active: navActive.plugins }], "class:list")}><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"><rect x="2" y="2" width="20" height="20" rx="2" ry="2"></rect><path d="M15 7h4a2 2 0 0 1 2 2v4"></path><path d="M9 17H5a2 2 0 0 1-2-2V9"></path><line x1="8" y1="12" x2="16" y2="12"></line></svg><span class="nav-label" data-sidebar-i18n="layout.nav.plugins">${t("layout.nav.plugins")}</span></a><a href="/themes"${addAttribute(["nav-item", { active: navActive.themes }], "class:list")}><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"><circle cx="12" cy="12" r="10"></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"></path><path d="M2 12h20"></path></svg><span class="nav-label" data-sidebar-i18n="layout.nav.themes">${t("layout.nav.themes")}</span></a><!-- D1: slots de extensao — paginas de menu declaradas por plugins ativos -->${renderComponent($$result, "PluginExtensionsSlot", PluginExtensionsSlot, {
1061
1061
  "client:load": true,
1062
1062
  "client:component-hydration": "load",
1063
1063
  "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/ext/extensions.tsx",
@@ -1,5 +1,5 @@
1
- import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
2
- import { a as For2, c as Pagination, l as Select, m as onMount, o as Input, p as createSignal, r as Button, s as Modal, u as Show2 } from "./DashboardLayout_C2WD4ptx.mjs";
1
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
2
+ import { a as For2, c as Pagination, l as Select, m as onMount, o as Input, p as createSignal, r as Button, s as Modal, u as Show2 } from "./DashboardLayout_BNKTHTT6.mjs";
3
3
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
4
4
  //#region src/components/media/MediaLibrary.tsx
5
5
  var _tmpl$ = [
@@ -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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { t as FbIcon } from "./FbIcon_D0f6QiFJ.mjs";
8
8
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
@@ -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 "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
5
5
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
6
  //#region src/pages/plugins/[slug].astro
7
7
  var _slug__exports = /* @__PURE__ */ __exportAll({
@@ -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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, 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$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as FbIcon } from "./FbIcon_D0f6QiFJ.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, 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 "./DashboardLayout_C2WD4ptx.mjs";
5
- import { t as ContentEditor } from "./ContentEditor_RD9ysP51.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
5
+ import { t as ContentEditor } from "./ContentEditor_qKR9fpe8.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  //#region src/pages/content/[type]/edit.astro
8
8
  var edit_exports = /* @__PURE__ */ __exportAll({
@@ -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 { a as LOCALE_LABELS, i as LOCALE_FLAGS, n as useTranslation, o as SUPPORTED_LOCALES, r as apiClient } from "./i18n_B-Vk5esc.mjs";
5
- import { f as createMemo$1, i as Card, l as Select, m as onMount$1, o as Input, p as createSignal$1, r as Button, t as $$DashboardLayout, u as Show2 } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { a as LOCALE_FLAGS, n as useTranslation, o as LOCALE_LABELS, r as apiClient, s as SUPPORTED_LOCALES } from "./i18n_BfgvkkQ3.mjs";
5
+ import { f as createMemo$1, i as Card, l as Select, m as onMount$1, o as Input, p as createSignal$1, r as Button, t as $$DashboardLayout, u as Show2 } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, createMemo, createSignal, onCleanup, onMount } from "solid-js";
@@ -107,6 +107,22 @@ async function loadLocale(locale) {
107
107
  }
108
108
  }
109
109
  //#endregion
110
+ //#region src/lib/api-url.ts
111
+ /**
112
+ * Junta a base da API com o path de rota normalizando o prefixo `/api`.
113
+ *
114
+ * - joinApiUrl('/api', '/api/v1/auth/csrf') → '/api/v1/auth/csrf'
115
+ * - joinApiUrl('/api/', '/api/v1/auth/csrf') → '/api/v1/auth/csrf'
116
+ * - joinApiUrl('http://h:3000/api', '/api/v1/x') → 'http://h:3000/api/v1/x'
117
+ * - joinApiUrl('http://h:3000', '/api/v1/x') → 'http://h:3000/api/v1/x' (inalterado)
118
+ * - joinApiUrl('', '/api/v1/x') → '/api/v1/x' (inalterado)
119
+ * - joinApiUrl('/api', '/health') → '/api/health' (path sem /api fica)
120
+ */
121
+ function joinApiUrl(base, path) {
122
+ if (base && path.startsWith("/api/") && /\/api\/?$/.test(base)) return `${base.replace(/\/$/, "")}${path.replace(/^\/api/, "")}`;
123
+ return `${base}${path}`;
124
+ }
125
+ //#endregion
110
126
  //#region src/lib/api.ts
111
127
  function resolveApiBase() {
112
128
  if (typeof document !== "undefined") {
@@ -263,7 +279,7 @@ var ApiClient = class {
263
279
  * - CSRF header para mutações
264
280
  */
265
281
  async request(method, path, body, headers, options) {
266
- const url = `${this.baseUrl}${path}`;
282
+ const url = joinApiUrl(this.baseUrl, path);
267
283
  const send = async () => {
268
284
  const requestHeaders = {
269
285
  "Content-Type": "application/json",
@@ -307,7 +323,7 @@ var ApiClient = class {
307
323
  }
308
324
  /** Requisição genérica que retorna o Response bruto (para blobs, downloads, etc.). */
309
325
  async requestRaw(method, path, body, headers, options) {
310
- const url = `${this.baseUrl}${path}`;
326
+ const url = joinApiUrl(this.baseUrl, path);
311
327
  const send = async () => {
312
328
  const requestHeaders = {
313
329
  "Content-Type": "application/json",
@@ -354,7 +370,7 @@ var ApiClient = class {
354
370
  }
355
371
  if (!force && this.csrfToken) return this.csrfToken;
356
372
  try {
357
- const response = await fetch(`${this.baseUrl}/api/v1/auth/csrf`, {
373
+ const response = await fetch(joinApiUrl(this.baseUrl, "/api/v1/auth/csrf"), {
358
374
  credentials: "include",
359
375
  headers: { Accept: "application/json" }
360
376
  });
@@ -549,7 +565,7 @@ var ApiClient = class {
549
565
  formData.append("file", file);
550
566
  if (options?.alt) formData.append("alt", options.alt);
551
567
  if (options?.caption) formData.append("caption", options.caption);
552
- const url = `${this.baseUrl}/api/v1/media/upload`;
568
+ const url = joinApiUrl(this.baseUrl, "/api/v1/media/upload");
553
569
  const send = async () => {
554
570
  const csrf = await this.ensureCsrfToken();
555
571
  const requestHeaders = {};
@@ -588,7 +604,7 @@ var ApiClient = class {
588
604
  async replaceMediaFile(id, file) {
589
605
  const formData = new FormData();
590
606
  formData.append("file", file);
591
- const url = `${this.baseUrl}/api/v1/media/${id}/file`;
607
+ const url = joinApiUrl(this.baseUrl, `/api/v1/media/${id}/file`);
592
608
  const send = async () => {
593
609
  const csrf = await this.ensureCsrfToken();
594
610
  const headers = {};
@@ -1850,4 +1866,4 @@ async function getTranslationsForLocale(locale) {
1850
1866
  return loadLocale(locale);
1851
1867
  }
1852
1868
  //#endregion
1853
- export { LOCALE_LABELS as a, LOCALE_FLAGS as i, useTranslation as n, SUPPORTED_LOCALES as o, apiClient as r, isRTLLocale as s, getTranslationsForLocale as t };
1869
+ export { LOCALE_FLAGS as a, isRTLLocale as c, joinApiUrl as i, useTranslation as n, LOCALE_LABELS as o, apiClient as r, SUPPORTED_LOCALES as s, getTranslationsForLocale as t };
@@ -1,9 +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 } from "./compiler_O7J1rlsi.mjs";
4
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
5
5
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
- import { t as MediaLibrary } from "./MediaLibrary_24_d7ImJ.mjs";
6
+ import { t as MediaLibrary } from "./MediaLibrary_DKM6Z01t.mjs";
7
7
  //#region src/pages/media/index.astro
8
8
  var media_exports = /* @__PURE__ */ __exportAll({
9
9
  default: () => $$Index,
@@ -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 "./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_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.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_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  //#region src/components/apps/users/UsersManager.tsx
@@ -1,9 +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 "./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_C2WD4ptx.mjs";
6
- import { t as ContentEditor } from "./ContentEditor_RD9ysP51.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.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_BNKTHTT6.mjs";
6
+ import { t as ContentEditor } from "./ContentEditor_qKR9fpe8.mjs";
7
7
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
8
8
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
9
9
  import { 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$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.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 { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
5
5
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
6
  //#region src/pages/settings/index.astro
7
7
  var settings_exports = /* @__PURE__ */ __exportAll({
@@ -0,0 +1,24 @@
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 { n as renderScript, t as $$BaseLayout } from "./BaseLayout_Ctd-h_eB.mjs";
5
+ //#region src/pages/login.astro
6
+ var login_exports = /* @__PURE__ */ __exportAll({
7
+ default: () => $$Login,
8
+ file: () => $$file,
9
+ url: () => $$url
10
+ });
11
+ createAstro("https://astro.build");
12
+ var $$Login = createComponent(($$result, $$props, $$slots) => {
13
+ const Astro = $$result.createAstro($$props, $$slots);
14
+ Astro.self = $$Login;
15
+ const { t } = Astro.locals;
16
+ return renderTemplate`${renderComponent($$result, "BaseLayout", $$BaseLayout, { "title": t("login.title") }, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="login-page"><div class="login-card"><div class="login-header"><div class="logo"><img src="/logo.svg" width="96" height="96" alt="OkCMS"></div><p>${t("login.subtitle")}</p></div><form id="login-form" class="login-form"><div class="form-group"><label for="email">${t("login.email")}</label><input type="email" id="email" name="email" class="input" required placeholder="admin@example.com" autocomplete="email"></div><div class="form-group"><label for="password">${t("login.password")}</label><input type="password" id="password" name="password" class="input" required placeholder="••••••••" autocomplete="current-password"></div><div id="error-message" class="error-message" style="display: none;"></div><button type="submit" class="btn btn-primary"><span id="submit-text">${t("login.submit")}</span><span id="submit-spinner" class="spinner" style="display: none;"></span></button></form></div></div>` })}${renderScript($$result, "/home/runner/work/cms/cms/apps/admin/src/pages/login.astro?astro&type=script&index=0&lang.ts")}`;
17
+ }, "/home/runner/work/cms/cms/apps/admin/src/pages/login.astro", void 0);
18
+ var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/login.astro";
19
+ var $$url = "/login";
20
+ //#endregion
21
+ //#region \0virtual:astro:page:src/pages/login@_@astro
22
+ var page = () => login_exports;
23
+ //#endregion
24
+ export { page };
@@ -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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, 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$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.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,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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, 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, 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 "./DashboardLayout_C2WD4ptx.mjs";
5
- import { t as ContentEditor } from "./ContentEditor_RD9ysP51.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
5
+ import { t as ContentEditor } from "./ContentEditor_qKR9fpe8.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  //#region src/pages/content/[type]/new.astro
8
8
  var new_exports = /* @__PURE__ */ __exportAll({
@@ -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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, 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, 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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.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, 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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
8
8
  import { For, Show, 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, p as addAttribute, 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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, 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, 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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, 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, 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 "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
5
5
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
- import { t as MediaLibrary } from "./MediaLibrary_24_d7ImJ.mjs";
6
+ import { t as MediaLibrary } from "./MediaLibrary_DKM6Z01t.mjs";
7
7
  //#region src/pages/media/upload.astro
8
8
  var upload_exports = /* @__PURE__ */ __exportAll({
9
9
  default: () => $$Upload,
@@ -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 "./i18n_B-Vk5esc.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_C2WD4ptx.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BfgvkkQ3.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_BNKTHTT6.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, createSignal, onCleanup, onMount } from "solid-js";