@oktis-works/admin 0.4.13 → 0.4.14

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 (126) hide show
  1. package/dist/client/_astro/{ActivityWidget.DeayROhc.js → ActivityWidget.C2ETg6u_.js} +2 -2
  2. package/dist/client/_astro/AdminBar.Dc_oT_my.js +234 -0
  3. package/dist/client/_astro/{AtGlanceWidget.CDFVi_eX.js → AtGlanceWidget.BVCJB3QT.js} +3 -3
  4. package/dist/client/_astro/BaseLayout.B3A9-IS6.css +1 -0
  5. package/dist/client/_astro/ContentEditor.CoCaseap.js +1 -0
  6. package/dist/client/_astro/ContentList.Qp90yZEx.js +1 -0
  7. package/dist/client/_astro/CustomFieldsManager.B2JEuxBb.js +3 -0
  8. package/dist/client/_astro/DashboardHome.CgDrZavo.js +1 -0
  9. package/dist/client/_astro/DashboardLayout.CEvRGr78.css +1 -0
  10. package/dist/client/_astro/DashboardLayout.astro_astro_type_script_index_0_lang.nXh9K0OY.js +1 -0
  11. package/dist/client/_astro/FieldTypePicker.BEuYPzV8.js +1 -0
  12. package/dist/client/_astro/{Footer.KkyZkNxH.js → Footer.BpxMjlJE.js} +3 -5
  13. package/dist/client/_astro/GeneralSettings.BVFwXCbR.js +1 -0
  14. package/dist/client/_astro/MediaLibrary.CGzXvUbD.js +1 -0
  15. package/dist/client/_astro/PluginManager.CQW7_Hl-.js +93 -0
  16. package/dist/client/_astro/PostTypesManager.CFX0sR5p.js +1 -0
  17. package/dist/client/_astro/{QuickDraftWidget.Drp_cL_D.js → QuickDraftWidget.DLaU-WiG.js} +2 -2
  18. package/dist/client/_astro/ResourceHubs.DasaSiMK.js +1 -0
  19. package/dist/client/_astro/TaxonomiesManager.CralM7Ne.js +1 -0
  20. package/dist/client/_astro/ThemeManager.C9mBa-po.js +129 -0
  21. package/dist/client/_astro/UserCreateForm.D6rRUn0J.js +1 -0
  22. package/dist/client/_astro/UsersManager.DdpgI0mN.js +1 -0
  23. package/dist/client/_astro/api.CDW61rqX.js +1 -0
  24. package/dist/client/_astro/ar.DsV0P0EN.js +1 -0
  25. package/dist/client/_astro/{client.C7p516_9.js → client.BY0Z100j.js} +1 -1
  26. package/dist/client/_astro/custom-fields.IjuRIdAC.css +1 -0
  27. package/dist/client/_astro/es-ES.etPSaiLd.js +1 -0
  28. package/dist/client/_astro/extensions.roNfOg-_.js +1 -0
  29. package/dist/client/_astro/he.U1Vtp3zT.js +1 -0
  30. package/dist/client/_astro/i18n.D0KNEGgP.js +1 -0
  31. package/dist/client/_astro/it.DJuI8oO_.js +1 -0
  32. package/dist/client/_astro/ja.Cw8I_NUV.js +1 -0
  33. package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.D6nHqYm6.js → login.astro_astro_type_script_index_0_lang.CdYoT76J.js} +1 -1
  34. package/dist/client/_astro/pl.Dsz-4G_z.js +1 -0
  35. package/dist/client/_astro/pt-BR.CyQAHnXs.js +1 -0
  36. package/dist/client/_astro/ru.CwIIcTdy.js +1 -0
  37. package/dist/client/_astro/src.DyLYQxi2.js +1 -0
  38. package/dist/client/_astro/sw.DwpL3sb6.js +1 -0
  39. package/dist/client/_astro/tr.CY2JWJ7Y.js +1 -0
  40. package/dist/client/_astro/uk.BudEWIU8.js +1 -0
  41. package/dist/client/_astro/{version.C0f0jrCn.js → version.CoiXQYz6.js} +1 -1
  42. package/dist/client/_astro/{web.D1H9RxZL.js → web.D_vCtCLj.js} +1 -1
  43. package/dist/client/_astro/yo.BmoZs0fO.js +1 -0
  44. package/dist/client/_astro/zh-CN.khaXV6fv.js +1 -0
  45. package/dist/server/chunks/{ContentEditor_BtclxOqH.mjs → ContentEditor_Dtmf4Zk6.mjs} +31 -101
  46. package/dist/server/chunks/{DashboardLayout_B9pE8ZBQ.mjs → DashboardLayout_DnE23ArY.mjs} +50 -563
  47. package/dist/server/chunks/FieldTypePicker_CXwpmcQ3.mjs +79 -0
  48. package/dist/server/chunks/{MediaLibrary_DLO2K_4d.mjs → MediaLibrary_CKvvgCI6.mjs} +2 -2
  49. package/dist/server/chunks/ResourceHubs_Aoy5L4qj.mjs +453 -0
  50. package/dist/server/chunks/{_slug__yqDK_Ow8.mjs → _slug__DtzYz9Uz.mjs} +1 -1
  51. package/dist/server/chunks/access_BNFcmbp2.mjs +34 -0
  52. package/dist/server/chunks/{ar_DBjdWIJ0.mjs → ar_DMC8HaoP.mjs} +3 -1
  53. package/dist/server/chunks/custom-fields_90Jyw521.mjs +488 -0
  54. package/dist/server/chunks/{edit_0bCUPzfW.mjs → edit_BmWxJDZa.mjs} +2 -2
  55. package/dist/server/chunks/{es-ES_TJ4oK1yi.mjs → es-ES_DZvHskAD.mjs} +3 -1
  56. package/dist/server/chunks/{general_D-MMl9p8.mjs → general_AGjbJVe-.mjs} +6 -6
  57. package/dist/server/chunks/{he_TWsuTphz.mjs → he_zy3stNhR.mjs} +3 -1
  58. package/dist/server/chunks/i18n_Csb4GGX2.mjs +1326 -0
  59. package/dist/server/chunks/{index_CTpEX5iK.mjs → index_BKm7s1bn.mjs} +2 -2
  60. package/dist/server/chunks/{index_CALAZTDB.mjs → index_C7yZO-zD.mjs} +2 -2
  61. package/dist/server/chunks/{index_Z7GukanS.mjs → index_CUsSNKEq.mjs} +8 -6
  62. package/dist/server/chunks/{index_DB6MLU0v.mjs → index_D5IP16pU.mjs} +3 -3
  63. package/dist/server/chunks/{index_Bq7o-ZHF.mjs → index_b00ttelz.mjs} +1 -1
  64. package/dist/server/chunks/{it_CEVFVWh1.mjs → it_BiUDLszZ.mjs} +3 -1
  65. package/dist/server/chunks/{ja_CqDirMqf.mjs → ja_DjFAG7hL.mjs} +3 -1
  66. package/dist/server/chunks/{login_BcWk_36h.mjs → login_lEEcbYs3.mjs} +1 -1
  67. package/dist/server/chunks/{new_BbKoexYG.mjs → new_BDjFzd-l.mjs} +2 -2
  68. package/dist/server/chunks/{new_DlqbYYA1.mjs → new_BjtzqhsE.mjs} +2 -2
  69. package/dist/server/chunks/operations_D7TMl0mB.mjs +34 -0
  70. package/dist/server/chunks/{pl_ChIKxfZG.mjs → pl_0Xe9Qom2.mjs} +3 -1
  71. package/dist/server/chunks/{plugins_BLJAzLX4.mjs → plugins_KhRV7kiu.mjs} +46 -17
  72. package/dist/server/chunks/{post-types_BvVl0hZs.mjs → post-types_DfXwkNIg.mjs} +6 -6
  73. package/dist/server/chunks/{pt-BR_4d4jZWL0.mjs → pt-BR_DIZpU2Mk.mjs} +206 -2
  74. package/dist/server/chunks/resources_BbhlUSXs.mjs +34 -0
  75. package/dist/server/chunks/{ru_CIc6O5Q7.mjs → ru_DFvIxd0Y.mjs} +3 -1
  76. package/dist/server/chunks/{sw_Bs3iYVDM.mjs → sw_CmaPgGYa.mjs} +3 -1
  77. package/dist/server/chunks/{taxonomies_Dkx7d-vc.mjs → taxonomies_CF7qpKG3.mjs} +2 -2
  78. package/dist/server/chunks/themes_RAw8tJmy.mjs +151 -0
  79. package/dist/server/chunks/{tr_C7JbXuoQ.mjs → tr_B_acwl2e.mjs} +3 -1
  80. package/dist/server/chunks/{uk_Dibs8Wkc.mjs → uk_DXnk4imL.mjs} +3 -1
  81. package/dist/server/chunks/{upload_CpGGKDEH.mjs → upload_BBZ9ttmU.mjs} +2 -2
  82. package/dist/server/chunks/{yo_B6MPvz_U.mjs → yo_DDQ8a-0v.mjs} +3 -1
  83. package/dist/server/chunks/{zh-CN_G1Dc2b28.mjs → zh-CN_763uzTMQ.mjs} +3 -1
  84. package/dist/server/entry.mjs +149 -25
  85. package/dist/server/virtual_astro_middleware.mjs +6 -3
  86. package/package.json +1 -1
  87. package/dist/client/_astro/AdminBar.DQilvzQe.js +0 -234
  88. package/dist/client/_astro/BaseLayout.B2MfKf6B.css +0 -1
  89. package/dist/client/_astro/ContentEditor.WyLHMY9o.js +0 -1
  90. package/dist/client/_astro/ContentList.BWtiYbDy.js +0 -1
  91. package/dist/client/_astro/DashboardHome.-0s3t1kG.js +0 -1
  92. package/dist/client/_astro/DashboardLayout.DWuCsemN.css +0 -1
  93. package/dist/client/_astro/DashboardLayout.astro_astro_type_script_index_0_lang.Bm7kqhGo.js +0 -1
  94. package/dist/client/_astro/GeneralSettings.CaEyAV2f.js +0 -1
  95. package/dist/client/_astro/HelpTabs.99giF0f1.js +0 -103
  96. package/dist/client/_astro/LanguageSelector.DPBYaSN4.js +0 -14
  97. package/dist/client/_astro/MediaLibrary.DBfw3BM0.js +0 -1
  98. package/dist/client/_astro/PluginManager.BFoAz05U.js +0 -93
  99. package/dist/client/_astro/PostTypesManager.y9aB2d3_.js +0 -1
  100. package/dist/client/_astro/ScreenOptions.C8K8Bufc.js +0 -70
  101. package/dist/client/_astro/TaxonomiesManager.Cj54HB7P.js +0 -1
  102. package/dist/client/_astro/ThemeManager.BuULAG8h.js +0 -124
  103. package/dist/client/_astro/UserCreateForm.BMWIRfb2.js +0 -1
  104. package/dist/client/_astro/UsersManager.BogkOfCQ.js +0 -1
  105. package/dist/client/_astro/api.PfLklAa1.js +0 -1
  106. package/dist/client/_astro/ar.CzsjUutD.js +0 -1
  107. package/dist/client/_astro/en.DmN7xy_a.js +0 -1
  108. package/dist/client/_astro/es-ES.p2TLEMlZ.js +0 -1
  109. package/dist/client/_astro/extensions.DfxrGzbo.js +0 -1
  110. package/dist/client/_astro/he.BnYHiYpn.js +0 -1
  111. package/dist/client/_astro/i18n.BMDVwjZM.js +0 -1
  112. package/dist/client/_astro/it.WrWKBEAD.js +0 -1
  113. package/dist/client/_astro/ja.DxnfhIdt.js +0 -1
  114. package/dist/client/_astro/pl.jUj-RfZS.js +0 -1
  115. package/dist/client/_astro/pt-BR.DtNwEO0i.js +0 -1
  116. package/dist/client/_astro/ru.KFSfdjWn.js +0 -1
  117. package/dist/client/_astro/src.Cgonpfb5.js +0 -1
  118. package/dist/client/_astro/sw.3jlAOLOv.js +0 -1
  119. package/dist/client/_astro/tr.tnLMnGPg.js +0 -1
  120. package/dist/client/_astro/uk.VquHY_xc.js +0 -1
  121. package/dist/client/_astro/yo.Cr8hCb5u.js +0 -1
  122. package/dist/client/_astro/zh-CN.E32QqP4v.js +0 -1
  123. package/dist/server/chunks/en_C750mYKk.mjs +0 -408
  124. package/dist/server/chunks/i18n_Dj2ieo-N.mjs +0 -548
  125. package/dist/server/chunks/themes_CCDPOhVZ.mjs +0 -127
  126. /package/dist/server/chunks/{BaseLayout_BsR68tOH.mjs → BaseLayout_4yJ0PQCS.mjs} +0 -0
