pcm-shared-components 2.1.497 → 2.1.499
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.
|
@@ -12,7 +12,8 @@ export const HelpButton = props => {
|
|
|
12
12
|
tooltipText,
|
|
13
13
|
size,
|
|
14
14
|
iconSize,
|
|
15
|
-
theme
|
|
15
|
+
theme,
|
|
16
|
+
onClickOverride
|
|
16
17
|
} = props;
|
|
17
18
|
const compTheme = theme ? theme : useTheme();
|
|
18
19
|
const defaultTheme = createTheme(compTheme);
|
|
@@ -28,7 +29,11 @@ export const HelpButton = props => {
|
|
|
28
29
|
variant: 'circular',
|
|
29
30
|
theme: compTheme,
|
|
30
31
|
onClick: () => {
|
|
31
|
-
|
|
32
|
+
if (onClickOverride) {
|
|
33
|
+
onClickOverride();
|
|
34
|
+
} else {
|
|
35
|
+
window.open(onClickLink, "_blank");
|
|
36
|
+
}
|
|
32
37
|
}
|
|
33
38
|
}));
|
|
34
39
|
};
|
|
@@ -40,7 +45,8 @@ HelpButton.defaultProps = {
|
|
|
40
45
|
tooltipText: '',
|
|
41
46
|
size: 'large',
|
|
42
47
|
iconSize: 24,
|
|
43
|
-
theme: undefined
|
|
48
|
+
theme: undefined,
|
|
49
|
+
onClickOverride: undefined
|
|
44
50
|
};
|
|
45
51
|
HelpButton.propTypes = {
|
|
46
52
|
/** On click link, it's the URL to navigate too */
|
|
@@ -57,5 +63,7 @@ HelpButton.propTypes = {
|
|
|
57
63
|
size: PropTypes.oneOf(['x-small', 'small', 'medium', 'large']),
|
|
58
64
|
/** Theme object to use on this component, if none provided then the MUI5 theme provider theme is used*/
|
|
59
65
|
|
|
60
|
-
theme: PropTypes.object
|
|
66
|
+
theme: PropTypes.object,
|
|
67
|
+
/** Overrides the default window.open navigation when provided, e.g. for opening an in-app panel instead of an external tab */
|
|
68
|
+
onClickOverride: PropTypes.func
|
|
61
69
|
};
|
|
@@ -1728,7 +1728,30 @@
|
|
|
1728
1728
|
"email_via_pitchcamp_description": "Send this link by email to your guest.",
|
|
1729
1729
|
"email_recipient_past_clients_heading": "Past clients for this lot",
|
|
1730
1730
|
"email_recipient_past_clients_helper": "Select Add to include a client in the To field.",
|
|
1731
|
-
"email_recipient_show_all_clients": "Show all clients"
|
|
1731
|
+
"email_recipient_show_all_clients": "Show all clients",
|
|
1732
|
+
"search_documentation": "Search Documentation",
|
|
1733
|
+
"search_documentation_placeholder": "Search documentation...",
|
|
1734
|
+
"no_documentation_results": "No documentation results",
|
|
1735
|
+
"copy_client_link": "Copy client link",
|
|
1736
|
+
"search_documentation_all_topics": "All topics",
|
|
1737
|
+
"search_documentation_start_typing": "Start typing to search documentation",
|
|
1738
|
+
"search_documentation_navigate": "Navigate",
|
|
1739
|
+
"search_documentation_open": "Open",
|
|
1740
|
+
"search_documentation_esc_key": "Esc",
|
|
1741
|
+
"search_documentation_browse_all": "Browse all documentation",
|
|
1742
|
+
"search_category_reservations": "Reservations",
|
|
1743
|
+
"search_category_clients": "Clients",
|
|
1744
|
+
"search_category_pos": "POS",
|
|
1745
|
+
"search_category_till": "Till",
|
|
1746
|
+
"search_category_lots": "Lots",
|
|
1747
|
+
"search_category_gates": "Gates",
|
|
1748
|
+
"search_category_meters": "Meters",
|
|
1749
|
+
"search_category_config": "Config",
|
|
1750
|
+
"search_category_reports": "Reports",
|
|
1751
|
+
"search_category_dashboard": "Dashboard",
|
|
1752
|
+
"search_category_admin": "Admin",
|
|
1753
|
+
"search_category_howto": "How To",
|
|
1754
|
+
"search_category_troubleshooting": "Troubleshooting"
|
|
1732
1755
|
},
|
|
1733
1756
|
"connectivity": {
|
|
1734
1757
|
"offline-action-blocked": "You're offline. This action needs an internet connection and isn't available right now. It will work again once you're back online.",
|
|
@@ -5826,4 +5849,4 @@
|
|
|
5826
5849
|
"version_heading": "Version {{version}}",
|
|
5827
5850
|
"view_full_release_notes": "View full release notes"
|
|
5828
5851
|
}
|
|
5829
|
-
}
|
|
5852
|
+
}
|
|
@@ -1728,7 +1728,30 @@
|
|
|
1728
1728
|
"email_via_pitchcamp_description": "Envíe este enlace por correo electrónico a su huésped.",
|
|
1729
1729
|
"email_recipient_past_clients_heading": "Clientes anteriores de este lote",
|
|
1730
1730
|
"email_recipient_past_clients_helper": "Seleccione Agregar para incluir un cliente en el campo Para.",
|
|
1731
|
-
"email_recipient_show_all_clients": "Mostrar todos los clientes"
|
|
1731
|
+
"email_recipient_show_all_clients": "Mostrar todos los clientes",
|
|
1732
|
+
"search_documentation": "Buscar documentación",
|
|
1733
|
+
"search_documentation_placeholder": "Buscar en la documentación...",
|
|
1734
|
+
"no_documentation_results": "No se encontraron resultados de documentación",
|
|
1735
|
+
"copy_client_link": "Copiar enlace para el cliente",
|
|
1736
|
+
"search_documentation_all_topics": "Todos los temas",
|
|
1737
|
+
"search_documentation_start_typing": "Comienza a escribir para buscar documentación",
|
|
1738
|
+
"search_documentation_navigate": "Navegar",
|
|
1739
|
+
"search_documentation_open": "Abrir",
|
|
1740
|
+
"search_documentation_esc_key": "Esc",
|
|
1741
|
+
"search_documentation_browse_all": "Ver toda la documentación",
|
|
1742
|
+
"search_category_reservations": "Reservaciones",
|
|
1743
|
+
"search_category_clients": "Clientes",
|
|
1744
|
+
"search_category_pos": "POS",
|
|
1745
|
+
"search_category_till": "Caja",
|
|
1746
|
+
"search_category_lots": "Lotes",
|
|
1747
|
+
"search_category_gates": "Puertas",
|
|
1748
|
+
"search_category_meters": "Contadores",
|
|
1749
|
+
"search_category_config": "Configuración",
|
|
1750
|
+
"search_category_reports": "Reportes",
|
|
1751
|
+
"search_category_dashboard": "Panel",
|
|
1752
|
+
"search_category_admin": "Admin",
|
|
1753
|
+
"search_category_howto": "Cómo hacer",
|
|
1754
|
+
"search_category_troubleshooting": "Solución de problemas"
|
|
1732
1755
|
},
|
|
1733
1756
|
"connectivity": {
|
|
1734
1757
|
"offline-action-blocked": "Está sin conexión. Esta acción necesita una conexión a Internet y no está disponible en este momento. Volverá a funcionar cuando vuelva a estar en línea.",
|
|
@@ -5826,4 +5849,4 @@
|
|
|
5826
5849
|
"version_heading": "Versión {{version}}",
|
|
5827
5850
|
"view_full_release_notes": "Ver notas completas"
|
|
5828
5851
|
}
|
|
5829
|
-
}
|
|
5852
|
+
}
|
|
@@ -1728,7 +1728,30 @@
|
|
|
1728
1728
|
"email_via_pitchcamp_description": "Envoyez ce lien par courriel à votre client.",
|
|
1729
1729
|
"email_recipient_past_clients_heading": "Clients précédents pour ce lot",
|
|
1730
1730
|
"email_recipient_past_clients_helper": "Sélectionnez Ajouter pour inclure un client dans le champ À.",
|
|
1731
|
-
"email_recipient_show_all_clients": "Afficher tous les clients"
|
|
1731
|
+
"email_recipient_show_all_clients": "Afficher tous les clients",
|
|
1732
|
+
"search_documentation": "Rechercher la documentation",
|
|
1733
|
+
"search_documentation_placeholder": "Rechercher dans la documentation...",
|
|
1734
|
+
"no_documentation_results": "Aucun résultat de documentation",
|
|
1735
|
+
"copy_client_link": "Copier le lien client",
|
|
1736
|
+
"search_documentation_all_topics": "Tous les sujets",
|
|
1737
|
+
"search_documentation_start_typing": "Commencer à taper pour rechercher la documentation",
|
|
1738
|
+
"search_documentation_navigate": "Naviguer",
|
|
1739
|
+
"search_documentation_open": "Ouvrir",
|
|
1740
|
+
"search_documentation_esc_key": "Esc",
|
|
1741
|
+
"search_documentation_browse_all": "Consulter toute la documentation",
|
|
1742
|
+
"search_category_reservations": "Réservations",
|
|
1743
|
+
"search_category_clients": "Clients",
|
|
1744
|
+
"search_category_pos": "POS",
|
|
1745
|
+
"search_category_till": "Caisse",
|
|
1746
|
+
"search_category_lots": "Emplacements",
|
|
1747
|
+
"search_category_gates": "Portails",
|
|
1748
|
+
"search_category_meters": "Compteurs",
|
|
1749
|
+
"search_category_config": "Configuration",
|
|
1750
|
+
"search_category_reports": "Rapports",
|
|
1751
|
+
"search_category_dashboard": "Tableau de bord",
|
|
1752
|
+
"search_category_admin": "Admin",
|
|
1753
|
+
"search_category_howto": "Guide pratique",
|
|
1754
|
+
"search_category_troubleshooting": "Dépannage"
|
|
1732
1755
|
},
|
|
1733
1756
|
"connectivity": {
|
|
1734
1757
|
"offline-action-blocked": "Vous êtes hors ligne. Cette action nécessite une connexion Internet et n'est pas disponible pour le moment. Elle fonctionnera de nouveau dès que vous serez de retour en ligne.",
|
|
@@ -5826,4 +5849,4 @@
|
|
|
5826
5849
|
"version_heading": "Version {{version}}",
|
|
5827
5850
|
"view_full_release_notes": "Voir les notes complètes"
|
|
5828
5851
|
}
|
|
5829
|
-
}
|
|
5852
|
+
}
|