vendor/assets/javascripts/flatpickr/l10n/bn.js in flatpickr-3.0.7.0 vs vendor/assets/javascripts/flatpickr/l10n/bn.js in flatpickr-4.5.2.0
- old
+ new
@@ -1,14 +1,65 @@
-/* Bangla locals for flatpickr */
-var flatpickr = flatpickr || { l10ns: {} };
-flatpickr.l10ns.bn = {};
+/* 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.bn = {})));
+}(this, (function (exports) { 'use strict';
-flatpickr.l10ns.bn.weekdays = {
- shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
- longhand: ["রবিবার", "সোমবার", "মঙ্গলবার", "বুধবার", "বৃহস্পতিবার", "শুক্রবার", "শনিবার"]
-};
+ const fp = typeof window !== "undefined" && window.flatpickr !== undefined
+ ? window.flatpickr
+ : {
+ l10ns: {},
+ };
+ const Bangla = {
+ weekdays: {
+ shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
+ longhand: [
+ "রবিবার",
+ "সোমবার",
+ "মঙ্গলবার",
+ "বুধবার",
+ "বৃহস্পতিবার",
+ "শুক্রবার",
+ "শনিবার",
+ ],
+ },
+ months: {
+ shorthand: [
+ "জানু",
+ "ফেব্রু",
+ "মার্চ",
+ "এপ্রিল",
+ "মে",
+ "জুন",
+ "জুলাই",
+ "আগ",
+ "সেপ্টে",
+ "অক্টো",
+ "নভে",
+ "ডিসে",
+ ],
+ longhand: [
+ "জানুয়ারী",
+ "ফেব্রুয়ারী",
+ "মার্চ",
+ "এপ্রিল",
+ "মে",
+ "জুন",
+ "জুলাই",
+ "আগস্ট",
+ "সেপ্টেম্বর",
+ "অক্টোবর",
+ "নভেম্বর",
+ "ডিসেম্বর",
+ ],
+ },
+ };
+ fp.l10ns.bn = Bangla;
+ var bn = fp.l10ns;
-flatpickr.l10ns.bn.months = {
- shorthand: ["জানু", "ফেব্রু", "মার্চ", "এপ্রিল", "মে", "জুন", "জুলাই", "আগ", "সেপ্টে", "অক্টো", "নভে", "ডিসে"],
- longhand: ["জানুয়ারী", "ফেব্রুয়ারী", "মার্চ", "এপ্রিল", "মে", "জুন", "জুলাই", "আগস্ট", "সেপ্টেম্বর", "অক্টোবর", "নভেম্বর", "ডিসেম্বর"]
-};
-if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
\ No newline at end of file
+ exports.Bangla = Bangla;
+ exports.default = bn;
+
+ Object.defineProperty(exports, '__esModule', { value: true });
+
+})));