ublo-lib 1.40.0 → 1.40.2

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.
@@ -52,6 +52,84 @@ export namespace MONTHS {
52
52
  let december_1: string;
53
53
  export { december_1 as december };
54
54
  }
55
+ namespace es {
56
+ let january_2: string;
57
+ export { january_2 as january };
58
+ let february_2: string;
59
+ export { february_2 as february };
60
+ let march_2: string;
61
+ export { march_2 as march };
62
+ let april_2: string;
63
+ export { april_2 as april };
64
+ let may_2: string;
65
+ export { may_2 as may };
66
+ let june_2: string;
67
+ export { june_2 as june };
68
+ let july_2: string;
69
+ export { july_2 as july };
70
+ let august_2: string;
71
+ export { august_2 as august };
72
+ let september_2: string;
73
+ export { september_2 as september };
74
+ let october_2: string;
75
+ export { october_2 as october };
76
+ let november_2: string;
77
+ export { november_2 as november };
78
+ let december_2: string;
79
+ export { december_2 as december };
80
+ }
81
+ namespace it {
82
+ let january_3: string;
83
+ export { january_3 as january };
84
+ let february_3: string;
85
+ export { february_3 as february };
86
+ let march_3: string;
87
+ export { march_3 as march };
88
+ let april_3: string;
89
+ export { april_3 as april };
90
+ let may_3: string;
91
+ export { may_3 as may };
92
+ let june_3: string;
93
+ export { june_3 as june };
94
+ let july_3: string;
95
+ export { july_3 as july };
96
+ let august_3: string;
97
+ export { august_3 as august };
98
+ let september_3: string;
99
+ export { september_3 as september };
100
+ let october_3: string;
101
+ export { october_3 as october };
102
+ let november_3: string;
103
+ export { november_3 as november };
104
+ let december_3: string;
105
+ export { december_3 as december };
106
+ }
107
+ namespace nl {
108
+ let january_4: string;
109
+ export { january_4 as january };
110
+ let february_4: string;
111
+ export { february_4 as february };
112
+ let march_4: string;
113
+ export { march_4 as march };
114
+ let april_4: string;
115
+ export { april_4 as april };
116
+ let may_4: string;
117
+ export { may_4 as may };
118
+ let june_4: string;
119
+ export { june_4 as june };
120
+ let july_4: string;
121
+ export { july_4 as july };
122
+ let august_4: string;
123
+ export { august_4 as august };
124
+ let september_4: string;
125
+ export { september_4 as september };
126
+ let october_4: string;
127
+ export { october_4 as october };
128
+ let november_4: string;
129
+ export { november_4 as november };
130
+ let december_4: string;
131
+ export { december_4 as december };
132
+ }
55
133
  }
