jqgrid-jquery-rails 4.3.2.0 → 4.3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af555aee9df1dc7b9226ce6d78736104f419054d
4
- data.tar.gz: 7ce45c1f92836933da52978cbe05cfddca2c4ae5
3
+ metadata.gz: ea37827d1dc79b8fd7ebf4f5c408c9d8a967b819
4
+ data.tar.gz: 765dd6d130fc64adaf9298b8c421213d738e5edd
5
5
  SHA512:
6
- metadata.gz: 305719c4a25ef68162d7c5b82480ecbf36036d051d26086fa3a1a0a6fdd946d95e477e1b7dd0a79770c80312c390d5f7a923608db23a5e628be18ddc8c8de9b4
7
- data.tar.gz: d17573f24d95c0d4c45710f990ea12414873c3b160b5dc45ea936af3467216e8989ed05656ff9e8c159506f4e8b945a9581e5418c073aa76865a8a69b6abbd37
6
+ metadata.gz: 1718ce814d061cdcca2f34c2ffb46b3484bc4df73c62ddf67f37e66e61e4c66d9a6608aaa9f487d3b5c2efcd991199c688a98ca005bfb1b15e064c4bcfa256da
7
+ data.tar.gz: 806e446d6ab33db39770ed05362e985f9176ea31b3be6f997f6451d649ca99d6591266d9383b095c4b548d1a7e5ad0caf14f52ad9a462cd352263c90919db9b0
data/README.md CHANGED
@@ -10,7 +10,7 @@ Add these lines to your application's `Gemfile`:
10
10
 
11
11
  ```rb
12
12
  # jqgrid jquery plugin packaged for the rails asset pipeline
13
- gem 'jqgrid-jquery-rails', '~> 4.3.2'
13
+ gem 'jqgrid-jquery-rails', '~> 4.3.3'
14
14
  ```
15
15
 
16
16
  And then execute:
@@ -7,6 +7,6 @@ module JqgridJquery
7
7
  # "2.0.0.pre"
8
8
  # "2.0.0.beta"
9
9
  # Refer to Semantic Versioning 2.0.0 (http://semver.org).
10
- VERSION = "4.3.2.0"
10
+ VERSION = "4.3.3.0"
11
11
  end
12
12
  end
