diff options
Diffstat (limited to 'ishtar_common/static/js')
48 files changed, 41 insertions, 8223 deletions
diff --git a/ishtar_common/static/js/JQueryCorporation.js b/ishtar_common/static/js/JQueryCorporation.js new file mode 100644 index 000000000..e65001506 --- /dev/null +++ b/ishtar_common/static/js/JQueryCorporation.js @@ -0,0 +1,14 @@ +var current_status = 'corporation'; + +$(function() { + var $radios = $('input:radio[name=person_type]'); + if($radios.is(':checked') === false) { + $radios.filter('[value='+ current_status +']').prop('checked', true); + } + + $radios.change(function(){ + var loc = window.location; + window.location = loc.protocol + '//' + loc.host + loc.pathname + "?status=" + $('input:radio[name=person_type]:checked').val(); + }); + $("#corporation_div").show(); +}); diff --git a/ishtar_common/static/js/grid.tbltogrid.js b/ishtar_common/static/js/grid.tbltogrid.js deleted file mode 100644 index addab1e48..000000000 --- a/ishtar_common/static/js/grid.tbltogrid.js +++ /dev/null @@ -1,106 +0,0 @@ -/* - Transform a table to a jqGrid. - Peter Romianowski <peter.romianowski@optivo.de> - If the first column of the table contains checkboxes or - radiobuttons then the jqGrid is made selectable. -*/ -// Addition - selector can be a class or id -function tableToGrid(selector, options) { -jQuery(selector).each(function() { - if(this.grid) {return;} //Adedd from Tony Tomov - // This is a small "hack" to make the width of the jqGrid 100% - jQuery(this).width("99%"); - var w = jQuery(this).width(); - - // Text whether we have single or multi select - var inputCheckbox = jQuery('tr td:first-child input[type=checkbox]:first', jQuery(this)); - var inputRadio = jQuery('tr td:first-child input[type=radio]:first', jQuery(this)); - var selectMultiple = inputCheckbox.length > 0; - var selectSingle = !selectMultiple && inputRadio.length > 0; - var selectable = selectMultiple || selectSingle; - //var inputName = inputCheckbox.attr("name") || inputRadio.attr("name"); - - // Build up the columnModel and the data - var colModel = []; - var colNames = []; - jQuery('th', jQuery(this)).each(function() { - if (colModel.length === 0 && selectable) { - colModel.push({ - name: '__selection__', - index: '__selection__', - width: 0, - hidden: true - }); - colNames.push('__selection__'); - } else { - colModel.push({ - name: jQuery(this).attr("id") || jQuery.trim(jQuery.jgrid.stripHtml(jQuery(this).html())).split(' ').join('_'), - index: jQuery(this).attr("id") || jQuery.trim(jQuery.jgrid.stripHtml(jQuery(this).html())).split(' ').join('_'), - width: jQuery(this).width() || 150 - }); - colNames.push(jQuery(this).html()); - } - }); - var data = []; - var rowIds = []; - var rowChecked = []; - jQuery('tbody > tr', jQuery(this)).each(function() { - var row = {}; - var rowPos = 0; - jQuery('td', jQuery(this)).each(function() { - if (rowPos === 0 && selectable) { - var input = jQuery('input', jQuery(this)); - var rowId = input.attr("value"); - rowIds.push(rowId || data.length); - if (input.is(":checked")) { - rowChecked.push(rowId); - } - row[colModel[rowPos].name] = input.attr("value"); - } else { - row[colModel[rowPos].name] = jQuery(this).html(); - } - rowPos++; - }); - if(rowPos >0) { data.push(row); } - }); - - // Clear the original HTML table - jQuery(this).empty(); - - // Mark it as jqGrid - jQuery(this).addClass("scroll"); - - jQuery(this).jqGrid(jQuery.extend({ - datatype: "local", - width: w, - colNames: colNames, - colModel: colModel, - multiselect: selectMultiple - //inputName: inputName, - //inputValueCol: imputName != null ? "__selection__" : null - }, options || {})); - - // Add data - var a; - for (a = 0; a < data.length; a++) { - var id = null; - if (rowIds.length > 0) { - id = rowIds[a]; - if (id && id.replace) { - // We have to do this since the value of a checkbox - // or radio button can be anything - id = encodeURIComponent(id).replace(/[.\-%]/g, "_"); - } - } - if (id === null) { - id = a + 1; - } - jQuery(this).jqGrid("addRowData",id, data[a]); - } - - // Set the selection - for (a = 0; a < rowChecked.length; a++) { - jQuery(this).jqGrid("setSelection",rowChecked[a]); - } -}); -}; diff --git a/ishtar_common/static/js/i18n/grid.locale-ar.js b/ishtar_common/static/js/i18n/grid.locale-ar.js deleted file mode 100644 index d98b13dca..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-ar.js +++ /dev/null @@ -1,166 +0,0 @@ -/**
- * jqGrid Arabic Translation
- *
- * http://trirand.com/blog/
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["ar"] = {
- defaults : {
- recordtext: "تسجيل {0} - {1} على {2}",
- emptyrecords: "لا يوجد تسجيل",
- loadtext: "تحميل...",
- savetext: "Saving...",
- pgtext : "صفحة {0} على {1}",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "بحث...",
- Find: "بحث",
- Reset: "إلغاء",
- odata: [{ oper:'eq', text:"يساوي"},{ oper:'ne', text:"يختلف"},{ oper:'lt', text:"أقل"},{ oper:'le', text:"أقل أو يساوي"},{ oper:'gt', text:"أكبر"},{ oper:'ge', text:"أكبر أو يساوي"},{ oper:'bw', text:"يبدأ بـ"},{ oper:'bn', text:"لا يبدأ بـ"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"ينته بـ"},{ oper:'en', text:"لا ينته بـ"},{ oper:'cn', text:"يحتوي"},{ oper:'nc', text:"لا يحتوي"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "مع", text: "الكل" }, { op: "أو", text: "لا أحد" }],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
-},
- edit : {
- addCaption: "اضافة",
- editCaption: "تحديث",
- bSubmit: "تثبيث",
- bCancel: "إلغاء",
- bClose: "غلق",
- saveData: "تغيرت المعطيات هل تريد التسجيل ?",
- bYes: "نعم",
- bNo: "لا",
- bExit: "إلغاء",
- msg: {
- required: "خانة إجبارية",
- number: "سجل رقم صحيح",
- minValue: "يجب أن تكون القيمة أكبر أو تساوي 0",
- maxValue: "يجب أن تكون القيمة أقل أو تساوي 0",
- email: "بريد غير صحيح",
- integer: "سجل عدد طبييعي صحيح",
- url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')",
- nodefined : " ليس محدد!",
- novalue : " قيمة الرجوع مطلوبة!",
- customarray : "يجب على الدالة الشخصية أن تنتج جدولا",
- customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي"
- }
- },
- view : {
- caption: "رأيت التسجيلات",
- bClose: "غلق"
- },
- del : {
- caption: "حذف",
- msg: "حذف التسجيلات المختارة ?",
- bSubmit: "حذف",
- bCancel: "إلغاء"
- },
- nav : {
- edittext: " ",
- edittitle: "تغيير التسجيل المختار",
- addtext:" ",
- addtitle: "إضافة تسجيل",
- deltext: " ",
- deltitle: "حذف التسجيل المختار",
- searchtext: " ",
- searchtitle: "بحث عن تسجيل",
- refreshtext: "",
- refreshtitle: "تحديث الجدول",
- alertcap: "تحذير",
- alerttext: "يرجى إختيار السطر",
- viewtext: "",
- viewtitle: "إظهار السطر المختار",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "إظهار/إخفاء الأعمدة",
- bSubmit: "تثبيث",
- bCancel: "إلغاء"
- },
- errors : {
- errcap : "خطأ",
- nourl : "لا يوجد عنوان محدد",
- norecords: "لا يوجد تسجيل للمعالجة",
- model : "عدد العناوين (colNames) <> عدد التسجيلات (colModel)!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
- date : {
- dayNames: [
- "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت",
- "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"
- ],
- monthNames: [
- "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر",
- "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"
- ],
- AmPm : ["صباحا","مساءا","صباحا","مساءا"],
- S: function (j) {return j == 1 ? 'er' : 'e';},
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-bg.js b/ishtar_common/static/js/i18n/grid.locale-bg.js deleted file mode 100644 index 8f7924610..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-bg.js +++ /dev/null @@ -1,172 +0,0 @@ -/** - * jqGrid Bulgarian Translation - * Tony Tomov tony@trirand.com - * http://trirand.com/blog/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["bg"] = { - defaults : { - recordtext: "{0} - {1} от {2}", - emptyrecords: "Няма запис(и)", - loadtext: "Зареждам...", - savetext: "Записвам...", - pgtext : "Стр. {0} от {1}", - pgfirst : "Първа Стр.", - pglast : "Последна Стр.", - pgnext : "Следваща Стр.", - pgprev : "Предишна Стр.", - pgrecs : "Брой записи на Стр.", - showhide: "Свиване/Разтягане на таблицата", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Търсене...", - Find: "Намери", - Reset: "Изчисти", - odata: [{ oper:'eq', text:"равно"},{ oper:'ne', text:"различно"},{ oper:'lt', text:"по-малко"},{ oper:'le', text:"по-малко или="},{ oper:'gt', text:"по-голямо"},{ oper:'ge', text:"по-голямо или ="},{ oper:'bw', text:"започва с"},{ oper:'bn', text:"не започва с"},{ oper:'in', text:"се намира в"},{ oper:'ni', text:"не се намира в"},{ oper:'ew', text:"завършва с"},{ oper:'en', text:"не завършава с"},{ oper:'cn', text:"съдържа"},{ oper:'nc', text:"не съдържа"},{ oper:'nu', text:'е NULL'},{ oper:'nn', text:'не е NULL'}], - groupOps: [ { op: "AND", text: " И " }, { op: "OR", text: "ИЛИ" } ], - operandTitle : "Натисни за избор на операнд.", - resetTitle : "Изчисти стойността" - }, - edit : { - addCaption: "Нов Запис", - editCaption: "Редакция Запис", - bSubmit: "Запиши", - bCancel: "Изход", - bClose: "Затвори", - saveData: "Данните са променени! Да съхраня ли промените?", - bYes : "Да", - bNo : "Не", - bExit : "Отказ", - msg: { - required:"Полето е задължително", - number:"Въведете валидно число!", - minValue:"стойността трябва да е по-голяма или равна от", - maxValue:"стойността трябва да е по-малка или равна от", - email: "не е валиден ел. адрес", - integer: "Въведете валидно цяло число", - date: "Въведете валидна дата", - url: "e невалиден URL. Изискава се префикс('http://' или 'https://')", - nodefined : " е недефинирана!", - novalue : " изисква връщане на стойност!", - customarray : "Потреб. Функция трябва да върне масив!", - customfcheck : "Потребителска функция е задължителна при този тип елемент!" - } - }, - view : { - caption: "Преглед запис", - bClose: "Затвори" - }, - del : { - caption: "Изтриване", - msg: "Да изтрия ли избраният запис?", - bSubmit: "Изтрий", - bCancel: "Отказ" - }, - nav : { - edittext: " ", - edittitle: "Редакция избран запис", - addtext:" ", - addtitle: "Добавяне нов запис", - deltext: " ", - deltitle: "Изтриване избран запис", - searchtext: " ", - searchtitle: "Търсене запис(и)", - refreshtext: "", - refreshtitle: "Обнови таблица", - alertcap: "Предупреждение", - alerttext: "Моля, изберете запис", - viewtext: "", - viewtitle: "Преглед избран запис", - savetext: "", - savetitle: "Съхрани запис", - canceltext: "", - canceltitle : "Отказ редакция", - selectcaption : "Actions..." - }, - col : { - caption: "Избери колони", - bSubmit: "Ок", - bCancel: "Изход" - }, - errors : { - errcap : "Грешка", - nourl : "Няма посочен url адрес", - norecords: "Няма запис за обработка", - model : "Модела не съответства на имената!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" лв.", defaultValue: '0.00'}, - date : { - dayNames: [ - "Нед", "Пон", "Вт", "Ср", "Чет", "Пет", "Съб", - "Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота" - ], - monthNames: [ - "Яну", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек", - "Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември" - ], - AmPm : ["","","",""], - S: function (j) { - if(j==7 || j==8 || j== 27 || j== 28) { - return 'ми'; - } - return ['ви', 'ри', 'ти'][Math.min((j - 1) % 10, 2)]; - }, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-bg1251.js b/ishtar_common/static/js/i18n/grid.locale-bg1251.js deleted file mode 100644 index 058950e62..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-bg1251.js +++ /dev/null @@ -1,132 +0,0 @@ -;(function($){
-/**
- * jqGrid Bulgarian Translation
- * Tony Tomov tony@trirand.com
- * http://trirand.com/blog/
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-$.jgrid = {
- defaults : {
- recordtext: "{0} - {1} {2}",
- emptyrecords: " ()",
- loadtext: "...",
- pgtext : ". {0} {1}"
- },
- search : {
- caption: "...",
- Find: "",
- Reset: "",
- odata : ['', '', '-', '- =','-','- =', ' ',' ',' ',' ',' ',' ','', ' ' ],
- groupOps: [ { op: "AND", text: " " }, { op: "OR", text: "" } ],
- matchText: " ",
- rulesText: " "
- },
- edit : {
- addCaption: " ",
- editCaption: " ",
- bSubmit: "",
- bCancel: "",
- bClose: "",
- saveData: " ! ?",
- bYes : "",
- bNo : "",
- bExit : "",
- msg: {
- required:" ",
- number:" !",
- minValue:" - ",
- maxValue:" - ",
- email: " . ",
- integer: " ",
- date: " ",
- url: "e URL. ('http://' 'https://')",
- nodefined : " !",
- novalue : " !",
- customarray : ". !",
- customfcheck : " !"
- }
- },
- view : {
- caption: " ",
- bClose: ""
- },
- del : {
- caption: "",
- msg: " ?",
- bSubmit: "",
- bCancel: ""
- },
- nav : {
- edittext: " ",
- edittitle: " ",
- addtext:" ",
- addtitle: " ",
- deltext: " ",
- deltitle: " ",
- searchtext: " ",
- searchtitle: " ()",
- refreshtext: "",
- refreshtitle: " ",
- alertcap: "",
- alerttext: ", ",
- viewtext: "",
- viewtitle: " "
- },
- col : {
- caption: " ",
- bSubmit: "",
- bCancel: ""
- },
- errors : {
- errcap : "",
- nourl : " url ",
- norecords: " ",
- model : " !"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" .", defaultValue: '0.00'},
- date : {
- dayNames: [
- "", "", "", "", "", "", "",
- "", "", "", "", "", "", ""
- ],
- monthNames: [
- "", "", "", "", "", "", "", "", "", "", "", "",
- "", "", "", "", "", "", "", "", "", "", "", ""
- ],
- AmPm : ["","","",""],
- S: function (j) {
- if(j==7 || j==8 || j== 27 || j== 28) {
- return '';
- }
- return ['', '', ''][Math.min((j - 1) % 10, 2)];
- },
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-})(jQuery);
diff --git a/ishtar_common/static/js/i18n/grid.locale-ca.js b/ishtar_common/static/js/i18n/grid.locale-ca.js deleted file mode 100644 index 6133c838c..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-ca.js +++ /dev/null @@ -1,168 +0,0 @@ -/** - * jqGrid Catalan Translation - * Traducció jqGrid en Catatà per Faserline, S.L. - * http://www.faserline.com - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["ca"] = { - defaults : { - recordtext: "Mostrant {0} - {1} de {2}", - emptyrecords: "Sense registres que mostrar", - loadtext: "Carregant...", - savetext: "Saving...", - pgtext : "Pàgina {0} de {1}", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Cerca...", - Find: "Cercar", - Reset: "Buidar", - odata: [{ oper:'eq', text:"equal"},{ oper:'ne', text:"not equal"},{ oper:'lt', text:"less"},{ oper:'le', text:"less or equal"},{ oper:'gt', text:"greater"},{ oper:'ge', text:"greater or equal"},{ oper:'bw', text:"begins with"},{ oper:'bn', text:"does not begin with"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is not in"},{ oper:'ew', text:"ends with"},{ oper:'en', text:"does not end with"},{ oper:'cn', text:"contains"},{ oper:'nc', text:"does not contain"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Afegir registre", - editCaption: "Modificar registre", - bSubmit: "Guardar", - bCancel: "Cancelar", - bClose: "Tancar", - saveData: "Les dades han canviat. Guardar canvis?", - bYes : "Yes", - bNo : "No", - bExit : "Cancel", - msg: { - required:"Camp obligatori", - number:"Introdueixi un nombre", - minValue:"El valor ha de ser major o igual que ", - maxValue:"El valor ha de ser menor o igual a ", - email: "no és una direcció de correu vàlida", - integer: "Introdueixi un valor enter", - date: "Introdueixi una data correcta ", - url: "no és una URL vàlida. Prefix requerit ('http://' or 'https://')", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - } - }, - view : { - caption: "Veure registre", - bClose: "Tancar" - }, - del : { - caption: "Eliminar", - msg: "¿Desitja eliminar els registres seleccionats?", - bSubmit: "Eliminar", - bCancel: "Cancelar" - }, - nav : { - edittext: " ", - edittitle: "Modificar fila seleccionada", - addtext:" ", - addtitle: "Agregar nova fila", - deltext: " ", - deltitle: "Eliminar fila seleccionada", - searchtext: " ", - searchtitle: "Cercar informació", - refreshtext: "", - refreshtitle: "Refrescar taula", - alertcap: "Avís", - alerttext: "Seleccioni una fila", - viewtext: " ", - viewtitle: "Veure fila seleccionada", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, -// setcolumns module - col : { - caption: "Mostrar/ocultar columnes", - bSubmit: "Enviar", - bCancel: "Cancelar" - }, - errors : { - errcap : "Error", - nourl : "No s'ha especificat una URL", - norecords: "No hi ha dades per processar", - model : "Les columnes de noms són diferents de les columnes del model" - }, - formatter : { - integer : {thousandsSeparator: ".", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds", - "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte" - ], - monthNames: [ - "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des", - "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd-m-Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: 'show', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-cat.js b/ishtar_common/static/js/i18n/grid.locale-cat.js deleted file mode 100644 index 76215f60f..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-cat.js +++ /dev/null @@ -1,128 +0,0 @@ -;(function($){
-/**
- * jqGrid Catalan Translation
- * Traducció jqGrid en Catatà per Faserline, S.L.
- * http://www.faserline.com
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-$.jgrid = {
- defaults : {
- recordtext: "Mostrant {0} - {1} de {2}",
- emptyrecords: "Sense registres que mostrar",
- loadtext: "Carregant...",
- pgtext : "Pàgina {0} de {1}"
- },
- search : {
- caption: "Cerca...",
- Find: "Cercar",
- Reset: "Buidar",
- odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],
- groupOps: [ { op: "AND", text: "tot" }, { op: "OR", text: "qualsevol" } ],
- matchText: " match",
- rulesText: " rules"
- },
- edit : {
- addCaption: "Afegir registre",
- editCaption: "Modificar registre",
- bSubmit: "Guardar",
- bCancel: "Cancelar",
- bClose: "Tancar",
- saveData: "Les dades han canviat. Guardar canvis?",
- bYes : "Yes",
- bNo : "No",
- bExit : "Cancel",
- msg: {
- required:"Camp obligatori",
- number:"Introdueixi un nombre",
- minValue:"El valor ha de ser major o igual que ",
- maxValue:"El valor ha de ser menor o igual a ",
- email: "no és una direcció de correu vàlida",
- integer: "Introdueixi un valor enter",
- date: "Introdueixi una data correcta ",
- url: "no és una URL vàlida. Prefix requerit ('http://' or 'https://')",
- nodefined : " is not defined!",
- novalue : " return value is required!",
- customarray : "Custom function should return array!",
- customfcheck : "Custom function should be present in case of custom checking!"
- }
- },
- view : {
- caption: "Veure registre",
- bClose: "Tancar"
- },
- del : {
- caption: "Eliminar",
- msg: "¿Desitja eliminar els registres seleccionats?",
- bSubmit: "Eliminar",
- bCancel: "Cancelar"
- },
- nav : {
- edittext: " ",
- edittitle: "Modificar fila seleccionada",
- addtext:" ",
- addtitle: "Agregar nova fila",
- deltext: " ",
- deltitle: "Eliminar fila seleccionada",
- searchtext: " ",
- searchtitle: "Cercar informació",
- refreshtext: "",
- refreshtitle: "Refrescar taula",
- alertcap: "Avís",
- alerttext: "Seleccioni una fila",
- viewtext: " ",
- viewtitle: "Veure fila seleccionada"
- },
-// setcolumns module
- col : {
- caption: "Mostrar/ocultar columnes",
- bSubmit: "Enviar",
- bCancel: "Cancelar"
- },
- errors : {
- errcap : "Error",
- nourl : "No s'ha especificat una URL",
- norecords: "No hi ha dades per processar",
- model : "Les columnes de noms són diferents de les columnes del model"
- },
- formatter : {
- integer : {thousandsSeparator: ".", defaultValue: '0'},
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
- date : {
- dayNames: [
- "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds",
- "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"
- ],
- monthNames: [
- "Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des",
- "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
- ],
- AmPm : ["am","pm","AM","PM"],
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
- srcformat: 'Y-m-d',
- newformat: 'd-m-Y',
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false
- },
- baseLinkUrl: '',
- showAction: 'show',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-})(jQuery);
diff --git a/ishtar_common/static/js/i18n/grid.locale-cn.js b/ishtar_common/static/js/i18n/grid.locale-cn.js deleted file mode 100644 index 22ddbda17..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-cn.js +++ /dev/null @@ -1,207 +0,0 @@ -/** - * jqGrid Chinese Translation - * 咖啡兔 yanhonglei@gmail.com - * http://www.kafeitu.me - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["cn"] = { - defaults : { - recordtext: "{0} - {1}\u3000共 {2} 条", // 共字前是全角空格 - emptyrecords: "无数据显示", - loadtext: "读取中...", - savetext: "Saving...", - pgtext : " {0} 共 {1} 页", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "搜索...", - Find: "查找", - Reset: "重置", - odata: [{ oper:'eq', text:'等于\u3000\u3000'},{ oper:'ne', text:'不等\u3000\u3000'},{ oper:'lt', text:'小于\u3000\u3000'},{ oper:'le', text:'小于等于'},{ oper:'gt', text:'大于\u3000\u3000'},{ oper:'ge', text:'大于等于'},{ oper:'bw', text:'开始于'},{ oper:'bn', text:'不开始于'},{ oper:'in', text:'属于\u3000\u3000'},{ oper:'ni', text:'不属于'},{ oper:'ew', text:'结束于'},{ oper:'en', text:'不结束于'},{ oper:'cn', text:'包含\u3000\u3000'},{ oper:'nc', text:'不包含'},{ oper:'nu', text:'不存在'},{ oper:'nn', text:'存在'}], - groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "添加记录", - editCaption: "编辑记录", - bSubmit: "提交", - bCancel: "取消", - bClose: "关闭", - saveData: "数据已改变,是否保存?", - bYes : "是", - bNo : "否", - bExit : "取消", - msg: { - required:"此字段必需", - number:"请输入有效数字", - minValue:"输值必须大于等于 ", - maxValue:"输值必须小于等于 ", - email: "这不是有效的e-mail地址", - integer: "请输入有效整数", - date: "请输入有效时间", - url: "无效网址。前缀必须为 ('http://' 或 'https://')", - nodefined : " 未定义!", - novalue : " 需要返回值!", - customarray : "自定义函数需要返回数组!", - customfcheck : "必须有自定义函数!" - } - }, - view : { - caption: "查看记录", - bClose: "关闭" - }, - del : { - caption: "删除", - msg: "删除所选记录?", - bSubmit: "删除", - bCancel: "取消" - }, - nav : { - edittext: "", - edittitle: "编辑所选记录", - addtext:"", - addtitle: "添加新记录", - deltext: "", - deltitle: "删除所选记录", - searchtext: "", - searchtitle: "查找", - refreshtext: "", - refreshtitle: "刷新表格", - alertcap: "注意", - alerttext: "请选择记录", - viewtext: "", - viewtitle: "查看所选记录", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "选择列", - bSubmit: "确定", - bCancel: "取消" - }, - errors : { - errcap : "错误", - nourl : "没有设置url", - norecords: "没有要处理的记录", - model : "colNames 和 colModel 长度不等!" - }, - formatter : { - integer : {thousandsSeparator: ",", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "日", "一", "二", "三", "四", "五", "六", - "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", - ], - monthNames: [ - "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二", - "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月" - ], - AmPm : ["am","pm","上午","下午"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';}, - srcformat: 'Y-m-d', - newformat: 'Y-m-d', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid - // and see http://docs.jquery.com/UI/Datepicker/formatDate - // and https://github.com/jquery/globalize#dates for alternative formats used frequently - // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many - // information about date, time, numbers and currency formats used in different countries - // one should just convert the information in PHP format - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - // short date: - // n - Numeric representation of a month, without leading zeros - // j - Day of the month without leading zeros - // Y - A full numeric representation of a year, 4 digits - // example: 3/1/2012 which means 1 March 2012 - ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy" - // long date: - // l - A full textual representation of the day of the week - // F - A full textual representation of a month - // d - Day of the month, 2 digits with leading zeros - // Y - A full numeric representation of a year, 4 digits - LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy" - // long date with long time: - // l - A full textual representation of the day of the week - // F - A full textual representation of a month - // d - Day of the month, 2 digits with leading zeros - // Y - A full numeric representation of a year, 4 digits - // g - 12-hour format of an hour without leading zeros - // i - Minutes with leading zeros - // s - Seconds, with leading zeros - // A - Uppercase Ante meridiem and Post meridiem (AM or PM) - FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt" - // month day: - // F - A full textual representation of a month - // d - Day of the month, 2 digits with leading zeros - MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd" - // short time (without seconds) - // g - 12-hour format of an hour without leading zeros - // i - Minutes with leading zeros - // A - Uppercase Ante meridiem and Post meridiem (AM or PM) - ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt" - // long time (with seconds) - // g - 12-hour format of an hour without leading zeros - // i - Minutes with leading zeros - // s - Seconds, with leading zeros - // A - Uppercase Ante meridiem and Post meridiem (AM or PM) - LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt" - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - // month with year - // Y - A full numeric representation of a year, 4 digits - // F - A full textual representation of a month - YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-cs.js b/ishtar_common/static/js/i18n/grid.locale-cs.js deleted file mode 100644 index d5d26d772..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-cs.js +++ /dev/null @@ -1,168 +0,0 @@ -/** - * jqGrid Czech Translation - * Pavel Jirak pavel.jirak@jipas.cz - * doplnil Thomas Wagner xwagne01@stud.fit.vutbr.cz - * http://trirand.com/blog/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["cs"] = { - defaults : { - recordtext: "Zobrazeno {0} - {1} z {2} záznamů", - emptyrecords: "Nenalezeny žádné záznamy", - loadtext: "Načítám...", - savetext: "Saving...", - pgtext : "Strana {0} z {1}", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Vyhledávám...", - Find: "Hledat", - Reset: "Reset", - odata: [{ oper:'eq', text:"rovno"},{ oper:'ne', text:"nerovno"},{ oper:'lt', text:"menší"},{ oper:'le', text:"menší nebo rovno"},{ oper:'gt', text:"větší"},{ oper:'ge', text:"větší nebo rovno"},{ oper:'bw', text:"začíná s"},{ oper:'bn', text:"nezačíná s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"není v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obsahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "všech" }, { op: "OR", text: "některého z" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Přidat záznam", - editCaption: "Editace záznamu", - bSubmit: "Uložit", - bCancel: "Storno", - bClose: "Zavřít", - saveData: "Data byla změněna! Uložit změny?", - bYes : "Ano", - bNo : "Ne", - bExit : "Zrušit", - msg: { - required:"Pole je vyžadováno", - number:"Prosím, vložte validní číslo", - minValue:"hodnota musí být větší než nebo rovná ", - maxValue:"hodnota musí být menší než nebo rovná ", - email: "není validní e-mail", - integer: "Prosím, vložte celé číslo", - date: "Prosím, vložte validní datum", - url: "není platnou URL. Vyžadován prefix ('http://' or 'https://')", - nodefined : " není definován!", - novalue : " je vyžadována návratová hodnota!", - customarray : "Custom function mělá vrátit pole!", - customfcheck : "Custom function by měla být přítomna v případě custom checking!" - } - }, - view : { - caption: "Zobrazit záznam", - bClose: "Zavřít" - }, - del : { - caption: "Smazat", - msg: "Smazat vybraný(é) záznam(y)?", - bSubmit: "Smazat", - bCancel: "Storno" - }, - nav : { - edittext: " ", - edittitle: "Editovat vybraný řádek", - addtext:" ", - addtitle: "Přidat nový řádek", - deltext: " ", - deltitle: "Smazat vybraný záznam ", - searchtext: " ", - searchtitle: "Najít záznamy", - refreshtext: "", - refreshtitle: "Obnovit tabulku", - alertcap: "Varování", - alerttext: "Prosím, vyberte řádek", - viewtext: "", - viewtitle: "Zobrazit vybraný řádek", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Zobrazit/Skrýt sloupce", - bSubmit: "Uložit", - bCancel: "Storno" - }, - errors : { - errcap : "Chyba", - nourl : "Není nastavena url", - norecords: "Žádné záznamy ke zpracování", - model : "Délka colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "Ne", "Po", "Út", "St", "Čt", "Pá", "So", - "Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota" - ], - monthNames: [ - "Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro", - "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec" - ], - AmPm : ["do","od","DO","OD"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-da.js b/ishtar_common/static/js/i18n/grid.locale-da.js deleted file mode 100644 index 44e745f61..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-da.js +++ /dev/null @@ -1,128 +0,0 @@ -;(function($){
-/**
- * jqGrid Danish Translation
- * Aesiras A/S
- * http://www.aesiras.dk
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-$.jgrid = {
- defaults : {
- recordtext: "Vis {0} - {1} of {2}",
- emptyrecords: "Ingen linjer fundet",
- loadtext: "Henter...",
- pgtext : "Side {0} af {1}"
- },
- search : {
- caption: "Søg...",
- Find: "Find",
- Reset: "Nulstil",
- odata : ['lig', 'forskellige fra', 'mindre', 'mindre eller lig','større','større eller lig', 'begynder med','begynder ikke med','findes i','findes ikke i','ender med','ender ikke med','indeholder','indeholder ikke'],
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
- matchText: " lig",
- rulesText: " regler"
- },
- edit : {
- addCaption: "Tilføj",
- editCaption: "Ret",
- bSubmit: "Send",
- bCancel: "Annuller",
- bClose: "Luk",
- saveData: "Data er ændret. Gem data?",
- bYes : "Ja",
- bNo : "Nej",
- bExit : "Fortryd",
- msg: {
- required:"Felt er nødvendigt",
- number:"Indtast venligst et validt tal",
- minValue:"værdi skal være større end eller lig med",
- maxValue:"værdi skal være mindre end eller lig med",
- email: "er ikke en gyldig email",
- integer: "Indtast venligst et gyldigt heltal",
- date: "Indtast venligst en gyldig datoværdi",
- url: "er ugyldig URL. Prefix mangler ('http://' or 'https://')",
- nodefined : " er ikke defineret!",
- novalue : " returværdi kræves!",
- customarray : "Custom function should return array!",
- customfcheck : "Custom function should be present in case of custom checking!"
- }
- },
- view : {
- caption: "Vis linje",
- bClose: "Luk"
- },
- del : {
- caption: "Slet",
- msg: "Slet valgte linje(r)?",
- bSubmit: "Slet",
- bCancel: "Fortryd"
- },
- nav : {
- edittext: " ",
- edittitle: "Rediger valgte linje",
- addtext:" ",
- addtitle: "Tilføj ny linje",
- deltext: " ",
- deltitle: "Slet valgte linje",
- searchtext: " ",
- searchtitle: "Find linjer",
- refreshtext: "",
- refreshtitle: "Indlæs igen",
- alertcap: "Advarsel",
- alerttext: "Vælg venligst linje",
- viewtext: "",
- viewtitle: "Vis valgte linje"
- },
- col : {
- caption: "Vis/skjul kolonner",
- bSubmit: "Opdatere",
- bCancel: "Fortryd"
- },
- errors : {
- errcap : "Fejl",
- nourl : "Ingen url valgt",
- norecords: "Ingen linjer at behandle",
- model : "colNames og colModel har ikke samme længde!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
- date : {
- dayNames: [
- "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør",
- "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
- ],
- monthNames: [
- "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
- "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
- ],
- AmPm : ["","","",""],
- S: function (j) {return '.'},
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "j/n/Y",
- LongDate: "l d. F Y",
- FullDateTime: "l d F Y G:i:s",
- MonthDay: "d. F",
- ShortTime: "G:i",
- LongTime: "G:i:s",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F Y"
- },
- reformatAfterEdit : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-// DA
-})(jQuery);
diff --git a/ishtar_common/static/js/i18n/grid.locale-de.js b/ishtar_common/static/js/i18n/grid.locale-de.js deleted file mode 100644 index 8b8301721..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-de.js +++ /dev/null @@ -1,215 +0,0 @@ -/** - * jqGrid German Translation - * Version 1.0.0 (developed for jQuery Grid 3.3.1) - * Olaf Klöppel opensource@blue-hit.de - * http://blue-hit.de/ - * - * Updated for jqGrid 3.8 - * Andreas Flack - * http://www.contentcontrol-berlin.de - * - * Updated for jQuery 4.4 - * Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com - * the format corresponds now the format from - * https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.de.js - * - * Updated for jqGrid 4.8 - * Tony Tomov - * http://www.guriddo.net - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["de"] = { - defaults : { - recordtext: "Zeige {0} - {1} von {2}", - emptyrecords: "Keine Datensätze vorhanden", - loadtext: "Lädt...", - savetext: "Speichern...", - pgtext : "Seite {0} von {1}", - pgfirst : "erste Seite", - pglast : "letzte Seite", - pgnext : "nächste Seite", - pgprev : "vorherige Seite", - pgrecs : "Datensätze pro Seite", - showhide: "Toggle erweitern reduzieren", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Suche...", - Find: "Suchen", - Reset: "Zurücksetzen", - odata: [{ oper:'eq', text:"gleich"},{ oper:'ne', text:"ungleich"},{ oper:'lt', text:"kleiner"},{ oper:'le', text:"kleiner gleich"},{ oper:'gt', text:"größer"},{ oper:'ge', text:"größer gleich"},{ oper:'bw', text:"beginnt mit"},{ oper:'bn', text:"beginnt nicht mit"},{ oper:'in', text:"ist in"},{ oper:'ni', text:"ist nicht in"},{ oper:'ew', text:"endet mit"},{ oper:'en', text:"endet nicht mit"},{ oper:'cn', text:"enthält"},{ oper:'nc', text:"enthält nicht"}, { oper:'nu', text:"ist Null" }, { oper:'nn', text:"ist nicht Null" }], - groupOps: [{ op: "AND", text: "alle" },{ op: "OR", text: "mindestens eine" }], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Datensatz hinzufügen", - editCaption: "Datensatz bearbeiten", - bSubmit: "Speichern", - bCancel: "Abbrechen", - bClose: "Schließen", - saveData: "Daten wurden geändert! Änderungen speichern?", - bYes : "ja", - bNo : "nein", - bExit : "abbrechen", - msg: { - required:"Feld ist erforderlich", - number: "Bitte geben Sie eine Zahl ein", - minValue:"Wert muss größer oder gleich sein, als ", - maxValue:"Wert muss kleiner oder gleich sein, als ", - email: "ist keine gültige E-Mail-Adresse", - integer: "Bitte geben Sie eine Ganzzahl ein", - date: "Bitte geben Sie ein gültiges Datum ein", - url: "ist keine gültige URL. Präfix muss eingegeben werden ('http://' oder 'https://')", - nodefined : " ist nicht definiert!", - novalue : " Rückgabewert ist erforderlich!", - customarray : "Benutzerdefinierte Funktion sollte ein Array zurückgeben!", - customfcheck : "Benutzerdefinierte Funktion sollte im Falle der benutzerdefinierten Überprüfung vorhanden sein!" - } - }, - view : { - caption: "Datensatz anzeigen", - bClose: "Schließen" - }, - del : { - caption: "Löschen", - msg: "Ausgewählte Datensätze löschen?", - bSubmit: "Löschen", - bCancel: "Abbrechen" - }, - nav : { - edittext: " ", - edittitle: "Ausgewählte Zeile editieren", - addtext:" ", - addtitle: "Neue Zeile einfügen", - deltext: " ", - deltitle: "Ausgewählte Zeile löschen", - searchtext: " ", - searchtitle: "Datensatz suchen", - refreshtext: "", - refreshtitle: "Tabelle neu laden", - alertcap: "Warnung", - alerttext: "Bitte Zeile auswählen", - viewtext: "", - viewtitle: "Ausgewählte Zeile anzeigen", - savetext: "", - savetitle: "Zeile speihern", - canceltext: "", - canceltitle : "Zeile abbrechen", - selectcaption : "Actions..." - }, - col : { - caption: "Spalten auswählen", - bSubmit: "Speichern", - bCancel: "Abbrechen" - }, - errors : { - errcap : "Fehler", - nourl : "Keine URL angegeben", - norecords: "Keine Datensätze zu bearbeiten", - model : "colNames und colModel sind unterschiedlich lang!" - }, - formatter : { - integer : {thousandsSeparator: ".", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" €", defaultValue: '0,00'}, - date : { - dayNames: [ - "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", - "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" - ], - monthNames: [ - "Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", - "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember" - ], - AmPm : ["","","",""], - S: function () {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before - srcformat: 'Y-m-d', - newformat: 'd.m.Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid - // and see http://docs.jquery.com/UI/Datepicker/formatDate - // and https://github.com/jquery/globalize#dates for alternative formats used frequently - ISO8601Long: "Y-m-d H:i:s", - ISO8601Short: "Y-m-d", - // short date: - // d - Day of the month, 2 digits with leading zeros - // m - Numeric representation of a month, with leading zeros - // Y - A full numeric representation of a year, 4 digits - ShortDate: "d.m.Y", // in jQuery UI Datepicker: "dd.MM.yyyy" - // long date: - // l - A full textual representation of the day of the week - // j - Day of the month without leading zeros - // F - A full textual representation of a month - // Y - A full numeric representation of a year, 4 digits - LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy" - // long date with long time: - // l - A full textual representation of the day of the week - // j - Day of the month without leading zeros - // F - A full textual representation of a month - // Y - A full numeric representation of a year, 4 digits - // H - 24-hour format of an hour with leading zeros - // i - Minutes with leading zeros - // s - Seconds, with leading zeros - FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss" - // month day: - // d - Day of the month, 2 digits with leading zeros - // F - A full textual representation of a month - MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM" - // short time (without seconds) - // H - 24-hour format of an hour with leading zeros - // i - Minutes with leading zeros - ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm" - // long time (with seconds) - // H - 24-hour format of an hour with leading zeros - // i - Minutes with leading zeros - // s - Seconds, with leading zeros - LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss" - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - // month with year - // F - A full textual representation of a month - // Y - A full numeric representation of a year, 4 digits - YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-dk.js b/ishtar_common/static/js/i18n/grid.locale-dk.js deleted file mode 100644 index 2f6ae5e0c..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-dk.js +++ /dev/null @@ -1,168 +0,0 @@ -/** - * jqGrid Danish Translation - * Kaare Rasmussen kjs@jasonic.dk - * http://jasonic.dk/blog - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["dk"] = { - defaults : { - recordtext: "View {0} - {1} of {2}", - emptyrecords: "No records to view", - loadtext: "Loading...", - savetext: "Saving...", - pgtext : "Page {0} of {1}", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Søg...", - Find: "Find", - Reset: "Nulstil", - odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Tilføj", - editCaption: "Ret", - bSubmit: "Send", - bCancel: "Annuller", - bClose: "Luk", - saveData: "Data has been changed! Save changes?", - bYes : "Yes", - bNo : "No", - bExit : "Cancel", - msg: { - required:"Felt er nødvendigt", - number:"Indtast venligst et validt tal", - minValue:"værdi skal være større end eller lig med", - maxValue:"værdi skal være mindre end eller lig med", - email: "er ikke en valid email", - integer: "Indtast venligst et validt heltalt", - date: "Indtast venligst en valid datoværdi", - url: "is not a valid URL. Prefix required ('http://' or 'https://')", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - } - }, - view : { - caption: "View Record", - bClose: "Close" - }, - del : { - caption: "Slet", - msg: "Slet valgte række(r)?", - bSubmit: "Slet", - bCancel: "Annuller" - }, - nav : { - edittext: " ", - edittitle: "Rediger valgte række", - addtext:" ", - addtitle: "Tilføj ny række", - deltext: " ", - deltitle: "Slet valgte række", - searchtext: " ", - searchtitle: "Find poster", - refreshtext: "", - refreshtitle: "Indlæs igen", - alertcap: "Advarsel", - alerttext: "Vælg venligst række", - viewtext: "", - viewtitle: "View selected row", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Vis/skjul kolonner", - bSubmit: "Send", - bCancel: "Annuller" - }, - errors : { - errcap : "Fejl", - nourl : "Ingel url valgt", - norecords: "Ingen poster at behandle", - model : "colNames og colModel har ikke samme længde!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør", - "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag" - ], - monthNames: [ - "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec", - "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December" - ], - AmPm : ["","","",""], - S: function (j) {return '.'}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "j/n/Y", - LongDate: "l d. F Y", - FullDateTime: "l d F Y G:i:s", - MonthDay: "d. F", - ShortTime: "G:i", - LongTime: "G:i:s", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -// DK -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-el.js b/ishtar_common/static/js/i18n/grid.locale-el.js deleted file mode 100644 index 744b57405..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-el.js +++ /dev/null @@ -1,166 +0,0 @@ -/** - * jqGrid Greek (el) Translation - * Alex Cicovic - * http://www.alexcicovic.com - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["el"] = { - defaults : { - recordtext: "View {0} - {1} of {2}", - emptyrecords: "No records to view", - loadtext: "Φόρτωση...", - savetext: "Saving...", - pgtext : "Page {0} of {1}", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Αναζήτηση...", - Find: "Εύρεση", - Reset: "Επαναφορά", - odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Εισαγωγή Εγγραφής", - editCaption: "Επεξεργασία Εγγραφής", - bSubmit: "Καταχώρηση", - bCancel: "Άκυρο", - bClose: "Κλείσιμο", - saveData: "Data has been changed! Save changes?", - bYes : "Yes", - bNo : "No", - bExit : "Cancel", - msg: { - required:"Το πεδίο είναι απαραίτητο", - number:"Το πεδίο δέχεται μόνο αριθμούς", - minValue:"Η τιμή πρέπει να είναι μεγαλύτερη ή ίση του ", - maxValue:"Η τιμή πρέπει να είναι μικρότερη ή ίση του ", - email: "Η διεύθυνση e-mail δεν είναι έγκυρη", - integer: "Το πεδίο δέχεται μόνο ακέραιους αριθμούς", - url: "is not a valid URL. Prefix required ('http://' or 'https://')", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - } - }, - view : { - caption: "View Record", - bClose: "Close" - }, - del : { - caption: "Διαγραφή", - msg: "Διαγραφή των επιλεγμένων εγγραφών;", - bSubmit: "Ναι", - bCancel: "Άκυρο" - }, - nav : { - edittext: " ", - edittitle: "Επεξεργασία επιλεγμένης εγγραφής", - addtext:" ", - addtitle: "Εισαγωγή νέας εγγραφής", - deltext: " ", - deltitle: "Διαγραφή επιλεγμένης εγγραφής", - searchtext: " ", - searchtitle: "Εύρεση Εγγραφών", - refreshtext: "", - refreshtitle: "Ανανέωση Πίνακα", - alertcap: "Προσοχή", - alerttext: "Δεν έχετε επιλέξει εγγραφή", - viewtext: "", - viewtitle: "View selected row", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Εμφάνιση / Απόκρυψη Στηλών", - bSubmit: "ΟΚ", - bCancel: "Άκυρο" - }, - errors : { - errcap : "Σφάλμα", - nourl : "Δεν έχει δοθεί διεύθυνση χειρισμού για τη συγκεκριμένη ενέργεια", - norecords: "Δεν υπάρχουν εγγραφές προς επεξεργασία", - model : "Άνισος αριθμός πεδίων colNames/colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ", - "Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο" - ], - monthNames: [ - "Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ", - "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος" - ], - AmPm : ["πμ","μμ","ΠΜ","ΜΜ"], - S: function (j) {return j == 1 || j > 1 ? ['η'][Math.min((j - 1) % 10, 3)] : ''}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-en.js b/ishtar_common/static/js/i18n/grid.locale-en.js deleted file mode 100644 index b2cdee69d..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-en.js +++ /dev/null @@ -1,208 +0,0 @@ -/** - * jqGrid English Translation - * Tony Tomov tony@trirand.com - * http://trirand.com/blog/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["en"] = { - defaults : { - recordtext: "View {0} - {1} of {2}", - emptyrecords: "No records to view", - loadtext: "Loading...", - savetext: "Saving...", - pgtext : "Page {0} of {1}", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Search...", - Find: "Find", - Reset: "Reset", - odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [{ op: "AND", text: "all" },{ op: "OR", text: "any" }], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Add Record", - editCaption: "Edit Record", - bSubmit: "Submit", - bCancel: "Cancel", - bClose: "Close", - saveData: "Data has been changed! Save changes?", - bYes : "Yes", - bNo : "No", - bExit : "Cancel", - msg: { - required:"Field is required", - number:"Please, enter valid number", - minValue:"value must be greater than or equal to ", - maxValue:"value must be less than or equal to", - email: "is not a valid e-mail", - integer: "Please, enter valid integer value", - date: "Please, enter valid date value", - url: "is not a valid URL. Prefix required ('http://' or 'https://')", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - - } - }, - view : { - caption: "View Record", - bClose: "Close" - }, - del : { - caption: "Delete", - msg: "Delete selected record(s)?", - bSubmit: "Delete", - bCancel: "Cancel" - }, - nav : { - edittext: "", - edittitle: "Edit selected row", - addtext:"", - addtitle: "Add new row", - deltext: "", - deltitle: "Delete selected row", - searchtext: "", - searchtitle: "Find records", - refreshtext: "", - refreshtitle: "Reload Grid", - alertcap: "Warning", - alerttext: "Please, select row", - viewtext: "", - viewtitle: "View selected row", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Select columns", - bSubmit: "Ok", - bCancel: "Cancel" - }, - errors : { - errcap : "Error", - nourl : "No url is set", - norecords: "No records to process", - model : "Length of colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: ",", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat", - "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" - ], - monthNames: [ - "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", - "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';}, - srcformat: 'Y-m-d', - newformat: 'n/j/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid - // and see http://docs.jquery.com/UI/Datepicker/formatDate - // and https://github.com/jquery/globalize#dates for alternative formats used frequently - // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many - // information about date, time, numbers and currency formats used in different countries - // one should just convert the information in PHP format - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - // short date: - // n - Numeric representation of a month, without leading zeros - // j - Day of the month without leading zeros - // Y - A full numeric representation of a year, 4 digits - // example: 3/1/2012 which means 1 March 2012 - ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy" - // long date: - // l - A full textual representation of the day of the week - // F - A full textual representation of a month - // d - Day of the month, 2 digits with leading zeros - // Y - A full numeric representation of a year, 4 digits - LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy" - // long date with long time: - // l - A full textual representation of the day of the week - // F - A full textual representation of a month - // d - Day of the month, 2 digits with leading zeros - // Y - A full numeric representation of a year, 4 digits - // g - 12-hour format of an hour without leading zeros - // i - Minutes with leading zeros - // s - Seconds, with leading zeros - // A - Uppercase Ante meridiem and Post meridiem (AM or PM) - FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt" - // month day: - // F - A full textual representation of a month - // d - Day of the month, 2 digits with leading zeros - MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd" - // short time (without seconds) - // g - 12-hour format of an hour without leading zeros - // i - Minutes with leading zeros - // A - Uppercase Ante meridiem and Post meridiem (AM or PM) - ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt" - // long time (with seconds) - // g - 12-hour format of an hour without leading zeros - // i - Minutes with leading zeros - // s - Seconds, with leading zeros - // A - Uppercase Ante meridiem and Post meridiem (AM or PM) - LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt" - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - // month with year - // Y - A full numeric representation of a year, 4 digits - // F - A full textual representation of a month - YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-es.js b/ishtar_common/static/js/i18n/grid.locale-es.js deleted file mode 100644 index 3744baa5f..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-es.js +++ /dev/null @@ -1,168 +0,0 @@ -/** - * jqGrid Spanish Translation - * Traduccion jqGrid en Español por Yamil Bracho - * Traduccion corregida y ampliada por Faserline, S.L. - * http://www.faserline.com - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["es"] = { - defaults : { - recordtext: "Mostrando {0} - {1} de {2}", - emptyrecords: "Sin registros que mostrar", - loadtext: "Cargando...", - savetext: "Saving...", - pgtext : "Página {0} de {1}", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Búsqueda...", - Find: "Buscar", - Reset: "Limpiar", - odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"no igual a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor o igual que"},{ oper:'gt', text:"mayor que"},{ oper:'ge', text:"mayor o igual a"},{ oper:'bw', text:"empiece por"},{ oper:'bn', text:"no empiece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"no está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"no termina por"},{ oper:'cn', text:"contiene"},{ oper:'nc', text:"no contiene"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "cualquier" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Agregar registro", - editCaption: "Modificar registro", - bSubmit: "Guardar", - bCancel: "Cancelar", - bClose: "Cerrar", - saveData: "Se han modificado los datos, ¿guardar cambios?", - bYes : "Si", - bNo : "No", - bExit : "Cancelar", - msg: { - required:"Campo obligatorio", - number:"Introduzca un número", - minValue:"El valor debe ser mayor o igual a ", - maxValue:"El valor debe ser menor o igual a ", - email: "no es una dirección de correo válida", - integer: "Introduzca un valor entero", - date: "Introduza una fecha correcta ", - url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')", - nodefined : " no está definido.", - novalue : " valor de retorno es requerido.", - customarray : "La función personalizada debe devolver un array.", - customfcheck : "La función personalizada debe estar presente en el caso de validación personalizada." - } - }, - view : { - caption: "Consultar registro", - bClose: "Cerrar" - }, - del : { - caption: "Eliminar", - msg: "¿Desea eliminar los registros seleccionados?", - bSubmit: "Eliminar", - bCancel: "Cancelar" - }, - nav : { - edittext: " ", - edittitle: "Modificar fila seleccionada", - addtext:" ", - addtitle: "Agregar nueva fila", - deltext: " ", - deltitle: "Eliminar fila seleccionada", - searchtext: " ", - searchtitle: "Buscar información", - refreshtext: "", - refreshtitle: "Recargar datos", - alertcap: "Aviso", - alerttext: "Seleccione una fila", - viewtext: "", - viewtitle: "Ver fila seleccionada", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Mostrar/ocultar columnas", - bSubmit: "Enviar", - bCancel: "Cancelar" - }, - errors : { - errcap : "Error", - nourl : "No se ha especificado una URL", - norecords: "No hay datos para procesar", - model : "Las columnas de nombres son diferentes de las columnas de modelo" - }, - formatter : { - integer : {thousandsSeparator: ".", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", - "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado" - ], - monthNames: [ - "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic", - "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd-m-Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-fa.js b/ishtar_common/static/js/i18n/grid.locale-fa.js deleted file mode 100644 index 556a9a4b9..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-fa.js +++ /dev/null @@ -1,185 +0,0 @@ -/**
- * jqGrid Persian Translation
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["fa"] = {
- defaults: {
- recordtext: "نمابش {0} - {1} از {2}",
- emptyrecords: "رکوردی یافت نشد",
- loadtext: "بارگزاري...",
- savetext: "Saving...",
- pgtext: "صفحه {0} از {1}",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search: {
- caption: "جستجو...",
- Find: "يافته ها",
- Reset: "از نو",
- odata: [{ oper:'eq', text:"برابر"},{ oper:'ne', text:"نا برابر"},{ oper:'lt', text:"به"},{ oper:'le', text:"کوچکتر"},{ oper:'gt', text:"از"},{ oper:'ge', text:"بزرگتر"},{ oper:'bw', text:"شروع با"},{ oper:'bn', text:"شروع نشود با"},{ oper:'in', text:"نباشد"},{ oper:'ni', text:"عضو این نباشد"},{ oper:'ew', text:"اتمام با"},{ oper:'en', text:"تمام نشود با"},{ oper:'cn', text:"حاوی"},{ oper:'nc', text:"نباشد حاوی"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [{
- op: "AND",
- text: "کل"
- },
- {
- op: "OR",
- text: "مجموع"
- }],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit: {
- addCaption: "اضافه کردن رکورد",
- editCaption: "ويرايش رکورد",
- bSubmit: "ثبت",
- bCancel: "انصراف",
- bClose: "بستن",
- saveData: "دیتا تعییر کرد! ذخیره شود؟",
- bYes: "بله",
- bNo: "خیر",
- bExit: "انصراف",
- msg: {
- required: "فيلدها بايد ختما پر شوند",
- number: "لطفا عدد وعتبر وارد کنيد",
- minValue: "مقدار وارد شده بايد بزرگتر يا مساوي با",
- maxValue: "مقدار وارد شده بايد کوچکتر يا مساوي",
- email: "پست الکترونيک وارد شده معتبر نيست",
- integer: "لطفا يک عدد صحيح وارد کنيد",
- date: "لطفا يک تاريخ معتبر وارد کنيد",
- url: "این آدرس صحیح نمی باشد. پیشوند نیاز است ('http://' یا 'https://')",
- nodefined: " تعریف نشده!",
- novalue: " مقدار برگشتی اجباری است!",
- customarray: "تابع شما باید مقدار آرایه داشته باشد!",
- customfcheck: "برای داشتن متد دلخواه شما باید سطون با چکینگ دلخواه داشته باشید!"
- }
- },
- view: {
- caption: "نمایش رکورد",
- bClose: "بستن"
- },
- del: {
- caption: "حذف",
- msg: "از حذف گزينه هاي انتخاب شده مطمئن هستيد؟",
- bSubmit: "حذف",
- bCancel: "ابطال"
- },
- nav: {
- edittext: " ",
- edittitle: "ويرايش رديف هاي انتخاب شده",
- addtext: " ",
- addtitle: "افزودن رديف جديد",
- deltext: " ",
- deltitle: "حذف ردبف هاي انتیاب شده",
- searchtext: " ",
- searchtitle: "جستجوي رديف",
- refreshtext: "",
- refreshtitle: "بازيابي مجدد صفحه",
- alertcap: "اخطار",
- alerttext: "لطفا يک رديف انتخاب کنيد",
- viewtext: "",
- viewtitle: "نمایش رکورد های انتخاب شده",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col: {
- caption: "نمايش/عدم نمايش ستون",
- bSubmit: "ثبت",
- bCancel: "انصراف"
- },
- errors: {
- errcap: "خطا",
- nourl: "هيچ آدرسي تنظيم نشده است",
- norecords: "هيچ رکوردي براي پردازش موجود نيست",
- model: "طول نام ستون ها محالف ستون هاي مدل مي باشد!"
- },
- formatter: {
- integer: {
- thousandsSeparator: " ",
- defaultValue: "0"
- },
- number: {
- decimalSeparator: ".",
- thousandsSeparator: " ",
- decimalPlaces: 2,
- defaultValue: "0.00"
- },
- currency: {
- decimalSeparator: ".",
- thousandsSeparator: " ",
- decimalPlaces: 2,
- prefix: "",
- suffix: "",
- defaultValue: "0"
- },
- date: {
- dayNames: ["يک", "دو", "سه", "چهار", "پنج", "جمع", "شنب", "يکشنبه", "دوشنبه", "سه شنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
- monthNames: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "ژانويه", "فوريه", "مارس", "آوريل", "مه", "ژوئن", "ژوئيه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "December"],
- AmPm: ["ب.ظ", "ب.ظ", "ق.ظ", "ق.ظ"],
- S: function (b) {
- return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th"
- },
- srcformat: "Y-m-d",
- newformat: "d/m/Y",
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks: {
- ISO8601Long: "Y-m-d H:i:s",
- ISO8601Short: "Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit: false,
- userLocalTime : false
- },
- baseLinkUrl: "",
- showAction: "نمايش",
- target: "",
- checkbox: {
- disabled: true
- },
- idName: "id"
- }
- };
-}));
\ No newline at end of file diff --git a/ishtar_common/static/js/i18n/grid.locale-fi.js b/ishtar_common/static/js/i18n/grid.locale-fi.js deleted file mode 100644 index 513033260..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-fi.js +++ /dev/null @@ -1,169 +0,0 @@ -/**
- * jqGrid (fi) Finnish Translation
- * Jukka Inkeri awot.fi 2010-05-19
- * Alex Grönholm alex.gronholm@nextday.fi 2011-05-18
- * http://awot.fi
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["fi"] = {
- defaults: {
- recordtext: "Rivit {0} - {1} / {2}",
- emptyrecords: "Ei näytettäviä",
- loadtext: "Haetaan...",
- savetext: "Saving...",
- pgtext: "Sivu {0} / {1}",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search: {
- caption: "Etsi...",
- Find: "Etsi",
- Reset: "Tyhjennä",
- odata: [{ oper:'eq', text:"on"},{ oper:'ne', text:"ei ole"},{ oper:'lt', text:"pienempi"},{ oper:'le', text:"pienempi tai yhtäsuuri"},{ oper:'gt', text:"suurempi"},{ oper:'ge', text:"suurempi tai yhtäsuuri"},{ oper:'bw', text:"alkaa"},{ oper:'bn', text:"ei ala"},{ oper:'in', text:"joukossa"},{ oper:'ni', text:"ei joukossa"},{ oper:'ew', text:"loppuu"},{ oper:'en', text:"ei lopu"},{ oper:'cn', text:"sisältää"},{ oper:'nc', text:"ei sisällä"},{ oper:'nu', text:"on tyhjä"},{ oper:'nn', text:"ei ole tyhjä"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "AND", text: "kaikki" }, { op: "OR", text: "mikä tahansa" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit: {
- addCaption: "Uusi rivi",
- editCaption: "Muokkaa riviä",
- bSubmit: "OK",
- bCancel: "Peru",
- bClose: "Sulje",
- saveData: "Tietoja muutettu! Tallennetaanko?",
- bYes: "Kyllä",
- bNo: "Ei",
- bExit: "Peru",
- msg: {
- required: "pakollinen",
- number: "Anna kelvollinen nro",
- minValue: "arvon oltava suurempi tai yhtäsuuri kuin ",
- maxValue: "arvon oltava pienempi tai yhtäsuuri kuin ",
- email: "ei ole kelvollinen säpostiosoite",
- integer: "Anna kelvollinen kokonaisluku",
- date: "Anna kelvollinen pvm",
- url: "Ei ole kelvollinen linkki(URL). Alku oltava ('http://' tai 'https://')",
- nodefined: " ei ole määritelty!",
- novalue: " paluuarvo vaaditaan!",
- customarray: "Oman funktion tulee palauttaa jono!",
- customfcheck: "Oma funktio on määriteltävä räätälöityä tarkastusta varten!"
- }
- },
- view: {
- caption: "Näytä rivi",
- bClose: "Sulje"
- },
- del: {
- caption: "Poista",
- msg: "Poista valitut rivit?",
- bSubmit: "Poista",
- bCancel: "Peru"
- },
- nav: {
- edittext: "",
- edittitle: "Muokkaa valittua riviä",
- addtext: "",
- addtitle: "Uusi rivi",
- deltext: "",
- deltitle: "Poista valittu rivi",
- searchtext: "",
- searchtitle: "Etsi tietoja",
- refreshtext: "",
- refreshtitle: "Lataa uudelleen",
- alertcap: "Varoitus",
- alerttext: "Valitse rivi",
- viewtext: "",
- viewtitle: "Näyta valitut rivit",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col: {
- caption: "Valitse sarakkeet",
- bSubmit: "OK",
- bCancel: "Peru"
- },
- errors : {
- errcap: "Virhe",
- nourl: "URL on asettamatta",
- norecords: "Ei muokattavia tietoja",
- model: "Pituus colNames <> colModel!"
- },
- formatter: {
- integer: {thousandsSeparator: "", defaultValue: '0'},
- number: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0,00'},
- currency: {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
- date: {
- dayNames: [
- "Su", "Ma", "Ti", "Ke", "To", "Pe", "La",
- "Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"
- ],
- monthNames: [
- "Tam", "Hel", "Maa", "Huh", "Tou", "Kes", "Hei", "Elo", "Syy", "Lok", "Mar", "Jou",
- "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
- ],
- AmPm: ["am","pm","AM","PM"],
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
- srcformat: 'Y-m-d',
- newformat: 'd.m.Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks: {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "d.m.Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox: {disabled:true},
- idName: 'id'
- }
-};
-// FI
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-fr.js b/ishtar_common/static/js/i18n/grid.locale-fr.js deleted file mode 100644 index 298e4b8b2..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-fr.js +++ /dev/null @@ -1,166 +0,0 @@ -/**
- * jqGrid French Translation
- * Tony Tomov tony@trirand.com
- * http://trirand.com/blog/
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["fr"] = {
- defaults : {
- recordtext: "Enregistrements {0} - {1} sur {2}",
- emptyrecords: "Aucun enregistrement à afficher",
- loadtext: "Chargement...",
- savetext: "Saving...",
- pgtext : "Page {0} sur {1}",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "Recherche...",
- Find: "Chercher",
- Reset: "Réinitialiser",
- odata: [{ oper:'eq', text:"égal"},{ oper:'ne', text:"différent"},{ oper:'lt', text:"inférieur"},{ oper:'le', text:"inférieur ou égal"},{ oper:'gt', text:"supérieur"},{ oper:'ge', text:"supérieur ou égal"},{ oper:'bw', text:"commence par"},{ oper:'bn', text:"ne commence pas par"},{ oper:'in', text:"est dans"},{ oper:'ni', text:"n'est pas dans"},{ oper:'ew', text:"finit par"},{ oper:'en', text:"ne finit pas par"},{ oper:'cn', text:"contient"},{ oper:'nc', text:"ne contient pas"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "AND", text: "tous" }, { op: "OR", text: "au moins un" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "Ajouter",
- editCaption: "Editer",
- bSubmit: "Valider",
- bCancel: "Annuler",
- bClose: "Fermer",
- saveData: "Les données ont changé ! Enregistrer les modifications ?",
- bYes: "Oui",
- bNo: "Non",
- bExit: "Annuler",
- msg: {
- required: "Champ obligatoire",
- number: "Saisissez un nombre correct",
- minValue: "La valeur doit être supérieure ou égale à",
- maxValue: "La valeur doit être inférieure ou égale à",
- email: "n'est pas un email correct",
- integer: "Saisissez un entier correct",
- url: "n'est pas une adresse correcte. Préfixe requis ('http://' or 'https://')",
- nodefined : " n'est pas défini!",
- novalue : " la valeur de retour est requise!",
- customarray : "Une fonction personnalisée devrait retourner un tableau (array)!",
- customfcheck : "Une fonction personnalisée devrait être présente dans le cas d'une vérification personnalisée!"
- }
- },
- view : {
- caption: "Voir les enregistrement",
- bClose: "Fermer"
- },
- del : {
- caption: "Supprimer",
- msg: "Supprimer les enregistrements sélectionnés ?",
- bSubmit: "Supprimer",
- bCancel: "Annuler"
- },
- nav : {
- edittext: " ",
- edittitle: "Editer la ligne sélectionnée",
- addtext:" ",
- addtitle: "Ajouter une ligne",
- deltext: " ",
- deltitle: "Supprimer la ligne sélectionnée",
- searchtext: " ",
- searchtitle: "Chercher un enregistrement",
- refreshtext: "",
- refreshtitle: "Recharger le tableau",
- alertcap: "Avertissement",
- alerttext: "Veuillez sélectionner une ligne",
- viewtext: "",
- viewtitle: "Afficher la ligne sélectionnée",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "Afficher/Masquer les colonnes",
- bSubmit: "Valider",
- bCancel: "Annuler"
- },
- errors : {
- errcap : "Erreur",
- nourl : "Aucune adresse n'est paramétrée",
- norecords: "Aucun enregistrement à traiter",
- model : "Nombre de titres (colNames) <> Nombre de données (colModel)!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
- date : {
- dayNames: [
- "Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam",
- "Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"
- ],
- monthNames: [
- "Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc",
- "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"
- ],
- AmPm : ["am","pm","AM","PM"],
- S: function (j) {return j == 1 ? 'er' : 'e';},
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-gl.js b/ishtar_common/static/js/i18n/grid.locale-gl.js deleted file mode 100644 index b522be284..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-gl.js +++ /dev/null @@ -1,166 +0,0 @@ -/** - * jqGrid Galician Translation - * Translated by Jorge Barreiro <yortx.barry@gmail.com> - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["gl"] = { - defaults : { - recordtext: "Amosando {0} - {1} de {2}", - emptyrecords: "Sen rexistros que amosar", - loadtext: "Cargando...", - pgtext : "Páxina {0} de {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Búsqueda...", - Find: "Buscar", - Reset: "Limpar", - odata: [{ oper:'eq', text:"igual "},{ oper:'ne', text:"diferente a"},{ oper:'lt', text:"menor que"},{ oper:'le', text:"menor ou igual que"},{ oper:'gt', text:"maior que"},{ oper:'ge', text:"maior ou igual a"},{ oper:'bw', text:"empece por"},{ oper:'bn', text:"non empece por"},{ oper:'in', text:"está en"},{ oper:'ni', text:"non está en"},{ oper:'ew', text:"termina por"},{ oper:'en', text:"non termina por"},{ oper:'cn', text:"contén"},{ oper:'nc', text:"non contén"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "todo" }, { op: "OR", text: "calquera" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Engadir rexistro", - editCaption: "Modificar rexistro", - bSubmit: "Gardar", - bCancel: "Cancelar", - bClose: "Pechar", - saveData: "Modificáronse os datos, quere gardar os cambios?", - bYes : "Si", - bNo : "Non", - bExit : "Cancelar", - msg: { - required:"Campo obrigatorio", - number:"Introduza un número", - minValue:"O valor debe ser maior ou igual a ", - maxValue:"O valor debe ser menor ou igual a ", - email: "non é un enderezo de correo válido", - integer: "Introduza un valor enteiro", - date: "Introduza unha data correcta ", - url: "non é unha URL válida. Prefixo requerido ('http://' ou 'https://')", - nodefined : " non está definido.", - novalue : " o valor de retorno é obrigatorio.", - customarray : "A función persoalizada debe devolver un array.", - customfcheck : "A función persoalizada debe estar presente no caso de ter validación persoalizada." - } - }, - view : { - caption: "Consultar rexistro", - bClose: "Pechar" - }, - del : { - caption: "Eliminar", - msg: "Desexa eliminar os rexistros seleccionados?", - bSubmit: "Eliminar", - bCancel: "Cancelar" - }, - nav : { - edittext: " ", - edittitle: "Modificar a fila seleccionada", - addtext:" ", - addtitle: "Engadir unha nova fila", - deltext: " ", - deltitle: "Eliminar a fila seleccionada", - searchtext: " ", - searchtitle: "Buscar información", - refreshtext: "", - refreshtitle: "Recargar datos", - alertcap: "Aviso", - alerttext: "Seleccione unha fila", - viewtext: "", - viewtitle: "Ver fila seleccionada", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Mostrar/ocultar columnas", - bSubmit: "Enviar", - bCancel: "Cancelar" - }, - errors : { - errcap : "Erro", - nourl : "Non especificou unha URL", - norecords: "Non hai datos para procesar", - model : "As columnas de nomes son diferentes das columnas de modelo" - }, - formatter : { - integer : {thousandsSeparator: ".", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa", - "Domingo", "Luns", "Martes", "Mércoles", "Xoves", "Vernes", "Sábado" - ], - monthNames: [ - "Xan", "Feb", "Mar", "Abr", "Mai", "Xuñ", "Xul", "Ago", "Set", "Out", "Nov", "Dec", - "Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd-m-Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-he.js b/ishtar_common/static/js/i18n/grid.locale-he.js deleted file mode 100644 index 04b183378..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-he.js +++ /dev/null @@ -1,167 +0,0 @@ -/** - * jqGrid Hebrew Translation - * Shuki Shukrun shukrun.shuki@gmail.com - * http://trirand.com/blog/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["he"] = { - defaults : { - recordtext: "מציג {0} - {1} מתוך {2}", - emptyrecords: "אין רשומות להציג", - loadtext: "טוען...", - pgtext : "דף {0} מתוך {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "מחפש...", - Find: "חפש", - Reset: "התחל", - odata: [{ oper:'eq', text:"שווה"},{ oper:'ne', text:"לא שווה"},{ oper:'lt', text:"קטן"},{ oper:'le', text:"קטן או שווה"},{ oper:'gt', text:"גדול"},{ oper:'ge', text:"גדול או שווה"},{ oper:'bw', text:"מתחיל ב"},{ oper:'bn', text:"לא מתחיל ב"},{ oper:'in', text:"נמצא ב"},{ oper:'ni', text:"לא נמצא ב"},{ oper:'ew', text:"מסתיים ב"},{ oper:'en', text:"לא מסתיים ב"},{ oper:'cn', text:"מכיל"},{ oper:'nc', text:"לא מכיל"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "הכל" }, { op: "OR", text: "אחד מ" }], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "הוסף רשומה", - editCaption: "ערוך רשומה", - bSubmit: "שלח", - bCancel: "בטל", - bClose: "סגור", - saveData: "נתונים השתנו! לשמור?", - bYes : "כן", - bNo : "לא", - bExit : "בטל", - msg: { - required:"שדה חובה", - number:"אנא, הכנס מספר תקין", - minValue:"ערך צריך להיות גדול או שווה ל ", - maxValue:"ערך צריך להיות קטן או שווה ל ", - email: "היא לא כתובת איימל תקינה", - integer: "אנא, הכנס מספר שלם", - date: "אנא, הכנס תאריך תקין", - url: "הכתובת אינה תקינה. דרושה תחילית ('http://' או 'https://')", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - } - }, - view : { - caption: "הצג רשומה", - bClose: "סגור" - }, - del : { - caption: "מחק", - msg: "האם למחוק את הרשומה/ות המסומנות?", - bSubmit: "מחק", - bCancel: "בטל" - }, - nav : { - edittext: "", - edittitle: "ערוך שורה מסומנת", - addtext:"", - addtitle: "הוסף שורה חדשה", - deltext: "", - deltitle: "מחק שורה מסומנת", - searchtext: "", - searchtitle: "חפש רשומות", - refreshtext: "", - refreshtitle: "טען גריד מחדש", - alertcap: "אזהרה", - alerttext: "אנא, בחר שורה", - viewtext: "", - viewtitle: "הצג שורה מסומנת", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "הצג/הסתר עמודות", - bSubmit: "שלח", - bCancel: "בטל" - }, - errors : { - errcap : "שגיאה", - nourl : "לא הוגדרה כתובת url", - norecords: "אין רשומות לעבד", - model : "אורך של colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "א", "ב", "ג", "ד", "ה", "ו", "ש", - "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת" - ], - monthNames: [ - "ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ", - "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר" - ], - AmPm : ["לפני הצהרים","אחר הצהרים","לפני הצהרים","אחר הצהרים"], - S: function (j) {return j < 11 || j > 13 ? ['', '', '', ''][Math.min((j - 1) % 10, 3)] : ''}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-hr.js b/ishtar_common/static/js/i18n/grid.locale-hr.js deleted file mode 100644 index a104cfb29..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-hr.js +++ /dev/null @@ -1,202 +0,0 @@ -/**
- * jqGrid Croatian Translation
- * Version 1.0.1 (developed for jQuery Grid 4.4)
- * msajko@gmail.com
- *
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["hr"] = {
- defaults : {
- recordtext: "Pregled {0} - {1} od {2}",
- emptyrecords: "Nema zapisa",
- loadtext: "Učitavam...",
- pgtext : "Stranica {0} od {1}",
- savetext: "Saving...",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "Traži...",
- Find: "Pretraživanje",
- Reset: "Poništi",
- odata: [{ oper:'eq', text:"jednak"},{ oper:'ne', text:"nije identičan"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili identično"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili identično"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa "},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "I", text: "sve" }, { op: "ILI", text: "bilo koji" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "Dodaj zapis",
- editCaption: "Promijeni zapis",
- bSubmit: "Preuzmi",
- bCancel: "Odustani",
- bClose: "Zatvri",
- saveData: "Podaci su promijenjeni! Preuzmi promijene?",
- bYes : "Da",
- bNo : "Ne",
- bExit : "Odustani",
- msg: {
- required:"Polje je obavezno",
- number:"Molim, unesite ispravan broj",
- minValue:"Vrijednost mora biti veća ili identična ",
- maxValue:"Vrijednost mora biti manja ili identična",
- email: "neispravan e-mail",
- integer: "Molim, unjeti ispravan cijeli broj (integer)",
- date: "Molim, unjeti ispravan datum ",
- url: "neispravan URL. Prefiks je obavezan ('http://' or 'https://')",
- nodefined : " nije definiran!",
- novalue : " zahtjevan podatak je obavezan!",
- customarray : "Opcionalna funkcija trebala bi bili polje (array)!",
- customfcheck : "Custom function should be present in case of custom checking!"
-
- }
- },
- view : {
- caption: "Otvori zapis",
- bClose: "Zatvori"
- },
- del : {
- caption: "Obriši",
- msg: "Obriši označen zapis ili više njih?",
- bSubmit: "Obriši",
- bCancel: "Odustani"
- },
- nav : {
- edittext: "",
- edittitle: "Promijeni obilježeni red",
- addtext: "",
- addtitle: "Dodaj novi red",
- deltext: "",
- deltitle: "Obriši obilježeni red",
- searchtext: "",
- searchtitle: "Potraži zapise",
- refreshtext: "",
- refreshtitle: "Ponovo preuzmi podatke",
- alertcap: "Upozorenje",
- alerttext: "Molim, odaberi red",
- viewtext: "",
- viewtitle: "Pregled obilježenog reda",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "Obilježi kolonu",
- bSubmit: "Uredu",
- bCancel: "Odustani"
- },
- errors : {
- errcap : "Greška",
- nourl : "Nedostaje URL",
- norecords: "Bez zapisa za obradu",
- model : "colNames i colModel imaju različitu duljinu!"
- },
- formatter : {
- integer : {thousandsSeparator: ".", defaultValue: '0'},
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
- date : {
- dayNames: [
- "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub",
- "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
- ],
- monthNames: [
- "Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro",
- "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
- ],
- AmPm : ["am","pm","AM","PM"],
- S: function (j) {return ''},
- srcformat: 'Y-m-d',
- newformat: 'd.m.Y.',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
- ISO8601Long: "Y-m-d H:i:s",
- ISO8601Short: "Y-m-d",
- // short date:
- // d - Day of the month, 2 digits with leading zeros
- // m - Numeric representation of a month, with leading zeros
- // Y - A full numeric representation of a year, 4 digits
- ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
- // long date:
- // l - A full textual representation of the day of the week
- // j - Day of the month without leading zeros
- // F - A full textual representation of a month
- // Y - A full numeric representation of a year, 4 digits
- LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
- // long date with long time:
- // l - A full textual representation of the day of the week
- // j - Day of the month without leading zeros
- // F - A full textual representation of a month
- // Y - A full numeric representation of a year, 4 digits
- // H - 24-hour format of an hour with leading zeros
- // i - Minutes with leading zeros
- // s - Seconds, with leading zeros
- FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
- // month day:
- // d - Day of the month, 2 digits with leading zeros
- // F - A full textual representation of a month
- MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
- // short time (without seconds)
- // H - 24-hour format of an hour with leading zeros
- // i - Minutes with leading zeros
- ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
- // long time (with seconds)
- // H - 24-hour format of an hour with leading zeros
- // i - Minutes with leading zeros
- // s - Seconds, with leading zeros
- LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- // month with year
- // F - A full textual representation of a month
- // Y - A full numeric representation of a year, 4 digits
- YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-hu.js b/ishtar_common/static/js/i18n/grid.locale-hu.js deleted file mode 100644 index f3c69416a..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-hu.js +++ /dev/null @@ -1,169 +0,0 @@ -/** - * jqGrid Hungarian Translation - * Őrszigety Ádám udx6bs@freemail.hu - * http://trirand.com/blog/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ - -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["hu"] = { - defaults : { - recordtext: "Oldal {0} - {1} / {2}", - emptyrecords: "Nincs találat", - loadtext: "Betöltés...", - pgtext : "Oldal {0} / {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Keresés...", - Find: "Keres", - Reset: "Alapértelmezett", - odata: [{ oper:'eq', text:"egyenlő"},{ oper:'ne', text:"nem egyenlő"},{ oper:'lt', text:"kevesebb"},{ oper:'le', text:"kevesebb vagy egyenlő"},{ oper:'gt', text:"nagyobb"},{ oper:'ge', text:"nagyobb vagy egyenlő"},{ oper:'bw', text:"ezzel kezdődik"},{ oper:'bn', text:"nem ezzel kezdődik"},{ oper:'in', text:"tartalmaz"},{ oper:'ni', text:"nem tartalmaz"},{ oper:'ew', text:"végződik"},{ oper:'en', text:"nem végződik"},{ oper:'cn', text:"tartalmaz"},{ oper:'nc', text:"nem tartalmaz"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Új tétel", - editCaption: "Tétel szerkesztése", - bSubmit: "Mentés", - bCancel: "Mégse", - bClose: "Bezárás", - saveData: "A tétel megváltozott! Tétel mentése?", - bYes : "Igen", - bNo : "Nem", - bExit : "Mégse", - msg: { - required:"Kötelező mező", - number:"Kérjük, adjon meg egy helyes számot", - minValue:"Nagyobb vagy egyenlőnek kell lenni mint ", - maxValue:"Kisebb vagy egyenlőnek kell lennie mint", - email: "hibás emailcím", - integer: "Kérjük adjon meg egy helyes egész számot", - date: "Kérjük adjon meg egy helyes dátumot", - url: "nem helyes cím. Előtag kötelező ('http://' vagy 'https://')", - nodefined : " nem definiált!", - novalue : " visszatérési érték kötelező!!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - - } - }, - view : { - caption: "Tétel megtekintése", - bClose: "Bezárás" - }, - del : { - caption: "Törlés", - msg: "Kiválaztott tétel(ek) törlése?", - bSubmit: "Törlés", - bCancel: "Mégse" - }, - nav : { - edittext: "", - edittitle: "Tétel szerkesztése", - addtext:"", - addtitle: "Új tétel hozzáadása", - deltext: "", - deltitle: "Tétel törlése", - searchtext: "", - searchtitle: "Keresés", - refreshtext: "", - refreshtitle: "Frissítés", - alertcap: "Figyelmeztetés", - alerttext: "Kérem válasszon tételt.", - viewtext: "", - viewtitle: "Tétel megtekintése", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Oszlopok kiválasztása", - bSubmit: "Ok", - bCancel: "Mégse" - }, - errors : { - errcap : "Hiba", - nourl : "Nincs URL beállítva", - norecords: "Nincs feldolgozásra váró tétel", - model : "colNames és colModel hossza nem egyenlő!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Va", "Hé", "Ke", "Sze", "Csü", "Pé", "Szo", - "Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat" - ], - monthNames: [ - "Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Szep", "Okt", "Nov", "Dec", - "Január", "Február", "Március", "Áprili", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December" - ], - AmPm : ["de","du","DE","DU"], - S: function (j) {return '.-ik';}, - srcformat: 'Y-m-d', - newformat: 'Y/m/d', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "Y/j/n", - LongDate: "Y. F hó d., l", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "a g:i", - LongTime: "a g:i:s", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "Y, F" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-id.js b/ishtar_common/static/js/i18n/grid.locale-id.js deleted file mode 100644 index e76bb614f..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-id.js +++ /dev/null @@ -1,208 +0,0 @@ -/**
- * jqGrid Indonesian Translation
- * Tony Tomov tony@trirand.com
- * http://trirand.com/blog/
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["id"] = {
- defaults : {
- recordtext: "Data {0} - {1} dari {2}",
- emptyrecords: "Tidak ada data",
- loadtext: "Memuat...",
- pgtext : "Halaman {0} dari {1}",
- savetext: "Saving...",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "Pencarian",
- Find: "Cari !",
- Reset: "Segarkan",
- odata: [{ oper:'eq', text:"sama dengan"},{ oper:'ne', text:"tidak sama dengan"},{ oper:'lt', text:"kurang dari"},{ oper:'le', text:"kurang dari atau sama dengan"},{ oper:'gt', text:"lebih besar"},{ oper:'ge', text:"lebih besar atau sama dengan"},{ oper:'bw', text:"dimulai dengan"},{ oper:'bn', text:"tidak dimulai dengan"},{ oper:'in', text:"di dalam"},{ oper:'ni', text:"tidak di dalam"},{ oper:'ew', text:"diakhiri dengan"},{ oper:'en', text:"tidak diakhiri dengan"},{ oper:'cn', text:"mengandung"},{ oper:'nc', text:"tidak mengandung"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "Tambah Data",
- editCaption: "Sunting Data",
- bSubmit: "Submit",
- bCancel: "Tutup",
- bClose: "Tutup",
- saveData: "Data telah berubah! Simpan perubahan?",
- bYes : "Ya",
- bNo : "Tidak",
- bExit : "Tutup",
- msg: {
- required:"kolom wajib diisi",
- number:"hanya nomer yang diperbolehkan",
- minValue:"kolom harus lebih besar dari atau sama dengan",
- maxValue:"kolom harus lebih kecil atau sama dengan",
- email: "alamat e-mail tidak valid",
- integer: "hanya nilai integer yang diperbolehkan",
- date: "nilai tanggal tidak valid",
- url: "Bukan URL yang valid. Harap gunakan ('http://' or 'https://')",
- nodefined : " belum didefinisikan!",
- novalue : " return value is required!",
- customarray : "Custom function should return array!",
- customfcheck : "Custom function should be present in case of custom checking!"
-
- }
- },
- view : {
- caption: "Menampilkan data",
- bClose: "Tutup"
- },
- del : {
- caption: "Hapus",
- msg: "Hapus data terpilih?",
- bSubmit: "Hapus",
- bCancel: "Batalkan"
- },
- nav : {
- edittext: "",
- edittitle: "Sunting data terpilih",
- addtext:"",
- addtitle: "Tambah baris baru",
- deltext: "",
- deltitle: "Hapus baris terpilih",
- searchtext: "",
- searchtitle: "Temukan data",
- refreshtext: "",
- refreshtitle: "Segarkan Grid",
- alertcap: "Warning",
- alerttext: "Harap pilih baris",
- viewtext: "",
- viewtitle: "Tampilkan baris terpilih",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "Pilih Kolom",
- bSubmit: "Ok",
- bCancel: "Batal"
- },
- errors : {
- errcap : "Error",
- nourl : "Tidak ada url yang diset",
- norecords: "Tidak ada data untuk diproses",
- model : "Lebar dari colNames <> colModel!"
- },
- formatter : {
- integer : {thousandsSeparator: ".", defaultValue: '0'},
- number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'},
- currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "Rp. ", suffix:"", defaultValue: '0'},
- date : {
- dayNames: [
- "Ming", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab",
- "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"
- ],
- monthNames: [
- "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des",
- "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
- ],
- AmPm : ["am","pm","AM","PM"],
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';},
- srcformat: 'Y-m-d',
- newformat: 'n/j/Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
- // and see http://docs.jquery.com/UI/Datepicker/formatDate
- // and https://github.com/jquery/globalize#dates for alternative formats used frequently
- // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
- // information about date, time, numbers and currency formats used in different countries
- // one should just convert the information in PHP format
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- // short date:
- // n - Numeric representation of a month, without leading zeros
- // j - Day of the month without leading zeros
- // Y - A full numeric representation of a year, 4 digits
- // example: 3/1/2012 which means 1 March 2012
- ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
- // long date:
- // l - A full textual representation of the day of the week
- // F - A full textual representation of a month
- // d - Day of the month, 2 digits with leading zeros
- // Y - A full numeric representation of a year, 4 digits
- LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
- // long date with long time:
- // l - A full textual representation of the day of the week
- // F - A full textual representation of a month
- // d - Day of the month, 2 digits with leading zeros
- // Y - A full numeric representation of a year, 4 digits
- // g - 12-hour format of an hour without leading zeros
- // i - Minutes with leading zeros
- // s - Seconds, with leading zeros
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
- FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
- // month day:
- // F - A full textual representation of a month
- // d - Day of the month, 2 digits with leading zeros
- MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
- // short time (without seconds)
- // g - 12-hour format of an hour without leading zeros
- // i - Minutes with leading zeros
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
- ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
- // long time (with seconds)
- // g - 12-hour format of an hour without leading zeros
- // i - Minutes with leading zeros
- // s - Seconds, with leading zeros
- // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
- LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- // month with year
- // Y - A full numeric representation of a year, 4 digits
- // F - A full textual representation of a month
- YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-is.js b/ishtar_common/static/js/i18n/grid.locale-is.js deleted file mode 100644 index 967e476d2..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-is.js +++ /dev/null @@ -1,166 +0,0 @@ -/**
- * jqGrid Icelandic Translation
- * jtm@hi.is Univercity of Iceland
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["is"] = {
- defaults : {
- recordtext: "Skoða {0} - {1} af {2}",
- emptyrecords: "Engar færslur",
- loadtext: "Hleður...",
- pgtext : "Síða {0} af {1}",
- savetext: "Saving...",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "Leita...",
- Find: "Leita",
- Reset: "Endursetja",
- odata: [{ oper:'eq', text:"sama og"},{ oper:'ne', text:"ekki sama og"},{ oper:'lt', text:"minna en"},{ oper:'le', text:"minna eða jafnt og"},{ oper:'gt', text:"stærra en"},{ oper:'ge', text:"stærra eða jafnt og"},{ oper:'bw', text:"byrjar á"},{ oper:'bn', text:"byrjar ekki á"},{ oper:'in', text:"er í"},{ oper:'ni', text:"er ekki í"},{ oper:'ew', text:"endar á"},{ oper:'en', text:"endar ekki á"},{ oper:'cn', text:"inniheldur"},{ oper:'nc', text:"inniheldur ekki"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "AND", text: "allt" }, { op: "OR", text: "eða" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "Bæta við færslu",
- editCaption: "Breyta færslu",
- bSubmit: "Vista",
- bCancel: "Hætta við",
- bClose: "Loka",
- saveData: "Gögn hafa breyst! Vista breytingar?",
- bYes : "Já",
- bNo : "Nei",
- bExit : "Hætta við",
- msg: {
- required:"Reitur er nauðsynlegur",
- number:"Vinsamlega settu inn tölu",
- minValue:"gildi verður að vera meira en eða jafnt og ",
- maxValue:"gildi verður að vera minna en eða jafnt og ",
- email: "er ekki löglegt email",
- integer: "Vinsamlega settu inn tölu",
- date: "Vinsamlega setti inn dagsetningu",
- url: "er ekki löglegt URL. Vantar ('http://' eða 'https://')",
- nodefined : " er ekki skilgreint!",
- novalue : " skilagildi nauðsynlegt!",
- customarray : "Fall skal skila fylki!",
- customfcheck : "Fall skal vera skilgreint!"
- }
- },
- view : {
- caption: "Skoða færslu",
- bClose: "Loka"
- },
- del : {
- caption: "Eyða",
- msg: "Eyða völdum færslum ?",
- bSubmit: "Eyða",
- bCancel: "Hætta við"
- },
- nav : {
- edittext: " ",
- edittitle: "Breyta færslu",
- addtext:" ",
- addtitle: "Ný færsla",
- deltext: " ",
- deltitle: "Eyða færslu",
- searchtext: " ",
- searchtitle: "Leita",
- refreshtext: "",
- refreshtitle: "Endurhlaða",
- alertcap: "Viðvörun",
- alerttext: "Vinsamlega veldu færslu",
- viewtext: "",
- viewtitle: "Skoða valda færslu",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "Sýna / fela dálka",
- bSubmit: "Vista",
- bCancel: "Hætta við"
- },
- errors : {
- errcap : "Villa",
- nourl : "Vantar slóð",
- norecords: "Engar færslur valdar",
- model : "Lengd colNames <> colModel!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
- date : {
- dayNames: [
- "Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau",
- "Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur"
- ],
- monthNames: [
- "Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Oct", "Nóv", "Des",
- "Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júný", "Júlý", "Ágúst", "September", "Október", "Nóvember", "Desember"
- ],
- AmPm : ["am","pm","AM","PM"],
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-it.js b/ishtar_common/static/js/i18n/grid.locale-it.js deleted file mode 100644 index 08733e088..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-it.js +++ /dev/null @@ -1,47 +0,0 @@ -// Italian Translation -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["it"] = { - defaults:{recordtext:"Visualizzati {0} - {1} di {2}",emptyrecords:"Nessun record da visualizzare",loadtext:"Caricamento...",pgtext:"Pagina {0} di {1}", savetext: "Saving...",pgfirst : "First Page",pglast : "Last Page",pgnext : "Next Page",pgprev : "Previous Page",pgrecs : "Records per Page", showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." -}, - search:{caption:"Ricerca...",Find:"Cerca",Reset:"Pulisci", odata: [{ oper:'eq', text:"uguale"},{ oper:'ne', text:"diverso"},{ oper:'lt', text:"minore"},{ oper:'le', text:"minore o uguale"},{ oper:'gt', text:"maggiore"},{ oper:'ge', text:"maggiore o uguale"},{ oper:'bw', text:"inizia con"},{ oper:'bn', text:"non inizia con"},{ oper:'in', text:"in"},{ oper:'ni', text:"non in"},{ oper:'ew', text:"termina con"},{ oper:'en', text:"non termina con"},{ oper:'cn', text:"contiene"},{ oper:'nc', text:"non contiene"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],groupOps:[{op:"AND",text:"tutto"},{op:"OR",text:"almeno uno"}], operandTitle : "Click to select search operation.",resetTitle : "Reset Search Value"}, - edit:{addCaption:"Aggiungi Record",editCaption:"Modifica Record",bSubmit:"Invia",bCancel:"Chiudi",bClose:"Chiudi",saveData:"Alcuni dati modificati! Salvare i cambiamenti?",bYes:"Si",bNo:"No",bExit:"Esci",msg:{required:"Campo richiesto",number:"Per favore, inserisci un valore valido",minValue:"il valore deve essere maggiore o uguale a ",maxValue:"il valore deve essere minore o uguale a",email:"e-mail non corretta",integer:"Per favore, inserisci un numero intero valido",date:"Per favore, inserisci una data valida",url:"URL non valido. Prefisso richiesto ('http://' or 'https://')",nodefined:" non � definito!",novalue:" valore di ritorno richiesto!",customarray:"La function custon deve tornare un array!",customfcheck:"La function custom deve esistere per il custom checking!"}}, - view:{caption:"Visualizzazione Record",bClose:"Chiudi"}, - del:{caption:"Cancella",msg:"Cancellare record selezionato/i?",bSubmit:"Cancella",bCancel:"Annulla"}, - nav:{edittext:" ",edittitle:"Modifica record selezionato",addtext:" ",addtitle:"Aggiungi nuovo record",deltext:" ",deltitle:"Cancella record selezionato",searchtext:" ",searchtitle:"Ricerca record",refreshtext:"",refreshtitle:"Aggiorna griglia",alertcap:"Attenzione",alerttext:"Per favore, seleziona un record",viewtext:"",viewtitle:"Visualizza riga selezionata", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col:{caption:"Mostra/Nascondi Colonne",bSubmit:"Invia",bCancel:"Annulla"}, - errors:{errcap:"Errore",nourl:"Url non settata",norecords:"Nessun record da elaborare",model:"Lunghezza di colNames <> colModel!"}, - formatter:{integer:{thousandsSeparator:" ",defaultValue:"0"},number:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,defaultValue:"0,00"},currency:{decimalSeparator:",",thousandsSeparator:" ",decimalPlaces:2,prefix:"",suffix:"",defaultValue:"0,00"},date:{dayNames:["Dom","Lun","Mar","Mer","Gio","Ven","Sab","Domenica","Luned�","Marted�","Mercoled�","Gioved�","Venerd�","Sabato"],monthNames:["Gen","Feb","Mar","Apr","Mag","Gui","Lug","Ago","Set","Ott","Nov","Dic","Genneio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Movembre","Dicembre"],AmPm:["am","pm","AM","PM"],S:function(b){return b<11||b>13?["st","nd","rd","th"][Math.min((b-1)%10,3)]:"th"},srcformat:"Y-m-d",newformat:"d/m/Y",parseRe : /[#%\\\/:_;.,\t\s-]/,masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false,userLocalTime : false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"} -}; -;}));
\ No newline at end of file diff --git a/ishtar_common/static/js/i18n/grid.locale-ja.js b/ishtar_common/static/js/i18n/grid.locale-ja.js deleted file mode 100644 index d2b0866c7..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-ja.js +++ /dev/null @@ -1,196 +0,0 @@ -/** - * jqGrid Japanese Translation - * OKADA Yoshitada okada.dev@sth.jp - * http://trirand.com/blog/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["ja"] = { - defaults : { - recordtext: "{2} \u4EF6\u4E2D {0} - {1} \u3092\u8868\u793A ", - emptyrecords: "\u8868\u793A\u3059\u308B\u30EC\u30B3\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093", - loadtext: "\u8aad\u307f\u8fbc\u307f\u4e2d...", - pgtext : "{1} \u30DA\u30FC\u30B8\u4E2D {0} \u30DA\u30FC\u30B8\u76EE ", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "\u691c\u7d22...", - Find: "\u691c\u7d22", - Reset: "\u30ea\u30bb\u30c3\u30c8", - odata: [{ oper:'eq', text:"\u6B21\u306B\u7B49\u3057\u3044"}, { oper:'ne', text:"\u6B21\u306B\u7B49\u3057\u304F\u306A\u3044"}, - { oper:'lt', text:"\u6B21\u3088\u308A\u5C0F\u3055\u3044"}, { oper:'le', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5C0F\u3055\u3044"}, - { oper:'gt', text:"\u6B21\u3088\u308A\u5927\u304D\u3044"}, { oper:'ge', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5927\u304D\u3044"}, - { oper:'bw', text:"\u6B21\u3067\u59CB\u307E\u308B"}, { oper:'bn', text:"\u6B21\u3067\u59CB\u307E\u3089\u306A\u3044"}, - { oper:'in', text:"\u6B21\u306B\u542B\u307E\u308C\u308B"}, { oper:'ni', text:"\u6B21\u306B\u542B\u307E\u308C\u306A\u3044"}, - { oper:'ew', text:"\u6B21\u3067\u7D42\u308F\u308B"}, { oper:'en', text:"\u6B21\u3067\u7D42\u308F\u3089\u306A\u3044"}, - { oper:'cn', text:"\u6B21\u3092\u542B\u3080"}, { oper:'nc', text:"\u6B21\u3092\u542B\u307E\u306A\u3044"}, - { oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [{ - op: "AND", - text: "\u3059\u3079\u3066\u306E" - }, - { - op: "OR", - text: "\u3044\u305A\u308C\u304B\u306E" - }], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "\u30ec\u30b3\u30fc\u30c9\u8ffd\u52a0", - editCaption: "\u30ec\u30b3\u30fc\u30c9\u7de8\u96c6", - bSubmit: "\u9001\u4fe1", - bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb", - bClose: "\u9589\u3058\u308b", - saveData: "\u30C7\u30FC\u30BF\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4FDD\u5B58\u3057\u307E\u3059\u304B\uFF1F", - bYes: "\u306F\u3044", - bNo: "\u3044\u3044\u3048", - bExit: "\u30AD\u30E3\u30F3\u30BB\u30EB", - msg: { - required:"\u3053\u306e\u9805\u76ee\u306f\u5fc5\u9808\u3067\u3059\u3002", - number:"\u6b63\u3057\u3044\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", - minValue:"\u6b21\u306e\u5024\u4ee5\u4e0a\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", - maxValue:"\u6b21\u306e\u5024\u4ee5\u4e0b\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", - email: "e-mail\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002", - integer: "\u6b63\u3057\u3044\u6574\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", - date: "\u6b63\u3057\u3044\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", - url: "\u306F\u6709\u52B9\u306AURL\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\20\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u304C\u5FC5\u8981\u3067\u3059\u3002 ('http://' \u307E\u305F\u306F 'https://')", - nodefined: " \u304C\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093", - novalue: " \u623B\u308A\u5024\u304C\u5FC5\u8981\u3067\u3059", - customarray: "\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u306F\u914D\u5217\u3092\u8FD4\u3059\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059", - customfcheck: "\u30AB\u30B9\u30BF\u30E0\u691C\u8A3C\u306B\u306F\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u304C\u5FC5\u8981\u3067\u3059" - } - }, - view : { - caption: "\u30EC\u30B3\u30FC\u30C9\u3092\u8868\u793A", - bClose: "\u9589\u3058\u308B" - }, - del : { - caption: "\u524a\u9664", - msg: "\u9078\u629e\u3057\u305f\u30ec\u30b3\u30fc\u30c9\u3092\u524a\u9664\u3057\u307e\u3059\u304b\uff1f", - bSubmit: "\u524a\u9664", - bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb" - }, - nav : { - edittext: " ", - edittitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u7de8\u96c6", - addtext:" ", - addtitle: "\u884c\u3092\u65b0\u898f\u8ffd\u52a0", - deltext: " ", - deltitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u524a\u9664", - searchtext: " ", - searchtitle: "\u30ec\u30b3\u30fc\u30c9\u691c\u7d22", - refreshtext: "", - refreshtitle: "\u30b0\u30ea\u30c3\u30c9\u3092\u30ea\u30ed\u30fc\u30c9", - alertcap: "\u8b66\u544a", - alerttext: "\u884c\u3092\u9078\u629e\u3057\u3066\u4e0b\u3055\u3044\u3002", - viewtext: "", - viewtitle: "\u9078\u629E\u3057\u305F\u884C\u3092\u8868\u793A", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "\u5217\u3092\u8868\u793a\uff0f\u96a0\u3059", - bSubmit: "\u9001\u4fe1", - bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb" - }, - errors : { - errcap : "\u30a8\u30e9\u30fc", - nourl : "URL\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002", - norecords: "\u51e6\u7406\u5bfe\u8c61\u306e\u30ec\u30b3\u30fc\u30c9\u304c\u3042\u308a\u307e\u305b\u3093\u3002", - model : "colNames\u306e\u9577\u3055\u304ccolModel\u3068\u4e00\u81f4\u3057\u307e\u305b\u3093\u3002" - }, - formatter : { - integer: { - thousandsSeparator: ",", - defaultValue: '0' - }, - number: { - decimalSeparator: ".", - thousandsSeparator: ",", - decimalPlaces: 2, - defaultValue: '0.00' - }, - currency: { - decimalSeparator: ".", - thousandsSeparator: ",", - decimalPlaces: 0, - prefix: "", - suffix: "", - defaultValue: '0' - }, - date : { - dayNames: [ - "\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f", - "\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f" - ], - monthNames: [ - "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", - "1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) { return "\u756a\u76ee"; }, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-kr.js b/ishtar_common/static/js/i18n/grid.locale-kr.js deleted file mode 100644 index f2866a5d2..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-kr.js +++ /dev/null @@ -1,168 +0,0 @@ -/** - * jqGrid English Translation - * Tony Tomov tony@trirand.com - * http://trirand.com/blog/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["kr"] = { - defaults : { - recordtext: "보기 {0} - {1} / {2}", - emptyrecords: "표시할 행이 없습니다", - loadtext: "조회중...", - pgtext : "페이지 {0} / {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "검색...", - Find: "찾기", - Reset: "초기화", - odata: [{ oper:'eq', text:"같다"},{ oper:'ne', text:"같지 않다"},{ oper:'lt', text:"작다"},{ oper:'le', text:"작거나 같다"},{ oper:'gt', text:"크다"},{ oper:'ge', text:"크거나 같다"},{ oper:'bw', text:"로 시작한다"},{ oper:'bn', text:"로 시작하지 않는다"},{ oper:'in', text:"내에 있다"},{ oper:'ni', text:"내에 있지 않다"},{ oper:'ew', text:"로 끝난다"},{ oper:'en', text:"로 끝나지 않는다"},{ oper:'cn', text:"내에 존재한다"},{ oper:'nc', text:"내에 존재하지 않는다"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "전부" }, { op: "OR", text: "임의" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "행 추가", - editCaption: "행 수정", - bSubmit: "전송", - bCancel: "취소", - bClose: "닫기", - saveData: "자료가 변경되었습니다! 저장하시겠습니까?", - bYes : "예", - bNo : "아니오", - bExit : "취소", - msg: { - required:"필수항목입니다", - number:"유효한 번호를 입력해 주세요", - minValue:"입력값은 크거나 같아야 합니다", - maxValue:"입력값은 작거나 같아야 합니다", - email: "유효하지 않은 이메일주소입니다", - integer: "유효한 숫자를 입력하세요", - date: "유효한 날짜를 입력하세요", - url: "은 유효하지 않은 URL입니다. 문장앞에 다음단어가 필요합니다('http://' or 'https://')", - nodefined : " 은 정의도지 않았습니다!", - novalue : " 반환값이 필요합니다!", - customarray : "사용자정의 함수는 배열을 반환해야 합니다!", - customfcheck : "Custom function should be present in case of custom checking!" - - } - }, - view : { - caption: "행 조회", - bClose: "닫기" - }, - del : { - caption: "삭제", - msg: "선택된 행을 삭제하시겠습니까?", - bSubmit: "삭제", - bCancel: "취소" - }, - nav : { - edittext: "", - edittitle: "선택된 행 편집", - addtext:"", - addtitle: "행 삽입", - deltext: "", - deltitle: "선택된 행 삭제", - searchtext: "", - searchtitle: "행 찾기", - refreshtext: "", - refreshtitle: "그리드 갱신", - alertcap: "경고", - alerttext: "행을 선택하세요", - viewtext: "", - viewtitle: "선택된 행 조회", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "열을 선택하세요", - bSubmit: "확인", - bCancel: "취소" - }, - errors : { - errcap : "오류", - nourl : "설정된 url이 없습니다", - norecords: "처리할 행이 없습니다", - model : "colNames의 길이가 colModel과 일치하지 않습니다!" - }, - formatter : { - integer : {thousandsSeparator: ",", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat", - "일", "월", "화", "수", "목", "금", "토" - ], - monthNames: [ - "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", - "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'm-d-Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "Y/j/n", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-lt.js b/ishtar_common/static/js/i18n/grid.locale-lt.js deleted file mode 100644 index 55f3260c2..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-lt.js +++ /dev/null @@ -1,168 +0,0 @@ -/** - * jqGrid Lithuanian Translation - * aur1mas aur1mas@devnet.lt - * http://aur1mas.devnet.lt - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["lt"] = { - defaults : { - recordtext: "Peržiūrima {0} - {1} iš {2}", - emptyrecords: "Įrašų nėra", - loadtext: "Kraunama...", - pgtext : "Puslapis {0} iš {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Paieška...", - Find: "Ieškoti", - Reset: "Atstatyti", - odata: [{ oper:'eq', text:"lygu"},{ oper:'ne', text:"nelygu"},{ oper:'lt', text:"mažiau"},{ oper:'le', text:"mažiau arba lygu"},{ oper:'gt', text:"daugiau"},{ oper:'ge', text:"daugiau arba lygu"},{ oper:'bw', text:"prasideda"},{ oper:'bn', text:"neprasideda"},{ oper:'in', text:"reikšmė yra"},{ oper:'ni', text:"reikšmės nėra"},{ oper:'ew', text:"baigiasi"},{ oper:'en', text:"nesibaigia"},{ oper:'cn', text:"yra sudarytas"},{ oper:'nc', text:"nėra sudarytas"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "visi" }, { op: "OR", text: "bet kuris" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Sukurti įrašą", - editCaption: "Redaguoti įrašą", - bSubmit: "Išsaugoti", - bCancel: "Atšaukti", - bClose: "Uždaryti", - saveData: "Duomenys buvo pakeisti! Išsaugoti pakeitimus?", - bYes : "Taip", - bNo : "Ne", - bExit : "Atšaukti", - msg: { - required:"Privalomas laukas", - number:"Įveskite tinkamą numerį", - minValue:"reikšmė turi būti didesnė arba lygi ", - maxValue:"reikšmė turi būti mažesnė arba lygi", - email: "neteisingas el. pašto adresas", - integer: "Įveskite teisingą sveikąjį skaičių", - date: "Įveskite teisingą datą", - url: "blogas adresas. Nepamirškite pridėti ('http://' arba 'https://')", - nodefined : " nėra apibrėžta!", - novalue : " turi būti gražinama kokia nors reikšmė!", - customarray : "Custom f-ja turi grąžinti masyvą!", - customfcheck : "Custom f-ja tūrėtų būti sukurta, prieš bandant ją naudoti!" - - } - }, - view : { - caption: "Peržiūrėti įrašus", - bClose: "Uždaryti" - }, - del : { - caption: "Ištrinti", - msg: "Ištrinti pažymėtus įrašus(-ą)?", - bSubmit: "Ištrinti", - bCancel: "Atšaukti" - }, - nav : { - edittext: "", - edittitle: "Redaguoti pažymėtą eilutę", - addtext:"", - addtitle: "Pridėti naują eilutę", - deltext: "", - deltitle: "Ištrinti pažymėtą eilutę", - searchtext: "", - searchtitle: "Rasti įrašus", - refreshtext: "", - refreshtitle: "Perkrauti lentelę", - alertcap: "Įspėjimas", - alerttext: "Pasirinkite eilutę", - viewtext: "", - viewtitle: "Peržiūrėti pasirinktą eilutę", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Pasirinkti stulpelius", - bSubmit: "Gerai", - bCancel: "Atšaukti" - }, - errors : { - errcap : "Klaida", - nourl : "Url reikšmė turi būti perduota", - norecords: "Nėra įrašų, kuriuos būtų galima apdoroti", - model : "colNames skaičius <> colModel skaičiui!" - }, - formatter : { - integer : {thousandsSeparator: "", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:",", thousandsSeparator: "", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš", - "Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis" - ], - monthNames: [ - "Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugj", "Rugs", "Spa", "Lap", "Gru", - "Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-me.js b/ishtar_common/static/js/i18n/grid.locale-me.js deleted file mode 100644 index b3dc9a0e9..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-me.js +++ /dev/null @@ -1,168 +0,0 @@ -/**
- * jqGrid Montenegrian Translation
- * Bild Studio info@bild-studio.net
- * http://www.bild-studio.com
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["me"] = {
- defaults : {
- recordtext: "Pregled {0} - {1} od {2}",
- emptyrecords: "Ne postoji nijedan zapis",
- loadtext: "Učitivanje...",
- pgtext : "Strana {0} od {1}",
- savetext: "Saving...",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "Traženje...",
- Find: "Traži",
- Reset: "Resetuj",
- odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "Dodaj zapis",
- editCaption: "Izmjeni zapis",
- bSubmit: "Pošalji",
- bCancel: "Odustani",
- bClose: "Zatvori",
- saveData: "Podatak je izmjenjen! Sačuvaj izmjene?",
- bYes : "Da",
- bNo : "Ne",
- bExit : "Odustani",
- msg: {
- required:"Polje je obavezno",
- number:"Unesite ispravan broj",
- minValue:"vrijednost mora biti veća od ili jednaka sa ",
- maxValue:"vrijednost mora biti manja ili jednaka sa",
- email: "nije ispravna email adresa, nije valjda da ne umiješ ukucati mail!?",
- integer: "Ne zajebaji se unesi cjelobrojnu vrijednost ",
- date: "Unesite ispravan datum",
- url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
- nodefined : " nije definisan!",
- novalue : " zahtjevana je povratna vrijednost!",
- customarray : "Prilagođena funkcija treba da vrati niz!",
- customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provjere!"
-
- }
- },
- view : {
- caption: "Pogledaj zapis",
- bClose: "Zatvori"
- },
- del : {
- caption: "Izbrisi",
- msg: "Izbrisi izabran(e) zapise(e)?",
- bSubmit: "Izbriši",
- bCancel: "Odbaci"
- },
- nav : {
- edittext: "",
- edittitle: "Izmjeni izabrani red",
- addtext:"",
- addtitle: "Dodaj novi red",
- deltext: "",
- deltitle: "Izbriši izabran red",
- searchtext: "",
- searchtitle: "Nađi zapise",
- refreshtext: "",
- refreshtitle: "Ponovo učitaj podatke",
- alertcap: "Upozorenje",
- alerttext: "Izaberite red",
- viewtext: "",
- viewtitle: "Pogledaj izabrani red",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "Izaberi kolone",
- bSubmit: "OK",
- bCancel: "Odbaci"
- },
- errors : {
- errcap : "Greška",
- nourl : "Nije postavljen URL",
- norecords: "Nema zapisa za obradu",
- model : "Dužina modela colNames <> colModel!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
- date : {
- dayNames: [
- "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
- "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
- ],
- monthNames: [
- "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
- "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
- ],
- AmPm : ["am","pm","AM","PM"],
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-nl.js b/ishtar_common/static/js/i18n/grid.locale-nl.js deleted file mode 100644 index 4795ef27e..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-nl.js +++ /dev/null @@ -1,189 +0,0 @@ -//NETHERLANDS -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["nl"] = { - defaults: - { - recordtext: "regels {0} - {1} van {2}", - emptyrecords: "Geen data gevonden.", - loadtext: "Laden...", - pgtext: "pagina {0} van {1}", - savetext: "Saving...", - pgfirst : "Eerste Pagina", - pglast : "Laatste Pagina", - pgnext : "Volgende Pagina", - pgprev : "Vorige Pagina", - pgrecs : "Records per Pagina", - showhide: "Schakelen Uitklappen Inklappen Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search: - { - caption: "Zoeken...", - Find: "Zoek", - Reset: "Herstellen", - odata: [{ oper:'eq', text:"gelijk aan"},{ oper:'ne', text:"niet gelijk aan"},{ oper:'lt', text:"kleiner dan"},{ oper:'le', text:"kleiner dan of gelijk aan"},{ oper:'gt', text:"groter dan"},{ oper:'ge', text:"groter dan of gelijk aan"},{ oper:'bw', text:"begint met"},{ oper:'bn', text:"begint niet met"},{ oper:'in', text:"is in"},{ oper:'ni', text:"is niet in"},{ oper:'ew', text:"eindigt met"},{ oper:'en', text:"eindigt niet met"},{ oper:'cn', text:"bevat"},{ oper:'nc', text:"bevat niet"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [{ op: "AND", text: "alle" }, { op: "OR", text: "een van de"}], - operandTitle : "Klik om de zoekterm te selecteren.", - resetTitle : "Herstel zoekterm" - }, - edit: - { - addCaption: "Nieuw", - editCaption: "Bewerken", - bSubmit: "Opslaan", - bCancel: "Annuleren", - bClose: "Sluiten", - saveData: "Er is data aangepast! Wijzigingen opslaan?", - bYes: "Ja", - bNo: "Nee", - bExit: "Sluiten", - msg: - { - required: "Veld is verplicht", - number: "Voer a.u.b. geldig nummer in", - minValue: "Waarde moet groter of gelijk zijn aan ", - maxValue: "Waarde moet kleiner of gelijk zijn aan", - email: "is geen geldig e-mailadres", - integer: "Voer a.u.b. een geldig getal in", - date: "Voer a.u.b. een geldige waarde in", - url: "is geen geldige URL. Prefix is verplicht ('http://' or 'https://')", - nodefined : " is niet gedefineerd!", - novalue : " return waarde is verplicht!", - customarray : "Aangepaste functie moet array teruggeven!", - customfcheck : "Aangepaste function moet aanwezig zijn in het geval van aangepaste controle!" - } - }, - view: - { - caption: "Tonen", - bClose: "Sluiten" - }, - del: - { - caption: "Verwijderen", - msg: "Verwijder geselecteerde regel(s)?", - bSubmit: "Verwijderen", - bCancel: "Annuleren" - }, - nav: - { - edittext: "", - edittitle: "Bewerken", - addtext: "", - addtitle: "Nieuw", - deltext: "", - deltitle: "Verwijderen", - searchtext: "", - searchtitle: "Zoeken", - refreshtext: "", - refreshtitle: "Vernieuwen", - alertcap: "Waarschuwing", - alerttext: "Selecteer a.u.b. een regel", - viewtext: "", - viewtitle: "Openen", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col: - { - caption: "Tonen/verbergen kolommen", - bSubmit: "OK", - bCancel: "Annuleren" - }, - errors: - { - errcap: "Fout", - nourl: "Er is geen URL gedefinieerd", - norecords: "Geen data om te verwerken", - model: "Lengte van 'colNames' is niet gelijk aan 'colModel'!" - }, - formatter: - { - integer: - { - thousandsSeparator: ".", - defaultValue: "0" - }, - number: - { - decimalSeparator: ",", - thousandsSeparator: ".", - decimalPlaces: 2, - defaultValue: "0.00" - }, - currency: - { - decimalSeparator: ",", - thousandsSeparator: ".", - decimalPlaces: 2, - prefix: "EUR ", - suffix: "", - defaultValue: "0.00" - }, - date: - { - dayNames: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"], - monthNames: ["Jan", "Feb", "Maa", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "October", "November", "December"], - AmPm: ["am", "pm", "AM", "PM"], - S: function(b) { - return b < 11 || b > 13 ? ["st", "nd", "rd", "th"][Math.min((b - 1) % 10, 3)] : "th" - }, - srcformat: "Y-m-d", - newformat: "d/m/Y", - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks: - { - ISO8601Long: "Y-m-d H:i:s", - ISO8601Short: "Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l d F Y G:i:s", - MonthDay: "d F", - ShortTime: "G:i", - LongTime: "G:i:s", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit: false, - userLocalTime : false - }, - baseLinkUrl: "", - showAction: "", - target: "", - checkbox: - { - disabled: true - }, - idName: "id" - } - }; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-no.js b/ishtar_common/static/js/i18n/grid.locale-no.js deleted file mode 100644 index 84efab4a9..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-no.js +++ /dev/null @@ -1,75 +0,0 @@ -//NORWAY
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["no"] = {
- defaults : {
- recordtext: "Rad {0} - {1}, totalt {2}",
- loadtext: "Laster...",
- pgtext: "Side {0} av {1}",
- savetext: "Saving...",
- pgfirst: "First Page",
- pglast: "Last Page",
- pgnext: "Next Page",
- pgprev: "Previous Page",
- pgrecs: "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- emptyrecords: "Ingen poster funnet",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
-
- },
- search :
- {caption: "Søk...", Find: "Finn", Reset: "Nullstill", odata: [
- {oper: 'eq', text: "lik"},
- {oper: 'ne', text: "forskjellig fra"},
- {oper: 'lt', text: "mindre enn"},
- {oper: 'le', text: "mindre eller lik"},
- {oper: 'gt', text: "større enn"},
- {oper: 'ge', text: " større eller lik"},
- {oper: 'bw', text: "starter med"},
- {oper: 'ew', text: "slutter med"},
- {oper: 'cn', text: "inneholder"},
- { oper: 'nu', text: 'is null'},
- { oper: 'nn', text: 'is not null'}
- ], operandTitle: "Click to select search operation.", resetTitle: "Reset Search Value"
- },
- edit : {addCaption: "Ny rad", editCaption: "Rediger", bSubmit: "Send", bCancel: "Avbryt", bClose: "Lukk", processData: "Laster...", msg: {required: "Felt er obligatorisk", number: "Legg inn et gyldig tall", minValue: "verdi mø vøre større enn eller lik", maxValue: "verdi må være mindre enn eller lik", email: "er ikke en gyldig e-post adresse", integer: "Legg inn et gyldig heltall", date: "Legg inn en gyldig dato", url: "er ikke en gyldig URL. Prefiks påkrevd ('http://' eller 'https://')", nodefined: " er ikke definert!", novalue: " returverdi er påkrevd!", customarray: "Tilpasset funksjon må returnere en tabell!", customfcheck: "Tilpasset funksjon må eksistere!"}},
- view : {caption: "Åpne post", bClose: "Lukk"},
- del : {caption: "Slett", msg: "Slett valgte rad(er)?", bSubmit: "Slett", bCancel: "Avbryt", processData: "Behandler..."},
- nav : {edittext: " ", edittitle: "Rediger valgte rad(er)", addtext: " ", addtitle: "Legg til ny rad", deltext: " ", deltitle: "Slett valgte rad(er)", searchtext: " ", searchtitle: "Søk", refreshtext: "", refreshtitle: "Oppdater tabell", alertcap: "Advarsel", alerttext: "Velg rad", viewtext: " ", viewtitle: "Åpne valgt rad",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {caption: "Vis/skjul kolonner", bSubmit: "Utfør", bCancel: "Avbryt"},
- errors : {errcap: "Feil", nourl: "Ingen url er satt", norecords: "Ingen poster å behandle", model: "colNames og colModel har forskjellig lengde!"},
- formatter : {integer: {thousandsSeparator: " ", defaultValue: 0}, number: {decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, defaulValue: 0}, currency: {decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaulValue: 0}, date: {dayNames: ["sø.", "ma.", "ti.", "on.", "to.", "fr.", "lø.", "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"], monthNames: ["jan.", "feb.", "mars", "april", "mai", "juni", "juli", "aug.", "sep.", "okt.", "nov.", "des.", "januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember"], AmPm: ["", "", "", ""], S: function (b) {
- return".";
- }, srcformat: "Y-m-d H:i:s", newformat: "Y-m-d H:i:s", parseRe: /[#%\\\/:_;.,\t\s-]/, masks: {ISO8601Long: "Y-m-d H:i:s", ISO8601Short: "Y-m-d", ShortDate: "j.n.Y", LongDate: "l j. F Y", FullDateTime: "l j. F Y kl. G.i.s", MonthDay: "j. F", ShortTime: "H:i", LongTime: "H:i:s", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F Y"}, reformatAfterEdit: false, userLocalTime: false}, baseLinkUrl: "", showAction: "show", addParam: "", checkbox: {disabled: true}}
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-pl.js b/ishtar_common/static/js/i18n/grid.locale-pl.js deleted file mode 100644 index cc6d120b9..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-pl.js +++ /dev/null @@ -1,172 +0,0 @@ -/** - * jqGrid Polish Translation - * Łukasz Schab lukasz@freetree.pl - * http://FreeTree.pl - * - * Updated names, abbreviations, currency and date/time formats for Polish norms (also corresponding with CLDR v21.0.1 --> http://cldr.unicode.org/index) - * Tomasz Pęczek tpeczek@gmail.com - * http://tpeczek.blogspot.com; http://tpeczek.codeplex.com - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["pl"] = { - defaults : { - recordtext: "Pokaż {0} - {1} z {2}", - emptyrecords: "Brak rekordów do pokazania", - loadtext: "Ładowanie...", - pgtext : "Strona {0} z {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Wyszukiwanie...", - Find: "Szukaj", - Reset: "Czyść", - odata: [{ oper:'eq', text:"dokładnie"},{ oper:'ne', text:"różne od"},{ oper:'lt', text:"mniejsze od"},{ oper:'le', text:"mniejsze lub równe"},{ oper:'gt', text:"większe od"},{ oper:'ge', text:"większe lub równe"},{ oper:'bw', text:"zaczyna się od"},{ oper:'bn', text:"nie zaczyna się od"},{ oper:'in', text:"jest w"},{ oper:'ni', text:"nie jest w"},{ oper:'ew', text:"kończy się na"},{ oper:'en', text:"nie kończy się na"},{ oper:'cn', text:"zawiera"},{ oper:'nc', text:"nie zawiera"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "oraz" }, { op: "OR", text: "lub" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Dodaj rekord", - editCaption: "Edytuj rekord", - bSubmit: "Zapisz", - bCancel: "Anuluj", - bClose: "Zamknij", - saveData: "Dane zostały zmienione! Zapisać zmiany?", - bYes: "Tak", - bNo: "Nie", - bExit: "Anuluj", - msg: { - required: "Pole jest wymagane", - number: "Proszę wpisać poprawną liczbę", - minValue: "wartość musi być większa lub równa od", - maxValue: "wartość musi być mniejsza lub równa od", - email: "nie jest poprawnym adresem e-mail", - integer: "Proszę wpisać poprawną liczbę", - date: "Proszę podaj poprawną datę", - url: "jest niewłaściwym adresem URL. Pamiętaj o prefiksie ('http://' lub 'https://')", - nodefined: " niezdefiniowane!", - novalue: " wymagana jest wartość zwracana!", - customarray: "Funkcja niestandardowa powinna zwracać tablicę!", - customfcheck: "Funkcja niestandardowa powinna być obecna w przypadku niestandardowego sprawdzania!" - } - }, - view : { - caption: "Pokaż rekord", - bClose: "Zamknij" - }, - del : { - caption: "Usuń", - msg: "Czy usunąć wybrany rekord(y)?", - bSubmit: "Usuń", - bCancel: "Anuluj" - }, - nav : { - edittext: "", - edittitle: "Edytuj wybrany wiersz", - addtext: "", - addtitle: "Dodaj nowy wiersz", - deltext: "", - deltitle: "Usuń wybrany wiersz", - searchtext: "", - searchtitle: "Wyszukaj rekord", - refreshtext: "", - refreshtitle: "Przeładuj", - alertcap: "Uwaga", - alerttext: "Proszę wybrać wiersz", - viewtext: "", - viewtitle: "Pokaż wybrany wiersz", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Pokaż/Ukryj kolumny", - bSubmit: "Zatwierdź", - bCancel: "Anuluj" - }, - errors : { - errcap: "Błąd", - nourl: "Brak adresu url", - norecords: "Brak danych", - model : "Długość colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:" zł", defaultValue: '0,00'}, - date : { - dayNames: [ - "niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob.", - "niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota" - ], - monthNames: [ - "sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru", - "styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień" - ], - AmPm : ["","","",""], - S: function (j) {return '';}, - srcformat: 'Y-m-d', - newformat: 'd.m.Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long: "Y-m-d H:i:s", - ISO8601Short: "Y-m-d", - ShortDate: "d.m.y", - LongDate: "l, j F Y", - FullDateTime: "l, j F Y H:i:s", - MonthDay: "j F", - ShortTime: "H:i", - LongTime: "H:i:s", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -}));
\ No newline at end of file diff --git a/ishtar_common/static/js/i18n/grid.locale-pt-br.js b/ishtar_common/static/js/i18n/grid.locale-pt-br.js deleted file mode 100644 index ee1bcfbf8..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-pt-br.js +++ /dev/null @@ -1,176 +0,0 @@ -/** - * jqGrid Brazilian-Portuguese Translation - * Sergio Righi sergio.righi@gmail.com - * http://curve.com.br - * - * Updated by Jonnas Fonini - * http://fonini.net - * - * - * Updated by Fabio Ferreira da Silva fabio_ferreiradasilva@yahoo.com.br - * - * Updated by Anderson Pimentel anderson.pimentel[at]gmail.com - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["pt-br"] = { - defaults : { - recordtext: "Ver {0} - {1} de {2}", - emptyrecords: "Nenhum registro para visualizar", - loadtext: "Carregando...", - pgtext : "Página {0} de {1}", - savetext: "Salvando...", - pgfirst : "Primeira Página", - pglast : "Última Página", - pgnext : "Próxima Página", - pgprev : "Página Anterior", - pgrecs : "Registros por Página", - showhide: "Mostrar/Ocultar Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Procurar...", - Find: "Procurar", - Reset: "Limpar", - odata: [{ oper:'eq', text:"igual"},{ oper:'ne', text:"diferente"},{ oper:'lt', text:"menor"},{ oper:'le', text:"menor ou igual"},{ oper:'gt', text:"maior"},{ oper:'ge', text:"maior ou igual"},{ oper:'bw', text:"inicia com"},{ oper:'bn', text:"não inicia com"},{ oper:'in', text:"está em"},{ oper:'ni', text:"não está em"},{ oper:'ew', text:"termina com"},{ oper:'en', text:"não termina com"},{ oper:'cn', text:"contém"},{ oper:'nc', text:"não contém"},{ oper:'nu', text:"nulo"},{ oper:'nn', text:"não nulo"}], - groupOps: [ { op: "AND", text: "todos" },{ op: "OR", text: "qualquer um" } ], - operandTitle : "Clique para escolher a operação de pesquisa.", - resetTitle : "Limpar valor de pesquisa" - }, - edit : { - addCaption: "Incluir", - editCaption: "Alterar", - bSubmit: "Enviar", - bCancel: "Cancelar", - bClose: "Fechar", - saveData: "Os dados foram alterados! Salvar alterações?", - bYes : "Sim", - bNo : "Não", - bExit : "Cancelar", - msg: { - required:"Campo obrigatório", - number:"Por favor, informe um número válido", - minValue:"valor deve ser igual ou maior que ", - maxValue:"valor deve ser menor ou igual a", - email: "este e-mail não é válido", - integer: "Por favor, informe um valor inteiro", - date: "Por favor, informe uma data válida", - url: "não é uma URL válida. Prefixo obrigatório ('http://' or 'https://')", - nodefined : " não está definido!", - novalue : " um valor de retorno é obrigatório!", - customarray : "Função customizada deve retornar um array!", - customfcheck : "Função customizada deve estar presente em caso de validação customizada!" - } - }, - view : { - caption: "Ver Registro", - bClose: "Fechar" - }, - del : { - caption: "Apagar", - msg: "Apagar registro(s) selecionado(s)?", - bSubmit: "Apagar", - bCancel: "Cancelar" - }, - nav : { - edittext: " ", - edittitle: "Alterar registro selecionado", - addtext:" ", - addtitle: "Incluir novo registro", - deltext: " ", - deltitle: "Apagar registro selecionado", - searchtext: " ", - searchtitle: "Procurar registros", - refreshtext: "", - refreshtitle: "Recarregar tabela", - alertcap: "Aviso", - alerttext: "Por favor, selecione um registro", - viewtext: "", - viewtitle: "Ver linha selecionada", - savetext: "", - savetitle: "Salvar linha", - canceltext: "", - canceltitle : "Cancelar edição da linha", - selectcaption : "Actions..." - }, - col : { - caption: "Mostrar/Esconder Colunas", - bSubmit: "Enviar", - bCancel: "Cancelar" - }, - errors : { - errcap : "Erro", - nourl : "Nenhuma URL definida", - norecords: "Sem registros para exibir", - model : "Comprimento de colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "R$ ", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", - "Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado" - ], - monthNames: [ - "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez", - "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['º', 'º', 'º', 'º'][Math.min((j - 1) % 10, 3)] : 'º'}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-pt.js b/ishtar_common/static/js/i18n/grid.locale-pt.js deleted file mode 100644 index d9055e4da..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-pt.js +++ /dev/null @@ -1,165 +0,0 @@ -/** - * jqGrid Portuguese Translation -* Tradu��o da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["pt"] = { - defaults : { - recordtext: "View {0} - {1} of {2}", - emptyrecords: "No records to view", - loadtext: "A carregar...", - pgtext : "Página {0} de {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Busca...", - Find: "Procurar", - Reset: "Limpar", - odata: [{ oper:'eq', text:'equal'},{ oper:'ne', text:'not equal'},{ oper:'lt', text:'less'},{ oper:'le', text:'less or equal'},{ oper:'gt', text:'greater'},{ oper:'ge', text:'greater or equal'},{ oper:'bw', text:'begins with'},{ oper:'bn', text:'does not begin with'},{ oper:'in', text:'is in'},{ oper:'ni', text:'is not in'},{ oper:'ew', text:'ends with'},{ oper:'en', text:'does not end with'},{ oper:'cn', text:'contains'},{ oper:'nc', text:'does not contain'},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Adicionar Registo", - editCaption: "Modificar Registo", - bSubmit: "Submeter", - bCancel: "Cancelar", - bClose: "Fechar", - saveData: "Data has been changed! Save changes?", - bYes : "Yes", - bNo : "No", - bExit : "Cancel", - msg: { - required:"Campo obrigat�rio", - number:"Por favor, introduza um numero", - minValue:"O valor deve ser maior ou igual que", - maxValue:"O valor deve ser menor ou igual a", - email: "N�o � um endere�o de email v�lido", - integer: "Por favor, introduza um numero inteiro", - url: "is not a valid URL. Prefix required ('http://' or 'https://')", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - } - }, - view : { - caption: "View Record", - bClose: "Close" - }, - del : { - caption: "Eliminar", - msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?", - bSubmit: "Eliminar", - bCancel: "Cancelar" - }, - nav : { - edittext: " ", - edittitle: "Modificar registo seleccionado", - addtext:" ", - addtitle: "Adicionar novo registo", - deltext: " ", - deltitle: "Eliminar registo seleccionado", - searchtext: " ", - searchtitle: "Procurar", - refreshtext: "", - refreshtitle: "Actualizar", - alertcap: "Aviso", - alerttext: "Por favor, seleccione um registo", - viewtext: "", - viewtitle: "View selected row", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Mostrar/Ocultar Colunas", - bSubmit: "Enviar", - bCancel: "Cancelar" - }, - errors : { - errcap : "Erro", - nourl : "N�o especificou um url", - norecords: "N�o existem dados para processar", - model : "Tamanho do colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab", - "Domingo", "Segunda-Feira", "Ter�a-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "S�bado" - ], - monthNames: [ - "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez", - "Janeiro", "Fevereiro", "Mar�o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['�', '�', '�', '�'][Math.min((j - 1) % 10, 3)] : '�'}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-ro.js b/ishtar_common/static/js/i18n/grid.locale-ro.js deleted file mode 100644 index fa0449d8a..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-ro.js +++ /dev/null @@ -1,179 +0,0 @@ -/** - * jqGrid Romanian Translation - * Alexandru Emil Lupu contact@alecslupu.ro - * http://www.alecslupu.ro/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["ro"] = { - defaults : { - recordtext: "Vizualizare {0} - {1} din {2}", - emptyrecords: "Nu există înregistrări de vizualizat", - loadtext: "Încărcare...", - pgtext : "Pagina {0} din {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Caută...", - Find: "Caută", - Reset: "Resetare", - odata: [{ oper:'eq', text:"egal"},{ oper:'ne', text:"diferit"},{ oper:'lt', text:"mai mic"},{ oper:'le', text:"mai mic sau egal"},{ oper:'gt', text:"mai mare"},{ oper:'ge', text:"mai mare sau egal"},{ oper:'bw', text:"începe cu"},{ oper:'bn', text:"nu începe cu"},{ oper:'in', text:"se găsește în"},{ oper:'ni', text:"nu se găsește în"},{ oper:'ew', text:"se termină cu"},{ oper:'en', text:"nu se termină cu"},{ oper:'cn', text:"conține"},{ oper:'nc', text:""},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "toate" }, { op: "OR", text: "oricare" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Adăugare înregistrare", - editCaption: "Modificare înregistrare", - bSubmit: "Salvează", - bCancel: "Anulare", - bClose: "Închide", - saveData: "Informațiile au fost modificate! Salvați modificările?", - bYes : "Da", - bNo : "Nu", - bExit : "Anulare", - msg: { - required:"Câmpul este obligatoriu", - number:"Vă rugăm introduceți un număr valid", - minValue:"valoarea trebuie sa fie mai mare sau egală cu", - maxValue:"valoarea trebuie sa fie mai mică sau egală cu", - email: "nu este o adresă de e-mail validă", - integer: "Vă rugăm introduceți un număr valid", - date: "Vă rugăm să introduceți o dată validă", - url: "Nu este un URL valid. Prefixul este necesar('http://' or 'https://')", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - } - }, - view : { - caption: "Vizualizare înregistrare", - bClose: "Închidere" - }, - del : { - caption: "Ștegere", - msg: "Ștergeți înregistrarea (înregistrările) selectate?", - bSubmit: "Șterge", - bCancel: "Anulare" - }, - nav : { - edittext: "", - edittitle: "Modifică rândul selectat", - addtext:"", - addtitle: "Adaugă rând nou", - deltext: "", - deltitle: "Șterge rândul selectat", - searchtext: "", - searchtitle: "Căutare înregistrări", - refreshtext: "", - refreshtitle: "Reîncarcare Grid", - alertcap: "Avertisment", - alerttext: "Vă rugăm să selectați un rând", - viewtext: "", - viewtitle: "Vizualizează rândul selectat", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Arată/Ascunde coloanele", - bSubmit: "Salvează", - bCancel: "Anulare" - }, - errors : { - errcap : "Eroare", - nourl : "Niciun url nu este setat", - norecords: "Nu sunt înregistrări de procesat", - model : "Lungimea colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", - "Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă" - ], - monthNames: [ - "Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec", - "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie" - ], - AmPm : ["am","pm","AM","PM"], - /* - Here is a problem in romanian: - M / F - 1st = primul / prima - 2nd = Al doilea / A doua - 3rd = Al treilea / A treia - 4th = Al patrulea/ A patra - 5th = Al cincilea / A cincea - 6th = Al șaselea / A șasea - 7th = Al șaptelea / A șaptea - .... - */ - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-ru.js b/ishtar_common/static/js/i18n/grid.locale-ru.js deleted file mode 100644 index f7620d1e1..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-ru.js +++ /dev/null @@ -1,169 +0,0 @@ -/** - * jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru) - * Sergey Dyagovchenko - * http://d.sumy.ua - * Tony Tomov - * http://www.guriddo.net - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["ru"] = { - defaults : { - recordtext: "Просмотр {0} - {1} из {2}", - emptyrecords: "Нет записей для просмотра", - loadtext: "Загрузка...", - pgtext : "Стр. {0} из {1}", - savetext: "Сохранения...", - pgfirst : "Первая", - pglast : "Последняя", - pgnext : "Следующая", - pgprev : "Предыдущая", - pgrecs : "Записей на стр.", - showhide: "Показать/Скрыть таблицу", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Поиск...", - Find: "Найти", - Reset: "Сброс", - odata: [{ oper:'eq', text:"равно"},{ oper:'ne', text:"не равно"},{ oper:'lt', text:"меньше"},{ oper:'le', text:"меньше или равно"},{ oper:'gt', text:"больше"},{ oper:'ge', text:"больше или равно"},{ oper:'bw', text:"начинается с"},{ oper:'bn', text:"не начинается с"},{ oper:'in', text:"находится в"},{ oper:'ni', text:"не находится в"},{ oper:'ew', text:"заканчивается на"},{ oper:'en', text:"не заканчивается на"},{ oper:'cn', text:"содержит"},{ oper:'nc', text:"не содержит"},{ oper:'nu', text:"равно NULL"},{ oper:'nn', text:"не равно NULL"}], - groupOps: [ { op: "AND", text: "все" }, { op: "OR", text: "любой" }], - operandTitle : "Выбрать поисковую операцию.", - resetTitle : "Сбросить поиск" - }, - edit : { - addCaption: "Добавить запись", - editCaption: "Редактировать запись", - bSubmit: "Сохранить", - bCancel: "Отмена", - bClose: "Закрыть", - saveData: "Данные были измененны! Сохранить изменения?", - bYes : "Да", - bNo : "Нет", - bExit : "Отмена", - msg: { - required:"Поле является обязательным", - number:"Пожалуйста, введите правильное число", - minValue:"значение должно быть больше либо равно", - maxValue:"значение должно быть меньше либо равно", - email: "некорректное значение e-mail", - integer: "Пожалуйста, введите целое число", - date: "Пожалуйста, введите правильную дату", - url: "неверная ссылка. Необходимо ввести префикс ('http://' или 'https://')", - nodefined : " не определено!", - novalue : " возвращаемое значение обязательно!", - customarray : "Пользовательская функция должна возвращать массив!", - customfcheck : "Пользовательская функция должна присутствовать в случаи пользовательской проверки!" - } - }, - view : { - caption: "Просмотр записи", - bClose: "Закрыть" - }, - del : { - caption: "Удалить", - msg: "Удалить выбранную запись(и)?", - bSubmit: "Удалить", - bCancel: "Отмена" - }, - nav : { - edittext: " ", - edittitle: "Редактировать выбранную запись", - addtext:" ", - addtitle: "Добавить новую запись", - deltext: " ", - deltitle: "Удалить выбранную запись", - searchtext: " ", - searchtitle: "Найти записи", - refreshtext: "", - refreshtitle: "Обновить таблицу", - alertcap: "Внимание", - alerttext: "Пожалуйста, выберите запись", - viewtext: "", - viewtitle: "Просмотреть выбранную запись", - savetext: "", - savetitle: "Сохранить запись", - canceltext: "", - canceltitle : "Отмена сохранения", - selectcaption : "Actions..." - }, - col : { - caption: "Показать/скрыть столбцы", - bSubmit: "Сохранить", - bCancel: "Отмена" - }, - errors : { - errcap : "Ошибка", - nourl : "URL не установлен", - norecords: "Нет записей для обработки", - model : "Число полей не соответствует числу столбцов таблицы!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", - "Воскресение", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота" - ], - monthNames: [ - "Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек", - "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';}, - srcformat: 'Y-m-d', - newformat: 'd.m.Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n.j.Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y G:i:s", - MonthDay: "F d", - ShortTime: "G:i", - LongTime: "G:i:s", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-sk.js b/ishtar_common/static/js/i18n/grid.locale-sk.js deleted file mode 100644 index fae53d1bb..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-sk.js +++ /dev/null @@ -1,167 +0,0 @@ -/** - * jqGrid Slovak Translation - * Milan Cibulka - * http://trirand.com/blog/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["sk"] = { - defaults : { - recordtext: "Zobrazených {0} - {1} z {2} záznamov", - emptyrecords: "Neboli nájdené žiadne záznamy", - loadtext: "Načítám...", - pgtext : "Strana {0} z {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Vyhľadávam...", - Find: "Hľadať", - Reset: "Reset", - odata: [{ oper:'eq', text:"rovná sa"},{ oper:'ne', text:"nerovná sa"},{ oper:'lt', text:"menšie"},{ oper:'le', text:"menšie alebo rovnajúce sa"},{ oper:'gt', text:"väčšie"},{ oper:'ge', text:"väčšie alebo rovnajúce sa"},{ oper:'bw', text:"začína s"},{ oper:'bn', text:"nezačína s"},{ oper:'in', text:"je v"},{ oper:'ni', text:"nie je v"},{ oper:'ew', text:"končí s"},{ oper:'en', text:"nekončí s"},{ oper:'cn', text:"obahuje"},{ oper:'nc', text:"neobsahuje"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "všetkých" }, { op: "OR", text: "niektorého z" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Pridať záznam", - editCaption: "Editácia záznamov", - bSubmit: "Uložiť", - bCancel: "Storno", - bClose: "Zavrieť", - saveData: "Údaje boli zmenené! Uložiť zmeny?", - bYes : "Ano", - bNo : "Nie", - bExit : "Zrušiť", - msg: { - required:"Pole je požadované", - number:"Prosím, vložte valídne číslo", - minValue:"hodnota musí býť väčšia ako alebo rovná ", - maxValue:"hodnota musí býť menšia ako alebo rovná ", - email: "nie je valídny e-mail", - integer: "Prosím, vložte celé číslo", - date: "Prosím, vložte valídny dátum", - url: "nie je platnou URL. Požadovaný prefix ('http://' alebo 'https://')", - nodefined : " nie je definovaný!", - novalue : " je vyžadovaná návratová hodnota!", - customarray : "Custom function mala vrátiť pole!", - customfcheck : "Custom function by mala byť prítomná v prípade custom checking!" - } - }, - view : { - caption: "Zobraziť záznam", - bClose: "Zavrieť" - }, - del : { - caption: "Zmazať", - msg: "Zmazať vybraný(é) záznam(y)?", - bSubmit: "Zmazať", - bCancel: "Storno" - }, - nav : { - edittext: " ", - edittitle: "Editovať vybraný riadok", - addtext:" ", - addtitle: "Pridať nový riadek", - deltext: " ", - deltitle: "Zmazať vybraný záznam ", - searchtext: " ", - searchtitle: "Nájsť záznamy", - refreshtext: "", - refreshtitle: "Obnoviť tabuľku", - alertcap: "Varovanie", - alerttext: "Prosím, vyberte riadok", - viewtext: "", - viewtitle: "Zobraziť vybraný riadok", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Zobrazit/Skrýť stĺpce", - bSubmit: "Uložiť", - bCancel: "Storno" - }, - errors : { - errcap : "Chyba", - nourl : "Nie je nastavená url", - norecords: "Žiadne záznamy k spracovaniu", - model : "Dĺžka colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "Ne", "Po", "Ut", "St", "Št", "Pi", "So", - "Nedela", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatek", "Sobota" - ], - monthNames: [ - "Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec", - "Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December" - ], - AmPm : ["do","od","DO","OD"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-sr-latin.js b/ishtar_common/static/js/i18n/grid.locale-sr-latin.js deleted file mode 100644 index 734ef0064..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-sr-latin.js +++ /dev/null @@ -1,168 +0,0 @@ -/**
- * jqGrid Serbian latin Translation
- * Bild Studio info@bild-studio.net
- * http://www.bild-studio.com
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["sr-latin"] = {
- defaults : {
- recordtext: "Pregled {0} - {1} od {2}",
- emptyrecords: "Ne postoji nijedan zapis",
- loadtext: "Učitavanje…",
- pgtext : "Strana {0} od {1}",
- savetext: "Saving...",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "Traženje...",
- Find: "Traži",
- Reset: "Resetuj",
- odata: [{ oper:'eq', text:"jednako"},{ oper:'ne', text:"nije jednako"},{ oper:'lt', text:"manje"},{ oper:'le', text:"manje ili jednako"},{ oper:'gt', text:"veće"},{ oper:'ge', text:"veće ili jednako"},{ oper:'bw', text:"počinje sa"},{ oper:'bn', text:"ne počinje sa"},{ oper:'in', text:"je u"},{ oper:'ni', text:"nije u"},{ oper:'ew', text:"završava sa"},{ oper:'en', text:"ne završava sa"},{ oper:'cn', text:"sadrži"},{ oper:'nc', text:"ne sadrži"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "AND", text: "sva" }, { op: "OR", text: "bilo koje" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "Dodaj zapis",
- editCaption: "Izmeni zapis",
- bSubmit: "Pošalji",
- bCancel: "Odustani",
- bClose: "Zatvori",
- saveData: "Podatak je izmenjen! Sačuvaj izmene?",
- bYes : "Da",
- bNo : "Ne",
- bExit : "Odustani",
- msg: {
- required: "Polje je obavezno",
- number: "Unesite ispravan broj",
- minValue: "vrednost mora biti veća od ili jednaka sa ",
- maxValue: "vrednost mora biti manja ili jednaka sa",
- email: "nije ispravna email adresa, nije valjda da ne umeš ukucati mail!?",
- integer: "Unesi celobrojnu vrednost ",
- date: "Unesite ispravan datum",
- url: "nije ispravan URL. Potreban je prefiks ('http://' or 'https://')",
- nodefined : " nije definisan!",
- novalue : " zahtevana je povratna vrednost!",
- customarray : "Prilagođena funkcija treba da vrati niz!",
- customfcheck : "Prilagođena funkcija treba da bude prisutana u slučaju prilagođene provere!"
-
- }
- },
- view : {
- caption: "Pogledaj zapis",
- bClose: "Zatvori"
- },
- del : {
- caption: "Izbrisi",
- msg: "Izbrisi izabran(e) zapise(e)?",
- bSubmit: "Izbriši",
- bCancel: "Odbaci"
- },
- nav : {
- edittext: "",
- edittitle: "Izmeni izabrani red",
- addtext:"",
- addtitle: "Dodaj novi red",
- deltext: "",
- deltitle: "Izbriši izabran red",
- searchtext: "",
- searchtitle: "Nađi zapise",
- refreshtext: "",
- refreshtitle: "Ponovo učitaj podatke",
- alertcap: "Upozorenje",
- alerttext: "Izaberite red",
- viewtext: "",
- viewtitle: "Pogledaj izabrani red",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "Izaberi kolone",
- bSubmit: "OK",
- bCancel: "Odbaci"
- },
- errors : {
- errcap : "Greška",
- nourl : "Nije postavljen URL",
- norecords: "Nema zapisa za obradu",
- model : "Dužina modela colNames <> colModel!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
- date : {
- dayNames: [
- "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub",
- "Nedelja", "Ponedeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"
- ],
- monthNames: [
- "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
- "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
- ],
- AmPm : ["am","pm","AM","PM"],
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-sr.js b/ishtar_common/static/js/i18n/grid.locale-sr.js deleted file mode 100644 index 13163c15d..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-sr.js +++ /dev/null @@ -1,168 +0,0 @@ -/**
- * jqGrid Serbian Translation
- * Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.com
- * http://trirand.com/blog/
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["sr"] = {
- defaults : {
- recordtext: "Преглед {0} - {1} од {2}",
- emptyrecords: "Не постоји ниједан запис",
- loadtext: "Учитавање...",
- pgtext : "Страна {0} од {1}",
- savetext: "Saving...",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "Тражење...",
- Find: "Тражи",
- Reset: "Ресетуј",
- odata: [{ oper:'eq', text:"једнако"},{ oper:'ne', text:"није једнако"},{ oper:'lt', text:"мање"},{ oper:'le', text:"мање или једнако"},{ oper:'gt', text:"веће"},{ oper:'ge', text:"веће или једнако"},{ oper:'bw', text:"почиње са"},{ oper:'bn', text:"не почиње са"},{ oper:'in', text:"је у"},{ oper:'ni', text:"није у"},{ oper:'ew', text:"завршава са"},{ oper:'en', text:"не завршава са"},{ oper:'cn', text:"садржи"},{ oper:'nc', text:"не садржи"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "И", text: "сви" }, { op: "ИЛИ", text: "сваки" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "Додај запис",
- editCaption: "Измени запис",
- bSubmit: "Пошаљи",
- bCancel: "Одустани",
- bClose: "Затвори",
- saveData: "Податак је измењен! Сачувај измене?",
- bYes : "Да",
- bNo : "Не",
- bExit : "Одустани",
- msg: {
- required:"Поље је обавезно",
- number:"Молим, унесите исправан број",
- minValue:"вредност мора бити већа од или једнака са ",
- maxValue:"вредност мора бити мања од или једнака са",
- email: "није исправна имејл адреса",
- integer: "Молим, унесите исправну целобројну вредност ",
- date: "Молим, унесите исправан датум",
- url: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')",
- nodefined : " није дефинисан!",
- novalue : " захтевана је повратна вредност!",
- customarray : "Custom function should return array!",
- customfcheck : "Custom function should be present in case of custom checking!"
-
- }
- },
- view : {
- caption: "Погледај запис",
- bClose: "Затвори"
- },
- del : {
- caption: "Избриши",
- msg: "Избриши изабран(е) запис(е)?",
- bSubmit: "Ибриши",
- bCancel: "Одбаци"
- },
- nav : {
- edittext: "",
- edittitle: "Измени изабрани ред",
- addtext:"",
- addtitle: "Додај нови ред",
- deltext: "",
- deltitle: "Избриши изабран ред",
- searchtext: "",
- searchtitle: "Нађи записе",
- refreshtext: "",
- refreshtitle: "Поново учитај податке",
- alertcap: "Упозорење",
- alerttext: "Молим, изаберите ред",
- viewtext: "",
- viewtitle: "Погледај изабрани ред",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "Изабери колоне",
- bSubmit: "ОК",
- bCancel: "Одбаци"
- },
- errors : {
- errcap : "Грешка",
- nourl : "Није постављен URL",
- norecords: "Нема записа за обраду",
- model : "Дужина модела colNames <> colModel!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
- date : {
- dayNames: [
- "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб",
- "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"
- ],
- monthNames: [
- "Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец",
- "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"
- ],
- AmPm : ["am","pm","AM","PM"],
- S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'},
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-sv.js b/ishtar_common/static/js/i18n/grid.locale-sv.js deleted file mode 100644 index 51974b8dc..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-sv.js +++ /dev/null @@ -1,167 +0,0 @@ -/** - * jqGrid Swedish Translation - * Harald Normann harald.normann@wts.se, harald.normann@gmail.com - * http://www.worldteamsoftware.com - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["sv"] = { - defaults : { - recordtext: "Visar {0} - {1} av {2}", - emptyrecords: "Det finns inga poster att visa", - loadtext: "Laddar...", - pgtext : "Sida {0} av {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Sök Poster - Ange sökvillkor", - Find: "Sök", - Reset: "Nollställ Villkor", - odata: [{ oper:'eq', text:"lika"},{ oper:'ne', text:"ej lika"},{ oper:'lt', text:"mindre"},{ oper:'le', text:"mindre eller lika"},{ oper:'gt', text:"större"},{ oper:'ge', text:"större eller lika"},{ oper:'bw', text:"börjar med"},{ oper:'bn', text:"börjar inte med"},{ oper:'in', text:"tillhör"},{ oper:'ni', text:"tillhör inte"},{ oper:'ew', text:"slutar med"},{ oper:'en', text:"slutar inte med"},{ oper:'cn', text:"innehåller"},{ oper:'nc', text:"innehåller inte"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "alla" }, { op: "OR", text: "eller" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Ny Post", - editCaption: "Redigera Post", - bSubmit: "Spara", - bCancel: "Avbryt", - bClose: "Stäng", - saveData: "Data har ändrats! Spara förändringar?", - bYes : "Ja", - bNo : "Nej", - bExit : "Avbryt", - msg: { - required:"Fältet är obligatoriskt", - number:"Välj korrekt nummer", - minValue:"värdet måste vara större än eller lika med", - maxValue:"värdet måste vara mindre än eller lika med", - email: "är inte korrekt e-post adress", - integer: "Var god ange korrekt heltal", - date: "Var god ange korrekt datum", - url: "är inte en korrekt URL. Prefix måste anges ('http://' or 'https://')", - nodefined : " är inte definierad!", - novalue : " returvärde måste anges!", - customarray : "Custom funktion måste returnera en vektor!", - customfcheck : "Custom funktion måste finnas om Custom kontroll sker!" - } - }, - view : { - caption: "Visa Post", - bClose: "Stäng" - }, - del : { - caption: "Radera", - msg: "Radera markerad(e) post(er)?", - bSubmit: "Radera", - bCancel: "Avbryt" - }, - nav : { - edittext: "", - edittitle: "Redigera markerad rad", - addtext:"", - addtitle: "Skapa ny post", - deltext: "", - deltitle: "Radera markerad rad", - searchtext: "", - searchtitle: "Sök poster", - refreshtext: "", - refreshtitle: "Uppdatera data", - alertcap: "Varning", - alerttext: "Ingen rad är markerad", - viewtext: "", - viewtitle: "Visa markerad rad", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Välj Kolumner", - bSubmit: "OK", - bCancel: "Avbryt" - }, - errors : { - errcap : "Fel", - nourl : "URL saknas", - norecords: "Det finns inga poster att bearbeta", - model : "Antal colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"Kr", defaultValue: '0,00'}, - date : { - dayNames: [ - "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", - "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag" - ], - monthNames: [ - "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec", - "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December" - ], - AmPm : ["fm","em","FM","EM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'Y-m-d', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-th.js b/ishtar_common/static/js/i18n/grid.locale-th.js deleted file mode 100644 index 5429312be..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-th.js +++ /dev/null @@ -1,168 +0,0 @@ -/**
- * jqGrid Thai Translation
- * Kittituch Manakul m.kittituch@Gmail.com
- * http://trirand.com/blog/
- * Dual licensed under the MIT and GPL licenses:
- * http://www.opensource.org/licenses/mit-license.php
- * http://www.gnu.org/licenses/gpl.html
-**/
-/*global jQuery, define */
-(function( factory ) {
- "use strict";
- if ( typeof define === "function" && define.amd ) {
- // AMD. Register as an anonymous module.
- define([
- "jquery",
- "../grid.base"
- ], factory );
- } else {
- // Browser globals
- factory( jQuery );
- }
-}(function( $ ) {
-
-$.jgrid = $.jgrid || {};
-if(!$.jgrid.hasOwnProperty("regional")) {
- $.jgrid.regional = [];
-}
-$.jgrid.regional["th"] = {
- defaults : {
- recordtext: "แสดง {0} - {1} จาก {2}",
- emptyrecords: "ไม่พบข้อมูล",
- loadtext: "กำลังร้องขอข้อมูล...",
- pgtext : "หน้า {0} จาก {1}",
- savetext: "Saving...",
- pgfirst : "First Page",
- pglast : "Last Page",
- pgnext : "Next Page",
- pgprev : "Previous Page",
- pgrecs : "Records per Page",
- showhide: "Toggle Expand Collapse Grid",
- // mobile
- pagerCaption : "Grid::Page Settings",
- pageText : "Page:",
- recordPage : "Records per Page",
- nomorerecs : "No more records...",
- scrollPullup: "Pull up to load more...",
- scrollPulldown : "Pull down to refresh...",
- scrollRefresh : "Release to refresh..."
- },
- search : {
- caption: "กำลังค้นหา...",
- Find: "ค้นหา",
- Reset: "คืนค่ากลับ",
- odata: [{ oper:'eq', text:"เท่ากับ"},{ oper:'ne', text:"ไม่เท่ากับ"},{ oper:'lt', text:"น้อยกว่า"},{ oper:'le', text:"ไม่มากกว่า"},{ oper:'gt', text:"มากกกว่า"},{ oper:'ge', text:"ไม่น้อยกว่า"},{ oper:'bw', text:"ขึ้นต้นด้วย"},{ oper:'bn', text:"ไม่ขึ้นต้นด้วย"},{ oper:'in', text:"มีคำใดคำหนึ่งใน"},{ oper:'ni', text:"ไม่มีคำใดคำหนึ่งใน"},{ oper:'ew', text:"ลงท้ายด้วย"},{ oper:'en', text:"ไม่ลงท้ายด้วย"},{ oper:'cn', text:"มีคำว่า"},{ oper:'nc', text:"ไม่มีคำว่า"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}],
- groupOps: [ { op: "และ", text: "ทั้งหมด" }, { op: "หรือ", text: "ใดๆ" } ],
- operandTitle : "Click to select search operation.",
- resetTitle : "Reset Search Value"
- },
- edit : {
- addCaption: "เพิ่มข้อมูล",
- editCaption: "แก้ไขข้อมูล",
- bSubmit: "บันทึก",
- bCancel: "ยกเลิก",
- bClose: "ปิด",
- saveData: "คุณต้องการบันทึการแก้ไข ใช่หรือไม่?",
- bYes : "บันทึก",
- bNo : "ละทิ้งการแก้ไข",
- bExit : "ยกเลิก",
- msg: {
- required:"ข้อมูลนี้จำเป็น",
- number:"กรุณากรอกหมายเลขให้ถูกต้อง",
- minValue:"ค่าของข้อมูลนี้ต้องไม่น้อยกว่า",
- maxValue:"ค่าของข้อมูลนี้ต้องไม่มากกว่า",
- email: "อีเมลล์นี้ไม่ถูกต้อง",
- integer: "กรุณากรอกเป็นจำนวนเต็ม",
- date: "กรุณากรอกวันที่ให้ถูกต้อง",
- url: "URL ไม่ถูกต้อง URL จำเป็นต้องขึ้นต้นด้วย 'http://' หรือ 'https://'",
- nodefined : "ไม่ได้ถูกกำหนดค่า!",
- novalue : "ต้องการการคืนค่า!",
- customarray : "ฟังก์ชันที่สร้างขึ้นต้องส่งค่ากลับเป็นแบบแอเรย์",
- customfcheck : "ระบบต้องการฟังก์ชันที่สร้างขึ้นสำหรับการตรวจสอบ!"
-
- }
- },
- view : {
- caption: "เรียกดูข้อมูล",
- bClose: "ปิด"
- },
- del : {
- caption: "ลบข้อมูล",
- msg: "คุณต้องการลบข้อมูลที่ถูกเลือก ใช่หรือไม่?",
- bSubmit: "ต้องการลบ",
- bCancel: "ยกเลิก"
- },
- nav : {
- edittext: "",
- edittitle: "แก้ไขข้อมูล",
- addtext:"",
- addtitle: "เพิ่มข้อมูล",
- deltext: "",
- deltitle: "ลบข้อมูล",
- searchtext: "",
- searchtitle: "ค้นหาข้อมูล",
- refreshtext: "",
- refreshtitle: "รีเฟรช",
- alertcap: "คำเตือน",
- alerttext: "กรุณาเลือกข้อมูล",
- viewtext: "",
- viewtitle: "ดูรายละเอียดข้อมูล",
- savetext: "",
- savetitle: "Save row",
- canceltext: "",
- canceltitle : "Cancel row editing",
- selectcaption : "Actions..."
- },
- col : {
- caption: "กรุณาเลือกคอลัมน์",
- bSubmit: "ตกลง",
- bCancel: "ยกเลิก"
- },
- errors : {
- errcap : "เกิดความผิดพลาด",
- nourl : "ไม่ได้กำหนด URL",
- norecords: "ไม่มีข้อมูลให้ดำเนินการ",
- model : "จำนวนคอลัมน์ไม่เท่ากับจำนวนคอลัมน์โมเดล!"
- },
- formatter : {
- integer : {thousandsSeparator: " ", defaultValue: '0'},
- number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'},
- currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'},
- date : {
- dayNames: [
- "อา", "จ", "อ", "พ", "พฤ", "ศ", "ส",
- "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศูกร์", "เสาร์"
- ],
- monthNames: [
- "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค.",
- "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฏาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"
- ],
- AmPm : ["am","pm","AM","PM"],
- S: function (j) {return ''},
- srcformat: 'Y-m-d',
- newformat: 'd/m/Y',
- parseRe : /[#%\\\/:_;.,\t\s-]/,
- masks : {
- ISO8601Long:"Y-m-d H:i:s",
- ISO8601Short:"Y-m-d",
- ShortDate: "n/j/Y",
- LongDate: "l, F d, Y",
- FullDateTime: "l, F d, Y g:i:s A",
- MonthDay: "F d",
- ShortTime: "g:i A",
- LongTime: "g:i:s A",
- SortableDateTime: "Y-m-d\\TH:i:s",
- UniversalSortableDateTime: "Y-m-d H:i:sO",
- YearMonth: "F, Y"
- },
- reformatAfterEdit : false,
- userLocalTime : false
- },
- baseLinkUrl: '',
- showAction: '',
- target: '',
- checkbox : {disabled:true},
- idName : 'id'
- }
-};
-}));
diff --git a/ishtar_common/static/js/i18n/grid.locale-tr.js b/ishtar_common/static/js/i18n/grid.locale-tr.js deleted file mode 100644 index 48d5a269f..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-tr.js +++ /dev/null @@ -1,166 +0,0 @@ -/** - * jqGrid Turkish Translation - * Erhan Gündoğan (erhan@trposta.net) - * http://blog.zakkum.com - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["tr"] = { - defaults : { - recordtext: "{0}-{1} listeleniyor. Toplam:{2}", - emptyrecords: "Kayıt bulunamadı", - loadtext: "Yükleniyor...", - pgtext : "{0}/{1}. Sayfa", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Arama...", - Find: "Bul", - Reset: "Temizle", - odata: [{ oper:'eq', text:"eşit"},{ oper:'ne', text:"eşit değil"},{ oper:'lt', text:"daha az"},{ oper:'le', text:"daha az veya eşit"},{ oper:'gt', text:"daha fazla"},{ oper:'ge', text:"daha fazla veya eşit"},{ oper:'bw', text:"ile başlayan"},{ oper:'bn', text:"ile başlamayan"},{ oper:'in', text:"içinde"},{ oper:'ni', text:"içinde değil"},{ oper:'ew', text:"ile biten"},{ oper:'en', text:"ile bitmeyen"},{ oper:'cn', text:"içeren"},{ oper:'nc', text:"içermeyen"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "VE", text: "tüm" }, { op: "VEYA", text: "herhangi" }], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Kayıt Ekle", - editCaption: "Kayıt Düzenle", - bSubmit: "Gönder", - bCancel: "İptal", - bClose: "Kapat", - saveData: "Veriler değişti! Kayıt edilsin mi?", - bYes : "Evet", - bNo : "Hayıt", - bExit : "İptal", - msg: { - required:"Alan gerekli", - number:"Lütfen bir numara giriniz", - minValue:"girilen değer daha büyük ya da buna eşit olmalıdır", - maxValue:"girilen değer daha küçük ya da buna eşit olmalıdır", - email: "geçerli bir e-posta adresi değildir", - integer: "Lütfen bir tamsayı giriniz", - url: "Geçerli bir URL değil. ('http://' or 'https://') ön eki gerekli.", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - } - }, - view : { - caption: "Kayıt Görüntüle", - bClose: "Kapat" - }, - del : { - caption: "Sil", - msg: "Seçilen kayıtlar silinsin mi?", - bSubmit: "Sil", - bCancel: "İptal" - }, - nav : { - edittext: " ", - edittitle: "Seçili satırı düzenle", - addtext:" ", - addtitle: "Yeni satır ekle", - deltext: " ", - deltitle: "Seçili satırı sil", - searchtext: " ", - searchtitle: "Kayıtları bul", - refreshtext: "", - refreshtitle: "Tabloyu yenile", - alertcap: "Uyarı", - alerttext: "Lütfen bir satır seçiniz", - viewtext: "", - viewtitle: "Seçilen satırı görüntüle", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Sütunları göster/gizle", - bSubmit: "Gönder", - bCancel: "İptal" - }, - errors : { - errcap : "Hata", - nourl : "Bir url yapılandırılmamış", - norecords: "İşlem yapılacak bir kayıt yok", - model : "colNames uzunluğu <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "Paz", "Pts", "Sal", "Çar", "Per", "Cum", "Cts", - "Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi" - ], - monthNames: [ - "Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", - "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd/m/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n/j/Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-tw.js b/ishtar_common/static/js/i18n/grid.locale-tw.js deleted file mode 100644 index 547ffdac3..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-tw.js +++ /dev/null @@ -1,169 +0,0 @@ -/** - * jqGrid Chinese (Taiwan) Translation for v4.2 - * linquize - * https://github.com/linquize/jqGrid - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - * -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["tw"] = { - defaults : { - recordtext: "{0} - {1} 共 {2} 條", - emptyrecords: "沒有記錄", - loadtext: "載入中...", - pgtext : " {0} 共 {1} 頁", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "搜尋...", - Find: "搜尋", - Reset: "重設", - odata: [{ oper:'eq', text:"等於 "},{ oper:'ne', text:"不等於 "},{ oper:'lt', text:"小於 "},{ oper:'le', text:"小於等於 "},{ oper:'gt', text:"大於 "},{ oper:'ge', text:"大於等於 "},{ oper:'bw', text:"開始於 "},{ oper:'bn', text:"不開始於 "},{ oper:'in', text:"在其中 "},{ oper:'ni', text:"不在其中 "},{ oper:'ew', text:"結束於 "},{ oper:'en', text:"不結束於 "},{ oper:'cn', text:"包含 "},{ oper:'nc', text:"不包含 "},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "所有" }, { op: "OR", text: "任一" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "新增記錄", - editCaption: "編輯記錄", - bSubmit: "提交", - bCancel: "取消", - bClose: "關閉", - saveData: "資料已改變,是否儲存?", - bYes : "是", - bNo : "否", - bExit : "取消", - msg: { - required:"此欄必要", - number:"請輸入有效的數字", - minValue:"值必須大於等於 ", - maxValue:"值必須小於等於 ", - email: "不是有效的e-mail地址", - integer: "請輸入有效整数", - date: "請輸入有效時間", - url: "網址無效。前綴必須為 ('http://' 或 'https://')", - nodefined : " 未定義!", - novalue : " 需要傳回值!", - customarray : "自訂函數應傳回陣列!", - customfcheck : "自訂檢查應有自訂函數!" - - } - }, - view : { - caption: "查看記錄", - bClose: "關閉" - }, - del : { - caption: "刪除", - msg: "刪除已選記錄?", - bSubmit: "刪除", - bCancel: "取消" - }, - nav : { - edittext: "", - edittitle: "編輯已選列", - addtext:"", - addtitle: "新增列", - deltext: "", - deltitle: "刪除已選列", - searchtext: "", - searchtitle: "搜尋記錄", - refreshtext: "", - refreshtitle: "重新整理表格", - alertcap: "警告", - alerttext: "請選擇列", - viewtext: "", - viewtitle: "檢視已選列", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "選擇欄", - bSubmit: "確定", - bCancel: "取消" - }, - errors : { - errcap : "錯誤", - nourl : "未設定URL", - norecords: "無需要處理的記錄", - model : "colNames 和 colModel 長度不同!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, - currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, - date : { - dayNames: [ - "日", "一", "二", "三", "四", "五", "六", - "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" - ], - monthNames: [ - "一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二", - "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月" - ], - AmPm : ["上午","下午","上午","下午"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';}, - srcformat: 'Y-m-d', - newformat: 'm-d-Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "Y/j/n", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y g:i:s A", - MonthDay: "F d", - ShortTime: "g:i A", - LongTime: "g:i:s A", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-ua.js b/ishtar_common/static/js/i18n/grid.locale-ua.js deleted file mode 100644 index 19ec52c79..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-ua.js +++ /dev/null @@ -1,158 +0,0 @@ -/** - * jqGrid Ukrainian Translation v1.0 02.07.2009 - * Sergey Dyagovchenko - * http://d.sumy.ua - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["ua"] = { - defaults : { - recordtext: "Перегляд {0} - {1} з {2}", - emptyrecords: "Немає записів для перегляду", - loadtext: "Завантаження...", - pgtext : "Стор. {0} з {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid" - }, - search : { - caption: "Пошук...", - Find: "Знайти", - Reset: "Скидання", - odata: [{ oper:'eq', text:"рівно"},{ oper:'ne', text:"не рівно"},{ oper:'lt', text:"менше"},{ oper:'le', text:"менше або рівне"},{ oper:'gt', text:"більше"},{ oper:'ge', text:"більше або рівне"},{ oper:'bw', text:"починається з"},{ oper:'bn', text:"не починається з"},{ oper:'in', text:"знаходиться в"},{ oper:'ni', text:"не знаходиться в"},{ oper:'ew', text:"закінчується на"},{ oper:'en', text:"не закінчується на"},{ oper:'cn', text:"містить"},{ oper:'nc', text:"не містить"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "все" }, { op: "OR", text: "будь-який" }], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Додати запис", - editCaption: "Змінити запис", - bSubmit: "Зберегти", - bCancel: "Відміна", - bClose: "Закрити", - saveData: "До данних були внесені зміни! Зберегти зміни?", - bYes : "Так", - bNo : "Ні", - bExit : "Відміна", - msg: { - required:"Поле є обов'язковим", - number:"Будь ласка, введіть правильне число", - minValue:"значення повинне бути більше або дорівнює", - maxValue:"значення повинно бути менше або дорівнює", - email: "некоректна адреса електронної пошти", - integer: "Будь ласка, введення дійсне ціле значення", - date: "Будь ласка, введення дійсне значення дати", - url: "не дійсний URL. Необхідна приставка ('http://' or 'https://')", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - } - }, - view : { - caption: "Переглянути запис", - bClose: "Закрити" - }, - del : { - caption: "Видалити", - msg: "Видалити обраний запис(и)?", - bSubmit: "Видалити", - bCancel: "Відміна" - }, - nav : { - edittext: " ", - edittitle: "Змінити вибраний запис", - addtext:" ", - addtitle: "Додати новий запис", - deltext: " ", - deltitle: "Видалити вибраний запис", - searchtext: " ", - searchtitle: "Знайти записи", - refreshtext: "", - refreshtitle: "Оновити таблицю", - alertcap: "Попередження", - alerttext: "Будь ласка, виберіть запис", - viewtext: "", - viewtitle: "Переглянути обраний запис", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing" - }, - col : { - caption: "Показати/Приховати стовпці", - bSubmit: "Зберегти", - bCancel: "Відміна" - }, - errors : { - errcap : "Помилка", - nourl : "URL не задан", - norecords: "Немає записів для обробки", - model : "Число полів не відповідає числу стовпців таблиці!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", - "Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота" - ], - monthNames: [ - "Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", - "Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd.m.Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n.j.Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y G:i:s", - MonthDay: "F d", - ShortTime: "G:i", - LongTime: "G:i:s", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-uk.js b/ishtar_common/static/js/i18n/grid.locale-uk.js deleted file mode 100644 index 13d835d55..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-uk.js +++ /dev/null @@ -1,167 +0,0 @@ -/** - * jqGrid Ukrainian Translation v1.0 02.07.2009 - * Sergey Dyagovchenko - * http://d.sumy.ua - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["ua"] = { - defaults : { - recordtext: "Перегляд {0} - {1} з {2}", - emptyrecords: "Немає записів для перегляду", - loadtext: "Завантаження...", - pgtext : "Стор. {0} з {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Пошук...", - Find: "Знайти", - Reset: "Скидання", - odata: [{ oper:'eq', text:"рівно"},{ oper:'ne', text:"не рівно"},{ oper:'lt', text:"менше"},{ oper:'le', text:"менше або рівне"},{ oper:'gt', text:"більше"},{ oper:'ge', text:"більше або рівне"},{ oper:'bw', text:"починається з"},{ oper:'bn', text:"не починається з"},{ oper:'in', text:"знаходиться в"},{ oper:'ni', text:"не знаходиться в"},{ oper:'ew', text:"закінчується на"},{ oper:'en', text:"не закінчується на"},{ oper:'cn', text:"містить"},{ oper:'nc', text:"не містить"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "AND", text: "все" }, { op: "OR", text: "будь-який" }], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Додати запис", - editCaption: "Змінити запис", - bSubmit: "Зберегти", - bCancel: "Відміна", - bClose: "Закрити", - saveData: "До данних були внесені зміни! Зберегти зміни?", - bYes : "Так", - bNo : "Ні", - bExit : "Відміна", - msg: { - required:"Поле є обов'язковим", - number:"Будь ласка, введіть правильне число", - minValue:"значення повинне бути більше або дорівнює", - maxValue:"значення повинно бути менше або дорівнює", - email: "некоректна адреса електронної пошти", - integer: "Будь ласка, введення дійсне ціле значення", - date: "Будь ласка, введення дійсне значення дати", - url: "не дійсний URL. Необхідна приставка ('http://' or 'https://')", - nodefined : " is not defined!", - novalue : " return value is required!", - customarray : "Custom function should return array!", - customfcheck : "Custom function should be present in case of custom checking!" - } - }, - view : { - caption: "Переглянути запис", - bClose: "Закрити" - }, - del : { - caption: "Видалити", - msg: "Видалити обраний запис(и)?", - bSubmit: "Видалити", - bCancel: "Відміна" - }, - nav : { - edittext: " ", - edittitle: "Змінити вибраний запис", - addtext:" ", - addtitle: "Додати новий запис", - deltext: " ", - deltitle: "Видалити вибраний запис", - searchtext: " ", - searchtitle: "Знайти записи", - refreshtext: "", - refreshtitle: "Оновити таблицю", - alertcap: "Попередження", - alerttext: "Будь ласка, виберіть запис", - viewtext: "", - viewtitle: "Переглянути обраний запис", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Показати/Приховати стовпці", - bSubmit: "Зберегти", - bCancel: "Відміна" - }, - errors : { - errcap : "Помилка", - nourl : "URL не задан", - norecords: "Немає записів для обробки", - model : "Число полів не відповідає числу стовпців таблиці!" - }, - formatter : { - integer : {thousandsSeparator: " ", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'}, - currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'}, - date : { - dayNames: [ - "Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", - "Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота" - ], - monthNames: [ - "Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", - "Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень" - ], - AmPm : ["am","pm","AM","PM"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, - srcformat: 'Y-m-d', - newformat: 'd.m.Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - ShortDate: "n.j.Y", - LongDate: "l, F d, Y", - FullDateTime: "l, F d, Y G:i:s", - MonthDay: "F d", - ShortTime: "G:i", - LongTime: "G:i:s", - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - YearMonth: "F, Y" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/i18n/grid.locale-vi.js b/ishtar_common/static/js/i18n/grid.locale-vi.js deleted file mode 100644 index 5a5f7528e..000000000 --- a/ishtar_common/static/js/i18n/grid.locale-vi.js +++ /dev/null @@ -1,208 +0,0 @@ -/** - * jqGrid Vietnamese Translation - * Lê Đình Dũng dungtdc@gmail.com - * http://trirand.com/blog/ - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html -**/ -/*global jQuery, define */ -(function( factory ) { - "use strict"; - if ( typeof define === "function" && define.amd ) { - // AMD. Register as an anonymous module. - define([ - "jquery", - "../grid.base" - ], factory ); - } else { - // Browser globals - factory( jQuery ); - } -}(function( $ ) { - -$.jgrid = $.jgrid || {}; -if(!$.jgrid.hasOwnProperty("regional")) { - $.jgrid.regional = []; -} -$.jgrid.regional["vi"] = { - defaults : { - recordtext: "View {0} - {1} of {2}", - emptyrecords: "Không có dữ liệu", - loadtext: "Đang nạp dữ liệu...", - pgtext : "Trang {0} trong tổng số {1}", - savetext: "Saving...", - pgfirst : "First Page", - pglast : "Last Page", - pgnext : "Next Page", - pgprev : "Previous Page", - pgrecs : "Records per Page", - showhide: "Toggle Expand Collapse Grid", - // mobile - pagerCaption : "Grid::Page Settings", - pageText : "Page:", - recordPage : "Records per Page", - nomorerecs : "No more records...", - scrollPullup: "Pull up to load more...", - scrollPulldown : "Pull down to refresh...", - scrollRefresh : "Release to refresh..." - }, - search : { - caption: "Tìm kiếm...", - Find: "Tìm", - Reset: "Khởi tạo lại", - odata: [{ oper:'eq', text:"bằng"},{ oper:'ne', text:"không bằng"},{ oper:'lt', text:"bé hơn"},{ oper:'le', text:"bé hơn hoặc bằng"},{ oper:'gt', text:"lớn hơn"},{ oper:'ge', text:"lớn hơn hoặc bằng"},{ oper:'bw', text:"bắt đầu với"},{ oper:'bn', text:"không bắt đầu với"},{ oper:'in', text:"trong"},{ oper:'ni', text:"không nằm trong"},{ oper:'ew', text:"kết thúc với"},{ oper:'en', text:"không kết thúc với"},{ oper:'cn', text:"chứa"},{ oper:'nc', text:"không chứa"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], - groupOps: [ { op: "VÀ", text: "tất cả" }, { op: "HOẶC", text: "bất kỳ" } ], - operandTitle : "Click to select search operation.", - resetTitle : "Reset Search Value" - }, - edit : { - addCaption: "Thêm bản ghi", - editCaption: "Sửa bản ghi", - bSubmit: "Gửi", - bCancel: "Hủy bỏ", - bClose: "Đóng", - saveData: "Dữ liệu đã thay đổi! Có lưu thay đổi không?", - bYes : "Có", - bNo : "Không", - bExit : "Hủy bỏ", - msg: { - required:"Trường dữ liệu bắt buộc có", - number:"Hãy điền đúng số", - minValue:"giá trị phải lớn hơn hoặc bằng với ", - maxValue:"giá trị phải bé hơn hoặc bằng", - email: "không phải là một email đúng", - integer: "Hãy điền đúng số nguyên", - date: "Hãy điền đúng ngày tháng", - url: "không phải là URL. Khởi đầu bắt buộc là ('http://' hoặc 'https://')", - nodefined : " chưa được định nghĩa!", - novalue : " giá trị trả về bắt buộc phải có!", - customarray : "Hàm nên trả về một mảng!", - customfcheck : "Custom function should be present in case of custom checking!" - - } - }, - view : { - caption: "Xem bản ghi", - bClose: "Đóng" - }, - del : { - caption: "Xóa", - msg: "Xóa bản ghi đã chọn?", - bSubmit: "Xóa", - bCancel: "Hủy bỏ" - }, - nav : { - edittext: "", - edittitle: "Sửa dòng đã chọn", - addtext:"", - addtitle: "Thêm mới 1 dòng", - deltext: "", - deltitle: "Xóa dòng đã chọn", - searchtext: "", - searchtitle: "Tìm bản ghi", - refreshtext: "", - refreshtitle: "Nạp lại lưới", - alertcap: "Cảnh báo", - alerttext: "Hãy chọn một dòng", - viewtext: "", - viewtitle: "Xem dòng đã chọn", - savetext: "", - savetitle: "Save row", - canceltext: "", - canceltitle : "Cancel row editing", - selectcaption : "Actions..." - }, - col : { - caption: "Chọn cột", - bSubmit: "OK", - bCancel: "Hủy bỏ" - }, - errors : { - errcap : "Lỗi", - nourl : "không url được đặt", - norecords: "Không có bản ghi để xử lý", - model : "Chiều dài của colNames <> colModel!" - }, - formatter : { - integer : {thousandsSeparator: ".", defaultValue: '0'}, - number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0'}, - currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0'}, - date : { - dayNames: [ - "CN", "T2", "T3", "T4", "T5", "T6", "T7", - "Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy" - ], - monthNames: [ - "Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12", - "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" - ], - AmPm : ["sáng","chiều","SÁNG","CHIỀU"], - S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th';}, - srcformat: 'Y-m-d', - newformat: 'n/j/Y', - parseRe : /[#%\\\/:_;.,\t\s-]/, - masks : { - // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid - // and see http://docs.jquery.com/UI/Datepicker/formatDate - // and https://github.com/jquery/globalize#dates for alternative formats used frequently - // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many - // information about date, time, numbers and currency formats used in different countries - // one should just convert the information in PHP format - ISO8601Long:"Y-m-d H:i:s", - ISO8601Short:"Y-m-d", - // short date: - // n - Numeric representation of a month, without leading zeros - // j - Day of the month without leading zeros - // Y - A full numeric representation of a year, 4 digits - // example: 3/1/2012 which means 1 March 2012 - ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy" - // long date: - // l - A full textual representation of the day of the week - // F - A full textual representation of a month - // d - Day of the month, 2 digits with leading zeros - // Y - A full numeric representation of a year, 4 digits - LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy" - // long date with long time: - // l - A full textual representation of the day of the week - // F - A full textual representation of a month - // d - Day of the month, 2 digits with leading zeros - // Y - A full numeric representation of a year, 4 digits - // g - 12-hour format of an hour without leading zeros - // i - Minutes with leading zeros - // s - Seconds, with leading zeros - // A - Uppercase Ante meridiem and Post meridiem (AM or PM) - FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt" - // month day: - // F - A full textual representation of a month - // d - Day of the month, 2 digits with leading zeros - MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd" - // short time (without seconds) - // g - 12-hour format of an hour without leading zeros - // i - Minutes with leading zeros - // A - Uppercase Ante meridiem and Post meridiem (AM or PM) - ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt" - // long time (with seconds) - // g - 12-hour format of an hour without leading zeros - // i - Minutes with leading zeros - // s - Seconds, with leading zeros - // A - Uppercase Ante meridiem and Post meridiem (AM or PM) - LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt" - SortableDateTime: "Y-m-d\\TH:i:s", - UniversalSortableDateTime: "Y-m-d H:i:sO", - // month with year - // Y - A full numeric representation of a year, 4 digits - // F - A full textual representation of a month - YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy" - }, - reformatAfterEdit : false, - userLocalTime : false - }, - baseLinkUrl: '', - showAction: '', - target: '', - checkbox : {disabled:true}, - idName : 'id' - } -}; -})); diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index 318c17315..026151953 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -37,6 +37,18 @@ function get_next_table_id(){} function get_previous_table_id(){} var shortcut_url = ''; +var datatables_i18n; + +var datatables_default = { + "processing": true, + "serverSide": true, + "scrollX": true, + "scrollY": true, + "searching": false, + "info": false, + "scrollCollapse": true +}; + var advanced_menu = false; var shortcut_menu_hide = false; var activate_all_search_url = '/activate-all-search/'; @@ -48,7 +60,7 @@ var shortcut_menu_show_url = '/show-shortcut-menu/' function init_shortcut_menu(html){ $("#progress").hide(); - $("#context_menu").html(html); + $("#context-menu").html(html); $(".chosen-select").chosen(); if (advanced_menu) { init_advanced_shortcut_fields(); @@ -195,13 +207,12 @@ $(document).ready(function(){ $('#to_bottom_arrow').hide(); $('#to_top_arrow').hide(); } - $('#language_selector').change(function(){ - $('#language_form').submit(); + $('#language-selector a').click(function(){ + $('#language-selector input[name="language"]').val( + $(this).attr("data-lang")); + $('#language-form').submit(); }); load_shortcut_menu(); - if ($.isFunction($(".prettyPhoto a").prettyPhoto)){ - $(".prettyPhoto a").prettyPhoto({'social_tools':''}); - } $('#current_items select').change(function(){ $(this).attr('class', $(this).children("option:selected").attr('class')); }); @@ -271,9 +282,17 @@ function load_window(url, speed, on_success){ cache: false, success:function(html){ $("#progress").hide(); - $("#window").append(html); + $(".previous_page").remove(); + $(".next_page").remove(); + var register_id = $(html).find(".card-header").attr("data-sheet-id"); + var current_sheet = $('[data-sheet-id="' + register_id + '"]'); + if (current_sheet.length){ + $(".collapse").removeClass('show'); + current_sheet.parent().find('.collapse').addClass('show'); + } else { + $("#window").append(html); + } $("#"+last_window).show(); - $("a[rel^='prettyPhoto']").prettyPhoto({'social_tools':''}); if (on_success) on_success(); }, error:function(XMLHttpRequest, textStatus, errorThrows){ diff --git a/ishtar_common/static/js/jquery.jqGrid.min.js b/ishtar_common/static/js/jquery.jqGrid.min.js deleted file mode 100644 index e8cf72e0d..000000000 --- a/ishtar_common/static/js/jquery.jqGrid.min.js +++ /dev/null @@ -1,739 +0,0 @@ -/* -* jqGrid 5.0.0 -* Copyright (c) 2008, Tony Tomov, tony@trirand.com -* License: http://guriddo.net/?page_id=103334 -* -* Modules: grid.base.js; jquery.fmatter.js; grid.common.js; grid.import.js; grid.utils.js; grid.jqueryui.js; -*/ -!function(a){"use strict";"function"==typeof -define&&define.amd?define(["jquery"],a):a(jQuery)}(function($){"use strict";$.jgrid=$.jgrid||{},$.jgrid.hasOwnProperty("defaults")||($.jgrid.defaults={}),$.extend($.jgrid,{version:"5.0.0",htmlDecode:function(a){return a&&(" "===a||" "===a||1===a.length&&160===a.charCodeAt(0))?"":a?String(a).replace(/>/g,">").replace(/</g,"<").replace(/"/g,'"').replace(/&/g,"&"):a},htmlEncode:function(a){return a?String(a).replace(/&/g,"&").replace(/\"/g,""").replace(/</g,"<").replace(/>/g,">"):a},template:function(a){var -b,c=$.makeArray(arguments).slice(1),d=c.length;return null==a&&(a=""),a.replace(/\{([\w\-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g,function(a,e){if(!isNaN(parseInt(e,10)))return c[parseInt(e,10)];for(b=0;d>b;b++)if($.isArray(c[b]))for(var -f=c[b],g=f.length;g--;)if(e===f[g].nm)return f[g].v})},msie:"Microsoft Internet Explorer"===navigator.appName,msiever:function(){var -a=-1,b=navigator.userAgent,c=new -RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");return null!=c.exec(b)&&(a=parseFloat(RegExp.$1)),a},getCellIndex:function(a){var -b=$(a);return b.is("tr")?-1:(b=(b.is("td")||b.is("th")?b:b.closest("td,th"))[0],$.jgrid.msie?$.inArray(b,b.parentNode.cells):b.cellIndex)},stripHtml:function(a){a=String(a);var -b=/<("[^"]*"|'[^']*'|[^'">])*>/gi;return a?(a=a.replace(b,""),a&&" "!==a&&" "!==a?a.replace(/\"/g,"'"):""):a},stripPref:function(a,b){var -c=$.type(a);return("string"===c||"number"===c)&&(a=String(a),b=""!==a?String(b).replace(String(a),""):b),b},parse:function(jsonString){var -js=jsonString;return"while(1);"===js.substr(0,9)&&(js=js.substr(9)),"/*"===js.substr(0,2)&&(js=js.substr(2,js.length-4)),js||(js="{}"),$.jgrid.useJSON===!0&&"object"==typeof -JSON&&"function"==typeof -JSON.parse?JSON.parse(js):eval("("+js+")")},parseDate:function(a,b,c,d){var -e,f,g,h=/\\.|[dDjlNSwzWFmMntLoYyaABgGhHisueIOPTZcrU]/g,i=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,j=/[^-+\dA-Z]/g,k=new -RegExp("^/Date\\((([-+])?[0-9]+)(([-+])([0-9]{2})([0-9]{2}))?\\)/$"),l="string"==typeof -b?b.match(k):null,m=function(a,b){for(a=String(a),b=parseInt(b,10)||2;a.length<b;)a="0"+a;return a},n={m:1,d:1,y:1970,h:0,i:0,s:0,u:0},o=0,p=function(a,b){return 0===a?12===b&&(b=0):12!==b&&(b+=12),b},q=0;if(void -0===d&&(d=$.jgrid.getRegional(this,"formatter.date")),void -0===d.parseRe&&(d.parseRe=/[#%\\\/:_;.,\t\s-]/),d.masks.hasOwnProperty(a)&&(a=d.masks[a]),b&&null!=b)if(isNaN(b-0)||"u"!==String(a).toLowerCase())if(b.constructor===Date)o=b;else -if(null!==l)o=new -Date(parseInt(l[1],10)),l[3]&&(q=60*Number(l[5])+Number(l[6]),q*="-"===l[4]?1:-1,q-=o.getTimezoneOffset(),o.setTime(Number(Number(o)+60*q*1e3)));else{for("ISO8601Long"===d.srcformat&&"Z"===b.charAt(b.length-1)&&(q-=(new -Date).getTimezoneOffset()),b=String(b).replace(/\T/g,"#").replace(/\t/,"%").split(d.parseRe),a=a.replace(/\T/g,"#").replace(/\t/,"%").split(d.parseRe),f=0,g=a.length;g>f;f++){switch(a[f]){case"M":e=$.inArray(b[f],d.monthNames),-1!==e&&12>e&&(b[f]=e+1,n.m=b[f]);break;case"F":e=$.inArray(b[f],d.monthNames,12),-1!==e&&e>11&&(b[f]=e+1-12,n.m=b[f]);break;case"n":a[f]="m";break;case"j":a[f]="d";break;case"a":e=$.inArray(b[f],d.AmPm),-1!==e&&2>e&&b[f]===d.AmPm[e]&&(b[f]=e,n.h=p(b[f],n.h));break;case"A":e=$.inArray(b[f],d.AmPm),-1!==e&&e>1&&b[f]===d.AmPm[e]&&(b[f]=e-2,n.h=p(b[f],n.h));break;case"g":n.h=parseInt(b[f],10)}void -0!==b[f]&&(n[a[f].toLowerCase()]=parseInt(b[f],10))}if(n.f&&(n.m=n.f),0===n.m&&0===n.y&&0===n.d)return" ";n.m=parseInt(n.m,10)-1;var -r=n.y;r>=70&&99>=r?n.y=1900+n.y:r>=0&&69>=r&&(n.y=2e3+n.y),o=new -Date(n.y,n.m,n.d,n.h,n.i,n.s,n.u),q>0&&o.setTime(Number(Number(o)+60*q*1e3))}else -o=new -Date(1e3*parseFloat(b));else -o=new -Date(n.y,n.m,n.d,n.h,n.i,n.s,n.u);if(d.userLocalTime&&0===q&&(q-=(new -Date).getTimezoneOffset(),q>0&&o.setTime(Number(Number(o)+60*q*1e3))),void -0===c)return o;d.masks.hasOwnProperty(c)?c=d.masks[c]:c||(c="Y-m-d");var -s=o.getHours(),t=o.getMinutes(),u=o.getDate(),v=o.getMonth()+1,w=o.getTimezoneOffset(),x=o.getSeconds(),y=o.getMilliseconds(),z=o.getDay(),A=o.getFullYear(),B=(z+6)%7+1,C=(new -Date(A,v-1,u)-new -Date(A,0,1))/864e5,D={d:m(u),D:d.dayNames[z],j:u,l:d.dayNames[z+7],N:B,S:d.S(u),w:z,z:C,W:5>B?Math.floor((C+B-1)/7)+1:Math.floor((C+B-1)/7)||((new -Date(A-1,0,1).getDay()+6)%7<4?53:52),F:d.monthNames[v-1+12],m:m(v),M:d.monthNames[v-1],n:v,t:"?",L:"?",o:"?",Y:A,y:String(A).substring(2),a:12>s?d.AmPm[0]:d.AmPm[1],A:12>s?d.AmPm[2]:d.AmPm[3],B:"?",g:s%12||12,G:s,h:m(s%12||12),H:m(s),i:m(t),s:m(x),u:y,e:"?",I:"?",O:(w>0?"-":"+")+m(100*Math.floor(Math.abs(w)/60)+Math.abs(w)%60,4),P:"?",T:(String(o).match(i)||[""]).pop().replace(j,""),Z:"?",c:"?",r:"?",U:Math.floor(o/1e3)};return c.replace(h,function(a){return D.hasOwnProperty(a)?D[a]:a.substring(1)})},jqID:function(a){return String(a).replace(/[!"#$%&'()*+,.\/:; <=>?@\[\\\]\^`{|}~]/g,"\\$&")},guid:1,uidPref:"jqg",randId:function(a){return(a||$.jgrid.uidPref)+$.jgrid.guid++},getAccessor:function(a,b){var -c,d,e,f=[];if("function"==typeof -b)return b(a);if(c=a[b],void -0===c)try{if("string"==typeof -b&&(f=b.split(".")),e=f.length)for(c=a;c&&e--;)d=f.shift(),c=c[d]}catch(g){}return c},getXmlData:function(a,b,c){var -d,e="string"==typeof -b?b.match(/^(.*)\[(\w+)\]$/):null;return"function"==typeof -b?b(a):e&&e[2]?e[1]?$(e[1],a).attr(e[2]):$(a).attr(e[2]):(d=$(b,a),c?d:d.length>0?$(d).text():void -0)},cellWidth:function(){var -a=$("<div class='ui-jqgrid' style='left:10000px'><table class='ui-jqgrid-btable ui-common-table' style='width:5px;'><tr class='jqgrow'><td style='width:5px;display:block;'></td></tr></table></div>"),b=a.appendTo("body").find("td").width();return a.remove(),Math.abs(b-5)>.1},isLocalStorage:function(){try{return"localStorage"in -window&&null!==window.localStorage}catch(a){return!1}},getRegional:function(a,b,c){var -d;return void -0!==c?c:(a.p&&a.p.regional&&$.jgrid.regional&&(d=$.jgrid.getAccessor($.jgrid.regional[a.p.regional]||{},b)),void -0===d&&(d=$.jgrid.getAccessor($.jgrid,b)),d)},isMobile:function(){try{return/Android|webOS|iPhone|iPad|iPod|pocket|psp|kindle|avantgo|blazer|midori|Tablet|Palm|maemo|plucker|phone|BlackBerry|symbian|IEMobile|mobile|ZuneWP7|Windows Phone|Opera Mini/i.test(navigator.userAgent)?!0:!1}catch(a){return!1}},cell_width:!0,ajaxOptions:{},from:function(source){var -$t=this,QueryObject=function(d,q){"string"==typeof -d&&(d=$.data(d));var -self=this,_data=d,_usecase=!0,_trim=!1,_query=q,_stripNum=/[\$,%]/g,_lastCommand=null,_lastField=null,_orDepth=0,_negate=!1,_queuedOperator="",_sorting=[],_useProperties=!0;if("object"!=typeof -d||!d.push)throw"data provides is not an array";return d.length>0&&(_useProperties="object"!=typeof -d[0]?!1:!0),this._hasData=function(){return null===_data?!1:0===_data.length?!1:!0},this._getStr=function(a){var -b=[];return _trim&&b.push("jQuery.trim("),b.push("String("+a+")"),_trim&&b.push(")"),_usecase||b.push(".toLowerCase()"),b.join("")},this._strComp=function(a){return"string"==typeof -a?".toString()":""},this._group=function(a,b){return{field:a.toString(),unique:b,items:[]}},this._toStr=function(a){return _trim&&(a=$.trim(a)),a=a.toString().replace(/\\/g,"\\\\").replace(/\"/g,'\\"'),_usecase?a:a.toLowerCase()},this._funcLoop=function(a){var -b=[];return $.each(_data,function(c,d){b.push(a(d))}),b},this._append=function(a){var -b;for(null===_query?_query="":_query+=""===_queuedOperator?" && ":_queuedOperator,b=0;_orDepth>b;b++)_query+="(";_negate&&(_query+="!"),_query+="("+a+")",_negate=!1,_queuedOperator="",_orDepth=0},this._setCommand=function(a,b){_lastCommand=a,_lastField=b},this._resetNegate=function(){_negate=!1},this._repeatCommand=function(a,b){return null===_lastCommand?self:null!==a&&null!==b?_lastCommand(a,b):null===_lastField?_lastCommand(a):_useProperties?_lastCommand(_lastField,a):_lastCommand(a)},this._equals=function(a,b){return 0===self._compare(a,b,1)},this._compare=function(a,b,c){var -d=Object.prototype.toString;return void -0===c&&(c=1),void -0===a&&(a=null),void -0===b&&(b=null),null===a&&null===b?0:null===a&&null!==b?1:null!==a&&null===b?-1:"[object Date]"===d.call(a)&&"[object Date]"===d.call(b)?b>a?-c:a>b?c:0:(_usecase||"number"==typeof -a||"number"==typeof -b||(a=String(a),b=String(b)),b>a?-c:a>b?c:0)},this._performSort=function(){0!==_sorting.length&&(_data=self._doSort(_data,0))},this._doSort=function(a,b){var -c=_sorting[b].by,d=_sorting[b].dir,e=_sorting[b].type,f=_sorting[b].datefmt,g=_sorting[b].sfunc;if(b===_sorting.length-1)return self._getOrder(a,c,d,e,f,g);b++;var -h,i,j,k=self._getGroup(a,c,d,e,f),l=[];for(h=0;h<k.length;h++)for(j=self._doSort(k[h].items,b),i=0;i<j.length;i++)l.push(j[i]);return l},this._getOrder=function(a,b,c,d,e,f){var -g,h,i,j,k=[],l=[],m="a"===c?1:-1;void -0===d&&(d="text"),j="float"===d||"number"===d||"currency"===d||"numeric"===d?function(a){var -b=parseFloat(String(a).replace(_stripNum,""));return isNaN(b)?Number.NEGATIVE_INFINITY:b}:"int"===d||"integer"===d?function(a){return a?parseFloat(String(a).replace(_stripNum,"")):Number.NEGATIVE_INFINITY}:"date"===d||"datetime"===d?function(a){return $.jgrid.parseDate.call($t,e,a).getTime()}:$.isFunction(d)?d:function(a){return a=a?$.trim(String(a)):"",_usecase?a:a.toLowerCase()},$.each(a,function(a,c){h=""!==b?$.jgrid.getAccessor(c,b):c,void -0===h&&(h=""),h=j(h,c),l.push({vSort:h,index:a})}),l.sort($.isFunction(f)?function(a,b){return a=a.vSort,b=b.vSort,f.call(this,a,b,m)}:function(a,b){return a=a.vSort,b=b.vSort,self._compare(a,b,m)}),i=0;for(var -n=a.length;n>i;)g=l[i].index,k.push(a[g]),i++;return k},this._getGroup=function(a,b,c,d,e){var -f,g=[],h=null,i=null;return $.each(self._getOrder(a,b,c,d,e),function(a,c){f=$.jgrid.getAccessor(c,b),null==f&&(f=""),self._equals(i,f)||(i=f,null!==h&&g.push(h),h=self._group(b,f)),h.items.push(c)}),null!==h&&g.push(h),g},this.ignoreCase=function(){return _usecase=!1,self},this.useCase=function(){return _usecase=!0,self},this.trim=function(){return _trim=!0,self},this.noTrim=function(){return _trim=!1,self},this.execute=function(){var -match=_query,results=[];return null===match?self:($.each(_data,function(){eval(match)&&results.push(this)}),_data=results,self)},this.data=function(){return _data},this.select=function(a){if(self._performSort(),!self._hasData())return[];if(self.execute(),$.isFunction(a)){var -b=[];return $.each(_data,function(c,d){b.push(a(d))}),b}return _data},this.hasMatch=function(){return self._hasData()?(self.execute(),_data.length>0):!1},this.andNot=function(a,b,c){return _negate=!_negate,self.and(a,b,c)},this.orNot=function(a,b,c){return _negate=!_negate,self.or(a,b,c)},this.not=function(a,b,c){return self.andNot(a,b,c)},this.and=function(a,b,c){return _queuedOperator=" && ",void -0===a?self:self._repeatCommand(a,b,c)},this.or=function(a,b,c){return _queuedOperator=" || ",void -0===a?self:self._repeatCommand(a,b,c)},this.orBegin=function(){return _orDepth++,self},this.orEnd=function(){return null!==_query&&(_query+=")"),self},this.isNot=function(a){return _negate=!_negate,self.is(a)},this.is=function(a){return self._append("this."+a),self._resetNegate(),self},this._compareValues=function(a,b,c,d,e){var -f;f=_useProperties?"jQuery.jgrid.getAccessor(this,'"+b+"')":"this",void -0===c&&(c=null);var -g=c,h=void -0===e.stype?"text":e.stype;if(null!==c)switch(h){case"int":case"integer":g=isNaN(Number(g))||""===g?"0":g,f="parseInt("+f+",10)",g="parseInt("+g+",10)";break;case"float":case"number":case"numeric":g=String(g).replace(_stripNum,""),g=isNaN(Number(g))||""===g?"0":g,f="parseFloat("+f+")",g="parseFloat("+g+")";break;case"date":case"datetime":g=String($.jgrid.parseDate.call($t,e.srcfmt||"Y-m-d",g).getTime()),f='jQuery.jgrid.parseDate.call(jQuery("#'+$.jgrid.jqID($t.p.id)+'")[0],"'+e.srcfmt+'",'+f+").getTime()";break;default:f=self._getStr(f),g=self._getStr('"'+self._toStr(g)+'"')}return self._append(f+" "+d+" "+g),self._setCommand(a,b),self._resetNegate(),self},this.equals=function(a,b,c){return self._compareValues(self.equals,a,b,"==",c)},this.notEquals=function(a,b,c){return self._compareValues(self.equals,a,b,"!==",c)},this.isNull=function(a,b,c){return self._compareValues(self.equals,a,null,"===",c)},this.greater=function(a,b,c){return self._compareValues(self.greater,a,b,">",c)},this.less=function(a,b,c){return self._compareValues(self.less,a,b,"<",c)},this.greaterOrEquals=function(a,b,c){return self._compareValues(self.greaterOrEquals,a,b,">=",c)},this.lessOrEquals=function(a,b,c){return self._compareValues(self.lessOrEquals,a,b,"<=",c)},this.startsWith=function(a,b){var -c=null==b?a:b,d=_trim?$.trim(c.toString()).length:c.toString().length;return _useProperties?self._append(self._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+".substr(0,"+d+") == "+self._getStr('"'+self._toStr(b)+'"')):(null!=b&&(d=_trim?$.trim(b.toString()).length:b.toString().length),self._append(self._getStr("this")+".substr(0,"+d+") == "+self._getStr('"'+self._toStr(a)+'"'))),self._setCommand(self.startsWith,a),self._resetNegate(),self},this.endsWith=function(a,b){var -c=null==b?a:b,d=_trim?$.trim(c.toString()).length:c.toString().length;return self._append(_useProperties?self._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+".substr("+self._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+".length-"+d+","+d+') == "'+self._toStr(b)+'"':self._getStr("this")+".substr("+self._getStr("this")+'.length-"'+self._toStr(a)+'".length,"'+self._toStr(a)+'".length) == "'+self._toStr(a)+'"'),self._setCommand(self.endsWith,a),self._resetNegate(),self},this.contains=function(a,b){return self._append(_useProperties?self._getStr("jQuery.jgrid.getAccessor(this,'"+a+"')")+'.indexOf("'+self._toStr(b)+'",0) > -1':self._getStr("this")+'.indexOf("'+self._toStr(a)+'",0) > -1'),self._setCommand(self.contains,a),self._resetNegate(),self},this.groupBy=function(a,b,c,d){return self._hasData()?self._getGroup(_data,a,b,c,d):null},this.orderBy=function(a,b,c,d,e){return b=null==b?"a":$.trim(b.toString().toLowerCase()),null==c&&(c="text"),null==d&&(d="Y-m-d"),null==e&&(e=!1),("desc"===b||"descending"===b)&&(b="d"),("asc"===b||"ascending"===b)&&(b="a"),_sorting.push({by:a,dir:b,type:c,datefmt:d,sfunc:e}),self},self};return new -QueryObject(source,null)},getMethod:function(a){return this.getAccessor($.fn.jqGrid,a)},extend:function(a){$.extend($.fn.jqGrid,a),this.no_legacy_api||$.fn.extend(a)},clearBeforeUnload:function(a){var -b,c=$("#"+$.jgrid.jqID(a))[0];if(c.grid){b=c.grid,$.isFunction(b.emptyRows)&&b.emptyRows.call(c,!0,!0),$(document).unbind("mouseup.jqGrid"+c.p.id),$(b.hDiv).unbind("mousemove"),$(c).unbind();var -d,e=b.headers.length,f=["formatCol","sortData","updatepager","refreshIndex","setHeadCheckBox","constructTr","formatter","addXmlData","addJSONData","grid","p"];for(d=0;e>d;d++)b.headers[d].el=null;for(d -in -b)b.hasOwnProperty(d)&&(b[d]=null);for(d -in -c.p)c.p.hasOwnProperty(d)&&(c.p[d]=$.isArray(c.p[d])?[]:null);for(e=f.length,d=0;e>d;d++)c.hasOwnProperty(f[d])&&(c[f[d]]=null,delete -c[f[d]])}},gridUnload:function(a){if(a){a=$.trim(a),0===a.indexOf("#")&&(a=a.substring(1));var -b=$("#"+$.jgrid.jqID(a))[0];if(b.grid){var -c={id:$(b).attr("id"),cl:$(b).attr("class")};b.p.pager&&$(b.p.pager).unbind().empty().removeClass("ui-state-default ui-jqgrid-pager ui-corner-bottom");var -d=document.createElement("table");d.className=c.cl;var -e=$.jgrid.jqID(b.id);$(d).removeClass("ui-jqgrid-btable ui-common-table").insertBefore("#gbox_"+e),1===$(b.p.pager).parents("#gbox_"+e).length&&$(b.p.pager).insertBefore("#gbox_"+e),$.jgrid.clearBeforeUnload(a),$("#gbox_"+e).remove(),$(d).attr({id:c.id}),$("#alertmod_"+$.jgrid.jqID(a)).remove()}}},gridDestroy:function(a){if(a){a=$.trim(a),0===a.indexOf("#")&&(a=a.substring(1));var -b=$("#"+$.jgrid.jqID(a))[0];if(b.grid){b.p.pager&&$(b.p.pager).remove();try{$.jgrid.clearBeforeUnload(a),$("#gbox_"+$.jgrid.jqID(a)).remove()}catch(c){}}}},styleUI:{jQueryUI:{common:{disabled:"ui-state-disabled",highlight:"ui-state-highlight",hover:"ui-state-hover",cornerall:"ui-corner-all",cornertop:"ui-corner-top",cornerbottom:"ui-corner-bottom",hidden:"ui-helper-hidden",icon_base:"ui-icon",overlay:"ui-widget-overlay",active:"ui-state-active",error:"ui-state-error",button:"ui-state-default ui-corner-all",content:"ui-widget-content"},base:{entrieBox:"ui-widget ui-widget-content ui-corner-all",viewBox:"",headerTable:"",headerBox:"ui-state-default",rowTable:"",rowBox:"ui-widget-content",footerTable:"",footerBox:"ui-widget-content",headerDiv:"ui-state-default",gridtitleBox:"ui-widget-header ui-corner-top ui-helper-clearfix",customtoolbarBox:"ui-state-default",loadingBox:"ui-state-default ui-state-active",rownumBox:"ui-state-default",scrollBox:"ui-widget-content",multiBox:"cbox",pagerBox:"ui-state-default ui-corner-bottom",toppagerBox:"ui-state-default",pgInput:"ui-corner-all",pgSelectBox:"ui-widget-content ui-corner-all",pgButtonBox:"ui-corner-all",icon_first:"ui-icon-seek-first",icon_prev:"ui-icon-seek-prev",icon_next:"ui-icon-seek-next",icon_end:"ui-icon-seek-end",icon_asc:"ui-icon-triangle-1-n",icon_desc:"ui-icon-triangle-1-s",icon_caption_open:"ui-icon-circle-triangle-n",icon_caption_close:"ui-icon-circle-triangle-s"},modal:{modal:"ui-widget ui-widget-content ui-corner-all",header:"ui-widget-header ui-corner-all ui-helper-clearfix",content:"ui-widget-content",resizable:"ui-resizable-handle ui-resizable-se",icon_close:"ui-icon-closethick",icon_resizable:"ui-icon-gripsmall-diagonal-se"},celledit:{inputClass:"ui-widget-content ui-corner-all"},inlinedit:{inputClass:"ui-widget-content ui-corner-all",icon_edit_nav:"ui-icon-pencil",icon_add_nav:"ui-icon-plus",icon_save_nav:"ui-icon-disk",icon_cancel_nav:"ui-icon-cancel"},formedit:{inputClass:"ui-widget-content ui-corner-all",icon_prev:"ui-icon-triangle-1-w",icon_next:"ui-icon-triangle-1-e",icon_save:"ui-icon-disk",icon_close:"ui-icon-close",icon_del:"ui-icon-scissors",icon_cancel:"ui-icon-cancel"},navigator:{icon_edit_nav:"ui-icon-pencil",icon_add_nav:"ui-icon-plus",icon_del_nav:"ui-icon-trash",icon_search_nav:"ui-icon-search",icon_refresh_nav:"ui-icon-refresh",icon_view_nav:"ui-icon-document",icon_newbutton_nav:"ui-icon-newwin"},grouping:{icon_plus:"ui-icon-circlesmall-plus",icon_minus:"ui-icon-circlesmall-minus"},filter:{table_widget:"ui-widget ui-widget-content",srSelect:"ui-widget-content ui-corner-all",srInput:"ui-widget-content ui-corner-all",menu_widget:"ui-widget ui-widget-content ui-corner-all",icon_search:"ui-icon-search",icon_reset:"ui-icon-arrowreturnthick-1-w",icon_query:"ui-icon-comment"},subgrid:{icon_plus:"ui-icon-plus",icon_minus:"ui-icon-minus",icon_open:"ui-icon-carat-1-sw"},treegrid:{icon_plus:"ui-icon-triangle-1-",icon_minus:"ui-icon-triangle-1-s",icon_leaf:"ui-icon-radio-off"},fmatter:{icon_edit:"ui-icon-pencil",icon_add:"ui-icon-plus",icon_save:"ui-icon-disk",icon_cancel:"ui-icon-cancel",icon_del:"ui-icon-trash"}},Bootstrap:{common:{disabled:"ui-disabled",highlight:"success",hover:"active",cornerall:"",cornertop:"",cornerbottom:"",hidden:"",icon_base:"glyphicon",overlay:"ui-overlay",active:"active",error:"bg-danger",button:"btn btn-default",content:""},base:{entrieBox:"",viewBox:"table-responsive",headerTable:"table table-bordered",headerBox:"",rowTable:"table table-bordered",rowBox:"",footerTable:"table table-bordered",footerBox:"",headerDiv:"",gridtitleBox:"",customtoolbarBox:"",loadingBox:"row",rownumBox:"active",scrollBox:"",multiBox:"checkbox",pagerBox:"",toppagerBox:"",pgInput:"form-control",pgSelectBox:"form-control",pgButtonBox:"",icon_first:"glyphicon-step-backward",icon_prev:"glyphicon-backward",icon_next:"glyphicon-forward",icon_end:"glyphicon-step-forward",icon_asc:"glyphicon-triangle-top",icon_desc:"glyphicon-triangle-bottom",icon_caption_open:"glyphicon-circle-arrow-up",icon_caption_close:"glyphicon-circle-arrow-down"},modal:{modal:"modal-content",header:"modal-header",title:"modal-title",content:"modal-body",resizable:"ui-resizable-handle ui-resizable-se",icon_close:"glyphicon-remove-circle",icon_resizable:"glyphicon-import"},celledit:{inputClass:"form-control"},inlinedit:{inputClass:"form-control",icon_edit_nav:"glyphicon-edit",icon_add_nav:"glyphicon-plus",icon_save_nav:"glyphicon-save",icon_cancel_nav:"glyphicon-remove-circle"},formedit:{inputClass:"form-control",icon_prev:"glyphicon-step-backward",icon_next:"glyphicon-step-forward",icon_save:"glyphicon-save",icon_close:"glyphicon-remove-circle",icon_del:"glyphicon-trash",icon_cancel:"glyphicon-remove-circle"},navigator:{icon_edit_nav:"glyphicon-edit",icon_add_nav:"glyphicon-plus",icon_del_nav:"glyphicon-trash",icon_search_nav:"glyphicon-search",icon_refresh_nav:"glyphicon-refresh",icon_view_nav:"glyphicon-info-sign",icon_newbutton_nav:"glyphicon-new-window"},grouping:{icon_plus:"glyphicon-triangle-right",icon_minus:"glyphicon-triangle-bottom"},filter:{table_widget:"table table-condensed",srSelect:"form-control",srInput:"form-control",menu_widget:"",icon_search:"glyphicon-search",icon_reset:"glyphicon-refresh",icon_query:"glyphicon-comment"},subgrid:{icon_plus:"glyphicon-triangle-right",icon_minus:"glyphicon-triangle-bottom",icon_open:"glyphicon-indent-left"},treegrid:{icon_plus:"glyphicon-triangle-right",icon_minus:"glyphicon-triangle-bottom",icon_leaf:"glyphicon-unchecked"},fmatter:{icon_edit:"glyphicon-edit",icon_add:"glyphicon-plus",icon_save:"glyphicon-save",icon_cancel:"glyphicon-remove-circle",icon_del:"glyphicon-trash"}}}}),$.fn.jqGrid=function(a){if("string"==typeof -a){var -b=$.jgrid.getMethod(a);if(!b)throw"jqGrid - No such method: "+a;var -c=$.makeArray(arguments).slice(1);return b.apply(this,c)}return this.each(function(){if(!this.grid){var -b;null!=a&&void -0!==a.data&&(b=a.data,a.data=[]);var -c=$.extend(!0,{url:"",height:150,page:1,rowNum:20,rowTotal:null,records:0,pager:"",pgbuttons:!0,pginput:!0,colModel:[],rowList:[],colNames:[],sortorder:"asc",sortname:"",datatype:"xml",mtype:"GET",altRows:!1,selarrrow:[],savedRow:[],shrinkToFit:!0,xmlReader:{},jsonReader:{},subGrid:!1,subGridModel:[],reccount:0,lastpage:0,lastsort:0,selrow:null,beforeSelectRow:null,onSelectRow:null,onSortCol:null,ondblClickRow:null,onRightClickRow:null,onPaging:null,onSelectAll:null,onInitGrid:null,loadComplete:null,gridComplete:null,loadError:null,loadBeforeSend:null,afterInsertRow:null,beforeRequest:null,beforeProcessing:null,onHeaderClick:null,viewrecords:!1,loadonce:!1,multiselect:!1,multikey:!1,editurl:null,search:!1,caption:"",hidegrid:!0,hiddengrid:!1,postData:{},userData:{},treeGrid:!1,treeGridModel:"nested",treeReader:{},treeANode:-1,ExpandColumn:null,tree_root_level:0,prmNames:{page:"page",rows:"rows",sort:"sidx",order:"sord",search:"_search",nd:"nd",id:"id",oper:"oper",editoper:"edit",addoper:"add",deloper:"del",subgridid:"id",npage:null,totalrows:"totalrows"},forceFit:!1,gridstate:"visible",cellEdit:!1,cellsubmit:"remote",nv:0,loadui:"enable",toolbar:[!1,""],scroll:!1,multiboxonly:!1,deselectAfterSort:!0,scrollrows:!1,autowidth:!1,scrollOffset:18,cellLayout:5,subGridWidth:20,multiselectWidth:30,gridview:!0,rownumWidth:35,rownumbers:!1,pagerpos:"center",recordpos:"right",footerrow:!1,userDataOnFooter:!1,hoverrows:!0,altclass:"ui-priority-secondary",viewsortcols:[!1,"vertical",!0],resizeclass:"",autoencode:!1,remapColumns:[],ajaxGridOptions:{},direction:"ltr",toppager:!1,headertitles:!1,scrollTimeout:40,data:[],_index:{},grouping:!1,groupingView:{groupField:[],groupOrder:[],groupText:[],groupColumnShow:[],groupSummary:[],showSummaryOnHide:!1,sortitems:[],sortnames:[],summary:[],summaryval:[],plusicon:"",minusicon:"",displayField:[],groupSummaryPos:[],formatDisplayField:[],_locgr:!1},ignoreCase:!0,cmTemplate:{},idPrefix:"",multiSort:!1,minColWidth:33,scrollPopUp:!1,scrollTopOffset:0,scrollLeftOffset:"100%",storeNavOptions:!1,regional:"en",styleUI:"jQueryUI",responsive:!1},$.jgrid.defaults,a);void -0!==b&&(c.data=b,a.data=b);var -d=this,e={headers:[],cols:[],footers:[],dragStart:function(a,b,e){var -f=$(this.bDiv).offset().left;this.resizing={idx:a,startX:b.pageX,sOL:b.pageX-f},this.hDiv.style.cursor="col-resize",this.curGbox=$("#rs_m"+$.jgrid.jqID(c.id),"#gbox_"+$.jgrid.jqID(c.id)),this.curGbox.css({display:"block",left:b.pageX-f,top:e[1],height:e[2]}),$(d).triggerHandler("jqGridResizeStart",[b,a]),$.isFunction(c.resizeStart)&&c.resizeStart.call(d,b,a),document.onselectstart=function(){return!1}},dragMove:function(a){if(this.resizing){var -b,d,e=a.pageX-this.resizing.startX,f=this.headers[this.resizing.idx],g="ltr"===c.direction?f.width+e:f.width-e;g>33&&(this.curGbox.css({left:this.resizing.sOL+e}),c.forceFit===!0?(b=this.headers[this.resizing.idx+c.nv],d="ltr"===c.direction?b.width-e:b.width+e,d>c.minColWidth&&(f.newWidth=g,b.newWidth=d)):(this.newWidth="ltr"===c.direction?c.tblwidth+e:c.tblwidth-e,f.newWidth=g))}},dragEnd:function(a){if(this.hDiv.style.cursor="default",this.resizing){var -b=this.resizing.idx,e=this.headers[b].newWidth||this.headers[b].width;e=parseInt(e,10),this.resizing=!1,$("#rs_m"+$.jgrid.jqID(c.id)).css("display","none"),c.colModel[b].width=e,this.headers[b].width=e,this.headers[b].el.style.width=e+"px",this.cols[b].style.width=e+"px",this.footers.length>0&&(this.footers[b].style.width=e+"px"),c.forceFit===!0?(e=this.headers[b+c.nv].newWidth||this.headers[b+c.nv].width,this.headers[b+c.nv].width=e,this.headers[b+c.nv].el.style.width=e+"px",this.cols[b+c.nv].style.width=e+"px",this.footers.length>0&&(this.footers[b+c.nv].style.width=e+"px"),c.colModel[b+c.nv].width=e):(c.tblwidth=this.newWidth||c.tblwidth,$("table:first",this.bDiv).css("width",c.tblwidth+"px"),$("table:first",this.hDiv).css("width",c.tblwidth+"px"),this.hDiv.scrollLeft=this.bDiv.scrollLeft,c.footerrow&&($("table:first",this.sDiv).css("width",c.tblwidth+"px"),this.sDiv.scrollLeft=this.bDiv.scrollLeft)),a&&($(d).triggerHandler("jqGridResizeStop",[e,b]),$.isFunction(c.resizeStop)&&c.resizeStop.call(d,e,b))}this.curGbox=null,document.onselectstart=function(){return!0}},populateVisible:function(){e.timer&&clearTimeout(e.timer),e.timer=null;var -a=$(e.bDiv).height();if(a){var -b,f,g=$("table:first",e.bDiv);if(g[0].rows.length)try{b=g[0].rows[1],f=b?$(b).outerHeight()||e.prevRowHeight:e.prevRowHeight}catch(h){f=e.prevRowHeight}if(f){e.prevRowHeight=f;var -i,j,k,l=c.rowNum,m=e.scrollTop=e.bDiv.scrollTop,n=Math.round(g.position().top)-m,o=n+g.height(),p=f*l;if(a>o&&0>=n&&(void -0===c.lastpage||(parseInt((o+m+p-1)/p,10)||0)<=c.lastpage)&&(j=parseInt((a-o+p-1)/p,10)||1,o>=0||2>j||c.scroll===!0?(i=(Math.round((o+m)/p)||0)+1,n=-1):n=1),n>0&&(i=(parseInt(m/p,10)||0)+1,j=(parseInt((m+a)/p,10)||0)+2-i,k=!0),j){if(c.lastpage&&(i>c.lastpage||1===c.lastpage||i===c.page&&i===c.lastpage))return;e.hDiv.loading?e.timer=setTimeout(e.populateVisible,c.scrollTimeout):(c.page=i,k&&(e.selectionPreserver(g[0]),e.emptyRows.call(g[0],!1,!1)),e.populate(j)),c.scrollPopUp&&null!=c.lastpage&&($("#scroll_g"+c.id).show().html($.jgrid.template($.jgrid.getRegional(d,"defaults.pgtext",c.pgtext),c.page,c.lastpage)).css({top:c.scrollTopOffset+m*((parseInt(c.height,10)-45)/(parseInt(f,10)*parseInt(c.records,10)))+"px",left:c.scrollLeftOffset}),$(this).mouseout(function(){$("#scroll_g"+c.id).hide()}))}}}},scrollGrid:function(a){if(c.scroll){var -b=e.bDiv.scrollTop;void -0===e.scrollTop&&(e.scrollTop=0),b!==e.scrollTop&&(e.scrollTop=b,e.timer&&clearTimeout(e.timer),e.timer=setTimeout(e.populateVisible,c.scrollTimeout))}e.hDiv.scrollLeft=e.bDiv.scrollLeft,c.footerrow&&(e.sDiv.scrollLeft=e.bDiv.scrollLeft),c.frozenColumns&&$(e.fbDiv).scrollTop(e.bDiv.scrollTop),a&&a.stopPropagation()},selectionPreserver:function(a){var -b=a.p,c=b.selrow,d=b.selarrrow?$.makeArray(b.selarrrow):null,e=a.grid.bDiv.scrollLeft,f=function(){var -g;if(b.selrow=null,b.selarrrow=[],b.multiselect&&d&&d.length>0)for(g=0;g<d.length;g++)d[g]!==c&&$(a).jqGrid("setSelection",d[g],!1,null);c&&$(a).jqGrid("setSelection",c,!1,null),a.grid.bDiv.scrollLeft=e,$(a).unbind(".selectionPreserver",f)};$(a).bind("jqGridGridComplete.selectionPreserver",f)}};if("TABLE"!==this.tagName.toUpperCase()||null==this.id)return void -alert("Element is not a table or has no id!");if(void -0!==document.documentMode&&document.documentMode<=5)return void -alert("Grid can not be used in this ('quirks') mode!");var -f,g,h,i=0;for(g -in -$.jgrid.regional)$.jgrid.regional.hasOwnProperty(g)&&(0===i&&(f=g),i++);if(1===i&&f!==c.regional&&(c.regional=f),$(this).empty().attr("tabindex","0"),this.p=c,this.p.useProp=!!$.fn.prop,0===this.p.colNames.length)for(i=0;i<this.p.colModel.length;i++)this.p.colNames[i]=this.p.colModel[i].label||this.p.colModel[i].name;if(this.p.colNames.length!==this.p.colModel.length)return void -alert($.jgrid.getRegional(this,"errors.model"));var -j,k=$.jgrid.getMethod("getStyleUI"),l=d.p.styleUI+".common",m=k(l,"disabled",!0),n=k(l,"highlight",!0),o=k(l,"hover",!0),p=k(l,"cornerall",!0),q=k(l,"icon_base",!0),r=$.jgrid.msie,s=[],t=[],u=[];l=d.p.styleUI+".base",j=$("<div "+k(l,"viewBox",!1,"ui-jqgrid-view")+" role='grid'></div>"),d.p.direction=$.trim(d.p.direction.toLowerCase()),d.p._ald=!1,-1===$.inArray(d.p.direction,["ltr","rtl"])&&(d.p.direction="ltr"),h=d.p.direction,$(j).insertBefore(this),$(this).appendTo(j);var -v=$("<div "+k(l,"entrieBox",!1,"ui-jqgrid")+"></div>");$(v).attr({id:"gbox_"+this.id,dir:h}).insertBefore(j),$(j).attr("id","gview_"+this.id).appendTo(v),$("<div "+k(d.p.styleUI+".common","overlay",!1,"jqgrid-overlay")+" id='lui_"+this.id+"'></div>").insertBefore(j),$("<div "+k(l,"loadingBox",!1,"loading")+" id='load_"+this.id+"'>"+$.jgrid.getRegional(d,"defaults.loadtext",this.p.loadtext)+"</div>").insertBefore(j),$(this).attr({role:"presentation","aria-multiselectable":!!this.p.multiselect,"aria-labelledby":"gbox_"+this.id});var -w,x=["shiftKey","altKey","ctrlKey"],y=function(a,b){return a=parseInt(a,10),isNaN(a)?b||0:a},z=function(a,b,c,f,g,h){var -i,j,k=d.p.colModel[a],l=k.align,m='style="',n=k.classes,o=k.name,p=[];return l&&(m+="text-align:"+l+";"),k.hidden===!0&&(m+="display:none;"),0===b?m+="width: "+e.headers[a].width+"px;":($.isFunction(k.cellattr)||"string"==typeof -k.cellattr&&null!=$.jgrid.cellattr&&$.isFunction($.jgrid.cellattr[k.cellattr]))&&(i=$.isFunction(k.cellattr)?k.cellattr:$.jgrid.cellattr[k.cellattr],j=i.call(d,g,c,f,k,h),j&&"string"==typeof -j&&(j=j.replace(/style/i,"style").replace(/title/i,"title"),j.indexOf("title")>-1&&(k.title=!1),j.indexOf("class")>-1&&(n=void -0),p=j.replace(/\-style/g,"-sti").split(/style/),2===p.length?(p[1]=$.trim(p[1].replace(/\-sti/g,"-style").replace("=","")),(0===p[1].indexOf("'")||0===p[1].indexOf('"'))&&(p[1]=p[1].substring(1)),m+=p[1].replace(/'/gi,'"')):m+='"')),p.length||(p[0]="",m+='"'),m+=(void -0!==n?' class="'+n+'"':"")+(k.title&&c?' title="'+$.jgrid.stripHtml(c)+'"':""),m+=' aria-describedby="'+d.p.id+"_"+o+'"',m+p[0]},A=function(a){return null==a||""===a?" ":d.p.autoencode?$.jgrid.htmlEncode(a):String(a)},B=function(a,b,c,e,f){var -g,h=d.p.colModel[c];if(void -0!==h.formatter){a=""!==String(d.p.idPrefix)?$.jgrid.stripPref(d.p.idPrefix,a):a;var -i={rowId:a,colModel:h,gid:d.p.id,pos:c,styleUI:d.p.styleUI};g=$.isFunction(h.formatter)?h.formatter.call(d,b,i,e,f):$.fmatter?$.fn.fmatter.call(d,h.formatter,b,i,e,f):A(b)}else -g=A(b);return g},C=function(a,b,c,d,e,f){var -g,h;return g=B(a,b,c,e,"add"),h=z(c,d,g,e,a,f),'<td role="gridcell" '+h+">"+g+"</td>"},D=function(a,b,c,e,f){var -g='<input role="checkbox" type="checkbox" id="jqg_'+d.p.id+"_"+a+'" '+f+' name="jqg_'+d.p.id+"_"+a+'"'+(e?'checked="checked"':"")+"/>",h=z(b,c,"",null,a,!0);return'<td role="gridcell" '+h+">"+g+"</td>"},E=function(a,b,c,d,e){var -f=(parseInt(c,10)-1)*parseInt(d,10)+1+b,g=z(a,b,f,null,b,!0);return'<td role="gridcell" '+e+" "+g+">"+f+"</td>"},F=function(a){var -b,c,e=[],f=0;for(c=0;c<d.p.colModel.length;c++)b=d.p.colModel[c],"cb"!==b.name&&"subgrid"!==b.name&&"rn"!==b.name&&(e[f]="local"===a?b.name:"xml"===a||"xmlstring"===a?b.xmlmap||b.name:b.jsonmap||b.name,d.p.keyName!==!1&&b.key===!0&&(d.p.keyName=e[f]),f++);return e},G=function(a){var -b=d.p.remapColumns;return b&&b.length||(b=$.map(d.p.colModel,function(a,b){return b})),a&&(b=$.map(b,function(b){return a>b?null:b-a})),b},H=function(a,b){var -c;this.p.deepempty?$(this.rows).slice(1).remove():(c=this.rows.length>0?this.rows[0]:null,$(this.firstChild).empty().append(c)),a&&this.p.scroll&&($(this.grid.bDiv.firstChild).css({height:"auto"}),$(this.grid.bDiv.firstChild.firstChild).css({height:"0px",display:"none"}),0!==this.grid.bDiv.scrollTop&&(this.grid.bDiv.scrollTop=0)),b===!0&&this.p.treeGrid&&!this.p.loadonce&&(this.p.data=[],this.p._index={})},I=function(){var -a,b,c,e,f,g,h,i,j,k,l,m=d.p,n=m.data,o=n.length,p=m.localReader,q=m.colModel,r=p.cell,s=(m.multiselect===!0?1:0)+(m.subGrid===!0?1:0)+(m.rownumbers===!0?1:0),t=m.scroll?$.jgrid.randId():1;if("local"===m.datatype&&p.repeatitems===!0)for(j=G(s),k=F("local"),e=m.keyIndex===!1?$.isFunction(p.id)?p.id.call(d,n):p.id:m.keyIndex,a=0;o>a;a++){for(c=n[a],f=$.jgrid.getAccessor(c,e),void -0===f&&("number"==typeof -e&&null!=q[e+s]&&(f=$.jgrid.getAccessor(c,q[e+s].name)),void -0===f&&(f=t+a,r&&(g=$.jgrid.getAccessor(c,r)||c,f=null!=g&&void -0!==g[e]?g[e]:f,g=null))),i={},i[p.id]=f,r&&(c=$.jgrid.getAccessor(c,r)||c),l=$.isArray(c)?j:k,b=0;b<l.length;b++)h=$.jgrid.getAccessor(c,l[b]),i[q[b+s].name]=h;$.extend(!0,n[a],i)}},J=function(){var -a,b,c,e=d.p.data.length;for(a=d.p.keyName===!1||d.p.loadonce===!0?d.p.localReader.id:d.p.keyName,d.p._index=[],b=0;e>b;b++)c=$.jgrid.getAccessor(d.p.data[b],a),void -0===c&&(c=String(b+1)),d.p._index[c]=b},K=function(a,b,c,e,f){var -g,h="-1",i="",j=b?"display:none;":"",k=$(d).triggerHandler("jqGridRowAttr",[e,f,a]);if("object"!=typeof -k&&(k=$.isFunction(d.p.rowattr)?d.p.rowattr.call(d,e,f,a):"string"==typeof -d.p.rowattr&&null!=$.jgrid.rowattr&&$.isFunction($.jgrid.rowattr[d.p.rowattr])?$.jgrid.rowattr[d.p.rowattr].call(d,e,f,a):{}),!$.isEmptyObject(k)){k.hasOwnProperty("id")&&(a=k.id,delete -k.id),k.hasOwnProperty("tabindex")&&(h=k.tabindex,delete -k.tabindex),k.hasOwnProperty("style")&&(j+=k.style,delete -k.style),k.hasOwnProperty("class")&&(c+=" "+k["class"],delete -k["class"]);try{delete -k.role}catch(l){}for(g -in -k)k.hasOwnProperty(g)&&(i+=" "+g+"="+k[g])}return'<tr role="row" id="'+a+'" tabindex="'+h+'" class="'+c+'"'+(""===j?"":' style="'+j+'"')+i+">"},L=function(a,b,c,e){var -f=new -Date,g="local"!==d.p.datatype&&d.p.loadonce||"xmlstring"===d.p.datatype,h="_id_",i=d.p.xmlReader,j="local"===d.p.datatype?"local":"xml";if(g&&(d.p.data=[],d.p._index={},d.p.localReader.id=h),d.p.reccount=0,$.isXMLDoc(a)){-1!==d.p.treeANode||d.p.scroll?b=b>1?b:1:(H.call(d,!1,!0),b=1);var -m,n,o,p,q,r,s,t,u,v,w=$(d),x=0,z=d.p.multiselect===!0?1:0,A=0,B=d.p.rownumbers===!0?1:0,I=[],J={},L=[],M=d.p.altRows===!0?d.p.altclass:"",N=k(l,"rowBox",!0,"jqgrow ui-row-"+d.p.direction);d.p.subGrid===!0&&(A=1,p=$.jgrid.getMethod("addSubGridCell")),i.repeatitems||(I=F(j)),q=d.p.keyName===!1?$.isFunction(i.id)?i.id.call(d,a):i.id:d.p.keyName,r=-1===String(q).indexOf("[")?I.length?function(a,b){return $(q,a).text()||b}:function(a,b){return $(i.cell,a).eq(q).text()||b}:function(a,b){return a.getAttribute(q.replace(/[\[\]]/g,""))||b},d.p.userData={},d.p.page=y($.jgrid.getXmlData(a,i.page),d.p.page),d.p.lastpage=y($.jgrid.getXmlData(a,i.total),1),d.p.records=y($.jgrid.getXmlData(a,i.records)),$.isFunction(i.userdata)?d.p.userData=i.userdata.call(d,a)||{}:$.jgrid.getXmlData(a,i.userdata,!0).each(function(){d.p.userData[this.getAttribute("name")]=$(this).text()});var -O=$.jgrid.getXmlData(a,i.root,!0);O=$.jgrid.getXmlData(O,i.row,!0),O||(O=[]);var -P,Q=O.length,R=0,S=[],T=parseInt(d.p.rowNum,10),U=d.p.scroll?$.jgrid.randId():1;if(Q>0&&d.p.page<=0&&(d.p.page=1),O&&Q){e&&(T*=e+1);var -V,W=$.isFunction(d.p.afterInsertRow),X=!1,Y=$("#"+$.jgrid.jqID(d.p.id)+" tbody:first"),Z=B?k(l,"rownumBox",!1,"jqgrid-rownum"):"",_=z?k(l,"multiBox",!1,"cbox"):"";for(d.p.grouping&&(X=d.p.groupingView.groupCollapse===!0,V=$.jgrid.getMethod("groupingPrepare"));Q>R;){t=O[R],u=r(t,U+R),u=d.p.idPrefix+u,P=0===b?0:b+1,v=N+((P+R)%2===1?" "+M:"");var -ab=L.length;if(L.push(""),B&&L.push(E(0,R,d.p.page,d.p.rowNum,Z)),z&&L.push(D(u,B,R,!1,_)),A&&L.push(p.call(w,z+B,R+b)),i.repeatitems){s||(s=G(z+A+B));var -bb=$.jgrid.getXmlData(t,i.cell,!0);$.each(s,function(a){var -c=bb[this];return c?(o=c.textContent||c.text,J[d.p.colModel[a+z+A+B].name]=o,void -L.push(C(u,o,a+z+A+B,R+b,t,J))):!1})}else -for(m=0;m<I.length;m++)o=$.jgrid.getXmlData(t,I[m]),J[d.p.colModel[m+z+A+B].name]=o,L.push(C(u,o,m+z+A+B,R+b,t,J));if(L[ab]=K(u,X,v,J,t),L.push("</tr>"),d.p.grouping&&(S.push(L),d.p.groupingView._locgr||V.call(w,J,R),L=[]),(g||d.p.treeGrid===!0&&!d.p._ald)&&(J[h]=$.jgrid.stripPref(d.p.idPrefix,u),d.p.data.push(J),d.p._index[J[h]]=d.p.data.length-1),d.p.gridview===!1&&(Y.append(L.join("")),w.triggerHandler("jqGridAfterInsertRow",[u,J,t]),W&&d.p.afterInsertRow.call(d,u,J,t),L=[]),J={},x++,R++,x===T)break}}if(d.p.gridview===!0&&(n=d.p.treeANode>-1?d.p.treeANode:0,d.p.grouping?g||(w.jqGrid("groupingRender",S,d.p.colModel.length,d.p.page,T),S=null):d.p.treeGrid===!0&&n>0?$(d.rows[n]).after(L.join("")):(Y.append(L.join("")),d.grid.cols=d.rows[0].cells)),d.p.subGrid===!0)try{w.jqGrid("addSubGrid",z+B)}catch(cb){}if(d.p.totaltime=new -Date-f,x>0&&0===d.p.records&&(d.p.records=Q),L=null,d.p.treeGrid===!0)try{w.jqGrid("setTreeNode",n+1,x+n+1)}catch(db){}if(d.p.reccount=x,d.p.treeANode=-1,d.p.userDataOnFooter&&w.jqGrid("footerData","set",d.p.userData,!0),g&&(d.p.records=Q,d.p.lastpage=Math.ceil(Q/T)),c||d.updatepager(!1,!0),g){for(;Q>x;){if(t=O[x],u=r(t,x+U),u=d.p.idPrefix+u,i.repeatitems){s||(s=G(z+A+B));var -eb=$.jgrid.getXmlData(t,i.cell,!0);$.each(s,function(a){var -b=eb[this];return b?(o=b.textContent||b.text,void(J[d.p.colModel[a+z+A+B].name]=o)):!1})}else -for(m=0;m<I.length;m++)o=$.jgrid.getXmlData(t,I[m]),J[d.p.colModel[m+z+A+B].name]=o;J[h]=$.jgrid.stripPref(d.p.idPrefix,u),d.p.grouping&&V.call(w,J,x),d.p.data.push(J),d.p._index[J[h]]=d.p.data.length-1,J={},x++}d.p.grouping&&(d.p.groupingView._locgr=!0,w.jqGrid("groupingRender",S,d.p.colModel.length,d.p.page,T),S=null)}}},M=function(a,b,c,e){var -f=new -Date;if(a){-1!==d.p.treeANode||d.p.scroll?b=b>1?b:1:(H.call(d,!1,!0),b=1);var -g,h,i="_id_",j="local"!==d.p.datatype&&d.p.loadonce||"jsonstring"===d.p.datatype;j&&(d.p.data=[],d.p._index={},d.p.localReader.id=i),d.p.reccount=0,"local"===d.p.datatype?(g=d.p.localReader,h="local"):(g=d.p.jsonReader,h="json");var -m,o,p,q,r,s,t,u,v,w,x,z,A=$(d),B=0,I=[],J=d.p.multiselect?1:0,L=d.p.subGrid===!0?1:0,M=d.p.rownumbers===!0?1:0,N=G(J+L+M),O=F(h),P={},Q=[],R=d.p.altRows===!0?d.p.altclass:"",S=k(l,"rowBox",!0,"jqgrow ui-row-"+d.p.direction);d.p.page=y($.jgrid.getAccessor(a,g.page),d.p.page),d.p.lastpage=y($.jgrid.getAccessor(a,g.total),1),d.p.records=y($.jgrid.getAccessor(a,g.records)),d.p.userData=$.jgrid.getAccessor(a,g.userdata)||{},L&&(r=$.jgrid.getMethod("addSubGridCell")),v=d.p.keyName===!1?$.isFunction(g.id)?g.id.call(d,a):g.id:d.p.keyName,u=$.jgrid.getAccessor(a,g.root),null==u&&$.isArray(a)&&(u=a),u||(u=[]),t=u.length,o=0,t>0&&d.p.page<=0&&(d.p.page=1);var -T,U,V=parseInt(d.p.rowNum,10),W=d.p.scroll?$.jgrid.randId():1,X=!1;e&&(V*=e+1),"local"!==d.p.datatype||d.p.deselectAfterSort||(X=!0);var -Y,Z=$.isFunction(d.p.afterInsertRow),_=[],ab=!1,bb=$("#"+$.jgrid.jqID(d.p.id)+" tbody:first"),cb=M?k(l,"rownumBox",!1,"jqgrid-rownum"):"",db=J?k(l,"multiBox",!1,"cbox"):"";for(d.p.grouping&&(ab=d.p.groupingView.groupCollapse===!0,Y=$.jgrid.getMethod("groupingPrepare"));t>o;){if(q=u[o],x=$.jgrid.getAccessor(q,v),void -0===x&&("number"==typeof -v&&null!=d.p.colModel[v+J+L+M]&&(x=$.jgrid.getAccessor(q,d.p.colModel[v+J+L+M].name)),void -0===x&&(x=W+o,0===I.length&&g.cell))){var -eb=$.jgrid.getAccessor(q,g.cell)||q;x=null!=eb&&void -0!==eb[v]?eb[v]:x,eb=null}x=d.p.idPrefix+x,T=1===b?0:b,z=S+((T+o)%2===1?" "+R:""),X&&(U=d.p.multiselect?-1!==$.inArray(x,d.p.selarrrow):x===d.p.selrow);var -fb=Q.length;for(Q.push(""),M&&Q.push(E(0,o,d.p.page,d.p.rowNum,cb)),J&&Q.push(D(x,M,o,U,db)),L&&Q.push(r.call(A,J+M,o+b)),s=O,g.repeatitems&&(g.cell&&(q=$.jgrid.getAccessor(q,g.cell)||q),$.isArray(q)&&(s=N)),p=0;p<s.length;p++)m=$.jgrid.getAccessor(q,s[p]),P[d.p.colModel[p+J+L+M].name]=m,Q.push(C(x,m,p+J+L+M,o+b,q,P));if(z+=U?" "+n:"",Q[fb]=K(x,ab,z,P,q),Q.push("</tr>"),d.p.grouping&&(_.push(Q),d.p.groupingView._locgr||Y.call(A,P,o),Q=[]),(j||d.p.treeGrid===!0&&!d.p._ald)&&(P[i]=$.jgrid.stripPref(d.p.idPrefix,x),d.p.data.push(P),d.p._index[P[i]]=d.p.data.length-1),d.p.gridview===!1&&(bb.append(Q.join("")),A.triggerHandler("jqGridAfterInsertRow",[x,P,q]),Z&&d.p.afterInsertRow.call(d,x,P,q),Q=[]),P={},B++,o++,B===V)break}if(d.p.gridview===!0&&(w=d.p.treeANode>-1?d.p.treeANode:0,d.p.grouping?j||(A.jqGrid("groupingRender",_,d.p.colModel.length,d.p.page,V),_=null):d.p.treeGrid===!0&&w>0?$(d.rows[w]).after(Q.join("")):(bb.append(Q.join("")),d.grid.cols=d.rows[0].cells)),d.p.subGrid===!0)try{A.jqGrid("addSubGrid",J+M)}catch(gb){}if(d.p.totaltime=new -Date-f,B>0&&0===d.p.records&&(d.p.records=t),Q=null,d.p.treeGrid===!0)try{A.jqGrid("setTreeNode",w+1,B+w+1)}catch(hb){}if(d.p.reccount=B,d.p.treeANode=-1,d.p.userDataOnFooter&&A.jqGrid("footerData","set",d.p.userData,!0),j&&(d.p.records=t,d.p.lastpage=Math.ceil(t/V)),c||d.updatepager(!1,!0),j){for(;t>B&&u[B];){if(q=u[B],x=$.jgrid.getAccessor(q,v),void -0===x&&("number"==typeof -v&&null!=d.p.colModel[v+J+L+M]&&(x=$.jgrid.getAccessor(q,d.p.colModel[v+J+L+M].name)),void -0===x&&(x=W+B,0===I.length&&g.cell))){var -ib=$.jgrid.getAccessor(q,g.cell)||q;x=null!=ib&&void -0!==ib[v]?ib[v]:x,ib=null}if(q){for(x=d.p.idPrefix+x,s=O,g.repeatitems&&(g.cell&&(q=$.jgrid.getAccessor(q,g.cell)||q),$.isArray(q)&&(s=N)),p=0;p<s.length;p++)P[d.p.colModel[p+J+L+M].name]=$.jgrid.getAccessor(q,s[p]);P[i]=$.jgrid.stripPref(d.p.idPrefix,x),d.p.grouping&&Y.call(A,P,B),d.p.data.push(P),d.p._index[P[i]]=d.p.data.length-1,P={}}B++}d.p.grouping&&(d.p.groupingView._locgr=!0,A.jqGrid("groupingRender",_,d.p.colModel.length,d.p.page,V),_=null)}}},N=function(){function -a(b){var -c,e,f,g,h,i,k=0;if(null!=b.groups){for(e=b.groups.length&&"OR"===b.groupOp.toString().toUpperCase(),e&&q.orBegin(),c=0;c<b.groups.length;c++){k>0&&e&&q.or();try{a(b.groups[c])}catch(l){alert(l)}k++}e&&q.orEnd()}if(null!=b.rules)try{for(f=b.rules.length&&"OR"===b.groupOp.toString().toUpperCase(),f&&q.orBegin(),c=0;c<b.rules.length;c++)h=b.rules[c],g=b.groupOp.toString().toUpperCase(),p[h.op]&&h.field&&(k>0&&g&&"OR"===g&&(q=q.or()),i=j[h.field],"date"===i.stype&&i.srcfmt&&i.newfmt&&i.srcfmt!==i.newfmt&&(h.data=$.jgrid.parseDate.call(d,i.newfmt,h.data,i.srcfmt)),q=p[h.op](q,g)(h.field,h.data,j[h.field])),k++;f&&q.orEnd()}catch(m){alert(m)}}var -b,c,e,f,g=d.p.multiSort?[]:"",h=[],i=!1,j={},k=[],l=[];if($.isArray(d.p.data)){var -m,n,o=d.p.grouping?d.p.groupingView:!1;if($.each(d.p.colModel,function(){if(c=this.sorttype||"text","date"===c||"datetime"===c?(this.formatter&&"string"==typeof -this.formatter&&"date"===this.formatter?(b=this.formatoptions&&this.formatoptions.srcformat?this.formatoptions.srcformat:$.jgrid.getRegional(d,"formatter.date.srcformat"),e=this.formatoptions&&this.formatoptions.newformat?this.formatoptions.newformat:$.jgrid.getRegional(d,"formatter.date.newformat")):b=e=this.datefmt||"Y-m-d",j[this.name]={stype:c,srcfmt:b,newfmt:e,sfunc:this.sortfunc||null}):j[this.name]={stype:c,srcfmt:"",newfmt:"",sfunc:this.sortfunc||null},d.p.grouping)for(n=0,m=o.groupField.length;m>n;n++)if(this.name===o.groupField[n]){var -a=this.name;this.index&&(a=this.index),k[n]=j[a],l[n]=a}d.p.multiSort||i||this.index!==d.p.sortname&&this.name!==d.p.sortname||(g=this.name,i=!0)}),d.p.multiSort&&(g=s,h=t),d.p.treeGrid&&d.p._sort)return void -$(d).jqGrid("SortTree",g,d.p.sortorder,j[g].stype||"text",j[g].srcfmt||"");var -p={eq:function(a){return a.equals},ne:function(a){return a.notEquals},lt:function(a){return a.less},le:function(a){return a.lessOrEquals},gt:function(a){return a.greater},ge:function(a){return a.greaterOrEquals},cn:function(a){return a.contains},nc:function(a,b){return"OR"===b?a.orNot().contains:a.andNot().contains},bw:function(a){return a.startsWith},bn:function(a,b){return"OR"===b?a.orNot().startsWith:a.andNot().startsWith},en:function(a,b){return"OR"===b?a.orNot().endsWith:a.andNot().endsWith},ew:function(a){return a.endsWith},ni:function(a,b){return"OR"===b?a.orNot().equals:a.andNot().equals},"in":function(a){return a.equals},nu:function(a){return a.isNull},nn:function(a,b){return"OR"===b?a.orNot().isNull:a.andNot().isNull}},q=$.jgrid.from.call(d,d.p.data);if(d.p.ignoreCase&&(q=q.ignoreCase()),d.p.search===!0){var -r=d.p.postData.filters;if(r)"string"==typeof -r&&(r=$.jgrid.parse(r)),a(r);else -try{f=j[d.p.postData.searchField],"date"===f.stype&&f.srcfmt&&f.newfmt&&f.srcfmt!==f.newfmt&&(d.p.postData.searchString=$.jgrid.parseDate.call(d,f.newfmt,d.p.postData.searchString,f.srcfmt)),q=p[d.p.postData.searchOper](q)(d.p.postData.searchField,d.p.postData.searchString,j[d.p.postData.searchField])}catch(u){}}else -d.p.treeGrid&&"nested"===d.p.treeGridModel&&q.orderBy(d.p.treeReader.left_field,"asc","integer","",null);if(d.p.treeGrid&&"adjacency"===d.p.treeGridModel&&(m=0,g=null),d.p.grouping)for(n=0;m>n;n++)q.orderBy(l[n],o.groupOrder[n],k[n].stype,k[n].srcfmt);d.p.multiSort?$.each(g,function(a){q.orderBy(this,h[a],j[this].stype,j[this].srcfmt,j[this].sfunc)}):g&&d.p.sortorder&&i&&("DESC"===d.p.sortorder.toUpperCase()?q.orderBy(d.p.sortname,"d",j[g].stype,j[g].srcfmt,j[g].sfunc):q.orderBy(d.p.sortname,"a",j[g].stype,j[g].srcfmt,j[g].sfunc));var -v=q.select(),w=parseInt(d.p.rowNum,10),x=v.length,y=parseInt(d.p.page,10),z=Math.ceil(x/w),A={};if((d.p.search||d.p.resetsearch)&&d.p.grouping&&d.p.groupingView._locgr){d.p.groupingView.groups=[];var -B,C,D,E=$.jgrid.getMethod("groupingPrepare");if(d.p.footerrow&&d.p.userDataOnFooter){for(C -in -d.p.userData)d.p.userData.hasOwnProperty(C)&&(d.p.userData[C]=0);D=!0}for(B=0;x>B;B++){if(D)for(C -in -d.p.userData)d.p.userData.hasOwnProperty(C)&&(d.p.userData[C]+=parseFloat(v[B][C]||0));E.call($(d),v[B],B,w)}}return v=d.p.treeGrid&&d.p.search?$(d).jqGrid("searchTree",v):v.slice((y-1)*w,y*w),q=null,j=null,A[d.p.localReader.total]=z,A[d.p.localReader.page]=y,A[d.p.localReader.records]=x,A[d.p.localReader.root]=v,A[d.p.localReader.userdata]=d.p.userData,v=null,A}},O=function(a,b){var -c,e,f,g,h,i,j,n,p="",q=d.p.pager?$.jgrid.jqID(d.p.pager.substr(1)):"",r=q?"_"+q:"",s=d.p.toppager?"_"+d.p.toppager.substr(1):"";if(f=parseInt(d.p.page,10)-1,0>f&&(f=0),f*=parseInt(d.p.rowNum,10),h=f+d.p.reccount,d.p.scroll){var -t=$("tbody:first > tr:gt(0)",d.grid.bDiv);f=h-t.length,d.p.reccount=t.length;var -u=t.outerHeight()||d.grid.prevRowHeight;if(u){var -v=f*u,w=parseInt(d.p.records,10)*u;$(">div:first",d.grid.bDiv).css({height:w}).children("div:first").css({height:v,display:v?"":"none"}),0===d.grid.bDiv.scrollTop&&d.p.page>1&&(d.grid.bDiv.scrollTop=d.p.rowNum*(d.p.page-1)*u)}d.grid.bDiv.scrollLeft=d.grid.hDiv.scrollLeft}if(p=d.p.pager||"",p+=d.p.toppager?p?","+d.p.toppager:d.p.toppager:""){if(j=$.jgrid.getRegional(d,"formatter.integer"),c=y(d.p.page),e=y(d.p.lastpage),$(".selbox",p)[this.p.useProp?"prop":"attr"]("disabled",!1),d.p.pginput===!0&&($("#input"+r).html($.jgrid.template($.jgrid.getRegional(d,"defaults.pgtext",d.p.pgtext)||"","<input "+k(l,"pgInput",!1,"ui-pg-input")+" type='text' size='2' maxlength='7' value='0' role='textbox'/>","<span id='sp_1_"+$.jgrid.jqID(q)+"'></span>")),d.p.toppager&&$("#input_t"+s).html($.jgrid.template($.jgrid.getRegional(d,"defaults.pgtext",d.p.pgtext)||"","<input "+k(l,"pgInput",!1,"ui-pg-input")+" type='text' size='2' maxlength='7' value='0' role='textbox'/>","<span id='sp_1_"+$.jgrid.jqID(q)+"_toppager'></span>")),$(".ui-pg-input",p).val(d.p.page),n=d.p.toppager?"#sp_1"+r+",#sp_1"+r+"_toppager":"#sp_1"+r,$(n).html($.fmatter?$.fmatter.util.NumberFormat(d.p.lastpage,j):d.p.lastpage)),d.p.viewrecords)if(0===d.p.reccount)$(".ui-paging-info",p).html($.jgrid.getRegional(d,"defaults.emptyrecords",d.p.emptyrecords));else{g=f+1,i=d.p.records,$.fmatter&&(g=$.fmatter.util.NumberFormat(g,j),h=$.fmatter.util.NumberFormat(h,j),i=$.fmatter.util.NumberFormat(i,j));var -x=$.jgrid.getRegional(d,"defaults.recordtext",d.p.recordtext);$(".ui-paging-info",p).html($.jgrid.template(x,g,h,i))}d.p.pgbuttons===!0&&(0>=c&&(c=e=0),1===c||0===c?($("#first"+r+", #prev"+r).addClass(m).removeClass(o),d.p.toppager&&$("#first_t"+s+", #prev_t"+s).addClass(m).removeClass(o)):($("#first"+r+", #prev"+r).removeClass(m),d.p.toppager&&$("#first_t"+s+", #prev_t"+s).removeClass(m)),c===e||0===c?($("#next"+r+", #last"+r).addClass(m).removeClass(o),d.p.toppager&&$("#next_t"+s+", #last_t"+s).addClass(m).removeClass(o)):($("#next"+r+", #last"+r).removeClass(m),d.p.toppager&&$("#next_t"+s+", #last_t"+s).removeClass(m)))}a===!0&&d.p.rownumbers===!0&&$(">td.jqgrid-rownum",d.rows).each(function(a){$(this).html(f+1+a)}),b&&d.p.jqgdnd&&$(d).jqGrid("gridDnD","updateDnD"),$(d).triggerHandler("jqGridGridComplete"),$.isFunction(d.p.gridComplete)&&d.p.gridComplete.call(d),$(d).triggerHandler("jqGridAfterGridComplete")},P=function(){d.grid.hDiv.loading=!0,d.p.hiddengrid||$(d).jqGrid("progressBar",{method:"show",loadtype:d.p.loadui,htmlcontent:$.jgrid.getRegional(d,"defaults.loadtext",d.p.loadtext)})},Q=function(){d.grid.hDiv.loading=!1,$(d).jqGrid("progressBar",{method:"hide",loadtype:d.p.loadui})},R=function(a){if(!d.grid.hDiv.loading){var -b,c,e=d.p.scroll&&a===!1,f={},g=d.p.prmNames;d.p.page<=0&&(d.p.page=Math.min(1,d.p.lastpage)),null!==g.search&&(f[g.search]=d.p.search),null!==g.nd&&(f[g.nd]=(new -Date).getTime()),null!==g.rows&&(f[g.rows]=d.p.rowNum),null!==g.page&&(f[g.page]=d.p.page),null!==g.sort&&(f[g.sort]=d.p.sortname),null!==g.order&&(f[g.order]=d.p.sortorder),null!==d.p.rowTotal&&null!==g.totalrows&&(f[g.totalrows]=d.p.rowTotal);var -h=$.isFunction(d.p.loadComplete),i=h?d.p.loadComplete:null,j=0;if(a=a||1,a>1?null!==g.npage?(f[g.npage]=a,j=a-1,a=1):i=function(b){d.p.page++,d.grid.hDiv.loading=!1,h&&d.p.loadComplete.call(d,b),R(a-1)}:null!==g.npage&&delete -d.p.postData[g.npage],d.p.grouping){$(d).jqGrid("groupingSetup");var -k,l=d.p.groupingView,m="";for(k=0;k<l.groupField.length;k++){var -n=l.groupField[k];$.each(d.p.colModel,function(a,b){b.name===n&&b.index&&(n=b.index)}),m+=n+" "+l.groupOrder[k]+", "}f[g.sort]=m+f[g.sort]}$.extend(d.p.postData,f);var -o=d.p.scroll?d.rows.length-1:1,p=$(d).triggerHandler("jqGridBeforeRequest");if(p===!1||"stop"===p)return;if($.isFunction(d.p.datatype))return void -d.p.datatype.call(d,d.p.postData,"load_"+d.p.id,o,a,j);if($.isFunction(d.p.beforeRequest)&&(p=d.p.beforeRequest.call(d),void -0===p&&(p=!0),p===!1))return;switch(b=d.p.datatype.toLowerCase()){case"json":case"jsonp":case"xml":case"script":$.ajax($.extend({url:d.p.url,type:d.p.mtype,dataType:b,data:$.isFunction(d.p.serializeGridData)?d.p.serializeGridData.call(d,d.p.postData):d.p.postData,success:function(c,f,g){return $.isFunction(d.p.beforeProcessing)&&d.p.beforeProcessing.call(d,c,f,g)===!1?void -Q():("xml"===b?L(c,o,a>1,j):M(c,o,a>1,j),$(d).triggerHandler("jqGridLoadComplete",[c]),i&&i.call(d,c),$(d).triggerHandler("jqGridAfterLoadComplete",[c]),e&&d.grid.populateVisible(),(d.p.loadonce||d.p.treeGrid)&&(d.p.datatype="local"),c=null,void(1===a&&Q()))},error:function(b,c,e){$.isFunction(d.p.loadError)&&d.p.loadError.call(d,b,c,e),1===a&&Q(),b=null},beforeSend:function(a,b){var -c=!0;return $.isFunction(d.p.loadBeforeSend)&&(c=d.p.loadBeforeSend.call(d,a,b)),void -0===c&&(c=!0),c===!1?!1:void -P()}},$.jgrid.ajaxOptions,d.p.ajaxGridOptions));break;case"xmlstring":P(),c="string"!=typeof -d.p.datastr?d.p.datastr:$.parseXML(d.p.datastr),L(c),$(d).triggerHandler("jqGridLoadComplete",[c]),h&&d.p.loadComplete.call(d,c),$(d).triggerHandler("jqGridAfterLoadComplete",[c]),d.p.datatype="local",d.p.datastr=null,Q();break;case"jsonstring":P(),c="string"==typeof -d.p.datastr?$.jgrid.parse(d.p.datastr):d.p.datastr,M(c),$(d).triggerHandler("jqGridLoadComplete",[c]),h&&d.p.loadComplete.call(d,c),$(d).triggerHandler("jqGridAfterLoadComplete",[c]),d.p.datatype="local",d.p.datastr=null,Q();break;case"local":case"clientside":P(),d.p.datatype="local",d.p._ald=!0;var -q=N();M(q,o,a>1,j),$(d).triggerHandler("jqGridLoadComplete",[q]),i&&i.call(d,q),$(d).triggerHandler("jqGridAfterLoadComplete",[q]),e&&d.grid.populateVisible(),Q(),d.p._ald=!1}d.p._sort=!1}},S=function(a){$("#cb_"+$.jgrid.jqID(d.p.id),d.grid.hDiv)[d.p.useProp?"prop":"attr"]("checked",a);var -b=d.p.frozenColumns?d.p.id+"_frozen":"";b&&$("#cb_"+$.jgrid.jqID(d.p.id),d.grid.fhDiv)[d.p.useProp?"prop":"attr"]("checked",a)},T=function(a,b){var -c,e,f,g,i,j,n,p="<td class='ui-pg-button "+m+"'><span class='ui-separator'></span></td>",r="",s="<table class='ui-pg-table ui-common-table ui-paging-pager'><tbody><tr>",t="",u=function(a,b){var -c;return $.isFunction(d.p.onPaging)&&(c=d.p.onPaging.call(d,a,b)),"stop"===c?!1:(d.p.selrow=null,d.p.multiselect&&(d.p.selarrrow=[],S(!1)),d.p.savedRow=[],!0)};if(a=a.substr(1),b+="_"+a,c="pg_"+a,e=a+"_left",f=a+"_center",g=a+"_right",$("#"+$.jgrid.jqID(a)).append("<div id='"+c+"' class='ui-pager-control' role='group'><table class='ui-pg-table ui-common-table ui-pager-table'><tbody><tr><td id='"+e+"' align='left'></td><td id='"+f+"' align='center' style='white-space:pre;'></td><td id='"+g+"' align='right'></td></tr></tbody></table></div>").attr("dir","ltr"),d.p.rowList.length>0){t='<td dir="'+h+'">',t+="<select "+k(l,"pgSelectBox",!1,"ui-pg-selbox")+' role="listbox" title="'+($.jgrid.getRegional(d,"defaults.pgrecs",d.p.pgrecs)||"")+'">';var -v;for(n=0;n<d.p.rowList.length;n++)v=d.p.rowList[n].toString().split(":"),1===v.length&&(v[1]=v[0]),t+='<option role="option" value="'+v[0]+'"'+(y(d.p.rowNum,0)===y(v[0],0)?' selected="selected"':"")+">"+v[1]+"</option>";t+="</select></td>"}if("rtl"===h&&(s+=t),d.p.pginput===!0&&(r="<td id='input"+b+"' dir='"+h+"'>"+$.jgrid.template($.jgrid.getRegional(d,"defaults.pgtext",d.p.pgtext)||"","<input class='ui-pg-input' type='text' size='2' maxlength='7' value='0' role='textbox'/>","<span id='sp_1_"+$.jgrid.jqID(a)+"'></span>")+"</td>"),d.p.pgbuttons===!0){var -w=["first"+b,"prev"+b,"next"+b,"last"+b],x=k(l,"pgButtonBox",!0,"ui-pg-button"),z=[$.jgrid.getRegional(d,"defaults.pgfirst",d.p.pgfirst)||"",$.jgrid.getRegional(d,"defaults.pgprev",d.p.pgprev)||"",$.jgrid.getRegional(d,"defaults.pgnext",d.p.pgnext)||"",$.jgrid.getRegional(d,"defaults.pglast",d.p.pglast)||""];"rtl"===h&&(w.reverse(),z.reverse()),s+="<td id='"+w[0]+"' class='"+x+"' title='"+z[0]+"'><span "+k(l,"icon_first",!1,q)+"></span></td>",s+="<td id='"+w[1]+"' class='"+x+"' title='"+z[1]+"'><span "+k(l,"icon_prev",!1,q)+"></span></td>",s+=""!==r?p+r+p:"",s+="<td id='"+w[2]+"' class='"+x+"' title='"+z[2]+"'><span "+k(l,"icon_next",!1,q)+"></span></td>",s+="<td id='"+w[3]+"' class='"+x+"' title='"+z[3]+"'><span "+k(l,"icon_end",!1,q)+"></span></td>"}else""!==r&&(s+=r);"ltr"===h&&(s+=t),s+="</tr></tbody></table>",d.p.viewrecords===!0&&$("td#"+a+"_"+d.p.recordpos,"#"+c).append("<div dir='"+h+"' style='text-align:"+d.p.recordpos+"' class='ui-paging-info'></div>"),$("td#"+a+"_"+d.p.pagerpos,"#"+c).append(s),j=$("#gbox_"+$.jgrid.jqID(d.p.id)).css("font-size")||"11px",$("#gbox_"+$.jgrid.jqID(d.p.id)).append("<div id='testpg' "+k(l,"entrieBox",!1,"ui-jqgrid")+" style='font-size:"+j+";visibility:hidden;' ></div>"),i=$(s).clone().appendTo("#testpg").width(),$("#testpg").remove(),i>0&&(""!==r&&(i+=50),$("td#"+a+"_"+d.p.pagerpos,"#"+c).width(i)),d.p._nvtd=[],d.p._nvtd[0]=Math.floor(i?(d.p.width-i)/2:d.p.width/3),d.p._nvtd[1]=0,s=null,$(".ui-pg-selbox","#"+c).bind("change",function(){return u("records",this)?(d.p.page=Math.round(d.p.rowNum*(d.p.page-1)/this.value-.5)+1,d.p.rowNum=this.value,d.p.pager&&$(".ui-pg-selbox",d.p.pager).val(this.value),d.p.toppager&&$(".ui-pg-selbox",d.p.toppager).val(this.value),R(),!1):!1}),d.p.pgbuttons===!0&&($(".ui-pg-button","#"+c).hover(function(){$(this).hasClass(m)?this.style.cursor="default":($(this).addClass(o),this.style.cursor="pointer")},function(){$(this).hasClass(m)||($(this).removeClass(o),this.style.cursor="default")}),$("#first"+$.jgrid.jqID(b)+", #prev"+$.jgrid.jqID(b)+", #next"+$.jgrid.jqID(b)+", #last"+$.jgrid.jqID(b)).click(function(){if($(this).hasClass(m))return!1;var -a=y(d.p.page,1),c=y(d.p.lastpage,1),e=!1,f=!0,g=!0,h=!0,i=!0;return 0===c||1===c?(f=!1,g=!1,h=!1,i=!1):c>1&&a>=1?1===a?(f=!1,g=!1):a===c&&(h=!1,i=!1):c>1&&0===a&&(h=!1,i=!1,a=c-1),u(this.id.split("_")[0],this)?(this.id==="first"+b&&f&&(d.p.page=1,e=!0),this.id==="prev"+b&&g&&(d.p.page=a-1,e=!0),this.id==="next"+b&&h&&(d.p.page=a+1,e=!0),this.id==="last"+b&&i&&(d.p.page=c,e=!0),e&&R(),!1):!1})),d.p.pginput===!0&&$("#"+c).on("keypress","input.ui-pg-input",function(a){var -b=a.charCode||a.keyCode||0;return 13===b?u("user",this)?($(this).val(y($(this).val(),1)),d.p.page=$(this).val()>0?$(this).val():d.p.page,R(),!1):!1:this})},U=function(a,b){var -c,e=d.p.colModel,f=d.p.frozenColumns?b:d.grid.headers[a].el,g="";$("span.ui-grid-ico-sort",f).addClass(m),$(f).attr("aria-selected","false"),c="local"===d.p.datatype?e[a].name:e[a].index||e[a].name,e[a].lso?"asc"===e[a].lso?(e[a].lso+="-desc",g="desc"):"desc"===e[a].lso?(e[a].lso+="-asc",g="asc"):("asc-desc"===e[a].lso||"desc-asc"===e[a].lso)&&(e[a].lso=""):e[a].lso=g=e[a].firstsortorder||"asc",g?($("span.s-ico",f).show(),$("span.ui-icon-"+g,f).removeClass(m),$(f).attr("aria-selected","true")):d.p.viewsortcols[0]||$("span.s-ico",f).hide();var -h=s.indexOf(c);-1===h?(s.push(c),t.push(g)):g?t[h]=g:(t.splice(h,1),s.splice(h,1)),d.p.sortorder="",d.p.sortname="";for(var -i=0,j=s.length;j>i;i++)i>0&&(d.p.sortname+=", "),d.p.sortname+=s[i],i!==j-1&&(d.p.sortname+=" "+t[i]);d.p.sortorder=t[j-1]},V=function(a,b,c,e,f){if(d.p.colModel[b].sortable&&!(d.p.savedRow.length>0)){if(c||(d.p.lastsort===b&&""!==d.p.sortname?"asc"===d.p.sortorder?d.p.sortorder="desc":"desc"===d.p.sortorder&&(d.p.sortorder="asc"):d.p.sortorder=d.p.colModel[b].firstsortorder||"asc",d.p.page=1),d.p.multiSort)U(b,f);else{if(e){if(d.p.lastsort===b&&d.p.sortorder===e&&!c)return;d.p.sortorder=e}var -g,h=d.grid.headers[d.p.lastsort]?d.grid.headers[d.p.lastsort].el:null,i=d.p.frozenColumns?f:d.grid.headers[b].el,j="single"===d.p.viewsortcols[1]?!0:!1;g=$(h).find("span.ui-grid-ico-sort"),g.addClass(m),j&&$(g).css("display","none"),$(h).attr("aria-selected","false"),d.p.frozenColumns&&(g=d.grid.fhDiv.find("span.ui-grid-ico-sort"),g.addClass(m),j&&g.css("display","none"),d.grid.fhDiv.find("th").attr("aria-selected","false")),g=$(i).find("span.ui-icon-"+d.p.sortorder),g.removeClass(m),j&&g.css("display",""),$(i).attr("aria-selected","true"),d.p.viewsortcols[0]||(d.p.lastsort!==b?(d.p.frozenColumns&&d.grid.fhDiv.find("span.s-ico").hide(),$("span.s-ico",h).hide(),$("span.s-ico",i).show()):""===d.p.sortname&&$("span.s-ico",i).show()),a=a.substring(5+d.p.id.length+1),d.p.sortname=d.p.colModel[b].index||a}if("stop"===$(d).triggerHandler("jqGridSortCol",[d.p.sortname,b,d.p.sortorder]))return void(d.p.lastsort=b);if($.isFunction(d.p.onSortCol)&&"stop"===d.p.onSortCol.call(d,d.p.sortname,b,d.p.sortorder))return void(d.p.lastsort=b);if("local"===d.p.datatype?d.p.deselectAfterSort&&$(d).jqGrid("resetSelection"):(d.p.selrow=null,d.p.multiselect&&S(!1),d.p.selarrrow=[],d.p.savedRow=[]),d.p.scroll){var -k=d.grid.bDiv.scrollLeft;H.call(d,!0,!1),d.grid.hDiv.scrollLeft=k}d.p.subGrid&&"local"===d.p.datatype&&$("td.sgexpanded","#"+$.jgrid.jqID(d.p.id)).each(function(){$(this).trigger("click")}),d.p._sort=!0,R(),d.p.lastsort=b,d.p.sortname!==a&&b&&(d.p.lastsort=b)}},W=function(){var -a,b,c,f,g=0,h=$.jgrid.cell_width?0:y(d.p.cellLayout,0),i=0,j=y(d.p.scrollOffset,0),k=!1,l=0;$.each(d.p.colModel,function(){if(void -0===this.hidden&&(this.hidden=!1),d.p.grouping&&d.p.autowidth){var -a=$.inArray(this.name,d.p.groupingView.groupField);a>=0&&d.p.groupingView.groupColumnShow.length>a&&(this.hidden=!d.p.groupingView.groupColumnShow[a])}this.widthOrg=b=y(this.width,0),this.hidden===!1&&(g+=b+h,this.fixed?l+=b+h:i++)}),isNaN(d.p.width)&&(d.p.width=g+(d.p.shrinkToFit!==!1||isNaN(d.p.height)?0:j)),e.width=d.p.width,d.p.tblwidth=g,d.p.shrinkToFit===!1&&d.p.forceFit===!0&&(d.p.forceFit=!1),d.p.shrinkToFit===!0&&i>0&&(c=e.width-h*i-l,isNaN(d.p.height)||(c-=j,k=!0),g=0,$.each(d.p.colModel,function(e){this.hidden!==!1||this.fixed||(b=Math.round(c*this.width/(d.p.tblwidth-h*i-l)),this.width=b,g+=b,a=e)}),f=0,k?e.width-l-(g+h*i)!==j&&(f=e.width-l-(g+h*i)-j):k||1===Math.abs(e.width-l-(g+h*i))||(f=e.width-l-(g+h*i)),d.p.colModel[a].width+=f,d.p.tblwidth=g+f+h*i+l,d.p.tblwidth>d.p.width&&(d.p.colModel[a].width-=d.p.tblwidth-parseInt(d.p.width,10),d.p.tblwidth=d.p.width))},X=function(a){var -b,c=a,e=a;for(b=a+1;b<d.p.colModel.length;b++)if(d.p.colModel[b].hidden!==!0){e=b;break}return e-c},Y=function(a){var -b=$(d.grid.headers[a].el),c=[b.position().left+b.outerWidth()];return"rtl"===d.p.direction&&(c[0]=d.p.width-c[0]),c[0]-=d.grid.bDiv.scrollLeft,c.push($(d.grid.hDiv).position().top),c.push($(d.grid.bDiv).offset().top-$(d.grid.hDiv).offset().top+$(d.grid.bDiv).height()),c},Z=function(a){var -b,c=d.grid.headers,e=$.jgrid.getCellIndex(a);for(b=0;b<c.length;b++)if(a===c[b].el){e=b;break}return e};for(this.p.id=this.id,-1===$.inArray(d.p.multikey,x)&&(d.p.multikey=!1),d.p.keyName=!1,i=0;i<d.p.colModel.length;i++)w="string"==typeof -d.p.colModel[i].template?null!=$.jgrid.cmTemplate&&"object"==typeof -$.jgrid.cmTemplate[d.p.colModel[i].template]?$.jgrid.cmTemplate[d.p.colModel[i].template]:{}:d.p.colModel[i].template,d.p.colModel[i]=$.extend(!0,{},d.p.cmTemplate,w||{},d.p.colModel[i]),d.p.keyName===!1&&d.p.colModel[i].key===!0&&(d.p.keyName=d.p.colModel[i].name);if(d.p.sortorder=d.p.sortorder.toLowerCase(),$.jgrid.cell_width=$.jgrid.cellWidth(),d.p.grouping===!0&&(d.p.scroll=!1,d.p.rownumbers=!1,d.p.treeGrid=!1,d.p.gridview=!0),this.p.treeGrid===!0){try{$(this).jqGrid("setTreeGrid")}catch(_){}"local"!==d.p.datatype&&(d.p.localReader={id:"_id_"})}if(this.p.subGrid)try{$(d).jqGrid("setSubGrid")}catch(ab){}this.p.multiselect&&(this.p.colNames.unshift("<input role='checkbox' id='cb_"+this.p.id+"' class='cbox' type='checkbox'/>"),this.p.colModel.unshift({name:"cb",width:$.jgrid.cell_width?d.p.multiselectWidth+d.p.cellLayout:d.p.multiselectWidth,sortable:!1,resizable:!1,hidedlg:!0,search:!1,align:"center",fixed:!0,frozen:!0})),this.p.rownumbers&&(this.p.colNames.unshift(""),this.p.colModel.unshift({name:"rn",width:d.p.rownumWidth,sortable:!1,resizable:!1,hidedlg:!0,search:!1,align:"center",fixed:!0,frozen:!0})),d.p.xmlReader=$.extend(!0,{root:"rows",row:"row",page:"rows>page",total:"rows>total",records:"rows>records",repeatitems:!0,cell:"cell",id:"[id]",userdata:"userdata",subgrid:{root:"rows",row:"row",repeatitems:!0,cell:"cell"}},d.p.xmlReader),d.p.jsonReader=$.extend(!0,{root:"rows",page:"page",total:"total",records:"records",repeatitems:!0,cell:"cell",id:"id",userdata:"userdata",subgrid:{root:"rows",repeatitems:!0,cell:"cell"}},d.p.jsonReader),d.p.localReader=$.extend(!0,{root:"rows",page:"page",total:"total",records:"records",repeatitems:!1,cell:"cell",id:"id",userdata:"userdata",subgrid:{root:"rows",repeatitems:!0,cell:"cell"}},d.p.localReader),d.p.scroll&&(d.p.pgbuttons=!1,d.p.pginput=!1,d.p.rowList=[]),d.p.data.length&&(I(),J());var -bb,cb,db,eb,fb,gb,hb,ib,jb="<thead><tr class='ui-jqgrid-labels' role='row'>",kb="",lb="",mb="";if(d.p.shrinkToFit===!0&&d.p.forceFit===!0)for(i=d.p.colModel.length-1;i>=0;i--)if(!d.p.colModel[i].hidden){d.p.colModel[i].resizable=!1;break}if("horizontal"===d.p.viewsortcols[1]?(lb=" ui-i-asc",mb=" ui-i-desc"):"single"===d.p.viewsortcols[1]&&(lb=" ui-single-sort-asc",mb=" ui-single-sort-desc",kb=" style='display:none'",d.p.viewsortcols[0]=!1),bb=r?"class='ui-th-div-ie'":"",ib="<span class='s-ico' style='display:none'>",ib+="<span sort='asc' class='ui-grid-ico-sort ui-icon-asc"+lb+" ui-sort-"+h+" "+m+" "+q+" "+k(l,"icon_asc",!0)+"'"+kb+"></span>",ib+="<span sort='desc' class='ui-grid-ico-sort ui-icon-desc"+mb+" ui-sort-"+h+" "+m+" "+q+" "+k(l,"icon_desc",!0)+"'"+kb+"></span></span>",d.p.multiSort&&d.p.sortname)for(s=d.p.sortname.split(","),i=0;i<s.length;i++)u=$.trim(s[i]).split(" "),s[i]=$.trim(u[0]),t[i]=u[1]?$.trim(u[1]):d.p.sortorder||"asc";for(i=0;i<this.p.colNames.length;i++){var -nb=d.p.headertitles?' title="'+$.jgrid.stripHtml(d.p.colNames[i])+'"':"";jb+="<th id='"+d.p.id+"_"+d.p.colModel[i].name+"' role='columnheader' "+k(l,"headerBox",!1,"ui-th-column ui-th-"+h)+" "+nb+">",cb=d.p.colModel[i].index||d.p.colModel[i].name,jb+="<div id='jqgh_"+d.p.id+"_"+d.p.colModel[i].name+"' "+bb+">"+d.p.colNames[i],d.p.colModel[i].width=d.p.colModel[i].width?parseInt(d.p.colModel[i].width,10):150,"boolean"!=typeof -d.p.colModel[i].title&&(d.p.colModel[i].title=!0),d.p.colModel[i].lso="",cb===d.p.sortname&&(d.p.lastsort=i),d.p.multiSort&&(u=$.inArray(cb,s),-1!==u&&(d.p.colModel[i].lso=t[u])),jb+=ib+"</div></th>"}if(jb+="</tr></thead>",ib=null,$(this).append(jb),$("thead tr:first th",this).hover(function(){$(this).addClass(o)},function(){$(this).removeClass(o)}),this.p.multiselect){var -ob,pb=[];$("#cb_"+$.jgrid.jqID(d.p.id),this).bind("click",function(){d.p.selarrrow=[];var -a=d.p.frozenColumns===!0?d.p.id+"_frozen":"";this.checked?($(d.rows).each(function(b){b>0&&($(this).hasClass("ui-subgrid")||$(this).hasClass("jqgroup")||$(this).hasClass(m)||$(this).hasClass("jqfoot")||($("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(this.id))[d.p.useProp?"prop":"attr"]("checked",!0),$(this).addClass(n).attr("aria-selected","true"),d.p.selarrrow.push(this.id),d.p.selrow=this.id,a&&($("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(this.id),d.grid.fbDiv)[d.p.useProp?"prop":"attr"]("checked",!0),$("#"+$.jgrid.jqID(this.id),d.grid.fbDiv).addClass(n))))}),ob=!0,pb=[]):($(d.rows).each(function(b){b>0&&($(this).hasClass("ui-subgrid")||$(this).hasClass("jqgroup")||$(this).hasClass(m)||$(this).hasClass("jqfoot")||($("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(this.id))[d.p.useProp?"prop":"attr"]("checked",!1),$(this).removeClass(n).attr("aria-selected","false"),pb.push(this.id),a&&($("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(this.id),d.grid.fbDiv)[d.p.useProp?"prop":"attr"]("checked",!1),$("#"+$.jgrid.jqID(this.id),d.grid.fbDiv).removeClass(n))))}),d.p.selrow=null,ob=!1),$(d).triggerHandler("jqGridSelectAll",[ob?d.p.selarrrow:pb,ob]),$.isFunction(d.p.onSelectAll)&&d.p.onSelectAll.call(d,ob?d.p.selarrrow:pb,ob)})}if(d.p.autowidth===!0){var -qb=$(v).innerWidth();d.p.width=qb>0?qb:"nw"}W(),$(v).css("width",e.width+"px").append("<div class='ui-jqgrid-resize-mark' id='rs_m"+d.p.id+"'> </div>"),d.p.scrollPopUp&&$(v).append("<div "+k(l,"scrollBox",!1,"loading ui-scroll-popup")+" id='scroll_g"+d.p.id+"'></div>"),$(j).css("width",e.width+"px"),jb=$("thead:first",d).get(0);var -rb="";d.p.footerrow&&(rb+="<table role='presentation' style='width:"+d.p.tblwidth+"px' "+k(l,"footerTable",!1,"ui-jqgrid-ftable ui-common-table")+"><tbody><tr role='row' "+k(l,"footerBox",!1,"footrow footrow-"+h)+">");var -sb=$("tr:first",jb),tb="<tr class='jqgfirstrow' role='row'>";if(d.p.disableClick=!1,$("th",sb).each(function(a){db=d.p.colModel[a].width,void -0===d.p.colModel[a].resizable&&(d.p.colModel[a].resizable=!0),d.p.colModel[a].resizable?(eb=document.createElement("span"),$(eb).html(" ").addClass("ui-jqgrid-resize ui-jqgrid-resize-"+h).css("cursor","col-resize"),$(this).addClass(d.p.resizeclass)):eb="",$(this).css("width",db+"px").prepend(eb),eb=null;var -b="";d.p.colModel[a].hidden&&($(this).css("display","none"),b="display:none;"),tb+="<td role='gridcell' style='height:0px;width:"+db+"px;"+b+"'></td>",e.headers[a]={width:db,el:this},kb=d.p.colModel[a].sortable,"boolean"!=typeof -kb&&(d.p.colModel[a].sortable=!0,kb=!0);var -c=d.p.colModel[a].name;"cb"!==c&&"subgrid"!==c&&"rn"!==c&&d.p.viewsortcols[2]&&$(">div",this).addClass("ui-jqgrid-sortable"),kb&&(d.p.multiSort?d.p.viewsortcols[0]?($("div span.s-ico",this).show(),d.p.colModel[a].lso&&$("div span.ui-icon-"+d.p.colModel[a].lso,this).removeClass(m).css("display","")):d.p.colModel[a].lso&&($("div span.s-ico",this).show(),$("div span.ui-icon-"+d.p.colModel[a].lso,this).removeClass(m).css("display","")):d.p.viewsortcols[0]?($("div span.s-ico",this).show(),a===d.p.lastsort&&$("div span.ui-icon-"+d.p.sortorder,this).removeClass(m).css("display","")):a===d.p.lastsort&&""!==d.p.sortname&&($("div span.s-ico",this).show(),$("div span.ui-icon-"+d.p.sortorder,this).removeClass(m).css("display",""))),d.p.footerrow&&(rb+="<td role='gridcell' "+z(a,0,"",null,"",!1)+"> </td>")}).mousedown(function(a){if(1===$(a.target).closest("th>span.ui-jqgrid-resize").length){var -b=Z(this);return d.p.forceFit===!0&&(d.p.nv=X(b)),e.dragStart(b,a,Y(b)),!1}}).click(function(a){if(d.p.disableClick)return d.p.disableClick=!1,!1;var -b,c,e="th>div.ui-jqgrid-sortable";d.p.viewsortcols[2]||(e="th>div>span>span.ui-grid-ico-sort");var -f=$(a.target).closest(e);if(1===f.length){var -g;if(d.p.frozenColumns){var -h=$(this)[0].id.substring(d.p.id.length+1);$(d.p.colModel).each(function(a){return this.name===h?(g=a,!1):void -0})}else -g=Z(this);return d.p.viewsortcols[2]||(b=!0,c=f.attr("sort")),null!=g&&V($("div",this)[0].id,g,b,c,this),!1}}),d.p.sortable&&$.fn.sortable)try{$(d).jqGrid("sortableColumns",sb)}catch(ub){}d.p.footerrow&&(rb+="</tr></tbody></table>"),tb+="</tr>",hb=document.createElement("tbody"),this.appendChild(hb),$(this).addClass(k(l,"rowTable",!0,"ui-jqgrid-btable ui-common-table")).append(tb),tb=null;var -vb=$("<table "+k(l,"headerTable",!1,"ui-jqgrid-htable ui-common-table")+" style='width:"+d.p.tblwidth+"px' role='presentation' aria-labelledby='gbox_"+this.id+"'></table>").append(jb),wb=d.p.caption&&d.p.hiddengrid===!0?!0:!1,xb=$("<div class='ui-jqgrid-hbox"+("rtl"===h?"-rtl":"")+"'></div>");jb=null,e.hDiv=document.createElement("div"),e.hDiv.style.width=e.width+"px",e.hDiv.className=k(l,"headerDiv",!0,"ui-jqgrid-hdiv"),$(e.hDiv).append(xb),$(xb).append(vb),vb=null,wb&&$(e.hDiv).hide(),d.p.pager&&("string"==typeof -d.p.pager?"#"!==d.p.pager.substr(0,1)&&(d.p.pager="#"+d.p.pager):d.p.pager="#"+$(d.p.pager).attr("id"),$(d.p.pager).css({width:e.width+"px"}).addClass(k(l,"pagerBox",!0,"ui-jqgrid-pager")).appendTo(v),wb&&$(d.p.pager).hide(),T(d.p.pager,"")),d.p.cellEdit===!1&&d.p.hoverrows===!0&&$(d).bind("mouseover",function(a){gb=$(a.target).closest("tr.jqgrow"),"ui-subgrid"!==$(gb).attr("class")&&$(gb).addClass(o)}).bind("mouseout",function(a){gb=$(a.target).closest("tr.jqgrow"),$(gb).removeClass(o)});var -yb,zb,Ab;$(d).before(e.hDiv).click(function(a){if(fb=a.target,gb=$(fb,d.rows).closest("tr.jqgrow"),0===$(gb).length||gb[0].className.indexOf(m)>-1||($(fb,d).closest("table.ui-jqgrid-btable").attr("id")||"").replace("_frozen","")!==d.id)return this;var -b=$(fb).hasClass("cbox"),c=$(d).triggerHandler("jqGridBeforeSelectRow",[gb[0].id,a]);if(c=c===!1||"stop"===c?!1:!0,$.isFunction(d.p.beforeSelectRow)){var -e=d.p.beforeSelectRow.call(d,gb[0].id,a);(e===!1||"stop"===e)&&(c=!1)}if("A"!==fb.tagName&&("INPUT"!==fb.tagName&&"TEXTAREA"!==fb.tagName&&"OPTION"!==fb.tagName&&"SELECT"!==fb.tagName||b)){if(yb=gb[0].id,fb=$(fb).closest("tr.jqgrow>td"),fb.length>0&&(zb=$.jgrid.getCellIndex(fb),Ab=$(fb).closest("td,th").html(),$(d).triggerHandler("jqGridCellSelect",[yb,zb,Ab,a]),$.isFunction(d.p.onCellSelect)&&d.p.onCellSelect.call(d,yb,zb,Ab,a)),d.p.cellEdit===!0)if(d.p.multiselect&&b&&c)$(d).jqGrid("setSelection",yb,!0,a);else -if(fb.length>0){yb=gb[0].rowIndex;try{$(d).jqGrid("editCell",yb,zb,!0)}catch(f){}}if(c)if(d.p.multikey)a[d.p.multikey]?$(d).jqGrid("setSelection",yb,!0,a):d.p.multiselect&&b&&(b=$("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+yb).is(":checked"),$("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+yb)[d.p.useProp?"prop":"attr"]("checked",!b));else -if(d.p.multiselect&&d.p.multiboxonly)if(b)$(d).jqGrid("setSelection",yb,!0,a);else{var -g=d.p.frozenColumns?d.p.id+"_frozen":"";$(d.p.selarrrow).each(function(a,b){var -c=$(d).jqGrid("getGridRowById",b);c&&$(c).removeClass(n),$("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(b))[d.p.useProp?"prop":"attr"]("checked",!1),g&&($("#"+$.jgrid.jqID(b),"#"+$.jgrid.jqID(g)).removeClass(n),$("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(b),"#"+$.jgrid.jqID(g))[d.p.useProp?"prop":"attr"]("checked",!1))}),d.p.selarrrow=[],$(d).jqGrid("setSelection",yb,!0,a)}else -$(d).jqGrid("setSelection",yb,!0,a)}}).bind("reloadGrid",function(a,b){if(d.p.treeGrid===!0&&(d.p.datatype=d.p.treedatatype),b=b||{},b.current&&d.grid.selectionPreserver(d),"local"===d.p.datatype?($(d).jqGrid("resetSelection"),d.p.data.length&&(I(),J())):d.p.treeGrid||(d.p.selrow=null,d.p.multiselect&&(d.p.selarrrow=[],S(!1)),d.p.savedRow=[]),d.p.scroll&&H.call(d,!0,!1),b.page){var -c=b.page;c>d.p.lastpage&&(c=d.p.lastpage),1>c&&(c=1),d.p.page=c,d.grid.bDiv.scrollTop=d.grid.prevRowHeight?(c-1)*d.grid.prevRowHeight*d.p.rowNum:0}return d.grid.prevRowHeight&&d.p.scroll&&void -0===b.page?(delete -d.p.lastpage,d.grid.populateVisible()):d.grid.populate(),d.p.inlineNav===!0&&$(d).jqGrid("showAddEditButtons"),!1}).dblclick(function(a){if(fb=a.target,gb=$(fb,d.rows).closest("tr.jqgrow"),0!==$(gb).length){yb=gb[0].rowIndex,zb=$.jgrid.getCellIndex(fb);var -b=$(d).triggerHandler("jqGridDblClickRow",[$(gb).attr("id"),yb,zb,a]);return null!=b?b:$.isFunction(d.p.ondblClickRow)&&(b=d.p.ondblClickRow.call(d,$(gb).attr("id"),yb,zb,a),null!=b)?b:void -0}}).bind("contextmenu",function(a){if(fb=a.target,gb=$(fb,d.rows).closest("tr.jqgrow"),0!==$(gb).length){d.p.multiselect||$(d).jqGrid("setSelection",gb[0].id,!0,a),yb=gb[0].rowIndex,zb=$.jgrid.getCellIndex(fb);var -b=$(d).triggerHandler("jqGridRightClickRow",[$(gb).attr("id"),yb,zb,a]);return null!=b?b:$.isFunction(d.p.onRightClickRow)&&(b=d.p.onRightClickRow.call(d,$(gb).attr("id"),yb,zb,a),null!=b)?b:void -0}}),e.bDiv=document.createElement("div"),r&&"auto"===String(d.p.height).toLowerCase()&&(d.p.height="100%"),$(e.bDiv).append($('<div style="position:relative;"></div>').append("<div></div>").append(this)).addClass("ui-jqgrid-bdiv").css({height:d.p.height+(isNaN(d.p.height)?"":"px"),width:e.width+"px"}).scroll(e.scrollGrid),$("table:first",e.bDiv).css({width:d.p.tblwidth+"px"}),$.support.tbody||2===$("tbody",this).length&&$("tbody:gt(0)",this).remove(),d.p.multikey&&($.jgrid.msie?$(e.bDiv).bind("selectstart",function(){return!1}):$(e.bDiv).bind("mousedown",function(){return!1})),wb&&$(e.bDiv).hide();var -Bb=q+" "+k(l,"icon_caption_open",!0),Cb=q+" "+k(l,"icon_caption_close",!0);e.cDiv=document.createElement("div");var -Db=d.p.hidegrid===!0?$("<a role='link' class='ui-jqgrid-titlebar-close HeaderButton "+p+"' title='"+($.jgrid.getRegional(d,"defaults.showhide",d.p.showhide)||"")+"' />").hover(function(){Db.addClass(o)},function(){Db.removeClass(o)}).append("<span class='ui-jqgrid-headlink "+Bb+"'></span>").css("rtl"===h?"left":"right","0px"):"";if($(e.cDiv).append(Db).append("<span class='ui-jqgrid-title'>"+d.p.caption+"</span>").addClass("ui-jqgrid-titlebar ui-jqgrid-caption"+("rtl"===h?"-rtl":"")+" "+k(l,"gridtitleBox",!0)),$(e.cDiv).insertBefore(e.hDiv),d.p.toolbar[0]){var -Eb=k(l,"customtoolbarBox",!0,"ui-userdata");e.uDiv=document.createElement("div"),"top"===d.p.toolbar[1]?$(e.uDiv).insertBefore(e.hDiv):"bottom"===d.p.toolbar[1]&&$(e.uDiv).insertAfter(e.hDiv),"both"===d.p.toolbar[1]?(e.ubDiv=document.createElement("div"),$(e.uDiv).addClass(Eb+" ui-userdata-top").attr("id","t_"+this.id).insertBefore(e.hDiv).width(e.width),$(e.ubDiv).addClass(Eb+" ui-userdata-bottom").attr("id","tb_"+this.id).insertAfter(e.hDiv).width(e.width),wb&&$(e.ubDiv).hide()):$(e.uDiv).width(e.width).addClass(Eb+" ui-userdata-top").attr("id","t_"+this.id),wb&&$(e.uDiv).hide()}if(d.p.toppager&&(d.p.toppager=$.jgrid.jqID(d.p.id)+"_toppager",e.topDiv=$("<div id='"+d.p.toppager+"'></div>")[0],d.p.toppager="#"+d.p.toppager,$(e.topDiv).addClass(k(l,"toppagerBox",!0,"ui-jqgrid-toppager")).width(e.width).insertBefore(e.hDiv),T(d.p.toppager,"_t")),d.p.footerrow&&(e.sDiv=$("<div class='ui-jqgrid-sdiv'></div>")[0],xb=$("<div class='ui-jqgrid-hbox"+("rtl"===h?"-rtl":"")+"'></div>"),$(e.sDiv).append(xb).width(e.width).insertAfter(e.hDiv),$(xb).append(rb),e.footers=$(".ui-jqgrid-ftable",e.sDiv)[0].rows[0].cells,d.p.rownumbers&&(e.footers[0].className=k(l,"rownumBox",!0,"jqgrid-rownum")),wb&&$(e.sDiv).hide()),xb=null,d.p.caption){var -Fb=d.p.datatype;d.p.hidegrid===!0&&($(".ui-jqgrid-titlebar-close",e.cDiv).click(function(a){var -b,c=$.isFunction(d.p.onHeaderClick),f=".ui-jqgrid-bdiv, .ui-jqgrid-hdiv, .ui-jqgrid-toppager, .ui-jqgrid-pager, .ui-jqgrid-sdiv",g=this;return d.p.toolbar[0]===!0&&("both"===d.p.toolbar[1]&&(f+=", #"+$(e.ubDiv).attr("id")),f+=", #"+$(e.uDiv).attr("id")),b=$(f,"#gview_"+$.jgrid.jqID(d.p.id)).length,"visible"===d.p.gridstate?$(f,"#gbox_"+$.jgrid.jqID(d.p.id)).slideUp("fast",function(){b--,0===b&&($("span",g).removeClass(Bb).addClass(Cb),d.p.gridstate="hidden",$("#gbox_"+$.jgrid.jqID(d.p.id)).hasClass("ui-resizable")&&$(".ui-resizable-handle","#gbox_"+$.jgrid.jqID(d.p.id)).hide(),$(d).triggerHandler("jqGridHeaderClick",[d.p.gridstate,a]),c&&(wb||d.p.onHeaderClick.call(d,d.p.gridstate,a)))}):"hidden"===d.p.gridstate&&$(f,"#gbox_"+$.jgrid.jqID(d.p.id)).slideDown("fast",function(){b--,0===b&&($("span",g).removeClass(Cb).addClass(Bb),wb&&(d.p.datatype=Fb,R(),wb=!1),d.p.gridstate="visible",$("#gbox_"+$.jgrid.jqID(d.p.id)).hasClass("ui-resizable")&&$(".ui-resizable-handle","#gbox_"+$.jgrid.jqID(d.p.id)).show(),$(d).triggerHandler("jqGridHeaderClick",[d.p.gridstate,a]),c&&(wb||d.p.onHeaderClick.call(d,d.p.gridstate,a)))}),!1}),wb&&(d.p.datatype="local",$(".ui-jqgrid-titlebar-close",e.cDiv).trigger("click")))}else -$(e.cDiv).hide(),d.p.toppager||$(e.hDiv).addClass(k(d.p.styleUI+".common","cornertop",!0));if($(e.hDiv).after(e.bDiv).mousemove(function(a){return e.resizing?(e.dragMove(a),!1):void -0}),$(".ui-jqgrid-labels",e.hDiv).bind("selectstart",function(){return!1}),$(document).bind("mouseup.jqGrid"+d.p.id,function(){return e.resizing?(e.dragEnd(!0),!1):!0}),d.formatCol=z,d.sortData=V,d.updatepager=O,d.refreshIndex=J,d.setHeadCheckBox=S,d.constructTr=K,d.formatter=function(a,b,c,d,e){return B(a,b,c,d,e)},$.extend(e,{populate:R,emptyRows:H,beginReq:P,endReq:Q}),this.grid=e,d.addXmlData=function(a){L(a)},d.addJSONData=function(a){M(a)},this.grid.cols=this.rows[0].cells,$(d).triggerHandler("jqGridInitGrid"),$.isFunction(d.p.onInitGrid)&&d.p.onInitGrid.call(d),R(),d.p.hiddengrid=!1,d.p.responsive){var -Gb="onorientationchange"in -window,Hb=Gb?"orientationchange":"resize";$(window).on(Hb,function(){$(d).jqGrid("resizeGrid")})}}})},$.jgrid.extend({getGridParam:function(a,b){var -c,d=this[0];if(d&&d.grid){if(void -0===b&&"string"!=typeof -b&&(b="jqGrid"),c=d.p,"jqGrid"!==b)try{c=$(d).data(b)}catch(e){c=d.p}return a?void -0!==c[a]?c[a]:null:c}},setGridParam:function(a,b){return this.each(function(){if(null==b&&(b=!1),this.grid&&"object"==typeof -a)if(b===!0){var -c=$.extend({},this.p,a);this.p=c}else -$.extend(!0,this.p,a)})},getGridRowById:function(a){var -b;return this.each(function(){try{for(var -c=this.rows.length;c--;)if(a.toString()===this.rows[c].id){b=this.rows[c];break}}catch(d){b=$(this.grid.bDiv).find("#"+$.jgrid.jqID(a))}}),b},getDataIDs:function(){var -a,b=[],c=0,d=0;return this.each(function(){if(a=this.rows.length,a&&a>0)for(;a>c;)$(this.rows[c]).hasClass("jqgrow")&&(b[d]=this.rows[c].id,d++),c++}),b},setSelection:function(a,b,c){return this.each(function(){function -d(a){var -b=$(l.grid.bDiv)[0].clientHeight,c=$(l.grid.bDiv)[0].scrollTop,d=$(l.rows[a]).position().top,e=l.rows[a].clientHeight;d+e>=b+c?$(l.grid.bDiv)[0].scrollTop=d-(b+c)+e+c:b+c>d&&c>d&&($(l.grid.bDiv)[0].scrollTop=d)}var -e,f,g,h,i,j,k,l=this,m=$.jgrid.getMethod("getStyleUI"),n=m(l.p.styleUI+".common","highlight",!0),o=m(l.p.styleUI+".common","disabled",!0);void -0!==a&&(b=b===!1?!1:!0,f=$(l).jqGrid("getGridRowById",a),!f||!f.className||f.className.indexOf(o)>-1||(l.p.scrollrows===!0&&(g=$(l).jqGrid("getGridRowById",a).rowIndex,g>=0&&d(g)),l.p.frozenColumns===!0&&(j=l.p.id+"_frozen"),l.p.multiselect?(l.setHeadCheckBox(!1),l.p.selrow=f.id,h=$.inArray(l.p.selrow,l.p.selarrrow),-1===h?("ui-subgrid"!==f.className&&$(f).addClass(n).attr("aria-selected","true"),e=!0,l.p.selarrrow.push(l.p.selrow)):("ui-subgrid"!==f.className&&$(f).removeClass(n).attr("aria-selected","false"),e=!1,l.p.selarrrow.splice(h,1),i=l.p.selarrrow[0],l.p.selrow=void -0===i?null:i),$("#jqg_"+$.jgrid.jqID(l.p.id)+"_"+$.jgrid.jqID(f.id))[l.p.useProp?"prop":"attr"]("checked",e),j&&(-1===h?$("#"+$.jgrid.jqID(a),"#"+$.jgrid.jqID(j)).addClass(n):$("#"+$.jgrid.jqID(a),"#"+$.jgrid.jqID(j)).removeClass(n),$("#jqg_"+$.jgrid.jqID(l.p.id)+"_"+$.jgrid.jqID(a),"#"+$.jgrid.jqID(j))[l.p.useProp?"prop":"attr"]("checked",e)),b&&($(l).triggerHandler("jqGridSelectRow",[f.id,e,c]),l.p.onSelectRow&&l.p.onSelectRow.call(l,f.id,e,c))):"ui-subgrid"!==f.className&&(l.p.selrow!==f.id?(k=$(l).jqGrid("getGridRowById",l.p.selrow),k&&$(k).removeClass(n).attr({"aria-selected":"false",tabindex:"-1"}),$(f).addClass(n).attr({"aria-selected":"true",tabindex:"0"}),j&&($("#"+$.jgrid.jqID(l.p.selrow),"#"+$.jgrid.jqID(j)).removeClass(n),$("#"+$.jgrid.jqID(a),"#"+$.jgrid.jqID(j)).addClass(n)),e=!0):e=!1,l.p.selrow=f.id,b&&($(l).triggerHandler("jqGridSelectRow",[f.id,e,c]),l.p.onSelectRow&&l.p.onSelectRow.call(l,f.id,e,c)))))})},resetSelection:function(a){return this.each(function(){var -b,c,d=this,e=$.jgrid.getMethod("getStyleUI"),f=e(d.p.styleUI+".common","highlight",!0),g=e(d.p.styleUI+".common","hover",!0);if(d.p.frozenColumns===!0&&(c=d.p.id+"_frozen"),void -0!==a){if(b=a===d.p.selrow?d.p.selrow:a,$("#"+$.jgrid.jqID(d.p.id)+" tbody:first tr#"+$.jgrid.jqID(b)).removeClass(f).attr("aria-selected","false"),c&&$("#"+$.jgrid.jqID(b),"#"+$.jgrid.jqID(c)).removeClass(f),d.p.multiselect){$("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(b),"#"+$.jgrid.jqID(d.p.id))[d.p.useProp?"prop":"attr"]("checked",!1),c&&$("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(b),"#"+$.jgrid.jqID(c))[d.p.useProp?"prop":"attr"]("checked",!1),d.setHeadCheckBox(!1);var -h=$.inArray($.jgrid.jqID(b),d.p.selarrrow);-1!==h&&d.p.selarrrow.splice(h,1)}d.p.onUnSelectRow&&d.p.onUnSelectRow.call(d,b),b=null}else -d.p.multiselect?($(d.p.selarrrow).each(function(a,b){$($(d).jqGrid("getGridRowById",b)).removeClass(f).attr("aria-selected","false"),$("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(b))[d.p.useProp?"prop":"attr"]("checked",!1),c&&($("#"+$.jgrid.jqID(b),"#"+$.jgrid.jqID(c)).removeClass(f),$("#jqg_"+$.jgrid.jqID(d.p.id)+"_"+$.jgrid.jqID(b),"#"+$.jgrid.jqID(c))[d.p.useProp?"prop":"attr"]("checked",!1)),d.p.onUnSelectRow&&d.p.onUnSelectRow.call(d,b)}),d.setHeadCheckBox(!1),d.p.selarrrow=[],d.p.selrow=null):d.p.selrow&&($("#"+$.jgrid.jqID(d.p.id)+" tbody:first tr#"+$.jgrid.jqID(d.p.selrow)).removeClass(f).attr("aria-selected","false"),c&&$("#"+$.jgrid.jqID(d.p.selrow),"#"+$.jgrid.jqID(c)).removeClass(f),d.p.onUnSelectRow&&d.p.onUnSelectRow.call(d,d.p.selrow),d.p.selrow=null);d.p.cellEdit===!0&&parseInt(d.p.iCol,10)>=0&&parseInt(d.p.iRow,10)>=0&&($("td:eq("+d.p.iCol+")",d.rows[d.p.iRow]).removeClass("edit-cell "+f),$(d.rows[d.p.iRow]).removeClass("selected-row "+g)),d.p.savedRow=[]})},getRowData:function(a,b){var -c,d,e={},f=!1,g=0;return this.each(function(){var -h,i,j=this;if(null==a)f=!0,c=[],d=j.rows.length;else{if(i=$(j).jqGrid("getGridRowById",a),!i)return e;d=2}for(b&&b===!0&&j.p.data.length>0||(b=!1);d>g;)f&&(i=j.rows[g]),$(i).hasClass("jqgrow")&&(b?e=j.p.data[j.p._index[i.id]]:$('td[role="gridcell"]',i).each(function(a){if(h=j.p.colModel[a].name,"cb"!==h&&"subgrid"!==h&&"rn"!==h)if(j.p.treeGrid===!0&&h===j.p.ExpandColumn)e[h]=$.jgrid.htmlDecode($("span:first",this).html());else -try{e[h]=$.unformat.call(j,this,{rowId:i.id,colModel:j.p.colModel[a]},a)}catch(b){e[h]=$.jgrid.htmlDecode($(this).html())}}),f&&(c.push(e),e={})),g++}),c||e},delRowData:function(a){var -b,c,d,e=!1;return this.each(function(){var -f=this;if(b=$(f).jqGrid("getGridRowById",a),!b)return!1;if(f.p.subGrid&&(d=$(b).next(),d.hasClass("ui-subgrid")&&d.remove()),$(b).remove(),f.p.records--,f.p.reccount--,f.updatepager(!0,!1),e=!0,f.p.multiselect&&(c=$.inArray(a,f.p.selarrrow),-1!==c&&f.p.selarrrow.splice(c,1)),f.p.selrow=f.p.multiselect&&f.p.selarrrow.length>0?f.p.selarrrow[f.p.selarrrow.length-1]:null,"local"===f.p.datatype){var -g=$.jgrid.stripPref(f.p.idPrefix,a),h=f.p._index[g];void -0!==h&&(f.p.data.splice(h,1),f.refreshIndex())}if(f.p.altRows===!0&&e){var -i=f.p.altclass;$(f.rows).each(function(a){a%2===1?$(this).addClass(i):$(this).removeClass(i)})}}),e},setRowData:function(a,b,c){var -d,e,f=!0;return this.each(function(){if(!this.grid)return!1;var -g,h,i=this,j=typeof -c,k={};if(h=$(this).jqGrid("getGridRowById",a),!h)return!1;if(b)try{if($(this.p.colModel).each(function(c){d=this.name;var -f=$.jgrid.getAccessor(b,d);void -0!==f&&(k[d]=this.formatter&&"string"==typeof -this.formatter&&"date"===this.formatter?$.unformat.date.call(i,f,this):f,g=i.formatter(a,k[d],c,b,"edit"),e=this.title?{title:$.jgrid.stripHtml(g)}:{},i.p.treeGrid===!0&&d===i.p.ExpandColumn?$("td[role='gridcell']:eq("+c+") > span:first",h).html(g).attr(e):$("td[role='gridcell']:eq("+c+")",h).html(g).attr(e))}),"local"===i.p.datatype){var -l,m=$.jgrid.stripPref(i.p.idPrefix,a),n=i.p._index[m];if(i.p.treeGrid)for(l -in -i.p.treeReader)i.p.treeReader.hasOwnProperty(l)&&delete -k[i.p.treeReader[l]];void -0!==n&&(i.p.data[n]=$.extend(!0,i.p.data[n],k)),k=null}}catch(o){f=!1}f&&("string"===j?$(h).addClass(c):null!==c&&"object"===j&&$(h).css(c),$(i).triggerHandler("jqGridAfterGridComplete"))}),f},addRowData:function(a,b,c,d){-1==["first","last","before","after"].indexOf(c)&&(c="last");var -e,f,g,h,i,j,k,l,m,n,o,p,q,r,s=!1,t="",u="",v="";return b&&($.isArray(b)?(m=!0,n=a):(b=[b],m=!1),this.each(function(){var -w=this,x=b.length;i=w.p.rownumbers===!0?1:0,g=w.p.multiselect===!0?1:0,h=w.p.subGrid===!0?1:0,m||(void -0!==a?a=String(a):(a=$.jgrid.randId(),w.p.keyName!==!1&&(n=w.p.keyName,void -0!==b[0][n]&&(a=b[0][n])))),o=w.p.altclass;var -y,z=0,A=$(w).jqGrid("getStyleUI",w.p.styleUI+".base","rowBox",!0,"jqgrow ui-row-"+w.p.direction),B={},C=$.isFunction(w.p.afterInsertRow)?!0:!1;for(i&&(t=$(w).jqGrid("getStyleUI",w.p.styleUI+".base","rownumBox",!1,"jqgrid-rownum")),g&&(u=$(w).jqGrid("getStyleUI",w.p.styleUI+".base","multiBox",!1,"cbox"));x>z;){if(p=b[z],f=[],y=A,m){try{a=p[n],void -0===a&&(a=$.jgrid.randId())}catch(D){a=$.jgrid.randId()}y+=w.p.altRows===!0&&(w.rows.length-1)%2===0?" "+o:""}for(r=a,a=w.p.idPrefix+a,i&&(v=w.formatCol(0,1,"",null,a,!0),f[f.length]='<td role="gridcell" '+t+" "+v+">0</td>"),g&&(l='<input role="checkbox" type="checkbox" id="jqg_'+w.p.id+"_"+a+'" '+u+"/>",v=w.formatCol(i,1,"",null,a,!0),f[f.length]='<td role="gridcell" '+v+">"+l+"</td>"),h&&(f[f.length]=$(w).jqGrid("addSubGridCell",g+i,1)),k=g+h+i;k<w.p.colModel.length;k++)q=w.p.colModel[k],e=q.name,B[e]=p[e],l=w.formatter(a,$.jgrid.getAccessor(p,e),k,p),v=w.formatCol(k,1,l,p,a,B),f[f.length]='<td role="gridcell" '+v+">"+l+"</td>";if(f.unshift(w.constructTr(a,!1,y,B,p)),f[f.length]="</tr>",0===w.rows.length)$("table:first",w.grid.bDiv).append(f.join(""));else -switch(c){case"last":$(w.rows[w.rows.length-1]).after(f.join("")),j=w.rows.length-1;break;case"first":$(w.rows[0]).after(f.join("")),j=1;break;case"after":j=$(w).jqGrid("getGridRowById",d),j&&($(w.rows[j.rowIndex+1]).hasClass("ui-subgrid")?$(w.rows[j.rowIndex+1]).after(f):$(j).after(f.join("")),j=j.rowIndex+1);break;case"before":j=$(w).jqGrid("getGridRowById",d),j&&($(j).before(f.join("")),j=j.rowIndex-1)}w.p.subGrid===!0&&$(w).jqGrid("addSubGrid",g+i,j),w.p.records++,w.p.reccount++,$(w).triggerHandler("jqGridAfterInsertRow",[a,p,p]),C&&w.p.afterInsertRow.call(w,a,p,p),z++,"local"===w.p.datatype&&(B[w.p.localReader.id]=r,w.p._index[r]=w.p.data.length,w.p.data.push(B),B={})}w.p.altRows!==!0||m||("last"===c?(w.rows.length-1)%2===0&&$(w.rows[w.rows.length-1]).addClass(o):$(w.rows).each(function(a){a%2===0?$(this).addClass(o):$(this).removeClass(o)})),w.updatepager(!0,!0),s=!0})),s},footerData:function(a,b,c){function -d(a){var -b;for(b -in -a)if(a.hasOwnProperty(b))return!1;return!0}var -e,f,g=!1,h={};return void -0===a&&(a="get"),"boolean"!=typeof -c&&(c=!0),a=a.toLowerCase(),this.each(function(){var -i,j=this;return j.grid&&j.p.footerrow?"set"===a&&d(b)?!1:(g=!0,void -$(this.p.colModel).each(function(d){e=this.name,"set"===a?void -0!==b[e]&&(i=c?j.formatter("",b[e],d,b,"edit"):b[e],f=this.title?{title:$.jgrid.stripHtml(i)}:{},$("tr.footrow td:eq("+d+")",j.grid.sDiv).html(i).attr(f),g=!0):"get"===a&&(h[e]=$("tr.footrow td:eq("+d+")",j.grid.sDiv).html())})):!1}),"get"===a?h:g},showHideCol:function(a,b){return this.each(function(){var -c,d=this,e=!1,f=$.jgrid.cell_width?0:d.p.cellLayout;if(d.grid){"string"==typeof -a&&(a=[a]),b="none"!==b?"":"none";var -g=""===b?!0:!1,h=d.p.groupHeader&&($.isArray(d.p.groupHeader)||$.isFunction(d.p.groupHeader));if(h&&$(d).jqGrid("destroyGroupHeader",!1),$(this.p.colModel).each(function(h){if(-1!==$.inArray(this.name,a)&&this.hidden===g){if(d.p.frozenColumns===!0&&this.frozen===!0)return!0;$("tr[role=row]",d.grid.hDiv).each(function(){$(this.cells[h]).css("display",b)}),$(d.rows).each(function(){$(this).hasClass("jqgroup")||$(this.cells[h]).css("display",b)}),d.p.footerrow&&$("tr.footrow td:eq("+h+")",d.grid.sDiv).css("display",b),c=parseInt(this.width,10),"none"===b?d.p.tblwidth-=c+f:d.p.tblwidth+=c+f,this.hidden=!g,e=!0,$(d).triggerHandler("jqGridShowHideCol",[g,this.name,h])}}),e===!0&&(d.p.shrinkToFit!==!0||isNaN(d.p.height)||(d.p.tblwidth+=parseInt(d.p.scrollOffset,10)),$(d).jqGrid("setGridWidth",d.p.shrinkToFit===!0?d.p.tblwidth:d.p.width)),h){var -i=$.extend([],d.p.groupHeader);d.p.groupHeader=null;for(var -j=0;j<i.length;j++)$(d).jqGrid("setGroupHeaders",i[j])}}})},hideCol:function(a){return this.each(function(){$(this).jqGrid("showHideCol",a,"none")})},showCol:function(a){return this.each(function(){$(this).jqGrid("showHideCol",a,"")})},remapColumns:function(a,b,c){function -d(b){var -c;c=b.length?$.makeArray(b):$.extend({},b),$.each(a,function(a){b[a]=c[this]})}function -e(b,c){$(">tr"+(c||""),b).each(function(){var -b=this,c=$.makeArray(b.cells);$.each(a,function(){var -a=c[this];a&&b.appendChild(a)})})}var -f=this.get(0);d(f.p.colModel),d(f.p.colNames),d(f.grid.headers),e($("thead:first",f.grid.hDiv),c&&":not(.ui-jqgrid-labels)"),b&&e($("#"+$.jgrid.jqID(f.p.id)+" tbody:first"),".jqgfirstrow, tr.jqgrow, tr.jqfoot"),f.p.footerrow&&e($("tbody:first",f.grid.sDiv)),f.p.remapColumns&&(f.p.remapColumns.length?d(f.p.remapColumns):f.p.remapColumns=$.makeArray(a)),f.p.lastsort=$.inArray(f.p.lastsort,a),f.p.treeGrid&&(f.p.expColInd=$.inArray(f.p.expColInd,a)),$(f).triggerHandler("jqGridRemapColumns",[a,b,c])},setGridWidth:function(a,b){return this.each(function(){if(this.grid){var -c,d,e,f,g=this,h=0,i=$.jgrid.cell_width?0:g.p.cellLayout,j=0,k=!1,l=g.p.scrollOffset,m=0;if("boolean"!=typeof -b&&(b=g.p.shrinkToFit),!isNaN(a)){if(a=parseInt(a,10),g.grid.width=g.p.width=a,$("#gbox_"+$.jgrid.jqID(g.p.id)).css("width",a+"px"),$("#gview_"+$.jgrid.jqID(g.p.id)).css("width",a+"px"),$(g.grid.bDiv).css("width",a+"px"),$(g.grid.hDiv).css("width",a+"px"),g.p.pager&&$(g.p.pager).css("width",a+"px"),g.p.toppager&&$(g.p.toppager).css("width",a+"px"),g.p.toolbar[0]===!0&&($(g.grid.uDiv).css("width",a+"px"),"both"===g.p.toolbar[1]&&$(g.grid.ubDiv).css("width",a+"px")),g.p.footerrow&&$(g.grid.sDiv).css("width",a+"px"),b===!1&&g.p.forceFit===!0&&(g.p.forceFit=!1),b===!0){if($.each(g.p.colModel,function(){this.hidden===!1&&(c=this.widthOrg,h+=c+i,this.fixed?m+=c+i:j++)}),0===j)return;g.p.tblwidth=h,e=a-i*j-m,isNaN(g.p.height)||($(g.grid.bDiv)[0].clientHeight<$(g.grid.bDiv)[0].scrollHeight||1===g.rows.length)&&(k=!0,e-=l),h=0;var -n=g.grid.cols.length>0;if($.each(g.p.colModel,function(a){if(this.hidden===!1&&!this.fixed){if(c=this.widthOrg,c=Math.round(e*c/(g.p.tblwidth-i*j-m)),0>c)return;this.width=c,h+=c,g.grid.headers[a].width=c,g.grid.headers[a].el.style.width=c+"px",g.p.footerrow&&(g.grid.footers[a].style.width=c+"px"),n&&(g.grid.cols[a].style.width=c+"px"),d=a}}),!d)return;if(f=0,k?a-m-(h+i*j)!==l&&(f=a-m-(h+i*j)-l):1!==Math.abs(a-m-(h+i*j))&&(f=a-m-(h+i*j)),g.p.colModel[d].width+=f,g.p.tblwidth=h+f+i*j+m,g.p.tblwidth>a){var -o=g.p.tblwidth-parseInt(a,10);g.p.tblwidth=a,c=g.p.colModel[d].width=g.p.colModel[d].width-o}else -c=g.p.colModel[d].width;g.grid.headers[d].width=c,g.grid.headers[d].el.style.width=c+"px",n&&(g.grid.cols[d].style.width=c+"px"),g.p.footerrow&&(g.grid.footers[d].style.width=c+"px")}g.p.tblwidth&&($("table:first",g.grid.bDiv).css("width",g.p.tblwidth+"px"),$("table:first",g.grid.hDiv).css("width",g.p.tblwidth+"px"),g.grid.hDiv.scrollLeft=g.grid.bDiv.scrollLeft,g.p.footerrow&&$("table:first",g.grid.sDiv).css("width",g.p.tblwidth+"px"))}}})},setGridHeight:function(a){return this.each(function(){var -b=this;if(b.grid){var -c=$(b.grid.bDiv);c.css({height:a+(isNaN(a)?"":"px")}),b.p.frozenColumns===!0&&$("#"+$.jgrid.jqID(b.p.id)+"_frozen").parent().height(c.height()-16),b.p.height=a,b.p.scroll&&b.grid.populateVisible()}})},setCaption:function(a){return this.each(function(){var -b=$(this).jqGrid("getStyleUI",this.p.styleUI+".common","cornertop",!0);this.p.caption=a,$(".ui-jqgrid-title, .ui-jqgrid-title-rtl",this.grid.cDiv).html(a),$(this.grid.cDiv).show(),$(this.grid.hDiv).removeClass(b)})},setLabel:function(a,b,c,d){return this.each(function(){var -e=this,f=-1;if(e.grid&&void -0!==a&&($(e.p.colModel).each(function(b){return this.name===a?(f=b,!1):void -0}),f>=0)){var -g=$("tr.ui-jqgrid-labels th:eq("+f+")",e.grid.hDiv);if(b){var -h=$(".s-ico",g);$("[id^=jqgh_]",g).empty().html(b).append(h),e.p.colNames[f]=b}c&&("string"==typeof -c?$(g).addClass(c):$(g).css(c)),"object"==typeof -d&&$(g).attr(d)}})},setCell:function(a,b,c,d,e,f){return this.each(function(){var -g,h,i=this,j=-1;if(i.grid&&(isNaN(b)?$(i.p.colModel).each(function(a){return this.name===b?(j=a,!1):void -0}):j=parseInt(b,10),j>=0)){var -k=$(i).jqGrid("getGridRowById",a);if(k){var -l=$("td:eq("+j+")",k),m=0,n=[];if(""!==c||f===!0){if(void -0!==k.cells)for(;m<k.cells.length;)n.push(k.cells[m].innerHTML),m++;if(g=i.formatter(a,c,j,n,"edit"),h=i.p.colModel[j].title?{title:$.jgrid.stripHtml(g)}:{},i.p.treeGrid&&$(".tree-wrap",$(l)).length>0?$("span",$(l)).html(g).attr(h):$(l).html(g).attr(h),"local"===i.p.datatype){var -o,p=i.p.colModel[j];c=p.formatter&&"string"==typeof -p.formatter&&"date"===p.formatter?$.unformat.date.call(i,c,p):c,o=i.p._index[$.jgrid.stripPref(i.p.idPrefix,a)],void -0!==o&&(i.p.data[o][p.name]=c)}}"string"==typeof -d?$(l).addClass(d):d&&$(l).css(d),"object"==typeof -e&&$(l).attr(e)}}})},getCell:function(a,b){var -c=!1;return this.each(function(){var -d=this,e=-1;if(d.grid&&(isNaN(b)?$(d.p.colModel).each(function(a){return this.name===b?(e=a,!1):void -0}):e=parseInt(b,10),e>=0)){var -f=$(d).jqGrid("getGridRowById",a);if(f)try{c=$.unformat.call(d,$("td:eq("+e+")",f),{rowId:f.id,colModel:d.p.colModel[e]},e)}catch(g){c=$.jgrid.htmlDecode($("td:eq("+e+")",f).html())}}}),c},getCol:function(a,b,c){var -d,e,f,g,h=[],i=0;return b="boolean"!=typeof -b?!1:b,void -0===c&&(c=!1),this.each(function(){var -j=this,k=-1;if(j.grid&&(isNaN(a)?$(j.p.colModel).each(function(b){return this.name===a?(k=b,!1):void -0}):k=parseInt(a,10),k>=0)){var -l=j.rows.length,m=0,n=0;if(l&&l>0){for(;l>m;){if($(j.rows[m]).hasClass("jqgrow")){try{d=$.unformat.call(j,$(j.rows[m].cells[k]),{rowId:j.rows[m].id,colModel:j.p.colModel[k]},k)}catch(o){d=$.jgrid.htmlDecode(j.rows[m].cells[k].innerHTML)}c?(g=parseFloat(d),isNaN(g)||(i+=g,void -0===f&&(f=e=g),e=Math.min(e,g),f=Math.max(f,g),n++)):h.push(b?{id:j.rows[m].id,value:d}:d)}m++}if(c)switch(c.toLowerCase()){case"sum":h=i;break;case"avg":h=i/n;break;case"count":h=l-1;break;case"min":h=e;break;case"max":h=f}}}}),h},clearGridData:function(a){return this.each(function(){var -b=this;if(b.grid){if("boolean"!=typeof -a&&(a=!1),b.p.deepempty)$("#"+$.jgrid.jqID(b.p.id)+" tbody:first tr:gt(0)").remove();else{var -c=$("#"+$.jgrid.jqID(b.p.id)+" tbody:first tr:first")[0];$("#"+$.jgrid.jqID(b.p.id)+" tbody:first").empty().append(c)}b.p.footerrow&&a&&$(".ui-jqgrid-ftable td",b.grid.sDiv).html(" "),b.p.selrow=null,b.p.selarrrow=[],b.p.savedRow=[],b.p.records=0,b.p.page=1,b.p.lastpage=0,b.p.reccount=0,b.p.data=[],b.p._index={},b.updatepager(!0,!1)}})},getInd:function(a,b){var -c,d=!1;return this.each(function(){c=$(this).jqGrid("getGridRowById",a),c&&(d=b===!0?c:c.rowIndex)}),d},bindKeys:function(a){var -b=$.extend({onEnter:null,onSpace:null,onLeftKey:null,onRightKey:null,scrollingRows:!0},a||{});return this.each(function(){var -a=this;$("body").is("[role]")||$("body").attr("role","application"),a.p.scrollrows=b.scrollingRows,$(a).keydown(function(c){var -d,e,f,g=$(a).find("tr[tabindex=0]")[0],h=a.p.treeReader.expanded_field;if(g)if(f=a.p._index[$.jgrid.stripPref(a.p.idPrefix,g.id)],37===c.keyCode||38===c.keyCode||39===c.keyCode||40===c.keyCode){if(38===c.keyCode){if(e=g.previousSibling,d="",e)if($(e).is(":hidden")){for(;e;)if(e=e.previousSibling,!$(e).is(":hidden")&&$(e).hasClass("jqgrow")){d=e.id;break}}else -d=e.id;$(a).jqGrid("setSelection",d,!0,c),c.preventDefault()}if(40===c.keyCode){if(e=g.nextSibling,d="",e)if($(e).is(":hidden")){for(;e;)if(e=e.nextSibling,!$(e).is(":hidden")&&$(e).hasClass("jqgrow")){d=e.id;break}}else -d=e.id;$(a).jqGrid("setSelection",d,!0,c),c.preventDefault()}37===c.keyCode&&(a.p.treeGrid&&a.p.data[f][h]&&$(g).find("div.treeclick").trigger("click"),$(a).triggerHandler("jqGridKeyLeft",[a.p.selrow]),$.isFunction(b.onLeftKey)&&b.onLeftKey.call(a,a.p.selrow)),39===c.keyCode&&(a.p.treeGrid&&!a.p.data[f][h]&&$(g).find("div.treeclick").trigger("click"),$(a).triggerHandler("jqGridKeyRight",[a.p.selrow]),$.isFunction(b.onRightKey)&&b.onRightKey.call(a,a.p.selrow))}else -13===c.keyCode?($(a).triggerHandler("jqGridKeyEnter",[a.p.selrow]),$.isFunction(b.onEnter)&&b.onEnter.call(a,a.p.selrow)):32===c.keyCode&&($(a).triggerHandler("jqGridKeySpace",[a.p.selrow]),$.isFunction(b.onSpace)&&b.onSpace.call(a,a.p.selrow))})})},unbindKeys:function(){return this.each(function(){$(this).unbind("keydown")})},getLocalRow:function(a){var -b,c=!1;return this.each(function(){void -0!==a&&(b=this.p._index[$.jgrid.stripPref(this.p.idPrefix,a)],b>=0&&(c=this.p.data[b]))}),c},progressBar:function(a){return a=$.extend({htmlcontent:"",method:"hide",loadtype:"disable"},a||{}),this.each(function(){var -b,c,d="show"===a.method?!0:!1,e=$("#load_"+$.jgrid.jqID(this.p.id)),f=$(window).scrollTop();switch(""!==a.htmlcontent&&e.html(a.htmlcontent),a.loadtype){case"disable":break;case"enable":e.toggle(d);break;case"block":$("#lui_"+$.jgrid.jqID(this.p.id)).toggle(d),e.toggle(d)}e.is(":visible")&&(b=e.offsetParent(),e.css("top",""),e.offset().top<f&&(c=Math.min(10+f-b.offset().top,b.height()-e.height()),e.css("top",c+"px")))})},getColProp:function(a){var -b={},c=this[0];if(!c.grid)return!1;var -d,e=c.p.colModel;for(d=0;d<e.length;d++)if(e[d].name===a){b=e[d];break}return b},setColProp:function(a,b){return this.each(function(){if(this.grid&&b){var -c,d=this.p.colModel;for(c=0;c<d.length;c++)if(d[c].name===a){$.extend(!0,this.p.colModel[c],b);break}}})},sortGrid:function(a,b,c){return this.each(function(){var -d,e=this,f=-1,g=!1;if(e.grid){for(a||(a=e.p.sortname),d=0;d<e.p.colModel.length;d++)if(e.p.colModel[d].index===a||e.p.colModel[d].name===a){f=d,e.p.frozenColumns===!0&&e.p.colModel[d].frozen===!0&&(g=e.grid.fhDiv.find("#"+e.p.id+"_"+a));break}if(-1!==f){var -h=e.p.colModel[f].sortable;g||(g=e.grid.headers[f].el),"boolean"!=typeof -h&&(h=!0),"boolean"!=typeof -b&&(b=!1),h&&e.sortData("jqgh_"+e.p.id+"_"+a,f,b,c,g)}}})},setGridState:function(a){return this.each(function(){if(this.grid){var -b=this,c=$(this).jqGrid("getStyleUI",this.p.styleUI+".base","icon_caption_open",!0),d=$(this).jqGrid("getStyleUI",this.p.styleUI+".base","icon_caption_close",!0);"hidden"===a?($(".ui-jqgrid-bdiv, .ui-jqgrid-hdiv","#gview_"+$.jgrid.jqID(b.p.id)).slideUp("fast"),b.p.pager&&$(b.p.pager).slideUp("fast"),b.p.toppager&&$(b.p.toppager).slideUp("fast"),b.p.toolbar[0]===!0&&("both"===b.p.toolbar[1]&&$(b.grid.ubDiv).slideUp("fast"),$(b.grid.uDiv).slideUp("fast")),b.p.footerrow&&$(".ui-jqgrid-sdiv","#gbox_"+$.jgrid.jqID(b.p.id)).slideUp("fast"),$(".ui-jqgrid-headlink",b.grid.cDiv).removeClass(c).addClass(d),b.p.gridstate="hidden"):"visible"===a&&($(".ui-jqgrid-hdiv, .ui-jqgrid-bdiv","#gview_"+$.jgrid.jqID(b.p.id)).slideDown("fast"),b.p.pager&&$(b.p.pager).slideDown("fast"),b.p.toppager&&$(b.p.toppager).slideDown("fast"),b.p.toolbar[0]===!0&&("both"===b.p.toolbar[1]&&$(b.grid.ubDiv).slideDown("fast"),$(b.grid.uDiv).slideDown("fast")),b.p.footerrow&&$(".ui-jqgrid-sdiv","#gbox_"+$.jgrid.jqID(b.p.id)).slideDown("fast"),$(".ui-jqgrid-headlink",b.grid.cDiv).removeClass(d).addClass(c),b.p.gridstate="visible")}})},setFrozenColumns:function(){return this.each(function(){if(this.grid){var -a=this,b=a.p.colModel,c=0,d=b.length,e=-1,f=!1,g=$(a).jqGrid("getStyleUI",a.p.styleUI+".base","headerDiv",!0,"ui-jqgrid-hdiv"),h=$(a).jqGrid("getStyleUI",a.p.styleUI+".common","hover",!0);if(a.p.subGrid!==!0&&a.p.treeGrid!==!0&&a.p.cellEdit!==!0&&!a.p.sortable&&!a.p.scroll){for(a.p.rownumbers&&c++,a.p.multiselect&&c++;d>c&&b[c].frozen===!0;)f=!0,e=c,c++;if(e>=0&&f){var -i=a.p.caption?$(a.grid.cDiv).outerHeight():0,j=$(".ui-jqgrid-htable","#gview_"+$.jgrid.jqID(a.p.id)).height();a.p.toppager&&(i+=$(a.grid.topDiv).outerHeight()),a.p.toolbar[0]===!0&&"bottom"!==a.p.toolbar[1]&&(i+=$(a.grid.uDiv).outerHeight()),a.grid.fhDiv=$('<div style="position:absolute;'+("rtl"===a.p.direction?"right:0;":"left:0;")+"top:"+i+"px;height:"+j+'px;" class="frozen-div '+g+'"></div>'),a.grid.fbDiv=$('<div style="position:absolute;'+("rtl"===a.p.direction?"right:0;":"left:0;")+"top:"+(parseInt(i,10)+parseInt(j,10)+1)+'px;overflow-y:hidden" class="frozen-bdiv ui-jqgrid-bdiv"></div>'),$("#gview_"+$.jgrid.jqID(a.p.id)).append(a.grid.fhDiv);var -k=$(".ui-jqgrid-htable","#gview_"+$.jgrid.jqID(a.p.id)).clone(!0);if(a.p.groupHeader){$("tr.jqg-first-row-header, tr.jqg-third-row-header",k).each(function(){$("th:gt("+e+")",this).remove()});var -l,m,n=-1,o=-1;$("tr.jqg-second-row-header th",k).each(function(){return l=parseInt($(this).attr("colspan"),10),m=parseInt($(this).attr("rowspan"),10),m&&(n++,o++),l&&(n+=l,o++),n===e?(o=e,!1):void -0}),n!==e&&(o=e),$("tr.jqg-second-row-header",k).each(function(){$("th:gt("+o+")",this).remove()})}else -$("tr",k).each(function(){$("th:gt("+e+")",this).remove()});if($(k).width(1),$(a.grid.fhDiv).append(k).mousemove(function(b){return a.grid.resizing?(a.grid.dragMove(b),!1):void -0}),a.p.footerrow){var -p=$(".ui-jqgrid-bdiv","#gview_"+$.jgrid.jqID(a.p.id)).height();a.grid.fsDiv=$('<div style="position:absolute;left:0px;top:'+(parseInt(i,10)+parseInt(j,10)+parseInt(p,10)+1)+'px;" class="frozen-sdiv ui-jqgrid-sdiv"></div>'),$("#gview_"+$.jgrid.jqID(a.p.id)).append(a.grid.fsDiv);var -q=$(".ui-jqgrid-ftable","#gview_"+$.jgrid.jqID(a.p.id)).clone(!0);$("tr",q).each(function(){$("td:gt("+e+")",this).remove()}),$(q).width(1),$(a.grid.fsDiv).append(q)}$(a).bind("jqGridResizeStop.setFrozenColumns",function(b,c,d){var -e=$(".ui-jqgrid-htable",a.grid.fhDiv);$("th:eq("+d+")",e).width(c);var -f=$(".ui-jqgrid-btable",a.grid.fbDiv);if($("tr:first td:eq("+d+")",f).width(c),a.p.footerrow){var -g=$(".ui-jqgrid-ftable",a.grid.fsDiv);$("tr:first td:eq("+d+")",g).width(c)}}),$("#gview_"+$.jgrid.jqID(a.p.id)).append(a.grid.fbDiv),$(a.grid.fbDiv).bind("mousewheel DOMMouseScroll",function(b){var -c=$(a.grid.bDiv).scrollTop();$(a.grid.bDiv).scrollTop(b.originalEvent.wheelDelta>0||b.originalEvent.detail<0?c-25:c+25),b.preventDefault()}),a.p.hoverrows===!0&&$("#"+$.jgrid.jqID(a.p.id)).unbind("mouseover").unbind("mouseout"),$(a).bind("jqGridAfterGridComplete.setFrozenColumns",function(){$("#"+$.jgrid.jqID(a.p.id)+"_frozen").remove(),$(a.grid.fbDiv).height($(a.grid.bDiv).height()-16);var -b=$("#"+$.jgrid.jqID(a.p.id)).clone(!0);$("tr[role=row]",b).each(function(){$("td[role=gridcell]:gt("+e+")",this).remove()}),$(b).width(1).attr("id",a.p.id+"_frozen"),$(a.grid.fbDiv).append(b),a.p.hoverrows===!0&&($("tr.jqgrow",b).hover(function(){$(this).addClass(h),$("#"+$.jgrid.jqID(this.id),"#"+$.jgrid.jqID(a.p.id)).addClass(h)},function(){$(this).removeClass(h),$("#"+$.jgrid.jqID(this.id),"#"+$.jgrid.jqID(a.p.id)).removeClass(h)}),$("tr.jqgrow","#"+$.jgrid.jqID(a.p.id)).hover(function(){$(this).addClass(h),$("#"+$.jgrid.jqID(this.id),"#"+$.jgrid.jqID(a.p.id)+"_frozen").addClass(h)},function(){$(this).removeClass(h),$("#"+$.jgrid.jqID(this.id),"#"+$.jgrid.jqID(a.p.id)+"_frozen").removeClass(h)})),b=null}),a.grid.hDiv.loading||$(a).triggerHandler("jqGridAfterGridComplete"),a.p.frozenColumns=!0}}}})},destroyFrozenColumns:function(){return this.each(function(){if(this.grid&&this.p.frozenColumns===!0){var -a=this,b=$(a).jqGrid("getStyleUI",a.p.styleUI+".common","hover",!0);if($(a.grid.fhDiv).remove(),$(a.grid.fbDiv).remove(),a.grid.fhDiv=null,a.grid.fbDiv=null,a.p.footerrow&&($(a.grid.fsDiv).remove(),a.grid.fsDiv=null),$(this).unbind(".setFrozenColumns"),a.p.hoverrows===!0){var -c;$("#"+$.jgrid.jqID(a.p.id)).bind("mouseover",function(a){c=$(a.target).closest("tr.jqgrow"),"ui-subgrid"!==$(c).attr("class")&&$(c).addClass(b)}).bind("mouseout",function(a){c=$(a.target).closest("tr.jqgrow"),$(c).removeClass(b)})}this.p.frozenColumns=!1}})},resizeColumn:function(a,b){return this.each(function(){var -c,d,e,f=this.grid,g=this.p,h=g.colModel,i=h.length;if("string"==typeof -a){for(c=0;i>c;c++)if(h[c].name===a){a=c;break}}else -a=parseInt(a,10);if(b=parseInt(b,10),!("number"!=typeof -a||0>a||a>h.length-1||"number"!=typeof -b||b<g.minColWidth)){if(g.forceFit)for(g.nv=0,c=a+1;i>c;c++)if(h[c].hidden!==!0){g.nv=c-a;break}if(f.resizing={idx:a},d=b-f.headers[a].width,g.forceFit){if(e=f.headers[a+g.nv].width-d,e<g.minColWidth)return;f.headers[a+g.nv].newWidth=f.headers[a+g.nv].width-d}f.newWidth=g.tblwidth+d,f.headers[a].newWidth=b,f.dragEnd(!1)}})},getStyleUI:function(a,b,c,d){try{var -e="",f=a.split("."),g="";switch(c||(e="class=",g='"'),null==d&&(d=""),f.length){case -1:e+=g+d+" "+$.jgrid.styleUI[f[0]][b]+g;break;case -2:e+=g+d+" "+$.jgrid.styleUI[f[0]][f[1]][b]+g}}catch(h){e=""}return $.trim(e)},resizeGrid:function(a){return this.each(function(){var -b=this;void -0===a&&(a=500),setTimeout(function(){var -a=$(window).width(),c=$("#gbox_"+$.jgrid.jqID(b.p.id)).parent().width(),d=b.p.width;d=a-c>3?c:a,$("#"+$.jgrid.jqID(b.p.id)).jqGrid("setGridWidth",d)},a)})}})});!function(a){"use strict";"function"==typeof -define&&define.amd?define(["jquery","./grid.base"],a):a(jQuery)}(function(a){"use strict";a.fmatter={},a.extend(a.fmatter,{isBoolean:function(a){return"boolean"==typeof -a},isObject:function(b){return b&&("object"==typeof -b||a.isFunction(b))||!1},isString:function(a){return"string"==typeof -a},isNumber:function(a){return"number"==typeof -a&&isFinite(a)},isValue:function(a){return this.isObject(a)||this.isString(a)||this.isNumber(a)||this.isBoolean(a)},isEmpty:function(b){return!this.isString(b)&&this.isValue(b)?!1:this.isValue(b)?(b=a.trim(b).replace(/\ \;/gi,"").replace(/\ \;/gi,""),""===b):!0}}),a.fn.fmatter=function(b,c,d,e,f){var -g=c;d=a.extend({},a.jgrid.getRegional(this,"formatter"),d);try{g=a.fn.fmatter[b].call(this,c,d,e,f)}catch(h){}return g},a.fmatter.util={NumberFormat:function(b,c){if(a.fmatter.isNumber(b)||(b*=1),a.fmatter.isNumber(b)){var -d,e=0>b,f=String(b),g=c.decimalSeparator||".";if(a.fmatter.isNumber(c.decimalPlaces)){var -h=c.decimalPlaces,i=Math.pow(10,h);if(f=String(Math.round(b*i)/i),d=f.lastIndexOf("."),h>0)for(0>d?(f+=g,d=f.length-1):"."!==g&&(f=f.replace(".",g));f.length-1-d<h;)f+="0"}if(c.thousandsSeparator){var -j=c.thousandsSeparator;d=f.lastIndexOf(g),d=d>-1?d:f.length;var -k,l=f.substring(d),m=-1;for(k=d;k>0;k--)m++,m%3===0&&k!==d&&(!e||k>1)&&(l=j+l),l=f.charAt(k-1)+l;f=l}return f=c.prefix?c.prefix+f:f,f=c.suffix?f+c.suffix:f}return b}},a.fn.fmatter.defaultFormat=function(b,c){return a.fmatter.isValue(b)&&""!==b?b:c.defaultValue||" "},a.fn.fmatter.email=function(b,c){return a.fmatter.isEmpty(b)?a.fn.fmatter.defaultFormat(b,c):'<a href="mailto:'+b+'">'+b+"</a>"},a.fn.fmatter.checkbox=function(b,c){var -d,e=a.extend({},c.checkbox);void -0!==c.colModel&&void -0!==c.colModel.formatoptions&&(e=a.extend({},e,c.colModel.formatoptions)),d=e.disabled===!0?'disabled="disabled"':"",(a.fmatter.isEmpty(b)||void -0===b)&&(b=a.fn.fmatter.defaultFormat(b,e)),b=String(b),b=(b+"").toLowerCase();var -f=b.search(/(false|f|0|no|n|off|undefined)/i)<0?" checked='checked' ":"";return'<input type="checkbox" '+f+' value="'+b+'" offval="no" '+d+"/>"},a.fn.fmatter.link=function(b,c){var -d={target:c.target},e="";return void -0!==c.colModel&&void -0!==c.colModel.formatoptions&&(d=a.extend({},d,c.colModel.formatoptions)),d.target&&(e="target="+d.target),a.fmatter.isEmpty(b)?a.fn.fmatter.defaultFormat(b,c):"<a "+e+' href="'+b+'">'+b+"</a>"},a.fn.fmatter.showlink=function(b,c){var -d,e={baseLinkUrl:c.baseLinkUrl,showAction:c.showAction,addParam:c.addParam||"",target:c.target,idName:c.idName},f="";return void -0!==c.colModel&&void -0!==c.colModel.formatoptions&&(e=a.extend({},e,c.colModel.formatoptions)),e.target&&(f="target="+e.target),d=e.baseLinkUrl+e.showAction+"?"+e.idName+"="+c.rowId+e.addParam,a.fmatter.isString(b)||a.fmatter.isNumber(b)?"<a "+f+' href="'+d+'">'+b+"</a>":a.fn.fmatter.defaultFormat(b,c)},a.fn.fmatter.integer=function(b,c){var -d=a.extend({},c.integer);return void -0!==c.colModel&&void -0!==c.colModel.formatoptions&&(d=a.extend({},d,c.colModel.formatoptions)),a.fmatter.isEmpty(b)?d.defaultValue:a.fmatter.util.NumberFormat(b,d)},a.fn.fmatter.number=function(b,c){var -d=a.extend({},c.number);return void -0!==c.colModel&&void -0!==c.colModel.formatoptions&&(d=a.extend({},d,c.colModel.formatoptions)),a.fmatter.isEmpty(b)?d.defaultValue:a.fmatter.util.NumberFormat(b,d)},a.fn.fmatter.currency=function(b,c){var -d=a.extend({},c.currency);return void -0!==c.colModel&&void -0!==c.colModel.formatoptions&&(d=a.extend({},d,c.colModel.formatoptions)),a.fmatter.isEmpty(b)?d.defaultValue:a.fmatter.util.NumberFormat(b,d)},a.fn.fmatter.date=function(b,c,d,e){var -f=a.extend({},c.date);return void -0!==c.colModel&&void -0!==c.colModel.formatoptions&&(f=a.extend({},f,c.colModel.formatoptions)),f.reformatAfterEdit||"edit"!==e?a.fmatter.isEmpty(b)?a.fn.fmatter.defaultFormat(b,c):a.jgrid.parseDate.call(this,f.srcformat,b,f.newformat,f):a.fn.fmatter.defaultFormat(b,c)},a.fn.fmatter.select=function(b,c){b=String(b);var -d,e,f=!1,g=[];if(void -0!==c.colModel.formatoptions?(f=c.colModel.formatoptions.value,d=void -0===c.colModel.formatoptions.separator?":":c.colModel.formatoptions.separator,e=void -0===c.colModel.formatoptions.delimiter?";":c.colModel.formatoptions.delimiter):void -0!==c.colModel.editoptions&&(f=c.colModel.editoptions.value,d=void -0===c.colModel.editoptions.separator?":":c.colModel.editoptions.separator,e=void -0===c.colModel.editoptions.delimiter?";":c.colModel.editoptions.delimiter),f){var -h,i=(null!=c.colModel.editoptions&&c.colModel.editoptions.multiple===!0)==!0?!0:!1,j=[];if(i&&(j=b.split(","),j=a.map(j,function(b){return a.trim(b)})),a.fmatter.isString(f)){var -k,l=f.split(e),m=0;for(k=0;k<l.length;k++)if(h=l[k].split(d),h.length>2&&(h[1]=a.map(h,function(a,b){return b>0?a:void -0}).join(d)),i)a.inArray(h[0],j)>-1&&(g[m]=h[1],m++);else -if(a.trim(h[0])===a.trim(b)){g[0]=h[1];break}}else -a.fmatter.isObject(f)&&(i?g=a.map(j,function(a){return f[a]}):g[0]=f[b]||"")}return b=g.join(", "),""===b?a.fn.fmatter.defaultFormat(b,c):b},a.fn.fmatter.rowactions=function(b){var -c=a(this).closest("tr.jqgrow"),d=c.attr("id"),e=a(this).closest("table.ui-jqgrid-btable").attr("id").replace(/_frozen([^_]*)$/,"$1"),f=a("#"+e),g=f[0],h=g.p,i=h.colModel[a.jgrid.getCellIndex(this)],j=i.frozen?a("tr#"+d+" td:eq("+a.jgrid.getCellIndex(this)+") > div",f):a(this).parent(),k={extraparam:{}},l=function(b,c){a.isFunction(k.afterSave)&&k.afterSave.call(g,b,c),j.find("div.ui-inline-edit,div.ui-inline-del").show(),j.find("div.ui-inline-save,div.ui-inline-cancel").hide()},m=function(b){a.isFunction(k.afterRestore)&&k.afterRestore.call(g,b),j.find("div.ui-inline-edit,div.ui-inline-del").show(),j.find("div.ui-inline-save,div.ui-inline-cancel").hide()};void -0!==i.formatoptions&&(k=a.extend(k,i.formatoptions)),void -0!==h.editOptions&&(k.editOptions=h.editOptions),void -0!==h.delOptions&&(k.delOptions=h.delOptions),c.hasClass("jqgrid-new-row")&&(k.extraparam[h.prmNames.oper]=h.prmNames.addoper);var -n={keys:k.keys,oneditfunc:k.onEdit,successfunc:k.onSuccess,url:k.url,extraparam:k.extraparam,aftersavefunc:l,errorfunc:k.onError,afterrestorefunc:m,restoreAfterError:k.restoreAfterError,mtype:k.mtype};switch(b){case"edit":f.jqGrid("editRow",d,n),j.find("div.ui-inline-edit,div.ui-inline-del").hide(),j.find("div.ui-inline-save,div.ui-inline-cancel").show(),f.triggerHandler("jqGridAfterGridComplete");break;case"save":f.jqGrid("saveRow",d,n)&&(j.find("div.ui-inline-edit,div.ui-inline-del").show(),j.find("div.ui-inline-save,div.ui-inline-cancel").hide(),f.triggerHandler("jqGridAfterGridComplete"));break;case"cancel":f.jqGrid("restoreRow",d,m),j.find("div.ui-inline-edit,div.ui-inline-del").show(),j.find("div.ui-inline-save,div.ui-inline-cancel").hide(),f.triggerHandler("jqGridAfterGridComplete");break;case"del":f.jqGrid("delGridRow",d,k.delOptions);break;case"formedit":f.jqGrid("setSelection",d),f.jqGrid("editGridRow",d,k.editOptions)}},a.fn.fmatter.actions=function(b,c){var -d,e={keys:!1,editbutton:!0,delbutton:!0,editformbutton:!1},f=c.rowId,g="",h=a.jgrid.getRegional(this,"nav"),i=a.jgrid.styleUI[c.styleUI||"jQueryUI"].fmatter,j=a.jgrid.styleUI[c.styleUI||"jQueryUI"].common;if(void -0!==c.colModel.formatoptions&&(e=a.extend(e,c.colModel.formatoptions)),void -0===f||a.fmatter.isEmpty(f))return"";var -k="onmouseover=jQuery(this).addClass('"+j.hover+"'); onmouseout=jQuery(this).removeClass('"+j.hover+"'); ";return e.editformbutton?(d="id='jEditButton_"+f+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'formedit'); "+k,g+="<div title='"+h.edittitle+"' style='float:left;cursor:pointer;' class='ui-pg-div ui-inline-edit' "+d+"><span class='"+j.icon_base+" "+i.icon_edit+"'></span></div>"):e.editbutton&&(d="id='jEditButton_"+f+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'edit'); "+k,g+="<div title='"+h.edittitle+"' style='float:left;cursor:pointer;' class='ui-pg-div ui-inline-edit' "+d+"><span class='"+j.icon_base+" "+i.icon_edit+"'></span></div>"),e.delbutton&&(d="id='jDeleteButton_"+f+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'del'); "+k,g+="<div title='"+h.deltitle+"' style='float:left;' class='ui-pg-div ui-inline-del' "+d+"><span class='"+j.icon_base+" "+i.icon_del+"'></span></div>"),d="id='jSaveButton_"+f+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'save'); "+k,g+="<div title='"+h.savetitle+"' style='float:left;display:none' class='ui-pg-div ui-inline-save' "+d+"><span class='"+j.icon_base+" "+i.icon_save+"'></span></div>",d="id='jCancelButton_"+f+"' onclick=jQuery.fn.fmatter.rowactions.call(this,'cancel'); "+k,g+="<div title='"+h.canceltitle+"' style='float:left;display:none;' class='ui-pg-div ui-inline-cancel' "+d+"><span class='"+j.icon_base+" "+i.icon_cancel+"'></span></div>","<div style='margin-left:8px;'>"+g+"</div>"},a.unformat=function(b,c,d,e){var -f,g,h=c.colModel.formatter,i=c.colModel.formatoptions||{},j=/([\.\*\_\'\(\)\{\}\+\?\\])/g,k=c.colModel.unformat||a.fn.fmatter[h]&&a.fn.fmatter[h].unformat;if(void -0!==k&&a.isFunction(k))f=k.call(this,a(b).text(),c,b);else -if(void -0!==h&&a.fmatter.isString(h)){var -l,m=a.jgrid.getRegional(this,"formatter")||{};switch(h){case"integer":i=a.extend({},m.integer,i),g=i.thousandsSeparator.replace(j,"\\$1"),l=new -RegExp(g,"g"),f=a(b).text().replace(l,"");break;case"number":i=a.extend({},m.number,i),g=i.thousandsSeparator.replace(j,"\\$1"),l=new -RegExp(g,"g"),f=a(b).text().replace(l,"").replace(i.decimalSeparator,".");break;case"currency":i=a.extend({},m.currency,i),g=i.thousandsSeparator.replace(j,"\\$1"),l=new -RegExp(g,"g"),f=a(b).text(),i.prefix&&i.prefix.length&&(f=f.substr(i.prefix.length)),i.suffix&&i.suffix.length&&(f=f.substr(0,f.length-i.suffix.length)),f=f.replace(l,"").replace(i.decimalSeparator,".");break;case"checkbox":var -n=c.colModel.editoptions?c.colModel.editoptions.value.split(":"):["Yes","No"];f=a("input",b).is(":checked")?n[0]:n[1];break;case"select":f=a.unformat.select(b,c,d,e);break;case"actions":return"";default:f=a(b).text()}}return void -0!==f?f:e===!0?a(b).text():a.jgrid.htmlDecode(a(b).html())},a.unformat.select=function(b,c,d,e){var -f=[],g=a(b).text();if(e===!0)return g;var -h=a.extend({},void -0!==c.colModel.formatoptions?c.colModel.formatoptions:c.colModel.editoptions),i=void -0===h.separator?":":h.separator,j=void -0===h.delimiter?";":h.delimiter;if(h.value){var -k,l=h.value,m=h.multiple===!0?!0:!1,n=[];if(m&&(n=g.split(","),n=a.map(n,function(b){return a.trim(b)})),a.fmatter.isString(l)){var -o,p=l.split(j),q=0;for(o=0;o<p.length;o++)if(k=p[o].split(i),k.length>2&&(k[1]=a.map(k,function(a,b){return b>0?a:void -0}).join(i)),m)a.inArray(a.trim(k[1]),n)>-1&&(f[q]=k[0],q++);else -if(a.trim(k[1])===a.trim(g)){f[0]=k[0];break}}else(a.fmatter.isObject(l)||a.isArray(l))&&(m||(n[0]=g),f=a.map(n,function(b){var -c;return a.each(l,function(a,d){return d===b?(c=a,!1):void -0}),void -0!==c?c:void -0}));return f.join(", ")}return g||""},a.unformat.date=function(b,c){var -d=a.jgrid.getRegional(this,"formatter.date")||{};return void -0!==c.formatoptions&&(d=a.extend({},d,c.formatoptions)),a.fmatter.isEmpty(b)?a.fn.fmatter.defaultFormat(b,c):a.jgrid.parseDate.call(this,d.newformat,b,d.srcformat,d)}});!function(a){"use strict";"function"==typeof -define&&define.amd?define(["jquery","./grid.base","./jqModal","./jqDnR"],a):a(jQuery)}(function(a){"use strict";a.extend(a.jgrid,{showModal:function(a){a.w.show()},closeModal:function(a){a.w.hide().attr("aria-hidden","true"),a.o&&a.o.remove()},hideModal:function(b,c){c=a.extend({jqm:!0,gb:"",removemodal:!1,formprop:!1,form:""},c||{});var -d=c.gb&&"string"==typeof -c.gb&&"#gbox_"===c.gb.substr(0,6)?a("#"+c.gb.substr(6))[0]:!1;if(c.onClose){var -e=d?c.onClose.call(d,b):c.onClose(b);if("boolean"==typeof -e&&!e)return}if(c.formprop&&d&&c.form){var -f=a(b)[0].style.height,g=a(b)[0].style.width;f.indexOf("px")>-1&&(f=parseFloat(f)),g.indexOf("px")>-1&&(g=parseFloat(g));var -h,i;"edit"===c.form?(h="#"+a.jgrid.jqID("FrmGrid_"+c.gb.substr(6)),i="formProp"):"view"===c.form&&(h="#"+a.jgrid.jqID("ViewGrid_"+c.gb.substr(6)),i="viewProp"),a(d).data(i,{top:parseFloat(a(b).css("top")),left:parseFloat(a(b).css("left")),width:g,height:f,dataheight:a(h).height(),datawidth:a(h).width()})}if(a.fn.jqm&&c.jqm===!0)a(b).attr("aria-hidden","true").jqmHide();else{if(""!==c.gb)try{a(".jqgrid-overlay:first",c.gb).hide()}catch(j){}a(b).hide().attr("aria-hidden","true")}c.removemodal&&a(b).remove()},findPos:function(a){var -b=0,c=0;if(a.offsetParent)do -b+=a.offsetLeft,c+=a.offsetTop;while(a=a.offsetParent);return[b,c]},createModal:function(b,c,d,e,f,g,h){d=a.extend(!0,{},a.jgrid.jqModal||{},d);var -i=this,j="rtl"===a(d.gbox).attr("dir")?!0:!1,k=a.jgrid.styleUI[d.styleUI||"jQueryUI"].modal,l=a.jgrid.styleUI[d.styleUI||"jQueryUI"].common,m=document.createElement("div");h=a.extend({},h||{}),m.className="ui-jqdialog "+k.modal,m.id=b.themodal;var -n=document.createElement("div");n.className="ui-jqdialog-titlebar "+k.header,n.id=b.modalhead,a(n).append("<span class='ui-jqdialog-title'>"+d.caption+"</span>");var -o=a("<a class='ui-jqdialog-titlebar-close "+l.cornerall+"'></a>").hover(function(){o.addClass(l.hover)},function(){o.removeClass(l.hover)}).append("<span class='"+l.icon_base+" "+k.icon_close+"'></span>");a(n).append(o),j?(m.dir="rtl",a(".ui-jqdialog-title",n).css("float","right"),a(".ui-jqdialog-titlebar-close",n).css("left","0.3em")):(m.dir="ltr",a(".ui-jqdialog-title",n).css("float","left"),a(".ui-jqdialog-titlebar-close",n).css("right","0.3em"));var -p=document.createElement("div");a(p).addClass("ui-jqdialog-content "+k.content).attr("id",b.modalcontent),a(p).append(c),m.appendChild(p),a(m).prepend(n),g===!0?a("body").append(m):"string"==typeof -g?a(g).append(m):a(m).insertBefore(e),a(m).css(h),void -0===d.jqModal&&(d.jqModal=!0);var -q={};if(a.fn.jqm&&d.jqModal===!0){if(0===d.left&&0===d.top&&d.overlay){var -r=[];r=a.jgrid.findPos(f),d.left=r[0]+4,d.top=r[1]+4}q.top=d.top+"px",q.left=d.left}else(0!==d.left||0!==d.top)&&(q.left=d.left,q.top=d.top+"px");if(a("a.ui-jqdialog-titlebar-close",n).click(function(){var -c=a("#"+a.jgrid.jqID(b.themodal)).data("onClose")||d.onClose,e=a("#"+a.jgrid.jqID(b.themodal)).data("gbox")||d.gbox;return i.hideModal("#"+a.jgrid.jqID(b.themodal),{gb:e,jqm:d.jqModal,onClose:c,removemodal:d.removemodal||!1,formprop:!d.recreateForm||!1,form:d.form||""}),!1}),0!==d.width&&d.width||(d.width=300),0!==d.height&&d.height||(d.height=200),!d.zIndex){var -s=a(e).parents("*[role=dialog]").filter(":first").css("z-index");d.zIndex=s?parseInt(s,10)+2:950}var -t=0;if(j&&q.left&&!g&&(t=a(d.gbox).width()-(isNaN(d.width)?0:parseInt(d.width,10))-8,q.left=parseInt(q.left,10)+parseInt(t,10)),q.left&&(q.left+="px"),a(m).css(a.extend({width:isNaN(d.width)?"auto":d.width+"px",height:isNaN(d.height)?"auto":d.height+"px",zIndex:d.zIndex,overflow:"hidden"},q)).attr({tabIndex:"-1",role:"dialog","aria-labelledby":b.modalhead,"aria-hidden":"true"}),void -0===d.drag&&(d.drag=!0),void -0===d.resize&&(d.resize=!0),d.drag)if(a(n).css("cursor","move"),a.fn.jqDrag)a(m).jqDrag(n);else -try{a(m).draggable({handle:a("#"+a.jgrid.jqID(n.id))})}catch(u){}if(d.resize)if(a.fn.jqResize)a(m).append("<div class='jqResize "+k.resizable+" "+l.icon_base+" "+k.icon_resizable+"'></div>"),a("#"+a.jgrid.jqID(b.themodal)).jqResize(".jqResize",b.scrollelm?"#"+a.jgrid.jqID(b.scrollelm):!1);else -try{a(m).resizable({handles:"se, sw",alsoResize:b.scrollelm?"#"+a.jgrid.jqID(b.scrollelm):!1})}catch(v){}d.closeOnEscape===!0&&a(m).keydown(function(c){if(27===c.which){var -e=a("#"+a.jgrid.jqID(b.themodal)).data("onClose")||d.onClose;i.hideModal("#"+a.jgrid.jqID(b.themodal),{gb:d.gbox,jqm:d.jqModal,onClose:e,removemodal:d.removemodal||!1,formprop:!d.recreateForm||!1,form:d.form||""})}})},viewModal:function(b,c){if(c=a.extend({toTop:!0,overlay:10,modal:!1,overlayClass:"ui-widget-overlay",onShow:a.jgrid.showModal,onHide:a.jgrid.closeModal,gbox:"",jqm:!0,jqM:!0},c||{}),void -0===c.focusField&&(c.focusField=0),c.focusField="number"==typeof -c.focusField&&c.focusField>=0?parseInt(c.focusField,10):"boolean"!=typeof -c.focusField||c.focusField?0:!1,a.fn.jqm&&c.jqm===!0)c.jqM?a(b).attr("aria-hidden","false").jqm(c).jqmShow():a(b).attr("aria-hidden","false").jqmShow();else -if(""!==c.gbox&&(a(".jqgrid-overlay:first",c.gbox).show(),a(b).data("gbox",c.gbox)),a(b).show().attr("aria-hidden","false"),c.focusField>=0)try{a(":input:visible",b)[parseInt(c.focusField,10)].focus()}catch(d){}},info_dialog:function(b,c,d,e){var -f={width:290,height:"auto",dataheight:"auto",drag:!0,resize:!1,left:250,top:170,zIndex:1e3,jqModal:!0,modal:!1,closeOnEscape:!0,align:"center",buttonalign:"center",buttons:[]};a.extend(!0,f,a.jgrid.jqModal||{},{caption:"<b>"+b+"</b>"},e||{});var -g=f.jqModal,h=this,i=a.jgrid.styleUI[f.styleUI||"jQueryUI"].modal,j=a.jgrid.styleUI[f.styleUI||"jQueryUI"].common;a.fn.jqm&&!g&&(g=!1);var -k,l="";if(f.buttons.length>0)for(k=0;k<f.buttons.length;k++)void -0===f.buttons[k].id&&(f.buttons[k].id="info_button_"+k),l+="<a id='"+f.buttons[k].id+"' class='fm-button "+j.button+"'>"+f.buttons[k].text+"</a>";var -m=isNaN(f.dataheight)?f.dataheight:f.dataheight+"px",n="text-align:"+f.align+";",o="<div id='info_id'>";o+="<div id='infocnt' style='margin:0px;padding-bottom:1em;width:100%;overflow:auto;position:relative;height:"+m+";"+n+"'>"+c+"</div>",o+=d?"<div class='"+i.header+"' style='text-align:"+f.buttonalign+";padding-bottom:0.8em;padding-top:0.5em;background-image: none;border-width: 1px 0 0 0;'><a id='closedialog' class='fm-button "+j.button+"'>"+d+"</a>"+l+"</div>":""!==l?"<div class='"+i.header+"' style='text-align:"+f.buttonalign+";padding-bottom:0.8em;padding-top:0.5em;background-image: none;border-width: 1px 0 0 0;'>"+l+"</div>":"",o+="</div>";try{"false"===a("#info_dialog").attr("aria-hidden")&&a.jgrid.hideModal("#info_dialog",{jqm:g}),a("#info_dialog").remove()}catch(p){}a.jgrid.createModal({themodal:"info_dialog",modalhead:"info_head",modalcontent:"info_content",scrollelm:"infocnt"},o,f,"","",!0),l&&a.each(f.buttons,function(b){a("#"+a.jgrid.jqID(this.id),"#info_id").bind("click",function(){return f.buttons[b].onClick.call(a("#info_dialog")),!1})}),a("#closedialog","#info_id").click(function(){return h.hideModal("#info_dialog",{jqm:g,onClose:a("#info_dialog").data("onClose")||f.onClose,gb:a("#info_dialog").data("gbox")||f.gbox}),!1}),a(".fm-button","#info_dialog").hover(function(){a(this).addClass(j.hover)},function(){a(this).removeClass(j.hover)}),a.isFunction(f.beforeOpen)&&f.beforeOpen(),a.jgrid.viewModal("#info_dialog",{onHide:function(a){a.w.hide().remove(),a.o&&a.o.remove()},modal:f.modal,jqm:g}),a.isFunction(f.afterOpen)&&f.afterOpen();try{a("#info_dialog").focus()}catch(q){}},bindEv:function(b,c){var -d=this;a.isFunction(c.dataInit)&&c.dataInit.call(d,b,c),c.dataEvents&&a.each(c.dataEvents,function(){void -0!==this.data?a(b).bind(this.type,this.data,this.fn):a(b).bind(this.type,this.fn)})},createEl:function(b,c,d,e,f){function -g(b,c,d){var -e=["dataInit","dataEvents","dataUrl","buildSelect","sopt","searchhidden","defaultValue","attr","custom_element","custom_value","oper"];void -0!==d&&a.isArray(d)&&a.merge(e,d),a.each(c,function(c,d){-1===a.inArray(c,e)&&a(b).attr(c,d)}),c.hasOwnProperty("id")||a(b).attr("id",a.jgrid.randId())}var -h="",i=this;switch(b){case"textarea":h=document.createElement("textarea"),e?c.cols||a(h).css({width:"98%"}):c.cols||(c.cols=20),c.rows||(c.rows=2),(" "===d||" "===d||1===d.length&&160===d.charCodeAt(0))&&(d=""),h.value=d,g(h,c),a(h).attr({role:"textbox",multiline:"true"});break;case"checkbox":if(h=document.createElement("input"),h.type="checkbox",c.value){var -j=c.value.split(":");d===j[0]&&(h.checked=!0,h.defaultChecked=!0),h.value=j[0],a(h).attr("offval",j[1])}else{var -k=(d+"").toLowerCase();k.search(/(false|f|0|no|n|off|undefined)/i)<0&&""!==k?(h.checked=!0,h.defaultChecked=!0,h.value=d):h.value="on",a(h).attr("offval","off")}g(h,c,["value"]),a(h).attr("role","checkbox");break;case"select":h=document.createElement("select"),h.setAttribute("role","select");var -l,m=[];if(c.multiple===!0?(l=!0,h.multiple="multiple",a(h).attr("aria-multiselectable","true")):l=!1,null!=c.dataUrl){var -n=null,o=c.postData||f.postData;try{n=c.rowId}catch(p){}i.p&&i.p.idPrefix&&(n=a.jgrid.stripPref(i.p.idPrefix,n)),a.ajax(a.extend({url:a.isFunction(c.dataUrl)?c.dataUrl.call(i,n,d,String(c.name)):c.dataUrl,type:"GET",dataType:"html",data:a.isFunction(o)?o.call(i,n,d,String(c.name)):o,context:{elem:h,options:c,vl:d},success:function(b){var -c,d=[],e=this.elem,f=this.vl,h=a.extend({},this.options),j=h.multiple===!0,k=h.cacheUrlData===!0,l="",m=a.isFunction(h.buildSelect)?h.buildSelect.call(i,b):b;"string"==typeof -m&&(m=a(a.trim(m)).html()),m&&(a(e).append(m),g(e,h,o?["postData"]:void -0),void -0===h.size&&(h.size=j?3:1),j?(d=f.split(","),d=a.map(d,function(b){return a.trim(b)})):d[0]=a.trim(f),setTimeout(function(){if(a("option",e).each(function(b){c=a(this).text(),f=a(this).val()||c,k&&(l+=(0!==b?";":"")+f+":"+c),0===b&&e.multiple&&(this.selected=!1),a(this).attr("role","option"),(a.inArray(a.trim(c),d)>-1||a.inArray(a.trim(f),d)>-1)&&(this.selected="selected")}),k)if("edit"===h.oper)a(i).jqGrid("setColProp",h.name,{editoptions:{buildSelect:null,dataUrl:null,value:l}});else -if("search"===h.oper)a(i).jqGrid("setColProp",h.name,{searchoptions:{dataUrl:null,value:l}});else -if("filter"===h.oper&&a("#fbox_"+i.p.id)[0].p){var -b,g=a("#fbox_"+i.p.id)[0].p.columns;a.each(g,function(){return b=this.index||this.name,h.name===b?(this.searchoptions.dataUrl=null,this.searchoptions.value=l,!1):void -0})}a(i).triggerHandler("jqGridAddEditAfterSelectUrlComplete",[e])},0))}},f||{}))}else -if(c.value){var -q;void -0===c.size&&(c.size=l?3:1),l&&(m=d.split(","),m=a.map(m,function(b){return a.trim(b)})),"function"==typeof -c.value&&(c.value=c.value());var -r,s,t,u,v,w,x=void -0===c.separator?":":c.separator,y=void -0===c.delimiter?";":c.delimiter;if("string"==typeof -c.value)for(r=c.value.split(y),q=0;q<r.length;q++)s=r[q].split(x),s.length>2&&(s[1]=a.map(s,function(a,b){return b>0?a:void -0}).join(x)),t=document.createElement("option"),t.setAttribute("role","option"),t.value=s[0],t.innerHTML=s[1],h.appendChild(t),l||a.trim(s[0])!==a.trim(d)&&a.trim(s[1])!==a.trim(d)||(t.selected="selected"),l&&(a.inArray(a.trim(s[1]),m)>-1||a.inArray(a.trim(s[0]),m)>-1)&&(t.selected="selected");else -if("[object Array]"===Object.prototype.toString.call(c.value))for(u=c.value,q=0;q<u.length;q++)2===u[q].length&&(v=u[q][0],w=u[q][1],t=document.createElement("option"),t.setAttribute("role","option"),t.value=v,t.innerHTML=w,h.appendChild(t),l||a.trim(v)!==a.trim(d)&&a.trim(w)!==a.trim(d)||(t.selected="selected"),l&&(a.inArray(a.trim(w),m)>-1||a.inArray(a.trim(v),m)>-1)&&(t.selected="selected"));else -if("object"==typeof -c.value){u=c.value;for(v -in -u)u.hasOwnProperty(v)&&(t=document.createElement("option"),t.setAttribute("role","option"),t.value=v,t.innerHTML=u[v],h.appendChild(t),l||a.trim(v)!==a.trim(d)&&a.trim(u[v])!==a.trim(d)||(t.selected="selected"),l&&(a.inArray(a.trim(u[v]),m)>-1||a.inArray(a.trim(v),m)>-1)&&(t.selected="selected"))}g(h,c,["value"])}break;case"image":case"file":h=document.createElement("input"),h.type=b,g(h,c);break;case"custom":h=document.createElement("span");try{if(!a.isFunction(c.custom_element))throw"e1";var -z=c.custom_element.call(i,d,c);if(!z)throw"e2";z=a(z).addClass("customelement").attr({id:c.id,name:c.name}),a(h).empty().append(z)}catch(p){var -A=a.jgrid.getRegional(i,"errors"),B=a.jgrid.getRegional(i,"edit");"e1"===p?a.jgrid.info_dialog(A.errcap,"function 'custom_element' "+B.msg.nodefined,B.bClose,{styleUI:i.p.styleUI}):"e2"===p?a.jgrid.info_dialog(A.errcap,"function 'custom_element' "+B.msg.novalue,B.bClose,{styleUI:i.p.styleUI}):a.jgrid.info_dialog(A.errcap,"string"==typeof -p?p:p.message,B.bClose,{styleUI:i.p.styleUI})}break;default:var -C;C="button"===b?"button":"textbox",h=document.createElement("input"),h.type=b,h.value=d,g(h,c),"button"!==b&&(e?c.size||a(h).css({width:"96%"}):c.size||(c.size=20)),a(h).attr("role",C)}return h},checkDate:function(a,b){var -c,d=function(a){return a%4!==0||a%100===0&&a%400!==0?28:29},e={};if(a=a.toLowerCase(),c=-1!==a.indexOf("/")?"/":-1!==a.indexOf("-")?"-":-1!==a.indexOf(".")?".":"/",a=a.split(c),b=b.split(c),3!==b.length)return!1;var -f,g,h=-1,i=-1,j=-1;for(g=0;g<a.length;g++){var -k=isNaN(b[g])?0:parseInt(b[g],10);e[a[g]]=k,f=a[g],-1!==f.indexOf("y")&&(h=g),-1!==f.indexOf("m")&&(j=g),-1!==f.indexOf("d")&&(i=g)}f="y"===a[h]||"yyyy"===a[h]?4:"yy"===a[h]?2:-1;var -l,m=[0,31,29,31,30,31,30,31,31,30,31,30,31];return-1===h?!1:(l=e[a[h]].toString(),2===f&&1===l.length&&(f=1),l.length!==f||0===e[a[h]]&&"00"!==b[h]?!1:-1===j?!1:(l=e[a[j]].toString(),l.length<1||e[a[j]]<1||e[a[j]]>12?!1:-1===i?!1:(l=e[a[i]].toString(),l.length<1||e[a[i]]<1||e[a[i]]>31||2===e[a[j]]&&e[a[i]]>d(e[a[h]])||e[a[i]]>m[e[a[j]]]?!1:!0)))},isEmpty:function(a){return a.match(/^\s+$/)||""===a?!0:!1},checkTime:function(b){var -c,d=/^(\d{1,2}):(\d{2})([apAP][Mm])?$/;if(!a.jgrid.isEmpty(b)){if(c=b.match(d),!c)return!1;if(c[3]){if(c[1]<1||c[1]>12)return!1}else -if(c[1]>23)return!1;if(c[2]>59)return!1}return!0},checkValues:function(b,c,d,e){var -f,g,h,i,j,k,l=this,m=l.p.colModel,n=a.jgrid.getRegional(this,"edit.msg");if(void -0===d)if("string"==typeof -c){for(g=0,j=m.length;j>g;g++)if(m[g].name===c){f=m[g].editrules,c=g,null!=m[g].formoptions&&(h=m[g].formoptions.label);break}}else -c>=0&&(f=m[c].editrules);else -f=d,h=void -0===e?"_":e;if(f){if(h||(h=null!=l.p.colNames?l.p.colNames[c]:m[c].label),f.required===!0&&a.jgrid.isEmpty(b))return[!1,h+": "+n.required,""];var -o=f.required===!1?!1:!0;if(f.number===!0&&(o!==!1||!a.jgrid.isEmpty(b))&&isNaN(b))return[!1,h+": "+n.number,""];if(void -0!==f.minValue&&!isNaN(f.minValue)&&parseFloat(b)<parseFloat(f.minValue))return[!1,h+": "+n.minValue+" "+f.minValue,""];if(void -0!==f.maxValue&&!isNaN(f.maxValue)&&parseFloat(b)>parseFloat(f.maxValue))return[!1,h+": "+n.maxValue+" "+f.maxValue,""];var -p;if(f.email===!0&&!(o===!1&&a.jgrid.isEmpty(b)||(p=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i,p.test(b))))return[!1,h+": "+n.email,""];if(f.integer===!0&&(o!==!1||!a.jgrid.isEmpty(b))){if(isNaN(b))return[!1,h+": "+n.integer,""];if(b%1!==0||-1!==b.indexOf("."))return[!1,h+": "+n.integer,""]}if(f.date===!0&&!(o===!1&&a.jgrid.isEmpty(b)||(m[c].formatoptions&&m[c].formatoptions.newformat?(i=m[c].formatoptions.newformat,k=a.jgrid.getRegional(l,"formatter.date.masks"),k&&k.hasOwnProperty(i)&&(i=k[i])):i=m[c].datefmt||"Y-m-d",a.jgrid.checkDate(i,b))))return[!1,h+": "+n.date+" - "+i,""];if(f.time===!0&&!(o===!1&&a.jgrid.isEmpty(b)||a.jgrid.checkTime(b)))return[!1,h+": "+n.date+" - hh:mm (am/pm)",""];if(f.url===!0&&!(o===!1&&a.jgrid.isEmpty(b)||(p=/^(((https?)|(ftp)):\/\/([\-\w]+\.)+\w{2,3}(\/[%\-\w]+(\.\w{2,})?)*(([\w\-\.\?\\\/+@&#;`~=%!]*)(\.\w{2,})?)*\/?)/i,p.test(b))))return[!1,h+": "+n.url,""];if(f.custom===!0&&(o!==!1||!a.jgrid.isEmpty(b))){if(a.isFunction(f.custom_func)){var -q=f.custom_func.call(l,b,h,c);return a.isArray(q)?q:[!1,n.customarray,""]}return[!1,n.customfcheck,""]}}return[!0,"",""]}})});!function(a){"use strict";"function"==typeof -define&&define.amd?define(["jquery","./grid.utils","./grid.base"],a):a(jQuery)}(function(a){"use strict";a.jgrid=a.jgrid||{},a.extend(a.jgrid,{saveState:function(b,c){if(c=a.extend({useStorage:!0,storageType:"localStorage",beforeSetItem:null,compression:!1,compressionModule:"LZString",compressionMethod:"compressToUTF16"},c||{}),b){var -d,e,f="",g="",h=a("#"+b)[0];if(h.grid){if(e=a(h).data("inlineNav"),e&&h.p.inlineNav&&a(h).jqGrid("setGridParam",{_iN:e}),e=a(h).data("filterToolbar"),e&&h.p.filterToolbar&&a(h).jqGrid("setGridParam",{_fT:e}),f=a(h).jqGrid("jqGridExport",{exptype:"jsonstring",ident:"",root:""}),a(h.grid.bDiv).find(".ui-jqgrid-btable tr:gt(0)").each(function(a,b){g+=b.outerHTML}),a.isFunction(c.beforeSetItem)&&(d=c.beforeSetItem.call(h,f),null!=d&&(f=d)),c.compression&&c.compressionModule)try{d=window[c.compressionModule][c.compressionMethod](f),null!=d&&(f=d,g=window[c.compressionModule][c.compressionMethod](g))}catch(i){}if(c.useStorage&&a.jgrid.isLocalStorage())try{window[c.storageType].setItem("jqGrid"+h.p.id,f),window[c.storageType].setItem("jqGrid"+h.p.id+"_data",g)}catch(i){22===i.code&&alert("Local storage limit is over!")}return f}}},loadState:function(b,c,d){if(d=a.extend({useStorage:!0,storageType:"localStorage",clearAfterLoad:!1,beforeSetGrid:null,decompression:!1,decompressionModule:"LZString",decompressionMethod:"decompressFromUTF16"},d||{}),b){var -e,f,g,h,i,j=a("#"+b)[0];if(j.grid&&a.jgrid.gridUnload(b),d.useStorage)try{c=window[d.storageType].getItem("jqGrid"+j.id),g=window[d.storageType].getItem("jqGrid"+j.id+"_data")}catch(k){}if(c){if(d.decompression&&d.decompressionModule)try{e=window[d.decompressionModule][d.decompressionMethod](c),null!=e&&(c=e,g=window[d.decompressionModule][d.decompressionMethod](g))}catch(k){}if(e=jqGridUtils.parse(c),e&&"object"===a.type(e)){a.isFunction(d.beforeSetGrid)&&(f=d.beforeSetGrid(e),f&&"object"===a.type(f)&&(e=f));var -l=function(a){var -b;return b=a},m={reccount:e.reccount,records:e.records,lastpage:e.lastpage,shrinkToFit:l(e.shrinkToFit),data:l(e.data),datatype:l(e.datatype),grouping:l(e.grouping)};e.shrinkToFit=!1,e.data=[],e.datatype="local",e.grouping=!1,e.navGrid=!1,e.inlineNav&&(h=l(e._iN),e._iN=null,delete -e._iN),e.filterToolbar&&(i=l(e._fT),e._fT=null,delete -e._fT);var -n=a("#"+b).jqGrid(e);n.append(g),n.jqGrid("setGridParam",m),e.storeNavOptions&&n.jqGrid("navGrid",e.pager,e.navOptions,e.editOptions,e.addOptions,e.delOptions,e.searchOptions,e.viewOptions),e.inlineNav&&h&&(n.jqGrid("setGridParam",{inlineNav:!1}),n.jqGrid("inlineNav",e.pager,h)),e.filterToolbar&&i&&(n.jqGrid("setGridParam",{filterToolbar:!1}),n.jqGrid("filterToolbar",i)),n[0].updatepager(!0,!0),d.clearAfterLoad&&(window[d.storageType].removeItem("jqGrid"+j.id),window[d.storageType].removeItem("jqGrid"+j.id+"_data"))}else -alert("can not convert to object")}}},setRegional:function(b,c){a.jgrid.saveState(b,{storageType:"sessionStorage"}),a.jgrid.loadState(b,null,{storageType:"sessionStorage",beforeSetGrid:function(a){return a.regional=c.regional,a.force_regional=!0,a}});var -d=a("#"+b)[0],e=a(d).jqGrid("getGridParam","colModel"),f=-1,g=a.jgrid.getRegional(d,"nav");a.each(e,function(a){return this.formatter&&"actions"===this.formatter?(f=a,!1):void -0}),-1!==f&&g&&a("#"+b+" tbody tr").each(function(){var -b=this.cells[f];a(b).find(".ui-inline-edit").attr("title",g.edittitle),a(b).find(".ui-inline-del").attr("title",g.deltitle),a(b).find(".ui-inline-save").attr("title",g.savetitle),a(b).find(".ui-inline-cancel").attr("title",g.canceltitle)});try{window.sessionStorage.removeItem("jqGrid"+d.id),window.sessionStorage.removeItem("jqGrid"+d.id+"_data")}catch(h){}},jqGridImport:function(b,c){c=a.extend({imptype:"xml",impstring:"",impurl:"",mtype:"GET",impData:{},xmlGrid:{config:"root>grid",data:"root>rows"},jsonGrid:{config:"grid",data:"data"},ajaxOptions:{}},c||{});var -d=(0===b.indexOf("#")?"":"#")+a.jgrid.jqID(b),e=function(b,c){var -e,f,g,h=a(c.xmlGrid.config,b)[0],i=a(c.xmlGrid.data,b)[0];if(jqGridUtils.xmlToJSON){e=jqGridUtils.xmlToJSON(h);for(g -in -e)e.hasOwnProperty(g)&&(f=e[g]);if(i){var -j=e.grid.datatype;e.grid.datatype="xmlstring",e.grid.datastr=b,a(d).jqGrid(f).jqGrid("setGridParam",{datatype:j})}else -setTimeout(function(){a(d).jqGrid(f)},0)}else -alert("xml2json or parse are not present")},f=function(b,c){if(b&&"string"==typeof -b){var -e=jqGridUtils.parse(b),f=e[c.jsonGrid.config],g=e[c.jsonGrid.data];if(g){var -h=f.datatype;f.datatype="jsonstring",f.datastr=g,a(d).jqGrid(f).jqGrid("setGridParam",{datatype:h})}else -a(d).jqGrid(f)}};switch(c.imptype){case"xml":a.ajax(a.extend({url:c.impurl,type:c.mtype,data:c.impData,dataType:"xml",complete:function(b,f){"success"===f&&(e(b.responseXML,c),a(d).triggerHandler("jqGridImportComplete",[b,c]),a.isFunction(c.importComplete)&&c.importComplete(b)),b=null}},c.ajaxOptions));break;case"xmlstring":if(c.impstring&&"string"==typeof -c.impstring){var -g=a.parseXML(c.impstring);g&&(e(g,c),a(d).triggerHandler("jqGridImportComplete",[g,c]),a.isFunction(c.importComplete)&&c.importComplete(g))}break;case"json":a.ajax(a.extend({url:c.impurl,type:c.mtype,data:c.impData,dataType:"json",complete:function(b){try{f(b.responseText,c),a(d).triggerHandler("jqGridImportComplete",[b,c]),a.isFunction(c.importComplete)&&c.importComplete(b)}catch(e){}b=null}},c.ajaxOptions));break;case"jsonstring":c.impstring&&"string"==typeof -c.impstring&&(f(c.impstring,c),a(d).triggerHandler("jqGridImportComplete",[c.impstring,c]),a.isFunction(c.importComplete)&&c.importComplete(c.impstring))}}}),a.jgrid.extend({jqGridExport:function(b){b=a.extend({exptype:"xmlstring",root:"grid",ident:" ",addOptions:{}},b||{});var -c=null;return this.each(function(){if(this.grid){var -d,e=a.extend(!0,{},a(this).jqGrid("getGridParam"),b.addOptions);if(e.rownumbers&&(e.colNames.splice(0,1),e.colModel.splice(0,1)),e.multiselect&&(e.colNames.splice(0,1),e.colModel.splice(0,1)),e.subGrid&&(e.colNames.splice(0,1),e.colModel.splice(0,1)),e.knv=null,e.treeGrid)for(d -in -e.treeReader)e.treeReader.hasOwnProperty(d)&&(e.colNames.splice(e.colNames.length-1),e.colModel.splice(e.colModel.length-1));switch(b.exptype){case"xmlstring":c="<"+b.root+">"+jqGridUtils.jsonToXML(e,{xmlDecl:""})+"</"+b.root+">";break;case"jsonstring":c=jqGridUtils.stringify(e),b.root&&(c="{"+b.root+":"+c+"}")}}}),c},excelExport:function(b){return b=a.extend({exptype:"remote",url:null,oper:"oper",tag:"excel",exportOptions:{}},b||{}),this.each(function(){if(this.grid){var -c;if("remote"===b.exptype){var -d=a.extend({},this.p.postData);d[b.oper]=b.tag;var -e=jQuery.param(d);c=-1!==b.url.indexOf("?")?b.url+"&"+e:b.url+"?"+e,window.location=c}}})}})});!function(a){"use strict";"function"==typeof -define&&define.amd?define(["jquery"],a):a()}(function(){"use strict";return window.jqGridUtils={stringify:function(a){return JSON.stringify(a,function(a,b){return"function"==typeof -b?b.toString():b})},parse:function(str){return JSON.parse(str,function(key,value){return"string"==typeof -value&&-1!==value.indexOf("function")?eval("("+value+")"):value})},encode:function(a){return String(a).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")},jsonToXML:function(a,b){var -c=$.extend({xmlDecl:'<?xml version="1.0" encoding="UTF-8" ?>\n',attr_prefix:"-",encode:!0},b||{}),d=this,e=function(a,b){return"#text"===a?c.encode?d.encode(b):b:"function"==typeof -b?"<"+a+"><![CDATA["+b+"]]></"+a+">\n":""===b?"<"+a+">__EMPTY_STRING_</"+a+">\n":"<"+a+">"+(c.encode?d.encode(b):b)+"</"+a+">\n"},f=function(a,b){for(var -c=[],d=0;d<b.length;d++){var -h=b[d];c[c.length]="undefined"==typeof -h||null==h?"<"+a+" />":"object"==typeof -h&&h.constructor==Array?f(a,h):"object"==typeof -h?g(a,h):e(a,h)}return c.length||(c[0]="<"+a+">__EMPTY_ARRAY_</"+a+">\n"),c.join("")},g=function(a,b){var -h=[],i=[];for(var -j -in -b)if(b.hasOwnProperty(j)){var -k=b[j];j.charAt(0)!==c.attr_prefix?h[h.length]=null==k?"<"+j+" />":"object"==typeof -k&&k.constructor===Array?f(j,k):"object"==typeof -k?g(j,k):e(j,k):i[i.length]=" "+j.substring(1)+'="'+(c.encode?d.encode(k):k)+'"'}var -l=i.join(""),m=h.join("");return null==a||(m=h.length>0?m.match(/\n/)?"<"+a+l+">\n"+m+"</"+a+">\n":"<"+a+l+">"+m+"</"+a+">\n":"<"+a+l+" />\n"),m},h=g(null,a);return c.xmlDecl+h},xmlToJSON:function(root,options){var -o=$.extend({force_array:[],attr_prefix:"-"},options||{});if(root){var -__force_array={};if(o.force_array)for(var -i=0;i<o.force_array.length;i++)__force_array[o.force_array[i]]=1;"string"==typeof -root&&(root=$.parseXML(root)),root.documentElement&&(root=root.documentElement);var -addNode=function(hash,key,cnts,val){if("string"==typeof -val)if(-1!==val.indexOf("function"))val=eval("("+val+")");else -switch(val){case"__EMPTY_ARRAY_":val=[];break;case"__EMPTY_STRING_":val="";break;case"false":val=!1;break;case"true":val=!0}__force_array[key]?(1===cnts&&(hash[key]=[]),hash[key][hash[key].length]=val):1===cnts?hash[key]=val:2===cnts?hash[key]=[hash[key],val]:hash[key][hash[key].length]=val},parseElement=function(a){if(7!==a.nodeType){if(3===a.nodeType||4===a.nodeType){var -b=a.nodeValue.match(/[^\x00-\x20]/);if(null==b)return;return a.nodeValue}var -c,d,e,f,g={};if(a.attributes&&a.attributes.length)for(c={},d=0;d<a.attributes.length;d++)e=a.attributes[d].nodeName,"string"==typeof -e&&(f=a.attributes[d].nodeValue,f&&(e=o.attr_prefix+e,"undefined"==typeof -g[e]&&(g[e]=0),g[e]++,addNode(c,e,g[e],f)));if(a.childNodes&&a.childNodes.length){var -h=!0;for(c&&(h=!1),d=0;d<a.childNodes.length&&h;d++){var -i=a.childNodes[d].nodeType;3!==i&&4!==i&&(h=!1)}if(h)for(c||(c=""),d=0;d<a.childNodes.length;d++)c+=a.childNodes[d].nodeValue;else -for(c||(c={}),d=0;d<a.childNodes.length;d++)e=a.childNodes[d].nodeName,"string"==typeof -e&&(f=parseElement(a.childNodes[d]),f&&("undefined"==typeof -g[e]&&(g[e]=0),g[e]++,addNode(c,e,g[e],f)))}return c}},json=parseElement(root);if(__force_array[root.nodeName]&&(json=[json]),11!==root.nodeType){var -tmp={};tmp[root.nodeName]=json,json=tmp}return json}}},window.jqGridUtils});!function(a){"use strict";"function"==typeof -define&&define.amd?define(["jquery","./grid.base","jquery-ui/dialog","jquery-ui/draggable","jquery-ui/droppable","jquery-ui/resizable","jquery-ui/sortable","./addons/ui.multiselect"],a):a(jQuery)}(function($){"use strict";if($.jgrid.msie&&8===$.jgrid.msiever()&&($.expr[":"].hidden=function(a){return 0===a.offsetWidth||0===a.offsetHeight||"none"===a.style.display}),$.jgrid._multiselect=!1,$.ui&&$.ui.multiselect){if($.ui.multiselect.prototype._setSelected){var -setSelected=$.ui.multiselect.prototype._setSelected;$.ui.multiselect.prototype._setSelected=function(a,b){var -c=setSelected.call(this,a,b);if(b&&this.selectedList){var -d=this.element;this.selectedList.find("li").each(function(){$(this).data("optionLink")&&$(this).data("optionLink").remove().appendTo(d)})}return c}}$.ui.multiselect.prototype.destroy&&($.ui.multiselect.prototype.destroy=function(){this.element.show(),this.container.remove(),void -0===$.Widget?$.widget.prototype.destroy.apply(this,arguments):$.Widget.prototype.destroy.apply(this,arguments)}),$.jgrid._multiselect=!0}$.jgrid.extend({sortableColumns:function(a){return this.each(function(){function -b(){c.p.disableClick=!0}var -c=this,d=$.jgrid.jqID(c.p.id),e={tolerance:"pointer",axis:"x",scrollSensitivity:"1",items:">th:not(:has(#jqgh_"+d+"_cb,#jqgh_"+d+"_rn,#jqgh_"+d+"_subgrid),:hidden)",placeholder:{element:function(a){var -b=$(document.createElement(a[0].nodeName)).addClass(a[0].className+" ui-sortable-placeholder ui-state-highlight").removeClass("ui-sortable-helper")[0];return b},update:function(a,b){b.height(a.currentItem.innerHeight()-parseInt(a.currentItem.css("paddingTop")||0,10)-parseInt(a.currentItem.css("paddingBottom")||0,10)),b.width(a.currentItem.innerWidth()-parseInt(a.currentItem.css("paddingLeft")||0,10)-parseInt(a.currentItem.css("paddingRight")||0,10))}},update:function(a,b){var -d=$(b.item).parent(),e=$(">th",d),f=c.p.colModel,g={},h=c.p.id+"_";$.each(f,function(a){g[this.name]=a});var -i=[];e.each(function(){var -a=$(">div",this).get(0).id.replace(/^jqgh_/,"").replace(h,"");g.hasOwnProperty(a)&&i.push(g[a])}),$(c).jqGrid("remapColumns",i,!0,!0),$.isFunction(c.p.sortable.update)&&c.p.sortable.update(i),setTimeout(function(){c.p.disableClick=!1},50)}};if(c.p.sortable.options?$.extend(e,c.p.sortable.options):$.isFunction(c.p.sortable)&&(c.p.sortable={update:c.p.sortable}),e.start){var -f=e.start;e.start=function(a,c){b(),f.call(this,a,c)}}else -e.start=b;c.p.sortable.exclude&&(e.items+=":not("+c.p.sortable.exclude+")");var -g=a.sortable(e),h=g.data("sortable")||g.data("uiSortable");null!=h&&(h.data("sortable").floating=!0)})},columnChooser:function(a){function -b(a,b,c){var -d,e;return b>=0?(d=a.slice(),e=d.splice(b,Math.max(a.length-b,b)),b>a.length&&(b=a.length),d[b]=c,d.concat(e)):a}function -c(a,b){a&&("string"==typeof -a?$.fn[a]&&$.fn[a].apply(b,$.makeArray(arguments).slice(2)):$.isFunction(a)&&a.apply(b,$.makeArray(arguments).slice(2)))}var -d,e,f,g,h,i,j,k=this,l={},m=[],n=k.jqGrid("getGridParam","colModel"),o=k.jqGrid("getGridParam","colNames"),p=function(a){return $.ui.multiselect.prototype&&a.data($.ui.multiselect.prototype.widgetFullName||$.ui.multiselect.prototype.widgetName)||a.data("ui-multiselect")||a.data("multiselect")},q=$.jgrid.getRegional(this[0],"col");if(!$("#colchooser_"+$.jgrid.jqID(k[0].p.id)).length){if(d=$('<div id="colchooser_'+k[0].p.id+'" style="position:relative;overflow:hidden"><div><select multiple="multiple"></select></div></div>'),e=$("select",d),a=$.extend({width:400,height:240,classname:null,done:function(a){a&&k.jqGrid("remapColumns",a,!0)},msel:"multiselect",dlog:"dialog",dialog_opts:{minWidth:470,dialogClass:"ui-jqdialog"},dlog_opts:function(a){var -b={};return b[a.bSubmit]=function(){a.apply_perm(),a.cleanup(!1)},b[a.bCancel]=function(){a.cleanup(!0)},$.extend(!0,{buttons:b,close:function(){a.cleanup(!0)},modal:a.modal||!1,resizable:a.resizable||!0,width:a.width+70,resize:function(){var -a=p(e),b=a.container.closest(".ui-dialog-content");b.length>0&&"object"==typeof -b[0].style?b[0].style.width="":b.css("width",""),a.selectedList.height(Math.max(a.selectedContainer.height()-a.selectedActions.outerHeight()-1,1)),a.availableList.height(Math.max(a.availableContainer.height()-a.availableActions.outerHeight()-1,1))}},a.dialog_opts||{})},apply_perm:function(){var -c=[];$("option",e).each(function(){$(this).is("[selected]")?k.jqGrid("showCol",n[this.value].name):k.jqGrid("hideCol",n[this.value].name)}),$("option[selected]",e).each(function(){c.push(parseInt(this.value,10))}),$.each(c,function(){delete -l[n[parseInt(this,10)].name]}),$.each(l,function(){var -a=parseInt(this,10);c=b(c,a,a)}),a.done&&a.done.call(k,c),k.jqGrid("setGridWidth",k[0].p.width,k[0].p.shrinkToFit)},cleanup:function(b){c(a.dlog,d,"destroy"),c(a.msel,e,"destroy"),d.remove(),b&&a.done&&a.done.call(k)},msel_opts:{}},q,a||{}),$.ui&&$.ui.multiselect&&$.ui.multiselect.defaults){if(!$.jgrid._multiselect)return void -alert("Multiselect plugin loaded after jqGrid. Please load the plugin before the jqGrid!");a.msel_opts=$.extend($.ui.multiselect.defaults,a.msel_opts)}a.caption&&d.attr("title",a.caption),a.classname&&(d.addClass(a.classname),e.addClass(a.classname)),a.width&&($(">div",d).css({width:a.width,margin:"0 auto"}),e.css("width",a.width)),a.height&&($(">div",d).css("height",a.height),e.css("height",a.height-10)),e.empty(),$.each(n,function(a){return l[this.name]=a,this.hidedlg?void(this.hidden||m.push(a)):void -e.append("<option value='"+a+"' "+(this.hidden?"":"selected='selected'")+">"+$.jgrid.stripHtml(o[a])+"</option>")}),f=$.isFunction(a.dlog_opts)?a.dlog_opts.call(k,a):a.dlog_opts,c(a.dlog,d,f),g=$.isFunction(a.msel_opts)?a.msel_opts.call(k,a):a.msel_opts,c(a.msel,e,g),h=$("#colchooser_"+$.jgrid.jqID(k[0].p.id)),h.css({margin:"auto"}),h.find(">div").css({width:"100%",height:"100%",margin:"auto"}),i=p(e),i.container.css({width:"100%",height:"100%",margin:"auto"}),i.selectedContainer.css({width:100*i.options.dividerLocation+"%",height:"100%",margin:"auto",boxSizing:"border-box"}),i.availableContainer.css({width:100-100*i.options.dividerLocation+"%",height:"100%",margin:"auto",boxSizing:"border-box"}),i.selectedList.css("height","auto"),i.availableList.css("height","auto"),j=Math.max(i.selectedList.height(),i.availableList.height()),j=Math.min(j,$(window).height()),i.selectedList.css("height",j),i.availableList.css("height",j)}},sortableRows:function(a){return this.each(function(){var -b=this;b.grid&&(b.p.treeGrid||$.fn.sortable&&(a=$.extend({cursor:"move",axis:"y",items:" > .jqgrow"},a||{}),a.start&&$.isFunction(a.start)?(a._start_=a.start,delete -a.start):a._start_=!1,a.update&&$.isFunction(a.update)?(a._update_=a.update,delete -a.update):a._update_=!1,a.start=function(c,d){if($(d.item).css("border-width","0"),$("td",d.item).each(function(a){this.style.width=b.grid.cols[a].style.width}),b.p.subGrid){var -e=$(d.item).attr("id");try{$(b).jqGrid("collapseSubGridRow",e)}catch(f){}}a._start_&&a._start_.apply(this,[c,d])},a.update=function(c,d){$(d.item).css("border-width",""),b.p.rownumbers===!0&&$("td.jqgrid-rownum",b.rows).each(function(a){$(this).html(a+1+(parseInt(b.p.page,10)-1)*parseInt(b.p.rowNum,10))}),a._update_&&a._update_.apply(this,[c,d])},$("tbody:first",b).sortable(a),$("tbody:first > .jqgrow",b).disableSelection()))})},gridDnD:function(a){return this.each(function(){function -b(){var -a=$.data(e,"dnd");$("tr.jqgrow:not(.ui-draggable)",e).draggable($.isFunction(a.drag)?a.drag.call($(e),a):a.drag)}var -c,d,e=this;if(e.grid&&!e.p.treeGrid&&$.fn.draggable&&$.fn.droppable){var -f="<table id='jqgrid_dnd' class='ui-jqgrid-dnd'></table>";if(void -0===$("#jqgrid_dnd")[0]&&$("body").append(f),"string"==typeof -a&&"updateDnD"===a&&e.p.jqgdnd===!0)return void -b();if(a=$.extend({drag:function(a){return $.extend({start:function(b,c){var -d,f;if(e.p.subGrid){f=$(c.helper).attr("id");try{$(e).jqGrid("collapseSubGridRow",f)}catch(g){}}for(d=0;d<$.data(e,"dnd").connectWith.length;d++)0===$($.data(e,"dnd").connectWith[d]).jqGrid("getGridParam","reccount")&&$($.data(e,"dnd").connectWith[d]).jqGrid("addRowData","jqg_empty_row",{});c.helper.addClass("ui-state-highlight"),$("td",c.helper).each(function(a){this.style.width=e.grid.headers[a].width+"px"}),a.onstart&&$.isFunction(a.onstart)&&a.onstart.call($(e),b,c)},stop:function(b,c){var -d,f;for(c.helper.dropped&&!a.dragcopy&&(f=$(c.helper).attr("id"),void -0===f&&(f=$(this).attr("id")),$(e).jqGrid("delRowData",f)),d=0;d<$.data(e,"dnd").connectWith.length;d++)$($.data(e,"dnd").connectWith[d]).jqGrid("delRowData","jqg_empty_row");a.onstop&&$.isFunction(a.onstop)&&a.onstop.call($(e),b,c)}},a.drag_opts||{})},drop:function(a){return $.extend({accept:function(a){if(!$(a).hasClass("jqgrow"))return a;var -b=$(a).closest("table.ui-jqgrid-btable");if(b.length>0&&void -0!==$.data(b[0],"dnd")){var -c=$.data(b[0],"dnd").connectWith;return-1!==$.inArray("#"+$.jgrid.jqID(this.id),c)?!0:!1}return!1},drop:function(b,c){if($(c.draggable).hasClass("jqgrow")){var -d=$(c.draggable).attr("id"),f=c.draggable.parent().parent().jqGrid("getRowData",d);if(!a.dropbyname){var -g,h,i=0,j={},k=$("#"+$.jgrid.jqID(this.id)).jqGrid("getGridParam","colModel");try{for(h -in -f)f.hasOwnProperty(h)&&(g=k[i].name,"cb"!==g&&"rn"!==g&&"subgrid"!==g&&f.hasOwnProperty(h)&&k[i]&&(j[g]=f[h]),i++);f=j}catch(l){}}if(c.helper.dropped=!0,a.beforedrop&&$.isFunction(a.beforedrop)){var -m=a.beforedrop.call(this,b,c,f,$("#"+$.jgrid.jqID(e.p.id)),$(this));void -0!==m&&null!==m&&"object"==typeof -m&&(f=m)}if(c.helper.dropped){var -n;a.autoid&&($.isFunction(a.autoid)?n=a.autoid.call(this,f):(n=Math.ceil(1e3*Math.random()),n=a.autoidprefix+n)),$("#"+$.jgrid.jqID(this.id)).jqGrid("addRowData",n,f,a.droppos)}a.ondrop&&$.isFunction(a.ondrop)&&a.ondrop.call(this,b,c,f)}}},a.drop_opts||{})},onstart:null,onstop:null,beforedrop:null,ondrop:null,drop_opts:{activeClass:"ui-state-active",hoverClass:"ui-state-hover"},drag_opts:{revert:"invalid",helper:"clone",cursor:"move",appendTo:"#jqgrid_dnd",zIndex:5e3},dragcopy:!1,dropbyname:!1,droppos:"first",autoid:!0,autoidprefix:"dnd_"},a||{}),a.connectWith)for(a.connectWith=a.connectWith.split(","),a.connectWith=$.map(a.connectWith,function(a){return $.trim(a)}),$.data(e,"dnd",a),0===e.p.reccount||e.p.jqgdnd||b(),e.p.jqgdnd=!0,c=0;c<a.connectWith.length;c++)d=a.connectWith[c],$(d).droppable($.isFunction(a.drop)?a.drop.call($(e),a):a.drop)}})},gridResize:function(opts){return this.each(function(){var -$t=this,gID=$.jgrid.jqID($t.p.id),req;if($t.grid&&$.fn.resizable){if(opts=$.extend({},opts||{}),opts.alsoResize?(opts._alsoResize_=opts.alsoResize,delete -opts.alsoResize):opts._alsoResize_=!1,opts.stop&&$.isFunction(opts.stop)?(opts._stop_=opts.stop,delete -opts.stop):opts._stop_=!1,opts.stop=function(a,b){$($t).jqGrid("setGridParam",{height:$("#gview_"+gID+" .ui-jqgrid-bdiv").height()}),$($t).jqGrid("setGridWidth",b.size.width,opts.shrinkToFit),opts._stop_&&opts._stop_.call($t,a,b),$t.p.caption&&$("#gbox_"+gID).css({height:"auto"}),$t.p.frozenColumns&&(req&&clearTimeout(req),req=setTimeout(function(){req&&clearTimeout(req),$("#"+gID).jqGrid("destroyFrozenColumns"),$("#"+gID).jqGrid("setFrozenColumns")}))},opts._alsoResize_){var -optstest="{'#gview_"+gID+" .ui-jqgrid-bdiv':true,'"+opts._alsoResize_+"':true}";opts.alsoResize=eval("("+optstest+")")}else -opts.alsoResize=$(".ui-jqgrid-bdiv","#gview_"+gID);delete -opts._alsoResize_,$("#gbox_"+gID).resizable(opts)}})}})});
\ No newline at end of file |