@oktis-works/admin 0.23.3 → 0.24.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 (80) hide show
  1. package/dist/client/_astro/{ActivityWidget.C8vh6xAH.js → ActivityWidget.ZVWCvrxL.js} +1 -1
  2. package/dist/client/_astro/{AdminBar.D4zIDpRx.js → AdminBar.Cp3-f-Na.js} +1 -1
  3. package/dist/client/_astro/{ApiKeysManager.Bkuipo9h.js → ApiKeysManager.CpgNjjZm.js} +1 -1
  4. package/dist/client/_astro/{AtGlanceWidget.BwnpX_nn.js → AtGlanceWidget.B4v1yrwI.js} +1 -1
  5. package/dist/client/_astro/BaseLayout.Ceb72bti.css +1 -0
  6. package/dist/client/_astro/{CommentsManager.B7eut49M.js → CommentsManager.Da4veAPJ.js} +1 -1
  7. package/dist/client/_astro/ContentEditor.CSin5EHw.js +1 -0
  8. package/dist/client/_astro/{ContentTypeWorkspace.xXST4b7L.js → ContentTypeWorkspace.CjOEvGzy.js} +1 -1
  9. package/dist/client/_astro/{DashboardHome.DD8QG8ZW.js → DashboardHome.C40YVSiB.js} +1 -1
  10. package/dist/client/_astro/{DashboardLayout.astro_astro_type_script_index_0_lang.DPDlXZ5o.js → DashboardLayout.astro_astro_type_script_index_0_lang.DEsBqJww.js} +1 -1
  11. package/dist/client/_astro/{FieldGroupEditor.BBEN5r2U.js → FieldGroupEditor.9WZ-czWM.js} +1 -1
  12. package/dist/client/_astro/{FieldGroupList.BatiQHnf.js → FieldGroupList.BG9Wq5_L.js} +1 -1
  13. package/dist/client/_astro/FieldRenderer.DrX12H8L.js +3 -0
  14. package/dist/client/_astro/{Footer.BdwB3qmM.js → Footer.D7L9WAh7.js} +1 -1
  15. package/dist/client/_astro/{GeneralSettings.BCfrxm6Z.js → GeneralSettings.udEZdv-v.js} +1 -1
  16. package/dist/client/_astro/{LogsManager.Bs5CSVoj.js → LogsManager.B5TC9xQ_.js} +1 -1
  17. package/dist/client/_astro/{MediaLibrary.CHn5f4-T.js → MediaLibrary.D2v__yUO.js} +1 -1
  18. package/dist/client/_astro/{MenuManager.C6SrDqdC.js → MenuManager.glKVLQiP.js} +1 -1
  19. package/dist/client/_astro/{Modal.DdoTYkUe.js → Modal.DijYhpj_.js} +1 -1
  20. package/dist/client/_astro/{PluginManager.BLpO1lc5.js → PluginManager.BGdxyG-e.js} +1 -1
  21. package/dist/client/_astro/{PluginPageHost.CuXn-tn7.js → PluginPageHost.CEDOBtUT.js} +1 -1
  22. package/dist/client/_astro/{PostTypesManager.B6XdeNQH.js → PostTypesManager.DTbeJSyc.js} +1 -1
  23. package/dist/client/_astro/{QuickDraftWidget.COnmqwEP.js → QuickDraftWidget.wRkEcf8k.js} +1 -1
  24. package/dist/client/_astro/{ReadingSettings.dAD5fTqQ.js → ReadingSettings.CD8voAVk.js} +1 -1
  25. package/dist/client/_astro/{ResourceHubs.B6txFjmO.js → ResourceHubs.Cpu4lcaN.js} +1 -1
  26. package/dist/client/_astro/{TaxonomiesManager.CUiXA1--.js → TaxonomiesManager.gPoogAar.js} +1 -1
  27. package/dist/client/_astro/TaxonomyTermsManager.B3TphEaE.js +1 -0
  28. package/dist/client/_astro/{ThemeCustomizer.Bh3Gj0ud.js → ThemeCustomizer.BKKTlRC5.js} +1 -1
  29. package/dist/client/_astro/{ThemeManager.UG7ieOYF.js → ThemeManager.KDwxbVIq.js} +1 -1
  30. package/dist/client/_astro/{UserCreateForm.CTbVVXjg.js → UserCreateForm.IAFj7Afs.js} +1 -1
  31. package/dist/client/_astro/{UsersManager.Dk2kJsYG.js → UsersManager.BfVYX6D5.js} +1 -1
  32. package/dist/client/_astro/{WebhooksManager.DTMl6Bm7.js → WebhooksManager.Bp3Zp4vO.js} +1 -1
  33. package/dist/client/_astro/{api.fpBzBw4U.js → api.C1uUawnK.js} +1 -1
  34. package/dist/client/_astro/{extensions.DZ7iomLj.js → extensions.XVI9Kud6.js} +1 -1
  35. package/dist/client/_astro/{i18n.DQYU1D_P.js → i18n.TTF80CEw.js} +1 -1
  36. package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.DA827d72.js → login.astro_astro_type_script_index_0_lang.C_Lrwk3I.js} +1 -1
  37. package/dist/client/_astro/{src.CYKGYEyR.js → src.DoHIZU0i.js} +1 -1
  38. package/dist/client/_astro/{store.CjNcmZUB.js → store.BUgA6DSh.js} +1 -1
  39. package/dist/server/chunks/{404_vQwudBEj.mjs → 404_CouGE9Mj.mjs} +1 -1
  40. package/dist/server/chunks/{BaseLayout_CJGULIpb.mjs → BaseLayout_DRJ6-Y9z.mjs} +5 -5
  41. package/dist/server/chunks/ContentEditor_DIjqVt5v.mjs +324 -0
  42. package/dist/server/chunks/{DashboardLayout_DvfGK5S9.mjs → DashboardLayout_Bz8ZBDme.mjs} +85 -3
  43. package/dist/server/chunks/{FieldRenderer_hN7BJpMp.mjs → FieldRenderer_RlFoxao4.mjs} +570 -62
  44. package/dist/server/chunks/{MediaLibrary_BP42MRyJ.mjs → MediaLibrary_Dh6dBT17.mjs} +2 -2
  45. package/dist/server/chunks/{Modal_Ch2TxBxO.mjs → Modal_CpojFoyP.mjs} +1 -1
  46. package/dist/server/chunks/{_.._DuD24v6o.mjs → _.._C1o1V5X_.mjs} +1 -1
  47. package/dist/server/chunks/{_id__DK_jXL1Q.mjs → _id__BKZ7vD0U.mjs} +2 -2
  48. package/dist/server/chunks/{access_pGLFLBaE.mjs → access_COyC7DxO.mjs} +3 -3
  49. package/dist/server/chunks/{api-keys_BPiWCywt.mjs → api-keys_D2TJYRAW.mjs} +3 -3
  50. package/dist/server/chunks/{comments_HtxLK4Vu.mjs → comments_CySyBx_l.mjs} +2 -2
  51. package/dist/server/chunks/{custom-fields_CLqVsj2N.mjs → custom-fields_Clivf3ew.mjs} +2 -2
  52. package/dist/server/chunks/{customize_C8xbYnPi.mjs → customize_XWQyyFCl.mjs} +3 -3
  53. package/dist/server/chunks/{edit_CHln4Kd_.mjs → edit_CYlskXjG.mjs} +2 -2
  54. package/dist/server/chunks/{i18n_BlAR9yiz.mjs → i18n_Bp0_xO2v.mjs} +4 -6
  55. package/dist/server/chunks/{index_COr5MHJ7.mjs → index_BufAjUfw.mjs} +2 -2
  56. package/dist/server/chunks/{index_DK_fTf2_.mjs → index_CJOIvqZF.mjs} +2 -2
  57. package/dist/server/chunks/{index_BiKJEUK6.mjs → index_DBmNvPut.mjs} +2 -2
  58. package/dist/server/chunks/{index_CNk9hfS_.mjs → index_Z5USLJCo.mjs} +3 -3
  59. package/dist/server/chunks/{index_T7SwCQJ9.mjs → index_pSSu8X0A.mjs} +2 -2
  60. package/dist/server/chunks/{login_4_AiN3uA.mjs → login_BbReGd7a.mjs} +1 -1
  61. package/dist/server/chunks/{logs_BnmhxL0Y.mjs → logs_D_xRW_Dm.mjs} +2 -2
  62. package/dist/server/chunks/{menus_CnlArgBT.mjs → menus_t0aZuQCI.mjs} +2 -2
  63. package/dist/server/chunks/{new_BLx19-Ni.mjs → new_CkSJ-S3h.mjs} +2 -2
  64. package/dist/server/chunks/{new_CtlziJrk.mjs → new_DFA50r2h.mjs} +2 -2
  65. package/dist/server/chunks/{plugins_CgMxXTGS.mjs → plugins_rehiATzz.mjs} +2 -2
  66. package/dist/server/chunks/{post-types_cQc2Msvm.mjs → post-types_Dx4bmkB7.mjs} +2 -2
  67. package/dist/server/chunks/{reading_0A4laJFd.mjs → reading_DVMggOZa.mjs} +2 -2
  68. package/dist/server/chunks/{taxonomies_CiAk4uQu.mjs → taxonomies_BKVuy-kF.mjs} +2 -2
  69. package/dist/server/chunks/{taxonomy_C1yrRsga.mjs → taxonomy_CsnDSlD1.mjs} +31 -18
  70. package/dist/server/chunks/{themes_C8eP1zzS.mjs → themes_c2vDYHy-.mjs} +2 -2
  71. package/dist/server/chunks/{upload_BNO83SEC.mjs → upload_DYFOxmHE.mjs} +2 -2
  72. package/dist/server/chunks/{webhooks_BQe0fs4j.mjs → webhooks_CjBMAJt2.mjs} +2 -2
  73. package/dist/server/entry.mjs +28 -28
  74. package/dist/server/virtual_astro_middleware.mjs +1 -1
  75. package/package.json +5 -5
  76. package/dist/client/_astro/BaseLayout.Rpr86VwM.css +0 -1
  77. package/dist/client/_astro/ContentEditor.CTopdn_8.js +0 -1
  78. package/dist/client/_astro/FieldRenderer.BeF5CSJf.js +0 -3
  79. package/dist/client/_astro/TaxonomyTermsManager.egxIFsFi.js +0 -1
  80. package/dist/server/chunks/ContentEditor_D3hp0Gyo.mjs +0 -728