@@ -1,127 +1,127 @@
1
- ;(function($){
2
- /**
3
- * jqGrid Arabic Translation
4
- *
5
- * http://trirand.com/blog/
6
- * Dual licensed under the MIT and GPL licenses:
7
- * http://www.opensource.org/licenses/mit-license.php
8
- * http://www.gnu.org/licenses/gpl.html
9
- **/
10
- $.jgrid = $.jgrid || {};
11
- $.extend($.jgrid,{
12
- defaults : {
13
- recordtext: "تسجيل {0} - {1} على {2}",
14
- emptyrecords: "لا يوجد تسجيل",
15
- loadtext: "تحميل...",
16
- pgtext : "صفحة {0} على {1}"
17
- },
18
- search : {
19
- caption: "بحث...",
20
- Find: "بحث",
21
- Reset: "إلغاء",
22
- odata : ['يساوي', 'يختلف', 'أقل', 'أقل أو يساوي','أكبر','أكبر أو يساوي', 'يبدأ بـ','لا يبدأ بـ','est dans',"n'est pas dans",'ينته بـ','لا ينته بـ','يحتوي','لا يحتوي'],
23
- groupOps: [ { op: "مع", text: "الكل" }, { op: "أو", text: "لا أحد" } ],
24
- matchText: " توافق",
25
- rulesText: " قواعد"
26
- },
27
- edit : {
28
- addCaption: "اضافة",
29
- editCaption: "تحديث",
30
- bSubmit: "تثبيث",
31
- bCancel: "إلغاء",
32
- bClose: "غلق",
33
- saveData: "تغيرت المعطيات هل تريد التسجيل ?",
34
- bYes: "نعم",
35
- bNo: "لا",
36
- bExit: "إلغاء",
37
- msg: {
38
- required: "خانة إجبارية",
39
- number: "سجل رقم صحيح",
40
- minValue: "يجب أن تكون القيمة أكبر أو تساوي 0",
41
- maxValue: "يجب أن تكون القيمة أقل أو تساوي 0",
42
- email: "بريد غير صحيح",
43
- integer: "سجل عدد طبييعي صحيح",
44
- url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')",
45
- nodefined : " ليس محدد!",
46
- novalue : " قيمة الرجوع مطلوبة!",
47
- customarray : "يجب على الدالة الشخصية أن تنتج جدولا",
48
- customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي"
49
- }
50
- },
51
- view : {
52
- caption: "رأيت التسجيلات",
53
- bClose: "غلق"
54
- },
55
- del : {
56
- caption: "حذف",
57
- msg: "حذف التسجيلات المختارة ?",
58
- bSubmit: "حذف",
59
- bCancel: "إلغاء"
60
- },
61
- nav : {
62
- edittext: " ",
63
- edittitle: "تغيير التسجيل المختار",
64
- addtext:" ",
65
- addtitle: "إضافة تسجيل",
66
- deltext: " ",
67
- deltitle: "حذف التسجيل المختار",
68
- searchtext: " ",
69
- searchtitle: "بحث عن تسجيل",
70
- refreshtext: "",
71
- refreshtitle: "تحديث الجدول",
72
- alertcap: "تحذير",
73
- alerttext: "يرجى إختيار السطر",
74
- viewtext: "",
75
- viewtitle: "إظهار السطر المختار"
76
- },
77
- col : {
78
- caption: "إظهار/إخفاء الأعمدة",
79
- bSubmit: "تثبيث",
80
- bCancel: "إلغاء"
81
- },
82
- errors : {
83
- errcap : "خطأ",
84
- nourl : "لا يوجد عنوان محدد",
85
- norecords: "لا يوجد تسجيل للمعالجة",
86
- model : "عدد العناوين (colNames) <> عدد التسجيلات (colModel)!"
87
- },
88
- formatter : {
89
- integer : {thousandsSeparator: " ", defaultValue: '0'},
90
- number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91
- currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
- date : {
93
- dayNames: [
94
- "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت",
95
- "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"
96
- ],
97
- monthNames: [
98
- "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر",
99
- "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"
100
- ],
101
- AmPm : ["صباحا","مساءا","صباحا","مساءا"],
102
- S: function (j) {return j == 1 ? 'er' : 'e';},
103
- srcformat: 'Y-m-d',
104
- newformat: 'd/m/Y',
105
- masks : {
106
- ISO8601Long:"Y-m-d H:i:s",
107
- ISO8601Short:"Y-m-d",
108
- ShortDate: "n/j/Y",
109
- LongDate: "l, F d, Y",
110
- FullDateTime: "l, F d, Y g:i:s A",
111
- MonthDay: "F d",
112
- ShortTime: "g:i A",
113
- LongTime: "g:i:s A",
114
- SortableDateTime: "Y-m-d\\TH:i:s",
115
- UniversalSortableDateTime: "Y-m-d H:i:sO",
116
- YearMonth: "F, Y"
117
- },
118
- reformatAfterEdit : false
119
- },
120
- baseLinkUrl: '',
121
- showAction: '',
122
- target: '',
123
- checkbox : {disabled:true},
124
- idName : 'id'
125
- }
126
- });
127
- })(jQuery);
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Arabic Translation
4
+ *
5
+ * http://trirand.com/blog/
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = $.jgrid || {};
11
+ $.extend($.jgrid,{
12
+ defaults : {
13
+ recordtext: "تسجيل {0} - {1} على {2}",
14
+ emptyrecords: "لا يوجد تسجيل",
15
+ loadtext: "تحميل...",
16
+ pgtext : "صفحة {0} على {1}"
17
+ },
18
+ search : {
19
+ caption: "بحث...",
20
+ Find: "بحث",
21
+ Reset: "إلغاء",
22
+ odata : ['يساوي', 'يختلف', 'أقل', 'أقل أو يساوي','أكبر','أكبر أو يساوي', 'يبدأ بـ','لا يبدأ بـ','est dans',"n'est pas dans",'ينته بـ','لا ينته بـ','يحتوي','لا يحتوي'],
23
+ groupOps: [ { op: "مع", text: "الكل" }, { op: "أو", text: "لا أحد" } ],
24
+ matchText: " توافق",
25
+ rulesText: " قواعد"
26
+ },
27
+ edit : {
28
+ addCaption: "اضافة",
29
+ editCaption: "تحديث",
30
+ bSubmit: "تثبيث",
31
+ bCancel: "إلغاء",
32
+ bClose: "غلق",
33
+ saveData: "تغيرت المعطيات هل تريد التسجيل ?",
34
+ bYes: "نعم",
35
+ bNo: "لا",
36
+ bExit: "إلغاء",
37
+ msg: {
38
+ required: "خانة إجبارية",
39
+ number: "سجل رقم صحيح",
40
+ minValue: "يجب أن تكون القيمة أكبر أو تساوي 0",
41
+ maxValue: "يجب أن تكون القيمة أقل أو تساوي 0",
42
+ email: "بريد غير صحيح",
43
+ integer: "سجل عدد طبييعي صحيح",
44
+ url: "ليس عنوانا صحيحا. البداية الصحيحة ('http://' أو 'https://')",
45
+ nodefined : " ليس محدد!",
46
+ novalue : " قيمة الرجوع مطلوبة!",
47
+ customarray : "يجب على الدالة الشخصية أن تنتج جدولا",
48
+ customfcheck : "الدالة الشخصية مطلوبة في حالة التحقق الشخصي"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "رأيت التسجيلات",
53
+ bClose: "غلق"
54
+ },
55
+ del : {
56
+ caption: "حذف",
57
+ msg: "حذف التسجيلات المختارة ?",
58
+ bSubmit: "حذف",
59
+ bCancel: "إلغاء"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "تغيير التسجيل المختار",
64
+ addtext:" ",
65
+ addtitle: "إضافة تسجيل",
66
+ deltext: " ",
67
+ deltitle: "حذف التسجيل المختار",
68
+ searchtext: " ",
69
+ searchtitle: "بحث عن تسجيل",
70
+ refreshtext: "",
71
+ refreshtitle: "تحديث الجدول",
72
+ alertcap: "تحذير",
73
+ alerttext: "يرجى إختيار السطر",
74
+ viewtext: "",
75
+ viewtitle: "إظهار السطر المختار"
76
+ },
77
+ col : {
78
+ caption: "إظهار/إخفاء الأعمدة",
79
+ bSubmit: "تثبيث",
80
+ bCancel: "إلغاء"
81
+ },
82
+ errors : {
83
+ errcap : "خطأ",
84
+ nourl : "لا يوجد عنوان محدد",
85
+ norecords: "لا يوجد تسجيل للمعالجة",
86
+ model : "عدد العناوين (colNames) <> عدد التسجيلات (colModel)!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
+ date : {
93
+ dayNames: [
94
+ "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت",
95
+ "الأحد", "الإثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"
96
+ ],
97
+ monthNames: [
98
+ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر",
99
+ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"
100
+ ],
101
+ AmPm : ["صباحا","مساءا","صباحا","مساءا"],
102
+ S: function (j) {return j == 1 ? 'er' : 'e';},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'd/m/Y',
105
+ masks : {
106
+ ISO8601Long:"Y-m-d H:i:s",
107
+ ISO8601Short:"Y-m-d",
108
+ ShortDate: "n/j/Y",
109
+ LongDate: "l, F d, Y",
110
+ FullDateTime: "l, F d, Y g:i:s A",
111
+ MonthDay: "F d",
112
+ ShortTime: "g:i A",
113
+ LongTime: "g:i:s A",
114
+ SortableDateTime: "Y-m-d\\TH:i:s",
115
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
116
+ YearMonth: "F, Y"
117
+ },
118
+ reformatAfterEdit : false
119
+ },
120
+ baseLinkUrl: '',
121
+ showAction: '',
122
+ target: '',
123
+ checkbox : {disabled:true},
124
+ idName : 'id'
125
+ }
126
+ });
127
+ })(jQuery);
@@ -9,6 +9,11 @@
9
9
  * Andreas Flack
