@oktis-works/admin 0.4.20 → 0.4.23
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.BbEtaaM-.js → ActivityWidget.DaftIB1V.js} +2 -2
- package/dist/client/_astro/AdminBar.B-diRxPt.js +253 -0
- package/dist/client/_astro/{AtGlanceWidget.C1hpeDlx.js → AtGlanceWidget.q_xwhOJa.js} +3 -3
- package/dist/client/_astro/BaseLayout.sayhdG_g.css +1 -0
- package/dist/client/_astro/ContentEditor.B1b1Ixz0.js +3 -0
- package/dist/client/_astro/ContentEditor.DGTZ51kU.js +1 -0
- package/dist/client/_astro/ContentTypeWorkspace.CFzwh3Rc.js +1 -0
- package/dist/client/_astro/CustomFieldsManager.DqCE6rSX.js +5 -0
- package/dist/client/_astro/DashboardHome.HrqKA0mK.js +1 -0
- package/dist/client/_astro/DashboardLayout.astro_astro_type_script_index_0_lang.sBNUxHjt.js +1 -0
- package/dist/client/_astro/{DashboardLayout.CGou4voc.css → DashboardLayout.cOPI1C7I.css} +1 -1
- package/dist/client/_astro/{Footer.rUGgtlfI.js → Footer.nQEKIcjo.js} +2 -2
- package/dist/client/_astro/GeneralSettings.C5lXnnvB.js +1 -0
- package/dist/client/_astro/LogsManager.BSXD0gFG.js +1 -0
- package/dist/client/_astro/MediaLibrary.9tlXDGsx.js +1 -0
- package/dist/client/_astro/MenuManager.CfLmtMhF.js +1 -0
- package/dist/client/_astro/PluginManager.Ba2R7ZVx.js +98 -0
- package/dist/client/_astro/PostTypesManager.DqbyhhLF.js +1 -0
- package/dist/client/_astro/QuickDraftWidget.J5LOLOY3.js +17 -0
- package/dist/client/_astro/ResourceHubs.sI10AY3z.js +1 -0
- package/dist/client/_astro/TaxonomiesManager.BFd3zjNe.js +1 -0
- package/dist/client/_astro/TaxonomyTermsManager.C7ClYXtt.js +1 -0
- package/dist/client/_astro/ThemeManager.C4t-yZay.js +129 -0
- package/dist/client/_astro/UserCreateForm.B-7pKOO6.js +1 -0
- package/dist/client/_astro/UsersManager.aI6-3vtM.js +1 -0
- package/dist/client/_astro/WebhooksManager.C3E91U9V.js +1 -0
- package/dist/client/_astro/api.DSIz0zxF.js +1 -0
- package/dist/client/_astro/ar.9BcNkJMI.js +1 -0
- package/dist/client/_astro/client.BDaUmf7m.js +1 -0
- package/dist/client/_astro/custom-fields.pl-GPt9A.css +1 -0
- package/dist/client/_astro/dist.BqeNZlzo.js +1 -0
- package/dist/client/_astro/es-ES.DgqDFCmG.js +1 -0
- package/dist/client/_astro/extensions.BD4YTWQq.js +1 -0
- package/dist/client/_astro/he.11dIJHQw.js +1 -0
- package/dist/client/_astro/i18n.Tk18hqHh.js +1 -0
- package/dist/client/_astro/it.yCdgk3Xj.js +1 -0
- package/dist/client/_astro/ja.BIm7Hwe_.js +1 -0
- package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.O-AlzgHd.js → login.astro_astro_type_script_index_0_lang.CJiWhdn-.js} +1 -1
- package/dist/client/_astro/lucide.DlU56wZ1.js +4 -0
- package/dist/client/_astro/pl.dUwrcITB.js +1 -0
- package/dist/client/_astro/pt-BR.BvjbjXKW.js +1 -0
- package/dist/client/_astro/rolldown-runtime.BpQH8Ho1.js +1 -0
- package/dist/client/_astro/ru.lmDiQaSu.js +1 -0
- package/dist/client/_astro/solid.TEtyrbLc.js +1 -0
- package/dist/client/_astro/sw._qHdoFbp.js +1 -0
- package/dist/client/_astro/tr.Do-lr98T.js +1 -0
- package/dist/client/_astro/uk.DTUX-N1c.js +1 -0
- package/dist/client/_astro/{version.BQq07lEn.js → version.Cvcb-3YL.js} +1 -1
- package/dist/client/_astro/web.C8wWxyYF.js +1 -0
- package/dist/client/_astro/yo.BIYG0J7I.js +1 -0
- package/dist/client/_astro/zh-CN.C7Iod1E1.js +1 -0
- package/dist/server/chunks/{ContentEditor_DS7flRjR.mjs → ContentEditor_Bz6HNlOl.mjs} +11 -31
- package/dist/server/chunks/{DashboardLayout_09DepSVn.mjs → DashboardLayout_DnvPikNH.mjs} +42 -17
- package/dist/server/chunks/MediaLibrary_CfwJY7WG.mjs +466 -0
- package/dist/server/chunks/{_slug__l8CTaLpP.mjs → _slug__Bf1zTrrT.mjs} +1 -1
- package/dist/server/chunks/access_Iqz1YRc2.mjs +138 -0
- package/dist/server/chunks/{ar_B0LfQbpu.mjs → ar_DlCzOUGe.mjs} +22 -2
- package/dist/server/chunks/custom-fields_HXTX5-i-.mjs +1297 -0
- package/dist/server/chunks/{edit_hSCrM2Gq.mjs → edit_ibDxQgfc.mjs} +2 -2
- package/dist/server/chunks/{es-ES_dBEm2FNw.mjs → es-ES_DD40B9Zr.mjs} +22 -2
- package/dist/server/chunks/{general_Ct9MU7b-.mjs → general_VinYjg7Y.mjs} +2 -2
- package/dist/server/chunks/{he_DRWoI1A5.mjs → he_8WSAyM_S.mjs} +22 -2
- package/dist/server/chunks/{i18n_BqFK0MIW.mjs → i18n_BgHPm3Sm.mjs} +337 -57
- package/dist/server/chunks/{index_CBfRX_VO.mjs → index_BIz2E9Ay.mjs} +3 -3
- package/dist/server/chunks/{index_uv0IHg8r.mjs → index_DmY8Cm8s.mjs} +2 -2
- package/dist/server/chunks/{index_DQ5pFuPN.mjs → index_DvyRjH_d.mjs} +2 -2
- package/dist/server/chunks/{index_Cv2j9xC_.mjs → index_WfuyDGIh.mjs} +2 -2
- package/dist/server/chunks/{index_B77wdzK2.mjs → index_kl5K78eg.mjs} +1 -1
- package/dist/server/chunks/{it_BDY3lerP.mjs → it_DEDC6yxf.mjs} +22 -2
- package/dist/server/chunks/{ja_C-EybQiV.mjs → ja_BRQi6rW3.mjs} +22 -2
- package/dist/server/chunks/{login_D-Z6bo6E.mjs → login_s3hMBW1K.mjs} +1 -1
- package/dist/server/chunks/logs_DUQUxzzy.mjs +160 -0
- package/dist/server/chunks/menus_CgKz8KBb.mjs +532 -0
- package/dist/server/chunks/{new_DpJfTahF.mjs → new_CU0A50ce.mjs} +2 -2
- package/dist/server/chunks/{new_XOnqlHm3.mjs → new_CZuza7Tx.mjs} +2 -2
- package/dist/server/chunks/{pl_DH5LKmVG.mjs → pl_CKanAk0F.mjs} +22 -2
- package/dist/server/chunks/plugins_fppkr9jv.mjs +133 -0
- package/dist/server/chunks/{post-types_DziideHh.mjs → post-types_BAWPD3pX.mjs} +2 -2
- package/dist/server/chunks/{pt-BR_CBnqy3xP.mjs → pt-BR_CoM1872j.mjs} +263 -13
- package/dist/server/chunks/{ru_CFa1xYFr.mjs → ru_CuNXt2MB.mjs} +22 -2
- package/dist/server/chunks/{sw_QZf7NSsI.mjs → sw_RLMWPkos.mjs} +22 -2
- package/dist/server/chunks/{taxonomies_Bc6xPaKp.mjs → taxonomies_BACV08DC.mjs} +2 -2
- package/dist/server/chunks/{taxonomy_Cv4_KTTL.mjs → taxonomy_CZLTclnV.mjs} +30 -15
- package/dist/server/chunks/themes_DHNmoF_s.mjs +132 -0
- package/dist/server/chunks/{tr_Fjry5R-K.mjs → tr_Dz8pqyTZ.mjs} +22 -2
- package/dist/server/chunks/{uk_Bxc3qY45.mjs → uk_BjwqlweA.mjs} +22 -2
- package/dist/server/chunks/{upload_CB_L9tkU.mjs → upload_BZgCqIbH.mjs} +2 -2
- package/dist/server/chunks/webhooks_D0qA5-De.mjs +300 -0
- package/dist/server/chunks/{yo_BARL-Qrh.mjs → yo_Dv14KWVR.mjs} +22 -2
- package/dist/server/chunks/{zh-CN_CkjPJL88.mjs → zh-CN_DjIZCWzG.mjs} +22 -2
- package/dist/server/entry.mjs +77 -50
- package/dist/server/virtual_astro_middleware.mjs +1 -1
- package/package.json +1 -1
- package/dist/client/_astro/AdminBar.CU2eba2D.js +0 -253
- package/dist/client/_astro/BaseLayout.Y8xW22CP.css +0 -1
- package/dist/client/_astro/ContentEditor.Bc5Jq8Dv.js +0 -1
- package/dist/client/_astro/ContentEditor.DvpaqJBD.js +0 -3
- package/dist/client/_astro/ContentTypeWorkspace.DakVi21h.js +0 -1
- package/dist/client/_astro/CustomFieldsManager.B7WOTvb7.js +0 -3
- package/dist/client/_astro/DashboardHome.CUfuLLDH.js +0 -1
- package/dist/client/_astro/DashboardLayout.astro_astro_type_script_index_0_lang.Dpnx6U2l.js +0 -4
- package/dist/client/_astro/FieldTypePicker.Cyfzqug-.js +0 -1
- package/dist/client/_astro/GeneralSettings.C4mnJ7P2.js +0 -1
- package/dist/client/_astro/MediaLibrary.2geQYfXB.js +0 -1
- package/dist/client/_astro/PluginManager.D3pm88iu.js +0 -93
- package/dist/client/_astro/PostTypesManager.Cyhr3VEJ.js +0 -1
- package/dist/client/_astro/QuickDraftWidget.CPljoS31.js +0 -17
- package/dist/client/_astro/ResourceHubs.DpCJERsJ.js +0 -1
- package/dist/client/_astro/TaxonomiesManager.P3bc-fnu.js +0 -1
- package/dist/client/_astro/TaxonomyTermsManager.BxP9gwm7.js +0 -1
- package/dist/client/_astro/ThemeManager.3MUOwqex.js +0 -129
- package/dist/client/_astro/UserCreateForm.C3RiEJEa.js +0 -1
- package/dist/client/_astro/UsersManager.DR9XR3FX.js +0 -1
- package/dist/client/_astro/api.25OAsWO0.js +0 -1
- package/dist/client/_astro/ar.CwC9hXB9.js +0 -1
- package/dist/client/_astro/client.W0NY0lEa.js +0 -1
- package/dist/client/_astro/custom-fields.IjuRIdAC.css +0 -1
- package/dist/client/_astro/es-ES.qNcd-cVX.js +0 -1
- package/dist/client/_astro/extensions.Bj86CHnv.js +0 -1
- package/dist/client/_astro/he.DfZ0ZzM-.js +0 -1
- package/dist/client/_astro/i18n.C24_pkIi.js +0 -1
- package/dist/client/_astro/it.PFmLQj2s.js +0 -1
- package/dist/client/_astro/ja.CMi5cD8g.js +0 -1
- package/dist/client/_astro/pl.CRExzLlj.js +0 -1
- package/dist/client/_astro/pt-BR.BPvwNpKR.js +0 -1
- package/dist/client/_astro/ru.CWV-tkZ3.js +0 -1
- package/dist/client/_astro/solid.DN8T1HsY.js +0 -1
- package/dist/client/_astro/src.Cq47pnsg.js +0 -1
- package/dist/client/_astro/sw.B5x6GU4s.js +0 -1
- package/dist/client/_astro/tr.BzxCGQu8.js +0 -1
- package/dist/client/_astro/uk.DJHMwNRU.js +0 -1
- package/dist/client/_astro/web.Bze9SKEA.js +0 -1
- package/dist/client/_astro/yo.DNw_hOnW.js +0 -1
- package/dist/client/_astro/zh-CN.Bs7H6Unx.js +0 -1
- package/dist/server/chunks/FieldTypePicker_CXwpmcQ3.mjs +0 -79
- package/dist/server/chunks/MediaLibrary_Xs09kLza.mjs +0 -335
- package/dist/server/chunks/ResourceHubs_Dwb0xyPZ.mjs +0 -453
- package/dist/server/chunks/access_D93W5BWD.mjs +0 -34
- package/dist/server/chunks/custom-fields_Dp7DHJ0M.mjs +0 -488
- package/dist/server/chunks/operations_0sYvzzNC.mjs +0 -34
- package/dist/server/chunks/plugins_Clk92l6Q.mjs +0 -156
- package/dist/server/chunks/resources_dPTDnpAf.mjs +0 -34
- package/dist/server/chunks/themes_BRtDtEK7.mjs +0 -155
- /package/dist/server/chunks/{BaseLayout_m8b8Eemd.mjs → BaseLayout_CXafpVV9.mjs} +0 -0
|
@@ -0,0 +1,133 @@
|
|
|
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_BgHPm3Sm.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DnvPikNH.mjs";
|
|
6
|
+
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
|
+
import { For, createSignal, onMount } from "solid-js";
|
|
8
|
+
//#region src/components/apps/plugins/PluginManager.tsx
|
|
9
|
+
var _tmpl$ = [
|
|
10
|
+
"<div",
|
|
11
|
+
" class=\"plugin-manager\"><div class=\"page-header\"><h2>",
|
|
12
|
+
"</h2><p class=\"page-description\">",
|
|
13
|
+
"</p><p class=\"page-hint\">",
|
|
14
|
+
"</p></div><!--$-->",
|
|
15
|
+
"<!--/--><!--$-->",
|
|
16
|
+
"<!--/--><!--$-->",
|
|
17
|
+
"<!--/--><style>\n .page-header {\n margin-bottom: 1.5rem;\n }\n .page-header h2 {\n margin: 0 0 0.5rem;\n font-size: 1.5rem;\n font-weight: 600;\n }\n .page-description {\n margin: 0;\n color: var(--color-muted);\n font-size: 0.875rem;\n }\n .page-hint {\n margin: 0.35rem 0 0;\n color: var(--color-muted);\n font-size: 0.75rem;\n }\n .plugins-table-container {\n overflow-x: auto;\n }\n .table {\n width: 100%;\n border-collapse: collapse;\n }\n .table th,\n .table td {\n padding: 0.75rem 1rem;\n text-align: left;\n border-bottom: 1px solid var(--color-border);\n }\n .table th {\n font-weight: 600;\n color: var(--color-text);\n background: var(--color-surface);\n }\n .plugin-row:hover {\n background: var(--color-background);\n }\n .plugin-name {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n }\n .plugin-name strong {\n font-weight: 500;\n }\n .plugin-description {\n font-size: 0.75rem;\n color: var(--color-muted);\n }\n .status-badge {\n display: inline-flex;\n align-items: center;\n padding: 0.25rem 0.5rem;\n border-radius: var(--radius-full);\n font-size: 0.6875rem;\n font-weight: 600;\n text-transform: uppercase;\n }\n .status-active {\n background: var(--color-success-soft);\n color: var(--color-success);\n }\n .status-installed {\n background: var(--color-primary-soft);\n color: var(--color-primary);\n }\n .status-inactive {\n background: var(--color-muted-soft);\n color: var(--color-muted);\n }\n .btn-loading {\n opacity: 0.6;\n cursor: wait;\n }\n .empty-state {\n padding: 2rem;\n text-align: center;\n color: var(--color-muted);\n }\n .alert {\n padding: 0.75rem 1rem;\n border-radius: var(--radius-md);\n margin-bottom: 1rem;\n }\n .alert-error {\n background: var(--color-error-soft);\n color: var(--color-error);\n border: 1px solid var(--color-error);\n }\n .skeleton {\n padding: 2rem;\n text-align: center;\n color: var(--color-muted);\n }\n </style></div>"
|
|
18
|
+
];
|
|
19
|
+
var _tmpl$2 = [
|
|
20
|
+
"<div",
|
|
21
|
+
" class=\"alert alert-error\">",
|
|
22
|
+
"</div>"
|
|
23
|
+
];
|
|
24
|
+
var _tmpl$3 = ["<div", " class=\"skeleton\">Loading...</div>"];
|
|
25
|
+
var _tmpl$4 = [
|
|
26
|
+
"<div",
|
|
27
|
+
" class=\"plugins-table-container\"><table class=\"table\"><thead><tr><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
|
+
"<tr",
|
|
37
|
+
" class=\"plugin-row\"><td class=\"plugin-name\"><strong>",
|
|
38
|
+
"</strong><!--$-->",
|
|
39
|
+
"<!--/--></td><td>",
|
|
40
|
+
"</td><td><span class=\"",
|
|
41
|
+
"\">",
|
|
42
|
+
"</span></td><td><button class=\"",
|
|
43
|
+
"\"",
|
|
44
|
+
">",
|
|
45
|
+
"</button></td></tr>"
|
|
46
|
+
];
|
|
47
|
+
var _tmpl$6 = [
|
|
48
|
+
"<span",
|
|
49
|
+
" class=\"plugin-description\">",
|
|
50
|
+
"</span>"
|
|
51
|
+
];
|
|
52
|
+
var _tmpl$7 = [
|
|
53
|
+
"<div",
|
|
54
|
+
" class=\"empty-state\">",
|
|
55
|
+
"</div>"
|
|
56
|
+
];
|
|
57
|
+
function PluginManager() {
|
|
58
|
+
const { t } = useTranslation();
|
|
59
|
+
const [plugins, setPlugins] = createSignal([]);
|
|
60
|
+
const [loading, setLoading] = createSignal(true);
|
|
61
|
+
const [error, setError] = createSignal(null);
|
|
62
|
+
const [toggling, setToggling] = createSignal(null);
|
|
63
|
+
onMount(async () => {
|
|
64
|
+
await loadPlugins();
|
|
65
|
+
});
|
|
66
|
+
async function loadPlugins() {
|
|
67
|
+
try {
|
|
68
|
+
setLoading(true);
|
|
69
|
+
const data = await apiClient.getPlugins();
|
|
70
|
+
setPlugins(data);
|
|
71
|
+
} catch {
|
|
72
|
+
setError(t("plugins.loadError"));
|
|
73
|
+
} finally {
|
|
74
|
+
setLoading(false);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
const isActive = (plugin) => plugin.status === "ACTIVE" || plugin.status === "ACTIVATED";
|
|
78
|
+
const getStatusLabel = (status) => {
|
|
79
|
+
switch (status) {
|
|
80
|
+
case "ACTIVE":
|
|
81
|
+
case "ACTIVATED": return t("plugins.status.active");
|
|
82
|
+
case "INSTALLED": return t("plugins.status.installed");
|
|
83
|
+
case "INACTIVE":
|
|
84
|
+
case "DEACTIVATED": return t("plugins.status.inactive");
|
|
85
|
+
default: return status;
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
const getStatusClass = (status) => {
|
|
89
|
+
switch (status) {
|
|
90
|
+
case "ACTIVE":
|
|
91
|
+
case "ACTIVATED": return "status-active";
|
|
92
|
+
case "INSTALLED": return "status-installed";
|
|
93
|
+
case "INACTIVE":
|
|
94
|
+
case "DEACTIVATED": return "status-inactive";
|
|
95
|
+
default: return "";
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
return ssr(_tmpl$, ssrHydrationKey(), escape(t("plugins.title")), escape(t("plugins.description")), escape(t("plugins.directoryHint")), error() && ssr(_tmpl$2, ssrHydrationKey(), escape(error())), loading() && _tmpl$3[0] + ssrHydrationKey() + _tmpl$3[1], !loading() && !error() && ssr(_tmpl$4, ssrHydrationKey(), escape(t("plugins.columns.name")), escape(t("plugins.columns.version")), escape(t("plugins.columns.status")), escape(t("plugins.columns.actions")), escape(createComponent(For, {
|
|
99
|
+
get each() {
|
|
100
|
+
return plugins();
|
|
101
|
+
},
|
|
102
|
+
children: (plugin) => ssr(_tmpl$5, ssrHydrationKey(), escape(plugin.name), plugin.manifest?.description && ssr(_tmpl$6, ssrHydrationKey(), escape(plugin.manifest.description)), escape(plugin.version), `status-badge ${escape(getStatusClass(plugin.status), true)}`, escape(getStatusLabel(plugin.status)), `btn btn-sm ${toggling() === plugin.id ? "btn-loading" : ""}`, ssrAttribute("disabled", toggling() !== null, true) + ssrAttribute("aria-label", isActive(plugin) ? escape(t("plugins.deactivate"), true) : escape(t("plugins.activate"), true), false), isActive(plugin) ? escape(t("plugins.deactivate")) : escape(t("plugins.activate")))
|
|
103
|
+
})), plugins().length === 0 && ssr(_tmpl$7, ssrHydrationKey(), escape(t("plugins.empty")))));
|
|
104
|
+
}
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/pages/plugins.astro
|
|
107
|
+
var plugins_exports = /* @__PURE__ */ __exportAll({
|
|
108
|
+
default: () => $$Plugins,
|
|
109
|
+
file: () => $$file,
|
|
110
|
+
url: () => $$url
|
|
111
|
+
});
|
|
112
|
+
createAstro("https://astro.build");
|
|
113
|
+
var $$Plugins = createComponent$1(($$result, $$props, $$slots) => {
|
|
114
|
+
const Astro = $$result.createAstro($$props, $$slots);
|
|
115
|
+
Astro.self = $$Plugins;
|
|
116
|
+
const { t } = Astro.locals;
|
|
117
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, {
|
|
118
|
+
"title": t("plugins.title"),
|
|
119
|
+
"description": t("plugins.description")
|
|
120
|
+
}, { "default": ($$result) => renderTemplate`${renderComponent($$result, "PluginManager", PluginManager, {
|
|
121
|
+
"client:load": true,
|
|
122
|
+
"client:component-hydration": "load",
|
|
123
|
+
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/apps/plugins/PluginManager.tsx",
|
|
124
|
+
"client:component-export": "PluginManager"
|
|
125
|
+
})}` })}`;
|
|
126
|
+
}, "/home/runner/work/cms/cms/apps/admin/src/pages/plugins.astro", void 0);
|
|
127
|
+
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/plugins.astro";
|
|
128
|
+
var $$url = "/plugins";
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region \0virtual:astro:page:src/pages/plugins@_@astro
|
|
131
|
+
var page = () => plugins_exports;
|
|
132
|
+
//#endregion
|
|
133
|
+
export { page };
|
|
@@ -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_BgHPm3Sm.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DnvPikNH.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/settings/PostTypesManager.tsx
|
|
@@ -7,6 +7,7 @@ var layout = {
|
|
|
7
7
|
"content": "Conteúdo",
|
|
8
8
|
"media": "Mídia",
|
|
9
9
|
"users": "Usuários",
|
|
10
|
+
"menus": "Menus",
|
|
10
11
|
"settings": "Configurações",
|
|
11
12
|
"plugins": "Plugins",
|
|
12
13
|
"themes": "Temas"
|
|
@@ -145,6 +146,7 @@ var content = {
|
|
|
145
146
|
"choose": "Escolha uma taxonomia no menu de conteúdo.",
|
|
146
147
|
"notFound": "Taxonomia não encontrada.",
|
|
147
148
|
"addTerm": "Adicionar novo termo",
|
|
149
|
+
"editTerm": "Editar termo",
|
|
148
150
|
"name": "Nome",
|
|
149
151
|
"slug": "Slug",
|
|
150
152
|
"description": "Descrição",
|
|
@@ -183,20 +185,28 @@ var media = {
|
|
|
183
185
|
"empty": "Nenhum arquivo ainda. Envie o primeiro!",
|
|
184
186
|
"details": {
|
|
185
187
|
"title": "Detalhes",
|
|
188
|
+
"titleField": "Título",
|
|
186
189
|
"file": "Arquivo",
|
|
187
190
|
"type": "Tipo",
|
|
188
191
|
"size": "Tamanho",
|
|
192
|
+
"dimensions": "Dimensões",
|
|
193
|
+
"uploaded": "Enviado em",
|
|
189
194
|
"url": "URL",
|
|
190
195
|
"copy": "Copiar",
|
|
191
196
|
"alt": "Texto alternativo (alt)",
|
|
192
197
|
"caption": "Legenda",
|
|
198
|
+
"description": "Descrição",
|
|
193
199
|
"save": "Salvar detalhes",
|
|
200
|
+
"replace": "Substituir arquivo",
|
|
201
|
+
"replacing": "Substituindo…",
|
|
202
|
+
"replaceHint": "Mantém o mesmo item e seus metadados.",
|
|
194
203
|
"delete": "Excluir",
|
|
195
204
|
"close": "Fechar",
|
|
196
205
|
"confirmDelete": "Excluir \"{filename}\"? O arquivo será removido do disco.",
|
|
197
206
|
"saved": "Detalhes salvos ✓",
|
|
198
207
|
"copied": "URL copiada ✓",
|
|
199
|
-
"copyError": "Não foi possível copiar a URL"
|
|
208
|
+
"copyError": "Não foi possível copiar a URL",
|
|
209
|
+
"replaced": "Arquivo substituído ✓"
|
|
200
210
|
},
|
|
201
211
|
"toasts": { "uploaded": "{count} arquivo(s) enviado(s) ✓" }
|
|
202
212
|
};
|
|
@@ -392,7 +402,13 @@ var settings = {
|
|
|
392
402
|
"title": "Grupos de campos",
|
|
393
403
|
"new": "Novo grupo de campos",
|
|
394
404
|
"empty": "Ainda não há grupos de campos personalizados.",
|
|
405
|
+
"emptyHint": "Crie seu primeiro grupo para começar a modelar o conteúdo.",
|
|
406
|
+
"search": "Buscar grupos…",
|
|
407
|
+
"groupName": "Grupo",
|
|
408
|
+
"status": "Status",
|
|
395
409
|
"fields": "campos",
|
|
410
|
+
"appliesTo": "Aplicado a",
|
|
411
|
+
"allContentTypes": "Todos os tipos de conteúdo",
|
|
396
412
|
"edit": "Editar",
|
|
397
413
|
"active": "Ativo",
|
|
398
414
|
"inactive": "Inativo"
|
|
@@ -402,6 +418,31 @@ var settings = {
|
|
|
402
418
|
"editTitle": "Editar grupo de campos",
|
|
403
419
|
"title": "Nome do grupo",
|
|
404
420
|
"titlePlaceholder": "Ex.: Detalhes do produto",
|
|
421
|
+
"backToGroups": "Voltar aos grupos",
|
|
422
|
+
"editorEyebrow": "Construtor de campos",
|
|
423
|
+
"groupTitleHint": "O nome identifica este conjunto de campos dentro do editor de conteúdo.",
|
|
424
|
+
"fieldsTitle": "Campos",
|
|
425
|
+
"fieldsDescription": "Adicione, configure e ordene os campos. Use os seis pontos para arrastar sem perder a posição.",
|
|
426
|
+
"noFields": "Este grupo ainda não possui campos.",
|
|
427
|
+
"settingsTitle": "Configurações do grupo",
|
|
428
|
+
"settingsDescription": "Opções de apresentação e visibilidade do painel, como no ACF.",
|
|
429
|
+
"description": "Descrição",
|
|
430
|
+
"labelPlacement": "Posição dos rótulos",
|
|
431
|
+
"instructionPlacement": "Posição das instruções",
|
|
432
|
+
"menuOrder": "Ordem do menu",
|
|
433
|
+
"hideOnScreen": "Ocultar na tela de edição",
|
|
434
|
+
"hide": {
|
|
435
|
+
"permalink": "Link permanente",
|
|
436
|
+
"content": "Editor de conteúdo",
|
|
437
|
+
"excerpt": "Resumo",
|
|
438
|
+
"featured_image": "Imagem destacada",
|
|
439
|
+
"author": "Autor",
|
|
440
|
+
"revisions": "Revisões",
|
|
441
|
+
"comments": "Comentários"
|
|
442
|
+
},
|
|
443
|
+
"assignTitle": "Localização",
|
|
444
|
+
"assignDescription": "Escolha o content type onde este grupo de campos estará disponível.",
|
|
445
|
+
"contentType": "Content type",
|
|
405
446
|
"position": "Posição",
|
|
406
447
|
"positions": {
|
|
407
448
|
"normal": "Normal",
|
|
@@ -434,6 +475,106 @@ var settings = {
|
|
|
434
475
|
"saved": "Grupo de campos salvo.",
|
|
435
476
|
"deleted": "Grupo de campos excluído."
|
|
436
477
|
},
|
|
478
|
+
"listEyebrow": "Estrutura de conteúdo",
|
|
479
|
+
"fieldSettings": {
|
|
480
|
+
"general": "Geral",
|
|
481
|
+
"fieldLabel": "Rótulo do campo",
|
|
482
|
+
"fieldName": "Nome do campo",
|
|
483
|
+
"instructions": "Instruções",
|
|
484
|
+
"required": "Obrigatório",
|
|
485
|
+
"defaultValue": "Valor padrão",
|
|
486
|
+
"placeholder": "Placeholder",
|
|
487
|
+
"presentation": "Apresentação",
|
|
488
|
+
"wrapperWidth": "Largura do wrapper (%)",
|
|
489
|
+
"labelPlacement": "Rótulo",
|
|
490
|
+
"instructionPlacement": "Instruções",
|
|
491
|
+
"top": "Acima",
|
|
492
|
+
"left": "À esquerda",
|
|
493
|
+
"above": "Antes do campo",
|
|
494
|
+
"below": "Depois do campo",
|
|
495
|
+
"textSettings": "Texto",
|
|
496
|
+
"prepend": "Prefixo",
|
|
497
|
+
"append": "Sufixo",
|
|
498
|
+
"minLength": "Tamanho mínimo",
|
|
499
|
+
"maxLength": "Tamanho máximo",
|
|
500
|
+
"rows": "Linhas",
|
|
501
|
+
"newLines": "Novas linhas",
|
|
502
|
+
"wpautop": "Parágrafos automáticos",
|
|
503
|
+
"none": "Nenhuma",
|
|
504
|
+
"numberSettings": "Número",
|
|
505
|
+
"min": "Mínimo",
|
|
506
|
+
"max": "Máximo",
|
|
507
|
+
"step": "Incremento",
|
|
508
|
+
"choiceSettings": "Escolhas",
|
|
509
|
+
"choices": "Opções",
|
|
510
|
+
"layout": "Layout",
|
|
511
|
+
"vertical": "Vertical",
|
|
512
|
+
"horizontal": "Horizontal",
|
|
513
|
+
"multiple": "Múltipla escolha",
|
|
514
|
+
"allowNull": "Permitir vazio",
|
|
515
|
+
"mediaSettings": "Mídia",
|
|
516
|
+
"returnFormat": "Formato de retorno",
|
|
517
|
+
"array": "Array",
|
|
518
|
+
"id": "ID",
|
|
519
|
+
"previewSize": "Tamanho da prévia",
|
|
520
|
+
"library": "Biblioteca",
|
|
521
|
+
"all": "Todos",
|
|
522
|
+
"uploadedToPost": "Enviados neste conteúdo",
|
|
523
|
+
"allowedTypes": "Tipos permitidos",
|
|
524
|
+
"minWidth": "Largura mínima",
|
|
525
|
+
"maxWidth": "Largura máxima",
|
|
526
|
+
"minHeight": "Altura mínima",
|
|
527
|
+
"maxHeight": "Altura máxima",
|
|
528
|
+
"wysiwygSettings": "Editor visual",
|
|
529
|
+
"tabs": "Abas",
|
|
530
|
+
"toolbar": "Barra de ferramentas",
|
|
531
|
+
"mediaUpload": "Permitir envio de mídia",
|
|
532
|
+
"dateSettings": "Data e hora",
|
|
533
|
+
"displayFormat": "Formato de exibição",
|
|
534
|
+
"firstDay": "Primeiro dia da semana",
|
|
535
|
+
"colorSettings": "Cor",
|
|
536
|
+
"enableOpacity": "Permitir transparência",
|
|
537
|
+
"mapSettings": "Mapa",
|
|
538
|
+
"center": "Centro",
|
|
539
|
+
"zoom": "Zoom",
|
|
540
|
+
"height": "Altura",
|
|
541
|
+
"relationSettings": "Relacionamento",
|
|
542
|
+
"postType": "Tipo de conteúdo",
|
|
543
|
+
"taxonomy": "Taxonomia",
|
|
544
|
+
"booleanSettings": "Verdadeiro/Falso",
|
|
545
|
+
"message": "Mensagem",
|
|
546
|
+
"defaultChecked": "Marcado por padrão",
|
|
547
|
+
"linkSettings": "Link",
|
|
548
|
+
"cloneSettings": "Clone",
|
|
549
|
+
"cloneFields": "Campos para clonar",
|
|
550
|
+
"cloneHint": "Um nome de campo por linha",
|
|
551
|
+
"containerSettings": "Estrutura",
|
|
552
|
+
"buttonLabel": "Texto do botão",
|
|
553
|
+
"collapsed": "Campo usado como título da linha",
|
|
554
|
+
"subFields": "Subcampos",
|
|
555
|
+
"layouts": "Layouts",
|
|
556
|
+
"addLayout": "Adicionar layout",
|
|
557
|
+
"newLayout": "Novo layout",
|
|
558
|
+
"layoutName": "Nome do layout",
|
|
559
|
+
"layoutLabel": "Rótulo do layout",
|
|
560
|
+
"layoutDisplay": "Exibição do layout",
|
|
561
|
+
"conditionalLogic": "Lógica condicional",
|
|
562
|
+
"conditionalHint": "Mostra este campo apenas quando as regras forem atendidas.",
|
|
563
|
+
"chooseField": "Escolha um campo",
|
|
564
|
+
"conditionValue": "Valor",
|
|
565
|
+
"addCondition": "Adicionar condição",
|
|
566
|
+
"addConditionGroup": "Adicionar grupo OU",
|
|
567
|
+
"conditionsAnd": "As condições deste grupo usam E.",
|
|
568
|
+
"operators": {
|
|
569
|
+
"eq": "é igual a",
|
|
570
|
+
"neq": "não é igual a",
|
|
571
|
+
"gt": "é maior que",
|
|
572
|
+
"lt": "é menor que",
|
|
573
|
+
"contains": "contém",
|
|
574
|
+
"hasAny": "tem algum valor",
|
|
575
|
+
"hasNone": "está vazio"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
437
578
|
"actions": {
|
|
438
579
|
"delete": "Excluir",
|
|
439
580
|
"confirmDelete": "Excluir este grupo de campos?"
|
|
@@ -442,6 +583,65 @@ var settings = {
|
|
|
442
583
|
"loadError": "Não foi possível carregar os campos personalizados."
|
|
443
584
|
}
|
|
444
585
|
};
|
|
586
|
+
var menus = {
|
|
587
|
+
"title": "Menus",
|
|
588
|
+
"description": "Crie e gerencie os menus de navegação usados pelo seu site.",
|
|
589
|
+
"hint": "Os menus são independentes dos content types e podem ser renderizados pelo seu tema.",
|
|
590
|
+
"new": "Novo menu",
|
|
591
|
+
"create": "Criar menu",
|
|
592
|
+
"edit": "Editar menu",
|
|
593
|
+
"name": "Nome",
|
|
594
|
+
"slug": "Slug",
|
|
595
|
+
"items": "Itens",
|
|
596
|
+
"back": "Voltar para menus",
|
|
597
|
+
"nameRequired": "Informe o nome do menu.",
|
|
598
|
+
"editor": {
|
|
599
|
+
"eyebrow": "Estrutura de navegação",
|
|
600
|
+
"addItems": "Adicionar itens ao menu",
|
|
601
|
+
"search": "Pesquisar…",
|
|
602
|
+
"addSelected": "Adicionar selecionados",
|
|
603
|
+
"addToMenu": "Adicionar ao menu",
|
|
604
|
+
"structure": "Estrutura do menu",
|
|
605
|
+
"structureHint": "Arraste os itens para reordenar. Use as setas para criar submenus.",
|
|
606
|
+
"empty": "Adicione itens pelos painéis à esquerda.",
|
|
607
|
+
"emptyLevel": "Nenhum item neste submenu.",
|
|
608
|
+
"drag": "Arrastar para reordenar",
|
|
609
|
+
"untitled": "Item sem título",
|
|
610
|
+
"noUrl": "Sem URL",
|
|
611
|
+
"up": "Mover para cima",
|
|
612
|
+
"down": "Mover para baixo",
|
|
613
|
+
"indent": "Criar submenu",
|
|
614
|
+
"outdent": "Mover para o nível anterior",
|
|
615
|
+
"itemSettings": "Configurações do item",
|
|
616
|
+
"navigationLabel": "Rótulo de navegação",
|
|
617
|
+
"url": "URL",
|
|
618
|
+
"titleAttribute": "Atributo title",
|
|
619
|
+
"cssClasses": "Classes CSS",
|
|
620
|
+
"target": "Abrir link em",
|
|
621
|
+
"sameWindow": "Mesma janela",
|
|
622
|
+
"newWindow": "Nova janela",
|
|
623
|
+
"xfn": "Relacionamento do link (XFN)",
|
|
624
|
+
"description": "Descrição",
|
|
625
|
+
"remove": "Remover",
|
|
626
|
+
"settings": "Configurações do menu",
|
|
627
|
+
"autoAddPages": "Adicionar automaticamente novas páginas de primeiro nível a este menu",
|
|
628
|
+
"autoAddPagesHint": "Esta configuração é salva com o menu e pode ser usada pelo tema ativo."
|
|
629
|
+
},
|
|
630
|
+
"sources": {
|
|
631
|
+
"pages": "Páginas",
|
|
632
|
+
"posts": "Posts",
|
|
633
|
+
"custom": "Links personalizados",
|
|
634
|
+
"customHint": "Adicione qualquer URL interna ou externa.",
|
|
635
|
+
"home": "Início",
|
|
636
|
+
"contentTypes": "Itens de content types",
|
|
637
|
+
"archives": "Arquivos de content types",
|
|
638
|
+
"taxonomies": "Termos de taxonomias"
|
|
639
|
+
},
|
|
640
|
+
"saved": "Menu salvo.",
|
|
641
|
+
"deleted": "Menu excluído.",
|
|
642
|
+
"empty": "Ainda não há menus.",
|
|
643
|
+
"confirmDelete": "Excluir o menu \"{name}\"?"
|
|
644
|
+
};
|
|
445
645
|
var resources = {
|
|
446
646
|
"title": "Recursos de conteúdo",
|
|
447
647
|
"description": "Descrição",
|
|
@@ -474,20 +674,65 @@ var access = {
|
|
|
474
674
|
"permissions": "Permissões (separadas por vírgula)",
|
|
475
675
|
"domain": "Domínio"
|
|
476
676
|
};
|
|
477
|
-
var
|
|
478
|
-
"title": "
|
|
479
|
-
"description": "
|
|
480
|
-
"
|
|
677
|
+
var logs = {
|
|
678
|
+
"title": "Logs",
|
|
679
|
+
"description": "Histórico completo das ações realizadas dentro do CMS.",
|
|
680
|
+
"retentionTitle": "Retenção dos logs",
|
|
681
|
+
"retentionDescription": "Logs mais antigos que este período serão removidos automaticamente.",
|
|
682
|
+
"retentionDays": "Manter logs por (dias)",
|
|
683
|
+
"retentionSaved": "Retenção dos logs atualizada.",
|
|
684
|
+
"historyTitle": "Histórico de auditoria",
|
|
685
|
+
"actionFilter": "Filtrar por ação",
|
|
686
|
+
"resourceFilter": "Filtrar por recurso",
|
|
687
|
+
"loading": "Carregando logs…",
|
|
688
|
+
"empty": "Nenhuma ação registrada ainda.",
|
|
689
|
+
"system": "Sistema",
|
|
690
|
+
"columns": {
|
|
691
|
+
"date": "Data",
|
|
692
|
+
"action": "Ação",
|
|
693
|
+
"resource": "Recurso",
|
|
694
|
+
"user": "Usuário",
|
|
695
|
+
"status": "Status",
|
|
696
|
+
"ip": "IP"
|
|
697
|
+
}
|
|
698
|
+
};
|
|
699
|
+
var webhooks = {
|
|
700
|
+
"title": "Webhooks",
|
|
701
|
+
"description": "Envie eventos do CMS para serviços externos com autenticação configurável.",
|
|
702
|
+
"listTitle": "Webhooks configurados",
|
|
703
|
+
"new": "Novo webhook",
|
|
704
|
+
"create": "Criar webhook",
|
|
705
|
+
"edit": "Editar webhook",
|
|
706
|
+
"url": "URL do endpoint",
|
|
481
707
|
"events": "Eventos",
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
"
|
|
485
|
-
"
|
|
486
|
-
"
|
|
708
|
+
"selectEvents": "Selecione um ou mais eventos",
|
|
709
|
+
"searchEvents": "Pesquisar eventos…",
|
|
710
|
+
"noEvents": "Nenhum evento encontrado.",
|
|
711
|
+
"eventsRequired": "Selecione pelo menos um evento.",
|
|
712
|
+
"authentication": "Autenticação",
|
|
713
|
+
"active": "Ativo",
|
|
714
|
+
"token": "Token Bearer",
|
|
715
|
+
"username": "Usuário",
|
|
716
|
+
"password": "Senha",
|
|
717
|
+
"headerName": "Nome do header",
|
|
718
|
+
"apiKeyValue": "Valor da API key",
|
|
719
|
+
"secret": "Segredo HMAC",
|
|
720
|
+
"signatureHeader": "Header da assinatura",
|
|
721
|
+
"keepExisting": "Deixe em branco para manter o valor atual",
|
|
722
|
+
"loading": "Carregando webhooks…",
|
|
723
|
+
"empty": "Nenhum webhook configurado.",
|
|
724
|
+
"auth": {
|
|
725
|
+
"none": "Nenhuma",
|
|
726
|
+
"bearer": "Token Bearer",
|
|
727
|
+
"basic": "Autenticação básica",
|
|
728
|
+
"apiKey": "API key",
|
|
729
|
+
"hmac_sha256": "HMAC SHA-256"
|
|
730
|
+
}
|
|
487
731
|
};
|
|
488
732
|
var plugins = {
|
|
489
733
|
"title": "Plugins",
|
|
490
734
|
"description": "Gerencie os plugins instalados.",
|
|
735
|
+
"directoryHint": "Detectados automaticamente no diretório plugins/ do projeto. Use a CLI ou o deploy para adicionar extensões.",
|
|
491
736
|
"columns": {
|
|
492
737
|
"name": "Nome",
|
|
493
738
|
"version": "Versão",
|
|
@@ -517,6 +762,7 @@ var plugins = {
|
|
|
517
762
|
var themes = {
|
|
518
763
|
"title": "Temas",
|
|
519
764
|
"description": "Gerencie os temas instalados.",
|
|
765
|
+
"directoryHint": "Detectados automaticamente no diretório themes/ do projeto. Use a CLI ou o deploy para adicionar temas.",
|
|
520
766
|
"version": "Versão",
|
|
521
767
|
"active": "Ativo",
|
|
522
768
|
"status": {
|
|
@@ -582,7 +828,9 @@ var common = {
|
|
|
582
828
|
"archived": "Arquivado",
|
|
583
829
|
"locked": "Bloqueado"
|
|
584
830
|
},
|
|
585
|
-
"language": "Idioma"
|
|
831
|
+
"language": "Idioma",
|
|
832
|
+
"refresh": "Atualizar",
|
|
833
|
+
"actions": "Ações"
|
|
586
834
|
};
|
|
587
835
|
var activity = {
|
|
588
836
|
"justNow": "agora mesmo",
|
|
@@ -640,9 +888,11 @@ var pt_BR_default = {
|
|
|
640
888
|
media,
|
|
641
889
|
users,
|
|
642
890
|
settings,
|
|
891
|
+
menus,
|
|
643
892
|
resources,
|
|
644
893
|
access,
|
|
645
|
-
|
|
894
|
+
logs,
|
|
895
|
+
webhooks,
|
|
646
896
|
plugins,
|
|
647
897
|
themes,
|
|
648
898
|
login,
|
|
@@ -654,4 +904,4 @@ var pt_BR_default = {
|
|
|
654
904
|
screenOptions
|
|
655
905
|
};
|
|
656
906
|
//#endregion
|
|
657
|
-
export { access, activity, adminBar, common, content, dashboard, pt_BR_default as default, footer, helpTabs, layout, login, media,
|
|
907
|
+
export { access, activity, adminBar, common, content, dashboard, pt_BR_default as default, footer, helpTabs, layout, login, logs, media, menus, plugins, resources, screenOptions, settings, themes, users, webhooks };
|
|
@@ -7,6 +7,7 @@ var layout = {
|
|
|
7
7
|
"content": "Контент",
|
|
8
8
|
"media": "Медиа",
|
|
9
9
|
"users": "Пользователи",
|
|
10
|
+
"menus": "Меню",
|
|
10
11
|
"settings": "Настройки",
|
|
11
12
|
"plugins": "Плагины",
|
|
12
13
|
"themes": "Темы"
|
|
@@ -122,7 +123,25 @@ var content = {
|
|
|
122
123
|
"inspectTypes": "Инспектировать доступные типы",
|
|
123
124
|
"save": "Сохранить",
|
|
124
125
|
"saved": "Контент успешно сохранен."
|
|
125
|
-
}
|
|
126
|
+
},
|
|
127
|
+
"taxonomy": { "editTerm": "Изменить термин" }
|
|
128
|
+
};
|
|
129
|
+
var menus = {
|
|
130
|
+
"title": "Меню",
|
|
131
|
+
"description": "Создавайте и управляйте меню навигации сайта.",
|
|
132
|
+
"hint": "Меню независимы от типов контента и могут отображаться темой.",
|
|
133
|
+
"new": "Новое меню",
|
|
134
|
+
"create": "Создать меню",
|
|
135
|
+
"edit": "Изменить меню",
|
|
136
|
+
"name": "Название",
|
|
137
|
+
"slug": "Slug",
|
|
138
|
+
"items": "Пункты меню (JSON)",
|
|
139
|
+
"itemsHint": "Используйте JSON-массив объектов пунктов меню.",
|
|
140
|
+
"invalidItems": "Пункты меню должны быть корректным JSON-массивом.",
|
|
141
|
+
"saved": "Меню сохранено.",
|
|
142
|
+
"deleted": "Меню удалено.",
|
|
143
|
+
"empty": "Меню пока нет.",
|
|
144
|
+
"confirmDelete": "Удалить меню \"{name}\"?"
|
|
126
145
|
};
|
|
127
146
|
var media = {
|
|
128
147
|
"title": "Медиатека",
|
|
@@ -395,6 +414,7 @@ var ru_default = {
|
|
|
395
414
|
layout,
|
|
396
415
|
dashboard,
|
|
397
416
|
content,
|
|
417
|
+
menus,
|
|
398
418
|
media,
|
|
399
419
|
users,
|
|
400
420
|
settings,
|
|
@@ -407,4 +427,4 @@ var ru_default = {
|
|
|
407
427
|
screenOptions
|
|
408
428
|
};
|
|
409
429
|
//#endregion
|
|
410
|
-
export { activity, adminBar, common, content, dashboard, ru_default as default, footer, helpTabs, layout, login, media, screenOptions, settings, users };
|
|
430
|
+
export { activity, adminBar, common, content, dashboard, ru_default as default, footer, helpTabs, layout, login, media, menus, screenOptions, settings, users };
|
|
@@ -7,6 +7,7 @@ var layout = {
|
|
|
7
7
|
"content": "Maudhui",
|
|
8
8
|
"media": "Media",
|
|
9
9
|
"users": "Watumiaji",
|
|
10
|
+
"menus": "Menyu",
|
|
10
11
|
"settings": "Mipangilio",
|
|
11
12
|
"plugins": "Programu-jalizi",
|
|
12
13
|
"themes": "Mandhari"
|
|
@@ -122,7 +123,25 @@ var content = {
|
|
|
122
123
|
"inspectTypes": "Chunguza Aina Zinazopatikana",
|
|
123
124
|
"save": "Hifadhi",
|
|
124
125
|
"saved": "Maudhui yamehifadhiwa kwa mafanikio."
|
|
125
|
-
}
|
|
126
|
+
},
|
|
127
|
+
"taxonomy": { "editTerm": "Hariri neno" }
|
|
128
|
+
};
|
|
129
|
+
var menus = {
|
|
130
|
+
"title": "Menyu",
|
|
131
|
+
"description": "Unda na udhibiti menyu za urambazaji za tovuti yako.",
|
|
132
|
+
"hint": "Menyu ziko huru kutoka aina za maudhui na zinaweza kuonyeshwa na mandhari.",
|
|
133
|
+
"new": "Menyu mpya",
|
|
134
|
+
"create": "Unda menyu",
|
|
135
|
+
"edit": "Hariri menyu",
|
|
136
|
+
"name": "Jina",
|
|
137
|
+
"slug": "Slug",
|
|
138
|
+
"items": "Vipengee vya menyu (JSON)",
|
|
139
|
+
"itemsHint": "Tumia safu ya JSON ya vitu vya menyu.",
|
|
140
|
+
"invalidItems": "Vipengee vya menyu lazima viwe safu halali ya JSON.",
|
|
141
|
+
"saved": "Menyu imehifadhiwa.",
|
|
142
|
+
"deleted": "Menyu imefutwa.",
|
|
143
|
+
"empty": "Hakuna menyu bado.",
|
|
144
|
+
"confirmDelete": "Futa menyu \"{name}\"?"
|
|
126
145
|
};
|
|
127
146
|
var media = {
|
|
128
147
|
"title": "Maktaba ya Media",
|
|
@@ -395,6 +414,7 @@ var sw_default = {
|
|
|
395
414
|
layout,
|
|
396
415
|
dashboard,
|
|
397
416
|
content,
|
|
417
|
+
menus,
|
|
398
418
|
media,
|
|
399
419
|
users,
|
|
400
420
|
settings,
|
|
@@ -407,4 +427,4 @@ var sw_default = {
|
|
|
407
427
|
screenOptions
|
|
408
428
|
};
|
|
409
429
|
//#endregion
|
|
410
|
-
export { activity, adminBar, common, content, dashboard, sw_default as default, footer, helpTabs, layout, login, media, screenOptions, settings, users };
|
|
430
|
+
export { activity, adminBar, common, content, dashboard, sw_default as default, footer, helpTabs, layout, login, media, menus, screenOptions, settings, users };
|
|
@@ -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_BgHPm3Sm.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_DnvPikNH.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
|
|
7
7
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/settings/TaxonomiesManager.tsx
|