@@ -1,5 +1,5 @@
1
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
2
- import { b as onMount, d as For2, f as Input, g as Show2, h as Select, l as Button, m as Pagination, p as Modal, y as createSignal } from "./DashboardLayout_DvfGK5S9.mjs";
1
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
2
+ import { b as onMount, d as For2, f as Input, g as Show2, h as Select, l as Button, m as Pagination, p as Modal, y as createSignal } from "./DashboardLayout_Bz8ZBDme.mjs";
3
3
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
4
4
  //#region src/components/media/MediaLibrary.tsx
5
5
  var _tmpl$ = [
@@ -1,4 +1,4 @@
1
- import { n as useTranslation } from "./i18n_BlAR9yiz.mjs";
1
+ import { n as useTranslation } from "./i18n_Bp0_xO2v.mjs";
2
2
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
3
3
  import { Show, createEffect, onCleanup } from "solid-js";
4
4
  //#region src/components/ui/Modal.tsx
@@ -1,7 +1,7 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, d as maybeRenderHead, i as renderComponent, p as addAttribute, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { o as PluginComponentHost, r as loadExtensions, t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { o as PluginComponentHost, r as loadExtensions, t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
5
5
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
6
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
7
7
  import { Show, createSignal, onMount } from "solid-js";
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { s as loadPluginComponent, t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { s as loadPluginComponent, t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { t as FloatingPanel } from "./FloatingPanel_DI2CdUZK.mjs";
8
8
  import { t as FbIcon } from "./FbIcon_D0f6QiFJ.mjs";
@@ -1,10 +1,10 @@
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_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
- import { t as Modal } from "./Modal_Ch2TxBxO.mjs";
7
+ import { t as Modal } from "./Modal_CpojFoyP.mjs";
8
8
  import { t as FloatingPanel } from "./FloatingPanel_DI2CdUZK.mjs";
9
9
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
10
10
  import { For, Show, createMemo, createSignal, onMount } from "solid-js";
@@ -1,10 +1,10 @@
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_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
- import { t as Modal } from "./Modal_Ch2TxBxO.mjs";
7
+ import { t as Modal } from "./Modal_CpojFoyP.mjs";
8
8
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
9
9
  import { For, Show, createSignal, onMount } from "solid-js";
10
10
  //#region src/components/apps/settings/ApiKeysManager.tsx
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, createSignal, onMount } from "solid-js";
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as FbIcon } from "./FbIcon_D0f6QiFJ.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, createMemo, createSignal, onMount } from "solid-js";
@@ -1,9 +1,9 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
6
- import { n as isFieldVisible } from "./FieldRenderer_hN7BJpMp.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
+ import { n as isFieldVisible } from "./FieldRenderer_RlFoxao4.mjs";
7
7
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
8
8
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
9
9
  import { For, Show, createMemo, createSignal, onMount } from "solid-js";
@@ -1,9 +1,9 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, 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_DvfGK5S9.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
5
5
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
- import { t as ContentEditor } from "./ContentEditor_D3hp0Gyo.mjs";
6
+ import { t as ContentEditor } from "./ContentEditor_DIjqVt5v.mjs";
7
7
  //#region src/pages/content/[type]/edit.astro
8
8
  var edit_exports = /* @__PURE__ */ __exportAll({
9
9
  default: () => $$Edit,
@@ -605,12 +605,10 @@ var ApiClient = class {
605
605
  await this.request("DELETE", `/api/v1/menus/${id}`);
606
606
  }
607
607
  async getFieldGroups(context) {
608
- if (context?.type) {
609
- const qs = new URLSearchParams({ type: context.type });
610
- for (const [key, value] of Object.entries(context)) if (key !== "type" && value) qs.set(key, value);
611
- return this.request("GET", `/api/v1/field-groups?${qs.toString()}`);
612
- }
613
- return this.request("GET", "/api/v1/field-groups");
608
+ if (!context || Object.values(context).every((value) => !value)) return this.request("GET", "/api/v1/field-groups");
609
+ const qs = new URLSearchParams();
610
+ for (const [key, value] of Object.entries(context)) if (value) qs.set(key, value);
611
+ return this.request("GET", `/api/v1/field-groups?${qs.toString()}`);
614
612
  }
615
613
  async getFieldGroup(id) {
616
614
  return this.request("GET", `/api/v1/field-groups/${id}`);
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { b as onMount, c as Badge, d as For2, f as Input, g as Show2, h as Select, l as Button, m as Pagination, t as $$DashboardLayout, y as createSignal } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { b as onMount, c as Badge, d as For2, f as Input, g as Show2, h as Select, l as Button, m as Pagination, t as $$DashboardLayout, y as createSignal } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  //#region src/components/apps/users/UsersManager.tsx
@@ -1,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 { a as LOCALE_LABELS, i as LOCALE_FLAGS, n as useTranslation, o as SUPPORTED_LOCALES, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { b as onMount, f as Input, g as Show2, h as Select, l as Button, t as $$DashboardLayout, u as Card, v as createMemo, y as createSignal } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { a as LOCALE_LABELS, i as LOCALE_FLAGS, n as useTranslation, o as SUPPORTED_LOCALES, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { b as onMount, f as Input, g as Show2, h as Select, l as Button, t as $$DashboardLayout, u as Card, v as createMemo, y as createSignal } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { t as TimezoneSelect } from "./TimezoneSelect_D6o-2_7b.mjs";
8
8
  import { createComponent, escape, memo, ssr, ssrHydrationKey } from "solid-js/web";
@@ -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_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { createComponent, escape, ssr, ssrHydrationKey } from "solid-js/web";
7
7
  import { For, Show, createSignal, onMount } from "solid-js";
8
8
  //#region src/components/apps/dashboard/DashboardHome.tsx
@@ -1,10 +1,10 @@
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_BlAR9yiz.mjs";
5
- import { _ as Table, c as Badge, f as Input, h as Select, i as ActionLinksSlot, l as Button, m as Pagination, n as emptyExtensionsState, o as PluginComponentHost, r as loadExtensions, t as $$DashboardLayout, u as Card } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { _ as Table, c as Badge, f as Input, h as Select, i as ActionLinksSlot, l as Button, m as Pagination, n as emptyExtensionsState, o as PluginComponentHost, r as loadExtensions, t as $$DashboardLayout, u as Card } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
- import { t as ContentEditor } from "./ContentEditor_D3hp0Gyo.mjs";
7
+ import { t as ContentEditor } from "./ContentEditor_DIjqVt5v.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
@@ -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_DvfGK5S9.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
5
5
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
- import { t as MediaLibrary } from "./MediaLibrary_BP42MRyJ.mjs";
6
+ import { t as MediaLibrary } from "./MediaLibrary_Dh6dBT17.mjs";
7
7
  //#region src/pages/media/index.astro
8
8
  var media_exports = /* @__PURE__ */ __exportAll({
9
9
  default: () => $$Index,
@@ -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_CJGULIpb.mjs";
4
+ import { n as renderScript, t as $$BaseLayout } from "./BaseLayout_DRJ6-Y9z.mjs";
5
5
  //#region src/pages/login.astro
6
6
  var login_exports = /* @__PURE__ */ __exportAll({
7
7
  default: () => $$Login,
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, 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_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, createSignal, onMount } from "solid-js";
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
7
7
  import { For, Show, createMemo, createSignal, onMount } from "solid-js";
8
8
  //#region src/components/apps/menus/MenuManager.tsx
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, createSignal, onMount } from "solid-js";
@@ -1,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_DvfGK5S9.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
5
5
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
- import { t as ContentEditor } from "./ContentEditor_D3hp0Gyo.mjs";
6
+ import { t as ContentEditor } from "./ContentEditor_DIjqVt5v.mjs";
7
7
  //#region src/pages/content/[type]/new.astro
8
8
  var new_exports = /* @__PURE__ */ __exportAll({
9
9
  default: () => $$New,
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, createSignal, onMount } from "solid-js";
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { t as FloatingPanel } from "./FloatingPanel_DI2CdUZK.mjs";
8
8
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { b as onMount, f as Input, g as Show2, h as Select, l as Button, t as $$DashboardLayout, u as Card, y as createSignal } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { b as onMount, f as Input, g as Show2, h as Select, l as Button, t as $$DashboardLayout, u as Card, y as createSignal } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { t as TimezoneSelect } from "./TimezoneSelect_D6o-2_7b.mjs";
8
8
  import { createComponent, escape, ssr, ssrHydrationKey } from "solid-js/web";
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
8
8
  import { For, Show, createSignal, onMount } from "solid-js";
@@ -1,9 +1,9 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
6
- import { t as FieldRenderer } from "./FieldRenderer_hN7BJpMp.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
+ import { t as FieldRenderer } from "./FieldRenderer_RlFoxao4.mjs";
7
7
  import { t as expandCloneFields } from "./clone_FT3Zf-Bf.mjs";
8
8
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
9
9
  import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
@@ -59,11 +59,17 @@ var _tmpl$6 = [
59
59
  "<!--/--></div>"
60
60
  ];
61
61
  var _tmpl$7 = [
62
+ "<section",
63
+ "><h5>",
64
+ "</h5><!--$-->",
65
+ "<!--/--></section>"
66
+ ];
67
+ var _tmpl$8 = [
62
68
  "<p",
63
69
  " class=\"muted\">",
64
70
  "</p>"
65
71
  ];
66
- var _tmpl$8 = [
72
+ var _tmpl$9 = [
67
73
  "<tr",
68
74
  "><td>",
69
75
  "</td><td>",
@@ -97,8 +103,10 @@ function TaxonomyTermsManager(props) {
97
103
  if (!props.taxonomySlug) return;
98
104
  try {
99
105
  const resolved = await apiClient.getFieldGroups({ taxonomy: props.taxonomySlug });
100
- const full = await Promise.all(resolved.filter((group) => group.active).map(async (group) => apiClient.getFieldGroup(group.id)));
101
- setMetaFields(expandCloneFields(full.flatMap((group) => group.fields ?? [])));
106
+ setMetaFields(resolved.filter((group) => group.active !== false).map((group) => ({
107
+ ...group,
108
+ fields: expandCloneFields(group.fields ?? [])
109
+ })));
102
110
  } catch {
103
111
  setMetaFields([]);
104
112
  }
@@ -135,17 +143,22 @@ function TaxonomyTermsManager(props) {
135
143
  get each() {
136
144
  return metaFields();
137
145
  },
138
- children: (field) => createComponent(FieldRenderer, {
139
- field,
140
- get values() {
141
- return metaValues();
146
+ children: (group) => ssr(_tmpl$7, ssrHydrationKey() + ssrAttribute("data-field-group", escape(group.key, true), false), escape(group.title), escape(createComponent(For, {
147
+ get each() {
148
+ return group.fields;
142
149
  },
143
- onChange: (fieldName, value) => setMetaValues({
144
- ...metaValues(),
145
- [fieldName]: value
146
- }),
147
- t
148
- })
150
+ children: (field) => createComponent(FieldRenderer, {
151
+ field,
152
+ get values() {
153
+ return metaValues();
154
+ },
155
+ onChange: (fieldName, value) => setMetaValues({
156
+ ...metaValues(),
157
+ [fieldName]: value
158
+ }),
159
+ t
160
+ })
161
+ })))
149
162
  })));
150
163
  }
151
164
  })), ssrAttribute("disabled", saving(), true), editingId() ? escape(t("common.save")) : escape(t("content.taxonomy.add")), escape(createComponent(Show, {
@@ -160,14 +173,14 @@ function TaxonomyTermsManager(props) {
160
173
  return terms().length > 0;
161
174
  },
162
175
  get fallback() {
163
- return ssr(_tmpl$7, ssrHydrationKey(), escape(t("content.taxonomy.empty")));
176
+ return ssr(_tmpl$8, ssrHydrationKey(), escape(t("content.taxonomy.empty")));
164
177
  },
165
178
  get children() {
166
179
  return ssr(_tmpl$4, ssrHydrationKey(), escape(t("content.taxonomy.name")), escape(t("content.taxonomy.slug")), escape(createComponent(For, {
167
180
  get each() {
168
181
  return terms();
169
182
  },
170
- children: (term) => ssr(_tmpl$8, ssrHydrationKey(), escape(term.name), escape(term.slug), escape(t("common.edit")), escape(t("content.taxonomy.delete")))
183
+ children: (term) => ssr(_tmpl$9, ssrHydrationKey(), escape(term.name), escape(term.slug), escape(t("common.edit")), escape(t("content.taxonomy.delete")))
171
184
  })));
172
185
  }
173
186
  })));
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, createSignal, onMount } from "solid-js";
@@ -1,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_DvfGK5S9.mjs";
4
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
5
5
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
6
- import { t as MediaLibrary } from "./MediaLibrary_BP42MRyJ.mjs";
6
+ import { t as MediaLibrary } from "./MediaLibrary_Dh6dBT17.mjs";
7
7
  //#region src/pages/media/upload.astro
8
8
  var upload_exports = /* @__PURE__ */ __exportAll({
9
9
  default: () => $$Upload,
@@ -1,8 +1,8 @@
1
1
  import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
2
2
  import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
3
3
  import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
4
- import { n as useTranslation, r as apiClient } from "./i18n_BlAR9yiz.mjs";
5
- import { t as $$DashboardLayout } from "./DashboardLayout_DvfGK5S9.mjs";
4
+ import { n as useTranslation, r as apiClient } from "./i18n_Bp0_xO2v.mjs";
5
+ import { t as $$DashboardLayout } from "./DashboardLayout_Bz8ZBDme.mjs";
6
6
  import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
7
7
  import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
8
8
  import { For, Show, createSignal, onCleanup, onMount } from "solid-js";