@oktis-works/admin 0.18.11 → 0.18.12
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.DV-Yon7p.js → ActivityWidget.9T9D1Dwq.js} +1 -1
- package/dist/client/_astro/{AdminBar.Dm3GpaQl.js → AdminBar.uZX_VBFr.js} +1 -1
- package/dist/client/_astro/{ApiKeysManager.CtY1DHqd.js → ApiKeysManager.BeZosAcl.js} +1 -1
- package/dist/client/_astro/{AtGlanceWidget.Ciyjw2Id.js → AtGlanceWidget.B6FKmL7A.js} +1 -1
- package/dist/client/_astro/{CommentsManager.wVxnD0Z7.js → CommentsManager.9iktJziN.js} +1 -1
- package/dist/client/_astro/ContentEditor.BqDPU74P.js +1 -0
- package/dist/client/_astro/{ContentEditor.BLnb57c2.js → ContentEditor.DVKohXM-.js} +1 -1
- package/dist/client/_astro/{ContentTypeWorkspace.GN5kVKl-.js → ContentTypeWorkspace.DqoBUPpT.js} +1 -1
- package/dist/client/_astro/{DashboardHome.Bk4hNhDD.js → DashboardHome.CBTZuAbN.js} +1 -1
- package/dist/client/_astro/{DashboardLayout.astro_astro_type_script_index_0_lang.CMB5qqQr.js → DashboardLayout.astro_astro_type_script_index_0_lang.DOO3N2Vq.js} +1 -1
- package/dist/client/_astro/{FieldGroupEditor.CpTKxcA0.js → FieldGroupEditor.DBT985JP.js} +1 -1
- package/dist/client/_astro/{FieldGroupList.Cj_amiKX.js → FieldGroupList.DwHwSB-m.js} +1 -1
- package/dist/client/_astro/{FieldRenderer.2TxRD88c.js → FieldRenderer.BxkMD5Kl.js} +1 -1
- package/dist/client/_astro/{Footer.DQQ6z6XW.js → Footer.ZmhGZsX_.js} +1 -1
- package/dist/client/_astro/{GeneralSettings.2hyaHNrF.js → GeneralSettings.B1f0Zpzs.js} +1 -1
- package/dist/client/_astro/{LogsManager.BZXGpQse.js → LogsManager.VmsL1Y_c.js} +1 -1
- package/dist/client/_astro/{MediaLibrary.Rw1m_CB-.js → MediaLibrary.BPA5KcoT.js} +1 -1
- package/dist/client/_astro/{MenuManager.DVHA0RKj.js → MenuManager.-kATOHiC.js} +1 -1
- package/dist/client/_astro/{Modal.BMDQ32Vm.js → Modal.6YIPt-vQ.js} +1 -1
- package/dist/client/_astro/{PluginManager.D4W_VjDw.js → PluginManager.ezr27PG_.js} +1 -1
- package/dist/client/_astro/{PostTypesManager.EDg1_oER.js → PostTypesManager.D4rhu5qf.js} +1 -1
- package/dist/client/_astro/{QuickDraftWidget.MqF8DH8u.js → QuickDraftWidget.tEoK6vHH.js} +1 -1
- package/dist/client/_astro/ReadingSettings.DhOrS6ps.js +1 -0
- package/dist/client/_astro/{ResourceHubs.DzOuVqtT.js → ResourceHubs.Bjng1UYH.js} +1 -1
- package/dist/client/_astro/{TaxonomiesManager.M_jyFMx-.js → TaxonomiesManager.C12F1EN1.js} +1 -1
- package/dist/client/_astro/{TaxonomyTermsManager.D8BNcL-n.js → TaxonomyTermsManager.2V-JSC-7.js} +1 -1
- package/dist/client/_astro/{ThemeCustomizer.BYxMTYku.js → ThemeCustomizer.CGY-3Jl4.js} +1 -1
- package/dist/client/_astro/{ThemeManager.022zmvuq.js → ThemeManager.D28v1eyx.js} +1 -1
- package/dist/client/_astro/{UserCreateForm.DsRCyCaw.js → UserCreateForm.Bh_H8pJN.js} +1 -1
- package/dist/client/_astro/{UsersManager.DDM1KsrH.js → UsersManager.Ds7__cY5.js} +1 -1
- package/dist/client/_astro/{WebhooksManager.C5c-4QkO.js → WebhooksManager.2IVxZFIV.js} +1 -1
- package/dist/client/_astro/api.53l1ob4Z.js +1 -0
- package/dist/client/_astro/{extensions.EzvpwBZm.js → extensions.DzQcQsO9.js} +1 -1
- package/dist/client/_astro/{i18n.BaIQI51M.js → i18n.DnYRsWBJ.js} +1 -1
- package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.BUOUZuDy.js → login.astro_astro_type_script_index_0_lang.BLf2Iun3.js} +1 -1
- package/dist/client/_astro/{store.DJjOMYcw.js → store.DLCqLxBR.js} +1 -1
- package/dist/server/chunks/{404_DCkffXdI.mjs → 404_B7WrzU6-.mjs} +1 -1
- package/dist/server/chunks/{BaseLayout_DOyalA_Z.mjs → BaseLayout_C5hVErkT.mjs} +1 -1
- package/dist/server/chunks/{ContentEditor_BSvf4G4I.mjs → ContentEditor_DuCm4Nq0.mjs} +3 -3
- package/dist/server/chunks/{DashboardLayout_BesGkg8x.mjs → DashboardLayout_zPLaqijG.mjs} +4 -4
- package/dist/server/chunks/{FieldRenderer_BKJEUBTg.mjs → FieldRenderer_wCfoDKAK.mjs} +2 -2
- package/dist/server/chunks/{MediaLibrary_DyzK9G0H.mjs → MediaLibrary_DckNSpxK.mjs} +2 -2
- package/dist/server/chunks/{Modal_FLUnfP_J.mjs → Modal_CkrRnNzN.mjs} +1 -1
- package/dist/server/chunks/{_id__Bh6THYzH.mjs → _id__Cid2ihMr.mjs} +2 -2
- package/dist/server/chunks/{_slug__B2nTQAhL.mjs → _slug__DQhr-PR9.mjs} +1 -1
- package/dist/server/chunks/{access_D_aepII2.mjs → access_D98NXnJw.mjs} +3 -3
- package/dist/server/chunks/{api-keys_B3-ICOoE.mjs → api-keys_CNz1sAxG.mjs} +3 -3
- package/dist/server/chunks/{comments_5MUWw0P2.mjs → comments_mKtf5wL3.mjs} +2 -2
- package/dist/server/chunks/{custom-fields_Dk71dT1h.mjs → custom-fields_BEJrom4A.mjs} +2 -2
- package/dist/server/chunks/{customize_DwIi-W_t.mjs → customize_CoBf7Hw7.mjs} +2 -2
- package/dist/server/chunks/{edit_DOg1EEca.mjs → edit_DgblhnSh.mjs} +2 -2
- package/dist/server/chunks/{i18n_CZ3i_9vb.mjs → i18n_RELfVLel.mjs} +13 -6
- package/dist/server/chunks/{index_BfPkAawt.mjs → index_B_u7MHG-.mjs} +3 -3
- package/dist/server/chunks/{index_CebXWxUy.mjs → index_CQdTY3pv.mjs} +2 -2
- package/dist/server/chunks/{index_AT3fCjf5.mjs → index_CRB-MKoO.mjs} +2 -2
- package/dist/server/chunks/{index_BFnAgSbu.mjs → index_CX5R4u1g.mjs} +2 -2
- package/dist/server/chunks/{general_B2KHJBui.mjs → index_DpsZoZYd.mjs} +21 -16
- package/dist/server/chunks/{login_bBaiUga-.mjs → login_2BWJOa87.mjs} +1 -1
- package/dist/server/chunks/{logs_DY8xbR0r.mjs → logs_CHXEBgkX.mjs} +2 -2
- package/dist/server/chunks/{menus_DxKZJDAL.mjs → menus_BL4DATs8.mjs} +2 -2
- package/dist/server/chunks/{new_ClC1Fdxb.mjs → new_DRET_jKp.mjs} +2 -2
- package/dist/server/chunks/{new_C_sqk3tx.mjs → new_hqPVCyHC.mjs} +2 -2
- package/dist/server/chunks/{plugins_Dq8kJi5M.mjs → plugins_C3myHGry.mjs} +2 -2
- package/dist/server/chunks/{post-types_Br7PWPh1.mjs → post-types_Tm5vm5F7.mjs} +2 -2
- package/dist/server/chunks/{reading__MsvKzIs.mjs → reading_DmAgAwSj.mjs} +3 -2
- package/dist/server/chunks/{taxonomies_DeS5HEWb.mjs → taxonomies_DWu-9D3Y.mjs} +2 -2
- package/dist/server/chunks/{taxonomy_CFv6b04N.mjs → taxonomy_6hKTQtm4.mjs} +3 -3
- package/dist/server/chunks/{themes_BgiFj9te.mjs → themes_DKRgsVRv.mjs} +2 -2
- package/dist/server/chunks/{upload_BIBtp5lB.mjs → upload_D0-5tyLq.mjs} +2 -2
- package/dist/server/chunks/{webhooks_pz7GbXLT.mjs → webhooks_BrxZ97OA.mjs} +2 -2
- package/dist/server/entry.mjs +38 -69
- package/dist/server/virtual_astro_middleware.mjs +1 -1
- package/package.json +1 -1
- package/dist/client/_astro/ContentEditor.CIs4OkBl.js +0 -1
- package/dist/client/_astro/ReadingSettings.B9ueLzXc.js +0 -1
- package/dist/client/_astro/api.B03e8F6d.js +0 -1
- package/dist/server/chunks/index_BRhMSfAL.mjs +0 -32
|
@@ -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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
7
7
|
import { t as FloatingPanel } from "./FloatingPanel_BtB-nNBT.mjs";
|
|
8
8
|
import { t as FbIcon } from "./FbIcon_7YixzwO3.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, p as addAttribute, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
5
5
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
6
6
|
//#region src/pages/plugins/[slug].astro
|
|
7
7
|
var _slug__exports = /* @__PURE__ */ __exportAll({
|
|
@@ -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 "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
7
|
-
import { t as Modal } from "./
|
|
7
|
+
import { t as Modal } from "./Modal_CkrRnNzN.mjs";
|
|
8
8
|
import { t as FloatingPanel } from "./FloatingPanel_BtB-nNBT.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 "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
7
|
-
import { t as Modal } from "./
|
|
7
|
+
import { t as Modal } from "./Modal_CkrRnNzN.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.jsx
|
|
@@ -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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as FbIcon } from "./FbIcon_7YixzwO3.mjs";
|
|
7
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
import { For, Show, createMemo, createSignal, onMount } from "solid-js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.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 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
5
5
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
6
|
-
import { t as ContentEditor } from "./
|
|
6
|
+
import { t as ContentEditor } from "./ContentEditor_DuCm4Nq0.mjs";
|
|
7
7
|
//#region src/pages/content/[type]/edit.astro
|
|
8
8
|
var edit_exports = /* @__PURE__ */ __exportAll({
|
|
9
9
|
default: () => $$Edit,
|
|
@@ -395,12 +395,19 @@ var ApiClient = class {
|
|
|
395
395
|
const csrf = await this.ensureCsrfToken();
|
|
396
396
|
if (csrf) requestHeaders["x-csrf-token"] = csrf;
|
|
397
397
|
}
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
398
|
+
const controller = new AbortController();
|
|
399
|
+
const timeoutId = setTimeout(() => controller.abort(), 3e4);
|
|
400
|
+
try {
|
|
401
|
+
return await fetch(url, {
|
|
402
|
+
method,
|
|
403
|
+
headers: requestHeaders,
|
|
404
|
+
credentials: "include",
|
|
405
|
+
body: options?.bodyInit ?? (body !== void 0 ? JSON.stringify(body) : void 0),
|
|
406
|
+
signal: controller.signal
|
|
407
|
+
});
|
|
408
|
+
} finally {
|
|
409
|
+
clearTimeout(timeoutId);
|
|
410
|
+
}
|
|
404
411
|
};
|
|
405
412
|
let response = await send();
|
|
406
413
|
if (response.status === 401 && !options?.skipRefresh && !path.includes("/auth/refresh") && !path.includes("/auth/logout")) {
|
|
@@ -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 "./
|
|
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 "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_RELfVLel.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_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
7
|
-
import { t as ContentEditor } from "./
|
|
7
|
+
import { t as ContentEditor } from "./ContentEditor_DuCm4Nq0.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 "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
5
5
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
6
|
-
import { t as MediaLibrary } from "./
|
|
6
|
+
import { t as MediaLibrary } from "./MediaLibrary_DckNSpxK.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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.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.jsx
|
|
@@ -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 { 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 "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_RELfVLel.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_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
7
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
//#region src/components/apps/users/UsersManager.jsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
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";
|
|
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 "./
|
|
5
|
-
import { _ as createMemo, c as Button, d as Input, h as Show2, l as Card, m as Select, t as $$DashboardLayout, v as createSignal, y as onMount } from "./
|
|
4
|
+
import { a as LOCALE_LABELS, i as LOCALE_FLAGS, n as useTranslation, o as SUPPORTED_LOCALES, r as apiClient } from "./i18n_RELfVLel.mjs";
|
|
5
|
+
import { _ as createMemo, c as Button, d as Input, h as Show2, l as Card, m as Select, t as $$DashboardLayout, v as createSignal, y as onMount } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
7
7
|
import { t as TimezoneSelect } from "./TimezoneSelect_Cj-oxeeA.mjs";
|
|
8
8
|
import { createComponent, escape, memo, ssr, ssrHydrationKey } from "solid-js/web";
|
|
@@ -186,31 +186,36 @@ function GeneralSettings() {
|
|
|
186
186
|
})));
|
|
187
187
|
}
|
|
188
188
|
//#endregion
|
|
189
|
-
//#region src/pages/settings/
|
|
190
|
-
var
|
|
191
|
-
default: () => $$
|
|
189
|
+
//#region src/pages/settings/index.astro
|
|
190
|
+
var settings_exports = /* @__PURE__ */ __exportAll({
|
|
191
|
+
default: () => $$Index,
|
|
192
192
|
file: () => $$file,
|
|
193
193
|
url: () => $$url
|
|
194
194
|
});
|
|
195
195
|
createAstro("https://astro.build");
|
|
196
|
-
var $$
|
|
196
|
+
var $$Index = createComponent$1(($$result, $$props, $$slots) => {
|
|
197
197
|
const Astro = $$result.createAstro($$props, $$slots);
|
|
198
|
-
Astro.self = $$
|
|
198
|
+
Astro.self = $$Index;
|
|
199
199
|
const { t } = Astro.locals;
|
|
200
|
-
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
200
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
201
201
|
"title": t("settings.general.title"),
|
|
202
|
-
"
|
|
202
|
+
"data-astro-cid-pvy7orjg": true
|
|
203
|
+
}, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PageHeader", PageHeader, {
|
|
204
|
+
"title": t("settings.general.title"),
|
|
205
|
+
"description": t("settings.general.description"),
|
|
206
|
+
"data-astro-cid-pvy7orjg": true
|
|
203
207
|
})}${renderComponent($$result, "GeneralSettings", GeneralSettings, {
|
|
204
208
|
"client:load": true,
|
|
209
|
+
"data-astro-cid-pvy7orjg": true,
|
|
205
210
|
"client:component-hydration": "load",
|
|
206
211
|
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/settings/GeneralSettings.jsx",
|
|
207
212
|
"client:component-export": "GeneralSettings"
|
|
208
|
-
})}
|
|
209
|
-
}, "/home/runner/work/cms/cms/apps/admin/src/pages/settings/
|
|
210
|
-
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/settings/
|
|
211
|
-
var $$url = "/settings
|
|
213
|
+
})}${maybeRenderHead($$result)}<div class="settings-cards" data-astro-cid-pvy7orjg><a class="card settings-card" href="/settings/post-types" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("settings.postTypes.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("settings.postTypes.description")}</p></a><a class="card settings-card" href="/settings/taxonomies" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("settings.taxonomies.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("settings.taxonomies.description")}</p></a><a class="card settings-card" href="/settings/custom-fields" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("settings.customFields.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("settings.customFields.description")}</p></a><a class="card settings-card" href="/settings/reading" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("settings.reading.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("settings.reading.description")}</p></a><a class="card settings-card" href="/settings/access" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("access.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("access.description")}</p></a><a class="card settings-card" href="/settings/logs" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("logs.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("logs.description")}</p></a><a class="card settings-card" href="/settings/webhooks" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("webhooks.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("webhooks.description")}</p></a><a class="card settings-card" href="/settings/api-keys" data-astro-cid-pvy7orjg><h3 data-astro-cid-pvy7orjg>${t("apiKeys.title")}</h3><p class="muted" data-astro-cid-pvy7orjg>${t("apiKeys.description")}</p></a></div>` })}`;
|
|
214
|
+
}, "/home/runner/work/cms/cms/apps/admin/src/pages/settings/index.astro", void 0);
|
|
215
|
+
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/settings/index.astro";
|
|
216
|
+
var $$url = "/settings";
|
|
212
217
|
//#endregion
|
|
213
|
-
//#region \0virtual:astro:page:src/pages/settings/
|
|
214
|
-
var page = () =>
|
|
218
|
+
//#region \0virtual:astro:page:src/pages/settings/index@_@astro
|
|
219
|
+
var page = () => settings_exports;
|
|
215
220
|
//#endregion
|
|
216
221
|
export { page };
|
|
@@ -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_C5hVErkT.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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.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.jsx
|
|
@@ -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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.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 "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
5
5
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
6
|
-
import { t as ContentEditor } from "./
|
|
6
|
+
import { t as ContentEditor } from "./ContentEditor_DuCm4Nq0.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 "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.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 "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
7
7
|
import { t as FloatingPanel } from "./FloatingPanel_BtB-nNBT.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 "./
|
|
5
|
-
import { c as Button, d as Input, h as Show2, l as Card, m as Select, t as $$DashboardLayout, v as createSignal, y as onMount } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_RELfVLel.mjs";
|
|
5
|
+
import { c as Button, d as Input, h as Show2, l as Card, m as Select, t as $$DashboardLayout, v as createSignal, y as onMount } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
7
7
|
import { t as TimezoneSelect } from "./TimezoneSelect_Cj-oxeeA.mjs";
|
|
8
8
|
import { createComponent, escape, ssr, ssrHydrationKey } from "solid-js/web";
|
|
@@ -86,6 +86,7 @@ function ReadingSettings() {
|
|
|
86
86
|
gmt_offset: map["gmt_offset"] ?? ""
|
|
87
87
|
});
|
|
88
88
|
} catch (err) {
|
|
89
|
+
console.error("[ReadingSettings] Failed to load data:", err);
|
|
89
90
|
setError(err instanceof Error ? err.message : String(err));
|
|
90
91
|
} finally {
|
|
91
92
|
setLoading(false);
|
|
@@ -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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.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 "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
6
|
-
import { n as expandCloneFields, t as FieldRenderer } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
|
+
import { n as expandCloneFields, t as FieldRenderer } from "./FieldRenderer_wCfoDKAK.mjs";
|
|
7
7
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
8
8
|
import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
9
9
|
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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.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 "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
5
5
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
6
|
-
import { t as MediaLibrary } from "./
|
|
6
|
+
import { t as MediaLibrary } from "./MediaLibrary_DckNSpxK.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_RELfVLel.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_zPLaqijG.mjs";
|
|
6
6
|
import { t as PageHeader } from "./PageHeader_CRpzf5xU.mjs";
|
|
7
7
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
import { For, Show, createSignal, onCleanup, onMount } from "solid-js";
|