vendor/assets/javascripts/flatpickr/l10n/he.js in flatpickr-3.0.7.0 vs vendor/assets/javascripts/flatpickr/l10n/he.js in flatpickr-4.5.2.0
- old
+ new
@@ -1,14 +1,57 @@
-/* Hebrew locals for flatpickr */
-var flatpickr = flatpickr || { l10ns: {} };
-flatpickr.l10ns.he = {};
+/* flatpickr v4.5.2, @license MIT */
+(function (global, factory) {
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
+ typeof define === 'function' && define.amd ? define(['exports'], factory) :
+ (factory((global.he = {})));
+}(this, (function (exports) { 'use strict';
-flatpickr.l10ns.he.weekdays = {
- shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ז"],
- longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"]
-};
+ const fp = typeof window !== "undefined" && window.flatpickr !== undefined
+ ? window.flatpickr
+ : {
+ l10ns: {},
+ };
+ const Hebrew = {
+ weekdays: {
+ shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ז"],
+ longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"],
+ },
+ months: {
+ shorthand: [
+ "ינו׳",
+ "פבר׳",
+ "מרץ",
+ "אפר׳",
+ "מאי",
+ "יוני",
+ "יולי",
+ "אוג׳",
+ "ספט׳",
+ "אוק׳",
+ "נוב׳",
+ "דצמ׳",
+ ],
+ longhand: [
+ "ינואר",
+ "פברואר",
+ "מרץ",
+ "אפריל",
+ "מאי",
+ "יוני",
+ "יולי",
+ "אוגוסט",
+ "ספטמבר",
+ "אוקטובר",
+ "נובמבר",
+ "דצמבר",
+ ],
+ },
+ };
+ fp.l10ns.he = Hebrew;
+ var he = fp.l10ns;
-flatpickr.l10ns.he.months = {
- shorthand: ["ינו׳", "פבר׳", "מרץ", "אפר׳", "מאי", "יוני", "יולי", "אוג׳", "ספט׳", "אוק׳", "נוב׳", "דצמ׳"],
- longhand: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"]
-};
-if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
\ No newline at end of file
+ exports.Hebrew = Hebrew;
+ exports.default = he;
+
+ Object.defineProperty(exports, '__esModule', { value: true });
+
+})));