diff --git a/.github/workflows/pull_code.yml b/.github/workflows/pull_code.yml
new file mode 100644
index 0000000..8993f8c
--- /dev/null
+++ b/.github/workflows/pull_code.yml
@@ -0,0 +1,28 @@
+name: Pull Code
+
+on:
+ push:
+ branches:
+ - dev_odex_base
+
+ workflow_dispatch:
+ inputs:
+ environment:
+ description: 'Select Server'
+ required: true
+ type: choice
+ options:
+ - dev
+ default: dev
+
+jobs:
+
+ deploy_dev_server:
+ name: Deploy to Dev Servers
+ runs-on: odex30-runner
+ if: (github.ref == 'refs/heads/dev_odex_base' || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev'))
+ steps:
+ - name: Checkout And Restart Project
+ run: |
+ sudo chmod +x /home/${{ secrets.CLIENT_USER }}/scripts/pull/pull_code.sh
+ sudo /home/${{ secrets.CLIENT_USER }}/scripts/pull/pull_code.sh
diff --git a/.github/workflows/upgrade_module.yml b/.github/workflows/upgrade_module.yml
new file mode 100644
index 0000000..10e92bc
--- /dev/null
+++ b/.github/workflows/upgrade_module.yml
@@ -0,0 +1,34 @@
+name: Upgrade Module
+
+on:
+ workflow_dispatch:
+ inputs:
+ database_name:
+ description: 'Database Name'
+ required: true
+ type: string
+ module_name:
+ description: 'Module Name'
+ required: true
+ type: string
+ environment:
+ description: 'Select Server'
+ required: true
+ type: choice
+ options:
+ - dev
+ default: dev
+
+jobs:
+ upgrade_master:
+ name: Upgrade Dev server
+ runs-on: odex30-runner
+ if: github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev'
+ steps:
+ - name: Upgrade Module
+ env:
+ DATABASE_NAME: ${{ github.event.inputs.database_name }}
+ MODULE_NAME: ${{ github.event.inputs.module_name }}
+ run: |
+ chmod +x /home/${{ secrets.CLIENT_USER }}/scripts/upgrade/upgrade-module.sh
+ /home/${{ secrets.CLIENT_USER }}/scripts/upgrade/upgrade-module.sh "$DATABASE_NAME" "$MODULE_NAME"
diff --git a/odex30_base/qr_generator/__init__.py b/odex30_base/qr_generator/__init__.py
new file mode 100644
index 0000000..cde864b
--- /dev/null
+++ b/odex30_base/qr_generator/__init__.py
@@ -0,0 +1,3 @@
+# -*- coding: utf-8 -*-
+
+from . import models
diff --git a/odex30_base/qr_generator/__manifest__.py b/odex30_base/qr_generator/__manifest__.py
new file mode 100644
index 0000000..d0c0a96
--- /dev/null
+++ b/odex30_base/qr_generator/__manifest__.py
@@ -0,0 +1,26 @@
+# -*- coding: utf-8 -*-
+{
+ 'name': "QR Code Generator",
+ 'summary': """Integrated QR code generator within the odoo framework.""",
+ 'description': """Helps to generate QR codes for texts or large urls.""",
+ 'version': '18.0.1.0.0',
+ 'category': 'Tools',
+ 'author': "Kripal K",
+ 'website': "https://www.linkedin.com/in/kripal754/",
+ 'license': 'LGPL-3',
+ 'depends': ['base', 'web'],
+ 'data': [
+ 'security/ir.model.access.csv',
+ ],
+ 'assets': {
+ 'web.assets_backend': [
+ 'qr_generator/static/src/components/qr_generator_systray_item.js',
+ 'qr_generator/static/src/components/qr_generator_systray_item.xml',
+ 'qr_generator/static/src/scss/qr_generator.scss',
+ ],
+ },
+ 'images': ['static/description/banner.png'],
+ 'installable': True,
+ 'application': False,
+ 'auto_install': False,
+}
diff --git a/odex30_base/qr_generator/models/__init__.py b/odex30_base/qr_generator/models/__init__.py
new file mode 100644
index 0000000..cde864b
--- /dev/null
+++ b/odex30_base/qr_generator/models/__init__.py
@@ -0,0 +1,3 @@
+# -*- coding: utf-8 -*-
+
+from . import models
diff --git a/odex30_base/qr_generator/models/models.py b/odex30_base/qr_generator/models/models.py
new file mode 100644
index 0000000..7ea7bd6
--- /dev/null
+++ b/odex30_base/qr_generator/models/models.py
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+
+from odoo import models, fields, api, _
+import qrcode
+import base64
+import io
+
+
+class QRGenerator(models.Model):
+ _name = 'qr.generator'
+
+ @api.model
+ def get_qr_code(self, data):
+ if data != "":
+ img = qrcode.make(data)
+ result = io.BytesIO()
+ img.save(result, format='PNG')
+ result.seek(0)
+ img_bytes = result.read()
+ base64_encoded_result_bytes = base64.b64encode(img_bytes)
+ base64_encoded_result_str = base64_encoded_result_bytes.decode('ascii')
+ return base64_encoded_result_str
diff --git a/odex30_base/qr_generator/security/ir.model.access.csv b/odex30_base/qr_generator/security/ir.model.access.csv
new file mode 100644
index 0000000..6dd6443
--- /dev/null
+++ b/odex30_base/qr_generator/security/ir.model.access.csv
@@ -0,0 +1,2 @@
+id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
+access_qr_generator,access_qr_generator,model_qr_generator,,1,1,1,1
diff --git a/odex30_base/qr_generator/static/description/banner.png b/odex30_base/qr_generator/static/description/banner.png
new file mode 100644
index 0000000..728fa73
Binary files /dev/null and b/odex30_base/qr_generator/static/description/banner.png differ
diff --git a/odex30_base/qr_generator/static/description/icon.png b/odex30_base/qr_generator/static/description/icon.png
new file mode 100644
index 0000000..690d8f8
Binary files /dev/null and b/odex30_base/qr_generator/static/description/icon.png differ
diff --git a/odex30_base/qr_generator/static/description/index.html b/odex30_base/qr_generator/static/description/index.html
new file mode 100644
index 0000000..18364e5
--- /dev/null
+++ b/odex30_base/qr_generator/static/description/index.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Odoo QR Code Generator
+
Integrated QR code generator within the odoo framework.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Overview
+
Helps to generate QR codes for texts or large urls.
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/odex30_base/qr_generator/static/description/qr_generator.gif b/odex30_base/qr_generator/static/description/qr_generator.gif
new file mode 100644
index 0000000..61f649e
Binary files /dev/null and b/odex30_base/qr_generator/static/description/qr_generator.gif differ
diff --git a/odex30_base/qr_generator/static/description/screenshot.png b/odex30_base/qr_generator/static/description/screenshot.png
new file mode 100644
index 0000000..424a2f3
Binary files /dev/null and b/odex30_base/qr_generator/static/description/screenshot.png differ
diff --git a/odex30_base/qr_generator/static/src/components/qr_generator_systray_item.js b/odex30_base/qr_generator/static/src/components/qr_generator_systray_item.js
new file mode 100644
index 0000000..d7a975f
--- /dev/null
+++ b/odex30_base/qr_generator/static/src/components/qr_generator_systray_item.js
@@ -0,0 +1,72 @@
+/** @odoo-module **/
+
+import { Component, useState } from "@odoo/owl";
+import { Dropdown } from "@web/core/dropdown/dropdown";
+import { DropdownItem } from "@web/core/dropdown/dropdown_item";
+import { registry } from "@web/core/registry";
+import { useService } from "@web/core/utils/hooks";
+import { _t } from "@web/core/l10n/translation";
+
+export class QRGeneratorSystrayItem extends Component {
+ static template = "qr_generator.QRGeneratorSystrayItem";
+ static components = { Dropdown };
+ static props = {};
+
+ setup() {
+ this.orm = useService("orm");
+ this.state = useState({
+ inputValue: "",
+ qrCodeData: null,
+ showPreview: false,
+ });
+ }
+
+ onInputChange(ev) {
+ this.state.inputValue = ev.target.value;
+ }
+
+ async generateQR() {
+ if (!this.state.inputValue) {
+ this.state.showPreview = false;
+ this.state.qrCodeData = null;
+ return;
+ }
+
+ try {
+ const result = await this.orm.call(
+ "qr.generator",
+ "get_qr_code",
+ [this.state.inputValue]
+ );
+
+ if (result) {
+ this.state.qrCodeData = `data:image/png;base64,${result}`;
+ this.state.showPreview = true;
+ }
+ } catch (error) {
+ console.error("Error generating QR code:", error);
+ this.state.showPreview = false;
+ }
+ }
+
+ clearInput() {
+ this.state.inputValue = "";
+ this.state.qrCodeData = null;
+ this.state.showPreview = false;
+ }
+
+ downloadQR() {
+ if (this.state.qrCodeData) {
+ const link = document.createElement('a');
+ link.href = this.state.qrCodeData;
+ link.download = 'qrcode.png';
+ link.click();
+ }
+ }
+}
+
+export const systrayItem = {
+ Component: QRGeneratorSystrayItem,
+};
+
+registry.category("systray").add("qr_generator.QRGeneratorSystrayItem", systrayItem, { sequence: 50 });
\ No newline at end of file
diff --git a/odex30_base/qr_generator/static/src/components/qr_generator_systray_item.xml b/odex30_base/qr_generator/static/src/components/qr_generator_systray_item.xml
new file mode 100644
index 0000000..c55fd77
--- /dev/null
+++ b/odex30_base/qr_generator/static/src/components/qr_generator_systray_item.xml
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
QR Code Generator
+
+
+
+
+
+
+
+ Generate
+
+
+ Clear
+
+
+
+
+
+
+ Download
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/odex30_base/qr_generator/static/src/scss/qr_generator.scss b/odex30_base/qr_generator/static/src/scss/qr_generator.scss
new file mode 100644
index 0000000..86fe16a
--- /dev/null
+++ b/odex30_base/qr_generator/static/src/scss/qr_generator.scss
@@ -0,0 +1,56 @@
+* {
+ box-sizing: border-box;
+}
+
+select, textarea {
+ width: 100%;
+ padding: 12px;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ resize: vertical;
+}
+
+label {
+ padding: 12px 12px 12px 0;
+ display: inline-block;
+}
+
+.container {
+ border-radius: 1px;
+ padding: 5px;
+ height:auto;
+ width:350px;
+ background-color:#F9F9F9;
+ margin-top: 3px;
+ margin-left: 3px;
+ margin-right: 3px;
+ margin-bottom: 3px;
+ overflow: auto;
+}
+
+.col-25 {
+ float: left;
+ width: 25%;
+ margin-top: 6px;
+}
+
+.col-75 {
+ float: left;
+ width: 75%;
+ margin-top: 6px;
+}
+
+input[type=button] {
+ background-color: #00A09D;
+ color: white;
+ padding: 6px 12px;
+ border: none;
+ border-radius: 4px;
+ outline:none;
+ cursor: pointer;
+ float: center;
+}
+
+input[type=button]:hover {
+ background-color: #008784;
+}
diff --git a/odex30_base/qr_generator/views/templates.xml b/odex30_base/qr_generator/views/templates.xml
new file mode 100644
index 0000000..45b4eb0
--- /dev/null
+++ b/odex30_base/qr_generator/views/templates.xml
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/odex30_base/quick_language_selection/README.md b/odex30_base/quick_language_selection/README.md
new file mode 100644
index 0000000..2c541e6
--- /dev/null
+++ b/odex30_base/quick_language_selection/README.md
@@ -0,0 +1,16 @@
+# Quick Language Selection
+
+Quick Language Selection is a tool that adds a Quick Language Switcher to the top right-hand User Menu.
+
+
+# Features
+
+ - Adds Quick Language Switcher to the top right-hand User Menu.
+ - Adds Country flags to the top right-hand User Menu.
+ - Provides 78 country flags.
+
+
+> After installation of this module:
+ If you want to Setup more flags, just rename the flag picture to local code of the country.
+ You can find the pictures in "\quick_language_selection\static\src\img\flags
+
diff --git a/odex30_base/quick_language_selection/__init__.py b/odex30_base/quick_language_selection/__init__.py
new file mode 100644
index 0000000..40a96af
--- /dev/null
+++ b/odex30_base/quick_language_selection/__init__.py
@@ -0,0 +1 @@
+# -*- coding: utf-8 -*-
diff --git a/odex30_base/quick_language_selection/__manifest__.py b/odex30_base/quick_language_selection/__manifest__.py
new file mode 100644
index 0000000..cb26b54
--- /dev/null
+++ b/odex30_base/quick_language_selection/__manifest__.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# Part of cube48.de. See LICENSE file for full copyright and licensing details.
+#
+##############################################################################
+{
+ 'name': "Quick Language Selection",
+
+ 'summary': """
+ Change the language from user preference menu with only one click.""",
+
+ 'description': """
+ Change the language from user preference menu with only one click.
+
+ 1. Adds Quick Language Switcher to the top right-hand User Menu.
+ 2. Adds Country flags to the top right-hand User Menu.
+ 3. Provides 78 country flags.
+
+ """,
+
+ 'author': "cube48 AG",
+ 'website': "https://www.cube48.de",
+ 'category': "Odex25-base",
+ 'version': '18.0.1.0.0',
+ 'depends': [
+ 'base',
+ ],
+ 'data': [
+ 'views/views.xml',
+ ],
+ 'assets': {
+ 'web.assets_backend': [
+ 'quick_language_selection/static/src/css/app.css',
+ 'quick_language_selection/static/src/js/language_selector.js',
+ 'quick_language_selection/static/src/xml/language_selector.xml',
+ ],
+ },
+ 'images': ["static/description/banner.png"],
+ 'license': "AGPL-3",
+ 'installable': True,
+ 'application': True,
+}
diff --git a/odex30_base/quick_language_selection/static/description/banner.png b/odex30_base/quick_language_selection/static/description/banner.png
new file mode 100644
index 0000000..d1737d5
Binary files /dev/null and b/odex30_base/quick_language_selection/static/description/banner.png differ
diff --git a/odex30_base/quick_language_selection/static/description/cube48.png b/odex30_base/quick_language_selection/static/description/cube48.png
new file mode 100644
index 0000000..a313152
Binary files /dev/null and b/odex30_base/quick_language_selection/static/description/cube48.png differ
diff --git a/odex30_base/quick_language_selection/static/description/icon.png b/odex30_base/quick_language_selection/static/description/icon.png
new file mode 100644
index 0000000..1945653
Binary files /dev/null and b/odex30_base/quick_language_selection/static/description/icon.png differ
diff --git a/odex30_base/quick_language_selection/static/description/index.html b/odex30_base/quick_language_selection/static/description/index.html
new file mode 100644
index 0000000..3eb30ee
--- /dev/null
+++ b/odex30_base/quick_language_selection/static/description/index.html
@@ -0,0 +1,23 @@
+
+
+
+
Quick Language Selection
+
+
If you have to change your language frequently, you will love it!
+
This app creates new entries for all active languages in the top right user menu. Select the required one with just one click. Handy for employees of multilingual companies, external users, developers, partners...
+
+
This module contains 78 nice flags for all Odoo standard languages. Feel free to ask if you miss your language. Not shown in mobile view.
+
+
+
+
+
+
+
+
+ Please contact us for support requests, app customizations or entire app developments.
+
+
+
diff --git a/odex30_base/quick_language_selection/static/description/page.gif b/odex30_base/quick_language_selection/static/description/page.gif
new file mode 100644
index 0000000..350312b
Binary files /dev/null and b/odex30_base/quick_language_selection/static/description/page.gif differ
diff --git a/odex30_base/quick_language_selection/static/description/page1.png b/odex30_base/quick_language_selection/static/description/page1.png
new file mode 100644
index 0000000..2de4d32
Binary files /dev/null and b/odex30_base/quick_language_selection/static/description/page1.png differ
diff --git a/odex30_base/quick_language_selection/static/src/css/app.css b/odex30_base/quick_language_selection/static/src/css/app.css
new file mode 100644
index 0000000..c199f5c
--- /dev/null
+++ b/odex30_base/quick_language_selection/static/src/css/app.css
@@ -0,0 +1,7 @@
+.o_user_menu .dropdown-menu img {
+ height: 20px;
+ margin: 2px;
+}
+.o_burger_menu .o_burger_menu_content .o_burger_menu_user .o_user_menu_mobile a img{
+ width: 30px!important;
+}
\ No newline at end of file
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/am_ET.png b/odex30_base/quick_language_selection/static/src/img/flags/am_ET.png
new file mode 100644
index 0000000..5330161
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/am_ET.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/ar_001.png b/odex30_base/quick_language_selection/static/src/img/flags/ar_001.png
new file mode 100644
index 0000000..0e8f840
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/ar_001.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/ar_SY.png b/odex30_base/quick_language_selection/static/src/img/flags/ar_SY.png
new file mode 100644
index 0000000..b7f684e
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/ar_SY.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/bg_BG.png b/odex30_base/quick_language_selection/static/src/img/flags/bg_BG.png
new file mode 100644
index 0000000..8716c7a
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/bg_BG.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/bs_BA.png b/odex30_base/quick_language_selection/static/src/img/flags/bs_BA.png
new file mode 100644
index 0000000..d3595a5
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/bs_BA.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/ca_ES.png b/odex30_base/quick_language_selection/static/src/img/flags/ca_ES.png
new file mode 100644
index 0000000..0c9580b
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/ca_ES.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/cs_CZ.png b/odex30_base/quick_language_selection/static/src/img/flags/cs_CZ.png
new file mode 100644
index 0000000..6c5556a
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/cs_CZ.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/da_DK.png b/odex30_base/quick_language_selection/static/src/img/flags/da_DK.png
new file mode 100644
index 0000000..c9e4450
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/da_DK.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/de_CH.png b/odex30_base/quick_language_selection/static/src/img/flags/de_CH.png
new file mode 100644
index 0000000..e487a0e
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/de_CH.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/de_DE.png b/odex30_base/quick_language_selection/static/src/img/flags/de_DE.png
new file mode 100644
index 0000000..5bcb0b2
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/de_DE.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/el_GR.png b/odex30_base/quick_language_selection/static/src/img/flags/el_GR.png
new file mode 100644
index 0000000..7d5f701
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/el_GR.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/en_AU.png b/odex30_base/quick_language_selection/static/src/img/flags/en_AU.png
new file mode 100644
index 0000000..8108cc3
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/en_AU.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/en_GB.png b/odex30_base/quick_language_selection/static/src/img/flags/en_GB.png
new file mode 100644
index 0000000..18d5ff9
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/en_GB.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/en_US.png b/odex30_base/quick_language_selection/static/src/img/flags/en_US.png
new file mode 100644
index 0000000..5c4f03e
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/en_US.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_AR.png b/odex30_base/quick_language_selection/static/src/img/flags/es_AR.png
new file mode 100644
index 0000000..3adecba
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_AR.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_BO.png b/odex30_base/quick_language_selection/static/src/img/flags/es_BO.png
new file mode 100644
index 0000000..e44677a
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_BO.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_CL.png b/odex30_base/quick_language_selection/static/src/img/flags/es_CL.png
new file mode 100644
index 0000000..85d3a6c
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_CL.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_CO.png b/odex30_base/quick_language_selection/static/src/img/flags/es_CO.png
new file mode 100644
index 0000000..736d761
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_CO.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_CR.png b/odex30_base/quick_language_selection/static/src/img/flags/es_CR.png
new file mode 100644
index 0000000..361a65f
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_CR.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_DO.png b/odex30_base/quick_language_selection/static/src/img/flags/es_DO.png
new file mode 100644
index 0000000..29970e7
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_DO.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_EC.png b/odex30_base/quick_language_selection/static/src/img/flags/es_EC.png
new file mode 100644
index 0000000..0273da6
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_EC.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_ES.png b/odex30_base/quick_language_selection/static/src/img/flags/es_ES.png
new file mode 100644
index 0000000..0c9580b
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_ES.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_GT.png b/odex30_base/quick_language_selection/static/src/img/flags/es_GT.png
new file mode 100644
index 0000000..139e648
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_GT.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_MX.png b/odex30_base/quick_language_selection/static/src/img/flags/es_MX.png
new file mode 100644
index 0000000..539739f
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_MX.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_PA.png b/odex30_base/quick_language_selection/static/src/img/flags/es_PA.png
new file mode 100644
index 0000000..1fdbc11
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_PA.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_PE.png b/odex30_base/quick_language_selection/static/src/img/flags/es_PE.png
new file mode 100644
index 0000000..a40226f
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_PE.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_PY.png b/odex30_base/quick_language_selection/static/src/img/flags/es_PY.png
new file mode 100644
index 0000000..e3b76ce
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_PY.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_UY.png b/odex30_base/quick_language_selection/static/src/img/flags/es_UY.png
new file mode 100644
index 0000000..fa06556
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_UY.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/es_VE.png b/odex30_base/quick_language_selection/static/src/img/flags/es_VE.png
new file mode 100644
index 0000000..facca46
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/es_VE.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/et_EE.png b/odex30_base/quick_language_selection/static/src/img/flags/et_EE.png
new file mode 100644
index 0000000..5ef87c0
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/et_EE.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/eu_ES.png b/odex30_base/quick_language_selection/static/src/img/flags/eu_ES.png
new file mode 100644
index 0000000..0c9580b
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/eu_ES.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/fa_IR.png b/odex30_base/quick_language_selection/static/src/img/flags/fa_IR.png
new file mode 100644
index 0000000..cc6acab
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/fa_IR.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/fi_FI.png b/odex30_base/quick_language_selection/static/src/img/flags/fi_FI.png
new file mode 100644
index 0000000..24f113e
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/fi_FI.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/fr_BE.png b/odex30_base/quick_language_selection/static/src/img/flags/fr_BE.png
new file mode 100644
index 0000000..d19bd94
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/fr_BE.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/fr_CA.png b/odex30_base/quick_language_selection/static/src/img/flags/fr_CA.png
new file mode 100644
index 0000000..30e76b0
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/fr_CA.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/fr_CH.png b/odex30_base/quick_language_selection/static/src/img/flags/fr_CH.png
new file mode 100644
index 0000000..e487a0e
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/fr_CH.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/fr_FR.png b/odex30_base/quick_language_selection/static/src/img/flags/fr_FR.png
new file mode 100644
index 0000000..ae26d3b
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/fr_FR.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/gl_ES.png b/odex30_base/quick_language_selection/static/src/img/flags/gl_ES.png
new file mode 100644
index 0000000..0c9580b
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/gl_ES.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/gu_IN.png b/odex30_base/quick_language_selection/static/src/img/flags/gu_IN.png
new file mode 100644
index 0000000..ceb9971
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/gu_IN.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/he_IL.png b/odex30_base/quick_language_selection/static/src/img/flags/he_IL.png
new file mode 100644
index 0000000..b05ebc2
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/he_IL.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/hi_IN.png b/odex30_base/quick_language_selection/static/src/img/flags/hi_IN.png
new file mode 100644
index 0000000..ceb9971
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/hi_IN.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/hr_HR.png b/odex30_base/quick_language_selection/static/src/img/flags/hr_HR.png
new file mode 100644
index 0000000..1471bf1
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/hr_HR.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/hu_HU.png b/odex30_base/quick_language_selection/static/src/img/flags/hu_HU.png
new file mode 100644
index 0000000..d903f3d
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/hu_HU.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/id_ID.png b/odex30_base/quick_language_selection/static/src/img/flags/id_ID.png
new file mode 100644
index 0000000..aff745b
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/id_ID.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/it_IT.png b/odex30_base/quick_language_selection/static/src/img/flags/it_IT.png
new file mode 100644
index 0000000..f6aa615
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/it_IT.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/ja_JP.png b/odex30_base/quick_language_selection/static/src/img/flags/ja_JP.png
new file mode 100644
index 0000000..066ab4d
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/ja_JP.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/ka_GE.png b/odex30_base/quick_language_selection/static/src/img/flags/ka_GE.png
new file mode 100644
index 0000000..09dae1d
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/ka_GE.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/kab_DZ.png b/odex30_base/quick_language_selection/static/src/img/flags/kab_DZ.png
new file mode 100644
index 0000000..afaf814
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/kab_DZ.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/km_KH.png b/odex30_base/quick_language_selection/static/src/img/flags/km_KH.png
new file mode 100644
index 0000000..4b31380
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/km_KH.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/ko_KP.png b/odex30_base/quick_language_selection/static/src/img/flags/ko_KP.png
new file mode 100644
index 0000000..4df5f0a
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/ko_KP.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/ko_KR.png b/odex30_base/quick_language_selection/static/src/img/flags/ko_KR.png
new file mode 100644
index 0000000..b0b21df
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/ko_KR.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/lo_LA.png b/odex30_base/quick_language_selection/static/src/img/flags/lo_LA.png
new file mode 100644
index 0000000..665aa7d
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/lo_LA.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/lt_LT.png b/odex30_base/quick_language_selection/static/src/img/flags/lt_LT.png
new file mode 100644
index 0000000..709383f
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/lt_LT.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/lv_LV.png b/odex30_base/quick_language_selection/static/src/img/flags/lv_LV.png
new file mode 100644
index 0000000..b466aa7
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/lv_LV.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/mk_MK.png b/odex30_base/quick_language_selection/static/src/img/flags/mk_MK.png
new file mode 100644
index 0000000..2d9a8ae
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/mk_MK.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/mn_MN.png b/odex30_base/quick_language_selection/static/src/img/flags/mn_MN.png
new file mode 100644
index 0000000..825a0c2
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/mn_MN.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/my_MM (1).png b/odex30_base/quick_language_selection/static/src/img/flags/my_MM (1).png
new file mode 100644
index 0000000..c6b44dd
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/my_MM (1).png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/nb_NO.png b/odex30_base/quick_language_selection/static/src/img/flags/nb_NO.png
new file mode 100644
index 0000000..f1e64f7
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/nb_NO.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/nl_BE.png b/odex30_base/quick_language_selection/static/src/img/flags/nl_BE.png
new file mode 100644
index 0000000..d19bd94
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/nl_BE.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/nl_NL.png b/odex30_base/quick_language_selection/static/src/img/flags/nl_NL.png
new file mode 100644
index 0000000..e566685
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/nl_NL.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/pl_PL.png b/odex30_base/quick_language_selection/static/src/img/flags/pl_PL.png
new file mode 100644
index 0000000..9fb2f6a
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/pl_PL.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/pt_BR.png b/odex30_base/quick_language_selection/static/src/img/flags/pt_BR.png
new file mode 100644
index 0000000..9b01d07
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/pt_BR.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/pt_PT.png b/odex30_base/quick_language_selection/static/src/img/flags/pt_PT.png
new file mode 100644
index 0000000..c3de0b1
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/pt_PT.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/ro_RO.png b/odex30_base/quick_language_selection/static/src/img/flags/ro_RO.png
new file mode 100644
index 0000000..4e7f9f1
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/ro_RO.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/ru_RU.png b/odex30_base/quick_language_selection/static/src/img/flags/ru_RU.png
new file mode 100644
index 0000000..c251d62
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/ru_RU.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/sk_SK.png b/odex30_base/quick_language_selection/static/src/img/flags/sk_SK.png
new file mode 100644
index 0000000..e7c3915
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/sk_SK.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/sl_SI.png b/odex30_base/quick_language_selection/static/src/img/flags/sl_SI.png
new file mode 100644
index 0000000..8538589
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/sl_SI.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/sq_AL.png b/odex30_base/quick_language_selection/static/src/img/flags/sq_AL.png
new file mode 100644
index 0000000..8aac6dc
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/sq_AL.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/sr@latin.png b/odex30_base/quick_language_selection/static/src/img/flags/sr@latin.png
new file mode 100644
index 0000000..255e428
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/sr@latin.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/sr_RS.png b/odex30_base/quick_language_selection/static/src/img/flags/sr_RS.png
new file mode 100644
index 0000000..255e428
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/sr_RS.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/sv_SE.png b/odex30_base/quick_language_selection/static/src/img/flags/sv_SE.png
new file mode 100644
index 0000000..870be17
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/sv_SE.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/te_IN.png b/odex30_base/quick_language_selection/static/src/img/flags/te_IN.png
new file mode 100644
index 0000000..ceb9971
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/te_IN.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/th_TH.png b/odex30_base/quick_language_selection/static/src/img/flags/th_TH.png
new file mode 100644
index 0000000..445da6a
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/th_TH.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/tr_TR.png b/odex30_base/quick_language_selection/static/src/img/flags/tr_TR.png
new file mode 100644
index 0000000..4e27f6a
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/tr_TR.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/uk_UA.png b/odex30_base/quick_language_selection/static/src/img/flags/uk_UA.png
new file mode 100644
index 0000000..4eac918
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/uk_UA.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/vi_VN.png b/odex30_base/quick_language_selection/static/src/img/flags/vi_VN.png
new file mode 100644
index 0000000..4e89f65
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/vi_VN.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/zh_CN.png b/odex30_base/quick_language_selection/static/src/img/flags/zh_CN.png
new file mode 100644
index 0000000..d969efa
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/zh_CN.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/zh_HK.png b/odex30_base/quick_language_selection/static/src/img/flags/zh_HK.png
new file mode 100644
index 0000000..8426e7c
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/zh_HK.png differ
diff --git a/odex30_base/quick_language_selection/static/src/img/flags/zh_TW.png b/odex30_base/quick_language_selection/static/src/img/flags/zh_TW.png
new file mode 100644
index 0000000..0fb9973
Binary files /dev/null and b/odex30_base/quick_language_selection/static/src/img/flags/zh_TW.png differ
diff --git a/odex30_base/quick_language_selection/static/src/js/language_selector.js b/odex30_base/quick_language_selection/static/src/js/language_selector.js
new file mode 100644
index 0000000..79acd87
--- /dev/null
+++ b/odex30_base/quick_language_selection/static/src/js/language_selector.js
@@ -0,0 +1,120 @@
+/** @odoo-module **/
+
+import { markup } from "@odoo/owl";
+import { _t } from "@web/core/l10n/translation";
+import { user } from "@web/core/user";
+import { session } from "@web/session";
+import { browser } from "@web/core/browser/browser";
+import { registry } from "@web/core/registry";
+import { escape } from "@web/core/utils/strings";
+
+function getFlagUrl(langCode) {
+ return `/quick_language_selection/static/src/img/flags/${langCode}.png`;
+}
+
+let cachedLanguages = null;
+
+async function getActiveLanguages(env) {
+ if (cachedLanguages) {
+ return cachedLanguages;
+ }
+
+ try {
+ cachedLanguages = await env.services.orm.searchRead(
+ "res.lang",
+ [["active", "=", true]],
+ ["name", "code"],
+ { order: "name" }
+ );
+ return cachedLanguages;
+ } catch (error) {
+ console.error("Error loading languages:", error);
+ return [];
+ }
+}
+
+async function switchUserLanguage(langCode, env) {
+ if (langCode === user.lang) {
+ return;
+ }
+
+ try {
+ await env.services.orm.call("res.users", "write", [user.userId, { lang: langCode }]);
+
+ window.location.reload();
+ } catch (error) {
+ console.error("Error switching user language:", error);
+ try {
+ await env.services.rpc("/web/dataset/call_kw/res.users/write", {
+ model: "res.users",
+ method: "write",
+ args: [user.userId, { lang: langCode }],
+ kwargs: {}
+ });
+ window.location.reload();
+ } catch (fallbackError) {
+ console.error("Fallback also failed:", fallbackError);
+ const url = new URL(window.location.href);
+ url.searchParams.set('lang', langCode);
+ window.location.href = url.toString();
+ }
+ }
+}
+
+function languageSeparator(env) {
+ return {
+ type: "separator",
+ sequence: 35,
+ };
+}
+
+function englishLanguageItem(env) {
+ const currentLang = user.lang || 'en_US';
+ const isActive = currentLang === 'en_US';
+
+ return {
+ type: "item",
+ id: "language_en_US",
+ description: markup(`
+
+
+
English
+ ${isActive ? '
' : ''}
+
+ `),
+ callback: () => switchUserLanguage('en_US', env),
+ sequence: 36,
+ };
+}
+
+function arabicLanguageItem(env) {
+ const currentLang = user.lang || 'en_US';
+ const isActive = currentLang === 'ar_SY';
+
+ return {
+ type: "item",
+ id: "language_ar_SY",
+ description: markup(`
+
+
+
العربية
+ ${isActive ? '
' : ''}
+
+ `),
+ callback: () => switchUserLanguage('ar_SY', env),
+ sequence: 37,
+ };
+}
+
+registry.category("user_menuitems")
+ .add("language_separator", languageSeparator)
+ .add("language_en_US", englishLanguageItem)
+ .add("language_ar_SY", arabicLanguageItem);
\ No newline at end of file
diff --git a/odex30_base/quick_language_selection/static/src/xml/language_selector.xml b/odex30_base/quick_language_selection/static/src/xml/language_selector.xml
new file mode 100644
index 0000000..0261d40
--- /dev/null
+++ b/odex30_base/quick_language_selection/static/src/xml/language_selector.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/odex30_base/quick_language_selection/views/views.xml b/odex30_base/quick_language_selection/views/views.xml
new file mode 100644
index 0000000..421291a
--- /dev/null
+++ b/odex30_base/quick_language_selection/views/views.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/odex30_base/sw_multi_search/LICENSE b/odex30_base/sw_multi_search/LICENSE
new file mode 100644
index 0000000..bc4c9f8
--- /dev/null
+++ b/odex30_base/sw_multi_search/LICENSE
@@ -0,0 +1,149 @@
+Licencing and Agreement Policies for Smart Way Business Solutions
+---------------------------------------------
+---------------------------------------------
+
+Smart Way Business Solutions, a Jordanian softwares company specialized in Odoo
+solutions and pioneering technical advancements in the MENA region.
+
+Modules found on this platform are Smart Way’s soul ownership in accordance to the
+below guidelines and specifications.
+
+
+Odoo Proprietary Licensing:
+---------------------------
+---------------------------
+
+This software and associated files (the "Software") may only be used (executed,
+modified, executed after modifications) if you have purchased a valid license
+from the authors, typically via Odoo Apps, or if you have received a written
+agreement from the authors of the Software (see the COPYRIGHT file).
+
+
+You may develop Odoo modules that use the Software as a library (typically by
+depending on it, importing it and using its resources), but without copying any
+source code or material from the Software. You may distribute those modules under
+the license of your choice, provided that this license is compatible with the terms
+of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses
+similar to this one).
+
+It is forbidden to publish, distribute, sub license, or sell copies of the Software
+or modified copies of the Software.
+
+The above copyright notice and this permission notice must be included in all copies
+or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT.
+
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
+OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+Copyright Policy:
+-----------------
+-----------------
+
+We, Smart Way Business Solutions, hold and reserve the right to use and incorporate
+any feature in any plug-in, module, application or software and reserve the right to
+new releases and version of any plug-in, module, application or software.
+
+Any alteration, improvement or customization of any plug-in, module, application or
+software remain copyrighted by Smart Way Business Solutions.
+
+
+Reasons for Holding Copyright:
+
+Common Applications: We are constantly looking to work on and improve our
+applications and plug-in in order to be able to compete with our market.
+So we hold copyright of our changes and customizations in order to be able
+to later improve and further the development of all plug-ins, modules,
+applications or software.
+
+Unique Customizations: Most customization requests and application improvement
+projects are that of a similar nature to our previous, current or future
+planned work, this means that the request would be developed by Smart Way
+Business Solutions eventually if not something similar already.*In the scenarios
+where this is not the case, copyright still remains with Smart Way Business Solutions.
+
+
+* Of course customizations could be a more specifically targeted module that one already
+developed by Smart Way Business Solutions.
+
+
+The license you purchase is:
+1- Common Applications: The license we provide for the plug-in, module or application is
+ for use on only one domain (one development instance and one production instance).
+2- New Customizations or Developments In this case Smart Way Business Solutions reserves
+the right to charge you based on the cost of the hours and cost of development.
+
+
+Terms & Conditions:
+-------------------
+-------------------
+
+The following is a legally binding document (and all its parts are treated as one whole),
+and any forsaking of the below clauses will be subject to prosecution to the full extent
+of the law and is under the absolute jurisdiction of the Amman, Jordan courts.
+
+If there are any charges being charged to you, after purchasing this application are for
+any amendments, changes, additions, upgrades or customizations of the released version
+of the purchased and afore mentioned application that you have requested.
+
+Each customization requested will only be billed or charged once, each customization order
+is a separate operation and will be billed individually as separate entities.
+
+Copyright of the application and all customizations made on the application is ownership
+of Smart Way Business Solutions and therefore holds the right to incorporate all features
+in any application or any version of the modules.
+
+You hereby agree and consent that all claims, or disputes in connection to this application
+on any platform between You and Smart Way Business Solutions is under the absolute
+jurisdiction of the Amman, Jordan courts.
+
+You also agree that Smart Way Business Solutions reserves the right to change or alter the
+terms & conditions defined in this document at any point or time, and you will be informed of
+any such changes if you have supplied Smart Way Business Solutions with your contact information.
+
+You accord that Smart Way Business Solutions, in its sole and absolute discretion, reserves the
+right to:
+
+- Deny, cancel, remove, halt, transfer, correct or modify in any way and or take any other
+corrective action it sees fit to maintain the integrity and stability of it’s services.
+
+- To adhere to any laws, government rules, or law enforcement requests and hereby avoid any
+liability; civil or criminal. Any repercussions of the above mentioned legal requirements are
+not subject to discussion and Smart Way Business Solution shall not be liable or responsible
+of any loss or damage to data, or software that may result from it.
+
+
+Limited Liability Policy to ensure the integrity of Smart Way Business Solutions rights,
+You agree and adhere that Smart Way Business Solutions cannot guarantee or assure and
+therefore is not liable for:
+
+- Failure to delivered products.
+- Any defects of the aforementioned application.
+- Any breach of warranty.
+- Any loss of data during installation.
+- Integrity of information or data stored or transmitted via any mediator or communications
+pathway.
+- Any unauthorized access to data.
+- Any corruption or destruction or any inadvertent disclosure of data or content or information
+stored, received or transmitted from or to the system or any system affected by it.
+- Any cost or reconciliation from any for any damages or lost profits due to
+the any aforementioned scenarios.
+- Is not responsible to fix or amend any of the aforementioned scenarios and is not liable for
+blame.
+- Any performance changes.
+
+You adhere that any damages or aforementioned losses or disclosure of data is not the liability
+or responsibility of Smart Way Business Solutions whether or not it has been advised of the
+possibility of any such occurrences.
+
+You are aware, acknowledge and agree that if Smart Way Business Solutions takes any corrective
+action (regardless of nature) under this agreement because of any of your actions that might
+affect any of your customers or any of your partners or resellers, and that Smart Way Business
+Solutions is not and shall not be liable for any of the effects or impacts that any of the
+corrective actions have caused.
diff --git a/odex30_base/sw_multi_search/__init__.py b/odex30_base/sw_multi_search/__init__.py
new file mode 100644
index 0000000..a0fdc10
--- /dev/null
+++ b/odex30_base/sw_multi_search/__init__.py
@@ -0,0 +1,2 @@
+# -*- coding: utf-8 -*-
+from . import models
diff --git a/odex30_base/sw_multi_search/__manifest__.py b/odex30_base/sw_multi_search/__manifest__.py
new file mode 100644
index 0000000..2897a08
--- /dev/null
+++ b/odex30_base/sw_multi_search/__manifest__.py
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+{
+ 'name': 'SW - Multi Search',
+ 'version': '18.0.1.2.0',
+ 'category' : 'Odex25-base',
+ 'summary' : """ Records bulk search on any page/model.
+ """,
+ 'description': """
+ Search for records in bulks on any page/model easily.
+ """,
+ 'license': "Other proprietary",
+ 'author' : 'Smart Way Business Solutions',
+ 'website': 'www.smartway.co',
+ 'depends': ['base'],
+ 'init_xml': [],
+ 'data': [
+ ],
+ 'installable': True,
+ 'application': False,
+ 'auto_install': False,
+ 'images': ["static/description/image.png"],
+ 'price' : 60,
+ 'currency' : 'EUR',
+
+}
diff --git a/odex30_base/sw_multi_search/models/__init__.py b/odex30_base/sw_multi_search/models/__init__.py
new file mode 100644
index 0000000..a6d6b33
--- /dev/null
+++ b/odex30_base/sw_multi_search/models/__init__.py
@@ -0,0 +1,2 @@
+# -*- coding: utf-8 -*-
+from . import multi_search
diff --git a/odex30_base/sw_multi_search/models/multi_search.py b/odex30_base/sw_multi_search/models/multi_search.py
new file mode 100644
index 0000000..f5479d0
--- /dev/null
+++ b/odex30_base/sw_multi_search/models/multi_search.py
@@ -0,0 +1,43 @@
+# -*- coding: utf-8 -*-
+
+import logging
+_logger = logging.getLogger(__name__)
+
+from odoo import models, api
+
+
+class Base(models.AbstractModel):
+ _inherit = 'base'
+
+ @api.model
+ def _search(self, domain, offset=0, limit=None, order=None):
+ """
+ Override _search to handle multi-search syntax with curly braces {}.
+ When a search term is wrapped in {}, it will be split into multiple OR conditions.
+ Example: searching for "{apple orange}" in a field will search for "apple" OR "orange"
+ """
+ new_domain = []
+ for term in domain:
+ if isinstance(term, (list, tuple)) and len(term) == 3:
+ field, op, val = term
+ if isinstance(val, str) and val.startswith('{') and val.endswith('}'):
+ # Handle multi-search syntax
+ lop = '&' if (op.startswith('!') or op.startswith('not')) else '|'
+ val = val[1:-1] # Remove curly braces
+ multi_terms = []
+ values = val.split()
+
+ # Build OR/AND conditions for multiple values
+ for i, v in enumerate(values):
+ if i > 0:
+ multi_terms.append(lop)
+ multi_terms.append((field, op, v))
+
+ if multi_terms:
+ new_domain.extend(multi_terms)
+ else:
+ new_domain.append(term)
+ else:
+ new_domain.append(term)
+
+ return super()._search(new_domain, offset=offset, limit=limit, order=order)
\ No newline at end of file
diff --git a/odex30_base/sw_multi_search/static/description/1.png b/odex30_base/sw_multi_search/static/description/1.png
new file mode 100644
index 0000000..38d983a
Binary files /dev/null and b/odex30_base/sw_multi_search/static/description/1.png differ
diff --git a/odex30_base/sw_multi_search/static/description/2.png b/odex30_base/sw_multi_search/static/description/2.png
new file mode 100644
index 0000000..d926301
Binary files /dev/null and b/odex30_base/sw_multi_search/static/description/2.png differ
diff --git a/odex30_base/sw_multi_search/static/description/3.png b/odex30_base/sw_multi_search/static/description/3.png
new file mode 100644
index 0000000..c6d49d9
Binary files /dev/null and b/odex30_base/sw_multi_search/static/description/3.png differ
diff --git a/odex30_base/sw_multi_search/static/description/4.png b/odex30_base/sw_multi_search/static/description/4.png
new file mode 100644
index 0000000..6b91265
Binary files /dev/null and b/odex30_base/sw_multi_search/static/description/4.png differ
diff --git a/odex30_base/sw_multi_search/static/description/icon.png b/odex30_base/sw_multi_search/static/description/icon.png
new file mode 100644
index 0000000..694239f
Binary files /dev/null and b/odex30_base/sw_multi_search/static/description/icon.png differ
diff --git a/odex30_base/sw_multi_search/static/description/image.png b/odex30_base/sw_multi_search/static/description/image.png
new file mode 100644
index 0000000..3813a95
Binary files /dev/null and b/odex30_base/sw_multi_search/static/description/image.png differ
diff --git a/odex30_base/sw_multi_search/static/description/index.html b/odex30_base/sw_multi_search/static/description/index.html
new file mode 100644
index 0000000..61f94f0
--- /dev/null
+++ b/odex30_base/sw_multi_search/static/description/index.html
@@ -0,0 +1,125 @@
+
+
+
Multi Search
+
Search for records in bulks on any page/model easily.
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+ Ability to use { } to define your search without the need to use separators (only spacing).
+
+
+
+
+
+
+ 2
+
+
+
+ Ability to copy/paste columns from sheets in the search bar to look for corresponding records on the system.
+
+
+
+
+
+
+ 3
+
+
+
+ Free feature updates, upgrades and bug fixes.
+
+
+
+
+
+ 4
+
+
+
+ Compatible with Odoo Community & Enterprise editions.
+
+
+
+
+
+
+
+ User Guide
+
+
+
+ After installing the app, navigate to any page/model you'd like to search for records in.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ For bulk searching, write the characters (the module's search function works on 'Char' fields only) of the records you need to search for between curly brackets as shown
+ in the image.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Another awesome way for an easy, quick & specified search search is to copy columns or data from spread sheets in between curly brackets in the search bar to get
+ corresponding results.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/odex30_base/sw_multi_search/static/description/oe_footer_guideline.jpg b/odex30_base/sw_multi_search/static/description/oe_footer_guideline.jpg
new file mode 100644
index 0000000..d29beb9
Binary files /dev/null and b/odex30_base/sw_multi_search/static/description/oe_footer_guideline.jpg differ
diff --git a/odex30_base/web_company_logo/LICENSE b/odex30_base/web_company_logo/LICENSE
new file mode 100644
index 0000000..12334e0
--- /dev/null
+++ b/odex30_base/web_company_logo/LICENSE
@@ -0,0 +1,859 @@
+
+For copyright information, please see the COPYRIGHT file.
+
+Odoo is published under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3
+(LGPLv3), as included below. Since the LGPL is a set of additional
+permissions on top of the GPL, the text of the GPL is included at the
+bottom as well.
+
+Some external libraries and contributions bundled with Odoo may be published
+under other GPL-compatible licenses. For these, please refer to the relevant
+source files and/or license files, in the source code tree.
+
+**************************************************************************
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
+
+**************************************************************************
+
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+ .
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
+
+
+**************************************************************************
\ No newline at end of file
diff --git a/odex30_base/web_company_logo/__init__.py b/odex30_base/web_company_logo/__init__.py
new file mode 100644
index 0000000..e046e49
--- /dev/null
+++ b/odex30_base/web_company_logo/__init__.py
@@ -0,0 +1 @@
+from . import controllers
diff --git a/odex30_base/web_company_logo/__manifest__.py b/odex30_base/web_company_logo/__manifest__.py
new file mode 100644
index 0000000..7371bf9
--- /dev/null
+++ b/odex30_base/web_company_logo/__manifest__.py
@@ -0,0 +1,26 @@
+{
+ 'name': "Company Logo in Backend Navbar",
+ 'description': """
+ Adding the company logo to the Backend Navbar.
+ """,
+ 'category': 'Odex25-base',
+ 'author': "Kareem Abuzaid, kareem.abuzaid123@gmail.com",
+ 'version': "18.0.1.0.0",
+ 'website': "https://www.kareemabuzaid.com",
+ 'license': "AGPL-3",
+ 'depends': [
+ 'base',
+ 'web',
+ ],
+ 'images': ['static/description/company_logo.png'],
+ 'assets': {
+ 'web.assets_backend': [
+ 'web_company_logo/static/src/components/company_logo/company_logo.js',
+ 'web_company_logo/static/src/components/company_logo/company_logo.xml',
+ 'web_company_logo/static/src/components/navbar_patch.js',
+ 'web_company_logo/static/src/components/navbar.xml',
+ ],
+ },
+ 'installable': True,
+ 'application': False,
+}
diff --git a/odex30_base/web_company_logo/controllers/__init__.py b/odex30_base/web_company_logo/controllers/__init__.py
new file mode 100644
index 0000000..12a7e52
--- /dev/null
+++ b/odex30_base/web_company_logo/controllers/__init__.py
@@ -0,0 +1 @@
+from . import main
diff --git a/odex30_base/web_company_logo/controllers/main.py b/odex30_base/web_company_logo/controllers/main.py
new file mode 100644
index 0000000..595295d
--- /dev/null
+++ b/odex30_base/web_company_logo/controllers/main.py
@@ -0,0 +1,23 @@
+import json
+
+from odoo import http
+from odoo.http import request
+
+
+class WebCompanyLogoController(http.Controller):
+
+ @http.route(['/check_company_logo'], type='http',
+ auth="public", methods=['GET'],
+ website=True, sitemap=False)
+ def check_company_logo(self, company_id=0):
+ """
+ Check if company has a logo
+
+ :param company_id: ID of the company as an integer
+ :return: bool
+ """
+ has_logo = bool(request.env['res.company'].browse(int(company_id)).logo)
+
+ return json.dumps({
+ 'has_logo': has_logo,
+ }, ensure_ascii=False)
diff --git a/odex30_base/web_company_logo/static/description/company_logo.png b/odex30_base/web_company_logo/static/description/company_logo.png
new file mode 100644
index 0000000..2651bc5
Binary files /dev/null and b/odex30_base/web_company_logo/static/description/company_logo.png differ
diff --git a/odex30_base/web_company_logo/static/description/index.html b/odex30_base/web_company_logo/static/description/index.html
new file mode 100644
index 0000000..15fca54
--- /dev/null
+++ b/odex30_base/web_company_logo/static/description/index.html
@@ -0,0 +1,5 @@
+
+ Add company logo to backend navbar
+
+
+
\ No newline at end of file
diff --git a/odex30_base/web_company_logo/static/src/components/company_logo/company_logo.js b/odex30_base/web_company_logo/static/src/components/company_logo/company_logo.js
new file mode 100644
index 0000000..373a22b
--- /dev/null
+++ b/odex30_base/web_company_logo/static/src/components/company_logo/company_logo.js
@@ -0,0 +1,46 @@
+/** @odoo-module **/
+
+import { Component, useState, onWillStart } from "@odoo/owl";
+import { useService } from "@web/core/utils/hooks";
+import { session } from "@web/session";
+
+export class CompanyLogo extends Component {
+ static template = "web_company_logo.CompanyLogo";
+ static props = {};
+
+ setup() {
+ this.orm = useService("orm");
+ this.company = useService("company");
+ this.state = useState({
+ hasLogo: false,
+ logoUrl: "",
+ });
+
+ onWillStart(async () => {
+ await this.checkCompanyLogo();
+ });
+ }
+
+ async checkCompanyLogo() {
+ const companyId = this.company.currentCompany.id;
+ if (!companyId) {
+ return;
+ }
+
+ try {
+ const company = await this.orm.read("res.company", [companyId], ["logo"]);
+ if (company && company[0] && company[0].logo) {
+ this.state.hasLogo = true;
+ this.state.logoUrl = `/web/image?model=res.company&id=${companyId}&field=logo`;
+ }
+ } catch (error) {
+ console.error("Error loading company logo:", error);
+ }
+ }
+
+ onLogoClick(ev) {
+ ev.preventDefault();
+ // Navigate to home
+ window.location.href = "/web";
+ }
+}
\ No newline at end of file
diff --git a/odex30_base/web_company_logo/static/src/components/company_logo/company_logo.xml b/odex30_base/web_company_logo/static/src/components/company_logo/company_logo.xml
new file mode 100644
index 0000000..39bcf1a
--- /dev/null
+++ b/odex30_base/web_company_logo/static/src/components/company_logo/company_logo.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/odex30_base/web_company_logo/static/src/components/navbar.xml b/odex30_base/web_company_logo/static/src/components/navbar.xml
new file mode 100644
index 0000000..70f5c9d
--- /dev/null
+++ b/odex30_base/web_company_logo/static/src/components/navbar.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/odex30_base/web_company_logo/static/src/components/navbar_patch.js b/odex30_base/web_company_logo/static/src/components/navbar_patch.js
new file mode 100644
index 0000000..67dae09
--- /dev/null
+++ b/odex30_base/web_company_logo/static/src/components/navbar_patch.js
@@ -0,0 +1,20 @@
+/** @odoo-module **/
+
+import { NavBar } from "@web/webclient/navbar/navbar";
+import { CompanyLogo } from "./company_logo/company_logo";
+import { patch } from "@web/core/utils/patch";
+
+patch(NavBar.prototype, {
+ setup() {
+ super.setup();
+ this.constructor.components = {
+ ...this.constructor.components,
+ CompanyLogo,
+ };
+ }
+});
+
+// Patch the template to include company logo
+patch(NavBar, {
+ template: "web_company_logo.NavBar",
+});
\ No newline at end of file
diff --git a/odex30_base/web_company_logo/static/src/css/menu.css b/odex30_base/web_company_logo/static/src/css/menu.css
new file mode 100644
index 0000000..10e22b3
--- /dev/null
+++ b/odex30_base/web_company_logo/static/src/css/menu.css
@@ -0,0 +1,4 @@
+#company-logo {
+ height: 46px;
+ width: 46px;
+}
\ No newline at end of file
diff --git a/odex30_base/web_company_logo/static/src/img/company_logo.png b/odex30_base/web_company_logo/static/src/img/company_logo.png
new file mode 100644
index 0000000..2651bc5
Binary files /dev/null and b/odex30_base/web_company_logo/static/src/img/company_logo.png differ
diff --git a/odex30_base/web_domain_field/README.rst b/odex30_base/web_domain_field/README.rst
new file mode 100644
index 0000000..bf8d31a
--- /dev/null
+++ b/odex30_base/web_domain_field/README.rst
@@ -0,0 +1,135 @@
+================
+Web Domain Field
+================
+
+..
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! This file is generated by oca-gen-addon-readme !!
+ !! changes will be overwritten. !!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! source digest: sha256:dc8abc1ad57856bda62ec4d3f0ff74f3029cf9ebb32ba41c8ae449867393ea65
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
+ :target: https://odoo-community.org/page/development-status
+ :alt: Production/Stable
+.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
+ :alt: License: AGPL-3
+.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github
+ :target: https://github.com/OCA/web/tree/14.0/web_domain_field
+ :alt: OCA/web
+.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
+ :target: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_domain_field
+ :alt: Translate me on Weblate
+.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=14.0
+ :alt: Try me on Runboat
+
+|badge1| |badge2| |badge3| |badge4| |badge5|
+
+When you define a view you can specify on the relational fields a domain
+attribute. This attribute is evaluated as filter to apply when displaying
+existing records for selection.
+
+**Table of contents**
+
+.. contents::
+ :local:
+
+Usage
+=====
+
+When you define a view you can specify on the relational fields a domain
+attribute. This attribute is evaluated as filter to apply when displaying
+existing records for selection.
+
+.. code-block:: xml
+
+
+
+The value provided for the domain attribute must be a string representing a
+valid Odoo domain. This string is evaluated on the client side in a
+restricted context where we can reference as right operand the values of
+fields present into the form and a limited set of functions.
+
+In this context it's hard to build complex domain and we are facing to some
+limitations as:
+
+ * The syntax to include in your domain a criteria involving values from a
+ x2many field is complex.
+ * The right side of domain in case of x2many can involve huge amount of ids
+ (performance problem).
+ * Domains computed by an onchange on an other field are not recomputed when
+ you modify the form and don't modify the field triggering the onchange.
+ * It's not possible to extend an existing domain. You must completely redefine
+ the domain in your specialized addon
+ * etc...
+
+In order to mitigate these limitations this new addon allows you to use the
+value of a field as domain of an other field in the xml definition of your
+view.
+
+.. code-block:: xml
+
+
+
+
+The field used as domain must provide the domain as a JSON encoded string.
+
+.. code-block:: python
+
+ product_id_domain = fields.Char(
+ compute="_compute_product_id_domain",
+ readonly=True,
+ store=False,
+ )
+
+ @api.depends('name')
+ def _compute_product_id_domain(self):
+ for rec in self:
+ rec.product_id_domain = json.dumps(
+ [('type', '=', 'product'), ('name', 'like', rec.name)]
+ )
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues `_.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us to smash it by providing a detailed and welcomed
+`feedback `_.
+
+Do not contact contributors directly about support or help with technical issues.
+
+Credits
+=======
+
+Authors
+~~~~~~~
+
+* ACSONE SA/NV
+
+Contributors
+~~~~~~~~~~~~
+
+* Laurent Mignon
+* Denis Roussel
+* Raf Ven
+
+Maintainers
+~~~~~~~~~~~
+
+This module is maintained by the OCA.
+
+.. image:: https://odoo-community.org/logo.png
+ :alt: Odoo Community Association
+ :target: https://odoo-community.org
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+This module is part of the `OCA/web `_ project on GitHub.
+
+You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/odex30_base/web_domain_field/__init__.py b/odex30_base/web_domain_field/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/odex30_base/web_domain_field/__manifest__.py b/odex30_base/web_domain_field/__manifest__.py
new file mode 100644
index 0000000..1450d8b
--- /dev/null
+++ b/odex30_base/web_domain_field/__manifest__.py
@@ -0,0 +1,20 @@
+# Copyright 2017 ACSONE SA/NV
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
+
+{
+ "name": "Web Domain Field",
+ "summary": """
+ Use computed field as domain""",
+ "version": "18.0.1.0.0",
+ "development_status": "Production/Stable",
+ "license": "AGPL-3",
+ "author": "ACSONE SA/NV,Odoo Community Association (OCA)",
+ "website": "https://github.com/OCA/web",
+ "depends": ["web"],
+ "assets": {
+ "web.assets_backend": [
+ "web_domain_field/static/lib/js/pyeval.js",
+ ],
+ },
+ "installable": True,
+}
diff --git a/odex30_base/web_domain_field/i18n/es.po b/odex30_base/web_domain_field/i18n/es.po
new file mode 100644
index 0000000..e69de29
diff --git a/odex30_base/web_domain_field/readme/CONTRIBUTORS.rst b/odex30_base/web_domain_field/readme/CONTRIBUTORS.rst
new file mode 100644
index 0000000..1294ec2
--- /dev/null
+++ b/odex30_base/web_domain_field/readme/CONTRIBUTORS.rst
@@ -0,0 +1,3 @@
+* Laurent Mignon
+* Denis Roussel
+* Raf Ven
diff --git a/odex30_base/web_domain_field/readme/DESCRIPTION.rst b/odex30_base/web_domain_field/readme/DESCRIPTION.rst
new file mode 100644
index 0000000..5aa1b96
--- /dev/null
+++ b/odex30_base/web_domain_field/readme/DESCRIPTION.rst
@@ -0,0 +1,3 @@
+When you define a view you can specify on the relational fields a domain
+attribute. This attribute is evaluated as filter to apply when displaying
+existing records for selection.
diff --git a/odex30_base/web_domain_field/readme/USAGE.rst b/odex30_base/web_domain_field/readme/USAGE.rst
new file mode 100644
index 0000000..b9c04da
--- /dev/null
+++ b/odex30_base/web_domain_field/readme/USAGE.rst
@@ -0,0 +1,51 @@
+When you define a view you can specify on the relational fields a domain
+attribute. This attribute is evaluated as filter to apply when displaying
+existing records for selection.
+
+.. code-block:: xml
+
+
+
+The value provided for the domain attribute must be a string representing a
+valid Odoo domain. This string is evaluated on the client side in a
+restricted context where we can reference as right operand the values of
+fields present into the form and a limited set of functions.
+
+In this context it's hard to build complex domain and we are facing to some
+limitations as:
+
+ * The syntax to include in your domain a criteria involving values from a
+ x2many field is complex.
+ * The right side of domain in case of x2many can involve huge amount of ids
+ (performance problem).
+ * Domains computed by an onchange on an other field are not recomputed when
+ you modify the form and don't modify the field triggering the onchange.
+ * It's not possible to extend an existing domain. You must completely redefine
+ the domain in your specialized addon
+ * etc...
+
+In order to mitigate these limitations this new addon allows you to use the
+value of a field as domain of an other field in the xml definition of your
+view.
+
+.. code-block:: xml
+
+
+
+
+The field used as domain must provide the domain as a JSON encoded string.
+
+.. code-block:: python
+
+ product_id_domain = fields.Char(
+ compute="_compute_product_id_domain",
+ readonly=True,
+ store=False,
+ )
+
+ @api.depends('name')
+ def _compute_product_id_domain(self):
+ for rec in self:
+ rec.product_id_domain = json.dumps(
+ [('type', '=', 'product'), ('name', 'like', rec.name)]
+ )
diff --git a/odex30_base/web_domain_field/static/description/icon.png b/odex30_base/web_domain_field/static/description/icon.png
new file mode 100644
index 0000000..3a0328b
Binary files /dev/null and b/odex30_base/web_domain_field/static/description/icon.png differ
diff --git a/odex30_base/web_domain_field/static/description/index.html b/odex30_base/web_domain_field/static/description/index.html
new file mode 100644
index 0000000..8ddf0a7
--- /dev/null
+++ b/odex30_base/web_domain_field/static/description/index.html
@@ -0,0 +1,476 @@
+
+
+
+
+
+
+Web Domain Field
+
+
+
+
+
Web Domain Field
+
+
+
+
When you define a view you can specify on the relational fields a domain
+attribute. This attribute is evaluated as filter to apply when displaying
+existing records for selection.
+
Table of contents
+
+
+
+
When you define a view you can specify on the relational fields a domain
+attribute. This attribute is evaluated as filter to apply when displaying
+existing records for selection.
+
+<field name= "product_id" domain= "[('type','=','product')]" />
+
+
The value provided for the domain attribute must be a string representing a
+valid Odoo domain. This string is evaluated on the client side in a
+restricted context where we can reference as right operand the values of
+fields present into the form and a limited set of functions.
+
In this context it’s hard to build complex domain and we are facing to some
+limitations as:
+
+
+The syntax to include in your domain a criteria involving values from a
+x2many field is complex.
+The right side of domain in case of x2many can involve huge amount of ids
+(performance problem).
+Domains computed by an onchange on an other field are not recomputed when
+you modify the form and don’t modify the field triggering the onchange.
+It’s not possible to extend an existing domain. You must completely redefine
+the domain in your specialized addon
+etc…
+
+
+
In order to mitigate these limitations this new addon allows you to use the
+value of a field as domain of an other field in the xml definition of your
+view.
+
+<field name= "product_id_domain" invisible= "1" />
+ <field name= "product_id" domain= "product_id_domain" />
+
+
The field used as domain must provide the domain as a JSON encoded string.
+
+product_id_domain = fields . Char (
+ compute = "_compute_product_id_domain" ,
+ readonly = True ,
+ store = False ,
+ )
+
+ @api . depends ( 'name' )
+ def _compute_product_id_domain ( self ):
+ for rec in self :
+ rec . product_id_domain = json . dumps (
+ [( 'type' , '=' , 'product' ), ( 'name' , 'like' , rec . name )]
+ )
+
+
+
+
+
Bugs are tracked on GitHub Issues .
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us to smash it by providing a detailed and welcomed
+feedback .
+
Do not contact contributors directly about support or help with technical issues.
+
+
+
+
+
+
+
+
This module is maintained by the OCA.
+
+
OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
This module is part of the OCA/web project on GitHub.
+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute .
+
+
+
+
+
diff --git a/odex30_base/web_domain_field/static/lib/js/pyeval.js b/odex30_base/web_domain_field/static/lib/js/pyeval.js
new file mode 100644
index 0000000..004fac6
--- /dev/null
+++ b/odex30_base/web_domain_field/static/lib/js/pyeval.js
@@ -0,0 +1,94 @@
+/** @odoo-module **/
+
+import { toPyValue } from "@web/core/py_js/py_utils";
+import { evaluateExpr } from "@web/core/py_js/py";
+import { user } from "@web/core/user";
+import { patch } from "@web/core/utils/patch";
+
+/**
+ * Web Domain Field Module for Odoo 18
+ *
+ * This module extends Odoo's domain evaluation system to allow using
+ * computed field values as domains. It patches the core domain evaluation
+ * to check if a string domain reference corresponds to a field value
+ * in the evaluation context, and if so, uses that field's value as the domain.
+ */
+
+// Store original evaluateExpr function for fallback
+const originalEvaluateExpr = evaluateExpr;
+
+/**
+ * Enhanced domain evaluation that supports field-based domains
+ *
+ * @param {string|Object} expr - The expression to evaluate
+ * @param {Object} context - The evaluation context
+ * @returns {Array} The evaluated domain array
+ */
+function evaluateDomainWithFieldSupport(expr, context = {}) {
+ // If expr is a string and exists as a field in context, use its value
+ if (typeof expr === "string" && expr in context) {
+ try {
+ const fieldValue = context[expr];
+ if (typeof fieldValue === "string") {
+ // Try to parse as JSON domain
+ try {
+ return JSON.parse(fieldValue);
+ } catch (e) {
+ // If not valid JSON, treat as Python expression
+ return originalEvaluateExpr(fieldValue, context);
+ }
+ } else if (Array.isArray(fieldValue)) {
+ return fieldValue;
+ }
+ } catch (error) {
+ console.warn("Failed to evaluate field domain:", expr, error);
+ }
+ }
+
+ // Fallback to original evaluation
+ return originalEvaluateExpr(expr, context);
+}
+
+/**
+ * Patch the core domain evaluation system
+ * This allows domains to reference field values directly
+ */
+patch(evaluateExpr, {
+ /**
+ * Override the core evaluateExpr to support field-based domains
+ */
+ evaluateExpr(expr, context = {}) {
+ // Handle domain evaluation specifically
+ if (typeof expr === "object" && expr.__ref === "domain") {
+ return evaluateDomainWithFieldSupport(expr.__debug || expr.__value, context);
+ }
+
+ // For compound domains, process each part
+ if (typeof expr === "object" && expr.__ref === "compound_domain") {
+ const domains = expr.__domains || [];
+ const result = [];
+
+ for (const domain of domains) {
+ if (typeof domain === "string") {
+ // Check if this string references a field in context
+ const evaluated = evaluateDomainWithFieldSupport(domain, context);
+ result.push(...(Array.isArray(evaluated) ? evaluated : []));
+ } else {
+ // Process normally
+ const evaluated = this._super(domain, context);
+ result.push(...(Array.isArray(evaluated) ? evaluated : []));
+ }
+ }
+
+ return result;
+ }
+
+ // Default to original behavior for non-domain expressions
+ return this._super(expr, context);
+ }
+});
+
+/**
+ * Export the enhanced evaluation function for external use
+ */
+export { evaluateDomainWithFieldSupport };
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/__init__.py b/odex30_base/web_hijri_datepicker/__init__.py
new file mode 100644
index 0000000..40a96af
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/__init__.py
@@ -0,0 +1 @@
+# -*- coding: utf-8 -*-
diff --git a/odex30_base/web_hijri_datepicker/__manifest__.py b/odex30_base/web_hijri_datepicker/__manifest__.py
new file mode 100644
index 0000000..d7053df
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/__manifest__.py
@@ -0,0 +1,30 @@
+# -*- coding: utf-8 -*-
+
+{
+ 'name': 'Web Hijri',
+ 'category' : 'Odex25-base',
+ 'version': '18.0.1.0.0',
+ 'description': """Enable Web Hijri Datepicker in Odoo""",
+ 'depends': ['web'],
+ 'assets': {
+ 'web.assets_backend': [
+ # CSS files
+ 'web_hijri_datepicker/static/src/scss/web_hijri_date.scss',
+ 'web_hijri_datepicker/static/src/fields/hijri_date_field.scss',
+
+ # Hijri date conversion utilities
+ 'web_hijri_datepicker/static/src/utils/hijri_converter.js',
+
+ # Hijri date field component (modern implementation)
+ 'web_hijri_datepicker/static/src/components/hijri_date_field.js',
+ 'web_hijri_datepicker/static/src/components/hijri_date_field.xml',
+
+ # Patches for existing date fields
+ 'web_hijri_datepicker/static/src/patches/datetime_field_patch.js',
+ 'web_hijri_datepicker/static/src/patches/datetime_field_patch.xml',
+ ],
+ },
+ 'installable': True,
+ 'auto_install': False,
+ 'application': True,
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendar-blue.gif b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendar-blue.gif
new file mode 100644
index 0000000..601cbd5
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendar-blue.gif differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendar-green.gif b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendar-green.gif
new file mode 100644
index 0000000..9dae1a3
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendar-green.gif differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendar.gif b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendar.gif
new file mode 100644
index 0000000..d0abaa7
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendar.gif differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendarsBasic.html b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendarsBasic.html
new file mode 100644
index 0000000..16df4c4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendarsBasic.html
@@ -0,0 +1,69 @@
+
+
+
+
+jQuery Calendars
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+jQuery Calendars
+This page demonstrates the very basics of the
+ jQuery Calendars plugin .
+ It contains the minimum requirements for using the plugin and
+ can be used as the basis for your own experimentation.
+For more detail see the documentation reference page.
+Select a calendar:
+ Coptic
+ Discworld
+ Ethiopian
+ Gregorian
+ Hebrew
+ Islamic
+ Julian
+ Mayan
+ Nanakshahi
+ Nepali
+ Persian
+ Taiwan
+ Thai
+ Umm al-Qura
+
+Enter a date: ( )
+Check and format:
+ Format
+Result:
+
+
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendarsPickerBasic.html b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendarsPickerBasic.html
new file mode 100644
index 0000000..c74aeac
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/calendarsPickerBasic.html
@@ -0,0 +1,43 @@
+
+
+
+
+jQuery Calendars Datepicker
+
+
+
+
+
+
+
+
+
+
+
+
+
+jQuery Calendars Datepicker
+This page demonstrates the very basics of the
+ jQuery Calendars Datepicker plugin .
+ It contains the minimum requirements for using the plugin and
+ can be used as the basis for your own experimentation.
+For more detail see the documentation reference page.
+A popup datepicker
+Or inline
+
+
+
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/flora.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/flora.calendars.picker.css
new file mode 100644
index 0000000..3a359e1
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/flora.calendars.picker.css
@@ -0,0 +1,208 @@
+/* Flora styling for jQuery Calendars Picker v2.0.0. */
+.calendars {
+ background-color: #e0f4d7;
+ color: #000;
+ border: 1px solid #f90;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-family: Arial,Helvetica,Sans-serif;
+ font-size: 90%;
+}
+.calendars-rtl {
+ direction: rtl;
+}
+.calendars-popup {
+ z-index: 1000;
+}
+.calendars-disable {
+ position: absolute;
+ z-index: 100;
+ background-color: white;
+ opacity: 0.5;
+ filter: alpha(opacity=50);
+}
+.calendars a {
+ color: #000;
+ text-decoration: none;
+}
+.calendars a.calendars-disabled {
+ color: #888;
+ cursor: auto;
+}
+.calendars button {
+ margin: 0.25em;
+ padding: 0.125em 0em;
+ background-color: #fc8;
+ border: none;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-weight: bold;
+}
+.calendars-nav, .calendars-ctrl {
+ float: left;
+ width: 100%;
+ background-color: #e0f4d7;
+ color: #fff;
+ font-size: 90%;
+ font-weight: bold;
+}
+.datepick-ctrl {
+ background-color: #f90;
+}
+.calendars-cmd {
+ width: 30%;
+}
+.calendars-cmd:hover {
+ background-color: #b1db87;
+}
+.calendars-ctrl .calendars-cmd:hover {
+ background-color: #fa4;
+}
+.calendars-cmd-prevJump, .calendars-cmd-nextJump {
+ width: 8%;
+}
+a.calendars-cmd {
+ height: 1.5em;
+}
+button.calendars-cmd {
+ text-align: center;
+}
+.calendars-cmd-prev, .calendars-cmd-prevJump, .calendars-cmd-clear {
+ float: left;
+ padding-left: 2%;
+}
+.calendars-cmd-current, .calendars-cmd-today {
+ float: left;
+ width: 35%;
+ text-align: center;
+}
+.calendars-cmd-next, .calendars-cmd-nextJump, .calendars-cmd-close {
+ float: right;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-prev, .calendars-rtl .calendars-cmd-prevJump,
+.calendars-rtl .calendars-cmd-clear {
+ float: right;
+ padding-left: 0%;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-current, .calendars-rtl .calendars-cmd-today {
+ float: right;
+}
+.calendars-rtl .calendars-cmd-next, .calendars-rtl .calendars-cmd-nextJump,
+.calendars-rtl .calendars-cmd-close {
+ float: left;
+ padding-left: 2%;
+ padding-right: 0%;
+ text-align: left;
+}
+.calendars-month-nav {
+ float: left;
+ background-color: #b1db87;
+ text-align: center;
+}
+.calendars-month-nav div {
+ float: left;
+ width: 12.5%;
+ margin: 1%;
+ padding: 1%;
+}
+.calendars-month-nav span {
+ color: #888;
+}
+.calendars-month-row {
+ clear: left;
+}
+.calendars-month {
+ float: left;
+ width: 15em;
+ border: 1px solid #83c948;
+ text-align: center;
+}
+.calendars-month-header, .calendars-month-header select, .calendars-month-header input {
+ height: 1.5em;
+ background-color: #83c948;
+ color: #fff;
+ font-weight: bold;
+}
+.calendars-month-header select, .calendars-month-header input {
+ height: 1.4em;
+ border: none;
+}
+.calendars-month-header input {
+ position: absolute;
+ display: none;
+}
+.calendars-month table {
+ width: 100%;
+ border-collapse: collapse;
+}
+.calendars-month thead {
+ border-bottom: 1px solid #aaa;
+}
+.calendars-month th, .calendars-month td {
+ margin: 0em;
+ padding: 0em;
+ font-weight: normal;
+ text-align: center;
+}
+.calendars-month th {
+ border: 1px solid #b1db87;
+}
+.calendars-month th, .calendars-month th a {
+ background-color: #b1db87;
+ color: #000;
+ border: 1px solid #b1db87;
+}
+.calendars-month td {
+ background-color: #fff;
+ color: #666;
+ border: 1px solid #b1db87;
+}
+.calendars-month td.calendars-week * {
+ background-color: #b1db87;
+ color: #666;
+ border: none;
+}
+.calendars-month a {
+ display: block;
+ width: 100%;
+ padding: 0.125em 0em;
+ text-decoration: none;
+}
+.calendars-month span {
+ display: block;
+ width: 100%;
+ padding: 0.125em 0em;
+}
+.calendars-month td span {
+ color: #888;
+}
+.calendars-month td .calendars-other-month {
+ background-color: #e0f4d7;
+}
+.calendars-month td .calendars-weekend {
+ background-color: #e0f4d7;
+}
+.calendars-month td .calendars-today {
+ background-color: #b1db87;
+}
+.calendars-month td .calendars-highlight {
+ background-color: #fc8;
+}
+.calendars-month td .calendars-selected {
+ background-color: #f90;
+ color: #fff;
+}
+.calendars-status {
+ clear: both;
+ background-color: #b1db87;
+ text-align: center;
+}
+.calendars-clear-fix {
+ clear: both;
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/humanity.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/humanity.calendars.picker.css
new file mode 100644
index 0000000..cb69417
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/humanity.calendars.picker.css
@@ -0,0 +1,197 @@
+/* Humanity styling for jQuery Calendars Picker v2.0.0. */
+.calendars {
+ background-color: #f4f0ec;
+ color: #1e1b1c;
+ border: 1px solid #cb842e;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-family: Arial,Helvetica,Sans-serif;
+ font-size: 90%;
+}
+.calendars-rtl {
+ direction: rtl;
+}
+.calendars-popup {
+ z-index: 1000;
+}
+.calendars-disable {
+ position: absolute;
+ z-index: 100;
+ background-color: white;
+ opacity: 0.5;
+ filter: alpha(opacity=50);
+}
+.calendars a {
+ color: #1e1b1c;
+ text-decoration: none;
+}
+.calendars a.calendars-disabled {
+ color: #888;
+ cursor: auto;
+}
+.calendars button {
+ margin: 0.25em;
+ padding: 0.125em 0em;
+ background-color: #ede4d4;
+ border: none;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-weight: bold;
+}
+.calendars-nav, .calendars-ctrl {
+ float: left;
+ width: 100%;
+ background-color: #ede4d4;
+ font-size: 90%;
+ font-weight: bold;
+}
+.calendars-ctrl {
+ background-color: #cb842e;
+}
+.calendars-cmd {
+ width: 30%;
+}
+.calendars-cmd:hover {
+ background-color: #f4f0ec;
+}
+.calendars-cmd-prevJump, .calendars-cmd-nextJump {
+ width: 8%;
+}
+a.calendars-cmd {
+ height: 1.5em;
+}
+button.calendars-cmd {
+ text-align: center;
+}
+.calendars-cmd-prev, .calendars-cmd-prevJump, .calendars-cmd-clear {
+ float: left;
+ padding-left: 2%;
+}
+.calendars-cmd-current, .calendars-cmd-today {
+ float: left;
+ width: 35%;
+ text-align: center;
+}
+.calendars-cmd-next, .calendars-cmd-nextJump, .calendars-cmd-close {
+ float: right;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-prev, .calendars-rtl .calendars-cmd-prevJump,
+.calendars-rtl .calendars-cmd-clear {
+ float: right;
+ padding-left: 0%;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-current, .calendars-rtl .calendars-cmd-today {
+ float: right;
+}
+.calendars-rtl .calendars-cmd-next, .calendars-rtl .calendars-cmd-nextJump,
+.calendars-rtl .calendars-cmd-close {
+ float: left;
+ padding-left: 2%;
+ padding-right: 0%;
+ text-align: left;
+}
+.calendars-month-nav {
+ float: left;
+ text-align: center;
+}
+.calendars-month-nav div {
+ float: left;
+ width: 12.5%;
+ margin: 1%;
+ padding: 1%;
+}
+.calendars-month-nav span {
+ color: #888;
+}
+.calendars-month-row {
+ clear: left;
+}
+.calendars-month {
+ float: left;
+ width: 17em;
+ border: 1px solid #e0cfc2;
+ text-align: center;
+}
+.calendars-month-header, .calendars-month-header select, .calendars-month-header input {
+ height: 1.5em;
+ background-color: #cb842e;
+ color: #fff;
+ font-weight: bold;
+}
+.calendars-month-header select, .calendars-month-header input {
+ height: 1.4em;
+ border: none;
+}
+.calendars-month-header input {
+ position: absolute;
+ display: none;
+}
+.calendars-month table {
+ width: 100%;
+ border: 2px solid transparent;
+ border-collapse: collapse;
+}
+.calendars-month th, .calendars-month td {
+ margin: 0em;
+ padding: 0.125em;
+ font-weight: normal;
+ text-align: center;
+}
+.calendars-month td.calendars-week,
+.calendars-month td.calendars-week * {
+ background-color: #cb842e;
+ color: #fff;
+ border: 1px solid #cb842e;
+}
+.calendars-month a {
+ display: block;
+ width: 100%;
+ padding: 0.125em 0em;
+ background-color: #ede4d4;
+ color: #000;
+ border: 1px solid #cdc3b7;
+ text-decoration: none;
+}
+.calendars-month span {
+ display: block;
+ margin-top: 0.25em;
+}
+.calendars-month a {
+ background-color: #ede4d4;
+ color: #444;
+ border: 1px solid #cdc3b7;
+ text-decoration: none;
+}
+.calendars-month td span {
+ color: #888;
+}
+.calendars-month td .calendars-other-month {
+ background-color: #f4f0ec;
+}
+.calendars-month td .calendars-today {
+ background-color: #f5f5b5;
+ border: 1px solid #d9bb73;
+}
+.calendars-month td .calendars-highlight {
+ background-color: #f5f0e5;
+ color: #1e1b1c;
+ border: 1px solid #f5ad66;
+}
+.calendars-month td .calendars-selected {
+ background-color: #cb842e;
+ color: #fff;
+ border: 1px solid #cb842e;
+}
+.calendars-status {
+ clear: both;
+ text-align: center;
+}
+.calendars-clear-fix {
+ clear: both;
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-af.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-af.js
new file mode 100644
index 0000000..c500d92
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-af.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Afrikaans localisation for Gregorian/Julian calendars for jQuery.
+ Written by Renier Pretorius and Ruediger Thiede. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['af'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januarie','Februarie','Maart','April','Mei','Junie',
+ 'Julie','Augustus','September','Oktober','November','Desember'],
+ monthNamesShort: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
+ dayNames: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
+ dayNamesShort: ['Son', 'Maan', 'Dins', 'Woens', 'Don', 'Vry', 'Sat'],
+ dayNamesMin: ['So','Ma','Di','Wo','Do','Vr','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['af'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['af'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-am.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-am.js
new file mode 100644
index 0000000..1c13fa2
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-am.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Amharic (አማርኛ) localisation for Gregorian/Julian calendars for jQuery.
+ Leyu Sisay. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['am'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ጃንዋሪ','ፈብርዋሪ','ማርች','አፕሪል','ሜይ','ጁን',
+ 'ጁላይ','ኦገስት','ሴፕቴምበር','ኦክቶበር','ኖቬምበር','ዲሴምበር'],
+ monthNamesShort: ['ጃንዋ', 'ፈብር', 'ማርች', 'አፕሪ', 'ሜይ', 'ጁን',
+ 'ጁላይ', 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም'],
+ dayNames: ['ሰንዴይ', 'መንዴይ', 'ትዩስዴይ', 'ዌንስዴይ', 'ተርሰዴይ', 'ፍራይዴይ', 'ሳተርዴይ'],
+ dayNamesShort: ['ሰንዴ', 'መንዴ', 'ትዩስ', 'ዌንስ', 'ተርሰ', 'ፍራይ', 'ሳተር'],
+ dayNamesMin: ['ሰን', 'መን', 'ትዩ', 'ዌን', 'ተር', 'ፍራ', 'ሳተ'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['am'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['am'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ar-DZ.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ar-DZ.js
new file mode 100644
index 0000000..1c29c3b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ar-DZ.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Algerian (and Tunisian) Arabic localisation for Gregorian/Julian calendars for jQuery.
+ Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar-DZ'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان',
+ 'جويلية', 'أوت', 'سبتمبر','أكتوبر', 'نوفمبر', 'ديسمبر'],
+ monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
+ dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 6,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ar-DZ'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar-DZ'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ar-EG.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ar-EG.js
new file mode 100644
index 0000000..39f399a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ar-EG.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for Gregorian/Julian calendars for jQuery.
+ Mahmoud Khaled -- mahmoud.khaled@badrit.com
+ NOTE: monthNames are the new months names */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar-EG'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونية',
+ 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
+ monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
+ dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesShort: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ dayNamesMin: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 6,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ar-EG'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar-EG'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ar.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ar.js
new file mode 100644
index 0000000..c61b1e9
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ar.js
@@ -0,0 +1,25 @@
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for Gregorian/Julian calendars for jQuery.
+ Khaled Al Horani -- خالد الحوراني -- koko.dw@gmail.com. */
+/* NOTE: monthNames are the original months names and they are the Arabic names,
+ not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
+ 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
+ dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ digits: $.calendars.substituteDigits(['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩']),
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 6,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ar'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-az.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-az.js
new file mode 100644
index 0000000..9afe643
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-az.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Azerbaijani localisation for Gregorian/Julian calendars for jQuery.
+ Written by Jamil Najafov (necefov33@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['az'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun',
+ 'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],
+ monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun',
+ 'İyul','Avq','Sen','Okt','Noy','Dek'],
+ dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'],
+ dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'],
+ dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['az'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['az'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-bg.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-bg.js
new file mode 100644
index 0000000..ba34ded
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-bg.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Bulgarian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Stoyan Kyosev (http://svest.org). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['bg'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
+ 'Юли','Август','Септември','Октомври','Ноември','Декември'],
+ monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
+ 'Юли','Авг','Сеп','Окт','Нов','Дек'],
+ dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
+ dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
+ dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['bg'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['bg'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-bs.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-bs.js
new file mode 100644
index 0000000..c14493d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-bs.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Bosnian localisation for Gregorian/Julian calendars for jQuery.
+ Kenan Konjo. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['bs'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Mart','April','Maj','Juni',
+ 'Juli','August','Septembar','Oktobar','Novembar','Decembar'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
+ dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ digits: null,
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['bs'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['bs'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ca.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ca.js
new file mode 100644
index 0000000..0e9c3c4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ca.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Catalan localisation for Gregorian/Julian calendars for jQuery.
+ Writers: (joan.leon@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ca'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny',
+ 'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],
+ monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun',
+ 'Jul','Ago','Set','Oct','Nov','Des'],
+ dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],
+ dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
+ dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ca'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ca'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-cs.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-cs.js
new file mode 100644
index 0000000..be25349
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-cs.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Czech localisation for Gregorian/Julian calendars for jQuery.
+ Written by Tomas Muller (tomas@tomas-muller.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['cs'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['leden','únor','březen','duben','květen','červen',
+ 'červenec','srpen','září','říjen','listopad','prosinec'],
+ monthNamesShort: ['led','úno','bře','dub','kvě','čer',
+ 'čvc','srp','zář','říj','lis','pro'],
+ dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
+ dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
+ dayNamesMin: ['ne','po','út','st','čt','pá','so'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['cs'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['cs'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-da.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-da.js
new file mode 100644
index 0000000..d8c046c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-da.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Danish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Jan Christensen ( deletestuff@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['da'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
+ 'Juli','August','September','Oktober','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
+ dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
+ dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
+ digits: null,
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['da'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['da'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-de-CH.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-de-CH.js
new file mode 100644
index 0000000..84e42aa
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-de-CH.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Swiss-German localisation for Gregorian/Julian calendars for jQuery.
+ Written by Douglas Jose & Juerg Meier. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['de-CH'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','März','April','Mai','Juni',
+ 'Juli','August','September','Oktober','November','Dezember'],
+ monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dez'],
+ dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
+ dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['de-CH'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['de-CH'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-de.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-de.js
new file mode 100644
index 0000000..cd1cd51
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-de.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ German localisation for Gregorian/Julian calendars for jQuery.
+ Written by Milian Wolff (mail@milianw.de). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['de'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','März','April','Mai','Juni',
+ 'Juli','August','September','Oktober','November','Dezember'],
+ monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dez'],
+ dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
+ dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['de'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['de'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-el.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-el.js
new file mode 100644
index 0000000..007537a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-el.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Greek localisation for Gregorian/Julian calendars for jQuery.
+ Written by Alex Cicovic (http://www.alexcicovic.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['el'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
+ 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],
+ monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν',
+ 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],
+ dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],
+ dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],
+ dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['el'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['el'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-en-AU.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-en-AU.js
new file mode 100644
index 0000000..5428081
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-en-AU.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ English/Australia localisation for Gregorian/Julian calendars for jQuery.
+ Based on en-GB. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-AU'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['January','February','March','April','May','June',
+ 'July','August','September','October','November','December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['en-AU'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-AU'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-en-GB.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-en-GB.js
new file mode 100644
index 0000000..239d7bb
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-en-GB.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ English/UK localisation for Gregorian/Julian calendars for jQuery.
+ Stuart. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-GB'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['January','February','March','April','May','June',
+ 'July','August','September','October','November','December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['en-GB'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-GB'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-en-NZ.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-en-NZ.js
new file mode 100644
index 0000000..317d9df
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-en-NZ.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ English/New Zealand localisation for Gregorian/Julian calendars for jQuery.
+ Based on en-GB. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-NZ'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['January','February','March','April','May','June',
+ 'July','August','September','October','November','December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['en-NZ'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-NZ'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-eo.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-eo.js
new file mode 100644
index 0000000..e6487b7
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-eo.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Esperanto localisation for Gregorian/Julian calendars for jQuery.
+ Written by Olivier M. (olivierweb@ifrance.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['eo'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
+ 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aŭg','Sep','Okt','Nov','Dec'],
+ dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],
+ dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],
+ dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['eo'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['eo'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-es-AR.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-es-AR.js
new file mode 100644
index 0000000..86244af
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-es-AR.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Spanish/Argentina localisation for Gregorian/Julian calendars for jQuery.
+ Written by Esteban Acosta Villafane (esteban.acosta@globant.com) of Globant (http://www.globant.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es-AR'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
+ 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
+ monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
+ 'Jul','Ago','Sep','Oct','Nov','Dic'],
+ dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
+ dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
+ dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['es-AR'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es-AR'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-es-PE.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-es-PE.js
new file mode 100644
index 0000000..c429959
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-es-PE.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Spanish/Perú localisation for Gregorian/Julian calendars for jQuery.
+ Written by Fischer Tirado (fishdev@globant.com) of ASIX (http://www.asixonline.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es-PE'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
+ 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
+ monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
+ 'Jul','Ago','Sep','Oct','Nov','Dic'],
+ dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
+ dayNamesShort: ['Dom','Lun','Mar','Mié','Jue','Vie','Sab'],
+ dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['es-PE'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es-PE'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-es.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-es.js
new file mode 100644
index 0000000..b35a06a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-es.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Spanish localisation for Gregorian/Julian calendars for jQuery.
+ Traducido por Vester (xvester@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
+ 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
+ monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
+ 'Jul','Ago','Sep','Oct','Nov','Dic'],
+ dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
+ dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
+ dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['es'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-et.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-et.js
new file mode 100644
index 0000000..ed11011
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-et.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Estonian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Mart Sõmermaa (mrts.pydev at gmail com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['et'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
+ 'Juuli','August','September','Oktoober','November','Detsember'],
+ monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
+ 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
+ dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
+ dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
+ dayNamesMin: ['P','E','T','K','N','R','L'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['et'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['et'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-eu.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-eu.js
new file mode 100644
index 0000000..b1cc45d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-eu.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Basque localisation for Gregorian/Julian calendars for jQuery.
+ Karrikas-ek itzulia (karrikas@karrikas.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['eu'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Urtarrila','Otsaila','Martxoa','Apirila','Maiatza','Ekaina',
+ 'Uztaila','Abuztua','Iraila','Urria','Azaroa','Abendua'],
+ monthNamesShort: ['Urt','Ots','Mar','Api','Mai','Eka',
+ 'Uzt','Abu','Ira','Urr','Aza','Abe'],
+ dayNames: ['Igandea','Astelehena','Asteartea','Asteazkena','Osteguna','Ostirala','Larunbata'],
+ dayNamesShort: ['Iga','Ast','Ast','Ast','Ost','Ost','Lar'],
+ dayNamesMin: ['Ig','As','As','As','Os','Os','La'],
+ digits: null,
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['eu'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['eu'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fa.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fa.js
new file mode 100644
index 0000000..7eb5e7d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fa.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Farsi/Persian localisation for Gregorian/Julian calendars for jQuery.
+ Javad Mowlanezhad -- jmowla@gmail.com */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fa'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
+ 'مهر','آبان','آذر','دي','بهمن','اسفند'],
+ monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
+ dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
+ dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
+ dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
+ digits: $.calendars.substituteDigits(['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹']),
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 6,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fa'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fa'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fi.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fi.js
new file mode 100644
index 0000000..1d57387
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fi.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Finnish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Harri Kilpiö (harrikilpio@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fi'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu',
+ 'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
+ monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä',
+ 'Heinä','Elo','Syys','Loka','Marras','Joulu'],
+ dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
+ dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
+ dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fi'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fi'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fo.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fo.js
new file mode 100644
index 0000000..ce966d0
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fo.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Faroese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Sverri Mohr Olsen, sverrimo@gmail.com */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fo'] = {
+ name: 'Gregorianskur',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
+ 'Juli','August','September','Oktober','November','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Des'],
+ dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'],
+ dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],
+ dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'],
+ digits: null,
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fo'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fo'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fr-CH.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fr-CH.js
new file mode 100644
index 0000000..75e5ba1
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fr-CH.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Swiss French localisation for Gregorian/Julian calendars for jQuery.
+ Written by Martin Voelkle (martin.voelkle@e-tc.ch). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fr-CH'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
+ 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
+ monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
+ 'Jul','Aoû','Sep','Oct','Nov','Déc'],
+ dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
+ dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
+ dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fr-CH'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fr-CH'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fr.js
new file mode 100644
index 0000000..1a91bd3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-fr.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ French localisation for Gregorian/Julian calendars for jQuery.
+ Stéphane Nahmani (sholby@sholby.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fr'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
+ 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
+ monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
+ 'Jul','Aoû','Sep','Oct','Nov','Déc'],
+ dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
+ dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
+ dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fr'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fr'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-gl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-gl.js
new file mode 100644
index 0000000..361a282
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-gl.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Iniciacion en galego para a extensión 'UI date picker' para jQuery.
+ Traducido por Manuel (McNuel@gmx.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['gl'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño',
+ 'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'],
+ monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ',
+ 'Xul','Ago','Set','Out','Nov','Dec'],
+ dayNames: ['Domingo','Luns','Martes','Mércores','Xoves','Venres','Sábado'],
+ dayNamesShort: ['Dom','Lun','Mar','Mér','Xov','Ven','Sáb'],
+ dayNamesMin: ['Do','Lu','Ma','Me','Xo','Ve','Sá'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['gl'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['gl'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-gu.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-gu.js
new file mode 100644
index 0000000..6d3d7e4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-gu.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Gujarati (ગુજરાતી) localisation for Gregorian/Julian calendars for jQuery.
+ Naymesh Mistry (naymesh@yahoo.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['gu'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['જાન્યુઆરી','ફેબ્રુઆરી','માર્ચ','એપ્રિલ','મે','જૂન',
+ 'જુલાઈ','ઑગસ્ટ','સપ્ટેમ્બર','ઑક્ટોબર','નવેમ્બર','ડિસેમ્બર'],
+ monthNamesShort: ['જાન્યુ','ફેબ્રુ','માર્ચ','એપ્રિલ','મે','જૂન',
+ 'જુલાઈ','ઑગસ્ટ','સપ્ટે','ઑક્ટો','નવે','ડિસે'],
+ dayNames: ['રવિવાર','સોમવાર','મંગળવાર','બુધવાર','ગુરુવાર','શુક્રવાર','શનિવાર'],
+ dayNamesShort: ['રવિ','સોમ','મંગળ','બુધ','ગુરુ','શુક્ર','શનિ'],
+ dayNamesMin: ['ર','સો','મં','બુ','ગુ','શુ','શ'],
+ digits: $.calendars.substituteDigits(['૦', '૧', '૨', '૩', '૪', '૫', '૬', '૭', '૮', '૯']),
+ dateFormat: 'dd-M-yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['gu'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['gu'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-he.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-he.js
new file mode 100644
index 0000000..873a1f9
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-he.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Hebrew localisation for Gregorian/Julian calendars for jQuery.
+ Written by Amir Hardon (ahardon at gmail dot com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['he'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
+ 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
+ monthNamesShort: ['1','2','3','4','5','6',
+ '7','8','9','10','11','12'],
+ dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
+ dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['he'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['he'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hi-IN.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hi-IN.js
new file mode 100644
index 0000000..948544d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hi-IN.js
@@ -0,0 +1,22 @@
+/* http://keith-wood.name/calendars.html
+ Hindi INDIA localisation for Gregorian/Julian calendars for jQuery.
+ Written by Pawan Kumar Singh. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hi-IN'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['जनवरी',' फरवरी', 'मार्च', 'अप्रैल', 'मई', 'जून','जुलाई', 'अगस्त', 'सितम्बर', 'अक्टूबर', 'नवम्बर', 'दिसम्बर'],
+ monthNamesShort: ['जन', 'फर', 'मार्च','अप्रै', 'मई', 'जून','जुलाई', 'अग', 'सित', 'अक्टू', 'नव', 'दिस'],
+ dayNames: ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'],
+ dayNamesShort: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'],
+ dayNamesMin: ['र','सो','मं','बु','गु','शु','श'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['hi-IN'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hi-IN'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hr.js
new file mode 100644
index 0000000..97a76c7
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hr.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Croatian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Vjekoslav Nesek. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hr'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
+ 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
+ monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
+ 'Srp','Kol','Ruj','Lis','Stu','Pro'],
+ dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
+ dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy.',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['hr'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hr'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hu.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hu.js
new file mode 100644
index 0000000..8042813
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hu.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Hungarian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hu'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
+ 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
+ monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
+ 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
+ dayNames: ['Vasárnap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
+ dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
+ dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['hu'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hu'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hy.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hy.js
new file mode 100644
index 0000000..eb907be
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-hy.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Armenian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Levon Zakaryan (levon.zakaryan@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hy'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս',
+ 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'],
+ monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս',
+ 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'],
+ dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],
+ dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
+ dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['hy'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hy'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-id.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-id.js
new file mode 100644
index 0000000..b205d93
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-id.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Indonesian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Deden Fathurahman (dedenf@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['id'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
+ 'Juli','Agustus','September','Oktober','Nopember','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
+ 'Jul','Agus','Sep','Okt','Nop','Des'],
+ dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
+ dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
+ dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['id'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['id'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-is.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-is.js
new file mode 100644
index 0000000..bbe49c4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-is.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Icelandic localisation for Gregorian/Julian calendars for jQuery.
+ Written by Haukur H. Thorsson (haukur@eskill.is). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['is'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní',
+ 'Júlí','Ágúst','September','Október','Nóvember','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún',
+ 'Júl','Ágú','Sep','Okt','Nóv','Des'],
+ dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'],
+ dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
+ dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['is'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['is'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-it.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-it.js
new file mode 100644
index 0000000..71e249b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-it.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Italian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Apaella (apaella@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['it'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
+ 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
+ monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
+ 'Lug','Ago','Set','Ott','Nov','Dic'],
+ dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
+ dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
+ dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['it'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['it'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ja.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ja.js
new file mode 100644
index 0000000..65ce576
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ja.js
@@ -0,0 +1,25 @@
+/* http://keith-wood.name/calendars.html
+ Japanese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Kentaro SATO (kentaro@ranvis.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ja'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['1月','2月','3月','4月','5月','6月',
+ '7月','8月','9月','10月','11月','12月'],
+ monthNamesShort: ['1月','2月','3月','4月','5月','6月',
+ '7月','8月','9月','10月','11月','12月'],
+ dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
+ dayNamesShort: ['日','月','火','水','木','金','土'],
+ dayNamesMin: ['日','月','火','水','木','金','土'],
+ digits: $.calendars.substituteChineseDigits(
+ ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'], ['', '十', '百', '千']),
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ja'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ja'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ka.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ka.js
new file mode 100644
index 0000000..ec3390f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ka.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Georgian localisation for Gregorian/Julian calendars for jQuery.
+ Andrei Gorbushkin. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ka'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['იანვარი','თებერვალი','მარტი','აპრილი','მაისი','ივნისი',
+ 'ივლისი','აგვისტო','სექტემბერი','ოქტომბერი','ნოემბერი','დეკემბერი'],
+ monthNamesShort: ['იან', 'თებ', 'მარ', 'აპრ', 'მაისი', 'ივნ',
+ 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'],
+ dayNames: ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი'],
+ dayNamesShort: ['კვ', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'],
+ dayNamesMin: ['კვ','ორ','სმ','ოთ', 'ხშ', 'პრ','შბ'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ka'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ka'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-km.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-km.js
new file mode 100644
index 0000000..9d4ddc9
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-km.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Khmer initialisation for Gregorian/Julian calendars for jQuery.
+ Written by Sovichet Tep (sovichet.tep@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['km'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ខែមករា','ខែកុម្ភៈ','ខែមិនា','ខែមេសា','ខែឧសភា','ខែមិថុនា',
+ 'ខែកក្កដា','ខែសីហា','ខែកញ្ញា','ខែតុលា','ខែវិច្ឆិកា','ខែធ្នូ'],
+ monthNamesShort: ['មក', 'កុ', 'មិនា', 'មេ', 'ឧស', 'មិថុ',
+ 'កក្ក', 'សី', 'កញ្ញា', 'តុលា', 'វិច្ឆិ', 'ធ្នូ'],
+ dayNames: ['ថ្ងៃអាទិត្យ', 'ថ្ងៃចន្ទ', 'ថ្ងៃអង្គារ', 'ថ្ងៃពុធ', 'ថ្ងៃព្រហស្បត្តិ៍', 'ថ្ងៃសុក្រ', 'ថ្ងៃសៅរ៍'],
+ dayNamesShort: ['អា', 'ចន្ទ', 'អង្គ', 'ពុធ', 'ព្រហ', 'សុ', 'សៅរ៍'],
+ dayNamesMin: ['អា','ច','អ','ពុ','ព្រ','សុ','ស'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['km'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['km'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ko.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ko.js
new file mode 100644
index 0000000..74d3428
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ko.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Korean localisation for Gregorian/Julian calendars for jQuery.
+ Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ko'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['1월','2월','3월','4월','5월','6월',
+ '7월','8월','9월','10월','11월','12월'],
+ monthNamesShort: ['1월','2월','3월','4월','5월','6월',
+ '7월','8월','9월','10월','11월','12월'],
+ dayNames: ['일요일','월요일','화요일','수요일','목요일','금요일','토요일'],
+ dayNamesShort: ['일','월','화','수','목','금','토'],
+ dayNamesMin: ['일','월','화','수','목','금','토'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ko'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ko'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-lt.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-lt.js
new file mode 100644
index 0000000..bb7321e
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-lt.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Lithuanian localisation for Gregorian/Julian calendars for jQuery.
+ Arturas Paleicikas . */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['lt'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
+ 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
+ monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
+ 'Lie','Rugp','Rugs','Spa','Lap','Gru'],
+ dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
+ dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
+ dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['lt'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['lt'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-lv.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-lv.js
new file mode 100644
index 0000000..3f61039
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-lv.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Latvian localisation for Gregorian/Julian calendars for jQuery.
+ Arturas Paleicikas . */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['lv'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs',
+ 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn',
+ 'Jūl','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
+ dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
+ dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
+ digits: null,
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['lv'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['lv'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-me-ME.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-me-ME.js
new file mode 100644
index 0000000..6e0da73
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-me-ME.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Montenegrin localisation for Gregorian/Julian calendars for jQuery.
+ By Miloš Milošević - fleka d.o.o. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['me-ME'] = {
+ name: 'Gregorijanski',
+ epochs: ['pne', 'ne'],
+ monthNames: ['Januar','Februar','Mart','April','Maj','Jun',
+ 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun',
+ 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'],
+ dayNames: ['Neđelja', 'Poneđeljak', 'Utorak', 'Srijeda', 'Četvrtak', 'Petak', 'Subota'],
+ dayNamesShort: ['Neđ', 'Pon', 'Uto', 'Sri', 'Čet', 'Pet', 'Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['me-ME'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['me-ME'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-me.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-me.js
new file mode 100644
index 0000000..effa29f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-me.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Montenegrin localisation for Gregorian/Julian calendars for jQuery.
+ By Miloš Milošević - fleka d.o.o. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['me'] = {
+ name: 'Грегоријански',
+ epochs: ['пне', 'не'],
+ monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
+ 'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
+ monthNamesShort: ['Јан', 'Феб', 'Мар', 'Апр', 'Мај', 'Јун',
+ 'Јул', 'Авг', 'Сеп', 'Окт', 'Нов', 'Дец'],
+ dayNames: ['Неђеља', 'Понеђељак', 'Уторак', 'Сриједа', 'Четвртак', 'Петак', 'Субота'],
+ dayNamesShort: ['Неђ', 'Пон', 'Уто', 'Сри', 'Чет', 'Пет', 'Суб'],
+ dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['me'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['me'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-mk.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-mk.js
new file mode 100644
index 0000000..eb59ad7
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-mk.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Македонски MK localisation for Gregorian/Julian calendars for jQuery.
+ Hajan Selmani (hajan [at] live [dot] com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mk'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Јануари','Февруари','Март','Април','Мај','Јуни',
+ 'Јули','Август','Септември','Октомври','Ноември','Декември'],
+ monthNamesShort: ['Јан', 'Фев', 'Мар', 'Апр', 'Мај', 'Јун',
+ 'Јул', 'Авг', 'Сеп', 'Окт', 'Нов', 'Дек'],
+ dayNames: ['Недела', 'Понеделник', 'Вторник', 'Среда', 'Четврток', 'Петок', 'Сабота'],
+ dayNamesShort: ['Нед', 'Пон', 'Вто', 'Сре', 'Чет', 'Пет', 'Саб'],
+ dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Са'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['mk'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mk'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ml.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ml.js
new file mode 100644
index 0000000..0effb95
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ml.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Malayalam localisation for Gregorian/Julian calendars for jQuery.
+ Saji Nediyanchath (saji89@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ml'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ജനുവരി','ഫെബ്രുവരി','മാര്ച്ച്','ഏപ്രില്','മേയ്','ജൂണ്',
+ 'ജൂലൈ','ആഗസ്റ്റ്','സെപ്റ്റംബര്','ഒക്ടോബര്','നവംബര്','ഡിസംബര്'],
+ monthNamesShort: ['ജനു', 'ഫെബ്', 'മാര്', 'ഏപ്രി', 'മേയ്', 'ജൂണ്',
+ 'ജൂലാ', 'ആഗ', 'സെപ്', 'ഒക്ടോ', 'നവം', 'ഡിസ'],
+ dayNames: ['ഞായര്', 'തിങ്കള്', 'ചൊവ്വ', 'ബുധന്', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
+ dayNamesShort: ['ഞായ', 'തിങ്ക', 'ചൊവ്വ', 'ബുധ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
+ dayNamesMin: ['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ml'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ml'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ms.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ms.js
new file mode 100644
index 0000000..e4116b2
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ms.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Malaysian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ms'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januari','Februari','Mac','April','Mei','Jun',
+ 'Julai','Ogos','September','Oktober','November','Disember'],
+ monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun',
+ 'Jul','Ogo','Sep','Okt','Nov','Dis'],
+ dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'],
+ dayNamesShort: ['Aha','Isn','Sel','Rab','Kha','Jum','Sab'],
+ dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ms'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ms'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-mt.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-mt.js
new file mode 100644
index 0000000..40d721b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-mt.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Maltese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Chritian Sciberras (uuf6429@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mt'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Jannar','Frar','Marzu','April','Mejju','Ġunju',
+ 'Lulju','Awissu','Settembru','Ottubru','Novembru','Diċembru'],
+ monthNamesShort: ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun',
+ 'Lul', 'Awi', 'Set', 'Ott', 'Nov', 'Diċ'],
+ dayNames: ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'],
+ dayNamesShort: ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'],
+ dayNamesMin: ['Ħ','T','T','E','Ħ','Ġ','S'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['mt'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mt'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-nl-BE.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-nl-BE.js
new file mode 100644
index 0000000..a1ae8df
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-nl-BE.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Dutch/Belgian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Mathias Bynens . */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['nl-BE'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
+ 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
+ monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun',
+ 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
+ dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
+ dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['nl-BE'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['nl-BE'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-nl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-nl.js
new file mode 100644
index 0000000..8d6e5e8
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-nl.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Dutch localisation for Gregorian/Julian calendars for jQuery.
+ Written by Mathias Bynens . */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['nl'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
+ 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
+ monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun',
+ 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
+ dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
+ dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
+ digits: null,
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['nl'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['nl'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-no.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-no.js
new file mode 100644
index 0000000..fcdd02c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-no.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Norwegian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Naimdjon Takhirov (naimdjon@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['no'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
+ 'Juli','August','September','Oktober','November','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Des'],
+ dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
+ dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
+ dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['no'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['no'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-pa.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-pa.js
new file mode 100644
index 0000000..4e4aed2
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-pa.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Punjabi localisation for Gregorian/Julian calendars for jQuery.
+ Sarbjit Singh (sanbroz@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pa'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ਜਨਵਰੀ','ਫ਼ਰਵਰੀ','ਮਾਰਚ','ਅਪ੍ਰੈਲ','ਮਈ','ਜੂਨ',
+ 'ਜੁਲਾਈ','ਅਗਸਤ','ਸਤੰਬਰ','ਅਕਤੂਬਰ','ਨਵੰਬਰ','ਦਸੰਬਰ'],
+ monthNamesShort: ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕ', 'ਨਵੰ', 'ਦਸੰ'],
+ dayNames: ['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'],
+ dayNamesShort: ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'],
+ dayNamesMin: ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'],
+ digits: $.calendars.substituteDigits(['੦', '੧', '੨', '੩', '੪', '੫', '੬', '੭', '੮', '੯']),
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['pa'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pa'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-pl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-pl.js
new file mode 100644
index 0000000..a33c684
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-pl.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Polish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pl'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
+ 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
+ monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
+ 'Lip','Sie','Wrz','Pa','Lis','Gru'],
+ dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
+ dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
+ dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['pl'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pl'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-pt-BR.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-pt-BR.js
new file mode 100644
index 0000000..96f58a2
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-pt-BR.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Brazilian Portuguese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Leonildo Costa Silva (leocsilva@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pt-BR'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
+ 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
+ monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
+ 'Jul','Ago','Set','Out','Nov','Dez'],
+ dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],
+ dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
+ dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['pt-BR'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pt-BR'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-rm.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-rm.js
new file mode 100644
index 0000000..6c742db
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-rm.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Romansh localisation for Gregorian/Julian calendars for jQuery.
+ Yvonne Gienal (yvonne.gienal@educa.ch). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['rm'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur',
+ 'Fanadur','Avust','Settember','October','November','December'],
+ monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer',
+ 'Fan','Avu','Sett','Oct','Nov','Dec'],
+ dayNames: ['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'],
+ dayNamesShort: ['Dum','Gli','Mar','Mes','Gie','Ven','Som'],
+ dayNamesMin: ['Du','Gl','Ma','Me','Gi','Ve','So'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['rm'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['rm'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ro.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ro.js
new file mode 100644
index 0000000..3ebddc1
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ro.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Romanian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Edmond L. (ll_edmond@walla.com) and Ionut G. Stan (ionut.g.stan@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ro'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie',
+ 'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],
+ monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun',
+ 'Iul', 'Aug', 'Sep', 'Oct', 'Noi', 'Dec'],
+ dayNames: ['Duminică', 'Luni', 'Marti', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
+ dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
+ dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ro'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ro'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ru.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ru.js
new file mode 100644
index 0000000..7f8895b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ru.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Russian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Andrew Stromnov (stromnov@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ru'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
+ 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
+ monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
+ 'Июл','Авг','Сен','Окт','Ноя','Дек'],
+ dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
+ dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
+ dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ru'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ru'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sk.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sk.js
new file mode 100644
index 0000000..86f65a6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sk.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Slovak localisation for Gregorian/Julian calendars for jQuery.
+ Written by Vojtech Rinik (vojto@hmm.sk). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sk'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
+ 'Júl','August','September','Október','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún',
+ 'Júl','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
+ dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
+ dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sk'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sk'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sl.js
new file mode 100644
index 0000000..dd98d1d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sl.js
@@ -0,0 +1,25 @@
+/* http://keith-wood.name/calendars.html
+ Slovenian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Jaka Jancar (jaka@kubje.org). */
+/* c = č, s = š z = ž C = Č S = Š Z = Ž */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sl'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
+ 'Julij','Avgust','September','Oktober','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Avg','Sep','Okt','Nov','Dec'],
+ dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'],
+ dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],
+ dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sl'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sl'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sq.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sq.js
new file mode 100644
index 0000000..3e0c9b3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sq.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Albanian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Flakron Bytyqi (flakron@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sq'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor',
+ 'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],
+ monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer',
+ 'Kor','Gus','Sht','Tet','Nën','Dhj'],
+ dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
+ dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
+ dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sq'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sq'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sr-SR.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sr-SR.js
new file mode 100644
index 0000000..fc6722e
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sr-SR.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Serbian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Dejan Dimić. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sr-SR'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Mart','April','Maj','Jun',
+ 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Avg','Sep','Okt','Nov','Dec'],
+ dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'],
+ dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sr-SR'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sr-SR'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sr.js
new file mode 100644
index 0000000..30a1b69
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sr.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Serbian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Dejan Dimić. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sr'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
+ 'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
+ monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун','Јул','Авг','Сеп','Окт','Нов','Дец'],
+ dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],
+ dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],
+ dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sr'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sr'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sv.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sv.js
new file mode 100644
index 0000000..5176c1b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-sv.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Swedish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Anders Ekdahl (anders@nomadiz.se). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sv'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
+ 'Juli','Augusti','September','Oktober','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
+ dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
+ dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sv'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sv'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ta.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ta.js
new file mode 100644
index 0000000..1a2e363
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ta.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Tamil (UTF-8) localisation for Gregorian/Julian calendars for jQuery.
+ Written by S A Sureshkumar (saskumar@live.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ta'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['தை','மாசி','பங்குனி','சித்திரை','வைகாசி','ஆனி',
+ 'ஆடி','ஆவணி','புரட்டாசி','ஐப்பசி','கார்த்திகை','மார்கழி'],
+ monthNamesShort: ['தை','மாசி','பங்','சித்','வைகா','ஆனி',
+ 'ஆடி','ஆவ','புர','ஐப்','கார்','மார்'],
+ dayNames: ['ஞாயிற்றுக்கிழமை','திங்கட்கிழமை','செவ்வாய்க்கிழமை','புதன்கிழமை','வியாழக்கிழமை','வெள்ளிக்கிழமை','சனிக்கிழமை'],
+ dayNamesShort: ['ஞாயிறு','திங்கள்','செவ்வாய்','புதன்','வியாழன்','வெள்ளி','சனி'],
+ dayNamesMin: ['ஞா','தி','செ','பு','வி','வெ','ச'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ta'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ta'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-th.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-th.js
new file mode 100644
index 0000000..b5f6a7d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-th.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Thai localisation for Gregorian/Julian calendars for jQuery.
+ Written by pipo (pipo@sixhead.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['th'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
+ 'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
+ monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
+ 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
+ dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
+ dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
+ dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['th'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['th'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-tr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-tr.js
new file mode 100644
index 0000000..114f6bd
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-tr.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Turkish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Izzet Emre Erkan (kara@karalamalar.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['tr'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
+ 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
+ monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
+ 'Tem','Ağu','Eyl','Eki','Kas','Ara'],
+ dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
+ dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
+ dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['tr'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['tr'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-tt.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-tt.js
new file mode 100644
index 0000000..c5a9f6c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-tt.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Tatar localisation for Gregorian/Julian calendars for jQuery.
+ Written by Ирек Хаҗиев (khazirek@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['tt'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Гынвар','Февраль','Март','Апрель','Май','Июнь',
+ 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
+ monthNamesShort: ['Гыйн','Фев','Мар','Апр','Май','Июн',
+ 'Июл','Авг','Сен','Окт','Ноя','Дек'],
+ dayNames: ['якшәмбе','дүшәмбе','сишәмбе','чәршәмбе','пәнҗешәмбе','җомга','шимбә'],
+ dayNamesShort: ['якш','дүш','сиш','чәр','пән','җом','шим'],
+ dayNamesMin: ['Як','Дү','Си','Чә','Пә','Җо','Ши'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['tt'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['tt'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-uk.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-uk.js
new file mode 100644
index 0000000..b675836
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-uk.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Ukrainian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Maxim Drogobitskiy (maxdao@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['uk'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
+ 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],
+ monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер',
+ 'Лип','Сер','Вер','Жов','Лис','Гру'],
+ dayNames: ['неділя','понеділок','вівторок','середа','четвер','п\'ятниця','субота'],
+ dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
+ dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['uk'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['uk'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ur.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ur.js
new file mode 100644
index 0000000..7e152fd
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-ur.js
@@ -0,0 +1,26 @@
+/* http://keith-wood.name/calendars.html
+ Urdu localisation for Gregorian/Julian calendars for jQuery.
+ Mansoor Munib -- mansoormunib@gmail.com
+ Thanks to Habib Ahmed, ObaidUllah Anwar. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ur'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['جنوری','فروری','مارچ','اپریل','مئی','جون',
+ 'جولائی','اگست','ستمبر','اکتوبر','نومبر','دسمبر'],
+ monthNamesShort: ['1','2','3','4','5','6',
+ '7','8','9','10','11','12'],
+ dayNames: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
+ dayNamesShort: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
+ dayNamesMin: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
+ digits: $.calendars.substituteDigits(['٠', '١', '٢', '٣', '۴', '۵', '۶', '۷', '٨', '٩']),
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ firstDay: 1,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ur'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ur'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-vi.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-vi.js
new file mode 100644
index 0000000..e68543e
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-vi.js
@@ -0,0 +1,24 @@
+/* http://keith-wood.name/calendars.html
+ Vietnamese localisation for Gregorian/Julian calendars for jQuery.
+ Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['vi'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
+ 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],
+ monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6',
+ 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'],
+ dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
+ dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
+ dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['vi'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['vi'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-zh-CN.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-zh-CN.js
new file mode 100644
index 0000000..eb7540c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-zh-CN.js
@@ -0,0 +1,25 @@
+/* http://keith-wood.name/calendars.html
+ Simplified Chinese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Cloudream (cloudream@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-CN'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['一月','二月','三月','四月','五月','六月',
+ '七月','八月','九月','十月','十一月','十二月'],
+ monthNamesShort: ['一','二','三','四','五','六',
+ '七','八','九','十','十一','十二'],
+ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
+ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
+ dayNamesMin: ['日','一','二','三','四','五','六'],
+ digits: $.calendars.substituteChineseDigits(
+ ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'], ['', '十', '百', '千']),
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['zh-CN'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-CN'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-zh-HK.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-zh-HK.js
new file mode 100644
index 0000000..44a0ed7
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-zh-HK.js
@@ -0,0 +1,25 @@
+/* http://keith-wood.name/calendars.html
+ Hong Kong Chinese localisation for Gregorian/Julian calendars for jQuery.
+ Written by SCCY (samuelcychan@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-HK'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['一月','二月','三月','四月','五月','六月',
+ '七月','八月','九月','十月','十一月','十二月'],
+ monthNamesShort: ['一','二','三','四','五','六',
+ '七','八','九','十','十一','十二'],
+ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
+ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
+ dayNamesMin: ['日','一','二','三','四','五','六'],
+ digits: $.calendars.substituteChineseDigits(
+ ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'], ['', '十', '百', '千']),
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['zh-HK'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-HK'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-zh-TW.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-zh-TW.js
new file mode 100644
index 0000000..e745836
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars-zh-TW.js
@@ -0,0 +1,25 @@
+/* http://keith-wood.name/calendars.html
+ Traditional Chinese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Ressol (ressol@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-TW'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['一月','二月','三月','四月','五月','六月',
+ '七月','八月','九月','十月','十一月','十二月'],
+ monthNamesShort: ['一','二','三','四','五','六',
+ '七','八','九','十','十一','十二'],
+ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
+ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
+ dayNamesMin: ['日','一','二','三','四','五','六'],
+ digits: $.calendars.substituteChineseDigits(
+ ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'], ['', '十', '百', '千']),
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['zh-TW'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-TW'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.all.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.all.js
new file mode 100644
index 0000000..6f26120
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.all.js
@@ -0,0 +1,3165 @@
+/* http://keith-wood.name/calendars.html
+ Calendars for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ function Calendars() {
+ this.regionalOptions = [];
+ this.regionalOptions[''] = {
+ invalidCalendar: 'Calendar {0} not found',
+ invalidDate: 'Invalid {0} date',
+ invalidMonth: 'Invalid {0} month',
+ invalidYear: 'Invalid {0} year',
+ differentCalendars: 'Cannot mix {0} and {1} dates'
+ };
+ this.local = this.regionalOptions[''];
+ this.calendars = {};
+ this._localCals = {};
+ }
+
+ /** Create the calendars plugin.
+ Provides support for various world calendars in a consistent manner.
+ @class Calendars
+ @example $.calendars.instance('julian').newDate(2014, 12, 25) */
+ $.extend(Calendars.prototype, {
+
+ /** Obtain a calendar implementation and localisation.
+ @memberof Calendars
+ @param [name='gregorian'] {string} The name of the calendar, e.g. 'gregorian', 'persian', 'islamic'.
+ @param [language=''] {string} The language code to use for localisation (default is English).
+ @return {Calendar} The calendar and localisation.
+ @throws Error if calendar not found. */
+ instance: function(name, language) {
+ name = (name || 'gregorian').toLowerCase();
+ language = language || '';
+ var cal = this._localCals[name + '-' + language];
+ if (!cal && this.calendars[name]) {
+ cal = new this.calendars[name](language);
+ this._localCals[name + '-' + language] = cal;
+ }
+ if (!cal) {
+ throw (this.local.invalidCalendar || this.regionalOptions[''].invalidCalendar).
+ replace(/\{0\}/, name);
+ }
+ return cal;
+ },
+
+ /** Create a new date - for today if no other parameters given.
+ @memberof Calendars
+ @param year {CDate|number} The date to copy or the year for the date.
+ @param [month] {number} The month for the date.
+ @param [day] {number} The day for the date.
+ @param [calendar='gregorian'] {BaseCalendar|string} The underlying calendar or the name of the calendar.
+ @param [language=''] {string} The language to use for localisation (default English).
+ @return {CDate} The new date.
+ @throws Error if an invalid date. */
+ newDate: function(year, month, day, calendar, language) {
+ calendar = (year != null && year.year ? year.calendar() : (typeof calendar === 'string' ?
+ this.instance(calendar, language) : calendar)) || this.instance();
+ return calendar.newDate(year, month, day);
+ },
+
+ /** A simple digit substitution function for localising numbers via the Calendar digits option.
+ @member Calendars
+ @param digits {string[]} The substitute digits, for 0 through 9.
+ @return {function} The substitution function. */
+ substituteDigits: function(digits) {
+ return function(value) {
+ return (value + '').replace(/[0-9]/g, function(digit) {
+ return digits[digit];
+ });
+ }
+ },
+
+ /** Digit substitution function for localising Chinese style numbers via the Calendar digits option.
+ @member Calendars
+ @param digits {string[]} The substitute digits, for 0 through 9.
+ @param powers {string[]} The characters denoting powers of 10, i.e. 1, 10, 100, 1000.
+ @return {function} The substitution function. */
+ substituteChineseDigits: function(digits, powers) {
+ return function(value) {
+ var localNumber = '';
+ var power = 0;
+ while (value > 0) {
+ var units = value % 10;
+ localNumber = (units === 0 ? '' : digits[units] + powers[power]) + localNumber;
+ power++;
+ value = Math.floor(value / 10);
+ }
+ if (localNumber.indexOf(digits[1] + powers[1]) === 0) {
+ localNumber = localNumber.substr(1);
+ }
+ return localNumber || digits[0];
+ }
+ }
+ });
+
+ /** Generic date, based on a particular calendar.
+ @class CDate
+ @param calendar {BaseCalendar} The underlying calendar implementation.
+ @param year {number} The year for this date.
+ @param month {number} The month for this date.
+ @param day {number} The day for this date.
+ @return {CDate} The date object.
+ @throws Error if an invalid date. */
+ function CDate(calendar, year, month, day) {
+ this._calendar = calendar;
+ this._year = year;
+ this._month = month;
+ this._day = day;
+ if (this._calendar._validateLevel === 0 &&
+ !this._calendar.isValid(this._year, this._month, this._day)) {
+ throw ($.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate).
+ replace(/\{0\}/, this._calendar.local.name);
+ }
+ }
+
+ /** Pad a numeric value with leading zeroes.
+ @private
+ @param value {number} The number to format.
+ @param length {number} The minimum length.
+ @return {string} The formatted number. */
+ function pad(value, length) {
+ value = '' + value;
+ return '000000'.substring(0, length - value.length) + value;
+ }
+
+ $.extend(CDate.prototype, {
+
+ /** Create a new date.
+ @memberof CDate
+ @param [year] {CDate|number} The date to copy or the year for the date (default this date).
+ @param [month] {number} The month for the date.
+ @param [day] {number} The day for the date.
+ @return {CDate} The new date.
+ @throws Error if an invalid date. */
+ newDate: function(year, month, day) {
+ return this._calendar.newDate((year == null ? this : year), month, day);
+ },
+
+ /** Set or retrieve the year for this date.
+ @memberof CDate
+ @param [year] {number} The year for the date.
+ @return {number|CDate} The date's year (if no parameter) or the updated date.
+ @throws Error if an invalid date. */
+ year: function(year) {
+ return (arguments.length === 0 ? this._year : this.set(year, 'y'));
+ },
+
+ /** Set or retrieve the month for this date.
+ @memberof CDate
+ @param [month] {number} The month for the date.
+ @return {number|CDate} The date's month (if no parameter) or the updated date.
+ @throws Error if an invalid date. */
+ month: function(month) {
+ return (arguments.length === 0 ? this._month : this.set(month, 'm'));
+ },
+
+ /** Set or retrieve the day for this date.
+ @memberof CDate
+ @param [day] {number} The day for the date.
+ @return {number|CData} The date's day (if no parameter) or the updated date.
+ @throws Error if an invalid date. */
+ day: function(day) {
+ return (arguments.length === 0 ? this._day : this.set(day, 'd'));
+ },
+
+ /** Set new values for this date.
+ @memberof CDate
+ @param year {number} The year for the date.
+ @param month {number} The month for the date.
+ @param day {number} The day for the date.
+ @return {CDate} The updated date.
+ @throws Error if an invalid date. */
+ date: function(year, month, day) {
+ if (!this._calendar.isValid(year, month, day)) {
+ throw ($.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate).
+ replace(/\{0\}/, this._calendar.local.name);
+ }
+ this._year = year;
+ this._month = month;
+ this._day = day;
+ return this;
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof CDate
+ @return {boolean} true if this is a leap year, false if not. */
+ leapYear: function() {
+ return this._calendar.leapYear(this);
+ },
+
+ /** Retrieve the epoch designator for this date, e.g. BCE or CE.
+ @memberof CDate
+ @return {string} The current epoch. */
+ epoch: function() {
+ return this._calendar.epoch(this);
+ },
+
+ /** Format the year, if not a simple sequential number.
+ @memberof CDate
+ @return {string} The formatted year. */
+ formatYear: function() {
+ return this._calendar.formatYear(this);
+ },
+
+ /** Retrieve the month of the year for this date,
+ i.e. the month's position within a numbered year.
+ @memberof CDate
+ @return {number} The month of the year: minMonth to months per year. */
+ monthOfYear: function() {
+ return this._calendar.monthOfYear(this);
+ },
+
+ /** Retrieve the week of the year for this date.
+ @memberof CDate
+ @return {number} The week of the year: 1 to weeks per year. */
+ weekOfYear: function() {
+ return this._calendar.weekOfYear(this);
+ },
+
+ /** Retrieve the number of days in the year for this date.
+ @memberof CDate
+ @return {number} The number of days in this year. */
+ daysInYear: function() {
+ return this._calendar.daysInYear(this);
+ },
+
+ /** Retrieve the day of the year for this date.
+ @memberof CDate
+ @return {number} The day of the year: 1 to days per year. */
+ dayOfYear: function() {
+ return this._calendar.dayOfYear(this);
+ },
+
+ /** Retrieve the number of days in the month for this date.
+ @memberof CDate
+ @return {number} The number of days. */
+ daysInMonth: function() {
+ return this._calendar.daysInMonth(this);
+ },
+
+ /** Retrieve the day of the week for this date.
+ @memberof CDate
+ @return {number} The day of the week: 0 to number of days - 1. */
+ dayOfWeek: function() {
+ return this._calendar.dayOfWeek(this);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof CDate
+ @return {boolean} true if a week day, false if not. */
+ weekDay: function() {
+ return this._calendar.weekDay(this);
+ },
+
+ /** Retrieve additional information about this date.
+ @memberof CDate
+ @return {object} Additional information - contents depends on calendar. */
+ extraInfo: function() {
+ return this._calendar.extraInfo(this);
+ },
+
+ /** Add period(s) to a date.
+ @memberof CDate
+ @param offset {number} The number of periods to adjust by.
+ @param period {string} One of 'y' for year, 'm' for month, 'w' for week, 'd' for day.
+ @return {CDate} The updated date. */
+ add: function(offset, period) {
+ return this._calendar.add(this, offset, period);
+ },
+
+ /** Set a portion of the date.
+ @memberof CDate
+ @param value {number} The new value for the period.
+ @param period {string} One of 'y' for year, 'm' for month, 'd' for day.
+ @return {CDate} The updated date.
+ @throws Error if not a valid date. */
+ set: function(value, period) {
+ return this._calendar.set(this, value, period);
+ },
+
+ /** Compare this date to another date.
+ @memberof CDate
+ @param date {CDate} The other date.
+ @return {number} -1 if this date is before the other date,
+ 0 if they are equal, or +1 if this date is after the other date. */
+ compareTo: function(date) {
+ if (this._calendar.name !== date._calendar.name) {
+ throw ($.calendars.local.differentCalendars || $.calendars.regionalOptions[''].differentCalendars).
+ replace(/\{0\}/, this._calendar.local.name).replace(/\{1\}/, date._calendar.local.name);
+ }
+ var c = (this._year !== date._year ? this._year - date._year :
+ this._month !== date._month ? this.monthOfYear() - date.monthOfYear() :
+ this._day - date._day);
+ return (c === 0 ? 0 : (c < 0 ? -1 : +1));
+ },
+
+ /** Retrieve the calendar backing this date.
+ @memberof CDate
+ @return {BaseCalendar} The calendar implementation. */
+ calendar: function() {
+ return this._calendar;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof CDate
+ @return {number} The equivalent Julian date. */
+ toJD: function() {
+ return this._calendar.toJD(this);
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof CDate
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ return this._calendar.fromJD(jd);
+ },
+
+ /** Convert this date to a standard (Gregorian) JavaScript Date.
+ @memberof CDate
+ @return {Date} The equivalent JavaScript date. */
+ toJSDate: function() {
+ return this._calendar.toJSDate(this);
+ },
+
+ /** Create a new date from a standard (Gregorian) JavaScript Date.
+ @memberof CDate
+ @param jsd {Date} The JavaScript date to convert.
+ @return {CDate} The equivalent date. */
+ fromJSDate: function(jsd) {
+ return this._calendar.fromJSDate(jsd);
+ },
+
+ /** Convert to a string for display.
+ @memberof CDate
+ @return {string} This date as a string. */
+ toString: function() {
+ return (this.year() < 0 ? '-' : '') + pad(Math.abs(this.year()), 4) +
+ '-' + pad(this.month(), 2) + '-' + pad(this.day(), 2);
+ }
+ });
+
+ /** Basic functionality for all calendars.
+ Other calendars should extend this:
+ OtherCalendar.prototype = new BaseCalendar;
+ @class BaseCalendar */
+ function BaseCalendar() {
+ this.shortYearCutoff = '+10';
+ }
+
+ $.extend(BaseCalendar.prototype, {
+ _validateLevel: 0, // "Stack" to turn validation on/off
+
+ /** Create a new date within this calendar - today if no parameters given.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to duplicate or the year for the date.
+ @param [month] {number} The month for the date.
+ @param [day] {number} The day for the date.
+ @return {CDate} The new date.
+ @throws Error if not a valid date or a different calendar used. */
+ newDate: function(year, month, day) {
+ if (year == null) {
+ return this.today();
+ }
+ if (year.year) {
+ this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ day = year.day();
+ month = year.month();
+ year = year.year();
+ }
+ return new CDate(this, year, month, day);
+ },
+
+ /** Create a new date for today.
+ @memberof BaseCalendar
+ @return {CDate} Today's date. */
+ today: function() {
+ return this.fromJSDate(new Date());
+ },
+
+ /** Retrieve the epoch designator for this date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {string} The current epoch.
+ @throws Error if an invalid year or a different calendar used. */
+ epoch: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return (date.year() < 0 ? this.local.epochs[0] : this.local.epochs[1]);
+ },
+
+ /** Format the year, if not a simple sequential number
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to format or the year to format.
+ @return {string} The formatted year.
+ @throws Error if an invalid year or a different calendar used. */
+ formatYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return (date.year() < 0 ? '-' : '') + pad(Math.abs(date.year()), 4)
+ },
+
+ /** Retrieve the number of months in a year.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of months.
+ @throws Error if an invalid year or a different calendar used. */
+ monthsInYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return 12;
+ },
+
+ /** Calculate the month's ordinal position within the year -
+ for those calendars that don't start at month 1!
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param month {number} The month to examine.
+ @return {number} The ordinal position, starting from minMonth.
+ @throws Error if an invalid year/month or a different calendar used. */
+ monthOfYear: function(year, month) {
+ var date = this._validate(year, month, this.minDay,
+ $.calendars.local.invalidMonth || $.calendars.regionalOptions[''].invalidMonth);
+ return (date.month() + this.monthsInYear(date) - this.firstMonth) %
+ this.monthsInYear(date) + this.minMonth;
+ },
+
+ /** Calculate actual month from ordinal position, starting from minMonth.
+ @memberof BaseCalendar
+ @param year {number} The year to examine.
+ @param ord {number} The month's ordinal position.
+ @return {number} The month's number.
+ @throws Error if an invalid year/month. */
+ fromMonthOfYear: function(year, ord) {
+ var m = (ord + this.firstMonth - 2 * this.minMonth) %
+ this.monthsInYear(year) + this.minMonth;
+ this._validate(year, m, this.minDay,
+ $.calendars.local.invalidMonth || $.calendars.regionalOptions[''].invalidMonth);
+ return m;
+ },
+
+ /** Retrieve the number of days in a year.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of days.
+ @throws Error if an invalid year or a different calendar used. */
+ daysInYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return (this.leapYear(date) ? 366 : 365);
+ },
+
+ /** Retrieve the day of the year for a date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The day of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ dayOfYear: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return date.toJD() - this.newDate(date.year(),
+ this.fromMonthOfYear(date.year(), this.minMonth), this.minDay).toJD() + 1;
+ },
+
+ /** Retrieve the number of days in a week.
+ @memberof BaseCalendar
+ @return {number} The number of days. */
+ daysInWeek: function() {
+ return 7;
+ },
+
+ /** Retrieve the day of the week for a date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The day of the week: 0 to number of days - 1.
+ @throws Error if an invalid date or a different calendar used. */
+ dayOfWeek: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return (Math.floor(this.toJD(date)) + 2) % this.daysInWeek();
+ },
+
+ /** Retrieve additional information about a date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {object} Additional information - contents depends on calendar.
+ @throws Error if an invalid date or a different calendar used. */
+ extraInfo: function(year, month, day) {
+ this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return {};
+ },
+
+ /** Add period(s) to a date.
+ Cater for no year zero.
+ @memberof BaseCalendar
+ @param date {CDate} The starting date.
+ @param offset {number} The number of periods to adjust by.
+ @param period {string} One of 'y' for year, 'm' for month, 'w' for week, 'd' for day.
+ @return {CDate} The updated date.
+ @throws Error if a different calendar used. */
+ add: function(date, offset, period) {
+ this._validate(date, this.minMonth, this.minDay,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return this._correctAdd(date, this._add(date, offset, period), offset, period);
+ },
+
+ /** Add period(s) to a date.
+ @memberof BaseCalendar
+ @private
+ @param date {CDate} The starting date.
+ @param offset {number} The number of periods to adjust by.
+ @param period {string} One of 'y' for year, 'm' for month, 'w' for week, 'd' for day.
+ @return {CDate} The updated date. */
+ _add: function(date, offset, period) {
+ this._validateLevel++;
+ if (period === 'd' || period === 'w') {
+ var jd = date.toJD() + offset * (period === 'w' ? this.daysInWeek() : 1);
+ var d = date.calendar().fromJD(jd);
+ this._validateLevel--;
+ return [d.year(), d.month(), d.day()];
+ }
+ try {
+ var y = date.year() + (period === 'y' ? offset : 0);
+ var m = date.monthOfYear() + (period === 'm' ? offset : 0);
+ var d = date.day();// + (period === 'd' ? offset : 0) +
+ //(period === 'w' ? offset * this.daysInWeek() : 0);
+ var resyncYearMonth = function(calendar) {
+ while (m < calendar.minMonth) {
+ y--;
+ m += calendar.monthsInYear(y);
+ }
+ var yearMonths = calendar.monthsInYear(y);
+ while (m > yearMonths - 1 + calendar.minMonth) {
+ y++;
+ m -= yearMonths;
+ yearMonths = calendar.monthsInYear(y);
+ }
+ };
+ if (period === 'y') {
+ if (date.month() !== this.fromMonthOfYear(y, m)) { // Hebrew
+ m = this.newDate(y, date.month(), this.minDay).monthOfYear();
+ }
+ m = Math.min(m, this.monthsInYear(y));
+ d = Math.min(d, this.daysInMonth(y, this.fromMonthOfYear(y, m)));
+ }
+ else if (period === 'm') {
+ resyncYearMonth(this);
+ d = Math.min(d, this.daysInMonth(y, this.fromMonthOfYear(y, m)));
+ }
+ var ymd = [y, this.fromMonthOfYear(y, m), d];
+ this._validateLevel--;
+ return ymd;
+ }
+ catch (e) {
+ this._validateLevel--;
+ throw e;
+ }
+ },
+
+ /** Correct a candidate date after adding period(s) to a date.
+ Handle no year zero if necessary.
+ @memberof BaseCalendar
+ @private
+ @param date {CDate} The starting date.
+ @param ymd {number[]} The added date.
+ @param offset {number} The number of periods to adjust by.
+ @param period {string} One of 'y' for year, 'm' for month, 'w' for week, 'd' for day.
+ @return {CDate} The updated date. */
+ _correctAdd: function(date, ymd, offset, period) {
+ if (!this.hasYearZero && (period === 'y' || period === 'm')) {
+ if (ymd[0] === 0 || // In year zero
+ (date.year() > 0) !== (ymd[0] > 0)) { // Crossed year zero
+ var adj = {y: [1, 1, 'y'], m: [1, this.monthsInYear(-1), 'm'],
+ w: [this.daysInWeek(), this.daysInYear(-1), 'd'],
+ d: [1, this.daysInYear(-1), 'd']}[period];
+ var dir = (offset < 0 ? -1 : +1);
+ ymd = this._add(date, offset * adj[0] + dir * adj[1], adj[2]);
+ }
+ }
+ return date.date(ymd[0], ymd[1], ymd[2]);
+ },
+
+ /** Set a portion of the date.
+ @memberof BaseCalendar
+ @param date {CDate} The starting date.
+ @param value {number} The new value for the period.
+ @param period {string} One of 'y' for year, 'm' for month, 'd' for day.
+ @return {CDate} The updated date.
+ @throws Error if an invalid date or a different calendar used. */
+ set: function(date, value, period) {
+ this._validate(date, this.minMonth, this.minDay,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ var y = (period === 'y' ? value : date.year());
+ var m = (period === 'm' ? value : date.month());
+ var d = (period === 'd' ? value : date.day());
+ if (period === 'y' || period === 'm') {
+ d = Math.min(d, this.daysInMonth(y, m));
+ }
+ return date.date(y, m, d);
+ },
+
+ /** Determine whether a date is valid for this calendar.
+ @memberof BaseCalendar
+ @param year {number} The year to examine.
+ @param month {number} The month to examine.
+ @param day {number} The day to examine.
+ @return {boolean} true if a valid date, false if not. */
+ isValid: function(year, month, day) {
+ this._validateLevel++;
+ var valid = (this.hasYearZero || year !== 0);
+ if (valid) {
+ var date = this.newDate(year, month, this.minDay);
+ valid = (month >= this.minMonth && month - this.minMonth < this.monthsInYear(date)) &&
+ (day >= this.minDay && day - this.minDay < this.daysInMonth(date));
+ }
+ this._validateLevel--;
+ return valid;
+ },
+
+ /** Convert the date to a standard (Gregorian) JavaScript Date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {Date} The equivalent JavaScript date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJSDate: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return $.calendars.instance().fromJD(this.toJD(date)).toJSDate();
+ },
+
+ /** Convert the date from a standard (Gregorian) JavaScript Date.
+ @memberof BaseCalendar
+ @param jsd {Date} The JavaScript date.
+ @return {CDate} The equivalent calendar date. */
+ fromJSDate: function(jsd) {
+ return this.fromJD($.calendars.instance().fromJSDate(jsd).toJD());
+ },
+
+ /** Check that a candidate date is from the same calendar and is valid.
+ @memberof BaseCalendar
+ @private
+ @param year {CDate|number} The date to validate or the year to validate.
+ @param [month] {number} The month to validate.
+ @param [day] {number} The day to validate.
+ @param error {string} Rrror message if invalid.
+ @throws Error if different calendars used or invalid date. */
+ _validate: function(year, month, day, error) {
+ if (year.year) {
+ if (this._validateLevel === 0 && this.name !== year.calendar().name) {
+ throw ($.calendars.local.differentCalendars || $.calendars.regionalOptions[''].differentCalendars).
+ replace(/\{0\}/, this.local.name).replace(/\{1\}/, year.calendar().local.name);
+ }
+ return year;
+ }
+ try {
+ this._validateLevel++;
+ if (this._validateLevel === 1 && !this.isValid(year, month, day)) {
+ throw error.replace(/\{0\}/, this.local.name);
+ }
+ var date = this.newDate(year, month, day);
+ this._validateLevel--;
+ return date;
+ }
+ catch (e) {
+ this._validateLevel--;
+ throw e;
+ }
+ }
+ });
+
+ /** Implementation of the Proleptic Gregorian Calendar.
+ See http://en.wikipedia.org/wiki/Gregorian_calendar
+ and http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar .
+ @class GregorianCalendar
+ @augments BaseCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function GregorianCalendar(language) {
+ this.local = this.regionalOptions[language] || this.regionalOptions[''];
+ }
+
+ GregorianCalendar.prototype = new BaseCalendar;
+
+ $.extend(GregorianCalendar.prototype, {
+ /** The calendar name.
+ @memberof GregorianCalendar */
+ name: 'Gregorian',
+ /** Julian date of start of Gregorian epoch: 1 January 0001 CE.
+ @memberof GregorianCalendar */
+ jdEpoch: 1721425.5,
+ /** Days per month in a common year.
+ @memberof GregorianCalendar */
+ daysPerMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
+ /** true if has a year zero, false if not.
+ @memberof GregorianCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof GregorianCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof GregorianCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof GregorianCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof GregorianCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['January', 'February', 'March', 'April', 'May', 'June',
+ 'July', 'August', 'September', 'October', 'November', 'December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
+ digits: null,
+ dateFormat: 'mm/dd/yyyy',
+ firstDay: 0,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ var year = date.year() + (date.year() < 0 ? 1 : 0); // No year zero
+ return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
+ },
+
+ /** Determine the week of the year for a date - ISO 8601.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year, starting from 1.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Thursday of this week starting on Monday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(4 - (checkDate.dayOfWeek() || 7), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay,
+ $.calendars.local.invalidMonth || $.calendars.regionalOptions[''].invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 2 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return (this.dayOfWeek(year, month, day) || 7) < 6;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ year = date.year();
+ month = date.month();
+ day = date.day();
+ if (year < 0) { year++; } // No year zero
+ // Jean Meeus algorithm, "Astronomical Algorithms", 1991
+ if (month < 3) {
+ month += 12;
+ year--;
+ }
+ var a = Math.floor(year / 100);
+ var b = 2 - a + Math.floor(a / 4);
+ return Math.floor(365.25 * (year + 4716)) +
+ Math.floor(30.6001 * (month + 1)) + day + b - 1524.5;
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof GregorianCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ // Jean Meeus algorithm, "Astronomical Algorithms", 1991
+ var z = Math.floor(jd + 0.5);
+ var a = Math.floor((z - 1867216.25) / 36524.25);
+ a = z + 1 + a - Math.floor(a / 4);
+ var b = a + 1524;
+ var c = Math.floor((b - 122.1) / 365.25);
+ var d = Math.floor(365.25 * c);
+ var e = Math.floor((b - d) / 30.6001);
+ var day = b - d - Math.floor(e * 30.6001);
+ var month = e - (e > 13.5 ? 13 : 1);
+ var year = c - (month > 2.5 ? 4716 : 4715);
+ if (year <= 0) { year--; } // No year zero
+ return this.newDate(year, month, day);
+ },
+
+ /** Convert this date to a standard (Gregorian) JavaScript Date.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {Date} The equivalent JavaScript date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJSDate: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ var jsd = new Date(date.year(), date.month() - 1, date.day());
+ jsd.setHours(0);
+ jsd.setMinutes(0);
+ jsd.setSeconds(0);
+ jsd.setMilliseconds(0);
+ // Hours may be non-zero on daylight saving cut-over:
+ // > 12 when midnight changeover, but then cannot generate
+ // midnight datetime, so jump to 1AM, otherwise reset.
+ jsd.setHours(jsd.getHours() > 12 ? jsd.getHours() + 2 : 0);
+ return jsd;
+ },
+
+ /** Create a new date from a standard (Gregorian) JavaScript Date.
+ @memberof GregorianCalendar
+ @param jsd {Date} The JavaScript date to convert.
+ @return {CDate} The equivalent date. */
+ fromJSDate: function(jsd) {
+ return this.newDate(jsd.getFullYear(), jsd.getMonth() + 1, jsd.getDate());
+ }
+ });
+
+ // Singleton manager
+ $.calendars = new Calendars();
+
+ // Date template
+ $.calendars.cdate = CDate;
+
+ // Base calendar template
+ $.calendars.baseCalendar = BaseCalendar;
+
+ // Gregorian calendar implementation
+ $.calendars.calendars.gregorian = GregorianCalendar;
+
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Calendars extras for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ $.extend($.calendars.regionalOptions[''], {
+ invalidArguments: 'Invalid arguments',
+ invalidFormat: 'Cannot format a date from another calendar',
+ missingNumberAt: 'Missing number at position {0}',
+ unknownNameAt: 'Unknown name at position {0}',
+ unexpectedLiteralAt: 'Unexpected literal at position {0}',
+ unexpectedText: 'Additional text found at end'
+ });
+ $.calendars.local = $.calendars.regionalOptions[''];
+
+ $.extend($.calendars.cdate.prototype, {
+
+ /** Format this date.
+ Found in the jquery.calendars.plus.js module.
+ @memberof CDate
+ @param [format] {string} The date format to use (see formatDate ).
+ @param [settings] {object} Options for the formatDate function.
+ @return {string} The formatted date. */
+ formatDate: function(format, settings) {
+ if (typeof format !== 'string') {
+ settings = format;
+ format = '';
+ }
+ return this._calendar.formatDate(format || '', this, settings);
+ }
+ });
+
+ $.extend($.calendars.baseCalendar.prototype, {
+
+ UNIX_EPOCH: $.calendars.instance().newDate(1970, 1, 1).toJD(),
+ SECS_PER_DAY: 24 * 60 * 60,
+ TICKS_EPOCH: $.calendars.instance().jdEpoch, // 1 January 0001 CE
+ TICKS_PER_DAY: 24 * 60 * 60 * 10000000,
+
+ /** Date form for ATOM (RFC 3339/ISO 8601).
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ ATOM: 'yyyy-mm-dd',
+ /** Date form for cookies.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ COOKIE: 'D, dd M yyyy',
+ /** Date form for full date.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ FULL: 'DD, MM d, yyyy',
+ /** Date form for ISO 8601.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ ISO_8601: 'yyyy-mm-dd',
+ /** Date form for Julian date.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ JULIAN: 'J',
+ /** Date form for RFC 822.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_822: 'D, d M yy',
+ /** Date form for RFC 850.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_850: 'DD, dd-M-yy',
+ /** Date form for RFC 1036.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_1036: 'D, d M yy',
+ /** Date form for RFC 1123.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_1123: 'D, d M yyyy',
+ /** Date form for RFC 2822.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_2822: 'D, d M yyyy',
+ /** Date form for RSS (RFC 822).
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RSS: 'D, d M yy',
+ /** Date form for Windows ticks.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ TICKS: '!',
+ /** Date form for Unix timestamp.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ TIMESTAMP: '@',
+ /** Date form for W3c (ISO 8601).
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ W3C: 'yyyy-mm-dd',
+
+ /** Format a date object into a string value.
+ The format can be combinations of the following:
+
+ d - day of month (no leading zero)
+ dd - day of month (two digit)
+ o - day of year (no leading zeros)
+ oo - day of year (three digit)
+ D - day name short
+ DD - day name long
+ w - week of year (no leading zero)
+ ww - week of year (two digit)
+ m - month of year (no leading zero)
+ mm - month of year (two digit)
+ M - month name short
+ MM - month name long
+ yy - year (two digit)
+ yyyy - year (four digit)
+ YYYY - formatted year
+ J - Julian date (days since January 1, 4713 BCE Greenwich noon)
+ @ - Unix timestamp (s since 01/01/1970)
+ ! - Windows ticks (100ns since 01/01/0001)
+ '...' - literal text
+ '' - single quote
+
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar
+ @param [format] {string} The desired format of the date (defaults to calendar format).
+ @param date {CDate} The date value to format.
+ @param [settings] {object} Addition options, whose attributes include:
+ @property [dayNamesShort] {string[]} Abbreviated names of the days from Sunday.
+ @property [dayNames] {string[]} Names of the days from Sunday.
+ @property [monthNamesShort] {string[]} Abbreviated names of the months.
+ @property [monthNames] {string[]} Names of the months.
+ @property [calculateWeek] {CalendarsPickerCalculateWeek} Function that determines week of the year.
+ @property [localNumbers=false] {boolean} true to localise numbers (if available),
+ false to use normal Arabic numerals.
+ @return {string} The date in the above format.
+ @throws Errors if the date is from a different calendar. */
+ formatDate: function(format, date, settings) {
+ if (typeof format !== 'string') {
+ settings = date;
+ date = format;
+ format = '';
+ }
+ if (!date) {
+ return '';
+ }
+ if (date.calendar() !== this) {
+ throw $.calendars.local.invalidFormat || $.calendars.regionalOptions[''].invalidFormat;
+ }
+ format = format || this.local.dateFormat;
+ settings = settings || {};
+ var dayNamesShort = settings.dayNamesShort || this.local.dayNamesShort;
+ var dayNames = settings.dayNames || this.local.dayNames;
+ var monthNamesShort = settings.monthNamesShort || this.local.monthNamesShort;
+ var monthNames = settings.monthNames || this.local.monthNames;
+ var calculateWeek = settings.calculateWeek || this.local.calculateWeek;
+ // Check whether a format character is doubled
+ var doubled = function(match, step) {
+ var matches = 1;
+ while (iFormat + matches < format.length && format.charAt(iFormat + matches) === match) {
+ matches++;
+ }
+ iFormat += matches - 1;
+ return Math.floor(matches / (step || 1)) > 1;
+ };
+ // Format a number, with leading zeroes if necessary
+ var formatNumber = function(match, value, len, step) {
+ var num = '' + value;
+ if (doubled(match, step)) {
+ while (num.length < len) {
+ num = '0' + num;
+ }
+ }
+ return num;
+ };
+ // Format a name, short or long as requested
+ var formatName = function(match, value, shortNames, longNames) {
+ return (doubled(match) ? longNames[value] : shortNames[value]);
+ };
+ // Localise numbers if requested and available
+ var digits = this.local.digits;
+ var localiseNumbers = function(value) {
+ return (settings.localNumbers && digits ? digits(value) : value);
+ };
+ var output = '';
+ var literal = false;
+ for (var iFormat = 0; iFormat < format.length; iFormat++) {
+ if (literal) {
+ if (format.charAt(iFormat) === "'" && !doubled("'")) {
+ literal = false;
+ }
+ else {
+ output += format.charAt(iFormat);
+ }
+ }
+ else {
+ switch (format.charAt(iFormat)) {
+ case 'd': output += localiseNumbers(formatNumber('d', date.day(), 2)); break;
+ case 'D': output += formatName('D', date.dayOfWeek(),
+ dayNamesShort, dayNames); break;
+ case 'o': output += formatNumber('o', date.dayOfYear(), 3); break;
+ case 'w': output += formatNumber('w', date.weekOfYear(), 2); break;
+ case 'm': output += localiseNumbers(formatNumber('m', date.month(), 2)); break;
+ case 'M': output += formatName('M', date.month() - this.minMonth,
+ monthNamesShort, monthNames); break;
+ case 'y':
+ output += (doubled('y', 2) ? date.year() :
+ (date.year() % 100 < 10 ? '0' : '') + date.year() % 100);
+ break;
+ case 'Y':
+ doubled('Y', 2);
+ output += date.formatYear();
+ break;
+ case 'J': output += date.toJD(); break;
+ case '@': output += (date.toJD() - this.UNIX_EPOCH) * this.SECS_PER_DAY; break;
+ case '!': output += (date.toJD() - this.TICKS_EPOCH) * this.TICKS_PER_DAY; break;
+ case "'":
+ if (doubled("'")) {
+ output += "'";
+ }
+ else {
+ literal = true;
+ }
+ break;
+ default:
+ output += format.charAt(iFormat);
+ }
+ }
+ }
+ return output;
+ },
+
+ /** Parse a string value into a date object.
+ See formatDate for the possible formats, plus:
+
+ * - ignore rest of string
+
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar
+ @param format {string} The expected format of the date ('' for default calendar format).
+ @param value {string} The date in the above format.
+ @param [settings] {object} Additional options whose attributes include:
+ @property [shortYearCutoff] {number} The cutoff year for determining the century.
+ @property [dayNamesShort] {string[]} Abbreviated names of the days from Sunday.
+ @property [dayNames] {string[]} Names of the days from Sunday.
+ @property [monthNamesShort] {string[]} Abbreviated names of the months.
+ @property [monthNames] {string[]} Names of the months.
+ @return {CDate} The extracted date value or null if value is blank.
+ @throws Errors if the format and/or value are missing,
+ if the value doesn't match the format, or if the date is invalid. */
+ parseDate: function(format, value, settings) {
+ if (value == null) {
+ throw $.calendars.local.invalidArguments || $.calendars.regionalOptions[''].invalidArguments;
+ }
+ value = (typeof value === 'object' ? value.toString() : value + '');
+ if (value === '') {
+ return null;
+ }
+ format = format || this.local.dateFormat;
+ settings = settings || {};
+ var shortYearCutoff = settings.shortYearCutoff || this.shortYearCutoff;
+ shortYearCutoff = (typeof shortYearCutoff !== 'string' ? shortYearCutoff :
+ this.today().year() % 100 + parseInt(shortYearCutoff, 10));
+ var dayNamesShort = settings.dayNamesShort || this.local.dayNamesShort;
+ var dayNames = settings.dayNames || this.local.dayNames;
+ var monthNamesShort = settings.monthNamesShort || this.local.monthNamesShort;
+ var monthNames = settings.monthNames || this.local.monthNames;
+ var jd = -1;
+ var year = -1;
+ var month = -1;
+ var day = -1;
+ var doy = -1;
+ var shortYear = false;
+ var literal = false;
+ // Check whether a format character is doubled
+ var doubled = function(match, step) {
+ var matches = 1;
+ while (iFormat + matches < format.length && format.charAt(iFormat + matches) === match) {
+ matches++;
+ }
+ iFormat += matches - 1;
+ return Math.floor(matches / (step || 1)) > 1;
+ };
+ // Extract a number from the string value
+ var getNumber = function(match, step) {
+ var isDoubled = doubled(match, step);
+ var size = [2, 3, isDoubled ? 4 : 2, isDoubled ? 4 : 2, 10, 11, 20]['oyYJ@!'.indexOf(match) + 1];
+ var digits = new RegExp('^-?\\d{1,' + size + '}');
+ var num = value.substring(iValue).match(digits);
+ if (!num) {
+ throw ($.calendars.local.missingNumberAt || $.calendars.regionalOptions[''].missingNumberAt).
+ replace(/\{0\}/, iValue);
+ }
+ iValue += num[0].length;
+ return parseInt(num[0], 10);
+ };
+ // Extract a name from the string value and convert to an index
+ var calendar = this;
+ var getName = function(match, shortNames, longNames, step) {
+ var names = (doubled(match, step) ? longNames : shortNames);
+ for (var i = 0; i < names.length; i++) {
+ if (value.substr(iValue, names[i].length).toLowerCase() === names[i].toLowerCase()) {
+ iValue += names[i].length;
+ return i + calendar.minMonth;
+ }
+ }
+ throw ($.calendars.local.unknownNameAt || $.calendars.regionalOptions[''].unknownNameAt).
+ replace(/\{0\}/, iValue);
+ };
+ // Confirm that a literal character matches the string value
+ var checkLiteral = function() {
+ if (value.charAt(iValue) !== format.charAt(iFormat)) {
+ throw ($.calendars.local.unexpectedLiteralAt ||
+ $.calendars.regionalOptions[''].unexpectedLiteralAt).replace(/\{0\}/, iValue);
+ }
+ iValue++;
+ };
+ var iValue = 0;
+ for (var iFormat = 0; iFormat < format.length; iFormat++) {
+ if (literal) {
+ if (format.charAt(iFormat) === "'" && !doubled("'")) {
+ literal = false;
+ }
+ else {
+ checkLiteral();
+ }
+ }
+ else {
+ switch (format.charAt(iFormat)) {
+ case 'd': day = getNumber('d'); break;
+ case 'D': getName('D', dayNamesShort, dayNames); break;
+ case 'o': doy = getNumber('o'); break;
+ case 'w': getNumber('w'); break;
+ case 'm': month = getNumber('m'); break;
+ case 'M': month = getName('M', monthNamesShort, monthNames); break;
+ case 'y':
+ var iSave = iFormat;
+ shortYear = !doubled('y', 2);
+ iFormat = iSave;
+ year = getNumber('y', 2);
+ break;
+ case 'Y': year = getNumber('Y', 2); break;
+ case 'J':
+ jd = getNumber('J') + 0.5;
+ if (value.charAt(iValue) === '.') {
+ iValue++;
+ getNumber('J');
+ }
+ break;
+ case '@': jd = getNumber('@') / this.SECS_PER_DAY + this.UNIX_EPOCH; break;
+ case '!': jd = getNumber('!') / this.TICKS_PER_DAY + this.TICKS_EPOCH; break;
+ case '*': iValue = value.length; break;
+ case "'":
+ if (doubled("'")) {
+ checkLiteral();
+ }
+ else {
+ literal = true;
+ }
+ break;
+ default: checkLiteral();
+ }
+ }
+ }
+ if (iValue < value.length) {
+ throw $.calendars.local.unexpectedText || $.calendars.regionalOptions[''].unexpectedText;
+ }
+ if (year === -1) {
+ year = this.today().year();
+ }
+ else if (year < 100 && shortYear) {
+ year += (shortYearCutoff === -1 ? 1900 : this.today().year() -
+ this.today().year() % 100 - (year <= shortYearCutoff ? 0 : 100));
+ }
+ if (doy > -1) {
+ month = 1;
+ day = doy;
+ for (var dim = this.daysInMonth(year, month); day > dim; dim = this.daysInMonth(year, month)) {
+ month++;
+ day -= dim;
+ }
+ }
+ return (jd > -1 ? this.fromJD(jd) : this.newDate(year, month, day));
+ },
+
+ /** A date may be specified as an exact value or a relative one.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar
+ @param dateSpec {CDate|number|string} The date as an object or string in the given format or
+ an offset - numeric days from today, or string amounts and periods, e.g. '+1m +2w'.
+ @param defaultDate {CDate} The date to use if no other supplied, may be null.
+ @param currentDate {CDate} The current date as a possible basis for relative dates,
+ if null today is used (optional)
+ @param [dateFormat] {string} The expected date format - see formatDate .
+ @param [settings] {object} Additional options whose attributes include:
+ @property [shortYearCutoff] {number} The cutoff year for determining the century.
+ @property [dayNamesShort] {string[]} Abbreviated names of the days from Sunday.
+ @property [dayNames] {string[]} Names of the days from Sunday.
+ @property [monthNamesShort] {string[]} Abbreviated names of the months.
+ @property [monthNames] {string[]} Names of the months.
+ @return {CDate} The decoded date. */
+ determineDate: function(dateSpec, defaultDate, currentDate, dateFormat, settings) {
+ if (currentDate && typeof currentDate !== 'object') {
+ settings = dateFormat;
+ dateFormat = currentDate;
+ currentDate = null;
+ }
+ if (typeof dateFormat !== 'string') {
+ settings = dateFormat;
+ dateFormat = '';
+ }
+ var calendar = this;
+ var offsetString = function(offset) {
+ try {
+ return calendar.parseDate(dateFormat, offset, settings);
+ }
+ catch (e) {
+ // Ignore
+ }
+ offset = offset.toLowerCase();
+ var date = (offset.match(/^c/) && currentDate ?
+ currentDate.newDate() : null) || calendar.today();
+ var pattern = /([+-]?[0-9]+)\s*(d|w|m|y)?/g;
+ var matches = pattern.exec(offset);
+ while (matches) {
+ date.add(parseInt(matches[1], 10), matches[2] || 'd');
+ matches = pattern.exec(offset);
+ }
+ return date;
+ };
+ defaultDate = (defaultDate ? defaultDate.newDate() : null);
+ dateSpec = (dateSpec == null ? defaultDate :
+ (typeof dateSpec === 'string' ? offsetString(dateSpec) : (typeof dateSpec === 'number' ?
+ (isNaN(dateSpec) || dateSpec === Infinity || dateSpec === -Infinity ? defaultDate :
+ calendar.today().add(dateSpec, 'd')) : calendar.newDate(dateSpec))));
+ return dateSpec;
+ }
+ });
+
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Calendars date picker for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ var pluginName = 'calendarsPicker';
+
+
+ /** Create the calendars datepicker plugin.
+ Sets an input field to popup a calendar for date entry,
+ or a div or span to show an inline calendar.
+ Expects HTML like:
+ <input type="text"> or <div></div>
+ Provide inline configuration like:
+ <input type="text" data-calendarsPicker="name: 'value'"/>
+ @class CalendarsPicker
+ @augments JQPlugin
+ @example $(selector).calendarsPicker()
+ $(selector).calendarsPicker({minDate: 0, maxDate: '+1m +1w'}) */
+ $.JQPlugin.createPlugin({
+
+ /** The name of the plugin.
+ @memberof CalendarsPicker */
+ name: pluginName,
+
+ /** Default template for generating a datepicker.
+ Insert anywhere:
+
+ '{l10n:name}' to insert localised value for name,
+ '{link:name}' to insert a link trigger for command name,
+ '{button:name}' to insert a button trigger for command name,
+ '{popup:start}...{popup:end}' to mark a section for inclusion in a popup datepicker only,
+ '{inline:start}...{inline:end}' to mark a section for inclusion in an inline datepicker only.
+
+ @memberof CalendarsPicker
+ @property picker {string} Overall structure: '{months}' to insert calendar months.
+ @property monthRow {string} One row of months: '{months}' to insert calendar months.
+ @property month {string} A single month: '{monthHeader:dateFormat }' to insert the month header -
+ dateFormat is optional and defaults to 'MM yyyy',
+ '{weekHeader}' to insert a week header, '{weeks}' to insert the month's weeks.
+ @property weekHeader {string} A week header: '{days}' to insert individual day names.
+ @property dayHeader {string} Individual day header: '{day}' to insert day name.
+ @property week {string} One week of the month: '{days}' to insert the week's days,
+ '{weekOfYear}' to insert week of year.
+ @property day {string} An individual day: '{day}' to insert day value.
+ @property monthSelector {string} jQuery selector, relative to picker, for a single month.
+ @property daySelector {string} jQuery selector, relative to picker, for individual days.
+ @property rtlClass {string} Class for right-to-left (RTL) languages.
+ @property multiClass {string} Class for multi-month datepickers.
+ @property defaultClass {string} Class for selectable dates.
+ @property selectedClass {string} Class for currently selected dates.
+ @property highlightedClass {string} Class for highlighted dates.
+ @property todayClass {string} Class for today.
+ @property otherMonthClass {string} Class for days from other months.
+ @property weekendClass {string} Class for days on weekends.
+ @property commandClass {string} Class prefix for commands.
+ @property commandButtonClass {string} Extra class(es) for commands that are buttons.
+ @property commandLinkClass {string} Extra class(es) for commands that are links.
+ @property disabledClass {string} Class for disabled commands. */
+ defaultRenderer: {
+ picker: '' +
+ '
{link:prev}{link:today}{link:next}
{months}' +
+ '{popup:start}
{link:clear}{link:close}
{popup:end}' +
+ '
',
+ monthRow: '{months}
',
+ month: '',
+ weekHeader: '{days} ',
+ dayHeader: '{day} ',
+ week: '{days} ',
+ day: '{day} ',
+ monthSelector: '.calendars-month',
+ daySelector: 'td',
+ rtlClass: 'calendars-rtl',
+ multiClass: 'calendars-multi',
+ defaultClass: '',
+ selectedClass: 'calendars-selected',
+ highlightedClass: 'calendars-highlight',
+ todayClass: 'calendars-today',
+ otherMonthClass: 'calendars-other-month',
+ weekendClass: 'calendars-weekend',
+ commandClass: 'calendars-cmd',
+ commandButtonClass: '',
+ commandLinkClass: '',
+ disabledClass: 'calendars-disabled'
+ },
+
+ /** Command actions that may be added to a layout by name.
+
+ prev - Show the previous month (based on monthsToStep option) - PageUp
+ prevJump - Show the previous year (based on monthsToJump option) - Ctrl+PageUp
+ next - Show the next month (based on monthsToStep option) - PageDown
+ nextJump - Show the next year (based on monthsToJump option) - Ctrl+PageDown
+ current - Show the currently selected month or today's if none selected - Ctrl+Home
+ today - Show today's month - Ctrl+Home
+ clear - Erase the date and close the datepicker popup - Ctrl+End
+ close - Close the datepicker popup - Esc
+ prevWeek - Move the cursor to the previous week - Ctrl+Up
+ prevDay - Move the cursor to the previous day - Ctrl+Left
+ nextDay - Move the cursor to the next day - Ctrl+Right
+ nextWeek - Move the cursor to the next week - Ctrl+Down
+
+ The command name is the key name and is used to add the command to a layout
+ with '{button:name}' or '{link:name}'. Each has the following attributes.
+ @memberof CalendarsPicker
+ @property text {string} The field in the regional settings for the displayed text.
+ @property status {string} The field in the regional settings for the status text.
+ @property keystroke {object} The keystroke to trigger the action, with attributes:
+ keyCode {number} the code for the keystroke,
+ ctrlKey {boolean} true if Ctrl is required,
+ altKey {boolean} true if Alt is required,
+ shiftKey {boolean} true if Shift is required.
+ @property enabled {CalendarsPickerCommandEnabled} The function that indicates the command is enabled.
+ @property date {CalendarsPickerCommandDate} The function to get the date associated with this action.
+ @property action {CalendarsPickerCommandAction} The function that implements the action. */
+ commands: {
+ prev: {text: 'prevText', status: 'prevStatus', // Previous month
+ keystroke: {keyCode: 33}, // Page up
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ return (!minDate || inst.drawDate.newDate().
+ add(1 - inst.options.monthsToStep - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay).add(-1, 'd').compareTo(minDate) !== -1); },
+ date: function(inst) {
+ return inst.drawDate.newDate().
+ add(-inst.options.monthsToStep - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay); },
+ action: function(inst) {
+ plugin.changeMonth(this, -inst.options.monthsToStep); }
+ },
+ prevJump: {text: 'prevJumpText', status: 'prevJumpStatus', // Previous year
+ keystroke: {keyCode: 33, ctrlKey: true}, // Ctrl + Page up
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ return (!minDate || inst.drawDate.newDate().
+ add(1 - inst.options.monthsToJump - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay).add(-1, 'd').compareTo(minDate) !== -1); },
+ date: function(inst) {
+ return inst.drawDate.newDate().
+ add(-inst.options.monthsToJump - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay); },
+ action: function(inst) {
+ plugin.changeMonth(this, -inst.options.monthsToJump); }
+ },
+ next: {text: 'nextText', status: 'nextStatus', // Next month
+ keystroke: {keyCode: 34}, // Page down
+ enabled: function(inst) {
+ var maxDate = inst.get('maxDate');
+ return (!maxDate || inst.drawDate.newDate().
+ add(inst.options.monthsToStep - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay).compareTo(maxDate) !== +1); },
+ date: function(inst) {
+ return inst.drawDate.newDate().
+ add(inst.options.monthsToStep - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay); },
+ action: function(inst) {
+ plugin.changeMonth(this, inst.options.monthsToStep); }
+ },
+ nextJump: {text: 'nextJumpText', status: 'nextJumpStatus', // Next year
+ keystroke: {keyCode: 34, ctrlKey: true}, // Ctrl + Page down
+ enabled: function(inst) {
+ var maxDate = inst.get('maxDate');
+ return (!maxDate || inst.drawDate.newDate().
+ add(inst.options.monthsToJump - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay).compareTo(maxDate) !== +1); },
+ date: function(inst) {
+ return inst.drawDate.newDate().
+ add(inst.options.monthsToJump - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay); },
+ action: function(inst) {
+ plugin.changeMonth(this, inst.options.monthsToJump); }
+ },
+ current: {text: 'currentText', status: 'currentStatus', // Current month
+ keystroke: {keyCode: 36, ctrlKey: true}, // Ctrl + Home
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ var maxDate = inst.get('maxDate');
+ var curDate = inst.selectedDates[0] || inst.options.calendar.today();
+ return (!minDate || curDate.compareTo(minDate) !== -1) &&
+ (!maxDate || curDate.compareTo(maxDate) !== +1); },
+ date: function(inst) {
+ return inst.selectedDates[0] || inst.options.calendar.today(); },
+ action: function(inst) {
+ var curDate = inst.selectedDates[0] || inst.options.calendar.today();
+ plugin.showMonth(this, curDate.year(), curDate.month()); }
+ },
+ today: {text: 'todayText', status: 'todayStatus', // Today's month
+ keystroke: {keyCode: 36, ctrlKey: true}, // Ctrl + Home
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ var maxDate = inst.get('maxDate');
+ return (!minDate || inst.options.calendar.today().compareTo(minDate) !== -1) &&
+ (!maxDate || inst.options.calendar.today().compareTo(maxDate) !== +1); },
+ date: function(inst) { return inst.options.calendar.today(); },
+ action: function(inst) { plugin.showMonth(this); }
+ },
+ clear: {text: 'clearText', status: 'clearStatus', // Clear the datepicker
+ keystroke: {keyCode: 35, ctrlKey: true}, // Ctrl + End
+ enabled: function(inst) { return true; },
+ date: function(inst) { return null; },
+ action: function(inst) { plugin.clear(this); }
+ },
+ close: {text: 'closeText', status: 'closeStatus', // Close the datepicker
+ keystroke: {keyCode: 27}, // Escape
+ enabled: function(inst) { return true; },
+ date: function(inst) { return null; },
+ action: function(inst) { plugin.hide(this); }
+ },
+ prevWeek: {text: 'prevWeekText', status: 'prevWeekStatus', // Previous week
+ keystroke: {keyCode: 38, ctrlKey: true}, // Ctrl + Up
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ return (!minDate || inst.drawDate.newDate().
+ add(-inst.options.calendar.daysInWeek(), 'd').compareTo(minDate) !== -1); },
+ date: function(inst) { return inst.drawDate.newDate().
+ add(-inst.options.calendar.daysInWeek(), 'd'); },
+ action: function(inst) { plugin.changeDay(this, -inst.options.calendar.daysInWeek()); }
+ },
+ prevDay: {text: 'prevDayText', status: 'prevDayStatus', // Previous day
+ keystroke: {keyCode: 37, ctrlKey: true}, // Ctrl + Left
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ return (!minDate || inst.drawDate.newDate().add(-1, 'd').
+ compareTo(minDate) !== -1); },
+ date: function(inst) { return inst.drawDate.newDate().add(-1, 'd'); },
+ action: function(inst) { plugin.changeDay(this, -1); }
+ },
+ nextDay: {text: 'nextDayText', status: 'nextDayStatus', // Next day
+ keystroke: {keyCode: 39, ctrlKey: true}, // Ctrl + Right
+ enabled: function(inst) {
+ var maxDate = inst.get('maxDate');
+ return (!maxDate || inst.drawDate.newDate().add(1, 'd').
+ compareTo(maxDate) !== +1); },
+ date: function(inst) { return inst.drawDate.newDate().add(1, 'd'); },
+ action: function(inst) { plugin.changeDay(this, 1); }
+ },
+ nextWeek: {text: 'nextWeekText', status: 'nextWeekStatus', // Next week
+ keystroke: {keyCode: 40, ctrlKey: true}, // Ctrl + Down
+ enabled: function(inst) {
+ var maxDate = inst.get('maxDate');
+ return (!maxDate || inst.drawDate.newDate().
+ add(inst.options.calendar.daysInWeek(), 'd').compareTo(maxDate) !== +1); },
+ date: function(inst) { return inst.drawDate.newDate().
+ add(inst.options.calendar.daysInWeek(), 'd'); },
+ action: function(inst) { plugin.changeDay(this, inst.options.calendar.daysInWeek()); }
+ }
+ },
+
+ /** Determine whether a command is enabled.
+ @callback CalendarsPickerCommandEnabled
+ @param inst {object} The current instance settings.
+ @return {boolean} true if this command is enabled, false if not.
+ @example enabled: function(inst) {
+ return !!inst.curMinDate();
+ } */
+
+ /** Calculate the representative date for a command.
+ @callback CalendarsPickerCommandDate
+ @param inst {object} The current instance settings.
+ @return {CDate} A date appropriate for this command.
+ @example date: function(inst) {
+ return inst.curMinDate();
+ } */
+
+ /** Perform the action for a command.
+ @callback CalendarsPickerCommandAction
+ @param inst {object} The current instance settings.
+ @example date: function(inst) {
+ $.datepick.setDate(inst.elem, inst.curMinDate());
+ } */
+
+ /** Calculate the week of the year for a date.
+ @callback CalendarsPickerCalculateWeek
+ @param date {CDate} The date to evaluate.
+ @return {number} The week of the year.
+ @example calculateWeek: function(date) {
+ var startYear = $.calendars.newDate(date.year(), 1, 1);
+ return Math.floor((date.dayOfYear() - startYear.dayOfYear()) / 7) + 1;
+ } */
+
+ /** Provide information about an individual date shown in the calendar.
+ @callback CalendarsPickerOnDate
+ @param date {CDate} The date to evaluate.
+ @return {object} Information about that date, with the properties above.
+ @property selectable {boolean} true if this date can be selected.
+ @property dateClass {string} Class(es) to be applied to the date.
+ @property content {string} The date cell content.
+ @property tooltip {string} A popup tooltip for the date.
+ @example onDate: function(date) {
+ return {selectable: date.day() > 0 && date.day() < 5,
+ dateClass: date.day() === 4 ? 'last-day' : ''};
+ } */
+
+ /** Update the datepicker display.
+ @callback CalendarsPickerOnShow
+ @param picker {jQuery} The datepicker div to be shown.
+ @param inst {object} The current instance settings.
+ @example onShow: function(picker, inst) {
+ picker.append('<button type="button">Hi</button>').
+ find('button:last').click(function() {
+ alert('Hi!');
+ });
+ } */
+
+ /** React to navigating through the months/years.
+ @callback CalendarsPickerOnChangeMonthYear
+ @param year {number} The new year.
+ @param month {number} The new month (1 to 12).
+ @example onChangeMonthYear: function(year, month) {
+ alert('Now in ' + month + '/' + year);
+ } */
+
+ /** Datepicker on select callback.
+ Triggered when a date is selected.
+ @callback CalendarsPickerOnSelect
+ @param dates {CDate[]} The selected date(s).
+ @example onSelect: function(dates) {
+ alert('Selected ' + dates);
+ } */
+
+ /** Datepicker on close callback.
+ Triggered when a popup calendar is closed.
+ @callback CalendarsPickerOnClose
+ @param dates {CDate[]} The selected date(s).
+ @example onClose: function(dates) {
+ alert('Selected ' + dates);
+ } */
+
+ /** Default settings for the plugin.
+ @memberof CalendarsPicker
+ @property [calendar=$.calendars.instance()] {Calendar} The calendar for this datepicker.
+ @property [pickerClass=''] {string} CSS class to add to this instance of the datepicker.
+ @property [showOnFocus=true] {boolean} true for popup on focus, false for not.
+ @property [showTrigger=null] {string|Element|jQuery} Element to be cloned for a trigger, null for none.
+ @property [showAnim='show'] {string} Name of jQuery animation for popup, '' for no animation.
+ @property [showOptions=null] {object} Options for enhanced animations.
+ @property [showSpeed='normal'] {string} Duration of display/closure.
+ @property [popupContainer=null] {string|Element|jQuery} The element to which a popup calendar is added, null for body.
+ @property [alignment='bottom'] {string} Alignment of popup - with nominated corner of input:
+ 'top' or 'bottom' aligns depending on language direction,
+ 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'.
+ @property [fixedWeeks=false] {boolean} true to always show 6 weeks, false to only show as many as are needed.
+ @property [firstDay=null] {number} First day of the week, 0 = Sunday, 1 = Monday, etc., null for calendar default.
+ @property [calculateWeek=null] {CalendarsPickerCalculateWeek} Calculate week of the year from a date, null for calendar default.
+ @property [localNumbers=false] {boolean} true to localise numbers (if available),
+ false to use normal Arabic numerals.
+ @property [monthsToShow=1] {number|number[]} How many months to show, cols or [rows, cols].
+ @property [monthsOffset=0] {number} How many months to offset the primary month by;
+ may be a function that takes the date and returns the offset.
+ @property [monthsToStep=1] {number} How many months to move when prev/next clicked.
+ @property [monthsToJump=12] {number} How many months to move when large prev/next clicked.
+ @property [useMouseWheel=true] {boolean} true to use mousewheel if available, false to never use it.
+ @property [changeMonth=true] {boolean} true to change month/year via drop-down, false for navigation only.
+ @property [yearRange='c-10:c+10'] {string} Range of years to show in drop-down: 'any' for direct text entry
+ or 'start:end', where start/end are '+-nn' for relative to today
+ or 'c+-nn' for relative to the currently selected date
+ or 'nnnn' for an absolute year.
+ @property [showOtherMonths=false] {boolean} true to show dates from other months, false to not show them.
+ @property [selectOtherMonths=false] {boolean} true to allow selection of dates from other months too.
+ @property [defaultDate=null] {string|number|CDate} Date to show if no other selected.
+ @property [selectDefaultDate=false] {boolean} true to pre-select the default date if no other is chosen.
+ @property [minDate=null] {string|number|CDate} The minimum selectable date.
+ @property [maxDate=null] {string|number|CDate} The maximum selectable date.
+ @property [dateFormat='mm/dd/yyyy'] {string} Format for dates.
+ @property [autoSize=false] {boolean} true to size the input field according to the date format.
+ @property [rangeSelect=false] {boolean} Allows for selecting a date range on one date picker.
+ @property [rangeSeparator=' - '] {string} Text between two dates in a range.
+ @property [multiSelect=0] {number} Maximum number of selectable dates, zero for single select.
+ @property [multiSeparator=','] {string} Text between multiple dates.
+ @property [onDate=null] {CalendarsPickerOnDate} Callback as a date is added to the datepicker.
+ @property [onShow=null] {CalendarsPickerOnShow} Callback just before a datepicker is shown.
+ @property [onChangeMonthYear=null] {CalendarsPickerOnChangeMonthYear} Callback when a new month/year is selected.
+ @property [onSelect=null] {CalendarsPickerOnSelect} Callback when a date is selected.
+ @property [onClose=null] {CalendarsPickerOnClose} Callback when a datepicker is closed.
+ @property [altField=null] {string|Element|jQuery} Alternate field to update in synch with the datepicker.
+ @property [altFormat=null] {string} Date format for alternate field, defaults to dateFormat.
+ @property [constrainInput=true] {boolean} true to constrain typed input to dateFormat allowed characters.
+ @property [commandsAsDateFormat=false] {boolean} true to apply
+ formatDate to the command texts.
+ @property [commands=this.commands] {object} Command actions that may be added to a layout by name. */
+ defaultOptions: {
+ calendar: $.calendars.instance(),
+ pickerClass: '',
+ showOnFocus: true,
+ showTrigger: null,
+ showAnim: 'show',
+ showOptions: {},
+ showSpeed: 'normal',
+ popupContainer: null,
+ alignment: 'bottom',
+ fixedWeeks: false,
+ firstDay: null,
+ calculateWeek: null,
+ localNumbers: false,
+ monthsToShow: 1,
+ monthsOffset: 0,
+ monthsToStep: 1,
+ monthsToJump: 12,
+ useMouseWheel: true,
+ changeMonth: true,
+ yearRange: 'c-10:c+10',
+ showOtherMonths: false,
+ selectOtherMonths: false,
+ defaultDate: null,
+ selectDefaultDate: false,
+ minDate: null,
+ maxDate: null,
+ dateFormat: null,
+ autoSize: false,
+ rangeSelect: false,
+ rangeSeparator: ' - ',
+ multiSelect: 0,
+ multiSeparator: ',',
+ onDate: null,
+ onShow: null,
+ onChangeMonthYear: null,
+ onSelect: null,
+ onClose: null,
+ altField: null,
+ altFormat: null,
+ constrainInput: true,
+ commandsAsDateFormat: false,
+ commands: {} // this.commands
+ },
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof CalendarsPicker
+ @property [renderer=this.defaultRenderer] {string} The rendering templates.
+ @property [prevText='<Prev'] {string} Text for the previous month command.
+ @property [prevStatus='Show the previous month'] {string} Status text for the previous month command.
+ @property [prevJumpText='<<'] {string} Text for the previous year command.
+ @property [prevJumpStatus='Show the previous year'] {string} Status text for the previous year command.
+ @property [nextText='Next>'] {string} Text for the next month command.
+ @property [nextStatus='Show the next month'] {string} Status text for the next month command.
+ @property [nextJumpText='>>'] {string} Text for the next year command.
+ @property [nextJumpStatus='Show the next year'] {string} Status text for the next year command.
+ @property [currentText='Current'] {string} Text for the current month command.
+ @property [currentStatus='Show the current month'] {string} Status text for the current month command.
+ @property [todayText='Today'] {string} Text for the today's month command.
+ @property [todayStatus='Show today\'s month'] {string} Status text for the today's month command.
+ @property [clearText='Clear'] {string} Text for the clear command.
+ @property [clearStatus='Clear all the dates'] {string} Status text for the clear command.
+ @property [closeText='Close'] {string} Text for the close command.
+ @property [closeStatus='Close the datepicker'] {string} Status text for the close command.
+ @property [yearStatus='Change the year'] {string} Status text for year selection.
+ @property [earlierText=' ▲'] {string} Text for earlier years.
+ @property [laterText=' ▼'] {string} Text for later years.
+ @property [monthStatus='Change the month'] {string} Status text for month selection.
+ @property [weekText='Wk'] {string} Text for week of the year column header.
+ @property [weekStatus='Week of the year'] {string} Status text for week of the year column header.
+ @property [dayStatus='Select DD, M d, yyyy'] {string} Status text for selectable days.
+ @property [defaultStatus='Select a date'] {string} Status text shown by default.
+ @property [isRTL=false] {boolean} true if language is right-to-left. */
+ regionalOptions: { // Available regional settings, indexed by language/country code
+ '': { // Default regional settings - English/US
+ renderer: {}, // this.defaultRenderer
+ prevText: '<Prev',
+ prevStatus: 'Show the previous month',
+ prevJumpText: '<<',
+ prevJumpStatus: 'Show the previous year',
+ nextText: 'Next>',
+ nextStatus: 'Show the next month',
+ nextJumpText: '>>',
+ nextJumpStatus: 'Show the next year',
+ currentText: 'Current',
+ currentStatus: 'Show the current month',
+ todayText: 'Today',
+ todayStatus: 'Show today\'s month',
+ clearText: 'Clear',
+ clearStatus: 'Clear all the dates',
+ closeText: 'Close',
+ closeStatus: 'Close the datepicker',
+ yearStatus: 'Change the year',
+ earlierText: ' ▲',
+ laterText: ' ▼',
+ monthStatus: 'Change the month',
+ weekText: 'Wk',
+ weekStatus: 'Week of the year',
+ dayStatus: 'Select DD, M d, yyyy',
+ defaultStatus: 'Select a date',
+ isRTL: false
+ }
+ },
+
+ /** Names of getter methods - those that can't be chained.
+ @memberof CalendarsPicker */
+ _getters: ['getDate', 'isDisabled', 'isSelectable', 'retrieveDate'],
+
+ _disabled: [],
+
+ _popupClass: 'calendars-popup', // Marker for popup division
+ _triggerClass: 'calendars-trigger', // Marker for trigger element
+ _disableClass: 'calendars-disable', // Marker for disabled element
+ _monthYearClass: 'calendars-month-year', // Marker for month/year inputs
+ _curMonthClass: 'calendars-month-', // Marker for current month/year
+ _anyYearClass: 'calendars-any-year', // Marker for year direct input
+ _curDoWClass: 'calendars-dow-', // Marker for day of week
+
+ _init: function() {
+ this.defaultOptions.commands = this.commands;
+ this.regionalOptions[''].renderer = this.defaultRenderer;
+ this._super();
+ },
+
+ _instSettings: function(elem, options) {
+ return {selectedDates: [], drawDate: null, pickingRange: false,
+ inline: ($.inArray(elem[0].nodeName.toLowerCase(), ['div', 'span']) > -1),
+ get: function(name) { // Get a setting value, computing if necessary
+ if ($.inArray(name, ['defaultDate', 'minDate', 'maxDate']) > -1) { // Decode date settings
+ return this.options.calendar.determineDate(this.options[name], null,
+ this.selectedDates[0], this.get('dateFormat'), this.getConfig());
+ }
+ if (name === 'dateFormat') {
+ return this.options.dateFormat || this.options.calendar.local.dateFormat;
+ }
+ return this.options[name];
+ },
+ curMinDate: function() {
+ return (this.pickingRange ? this.selectedDates[0] : this.get('minDate'));
+ },
+ getConfig: function() {
+ return {dayNamesShort: this.options.dayNamesShort, dayNames: this.options.dayNames,
+ monthNamesShort: this.options.monthNamesShort, monthNames: this.options.monthNames,
+ calculateWeek: this.options.calculateWeek, shortYearCutoff: this.options.shortYearCutoff};
+ }
+ };
+ },
+
+ _postAttach: function(elem, inst) {
+ if (inst.inline) {
+ inst.drawDate = plugin._checkMinMax((inst.selectedDates[0] ||
+ inst.get('defaultDate') || inst.options.calendar.today()).newDate(), inst);
+ inst.prevDate = inst.drawDate.newDate();
+ this._update(elem[0]);
+ if ($.fn.mousewheel) {
+ elem.mousewheel(this._doMouseWheel);
+ }
+ }
+ else {
+ this._attachments(elem, inst);
+ elem.on('keydown.' + inst.name, this._keyDown).on('keypress.' + inst.name, this._keyPress).
+ on('keyup.' + inst.name, this._keyUp);
+ if (elem.attr('disabled')) {
+ this.disable(elem[0]);
+ }
+ }
+ },
+
+ _optionsChanged: function(elem, inst, options) {
+ if (options.calendar && options.calendar !== inst.options.calendar) {
+ var discardDate = function(name) {
+ return (typeof inst.options[name] === 'object' ? null : inst.options[name]);
+ };
+ options = $.extend({defaultDate: discardDate('defaultDate'),
+ minDate: discardDate('minDate'), maxDate: discardDate('maxDate')}, options);
+ inst.selectedDates = [];
+ inst.drawDate = null;
+ }
+ var dates = inst.selectedDates;
+ $.extend(inst.options, options);
+ this.setDate(elem[0], dates, null, false, true);
+ inst.pickingRange = false;
+ var calendar = inst.options.calendar;
+ var defaultDate = inst.get('defaultDate');
+ inst.drawDate = this._checkMinMax((defaultDate ? defaultDate : inst.drawDate) ||
+ defaultDate || calendar.today(), inst).newDate();
+ if (!inst.inline) {
+ this._attachments(elem, inst);
+ }
+ if (inst.inline || inst.div) {
+ this._update(elem[0]);
+ }
+ },
+
+ /** Attach events and trigger, if necessary.
+ @memberof CalendarsPicker
+ @private
+ @param elem {jQuery} The control to affect.
+ @param inst {object} The current instance settings. */
+ _attachments: function(elem, inst) {
+ elem.off('focus.' + inst.name);
+ if (inst.options.showOnFocus) {
+ elem.on('focus.' + inst.name, this.show);
+ }
+ if (inst.trigger) {
+ inst.trigger.remove();
+ }
+ var trigger = inst.options.showTrigger;
+ inst.trigger = (!trigger ? $([]) :
+ $(trigger).clone().removeAttr('id').addClass(this._triggerClass)
+ [inst.options.isRTL ? 'insertBefore' : 'insertAfter'](elem).
+ click(function() {
+ if (!plugin.isDisabled(elem[0])) {
+ plugin[plugin.curInst === inst ? 'hide' : 'show'](elem[0]);
+ }
+ }));
+ this._autoSize(elem, inst);
+ var dates = this._extractDates(inst, elem.val());
+ if (dates) {
+ this.setDate(elem[0], dates, null, true);
+ }
+ var defaultDate = inst.get('defaultDate');
+ if (inst.options.selectDefaultDate && defaultDate && inst.selectedDates.length === 0) {
+ this.setDate(elem[0], (defaultDate || inst.options.calendar.today()).newDate());
+ }
+ },
+
+ /** Apply the maximum length for the date format.
+ @memberof CalendarsPicker
+ @private
+ @param elem {jQuery} The control to affect.
+ @param inst {object} The current instance settings. */
+ _autoSize: function(elem, inst) {
+ if (inst.options.autoSize && !inst.inline) {
+ var calendar = inst.options.calendar;
+ var date = calendar.newDate(2009, 10, 20); // Ensure double digits
+ var dateFormat = inst.get('dateFormat');
+ if (dateFormat.match(/[DM]/)) {
+ var findMax = function(names) {
+ var max = 0;
+ var maxI = 0;
+ for (var i = 0; i < names.length; i++) {
+ if (names[i].length > max) {
+ max = names[i].length;
+ maxI = i;
+ }
+ }
+ return maxI;
+ };
+ date.month(findMax(calendar.local[dateFormat.match(/MM/) ? // Longest month
+ 'monthNames' : 'monthNamesShort']) + 1);
+ date.day(findMax(calendar.local[dateFormat.match(/DD/) ? // Longest day
+ 'dayNames' : 'dayNamesShort']) + 20 - date.dayOfWeek());
+ }
+ inst.elem.attr('size', date.formatDate(dateFormat,
+ {localNumbers: inst.options.localnumbers}).length);
+ }
+ },
+
+ _preDestroy: function(elem, inst) {
+ if (inst.trigger) {
+ inst.trigger.remove();
+ }
+ elem.empty().off('.' + inst.name);
+ if (inst.inline && $.fn.mousewheel) {
+ elem.unmousewheel();
+ }
+ if (!inst.inline && inst.options.autoSize) {
+ elem.removeAttr('size');
+ }
+ },
+
+ /** Apply multiple event functions.
+ @memberof CalendarsPicker
+ @param fns {function} The functions to apply.
+ @example onShow: multipleEvents(fn1, fn2, ...) */
+ multipleEvents: function(fns) {
+ var funcs = arguments;
+ return function(args) {
+ for (var i = 0; i < funcs.length; i++) {
+ funcs[i].apply(this, arguments);
+ }
+ };
+ },
+
+ /** Enable the control.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @example $(selector).datepick('enable') */
+ enable: function(elem) {
+ elem = $(elem);
+ if (!elem.hasClass(this._getMarker())) {
+ return;
+ }
+ var inst = this._getInst(elem);
+ if (inst.inline) {
+ elem.children('.' + this._disableClass).remove().end().
+ find('button,select').prop('disabled', false).end().
+ find('a').attr('href', 'javascript:void(0)');
+ }
+ else {
+ elem.prop('disabled', false);
+ inst.trigger.filter('button.' + this._triggerClass).prop('disabled', false).end().
+ filter('img.' + this._triggerClass).css({opacity: '1.0', cursor: ''});
+ }
+ this._disabled = $.map(this._disabled,
+ function(value) { return (value === elem[0] ? null : value); }); // Delete entry
+ },
+
+ /** Disable the control.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @example $(selector).datepick('disable') */
+ disable: function(elem) {
+ elem = $(elem);
+ if (!elem.hasClass(this._getMarker())) {
+ return;
+ }
+ var inst = this._getInst(elem);
+ if (inst.inline) {
+ var inline = elem.children(':last');
+ var offset = inline.offset();
+ var relOffset = {left: 0, top: 0};
+ inline.parents().each(function() {
+ if ($(this).css('position') === 'relative') {
+ relOffset = $(this).offset();
+ return false;
+ }
+ });
+ var zIndex = elem.css('zIndex');
+ zIndex = (zIndex === 'auto' ? 0 : parseInt(zIndex, 10)) + 1;
+ elem.prepend('
').
+ find('button,select').prop('disabled', true).end().
+ find('a').removeAttr('href');
+ }
+ else {
+ elem.prop('disabled', true);
+ inst.trigger.filter('button.' + this._triggerClass).prop('disabled', true).end().
+ filter('img.' + this._triggerClass).css({opacity: '0.5', cursor: 'default'});
+ }
+ this._disabled = $.map(this._disabled,
+ function(value) { return (value === elem[0] ? null : value); }); // Delete entry
+ this._disabled.push(elem[0]);
+ },
+
+ /** Is the first field in a jQuery collection disabled as a datepicker?
+ @memberof CalendarsPicker
+ @param elem {Element} The control to examine.
+ @return {boolean} true if disabled, false if enabled.
+ @example if ($(selector).datepick('isDisabled')) {...} */
+ isDisabled: function(elem) {
+ return (elem && $.inArray(elem, this._disabled) > -1);
+ },
+
+ /** Show a popup datepicker.
+ @memberof CalendarsPicker
+ @param elem {Event|Element} a focus event or the control to use.
+ @example $(selector).datepick('show') */
+ show: function(elem) {
+ elem = $(elem.target || elem);
+ var inst = plugin._getInst(elem);
+ if (plugin.curInst === inst) {
+ return;
+ }
+ if (plugin.curInst) {
+ plugin.hide(plugin.curInst, true);
+ }
+ if (!$.isEmptyObject(inst)) {
+ // Retrieve existing date(s)
+ inst.lastVal = null;
+ inst.selectedDates = plugin._extractDates(inst, elem.val());
+ inst.pickingRange = false;
+ inst.drawDate = plugin._checkMinMax((inst.selectedDates[0] ||
+ inst.get('defaultDate') || inst.options.calendar.today()).newDate(), inst);
+ inst.prevDate = inst.drawDate.newDate();
+ plugin.curInst = inst;
+ // Generate content
+ plugin._update(elem[0], true);
+ // Adjust position before showing
+ var offset = plugin._checkOffset(inst);
+ inst.div.css({left: offset.left, top: offset.top});
+ // And display
+ var showAnim = inst.options.showAnim;
+ var showSpeed = inst.options.showSpeed;
+ showSpeed = (showSpeed === 'normal' && $.ui &&
+ parseInt($.ui.version.substring(2)) >= 8 ? '_default' : showSpeed);
+ if ($.effects && ($.effects[showAnim] || ($.effects.effect && $.effects.effect[showAnim]))) {
+ var data = inst.div.data(); // Update old effects data
+ for (var key in data) {
+ if (key.match(/^ec\.storage\./)) {
+ data[key] = inst._mainDiv.css(key.replace(/ec\.storage\./, ''));
+ }
+ }
+ inst.div.data(data).show(showAnim, inst.options.showOptions, showSpeed);
+ }
+ else {
+ inst.div[showAnim || 'show'](showAnim ? showSpeed : 0);
+ }
+ }
+ },
+
+ /** Extract possible dates from a string.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @param text {string} The text to extract from.
+ @return {CDate[]} The extracted dates. */
+ _extractDates: function(inst, datesText) {
+ if (datesText === inst.lastVal) {
+ return;
+ }
+ inst.lastVal = datesText;
+ datesText = datesText.split(inst.options.multiSelect ? inst.options.multiSeparator :
+ (inst.options.rangeSelect ? inst.options.rangeSeparator : '\x00'));
+ var dates = [];
+ for (var i = 0; i < datesText.length; i++) {
+ try {
+ var date = inst.options.calendar.parseDate(inst.get('dateFormat'), datesText[i]);
+ if (date) {
+ var found = false;
+ for (var j = 0; j < dates.length; j++) {
+ if (dates[j].compareTo(date) === 0) {
+ found = true;
+ break;
+ }
+ }
+ if (!found) {
+ dates.push(date);
+ }
+ }
+ }
+ catch (e) {
+ // Ignore
+ }
+ }
+ dates.splice(inst.options.multiSelect || (inst.options.rangeSelect ? 2 : 1), dates.length);
+ if (inst.options.rangeSelect && dates.length === 1) {
+ dates[1] = dates[0];
+ }
+ return dates;
+ },
+
+ /** Update the datepicker display.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Event|Element} a focus event or the control to use.
+ @param hidden {boolean} true to initially hide the datepicker. */
+ _update: function(elem, hidden) {
+ elem = $(elem.target || elem);
+ var inst = plugin._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ if (inst.inline || plugin.curInst === inst) {
+ if ($.isFunction(inst.options.onChangeMonthYear) && (!inst.prevDate ||
+ inst.prevDate.year() !== inst.drawDate.year() ||
+ inst.prevDate.month() !== inst.drawDate.month())) {
+ inst.options.onChangeMonthYear.apply(elem[0],
+ [inst.drawDate.year(), inst.drawDate.month()]);
+ }
+ }
+ if (inst.inline) {
+ var index = $('a, :input', elem).index($(':focus', elem));
+ elem.html(this._generateContent(elem[0], inst));
+ var focus = elem.find('a, :input');
+ focus.eq(Math.max(Math.min(index, focus.length - 1), 0)).focus();
+ }
+ else if (plugin.curInst === inst) {
+ if (!inst.div) {
+ inst.div = $('
').addClass(this._popupClass).
+ css({display: (hidden ? 'none' : 'static'), position: 'absolute',
+ left: elem.offset().left, top: elem.offset().top + elem.outerHeight()}).
+ appendTo($(inst.options.popupContainer || 'body'));
+ if ($.fn.mousewheel) {
+ inst.div.mousewheel(this._doMouseWheel);
+ }
+ }
+ inst.div.html(this._generateContent(elem[0], inst));
+ elem.focus();
+ }
+ }
+ },
+
+ /** Update the input field and any alternate field with the current dates.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} The control to use.
+ @param keyUp {boolean} true if coming from keyUp processing (internal). */
+ _updateInput: function(elem, keyUp) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ var value = '';
+ var altValue = '';
+ var sep = (inst.options.multiSelect ? inst.options.multiSeparator :
+ inst.options.rangeSeparator);
+ var calendar = inst.options.calendar;
+ var dateFormat = inst.get('dateFormat');
+ var altFormat = inst.options.altFormat || dateFormat;
+ var settings = {localNumbers: inst.options.localNumbers};
+ for (var i = 0; i < inst.selectedDates.length; i++) {
+ value += (keyUp ? '' : (i > 0 ? sep : '') +
+ calendar.formatDate(dateFormat, inst.selectedDates[i], settings));
+ altValue += (i > 0 ? sep : '') +
+ calendar.formatDate(altFormat, inst.selectedDates[i], settings);
+ }
+ if (!inst.inline && !keyUp) {
+ $(elem).val(value);
+ }
+ $(inst.options.altField).val(altValue);
+ if ($.isFunction(inst.options.onSelect) && !keyUp && !inst.inSelect) {
+ inst.inSelect = true; // Prevent endless loops
+ inst.options.onSelect.apply(elem, [inst.selectedDates]);
+ inst.inSelect = false;
+ }
+ }
+ },
+
+ /** Retrieve the size of left and top borders for an element.
+ @memberof CalendarsPicker
+ @private
+ @param elem {jQuery} The element of interest.
+ @return {number[]} The left and top borders. */
+ _getBorders: function(elem) {
+ var convert = function(value) {
+ return {thin: 1, medium: 3, thick: 5}[value] || value;
+ };
+ return [parseFloat(convert(elem.css('border-left-width'))),
+ parseFloat(convert(elem.css('border-top-width')))];
+ },
+
+ /** Check positioning to remain on the screen.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @return {object} The updated offset for the datepicker. */
+ _checkOffset: function(inst) {
+ var base = (inst.elem.is(':hidden') && inst.trigger ? inst.trigger : inst.elem);
+ var offset = base.offset();
+ var browserWidth = $(window).width();
+ var browserHeight = $(window).height();
+ if (browserWidth === 0) {
+ return offset;
+ }
+ var isFixed = false;
+ $(inst.elem).parents().each(function() {
+ isFixed |= $(this).css('position') === 'fixed';
+ return !isFixed;
+ });
+ var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
+ var scrollY = document.documentElement.scrollTop || document.body.scrollTop;
+ var above = offset.top - (isFixed ? scrollY : 0) - inst.div.outerHeight();
+ var below = offset.top - (isFixed ? scrollY : 0) + base.outerHeight();
+ var alignL = offset.left - (isFixed ? scrollX : 0);
+ var alignR = offset.left - (isFixed ? scrollX : 0) + base.outerWidth() - inst.div.outerWidth();
+ var tooWide = (offset.left - scrollX + inst.div.outerWidth()) > browserWidth;
+ var tooHigh = (offset.top - scrollY + inst.elem.outerHeight() +
+ inst.div.outerHeight()) > browserHeight;
+ inst.div.css('position', isFixed ? 'fixed' : 'absolute');
+ var alignment = inst.options.alignment;
+ if (alignment === 'topLeft') {
+ offset = {left: alignL, top: above};
+ }
+ else if (alignment === 'topRight') {
+ offset = {left: alignR, top: above};
+ }
+ else if (alignment === 'bottomLeft') {
+ offset = {left: alignL, top: below};
+ }
+ else if (alignment === 'bottomRight') {
+ offset = {left: alignR, top: below};
+ }
+ else if (alignment === 'top') {
+ offset = {left: (inst.options.isRTL || tooWide ? alignR : alignL), top: above};
+ }
+ else { // bottom
+ offset = {left: (inst.options.isRTL || tooWide ? alignR : alignL),
+ top: (tooHigh ? above : below)};
+ }
+ offset.left = Math.max((isFixed ? 0 : scrollX), offset.left);
+ offset.top = Math.max((isFixed ? 0 : scrollY), offset.top);
+ return offset;
+ },
+
+ /** Close date picker if clicked elsewhere.
+ @memberof CalendarsPicker
+ @private
+ @param event {MouseEvent} The mouse click to check. */
+ _checkExternalClick: function(event) {
+ if (!plugin.curInst) {
+ return;
+ }
+ var elem = $(event.target);
+ if (elem.closest('.' + plugin._popupClass + ',.' + plugin._triggerClass).length === 0 &&
+ !elem.hasClass(plugin._getMarker())) {
+ plugin.hide(plugin.curInst);
+ }
+ },
+
+ /** Hide a popup datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element|object} The control to use or the current instance settings.
+ @param immediate {boolean} true to close immediately without animation (internal).
+ @example $(selector).datepick('hide') */
+ hide: function(elem, immediate) {
+ if (!elem) {
+ return;
+ }
+ var inst = this._getInst(elem);
+ if ($.isEmptyObject(inst)) {
+ inst = elem;
+ }
+ if (inst && inst === plugin.curInst) {
+ var showAnim = (immediate ? '' : inst.options.showAnim);
+ var showSpeed = inst.options.showSpeed;
+ showSpeed = (showSpeed === 'normal' && $.ui &&
+ parseInt($.ui.version.substring(2)) >= 8 ? '_default' : showSpeed);
+ var postProcess = function() {
+ if (!inst.div) {
+ return;
+ }
+ inst.div.remove();
+ inst.div = null;
+ plugin.curInst = null;
+ if ($.isFunction(inst.options.onClose)) {
+ inst.options.onClose.apply(elem, [inst.selectedDates]);
+ }
+ };
+ inst.div.stop();
+ if ($.effects && ($.effects[showAnim] || ($.effects.effect && $.effects.effect[showAnim]))) {
+ inst.div.hide(showAnim, inst.options.showOptions, showSpeed, postProcess);
+ }
+ else {
+ var hideAnim = (showAnim === 'slideDown' ? 'slideUp' :
+ (showAnim === 'fadeIn' ? 'fadeOut' : 'hide'));
+ inst.div[hideAnim]((showAnim ? showSpeed : ''), postProcess);
+ }
+ if (!showAnim) {
+ postProcess();
+ }
+ }
+ },
+
+ /** Handle keystrokes in the datepicker.
+ @memberof CalendarsPicker
+ @private
+ @param event {KeyEvent} The keystroke.
+ @return {boolean} true if not handled, false if handled. */
+ _keyDown: function(event) {
+ var elem = (event.data && event.data.elem) || event.target;
+ var inst = plugin._getInst(elem);
+ var handled = false;
+ if (inst.inline || inst.div) {
+ if (event.keyCode === 9) { // Tab - close
+ plugin.hide(elem);
+ }
+ else if (event.keyCode === 13) { // Enter - select
+ plugin.selectDate(elem,
+ $('a.' + inst.options.renderer.highlightedClass, inst.div)[0]);
+ handled = true;
+ }
+ else { // Command keystrokes
+ var commands = inst.options.commands;
+ for (var name in commands) {
+ var command = commands[name];
+ if (command.keystroke.keyCode === event.keyCode &&
+ !!command.keystroke.ctrlKey === !!(event.ctrlKey || event.metaKey) &&
+ !!command.keystroke.altKey === event.altKey &&
+ !!command.keystroke.shiftKey === event.shiftKey) {
+ plugin.performAction(elem, name);
+ handled = true;
+ break;
+ }
+ }
+ }
+ }
+ else { // Show on 'current' keystroke
+ var command = inst.options.commands.current;
+ if (command.keystroke.keyCode === event.keyCode &&
+ !!command.keystroke.ctrlKey === !!(event.ctrlKey || event.metaKey) &&
+ !!command.keystroke.altKey === event.altKey &&
+ !!command.keystroke.shiftKey === event.shiftKey) {
+ plugin.show(elem);
+ handled = true;
+ }
+ }
+ inst.ctrlKey = ((event.keyCode < 48 && event.keyCode !== 32) || event.ctrlKey || event.metaKey);
+ if (handled) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ return !handled;
+ },
+
+ /** Filter keystrokes in the datepicker.
+ @memberof CalendarsPicker
+ @private
+ @param event {KeyEvent} The keystroke.
+ @return {boolean} true if allowed, false if not allowed. */
+ _keyPress: function(event) {
+ var inst = plugin._getInst((event.data && event.data.elem) || event.target);
+ if (!$.isEmptyObject(inst) && inst.options.constrainInput) {
+ var ch = String.fromCharCode(event.keyCode || event.charCode);
+ var allowedChars = plugin._allowedChars(inst);
+ return (event.metaKey || inst.ctrlKey || ch < ' ' ||
+ !allowedChars || allowedChars.indexOf(ch) > -1);
+ }
+ return true;
+ },
+
+ /** Determine the set of characters allowed by the date format.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @return {string} The set of allowed characters, or null if anything allowed. */
+ _allowedChars: function(inst) {
+ var allowedChars = (inst.options.multiSelect ? inst.options.multiSeparator :
+ (inst.options.rangeSelect ? inst.options.rangeSeparator : ''));
+ var literal = false;
+ var hasNum = false;
+ var dateFormat = inst.get('dateFormat');
+ for (var i = 0; i < dateFormat.length; i++) {
+ var ch = dateFormat.charAt(i);
+ if (literal) {
+ if (ch === "'" && dateFormat.charAt(i + 1) !== "'") {
+ literal = false;
+ }
+ else {
+ allowedChars += ch;
+ }
+ }
+ else {
+ switch (ch) {
+ case 'd': case 'm': case 'o': case 'w':
+ allowedChars += (hasNum ? '' : '0123456789'); hasNum = true; break;
+ case 'y': case '@': case '!':
+ allowedChars += (hasNum ? '' : '0123456789') + '-'; hasNum = true; break;
+ case 'J':
+ allowedChars += (hasNum ? '' : '0123456789') + '-.'; hasNum = true; break;
+ case 'D': case 'M': case 'Y':
+ return null; // Accept anything
+ case "'":
+ if (dateFormat.charAt(i + 1) === "'") {
+ allowedChars += "'";
+ }
+ else {
+ literal = true;
+ }
+ break;
+ default:
+ allowedChars += ch;
+ }
+ }
+ }
+ return allowedChars;
+ },
+
+ /** Synchronise datepicker with the field.
+ @memberof CalendarsPicker
+ @private
+ @param event {KeyEvent} The keystroke.
+ @return {boolean} true if allowed, false if not allowed. */
+ _keyUp: function(event) {
+ var elem = (event.data && event.data.elem) || event.target;
+ var inst = plugin._getInst(elem);
+ if (!$.isEmptyObject(inst) && !inst.ctrlKey && inst.lastVal !== inst.elem.val()) {
+ try {
+ var dates = plugin._extractDates(inst, inst.elem.val());
+ if (dates.length > 0) {
+ plugin.setDate(elem, dates, null, true);
+ }
+ }
+ catch (event) {
+ // Ignore
+ }
+ }
+ return true;
+ },
+
+ /** Increment/decrement month/year on mouse wheel activity.
+ @memberof CalendarsPicker
+ @private
+ @param event {event} The mouse wheel event.
+ @param delta {number} The amount of change. */
+ _doMouseWheel: function(event, delta) {
+ var elem = (plugin.curInst && plugin.curInst.elem[0]) ||
+ $(event.target).closest('.' + plugin._getMarker())[0];
+ if (plugin.isDisabled(elem)) {
+ return;
+ }
+ var inst = plugin._getInst(elem);
+ if (inst.options.useMouseWheel) {
+ delta = (delta < 0 ? -1 : +1);
+ plugin.changeMonth(elem, -inst.options[event.ctrlKey ? 'monthsToJump' : 'monthsToStep'] * delta);
+ }
+ event.preventDefault();
+ },
+
+ /** Clear an input and close a popup datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to use.
+ @example $(selector).datepick('clear') */
+ clear: function(elem) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ inst.selectedDates = [];
+ this.hide(elem);
+ var defaultDate = inst.get('defaultDate');
+ if (inst.options.selectDefaultDate && defaultDate) {
+ this.setDate(elem, (defaultDate || inst.options.calendar.today()).newDate());
+ }
+ else {
+ this._updateInput(elem);
+ }
+ }
+ },
+
+ /** Retrieve the selected date(s) for a datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to examine.
+ @return {CDate[]} The selected date(s).
+ @example var dates = $(selector).datepick('getDate') */
+ getDate: function(elem) {
+ var inst = this._getInst(elem);
+ return (!$.isEmptyObject(inst) ? inst.selectedDates : []);
+ },
+
+ /** Set the selected date(s) for a datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} the control to examine.
+ @param dates {CDate|number|string|array} the selected date(s).
+ @param [endDate] {CDate|number|string} the ending date for a range.
+ @param [keyUp] {boolean} true if coming from keyUp processing (internal).
+ @param [setOpt] {boolean} true if coming from option processing (internal).
+ @example $(selector).datepick('setDate', new Date(2014, 12-1, 25))
+ $(selector).datepick('setDate', '12/25/2014', '01/01/2015')
+ $(selector).datepick('setDate', [date1, date2, date3]) */
+ setDate: function(elem, dates, endDate, keyUp, setOpt) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ if (!$.isArray(dates)) {
+ dates = [dates];
+ if (endDate) {
+ dates.push(endDate);
+ }
+ }
+ var minDate = inst.get('minDate');
+ var maxDate = inst.get('maxDate');
+ var curDate = inst.selectedDates[0];
+ inst.selectedDates = [];
+ for (var i = 0; i < dates.length; i++) {
+ var date = inst.options.calendar.determineDate(
+ dates[i], null, curDate, inst.get('dateFormat'), inst.getConfig());
+ if (date) {
+ if ((!minDate || date.compareTo(minDate) !== -1) &&
+ (!maxDate || date.compareTo(maxDate) !== +1)) {
+ var found = false;
+ for (var j = 0; j < inst.selectedDates.length; j++) {
+ if (inst.selectedDates[j].compareTo(date) === 0) {
+ found = true;
+ break;
+ }
+ }
+ if (!found) {
+ inst.selectedDates.push(date);
+ }
+ }
+ }
+ }
+ inst.selectedDates.splice(inst.options.multiSelect ||
+ (inst.options.rangeSelect ? 2 : 1), inst.selectedDates.length);
+ if (inst.options.rangeSelect) {
+ switch (inst.selectedDates.length) {
+ case 1: inst.selectedDates[1] = inst.selectedDates[0]; break;
+ case 2: inst.selectedDates[1] =
+ (inst.selectedDates[0].compareTo(inst.selectedDates[1]) === +1 ?
+ inst.selectedDates[0] : inst.selectedDates[1]); break;
+ }
+ inst.pickingRange = false;
+ }
+ inst.prevDate = (inst.drawDate ? inst.drawDate.newDate() : null);
+ inst.drawDate = this._checkMinMax((inst.selectedDates[0] ||
+ inst.get('defaultDate') || inst.options.calendar.today()).newDate(), inst);
+ if (!setOpt) {
+ this._update(elem);
+ this._updateInput(elem, keyUp);
+ }
+ }
+ },
+
+ /** Determine whether a date is selectable for this datepicker.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} The control to check.
+ @param date {CDate|string|number} The date to check.
+ @return {boolean} true if selectable, false if not.
+ @example var selectable = $(selector).datepick('isSelectable', date) */
+ isSelectable: function(elem, date) {
+ var inst = this._getInst(elem);
+ if ($.isEmptyObject(inst)) {
+ return false;
+ }
+ date = inst.options.calendar.determineDate(date,
+ inst.selectedDates[0] || inst.options.calendar.today(), null,
+ inst.options.dateFormat, inst.getConfig());
+ return this._isSelectable(elem, date, inst.options.onDate,
+ inst.get('minDate'), inst.get('maxDate'));
+ },
+
+ /** Internally determine whether a date is selectable for this datepicker.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} the control to check.
+ @param date {CDate} The date to check.
+ @param onDate {function|boolean} Any onDate callback or callback.selectable.
+ @param minDate {CDate} The minimum allowed date.
+ @param maxDate {CDate} The maximum allowed date.
+ @return {boolean} true if selectable, false if not. */
+ _isSelectable: function(elem, date, onDate, minDate, maxDate) {
+ var dateInfo = (typeof onDate === 'boolean' ? {selectable: onDate} :
+ (!$.isFunction(onDate) ? {} : onDate.apply(elem, [date, true])));
+ return (dateInfo.selectable !== false) &&
+ (!minDate || date.toJD() >= minDate.toJD()) && (!maxDate || date.toJD() <= maxDate.toJD());
+ },
+
+ /** Perform a named action for a datepicker.
+ @memberof CalendarsPicker
+ @param elem {element} The control to affect.
+ @param action {string} The name of the action. */
+ performAction: function(elem, action) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst) && !this.isDisabled(elem)) {
+ var commands = inst.options.commands;
+ if (commands[action] && commands[action].enabled.apply(elem, [inst])) {
+ commands[action].action.apply(elem, [inst]);
+ }
+ }
+ },
+
+ /** Set the currently shown month, defaulting to today's.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @param [year] {number} The year to show.
+ @param [month] {number} The month to show (1-12).
+ @param [day] {number} The day to show.
+ @example $(selector).datepick('showMonth', 2014, 12, 25) */
+ showMonth: function(elem, year, month, day) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst) && (day != null ||
+ (inst.drawDate.year() !== year || inst.drawDate.month() !== month))) {
+ inst.prevDate = inst.drawDate.newDate();
+ var calendar = inst.options.calendar;
+ var show = this._checkMinMax((year != null ?
+ calendar.newDate(year, month, 1) : calendar.today()), inst);
+ inst.drawDate.date(show.year(), show.month(),
+ (day != null ? day : Math.min(inst.drawDate.day(),
+ calendar.daysInMonth(show.year(), show.month()))));
+ this._update(elem);
+ }
+ },
+
+ /** Adjust the currently shown month.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @param offset {number} The number of months to change by.
+ @example $(selector).datepick('changeMonth', 2)*/
+ changeMonth: function(elem, offset) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ var date = inst.drawDate.newDate().add(offset, 'm');
+ this.showMonth(elem, date.year(), date.month());
+ }
+ },
+
+ /** Adjust the currently shown day.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @param offset {number} The number of days to change by.
+ @example $(selector).datepick('changeDay', 7)*/
+ changeDay: function(elem, offset) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ var date = inst.drawDate.newDate().add(offset, 'd');
+ this.showMonth(elem, date.year(), date.month(), date.day());
+ }
+ },
+
+ /** Restrict a date to the minimum/maximum specified.
+ @memberof CalendarsPicker
+ @private
+ @param date {CDate} The date to check.
+ @param inst {object} The current instance settings. */
+ _checkMinMax: function(date, inst) {
+ var minDate = inst.get('minDate');
+ var maxDate = inst.get('maxDate');
+ date = (minDate && date.compareTo(minDate) === -1 ? minDate.newDate() : date);
+ date = (maxDate && date.compareTo(maxDate) === +1 ? maxDate.newDate() : date);
+ return date;
+ },
+
+ /** Retrieve the date associated with an entry in the datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to examine.
+ @param target {Element} The selected datepicker element.
+ @return {CDate} The corresponding date, or null.
+ @example var date = $(selector).datepick('retrieveDate', $('div.datepick-popup a:contains(10)')[0]) */
+ retrieveDate: function(elem, target) {
+ var inst = this._getInst(elem);
+ return ($.isEmptyObject(inst) ? null : inst.options.calendar.fromJD(
+ parseFloat(target.className.replace(/^.*jd(\d+\.5).*$/, '$1'))));
+ },
+
+ /** Select a date for this datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to examine.
+ @param target {Element} The selected datepicker element.
+ @example $(selector).datepick('selectDate', $('div.datepick-popup a:contains(10)')[0]) */
+ selectDate: function(elem, target) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst) && !this.isDisabled(elem)) {
+ var date = this.retrieveDate(elem, target);
+ if (inst.options.multiSelect) {
+ var found = false;
+ for (var i = 0; i < inst.selectedDates.length; i++) {
+ if (date.compareTo(inst.selectedDates[i]) === 0) {
+ inst.selectedDates.splice(i, 1);
+ found = true;
+ break;
+ }
+ }
+ if (!found && inst.selectedDates.length < inst.options.multiSelect) {
+ inst.selectedDates.push(date);
+ }
+ }
+ else if (inst.options.rangeSelect) {
+ if (inst.pickingRange) {
+ inst.selectedDates[1] = date;
+ }
+ else {
+ inst.selectedDates = [date, date];
+ }
+ inst.pickingRange = !inst.pickingRange;
+ }
+ else {
+ inst.selectedDates = [date];
+ }
+ inst.prevDate = inst.drawDate = date.newDate();
+ this._updateInput(elem);
+ if (inst.inline || inst.pickingRange || inst.selectedDates.length <
+ (inst.options.multiSelect || (inst.options.rangeSelect ? 2 : 1))) {
+ this._update(elem);
+ }
+ else {
+ this.hide(elem);
+ }
+ }
+ },
+
+ /** Generate the datepicker content for this control.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} The control to affect.
+ @param inst {object} The current instance settings.
+ @return {jQuery} The datepicker content */
+ _generateContent: function(elem, inst) {
+ var monthsToShow = inst.options.monthsToShow;
+ monthsToShow = ($.isArray(monthsToShow) ? monthsToShow : [1, monthsToShow]);
+ inst.drawDate = this._checkMinMax(
+ inst.drawDate || inst.get('defaultDate') || inst.options.calendar.today(), inst);
+ var drawDate = inst.drawDate.newDate().add(-inst.options.monthsOffset, 'm');
+ // Generate months
+ var monthRows = '';
+ for (var row = 0; row < monthsToShow[0]; row++) {
+ var months = '';
+ for (var col = 0; col < monthsToShow[1]; col++) {
+ months += this._generateMonth(elem, inst, drawDate.year(),
+ drawDate.month(), inst.options.calendar, inst.options.renderer, (row === 0 && col === 0));
+ drawDate.add(1, 'm');
+ }
+ monthRows += this._prepare(inst.options.renderer.monthRow, inst).replace(/\{months\}/, months);
+ }
+ var picker = this._prepare(inst.options.renderer.picker, inst).replace(/\{months\}/, monthRows).
+ replace(/\{weekHeader\}/g, this._generateDayHeaders(inst, inst.options.calendar, inst.options.renderer));
+ // Add commands
+ var addCommand = function(type, open, close, name, classes) {
+ if (picker.indexOf('{' + type + ':' + name + '}') === -1) {
+ return;
+ }
+ var command = inst.options.commands[name];
+ var date = (inst.options.commandsAsDateFormat ? command.date.apply(elem, [inst]) : null);
+ picker = picker.replace(new RegExp('\\{' + type + ':' + name + '\\}', 'g'),
+ '<' + open + (command.status ? ' title="' + inst.options[command.status] + '"' : '') +
+ ' class="' + inst.options.renderer.commandClass + ' ' +
+ inst.options.renderer.commandClass + '-' + name + ' ' + classes +
+ (command.enabled(inst) ? '' : ' ' + inst.options.renderer.disabledClass) + '">' +
+ (date ? date.formatDate(inst.options[command.text], {localNumbers: inst.options.localNumbers}) :
+ inst.options[command.text]) + '' + close + '>');
+ };
+ for (var name in inst.options.commands) {
+ addCommand('button', 'button type="button"', 'button', name,
+ inst.options.renderer.commandButtonClass);
+ addCommand('link', 'a href="javascript:void(0)"', 'a', name,
+ inst.options.renderer.commandLinkClass);
+ }
+ picker = $(picker);
+ if (monthsToShow[1] > 1) {
+ var count = 0;
+ $(inst.options.renderer.monthSelector, picker).each(function() {
+ var nth = ++count % monthsToShow[1];
+ $(this).addClass(nth === 1 ? 'first' : (nth === 0 ? 'last' : ''));
+ });
+ }
+ // Add datepicker behaviour
+ var self = this;
+ function removeHighlight() {
+ (inst.inline ? $(this).closest('.' + self._getMarker()) : inst.div).
+ find(inst.options.renderer.daySelector + ' a').
+ removeClass(inst.options.renderer.highlightedClass);
+ }
+ picker.find(inst.options.renderer.daySelector + ' a').hover(
+ function() {
+ removeHighlight.apply(this);
+ $(this).addClass(inst.options.renderer.highlightedClass);
+ },
+ removeHighlight).
+ click(function() {
+ self.selectDate(elem, this);
+ }).end().
+ find('select.' + this._monthYearClass + ':not(.' + this._anyYearClass + ')').
+ change(function() {
+ var monthYear = $(this).val().split('/');
+ self.showMonth(elem, parseInt(monthYear[1], 10), parseInt(monthYear[0], 10));
+ }).end().
+ find('select.' + this._anyYearClass).click(function() {
+ $(this).css('visibility', 'hidden').
+ next('input').css({left: this.offsetLeft, top: this.offsetTop,
+ width: this.offsetWidth, height: this.offsetHeight}).show().focus();
+ }).end().
+ find('input.' + self._monthYearClass).change(function() {
+ try {
+ var year = parseInt($(this).val(), 10);
+ year = (isNaN(year) ? inst.drawDate.year() : year);
+ self.showMonth(elem, year, inst.drawDate.month(), inst.drawDate.day());
+ }
+ catch (e) {
+ alert(e);
+ }
+ }).keydown(function(event) {
+ if (event.keyCode === 13) { // Enter
+ $(event.elem).change();
+ }
+ else if (event.keyCode === 27) { // Escape
+ $(event.elem).hide().prev('select').css('visibility', 'visible');
+ inst.elem.focus();
+ }
+ });
+ // Add keyboard handling
+ var data = {elem: inst.elem[0]};
+ picker.keydown(data, this._keyDown).keypress(data, this._keyPress).keyup(data, this._keyUp);
+ // Add command behaviour
+ picker.find('.' + inst.options.renderer.commandClass).click(function() {
+ if (!$(this).hasClass(inst.options.renderer.disabledClass)) {
+ var action = this.className.replace(
+ new RegExp('^.*' + inst.options.renderer.commandClass + '-([^ ]+).*$'), '$1');
+ plugin.performAction(elem, action);
+ }
+ });
+ // Add classes
+ if (inst.options.isRTL) {
+ picker.addClass(inst.options.renderer.rtlClass);
+ }
+ if (monthsToShow[0] * monthsToShow[1] > 1) {
+ picker.addClass(inst.options.renderer.multiClass);
+ }
+ if (inst.options.pickerClass) {
+ picker.addClass(inst.options.pickerClass);
+ }
+ // Resize
+ $('body').append(picker);
+ var width = 0;
+ picker.find(inst.options.renderer.monthSelector).each(function() {
+ width += $(this).outerWidth();
+ });
+ picker.width(width / monthsToShow[0]);
+ // Pre-show customisation
+ if ($.isFunction(inst.options.onShow)) {
+ inst.options.onShow.apply(elem, [picker, inst.options.calendar, inst]);
+ }
+ return picker;
+ },
+
+ /** Generate the content for a single month.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} The control to affect.
+ @param inst {object} The current instance settings.
+ @param year {number} The year to generate.
+ @param month {number} The month to generate.
+ @param calendar {BaseCalendar} The current calendar.
+ @param renderer {object} The rendering templates.
+ @param first {boolean} true if first of multiple months.
+ @return {string} The month content. */
+ _generateMonth: function(elem, inst, year, month, calendar, renderer, first) {
+ var daysInMonth = calendar.daysInMonth(year, month);
+ var monthsToShow = inst.options.monthsToShow;
+ monthsToShow = ($.isArray(monthsToShow) ? monthsToShow : [1, monthsToShow]);
+ var fixedWeeks = inst.options.fixedWeeks || (monthsToShow[0] * monthsToShow[1] > 1);
+ var firstDay = inst.options.firstDay;
+ firstDay = (firstDay == null ? calendar.local.firstDay : firstDay);
+ var leadDays = (calendar.dayOfWeek(year, month, calendar.minDay) -
+ firstDay + calendar.daysInWeek()) % calendar.daysInWeek();
+ var numWeeks = (fixedWeeks ? 6 : Math.ceil((leadDays + daysInMonth) / calendar.daysInWeek()));
+ var selectOtherMonths = inst.options.selectOtherMonths && inst.options.showOtherMonths;
+ var minDate = (inst.pickingRange ? inst.selectedDates[0] : inst.get('minDate'));
+ var maxDate = inst.get('maxDate');
+ var showWeeks = renderer.week.indexOf('{weekOfYear}') > -1;
+ var today = calendar.today();
+ var drawDate = calendar.newDate(year, month, calendar.minDay);
+ drawDate.add(-leadDays - (fixedWeeks &&
+ (drawDate.dayOfWeek() === firstDay || drawDate.daysInMonth() < calendar.daysInWeek())?
+ calendar.daysInWeek() : 0), 'd');
+ var jd = drawDate.toJD();
+ // Localise numbers if requested and available
+ var localiseNumbers = function(value) {
+ return (inst.options.localNumbers && calendar.local.digits ? calendar.local.digits(value) : value);
+ };
+ // Generate weeks
+ var weeks = '';
+ for (var week = 0; week < numWeeks; week++) {
+ var weekOfYear = (!showWeeks ? '' : '' +
+ ($.isFunction(inst.options.calculateWeek) ?
+ inst.options.calculateWeek(drawDate) : drawDate.weekOfYear()) + ' ');
+ var days = '';
+ for (var day = 0; day < calendar.daysInWeek(); day++) {
+ var selected = false;
+ if (inst.options.rangeSelect && inst.selectedDates.length > 0) {
+ selected = (drawDate.compareTo(inst.selectedDates[0]) !== -1 &&
+ drawDate.compareTo(inst.selectedDates[1]) !== +1)
+ }
+ else {
+ for (var i = 0; i < inst.selectedDates.length; i++) {
+ if (inst.selectedDates[i].compareTo(drawDate) === 0) {
+ selected = true;
+ break;
+ }
+ }
+ }
+ var dateInfo = (!$.isFunction(inst.options.onDate) ? {} :
+ inst.options.onDate.apply(elem, [drawDate, drawDate.month() === month]));
+ var selectable = (selectOtherMonths || drawDate.month() === month) &&
+ this._isSelectable(elem, drawDate, dateInfo.selectable, minDate, maxDate);
+ days += this._prepare(renderer.day, inst).replace(/\{day\}/g,
+ (selectable ? '' +
+ (inst.options.showOtherMonths || drawDate.month() === month ?
+ dateInfo.content || localiseNumbers(drawDate.day()) : ' ') +
+ (selectable ? ' ' : ''));
+ drawDate.add(1, 'd');
+ jd++;
+ }
+ weeks += this._prepare(renderer.week, inst).replace(/\{days\}/g, days).
+ replace(/\{weekOfYear\}/g, weekOfYear);
+ }
+ var monthHeader = this._prepare(renderer.month, inst).match(/\{monthHeader(:[^\}]+)?\}/);
+ monthHeader = (monthHeader[0].length <= 13 ? 'MM yyyy' :
+ monthHeader[0].substring(13, monthHeader[0].length - 1));
+ monthHeader = (first ? this._generateMonthSelection(
+ inst, year, month, minDate, maxDate, monthHeader, calendar, renderer) :
+ calendar.formatDate(monthHeader, calendar.newDate(year, month, calendar.minDay),
+ {localNumbers: inst.options.localNumbers}));
+ var weekHeader = this._prepare(renderer.weekHeader, inst).
+ replace(/\{days\}/g, this._generateDayHeaders(inst, calendar, renderer));
+ return this._prepare(renderer.month, inst).replace(/\{monthHeader(:[^\}]+)?\}/g, monthHeader).
+ replace(/\{weekHeader\}/g, weekHeader).replace(/\{weeks\}/g, weeks);
+ },
+
+ /** Generate the HTML for the day headers.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @param calendar {BaseCalendar} The current calendar.
+ @param renderer {object} The rendering templates.
+ @return {string} A week's worth of day headers. */
+ _generateDayHeaders: function(inst, calendar, renderer) {
+ var firstDay = inst.options.firstDay;
+ firstDay = (firstDay == null ? calendar.local.firstDay : firstDay);
+ var header = '';
+ for (var day = 0; day < calendar.daysInWeek(); day++) {
+ var dow = (day + firstDay) % calendar.daysInWeek();
+ header += this._prepare(renderer.dayHeader, inst).replace(/\{day\}/g,
+ '' + calendar.local.dayNamesMin[dow] + ' ');
+ }
+ return header;
+ },
+
+ /** Generate selection controls for month.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @param year {number} The year to generate.
+ @param month {number} The month to generate.
+ @param minDate {CDate} The minimum date allowed.
+ @param maxDate {CDate} The maximum date allowed.
+ @param monthHeader {string} The month/year format.
+ @param calendar {BaseCalendar} The current calendar.
+ @return {string} The month selection content. */
+ _generateMonthSelection: function(inst, year, month, minDate, maxDate, monthHeader, calendar) {
+ if (!inst.options.changeMonth) {
+ return calendar.formatDate(monthHeader, calendar.newDate(year, month, 1),
+ {localNumbers: inst.options.localNumbers});
+ }
+ // Months
+ var monthNames = calendar.local[
+ 'monthNames' + (monthHeader.match(/mm/i) ? '' : 'Short')];
+ var html = monthHeader.replace(/m+/i, '\\x2E').replace(/y+/i, '\\x2F');
+ var selector = '';
+ var maxMonth = calendar.monthsInYear(year) + calendar.minMonth;
+ for (var m = calendar.minMonth; m < maxMonth; m++) {
+ if ((!minDate || calendar.newDate(year, m,
+ calendar.daysInMonth(year, m) - 1 + calendar.minDay).
+ compareTo(minDate) !== -1) &&
+ (!maxDate || calendar.newDate(year, m, calendar.minDay).
+ compareTo(maxDate) !== +1)) {
+ selector += '' +
+ monthNames[m - calendar.minMonth] + ' ';
+ }
+ }
+ selector += ' ';
+ html = html.replace(/\\x2E/, selector);
+ // Years
+ var yearRange = inst.options.yearRange;
+ if (yearRange === 'any') {
+ selector = '' +
+ '' + year + ' ' +
+ ' ';
+ }
+ else {
+ yearRange = yearRange.split(':');
+ var todayYear = calendar.today().year();
+ var start = (yearRange[0].match('c[+-].*') ? year + parseInt(yearRange[0].substring(1), 10) :
+ ((yearRange[0].match('[+-].*') ? todayYear : 0) + parseInt(yearRange[0], 10)));
+ var end = (yearRange[1].match('c[+-].*') ? year + parseInt(yearRange[1].substring(1), 10) :
+ ((yearRange[1].match('[+-].*') ? todayYear : 0) + parseInt(yearRange[1], 10)));
+ selector = '';
+ start = calendar.newDate(start + 1, calendar.firstMonth, calendar.minDay).add(-1, 'd');
+ end = calendar.newDate(end, calendar.firstMonth, calendar.minDay);
+ var addYear = function(y, yDisplay) {
+ if (y !== 0 || calendar.hasYearZero) {
+ selector += '' +
+ (yDisplay || y) + ' ';
+ }
+ };
+ if (start.toJD() < end.toJD()) {
+ start = (minDate && minDate.compareTo(start) === +1 ? minDate : start).year();
+ end = (maxDate && maxDate.compareTo(end) === -1 ? maxDate : end).year();
+ var earlierLater = Math.floor((end - start) / 2);
+ if (!minDate || minDate.year() < start) {
+ addYear(start - earlierLater, inst.options.earlierText);
+ }
+ for (var y = start; y <= end; y++) {
+ addYear(y);
+ }
+ if (!maxDate || maxDate.year() > end) {
+ addYear(end + earlierLater, inst.options.laterText);
+ }
+ }
+ else {
+ start = (maxDate && maxDate.compareTo(start) === -1 ? maxDate : start).year();
+ end = (minDate && minDate.compareTo(end) === +1 ? minDate : end).year();
+ var earlierLater = Math.floor((start - end) / 2);
+ if (!maxDate || maxDate.year() > start) {
+ addYear(start + earlierLater, inst.options.earlierText);
+ }
+ for (var y = start; y >= end; y--) {
+ addYear(y);
+ }
+ if (!minDate || minDate.year() < end) {
+ addYear(end - earlierLater, inst.options.laterText);
+ }
+ }
+ selector += ' ';
+ }
+ html = html.replace(/\\x2F/, selector);
+ return html;
+ },
+
+ /** Prepare a render template for use.
+ Exclude popup/inline sections that are not applicable.
+ Localise text of the form: {l10n:name}.
+ @memberof CalendarsPicker
+ @private
+ @param text {string} The text to localise.
+ @param inst {object} The current instance settings.
+ @return {string} The localised text. */
+ _prepare: function(text, inst) {
+ var replaceSection = function(type, retain) {
+ while (true) {
+ var start = text.indexOf('{' + type + ':start}');
+ if (start === -1) {
+ return;
+ }
+ var end = text.substring(start).indexOf('{' + type + ':end}');
+ if (end > -1) {
+ text = text.substring(0, start) +
+ (retain ? text.substr(start + type.length + 8, end - type.length - 8) : '') +
+ text.substring(start + end + type.length + 6);
+ }
+ }
+ };
+ replaceSection('inline', inst.inline);
+ replaceSection('popup', !inst.inline);
+ var pattern = /\{l10n:([^\}]+)\}/;
+ var matches = null;
+ while (matches = pattern.exec(text)) {
+ text = text.replace(matches[0], inst.options[matches[1]]);
+ }
+ return text;
+ }
+ });
+
+ var plugin = $.calendarsPicker; // Singleton instance
+
+ $(function() {
+ $(document).on('mousedown.' + pluginName, plugin._checkExternalClick).
+ on('resize.' + pluginName, function() { plugin.hide(plugin.curInst); });
+ });
+
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.all.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.all.min.js
new file mode 100644
index 0000000..e22eef6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.all.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Calendars for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function Calendars(){this.regionalOptions=[];this.regionalOptions['']={invalidCalendar:'Calendar {0} not found',invalidDate:'Invalid {0} date',invalidMonth:'Invalid {0} month',invalidYear:'Invalid {0} year',differentCalendars:'Cannot mix {0} and {1} dates'};this.local=this.regionalOptions[''];this.calendars={};this._localCals={}}$.extend(Calendars.prototype,{instance:function(a,b){a=(a||'gregorian').toLowerCase();b=b||'';var c=this._localCals[a+'-'+b];if(!c&&this.calendars[a]){c=new this.calendars[a](b);this._localCals[a+'-'+b]=c}if(!c){throw(this.local.invalidCalendar||this.regionalOptions[''].invalidCalendar).replace(/\{0\}/,a)}return c},newDate:function(a,b,c,d,e){d=(a!=null&&a.year?a.calendar():(typeof d==='string'?this.instance(d,e):d))||this.instance();return d.newDate(a,b,c)},substituteDigits:function(c){return function(b){return(b+'').replace(/[0-9]/g,function(a){return c[a]})}},substituteChineseDigits:function(e,f){return function(a){var b='';var c=0;while(a>0){var d=a%10;b=(d===0?'':e[d]+f[c])+b;c++;a=Math.floor(a/10)}if(b.indexOf(e[1]+f[1])===0){b=b.substr(1)}return b||e[0]}}});function CDate(a,b,c,d){this._calendar=a;this._year=b;this._month=c;this._day=d;if(this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day)){throw($.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate).replace(/\{0\}/,this._calendar.local.name)}}function pad(a,b){a=''+a;return'000000'.substring(0,b-a.length)+a}$.extend(CDate.prototype,{newDate:function(a,b,c){return this._calendar.newDate((a==null?this:a),b,c)},year:function(a){return(arguments.length===0?this._year:this.set(a,'y'))},month:function(a){return(arguments.length===0?this._month:this.set(a,'m'))},day:function(a){return(arguments.length===0?this._day:this.set(a,'d'))},date:function(a,b,c){if(!this._calendar.isValid(a,b,c)){throw($.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate).replace(/\{0\}/,this._calendar.local.name)}this._year=a;this._month=b;this._day=c;return this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,b){return this._calendar.add(this,a,b)},set:function(a,b){return this._calendar.set(this,a,b)},compareTo:function(a){if(this._calendar.name!==a._calendar.name){throw($.calendars.local.differentCalendars||$.calendars.regionalOptions[''].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name)}var c=(this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day);return(c===0?0:(c<0?-1:+1))},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?'-':'')+pad(Math.abs(this.year()),4)+'-'+pad(this.month(),2)+'-'+pad(this.day(),2)}});function BaseCalendar(){this.shortYearCutoff='+10'}$.extend(BaseCalendar.prototype,{_validateLevel:0,newDate:function(a,b,c){if(a==null){return this.today()}if(a.year){this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);c=a.day();b=a.month();a=a.year()}return new CDate(this,a,b,c)},today:function(){return this.fromJSDate(new Date())},epoch:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(b.year()<0?this.local.epochs[0]:this.local.epochs[1])},formatYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(b.year()<0?'-':'')+pad(Math.abs(b.year()),4)},monthsInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return 12},monthOfYear:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth||$.calendars.regionalOptions[''].invalidMonth);return(c.month()+this.monthsInYear(c)-this.firstMonth)%this.monthsInYear(c)+this.minMonth},fromMonthOfYear:function(a,b){var m=(b+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;this._validate(a,m,this.minDay,$.calendars.local.invalidMonth||$.calendars.regionalOptions[''].invalidMonth);return m},daysInYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(this.leapYear(b)?366:365)},dayOfYear:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return d.toJD()-this.newDate(d.year(),this.fromMonthOfYear(d.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return(Math.floor(this.toJD(d))+2)%this.daysInWeek()},extraInfo:function(a,b,c){this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return{}},add:function(a,b,c){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return this._correctAdd(a,this._add(a,b,c),b,c)},_add:function(c,f,g){this._validateLevel++;if(g==='d'||g==='w'){var h=c.toJD()+f*(g==='w'?this.daysInWeek():1);var d=c.calendar().fromJD(h);this._validateLevel--;return[d.year(),d.month(),d.day()]}try{var y=c.year()+(g==='y'?f:0);var m=c.monthOfYear()+(g==='m'?f:0);var d=c.day();var i=function(a){while(mb-1+a.minMonth){y++;m-=b;b=a.monthsInYear(y)}};if(g==='y'){if(c.month()!==this.fromMonthOfYear(y,m)){m=this.newDate(y,c.month(),this.minDay).monthOfYear()}m=Math.min(m,this.monthsInYear(y));d=Math.min(d,this.daysInMonth(y,this.fromMonthOfYear(y,m)))}else if(g==='m'){i(this);d=Math.min(d,this.daysInMonth(y,this.fromMonthOfYear(y,m)))}var j=[y,this.fromMonthOfYear(y,m),d];this._validateLevel--;return j}catch(e){this._validateLevel--;throw e;}},_correctAdd:function(a,b,c,d){if(!this.hasYearZero&&(d==='y'||d==='m')){if(b[0]===0||(a.year()>0)!==(b[0]>0)){var e={y:[1,1,'y'],m:[1,this.monthsInYear(-1),'m'],w:[this.daysInWeek(),this.daysInYear(-1),'d'],d:[1,this.daysInYear(-1),'d']}[d];var f=(c<0?-1:+1);b=this._add(a,c*e[0]+f*e[1],e[2])}}return a.date(b[0],b[1],b[2])},set:function(a,b,c){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);var y=(c==='y'?b:a.year());var m=(c==='m'?b:a.month());var d=(c==='d'?b:a.day());if(c==='y'||c==='m'){d=Math.min(d,this.daysInMonth(y,m))}return a.date(y,m,d)},isValid:function(a,b,c){this._validateLevel++;var d=(this.hasYearZero||a!==0);if(d){var e=this.newDate(a,b,this.minDay);d=(b>=this.minMonth&&b-this.minMonth=this.minDay&&c-this.minDay13.5?13:1);var i=c-(h>2.5?4716:4715);if(i<=0){i--}return this.newDate(i,h,g)},toJSDate:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);var e=new Date(d.year(),d.month()-1,d.day());e.setHours(0);e.setMinutes(0);e.setSeconds(0);e.setMilliseconds(0);e.setHours(e.getHours()>12?e.getHours()+2:0);return e},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});$.calendars=new Calendars();$.calendars.cdate=CDate;$.calendars.baseCalendar=BaseCalendar;$.calendars.calendars.gregorian=GregorianCalendar})(jQuery);(function($){$.extend($.calendars.regionalOptions[''],{invalidArguments:'Invalid arguments',invalidFormat:'Cannot format a date from another calendar',missingNumberAt:'Missing number at position {0}',unknownNameAt:'Unknown name at position {0}',unexpectedLiteralAt:'Unexpected literal at position {0}',unexpectedText:'Additional text found at end'});$.calendars.local=$.calendars.regionalOptions[''];$.extend($.calendars.cdate.prototype,{formatDate:function(a,b){if(typeof a!=='string'){b=a;a=''}return this._calendar.formatDate(a||'',this,b)}});$.extend($.calendars.baseCalendar.prototype,{UNIX_EPOCH:$.calendars.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:24*60*60,TICKS_EPOCH:$.calendars.instance().jdEpoch,TICKS_PER_DAY:24*60*60*10000000,ATOM:'yyyy-mm-dd',COOKIE:'D, dd M yyyy',FULL:'DD, MM d, yyyy',ISO_8601:'yyyy-mm-dd',JULIAN:'J',RFC_822:'D, d M yy',RFC_850:'DD, dd-M-yy',RFC_1036:'D, d M yy',RFC_1123:'D, d M yyyy',RFC_2822:'D, d M yyyy',RSS:'D, d M yy',TICKS:'!',TIMESTAMP:'@',W3C:'yyyy-mm-dd',formatDate:function(f,g,h){if(typeof f!=='string'){h=g;g=f;f=''}if(!g){return''}if(g.calendar()!==this){throw $.calendars.local.invalidFormat||$.calendars.regionalOptions[''].invalidFormat;}f=f||this.local.dateFormat;h=h||{};var i=h.dayNamesShort||this.local.dayNamesShort;var j=h.dayNames||this.local.dayNames;var k=h.monthNamesShort||this.local.monthNamesShort;var l=h.monthNames||this.local.monthNames;var m=h.calculateWeek||this.local.calculateWeek;var n=function(a,b){var c=1;while(u+c1};var o=function(a,b,c,d){var e=''+b;if(n(a,d)){while(e.length1};var x=function(a,b){var c=w(a,b);var d=[2,3,c?4:2,c?4:2,10,11,20]['oyYJ@!'.indexOf(a)+1];var e=new RegExp('^-?\\d{1,'+d+'}');var f=h.substring(B).match(e);if(!f){throw($.calendars.local.missingNumberAt||$.calendars.regionalOptions[''].missingNumberAt).replace(/\{0\}/,B)}B+=f[0].length;return parseInt(f[0],10)};var y=this;var z=function(a,b,c,d){var e=(w(a,d)?c:b);for(var i=0;i-1){r=1;s=t;for(var E=this.daysInMonth(q,r);s>E;E=this.daysInMonth(q,r)){r++;s-=E}}return(p>-1?this.fromJD(p):this.newDate(q,r,s))},determineDate:function(f,g,h,i,j){if(h&&typeof h!=='object'){j=i;i=h;h=null}if(typeof i!=='string'){j=i;i=''}var k=this;var l=function(a){try{return k.parseDate(i,a,j)}catch(e){}a=a.toLowerCase();var b=(a.match(/^c/)&&h?h.newDate():null)||k.today();var c=/([+-]?[0-9]+)\s*(d|w|m|y)?/g;var d=c.exec(a);while(d){b.add(parseInt(d[1],10),d[2]||'d');d=c.exec(a)}return b};g=(g?g.newDate():null);f=(f==null?g:(typeof f==='string'?l(f):(typeof f==='number'?(isNaN(f)||f===Infinity||f===-Infinity?g:k.today().add(f,'d')):k.newDate(f))));return f}})})(jQuery);(function($){var H='calendarsPicker';$.JQPlugin.createPlugin({name:H,defaultRenderer:{picker:''+'
{link:prev}{link:today}{link:next}
{months}'+'{popup:start}
{link:clear}{link:close}
{popup:end}'+'
',monthRow:'{months}
',month:'',weekHeader:'{days} ',dayHeader:'{day} ',week:'{days} ',day:'{day} ',monthSelector:'.calendars-month',daySelector:'td',rtlClass:'calendars-rtl',multiClass:'calendars-multi',defaultClass:'',selectedClass:'calendars-selected',highlightedClass:'calendars-highlight',todayClass:'calendars-today',otherMonthClass:'calendars-other-month',weekendClass:'calendars-weekend',commandClass:'calendars-cmd',commandButtonClass:'',commandLinkClass:'',disabledClass:'calendars-disabled'},commands:{prev:{text:'prevText',status:'prevStatus',keystroke:{keyCode:33},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){I.changeMonth(this,-a.options.monthsToStep)}},prevJump:{text:'prevJumpText',status:'prevJumpStatus',keystroke:{keyCode:33,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){I.changeMonth(this,-a.options.monthsToJump)}},next:{text:'nextText',status:'nextStatus',keystroke:{keyCode:34},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){I.changeMonth(this,a.options.monthsToStep)}},nextJump:{text:'nextJumpText',status:'nextJumpStatus',keystroke:{keyCode:34,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){I.changeMonth(this,a.options.monthsToJump)}},current:{text:'currentText',status:'currentStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');var d=a.selectedDates[0]||a.options.calendar.today();return(!b||d.compareTo(b)!==-1)&&(!c||d.compareTo(c)!==+1)},date:function(a){return a.selectedDates[0]||a.options.calendar.today()},action:function(a){var b=a.selectedDates[0]||a.options.calendar.today();I.showMonth(this,b.year(),b.month())}},today:{text:'todayText',status:'todayStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');return(!b||a.options.calendar.today().compareTo(b)!==-1)&&(!c||a.options.calendar.today().compareTo(c)!==+1)},date:function(a){return a.options.calendar.today()},action:function(a){I.showMonth(this)}},clear:{text:'clearText',status:'clearStatus',keystroke:{keyCode:35,ctrlKey:true},enabled:function(a){return true},date:function(a){return null},action:function(a){I.clear(this)}},close:{text:'closeText',status:'closeStatus',keystroke:{keyCode:27},enabled:function(a){return true},date:function(a){return null},action:function(a){I.hide(this)}},prevWeek:{text:'prevWeekText',status:'prevWeekStatus',keystroke:{keyCode:38,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d')},action:function(a){I.changeDay(this,-a.options.calendar.daysInWeek())}},prevDay:{text:'prevDayText',status:'prevDayStatus',keystroke:{keyCode:37,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-1,'d')},action:function(a){I.changeDay(this,-1)}},nextDay:{text:'nextDayText',status:'nextDayStatus',keystroke:{keyCode:39,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(1,'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(1,'d')},action:function(a){I.changeDay(this,1)}},nextWeek:{text:'nextWeekText',status:'nextWeekStatus',keystroke:{keyCode:40,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d')},action:function(a){I.changeDay(this,a.options.calendar.daysInWeek())}}},defaultOptions:{calendar:$.calendars.instance(),pickerClass:'',showOnFocus:true,showTrigger:null,showAnim:'show',showOptions:{},showSpeed:'normal',popupContainer:null,alignment:'bottom',fixedWeeks:false,firstDay:null,calculateWeek:null,localNumbers:false,monthsToShow:1,monthsOffset:0,monthsToStep:1,monthsToJump:12,useMouseWheel:true,changeMonth:true,yearRange:'c-10:c+10',showOtherMonths:false,selectOtherMonths:false,defaultDate:null,selectDefaultDate:false,minDate:null,maxDate:null,dateFormat:null,autoSize:false,rangeSelect:false,rangeSeparator:' - ',multiSelect:0,multiSeparator:',',onDate:null,onShow:null,onChangeMonthYear:null,onSelect:null,onClose:null,altField:null,altFormat:null,constrainInput:true,commandsAsDateFormat:false,commands:{}},regionalOptions:{'':{renderer:{},prevText:'<Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next>',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Close',closeStatus:'Close the datepicker',yearStatus:'Change the year',earlierText:' ▲',laterText:' ▼',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false}},_getters:['getDate','isDisabled','isSelectable','retrieveDate'],_disabled:[],_popupClass:'calendars-popup',_triggerClass:'calendars-trigger',_disableClass:'calendars-disable',_monthYearClass:'calendars-month-year',_curMonthClass:'calendars-month-',_anyYearClass:'calendars-any-year',_curDoWClass:'calendars-dow-',_init:function(){this.defaultOptions.commands=this.commands;this.regionalOptions[''].renderer=this.defaultRenderer;this._super()},_instSettings:function(b,c){return{selectedDates:[],drawDate:null,pickingRange:false,inline:($.inArray(b[0].nodeName.toLowerCase(),['div','span'])>-1),get:function(a){if($.inArray(a,['defaultDate','minDate','maxDate'])>-1){return this.options.calendar.determineDate(this.options[a],null,this.selectedDates[0],this.get('dateFormat'),this.getConfig())}if(a==='dateFormat'){return this.options.dateFormat||this.options.calendar.local.dateFormat}return this.options[a]},curMinDate:function(){return(this.pickingRange?this.selectedDates[0]:this.get('minDate'))},getConfig:function(){return{dayNamesShort:this.options.dayNamesShort,dayNames:this.options.dayNames,monthNamesShort:this.options.monthNamesShort,monthNames:this.options.monthNames,calculateWeek:this.options.calculateWeek,shortYearCutoff:this.options.shortYearCutoff}}}},_postAttach:function(a,b){if(b.inline){b.drawDate=I._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();this._update(a[0]);if($.fn.mousewheel){a.mousewheel(this._doMouseWheel)}}else{this._attachments(a,b);a.on('keydown.'+b.name,this._keyDown).on('keypress.'+b.name,this._keyPress).on('keyup.'+b.name,this._keyUp);if(a.attr('disabled')){this.disable(a[0])}}},_optionsChanged:function(b,c,d){if(d.calendar&&d.calendar!==c.options.calendar){var e=function(a){return(typeof c.options[a]==='object'?null:c.options[a])};d=$.extend({defaultDate:e('defaultDate'),minDate:e('minDate'),maxDate:e('maxDate')},d);c.selectedDates=[];c.drawDate=null}var f=c.selectedDates;$.extend(c.options,d);this.setDate(b[0],f,null,false,true);c.pickingRange=false;var g=c.options.calendar;var h=c.get('defaultDate');c.drawDate=this._checkMinMax((h?h:c.drawDate)||h||g.today(),c).newDate();if(!c.inline){this._attachments(b,c)}if(c.inline||c.div){this._update(b[0])}},_attachments:function(a,b){a.off('focus.'+b.name);if(b.options.showOnFocus){a.on('focus.'+b.name,this.show)}if(b.trigger){b.trigger.remove()}var c=b.options.showTrigger;b.trigger=(!c?$([]):$(c).clone().removeAttr('id').addClass(this._triggerClass)[b.options.isRTL?'insertBefore':'insertAfter'](a).click(function(){if(!I.isDisabled(a[0])){I[I.curInst===b?'hide':'show'](a[0])}}));this._autoSize(a,b);var d=this._extractDates(b,a.val());if(d){this.setDate(a[0],d,null,true)}var e=b.get('defaultDate');if(b.options.selectDefaultDate&&e&&b.selectedDates.length===0){this.setDate(a[0],(e||b.options.calendar.today()).newDate())}},_autoSize:function(d,e){if(e.options.autoSize&&!e.inline){var f=e.options.calendar;var g=f.newDate(2009,10,20);var h=e.get('dateFormat');if(h.match(/[DM]/)){var j=function(a){var b=0;var c=0;for(var i=0;ib){b=a[i].length;c=i}}return c};g.month(j(f.local[h.match(/MM/)?'monthNames':'monthNamesShort'])+1);g.day(j(f.local[h.match(/DD/)?'dayNames':'dayNamesShort'])+20-g.dayOfWeek())}e.elem.attr('size',g.formatDate(h,{localNumbers:e.options.localnumbers}).length)}},_preDestroy:function(a,b){if(b.trigger){b.trigger.remove()}a.empty().off('.'+b.name);if(b.inline&&$.fn.mousewheel){a.unmousewheel()}if(!b.inline&&b.options.autoSize){a.removeAttr('size')}},multipleEvents:function(b){var c=arguments;return function(a){for(var i=0;i').find('button,select').prop('disabled',true).end().find('a').removeAttr('href')}else{b.prop('disabled',true);c.trigger.filter('button.'+this._triggerClass).prop('disabled',true).end().filter('img.'+this._triggerClass).css({opacity:'0.5',cursor:'default'})}this._disabled=$.map(this._disabled,function(a){return(a===b[0]?null:a)});this._disabled.push(b[0])},isDisabled:function(a){return(a&&$.inArray(a,this._disabled)>-1)},show:function(a){a=$(a.target||a);var b=I._getInst(a);if(I.curInst===b){return}if(I.curInst){I.hide(I.curInst,true)}if(!$.isEmptyObject(b)){b.lastVal=null;b.selectedDates=I._extractDates(b,a.val());b.pickingRange=false;b.drawDate=I._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();I.curInst=b;I._update(a[0],true);var c=I._checkOffset(b);b.div.css({left:c.left,top:c.top});var d=b.options.showAnim;var e=b.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){var f=b.div.data();for(var g in f){if(g.match(/^ec\.storage\./)){f[g]=b._mainDiv.css(g.replace(/ec\.storage\./,''))}}b.div.data(f).show(d,b.options.showOptions,e)}else{b.div[d||'show'](d?e:0)}}},_extractDates:function(a,b){if(b===a.lastVal){return}a.lastVal=b;b=b.split(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:'\x00'));var c=[];for(var i=0;i').addClass(this._popupClass).css({display:(b?'none':'static'),position:'absolute',left:a.offset().left,top:a.offset().top+a.outerHeight()}).appendTo($(c.options.popupContainer||'body'));if($.fn.mousewheel){c.div.mousewheel(this._doMouseWheel)}}c.div.html(this._generateContent(a[0],c));a.focus()}}},_updateInput:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d='';var e='';var f=(c.options.multiSelect?c.options.multiSeparator:c.options.rangeSeparator);var g=c.options.calendar;var h=c.get('dateFormat');var j=c.options.altFormat||h;var k={localNumbers:c.options.localNumbers};for(var i=0;i0?f:'')+g.formatDate(h,c.selectedDates[i],k));e+=(i>0?f:'')+g.formatDate(j,c.selectedDates[i],k)}if(!c.inline&&!b){$(a).val(d)}$(c.options.altField).val(e);if($.isFunction(c.options.onSelect)&&!b&&!c.inSelect){c.inSelect=true;c.options.onSelect.apply(a,[c.selectedDates]);c.inSelect=false}}},_getBorders:function(b){var c=function(a){return{thin:1,medium:3,thick:5}[a]||a};return[parseFloat(c(b.css('border-left-width'))),parseFloat(c(b.css('border-top-width')))]},_checkOffset:function(a){var b=(a.elem.is(':hidden')&&a.trigger?a.trigger:a.elem);var c=b.offset();var d=$(window).width();var e=$(window).height();if(d===0){return c}var f=false;$(a.elem).parents().each(function(){f|=$(this).css('position')==='fixed';return!f});var g=document.documentElement.scrollLeft||document.body.scrollLeft;var h=document.documentElement.scrollTop||document.body.scrollTop;var i=c.top-(f?h:0)-a.div.outerHeight();var j=c.top-(f?h:0)+b.outerHeight();var k=c.left-(f?g:0);var l=c.left-(f?g:0)+b.outerWidth()-a.div.outerWidth();var m=(c.left-g+a.div.outerWidth())>d;var n=(c.top-h+a.elem.outerHeight()+a.div.outerHeight())>e;a.div.css('position',f?'fixed':'absolute');var o=a.options.alignment;if(o==='topLeft'){c={left:k,top:i}}else if(o==='topRight'){c={left:l,top:i}}else if(o==='bottomLeft'){c={left:k,top:j}}else if(o==='bottomRight'){c={left:l,top:j}}else if(o==='top'){c={left:(a.options.isRTL||m?l:k),top:i}}else{c={left:(a.options.isRTL||m?l:k),top:(n?i:j)}}c.left=Math.max((f?0:g),c.left);c.top=Math.max((f?0:h),c.top);return c},_checkExternalClick:function(a){if(!I.curInst){return}var b=$(a.target);if(b.closest('.'+I._popupClass+',.'+I._triggerClass).length===0&&!b.hasClass(I._getMarker())){I.hide(I.curInst)}},hide:function(a,b){if(!a){return}var c=this._getInst(a);if($.isEmptyObject(c)){c=a}if(c&&c===I.curInst){var d=(b?'':c.options.showAnim);var e=c.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);var f=function(){if(!c.div){return}c.div.remove();c.div=null;I.curInst=null;if($.isFunction(c.options.onClose)){c.options.onClose.apply(a,[c.selectedDates])}};c.div.stop();if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){c.div.hide(d,c.options.showOptions,e,f)}else{var g=(d==='slideDown'?'slideUp':(d==='fadeIn'?'fadeOut':'hide'));c.div[g]((d?e:''),f)}if(!d){f()}}},_keyDown:function(a){var b=(a.data&&a.data.elem)||a.target;var c=I._getInst(b);var d=false;if(c.inline||c.div){if(a.keyCode===9){I.hide(b)}else if(a.keyCode===13){I.selectDate(b,$('a.'+c.options.renderer.highlightedClass,c.div)[0]);d=true}else{var e=c.options.commands;for(var f in e){var g=e[f];if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){I.performAction(b,f);d=true;break}}}}else{var g=c.options.commands.current;if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){I.show(b);d=true}}c.ctrlKey=((a.keyCode<48&&a.keyCode!==32)||a.ctrlKey||a.metaKey);if(d){a.preventDefault();a.stopPropagation()}return!d},_keyPress:function(a){var b=I._getInst((a.data&&a.data.elem)||a.target);if(!$.isEmptyObject(b)&&b.options.constrainInput){var c=String.fromCharCode(a.keyCode||a.charCode);var d=I._allowedChars(b);return(a.metaKey||b.ctrlKey||c<' '||!d||d.indexOf(c)>-1)}return true},_allowedChars:function(a){var b=(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:''));var c=false;var d=false;var e=a.get('dateFormat');for(var i=0;i0){I.setDate(b,d,null,true)}}catch(a){}}return true},_doMouseWheel:function(a,b){var c=(I.curInst&&I.curInst.elem[0])||$(a.target).closest('.'+I._getMarker())[0];if(I.isDisabled(c)){return}var d=I._getInst(c);if(d.options.useMouseWheel){b=(b<0?-1:+1);I.changeMonth(c,-d.options[a.ctrlKey?'monthsToJump':'monthsToStep']*b)}a.preventDefault()},clear:function(a){var b=this._getInst(a);if(!$.isEmptyObject(b)){b.selectedDates=[];this.hide(a);var c=b.get('defaultDate');if(b.options.selectDefaultDate&&c){this.setDate(a,(c||b.options.calendar.today()).newDate())}else{this._updateInput(a)}}},getDate:function(a){var b=this._getInst(a);return(!$.isEmptyObject(b)?b.selectedDates:[])},setDate:function(a,b,c,d,e){var f=this._getInst(a);if(!$.isEmptyObject(f)){if(!$.isArray(b)){b=[b];if(c){b.push(c)}}var g=f.get('minDate');var h=f.get('maxDate');var k=f.selectedDates[0];f.selectedDates=[];for(var i=0;i=d.toJD())&&(!e||b.toJD()<=e.toJD())},performAction:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=c.options.commands;if(d[b]&&d[b].enabled.apply(a,[c])){d[b].action.apply(a,[c])}}},showMonth:function(a,b,c,d){var e=this._getInst(a);if(!$.isEmptyObject(e)&&(d!=null||(e.drawDate.year()!==b||e.drawDate.month()!==c))){e.prevDate=e.drawDate.newDate();var f=e.options.calendar;var g=this._checkMinMax((b!=null?f.newDate(b,c,1):f.today()),e);e.drawDate.date(g.year(),g.month(),(d!=null?d:Math.min(e.drawDate.day(),f.daysInMonth(g.year(),g.month()))));this._update(a)}},changeMonth:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'m');this.showMonth(a,d.year(),d.month())}},changeDay:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'d');this.showMonth(a,d.year(),d.month(),d.day())}},_checkMinMax:function(a,b){var c=b.get('minDate');var d=b.get('maxDate');a=(c&&a.compareTo(c)===-1?c.newDate():a);a=(d&&a.compareTo(d)===+1?d.newDate():a);return a},retrieveDate:function(a,b){var c=this._getInst(a);return($.isEmptyObject(c)?null:c.options.calendar.fromJD(parseFloat(b.className.replace(/^.*jd(\d+\.5).*$/,'$1'))))},selectDate:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=this.retrieveDate(a,b);if(c.options.multiSelect){var e=false;for(var i=0;i'+(g?g.formatDate(i.options[f.text],{localNumbers:i.options.localNumbers}):i.options[f.text])+''+c+'>')};for(var r in i.options.commands){q('button','button type="button"','button',r,i.options.renderer.commandButtonClass);q('link','a href="javascript:void(0)"','a',r,i.options.renderer.commandLinkClass)}p=$(p);if(j[1]>1){var s=0;$(i.options.renderer.monthSelector,p).each(function(){var a=++s%j[1];$(this).addClass(a===1?'first':(a===0?'last':''))})}var t=this;function removeHighlight(){(i.inline?$(this).closest('.'+t._getMarker()):i.div).find(i.options.renderer.daySelector+' a').removeClass(i.options.renderer.highlightedClass)}p.find(i.options.renderer.daySelector+' a').hover(function(){removeHighlight.apply(this);$(this).addClass(i.options.renderer.highlightedClass)},removeHighlight).click(function(){t.selectDate(h,this)}).end().find('select.'+this._monthYearClass+':not(.'+this._anyYearClass+')').change(function(){var a=$(this).val().split('/');t.showMonth(h,parseInt(a[1],10),parseInt(a[0],10))}).end().find('select.'+this._anyYearClass).click(function(){$(this).css('visibility','hidden').next('input').css({left:this.offsetLeft,top:this.offsetTop,width:this.offsetWidth,height:this.offsetHeight}).show().focus()}).end().find('input.'+t._monthYearClass).change(function(){try{var a=parseInt($(this).val(),10);a=(isNaN(a)?i.drawDate.year():a);t.showMonth(h,a,i.drawDate.month(),i.drawDate.day())}catch(e){alert(e)}}).keydown(function(a){if(a.keyCode===13){$(a.elem).change()}else if(a.keyCode===27){$(a.elem).hide().prev('select').css('visibility','visible');i.elem.focus()}});var u={elem:i.elem[0]};p.keydown(u,this._keyDown).keypress(u,this._keyPress).keyup(u,this._keyUp);p.find('.'+i.options.renderer.commandClass).click(function(){if(!$(this).hasClass(i.options.renderer.disabledClass)){var a=this.className.replace(new RegExp('^.*'+i.options.renderer.commandClass+'-([^ ]+).*$'),'$1');I.performAction(h,a)}});if(i.options.isRTL){p.addClass(i.options.renderer.rtlClass)}if(j[0]*j[1]>1){p.addClass(i.options.renderer.multiClass)}if(i.options.pickerClass){p.addClass(i.options.pickerClass)}$('body').append(p);var v=0;p.find(i.options.renderer.monthSelector).each(function(){v+=$(this).outerWidth()});p.width(v/j[0]);if($.isFunction(i.options.onShow)){i.options.onShow.apply(h,[p,i.options.calendar,i])}return p},_generateMonth:function(b,c,d,e,f,g,h){var j=f.daysInMonth(d,e);var k=c.options.monthsToShow;k=($.isArray(k)?k:[1,k]);var l=c.options.fixedWeeks||(k[0]*k[1]>1);var m=c.options.firstDay;m=(m==null?f.local.firstDay:m);var n=(f.dayOfWeek(d,e,f.minDay)-m+f.daysInWeek())%f.daysInWeek();var o=(l?6:Math.ceil((n+j)/f.daysInWeek()));var p=c.options.selectOtherMonths&&c.options.showOtherMonths;var q=(c.pickingRange?c.selectedDates[0]:c.get('minDate'));var r=c.get('maxDate');var s=g.week.indexOf('{weekOfYear}')>-1;var t=f.today();var u=f.newDate(d,e,f.minDay);u.add(-n-(l&&(u.dayOfWeek()===m||u.daysInMonth()'+($.isFunction(c.options.calculateWeek)?c.options.calculateWeek(u):u.weekOfYear())+'');var A='';for(var B=0;B0){C=(u.compareTo(c.selectedDates[0])!==-1&&u.compareTo(c.selectedDates[1])!==+1)}else{for(var i=0;i'+(c.options.showOtherMonths||u.month()===e?D.content||w(u.day()):' ')+(E?'':''));u.add(1,'d');v++}x+=this._prepare(g.week,c).replace(/\{days\}/g,A).replace(/\{weekOfYear\}/g,z)}var F=this._prepare(g.month,c).match(/\{monthHeader(:[^\}]+)?\}/);F=(F[0].length<=13?'MM yyyy':F[0].substring(13,F[0].length-1));F=(h?this._generateMonthSelection(c,d,e,q,r,F,f,g):f.formatDate(F,f.newDate(d,e,f.minDay),{localNumbers:c.options.localNumbers}));var G=this._prepare(g.weekHeader,c).replace(/\{days\}/g,this._generateDayHeaders(c,f,g));return this._prepare(g.month,c).replace(/\{monthHeader(:[^\}]+)?\}/g,F).replace(/\{weekHeader\}/g,G).replace(/\{weeks\}/g,x)},_generateDayHeaders:function(a,b,c){var d=a.options.firstDay;d=(d==null?b.local.firstDay:d);var e='';for(var f=0;f'+b.local.dayNamesMin[g]+'')}return e},_generateMonthSelection:function(b,c,d,e,f,g,h){if(!b.options.changeMonth){return h.formatDate(g,h.newDate(c,d,1),{localNumbers:b.options.localNumbers})}var i=h.local['monthNames'+(g.match(/mm/i)?'':'Short')];var j=g.replace(/m+/i,'\\x2E').replace(/y+/i,'\\x2F');var k='';var l=h.monthsInYear(c)+h.minMonth;for(var m=h.minMonth;m'+i[m-h.minMonth]+''}}k+=' ';j=j.replace(/\\x2E/,k);var n=b.options.yearRange;if(n==='any'){k=''+''+c+' '+' '}else{n=n.split(':');var o=h.today().year();var p=(n[0].match('c[+-].*')?c+parseInt(n[0].substring(1),10):((n[0].match('[+-].*')?o:0)+parseInt(n[0],10)));var q=(n[1].match('c[+-].*')?c+parseInt(n[1].substring(1),10):((n[1].match('[+-].*')?o:0)+parseInt(n[1],10)));k='';p=h.newDate(p+1,h.firstMonth,h.minDay).add(-1,'d');q=h.newDate(q,h.firstMonth,h.minDay);var r=function(y,a){if(y!==0||h.hasYearZero){k+=''+(a||y)+' '}};if(p.toJD()q){r(q+s,b.options.laterText)}}else{p=(f&&f.compareTo(p)===-1?f:p).year();q=(e&&e.compareTo(q)===+1?e:q).year();var s=Math.floor((p-q)/2);if(!f||f.year()>p){r(p+s,b.options.earlierText)}for(var y=p;y>=q;y--){r(y)}if(!e||e.year()'}j=j.replace(/\\x2F/,k);return j},_prepare:function(e,f){var g=function(a,b){while(true){var c=e.indexOf('{'+a+':start}');if(c===-1){return}var d=e.substring(c).indexOf('{'+a+':end}');if(d>-1){e=e.substring(0,c)+(b?e.substr(c+a.length+8,d-a.length-8):'')+e.substring(c+d+a.length+6)}}};g('inline',f.inline);g('popup',!f.inline);var h=/\{l10n:([^\}]+)\}/;var i=null;while(i=h.exec(e)){e=e.replace(i[0],f.options[i[1]])}return e}});var I=$.calendarsPicker;$(function(){$(document).on('mousedown.'+H,I._checkExternalClick).on('resize.'+H,function(){I.hide(I.curInst)})})})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.coptic.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.coptic.js
new file mode 100644
index 0000000..f6eb39c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.coptic.js
@@ -0,0 +1,170 @@
+/* http://keith-wood.name/calendars.html
+ Coptic calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) February 2010.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Coptic calendar.
+ See http://en.wikipedia.org/wiki/Coptic_calendar .
+ See also Calendrical Calculations: The Millennium Edition
+ (http://emr.cs.iit.edu/home/reingold/calendar-book/index.shtml ).
+ @class CopticCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function CopticCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ CopticCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(CopticCalendar.prototype, {
+ /** The calendar name.
+ @memberof CopticCalendar */
+ name: 'Coptic',
+ /** Julian date of start of Coptic epoch: 29 August 284 CE (Gregorian).
+ @memberof CopticCalendar */
+ jdEpoch: 1825029.5,
+ /** Days per month in a common year.
+ @memberof CopticCalendar */
+ daysPerMonth: [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 5],
+ /** true if has a year zero, false if not.
+ @memberof CopticCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof CopticCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof CopticCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof CopticCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof CopticCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Coptic',
+ epochs: ['BAM', 'AM'],
+ monthNames: ['Thout', 'Paopi', 'Hathor', 'Koiak', 'Tobi', 'Meshir',
+ 'Paremhat', 'Paremoude', 'Pashons', 'Paoni', 'Epip', 'Mesori', 'Pi Kogi Enavot'],
+ monthNamesShort: ['Tho', 'Pao', 'Hath', 'Koi', 'Tob', 'Mesh',
+ 'Pat', 'Pad', 'Pash', 'Pao', 'Epi', 'Meso', 'PiK'],
+ dayNames: ['Tkyriaka', 'Pesnau', 'Pshoment', 'Peftoou', 'Ptiou', 'Psoou', 'Psabbaton'],
+ dayNamesShort: ['Tky', 'Pes', 'Psh', 'Pef', 'Pti', 'Pso', 'Psa'],
+ dayNamesMin: ['Tk', 'Pes', 'Psh', 'Pef', 'Pt', 'Pso', 'Psa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof CopticCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ var year = date.year() + (date.year() < 0 ? 1 : 0); // No year zero
+ return year % 4 === 3 || year % 4 === -1;
+ },
+
+ /** Retrieve the number of months in a year.
+ @memberof CopticCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of months.
+ @throws Error if an invalid year or a different calendar used. */
+ monthsInYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return 13;
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof CopticCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number) the month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Sunday of this week starting on Sunday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(-checkDate.dayOfWeek(), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof CopticCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 13 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof CopticCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param month {number} The month to examine.
+ @param day {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return (this.dayOfWeek(year, month, day) || 7) < 6;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof CopticCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number) the month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ year = date.year();
+ if (year < 0) { year++; } // No year zero
+ return date.day() + (date.month() - 1) * 30 +
+ (year - 1) * 365 + Math.floor(year / 4) + this.jdEpoch - 1;
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof CopticCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ var c = Math.floor(jd) + 0.5 - this.jdEpoch;
+ var year = Math.floor((c - Math.floor((c + 366) / 1461)) / 365) + 1;
+ if (year <= 0) { year--; } // No year zero
+ c = Math.floor(jd) + 0.5 - this.newDate(year, 1, 1).toJD();
+ var month = Math.floor(c / 30) + 1;
+ var day = c - (month - 1) * 30 + 1;
+ return this.newDate(year, month, day);
+ }
+ });
+
+ // Coptic calendar implementation
+ $.calendars.calendars.coptic = CopticCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.coptic.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.coptic.min.js
new file mode 100644
index 0000000..09bbddf
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.coptic.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Coptic calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) February 2010.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function CopticCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}CopticCalendar.prototype=new $.calendars.baseCalendar;$.extend(CopticCalendar.prototype,{name:'Coptic',jdEpoch:1825029.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Coptic',epochs:['BAM','AM'],monthNames:['Thout','Paopi','Hathor','Koiak','Tobi','Meshir','Paremhat','Paremoude','Pashons','Paoni','Epip','Mesori','Pi Kogi Enavot'],monthNamesShort:['Tho','Pao','Hath','Koi','Tob','Mesh','Pat','Pad','Pash','Pao','Epi','Meso','PiK'],dayNames:['Tkyriaka','Pesnau','Pshoment','Peftoou','Ptiou','Psoou','Psabbaton'],dayNamesShort:['Tky','Pes','Psh','Pef','Pti','Pso','Psa'],dayNamesMin:['Tk','Pes','Psh','Pef','Pt','Pso','Psa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);var a=b.year()+(b.year()<0?1:0);return a%4===3||a%4===-1},monthsInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return 13},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(-d.dayOfWeek(),'d');return Math.floor((d.dayOfYear()-1)/7)+1},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===13&&this.leapYear(c.year())?1:0)},weekDay:function(a,b,c){return(this.dayOfWeek(a,b,c)||7)<6},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);a=d.year();if(a<0){a++}return d.day()+(d.month()-1)*30+(a-1)*365+Math.floor(a/4)+this.jdEpoch-1},fromJD:function(a){var c=Math.floor(a)+0.5-this.jdEpoch;var b=Math.floor((c-Math.floor((c+366)/1461))/365)+1;if(b<=0){b--}c=Math.floor(a)+0.5-this.newDate(b,1,1).toJD();var d=Math.floor(c/30)+1;var e=c-(d-1)*30+1;return this.newDate(b,d,e)}});$.calendars.calendars.coptic=CopticCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.discworld.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.discworld.js
new file mode 100644
index 0000000..5da7ab6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.discworld.js
@@ -0,0 +1,214 @@
+/* http://keith-wood.name/calendars.html
+ Discworld calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) January 2016.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Discworld calendar - Unseen University version.
+ See also http://wiki.lspace.org/mediawiki/Discworld_calendar
+ and http://discworld.wikia.com/wiki/Discworld_calendar .
+ @class DiscworldCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function DiscworldCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ DiscworldCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(DiscworldCalendar.prototype, {
+ /** The calendar name.
+ @memberof DiscworldCalendar */
+ name: 'Discworld',
+ /** Julian date of start of Discworld epoch: 1 January 0001 CE.
+ @memberof DiscworldCalendar */
+ jdEpoch: 1721425.5,
+ /** Days per month in a common year.
+ @memberof DiscworldCalendar */
+ daysPerMonth: [16, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32],
+ /** true if has a year zero, false if not.
+ @memberof DiscworldCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof DiscworldCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof DiscworldCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof DiscworldCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof DiscworldCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Discworld',
+ epochs: ['BUC', 'UC'],
+ monthNames: ['Ick', 'Offle', 'February', 'March', 'April', 'May', 'June',
+ 'Grune', 'August', 'Spune', 'Sektober', 'Ember', 'December'],
+ monthNamesShort: ['Ick', 'Off', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Gru', 'Aug', 'Spu', 'Sek', 'Emb', 'Dec'],
+ dayNames: ['Sunday', 'Octeday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Oct', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su', 'Oc', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
+ digits: null,
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 2,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof DiscworldCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return false;
+ },
+
+ /** Retrieve the number of months in a year.
+ @memberof DiscworldCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of months.
+ @throws Error if an invalid year or a different calendar used. */
+ monthsInYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return 13;
+ },
+
+ /** Retrieve the number of days in a year.
+ @memberof DiscworldCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of days.
+ @throws Error if an invalid year or a different calendar used. */
+ daysInYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return 400;
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof DiscworldCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Sunday of this week starting on Sunday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(-checkDate.dayOfWeek(), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 8) + 1;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof DiscworldCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return this.daysPerMonth[date.month() - 1];
+ },
+
+ /** Retrieve the number of days in a week.
+ @memberof DiscworldCalendar
+ @return {number} The number of days. */
+ daysInWeek: function() {
+ return 8;
+ },
+
+ /** Retrieve the day of the week for a date.
+ @memberof DiscworldCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The day of the week: 0 to number of days - 1.
+ @throws Error if an invalid date or a different calendar used. */
+ dayOfWeek: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ return (date.day() + 1) % 8;
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof DiscworldCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ var dow = this.dayOfWeek(year, month, day);
+ return (dow >= 2 && dow <= 6);
+ },
+
+ /** Retrieve additional information about a date.
+ @memberof DiscworldCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {object} Additional information - contents depends on calendar.
+ @throws Error if an invalid date or a different calendar used. */
+ extraInfo: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ return {century: centuries[Math.floor((date.year() - 1) / 100) + 1] || ''};
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof DiscworldCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ year = date.year() + (date.year() < 0 ? 1 : 0);
+ month = date.month();
+ day = date.day();
+ return day + (month > 1 ? 16 : 0) + (month > 2 ? (month - 2) * 32 : 0) +
+ (year - 1) * 400 + this.jdEpoch - 1;
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof DiscworldCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ jd = Math.floor(jd + 0.5) - Math.floor(this.jdEpoch) - 1;
+ var year = Math.floor(jd / 400) + 1;
+ jd -= (year - 1) * 400;
+ jd += (jd > 15 ? 16 : 0);
+ var month = Math.floor(jd / 32) + 1;
+ var day = jd - (month - 1) * 32 + 1;
+ return this.newDate(year <= 0 ? year - 1 : year, month, day);
+ }
+ });
+
+ // Names of the centuries
+ var centuries = {
+ 20: 'Fruitbat',
+ 21: 'Anchovy'
+ };
+
+ // Discworld calendar implementation
+ $.calendars.calendars.discworld = DiscworldCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.discworld.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.discworld.min.js
new file mode 100644
index 0000000..45929c3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.discworld.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Discworld calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) January 2016.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function DiscworldCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}DiscworldCalendar.prototype=new $.calendars.baseCalendar;$.extend(DiscworldCalendar.prototype,{name:'Discworld',jdEpoch:1721425.5,daysPerMonth:[16,32,32,32,32,32,32,32,32,32,32,32,32],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Discworld',epochs:['BUC','UC'],monthNames:['Ick','Offle','February','March','April','May','June','Grune','August','Spune','Sektober','Ember','December'],monthNamesShort:['Ick','Off','Feb','Mar','Apr','May','Jun','Gru','Aug','Spu','Sek','Emb','Dec'],dayNames:['Sunday','Octeday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Oct','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:['Su','Oc','Mo','Tu','We','Th','Fr','Sa'],digits:null,dateFormat:'yyyy/mm/dd',firstDay:2,isRTL:false}},leapYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return false},monthsInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return 13},daysInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return 400},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(-d.dayOfWeek(),'d');return Math.floor((d.dayOfYear()-1)/8)+1},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return this.daysPerMonth[c.month()-1]},daysInWeek:function(){return 8},dayOfWeek:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);return(d.day()+1)%8},weekDay:function(a,b,c){var d=this.dayOfWeek(a,b,c);return(d>=2&&d<=6)},extraInfo:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);return{century:e[Math.floor((d.year()-1)/100)+1]||''}},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);a=d.year()+(d.year()<0?1:0);b=d.month();c=d.day();return c+(b>1?16:0)+(b>2?(b-2)*32:0)+(a-1)*400+this.jdEpoch-1},fromJD:function(a){a=Math.floor(a+0.5)-Math.floor(this.jdEpoch)-1;var b=Math.floor(a/400)+1;a-=(b-1)*400;a+=(a>15?16:0);var c=Math.floor(a/32)+1;var d=a-(c-1)*32+1;return this.newDate(b<=0?b-1:b,c,d)}});var e={20:'Fruitbat',21:'Anchovy'};$.calendars.calendars.discworld=DiscworldCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ethiopian-am.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ethiopian-am.js
new file mode 100644
index 0000000..e53fe87
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ethiopian-am.js
@@ -0,0 +1,20 @@
+/* http://keith-wood.name/calendars.html
+ Amharic localisation for Ethiopian calendar for jQuery v2.0.2.
+ Written by Tewodros Zena February 2010. */
+(function($) {
+ $.calendars.calendars.ethiopian.prototype.regionalOptions['am'] = {
+ name: 'የኢትዮጵያ ዘመን አቆጣጠር',
+ epochs: ['BEE', 'EE'],
+ monthNames: ['መስከረም', 'ጥቅምት', 'ኅዳር', 'ታህሣሥ', 'ጥር', 'የካቲት',
+ 'መጋቢት', 'ሚያዝያ', 'ግንቦት', 'ሰኔ', 'ሐምሌ', 'ነሐሴ', 'ጳጉሜ'],
+ monthNamesShort: ['መስከ', 'ጥቅም', 'ኅዳር', 'ታህሣ', 'ጥር', 'የካቲ',
+ 'መጋቢ', 'ሚያዝ', 'ግንቦ', 'ሰኔ', 'ሐምሌ', 'ነሐሴ', 'ጳጉሜ'],
+ dayNames: ['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሓሙስ', 'ዓርብ', 'ቅዳሜ'],
+ dayNamesShort: ['እሑድ', 'ሰኞ', 'ማክሰ', 'ረቡዕ', 'ሓሙስ', 'ዓርብ', 'ቅዳሜ'],
+ dayNamesMin: ['እሑ', 'ሰኞ', 'ማክ', 'ረቡ', 'ሐሙ', 'ዓር', 'ቅዳ'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ethiopian.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ethiopian.js
new file mode 100644
index 0000000..5f994ce
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ethiopian.js
@@ -0,0 +1,170 @@
+/* http://keith-wood.name/calendars.html
+ Ethiopian calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) February 2010.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Ethiopian calendar.
+ See http://en.wikipedia.org/wiki/Ethiopian_calendar .
+ See also Calendrical Calculations: The Millennium Edition
+ (http://emr.cs.iit.edu/home/reingold/calendar-book/index.shtml ).
+ @class EthiopianCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function EthiopianCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ EthiopianCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(EthiopianCalendar.prototype, {
+ /** The calendar name.
+ @memberof EthiopianCalendar */
+ name: 'Ethiopian',
+ /** Julian date of start of Ethiopian epoch: 27 August 8 CE (Gregorian).
+ @memberof EthiopianCalendar */
+ jdEpoch: 1724220.5,
+ /** Days per month in a common year.
+ @memberof EthiopianCalendar */
+ daysPerMonth: [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 5],
+ /** true if has a year zero, false if not.
+ @memberof EthiopianCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof EthiopianCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof EthiopianCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof EthiopianCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof EthiopianCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Ethiopian',
+ epochs: ['BEE', 'EE'],
+ monthNames: ['Meskerem', 'Tikemet', 'Hidar', 'Tahesas', 'Tir', 'Yekatit',
+ 'Megabit', 'Miazia', 'Genbot', 'Sene', 'Hamle', 'Nehase', 'Pagume'],
+ monthNamesShort: ['Mes', 'Tik', 'Hid', 'Tah', 'Tir', 'Yek',
+ 'Meg', 'Mia', 'Gen', 'Sen', 'Ham', 'Neh', 'Pag'],
+ dayNames: ['Ehud', 'Segno', 'Maksegno', 'Irob', 'Hamus', 'Arb', 'Kidame'],
+ dayNamesShort: ['Ehu', 'Seg', 'Mak', 'Iro', 'Ham', 'Arb', 'Kid'],
+ dayNamesMin: ['Eh', 'Se', 'Ma', 'Ir', 'Ha', 'Ar', 'Ki'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof EthiopianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ var year = date.year() + (date.year() < 0 ? 1 : 0); // No year zero
+ return year % 4 === 3 || year % 4 === -1;
+ },
+
+ /** Retrieve the number of months in a year.
+ @memberof EthiopianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of months.
+ @throws Error if an invalid year or a different calendar used. */
+ monthsInYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return 13;
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof EthiopianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Sunday of this week starting on Sunday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(-checkDate.dayOfWeek(), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof EthiopianCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 13 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof EthiopianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return (this.dayOfWeek(year, month, day) || 7) < 6;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof EthiopianCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ year = date.year();
+ if (year < 0) { year++; } // No year zero
+ return date.day() + (date.month() - 1) * 30 +
+ (year - 1) * 365 + Math.floor(year / 4) + this.jdEpoch - 1;
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof EthiopianCalendar
+ @param jd {number} the Julian date to convert.
+ @return {CDate} the equivalent date. */
+ fromJD: function(jd) {
+ var c = Math.floor(jd) + 0.5 - this.jdEpoch;
+ var year = Math.floor((c - Math.floor((c + 366) / 1461)) / 365) + 1;
+ if (year <= 0) { year--; } // No year zero
+ c = Math.floor(jd) + 0.5 - this.newDate(year, 1, 1).toJD();
+ var month = Math.floor(c / 30) + 1;
+ var day = c - (month - 1) * 30 + 1;
+ return this.newDate(year, month, day);
+ }
+ });
+
+ // Ethiopian calendar implementation
+ $.calendars.calendars.ethiopian = EthiopianCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ethiopian.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ethiopian.min.js
new file mode 100644
index 0000000..e537d56
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ethiopian.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Ethiopian calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) February 2010.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function EthiopianCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}EthiopianCalendar.prototype=new $.calendars.baseCalendar;$.extend(EthiopianCalendar.prototype,{name:'Ethiopian',jdEpoch:1724220.5,daysPerMonth:[30,30,30,30,30,30,30,30,30,30,30,30,5],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Ethiopian',epochs:['BEE','EE'],monthNames:['Meskerem','Tikemet','Hidar','Tahesas','Tir','Yekatit','Megabit','Miazia','Genbot','Sene','Hamle','Nehase','Pagume'],monthNamesShort:['Mes','Tik','Hid','Tah','Tir','Yek','Meg','Mia','Gen','Sen','Ham','Neh','Pag'],dayNames:['Ehud','Segno','Maksegno','Irob','Hamus','Arb','Kidame'],dayNamesShort:['Ehu','Seg','Mak','Iro','Ham','Arb','Kid'],dayNamesMin:['Eh','Se','Ma','Ir','Ha','Ar','Ki'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);var a=b.year()+(b.year()<0?1:0);return a%4===3||a%4===-1},monthsInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return 13},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(-d.dayOfWeek(),'d');return Math.floor((d.dayOfYear()-1)/7)+1},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===13&&this.leapYear(c.year())?1:0)},weekDay:function(a,b,c){return(this.dayOfWeek(a,b,c)||7)<6},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);a=d.year();if(a<0){a++}return d.day()+(d.month()-1)*30+(a-1)*365+Math.floor(a/4)+this.jdEpoch-1},fromJD:function(a){var c=Math.floor(a)+0.5-this.jdEpoch;var b=Math.floor((c-Math.floor((c+366)/1461))/365)+1;if(b<=0){b--}c=Math.floor(a)+0.5-this.newDate(b,1,1).toJD();var d=Math.floor(c/30)+1;var e=c-(d-1)*30+1;return this.newDate(b,d,e)}});$.calendars.calendars.ethiopian=EthiopianCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.hebrew-he.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.hebrew-he.js
new file mode 100644
index 0000000..3e88abd
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.hebrew-he.js
@@ -0,0 +1,20 @@
+/* http://keith-wood.name/calendars.html
+ Hebrew localisation for Hebrew calendar for jQuery v2.0.2.
+ Amir Hardon (ahardon at gmail dot com). */
+(function($) {
+ $.calendars.calendars.hebrew.prototype.regionalOptions['he'] = {
+ name: 'הלוח העברי',
+ epochs: ['BAM', 'AM'],
+ monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
+ 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
+ monthNamesShort: ['1','2','3','4','5','6',
+ '7','8','9','10','11','12'],
+ dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
+ dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: true
+ };
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.hebrew.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.hebrew.js
new file mode 100644
index 0000000..f8976d0
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.hebrew.js
@@ -0,0 +1,260 @@
+/* http://keith-wood.name/calendars.html
+ Hebrew calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Hebrew civil calendar.
+ Based on code from http://www.fourmilab.ch/documents/calendar/ .
+ See also http://en.wikipedia.org/wiki/Hebrew_calendar .
+ @class HebrewCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function HebrewCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ HebrewCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(HebrewCalendar.prototype, {
+ /** The calendar name.
+ @memberof HebrewCalendar */
+ name: 'Hebrew',
+ /** Julian date of start of Hebrew epoch: 7 October 3761 BCE.
+ @memberof HebrewCalendar */
+ jdEpoch: 347995.5,
+ /** Days per month in a common year.
+ @memberof HebrewCalendar */
+ daysPerMonth: [30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 29],
+ /** true if has a year zero, false if not.
+ @memberof HebrewCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof HebrewCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof HebrewCalendar */
+ firstMonth: 7,
+ /** The minimum day number.
+ @memberof HebrewCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof HebrewCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Hebrew',
+ epochs: ['BAM', 'AM'],
+ monthNames: ['Nisan', 'Iyar', 'Sivan', 'Tammuz', 'Av', 'Elul',
+ 'Tishrei', 'Cheshvan', 'Kislev', 'Tevet', 'Shevat', 'Adar', 'Adar II'],
+ monthNamesShort: ['Nis', 'Iya', 'Siv', 'Tam', 'Av', 'Elu', 'Tis', 'Che', 'Kis', 'Tev', 'She', 'Ada', 'Ad2'],
+ dayNames: ['Yom Rishon', 'Yom Sheni', 'Yom Shlishi', 'Yom Revi\'i', 'Yom Chamishi', 'Yom Shishi', 'Yom Shabbat'],
+ dayNamesShort: ['Ris', 'She', 'Shl', 'Rev', 'Cha', 'Shi', 'Sha'],
+ dayNamesMin: ['Ri','She','Shl','Re','Ch','Shi','Sha'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof HebrewCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return this._leapYear(date.year());
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof HebrewCalendar
+ @private
+ @param year {number} The year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ _leapYear: function(year) {
+ year = (year < 0 ? year + 1 : year);
+ return mod(year * 7 + 1, 19) < 7;
+ },
+
+ /** Retrieve the number of months in a year.
+ @memberof HebrewCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of months.
+ @throws Error if an invalid year or a different calendar used. */
+ monthsInYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return this._leapYear(year.year ? year.year() : year) ? 13 : 12;
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof HebrewCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Sunday of this week starting on Sunday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(-checkDate.dayOfWeek(), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a year.
+ @memberof HebrewCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of days.
+ @throws Error if an invalid year or a different calendar used. */
+ daysInYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ year = date.year();
+ return this.toJD((year === -1 ? +1 : year + 1), 7, 1) - this.toJD(year, 7, 1);
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof HebrewCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ if (year.year) {
+ month = year.month();
+ year = year.year();
+ }
+ this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return (month === 12 && this.leapYear(year) ? 30 : // Adar I
+ (month === 8 && mod(this.daysInYear(year), 10) === 5 ? 30 : // Cheshvan in shlemah year
+ (month === 9 && mod(this.daysInYear(year), 10) === 3 ? 29 : // Kislev in chaserah year
+ this.daysPerMonth[month - 1])));
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof HebrewCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return this.dayOfWeek(year, month, day) !== 6;
+ },
+
+ /** Retrieve additional information about a date - year type.
+ @memberof HebrewCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {object} Additional information - contents depends on calendar.
+ @throws Error if an invalid date or a different calendar used. */
+ extraInfo: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ return {yearType: (this.leapYear(date) ? 'embolismic' : 'common') + ' ' +
+ ['deficient', 'regular', 'complete'][this.daysInYear(date) % 10 - 3]};
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof HebrewCalendar
+ @param year {CDate)|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ year = date.year();
+ month = date.month();
+ day = date.day();
+ var adjYear = (year <= 0 ? year + 1 : year);
+ var jd = this.jdEpoch + this._delay1(adjYear) +
+ this._delay2(adjYear) + day + 1;
+ if (month < 7) {
+ for (var m = 7; m <= this.monthsInYear(year); m++) {
+ jd += this.daysInMonth(year, m);
+ }
+ for (var m = 1; m < month; m++) {
+ jd += this.daysInMonth(year, m);
+ }
+ }
+ else {
+ for (var m = 7; m < month; m++) {
+ jd += this.daysInMonth(year, m);
+ }
+ }
+ return jd;
+ },
+
+ /** Test for delay of start of new year and to avoid
+ Sunday, Wednesday, or Friday as start of the new year.
+ @memberof HebrewCalendar
+ @private
+ @param year {number} The year to examine.
+ @return {number} The days to offset by. */
+ _delay1: function(year) {
+ var months = Math.floor((235 * year - 234) / 19);
+ var parts = 12084 + 13753 * months;
+ var day = months * 29 + Math.floor(parts / 25920);
+ if (mod(3 * (day + 1), 7) < 3) {
+ day++;
+ }
+ return day;
+ },
+
+ /** Check for delay in start of new year due to length of adjacent years.
+ @memberof HebrewCalendar
+ @private
+ @param year {number} The year to examine.
+ @return {number} The days to offset by. */
+ _delay2: function(year) {
+ var last = this._delay1(year - 1);
+ var present = this._delay1(year);
+ var next = this._delay1(year + 1);
+ return ((next - present) === 356 ? 2 : ((present - last) === 382 ? 1 : 0));
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof HebrewCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ jd = Math.floor(jd) + 0.5;
+ var year = Math.floor(((jd - this.jdEpoch) * 98496.0) / 35975351.0) - 1;
+ while (jd >= this.toJD((year === -1 ? +1 : year + 1), 7, 1)) {
+ year++;
+ }
+ var month = (jd < this.toJD(year, 1, 1)) ? 7 : 1;
+ while (jd > this.toJD(year, month, this.daysInMonth(year, month))) {
+ month++;
+ }
+ var day = jd - this.toJD(year, month, 1) + 1;
+ return this.newDate(year, month, day);
+ }
+ });
+
+ // Modulus function which works for non-integers.
+ function mod(a, b) {
+ return a - (b * Math.floor(a / b));
+ }
+
+ // Hebrew calendar implementation
+ $.calendars.calendars.hebrew = HebrewCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.hebrew.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.hebrew.min.js
new file mode 100644
index 0000000..75b0ce0
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.hebrew.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Hebrew calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function HebrewCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}HebrewCalendar.prototype=new $.calendars.baseCalendar;$.extend(HebrewCalendar.prototype,{name:'Hebrew',jdEpoch:347995.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29,29],hasYearZero:false,minMonth:1,firstMonth:7,minDay:1,regionalOptions:{'':{name:'Hebrew',epochs:['BAM','AM'],monthNames:['Nisan','Iyar','Sivan','Tammuz','Av','Elul','Tishrei','Cheshvan','Kislev','Tevet','Shevat','Adar','Adar II'],monthNamesShort:['Nis','Iya','Siv','Tam','Av','Elu','Tis','Che','Kis','Tev','She','Ada','Ad2'],dayNames:['Yom Rishon','Yom Sheni','Yom Shlishi','Yom Revi\'i','Yom Chamishi','Yom Shishi','Yom Shabbat'],dayNamesShort:['Ris','She','Shl','Rev','Cha','Shi','Sha'],dayNamesMin:['Ri','She','Shl','Re','Ch','Shi','Sha'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return this._leapYear(b.year())},_leapYear:function(a){a=(a<0?a+1:a);return mod(a*7+1,19)<7},monthsInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return this._leapYear(a.year?a.year():a)?13:12},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(-d.dayOfWeek(),'d');return Math.floor((d.dayOfYear()-1)/7)+1},daysInYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);a=b.year();return this.toJD((a===-1?+1:a+1),7,1)-this.toJD(a,7,1)},daysInMonth:function(a,b){if(a.year){b=a.month();a=a.year()}this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return(b===12&&this.leapYear(a)?30:(b===8&&mod(this.daysInYear(a),10)===5?30:(b===9&&mod(this.daysInYear(a),10)===3?29:this.daysPerMonth[b-1])))},weekDay:function(a,b,c){return this.dayOfWeek(a,b,c)!==6},extraInfo:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);return{yearType:(this.leapYear(d)?'embolismic':'common')+' '+['deficient','regular','complete'][this.daysInYear(d)%10-3]}},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);a=d.year();b=d.month();c=d.day();var e=(a<=0?a+1:a);var f=this.jdEpoch+this._delay1(e)+this._delay2(e)+c+1;if(b<7){for(var m=7;m<=this.monthsInYear(a);m++){f+=this.daysInMonth(a,m)}for(var m=1;m=this.toJD((b===-1?+1:b+1),7,1)){b++}var c=(athis.toJD(b,c,this.daysInMonth(b,c))){c++}var d=a-this.toJD(b,c,1)+1;return this.newDate(b,c,d)}});function mod(a,b){return a-(b*Math.floor(a/b))}$.calendars.calendars.hebrew=HebrewCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic-ar.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic-ar.js
new file mode 100644
index 0000000..399deef
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic-ar.js
@@ -0,0 +1,20 @@
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for Islamic calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009. */
+(function($) {
+ $.calendars.calendars.islamic.prototype.regionalOptions['ar'] = {
+ name: 'Islamic',
+ epochs: ['BAM', 'AM'],
+ monthNames: ['محرّم', 'صفر', 'ربيع الأول', 'ربيع الآخر أو ربيع الثاني', 'جمادى الاول', 'جمادى الآخر أو جمادى الثاني',
+ 'رجب', 'شعبان', 'رمضان', 'شوّال', 'ذو القعدة', 'ذو الحجة'],
+ monthNamesShort: ['محرّم', 'صفر', 'ربيع الأول', 'ربيع الآخر أو ربيع الثاني', 'جمادى الاول', 'جمادى الآخر أو جمادى الثاني',
+ 'رجب', 'شعبان', 'رمضان', 'شوّال', 'ذو القعدة', 'ذو الحجة'],
+ dayNames: ['يوم الأحد', 'يوم الإثنين', 'يوم الثلاثاء', 'يوم الأربعاء', 'يوم الخميس', 'يوم الجمعة', 'يوم السبت'],
+ dayNamesShort: ['يوم الأحد', 'يوم الإثنين', 'يوم الثلاثاء', 'يوم الأربعاء', 'يوم الخميس', 'يوم الجمعة', 'يوم السبت'],
+ dayNamesMin: ['يوم الأحد', 'يوم الإثنين', 'يوم الثلاثاء', 'يوم الأربعاء', 'يوم الخميس', 'يوم الجمعة', 'يوم السبت'],
+ digits: $.calendars.substituteDigits(['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩']),
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 6,
+ isRTL: true
+ };
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic-fa.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic-fa.js
new file mode 100644
index 0000000..038cb19
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic-fa.js
@@ -0,0 +1,20 @@
+/* http://keith-wood.name/calendars.html
+ Farsi/Persian localisation for Islamic calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009. */
+(function($) {
+ $.calendars.calendars.islamic.prototype.regionalOptions['fa'] = {
+ name: 'Islamic',
+ epochs: ['BAM', 'AM'],
+ monthNames: ['محرّم', 'صفر', 'ربيع الأول', 'ربيع الآخر أو ربيع الثاني', 'جمادى الاول', 'جمادى الآخر أو جمادى الثاني',
+ 'رجب', 'شعبان', 'رمضان', 'شوّال', 'ذو القعدة', 'ذو الحجة'],
+ monthNamesShort: ['محرّم', 'صفر', 'ربيع الأول', 'ربيع الآخر أو ربيع الثاني', 'جمادى الاول', 'جمادى الآخر أو جمادى الثاني',
+ 'رجب', 'شعبان', 'رمضان', 'شوّال', 'ذو القعدة', 'ذو الحجة'],
+ dayNames: ['يوم الأحد', 'يوم الإثنين', 'يوم الثلاثاء', 'يوم الأربعاء', 'يوم الخميس', 'يوم الجمعة', 'يوم السبت'],
+ dayNamesShort: ['يوم الأحد', 'يوم الإثنين', 'يوم الثلاثاء', 'يوم الأربعاء', 'يوم الخميس', 'يوم الجمعة', 'يوم السبت'],
+ dayNamesMin: ['يوم الأحد', 'يوم الإثنين', 'يوم الثلاثاء', 'يوم الأربعاء', 'يوم الخميس', 'يوم الجمعة', 'يوم السبت'],
+ digits: $.calendars.substituteDigits(['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹']),
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 6,
+ isRTL: true
+ };
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic.js
new file mode 100644
index 0000000..50d232c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic.js
@@ -0,0 +1,167 @@
+/* http://keith-wood.name/calendars.html
+ Islamic calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Islamic or '16 civil' calendar.
+ Based on code from http://www.iranchamber.com/calendar/converter/iranian_calendar_converter.php .
+ See also http://en.wikipedia.org/wiki/Islamic_calendar .
+ @class IslamicCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function IslamicCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ IslamicCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(IslamicCalendar.prototype, {
+ /** The calendar name.
+ @memberof IslamicCalendar */
+ name: 'Islamic',
+ /** Julian date of start of Islamic epoch: 16 July 622 CE.
+ @memberof IslamicCalendar */
+ jdEpoch: 1948439.5,
+ /** Days per month in a common year.
+ @memberof IslamicCalendar */
+ daysPerMonth: [30, 29, 30, 29, 30, 29, 30, 29, 30, 29, 30, 29],
+ /** true if has a year zero, false if not.
+ @memberof IslamicCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof IslamicCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof IslamicCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof IslamicCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof IslamicCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Islamic',
+ epochs: ['BH', 'AH'],
+ monthNames: ['Muharram', 'Safar', 'Rabi\' al-awwal', 'Rabi\' al-thani', 'Jumada al-awwal', 'Jumada al-thani',
+ 'Rajab', 'Sha\'aban', 'Ramadan', 'Shawwal', 'Dhu al-Qi\'dah', 'Dhu al-Hijjah'],
+ monthNamesShort: ['Muh', 'Saf', 'Rab1', 'Rab2', 'Jum1', 'Jum2', 'Raj', 'Sha\'', 'Ram', 'Shaw', 'DhuQ', 'DhuH'],
+ dayNames: ['Yawm al-ahad', 'Yawm al-ithnayn', 'Yawm ath-thulaathaa\'',
+ 'Yawm al-arbi\'aa\'', 'Yawm al-khamīs', 'Yawm al-jum\'a', 'Yawm as-sabt'],
+ dayNamesShort: ['Aha', 'Ith', 'Thu', 'Arb', 'Kha', 'Jum', 'Sab'],
+ dayNamesMin: ['Ah','It','Th','Ar','Kh','Ju','Sa'],
+ digits: null,
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 6,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof IslamicCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return (date.year() * 11 + 14) % 30 < 11;
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof IslamicCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Sunday of this week starting on Sunday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(-checkDate.dayOfWeek(), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a year.
+ @memberof IslamicCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of days.
+ @throws Error if an invalid year or a different calendar used. */
+ daysInYear: function(year) {
+ return (this.leapYear(year) ? 355 : 354);
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof IslamicCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 12 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof IslamicCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return this.dayOfWeek(year, month, day) !== 5;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof IslamicCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ year = date.year();
+ month = date.month();
+ day = date.day();
+ year = (year <= 0 ? year + 1 : year);
+ return day + Math.ceil(29.5 * (month - 1)) + (year - 1) * 354 +
+ Math.floor((3 + (11 * year)) / 30) + this.jdEpoch - 1;
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof IslamicCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ jd = Math.floor(jd) + 0.5;
+ var year = Math.floor((30 * (jd - this.jdEpoch) + 10646) / 10631);
+ year = (year <= 0 ? year - 1 : year);
+ var month = Math.min(12, Math.ceil((jd - 29 - this.toJD(year, 1, 1)) / 29.5) + 1);
+ var day = jd - this.toJD(year, month, 1) + 1;
+ return this.newDate(year, month, day);
+ }
+ });
+
+ // Islamic (16 civil) calendar implementation
+ $.calendars.calendars.islamic = IslamicCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic.min.js
new file mode 100644
index 0000000..bd3c22b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.islamic.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Islamic calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function IslamicCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}IslamicCalendar.prototype=new $.calendars.baseCalendar;$.extend(IslamicCalendar.prototype,{name:'Islamic',jdEpoch:1948439.5,daysPerMonth:[30,29,30,29,30,29,30,29,30,29,30,29],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Islamic',epochs:['BH','AH'],monthNames:['Muharram','Safar','Rabi\' al-awwal','Rabi\' al-thani','Jumada al-awwal','Jumada al-thani','Rajab','Sha\'aban','Ramadan','Shawwal','Dhu al-Qi\'dah','Dhu al-Hijjah'],monthNamesShort:['Muh','Saf','Rab1','Rab2','Jum1','Jum2','Raj','Sha\'','Ram','Shaw','DhuQ','DhuH'],dayNames:['Yawm al-ahad','Yawm al-ithnayn','Yawm ath-thulaathaa\'','Yawm al-arbi\'aa\'','Yawm al-khamīs','Yawm al-jum\'a','Yawm as-sabt'],dayNamesShort:['Aha','Ith','Thu','Arb','Kha','Jum','Sab'],dayNamesMin:['Ah','It','Th','Ar','Kh','Ju','Sa'],digits:null,dateFormat:'yyyy/mm/dd',firstDay:6,isRTL:false}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return(b.year()*11+14)%30<11},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(-d.dayOfWeek(),'d');return Math.floor((d.dayOfYear()-1)/7)+1},daysInYear:function(a){return(this.leapYear(a)?355:354)},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===12&&this.leapYear(c.year())?1:0)},weekDay:function(a,b,c){return this.dayOfWeek(a,b,c)!==5},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);a=d.year();b=d.month();c=d.day();a=(a<=0?a+1:a);return c+Math.ceil(29.5*(b-1))+(a-1)*354+Math.floor((3+(11*a))/30)+this.jdEpoch-1},fromJD:function(a){a=Math.floor(a)+0.5;var b=Math.floor((30*(a-this.jdEpoch)+10646)/10631);b=(b<=0?b-1:b);var c=Math.min(12,Math.ceil((a-29-this.toJD(b,1,1))/29.5)+1);var d=a-this.toJD(b,c,1)+1;return this.newDate(b,c,d)}});$.calendars.calendars.islamic=IslamicCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.js
new file mode 100644
index 0000000..ec9376d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.js
@@ -0,0 +1,892 @@
+/* http://keith-wood.name/calendars.html
+ Calendars for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ function Calendars() {
+ this.regionalOptions = [];
+ this.regionalOptions[''] = {
+ invalidCalendar: 'Calendar {0} not found',
+ invalidDate: 'Invalid {0} date',
+ invalidMonth: 'Invalid {0} month',
+ invalidYear: 'Invalid {0} year',
+ differentCalendars: 'Cannot mix {0} and {1} dates'
+ };
+ this.local = this.regionalOptions[''];
+ this.calendars = {};
+ this._localCals = {};
+ }
+
+ /** Create the calendars plugin.
+ Provides support for various world calendars in a consistent manner.
+ @class Calendars
+ @example $.calendars.instance('julian').newDate(2014, 12, 25) */
+ $.extend(Calendars.prototype, {
+
+ /** Obtain a calendar implementation and localisation.
+ @memberof Calendars
+ @param [name='gregorian'] {string} The name of the calendar, e.g. 'gregorian', 'persian', 'islamic'.
+ @param [language=''] {string} The language code to use for localisation (default is English).
+ @return {Calendar} The calendar and localisation.
+ @throws Error if calendar not found. */
+ instance: function(name, language) {
+ name = (name || 'gregorian').toLowerCase();
+ language = language || '';
+ var cal = this._localCals[name + '-' + language];
+ if (!cal && this.calendars[name]) {
+ cal = new this.calendars[name](language);
+ this._localCals[name + '-' + language] = cal;
+ }
+ if (!cal) {
+ throw (this.local.invalidCalendar || this.regionalOptions[''].invalidCalendar).
+ replace(/\{0\}/, name);
+ }
+ return cal;
+ },
+
+ /** Create a new date - for today if no other parameters given.
+ @memberof Calendars
+ @param year {CDate|number} The date to copy or the year for the date.
+ @param [month] {number} The month for the date.
+ @param [day] {number} The day for the date.
+ @param [calendar='gregorian'] {BaseCalendar|string} The underlying calendar or the name of the calendar.
+ @param [language=''] {string} The language to use for localisation (default English).
+ @return {CDate} The new date.
+ @throws Error if an invalid date. */
+ newDate: function(year, month, day, calendar, language) {
+ calendar = (year != null && year.year ? year.calendar() : (typeof calendar === 'string' ?
+ this.instance(calendar, language) : calendar)) || this.instance();
+ return calendar.newDate(year, month, day);
+ },
+
+ /** A simple digit substitution function for localising numbers via the Calendar digits option.
+ @member Calendars
+ @param digits {string[]} The substitute digits, for 0 through 9.
+ @return {function} The substitution function. */
+ substituteDigits: function(digits) {
+ return function(value) {
+ return (value + '').replace(/[0-9]/g, function(digit) {
+ return digits[digit];
+ });
+ }
+ },
+
+ /** Digit substitution function for localising Chinese style numbers via the Calendar digits option.
+ @member Calendars
+ @param digits {string[]} The substitute digits, for 0 through 9.
+ @param powers {string[]} The characters denoting powers of 10, i.e. 1, 10, 100, 1000.
+ @return {function} The substitution function. */
+ substituteChineseDigits: function(digits, powers) {
+ return function(value) {
+ var localNumber = '';
+ var power = 0;
+ while (value > 0) {
+ var units = value % 10;
+ localNumber = (units === 0 ? '' : digits[units] + powers[power]) + localNumber;
+ power++;
+ value = Math.floor(value / 10);
+ }
+ if (localNumber.indexOf(digits[1] + powers[1]) === 0) {
+ localNumber = localNumber.substr(1);
+ }
+ return localNumber || digits[0];
+ }
+ }
+ });
+
+ /** Generic date, based on a particular calendar.
+ @class CDate
+ @param calendar {BaseCalendar} The underlying calendar implementation.
+ @param year {number} The year for this date.
+ @param month {number} The month for this date.
+ @param day {number} The day for this date.
+ @return {CDate} The date object.
+ @throws Error if an invalid date. */
+ function CDate(calendar, year, month, day) {
+ this._calendar = calendar;
+ this._year = year;
+ this._month = month;
+ this._day = day;
+ if (this._calendar._validateLevel === 0 &&
+ !this._calendar.isValid(this._year, this._month, this._day)) {
+ throw ($.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate).
+ replace(/\{0\}/, this._calendar.local.name);
+ }
+ }
+
+ /** Pad a numeric value with leading zeroes.
+ @private
+ @param value {number} The number to format.
+ @param length {number} The minimum length.
+ @return {string} The formatted number. */
+ function pad(value, length) {
+ value = '' + value;
+ return '000000'.substring(0, length - value.length) + value;
+ }
+
+ $.extend(CDate.prototype, {
+
+ /** Create a new date.
+ @memberof CDate
+ @param [year] {CDate|number} The date to copy or the year for the date (default this date).
+ @param [month] {number} The month for the date.
+ @param [day] {number} The day for the date.
+ @return {CDate} The new date.
+ @throws Error if an invalid date. */
+ newDate: function(year, month, day) {
+ return this._calendar.newDate((year == null ? this : year), month, day);
+ },
+
+ /** Set or retrieve the year for this date.
+ @memberof CDate
+ @param [year] {number} The year for the date.
+ @return {number|CDate} The date's year (if no parameter) or the updated date.
+ @throws Error if an invalid date. */
+ year: function(year) {
+ return (arguments.length === 0 ? this._year : this.set(year, 'y'));
+ },
+
+ /** Set or retrieve the month for this date.
+ @memberof CDate
+ @param [month] {number} The month for the date.
+ @return {number|CDate} The date's month (if no parameter) or the updated date.
+ @throws Error if an invalid date. */
+ month: function(month) {
+ return (arguments.length === 0 ? this._month : this.set(month, 'm'));
+ },
+
+ /** Set or retrieve the day for this date.
+ @memberof CDate
+ @param [day] {number} The day for the date.
+ @return {number|CData} The date's day (if no parameter) or the updated date.
+ @throws Error if an invalid date. */
+ day: function(day) {
+ return (arguments.length === 0 ? this._day : this.set(day, 'd'));
+ },
+
+ /** Set new values for this date.
+ @memberof CDate
+ @param year {number} The year for the date.
+ @param month {number} The month for the date.
+ @param day {number} The day for the date.
+ @return {CDate} The updated date.
+ @throws Error if an invalid date. */
+ date: function(year, month, day) {
+ if (!this._calendar.isValid(year, month, day)) {
+ throw ($.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate).
+ replace(/\{0\}/, this._calendar.local.name);
+ }
+ this._year = year;
+ this._month = month;
+ this._day = day;
+ return this;
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof CDate
+ @return {boolean} true if this is a leap year, false if not. */
+ leapYear: function() {
+ return this._calendar.leapYear(this);
+ },
+
+ /** Retrieve the epoch designator for this date, e.g. BCE or CE.
+ @memberof CDate
+ @return {string} The current epoch. */
+ epoch: function() {
+ return this._calendar.epoch(this);
+ },
+
+ /** Format the year, if not a simple sequential number.
+ @memberof CDate
+ @return {string} The formatted year. */
+ formatYear: function() {
+ return this._calendar.formatYear(this);
+ },
+
+ /** Retrieve the month of the year for this date,
+ i.e. the month's position within a numbered year.
+ @memberof CDate
+ @return {number} The month of the year: minMonth to months per year. */
+ monthOfYear: function() {
+ return this._calendar.monthOfYear(this);
+ },
+
+ /** Retrieve the week of the year for this date.
+ @memberof CDate
+ @return {number} The week of the year: 1 to weeks per year. */
+ weekOfYear: function() {
+ return this._calendar.weekOfYear(this);
+ },
+
+ /** Retrieve the number of days in the year for this date.
+ @memberof CDate
+ @return {number} The number of days in this year. */
+ daysInYear: function() {
+ return this._calendar.daysInYear(this);
+ },
+
+ /** Retrieve the day of the year for this date.
+ @memberof CDate
+ @return {number} The day of the year: 1 to days per year. */
+ dayOfYear: function() {
+ return this._calendar.dayOfYear(this);
+ },
+
+ /** Retrieve the number of days in the month for this date.
+ @memberof CDate
+ @return {number} The number of days. */
+ daysInMonth: function() {
+ return this._calendar.daysInMonth(this);
+ },
+
+ /** Retrieve the day of the week for this date.
+ @memberof CDate
+ @return {number} The day of the week: 0 to number of days - 1. */
+ dayOfWeek: function() {
+ return this._calendar.dayOfWeek(this);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof CDate
+ @return {boolean} true if a week day, false if not. */
+ weekDay: function() {
+ return this._calendar.weekDay(this);
+ },
+
+ /** Retrieve additional information about this date.
+ @memberof CDate
+ @return {object} Additional information - contents depends on calendar. */
+ extraInfo: function() {
+ return this._calendar.extraInfo(this);
+ },
+
+ /** Add period(s) to a date.
+ @memberof CDate
+ @param offset {number} The number of periods to adjust by.
+ @param period {string} One of 'y' for year, 'm' for month, 'w' for week, 'd' for day.
+ @return {CDate} The updated date. */
+ add: function(offset, period) {
+ return this._calendar.add(this, offset, period);
+ },
+
+ /** Set a portion of the date.
+ @memberof CDate
+ @param value {number} The new value for the period.
+ @param period {string} One of 'y' for year, 'm' for month, 'd' for day.
+ @return {CDate} The updated date.
+ @throws Error if not a valid date. */
+ set: function(value, period) {
+ return this._calendar.set(this, value, period);
+ },
+
+ /** Compare this date to another date.
+ @memberof CDate
+ @param date {CDate} The other date.
+ @return {number} -1 if this date is before the other date,
+ 0 if they are equal, or +1 if this date is after the other date. */
+ compareTo: function(date) {
+ if (this._calendar.name !== date._calendar.name) {
+ throw ($.calendars.local.differentCalendars || $.calendars.regionalOptions[''].differentCalendars).
+ replace(/\{0\}/, this._calendar.local.name).replace(/\{1\}/, date._calendar.local.name);
+ }
+ var c = (this._year !== date._year ? this._year - date._year :
+ this._month !== date._month ? this.monthOfYear() - date.monthOfYear() :
+ this._day - date._day);
+ return (c === 0 ? 0 : (c < 0 ? -1 : +1));
+ },
+
+ /** Retrieve the calendar backing this date.
+ @memberof CDate
+ @return {BaseCalendar} The calendar implementation. */
+ calendar: function() {
+ return this._calendar;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof CDate
+ @return {number} The equivalent Julian date. */
+ toJD: function() {
+ return this._calendar.toJD(this);
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof CDate
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ return this._calendar.fromJD(jd);
+ },
+
+ /** Convert this date to a standard (Gregorian) JavaScript Date.
+ @memberof CDate
+ @return {Date} The equivalent JavaScript date. */
+ toJSDate: function() {
+ return this._calendar.toJSDate(this);
+ },
+
+ /** Create a new date from a standard (Gregorian) JavaScript Date.
+ @memberof CDate
+ @param jsd {Date} The JavaScript date to convert.
+ @return {CDate} The equivalent date. */
+ fromJSDate: function(jsd) {
+ return this._calendar.fromJSDate(jsd);
+ },
+
+ /** Convert to a string for display.
+ @memberof CDate
+ @return {string} This date as a string. */
+ toString: function() {
+ return (this.year() < 0 ? '-' : '') + pad(Math.abs(this.year()), 4) +
+ '-' + pad(this.month(), 2) + '-' + pad(this.day(), 2);
+ }
+ });
+
+ /** Basic functionality for all calendars.
+ Other calendars should extend this:
+ OtherCalendar.prototype = new BaseCalendar;
+ @class BaseCalendar */
+ function BaseCalendar() {
+ this.shortYearCutoff = '+10';
+ }
+
+ $.extend(BaseCalendar.prototype, {
+ _validateLevel: 0, // "Stack" to turn validation on/off
+
+ /** Create a new date within this calendar - today if no parameters given.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to duplicate or the year for the date.
+ @param [month] {number} The month for the date.
+ @param [day] {number} The day for the date.
+ @return {CDate} The new date.
+ @throws Error if not a valid date or a different calendar used. */
+ newDate: function(year, month, day) {
+ if (year == null) {
+ return this.today();
+ }
+ if (year.year) {
+ this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ day = year.day();
+ month = year.month();
+ year = year.year();
+ }
+ return new CDate(this, year, month, day);
+ },
+
+ /** Create a new date for today.
+ @memberof BaseCalendar
+ @return {CDate} Today's date. */
+ today: function() {
+ return this.fromJSDate(new Date());
+ },
+
+ /** Retrieve the epoch designator for this date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {string} The current epoch.
+ @throws Error if an invalid year or a different calendar used. */
+ epoch: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return (date.year() < 0 ? this.local.epochs[0] : this.local.epochs[1]);
+ },
+
+ /** Format the year, if not a simple sequential number
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to format or the year to format.
+ @return {string} The formatted year.
+ @throws Error if an invalid year or a different calendar used. */
+ formatYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return (date.year() < 0 ? '-' : '') + pad(Math.abs(date.year()), 4)
+ },
+
+ /** Retrieve the number of months in a year.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of months.
+ @throws Error if an invalid year or a different calendar used. */
+ monthsInYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return 12;
+ },
+
+ /** Calculate the month's ordinal position within the year -
+ for those calendars that don't start at month 1!
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param month {number} The month to examine.
+ @return {number} The ordinal position, starting from minMonth.
+ @throws Error if an invalid year/month or a different calendar used. */
+ monthOfYear: function(year, month) {
+ var date = this._validate(year, month, this.minDay,
+ $.calendars.local.invalidMonth || $.calendars.regionalOptions[''].invalidMonth);
+ return (date.month() + this.monthsInYear(date) - this.firstMonth) %
+ this.monthsInYear(date) + this.minMonth;
+ },
+
+ /** Calculate actual month from ordinal position, starting from minMonth.
+ @memberof BaseCalendar
+ @param year {number} The year to examine.
+ @param ord {number} The month's ordinal position.
+ @return {number} The month's number.
+ @throws Error if an invalid year/month. */
+ fromMonthOfYear: function(year, ord) {
+ var m = (ord + this.firstMonth - 2 * this.minMonth) %
+ this.monthsInYear(year) + this.minMonth;
+ this._validate(year, m, this.minDay,
+ $.calendars.local.invalidMonth || $.calendars.regionalOptions[''].invalidMonth);
+ return m;
+ },
+
+ /** Retrieve the number of days in a year.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of days.
+ @throws Error if an invalid year or a different calendar used. */
+ daysInYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return (this.leapYear(date) ? 366 : 365);
+ },
+
+ /** Retrieve the day of the year for a date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The day of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ dayOfYear: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return date.toJD() - this.newDate(date.year(),
+ this.fromMonthOfYear(date.year(), this.minMonth), this.minDay).toJD() + 1;
+ },
+
+ /** Retrieve the number of days in a week.
+ @memberof BaseCalendar
+ @return {number} The number of days. */
+ daysInWeek: function() {
+ return 7;
+ },
+
+ /** Retrieve the day of the week for a date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The day of the week: 0 to number of days - 1.
+ @throws Error if an invalid date or a different calendar used. */
+ dayOfWeek: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return (Math.floor(this.toJD(date)) + 2) % this.daysInWeek();
+ },
+
+ /** Retrieve additional information about a date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {object} Additional information - contents depends on calendar.
+ @throws Error if an invalid date or a different calendar used. */
+ extraInfo: function(year, month, day) {
+ this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return {};
+ },
+
+ /** Add period(s) to a date.
+ Cater for no year zero.
+ @memberof BaseCalendar
+ @param date {CDate} The starting date.
+ @param offset {number} The number of periods to adjust by.
+ @param period {string} One of 'y' for year, 'm' for month, 'w' for week, 'd' for day.
+ @return {CDate} The updated date.
+ @throws Error if a different calendar used. */
+ add: function(date, offset, period) {
+ this._validate(date, this.minMonth, this.minDay,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return this._correctAdd(date, this._add(date, offset, period), offset, period);
+ },
+
+ /** Add period(s) to a date.
+ @memberof BaseCalendar
+ @private
+ @param date {CDate} The starting date.
+ @param offset {number} The number of periods to adjust by.
+ @param period {string} One of 'y' for year, 'm' for month, 'w' for week, 'd' for day.
+ @return {CDate} The updated date. */
+ _add: function(date, offset, period) {
+ this._validateLevel++;
+ if (period === 'd' || period === 'w') {
+ var jd = date.toJD() + offset * (period === 'w' ? this.daysInWeek() : 1);
+ var d = date.calendar().fromJD(jd);
+ this._validateLevel--;
+ return [d.year(), d.month(), d.day()];
+ }
+ try {
+ var y = date.year() + (period === 'y' ? offset : 0);
+ var m = date.monthOfYear() + (period === 'm' ? offset : 0);
+ var d = date.day();// + (period === 'd' ? offset : 0) +
+ //(period === 'w' ? offset * this.daysInWeek() : 0);
+ var resyncYearMonth = function(calendar) {
+ while (m < calendar.minMonth) {
+ y--;
+ m += calendar.monthsInYear(y);
+ }
+ var yearMonths = calendar.monthsInYear(y);
+ while (m > yearMonths - 1 + calendar.minMonth) {
+ y++;
+ m -= yearMonths;
+ yearMonths = calendar.monthsInYear(y);
+ }
+ };
+ if (period === 'y') {
+ if (date.month() !== this.fromMonthOfYear(y, m)) { // Hebrew
+ m = this.newDate(y, date.month(), this.minDay).monthOfYear();
+ }
+ m = Math.min(m, this.monthsInYear(y));
+ d = Math.min(d, this.daysInMonth(y, this.fromMonthOfYear(y, m)));
+ }
+ else if (period === 'm') {
+ resyncYearMonth(this);
+ d = Math.min(d, this.daysInMonth(y, this.fromMonthOfYear(y, m)));
+ }
+ var ymd = [y, this.fromMonthOfYear(y, m), d];
+ this._validateLevel--;
+ return ymd;
+ }
+ catch (e) {
+ this._validateLevel--;
+ throw e;
+ }
+ },
+
+ /** Correct a candidate date after adding period(s) to a date.
+ Handle no year zero if necessary.
+ @memberof BaseCalendar
+ @private
+ @param date {CDate} The starting date.
+ @param ymd {number[]} The added date.
+ @param offset {number} The number of periods to adjust by.
+ @param period {string} One of 'y' for year, 'm' for month, 'w' for week, 'd' for day.
+ @return {CDate} The updated date. */
+ _correctAdd: function(date, ymd, offset, period) {
+ if (!this.hasYearZero && (period === 'y' || period === 'm')) {
+ if (ymd[0] === 0 || // In year zero
+ (date.year() > 0) !== (ymd[0] > 0)) { // Crossed year zero
+ var adj = {y: [1, 1, 'y'], m: [1, this.monthsInYear(-1), 'm'],
+ w: [this.daysInWeek(), this.daysInYear(-1), 'd'],
+ d: [1, this.daysInYear(-1), 'd']}[period];
+ var dir = (offset < 0 ? -1 : +1);
+ ymd = this._add(date, offset * adj[0] + dir * adj[1], adj[2]);
+ }
+ }
+ return date.date(ymd[0], ymd[1], ymd[2]);
+ },
+
+ /** Set a portion of the date.
+ @memberof BaseCalendar
+ @param date {CDate} The starting date.
+ @param value {number} The new value for the period.
+ @param period {string} One of 'y' for year, 'm' for month, 'd' for day.
+ @return {CDate} The updated date.
+ @throws Error if an invalid date or a different calendar used. */
+ set: function(date, value, period) {
+ this._validate(date, this.minMonth, this.minDay,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ var y = (period === 'y' ? value : date.year());
+ var m = (period === 'm' ? value : date.month());
+ var d = (period === 'd' ? value : date.day());
+ if (period === 'y' || period === 'm') {
+ d = Math.min(d, this.daysInMonth(y, m));
+ }
+ return date.date(y, m, d);
+ },
+
+ /** Determine whether a date is valid for this calendar.
+ @memberof BaseCalendar
+ @param year {number} The year to examine.
+ @param month {number} The month to examine.
+ @param day {number} The day to examine.
+ @return {boolean} true if a valid date, false if not. */
+ isValid: function(year, month, day) {
+ this._validateLevel++;
+ var valid = (this.hasYearZero || year !== 0);
+ if (valid) {
+ var date = this.newDate(year, month, this.minDay);
+ valid = (month >= this.minMonth && month - this.minMonth < this.monthsInYear(date)) &&
+ (day >= this.minDay && day - this.minDay < this.daysInMonth(date));
+ }
+ this._validateLevel--;
+ return valid;
+ },
+
+ /** Convert the date to a standard (Gregorian) JavaScript Date.
+ @memberof BaseCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {Date} The equivalent JavaScript date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJSDate: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ return $.calendars.instance().fromJD(this.toJD(date)).toJSDate();
+ },
+
+ /** Convert the date from a standard (Gregorian) JavaScript Date.
+ @memberof BaseCalendar
+ @param jsd {Date} The JavaScript date.
+ @return {CDate} The equivalent calendar date. */
+ fromJSDate: function(jsd) {
+ return this.fromJD($.calendars.instance().fromJSDate(jsd).toJD());
+ },
+
+ /** Check that a candidate date is from the same calendar and is valid.
+ @memberof BaseCalendar
+ @private
+ @param year {CDate|number} The date to validate or the year to validate.
+ @param [month] {number} The month to validate.
+ @param [day] {number} The day to validate.
+ @param error {string} Rrror message if invalid.
+ @throws Error if different calendars used or invalid date. */
+ _validate: function(year, month, day, error) {
+ if (year.year) {
+ if (this._validateLevel === 0 && this.name !== year.calendar().name) {
+ throw ($.calendars.local.differentCalendars || $.calendars.regionalOptions[''].differentCalendars).
+ replace(/\{0\}/, this.local.name).replace(/\{1\}/, year.calendar().local.name);
+ }
+ return year;
+ }
+ try {
+ this._validateLevel++;
+ if (this._validateLevel === 1 && !this.isValid(year, month, day)) {
+ throw error.replace(/\{0\}/, this.local.name);
+ }
+ var date = this.newDate(year, month, day);
+ this._validateLevel--;
+ return date;
+ }
+ catch (e) {
+ this._validateLevel--;
+ throw e;
+ }
+ }
+ });
+
+ /** Implementation of the Proleptic Gregorian Calendar.
+ See http://en.wikipedia.org/wiki/Gregorian_calendar
+ and http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar .
+ @class GregorianCalendar
+ @augments BaseCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function GregorianCalendar(language) {
+ this.local = this.regionalOptions[language] || this.regionalOptions[''];
+ }
+
+ GregorianCalendar.prototype = new BaseCalendar;
+
+ $.extend(GregorianCalendar.prototype, {
+ /** The calendar name.
+ @memberof GregorianCalendar */
+ name: 'Gregorian',
+ /** Julian date of start of Gregorian epoch: 1 January 0001 CE.
+ @memberof GregorianCalendar */
+ jdEpoch: 1721425.5,
+ /** Days per month in a common year.
+ @memberof GregorianCalendar */
+ daysPerMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
+ /** true if has a year zero, false if not.
+ @memberof GregorianCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof GregorianCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof GregorianCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof GregorianCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof GregorianCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['January', 'February', 'March', 'April', 'May', 'June',
+ 'July', 'August', 'September', 'October', 'November', 'December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
+ digits: null,
+ dateFormat: 'mm/dd/yyyy',
+ firstDay: 0,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ var year = date.year() + (date.year() < 0 ? 1 : 0); // No year zero
+ return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
+ },
+
+ /** Determine the week of the year for a date - ISO 8601.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year, starting from 1.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Thursday of this week starting on Monday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(4 - (checkDate.dayOfWeek() || 7), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay,
+ $.calendars.local.invalidMonth || $.calendars.regionalOptions[''].invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 2 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return (this.dayOfWeek(year, month, day) || 7) < 6;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ year = date.year();
+ month = date.month();
+ day = date.day();
+ if (year < 0) { year++; } // No year zero
+ // Jean Meeus algorithm, "Astronomical Algorithms", 1991
+ if (month < 3) {
+ month += 12;
+ year--;
+ }
+ var a = Math.floor(year / 100);
+ var b = 2 - a + Math.floor(a / 4);
+ return Math.floor(365.25 * (year + 4716)) +
+ Math.floor(30.6001 * (month + 1)) + day + b - 1524.5;
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof GregorianCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ // Jean Meeus algorithm, "Astronomical Algorithms", 1991
+ var z = Math.floor(jd + 0.5);
+ var a = Math.floor((z - 1867216.25) / 36524.25);
+ a = z + 1 + a - Math.floor(a / 4);
+ var b = a + 1524;
+ var c = Math.floor((b - 122.1) / 365.25);
+ var d = Math.floor(365.25 * c);
+ var e = Math.floor((b - d) / 30.6001);
+ var day = b - d - Math.floor(e * 30.6001);
+ var month = e - (e > 13.5 ? 13 : 1);
+ var year = c - (month > 2.5 ? 4716 : 4715);
+ if (year <= 0) { year--; } // No year zero
+ return this.newDate(year, month, day);
+ },
+
+ /** Convert this date to a standard (Gregorian) JavaScript Date.
+ @memberof GregorianCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {Date} The equivalent JavaScript date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJSDate: function(year, month, day) {
+ var date = this._validate(year, month, day,
+ $.calendars.local.invalidDate || $.calendars.regionalOptions[''].invalidDate);
+ var jsd = new Date(date.year(), date.month() - 1, date.day());
+ jsd.setHours(0);
+ jsd.setMinutes(0);
+ jsd.setSeconds(0);
+ jsd.setMilliseconds(0);
+ // Hours may be non-zero on daylight saving cut-over:
+ // > 12 when midnight changeover, but then cannot generate
+ // midnight datetime, so jump to 1AM, otherwise reset.
+ jsd.setHours(jsd.getHours() > 12 ? jsd.getHours() + 2 : 0);
+ return jsd;
+ },
+
+ /** Create a new date from a standard (Gregorian) JavaScript Date.
+ @memberof GregorianCalendar
+ @param jsd {Date} The JavaScript date to convert.
+ @return {CDate} The equivalent date. */
+ fromJSDate: function(jsd) {
+ return this.newDate(jsd.getFullYear(), jsd.getMonth() + 1, jsd.getDate());
+ }
+ });
+
+ // Singleton manager
+ $.calendars = new Calendars();
+
+ // Date template
+ $.calendars.cdate = CDate;
+
+ // Base calendar template
+ $.calendars.baseCalendar = BaseCalendar;
+
+ // Gregorian calendar implementation
+ $.calendars.calendars.gregorian = GregorianCalendar;
+
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.julian.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.julian.js
new file mode 100644
index 0000000..efa657d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.julian.js
@@ -0,0 +1,169 @@
+/* http://keith-wood.name/calendars.html
+ Julian calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Julian calendar.
+ Based on code from http://www.fourmilab.ch/documents/calendar/ .
+ See also http://en.wikipedia.org/wiki/Julian_calendar .
+ @class JulianCalendar
+ @augments BaseCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function JulianCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ JulianCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(JulianCalendar.prototype, {
+ /** The calendar name.
+ @memberof JulianCalendar */
+ name: 'Julian',
+ /** Julian date of start of Julian epoch: 1 January 0001 AD = 30 December 0001 BCE.
+ @memberof JulianCalendar */
+ jdEpoch: 1721423.5,
+ /** Days per month in a common year.
+ @memberof JulianCalendar */
+ daysPerMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
+ /** true if has a year zero, false if not.
+ @memberof JulianCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof JulianCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof JulianCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof JulianCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof JulianCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Julian',
+ epochs: ['BC', 'AD'],
+ monthNames: ['January', 'February', 'March', 'April', 'May', 'June',
+ 'July', 'August', 'September', 'October', 'November', 'December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
+ digits: null,
+ dateFormat: 'mm/dd/yyyy',
+ firstDay: 0,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof JulianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ var year = (date.year() < 0 ? date.year() + 1 : date.year()); // No year zero
+ return (year % 4) === 0;
+ },
+
+ /** Determine the week of the year for a date - ISO 8601.
+ @memberof JulianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Thursday of this week starting on Monday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(4 - (checkDate.dayOfWeek() || 7), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof JulianCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 2 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof JulianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} True if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return (this.dayOfWeek(year, month, day) || 7) < 6;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof JulianCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ year = date.year();
+ month = date.month();
+ day = date.day();
+ if (year < 0) { year++; } // No year zero
+ // Jean Meeus algorithm, "Astronomical Algorithms", 1991
+ if (month <= 2) {
+ year--;
+ month += 12;
+ }
+ return Math.floor(365.25 * (year + 4716)) +
+ Math.floor(30.6001 * (month + 1)) + day - 1524.5;
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof JulianCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ // Jean Meeus algorithm, "Astronomical Algorithms", 1991
+ var a = Math.floor(jd + 0.5);
+ var b = a + 1524;
+ var c = Math.floor((b - 122.1) / 365.25);
+ var d = Math.floor(365.25 * c);
+ var e = Math.floor((b - d) / 30.6001);
+ var month = e - Math.floor(e < 14 ? 1 : 13);
+ var year = c - Math.floor(month > 2 ? 4716 : 4715);
+ var day = b - d - Math.floor(30.6001 * e);
+ if (year <= 0) { year--; } // No year zero
+ return this.newDate(year, month, day);
+ }
+ });
+
+ // Julian calendar implementation
+ $.calendars.calendars.julian = JulianCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.julian.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.julian.min.js
new file mode 100644
index 0000000..36daae9
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.julian.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Julian calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function JulianCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}JulianCalendar.prototype=new $.calendars.baseCalendar;$.extend(JulianCalendar.prototype,{name:'Julian',jdEpoch:1721423.5,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Julian',epochs:['BC','AD'],monthNames:['January','February','March','April','May','June','July','August','September','October','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:['Su','Mo','Tu','We','Th','Fr','Sa'],digits:null,dateFormat:'mm/dd/yyyy',firstDay:0,isRTL:false}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);var a=(b.year()<0?b.year()+1:b.year());return(a%4)===0},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(4-(d.dayOfWeek()||7),'d');return Math.floor((d.dayOfYear()-1)/7)+1},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===2&&this.leapYear(c.year())?1:0)},weekDay:function(a,b,c){return(this.dayOfWeek(a,b,c)||7)<6},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);a=d.year();b=d.month();c=d.day();if(a<0){a++}if(b<=2){a--;b+=12}return Math.floor(365.25*(a+4716))+Math.floor(30.6001*(b+1))+c-1524.5},fromJD:function(f){var a=Math.floor(f+0.5);var b=a+1524;var c=Math.floor((b-122.1)/365.25);var d=Math.floor(365.25*c);var e=Math.floor((b-d)/30.6001);var g=e-Math.floor(e<14?1:13);var h=c-Math.floor(g>2?4716:4715);var i=b-d-Math.floor(30.6001*e);if(h<=0){h--}return this.newDate(h,g,i)}});$.calendars.calendars.julian=JulianCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.lang.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.lang.js
new file mode 100644
index 0000000..1884a5a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.lang.js
@@ -0,0 +1,1854 @@
+/* http://keith-wood.name/calendars.html
+ Calendars localisations for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+/* http://keith-wood.name/calendars.html
+ Afrikaans localisation for Gregorian/Julian calendars for jQuery.
+ Written by Renier Pretorius and Ruediger Thiede. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['af'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januarie','Februarie','Maart','April','Mei','Junie',
+ 'Julie','Augustus','September','Oktober','November','Desember'],
+ monthNamesShort: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
+ dayNames: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
+ dayNamesShort: ['Son', 'Maan', 'Dins', 'Woens', 'Don', 'Vry', 'Sat'],
+ dayNamesMin: ['So','Ma','Di','Wo','Do','Vr','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['af'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['af'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Amharic (አማርኛ) localisation for Gregorian/Julian calendars for jQuery.
+ Leyu Sisay. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['am'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ጃንዋሪ','ፈብርዋሪ','ማርች','አፕሪል','ሜይ','ጁን',
+ 'ጁላይ','ኦገስት','ሴፕቴምበር','ኦክቶበር','ኖቬምበር','ዲሴምበር'],
+ monthNamesShort: ['ጃንዋ', 'ፈብር', 'ማርች', 'አፕሪ', 'ሜይ', 'ጁን',
+ 'ጁላይ', 'ኦገስ', 'ሴፕቴ', 'ኦክቶ', 'ኖቬም', 'ዲሴም'],
+ dayNames: ['ሰንዴይ', 'መንዴይ', 'ትዩስዴይ', 'ዌንስዴይ', 'ተርሰዴይ', 'ፍራይዴይ', 'ሳተርዴይ'],
+ dayNamesShort: ['ሰንዴ', 'መንዴ', 'ትዩስ', 'ዌንስ', 'ተርሰ', 'ፍራይ', 'ሳተር'],
+ dayNamesMin: ['ሰን', 'መን', 'ትዩ', 'ዌን', 'ተር', 'ፍራ', 'ሳተ'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['am'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['am'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Algerian (and Tunisian) Arabic localisation for Gregorian/Julian calendars for jQuery.
+ Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar-DZ'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان',
+ 'جويلية', 'أوت', 'سبتمبر','أكتوبر', 'نوفمبر', 'ديسمبر'],
+ monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
+ dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 6,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ar-DZ'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar-DZ'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for Gregorian/Julian calendars for jQuery.
+ Mahmoud Khaled -- mahmoud.khaled@badrit.com
+ NOTE: monthNames are the new months names */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar-EG'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['يناير', 'فبراير', 'مارس', 'إبريل', 'مايو', 'يونية',
+ 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
+ monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
+ dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesShort: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ dayNamesMin: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 6,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ar-EG'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar-EG'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for Gregorian/Julian calendars for jQuery.
+ Khaled Al Horani -- خالد الحوراني -- koko.dw@gmail.com. */
+/* NOTE: monthNames are the original months names and they are the Arabic names,
+ not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
+ 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
+ dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesMin: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ digits: $.calendars.substituteDigits(['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩']),
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 6,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ar'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ar'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Azerbaijani localisation for Gregorian/Julian calendars for jQuery.
+ Written by Jamil Najafov (necefov33@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['az'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun',
+ 'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],
+ monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun',
+ 'İyul','Avq','Sen','Okt','Noy','Dek'],
+ dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'],
+ dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'],
+ dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['az'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['az'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Bulgarian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Stoyan Kyosev (http://svest.org). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['bg'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
+ 'Юли','Август','Септември','Октомври','Ноември','Декември'],
+ monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
+ 'Юли','Авг','Сеп','Окт','Нов','Дек'],
+ dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
+ dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
+ dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['bg'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['bg'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Bosnian localisation for Gregorian/Julian calendars for jQuery.
+ Kenan Konjo. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['bs'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Mart','April','Maj','Juni',
+ 'Juli','August','Septembar','Oktobar','Novembar','Decembar'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
+ dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ digits: null,
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['bs'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['bs'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Catalan localisation for Gregorian/Julian calendars for jQuery.
+ Writers: (joan.leon@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ca'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Gener','Febrer','Març','Abril','Maig','Juny',
+ 'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],
+ monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun',
+ 'Jul','Ago','Set','Oct','Nov','Des'],
+ dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],
+ dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
+ dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ca'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ca'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Czech localisation for Gregorian/Julian calendars for jQuery.
+ Written by Tomas Muller (tomas@tomas-muller.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['cs'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['leden','únor','březen','duben','květen','červen',
+ 'červenec','srpen','září','říjen','listopad','prosinec'],
+ monthNamesShort: ['led','úno','bře','dub','kvě','čer',
+ 'čvc','srp','zář','říj','lis','pro'],
+ dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
+ dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
+ dayNamesMin: ['ne','po','út','st','čt','pá','so'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['cs'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['cs'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Danish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Jan Christensen ( deletestuff@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['da'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
+ 'Juli','August','September','Oktober','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
+ dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
+ dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
+ digits: null,
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['da'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['da'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Swiss-German localisation for Gregorian/Julian calendars for jQuery.
+ Written by Douglas Jose & Juerg Meier. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['de-CH'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','März','April','Mai','Juni',
+ 'Juli','August','September','Oktober','November','Dezember'],
+ monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dez'],
+ dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
+ dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['de-CH'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['de-CH'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ German localisation for Gregorian/Julian calendars for jQuery.
+ Written by Milian Wolff (mail@milianw.de). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['de'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','März','April','Mai','Juni',
+ 'Juli','August','September','Oktober','November','Dezember'],
+ monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dez'],
+ dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
+ dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['de'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['de'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Greek localisation for Gregorian/Julian calendars for jQuery.
+ Written by Alex Cicovic (http://www.alexcicovic.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['el'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
+ 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],
+ monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν',
+ 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],
+ dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],
+ dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],
+ dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['el'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['el'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ English/Australia localisation for Gregorian/Julian calendars for jQuery.
+ Based on en-GB. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-AU'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['January','February','March','April','May','June',
+ 'July','August','September','October','November','December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['en-AU'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-AU'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ English/UK localisation for Gregorian/Julian calendars for jQuery.
+ Stuart. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-GB'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['January','February','March','April','May','June',
+ 'July','August','September','October','November','December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['en-GB'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-GB'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ English/New Zealand localisation for Gregorian/Julian calendars for jQuery.
+ Based on en-GB. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-NZ'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['January','February','March','April','May','June',
+ 'July','August','September','October','November','December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['en-NZ'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['en-NZ'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Esperanto localisation for Gregorian/Julian calendars for jQuery.
+ Written by Olivier M. (olivierweb@ifrance.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['eo'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
+ 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aŭg','Sep','Okt','Nov','Dec'],
+ dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],
+ dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],
+ dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['eo'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['eo'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Spanish/Argentina localisation for Gregorian/Julian calendars for jQuery.
+ Written by Esteban Acosta Villafane (esteban.acosta@globant.com) of Globant (http://www.globant.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es-AR'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
+ 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
+ monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
+ 'Jul','Ago','Sep','Oct','Nov','Dic'],
+ dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
+ dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
+ dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['es-AR'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es-AR'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Spanish/Perú localisation for Gregorian/Julian calendars for jQuery.
+ Written by Fischer Tirado (fishdev@globant.com) of ASIX (http://www.asixonline.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es-PE'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
+ 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
+ monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
+ 'Jul','Ago','Sep','Oct','Nov','Dic'],
+ dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
+ dayNamesShort: ['Dom','Lun','Mar','Mié','Jue','Vie','Sab'],
+ dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['es-PE'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es-PE'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Spanish localisation for Gregorian/Julian calendars for jQuery.
+ Traducido por Vester (xvester@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
+ 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
+ monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
+ 'Jul','Ago','Sep','Oct','Nov','Dic'],
+ dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
+ dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
+ dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['es'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['es'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Estonian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Mart Sõmermaa (mrts.pydev at gmail com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['et'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
+ 'Juuli','August','September','Oktoober','November','Detsember'],
+ monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
+ 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
+ dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
+ dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
+ dayNamesMin: ['P','E','T','K','N','R','L'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['et'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['et'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Basque localisation for Gregorian/Julian calendars for jQuery.
+ Karrikas-ek itzulia (karrikas@karrikas.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['eu'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Urtarrila','Otsaila','Martxoa','Apirila','Maiatza','Ekaina',
+ 'Uztaila','Abuztua','Iraila','Urria','Azaroa','Abendua'],
+ monthNamesShort: ['Urt','Ots','Mar','Api','Mai','Eka',
+ 'Uzt','Abu','Ira','Urr','Aza','Abe'],
+ dayNames: ['Igandea','Astelehena','Asteartea','Asteazkena','Osteguna','Ostirala','Larunbata'],
+ dayNamesShort: ['Iga','Ast','Ast','Ast','Ost','Ost','Lar'],
+ dayNamesMin: ['Ig','As','As','As','Os','Os','La'],
+ digits: null,
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['eu'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['eu'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Farsi/Persian localisation for Gregorian/Julian calendars for jQuery.
+ Javad Mowlanezhad -- jmowla@gmail.com */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fa'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
+ 'مهر','آبان','آذر','دي','بهمن','اسفند'],
+ monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
+ dayNames: ['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
+ dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
+ dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
+ digits: $.calendars.substituteDigits(['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹']),
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 6,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fa'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fa'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Finnish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Harri Kilpiö (harrikilpio@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fi'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu',
+ 'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
+ monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä',
+ 'Heinä','Elo','Syys','Loka','Marras','Joulu'],
+ dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
+ dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
+ dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fi'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fi'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Faroese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Sverri Mohr Olsen, sverrimo@gmail.com */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fo'] = {
+ name: 'Gregorianskur',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
+ 'Juli','August','September','Oktober','November','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Des'],
+ dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'],
+ dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],
+ dayNamesMin: ['Su','Má','Tý','Mi','Hó','Fr','Le'],
+ digits: null,
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fo'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fo'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Swiss French localisation for Gregorian/Julian calendars for jQuery.
+ Written by Martin Voelkle (martin.voelkle@e-tc.ch). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fr-CH'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
+ 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
+ monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
+ 'Jul','Aoû','Sep','Oct','Nov','Déc'],
+ dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
+ dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
+ dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fr-CH'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fr-CH'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ French localisation for Gregorian/Julian calendars for jQuery.
+ Stéphane Nahmani (sholby@sholby.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fr'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
+ 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
+ monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
+ 'Jul','Aoû','Sep','Oct','Nov','Déc'],
+ dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
+ dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
+ dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['fr'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['fr'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Iniciacion en galego para a extensión 'UI date picker' para jQuery.
+ Traducido por Manuel (McNuel@gmx.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['gl'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño',
+ 'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'],
+ monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ',
+ 'Xul','Ago','Set','Out','Nov','Dec'],
+ dayNames: ['Domingo','Luns','Martes','Mércores','Xoves','Venres','Sábado'],
+ dayNamesShort: ['Dom','Lun','Mar','Mér','Xov','Ven','Sáb'],
+ dayNamesMin: ['Do','Lu','Ma','Me','Xo','Ve','Sá'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['gl'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['gl'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Gujarati (ગુજરાતી) localisation for Gregorian/Julian calendars for jQuery.
+ Naymesh Mistry (naymesh@yahoo.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['gu'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['જાન્યુઆરી','ફેબ્રુઆરી','માર્ચ','એપ્રિલ','મે','જૂન',
+ 'જુલાઈ','ઑગસ્ટ','સપ્ટેમ્બર','ઑક્ટોબર','નવેમ્બર','ડિસેમ્બર'],
+ monthNamesShort: ['જાન્યુ','ફેબ્રુ','માર્ચ','એપ્રિલ','મે','જૂન',
+ 'જુલાઈ','ઑગસ્ટ','સપ્ટે','ઑક્ટો','નવે','ડિસે'],
+ dayNames: ['રવિવાર','સોમવાર','મંગળવાર','બુધવાર','ગુરુવાર','શુક્રવાર','શનિવાર'],
+ dayNamesShort: ['રવિ','સોમ','મંગળ','બુધ','ગુરુ','શુક્ર','શનિ'],
+ dayNamesMin: ['ર','સો','મં','બુ','ગુ','શુ','શ'],
+ digits: $.calendars.substituteDigits(['૦', '૧', '૨', '૩', '૪', '૫', '૬', '૭', '૮', '૯']),
+ dateFormat: 'dd-M-yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['gu'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['gu'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Hebrew localisation for Gregorian/Julian calendars for jQuery.
+ Written by Amir Hardon (ahardon at gmail dot com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['he'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
+ 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
+ monthNamesShort: ['1','2','3','4','5','6',
+ '7','8','9','10','11','12'],
+ dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
+ dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['he'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['he'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Hindi INDIA localisation for Gregorian/Julian calendars for jQuery.
+ Written by Pawan Kumar Singh. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hi-IN'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['जनवरी',' फरवरी', 'मार्च', 'अप्रैल', 'मई', 'जून','जुलाई', 'अगस्त', 'सितम्बर', 'अक्टूबर', 'नवम्बर', 'दिसम्बर'],
+ monthNamesShort: ['जन', 'फर', 'मार्च','अप्रै', 'मई', 'जून','जुलाई', 'अग', 'सित', 'अक्टू', 'नव', 'दिस'],
+ dayNames: ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार'],
+ dayNamesShort: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'],
+ dayNamesMin: ['र','सो','मं','बु','गु','शु','श'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['hi-IN'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hi-IN'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Croatian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Vjekoslav Nesek. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hr'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
+ 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
+ monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
+ 'Srp','Kol','Ruj','Lis','Stu','Pro'],
+ dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
+ dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy.',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['hr'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hr'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Hungarian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hu'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
+ 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
+ monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
+ 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
+ dayNames: ['Vasárnap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
+ dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
+ dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['hu'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hu'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Armenian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Levon Zakaryan (levon.zakaryan@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hy'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս',
+ 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'],
+ monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս',
+ 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'],
+ dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],
+ dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
+ dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['hy'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['hy'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Indonesian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Deden Fathurahman (dedenf@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['id'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
+ 'Juli','Agustus','September','Oktober','Nopember','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
+ 'Jul','Agus','Sep','Okt','Nop','Des'],
+ dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
+ dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
+ dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['id'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['id'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Icelandic localisation for Gregorian/Julian calendars for jQuery.
+ Written by Haukur H. Thorsson (haukur@eskill.is). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['is'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janúar','Febrúar','Mars','Apríl','Maí','Júní',
+ 'Júlí','Ágúst','September','Október','Nóvember','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maí','Jún',
+ 'Júl','Ágú','Sep','Okt','Nóv','Des'],
+ dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'],
+ dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
+ dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['is'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['is'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Italian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Apaella (apaella@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['it'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
+ 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
+ monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
+ 'Lug','Ago','Set','Ott','Nov','Dic'],
+ dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
+ dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
+ dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['it'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['it'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Japanese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Kentaro SATO (kentaro@ranvis.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ja'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['1月','2月','3月','4月','5月','6月',
+ '7月','8月','9月','10月','11月','12月'],
+ monthNamesShort: ['1月','2月','3月','4月','5月','6月',
+ '7月','8月','9月','10月','11月','12月'],
+ dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
+ dayNamesShort: ['日','月','火','水','木','金','土'],
+ dayNamesMin: ['日','月','火','水','木','金','土'],
+ digits: $.calendars.substituteChineseDigits(
+ ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'], ['', '十', '百', '千']),
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ja'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ja'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Georgian localisation for Gregorian/Julian calendars for jQuery.
+ Andrei Gorbushkin. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ka'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['იანვარი','თებერვალი','მარტი','აპრილი','მაისი','ივნისი',
+ 'ივლისი','აგვისტო','სექტემბერი','ოქტომბერი','ნოემბერი','დეკემბერი'],
+ monthNamesShort: ['იან', 'თებ', 'მარ', 'აპრ', 'მაისი', 'ივნ',
+ 'ივლ', 'აგვ', 'სექ', 'ოქტ', 'ნოე', 'დეკ'],
+ dayNames: ['კვირა', 'ორშაბათი', 'სამშაბათი', 'ოთხშაბათი', 'ხუთშაბათი', 'პარასკევი', 'შაბათი'],
+ dayNamesShort: ['კვ', 'ორშ', 'სამ', 'ოთხ', 'ხუთ', 'პარ', 'შაბ'],
+ dayNamesMin: ['კვ','ორ','სმ','ოთ', 'ხშ', 'პრ','შბ'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ka'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ka'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Khmer initialisation for Gregorian/Julian calendars for jQuery.
+ Written by Sovichet Tep (sovichet.tep@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['km'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ខែមករា','ខែកុម្ភៈ','ខែមិនា','ខែមេសា','ខែឧសភា','ខែមិថុនា',
+ 'ខែកក្កដា','ខែសីហា','ខែកញ្ញា','ខែតុលា','ខែវិច្ឆិកា','ខែធ្នូ'],
+ monthNamesShort: ['មក', 'កុ', 'មិនា', 'មេ', 'ឧស', 'មិថុ',
+ 'កក្ក', 'សី', 'កញ្ញា', 'តុលា', 'វិច្ឆិ', 'ធ្នូ'],
+ dayNames: ['ថ្ងៃអាទិត្យ', 'ថ្ងៃចន្ទ', 'ថ្ងៃអង្គារ', 'ថ្ងៃពុធ', 'ថ្ងៃព្រហស្បត្តិ៍', 'ថ្ងៃសុក្រ', 'ថ្ងៃសៅរ៍'],
+ dayNamesShort: ['អា', 'ចន្ទ', 'អង្គ', 'ពុធ', 'ព្រហ', 'សុ', 'សៅរ៍'],
+ dayNamesMin: ['អា','ច','អ','ពុ','ព្រ','សុ','ស'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['km'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['km'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Korean localisation for Gregorian/Julian calendars for jQuery.
+ Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ko'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['1월','2월','3월','4월','5월','6월',
+ '7월','8월','9월','10월','11월','12월'],
+ monthNamesShort: ['1월','2월','3월','4월','5월','6월',
+ '7월','8월','9월','10월','11월','12월'],
+ dayNames: ['일요일','월요일','화요일','수요일','목요일','금요일','토요일'],
+ dayNamesShort: ['일','월','화','수','목','금','토'],
+ dayNamesMin: ['일','월','화','수','목','금','토'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ko'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ko'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Lithuanian localisation for Gregorian/Julian calendars for jQuery.
+ Arturas Paleicikas . */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['lt'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
+ 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
+ monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
+ 'Lie','Rugp','Rugs','Spa','Lap','Gru'],
+ dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
+ dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
+ dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['lt'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['lt'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Latvian localisation for Gregorian/Julian calendars for jQuery.
+ Arturas Paleicikas . */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['lv'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs',
+ 'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jūn',
+ 'Jūl','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
+ dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
+ dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
+ digits: null,
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['lv'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['lv'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Montenegrin localisation for Gregorian/Julian calendars for jQuery.
+ By Miloš Milošević - fleka d.o.o. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['me-ME'] = {
+ name: 'Gregorijanski',
+ epochs: ['pne', 'ne'],
+ monthNames: ['Januar','Februar','Mart','April','Maj','Jun',
+ 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun',
+ 'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'],
+ dayNames: ['Neđelja', 'Poneđeljak', 'Utorak', 'Srijeda', 'Četvrtak', 'Petak', 'Subota'],
+ dayNamesShort: ['Neđ', 'Pon', 'Uto', 'Sri', 'Čet', 'Pet', 'Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['me-ME'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['me-ME'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Montenegrin localisation for Gregorian/Julian calendars for jQuery.
+ By Miloš Milošević - fleka d.o.o. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['me'] = {
+ name: 'Грегоријански',
+ epochs: ['пне', 'не'],
+ monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
+ 'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
+ monthNamesShort: ['Јан', 'Феб', 'Мар', 'Апр', 'Мај', 'Јун',
+ 'Јул', 'Авг', 'Сеп', 'Окт', 'Нов', 'Дец'],
+ dayNames: ['Неђеља', 'Понеђељак', 'Уторак', 'Сриједа', 'Четвртак', 'Петак', 'Субота'],
+ dayNamesShort: ['Неђ', 'Пон', 'Уто', 'Сри', 'Чет', 'Пет', 'Суб'],
+ dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['me'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['me'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Malagasy localisation for Gregorian/Julian calendars for jQuery.
+ Fran Boon (fran@aidiq.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mg'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janoary','Febroary','Martsa','Aprily','Mey','Jona',
+ 'Jolay','Aogositra','Septambra','Oktobra','Novambra','Desembra'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mey','Jon',
+ 'Jol','Aog','Sep','Okt','Nov','Des'],
+ dayNames: ['Alahady','Alatsinainy','Talata','Alarobia','Alakamisy','Zoma','Sabotsy'],
+ dayNamesShort: ['Alah','Alat','Tal','Alar','Alak','Zom','Sab'],
+ dayNamesMin: ['Ah','At','Ta','Ar','Ak','Zo','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['mg'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mg'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Македонски MK localisation for Gregorian/Julian calendars for jQuery.
+ Hajan Selmani (hajan [at] live [dot] com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mk'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Јануари','Февруари','Март','Април','Мај','Јуни',
+ 'Јули','Август','Септември','Октомври','Ноември','Декември'],
+ monthNamesShort: ['Јан', 'Фев', 'Мар', 'Апр', 'Мај', 'Јун',
+ 'Јул', 'Авг', 'Сеп', 'Окт', 'Нов', 'Дек'],
+ dayNames: ['Недела', 'Понеделник', 'Вторник', 'Среда', 'Четврток', 'Петок', 'Сабота'],
+ dayNamesShort: ['Нед', 'Пон', 'Вто', 'Сре', 'Чет', 'Пет', 'Саб'],
+ dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Са'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['mk'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mk'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Malayalam localisation for Gregorian/Julian calendars for jQuery.
+ Saji Nediyanchath (saji89@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ml'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ജനുവരി','ഫെബ്രുവരി','മാര്ച്ച്','ഏപ്രില്','മേയ്','ജൂണ്',
+ 'ജൂലൈ','ആഗസ്റ്റ്','സെപ്റ്റംബര്','ഒക്ടോബര്','നവംബര്','ഡിസംബര്'],
+ monthNamesShort: ['ജനു', 'ഫെബ്', 'മാര്', 'ഏപ്രി', 'മേയ്', 'ജൂണ്',
+ 'ജൂലാ', 'ആഗ', 'സെപ്', 'ഒക്ടോ', 'നവം', 'ഡിസ'],
+ dayNames: ['ഞായര്', 'തിങ്കള്', 'ചൊവ്വ', 'ബുധന്', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
+ dayNamesShort: ['ഞായ', 'തിങ്ക', 'ചൊവ്വ', 'ബുധ', 'വ്യാഴം', 'വെള്ളി', 'ശനി'],
+ dayNamesMin: ['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ml'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ml'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Malaysian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ms'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januari','Februari','Mac','April','Mei','Jun',
+ 'Julai','Ogos','September','Oktober','November','Disember'],
+ monthNamesShort: ['Jan','Feb','Mac','Apr','Mei','Jun',
+ 'Jul','Ogo','Sep','Okt','Nov','Dis'],
+ dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'],
+ dayNamesShort: ['Aha','Isn','Sel','Rab','Kha','Jum','Sab'],
+ dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ms'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ms'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Maltese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Chritian Sciberras (uuf6429@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mt'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Jannar','Frar','Marzu','April','Mejju','Ġunju',
+ 'Lulju','Awissu','Settembru','Ottubru','Novembru','Diċembru'],
+ monthNamesShort: ['Jan', 'Fra', 'Mar', 'Apr', 'Mej', 'Ġun',
+ 'Lul', 'Awi', 'Set', 'Ott', 'Nov', 'Diċ'],
+ dayNames: ['Il-Ħadd', 'It-Tnejn', 'It-Tlieta', 'L-Erbgħa', 'Il-Ħamis', 'Il-Ġimgħa', 'Is-Sibt'],
+ dayNamesShort: ['Ħad', 'Tne', 'Tli', 'Erb', 'Ħam', 'Ġim', 'Sib'],
+ dayNamesMin: ['Ħ','T','T','E','Ħ','Ġ','S'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['mt'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['mt'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Dutch/Belgian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Mathias Bynens . */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['nl-BE'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
+ 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
+ monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun',
+ 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
+ dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
+ dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['nl-BE'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['nl-BE'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Dutch localisation for Gregorian/Julian calendars for jQuery.
+ Written by Mathias Bynens . */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['nl'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
+ 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
+ monthNamesShort: ['jan', 'feb', 'maa', 'apr', 'mei', 'jun',
+ 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
+ dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
+ dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
+ dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
+ digits: null,
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['nl'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['nl'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Norwegian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Naimdjon Takhirov (naimdjon@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['no'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
+ 'Juli','August','September','Oktober','November','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mai','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Des'],
+ dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
+ dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
+ dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['no'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['no'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Punjabi localisation for Gregorian/Julian calendars for jQuery.
+ Sarbjit Singh (sanbroz@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pa'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['ਜਨਵਰੀ','ਫ਼ਰਵਰੀ','ਮਾਰਚ','ਅਪ੍ਰੈਲ','ਮਈ','ਜੂਨ',
+ 'ਜੁਲਾਈ','ਅਗਸਤ','ਸਤੰਬਰ','ਅਕਤੂਬਰ','ਨਵੰਬਰ','ਦਸੰਬਰ'],
+ monthNamesShort: ['ਜਨ', 'ਫ਼ਰ', 'ਮਾਰ', 'ਅਪ੍ਰੈ', 'ਮਈ', 'ਜੂਨ', 'ਜੁਲਾ', 'ਅਗ', 'ਸਤੰ', 'ਅਕ', 'ਨਵੰ', 'ਦਸੰ'],
+ dayNames: ['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'],
+ dayNamesShort: ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'],
+ dayNamesMin: ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'],
+ digits: $.calendars.substituteDigits(['੦', '੧', '੨', '੩', '੪', '੫', '੬', '੭', '੮', '੯']),
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['pa'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pa'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Polish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pl'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
+ 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
+ monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
+ 'Lip','Sie','Wrz','Pa','Lis','Gru'],
+ dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
+ dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
+ dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['pl'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pl'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Brazilian Portuguese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Leonildo Costa Silva (leocsilva@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pt-BR'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
+ 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
+ monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
+ 'Jul','Ago','Set','Out','Nov','Dez'],
+ dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],
+ dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
+ dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['pt-BR'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['pt-BR'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Romansh localisation for Gregorian/Julian calendars for jQuery.
+ Yvonne Gienal (yvonne.gienal@educa.ch). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['rm'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur',
+ 'Fanadur','Avust','Settember','October','November','December'],
+ monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer',
+ 'Fan','Avu','Sett','Oct','Nov','Dec'],
+ dayNames: ['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'],
+ dayNamesShort: ['Dum','Gli','Mar','Mes','Gie','Ven','Som'],
+ dayNamesMin: ['Du','Gl','Ma','Me','Gi','Ve','So'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['rm'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['rm'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Romanian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Edmond L. (ll_edmond@walla.com) and Ionut G. Stan (ionut.g.stan@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ro'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie',
+ 'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],
+ monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun',
+ 'Iul', 'Aug', 'Sep', 'Oct', 'Noi', 'Dec'],
+ dayNames: ['Duminică', 'Luni', 'Marti', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
+ dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
+ dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ro'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ro'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Russian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Andrew Stromnov (stromnov@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ru'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
+ 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
+ monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
+ 'Июл','Авг','Сен','Окт','Ноя','Дек'],
+ dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
+ dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
+ dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ru'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ru'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Slovak localisation for Gregorian/Julian calendars for jQuery.
+ Written by Vojtech Rinik (vojto@hmm.sk). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sk'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
+ 'Júl','August','September','Október','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún',
+ 'Júl','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
+ dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
+ dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sk'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sk'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Slovenian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Jaka Jancar (jaka@kubje.org). */
+/* c = č, s = š z = ž C = Č S = Š Z = Ž */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sl'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
+ 'Julij','Avgust','September','Oktober','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Avg','Sep','Okt','Nov','Dec'],
+ dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'],
+ dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],
+ dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sl'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sl'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Albanian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Flakron Bytyqi (flakron@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sq'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor',
+ 'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],
+ monthNamesShort: ['Jan','Shk','Mar','Pri','Maj','Qer',
+ 'Kor','Gus','Sht','Tet','Nën','Dhj'],
+ dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],
+ dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'],
+ dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sq'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sq'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Serbian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Dejan Dimić. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sr-SR'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januar','Februar','Mart','April','Maj','Jun',
+ 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Avg','Sep','Okt','Nov','Dec'],
+ dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'],
+ dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sr-SR'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sr-SR'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Serbian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Dejan Dimić. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sr'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
+ 'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
+ monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун','Јул','Авг','Сеп','Окт','Нов','Дец'],
+ dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],
+ dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],
+ dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sr'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sr'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Swedish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Anders Ekdahl (anders@nomadiz.se). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sv'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
+ 'Juli','Augusti','September','Oktober','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
+ dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
+ dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
+ digits: null,
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['sv'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['sv'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Tamil (UTF-8) localisation for Gregorian/Julian calendars for jQuery.
+ Written by S A Sureshkumar (saskumar@live.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ta'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['தை','மாசி','பங்குனி','சித்திரை','வைகாசி','ஆனி',
+ 'ஆடி','ஆவணி','புரட்டாசி','ஐப்பசி','கார்த்திகை','மார்கழி'],
+ monthNamesShort: ['தை','மாசி','பங்','சித்','வைகா','ஆனி',
+ 'ஆடி','ஆவ','புர','ஐப்','கார்','மார்'],
+ dayNames: ['ஞாயிற்றுக்கிழமை','திங்கட்கிழமை','செவ்வாய்க்கிழமை','புதன்கிழமை','வியாழக்கிழமை','வெள்ளிக்கிழமை','சனிக்கிழமை'],
+ dayNamesShort: ['ஞாயிறு','திங்கள்','செவ்வாய்','புதன்','வியாழன்','வெள்ளி','சனி'],
+ dayNamesMin: ['ஞா','தி','செ','பு','வி','வெ','ச'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ta'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ta'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Telugu localisation for Gregorian/Julian calendars for jQuery.
+ Krishna Srikanth Manda (mandaksk@hotmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['te'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['జనవరి','ఫిబ్రవరి','మార్చి','ఏప్రిల్','మే','జూన్',
+ 'జూలై','ఆగష్టు','సెప్టెంబర్','అక్టోబర్','నవంబర్','డిసెంబర్'],
+ monthNamesShort: ['జన', 'ఫిబ్ర', 'మార్చి', 'ఏప్రి', 'మే', 'జూన్',
+ 'జూలై', 'ఆగ', 'సెప్టె', 'అక్టో', 'నవ', 'డిసె'],
+ dayNames: ['ఆదివారం', 'సోమవారం', 'మంగళవారం', 'బుధవారం', 'గురువారం', 'శుక్రవారం', 'శనివారం'],
+ dayNamesShort: ['ఆది', 'సోమ', 'మంగ', 'బుధ', 'గురు', 'శుక్ర', 'శని'],
+ dayNamesMin: ['ఆ','సో','మ','బు','గు','శు','శ'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['te'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['te'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Thai localisation for Gregorian/Julian calendars for jQuery.
+ Written by pipo (pipo@sixhead.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['th'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
+ 'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
+ monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
+ 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
+ dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
+ dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
+ dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['th'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['th'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Turkish localisation for Gregorian/Julian calendars for jQuery.
+ Written by Izzet Emre Erkan (kara@karalamalar.net). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['tr'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
+ 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
+ monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
+ 'Tem','Ağu','Eyl','Eki','Kas','Ara'],
+ dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
+ dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
+ dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['tr'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['tr'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Tatar localisation for Gregorian/Julian calendars for jQuery.
+ Written by Ирек Хаҗиев (khazirek@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['tt'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Гынвар','Февраль','Март','Апрель','Май','Июнь',
+ 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
+ monthNamesShort: ['Гыйн','Фев','Мар','Апр','Май','Июн',
+ 'Июл','Авг','Сен','Окт','Ноя','Дек'],
+ dayNames: ['якшәмбе','дүшәмбе','сишәмбе','чәршәмбе','пәнҗешәмбе','җомга','шимбә'],
+ dayNamesShort: ['якш','дүш','сиш','чәр','пән','җом','шим'],
+ dayNamesMin: ['Як','Дү','Си','Чә','Пә','Җо','Ши'],
+ digits: null,
+ dateFormat: 'dd.mm.yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['tt'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['tt'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Ukrainian localisation for Gregorian/Julian calendars for jQuery.
+ Written by Maxim Drogobitskiy (maxdao@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['uk'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
+ 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],
+ monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер',
+ 'Лип','Сер','Вер','Жов','Лис','Гру'],
+ dayNames: ['неділя','понеділок','вівторок','середа','четвер','п\'ятниця','субота'],
+ dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'],
+ dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['uk'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['uk'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Urdu localisation for Gregorian/Julian calendars for jQuery.
+ Mansoor Munib -- mansoormunib@gmail.com
+ Thanks to Habib Ahmed, ObaidUllah Anwar. */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ur'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['جنوری','فروری','مارچ','اپریل','مئی','جون',
+ 'جولائی','اگست','ستمبر','اکتوبر','نومبر','دسمبر'],
+ monthNamesShort: ['1','2','3','4','5','6',
+ '7','8','9','10','11','12'],
+ dayNames: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
+ dayNamesShort: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
+ dayNamesMin: ['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],
+ digits: $.calendars.substituteDigits(['٠', '١', '٢', '٣', '۴', '۵', '۶', '۷', '٨', '٩']),
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ firstDay: 1,
+ isRTL: true
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['ur'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['ur'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Vietnamese localisation for Gregorian/Julian calendars for jQuery.
+ Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['vi'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
+ 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],
+ monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6',
+ 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'],
+ dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
+ dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
+ dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['vi'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['vi'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Simplified Chinese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Cloudream (cloudream@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-CN'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['一月','二月','三月','四月','五月','六月',
+ '七月','八月','九月','十月','十一月','十二月'],
+ monthNamesShort: ['一','二','三','四','五','六',
+ '七','八','九','十','十一','十二'],
+ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
+ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
+ dayNamesMin: ['日','一','二','三','四','五','六'],
+ digits: $.calendars.substituteChineseDigits(
+ ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'], ['', '十', '百', '千']),
+ dateFormat: 'yyyy-mm-dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['zh-CN'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-CN'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Hong Kong Chinese localisation for Gregorian/Julian calendars for jQuery.
+ Written by SCCY (samuelcychan@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-HK'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['一月','二月','三月','四月','五月','六月',
+ '七月','八月','九月','十月','十一月','十二月'],
+ monthNamesShort: ['一','二','三','四','五','六',
+ '七','八','九','十','十一','十二'],
+ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
+ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
+ dayNamesMin: ['日','一','二','三','四','五','六'],
+ digits: $.calendars.substituteChineseDigits(
+ ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'], ['', '十', '百', '千']),
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['zh-HK'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-HK'];
+ }
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Traditional Chinese localisation for Gregorian/Julian calendars for jQuery.
+ Written by Ressol (ressol@gmail.com). */
+(function($) {
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-TW'] = {
+ name: 'Gregorian',
+ epochs: ['BCE', 'CE'],
+ monthNames: ['一月','二月','三月','四月','五月','六月',
+ '七月','八月','九月','十月','十一月','十二月'],
+ monthNamesShort: ['一','二','三','四','五','六',
+ '七','八','九','十','十一','十二'],
+ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
+ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
+ dayNamesMin: ['日','一','二','三','四','五','六'],
+ digits: $.calendars.substituteChineseDigits(
+ ['〇', '一', '二', '三', '四', '五', '六', '七', '八', '九'], ['', '十', '百', '千']),
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 1,
+ isRTL: false
+ };
+ if ($.calendars.calendars.julian) {
+ $.calendars.calendars.julian.prototype.regionalOptions['zh-TW'] =
+ $.calendars.calendars.gregorian.prototype.regionalOptions['zh-TW'];
+ }
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.lang.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.lang.min.js
new file mode 100644
index 0000000..08872aa
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.lang.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Calendars localisations for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['af']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januarie','Februarie','Maart','April','Mei','Junie','Julie','Augustus','September','Oktober','November','Desember'],monthNamesShort:['Jan','Feb','Mrt','Apr','Mei','Jun','Jul','Aug','Sep','Okt','Nov','Des'],dayNames:['Sondag','Maandag','Dinsdag','Woensdag','Donderdag','Vrydag','Saterdag'],dayNamesShort:['Son','Maan','Dins','Woens','Don','Vry','Sat'],dayNamesMin:['So','Ma','Di','Wo','Do','Vr','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['af']=$.calendars.calendars.gregorian.prototype.regionalOptions['af']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['am']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['ጃንዋሪ','ፈብርዋሪ','ማርች','አፕሪል','ሜይ','ጁን','ጁላይ','ኦገስት','ሴፕቴምበር','ኦክቶበር','ኖቬምበር','ዲሴምበር'],monthNamesShort:['ጃንዋ','ፈብር','ማርች','አፕሪ','ሜይ','ጁን','ጁላይ','ኦገስ','ሴፕቴ','ኦክቶ','ኖቬም','ዲሴም'],dayNames:['ሰንዴይ','መንዴይ','ትዩስዴይ','ዌንስዴይ','ተርሰዴይ','ፍራይዴይ','ሳተርዴይ'],dayNamesShort:['ሰንዴ','መንዴ','ትዩስ','ዌንስ','ተርሰ','ፍራይ','ሳተር'],dayNamesMin:['ሰን','መን','ትዩ','ዌን','ተር','ፍራ','ሳተ'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['am']=$.calendars.calendars.gregorian.prototype.regionalOptions['am']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ar-DZ']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['جانفي','فيفري','مارس','أفريل','ماي','جوان','جويلية','أوت','سبتمبر','أكتوبر','نوفمبر','ديسمبر'],monthNamesShort:['1','2','3','4','5','6','7','8','9','10','11','12'],dayNames:['الأحد','الاثنين','الثلاثاء','الأربعاء','الخميس','الجمعة','السبت'],dayNamesShort:['الأحد','الاثنين','الثلاثاء','الأربعاء','الخميس','الجمعة','السبت'],dayNamesMin:['الأحد','الاثنين','الثلاثاء','الأربعاء','الخميس','الجمعة','السبت'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:6,isRTL:true};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ar-DZ']=$.calendars.calendars.gregorian.prototype.regionalOptions['ar-DZ']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ar-EG']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['يناير','فبراير','مارس','إبريل','مايو','يونية','يوليو','أغسطس','سبتمبر','أكتوبر','نوفمبر','ديسمبر'],monthNamesShort:['1','2','3','4','5','6','7','8','9','10','11','12'],dayNames:['الأحد','الاثنين','الثلاثاء','الأربعاء','الخميس','الجمعة','السبت'],dayNamesShort:['أحد','اثنين','ثلاثاء','أربعاء','خميس','جمعة','سبت'],dayNamesMin:['أحد','اثنين','ثلاثاء','أربعاء','خميس','جمعة','سبت'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:6,isRTL:true};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ar-EG']=$.calendars.calendars.gregorian.prototype.regionalOptions['ar-EG']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ar']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['كانون الثاني','شباط','آذار','نيسان','آذار','حزيران','تموز','آب','أيلول','تشرين الأول','تشرين الثاني','كانون الأول'],monthNamesShort:['1','2','3','4','5','6','7','8','9','10','11','12'],dayNames:['الأحد','الاثنين','الثلاثاء','الأربعاء','الخميس','الجمعة','السبت'],dayNamesShort:['الأحد','الاثنين','الثلاثاء','الأربعاء','الخميس','الجمعة','السبت'],dayNamesMin:['الأحد','الاثنين','الثلاثاء','الأربعاء','الخميس','الجمعة','السبت'],digits:$.calendars.substituteDigits(['٠','١','٢','٣','٤','٥','٦','٧','٨','٩']),dateFormat:'dd/mm/yyyy',firstDay:6,isRTL:true};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ar']=$.calendars.calendars.gregorian.prototype.regionalOptions['ar']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['az']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Yanvar','Fevral','Mart','Aprel','May','İyun','İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],monthNamesShort:['Yan','Fev','Mar','Apr','May','İyun','İyul','Avq','Sen','Okt','Noy','Dek'],dayNames:['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'],dayNamesShort:['B','Be','Ça','Ç','Ca','C','Ş'],dayNamesMin:['B','B','Ç','С','Ç','C','Ş'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['az']=$.calendars.calendars.gregorian.prototype.regionalOptions['az']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['bg']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Януари','Февруари','Март','Април','Май','Юни','Юли','Август','Септември','Октомври','Ноември','Декември'],monthNamesShort:['Яну','Фев','Мар','Апр','Май','Юни','Юли','Авг','Сеп','Окт','Нов','Дек'],dayNames:['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],dayNamesShort:['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],dayNamesMin:['Не','По','Вт','Ср','Че','Пе','Съ'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['bg']=$.calendars.calendars.gregorian.prototype.regionalOptions['bg']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['bs']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januar','Februar','Mart','April','Maj','Juni','Juli','August','Septembar','Oktobar','Novembar','Decembar'],monthNamesShort:['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec'],dayNames:['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],dayNamesShort:['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],dayNamesMin:['Ne','Po','Ut','Sr','Če','Pe','Su'],digits:null,dateFormat:'dd.mm.yy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['bs']=$.calendars.calendars.gregorian.prototype.regionalOptions['bs']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ca']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Gener','Febrer','Març','Abril','Maig','Juny','Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],monthNamesShort:['Gen','Feb','Mar','Abr','Mai','Jun','Jul','Ago','Set','Oct','Nov','Des'],dayNames:['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],dayNamesShort:['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],dayNamesMin:['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ca']=$.calendars.calendars.gregorian.prototype.regionalOptions['ca']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['cs']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['leden','únor','březen','duben','květen','červen','červenec','srpen','září','říjen','listopad','prosinec'],monthNamesShort:['led','úno','bře','dub','kvě','čer','čvc','srp','zář','říj','lis','pro'],dayNames:['neděle','pondělí','úterý','středa','čtvrtek','pátek','sobota'],dayNamesShort:['ne','po','út','st','čt','pá','so'],dayNamesMin:['ne','po','út','st','čt','pá','so'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['cs']=$.calendars.calendars.gregorian.prototype.regionalOptions['cs']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['da']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januar','Februar','Marts','April','Maj','Juni','Juli','August','September','Oktober','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec'],dayNames:['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],dayNamesShort:['Søn','Man','Tir','Ons','Tor','Fre','Lør'],dayNamesMin:['Sø','Ma','Ti','On','To','Fr','Lø'],digits:null,dateFormat:'dd-mm-yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['da']=$.calendars.calendars.gregorian.prototype.regionalOptions['da']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['de-CH']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],monthNamesShort:['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],dayNames:['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],dayNamesShort:['So','Mo','Di','Mi','Do','Fr','Sa'],dayNamesMin:['So','Mo','Di','Mi','Do','Fr','Sa'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['de-CH']=$.calendars.calendars.gregorian.prototype.regionalOptions['de-CH']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['de']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januar','Februar','März','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],monthNamesShort:['Jan','Feb','Mär','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],dayNames:['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],dayNamesShort:['So','Mo','Di','Mi','Do','Fr','Sa'],dayNamesMin:['So','Mo','Di','Mi','Do','Fr','Sa'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['de']=$.calendars.calendars.gregorian.prototype.regionalOptions['de']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['el']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος','Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],monthNamesShort:['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν','Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],dayNames:['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],dayNamesShort:['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],dayNamesMin:['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['el']=$.calendars.calendars.gregorian.prototype.regionalOptions['el']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['en-AU']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['January','February','March','April','May','June','July','August','September','October','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:['Su','Mo','Tu','We','Th','Fr','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['en-AU']=$.calendars.calendars.gregorian.prototype.regionalOptions['en-AU']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['en-GB']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['January','February','March','April','May','June','July','August','September','October','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:['Su','Mo','Tu','We','Th','Fr','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['en-GB']=$.calendars.calendars.gregorian.prototype.regionalOptions['en-GB']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['en-NZ']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['January','February','March','April','May','June','July','August','September','October','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:['Su','Mo','Tu','We','Th','Fr','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['en-NZ']=$.calendars.calendars.gregorian.prototype.regionalOptions['en-NZ']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['eo']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januaro','Februaro','Marto','Aprilo','Majo','Junio','Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],monthNamesShort:['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aŭg','Sep','Okt','Nov','Dec'],dayNames:['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],dayNamesShort:['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],dayNamesMin:['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['eo']=$.calendars.calendars.gregorian.prototype.regionalOptions['eo']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['es-AR']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],monthNamesShort:['Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic'],dayNames:['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],dayNamesShort:['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],dayNamesMin:['Do','Lu','Ma','Mi','Ju','Vi','Sá'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['es-AR']=$.calendars.calendars.gregorian.prototype.regionalOptions['es-AR']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['es-PE']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],monthNamesShort:['Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic'],dayNames:['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],dayNamesShort:['Dom','Lun','Mar','Mié','Jue','Vie','Sab'],dayNamesMin:['Do','Lu','Ma','Mi','Ju','Vi','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['es-PE']=$.calendars.calendars.gregorian.prototype.regionalOptions['es-PE']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['es']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],monthNamesShort:['Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic'],dayNames:['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],dayNamesShort:['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],dayNamesMin:['Do','Lu','Ma','Mi','Ju','Vi','Sá'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['es']=$.calendars.calendars.gregorian.prototype.regionalOptions['es']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['et']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni','Juuli','August','September','Oktoober','November','Detsember'],monthNamesShort:['Jaan','Veebr','Märts','Apr','Mai','Juuni','Juuli','Aug','Sept','Okt','Nov','Dets'],dayNames:['Pühapäev','Esmaspäev','Teisipäev','Kolmapäev','Neljapäev','Reede','Laupäev'],dayNamesShort:['Pühap','Esmasp','Teisip','Kolmap','Neljap','Reede','Laup'],dayNamesMin:['P','E','T','K','N','R','L'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['et']=$.calendars.calendars.gregorian.prototype.regionalOptions['et']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['eu']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Urtarrila','Otsaila','Martxoa','Apirila','Maiatza','Ekaina','Uztaila','Abuztua','Iraila','Urria','Azaroa','Abendua'],monthNamesShort:['Urt','Ots','Mar','Api','Mai','Eka','Uzt','Abu','Ira','Urr','Aza','Abe'],dayNames:['Igandea','Astelehena','Asteartea','Asteazkena','Osteguna','Ostirala','Larunbata'],dayNamesShort:['Iga','Ast','Ast','Ast','Ost','Ost','Lar'],dayNamesMin:['Ig','As','As','As','Os','Os','La'],digits:null,dateFormat:'yyyy/mm/dd',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['eu']=$.calendars.calendars.gregorian.prototype.regionalOptions['eu']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['fa']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور','مهر','آبان','آذر','دي','بهمن','اسفند'],monthNamesShort:['1','2','3','4','5','6','7','8','9','10','11','12'],dayNames:['يکشنبه','دوشنبه','سهشنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],dayNamesShort:['ي','د','س','چ','پ','ج','ش'],dayNamesMin:['ي','د','س','چ','پ','ج','ش'],digits:$.calendars.substituteDigits(['۰','۱','۲','۳','۴','۵','۶','۷','۸','۹']),dateFormat:'yyyy/mm/dd',firstDay:6,isRTL:true};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['fa']=$.calendars.calendars.gregorian.prototype.regionalOptions['fa']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['fi']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu','Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],monthNamesShort:['Tammi','Helmi','Maalis','Huhti','Touko','Kesä','Heinä','Elo','Syys','Loka','Marras','Joulu'],dayNamesShort:['Su','Ma','Ti','Ke','To','Pe','Su'],dayNames:['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],dayNamesMin:['Su','Ma','Ti','Ke','To','Pe','La'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['fi']=$.calendars.calendars.gregorian.prototype.regionalOptions['fi']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['fo']={name:'Gregorianskur',epochs:['BCE','CE'],monthNames:['Januar','Februar','Mars','Apríl','Mei','Juni','Juli','August','September','Oktober','November','Desember'],monthNamesShort:['Jan','Feb','Mar','Apr','Mei','Jun','Jul','Aug','Sep','Okt','Nov','Des'],dayNames:['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'],dayNamesShort:['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],dayNamesMin:['Su','Má','Tý','Mi','Hó','Fr','Le'],digits:null,dateFormat:'dd-mm-yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['fo']=$.calendars.calendars.gregorian.prototype.regionalOptions['fo']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['fr-CH']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre'],monthNamesShort:['Jan','Fév','Mar','Avr','Mai','Jun','Jul','Aoû','Sep','Oct','Nov','Déc'],dayNames:['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],dayNamesShort:['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],dayNamesMin:['Di','Lu','Ma','Me','Je','Ve','Sa'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['fr-CH']=$.calendars.calendars.gregorian.prototype.regionalOptions['fr-CH']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['fr']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Janvier','Février','Mars','Avril','Mai','Juin','Juillet','Août','Septembre','Octobre','Novembre','Décembre'],monthNamesShort:['Jan','Fév','Mar','Avr','Mai','Jun','Jul','Aoû','Sep','Oct','Nov','Déc'],dayNames:['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],dayNamesShort:['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],dayNamesMin:['Di','Lu','Ma','Me','Je','Ve','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['fr']=$.calendars.calendars.gregorian.prototype.regionalOptions['fr']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['gl']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño','Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'],monthNamesShort:['Xan','Feb','Mar','Abr','Mai','Xuñ','Xul','Ago','Set','Out','Nov','Dec'],dayNames:['Domingo','Luns','Martes','Mércores','Xoves','Venres','Sábado'],dayNamesShort:['Dom','Lun','Mar','Mér','Xov','Ven','Sáb'],dayNamesMin:['Do','Lu','Ma','Me','Xo','Ve','Sá'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['gl']=$.calendars.calendars.gregorian.prototype.regionalOptions['gl']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['gu']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['જાન્યુઆરી','ફેબ્રુઆરી','માર્ચ','એપ્રિલ','મે','જૂન','જુલાઈ','ઑગસ્ટ','સપ્ટેમ્બર','ઑક્ટોબર','નવેમ્બર','ડિસેમ્બર'],monthNamesShort:['જાન્યુ','ફેબ્રુ','માર્ચ','એપ્રિલ','મે','જૂન','જુલાઈ','ઑગસ્ટ','સપ્ટે','ઑક્ટો','નવે','ડિસે'],dayNames:['રવિવાર','સોમવાર','મંગળવાર','બુધવાર','ગુરુવાર','શુક્રવાર','શનિવાર'],dayNamesShort:['રવિ','સોમ','મંગળ','બુધ','ગુરુ','શુક્ર','શનિ'],dayNamesMin:['ર','સો','મં','બુ','ગુ','શુ','શ'],digits:$.calendars.substituteDigits(['૦','૧','૨','૩','૪','૫','૬','૭','૮','૯']),dateFormat:'dd-M-yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['gu']=$.calendars.calendars.gregorian.prototype.regionalOptions['gu']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['he']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['ינואר','פברואר','מרץ','אפריל','מאי','יוני','יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],monthNamesShort:['1','2','3','4','5','6','7','8','9','10','11','12'],dayNames:['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],dayNamesShort:['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],dayNamesMin:['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:true};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['he']=$.calendars.calendars.gregorian.prototype.regionalOptions['he']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['hi-IN']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['जनवरी',' फरवरी','मार्च','अप्रैल','मई','जून','जुलाई','अगस्त','सितम्बर','अक्टूबर','नवम्बर','दिसम्बर'],monthNamesShort:['जन','फर','मार्च','अप्रै','मई','जून','जुलाई','अग','सित','अक्टू','नव','दिस'],dayNames:['रविवार','सोमवार','मंगलवार','बुधवार','गुरुवार','शुक्रवार','शनिवार'],dayNamesShort:['रवि','सोम','मंगल','बुध','गुरु','शुक्र','शनि'],dayNamesMin:['र','सो','मं','बु','गु','शु','श'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['hi-IN']=$.calendars.calendars.gregorian.prototype.regionalOptions['hi-IN']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['hr']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj','Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],monthNamesShort:['Sij','Velj','Ožu','Tra','Svi','Lip','Srp','Kol','Ruj','Lis','Stu','Pro'],dayNames:['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],dayNamesShort:['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],dayNamesMin:['Ne','Po','Ut','Sr','Če','Pe','Su'],digits:null,dateFormat:'dd.mm.yyyy.',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['hr']=$.calendars.calendars.gregorian.prototype.regionalOptions['hr']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['hu']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Január','Február','Március','Április','Május','Június','Július','Augusztus','Szeptember','Október','November','December'],monthNamesShort:['Jan','Feb','Már','Ápr','Máj','Jún','Júl','Aug','Szep','Okt','Nov','Dec'],dayNames:['Vasárnap','Hétfö','Kedd','Szerda','Csütörtök','Péntek','Szombat'],dayNamesShort:['Vas','Hét','Ked','Sze','Csü','Pén','Szo'],dayNamesMin:['V','H','K','Sze','Cs','P','Szo'],digits:null,dateFormat:'yyyy-mm-dd',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['hu']=$.calendars.calendars.gregorian.prototype.regionalOptions['hu']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['hy']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս','Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'],monthNamesShort:['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս','Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'],dayNames:['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],dayNamesShort:['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],dayNamesMin:['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['hy']=$.calendars.calendars.gregorian.prototype.regionalOptions['hy']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['id']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januari','Februari','Maret','April','Mei','Juni','Juli','Agustus','September','Oktober','Nopember','Desember'],monthNamesShort:['Jan','Feb','Mar','Apr','Mei','Jun','Jul','Agus','Sep','Okt','Nop','Des'],dayNames:['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],dayNamesShort:['Min','Sen','Sel','Rab','kam','Jum','Sab'],dayNamesMin:['Mg','Sn','Sl','Rb','Km','jm','Sb'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['id']=$.calendars.calendars.gregorian.prototype.regionalOptions['id']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['is']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Janúar','Febrúar','Mars','Apríl','Maí','Júní','Júlí','Ágúst','September','Október','Nóvember','Desember'],monthNamesShort:['Jan','Feb','Mar','Apr','Maí','Jún','Júl','Ágú','Sep','Okt','Nóv','Des'],dayNames:['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'],dayNamesShort:['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],dayNamesMin:['Su','Má','Þr','Mi','Fi','Fö','La'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['is']=$.calendars.calendars.gregorian.prototype.regionalOptions['is']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['it']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno','Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],monthNamesShort:['Gen','Feb','Mar','Apr','Mag','Giu','Lug','Ago','Set','Ott','Nov','Dic'],dayNames:['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],dayNamesShort:['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],dayNamesMin:['Do','Lu','Ma','Me','Gio','Ve','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['it']=$.calendars.calendars.gregorian.prototype.regionalOptions['it']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ja']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],monthNamesShort:['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],dayNames:['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],dayNamesShort:['日','月','火','水','木','金','土'],dayNamesMin:['日','月','火','水','木','金','土'],digits:$.calendars.substituteChineseDigits(['〇','一','二','三','四','五','六','七','八','九'],['','十','百','千']),dateFormat:'yyyy/mm/dd',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ja']=$.calendars.calendars.gregorian.prototype.regionalOptions['ja']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ka']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['იანვარი','თებერვალი','მარტი','აპრილი','მაისი','ივნისი','ივლისი','აგვისტო','სექტემბერი','ოქტომბერი','ნოემბერი','დეკემბერი'],monthNamesShort:['იან','თებ','მარ','აპრ','მაისი','ივნ','ივლ','აგვ','სექ','ოქტ','ნოე','დეკ'],dayNames:['კვირა','ორშაბათი','სამშაბათი','ოთხშაბათი','ხუთშაბათი','პარასკევი','შაბათი'],dayNamesShort:['კვ','ორშ','სამ','ოთხ','ხუთ','პარ','შაბ'],dayNamesMin:['კვ','ორ','სმ','ოთ','ხშ','პრ','შბ'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ka']=$.calendars.calendars.gregorian.prototype.regionalOptions['ka']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['km']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['ខែមករា','ខែកុម្ភៈ','ខែមិនា','ខែមេសា','ខែឧសភា','ខែមិថុនា','ខែកក្កដា','ខែសីហា','ខែកញ្ញា','ខែតុលា','ខែវិច្ឆិកា','ខែធ្នូ'],monthNamesShort:['មក','កុ','មិនា','មេ','ឧស','មិថុ','កក្ក','សី','កញ្ញា','តុលា','វិច្ឆិ','ធ្នូ'],dayNames:['ថ្ងៃអាទិត្យ','ថ្ងៃចន្ទ','ថ្ងៃអង្គារ','ថ្ងៃពុធ','ថ្ងៃព្រហស្បត្តិ៍','ថ្ងៃសុក្រ','ថ្ងៃសៅរ៍'],dayNamesShort:['អា','ចន្ទ','អង្គ','ពុធ','ព្រហ','សុ','សៅរ៍'],dayNamesMin:['អា','ច','អ','ពុ','ព្រ','សុ','ស'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['km']=$.calendars.calendars.gregorian.prototype.regionalOptions['km']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ko']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['1월','2월','3월','4월','5월','6월','7월','8월','9월','10월','11월','12월'],monthNamesShort:['1월','2월','3월','4월','5월','6월','7월','8월','9월','10월','11월','12월'],dayNames:['일요일','월요일','화요일','수요일','목요일','금요일','토요일'],dayNamesShort:['일','월','화','수','목','금','토'],dayNamesMin:['일','월','화','수','목','금','토'],digits:null,dateFormat:'yyyy-mm-dd',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ko']=$.calendars.calendars.gregorian.prototype.regionalOptions['ko']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['lt']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis','Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],monthNamesShort:['Sau','Vas','Kov','Bal','Geg','Bir','Lie','Rugp','Rugs','Spa','Lap','Gru'],dayNames:['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],dayNamesShort:['sek','pir','ant','tre','ket','pen','šeš'],dayNamesMin:['Se','Pr','An','Tr','Ke','Pe','Še'],digits:null,dateFormat:'yyyy-mm-dd',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['lt']=$.calendars.calendars.gregorian.prototype.regionalOptions['lt']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['lv']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs','Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],monthNamesShort:['Jan','Feb','Mar','Apr','Mai','Jūn','Jūl','Aug','Sep','Okt','Nov','Dec'],dayNames:['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],dayNamesShort:['svt','prm','otr','tre','ctr','pkt','sst'],dayNamesMin:['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],digits:null,dateFormat:'dd-mm-yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['lv']=$.calendars.calendars.gregorian.prototype.regionalOptions['lv']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['me-ME']={name:'Gregorijanski',epochs:['pne','ne'],monthNames:['Januar','Februar','Mart','April','Maj','Jun','Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],monthNamesShort:['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Avg','Sep','Okt','Nov','Dec'],dayNames:['Neđelja','Poneđeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],dayNamesShort:['Neđ','Pon','Uto','Sri','Čet','Pet','Sub'],dayNamesMin:['Ne','Po','Ut','Sr','Če','Pe','Su'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['me-ME']=$.calendars.calendars.gregorian.prototype.regionalOptions['me-ME']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['me']={name:'Грегоријански',epochs:['пне','не'],monthNames:['Јануар','Фебруар','Март','Април','Мај','Јун','Јул','Август','Септембар','Октобар','Новембар','Децембар'],monthNamesShort:['Јан','Феб','Мар','Апр','Мај','Јун','Јул','Авг','Сеп','Окт','Нов','Дец'],dayNames:['Неђеља','Понеђељак','Уторак','Сриједа','Четвртак','Петак','Субота'],dayNamesShort:['Неђ','Пон','Уто','Сри','Чет','Пет','Суб'],dayNamesMin:['Не','По','Ут','Ср','Че','Пе','Су'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['me']=$.calendars.calendars.gregorian.prototype.regionalOptions['me']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['mg']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Janoary','Febroary','Martsa','Aprily','Mey','Jona','Jolay','Aogositra','Septambra','Oktobra','Novambra','Desembra'],monthNamesShort:['Jan','Feb','Mar','Apr','Mey','Jon','Jol','Aog','Sep','Okt','Nov','Des'],dayNames:['Alahady','Alatsinainy','Talata','Alarobia','Alakamisy','Zoma','Sabotsy'],dayNamesShort:['Alah','Alat','Tal','Alar','Alak','Zom','Sab'],dayNamesMin:['Ah','At','Ta','Ar','Ak','Zo','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['mg']=$.calendars.calendars.gregorian.prototype.regionalOptions['mg']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['mk']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Јануари','Февруари','Март','Април','Мај','Јуни','Јули','Август','Септември','Октомври','Ноември','Декември'],monthNamesShort:['Јан','Фев','Мар','Апр','Мај','Јун','Јул','Авг','Сеп','Окт','Нов','Дек'],dayNames:['Недела','Понеделник','Вторник','Среда','Четврток','Петок','Сабота'],dayNamesShort:['Нед','Пон','Вто','Сре','Чет','Пет','Саб'],dayNamesMin:['Не','По','Вт','Ср','Че','Пе','Са'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['mk']=$.calendars.calendars.gregorian.prototype.regionalOptions['mk']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ml']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['ജനുവരി','ഫെബ്രുവരി','മാര്ച്ച്','ഏപ്രില്','മേയ്','ജൂണ്','ജൂലൈ','ആഗസ്റ്റ്','സെപ്റ്റംബര്','ഒക്ടോബര്','നവംബര്','ഡിസംബര്'],monthNamesShort:['ജനു','ഫെബ്','മാര്','ഏപ്രി','മേയ്','ജൂണ്','ജൂലാ','ആഗ','സെപ്','ഒക്ടോ','നവം','ഡിസ'],dayNames:['ഞായര്','തിങ്കള്','ചൊവ്വ','ബുധന്','വ്യാഴം','വെള്ളി','ശനി'],dayNamesShort:['ഞായ','തിങ്ക','ചൊവ്വ','ബുധ','വ്യാഴം','വെള്ളി','ശനി'],dayNamesMin:['ഞാ','തി','ചൊ','ബു','വ്യാ','വെ','ശ'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ml']=$.calendars.calendars.gregorian.prototype.regionalOptions['ml']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ms']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januari','Februari','Mac','April','Mei','Jun','Julai','Ogos','September','Oktober','November','Disember'],monthNamesShort:['Jan','Feb','Mac','Apr','Mei','Jun','Jul','Ogo','Sep','Okt','Nov','Dis'],dayNames:['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'],dayNamesShort:['Aha','Isn','Sel','Rab','Kha','Jum','Sab'],dayNamesMin:['Ah','Is','Se','Ra','Kh','Ju','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ms']=$.calendars.calendars.gregorian.prototype.regionalOptions['ms']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['mt']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Jannar','Frar','Marzu','April','Mejju','Ġunju','Lulju','Awissu','Settembru','Ottubru','Novembru','Diċembru'],monthNamesShort:['Jan','Fra','Mar','Apr','Mej','Ġun','Lul','Awi','Set','Ott','Nov','Diċ'],dayNames:['Il-Ħadd','It-Tnejn','It-Tlieta','L-Erbgħa','Il-Ħamis','Il-Ġimgħa','Is-Sibt'],dayNamesShort:['Ħad','Tne','Tli','Erb','Ħam','Ġim','Sib'],dayNamesMin:['Ħ','T','T','E','Ħ','Ġ','S'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['mt']=$.calendars.calendars.gregorian.prototype.regionalOptions['mt']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['nl-BE']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['januari','februari','maart','april','mei','juni','juli','augustus','september','oktober','november','december'],monthNamesShort:['jan','feb','maa','apr','mei','jun','jul','aug','sep','okt','nov','dec'],dayNames:['zondag','maandag','dinsdag','woensdag','donderdag','vrijdag','zaterdag'],dayNamesShort:['zon','maa','din','woe','don','vri','zat'],dayNamesMin:['zo','ma','di','wo','do','vr','za'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['nl-BE']=$.calendars.calendars.gregorian.prototype.regionalOptions['nl-BE']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['nl']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['januari','februari','maart','april','mei','juni','juli','augustus','september','oktober','november','december'],monthNamesShort:['jan','feb','maa','apr','mei','jun','jul','aug','sep','okt','nov','dec'],dayNames:['zondag','maandag','dinsdag','woensdag','donderdag','vrijdag','zaterdag'],dayNamesShort:['zon','maa','din','woe','don','vri','zat'],dayNamesMin:['zo','ma','di','wo','do','vr','za'],digits:null,dateFormat:'dd-mm-yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['nl']=$.calendars.calendars.gregorian.prototype.regionalOptions['nl']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['no']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januar','Februar','Mars','April','Mai','Juni','Juli','August','September','Oktober','November','Desember'],monthNamesShort:['Jan','Feb','Mar','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Des'],dayNamesShort:['Søn','Man','Tir','Ons','Tor','Fre','Lør'],dayNames:['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],dayNamesMin:['Sø','Ma','Ti','On','To','Fr','Lø'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['no']=$.calendars.calendars.gregorian.prototype.regionalOptions['no']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['pa']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['ਜਨਵਰੀ','ਫ਼ਰਵਰੀ','ਮਾਰਚ','ਅਪ੍ਰੈਲ','ਮਈ','ਜੂਨ','ਜੁਲਾਈ','ਅਗਸਤ','ਸਤੰਬਰ','ਅਕਤੂਬਰ','ਨਵੰਬਰ','ਦਸੰਬਰ'],monthNamesShort:['ਜਨ','ਫ਼ਰ','ਮਾਰ','ਅਪ੍ਰੈ','ਮਈ','ਜੂਨ','ਜੁਲਾ','ਅਗ','ਸਤੰ','ਅਕ','ਨਵੰ','ਦਸੰ'],dayNames:['ਐਤਵਾਰ','ਸੋਮਵਾਰ','ਮੰਗਲਵਾਰ','ਬੁੱਧਵਾਰ','ਵੀਰਵਾਰ','ਸ਼ੁੱਕਰਵਾਰ','ਸ਼ਨਿੱਚਰਵਾਰ'],dayNamesShort:['ਐਤ','ਸੋਮ','ਮੰਗਲ','ਬੁੱਧ','ਵੀਰ','ਸ਼ੁੱਕਰ','ਸ਼ਨਿੱਚਰ'],dayNamesMin:['ਐ','ਸੋ','ਮੰ','ਬੁੱ','ਵੀ','ਸ਼ੁੱ','ਸ਼'],digits:$.calendars.substituteDigits(['੦','੧','੨','੩','੪','੫','੬','੭','੮','੯']),dateFormat:'dd-mm-yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['pa']=$.calendars.calendars.gregorian.prototype.regionalOptions['pa']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['pl']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec','Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],monthNamesShort:['Sty','Lu','Mar','Kw','Maj','Cze','Lip','Sie','Wrz','Pa','Lis','Gru'],dayNames:['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'],dayNamesShort:['Nie','Pn','Wt','Śr','Czw','Pt','So'],dayNamesMin:['N','Pn','Wt','Śr','Cz','Pt','So'],digits:null,dateFormat:'yyyy-mm-dd',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['pl']=$.calendars.calendars.gregorian.prototype.regionalOptions['pl']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['pt-BR']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],monthNamesShort:['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'],dayNames:['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'],dayNamesShort:['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],dayNamesMin:['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['pt-BR']=$.calendars.calendars.gregorian.prototype.regionalOptions['pt-BR']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['rm']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur','Fanadur','Avust','Settember','October','November','December'],monthNamesShort:['Scha','Fev','Mar','Avr','Matg','Zer','Fan','Avu','Sett','Oct','Nov','Dec'],dayNames:['Dumengia','Glindesdi','Mardi','Mesemna','Gievgia','Venderdi','Sonda'],dayNamesShort:['Dum','Gli','Mar','Mes','Gie','Ven','Som'],dayNamesMin:['Du','Gl','Ma','Me','Gi','Ve','So'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['rm']=$.calendars.calendars.gregorian.prototype.regionalOptions['rm']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ro']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie','Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],monthNamesShort:['Ian','Feb','Mar','Apr','Mai','Iun','Iul','Aug','Sep','Oct','Noi','Dec'],dayNames:['Duminică','Luni','Marti','Miercuri','Joi','Vineri','Sâmbătă'],dayNamesShort:['Dum','Lun','Mar','Mie','Joi','Vin','Sâm'],dayNamesMin:['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ro']=$.calendars.calendars.gregorian.prototype.regionalOptions['ro']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ru']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Январь','Февраль','Март','Апрель','Май','Июнь','Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],monthNamesShort:['Янв','Фев','Мар','Апр','Май','Июн','Июл','Авг','Сен','Окт','Ноя','Дек'],dayNames:['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],dayNamesShort:['вск','пнд','втр','срд','чтв','птн','сбт'],dayNamesMin:['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ru']=$.calendars.calendars.gregorian.prototype.regionalOptions['ru']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['sk']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Január','Február','Marec','Apríl','Máj','Jún','Júl','August','September','Október','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','Máj','Jún','Júl','Aug','Sep','Okt','Nov','Dec'],dayNames:['Nedel\'a','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],dayNamesShort:['Ned','Pon','Uto','Str','Štv','Pia','Sob'],dayNamesMin:['Ne','Po','Ut','St','Št','Pia','So'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['sk']=$.calendars.calendars.gregorian.prototype.regionalOptions['sk']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['sl']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januar','Februar','Marec','April','Maj','Junij','Julij','Avgust','September','Oktober','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Avg','Sep','Okt','Nov','Dec'],dayNames:['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'],dayNamesShort:['Ned','Pon','Tor','Sre','Čet','Pet','Sob'],dayNamesMin:['Ne','Po','To','Sr','Če','Pe','So'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['sl']=$.calendars.calendars.gregorian.prototype.regionalOptions['sl']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['sq']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Janar','Shkurt','Mars','Prill','Maj','Qershor','Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],monthNamesShort:['Jan','Shk','Mar','Pri','Maj','Qer','Kor','Gus','Sht','Tet','Nën','Dhj'],dayNames:['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'],dayNamesShort:['Di','Hë','Ma','Më','En','Pr','Sh'],dayNamesMin:['Di','Hë','Ma','Më','En','Pr','Sh'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['sq']=$.calendars.calendars.gregorian.prototype.regionalOptions['sq']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['sr-SR']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januar','Februar','Mart','April','Maj','Jun','Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],monthNamesShort:['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Avg','Sep','Okt','Nov','Dec'],dayNames:['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'],dayNamesShort:['Ned','Pon','Uto','Sre','Čet','Pet','Sub'],dayNamesMin:['Ne','Po','Ut','Sr','Če','Pe','Su'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['sr-SR']=$.calendars.calendars.gregorian.prototype.regionalOptions['sr-SR']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['sr']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Јануар','Фебруар','Март','Април','Мај','Јун','Јул','Август','Септембар','Октобар','Новембар','Децембар'],monthNamesShort:['Јан','Феб','Мар','Апр','Мај','Јун','Јул','Авг','Сеп','Окт','Нов','Дец'],dayNames:['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],dayNamesShort:['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],dayNamesMin:['Не','По','Ут','Ср','Че','Пе','Су'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['sr']=$.calendars.calendars.gregorian.prototype.regionalOptions['sr']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['sv']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Januari','Februari','Mars','April','Maj','Juni','Juli','Augusti','September','Oktober','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','Maj','Jun','Jul','Aug','Sep','Okt','Nov','Dec'],dayNames:['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],dayNamesShort:['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],dayNamesMin:['Sö','Må','Ti','On','To','Fr','Lö'],digits:null,dateFormat:'yyyy-mm-dd',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['sv']=$.calendars.calendars.gregorian.prototype.regionalOptions['sv']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ta']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['தை','மாசி','பங்குனி','சித்திரை','வைகாசி','ஆனி','ஆடி','ஆவணி','புரட்டாசி','ஐப்பசி','கார்த்திகை','மார்கழி'],monthNamesShort:['தை','மாசி','பங்','சித்','வைகா','ஆனி','ஆடி','ஆவ','புர','ஐப்','கார்','மார்'],dayNames:['ஞாயிற்றுக்கிழமை','திங்கட்கிழமை','செவ்வாய்க்கிழமை','புதன்கிழமை','வியாழக்கிழமை','வெள்ளிக்கிழமை','சனிக்கிழமை'],dayNamesShort:['ஞாயிறு','திங்கள்','செவ்வாய்','புதன்','வியாழன்','வெள்ளி','சனி'],dayNamesMin:['ஞா','தி','செ','பு','வி','வெ','ச'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ta']=$.calendars.calendars.gregorian.prototype.regionalOptions['ta']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['te']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['జనవరి','ఫిబ్రవరి','మార్చి','ఏప్రిల్','మే','జూన్','జూలై','ఆగష్టు','సెప్టెంబర్','అక్టోబర్','నవంబర్','డిసెంబర్'],monthNamesShort:['జన','ఫిబ్ర','మార్చి','ఏప్రి','మే','జూన్','జూలై','ఆగ','సెప్టె','అక్టో','నవ','డిసె'],dayNames:['ఆదివారం','సోమవారం','మంగళవారం','బుధవారం','గురువారం','శుక్రవారం','శనివారం'],dayNamesShort:['ఆది','సోమ','మంగ','బుధ','గురు','శుక్ర','శని'],dayNamesMin:['ఆ','సో','మ','బు','గు','శు','శ'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['te']=$.calendars.calendars.gregorian.prototype.regionalOptions['te']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['th']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน','กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],monthNamesShort:['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.','ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],dayNames:['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],dayNamesShort:['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],dayNamesMin:['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['th']=$.calendars.calendars.gregorian.prototype.regionalOptions['th']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['tr']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran','Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],monthNamesShort:['Oca','Şub','Mar','Nis','May','Haz','Tem','Ağu','Eyl','Eki','Kas','Ara'],dayNames:['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],dayNamesShort:['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],dayNamesMin:['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['tr']=$.calendars.calendars.gregorian.prototype.regionalOptions['tr']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['tt']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Гынвар','Февраль','Март','Апрель','Май','Июнь','Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],monthNamesShort:['Гыйн','Фев','Мар','Апр','Май','Июн','Июл','Авг','Сен','Окт','Ноя','Дек'],dayNames:['якшәмбе','дүшәмбе','сишәмбе','чәршәмбе','пәнҗешәмбе','җомга','шимбә'],dayNamesShort:['якш','дүш','сиш','чәр','пән','җом','шим'],dayNamesMin:['Як','Дү','Си','Чә','Пә','Җо','Ши'],digits:null,dateFormat:'dd.mm.yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['tt']=$.calendars.calendars.gregorian.prototype.regionalOptions['tt']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['uk']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Січень','Лютий','Березень','Квітень','Травень','Червень','Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],monthNamesShort:['Січ','Лют','Бер','Кві','Тра','Чер','Лип','Сер','Вер','Жов','Лис','Гру'],dayNames:['неділя','понеділок','вівторок','середа','четвер','п\'ятниця','субота'],dayNamesShort:['нед','пнд','вів','срд','чтв','птн','сбт'],dayNamesMin:['Нд','Пн','Вт','Ср','Чт','Пт','Сб'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['uk']=$.calendars.calendars.gregorian.prototype.regionalOptions['uk']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['ur']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['جنوری','فروری','مارچ','اپریل','مئی','جون','جولائی','اگست','ستمبر','اکتوبر','نومبر','دسمبر'],monthNamesShort:['1','2','3','4','5','6','7','8','9','10','11','12'],dayNames:['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],dayNamesShort:['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],dayNamesMin:['اتوار','پير','منگل','بدھ','جمعرات','جمعہ','ہفتہ'],digits:$.calendars.substituteDigits(['٠','١','٢','٣','۴','۵','۶','۷','٨','٩']),dateFormat:'dd/mm/yyyy',firstDay:0,firstDay:1,isRTL:true};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['ur']=$.calendars.calendars.gregorian.prototype.regionalOptions['ur']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['vi']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['Tháng Một','Tháng Hai','Tháng Ba','Tháng Tư','Tháng Năm','Tháng Sáu','Tháng Bảy','Tháng Tám','Tháng Chín','Tháng Mười','Tháng Mười Một','Tháng Mười Hai'],monthNamesShort:['Tháng 1','Tháng 2','Tháng 3','Tháng 4','Tháng 5','Tháng 6','Tháng 7','Tháng 8','Tháng 9','Tháng 10','Tháng 11','Tháng 12'],dayNames:['Chủ Nhật','Thứ Hai','Thứ Ba','Thứ Tư','Thứ Năm','Thứ Sáu','Thứ Bảy'],dayNamesShort:['CN','T2','T3','T4','T5','T6','T7'],dayNamesMin:['CN','T2','T3','T4','T5','T6','T7'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['vi']=$.calendars.calendars.gregorian.prototype.regionalOptions['vi']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['zh-CN']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'],monthNamesShort:['一','二','三','四','五','六','七','八','九','十','十一','十二'],dayNames:['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],dayNamesShort:['周日','周一','周二','周三','周四','周五','周六'],dayNamesMin:['日','一','二','三','四','五','六'],digits:$.calendars.substituteChineseDigits(['〇','一','二','三','四','五','六','七','八','九'],['','十','百','千']),dateFormat:'yyyy-mm-dd',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['zh-CN']=$.calendars.calendars.gregorian.prototype.regionalOptions['zh-CN']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['zh-HK']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'],monthNamesShort:['一','二','三','四','五','六','七','八','九','十','十一','十二'],dayNames:['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],dayNamesShort:['周日','周一','周二','周三','周四','周五','周六'],dayNamesMin:['日','一','二','三','四','五','六'],digits:$.calendars.substituteChineseDigits(['〇','一','二','三','四','五','六','七','八','九'],['','十','百','千']),dateFormat:'dd-mm-yyyy',firstDay:0,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['zh-HK']=$.calendars.calendars.gregorian.prototype.regionalOptions['zh-HK']}})(jQuery);(function($){$.calendars.calendars.gregorian.prototype.regionalOptions['zh-TW']={name:'Gregorian',epochs:['BCE','CE'],monthNames:['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'],monthNamesShort:['一','二','三','四','五','六','七','八','九','十','十一','十二'],dayNames:['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],dayNamesShort:['周日','周一','周二','周三','周四','周五','周六'],dayNamesMin:['日','一','二','三','四','五','六'],digits:$.calendars.substituteChineseDigits(['〇','一','二','三','四','五','六','七','八','九'],['','十','百','千']),dateFormat:'yyyy/mm/dd',firstDay:1,isRTL:false};if($.calendars.calendars.julian){$.calendars.calendars.julian.prototype.regionalOptions['zh-TW']=$.calendars.calendars.gregorian.prototype.regionalOptions['zh-TW']}})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.mayan.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.mayan.js
new file mode 100644
index 0000000..b59fa0a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.mayan.js
@@ -0,0 +1,281 @@
+/* http://keith-wood.name/calendars.html
+ Mayan calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Mayan Long Count calendar.
+ See also http://en.wikipedia.org/wiki/Mayan_calendar .
+ @class MayanCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function MayanCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ MayanCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(MayanCalendar.prototype, {
+ /** The calendar name.
+ @memberof MayanCalendar */
+ name: 'Mayan',
+ /** Julian date of start of Mayan epoch: 11 August 3114 BCE.
+ @memberof MayanCalendar */
+ jdEpoch: 584282.5,
+ /** true if has a year zero, false if not.
+ @memberof MayanCalendar */
+ hasYearZero: true,
+ /** The minimum month number.
+ @memberof MayanCalendar */
+ minMonth: 0,
+ /** The first month in the year.
+ @memberof MayanCalendar */
+ firstMonth: 0,
+ /** The minimum day number.
+ @memberof MayanCalendar */
+ minDay: 0,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof MayanCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left.
+ @property haabMonths {string[]} The names of the Haab months.
+ @property tzolkinMonths {string[]} The names of the Tzolkin months. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Mayan',
+ epochs: ['', ''],
+ monthNames: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
+ '10', '11', '12', '13', '14', '15', '16', '17'],
+ monthNamesShort: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
+ '10', '11', '12', '13', '14', '15', '16', '17'],
+ dayNames: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
+ '10', '11', '12', '13', '14', '15', '16', '17', '18', '19'],
+ dayNamesShort: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
+ '10', '11', '12', '13', '14', '15', '16', '17', '18', '19'],
+ dayNamesMin: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
+ '10', '11', '12', '13', '14', '15', '16', '17', '18', '19'],
+ digits: null,
+ dateFormat: 'YYYY.m.d',
+ firstDay: 0,
+ isRTL: false,
+ haabMonths: ['Pop', 'Uo', 'Zip', 'Zotz', 'Tzec', 'Xul', 'Yaxkin', 'Mol', 'Chen', 'Yax',
+ 'Zac', 'Ceh', 'Mac', 'Kankin', 'Muan', 'Pax', 'Kayab', 'Cumku', 'Uayeb'],
+ tzolkinMonths: ['Imix', 'Ik', 'Akbal', 'Kan', 'Chicchan', 'Cimi', 'Manik', 'Lamat', 'Muluc', 'Oc',
+ 'Chuen', 'Eb', 'Ben', 'Ix', 'Men', 'Cib', 'Caban', 'Etznab', 'Cauac', 'Ahau']
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return false;
+ },
+
+ /** Format the year, if not a simple sequential number.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to format or the year to format.
+ @return {string} The formatted year.
+ @throws Error if an invalid year or a different calendar used. */
+ formatYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ year = date.year();
+ var baktun = Math.floor(year / 400);
+ year = year % 400;
+ year += (year < 0 ? 400 : 0);
+ var katun = Math.floor(year / 20);
+ return baktun + '.' + katun + '.' + (year % 20);
+ },
+
+ /** Convert from the formatted year back to a single number.
+ @memberof MayanCalendar
+ @param years {string} The year as n.n.n.
+ @return {number} The sequential year.
+ @throws Error if an invalid value is supplied. */
+ forYear: function(years) {
+ years = years.split('.');
+ if (years.length < 3) {
+ throw 'Invalid Mayan year';
+ }
+ var year = 0;
+ for (var i = 0; i < years.length; i++) {
+ var y = parseInt(years[i], 10);
+ if (Math.abs(y) > 19 || (i > 0 && y < 0)) {
+ throw 'Invalid Mayan year';
+ }
+ year = year * 20 + y;
+ }
+ return year;
+ },
+
+ /** Retrieve the number of months in a year.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of months.
+ @throws Error if an invalid year or a different calendar used. */
+ monthsInYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return 18;
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ this._validate(year, month, day, $.calendars.local.invalidDate);
+ return 0;
+ },
+
+ /** Retrieve the number of days in a year.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of days.
+ @throws Error if an invalid year or a different calendar used. */
+ daysInYear: function(year) {
+ this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return 360;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return 20;
+ },
+
+ /** Retrieve the number of days in a week.
+ @memberof MayanCalendar
+ @return {number} The number of days. */
+ daysInWeek: function() {
+ return 5; // Just for formatting
+ },
+
+ /** Retrieve the day of the week for a date.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The day of the week: 0 to number of days - 1.
+ @throws Error if an invalid date or a different calendar used. */
+ dayOfWeek: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ return date.day();
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ this._validate(year, month, day, $.calendars.local.invalidDate);
+ return true;
+ },
+
+ /** Retrieve additional information about a date - Haab and Tzolkin equivalents.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {object} Additional information - contents depends on calendar.
+ @throws Error if an invalid date or a different calendar used. */
+ extraInfo: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ var jd = date.toJD();
+ var haab = this._toHaab(jd);
+ var tzolkin = this._toTzolkin(jd);
+ return {haabMonthName: this.local.haabMonths[haab[0] - 1],
+ haabMonth: haab[0], haabDay: haab[1],
+ tzolkinDayName: this.local.tzolkinMonths[tzolkin[0] - 1],
+ tzolkinDay: tzolkin[0], tzolkinTrecena: tzolkin[1]};
+ },
+
+ /** Retrieve Haab date from a Julian date.
+ @memberof MayanCalendar
+ @private
+ @param jd {number} The Julian date.
+ @return {number[]} Corresponding Haab month and day. */
+ _toHaab: function(jd) {
+ jd -= this.jdEpoch;
+ var day = mod(jd + 8 + ((18 - 1) * 20), 365);
+ return [Math.floor(day / 20) + 1, mod(day, 20)];
+ },
+
+ /** Retrieve Tzolkin date from a Julian date.
+ @memberof MayanCalendar
+ @private
+ @param jd {number} The Julian date.
+ @return {number[]} Corresponding Tzolkin day and trecena. */
+ _toTzolkin: function(jd) {
+ jd -= this.jdEpoch;
+ return [amod(jd + 20, 20), amod(jd + 4, 13)];
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof MayanCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ return date.day() + (date.month() * 20) + (date.year() * 360) + this.jdEpoch;
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof MayanCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ jd = Math.floor(jd) + 0.5 - this.jdEpoch;
+ var year = Math.floor(jd / 360);
+ jd = jd % 360;
+ jd += (jd < 0 ? 360 : 0);
+ var month = Math.floor(jd / 20);
+ var day = jd % 20;
+ return this.newDate(year, month, day);
+ }
+ });
+
+ // Modulus function which works for non-integers.
+ function mod(a, b) {
+ return a - (b * Math.floor(a / b));
+ }
+
+ // Modulus function which returns numerator if modulus is zero.
+ function amod(a, b) {
+ return mod(a - 1, b) + 1;
+ }
+
+ // Mayan calendar implementation
+ $.calendars.calendars.mayan = MayanCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.mayan.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.mayan.min.js
new file mode 100644
index 0000000..a72f43f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.mayan.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Mayan calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function MayanCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}MayanCalendar.prototype=new $.calendars.baseCalendar;$.extend(MayanCalendar.prototype,{name:'Mayan',jdEpoch:584282.5,hasYearZero:true,minMonth:0,firstMonth:0,minDay:0,regionalOptions:{'':{name:'Mayan',epochs:['',''],monthNames:['0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17'],monthNamesShort:['0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17'],dayNames:['0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19'],dayNamesShort:['0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19'],dayNamesMin:['0','1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19'],digits:null,dateFormat:'YYYY.m.d',firstDay:0,isRTL:false,haabMonths:['Pop','Uo','Zip','Zotz','Tzec','Xul','Yaxkin','Mol','Chen','Yax','Zac','Ceh','Mac','Kankin','Muan','Pax','Kayab','Cumku','Uayeb'],tzolkinMonths:['Imix','Ik','Akbal','Kan','Chicchan','Cimi','Manik','Lamat','Muluc','Oc','Chuen','Eb','Ben','Ix','Men','Cib','Caban','Etznab','Cauac','Ahau']}},leapYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return false},formatYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);a=b.year();var c=Math.floor(a/400);a=a%400;a+=(a<0?400:0);var d=Math.floor(a/20);return c+'.'+d+'.'+(a%20)},forYear:function(a){a=a.split('.');if(a.length<3){throw'Invalid Mayan year';}var b=0;for(var i=0;i19||(i>0&&y<0)){throw'Invalid Mayan year';}b=b*20+y}return b},monthsInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return 18},weekOfYear:function(a,b,c){this._validate(a,b,c,$.calendars.local.invalidDate);return 0},daysInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return 360},daysInMonth:function(a,b){this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return 20},daysInWeek:function(){return 5},dayOfWeek:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);return d.day()},weekDay:function(a,b,c){this._validate(a,b,c,$.calendars.local.invalidDate);return true},extraInfo:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);var e=d.toJD();var f=this._toHaab(e);var g=this._toTzolkin(e);return{haabMonthName:this.local.haabMonths[f[0]-1],haabMonth:f[0],haabDay:f[1],tzolkinDayName:this.local.tzolkinMonths[g[0]-1],tzolkinDay:g[0],tzolkinTrecena:g[1]}},_toHaab:function(a){a-=this.jdEpoch;var b=mod(a+8+((18-1)*20),365);return[Math.floor(b/20)+1,mod(b,20)]},_toTzolkin:function(a){a-=this.jdEpoch;return[amod(a+20,20),amod(a+4,13)]},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);return d.day()+(d.month()*20)+(d.year()*360)+this.jdEpoch},fromJD:function(a){a=Math.floor(a)+0.5-this.jdEpoch;var b=Math.floor(a/360);a=a%360;a+=(a<0?360:0);var c=Math.floor(a/20);var d=a%20;return this.newDate(b,c,d)}});function mod(a,b){return a-(b*Math.floor(a/b))}function amod(a,b){return mod(a-1,b)+1}$.calendars.calendars.mayan=MayanCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.min.js
new file mode 100644
index 0000000..2e484b6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Calendars for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function Calendars(){this.regionalOptions=[];this.regionalOptions['']={invalidCalendar:'Calendar {0} not found',invalidDate:'Invalid {0} date',invalidMonth:'Invalid {0} month',invalidYear:'Invalid {0} year',differentCalendars:'Cannot mix {0} and {1} dates'};this.local=this.regionalOptions[''];this.calendars={};this._localCals={}}$.extend(Calendars.prototype,{instance:function(a,b){a=(a||'gregorian').toLowerCase();b=b||'';var c=this._localCals[a+'-'+b];if(!c&&this.calendars[a]){c=new this.calendars[a](b);this._localCals[a+'-'+b]=c}if(!c){throw(this.local.invalidCalendar||this.regionalOptions[''].invalidCalendar).replace(/\{0\}/,a)}return c},newDate:function(a,b,c,d,e){d=(a!=null&&a.year?a.calendar():(typeof d==='string'?this.instance(d,e):d))||this.instance();return d.newDate(a,b,c)},substituteDigits:function(c){return function(b){return(b+'').replace(/[0-9]/g,function(a){return c[a]})}},substituteChineseDigits:function(e,f){return function(a){var b='';var c=0;while(a>0){var d=a%10;b=(d===0?'':e[d]+f[c])+b;c++;a=Math.floor(a/10)}if(b.indexOf(e[1]+f[1])===0){b=b.substr(1)}return b||e[0]}}});function CDate(a,b,c,d){this._calendar=a;this._year=b;this._month=c;this._day=d;if(this._calendar._validateLevel===0&&!this._calendar.isValid(this._year,this._month,this._day)){throw($.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate).replace(/\{0\}/,this._calendar.local.name)}}function pad(a,b){a=''+a;return'000000'.substring(0,b-a.length)+a}$.extend(CDate.prototype,{newDate:function(a,b,c){return this._calendar.newDate((a==null?this:a),b,c)},year:function(a){return(arguments.length===0?this._year:this.set(a,'y'))},month:function(a){return(arguments.length===0?this._month:this.set(a,'m'))},day:function(a){return(arguments.length===0?this._day:this.set(a,'d'))},date:function(a,b,c){if(!this._calendar.isValid(a,b,c)){throw($.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate).replace(/\{0\}/,this._calendar.local.name)}this._year=a;this._month=b;this._day=c;return this},leapYear:function(){return this._calendar.leapYear(this)},epoch:function(){return this._calendar.epoch(this)},formatYear:function(){return this._calendar.formatYear(this)},monthOfYear:function(){return this._calendar.monthOfYear(this)},weekOfYear:function(){return this._calendar.weekOfYear(this)},daysInYear:function(){return this._calendar.daysInYear(this)},dayOfYear:function(){return this._calendar.dayOfYear(this)},daysInMonth:function(){return this._calendar.daysInMonth(this)},dayOfWeek:function(){return this._calendar.dayOfWeek(this)},weekDay:function(){return this._calendar.weekDay(this)},extraInfo:function(){return this._calendar.extraInfo(this)},add:function(a,b){return this._calendar.add(this,a,b)},set:function(a,b){return this._calendar.set(this,a,b)},compareTo:function(a){if(this._calendar.name!==a._calendar.name){throw($.calendars.local.differentCalendars||$.calendars.regionalOptions[''].differentCalendars).replace(/\{0\}/,this._calendar.local.name).replace(/\{1\}/,a._calendar.local.name)}var c=(this._year!==a._year?this._year-a._year:this._month!==a._month?this.monthOfYear()-a.monthOfYear():this._day-a._day);return(c===0?0:(c<0?-1:+1))},calendar:function(){return this._calendar},toJD:function(){return this._calendar.toJD(this)},fromJD:function(a){return this._calendar.fromJD(a)},toJSDate:function(){return this._calendar.toJSDate(this)},fromJSDate:function(a){return this._calendar.fromJSDate(a)},toString:function(){return(this.year()<0?'-':'')+pad(Math.abs(this.year()),4)+'-'+pad(this.month(),2)+'-'+pad(this.day(),2)}});function BaseCalendar(){this.shortYearCutoff='+10'}$.extend(BaseCalendar.prototype,{_validateLevel:0,newDate:function(a,b,c){if(a==null){return this.today()}if(a.year){this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);c=a.day();b=a.month();a=a.year()}return new CDate(this,a,b,c)},today:function(){return this.fromJSDate(new Date())},epoch:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(b.year()<0?this.local.epochs[0]:this.local.epochs[1])},formatYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(b.year()<0?'-':'')+pad(Math.abs(b.year()),4)},monthsInYear:function(a){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return 12},monthOfYear:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth||$.calendars.regionalOptions[''].invalidMonth);return(c.month()+this.monthsInYear(c)-this.firstMonth)%this.monthsInYear(c)+this.minMonth},fromMonthOfYear:function(a,b){var m=(b+this.firstMonth-2*this.minMonth)%this.monthsInYear(a)+this.minMonth;this._validate(a,m,this.minDay,$.calendars.local.invalidMonth||$.calendars.regionalOptions[''].invalidMonth);return m},daysInYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return(this.leapYear(b)?366:365)},dayOfYear:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return d.toJD()-this.newDate(d.year(),this.fromMonthOfYear(d.year(),this.minMonth),this.minDay).toJD()+1},daysInWeek:function(){return 7},dayOfWeek:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return(Math.floor(this.toJD(d))+2)%this.daysInWeek()},extraInfo:function(a,b,c){this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return{}},add:function(a,b,c){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);return this._correctAdd(a,this._add(a,b,c),b,c)},_add:function(c,f,g){this._validateLevel++;if(g==='d'||g==='w'){var h=c.toJD()+f*(g==='w'?this.daysInWeek():1);var d=c.calendar().fromJD(h);this._validateLevel--;return[d.year(),d.month(),d.day()]}try{var y=c.year()+(g==='y'?f:0);var m=c.monthOfYear()+(g==='m'?f:0);var d=c.day();var i=function(a){while(mb-1+a.minMonth){y++;m-=b;b=a.monthsInYear(y)}};if(g==='y'){if(c.month()!==this.fromMonthOfYear(y,m)){m=this.newDate(y,c.month(),this.minDay).monthOfYear()}m=Math.min(m,this.monthsInYear(y));d=Math.min(d,this.daysInMonth(y,this.fromMonthOfYear(y,m)))}else if(g==='m'){i(this);d=Math.min(d,this.daysInMonth(y,this.fromMonthOfYear(y,m)))}var j=[y,this.fromMonthOfYear(y,m),d];this._validateLevel--;return j}catch(e){this._validateLevel--;throw e;}},_correctAdd:function(a,b,c,d){if(!this.hasYearZero&&(d==='y'||d==='m')){if(b[0]===0||(a.year()>0)!==(b[0]>0)){var e={y:[1,1,'y'],m:[1,this.monthsInYear(-1),'m'],w:[this.daysInWeek(),this.daysInYear(-1),'d'],d:[1,this.daysInYear(-1),'d']}[d];var f=(c<0?-1:+1);b=this._add(a,c*e[0]+f*e[1],e[2])}}return a.date(b[0],b[1],b[2])},set:function(a,b,c){this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);var y=(c==='y'?b:a.year());var m=(c==='m'?b:a.month());var d=(c==='d'?b:a.day());if(c==='y'||c==='m'){d=Math.min(d,this.daysInMonth(y,m))}return a.date(y,m,d)},isValid:function(a,b,c){this._validateLevel++;var d=(this.hasYearZero||a!==0);if(d){var e=this.newDate(a,b,this.minDay);d=(b>=this.minMonth&&b-this.minMonth=this.minDay&&c-this.minDay13.5?13:1);var i=c-(h>2.5?4716:4715);if(i<=0){i--}return this.newDate(i,h,g)},toJSDate:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate||$.calendars.regionalOptions[''].invalidDate);var e=new Date(d.year(),d.month()-1,d.day());e.setHours(0);e.setMinutes(0);e.setSeconds(0);e.setMilliseconds(0);e.setHours(e.getHours()>12?e.getHours()+2:0);return e},fromJSDate:function(a){return this.newDate(a.getFullYear(),a.getMonth()+1,a.getDate())}});$.calendars=new Calendars();$.calendars.cdate=CDate;$.calendars.baseCalendar=BaseCalendar;$.calendars.calendars.gregorian=GregorianCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nanakshahi-pa.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nanakshahi-pa.js
new file mode 100644
index 0000000..82f47c4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nanakshahi-pa.js
@@ -0,0 +1,18 @@
+/* http://keith-wood.name/calendars.html
+ Punjabi localisation for Nanakshahi calendar for jQuery v2.0.2.
+ Written by Sarbjit Singh January 2016. */
+(function($) {
+ $.calendars.calendars.nanakshahi.prototype.regionalOptions['pa'] = {
+ name: 'Nanakshahi',
+ epochs: ['BN', 'AN'],
+ monthNames: ['ਚੇਤ', 'ਵੈਸਾਖ', 'ਜੇਠ', 'ਹਾੜ', 'ਸਾਵਣ', 'ਭਾਦੋਂ', 'ਅੱਸੂ', 'ਕੱਤਕ', 'ਮੱਘਰ', 'ਪੋਹ', 'ਮਾਘ', 'ਫੱਗਣ'],
+ monthNamesShort: ['ਚੇ', 'ਵੈ', 'ਜੇ', 'ਹਾ', 'ਸਾ', 'ਭਾ', 'ਅੱ', 'ਕੱ', 'ਮੱ', 'ਪੋ', 'ਮਾ', 'ਫੱ'],
+ dayNames: ['ਐਤਵਾਰ', 'ਸੋਮਵਾਰ', 'ਮੰਗਲਵਾਰ', 'ਬੁੱਧਵਾਰ', 'ਵੀਰਵਾਰ', 'ਸ਼ੁੱਕਰਵਾਰ', 'ਸ਼ਨਿੱਚਰਵਾਰ'],
+ dayNamesShort: ['ਐਤ', 'ਸੋਮ', 'ਮੰਗਲ', 'ਬੁੱਧ', 'ਵੀਰ', 'ਸ਼ੁੱਕਰ', 'ਸ਼ਨਿੱਚਰ'],
+ dayNamesMin: ['ਐ', 'ਸੋ', 'ਮੰ', 'ਬੁੱ', 'ਵੀ', 'ਸ਼ੁੱ', 'ਸ਼'],
+ digits: $.calendars.substituteDigits(['੦', '੧', '੨', '੩', '੪', '੫', '੬', '੭', '੮', '੯']),
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nanakshahi.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nanakshahi.js
new file mode 100644
index 0000000..35c2fac
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nanakshahi.js
@@ -0,0 +1,166 @@
+/* http://keith-wood.name/calendars.html
+ Nanakshahi calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) January 2016.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Nanakshahi calendar.
+ See also https://en.wikipedia.org/wiki/Nanakshahi_calendar .
+ @class NanakshahiCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function NanakshahiCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ NanakshahiCalendar.prototype = new $.calendars.baseCalendar;
+
+ var gregorian = $.calendars.instance('gregorian');
+
+ $.extend(NanakshahiCalendar.prototype, {
+ /** The calendar name.
+ @memberof NanakshahiCalendar */
+ name: 'Nanakshahi',
+ /** Julian date of start of Nanakshahi epoch: 14 March 1469 CE.
+ @memberof NanakshahiCalendar */
+ jdEpoch: 2257673.5,
+ /** Days per month in a common year.
+ @memberof NanakshahiCalendar */
+ daysPerMonth: [31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 30, 30],
+ /** true if has a year zero, false if not.
+ @memberof NanakshahiCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof NanakshahiCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof NanakshahiCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof NanakshahiCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof NanakshahiCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Nanakshahi',
+ epochs: ['BN', 'AN'],
+ monthNames: ['Chet', 'Vaisakh', 'Jeth', 'Harh', 'Sawan', 'Bhadon',
+ 'Assu', 'Katak', 'Maghar', 'Poh', 'Magh', 'Phagun'],
+ monthNamesShort: ['Che', 'Vai', 'Jet', 'Har', 'Saw', 'Bha', 'Ass', 'Kat', 'Mgr', 'Poh', 'Mgh', 'Pha'],
+ dayNames: ['Somvaar', 'Mangalvar', 'Budhvaar', 'Veervaar', 'Shukarvaar', 'Sanicharvaar', 'Etvaar'],
+ dayNamesShort: ['Som', 'Mangal', 'Budh', 'Veer', 'Shukar', 'Sanichar', 'Et'],
+ dayNamesMin: ['So', 'Ma', 'Bu', 'Ve', 'Sh', 'Sa', 'Et'],
+ digits: null,
+ dateFormat: 'dd-mm-yyyy',
+ firstDay: 0,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof NanakshahiCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay,
+ $.calendars.local.invalidYear || $.calendars.regionalOptions[''].invalidYear);
+ return gregorian.leapYear(date.year() + (date.year() < 1 ? 1 : 0) + 1469);
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof NanakshahiCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Monday of this week starting on Monday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(1 - (checkDate.dayOfWeek() || 7), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof NanakshahiCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 12 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof NanakshahiCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return (this.dayOfWeek(year, month, day) || 7) < 6;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof NanakshahiCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidMonth);
+ var year = date.year();
+ if (year < 0) { year++; } // No year zero
+ var doy = date.day();
+ for (var m = 1; m < date.month(); m++) {
+ doy += this.daysPerMonth[m - 1];
+ }
+ return doy + gregorian.toJD(year + 1468, 3, 13);
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof NanakshahiCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ jd = Math.floor(jd + 0.5);
+ var year = Math.floor((jd - (this.jdEpoch - 1)) / 366);
+ while (jd >= this.toJD(year + 1, 1, 1)) {
+ year++;
+ }
+ var day = jd - Math.floor(this.toJD(year, 1, 1) + 0.5) + 1;
+ var month = 1;
+ while (day > this.daysInMonth(year, month)) {
+ day -= this.daysInMonth(year, month);
+ month++;
+ }
+ return this.newDate(year, month, day);
+ }
+ });
+
+ // Nanakshahi calendar implementation
+ $.calendars.calendars.nanakshahi = NanakshahiCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nanakshahi.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nanakshahi.min.js
new file mode 100644
index 0000000..3d59595
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nanakshahi.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Nanakshahi calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) January 2016.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function NanakshahiCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}NanakshahiCalendar.prototype=new $.calendars.baseCalendar;var f=$.calendars.instance('gregorian');$.extend(NanakshahiCalendar.prototype,{name:'Nanakshahi',jdEpoch:2257673.5,daysPerMonth:[31,31,31,31,31,30,30,30,30,30,30,30],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Nanakshahi',epochs:['BN','AN'],monthNames:['Chet','Vaisakh','Jeth','Harh','Sawan','Bhadon','Assu','Katak','Maghar','Poh','Magh','Phagun'],monthNamesShort:['Che','Vai','Jet','Har','Saw','Bha','Ass','Kat','Mgr','Poh','Mgh','Pha'],dayNames:['Somvaar','Mangalvar','Budhvaar','Veervaar','Shukarvaar','Sanicharvaar','Etvaar'],dayNamesShort:['Som','Mangal','Budh','Veer','Shukar','Sanichar','Et'],dayNamesMin:['So','Ma','Bu','Ve','Sh','Sa','Et'],digits:null,dateFormat:'dd-mm-yyyy',firstDay:0,isRTL:false}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear||$.calendars.regionalOptions[''].invalidYear);return f.leapYear(b.year()+(b.year()<1?1:0)+1469)},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(1-(d.dayOfWeek()||7),'d');return Math.floor((d.dayOfYear()-1)/7)+1},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===12&&this.leapYear(c.year())?1:0)},weekDay:function(a,b,c){return(this.dayOfWeek(a,b,c)||7)<6},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidMonth);var a=d.year();if(a<0){a++}var e=d.day();for(var m=1;m=this.toJD(b+1,1,1)){b++}var c=a-Math.floor(this.toJD(b,1,1)+0.5)+1;var d=1;while(c>this.daysInMonth(b,d)){c-=this.daysInMonth(b,d);d++}return this.newDate(b,d,c)}});$.calendars.calendars.nanakshahi=NanakshahiCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nepali-ne.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nepali-ne.js
new file mode 100644
index 0000000..8924566
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nepali-ne.js
@@ -0,0 +1,18 @@
+/* http://keith-wood.name/calendars.html
+ Nepali localisation for Nepali calendar for jQuery v2.0.2.
+ Written by Artur Neumann (ict.projects{at}nepal.inf.org) April 2013. */
+(function($) {
+ $.calendars.calendars.nepali.prototype.regionalOptions['ne'] = {
+ name: 'Nepali',
+ epochs: ['BBS', 'ABS'],
+ monthNames: ['बैशाख', 'जेष्ठ', 'आषाढ', 'श्रावण', 'भाद्र', 'आश्विन', 'कार्तिक', 'मंसिर', 'पौष', 'माघ', 'फाल्गुन', 'चैत्र'],
+ monthNamesShort: ['बै', 'जे', 'आषा', 'श्रा', 'भा', 'आश', 'का', 'मं', 'पौ', 'मा', 'फा', 'चै'],
+ dayNames: ['आइतवार', 'सोमवार', 'मगलवार', 'बुधवार', 'बिहिवार', 'शुक्रवार', 'शनिवार'],
+ dayNamesShort: ['आइत', 'सोम', 'मगल', 'बुध', 'बिहि', 'शुक्र', 'शनि'],
+ dayNamesMin: ['आ', 'सो', 'म', 'बु', 'बि', 'शु', 'श'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ };
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nepali.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nepali.js
new file mode 100644
index 0000000..bf5784a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nepali.js
@@ -0,0 +1,409 @@
+/* http://keith-wood.name/calendars.html
+ Nepali calendar for jQuery v2.0.2.
+ Written by Artur Neumann (ict.projects{at}nepal.inf.org) April 2013.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Nepali civil calendar.
+ Based on the ideas from
+ http://codeissue.com/articles/a04e050dea7468f/algorithm-to-convert-english-date-to-nepali-date-using-c-net
+ and http://birenj2ee.blogspot.com/2011/04/nepali-calendar-in-java.html
+ See also http://en.wikipedia.org/wiki/Nepali_calendar
+ and https://en.wikipedia.org/wiki/Bikram_Samwat .
+ @class NepaliCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function NepaliCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ NepaliCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(NepaliCalendar.prototype, {
+ /** The calendar name.
+ @memberof NepaliCalendar */
+ name: 'Nepali',
+ /** Julian date of start of Nepali epoch: 14 April 57 BCE.
+ @memberof NepaliCalendar */
+ jdEpoch: 1700709.5,
+ /** Days per month in a common year.
+ @memberof NepaliCalendar */
+ daysPerMonth: [31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ /** true if has a year zero, false if not.
+ @memberof NepaliCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof NepaliCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof NepaliCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof NepaliCalendar */
+ minDay: 1,
+ /** The number of days in the year.
+ @memberof NepaliCalendar */
+ daysPerYear: 365,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof NepaliCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Nepali',
+ epochs: ['BBS', 'ABS'],
+ monthNames: ['Baisakh', 'Jestha', 'Ashadh', 'Shrawan', 'Bhadra', 'Ashwin',
+ 'Kartik', 'Mangsir', 'Paush', 'Mangh', 'Falgun', 'Chaitra'],
+ monthNamesShort: ['Bai', 'Je', 'As', 'Shra', 'Bha', 'Ash', 'Kar', 'Mang', 'Pau', 'Ma', 'Fal', 'Chai'],
+ dayNames: ['Aaitabaar', 'Sombaar', 'Manglbaar', 'Budhabaar', 'Bihibaar', 'Shukrabaar', 'Shanibaar'],
+ dayNamesShort: ['Aaita', 'Som', 'Mangl', 'Budha', 'Bihi', 'Shukra', 'Shani'],
+ dayNamesMin: ['Aai', 'So', 'Man', 'Bu', 'Bi', 'Shu', 'Sha'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 1,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof NepaliCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ return this.daysInYear(year) !== this.daysPerYear;
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof NepaliCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Sunday of this week starting on Sunday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(-checkDate.dayOfWeek(), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a year.
+ @memberof NepaliCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of days.
+ @throws Error if an invalid year or a different calendar used. */
+ daysInYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ year = date.year();
+ if (typeof this.NEPALI_CALENDAR_DATA[year] === 'undefined') {
+ return this.daysPerYear;
+ }
+ var daysPerYear = 0;
+ for (var month_number = this.minMonth; month_number <= 12; month_number++) {
+ daysPerYear += this.NEPALI_CALENDAR_DATA[year][month_number];
+ }
+ return daysPerYear;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof NepaliCalendar
+ @param year {CDate|number| The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ if (year.year) {
+ month = year.month();
+ year = year.year();
+ }
+ this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return (typeof this.NEPALI_CALENDAR_DATA[year] === 'undefined' ?
+ this.daysPerMonth[month - 1] : this.NEPALI_CALENDAR_DATA[year][month]);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof NepaliCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return this.dayOfWeek(year, month, day) !== 6;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof NepaliCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(nepaliYear, nepaliMonth, nepaliDay) {
+ var date = this._validate(nepaliYear, nepaliMonth, nepaliDay, $.calendars.local.invalidDate);
+ nepaliYear = date.year();
+ nepaliMonth = date.month();
+ nepaliDay = date.day();
+ var gregorianCalendar = $.calendars.instance();
+ var gregorianDayOfYear = 0; // We will add all the days that went by since
+ // the 1st. January and then we can get the Gregorian Date
+ var nepaliMonthToCheck = nepaliMonth;
+ var nepaliYearToCheck = nepaliYear;
+ this._createMissingCalendarData(nepaliYear);
+ // Get the correct year
+ var gregorianYear = nepaliYear - (nepaliMonthToCheck > 9 || (nepaliMonthToCheck === 9 &&
+ nepaliDay >= this.NEPALI_CALENDAR_DATA[nepaliYearToCheck][0]) ? 56 : 57);
+ // First we add the amount of days in the actual Nepali month as the day of year in the
+ // Gregorian one because at least this days are gone since the 1st. Jan.
+ if (nepaliMonth !== 9) {
+ gregorianDayOfYear = nepaliDay;
+ nepaliMonthToCheck--;
+ }
+ // Now we loop throw all Nepali month and add the amount of days to gregorianDayOfYear
+ // we do this till we reach Paush (9th month). 1st. January always falls in this month
+ while (nepaliMonthToCheck !== 9) {
+ if (nepaliMonthToCheck <= 0) {
+ nepaliMonthToCheck = 12;
+ nepaliYearToCheck--;
+ }
+ gregorianDayOfYear += this.NEPALI_CALENDAR_DATA[nepaliYearToCheck][nepaliMonthToCheck];
+ nepaliMonthToCheck--;
+ }
+ // If the date that has to be converted is in Paush (month no. 9) we have to do some other calculation
+ if (nepaliMonth === 9) {
+ // Add the days that are passed since the first day of Paush and substract the
+ // amount of days that lie between 1st. Jan and 1st Paush
+ gregorianDayOfYear += nepaliDay - this.NEPALI_CALENDAR_DATA[nepaliYearToCheck][0];
+ // For the first days of Paush we are now in negative values,
+ // because in the end of the gregorian year we substract
+ // 365 / 366 days (P.S. remember math in school + - gives -)
+ if (gregorianDayOfYear < 0) {
+ gregorianDayOfYear += gregorianCalendar.daysInYear(gregorianYear);
+ }
+ }
+ else {
+ gregorianDayOfYear += this.NEPALI_CALENDAR_DATA[nepaliYearToCheck][9] -
+ this.NEPALI_CALENDAR_DATA[nepaliYearToCheck][0];
+ }
+ return gregorianCalendar.newDate(gregorianYear, 1 ,1).add(gregorianDayOfYear, 'd').toJD();
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof NepaliCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ var gregorianCalendar = $.calendars.instance();
+ var gregorianDate = gregorianCalendar.fromJD(jd);
+ var gregorianYear = gregorianDate.year();
+ var gregorianDayOfYear = gregorianDate.dayOfYear();
+ var nepaliYear = gregorianYear + 56; //this is not final, it could be also +57 but +56 is always true for 1st Jan.
+ this._createMissingCalendarData(nepaliYear);
+ var nepaliMonth = 9; // Jan 1 always fall in Nepali month Paush which is the 9th month of Nepali calendar.
+ // Get the Nepali day in Paush (month 9) of 1st January
+ var dayOfFirstJanInPaush = this.NEPALI_CALENDAR_DATA[nepaliYear][0];
+ // Check how many days are left of Paush .
+ // Days calculated from 1st Jan till the end of the actual Nepali month,
+ // we use this value to check if the gregorian Date is in the actual Nepali month.
+ var daysSinceJanFirstToEndOfNepaliMonth =
+ this.NEPALI_CALENDAR_DATA[nepaliYear][nepaliMonth] - dayOfFirstJanInPaush + 1;
+ // If the gregorian day-of-year is smaller o equal than the sum of days between the 1st January and
+ // the end of the actual nepali month we found the correct nepali month.
+ // Example:
+ // The 4th February 2011 is the gregorianDayOfYear 35 (31 days of January + 4)
+ // 1st January 2011 is in the nepali year 2067, where 1st. January is in the 17th day of Paush (9th month)
+ // In 2067 Paush has 30days, This means (30-17+1=14) there are 14days between 1st January and end of Paush
+ // (including 17th January)
+ // The gregorianDayOfYear (35) is bigger than 14, so we check the next month
+ // The next nepali month (Mangh) has 29 days
+ // 29+14=43, this is bigger than gregorianDayOfYear(35) so, we found the correct nepali month
+ while (gregorianDayOfYear > daysSinceJanFirstToEndOfNepaliMonth) {
+ nepaliMonth++;
+ if (nepaliMonth > 12) {
+ nepaliMonth = 1;
+ nepaliYear++;
+ }
+ daysSinceJanFirstToEndOfNepaliMonth += this.NEPALI_CALENDAR_DATA[nepaliYear][nepaliMonth];
+ }
+ // The last step is to calculate the nepali day-of-month
+ // to continue our example from before:
+ // we calculated there are 43 days from 1st. January (17 Paush) till end of Mangh (29 days)
+ // when we subtract from this 43 days the day-of-year of the the Gregorian date (35),
+ // we know how far the searched day is away from the end of the Nepali month.
+ // So we simply subtract this number from the amount of days in this month (30)
+ var nepaliDayOfMonth = this.NEPALI_CALENDAR_DATA[nepaliYear][nepaliMonth] -
+ (daysSinceJanFirstToEndOfNepaliMonth - gregorianDayOfYear);
+ return this.newDate(nepaliYear, nepaliMonth, nepaliDayOfMonth);
+ },
+
+ /** Creates missing data in the NEPALI_CALENDAR_DATA table.
+ This data will not be correct but just give an estimated result. Mostly -/+ 1 day
+ @private
+ @param nepaliYear {number} The missing year number. */
+ _createMissingCalendarData: function(nepaliYear) {
+ var tmp_calendar_data = this.daysPerMonth.slice(0);
+ tmp_calendar_data.unshift(17);
+ for (var nepaliYearToCreate = (nepaliYear - 1); nepaliYearToCreate < (nepaliYear + 2); nepaliYearToCreate++) {
+ if (typeof this.NEPALI_CALENDAR_DATA[nepaliYearToCreate] === 'undefined') {
+ this.NEPALI_CALENDAR_DATA[nepaliYearToCreate] = tmp_calendar_data;
+ }
+ }
+ },
+
+ NEPALI_CALENDAR_DATA: {
+ // These data are from http://www.ashesh.com.np
+ 1970: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1971: [18, 31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30],
+ 1972: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
+ 1973: [19, 30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 1974: [19, 31, 31, 32, 30, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1975: [18, 31, 31, 32, 32, 30, 31, 30, 29, 30, 29, 30, 30],
+ 1976: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 1977: [18, 31, 32, 31, 32, 31, 31, 29, 30, 29, 30, 29, 31],
+ 1978: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1979: [18, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 1980: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 1981: [18, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
+ 1982: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1983: [18, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 1984: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 1985: [18, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
+ 1986: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1987: [18, 31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 1988: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 1989: [18, 31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1990: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1991: [18, 31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ // These data are from http://nepalicalendar.rat32.com/index.php
+ 1992: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 1993: [18, 31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1994: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1995: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
+ 1996: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 1997: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1998: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 1999: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2000: [17, 30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 2001: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2002: [18, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2003: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2004: [17, 30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 2005: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2006: [18, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2007: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2008: [17, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31],
+ 2009: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2010: [18, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2011: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2012: [17, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
+ 2013: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2014: [18, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2015: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2016: [17, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
+ 2017: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2018: [18, 31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2019: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 2020: [17, 31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2021: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2022: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
+ 2023: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 2024: [17, 31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2025: [18, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2026: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2027: [17, 30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 2028: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2029: [18, 31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30],
+ 2030: [17, 31, 32, 31, 32, 31, 30, 30, 30, 30, 30, 30, 31],
+ 2031: [17, 31, 32, 31, 32, 31, 31, 31, 31, 31, 31, 31, 31],
+ 2032: [17, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32],
+ 2033: [18, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2034: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2035: [17, 30, 32, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31],
+ 2036: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2037: [18, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2038: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2039: [17, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
+ 2040: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2041: [18, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2042: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2043: [17, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
+ 2044: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2045: [18, 31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2046: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2047: [17, 31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2048: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2049: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
+ 2050: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 2051: [17, 31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2052: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2053: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
+ 2054: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 2055: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 30, 29, 30],
+ 2056: [17, 31, 31, 32, 31, 32, 30, 30, 29, 30, 29, 30, 30],
+ 2057: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2058: [17, 30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 2059: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2060: [17, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2061: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2062: [17, 30, 32, 31, 32, 31, 31, 29, 30, 29, 30, 29, 31],
+ 2063: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2064: [17, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2065: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2066: [17, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31],
+ 2067: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2068: [17, 31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2069: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2070: [17, 31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30],
+ 2071: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2072: [17, 31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2073: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31],
+ 2074: [17, 31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2075: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2076: [16, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
+ 2077: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31],
+ 2078: [17, 31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2079: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30],
+ 2080: [16, 31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30],
+ // These data are from http://www.ashesh.com.np/nepali-calendar/
+ 2081: [17, 31, 31, 32, 32, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2082: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2083: [17, 31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2084: [17, 31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2085: [17, 31, 32, 31, 32, 31, 31, 30, 30, 29, 30, 30, 30],
+ 2086: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2087: [16, 31, 31, 32, 31, 31, 31, 30, 30, 29, 30, 30, 30],
+ 2088: [16, 30, 31, 32, 32, 30, 31, 30, 30, 29, 30, 30, 30],
+ 2089: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2090: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2091: [16, 31, 31, 32, 31, 31, 31, 30, 30, 29, 30, 30, 30],
+ 2092: [16, 31, 31, 32, 32, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2093: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2094: [17, 31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2095: [17, 31, 31, 32, 31, 31, 31, 30, 29, 30, 30, 30, 30],
+ 2096: [17, 30, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30],
+ 2097: [17, 31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30],
+ 2098: [17, 31, 31, 32, 31, 31, 31, 29, 30, 29, 30, 30, 31],
+ 2099: [17, 31, 31, 32, 31, 31, 31, 30, 29, 29, 30, 30, 30],
+ 2100: [17, 31, 32, 31, 32, 30, 31, 30, 29, 30, 29, 30, 30]
+ }
+ });
+
+ // Nepali calendar implementation
+ $.calendars.calendars.nepali = NepaliCalendar;
+
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nepali.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nepali.min.js
new file mode 100644
index 0000000..c8c0bfb
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.nepali.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Nepali calendar for jQuery v2.0.2.
+ Written by Artur Neumann (ict.projects{at}nepal.inf.org) April 2013.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function NepaliCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}NepaliCalendar.prototype=new $.calendars.baseCalendar;$.extend(NepaliCalendar.prototype,{name:'Nepali',jdEpoch:1700709.5,daysPerMonth:[31,31,32,32,31,30,30,29,30,29,30,30],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,daysPerYear:365,regionalOptions:{'':{name:'Nepali',epochs:['BBS','ABS'],monthNames:['Baisakh','Jestha','Ashadh','Shrawan','Bhadra','Ashwin','Kartik','Mangsir','Paush','Mangh','Falgun','Chaitra'],monthNamesShort:['Bai','Je','As','Shra','Bha','Ash','Kar','Mang','Pau','Ma','Fal','Chai'],dayNames:['Aaitabaar','Sombaar','Manglbaar','Budhabaar','Bihibaar','Shukrabaar','Shanibaar'],dayNamesShort:['Aaita','Som','Mangl','Budha','Bihi','Shukra','Shani'],dayNamesMin:['Aai','So','Man','Bu','Bi','Shu','Sha'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:1,isRTL:false}},leapYear:function(a){return this.daysInYear(a)!==this.daysPerYear},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(-d.dayOfWeek(),'d');return Math.floor((d.dayOfYear()-1)/7)+1},daysInYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);a=b.year();if(typeof this.NEPALI_CALENDAR_DATA[a]==='undefined'){return this.daysPerYear}var c=0;for(var d=this.minMonth;d<=12;d++){c+=this.NEPALI_CALENDAR_DATA[a][d]}return c},daysInMonth:function(a,b){if(a.year){b=a.month();a=a.year()}this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return(typeof this.NEPALI_CALENDAR_DATA[a]==='undefined'?this.daysPerMonth[b-1]:this.NEPALI_CALENDAR_DATA[a][b])},weekDay:function(a,b,c){return this.dayOfWeek(a,b,c)!==6},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);a=d.year();b=d.month();c=d.day();var e=$.calendars.instance();var f=0;var g=b;var h=a;this._createMissingCalendarData(a);var i=a-(g>9||(g===9&&c>=this.NEPALI_CALENDAR_DATA[h][0])?56:57);if(b!==9){f=c;g--}while(g!==9){if(g<=0){g=12;h--}f+=this.NEPALI_CALENDAR_DATA[h][g];g--}if(b===9){f+=c-this.NEPALI_CALENDAR_DATA[h][0];if(f<0){f+=e.daysInYear(i)}}else{f+=this.NEPALI_CALENDAR_DATA[h][9]-this.NEPALI_CALENDAR_DATA[h][0]}return e.newDate(i,1,1).add(f,'d').toJD()},fromJD:function(a){var b=$.calendars.instance();var c=b.fromJD(a);var d=c.year();var e=c.dayOfYear();var f=d+56;this._createMissingCalendarData(f);var g=9;var h=this.NEPALI_CALENDAR_DATA[f][0];var i=this.NEPALI_CALENDAR_DATA[f][g]-h+1;while(e>i){g++;if(g>12){g=1;f++}i+=this.NEPALI_CALENDAR_DATA[f][g]}var j=this.NEPALI_CALENDAR_DATA[f][g]-(i-e);return this.newDate(f,g,j)},_createMissingCalendarData:function(a){var b=this.daysPerMonth.slice(0);b.unshift(17);for(var c=(a-1);c<(a+2);c++){if(typeof this.NEPALI_CALENDAR_DATA[c]==='undefined'){this.NEPALI_CALENDAR_DATA[c]=b}}},NEPALI_CALENDAR_DATA:{1970:[18,31,31,32,31,31,31,30,29,30,29,30,30],1971:[18,31,31,32,31,32,30,30,29,30,29,30,30],1972:[17,31,32,31,32,31,30,30,30,29,29,30,30],1973:[19,30,32,31,32,31,30,30,30,29,30,29,31],1974:[19,31,31,32,30,31,31,30,29,30,29,30,30],1975:[18,31,31,32,32,30,31,30,29,30,29,30,30],1976:[17,31,32,31,32,31,30,30,30,29,29,30,31],1977:[18,31,32,31,32,31,31,29,30,29,30,29,31],1978:[18,31,31,32,31,31,31,30,29,30,29,30,30],1979:[18,31,31,32,32,31,30,30,29,30,29,30,30],1980:[17,31,32,31,32,31,30,30,30,29,29,30,31],1981:[18,31,31,31,32,31,31,29,30,30,29,30,30],1982:[18,31,31,32,31,31,31,30,29,30,29,30,30],1983:[18,31,31,32,32,31,30,30,29,30,29,30,30],1984:[17,31,32,31,32,31,30,30,30,29,29,30,31],1985:[18,31,31,31,32,31,31,29,30,30,29,30,30],1986:[18,31,31,32,31,31,31,30,29,30,29,30,30],1987:[18,31,32,31,32,31,30,30,29,30,29,30,30],1988:[17,31,32,31,32,31,30,30,30,29,29,30,31],1989:[18,31,31,31,32,31,31,30,29,30,29,30,30],1990:[18,31,31,32,31,31,31,30,29,30,29,30,30],1991:[18,31,32,31,32,31,30,30,29,30,29,30,30],1992:[17,31,32,31,32,31,30,30,30,29,30,29,31],1993:[18,31,31,31,32,31,31,30,29,30,29,30,30],1994:[18,31,31,32,31,31,31,30,29,30,29,30,30],1995:[17,31,32,31,32,31,30,30,30,29,29,30,30],1996:[17,31,32,31,32,31,30,30,30,29,30,29,31],1997:[18,31,31,32,31,31,31,30,29,30,29,30,30],1998:[18,31,31,32,31,31,31,30,29,30,29,30,30],1999:[17,31,32,31,32,31,30,30,30,29,29,30,31],2000:[17,30,32,31,32,31,30,30,30,29,30,29,31],2001:[18,31,31,32,31,31,31,30,29,30,29,30,30],2002:[18,31,31,32,32,31,30,30,29,30,29,30,30],2003:[17,31,32,31,32,31,30,30,30,29,29,30,31],2004:[17,30,32,31,32,31,30,30,30,29,30,29,31],2005:[18,31,31,32,31,31,31,30,29,30,29,30,30],2006:[18,31,31,32,32,31,30,30,29,30,29,30,30],2007:[17,31,32,31,32,31,30,30,30,29,29,30,31],2008:[17,31,31,31,32,31,31,29,30,30,29,29,31],2009:[18,31,31,32,31,31,31,30,29,30,29,30,30],2010:[18,31,31,32,32,31,30,30,29,30,29,30,30],2011:[17,31,32,31,32,31,30,30,30,29,29,30,31],2012:[17,31,31,31,32,31,31,29,30,30,29,30,30],2013:[18,31,31,32,31,31,31,30,29,30,29,30,30],2014:[18,31,31,32,32,31,30,30,29,30,29,30,30],2015:[17,31,32,31,32,31,30,30,30,29,29,30,31],2016:[17,31,31,31,32,31,31,29,30,30,29,30,30],2017:[18,31,31,32,31,31,31,30,29,30,29,30,30],2018:[18,31,32,31,32,31,30,30,29,30,29,30,30],2019:[17,31,32,31,32,31,30,30,30,29,30,29,31],2020:[17,31,31,31,32,31,31,30,29,30,29,30,30],2021:[18,31,31,32,31,31,31,30,29,30,29,30,30],2022:[17,31,32,31,32,31,30,30,30,29,29,30,30],2023:[17,31,32,31,32,31,30,30,30,29,30,29,31],2024:[17,31,31,31,32,31,31,30,29,30,29,30,30],2025:[18,31,31,32,31,31,31,30,29,30,29,30,30],2026:[17,31,32,31,32,31,30,30,30,29,29,30,31],2027:[17,30,32,31,32,31,30,30,30,29,30,29,31],2028:[17,31,31,32,31,31,31,30,29,30,29,30,30],2029:[18,31,31,32,31,32,30,30,29,30,29,30,30],2030:[17,31,32,31,32,31,30,30,30,30,30,30,31],2031:[17,31,32,31,32,31,31,31,31,31,31,31,31],2032:[17,32,32,32,32,32,32,32,32,32,32,32,32],2033:[18,31,31,32,32,31,30,30,29,30,29,30,30],2034:[17,31,32,31,32,31,30,30,30,29,29,30,31],2035:[17,30,32,31,32,31,31,29,30,30,29,29,31],2036:[17,31,31,32,31,31,31,30,29,30,29,30,30],2037:[18,31,31,32,32,31,30,30,29,30,29,30,30],2038:[17,31,32,31,32,31,30,30,30,29,29,30,31],2039:[17,31,31,31,32,31,31,29,30,30,29,30,30],2040:[17,31,31,32,31,31,31,30,29,30,29,30,30],2041:[18,31,31,32,32,31,30,30,29,30,29,30,30],2042:[17,31,32,31,32,31,30,30,30,29,29,30,31],2043:[17,31,31,31,32,31,31,29,30,30,29,30,30],2044:[17,31,31,32,31,31,31,30,29,30,29,30,30],2045:[18,31,32,31,32,31,30,30,29,30,29,30,30],2046:[17,31,32,31,32,31,30,30,30,29,29,30,31],2047:[17,31,31,31,32,31,31,30,29,30,29,30,30],2048:[17,31,31,32,31,31,31,30,29,30,29,30,30],2049:[17,31,32,31,32,31,30,30,30,29,29,30,30],2050:[17,31,32,31,32,31,30,30,30,29,30,29,31],2051:[17,31,31,31,32,31,31,30,29,30,29,30,30],2052:[17,31,31,32,31,31,31,30,29,30,29,30,30],2053:[17,31,32,31,32,31,30,30,30,29,29,30,30],2054:[17,31,32,31,32,31,30,30,30,29,30,29,31],2055:[17,31,31,32,31,31,31,30,29,30,30,29,30],2056:[17,31,31,32,31,32,30,30,29,30,29,30,30],2057:[17,31,32,31,32,31,30,30,30,29,29,30,31],2058:[17,30,32,31,32,31,30,30,30,29,30,29,31],2059:[17,31,31,32,31,31,31,30,29,30,29,30,30],2060:[17,31,31,32,32,31,30,30,29,30,29,30,30],2061:[17,31,32,31,32,31,30,30,30,29,29,30,31],2062:[17,30,32,31,32,31,31,29,30,29,30,29,31],2063:[17,31,31,32,31,31,31,30,29,30,29,30,30],2064:[17,31,31,32,32,31,30,30,29,30,29,30,30],2065:[17,31,32,31,32,31,30,30,30,29,29,30,31],2066:[17,31,31,31,32,31,31,29,30,30,29,29,31],2067:[17,31,31,32,31,31,31,30,29,30,29,30,30],2068:[17,31,31,32,32,31,30,30,29,30,29,30,30],2069:[17,31,32,31,32,31,30,30,30,29,29,30,31],2070:[17,31,31,31,32,31,31,29,30,30,29,30,30],2071:[17,31,31,32,31,31,31,30,29,30,29,30,30],2072:[17,31,32,31,32,31,30,30,29,30,29,30,30],2073:[17,31,32,31,32,31,30,30,30,29,29,30,31],2074:[17,31,31,31,32,31,31,30,29,30,29,30,30],2075:[17,31,31,32,31,31,31,30,29,30,29,30,30],2076:[16,31,32,31,32,31,30,30,30,29,29,30,30],2077:[17,31,32,31,32,31,30,30,30,29,30,29,31],2078:[17,31,31,31,32,31,31,30,29,30,29,30,30],2079:[17,31,31,32,31,31,31,30,29,30,29,30,30],2080:[16,31,32,31,32,31,30,30,30,29,29,30,30],2081:[17,31,31,32,32,31,30,30,30,29,30,30,30],2082:[17,31,32,31,32,31,30,30,30,29,30,30,30],2083:[17,31,31,32,31,31,30,30,30,29,30,30,30],2084:[17,31,31,32,31,31,30,30,30,29,30,30,30],2085:[17,31,32,31,32,31,31,30,30,29,30,30,30],2086:[17,31,32,31,32,31,30,30,30,29,30,30,30],2087:[16,31,31,32,31,31,31,30,30,29,30,30,30],2088:[16,30,31,32,32,30,31,30,30,29,30,30,30],2089:[17,31,32,31,32,31,30,30,30,29,30,30,30],2090:[17,31,32,31,32,31,30,30,30,29,30,30,30],2091:[16,31,31,32,31,31,31,30,30,29,30,30,30],2092:[16,31,31,32,32,31,30,30,30,29,30,30,30],2093:[17,31,32,31,32,31,30,30,30,29,30,30,30],2094:[17,31,31,32,31,31,30,30,30,29,30,30,30],2095:[17,31,31,32,31,31,31,30,29,30,30,30,30],2096:[17,30,31,32,32,31,30,30,29,30,29,30,30],2097:[17,31,32,31,32,31,30,30,30,29,30,30,30],2098:[17,31,31,32,31,31,31,29,30,29,30,30,31],2099:[17,31,31,32,31,31,31,30,29,29,30,30,30],2100:[17,31,32,31,32,30,31,30,29,30,29,30,30]}});$.calendars.calendars.nepali=NepaliCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.persian-fa.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.persian-fa.js
new file mode 100644
index 0000000..70ccc56
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.persian-fa.js
@@ -0,0 +1,20 @@
+/* http://keith-wood.name/calendars.html
+ Farsi/Persian localisation for Persian calendar for jQuery v2.0.2.
+ Written by Sajjad Servatjoo (sajjad.servatjoo{at}gmail.com) April 2011. */
+(function($) {
+ $.calendars.calendars.persian.prototype.regionalOptions['fa'] = {
+ name: 'Persian',
+ epochs: ['BP', 'AP'],
+ monthNames: ['فروردین', 'اردیبهشت', 'خرداد', 'تیر', 'مرداد', 'شهریور',
+ 'مهر', 'آبان', 'آذر', 'دی', 'بهمن', 'اسفند'],
+ monthNamesShort: ['فروردین', 'اردیبهشت', 'خرداد', 'تیر', 'مرداد', 'شهریور',
+ 'مهر', 'آبان', 'آذر', 'دی', 'بهمن', 'اسفند'],
+ dayNames: ['يک شنبه', 'دوشنبه', 'سه شنبه', 'چهار شنبه', 'پنج شنبه', 'جمعه', 'شنبه'],
+ dayNamesShort: ['يک', 'دو', 'سه', 'چهار', 'پنج', 'جمعه', 'شنبه'],
+ dayNamesMin: ['ي', 'د', 'س', 'چ', 'پ', 'ج', 'ش'],
+ digits: $.calendars.substituteDigits(['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹']),
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 6,
+ isRTL: true
+ };
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.persian.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.persian.js
new file mode 100644
index 0000000..3344566
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.persian.js
@@ -0,0 +1,176 @@
+/* http://keith-wood.name/calendars.html
+ Persian calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ /** Implementation of the Persian or Jalali calendar.
+ Based on code from http://www.iranchamber.com/calendar/converter/iranian_calendar_converter.php .
+ See also http://en.wikipedia.org/wiki/Iranian_calendar .
+ @class PersianCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function PersianCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ PersianCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(PersianCalendar.prototype, {
+ /** The calendar name.
+ @memberof PersianCalendar */
+ name: 'Persian',
+ /** Julian date of start of Persian epoch: 19 March 622 CE.
+ @memberof PersianCalendar */
+ jdEpoch: 1948320.5,
+ /** Days per month in a common year.
+ @memberof PersianCalendar */
+ daysPerMonth: [31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29],
+ /** true if has a year zero, false if not.
+ @memberof PersianCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof PersianCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof PersianCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof PersianCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof PersianCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Persian',
+ epochs: ['BP', 'AP'],
+ monthNames: ['Farvardin', 'Ordibehesht', 'Khordad', 'Tir', 'Mordad', 'Shahrivar',
+ 'Mehr', 'Aban', 'Azar', 'Day', 'Bahman', 'Esfand'],
+ monthNamesShort: ['Far', 'Ord', 'Kho', 'Tir', 'Mor', 'Sha', 'Meh', 'Aba', 'Aza', 'Day', 'Bah', 'Esf'],
+ dayNames: ['Yekshambe', 'Doshambe', 'Seshambe', 'Chæharshambe', 'Panjshambe', 'Jom\'e', 'Shambe'],
+ dayNamesShort: ['Yek', 'Do', 'Se', 'Chæ', 'Panj', 'Jom', 'Sha'],
+ dayNamesMin: ['Ye','Do','Se','Ch','Pa','Jo','Sh'],
+ digits: null,
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 6,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof PersianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return (((((date.year() - (date.year() > 0 ? 474 : 473)) % 2820) +
+ 474 + 38) * 682) % 2816) < 682;
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof PersianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ // Find Saturday of this week starting on Saturday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(-((checkDate.dayOfWeek() + 1) % 7), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof PersianCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 12 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof PersianCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return this.dayOfWeek(year, month, day) !== 5;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof PersianCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ year = date.year();
+ month = date.month();
+ day = date.day();
+ var epBase = year - (year >= 0 ? 474 : 473);
+ var epYear = 474 + mod(epBase, 2820);
+ return day + (month <= 7 ? (month - 1) * 31 : (month - 1) * 30 + 6) +
+ Math.floor((epYear * 682 - 110) / 2816) + (epYear - 1) * 365 +
+ Math.floor(epBase / 2820) * 1029983 + this.jdEpoch - 1;
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof PersianCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ jd = Math.floor(jd) + 0.5;
+ var depoch = jd - this.toJD(475, 1, 1);
+ var cycle = Math.floor(depoch / 1029983);
+ var cyear = mod(depoch, 1029983);
+ var ycycle = 2820;
+ if (cyear !== 1029982) {
+ var aux1 = Math.floor(cyear / 366);
+ var aux2 = mod(cyear, 366);
+ ycycle = Math.floor(((2134 * aux1) + (2816 * aux2) + 2815) / 1028522) + aux1 + 1;
+ }
+ var year = ycycle + (2820 * cycle) + 474;
+ year = (year <= 0 ? year - 1 : year);
+ var yday = jd - this.toJD(year, 1, 1) + 1;
+ var month = (yday <= 186 ? Math.ceil(yday / 31) : Math.ceil((yday - 6) / 30));
+ var day = jd - this.toJD(year, month, 1) + 1;
+ return this.newDate(year, month, day);
+ }
+ });
+
+ // Modulus function which works for non-integers.
+ function mod(a, b) {
+ return a - (b * Math.floor(a / b));
+ }
+
+ // Persian (Jalali) calendar implementation
+ $.calendars.calendars.persian = PersianCalendar;
+ $.calendars.calendars.jalali = PersianCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.persian.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.persian.min.js
new file mode 100644
index 0000000..5103429
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.persian.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Persian calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function PersianCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}PersianCalendar.prototype=new $.calendars.baseCalendar;$.extend(PersianCalendar.prototype,{name:'Persian',jdEpoch:1948320.5,daysPerMonth:[31,31,31,31,31,31,30,30,30,30,30,29],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Persian',epochs:['BP','AP'],monthNames:['Farvardin','Ordibehesht','Khordad','Tir','Mordad','Shahrivar','Mehr','Aban','Azar','Day','Bahman','Esfand'],monthNamesShort:['Far','Ord','Kho','Tir','Mor','Sha','Meh','Aba','Aza','Day','Bah','Esf'],dayNames:['Yekshambe','Doshambe','Seshambe','Chæharshambe','Panjshambe','Jom\'e','Shambe'],dayNamesShort:['Yek','Do','Se','Chæ','Panj','Jom','Sha'],dayNamesMin:['Ye','Do','Se','Ch','Pa','Jo','Sh'],digits:null,dateFormat:'yyyy/mm/dd',firstDay:6,isRTL:false}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return(((((b.year()-(b.year()>0?474:473))%2820)+474+38)*682)%2816)<682},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(-((d.dayOfWeek()+1)%7),'d');return Math.floor((d.dayOfYear()-1)/7)+1},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===12&&this.leapYear(c.year())?1:0)},weekDay:function(a,b,c){return this.dayOfWeek(a,b,c)!==5},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);a=d.year();b=d.month();c=d.day();var e=a-(a>=0?474:473);var f=474+mod(e,2820);return c+(b<=7?(b-1)*31:(b-1)*30+6)+Math.floor((f*682-110)/2816)+(f-1)*365+Math.floor(e/2820)*1029983+this.jdEpoch-1},fromJD:function(a){a=Math.floor(a)+0.5;var b=a-this.toJD(475,1,1);var c=Math.floor(b/1029983);var d=mod(b,1029983);var e=2820;if(d!==1029982){var f=Math.floor(d/366);var g=mod(d,366);e=Math.floor(((2134*f)+(2816*g)+2815)/1028522)+f+1}var h=e+(2820*c)+474;h=(h<=0?h-1:h);var i=a-this.toJD(h,1,1)+1;var j=(i<=186?Math.ceil(i/31):Math.ceil((i-6)/30));var k=a-this.toJD(h,j,1)+1;return this.newDate(h,j,k)}});function mod(a,b){return a-(b*Math.floor(a/b))}$.calendars.calendars.persian=PersianCalendar;$.calendars.calendars.jalali=PersianCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-af.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-af.js
new file mode 100644
index 0000000..960a479
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-af.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Afrikaans localisation for calendars datepicker for jQuery.
+ Written by Renier Pretorius and Ruediger Thiede. */
+(function($) {
+ $.calendarsPicker.regionalOptions['af'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Vorige', prevStatus: 'Vertoon vorige maand',
+ prevJumpText: '<<', prevJumpStatus: 'Vertoon vorige jaar',
+ nextText: 'Volgende', nextStatus: 'Vertoon volgende maand',
+ nextJumpText: '>>', nextJumpStatus: 'Vertoon volgende jaar',
+ currentText: 'Vandag', currentStatus: 'Vertoon huidige maand',
+ todayText: 'Vandag', todayStatus: 'Vertoon huidige maand',
+ clearText: 'Vee uit', clearStatus: 'Verwyder die huidige datum',
+ closeText: 'Klaar', closeStatus: 'Sluit sonder verandering',
+ yearStatus: 'Vertoon \'n ander jaar', monthStatus: 'Vertoon \'n ander maand',
+ weekText: 'Wk', weekStatus: 'Week van die jaar',
+ dayStatus: 'Kies DD, M d', defaultStatus: 'Kies \'n datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['af']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-am.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-am.js
new file mode 100644
index 0000000..ddff246
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-am.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Amharic (አማርኛ) localisation for calendars datepicker for jQuery.
+ Leyu Sisay. */
+(function($) {
+ $.calendarsPicker.regionalOptions['am'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'ያለፈ', prevStatus: 'ያለፈውን ወር አሳይ',
+ prevJumpText: '<<', prevJumpStatus: 'ያለፈውን ዓመት አሳይ',
+ nextText: 'ቀጣይ', nextStatus: 'ቀጣዩን ወር አሳይ',
+ nextJumpText: '>>', nextJumpStatus: 'ቀጣዩን ዓመት አሳይ',
+ currentText: 'አሁን', currentStatus: 'የአሁኑን ወር አሳይ',
+ todayText: 'ዛሬ', todayStatus: 'የዛሬን ወር አሳይ',
+ clearText: 'አጥፋ', clearStatus: 'የተመረጠውን ቀን አጥፋ',
+ closeText: 'ዝጋ', closeStatus: 'የቀን መምረጫውን ዝጋ',
+ yearStatus: 'ዓመቱን ቀይር', monthStatus: 'ወሩን ቀይር',
+ weekText: 'ሳም', weekStatus: 'የዓመቱ ሳምንት ',
+ dayStatus: 'DD, M d, yyyy ምረጥ', defaultStatus: 'ቀን ምረጥ',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['am']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ar-DZ.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ar-DZ.js
new file mode 100644
index 0000000..e212de6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ar-DZ.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Algerian (and Tunisian) Arabic localisation for calendars datepicker for jQuery.
+ Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */
+(function($) {
+ $.calendarsPicker.regionalOptions['ar-DZ'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<السابق', prevStatus: 'عرض الشهر السابق',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'التالي>', nextStatus: 'عرض الشهر القادم',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'اليوم', currentStatus: 'عرض الشهر الحالي',
+ todayText: 'اليوم', todayStatus: 'عرض الشهر الحالي',
+ clearText: 'مسح', clearStatus: 'امسح التاريخ الحالي',
+ closeText: 'إغلاق', closeStatus: 'إغلاق بدون حفظ',
+ yearStatus: 'عرض سنة آخرى', monthStatus: 'عرض شهر آخر',
+ weekText: 'أسبوع', weekStatus: 'أسبوع السنة',
+ dayStatus: 'اختر D, M d', defaultStatus: 'اختر يوم',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-DZ']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ar-EG.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ar-EG.js
new file mode 100644
index 0000000..6f2627f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ar-EG.js
@@ -0,0 +1,22 @@
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for calendars datepicker for jQuery.
+ Mahmoud Khaled -- mahmoud.khaled@badrit.com
+ NOTE: monthNames are the new months names */
+(function($) {
+ $.calendarsPicker.regionalOptions['ar-EG'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<السابق', prevStatus: 'عرض الشهر السابق',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'التالي>', nextStatus: 'عرض الشهر القادم',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'اليوم', currentStatus: 'عرض الشهر الحالي',
+ todayText: 'اليوم', todayStatus: 'عرض الشهر الحالي',
+ clearText: 'مسح', clearStatus: 'امسح التاريخ الحالي',
+ closeText: 'إغلاق', closeStatus: 'إغلاق بدون حفظ',
+ yearStatus: 'عرض سنة آخرى', monthStatus: 'عرض شهر آخر',
+ weekText: 'أسبوع', weekStatus: 'أسبوع السنة',
+ dayStatus: 'اختر D, M d', defaultStatus: 'اختر يوم',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-EG']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ar.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ar.js
new file mode 100644
index 0000000..154088b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ar.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for calendars datepicker for jQuery.
+ Khaled Al Horani -- خالد الحوراني -- koko.dw@gmail.com */
+(function($) {
+ $.calendarsPicker.regionalOptions['ar'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<السابق', prevStatus: 'عرض الشهر السابق',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'التالي>', nextStatus: 'عرض الشهر القادم',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'اليوم', currentStatus: 'عرض الشهر الحالي',
+ todayText: 'اليوم', todayStatus: 'عرض الشهر الحالي',
+ clearText: 'مسح', clearStatus: 'امسح التاريخ الحالي',
+ closeText: 'إغلاق', closeStatus: 'إغلاق بدون حفظ',
+ yearStatus: 'عرض سنة آخرى', monthStatus: 'عرض شهر آخر',
+ weekText: 'أسبوع', weekStatus: 'أسبوع السنة',
+ dayStatus: 'اختر D, M d', defaultStatus: 'اختر يوم',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-az.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-az.js
new file mode 100644
index 0000000..8dc4d06
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-az.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Azerbaijani localisation for calendars datepicker for jQuery.
+ Written by Jamil Najafov (necefov33@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['az'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Geri', prevStatus: 'Əvvəlki ay',
+ prevJumpText: '<<', prevJumpStatus: 'Əvvəlki il',
+ nextText: 'İrəli>', nextStatus: 'Sonrakı ay',
+ nextJumpText: '>>', nextJumpStatus: 'Sonrakı il',
+ currentText: 'Bugün', currentStatus: 'İndiki ay',
+ todayText: 'Bugün', todayStatus: 'İndiki ay',
+ clearText: 'Təmizlə', clearStatus: 'Tarixi sil',
+ closeText: 'Bağla', closeStatus: 'Təqvimi bağla',
+ yearStatus: 'Başqa il', monthStatus: 'Başqa ay',
+ weekText: 'Hf', weekStatus: 'Həftələr',
+ dayStatus: 'D, M d seçin', defaultStatus: 'Bir tarix seçin',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['az']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-bg.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-bg.js
new file mode 100644
index 0000000..c19f89a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-bg.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Bulgarian localisation for calendars datepicker for jQuery.
+ Written by Stoyan Kyosev (http://svest.org). */
+(function($) {
+ $.calendarsPicker.regionalOptions['bg'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<назад', prevStatus: 'покажи последния месец',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'напред>', nextStatus: 'покажи следващия месец',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'днес', currentStatus: '',
+ todayText: 'днес', todayStatus: '',
+ clearText: 'изчисти', clearStatus: 'изчисти актуалната дата',
+ closeText: 'затвори', closeStatus: 'затвори без промени',
+ yearStatus: 'покажи друга година', monthStatus: 'покажи друг месец',
+ weekText: 'Wk', weekStatus: 'седмица от месеца',
+ dayStatus: 'Избери D, M d', defaultStatus: 'Избери дата',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bg']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-bs.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-bs.js
new file mode 100644
index 0000000..ea2254c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-bs.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Bosnian localisation for calendars datepicker for jQuery.
+ Kenan Konjo. */
+(function($) {
+ $.calendarsPicker.regionalOptions['bs'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: '>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Danas', currentStatus: '',
+ todayText: 'Danas', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'Zatvori', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: '', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bs']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ca.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ca.js
new file mode 100644
index 0000000..31ebcb5
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ca.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Catalan localisation for calendars datepicker for jQuery.
+ Writers: (joan.leon@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ca'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Seg>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Avui', currentStatus: '',
+ todayText: 'Avui', todayStatus: '',
+ clearText: 'Netejar', clearStatus: '',
+ closeText: 'Tancar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ca']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-cs.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-cs.js
new file mode 100644
index 0000000..19861fd
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-cs.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Czech localisation for calendars datepicker for jQuery.
+ Written by Tomas Muller (tomas@tomas-muller.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['cs'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Dříve', prevStatus: 'Přejít na předchozí měsí',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Později>', nextStatus: 'Přejít na další měsíc',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Nyní', currentStatus: 'Přejde na aktuální měsíc',
+ todayText: 'Nyní', todayStatus: 'Přejde na aktuální měsíc',
+ clearText: 'Vymazat', clearStatus: 'Vymaže zadané datum',
+ closeText: 'Zavřít', closeStatus: 'Zavře kalendář beze změny',
+ yearStatus: 'Přejít na jiný rok', monthStatus: 'Přejít na jiný měsíc',
+ weekText: 'Týd', weekStatus: 'Týden v roce',
+ dayStatus: '\'Vyber\' DD, M d', defaultStatus: 'Vyberte datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['cs']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-da.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-da.js
new file mode 100644
index 0000000..b9b9305
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-da.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Danish localisation for calendars datepicker for jQuery.
+ Written by Jan Christensen ( deletestuff@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['da'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Forrige', prevStatus: 'Vis forrige måned',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Næste>', nextStatus: 'Vis næste måned',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Idag', currentStatus: 'Vis aktuel måned',
+ todayText: 'Idag', todayStatus: 'Vis aktuel måned',
+ clearText: 'Nulstil', clearStatus: 'Nulstil den aktuelle dato',
+ closeText: 'Luk', closeStatus: 'Luk uden ændringer',
+ yearStatus: 'Vis et andet år', monthStatus: 'Vis en anden måned',
+ weekText: 'Uge', weekStatus: 'Årets uge',
+ dayStatus: 'Vælg D, M d', defaultStatus: 'Vælg en dato',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['da']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-de-CH.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-de-CH.js
new file mode 100644
index 0000000..40d26b5
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-de-CH.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Swiss-German localisation for calendars datepicker for jQuery.
+ Written by Douglas Jose & Juerg Meier. */
+(function($) {
+ $.calendarsPicker.regionalOptions['de-CH'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<zurück', prevStatus: 'letzten Monat zeigen',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'nächster>', nextStatus: 'nächsten Monat zeigen',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'heute', currentStatus: '',
+ todayText: 'heute', todayStatus: '',
+ clearText: 'löschen', clearStatus: 'aktuelles Datum löschen',
+ closeText: 'schliessen', closeStatus: 'ohne Änderungen schliessen',
+ yearStatus: 'anderes Jahr anzeigen', monthStatus: 'anderen Monat anzeige',
+ weekText: 'Wo', weekStatus: 'Woche des Monats',
+ dayStatus: 'Wähle D, M d', defaultStatus: 'Wähle ein Datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de-CH']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-de.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-de.js
new file mode 100644
index 0000000..5e565fd
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-de.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ German localisation for calendars datepicker for jQuery.
+ Written by Milian Wolff (mail@milianw.de). */
+(function($) {
+ $.calendarsPicker.regionalOptions['de'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<zurück', prevStatus: 'letzten Monat zeigen',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Vor>', nextStatus: 'nächsten Monat zeigen',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'heute', currentStatus: '',
+ todayText: 'heute', todayStatus: '',
+ clearText: 'löschen', clearStatus: 'aktuelles Datum löschen',
+ closeText: 'schließen', closeStatus: 'ohne Änderungen schließen',
+ yearStatus: 'anderes Jahr anzeigen', monthStatus: 'anderen Monat anzeige',
+ weekText: 'Wo', weekStatus: 'Woche des Monats',
+ dayStatus: 'Wähle D, M d', defaultStatus: 'Wähle ein Datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-el.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-el.js
new file mode 100644
index 0000000..a5182b4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-el.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Greek localisation for calendars datepicker for jQuery.
+ Written by Alex Cicovic (http://www.alexcicovic.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['el'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Προηγούμενος', prevStatus: 'Επισκόπηση προηγούμενου μήνα',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Επόμενος', nextStatus: 'Επισκόπηση επόμενου μήνα',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Τρέχων Μήνας', currentStatus: 'Επισκόπηση τρέχοντος μήνα',
+ todayText: 'Τρέχων Μήνας', todayStatus: 'Επισκόπηση τρέχοντος μήνα',
+ clearText: 'Σβήσιμο', clearStatus: 'Σβήσιμο της επιλεγμένης ημερομηνίας',
+ closeText: 'Κλείσιμο', closeStatus: 'Κλείσιμο χωρίς αλλαγή',
+ yearStatus: 'Επισκόπηση άλλου έτους', monthStatus: 'Επισκόπηση άλλου μήνα',
+ weekText: 'Εβδ', weekStatus: '',
+ dayStatus: 'Επιλογή DD d MM', defaultStatus: 'Επιλέξτε μια ημερομηνία',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['el']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-en-AU.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-en-AU.js
new file mode 100644
index 0000000..8127841
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-en-AU.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ English/Australia localisation for calendars datepicker for jQuery.
+ Based on en-GB. */
+(function($) {
+ $.calendarsPicker.regionalOptions['en-AU'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Prev', prevStatus: 'Show the previous month',
+ prevJumpText: '<<', prevJumpStatus: 'Show the previous year',
+ nextText: 'Next', nextStatus: 'Show the next month',
+ nextJumpText: '>>', nextJumpStatus: 'Show the next year',
+ currentText: 'Current', currentStatus: 'Show the current month',
+ todayText: 'Today', todayStatus: 'Show today\'s month',
+ clearText: 'Clear', clearStatus: 'Clear all the dates',
+ closeText: 'Done', closeStatus: 'Close the datepicker',
+ yearStatus: 'Change the year', monthStatus: 'Change the month',
+ weekText: 'Wk', weekStatus: 'Week of the year',
+ dayStatus: 'Select DD, M d, yyyy', defaultStatus: 'Select a date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-AU']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-en-GB.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-en-GB.js
new file mode 100644
index 0000000..9bf1494
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-en-GB.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ English/UK localisation for calendars datepicker for jQuery.
+ Stuart. */
+(function($) {
+ $.calendarsPicker.regionalOptions['en-GB'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Prev', prevStatus: 'Show the previous month',
+ prevJumpText: '<<', prevJumpStatus: 'Show the previous year',
+ nextText: 'Next', nextStatus: 'Show the next month',
+ nextJumpText: '>>', nextJumpStatus: 'Show the next year',
+ currentText: 'Current', currentStatus: 'Show the current month',
+ todayText: 'Today', todayStatus: 'Show today\'s month',
+ clearText: 'Clear', clearStatus: 'Clear all the dates',
+ closeText: 'Done', closeStatus: 'Close the datepicker',
+ yearStatus: 'Change the year', monthStatus: 'Change the month',
+ weekText: 'Wk', weekStatus: 'Week of the year',
+ dayStatus: 'Select DD, M d, yyyy', defaultStatus: 'Select a date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-GB']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-en-NZ.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-en-NZ.js
new file mode 100644
index 0000000..d54f232
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-en-NZ.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ English/New Zealand localisation for calendars datepicker for jQuery.
+ Based on en-GB. */
+(function($) {
+ $.calendarsPicker.regionalOptions['en-NZ'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Prev', prevStatus: 'Show the previous month',
+ prevJumpText: '<<', prevJumpStatus: 'Show the previous year',
+ nextText: 'Next', nextStatus: 'Show the next month',
+ nextJumpText: '>>', nextJumpStatus: 'Show the next year',
+ currentText: 'Current', currentStatus: 'Show the current month',
+ todayText: 'Today', todayStatus: 'Show today\'s month',
+ clearText: 'Clear', clearStatus: 'Clear all the dates',
+ closeText: 'Done', closeStatus: 'Close the datepicker',
+ yearStatus: 'Change the year', monthStatus: 'Change the month',
+ weekText: 'Wk', weekStatus: 'Week of the year',
+ dayStatus: 'Select DD, M d, yyyy', defaultStatus: 'Select a date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-NZ']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-eo.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-eo.js
new file mode 100644
index 0000000..cb6c6da
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-eo.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Esperanto localisation for calendars datepicker for jQuery.
+ Written by Olivier M. (olivierweb@ifrance.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['eo'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Anta', prevStatus: 'Vidi la antaŭan monaton',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Sekv>', nextStatus: 'Vidi la sekvan monaton',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Nuna', currentStatus: 'Vidi la nunan monaton',
+ todayText: 'Nuna', todayStatus: 'Vidi la nunan monaton',
+ clearText: 'Vakigi', clearStatus: '',
+ closeText: 'Fermi', closeStatus: 'Fermi sen modifi',
+ yearStatus: 'Vidi alian jaron', monthStatus: 'Vidi alian monaton',
+ weekText: 'Sb', weekStatus: '',
+ dayStatus: 'Elekti DD, MM d', defaultStatus: 'Elekti la daton',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eo']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-es-AR.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-es-AR.js
new file mode 100644
index 0000000..1fa38d8
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-es-AR.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Spanish/Argentina localisation for calendars datepicker for jQuery.
+ Written by Esteban Acosta Villafane (esteban.acosta@globant.com) of Globant (http://www.globant.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['es-AR'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Sig>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Hoy', currentStatus: '',
+ todayText: 'Hoy', todayStatus: '',
+ clearText: 'Limpiar', clearStatus: '',
+ closeText: 'Cerrar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Sm', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-AR']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-es-PE.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-es-PE.js
new file mode 100644
index 0000000..bb1bd9f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-es-PE.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Spanish/Perú localisation for calendars datepicker for jQuery.
+ Written by Fischer Tirado (fishdev@globant.com) of ASIX (http://www.asixonline.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['es-PE'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Sig>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Hoy', currentStatus: '',
+ todayText: 'Hoy', todayStatus: '',
+ clearText: 'Limpiar', clearStatus: '',
+ closeText: 'Cerrar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Sm', weekStatus: '',
+ dayStatus: 'DD d, MM yyyy', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-PE']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-es.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-es.js
new file mode 100644
index 0000000..2245bcc
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-es.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Spanish localisation for calendars datepicker for jQuery.
+ Traducido por Vester (xvester@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['es'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Sig>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Hoy', currentStatus: '',
+ todayText: 'Hoy', todayStatus: '',
+ clearText: 'Limpiar', clearStatus: '',
+ closeText: 'Cerrar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Sm', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-et.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-et.js
new file mode 100644
index 0000000..2a38754
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-et.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Estonian localisation for calendars datepicker for jQuery.
+ Written by Mart Sõmermaa (mrts.pydev at gmail com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['et'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Eelnev', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Järgnev', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Täna', currentStatus: '',
+ todayText: 'Täna', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'Sulge', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['et']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-eu.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-eu.js
new file mode 100644
index 0000000..412878e
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-eu.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Basque localisation for calendars datepicker for jQuery.
+ Karrikas-ek itzulia (karrikas@karrikas.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['eu'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Aur', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Hur>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Gaur', currentStatus: '',
+ todayText: 'Gaur', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'Egina', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD d MM', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eu']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fa.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fa.js
new file mode 100644
index 0000000..c74b5c1
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fa.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Farsi/Persian localisation for calendars datepicker for jQuery.
+ Javad Mowlanezhad -- jmowla@gmail.com. */
+(function($) {
+ $.calendarsPicker.regionalOptions['fa'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<قبلي', prevStatus: 'نمايش ماه قبل',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'بعدي>', nextStatus: 'نمايش ماه بعد',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'امروز', currentStatus: 'نمايش ماه جاري',
+ todayText: 'امروز', todayStatus: 'نمايش ماه جاري',
+ clearText: 'حذف تاريخ', clearStatus: 'پاک کردن تاريخ جاري',
+ closeText: 'بستن', closeStatus: 'بستن بدون اعمال تغييرات',
+ yearStatus: 'نمايش سال متفاوت', monthStatus: 'نمايش ماه متفاوت',
+ weekText: 'هف', weekStatus: 'هفتهِ سال',
+ dayStatus: 'انتخاب D, M d', defaultStatus: 'انتخاب تاريخ',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fa']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fi.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fi.js
new file mode 100644
index 0000000..b324abd
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fi.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Finnish localisation for calendars datepicker for jQuery.
+ Written by Harri Kilpiö (harrikilpio@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['fi'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '«Edellinen', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Seuraava»', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Tänään', currentStatus: '',
+ todayText: 'Tänään', todayStatus: '',
+ clearText: 'Tyhjennä', clearStatus: '',
+ closeText: 'Sulje', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Vk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fi']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fo.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fo.js
new file mode 100644
index 0000000..87bc77a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fo.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Faroese localisation for calendars datepicker for jQuery.
+ Written by Sverri Mohr Olsen, sverrimo@gmail.com */
+(function($) {
+ $.calendarsPicker.regionalOptions['fo'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Sísta', prevStatus: 'Vís sísta mánaðan',
+ prevJumpText: '<<', prevJumpStatus: 'Vís sísta árið',
+ nextText: 'Næsta>', nextStatus: 'Vís næsta mánaðan',
+ nextJumpText: '>>', nextJumpStatus: 'Vís næsta árið',
+ currentText: 'Hesin', currentStatus: 'Vís hendan mánaðan',
+ todayText: 'Í dag', todayStatus: 'Vís mánaðan fyri í dag',
+ clearText: 'Strika', clearStatus: 'Strika allir mánaðarnar',
+ closeText: 'Goym', closeStatus: 'Goym hetta vindeyðga',
+ yearStatus: 'Broyt árið', monthStatus: 'Broyt mánaðans',
+ weekText: 'Vk', weekStatus: 'Vika av árinum',
+ dayStatus: 'Vel DD, M d, yyyy', defaultStatus: 'Vel ein dato',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fo']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fr-CH.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fr-CH.js
new file mode 100644
index 0000000..c4d64b3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fr-CH.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Swiss French localisation for calendars datepicker for jQuery.
+ Written by Martin Voelkle (martin.voelkle@e-tc.ch). */
+(function($) {
+ $.calendarsPicker.regionalOptions['fr-CH'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Préc', prevStatus: 'Voir le mois précédent',
+ prevJumpText: '<<', prevJumpStatus: 'Voir l\'année précédent',
+ nextText: 'Suiv>', nextStatus: 'Voir le mois suivant',
+ nextJumpText: '>>', nextJumpStatus: 'Voir l\'année suivant',
+ currentText: 'Courant', currentStatus: 'Voir le mois courant',
+ todayText: 'Aujourd\'hui', todayStatus: 'Voir aujourd\'hui',
+ clearText: 'Effacer', clearStatus: 'Effacer la date sélectionnée',
+ closeText: 'Fermer', closeStatus: 'Fermer sans modifier',
+ yearStatus: 'Voir une autre année', monthStatus: 'Voir un autre mois',
+ weekText: 'Sm', weekStatus: 'Semaine de l\'année',
+ dayStatus: '\'Choisir\' le DD d MM', defaultStatus: 'Choisir la date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr-CH']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fr.js
new file mode 100644
index 0000000..2e268b8
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-fr.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ French localisation for calendars datepicker for jQuery.
+ Stéphane Nahmani (sholby@sholby.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['fr'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Préc', prevStatus: 'Voir le mois précédent',
+ prevJumpText: '<<', prevJumpStatus: 'Voir l\'année précédent',
+ nextText: 'Suiv>', nextStatus: 'Voir le mois suivant',
+ nextJumpText: '>>', nextJumpStatus: 'Voir l\'année suivant',
+ currentText: 'Courant', currentStatus: 'Voir le mois courant',
+ todayText: 'Aujourd\'hui', todayStatus: 'Voir aujourd\'hui',
+ clearText: 'Effacer', clearStatus: 'Effacer la date sélectionnée',
+ closeText: 'Fermer', closeStatus: 'Fermer sans modifier',
+ yearStatus: 'Voir une autre année', monthStatus: 'Voir un autre mois',
+ weekText: 'Sm', weekStatus: 'Semaine de l\'année',
+ dayStatus: '\'Choisir\' le DD d MM', defaultStatus: 'Choisir la date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-gl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-gl.js
new file mode 100644
index 0000000..2e347c6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-gl.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Iniciacion en galego para a extensión 'UI date picker' para jQuery.
+ Traducido por Manuel (McNuel@gmx.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['gl'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: 'Amosar mes anterior',
+ prevJumpText: '<<', prevJumpStatus: 'Amosar ano anterior',
+ nextText: 'Seg>', nextStatus: 'Amosar mes seguinte',
+ nextJumpText: '>>', nextJumpStatus: 'Amosar ano seguinte',
+ currentText: 'Hoxe', currentStatus: 'Amosar mes actual',
+ todayText: 'Hoxe', todayStatus: 'Amosar mes actual',
+ clearText: 'Limpar', clearStatus: 'Borrar data actual',
+ closeText: 'Pechar', closeStatus: 'Pechar sen gardar',
+ yearStatus: 'Amosar outro ano', monthStatus: 'Amosar outro mes',
+ weekText: 'Sm', weekStatus: 'Semana do ano',
+ dayStatus: 'D, M d', defaultStatus: 'Selecciona Data',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gl']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-gu.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-gu.js
new file mode 100644
index 0000000..610f06b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-gu.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Gujarati (ગુજરાતી) localisation for calendars datepicker for jQuery.
+ Naymesh Mistry (naymesh@yahoo.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['gu'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<પાછળ', prevStatus: 'પાછલો મહિનો બતાવો',
+ prevJumpText: '<<', prevJumpStatus: 'પાછળ',
+ nextText: 'આગળ>', nextStatus: 'આગલો મહિનો બતાવો',
+ nextJumpText: '>>', nextJumpStatus: 'આગળ',
+ currentText: 'આજે', currentStatus: 'આજનો દિવસ બતાવો',
+ todayText: 'આજે', todayStatus: 'આજનો દિવસ',
+ clearText: 'ભૂંસો', clearStatus: 'હાલ પસંદ કરેલી તારીખ ભૂંસો',
+ closeText: 'બંધ કરો', closeStatus: 'તારીખ પસંદ કર્યા વગર બંધ કરો',
+ yearStatus: 'જુદુ વર્ષ બતાવો', monthStatus: 'જુદો મહિનો બતાવો',
+ weekText: 'અઠવાડિયું', weekStatus: 'અઠવાડિયું',
+ dayStatus: 'અઠવાડિયાનો પહેલો દિવસ પસંદ કરો', defaultStatus: 'તારીખ પસંદ કરો',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gu']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-he.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-he.js
new file mode 100644
index 0000000..d570672
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-he.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Hebrew localisation for calendars datepicker for jQuery.
+ Written by Amir Hardon (ahardon at gmail dot com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['he'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<הקודם', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'הבא>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'היום', currentStatus: '',
+ todayText: 'היום', todayStatus: '',
+ clearText: 'נקה', clearStatus: '',
+ closeText: 'סגור', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['he']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hi-IN.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hi-IN.js
new file mode 100644
index 0000000..9bb3aa9
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hi-IN.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Hindi INDIA localisation for calendars datepicker for jQuery.
+ Written by Pawan Kumar Singh. */
+(function($) {
+ $.calendarsPicker.regionalOptions['hi-IN'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'पिछला', prevStatus: 'पिछला महीना देखें',
+ prevJumpText: '<<', prevJumpStatus: 'पिछला वर्ष देखें',
+ nextText: 'अगला', nextStatus: 'अगला महीना देखें',
+ nextJumpText: '>>', nextJumpStatus: 'अगला वर्ष देखें',
+ currentText: 'वर्तमान', currentStatus: 'वर्तमान महीना देखें',
+ todayText: 'आज', todayStatus: 'वर्तमान दिन देखें',
+ clearText: 'साफ', clearStatus: 'वर्तमान दिनांक मिटाए',
+ closeText: 'समाप्त', closeStatus: 'बदलाव के बिना बंद',
+ yearStatus: 'एक अलग वर्ष का चयन करें', monthStatus: 'एक अलग महीने का चयन करें',
+ weekText: 'Wk', weekStatus: 'वर्ष का सप्ताह',
+ dayStatus: 'चुने DD, M d', defaultStatus: 'एक तिथि का चयन करें',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hi-IN']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hr.js
new file mode 100644
index 0000000..0022e5a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hr.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Croatian localisation for calendars datepicker for jQuery.
+ Written by Vjekoslav Nesek. */
+(function($) {
+ $.calendarsPicker.regionalOptions['hr'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Prikaži prethodni mjesec',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: '>', nextStatus: 'Prikaži slijedeći mjesec',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Danas', currentStatus: 'Današnji datum',
+ todayText: 'Danas', todayStatus: 'Današnji datum',
+ clearText: 'izbriši', clearStatus: 'Izbriši trenutni datum',
+ closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
+ yearStatus: 'Prikaži godine', monthStatus: 'Prikaži mjesece',
+ weekText: 'Tje', weekStatus: 'Tjedanr',
+ dayStatus: '\'Datum\' DD, M d', defaultStatus: 'Odaberi datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hr']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hu.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hu.js
new file mode 100644
index 0000000..23a997f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hu.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Hungarian localisation for calendars datepicker for jQuery.
+ Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */
+(function($) {
+ $.calendarsPicker.regionalOptions['hu'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '« vissza', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'előre »', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'ma', currentStatus: '',
+ todayText: 'ma', todayStatus: '',
+ clearText: 'törlés', clearStatus: '',
+ closeText: 'bezárás', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Hé', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hu']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hy.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hy.js
new file mode 100644
index 0000000..da1c398
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-hy.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Armenian localisation for calendars datepicker for jQuery.
+ Written by Levon Zakaryan (levon.zakaryan@gmail.com) */
+(function($) {
+ $.calendarsPicker.regionalOptions['hy'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Նախ.', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Հաջ.>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Այսօր', currentStatus: '',
+ todayText: 'Այսօր', todayStatus: '',
+ clearText: 'Մաքրել', clearStatus: '',
+ closeText: 'Փակել', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'ՇԲՏ', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hy']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-id.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-id.js
new file mode 100644
index 0000000..43e5ef7
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-id.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Indonesian localisation for calendars datepicker for jQuery.
+ Written by Deden Fathurahman (dedenf@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['id'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<mundur', prevStatus: 'Tampilkan bulan sebelumnya',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'maju>', nextStatus: 'Tampilkan bulan berikutnya',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'hari ini', currentStatus: 'Tampilkan bulan sekarang',
+ todayText: 'hari ini', todayStatus: 'Tampilkan bulan sekarang',
+ clearText: 'kosongkan', clearStatus: 'bersihkan tanggal yang sekarang',
+ closeText: 'Tutup', closeStatus: 'Tutup tanpa mengubah',
+ yearStatus: 'Tampilkan tahun yang berbeda', monthStatus: 'Tampilkan bulan yang berbeda',
+ weekText: 'Mg', weekStatus: 'Minggu dalam tahu',
+ dayStatus: 'pilih le DD, MM d', defaultStatus: 'Pilih Tanggal',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['id']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-is.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-is.js
new file mode 100644
index 0000000..dd6f102
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-is.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Icelandic localisation for calendars datepicker for jQuery.
+ Written by Haukur H. Thorsson (haukur@eskill.is). */
+(function($) {
+ $.calendarsPicker.regionalOptions['is'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '< Fyrri', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Næsti >', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Í dag', currentStatus: '',
+ todayText: 'Í dag', todayStatus: '',
+ clearText: 'Hreinsa', clearStatus: '',
+ closeText: 'Loka', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Vika', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['is']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-it.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-it.js
new file mode 100644
index 0000000..06139ec
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-it.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Italian localisation for calendars datepicker for jQuery.
+ Written by Apaella (apaella@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['it'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Prec', prevStatus: 'Mese precedente',
+ prevJumpText: '<<', prevJumpStatus: 'Mostra l\'anno precedente',
+ nextText: 'Succ>', nextStatus: 'Mese successivo',
+ nextJumpText: '>>', nextJumpStatus: 'Mostra l\'anno successivo',
+ currentText: 'Oggi', currentStatus: 'Mese corrente',
+ todayText: 'Oggi', todayStatus: 'Mese corrente',
+ clearText: 'Svuota', clearStatus: 'Annulla',
+ closeText: 'Chiudi', closeStatus: 'Chiudere senza modificare',
+ yearStatus: 'Seleziona un altro anno', monthStatus: 'Seleziona un altro mese',
+ weekText: 'Sm', weekStatus: 'Settimana dell\'anno',
+ dayStatus: '\'Seleziona\' DD, M d', defaultStatus: 'Scegliere una data',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['it']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ja.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ja.js
new file mode 100644
index 0000000..789ad60
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ja.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Japanese localisation for calendars datepicker for jQuery.
+ Written by Kentaro SATO (kentaro@ranvis.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ja'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:yyyy年 MM')}),
+ prevText: '<前', prevStatus: '前月を表示します',
+ prevJumpText: '<<', prevJumpStatus: '前年を表示します',
+ nextText: '次>', nextStatus: '翌月を表示します',
+ nextJumpText: '>>', nextJumpStatus: '翌年を表示します',
+ currentText: '今日', currentStatus: '今月を表示します',
+ todayText: '今日', todayStatus: '今月を表示します',
+ clearText: 'クリア', clearStatus: '日付をクリアします',
+ closeText: '閉じる', closeStatus: '変更せずに閉じます',
+ yearStatus: '表示する年を変更します', monthStatus: '表示する月を変更します',
+ weekText: '週', weekStatus: '暦週で第何週目かを表します',
+ dayStatus: 'yyyy/mm/dd', defaultStatus: '日付を選択します',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ja']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ka.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ka.js
new file mode 100644
index 0000000..585212c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ka.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Georgian localisation for calendars datepicker for jQuery.
+ Andrei Gorbushkin. */
+(function($) {
+ $.calendarsPicker.regionalOptions['ka'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<უკან', prevStatus: 'წინა თვე',
+ prevJumpText: '<<', prevJumpStatus: 'წინა წელი',
+ nextText: 'წინ>', nextStatus: 'შემდეგი თვე',
+ nextJumpText: '>>', nextJumpStatus: 'შემდეგი წელი',
+ currentText: 'მიმდინარე', currentStatus: 'მიმდინარე თვე',
+ todayText: 'დღეს', todayStatus: 'მიმდინარე დღე',
+ clearText: 'გასუფთავება', clearStatus: 'მიმდინარე თარიღის წაშლა',
+ closeText: 'არის', closeStatus: 'დახურვა უცვლილებოდ',
+ yearStatus: 'სხვა წელი', monthStatus: 'სხვა თვე',
+ weekText: 'კვ', weekStatus: 'წლის კვირა',
+ dayStatus: 'აირჩიეთ DD, M d', defaultStatus: 'აიღჩიეთ თარიღი',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ka']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-km.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-km.js
new file mode 100644
index 0000000..38c0575
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-km.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Khmer initialisation for calendars datepicker for jQuery.
+ Written by Sovichet Tep (sovichet.tep@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['km'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'ថយក្រោយ', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'ទៅមុខ', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'ថ្ងៃនេះ', currentStatus: '',
+ todayText: 'ថ្ងៃនេះ', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'រួចរាល់', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD d MM', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['km']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ko.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ko.js
new file mode 100644
index 0000000..5a35f6a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ko.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Korean localisation for calendars datepicker for jQuery.
+ Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */
+(function($) {
+ $.calendarsPicker.regionalOptions['ko'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:yyyy년 MM')}),
+ prevText: '이전달', prevStatus: '이전달을 표시합니다',
+ prevJumpText: '<<', prevJumpStatus: '이전 연도를 표시합니다',
+ nextText: '다음달', nextStatus: '다음달을 표시합니다',
+ nextJumpText: '>>', nextJumpStatus: '다음 연도를 표시합니다',
+ currentText: '현재', currentStatus: '입력한 달을 표시합니다',
+ todayText: '오늘', todayStatus: '이번달을 표시합니다',
+ clearText: '지우기', clearStatus: '입력한 날짜를 지웁니다',
+ closeText: '닫기', closeStatus: '',
+ yearStatus: '표시할 연도를 변경합니다', monthStatus: '표시할 월을 변경합니다',
+ weekText: 'Wk', weekStatus: '해당 연도의 주차',
+ dayStatus: 'M d일 (D)', defaultStatus: '날짜를 선택하세요',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ko']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-lt.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-lt.js
new file mode 100644
index 0000000..2920acb
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-lt.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Lithuanian localisation for calendars datepicker for jQuery.
+ Arturas Paleicikas . */
+(function($) {
+ $.calendarsPicker.regionalOptions['lt'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Atgal', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Pirmyn>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Šiandien', currentStatus: '',
+ todayText: 'Šiandien', todayStatus: '',
+ clearText: 'Išvalyti', clearStatus: '',
+ closeText: 'Uždaryti', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lt']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-lv.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-lv.js
new file mode 100644
index 0000000..c724ec5
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-lv.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Latvian localisation for calendars datepicker for jQuery.
+ Arturas Paleicikas . */
+(function($) {
+ $.calendarsPicker.regionalOptions['lv'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Iepr', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Nāka', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Šodien', currentStatus: '',
+ todayText: 'Šodien', todayStatus: '',
+ clearText: 'Notīrīt', clearStatus: '',
+ closeText: 'Aizvērt', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Nav', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lv']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-me-ME.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-me-ME.js
new file mode 100644
index 0000000..7364799
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-me-ME.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Montenegrin localisation for calendars datepicker for jQuery.
+ Written by Miloš Milošević - fleka d.o.o. */
+(function($) {
+ $.calendarsPicker.regionalOptions['me-ME'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Prikaži prethodni mjesec',
+ prevJumpText: '<<', prevJumpStatus: 'Prikaži prethodnu godinu',
+ nextText: '>', nextStatus: 'Prikaži sljedeći mjesec',
+ nextJumpText: '>>', nextJumpStatus: 'Prikaži sljedeću godinu',
+ currentText: 'Danas', currentStatus: 'Tekući mjesec',
+ todayText: 'Danas', todayStatus: 'Tekući mjesec',
+ clearText: 'Obriši', clearStatus: 'Obriši trenutni datum',
+ closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
+ yearStatus: 'Prikaži godine', monthStatus: 'Prikaži mjesece',
+ weekText: 'Sed', weekStatus: 'Sedmica',
+ dayStatus: '\'Datum\' DD, M d', defaultStatus: 'Odaberi datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me-ME']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-me.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-me.js
new file mode 100644
index 0000000..b3b7b66
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-me.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Montenegrin localisation for calendars datepicker for jQuery.
+ Written by Miloš Milošević - fleka d.o.o. */
+(function($) {
+ $.calendarsPicker.regionalOptions['me'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Прикажи претходни мјесец',
+ prevJumpText: '<<', prevJumpStatus: 'Прикажи претходну годину',
+ nextText: '>', nextStatus: 'Прикажи сљедећи мјесец',
+ nextJumpText: '>>', nextJumpStatus: 'Прикажи сљедећу годину',
+ currentText: 'Данас', currentStatus: 'Текући мјесец',
+ todayText: 'Данас', todayStatus: 'Текући мјесец',
+ clearText: 'Обриши', clearStatus: 'Обриши тренутни датум',
+ closeText: 'Затвори', closeStatus: 'Затвори календар',
+ yearStatus: 'Прикажи године', monthStatus: 'Прикажи мјесеце',
+ weekText: 'Сед', weekStatus: 'Седмица',
+ dayStatus: '\'Датум\' DD d MM', defaultStatus: 'Одабери датум',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-mk.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-mk.js
new file mode 100644
index 0000000..8b7f8d1
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-mk.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Македонски MK localisation for calendars datepicker for jQuery.
+ Hajan Selmani (hajan [at] live [dot] com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['mk'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Претх.', prevStatus: 'Прикажи го претходниот месец',
+ prevJumpText: '<<', prevJumpStatus: 'Прикажи ја претходната година',
+ nextText: 'Следен', nextStatus: 'Прикажи го следниот месец',
+ nextJumpText: '>>', nextJumpStatus: 'Прикажи ја следната година',
+ currentText: 'Тековен', currentStatus: 'Прикажи го тековниот месец',
+ todayText: 'Денес', todayStatus: 'Прикажи го денешниот месец',
+ clearText: 'Бриши', clearStatus: 'Избриши го тековниот датум',
+ closeText: 'Затвори', closeStatus: 'Затвори без промени',
+ yearStatus: 'Избери друга година', monthStatus: 'Избери друг месец',
+ weekText: 'Нед', weekStatus: 'Недела во годината',
+ dayStatus: 'Избери DD, M d', defaultStatus: 'Избери датум',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mk']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ml.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ml.js
new file mode 100644
index 0000000..55ad784
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ml.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Malayalam localisation for calendars datepicker for jQuery.
+ Saji Nediyanchath (saji89@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ml'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'മുന്നത്തെ', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'അടുത്തത് ', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'ഇന്ന്', currentStatus: '',
+ todayText: 'ഇന്ന്', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'ശരി', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'ആ', weekStatus: '',
+ dayStatus: 'DD d MM', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ml']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ms.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ms.js
new file mode 100644
index 0000000..46f6d76
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ms.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Malaysian localisation for calendars datepicker for jQuery.
+ Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ms'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Sebelum', prevStatus: 'Tunjukkan bulan lepas',
+ prevJumpText: '<<', prevJumpStatus: 'Tunjukkan tahun lepas',
+ nextText: 'Selepas>', nextStatus: 'Tunjukkan bulan depan',
+ nextJumpText: '>>', nextJumpStatus: 'Tunjukkan tahun depan',
+ currentText: 'hari ini', currentStatus: 'Tunjukkan bulan terkini',
+ todayText: 'hari ini', todayStatus: 'Tunjukkan bulan terkini',
+ clearText: 'Padam', clearStatus: 'Padamkan tarikh terkini',
+ closeText: 'Tutup', closeStatus: 'Tutup tanpa perubahan',
+ yearStatus: 'Tunjukkan tahun yang lain', monthStatus: 'Tunjukkan bulan yang lain',
+ weekText: 'Mg', weekStatus: 'Minggu bagi tahun ini',
+ dayStatus: 'DD, d MM', defaultStatus: 'Sila pilih tarikh',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ms']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-mt.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-mt.js
new file mode 100644
index 0000000..52c0507
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-mt.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Maltese localisation for calendars datepicker for jQuery.
+ Written by Chritian Sciberras (uuf6429@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['mt'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Ta Qabel', prevStatus: 'Ix-xahar ta qabel',
+ prevJumpText: '<<', prevJumpStatus: 'Is-sena ta qabel',
+ nextText: 'Li Jmiss', nextStatus: 'Ix-xahar li jmiss',
+ nextJumpText: '>>', nextJumpStatus: 'Is-sena li jmiss',
+ currentText: 'Illum', currentStatus: 'Ix-xahar ta llum',
+ todayText: 'Illum', todayStatus: 'Uri ix-xahar ta llum',
+ clearText: 'Ħassar', clearStatus: 'Ħassar id-data',
+ closeText: 'Lest', closeStatus: 'Għalaq mingħajr tibdiliet',
+ yearStatus: 'Uri sena differenti', monthStatus: 'Uri xahar differenti',
+ weekText: 'Ġm', weekStatus: 'Il-Ġimgħa fis-sena',
+ dayStatus: 'Għazel DD, M d', defaultStatus: 'Għazel data',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mt']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-nl-BE.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-nl-BE.js
new file mode 100644
index 0000000..75e9e2b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-nl-BE.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Dutch/Belgian localisation for calendars datepicker for jQuery.
+ Written by Mathias Bynens . */
+(function($) {
+ $.calendarsPicker.regionalOptions['nl-BE'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '←', prevStatus: 'Bekijk de vorige maand',
+ prevJumpText: '«', nextJumpStatus: 'Bekijk het vorige jaar',
+ nextText: '→', nextStatus: 'Bekijk de volgende maand',
+ nextJumpText: '»', nextJumpStatus: 'Bekijk het volgende jaar',
+ currentText: 'Vandaag', currentStatus: 'Bekijk de huidige maand',
+ todayText: 'Vandaag', todayStatus: 'Bekijk de huidige maand',
+ clearText: 'Wissen', clearStatus: 'Wis de huidige datum',
+ closeText: 'Sluiten', closeStatus: 'Sluit zonder verandering',
+ yearStatus: 'Bekijk een ander jaar', monthStatus: 'Bekijk een andere maand',
+ weekText: 'Wk', weekStatus: 'Week van het jaar',
+ dayStatus: 'dd/mm/yyyy', defaultStatus: 'Kies een datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl-BE']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-nl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-nl.js
new file mode 100644
index 0000000..274dcb5
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-nl.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Dutch localisation for calendars datepicker for jQuery.
+ Written by Mathias Bynens . */
+(function($) {
+ $.calendarsPicker.regionalOptions['nl'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '←', prevStatus: 'Bekijk de vorige maand',
+ prevJumpText: '«', nextJumpStatus: 'Bekijk het vorige jaar',
+ nextText: '→', nextStatus: 'Bekijk de volgende maand',
+ nextJumpText: '»', nextJumpStatus: 'Bekijk het volgende jaar',
+ currentText: 'Vandaag', currentStatus: 'Bekijk de huidige maand',
+ todayText: 'Vandaag', todayStatus: 'Bekijk de huidige maand',
+ clearText: 'Wissen', clearStatus: 'Wis de huidige datum',
+ closeText: 'Sluiten', closeStatus: 'Sluit zonder verandering',
+ yearStatus: 'Bekijk een ander jaar', monthStatus: 'Bekijk een andere maand',
+ weekText: 'Wk', weekStatus: 'Week van het jaar',
+ dayStatus: 'dd-mm-yyyy', defaultStatus: 'Kies een datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-no.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-no.js
new file mode 100644
index 0000000..df881df
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-no.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Norwegian localisation for calendars datepicker for jQuery.
+ Written by Naimdjon Takhirov (naimdjon@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['no'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '«Forrige', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Neste»', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'I dag', currentStatus: '',
+ todayText: 'I dag', todayStatus: '',
+ clearText: 'Tøm', clearStatus: '',
+ closeText: 'Lukk', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Uke', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['no']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-pl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-pl.js
new file mode 100644
index 0000000..00ba6e0
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-pl.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Polish localisation for calendars datepicker for jQuery.
+ Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['pl'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Poprzedni', prevStatus: 'Pokaż poprzedni miesiąc',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Następny>', nextStatus: 'Pokaż następny miesiąc',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Dziś', currentStatus: 'Pokaż aktualny miesiąc',
+ todayText: 'Dziś', todayStatus: 'Pokaż aktualny miesiąc',
+ clearText: 'Wyczyść', clearStatus: 'Wyczyść obecną datę',
+ closeText: 'Zamknij', closeStatus: 'Zamknij bez zapisywania',
+ yearStatus: 'Pokaż inny rok', monthStatus: 'Pokaż inny miesiąc',
+ weekText: 'Tydz', weekStatus: 'Tydzień roku',
+ dayStatus: '\'Wybierz\' DD, M d', defaultStatus: 'Wybierz datę',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pl']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-pt-BR.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-pt-BR.js
new file mode 100644
index 0000000..5be78f4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-pt-BR.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Brazilian Portuguese localisation for calendars datepicker for jQuery.
+ Written by Leonildo Costa Silva (leocsilva@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['pt-BR'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Anterior', prevStatus: 'Mostra o mês anterior',
+ prevJumpText: '<<', prevJumpStatus: 'Mostra o ano anterior',
+ nextText: 'Próximo>', nextStatus: 'Mostra o próximo mês',
+ nextJumpText: '>>', nextJumpStatus: 'Mostra o próximo ano',
+ currentText: 'Atual', currentStatus: 'Mostra o mês atual',
+ todayText: 'Hoje', todayStatus: 'Vai para hoje',
+ clearText: 'Limpar', clearStatus: 'Limpar data',
+ closeText: 'Fechar', closeStatus: 'Fechar o calendário',
+ yearStatus: 'Selecionar ano', monthStatus: 'Selecionar mês',
+ weekText: 's', weekStatus: 'Semana do ano',
+ dayStatus: 'DD, d \'de\' M \'de\' yyyy', defaultStatus: 'Selecione um dia',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pt-BR']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-rm.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-rm.js
new file mode 100644
index 0000000..e04b89b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-rm.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Romansh localisation for calendars datepicker for jQuery.
+ Yvonne Gienal (yvonne.gienal@educa.ch). */
+(function($) {
+ $.calendarsPicker.regionalOptions['rm'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Suandant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Precedent>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Actual', currentStatus: '',
+ todayText: 'Actual', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'Serrar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'emna', weekStatus: '',
+ dayStatus: 'DD d MM', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['rm']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ro.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ro.js
new file mode 100644
index 0000000..56620cc
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ro.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Romanian localisation for calendars datepicker for jQuery.
+ Written by Edmond L. (ll_edmond@walla.com) and Ionut G. Stan (ionut.g.stan@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ro'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '«Precedenta', prevStatus: 'Arata luna precedenta',
+ prevJumpText: '««', prevJumpStatus: '',
+ nextText: 'Urmatoare»', nextStatus: 'Arata luna urmatoare',
+ nextJumpText: '»»', nextJumpStatus: '',
+ currentText: 'Azi', currentStatus: 'Arata luna curenta',
+ todayText: 'Azi', todayStatus: 'Arata luna curenta',
+ clearText: 'Curat', clearStatus: 'Sterge data curenta',
+ closeText: 'Închide', closeStatus: 'Închide fara schimbare',
+ yearStatus: 'Arat un an diferit', monthStatus: 'Arata o luna diferita',
+ weekText: 'Săpt', weekStatus: 'Săptamana anului',
+ dayStatus: 'Selecteaza DD, M d', defaultStatus: 'Selecteaza o data',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ro']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ru.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ru.js
new file mode 100644
index 0000000..b7f5a34
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ru.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Russian localisation for calendars datepicker for jQuery.
+ Written by Andrew Stromnov (stromnov@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ru'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Пред', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'След>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Сегодня', currentStatus: '',
+ todayText: 'Сегодня', todayStatus: '',
+ clearText: 'Очистить', clearStatus: '',
+ closeText: 'Закрыть', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Не', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ru']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sk.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sk.js
new file mode 100644
index 0000000..b4965d8
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sk.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Slovak localisation for calendars datepicker for jQuery.
+ Written by Vojtech Rinik (vojto@hmm.sk). */
+(function($) {
+ $.calendarsPicker.regionalOptions['sk'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Predchádzajúci', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Nasledujúci>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Dnes', currentStatus: '',
+ todayText: 'Dnes', todayStatus: '',
+ clearText: 'Zmazať', clearStatus: '',
+ closeText: 'Zavrieť', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Ty', weekStatus: '',
+ dayStatus: 'DD. M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sk']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sl.js
new file mode 100644
index 0000000..3424b30
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sl.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Slovenian localisation for calendars datepicker for jQuery.
+ Written by Jaka Jancar (jaka@kubje.org). */
+(function($) {
+ $.calendarsPicker.regionalOptions['sl'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Prejšnji', prevStatus: 'Prikaži prejšnji mesec',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Naslednji>', nextStatus: 'Prikaži naslednji mesec',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Trenutni', currentStatus: 'Prikaži trenutni mesec',
+ todayText: 'Trenutni', todayStatus: 'Prikaži trenutni mesec',
+ clearText: 'Izbriši', clearStatus: 'Izbriši trenutni datum',
+ closeText: 'Zapri', closeStatus: 'Zapri brez spreminjanja',
+ yearStatus: 'Prikaži drugo leto', monthStatus: 'Prikaži drug mesec',
+ weekText: 'Teden', weekStatus: 'Teden v letu',
+ dayStatus: 'Izberi DD, d MM yy', defaultStatus: 'Izbira datuma',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sl']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sq.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sq.js
new file mode 100644
index 0000000..7892c43
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sq.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Albanian localisation for calendars datepicker for jQuery.
+ Written by Flakron Bytyqi (flakron@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['sq'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<mbrapa', prevStatus: 'trego muajin e fundit',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Përpara>', nextStatus: 'trego muajin tjetër',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'sot', currentStatus: '',
+ todayText: 'sot', todayStatus: '',
+ clearText: 'fshije', clearStatus: 'fshije datën aktuale',
+ closeText: 'mbylle', closeStatus: 'mbylle pa ndryshime',
+ yearStatus: 'trego tjetër vit', monthStatus: 'trego muajin tjetër',
+ weekText: 'Ja', weekStatus: 'Java e muajit',
+ dayStatus: '\'Zgjedh\' D, M d', defaultStatus: 'Zgjedhe një datë',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sq']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sr-SR.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sr-SR.js
new file mode 100644
index 0000000..e78a9de
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sr-SR.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Serbian localisation for calendars datepicker for jQuery.
+ Written by Dejan Dimić. */
+(function($) {
+ $.calendarsPicker.regionalOptions['sr-SR'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Prikaži predhodni mesec',
+ prevJumpText: '<<', prevJumpStatus: 'Prikaži predhodnu godinu',
+ nextText: '>', nextStatus: 'Prikaži sledeći mesec',
+ nextJumpText: '>>', nextJumpStatus: 'Prikaži sledeću godinu',
+ currentText: 'Danas', currentStatus: 'Tekući mesec',
+ todayText: 'Danas', todayStatus: 'Tekući mesec',
+ clearText: 'Obriši', clearStatus: 'Obriši trenutni datum',
+ closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
+ yearStatus: 'Prikaži godine', monthStatus: 'Prikaži mesece',
+ weekText: 'Sed', weekStatus: 'Sedmica',
+ dayStatus: '\'Datum\' DD, M d', defaultStatus: 'Odaberi datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr-SR']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sr.js
new file mode 100644
index 0000000..4c9ce58
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sr.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Serbian localisation for calendars datepicker for jQuery.
+ Written by Dejan Dimić. */
+(function($) {
+ $.calendarsPicker.regionalOptions['sr'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Прикажи предходни месец',
+ prevJumpText: '<<', prevJumpStatus: 'Прикажи предходну годину',
+ nextText: '>', nextStatus: 'Прикажи слецећи месец',
+ nextJumpText: '>>', nextJumpStatus: 'Прикажи следећу годину',
+ currentText: 'Данас', currentStatus: 'Текући месец',
+ todayText: 'Данас', todayStatus: 'Текући месец',
+ clearText: 'Обриши', clearStatus: 'Обриши тренутни датум',
+ closeText: 'Затвори', closeStatus: 'Затвори календар',
+ yearStatus: 'Прикажи године', monthStatus: 'Прикажи месеце',
+ weekText: 'Сед', weekStatus: 'Седмица',
+ dayStatus: '\'Датум\' DD d MM', defaultStatus: 'Одабери датум',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sv.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sv.js
new file mode 100644
index 0000000..69493a2
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-sv.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Swedish localisation for calendars datepicker for jQuery.
+ Written by Anders Ekdahl ( anders@nomadiz.se). */
+(function($) {
+ $.calendarsPicker.regionalOptions['sv'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '«Förra', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Nästa»', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Idag', currentStatus: '',
+ todayText: 'Idag', todayStatus: '',
+ clearText: 'Rensa', clearStatus: '',
+ closeText: 'Stäng', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Ve', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sv']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ta.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ta.js
new file mode 100644
index 0000000..8c02dbf
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ta.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Tamil (UTF-8) localisation for calendars datepicker for jQuery.
+ Written by S A Sureshkumar (saskumar@live.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ta'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'முன்னையது', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'அடுத்தது', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'இன்று', currentStatus: '',
+ todayText: 'இன்று', todayStatus: '',
+ clearText: 'அழி', clearStatus: '',
+ closeText: 'மூடு', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'D, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ta']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-th.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-th.js
new file mode 100644
index 0000000..ab6890c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-th.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Thai localisation for calendars datepicker for jQuery.
+ Written by pipo (pipo@sixhead.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['th'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '« ย้อน', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'ถัดไป »', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'วันนี้', currentStatus: '',
+ todayText: 'วันนี้', todayStatus: '',
+ clearText: 'ลบ', clearStatus: '',
+ closeText: 'ปิด', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['th']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-tr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-tr.js
new file mode 100644
index 0000000..d4f851b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-tr.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Turkish localisation for calendars datepicker for jQuery.
+ Written by Izzet Emre Erkan (kara@karalamalar.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['tr'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<geri', prevStatus: 'önceki ayı göster',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'ileri>', nextStatus: 'sonraki ayı göster',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'bugün', currentStatus: '',
+ todayText: 'bugün', todayStatus: '',
+ clearText: 'temizle', clearStatus: 'geçerli tarihi temizler',
+ closeText: 'kapat', closeStatus: 'sadece göstergeyi kapat',
+ yearStatus: 'başka yıl', monthStatus: 'başka ay',
+ weekText: 'Hf', weekStatus: 'Ayın haftaları',
+ dayStatus: 'D, M d seçiniz', defaultStatus: 'Bir tarih seçiniz',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tr']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-tt.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-tt.js
new file mode 100644
index 0000000..6d37a19
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-tt.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Tatar localisation for calendars datepicker for jQuery.
+ Written by Irek Khaziev (khazirek@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['tt'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Алдагы', prevStatus: 'Алдагы айны күрсәтү',
+ prevJumpText: '<<', prevJumpStatus: 'Алдагы елны күрсәтү',
+ nextText: 'Киләсе', nextStatus: 'Киләсе айны күрсәтү',
+ nextJumpText: '>>', nextJumpStatus: 'Киләсе елны күрсәтү',
+ currentText: 'Хәзер', currentStatus: 'Хәзерге айны күрсәтү',
+ todayText: 'Бүген', todayStatus: 'Бүгенге айны күрсәтү',
+ clearText: 'Чистарту', clearStatus: 'Барлык көннәрне чистарту',
+ closeText: 'Ябарга', closeStatus: 'Көн сайлауны ябарга',
+ yearStatus: 'Елны кертегез', monthStatus: 'Айны кертегез',
+ weekText: 'Атна', weekStatus: 'Елда атна саны',
+ dayStatus: 'DD, M d', defaultStatus: 'Көнне сайлагыз',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tt']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-uk.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-uk.js
new file mode 100644
index 0000000..47a5ef7
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-uk.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Ukrainian localisation for calendars datepicker for jQuery.
+ Written by Maxim Drogobitskiy (maxdao@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['uk'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: '>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Сьогодні', currentStatus: '',
+ todayText: 'Сьогодні', todayStatus: '',
+ clearText: 'Очистити', clearStatus: '',
+ closeText: 'Закрити', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Не', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['uk']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ur.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ur.js
new file mode 100644
index 0000000..15016e2
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-ur.js
@@ -0,0 +1,22 @@
+/* http://keith-wood.name/calendars.html
+ Urdu localisation for calendars datepicker for jQuery.
+ Mansoor Munib -- mansoormunib@gmail.com
+ Thanks to Habib Ahmed, ObaidUllah Anwar. */
+(function($) {
+ $.calendarsPicker.regionalOptions['ur'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<گذشتہ', prevStatus: 'ماه گذشتہ',
+ prevJumpText: '<<', prevJumpStatus: 'برس گذشتہ',
+ nextText: 'آئندہ>', nextStatus: 'ماه آئندہ',
+ nextJumpText: '>>', nextJumpStatus: 'برس آئندہ',
+ currentText: 'رواں', currentStatus: 'ماه رواں',
+ todayText: 'آج', todayStatus: 'آج',
+ clearText: 'حذف تاريخ', clearStatus: 'کریں حذف تاریخ',
+ closeText: 'کریں بند', closeStatus: 'کیلئے کرنے بند',
+ yearStatus: 'برس تبدیلی', monthStatus: 'ماه تبدیلی',
+ weekText: 'ہفتہ', weekStatus: 'ہفتہ',
+ dayStatus: 'انتخاب D, M d', defaultStatus: 'کریں منتخب تاريخ',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ur']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-vi.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-vi.js
new file mode 100644
index 0000000..0808268
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-vi.js
@@ -0,0 +1,21 @@
+/* http://keith-wood.name/calendars.html
+ Vietnamese localisation for calendars datepicker for jQuery.
+ Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
+(function($) {
+ $.calendarsPicker.regionalOptions['vi'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Trước', prevStatus: 'Tháng trước',
+ prevJumpText: '<<', prevJumpStatus: 'Năm trước',
+ nextText: 'Tiếp>', nextStatus: 'Tháng sau',
+ nextJumpText: '>>', nextJumpStatus: 'Năm sau',
+ currentText: 'Hôm nay', currentStatus: 'Tháng hiện tại',
+ todayText: 'Hôm nay', todayStatus: 'Tháng hiện tại',
+ clearText: 'Xóa', clearStatus: 'Xóa ngày hiện tại',
+ closeText: 'Đóng', closeStatus: 'Đóng và không lưu lại thay đổi',
+ yearStatus: 'Năm khác', monthStatus: 'Tháng khác',
+ weekText: 'Tu', weekStatus: 'Tuần trong năm',
+ dayStatus: 'Đang chọn DD, \'ngày\' d M', defaultStatus: 'Chọn ngày',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['vi']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-zh-CN.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-zh-CN.js
new file mode 100644
index 0000000..9a36202
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-zh-CN.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Simplified Chinese localisation for calendars datepicker for jQuery.
+ Written by Cloudream (cloudream@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['zh-CN'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:MM yyyy年')}),
+ prevText: '<上月', prevStatus: '显示上月',
+ prevJumpText: '<<', prevJumpStatus: '显示上一年',
+ nextText: '下月>', nextStatus: '显示下月',
+ nextJumpText: '>>', nextJumpStatus: '显示下一年',
+ currentText: '今天', currentStatus: '显示本月',
+ todayText: '今天', todayStatus: '显示本月',
+ clearText: '清除', clearStatus: '清除已选日期',
+ closeText: '关闭', closeStatus: '不改变当前选择',
+ yearStatus: '选择年份', monthStatus: '选择月份',
+ weekText: '周', weekStatus: '年内周次',
+ dayStatus: '选择 m月 d日, DD', defaultStatus: '请选择日期',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-CN']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-zh-HK.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-zh-HK.js
new file mode 100644
index 0000000..df497fb
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-zh-HK.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Hong Kong Chinese localisation for calendars datepicker for jQuery.
+ Written by SCCY (samuelcychan@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['zh-HK'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:yyyy年 MM')}),
+ prevText: '<上月', prevStatus: '顯示上月',
+ prevJumpText: '<<', prevJumpStatus: '顯示上一年',
+ nextText: '下月>', nextStatus: '顯示下月',
+ nextJumpText: '>>', nextJumpStatus: '顯示下一年',
+ currentText: '今天', currentStatus: '顯示本月',
+ todayText: '今天', todayStatus: '顯示本月',
+ clearText: '清除', clearStatus: '清除已選日期',
+ closeText: '關閉', closeStatus: '不改變目前的選擇',
+ yearStatus: '選擇年份', monthStatus: '選擇月份',
+ weekText: '周', weekStatus: '年內周次',
+ dayStatus: '選擇 m月 d日, DD', defaultStatus: '請選擇日期',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-HK']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-zh-TW.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-zh-TW.js
new file mode 100644
index 0000000..a936fd1
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker-zh-TW.js
@@ -0,0 +1,23 @@
+/* http://keith-wood.name/calendars.html
+ Traditional Chinese localisation for calendars datepicker for jQuery.
+ Written by Ressol (ressol@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['zh-TW'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:MM yyyy年')}),
+ prevText: '<上月', prevStatus: '顯示上月',
+ prevJumpText: '<<', prevJumpStatus: '顯示上一年',
+ nextText: '下月>', nextStatus: '顯示下月',
+ nextJumpText: '>>', nextJumpStatus: '顯示下一年',
+ currentText: '今天', currentStatus: '顯示本月',
+ todayText: '今天', todayStatus: '顯示本月',
+ clearText: '清除', clearStatus: '清除已選日期',
+ closeText: '關閉', closeStatus: '不改變目前的選擇',
+ yearStatus: '選擇年份', monthStatus: '選擇月份',
+ weekText: '周', weekStatus: '年內周次',
+ dayStatus: '選擇 m月 d日, DD', defaultStatus: '請選擇日期',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-TW']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.css
new file mode 100644
index 0000000..8b8ff62
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.css
@@ -0,0 +1,215 @@
+/* Default styling for jQuery Calendars Picker v2.0.0. */
+.calendars {
+ background-color: #fff;
+ color: #000;
+ border: 1px solid #444;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-family: Arial,Helvetica,Sans-serif;
+ font-size: 90%;
+}
+.calendars-rtl {
+ direction: rtl;
+}
+.calendars-popup {
+ z-index: 1000;
+}
+.calendars-disable {
+ position: absolute;
+ z-index: 100;
+ background-color: white;
+ opacity: 0.5;
+ filter: alpha(opacity=50);
+}
+.calendars a {
+ color: #fff;
+ text-decoration: none;
+}
+.calendars a.calendars-disabled {
+ color: #888;
+ cursor: auto;
+}
+.calendars button {
+ margin: 0.25em;
+ padding: 0.125em 0em;
+ background-color: #fcc;
+ border: none;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-weight: bold;
+}
+.calendars-nav, .calendars-ctrl {
+ float: left;
+ width: 100%;
+ background-color: #000;
+ color: #fff;
+ font-size: 90%;
+ font-weight: bold;
+}
+.calendars-ctrl {
+ background-color: #600;
+}
+.calendars-cmd {
+ width: 30%;
+}
+.calendars-cmd:hover {
+ background-color: #777;
+}
+.calendars-ctrl .calendars-cmd:hover {
+ background-color: #f08080;
+}
+.calendars-cmd-prevJump, .calendars-cmd-nextJump {
+ width: 8%;
+}
+a.calendars-cmd {
+ height: 1.5em;
+}
+button.calendars-cmd {
+ text-align: center;
+}
+.calendars-cmd-prev, .calendars-cmd-prevJump, .calendars-cmd-clear {
+ float: left;
+ padding-left: 2%;
+}
+.calendars-cmd-current, .calendars-cmd-today {
+ float: left;
+ width: 35%;
+ text-align: center;
+}
+.calendars-cmd-next, .calendars-cmd-nextJump, .calendars-cmd-close {
+ float: right;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-prev, .calendars-rtl .calendars-cmd-prevJump,
+.calendars-rtl .calendars-cmd-clear {
+ float: right;
+ padding-left: 0%;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-current, .calendars-rtl .calendars-cmd-today {
+ float: right;
+}
+.calendars-rtl .calendars-cmd-next, .calendars-rtl .calendars-cmd-nextJump,
+.calendars-rtl .calendars-cmd-close {
+ float: left;
+ padding-left: 2%;
+ padding-right: 0%;
+ text-align: left;
+}
+.calendars-month-nav {
+ float: left;
+ background-color: #777;
+ text-align: center;
+}
+.calendars-month-nav div {
+ float: left;
+ width: 12.5%;
+ margin: 1%;
+ padding: 1%;
+}
+.calendars-month-nav span {
+ color: #888;
+}
+.calendars-month-row {
+ clear: left;
+}
+.calendars-month {
+ float: left;
+ width: 15em;
+ border: 1px solid #444;
+ text-align: center;
+}
+.calendars-month-header, .calendars-month-header select, .calendars-month-header input {
+ height: 1.5em;
+ background-color: #444;
+ color: #fff;
+ font-weight: bold;
+}
+.calendars-month-header select, .calendars-month-header input {
+ height: 1.4em;
+ border: none;
+}
+.calendars-month-header input {
+ position: absolute;
+ display: none;
+}
+.calendars-month table {
+ width: 100%;
+ border-collapse: collapse;
+}
+.calendars-month thead {
+ border-bottom: 1px solid #aaa;
+}
+.calendars-month th, .calendars-month td {
+ margin: 0em;
+ padding: 0em;
+ font-weight: normal;
+ text-align: center;
+}
+.calendars-month th {
+ border: 1px solid #777;
+}
+.calendars-month th, .calendars-month th a {
+ background-color: #777;
+ color: #fff;
+}
+.calendars-month td {
+ background-color: #eee;
+ border: 1px solid #aaa;
+}
+.calendars-month td.calendars-week {
+ border: 1px solid #777;
+}
+.calendars-month td.calendars-week * {
+ background-color: #777;
+ color: #fff;
+ border: none;
+}
+.calendars-month a {
+ display: block;
+ width: 100%;
+ padding: 0.125em 0em;
+ background-color: #eee;
+ color: #000;
+ text-decoration: none;
+}
+.calendars-month span {
+ display: block;
+ width: 100%;
+ padding: 0.125em 0em;
+}
+.calendars-month td span {
+ color: #888;
+}
+.calendars-month td .calendars-other-month {
+ background-color: #fff;
+}
+.calendars-month td .calendars-weekend {
+ background-color: #ddd;
+}
+.calendars-month td .calendars-today {
+ background-color: #f0c0c0;
+}
+.calendars-month td .calendars-highlight {
+ background-color: #f08080;
+}
+.calendars-month td .calendars-selected {
+ background-color: #777;
+ color: #fff;
+}
+.calendars-month th.calendars-week {
+ background-color: #777;
+ color: #fff;
+}
+.calendars-status {
+ clear: both;
+ background-color: #ddd;
+ text-align: center;
+}
+.calendars-clear-fix {
+ clear: both;
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.ext.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.ext.js
new file mode 100644
index 0000000..d71bb27
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.ext.js
@@ -0,0 +1,282 @@
+/* http://keith-wood.name/calendars.html
+ Calendars date picker extensions for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ var themeRollerRenderer = {
+ picker: '' +
+ '{months}' +
+ '{popup:start}{popup:end}' +
+ '
',
+ monthRow: '{months}
',
+ month: '',
+ weekHeader: '{days} ',
+ dayHeader: '{day} ',
+ week: '{days} ',
+ day: '{day} ',
+ monthSelector: '.ui-datepicker-group',
+ daySelector: 'td',
+ rtlClass: 'ui-datepicker-rtl',
+ multiClass: 'ui-datepicker-multi',
+ defaultClass: 'ui-state-default',
+ selectedClass: 'ui-state-active',
+ highlightedClass: 'ui-state-hover',
+ todayClass: 'ui-state-highlight',
+ otherMonthClass: 'ui-datepicker-other-month',
+ weekendClass: 'ui-datepicker-week-end',
+ commandClass: 'ui-datepicker-cmd',
+ commandButtonClass: 'ui-state-default ui-corner-all',
+ commandLinkClass: '',
+ disabledClass: 'ui-datepicker-disabled'
+ };
+
+ $.extend($.calendarsPicker, {
+
+ /** Template for generating a calendar picker showing week of year.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker */
+ weekOfYearRenderer: $.extend({}, $.calendarsPicker.defaultRenderer, {
+ weekHeader: '' +
+ '{l10n:weekText} {days} ',
+ week: '{weekOfYear} {days} '
+ }),
+
+ /** ThemeRoller template for generating a calendar picker.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker */
+ themeRollerRenderer: themeRollerRenderer,
+
+ /** ThemeRoller template for generating a calendar picker showing week of year.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker */
+ themeRollerWeekOfYearRenderer: $.extend({}, themeRollerRenderer, {
+ weekHeader: '{l10n:weekText} {days} ',
+ week: '{weekOfYear} {days} '
+ }),
+
+ /** Don't allow weekends to be selected.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker
+ @param date {CDate} The current date.
+ @return {object} Information about this date.
+ @example onDate: $.calendarsPicker.noWeekends */
+ noWeekends: function(date) {
+ return {selectable: date.weekDay()};
+ },
+
+ /** Change the first day of the week by clicking on the day header.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker
+ @param picker {jQuery} The completed datepicker division.
+ @param calendar {BaseCalendar} The calendar implementation.
+ @param inst {object} The current instance settings.
+ @example onShow: $.calendarsPicker.changeFirstDay */
+ changeFirstDay: function(picker, calendar, inst) {
+ var target = $(this);
+ picker.find('th span').each(function() {
+ if (this.parentNode.className.match(/.*calendars-week.*/)) {
+ return;
+ }
+ $('' + $(this).text() + ' ').
+ click(function() {
+ var dow = parseInt(this.className.replace(/^.*calendars-dow-(\d+).*$/, '$1'), 10);
+ target.calendarsPicker('option', {firstDay: dow});
+ }).
+ replaceAll(this);
+ });
+ },
+
+ /** A function to call when a date is hovered.
+ @callback CalendarsPickerOnHover
+ @param date {CDate} The date being hovered or null on exit.
+ @param selectable {boolean} true if this date is selectable, false if not.
+ @example function showHovered(date, selectable) {
+ $('#feedback').text('You are viewing ' + (date ? date.formatDate() : 'nothing'));
+ } */
+
+ /** Add a callback when hovering over dates.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker
+ @param onHover {CalendarsPickerOnHover} The callback when hovering.
+ @example onShow: $.calendarsPicker.hoverCallback(showHovered) */
+ hoverCallback: function(onHover) {
+ return function(picker, calendar, inst) {
+ if ($.isFunction(onHover)) {
+ var target = this;
+ var renderer = inst.options.renderer;
+ picker.find(renderer.daySelector + ' a, ' + renderer.daySelector + ' span').
+ hover(function() {
+ onHover.apply(target, [$(target).calendarsPicker('retrieveDate', this),
+ this.nodeName.toLowerCase() === 'a']);
+ },
+ function() { onHover.apply(target, []); });
+ }
+ };
+ },
+
+ /** Highlight the entire week when hovering over it.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker
+ @param picker {jQuery} The completed datepicker division.
+ @param calendar {BaseCalendar} The calendar implementation.
+ @param inst {object} The current instance settings.
+ @example onShow: $.calendarsPicker.highlightWeek */
+ highlightWeek: function(picker, calendar, inst) {
+ var target = this;
+ var renderer = inst.options.renderer;
+ picker.find(renderer.daySelector + ' a, ' + renderer.daySelector + ' span').
+ hover(function() {
+ $(this).parents('tr').find(renderer.daySelector + ' *').
+ addClass(renderer.highlightedClass);
+ },
+ function() {
+ $(this).parents('tr').find(renderer.daySelector + ' *').
+ removeClass(renderer.highlightedClass);
+ });
+ },
+
+ /** Show a status bar with messages.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker
+ @param picker {jQuery} The completed datepicker division.
+ @param calendar {BaseCalendar} The calendar implementation.
+ @param inst {object} The current instance settings.
+ @example onShow: $.calendarsPicker.showStatus */
+ showStatus: function(picker, calendar, inst) {
+ var isTR = (inst.options.renderer.selectedClass === 'ui-state-active');
+ var defaultStatus = inst.options.defaultStatus || ' ';
+ var status = $('').
+ insertAfter(picker.find('.calendars-month-row:last,.ui-datepicker-row-break:last'));
+ picker.find('*[title]').each(function() {
+ var title = $(this).attr('title');
+ $(this).removeAttr('title').hover(
+ function() { status.text(title || defaultStatus); },
+ function() { status.text(defaultStatus); });
+ });
+ },
+
+ /** Allow easier navigation by month.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker
+ @param picker {jQuery} The completed datepicker division.
+ @param calendar {BaseCalendar} The calendar implementation.
+ @param inst {object} The current instance settings.
+ @example onShow: $.calendarsPicker.monthNavigation */
+ monthNavigation: function(picker, calendar, inst) {
+ var target = $(this);
+ var isTR = (inst.options.renderer.selectedClass === 'ui-state-active');
+ var minDate = inst.curMinDate();
+ var maxDate = inst.get('maxDate');
+ var year = inst.drawDate.year();
+ var html = '';
+ for (var i = 0; i < calendar.monthsInYear(year); i++) {
+ var ord = calendar.fromMonthOfYear(year, i + calendar.minMonth) - calendar.minMonth;
+ var inRange = ((!minDate || calendar.newDate(year, i + calendar.minMonth,
+ calendar.daysInMonth(year, i + calendar.minMonth)).compareTo(minDate) > -1) && (!maxDate ||
+ calendar.newDate(year, i + calendar.minMonth, calendar.minDay).compareTo(maxDate) < +1));
+ html += '
';
+ }
+ html += '
';
+ $(html).insertAfter(picker.find('div.calendars-nav,div.ui-datepicker-header:first')).
+ find('a').click(function() {
+ var date = target.calendarsPicker('retrieveDate', this);
+ target.calendarsPicker('showMonth', date.year(), date.month());
+ return false;
+ });
+ },
+
+ /** Select an entire week when clicking on a week number.
+ Use in conjunction with weekOfYearRenderer.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker
+ @param picker {jQuery} The completed datepicker division.
+ @param calendar {BaseCalendar} The calendar implementation.
+ @param inst {object} The current instance settings.
+ @example onShow: $.calendarsPicker.selectWeek */
+ selectWeek: function(picker, calendar, inst) {
+ var target = $(this);
+ picker.find('td.calendars-week span').each(function() {
+ $('' +
+ $(this).text() + ' ').
+ click(function() {
+ var date = target.calendarsPicker('retrieveDate', this);
+ var dates = [date];
+ for (var i = 1; i < calendar.daysInWeek(); i++) {
+ dates.push(date = date.newDate().add(1, 'd'));
+ }
+ if (inst.options.rangeSelect) {
+ dates.splice(1, dates.length - 2);
+ }
+ target.calendarsPicker('setDate', dates).calendarsPicker('hide');
+ }).
+ replaceAll(this);
+ });
+ },
+
+ /** Select an entire month when clicking on the week header.
+ Use in conjunction with weekOfYearRenderer.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker
+ @param picker {jQuery} The completed datepicker division.
+ @param calendar {BaseCalendar} The calendar implementation.
+ @param inst {object} The current instance settings.
+ @example onShow: $.calendarsPicker.selectMonth */
+ selectMonth: function(picker, calendar, inst) {
+ var target = $(this);
+ picker.find('th.calendars-week').each(function() {
+ $('' +
+ $(this).text() + ' ').
+ click(function() {
+ var date = target.calendarsPicker('retrieveDate', $(this).parents('table').
+ find('td:not(.calendars-week) *:not(.calendars-other-month)')[0]);
+ var dates = [date.day(1)];
+ var dim = calendar.daysInMonth(date);
+ for (var i = 1; i < dim; i++) {
+ dates.push(date = date.newDate().add(1, 'd'));
+ }
+ if (inst.options.rangeSelect) {
+ dates.splice(1, dates.length - 2);
+ }
+ target.calendarsPicker('setDate', dates).calendarsPicker('hide');
+ }).
+ appendTo(this);
+ });
+ },
+
+ /** Select a month only instead of a single day.
+ Found in the jquery.calendars.picker.ext.js module.
+ @memberof CalendarsPicker
+ @param picker {jQuery} The completed datepicker division.
+ @param calendar {BaseCalendar} The calendar implementation.
+ @param inst {object} The current instance settings.
+ @example onShow: $.calendarsPicker.monthOnly */
+ monthOnly: function(picker, calendar, inst) {
+ var target = $(this);
+ var selectMonth = $('Select
').
+ insertAfter(picker.find('.calendars-month-row:last,.ui-datepicker-row-break:last')).
+ children().click(function() {
+ var monthYear = picker.find('.calendars-month-year:first').val().split('/');
+ target.calendarsPicker('setDate', calendar.newDate(
+ parseInt(monthYear[1], 10), parseInt(monthYear[0], 10), calendar.minDay)).
+ calendarsPicker('hide');
+ });
+ picker.find('.calendars-month-row table,.ui-datepicker-row-break table').remove();
+ }
+ });
+
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.ext.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.ext.min.js
new file mode 100644
index 0000000..29d7e02
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.ext.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Calendars date picker extensions for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){var n={picker:''+'{months}'+'{popup:start}{popup:end}'+'
',monthRow:'{months}
',month:'',weekHeader:'{days} ',dayHeader:'{day} ',week:'{days} ',day:'{day} ',monthSelector:'.ui-datepicker-group',daySelector:'td',rtlClass:'ui-datepicker-rtl',multiClass:'ui-datepicker-multi',defaultClass:'ui-state-default',selectedClass:'ui-state-active',highlightedClass:'ui-state-hover',todayClass:'ui-state-highlight',otherMonthClass:'ui-datepicker-other-month',weekendClass:'ui-datepicker-week-end',commandClass:'ui-datepicker-cmd',commandButtonClass:'ui-state-default ui-corner-all',commandLinkClass:'',disabledClass:'ui-datepicker-disabled'};$.extend($.calendarsPicker,{weekOfYearRenderer:$.extend({},$.calendarsPicker.defaultRenderer,{weekHeader:''+'{l10n:weekText} {days} ',week:'{weekOfYear} {days} '}),themeRollerRenderer:n,themeRollerWeekOfYearRenderer:$.extend({},n,{weekHeader:'{l10n:weekText} {days} ',week:'{weekOfYear} {days} '}),noWeekends:function(a){return{selectable:a.weekDay()}},changeFirstDay:function(b,c,d){var e=$(this);b.find('th span').each(function(){if(this.parentNode.className.match(/.*calendars-week.*/)){return}$(''+$(this).text()+' ').click(function(){var a=parseInt(this.className.replace(/^.*calendars-dow-(\d+).*$/,'$1'),10);e.calendarsPicker('option',{firstDay:a})}).replaceAll(this)})},hoverCallback:function(f){return function(a,b,c){if($.isFunction(f)){var d=this;var e=c.options.renderer;a.find(e.daySelector+' a, '+e.daySelector+' span').hover(function(){f.apply(d,[$(d).calendarsPicker('retrieveDate',this),this.nodeName.toLowerCase()==='a'])},function(){f.apply(d,[])})}}},highlightWeek:function(a,b,c){var d=this;var e=c.options.renderer;a.find(e.daySelector+' a, '+e.daySelector+' span').hover(function(){$(this).parents('tr').find(e.daySelector+' *').addClass(e.highlightedClass)},function(){$(this).parents('tr').find(e.daySelector+' *').removeClass(e.highlightedClass)})},showStatus:function(b,c,d){var e=(d.options.renderer.selectedClass==='ui-state-active');var f=d.options.defaultStatus||' ';var g=$('').insertAfter(b.find('.calendars-month-row:last,.ui-datepicker-row-break:last'));b.find('*[title]').each(function(){var a=$(this).attr('title');$(this).removeAttr('title').hover(function(){g.text(a||f)},function(){g.text(f)})})},monthNavigation:function(b,c,d){var e=$(this);var f=(d.options.renderer.selectedClass==='ui-state-active');var g=d.curMinDate();var h=d.get('maxDate');var j=d.drawDate.year();var k='';for(var i=0;i
-1)&&(!h||c.newDate(j,i+c.minMonth,c.minDay).compareTo(h)<+1));k+=''}k+=' ';$(k).insertAfter(b.find('div.calendars-nav,div.ui-datepicker-header:first')).find('a').click(function(){var a=e.calendarsPicker('retrieveDate',this);e.calendarsPicker('showMonth',a.year(),a.month());return false})},selectWeek:function(c,d,e){var f=$(this);c.find('td.calendars-week span').each(function(){$(''+$(this).text()+' ').click(function(){var a=f.calendarsPicker('retrieveDate',this);var b=[a];for(var i=1;i'+$(this).text()+'').click(function(){var a=g.calendarsPicker('retrieveDate',$(this).parents('table').find('td:not(.calendars-week) *:not(.calendars-other-month)')[0]);var b=[a.day(1)];var c=e.daysInMonth(a);for(var i=1;iSelect ').insertAfter(b.find('.calendars-month-row:last,.ui-datepicker-row-break:last')).children().click(function(){var a=b.find('.calendars-month-year:first').val().split('/');e.calendarsPicker('setDate',c.newDate(parseInt(a[1],10),parseInt(a[0],10),c.minDay)).calendarsPicker('hide')});b.find('.calendars-month-row table,.ui-datepicker-row-break table').remove()}})})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.js
new file mode 100644
index 0000000..539cf08
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.js
@@ -0,0 +1,1833 @@
+/* http://keith-wood.name/calendars.html
+ Calendars date picker for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ var pluginName = 'calendarsPicker';
+
+
+ /** Create the calendars datepicker plugin.
+ Sets an input field to popup a calendar for date entry,
+ or a div or span to show an inline calendar.
+ Expects HTML like:
+ <input type="text"> or <div></div>
+ Provide inline configuration like:
+ <input type="text" data-calendarsPicker="name: 'value'"/>
+ @class CalendarsPicker
+ @augments JQPlugin
+ @example $(selector).calendarsPicker()
+ $(selector).calendarsPicker({minDate: 0, maxDate: '+1m +1w'}) */
+ $.JQPlugin.createPlugin({
+
+ /** The name of the plugin.
+ @memberof CalendarsPicker */
+ name: pluginName,
+
+ /** Default template for generating a datepicker.
+ Insert anywhere:
+
+ '{l10n:name}' to insert localised value for name,
+ '{link:name}' to insert a link trigger for command name,
+ '{button:name}' to insert a button trigger for command name,
+ '{popup:start}...{popup:end}' to mark a section for inclusion in a popup datepicker only,
+ '{inline:start}...{inline:end}' to mark a section for inclusion in an inline datepicker only.
+
+ @memberof CalendarsPicker
+ @property picker {string} Overall structure: '{months}' to insert calendar months.
+ @property monthRow {string} One row of months: '{months}' to insert calendar months.
+ @property month {string} A single month: '{monthHeader:dateFormat }' to insert the month header -
+ dateFormat is optional and defaults to 'MM yyyy',
+ '{weekHeader}' to insert a week header, '{weeks}' to insert the month's weeks.
+ @property weekHeader {string} A week header: '{days}' to insert individual day names.
+ @property dayHeader {string} Individual day header: '{day}' to insert day name.
+ @property week {string} One week of the month: '{days}' to insert the week's days,
+ '{weekOfYear}' to insert week of year.
+ @property day {string} An individual day: '{day}' to insert day value.
+ @property monthSelector {string} jQuery selector, relative to picker, for a single month.
+ @property daySelector {string} jQuery selector, relative to picker, for individual days.
+ @property rtlClass {string} Class for right-to-left (RTL) languages.
+ @property multiClass {string} Class for multi-month datepickers.
+ @property defaultClass {string} Class for selectable dates.
+ @property selectedClass {string} Class for currently selected dates.
+ @property highlightedClass {string} Class for highlighted dates.
+ @property todayClass {string} Class for today.
+ @property otherMonthClass {string} Class for days from other months.
+ @property weekendClass {string} Class for days on weekends.
+ @property commandClass {string} Class prefix for commands.
+ @property commandButtonClass {string} Extra class(es) for commands that are buttons.
+ @property commandLinkClass {string} Extra class(es) for commands that are links.
+ @property disabledClass {string} Class for disabled commands. */
+ defaultRenderer: {
+ picker: '' +
+ '
{link:prev}{link:today}{link:next}
{months}' +
+ '{popup:start}
{link:clear}{link:close}
{popup:end}' +
+ '
',
+ monthRow: '{months}
',
+ month: '',
+ weekHeader: '{days} ',
+ dayHeader: '{day} ',
+ week: '{days} ',
+ day: '{day} ',
+ monthSelector: '.calendars-month',
+ daySelector: 'td',
+ rtlClass: 'calendars-rtl',
+ multiClass: 'calendars-multi',
+ defaultClass: '',
+ selectedClass: 'calendars-selected',
+ highlightedClass: 'calendars-highlight',
+ todayClass: 'calendars-today',
+ otherMonthClass: 'calendars-other-month',
+ weekendClass: 'calendars-weekend',
+ commandClass: 'calendars-cmd',
+ commandButtonClass: '',
+ commandLinkClass: '',
+ disabledClass: 'calendars-disabled'
+ },
+
+ /** Command actions that may be added to a layout by name.
+
+ prev - Show the previous month (based on monthsToStep option) - PageUp
+ prevJump - Show the previous year (based on monthsToJump option) - Ctrl+PageUp
+ next - Show the next month (based on monthsToStep option) - PageDown
+ nextJump - Show the next year (based on monthsToJump option) - Ctrl+PageDown
+ current - Show the currently selected month or today's if none selected - Ctrl+Home
+ today - Show today's month - Ctrl+Home
+ clear - Erase the date and close the datepicker popup - Ctrl+End
+ close - Close the datepicker popup - Esc
+ prevWeek - Move the cursor to the previous week - Ctrl+Up
+ prevDay - Move the cursor to the previous day - Ctrl+Left
+ nextDay - Move the cursor to the next day - Ctrl+Right
+ nextWeek - Move the cursor to the next week - Ctrl+Down
+
+ The command name is the key name and is used to add the command to a layout
+ with '{button:name}' or '{link:name}'. Each has the following attributes.
+ @memberof CalendarsPicker
+ @property text {string} The field in the regional settings for the displayed text.
+ @property status {string} The field in the regional settings for the status text.
+ @property keystroke {object} The keystroke to trigger the action, with attributes:
+ keyCode {number} the code for the keystroke,
+ ctrlKey {boolean} true if Ctrl is required,
+ altKey {boolean} true if Alt is required,
+ shiftKey {boolean} true if Shift is required.
+ @property enabled {CalendarsPickerCommandEnabled} The function that indicates the command is enabled.
+ @property date {CalendarsPickerCommandDate} The function to get the date associated with this action.
+ @property action {CalendarsPickerCommandAction} The function that implements the action. */
+ commands: {
+ prev: {text: 'prevText', status: 'prevStatus', // Previous month
+ keystroke: {keyCode: 33}, // Page up
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ return (!minDate || inst.drawDate.newDate().
+ add(1 - inst.options.monthsToStep - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay).add(-1, 'd').compareTo(minDate) !== -1); },
+ date: function(inst) {
+ return inst.drawDate.newDate().
+ add(-inst.options.monthsToStep - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay); },
+ action: function(inst) {
+ plugin.changeMonth(this, -inst.options.monthsToStep); }
+ },
+ prevJump: {text: 'prevJumpText', status: 'prevJumpStatus', // Previous year
+ keystroke: {keyCode: 33, ctrlKey: true}, // Ctrl + Page up
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ return (!minDate || inst.drawDate.newDate().
+ add(1 - inst.options.monthsToJump - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay).add(-1, 'd').compareTo(minDate) !== -1); },
+ date: function(inst) {
+ return inst.drawDate.newDate().
+ add(-inst.options.monthsToJump - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay); },
+ action: function(inst) {
+ plugin.changeMonth(this, -inst.options.monthsToJump); }
+ },
+ next: {text: 'nextText', status: 'nextStatus', // Next month
+ keystroke: {keyCode: 34}, // Page down
+ enabled: function(inst) {
+ var maxDate = inst.get('maxDate');
+ return (!maxDate || inst.drawDate.newDate().
+ add(inst.options.monthsToStep - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay).compareTo(maxDate) !== +1); },
+ date: function(inst) {
+ return inst.drawDate.newDate().
+ add(inst.options.monthsToStep - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay); },
+ action: function(inst) {
+ plugin.changeMonth(this, inst.options.monthsToStep); }
+ },
+ nextJump: {text: 'nextJumpText', status: 'nextJumpStatus', // Next year
+ keystroke: {keyCode: 34, ctrlKey: true}, // Ctrl + Page down
+ enabled: function(inst) {
+ var maxDate = inst.get('maxDate');
+ return (!maxDate || inst.drawDate.newDate().
+ add(inst.options.monthsToJump - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay).compareTo(maxDate) !== +1); },
+ date: function(inst) {
+ return inst.drawDate.newDate().
+ add(inst.options.monthsToJump - inst.options.monthsOffset, 'm').
+ day(inst.options.calendar.minDay); },
+ action: function(inst) {
+ plugin.changeMonth(this, inst.options.monthsToJump); }
+ },
+ current: {text: 'currentText', status: 'currentStatus', // Current month
+ keystroke: {keyCode: 36, ctrlKey: true}, // Ctrl + Home
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ var maxDate = inst.get('maxDate');
+ var curDate = inst.selectedDates[0] || inst.options.calendar.today();
+ return (!minDate || curDate.compareTo(minDate) !== -1) &&
+ (!maxDate || curDate.compareTo(maxDate) !== +1); },
+ date: function(inst) {
+ return inst.selectedDates[0] || inst.options.calendar.today(); },
+ action: function(inst) {
+ var curDate = inst.selectedDates[0] || inst.options.calendar.today();
+ plugin.showMonth(this, curDate.year(), curDate.month()); }
+ },
+ today: {text: 'todayText', status: 'todayStatus', // Today's month
+ keystroke: {keyCode: 36, ctrlKey: true}, // Ctrl + Home
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ var maxDate = inst.get('maxDate');
+ return (!minDate || inst.options.calendar.today().compareTo(minDate) !== -1) &&
+ (!maxDate || inst.options.calendar.today().compareTo(maxDate) !== +1); },
+ date: function(inst) { return inst.options.calendar.today(); },
+ action: function(inst) { plugin.showMonth(this); }
+ },
+ clear: {text: 'clearText', status: 'clearStatus', // Clear the datepicker
+ keystroke: {keyCode: 35, ctrlKey: true}, // Ctrl + End
+ enabled: function(inst) { return true; },
+ date: function(inst) { return null; },
+ action: function(inst) { plugin.clear(this); }
+ },
+ close: {text: 'closeText', status: 'closeStatus', // Close the datepicker
+ keystroke: {keyCode: 27}, // Escape
+ enabled: function(inst) { return true; },
+ date: function(inst) { return null; },
+ action: function(inst) { plugin.hide(this); }
+ },
+ prevWeek: {text: 'prevWeekText', status: 'prevWeekStatus', // Previous week
+ keystroke: {keyCode: 38, ctrlKey: true}, // Ctrl + Up
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ return (!minDate || inst.drawDate.newDate().
+ add(-inst.options.calendar.daysInWeek(), 'd').compareTo(minDate) !== -1); },
+ date: function(inst) { return inst.drawDate.newDate().
+ add(-inst.options.calendar.daysInWeek(), 'd'); },
+ action: function(inst) { plugin.changeDay(this, -inst.options.calendar.daysInWeek()); }
+ },
+ prevDay: {text: 'prevDayText', status: 'prevDayStatus', // Previous day
+ keystroke: {keyCode: 37, ctrlKey: true}, // Ctrl + Left
+ enabled: function(inst) {
+ var minDate = inst.curMinDate();
+ return (!minDate || inst.drawDate.newDate().add(-1, 'd').
+ compareTo(minDate) !== -1); },
+ date: function(inst) { return inst.drawDate.newDate().add(-1, 'd'); },
+ action: function(inst) { plugin.changeDay(this, -1); }
+ },
+ nextDay: {text: 'nextDayText', status: 'nextDayStatus', // Next day
+ keystroke: {keyCode: 39, ctrlKey: true}, // Ctrl + Right
+ enabled: function(inst) {
+ var maxDate = inst.get('maxDate');
+ return (!maxDate || inst.drawDate.newDate().add(1, 'd').
+ compareTo(maxDate) !== +1); },
+ date: function(inst) { return inst.drawDate.newDate().add(1, 'd'); },
+ action: function(inst) { plugin.changeDay(this, 1); }
+ },
+ nextWeek: {text: 'nextWeekText', status: 'nextWeekStatus', // Next week
+ keystroke: {keyCode: 40, ctrlKey: true}, // Ctrl + Down
+ enabled: function(inst) {
+ var maxDate = inst.get('maxDate');
+ return (!maxDate || inst.drawDate.newDate().
+ add(inst.options.calendar.daysInWeek(), 'd').compareTo(maxDate) !== +1); },
+ date: function(inst) { return inst.drawDate.newDate().
+ add(inst.options.calendar.daysInWeek(), 'd'); },
+ action: function(inst) { plugin.changeDay(this, inst.options.calendar.daysInWeek()); }
+ }
+ },
+
+ /** Determine whether a command is enabled.
+ @callback CalendarsPickerCommandEnabled
+ @param inst {object} The current instance settings.
+ @return {boolean} true if this command is enabled, false if not.
+ @example enabled: function(inst) {
+ return !!inst.curMinDate();
+ } */
+
+ /** Calculate the representative date for a command.
+ @callback CalendarsPickerCommandDate
+ @param inst {object} The current instance settings.
+ @return {CDate} A date appropriate for this command.
+ @example date: function(inst) {
+ return inst.curMinDate();
+ } */
+
+ /** Perform the action for a command.
+ @callback CalendarsPickerCommandAction
+ @param inst {object} The current instance settings.
+ @example date: function(inst) {
+ $.datepick.setDate(inst.elem, inst.curMinDate());
+ } */
+
+ /** Calculate the week of the year for a date.
+ @callback CalendarsPickerCalculateWeek
+ @param date {CDate} The date to evaluate.
+ @return {number} The week of the year.
+ @example calculateWeek: function(date) {
+ var startYear = $.calendars.newDate(date.year(), 1, 1);
+ return Math.floor((date.dayOfYear() - startYear.dayOfYear()) / 7) + 1;
+ } */
+
+ /** Provide information about an individual date shown in the calendar.
+ @callback CalendarsPickerOnDate
+ @param date {CDate} The date to evaluate.
+ @return {object} Information about that date, with the properties above.
+ @property selectable {boolean} true if this date can be selected.
+ @property dateClass {string} Class(es) to be applied to the date.
+ @property content {string} The date cell content.
+ @property tooltip {string} A popup tooltip for the date.
+ @example onDate: function(date) {
+ return {selectable: date.day() > 0 && date.day() < 5,
+ dateClass: date.day() === 4 ? 'last-day' : ''};
+ } */
+
+ /** Update the datepicker display.
+ @callback CalendarsPickerOnShow
+ @param picker {jQuery} The datepicker div to be shown.
+ @param inst {object} The current instance settings.
+ @example onShow: function(picker, inst) {
+ picker.append('<button type="button">Hi</button>').
+ find('button:last').click(function() {
+ alert('Hi!');
+ });
+ } */
+
+ /** React to navigating through the months/years.
+ @callback CalendarsPickerOnChangeMonthYear
+ @param year {number} The new year.
+ @param month {number} The new month (1 to 12).
+ @example onChangeMonthYear: function(year, month) {
+ alert('Now in ' + month + '/' + year);
+ } */
+
+ /** Datepicker on select callback.
+ Triggered when a date is selected.
+ @callback CalendarsPickerOnSelect
+ @param dates {CDate[]} The selected date(s).
+ @example onSelect: function(dates) {
+ alert('Selected ' + dates);
+ } */
+
+ /** Datepicker on close callback.
+ Triggered when a popup calendar is closed.
+ @callback CalendarsPickerOnClose
+ @param dates {CDate[]} The selected date(s).
+ @example onClose: function(dates) {
+ alert('Selected ' + dates);
+ } */
+
+ /** Default settings for the plugin.
+ @memberof CalendarsPicker
+ @property [calendar=$.calendars.instance()] {Calendar} The calendar for this datepicker.
+ @property [pickerClass=''] {string} CSS class to add to this instance of the datepicker.
+ @property [showOnFocus=true] {boolean} true for popup on focus, false for not.
+ @property [showTrigger=null] {string|Element|jQuery} Element to be cloned for a trigger, null for none.
+ @property [showAnim='show'] {string} Name of jQuery animation for popup, '' for no animation.
+ @property [showOptions=null] {object} Options for enhanced animations.
+ @property [showSpeed='normal'] {string} Duration of display/closure.
+ @property [popupContainer=null] {string|Element|jQuery} The element to which a popup calendar is added, null for body.
+ @property [alignment='bottom'] {string} Alignment of popup - with nominated corner of input:
+ 'top' or 'bottom' aligns depending on language direction,
+ 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'.
+ @property [fixedWeeks=false] {boolean} true to always show 6 weeks, false to only show as many as are needed.
+ @property [firstDay=null] {number} First day of the week, 0 = Sunday, 1 = Monday, etc., null for calendar default.
+ @property [calculateWeek=null] {CalendarsPickerCalculateWeek} Calculate week of the year from a date, null for calendar default.
+ @property [localNumbers=false] {boolean} true to localise numbers (if available),
+ false to use normal Arabic numerals.
+ @property [monthsToShow=1] {number|number[]} How many months to show, cols or [rows, cols].
+ @property [monthsOffset=0] {number} How many months to offset the primary month by;
+ may be a function that takes the date and returns the offset.
+ @property [monthsToStep=1] {number} How many months to move when prev/next clicked.
+ @property [monthsToJump=12] {number} How many months to move when large prev/next clicked.
+ @property [useMouseWheel=true] {boolean} true to use mousewheel if available, false to never use it.
+ @property [changeMonth=true] {boolean} true to change month/year via drop-down, false for navigation only.
+ @property [yearRange='c-10:c+10'] {string} Range of years to show in drop-down: 'any' for direct text entry
+ or 'start:end', where start/end are '+-nn' for relative to today
+ or 'c+-nn' for relative to the currently selected date
+ or 'nnnn' for an absolute year.
+ @property [showOtherMonths=false] {boolean} true to show dates from other months, false to not show them.
+ @property [selectOtherMonths=false] {boolean} true to allow selection of dates from other months too.
+ @property [defaultDate=null] {string|number|CDate} Date to show if no other selected.
+ @property [selectDefaultDate=false] {boolean} true to pre-select the default date if no other is chosen.
+ @property [minDate=null] {string|number|CDate} The minimum selectable date.
+ @property [maxDate=null] {string|number|CDate} The maximum selectable date.
+ @property [dateFormat='mm/dd/yyyy'] {string} Format for dates.
+ @property [autoSize=false] {boolean} true to size the input field according to the date format.
+ @property [rangeSelect=false] {boolean} Allows for selecting a date range on one date picker.
+ @property [rangeSeparator=' - '] {string} Text between two dates in a range.
+ @property [multiSelect=0] {number} Maximum number of selectable dates, zero for single select.
+ @property [multiSeparator=','] {string} Text between multiple dates.
+ @property [onDate=null] {CalendarsPickerOnDate} Callback as a date is added to the datepicker.
+ @property [onShow=null] {CalendarsPickerOnShow} Callback just before a datepicker is shown.
+ @property [onChangeMonthYear=null] {CalendarsPickerOnChangeMonthYear} Callback when a new month/year is selected.
+ @property [onSelect=null] {CalendarsPickerOnSelect} Callback when a date is selected.
+ @property [onClose=null] {CalendarsPickerOnClose} Callback when a datepicker is closed.
+ @property [altField=null] {string|Element|jQuery} Alternate field to update in synch with the datepicker.
+ @property [altFormat=null] {string} Date format for alternate field, defaults to dateFormat.
+ @property [constrainInput=true] {boolean} true to constrain typed input to dateFormat allowed characters.
+ @property [commandsAsDateFormat=false] {boolean} true to apply
+ formatDate to the command texts.
+ @property [commands=this.commands] {object} Command actions that may be added to a layout by name. */
+ defaultOptions: {
+ calendar: $.calendars.instance(),
+ pickerClass: '',
+ showOnFocus: true,
+ showTrigger: null,
+ showAnim: 'show',
+ showOptions: {},
+ showSpeed: 'normal',
+ popupContainer: null,
+ alignment: 'bottom',
+ fixedWeeks: false,
+ firstDay: null,
+ calculateWeek: null,
+ localNumbers: false,
+ monthsToShow: 1,
+ monthsOffset: 0,
+ monthsToStep: 1,
+ monthsToJump: 12,
+ useMouseWheel: true,
+ changeMonth: true,
+ yearRange: 'c-10:c+10',
+ showOtherMonths: false,
+ selectOtherMonths: false,
+ defaultDate: null,
+ selectDefaultDate: false,
+ minDate: null,
+ maxDate: null,
+ dateFormat: null,
+ autoSize: false,
+ rangeSelect: false,
+ rangeSeparator: ' - ',
+ multiSelect: 0,
+ multiSeparator: ',',
+ onDate: null,
+ onShow: null,
+ onChangeMonthYear: null,
+ onSelect: null,
+ onClose: null,
+ altField: null,
+ altFormat: null,
+ constrainInput: true,
+ commandsAsDateFormat: false,
+ commands: {} // this.commands
+ },
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof CalendarsPicker
+ @property [renderer=this.defaultRenderer] {string} The rendering templates.
+ @property [prevText='<Prev'] {string} Text for the previous month command.
+ @property [prevStatus='Show the previous month'] {string} Status text for the previous month command.
+ @property [prevJumpText='<<'] {string} Text for the previous year command.
+ @property [prevJumpStatus='Show the previous year'] {string} Status text for the previous year command.
+ @property [nextText='Next>'] {string} Text for the next month command.
+ @property [nextStatus='Show the next month'] {string} Status text for the next month command.
+ @property [nextJumpText='>>'] {string} Text for the next year command.
+ @property [nextJumpStatus='Show the next year'] {string} Status text for the next year command.
+ @property [currentText='Current'] {string} Text for the current month command.
+ @property [currentStatus='Show the current month'] {string} Status text for the current month command.
+ @property [todayText='Today'] {string} Text for the today's month command.
+ @property [todayStatus='Show today\'s month'] {string} Status text for the today's month command.
+ @property [clearText='Clear'] {string} Text for the clear command.
+ @property [clearStatus='Clear all the dates'] {string} Status text for the clear command.
+ @property [closeText='Close'] {string} Text for the close command.
+ @property [closeStatus='Close the datepicker'] {string} Status text for the close command.
+ @property [yearStatus='Change the year'] {string} Status text for year selection.
+ @property [earlierText=' ▲'] {string} Text for earlier years.
+ @property [laterText=' ▼'] {string} Text for later years.
+ @property [monthStatus='Change the month'] {string} Status text for month selection.
+ @property [weekText='Wk'] {string} Text for week of the year column header.
+ @property [weekStatus='Week of the year'] {string} Status text for week of the year column header.
+ @property [dayStatus='Select DD, M d, yyyy'] {string} Status text for selectable days.
+ @property [defaultStatus='Select a date'] {string} Status text shown by default.
+ @property [isRTL=false] {boolean} true if language is right-to-left. */
+ regionalOptions: { // Available regional settings, indexed by language/country code
+ '': { // Default regional settings - English/US
+ renderer: {}, // this.defaultRenderer
+ prevText: '<Prev',
+ prevStatus: 'Show the previous month',
+ prevJumpText: '<<',
+ prevJumpStatus: 'Show the previous year',
+ nextText: 'Next>',
+ nextStatus: 'Show the next month',
+ nextJumpText: '>>',
+ nextJumpStatus: 'Show the next year',
+ currentText: 'Current',
+ currentStatus: 'Show the current month',
+ todayText: 'Today',
+ todayStatus: 'Show today\'s month',
+ clearText: 'Clear',
+ clearStatus: 'Clear all the dates',
+ closeText: 'Close',
+ closeStatus: 'Close the datepicker',
+ yearStatus: 'Change the year',
+ earlierText: ' ▲',
+ laterText: ' ▼',
+ monthStatus: 'Change the month',
+ weekText: 'Wk',
+ weekStatus: 'Week of the year',
+ dayStatus: 'Select DD, M d, yyyy',
+ defaultStatus: 'Select a date',
+ isRTL: false
+ }
+ },
+
+ /** Names of getter methods - those that can't be chained.
+ @memberof CalendarsPicker */
+ _getters: ['getDate', 'isDisabled', 'isSelectable', 'retrieveDate'],
+
+ _disabled: [],
+
+ _popupClass: 'calendars-popup', // Marker for popup division
+ _triggerClass: 'calendars-trigger', // Marker for trigger element
+ _disableClass: 'calendars-disable', // Marker for disabled element
+ _monthYearClass: 'calendars-month-year', // Marker for month/year inputs
+ _curMonthClass: 'calendars-month-', // Marker for current month/year
+ _anyYearClass: 'calendars-any-year', // Marker for year direct input
+ _curDoWClass: 'calendars-dow-', // Marker for day of week
+
+ _init: function() {
+ this.defaultOptions.commands = this.commands;
+ this.regionalOptions[''].renderer = this.defaultRenderer;
+ this._super();
+ },
+
+ _instSettings: function(elem, options) {
+ return {selectedDates: [], drawDate: null, pickingRange: false,
+ inline: ($.inArray(elem[0].nodeName.toLowerCase(), ['div', 'span']) > -1),
+ get: function(name) { // Get a setting value, computing if necessary
+ if ($.inArray(name, ['defaultDate', 'minDate', 'maxDate']) > -1) { // Decode date settings
+ return this.options.calendar.determineDate(this.options[name], null,
+ this.selectedDates[0], this.get('dateFormat'), this.getConfig());
+ }
+ if (name === 'dateFormat') {
+ return this.options.dateFormat || this.options.calendar.local.dateFormat;
+ }
+ return this.options[name];
+ },
+ curMinDate: function() {
+ return (this.pickingRange ? this.selectedDates[0] : this.get('minDate'));
+ },
+ getConfig: function() {
+ return {dayNamesShort: this.options.dayNamesShort, dayNames: this.options.dayNames,
+ monthNamesShort: this.options.monthNamesShort, monthNames: this.options.monthNames,
+ calculateWeek: this.options.calculateWeek, shortYearCutoff: this.options.shortYearCutoff};
+ }
+ };
+ },
+
+ _postAttach: function(elem, inst) {
+ if (inst.inline) {
+ inst.drawDate = plugin._checkMinMax((inst.selectedDates[0] ||
+ inst.get('defaultDate') || inst.options.calendar.today()).newDate(), inst);
+ inst.prevDate = inst.drawDate.newDate();
+ this._update(elem[0]);
+ if ($.fn.mousewheel) {
+ elem.mousewheel(this._doMouseWheel);
+ }
+ }
+ else {
+ this._attachments(elem, inst);
+ elem.on('keydown.' + inst.name, this._keyDown).on('keypress.' + inst.name, this._keyPress).
+ on('keyup.' + inst.name, this._keyUp);
+ if (elem.attr('disabled')) {
+ this.disable(elem[0]);
+ }
+ }
+ },
+
+ _optionsChanged: function(elem, inst, options) {
+ if (options.calendar && options.calendar !== inst.options.calendar) {
+ var discardDate = function(name) {
+ return (typeof inst.options[name] === 'object' ? null : inst.options[name]);
+ };
+ options = $.extend({defaultDate: discardDate('defaultDate'),
+ minDate: discardDate('minDate'), maxDate: discardDate('maxDate')}, options);
+ inst.selectedDates = [];
+ inst.drawDate = null;
+ }
+ var dates = inst.selectedDates;
+ $.extend(inst.options, options);
+ this.setDate(elem[0], dates, null, false, true);
+ inst.pickingRange = false;
+ var calendar = inst.options.calendar;
+ var defaultDate = inst.get('defaultDate');
+ inst.drawDate = this._checkMinMax((defaultDate ? defaultDate : inst.drawDate) ||
+ defaultDate || calendar.today(), inst).newDate();
+ if (!inst.inline) {
+ this._attachments(elem, inst);
+ }
+ if (inst.inline || inst.div) {
+ this._update(elem[0]);
+ }
+ },
+
+ /** Attach events and trigger, if necessary.
+ @memberof CalendarsPicker
+ @private
+ @param elem {jQuery} The control to affect.
+ @param inst {object} The current instance settings. */
+ _attachments: function(elem, inst) {
+ elem.off('focus.' + inst.name);
+ if (inst.options.showOnFocus) {
+ elem.on('focus.' + inst.name, this.show);
+ }
+ if (inst.trigger) {
+ inst.trigger.remove();
+ }
+ var trigger = inst.options.showTrigger;
+ inst.trigger = (!trigger ? $([]) :
+ $(trigger).clone().removeAttr('id').addClass(this._triggerClass)
+ [inst.options.isRTL ? 'insertBefore' : 'insertAfter'](elem).
+ click(function() {
+ if (!plugin.isDisabled(elem[0])) {
+ plugin[plugin.curInst === inst ? 'hide' : 'show'](elem[0]);
+ }
+ }));
+ this._autoSize(elem, inst);
+ var dates = this._extractDates(inst, elem.val());
+ if (dates) {
+ this.setDate(elem[0], dates, null, true);
+ }
+ var defaultDate = inst.get('defaultDate');
+ if (inst.options.selectDefaultDate && defaultDate && inst.selectedDates.length === 0) {
+ this.setDate(elem[0], (defaultDate || inst.options.calendar.today()).newDate());
+ }
+ },
+
+ /** Apply the maximum length for the date format.
+ @memberof CalendarsPicker
+ @private
+ @param elem {jQuery} The control to affect.
+ @param inst {object} The current instance settings. */
+ _autoSize: function(elem, inst) {
+ if (inst.options.autoSize && !inst.inline) {
+ var calendar = inst.options.calendar;
+ var date = calendar.newDate(2009, 10, 20); // Ensure double digits
+ var dateFormat = inst.get('dateFormat');
+ if (dateFormat.match(/[DM]/)) {
+ var findMax = function(names) {
+ var max = 0;
+ var maxI = 0;
+ for (var i = 0; i < names.length; i++) {
+ if (names[i].length > max) {
+ max = names[i].length;
+ maxI = i;
+ }
+ }
+ return maxI;
+ };
+ date.month(findMax(calendar.local[dateFormat.match(/MM/) ? // Longest month
+ 'monthNames' : 'monthNamesShort']) + 1);
+ date.day(findMax(calendar.local[dateFormat.match(/DD/) ? // Longest day
+ 'dayNames' : 'dayNamesShort']) + 20 - date.dayOfWeek());
+ }
+ inst.elem.attr('size', date.formatDate(dateFormat,
+ {localNumbers: inst.options.localnumbers}).length);
+ }
+ },
+
+ _preDestroy: function(elem, inst) {
+ if (inst.trigger) {
+ inst.trigger.remove();
+ }
+ elem.empty().off('.' + inst.name);
+ if (inst.inline && $.fn.mousewheel) {
+ elem.unmousewheel();
+ }
+ if (!inst.inline && inst.options.autoSize) {
+ elem.removeAttr('size');
+ }
+ },
+
+ /** Apply multiple event functions.
+ @memberof CalendarsPicker
+ @param fns {function} The functions to apply.
+ @example onShow: multipleEvents(fn1, fn2, ...) */
+ multipleEvents: function(fns) {
+ var funcs = arguments;
+ return function(args) {
+ for (var i = 0; i < funcs.length; i++) {
+ funcs[i].apply(this, arguments);
+ }
+ };
+ },
+
+ /** Enable the control.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @example $(selector).datepick('enable') */
+ enable: function(elem) {
+ elem = $(elem);
+ if (!elem.hasClass(this._getMarker())) {
+ return;
+ }
+ var inst = this._getInst(elem);
+ if (inst.inline) {
+ elem.children('.' + this._disableClass).remove().end().
+ find('button,select').prop('disabled', false).end().
+ find('a').attr('href', 'javascript:void(0)');
+ }
+ else {
+ elem.prop('disabled', false);
+ inst.trigger.filter('button.' + this._triggerClass).prop('disabled', false).end().
+ filter('img.' + this._triggerClass).css({opacity: '1.0', cursor: ''});
+ }
+ this._disabled = $.map(this._disabled,
+ function(value) { return (value === elem[0] ? null : value); }); // Delete entry
+ },
+
+ /** Disable the control.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @example $(selector).datepick('disable') */
+ disable: function(elem) {
+ elem = $(elem);
+ if (!elem.hasClass(this._getMarker())) {
+ return;
+ }
+ var inst = this._getInst(elem);
+ if (inst.inline) {
+ var inline = elem.children(':last');
+ var offset = inline.offset();
+ var relOffset = {left: 0, top: 0};
+ inline.parents().each(function() {
+ if ($(this).css('position') === 'relative') {
+ relOffset = $(this).offset();
+ return false;
+ }
+ });
+ var zIndex = elem.css('zIndex');
+ zIndex = (zIndex === 'auto' ? 0 : parseInt(zIndex, 10)) + 1;
+ elem.prepend('
').
+ find('button,select').prop('disabled', true).end().
+ find('a').removeAttr('href');
+ }
+ else {
+ elem.prop('disabled', true);
+ inst.trigger.filter('button.' + this._triggerClass).prop('disabled', true).end().
+ filter('img.' + this._triggerClass).css({opacity: '0.5', cursor: 'default'});
+ }
+ this._disabled = $.map(this._disabled,
+ function(value) { return (value === elem[0] ? null : value); }); // Delete entry
+ this._disabled.push(elem[0]);
+ },
+
+ /** Is the first field in a jQuery collection disabled as a datepicker?
+ @memberof CalendarsPicker
+ @param elem {Element} The control to examine.
+ @return {boolean} true if disabled, false if enabled.
+ @example if ($(selector).datepick('isDisabled')) {...} */
+ isDisabled: function(elem) {
+ return (elem && $.inArray(elem, this._disabled) > -1);
+ },
+
+ /** Show a popup datepicker.
+ @memberof CalendarsPicker
+ @param elem {Event|Element} a focus event or the control to use.
+ @example $(selector).datepick('show') */
+ show: function(elem) {
+ elem = $(elem.target || elem);
+ var inst = plugin._getInst(elem);
+ if (plugin.curInst === inst) {
+ return;
+ }
+ if (plugin.curInst) {
+ plugin.hide(plugin.curInst, true);
+ }
+ if (!$.isEmptyObject(inst)) {
+ // Retrieve existing date(s)
+ inst.lastVal = null;
+ inst.selectedDates = plugin._extractDates(inst, elem.val());
+ inst.pickingRange = false;
+ inst.drawDate = plugin._checkMinMax((inst.selectedDates[0] ||
+ inst.get('defaultDate') || inst.options.calendar.today()).newDate(), inst);
+ inst.prevDate = inst.drawDate.newDate();
+ plugin.curInst = inst;
+ // Generate content
+ plugin._update(elem[0], true);
+ // Adjust position before showing
+ var offset = plugin._checkOffset(inst);
+ inst.div.css({left: offset.left, top: offset.top});
+ // And display
+ var showAnim = inst.options.showAnim;
+ var showSpeed = inst.options.showSpeed;
+ showSpeed = (showSpeed === 'normal' && $.ui &&
+ parseInt($.ui.version.substring(2)) >= 8 ? '_default' : showSpeed);
+ if ($.effects && ($.effects[showAnim] || ($.effects.effect && $.effects.effect[showAnim]))) {
+ var data = inst.div.data(); // Update old effects data
+ for (var key in data) {
+ if (key.match(/^ec\.storage\./)) {
+ data[key] = inst._mainDiv.css(key.replace(/ec\.storage\./, ''));
+ }
+ }
+ inst.div.data(data).show(showAnim, inst.options.showOptions, showSpeed);
+ }
+ else {
+ inst.div[showAnim || 'show'](showAnim ? showSpeed : 0);
+ }
+ }
+ },
+
+ /** Extract possible dates from a string.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @param text {string} The text to extract from.
+ @return {CDate[]} The extracted dates. */
+ _extractDates: function(inst, datesText) {
+ if (datesText === inst.lastVal) {
+ return;
+ }
+ inst.lastVal = datesText;
+ datesText = datesText.split(inst.options.multiSelect ? inst.options.multiSeparator :
+ (inst.options.rangeSelect ? inst.options.rangeSeparator : '\x00'));
+ var dates = [];
+ for (var i = 0; i < datesText.length; i++) {
+ try {
+ var date = inst.options.calendar.parseDate(inst.get('dateFormat'), datesText[i]);
+ if (date) {
+ var found = false;
+ for (var j = 0; j < dates.length; j++) {
+ if (dates[j].compareTo(date) === 0) {
+ found = true;
+ break;
+ }
+ }
+ if (!found) {
+ dates.push(date);
+ }
+ }
+ }
+ catch (e) {
+ // Ignore
+ }
+ }
+ dates.splice(inst.options.multiSelect || (inst.options.rangeSelect ? 2 : 1), dates.length);
+ if (inst.options.rangeSelect && dates.length === 1) {
+ dates[1] = dates[0];
+ }
+ return dates;
+ },
+
+ /** Update the datepicker display.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Event|Element} a focus event or the control to use.
+ @param hidden {boolean} true to initially hide the datepicker. */
+ _update: function(elem, hidden) {
+ elem = $(elem.target || elem);
+ var inst = plugin._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ if (inst.inline || plugin.curInst === inst) {
+ if ($.isFunction(inst.options.onChangeMonthYear) && (!inst.prevDate ||
+ inst.prevDate.year() !== inst.drawDate.year() ||
+ inst.prevDate.month() !== inst.drawDate.month())) {
+ inst.options.onChangeMonthYear.apply(elem[0],
+ [inst.drawDate.year(), inst.drawDate.month()]);
+ }
+ }
+ if (inst.inline) {
+ var index = $('a, :input', elem).index($(':focus', elem));
+ elem.html(this._generateContent(elem[0], inst));
+ var focus = elem.find('a, :input');
+ focus.eq(Math.max(Math.min(index, focus.length - 1), 0)).focus();
+ }
+ else if (plugin.curInst === inst) {
+ if (!inst.div) {
+ inst.div = $('
').addClass(this._popupClass).
+ css({display: (hidden ? 'none' : 'static'), position: 'absolute',
+ left: elem.offset().left, top: elem.offset().top + elem.outerHeight()}).
+ appendTo($(inst.options.popupContainer || 'body'));
+ if ($.fn.mousewheel) {
+ inst.div.mousewheel(this._doMouseWheel);
+ }
+ }
+ inst.div.html(this._generateContent(elem[0], inst));
+ elem.focus();
+ }
+ }
+ },
+
+ /** Update the input field and any alternate field with the current dates.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} The control to use.
+ @param keyUp {boolean} true if coming from keyUp processing (internal). */
+ _updateInput: function(elem, keyUp) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ var value = '';
+ var altValue = '';
+ var sep = (inst.options.multiSelect ? inst.options.multiSeparator :
+ inst.options.rangeSeparator);
+ var calendar = inst.options.calendar;
+ var dateFormat = inst.get('dateFormat');
+ var altFormat = inst.options.altFormat || dateFormat;
+ var settings = {localNumbers: inst.options.localNumbers};
+ for (var i = 0; i < inst.selectedDates.length; i++) {
+ value += (keyUp ? '' : (i > 0 ? sep : '') +
+ calendar.formatDate(dateFormat, inst.selectedDates[i], settings));
+ altValue += (i > 0 ? sep : '') +
+ calendar.formatDate(altFormat, inst.selectedDates[i], settings);
+ }
+ if (!inst.inline && !keyUp) {
+ $(elem).val(value);
+ }
+ $(inst.options.altField).val(altValue);
+ if ($.isFunction(inst.options.onSelect) && !keyUp && !inst.inSelect) {
+ inst.inSelect = true; // Prevent endless loops
+ inst.options.onSelect.apply(elem, [inst.selectedDates]);
+ inst.inSelect = false;
+ }
+ }
+ },
+
+ /** Retrieve the size of left and top borders for an element.
+ @memberof CalendarsPicker
+ @private
+ @param elem {jQuery} The element of interest.
+ @return {number[]} The left and top borders. */
+ _getBorders: function(elem) {
+ var convert = function(value) {
+ return {thin: 1, medium: 3, thick: 5}[value] || value;
+ };
+ return [parseFloat(convert(elem.css('border-left-width'))),
+ parseFloat(convert(elem.css('border-top-width')))];
+ },
+
+ /** Check positioning to remain on the screen.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @return {object} The updated offset for the datepicker. */
+ _checkOffset: function(inst) {
+ var base = (inst.elem.is(':hidden') && inst.trigger ? inst.trigger : inst.elem);
+ var offset = base.offset();
+ var browserWidth = $(window).width();
+ var browserHeight = $(window).height();
+ if (browserWidth === 0) {
+ return offset;
+ }
+ var isFixed = false;
+ $(inst.elem).parents().each(function() {
+ isFixed |= $(this).css('position') === 'fixed';
+ return !isFixed;
+ });
+ var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
+ var scrollY = document.documentElement.scrollTop || document.body.scrollTop;
+ var above = offset.top - (isFixed ? scrollY : 0) - inst.div.outerHeight();
+ var below = offset.top - (isFixed ? scrollY : 0) + base.outerHeight();
+ var alignL = offset.left - (isFixed ? scrollX : 0);
+ var alignR = offset.left - (isFixed ? scrollX : 0) + base.outerWidth() - inst.div.outerWidth();
+ var tooWide = (offset.left - scrollX + inst.div.outerWidth()) > browserWidth;
+ var tooHigh = (offset.top - scrollY + inst.elem.outerHeight() +
+ inst.div.outerHeight()) > browserHeight;
+ inst.div.css('position', isFixed ? 'fixed' : 'absolute');
+ var alignment = inst.options.alignment;
+ if (alignment === 'topLeft') {
+ offset = {left: alignL, top: above};
+ }
+ else if (alignment === 'topRight') {
+ offset = {left: alignR, top: above};
+ }
+ else if (alignment === 'bottomLeft') {
+ offset = {left: alignL, top: below};
+ }
+ else if (alignment === 'bottomRight') {
+ offset = {left: alignR, top: below};
+ }
+ else if (alignment === 'top') {
+ offset = {left: (inst.options.isRTL || tooWide ? alignR : alignL), top: above};
+ }
+ else { // bottom
+ offset = {left: (inst.options.isRTL || tooWide ? alignR : alignL),
+ top: (tooHigh ? above : below)};
+ }
+ offset.left = Math.max((isFixed ? 0 : scrollX), offset.left);
+ offset.top = Math.max((isFixed ? 0 : scrollY), offset.top);
+ return offset;
+ },
+
+ /** Close date picker if clicked elsewhere.
+ @memberof CalendarsPicker
+ @private
+ @param event {MouseEvent} The mouse click to check. */
+ _checkExternalClick: function(event) {
+ if (!plugin.curInst) {
+ return;
+ }
+ var elem = $(event.target);
+ if (elem.closest('.' + plugin._popupClass + ',.' + plugin._triggerClass).length === 0 &&
+ !elem.hasClass(plugin._getMarker())) {
+ plugin.hide(plugin.curInst);
+ }
+ },
+
+ /** Hide a popup datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element|object} The control to use or the current instance settings.
+ @param immediate {boolean} true to close immediately without animation (internal).
+ @example $(selector).datepick('hide') */
+ hide: function(elem, immediate) {
+ if (!elem) {
+ return;
+ }
+ var inst = this._getInst(elem);
+ if ($.isEmptyObject(inst)) {
+ inst = elem;
+ }
+ if (inst && inst === plugin.curInst) {
+ var showAnim = (immediate ? '' : inst.options.showAnim);
+ var showSpeed = inst.options.showSpeed;
+ showSpeed = (showSpeed === 'normal' && $.ui &&
+ parseInt($.ui.version.substring(2)) >= 8 ? '_default' : showSpeed);
+ var postProcess = function() {
+ if (!inst.div) {
+ return;
+ }
+ inst.div.remove();
+ inst.div = null;
+ plugin.curInst = null;
+ if ($.isFunction(inst.options.onClose)) {
+ inst.options.onClose.apply(elem, [inst.selectedDates]);
+ }
+ };
+ inst.div.stop();
+ if ($.effects && ($.effects[showAnim] || ($.effects.effect && $.effects.effect[showAnim]))) {
+ inst.div.hide(showAnim, inst.options.showOptions, showSpeed, postProcess);
+ }
+ else {
+ var hideAnim = (showAnim === 'slideDown' ? 'slideUp' :
+ (showAnim === 'fadeIn' ? 'fadeOut' : 'hide'));
+ inst.div[hideAnim]((showAnim ? showSpeed : ''), postProcess);
+ }
+ if (!showAnim) {
+ postProcess();
+ }
+ }
+ },
+
+ /** Handle keystrokes in the datepicker.
+ @memberof CalendarsPicker
+ @private
+ @param event {KeyEvent} The keystroke.
+ @return {boolean} true if not handled, false if handled. */
+ _keyDown: function(event) {
+ var elem = (event.data && event.data.elem) || event.target;
+ var inst = plugin._getInst(elem);
+ var handled = false;
+ if (inst.inline || inst.div) {
+ if (event.keyCode === 9) { // Tab - close
+ plugin.hide(elem);
+ }
+ else if (event.keyCode === 13) { // Enter - select
+ plugin.selectDate(elem,
+ $('a.' + inst.options.renderer.highlightedClass, inst.div)[0]);
+ handled = true;
+ }
+ else { // Command keystrokes
+ var commands = inst.options.commands;
+ for (var name in commands) {
+ var command = commands[name];
+ if (command.keystroke.keyCode === event.keyCode &&
+ !!command.keystroke.ctrlKey === !!(event.ctrlKey || event.metaKey) &&
+ !!command.keystroke.altKey === event.altKey &&
+ !!command.keystroke.shiftKey === event.shiftKey) {
+ plugin.performAction(elem, name);
+ handled = true;
+ break;
+ }
+ }
+ }
+ }
+ else { // Show on 'current' keystroke
+ var command = inst.options.commands.current;
+ if (command.keystroke.keyCode === event.keyCode &&
+ !!command.keystroke.ctrlKey === !!(event.ctrlKey || event.metaKey) &&
+ !!command.keystroke.altKey === event.altKey &&
+ !!command.keystroke.shiftKey === event.shiftKey) {
+ plugin.show(elem);
+ handled = true;
+ }
+ }
+ inst.ctrlKey = ((event.keyCode < 48 && event.keyCode !== 32) || event.ctrlKey || event.metaKey);
+ if (handled) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ return !handled;
+ },
+
+ /** Filter keystrokes in the datepicker.
+ @memberof CalendarsPicker
+ @private
+ @param event {KeyEvent} The keystroke.
+ @return {boolean} true if allowed, false if not allowed. */
+ _keyPress: function(event) {
+ var inst = plugin._getInst((event.data && event.data.elem) || event.target);
+ if (!$.isEmptyObject(inst) && inst.options.constrainInput) {
+ var ch = String.fromCharCode(event.keyCode || event.charCode);
+ var allowedChars = plugin._allowedChars(inst);
+ return (event.metaKey || inst.ctrlKey || ch < ' ' ||
+ !allowedChars || allowedChars.indexOf(ch) > -1);
+ }
+ return true;
+ },
+
+ /** Determine the set of characters allowed by the date format.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @return {string} The set of allowed characters, or null if anything allowed. */
+ _allowedChars: function(inst) {
+ var allowedChars = (inst.options.multiSelect ? inst.options.multiSeparator :
+ (inst.options.rangeSelect ? inst.options.rangeSeparator : ''));
+ var literal = false;
+ var hasNum = false;
+ var dateFormat = inst.get('dateFormat');
+ for (var i = 0; i < dateFormat.length; i++) {
+ var ch = dateFormat.charAt(i);
+ if (literal) {
+ if (ch === "'" && dateFormat.charAt(i + 1) !== "'") {
+ literal = false;
+ }
+ else {
+ allowedChars += ch;
+ }
+ }
+ else {
+ switch (ch) {
+ case 'd': case 'm': case 'o': case 'w':
+ allowedChars += (hasNum ? '' : '0123456789'); hasNum = true; break;
+ case 'y': case '@': case '!':
+ allowedChars += (hasNum ? '' : '0123456789') + '-'; hasNum = true; break;
+ case 'J':
+ allowedChars += (hasNum ? '' : '0123456789') + '-.'; hasNum = true; break;
+ case 'D': case 'M': case 'Y':
+ return null; // Accept anything
+ case "'":
+ if (dateFormat.charAt(i + 1) === "'") {
+ allowedChars += "'";
+ }
+ else {
+ literal = true;
+ }
+ break;
+ default:
+ allowedChars += ch;
+ }
+ }
+ }
+ return allowedChars;
+ },
+
+ /** Synchronise datepicker with the field.
+ @memberof CalendarsPicker
+ @private
+ @param event {KeyEvent} The keystroke.
+ @return {boolean} true if allowed, false if not allowed. */
+ _keyUp: function(event) {
+ var elem = (event.data && event.data.elem) || event.target;
+ var inst = plugin._getInst(elem);
+ if (!$.isEmptyObject(inst) && !inst.ctrlKey && inst.lastVal !== inst.elem.val()) {
+ try {
+ var dates = plugin._extractDates(inst, inst.elem.val());
+ if (dates.length > 0) {
+ plugin.setDate(elem, dates, null, true);
+ }
+ }
+ catch (event) {
+ // Ignore
+ }
+ }
+ return true;
+ },
+
+ /** Increment/decrement month/year on mouse wheel activity.
+ @memberof CalendarsPicker
+ @private
+ @param event {event} The mouse wheel event.
+ @param delta {number} The amount of change. */
+ _doMouseWheel: function(event, delta) {
+ var elem = (plugin.curInst && plugin.curInst.elem[0]) ||
+ $(event.target).closest('.' + plugin._getMarker())[0];
+ if (plugin.isDisabled(elem)) {
+ return;
+ }
+ var inst = plugin._getInst(elem);
+ if (inst.options.useMouseWheel) {
+ delta = (delta < 0 ? -1 : +1);
+ plugin.changeMonth(elem, -inst.options[event.ctrlKey ? 'monthsToJump' : 'monthsToStep'] * delta);
+ }
+ event.preventDefault();
+ },
+
+ /** Clear an input and close a popup datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to use.
+ @example $(selector).datepick('clear') */
+ clear: function(elem) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ inst.selectedDates = [];
+ this.hide(elem);
+ var defaultDate = inst.get('defaultDate');
+ if (inst.options.selectDefaultDate && defaultDate) {
+ this.setDate(elem, (defaultDate || inst.options.calendar.today()).newDate());
+ }
+ else {
+ this._updateInput(elem);
+ }
+ }
+ },
+
+ /** Retrieve the selected date(s) for a datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to examine.
+ @return {CDate[]} The selected date(s).
+ @example var dates = $(selector).datepick('getDate') */
+ getDate: function(elem) {
+ var inst = this._getInst(elem);
+ return (!$.isEmptyObject(inst) ? inst.selectedDates : []);
+ },
+
+ /** Set the selected date(s) for a datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} the control to examine.
+ @param dates {CDate|number|string|array} the selected date(s).
+ @param [endDate] {CDate|number|string} the ending date for a range.
+ @param [keyUp] {boolean} true if coming from keyUp processing (internal).
+ @param [setOpt] {boolean} true if coming from option processing (internal).
+ @example $(selector).datepick('setDate', new Date(2014, 12-1, 25))
+ $(selector).datepick('setDate', '12/25/2014', '01/01/2015')
+ $(selector).datepick('setDate', [date1, date2, date3]) */
+ setDate: function(elem, dates, endDate, keyUp, setOpt) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ if (!$.isArray(dates)) {
+ dates = [dates];
+ if (endDate) {
+ dates.push(endDate);
+ }
+ }
+ var minDate = inst.get('minDate');
+ var maxDate = inst.get('maxDate');
+ var curDate = inst.selectedDates[0];
+ inst.selectedDates = [];
+ for (var i = 0; i < dates.length; i++) {
+ var date = inst.options.calendar.determineDate(
+ dates[i], null, curDate, inst.get('dateFormat'), inst.getConfig());
+ if (date) {
+ if ((!minDate || date.compareTo(minDate) !== -1) &&
+ (!maxDate || date.compareTo(maxDate) !== +1)) {
+ var found = false;
+ for (var j = 0; j < inst.selectedDates.length; j++) {
+ if (inst.selectedDates[j].compareTo(date) === 0) {
+ found = true;
+ break;
+ }
+ }
+ if (!found) {
+ inst.selectedDates.push(date);
+ }
+ }
+ }
+ }
+ inst.selectedDates.splice(inst.options.multiSelect ||
+ (inst.options.rangeSelect ? 2 : 1), inst.selectedDates.length);
+ if (inst.options.rangeSelect) {
+ switch (inst.selectedDates.length) {
+ case 1: inst.selectedDates[1] = inst.selectedDates[0]; break;
+ case 2: inst.selectedDates[1] =
+ (inst.selectedDates[0].compareTo(inst.selectedDates[1]) === +1 ?
+ inst.selectedDates[0] : inst.selectedDates[1]); break;
+ }
+ inst.pickingRange = false;
+ }
+ inst.prevDate = (inst.drawDate ? inst.drawDate.newDate() : null);
+ inst.drawDate = this._checkMinMax((inst.selectedDates[0] ||
+ inst.get('defaultDate') || inst.options.calendar.today()).newDate(), inst);
+ if (!setOpt) {
+ this._update(elem);
+ this._updateInput(elem, keyUp);
+ }
+ }
+ },
+
+ /** Determine whether a date is selectable for this datepicker.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} The control to check.
+ @param date {CDate|string|number} The date to check.
+ @return {boolean} true if selectable, false if not.
+ @example var selectable = $(selector).datepick('isSelectable', date) */
+ isSelectable: function(elem, date) {
+ var inst = this._getInst(elem);
+ if ($.isEmptyObject(inst)) {
+ return false;
+ }
+ date = inst.options.calendar.determineDate(date,
+ inst.selectedDates[0] || inst.options.calendar.today(), null,
+ inst.options.dateFormat, inst.getConfig());
+ return this._isSelectable(elem, date, inst.options.onDate,
+ inst.get('minDate'), inst.get('maxDate'));
+ },
+
+ /** Internally determine whether a date is selectable for this datepicker.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} the control to check.
+ @param date {CDate} The date to check.
+ @param onDate {function|boolean} Any onDate callback or callback.selectable.
+ @param minDate {CDate} The minimum allowed date.
+ @param maxDate {CDate} The maximum allowed date.
+ @return {boolean} true if selectable, false if not. */
+ _isSelectable: function(elem, date, onDate, minDate, maxDate) {
+ var dateInfo = (typeof onDate === 'boolean' ? {selectable: onDate} :
+ (!$.isFunction(onDate) ? {} : onDate.apply(elem, [date, true])));
+ return (dateInfo.selectable !== false) &&
+ (!minDate || date.toJD() >= minDate.toJD()) && (!maxDate || date.toJD() <= maxDate.toJD());
+ },
+
+ /** Perform a named action for a datepicker.
+ @memberof CalendarsPicker
+ @param elem {element} The control to affect.
+ @param action {string} The name of the action. */
+ performAction: function(elem, action) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst) && !this.isDisabled(elem)) {
+ var commands = inst.options.commands;
+ if (commands[action] && commands[action].enabled.apply(elem, [inst])) {
+ commands[action].action.apply(elem, [inst]);
+ }
+ }
+ },
+
+ /** Set the currently shown month, defaulting to today's.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @param [year] {number} The year to show.
+ @param [month] {number} The month to show (1-12).
+ @param [day] {number} The day to show.
+ @example $(selector).datepick('showMonth', 2014, 12, 25) */
+ showMonth: function(elem, year, month, day) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst) && (day != null ||
+ (inst.drawDate.year() !== year || inst.drawDate.month() !== month))) {
+ inst.prevDate = inst.drawDate.newDate();
+ var calendar = inst.options.calendar;
+ var show = this._checkMinMax((year != null ?
+ calendar.newDate(year, month, 1) : calendar.today()), inst);
+ inst.drawDate.date(show.year(), show.month(),
+ (day != null ? day : Math.min(inst.drawDate.day(),
+ calendar.daysInMonth(show.year(), show.month()))));
+ this._update(elem);
+ }
+ },
+
+ /** Adjust the currently shown month.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @param offset {number} The number of months to change by.
+ @example $(selector).datepick('changeMonth', 2)*/
+ changeMonth: function(elem, offset) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ var date = inst.drawDate.newDate().add(offset, 'm');
+ this.showMonth(elem, date.year(), date.month());
+ }
+ },
+
+ /** Adjust the currently shown day.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to affect.
+ @param offset {number} The number of days to change by.
+ @example $(selector).datepick('changeDay', 7)*/
+ changeDay: function(elem, offset) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst)) {
+ var date = inst.drawDate.newDate().add(offset, 'd');
+ this.showMonth(elem, date.year(), date.month(), date.day());
+ }
+ },
+
+ /** Restrict a date to the minimum/maximum specified.
+ @memberof CalendarsPicker
+ @private
+ @param date {CDate} The date to check.
+ @param inst {object} The current instance settings. */
+ _checkMinMax: function(date, inst) {
+ var minDate = inst.get('minDate');
+ var maxDate = inst.get('maxDate');
+ date = (minDate && date.compareTo(minDate) === -1 ? minDate.newDate() : date);
+ date = (maxDate && date.compareTo(maxDate) === +1 ? maxDate.newDate() : date);
+ return date;
+ },
+
+ /** Retrieve the date associated with an entry in the datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to examine.
+ @param target {Element} The selected datepicker element.
+ @return {CDate} The corresponding date, or null.
+ @example var date = $(selector).datepick('retrieveDate', $('div.datepick-popup a:contains(10)')[0]) */
+ retrieveDate: function(elem, target) {
+ var inst = this._getInst(elem);
+ return ($.isEmptyObject(inst) ? null : inst.options.calendar.fromJD(
+ parseFloat(target.className.replace(/^.*jd(\d+\.5).*$/, '$1'))));
+ },
+
+ /** Select a date for this datepicker.
+ @memberof CalendarsPicker
+ @param elem {Element} The control to examine.
+ @param target {Element} The selected datepicker element.
+ @example $(selector).datepick('selectDate', $('div.datepick-popup a:contains(10)')[0]) */
+ selectDate: function(elem, target) {
+ var inst = this._getInst(elem);
+ if (!$.isEmptyObject(inst) && !this.isDisabled(elem)) {
+ var date = this.retrieveDate(elem, target);
+ if (inst.options.multiSelect) {
+ var found = false;
+ for (var i = 0; i < inst.selectedDates.length; i++) {
+ if (date.compareTo(inst.selectedDates[i]) === 0) {
+ inst.selectedDates.splice(i, 1);
+ found = true;
+ break;
+ }
+ }
+ if (!found && inst.selectedDates.length < inst.options.multiSelect) {
+ inst.selectedDates.push(date);
+ }
+ }
+ else if (inst.options.rangeSelect) {
+ if (inst.pickingRange) {
+ inst.selectedDates[1] = date;
+ }
+ else {
+ inst.selectedDates = [date, date];
+ }
+ inst.pickingRange = !inst.pickingRange;
+ }
+ else {
+ inst.selectedDates = [date];
+ }
+ inst.prevDate = inst.drawDate = date.newDate();
+ this._updateInput(elem);
+ if (inst.inline || inst.pickingRange || inst.selectedDates.length <
+ (inst.options.multiSelect || (inst.options.rangeSelect ? 2 : 1))) {
+ this._update(elem);
+ }
+ else {
+ this.hide(elem);
+ }
+ }
+ },
+
+ /** Generate the datepicker content for this control.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} The control to affect.
+ @param inst {object} The current instance settings.
+ @return {jQuery} The datepicker content */
+ _generateContent: function(elem, inst) {
+ var monthsToShow = inst.options.monthsToShow;
+ monthsToShow = ($.isArray(monthsToShow) ? monthsToShow : [1, monthsToShow]);
+ inst.drawDate = this._checkMinMax(
+ inst.drawDate || inst.get('defaultDate') || inst.options.calendar.today(), inst);
+ var drawDate = inst.drawDate.newDate().add(-inst.options.monthsOffset, 'm');
+ // Generate months
+ var monthRows = '';
+ for (var row = 0; row < monthsToShow[0]; row++) {
+ var months = '';
+ for (var col = 0; col < monthsToShow[1]; col++) {
+ months += this._generateMonth(elem, inst, drawDate.year(),
+ drawDate.month(), inst.options.calendar, inst.options.renderer, (row === 0 && col === 0));
+ drawDate.add(1, 'm');
+ }
+ monthRows += this._prepare(inst.options.renderer.monthRow, inst).replace(/\{months\}/, months);
+ }
+ var picker = this._prepare(inst.options.renderer.picker, inst).replace(/\{months\}/, monthRows).
+ replace(/\{weekHeader\}/g, this._generateDayHeaders(inst, inst.options.calendar, inst.options.renderer));
+ // Add commands
+ var addCommand = function(type, open, close, name, classes) {
+ if (picker.indexOf('{' + type + ':' + name + '}') === -1) {
+ return;
+ }
+ var command = inst.options.commands[name];
+ var date = (inst.options.commandsAsDateFormat ? command.date.apply(elem, [inst]) : null);
+ picker = picker.replace(new RegExp('\\{' + type + ':' + name + '\\}', 'g'),
+ '<' + open + (command.status ? ' title="' + inst.options[command.status] + '"' : '') +
+ ' class="' + inst.options.renderer.commandClass + ' ' +
+ inst.options.renderer.commandClass + '-' + name + ' ' + classes +
+ (command.enabled(inst) ? '' : ' ' + inst.options.renderer.disabledClass) + '">' +
+ (date ? date.formatDate(inst.options[command.text], {localNumbers: inst.options.localNumbers}) :
+ inst.options[command.text]) + '' + close + '>');
+ };
+ for (var name in inst.options.commands) {
+ addCommand('button', 'button type="button"', 'button', name,
+ inst.options.renderer.commandButtonClass);
+ addCommand('link', 'a href="javascript:void(0)"', 'a', name,
+ inst.options.renderer.commandLinkClass);
+ }
+ picker = $(picker);
+ if (monthsToShow[1] > 1) {
+ var count = 0;
+ $(inst.options.renderer.monthSelector, picker).each(function() {
+ var nth = ++count % monthsToShow[1];
+ $(this).addClass(nth === 1 ? 'first' : (nth === 0 ? 'last' : ''));
+ });
+ }
+ // Add datepicker behaviour
+ var self = this;
+ function removeHighlight() {
+ (inst.inline ? $(this).closest('.' + self._getMarker()) : inst.div).
+ find(inst.options.renderer.daySelector + ' a').
+ removeClass(inst.options.renderer.highlightedClass);
+ }
+ picker.find(inst.options.renderer.daySelector + ' a').hover(
+ function() {
+ removeHighlight.apply(this);
+ $(this).addClass(inst.options.renderer.highlightedClass);
+ },
+ removeHighlight).
+ click(function() {
+ self.selectDate(elem, this);
+ }).end().
+ find('select.' + this._monthYearClass + ':not(.' + this._anyYearClass + ')').
+ change(function() {
+ var monthYear = $(this).val().split('/');
+ self.showMonth(elem, parseInt(monthYear[1], 10), parseInt(monthYear[0], 10));
+ }).end().
+ find('select.' + this._anyYearClass).click(function() {
+ $(this).css('visibility', 'hidden').
+ next('input').css({left: this.offsetLeft, top: this.offsetTop,
+ width: this.offsetWidth, height: this.offsetHeight}).show().focus();
+ }).end().
+ find('input.' + self._monthYearClass).change(function() {
+ try {
+ var year = parseInt($(this).val(), 10);
+ year = (isNaN(year) ? inst.drawDate.year() : year);
+ self.showMonth(elem, year, inst.drawDate.month(), inst.drawDate.day());
+ }
+ catch (e) {
+ alert(e);
+ }
+ }).keydown(function(event) {
+ if (event.keyCode === 13) { // Enter
+ $(event.elem).change();
+ }
+ else if (event.keyCode === 27) { // Escape
+ $(event.elem).hide().prev('select').css('visibility', 'visible');
+ inst.elem.focus();
+ }
+ });
+ // Add keyboard handling
+ var data = {elem: inst.elem[0]};
+ picker.keydown(data, this._keyDown).keypress(data, this._keyPress).keyup(data, this._keyUp);
+ // Add command behaviour
+ picker.find('.' + inst.options.renderer.commandClass).click(function() {
+ if (!$(this).hasClass(inst.options.renderer.disabledClass)) {
+ var action = this.className.replace(
+ new RegExp('^.*' + inst.options.renderer.commandClass + '-([^ ]+).*$'), '$1');
+ plugin.performAction(elem, action);
+ }
+ });
+ // Add classes
+ if (inst.options.isRTL) {
+ picker.addClass(inst.options.renderer.rtlClass);
+ }
+ if (monthsToShow[0] * monthsToShow[1] > 1) {
+ picker.addClass(inst.options.renderer.multiClass);
+ }
+ if (inst.options.pickerClass) {
+ picker.addClass(inst.options.pickerClass);
+ }
+ // Resize
+ $('body').append(picker);
+ var width = 0;
+ picker.find(inst.options.renderer.monthSelector).each(function() {
+ width += $(this).outerWidth();
+ });
+ picker.width(width / monthsToShow[0]);
+ // Pre-show customisation
+ if ($.isFunction(inst.options.onShow)) {
+ inst.options.onShow.apply(elem, [picker, inst.options.calendar, inst]);
+ }
+ return picker;
+ },
+
+ /** Generate the content for a single month.
+ @memberof CalendarsPicker
+ @private
+ @param elem {Element} The control to affect.
+ @param inst {object} The current instance settings.
+ @param year {number} The year to generate.
+ @param month {number} The month to generate.
+ @param calendar {BaseCalendar} The current calendar.
+ @param renderer {object} The rendering templates.
+ @param first {boolean} true if first of multiple months.
+ @return {string} The month content. */
+ _generateMonth: function(elem, inst, year, month, calendar, renderer, first) {
+ var daysInMonth = calendar.daysInMonth(year, month);
+ var monthsToShow = inst.options.monthsToShow;
+ monthsToShow = ($.isArray(monthsToShow) ? monthsToShow : [1, monthsToShow]);
+ var fixedWeeks = inst.options.fixedWeeks || (monthsToShow[0] * monthsToShow[1] > 1);
+ var firstDay = inst.options.firstDay;
+ firstDay = (firstDay == null ? calendar.local.firstDay : firstDay);
+ var leadDays = (calendar.dayOfWeek(year, month, calendar.minDay) -
+ firstDay + calendar.daysInWeek()) % calendar.daysInWeek();
+ var numWeeks = (fixedWeeks ? 6 : Math.ceil((leadDays + daysInMonth) / calendar.daysInWeek()));
+ var selectOtherMonths = inst.options.selectOtherMonths && inst.options.showOtherMonths;
+ var minDate = (inst.pickingRange ? inst.selectedDates[0] : inst.get('minDate'));
+ var maxDate = inst.get('maxDate');
+ var showWeeks = renderer.week.indexOf('{weekOfYear}') > -1;
+ var today = calendar.today();
+ var drawDate = calendar.newDate(year, month, calendar.minDay);
+ drawDate.add(-leadDays - (fixedWeeks &&
+ (drawDate.dayOfWeek() === firstDay || drawDate.daysInMonth() < calendar.daysInWeek())?
+ calendar.daysInWeek() : 0), 'd');
+ var jd = drawDate.toJD();
+ // Localise numbers if requested and available
+ var localiseNumbers = function(value) {
+ return (inst.options.localNumbers && calendar.local.digits ? calendar.local.digits(value) : value);
+ };
+ // Generate weeks
+ var weeks = '';
+ for (var week = 0; week < numWeeks; week++) {
+ var weekOfYear = (!showWeeks ? '' : '' +
+ ($.isFunction(inst.options.calculateWeek) ?
+ inst.options.calculateWeek(drawDate) : drawDate.weekOfYear()) + ' ');
+ var days = '';
+ for (var day = 0; day < calendar.daysInWeek(); day++) {
+ var selected = false;
+ if (inst.options.rangeSelect && inst.selectedDates.length > 0) {
+ selected = (drawDate.compareTo(inst.selectedDates[0]) !== -1 &&
+ drawDate.compareTo(inst.selectedDates[1]) !== +1)
+ }
+ else {
+ for (var i = 0; i < inst.selectedDates.length; i++) {
+ if (inst.selectedDates[i].compareTo(drawDate) === 0) {
+ selected = true;
+ break;
+ }
+ }
+ }
+ var dateInfo = (!$.isFunction(inst.options.onDate) ? {} :
+ inst.options.onDate.apply(elem, [drawDate, drawDate.month() === month]));
+ var selectable = (selectOtherMonths || drawDate.month() === month) &&
+ this._isSelectable(elem, drawDate, dateInfo.selectable, minDate, maxDate);
+ days += this._prepare(renderer.day, inst).replace(/\{day\}/g,
+ (selectable ? '' +
+ (inst.options.showOtherMonths || drawDate.month() === month ?
+ dateInfo.content || localiseNumbers(drawDate.day()) : ' ') +
+ (selectable ? ' ' : ''));
+ drawDate.add(1, 'd');
+ jd++;
+ }
+ weeks += this._prepare(renderer.week, inst).replace(/\{days\}/g, days).
+ replace(/\{weekOfYear\}/g, weekOfYear);
+ }
+ var monthHeader = this._prepare(renderer.month, inst).match(/\{monthHeader(:[^\}]+)?\}/);
+ monthHeader = (monthHeader[0].length <= 13 ? 'MM yyyy' :
+ monthHeader[0].substring(13, monthHeader[0].length - 1));
+ monthHeader = (first ? this._generateMonthSelection(
+ inst, year, month, minDate, maxDate, monthHeader, calendar, renderer) :
+ calendar.formatDate(monthHeader, calendar.newDate(year, month, calendar.minDay),
+ {localNumbers: inst.options.localNumbers}));
+ var weekHeader = this._prepare(renderer.weekHeader, inst).
+ replace(/\{days\}/g, this._generateDayHeaders(inst, calendar, renderer));
+ return this._prepare(renderer.month, inst).replace(/\{monthHeader(:[^\}]+)?\}/g, monthHeader).
+ replace(/\{weekHeader\}/g, weekHeader).replace(/\{weeks\}/g, weeks);
+ },
+
+ /** Generate the HTML for the day headers.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @param calendar {BaseCalendar} The current calendar.
+ @param renderer {object} The rendering templates.
+ @return {string} A week's worth of day headers. */
+ _generateDayHeaders: function(inst, calendar, renderer) {
+ var firstDay = inst.options.firstDay;
+ firstDay = (firstDay == null ? calendar.local.firstDay : firstDay);
+ var header = '';
+ for (var day = 0; day < calendar.daysInWeek(); day++) {
+ var dow = (day + firstDay) % calendar.daysInWeek();
+ header += this._prepare(renderer.dayHeader, inst).replace(/\{day\}/g,
+ '' + calendar.local.dayNamesMin[dow] + ' ');
+ }
+ return header;
+ },
+
+ /** Generate selection controls for month.
+ @memberof CalendarsPicker
+ @private
+ @param inst {object} The current instance settings.
+ @param year {number} The year to generate.
+ @param month {number} The month to generate.
+ @param minDate {CDate} The minimum date allowed.
+ @param maxDate {CDate} The maximum date allowed.
+ @param monthHeader {string} The month/year format.
+ @param calendar {BaseCalendar} The current calendar.
+ @return {string} The month selection content. */
+ _generateMonthSelection: function(inst, year, month, minDate, maxDate, monthHeader, calendar) {
+ if (!inst.options.changeMonth) {
+ return calendar.formatDate(monthHeader, calendar.newDate(year, month, 1),
+ {localNumbers: inst.options.localNumbers});
+ }
+ // Months
+ var monthNames = calendar.local[
+ 'monthNames' + (monthHeader.match(/mm/i) ? '' : 'Short')];
+ var html = monthHeader.replace(/m+/i, '\\x2E').replace(/y+/i, '\\x2F');
+ var selector = '';
+ var maxMonth = calendar.monthsInYear(year) + calendar.minMonth;
+ for (var m = calendar.minMonth; m < maxMonth; m++) {
+ if ((!minDate || calendar.newDate(year, m,
+ calendar.daysInMonth(year, m) - 1 + calendar.minDay).
+ compareTo(minDate) !== -1) &&
+ (!maxDate || calendar.newDate(year, m, calendar.minDay).
+ compareTo(maxDate) !== +1)) {
+ selector += '' +
+ monthNames[m - calendar.minMonth] + ' ';
+ }
+ }
+ selector += ' ';
+ html = html.replace(/\\x2E/, selector);
+ // Years
+ var yearRange = inst.options.yearRange;
+ if (yearRange === 'any') {
+ selector = '' +
+ '' + year + ' ' +
+ ' ';
+ }
+ else {
+ yearRange = yearRange.split(':');
+ var todayYear = calendar.today().year();
+ var start = (yearRange[0].match('c[+-].*') ? year + parseInt(yearRange[0].substring(1), 10) :
+ ((yearRange[0].match('[+-].*') ? todayYear : 0) + parseInt(yearRange[0], 10)));
+ var end = (yearRange[1].match('c[+-].*') ? year + parseInt(yearRange[1].substring(1), 10) :
+ ((yearRange[1].match('[+-].*') ? todayYear : 0) + parseInt(yearRange[1], 10)));
+ selector = '';
+ start = calendar.newDate(start + 1, calendar.firstMonth, calendar.minDay).add(-1, 'd');
+ end = calendar.newDate(end, calendar.firstMonth, calendar.minDay);
+ var addYear = function(y, yDisplay) {
+ if (y !== 0 || calendar.hasYearZero) {
+ selector += '' +
+ (yDisplay || y) + ' ';
+ }
+ };
+ if (start.toJD() < end.toJD()) {
+ start = (minDate && minDate.compareTo(start) === +1 ? minDate : start).year();
+ end = (maxDate && maxDate.compareTo(end) === -1 ? maxDate : end).year();
+ var earlierLater = Math.floor((end - start) / 2);
+ if (!minDate || minDate.year() < start) {
+ addYear(start - earlierLater, inst.options.earlierText);
+ }
+ for (var y = start; y <= end; y++) {
+ addYear(y);
+ }
+ if (!maxDate || maxDate.year() > end) {
+ addYear(end + earlierLater, inst.options.laterText);
+ }
+ }
+ else {
+ start = (maxDate && maxDate.compareTo(start) === -1 ? maxDate : start).year();
+ end = (minDate && minDate.compareTo(end) === +1 ? minDate : end).year();
+ var earlierLater = Math.floor((start - end) / 2);
+ if (!maxDate || maxDate.year() > start) {
+ addYear(start + earlierLater, inst.options.earlierText);
+ }
+ for (var y = start; y >= end; y--) {
+ addYear(y);
+ }
+ if (!minDate || minDate.year() < end) {
+ addYear(end - earlierLater, inst.options.laterText);
+ }
+ }
+ selector += ' ';
+ }
+ html = html.replace(/\\x2F/, selector);
+ return html;
+ },
+
+ /** Prepare a render template for use.
+ Exclude popup/inline sections that are not applicable.
+ Localise text of the form: {l10n:name}.
+ @memberof CalendarsPicker
+ @private
+ @param text {string} The text to localise.
+ @param inst {object} The current instance settings.
+ @return {string} The localised text. */
+ _prepare: function(text, inst) {
+ var replaceSection = function(type, retain) {
+ while (true) {
+ var start = text.indexOf('{' + type + ':start}');
+ if (start === -1) {
+ return;
+ }
+ var end = text.substring(start).indexOf('{' + type + ':end}');
+ if (end > -1) {
+ text = text.substring(0, start) +
+ (retain ? text.substr(start + type.length + 8, end - type.length - 8) : '') +
+ text.substring(start + end + type.length + 6);
+ }
+ }
+ };
+ replaceSection('inline', inst.inline);
+ replaceSection('popup', !inst.inline);
+ var pattern = /\{l10n:([^\}]+)\}/;
+ var matches = null;
+ while (matches = pattern.exec(text)) {
+ text = text.replace(matches[0], inst.options[matches[1]]);
+ }
+ return text;
+ }
+ });
+
+ var plugin = $.calendarsPicker; // Singleton instance
+
+ $(function() {
+ $(document).on('mousedown.' + pluginName, plugin._checkExternalClick).
+ on('resize.' + pluginName, function() { plugin.hide(plugin.curInst); });
+ });
+
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.lang.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.lang.js
new file mode 100644
index 0000000..93aa1c9
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.lang.js
@@ -0,0 +1,1571 @@
+/* http://keith-wood.name/calendars.html
+ Calendars datepicker localisations for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+/* http://keith-wood.name/calendars.html
+ Afrikaans localisation for calendars datepicker for jQuery.
+ Written by Renier Pretorius and Ruediger Thiede. */
+(function($) {
+ $.calendarsPicker.regionalOptions['af'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Vorige', prevStatus: 'Vertoon vorige maand',
+ prevJumpText: '<<', prevJumpStatus: 'Vertoon vorige jaar',
+ nextText: 'Volgende', nextStatus: 'Vertoon volgende maand',
+ nextJumpText: '>>', nextJumpStatus: 'Vertoon volgende jaar',
+ currentText: 'Vandag', currentStatus: 'Vertoon huidige maand',
+ todayText: 'Vandag', todayStatus: 'Vertoon huidige maand',
+ clearText: 'Vee uit', clearStatus: 'Verwyder die huidige datum',
+ closeText: 'Klaar', closeStatus: 'Sluit sonder verandering',
+ yearStatus: 'Vertoon \'n ander jaar', monthStatus: 'Vertoon \'n ander maand',
+ weekText: 'Wk', weekStatus: 'Week van die jaar',
+ dayStatus: 'Kies DD, M d', defaultStatus: 'Kies \'n datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['af']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Amharic (አማርኛ) localisation for calendars datepicker for jQuery.
+ Leyu Sisay. */
+(function($) {
+ $.calendarsPicker.regionalOptions['am'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'ያለፈ', prevStatus: 'ያለፈውን ወር አሳይ',
+ prevJumpText: '<<', prevJumpStatus: 'ያለፈውን ዓመት አሳይ',
+ nextText: 'ቀጣይ', nextStatus: 'ቀጣዩን ወር አሳይ',
+ nextJumpText: '>>', nextJumpStatus: 'ቀጣዩን ዓመት አሳይ',
+ currentText: 'አሁን', currentStatus: 'የአሁኑን ወር አሳይ',
+ todayText: 'ዛሬ', todayStatus: 'የዛሬን ወር አሳይ',
+ clearText: 'አጥፋ', clearStatus: 'የተመረጠውን ቀን አጥፋ',
+ closeText: 'ዝጋ', closeStatus: 'የቀን መምረጫውን ዝጋ',
+ yearStatus: 'ዓመቱን ቀይር', monthStatus: 'ወሩን ቀይር',
+ weekText: 'ሳም', weekStatus: 'የዓመቱ ሳምንት ',
+ dayStatus: 'DD, M d, yyyy ምረጥ', defaultStatus: 'ቀን ምረጥ',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['am']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Algerian (and Tunisian) Arabic localisation for calendars datepicker for jQuery.
+ Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */
+(function($) {
+ $.calendarsPicker.regionalOptions['ar-DZ'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<السابق', prevStatus: 'عرض الشهر السابق',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'التالي>', nextStatus: 'عرض الشهر القادم',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'اليوم', currentStatus: 'عرض الشهر الحالي',
+ todayText: 'اليوم', todayStatus: 'عرض الشهر الحالي',
+ clearText: 'مسح', clearStatus: 'امسح التاريخ الحالي',
+ closeText: 'إغلاق', closeStatus: 'إغلاق بدون حفظ',
+ yearStatus: 'عرض سنة آخرى', monthStatus: 'عرض شهر آخر',
+ weekText: 'أسبوع', weekStatus: 'أسبوع السنة',
+ dayStatus: 'اختر D, M d', defaultStatus: 'اختر يوم',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-DZ']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for calendars datepicker for jQuery.
+ Mahmoud Khaled -- mahmoud.khaled@badrit.com
+ NOTE: monthNames are the new months names */
+(function($) {
+ $.calendarsPicker.regionalOptions['ar-EG'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<السابق', prevStatus: 'عرض الشهر السابق',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'التالي>', nextStatus: 'عرض الشهر القادم',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'اليوم', currentStatus: 'عرض الشهر الحالي',
+ todayText: 'اليوم', todayStatus: 'عرض الشهر الحالي',
+ clearText: 'مسح', clearStatus: 'امسح التاريخ الحالي',
+ closeText: 'إغلاق', closeStatus: 'إغلاق بدون حفظ',
+ yearStatus: 'عرض سنة آخرى', monthStatus: 'عرض شهر آخر',
+ weekText: 'أسبوع', weekStatus: 'أسبوع السنة',
+ dayStatus: 'اختر D, M d', defaultStatus: 'اختر يوم',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-EG']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for calendars datepicker for jQuery.
+ Khaled Al Horani -- خالد الحوراني -- koko.dw@gmail.com */
+(function($) {
+ $.calendarsPicker.regionalOptions['ar'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<السابق', prevStatus: 'عرض الشهر السابق',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'التالي>', nextStatus: 'عرض الشهر القادم',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'اليوم', currentStatus: 'عرض الشهر الحالي',
+ todayText: 'اليوم', todayStatus: 'عرض الشهر الحالي',
+ clearText: 'مسح', clearStatus: 'امسح التاريخ الحالي',
+ closeText: 'إغلاق', closeStatus: 'إغلاق بدون حفظ',
+ yearStatus: 'عرض سنة آخرى', monthStatus: 'عرض شهر آخر',
+ weekText: 'أسبوع', weekStatus: 'أسبوع السنة',
+ dayStatus: 'اختر D, M d', defaultStatus: 'اختر يوم',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Azerbaijani localisation for calendars datepicker for jQuery.
+ Written by Jamil Najafov (necefov33@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['az'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Geri', prevStatus: 'Əvvəlki ay',
+ prevJumpText: '<<', prevJumpStatus: 'Əvvəlki il',
+ nextText: 'İrəli>', nextStatus: 'Sonrakı ay',
+ nextJumpText: '>>', nextJumpStatus: 'Sonrakı il',
+ currentText: 'Bugün', currentStatus: 'İndiki ay',
+ todayText: 'Bugün', todayStatus: 'İndiki ay',
+ clearText: 'Təmizlə', clearStatus: 'Tarixi sil',
+ closeText: 'Bağla', closeStatus: 'Təqvimi bağla',
+ yearStatus: 'Başqa il', monthStatus: 'Başqa ay',
+ weekText: 'Hf', weekStatus: 'Həftələr',
+ dayStatus: 'D, M d seçin', defaultStatus: 'Bir tarix seçin',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['az']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Bulgarian localisation for calendars datepicker for jQuery.
+ Written by Stoyan Kyosev (http://svest.org). */
+(function($) {
+ $.calendarsPicker.regionalOptions['bg'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<назад', prevStatus: 'покажи последния месец',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'напред>', nextStatus: 'покажи следващия месец',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'днес', currentStatus: '',
+ todayText: 'днес', todayStatus: '',
+ clearText: 'изчисти', clearStatus: 'изчисти актуалната дата',
+ closeText: 'затвори', closeStatus: 'затвори без промени',
+ yearStatus: 'покажи друга година', monthStatus: 'покажи друг месец',
+ weekText: 'Wk', weekStatus: 'седмица от месеца',
+ dayStatus: 'Избери D, M d', defaultStatus: 'Избери дата',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bg']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Bosnian localisation for calendars datepicker for jQuery.
+ Kenan Konjo. */
+(function($) {
+ $.calendarsPicker.regionalOptions['bs'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: '>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Danas', currentStatus: '',
+ todayText: 'Danas', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'Zatvori', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: '', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bs']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Catalan localisation for calendars datepicker for jQuery.
+ Writers: (joan.leon@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ca'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Seg>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Avui', currentStatus: '',
+ todayText: 'Avui', todayStatus: '',
+ clearText: 'Netejar', clearStatus: '',
+ closeText: 'Tancar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ca']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Czech localisation for calendars datepicker for jQuery.
+ Written by Tomas Muller (tomas@tomas-muller.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['cs'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Dříve', prevStatus: 'Přejít na předchozí měsí',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Později>', nextStatus: 'Přejít na další měsíc',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Nyní', currentStatus: 'Přejde na aktuální měsíc',
+ todayText: 'Nyní', todayStatus: 'Přejde na aktuální měsíc',
+ clearText: 'Vymazat', clearStatus: 'Vymaže zadané datum',
+ closeText: 'Zavřít', closeStatus: 'Zavře kalendář beze změny',
+ yearStatus: 'Přejít na jiný rok', monthStatus: 'Přejít na jiný měsíc',
+ weekText: 'Týd', weekStatus: 'Týden v roce',
+ dayStatus: '\'Vyber\' DD, M d', defaultStatus: 'Vyberte datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['cs']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Danish localisation for calendars datepicker for jQuery.
+ Written by Jan Christensen ( deletestuff@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['da'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Forrige', prevStatus: 'Vis forrige måned',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Næste>', nextStatus: 'Vis næste måned',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Idag', currentStatus: 'Vis aktuel måned',
+ todayText: 'Idag', todayStatus: 'Vis aktuel måned',
+ clearText: 'Nulstil', clearStatus: 'Nulstil den aktuelle dato',
+ closeText: 'Luk', closeStatus: 'Luk uden ændringer',
+ yearStatus: 'Vis et andet år', monthStatus: 'Vis en anden måned',
+ weekText: 'Uge', weekStatus: 'Årets uge',
+ dayStatus: 'Vælg D, M d', defaultStatus: 'Vælg en dato',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['da']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Swiss-German localisation for calendars datepicker for jQuery.
+ Written by Douglas Jose & Juerg Meier. */
+(function($) {
+ $.calendarsPicker.regionalOptions['de-CH'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<zurück', prevStatus: 'letzten Monat zeigen',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'nächster>', nextStatus: 'nächsten Monat zeigen',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'heute', currentStatus: '',
+ todayText: 'heute', todayStatus: '',
+ clearText: 'löschen', clearStatus: 'aktuelles Datum löschen',
+ closeText: 'schliessen', closeStatus: 'ohne Änderungen schliessen',
+ yearStatus: 'anderes Jahr anzeigen', monthStatus: 'anderen Monat anzeige',
+ weekText: 'Wo', weekStatus: 'Woche des Monats',
+ dayStatus: 'Wähle D, M d', defaultStatus: 'Wähle ein Datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de-CH']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ German localisation for calendars datepicker for jQuery.
+ Written by Milian Wolff (mail@milianw.de). */
+(function($) {
+ $.calendarsPicker.regionalOptions['de'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<zurück', prevStatus: 'letzten Monat zeigen',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Vor>', nextStatus: 'nächsten Monat zeigen',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'heute', currentStatus: '',
+ todayText: 'heute', todayStatus: '',
+ clearText: 'löschen', clearStatus: 'aktuelles Datum löschen',
+ closeText: 'schließen', closeStatus: 'ohne Änderungen schließen',
+ yearStatus: 'anderes Jahr anzeigen', monthStatus: 'anderen Monat anzeige',
+ weekText: 'Wo', weekStatus: 'Woche des Monats',
+ dayStatus: 'Wähle D, M d', defaultStatus: 'Wähle ein Datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Greek localisation for calendars datepicker for jQuery.
+ Written by Alex Cicovic (http://www.alexcicovic.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['el'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Προηγούμενος', prevStatus: 'Επισκόπηση προηγούμενου μήνα',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Επόμενος', nextStatus: 'Επισκόπηση επόμενου μήνα',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Τρέχων Μήνας', currentStatus: 'Επισκόπηση τρέχοντος μήνα',
+ todayText: 'Τρέχων Μήνας', todayStatus: 'Επισκόπηση τρέχοντος μήνα',
+ clearText: 'Σβήσιμο', clearStatus: 'Σβήσιμο της επιλεγμένης ημερομηνίας',
+ closeText: 'Κλείσιμο', closeStatus: 'Κλείσιμο χωρίς αλλαγή',
+ yearStatus: 'Επισκόπηση άλλου έτους', monthStatus: 'Επισκόπηση άλλου μήνα',
+ weekText: 'Εβδ', weekStatus: '',
+ dayStatus: 'Επιλογή DD d MM', defaultStatus: 'Επιλέξτε μια ημερομηνία',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['el']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ English/Australia localisation for calendars datepicker for jQuery.
+ Based on en-GB. */
+(function($) {
+ $.calendarsPicker.regionalOptions['en-AU'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Prev', prevStatus: 'Show the previous month',
+ prevJumpText: '<<', prevJumpStatus: 'Show the previous year',
+ nextText: 'Next', nextStatus: 'Show the next month',
+ nextJumpText: '>>', nextJumpStatus: 'Show the next year',
+ currentText: 'Current', currentStatus: 'Show the current month',
+ todayText: 'Today', todayStatus: 'Show today\'s month',
+ clearText: 'Clear', clearStatus: 'Clear all the dates',
+ closeText: 'Done', closeStatus: 'Close the datepicker',
+ yearStatus: 'Change the year', monthStatus: 'Change the month',
+ weekText: 'Wk', weekStatus: 'Week of the year',
+ dayStatus: 'Select DD, M d, yyyy', defaultStatus: 'Select a date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-AU']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ English/UK localisation for calendars datepicker for jQuery.
+ Stuart. */
+(function($) {
+ $.calendarsPicker.regionalOptions['en-GB'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Prev', prevStatus: 'Show the previous month',
+ prevJumpText: '<<', prevJumpStatus: 'Show the previous year',
+ nextText: 'Next', nextStatus: 'Show the next month',
+ nextJumpText: '>>', nextJumpStatus: 'Show the next year',
+ currentText: 'Current', currentStatus: 'Show the current month',
+ todayText: 'Today', todayStatus: 'Show today\'s month',
+ clearText: 'Clear', clearStatus: 'Clear all the dates',
+ closeText: 'Done', closeStatus: 'Close the datepicker',
+ yearStatus: 'Change the year', monthStatus: 'Change the month',
+ weekText: 'Wk', weekStatus: 'Week of the year',
+ dayStatus: 'Select DD, M d, yyyy', defaultStatus: 'Select a date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-GB']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ English/New Zealand localisation for calendars datepicker for jQuery.
+ Based on en-GB. */
+(function($) {
+ $.calendarsPicker.regionalOptions['en-NZ'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Prev', prevStatus: 'Show the previous month',
+ prevJumpText: '<<', prevJumpStatus: 'Show the previous year',
+ nextText: 'Next', nextStatus: 'Show the next month',
+ nextJumpText: '>>', nextJumpStatus: 'Show the next year',
+ currentText: 'Current', currentStatus: 'Show the current month',
+ todayText: 'Today', todayStatus: 'Show today\'s month',
+ clearText: 'Clear', clearStatus: 'Clear all the dates',
+ closeText: 'Done', closeStatus: 'Close the datepicker',
+ yearStatus: 'Change the year', monthStatus: 'Change the month',
+ weekText: 'Wk', weekStatus: 'Week of the year',
+ dayStatus: 'Select DD, M d, yyyy', defaultStatus: 'Select a date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-NZ']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Esperanto localisation for calendars datepicker for jQuery.
+ Written by Olivier M. (olivierweb@ifrance.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['eo'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Anta', prevStatus: 'Vidi la antaŭan monaton',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Sekv>', nextStatus: 'Vidi la sekvan monaton',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Nuna', currentStatus: 'Vidi la nunan monaton',
+ todayText: 'Nuna', todayStatus: 'Vidi la nunan monaton',
+ clearText: 'Vakigi', clearStatus: '',
+ closeText: 'Fermi', closeStatus: 'Fermi sen modifi',
+ yearStatus: 'Vidi alian jaron', monthStatus: 'Vidi alian monaton',
+ weekText: 'Sb', weekStatus: '',
+ dayStatus: 'Elekti DD, MM d', defaultStatus: 'Elekti la daton',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eo']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Spanish/Argentina localisation for calendars datepicker for jQuery.
+ Written by Esteban Acosta Villafane (esteban.acosta@globant.com) of Globant (http://www.globant.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['es-AR'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Sig>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Hoy', currentStatus: '',
+ todayText: 'Hoy', todayStatus: '',
+ clearText: 'Limpiar', clearStatus: '',
+ closeText: 'Cerrar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Sm', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-AR']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Spanish/Perú localisation for calendars datepicker for jQuery.
+ Written by Fischer Tirado (fishdev@globant.com) of ASIX (http://www.asixonline.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['es-PE'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Sig>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Hoy', currentStatus: '',
+ todayText: 'Hoy', todayStatus: '',
+ clearText: 'Limpiar', clearStatus: '',
+ closeText: 'Cerrar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Sm', weekStatus: '',
+ dayStatus: 'DD d, MM yyyy', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-PE']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Spanish localisation for calendars datepicker for jQuery.
+ Traducido por Vester (xvester@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['es'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Sig>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Hoy', currentStatus: '',
+ todayText: 'Hoy', todayStatus: '',
+ clearText: 'Limpiar', clearStatus: '',
+ closeText: 'Cerrar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Sm', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Estonian localisation for calendars datepicker for jQuery.
+ Written by Mart Sõmermaa (mrts.pydev at gmail com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['et'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Eelnev', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Järgnev', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Täna', currentStatus: '',
+ todayText: 'Täna', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'Sulge', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['et']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Basque localisation for calendars datepicker for jQuery.
+ Karrikas-ek itzulia (karrikas@karrikas.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['eu'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Aur', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Hur>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Gaur', currentStatus: '',
+ todayText: 'Gaur', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'Egina', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD d MM', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eu']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Farsi/Persian localisation for calendars datepicker for jQuery.
+ Javad Mowlanezhad -- jmowla@gmail.com. */
+(function($) {
+ $.calendarsPicker.regionalOptions['fa'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<قبلي', prevStatus: 'نمايش ماه قبل',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'بعدي>', nextStatus: 'نمايش ماه بعد',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'امروز', currentStatus: 'نمايش ماه جاري',
+ todayText: 'امروز', todayStatus: 'نمايش ماه جاري',
+ clearText: 'حذف تاريخ', clearStatus: 'پاک کردن تاريخ جاري',
+ closeText: 'بستن', closeStatus: 'بستن بدون اعمال تغييرات',
+ yearStatus: 'نمايش سال متفاوت', monthStatus: 'نمايش ماه متفاوت',
+ weekText: 'هف', weekStatus: 'هفتهِ سال',
+ dayStatus: 'انتخاب D, M d', defaultStatus: 'انتخاب تاريخ',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fa']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Finnish localisation for calendars datepicker for jQuery.
+ Written by Harri Kilpiö (harrikilpio@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['fi'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '«Edellinen', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Seuraava»', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Tänään', currentStatus: '',
+ todayText: 'Tänään', todayStatus: '',
+ clearText: 'Tyhjennä', clearStatus: '',
+ closeText: 'Sulje', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Vk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fi']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Faroese localisation for calendars datepicker for jQuery.
+ Written by Sverri Mohr Olsen, sverrimo@gmail.com */
+(function($) {
+ $.calendarsPicker.regionalOptions['fo'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Sísta', prevStatus: 'Vís sísta mánaðan',
+ prevJumpText: '<<', prevJumpStatus: 'Vís sísta árið',
+ nextText: 'Næsta>', nextStatus: 'Vís næsta mánaðan',
+ nextJumpText: '>>', nextJumpStatus: 'Vís næsta árið',
+ currentText: 'Hesin', currentStatus: 'Vís hendan mánaðan',
+ todayText: 'Í dag', todayStatus: 'Vís mánaðan fyri í dag',
+ clearText: 'Strika', clearStatus: 'Strika allir mánaðarnar',
+ closeText: 'Goym', closeStatus: 'Goym hetta vindeyðga',
+ yearStatus: 'Broyt árið', monthStatus: 'Broyt mánaðans',
+ weekText: 'Vk', weekStatus: 'Vika av árinum',
+ dayStatus: 'Vel DD, M d, yyyy', defaultStatus: 'Vel ein dato',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fo']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Swiss French localisation for calendars datepicker for jQuery.
+ Written by Martin Voelkle (martin.voelkle@e-tc.ch). */
+(function($) {
+ $.calendarsPicker.regionalOptions['fr-CH'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Préc', prevStatus: 'Voir le mois précédent',
+ prevJumpText: '<<', prevJumpStatus: 'Voir l\'année précédent',
+ nextText: 'Suiv>', nextStatus: 'Voir le mois suivant',
+ nextJumpText: '>>', nextJumpStatus: 'Voir l\'année suivant',
+ currentText: 'Courant', currentStatus: 'Voir le mois courant',
+ todayText: 'Aujourd\'hui', todayStatus: 'Voir aujourd\'hui',
+ clearText: 'Effacer', clearStatus: 'Effacer la date sélectionnée',
+ closeText: 'Fermer', closeStatus: 'Fermer sans modifier',
+ yearStatus: 'Voir une autre année', monthStatus: 'Voir un autre mois',
+ weekText: 'Sm', weekStatus: 'Semaine de l\'année',
+ dayStatus: '\'Choisir\' le DD d MM', defaultStatus: 'Choisir la date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr-CH']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ French localisation for calendars datepicker for jQuery.
+ Stéphane Nahmani (sholby@sholby.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['fr'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Préc', prevStatus: 'Voir le mois précédent',
+ prevJumpText: '<<', prevJumpStatus: 'Voir l\'année précédent',
+ nextText: 'Suiv>', nextStatus: 'Voir le mois suivant',
+ nextJumpText: '>>', nextJumpStatus: 'Voir l\'année suivant',
+ currentText: 'Courant', currentStatus: 'Voir le mois courant',
+ todayText: 'Aujourd\'hui', todayStatus: 'Voir aujourd\'hui',
+ clearText: 'Effacer', clearStatus: 'Effacer la date sélectionnée',
+ closeText: 'Fermer', closeStatus: 'Fermer sans modifier',
+ yearStatus: 'Voir une autre année', monthStatus: 'Voir un autre mois',
+ weekText: 'Sm', weekStatus: 'Semaine de l\'année',
+ dayStatus: '\'Choisir\' le DD d MM', defaultStatus: 'Choisir la date',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Iniciacion en galego para a extensión 'UI date picker' para jQuery.
+ Traducido por Manuel (McNuel@gmx.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['gl'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Ant', prevStatus: 'Amosar mes anterior',
+ prevJumpText: '<<', prevJumpStatus: 'Amosar ano anterior',
+ nextText: 'Seg>', nextStatus: 'Amosar mes seguinte',
+ nextJumpText: '>>', nextJumpStatus: 'Amosar ano seguinte',
+ currentText: 'Hoxe', currentStatus: 'Amosar mes actual',
+ todayText: 'Hoxe', todayStatus: 'Amosar mes actual',
+ clearText: 'Limpar', clearStatus: 'Borrar data actual',
+ closeText: 'Pechar', closeStatus: 'Pechar sen gardar',
+ yearStatus: 'Amosar outro ano', monthStatus: 'Amosar outro mes',
+ weekText: 'Sm', weekStatus: 'Semana do ano',
+ dayStatus: 'D, M d', defaultStatus: 'Selecciona Data',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gl']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Gujarati (ગુજરાતી) localisation for calendars datepicker for jQuery.
+ Naymesh Mistry (naymesh@yahoo.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['gu'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<પાછળ', prevStatus: 'પાછલો મહિનો બતાવો',
+ prevJumpText: '<<', prevJumpStatus: 'પાછળ',
+ nextText: 'આગળ>', nextStatus: 'આગલો મહિનો બતાવો',
+ nextJumpText: '>>', nextJumpStatus: 'આગળ',
+ currentText: 'આજે', currentStatus: 'આજનો દિવસ બતાવો',
+ todayText: 'આજે', todayStatus: 'આજનો દિવસ',
+ clearText: 'ભૂંસો', clearStatus: 'હાલ પસંદ કરેલી તારીખ ભૂંસો',
+ closeText: 'બંધ કરો', closeStatus: 'તારીખ પસંદ કર્યા વગર બંધ કરો',
+ yearStatus: 'જુદુ વર્ષ બતાવો', monthStatus: 'જુદો મહિનો બતાવો',
+ weekText: 'અઠવાડિયું', weekStatus: 'અઠવાડિયું',
+ dayStatus: 'અઠવાડિયાનો પહેલો દિવસ પસંદ કરો', defaultStatus: 'તારીખ પસંદ કરો',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gu']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Hebrew localisation for calendars datepicker for jQuery.
+ Written by Amir Hardon (ahardon at gmail dot com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['he'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<הקודם', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'הבא>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'היום', currentStatus: '',
+ todayText: 'היום', todayStatus: '',
+ clearText: 'נקה', clearStatus: '',
+ closeText: 'סגור', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['he']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Hindi INDIA localisation for calendars datepicker for jQuery.
+ Written by Pawan Kumar Singh. */
+(function($) {
+ $.calendarsPicker.regionalOptions['hi-IN'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'पिछला', prevStatus: 'पिछला महीना देखें',
+ prevJumpText: '<<', prevJumpStatus: 'पिछला वर्ष देखें',
+ nextText: 'अगला', nextStatus: 'अगला महीना देखें',
+ nextJumpText: '>>', nextJumpStatus: 'अगला वर्ष देखें',
+ currentText: 'वर्तमान', currentStatus: 'वर्तमान महीना देखें',
+ todayText: 'आज', todayStatus: 'वर्तमान दिन देखें',
+ clearText: 'साफ', clearStatus: 'वर्तमान दिनांक मिटाए',
+ closeText: 'समाप्त', closeStatus: 'बदलाव के बिना बंद',
+ yearStatus: 'एक अलग वर्ष का चयन करें', monthStatus: 'एक अलग महीने का चयन करें',
+ weekText: 'Wk', weekStatus: 'वर्ष का सप्ताह',
+ dayStatus: 'चुने DD, M d', defaultStatus: 'एक तिथि का चयन करें',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hi-IN']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Croatian localisation for calendars datepicker for jQuery.
+ Written by Vjekoslav Nesek. */
+(function($) {
+ $.calendarsPicker.regionalOptions['hr'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Prikaži prethodni mjesec',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: '>', nextStatus: 'Prikaži slijedeći mjesec',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Danas', currentStatus: 'Današnji datum',
+ todayText: 'Danas', todayStatus: 'Današnji datum',
+ clearText: 'izbriši', clearStatus: 'Izbriši trenutni datum',
+ closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
+ yearStatus: 'Prikaži godine', monthStatus: 'Prikaži mjesece',
+ weekText: 'Tje', weekStatus: 'Tjedanr',
+ dayStatus: '\'Datum\' DD, M d', defaultStatus: 'Odaberi datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hr']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Hungarian localisation for calendars datepicker for jQuery.
+ Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */
+(function($) {
+ $.calendarsPicker.regionalOptions['hu'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '« vissza', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'előre »', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'ma', currentStatus: '',
+ todayText: 'ma', todayStatus: '',
+ clearText: 'törlés', clearStatus: '',
+ closeText: 'bezárás', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Hé', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hu']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Armenian localisation for calendars datepicker for jQuery.
+ Written by Levon Zakaryan (levon.zakaryan@gmail.com) */
+(function($) {
+ $.calendarsPicker.regionalOptions['hy'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Նախ.', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Հաջ.>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Այսօր', currentStatus: '',
+ todayText: 'Այսօր', todayStatus: '',
+ clearText: 'Մաքրել', clearStatus: '',
+ closeText: 'Փակել', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'ՇԲՏ', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hy']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Indonesian localisation for calendars datepicker for jQuery.
+ Written by Deden Fathurahman (dedenf@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['id'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<mundur', prevStatus: 'Tampilkan bulan sebelumnya',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'maju>', nextStatus: 'Tampilkan bulan berikutnya',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'hari ini', currentStatus: 'Tampilkan bulan sekarang',
+ todayText: 'hari ini', todayStatus: 'Tampilkan bulan sekarang',
+ clearText: 'kosongkan', clearStatus: 'bersihkan tanggal yang sekarang',
+ closeText: 'Tutup', closeStatus: 'Tutup tanpa mengubah',
+ yearStatus: 'Tampilkan tahun yang berbeda', monthStatus: 'Tampilkan bulan yang berbeda',
+ weekText: 'Mg', weekStatus: 'Minggu dalam tahu',
+ dayStatus: 'pilih le DD, MM d', defaultStatus: 'Pilih Tanggal',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['id']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Icelandic localisation for calendars datepicker for jQuery.
+ Written by Haukur H. Thorsson (haukur@eskill.is). */
+(function($) {
+ $.calendarsPicker.regionalOptions['is'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '< Fyrri', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Næsti >', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Í dag', currentStatus: '',
+ todayText: 'Í dag', todayStatus: '',
+ clearText: 'Hreinsa', clearStatus: '',
+ closeText: 'Loka', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Vika', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['is']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Italian localisation for calendars datepicker for jQuery.
+ Written by Apaella (apaella@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['it'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Prec', prevStatus: 'Mese precedente',
+ prevJumpText: '<<', prevJumpStatus: 'Mostra l\'anno precedente',
+ nextText: 'Succ>', nextStatus: 'Mese successivo',
+ nextJumpText: '>>', nextJumpStatus: 'Mostra l\'anno successivo',
+ currentText: 'Oggi', currentStatus: 'Mese corrente',
+ todayText: 'Oggi', todayStatus: 'Mese corrente',
+ clearText: 'Svuota', clearStatus: 'Annulla',
+ closeText: 'Chiudi', closeStatus: 'Chiudere senza modificare',
+ yearStatus: 'Seleziona un altro anno', monthStatus: 'Seleziona un altro mese',
+ weekText: 'Sm', weekStatus: 'Settimana dell\'anno',
+ dayStatus: '\'Seleziona\' DD, M d', defaultStatus: 'Scegliere una data',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['it']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Japanese localisation for calendars datepicker for jQuery.
+ Written by Kentaro SATO (kentaro@ranvis.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ja'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:yyyy年 MM')}),
+ prevText: '<前', prevStatus: '前月を表示します',
+ prevJumpText: '<<', prevJumpStatus: '前年を表示します',
+ nextText: '次>', nextStatus: '翌月を表示します',
+ nextJumpText: '>>', nextJumpStatus: '翌年を表示します',
+ currentText: '今日', currentStatus: '今月を表示します',
+ todayText: '今日', todayStatus: '今月を表示します',
+ clearText: 'クリア', clearStatus: '日付をクリアします',
+ closeText: '閉じる', closeStatus: '変更せずに閉じます',
+ yearStatus: '表示する年を変更します', monthStatus: '表示する月を変更します',
+ weekText: '週', weekStatus: '暦週で第何週目かを表します',
+ dayStatus: 'yyyy/mm/dd', defaultStatus: '日付を選択します',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ja']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Georgian localisation for calendars datepicker for jQuery.
+ Andrei Gorbushkin. */
+(function($) {
+ $.calendarsPicker.regionalOptions['ka'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<უკან', prevStatus: 'წინა თვე',
+ prevJumpText: '<<', prevJumpStatus: 'წინა წელი',
+ nextText: 'წინ>', nextStatus: 'შემდეგი თვე',
+ nextJumpText: '>>', nextJumpStatus: 'შემდეგი წელი',
+ currentText: 'მიმდინარე', currentStatus: 'მიმდინარე თვე',
+ todayText: 'დღეს', todayStatus: 'მიმდინარე დღე',
+ clearText: 'გასუფთავება', clearStatus: 'მიმდინარე თარიღის წაშლა',
+ closeText: 'არის', closeStatus: 'დახურვა უცვლილებოდ',
+ yearStatus: 'სხვა წელი', monthStatus: 'სხვა თვე',
+ weekText: 'კვ', weekStatus: 'წლის კვირა',
+ dayStatus: 'აირჩიეთ DD, M d', defaultStatus: 'აიღჩიეთ თარიღი',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ka']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Khmer initialisation for calendars datepicker for jQuery.
+ Written by Sovichet Tep (sovichet.tep@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['km'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'ថយក្រោយ', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'ទៅមុខ', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'ថ្ងៃនេះ', currentStatus: '',
+ todayText: 'ថ្ងៃនេះ', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'រួចរាល់', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD d MM', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['km']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Korean localisation for calendars datepicker for jQuery.
+ Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */
+(function($) {
+ $.calendarsPicker.regionalOptions['ko'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:yyyy년 MM')}),
+ prevText: '이전달', prevStatus: '이전달을 표시합니다',
+ prevJumpText: '<<', prevJumpStatus: '이전 연도를 표시합니다',
+ nextText: '다음달', nextStatus: '다음달을 표시합니다',
+ nextJumpText: '>>', nextJumpStatus: '다음 연도를 표시합니다',
+ currentText: '현재', currentStatus: '입력한 달을 표시합니다',
+ todayText: '오늘', todayStatus: '이번달을 표시합니다',
+ clearText: '지우기', clearStatus: '입력한 날짜를 지웁니다',
+ closeText: '닫기', closeStatus: '',
+ yearStatus: '표시할 연도를 변경합니다', monthStatus: '표시할 월을 변경합니다',
+ weekText: 'Wk', weekStatus: '해당 연도의 주차',
+ dayStatus: 'M d일 (D)', defaultStatus: '날짜를 선택하세요',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ko']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Lithuanian localisation for calendars datepicker for jQuery.
+ Arturas Paleicikas . */
+(function($) {
+ $.calendarsPicker.regionalOptions['lt'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Atgal', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Pirmyn>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Šiandien', currentStatus: '',
+ todayText: 'Šiandien', todayStatus: '',
+ clearText: 'Išvalyti', clearStatus: '',
+ closeText: 'Uždaryti', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lt']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Latvian localisation for calendars datepicker for jQuery.
+ Arturas Paleicikas . */
+(function($) {
+ $.calendarsPicker.regionalOptions['lv'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Iepr', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Nāka', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Šodien', currentStatus: '',
+ todayText: 'Šodien', todayStatus: '',
+ clearText: 'Notīrīt', clearStatus: '',
+ closeText: 'Aizvērt', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Nav', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lv']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Montenegrin localisation for calendars datepicker for jQuery.
+ Written by Miloš Milošević - fleka d.o.o. */
+(function($) {
+ $.calendarsPicker.regionalOptions['me-ME'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Prikaži prethodni mjesec',
+ prevJumpText: '<<', prevJumpStatus: 'Prikaži prethodnu godinu',
+ nextText: '>', nextStatus: 'Prikaži sljedeći mjesec',
+ nextJumpText: '>>', nextJumpStatus: 'Prikaži sljedeću godinu',
+ currentText: 'Danas', currentStatus: 'Tekući mjesec',
+ todayText: 'Danas', todayStatus: 'Tekući mjesec',
+ clearText: 'Obriši', clearStatus: 'Obriši trenutni datum',
+ closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
+ yearStatus: 'Prikaži godine', monthStatus: 'Prikaži mjesece',
+ weekText: 'Sed', weekStatus: 'Sedmica',
+ dayStatus: '\'Datum\' DD, M d', defaultStatus: 'Odaberi datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me-ME']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Montenegrin localisation for calendars datepicker for jQuery.
+ Written by Miloš Milošević - fleka d.o.o. */
+(function($) {
+ $.calendarsPicker.regionalOptions['me'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Прикажи претходни мјесец',
+ prevJumpText: '<<', prevJumpStatus: 'Прикажи претходну годину',
+ nextText: '>', nextStatus: 'Прикажи сљедећи мјесец',
+ nextJumpText: '>>', nextJumpStatus: 'Прикажи сљедећу годину',
+ currentText: 'Данас', currentStatus: 'Текући мјесец',
+ todayText: 'Данас', todayStatus: 'Текући мјесец',
+ clearText: 'Обриши', clearStatus: 'Обриши тренутни датум',
+ closeText: 'Затвори', closeStatus: 'Затвори календар',
+ yearStatus: 'Прикажи године', monthStatus: 'Прикажи мјесеце',
+ weekText: 'Сед', weekStatus: 'Седмица',
+ dayStatus: '\'Датум\' DD d MM', defaultStatus: 'Одабери датум',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Македонски MK localisation for calendars datepicker for jQuery.
+ Hajan Selmani (hajan [at] live [dot] com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['mk'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Претх.', prevStatus: 'Прикажи го претходниот месец',
+ prevJumpText: '<<', prevJumpStatus: 'Прикажи ја претходната година',
+ nextText: 'Следен', nextStatus: 'Прикажи го следниот месец',
+ nextJumpText: '>>', nextJumpStatus: 'Прикажи ја следната година',
+ currentText: 'Тековен', currentStatus: 'Прикажи го тековниот месец',
+ todayText: 'Денес', todayStatus: 'Прикажи го денешниот месец',
+ clearText: 'Бриши', clearStatus: 'Избриши го тековниот датум',
+ closeText: 'Затвори', closeStatus: 'Затвори без промени',
+ yearStatus: 'Избери друга година', monthStatus: 'Избери друг месец',
+ weekText: 'Нед', weekStatus: 'Недела во годината',
+ dayStatus: 'Избери DD, M d', defaultStatus: 'Избери датум',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mk']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Malayalam localisation for calendars datepicker for jQuery.
+ Saji Nediyanchath (saji89@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ml'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'മുന്നത്തെ', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'അടുത്തത് ', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'ഇന്ന്', currentStatus: '',
+ todayText: 'ഇന്ന്', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'ശരി', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'ആ', weekStatus: '',
+ dayStatus: 'DD d MM', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ml']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Malaysian localisation for calendars datepicker for jQuery.
+ Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ms'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Sebelum', prevStatus: 'Tunjukkan bulan lepas',
+ prevJumpText: '<<', prevJumpStatus: 'Tunjukkan tahun lepas',
+ nextText: 'Selepas>', nextStatus: 'Tunjukkan bulan depan',
+ nextJumpText: '>>', nextJumpStatus: 'Tunjukkan tahun depan',
+ currentText: 'hari ini', currentStatus: 'Tunjukkan bulan terkini',
+ todayText: 'hari ini', todayStatus: 'Tunjukkan bulan terkini',
+ clearText: 'Padam', clearStatus: 'Padamkan tarikh terkini',
+ closeText: 'Tutup', closeStatus: 'Tutup tanpa perubahan',
+ yearStatus: 'Tunjukkan tahun yang lain', monthStatus: 'Tunjukkan bulan yang lain',
+ weekText: 'Mg', weekStatus: 'Minggu bagi tahun ini',
+ dayStatus: 'DD, d MM', defaultStatus: 'Sila pilih tarikh',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ms']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Maltese localisation for calendars datepicker for jQuery.
+ Written by Chritian Sciberras (uuf6429@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['mt'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Ta Qabel', prevStatus: 'Ix-xahar ta qabel',
+ prevJumpText: '<<', prevJumpStatus: 'Is-sena ta qabel',
+ nextText: 'Li Jmiss', nextStatus: 'Ix-xahar li jmiss',
+ nextJumpText: '>>', nextJumpStatus: 'Is-sena li jmiss',
+ currentText: 'Illum', currentStatus: 'Ix-xahar ta llum',
+ todayText: 'Illum', todayStatus: 'Uri ix-xahar ta llum',
+ clearText: 'Ħassar', clearStatus: 'Ħassar id-data',
+ closeText: 'Lest', closeStatus: 'Għalaq mingħajr tibdiliet',
+ yearStatus: 'Uri sena differenti', monthStatus: 'Uri xahar differenti',
+ weekText: 'Ġm', weekStatus: 'Il-Ġimgħa fis-sena',
+ dayStatus: 'Għazel DD, M d', defaultStatus: 'Għazel data',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mt']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Dutch/Belgian localisation for calendars datepicker for jQuery.
+ Written by Mathias Bynens . */
+(function($) {
+ $.calendarsPicker.regionalOptions['nl-BE'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '←', prevStatus: 'Bekijk de vorige maand',
+ prevJumpText: '«', nextJumpStatus: 'Bekijk het vorige jaar',
+ nextText: '→', nextStatus: 'Bekijk de volgende maand',
+ nextJumpText: '»', nextJumpStatus: 'Bekijk het volgende jaar',
+ currentText: 'Vandaag', currentStatus: 'Bekijk de huidige maand',
+ todayText: 'Vandaag', todayStatus: 'Bekijk de huidige maand',
+ clearText: 'Wissen', clearStatus: 'Wis de huidige datum',
+ closeText: 'Sluiten', closeStatus: 'Sluit zonder verandering',
+ yearStatus: 'Bekijk een ander jaar', monthStatus: 'Bekijk een andere maand',
+ weekText: 'Wk', weekStatus: 'Week van het jaar',
+ dayStatus: 'dd/mm/yyyy', defaultStatus: 'Kies een datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl-BE']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Dutch localisation for calendars datepicker for jQuery.
+ Written by Mathias Bynens . */
+(function($) {
+ $.calendarsPicker.regionalOptions['nl'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '←', prevStatus: 'Bekijk de vorige maand',
+ prevJumpText: '«', nextJumpStatus: 'Bekijk het vorige jaar',
+ nextText: '→', nextStatus: 'Bekijk de volgende maand',
+ nextJumpText: '»', nextJumpStatus: 'Bekijk het volgende jaar',
+ currentText: 'Vandaag', currentStatus: 'Bekijk de huidige maand',
+ todayText: 'Vandaag', todayStatus: 'Bekijk de huidige maand',
+ clearText: 'Wissen', clearStatus: 'Wis de huidige datum',
+ closeText: 'Sluiten', closeStatus: 'Sluit zonder verandering',
+ yearStatus: 'Bekijk een ander jaar', monthStatus: 'Bekijk een andere maand',
+ weekText: 'Wk', weekStatus: 'Week van het jaar',
+ dayStatus: 'dd-mm-yyyy', defaultStatus: 'Kies een datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Norwegian localisation for calendars datepicker for jQuery.
+ Written by Naimdjon Takhirov (naimdjon@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['no'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '«Forrige', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Neste»', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'I dag', currentStatus: '',
+ todayText: 'I dag', todayStatus: '',
+ clearText: 'Tøm', clearStatus: '',
+ closeText: 'Lukk', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Uke', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['no']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Polish localisation for calendars datepicker for jQuery.
+ Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['pl'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Poprzedni', prevStatus: 'Pokaż poprzedni miesiąc',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Następny>', nextStatus: 'Pokaż następny miesiąc',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Dziś', currentStatus: 'Pokaż aktualny miesiąc',
+ todayText: 'Dziś', todayStatus: 'Pokaż aktualny miesiąc',
+ clearText: 'Wyczyść', clearStatus: 'Wyczyść obecną datę',
+ closeText: 'Zamknij', closeStatus: 'Zamknij bez zapisywania',
+ yearStatus: 'Pokaż inny rok', monthStatus: 'Pokaż inny miesiąc',
+ weekText: 'Tydz', weekStatus: 'Tydzień roku',
+ dayStatus: '\'Wybierz\' DD, M d', defaultStatus: 'Wybierz datę',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pl']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Brazilian Portuguese localisation for calendars datepicker for jQuery.
+ Written by Leonildo Costa Silva (leocsilva@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['pt-BR'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Anterior', prevStatus: 'Mostra o mês anterior',
+ prevJumpText: '<<', prevJumpStatus: 'Mostra o ano anterior',
+ nextText: 'Próximo>', nextStatus: 'Mostra o próximo mês',
+ nextJumpText: '>>', nextJumpStatus: 'Mostra o próximo ano',
+ currentText: 'Atual', currentStatus: 'Mostra o mês atual',
+ todayText: 'Hoje', todayStatus: 'Vai para hoje',
+ clearText: 'Limpar', clearStatus: 'Limpar data',
+ closeText: 'Fechar', closeStatus: 'Fechar o calendário',
+ yearStatus: 'Selecionar ano', monthStatus: 'Selecionar mês',
+ weekText: 's', weekStatus: 'Semana do ano',
+ dayStatus: 'DD, d \'de\' M \'de\' yyyy', defaultStatus: 'Selecione um dia',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pt-BR']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Romansh localisation for calendars datepicker for jQuery.
+ Yvonne Gienal (yvonne.gienal@educa.ch). */
+(function($) {
+ $.calendarsPicker.regionalOptions['rm'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Suandant', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Precedent>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Actual', currentStatus: '',
+ todayText: 'Actual', todayStatus: '',
+ clearText: 'X', clearStatus: '',
+ closeText: 'Serrar', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'emna', weekStatus: '',
+ dayStatus: 'DD d MM', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['rm']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Romanian localisation for calendars datepicker for jQuery.
+ Written by Edmond L. (ll_edmond@walla.com) and Ionut G. Stan (ionut.g.stan@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ro'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '«Precedenta', prevStatus: 'Arata luna precedenta',
+ prevJumpText: '««', prevJumpStatus: '',
+ nextText: 'Urmatoare»', nextStatus: 'Arata luna urmatoare',
+ nextJumpText: '»»', nextJumpStatus: '',
+ currentText: 'Azi', currentStatus: 'Arata luna curenta',
+ todayText: 'Azi', todayStatus: 'Arata luna curenta',
+ clearText: 'Curat', clearStatus: 'Sterge data curenta',
+ closeText: 'Închide', closeStatus: 'Închide fara schimbare',
+ yearStatus: 'Arat un an diferit', monthStatus: 'Arata o luna diferita',
+ weekText: 'Săpt', weekStatus: 'Săptamana anului',
+ dayStatus: 'Selecteaza DD, M d', defaultStatus: 'Selecteaza o data',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ro']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Russian localisation for calendars datepicker for jQuery.
+ Written by Andrew Stromnov (stromnov@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ru'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Пред', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'След>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Сегодня', currentStatus: '',
+ todayText: 'Сегодня', todayStatus: '',
+ clearText: 'Очистить', clearStatus: '',
+ closeText: 'Закрыть', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Не', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ru']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Slovak localisation for calendars datepicker for jQuery.
+ Written by Vojtech Rinik (vojto@hmm.sk). */
+(function($) {
+ $.calendarsPicker.regionalOptions['sk'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Predchádzajúci', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Nasledujúci>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Dnes', currentStatus: '',
+ todayText: 'Dnes', todayStatus: '',
+ clearText: 'Zmazať', clearStatus: '',
+ closeText: 'Zavrieť', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Ty', weekStatus: '',
+ dayStatus: 'DD. M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sk']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Slovenian localisation for calendars datepicker for jQuery.
+ Written by Jaka Jancar (jaka@kubje.org). */
+(function($) {
+ $.calendarsPicker.regionalOptions['sl'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Prejšnji', prevStatus: 'Prikaži prejšnji mesec',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Naslednji>', nextStatus: 'Prikaži naslednji mesec',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Trenutni', currentStatus: 'Prikaži trenutni mesec',
+ todayText: 'Trenutni', todayStatus: 'Prikaži trenutni mesec',
+ clearText: 'Izbriši', clearStatus: 'Izbriši trenutni datum',
+ closeText: 'Zapri', closeStatus: 'Zapri brez spreminjanja',
+ yearStatus: 'Prikaži drugo leto', monthStatus: 'Prikaži drug mesec',
+ weekText: 'Teden', weekStatus: 'Teden v letu',
+ dayStatus: 'Izberi DD, d MM yy', defaultStatus: 'Izbira datuma',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sl']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Albanian localisation for calendars datepicker for jQuery.
+ Written by Flakron Bytyqi (flakron@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['sq'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<mbrapa', prevStatus: 'trego muajin e fundit',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Përpara>', nextStatus: 'trego muajin tjetër',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'sot', currentStatus: '',
+ todayText: 'sot', todayStatus: '',
+ clearText: 'fshije', clearStatus: 'fshije datën aktuale',
+ closeText: 'mbylle', closeStatus: 'mbylle pa ndryshime',
+ yearStatus: 'trego tjetër vit', monthStatus: 'trego muajin tjetër',
+ weekText: 'Ja', weekStatus: 'Java e muajit',
+ dayStatus: '\'Zgjedh\' D, M d', defaultStatus: 'Zgjedhe një datë',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sq']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Serbian localisation for calendars datepicker for jQuery.
+ Written by Dejan Dimić. */
+(function($) {
+ $.calendarsPicker.regionalOptions['sr-SR'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Prikaži predhodni mesec',
+ prevJumpText: '<<', prevJumpStatus: 'Prikaži predhodnu godinu',
+ nextText: '>', nextStatus: 'Prikaži sledeći mesec',
+ nextJumpText: '>>', nextJumpStatus: 'Prikaži sledeću godinu',
+ currentText: 'Danas', currentStatus: 'Tekući mesec',
+ todayText: 'Danas', todayStatus: 'Tekući mesec',
+ clearText: 'Obriši', clearStatus: 'Obriši trenutni datum',
+ closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
+ yearStatus: 'Prikaži godine', monthStatus: 'Prikaži mesece',
+ weekText: 'Sed', weekStatus: 'Sedmica',
+ dayStatus: '\'Datum\' DD, M d', defaultStatus: 'Odaberi datum',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr-SR']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Serbian localisation for calendars datepicker for jQuery.
+ Written by Dejan Dimić. */
+(function($) {
+ $.calendarsPicker.regionalOptions['sr'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: 'Прикажи предходни месец',
+ prevJumpText: '<<', prevJumpStatus: 'Прикажи предходну годину',
+ nextText: '>', nextStatus: 'Прикажи слецећи месец',
+ nextJumpText: '>>', nextJumpStatus: 'Прикажи следећу годину',
+ currentText: 'Данас', currentStatus: 'Текући месец',
+ todayText: 'Данас', todayStatus: 'Текући месец',
+ clearText: 'Обриши', clearStatus: 'Обриши тренутни датум',
+ closeText: 'Затвори', closeStatus: 'Затвори календар',
+ yearStatus: 'Прикажи године', monthStatus: 'Прикажи месеце',
+ weekText: 'Сед', weekStatus: 'Седмица',
+ dayStatus: '\'Датум\' DD d MM', defaultStatus: 'Одабери датум',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Swedish localisation for calendars datepicker for jQuery.
+ Written by Anders Ekdahl ( anders@nomadiz.se). */
+(function($) {
+ $.calendarsPicker.regionalOptions['sv'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '«Förra', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'Nästa»', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Idag', currentStatus: '',
+ todayText: 'Idag', todayStatus: '',
+ clearText: 'Rensa', clearStatus: '',
+ closeText: 'Stäng', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Ve', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sv']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Tamil (UTF-8) localisation for calendars datepicker for jQuery.
+ Written by S A Sureshkumar (saskumar@live.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['ta'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'முன்னையது', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'அடுத்தது', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'இன்று', currentStatus: '',
+ todayText: 'இன்று', todayStatus: '',
+ clearText: 'அழி', clearStatus: '',
+ closeText: 'மூடு', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'D, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ta']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Thai localisation for calendars datepicker for jQuery.
+ Written by pipo (pipo@sixhead.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['th'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '« ย้อน', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'ถัดไป »', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'วันนี้', currentStatus: '',
+ todayText: 'วันนี้', todayStatus: '',
+ clearText: 'ลบ', clearStatus: '',
+ closeText: 'ปิด', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Wk', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['th']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Turkish localisation for calendars datepicker for jQuery.
+ Written by Izzet Emre Erkan (kara@karalamalar.net). */
+(function($) {
+ $.calendarsPicker.regionalOptions['tr'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<geri', prevStatus: 'önceki ayı göster',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: 'ileri>', nextStatus: 'sonraki ayı göster',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'bugün', currentStatus: '',
+ todayText: 'bugün', todayStatus: '',
+ clearText: 'temizle', clearStatus: 'geçerli tarihi temizler',
+ closeText: 'kapat', closeStatus: 'sadece göstergeyi kapat',
+ yearStatus: 'başka yıl', monthStatus: 'başka ay',
+ weekText: 'Hf', weekStatus: 'Ayın haftaları',
+ dayStatus: 'D, M d seçiniz', defaultStatus: 'Bir tarih seçiniz',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tr']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Tatar localisation for calendars datepicker for jQuery.
+ Written by Irek Khaziev (khazirek@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['tt'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: 'Алдагы', prevStatus: 'Алдагы айны күрсәтү',
+ prevJumpText: '<<', prevJumpStatus: 'Алдагы елны күрсәтү',
+ nextText: 'Киләсе', nextStatus: 'Киләсе айны күрсәтү',
+ nextJumpText: '>>', nextJumpStatus: 'Киләсе елны күрсәтү',
+ currentText: 'Хәзер', currentStatus: 'Хәзерге айны күрсәтү',
+ todayText: 'Бүген', todayStatus: 'Бүгенге айны күрсәтү',
+ clearText: 'Чистарту', clearStatus: 'Барлык көннәрне чистарту',
+ closeText: 'Ябарга', closeStatus: 'Көн сайлауны ябарга',
+ yearStatus: 'Елны кертегез', monthStatus: 'Айны кертегез',
+ weekText: 'Атна', weekStatus: 'Елда атна саны',
+ dayStatus: 'DD, M d', defaultStatus: 'Көнне сайлагыз',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tt']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Ukrainian localisation for calendars datepicker for jQuery.
+ Written by Maxim Drogobitskiy (maxdao@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['uk'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<', prevStatus: '',
+ prevJumpText: '<<', prevJumpStatus: '',
+ nextText: '>', nextStatus: '',
+ nextJumpText: '>>', nextJumpStatus: '',
+ currentText: 'Сьогодні', currentStatus: '',
+ todayText: 'Сьогодні', todayStatus: '',
+ clearText: 'Очистити', clearStatus: '',
+ closeText: 'Закрити', closeStatus: '',
+ yearStatus: '', monthStatus: '',
+ weekText: 'Не', weekStatus: '',
+ dayStatus: 'DD, M d', defaultStatus: '',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['uk']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Urdu localisation for calendars datepicker for jQuery.
+ Mansoor Munib -- mansoormunib@gmail.com
+ Thanks to Habib Ahmed, ObaidUllah Anwar. */
+(function($) {
+ $.calendarsPicker.regionalOptions['ur'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<گذشتہ', prevStatus: 'ماه گذشتہ',
+ prevJumpText: '<<', prevJumpStatus: 'برس گذشتہ',
+ nextText: 'آئندہ>', nextStatus: 'ماه آئندہ',
+ nextJumpText: '>>', nextJumpStatus: 'برس آئندہ',
+ currentText: 'رواں', currentStatus: 'ماه رواں',
+ todayText: 'آج', todayStatus: 'آج',
+ clearText: 'حذف تاريخ', clearStatus: 'کریں حذف تاریخ',
+ closeText: 'کریں بند', closeStatus: 'کیلئے کرنے بند',
+ yearStatus: 'برس تبدیلی', monthStatus: 'ماه تبدیلی',
+ weekText: 'ہفتہ', weekStatus: 'ہفتہ',
+ dayStatus: 'انتخاب D, M d', defaultStatus: 'کریں منتخب تاريخ',
+ isRTL: true
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ur']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Vietnamese localisation for calendars datepicker for jQuery.
+ Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
+(function($) {
+ $.calendarsPicker.regionalOptions['vi'] = {
+ renderer: $.calendarsPicker.defaultRenderer,
+ prevText: '<Trước', prevStatus: 'Tháng trước',
+ prevJumpText: '<<', prevJumpStatus: 'Năm trước',
+ nextText: 'Tiếp>', nextStatus: 'Tháng sau',
+ nextJumpText: '>>', nextJumpStatus: 'Năm sau',
+ currentText: 'Hôm nay', currentStatus: 'Tháng hiện tại',
+ todayText: 'Hôm nay', todayStatus: 'Tháng hiện tại',
+ clearText: 'Xóa', clearStatus: 'Xóa ngày hiện tại',
+ closeText: 'Đóng', closeStatus: 'Đóng và không lưu lại thay đổi',
+ yearStatus: 'Năm khác', monthStatus: 'Tháng khác',
+ weekText: 'Tu', weekStatus: 'Tuần trong năm',
+ dayStatus: 'Đang chọn DD, \'ngày\' d M', defaultStatus: 'Chọn ngày',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['vi']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Simplified Chinese localisation for calendars datepicker for jQuery.
+ Written by Cloudream (cloudream@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['zh-CN'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:MM yyyy年')}),
+ prevText: '<上月', prevStatus: '显示上月',
+ prevJumpText: '<<', prevJumpStatus: '显示上一年',
+ nextText: '下月>', nextStatus: '显示下月',
+ nextJumpText: '>>', nextJumpStatus: '显示下一年',
+ currentText: '今天', currentStatus: '显示本月',
+ todayText: '今天', todayStatus: '显示本月',
+ clearText: '清除', clearStatus: '清除已选日期',
+ closeText: '关闭', closeStatus: '不改变当前选择',
+ yearStatus: '选择年份', monthStatus: '选择月份',
+ weekText: '周', weekStatus: '年内周次',
+ dayStatus: '选择 m月 d日, DD', defaultStatus: '请选择日期',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-CN']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Hong Kong Chinese localisation for calendars datepicker for jQuery.
+ Written by SCCY (samuelcychan@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['zh-HK'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:yyyy年 MM')}),
+ prevText: '<上月', prevStatus: '顯示上月',
+ prevJumpText: '<<', prevJumpStatus: '顯示上一年',
+ nextText: '下月>', nextStatus: '顯示下月',
+ nextJumpText: '>>', nextJumpStatus: '顯示下一年',
+ currentText: '今天', currentStatus: '顯示本月',
+ todayText: '今天', todayStatus: '顯示本月',
+ clearText: '清除', clearStatus: '清除已選日期',
+ closeText: '關閉', closeStatus: '不改變目前的選擇',
+ yearStatus: '選擇年份', monthStatus: '選擇月份',
+ weekText: '周', weekStatus: '年內周次',
+ dayStatus: '選擇 m月 d日, DD', defaultStatus: '請選擇日期',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-HK']);
+})(jQuery);
+/* http://keith-wood.name/calendars.html
+ Traditional Chinese localisation for calendars datepicker for jQuery.
+ Written by Ressol (ressol@gmail.com). */
+(function($) {
+ $.calendarsPicker.regionalOptions['zh-TW'] = {
+ renderer: $.extend({}, $.calendarsPicker.defaultRenderer,
+ {month: $.calendarsPicker.defaultRenderer.month.
+ replace(/monthHeader/, 'monthHeader:MM yyyy年')}),
+ prevText: '<上月', prevStatus: '顯示上月',
+ prevJumpText: '<<', prevJumpStatus: '顯示上一年',
+ nextText: '下月>', nextStatus: '顯示下月',
+ nextJumpText: '>>', nextJumpStatus: '顯示下一年',
+ currentText: '今天', currentStatus: '顯示本月',
+ todayText: '今天', todayStatus: '顯示本月',
+ clearText: '清除', clearStatus: '清除已選日期',
+ closeText: '關閉', closeStatus: '不改變目前的選擇',
+ yearStatus: '選擇年份', monthStatus: '選擇月份',
+ weekText: '周', weekStatus: '年內周次',
+ dayStatus: '選擇 m月 d日, DD', defaultStatus: '請選擇日期',
+ isRTL: false
+ };
+ $.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-TW']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.lang.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.lang.min.js
new file mode 100644
index 0000000..7e22608
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.lang.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Calendars datepicker localisations for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){$.calendarsPicker.regionalOptions['af']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Vorige',prevStatus:'Vertoon vorige maand',prevJumpText:'<<',prevJumpStatus:'Vertoon vorige jaar',nextText:'Volgende',nextStatus:'Vertoon volgende maand',nextJumpText:'>>',nextJumpStatus:'Vertoon volgende jaar',currentText:'Vandag',currentStatus:'Vertoon huidige maand',todayText:'Vandag',todayStatus:'Vertoon huidige maand',clearText:'Vee uit',clearStatus:'Verwyder die huidige datum',closeText:'Klaar',closeStatus:'Sluit sonder verandering',yearStatus:'Vertoon \'n ander jaar',monthStatus:'Vertoon \'n ander maand',weekText:'Wk',weekStatus:'Week van die jaar',dayStatus:'Kies DD, M d',defaultStatus:'Kies \'n datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['af'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['am']={renderer:$.calendarsPicker.defaultRenderer,prevText:'ያለፈ',prevStatus:'ያለፈውን ወር አሳይ',prevJumpText:'<<',prevJumpStatus:'ያለፈውን ዓመት አሳይ',nextText:'ቀጣይ',nextStatus:'ቀጣዩን ወር አሳይ',nextJumpText:'>>',nextJumpStatus:'ቀጣዩን ዓመት አሳይ',currentText:'አሁን',currentStatus:'የአሁኑን ወር አሳይ',todayText:'ዛሬ',todayStatus:'የዛሬን ወር አሳይ',clearText:'አጥፋ',clearStatus:'የተመረጠውን ቀን አጥፋ',closeText:'ዝጋ',closeStatus:'የቀን መምረጫውን ዝጋ',yearStatus:'ዓመቱን ቀይር',monthStatus:'ወሩን ቀይር',weekText:'ሳም',weekStatus:'የዓመቱ ሳምንት ',dayStatus:'DD, M d, yyyy ምረጥ',defaultStatus:'ቀን ምረጥ',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['am'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ar-DZ']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<السابق',prevStatus:'عرض الشهر السابق',prevJumpText:'<<',prevJumpStatus:'',nextText:'التالي>',nextStatus:'عرض الشهر القادم',nextJumpText:'>>',nextJumpStatus:'',currentText:'اليوم',currentStatus:'عرض الشهر الحالي',todayText:'اليوم',todayStatus:'عرض الشهر الحالي',clearText:'مسح',clearStatus:'امسح التاريخ الحالي',closeText:'إغلاق',closeStatus:'إغلاق بدون حفظ',yearStatus:'عرض سنة آخرى',monthStatus:'عرض شهر آخر',weekText:'أسبوع',weekStatus:'أسبوع السنة',dayStatus:'اختر D, M d',defaultStatus:'اختر يوم',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-DZ'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ar-EG']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<السابق',prevStatus:'عرض الشهر السابق',prevJumpText:'<<',prevJumpStatus:'',nextText:'التالي>',nextStatus:'عرض الشهر القادم',nextJumpText:'>>',nextJumpStatus:'',currentText:'اليوم',currentStatus:'عرض الشهر الحالي',todayText:'اليوم',todayStatus:'عرض الشهر الحالي',clearText:'مسح',clearStatus:'امسح التاريخ الحالي',closeText:'إغلاق',closeStatus:'إغلاق بدون حفظ',yearStatus:'عرض سنة آخرى',monthStatus:'عرض شهر آخر',weekText:'أسبوع',weekStatus:'أسبوع السنة',dayStatus:'اختر D, M d',defaultStatus:'اختر يوم',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar-EG'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ar']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<السابق',prevStatus:'عرض الشهر السابق',prevJumpText:'<<',prevJumpStatus:'',nextText:'التالي>',nextStatus:'عرض الشهر القادم',nextJumpText:'>>',nextJumpStatus:'',currentText:'اليوم',currentStatus:'عرض الشهر الحالي',todayText:'اليوم',todayStatus:'عرض الشهر الحالي',clearText:'مسح',clearStatus:'امسح التاريخ الحالي',closeText:'إغلاق',closeStatus:'إغلاق بدون حفظ',yearStatus:'عرض سنة آخرى',monthStatus:'عرض شهر آخر',weekText:'أسبوع',weekStatus:'أسبوع السنة',dayStatus:'اختر D, M d',defaultStatus:'اختر يوم',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ar'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['az']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Geri',prevStatus:'Əvvəlki ay',prevJumpText:'<<',prevJumpStatus:'Əvvəlki il',nextText:'İrəli>',nextStatus:'Sonrakı ay',nextJumpText:'>>',nextJumpStatus:'Sonrakı il',currentText:'Bugün',currentStatus:'İndiki ay',todayText:'Bugün',todayStatus:'İndiki ay',clearText:'Təmizlə',clearStatus:'Tarixi sil',closeText:'Bağla',closeStatus:'Təqvimi bağla',yearStatus:'Başqa il',monthStatus:'Başqa ay',weekText:'Hf',weekStatus:'Həftələr',dayStatus:'D, M d seçin',defaultStatus:'Bir tarix seçin',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['az'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['bg']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<назад',prevStatus:'покажи последния месец',prevJumpText:'<<',prevJumpStatus:'',nextText:'напред>',nextStatus:'покажи следващия месец',nextJumpText:'>>',nextJumpStatus:'',currentText:'днес',currentStatus:'',todayText:'днес',todayStatus:'',clearText:'изчисти',clearStatus:'изчисти актуалната дата',closeText:'затвори',closeStatus:'затвори без промени',yearStatus:'покажи друга година',monthStatus:'покажи друг месец',weekText:'Wk',weekStatus:'седмица от месеца',dayStatus:'Избери D, M d',defaultStatus:'Избери дата',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bg'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['bs']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Danas',currentStatus:'',todayText:'Danas',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Zatvori',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['bs'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ca']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Seg>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Avui',currentStatus:'',todayText:'Avui',todayStatus:'',clearText:'Netejar',clearStatus:'',closeText:'Tancar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ca'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['cs']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Dříve',prevStatus:'Přejít na předchozí měsí',prevJumpText:'<<',prevJumpStatus:'',nextText:'Později>',nextStatus:'Přejít na další měsíc',nextJumpText:'>>',nextJumpStatus:'',currentText:'Nyní',currentStatus:'Přejde na aktuální měsíc',todayText:'Nyní',todayStatus:'Přejde na aktuální měsíc',clearText:'Vymazat',clearStatus:'Vymaže zadané datum',closeText:'Zavřít',closeStatus:'Zavře kalendář beze změny',yearStatus:'Přejít na jiný rok',monthStatus:'Přejít na jiný měsíc',weekText:'Týd',weekStatus:'Týden v roce',dayStatus:'\'Vyber\' DD, M d',defaultStatus:'Vyberte datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['cs'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['da']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Forrige',prevStatus:'Vis forrige måned',prevJumpText:'<<',prevJumpStatus:'',nextText:'Næste>',nextStatus:'Vis næste måned',nextJumpText:'>>',nextJumpStatus:'',currentText:'Idag',currentStatus:'Vis aktuel måned',todayText:'Idag',todayStatus:'Vis aktuel måned',clearText:'Nulstil',clearStatus:'Nulstil den aktuelle dato',closeText:'Luk',closeStatus:'Luk uden ændringer',yearStatus:'Vis et andet år',monthStatus:'Vis en anden måned',weekText:'Uge',weekStatus:'Årets uge',dayStatus:'Vælg D, M d',defaultStatus:'Vælg en dato',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['da'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['de-CH']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<zurück',prevStatus:'letzten Monat zeigen',prevJumpText:'<<',prevJumpStatus:'',nextText:'nächster>',nextStatus:'nächsten Monat zeigen',nextJumpText:'>>',nextJumpStatus:'',currentText:'heute',currentStatus:'',todayText:'heute',todayStatus:'',clearText:'löschen',clearStatus:'aktuelles Datum löschen',closeText:'schliessen',closeStatus:'ohne Änderungen schliessen',yearStatus:'anderes Jahr anzeigen',monthStatus:'anderen Monat anzeige',weekText:'Wo',weekStatus:'Woche des Monats',dayStatus:'Wähle D, M d',defaultStatus:'Wähle ein Datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de-CH'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['de']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<zurück',prevStatus:'letzten Monat zeigen',prevJumpText:'<<',prevJumpStatus:'',nextText:'Vor>',nextStatus:'nächsten Monat zeigen',nextJumpText:'>>',nextJumpStatus:'',currentText:'heute',currentStatus:'',todayText:'heute',todayStatus:'',clearText:'löschen',clearStatus:'aktuelles Datum löschen',closeText:'schließen',closeStatus:'ohne Änderungen schließen',yearStatus:'anderes Jahr anzeigen',monthStatus:'anderen Monat anzeige',weekText:'Wo',weekStatus:'Woche des Monats',dayStatus:'Wähle D, M d',defaultStatus:'Wähle ein Datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['de'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['el']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Προηγούμενος',prevStatus:'Επισκόπηση προηγούμενου μήνα',prevJumpText:'<<',prevJumpStatus:'',nextText:'Επόμενος',nextStatus:'Επισκόπηση επόμενου μήνα',nextJumpText:'>>',nextJumpStatus:'',currentText:'Τρέχων Μήνας',currentStatus:'Επισκόπηση τρέχοντος μήνα',todayText:'Τρέχων Μήνας',todayStatus:'Επισκόπηση τρέχοντος μήνα',clearText:'Σβήσιμο',clearStatus:'Σβήσιμο της επιλεγμένης ημερομηνίας',closeText:'Κλείσιμο',closeStatus:'Κλείσιμο χωρίς αλλαγή',yearStatus:'Επισκόπηση άλλου έτους',monthStatus:'Επισκόπηση άλλου μήνα',weekText:'Εβδ',weekStatus:'',dayStatus:'Επιλογή DD d MM',defaultStatus:'Επιλέξτε μια ημερομηνία',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['el'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['en-AU']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Done',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-AU'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['en-GB']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Done',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-GB'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['en-NZ']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Done',closeStatus:'Close the datepicker',yearStatus:'Change the year',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['en-NZ'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['eo']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Anta',prevStatus:'Vidi la antaŭan monaton',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sekv>',nextStatus:'Vidi la sekvan monaton',nextJumpText:'>>',nextJumpStatus:'',currentText:'Nuna',currentStatus:'Vidi la nunan monaton',todayText:'Nuna',todayStatus:'Vidi la nunan monaton',clearText:'Vakigi',clearStatus:'',closeText:'Fermi',closeStatus:'Fermi sen modifi',yearStatus:'Vidi alian jaron',monthStatus:'Vidi alian monaton',weekText:'Sb',weekStatus:'',dayStatus:'Elekti DD, MM d',defaultStatus:'Elekti la daton',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eo'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['es-AR']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sig>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Hoy',currentStatus:'',todayText:'Hoy',todayStatus:'',clearText:'Limpiar',clearStatus:'',closeText:'Cerrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Sm',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-AR'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['es-PE']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sig>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Hoy',currentStatus:'',todayText:'Hoy',todayStatus:'',clearText:'Limpiar',clearStatus:'',closeText:'Cerrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Sm',weekStatus:'',dayStatus:'DD d, MM yyyy',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es-PE'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['es']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Sig>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Hoy',currentStatus:'',todayText:'Hoy',todayStatus:'',clearText:'Limpiar',clearStatus:'',closeText:'Cerrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Sm',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['es'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['et']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Eelnev',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Järgnev',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Täna',currentStatus:'',todayText:'Täna',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Sulge',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['et'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['eu']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Aur',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Hur>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Gaur',currentStatus:'',todayText:'Gaur',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Egina',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['eu'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fa']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<قبلي',prevStatus:'نمايش ماه قبل',prevJumpText:'<<',prevJumpStatus:'',nextText:'بعدي>',nextStatus:'نمايش ماه بعد',nextJumpText:'>>',nextJumpStatus:'',currentText:'امروز',currentStatus:'نمايش ماه جاري',todayText:'امروز',todayStatus:'نمايش ماه جاري',clearText:'حذف تاريخ',clearStatus:'پاک کردن تاريخ جاري',closeText:'بستن',closeStatus:'بستن بدون اعمال تغييرات',yearStatus:'نمايش سال متفاوت',monthStatus:'نمايش ماه متفاوت',weekText:'هف',weekStatus:'هفتهِ سال',dayStatus:'انتخاب D, M d',defaultStatus:'انتخاب تاريخ',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fa'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fi']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Edellinen',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Seuraava»',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Tänään',currentStatus:'',todayText:'Tänään',todayStatus:'',clearText:'Tyhjennä',clearStatus:'',closeText:'Sulje',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Vk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fi'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fo']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Sísta',prevStatus:'Vís sísta mánaðan',prevJumpText:'<<',prevJumpStatus:'Vís sísta árið',nextText:'Næsta>',nextStatus:'Vís næsta mánaðan',nextJumpText:'>>',nextJumpStatus:'Vís næsta árið',currentText:'Hesin',currentStatus:'Vís hendan mánaðan',todayText:'Í dag',todayStatus:'Vís mánaðan fyri í dag',clearText:'Strika',clearStatus:'Strika allir mánaðarnar',closeText:'Goym',closeStatus:'Goym hetta vindeyðga',yearStatus:'Broyt árið',monthStatus:'Broyt mánaðans',weekText:'Vk',weekStatus:'Vika av árinum',dayStatus:'Vel DD, M d, yyyy',defaultStatus:'Vel ein dato',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fo'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fr-CH']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Préc',prevStatus:'Voir le mois précédent',prevJumpText:'<<',prevJumpStatus:'Voir l\'année précédent',nextText:'Suiv>',nextStatus:'Voir le mois suivant',nextJumpText:'>>',nextJumpStatus:'Voir l\'année suivant',currentText:'Courant',currentStatus:'Voir le mois courant',todayText:'Aujourd\'hui',todayStatus:'Voir aujourd\'hui',clearText:'Effacer',clearStatus:'Effacer la date sélectionnée',closeText:'Fermer',closeStatus:'Fermer sans modifier',yearStatus:'Voir une autre année',monthStatus:'Voir un autre mois',weekText:'Sm',weekStatus:'Semaine de l\'année',dayStatus:'\'Choisir\' le DD d MM',defaultStatus:'Choisir la date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr-CH'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['fr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Préc',prevStatus:'Voir le mois précédent',prevJumpText:'<<',prevJumpStatus:'Voir l\'année précédent',nextText:'Suiv>',nextStatus:'Voir le mois suivant',nextJumpText:'>>',nextJumpStatus:'Voir l\'année suivant',currentText:'Courant',currentStatus:'Voir le mois courant',todayText:'Aujourd\'hui',todayStatus:'Voir aujourd\'hui',clearText:'Effacer',clearStatus:'Effacer la date sélectionnée',closeText:'Fermer',closeStatus:'Fermer sans modifier',yearStatus:'Voir une autre année',monthStatus:'Voir un autre mois',weekText:'Sm',weekStatus:'Semaine de l\'année',dayStatus:'\'Choisir\' le DD d MM',defaultStatus:'Choisir la date',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['fr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['gl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Ant',prevStatus:'Amosar mes anterior',prevJumpText:'<<',prevJumpStatus:'Amosar ano anterior',nextText:'Seg>',nextStatus:'Amosar mes seguinte',nextJumpText:'>>',nextJumpStatus:'Amosar ano seguinte',currentText:'Hoxe',currentStatus:'Amosar mes actual',todayText:'Hoxe',todayStatus:'Amosar mes actual',clearText:'Limpar',clearStatus:'Borrar data actual',closeText:'Pechar',closeStatus:'Pechar sen gardar',yearStatus:'Amosar outro ano',monthStatus:'Amosar outro mes',weekText:'Sm',weekStatus:'Semana do ano',dayStatus:'D, M d',defaultStatus:'Selecciona Data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['gu']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<પાછળ',prevStatus:'પાછલો મહિનો બતાવો',prevJumpText:'<<',prevJumpStatus:'પાછળ',nextText:'આગળ>',nextStatus:'આગલો મહિનો બતાવો',nextJumpText:'>>',nextJumpStatus:'આગળ',currentText:'આજે',currentStatus:'આજનો દિવસ બતાવો',todayText:'આજે',todayStatus:'આજનો દિવસ',clearText:'ભૂંસો',clearStatus:'હાલ પસંદ કરેલી તારીખ ભૂંસો',closeText:'બંધ કરો',closeStatus:'તારીખ પસંદ કર્યા વગર બંધ કરો',yearStatus:'જુદુ વર્ષ બતાવો',monthStatus:'જુદો મહિનો બતાવો',weekText:'અઠવાડિયું',weekStatus:'અઠવાડિયું',dayStatus:'અઠવાડિયાનો પહેલો દિવસ પસંદ કરો',defaultStatus:'તારીખ પસંદ કરો',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['gu'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['he']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<הקודם',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'הבא>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'היום',currentStatus:'',todayText:'היום',todayStatus:'',clearText:'נקה',clearStatus:'',closeText:'סגור',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['he'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hi-IN']={renderer:$.calendarsPicker.defaultRenderer,prevText:'पिछला',prevStatus:'पिछला महीना देखें',prevJumpText:'<<',prevJumpStatus:'पिछला वर्ष देखें',nextText:'अगला',nextStatus:'अगला महीना देखें',nextJumpText:'>>',nextJumpStatus:'अगला वर्ष देखें',currentText:'वर्तमान',currentStatus:'वर्तमान महीना देखें',todayText:'आज',todayStatus:'वर्तमान दिन देखें',clearText:'साफ',clearStatus:'वर्तमान दिनांक मिटाए',closeText:'समाप्त',closeStatus:'बदलाव के बिना बंद',yearStatus:'एक अलग वर्ष का चयन करें',monthStatus:'एक अलग महीने का चयन करें',weekText:'Wk',weekStatus:'वर्ष का सप्ताह',dayStatus:'चुने DD, M d',defaultStatus:'एक तिथि का चयन करें',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hi-IN'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Prikaži prethodni mjesec',prevJumpText:'<<',prevJumpStatus:'',nextText:'>',nextStatus:'Prikaži slijedeći mjesec',nextJumpText:'>>',nextJumpStatus:'',currentText:'Danas',currentStatus:'Današnji datum',todayText:'Danas',todayStatus:'Današnji datum',clearText:'izbriši',clearStatus:'Izbriši trenutni datum',closeText:'Zatvori',closeStatus:'Zatvori kalendar',yearStatus:'Prikaži godine',monthStatus:'Prikaži mjesece',weekText:'Tje',weekStatus:'Tjedanr',dayStatus:'\'Datum\' DD, M d',defaultStatus:'Odaberi datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hu']={renderer:$.calendarsPicker.defaultRenderer,prevText:'« vissza',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'előre »',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'ma',currentStatus:'',todayText:'ma',todayStatus:'',clearText:'törlés',clearStatus:'',closeText:'bezárás',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Hé',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hu'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['hy']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Նախ.',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Հաջ.>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Այսօր',currentStatus:'',todayText:'Այսօր',todayStatus:'',clearText:'Մաքրել',clearStatus:'',closeText:'Փակել',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'ՇԲՏ',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['hy'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['id']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<mundur',prevStatus:'Tampilkan bulan sebelumnya',prevJumpText:'<<',prevJumpStatus:'',nextText:'maju>',nextStatus:'Tampilkan bulan berikutnya',nextJumpText:'>>',nextJumpStatus:'',currentText:'hari ini',currentStatus:'Tampilkan bulan sekarang',todayText:'hari ini',todayStatus:'Tampilkan bulan sekarang',clearText:'kosongkan',clearStatus:'bersihkan tanggal yang sekarang',closeText:'Tutup',closeStatus:'Tutup tanpa mengubah',yearStatus:'Tampilkan tahun yang berbeda',monthStatus:'Tampilkan bulan yang berbeda',weekText:'Mg',weekStatus:'Minggu dalam tahu',dayStatus:'pilih le DD, MM d',defaultStatus:'Pilih Tanggal',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['id'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['is']={renderer:$.calendarsPicker.defaultRenderer,prevText:'< Fyrri',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Næsti >',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Í dag',currentStatus:'',todayText:'Í dag',todayStatus:'',clearText:'Hreinsa',clearStatus:'',closeText:'Loka',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Vika',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['is'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['it']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Prec',prevStatus:'Mese precedente',prevJumpText:'<<',prevJumpStatus:'Mostra l\'anno precedente',nextText:'Succ>',nextStatus:'Mese successivo',nextJumpText:'>>',nextJumpStatus:'Mostra l\'anno successivo',currentText:'Oggi',currentStatus:'Mese corrente',todayText:'Oggi',todayStatus:'Mese corrente',clearText:'Svuota',clearStatus:'Annulla',closeText:'Chiudi',closeStatus:'Chiudere senza modificare',yearStatus:'Seleziona un altro anno',monthStatus:'Seleziona un altro mese',weekText:'Sm',weekStatus:'Settimana dell\'anno',dayStatus:'\'Seleziona\' DD, M d',defaultStatus:'Scegliere una data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['it'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ja']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:yyyy年 MM')}),prevText:'<前',prevStatus:'前月を表示します',prevJumpText:'<<',prevJumpStatus:'前年を表示します',nextText:'次>',nextStatus:'翌月を表示します',nextJumpText:'>>',nextJumpStatus:'翌年を表示します',currentText:'今日',currentStatus:'今月を表示します',todayText:'今日',todayStatus:'今月を表示します',clearText:'クリア',clearStatus:'日付をクリアします',closeText:'閉じる',closeStatus:'変更せずに閉じます',yearStatus:'表示する年を変更します',monthStatus:'表示する月を変更します',weekText:'週',weekStatus:'暦週で第何週目かを表します',dayStatus:'yyyy/mm/dd',defaultStatus:'日付を選択します',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ja'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ka']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<უკან',prevStatus:'წინა თვე',prevJumpText:'<<',prevJumpStatus:'წინა წელი',nextText:'წინ>',nextStatus:'შემდეგი თვე',nextJumpText:'>>',nextJumpStatus:'შემდეგი წელი',currentText:'მიმდინარე',currentStatus:'მიმდინარე თვე',todayText:'დღეს',todayStatus:'მიმდინარე დღე',clearText:'გასუფთავება',clearStatus:'მიმდინარე თარიღის წაშლა',closeText:'არის',closeStatus:'დახურვა უცვლილებოდ',yearStatus:'სხვა წელი',monthStatus:'სხვა თვე',weekText:'კვ',weekStatus:'წლის კვირა',dayStatus:'აირჩიეთ DD, M d',defaultStatus:'აიღჩიეთ თარიღი',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ka'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['km']={renderer:$.calendarsPicker.defaultRenderer,prevText:'ថយក្រោយ',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'ទៅមុខ',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'ថ្ងៃនេះ',currentStatus:'',todayText:'ថ្ងៃនេះ',todayStatus:'',clearText:'X',clearStatus:'',closeText:'រួចរាល់',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['km'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ko']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:yyyy년 MM')}),prevText:'이전달',prevStatus:'이전달을 표시합니다',prevJumpText:'<<',prevJumpStatus:'이전 연도를 표시합니다',nextText:'다음달',nextStatus:'다음달을 표시합니다',nextJumpText:'>>',nextJumpStatus:'다음 연도를 표시합니다',currentText:'현재',currentStatus:'입력한 달을 표시합니다',todayText:'오늘',todayStatus:'이번달을 표시합니다',clearText:'지우기',clearStatus:'입력한 날짜를 지웁니다',closeText:'닫기',closeStatus:'',yearStatus:'표시할 연도를 변경합니다',monthStatus:'표시할 월을 변경합니다',weekText:'Wk',weekStatus:'해당 연도의 주차',dayStatus:'M d일 (D)',defaultStatus:'날짜를 선택하세요',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ko'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['lt']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Atgal',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Pirmyn>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Šiandien',currentStatus:'',todayText:'Šiandien',todayStatus:'',clearText:'Išvalyti',clearStatus:'',closeText:'Uždaryti',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lt'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['lv']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Iepr',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Nāka',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Šodien',currentStatus:'',todayText:'Šodien',todayStatus:'',clearText:'Notīrīt',clearStatus:'',closeText:'Aizvērt',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Nav',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['lv'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['me-ME']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Prikaži prethodni mjesec',prevJumpText:'<<',prevJumpStatus:'Prikaži prethodnu godinu',nextText:'>',nextStatus:'Prikaži sljedeći mjesec',nextJumpText:'>>',nextJumpStatus:'Prikaži sljedeću godinu',currentText:'Danas',currentStatus:'Tekući mjesec',todayText:'Danas',todayStatus:'Tekući mjesec',clearText:'Obriši',clearStatus:'Obriši trenutni datum',closeText:'Zatvori',closeStatus:'Zatvori kalendar',yearStatus:'Prikaži godine',monthStatus:'Prikaži mjesece',weekText:'Sed',weekStatus:'Sedmica',dayStatus:'\'Datum\' DD, M d',defaultStatus:'Odaberi datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me-ME'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['me']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Прикажи претходни мјесец',prevJumpText:'<<',prevJumpStatus:'Прикажи претходну годину',nextText:'>',nextStatus:'Прикажи сљедећи мјесец',nextJumpText:'>>',nextJumpStatus:'Прикажи сљедећу годину',currentText:'Данас',currentStatus:'Текући мјесец',todayText:'Данас',todayStatus:'Текући мјесец',clearText:'Обриши',clearStatus:'Обриши тренутни датум',closeText:'Затвори',closeStatus:'Затвори календар',yearStatus:'Прикажи године',monthStatus:'Прикажи мјесеце',weekText:'Сед',weekStatus:'Седмица',dayStatus:'\'Датум\' DD d MM',defaultStatus:'Одабери датум',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['me'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['mk']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Претх.',prevStatus:'Прикажи го претходниот месец',prevJumpText:'<<',prevJumpStatus:'Прикажи ја претходната година',nextText:'Следен',nextStatus:'Прикажи го следниот месец',nextJumpText:'>>',nextJumpStatus:'Прикажи ја следната година',currentText:'Тековен',currentStatus:'Прикажи го тековниот месец',todayText:'Денес',todayStatus:'Прикажи го денешниот месец',clearText:'Бриши',clearStatus:'Избриши го тековниот датум',closeText:'Затвори',closeStatus:'Затвори без промени',yearStatus:'Избери друга година',monthStatus:'Избери друг месец',weekText:'Нед',weekStatus:'Недела во годината',dayStatus:'Избери DD, M d',defaultStatus:'Избери датум',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mk'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ml']={renderer:$.calendarsPicker.defaultRenderer,prevText:'മുന്നത്തെ',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'അടുത്തത് ',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'ഇന്ന്',currentStatus:'',todayText:'ഇന്ന്',todayStatus:'',clearText:'X',clearStatus:'',closeText:'ശരി',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'ആ',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ml'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ms']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Sebelum',prevStatus:'Tunjukkan bulan lepas',prevJumpText:'<<',prevJumpStatus:'Tunjukkan tahun lepas',nextText:'Selepas>',nextStatus:'Tunjukkan bulan depan',nextJumpText:'>>',nextJumpStatus:'Tunjukkan tahun depan',currentText:'hari ini',currentStatus:'Tunjukkan bulan terkini',todayText:'hari ini',todayStatus:'Tunjukkan bulan terkini',clearText:'Padam',clearStatus:'Padamkan tarikh terkini',closeText:'Tutup',closeStatus:'Tutup tanpa perubahan',yearStatus:'Tunjukkan tahun yang lain',monthStatus:'Tunjukkan bulan yang lain',weekText:'Mg',weekStatus:'Minggu bagi tahun ini',dayStatus:'DD, d MM',defaultStatus:'Sila pilih tarikh',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ms'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['mt']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Ta Qabel',prevStatus:'Ix-xahar ta qabel',prevJumpText:'<<',prevJumpStatus:'Is-sena ta qabel',nextText:'Li Jmiss',nextStatus:'Ix-xahar li jmiss',nextJumpText:'>>',nextJumpStatus:'Is-sena li jmiss',currentText:'Illum',currentStatus:'Ix-xahar ta llum',todayText:'Illum',todayStatus:'Uri ix-xahar ta llum',clearText:'Ħassar',clearStatus:'Ħassar id-data',closeText:'Lest',closeStatus:'Għalaq mingħajr tibdiliet',yearStatus:'Uri sena differenti',monthStatus:'Uri xahar differenti',weekText:'Ġm',weekStatus:'Il-Ġimgħa fis-sena',dayStatus:'Għazel DD, M d',defaultStatus:'Għazel data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['mt'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['nl-BE']={renderer:$.calendarsPicker.defaultRenderer,prevText:'←',prevStatus:'Bekijk de vorige maand',prevJumpText:'«',nextJumpStatus:'Bekijk het vorige jaar',nextText:'→',nextStatus:'Bekijk de volgende maand',nextJumpText:'»',nextJumpStatus:'Bekijk het volgende jaar',currentText:'Vandaag',currentStatus:'Bekijk de huidige maand',todayText:'Vandaag',todayStatus:'Bekijk de huidige maand',clearText:'Wissen',clearStatus:'Wis de huidige datum',closeText:'Sluiten',closeStatus:'Sluit zonder verandering',yearStatus:'Bekijk een ander jaar',monthStatus:'Bekijk een andere maand',weekText:'Wk',weekStatus:'Week van het jaar',dayStatus:'dd/mm/yyyy',defaultStatus:'Kies een datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl-BE'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['nl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'←',prevStatus:'Bekijk de vorige maand',prevJumpText:'«',nextJumpStatus:'Bekijk het vorige jaar',nextText:'→',nextStatus:'Bekijk de volgende maand',nextJumpText:'»',nextJumpStatus:'Bekijk het volgende jaar',currentText:'Vandaag',currentStatus:'Bekijk de huidige maand',todayText:'Vandaag',todayStatus:'Bekijk de huidige maand',clearText:'Wissen',clearStatus:'Wis de huidige datum',closeText:'Sluiten',closeStatus:'Sluit zonder verandering',yearStatus:'Bekijk een ander jaar',monthStatus:'Bekijk een andere maand',weekText:'Wk',weekStatus:'Week van het jaar',dayStatus:'dd-mm-yyyy',defaultStatus:'Kies een datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['nl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['no']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Forrige',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Neste»',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'I dag',currentStatus:'',todayText:'I dag',todayStatus:'',clearText:'Tøm',clearStatus:'',closeText:'Lukk',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Uke',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['no'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['pl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Poprzedni',prevStatus:'Pokaż poprzedni miesiąc',prevJumpText:'<<',prevJumpStatus:'',nextText:'Następny>',nextStatus:'Pokaż następny miesiąc',nextJumpText:'>>',nextJumpStatus:'',currentText:'Dziś',currentStatus:'Pokaż aktualny miesiąc',todayText:'Dziś',todayStatus:'Pokaż aktualny miesiąc',clearText:'Wyczyść',clearStatus:'Wyczyść obecną datę',closeText:'Zamknij',closeStatus:'Zamknij bez zapisywania',yearStatus:'Pokaż inny rok',monthStatus:'Pokaż inny miesiąc',weekText:'Tydz',weekStatus:'Tydzień roku',dayStatus:'\'Wybierz\' DD, M d',defaultStatus:'Wybierz datę',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['pt-BR']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Anterior',prevStatus:'Mostra o mês anterior',prevJumpText:'<<',prevJumpStatus:'Mostra o ano anterior',nextText:'Próximo>',nextStatus:'Mostra o próximo mês',nextJumpText:'>>',nextJumpStatus:'Mostra o próximo ano',currentText:'Atual',currentStatus:'Mostra o mês atual',todayText:'Hoje',todayStatus:'Vai para hoje',clearText:'Limpar',clearStatus:'Limpar data',closeText:'Fechar',closeStatus:'Fechar o calendário',yearStatus:'Selecionar ano',monthStatus:'Selecionar mês',weekText:'s',weekStatus:'Semana do ano',dayStatus:'DD, d \'de\' M \'de\' yyyy',defaultStatus:'Selecione um dia',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['pt-BR'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['rm']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Suandant',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Precedent>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Actual',currentStatus:'',todayText:'Actual',todayStatus:'',clearText:'X',clearStatus:'',closeText:'Serrar',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'emna',weekStatus:'',dayStatus:'DD d MM',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['rm'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ro']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Precedenta',prevStatus:'Arata luna precedenta',prevJumpText:'««',prevJumpStatus:'',nextText:'Urmatoare»',nextStatus:'Arata luna urmatoare',nextJumpText:'»»',nextJumpStatus:'',currentText:'Azi',currentStatus:'Arata luna curenta',todayText:'Azi',todayStatus:'Arata luna curenta',clearText:'Curat',clearStatus:'Sterge data curenta',closeText:'Închide',closeStatus:'Închide fara schimbare',yearStatus:'Arat un an diferit',monthStatus:'Arata o luna diferita',weekText:'Săpt',weekStatus:'Săptamana anului',dayStatus:'Selecteaza DD, M d',defaultStatus:'Selecteaza o data',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ro'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ru']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Пред',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'След>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Сегодня',currentStatus:'',todayText:'Сегодня',todayStatus:'',clearText:'Очистить',clearStatus:'',closeText:'Закрыть',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Не',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ru'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sk']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Predchádzajúci',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Nasledujúci>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Dnes',currentStatus:'',todayText:'Dnes',todayStatus:'',clearText:'Zmazať',clearStatus:'',closeText:'Zavrieť',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Ty',weekStatus:'',dayStatus:'DD. M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sk'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sl']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Prejšnji',prevStatus:'Prikaži prejšnji mesec',prevJumpText:'<<',prevJumpStatus:'',nextText:'Naslednji>',nextStatus:'Prikaži naslednji mesec',nextJumpText:'>>',nextJumpStatus:'',currentText:'Trenutni',currentStatus:'Prikaži trenutni mesec',todayText:'Trenutni',todayStatus:'Prikaži trenutni mesec',clearText:'Izbriši',clearStatus:'Izbriši trenutni datum',closeText:'Zapri',closeStatus:'Zapri brez spreminjanja',yearStatus:'Prikaži drugo leto',monthStatus:'Prikaži drug mesec',weekText:'Teden',weekStatus:'Teden v letu',dayStatus:'Izberi DD, d MM yy',defaultStatus:'Izbira datuma',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sl'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sq']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<mbrapa',prevStatus:'trego muajin e fundit',prevJumpText:'<<',prevJumpStatus:'',nextText:'Përpara>',nextStatus:'trego muajin tjetër',nextJumpText:'>>',nextJumpStatus:'',currentText:'sot',currentStatus:'',todayText:'sot',todayStatus:'',clearText:'fshije',clearStatus:'fshije datën aktuale',closeText:'mbylle',closeStatus:'mbylle pa ndryshime',yearStatus:'trego tjetër vit',monthStatus:'trego muajin tjetër',weekText:'Ja',weekStatus:'Java e muajit',dayStatus:'\'Zgjedh\' D, M d',defaultStatus:'Zgjedhe një datë',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sq'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sr-SR']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Prikaži predhodni mesec',prevJumpText:'<<',prevJumpStatus:'Prikaži predhodnu godinu',nextText:'>',nextStatus:'Prikaži sledeći mesec',nextJumpText:'>>',nextJumpStatus:'Prikaži sledeću godinu',currentText:'Danas',currentStatus:'Tekući mesec',todayText:'Danas',todayStatus:'Tekući mesec',clearText:'Obriši',clearStatus:'Obriši trenutni datum',closeText:'Zatvori',closeStatus:'Zatvori kalendar',yearStatus:'Prikaži godine',monthStatus:'Prikaži mesece',weekText:'Sed',weekStatus:'Sedmica',dayStatus:'\'Datum\' DD, M d',defaultStatus:'Odaberi datum',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr-SR'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'Прикажи предходни месец',prevJumpText:'<<',prevJumpStatus:'Прикажи предходну годину',nextText:'>',nextStatus:'Прикажи слецећи месец',nextJumpText:'>>',nextJumpStatus:'Прикажи следећу годину',currentText:'Данас',currentStatus:'Текући месец',todayText:'Данас',todayStatus:'Текући месец',clearText:'Обриши',clearStatus:'Обриши тренутни датум',closeText:'Затвори',closeStatus:'Затвори календар',yearStatus:'Прикажи године',monthStatus:'Прикажи месеце',weekText:'Сед',weekStatus:'Седмица',dayStatus:'\'Датум\' DD d MM',defaultStatus:'Одабери датум',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['sv']={renderer:$.calendarsPicker.defaultRenderer,prevText:'«Förra',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'Nästa»',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Idag',currentStatus:'',todayText:'Idag',todayStatus:'',clearText:'Rensa',clearStatus:'',closeText:'Stäng',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Ve',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['sv'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ta']={renderer:$.calendarsPicker.defaultRenderer,prevText:'முன்னையது',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'அடுத்தது',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'இன்று',currentStatus:'',todayText:'இன்று',todayStatus:'',clearText:'அழி',clearStatus:'',closeText:'மூடு',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'D, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ta'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['th']={renderer:$.calendarsPicker.defaultRenderer,prevText:'« ย้อน',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'ถัดไป »',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'วันนี้',currentStatus:'',todayText:'วันนี้',todayStatus:'',clearText:'ลบ',clearStatus:'',closeText:'ปิด',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Wk',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['th'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['tr']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<geri',prevStatus:'önceki ayı göster',prevJumpText:'<<',prevJumpStatus:'',nextText:'ileri>',nextStatus:'sonraki ayı göster',nextJumpText:'>>',nextJumpStatus:'',currentText:'bugün',currentStatus:'',todayText:'bugün',todayStatus:'',clearText:'temizle',clearStatus:'geçerli tarihi temizler',closeText:'kapat',closeStatus:'sadece göstergeyi kapat',yearStatus:'başka yıl',monthStatus:'başka ay',weekText:'Hf',weekStatus:'Ayın haftaları',dayStatus:'D, M d seçiniz',defaultStatus:'Bir tarih seçiniz',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tr'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['tt']={renderer:$.calendarsPicker.defaultRenderer,prevText:'Алдагы',prevStatus:'Алдагы айны күрсәтү',prevJumpText:'<<',prevJumpStatus:'Алдагы елны күрсәтү',nextText:'Киләсе',nextStatus:'Киләсе айны күрсәтү',nextJumpText:'>>',nextJumpStatus:'Киләсе елны күрсәтү',currentText:'Хәзер',currentStatus:'Хәзерге айны күрсәтү',todayText:'Бүген',todayStatus:'Бүгенге айны күрсәтү',clearText:'Чистарту',clearStatus:'Барлык көннәрне чистарту',closeText:'Ябарга',closeStatus:'Көн сайлауны ябарга',yearStatus:'Елны кертегез',monthStatus:'Айны кертегез',weekText:'Атна',weekStatus:'Елда атна саны',dayStatus:'DD, M d',defaultStatus:'Көнне сайлагыз',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['tt'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['uk']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<',prevStatus:'',prevJumpText:'<<',prevJumpStatus:'',nextText:'>',nextStatus:'',nextJumpText:'>>',nextJumpStatus:'',currentText:'Сьогодні',currentStatus:'',todayText:'Сьогодні',todayStatus:'',clearText:'Очистити',clearStatus:'',closeText:'Закрити',closeStatus:'',yearStatus:'',monthStatus:'',weekText:'Не',weekStatus:'',dayStatus:'DD, M d',defaultStatus:'',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['uk'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['ur']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<گذشتہ',prevStatus:'ماه گذشتہ',prevJumpText:'<<',prevJumpStatus:'برس گذشتہ',nextText:'آئندہ>',nextStatus:'ماه آئندہ',nextJumpText:'>>',nextJumpStatus:'برس آئندہ',currentText:'رواں',currentStatus:'ماه رواں',todayText:'آج',todayStatus:'آج',clearText:'حذف تاريخ',clearStatus:'کریں حذف تاریخ',closeText:'کریں بند',closeStatus:'کیلئے کرنے بند',yearStatus:'برس تبدیلی',monthStatus:'ماه تبدیلی',weekText:'ہفتہ',weekStatus:'ہفتہ',dayStatus:'انتخاب D, M d',defaultStatus:'کریں منتخب تاريخ',isRTL:true};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['ur'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['vi']={renderer:$.calendarsPicker.defaultRenderer,prevText:'<Trước',prevStatus:'Tháng trước',prevJumpText:'<<',prevJumpStatus:'Năm trước',nextText:'Tiếp>',nextStatus:'Tháng sau',nextJumpText:'>>',nextJumpStatus:'Năm sau',currentText:'Hôm nay',currentStatus:'Tháng hiện tại',todayText:'Hôm nay',todayStatus:'Tháng hiện tại',clearText:'Xóa',clearStatus:'Xóa ngày hiện tại',closeText:'Đóng',closeStatus:'Đóng và không lưu lại thay đổi',yearStatus:'Năm khác',monthStatus:'Tháng khác',weekText:'Tu',weekStatus:'Tuần trong năm',dayStatus:'Đang chọn DD, \'ngày\' d M',defaultStatus:'Chọn ngày',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['vi'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['zh-CN']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:MM yyyy年')}),prevText:'<上月',prevStatus:'显示上月',prevJumpText:'<<',prevJumpStatus:'显示上一年',nextText:'下月>',nextStatus:'显示下月',nextJumpText:'>>',nextJumpStatus:'显示下一年',currentText:'今天',currentStatus:'显示本月',todayText:'今天',todayStatus:'显示本月',clearText:'清除',clearStatus:'清除已选日期',closeText:'关闭',closeStatus:'不改变当前选择',yearStatus:'选择年份',monthStatus:'选择月份',weekText:'周',weekStatus:'年内周次',dayStatus:'选择 m月 d日, DD',defaultStatus:'请选择日期',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-CN'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['zh-HK']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:yyyy年 MM')}),prevText:'<上月',prevStatus:'顯示上月',prevJumpText:'<<',prevJumpStatus:'顯示上一年',nextText:'下月>',nextStatus:'顯示下月',nextJumpText:'>>',nextJumpStatus:'顯示下一年',currentText:'今天',currentStatus:'顯示本月',todayText:'今天',todayStatus:'顯示本月',clearText:'清除',clearStatus:'清除已選日期',closeText:'關閉',closeStatus:'不改變目前的選擇',yearStatus:'選擇年份',monthStatus:'選擇月份',weekText:'周',weekStatus:'年內周次',dayStatus:'選擇 m月 d日, DD',defaultStatus:'請選擇日期',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-HK'])})(jQuery);(function($){$.calendarsPicker.regionalOptions['zh-TW']={renderer:$.extend({},$.calendarsPicker.defaultRenderer,{month:$.calendarsPicker.defaultRenderer.month.replace(/monthHeader/,'monthHeader:MM yyyy年')}),prevText:'<上月',prevStatus:'顯示上月',prevJumpText:'<<',prevJumpStatus:'顯示上一年',nextText:'下月>',nextStatus:'顯示下月',nextJumpText:'>>',nextJumpStatus:'顯示下一年',currentText:'今天',currentStatus:'顯示本月',todayText:'今天',todayStatus:'顯示本月',clearText:'清除',clearStatus:'清除已選日期',closeText:'關閉',closeStatus:'不改變目前的選擇',yearStatus:'選擇年份',monthStatus:'選擇月份',weekText:'周',weekStatus:'年內周次',dayStatus:'選擇 m月 d日, DD',defaultStatus:'請選擇日期',isRTL:false};$.calendarsPicker.setDefaults($.calendarsPicker.regionalOptions['zh-TW'])})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.min.js
new file mode 100644
index 0000000..973e5df
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.picker.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Calendars date picker for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){var H='calendarsPicker';$.JQPlugin.createPlugin({name:H,defaultRenderer:{picker:''+'
{link:prev}{link:today}{link:next}
{months}'+'{popup:start}
{link:clear}{link:close}
{popup:end}'+'
',monthRow:'{months}
',month:'',weekHeader:'{days} ',dayHeader:'{day} ',week:'{days} ',day:'{day} ',monthSelector:'.calendars-month',daySelector:'td',rtlClass:'calendars-rtl',multiClass:'calendars-multi',defaultClass:'',selectedClass:'calendars-selected',highlightedClass:'calendars-highlight',todayClass:'calendars-today',otherMonthClass:'calendars-other-month',weekendClass:'calendars-weekend',commandClass:'calendars-cmd',commandButtonClass:'',commandLinkClass:'',disabledClass:'calendars-disabled'},commands:{prev:{text:'prevText',status:'prevStatus',keystroke:{keyCode:33},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){I.changeMonth(this,-a.options.monthsToStep)}},prevJump:{text:'prevJumpText',status:'prevJumpStatus',keystroke:{keyCode:33,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(1-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){I.changeMonth(this,-a.options.monthsToJump)}},next:{text:'nextText',status:'nextStatus',keystroke:{keyCode:34},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToStep-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){I.changeMonth(this,a.options.monthsToStep)}},nextJump:{text:'nextJumpText',status:'nextJumpStatus',keystroke:{keyCode:34,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay).compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.monthsToJump-a.options.monthsOffset,'m').day(a.options.calendar.minDay)},action:function(a){I.changeMonth(this,a.options.monthsToJump)}},current:{text:'currentText',status:'currentStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');var d=a.selectedDates[0]||a.options.calendar.today();return(!b||d.compareTo(b)!==-1)&&(!c||d.compareTo(c)!==+1)},date:function(a){return a.selectedDates[0]||a.options.calendar.today()},action:function(a){var b=a.selectedDates[0]||a.options.calendar.today();I.showMonth(this,b.year(),b.month())}},today:{text:'todayText',status:'todayStatus',keystroke:{keyCode:36,ctrlKey:true},enabled:function(a){var b=a.curMinDate();var c=a.get('maxDate');return(!b||a.options.calendar.today().compareTo(b)!==-1)&&(!c||a.options.calendar.today().compareTo(c)!==+1)},date:function(a){return a.options.calendar.today()},action:function(a){I.showMonth(this)}},clear:{text:'clearText',status:'clearStatus',keystroke:{keyCode:35,ctrlKey:true},enabled:function(a){return true},date:function(a){return null},action:function(a){I.clear(this)}},close:{text:'closeText',status:'closeStatus',keystroke:{keyCode:27},enabled:function(a){return true},date:function(a){return null},action:function(a){I.hide(this)}},prevWeek:{text:'prevWeekText',status:'prevWeekStatus',keystroke:{keyCode:38,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-a.options.calendar.daysInWeek(),'d')},action:function(a){I.changeDay(this,-a.options.calendar.daysInWeek())}},prevDay:{text:'prevDayText',status:'prevDayStatus',keystroke:{keyCode:37,ctrlKey:true},enabled:function(a){var b=a.curMinDate();return(!b||a.drawDate.newDate().add(-1,'d').compareTo(b)!==-1)},date:function(a){return a.drawDate.newDate().add(-1,'d')},action:function(a){I.changeDay(this,-1)}},nextDay:{text:'nextDayText',status:'nextDayStatus',keystroke:{keyCode:39,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(1,'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(1,'d')},action:function(a){I.changeDay(this,1)}},nextWeek:{text:'nextWeekText',status:'nextWeekStatus',keystroke:{keyCode:40,ctrlKey:true},enabled:function(a){var b=a.get('maxDate');return(!b||a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d').compareTo(b)!==+1)},date:function(a){return a.drawDate.newDate().add(a.options.calendar.daysInWeek(),'d')},action:function(a){I.changeDay(this,a.options.calendar.daysInWeek())}}},defaultOptions:{calendar:$.calendars.instance(),pickerClass:'',showOnFocus:true,showTrigger:null,showAnim:'show',showOptions:{},showSpeed:'normal',popupContainer:null,alignment:'bottom',fixedWeeks:false,firstDay:null,calculateWeek:null,localNumbers:false,monthsToShow:1,monthsOffset:0,monthsToStep:1,monthsToJump:12,useMouseWheel:true,changeMonth:true,yearRange:'c-10:c+10',showOtherMonths:false,selectOtherMonths:false,defaultDate:null,selectDefaultDate:false,minDate:null,maxDate:null,dateFormat:null,autoSize:false,rangeSelect:false,rangeSeparator:' - ',multiSelect:0,multiSeparator:',',onDate:null,onShow:null,onChangeMonthYear:null,onSelect:null,onClose:null,altField:null,altFormat:null,constrainInput:true,commandsAsDateFormat:false,commands:{}},regionalOptions:{'':{renderer:{},prevText:'<Prev',prevStatus:'Show the previous month',prevJumpText:'<<',prevJumpStatus:'Show the previous year',nextText:'Next>',nextStatus:'Show the next month',nextJumpText:'>>',nextJumpStatus:'Show the next year',currentText:'Current',currentStatus:'Show the current month',todayText:'Today',todayStatus:'Show today\'s month',clearText:'Clear',clearStatus:'Clear all the dates',closeText:'Close',closeStatus:'Close the datepicker',yearStatus:'Change the year',earlierText:' ▲',laterText:' ▼',monthStatus:'Change the month',weekText:'Wk',weekStatus:'Week of the year',dayStatus:'Select DD, M d, yyyy',defaultStatus:'Select a date',isRTL:false}},_getters:['getDate','isDisabled','isSelectable','retrieveDate'],_disabled:[],_popupClass:'calendars-popup',_triggerClass:'calendars-trigger',_disableClass:'calendars-disable',_monthYearClass:'calendars-month-year',_curMonthClass:'calendars-month-',_anyYearClass:'calendars-any-year',_curDoWClass:'calendars-dow-',_init:function(){this.defaultOptions.commands=this.commands;this.regionalOptions[''].renderer=this.defaultRenderer;this._super()},_instSettings:function(b,c){return{selectedDates:[],drawDate:null,pickingRange:false,inline:($.inArray(b[0].nodeName.toLowerCase(),['div','span'])>-1),get:function(a){if($.inArray(a,['defaultDate','minDate','maxDate'])>-1){return this.options.calendar.determineDate(this.options[a],null,this.selectedDates[0],this.get('dateFormat'),this.getConfig())}if(a==='dateFormat'){return this.options.dateFormat||this.options.calendar.local.dateFormat}return this.options[a]},curMinDate:function(){return(this.pickingRange?this.selectedDates[0]:this.get('minDate'))},getConfig:function(){return{dayNamesShort:this.options.dayNamesShort,dayNames:this.options.dayNames,monthNamesShort:this.options.monthNamesShort,monthNames:this.options.monthNames,calculateWeek:this.options.calculateWeek,shortYearCutoff:this.options.shortYearCutoff}}}},_postAttach:function(a,b){if(b.inline){b.drawDate=I._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();this._update(a[0]);if($.fn.mousewheel){a.mousewheel(this._doMouseWheel)}}else{this._attachments(a,b);a.on('keydown.'+b.name,this._keyDown).on('keypress.'+b.name,this._keyPress).on('keyup.'+b.name,this._keyUp);if(a.attr('disabled')){this.disable(a[0])}}},_optionsChanged:function(b,c,d){if(d.calendar&&d.calendar!==c.options.calendar){var e=function(a){return(typeof c.options[a]==='object'?null:c.options[a])};d=$.extend({defaultDate:e('defaultDate'),minDate:e('minDate'),maxDate:e('maxDate')},d);c.selectedDates=[];c.drawDate=null}var f=c.selectedDates;$.extend(c.options,d);this.setDate(b[0],f,null,false,true);c.pickingRange=false;var g=c.options.calendar;var h=c.get('defaultDate');c.drawDate=this._checkMinMax((h?h:c.drawDate)||h||g.today(),c).newDate();if(!c.inline){this._attachments(b,c)}if(c.inline||c.div){this._update(b[0])}},_attachments:function(a,b){a.off('focus.'+b.name);if(b.options.showOnFocus){a.on('focus.'+b.name,this.show)}if(b.trigger){b.trigger.remove()}var c=b.options.showTrigger;b.trigger=(!c?$([]):$(c).clone().removeAttr('id').addClass(this._triggerClass)[b.options.isRTL?'insertBefore':'insertAfter'](a).click(function(){if(!I.isDisabled(a[0])){I[I.curInst===b?'hide':'show'](a[0])}}));this._autoSize(a,b);var d=this._extractDates(b,a.val());if(d){this.setDate(a[0],d,null,true)}var e=b.get('defaultDate');if(b.options.selectDefaultDate&&e&&b.selectedDates.length===0){this.setDate(a[0],(e||b.options.calendar.today()).newDate())}},_autoSize:function(d,e){if(e.options.autoSize&&!e.inline){var f=e.options.calendar;var g=f.newDate(2009,10,20);var h=e.get('dateFormat');if(h.match(/[DM]/)){var j=function(a){var b=0;var c=0;for(var i=0;ib){b=a[i].length;c=i}}return c};g.month(j(f.local[h.match(/MM/)?'monthNames':'monthNamesShort'])+1);g.day(j(f.local[h.match(/DD/)?'dayNames':'dayNamesShort'])+20-g.dayOfWeek())}e.elem.attr('size',g.formatDate(h,{localNumbers:e.options.localnumbers}).length)}},_preDestroy:function(a,b){if(b.trigger){b.trigger.remove()}a.empty().off('.'+b.name);if(b.inline&&$.fn.mousewheel){a.unmousewheel()}if(!b.inline&&b.options.autoSize){a.removeAttr('size')}},multipleEvents:function(b){var c=arguments;return function(a){for(var i=0;i').find('button,select').prop('disabled',true).end().find('a').removeAttr('href')}else{b.prop('disabled',true);c.trigger.filter('button.'+this._triggerClass).prop('disabled',true).end().filter('img.'+this._triggerClass).css({opacity:'0.5',cursor:'default'})}this._disabled=$.map(this._disabled,function(a){return(a===b[0]?null:a)});this._disabled.push(b[0])},isDisabled:function(a){return(a&&$.inArray(a,this._disabled)>-1)},show:function(a){a=$(a.target||a);var b=I._getInst(a);if(I.curInst===b){return}if(I.curInst){I.hide(I.curInst,true)}if(!$.isEmptyObject(b)){b.lastVal=null;b.selectedDates=I._extractDates(b,a.val());b.pickingRange=false;b.drawDate=I._checkMinMax((b.selectedDates[0]||b.get('defaultDate')||b.options.calendar.today()).newDate(),b);b.prevDate=b.drawDate.newDate();I.curInst=b;I._update(a[0],true);var c=I._checkOffset(b);b.div.css({left:c.left,top:c.top});var d=b.options.showAnim;var e=b.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){var f=b.div.data();for(var g in f){if(g.match(/^ec\.storage\./)){f[g]=b._mainDiv.css(g.replace(/ec\.storage\./,''))}}b.div.data(f).show(d,b.options.showOptions,e)}else{b.div[d||'show'](d?e:0)}}},_extractDates:function(a,b){if(b===a.lastVal){return}a.lastVal=b;b=b.split(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:'\x00'));var c=[];for(var i=0;i').addClass(this._popupClass).css({display:(b?'none':'static'),position:'absolute',left:a.offset().left,top:a.offset().top+a.outerHeight()}).appendTo($(c.options.popupContainer||'body'));if($.fn.mousewheel){c.div.mousewheel(this._doMouseWheel)}}c.div.html(this._generateContent(a[0],c));a.focus()}}},_updateInput:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d='';var e='';var f=(c.options.multiSelect?c.options.multiSeparator:c.options.rangeSeparator);var g=c.options.calendar;var h=c.get('dateFormat');var j=c.options.altFormat||h;var k={localNumbers:c.options.localNumbers};for(var i=0;i0?f:'')+g.formatDate(h,c.selectedDates[i],k));e+=(i>0?f:'')+g.formatDate(j,c.selectedDates[i],k)}if(!c.inline&&!b){$(a).val(d)}$(c.options.altField).val(e);if($.isFunction(c.options.onSelect)&&!b&&!c.inSelect){c.inSelect=true;c.options.onSelect.apply(a,[c.selectedDates]);c.inSelect=false}}},_getBorders:function(b){var c=function(a){return{thin:1,medium:3,thick:5}[a]||a};return[parseFloat(c(b.css('border-left-width'))),parseFloat(c(b.css('border-top-width')))]},_checkOffset:function(a){var b=(a.elem.is(':hidden')&&a.trigger?a.trigger:a.elem);var c=b.offset();var d=$(window).width();var e=$(window).height();if(d===0){return c}var f=false;$(a.elem).parents().each(function(){f|=$(this).css('position')==='fixed';return!f});var g=document.documentElement.scrollLeft||document.body.scrollLeft;var h=document.documentElement.scrollTop||document.body.scrollTop;var i=c.top-(f?h:0)-a.div.outerHeight();var j=c.top-(f?h:0)+b.outerHeight();var k=c.left-(f?g:0);var l=c.left-(f?g:0)+b.outerWidth()-a.div.outerWidth();var m=(c.left-g+a.div.outerWidth())>d;var n=(c.top-h+a.elem.outerHeight()+a.div.outerHeight())>e;a.div.css('position',f?'fixed':'absolute');var o=a.options.alignment;if(o==='topLeft'){c={left:k,top:i}}else if(o==='topRight'){c={left:l,top:i}}else if(o==='bottomLeft'){c={left:k,top:j}}else if(o==='bottomRight'){c={left:l,top:j}}else if(o==='top'){c={left:(a.options.isRTL||m?l:k),top:i}}else{c={left:(a.options.isRTL||m?l:k),top:(n?i:j)}}c.left=Math.max((f?0:g),c.left);c.top=Math.max((f?0:h),c.top);return c},_checkExternalClick:function(a){if(!I.curInst){return}var b=$(a.target);if(b.closest('.'+I._popupClass+',.'+I._triggerClass).length===0&&!b.hasClass(I._getMarker())){I.hide(I.curInst)}},hide:function(a,b){if(!a){return}var c=this._getInst(a);if($.isEmptyObject(c)){c=a}if(c&&c===I.curInst){var d=(b?'':c.options.showAnim);var e=c.options.showSpeed;e=(e==='normal'&&$.ui&&parseInt($.ui.version.substring(2))>=8?'_default':e);var f=function(){if(!c.div){return}c.div.remove();c.div=null;I.curInst=null;if($.isFunction(c.options.onClose)){c.options.onClose.apply(a,[c.selectedDates])}};c.div.stop();if($.effects&&($.effects[d]||($.effects.effect&&$.effects.effect[d]))){c.div.hide(d,c.options.showOptions,e,f)}else{var g=(d==='slideDown'?'slideUp':(d==='fadeIn'?'fadeOut':'hide'));c.div[g]((d?e:''),f)}if(!d){f()}}},_keyDown:function(a){var b=(a.data&&a.data.elem)||a.target;var c=I._getInst(b);var d=false;if(c.inline||c.div){if(a.keyCode===9){I.hide(b)}else if(a.keyCode===13){I.selectDate(b,$('a.'+c.options.renderer.highlightedClass,c.div)[0]);d=true}else{var e=c.options.commands;for(var f in e){var g=e[f];if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){I.performAction(b,f);d=true;break}}}}else{var g=c.options.commands.current;if(g.keystroke.keyCode===a.keyCode&&!!g.keystroke.ctrlKey===!!(a.ctrlKey||a.metaKey)&&!!g.keystroke.altKey===a.altKey&&!!g.keystroke.shiftKey===a.shiftKey){I.show(b);d=true}}c.ctrlKey=((a.keyCode<48&&a.keyCode!==32)||a.ctrlKey||a.metaKey);if(d){a.preventDefault();a.stopPropagation()}return!d},_keyPress:function(a){var b=I._getInst((a.data&&a.data.elem)||a.target);if(!$.isEmptyObject(b)&&b.options.constrainInput){var c=String.fromCharCode(a.keyCode||a.charCode);var d=I._allowedChars(b);return(a.metaKey||b.ctrlKey||c<' '||!d||d.indexOf(c)>-1)}return true},_allowedChars:function(a){var b=(a.options.multiSelect?a.options.multiSeparator:(a.options.rangeSelect?a.options.rangeSeparator:''));var c=false;var d=false;var e=a.get('dateFormat');for(var i=0;i0){I.setDate(b,d,null,true)}}catch(a){}}return true},_doMouseWheel:function(a,b){var c=(I.curInst&&I.curInst.elem[0])||$(a.target).closest('.'+I._getMarker())[0];if(I.isDisabled(c)){return}var d=I._getInst(c);if(d.options.useMouseWheel){b=(b<0?-1:+1);I.changeMonth(c,-d.options[a.ctrlKey?'monthsToJump':'monthsToStep']*b)}a.preventDefault()},clear:function(a){var b=this._getInst(a);if(!$.isEmptyObject(b)){b.selectedDates=[];this.hide(a);var c=b.get('defaultDate');if(b.options.selectDefaultDate&&c){this.setDate(a,(c||b.options.calendar.today()).newDate())}else{this._updateInput(a)}}},getDate:function(a){var b=this._getInst(a);return(!$.isEmptyObject(b)?b.selectedDates:[])},setDate:function(a,b,c,d,e){var f=this._getInst(a);if(!$.isEmptyObject(f)){if(!$.isArray(b)){b=[b];if(c){b.push(c)}}var g=f.get('minDate');var h=f.get('maxDate');var k=f.selectedDates[0];f.selectedDates=[];for(var i=0;i=d.toJD())&&(!e||b.toJD()<=e.toJD())},performAction:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=c.options.commands;if(d[b]&&d[b].enabled.apply(a,[c])){d[b].action.apply(a,[c])}}},showMonth:function(a,b,c,d){var e=this._getInst(a);if(!$.isEmptyObject(e)&&(d!=null||(e.drawDate.year()!==b||e.drawDate.month()!==c))){e.prevDate=e.drawDate.newDate();var f=e.options.calendar;var g=this._checkMinMax((b!=null?f.newDate(b,c,1):f.today()),e);e.drawDate.date(g.year(),g.month(),(d!=null?d:Math.min(e.drawDate.day(),f.daysInMonth(g.year(),g.month()))));this._update(a)}},changeMonth:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'m');this.showMonth(a,d.year(),d.month())}},changeDay:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)){var d=c.drawDate.newDate().add(b,'d');this.showMonth(a,d.year(),d.month(),d.day())}},_checkMinMax:function(a,b){var c=b.get('minDate');var d=b.get('maxDate');a=(c&&a.compareTo(c)===-1?c.newDate():a);a=(d&&a.compareTo(d)===+1?d.newDate():a);return a},retrieveDate:function(a,b){var c=this._getInst(a);return($.isEmptyObject(c)?null:c.options.calendar.fromJD(parseFloat(b.className.replace(/^.*jd(\d+\.5).*$/,'$1'))))},selectDate:function(a,b){var c=this._getInst(a);if(!$.isEmptyObject(c)&&!this.isDisabled(a)){var d=this.retrieveDate(a,b);if(c.options.multiSelect){var e=false;for(var i=0;i'+(g?g.formatDate(i.options[f.text],{localNumbers:i.options.localNumbers}):i.options[f.text])+''+c+'>')};for(var r in i.options.commands){q('button','button type="button"','button',r,i.options.renderer.commandButtonClass);q('link','a href="javascript:void(0)"','a',r,i.options.renderer.commandLinkClass)}p=$(p);if(j[1]>1){var s=0;$(i.options.renderer.monthSelector,p).each(function(){var a=++s%j[1];$(this).addClass(a===1?'first':(a===0?'last':''))})}var t=this;function removeHighlight(){(i.inline?$(this).closest('.'+t._getMarker()):i.div).find(i.options.renderer.daySelector+' a').removeClass(i.options.renderer.highlightedClass)}p.find(i.options.renderer.daySelector+' a').hover(function(){removeHighlight.apply(this);$(this).addClass(i.options.renderer.highlightedClass)},removeHighlight).click(function(){t.selectDate(h,this)}).end().find('select.'+this._monthYearClass+':not(.'+this._anyYearClass+')').change(function(){var a=$(this).val().split('/');t.showMonth(h,parseInt(a[1],10),parseInt(a[0],10))}).end().find('select.'+this._anyYearClass).click(function(){$(this).css('visibility','hidden').next('input').css({left:this.offsetLeft,top:this.offsetTop,width:this.offsetWidth,height:this.offsetHeight}).show().focus()}).end().find('input.'+t._monthYearClass).change(function(){try{var a=parseInt($(this).val(),10);a=(isNaN(a)?i.drawDate.year():a);t.showMonth(h,a,i.drawDate.month(),i.drawDate.day())}catch(e){alert(e)}}).keydown(function(a){if(a.keyCode===13){$(a.elem).change()}else if(a.keyCode===27){$(a.elem).hide().prev('select').css('visibility','visible');i.elem.focus()}});var u={elem:i.elem[0]};p.keydown(u,this._keyDown).keypress(u,this._keyPress).keyup(u,this._keyUp);p.find('.'+i.options.renderer.commandClass).click(function(){if(!$(this).hasClass(i.options.renderer.disabledClass)){var a=this.className.replace(new RegExp('^.*'+i.options.renderer.commandClass+'-([^ ]+).*$'),'$1');I.performAction(h,a)}});if(i.options.isRTL){p.addClass(i.options.renderer.rtlClass)}if(j[0]*j[1]>1){p.addClass(i.options.renderer.multiClass)}if(i.options.pickerClass){p.addClass(i.options.pickerClass)}$('body').append(p);var v=0;p.find(i.options.renderer.monthSelector).each(function(){v+=$(this).outerWidth()});p.width(v/j[0]);if($.isFunction(i.options.onShow)){i.options.onShow.apply(h,[p,i.options.calendar,i])}return p},_generateMonth:function(b,c,d,e,f,g,h){var j=f.daysInMonth(d,e);var k=c.options.monthsToShow;k=($.isArray(k)?k:[1,k]);var l=c.options.fixedWeeks||(k[0]*k[1]>1);var m=c.options.firstDay;m=(m==null?f.local.firstDay:m);var n=(f.dayOfWeek(d,e,f.minDay)-m+f.daysInWeek())%f.daysInWeek();var o=(l?6:Math.ceil((n+j)/f.daysInWeek()));var p=c.options.selectOtherMonths&&c.options.showOtherMonths;var q=(c.pickingRange?c.selectedDates[0]:c.get('minDate'));var r=c.get('maxDate');var s=g.week.indexOf('{weekOfYear}')>-1;var t=f.today();var u=f.newDate(d,e,f.minDay);u.add(-n-(l&&(u.dayOfWeek()===m||u.daysInMonth()'+($.isFunction(c.options.calculateWeek)?c.options.calculateWeek(u):u.weekOfYear())+'');var A='';for(var B=0;B0){C=(u.compareTo(c.selectedDates[0])!==-1&&u.compareTo(c.selectedDates[1])!==+1)}else{for(var i=0;i'+(c.options.showOtherMonths||u.month()===e?D.content||w(u.day()):' ')+(E?'':''));u.add(1,'d');v++}x+=this._prepare(g.week,c).replace(/\{days\}/g,A).replace(/\{weekOfYear\}/g,z)}var F=this._prepare(g.month,c).match(/\{monthHeader(:[^\}]+)?\}/);F=(F[0].length<=13?'MM yyyy':F[0].substring(13,F[0].length-1));F=(h?this._generateMonthSelection(c,d,e,q,r,F,f,g):f.formatDate(F,f.newDate(d,e,f.minDay),{localNumbers:c.options.localNumbers}));var G=this._prepare(g.weekHeader,c).replace(/\{days\}/g,this._generateDayHeaders(c,f,g));return this._prepare(g.month,c).replace(/\{monthHeader(:[^\}]+)?\}/g,F).replace(/\{weekHeader\}/g,G).replace(/\{weeks\}/g,x)},_generateDayHeaders:function(a,b,c){var d=a.options.firstDay;d=(d==null?b.local.firstDay:d);var e='';for(var f=0;f'+b.local.dayNamesMin[g]+'')}return e},_generateMonthSelection:function(b,c,d,e,f,g,h){if(!b.options.changeMonth){return h.formatDate(g,h.newDate(c,d,1),{localNumbers:b.options.localNumbers})}var i=h.local['monthNames'+(g.match(/mm/i)?'':'Short')];var j=g.replace(/m+/i,'\\x2E').replace(/y+/i,'\\x2F');var k='';var l=h.monthsInYear(c)+h.minMonth;for(var m=h.minMonth;m'+i[m-h.minMonth]+''}}k+=' ';j=j.replace(/\\x2E/,k);var n=b.options.yearRange;if(n==='any'){k=''+''+c+' '+' '}else{n=n.split(':');var o=h.today().year();var p=(n[0].match('c[+-].*')?c+parseInt(n[0].substring(1),10):((n[0].match('[+-].*')?o:0)+parseInt(n[0],10)));var q=(n[1].match('c[+-].*')?c+parseInt(n[1].substring(1),10):((n[1].match('[+-].*')?o:0)+parseInt(n[1],10)));k='';p=h.newDate(p+1,h.firstMonth,h.minDay).add(-1,'d');q=h.newDate(q,h.firstMonth,h.minDay);var r=function(y,a){if(y!==0||h.hasYearZero){k+=''+(a||y)+' '}};if(p.toJD()q){r(q+s,b.options.laterText)}}else{p=(f&&f.compareTo(p)===-1?f:p).year();q=(e&&e.compareTo(q)===+1?e:q).year();var s=Math.floor((p-q)/2);if(!f||f.year()>p){r(p+s,b.options.earlierText)}for(var y=p;y>=q;y--){r(y)}if(!e||e.year()'}j=j.replace(/\\x2F/,k);return j},_prepare:function(e,f){var g=function(a,b){while(true){var c=e.indexOf('{'+a+':start}');if(c===-1){return}var d=e.substring(c).indexOf('{'+a+':end}');if(d>-1){e=e.substring(0,c)+(b?e.substr(c+a.length+8,d-a.length-8):'')+e.substring(c+d+a.length+6)}}};g('inline',f.inline);g('popup',!f.inline);var h=/\{l10n:([^\}]+)\}/;var i=null;while(i=h.exec(e)){e=e.replace(i[0],f.options[i[1]])}return e}});var I=$.calendarsPicker;$(function(){$(document).on('mousedown.'+H,I._checkExternalClick).on('resize.'+H,function(){I.hide(I.curInst)})})})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.plus.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.plus.js
new file mode 100644
index 0000000..a282977
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.plus.js
@@ -0,0 +1,440 @@
+/* http://keith-wood.name/calendars.html
+ Calendars extras for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ $.extend($.calendars.regionalOptions[''], {
+ invalidArguments: 'Invalid arguments',
+ invalidFormat: 'Cannot format a date from another calendar',
+ missingNumberAt: 'Missing number at position {0}',
+ unknownNameAt: 'Unknown name at position {0}',
+ unexpectedLiteralAt: 'Unexpected literal at position {0}',
+ unexpectedText: 'Additional text found at end'
+ });
+ $.calendars.local = $.calendars.regionalOptions[''];
+
+ $.extend($.calendars.cdate.prototype, {
+
+ /** Format this date.
+ Found in the jquery.calendars.plus.js module.
+ @memberof CDate
+ @param [format] {string} The date format to use (see formatDate ).
+ @param [settings] {object} Options for the formatDate function.
+ @return {string} The formatted date. */
+ formatDate: function(format, settings) {
+ if (typeof format !== 'string') {
+ settings = format;
+ format = '';
+ }
+ return this._calendar.formatDate(format || '', this, settings);
+ }
+ });
+
+ $.extend($.calendars.baseCalendar.prototype, {
+
+ UNIX_EPOCH: $.calendars.instance().newDate(1970, 1, 1).toJD(),
+ SECS_PER_DAY: 24 * 60 * 60,
+ TICKS_EPOCH: $.calendars.instance().jdEpoch, // 1 January 0001 CE
+ TICKS_PER_DAY: 24 * 60 * 60 * 10000000,
+
+ /** Date form for ATOM (RFC 3339/ISO 8601).
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ ATOM: 'yyyy-mm-dd',
+ /** Date form for cookies.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ COOKIE: 'D, dd M yyyy',
+ /** Date form for full date.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ FULL: 'DD, MM d, yyyy',
+ /** Date form for ISO 8601.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ ISO_8601: 'yyyy-mm-dd',
+ /** Date form for Julian date.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ JULIAN: 'J',
+ /** Date form for RFC 822.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_822: 'D, d M yy',
+ /** Date form for RFC 850.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_850: 'DD, dd-M-yy',
+ /** Date form for RFC 1036.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_1036: 'D, d M yy',
+ /** Date form for RFC 1123.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_1123: 'D, d M yyyy',
+ /** Date form for RFC 2822.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RFC_2822: 'D, d M yyyy',
+ /** Date form for RSS (RFC 822).
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ RSS: 'D, d M yy',
+ /** Date form for Windows ticks.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ TICKS: '!',
+ /** Date form for Unix timestamp.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ TIMESTAMP: '@',
+ /** Date form for W3c (ISO 8601).
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar */
+ W3C: 'yyyy-mm-dd',
+
+ /** Format a date object into a string value.
+ The format can be combinations of the following:
+
+ d - day of month (no leading zero)
+ dd - day of month (two digit)
+ o - day of year (no leading zeros)
+ oo - day of year (three digit)
+ D - day name short
+ DD - day name long
+ w - week of year (no leading zero)
+ ww - week of year (two digit)
+ m - month of year (no leading zero)
+ mm - month of year (two digit)
+ M - month name short
+ MM - month name long
+ yy - year (two digit)
+ yyyy - year (four digit)
+ YYYY - formatted year
+ J - Julian date (days since January 1, 4713 BCE Greenwich noon)
+ @ - Unix timestamp (s since 01/01/1970)
+ ! - Windows ticks (100ns since 01/01/0001)
+ '...' - literal text
+ '' - single quote
+
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar
+ @param [format] {string} The desired format of the date (defaults to calendar format).
+ @param date {CDate} The date value to format.
+ @param [settings] {object} Addition options, whose attributes include:
+ @property [dayNamesShort] {string[]} Abbreviated names of the days from Sunday.
+ @property [dayNames] {string[]} Names of the days from Sunday.
+ @property [monthNamesShort] {string[]} Abbreviated names of the months.
+ @property [monthNames] {string[]} Names of the months.
+ @property [calculateWeek] {CalendarsPickerCalculateWeek} Function that determines week of the year.
+ @property [localNumbers=false] {boolean} true to localise numbers (if available),
+ false to use normal Arabic numerals.
+ @return {string} The date in the above format.
+ @throws Errors if the date is from a different calendar. */
+ formatDate: function(format, date, settings) {
+ if (typeof format !== 'string') {
+ settings = date;
+ date = format;
+ format = '';
+ }
+ if (!date) {
+ return '';
+ }
+ if (date.calendar() !== this) {
+ throw $.calendars.local.invalidFormat || $.calendars.regionalOptions[''].invalidFormat;
+ }
+ format = format || this.local.dateFormat;
+ settings = settings || {};
+ var dayNamesShort = settings.dayNamesShort || this.local.dayNamesShort;
+ var dayNames = settings.dayNames || this.local.dayNames;
+ var monthNamesShort = settings.monthNamesShort || this.local.monthNamesShort;
+ var monthNames = settings.monthNames || this.local.monthNames;
+ var calculateWeek = settings.calculateWeek || this.local.calculateWeek;
+ // Check whether a format character is doubled
+ var doubled = function(match, step) {
+ var matches = 1;
+ while (iFormat + matches < format.length && format.charAt(iFormat + matches) === match) {
+ matches++;
+ }
+ iFormat += matches - 1;
+ return Math.floor(matches / (step || 1)) > 1;
+ };
+ // Format a number, with leading zeroes if necessary
+ var formatNumber = function(match, value, len, step) {
+ var num = '' + value;
+ if (doubled(match, step)) {
+ while (num.length < len) {
+ num = '0' + num;
+ }
+ }
+ return num;
+ };
+ // Format a name, short or long as requested
+ var formatName = function(match, value, shortNames, longNames) {
+ return (doubled(match) ? longNames[value] : shortNames[value]);
+ };
+ // Localise numbers if requested and available
+ var digits = this.local.digits;
+ var localiseNumbers = function(value) {
+ return (settings.localNumbers && digits ? digits(value) : value);
+ };
+ var output = '';
+ var literal = false;
+ for (var iFormat = 0; iFormat < format.length; iFormat++) {
+ if (literal) {
+ if (format.charAt(iFormat) === "'" && !doubled("'")) {
+ literal = false;
+ }
+ else {
+ output += format.charAt(iFormat);
+ }
+ }
+ else {
+ switch (format.charAt(iFormat)) {
+ case 'd': output += localiseNumbers(formatNumber('d', date.day(), 2)); break;
+ case 'D': output += formatName('D', date.dayOfWeek(),
+ dayNamesShort, dayNames); break;
+ case 'o': output += formatNumber('o', date.dayOfYear(), 3); break;
+ case 'w': output += formatNumber('w', date.weekOfYear(), 2); break;
+ case 'm': output += localiseNumbers(formatNumber('m', date.month(), 2)); break;
+ case 'M': output += formatName('M', date.month() - this.minMonth,
+ monthNamesShort, monthNames); break;
+ case 'y':
+ output += (doubled('y', 2) ? date.year() :
+ (date.year() % 100 < 10 ? '0' : '') + date.year() % 100);
+ break;
+ case 'Y':
+ doubled('Y', 2);
+ output += date.formatYear();
+ break;
+ case 'J': output += date.toJD(); break;
+ case '@': output += (date.toJD() - this.UNIX_EPOCH) * this.SECS_PER_DAY; break;
+ case '!': output += (date.toJD() - this.TICKS_EPOCH) * this.TICKS_PER_DAY; break;
+ case "'":
+ if (doubled("'")) {
+ output += "'";
+ }
+ else {
+ literal = true;
+ }
+ break;
+ default:
+ output += format.charAt(iFormat);
+ }
+ }
+ }
+ return output;
+ },
+
+ /** Parse a string value into a date object.
+ See formatDate for the possible formats, plus:
+
+ * - ignore rest of string
+
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar
+ @param format {string} The expected format of the date ('' for default calendar format).
+ @param value {string} The date in the above format.
+ @param [settings] {object} Additional options whose attributes include:
+ @property [shortYearCutoff] {number} The cutoff year for determining the century.
+ @property [dayNamesShort] {string[]} Abbreviated names of the days from Sunday.
+ @property [dayNames] {string[]} Names of the days from Sunday.
+ @property [monthNamesShort] {string[]} Abbreviated names of the months.
+ @property [monthNames] {string[]} Names of the months.
+ @return {CDate} The extracted date value or null if value is blank.
+ @throws Errors if the format and/or value are missing,
+ if the value doesn't match the format, or if the date is invalid. */
+ parseDate: function(format, value, settings) {
+ if (value == null) {
+ throw $.calendars.local.invalidArguments || $.calendars.regionalOptions[''].invalidArguments;
+ }
+ value = (typeof value === 'object' ? value.toString() : value + '');
+ if (value === '') {
+ return null;
+ }
+ format = format || this.local.dateFormat;
+ settings = settings || {};
+ var shortYearCutoff = settings.shortYearCutoff || this.shortYearCutoff;
+ shortYearCutoff = (typeof shortYearCutoff !== 'string' ? shortYearCutoff :
+ this.today().year() % 100 + parseInt(shortYearCutoff, 10));
+ var dayNamesShort = settings.dayNamesShort || this.local.dayNamesShort;
+ var dayNames = settings.dayNames || this.local.dayNames;
+ var monthNamesShort = settings.monthNamesShort || this.local.monthNamesShort;
+ var monthNames = settings.monthNames || this.local.monthNames;
+ var jd = -1;
+ var year = -1;
+ var month = -1;
+ var day = -1;
+ var doy = -1;
+ var shortYear = false;
+ var literal = false;
+ // Check whether a format character is doubled
+ var doubled = function(match, step) {
+ var matches = 1;
+ while (iFormat + matches < format.length && format.charAt(iFormat + matches) === match) {
+ matches++;
+ }
+ iFormat += matches - 1;
+ return Math.floor(matches / (step || 1)) > 1;
+ };
+ // Extract a number from the string value
+ var getNumber = function(match, step) {
+ var isDoubled = doubled(match, step);
+ var size = [2, 3, isDoubled ? 4 : 2, isDoubled ? 4 : 2, 10, 11, 20]['oyYJ@!'.indexOf(match) + 1];
+ var digits = new RegExp('^-?\\d{1,' + size + '}');
+ var num = value.substring(iValue).match(digits);
+ if (!num) {
+ throw ($.calendars.local.missingNumberAt || $.calendars.regionalOptions[''].missingNumberAt).
+ replace(/\{0\}/, iValue);
+ }
+ iValue += num[0].length;
+ return parseInt(num[0], 10);
+ };
+ // Extract a name from the string value and convert to an index
+ var calendar = this;
+ var getName = function(match, shortNames, longNames, step) {
+ var names = (doubled(match, step) ? longNames : shortNames);
+ for (var i = 0; i < names.length; i++) {
+ if (value.substr(iValue, names[i].length).toLowerCase() === names[i].toLowerCase()) {
+ iValue += names[i].length;
+ return i + calendar.minMonth;
+ }
+ }
+ throw ($.calendars.local.unknownNameAt || $.calendars.regionalOptions[''].unknownNameAt).
+ replace(/\{0\}/, iValue);
+ };
+ // Confirm that a literal character matches the string value
+ var checkLiteral = function() {
+ if (value.charAt(iValue) !== format.charAt(iFormat)) {
+ throw ($.calendars.local.unexpectedLiteralAt ||
+ $.calendars.regionalOptions[''].unexpectedLiteralAt).replace(/\{0\}/, iValue);
+ }
+ iValue++;
+ };
+ var iValue = 0;
+ for (var iFormat = 0; iFormat < format.length; iFormat++) {
+ if (literal) {
+ if (format.charAt(iFormat) === "'" && !doubled("'")) {
+ literal = false;
+ }
+ else {
+ checkLiteral();
+ }
+ }
+ else {
+ switch (format.charAt(iFormat)) {
+ case 'd': day = getNumber('d'); break;
+ case 'D': getName('D', dayNamesShort, dayNames); break;
+ case 'o': doy = getNumber('o'); break;
+ case 'w': getNumber('w'); break;
+ case 'm': month = getNumber('m'); break;
+ case 'M': month = getName('M', monthNamesShort, monthNames); break;
+ case 'y':
+ var iSave = iFormat;
+ shortYear = !doubled('y', 2);
+ iFormat = iSave;
+ year = getNumber('y', 2);
+ break;
+ case 'Y': year = getNumber('Y', 2); break;
+ case 'J':
+ jd = getNumber('J') + 0.5;
+ if (value.charAt(iValue) === '.') {
+ iValue++;
+ getNumber('J');
+ }
+ break;
+ case '@': jd = getNumber('@') / this.SECS_PER_DAY + this.UNIX_EPOCH; break;
+ case '!': jd = getNumber('!') / this.TICKS_PER_DAY + this.TICKS_EPOCH; break;
+ case '*': iValue = value.length; break;
+ case "'":
+ if (doubled("'")) {
+ checkLiteral();
+ }
+ else {
+ literal = true;
+ }
+ break;
+ default: checkLiteral();
+ }
+ }
+ }
+ if (iValue < value.length) {
+ throw $.calendars.local.unexpectedText || $.calendars.regionalOptions[''].unexpectedText;
+ }
+ if (year === -1) {
+ year = this.today().year();
+ }
+ else if (year < 100 && shortYear) {
+ year += (shortYearCutoff === -1 ? 1900 : this.today().year() -
+ this.today().year() % 100 - (year <= shortYearCutoff ? 0 : 100));
+ }
+ if (doy > -1) {
+ month = 1;
+ day = doy;
+ for (var dim = this.daysInMonth(year, month); day > dim; dim = this.daysInMonth(year, month)) {
+ month++;
+ day -= dim;
+ }
+ }
+ return (jd > -1 ? this.fromJD(jd) : this.newDate(year, month, day));
+ },
+
+ /** A date may be specified as an exact value or a relative one.
+ Found in the jquery.calendars.plus.js module.
+ @memberof BaseCalendar
+ @param dateSpec {CDate|number|string} The date as an object or string in the given format or
+ an offset - numeric days from today, or string amounts and periods, e.g. '+1m +2w'.
+ @param defaultDate {CDate} The date to use if no other supplied, may be null.
+ @param currentDate {CDate} The current date as a possible basis for relative dates,
+ if null today is used (optional)
+ @param [dateFormat] {string} The expected date format - see formatDate .
+ @param [settings] {object} Additional options whose attributes include:
+ @property [shortYearCutoff] {number} The cutoff year for determining the century.
+ @property [dayNamesShort] {string[]} Abbreviated names of the days from Sunday.
+ @property [dayNames] {string[]} Names of the days from Sunday.
+ @property [monthNamesShort] {string[]} Abbreviated names of the months.
+ @property [monthNames] {string[]} Names of the months.
+ @return {CDate} The decoded date. */
+ determineDate: function(dateSpec, defaultDate, currentDate, dateFormat, settings) {
+ if (currentDate && typeof currentDate !== 'object') {
+ settings = dateFormat;
+ dateFormat = currentDate;
+ currentDate = null;
+ }
+ if (typeof dateFormat !== 'string') {
+ settings = dateFormat;
+ dateFormat = '';
+ }
+ var calendar = this;
+ var offsetString = function(offset) {
+ try {
+ return calendar.parseDate(dateFormat, offset, settings);
+ }
+ catch (e) {
+ // Ignore
+ }
+ offset = offset.toLowerCase();
+ var date = (offset.match(/^c/) && currentDate ?
+ currentDate.newDate() : null) || calendar.today();
+ var pattern = /([+-]?[0-9]+)\s*(d|w|m|y)?/g;
+ var matches = pattern.exec(offset);
+ while (matches) {
+ date.add(parseInt(matches[1], 10), matches[2] || 'd');
+ matches = pattern.exec(offset);
+ }
+ return date;
+ };
+ defaultDate = (defaultDate ? defaultDate.newDate() : null);
+ dateSpec = (dateSpec == null ? defaultDate :
+ (typeof dateSpec === 'string' ? offsetString(dateSpec) : (typeof dateSpec === 'number' ?
+ (isNaN(dateSpec) || dateSpec === Infinity || dateSpec === -Infinity ? defaultDate :
+ calendar.today().add(dateSpec, 'd')) : calendar.newDate(dateSpec))));
+ return dateSpec;
+ }
+ });
+
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.plus.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.plus.min.js
new file mode 100644
index 0000000..1526813
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.plus.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Calendars extras for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) August 2009.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){$.extend($.calendars.regionalOptions[''],{invalidArguments:'Invalid arguments',invalidFormat:'Cannot format a date from another calendar',missingNumberAt:'Missing number at position {0}',unknownNameAt:'Unknown name at position {0}',unexpectedLiteralAt:'Unexpected literal at position {0}',unexpectedText:'Additional text found at end'});$.calendars.local=$.calendars.regionalOptions[''];$.extend($.calendars.cdate.prototype,{formatDate:function(a,b){if(typeof a!=='string'){b=a;a=''}return this._calendar.formatDate(a||'',this,b)}});$.extend($.calendars.baseCalendar.prototype,{UNIX_EPOCH:$.calendars.instance().newDate(1970,1,1).toJD(),SECS_PER_DAY:24*60*60,TICKS_EPOCH:$.calendars.instance().jdEpoch,TICKS_PER_DAY:24*60*60*10000000,ATOM:'yyyy-mm-dd',COOKIE:'D, dd M yyyy',FULL:'DD, MM d, yyyy',ISO_8601:'yyyy-mm-dd',JULIAN:'J',RFC_822:'D, d M yy',RFC_850:'DD, dd-M-yy',RFC_1036:'D, d M yy',RFC_1123:'D, d M yyyy',RFC_2822:'D, d M yyyy',RSS:'D, d M yy',TICKS:'!',TIMESTAMP:'@',W3C:'yyyy-mm-dd',formatDate:function(f,g,h){if(typeof f!=='string'){h=g;g=f;f=''}if(!g){return''}if(g.calendar()!==this){throw $.calendars.local.invalidFormat||$.calendars.regionalOptions[''].invalidFormat;}f=f||this.local.dateFormat;h=h||{};var i=h.dayNamesShort||this.local.dayNamesShort;var j=h.dayNames||this.local.dayNames;var k=h.monthNamesShort||this.local.monthNamesShort;var l=h.monthNames||this.local.monthNames;var m=h.calculateWeek||this.local.calculateWeek;var n=function(a,b){var c=1;while(u+c1};var o=function(a,b,c,d){var e=''+b;if(n(a,d)){while(e.length1};var x=function(a,b){var c=w(a,b);var d=[2,3,c?4:2,c?4:2,10,11,20]['oyYJ@!'.indexOf(a)+1];var e=new RegExp('^-?\\d{1,'+d+'}');var f=h.substring(B).match(e);if(!f){throw($.calendars.local.missingNumberAt||$.calendars.regionalOptions[''].missingNumberAt).replace(/\{0\}/,B)}B+=f[0].length;return parseInt(f[0],10)};var y=this;var z=function(a,b,c,d){var e=(w(a,d)?c:b);for(var i=0;i-1){r=1;s=t;for(var E=this.daysInMonth(q,r);s>E;E=this.daysInMonth(q,r)){r++;s-=E}}return(p>-1?this.fromJD(p):this.newDate(q,r,s))},determineDate:function(f,g,h,i,j){if(h&&typeof h!=='object'){j=i;i=h;h=null}if(typeof i!=='string'){j=i;i=''}var k=this;var l=function(a){try{return k.parseDate(i,a,j)}catch(e){}a=a.toLowerCase();var b=(a.match(/^c/)&&h?h.newDate():null)||k.today();var c=/([+-]?[0-9]+)\s*(d|w|m|y)?/g;var d=c.exec(a);while(d){b.add(parseInt(d[1],10),d[2]||'d');d=c.exec(a)}return b};g=(g?g.newDate():null);f=(f==null?g:(typeof f==='string'?l(f):(typeof f==='number'?(isNaN(f)||f===Infinity||f===-Infinity?g:k.today().add(f,'d')):k.newDate(f))));return f}})})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.taiwan-zh-TW.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.taiwan-zh-TW.js
new file mode 100644
index 0000000..045bdff
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.taiwan-zh-TW.js
@@ -0,0 +1,20 @@
+/* http://keith-wood.name/calendars.html
+ Traditional Chinese localisation for Taiwanese calendars for jQuery v2.0.2.
+ Written by Ressol (ressol@gmail.com). */
+(function($) {
+ $.calendars.calendars.taiwan.prototype.regionalOptions['zh-TW'] = {
+ name: 'Taiwan',
+ epochs: ['BROC', 'ROC'],
+ monthNames: ['一月','二月','三月','四月','五月','六月',
+ '七月','八月','九月','十月','十一月','十二月'],
+ monthNamesShort: ['一','二','三','四','五','六',
+ '七','八','九','十','十一','十二'],
+ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
+ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
+ dayNamesMin: ['日','一','二','三','四','五','六'],
+ digits: null,
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 1,
+ isRTL: false
+ };
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.taiwan.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.taiwan.js
new file mode 100644
index 0000000..03ed774
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.taiwan.js
@@ -0,0 +1,172 @@
+/* http://keith-wood.name/calendars.html
+ Taiwanese (Minguo) calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) February 2010.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ var gregorianCalendar = $.calendars.instance();
+
+ /** Implementation of the Taiwanese calendar.
+ See http://en.wikipedia.org/wiki/Minguo_calendar.
+ @class TaiwanCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function TaiwanCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ TaiwanCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(TaiwanCalendar.prototype, {
+ /** The calendar name.
+ @memberof TaiwanCalendar */
+ name: 'Taiwan',
+ /** Julian date of start of Taiwan epoch: 1 January 1912 CE (Gregorian).
+ @memberof TaiwanCalendar */
+ jdEpoch: 2419402.5,
+ /** Difference in years between Taiwan and Gregorian calendars.
+ @memberof TaiwanCalendar */
+ yearsOffset: 1911,
+ /** Days per month in a common year.
+ @memberof TaiwanCalendar */
+ daysPerMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
+ /** true if has a year zero, false if not.
+ @memberof TaiwanCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof TaiwanCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof TaiwanCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof TaiwanCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof TaiwanCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Taiwan',
+ epochs: ['BROC', 'ROC'],
+ monthNames: ['January', 'February', 'March', 'April', 'May', 'June',
+ 'July', 'August', 'September', 'October', 'November', 'December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
+ digits: null,
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 1,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof TaiwanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ var year = this._t2gYear(date.year());
+ return gregorianCalendar.leapYear(year);
+ },
+
+ /** Determine the week of the year for a date - ISO 8601.
+ @memberof TaiwanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ var year = this._t2gYear(date.year());
+ return gregorianCalendar.weekOfYear(year, date.month(), date.day());
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof TaiwanCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 2 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof TaiwanCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return (this.dayOfWeek(year, month, day) || 7) < 6;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof TaiwanCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ var year = this._t2gYear(date.year());
+ return gregorianCalendar.toJD(year, date.month(), date.day());
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof TaiwanCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ var date = gregorianCalendar.fromJD(jd);
+ var year = this._g2tYear(date.year());
+ return this.newDate(year, date.month(), date.day());
+ },
+
+ /** Convert Taiwanese to Gregorian year.
+ @memberof TaiwanCalendar
+ @private
+ @param year {number} The Taiwanese year.
+ @return {number} The corresponding Gregorian year. */
+ _t2gYear: function(year) {
+ return year + this.yearsOffset + (year >= -this.yearsOffset && year <= -1 ? 1 : 0);
+ },
+
+ /** Convert Gregorian to Taiwanese year.
+ @memberof TaiwanCalendar
+ @private
+ @param year {number} The Gregorian year.
+ @return {number} The corresponding Taiwanese year. */
+ _g2tYear: function(year) {
+ return year - this.yearsOffset - (year >= 1 && year <= this.yearsOffset ? 1 : 0);
+ }
+ });
+
+ // Taiwan calendar implementation
+ $.calendars.calendars.taiwan = TaiwanCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.taiwan.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.taiwan.min.js
new file mode 100644
index 0000000..4961a95
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.taiwan.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Taiwanese (Minguo) calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) February 2010.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){var e=$.calendars.instance();function TaiwanCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}TaiwanCalendar.prototype=new $.calendars.baseCalendar;$.extend(TaiwanCalendar.prototype,{name:'Taiwan',jdEpoch:2419402.5,yearsOffset:1911,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Taiwan',epochs:['BROC','ROC'],monthNames:['January','February','March','April','May','June','July','August','September','October','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:['Su','Mo','Tu','We','Th','Fr','Sa'],digits:null,dateFormat:'yyyy/mm/dd',firstDay:1,isRTL:false}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);var a=this._t2gYear(b.year());return e.leapYear(a)},weekOfYear:function(a,b,c){var d=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);var a=this._t2gYear(d.year());return e.weekOfYear(a,d.month(),d.day())},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===2&&this.leapYear(c.year())?1:0)},weekDay:function(a,b,c){return(this.dayOfWeek(a,b,c)||7)<6},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);var a=this._t2gYear(d.year());return e.toJD(a,d.month(),d.day())},fromJD:function(a){var b=e.fromJD(a);var c=this._g2tYear(b.year());return this.newDate(c,b.month(),b.day())},_t2gYear:function(a){return a+this.yearsOffset+(a>=-this.yearsOffset&&a<=-1?1:0)},_g2tYear:function(a){return a-this.yearsOffset-(a>=1&&a<=this.yearsOffset?1:0)}});$.calendars.calendars.taiwan=TaiwanCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.thai-th.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.thai-th.js
new file mode 100644
index 0000000..96f0fe3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.thai-th.js
@@ -0,0 +1,20 @@
+/* http://keith-wood.name/calendars.html
+ Thai localisation for Thai calendars for jQuery v2.0.2.
+ Written by pipo (pipo@sixhead.com). */
+(function($) {
+ $.calendars.calendars.thai.prototype.regionalOptions['th'] = {
+ name: 'Thai',
+ epochs: ['BBE', 'BE'],
+ monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
+ 'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
+ monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
+ 'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
+ dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
+ dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
+ dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ };
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.thai.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.thai.js
new file mode 100644
index 0000000..336dd49
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.thai.js
@@ -0,0 +1,172 @@
+/* http://keith-wood.name/calendars.html
+ Thai calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) February 2010.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ var gregorianCalendar = $.calendars.instance();
+
+ /** Implementation of the Thai calendar.
+ See http://en.wikipedia.org/wiki/Thai_calendar.
+ @class ThaiCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function ThaiCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ ThaiCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(ThaiCalendar.prototype, {
+ /** The calendar name.
+ @memberof ThaiCalendar */
+ name: 'Thai',
+ /** Julian date of start of Thai epoch: 1 January 543 BCE (Gregorian).
+ @memberof ThaiCalendar */
+ jdEpoch: 1523098.5,
+ /** Difference in years between Thai and Gregorian calendars.
+ @memberof ThaiCalendar */
+ yearsOffset: 543,
+ /** Days per month in a common year.
+ @memberof ThaiCalendar */
+ daysPerMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
+ /** true if has a year zero, false if not.
+ @memberof ThaiCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof ThaiCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof ThaiCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof ThaiCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof ThaiCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Thai',
+ epochs: ['BBE', 'BE'],
+ monthNames: ['January', 'February', 'March', 'April', 'May', 'June',
+ 'July', 'August', 'September', 'October', 'November', 'December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
+ digits: null,
+ dateFormat: 'dd/mm/yyyy',
+ firstDay: 0,
+ isRTL: false
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof ThaiCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function(year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ var year = this._t2gYear(date.year());
+ return gregorianCalendar.leapYear(year);
+ },
+
+ /** Determine the week of the year for a date - ISO 8601.
+ @memberof ThaiCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function(year, month, day) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ var year = this._t2gYear(date.year());
+ return gregorianCalendar.weekOfYear(year, date.month(), date.day());
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof ThaiCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function(year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ return this.daysPerMonth[date.month() - 1] +
+ (date.month() === 2 && this.leapYear(date.year()) ? 1 : 0);
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof ThaiCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function(year, month, day) {
+ return (this.dayOfWeek(year, month, day) || 7) < 6;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof ThaiCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function(year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ var year = this._t2gYear(date.year());
+ return gregorianCalendar.toJD(year, date.month(), date.day());
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof ThaiCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function(jd) {
+ var date = gregorianCalendar.fromJD(jd);
+ var year = this._g2tYear(date.year());
+ return this.newDate(year, date.month(), date.day());
+ },
+
+ /** Convert Thai to Gregorian year.
+ @memberof ThaiCalendar
+ @private
+ @param year {number} The Thai year.
+ @return {number} The corresponding Gregorian year. */
+ _t2gYear: function(year) {
+ return year - this.yearsOffset - (year >= 1 && year <= this.yearsOffset ? 1 : 0);
+ },
+
+ /** Convert Gregorian to Thai year.
+ @memberof ThaiCalendar
+ @private
+ @param year {number} The Gregorian year.
+ @return {number} The corresponding Thai year. */
+ _g2tYear: function(year) {
+ return year + this.yearsOffset + (year >= -this.yearsOffset && year <= -1 ? 1 : 0);
+ }
+ });
+
+ // Thai calendar implementation
+ $.calendars.calendars.thai = ThaiCalendar;
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.thai.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.thai.min.js
new file mode 100644
index 0000000..77e91f6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.thai.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/calendars.html
+ Thai calendar for jQuery v2.0.2.
+ Written by Keith Wood (wood.keith{at}optusnet.com.au) February 2010.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){var e=$.calendars.instance();function ThaiCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}ThaiCalendar.prototype=new $.calendars.baseCalendar;$.extend(ThaiCalendar.prototype,{name:'Thai',jdEpoch:1523098.5,yearsOffset:543,daysPerMonth:[31,28,31,30,31,30,31,31,30,31,30,31],hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Thai',epochs:['BBE','BE'],monthNames:['January','February','March','April','May','June','July','August','September','October','November','December'],monthNamesShort:['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],dayNamesShort:['Sun','Mon','Tue','Wed','Thu','Fri','Sat'],dayNamesMin:['Su','Mo','Tu','We','Th','Fr','Sa'],digits:null,dateFormat:'dd/mm/yyyy',firstDay:0,isRTL:false}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);var a=this._t2gYear(b.year());return e.leapYear(a)},weekOfYear:function(a,b,c){var d=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);var a=this._t2gYear(d.year());return e.weekOfYear(a,d.month(),d.day())},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);return this.daysPerMonth[c.month()-1]+(c.month()===2&&this.leapYear(c.year())?1:0)},weekDay:function(a,b,c){return(this.dayOfWeek(a,b,c)||7)<6},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);var a=this._t2gYear(d.year());return e.toJD(a,d.month(),d.day())},fromJD:function(a){var b=e.fromJD(a);var c=this._g2tYear(b.year());return this.newDate(c,b.month(),b.day())},_t2gYear:function(a){return a-this.yearsOffset-(a>=1&&a<=this.yearsOffset?1:0)},_g2tYear:function(a){return a+this.yearsOffset+(a>=-this.yearsOffset&&a<=-1?1:0)}});$.calendars.calendars.thai=ThaiCalendar})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ummalqura-ar.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ummalqura-ar.js
new file mode 100644
index 0000000..d5bd1c6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ummalqura-ar.js
@@ -0,0 +1,18 @@
+/* http://keith-wood.name/calendars.html
+ Arabic localisation for UmmAlQura calendar for jQuery v2.0.2.
+ Written by Amro Osama March 2013. */
+(function ($) {
+ $.calendars.calendars.ummalqura.prototype.regionalOptions['ar'] = {
+ name: 'UmmAlQura', // The calendar name
+ epochs: ['BAM', 'AM'],
+ monthNames: ['المحرّم', 'صفر', 'ربيع الأول', 'ربيع الثاني', 'جمادى الاول', 'جمادى الآخر', 'رجب', 'شعبان', 'رمضان', 'شوّال', 'ذو القعدة', 'ذو الحجة'],
+ monthNamesShort: ['المحرّم', 'صفر', 'ربيع الأول', 'ربيع الثاني', 'جمادى الاول', 'جمادى الآخر', 'رجب', 'شعبان', 'رمضان', 'شوّال', 'ذو القعدة', 'ذو الحجة'],
+ dayNames: ['الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesMin: ['الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ dayNamesShort: ['الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
+ digits: $.calendars.substituteDigits(['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩']),
+ dateFormat: 'yyyy/mm/dd', // See format options on BaseCalendar.formatDate
+ firstDay: 6, // The first day of the week, Sat = 0, Sun = 1, ...
+ isRTL: true // True if right-to-left language, false if left-to-right
+ };
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ummalqura.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ummalqura.js
new file mode 100644
index 0000000..0f54490
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ummalqura.js
@@ -0,0 +1,351 @@
+/* http://keith-wood.name/calendars.html
+ UmmAlQura calendar for jQuery v2.0.2.
+ Written by Amro Osama March 2013.
+ Modified by Binnooh.com & www.elm.sa - 2014 - Added dates back to 1276 Hijri year.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function ($) { // Hide scope, no $ conflict
+
+ /** Implementation of the UmmAlQura or 'saudi' calendar.
+ See also http://en.wikipedia.org/wiki/Islamic_calendar#Saudi_Arabia.27s_Umm_al-Qura_calendar .
+ http://www.ummulqura.org.sa/About.aspx
+ http://www.staff.science.uu.nl/~gent0113/islam/ummalqura.htm
+ @class UmmAlQuraCalendar
+ @param [language=''] {string} The language code (default English) for localisation. */
+ function UmmAlQuraCalendar(language) {
+ this.local = this.regionalOptions[language || ''] || this.regionalOptions[''];
+ }
+
+ UmmAlQuraCalendar.prototype = new $.calendars.baseCalendar;
+
+ $.extend(UmmAlQuraCalendar.prototype, {
+ /** The calendar name.
+ @memberof UmmAlQuraCalendar */
+ name: 'UmmAlQura',
+ //jdEpoch: 1948440, // Julian date of start of UmmAlQura epoch: 14 March 1937 CE
+ //daysPerMonth: // Days per month in a common year, replaced by a method.
+ /** true if has a year zero, false if not.
+ @memberof UmmAlQuraCalendar */
+ hasYearZero: false,
+ /** The minimum month number.
+ @memberof UmmAlQuraCalendar */
+ minMonth: 1,
+ /** The first month in the year.
+ @memberof UmmAlQuraCalendar */
+ firstMonth: 1,
+ /** The minimum day number.
+ @memberof UmmAlQuraCalendar */
+ minDay: 1,
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @memberof UmmAlQuraCalendar
+ @property name {string} The calendar name.
+ @property epochs {string[]} The epoch names.
+ @property monthNames {string[]} The long names of the months of the year.
+ @property monthNamesShort {string[]} The short names of the months of the year.
+ @property dayNames {string[]} The long names of the days of the week.
+ @property dayNamesShort {string[]} The short names of the days of the week.
+ @property dayNamesMin {string[]} The minimal names of the days of the week.
+ @property dateFormat {string} The date format for this calendar.
+ See the options on formatDate for details.
+ @property firstDay {number} The number of the first day of the week, starting at 0.
+ @property isRTL {number} true if this localisation reads right-to-left. */
+ regionalOptions: { // Localisations
+ '': {
+ name: 'Umm al-Qura',
+ epochs: ['BH', 'AH'],
+ monthNames: ['Al-Muharram', 'Safar', 'Rabi\' al-awwal', 'Rabi\' Al-Thani', 'Jumada Al-Awwal', 'Jumada Al-Thani',
+ 'Rajab', 'Sha\'aban', 'Ramadan', 'Shawwal', 'Dhu al-Qi\'dah', 'Dhu al-Hijjah'],
+ monthNamesShort: ['Muh', 'Saf', 'Rab1', 'Rab2', 'Jum1', 'Jum2', 'Raj', 'Sha\'', 'Ram', 'Shaw', 'DhuQ', 'DhuH'],
+ dayNames: ['Yawm al-Ahad', 'Yawm al-Ithnain', 'Yawm al-Thalāthā’', 'Yawm al-Arba‘ā’', 'Yawm al-Khamīs', 'Yawm al-Jum‘a', 'Yawm al-Sabt'],
+ dayNamesMin: ['Ah', 'Ith', 'Th', 'Ar', 'Kh', 'Ju', 'Sa'],
+ digits: null,
+ dateFormat: 'yyyy/mm/dd',
+ firstDay: 6,
+ isRTL: true
+ }
+ },
+
+ /** Determine whether this date is in a leap year.
+ @memberof UmmAlQuraCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {boolean} true if this is a leap year, false if not.
+ @throws Error if an invalid year or a different calendar used. */
+ leapYear: function (year) {
+ var date = this._validate(year, this.minMonth, this.minDay, $.calendars.local.invalidYear);
+ return (this.daysInYear(date.year()) === 355);
+ },
+
+ /** Determine the week of the year for a date.
+ @memberof UmmAlQuraCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {number} The week of the year.
+ @throws Error if an invalid date or a different calendar used. */
+ weekOfYear: function (year, month, day) {
+ // Find Sunday of this week starting on Sunday
+ var checkDate = this.newDate(year, month, day);
+ checkDate.add(-checkDate.dayOfWeek(), 'd');
+ return Math.floor((checkDate.dayOfYear() - 1) / 7) + 1;
+ },
+
+ /** Retrieve the number of days in a year.
+ @memberof UmmAlQuraCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @return {number} The number of days.
+ @throws Error if an invalid year or a different calendar used. */
+ daysInYear: function (year) {
+ var daysCount = 0;
+ for (var i = 1; i <= 12; i++) {
+ daysCount += this.daysInMonth(year, i);
+ }
+ return daysCount;
+ },
+
+ /** Retrieve the number of days in a month.
+ @memberof UmmAlQuraCalendar
+ @param year {CDate|number} The date to examine or the year of the month.
+ @param [month] {number} The month.
+ @return {number} The number of days in this month.
+ @throws Error if an invalid month/year or a different calendar used. */
+ daysInMonth: function (year, month) {
+ var date = this._validate(year, month, this.minDay, $.calendars.local.invalidMonth);
+ var mcjdn = date.toJD() - 2400000 + 0.5; // Modified Chronological Julian Day Number (MCJDN)
+ // the MCJDN's of the start of the lunations in the Umm al-Qura calendar are stored in the 'ummalqura_dat' array
+ var index = 0;
+ for (var i = 0; i < ummalqura_dat.length; i++) {
+ if (ummalqura_dat[i] > mcjdn) {
+ return (ummalqura_dat[index] - ummalqura_dat[index - 1]);
+ }
+ index++;
+ }
+ return 30; // Unknown outside
+ },
+
+ /** Determine whether this date is a week day.
+ @memberof UmmAlQuraCalendar
+ @param year {CDate|number} The date to examine or the year to examine.
+ @param [month] {number} The month to examine.
+ @param [day] {number} The day to examine.
+ @return {boolean} true if a week day, false if not.
+ @throws Error if an invalid date or a different calendar used. */
+ weekDay: function (year, month, day) {
+ return this.dayOfWeek(year, month, day) !== 5;
+ },
+
+ /** Retrieve the Julian date equivalent for this date,
+ i.e. days since January 1, 4713 BCE Greenwich noon.
+ @memberof UmmAlQuraCalendar
+ @param year {CDate|number} The date to convert or the year to convert.
+ @param [month] {number} The month to convert.
+ @param [day] {number} The day to convert.
+ @return {number} The equivalent Julian date.
+ @throws Error if an invalid date or a different calendar used. */
+ toJD: function (year, month, day) {
+ var date = this._validate(year, month, day, $.calendars.local.invalidDate);
+ var index = (12 * (date.year() - 1)) + date.month() - 15292;
+ var mcjdn = date.day() + ummalqura_dat[index - 1] - 1;
+ return mcjdn + 2400000 - 0.5; // Modified Chronological Julian Day Number (MCJDN)
+ },
+
+ /** Create a new date from a Julian date.
+ @memberof UmmAlQuraCalendar
+ @param jd {number} The Julian date to convert.
+ @return {CDate} The equivalent date. */
+ fromJD: function (jd) {
+ var mcjdn = jd - 2400000 + 0.5; // Modified Chronological Julian Day Number (MCJDN)
+ // the MCJDN's of the start of the lunations in the Umm al-Qura calendar
+ // are stored in the 'ummalqura_dat' array
+ var index = 0;
+ for (var i = 0; i < ummalqura_dat.length; i++) {
+ if (ummalqura_dat[i] > mcjdn) break;
+ index++;
+ }
+ var lunation = index + 15292; //UmmAlQura Lunation Number
+ var ii = Math.floor((lunation - 1) / 12);
+ var year = ii + 1;
+ var month = lunation - 12 * ii;
+ var day = mcjdn - ummalqura_dat[index - 1] + 1;
+ return this.newDate(year, month, day);
+ },
+
+ /** Determine whether a date is valid for this calendar.
+ @memberof UmmAlQuraCalendar
+ @param year {number} The year to examine.
+ @param month {number} The month to examine.
+ @param day {number} The day to examine.
+ @return {boolean} true if a valid date, false if not. */
+ isValid: function(year, month, day) {
+ var valid = $.calendars.baseCalendar.prototype.isValid.apply(this, arguments);
+ if (valid) {
+ year = (year.year != null ? year.year : year);
+ valid = (year >= 1276 && year <= 1500);
+ }
+ return valid;
+ },
+
+ /** Check that a candidate date is from the same calendar and is valid.
+ @memberof UmmAlQuraCalendar
+ @private
+ @param year {CDate|number} The date to validate or the year to validate.
+ @param month {number} The month to validate.
+ @param day {number} The day to validate.
+ @param error {string} Error message if invalid.
+ @throws Error if different calendars used or invalid date. */
+ _validate: function(year, month, day, error) {
+ var date = $.calendars.baseCalendar.prototype._validate.apply(this, arguments);
+ if (date.year < 1276 || date.year > 1500) {
+ throw error.replace(/\{0\}/, this.local.name);
+ }
+ return date;
+ }
+ });
+
+ // UmmAlQura calendar implementation
+ $.calendars.calendars.ummalqura = UmmAlQuraCalendar;
+
+ var ummalqura_dat = [
+ 20, 50, 79, 109, 138, 168, 197, 227, 256, 286, 315, 345, 374, 404, 433, 463, 492, 522, 551, 581,
+ 611, 641, 670, 700, 729, 759, 788, 818, 847, 877, 906, 936, 965, 995, 1024, 1054, 1083, 1113, 1142, 1172,
+ 1201, 1231, 1260, 1290, 1320, 1350, 1379, 1409, 1438, 1468, 1497, 1527, 1556, 1586, 1615, 1645, 1674, 1704, 1733, 1763,
+ 1792, 1822, 1851, 1881, 1910, 1940, 1969, 1999, 2028, 2058, 2087, 2117, 2146, 2176, 2205, 2235, 2264, 2294, 2323, 2353,
+ 2383, 2413, 2442, 2472, 2501, 2531, 2560, 2590, 2619, 2649, 2678, 2708, 2737, 2767, 2796, 2826, 2855, 2885, 2914, 2944,
+ 2973, 3003, 3032, 3062, 3091, 3121, 3150, 3180, 3209, 3239, 3268, 3298, 3327, 3357, 3386, 3416, 3446, 3476, 3505, 3535,
+ 3564, 3594, 3623, 3653, 3682, 3712, 3741, 3771, 3800, 3830, 3859, 3889, 3918, 3948, 3977, 4007, 4036, 4066, 4095, 4125,
+ 4155, 4185, 4214, 4244, 4273, 4303, 4332, 4362, 4391, 4421, 4450, 4480, 4509, 4539, 4568, 4598, 4627, 4657, 4686, 4716,
+ 4745, 4775, 4804, 4834, 4863, 4893, 4922, 4952, 4981, 5011, 5040, 5070, 5099, 5129, 5158, 5188, 5218, 5248, 5277, 5307,
+ 5336, 5366, 5395, 5425, 5454, 5484, 5513, 5543, 5572, 5602, 5631, 5661, 5690, 5720, 5749, 5779, 5808, 5838, 5867, 5897,
+ 5926, 5956, 5985, 6015, 6044, 6074, 6103, 6133, 6162, 6192, 6221, 6251, 6281, 6311, 6340, 6370, 6399, 6429, 6458, 6488,
+ 6517, 6547, 6576, 6606, 6635, 6665, 6694, 6724, 6753, 6783, 6812, 6842, 6871, 6901, 6930, 6960, 6989, 7019, 7048, 7078,
+ 7107, 7137, 7166, 7196, 7225, 7255, 7284, 7314, 7344, 7374, 7403, 7433, 7462, 7492, 7521, 7551, 7580, 7610, 7639, 7669,
+ 7698, 7728, 7757, 7787, 7816, 7846, 7875, 7905, 7934, 7964, 7993, 8023, 8053, 8083, 8112, 8142, 8171, 8201, 8230, 8260,
+ 8289, 8319, 8348, 8378, 8407, 8437, 8466, 8496, 8525, 8555, 8584, 8614, 8643, 8673, 8702, 8732, 8761, 8791, 8821, 8850,
+ 8880, 8909, 8938, 8968, 8997, 9027, 9056, 9086, 9115, 9145, 9175, 9205, 9234, 9264, 9293, 9322, 9352, 9381, 9410, 9440,
+ 9470, 9499, 9529, 9559, 9589, 9618, 9648, 9677, 9706, 9736, 9765, 9794, 9824, 9853, 9883, 9913, 9943, 9972, 10002, 10032,
+ 10061, 10090, 10120, 10149, 10178, 10208, 10237, 10267, 10297, 10326, 10356, 10386, 10415, 10445, 10474, 10504, 10533, 10562, 10592, 10621,
+ 10651, 10680, 10710, 10740, 10770, 10799, 10829, 10858, 10888, 10917, 10947, 10976, 11005, 11035, 11064, 11094, 11124, 11153, 11183, 11213,
+ 11242, 11272, 11301, 11331, 11360, 11389, 11419, 11448, 11478, 11507, 11537, 11567, 11596, 11626, 11655, 11685, 11715, 11744, 11774, 11803,
+ 11832, 11862, 11891, 11921, 11950, 11980, 12010, 12039, 12069, 12099, 12128, 12158, 12187, 12216, 12246, 12275, 12304, 12334, 12364, 12393,
+ 12423, 12453, 12483, 12512, 12542, 12571, 12600, 12630, 12659, 12688, 12718, 12747, 12777, 12807, 12837, 12866, 12896, 12926, 12955, 12984,
+ 13014, 13043, 13072, 13102, 13131, 13161, 13191, 13220, 13250, 13280, 13310, 13339, 13368, 13398, 13427, 13456, 13486, 13515, 13545, 13574,
+ 13604, 13634, 13664, 13693, 13723, 13752, 13782, 13811, 13840, 13870, 13899, 13929, 13958, 13988, 14018, 14047, 14077, 14107, 14136, 14166,
+ 14195, 14224, 14254, 14283, 14313, 14342, 14372, 14401, 14431, 14461, 14490, 14520, 14550, 14579, 14609, 14638, 14667, 14697, 14726, 14756,
+ 14785, 14815, 14844, 14874, 14904, 14933, 14963, 14993, 15021, 15051, 15081, 15110, 15140, 15169, 15199, 15228, 15258, 15287, 15317, 15347,
+ 15377, 15406, 15436, 15465, 15494, 15524, 15553, 15582, 15612, 15641, 15671, 15701, 15731, 15760, 15790, 15820, 15849, 15878, 15908, 15937,
+ 15966, 15996, 16025, 16055, 16085, 16114, 16144, 16174, 16204, 16233, 16262, 16292, 16321, 16350, 16380, 16409, 16439, 16468, 16498, 16528,
+ 16558, 16587, 16617, 16646, 16676, 16705, 16734, 16764, 16793, 16823, 16852, 16882, 16912, 16941, 16971, 17001, 17030, 17060, 17089, 17118,
+ 17148, 17177, 17207, 17236, 17266, 17295, 17325, 17355, 17384, 17414, 17444, 17473, 17502, 17532, 17561, 17591, 17620, 17650, 17679, 17709,
+ 17738, 17768, 17798, 17827, 17857, 17886, 17916, 17945, 17975, 18004, 18034, 18063, 18093, 18122, 18152, 18181, 18211, 18241, 18270, 18300,
+ 18330, 18359, 18388, 18418, 18447, 18476, 18506, 18535, 18565, 18595, 18625, 18654, 18684, 18714, 18743, 18772, 18802, 18831, 18860, 18890,
+ 18919, 18949, 18979, 19008, 19038, 19068, 19098, 19127, 19156, 19186, 19215, 19244, 19274, 19303, 19333, 19362, 19392, 19422, 19452, 19481,
+ 19511, 19540, 19570, 19599, 19628, 19658, 19687, 19717, 19746, 19776, 19806, 19836, 19865, 19895, 19924, 19954, 19983, 20012, 20042, 20071,
+ 20101, 20130, 20160, 20190, 20219, 20249, 20279, 20308, 20338, 20367, 20396, 20426, 20455, 20485, 20514, 20544, 20573, 20603, 20633, 20662,
+ 20692, 20721, 20751, 20780, 20810, 20839, 20869, 20898, 20928, 20957, 20987, 21016, 21046, 21076, 21105, 21135, 21164, 21194, 21223, 21253,
+ 21282, 21312, 21341, 21371, 21400, 21430, 21459, 21489, 21519, 21548, 21578, 21607, 21637, 21666, 21696, 21725, 21754, 21784, 21813, 21843,
+ 21873, 21902, 21932, 21962, 21991, 22021, 22050, 22080, 22109, 22138, 22168, 22197, 22227, 22256, 22286, 22316, 22346, 22375, 22405, 22434,
+ 22464, 22493, 22522, 22552, 22581, 22611, 22640, 22670, 22700, 22730, 22759, 22789, 22818, 22848, 22877, 22906, 22936, 22965, 22994, 23024,
+ 23054, 23083, 23113, 23143, 23173, 23202, 23232, 23261, 23290, 23320, 23349, 23379, 23408, 23438, 23467, 23497, 23527, 23556, 23586, 23616,
+ 23645, 23674, 23704, 23733, 23763, 23792, 23822, 23851, 23881, 23910, 23940, 23970, 23999, 24029, 24058, 24088, 24117, 24147, 24176, 24206,
+ 24235, 24265, 24294, 24324, 24353, 24383, 24413, 24442, 24472, 24501, 24531, 24560, 24590, 24619, 24648, 24678, 24707, 24737, 24767, 24796,
+ 24826, 24856, 24885, 24915, 24944, 24974, 25003, 25032, 25062, 25091, 25121, 25150, 25180, 25210, 25240, 25269, 25299, 25328, 25358, 25387,
+ 25416, 25446, 25475, 25505, 25534, 25564, 25594, 25624, 25653, 25683, 25712, 25742, 25771, 25800, 25830, 25859, 25888, 25918, 25948, 25977,
+ 26007, 26037, 26067, 26096, 26126, 26155, 26184, 26214, 26243, 26272, 26302, 26332, 26361, 26391, 26421, 26451, 26480, 26510, 26539, 26568,
+ 26598, 26627, 26656, 26686, 26715, 26745, 26775, 26805, 26834, 26864, 26893, 26923, 26952, 26982, 27011, 27041, 27070, 27099, 27129, 27159,
+ 27188, 27218, 27248, 27277, 27307, 27336, 27366, 27395, 27425, 27454, 27484, 27513, 27542, 27572, 27602, 27631, 27661, 27691, 27720, 27750,
+ 27779, 27809, 27838, 27868, 27897, 27926, 27956, 27985, 28015, 28045, 28074, 28104, 28134, 28163, 28193, 28222, 28252, 28281, 28310, 28340,
+ 28369, 28399, 28428, 28458, 28488, 28517, 28547, 28577,
+ // From 1356
+ 28607, 28636, 28665, 28695, 28724, 28754, 28783, 28813, 28843, 28872, 28901, 28931, 28960, 28990, 29019, 29049, 29078, 29108, 29137, 29167,
+ 29196, 29226, 29255, 29285, 29315, 29345, 29375, 29404, 29434, 29463, 29492, 29522, 29551, 29580, 29610, 29640, 29669, 29699, 29729, 29759,
+ 29788, 29818, 29847, 29876, 29906, 29935, 29964, 29994, 30023, 30053, 30082, 30112, 30141, 30171, 30200, 30230, 30259, 30289, 30318, 30348,
+ 30378, 30408, 30437, 30467, 30496, 30526, 30555, 30585, 30614, 30644, 30673, 30703, 30732, 30762, 30791, 30821, 30850, 30880, 30909, 30939,
+ 30968, 30998, 31027, 31057, 31086, 31116, 31145, 31175, 31204, 31234, 31263, 31293, 31322, 31352, 31381, 31411, 31441, 31471, 31500, 31530,
+ 31559, 31589, 31618, 31648, 31676, 31706, 31736, 31766, 31795, 31825, 31854, 31884, 31913, 31943, 31972, 32002, 32031, 32061, 32090, 32120,
+ 32150, 32180, 32209, 32239, 32268, 32298, 32327, 32357, 32386, 32416, 32445, 32475, 32504, 32534, 32563, 32593, 32622, 32652, 32681, 32711,
+ 32740, 32770, 32799, 32829, 32858, 32888, 32917, 32947, 32976, 33006, 33035, 33065, 33094, 33124, 33153, 33183, 33213, 33243, 33272, 33302,
+ 33331, 33361, 33390, 33420, 33450, 33479, 33509, 33539, 33568, 33598, 33627, 33657, 33686, 33716, 33745, 33775, 33804, 33834, 33863, 33893,
+ 33922, 33952, 33981, 34011, 34040, 34069, 34099, 34128, 34158, 34187, 34217, 34247, 34277, 34306, 34336, 34365, 34395, 34424, 34454, 34483,
+ 34512, 34542, 34571, 34601, 34631, 34660, 34690, 34719, 34749, 34778, 34808, 34837, 34867, 34896, 34926, 34955, 34985, 35015, 35044, 35074,
+ 35103, 35133, 35162, 35192, 35222, 35251, 35280, 35310, 35340, 35370, 35399, 35429, 35458, 35488, 35517, 35547, 35576, 35605, 35635, 35665,
+ 35694, 35723, 35753, 35782, 35811, 35841, 35871, 35901, 35930, 35960, 35989, 36019, 36048, 36078, 36107, 36136, 36166, 36195, 36225, 36254,
+ 36284, 36314, 36343, 36373, 36403, 36433, 36462, 36492, 36521, 36551, 36580, 36610, 36639, 36669, 36698, 36728, 36757, 36786, 36816, 36845,
+ 36875, 36904, 36934, 36963, 36993, 37022, 37052, 37081, 37111, 37141, 37170, 37200, 37229, 37259, 37288, 37318, 37347, 37377, 37406, 37436,
+ 37465, 37495, 37524, 37554, 37584, 37613, 37643, 37672, 37701, 37731, 37760, 37790, 37819, 37849, 37878, 37908, 37938, 37967, 37997, 38027,
+ 38056, 38085, 38115, 38144, 38174, 38203, 38233, 38262, 38292, 38322, 38351, 38381, 38410, 38440, 38469, 38499, 38528, 38558, 38587, 38617,
+ 38646, 38676, 38705, 38735, 38764, 38794, 38823, 38853, 38882, 38912, 38941, 38971, 39001, 39030, 39059, 39089, 39118, 39148, 39178, 39208,
+ 39237, 39267, 39297, 39326, 39355, 39385, 39414, 39444, 39473, 39503, 39532, 39562, 39592, 39621, 39650, 39680, 39709, 39739, 39768, 39798,
+ 39827, 39857, 39886, 39916, 39946, 39975, 40005, 40035, 40064, 40094, 40123, 40153, 40182, 40212, 40241, 40271, 40300, 40330, 40359, 40389,
+ 40418, 40448, 40477, 40507, 40536, 40566, 40595, 40625, 40655, 40685, 40714, 40744, 40773, 40803, 40832, 40862, 40892, 40921, 40951, 40980,
+ 41009, 41039, 41068, 41098, 41127, 41157, 41186, 41216, 41245, 41275, 41304, 41334, 41364, 41393, 41422, 41452, 41481, 41511, 41540, 41570,
+ 41599, 41629, 41658, 41688, 41718, 41748, 41777, 41807, 41836, 41865, 41894, 41924, 41953, 41983, 42012, 42042, 42072, 42102, 42131, 42161,
+ 42190, 42220, 42249, 42279, 42308, 42337, 42367, 42397, 42426, 42456, 42485, 42515, 42545, 42574, 42604, 42633, 42662, 42692, 42721, 42751,
+ 42780, 42810, 42839, 42869, 42899, 42929, 42958, 42988, 43017, 43046, 43076, 43105, 43135, 43164, 43194, 43223, 43253, 43283, 43312, 43342,
+ 43371, 43401, 43430, 43460, 43489, 43519, 43548, 43578, 43607, 43637, 43666, 43696, 43726, 43755, 43785, 43814, 43844, 43873, 43903, 43932,
+ 43962, 43991, 44021, 44050, 44080, 44109, 44139, 44169, 44198, 44228, 44258, 44287, 44317, 44346, 44375, 44405, 44434, 44464, 44493, 44523,
+ 44553, 44582, 44612, 44641, 44671, 44700, 44730, 44759, 44788, 44818, 44847, 44877, 44906, 44936, 44966, 44996, 45025, 45055, 45084, 45114,
+ 45143, 45172, 45202, 45231, 45261, 45290, 45320, 45350, 45380, 45409, 45439, 45468, 45498, 45527, 45556, 45586, 45615, 45644, 45674, 45704,
+ 45733, 45763, 45793, 45823, 45852, 45882, 45911, 45940, 45970, 45999, 46028, 46058, 46088, 46117, 46147, 46177, 46206, 46236, 46265, 46295,
+ 46324, 46354, 46383, 46413, 46442, 46472, 46501, 46531, 46560, 46590, 46620, 46649, 46679, 46708, 46738, 46767, 46797, 46826, 46856, 46885,
+ 46915, 46944, 46974, 47003, 47033, 47063, 47092, 47122, 47151, 47181, 47210, 47240, 47269, 47298, 47328, 47357, 47387, 47417, 47446, 47476,
+ 47506, 47535, 47565, 47594, 47624, 47653, 47682, 47712, 47741, 47771, 47800, 47830, 47860, 47890, 47919, 47949, 47978, 48008, 48037, 48066,
+ 48096, 48125, 48155, 48184, 48214, 48244, 48273, 48303, 48333, 48362, 48392, 48421, 48450, 48480, 48509, 48538, 48568, 48598, 48627, 48657,
+ 48687, 48717, 48746, 48776, 48805, 48834, 48864, 48893, 48922, 48952, 48982, 49011, 49041, 49071, 49100, 49130, 49160, 49189, 49218, 49248,
+ 49277, 49306, 49336, 49365, 49395, 49425, 49455, 49484, 49514, 49543, 49573, 49602, 49632, 49661, 49690, 49720, 49749, 49779, 49809, 49838,
+ 49868, 49898, 49927, 49957, 49986, 50016, 50045, 50075, 50104, 50133, 50163, 50192, 50222, 50252, 50281, 50311, 50340, 50370, 50400, 50429,
+ 50459, 50488, 50518, 50547, 50576, 50606, 50635, 50665, 50694, 50724, 50754, 50784, 50813, 50843, 50872, 50902, 50931, 50960, 50990, 51019,
+ 51049, 51078, 51108, 51138, 51167, 51197, 51227, 51256, 51286, 51315, 51345, 51374, 51403, 51433, 51462, 51492, 51522, 51552, 51582, 51611,
+ 51641, 51670, 51699, 51729, 51758, 51787, 51816, 51846, 51876, 51906, 51936, 51965, 51995, 52025, 52054, 52083, 52113, 52142, 52171, 52200,
+ 52230, 52260, 52290, 52319, 52349, 52379, 52408, 52438, 52467, 52497, 52526, 52555, 52585, 52614, 52644, 52673, 52703, 52733, 52762, 52792,
+ 52822, 52851, 52881, 52910, 52939, 52969, 52998, 53028, 53057, 53087, 53116, 53146, 53176, 53205, 53235, 53264, 53294, 53324, 53353, 53383,
+ 53412, 53441, 53471, 53500, 53530, 53559, 53589, 53619, 53648, 53678, 53708, 53737, 53767, 53796, 53825, 53855, 53884, 53913, 53943, 53973,
+ 54003, 54032, 54062, 54092, 54121, 54151, 54180, 54209, 54239, 54268, 54297, 54327, 54357, 54387, 54416, 54446, 54476, 54505, 54535, 54564,
+ 54593, 54623, 54652, 54681, 54711, 54741, 54770, 54800, 54830, 54859, 54889, 54919, 54948, 54977, 55007, 55036, 55066, 55095, 55125, 55154,
+ 55184, 55213, 55243, 55273, 55302, 55332, 55361, 55391, 55420, 55450, 55479, 55508, 55538, 55567, 55597, 55627, 55657, 55686, 55716, 55745,
+ 55775, 55804, 55834, 55863, 55892, 55922, 55951, 55981, 56011, 56040, 56070, 56100, 56129, 56159, 56188, 56218, 56247, 56276, 56306, 56335,
+ 56365, 56394, 56424, 56454, 56483, 56513, 56543, 56572, 56601, 56631, 56660, 56690, 56719, 56749, 56778, 56808, 56837, 56867, 56897, 56926,
+ 56956, 56985, 57015, 57044, 57074, 57103, 57133, 57162, 57192, 57221, 57251, 57280, 57310, 57340, 57369, 57399, 57429, 57458, 57487, 57517,
+ 57546, 57576, 57605, 57634, 57664, 57694, 57723, 57753, 57783, 57813, 57842, 57871, 57901, 57930, 57959, 57989, 58018, 58048, 58077, 58107,
+ 58137, 58167, 58196, 58226, 58255, 58285, 58314, 58343, 58373, 58402, 58432, 58461, 58491, 58521, 58551, 58580, 58610, 58639, 58669, 58698,
+ 58727, 58757, 58786, 58816, 58845, 58875, 58905, 58934, 58964, 58994, 59023, 59053, 59082, 59111, 59141, 59170, 59200, 59229, 59259, 59288,
+ 59318, 59348, 59377, 59407, 59436, 59466, 59495, 59525, 59554, 59584, 59613, 59643, 59672, 59702, 59731, 59761, 59791, 59820, 59850, 59879,
+ 59909, 59939, 59968, 59997, 60027, 60056, 60086, 60115, 60145, 60174, 60204, 60234, 60264, 60293, 60323, 60352, 60381, 60411, 60440, 60469,
+ 60499, 60528, 60558, 60588, 60618, 60648, 60677, 60707, 60736, 60765, 60795, 60824, 60853, 60883, 60912, 60942, 60972, 61002, 61031, 61061,
+ 61090, 61120, 61149, 61179, 61208, 61237, 61267, 61296, 61326, 61356, 61385, 61415, 61445, 61474, 61504, 61533, 61563, 61592, 61621, 61651,
+ 61680, 61710, 61739, 61769, 61799, 61828, 61858, 61888, 61917, 61947, 61976, 62006, 62035, 62064, 62094, 62123, 62153, 62182, 62212, 62242,
+ 62271, 62301, 62331, 62360, 62390, 62419, 62448, 62478, 62507, 62537, 62566, 62596, 62625, 62655, 62685, 62715, 62744, 62774, 62803, 62832,
+ 62862, 62891, 62921, 62950, 62980, 63009, 63039, 63069, 63099, 63128, 63157, 63187, 63216, 63246, 63275, 63305, 63334, 63363, 63393, 63423,
+ 63453, 63482, 63512, 63541, 63571, 63600, 63630, 63659, 63689, 63718, 63747, 63777, 63807, 63836, 63866, 63895, 63925, 63955, 63984, 64014,
+ 64043, 64073, 64102, 64131, 64161, 64190, 64220, 64249, 64279, 64309, 64339, 64368, 64398, 64427, 64457, 64486, 64515, 64545, 64574, 64603,
+ 64633, 64663, 64692, 64722, 64752, 64782, 64811, 64841, 64870, 64899, 64929, 64958, 64987, 65017, 65047, 65076, 65106, 65136, 65166, 65195,
+ 65225, 65254, 65283, 65313, 65342, 65371, 65401, 65431, 65460, 65490, 65520, 65549, 65579, 65608, 65638, 65667, 65697, 65726, 65755, 65785,
+ 65815, 65844, 65874, 65903, 65933, 65963, 65992, 66022, 66051, 66081, 66110, 66140, 66169, 66199, 66228, 66258, 66287, 66317, 66346, 66376,
+ 66405, 66435, 66465, 66494, 66524, 66553, 66583, 66612, 66641, 66671, 66700, 66730, 66760, 66789, 66819, 66849, 66878, 66908, 66937, 66967,
+ 66996, 67025, 67055, 67084, 67114, 67143, 67173, 67203, 67233, 67262, 67292, 67321, 67351, 67380, 67409, 67439, 67468, 67497, 67527, 67557,
+ 67587, 67617, 67646, 67676, 67705, 67735, 67764, 67793, 67823, 67852, 67882, 67911, 67941, 67971, 68000, 68030, 68060, 68089, 68119, 68148,
+ 68177, 68207, 68236, 68266, 68295, 68325, 68354, 68384, 68414, 68443, 68473, 68502, 68532, 68561, 68591, 68620, 68650, 68679, 68708, 68738,
+ 68768, 68797, 68827, 68857, 68886, 68916, 68946, 68975, 69004, 69034, 69063, 69092, 69122, 69152, 69181, 69211, 69240, 69270, 69300, 69330,
+ 69359, 69388, 69418, 69447, 69476, 69506, 69535, 69565, 69595, 69624, 69654, 69684, 69713, 69743, 69772, 69802, 69831, 69861, 69890, 69919,
+ 69949, 69978, 70008, 70038, 70067, 70097, 70126, 70156, 70186, 70215, 70245, 70274, 70303, 70333, 70362, 70392, 70421, 70451, 70481, 70510,
+ 70540, 70570, 70599, 70629, 70658, 70687, 70717, 70746, 70776, 70805, 70835, 70864, 70894, 70924, 70954, 70983, 71013, 71042, 71071, 71101,
+ 71130, 71159, 71189, 71218, 71248, 71278, 71308, 71337, 71367, 71397, 71426, 71455, 71485, 71514, 71543, 71573, 71602, 71632, 71662, 71691,
+ 71721, 71751, 71781, 71810, 71839, 71869, 71898, 71927, 71957, 71986, 72016, 72046, 72075, 72105, 72135, 72164, 72194, 72223, 72253, 72282,
+ 72311, 72341, 72370, 72400, 72429, 72459, 72489, 72518, 72548, 72577, 72607, 72637, 72666, 72695, 72725, 72754, 72784, 72813, 72843, 72872,
+ 72902, 72931, 72961, 72991, 73020, 73050, 73080, 73109, 73139, 73168, 73197, 73227, 73256, 73286, 73315, 73345, 73375, 73404, 73434, 73464,
+ 73493, 73523, 73552, 73581, 73611, 73640, 73669, 73699, 73729, 73758, 73788, 73818, 73848, 73877, 73907, 73936, 73965, 73995, 74024, 74053,
+ 74083, 74113, 74142, 74172, 74202, 74231, 74261, 74291, 74320, 74349, 74379, 74408, 74437, 74467, 74497, 74526, 74556, 74586, 74615, 74645,
+ 74675, 74704, 74733, 74763, 74792, 74822, 74851, 74881, 74910, 74940, 74969, 74999, 75029, 75058, 75088, 75117, 75147, 75176, 75206, 75235,
+ 75264, 75294, 75323, 75353, 75383, 75412, 75442, 75472, 75501, 75531, 75560, 75590, 75619, 75648, 75678, 75707, 75737, 75766, 75796, 75826,
+ 75856, 75885, 75915, 75944, 75974, 76003, 76032, 76062, 76091, 76121, 76150, 76180, 76210, 76239, 76269, 76299, 76328, 76358, 76387, 76416,
+ 76446, 76475, 76505, 76534, 76564, 76593, 76623, 76653, 76682, 76712, 76741, 76771, 76801, 76830, 76859, 76889, 76918, 76948, 76977, 77007,
+ 77036, 77066, 77096, 77125, 77155, 77185, 77214, 77243, 77273, 77302, 77332, 77361, 77390, 77420, 77450, 77479, 77509, 77539, 77569, 77598,
+ 77627, 77657, 77686, 77715, 77745, 77774, 77804, 77833, 77863, 77893, 77923, 77952, 77982, 78011, 78041, 78070, 78099, 78129, 78158, 78188,
+ 78217, 78247, 78277, 78307, 78336, 78366, 78395, 78425, 78454, 78483, 78513, 78542, 78572, 78601, 78631, 78661, 78690, 78720, 78750, 78779,
+ 78808, 78838, 78867, 78897, 78926, 78956, 78985, 79015, 79044, 79074, 79104, 79133, 79163, 79192, 79222, 79251, 79281, 79310, 79340, 79369,
+ 79399, 79428, 79458, 79487, 79517, 79546, 79576, 79606, 79635, 79665, 79695, 79724, 79753, 79783, 79812, 79841, 79871, 79900, 79930, 79960,
+ 79990];
+
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ummalqura.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ummalqura.min.js
new file mode 100644
index 0000000..0666a91
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.ummalqura.min.js
@@ -0,0 +1,7 @@
+/* http://keith-wood.name/calendars.html
+ UmmAlQura calendar for jQuery v2.0.2.
+ Written by Amro Osama March 2013.
+ Modified by Binnooh.com & www.elm.sa - 2014 - Added dates back to 1276 Hijri year.
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){function UmmAlQuraCalendar(a){this.local=this.regionalOptions[a||'']||this.regionalOptions['']}UmmAlQuraCalendar.prototype=new $.calendars.baseCalendar;$.extend(UmmAlQuraCalendar.prototype,{name:'UmmAlQura',hasYearZero:false,minMonth:1,firstMonth:1,minDay:1,regionalOptions:{'':{name:'Umm al-Qura',epochs:['BH','AH'],monthNames:['Al-Muharram','Safar','Rabi\' al-awwal','Rabi\' Al-Thani','Jumada Al-Awwal','Jumada Al-Thani','Rajab','Sha\'aban','Ramadan','Shawwal','Dhu al-Qi\'dah','Dhu al-Hijjah'],monthNamesShort:['Muh','Saf','Rab1','Rab2','Jum1','Jum2','Raj','Sha\'','Ram','Shaw','DhuQ','DhuH'],dayNames:['Yawm al-Ahad','Yawm al-Ithnain','Yawm al-Thalāthā’','Yawm al-Arba‘ā’','Yawm al-Khamīs','Yawm al-Jum‘a','Yawm al-Sabt'],dayNamesMin:['Ah','Ith','Th','Ar','Kh','Ju','Sa'],digits:null,dateFormat:'yyyy/mm/dd',firstDay:6,isRTL:true}},leapYear:function(a){var b=this._validate(a,this.minMonth,this.minDay,$.calendars.local.invalidYear);return(this.daysInYear(b.year())===355)},weekOfYear:function(a,b,c){var d=this.newDate(a,b,c);d.add(-d.dayOfWeek(),'d');return Math.floor((d.dayOfYear()-1)/7)+1},daysInYear:function(a){var b=0;for(var i=1;i<=12;i++){b+=this.daysInMonth(a,i)}return b},daysInMonth:function(a,b){var c=this._validate(a,b,this.minDay,$.calendars.local.invalidMonth);var d=c.toJD()-2400000+0.5;var e=0;for(var i=0;id){return(j[e]-j[e-1])}e++}return 30},weekDay:function(a,b,c){return this.dayOfWeek(a,b,c)!==5},toJD:function(a,b,c){var d=this._validate(a,b,c,$.calendars.local.invalidDate);var e=(12*(d.year()-1))+d.month()-15292;var f=d.day()+j[e-1]-1;return f+2400000-0.5},fromJD:function(a){var b=a-2400000+0.5;var c=0;for(var i=0;ib)break;c++}var d=c+15292;var e=Math.floor((d-1)/12);var f=e+1;var g=d-12*e;var h=b-j[c-1]+1;return this.newDate(f,g,h)},isValid:function(a,b,c){var d=$.calendars.baseCalendar.prototype.isValid.apply(this,arguments);if(d){a=(a.year!=null?a.year:a);d=(a>=1276&&a<=1500)}return d},_validate:function(a,b,c,d){var e=$.calendars.baseCalendar.prototype._validate.apply(this,arguments);if(e.year<1276||e.year>1500){throw d.replace(/\{0\}/,this.local.name)}return e}});$.calendars.calendars.ummalqura=UmmAlQuraCalendar;var j=[20,50,79,109,138,168,197,227,256,286,315,345,374,404,433,463,492,522,551,581,611,641,670,700,729,759,788,818,847,877,906,936,965,995,1024,1054,1083,1113,1142,1172,1201,1231,1260,1290,1320,1350,1379,1409,1438,1468,1497,1527,1556,1586,1615,1645,1674,1704,1733,1763,1792,1822,1851,1881,1910,1940,1969,1999,2028,2058,2087,2117,2146,2176,2205,2235,2264,2294,2323,2353,2383,2413,2442,2472,2501,2531,2560,2590,2619,2649,2678,2708,2737,2767,2796,2826,2855,2885,2914,2944,2973,3003,3032,3062,3091,3121,3150,3180,3209,3239,3268,3298,3327,3357,3386,3416,3446,3476,3505,3535,3564,3594,3623,3653,3682,3712,3741,3771,3800,3830,3859,3889,3918,3948,3977,4007,4036,4066,4095,4125,4155,4185,4214,4244,4273,4303,4332,4362,4391,4421,4450,4480,4509,4539,4568,4598,4627,4657,4686,4716,4745,4775,4804,4834,4863,4893,4922,4952,4981,5011,5040,5070,5099,5129,5158,5188,5218,5248,5277,5307,5336,5366,5395,5425,5454,5484,5513,5543,5572,5602,5631,5661,5690,5720,5749,5779,5808,5838,5867,5897,5926,5956,5985,6015,6044,6074,6103,6133,6162,6192,6221,6251,6281,6311,6340,6370,6399,6429,6458,6488,6517,6547,6576,6606,6635,6665,6694,6724,6753,6783,6812,6842,6871,6901,6930,6960,6989,7019,7048,7078,7107,7137,7166,7196,7225,7255,7284,7314,7344,7374,7403,7433,7462,7492,7521,7551,7580,7610,7639,7669,7698,7728,7757,7787,7816,7846,7875,7905,7934,7964,7993,8023,8053,8083,8112,8142,8171,8201,8230,8260,8289,8319,8348,8378,8407,8437,8466,8496,8525,8555,8584,8614,8643,8673,8702,8732,8761,8791,8821,8850,8880,8909,8938,8968,8997,9027,9056,9086,9115,9145,9175,9205,9234,9264,9293,9322,9352,9381,9410,9440,9470,9499,9529,9559,9589,9618,9648,9677,9706,9736,9765,9794,9824,9853,9883,9913,9943,9972,10002,10032,10061,10090,10120,10149,10178,10208,10237,10267,10297,10326,10356,10386,10415,10445,10474,10504,10533,10562,10592,10621,10651,10680,10710,10740,10770,10799,10829,10858,10888,10917,10947,10976,11005,11035,11064,11094,11124,11153,11183,11213,11242,11272,11301,11331,11360,11389,11419,11448,11478,11507,11537,11567,11596,11626,11655,11685,11715,11744,11774,11803,11832,11862,11891,11921,11950,11980,12010,12039,12069,12099,12128,12158,12187,12216,12246,12275,12304,12334,12364,12393,12423,12453,12483,12512,12542,12571,12600,12630,12659,12688,12718,12747,12777,12807,12837,12866,12896,12926,12955,12984,13014,13043,13072,13102,13131,13161,13191,13220,13250,13280,13310,13339,13368,13398,13427,13456,13486,13515,13545,13574,13604,13634,13664,13693,13723,13752,13782,13811,13840,13870,13899,13929,13958,13988,14018,14047,14077,14107,14136,14166,14195,14224,14254,14283,14313,14342,14372,14401,14431,14461,14490,14520,14550,14579,14609,14638,14667,14697,14726,14756,14785,14815,14844,14874,14904,14933,14963,14993,15021,15051,15081,15110,15140,15169,15199,15228,15258,15287,15317,15347,15377,15406,15436,15465,15494,15524,15553,15582,15612,15641,15671,15701,15731,15760,15790,15820,15849,15878,15908,15937,15966,15996,16025,16055,16085,16114,16144,16174,16204,16233,16262,16292,16321,16350,16380,16409,16439,16468,16498,16528,16558,16587,16617,16646,16676,16705,16734,16764,16793,16823,16852,16882,16912,16941,16971,17001,17030,17060,17089,17118,17148,17177,17207,17236,17266,17295,17325,17355,17384,17414,17444,17473,17502,17532,17561,17591,17620,17650,17679,17709,17738,17768,17798,17827,17857,17886,17916,17945,17975,18004,18034,18063,18093,18122,18152,18181,18211,18241,18270,18300,18330,18359,18388,18418,18447,18476,18506,18535,18565,18595,18625,18654,18684,18714,18743,18772,18802,18831,18860,18890,18919,18949,18979,19008,19038,19068,19098,19127,19156,19186,19215,19244,19274,19303,19333,19362,19392,19422,19452,19481,19511,19540,19570,19599,19628,19658,19687,19717,19746,19776,19806,19836,19865,19895,19924,19954,19983,20012,20042,20071,20101,20130,20160,20190,20219,20249,20279,20308,20338,20367,20396,20426,20455,20485,20514,20544,20573,20603,20633,20662,20692,20721,20751,20780,20810,20839,20869,20898,20928,20957,20987,21016,21046,21076,21105,21135,21164,21194,21223,21253,21282,21312,21341,21371,21400,21430,21459,21489,21519,21548,21578,21607,21637,21666,21696,21725,21754,21784,21813,21843,21873,21902,21932,21962,21991,22021,22050,22080,22109,22138,22168,22197,22227,22256,22286,22316,22346,22375,22405,22434,22464,22493,22522,22552,22581,22611,22640,22670,22700,22730,22759,22789,22818,22848,22877,22906,22936,22965,22994,23024,23054,23083,23113,23143,23173,23202,23232,23261,23290,23320,23349,23379,23408,23438,23467,23497,23527,23556,23586,23616,23645,23674,23704,23733,23763,23792,23822,23851,23881,23910,23940,23970,23999,24029,24058,24088,24117,24147,24176,24206,24235,24265,24294,24324,24353,24383,24413,24442,24472,24501,24531,24560,24590,24619,24648,24678,24707,24737,24767,24796,24826,24856,24885,24915,24944,24974,25003,25032,25062,25091,25121,25150,25180,25210,25240,25269,25299,25328,25358,25387,25416,25446,25475,25505,25534,25564,25594,25624,25653,25683,25712,25742,25771,25800,25830,25859,25888,25918,25948,25977,26007,26037,26067,26096,26126,26155,26184,26214,26243,26272,26302,26332,26361,26391,26421,26451,26480,26510,26539,26568,26598,26627,26656,26686,26715,26745,26775,26805,26834,26864,26893,26923,26952,26982,27011,27041,27070,27099,27129,27159,27188,27218,27248,27277,27307,27336,27366,27395,27425,27454,27484,27513,27542,27572,27602,27631,27661,27691,27720,27750,27779,27809,27838,27868,27897,27926,27956,27985,28015,28045,28074,28104,28134,28163,28193,28222,28252,28281,28310,28340,28369,28399,28428,28458,28488,28517,28547,28577,28607,28636,28665,28695,28724,28754,28783,28813,28843,28872,28901,28931,28960,28990,29019,29049,29078,29108,29137,29167,29196,29226,29255,29285,29315,29345,29375,29404,29434,29463,29492,29522,29551,29580,29610,29640,29669,29699,29729,29759,29788,29818,29847,29876,29906,29935,29964,29994,30023,30053,30082,30112,30141,30171,30200,30230,30259,30289,30318,30348,30378,30408,30437,30467,30496,30526,30555,30585,30614,30644,30673,30703,30732,30762,30791,30821,30850,30880,30909,30939,30968,30998,31027,31057,31086,31116,31145,31175,31204,31234,31263,31293,31322,31352,31381,31411,31441,31471,31500,31530,31559,31589,31618,31648,31676,31706,31736,31766,31795,31825,31854,31884,31913,31943,31972,32002,32031,32061,32090,32120,32150,32180,32209,32239,32268,32298,32327,32357,32386,32416,32445,32475,32504,32534,32563,32593,32622,32652,32681,32711,32740,32770,32799,32829,32858,32888,32917,32947,32976,33006,33035,33065,33094,33124,33153,33183,33213,33243,33272,33302,33331,33361,33390,33420,33450,33479,33509,33539,33568,33598,33627,33657,33686,33716,33745,33775,33804,33834,33863,33893,33922,33952,33981,34011,34040,34069,34099,34128,34158,34187,34217,34247,34277,34306,34336,34365,34395,34424,34454,34483,34512,34542,34571,34601,34631,34660,34690,34719,34749,34778,34808,34837,34867,34896,34926,34955,34985,35015,35044,35074,35103,35133,35162,35192,35222,35251,35280,35310,35340,35370,35399,35429,35458,35488,35517,35547,35576,35605,35635,35665,35694,35723,35753,35782,35811,35841,35871,35901,35930,35960,35989,36019,36048,36078,36107,36136,36166,36195,36225,36254,36284,36314,36343,36373,36403,36433,36462,36492,36521,36551,36580,36610,36639,36669,36698,36728,36757,36786,36816,36845,36875,36904,36934,36963,36993,37022,37052,37081,37111,37141,37170,37200,37229,37259,37288,37318,37347,37377,37406,37436,37465,37495,37524,37554,37584,37613,37643,37672,37701,37731,37760,37790,37819,37849,37878,37908,37938,37967,37997,38027,38056,38085,38115,38144,38174,38203,38233,38262,38292,38322,38351,38381,38410,38440,38469,38499,38528,38558,38587,38617,38646,38676,38705,38735,38764,38794,38823,38853,38882,38912,38941,38971,39001,39030,39059,39089,39118,39148,39178,39208,39237,39267,39297,39326,39355,39385,39414,39444,39473,39503,39532,39562,39592,39621,39650,39680,39709,39739,39768,39798,39827,39857,39886,39916,39946,39975,40005,40035,40064,40094,40123,40153,40182,40212,40241,40271,40300,40330,40359,40389,40418,40448,40477,40507,40536,40566,40595,40625,40655,40685,40714,40744,40773,40803,40832,40862,40892,40921,40951,40980,41009,41039,41068,41098,41127,41157,41186,41216,41245,41275,41304,41334,41364,41393,41422,41452,41481,41511,41540,41570,41599,41629,41658,41688,41718,41748,41777,41807,41836,41865,41894,41924,41953,41983,42012,42042,42072,42102,42131,42161,42190,42220,42249,42279,42308,42337,42367,42397,42426,42456,42485,42515,42545,42574,42604,42633,42662,42692,42721,42751,42780,42810,42839,42869,42899,42929,42958,42988,43017,43046,43076,43105,43135,43164,43194,43223,43253,43283,43312,43342,43371,43401,43430,43460,43489,43519,43548,43578,43607,43637,43666,43696,43726,43755,43785,43814,43844,43873,43903,43932,43962,43991,44021,44050,44080,44109,44139,44169,44198,44228,44258,44287,44317,44346,44375,44405,44434,44464,44493,44523,44553,44582,44612,44641,44671,44700,44730,44759,44788,44818,44847,44877,44906,44936,44966,44996,45025,45055,45084,45114,45143,45172,45202,45231,45261,45290,45320,45350,45380,45409,45439,45468,45498,45527,45556,45586,45615,45644,45674,45704,45733,45763,45793,45823,45852,45882,45911,45940,45970,45999,46028,46058,46088,46117,46147,46177,46206,46236,46265,46295,46324,46354,46383,46413,46442,46472,46501,46531,46560,46590,46620,46649,46679,46708,46738,46767,46797,46826,46856,46885,46915,46944,46974,47003,47033,47063,47092,47122,47151,47181,47210,47240,47269,47298,47328,47357,47387,47417,47446,47476,47506,47535,47565,47594,47624,47653,47682,47712,47741,47771,47800,47830,47860,47890,47919,47949,47978,48008,48037,48066,48096,48125,48155,48184,48214,48244,48273,48303,48333,48362,48392,48421,48450,48480,48509,48538,48568,48598,48627,48657,48687,48717,48746,48776,48805,48834,48864,48893,48922,48952,48982,49011,49041,49071,49100,49130,49160,49189,49218,49248,49277,49306,49336,49365,49395,49425,49455,49484,49514,49543,49573,49602,49632,49661,49690,49720,49749,49779,49809,49838,49868,49898,49927,49957,49986,50016,50045,50075,50104,50133,50163,50192,50222,50252,50281,50311,50340,50370,50400,50429,50459,50488,50518,50547,50576,50606,50635,50665,50694,50724,50754,50784,50813,50843,50872,50902,50931,50960,50990,51019,51049,51078,51108,51138,51167,51197,51227,51256,51286,51315,51345,51374,51403,51433,51462,51492,51522,51552,51582,51611,51641,51670,51699,51729,51758,51787,51816,51846,51876,51906,51936,51965,51995,52025,52054,52083,52113,52142,52171,52200,52230,52260,52290,52319,52349,52379,52408,52438,52467,52497,52526,52555,52585,52614,52644,52673,52703,52733,52762,52792,52822,52851,52881,52910,52939,52969,52998,53028,53057,53087,53116,53146,53176,53205,53235,53264,53294,53324,53353,53383,53412,53441,53471,53500,53530,53559,53589,53619,53648,53678,53708,53737,53767,53796,53825,53855,53884,53913,53943,53973,54003,54032,54062,54092,54121,54151,54180,54209,54239,54268,54297,54327,54357,54387,54416,54446,54476,54505,54535,54564,54593,54623,54652,54681,54711,54741,54770,54800,54830,54859,54889,54919,54948,54977,55007,55036,55066,55095,55125,55154,55184,55213,55243,55273,55302,55332,55361,55391,55420,55450,55479,55508,55538,55567,55597,55627,55657,55686,55716,55745,55775,55804,55834,55863,55892,55922,55951,55981,56011,56040,56070,56100,56129,56159,56188,56218,56247,56276,56306,56335,56365,56394,56424,56454,56483,56513,56543,56572,56601,56631,56660,56690,56719,56749,56778,56808,56837,56867,56897,56926,56956,56985,57015,57044,57074,57103,57133,57162,57192,57221,57251,57280,57310,57340,57369,57399,57429,57458,57487,57517,57546,57576,57605,57634,57664,57694,57723,57753,57783,57813,57842,57871,57901,57930,57959,57989,58018,58048,58077,58107,58137,58167,58196,58226,58255,58285,58314,58343,58373,58402,58432,58461,58491,58521,58551,58580,58610,58639,58669,58698,58727,58757,58786,58816,58845,58875,58905,58934,58964,58994,59023,59053,59082,59111,59141,59170,59200,59229,59259,59288,59318,59348,59377,59407,59436,59466,59495,59525,59554,59584,59613,59643,59672,59702,59731,59761,59791,59820,59850,59879,59909,59939,59968,59997,60027,60056,60086,60115,60145,60174,60204,60234,60264,60293,60323,60352,60381,60411,60440,60469,60499,60528,60558,60588,60618,60648,60677,60707,60736,60765,60795,60824,60853,60883,60912,60942,60972,61002,61031,61061,61090,61120,61149,61179,61208,61237,61267,61296,61326,61356,61385,61415,61445,61474,61504,61533,61563,61592,61621,61651,61680,61710,61739,61769,61799,61828,61858,61888,61917,61947,61976,62006,62035,62064,62094,62123,62153,62182,62212,62242,62271,62301,62331,62360,62390,62419,62448,62478,62507,62537,62566,62596,62625,62655,62685,62715,62744,62774,62803,62832,62862,62891,62921,62950,62980,63009,63039,63069,63099,63128,63157,63187,63216,63246,63275,63305,63334,63363,63393,63423,63453,63482,63512,63541,63571,63600,63630,63659,63689,63718,63747,63777,63807,63836,63866,63895,63925,63955,63984,64014,64043,64073,64102,64131,64161,64190,64220,64249,64279,64309,64339,64368,64398,64427,64457,64486,64515,64545,64574,64603,64633,64663,64692,64722,64752,64782,64811,64841,64870,64899,64929,64958,64987,65017,65047,65076,65106,65136,65166,65195,65225,65254,65283,65313,65342,65371,65401,65431,65460,65490,65520,65549,65579,65608,65638,65667,65697,65726,65755,65785,65815,65844,65874,65903,65933,65963,65992,66022,66051,66081,66110,66140,66169,66199,66228,66258,66287,66317,66346,66376,66405,66435,66465,66494,66524,66553,66583,66612,66641,66671,66700,66730,66760,66789,66819,66849,66878,66908,66937,66967,66996,67025,67055,67084,67114,67143,67173,67203,67233,67262,67292,67321,67351,67380,67409,67439,67468,67497,67527,67557,67587,67617,67646,67676,67705,67735,67764,67793,67823,67852,67882,67911,67941,67971,68000,68030,68060,68089,68119,68148,68177,68207,68236,68266,68295,68325,68354,68384,68414,68443,68473,68502,68532,68561,68591,68620,68650,68679,68708,68738,68768,68797,68827,68857,68886,68916,68946,68975,69004,69034,69063,69092,69122,69152,69181,69211,69240,69270,69300,69330,69359,69388,69418,69447,69476,69506,69535,69565,69595,69624,69654,69684,69713,69743,69772,69802,69831,69861,69890,69919,69949,69978,70008,70038,70067,70097,70126,70156,70186,70215,70245,70274,70303,70333,70362,70392,70421,70451,70481,70510,70540,70570,70599,70629,70658,70687,70717,70746,70776,70805,70835,70864,70894,70924,70954,70983,71013,71042,71071,71101,71130,71159,71189,71218,71248,71278,71308,71337,71367,71397,71426,71455,71485,71514,71543,71573,71602,71632,71662,71691,71721,71751,71781,71810,71839,71869,71898,71927,71957,71986,72016,72046,72075,72105,72135,72164,72194,72223,72253,72282,72311,72341,72370,72400,72429,72459,72489,72518,72548,72577,72607,72637,72666,72695,72725,72754,72784,72813,72843,72872,72902,72931,72961,72991,73020,73050,73080,73109,73139,73168,73197,73227,73256,73286,73315,73345,73375,73404,73434,73464,73493,73523,73552,73581,73611,73640,73669,73699,73729,73758,73788,73818,73848,73877,73907,73936,73965,73995,74024,74053,74083,74113,74142,74172,74202,74231,74261,74291,74320,74349,74379,74408,74437,74467,74497,74526,74556,74586,74615,74645,74675,74704,74733,74763,74792,74822,74851,74881,74910,74940,74969,74999,75029,75058,75088,75117,75147,75176,75206,75235,75264,75294,75323,75353,75383,75412,75442,75472,75501,75531,75560,75590,75619,75648,75678,75707,75737,75766,75796,75826,75856,75885,75915,75944,75974,76003,76032,76062,76091,76121,76150,76180,76210,76239,76269,76299,76328,76358,76387,76416,76446,76475,76505,76534,76564,76593,76623,76653,76682,76712,76741,76771,76801,76830,76859,76889,76918,76948,76977,77007,77036,77066,77096,77125,77155,77185,77214,77243,77273,77302,77332,77361,77390,77420,77450,77479,77509,77539,77569,77598,77627,77657,77686,77715,77745,77774,77804,77833,77863,77893,77923,77952,77982,78011,78041,78070,78099,78129,78158,78188,78217,78247,78277,78307,78336,78366,78395,78425,78454,78483,78513,78542,78572,78601,78631,78661,78690,78720,78750,78779,78808,78838,78867,78897,78926,78956,78985,79015,79044,79074,79104,79133,79163,79192,79222,79251,79281,79310,79340,79369,79399,79428,79458,79487,79517,79546,79576,79606,79635,79665,79695,79724,79753,79783,79812,79841,79871,79900,79930,79960,79990]})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.validation.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.validation.js
new file mode 100644
index 0000000..bb7f73d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.validation.js
@@ -0,0 +1,229 @@
+/* http://keith-wood.name/calendars.html
+ Calendars Validation extension for jQuery 2.0.2.
+ Requires Jörn Zaefferer's Validation plugin (http://plugins.jquery.com/project/validate).
+ Written by Keith Wood (wood.keith{at}optusnet.com.au).
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide the namespace
+
+ /* Add validation methods if validation plugin available. */
+ if ($.fn.validate) {
+
+ $.calendarsPicker.selectDateOrig = $.calendarsPicker.selectDate;
+
+ $.extend($.calendarsPicker.regionalOptions[''], {
+ validateDate: 'Please enter a valid date',
+ validateDateMin: 'Please enter a date on or after {0}',
+ validateDateMax: 'Please enter a date on or before {0}',
+ validateDateMinMax: 'Please enter a date between {0} and {1}',
+ validateDateCompare: 'Please enter a date {0} {1}',
+ validateDateToday: 'today',
+ validateDateOther: 'the other date',
+ validateDateEQ: 'equal to',
+ validateDateNE: 'not equal to',
+ validateDateLT: 'before',
+ validateDateGT: 'after',
+ validateDateLE: 'not after',
+ validateDateGE: 'not before'
+ });
+
+ $.extend($.calendarsPicker.defaultOptions, $.calendarsPicker.regionalOptions['']);
+
+ $.extend($.calendarsPicker, {
+
+ /** Trigger a validation after updating the input field with the selected date.
+ @param elem {Element} The control to examine.
+ @param target {Element} The selected datepicker element. */
+ selectDate: function(elem, target) {
+ this.selectDateOrig(elem, target);
+ var inst = $.calendarsPicker._getInst(elem);
+ if (!inst.inline && $.fn.validate) {
+ var validation = $(elem).parents('form').validate();
+ if (validation) {
+ validation.element('#' + elem.id);
+ }
+ }
+ },
+
+ /** Correct error placement for validation errors - after any trigger.
+ @param error {jQuery} The error message.
+ @param elem {jQuery} The field in error. */
+ errorPlacement: function(error, elem) {
+ var inst = $.calendarsPicker._getInst(elem);
+ if (inst) {
+ error[inst.options.isRTL ? 'insertBefore' : 'insertAfter'](
+ inst.trigger.length > 0 ? inst.trigger : elem);
+ }
+ else {
+ error.insertAfter(elem);
+ }
+ },
+
+ /** Format a validation error message involving dates.
+ @param source {string} The error message.
+ @param params {Date[]} The dates.
+ @return {string} The formatted message. */
+ errorFormat: function(source, params) {
+ var format = ($.calendarsPicker.curInst ?
+ $.calendarsPicker.curInst.get('dateFormat') :
+ $.calendarsPicker.defaultOptions.dateFormat);
+ $.each(params, function(index, value) {
+ source = source.replace(new RegExp('\\{' + index + '\\}', 'g'),
+ value.formatDate(format) || 'nothing');
+ });
+ return source;
+ }
+ });
+
+ var lastElem = null;
+
+ /* Validate date field. */
+ $.validator.addMethod('cpDate', function(value, elem) {
+ lastElem = elem;
+ return this.optional(elem) || validateEach(value, elem);
+ },
+ function(params) {
+ var inst = $.calendarsPicker._getInst(lastElem);
+ var minDate = inst.get('minDate');
+ var maxDate = inst.get('maxDate');
+ var messages = $.calendarsPicker.defaultOptions;
+ return (minDate && maxDate ?
+ $.calendarsPicker.errorFormat(messages.validateDateMinMax, [minDate, maxDate]) :
+ (minDate ? $.calendarsPicker.errorFormat(messages.validateDateMin, [minDate]) :
+ (maxDate ? $.calendarsPicker.errorFormat(messages.validateDateMax, [maxDate]) :
+ messages.validateDate)));
+ });
+
+ /** Apply a validation test to each date provided.
+ @private
+ @param value {string} The current field value.
+ @param elem {Element} The field control.
+ @return {boolean} true if OK, false if failed validation. */
+ function validateEach(value, elem) {
+ var inst = $.calendarsPicker._getInst(elem);
+ var dates = (inst.options.multiSelect ? value.split(inst.options.multiSeparator) :
+ (inst.options.rangeSelect ? value.split(inst.options.rangeSeparator) : [value]));
+ var ok = (inst.options.multiSelect && dates.length <= inst.options.multiSelect) ||
+ (!inst.options.multiSelect && inst.options.rangeSelect && dates.length === 2) ||
+ (!inst.options.multiSelect && !inst.options.rangeSelect && dates.length === 1);
+ if (ok) {
+ try {
+ var dateFormat = inst.get('dateFormat');
+ var minDate = inst.get('minDate');
+ var maxDate = inst.get('maxDate');
+ var cp = $(elem);
+ $.each(dates, function(i, v) {
+ dates[i] = inst.options.calendar.parseDate(dateFormat, v);
+ ok = ok && (!dates[i] || (cp.calendarsPicker('isSelectable', dates[i]) &&
+ (!minDate || dates[i].compareTo(minDate) !== -1) &&
+ (!maxDate || dates[i].compareTo(maxDate) !== +1)));
+ });
+ }
+ catch (e) {
+ ok = false;
+ }
+ }
+ if (ok && inst.options.rangeSelect) {
+ ok = (dates[0].compareTo(dates[1]) !== +1);
+ }
+ return ok;
+ }
+
+ /* And allow as a class rule. */
+ $.validator.addClassRules('cpDate', {cpDate: true});
+
+ var comparisons = {equal: 'eq', same: 'eq', notEqual: 'ne', notSame: 'ne',
+ lessThan: 'lt', before: 'lt', greaterThan: 'gt', after: 'gt',
+ notLessThan: 'ge', notBefore: 'ge', notGreaterThan: 'le', notAfter: 'le'};
+
+ /** Cross-validate date fields.
+ params should be an array with [0] comparison type eq/ne/lt/gt/le/ge or synonyms,
+ [1] 'today' or date string or CDate or other field selector/element/jQuery OR
+ an object with one attribute with name eq/ne/lt/gt/le/ge or synonyms
+ and value 'today' or date string or CDate or other field selector/element/jQuery OR
+ a string with eq/ne/lt/gt/le/ge or synonyms followed by 'today' or date string or jQuery selector. */
+ $.validator.addMethod('cpCompareDate', function(value, elem, params) {
+ if (this.optional(elem)) {
+ return true;
+ }
+ params = normaliseParams(params);
+ var thisDate = $(elem).calendarsPicker('getDate');
+ var thatDate = extractOtherDate(elem, params[1]);
+ if (thisDate.length === 0 || thatDate.length === 0) {
+ return true;
+ }
+ lastElem = elem;
+ var finalResult = true;
+ for (var i = 0; i < thisDate.length; i++) {
+ var result = thisDate[i].compareTo(thatDate[0]);
+ switch (comparisons[params[0]] || params[0]) {
+ case 'eq': finalResult = (result === 0); break;
+ case 'ne': finalResult = (result !== 0); break;
+ case 'lt': finalResult = (result < 0); break;
+ case 'gt': finalResult = (result > 0); break;
+ case 'le': finalResult = (result <= 0); break;
+ case 'ge': finalResult = (result >= 0); break;
+ default: finalResult = true;
+ }
+ if (!finalResult) {
+ break;
+ }
+ }
+ return finalResult;
+ },
+ function(params) {
+ var messages = $.calendarsPicker.defaultOptions;
+ params = normaliseParams(params);
+ var thatDate = extractOtherDate(lastElem, params[1], true);
+ thatDate = (params[1] === 'today' ? messages.validateDateToday :
+ (thatDate.length ? thatDate[0].formatDate() : messages.validateDateOther));
+ return messages.validateDateCompare.replace(/\{0\}/,
+ messages['validateDate' + (comparisons[params[0]] || params[0]).toUpperCase()]).
+ replace(/\{1\}/, thatDate);
+ });
+
+ /** Normalise the comparison parameters to an array.
+ @param params {Array|object|string} The original parameters.
+ @return {Array} The normalised parameters. */
+ function normaliseParams(params) {
+ if (typeof params === 'string') {
+ params = params.split(' ');
+ }
+ else if (!$.isArray(params)) {
+ var opts = [];
+ for (var name in params) {
+ opts[0] = name;
+ opts[1] = params[name];
+ }
+ params = opts;
+ }
+ return params;
+ }
+
+ /** Determine the comparison date.
+ @param elem {Element} The current datepicker element.
+ @param source {string|CDate|jQueryElement} The source of the other date.
+ @param noOther {boolean} true to not get the date from another field.
+ @return {CDate[]} The date for comparison. */
+ function extractOtherDate(elem, source, noOther) {
+ if (source.newDate && source.extraInfo) { // Already a CDate
+ return [source];
+ }
+ var inst = $.calendarsPicker._getInst(elem);
+ var thatDate = null;
+ try {
+ if (typeof source === 'string' && source !== 'today') {
+ thatDate = inst.options.calendar.parseDate(inst.get('dateFormat'), source);
+ }
+ }
+ catch (e) {
+ // Ignore
+ }
+ thatDate = (thatDate ? [thatDate] : (source === 'today' ?
+ [inst.options.calendar.today()] : (noOther ? [] : $(source).calendarsPicker('getDate'))));
+ return thatDate;
+ }
+ }
+
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.validation.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.validation.min.js
new file mode 100644
index 0000000..6206d86
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.calendars.validation.min.js
@@ -0,0 +1,7 @@
+/* http://keith-wood.name/calendars.html
+ Calendars Validation extension for jQuery 2.0.2.
+ Requires Jörn Zaefferer's Validation plugin (http://plugins.jquery.com/project/validate).
+ Written by Keith Wood (wood.keith{at}optusnet.com.au).
+ Available under the MIT (http://keith-wood.name/licence.html) license.
+ Please attribute the author if you use it. */
+(function($){if($.fn.validate){$.calendarsPicker.selectDateOrig=$.calendarsPicker.selectDate;$.extend($.calendarsPicker.regionalOptions[''],{validateDate:'Please enter a valid date',validateDateMin:'Please enter a date on or after {0}',validateDateMax:'Please enter a date on or before {0}',validateDateMinMax:'Please enter a date between {0} and {1}',validateDateCompare:'Please enter a date {0} {1}',validateDateToday:'today',validateDateOther:'the other date',validateDateEQ:'equal to',validateDateNE:'not equal to',validateDateLT:'before',validateDateGT:'after',validateDateLE:'not after',validateDateGE:'not before'});$.extend($.calendarsPicker.defaultOptions,$.calendarsPicker.regionalOptions['']);$.extend($.calendarsPicker,{selectDate:function(a,b){this.selectDateOrig(a,b);var c=$.calendarsPicker._getInst(a);if(!c.inline&&$.fn.validate){var d=$(a).parents('form').validate();if(d){d.element('#'+a.id)}}},errorPlacement:function(a,b){var c=$.calendarsPicker._getInst(b);if(c){a[c.options.isRTL?'insertBefore':'insertAfter'](c.trigger.length>0?c.trigger:b)}else{a.insertAfter(b)}},errorFormat:function(c,d){var e=($.calendarsPicker.curInst?$.calendarsPicker.curInst.get('dateFormat'):$.calendarsPicker.defaultOptions.dateFormat);$.each(d,function(a,b){c=c.replace(new RegExp('\\{'+a+'\\}','g'),b.formatDate(e)||'nothing')});return c}});var l=null;$.validator.addMethod('cpDate',function(a,b){l=b;return this.optional(b)||validateEach(a,b)},function(a){var b=$.calendarsPicker._getInst(l);var c=b.get('minDate');var d=b.get('maxDate');var e=$.calendarsPicker.defaultOptions;return(c&&d?$.calendarsPicker.errorFormat(e.validateDateMinMax,[c,d]):(c?$.calendarsPicker.errorFormat(e.validateDateMin,[c]):(d?$.calendarsPicker.errorFormat(e.validateDateMax,[d]):e.validateDate)))});function validateEach(a,b){var c=$.calendarsPicker._getInst(b);var d=(c.options.multiSelect?a.split(c.options.multiSeparator):(c.options.rangeSelect?a.split(c.options.rangeSeparator):[a]));var f=(c.options.multiSelect&&d.length<=c.options.multiSelect)||(!c.options.multiSelect&&c.options.rangeSelect&&d.length===2)||(!c.options.multiSelect&&!c.options.rangeSelect&&d.length===1);if(f){try{var g=c.get('dateFormat');var h=c.get('minDate');var j=c.get('maxDate');var k=$(b);$.each(d,function(i,v){d[i]=c.options.calendar.parseDate(g,v);f=f&&(!d[i]||(k.calendarsPicker('isSelectable',d[i])&&(!h||d[i].compareTo(h)!==-1)&&(!j||d[i].compareTo(j)!==+1)))})}catch(e){f=false}}if(f&&c.options.rangeSelect){f=(d[0].compareTo(d[1])!==+1)}return f}$.validator.addClassRules('cpDate',{cpDate:true});var m={equal:'eq',same:'eq',notEqual:'ne',notSame:'ne',lessThan:'lt',before:'lt',greaterThan:'gt',after:'gt',notLessThan:'ge',notBefore:'ge',notGreaterThan:'le',notAfter:'le'};$.validator.addMethod('cpCompareDate',function(a,b,c){if(this.optional(b)){return true}c=normaliseParams(c);var d=$(b).calendarsPicker('getDate');var e=extractOtherDate(b,c[1]);if(d.length===0||e.length===0){return true}l=b;var f=true;for(var i=0;i0);break;case'le':f=(g<=0);break;case'ge':f=(g>=0);break;default:f=true}if(!f){break}}return f},function(a){var b=$.calendarsPicker.defaultOptions;a=normaliseParams(a);var c=extractOtherDate(l,a[1],true);c=(a[1]==='today'?b.validateDateToday:(c.length?c[0].formatDate():b.validateDateOther));return b.validateDateCompare.replace(/\{0\}/,b['validateDate'+(m[a[0]]||a[0]).toUpperCase()]).replace(/\{1\}/,c)});function normaliseParams(a){if(typeof a==='string'){a=a.split(' ')}else if(!$.isArray(a)){var b=[];for(var c in a){b[0]=c;b[1]=a[c]}a=b}return a}function extractOtherDate(a,b,c){if(b.newDate&&b.extraInfo){return[b]}var d=$.calendarsPicker._getInst(a);var f=null;try{if(typeof b==='string'&&b!=='today'){f=d.options.calendar.parseDate(d.get('dateFormat'),b)}}catch(e){}f=(f?[f]:(b==='today'?[d.options.calendar.today()]:(c?[]:$(b).calendarsPicker('getDate'))));return f}}})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.plugin.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.plugin.js
new file mode 100644
index 0000000..a05c163
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.plugin.js
@@ -0,0 +1,344 @@
+/* Simple JavaScript Inheritance
+ * By John Resig http://ejohn.org/
+ * MIT Licensed.
+ */
+// Inspired by base2 and Prototype
+(function(){
+ var initializing = false;
+
+ // The base JQClass implementation (does nothing)
+ window.JQClass = function(){};
+
+ // Collection of derived classes
+ JQClass.classes = {};
+
+ // Create a new JQClass that inherits from this class
+ JQClass.extend = function extender(prop) {
+ var base = this.prototype;
+
+ // Instantiate a base class (but only create the instance,
+ // don't run the init constructor)
+ initializing = true;
+ var prototype = new this();
+ initializing = false;
+
+ // Copy the properties over onto the new prototype
+ for (var name in prop) {
+ // Check if we're overwriting an existing function
+ prototype[name] = typeof prop[name] == 'function' &&
+ typeof base[name] == 'function' ?
+ (function(name, fn){
+ return function() {
+ var __super = this._super;
+
+ // Add a new ._super() method that is the same method
+ // but on the super-class
+ this._super = function(args) {
+ return base[name].apply(this, args || []);
+ };
+
+ var ret = fn.apply(this, arguments);
+
+ // The method only need to be bound temporarily, so we
+ // remove it when we're done executing
+ this._super = __super;
+
+ return ret;
+ };
+ })(name, prop[name]) :
+ prop[name];
+ }
+
+ // The dummy class constructor
+ function JQClass() {
+ // All construction is actually done in the init method
+ if (!initializing && this._init) {
+ this._init.apply(this, arguments);
+ }
+ }
+
+ // Populate our constructed prototype object
+ JQClass.prototype = prototype;
+
+ // Enforce the constructor to be what we expect
+ JQClass.prototype.constructor = JQClass;
+
+ // And make this class extendable
+ JQClass.extend = extender;
+
+ return JQClass;
+ };
+})();
+
+(function($) { // Ensure $, encapsulate
+
+ /** Abstract base class for collection plugins v1.0.1.
+ Written by Keith Wood (kbwood{at}iinet.com.au) December 2013.
+ Licensed under the MIT (http://keith-wood.name/licence.html) license.
+ @module $.JQPlugin
+ @abstract */
+ JQClass.classes.JQPlugin = JQClass.extend({
+
+ /** Name to identify this plugin.
+ @example name: 'tabs' */
+ name: 'plugin',
+
+ /** Default options for instances of this plugin (default: {}).
+ @example defaultOptions: {
+ selectedClass: 'selected',
+ triggers: 'click'
+ } */
+ defaultOptions: {},
+
+ /** Options dependent on the locale.
+ Indexed by language and (optional) country code, with '' denoting the default language (English/US).
+ @example regionalOptions: {
+ '': {
+ greeting: 'Hi'
+ }
+ } */
+ regionalOptions: {},
+
+ /** Names of getter methods - those that can't be chained (default: []).
+ @example _getters: ['activeTab'] */
+ _getters: [],
+
+ /** Retrieve a marker class for affected elements.
+ @private
+ @return {string} The marker class. */
+ _getMarker: function() {
+ return 'is-' + this.name;
+ },
+
+ /** Initialise the plugin.
+ Create the jQuery bridge - plugin name xyz
+ produces $.xyz and $.fn.xyz. */
+ _init: function() {
+ // Apply default localisations
+ $.extend(this.defaultOptions, (this.regionalOptions && this.regionalOptions['']) || {});
+ // Camel-case the name
+ var jqName = camelCase(this.name);
+ // Expose jQuery singleton manager
+ $[jqName] = this;
+ // Expose jQuery collection plugin
+ $.fn[jqName] = function(options) {
+ var otherArgs = Array.prototype.slice.call(arguments, 1);
+ if ($[jqName]._isNotChained(options, otherArgs)) {
+ return $[jqName][options].apply($[jqName], [this[0]].concat(otherArgs));
+ }
+ return this.each(function() {
+ if (typeof options === 'string') {
+ if (options[0] === '_' || !$[jqName][options]) {
+ throw 'Unknown method: ' + options;
+ }
+ $[jqName][options].apply($[jqName], [this].concat(otherArgs));
+ }
+ else {
+ $[jqName]._attach(this, options);
+ }
+ });
+ };
+ },
+
+ /** Set default values for all subsequent instances.
+ @param options {object} The new default options.
+ @example $.plugin.setDefauls({name: value}) */
+ setDefaults: function(options) {
+ $.extend(this.defaultOptions, options || {});
+ },
+
+ /** Determine whether a method is a getter and doesn't permit chaining.
+ @private
+ @param name {string} The method name.
+ @param otherArgs {any[]} Any other arguments for the method.
+ @return {boolean} True if this method is a getter, false otherwise. */
+ _isNotChained: function(name, otherArgs) {
+ if (name === 'option' && (otherArgs.length === 0 ||
+ (otherArgs.length === 1 && typeof otherArgs[0] === 'string'))) {
+ return true;
+ }
+ return $.inArray(name, this._getters) > -1;
+ },
+
+ /** Initialise an element. Called internally only.
+ Adds an instance object as data named for the plugin.
+ @param elem {Element} The element to enhance.
+ @param options {object} Overriding settings. */
+ _attach: function(elem, options) {
+ elem = $(elem);
+ if (elem.hasClass(this._getMarker())) {
+ return;
+ }
+ elem.addClass(this._getMarker());
+ options = $.extend({}, this.defaultOptions, this._getMetadata(elem), options || {});
+ var inst = $.extend({name: this.name, elem: elem, options: options},
+ this._instSettings(elem, options));
+ elem.data(this.name, inst); // Save instance against element
+ this._postAttach(elem, inst);
+ this.option(elem, options);
+ },
+
+ /** Retrieve additional instance settings.
+ Override this in a sub-class to provide extra settings.
+ @param elem {jQuery} The current jQuery element.
+ @param options {object} The instance options.
+ @return {object} Any extra instance values.
+ @example _instSettings: function(elem, options) {
+ return {nav: elem.find(options.navSelector)};
+ } */
+ _instSettings: function(elem, options) {
+ return {};
+ },
+
+ /** Plugin specific post initialisation.
+ Override this in a sub-class to perform extra activities.
+ @param elem {jQuery} The current jQuery element.
+ @param inst {object} The instance settings.
+ @example _postAttach: function(elem, inst) {
+ elem.on('click.' + this.name, function() {
+ ...
+ });
+ } */
+ _postAttach: function(elem, inst) {
+ },
+
+ /** Retrieve metadata configuration from the element.
+ Metadata is specified as an attribute:
+ data-<plugin name>="<setting name>: '<value>', ...".
+ Dates should be specified as strings in this format: 'new Date(y, m-1, d)'.
+ @private
+ @param elem {jQuery} The source element.
+ @return {object} The inline configuration or {}. */
+ _getMetadata: function(elem) {
+ try {
+ var data = elem.data(this.name.toLowerCase()) || '';
+ data = data.replace(/'/g, '"');
+ data = data.replace(/([a-zA-Z0-9]+):/g, function(match, group, i) {
+ var count = data.substring(0, i).match(/"/g); // Handle embedded ':'
+ return (!count || count.length % 2 === 0 ? '"' + group + '":' : group + ':');
+ });
+ data = $.parseJSON('{' + data + '}');
+ for (var name in data) { // Convert dates
+ var value = data[name];
+ if (typeof value === 'string' && value.match(/^new Date\((.*)\)$/)) {
+ data[name] = eval(value);
+ }
+ }
+ return data;
+ }
+ catch (e) {
+ return {};
+ }
+ },
+
+ /** Retrieve the instance data for element.
+ @param elem {Element} The source element.
+ @return {object} The instance data or {}. */
+ _getInst: function(elem) {
+ return $(elem).data(this.name) || {};
+ },
+
+ /** Retrieve or reconfigure the settings for a plugin.
+ @param elem {Element} The source element.
+ @param name {object|string} The collection of new option values or the name of a single option.
+ @param [value] {any} The value for a single named option.
+ @return {any|object} If retrieving a single value or all options.
+ @example $(selector).plugin('option', 'name', value)
+ $(selector).plugin('option', {name: value, ...})
+ var value = $(selector).plugin('option', 'name')
+ var options = $(selector).plugin('option') */
+ option: function(elem, name, value) {
+ elem = $(elem);
+ var inst = elem.data(this.name);
+ if (!name || (typeof name === 'string' && value == null)) {
+ var options = (inst || {}).options;
+ return (options && name ? options[name] : options);
+ }
+ if (!elem.hasClass(this._getMarker())) {
+ return;
+ }
+ var options = name || {};
+ if (typeof name === 'string') {
+ options = {};
+ options[name] = value;
+ }
+ this._optionsChanged(elem, inst, options);
+ $.extend(inst.options, options);
+ },
+
+ /** Plugin specific options processing.
+ Old value available in inst.options[name], new value in options[name].
+ Override this in a sub-class to perform extra activities.
+ @param elem {jQuery} The current jQuery element.
+ @param inst {object} The instance settings.
+ @param options {object} The new options.
+ @example _optionsChanged: function(elem, inst, options) {
+ if (options.name != inst.options.name) {
+ elem.removeClass(inst.options.name).addClass(options.name);
+ }
+ } */
+ _optionsChanged: function(elem, inst, options) {
+ },
+
+ /** Remove all trace of the plugin.
+ Override _preDestroy for plugin-specific processing.
+ @param elem {Element} The source element.
+ @example $(selector).plugin('destroy') */
+ destroy: function(elem) {
+ elem = $(elem);
+ if (!elem.hasClass(this._getMarker())) {
+ return;
+ }
+ this._preDestroy(elem, this._getInst(elem));
+ elem.removeData(this.name).removeClass(this._getMarker());
+ },
+
+ /** Plugin specific pre destruction.
+ Override this in a sub-class to perform extra activities and undo everything that was
+ done in the _postAttach or _optionsChanged functions.
+ @param elem {jQuery} The current jQuery element.
+ @param inst {object} The instance settings.
+ @example _preDestroy: function(elem, inst) {
+ elem.off('.' + this.name);
+ } */
+ _preDestroy: function(elem, inst) {
+ }
+ });
+
+ /** Convert names from hyphenated to camel-case.
+ @private
+ @param value {string} The original hyphenated name.
+ @return {string} The camel-case version. */
+ function camelCase(name) {
+ return name.replace(/-([a-z])/g, function(match, group) {
+ return group.toUpperCase();
+ });
+ }
+
+ /** Expose the plugin base.
+ @namespace "$.JQPlugin" */
+ $.JQPlugin = {
+
+ /** Create a new collection plugin.
+ @memberof "$.JQPlugin"
+ @param [superClass='JQPlugin'] {string} The name of the parent class to inherit from.
+ @param overrides {object} The property/function overrides for the new class.
+ @example $.JQPlugin.createPlugin({
+ name: 'tabs',
+ defaultOptions: {selectedClass: 'selected'},
+ _initSettings: function(elem, options) { return {...}; },
+ _postAttach: function(elem, inst) { ... }
+ }); */
+ createPlugin: function(superClass, overrides) {
+ if (typeof superClass === 'object') {
+ overrides = superClass;
+ superClass = 'JQPlugin';
+ }
+ superClass = camelCase(superClass);
+ var className = camelCase(overrides.name);
+ JQClass.classes[className] = JQClass.classes[superClass].extend(overrides);
+ new JQClass.classes[className]();
+ }
+ };
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.plugin.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.plugin.min.js
new file mode 100644
index 0000000..a992db3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/jquery.plugin.min.js
@@ -0,0 +1,4 @@
+/** Abstract base class for collection plugins v1.0.1.
+ Written by Keith Wood (kbwood{at}iinet.com.au) December 2013.
+ Licensed under the MIT (http://keith-wood.name/licence.html) license. */
+(function(){var j=false;window.JQClass=function(){};JQClass.classes={};JQClass.extend=function extender(f){var g=this.prototype;j=true;var h=new this();j=false;for(var i in f){h[i]=typeof f[i]=='function'&&typeof g[i]=='function'?(function(d,e){return function(){var b=this._super;this._super=function(a){return g[d].apply(this,a||[])};var c=e.apply(this,arguments);this._super=b;return c}})(i,f[i]):f[i]}function JQClass(){if(!j&&this._init){this._init.apply(this,arguments)}}JQClass.prototype=h;JQClass.prototype.constructor=JQClass;JQClass.extend=extender;return JQClass}})();(function($){JQClass.classes.JQPlugin=JQClass.extend({name:'plugin',defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return'is-'+this.name},_init:function(){$.extend(this.defaultOptions,(this.regionalOptions&&this.regionalOptions[''])||{});var c=camelCase(this.name);$[c]=this;$.fn[c]=function(a){var b=Array.prototype.slice.call(arguments,1);if($[c]._isNotChained(a,b)){return $[c][a].apply($[c],[this[0]].concat(b))}return this.each(function(){if(typeof a==='string'){if(a[0]==='_'||!$[c][a]){throw'Unknown method: '+a;}$[c][a].apply($[c],[this].concat(b))}else{$[c]._attach(this,a)}})}},setDefaults:function(a){$.extend(this.defaultOptions,a||{})},_isNotChained:function(a,b){if(a==='option'&&(b.length===0||(b.length===1&&typeof b[0]==='string'))){return true}return $.inArray(a,this._getters)>-1},_attach:function(a,b){a=$(a);if(a.hasClass(this._getMarker())){return}a.addClass(this._getMarker());b=$.extend({},this.defaultOptions,this._getMetadata(a),b||{});var c=$.extend({name:this.name,elem:a,options:b},this._instSettings(a,b));a.data(this.name,c);this._postAttach(a,c);this.option(a,b)},_instSettings:function(a,b){return{}},_postAttach:function(a,b){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||'';f=f.replace(/'/g,'"');f=f.replace(/([a-zA-Z0-9]+):/g,function(a,b,i){var c=f.substring(0,i).match(/"/g);return(!c||c.length%2===0?'"'+b+'":':b+':')});f=$.parseJSON('{'+f+'}');for(var g in f){var h=f[g];if(typeof h==='string'&&h.match(/^new Date\((.*)\)$/)){f[g]=eval(h)}}return f}catch(e){return{}}},_getInst:function(a){return $(a).data(this.name)||{}},option:function(a,b,c){a=$(a);var d=a.data(this.name);if(!b||(typeof b==='string'&&c==null)){var e=(d||{}).options;return(e&&b?e[b]:e)}if(!a.hasClass(this._getMarker())){return}var e=b||{};if(typeof b==='string'){e={};e[b]=c}this._optionsChanged(a,d,e);$.extend(d.options,e)},_optionsChanged:function(a,b,c){},destroy:function(a){a=$(a);if(!a.hasClass(this._getMarker())){return}this._preDestroy(a,this._getInst(a));a.removeData(this.name).removeClass(this._getMarker())},_preDestroy:function(a,b){}});function camelCase(c){return c.replace(/-([a-z])/g,function(a,b){return b.toUpperCase()})}$.JQPlugin={createPlugin:function(a,b){if(typeof a==='object'){b=a;a='JQPlugin'}a=camelCase(a);var c=camelCase(b.name);JQClass.classes[c]=JQClass.classes[a].extend(b);new JQClass.classes[c]()}}})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/redmond.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/redmond.calendars.picker.css
new file mode 100644
index 0000000..d056da4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/redmond.calendars.picker.css
@@ -0,0 +1,200 @@
+/* Redmond styling for jQuery Calendars Picker v2.0.0. */
+.calendars {
+ background-color: #fff;
+ color: #222;
+ border: 1px solid #4297d7;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-family: Arial,Helvetica,Sans-serif;
+ font-size: 90%;
+ width: 100% !important;
+}
+.calendars-rtl {
+ direction: rtl;
+}
+.calendars-popup {
+ z-index: 1000;
+}
+.calendars-disable {
+ position: absolute;
+ z-index: 100;
+ background-color: white;
+ opacity: 0.5;
+ filter: alpha(opacity=50);
+}
+.calendars a {
+ color: #222;
+ text-decoration: none;
+}
+.calendars a.calendars-disabled {
+ color: #888;
+ cursor: auto;
+}
+.calendars button {
+ margin: 0.25em;
+ padding: 0.125em 0em;
+ background-color: #5c9ccc;
+ color: #fff;
+ border: none;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-weight: bold;
+}
+.calendars-nav, .calendars-ctrl {
+ float: left;
+ width: 100%;
+ background-color: #fff;
+ font-size: 90%;
+ font-weight: bold;
+}
+.calendars-ctrl {
+ background-color: #d0e5f5;
+}
+.calendars-cmd {
+ width: 30%;
+}
+.calendars-cmd:hover {
+ background-color: #dfeffc;
+}
+button.calendars-cmd:hover {
+ background-color: #79b7e7;
+}
+.calendars-cmd-prevJump, .calendars-cmd-nextJump {
+ width: 8%;
+}
+a.calendars-cmd {
+ height: 1.5em;
+}
+button.calendars-cmd {
+ text-align: center;
+}
+.calendars-cmd-prev, .calendars-cmd-prevJump, .calendars-cmd-clear {
+ float: left;
+ padding-left: 2%;
+}
+.calendars-cmd-current, .calendars-cmd-today {
+ float: left;
+ width: 35%;
+ text-align: center;
+}
+.calendars-cmd-next, .calendars-cmd-nextJump, .calendars-cmd-close {
+ float: right;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-prev, .calendars-rtl .calendars-cmd-prevJump,
+.calendars-rtl .calendars-cmd-clear {
+ float: right;
+ padding-left: 0%;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-current, .calendars-rtl .calendars-cmd-today {
+ float: right;
+}
+.calendars-rtl .calendars-cmd-next, .calendars-rtl .calendars-cmd-nextJump,
+.calendars-rtl .calendars-cmd-close {
+ float: left;
+ padding-left: 2%;
+ padding-right: 0%;
+ text-align: left;
+}
+.calendars-month-nav {
+ float: left;
+ text-align: center;
+}
+.calendars-month-nav div {
+ float: left;
+ width: 12.5%;
+ margin: 1%;
+ padding: 1%;
+}
+.calendars-month-nav span {
+ color: #888;
+}
+.calendars-month-row {
+ clear: left;
+}
+.calendars-month {
+ float: left;
+ width: 20em;
+ border: 1px solid #5c9ccc;
+ text-align: center;
+}
+.calendars-month-header, .calendars-month-header select, .calendars-month-header input {
+ height: 3.5em;
+ background-color: #5c9ccc;
+ color: #fff;
+ font-weight: bold;
+}
+.calendars-month-header select, .calendars-month-header input {
+ height: 1.7em;
+ border: none;
+}
+.calendars-month-header input {
+ position: absolute;
+ display: none;
+}
+.calendars-month table {
+ width: 100%;
+ border-collapse: collapse;
+}
+.calendars-month thead {
+ border-bottom: 1px solid #aaa;
+}
+.calendars-month th, .calendars-month td {
+ margin: 0em;
+ padding: 0em;
+ font-weight: normal;
+ text-align: center;
+}
+.calendars-month th {
+ border: 1px solid #fff;
+ border-bottom: 1px solid #c5dbec;
+}
+.calendars-month td {
+ border: 1px solid #c5dbec;
+}
+.calendars-month td.calendars-week * {
+ background-color: #d0e5f5;
+ color: #222;
+ border: none;
+}
+.calendars-month a {
+ display: block;
+ width: 100%;
+ padding: 0.125em 0em;
+ background-color: #dfeffc;
+ color: #000;
+ text-decoration: none;
+}
+.calendars-month span {
+ display: block;
+ width: 100%;
+ padding: 0.125em 0em;
+}
+.calendars-month td span {
+ color: #888;
+}
+.calendars-month td .calendars-other-month {
+ background-color: #fff;
+}
+.calendars-month td .calendars-today {
+ background-color: #fad42e;
+}
+.calendars-month td .calendars-highlight {
+ background-color: #79b7e7;
+}
+.calendars-month td .calendars-selected {
+ background-color: #4297d7;
+ color: #fff;
+}
+.calendars-status {
+ clear: both;
+ text-align: center;
+}
+.calendars-clear-fix {
+ clear: both;
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/smoothness.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/smoothness.calendars.picker.css
new file mode 100644
index 0000000..8ffa638
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/smoothness.calendars.picker.css
@@ -0,0 +1,200 @@
+/* Smoothness styling for jQuery Calendars Picker v2.0.0. */
+.calendars {
+ background-color: #fff;
+ color: #222;
+ border: 1px solid #aaa;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-family: Arial,Helvetica,Sans-serif;
+ font-size: 90%;
+}
+.calendars-rtl {
+ direction: rtl;
+}
+.calendars-popup {
+ z-index: 1000;
+}
+.calendars-disable {
+ position: absolute;
+ z-index: 100;
+ background-color: white;
+ opacity: 0.5;
+ filter: alpha(opacity=50);
+}
+.calendars a {
+ color: #222;
+ text-decoration: none;
+}
+.calendars a.calendars-disabled {
+ color: #888;
+ cursor: auto;
+}
+.calendars button {
+ margin: 0.25em;
+ padding: 0.125em 0em;
+ background-color: #fcc;
+ border: none;
+ -moz-border-radius: 0.25em;
+ -webkit-border-radius: 0.25em;
+ border-radius: 0.25em;
+ font-weight: bold;
+}
+.calendars-nav, .calendars-ctrl {
+ float: left;
+ width: 100%;
+ background-color: #fff;
+ font-size: 90%;
+ font-weight: bold;
+}
+.calendars-ctrl {
+ background-color: #fee6e3;
+}
+.calendars-cmd {
+ width: 30%;
+}
+.calendars-cmd:hover {
+ background-color: #e0e0e0;
+}
+.calendars-ctrl .calendars-cmd:hover {
+ background-color: #f08080;
+}
+.calendars-cmd-prevJump, .calendars-cmd-nextJump {
+ width: 8%;
+}
+a.calendars-cmd {
+ height: 1.5em;
+}
+button.calendars-cmd {
+ text-align: center;
+}
+.calendars-cmd-prev, .calendars-cmd-prevJump, .calendars-cmd-clear {
+ float: left;
+ padding-left: 2%;
+}
+.calendars-cmd-current, .calendars-cmd-today {
+ float: left;
+ width: 35%;
+ text-align: center;
+}
+.calendars-cmd-next, .calendars-cmd-nextJump, .calendars-cmd-close {
+ float: right;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-prev, .calendars-rtl .calendars-cmd-prevJump,
+.calendars-rtl .calendars-cmd-clear {
+ float: right;
+ padding-left: 0%;
+ padding-right: 2%;
+ text-align: right;
+}
+.calendars-rtl .calendars-cmd-current, .calendars-rtl .calendars-cmd-today {
+ float: right;
+}
+.calendars-rtl .calendars-cmd-next, .calendars-rtl .calendars-cmd-nextJump,
+.calendars-rtl .calendars-cmd-close {
+ float: left;
+ padding-left: 2%;
+ padding-right: 0%;
+ text-align: left;
+}
+.calendars-month-nav {
+ float: left;
+ text-align: center;
+}
+.calendars-month-nav div {
+ float: left;
+ width: 12.5%;
+ margin: 1%;
+ padding: 1%;
+}
+.calendars-month-nav span {
+ color: #888;
+}
+.calendars-month-row {
+ clear: left;
+}
+.calendars-month {
+ float: left;
+ width: 15em;
+ border: 1px solid #aaa;
+ text-align: center;
+}
+.calendars-month-header, .calendars-month-header select, .calendars-month-header input {
+ height: 1.5em;
+ background-color: #e0e0e0;
+ color: #222;
+ font-weight: bold;
+}
+.calendars-month-header select, .calendars-month-header input {
+ height: 1.4em;
+ border: none;
+}
+.calendars-month-header input {
+ position: absolute;
+ display: none;
+}
+.calendars-month table {
+ width: 100%;
+ border-collapse: collapse;
+}
+.calendars-month thead {
+ border-bottom: 1px solid #aaa;
+}
+.calendars-month th, .calendars-month td {
+ margin: 0em;
+ padding: 0em;
+ font-weight: normal;
+ text-align: center;
+}
+.calendars-month thead tr {
+ border: 1px solid #aaa;
+}
+.calendars-month td {
+ background-color: #eee;
+ border: 1px solid #aaa;
+}
+.calendars-month td.calendars-week * {
+ background-color: #e0e0e0;
+ color: #222;
+ border: none;
+}
+.calendars-month a {
+ display: block;
+ width: 100%;
+ padding: 0.125em 0em;
+ background-color: #eee;
+ color: #000;
+ text-decoration: none;
+}
+.calendars-month span {
+ display: block;
+ width: 100%;
+ padding: 0.125em 0em;
+}
+.calendars-month td span {
+ color: #888;
+}
+.calendars-month td .calendars-other-month {
+ background-color: #fff;
+}
+.calendars-month td .calendars-weekend {
+ background-color: #ddd;
+}
+.calendars-month td .calendars-today {
+ background-color: #fbf9ee;
+}
+.calendars-month td .calendars-highlight {
+ background-color: #dadada;
+}
+.calendars-month td .calendars-selected {
+ background-color: #fcc;
+}
+.calendars-status {
+ clear: both;
+ text-align: center;
+}
+.calendars-clear-fix {
+ clear: both;
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-black-tie.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-black-tie.calendars.picker.css
new file mode 100644
index 0000000..8b2662b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-black-tie.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Blacktie override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #eeeeee; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #1c1c1c; /* Set (.ui-state-hover) colours from theme here */
+ color: #ffffff;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #333333; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #363636; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-blitzer.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-blitzer.calendars.picker.css
new file mode 100644
index 0000000..8ba0b1b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-blitzer.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Blitzer override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #f6f6f6; /* Set (.ui-state-hover) colours from theme here */
+ color: #111111;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #cc0000; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #555555; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-cupertino.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-cupertino.calendars.picker.css
new file mode 100644
index 0000000..422d055
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-cupertino.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Cupertino override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #222222; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #f0f0f0; /* Set (.ui-state-hover) colours from theme here */
+ color: #0b5b98;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #e7eef3; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #363636; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-dark-hive.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-dark-hive.calendars.picker.css
new file mode 100644
index 0000000..9e8ed89
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-dark-hive.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Dark Hive override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #003147; /* Set (.ui-state-hover) colours from theme here */
+ color: #ffffff;;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #444444; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #eeeeee; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-dot-luv.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-dot-luv.calendars.picker.css
new file mode 100644
index 0000000..565ede6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-dot-luv.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller DotLuv override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #f6f6f6; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #00498f; /* Set (.ui-state-hover) colours from theme here */
+ color: #ffffff;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #0b3e6f; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #ffffff; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-eggplant.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-eggplant.calendars.picker.css
new file mode 100644
index 0000000..d2b61da
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-eggplant.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Eggplant override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #eae6ea; /* Set (.ui-state-hover) colours from theme here */
+ color: #734d99;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #30273a; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #fafafa; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-excite-bike.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-excite-bike.calendars.picker.css
new file mode 100644
index 0000000..4791e44
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-excite-bike.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller ExciteBike override style sheet for jQuery dCalendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #e69700; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #2293f7; /* Set (.ui-state-hover) colours from theme here */
+ color: #ffffff;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #f9f9f9; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #333333; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-flick.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-flick.calendars.picker.css
new file mode 100644
index 0000000..c133db1
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-flick.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Flick override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #444444; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #0073ea; /* Set (.ui-state-hover) colours from theme here */
+ color: #ffffff;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #dddddd; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #444444; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-hot-sneaks.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-hot-sneaks.calendars.picker.css
new file mode 100644
index 0000000..c6a5814
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-hot-sneaks.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller HotSneaks override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #e1e463; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #ccd232; /* Set (.ui-state-hover) colours from theme here */
+ color: #212121;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #35414f; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #363636; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-humanity.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-humanity.calendars.picker.css
new file mode 100644
index 0000000..01702fe
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-humanity.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Humanity override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #f5f0e5; /* Set (.ui-state-hover) colours from theme here */
+ color: #a46313;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #cb842e; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #060200; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-le-frog.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-le-frog.calendars.picker.css
new file mode 100644
index 0000000..eaccc66
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-le-frog.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Le Frog override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #4eb305; /* Set (.ui-state-hover) colours from theme here */
+ color: #ffffff;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #3a8104; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #363636; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-mint-choc.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-mint-choc.calendars.picker.css
new file mode 100644
index 0000000..1325424
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-mint-choc.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller MintChoc override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #222222; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #44372c; /* Set (.ui-state-hover) colours from theme here */
+ color: #add978;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #cdc2a1; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #ffffff; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-overcast.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-overcast.calendars.picker.css
new file mode 100644
index 0000000..6c78b0b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-overcast.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Overcast override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #444444; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #f8f8f8; /* Set (.ui-state-hover) colours from theme here */
+ color: #599fcf;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #dddddd; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #444444; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-pepper-grinder.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-pepper-grinder.calendars.picker.css
new file mode 100644
index 0000000..103756a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-pepper-grinder.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Pepper Grinder override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #453821; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #654b24; /* Set (.ui-state-hover) colours from theme here */
+ color: #ffffff;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #ffffff; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #3a3427; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-redmond.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-redmond.calendars.picker.css
new file mode 100644
index 0000000..f1f7d0c
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-redmond.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Redmond override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #d0e5f5; /* Set (.ui-state-hover) colours from theme here */
+ color: #1d5987;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #5c9ccc; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #363636; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-smoothness.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-smoothness.calendars.picker.css
new file mode 100644
index 0000000..9db02b3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-smoothness.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Smoothness override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #222222; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #dadada; /* Set (.ui-state-hover) colours from theme here */
+ color: #212121;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #cccccc; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #363636; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-south-street.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-south-street.calendars.picker.css
new file mode 100644
index 0000000..16fb092
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-south-street.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller SouthStreet override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #222222; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #5a9d1a; /* Set (.ui-state-hover) colours from theme here */
+ color: #ffffff;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #d3e9a0; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #363636; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-start.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-start.calendars.picker.css
new file mode 100644
index 0000000..1dfe0db
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-start.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Start override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #eaf5f7; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #79c9ec; /* Set (.ui-state-hover) colours from theme here */
+ color: #026890;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #2191c0; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #915608; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-sunny.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-sunny.calendars.picker.css
new file mode 100644
index 0000000..76194e3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-sunny.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Sunny override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #ffdd57; /* Set (.ui-state-hover) colours from theme here */
+ color: #381f00;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #817865; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #1f1f1f; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-swanky-purse.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-swanky-purse.calendars.picker.css
new file mode 100644
index 0000000..858f4f4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-swanky-purse.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller SwankyPurse override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #eacd86; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #675423; /* Set (.ui-state-hover) colours from theme here */
+ color: #f8eec9;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #261803; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #060200; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-trontastic.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-trontastic.calendars.picker.css
new file mode 100644
index 0000000..2eca991
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-trontastic.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller TronTastic override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #222222; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #000000; /* Set (.ui-state-hover) colours from theme here */
+ color: #96f226;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #9fda58; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #030303; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-ui-darkness.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-ui-darkness.calendars.picker.css
new file mode 100644
index 0000000..9c9eea3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-ui-darkness.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller UI Darkness override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #0078a3; /* Set (.ui-state-hover) colours from theme here */
+ color: #ffffff;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #333333; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #2e7db2; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-ui-lightness.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-ui-lightness.calendars.picker.css
new file mode 100644
index 0000000..55dbcf3
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-ui-lightness.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller UI Lightness override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #fdf5ce; /* Set (.ui-state-hover) colours from theme here */
+ color: #c77405;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #f6a828; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #363636; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-vader.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-vader.calendars.picker.css
new file mode 100644
index 0000000..1f1f0ff
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui-vader.calendars.picker.css
@@ -0,0 +1,18 @@
+/* ThemeRoller Vader override style sheet for jQuery Calendars Picker v2.0.0. */
+@import "ui.calendars.picker.css";
+
+.ui-widget-header a,
+.ui-widget-header select {
+ color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */
+}
+.ui-widget-header a:hover {
+ background-color: #dddddd; /* Set (.ui-state-hover) colours from theme here */
+ color: #000000;
+}
+.ui-widget-header select,
+.ui-widget-header option {
+ background-color: #888888; /* Set (.ui-widget-header) background colour from theme here */
+}
+.ui-state-highlight a {
+ color: #cccccc; /* Set (.ui-state-highlight) colour from theme here */
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui.calendars.picker.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui.calendars.picker.css
new file mode 100644
index 0000000..2baeaa7
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.calendars.package-2.0.2/ui.calendars.picker.css
@@ -0,0 +1,107 @@
+/* ThemeRoller override style sheet for jQuery Calendars Picker v2.0.0. */
+.ui-datepicker {
+ display: block;
+}
+#ui-datepicker-div,
+.ui-datepicker-inline {
+ width: 17em;
+ font-size: 75%;
+}
+#ui-datepicker-div {
+ z-index: 100;
+}
+.ui-datepicker-inline {
+ float: left;
+}
+.ui-datepicker-rtl {
+ direction: rtl;
+}
+#ui-datepicker-div a,
+.ui-datepicker-inline a {
+ text-decoration: none;
+}
+.ui-datepicker-prompt {
+ height: 1.5em;
+ padding-top: 0.25em;
+ text-align: center;
+}
+button.ui-datepicker-cmd {
+ height: 2em;
+}
+.ui-datepicker-cmd-clear {
+ float: left;
+ margin-left: 0.25em;
+}
+.ui-datepicker-cmd-close {
+ float: right;
+ margin-right: 0.25em;
+}
+.ui-datepicker-cmd-prev {
+ position: static;
+ float: left;
+ width: 30%;
+ height: auto;
+ margin-left: 1%;
+}
+.ui-datepicker-cmd-next {
+ position: static;
+ float: right;
+ width: 30%;
+ height: auto;
+ margin-right: 1%;
+ text-align: right;
+}
+.ui-datepicker-cmd-current,
+.ui-datepicker-cmd-today {
+ float: left;
+ width: 37%;
+ text-align: center;
+}
+.ui-datepicker-month-nav {
+ float: left;
+ text-align: center;
+}
+.ui-datepicker-month-nav div {
+ float: left;
+ width: 12.5%;
+ margin: 1%;
+ padding: 1%;
+}
+.ui-datepicker-month-nav span {
+ color: #888;
+}
+.ui-datepicker-row-break {
+ width: 100%;
+ font-size: 100%;
+}
+.ui-datepicker-group {
+ float: left;
+ width: 17em;
+}
+.ui-datepicker-group .ui-datepicker-header {
+ height: 1.5em;
+ text-align: center;
+}
+.ui-datepicker select,
+.ui-datepicker-inline select {
+ width: auto;
+ height: 1.66em;
+ border: none;
+ font-weight: bold;
+}
+.ui-datepicker th {
+ padding: 0.5em 0.3em;
+}
+.ui-datepicker td,
+.ui-datepicker td a,
+.ui-datepicker td span {
+ border: 1px solid transparent;
+ text-align: center;
+}
+.ui-datepicker-status {
+ padding: 0.25em 0em;
+ text-align: center;
+}
+.ui-datepicker .ui-helper-clearfix {
+ clear: both;
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.plugin.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.plugin.js
new file mode 100644
index 0000000..50470fe
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.plugin.js
@@ -0,0 +1,344 @@
+/* Simple JavaScript Inheritance
+ * By John Resig http://ejohn.org/
+ * MIT Licensed.
+ */
+// Inspired by base2 and Prototype
+(function(){
+ var initializing = false;
+
+ // The base JQClass implementation (does nothing)
+ window.JQClass = function(){};
+
+ // Collection of derived classes
+ JQClass.classes = {};
+
+ // Create a new JQClass that inherits from this class
+ JQClass.extend = function extender(prop) {
+ var base = this.prototype;
+
+ // Instantiate a base class (but only create the instance,
+ // don't run the init constructor)
+ initializing = true;
+ var prototype = new this();
+ initializing = false;
+
+ // Copy the properties over onto the new prototype
+ for (var name in prop) {
+ // Check if we're overwriting an existing function
+ prototype[name] = typeof prop[name] == 'function' &&
+ typeof base[name] == 'function' ?
+ (function(name, fn){
+ return function() {
+ var __super = this._super;
+
+ // Add a new ._super() method that is the same method
+ // but on the super-class
+ this._super = function(args) {
+ return base[name].apply(this, args || []);
+ };
+
+ var ret = fn.apply(this, arguments);
+
+ // The method only need to be bound temporarily, so we
+ // remove it when we're done executing
+ this._super = __super;
+
+ return ret;
+ };
+ })(name, prop[name]) :
+ prop[name];
+ }
+
+ // The dummy class constructor
+ function JQClass() {
+ // All construction is actually done in the init method
+ if (!initializing && this._init) {
+ this._init.apply(this, arguments);
+ }
+ }
+
+ // Populate our constructed prototype object
+ JQClass.prototype = prototype;
+
+ // Enforce the constructor to be what we expect
+ JQClass.prototype.constructor = JQClass;
+
+ // And make this class extendable
+ JQClass.extend = extender;
+
+ return JQClass;
+ };
+})();
+
+(function($) { // Ensure $, encapsulate
+
+ /** Abstract base class for collection plugins v1.0.1.
+ Written by Keith Wood (kbwood{at}iinet.com.au) December 2013.
+ Licensed under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license.
+ @module $.JQPlugin
+ @abstract */
+ JQClass.classes.JQPlugin = JQClass.extend({
+
+ /** Name to identify this plugin.
+ @example name: 'tabs' */
+ name: 'plugin',
+
+ /** Default options for instances of this plugin (default: {}).
+ @example defaultOptions: {
+ selectedClass: 'selected',
+ triggers: 'click'
+ } */
+ defaultOptions: {},
+
+ /** Options dependent on the locale.
+ Indexed by language and (optional) country code, with '' denoting the default language (English/US).
+ @example regionalOptions: {
+ '': {
+ greeting: 'Hi'
+ }
+ } */
+ regionalOptions: {},
+
+ /** Names of getter methods - those that can't be chained (default: []).
+ @example _getters: ['activeTab'] */
+ _getters: [],
+
+ /** Retrieve a marker class for affected elements.
+ @private
+ @return {string} The marker class. */
+ _getMarker: function() {
+ return 'is-' + this.name;
+ },
+
+ /** Initialise the plugin.
+ Create the jQuery bridge - plugin name xyz
+ produces $.xyz and $.fn.xyz. */
+ _init: function() {
+ // Apply default localisations
+ $.extend(this.defaultOptions, (this.regionalOptions && this.regionalOptions['']) || {});
+ // Camel-case the name
+ var jqName = camelCase(this.name);
+ // Expose jQuery singleton manager
+ $[jqName] = this;
+ // Expose jQuery collection plugin
+ $.fn[jqName] = function(options) {
+ var otherArgs = Array.prototype.slice.call(arguments, 1);
+ if ($[jqName]._isNotChained(options, otherArgs)) {
+ return $[jqName][options].apply($[jqName], [this[0]].concat(otherArgs));
+ }
+ return this.each(function() {
+ if (typeof options === 'string') {
+ if (options[0] === '_' || !$[jqName][options]) {
+ throw 'Unknown method: ' + options;
+ }
+ $[jqName][options].apply($[jqName], [this].concat(otherArgs));
+ }
+ else {
+ $[jqName]._attach(this, options);
+ }
+ });
+ };
+ },
+
+ /** Set default values for all subsequent instances.
+ @param options {object} The new default options.
+ @example $.plugin.setDefauls({name: value}) */
+ setDefaults: function(options) {
+ $.extend(this.defaultOptions, options || {});
+ },
+
+ /** Determine whether a method is a getter and doesn't permit chaining.
+ @private
+ @param name {string} The method name.
+ @param otherArgs {any[]} Any other arguments for the method.
+ @return {boolean} True if this method is a getter, false otherwise. */
+ _isNotChained: function(name, otherArgs) {
+ if (name === 'option' && (otherArgs.length === 0 ||
+ (otherArgs.length === 1 && typeof otherArgs[0] === 'string'))) {
+ return true;
+ }
+ return $.inArray(name, this._getters) > -1;
+ },
+
+ /** Initialise an element. Called internally only.
+ Adds an instance object as data named for the plugin.
+ @param elem {Element} The element to enhance.
+ @param options {object} Overriding settings. */
+ _attach: function(elem, options) {
+ elem = $(elem);
+ if (elem.hasClass(this._getMarker())) {
+ return;
+ }
+ elem.addClass(this._getMarker());
+ options = $.extend({}, this.defaultOptions, this._getMetadata(elem), options || {});
+ var inst = $.extend({name: this.name, elem: elem, options: options},
+ this._instSettings(elem, options));
+ elem.data(this.name, inst); // Save instance against element
+ this._postAttach(elem, inst);
+ this.option(elem, options);
+ },
+
+ /** Retrieve additional instance settings.
+ Override this in a sub-class to provide extra settings.
+ @param elem {jQuery} The current jQuery element.
+ @param options {object} The instance options.
+ @return {object} Any extra instance values.
+ @example _instSettings: function(elem, options) {
+ return {nav: elem.find(options.navSelector)};
+ } */
+ _instSettings: function(elem, options) {
+ return {};
+ },
+
+ /** Plugin specific post initialisation.
+ Override this in a sub-class to perform extra activities.
+ @param elem {jQuery} The current jQuery element.
+ @param inst {object} The instance settings.
+ @example _postAttach: function(elem, inst) {
+ elem.on('click.' + this.name, function() {
+ ...
+ });
+ } */
+ _postAttach: function(elem, inst) {
+ },
+
+ /** Retrieve metadata configuration from the element.
+ Metadata is specified as an attribute:
+ data-<plugin name>="<setting name>: '<value>', ...".
+ Dates should be specified as strings in this format: 'new Date(y, m-1, d)'.
+ @private
+ @param elem {jQuery} The source element.
+ @return {object} The inline configuration or {}. */
+ _getMetadata: function(elem) {
+ try {
+ var data = elem.data(this.name.toLowerCase()) || '';
+ data = data.replace(/'/g, '"');
+ data = data.replace(/([a-zA-Z0-9]+):/g, function(match, group, i) {
+ var count = data.substring(0, i).match(/"/g); // Handle embedded ':'
+ return (!count || count.length % 2 === 0 ? '"' + group + '":' : group + ':');
+ });
+ data = $.parseJSON('{' + data + '}');
+ for (var name in data) { // Convert dates
+ var value = data[name];
+ if (typeof value === 'string' && value.match(/^new Date\((.*)\)$/)) {
+ data[name] = eval(value);
+ }
+ }
+ return data;
+ }
+ catch (e) {
+ return {};
+ }
+ },
+
+ /** Retrieve the instance data for element.
+ @param elem {Element} The source element.
+ @return {object} The instance data or {}. */
+ _getInst: function(elem) {
+ return $(elem).data(this.name) || {};
+ },
+
+ /** Retrieve or reconfigure the settings for a plugin.
+ @param elem {Element} The source element.
+ @param name {object|string} The collection of new option values or the name of a single option.
+ @param [value] {any} The value for a single named option.
+ @return {any|object} If retrieving a single value or all options.
+ @example $(selector).plugin('option', 'name', value)
+ $(selector).plugin('option', {name: value, ...})
+ var value = $(selector).plugin('option', 'name')
+ var options = $(selector).plugin('option') */
+ option: function(elem, name, value) {
+ elem = $(elem);
+ var inst = elem.data(this.name);
+ if (!name || (typeof name === 'string' && value == null)) {
+ var options = (inst || {}).options;
+ return (options && name ? options[name] : options);
+ }
+ if (!elem.hasClass(this._getMarker())) {
+ return;
+ }
+ var options = name || {};
+ if (typeof name === 'string') {
+ options = {};
+ options[name] = value;
+ }
+ this._optionsChanged(elem, inst, options);
+ $.extend(inst.options, options);
+ },
+
+ /** Plugin specific options processing.
+ Old value available in inst.options[name], new value in options[name].
+ Override this in a sub-class to perform extra activities.
+ @param elem {jQuery} The current jQuery element.
+ @param inst {object} The instance settings.
+ @param options {object} The new options.
+ @example _optionsChanged: function(elem, inst, options) {
+ if (options.name != inst.options.name) {
+ elem.removeClass(inst.options.name).addClass(options.name);
+ }
+ } */
+ _optionsChanged: function(elem, inst, options) {
+ },
+
+ /** Remove all trace of the plugin.
+ Override _preDestroy for plugin-specific processing.
+ @param elem {Element} The source element.
+ @example $(selector).plugin('destroy') */
+ destroy: function(elem) {
+ elem = $(elem);
+ if (!elem.hasClass(this._getMarker())) {
+ return;
+ }
+ this._preDestroy(elem, this._getInst(elem));
+ elem.removeData(this.name).removeClass(this._getMarker());
+ },
+
+ /** Plugin specific pre destruction.
+ Override this in a sub-class to perform extra activities and undo everything that was
+ done in the _postAttach or _optionsChanged functions.
+ @param elem {jQuery} The current jQuery element.
+ @param inst {object} The instance settings.
+ @example _preDestroy: function(elem, inst) {
+ elem.off('.' + this.name);
+ } */
+ _preDestroy: function(elem, inst) {
+ }
+ });
+
+ /** Convert names from hyphenated to camel-case.
+ @private
+ @param value {string} The original hyphenated name.
+ @return {string} The camel-case version. */
+ function camelCase(name) {
+ return name.replace(/-([a-z])/g, function(match, group) {
+ return group.toUpperCase();
+ });
+ }
+
+ /** Expose the plugin base.
+ @namespace "$.JQPlugin" */
+ $.JQPlugin = {
+
+ /** Create a new collection plugin.
+ @memberof "$.JQPlugin"
+ @param [superClass='JQPlugin'] {string} The name of the parent class to inherit from.
+ @param overrides {object} The property/function overrides for the new class.
+ @example $.JQPlugin.createPlugin({
+ name: 'tabs',
+ defaultOptions: {selectedClass: 'selected'},
+ _initSettings: function(elem, options) { return {...}; },
+ _postAttach: function(elem, inst) { ... }
+ }); */
+ createPlugin: function(superClass, overrides) {
+ if (typeof superClass === 'object') {
+ overrides = superClass;
+ superClass = 'JQPlugin';
+ }
+ superClass = camelCase(superClass);
+ var className = camelCase(overrides.name);
+ JQClass.classes[className] = JQClass.classes[superClass].extend(overrides);
+ new JQClass.classes[className]();
+ }
+ };
+
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.plugin.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.plugin.min.js
new file mode 100644
index 0000000..7197d76
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.plugin.min.js
@@ -0,0 +1,4 @@
+/** Abstract base class for collection plugins v1.0.1.
+ Written by Keith Wood (kbwood{at}iinet.com.au) December 2013.
+ Licensed under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. */
+(function(){var j=false;window.JQClass=function(){};JQClass.classes={};JQClass.extend=function extender(f){var g=this.prototype;j=true;var h=new this();j=false;for(var i in f){h[i]=typeof f[i]=='function'&&typeof g[i]=='function'?(function(d,e){return function(){var b=this._super;this._super=function(a){return g[d].apply(this,a||[])};var c=e.apply(this,arguments);this._super=b;return c}})(i,f[i]):f[i]}function JQClass(){if(!j&&this._init){this._init.apply(this,arguments)}}JQClass.prototype=h;JQClass.prototype.constructor=JQClass;JQClass.extend=extender;return JQClass}})();(function($){JQClass.classes.JQPlugin=JQClass.extend({name:'plugin',defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return'is-'+this.name},_init:function(){$.extend(this.defaultOptions,(this.regionalOptions&&this.regionalOptions[''])||{});var c=camelCase(this.name);$[c]=this;$.fn[c]=function(a){var b=Array.prototype.slice.call(arguments,1);if($[c]._isNotChained(a,b)){return $[c][a].apply($[c],[this[0]].concat(b))}return this.each(function(){if(typeof a==='string'){if(a[0]==='_'||!$[c][a]){throw'Unknown method: '+a;}$[c][a].apply($[c],[this].concat(b))}else{$[c]._attach(this,a)}})}},setDefaults:function(a){$.extend(this.defaultOptions,a||{})},_isNotChained:function(a,b){if(a==='option'&&(b.length===0||(b.length===1&&typeof b[0]==='string'))){return true}return $.inArray(a,this._getters)>-1},_attach:function(a,b){a=$(a);if(a.hasClass(this._getMarker())){return}a.addClass(this._getMarker());b=$.extend({},this.defaultOptions,this._getMetadata(a),b||{});var c=$.extend({name:this.name,elem:a,options:b},this._instSettings(a,b));a.data(this.name,c);this._postAttach(a,c);this.option(a,b)},_instSettings:function(a,b){return{}},_postAttach:function(a,b){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||'';f=f.replace(/'/g,'"');f=f.replace(/([a-zA-Z0-9]+):/g,function(a,b,i){var c=f.substring(0,i).match(/"/g);return(!c||c.length%2===0?'"'+b+'":':b+':')});f=$.parseJSON('{'+f+'}');for(var g in f){var h=f[g];if(typeof h==='string'&&h.match(/^new Date\((.*)\)$/)){f[g]=eval(h)}}return f}catch(e){return{}}},_getInst:function(a){return $(a).data(this.name)||{}},option:function(a,b,c){a=$(a);var d=a.data(this.name);if(!b||(typeof b==='string'&&c==null)){var e=(d||{}).options;return(e&&b?e[b]:e)}if(!a.hasClass(this._getMarker())){return}var e=b||{};if(typeof b==='string'){e={};e[b]=c}this._optionsChanged(a,d,e);$.extend(d.options,e)},_optionsChanged:function(a,b,c){},destroy:function(a){a=$(a);if(!a.hasClass(this._getMarker())){return}this._preDestroy(a,this._getInst(a));a.removeData(this.name).removeClass(this._getMarker())},_preDestroy:function(a,b){}});function camelCase(c){return c.replace(/-([a-z])/g,function(a,b){return b.toUpperCase()})}$.JQPlugin={createPlugin:function(a,b){if(typeof a==='object'){b=a;a='JQPlugin'}a=camelCase(a);var c=camelCase(b.name);JQClass.classes[c]=JQClass.classes[a].extend(b);new JQClass.classes[c]()}}})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ar.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ar.js
new file mode 100644
index 0000000..49f91a8
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ar.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Arabic initialize for the jQuery time entry extension
+ Written by Mohammad Baydoun (mab@modbay.me). */
+(function($) {
+ $.timeEntry.regionalOptions['ar'] = {show24Hours: false, separator: ':',
+ ampmPrefix: '', ampmNames: ['ص', 'م'],
+ spinnerTexts: ['الأن', 'الحقل السابق', 'الحقل التالي', 'زيادة', 'تنقيص']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['ar']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ca.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ca.js
new file mode 100644
index 0000000..193dc43
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ca.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Catalan initialisation for the jQuery time entry extension
+ Written by Gabriel Guzman (gabriel@josoft.com.ar). */
+(function($) {
+ $.timeEntry.regionalOptions['ca'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Ara', 'Camp anterior', 'Següent camp', 'Augmentar', 'Disminuir']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['ca']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-cs.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-cs.js
new file mode 100644
index 0000000..4e4d8fa
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-cs.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Czech initialisation for the jQuery time entry extension
+ Written by Stanislav Kurinec (stenly.kurinec@gmail.com) */
+(function($) {
+ $.timeEntry.regionalOptions['cs'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['Dop', 'Odp'],
+ spinnerTexts: ['Nyní', 'Předchozí pole', 'Následující pole', 'Zvýšit', 'Snížit']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['cs']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-de.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-de.js
new file mode 100644
index 0000000..13654c4
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-de.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ German initialisation for the jQuery time entry extension
+ Written by Eyk Schulz (eyk.schulz@gmx.net) */
+(function($) {
+ $.timeEntry.regionalOptions['de'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Jetzt', 'vorheriges Feld', 'nächstes Feld', 'hoch', 'runter']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['de']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-es.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-es.js
new file mode 100644
index 0000000..a3c0974
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-es.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Spanish initialisation for the jQuery time entry extension
+ Written by diegok (diego@freekeylabs.com). */
+(function($) {
+ $.timeEntry.regionalOptions['es'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Ahora', 'Campo anterior', 'Siguiente campo', 'Aumentar', 'Disminuir']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['es']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-fa.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-fa.js
new file mode 100644
index 0000000..9038d58
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-fa.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Persian initialisation for the jQuery time entry extension
+ translation by benyblack */
+(function($) {
+ $.timeEntry.regionalOptions['fa'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['ق.ظ', 'ب.ظ'],
+ spinnerTexts: ['اکنون', 'قبلی', 'بعدی', 'افزایش', 'کاهش']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['fa']);
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-fr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-fr.js
new file mode 100644
index 0000000..6447080
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-fr.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ French initialisation for the jQuery time entry extension
+ Written by Keith Wood (kbwood@iprimus.com.au) June 2007. */
+(function($) {
+ $.timeEntry.regionalOptions['fr'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Maintenant', 'Précédent', 'Suivant', 'Augmenter', 'Diminuer']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['fr']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-hu.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-hu.js
new file mode 100644
index 0000000..bf5b42a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-hu.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Hungarian initialisation for the jQuery time entry extension
+ Written by Karaszi Istvan (raszi@spam.raszi.hu) */
+(function($) {
+ $.timeEntry.regionalOptions['hu'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['DE', 'DU'],
+ spinnerTexts: ['Most', 'Előző mező', 'Következő mező', 'Növel', 'Csökkent']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['hu']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-is.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-is.js
new file mode 100644
index 0000000..446897f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-is.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Icelandic initialisation for the jQuery time entry extension
+ Written by Már Örlygsson (http://mar.anomy.net/) */
+(function($) {
+ $.timeEntry.regionalOptions['is'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['fh', 'eh'],
+ spinnerTexts: ['Núna', 'Fyrra svæði', 'Næsta svæði', 'Hækka', 'Lækka']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['is']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-it.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-it.js
new file mode 100644
index 0000000..bba909b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-it.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Italian initialisation for the jQuery time entry extension
+ Written by Apaella (apaella@gmail.com) June 2007. */
+(function($) {
+ $.timeEntry.regionalOptions['it'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Adesso', 'Precedente', 'Successivo', 'Aumenta', 'Diminuisci']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['it']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ja.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ja.js
new file mode 100644
index 0000000..166d4e2
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ja.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Japanese initialisation for the jQuery time entry extension
+ Written by Yuuki Takahashi (yuuki@fb69.jp) */
+(function($) {
+ $.timeEntry.regionalOptions['ja'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['現在時刻', '前へ', '次へ', '増やす', '減らす']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['ja']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-lt.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-lt.js
new file mode 100644
index 0000000..bd0cd07
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-lt.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Lithuanian initialisation for the jQuery time entry extension
+ Written by Andrej Andrejev */
+(function($) {
+ $.timeEntry.regionalOptions['lt'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Dabar', 'Ankstesnis laukas', 'Kitas laukas', 'Daugiau', 'Mažiau']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['lt']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-lv.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-lv.js
new file mode 100644
index 0000000..c0639cf
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-lv.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Latvian (UTF-8) initialisation for the jQuery $.timeEntry extension.
+ Written by Rihards Prieditis (rprieditis@gmail.com). */
+(function($) {
+ $.timeEntry.regionalOptions['lv'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Pašlaik', 'Iepriekšējais lauks', 'Nākamais lauks', 'Palielināt', 'Samazināt']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['lv']);
+})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-nl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-nl.js
new file mode 100644
index 0000000..9718313
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-nl.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Dutch initialisation written for the jQuery time entry extension.
+ Glenn plas (glenn.plas@telenet.be) March 2008. */
+(function($) {
+ $.timeEntry.regionalOptions['nl'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Nu', 'Vorig veld', 'Volgend veld','Verhoog', 'Verlaag']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['nl']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-pl.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-pl.js
new file mode 100644
index 0000000..76b3b27
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-pl.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Polish initialisation for the jQuery time entry extension.
+ Polish translation by Jacek Wysocki (jacek.wysocki@gmail.com). */
+(function($) {
+ $.timeEntry.regionalOptions['pl'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Teraz', 'Poprzednie pole', 'Następne pole', 'Zwiększ wartość', 'Zmniejsz wartość']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['pl']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-pt.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-pt.js
new file mode 100644
index 0000000..0418d4f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-pt.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Portuguese initialisation for the jQuery time entry extension
+ Written by Dino Sane (dino@asttra.com.br). */
+(function($) {
+ $.timeEntry.regionalOptions['pt'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Agora', 'Campo anterior', 'Campo Seguinte', 'Aumentar', 'Diminuir']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['pt']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ro.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ro.js
new file mode 100644
index 0000000..869827d
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ro.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Romanian initialisation for the jQuery time entry extension
+ Written by Edmond L. (ll_edmond@walla.com) */
+(function($) {
+ $.timeEntry.regionalOptions['ro'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Acum', 'Campul Anterior', 'Campul Urmator', 'Mareste', 'Micsoreaza']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['ro']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ru.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ru.js
new file mode 100644
index 0000000..6c98a73
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-ru.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Russian (UTF-8) initialisation for the jQuery $.timeEntry extension.
+ Written by Andrew Stromnov (stromnov@gmail.com). */
+(function($) {
+ $.timeEntry.regionalOptions['ru'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Сейчас', 'Предыдущее поле', 'Следующее поле', 'Больше', 'Меньше']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['ru']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-sk.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-sk.js
new file mode 100644
index 0000000..42c1476
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-sk.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Slovak initialisation for the jQuery time entry extension
+ Written by Vojtech Rinik (vojto@hmm.sk) */
+(function($) {
+ $.timeEntry.regionalOptions['sk'] = {show24Hours: false, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Teraz', 'Predchádzajúce pole', 'Nasledujúce pole', 'Zvýšiť', 'Znížiť']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['sk']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-sv.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-sv.js
new file mode 100644
index 0000000..d729964
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-sv.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Swedish initialisation for the jQuery time entry extension.
+ Written by Anders Ekdahl ( anders@nomadiz.se). */
+(function($) {
+ $.timeEntry.regionalOptions['sv'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Nu', 'Förra fältet', 'Nästa fält', 'öka', 'minska']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['sv']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-tr.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-tr.js
new file mode 100644
index 0000000..a4bc717
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-tr.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Turkish initialisation for the jQuery time entry extension
+ Written by Vural Dinçer */
+(function($) {
+ $.timeEntry.regionalOptions['tr'] = {show24Hours: true, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['şu an', 'önceki alan', 'sonraki alan', 'arttır', 'azalt']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['tr']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-vi.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-vi.js
new file mode 100644
index 0000000..21e32b6
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-vi.js
@@ -0,0 +1,10 @@
+/* http://keith-wood.name/timeEntry.html
+ Vietnamese template for the jQuery time entry extension
+ Written by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
+(function($) {
+ $.timeEntry.regionalOptions['vi'] = {show24Hours: false, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Hiện tại', 'Mục trước', 'Mục sau', 'Tăng', 'Giảm']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['vi']);
+})(jQuery);
+
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-zh-CN.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-zh-CN.js
new file mode 100644
index 0000000..0cab90f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-zh-CN.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Simplified Chinese initialisation for the jQuery time entry extension.
+ By Cloudream(cloudream@gmail.com) */
+(function($) {
+ $.timeEntry.regionalOptions['zh-CN'] = {show24Hours: false, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['当前', '左移', '右移', '加一', '减一']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['zh-CN']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-zh-TW.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-zh-TW.js
new file mode 100644
index 0000000..63b3082
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry-zh-TW.js
@@ -0,0 +1,9 @@
+/* http://keith-wood.name/timeEntry.html
+ Traditional Chinese initialisation for the jQuery time entry extension.
+ By Taian Su(taiansu@gmail.com) */
+(function($) {
+ $.timeEntry.regionalOptions['zh-TW'] = {show24Hours: false, separator: ':',
+ ampmPrefix: '', ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['現在時刻', '上一個欄位', '下一個欄位', '增加', '减少']};
+ $.timeEntry.setDefaults($.timeEntry.regionalOptions['zh-TW']);
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry.css b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry.css
new file mode 100644
index 0000000..f4ffd0f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry.css
@@ -0,0 +1,5 @@
+/* TimeEntry styles v2.0.0 */
+.timeEntry-control {
+ vertical-align: middle;
+ margin-left: 2px;
+}
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry.js
new file mode 100644
index 0000000..d48a647
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry.js
@@ -0,0 +1,1059 @@
+/* http://keith-wood.name/timeEntry.html
+ Time entry for jQuery v2.0.1.
+ Written by Keith Wood (kbwood{at}iinet.com.au) June 2007.
+ Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license.
+ Please attribute the author if you use it. */
+
+(function($) { // Hide scope, no $ conflict
+
+ var pluginName = 'timeEntry';
+
+ /** Create the time entry plugin.
+ Sets an input field to add a spinner for time entry.
+ The time can be entered via directly typing the value,
+ via the arrow keys, or via spinner buttons.
+ It is configurable to show 12 or 24-hour time, to show or hide seconds,
+ to enforce a minimum and/or maximum time, to change the spinner image,
+ and to constrain the time to steps, e.g. only on the quarter hours.
+ Expects HTML like:
+ <input type="text">
+ Provide inline configuration like:
+ <input type="text" data-timeEntry="name: 'value'">
+ @module TimeEntry
+ @augments JQPlugin
+ @example $(selector).timeEntry()
+ $(selector).timeEntry({showSeconds: true, minTime: new Date(0, 0, 0, 12, 0, 0)}) */
+ $.JQPlugin.createPlugin({
+
+ /** The name of the plugin. */
+ name: pluginName,
+
+ /** Time entry before show callback.
+ Triggered when the input field is focussed.
+ @callback beforeShowCallback
+ @param input {Element} The current input field.
+ @return {object} Any changes to the instance settings.
+ @example beforeShow: function(input) {
+ // Cross-populate minimum/maximum times for a range
+ return {minTime: (input.id === 'timeTo' ?
+ $('#timeFrom').timeEntry('getTime') : null),
+ maxTime: (input.id === 'timeFrom' ?
+ $('#timeTo').timeEntry('getTime') : null)};
+ } */
+
+ /** Time entry before set time callback.
+ Triggered when the input field value is to be changed.
+ @callback beforeSetTimeCallback
+ @param current {string} The current time value entered.
+ @param newTime {string} The new time value to use.
+ @param minTime {Date} The minimum time value allowed.
+ @param maxTime {Date} The maximum time value allowed.
+ @return {Date} The actual time value to set.
+ @example beforeSetTime: function(oldTime, newTime, minTime, maxTime) {
+ var increment = (newTime - (oldTime || newTime)) > 0;
+ if (newTime.getMinutes() > 30) { // First half of hour only
+ newTime.setMinutes(increment ? 0 : 30);
+ newTime.setHours(newTime.getHours() + (increment ? 1 : 0));
+ }
+ return newTime;
+ } */
+
+ /** Default settings for the plugin.
+ @property [appendText=''] {string} Display text following the input box, e.g. showing the format.
+ @property [showSeconds=false] {boolean} true to show seconds as well,
+ false for hours/minutes only.
+ @property [unlimitedHours=false] {boolean} true to allow entry of more than 24 hours,
+ false to restrict to one day.
+ @property [timeSteps=[1,1,1]] {number[]} Steps for each of hours/minutes/seconds when incrementing/decrementing.
+ @property [initialField=null] {number} The field to highlight initially (0 = hours, 1 = minutes, ...),
+ or null for none.
+ @property [noSeparatorEntry=false] {boolean} true to move to next sub-field after two digits entry.
+ @property [tabToExit=false] {boolean} true for tab key to go to next element,
+ false for tab key to step through internal fields.
+ @property [useMouseWheel=true] {boolean} true to use mouse wheel for increment/decrement if possible,
+ false to never use it.
+ @property [defaultTime=null] {Date|number|string} The time to use if none has been set,
+ or null for now. Specify as a Date object, as a number of seconds
+ offset from now, or as a string of offsets from now, using 'H' for hours,
+ 'M' for minutes, 'S' for seconds.
+ @property [minTime=null] {Date|number|string|number[]} The earliest selectable time,
+ or null for no limit. See defaultTime for possible formats,
+ use array of hours, minutes, seconds for unlimitedHours.
+ @property [maxTime=null] {Date|number|string|number[]} The latest selectable time,
+ or null for no limit. See defaultTime for possible formats,
+ use array of hours, minutes, seconds for unlimitedHours.
+ @property [spinnerImage='spinnerDefault.png'] {string} The URL of the images to use for the time spinner -
+ seven images packed horizontally for normal, each button pressed
+ (centre, previous, next, increment, decrement), and disabled.
+ @property [spinnerSize=[20,20,8]] {number[]} The width and height of the spinner image,
+ and size of centre button for current time.
+ @property [spinnerBigImage=''] {string} The URL of the images to use for the expanded time spinner -
+ seven images packed horizontally for normal, each button pressed
+ (centre, previous, next, increment, decrement), and disabled.
+ @property [spinnerBigSize=[40,40,16]] {number[]} The width and height of the expanded spinner image,
+ and size of centre button for current time.
+ @property [spinnerIncDecOnly=false] {boolean} true for increment/decrement buttons only, false for all.
+ @property [spinnerRepeat=[500,250]] {number[]} Initial and subsequent waits in milliseconds
+ for repeats on the spinner buttons.
+ @property [beforeShow=null] {beforeShowCallback} Function that takes an input field and
+ returns a set of custom settings for the time entry.
+ @property [beforeSetTime=null] {beforeSetTimeCallback} Function that runs before updating the time,
+ takes the old and new times, and minimum and maximum times as parameters,
+ and returns an adjusted time if necessary.
+ @example {defaultTime: new Date(0, 0, 0, 8, 30, 0), minTime: -300, maxTime: '+2H +30M'} */
+ defaultOptions: {
+ appendText: '',
+ showSeconds: false,
+ unlimitedHours: false,
+ timeSteps: [1, 1, 1],
+ initialField: null,
+ noSeparatorEntry: false,
+ tabToExit: false,
+ useMouseWheel: true,
+ defaultTime: null,
+ minTime: null,
+ maxTime: null,
+ spinnerImage: 'spinnerDefault.png',
+ spinnerSize: [20, 20, 8],
+ spinnerBigImage: '',
+ spinnerBigSize: [40, 40, 16],
+ spinnerIncDecOnly: false,
+ spinnerRepeat: [500, 250],
+ beforeShow: null,
+ beforeSetTime: null
+ },
+
+ /** Localisations for the plugin.
+ Entries are objects indexed by the language code ('' being the default US/English).
+ Each object has the following attributes.
+ @property [show24Hours=false] {boolean} true to use 24 hour time, false for 12 hour (AM/PM).
+ @property [separator=':'] {string} The separator between time fields.
+ @property [ampmPrefix=''] {string} The separator before the AM/PM text.
+ @property [ampmNames=['AM','PM']] {string[]} Names of morning/evening markers.
+ @property [spinnerTexts=['Now','Previous field','Next field','Increment','Decrement']] {string[]}
+ The popup texts for the spinner image areas. */
+ regionalOptions: { // Available regional settings, indexed by language/country code
+ '': { // Default regional settings - English/US
+ show24Hours: false,
+ separator: ':',
+ ampmPrefix: '',
+ ampmNames: ['AM', 'PM'],
+ spinnerTexts: ['Now', 'Previous field', 'Next field', 'Increment', 'Decrement']
+ }
+ },
+
+ _getters: ['getOffset', 'getTime', 'isDisabled'],
+
+ _appendClass: pluginName + '-append', // Class name for the appended content
+ _controlClass: pluginName + '-control', // Class name for the date entry control
+ _expandClass: pluginName + '-expand', // Class name for the expanded spinner
+
+ _disabledInputs: [], // List of time inputs that have been disabled
+
+ _instSettings: function(elem, options) {
+ return {_field: 0, _selectedHour: 0, _selectedMinute: 0, _selectedSecond: 0};
+ },
+
+ _postAttach: function(elem, inst) {
+ elem.on('focus.' + inst.name, this._doFocus).
+ on('blur.' + inst.name, this._doBlur).
+ on('click.' + inst.name, this._doClick).
+ on('keydown.' + inst.name, this._doKeyDown).
+ on('keypress.' + inst.name, this._doKeyPress).
+ on('paste.' + inst.name, function(event) { // Check pastes
+ setTimeout(function() { plugin._parseTime(inst); }, 1);
+ });
+ },
+
+ _optionsChanged: function(elem, inst, options) {
+ var currentTime = this._extractTime(inst);
+ $.extend(inst.options, options);
+ inst.options.show24Hours = inst.options.show24Hours || inst.options.unlimitedHours;
+ inst._field = 0;
+ if (currentTime) {
+ this._setTime(inst, new Date(0, 0, 0, currentTime[0], currentTime[1], currentTime[2]));
+ }
+ // Remove stuff dependent on old settings
+ elem.next('span.' + this._appendClass).remove();
+ elem.parent().find('span.' + this._controlClass).remove();
+ if ($.fn.mousewheel) {
+ elem.unmousewheel();
+ }
+ // And re-add if requested
+ var spinner = (!inst.options.spinnerImage ? null :
+ $(' '));
+ elem.after(inst.options.appendText ? '' +
+ inst.options.appendText + ' ' : '').after(spinner || '');
+ // Allow mouse wheel usage
+ if (inst.options.useMouseWheel && $.fn.mousewheel) {
+ elem.mousewheel(this._doMouseWheel);
+ }
+ if (spinner) {
+ spinner.mousedown(this._handleSpinner).mouseup(this._endSpinner).
+ mouseover(this._expandSpinner).mouseout(this._endSpinner).
+ mousemove(this._describeSpinner);
+ }
+ },
+
+ /** Enable a time entry input and any associated spinner.
+ @param elem {Element} The single input field.
+ @example $(selector).timeEntry('enable') */
+ enable: function(elem) {
+ this._enableDisable(elem, false);
+ },
+
+ /** Disable a time entry input and any associated spinner.
+ @param elem {Element} The single input field.
+ @example $(selector).timeEntry('disable') */
+ disable: function(elem) {
+ this._enableDisable(elem, true);
+ },
+
+ /** Enable or disable a time entry input and any associated spinner.
+ @private
+ @param elem {Element} The single input field.
+ @param disable {boolean} true to disable, false to enable. */
+ _enableDisable: function(elem, disable) {
+ var inst = this._getInst(elem);
+ if (!inst) {
+ return;
+ }
+ elem.disabled = disable;
+ if (elem.nextSibling && elem.nextSibling.nodeName.toLowerCase() === 'span') {
+ this._changeSpinner(inst, elem.nextSibling, (disable ? 5 : -1));
+ }
+ this._disabledInputs = $.map(this._disabledInputs,
+ function(value) { return (value === elem ? null : value); }); // Delete entry
+ if (disable) {
+ this._disabledInputs.push(elem);
+ }
+ },
+
+ /** Check whether an input field has been disabled.
+ @param elem {Element} The input field to check.
+ @return {boolean} true if this field has been disabled, false if it is enabled.
+ @example if ($(selector).dateEntry('isDisabled')) {...} */
+ isDisabled: function(elem) {
+ return $.inArray(elem, this._disabledInputs) > -1;
+ },
+
+ _preDestroy: function(elem, inst) {
+ elem = $(elem).off('.' + pluginName);
+ if ($.fn.mousewheel) {
+ elem.unmousewheel();
+ }
+ this._disabledInputs = $.map(this._disabledInputs,
+ function(value) { return (value === elem[0] ? null : value); }); // Delete entry
+ elem.siblings('.' + this._appendClass + ',.' + this._controlClass).remove();
+ },
+
+ /** Initialise the current time for a time entry input field.
+ @param elem {Element} The input field to update.
+ @param time {Date|number|string} The new time or offset or null to clear.
+ An actual time or offset in seconds from now or units and periods of offsets from now.
+ @example $(selector).timeEntry('setTime', new Date(0, 0, 0, 11, 22, 33))
+ $(selector).timeEntry('setTime', +300)
+ $(selector).timeEntry('setTime', '+1H +30M')
+ $(selector).timeEntry('setTime', null) */
+ setTime: function(elem, time) {
+ var inst = this._getInst(elem);
+ if (inst) {
+ if (time === null || time === '') {
+ $(elem).val('');
+ }
+ else {
+ this._setTime(inst, time ? ($.isArray(time) ? time :
+ (typeof time === 'object' ? new Date(time.getTime()) : time)) : null);
+ }
+ }
+ },
+
+ /** Retrieve the current time for a time entry input field.
+ @param elem {Element} The input field to update.
+ @return {Date} The current time or null if none.
+ @example var time = $(selector).timeEntry('getTime') */
+ getTime: function(elem) {
+ var inst = this._getInst(elem);
+ var currentTime = (inst ? this._extractTime(inst) : null);
+ return (!currentTime ? null :
+ new Date(0, 0, 0, currentTime[0], currentTime[1], currentTime[2]));
+ },
+
+ /** Retrieve the millisecond offset for the current time.
+ @param elem {Element} The input field to examine.
+ @return {number} The time as milliseconds offset or zero if none.
+ @example var offset = $(selector).timeEntry('getOffset') */
+ getOffset: function(elem) {
+ var inst = this._getInst(elem);
+ var currentTime = (inst ? this._extractTime(inst) : null);
+ return (!currentTime ? 0 :
+ (currentTime[0] * 3600 + currentTime[1] * 60 + currentTime[2]) * 1000);
+ },
+
+ /** Initialise date entry.
+ @private
+ @param elem {Element|Event} The input field or the focus event. */
+ _doFocus: function(elem) {
+ var input = (elem.nodeName && elem.nodeName.toLowerCase() === 'input' ? elem : this);
+ if (plugin._lastInput === input || plugin.isDisabled(input)) {
+ plugin._focussed = false;
+ return;
+ }
+ var inst = plugin._getInst(input);
+ plugin._focussed = true;
+ plugin._lastInput = input;
+ plugin._blurredInput = null;
+ $.extend(inst.options, ($.isFunction(inst.options.beforeShow) ?
+ inst.options.beforeShow.apply(input, [input]) : {}));
+ plugin._parseTime(inst, elem.nodeName ? null : elem);
+ setTimeout(function() { plugin._showField(inst); }, 10);
+ },
+
+ /** Note that the field has been exited.
+ @private
+ @param event {Event} The blur event. */
+ _doBlur: function(event) {
+ plugin._blurredInput = plugin._lastInput;
+ plugin._lastInput = null;
+ },
+
+ /** Select appropriate field portion on click, if already in the field.
+ @private
+ @param event {Event} The click event. */
+ _doClick: function(event) {
+ var input = event.target;
+ var inst = plugin._getInst(input);
+ var prevField = inst._field;
+ if (!plugin._focussed) {
+ inst._field = plugin._getSelection(inst, input, event);
+ }
+ if (prevField !== inst._field) {
+ inst._lastChr = '';
+ }
+ plugin._showField(inst);
+ plugin._focussed = false;
+ },
+
+ /** Find the selected subfield within the control.
+ @private
+ @param inst {object} The current instance settings.
+ @param input {Element} The input control.
+ @param event {Event} The triggering event.
+ @return {number} The selected subfield. */
+ _getSelection: function(inst, input, event) {
+ var select = 0;
+ var fieldSizes = [inst.elem.val().split(inst.options.separator)[0].length, 2, 2];
+ if (input.selectionStart !== null) { // Use input select range
+ var end = 0;
+ for (var field = 0; field <= Math.max(1, inst._secondField, inst._ampmField); field++) {
+ end += (field !== inst._ampmField ? fieldSizes[field] + inst.options.separator.length :
+ inst.options.ampmPrefix.length + inst.options.ampmNames[0].length);
+ select = field;
+ if (input.selectionStart < end) {
+ break;
+ }
+ }
+ }
+ else if (input.createTextRange && event != null) { // Check against bounding boxes
+ var src = $(event.srcElement);
+ var range = input.createTextRange();
+ var convert = function(value) {
+ return {thin: 2, medium: 4, thick: 6}[value] || value;
+ };
+ var offsetX = event.clientX + document.documentElement.scrollLeft -
+ (src.offset().left + parseInt(convert(src.css('border-left-width')), 10)) -
+ range.offsetLeft; // Position - left edge - alignment
+ for (var field = 0; field <= Math.max(1, inst._secondField, inst._ampmField); field++) {
+ var end = (field !== inst._ampmField ? (field * fieldSize) + 2 :
+ (inst._ampmField * fieldSize) + inst.options.ampmPrefix.length +
+ inst.options.ampmNames[0].length);
+ range.collapse();
+ range.moveEnd('character', end);
+ select = field;
+ if (offsetX < range.boundingWidth) { // And compare
+ break;
+ }
+ }
+ }
+ return select;
+ },
+
+ /** Handle keystrokes in the field.
+ @private
+ @param event {Event} The keydown event.
+ @return {boolean} true to continue, false to stop processing. */
+ _doKeyDown: function(event) {
+ if (event.keyCode >= 48) { // >= '0'
+ return true;
+ }
+ var inst = plugin._getInst(event.target);
+ switch (event.keyCode) {
+ case 9: return (inst.options.tabToExit ? true : (event.shiftKey ?
+ // Move to previous time field, or out if at the beginning
+ plugin._changeField(inst, -1, true) :
+ // Move to next time field, or out if at the end
+ plugin._changeField(inst, +1, true)));
+ case 35: if (event.ctrlKey) { // Clear time on ctrl+end
+ plugin._setValue(inst, '');
+ }
+ else { // Last field on end
+ inst._field = Math.max(1, inst._secondField, inst._ampmField);
+ plugin._adjustField(inst, 0);
+ }
+ break;
+ case 36: if (event.ctrlKey) { // Current time on ctrl+home
+ plugin._setTime(inst);
+ }
+ else { // First field on home
+ inst._field = 0;
+ plugin._adjustField(inst, 0);
+ }
+ break;
+ case 37: plugin._changeField(inst, -1, false); break; // Previous field on left
+ case 38: plugin._adjustField(inst, +1); break; // Increment time field on up
+ case 39: plugin._changeField(inst, +1, false); break; // Next field on right
+ case 40: plugin._adjustField(inst, -1); break; // Decrement time field on down
+ case 46: plugin._setValue(inst, ''); break; // Clear time on delete
+ case 8: inst._lastChr = ''; // Fall through
+ default: return true;
+ }
+ return false;
+ },
+
+ /** Disallow unwanted characters.
+ @private
+ @param event {Event} The keypress event.
+ @return {boolean} true to continue, false to stop processing. */
+ _doKeyPress: function(event) {
+ var chr = String.fromCharCode(event.charCode === undefined ? event.keyCode : event.charCode);
+ if (chr < ' ') {
+ return true;
+ }
+ var inst = plugin._getInst(event.target);
+ plugin._handleKeyPress(inst, chr);
+ return false;
+ },
+
+ /** Update date based on keystroke entered.
+ @private
+ @param inst {object} The instance settings.
+ @param chr {string} The new character. */
+ _handleKeyPress: function(inst, chr) {
+ if (chr === inst.options.separator) {
+ this._changeField(inst, +1, false);
+ }
+ else if (chr >= '0' && chr <= '9') { // Allow direct entry of date
+ var key = parseInt(chr, 10);
+ var value = parseInt(inst._lastChr + chr, 10);
+ var hour = (inst._field !== 0 ? inst._selectedHour :
+ (inst.options.unlimitedHours ? value :
+ (inst.options.show24Hours ? (value < 24 ? value : key) :
+ (value >= 1 && value <= 12 ? value :
+ (key > 0 ? key : inst._selectedHour)) % 12 +
+ (inst._selectedHour >= 12 ? 12 : 0))));
+ var minute = (inst._field !== 1 ? inst._selectedMinute :
+ (value < 60 ? value : key));
+ var second = (inst._field !== inst._secondField ? inst._selectedSecond :
+ (value < 60 ? value : key));
+ var fields = this._constrainTime(inst, [hour, minute, second]);
+ this._setTime(inst, (inst.options.unlimitedHours ? fields :
+ new Date(0, 0, 0, fields[0], fields[1], fields[2])));
+ if (inst.options.noSeparatorEntry && inst._lastChr) {
+ this._changeField(inst, +1, false);
+ }
+ else {
+ inst._lastChr = (inst.options.unlimitedHours && inst._field === 0 ? inst._lastChr + chr : chr);
+ }
+ }
+ else if (!inst.options.show24Hours) { // Set am/pm based on first char of names
+ chr = chr.toLowerCase();
+ if ((chr === inst.options.ampmNames[0].substring(0, 1).toLowerCase() &&
+ inst._selectedHour >= 12) ||
+ (chr === inst.options.ampmNames[1].substring(0, 1).toLowerCase() &&
+ inst._selectedHour < 12)) {
+ var saveField = inst._field;
+ inst._field = inst._ampmField;
+ this._adjustField(inst, +1);
+ inst._field = saveField;
+ this._showField(inst);
+ }
+ }
+ },
+
+ /** Increment/decrement on mouse wheel activity.
+ @private
+ @param event {Event} The mouse wheel event.
+ @param delta {number} The amount of change. */
+ _doMouseWheel: function(event, delta) {
+ if (plugin.isDisabled(event.target)) {
+ return;
+ }
+ var inst = plugin._getInst(event.target);
+ inst.elem.focus();
+ if (!inst.elem.val()) {
+ plugin._parseTime(inst);
+ }
+ plugin._adjustField(inst, delta);
+ event.preventDefault();
+ },
+
+ /** Expand the spinner, if possible, to make it easier to use.
+ @private
+ @param event {Event} The mouse over event. */
+ _expandSpinner: function(event) {
+ var spinner = plugin._getSpinnerTarget(event);
+ var inst = plugin._getInst(plugin._getInput(spinner));
+ if (plugin.isDisabled(inst.elem[0])) {
+ return;
+ }
+ if (inst.options.spinnerBigImage) {
+ inst._expanded = true;
+ var offset = $(spinner).offset();
+ var relative = null;
+ $(spinner).parents().each(function() {
+ var parent = $(this);
+ if (parent.css('position') === 'relative' || parent.css('position') === 'absolute') {
+ relative = parent.offset();
+ }
+ return !relative;
+ });
+ $('
').
+ mousedown(plugin._handleSpinner).mouseup(plugin._endSpinner).
+ mouseout(plugin._endExpand).mousemove(plugin._describeSpinner).
+ insertAfter(spinner);
+ }
+ },
+
+ /** Locate the actual input field from the spinner.
+ @private
+ @param spinner {Element} The current spinner.
+ @return {Element} The corresponding input. */
+ _getInput: function(spinner) {
+ return $(spinner).siblings('.' + this._getMarker())[0];
+ },
+
+ /** Change the title based on position within the spinner.
+ @private
+ @param event {Event} The mouse move event. */
+ _describeSpinner: function(event) {
+ var spinner = plugin._getSpinnerTarget(event);
+ var inst = plugin._getInst(plugin._getInput(spinner));
+ spinner.title = inst.options.spinnerTexts[plugin._getSpinnerRegion(inst, event)];
+ },
+
+ /** Handle a click on the spinner.
+ @private
+ @param event {Event} The mouse click event. */
+ _handleSpinner: function(event) {
+ var spinner = plugin._getSpinnerTarget(event);
+ var input = plugin._getInput(spinner);
+ if (plugin.isDisabled(input)) {
+ return;
+ }
+ if (input === plugin._blurredInput) {
+ plugin._lastInput = input;
+ plugin._blurredInput = null;
+ }
+ var inst = plugin._getInst(input);
+ plugin._doFocus(input);
+ var region = plugin._getSpinnerRegion(inst, event);
+ plugin._changeSpinner(inst, spinner, region);
+ plugin._actionSpinner(inst, region);
+ plugin._timer = null;
+ plugin._handlingSpinner = true;
+ if (region >= 3 && inst.options.spinnerRepeat[0]) { // Repeat increment/decrement
+ plugin._timer = setTimeout(
+ function() { plugin._repeatSpinner(inst, region); },
+ inst.options.spinnerRepeat[0]);
+ $(spinner).one('mouseout', plugin._releaseSpinner).
+ one('mouseup', plugin._releaseSpinner);
+ }
+ },
+
+ /** Action a click on the spinner.
+ @private
+ @param inst {object} The instance settings.
+ @param region {number} The spinner "button". */
+ _actionSpinner: function(inst, region) {
+ if (!inst.elem.val()) {
+ plugin._parseTime(inst);
+ }
+ switch (region) {
+ case 0: this._setTime(inst); break;
+ case 1: this._changeField(inst, -1, false); break;
+ case 2: this._changeField(inst, +1, false); break;
+ case 3: this._adjustField(inst, +1); break;
+ case 4: this._adjustField(inst, -1); break;
+ }
+ },
+
+ /** Repeat a click on the spinner.
+ @private
+ @param inst {object} The instance settings.
+ @param region {number} The spinner "button". */
+ _repeatSpinner: function(inst, region) {
+ if (!plugin._timer) {
+ return;
+ }
+ plugin._lastInput = plugin._blurredInput;
+ this._actionSpinner(inst, region);
+ this._timer = setTimeout(
+ function() { plugin._repeatSpinner(inst, region); },
+ inst.options.spinnerRepeat[1]);
+ },
+
+ /** Stop a spinner repeat.
+ @private
+ @param event {Event} The mouse event. */
+ _releaseSpinner: function(event) {
+ clearTimeout(plugin._timer);
+ plugin._timer = null;
+ },
+
+ /** Tidy up after an expanded spinner.
+ @private
+ @param event {Event} The mouse event. */
+ _endExpand: function(event) {
+ plugin._timer = null;
+ var spinner = plugin._getSpinnerTarget(event);
+ var input = plugin._getInput(spinner);
+ var inst = plugin._getInst(input);
+ $(spinner).remove();
+ inst._expanded = false;
+ },
+
+ /** Tidy up after a spinner click.
+ @private
+ @param event {Event} The mouse event. */
+ _endSpinner: function(event) {
+ plugin._timer = null;
+ var spinner = plugin._getSpinnerTarget(event);
+ var input = plugin._getInput(spinner);
+ var inst = plugin._getInst(input);
+ if (!plugin.isDisabled(input)) {
+ plugin._changeSpinner(inst, spinner, -1);
+ }
+ if (plugin._handlingSpinner) {
+ plugin._lastInput = plugin._blurredInput;
+ }
+ if (plugin._lastInput && plugin._handlingSpinner) {
+ plugin._showField(inst);
+ }
+ plugin._handlingSpinner = false;
+ },
+
+ /** Retrieve the spinner from the event.
+ @private
+ @param event {Event} The mouse click event.
+ @return {Element} The target field. */
+ _getSpinnerTarget: function(event) {
+ return event.target || event.srcElement;
+ },
+
+ /** Determine which "button" within the spinner was clicked.
+ @private
+ @param inst {object} The instance settings.
+ @param event {Event} The mouse event.
+ @return {number} The spinner "button" number. */
+ _getSpinnerRegion: function(inst, event) {
+ var spinner = this._getSpinnerTarget(event);
+ var pos = $(spinner).offset();
+ var scrolled = [document.documentElement.scrollLeft || document.body.scrollLeft,
+ document.documentElement.scrollTop || document.body.scrollTop];
+ var left = (inst.options.spinnerIncDecOnly ? 99 : event.clientX + scrolled[0] - pos.left);
+ var top = event.clientY + scrolled[1] - pos.top;
+ var spinnerSize = inst.options[inst._expanded ? 'spinnerBigSize' : 'spinnerSize'];
+ var right = (inst.options.spinnerIncDecOnly ? 99 : spinnerSize[0] - 1 - left);
+ var bottom = spinnerSize[1] - 1 - top;
+ if (spinnerSize[2] > 0 && Math.abs(left - right) <= spinnerSize[2] &&
+ Math.abs(top - bottom) <= spinnerSize[2]) {
+ return 0; // Centre button
+ }
+ var min = Math.min(left, top, right, bottom);
+ return (min === left ? 1 : (min === right ? 2 : (min === top ? 3 : 4))); // Nearest edge
+ },
+
+ /** Change the spinner image depending on the button clicked.
+ @private
+ @param inst {object} The instance settings.
+ @param spinner {Element} The spinner control.
+ @param region {number} The spinner "button". */
+ _changeSpinner: function(inst, spinner, region) {
+ $(spinner).css('background-position', '-' + ((region + 1) *
+ inst.options[inst._expanded ? 'spinnerBigSize' : 'spinnerSize'][0]) + 'px 0px');
+ },
+
+ /** Extract the time value from the input field, or default to now.
+ @private
+ @param inst {object} The instance settings.
+ @param event {Event} The triggering event or null. */
+ _parseTime: function(inst, event) {
+ var currentTime = this._extractTime(inst);
+ if (currentTime) {
+ inst._selectedHour = currentTime[0];
+ inst._selectedMinute = currentTime[1];
+ inst._selectedSecond = currentTime[2];
+ }
+ else {
+ var now = this._constrainTime(inst);
+ inst._selectedHour = now[0];
+ inst._selectedMinute = now[1];
+ inst._selectedSecond = (inst.options.showSeconds ? now[2] : 0);
+ }
+ inst._secondField = (inst.options.showSeconds ? 2 : -1);
+ inst._ampmField = (inst.options.show24Hours ? -1 : (inst.options.showSeconds ? 3 : 2));
+ inst._lastChr = '';
+ var postProcess = function() {
+ if (inst.elem.val() !== '') {
+ plugin._showTime(inst);
+ }
+ };
+ if (typeof inst.options.initialField === 'number') {
+ inst._field = Math.max(0, Math.min(
+ Math.max(1, inst._secondField, inst._ampmField), inst.options.initialField));
+ postProcess();
+ }
+ else {
+ setTimeout(function() {
+ inst._field = plugin._getSelection(inst, inst.elem[0], event);
+ postProcess();
+ }, 0);
+ }
+ },
+
+ /** Extract the time value from a string as an array of values, or default to null.
+ @private
+ @param value {string} The date text.
+ @param inst {object} The instance settings.
+ @return {number[]} The retrieved time components (hours, minutes, seconds) or
+ null if no value. */
+ _extractTime: function(inst, value) {
+ value = value || inst.elem.val();
+ var currentTime = value.split(inst.options.separator);
+ if (inst.options.separator === '' && value !== '') {
+ currentTime[0] = value.substring(0, 2);
+ currentTime[1] = value.substring(2, 4);
+ currentTime[2] = value.substring(4, 6);
+ }
+ if (currentTime.length >= 2) {
+ var isAM = !inst.options.show24Hours && (value.indexOf(inst.options.ampmNames[0]) > -1);
+ var isPM = !inst.options.show24Hours && (value.indexOf(inst.options.ampmNames[1]) > -1);
+ var hour = parseInt(currentTime[0], 10);
+ hour = (isNaN(hour) ? 0 : hour);
+ hour = ((isAM || isPM) && hour === 12 ? 0 : hour) + (isPM ? 12 : 0);
+ var minute = parseInt(currentTime[1], 10);
+ minute = (isNaN(minute) ? 0 : minute);
+ var second = (currentTime.length >= 3 ? parseInt(currentTime[2], 10) : 0);
+ second = (isNaN(second) || !inst.options.showSeconds ? 0 : second);
+ return this._constrainTime(inst, [hour, minute, second]);
+ }
+ return null;
+ },
+
+ /** Constrain the given/current time to the time steps.
+ @private
+ @param inst {object} The instance settings.
+ @param fields {number[]} The current time components (hours, minutes, seconds).
+ @return {number[]} The constrained time components (hours, minutes, seconds). */
+ _constrainTime: function(inst, fields) {
+ var specified = (fields !== null && fields !== undefined);
+ if (!specified) {
+ var now = this._determineTime(inst.options.defaultTime, inst) || new Date();
+ fields = [now.getHours(), now.getMinutes(), now.getSeconds()];
+ }
+ var reset = false;
+ for (var i = 0; i < inst.options.timeSteps.length; i++) {
+ if (reset) {
+ fields[i] = 0;
+ }
+ else if (inst.options.timeSteps[i] > 1) {
+ fields[i] = Math.round(fields[i] / inst.options.timeSteps[i]) *
+ inst.options.timeSteps[i];
+ reset = true;
+ }
+ }
+ return fields;
+ },
+
+ /** Set the selected time into the input field.
+ @private
+ @param inst {object} The instance settings. */
+ _showTime: function(inst) {
+ var currentTime = (inst.options.unlimitedHours ? inst._selectedHour :
+ this._formatNumber(inst.options.show24Hours ? inst._selectedHour :
+ ((inst._selectedHour + 11) % 12) + 1)) + inst.options.separator +
+ this._formatNumber(inst._selectedMinute) +
+ (inst.options.showSeconds ? inst.options.separator +
+ this._formatNumber(inst._selectedSecond) : '') +
+ (inst.options.show24Hours ? '' : inst.options.ampmPrefix +
+ inst.options.ampmNames[(inst._selectedHour < 12 ? 0 : 1)]);
+ this._setValue(inst, currentTime);
+ this._showField(inst);
+ },
+
+ /** Highlight the current date field.
+ @private
+ @param inst {object} The instance settings. */
+ _showField: function(inst) {
+ var input = inst.elem[0];
+ if (inst.elem.is(':hidden') || plugin._lastInput !== input) {
+ return;
+ }
+ var fieldSizes = [inst.elem.val().split(inst.options.separator)[0].length, 2, 2];
+ var start = 0;
+ var field = 0;
+ while (field < inst._field) {
+ start += fieldSizes[field] +
+ (field === Math.max(1, inst._secondField) ? 0 : inst.options.separator.length);
+ field++;
+ }
+ var end = start + (inst._field !== inst._ampmField ? fieldSizes[field] :
+ inst.options.ampmPrefix.length + inst.options.ampmNames[0].length);
+ if (input.setSelectionRange) { // Mozilla
+ input.setSelectionRange(start, end);
+ }
+ else if (input.createTextRange) { // IE
+ var range = input.createTextRange();
+ range.moveStart('character', start);
+ range.moveEnd('character', end - inst.elem.val().length);
+ range.select();
+ }
+ if (!input.disabled) {
+ input.focus();
+ }
+ },
+
+ /** Ensure displayed single number has a leading zero.
+ @private
+ @param value {number} The current value.
+ @return {string} Number with at least two digits. */
+ _formatNumber: function(value) {
+ return (value < 10 ? '0' : '') + value;
+ },
+
+ /** Update the input field and notify listeners.
+ @private
+ @param inst {object} The instance settings.
+ @param value {string} The new value. */
+ _setValue: function(inst, value) {
+ if (value !== inst.elem.val()) {
+ inst.elem.val(value).trigger('change');
+ }
+ },
+
+ /** Move to previous/next field, or out of field altogether if appropriate.
+ @private
+ @param inst {object} The instance settings.
+ @param offset {number} The direction of change (-1, +1).
+ @param moveOut {boolean} true if can move out of the field.
+ @return {boolean} true if exiting the field, false if not. */
+ _changeField: function(inst, offset, moveOut) {
+ var atFirstLast = (inst.elem.val() === '' ||
+ inst._field === (offset === -1 ? 0 : Math.max(1, inst._secondField, inst._ampmField)));
+ if (!atFirstLast) {
+ inst._field += offset;
+ }
+ this._showField(inst);
+ inst._lastChr = '';
+ return (atFirstLast && moveOut);
+ },
+
+ /** Update the current field in the direction indicated.
+ @private
+ @param inst {object} The instance settings.
+ @param offset {number} The amount to change by. */
+ _adjustField: function(inst, offset) {
+ if (inst.elem.val() === '') {
+ offset = 0;
+ }
+ if (inst.options.unlimitedHours) {
+ this._setTime(inst, [inst._selectedHour + (inst._field === 0 ? offset * inst.options.timeSteps[0] : 0),
+ inst._selectedMinute + (inst._field === 1 ? offset * inst.options.timeSteps[1] : 0),
+ inst._selectedSecond + (inst._field === inst._secondField ? offset * inst.options.timeSteps[2] : 0)]);
+ }
+ else {
+ this._setTime(inst, new Date(0, 0, 0,
+ inst._selectedHour + (inst._field === 0 ? offset * inst.options.timeSteps[0] : 0) +
+ (inst._field === inst._ampmField ? offset * 12 : 0),
+ inst._selectedMinute + (inst._field === 1 ? offset * inst.options.timeSteps[1] : 0),
+ inst._selectedSecond + (inst._field === inst._secondField ? offset * inst.options.timeSteps[2] : 0)));
+ }
+ },
+
+ /** Check against minimum/maximum and display time.
+ @private
+ @param inst {object} The instance settings.
+ @param time {Date|number|string|number[]} The actual time or offset in seconds from now or
+ units and periods of offsets from now or numeric period values. */
+ _setTime: function(inst, time) {
+ if (inst.options.unlimitedHours && $.isArray(time)) {
+ var fields = time;
+ }
+ else {
+ time = this._determineTime(time, inst);
+ var fields = (time ? [time.getHours(), time.getMinutes(), time.getSeconds()] : null);
+ }
+ fields = this._constrainTime(inst, fields);
+ time = new Date(0, 0, 0, fields[0], fields[1], fields[2]);
+ // Normalise to base date
+ var time = this._normaliseTime(time);
+ var minTime = this._normaliseTime(this._determineTime(inst.options.minTime, inst));
+ var maxTime = this._normaliseTime(this._determineTime(inst.options.maxTime, inst));
+ // Ensure it is within the bounds set
+ if (inst.options.unlimitedHours) {
+ while (fields[2] < 0) {
+ fields[2] += 60;
+ fields[1]--;
+ }
+ while (fields[2] > 59) {
+ fields[2] -= 60;
+ fields[1]++;
+ }
+ while (fields[1] < 0) {
+ fields[1] += 60;
+ fields[0]--;
+ }
+ while (fields[1] > 59) {
+ fields[1] -= 60;
+ fields[0]++;
+ }
+ minTime = (inst.options.minTime != null && $.isArray(inst.options.minTime)) ?
+ inst.options.minTime : [0, 0, 0];
+ if (fields[0] < minTime[0]) {
+ fields = minTime.slice(0, 3);
+ }
+ else if (fields[0] === minTime[0]) {
+ if (fields[1] < minTime[1]) {
+ fields[1] = minTime[1];
+ fields[2] = minTime[2];
+ }
+ else if (fields[1] === minTime[1]) {
+ if (fields[2] < minTime[2]) {
+ fields[2] = minTime[2];
+ }
+ }
+ }
+ if (inst.options.maxTime != null && $.isArray(inst.options.maxTime)) {
+ if (fields[0] > inst.options.maxTime[0]) {
+ fields = inst.options.maxTime.slice(0, 3);
+ }
+ else if (fields[0] === inst.options.maxTime[0]) {
+ if (fields[1] > inst.options.maxTime[1]) {
+ fields[1] = inst.options.maxTime[1];
+ fields[2] = inst.options.maxTime[2];
+ }
+ else if (fields[1] === inst.options.maxTime[1]) {
+ if (fields[2] > inst.options.maxTime[2]) {
+ fields[2] = inst.options.maxTime[2];
+ }
+ }
+ }
+ }
+ }
+ else {
+ if (minTime && maxTime && minTime > maxTime) {
+ if (time < minTime && time > maxTime) {
+ time = (Math.abs(time - minTime) < Math.abs(time - maxTime) ? minTime : maxTime);
+ }
+ }
+ else {
+ time = (minTime && time < minTime ? minTime :
+ (maxTime && time > maxTime ? maxTime : time));
+ }
+ fields[0] = time.getHours();
+ fields[1] = time.getMinutes();
+ fields[2] = time.getSeconds();
+ }
+ // Perform further restrictions if required
+ if ($.isFunction(inst.options.beforeSetTime)) {
+ time = inst.options.beforeSetTime.apply(inst.elem[0],
+ [this.getTime(inst.elem[0]), time, minTime, maxTime]);
+ fields[0] = time.getHours();
+ fields[1] = time.getMinutes();
+ fields[2] = time.getSeconds();
+ }
+ inst._selectedHour = fields[0];
+ inst._selectedMinute = fields[1];
+ inst._selectedSecond = fields[2];
+ this._showTime(inst);
+ },
+
+ /** A time may be specified as an exact value or a relative one.
+ @private
+ @param setting {Date|number|string|number[]} The actual time or offset in seconds from now or
+ units and periods of offsets from now or numeric period values.
+ @param inst {object} The instance settings.
+ @return {Date} The calculated time. */
+ _determineTime: function(setting, inst) {
+ var offsetNumeric = function(offset) { // E.g. +300, -2
+ var time = new Date();
+ time.setTime(time.getTime() + offset * 1000);
+ return time;
+ };
+ var offsetString = function(offset) { // E.g. '+2m', '-4h', '+3h +30m' or '12:34:56PM'
+ var fields = plugin._extractTime(inst, offset); // Actual time?
+ var time = new Date();
+ var hour = (fields ? fields[0] : time.getHours());
+ var minute = (fields ? fields[1] : time.getMinutes());
+ var second = (fields ? fields[2] : time.getSeconds());
+ if (!fields) {
+ var pattern = /([+-]?[0-9]+)\s*(s|S|m|M|h|H)?/g;
+ var matches = pattern.exec(offset);
+ while (matches) {
+ switch (matches[2] || 's') {
+ case 's' : case 'S' :
+ second += parseInt(matches[1], 10); break;
+ case 'm' : case 'M' :
+ minute += parseInt(matches[1], 10); break;
+ case 'h' : case 'H' :
+ hour += parseInt(matches[1], 10); break;
+ }
+ matches = pattern.exec(offset);
+ }
+ }
+ time = new Date(0, 0, 10, hour, minute, second, 0);
+ if (/^!/.test(offset)) { // No wrapping
+ if (time.getDate() > 10) {
+ time = new Date(0, 0, 10, 23, 59, 59);
+ }
+ else if (time.getDate() < 10) {
+ time = new Date(0, 0, 10, 0, 0, 0);
+ }
+ }
+ return time;
+ };
+ var offsetArray = function(setting) {
+ return new Date(0, 0, 0, setting[0], setting[1] || 0, setting[2] || 0, 0);
+ };
+ return (setting ? (typeof setting === 'string' ? offsetString(setting) :
+ (typeof setting === 'number' ? offsetNumeric(setting) :
+ ($.isArray(setting) ? offsetArray(setting) : setting))) : null);
+ },
+
+ /** Normalise time object to a common date.
+ @private
+ @param time {Date} The original time.
+ @return {Date} The normalised time. */
+ _normaliseTime: function(time) {
+ if (!time) {
+ return null;
+ }
+ time.setFullYear(1900);
+ time.setMonth(0);
+ time.setDate(0);
+ return time;
+ }
+ });
+
+ var plugin = $.timeEntry;
+
+})(jQuery);
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry.min.js b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry.min.js
new file mode 100644
index 0000000..12e6d6a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/jquery.timeentry.min.js
@@ -0,0 +1,6 @@
+/* http://keith-wood.name/timeEntry.html
+ Time entry for jQuery v2.0.1.
+ Written by Keith Wood (kbwood{at}iinet.com.au) June 2007.
+ Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license.
+ Please attribute the author if you use it. */
+(function($){var n='timeEntry';$.JQPlugin.createPlugin({name:n,defaultOptions:{appendText:'',showSeconds:false,unlimitedHours:false,timeSteps:[1,1,1],initialField:null,noSeparatorEntry:false,tabToExit:false,useMouseWheel:true,defaultTime:null,minTime:null,maxTime:null,spinnerImage:'spinnerDefault.png',spinnerSize:[20,20,8],spinnerBigImage:'',spinnerBigSize:[40,40,16],spinnerIncDecOnly:false,spinnerRepeat:[500,250],beforeShow:null,beforeSetTime:null},regionalOptions:{'':{show24Hours:false,separator:':',ampmPrefix:'',ampmNames:['AM','PM'],spinnerTexts:['Now','Previous field','Next field','Increment','Decrement']}},_getters:['getOffset','getTime','isDisabled'],_appendClass:n+'-append',_controlClass:n+'-control',_expandClass:n+'-expand',_disabledInputs:[],_instSettings:function(a,b){return{_field:0,_selectedHour:0,_selectedMinute:0,_selectedSecond:0}},_postAttach:function(b,c){b.on('focus.'+c.name,this._doFocus).on('blur.'+c.name,this._doBlur).on('click.'+c.name,this._doClick).on('keydown.'+c.name,this._doKeyDown).on('keypress.'+c.name,this._doKeyPress).on('paste.'+c.name,function(a){setTimeout(function(){o._parseTime(c)},1)})},_optionsChanged:function(a,b,c){var d=this._extractTime(b);$.extend(b.options,c);b.options.show24Hours=b.options.show24Hours||b.options.unlimitedHours;b._field=0;if(d){this._setTime(b,new Date(0,0,0,d[0],d[1],d[2]))}a.next('span.'+this._appendClass).remove();a.parent().find('span.'+this._controlClass).remove();if($.fn.mousewheel){a.unmousewheel()}var e=(!b.options.spinnerImage?null:$(' '));a.after(b.options.appendText?''+b.options.appendText+' ':'').after(e||'');if(b.options.useMouseWheel&&$.fn.mousewheel){a.mousewheel(this._doMouseWheel)}if(e){e.mousedown(this._handleSpinner).mouseup(this._endSpinner).mouseover(this._expandSpinner).mouseout(this._endSpinner).mousemove(this._describeSpinner)}},enable:function(a){this._enableDisable(a,false)},disable:function(a){this._enableDisable(a,true)},_enableDisable:function(b,c){var d=this._getInst(b);if(!d){return}b.disabled=c;if(b.nextSibling&&b.nextSibling.nodeName.toLowerCase()==='span'){this._changeSpinner(d,b.nextSibling,(c?5:-1))}this._disabledInputs=$.map(this._disabledInputs,function(a){return(a===b?null:a)});if(c){this._disabledInputs.push(b)}},isDisabled:function(a){return $.inArray(a,this._disabledInputs)>-1},_preDestroy:function(b,c){b=$(b).off('.'+n);if($.fn.mousewheel){b.unmousewheel()}this._disabledInputs=$.map(this._disabledInputs,function(a){return(a===b[0]?null:a)});b.siblings('.'+this._appendClass+',.'+this._controlClass).remove()},setTime:function(a,b){var c=this._getInst(a);if(c){if(b===null||b===''){$(a).val('')}else{this._setTime(c,b?($.isArray(b)?b:(typeof b==='object'?new Date(b.getTime()):b)):null)}}},getTime:function(a){var b=this._getInst(a);var c=(b?this._extractTime(b):null);return(!c?null:new Date(0,0,0,c[0],c[1],c[2]))},getOffset:function(a){var b=this._getInst(a);var c=(b?this._extractTime(b):null);return(!c?0:(c[0]*3600+c[1]*60+c[2])*1000)},_doFocus:function(a){var b=(a.nodeName&&a.nodeName.toLowerCase()==='input'?a:this);if(o._lastInput===b||o.isDisabled(b)){o._focussed=false;return}var c=o._getInst(b);o._focussed=true;o._lastInput=b;o._blurredInput=null;$.extend(c.options,($.isFunction(c.options.beforeShow)?c.options.beforeShow.apply(b,[b]):{}));o._parseTime(c,a.nodeName?null:a);setTimeout(function(){o._showField(c)},10)},_doBlur:function(a){o._blurredInput=o._lastInput;o._lastInput=null},_doClick:function(a){var b=a.target;var c=o._getInst(b);var d=c._field;if(!o._focussed){c._field=o._getSelection(c,b,a)}if(d!==c._field){c._lastChr=''}o._showField(c);o._focussed=false},_getSelection:function(b,c,d){var e=0;var f=[b.elem.val().split(b.options.separator)[0].length,2,2];if(c.selectionStart!==null){var g=0;for(var h=0;h<=Math.max(1,b._secondField,b._ampmField);h++){g+=(h!==b._ampmField?f[h]+b.options.separator.length:b.options.ampmPrefix.length+b.options.ampmNames[0].length);e=h;if(c.selectionStart=48){return true}var b=o._getInst(a.target);switch(a.keyCode){case 9:return(b.options.tabToExit?true:(a.shiftKey?o._changeField(b,-1,true):o._changeField(b,+1,true)));case 35:if(a.ctrlKey){o._setValue(b,'')}else{b._field=Math.max(1,b._secondField,b._ampmField);o._adjustField(b,0)}break;case 36:if(a.ctrlKey){o._setTime(b)}else{b._field=0;o._adjustField(b,0)}break;case 37:o._changeField(b,-1,false);break;case 38:o._adjustField(b,+1);break;case 39:o._changeField(b,+1,false);break;case 40:o._adjustField(b,-1);break;case 46:o._setValue(b,'');break;case 8:b._lastChr='';default:return true}return false},_doKeyPress:function(a){var b=String.fromCharCode(a.charCode===undefined?a.keyCode:a.charCode);if(b<' '){return true}var c=o._getInst(a.target);o._handleKeyPress(c,b);return false},_handleKeyPress:function(a,b){if(b===a.options.separator){this._changeField(a,+1,false)}else if(b>='0'&&b<='9'){var c=parseInt(b,10);var d=parseInt(a._lastChr+b,10);var e=(a._field!==0?a._selectedHour:(a.options.unlimitedHours?d:(a.options.show24Hours?(d<24?d:c):(d>=1&&d<=12?d:(c>0?c:a._selectedHour))%12+(a._selectedHour>=12?12:0))));var f=(a._field!==1?a._selectedMinute:(d<60?d:c));var g=(a._field!==a._secondField?a._selectedSecond:(d<60?d:c));var h=this._constrainTime(a,[e,f,g]);this._setTime(a,(a.options.unlimitedHours?h:new Date(0,0,0,h[0],h[1],h[2])));if(a.options.noSeparatorEntry&&a._lastChr){this._changeField(a,+1,false)}else{a._lastChr=(a.options.unlimitedHours&&a._field===0?a._lastChr+b:b)}}else if(!a.options.show24Hours){b=b.toLowerCase();if((b===a.options.ampmNames[0].substring(0,1).toLowerCase()&&a._selectedHour>=12)||(b===a.options.ampmNames[1].substring(0,1).toLowerCase()&&a._selectedHour<12)){var i=a._field;a._field=a._ampmField;this._adjustField(a,+1);a._field=i;this._showField(a)}}},_doMouseWheel:function(a,b){if(o.isDisabled(a.target)){return}var c=o._getInst(a.target);c.elem.focus();if(!c.elem.val()){o._parseTime(c)}o._adjustField(c,b);a.preventDefault()},_expandSpinner:function(b){var c=o._getSpinnerTarget(b);var d=o._getInst(o._getInput(c));if(o.isDisabled(d.elem[0])){return}if(d.options.spinnerBigImage){d._expanded=true;var e=$(c).offset();var f=null;$(c).parents().each(function(){var a=$(this);if(a.css('position')==='relative'||a.css('position')==='absolute'){f=a.offset()}return!f});$('
').mousedown(o._handleSpinner).mouseup(o._endSpinner).mouseout(o._endExpand).mousemove(o._describeSpinner).insertAfter(c)}},_getInput:function(a){return $(a).siblings('.'+this._getMarker())[0]},_describeSpinner:function(a){var b=o._getSpinnerTarget(a);var c=o._getInst(o._getInput(b));b.title=c.options.spinnerTexts[o._getSpinnerRegion(c,a)]},_handleSpinner:function(a){var b=o._getSpinnerTarget(a);var c=o._getInput(b);if(o.isDisabled(c)){return}if(c===o._blurredInput){o._lastInput=c;o._blurredInput=null}var d=o._getInst(c);o._doFocus(c);var e=o._getSpinnerRegion(d,a);o._changeSpinner(d,b,e);o._actionSpinner(d,e);o._timer=null;o._handlingSpinner=true;if(e>=3&&d.options.spinnerRepeat[0]){o._timer=setTimeout(function(){o._repeatSpinner(d,e)},d.options.spinnerRepeat[0]);$(b).one('mouseout',o._releaseSpinner).one('mouseup',o._releaseSpinner)}},_actionSpinner:function(a,b){if(!a.elem.val()){o._parseTime(a)}switch(b){case 0:this._setTime(a);break;case 1:this._changeField(a,-1,false);break;case 2:this._changeField(a,+1,false);break;case 3:this._adjustField(a,+1);break;case 4:this._adjustField(a,-1);break}},_repeatSpinner:function(a,b){if(!o._timer){return}o._lastInput=o._blurredInput;this._actionSpinner(a,b);this._timer=setTimeout(function(){o._repeatSpinner(a,b)},a.options.spinnerRepeat[1])},_releaseSpinner:function(a){clearTimeout(o._timer);o._timer=null},_endExpand:function(a){o._timer=null;var b=o._getSpinnerTarget(a);var c=o._getInput(b);var d=o._getInst(c);$(b).remove();d._expanded=false},_endSpinner:function(a){o._timer=null;var b=o._getSpinnerTarget(a);var c=o._getInput(b);var d=o._getInst(c);if(!o.isDisabled(c)){o._changeSpinner(d,b,-1)}if(o._handlingSpinner){o._lastInput=o._blurredInput}if(o._lastInput&&o._handlingSpinner){o._showField(d)}o._handlingSpinner=false},_getSpinnerTarget:function(a){return a.target||a.srcElement},_getSpinnerRegion:function(a,b){var c=this._getSpinnerTarget(b);var d=$(c).offset();var e=[document.documentElement.scrollLeft||document.body.scrollLeft,document.documentElement.scrollTop||document.body.scrollTop];var f=(a.options.spinnerIncDecOnly?99:b.clientX+e[0]-d.left);var g=b.clientY+e[1]-d.top;var h=a.options[a._expanded?'spinnerBigSize':'spinnerSize'];var i=(a.options.spinnerIncDecOnly?99:h[0]-1-f);var j=h[1]-1-g;if(h[2]>0&&Math.abs(f-i)<=h[2]&&Math.abs(g-j)<=h[2]){return 0}var k=Math.min(f,g,i,j);return(k===f?1:(k===i?2:(k===g?3:4)))},_changeSpinner:function(a,b,c){$(b).css('background-position','-'+((c+1)*a.options[a._expanded?'spinnerBigSize':'spinnerSize'][0])+'px 0px')},_parseTime:function(a,b){var c=this._extractTime(a);if(c){a._selectedHour=c[0];a._selectedMinute=c[1];a._selectedSecond=c[2]}else{var d=this._constrainTime(a);a._selectedHour=d[0];a._selectedMinute=d[1];a._selectedSecond=(a.options.showSeconds?d[2]:0)}a._secondField=(a.options.showSeconds?2:-1);a._ampmField=(a.options.show24Hours?-1:(a.options.showSeconds?3:2));a._lastChr='';var e=function(){if(a.elem.val()!==''){o._showTime(a)}};if(typeof a.options.initialField==='number'){a._field=Math.max(0,Math.min(Math.max(1,a._secondField,a._ampmField),a.options.initialField));e()}else{setTimeout(function(){a._field=o._getSelection(a,a.elem[0],b);e()},0)}},_extractTime:function(a,b){b=b||a.elem.val();var c=b.split(a.options.separator);if(a.options.separator===''&&b!==''){c[0]=b.substring(0,2);c[1]=b.substring(2,4);c[2]=b.substring(4,6)}if(c.length>=2){var d=!a.options.show24Hours&&(b.indexOf(a.options.ampmNames[0])>-1);var e=!a.options.show24Hours&&(b.indexOf(a.options.ampmNames[1])>-1);var f=parseInt(c[0],10);f=(isNaN(f)?0:f);f=((d||e)&&f===12?0:f)+(e?12:0);var g=parseInt(c[1],10);g=(isNaN(g)?0:g);var h=(c.length>=3?parseInt(c[2],10):0);h=(isNaN(h)||!a.options.showSeconds?0:h);return this._constrainTime(a,[f,g,h])}return null},_constrainTime:function(a,b){var c=(b!==null&&b!==undefined);if(!c){var d=this._determineTime(a.options.defaultTime,a)||new Date();b=[d.getHours(),d.getMinutes(),d.getSeconds()]}var e=false;for(var i=0;i1){b[i]=Math.round(b[i]/a.options.timeSteps[i])*a.options.timeSteps[i];e=true}}return b},_showTime:function(a){var b=(a.options.unlimitedHours?a._selectedHour:this._formatNumber(a.options.show24Hours?a._selectedHour:((a._selectedHour+11)%12)+1))+a.options.separator+this._formatNumber(a._selectedMinute)+(a.options.showSeconds?a.options.separator+this._formatNumber(a._selectedSecond):'')+(a.options.show24Hours?'':a.options.ampmPrefix+a.options.ampmNames[(a._selectedHour<12?0:1)]);this._setValue(a,b);this._showField(a)},_showField:function(a){var b=a.elem[0];if(a.elem.is(':hidden')||o._lastInput!==b){return}var c=[a.elem.val().split(a.options.separator)[0].length,2,2];var d=0;var e=0;while(e59){c[2]-=60;c[1]++}while(c[1]<0){c[1]+=60;c[0]--}while(c[1]>59){c[1]-=60;c[0]++}d=(a.options.minTime!=null&&$.isArray(a.options.minTime))?a.options.minTime:[0,0,0];if(c[0]a.options.maxTime[0]){c=a.options.maxTime.slice(0,3)}else if(c[0]===a.options.maxTime[0]){if(c[1]>a.options.maxTime[1]){c[1]=a.options.maxTime[1];c[2]=a.options.maxTime[2]}else if(c[1]===a.options.maxTime[1]){if(c[2]>a.options.maxTime[2]){c[2]=a.options.maxTime[2]}}}}}else{if(d&&e&&d>e){if(be){b=(Math.abs(b-d)e?e:b))}c[0]=b.getHours();c[1]=b.getMinutes();c[2]=b.getSeconds()}if($.isFunction(a.options.beforeSetTime)){b=a.options.beforeSetTime.apply(a.elem[0],[this.getTime(a.elem[0]),b,d,e]);c[0]=b.getHours();c[1]=b.getMinutes();c[2]=b.getSeconds()}a._selectedHour=c[0];a._selectedMinute=c[1];a._selectedSecond=c[2];this._showTime(a)},_determineTime:function(i,j){var k=function(a){var b=new Date();b.setTime(b.getTime()+a*1000);return b};var l=function(a){var b=o._extractTime(j,a);var c=new Date();var d=(b?b[0]:c.getHours());var e=(b?b[1]:c.getMinutes());var f=(b?b[2]:c.getSeconds());if(!b){var g=/([+-]?[0-9]+)\s*(s|S|m|M|h|H)?/g;var h=g.exec(a);while(h){switch(h[2]||'s'){case's':case'S':f+=parseInt(h[1],10);break;case'm':case'M':e+=parseInt(h[1],10);break;case'h':case'H':d+=parseInt(h[1],10);break}h=g.exec(a)}}c=new Date(0,0,10,d,e,f,0);if(/^!/.test(a)){if(c.getDate()>10){c=new Date(0,0,10,23,59,59)}else if(c.getDate()<10){c=new Date(0,0,10,0,0,0)}}return c};var m=function(a){return new Date(0,0,0,a[0],a[1]||0,a[2]||0,0)};return(i?(typeof i==='string'?l(i):(typeof i==='number'?k(i):($.isArray(i)?m(i):i))):null)},_normaliseTime:function(a){if(!a){return null}a.setFullYear(1900);a.setMonth(0);a.setDate(0);return a}});var o=$.timeEntry})(jQuery);
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerBlue.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerBlue.png
new file mode 100644
index 0000000..d3554b6
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerBlue.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerBlueBig.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerBlueBig.png
new file mode 100644
index 0000000..f56d332
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerBlueBig.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerDefault.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerDefault.png
new file mode 100644
index 0000000..de2c0f2
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerDefault.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerDefaultBig.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerDefaultBig.png
new file mode 100644
index 0000000..17bfc81
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerDefaultBig.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGem.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGem.png
new file mode 100644
index 0000000..a037c6d
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGem.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGemBig.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGemBig.png
new file mode 100644
index 0000000..2da9692
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGemBig.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGreen.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGreen.png
new file mode 100644
index 0000000..2b6fab5
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGreen.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGreenBig.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGreenBig.png
new file mode 100644
index 0000000..e90a791
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerGreenBig.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerOrange.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerOrange.png
new file mode 100644
index 0000000..6419e81
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerOrange.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerOrangeBig.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerOrangeBig.png
new file mode 100644
index 0000000..a3f050c
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerOrangeBig.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerSquare.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerSquare.png
new file mode 100644
index 0000000..9292800
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerSquare.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerSquareBig.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerSquareBig.png
new file mode 100644
index 0000000..5da938e
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerSquareBig.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerText.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerText.png
new file mode 100644
index 0000000..502ad52
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerText.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerTextBig.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerTextBig.png
new file mode 100644
index 0000000..a24575c
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerTextBig.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerUpDown.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerUpDown.png
new file mode 100644
index 0000000..2599312
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerUpDown.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerUpDownBig.png b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerUpDownBig.png
new file mode 100644
index 0000000..901d5d5
Binary files /dev/null and b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/spinnerUpDownBig.png differ
diff --git a/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/timeEntryBasic.html b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/timeEntryBasic.html
new file mode 100644
index 0000000..dc9e442
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/lib/jquery.timeentry.package-2.0.1/timeEntryBasic.html
@@ -0,0 +1,25 @@
+
+
+
+
+jQuery Time Entry
+
+
+
+
+
+
+
+jQuery Time Entry Basics
+This page demonstrates the very basics of the
+ jQuery Time Entry plugin .
+ It contains the minimum requirements for using the plugin and
+ can be used as the basis for your own experimentation.
+For more detail see the documentation reference page.
+Enter your time:
+
+
diff --git a/odex30_base/web_hijri_datepicker/static/src/components/hijri_date_field.js b/odex30_base/web_hijri_datepicker/static/src/components/hijri_date_field.js
new file mode 100644
index 0000000..8a9768e
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/src/components/hijri_date_field.js
@@ -0,0 +1,90 @@
+/** @odoo-module **/
+
+import { DateTimeField } from "@web/views/fields/datetime/datetime_field";
+import { registry } from "@web/core/registry";
+import { _t } from "@web/core/l10n/translation";
+import { Component, onMounted, useRef, useState } from "@odoo/owl";
+import { HijriDate } from "../utils/hijri_converter";
+
+export class HijriDateField extends DateTimeField {
+ static template = "web_hijri_datepicker.HijriDateField";
+
+ setup() {
+ super.setup();
+ this.hijriInputRef = useRef("hijriInput");
+ this.state = useState({
+ showHijriPicker: false,
+ hijriDate: null
+ });
+
+ onMounted(() => {
+ this.updateHijriDate();
+ });
+ }
+
+ updateHijriDate() {
+ if (this.props.value) {
+ const gregorianDate = new Date(this.props.value);
+ this.state.hijriDate = HijriDate.fromGregorian(gregorianDate);
+ } else {
+ this.state.hijriDate = null;
+ }
+ }
+
+ get hijriDateString() {
+ if (!this.state.hijriDate) {
+ return "";
+ }
+ return this.state.hijriDate.toString('ar');
+ }
+
+ get hijriDateStringEn() {
+ if (!this.state.hijriDate) {
+ return "";
+ }
+ return this.state.hijriDate.toString('en');
+ }
+
+ onHijriInputClick(ev) {
+ ev.preventDefault();
+ this.state.showHijriPicker = !this.state.showHijriPicker;
+ }
+
+ onHijriDateChange(year, month, day) {
+ try {
+ const hijriDate = new HijriDate(year, month, day);
+ const gregorianDate = hijriDate.hijriToGregorian();
+ this.state.showHijriPicker = false;
+ this.state.hijriDate = hijriDate;
+
+ // Format date for Odoo
+ const formattedDate = gregorianDate.toISOString().split('T')[0];
+ this.onChange(formattedDate);
+ } catch (error) {
+ console.error("Error converting Hijri to Gregorian:", error);
+ }
+ }
+
+ onClosePicker() {
+ this.state.showHijriPicker = false;
+ }
+
+ getCurrentHijriYear() {
+ return this.state.hijriDate?.year || new HijriDate().year;
+ }
+
+ getCurrentHijriMonth() {
+ return this.state.hijriDate?.month || new HijriDate().month;
+ }
+
+ getCurrentHijriDay() {
+ return this.state.hijriDate?.day || new HijriDate().day;
+ }
+}
+
+// Register the field
+registry.category("fields").add("hijri_date", {
+ component: HijriDateField,
+ displayName: "Hijri Date",
+ supportedTypes: ["date", "datetime"],
+});
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/src/components/hijri_date_field.xml b/odex30_base/web_hijri_datepicker/static/src/components/hijri_date_field.xml
new file mode 100644
index 0000000..d3ca22f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/src/components/hijri_date_field.xml
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Year
+
+
+
+
+
+
+
+ Month
+
+
+
+
+
+
+
+ Day
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/src/fields/hijri_date_field.js b/odex30_base/web_hijri_datepicker/static/src/fields/hijri_date_field.js
new file mode 100644
index 0000000..6343573
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/src/fields/hijri_date_field.js
@@ -0,0 +1,230 @@
+/** @odoo-module **/
+
+import { DateTimeField, dateField } from "@web/views/fields/datetime/datetime_field";
+import { registry } from "@web/core/registry";
+import { _t } from "@web/core/l10n/translation";
+import { localization } from "@web/core/l10n/localization";
+import { useState, onMounted, useRef, useEffect } from "@odoo/owl";
+import { deserializeDate, deserializeDateTime } from "@web/core/l10n/dates";
+
+// Hijri month names mapping
+const hijriMonths = {
+ "Muharram": "مُحَرَّم",
+ "Safar": "صَفَر",
+ "Rabi' al-awwal": "رَبِيْعُ الأَوّل",
+ "Rabi' al-thani": "رَبِيْعُ الثَّانِي",
+ "Jumada al-awwal": "جَمَادِي الأَوّل",
+ "Jumada al-thani": "جَمَادِي الثَّانِي",
+ "Rajab": "رَجَب",
+ "Sha'aban": "شَعْبَان",
+ "Ramadan": "رَمَضَان",
+ "Shawwal": "شَوَّال",
+ "Dhu al-Qi'dah": "ذُوالْقَعْدَة",
+ "Dhu al-Hijjah": "ذُوالْحِجَّة"
+};
+
+// Convert Western digits to Arabic-Indic digits
+function toArabicDigits(str) {
+ const arabicDigits = ['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩'];
+ return String(str).replace(/[0-9]/g, (w) => arabicDigits[+w]);
+}
+
+export class HijriDateTimeField extends DateTimeField {
+ static template = "web_hijri_datepicker.HijriDateTimeField";
+
+ setup() {
+ super.setup();
+ this.hijriInputRef = useRef("hijriInput");
+ this.hijriState = useState({
+ hijriValue: "",
+ });
+
+ onMounted(() => {
+ this.initHijriCalendar();
+ this.updateHijriDisplay();
+ });
+
+ useEffect(
+ () => {
+ this.updateHijriDisplay();
+ },
+ () => [this.state.value]
+ );
+ }
+
+ initHijriCalendar() {
+ // Check if jQuery calendars library is loaded
+ if (!window.$ || !window.$.calendars) {
+ console.warn("jQuery calendars library not loaded. Hijri calendar functionality will be limited.");
+ return;
+ }
+
+ const $hijriInput = $(this.hijriInputRef.el);
+ if (!$hijriInput.length) return;
+
+ // Initialize the Hijri calendar picker
+ try {
+ const calendar = $.calendars.instance('islamic', 'en');
+
+ $hijriInput.calendarsPicker({
+ calendar: calendar,
+ dateFormat: 'MM d, yyyy',
+ changeMonth: false,
+ changeYear: false,
+ showAnim: '',
+ onSelect: (dates) => this.onHijriDateSelected(dates),
+ showOtherMonths: false,
+ selectOtherMonths: false
+ });
+
+ } catch (error) {
+ console.error("Error initializing Hijri calendar:", error);
+ }
+ }
+
+ onHijriDateSelected(dates) {
+ if (!dates || dates.length === 0) {
+ return;
+ }
+
+ try {
+ const hijriDate = dates[0];
+ const islamic = $.calendars.instance('islamic');
+ const gregorian = $.calendars.instance('gregorian');
+
+ // Convert Hijri to Julian Day then to Gregorian
+ const jd = islamic.toJD(hijriDate.year(), hijriDate.month(), hijriDate.day());
+ const gregDate = gregorian.fromJD(jd);
+
+ // Create luxon DateTime object
+ const dateValue = this.field.type === "date"
+ ? deserializeDate(`${gregDate.year()}-${String(gregDate.month()).padStart(2, '0')}-${String(gregDate.day()).padStart(2, '0')}`)
+ : deserializeDateTime(`${gregDate.year()}-${String(gregDate.month()).padStart(2, '0')}-${String(gregDate.day()).padStart(2, '0')} 00:00:00`);
+
+ // Update the field value using parent's state management
+ this.state.value = dateValue;
+
+ // Trigger the parent's onApply to save the change
+ const toUpdate = {};
+ toUpdate[this.props.name] = dateValue;
+ this.props.record.update(toUpdate);
+
+ // Update Hijri display
+ this.updateHijriDisplay();
+
+ } catch (error) {
+ console.error("Error converting Hijri date:", error);
+ }
+ }
+
+ updateHijriDisplay() {
+ if (!this.state.value || !window.$ || !window.$.calendars) {
+ this.hijriState.hijriValue = "";
+ return;
+ }
+
+ try {
+ const value = this.state.value;
+ if (!value || !value.isValid) {
+ this.hijriState.hijriValue = "";
+ return;
+ }
+
+ // Convert luxon DateTime to JavaScript Date
+ const jsDate = value.toJSDate();
+
+ // Convert Gregorian to Hijri
+ const gregorianCalendar = $.calendars.instance('gregorian');
+ const islamicCalendar = $.calendars.instance('islamic');
+
+ const jd = gregorianCalendar.toJD(
+ jsDate.getFullYear(),
+ jsDate.getMonth() + 1,
+ jsDate.getDate()
+ );
+
+ const hijriDate = islamicCalendar.fromJD(jd);
+
+ // Format the Hijri date
+ let formattedDate = islamicCalendar.formatDate('MM d, yyyy', hijriDate);
+
+ // If Arabic locale, convert month names and digits
+ if (localization.code === 'ar' || localization.code.startsWith('ar_')) {
+ const monthName = islamicCalendar.formatDate('MM', hijriDate);
+ const dayYear = islamicCalendar.formatDate('d, yyyy', hijriDate);
+
+ // Replace month name with Arabic equivalent
+ const arabicMonth = hijriMonths[monthName] || monthName;
+
+ // Convert digits to Arabic-Indic
+ const arabicDayYear = toArabicDigits(dayYear);
+
+ formattedDate = `${arabicMonth} ${arabicDayYear}`;
+ }
+
+ this.hijriState.hijriValue = formattedDate;
+
+ } catch (error) {
+ console.error("Error converting to Hijri date:", error);
+ this.hijriState.hijriValue = "";
+ }
+ }
+
+ onHijriInputClick(ev) {
+ ev.preventDefault();
+ ev.stopPropagation();
+
+ if (!window.$ || !window.$.calendars) {
+ console.warn("Hijri calendar library not available");
+ return;
+ }
+
+ const $hijriInput = $(this.hijriInputRef.el);
+
+ if ($hijriInput.length && $hijriInput.calendarsPicker) {
+ // Show the calendar picker
+ $hijriInput.calendarsPicker('show');
+
+ // If there's a current value, set it in the picker
+ if (this.state.value && this.state.value.isValid) {
+ try {
+ const jsDate = this.state.value.toJSDate();
+ const gregorianCalendar = $.calendars.instance('gregorian');
+ const islamicCalendar = $.calendars.instance('islamic');
+
+ const jd = gregorianCalendar.toJD(
+ jsDate.getFullYear(),
+ jsDate.getMonth() + 1,
+ jsDate.getDate()
+ );
+
+ const hijriDate = islamicCalendar.fromJD(jd);
+ $hijriInput.calendarsPicker('setDate', hijriDate);
+ } catch (error) {
+ console.error("Error setting Hijri date in picker:", error);
+ }
+ }
+ }
+ }
+
+ onHijriInputFocus(ev) {
+ // Prevent keyboard input
+ ev.target.blur();
+ this.onHijriInputClick(ev);
+ }
+}
+
+// Register field widget
+export const hijriDateField = {
+ ...dateField,
+ component: HijriDateTimeField,
+ displayName: _t("Hijri Date"),
+ supportedTypes: ["date", "datetime"],
+};
+
+// Register for both date and datetime types
+registry.category("fields").add("hijri_date", hijriDateField);
+registry.category("fields").add("hijri_datetime", {
+ ...hijriDateField,
+ supportedTypes: ["datetime"],
+});
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/src/fields/hijri_date_field.scss b/odex30_base/web_hijri_datepicker/static/src/fields/hijri_date_field.scss
new file mode 100644
index 0000000..5cd243a
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/src/fields/hijri_date_field.scss
@@ -0,0 +1,89 @@
+.o_field_hijri_datetime {
+ .o_datetime_input_container {
+ width: 100%;
+ }
+
+ .o_hijri_input_container {
+ .input-group-text {
+ background-color: #f8f9fa;
+ border-color: #dee2e6;
+
+ i {
+ color: #6c757d;
+ }
+ }
+
+ .o_hijri_input {
+ cursor: pointer;
+ background-color: #fff;
+
+ &:hover {
+ background-color: #f8f9fa;
+ }
+
+ &:focus {
+ border-color: #86b7fe;
+ box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
+ }
+ }
+ }
+
+ &.o_readonly_datetime_field {
+ .o_hijri_date {
+ margin-top: 0.25rem;
+ font-size: 0.875rem;
+
+ i {
+ opacity: 0.7;
+ }
+ }
+ }
+}
+
+// Hijri calendar picker customizations
+.calendars-popup {
+ z-index: 1055 !important; // Ensure it appears above modals
+
+ .calendars-month-header {
+ background-color: #7c7bad;
+ color: white;
+ }
+
+ .calendars-today {
+ background-color: #e9ecef;
+ font-weight: bold;
+ }
+
+ .calendars-selected {
+ background-color: #7c7bad !important;
+ color: white !important;
+ }
+
+ .calendars-highlight {
+ background-color: rgba(124, 123, 173, 0.2);
+ }
+
+ &[dir="rtl"] {
+ .calendars-month-header {
+ direction: rtl;
+ }
+ }
+}
+
+// Arabic locale specific styles
+html[lang="ar"] {
+ .o_field_hijri_datetime {
+ .o_hijri_input_container {
+ direction: rtl;
+
+ .input-group {
+ flex-direction: row-reverse;
+ }
+ }
+ }
+
+ .calendars-popup {
+ direction: rtl;
+ font-family: 'Segoe UI', Tahoma, sans-serif;
+ }
+}
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/src/fields/hijri_date_field.xml b/odex30_base/web_hijri_datepicker/static/src/fields/hijri_date_field.xml
new file mode 100644
index 0000000..9d67d3b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/src/fields/hijri_date_field.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/src/patches/datetime_field_patch.js b/odex30_base/web_hijri_datepicker/static/src/patches/datetime_field_patch.js
new file mode 100644
index 0000000..033f55b
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/src/patches/datetime_field_patch.js
@@ -0,0 +1,165 @@
+/** @odoo-module **/
+
+import { DateTimeField } from "@web/views/fields/datetime/datetime_field";
+import { patch } from "@web/core/utils/patch";
+import { useState, onMounted, useEffect } from "@odoo/owl";
+import { HijriDate } from "../utils/hijri_converter";
+import { deserializeDate, deserializeDateTime } from "@web/core/l10n/dates";
+
+patch(DateTimeField.prototype, {
+ setup() {
+ super.setup();
+
+ // Add Hijri-specific state
+ this.hijriState = useState({
+ hijriValue: "",
+ showPicker: false,
+ hijriDate: null
+ });
+
+ onMounted(() => {
+ this.updateHijriDisplay();
+ });
+
+ // Add effect to update Hijri when value changes
+ useEffect(
+ () => {
+ this.updateHijriDisplay();
+ },
+ () => [this.state.value]
+ );
+ },
+
+ updateHijriDisplay() {
+ if (!this.hijriState) {
+ return;
+ }
+
+ // Get the actual value
+ const value = this.state.value;
+
+ if (!value || !value.isValid) {
+ this.hijriState.hijriValue = "";
+ this.hijriState.hijriDate = null;
+ return;
+ }
+
+ try {
+ // Convert luxon DateTime to JavaScript Date
+ const jsDate = value.toJSDate();
+
+ // Convert Gregorian to Hijri using our utility
+ const hijriDate = HijriDate.fromGregorian(jsDate);
+
+ // Store the hijri date object
+ this.hijriState.hijriDate = hijriDate;
+
+ // Format for display
+ this.hijriState.hijriValue = hijriDate.toString('ar');
+
+ } catch (error) {
+ console.error("Error converting to Hijri date:", error);
+ this.hijriState.hijriValue = "";
+ this.hijriState.hijriDate = null;
+ }
+ },
+
+ get showHijriDate() {
+ return this.hijriState && this.hijriState.hijriValue;
+ },
+
+ onHijriInputClick(ev) {
+ ev.preventDefault();
+ this.hijriState.showPicker = !this.hijriState.showPicker;
+ },
+
+ onHijriYearChange(ev) {
+ const year = parseInt(ev.target.value);
+ this.onHijriDateChange(year, this.getCurrentHijriMonth(), this.getCurrentHijriDay());
+ },
+
+ onHijriMonthChange(ev) {
+ const month = parseInt(ev.target.value);
+ this.onHijriDateChange(this.getCurrentHijriYear(), month, this.getCurrentHijriDay());
+ },
+
+ onHijriDayChange(ev) {
+ const day = parseInt(ev.target.value);
+ this.onHijriDateChange(this.getCurrentHijriYear(), this.getCurrentHijriMonth(), day);
+ },
+
+ onHijriDateChange(year, month, day) {
+ try {
+ const hijriDate = new HijriDate(year, month, day);
+ const gregorianDate = hijriDate.hijriToGregorian();
+
+ // Format date for Odoo's DateTime field
+ const dateString = gregorianDate.toISOString().split('T')[0];
+ const luxonDate = this.props.type === "datetime"
+ ? deserializeDateTime(dateString + " 00:00:00")
+ : deserializeDate(dateString);
+
+ this.state.value = luxonDate;
+ this.hijriState.showPicker = false;
+
+ // Trigger field update
+ this.props.record.update({[this.props.name]: luxonDate});
+
+ } catch (error) {
+ console.error("Error converting Hijri to Gregorian:", error);
+ }
+ },
+
+ onClosePicker() {
+ this.hijriState.showPicker = false;
+ },
+
+ getCurrentHijriYear() {
+ return this.hijriState.hijriDate?.year || new HijriDate().year;
+ },
+
+ getCurrentHijriMonth() {
+ return this.hijriState.hijriDate?.month || new HijriDate().month;
+ },
+
+ getCurrentHijriDay() {
+ return this.hijriState.hijriDate?.day || new HijriDate().day;
+ },
+
+ getHijriMonthName() {
+ const monthIndex = this.getCurrentHijriMonth() - 1;
+ const months = ['محرم', 'صفر', 'ربيع الأول', 'ربيع الثاني', 'جمادى الأولى', 'جمادى الثانية', 'رجب', 'شعبان', 'رمضان', 'شوال', 'ذو القعدة', 'ذو الحجة'];
+ return months[monthIndex] || months[0];
+ },
+
+ onPrevMonth() {
+ let month = this.getCurrentHijriMonth() - 1;
+ let year = this.getCurrentHijriYear();
+
+ if (month < 1) {
+ month = 12;
+ year--;
+ }
+
+ const day = Math.min(this.getCurrentHijriDay(), 29); // Ensure valid day
+ this.onHijriDateChange(year, month, day);
+ },
+
+ onNextMonth() {
+ let month = this.getCurrentHijriMonth() + 1;
+ let year = this.getCurrentHijriYear();
+
+ if (month > 12) {
+ month = 1;
+ year++;
+ }
+
+ const day = Math.min(this.getCurrentHijriDay(), 29); // Ensure valid day
+ this.onHijriDateChange(year, month, day);
+ },
+
+ onSelectToday() {
+ const today = new HijriDate(); // Current Hijri date
+ this.onHijriDateChange(today.year, today.month, today.day);
+ }
+});
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/src/patches/datetime_field_patch.xml b/odex30_base/web_hijri_datepicker/static/src/patches/datetime_field_patch.xml
new file mode 100644
index 0000000..52ce359
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/src/patches/datetime_field_patch.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Today
+
+
+ Done
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/src/scss/web_hijri_date.scss b/odex30_base/web_hijri_datepicker/static/src/scss/web_hijri_date.scss
new file mode 100644
index 0000000..7277726
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/src/scss/web_hijri_date.scss
@@ -0,0 +1,118 @@
+.calendars-popup {
+ z-index: 99999 !important;
+ position: absolute !important;
+ & > .calendars {
+ min-width: 225px;
+ & > .calendars-month-row {
+ & > .calendars-month {
+ width: 100%;
+ & > .calendars-month-header {
+ display: flex;
+ & > .calendars-month-year {
+ width: auto;
+ display: inline;
+ }
+ }
+ }
+ }
+ .calendars-month {
+ table {
+ & > thead {
+ & > tr {
+ & > th {
+ span {
+ max-width: 29px;
+ }
+ }
+ }
+ }
+ }
+
+ }
+ }
+}
+
+.o_list_view .o_data_row.o_selected_row {
+ & > .o_data_cell:not(.o_readonly_modifier) {
+ & > .o_datepicker {
+ position: relative;
+ display: inline;
+ float: left;
+ width: 50%;
+ }
+ }
+}
+
+.o_list_view {
+ .o_list_table {
+ tbody {
+ tr {
+ td {
+ .o_datepicker_input {
+ width: 50% !important;
+ }
+ }
+ }
+ }
+ }
+}
+
+.o_datepicker {
+ .o_datepicker_button {
+ &.o_hijri_datepicker_button {
+ top: 30px;
+ }
+ }
+}
+
+/* Hijri date display styling */
+.hijri-date-container {
+ margin-top: 2px !important; /* Reduce top margin */
+
+ .hijri-date-input {
+ margin-top: 4px !important; /* Much smaller top margin */
+
+ input[readonly] {
+ background-color: #f8f9fa;
+ border-color: #dee2e6;
+ font-family: "Segoe UI", Tahoma, Arial, sans-serif;
+ font-size: 13px; /* Slightly smaller font */
+ text-align: center;
+ direction: rtl;
+ padding: 4px 8px; /* Reduced padding */
+ height: 32px; /* Set fixed smaller height */
+
+ &:focus {
+ outline: none;
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
+ border-color: #80bdff;
+ }
+ }
+
+ .form-control-plaintext {
+ font-family: "Segoe UI", Tahoma, Arial, sans-serif;
+ font-size: 13px; /* Slightly smaller font */
+ text-align: center;
+ direction: rtl;
+ color: #6c757d;
+ padding: 4px 0; /* Reduced padding */
+ line-height: 1.2; /* Tighter line height */
+ }
+ }
+
+ .hijri-picker-dropdown {
+ .card-header h6 {
+ font-family: "Segoe UI", Tahoma, Arial, sans-serif;
+ color: #495057;
+ }
+
+ .btn {
+ font-family: inherit;
+ }
+
+ select.form-select {
+ font-family: "Segoe UI", Tahoma, Arial, sans-serif;
+ font-size: 13px;
+ }
+ }
+}
\ No newline at end of file
diff --git a/odex30_base/web_hijri_datepicker/static/src/utils/hijri_converter.js b/odex30_base/web_hijri_datepicker/static/src/utils/hijri_converter.js
new file mode 100644
index 0000000..ce2d05f
--- /dev/null
+++ b/odex30_base/web_hijri_datepicker/static/src/utils/hijri_converter.js
@@ -0,0 +1,133 @@
+/** @odoo-module **/
+
+// Simple Hijri date converter
+// Based on the Umm al-Qura calendar system
+
+const HIJRI_EPOCH = 1948439.5; // Julian day number for 1 Muharram 1 AH
+const DAYS_IN_YEAR = 354.36667; // Average days in a Hijri year
+
+const HIJRI_MONTHS = [
+ "محرم", "صفر", "ربيع الأول", "ربيع الثاني",
+ "جمادى الأولى", "جمادى الثانية", "رجب", "شعبان",
+ "رمضان", "شوال", "ذو القعدة", "ذو الحجة"
+];
+
+const HIJRI_MONTHS_EN = [
+ "Muharram", "Safar", "Rabi' al-awwal", "Rabi' al-thani",
+ "Jumada al-awwal", "Jumada al-thani", "Rajab", "Sha'ban",
+ "Ramadan", "Shawwal", "Dhu al-Qi'dah", "Dhu al-Hijjah"
+];
+
+class HijriDate {
+ constructor(year = null, month = null, day = null) {
+ if (year === null) {
+ // Initialize with current Hijri date
+ const today = new Date();
+ const hijri = this.gregorianToHijri(today);
+ this.year = hijri.year;
+ this.month = hijri.month;
+ this.day = hijri.day;
+ } else {
+ this.year = year;
+ this.month = month;
+ this.day = day;
+ }
+ }
+
+ static fromGregorian(gregorianDate) {
+ const hijri = new HijriDate();
+ const converted = hijri.gregorianToHijri(gregorianDate);
+ hijri.year = converted.year;
+ hijri.month = converted.month;
+ hijri.day = converted.day;
+ return hijri;
+ }
+
+ gregorianToHijri(gregorianDate) {
+ // Convert Gregorian date to Julian day number
+ const jd = this.gregorianToJulian(gregorianDate);
+
+ // Convert Julian day to Hijri
+ const l = jd - HIJRI_EPOCH;
+ const n = Math.floor(l / DAYS_IN_YEAR);
+ const aux1 = Math.ceil((l - n * DAYS_IN_YEAR) / 29.5);
+ const aux2 = ((l - n * DAYS_IN_YEAR) - Math.floor(aux1 * 29.5)) + 1;
+
+ const year = n + 1;
+ const month = Math.ceil(aux1);
+ const day = Math.floor(aux2);
+
+ return {
+ year: year,
+ month: month > 12 ? month - 12 : month,
+ day: day < 1 ? 1 : day
+ };
+ }
+
+ hijriToGregorian() {
+ // Convert Hijri to Julian day number
+ const jd = HIJRI_EPOCH + (this.year - 1) * DAYS_IN_YEAR +
+ (this.month - 1) * 29.5 + this.day;
+
+ // Convert Julian day to Gregorian
+ return this.julianToGregorian(jd);
+ }
+
+ gregorianToJulian(date) {
+ const year = date.getFullYear();
+ const month = date.getMonth() + 1;
+ const day = date.getDate();
+
+ let a = Math.floor((14 - month) / 12);
+ let y = year - a;
+ let m = month + 12 * a - 3;
+
+ return Math.floor(365.25 * y) + Math.floor(30.6001 * (m + 1)) + day + 1720995;
+ }
+
+ julianToGregorian(jd) {
+ const l = jd + 68569;
+ const n = Math.floor((4 * l) / 146097);
+ const l2 = l - Math.floor((146097 * n + 3) / 4);
+
+ const i = Math.floor((4000 * (l2 + 1)) / 1461001);
+ const l3 = l2 - Math.floor((1461 * i) / 4) + 31;
+ const j = Math.floor((80 * l3) / 2447);
+ const day = l3 - Math.floor((2447 * j) / 80);
+ const l4 = Math.floor(j / 11);
+ const month = j + 2 - (12 * l4);
+ const year = 100 * (n - 49) + i + l4;
+
+ return new Date(year, month - 1, day);
+ }
+
+ toString(lang = 'ar') {
+ const months = lang === 'ar' ? HIJRI_MONTHS : HIJRI_MONTHS_EN;
+
+ if (lang === 'ar') {
+ // Better Arabic format with proper spacing and layout
+ const arabicDay = this.toArabicNumerals(this.day);
+ const arabicYear = this.toArabicNumerals(this.year);
+ const monthName = months[this.month - 1];
+ return `${arabicDay} ${monthName} ${arabicYear}هـ`;
+ } else {
+ // English format: "15 Ramadan 1446 AH"
+ return `${this.day} ${months[this.month - 1]} ${this.year} AH`;
+ }
+ }
+
+ toArabicNumerals(num) {
+ const arabicNumerals = ['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩'];
+ return String(num).replace(/[0-9]/g, (digit) => arabicNumerals[parseInt(digit)]);
+ }
+
+ toObject() {
+ return {
+ year: this.year,
+ month: this.month,
+ day: this.day
+ };
+ }
+}
+
+export { HijriDate, HIJRI_MONTHS, HIJRI_MONTHS_EN };
\ No newline at end of file