56
134
  export namespace WEEK_DAYS {
57
135
  export namespace fr_1 {
@@ -81,6 +159,57 @@ export namespace WEEK_DAYS {
81
159
  export { sunday_1 as sunday };
82
160
  }
83
161
  export { en_1 as en };
162
+ export namespace es_1 {
163
+ let monday_2: string;
164
+ export { monday_2 as monday };
165
+ let tuesday_2: string;
166
+ export { tuesday_2 as tuesday };
167
+ let wednesday_2: string;
168
+ export { wednesday_2 as wednesday };
169
+ let thursday_2: string;
170
+ export { thursday_2 as thursday };
171
+ let friday_2: string;
172
+ export { friday_2 as friday };
173
+ let saturday_2: string;
174
+ export { saturday_2 as saturday };
175
+ let sunday_2: string;
176
+ export { sunday_2 as sunday };
177
+ }
178
+ export { es_1 as es };
179
+ export namespace it_1 {
180
+ let monday_3: string;
181
+ export { monday_3 as monday };
182
+ let tuesday_3: string;
183
+ export { tuesday_3 as tuesday };
184
+ let wednesday_3: string;
185
+ export { wednesday_3 as wednesday };
186
+ let thursday_3: string;
187
+ export { thursday_3 as thursday };
188
+ let friday_3: string;
189
+ export { friday_3 as friday };
190
+ let saturday_3: string;
191
+ export { saturday_3 as saturday };
192
+ let sunday_3: string;
193
+ export { sunday_3 as sunday };
194
+ }
195
+ export { it_1 as it };
196
+ export namespace nl_1 {
197
+ let monday_4: string;
198
+ export { monday_4 as monday };
199
+ let tuesday_4: string;
200
+ export { tuesday_4 as tuesday };
201
+ let wednesday_4: string;
202
+ export { wednesday_4 as wednesday };
203
+ let thursday_4: string;
204
+ export { thursday_4 as thursday };
205
+ let friday_4: string;
206
+ export { friday_4 as friday };
207
+ let saturday_4: string;
208
+ export { saturday_4 as saturday };
209
+ let sunday_4: string;
210
+ export { sunday_4 as sunday };
211
+ }
212
+ export { nl_1 as nl };
84
213
  }
85
214
  export const CALENDAR_WEEKS: 6;
86
215
  export function calendar(month?: number, year?: number): string[];
@@ -1 +1 @@
1
- {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/data.js"],"names":[],"mappings":";;;;;;;;;;;AAaA,+BAAkD;AAElD,gCAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsDpD,+BAAgC;AAEzB,kEAyCN"}
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/data.js"],"names":[],"mappings":";;;;;;;;;;;AAaA,+BAAkD;AAElD,gCAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2HpD,+BAAgC;AAEzB,kEAyCN"}
@@ -39,6 +39,48 @@ export const MONTHS = {
39
39
  november: "November",
40
40
  december: "December",
41
41
  },
42
+ es: {
43
+ january: "Enero",
44
+ february: "Febrero",
45
+ march: "Marzo",
46
+ april: "Abril",
47
+ may: "Mayo",
48
+ june: "Junio",
49
+ july: "Julio",
50
+ august: "Agosto",
51
+ september: "Septiembre",
52
+ october: "Octubre",
53
+ november: "Noviembre",
54
+ december: "Diciembre",
55
+ },
56
+ it: {
57
+ january: "Gennaio",
58
+ february: "Febbraio",
59
+ march: "Marzo",
60
+ april: "Aprile",
61
+ may: "Maggio",
62
+ june: "Giugno",
63
+ july: "Luglio",
64
+ august: "Agosto",
65
+ september: "Settembre",
66
+ october: "Ottobre",
67
+ november: "Novembre",
68
+ december: "Dicembre",
69
+ },
70
+ nl: {
71
+ january: "Januari",
72
+ february: "Februari",
73
+ march: "Maart",
74
+ april: "April",
75
+ may: "Mei",
76
+ june: "Juni",
77
+ july: "Juli",
78
+ august: "Augustus",
79
+ september: "September",
80
+ october: "Oktober",
81
+ november: "November",
82
+ december: "December",
83
+ },
42
84
  };
43
85
  export const WEEK_DAYS = {
44
86
  fr: {
@@ -59,6 +101,33 @@ export const WEEK_DAYS = {
59
101
  saturday: "Sat.",
60
102
  sunday: "Sun.",
61
103
  },
104
+ es: {
105
+ monday: "Lun.",
106
+ tuesday: "Mar.",
107
+ wednesday: "Mié.",
108
+ thursday: "Jue.",
109
+ friday: "Vie.",
110
+ saturday: "Sáb.",
111
+ sunday: "Dom.",
112
+ },
113
+ it: {
114
+ monday: "Lun.",
115
+ tuesday: "Mar.",
116
+ wednesday: "Mer.",
117
+ thursday: "Gio.",
118
+ friday: "Ven.",
119
+ saturday: "Sab.",
120
+ sunday: "Dom.",
121
+ },
122
+ nl: {
123
+ monday: "Ma.",
124
+ tuesday: "Di.",
125
+ wednesday: "Wo.",
126
+ thursday: "Do.",
127
+ friday: "Vr.",
128
+ saturday: "Za.",
129
+ sunday: "Zo.",
130
+ },
62
131
  };
63
132
  export const CALENDAR_WEEKS = 6;
64
133
  export const calendar = (month = THIS_MONTH, year = THIS_YEAR) => {
@@ -6,9 +6,9 @@ import * as Data from "./data";
6
6
  import styles from "./month.module.css";
7
7
  export default function Month({ display, month, year, min, max, selecting, setSelecting, selectedDates, setSelectedDates, setFirstSelectedDate, setLastSelectedDate, singleDate, submitOnSelectionEnd, onSubmit, stays, matchingStays, allMatchingStaysEnd, }) {
8
8
  const { lang } = useUbloContext();
9
- const i18nMonths = Data.MONTHS[lang];
9
+ const i18nMonths = Data.MONTHS[lang] || Data.MONTHS.en;
10
10
  const monthName = i18nMonths[Object.keys(i18nMonths)[month - 1]];
11
- const i18nWeekDays = Data.WEEK_DAYS[lang];
11
+ const i18nWeekDays = Data.WEEK_DAYS[lang] || Data.WEEK_DAYS.en;
12
12
  const days = Object.keys(i18nWeekDays);
13
13
  const calendarMonth = month;
14
14
  const calendarYear = year;
@@ -43,9 +43,9 @@ export default function Calendar({ lang = "fr", format, className }) {
43
43
  month <= minDate.getMonth() + 1 &&
44
44
  year <= minDate.getFullYear()) ||
45
45
  (minDate && month <= defaultMonth && year <= currentYear);
46
- const i18nMonths = Data.MONTHS[locale];
46
+ const i18nMonths = Data.MONTHS[locale] || Data.MONTHS.en;
47
47
  const monthName = i18nMonths[Object.keys(i18nMonths)[month - 1]];
48
- const i18nWeekDays = Data.WEEK_DAYS[locale];
48
+ const i18nWeekDays = Data.WEEK_DAYS[locale] || Data.WEEK_DAYS.en;
49
49
  const days = Object.keys(i18nWeekDays);
50
50
  const calendarDates = Data.calendar(month, year);
51
51
  const goToPreviousMonth = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"levels.d.ts","sourceRoot":"","sources":["../../../../src/esf/components/levels/levels.js"],"names":[],"mappings":";AA+OA;;4CA6FC"}
1
+ {"version":3,"file":"levels.d.ts","sourceRoot":"","sources":["../../../../src/esf/components/levels/levels.js"],"names":[],"mappings":";AAgPA;;4CA6FC"}
@@ -21,6 +21,7 @@ const LEVELS = {
21
21
  "1-degree": "skialpin-esfexperiences-classe1",
22
22
  "2-degree": "skialpin-esfexperiences-classe2",
23
23
  "3-degree": "skialpin-esfexperiences-classe3",
24
+ "4-degree": "skialpin-esfexperiences-classe4",
24
25
  "ski-beginner": "skialpin-esfexperiences-decouverte",
25
26
  "ski-intermediate": "skialpin-esfexperiences-intermediaire",
26
27
  "ski-confirmed": "skialpin-esfexperiences-confirme",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.40.0",
3
+ "version": "1.40.2",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.10.8",
6
6
  "leaflet": "^1.9.1",