ublo-lib 1.40.8 → 1.40.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/message.js"],"names":[],"mappings":"AA4CA,iDAIC;AAED;;QAGC"}
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../../src/common/components/cart-dialog/message.js"],"names":[],"mappings":"AA+DA,iDAIC;AAED;;QAGC"}
@@ -36,6 +36,24 @@ const locales = {
36
36
  person: "person",
37
37
  persons: "persons",
38
38
  },
39
+ es: {
40
+ "cart-dialog-lodging-title": "Su alojamiento",
41
+ "cart-dialog-ski-passes-title": "Sus forfaits",
42
+ "cart-dialog-esf-title": "Su curso de esquí",
43
+ "cart-dialog-ski-rental-title": "Su material",
44
+ "cart-dialog-product-title": "Su producto",
45
+ "cart-dialog-title-suffix-singular": "se ha añadido al carrito con éxito",
46
+ "cart-dialog-title-suffix-plural": "se han añadido al carrito con éxito",
47
+ "cart-dialog-continue": "Continuar en el sitio",
48
+ "cart-dialog-go-to-cart": "Finalizar mi pedido",
49
+ "search-filters-pax-plan-adult": "adulto",
50
+ "search-filters-pax-plan-adults": "adultos",
51
+ "search-filters-pax-plan-child": "niño",
52
+ "search-filters-pax-plan-children": "niños",
53
+ "cross-selling-offers-title": "<b>Nuestros servicios</b> que podrían interesarle",
54
+ person: "persona",
55
+ persons: "personas",
56
+ },
39
57
  };
40
58
  export function message(lang, id) {
41
59
  if (!locales || !locales[lang])
@@ -9,7 +9,7 @@ export function isDate(date: any): boolean;
9
9
  export function isSameMonth(date: any, basedate?: Date): boolean;
10
10
  export function isSameDay(date: any, basedate?: Date): boolean;
11
11
  export function isInPastMonth(date: any, basedate?: Date): boolean;
12
- export function inInNextMonth(date: any, basedate?: Date): boolean;
12
+ export function isInNextMonth(date: any, basedate?: Date): boolean;
13
13
  export function isPast(date: any): boolean;
14
14
  export function isBefore(date: any, ref: any): boolean;
15
15
  export function isAfter(date: any, ref: any): boolean;
@@ -78,7 +78,7 @@ export const isInPastMonth = (date, basedate = new Date()) => {
78
78
  return true;
79
79
  return basedateMonth > dateMonth;
80
80
  };
81
- export const inInNextMonth = (date, basedate = new Date()) => {
81
+ export const isInNextMonth = (date, basedate = new Date()) => {
82
82
  if (!(isDate(date) && isDate(basedate)))
83
83
  return false;
84
84
  date.setHours(0, 0, 0, 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.40.8",
3
+ "version": "1.40.10",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.10.8",
6
6
  "leaflet": "^1.9.1",