@oktis-works/admin 0.12.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/client/_astro/{ActivityWidget.D9s4FOLp.js → ActivityWidget.DmhtX3Xm.js} +2 -2
  2. package/dist/client/_astro/{AdminBar.D8078Gqs.js → AdminBar.DKoQ5M3w.js} +2 -2
  3. package/dist/client/_astro/ApiKeysManager.BaPrAyqm.js +1 -0
  4. package/dist/client/_astro/{AtGlanceWidget.DBA3mEnF.js → AtGlanceWidget.zlWIhmzI.js} +3 -3
  5. package/dist/client/_astro/{BaseLayout.DAkzjMTq.css → BaseLayout.Cp-O10m_.css} +1 -1
  6. package/dist/client/_astro/CommentsManager.DROGQRli.js +21 -0
  7. package/dist/client/_astro/ContentEditor.ChA5r0aE.js +3 -0
  8. package/dist/client/_astro/ContentEditor.CtCFQb14.js +1 -0
  9. package/dist/client/_astro/ContentTypeWorkspace.Dj9dP14a.js +1 -0
  10. package/dist/client/_astro/DashboardHome.Dn6_pJuX.js +1 -0
  11. package/dist/client/_astro/{DashboardLayout.astro_astro_type_script_index_0_lang.Cc0PvXrs.js → DashboardLayout.astro_astro_type_script_index_0_lang.NiobGnWg.js} +1 -1
  12. package/dist/client/_astro/FbIcon.Bn4e_qFb.js +1 -0
  13. package/dist/client/_astro/FieldGroupEditor.CiFoYYb2.js +69 -0
  14. package/dist/client/_astro/FieldGroupList.CdN99hvU.js +1 -0
  15. package/dist/client/_astro/FieldRenderer.DYMREsip.js +1 -0
  16. package/dist/client/_astro/FloatingPanel.BetdW5N2.js +1 -0
  17. package/dist/client/_astro/{Footer.Chcu8yzV.js → Footer.VGpnxqkW.js} +2 -2
  18. package/dist/client/_astro/GeneralSettings.mQ7FyhM-.js +1 -0
  19. package/dist/client/_astro/LogsManager.BUJ7baOa.js +1 -0
  20. package/dist/client/_astro/MediaLibrary.DMvI8KXX.js +1 -0
  21. package/dist/client/_astro/MenuManager._4YgarRt.js +1 -0
  22. package/dist/client/_astro/Modal.DbBPpkbR.js +1 -0
  23. package/dist/client/_astro/{PluginManager.BHvKQlj2.js → PluginManager.BozI4gXB.js} +2 -2
  24. package/dist/client/_astro/PostTypesManager.CifIQbeV.js +1 -0
  25. package/dist/client/_astro/QuickDraftWidget.CsG3_wS2.js +17 -0
  26. package/dist/client/_astro/ResourceHubs.DedTFbiz.js +1 -0
  27. package/dist/client/_astro/TaxonomiesManager.JqBPU1pf.js +1 -0
  28. package/dist/client/_astro/TaxonomyTermsManager.BLGRLt8p.js +1 -0
  29. package/dist/client/_astro/ThemeCustomizer.DrSQPj4W.js +49 -0
  30. package/dist/client/_astro/{ThemeManager.DuHgcKyn.js → ThemeManager.Csu39Xjr.js} +2 -2
  31. package/dist/client/_astro/UserCreateForm.C54wZYbf.js +1 -0
  32. package/dist/client/_astro/UsersManager.BYTWz2I8.js +1 -0
  33. package/dist/client/_astro/WebhooksManager.DeJ_f1Gk.js +1 -0
  34. package/dist/client/_astro/{api.CYg1SW2X.js → api.flUgn70U.js} +1 -1
  35. package/dist/client/_astro/client.ljtU74WL.js +1 -0
  36. package/dist/client/_astro/extensions.DtuT3Phu.js +1 -0
  37. package/dist/client/_astro/i18n.CBexpqud.js +1 -0
  38. package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.F2J3xZhK.js → login.astro_astro_type_script_index_0_lang.COYjmQTY.js} +1 -1
  39. package/dist/client/_astro/preload-helper.oCYlU9a4.js +1 -0
  40. package/dist/client/_astro/pt-BR.DlIhl4_A.js +1 -0
  41. package/dist/client/_astro/solid.Ck4Vtfe4.js +1 -0
  42. package/dist/client/_astro/src.CYKGYEyR.js +1 -0
  43. package/dist/client/_astro/store.CYzqtRKs.js +1 -0
  44. package/dist/client/_astro/web.DD6VKaIp.js +1 -0
  45. package/dist/server/chunks/{404_C9d1fN7T.mjs → 404_BxFvEXYq.mjs} +1 -1
  46. package/dist/server/chunks/{BaseLayout_D-10OcWZ.mjs → BaseLayout_BTzlA_Yr.mjs} +5 -5
  47. package/dist/server/chunks/ContentEditor_DStZ4RZE.mjs +655 -0
  48. package/dist/server/chunks/{DashboardLayout_HxBoC5fJ.mjs → DashboardLayout_PXoRmnBH.mjs} +362 -99
  49. package/dist/server/chunks/{FbIcon_D0f6QiFJ.mjs → FbIcon_7YixzwO3.mjs} +1 -1
  50. package/dist/server/chunks/{ContentEditor_DZWLWgAD.mjs → FieldRenderer_BlZgS0Im.mjs} +159 -588
  51. package/dist/server/chunks/{FloatingPanel_DI2CdUZK.mjs → FloatingPanel_BtB-nNBT.mjs} +1 -1
  52. package/dist/server/chunks/{MediaLibrary_CD_cadEt.mjs → MediaLibrary_D7vu5VMd.mjs} +3 -3
  53. package/dist/server/chunks/{Modal_vHjkS4i2.mjs → Modal_I_mBEOz2.mjs} +2 -2
  54. package/dist/server/chunks/{PageHeader_CBOioOjo.mjs → PageHeader_CRpzf5xU.mjs} +1 -1
  55. package/dist/server/chunks/{_id__DrGJOSWh.mjs → _id__DFFoFesR.mjs} +209 -66
  56. package/dist/server/chunks/{_slug__C6TfwYcI.mjs → _slug__DBH2w1la.mjs} +2 -2
  57. package/dist/server/chunks/{access_D46Rg5g2.mjs → access_D1rk89Sh.mjs} +8 -8
  58. package/dist/server/chunks/{api-keys_BUCeuDw4.mjs → api-keys_BqhmvOer.mjs} +6 -6
  59. package/dist/server/chunks/comments_D_ta2fip.mjs +208 -0
  60. package/dist/server/chunks/{custom-fields_B7PeZo06.mjs → custom-fields_Cl8P-rrK.mjs} +5 -5
  61. package/dist/server/chunks/customize_DgtzmFmz.mjs +233 -0
  62. package/dist/server/chunks/{edit_H_Z0tUXd.mjs → edit_DTk4qFj5.mjs} +3 -3
  63. package/dist/server/chunks/{general_BROn356D.mjs → general_B-fEXuQn.mjs} +7 -7
  64. package/dist/server/chunks/{i18n_CItvcX64.mjs → i18n_BmAxDr2Q.mjs} +76 -10
  65. package/dist/server/chunks/{index_BYjGHhFv.mjs → index_BKjRvOw4.mjs} +113 -64
  66. package/dist/server/chunks/{index_BSanLOwq.mjs → index_BXnSMGRk.mjs} +4 -4
  67. package/dist/server/chunks/{index_9wINU7Wu.mjs → index_BcVtYp1L.mjs} +5 -5
  68. package/dist/server/chunks/{index_WgopTFB2.mjs → index_DI8jAAVQ.mjs} +2 -2
  69. package/dist/server/chunks/{index_GXbAk6jt.mjs → index_DXsKda1J.mjs} +4 -4
  70. package/dist/server/chunks/{login_BzHv0uQ0.mjs → login_BGPEB2l4.mjs} +1 -1
  71. package/dist/server/chunks/{logs_C32euU-n.mjs → logs_XjDk7dqi.mjs} +5 -5
  72. package/dist/server/chunks/{menus_EJ0NIw-1.mjs → menus_Kqym4CNK.mjs} +4 -4
  73. package/dist/server/chunks/{new_CWKqh8oV.mjs → new_BiikYmvu.mjs} +5 -5
  74. package/dist/server/chunks/{new_BwrgYLev.mjs → new_Dnp7PIHP.mjs} +3 -3
  75. package/dist/server/chunks/{plugins_C8RXEzie.mjs → plugins_C6qX0SAE.mjs} +5 -5
  76. package/dist/server/chunks/{post-types_bDF0xDxo.mjs → post-types_Dr4t-TYB.mjs} +7 -7
  77. package/dist/server/chunks/{pt-BR_DpWzkRv5.mjs → pt-BR_DH_fNjEo.mjs} +49 -5
  78. package/dist/server/chunks/{taxonomies_AHnU1mD0.mjs → taxonomies_B0YzIdmD.mjs} +5 -5
  79. package/dist/server/chunks/{taxonomy_DwH2xYGw.mjs → taxonomy_CCWZ58qQ.mjs} +63 -18
  80. package/dist/server/chunks/{themes_DE_yoCn2.mjs → themes_C7G3LcIz.mjs} +5 -5
  81. package/dist/server/chunks/{upload_BQA9bixd.mjs → upload_BT3ud_vb.mjs} +4 -4
  82. package/dist/server/chunks/{webhooks_iWH_jV-x.mjs → webhooks_CWW0L8EK.mjs} +5 -5
  83. package/dist/server/entry.mjs +104 -50
  84. package/dist/server/virtual_astro_middleware.mjs +3 -3
  85. package/package.json +5 -5
  86. package/dist/client/_astro/ApiKeysManager.BjyxI6JT.js +0 -1
  87. package/dist/client/_astro/ContentEditor.BZ8aLcGz.js +0 -3
  88. package/dist/client/_astro/ContentEditor.CfQqsa6r.js +0 -1
  89. package/dist/client/_astro/ContentTypeWorkspace.BhHFc6WZ.js +0 -1
  90. package/dist/client/_astro/DashboardHome.BXIUgb4u.js +0 -1
  91. package/dist/client/_astro/FbIcon.CUNS6rpP.js +0 -1
  92. package/dist/client/_astro/FieldGroupEditor.CVoPJ2v-.js +0 -69
  93. package/dist/client/_astro/FieldGroupList.BG2ET5gZ.js +0 -1
  94. package/dist/client/_astro/FloatingPanel.BeCEt_JP.js +0 -1
  95. package/dist/client/_astro/GeneralSettings.CefkBcVj.js +0 -1
  96. package/dist/client/_astro/LogsManager.ya0kmAUm.js +0 -1
  97. package/dist/client/_astro/MediaLibrary.Bod2Afk4.js +0 -1
  98. package/dist/client/_astro/MenuManager.d6_0hgNg.js +0 -1
  99. package/dist/client/_astro/Modal.DR905gyF.js +0 -1
  100. package/dist/client/_astro/PostTypesManager.DMUxfOp9.js +0 -1
  101. package/dist/client/_astro/QuickDraftWidget.DyX_bJ1p.js +0 -17
  102. package/dist/client/_astro/ResourceHubs.BwxYHeE5.js +0 -1
  103. package/dist/client/_astro/TaxonomiesManager.DlVS4Ujm.js +0 -1
  104. package/dist/client/_astro/TaxonomyTermsManager.B_ZDFU-K.js +0 -1
  105. package/dist/client/_astro/UserCreateForm.1KIa3Aa2.js +0 -1
  106. package/dist/client/_astro/UsersManager.v24y8OSk.js +0 -1
  107. package/dist/client/_astro/WebhooksManager.DPkFhoVr.js +0 -1
  108. package/dist/client/_astro/client.DU9Dc2oe.js +0 -1
  109. package/dist/client/_astro/extensions.Brl6zAPA.js +0 -1
  110. package/dist/client/_astro/i18n.AbBpo2WD.js +0 -1
  111. package/dist/client/_astro/pt-BR.B0jeLTb0.js +0 -1
  112. package/dist/client/_astro/solid.D49dPDCT.js +0 -1
  113. package/dist/client/_astro/src.DXVWCoHp.js +0 -1
  114. package/dist/client/_astro/web.Bqbl_1YR.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { createSignal, onMount } from "solid-js";
