pcm-shared-components 2.0.20 → 2.0.22

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.
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { ThemeProvider } from '@mui/system';
4
4
  import { createTheme, useTheme } from '@mui/material/styles';
5
+ import * as i18nextLocal from 'i18next';
5
6
 
6
7
  /**
7
8
  * ## Importing the component in your project
@@ -26,7 +27,7 @@ export const NEW_COMPONENT = props => {
26
27
  };
27
28
  export default NEW_COMPONENT;
28
29
  NEW_COMPONENT.defaultProps = {
29
- i18next: undefined,
30
+ i18next: i18nextLocal,
30
31
  theme: undefined
31
32
  };
32
33
  NEW_COMPONENT.propTypes = {
@@ -267,6 +267,7 @@
267
267
  "audit_logs": "Audit Logs",
268
268
  "audit_username": "Audited User",
269
269
  "auto_populate_fields": "Auto Populate Fields",
270
+ "available": "Available",
270
271
  "avg": "Avg",
271
272
  "avg_nightly_rate": "Avg nightly rate",
272
273
  "back": "Back",
@@ -392,6 +393,7 @@
392
393
  "main": "Main",
393
394
  "make_default_payment": "Make default payment",
394
395
  "manager_signature": "Manager Signature",
396
+ "map_view": "Map View",
395
397
  "max_of_n": "Max of {{max_amount}}",
396
398
  "medium": "Medium",
397
399
  "metered": "Metered",
@@ -436,11 +438,13 @@
436
438
  "no_client_selected": "No client selected",
437
439
  "no_emails": "No emails",
438
440
  "no_longer_available": "No longer available",
441
+ "no_lots_adjust_search": "No lots available, try adjusting your search.",
439
442
  "none": "None",
440
443
  "not_active": "Not Active",
441
444
  "not_connected": "Not Connected",
442
445
  "notes": "Notes",
443
446
  "number_of_items": "Number of Items",
447
+ "occupied": "Occupied",
444
448
  "off": "Off",
445
449
  "offline": "Offline",
446
450
  "offline_reservations": "Offline Reservations",
@@ -545,6 +549,7 @@
545
549
  "show_less": "Show Less",
546
550
  "show_more": "Show More",
547
551
  "show_reports": "Show Report",
552
+ "show_unavailable": "Show unavailable results",
548
553
  "site_details": "Site Information",
549
554
  "small": "small",
550
555
  "sold_by": "Sold By",
@@ -575,6 +580,7 @@
575
580
  "transaction_type": "Transaction Type",
576
581
  "transactions": "Transactions",
577
582
  "type": "Type",
583
+ "unavailable": "Unavailable",
578
584
  "unmute": "Unmute",
579
585
  "unselect_all": "Unselect All",
580
586
  "update_payment": "Update payment",
@@ -1257,7 +1263,8 @@
1257
1263
  },
1258
1264
  "map": {
1259
1265
  "msg": {
1260
- "number_of_available_lots": "Number of available lots: {{lot_count}}"
1266
+ "number_of_available_lots": "Number of available lots: {{lot_count}}",
1267
+ "number_of_unavailable_lots": "Number of unavailable lots: {{lot_count}}"
1261
1268
  },
1262
1269
  "panel": {
1263
1270
  "arrival_time": "Arrival time",
@@ -267,6 +267,7 @@
267
267
  "audit_logs": "Registros de auditoría",
268
268
  "audit_username": "Usuario auditado",
269
269
  "auto_populate_fields": "Rellenar automáticamente campos",
270
+ "available": "Disponible",
270
271
  "avg": "Promedio",
271
272
  "avg_nightly_rate": "Tarifa promedio por noche",
272
273
  "back": "atrás",
@@ -392,6 +393,7 @@
392
393
  "main": "Principal",
393
394
  "make_default_payment": "Hacer el pago por defecto",
394
395
  "manager_signature": "Firma del gerente",
396
+ "map_view": "Vista de mapa",
395
397
  "max_of_n": "Máximo de {{max_amount}}",
396
398
  "medium": "Medio",
397
399
  "metered": "Medido",
@@ -436,11 +438,13 @@
436
438
  "no_client_selected": "Ningún cliente seleccionado",
437
439
  "no_emails": "Sin correos electrónicos",
438
440
  "no_longer_available": "Ya no está disponible",
441
+ "no_lots_adjust_search": "No hay lotes disponibles, intente ajustar su búsqueda.",
439
442
  "none": "Ninguna",
440
443
  "not_active": "No activo",
441
444
  "not_connected": "No conectado",
442
445
  "notes": "Notas",
443
446
  "number_of_items": "Número de items",
447
+ "occupied": "Ocupado",
444
448
  "off": "Apagado",
445
449
  "offline": "Desconectado",
446
450
  "offline_reservations": "Reservas fuera de línea",
@@ -545,6 +549,7 @@
545
549
  "show_less": "Mostrar menos",
546
550
  "show_more": "Mostrar más",
547
551
  "show_reports": "Mostrar reporte",
552
+ "show_unavailable": "Mostrar resultados no disponibles",
548
553
  "site_details": "Información del sitio",
549
554
  "small": "pequeña",
550
555
  "sold_by": "Vendido por",
@@ -575,6 +580,7 @@
575
580
  "transaction_type": "Tipo de transaccion",
576
581
  "transactions": "transacciones",
577
582
  "type": "Escribe",
583
+ "unavailable": "Indisponible",
578
584
  "unmute": "No silenciar",
579
585
  "unselect_all": "Deselecciona todo",
580
586
  "update_payment": "Actualizar pago",
@@ -1257,7 +1263,8 @@
1257
1263
  },
1258
1264
  "map": {
1259
1265
  "msg": {
1260
- "number_of_available_lots": "Número de lotes disponibles: {{lot_count}}"
1266
+ "number_of_available_lots": "Número de lotes disponibles: {{lot_count}}",
1267
+ "number_of_unavailable_lots": "Número de lotes no disponibles: {{lot_count}}"
1261
1268
  },
1262
1269
  "panel": {
1263
1270
  "arrival_time": "Hora de llegada",
@@ -267,6 +267,7 @@
267
267
  "audit_logs": "Journaux d'audit",
268
268
  "audit_username": "Utilisateur audité",
269
269
  "auto_populate_fields": "Remplir automatiquement les champs",
270
+ "available": "Disponible",
270
271
  "avg": "Moy",
271
272
  "avg_nightly_rate": "Prix ​​moyen par nuit",
272
273
  "back": "Retour",
@@ -392,6 +393,7 @@
392
393
  "main": "Principal",
393
394
  "make_default_payment": "Effectuer un paiement par défaut",
394
395
  "manager_signature": "Signature du gestionnaire",
396
+ "map_view": "Vue de la carte",
395
397
  "max_of_n": "Maximum de {{max_amount}}",
396
398
  "medium": "Moyen",
397
399
  "metered": "Mesurée",
@@ -436,11 +438,13 @@
436
438
  "no_client_selected": "Aucun client sélectionné",
437
439
  "no_emails": "Aucun courriel",
438
440
  "no_longer_available": "Plus disponible",
441
+ "no_lots_adjust_search": "Pas de lots disponibles, essayez d’ajuster votre recherche.",
439
442
  "none": "Aucun",
440
443
  "not_active": "Pas actif",
441
444
  "not_connected": "Pas connecté",
442
445
  "notes": "Remarques",
443
446
  "number_of_items": "Nombre d'Articles",
447
+ "occupied": "Occupé",
444
448
  "off": "Eteint",
445
449
  "offline": "Hors ligne",
446
450
  "offline_reservations": "Réservations hors ligne",
@@ -545,6 +549,7 @@
545
549
  "show_less": "Afficher Moins",
546
550
  "show_more": "Afficher Plus",
547
551
  "show_reports": "Afficher le rapport",
552
+ "show_unavailable": "Afficher les résultats non disponibles",
548
553
  "site_details": "Informations sur le site",
549
554
  "small": "petit",
550
555
  "sold_by": "Vendu par",
@@ -575,6 +580,7 @@
575
580
  "transaction_type": "Type de transaction",
576
581
  "transactions": "Transactions",
577
582
  "type": "Type",
583
+ "unavailable": "Indisponible",
578
584
  "unmute": "Activer le son",
579
585
  "unselect_all": "Déselectionner Tout",
580
586
  "update_payment": "Mettre à jour le paiement",
@@ -1257,7 +1263,8 @@
1257
1263
  },
1258
1264
  "map": {
1259
1265
  "msg": {
1260
- "number_of_available_lots": "Nombre de lots disponibles: {{lot_count}}"
1266
+ "number_of_available_lots": "Nombre de lots disponibles: {{lot_count}}",
1267
+ "number_of_unavailable_lots": "Nombre de lots indisponibles: {{lot_count}}"
1261
1268
  },
1262
1269
  "panel": {
1263
1270
  "arrival_time": "heure d'arrivée",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {