@oktis-works/admin 0.8.5 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/_astro/{ActivityWidget.SssZqlfP.js → ActivityWidget.DFfbrs-K.js} +1 -1
- package/dist/client/_astro/{AdminBar.DtWm_tDd.js → AdminBar.5-l0PBZz.js} +1 -1
- package/dist/client/_astro/{AtGlanceWidget.CcLDKP7o.js → AtGlanceWidget.B5ytZ8mp.js} +3 -10
- package/dist/client/_astro/{ContentEditor.CNA7JBbp.js → ContentEditor.CQ2OYPHn.js} +1 -1
- package/dist/client/_astro/ContentEditor.DANKVwCI.js +1 -0
- package/dist/client/_astro/{ContentTypeWorkspace.SB9uynFI.js → ContentTypeWorkspace.CdsUQQfa.js} +1 -1
- package/dist/client/_astro/{DashboardHome.Dj9gSA9K.js → DashboardHome.BYOWl94l.js} +1 -1
- package/dist/client/_astro/{DashboardLayout.astro_astro_type_script_index_0_lang.CfOuV5xf.js → DashboardLayout.astro_astro_type_script_index_0_lang.DP7AKyOy.js} +1 -1
- package/dist/client/_astro/{FieldGroupEditor.B8cWiMkK.js → FieldGroupEditor.5iB_mZUP.js} +1 -1
- package/dist/client/_astro/{FieldGroupList.NzlvEkxI.js → FieldGroupList.CN3KGhw5.js} +1 -1
- package/dist/client/_astro/{Footer.BeG1b1Qu.js → Footer.CnuW-fOP.js} +1 -1
- package/dist/client/_astro/{GeneralSettings.BTJXWQbd.js → GeneralSettings.Dzv_7xWf.js} +1 -1
- package/dist/client/_astro/{LogsManager.C1i7O4ex.js → LogsManager.C3XW2Gze.js} +1 -1
- package/dist/client/_astro/{MediaLibrary.BB7X1JdP.js → MediaLibrary.bx1yD6aC.js} +1 -1
- package/dist/client/_astro/{MenuManager.BA52Fxa9.js → MenuManager.Bl_gpt5T.js} +1 -1
- package/dist/client/_astro/PluginManager.ClpQA_a-.js +136 -0
- package/dist/client/_astro/{PostTypesManager.F5rqadfC.js → PostTypesManager.BJNKEOXY.js} +1 -1
- package/dist/client/_astro/{QuickDraftWidget.BC1JfCFh.js → QuickDraftWidget.Gjzwimmf.js} +1 -1
- package/dist/client/_astro/{ResourceHubs.CNm-qJe9.js → ResourceHubs.D11v_J8D.js} +1 -1
- package/dist/client/_astro/{TaxonomiesManager.e5bigMud.js → TaxonomiesManager.DAC1s3aS.js} +1 -1
- package/dist/client/_astro/{TaxonomyTermsManager.B2oWdmwg.js → TaxonomyTermsManager.RsO79xRU.js} +1 -1
- package/dist/client/_astro/{ThemeManager.51RSLO2K.js → ThemeManager.BO-12WST.js} +2 -2
- package/dist/client/_astro/{UserCreateForm.CbJ88Um1.js → UserCreateForm.CSYbfU4r.js} +1 -1
- package/dist/client/_astro/{UsersManager.Bt-QRa3f.js → UsersManager.GrlsCN-n.js} +1 -1
- package/dist/client/_astro/{WebhooksManager.Cc4uxSB8.js → WebhooksManager.BNaGM-w5.js} +1 -1
- package/dist/client/_astro/{api.BZGjgltO.js → api.D7bs6UOp.js} +1 -1
- package/dist/client/_astro/{extensions.DuW4Htyu.js → extensions.CpcwMaUF.js} +1 -1
- package/dist/client/_astro/i18n.CjQozXLx.js +1 -0
- package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.D4N79ggo.js → login.astro_astro_type_script_index_0_lang.D7pjn1zG.js} +1 -1
- package/dist/client/_astro/pt-BR.BnllmbjP.js +1 -0
- package/dist/server/chunks/{BaseLayout_8LDKIZRE.mjs → BaseLayout_mNhoDiMR.mjs} +2 -2
- package/dist/server/chunks/{ContentEditor_CF4g69qF.mjs → ContentEditor_DLQV2GHu.mjs} +2 -2
- package/dist/server/chunks/{DashboardLayout_1dGTmjBY.mjs → DashboardLayout_CGggEut2.mjs} +7 -63
- package/dist/server/chunks/{MediaLibrary_BGEv2tuu.mjs → MediaLibrary_tpZAEUHh.mjs} +2 -2
- package/dist/server/chunks/{_id__CHyoGLx5.mjs → _id__ByUunzUm.mjs} +2 -2
- package/dist/server/chunks/{_slug__fZUF-evB.mjs → _slug__BSjoZ5ou.mjs} +1 -1
- package/dist/server/chunks/{access_CZwJgKVS.mjs → access_Cemph0zm.mjs} +2 -2
- package/dist/server/chunks/{custom-fields_BiLwtkE6.mjs → custom-fields_D5clxJVf.mjs} +2 -2
- package/dist/server/chunks/{edit_gF41oHu5.mjs → edit_C5a8Q5Ge.mjs} +2 -2
- package/dist/server/chunks/{general_RNmE9Odw.mjs → general_CuLtpcon.mjs} +2 -2
- package/dist/server/chunks/{i18n_CL8yeGqZ.mjs → i18n_k88p-B6j.mjs} +33 -11
- package/dist/server/chunks/{index_0zbqqOet.mjs → index_BiC5Mm4G.mjs} +3 -3
- package/dist/server/chunks/{index_D0WxS8af.mjs → index_DP4dDD-R.mjs} +2 -2
- package/dist/server/chunks/{index_DbOwOxbW.mjs → index_D_UVr3YD.mjs} +2 -2
- package/dist/server/chunks/{index_D6HXZwF4.mjs → index_DnAdCTFB.mjs} +2 -2
- package/dist/server/chunks/{index_BvKgOhSI.mjs → index_nslucXss.mjs} +1 -1
- package/dist/server/chunks/{login_BxK_UPkj.mjs → login_Bf5cWCYs.mjs} +1 -1
- package/dist/server/chunks/{logs_DJcX9u3X.mjs → logs_DibwgS0j.mjs} +2 -2
- package/dist/server/chunks/{menus_BhScD9TM.mjs → menus_QSYCvi90.mjs} +2 -2
- package/dist/server/chunks/{new_tZ30VWxq.mjs → new_CRPpTn9N.mjs} +2 -2
- package/dist/server/chunks/{new_FEhweoE3.mjs → new_DGbrZY4T.mjs} +2 -2
- package/dist/server/chunks/plugins_C9GShj8w.mjs +179 -0
- package/dist/server/chunks/{post-types_Dsnp6CER.mjs → post-types_yl-VSZfH.mjs} +2 -2
- package/dist/server/chunks/{pt-BR_BTeK5Tkj.mjs → pt-BR_X0hfCrsD.mjs} +12 -3
- package/dist/server/chunks/{taxonomies_CMZ40EHt.mjs → taxonomies_BwUwBz95.mjs} +2 -2
- package/dist/server/chunks/{taxonomy_a4PgNXwG.mjs → taxonomy_h8RtMHN4.mjs} +2 -2
- package/dist/server/chunks/{themes_B3HVVvly.mjs → themes_CG_DSSUL.mjs} +8 -3
- package/dist/server/chunks/{upload_CJgAy49n.mjs → upload_DABOFBBU.mjs} +2 -2
- package/dist/server/chunks/{webhooks_SZs8Lit8.mjs → webhooks_DQAwEeKf.mjs} +2 -2
- package/dist/server/entry.mjs +24 -24
- package/dist/server/virtual_astro_middleware.mjs +1 -1
- package/package.json +2 -2
- package/dist/client/_astro/AtGlanceWidget.BzDzj2Lq.js +0 -1
- package/dist/client/_astro/ContentEditor.CutKwMm-.js +0 -1
- package/dist/client/_astro/PluginManager.C4NTmAIB.js +0 -85
- package/dist/client/_astro/i18n.CAsBwuBv.js +0 -1
- package/dist/client/_astro/pt-BR.evIaYCbD.js +0 -1
- package/dist/server/chunks/plugins_CnesKU_P.mjs +0 -132
|
@@ -90,7 +90,7 @@ async function loadLocale(locale) {
|
|
|
90
90
|
"./locales/it.json": () => import("./it_DEDC6yxf.mjs"),
|
|
91
91
|
"./locales/ja.json": () => import("./ja_BRQi6rW3.mjs"),
|
|
92
92
|
"./locales/pl.json": () => import("./pl_CKanAk0F.mjs"),
|
|
93
|
-
"./locales/pt-BR.json": () => import("./pt-
|
|
93
|
+
"./locales/pt-BR.json": () => import("./pt-BR_X0hfCrsD.mjs"),
|
|
94
94
|
"./locales/ru.json": () => import("./ru_CuNXt2MB.mjs"),
|
|
95
95
|
"./locales/sw.json": () => import("./sw_RLMWPkos.mjs"),
|
|
96
96
|
"./locales/tr.json": () => import("./tr_Dz8pqyTZ.mjs"),
|
|
@@ -713,6 +713,17 @@ var ApiClient = class {
|
|
|
713
713
|
manifest: theme["manifest"] ?? null
|
|
714
714
|
}));
|
|
715
715
|
}
|
|
716
|
+
/** Sincroniza o diretório de temas com o banco e retorna o estado completo. */
|
|
717
|
+
async syncThemes() {
|
|
718
|
+
return (await this.request("POST", "/api/v1/themes/sync")).map((theme) => ({
|
|
719
|
+
id: String(theme["id"] ?? ""),
|
|
720
|
+
name: String(theme["name"] ?? ""),
|
|
721
|
+
version: theme["version"] ? String(theme["version"]) : void 0,
|
|
722
|
+
status: String(theme["status"] ?? "INSTALLED"),
|
|
723
|
+
config: theme["config"] ?? {},
|
|
724
|
+
manifest: theme["manifest"] ?? null
|
|
725
|
+
}));
|
|
726
|
+
}
|
|
716
727
|
async activateTheme(id) {
|
|
717
728
|
return this.request("POST", `/api/v1/themes/${id}/activate`);
|
|
718
729
|
}
|
|
@@ -734,21 +745,23 @@ var ApiClient = class {
|
|
|
734
745
|
name: String(plugin["name"] ?? ""),
|
|
735
746
|
version: String(plugin["version"] ?? ""),
|
|
736
747
|
status: String(plugin["status"] ?? "INSTALLED"),
|
|
748
|
+
enabled: plugin["enabled"] === true,
|
|
737
749
|
manifest: plugin["manifest"] ?? null
|
|
738
750
|
}));
|
|
739
751
|
}
|
|
740
|
-
async activatePlugin(id) {
|
|
741
|
-
return this.request("POST", `/api/v1/plugins/${id}/activate
|
|
742
|
-
}
|
|
743
|
-
async deactivatePlugin(id) {
|
|
744
|
-
return this.request("POST", `/api/v1/plugins/${id}/deactivate`);
|
|
752
|
+
async activatePlugin(id, tenantId) {
|
|
753
|
+
return this.request("POST", `/api/v1/plugins/${id}/activate`, { tenantId });
|
|
745
754
|
}
|
|
746
|
-
async
|
|
747
|
-
return this.request("POST",
|
|
755
|
+
async deactivatePlugin(id, tenantId) {
|
|
756
|
+
return this.request("POST", `/api/v1/plugins/${id}/deactivate`, { tenantId });
|
|
748
757
|
}
|
|
749
758
|
async uninstallPlugin(id) {
|
|
750
759
|
await this.request("DELETE", `/api/v1/plugins/${id}`);
|
|
751
760
|
}
|
|
761
|
+
/** Estado de runtime dos plugins (WP2) — por escopo platform/tenant. */
|
|
762
|
+
async getPluginsRuntime() {
|
|
763
|
+
return this.request("GET", "/api/v1/plugins/runtime");
|
|
764
|
+
}
|
|
752
765
|
};
|
|
753
766
|
var apiClient = new ApiClient();
|
|
754
767
|
//#endregion
|
|
@@ -879,7 +892,6 @@ var dashboard = {
|
|
|
879
892
|
"mediaDesc": "Files in the library",
|
|
880
893
|
"users": "Users",
|
|
881
894
|
"usersDesc": "Total / Active / Inactive",
|
|
882
|
-
"version": "Version",
|
|
883
895
|
"storage": "Storage",
|
|
884
896
|
"quickDraft": {
|
|
885
897
|
"title": "Quick Draft",
|
|
@@ -1619,12 +1631,16 @@ var plugins = {
|
|
|
1619
1631
|
"name": "Name",
|
|
1620
1632
|
"version": "Version",
|
|
1621
1633
|
"status": "Status",
|
|
1634
|
+
"enabled": "Enabled for tenant",
|
|
1622
1635
|
"actions": "Actions"
|
|
1623
1636
|
},
|
|
1624
1637
|
"status": {
|
|
1625
1638
|
"active": "Active",
|
|
1626
1639
|
"installed": "Installed",
|
|
1627
|
-
"inactive": "Inactive"
|
|
1640
|
+
"inactive": "Inactive",
|
|
1641
|
+
"quarantined": "Quarantined",
|
|
1642
|
+
"missing": "Missing",
|
|
1643
|
+
"loadFailed": "Load failed"
|
|
1628
1644
|
},
|
|
1629
1645
|
"activate": "Activate",
|
|
1630
1646
|
"deactivate": "Deactivate",
|
|
@@ -1639,7 +1655,13 @@ var plugins = {
|
|
|
1639
1655
|
"deactivateError": "Could not deactivate the plugin.",
|
|
1640
1656
|
"installError": "Could not install the plugin.",
|
|
1641
1657
|
"uninstallError": "Could not uninstall the plugin.",
|
|
1642
|
-
"empty": "No plugins installed."
|
|
1658
|
+
"empty": "No plugins installed.",
|
|
1659
|
+
"selectTenant": "Select tenant",
|
|
1660
|
+
"selectTenantPlaceholder": "Choose a tenant to activate/deactivate for",
|
|
1661
|
+
"hideSelector": "Hide selector",
|
|
1662
|
+
"enabledForTenant": "Active for this tenant",
|
|
1663
|
+
"enabledYes": "Yes",
|
|
1664
|
+
"enabledNo": "No"
|
|
1643
1665
|
};
|
|
1644
1666
|
var themes = {
|
|
1645
1667
|
"title": "Themes",
|
|
@@ -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 "./
|
|
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 "./
|
|
6
|
-
import { t as ContentEditor } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.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_CGggEut2.mjs";
|
|
6
|
+
import { t as ContentEditor } from "./ContentEditor_DLQV2GHu.mjs";
|
|
7
7
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
8
8
|
import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
9
9
|
import { Show, createMemo, createSignal, onMount } from "solid-js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { a as For2, c as 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 "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.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_CGggEut2.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
7
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
//#region src/components/apps/users/UsersManager.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
5
5
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
|
-
import { t as MediaLibrary } from "./
|
|
6
|
+
import { t as MediaLibrary } from "./MediaLibrary_tpZAEUHh.mjs";
|
|
7
7
|
//#region src/pages/media/index.astro
|
|
8
8
|
var media_exports = /* @__PURE__ */ __exportAll({
|
|
9
9
|
default: () => $$Index,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/dashboard/DashboardHome.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
5
5
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
6
|
//#region src/pages/settings/index.astro
|
|
7
7
|
var settings_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as renderScript, t as $$BaseLayout } from "./
|
|
4
|
+
import { n as renderScript, t as $$BaseLayout } from "./BaseLayout_mNhoDiMR.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 "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.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 "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.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 "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
7
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as ContentEditor } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
5
|
+
import { t as ContentEditor } from "./ContentEditor_DLQV2GHu.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
7
7
|
//#region src/pages/content/[type]/new.astro
|
|
8
8
|
var new_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
+
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
|
+
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
6
|
+
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
7
|
+
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
|
+
import { For, createSignal, onMount } from "solid-js";
|
|
9
|
+
//#region src/components/apps/plugins/PluginManager.tsx
|
|
10
|
+
var _tmpl$ = [
|
|
11
|
+
"<div",
|
|
12
|
+
" class=\"plugin-manager\"><p class=\"page-hint\">",
|
|
13
|
+
"</p><!--$-->",
|
|
14
|
+
"<!--/--><!--$-->",
|
|
15
|
+
"<!--/--><!--$-->",
|
|
16
|
+
"<!--/--><style>\n .page-hint {\n margin: 0 0 1.25rem;\n color: var(--color-muted);\n font-size: 0.8125rem;\n }\n .tenant-selector-bar {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n margin-bottom: 1rem;\n padding: 0.75rem 1rem;\n background: var(--color-surface);\n border: 1px solid var(--color-border);\n border-radius: var(--radius-md);\n font-size: 0.8125rem;\n }\n .tenant-selector-bar select {\n flex: 1;\n max-width: 300px;\n padding: 0.375rem 0.75rem;\n border: 1px solid var(--color-border);\n border-radius: var(--radius-sm);\n background: var(--color-background);\n color: var(--color-text);\n }\n .badge-enabled {\n display: inline-block;\n margin-left: 0.5rem;\n padding: 0.125rem 0.375rem;\n font-size: 0.625rem;\n font-weight: 600;\n text-transform: uppercase;\n background: var(--color-success-soft);\n color: var(--color-success);\n border-radius: var(--radius-full);\n }\n .enabled-badge {\n color: var(--color-success);\n font-weight: 500;\n }\n .disabled-badge {\n color: var(--color-muted);\n font-weight: 500;\n }\n .plugins-table-container {\n overflow-x: auto;\n }\n .table {\n width: 100%;\n border-collapse: collapse;\n }\n .table th,\n .table td {\n padding: 0.75rem 1rem;\n text-align: left;\n border-bottom: 1px solid var(--color-border);\n }\n .table th {\n font-weight: 600;\n color: var(--color-text);\n background: var(--color-surface);\n }\n .plugin-row:hover {\n background: var(--color-background);\n }\n .plugin-name {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n }\n .plugin-name strong {\n font-weight: 500;\n }\n .plugin-description {\n font-size: 0.75rem;\n color: var(--color-muted);\n }\n .status-badge {\n display: inline-flex;\n align-items: center;\n padding: 0.25rem 0.5rem;\n border-radius: var(--radius-full);\n font-size: 0.6875rem;\n font-weight: 600;\n text-transform: uppercase;\n }\n .status-active {\n background: var(--color-success-soft);\n color: var(--color-success);\n }\n .status-installed {\n background: var(--color-primary-soft);\n color: var(--color-primary);\n }\n .status-inactive {\n background: var(--color-muted-soft);\n color: var(--color-muted);\n }\n .status-quarantined {\n background: var(--color-warning-soft);\n color: var(--color-warning);\n }\n .status-missing {\n background: var(--color-error-soft);\n color: var(--color-error);\n }\n .status-load-failed {\n background: var(--color-error-soft);\n color: var(--color-error);\n }\n .btn-loading {\n opacity: 0.6;\n cursor: wait;\n }\n .empty-state {\n padding: 2rem;\n text-align: center;\n color: var(--color-muted);\n }\n .alert {\n padding: 0.75rem 1rem;\n border-radius: var(--radius-md);\n margin-bottom: 1rem;\n }\n .alert-error {\n background: var(--color-error-soft);\n color: var(--color-error);\n border: 1px solid var(--color-error);\n }\n .skeleton {\n padding: 2rem;\n text-align: center;\n color: var(--color-muted);\n }\n </style></div>"
|
|
17
|
+
];
|
|
18
|
+
var _tmpl$2 = [
|
|
19
|
+
"<div",
|
|
20
|
+
" class=\"alert alert-error\">",
|
|
21
|
+
"</div>"
|
|
22
|
+
];
|
|
23
|
+
var _tmpl$3 = ["<div", " class=\"skeleton\">Loading...</div>"];
|
|
24
|
+
var _tmpl$4 = [
|
|
25
|
+
"<div",
|
|
26
|
+
" class=\"plugins-table-container\"><table class=\"table\"><thead><tr><th>",
|
|
27
|
+
"</th><th>",
|
|
28
|
+
"</th><th>",
|
|
29
|
+
"</th><th>",
|
|
30
|
+
"</th><th>",
|
|
31
|
+
"</th></tr></thead><tbody>",
|
|
32
|
+
"</tbody></table><!--$-->",
|
|
33
|
+
"<!--/--></div>"
|
|
34
|
+
];
|
|
35
|
+
var _tmpl$5 = [
|
|
36
|
+
"<div",
|
|
37
|
+
" class=\"tenant-selector-bar\"><label><!--$-->",
|
|
38
|
+
"<!--/-->: </label><select",
|
|
39
|
+
"><option value>",
|
|
40
|
+
"</option><!--$-->",
|
|
41
|
+
"<!--/--></select><button class=\"btn btn-sm\">",
|
|
42
|
+
"</button></div>"
|
|
43
|
+
];
|
|
44
|
+
var _tmpl$6 = [
|
|
45
|
+
"<option",
|
|
46
|
+
"><!--$-->",
|
|
47
|
+
"<!--/--> (<!--$-->",
|
|
48
|
+
"<!--/-->)</option>"
|
|
49
|
+
];
|
|
50
|
+
var _tmpl$7 = [
|
|
51
|
+
"<tr",
|
|
52
|
+
" class=\"plugin-row\"><td class=\"plugin-name\"><strong>",
|
|
53
|
+
"</strong><!--$-->",
|
|
54
|
+
"<!--/--><!--$-->",
|
|
55
|
+
"<!--/--></td><td>",
|
|
56
|
+
"</td><td><span class=\"",
|
|
57
|
+
"\">",
|
|
58
|
+
"</span></td><td>",
|
|
59
|
+
"</td><td><button class=\"",
|
|
60
|
+
"\"",
|
|
61
|
+
">",
|
|
62
|
+
"</button></td></tr>"
|
|
63
|
+
];
|
|
64
|
+
var _tmpl$8 = [
|
|
65
|
+
"<span",
|
|
66
|
+
" class=\"plugin-description\">",
|
|
67
|
+
"</span>"
|
|
68
|
+
];
|
|
69
|
+
var _tmpl$9 = [
|
|
70
|
+
"<span",
|
|
71
|
+
" class=\"badge-enabled\">",
|
|
72
|
+
"</span>"
|
|
73
|
+
];
|
|
74
|
+
var _tmpl$0 = [
|
|
75
|
+
"<span",
|
|
76
|
+
" class=\"enabled-badge\">",
|
|
77
|
+
"</span>"
|
|
78
|
+
];
|
|
79
|
+
var _tmpl$1 = [
|
|
80
|
+
"<span",
|
|
81
|
+
" class=\"disabled-badge\">",
|
|
82
|
+
"</span>"
|
|
83
|
+
];
|
|
84
|
+
var _tmpl$10 = [
|
|
85
|
+
"<div",
|
|
86
|
+
" class=\"empty-state\">",
|
|
87
|
+
"</div>"
|
|
88
|
+
];
|
|
89
|
+
function PluginManager() {
|
|
90
|
+
const { t } = useTranslation();
|
|
91
|
+
const [plugins, setPlugins] = createSignal([]);
|
|
92
|
+
const [loading, setLoading] = createSignal(true);
|
|
93
|
+
const [error, setError] = createSignal(null);
|
|
94
|
+
const [toggling, setToggling] = createSignal(null);
|
|
95
|
+
const [tenantId, setTenantId] = createSignal(null);
|
|
96
|
+
const [tenants, setTenants] = createSignal([]);
|
|
97
|
+
const [showTenantSelector, setShowTenantSelector] = createSignal(false);
|
|
98
|
+
onMount(async () => {
|
|
99
|
+
await loadPlugins();
|
|
100
|
+
});
|
|
101
|
+
async function loadPlugins() {
|
|
102
|
+
try {
|
|
103
|
+
setLoading(true);
|
|
104
|
+
const data = await apiClient.getPlugins();
|
|
105
|
+
setPlugins(data);
|
|
106
|
+
} catch {
|
|
107
|
+
setError(t("plugins.loadError"));
|
|
108
|
+
} finally {
|
|
109
|
+
setLoading(false);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
const isActive = (plugin) => plugin.enabled === true;
|
|
113
|
+
const getStatusLabel = (status) => {
|
|
114
|
+
switch (status) {
|
|
115
|
+
case "ACTIVE":
|
|
116
|
+
case "ACTIVATED": return t("plugins.status.active");
|
|
117
|
+
case "INSTALLED": return t("plugins.status.installed");
|
|
118
|
+
case "INACTIVE":
|
|
119
|
+
case "DEACTIVATED": return t("plugins.status.inactive");
|
|
120
|
+
case "QUARANTINED": return t("plugins.status.quarantined");
|
|
121
|
+
case "MISSING": return t("plugins.status.missing");
|
|
122
|
+
case "LOAD_FAILED": return t("plugins.status.loadFailed");
|
|
123
|
+
default: return status;
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
const getStatusClass = (status) => {
|
|
127
|
+
switch (status) {
|
|
128
|
+
case "ACTIVE":
|
|
129
|
+
case "ACTIVATED": return "status-active";
|
|
130
|
+
case "INSTALLED": return "status-installed";
|
|
131
|
+
case "INACTIVE":
|
|
132
|
+
case "DEACTIVATED": return "status-inactive";
|
|
133
|
+
case "QUARANTINED": return "status-quarantined";
|
|
134
|
+
case "MISSING": return "status-missing";
|
|
135
|
+
case "LOAD_FAILED": return "status-load-failed";
|
|
136
|
+
default: return "";
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
return ssr(_tmpl$, ssrHydrationKey(), escape(t("plugins.directoryHint")), error() && ssr(_tmpl$2, ssrHydrationKey(), escape(error())), loading() && _tmpl$3[0] + ssrHydrationKey() + _tmpl$3[1], !loading() && !error() && escape([showTenantSelector() && ssr(_tmpl$5, ssrHydrationKey(), escape(t("plugins.selectTenant")), ssrAttribute("value", escape(tenantId() ?? "", true), false), escape(t("plugins.selectTenantPlaceholder")), escape(createComponent(For, {
|
|
140
|
+
get each() {
|
|
141
|
+
return tenants();
|
|
142
|
+
},
|
|
143
|
+
children: (t) => ssr(_tmpl$6, ssrHydrationKey() + ssrAttribute("value", escape(t.id, true), false), escape(t.name), escape(t.id))
|
|
144
|
+
})), escape(t("plugins.hideSelector"))), ssr(_tmpl$4, ssrHydrationKey(), escape(t("plugins.columns.name")), escape(t("plugins.columns.version")), escape(t("plugins.columns.status")), escape(t("plugins.columns.enabled")), escape(t("plugins.columns.actions")), escape(createComponent(For, {
|
|
145
|
+
get each() {
|
|
146
|
+
return plugins();
|
|
147
|
+
},
|
|
148
|
+
children: (plugin) => ssr(_tmpl$7, ssrHydrationKey(), escape(plugin.name), plugin.manifest?.description && ssr(_tmpl$8, ssrHydrationKey(), escape(plugin.manifest.description)), plugin.enabled && ssr(_tmpl$9, ssrHydrationKey(), escape(t("plugins.enabledForTenant"))), escape(plugin.version), `status-badge ${escape(getStatusClass(plugin.status), true)}`, escape(getStatusLabel(plugin.status)), plugin.enabled ? ssr(_tmpl$0, ssrHydrationKey(), escape(t("plugins.enabledYes"))) : ssr(_tmpl$1, ssrHydrationKey(), escape(t("plugins.enabledNo"))), `btn btn-sm ${toggling() === plugin.id ? "btn-loading" : ""}`, ssrAttribute("disabled", toggling() !== null || !tenantId(), true) + ssrAttribute("aria-label", isActive(plugin) ? escape(t("plugins.deactivate"), true) : escape(t("plugins.activate"), true), false), isActive(plugin) ? escape(t("plugins.deactivate")) : escape(t("plugins.activate")))
|
|
149
|
+
})), plugins().length === 0 && ssr(_tmpl$10, ssrHydrationKey(), escape(t("plugins.empty"))))]));
|
|
150
|
+
}
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region src/pages/plugins.astro
|
|
153
|
+
var plugins_exports = /* @__PURE__ */ __exportAll({
|
|
154
|
+
default: () => $$Plugins,
|
|
155
|
+
file: () => $$file,
|
|
156
|
+
url: () => $$url
|
|
157
|
+
});
|
|
158
|
+
createAstro("https://astro.build");
|
|
159
|
+
var $$Plugins = createComponent$1(($$result, $$props, $$slots) => {
|
|
160
|
+
const Astro = $$result.createAstro($$props, $$slots);
|
|
161
|
+
Astro.self = $$Plugins;
|
|
162
|
+
const { t } = Astro.locals;
|
|
163
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("plugins.title") }, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
164
|
+
"title": t("plugins.title"),
|
|
165
|
+
"description": t("plugins.description")
|
|
166
|
+
})}${renderComponent($$result, "PluginManager", PluginManager, {
|
|
167
|
+
"client:load": true,
|
|
168
|
+
"client:component-hydration": "load",
|
|
169
|
+
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/plugins/PluginManager.tsx",
|
|
170
|
+
"client:component-export": "PluginManager"
|
|
171
|
+
})}` })}`;
|
|
172
|
+
}, "/home/runner/work/cms/cms/apps/admin/src/pages/plugins.astro", void 0);
|
|
173
|
+
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/plugins.astro";
|
|
174
|
+
var $$url = "/plugins";
|
|
175
|
+
//#endregion
|
|
176
|
+
//#region \0virtual:astro:page:src/pages/plugins@_@astro
|
|
177
|
+
var page = () => plugins_exports;
|
|
178
|
+
//#endregion
|
|
179
|
+
export { page };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
7
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
import { For, Show, createMemo, createSignal, onMount } from "solid-js";
|
|
@@ -50,7 +50,6 @@ var dashboard = {
|
|
|
50
50
|
"mediaDesc": "Arquivos na biblioteca",
|
|
51
51
|
"users": "Usuários",
|
|
52
52
|
"usersDesc": "Total / Ativos / Inativos",
|
|
53
|
-
"version": "Versão",
|
|
54
53
|
"storage": "Armazenamento",
|
|
55
54
|
"quickDraft": {
|
|
56
55
|
"title": "Rascunho rápido",
|
|
@@ -421,12 +420,16 @@ var plugins = {
|
|
|
421
420
|
"name": "Nome",
|
|
422
421
|
"version": "Versão",
|
|
423
422
|
"status": "Status",
|
|
423
|
+
"enabled": "Ativo no tenant",
|
|
424
424
|
"actions": "Ações"
|
|
425
425
|
},
|
|
426
426
|
"status": {
|
|
427
427
|
"active": "Ativo",
|
|
428
428
|
"installed": "Instalado",
|
|
429
|
-
"inactive": "Inativo"
|
|
429
|
+
"inactive": "Inativo",
|
|
430
|
+
"quarantined": "Em quarentena",
|
|
431
|
+
"missing": "Ausente",
|
|
432
|
+
"loadFailed": "Falha ao carregar"
|
|
430
433
|
},
|
|
431
434
|
"activate": "Ativar",
|
|
432
435
|
"deactivate": "Desativar",
|
|
@@ -441,7 +444,13 @@ var plugins = {
|
|
|
441
444
|
"deactivateError": "Não foi possível desativar o plugin.",
|
|
442
445
|
"installError": "Não foi possível instalar o plugin.",
|
|
443
446
|
"uninstallError": "Não foi possível desinstalar o plugin.",
|
|
444
|
-
"empty": "Nenhum plugin instalado."
|
|
447
|
+
"empty": "Nenhum plugin instalado.",
|
|
448
|
+
"selectTenant": "Selecionar tenant",
|
|
449
|
+
"selectTenantPlaceholder": "Escolha um tenant para ativar/desativar",
|
|
450
|
+
"hideSelector": "Ocultar seletor",
|
|
451
|
+
"enabledForTenant": "Ativo para este tenant",
|
|
452
|
+
"enabledYes": "Sim",
|
|
453
|
+
"enabledNo": "Não"
|
|
445
454
|
};
|
|
446
455
|
var themes = {
|
|
447
456
|
"title": "Temas",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
7
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
|
|
8
8
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, p as addAttribute, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
7
7
|
import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
7
7
|
import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
@@ -149,7 +149,12 @@ function ThemeManager() {
|
|
|
149
149
|
setError(null);
|
|
150
150
|
try {
|
|
151
151
|
setLoading(true);
|
|
152
|
-
|
|
152
|
+
let data;
|
|
153
|
+
try {
|
|
154
|
+
data = await apiClient.syncThemes();
|
|
155
|
+
} catch {
|
|
156
|
+
data = await apiClient.getThemes();
|
|
157
|
+
}
|
|
153
158
|
setThemes(data);
|
|
154
159
|
} catch {
|
|
155
160
|
setError(t("themes.loadError"));
|
|
@@ -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 "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.mjs";
|
|
5
5
|
import { t as PageHeader } from "./PageHeader_CBOioOjo.mjs";
|
|
6
|
-
import { t as MediaLibrary } from "./
|
|
6
|
+
import { t as MediaLibrary } from "./MediaLibrary_tpZAEUHh.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 "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_k88p-B6j.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_CGggEut2.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";
|