@oktis-works/admin 0.4.30 → 0.4.32
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.Di9qEuF1.js → ActivityWidget.BNFwjO71.js} +2 -2
- package/dist/client/_astro/{AdminBar.DX6xBHtO.js → AdminBar.DRgRB1PC.js} +2 -2
- package/dist/client/_astro/{AtGlanceWidget.CbHeeevh.js → AtGlanceWidget.VTQ1s6gO.js} +2 -2
- package/dist/client/_astro/BaseLayout.Du3LchRX.css +1 -0
- package/dist/client/_astro/ContentEditor.BqA8tXwY.js +3 -0
- package/dist/client/_astro/ContentEditor.Dn2kdVzL.js +1 -0
- package/dist/client/_astro/ContentTypeWorkspace.Dou_h7cE.js +1 -0
- package/dist/client/_astro/{DashboardHome.N13R6lSD.js → DashboardHome.1vPxu78E.js} +1 -1
- package/dist/client/_astro/DashboardLayout.astro_astro_type_script_index_0_lang.D3odZySo.js +1 -0
- package/dist/client/_astro/FbIcon.uhYN8ybK.js +1 -0
- package/dist/client/_astro/FieldGroupEditor.C9U6-zxk.js +69 -0
- package/dist/client/_astro/FieldGroupList.DYFBUBY7.js +1 -0
- package/dist/client/_astro/{Footer.DF_iRAy9.js → Footer.C2Ztvfxs.js} +1 -1
- package/dist/client/_astro/GeneralSettings.B5RHRwp3.js +1 -0
- package/dist/client/_astro/{LogsManager.Dkd8zzbn.js → LogsManager.CBwBkCUP.js} +1 -1
- package/dist/client/_astro/MediaLibrary.D-y-C-DJ.js +1 -0
- package/dist/client/_astro/MenuManager.BhYhygsR.js +1 -0
- package/dist/client/_astro/{PluginManager.DBx_6c-N.js → PluginManager.DxAKvMfM.js} +2 -2
- package/dist/client/_astro/PostTypesManager.DLymaQPT.js +1 -0
- package/dist/client/_astro/{QuickDraftWidget.DT5u45n6.js → QuickDraftWidget.CGODgKWz.js} +2 -2
- package/dist/client/_astro/ResourceHubs.BnINa0O3.js +1 -0
- package/dist/client/_astro/{TaxonomiesManager.jy5cAbSF.js → TaxonomiesManager.1EZYO2u5.js} +1 -1
- package/dist/client/_astro/{TaxonomyTermsManager.DBmTIPqu.js → TaxonomyTermsManager.YXbuam33.js} +1 -1
- package/dist/client/_astro/{ThemeManager.BtHWshy7.js → ThemeManager.EFMZJdmx.js} +2 -2
- package/dist/client/_astro/{UserCreateForm.Dm-zwJdM.js → UserCreateForm.C_m7ovUU.js} +1 -1
- package/dist/client/_astro/UsersManager.BYnb8Q4f.js +1 -0
- package/dist/client/_astro/WebhooksManager.CKRtabi3.js +1 -0
- package/dist/client/_astro/api.CM0tblEa.js +1 -0
- package/dist/client/_astro/client.DWJHz38V.js +1 -0
- package/dist/client/_astro/extensions.DjCcPZ-S.js +1 -0
- package/dist/client/_astro/i18n.EKfvSb1v.js +1 -0
- package/dist/client/_astro/iconsAndAliases.ujTnkhnl.js +1 -0
- package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.CJiWhdn-.js → login.astro_astro_type_script_index_0_lang.D8XVBan6.js} +1 -1
- package/dist/client/_astro/lucide.s17cczpi.js +4 -0
- package/dist/client/_astro/pt-BR.dxAFMMtn.js +1 -0
- package/dist/client/_astro/solid.8gBSxpeo.js +1 -0
- package/dist/client/_astro/src.DQwsXUur.js +1 -0
- package/dist/client/_astro/version.BHn8EOUk.js +1 -0
- package/dist/client/_astro/web.DwNv8rLL.js +1 -0
- package/dist/server/chunks/{ContentEditor_BmTZx2N1.mjs → ContentEditor_BWd9SjpC.mjs} +32 -14
- package/dist/server/chunks/{DashboardLayout_Dq_tX07K.mjs → DashboardLayout_BgR_3Kmg.mjs} +4 -4
- package/dist/server/chunks/FbIcon_D0f6QiFJ.mjs +32 -0
- package/dist/server/chunks/{MediaLibrary_6yDGNOjX.mjs → MediaLibrary_DjCznDtr.mjs} +2 -2
- package/dist/server/chunks/_id__BPCZskdx.mjs +7795 -0
- package/dist/server/chunks/{_slug__BfnuXBlV.mjs → _slug__CZh0NSsk.mjs} +1 -1
- package/dist/server/chunks/{access_Evtpc8py.mjs → access_BbB60vMX.mjs} +2 -2
- package/dist/server/chunks/custom-fields_gkSu7mus.mjs +235 -0
- package/dist/server/chunks/{edit_Csd2egXq.mjs → edit_B_XZOs-2.mjs} +2 -2
- package/dist/server/chunks/{general_DHJYO5Is.mjs → general_C12Fsjmt.mjs} +2 -2
- package/dist/server/chunks/{i18n_kKFSn0qM.mjs → i18n_Co0XNC0I.mjs} +96 -4
- package/dist/server/chunks/{index_Bn1wO6V6.mjs → index_-3JgsCPE.mjs} +1 -1
- package/dist/server/chunks/{index_BvpmMEVd.mjs → index_CTPkLmuV.mjs} +3 -3
- package/dist/server/chunks/{index_YxDMs2fU.mjs → index_Cv-61rVw.mjs} +2 -2
- package/dist/server/chunks/{index_BQQF0QDF.mjs → index_DogVC9St.mjs} +2 -2
- package/dist/server/chunks/{index_6I_laq7m.mjs → index_DtxMxpNt.mjs} +2 -2
- package/dist/server/chunks/{login_s3hMBW1K.mjs → login_DWlZa2zd.mjs} +1 -1
- package/dist/server/chunks/{logs_7bpwq5mi.mjs → logs_Czef3YX3.mjs} +2 -2
- package/dist/server/chunks/{menus_C2GndCsV.mjs → menus_Rpk2_4Kh.mjs} +2 -2
- package/dist/server/chunks/{new_1wbj8wvv.mjs → new_CRKYoxj9.mjs} +2 -2
- package/dist/server/chunks/{new_ZeP_CQp1.mjs → new_WebRzl3r.mjs} +2 -2
- package/dist/server/chunks/{plugins_EvzfxssI.mjs → plugins_BzyVlp45.mjs} +2 -2
- package/dist/server/chunks/{post-types_BpMjZdT4.mjs → post-types_mkGPxnoA.mjs} +2 -2
- package/dist/server/chunks/{pt-BR_Bw9HDc48.mjs → pt-BR_B8CUDeSz.mjs} +1 -326
- package/dist/server/chunks/{taxonomies_EipFku8y.mjs → taxonomies_DjiyW42Q.mjs} +2 -2
- package/dist/server/chunks/{taxonomy_BkhVpQpE.mjs → taxonomy_CSF3swtW.mjs} +2 -2
- package/dist/server/chunks/{themes_CZjjkm6z.mjs → themes_BK0W-bTo.mjs} +2 -2
- package/dist/server/chunks/{upload_C8AW_8Gt.mjs → upload_8S15ilw9.mjs} +2 -2
- package/dist/server/chunks/{webhooks_BEaWDInS.mjs → webhooks_DBxN5SHZ.mjs} +3 -3
- package/dist/server/entry.mjs +72 -34
- package/dist/server/virtual_astro_middleware.mjs +1 -1
- package/package.json +4 -2
- package/dist/client/_astro/BaseLayout.sayhdG_g.css +0 -1
- package/dist/client/_astro/ContentEditor.Bkm2ptVg.js +0 -1
- package/dist/client/_astro/ContentEditor.CaTPZkqZ.js +0 -3
- package/dist/client/_astro/ContentTypeWorkspace.h-3BeCUg.js +0 -1
- package/dist/client/_astro/CustomFieldsManager.CJ-l_Rhc.js +0 -5
- package/dist/client/_astro/DashboardLayout.astro_astro_type_script_index_0_lang.CkaCqwSJ.js +0 -1
- package/dist/client/_astro/GeneralSettings.BBp-NFgV.js +0 -1
- package/dist/client/_astro/MediaLibrary.Dgo-v1WT.js +0 -1
- package/dist/client/_astro/MenuManager.CsclR9mh.js +0 -1
- package/dist/client/_astro/PostTypesManager.CIrsbzy8.js +0 -1
- package/dist/client/_astro/ResourceHubs.BBIQXhdV.js +0 -1
- package/dist/client/_astro/UsersManager.Dba4qeHD.js +0 -1
- package/dist/client/_astro/WebhooksManager.Bc3mp2PR.js +0 -1
- package/dist/client/_astro/api.DSIz0zxF.js +0 -1
- package/dist/client/_astro/client.BB1iDAO-.js +0 -1
- package/dist/client/_astro/custom-fields.3g1PTmGl.css +0 -1
- package/dist/client/_astro/dist.D3896CDR.js +0 -1
- package/dist/client/_astro/extensions.BpYLaw9Y.js +0 -1
- package/dist/client/_astro/i18n.BmX2Cv4K.js +0 -1
- package/dist/client/_astro/lucide.DlU56wZ1.js +0 -4
- package/dist/client/_astro/pt-BR.D0RvDyZb.js +0 -1
- package/dist/client/_astro/solid.TEtyrbLc.js +0 -1
- package/dist/client/_astro/version.CK7Ej588.js +0 -1
- package/dist/client/_astro/web.D0f8iaHB.js +0 -1
- package/dist/server/chunks/custom-fields_B4HXTNm6.mjs +0 -1470
- /package/dist/server/chunks/{BaseLayout_CXafpVV9.mjs → BaseLayout_CHj9u5wO.mjs} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, 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_BgR_3Kmg.mjs";
|
|
5
5
|
//#region src/pages/plugins/[slug].astro
|
|
6
6
|
var _slug__exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
default: () => $$Slug,
|
|
@@ -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_Co0XNC0I.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/settings/ResourceHubs.tsx
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
+
import { S as createAstro, d as maybeRenderHead, 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_Co0XNC0I.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.mjs";
|
|
6
|
+
import { t as FbIcon } from "./FbIcon_D0f6QiFJ.mjs";
|
|
7
|
+
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
|
+
import { For, Show, createMemo, createSignal, onMount } from "solid-js";
|
|
9
|
+
//#region src/components/field-builder/FieldGroupList.tsx
|
|
10
|
+
var _tmpl$ = [
|
|
11
|
+
"<div",
|
|
12
|
+
" class=\"notice notice--error\">",
|
|
13
|
+
"</div>"
|
|
14
|
+
];
|
|
15
|
+
var _tmpl$2 = [
|
|
16
|
+
"<div",
|
|
17
|
+
" class=\"fb-list__toolbar\"><label class=\"fb-list__filter\"><span>",
|
|
18
|
+
"</span><select class=\"input\"",
|
|
19
|
+
"><option value>",
|
|
20
|
+
"</option><!--$-->",
|
|
21
|
+
"<!--/--></select></label><input class=\"input fb-list__search\" type=\"search\"",
|
|
22
|
+
"></div>"
|
|
23
|
+
];
|
|
24
|
+
var _tmpl$3 = [
|
|
25
|
+
"<div",
|
|
26
|
+
" class=\"fb-groups-table__head\"><span>",
|
|
27
|
+
"</span><span>",
|
|
28
|
+
"</span><span>",
|
|
29
|
+
"</span><span>",
|
|
30
|
+
"</span><span>",
|
|
31
|
+
"</span><span></span></div>"
|
|
32
|
+
];
|
|
33
|
+
var _tmpl$4 = [
|
|
34
|
+
"<section",
|
|
35
|
+
" class=\"card fb-groups-table\">",
|
|
36
|
+
"</section>"
|
|
37
|
+
];
|
|
38
|
+
var _tmpl$5 = [
|
|
39
|
+
"<p",
|
|
40
|
+
" class=\"muted fb-import-hint\">",
|
|
41
|
+
"</p>"
|
|
42
|
+
];
|
|
43
|
+
var _tmpl$6 = [
|
|
44
|
+
"<div",
|
|
45
|
+
" class=\"fb-modal-backdrop\"><div class=\"fb-modal\"><div class=\"fb-modal__header\"><h3>",
|
|
46
|
+
"</h3><button type=\"button\" class=\"fb-modal__close\"",
|
|
47
|
+
">",
|
|
48
|
+
"</button></div><div class=\"fb-modal__body\"><p class=\"muted\">",
|
|
49
|
+
"</p><label class=\"fb-import-dropzone\"><input id=\"import-file-input\" type=\"file\" accept=\".json\" hidden><!--$-->",
|
|
50
|
+
"<!--/--><span>",
|
|
51
|
+
"</span></label><!--$-->",
|
|
52
|
+
"<!--/--></div><div class=\"fb-modal__footer\"><button type=\"button\" class=\"btn btn-secondary\">",
|
|
53
|
+
"</button><button type=\"button\" class=\"btn btn-primary\"",
|
|
54
|
+
">",
|
|
55
|
+
"</button></div></div></div>"
|
|
56
|
+
];
|
|
57
|
+
var _tmpl$7 = [
|
|
58
|
+
"<div",
|
|
59
|
+
" class=\"fb-list\"><!--$-->",
|
|
60
|
+
"<!--/--><div class=\"fb-list__header\"><div><span class=\"fb-eyebrow\">",
|
|
61
|
+
"</span><h2>",
|
|
62
|
+
"</h2><p class=\"muted\">",
|
|
63
|
+
"</p></div><div class=\"fb-list__header-actions\"><label class=\"fb-import-btn\"><input type=\"file\" accept=\".json\" hidden><button type=\"button\" class=\"btn btn-secondary\"><!--$-->",
|
|
64
|
+
"<!--/--> <!--$-->",
|
|
65
|
+
"<!--/--></button></label><a class=\"btn btn-primary\" href=\"/settings/custom-fields/new\">+ <!--$-->",
|
|
66
|
+
"<!--/--></a></div></div><!--$-->",
|
|
67
|
+
"<!--/--><!--$-->",
|
|
68
|
+
"<!--/--></div>"
|
|
69
|
+
];
|
|
70
|
+
var _tmpl$8 = [
|
|
71
|
+
"<p",
|
|
72
|
+
" class=\"muted\">",
|
|
73
|
+
"</p>"
|
|
74
|
+
];
|
|
75
|
+
var _tmpl$9 = [
|
|
76
|
+
"<option",
|
|
77
|
+
"><!--$-->",
|
|
78
|
+
"<!--/--> (<!--$-->",
|
|
79
|
+
"<!--/-->)</option>"
|
|
80
|
+
];
|
|
81
|
+
var _tmpl$0 = [
|
|
82
|
+
"<div",
|
|
83
|
+
" class=\"fb-empty-groups\"><!--$-->",
|
|
84
|
+
"<!--/--><h4>",
|
|
85
|
+
"</h4><p class=\"muted\">",
|
|
86
|
+
"</p><a class=\"btn btn-primary\" href=\"/settings/custom-fields/new\">",
|
|
87
|
+
"</a></div>"
|
|
88
|
+
];
|
|
89
|
+
var _tmpl$1 = [
|
|
90
|
+
"<div",
|
|
91
|
+
" class=\"fb-groups-table__row\" role=\"button\" tabindex=\"0\"><div class=\"fb-groups-table__title\"><strong>",
|
|
92
|
+
"</strong><code>",
|
|
93
|
+
"</code></div><span class=\"fb-groups-table__desc muted\">",
|
|
94
|
+
"</span><span class=\"fb-groups-table__location\">",
|
|
95
|
+
"</span><span class=\"fb-groups-table__count\">",
|
|
96
|
+
"</span><span><span class=\"",
|
|
97
|
+
"\">",
|
|
98
|
+
"</span></span><div class=\"fb-groups-table__actions\"><button type=\"button\" class=\"fb-row-action\">",
|
|
99
|
+
"</button><button type=\"button\" class=\"fb-row-action\">",
|
|
100
|
+
"</button><button type=\"button\" class=\"fb-row-action\">",
|
|
101
|
+
"</button><button type=\"button\" class=\"fb-row-action\">",
|
|
102
|
+
"</button><button type=\"button\" class=\"fb-row-action is-danger\">",
|
|
103
|
+
"</button></div></div>"
|
|
104
|
+
];
|
|
105
|
+
/**
|
|
106
|
+
* Field-group list screen: an overview table (Title · Description · Key ·
|
|
107
|
+
* Location · Fields · Active) with row actions (Edit, Duplicate, Activate,
|
|
108
|
+
* Delete), a content-type filter, search, and an empty state.
|
|
109
|
+
*/
|
|
110
|
+
function FieldGroupList() {
|
|
111
|
+
const { t } = useTranslation();
|
|
112
|
+
const [groups, setGroups] = createSignal([]);
|
|
113
|
+
const [contentTypes, setContentTypes] = createSignal([]);
|
|
114
|
+
const [selectedType, setSelectedType] = createSignal("");
|
|
115
|
+
const [search, setSearch] = createSignal("");
|
|
116
|
+
const [loading, setLoading] = createSignal(true);
|
|
117
|
+
const [error, setError] = createSignal("");
|
|
118
|
+
onMount(async () => {
|
|
119
|
+
try {
|
|
120
|
+
const [types, summaries] = await Promise.all([apiClient.getContentTypes(), apiClient.getFieldGroups()]);
|
|
121
|
+
setContentTypes(types);
|
|
122
|
+
setGroups(summaries);
|
|
123
|
+
if (types[0]) setSelectedType(types[0].slug);
|
|
124
|
+
} catch (err) {
|
|
125
|
+
setError(err instanceof Error ? err.message : String(err));
|
|
126
|
+
} finally {
|
|
127
|
+
setLoading(false);
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
const groupTargets = (group) => [...new Set((group.locationRules ?? []).flat().filter((r) => r.param === "content_type" && r.operator === "eq" && r.value).map((r) => r.value))];
|
|
131
|
+
const locationSummary = (group) => {
|
|
132
|
+
const targets = groupTargets(group);
|
|
133
|
+
if (targets.length === 0) return t("settings.customFields.groups.allContentTypes");
|
|
134
|
+
return targets.map((slug) => contentTypes().find((type) => type.slug === slug)?.pluralLabel ?? slug).join(", ");
|
|
135
|
+
};
|
|
136
|
+
const filtered = createMemo(() => {
|
|
137
|
+
const q = search().trim().toLowerCase();
|
|
138
|
+
return groups().filter((group) => !group.key.startsWith("core-fields-")).filter((group) => {
|
|
139
|
+
const targets = groupTargets(group);
|
|
140
|
+
return (!selectedType() || targets.length === 0 || targets.includes(selectedType())) && (!q || group.title.toLowerCase().includes(q) || group.key.toLowerCase().includes(q));
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
const [importOpen, setImportOpen] = createSignal(false);
|
|
144
|
+
const [importFile, setImportFile] = createSignal(null);
|
|
145
|
+
const [importLoading, setImportLoading] = createSignal(false);
|
|
146
|
+
const A = (key) => t(`settings.customFields.actions.${key}`);
|
|
147
|
+
const G = (key) => t(`settings.customFields.groups.${key}`);
|
|
148
|
+
return ssr(_tmpl$7, ssrHydrationKey(), escape(createComponent(Show, {
|
|
149
|
+
get when() {
|
|
150
|
+
return error();
|
|
151
|
+
},
|
|
152
|
+
get children() {
|
|
153
|
+
return ssr(_tmpl$, ssrHydrationKey(), escape(error()));
|
|
154
|
+
}
|
|
155
|
+
})), escape(t("settings.customFields.listEyebrow")), escape(G("title")), escape(t("settings.customFields.description")), escape(createComponent(FbIcon, {
|
|
156
|
+
name: "upload",
|
|
157
|
+
"class": "fb-btn-icon"
|
|
158
|
+
})), escape(A("import")), escape(G("new")), escape(createComponent(Show, {
|
|
159
|
+
get when() {
|
|
160
|
+
return !loading();
|
|
161
|
+
},
|
|
162
|
+
get fallback() {
|
|
163
|
+
return ssr(_tmpl$8, ssrHydrationKey(), escape(t("settings.customFields.loading")));
|
|
164
|
+
},
|
|
165
|
+
get children() {
|
|
166
|
+
return [ssr(_tmpl$2, ssrHydrationKey(), escape(t("settings.customFields.contentType")), ssrAttribute("value", escape(selectedType(), true), false), escape(G("allContentTypes")), escape(createComponent(For, {
|
|
167
|
+
get each() {
|
|
168
|
+
return contentTypes();
|
|
169
|
+
},
|
|
170
|
+
children: (type) => ssr(_tmpl$9, ssrHydrationKey() + ssrAttribute("value", escape(type.slug, true), false), escape(type.pluralLabel), escape(type.slug))
|
|
171
|
+
})), ssrAttribute("placeholder", escape(G("search"), true), false) + ssrAttribute("value", escape(search(), true), false)), ssr(_tmpl$4, ssrHydrationKey(), escape(createComponent(Show, {
|
|
172
|
+
get when() {
|
|
173
|
+
return filtered().length > 0;
|
|
174
|
+
},
|
|
175
|
+
get fallback() {
|
|
176
|
+
return ssr(_tmpl$0, ssrHydrationKey(), escape(createComponent(FbIcon, {
|
|
177
|
+
name: "columns-3",
|
|
178
|
+
"class": "fb-empty-icon"
|
|
179
|
+
})), escape(G("empty")), escape(G("emptyHint")), escape(G("new")));
|
|
180
|
+
},
|
|
181
|
+
get children() {
|
|
182
|
+
return [ssr(_tmpl$3, ssrHydrationKey(), escape(G("groupName")), escape(t("settings.customFields.form.description")), escape(G("appliesTo")), escape(G("fields")), escape(G("status"))), createComponent(For, {
|
|
183
|
+
get each() {
|
|
184
|
+
return filtered();
|
|
185
|
+
},
|
|
186
|
+
children: (group) => ssr(_tmpl$1, ssrHydrationKey(), escape(group.title), escape(group.key), escape(String(group.metadata?.["description"] ?? "—")), escape(locationSummary(group)), escape(group.fieldCount), `badge ${group.active ? "badge-success" : ""} ${!group.active ? "badge-secondary" : ""}`, group.active ? escape(G("active")) : escape(G("inactive")), escape(A("edit")), escape(A("export")), escape(A("duplicate")), group.active ? escape(A("deactivate")) : escape(A("activate")), escape(A("delete")))
|
|
187
|
+
})];
|
|
188
|
+
}
|
|
189
|
+
})))];
|
|
190
|
+
}
|
|
191
|
+
})), escape(createComponent(Show, {
|
|
192
|
+
get when() {
|
|
193
|
+
return importOpen();
|
|
194
|
+
},
|
|
195
|
+
get children() {
|
|
196
|
+
return ssr(_tmpl$6, ssrHydrationKey(), escape(A("import")), ssrAttribute("aria-label", escape(t("common.close"), true), false), escape(createComponent(FbIcon, { name: "x" })), escape(t("settings.customFields.import.description")), escape(createComponent(FbIcon, {
|
|
197
|
+
name: "upload",
|
|
198
|
+
"class": "fb-dropzone-icon"
|
|
199
|
+
})), importFile() ? escape(importFile().name) : escape(t("settings.customFields.import.dropzone")), escape(createComponent(Show, {
|
|
200
|
+
get when() {
|
|
201
|
+
return importFile();
|
|
202
|
+
},
|
|
203
|
+
get children() {
|
|
204
|
+
return ssr(_tmpl$5, ssrHydrationKey(), escape(t("settings.customFields.import.hint")));
|
|
205
|
+
}
|
|
206
|
+
})), escape(t("common.cancel")), ssrAttribute("disabled", !importFile() || importLoading(), true), importLoading() ? escape(t("common.loading")) : escape(A("import")));
|
|
207
|
+
}
|
|
208
|
+
})));
|
|
209
|
+
}
|
|
210
|
+
//#endregion
|
|
211
|
+
//#region src/pages/settings/custom-fields.astro
|
|
212
|
+
var custom_fields_exports = /* @__PURE__ */ __exportAll({
|
|
213
|
+
default: () => $$CustomFields,
|
|
214
|
+
file: () => $$file,
|
|
215
|
+
url: () => $$url
|
|
216
|
+
});
|
|
217
|
+
createAstro("https://astro.build");
|
|
218
|
+
var $$CustomFields = createComponent$1(($$result, $$props, $$slots) => {
|
|
219
|
+
const Astro = $$result.createAstro($$props, $$slots);
|
|
220
|
+
Astro.self = $$CustomFields;
|
|
221
|
+
const { t } = Astro.locals;
|
|
222
|
+
return renderTemplate`${renderComponent($$result, "DashboardLayout", $$DashboardLayout, { "title": t("settings.customFields.title") }, { "default": ($$result) => renderTemplate`${maybeRenderHead($$result)}<div class="settings-page">${renderComponent($$result, "FieldGroupList", FieldGroupList, {
|
|
223
|
+
"client:load": true,
|
|
224
|
+
"client:component-hydration": "load",
|
|
225
|
+
"client:component-path": "/home/runner/work/cms/cms/apps/admin/src/components/field-builder/FieldGroupList.tsx",
|
|
226
|
+
"client:component-export": "FieldGroupList"
|
|
227
|
+
})}</div>` })}`;
|
|
228
|
+
}, "/home/runner/work/cms/cms/apps/admin/src/pages/settings/custom-fields.astro", void 0);
|
|
229
|
+
var $$file = "/home/runner/work/cms/cms/apps/admin/src/pages/settings/custom-fields.astro";
|
|
230
|
+
var $$url = "/settings/custom-fields";
|
|
231
|
+
//#endregion
|
|
232
|
+
//#region \0virtual:astro:page:src/pages/settings/custom-fields@_@astro
|
|
233
|
+
var page = () => custom_fields_exports;
|
|
234
|
+
//#endregion
|
|
235
|
+
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 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as ContentEditor } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.mjs";
|
|
5
|
+
import { t as ContentEditor } from "./ContentEditor_BWd9SjpC.mjs";
|
|
6
6
|
//#region src/pages/content/[type]/edit.astro
|
|
7
7
|
var edit_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
default: () => $$Edit,
|
|
@@ -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 { f as createMemo, i as Card, l as Select, m as onMount, 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_Co0XNC0I.mjs";
|
|
5
|
+
import { f as createMemo, i as Card, l as Select, m as onMount, o as Input, p as createSignal, r as Button, t as $$DashboardLayout, u as Show2 } from "./DashboardLayout_BgR_3Kmg.mjs";
|
|
6
6
|
import { createComponent, escape, memo, ssr, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
//#region src/components/apps/settings/GeneralSettings.tsx
|
|
8
8
|
var _tmpl$ = [
|
|
@@ -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_B8CUDeSz.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"),
|
|
@@ -302,6 +302,46 @@ var ApiClient = class {
|
|
|
302
302
|
}
|
|
303
303
|
return response.json();
|
|
304
304
|
}
|
|
305
|
+
/** Requisição genérica que retorna o Response bruto (para blobs, downloads, etc.). */
|
|
306
|
+
async requestRaw(method, path, body, headers, options) {
|
|
307
|
+
const url = `${this.baseUrl}${path}`;
|
|
308
|
+
const send = async () => {
|
|
309
|
+
const requestHeaders = {
|
|
310
|
+
"Content-Type": "application/json",
|
|
311
|
+
...headers
|
|
312
|
+
};
|
|
313
|
+
if (![
|
|
314
|
+
"GET",
|
|
315
|
+
"HEAD",
|
|
316
|
+
"OPTIONS"
|
|
317
|
+
].includes(method.toUpperCase())) {
|
|
318
|
+
const csrf = await this.ensureCsrfToken();
|
|
319
|
+
if (csrf) requestHeaders["x-csrf-token"] = csrf;
|
|
320
|
+
}
|
|
321
|
+
return fetch(url, {
|
|
322
|
+
method,
|
|
323
|
+
headers: requestHeaders,
|
|
324
|
+
credentials: "include",
|
|
325
|
+
body: body ? JSON.stringify(body) : void 0
|
|
326
|
+
});
|
|
327
|
+
};
|
|
328
|
+
let response = await send();
|
|
329
|
+
if (response.status === 401 && !options?.skipRefresh && !path.includes("/auth/refresh") && !path.includes("/auth/logout")) {
|
|
330
|
+
await this.refreshTokens();
|
|
331
|
+
response = await send();
|
|
332
|
+
}
|
|
333
|
+
if (response.status === 403 && !options?.skipCsrfRecovery) {
|
|
334
|
+
let errorCode = "";
|
|
335
|
+
try {
|
|
336
|
+
errorCode = (await (typeof response.clone === "function" ? response.clone() : response).json()).error ?? "";
|
|
337
|
+
} catch {}
|
|
338
|
+
if (errorCode === "CSRF_TOKEN_INVALID") {
|
|
339
|
+
await this.ensureCsrfToken(true);
|
|
340
|
+
response = await send();
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
return response;
|
|
344
|
+
}
|
|
305
345
|
/** Garante um token CSRF sincronizado com o cookie do browser. */
|
|
306
346
|
async ensureCsrfToken(force = false) {
|
|
307
347
|
const cookieToken = this.readCsrfCookie();
|
|
@@ -453,6 +493,14 @@ var ApiClient = class {
|
|
|
453
493
|
async getFieldGroup(id) {
|
|
454
494
|
return this.request("GET", `/api/v1/field-groups/${id}`);
|
|
455
495
|
}
|
|
496
|
+
async exportFieldGroup(id) {
|
|
497
|
+
const response = await this.requestRaw("GET", `/api/v1/field-groups/${id}/export`);
|
|
498
|
+
if (!response.ok) throw new Error(await response.text());
|
|
499
|
+
return response.blob();
|
|
500
|
+
}
|
|
501
|
+
async importFieldGroups(data) {
|
|
502
|
+
return this.request("POST", "/api/v1/field-groups/import", data);
|
|
503
|
+
}
|
|
456
504
|
async createFieldGroup(data) {
|
|
457
505
|
return this.request("POST", "/api/v1/field-groups", data);
|
|
458
506
|
}
|
|
@@ -1119,6 +1167,8 @@ var settings = {
|
|
|
1119
1167
|
"operator": "Operator",
|
|
1120
1168
|
"chooseValue": "Choose a value",
|
|
1121
1169
|
"valuePlaceholder": "Enter a value or slug",
|
|
1170
|
+
"showIf": "Show if",
|
|
1171
|
+
"removeRule": "Remove rule",
|
|
1122
1172
|
"required": "Add a value to every location rule.",
|
|
1123
1173
|
"addRule": "Add condition",
|
|
1124
1174
|
"addGroup": "Add OR group",
|
|
@@ -1176,6 +1226,8 @@ var settings = {
|
|
|
1176
1226
|
"editTitle": "Edit field group",
|
|
1177
1227
|
"title": "Group name",
|
|
1178
1228
|
"titlePlaceholder": "Example: Product details",
|
|
1229
|
+
"displayTitle": "Display title",
|
|
1230
|
+
"active": "Active",
|
|
1179
1231
|
"backToGroups": "Back to groups",
|
|
1180
1232
|
"editorEyebrow": "Field builder",
|
|
1181
1233
|
"groupTitleHint": "This name identifies the field set inside the content editor.",
|
|
@@ -1183,7 +1235,7 @@ var settings = {
|
|
|
1183
1235
|
"fieldsDescription": "Add, configure and order fields. Use the six-dot handle to drag without losing their position.",
|
|
1184
1236
|
"noFields": "This group has no fields yet.",
|
|
1185
1237
|
"settingsTitle": "Group settings",
|
|
1186
|
-
"settingsDescription": "Presentation and panel visibility options
|
|
1238
|
+
"settingsDescription": "Presentation and panel visibility options for this panel.",
|
|
1187
1239
|
"description": "Description",
|
|
1188
1240
|
"labelPlacement": "Label placement",
|
|
1189
1241
|
"instructionPlacement": "Instruction placement",
|
|
@@ -1205,7 +1257,7 @@ var settings = {
|
|
|
1205
1257
|
"positions": {
|
|
1206
1258
|
"normal": "Normal",
|
|
1207
1259
|
"side": "Sidebar",
|
|
1208
|
-
"
|
|
1260
|
+
"after_title": "After title"
|
|
1209
1261
|
},
|
|
1210
1262
|
"displayStyle": "Display style",
|
|
1211
1263
|
"displayStyles": {
|
|
@@ -1243,6 +1295,12 @@ var settings = {
|
|
|
1243
1295
|
"deleted": "Field group deleted."
|
|
1244
1296
|
},
|
|
1245
1297
|
"listEyebrow": "Content structure",
|
|
1298
|
+
"validation": { "titleRequired": "Group name is required." },
|
|
1299
|
+
"tabs": {
|
|
1300
|
+
"locationRules": "Location rules",
|
|
1301
|
+
"presentation": "Presentation",
|
|
1302
|
+
"groupSettings": "Group settings"
|
|
1303
|
+
},
|
|
1246
1304
|
"fieldSettings": {
|
|
1247
1305
|
"general": "General",
|
|
1248
1306
|
"fieldLabel": "Field label",
|
|
@@ -1332,6 +1390,29 @@ var settings = {
|
|
|
1332
1390
|
"addCondition": "Add condition",
|
|
1333
1391
|
"addConditionGroup": "Add OR group",
|
|
1334
1392
|
"conditionsAnd": "Conditions in this group use AND.",
|
|
1393
|
+
"choicesHint": "One choice per line in the format value|Label.",
|
|
1394
|
+
"cloneSource": "Source group or field",
|
|
1395
|
+
"cloneSourceHint": "Field group key or field name to copy fields from.",
|
|
1396
|
+
"requiredOn": "Required",
|
|
1397
|
+
"requiredOff": "Not required",
|
|
1398
|
+
"libraryAll": "All",
|
|
1399
|
+
"libraryUploaded": "Uploaded to this post",
|
|
1400
|
+
"ui": "Enhanced UI",
|
|
1401
|
+
"uiHint": "Use enhanced styling for the dropdown.",
|
|
1402
|
+
"wrapperClass": "Wrapper class",
|
|
1403
|
+
"wrapperWidthHint": "CSS width of the field wrapper, e.g. 50%.",
|
|
1404
|
+
"collapsedHint": "Name of the sub-field used as the row title.",
|
|
1405
|
+
"conditionalActive": "Active",
|
|
1406
|
+
"showIf": "Show if",
|
|
1407
|
+
"removeRule": "Remove rule",
|
|
1408
|
+
"and": "AND",
|
|
1409
|
+
"or": "OR",
|
|
1410
|
+
"noLayouts": "No layouts yet.",
|
|
1411
|
+
"validation": "Validation",
|
|
1412
|
+
"advanced": "Advanced",
|
|
1413
|
+
"fieldType": "Type",
|
|
1414
|
+
"fieldNameHint": "Letters, numbers and underscores only.",
|
|
1415
|
+
"ariaLabel": "Field settings",
|
|
1335
1416
|
"operators": {
|
|
1336
1417
|
"eq": "equals",
|
|
1337
1418
|
"neq": "does not equal",
|
|
@@ -1344,7 +1425,18 @@ var settings = {
|
|
|
1344
1425
|
},
|
|
1345
1426
|
"actions": {
|
|
1346
1427
|
"delete": "Delete",
|
|
1347
|
-
"confirmDelete": "Delete this field group?"
|
|
1428
|
+
"confirmDelete": "Delete this field group?",
|
|
1429
|
+
"edit": "Edit",
|
|
1430
|
+
"duplicate": "Duplicate",
|
|
1431
|
+
"activate": "Activate",
|
|
1432
|
+
"deactivate": "Deactivate",
|
|
1433
|
+
"export": "Export",
|
|
1434
|
+
"import": "Import"
|
|
1435
|
+
},
|
|
1436
|
+
"import": {
|
|
1437
|
+
"description": "Import field groups from a JSON file. The file must contain a field group object or an array of field group objects. Existing groups with the same key will be updated; new groups will be created.",
|
|
1438
|
+
"dropzone": "Click to select a .json file, or drag and drop here",
|
|
1439
|
+
"hint": "File selected. Click Import to proceed."
|
|
1348
1440
|
},
|
|
1349
1441
|
"loading": "Loading custom fields…",
|
|
1350
1442
|
"loadError": "Could not load custom fields."
|
|
@@ -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_BgR_3Kmg.mjs";
|
|
5
5
|
//#region src/pages/settings/index.astro
|
|
6
6
|
var settings_exports = /* @__PURE__ */ __exportAll({
|
|
7
7
|
default: () => $$Index,
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { 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_Co0XNC0I.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_BgR_3Kmg.mjs";
|
|
6
|
+
import { t as ContentEditor } from "./ContentEditor_BWd9SjpC.mjs";
|
|
7
7
|
import { createComponent, escape, memo, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
8
8
|
import { Show, createMemo, createSignal, onMount } from "solid-js";
|
|
9
9
|
//#region src/components/content/ContentList.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { 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_Co0XNC0I.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_BgR_3Kmg.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
//#region src/components/apps/users/UsersManager.tsx
|
|
8
8
|
var _tmpl$ = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as MediaLibrary } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.mjs";
|
|
5
|
+
import { t as MediaLibrary } from "./MediaLibrary_DjCznDtr.mjs";
|
|
6
6
|
//#region src/pages/media/index.astro
|
|
7
7
|
var media_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
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_Co0XNC0I.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.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 { n as renderScript, t as $$BaseLayout } from "./
|
|
4
|
+
import { n as renderScript, t as $$BaseLayout } from "./BaseLayout_CHj9u5wO.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, 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_Co0XNC0I.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/settings/LogsManager.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_Co0XNC0I.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.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, 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_Co0XNC0I.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/users/UserCreateForm.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as ContentEditor } from "./
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.mjs";
|
|
5
|
+
import { t as ContentEditor } from "./ContentEditor_BWd9SjpC.mjs";
|
|
6
6
|
//#region src/pages/content/[type]/new.astro
|
|
7
7
|
var new_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
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_Co0XNC0I.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey } from "solid-js/web";
|
|
7
7
|
import { For, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/plugins/PluginManager.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
2
|
import { S as createAstro, d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
3
|
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
-
import { n as useTranslation, r as apiClient } from "./
|
|
5
|
-
import { t as $$DashboardLayout } from "./
|
|
4
|
+
import { n as useTranslation, r as apiClient } from "./i18n_Co0XNC0I.mjs";
|
|
5
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BgR_3Kmg.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
|