3
- //#region src/i18n/config.ts
3
+ //#region src/i18n/config.js
4
4
  var SUPPORTED_LOCALES = [
5
5
  "pt-BR",
6
6
  "en",
@@ -76,7 +76,7 @@ var _rolldown_dynamic_import_helper_default = (glob, path, segments) => {
76
76
  });
77
77
  };
78
78
  //#endregion
79
- //#region src/i18n/loaders.ts
79
+ //#region src/i18n/loaders.js
80
80
  var localeCache = /* @__PURE__ */ new Map();
81
81
  /** Carrega arquivo JSON de locale */
82
82
  async function loadLocale(locale) {
@@ -90,7 +90,7 @@ async function loadLocale(locale) {
90
90
  "./locales/it.json": () => import("./it_CMLpQyoj.mjs"),
91
91
  "./locales/ja.json": () => import("./ja_CYRz0pHv.mjs"),
92
92
  "./locales/pl.json": () => import("./pl_BuXVPvU1.mjs"),
93
- "./locales/pt-BR.json": () => import("./pt-BR_DpWzkRv5.mjs"),
93
+ "./locales/pt-BR.json": () => import("./pt-BR_DH_fNjEo.mjs"),
94
94
  "./locales/ru.json": () => import("./ru_C56ltukG.mjs"),
95
95
  "./locales/sw.json": () => import("./sw_Dhw0GAgD.mjs"),
96
96
  "./locales/tr.json": () => import("./tr_zELRy7A-.mjs"),
@@ -107,7 +107,7 @@ async function loadLocale(locale) {
107
107
  }
108
108
  }
109
109
  //#endregion
110
- //#region src/lib/api-url.ts
110
+ //#region src/lib/api-url.js
111
111
  /**
112
112
  * Junta a base da API com o path de rota normalizando o prefixo `/api`.
113
113
  *
@@ -545,6 +545,22 @@ var ApiClient = class {
545
545
  async deleteTaxonomyTerm(slug, id) {
546
546
  await this.request("DELETE", `/api/v1/taxonomies/${encodeURIComponent(slug)}/terms/${id}`);
547
547
  }
548
+ async getComments(query = {}) {
549
+ const params = new URLSearchParams();
550
+ if (query.status) params.set("status", query.status);
551
+ if (query.contentId) params.set("contentId", query.contentId);
552
+ if (query.search) params.set("search", query.search);
553
+ if (query.limit !== void 0) params.set("limit", String(query.limit));
554
+ if (query.offset !== void 0) params.set("offset", String(query.offset));
555
+ const qs = params.toString();
556
+ return this.request("GET", `/api/v1/comments${qs ? `?${qs}` : ""}`);
557
+ }
558
+ async updateComment(id, data) {
559
+ return this.request("PATCH", `/api/v1/comments/${id}`, data);
560
+ }
561
+ async deleteComment(id) {
562
+ await this.request("DELETE", `/api/v1/comments/${id}`);
563
+ }
548
564
  async getCategories() {
549
565
  return this.request("GET", "/api/v1/categories");
550
566
  }
@@ -785,6 +801,10 @@ var ApiClient = class {
785
801
  manifest: plugin["manifest"] ?? null
786
802
  }));
787
803
  }
804
+ /** Slots declarativos do admin (FEAT-098): manifest.admin + api.admin (runtime). */
805
+ async getAdminExtensions() {
806
+ return this.request("GET", "/api/v1/plugins/extensions");
807
+ }
788
808
  async activatePlugin(id, tenantId) {
789
809
  return this.request("POST", `/api/v1/plugins/${id}/activate`, { tenantId });
790
810
  }
@@ -801,7 +821,7 @@ var ApiClient = class {
801
821
  };
802
822
  var apiClient = new ApiClient();
803
823
  //#endregion
804
- //#region src/i18n/locale.ts
824
+ //#region src/i18n/locale.js
805
825
  var LOCALE_COOKIE = "admin_locale";
806
826
  /** Obtém locale do cookie */
807
827
  function getCookieLocale() {
@@ -859,8 +879,10 @@ var en_exports = /* @__PURE__ */ __exportAll({
859
879
  activity: () => activity,
860
880
  adminBar: () => adminBar,
861
881
  apiKeys: () => apiKeys,
882
+ comments: () => comments,
862
883
  common: () => common,
863
884
  content: () => content,
885
+ customizer: () => customizer,
864
886
  dashboard: () => dashboard,
865
887
  default: () => en_default,
866
888
  footer: () => footer,
@@ -891,7 +913,9 @@ var layout = {
891
913
  "menus": "Menus",
892
914
  "settings": "Settings",
893
915
  "plugins": "Plugins",
894
- "themes": "Themes"
916
+ "themes": "Themes",
917
+ "customize": "Customize",
918
+ "comments": "Comments"
895
919
  },
896
920
  "actions": {
897
921
  "logout": "Logout",
@@ -1035,7 +1059,8 @@ var content = {
1035
1059
  "add": "Add term",
1036
1060
  "delete": "Delete",
1037
1061
  "empty": "No terms yet.",
1038
- "confirmDelete": "Delete \"{name}\"?"
1062
+ "confirmDelete": "Delete \"{name}\"?",
1063
+ "termFields": "Term fields"
1039
1064
  }
1040
1065
  };
1041
1066
  var media = {
@@ -1146,7 +1171,7 @@ var users = {
1146
1171
  "confirmDelete": "Delete user {email}?"
1147
1172
  }
1148
1173
  };
1149
- var settings = /*#__PURE__*/ JSON.parse("{\"general\":{\"title\":\"General\",\"description\":\"Basic information displayed on the site.\",\"back\":\"← All settings\",\"fields\":{\"siteTitle\":\"Site Title\",\"siteTitlePlaceholder\":\"My Site\",\"siteDescription\":\"Description\",\"siteDescriptionPlaceholder\":\"A new site built with OkCMS\",\"language\":\"Language\",\"timezone\":\"Timezone\",\"timezonePlaceholder\":\"America/Sao_Paulo\"},\"saved\":\"Settings saved ✓\",\"loading\":\"Loading…\",\"save\":\"Save\"},\"postTypes\":{\"title\":\"Content Types\",\"description\":\"Create custom content types (CPTs) beyond Posts and Pages.\",\"form\":{\"title\":\"Create Content Type\",\"slug\":\"Slug (singular, e.g.: portfolio)\",\"slugHint\":\"Only lowercase letters, numbers and underscore\",\"singular\":\"Singular name\",\"plural\":\"Plural name\",\"supports\":\"Supports\",\"supportsOptions\":{\"title\":\"Title\",\"editor\":\"Editor\",\"thumbnail\":\"Featured Image\",\"excerpt\":\"Excerpt\",\"revisions\":\"Revisions\"},\"hasArchive\":\"Has public archive (/slug)\",\"singleton\":\"Singleton (only one content entry)\",\"icon\":\"Sidebar menu icon\",\"iconHint\":\"Pick a Lucide icon — its name is what shows in the admin sidebar\",\"iconSearchPlaceholder\":\"Search icons…\",\"iconEmpty\":\"No icons found.\",\"iconCount\":\"{count} icons available\",\"editTitle\":\"Edit Content Type\",\"update\":\"Update\",\"cancel\":\"Cancel\",\"create\":\"Create\"},\"table\":{\"slug\":\"Slug\",\"singular\":\"Singular\",\"plural\":\"Plural\",\"source\":\"Source\",\"supports\":\"Supports\",\"archive\":\"Archive\",\"mode\":\"Mode\",\"singleton\":\"Singleton\",\"collection\":\"Collection\",\"icon\":\"Icon\",\"actions\":{\"edit\":\"Edit\",\"remove\":\"Remove\"}},\"sources\":{\"admin\":\"Admin\",\"core\":\"Core\"}},\"taxonomies\":{\"title\":\"Taxonomies\",\"description\":\"Create custom taxonomies and link them to content types.\",\"form\":{\"title\":\"Create Taxonomy\",\"name\":\"Name (e.g.: Genre)\",\"slug\":\"Slug (optional, generated from name)\",\"slugHint\":\"Only lowercase letters, numbers and underscore\",\"hierarchical\":\"Hierarchical (allows parent/child terms)\",\"attachTo\":\"Link to content types\",\"create\":\"Create\"},\"table\":{\"taxonomy\":\"Taxonomy\",\"hierarchical\":\"Hierarchical\",\"attachedTypes\":\"Linked content types\",\"actions\":{\"remove\":\"Remove\"}}},\"customFields\":{\"title\":\"Custom Fields\",\"description\":\"Create field groups, arrange fields and choose which standard fields are visible for each content type.\",\"contentType\":\"Content type\",\"location\":{\"title\":\"Location rules\",\"description\":\"Choose where this field group appears. Rules in the same group use AND; groups use OR.\",\"parameter\":\"Location parameter\",\"operator\":\"Operator\",\"chooseValue\":\"Choose a value\",\"valuePlaceholder\":\"Enter a value or slug\",\"showIf\":\"Show if\",\"removeRule\":\"Remove rule\",\"required\":\"Add a value to every location rule.\",\"addRule\":\"Add condition\",\"addGroup\":\"Add OR group\",\"remove\":\"Remove\",\"and\":\"AND\",\"or\":\"OR\",\"params\":{\"content_type\":\"Post type\",\"content_slug\":\"Post slug\",\"taxonomy\":\"Taxonomy\",\"term\":\"Term slug\",\"user_role\":\"User role\",\"page_template\":\"Page template\",\"post_status\":\"Post status\"},\"operators\":{\"eq\":\"is\",\"neq\":\"is not\"}},\"standard\":{\"title\":\"Standard fields\",\"description\":\"Title and slug are required. The other standard fields can be enabled or disabled.\",\"enabled\":\"Enabled\",\"locked\":\"Required\",\"fields\":{\"title\":\"Title\",\"slug\":\"Slug\",\"content\":\"Content\",\"excerpt\":\"Excerpt\",\"featured_image\":\"Featured image\",\"seo_title\":\"SEO title\",\"seo_description\":\"SEO description\",\"status\":\"Status\",\"author\":\"Author\"}},\"groups\":{\"title\":\"Field groups\",\"new\":\"New field group\",\"empty\":\"No custom field groups yet.\",\"emptyHint\":\"Create your first group to start modelling your content.\",\"search\":\"Search groups…\",\"groupName\":\"Group\",\"status\":\"Status\",\"fields\":\"fields\",\"appliesTo\":\"Applies to\",\"allContentTypes\":\"All content types\",\"edit\":\"Edit\",\"active\":\"Active\",\"inactive\":\"Inactive\"},\"form\":{\"createTitle\":\"Create field group\",\"editTitle\":\"Edit field group\",\"title\":\"Group name\",\"titlePlaceholder\":\"Example: Product details\",\"displayTitle\":\"Display title\",\"active\":\"Active\",\"backToGroups\":\"Back to groups\",\"editorEyebrow\":\"Field builder\",\"groupTitleHint\":\"This name identifies the field set inside the content editor.\",\"fieldsTitle\":\"Fields\",\"fieldsDescription\":\"Add, configure and order fields. Use the six-dot handle to drag without losing their position.\",\"noFields\":\"This group has no fields yet.\",\"settingsTitle\":\"Group settings\",\"settingsDescription\":\"Presentation and panel visibility options for this panel.\",\"description\":\"Description\",\"labelPlacement\":\"Label placement\",\"instructionPlacement\":\"Instruction placement\",\"menuOrder\":\"Menu order\",\"hideOnScreen\":\"Hide on edit screen\",\"hide\":{\"permalink\":\"Permalink\",\"content\":\"Content editor\",\"excerpt\":\"Excerpt\",\"featured_image\":\"Featured image\",\"author\":\"Author\",\"revisions\":\"Revisions\",\"comments\":\"Comments\"},\"assignTitle\":\"Location\",\"assignDescription\":\"Choose the content type where this field group will be available.\",\"contentType\":\"Content type\",\"position\":\"Position\",\"positions\":{\"normal\":\"Normal\",\"side\":\"Sidebar\",\"after_title\":\"After title\"},\"displayStyle\":\"Display style\",\"displayStyles\":{\"standard\":\"Standard\",\"seamless\":\"Seamless\",\"grouped\":\"Grouped\"},\"field\":\"Field\",\"fieldName\":\"Name/key\",\"fieldNamePlaceholder\":\"product_code\",\"fieldLabel\":\"Label\",\"fieldLabelPlaceholder\":\"Product code\",\"fieldType\":\"Type\",\"instructions\":\"Instructions\",\"instructionsPlaceholder\":\"Optional help text for editors\",\"required\":\"Required\",\"options\":\"Options\",\"optionsHint\":\"One option per line: value|Label\",\"addField\":\"Add field\",\"removeField\":\"Remove\",\"dragHint\":\"Drag to reorder\",\"editField\":\"Edit\",\"duplicateField\":\"Duplicate\",\"copySuffix\":\"(copy)\",\"selectFieldType\":\"Select field type\",\"searchFieldTypes\":\"Search field types…\",\"popularFields\":\"Popular\",\"noMatchingFieldTypes\":\"No field types found.\",\"fieldTypeHint\":\"Choose the type that best represents the value editors will enter in this field.\",\"selectField\":\"Select field\",\"save\":\"Save group\",\"cancel\":\"Cancel\",\"newFieldDefault\":\"New field\",\"saved\":\"Field group saved.\",\"deleted\":\"Field group deleted.\"},\"listEyebrow\":\"Content structure\",\"validation\":{\"titleRequired\":\"Group name is required.\"},\"tabs\":{\"locationRules\":\"Location rules\",\"presentation\":\"Presentation\",\"groupSettings\":\"Group settings\"},\"fieldSettings\":{\"general\":\"General\",\"fieldLabel\":\"Field label\",\"fieldName\":\"Field name\",\"instructions\":\"Instructions\",\"required\":\"Required\",\"defaultValue\":\"Default value\",\"placeholder\":\"Placeholder\",\"presentation\":\"Presentation\",\"wrapperWidth\":\"Wrapper width (%)\",\"labelPlacement\":\"Label\",\"instructionPlacement\":\"Instructions\",\"top\":\"Above\",\"left\":\"Left\",\"above\":\"Before field\",\"below\":\"After field\",\"textSettings\":\"Text\",\"prepend\":\"Prepend\",\"append\":\"Append\",\"minLength\":\"Minimum length\",\"maxLength\":\"Maximum length\",\"rows\":\"Rows\",\"newLines\":\"New lines\",\"wpautop\":\"Automatic paragraphs\",\"none\":\"None\",\"numberSettings\":\"Number\",\"min\":\"Minimum\",\"max\":\"Maximum\",\"step\":\"Step\",\"choiceSettings\":\"Choices\",\"choices\":\"Choices\",\"layout\":\"Layout\",\"vertical\":\"Vertical\",\"horizontal\":\"Horizontal\",\"multiple\":\"Multiple choice\",\"allowNull\":\"Allow empty\",\"mediaSettings\":\"Media\",\"returnFormat\":\"Return format\",\"array\":\"Array\",\"id\":\"ID\",\"previewSize\":\"Preview size\",\"library\":\"Library\",\"all\":\"All\",\"uploadedToPost\":\"Uploaded to this post\",\"allowedTypes\":\"Allowed types\",\"minWidth\":\"Minimum width\",\"maxWidth\":\"Maximum width\",\"minHeight\":\"Minimum height\",\"maxHeight\":\"Maximum height\",\"wysiwygSettings\":\"WYSIWYG\",\"tabs\":\"Tabs\",\"toolbar\":\"Toolbar\",\"mediaUpload\":\"Allow media upload\",\"dateSettings\":\"Date and time\",\"displayFormat\":\"Display format\",\"firstDay\":\"First day\",\"colorSettings\":\"Color\",\"enableOpacity\":\"Allow opacity\",\"mapSettings\":\"Map\",\"center\":\"Center\",\"zoom\":\"Zoom\",\"height\":\"Height\",\"relationSettings\":\"Relationship\",\"postType\":\"Post type\",\"taxonomy\":\"Taxonomy\",\"booleanSettings\":\"True/False\",\"message\":\"Message\",\"defaultChecked\":\"Checked by default\",\"linkSettings\":\"Link\",\"cloneSettings\":\"Clone\",\"cloneFields\":\"Fields to clone\",\"cloneHint\":\"One field name per line\",\"containerSettings\":\"Structure\",\"buttonLabel\":\"Button label\",\"collapsed\":\"Collapsed row title field\",\"subFields\":\"Subfields\",\"layouts\":\"Layouts\",\"addLayout\":\"Add layout\",\"newLayout\":\"New layout\",\"layoutName\":\"Layout name\",\"layoutLabel\":\"Layout label\",\"layoutDisplay\":\"Layout display\",\"conditionalLogic\":\"Conditional logic\",\"conditionalHint\":\"Show this field only when the rules match.\",\"chooseField\":\"Choose a field\",\"conditionValue\":\"Value\",\"addCondition\":\"Add condition\",\"addConditionGroup\":\"Add OR group\",\"conditionsAnd\":\"Conditions in this group use AND.\",\"choicesHint\":\"One choice per line in the format value|Label.\",\"cloneSource\":\"Source group or field\",\"cloneSourceHint\":\"Field group key or field name to copy fields from.\",\"requiredOn\":\"Required\",\"requiredOff\":\"Not required\",\"libraryAll\":\"All\",\"libraryUploaded\":\"Uploaded to this post\",\"ui\":\"Enhanced UI\",\"uiHint\":\"Use enhanced styling for the dropdown.\",\"wrapperClass\":\"Wrapper class\",\"wrapperWidthHint\":\"CSS width of the field wrapper, e.g. 50%.\",\"collapsedHint\":\"Name of the sub-field used as the row title.\",\"conditionalActive\":\"Active\",\"showIf\":\"Show if\",\"removeRule\":\"Remove rule\",\"and\":\"AND\",\"or\":\"OR\",\"noLayouts\":\"No layouts yet.\",\"validation\":\"Validation\",\"advanced\":\"Advanced\",\"fieldType\":\"Type\",\"fieldNameHint\":\"Letters, numbers and underscores only.\",\"ariaLabel\":\"Field settings\",\"operators\":{\"eq\":\"equals\",\"neq\":\"does not equal\",\"gt\":\"is greater than\",\"lt\":\"is less than\",\"contains\":\"contains\",\"hasAny\":\"has any value\",\"hasNone\":\"is empty\"}},\"actions\":{\"delete\":\"Delete\",\"confirmDelete\":\"Delete this field group?\",\"edit\":\"Edit\",\"duplicate\":\"Duplicate\",\"activate\":\"Activate\",\"deactivate\":\"Deactivate\",\"export\":\"Export\",\"import\":\"Import\"},\"import\":{\"description\":\"Import field groups from a JSON file. The file must contain a field group object or an array of field group objects. Existing groups with the same key will be updated; new groups will be created.\",\"dropzone\":\"Click to select a .json file, or drag and drop here\",\"hint\":\"File selected. Click Import to proceed.\"},\"loading\":\"Loading custom fields…\",\"loadError\":\"Could not load custom fields.\"}}");
1174
+ var settings = /*#__PURE__*/ JSON.parse("{\"general\":{\"title\":\"General\",\"description\":\"Basic information displayed on the site.\",\"back\":\"← All settings\",\"fields\":{\"siteTitle\":\"Site Title\",\"siteTitlePlaceholder\":\"My Site\",\"siteDescription\":\"Description\",\"siteDescriptionPlaceholder\":\"A new site built with OkCMS\",\"language\":\"Language\",\"timezone\":\"Timezone\",\"timezonePlaceholder\":\"America/Sao_Paulo\"},\"saved\":\"Settings saved ✓\",\"loading\":\"Loading…\",\"save\":\"Save\"},\"postTypes\":{\"title\":\"Content Types\",\"description\":\"Create custom content types (CPTs) beyond Posts and Pages.\",\"form\":{\"title\":\"Create Content Type\",\"slug\":\"Slug (singular, e.g.: portfolio)\",\"slugHint\":\"Only lowercase letters, numbers and underscore\",\"singular\":\"Singular name\",\"plural\":\"Plural name\",\"supports\":\"Supports\",\"supportsOptions\":{\"title\":\"Title\",\"editor\":\"Editor\",\"thumbnail\":\"Featured Image\",\"excerpt\":\"Excerpt\",\"revisions\":\"Revisions\"},\"hasArchive\":\"Has public archive (/slug)\",\"singleton\":\"Singleton (only one content entry)\",\"icon\":\"Sidebar menu icon\",\"iconHint\":\"Pick a Lucide icon — its name is what shows in the admin sidebar\",\"iconSearchPlaceholder\":\"Search icons…\",\"iconEmpty\":\"No icons found.\",\"iconCount\":\"{count} icons available\",\"editTitle\":\"Edit Content Type\",\"update\":\"Update\",\"cancel\":\"Cancel\",\"create\":\"Create\"},\"table\":{\"slug\":\"Slug\",\"singular\":\"Singular\",\"plural\":\"Plural\",\"source\":\"Source\",\"supports\":\"Supports\",\"archive\":\"Archive\",\"mode\":\"Mode\",\"singleton\":\"Singleton\",\"collection\":\"Collection\",\"icon\":\"Icon\",\"actions\":{\"edit\":\"Edit\",\"remove\":\"Remove\"}},\"sources\":{\"admin\":\"Admin\",\"core\":\"Core\"}},\"taxonomies\":{\"title\":\"Taxonomies\",\"description\":\"Create custom taxonomies and link them to content types.\",\"form\":{\"title\":\"Create Taxonomy\",\"name\":\"Name (e.g.: Genre)\",\"slug\":\"Slug (optional, generated from name)\",\"slugHint\":\"Only lowercase letters, numbers and underscore\",\"hierarchical\":\"Hierarchical (allows parent/child terms)\",\"attachTo\":\"Link to content types\",\"create\":\"Create\"},\"table\":{\"taxonomy\":\"Taxonomy\",\"hierarchical\":\"Hierarchical\",\"attachedTypes\":\"Linked content types\",\"actions\":{\"remove\":\"Remove\"}}},\"customFields\":{\"title\":\"Custom Fields\",\"description\":\"Create field groups, arrange fields and choose which standard fields are visible for each content type.\",\"contentType\":\"Content type\",\"location\":{\"title\":\"Location rules\",\"description\":\"Choose where this field group appears. Rules in the same group use AND; groups use OR.\",\"parameter\":\"Location parameter\",\"operator\":\"Operator\",\"chooseValue\":\"Choose a value\",\"valuePlaceholder\":\"Enter a value or slug\",\"showIf\":\"Show if\",\"removeRule\":\"Remove rule\",\"required\":\"Add a value to every location rule.\",\"addRule\":\"Add condition\",\"addGroup\":\"Add OR group\",\"remove\":\"Remove\",\"and\":\"AND\",\"or\":\"OR\",\"params\":{\"content_type\":\"Post type\",\"content_slug\":\"Post slug\",\"taxonomy\":\"Taxonomy\",\"term\":\"Term slug\",\"user_role\":\"User role\",\"page_template\":\"Page template\",\"post_status\":\"Post status\",\"block\":\"Block\"},\"operators\":{\"eq\":\"is\",\"neq\":\"is not\"}},\"standard\":{\"title\":\"Standard fields\",\"description\":\"Title and slug are required. The other standard fields can be enabled or disabled.\",\"enabled\":\"Enabled\",\"locked\":\"Required\",\"fields\":{\"title\":\"Title\",\"slug\":\"Slug\",\"content\":\"Content\",\"excerpt\":\"Excerpt\",\"featured_image\":\"Featured image\",\"seo_title\":\"SEO title\",\"seo_description\":\"SEO description\",\"status\":\"Status\",\"author\":\"Author\"}},\"groups\":{\"title\":\"Field groups\",\"new\":\"New field group\",\"empty\":\"No custom field groups yet.\",\"emptyHint\":\"Create your first group to start modelling your content.\",\"search\":\"Search groups…\",\"groupName\":\"Group\",\"status\":\"Status\",\"fields\":\"fields\",\"appliesTo\":\"Applies to\",\"allContentTypes\":\"All content types\",\"edit\":\"Edit\",\"active\":\"Active\",\"inactive\":\"Inactive\"},\"form\":{\"createTitle\":\"Create field group\",\"editTitle\":\"Edit field group\",\"title\":\"Group name\",\"titlePlaceholder\":\"Example: Product details\",\"displayTitle\":\"Display title\",\"active\":\"Active\",\"backToGroups\":\"Back to groups\",\"editorEyebrow\":\"Field builder\",\"groupTitleHint\":\"This name identifies the field set inside the content editor.\",\"fieldsTitle\":\"Fields\",\"fieldsDescription\":\"Add, configure and order fields. Use the six-dot handle to drag without losing their position.\",\"noFields\":\"This group has no fields yet.\",\"settingsTitle\":\"Group settings\",\"settingsDescription\":\"Presentation and panel visibility options for this panel.\",\"description\":\"Description\",\"labelPlacement\":\"Label placement\",\"instructionPlacement\":\"Instruction placement\",\"menuOrder\":\"Menu order\",\"hideOnScreen\":\"Hide on edit screen\",\"hide\":{\"permalink\":\"Permalink\",\"content\":\"Content editor\",\"excerpt\":\"Excerpt\",\"featured_image\":\"Featured image\",\"author\":\"Author\",\"revisions\":\"Revisions\",\"comments\":\"Comments\"},\"assignTitle\":\"Location\",\"assignDescription\":\"Choose the content type where this field group will be available.\",\"contentType\":\"Content type\",\"position\":\"Position\",\"positions\":{\"normal\":\"Normal\",\"side\":\"Sidebar\",\"after_title\":\"After title\"},\"displayStyle\":\"Display style\",\"displayStyles\":{\"standard\":\"Standard\",\"seamless\":\"Seamless\",\"grouped\":\"Grouped\"},\"field\":\"Field\",\"fieldName\":\"Name/key\",\"fieldNamePlaceholder\":\"product_code\",\"fieldLabel\":\"Label\",\"fieldLabelPlaceholder\":\"Product code\",\"fieldType\":\"Type\",\"instructions\":\"Instructions\",\"instructionsPlaceholder\":\"Optional help text for editors\",\"required\":\"Required\",\"options\":\"Options\",\"optionsHint\":\"One option per line: value|Label\",\"addField\":\"Add field\",\"removeField\":\"Remove\",\"dragHint\":\"Drag to reorder\",\"editField\":\"Edit\",\"duplicateField\":\"Duplicate\",\"copySuffix\":\"(copy)\",\"selectFieldType\":\"Select field type\",\"searchFieldTypes\":\"Search field types…\",\"popularFields\":\"Popular\",\"noMatchingFieldTypes\":\"No field types found.\",\"fieldTypeHint\":\"Choose the type that best represents the value editors will enter in this field.\",\"selectField\":\"Select field\",\"save\":\"Save group\",\"cancel\":\"Cancel\",\"newFieldDefault\":\"New field\",\"saved\":\"Field group saved.\",\"deleted\":\"Field group deleted.\"},\"listEyebrow\":\"Content structure\",\"validation\":{\"titleRequired\":\"Group name is required.\"},\"tabs\":{\"locationRules\":\"Location rules\",\"presentation\":\"Presentation\",\"groupSettings\":\"Group settings\"},\"fieldSettings\":{\"general\":\"General\",\"fieldLabel\":\"Field label\",\"fieldName\":\"Field name\",\"instructions\":\"Instructions\",\"required\":\"Required\",\"defaultValue\":\"Default value\",\"placeholder\":\"Placeholder\",\"presentation\":\"Presentation\",\"wrapperWidth\":\"Wrapper width (%)\",\"labelPlacement\":\"Label\",\"instructionPlacement\":\"Instructions\",\"top\":\"Above\",\"left\":\"Left\",\"above\":\"Before field\",\"below\":\"After field\",\"textSettings\":\"Text\",\"prepend\":\"Prepend\",\"append\":\"Append\",\"minLength\":\"Minimum length\",\"maxLength\":\"Maximum length\",\"rows\":\"Rows\",\"newLines\":\"New lines\",\"wpautop\":\"Automatic paragraphs\",\"none\":\"None\",\"numberSettings\":\"Number\",\"min\":\"Minimum\",\"max\":\"Maximum\",\"step\":\"Step\",\"choiceSettings\":\"Choices\",\"choices\":\"Choices\",\"layout\":\"Layout\",\"vertical\":\"Vertical\",\"horizontal\":\"Horizontal\",\"multiple\":\"Multiple choice\",\"allowNull\":\"Allow empty\",\"mediaSettings\":\"Media\",\"returnFormat\":\"Return format\",\"array\":\"Array\",\"id\":\"ID\",\"previewSize\":\"Preview size\",\"library\":\"Library\",\"all\":\"All\",\"uploadedToPost\":\"Uploaded to this post\",\"allowedTypes\":\"Allowed types\",\"minWidth\":\"Minimum width\",\"maxWidth\":\"Maximum width\",\"minHeight\":\"Minimum height\",\"maxHeight\":\"Maximum height\",\"wysiwygSettings\":\"WYSIWYG\",\"tabs\":\"Tabs\",\"toolbar\":\"Toolbar\",\"mediaUpload\":\"Allow media upload\",\"dateSettings\":\"Date and time\",\"displayFormat\":\"Display format\",\"firstDay\":\"First day\",\"colorSettings\":\"Color\",\"enableOpacity\":\"Allow opacity\",\"mapSettings\":\"Map\",\"center\":\"Center\",\"zoom\":\"Zoom\",\"height\":\"Height\",\"relationSettings\":\"Relationship\",\"postType\":\"Post type\",\"taxonomy\":\"Taxonomy\",\"booleanSettings\":\"True/False\",\"message\":\"Message\",\"defaultChecked\":\"Checked by default\",\"linkSettings\":\"Link\",\"cloneSettings\":\"Clone\",\"cloneFields\":\"Fields to clone\",\"cloneHint\":\"One field name per line\",\"containerSettings\":\"Structure\",\"buttonLabel\":\"Button label\",\"collapsed\":\"Collapsed row title field\",\"subFields\":\"Subfields\",\"layouts\":\"Layouts\",\"addLayout\":\"Add layout\",\"newLayout\":\"New layout\",\"layoutName\":\"Layout name\",\"layoutLabel\":\"Layout label\",\"layoutDisplay\":\"Layout display\",\"conditionalLogic\":\"Conditional logic\",\"conditionalHint\":\"Show this field only when the rules match.\",\"chooseField\":\"Choose a field\",\"conditionValue\":\"Value\",\"addCondition\":\"Add condition\",\"addConditionGroup\":\"Add OR group\",\"conditionsAnd\":\"Conditions in this group use AND.\",\"choicesHint\":\"One choice per line in the format value|Label.\",\"cloneSource\":\"Source group or field\",\"cloneSourceHint\":\"Field group key or field name to copy fields from.\",\"requiredOn\":\"Required\",\"requiredOff\":\"Not required\",\"pluginConfig\":\"Plugin Configuration\",\"mermaid\":{\"diagramSettings\":\"Diagram Settings\",\"theme\":\"Theme\",\"selectTheme\":\"Select theme\",\"editable\":\"Allow editing in content editor\",\"defaultCode\":\"Default Mermaid Code\",\"defaultCodeHint\":\"Initial code when field is added to content. User can edit later.\",\"examples\":\"Examples\",\"exampleFlowchart\":\"Flowchart\",\"exampleSequence\":\"Sequence\",\"exampleClass\":\"Class Diagram\",\"diagram\":\"Mermaid Diagram\",\"copyCode\":\"Copy code\",\"rerender\":\"Re-render\",\"showCode\":\"Show source code\",\"renderError\":\"Render Error\",\"rendering\":\"Rendering diagram...\"},\"libraryAll\":\"All\",\"libraryUploaded\":\"Uploaded to this post\",\"ui\":\"Enhanced UI\",\"uiHint\":\"Use enhanced styling for the dropdown.\",\"wrapperClass\":\"Wrapper class\",\"wrapperWidthHint\":\"CSS width of the field wrapper, e.g. 50%.\",\"collapsedHint\":\"Name of the sub-field used as the row title.\",\"conditionalActive\":\"Active\",\"showIf\":\"Show if\",\"removeRule\":\"Remove rule\",\"and\":\"AND\",\"or\":\"OR\",\"noLayouts\":\"No layouts yet.\",\"validation\":\"Validation\",\"advanced\":\"Advanced\",\"fieldType\":\"Type\",\"fieldNameHint\":\"Letters, numbers and underscores only.\",\"ariaLabel\":\"Field settings\",\"operators\":{\"eq\":\"equals\",\"neq\":\"does not equal\",\"gt\":\"is greater than\",\"lt\":\"is less than\",\"contains\":\"contains\",\"hasAny\":\"has any value\",\"hasNone\":\"is empty\"}},\"actions\":{\"delete\":\"Delete\",\"confirmDelete\":\"Delete this field group?\",\"edit\":\"Edit\",\"duplicate\":\"Duplicate\",\"activate\":\"Activate\",\"deactivate\":\"Deactivate\",\"export\":\"Export\",\"import\":\"Import\"},\"import\":{\"description\":\"Import field groups from a JSON file. The file must contain a field group object or an array of field group objects. Existing groups with the same key will be updated; new groups will be created.\",\"dropzone\":\"Click to select a .json file, or drag and drop here\",\"hint\":\"File selected. Click Import to proceed.\"},\"loading\":\"Loading custom fields…\",\"loadError\":\"Could not load custom fields.\"}}");
1150
1175
  var menus = {
1151
1176
  "title": "Menus",
1152
1177
  "description": "Create and manage the navigation menus used by your site.",
@@ -1542,6 +1567,45 @@ var screenOptions = {
1542
1567
  "label": "Screen Options",
1543
1568
  "showOnScreen": "Show on screen"
1544
1569
  };
1570
+ var customizer = {
1571
+ "title": "Customizer",
1572
+ "description": "Adjust the active theme settings with a live preview. Changes apply to the preview instantly and only persist when you save.",
1573
+ "loadError": "Failed to load themes.",
1574
+ "saveError": "Failed to save the theme settings.",
1575
+ "noTheme": "No active theme to customize.",
1576
+ "goToThemes": "Go to Themes",
1577
+ "noSettings": "This theme declares no customizable settings (manifest.settings).",
1578
+ "save": "Save",
1579
+ "saving": "Saving...",
1580
+ "saved": "Saved.",
1581
+ "reset": "Reset",
1582
+ "refreshPreview": "Refresh preview",
1583
+ "previewHint": "The preview overlays your draft on top of the saved settings — it is request-only and never persists.",
1584
+ "previewPath": "Preview path",
1585
+ "previewTitle": "Theme preview"
1586
+ };
1587
+ var comments = {
1588
+ "title": "Comments",
1589
+ "description": "Moderate visitor comments: approve, mark as spam, trash or delete permanently.",
1590
+ "loading": "Loading comments...",
1591
+ "empty": "No comments in this queue.",
1592
+ "reload": "Reload",
1593
+ "author": "Author",
1594
+ "comment": "Comment",
1595
+ "inReplyTo": "Content",
1596
+ "submitted": "Submitted",
1597
+ "approve": "Approve",
1598
+ "spam": "Spam",
1599
+ "trash": "Trash",
1600
+ "delete": "Delete",
1601
+ "confirmDelete": "Delete this comment permanently? This cannot be undone.",
1602
+ "status": {
1603
+ "pending": "Pending",
1604
+ "approved": "Approved",
1605
+ "spam": "Spam",
1606
+ "trashed": "Trash"
1607
+ }
1608
+ };
1545
1609
  var en_default = {
1546
1610
  layout,
1547
1611
  dashboard,
@@ -1565,10 +1629,12 @@ var en_default = {
1565
1629
  adminBar,
1566
1630
  footer,
1567
1631
  helpTabs,
1568
- screenOptions
1632
+ screenOptions,
1633
+ customizer,
1634
+ comments
1569
1635
  };
1570
1636
  //#endregion
1571
- //#region src/i18n/index.ts
1637
+ //#region src/i18n/index.js
1572
1638
  var tFunctionCache = /* @__PURE__ */ new Map();
1573
1639
  var initialTranslations = en_default;
1574
1640
  var [translationVersion, notifyTranslationChange] = createSignal(0);
@@ -1,19 +1,25 @@
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_CItvcX64.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_HxBoC5fJ.mjs";
6
- import { t as ContentEditor } from "./ContentEditor_DZWLWgAD.mjs";
7
- import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BmAxDr2Q.mjs";
5
+ import { c as Button, d as Input, g as Table, i as ActionLinksSlot, l as Card, m as Select, n as emptyExtensionsState, o as PluginComponentHost, p as Pagination, r as loadExtensions, s as Badge, t as $$DashboardLayout } from "./DashboardLayout_PXoRmnBH.mjs";
6
+ import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
7
+ import { t as ContentEditor } from "./ContentEditor_DStZ4RZE.mjs";
8
8
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
9
9
  import { Show, createMemo, createSignal, onMount } from "solid-js";
10
10
  //#region src/components/content/ContentList.tsx
11
- var _tmpl$$1 = [
11
+ var _tmpl$$1 = ["<span", " class=\"muted\">—</span>"];
12
+ var _tmpl$2$1 = [
12
13
  "<span",
13
14
  " class=\"muted\">",
14
15
  "</span>"
15
16
  ];
16
- var _tmpl$2$1 = [
17
+ var _tmpl$3 = [
18
+ "<span",
19
+ ">",
20
+ "</span>"
21
+ ];
22
+ var _tmpl$4 = [
17
23
  "<div",
18
24
  " class=\"users-table__actions\"><a class=\"btn btn-secondary btn-sm\" href=\"",
19
25
  "\">",
@@ -21,17 +27,17 @@ var _tmpl$2$1 = [
21
27
  "<!--/--><!--$-->",
22
28
  "<!--/--></div>"
23
29
  ];
24
- var _tmpl$3 = [
30
+ var _tmpl$5 = [
25
31
  "<div",
26
32
  " class=\"notice notice--error\">",
27
33
  "</div>"
28
34
  ];
29
- var _tmpl$4 = [
35
+ var _tmpl$6 = [
30
36
  "<div",
31
37
  " class=\"notice\">",
32
38
  "</div>"
33
39
  ];
34
- var _tmpl$5 = [
40
+ var _tmpl$7 = [
35
41
  "<div",
36
42
  " class=\"content-list\"><div class=\"content-list__heading\"><div><h2>",
37
43
  "</h2><p class=\"muted\">",
@@ -43,6 +49,7 @@ var _tmpl$5 = [
43
49
  "<!--/--><!--$-->",
44
50
  "<!--/--><!--$-->",
45
51
  "<!--/--></div><!--$-->",
52
+ "<!--/--><!--$-->",
46
53
  "<!--/--></div>"
47
54
  ];
48
55
  function raw(row) {
@@ -66,6 +73,7 @@ function ContentList(props) {
66
73
  const [error, setError] = createSignal("");
67
74
  const [info, setInfo] = createSignal("");
68
75
  const [busyId, setBusyId] = createSignal("");
76
+ const [extensions, setExtensions] = createSignal(emptyExtensionsState());
69
77
  const limit = 20;
70
78
  const load = async () => {
71
79
  try {
@@ -83,6 +91,7 @@ function ContentList(props) {
83
91
  }
84
92
  };
85
93
  onMount(async () => {
94
+ loadExtensions().then(setExtensions);
86
95
  const query = new URLSearchParams(window.location.search);
87
96
  setStatus(query.get("status") ?? "");
88
97
  setSearch(query.get("search") ?? "");
@@ -123,71 +132,109 @@ function ContentList(props) {
123
132
  setError(err instanceof Error ? err.message : String(err));
124
133
  }
125
134
  };
126
- const columns = createMemo(() => [
127
- {
128
- key: "title",
129
- label: t("content.list.columns.title")
130
- },
131
- {
132
- key: "type",
133
- label: t("content.list.columns.type")
134
- },
135
- {
136
- key: "status",
137
- label: t("content.list.columns.status"),
135
+ const columns = createMemo(() => {
136
+ const pluginDefs = extensions().columns[type()] ?? [];
137
+ const pluginRenderers = extensions().columnRenderers[type()] ?? {};
138
+ const pluginColumn = (def) => ({
139
+ key: def.key,
140
+ label: def.label,
138
141
  render: (_value, row) => {
139
- const statusValue = String(row["status"] ?? "");
140
- return createComponent(Badge, {
141
- variant: statusValue === "PUBLISHED" ? "success" : statusValue === "ARCHIVED" ? "warning" : "secondary",
142
- children: statusValue
143
- });
142
+ const rendererId = pluginRenderers[def.key];
143
+ if (rendererId) {
144
+ const pluginName = rendererId.split(":")[0] ?? "";
145
+ return createComponent(PluginComponentHost, {
146
+ componentId: rendererId,
147
+ plugin: pluginName,
148
+ extraProps: { row }
149
+ });
150
+ }
151
+ const value = row[def.key];
152
+ if (value == null) return ssr(_tmpl$$1, ssrHydrationKey());
153
+ if (typeof value === "object") return ssr(_tmpl$2$1, ssrHydrationKey(), escape(JSON.stringify(value)));
154
+ return ssr(_tmpl$3, ssrHydrationKey(), escape(String(value)));
144
155
  }
145
- },
146
- {
147
- key: "updated_at",
148
- label: t("content.list.columns.updated"),
149
- render: (_value, row) => ssr(_tmpl$$1, ssrHydrationKey(), escape(formatDate(row)))
150
- },
151
- {
152
- key: "actions",
153
- label: "",
154
- render: (_value, row) => {
155
- const content = row;
156
- const isPublished = raw(content)["status"] === "PUBLISHED";
157
- return ssr(_tmpl$2$1, ssrHydrationKey(), `/content/${escape(encodeURIComponent(content.type || type()), true)}/edit?id=${escape(encodeURIComponent(content.id), true)}`, escape(t("content.list.actions.edit")), escape(createComponent(Button, {
158
- variant: isPublished ? "secondary" : "primary",
159
- size: "sm",
160
- get loading() {
161
- return busyId() === content.id;
162
- },
163
- onClick: () => void togglePublish(content),
164
- get children() {
165
- return isPublished ? t("content.list.actions.unpublish") : t("content.list.actions.publish");
166
- }
167
- })), escape(createComponent(Button, {
168
- variant: "danger",
169
- size: "sm",
170
- onClick: () => void remove(content),
171
- get children() {
172
- return t("content.list.actions.delete");
173
- }
174
- })));
156
+ });
157
+ const beforeTitle = pluginDefs.filter((def) => def.position === "before_title").map(pluginColumn);
158
+ const afterTitle = pluginDefs.filter((def) => def.position === "after_title").map(pluginColumn);
159
+ const implicit = pluginDefs.filter((def) => !def.position).map(pluginColumn);
160
+ const atEnd = pluginDefs.filter((def) => def.position === "end").map(pluginColumn);
161
+ const core = [
162
+ {
163
+ key: "title",
164
+ label: t("content.list.columns.title")
165
+ },
166
+ {
167
+ key: "type",
168
+ label: t("content.list.columns.type")
169
+ },
170
+ {
171
+ key: "status",
172
+ label: t("content.list.columns.status"),
173
+ render: (_value, row) => {
174
+ const statusValue = String(row["status"] ?? "");
175
+ return createComponent(Badge, {
176
+ variant: statusValue === "PUBLISHED" ? "success" : statusValue === "ARCHIVED" ? "warning" : "secondary",
177
+ children: statusValue
178
+ });
179
+ }
180
+ },
181
+ {
182
+ key: "updated_at",
183
+ label: t("content.list.columns.updated"),
184
+ render: (_value, row) => ssr(_tmpl$2$1, ssrHydrationKey(), escape(formatDate(row)))
185
+ },
186
+ {
187
+ key: "actions",
188
+ label: "",
189
+ render: (_value, row) => {
190
+ const content = row;
191
+ const isPublished = raw(content)["status"] === "PUBLISHED";
192
+ return ssr(_tmpl$4, ssrHydrationKey(), `/content/${escape(encodeURIComponent(content.type || type()), true)}/edit?id=${escape(encodeURIComponent(content.id), true)}`, escape(t("content.list.actions.edit")), escape(createComponent(Button, {
193
+ variant: isPublished ? "secondary" : "primary",
194
+ size: "sm",
195
+ get loading() {
196
+ return busyId() === content.id;
197
+ },
198
+ onClick: () => void togglePublish(content),
199
+ get children() {
200
+ return isPublished ? t("content.list.actions.unpublish") : t("content.list.actions.publish");
201
+ }
202
+ })), escape(createComponent(Button, {
203
+ variant: "danger",
204
+ size: "sm",
205
+ onClick: () => void remove(content),
206
+ get children() {
207
+ return t("content.list.actions.delete");
208
+ }
209
+ })));
210
+ }
175
211
  }
176
- }
177
- ]);
178
- return ssr(_tmpl$5, ssrHydrationKey(), escape(pageTitle()), escape(t("content.list.description")), ssrAttribute("href", escape(newContentHref(), true), false), escape(t("content.list.buttons.addNew")), escape(createComponent(Show, {
212
+ ];
213
+ return [
214
+ ...beforeTitle,
215
+ core[0],
216
+ ...afterTitle,
217
+ core[1],
218
+ core[2],
219
+ core[3],
220
+ ...implicit,
221
+ core[4],
222
+ ...atEnd
223
+ ];
224
+ });
225
+ return ssr(_tmpl$7, ssrHydrationKey(), escape(pageTitle()), escape(t("content.list.description")), ssrAttribute("href", escape(newContentHref(), true), false), escape(t("content.list.buttons.addNew")), escape(createComponent(Show, {
179
226
  get when() {
180
227
  return error();
181
228
  },
182
229
  get children() {
183
- return ssr(_tmpl$3, ssrHydrationKey(), escape(error()));
230
+ return ssr(_tmpl$5, ssrHydrationKey(), escape(error()));
184
231
  }
185
232
  })), escape(createComponent(Show, {
186
233
  get when() {
187
234
  return info();
188
235
  },
189
236
  get children() {
190
- return ssr(_tmpl$4, ssrHydrationKey(), escape(info()));
237
+ return ssr(_tmpl$6, ssrHydrationKey(), escape(info()));
191
238
  }
192
239
  })), escape(createComponent(Input, {
193
240
  name: "search",
@@ -235,7 +282,9 @@ function ContentList(props) {
235
282
  get children() {
236
283
  return t("content.list.buttons.search");
237
284
  }
238
- })), escape(createComponent(Card, { get children() {
285
+ })), escape(createComponent(ActionLinksSlot, { get extensions() {
286
+ return extensions();
287
+ } })), escape(createComponent(Card, { get children() {
239
288
  return [createComponent(Table, {
240
289
  get columns() {
241
290
  return columns();
@@ -262,7 +311,7 @@ function ContentList(props) {
262
311
  } })));
263
312
  }
264
313
  //#endregion
265
- //#region src/components/content/ContentTypeWorkspace.tsx
314
+ //#region src/components/content/ContentTypeWorkspace.jsx
266
315
  var _tmpl$ = [
267
316
  "<div",
268
317
  " class=\"notice notice--error\">",
@@ -333,7 +382,7 @@ var $$Index = createComponent$1(($$result, $$props, $$slots) => {
333
382
  "client:load": true,
334
383
  "contentType": contentType,
335
384
  "client:component-hydration": "load",
336
- "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/content/ContentTypeWorkspace.tsx",
385
+ "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/content/ContentTypeWorkspace.jsx",
337
386
  "client:component-export": "ContentTypeWorkspace"
338
387
  })}` })}`;
339
388
  }, "/home/runner/work/cms/cms/apps/admin/src/pages/content/[type]/index.astro", void 0);
@@ -1,11 +1,11 @@
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_CItvcX64.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_HxBoC5fJ.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BmAxDr2Q.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_PXoRmnBH.mjs";
6
6
  import { createComponent, escape, ssr, ssrHydrationKey } from "solid-js/web";
7
7
  import { For, Show, createSignal, onMount } from "solid-js";
8
- //#region src/components/apps/dashboard/DashboardHome.tsx
8
+ //#region src/components/apps/dashboard/DashboardHome.jsx
9
9
  var _tmpl$ = [
10
10
  "<div",
11
11
  " class=\"notice notice--error\">",
@@ -141,7 +141,7 @@ var $$Index = createComponent$1(($$result, $$props, $$slots) => {
141
141
  "client:load": true,
142
142
  "data-astro-cid-lcdefpme": true,
143
143
  "client:component-hydration": "load",
144
- "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/dashboard/DashboardHome.tsx",
144
+ "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/dashboard/DashboardHome.jsx",
145
145
  "client:component-export": "DashboardHome"
146
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/post/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);
@@ -1,11 +1,11 @@
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_CItvcX64.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_HxBoC5fJ.mjs";
6
- import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_BmAxDr2Q.mjs";
5
+ import { c as Button, d as Input, h as Show2, m as Select, p as Pagination, s as Badge, t as $$DashboardLayout, u as For2, v as createSignal, y as onMount } from "./DashboardLayout_PXoRmnBH.mjs";
6
+ import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
- //#region src/components/apps/users/UsersManager.tsx
8
+ //#region src/components/apps/users/UsersManager.jsx
9
9
  var _tmpl$ = [
10
10
  "<div",
11
11
  " class=\"notice notice--error\">",
@@ -350,7 +350,7 @@ var $$Index = createComponent$1(($$result, $$props, $$slots) => {
350
350
  })}${renderComponent($$result, "UsersManager", UsersManager, {
351
351
  "client:load": true,
352
352
  "client:component-hydration": "load",
353
- "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/users/UsersManager.tsx",
353
+ "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/users/UsersManager.jsx",
354
354
  "client:component-export": "UsersManager"
355
355
  })}` })}`;
356
356
  }, "/home/runner/work/cms/cms/apps/admin/src/pages/users/index.astro", void 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_HxBoC5fJ.mjs";
5
- import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_PXoRmnBH.mjs";
5
+ import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
6
6
  //#region src/pages/settings/index.astro
7
7
  var settings_exports = /* @__PURE__ */ __exportAll({
8
8
  default: () => $$Index,
@@ -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_HxBoC5fJ.mjs";
5
- import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
- import { t as MediaLibrary } from "./MediaLibrary_CD_cadEt.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_PXoRmnBH.mjs";
5
+ import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
6
+ import { t as MediaLibrary } from "./MediaLibrary_D7vu5VMd.mjs";
7
7
  //#region src/pages/media/index.astro
8
8
  var media_exports = /* @__PURE__ */ __exportAll({
9
9
  default: () => $$Index,
@@ -21,7 +21,7 @@ var $$Index = createComponent(($$result, $$props, $$slots) => {
21
21
  })}${renderComponent($$result, "MediaLibrary", MediaLibrary, {
22
22
  "client:load": true,
23
23
  "client:component-hydration": "load",
24
- "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/media/MediaLibrary.tsx",
24
+ "client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/media/MediaLibrary.jsx",
25
25
  "client:component-export": "MediaLibrary"
26
26
  })}` })}`;
27
27
  }, "/home/runner/work/cms/cms/apps/admin/src/pages/media/index.astro", void 0);
@@ -1,7 +1,7 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
4
- import { n as renderScript, t as $$BaseLayout } from "./BaseLayout_D-10OcWZ.mjs";
4
+ import { n as renderScript, t as $$BaseLayout } from "./BaseLayout_BTzlA_Yr.mjs";
5
5
  //#region src/pages/login.astro
6
6
  var login_exports = /* @__PURE__ */ __exportAll({
7
7
  default: () => $$Login,