@@ -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 "./DashboardLayout_B9pE8ZBQ.mjs";
5
- import { t as MediaLibrary } from "./MediaLibrary_DLO2K_4d.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_DnE23ArY.mjs";
5
+ import { t as MediaLibrary } from "./MediaLibrary_CKvvgCI6.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 "./i18n_Dj2ieo-N.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_B9pE8ZBQ.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Csb4GGX2.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_DnE23ArY.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,10 +1,10 @@
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_Dj2ieo-N.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_B9pE8ZBQ.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Csb4GGX2.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_DnE23ArY.mjs";
6
6
  import { createComponent, escape, ssr, ssrHydrationKey } from "solid-js/web";
7
- import { Show, createSignal, onMount } from "solid-js";
7
+ import { Show, createMemo, createSignal, onMount } from "solid-js";
8
8
  //#region src/components/content/ContentList.tsx
9
9
  var _tmpl$ = [
10
10
  "<span",
@@ -113,7 +113,7 @@ function ContentList() {
113
113
  setError(err instanceof Error ? err.message : String(err));
114
114
  }
115
115
  };
116
- const columns = [
116
+ const columns = createMemo(() => [
117
117
  {
118
118
  key: "title",
119
119
  label: t("content.list.columns.title")
@@ -164,7 +164,7 @@ function ContentList() {
164
164
  })));
165
165
  }
