@webalternatif/js-core 1.0.0

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.
Files changed (118) hide show
  1. package/.babelrc +12 -0
  2. package/.idea/inspectionProfiles/Project_Default.xml +12 -0
  3. package/.idea/js-core.iml +8 -0
  4. package/.idea/modules.xml +8 -0
  5. package/.idea/php.xml +20 -0
  6. package/.idea/vcs.xml +6 -0
  7. package/LICENSE +21 -0
  8. package/README.md +7 -0
  9. package/dist/cjs/array.js +116 -0
  10. package/dist/cjs/dom.js +466 -0
  11. package/dist/cjs/eventDispatcher.js +96 -0
  12. package/dist/cjs/i18n.js +50 -0
  13. package/dist/cjs/index.js +55 -0
  14. package/dist/cjs/is.js +85 -0
  15. package/dist/cjs/math.js +92 -0
  16. package/dist/cjs/random.js +38 -0
  17. package/dist/cjs/string.js +474 -0
  18. package/dist/cjs/stringPrototype.js +16 -0
  19. package/dist/cjs/traversal.js +110 -0
  20. package/dist/cjs/utils.js +118 -0
  21. package/dist/esm/array.js +116 -0
  22. package/dist/esm/dom.js +466 -0
  23. package/dist/esm/eventDispatcher.js +96 -0
  24. package/dist/esm/i18n.js +50 -0
  25. package/dist/esm/index.js +55 -0
  26. package/dist/esm/is.js +85 -0
  27. package/dist/esm/math.js +92 -0
  28. package/dist/esm/random.js +38 -0
  29. package/dist/esm/string.js +474 -0
  30. package/dist/esm/stringPrototype.js +16 -0
  31. package/dist/esm/traversal.js +110 -0
  32. package/dist/esm/utils.js +118 -0
  33. package/i18n/agenda/en.js +73 -0
  34. package/i18n/agenda/fr.js +73 -0
  35. package/i18n/agenda/index.js +2 -0
  36. package/i18n/ajaxform/en.js +5 -0
  37. package/i18n/ajaxform/fr.js +5 -0
  38. package/i18n/ajaxform/index.js +2 -0
  39. package/i18n/ajaxupload/en.js +12 -0
  40. package/i18n/ajaxupload/fr.js +12 -0
  41. package/i18n/ajaxupload/index.js +2 -0
  42. package/i18n/autocomplete/en.js +3 -0
  43. package/i18n/autocomplete/fr.js +3 -0
  44. package/i18n/autocomplete/index.js +2 -0
  45. package/i18n/confirm/en.js +5 -0
  46. package/i18n/confirm/fr.js +5 -0
  47. package/i18n/confirm/index.js +2 -0
  48. package/i18n/core/en.js +4 -0
  49. package/i18n/core/fr.js +4 -0
  50. package/i18n/core/index.js +2 -0
  51. package/i18n/datagrid/en.js +8 -0
  52. package/i18n/datagrid/fr.js +8 -0
  53. package/i18n/datagrid/index.js +2 -0
  54. package/i18n/date/en.js +51 -0
  55. package/i18n/date/fr.js +51 -0
  56. package/i18n/date/index.js +2 -0
  57. package/i18n/datetimepicker/en.js +30 -0
  58. package/i18n/datetimepicker/fr.js +30 -0
  59. package/i18n/datetimepicker/index.js +2 -0
  60. package/i18n/dialog/en.js +3 -0
  61. package/i18n/dialog/fr.js +3 -0
  62. package/i18n/dialog/index.js +2 -0
  63. package/i18n/fulldayeventagenda/en.js +73 -0
  64. package/i18n/fulldayeventagenda/fr.js +73 -0
  65. package/i18n/fulldayeventagenda/index.js +2 -0
  66. package/i18n/index.d.ts +4 -0
  67. package/i18n/index.js +15 -0
  68. package/i18n/richtexteditor/en.js +58 -0
  69. package/i18n/richtexteditor/fr.js +58 -0
  70. package/i18n/richtexteditor/index.js +2 -0
  71. package/i18n/select/en.js +3 -0
  72. package/i18n/select/fr.js +3 -0
  73. package/i18n/select/index.js +2 -0
  74. package/i18n/timepicker/en.js +3 -0
  75. package/i18n/timepicker/fr.js +3 -0
  76. package/i18n/timepicker/index.js +2 -0
  77. package/i18n/useragenda/en.js +74 -0
  78. package/i18n/useragenda/fr.js +73 -0
  79. package/i18n/useragenda/index.js +2 -0
  80. package/jest.config.js +14 -0
  81. package/package.json +33 -0
  82. package/src/array.js +124 -0
  83. package/src/dom.js +569 -0
  84. package/src/eventDispatcher.js +118 -0
  85. package/src/i18n.js +55 -0
  86. package/src/index.js +33 -0
  87. package/src/is.js +89 -0
  88. package/src/math.js +109 -0
  89. package/src/random.js +40 -0
  90. package/src/string.js +576 -0
  91. package/src/stringPrototype.js +15 -0
  92. package/src/traversal.js +134 -0
  93. package/src/utils.js +130 -0
  94. package/tests/array.test.js +326 -0
  95. package/tests/dom.test.js +239 -0
  96. package/tests/eventdispatcher.test.js +177 -0
  97. package/tests/i18n.test.js +132 -0
  98. package/tests/index.test.js +29 -0
  99. package/tests/is.test.js +354 -0
  100. package/tests/math.test.js +221 -0
  101. package/tests/random.test.js +72 -0
  102. package/tests/string.test.js +1106 -0
  103. package/tests/traversal.test.js +517 -0
  104. package/tests/utils.test.js +371 -0
  105. package/tsconfig.json +16 -0
  106. package/types/array.d.ts +8 -0
  107. package/types/dom.d.ts +241 -0
  108. package/types/eventDispatcher.d.ts +12 -0
  109. package/types/i18n.d.ts +4 -0
  110. package/types/index.d.ts +139 -0
  111. package/types/is.d.ts +16 -0
  112. package/types/math.d.ts +7 -0
  113. package/types/random.d.ts +7 -0
  114. package/types/string.d.ts +37 -0
  115. package/types/stringPrototype.d.ts +1 -0
  116. package/types/traversal.d.ts +7 -0
  117. package/types/utils.d.ts +7 -0
  118. package/webpack.config.cjs +31 -0
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.throttle = exports.strParseFloat = exports.sizeOf = exports.noop = exports.flatten = exports.equals = exports.debounce = void 0;
7
+ var _traversal = require("./traversal.js");
8
+ var _is = require("./is.js");
9
+ const equals = function (o1, o2, seen = new WeakMap()) {
10
+ if (o1 === o2) return true;
11
+ if (typeof o1 !== typeof o2 || o1 == null || o2 == null) {
12
+ return false;
13
+ }
14
+ if ((0, _is.isObject)(o1)) {
15
+ if (seen.has(o1)) {
16
+ return seen.get(o1) === o2;
17
+ }
18
+ seen.set(o1, o2);
19
+ const keys1 = Object.keys(o1),
20
+ keys2 = Object.keys(o2);
21
+ if (keys1.length !== keys2.length) {
22
+ return false;
23
+ }
24
+ return keys1.every(key => equals(o1[key], o2[key], seen));
25
+ }
26
+ return false;
27
+ };
28
+ exports.equals = equals;
29
+ const noop = function () {};
30
+ exports.noop = noop;
31
+ const sizeOf = function (o) {
32
+ return (0, _traversal.map)(o, noop).length;
33
+ };
34
+
35
+ /**
36
+ * Recursively flattens an object or array into a single-level array.
37
+ *
38
+ * @param {Object|Array} o - The object or array to flatten.
39
+ * @returns {Array} A flattened array containing all the values from the input object or array.
40
+ *
41
+ * @example <caption>Flatten an array of arrays</caption>
42
+ * const result = flatten([1, [2, [3, 4]], 5]);
43
+ * console.log(result);
44
+ * // Output: [1, 2, 3, 4, 5]
45
+ *
46
+ * @example <caption>Flatten an object</caption>
47
+ * const result = flatten({ a: 1, b: [2, { c: 3 }], d: 4 });
48
+ * console.log(result);
49
+ * // Output: [1, 2, 3, 4]
50
+ */
51
+ exports.sizeOf = sizeOf;
52
+ const flatten = function (o) {
53
+ if ((0, _is.isObject)(o) || (0, _is.isArray)(o)) {
54
+ return [].concat.apply([], (0, _traversal.map)(o, (i, val) => flatten(val)));
55
+ }
56
+ return o;
57
+ };
58
+ exports.flatten = flatten;
59
+ const strParseFloat = function (val) {
60
+ if (!val) return 0;
61
+ return parseFloat((val + '').replace(/\s/g, '').replace(',', '.'));
62
+ };
63
+ exports.strParseFloat = strParseFloat;
64
+ const throttle = function (func, wait, leading = true, trailing = true, context = null) {
65
+ let timeout = null;
66
+ let lastCall = 0;
67
+ return function (...args) {
68
+ const now = Date.now();
69
+ if (!lastCall && !leading) {
70
+ lastCall = now;
71
+ }
72
+ const remaining = wait - (now - lastCall);
73
+ if (remaining <= 0 || remaining > wait) {
74
+ lastCall = now;
75
+ func.apply(context || this, args);
76
+ } else if (!timeout && trailing) {
77
+ timeout = setTimeout(() => {
78
+ timeout = null;
79
+ lastCall = leading ? Date.now() : 0;
80
+ func.apply(context || this, args);
81
+ }, remaining);
82
+ }
83
+ };
84
+ };
85
+
86
+ /**
87
+ * Creates a debounced function that delays the invocation of `func` until after `wait` milliseconds
88
+ * have elapsed since the last time the debounced function was invoked.
89
+ *
90
+ * @param {Function} func - The function to debounce.
91
+ * @param {number} wait - The number of milliseconds to delay.
92
+ * @param {boolean} [immediate=false] - If true, execute `func` on the leading edge instead of the trailing.
93
+ * @param {Object} [context=null] - The context to bind to `func`.
94
+ * @returns {Function} The debounced function.
95
+ */
96
+ exports.throttle = throttle;
97
+ const debounce = function (func, wait, immediate = false, context = null) {
98
+ let timeout = null;
99
+ let lastCall = 0;
100
+ return function (...args) {
101
+ const now = Date.now();
102
+ if (immediate) {
103
+ if (!lastCall) {
104
+ lastCall = now;
105
+ func.apply(context || this, args);
106
+ }
107
+ }
108
+ clearTimeout(timeout);
109
+ timeout = null;
110
+ timeout = setTimeout(() => {
111
+ lastCall = now;
112
+ clearTimeout(timeout);
113
+ timeout = null;
114
+ func.apply(context || this, args);
115
+ }, wait);
116
+ };
117
+ };
118
+ exports.debounce = debounce;
@@ -0,0 +1,73 @@
1
+ export default {
2
+ 'pick a date': 'Pick a date',
3
+
4
+ monday: 'Monday',
5
+ tuesday: 'Tuesday',
6
+ wednesday: 'Wednesday',
7
+ thursday: 'Thursday',
8
+ friday: 'Friday',
9
+ saturday: 'Saturday',
10
+ sunday: 'Sunday',
11
+
12
+ mon: 'Mon',
13
+ tue: 'Tue',
14
+ wed: 'Wed',
15
+ thu: 'Thu',
16
+ fri: 'Fri',
17
+ sat: 'Sat',
18
+ sun: 'Sun',
19
+
20
+ mo: 'Mo',
21
+ tu: 'Tu',
22
+ we: 'We',
23
+ th: 'Th',
24
+ fr: 'Fr',
25
+ sa: 'Sa',
26
+ su: 'Su',
27
+
28
+ january: 'January',
29
+ february: 'February',
30
+ march: 'March',
31
+ april: 'April',
32
+ may: 'May',
33
+ june: 'June',
34
+ july: 'July',
35
+ august: 'August',
36
+ september: 'September',
37
+ october: 'October',
38
+ november: 'November',
39
+ december: 'December',
40
+
41
+ jan: 'Jan.',
42
+ feb: 'Feb.',
43
+ mar: 'Mar.',
44
+ apr: 'Apr.',
45
+ 'may.': 'May',
46
+ jun: 'Jun.',
47
+ 'jul.': 'Jul.',
48
+ aug: 'Aug.',
49
+ sept: 'Sept.',
50
+ oct: 'Oct.',
51
+ nov: 'Nov.',
52
+ dec: 'Dec.',
53
+
54
+ today: 'Today',
55
+ prev_day: 'Previous day',
56
+ next_day: 'Next day',
57
+ prev_week: 'Previous week',
58
+ next_week: 'Next week',
59
+ prev_month: 'Previous month',
60
+ next_month: 'Next month',
61
+ week: 'Week',
62
+ month: 'Month',
63
+ day: 'Day',
64
+ am: 'am',
65
+ pm: 'pm',
66
+
67
+ new_event: 'New event',
68
+
69
+ date_title_month: 'MMMM yyyy',
70
+ date_title_week: 'MMM d yyyy',
71
+ date_title_day: 'EEEE d, MMMM yyyy',
72
+ date_col_day: 'EE d, MMM'
73
+ }
@@ -0,0 +1,73 @@
1
+ export default {
2
+ 'pick a date': 'Choisir une date',
3
+
4
+ monday: 'Lundi',
5
+ tuesday: 'Mardi',
6
+ wednesday: 'Mercredi',
7
+ thursday: 'Jeudi',
8
+ friday: 'Vendredi',
9
+ saturday: 'Samedi',
10
+ sunday: 'Dimanche',
11
+
12
+ mon: 'Lun',
13
+ tue: 'Mar',
14
+ wed: 'Mer',
15
+ thu: 'Jeu',
16
+ fri: 'Ven',
17
+ sat: 'Sam',
18
+ sun: 'Dim',
19
+
20
+ mo: 'Lu',
21
+ tu: 'Ma',
22
+ we: 'Me',
23
+ th: 'Je',
24
+ fr: 'Ve',
25
+ sa: 'Sa',
26
+ su: 'Di',
27
+
28
+ january: 'Janvier',
29
+ february: 'Février',
30
+ march: 'Mars',
31
+ april: 'Avril',
32
+ may: 'Mai',
33
+ june: 'Juin',
34
+ july: 'Juillet',
35
+ august: 'Août',
36
+ september: 'Septembre',
37
+ october: 'Octobre',
38
+ november: 'Novembre',
39
+ december: 'Décembre',
40
+
41
+ jan: 'Janv.',
42
+ feb: 'Fév.',
43
+ mar: 'Mars',
44
+ apr: 'Avr.',
45
+ 'may.': 'Mai',
46
+ jun: 'Juin',
47
+ 'jul.': 'Juil.',
48
+ aug: 'Août',
49
+ sept: 'Sept.',
50
+ oct: 'Oct.',
51
+ nov: 'Nov.',
52
+ dec: 'Déc.',
53
+
54
+ today: function() { return "Aujourd'hui"; },
55
+ prev_day: 'Jour précédent',
56
+ next_day: 'Jour suivant',
57
+ prev_week: 'Semaine précédente',
58
+ next_week: 'Semaine suivante',
59
+ prev_month: 'Mois précédent',
60
+ next_month: 'Mois suivant',
61
+ week: 'Semaine',
62
+ month: 'Mois',
63
+ day: 'Jour',
64
+ am: 'h',
65
+ pm: 'h',
66
+
67
+ new_event: 'Nouvel événement',
68
+
69
+ date_title_month: 'MMMM yyyy',
70
+ date_title_week: 'd MMMM yyyy',
71
+ date_title_day: 'EEEE d MMMM yyyy',
72
+ date_col_day: 'EE d MMM'
73
+ }
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,5 @@
1
+ export default {
2
+ required: function (name) {
3
+ return "the field " + name + " is required";
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ required: function(name) {
3
+ return "Le champ " + name + " est requis";
4
+ }
5
+ }
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,12 @@
1
+ export default {
2
+ invExtension: function(filename, allowedExtensions) {
3
+ return "The file " + filename + " is not an extension validation.\nValid extensions : " + allowedExtensions;
4
+ },
5
+ invSize: function(filename, filesize, sizeLimit) {
6
+ return "The file " + filename + " of " + filesize + " exceeds the size limit " + sizeLimit;
7
+ },
8
+ emptyFile: function(filename) {
9
+ return "The file " + filename + " is empty";
10
+ }
11
+ }
12
+
@@ -0,0 +1,12 @@
1
+ export default {
2
+ invExtension: function(filename, allowedExtensions) {
3
+ return "Le fichier " + filename + " ne possède pas une extension valide.\nExtensions valides : " + allowedExtensions;
4
+ },
5
+ invSize: function(filename, filesize, sizeLimit) {
6
+ return "Le fichier " + filename + " de taille " + filesize + " excède la taille limite autorisée de " + sizeLimit;
7
+ },
8
+ emptyFile: function(filename) {
9
+ return "Le fichier " + filename + " est vide";
10
+ }
11
+ }
12
+
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,3 @@
1
+ export default {
2
+ noResultFound: 'No result found'
3
+ }
@@ -0,0 +1,3 @@
1
+ export default {
2
+ noResultFound: 'Aucun résultat'
3
+ }
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,5 @@
1
+ export default {
2
+ yes: 'Yes',
3
+ cancel: 'Cancel',
4
+ textConfirm: 'Are you sure to do this ?'
5
+ }
@@ -0,0 +1,5 @@
1
+ export default {
2
+ yes: 'Oui',
3
+ cancel: 'Annuler',
4
+ textConfirm: 'Voulez vous vraiment faire ça ?'
5
+ }
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,4 @@
1
+ export default {
2
+ byte: 'byte',
3
+ unitByte: 'B'
4
+ }
@@ -0,0 +1,4 @@
1
+ export default {
2
+ byte: 'octet',
3
+ unitByte: 'o'
4
+ }
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,8 @@
1
+ export default {
2
+ search: 'Search',
3
+ refresh: 'Refresh',
4
+ allColumns: 'All columns',
5
+ abbrColumn: '#',
6
+ today: 'Today',
7
+ noDate: 'No date'
8
+ }
@@ -0,0 +1,8 @@
1
+ export default {
2
+ search: 'Rechercher',
3
+ refresh: 'Rafraîchir',
4
+ allColumns: 'Toutes les colonnes',
5
+ abbrColumn: '#',
6
+ today: 'Aujourd\'hui',
7
+ noDate: 'Sans date'
8
+ }
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,51 @@
1
+ export default {
2
+ monday: 'Monday',
3
+ tuesday: 'Tuesday',
4
+ wednesday: 'Wednesday',
5
+ thursday: 'Thursday',
6
+ friday: 'Friday',
7
+ saturday: 'Saturday',
8
+ sunday: 'Sunday',
9
+
10
+ mon: 'Mon',
11
+ tue: 'Tue',
12
+ wed: 'Wed',
13
+ thu: 'Thu',
14
+ fri: 'Fri',
15
+ sat: 'Sat',
16
+ sun: 'Sun',
17
+
18
+ mo: 'Mo',
19
+ tu: 'Tu',
20
+ we: 'We',
21
+ th: 'Th',
22
+ fr: 'Fr',
23
+ sa: 'Sa',
24
+ su: 'Su',
25
+
26
+ january: 'January',
27
+ february: 'February',
28
+ march: 'March',
29
+ april: 'April',
30
+ may: 'May',
31
+ june: 'June',
32
+ july: 'July',
33
+ august: 'August',
34
+ september: 'September',
35
+ october: 'October',
36
+ november: 'November',
37
+ december: 'December',
38
+
39
+ jan: 'Jan.',
40
+ feb: 'Feb.',
41
+ mar: 'Mar.',
42
+ apr: 'Apr.',
43
+ 'may.': 'May',
44
+ jun: 'Jun.',
45
+ jul: 'Jul.',
46
+ aug: 'Aug.',
47
+ sept: 'Sept.',
48
+ oct: 'Oct.',
49
+ nov: 'Nov.',
50
+ dec: 'Dec.'
51
+ }
@@ -0,0 +1,51 @@
1
+ export default {
2
+ monday: 'lundi',
3
+ tuesday: 'mardi',
4
+ wednesday: 'mercredi',
5
+ thursday: 'jeudi',
6
+ friday: 'vendredi',
7
+ saturday: 'samedi',
8
+ sunday: 'dimanche',
9
+
10
+ mon: 'lun',
11
+ tue: 'mar',
12
+ wed: 'mer',
13
+ thu: 'jeu',
14
+ fri: 'ven',
15
+ sat: 'sam',
16
+ sun: 'dim',
17
+
18
+ mo: 'Lu',
19
+ tu: 'Ma',
20
+ we: 'Me',
21
+ th: 'Je',
22
+ fr: 'Ve',
23
+ sa: 'Sa',
24
+ su: 'Di',
25
+
26
+ january: 'janvier',
27
+ february: 'février',
28
+ march: 'mars',
29
+ april: 'avril',
30
+ may: 'mai',
31
+ june: 'juin',
32
+ july: 'juillet',
33
+ august: 'août',
34
+ september: 'septembre',
35
+ october: 'octobre',
36
+ november: 'novembre',
37
+ december: 'décembre',
38
+
39
+ jan: 'janv.',
40
+ feb: 'fév.',
41
+ mar: 'mars',
42
+ apr: 'avr.',
43
+ 'may.': 'mai',
44
+ jun: 'juin',
45
+ jul: 'juil.',
46
+ aug: 'août',
47
+ sept: 'sept.',
48
+ oct: 'oct.',
49
+ nov: 'nov.',
50
+ dec: 'déc.'
51
+ }
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,30 @@
1
+ export default {
2
+ mo: 'Mo',
3
+ tu: 'Tu',
4
+ we: 'We',
5
+ th: 'Th',
6
+ fr: 'Fr',
7
+ sa: 'Sa',
8
+ su: 'Su',
9
+
10
+ january: 'January',
11
+ february: 'February',
12
+ march: 'March',
13
+ april: 'April',
14
+ may: 'May',
15
+ june: 'June',
16
+ july: 'July',
17
+ august: 'August',
18
+ september: 'September',
19
+ october: 'October',
20
+ november: 'November',
21
+ december: 'December',
22
+
23
+ time: 'Time',
24
+ hour: 'Hours',
25
+ minute: 'Minutes',
26
+ second: 'Seconds',
27
+
28
+ today: 'Today',
29
+ close: 'Close'
30
+ }
@@ -0,0 +1,30 @@
1
+ export default {
2
+ mo: 'Lu',
3
+ tu: 'Ma',
4
+ we: 'Me',
5
+ th: 'Je',
6
+ fr: 'Ve',
7
+ sa: 'Sa',
8
+ su: 'Di',
9
+
10
+ january: 'Janvier',
11
+ february: 'Février',
12
+ march: 'Mars',
13
+ april: 'Avril',
14
+ may: 'Mai',
15
+ june: 'Juin',
16
+ july: 'Juillet',
17
+ august: 'Août',
18
+ september: 'Septembre',
19
+ october: 'Octobre',
20
+ november: 'Novembre',
21
+ december: 'Décembre',
22
+
23
+ time: 'Moment',
24
+ hour: 'Heures',
25
+ minute: 'Minutes',
26
+ second: 'Secondes',
27
+
28
+ today: "Aujourd'hui",
29
+ close: 'Fermer'
30
+ }
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,3 @@
1
+ export default {
2
+ close: 'Close'
3
+ }
@@ -0,0 +1,3 @@
1
+ export default {
2
+ close: 'Fermer'
3
+ }
@@ -0,0 +1,2 @@
1
+ export {default as en} from './en.js';
2
+ export {default as fr} from './fr.js';
@@ -0,0 +1,73 @@
1
+ export default {
2
+ 'pick a date': 'Pick a date',
3
+
4
+ monday: 'Monday',
5
+ tuesday: 'Tuesday',
6
+ wednesday: 'Wednesday',
7
+ thursday: 'Thursday',
8
+ friday: 'Friday',
9
+ saturday: 'Saturday',
10
+ sunday: 'Sunday',
11
+
12
+ mon: 'Mon',
13
+ tue: 'Tue',
14
+ wed: 'Wed',
15
+ thu: 'Thu',
16
+ fri: 'Fri',
17
+ sat: 'Sat',
18
+ sun: 'Sun',
19
+
20
+ mo: 'Mo',
21
+ tu: 'Tu',
22
+ we: 'We',
23
+ th: 'Th',
24
+ fr: 'Fr',
25
+ sa: 'Sa',
26
+ su: 'Su',
27
+
28
+ january: 'January',
29
+ february: 'February',
30
+ march: 'March',
31
+ april: 'April',
32
+ may: 'May',
33
+ june: 'June',
34
+ july: 'July',
35
+ august: 'August',
36
+ september: 'September',
37
+ october: 'October',
38
+ november: 'November',
39
+ december: 'December',
40
+
41
+ jan: 'Jan.',
42
+ feb: 'Feb.',
43
+ mar: 'Mar.',
44
+ apr: 'Apr.',
45
+ 'may.': 'May',
46
+ jun: 'Jun.',
47
+ 'jul.': 'Jul.',
48
+ aug: 'Aug.',
49
+ sept: 'Sept.',
50
+ oct: 'Oct.',
51
+ nov: 'Nov.',
52
+ dec: 'Dec.',
53
+
54
+ today: 'Today',
55
+ prev_day: 'Previous day',
56
+ next_day: 'Next day',
57
+ prev_week: 'Previous week',
58
+ next_week: 'Next week',
59
+ prev_month: 'Previous month',
60
+ next_month: 'Next month',
61
+ week: 'Week',
62
+ month: 'Month',
63
+ day: 'Day',
64
+ am: 'am',
65
+ pm: 'pm',
66
+
67
+ new_event: 'New event',
68
+
69
+ date_title_month: 'MMMM yyyy',
70
+ date_title_week: 'MMM d yyyy',
71
+ date_title_day: 'EEEE d, MMMM yyyy',
72
+ date_col_day: 'EE d, MMM'
73
+ }