10
10
  * http://www.contentcontrol-berlin.de
11
11
  *
12
+ * Updated for jQuery 4.4
13
+ * Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
14
+ * the format corresponds now the format from
15
+ * https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.de.js
16
+ *
12
17
  * Dual licensed under the MIT and GPL licenses:
13
18
  * http://www.opensource.org/licenses/mit-license.php
14
19
  * http://www.gnu.org/licenses/gpl.html
@@ -105,22 +110,55 @@ $.extend($.jgrid,{
105
110
  "Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez",
106
111
  "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"
107
112
  ],
108
- AmPm : ["am","pm","AM","PM"],
109
- S: function (j) {return 'ter'},
113
+ AmPm : ["","","",""],
114
+ S: function (j) {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before
110
115
  srcformat: 'Y-m-d',
111
116
  newformat: 'd.m.Y',
112
117
  masks : {
118
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
119
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
120
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
113
121
  ISO8601Long: "Y-m-d H:i:s",
114
122
  ISO8601Short: "Y-m-d",
115
- ShortDate: "j.n.Y",
116
- LongDate: "l, j. F Y",
117
- FullDateTime: "l, d. F Y G:i:s",
118
- MonthDay: "d. F",
119
- ShortTime: "G:i",
120
- LongTime: "G:i:s",
123
+ // short date:
124
+ // d - Day of the month, 2 digits with leading zeros
125
+ // m - Numeric representation of a month, with leading zeros
126
+ // Y - A full numeric representation of a year, 4 digits
127
+ ShortDate: "d.m.Y", // in jQuery UI Datepicker: "dd.MM.yyyy"
128
+ // long date:
129
+ // l - A full textual representation of the day of the week
130
+ // j - Day of the month without leading zeros
131
+ // F - A full textual representation of a month
132
+ // Y - A full numeric representation of a year, 4 digits
133
+ LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
134
+ // long date with long time:
135
+ // l - A full textual representation of the day of the week
136
+ // j - Day of the month without leading zeros
137
+ // F - A full textual representation of a month
138
+ // Y - A full numeric representation of a year, 4 digits
139
+ // H - 24-hour format of an hour with leading zeros
140
+ // i - Minutes with leading zeros
141
+ // s - Seconds, with leading zeros
142
+ FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
143
+ // month day:
144
+ // d - Day of the month, 2 digits with leading zeros
145
+ // F - A full textual representation of a month
146
+ MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
147
+ // short time (without seconds)
148
+ // H - 24-hour format of an hour with leading zeros
149
+ // i - Minutes with leading zeros
150
+ ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
151
+ // long time (with seconds)
152
+ // H - 24-hour format of an hour with leading zeros
153
+ // i - Minutes with leading zeros
154
+ // s - Seconds, with leading zeros
155
+ LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
121
156
  SortableDateTime: "Y-m-d\\TH:i:s",
122
157
  UniversalSortableDateTime: "Y-m-d H:i:sO",
123
- YearMonth: "F Y"
158
+ // month with year
159
+ // F - A full textual representation of a month
160
+ // Y - A full numeric representation of a year, 4 digits
161
+ YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
124
162
  },
125
163
  reformatAfterEdit : false
126
164
  },
@@ -0,0 +1,128 @@
1
+ ;(function($){
2
+ /**
3
+ * jqGrid Danish Translation
4
+ * Kaare Rasmussen kjs@jasonic.dk
5
+ * http://jasonic.dk/blog
6
+ * Dual licensed under the MIT and GPL licenses:
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ * http://www.gnu.org/licenses/gpl.html
9
+ **/
10
+ $.jgrid = {
11
+ defaults : {
12
+ recordtext: "View {0} - {1} of {2}",
13
+ emptyrecords: "No records to view",
14
+ loadtext: "Loading...",
15
+ pgtext : "Page {0} of {1}"
16
+ },
17
+ search : {
18
+ caption: "Søg...",
19
+ Find: "Find",
20
+ Reset: "Nulstil",
21
+ 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'],
22
+ groupOps: [ { op: "AND", text: "all" }, { op: "OR", text: "any" } ],
23
+ matchText: " match",
24
+ rulesText: " rules"
25
+ },
26
+ edit : {
27
+ addCaption: "Tilføj",
28
+ editCaption: "Ret",
29
+ bSubmit: "Send",
30
+ bCancel: "Annuller",
31
+ bClose: "Luk",
32
+ saveData: "Data has been changed! Save changes?",
33
+ bYes : "Yes",
34
+ bNo : "No",
35
+ bExit : "Cancel",
36
+ msg: {
37
+ required:"Felt er nødvendigt",
38
+ number:"Indtast venligst et validt tal",
39
+ minValue:"værdi skal være større end eller lig med",
40
+ maxValue:"værdi skal være mindre end eller lig med",
41
+ email: "er ikke en valid email",
42
+ integer: "Indtast venligst et validt heltalt",
43
+ date: "Indtast venligst en valid datoværdi",
44
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
45
+ nodefined : " is not defined!",
46
+ novalue : " return value is required!",
47
+ customarray : "Custom function should return array!",
48
+ customfcheck : "Custom function should be present in case of custom checking!"
49
+ }
50
+ },
51
+ view : {
52
+ caption: "View Record",
53
+ bClose: "Close"
54
+ },
55
+ del : {
56
+ caption: "Slet",
57
+ msg: "Slet valgte række(r)?",
58
+ bSubmit: "Slet",
59
+ bCancel: "Annuller"
60
+ },
61
+ nav : {
62
+ edittext: " ",
63
+ edittitle: "Rediger valgte række",
64
+ addtext:" ",
65
+ addtitle: "Tilføj ny række",
66
+ deltext: " ",
67
+ deltitle: "Slet valgte række",
68
+ searchtext: " ",
69
+ searchtitle: "Find poster",
70
+ refreshtext: "",
71
+ refreshtitle: "Indlæs igen",
72
+ alertcap: "Advarsel",
73
+ alerttext: "Vælg venligst række",
74
+ viewtext: "",
75
+ viewtitle: "View selected row"
76
+ },
77
+ col : {
78
+ caption: "Vis/skjul kolonner",
79
+ bSubmit: "Send",
80
+ bCancel: "Annuller"
81
+ },
82
+ errors : {
83
+ errcap : "Fejl",
84
+ nourl : "Ingel url valgt",
85
+ norecords: "Ingen poster at behandle",
86
+ model : "colNames og colModel har ikke samme længde!"
87
+ },
88
+ formatter : {
89
+ integer : {thousandsSeparator: " ", defaultValue: '0'},
90
+ number : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0,00'},
91
+ currency : {decimalSeparator:",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0,00'},
92
+ date : {
93
+ dayNames: [
94
+ "Søn", "Man", "Tirs", "Ons", "Tors", "Fre", "Lør",
95
+ "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"
96
+ ],
97
+ monthNames: [
98
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
99
+ "Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"
100
+ ],
101
+ AmPm : ["","","",""],
102
+ S: function (j) {return '.'},
103
+ srcformat: 'Y-m-d',
104
+ newformat: 'd/m/Y',
105
+ masks : {
106
+ ISO8601Long:"Y-m-d H:i:s",
107
+ ISO8601Short:"Y-m-d",
108
+ ShortDate: "j/n/Y",
109
+ LongDate: "l d. F Y",
110
+ FullDateTime: "l d F Y G:i:s",
111
+ MonthDay: "d. F",
112
+ ShortTime: "G:i",
113
+ LongTime: "G:i:s",
114
+ SortableDateTime: "Y-m-d\\TH:i:s",
115
+ UniversalSortableDateTime: "Y-m-d H:i:sO",
116
+ YearMonth: "F Y"
117
+ },
118
+ reformatAfterEdit : false
119
+ },
120
+ baseLinkUrl: '',
121
+ showAction: '',
122
+ target: '',
123
+ checkbox : {disabled:true},
124
+ idName : 'id'
125
+ }
126
+ };
127
+ // DK
128
+ })(jQuery);