166
166
  }
167
- ];
167
+ ]);
168
168
  return ssr(_tmpl$5, ssrHydrationKey(), escape(createComponent(Show, {
169
169
  get when() {
170
170
  return error();
@@ -245,7 +245,9 @@ function ContentList() {
245
245
  }
246
246
  })), escape(createComponent(Card, { get children() {
247
247
  return [createComponent(Table, {
248
- columns,
248
+ get columns() {
249
+ return columns();
250
+ },
249
251
  get data() {
250
252
  return items();
251
253
  },
@@ -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_Dj2ieo-N.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_B9pE8ZBQ.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Csb4GGX2.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_DnE23ArY.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
@@ -143,7 +143,7 @@ var $$Index = createComponent$1(($$result, $$props, $$slots) => {
143
143
  "client:component-hydration": "load",
144
144
  "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/dashboard/DashboardHome.tsx",
145
145
  "client:component-export": "DashboardHome"
146
- })}<div class="quick-actions" data-astro-cid-lcdefpme><div class="card" data-astro-cid-lcdefpme><h3 class="card-header" data-astro-cid-lcdefpme>${t("layout.actions.newPost")}</h3><div class="actions-grid" data-astro-cid-lcdefpme><a href="/content/new" class="action-card" data-astro-cid-lcdefpme><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-lcdefpme><line x1="12" y1="5" x2="12" y2="19" data-astro-cid-lcdefpme></line><line x1="5" y1="12" x2="19" y2="12" data-astro-cid-lcdefpme></line></svg><span data-astro-cid-lcdefpme>${t("layout.actions.newPost")}</span></a><a href="/media/upload" class="action-card" data-astro-cid-lcdefpme><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-lcdefpme><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" data-astro-cid-lcdefpme></path><polyline points="17 8 12 3 7 8" data-astro-cid-lcdefpme></polyline><line x1="12" y1="3" x2="12" y2="15" data-astro-cid-lcdefpme></line></svg><span data-astro-cid-lcdefpme>${t("layout.actions.uploadMedia")}</span></a><a href="/users/new" class="action-card" data-astro-cid-lcdefpme><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-lcdefpme><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" data-astro-cid-lcdefpme></path><circle cx="8.5" cy="7" r="4" data-astro-cid-lcdefpme></circle><line x1="20" y1="8" x2="20" y2="14" data-astro-cid-lcdefpme></line><line x1="23" y1="11" x2="17" y2="11" data-astro-cid-lcdefpme></line></svg><span data-astro-cid-lcdefpme>${t("layout.actions.addUser")}</span></a><a href="/settings" class="action-card" data-astro-cid-lcdefpme><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-lcdefpme><circle cx="12" cy="12" r="3" data-astro-cid-lcdefpme></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-lcdefpme></path></svg><span data-astro-cid-lcdefpme>${t("layout.actions.openSettings")}</span></a></div></div></div></div>` })}`;
146
+ })}<div class="quick-actions" data-astro-cid-lcdefpme><div class="card" data-astro-cid-lcdefpme><h3 class="card-header" data-astro-cid-lcdefpme>${t("layout.actions.newPost")}</h3><div class="actions-grid" data-astro-cid-lcdefpme><a href="/content/new" class="action-card" data-astro-cid-lcdefpme><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-lcdefpme><line x1="12" y1="5" x2="12" y2="19" data-astro-cid-lcdefpme></line><line x1="5" y1="12" x2="19" y2="12" data-astro-cid-lcdefpme></line></svg><span data-astro-cid-lcdefpme>${t("layout.actions.newPost")}</span></a><a href="/media/upload" class="action-card" data-astro-cid-lcdefpme><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-lcdefpme><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" data-astro-cid-lcdefpme></path><polyline points="17 8 12 3 7 8" data-astro-cid-lcdefpme></polyline><line x1="12" y1="3" x2="12" y2="15" data-astro-cid-lcdefpme></line></svg><span data-astro-cid-lcdefpme>${t("layout.actions.uploadMedia")}</span></a><a href="/users/new" class="action-card" data-astro-cid-lcdefpme><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-lcdefpme><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" data-astro-cid-lcdefpme></path><circle cx="8.5" cy="7" r="4" data-astro-cid-lcdefpme></circle><line x1="20" y1="8" x2="20" y2="14" data-astro-cid-lcdefpme></line><line x1="23" y1="11" x2="17" y2="11" data-astro-cid-lcdefpme></line></svg><span data-astro-cid-lcdefpme>${t("layout.actions.addUser")}</span></a><a href="/settings" class="action-card" data-astro-cid-lcdefpme><span class="settings-action-icon" aria-hidden="true" data-astro-cid-lcdefpme><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-lcdefpme><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 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z" data-astro-cid-lcdefpme></path><circle cx="12" cy="12" r="3" data-astro-cid-lcdefpme></circle></svg></span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" data-astro-cid-lcdefpme><circle cx="12" cy="12" r="3" data-astro-cid-lcdefpme></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-lcdefpme></path></svg><span data-astro-cid-lcdefpme>${t("layout.actions.openSettings")}</span></a></div></div></div></div>` })}`;
147
147
  }, "/home/runner/work/cms/cms/apps/admin/src/pages/index.astro", void 0);
148
148
  var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/index.astro";
149
149
  //#endregion
@@ -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_B9pE8ZBQ.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_DnE23ArY.mjs";
5
5
  //#region src/pages/settings/index.astro
6
6
  var settings_exports = /* @__PURE__ */ __exportAll({
7
7
  default: () => $$Index,
@@ -7,7 +7,9 @@ var layout = {
7
7
  "content": "Contenuti",
8
8
  "media": "Media",
9
9
  "users": "Utenti",
10
- "settings": "Impostazioni"
10
+ "settings": "Impostazioni",
11
+ "plugins": "Plugin",
12
+ "themes": "Temi"
11
13
  },
12
14
  "actions": {
13
15
  "logout": "Esci",
@@ -7,7 +7,9 @@ var layout = {
7
7
  "content": "コンテンツ",
8
8
  "media": "メディア",
9
9
  "users": "ユーザー",
10
- "settings": "設定"
10
+ "settings": "設定",
11
+ "plugins": "プラグイン",
12
+ "themes": "テーマ"
11
13
  },
12
14
  "actions": {
13
15
  "logout": "ログアウト",
@@ -2,7 +2,7 @@ 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
4
  import { t as renderScript } from "./script_CPGt5jAh.mjs";
5
- import { t as $$BaseLayout } from "./BaseLayout_BsR68tOH.mjs";
5
+ import { t as $$BaseLayout } from "./BaseLayout_4yJ0PQCS.mjs";
6
6
  //#region src/pages/login.astro
7
7
  var login_exports = /* @__PURE__ */ __exportAll({
8
8
  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 "./DashboardLayout_B9pE8ZBQ.mjs";
5
- import { t as ContentEditor } from "./ContentEditor_BtclxOqH.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_DnE23ArY.mjs";
5
+ import { t as ContentEditor } from "./ContentEditor_Dtmf4Zk6.mjs";
6
6
  //#region src/pages/content/new.astro
7
7
  var new_exports = /* @__PURE__ */ __exportAll({
8
8
  default: () => $$New,
@@ -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_Dj2ieo-N.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_B9pE8ZBQ.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Csb4GGX2.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_DnE23ArY.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
@@ -0,0 +1,34 @@
1
+ import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
+ import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
+ import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_DnE23ArY.mjs";
5
+ import { r as OperationsManager } from "./ResourceHubs_Aoy5L4qj.mjs";
6
+ //#region src/pages/settings/operations.astro
7
+ var operations_exports = /* @__PURE__ */ __exportAll({
8
+ default: () => $$Operations,
9
+ file: () => $$file,
10
+ url: () => $$url
11
+ });
12
+ createAstro("https://astro.build");
13
+ var $$Operations = createComponent(($$result, $$props, $$slots) => {
14
+ const Astro = $$result.createAstro($$props, $$slots);
15
+ Astro.self = $$Operations;
16
+ const { t } = Astro.locals;
17
+ return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
18
+ "title": t("operations.title"),
19
+ "data-astro-cid-bbpf7yln": true
20
+ }, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="settings-page" data-astro-cid-bbpf7yln><div class="page-header" data-astro-cid-bbpf7yln><h2 data-astro-cid-bbpf7yln>${t("operations.title")}</h2><p data-astro-cid-bbpf7yln>${t("operations.description")}</p></div>${renderComponent($$result, "OperationsManager", OperationsManager, {
21
+ "client:load": true,
22
+ "data-astro-cid-bbpf7yln": true,
23
+ "client:component-hydration": "load",
24
+ "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/settings/ResourceHubs.tsx",
25
+ "client:component-export": "OperationsManager"
26
+ })}</div>` })}`;
27
+ }, "/home/runner/work/cms/cms/apps/admin/src/pages/settings/operations.astro", void 0);
28
+ var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/settings/operations.astro";
29
+ var $$url = "/settings/operations";
30
+ //#endregion
31
+ //#region \0virtual:astro:page:src/pages/settings/operations@_@astro
32
+ var page = () => operations_exports;
33
+ //#endregion
34
+ export { page };
@@ -7,7 +7,9 @@ var layout = {
7
7
  "content": "Treści",
8
8
  "media": "Media",
9
9
  "users": "Użytkownicy",
10
- "settings": "Ustawienia"
10
+ "settings": "Ustawienia",
11
+ "plugins": "Wtyczki",
12
+ "themes": "Motywy"
11
13
  },
12
14
  "actions": {
13
15
  "logout": "Wyloguj",
@@ -1,27 +1,37 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { 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_Dj2ieo-N.mjs";
5
- import { t as $$BaseLayout } from "./BaseLayout_BsR68tOH.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Csb4GGX2.mjs";
5
+ import { t as $$BaseLayout } from "./BaseLayout_4yJ0PQCS.mjs";
6
6
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
7
- import { For, createSignal, onMount } from "solid-js";
7
+ import { For, Show, createSignal, onMount } from "solid-js";
8
8
  //#region src/components/apps/plugins/PluginManager.tsx
9
9
  var _tmpl$ = [
10
+ "<form",
11
+ " class=\"card plugin-install-form\"><input class=\"input\" required",
12
+ "><input class=\"input\" required",
13
+ "><textarea class=\"input\" required rows=\"5\"",
14
+ "></textarea><button class=\"btn btn-primary\" type=\"submit\">",
15
+ "</button></form>"
16
+ ];
17
+ var _tmpl$2 = [
10
18
  "<div",
11
19
  " class=\"plugin-manager\"><div class=\"page-header\"><h2>",
12
20
  "</h2><p class=\"page-description\">",
13
- "</p></div><!--$-->",
21
+ "</p><button class=\"btn btn-primary\" type=\"button\">",
22
+ "</button></div><!--$-->",
23
+ "<!--/--><!--$-->",
14
24
  "<!--/--><!--$-->",
15
25
  "<!--/--><!--$-->",
16
26
  "<!--/--><style>\n .page-header {\n margin-bottom: 1.5rem;\n }\n .page-header h2 {\n margin: 0 0 0.5rem;\n font-size: 1.5rem;\n font-weight: 600;\n }\n .page-description {\n margin: 0;\n color: var(--color-muted);\n font-size: 0.875rem;\n }\n .plugins-table-container {\n overflow-x: auto;\n }\n .table {\n width: 100%;\n border-collapse: collapse;\n }\n .table th,\n .table td {\n padding: 0.75rem 1rem;\n text-align: left;\n border-bottom: 1px solid var(--color-border);\n }\n .table th {\n font-weight: 600;\n color: var(--color-text);\n background: var(--color-surface);\n }\n .plugin-row:hover {\n background: var(--color-background);\n }\n .plugin-name {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n }\n .plugin-name strong {\n font-weight: 500;\n }\n .plugin-description {\n font-size: 0.75rem;\n color: var(--color-muted);\n }\n .status-badge {\n display: inline-flex;\n align-items: center;\n padding: 0.25rem 0.5rem;\n border-radius: var(--radius-full);\n font-size: 0.6875rem;\n font-weight: 600;\n text-transform: uppercase;\n }\n .status-active {\n background: var(--color-success-soft);\n color: var(--color-success);\n }\n .status-installed {\n background: var(--color-primary-soft);\n color: var(--color-primary);\n }\n .status-inactive {\n background: var(--color-muted-soft);\n color: var(--color-muted);\n }\n .btn-loading {\n opacity: 0.6;\n cursor: wait;\n }\n .empty-state {\n padding: 2rem;\n text-align: center;\n color: var(--color-muted);\n }\n .alert {\n padding: 0.75rem 1rem;\n border-radius: var(--radius-md);\n margin-bottom: 1rem;\n }\n .alert-error {\n background: var(--color-error-soft);\n color: var(--color-error);\n border: 1px solid var(--color-error);\n }\n .skeleton {\n padding: 2rem;\n text-align: center;\n color: var(--color-muted);\n }\n </style></div>"
17
27
  ];
18
- var _tmpl$2 = [
28
+ var _tmpl$3 = [
19
29
  "<div",
20
30
  " class=\"alert alert-error\">",
21
31
  "</div>"
22
32
  ];
23
- var _tmpl$3 = ["<div", " class=\"skeleton\">Loading...</div>"];
24
- var _tmpl$4 = [
33
+ var _tmpl$4 = ["<div", " class=\"skeleton\">Loading...</div>"];
34
+ var _tmpl$5 = [
25
35
  "<div",
26
36
  " class=\"plugins-table-container\"><table class=\"table\"><thead><tr><th>",
27
37
  "</th><th>",
@@ -31,7 +41,7 @@ var _tmpl$4 = [
31
41
  "</tbody></table><!--$-->",
32
42
  "<!--/--></div>"
33
43
  ];
34
- var _tmpl$5 = [
44
+ var _tmpl$6 = [
35
45
  "<tr",
36
46
  " class=\"plugin-row\"><td class=\"plugin-name\"><strong>",
37
47
  "</strong><!--$-->",
@@ -41,14 +51,15 @@ var _tmpl$5 = [
41
51
  "</span></td><td><button class=\"",
42
52
  "\"",
43
53
  ">",
54
+ "</button><button class=\"btn btn-sm btn-danger\" type=\"button\">",
44
55
  "</button></td></tr>"
45
56
  ];
46
- var _tmpl$6 = [
57
+ var _tmpl$7 = [
47
58
  "<span",
48
59
  " class=\"plugin-description\">",
49
60
  "</span>"
50
61
  ];
51
- var _tmpl$7 = [
62
+ var _tmpl$8 = [
52
63
  "<div",
53
64
  " class=\"empty-state\">",
54
65
  "</div>"
@@ -59,6 +70,12 @@ function PluginManager() {
59
70
  const [loading, setLoading] = createSignal(true);
60
71
  const [error, setError] = createSignal(null);
61
72
  const [toggling, setToggling] = createSignal(null);
73
+ const [installForm, setInstallForm] = createSignal({
74
+ name: "",
75
+ version: "",
76
+ manifest: "{}"
77
+ });
78
+ const [showInstall, setShowInstall] = createSignal(false);
62
79
  onMount(async () => {
63
80
  await loadPlugins();
64
81
  });
@@ -73,28 +90,40 @@ function PluginManager() {
73
90
  setLoading(false);
74
91
  }
75
92
  }
93
+ const isActive = (plugin) => plugin.status === "ACTIVE" || plugin.status === "ACTIVATED";
76
94
  const getStatusLabel = (status) => {
77
95
  switch (status) {
78
- case "ACTIVE": return t("plugins.status.active");
96
+ case "ACTIVE":
97
+ case "ACTIVATED": return t("plugins.status.active");
79
98
  case "INSTALLED": return t("plugins.status.installed");
80
- case "INACTIVE": return t("plugins.status.inactive");
99
+ case "INACTIVE":
100
+ case "DEACTIVATED": return t("plugins.status.inactive");
81
101
  default: return status;
82
102
  }
83
103
  };
84
104
  const getStatusClass = (status) => {
85
105
  switch (status) {
86
- case "ACTIVE": return "status-active";
106
+ case "ACTIVE":
107
+ case "ACTIVATED": return "status-active";
87
108
  case "INSTALLED": return "status-installed";
88
- case "INACTIVE": return "status-inactive";
109
+ case "INACTIVE":
110
+ case "DEACTIVATED": return "status-inactive";
89
111
  default: return "";
90
112
  }
91
113
  };
92
- return ssr(_tmpl$, ssrHydrationKey(), escape(t("plugins.title")), escape(t("plugins.description")), error() && ssr(_tmpl$2, ssrHydrationKey(), escape(error())), loading() && _tmpl$3[0] + ssrHydrationKey() + _tmpl$3[1], !loading() && !error() && ssr(_tmpl$4, ssrHydrationKey(), escape(t("plugins.columns.name")), escape(t("plugins.columns.version")), escape(t("plugins.columns.status")), escape(t("plugins.columns.actions")), escape(createComponent(For, {
114
+ return ssr(_tmpl$2, ssrHydrationKey(), escape(t("plugins.title")), escape(t("plugins.description")), escape(t("plugins.install")), escape(createComponent(Show, {
115
+ get when() {
116
+ return showInstall();
117
+ },
118
+ get children() {
119
+ return ssr(_tmpl$, ssrHydrationKey(), ssrAttribute("placeholder", escape(t("plugins.name"), true), false) + ssrAttribute("value", escape(installForm().name, true), false), ssrAttribute("placeholder", escape(t("plugins.version"), true), false) + ssrAttribute("value", escape(installForm().version, true), false), ssrAttribute("placeholder", escape(t("plugins.manifest"), true), false) + ssrAttribute("value", escape(installForm().manifest, true), false), escape(t("common.save")));
120
+ }
121
+ })), error() && ssr(_tmpl$3, ssrHydrationKey(), escape(error())), loading() && _tmpl$4[0] + ssrHydrationKey() + _tmpl$4[1], !loading() && !error() && ssr(_tmpl$5, ssrHydrationKey(), escape(t("plugins.columns.name")), escape(t("plugins.columns.version")), escape(t("plugins.columns.status")), escape(t("plugins.columns.actions")), escape(createComponent(For, {
93
122
  get each() {
94
123
  return plugins();
95
124
  },
96
- children: (plugin) => ssr(_tmpl$5, ssrHydrationKey(), escape(plugin.name), plugin.manifest?.description && ssr(_tmpl$6, ssrHydrationKey(), escape(plugin.manifest.description)), escape(plugin.version), `status-badge ${escape(getStatusClass(plugin.status), true)}`, escape(getStatusLabel(plugin.status)), `btn btn-sm ${toggling() === plugin.id ? "btn-loading" : ""}`, ssrAttribute("disabled", toggling() !== null, true) + ssrAttribute("aria-label", plugin.status === "ACTIVE" ? escape(t("plugins.deactivate"), true) : escape(t("plugins.activate"), true), false), plugin.status === "ACTIVE" ? escape(t("plugins.deactivate")) : escape(t("plugins.activate")))
97
- })), plugins().length === 0 && ssr(_tmpl$7, ssrHydrationKey(), escape(t("plugins.empty")))));
125
+ children: (plugin) => ssr(_tmpl$6, ssrHydrationKey(), escape(plugin.name), plugin.manifest?.description && ssr(_tmpl$7, ssrHydrationKey(), escape(plugin.manifest.description)), escape(plugin.version), `status-badge ${escape(getStatusClass(plugin.status), true)}`, escape(getStatusLabel(plugin.status)), `btn btn-sm ${toggling() === plugin.id ? "btn-loading" : ""}`, ssrAttribute("disabled", toggling() !== null, true) + ssrAttribute("aria-label", isActive(plugin) ? escape(t("plugins.deactivate"), true) : escape(t("plugins.activate"), true), false), isActive(plugin) ? escape(t("plugins.deactivate")) : escape(t("plugins.activate")), escape(t("plugins.uninstall")))
126
+ })), plugins().length === 0 && ssr(_tmpl$8, ssrHydrationKey(), escape(t("plugins.empty")))));
98
127
  }
99
128
  //#endregion
100
129
  //#region src/pages/plugins.astro
@@ -1,10 +1,10 @@
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_Dj2ieo-N.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_B9pE8ZBQ.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Csb4GGX2.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_DnE23ArY.mjs";
6
6
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
7
- import { For, Show, createSignal, onMount } from "solid-js";
7
+ import { For, Show, createMemo, createSignal, onMount } from "solid-js";
8
8
  //#region src/components/apps/settings/PostTypesManager.tsx
9
9
  var _tmpl$ = [
10
10
  "<div",
@@ -63,7 +63,7 @@ function PostTypesManager() {
63
63
  const [types, setTypes] = createSignal([]);
64
64
  const [error, setError] = createSignal("");
65
65
  const [saving, setSaving] = createSignal(false);
66
- const SUPPORTS_OPTIONS = [
66
+ const supportsOptions = createMemo(() => [
67
67
  {
68
68
  value: "title",
69
69
  label: t("settings.postTypes.form.supportsOptions.title")
@@ -84,7 +84,7 @@ function PostTypesManager() {
84
84
  value: "revisions",
85
85
  label: t("settings.postTypes.form.supportsOptions.revisions")
86
86
  }
87
- ];
87
+ ]);
88
88
  const [form, setForm] = createSignal({
89
89
  name: "",
90
90
  slug: "",
@@ -110,7 +110,7 @@ function PostTypesManager() {
110
110
  }
111
111
  })), escape(t("settings.postTypes.form.title")), escape(t("settings.postTypes.form.slug")), ssrAttribute("title", escape(t("settings.postTypes.form.slugHint"), true), false) + ssrAttribute("value", escape(form().slug, true), false), escape(t("settings.postTypes.form.singular")), ssrAttribute("value", escape(form().singularLabel, true), false), escape(t("settings.postTypes.form.plural")), ssrAttribute("value", escape(form().pluralLabel, true), false), escape(t("settings.postTypes.form.supports")), escape(createComponent(For, {
112
112
  get each() {
113
- return [...SUPPORTS_OPTIONS];
113
+ return supportsOptions();
114
114
  },
115
115
  children: (option) => ssr(_tmpl$3, ssrHydrationKey(), ssrAttribute("checked", form().supports.includes(option.value), true), escape(option.label))
116
116
  })), ssrAttribute("checked", form().hasArchive, true), escape(t("settings.postTypes.form.hasArchive")), ssrAttribute("disabled", saving(), true), escape(t("settings.postTypes.form.create")), escape(t("settings.postTypes.table.slug")), escape(t("settings.postTypes.table.singular")), escape(t("settings.postTypes.table.plural")), escape(t("settings.postTypes.table.source")), escape(t("settings.postTypes.table.supports")), escape(t("settings.postTypes.table.archive")), escape(createComponent(For, {
@@ -7,7 +7,9 @@ var layout = {
7
7
  "content": "Conteúdo",
8
8
  "media": "Mídia",
9
9
  "users": "Usuários",
10
- "settings": "Configurações"
10
+ "settings": "Configurações",
11
+ "plugins": "Plugins",
12
+ "themes": "Temas"
11
13
  },
12
14
  "actions": {
13
15
  "logout": "Sair",
@@ -292,8 +294,205 @@ var settings = {
292
294
  "attachedTypes": "Content types vinculados",
293
295
  "actions": { "remove": "Remover" }
294
296
  }
297
+ },
298
+ "customFields": {
299
+ "title": "Campos personalizados",
300
+ "description": "Crie grupos de campos, organize os campos e escolha quais campos padrão ficam visíveis em cada tipo de conteúdo.",
301
+ "contentType": "Tipo de conteúdo",
302
+ "location": {
303
+ "title": "Regras de localização",
304
+ "description": "Escolha onde este grupo aparece. Regras no mesmo grupo usam E; grupos diferentes usam OU.",
305
+ "parameter": "Parâmetro de localização",
306
+ "operator": "Operador",
307
+ "chooseValue": "Escolha um valor",
308
+ "valuePlaceholder": "Digite um valor ou slug",
309
+ "required": "Adicione um valor a todas as regras de localização.",
310
+ "addRule": "Adicionar condição",
311
+ "addGroup": "Adicionar grupo OU",
312
+ "remove": "Remover",
313
+ "and": "E",
314
+ "or": "OU",
315
+ "params": {
316
+ "content_type": "Tipo de post",
317
+ "content_slug": "Slug do post",
318
+ "taxonomy": "Taxonomia",
319
+ "term": "Slug do termo",
320
+ "user_role": "Papel do usuário",
321
+ "page_template": "Template da página",
322
+ "post_status": "Status do post"
323
+ },
324
+ "operators": {
325
+ "eq": "é",
326
+ "neq": "não é"
327
+ }
328
+ },
329
+ "standard": {
330
+ "title": "Campos padrão",
331
+ "description": "Título e slug são obrigatórios. Os demais campos padrão podem ser ativados ou desativados.",
332
+ "enabled": "Ativo",
333
+ "locked": "Obrigatório",
334
+ "fields": {
335
+ "title": "Título",
336
+ "slug": "Slug",
337
+ "content": "Conteúdo",
338
+ "excerpt": "Resumo",
339
+ "featured_image": "Imagem destacada",
340
+ "seo_title": "Título SEO",
341
+ "seo_description": "Descrição SEO",
342
+ "status": "Status",
343
+ "author": "Autor"
344
+ }
345
+ },
346
+ "groups": {
347
+ "title": "Grupos de campos",
348
+ "new": "Novo grupo de campos",
349
+ "empty": "Ainda não há grupos de campos personalizados.",
350
+ "fields": "campos",
351
+ "edit": "Editar",
352
+ "active": "Ativo",
353
+ "inactive": "Inativo"
354
+ },
355
+ "form": {
356
+ "createTitle": "Criar grupo de campos",
357
+ "editTitle": "Editar grupo de campos",
358
+ "title": "Nome do grupo",
359
+ "titlePlaceholder": "Ex.: Detalhes do produto",
360
+ "position": "Posição",
361
+ "positions": {
362
+ "normal": "Normal",
363
+ "side": "Barra lateral",
364
+ "acf_after_title": "Após o título"
365
+ },
366
+ "displayStyle": "Estilo de exibição",
367
+ "displayStyles": {
368
+ "standard": "Padrão",
369
+ "seamless": "Contínuo",
370
+ "grouped": "Agrupado"
371
+ },
372
+ "field": "Campo",
373
+ "fieldName": "Nome/chave",
374
+ "fieldNamePlaceholder": "codigo_produto",
375
+ "fieldLabel": "Rótulo",
376
+ "fieldLabelPlaceholder": "Código do produto",
377
+ "fieldType": "Tipo",
378
+ "instructions": "Instruções",
379
+ "instructionsPlaceholder": "Texto de ajuda opcional para editores",
380
+ "required": "Obrigatório",
381
+ "options": "Opções",
382
+ "optionsHint": "Uma opção por linha: valor|Rótulo",
383
+ "addField": "Adicionar campo",
384
+ "removeField": "Remover",
385
+ "dragHint": "Arraste para reordenar",
386
+ "save": "Salvar grupo",
387
+ "cancel": "Cancelar",
388
+ "newFieldDefault": "Novo campo",
389
+ "saved": "Grupo de campos salvo.",
390
+ "deleted": "Grupo de campos excluído."
391
+ },
392
+ "actions": {
393
+ "delete": "Excluir",
394
+ "confirmDelete": "Excluir este grupo de campos?"
395
+ },
396
+ "loading": "Carregando campos personalizados…",
397
+ "loadError": "Não foi possível carregar os campos personalizados."
398
+ }
399
+ };
400
+ var resources = {
401
+ "title": "Recursos de conteúdo",
402
+ "description": "Descrição",
403
+ "tabs": {
404
+ "category": "Categorias",
405
+ "tag": "Tags",
406
+ "menu": "Menus"
407
+ },
408
+ "new": "Novo recurso",
409
+ "name": "Nome",
410
+ "slug": "Slug",
411
+ "items": "Itens do menu (JSON)",
412
+ "saved": "Recurso salvo.",
413
+ "confirmDelete": "Excluir este recurso?",
414
+ "form": {
415
+ "new": "Criar recurso",
416
+ "edit": "Editar recurso"
417
+ },
418
+ "terms": {
419
+ "title": "Termos de taxonomia",
420
+ "choose": "Escolha uma taxonomia",
421
+ "new": "Novo termo"
295
422
  }
296
423
  };
424
+ var access = {
425
+ "title": "Acesso",
426
+ "description": "Gerencie papéis, permissões e tenants.",
427
+ "roles": "Papéis",
428
+ "tenants": "Tenants",
429
+ "permissions": "Permissões (separadas por vírgula)",
430
+ "domain": "Domínio"
431
+ };
432
+ var operations = {
433
+ "title": "Operações",
434
+ "description": "Gerencie webhooks, builds, deployments e eventos.",
435
+ "webhooks": "Webhooks",
436
+ "events": "Eventos",
437
+ "secret": "Segredo",
438
+ "builds": "Builds",
439
+ "deployments": "Deployments",
440
+ "createBuild": "Criar build",
441
+ "deploy": "Publicar deploy"
442
+ };
443
+ var plugins = {
444
+ "title": "Plugins",
445
+ "description": "Gerencie os plugins instalados.",
446
+ "columns": {
447
+ "name": "Nome",
448
+ "version": "Versão",
449
+ "status": "Status",
450
+ "actions": "Ações"
451
+ },
452
+ "status": {
453
+ "active": "Ativo",
454
+ "installed": "Instalado",
455
+ "inactive": "Inativo"
456
+ },
457
+ "activate": "Ativar",
458
+ "deactivate": "Desativar",
459
+ "install": "Instalar plugin",
460
+ "uninstall": "Desinstalar",
461
+ "confirmUninstall": "Desinstalar {name}?",
462
+ "name": "Nome do plugin",
463
+ "version": "Versão",
464
+ "manifest": "Manifesto (JSON)",
465
+ "loadError": "Não foi possível carregar os plugins.",
466
+ "activateError": "Não foi possível ativar o plugin.",
467
+ "deactivateError": "Não foi possível desativar o plugin.",
468
+ "installError": "Não foi possível instalar o plugin.",
469
+ "uninstallError": "Não foi possível desinstalar o plugin.",
470
+ "empty": "Nenhum plugin instalado."
471
+ };
472
+ var themes = {
473
+ "title": "Temas",
474
+ "description": "Gerencie os temas instalados.",
475
+ "version": "Versão",
476
+ "active": "Ativo",
477
+ "status": {
478
+ "active": "Ativo",
479
+ "installed": "Instalado",
480
+ "inactive": "Inativo"
481
+ },
482
+ "activate": "Ativar",
483
+ "deactivate": "Desativar",
484
+ "install": "Instalar tema",
485
+ "uninstall": "Desinstalar",
486
+ "confirmUninstall": "Desinstalar {name}?",
487
+ "name": "Nome do tema",
488
+ "manifest": "Manifesto (JSON)",
489
+ "loadError": "Não foi possível carregar os temas.",
490
+ "activateError": "Não foi possível ativar o tema.",
491
+ "deactivateError": "Não foi possível desativar o tema.",
492
+ "installError": "Não foi possível instalar o tema.",
493
+ "uninstallError": "Não foi possível desinstalar o tema.",
494
+ "empty": "Nenhum tema instalado."
495
+ };
297
496
  var login = {
298
497
  "title": "Login",
299
498
  "subtitle": "Entre na sua conta",
@@ -396,6 +595,11 @@ var pt_BR_default = {
396
595
  media,
397
596
  users,
398
597
  settings,
598
+ resources,
599
+ access,
600
+ operations,
601
+ plugins,
602
+ themes,
399
603
  login,
400
604
  common,
401
605
  activity,
@@ -405,4 +609,4 @@ var pt_BR_default = {
405
609
  screenOptions
406
610
  };
407
611
  //#endregion
408
- export { activity, adminBar, common, content, dashboard, pt_BR_default as default, footer, helpTabs, layout, login, media, screenOptions, settings, users };
612
+ export { access, activity, adminBar, common, content, dashboard, pt_BR_default as default, footer, helpTabs, layout, login, media, operations, plugins, resources, screenOptions, settings, themes, users };