@firecms/core 3.3.0-canary.040c21c → 3.3.0-canary.102f274

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.umd.js CHANGED
@@ -20892,7 +20892,7 @@
20892
20892
  return t5;
20893
20893
  }
20894
20894
  function NavigationCardBinding(t0) {
20895
- const $ = reactCompilerRuntime.c(35);
20895
+ const $ = reactCompilerRuntime.c(38);
20896
20896
  const {
20897
20897
  path,
20898
20898
  collection,
@@ -20905,6 +20905,9 @@
20905
20905
  shrink
20906
20906
  } = t0;
20907
20907
  const userConfigurationPersistence = useUserConfigurationPersistence();
20908
+ const {
20909
+ t
20910
+ } = useTranslation();
20908
20911
  const t1 = collection ?? view;
20909
20912
  let t2;
20910
20913
  if ($[0] !== t1) {
@@ -20977,51 +20980,61 @@
20977
20980
  t5 = $[13];
20978
20981
  }
20979
20982
  const actions = t5;
20983
+ let t6;
20984
+ if ($[18] !== name || $[19] !== t) {
20985
+ t6 = t(name);
20986
+ $[18] = name;
20987
+ $[19] = t;
20988
+ $[20] = t6;
20989
+ } else {
20990
+ t6 = $[20];
20991
+ }
20992
+ const translatedName = t6;
20980
20993
  if (type === "admin") {
20981
- let t62;
20982
- if ($[18] !== collectionIcon || $[19] !== name || $[20] !== url) {
20983
- t62 = /* @__PURE__ */ jsxRuntime.jsx(SmallNavigationCard, { icon: collectionIcon, name, url });
20984
- $[18] = collectionIcon;
20985
- $[19] = name;
20986
- $[20] = url;
20987
- $[21] = t62;
20994
+ let t72;
20995
+ if ($[21] !== collectionIcon || $[22] !== translatedName || $[23] !== url) {
20996
+ t72 = /* @__PURE__ */ jsxRuntime.jsx(SmallNavigationCard, { icon: collectionIcon, name: translatedName, url });
20997
+ $[21] = collectionIcon;
20998
+ $[22] = translatedName;
20999
+ $[23] = url;
21000
+ $[24] = t72;
20988
21001
  } else {
20989
- t62 = $[21];
21002
+ t72 = $[24];
20990
21003
  }
20991
- return t62;
21004
+ return t72;
20992
21005
  }
20993
- let t6;
20994
- if ($[22] !== navigate || $[23] !== onClick || $[24] !== path || $[25] !== url || $[26] !== userConfigurationPersistence) {
20995
- t6 = () => {
21006
+ let t7;
21007
+ if ($[25] !== navigate || $[26] !== onClick || $[27] !== path || $[28] !== url || $[29] !== userConfigurationPersistence) {
21008
+ t7 = () => {
20996
21009
  onClick?.();
20997
21010
  navigate(url);
20998
21011
  if (userConfigurationPersistence) {
20999
21012
  userConfigurationPersistence.setRecentlyVisitedPaths([path, ...(userConfigurationPersistence.recentlyVisitedPaths ?? []).filter((p_0) => p_0 !== path)]);
21000
21013
  }
21001
21014
  };
21002
- $[22] = navigate;
21003
- $[23] = onClick;
21004
- $[24] = path;
21005
- $[25] = url;
21006
- $[26] = userConfigurationPersistence;
21007
- $[27] = t6;
21015
+ $[25] = navigate;
21016
+ $[26] = onClick;
21017
+ $[27] = path;
21018
+ $[28] = url;
21019
+ $[29] = userConfigurationPersistence;
21020
+ $[30] = t7;
21008
21021
  } else {
21009
- t6 = $[27];
21022
+ t7 = $[30];
21010
21023
  }
21011
- let t7;
21012
- if ($[28] !== actions || $[29] !== collectionIcon || $[30] !== description || $[31] !== name || $[32] !== shrink || $[33] !== t6) {
21013
- t7 = /* @__PURE__ */ jsxRuntime.jsx(NavigationCard, { icon: collectionIcon, name, description, actions, onClick: t6, shrink });
21014
- $[28] = actions;
21015
- $[29] = collectionIcon;
21016
- $[30] = description;
21017
- $[31] = name;
21018
- $[32] = shrink;
21019
- $[33] = t6;
21020
- $[34] = t7;
21024
+ let t8;
21025
+ if ($[31] !== actions || $[32] !== collectionIcon || $[33] !== description || $[34] !== shrink || $[35] !== t7 || $[36] !== translatedName) {
21026
+ t8 = /* @__PURE__ */ jsxRuntime.jsx(NavigationCard, { icon: collectionIcon, name: translatedName, description, actions, onClick: t7, shrink });
21027
+ $[31] = actions;
21028
+ $[32] = collectionIcon;
21029
+ $[33] = description;
21030
+ $[34] = shrink;
21031
+ $[35] = t7;
21032
+ $[36] = translatedName;
21033
+ $[37] = t8;
21021
21034
  } else {
21022
- t7 = $[34];
21035
+ t8 = $[37];
21023
21036
  }
21024
- return t7;
21037
+ return t8;
21025
21038
  }
21026
21039
  const animateLayoutChanges = (args) => sortable.defaultAnimateLayoutChanges({
21027
21040
  ...args,
@@ -33045,8 +33058,8 @@
33045
33058
  cms_users: "CMS Users",
33046
33059
  roles_menu: "Roles",
33047
33060
  project_settings: "Project settings",
33048
- firestore_explorer: "Firestore Explorer",
33049
- explore_your_firestore_data: "Explore your Firestore data",
33061
+ firestore_manager: "Firestore Manager",
33062
+ manage_your_firestore_data: "Manage your Firestore data",
33050
33063
  // ─── FireCMS Cloud Login ──────────────────────────────────────
33051
33064
  build_admin_panel_in_minutes: "Build Your Firebase Admin Panel in Minutes",
33052
33065
  go_live_instantly: "Go live instantly:",
@@ -33716,8 +33729,8 @@
33716
33729
  cms_users: "Usuarios del CMS",
33717
33730
  roles_menu: "Roles",
33718
33731
  project_settings: "Ajustes del proyecto",
33719
- firestore_explorer: "Explorador de Firestore",
33720
- explore_your_firestore_data: "Explora tus datos de Firestore",
33732
+ firestore_manager: "Gestor de Firestore",
33733
+ manage_your_firestore_data: "Gestiona tus datos de Firestore",
33721
33734
  // ─── FireCMS Cloud Login ──────────────────────────────────────
33722
33735
  build_admin_panel_in_minutes: "Crea tu panel de administración de Firebase en minutos",
33723
33736
  go_live_instantly: "En vivo al instante:",
@@ -34387,8 +34400,8 @@
34387
34400
  cms_users: "CMS-Benutzer",
34388
34401
  roles_menu: "Rollen",
34389
34402
  project_settings: "Projekteinstellungen",
34390
- firestore_explorer: "Firestore-Explorer",
34391
- explore_your_firestore_data: "Deine Firestore-Daten durchsuchen",
34403
+ firestore_manager: "Firestore-Manager",
34404
+ manage_your_firestore_data: "Deine Firestore-Daten verwalten",
34392
34405
  // ─── FireCMS Cloud Login ──────────────────────────────────────
34393
34406
  build_admin_panel_in_minutes: "Erstellen Sie Ihr Firebase Admin Panel in wenigen Minuten",
34394
34407
  go_live_instantly: "Sofort live gehen:",
@@ -35056,8 +35069,8 @@
35056
35069
  cms_users: "Utilisateurs du CMS",
35057
35070
  roles_menu: "Rôles",
35058
35071
  project_settings: "Paramètres du projet",
35059
- firestore_explorer: "Explorateur Firestore",
35060
- explore_your_firestore_data: "Explorez vos données Firestore",
35072
+ firestore_manager: "Gestionnaire Firestore",
35073
+ manage_your_firestore_data: "Gérez vos données Firestore",
35061
35074
  // ─── FireCMS Cloud Login ──────────────────────────────────────
35062
35075
  build_admin_panel_in_minutes: "Créez votre panneau d'administration Firebase en quelques minutes",
35063
35076
  go_live_instantly: "Mise en ligne immédiate :",
@@ -35725,8 +35738,8 @@
35725
35738
  cms_users: "Utenti CMS",
35726
35739
  roles_menu: "Ruoli",
35727
35740
  project_settings: "Impostazioni del progetto",
35728
- firestore_explorer: "Esplora Firestore",
35729
- explore_your_firestore_data: "Esplora i tuoi dati Firestore",
35741
+ firestore_manager: "Gestore Firestore",
35742
+ manage_your_firestore_data: "Gestisci i tuoi dati Firestore",
35730
35743
  // ─── FireCMS Cloud Login ──────────────────────────────────────
35731
35744
  build_admin_panel_in_minutes: "Crea il tuo pannello di amministrazione Firebase in pochi minuti",
35732
35745
  go_live_instantly: "Online in un istante:",
@@ -36394,8 +36407,8 @@
36394
36407
  cms_users: "CMS उपयोगकर्ता",
36395
36408
  roles_menu: "भूमिकाएँ",
36396
36409
  project_settings: "परियोजना सेटिंग",
36397
- firestore_explorer: "Firestore एक्सप्लोरर",
36398
- explore_your_firestore_data: "अपने Firestore डेटा का अन्वेषण करें",
36410
+ firestore_manager: "Firestore मैनेजर",
36411
+ manage_your_firestore_data: "अपने Firestore डेटा का प्रबंधन करें",
36399
36412
  // ─── FireCMS Cloud Login ──────────────────────────────────────
36400
36413
  build_admin_panel_in_minutes: "मिनटों में अपना Firebase एडमिन पैनल बनाएं",
36401
36414
  go_live_instantly: "तुरंत लाइव जाएं:",
@@ -37063,8 +37076,8 @@
37063
37076
  cms_users: "Utilizadores do CMS",
37064
37077
  roles_menu: "Funções",
37065
37078
  project_settings: "Definições do projeto",
37066
- firestore_explorer: "Explorador do Firestore",
37067
- explore_your_firestore_data: "Explore os seus dados do Firestore",
37079
+ firestore_manager: "Gerenciador do Firestore",
37080
+ manage_your_firestore_data: "Gerencie os seus dados do Firestore",
37068
37081
  // ─── FireCMS Cloud Login ──────────────────────────────────────
37069
37082
  build_admin_panel_in_minutes: "Construa o Seu Painel de Administração Firebase em Minutos",
37070
37083
  go_live_instantly: "Entre em produção instantaneamente:",