@firecms/core 3.3.0-canary.040c21c → 3.3.0-canary.3ea2cd2
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/index.es.js +59 -46
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +59 -46
- package/dist/index.umd.js.map +1 -1
- package/dist/types/translations.d.ts +2 -2
- package/package.json +3 -3
- package/src/components/HomePage/NavigationCardBinding.tsx +6 -3
- package/src/core/DefaultDrawer.tsx +1 -1
- package/src/locales/de.ts +2 -2
- package/src/locales/en.ts +2 -2
- package/src/locales/es.ts +2 -2
- package/src/locales/fr.ts +2 -2
- package/src/locales/hi.ts +2 -2
- package/src/locales/it.ts +2 -2
- package/src/locales/pt.ts +2 -2
- package/src/types/translations.ts +2 -2
package/dist/index.es.js
CHANGED
|
@@ -20915,7 +20915,7 @@ function SmallNavigationCard(t0) {
|
|
|
20915
20915
|
return t5;
|
|
20916
20916
|
}
|
|
20917
20917
|
function NavigationCardBinding(t0) {
|
|
20918
|
-
const $ = c(
|
|
20918
|
+
const $ = c(38);
|
|
20919
20919
|
const {
|
|
20920
20920
|
path,
|
|
20921
20921
|
collection,
|
|
@@ -20928,6 +20928,9 @@ function NavigationCardBinding(t0) {
|
|
|
20928
20928
|
shrink
|
|
20929
20929
|
} = t0;
|
|
20930
20930
|
const userConfigurationPersistence = useUserConfigurationPersistence();
|
|
20931
|
+
const {
|
|
20932
|
+
t
|
|
20933
|
+
} = useTranslation();
|
|
20931
20934
|
const t1 = collection ?? view;
|
|
20932
20935
|
let t2;
|
|
20933
20936
|
if ($[0] !== t1) {
|
|
@@ -21000,51 +21003,61 @@ function NavigationCardBinding(t0) {
|
|
|
21000
21003
|
t5 = $[13];
|
|
21001
21004
|
}
|
|
21002
21005
|
const actions = t5;
|
|
21006
|
+
let t6;
|
|
21007
|
+
if ($[18] !== name || $[19] !== t) {
|
|
21008
|
+
t6 = t(name);
|
|
21009
|
+
$[18] = name;
|
|
21010
|
+
$[19] = t;
|
|
21011
|
+
$[20] = t6;
|
|
21012
|
+
} else {
|
|
21013
|
+
t6 = $[20];
|
|
21014
|
+
}
|
|
21015
|
+
const translatedName = t6;
|
|
21003
21016
|
if (type === "admin") {
|
|
21004
|
-
let
|
|
21005
|
-
if ($[
|
|
21006
|
-
|
|
21007
|
-
$[
|
|
21008
|
-
$[
|
|
21009
|
-
$[
|
|
21010
|
-
$[
|
|
21017
|
+
let t72;
|
|
21018
|
+
if ($[21] !== collectionIcon || $[22] !== translatedName || $[23] !== url) {
|
|
21019
|
+
t72 = /* @__PURE__ */ jsx(SmallNavigationCard, { icon: collectionIcon, name: translatedName, url });
|
|
21020
|
+
$[21] = collectionIcon;
|
|
21021
|
+
$[22] = translatedName;
|
|
21022
|
+
$[23] = url;
|
|
21023
|
+
$[24] = t72;
|
|
21011
21024
|
} else {
|
|
21012
|
-
|
|
21025
|
+
t72 = $[24];
|
|
21013
21026
|
}
|
|
21014
|
-
return
|
|
21027
|
+
return t72;
|
|
21015
21028
|
}
|
|
21016
|
-
let
|
|
21017
|
-
if ($[
|
|
21018
|
-
|
|
21029
|
+
let t7;
|
|
21030
|
+
if ($[25] !== navigate || $[26] !== onClick || $[27] !== path || $[28] !== url || $[29] !== userConfigurationPersistence) {
|
|
21031
|
+
t7 = () => {
|
|
21019
21032
|
onClick?.();
|
|
21020
21033
|
navigate(url);
|
|
21021
21034
|
if (userConfigurationPersistence) {
|
|
21022
21035
|
userConfigurationPersistence.setRecentlyVisitedPaths([path, ...(userConfigurationPersistence.recentlyVisitedPaths ?? []).filter((p_0) => p_0 !== path)]);
|
|
21023
21036
|
}
|
|
21024
21037
|
};
|
|
21025
|
-
$[
|
|
21026
|
-
$[
|
|
21027
|
-
$[
|
|
21028
|
-
$[
|
|
21029
|
-
$[
|
|
21030
|
-
$[
|
|
21038
|
+
$[25] = navigate;
|
|
21039
|
+
$[26] = onClick;
|
|
21040
|
+
$[27] = path;
|
|
21041
|
+
$[28] = url;
|
|
21042
|
+
$[29] = userConfigurationPersistence;
|
|
21043
|
+
$[30] = t7;
|
|
21031
21044
|
} else {
|
|
21032
|
-
|
|
21045
|
+
t7 = $[30];
|
|
21033
21046
|
}
|
|
21034
|
-
let
|
|
21035
|
-
if ($[
|
|
21036
|
-
|
|
21037
|
-
$[
|
|
21038
|
-
$[
|
|
21039
|
-
$[
|
|
21040
|
-
$[
|
|
21041
|
-
$[
|
|
21042
|
-
$[
|
|
21043
|
-
$[
|
|
21047
|
+
let t8;
|
|
21048
|
+
if ($[31] !== actions || $[32] !== collectionIcon || $[33] !== description || $[34] !== shrink || $[35] !== t7 || $[36] !== translatedName) {
|
|
21049
|
+
t8 = /* @__PURE__ */ jsx(NavigationCard, { icon: collectionIcon, name: translatedName, description, actions, onClick: t7, shrink });
|
|
21050
|
+
$[31] = actions;
|
|
21051
|
+
$[32] = collectionIcon;
|
|
21052
|
+
$[33] = description;
|
|
21053
|
+
$[34] = shrink;
|
|
21054
|
+
$[35] = t7;
|
|
21055
|
+
$[36] = translatedName;
|
|
21056
|
+
$[37] = t8;
|
|
21044
21057
|
} else {
|
|
21045
|
-
|
|
21058
|
+
t8 = $[37];
|
|
21046
21059
|
}
|
|
21047
|
-
return
|
|
21060
|
+
return t8;
|
|
21048
21061
|
}
|
|
21049
21062
|
const animateLayoutChanges = (args) => defaultAnimateLayoutChanges({
|
|
21050
21063
|
...args,
|
|
@@ -33068,8 +33081,8 @@ const en = {
|
|
|
33068
33081
|
cms_users: "CMS Users",
|
|
33069
33082
|
roles_menu: "Roles",
|
|
33070
33083
|
project_settings: "Project settings",
|
|
33071
|
-
|
|
33072
|
-
|
|
33084
|
+
firestore_manager: "Firestore Manager",
|
|
33085
|
+
manage_your_firestore_data: "Manage your Firestore data",
|
|
33073
33086
|
// ─── FireCMS Cloud Login ──────────────────────────────────────
|
|
33074
33087
|
build_admin_panel_in_minutes: "Build Your Firebase Admin Panel in Minutes",
|
|
33075
33088
|
go_live_instantly: "Go live instantly:",
|
|
@@ -33739,8 +33752,8 @@ const es = {
|
|
|
33739
33752
|
cms_users: "Usuarios del CMS",
|
|
33740
33753
|
roles_menu: "Roles",
|
|
33741
33754
|
project_settings: "Ajustes del proyecto",
|
|
33742
|
-
|
|
33743
|
-
|
|
33755
|
+
firestore_manager: "Gestor de Firestore",
|
|
33756
|
+
manage_your_firestore_data: "Gestiona tus datos de Firestore",
|
|
33744
33757
|
// ─── FireCMS Cloud Login ──────────────────────────────────────
|
|
33745
33758
|
build_admin_panel_in_minutes: "Crea tu panel de administración de Firebase en minutos",
|
|
33746
33759
|
go_live_instantly: "En vivo al instante:",
|
|
@@ -34410,8 +34423,8 @@ const de = {
|
|
|
34410
34423
|
cms_users: "CMS-Benutzer",
|
|
34411
34424
|
roles_menu: "Rollen",
|
|
34412
34425
|
project_settings: "Projekteinstellungen",
|
|
34413
|
-
|
|
34414
|
-
|
|
34426
|
+
firestore_manager: "Firestore-Manager",
|
|
34427
|
+
manage_your_firestore_data: "Deine Firestore-Daten verwalten",
|
|
34415
34428
|
// ─── FireCMS Cloud Login ──────────────────────────────────────
|
|
34416
34429
|
build_admin_panel_in_minutes: "Erstellen Sie Ihr Firebase Admin Panel in wenigen Minuten",
|
|
34417
34430
|
go_live_instantly: "Sofort live gehen:",
|
|
@@ -35079,8 +35092,8 @@ const fr = {
|
|
|
35079
35092
|
cms_users: "Utilisateurs du CMS",
|
|
35080
35093
|
roles_menu: "Rôles",
|
|
35081
35094
|
project_settings: "Paramètres du projet",
|
|
35082
|
-
|
|
35083
|
-
|
|
35095
|
+
firestore_manager: "Gestionnaire Firestore",
|
|
35096
|
+
manage_your_firestore_data: "Gérez vos données Firestore",
|
|
35084
35097
|
// ─── FireCMS Cloud Login ──────────────────────────────────────
|
|
35085
35098
|
build_admin_panel_in_minutes: "Créez votre panneau d'administration Firebase en quelques minutes",
|
|
35086
35099
|
go_live_instantly: "Mise en ligne immédiate :",
|
|
@@ -35748,8 +35761,8 @@ const it = {
|
|
|
35748
35761
|
cms_users: "Utenti CMS",
|
|
35749
35762
|
roles_menu: "Ruoli",
|
|
35750
35763
|
project_settings: "Impostazioni del progetto",
|
|
35751
|
-
|
|
35752
|
-
|
|
35764
|
+
firestore_manager: "Gestore Firestore",
|
|
35765
|
+
manage_your_firestore_data: "Gestisci i tuoi dati Firestore",
|
|
35753
35766
|
// ─── FireCMS Cloud Login ──────────────────────────────────────
|
|
35754
35767
|
build_admin_panel_in_minutes: "Crea il tuo pannello di amministrazione Firebase in pochi minuti",
|
|
35755
35768
|
go_live_instantly: "Online in un istante:",
|
|
@@ -36417,8 +36430,8 @@ const hi = {
|
|
|
36417
36430
|
cms_users: "CMS उपयोगकर्ता",
|
|
36418
36431
|
roles_menu: "भूमिकाएँ",
|
|
36419
36432
|
project_settings: "परियोजना सेटिंग",
|
|
36420
|
-
|
|
36421
|
-
|
|
36433
|
+
firestore_manager: "Firestore मैनेजर",
|
|
36434
|
+
manage_your_firestore_data: "अपने Firestore डेटा का प्रबंधन करें",
|
|
36422
36435
|
// ─── FireCMS Cloud Login ──────────────────────────────────────
|
|
36423
36436
|
build_admin_panel_in_minutes: "मिनटों में अपना Firebase एडमिन पैनल बनाएं",
|
|
36424
36437
|
go_live_instantly: "तुरंत लाइव जाएं:",
|
|
@@ -37086,8 +37099,8 @@ const pt = {
|
|
|
37086
37099
|
cms_users: "Utilizadores do CMS",
|
|
37087
37100
|
roles_menu: "Funções",
|
|
37088
37101
|
project_settings: "Definições do projeto",
|
|
37089
|
-
|
|
37090
|
-
|
|
37102
|
+
firestore_manager: "Gerenciador do Firestore",
|
|
37103
|
+
manage_your_firestore_data: "Gerencie os seus dados do Firestore",
|
|
37091
37104
|
// ─── FireCMS Cloud Login ──────────────────────────────────────
|
|
37092
37105
|
build_admin_panel_in_minutes: "Construa o Seu Painel de Administração Firebase em Minutos",
|
|
37093
37106
|
go_live_instantly: "Entre em produção instantaneamente:",
|