libre-jqgrid 4.17.2 → 4.17.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/.tscache/all/hashes/free-jqgrid.d.ts-74303c8b076937117540c0cb798f2053 +1 -0
  2. package/.tscache/all/hashes/test.ts-0d81877a31bc5d7ac52dd35a66602f01 +1 -0
  3. package/.tscache/all/timestamp +0 -0
  4. package/dist/css/ui.jqgrid.css +1618 -0
  5. package/dist/css/ui.jqgrid.min.css +4 -0
  6. package/dist/css/ui.jqgrid.min.css.map +1 -0
  7. package/dist/i18n/grid.locale-ar.js +198 -0
  8. package/dist/i18n/grid.locale-bg.js +201 -0
  9. package/dist/i18n/grid.locale-bs.js +230 -0
  10. package/dist/i18n/grid.locale-ca.js +204 -0
  11. package/dist/i18n/grid.locale-cn.js +237 -0
  12. package/dist/i18n/grid.locale-cs.js +197 -0
  13. package/dist/i18n/grid.locale-da.js +196 -0
  14. package/dist/i18n/grid.locale-de.js +240 -0
  15. package/dist/i18n/grid.locale-el.js +195 -0
  16. package/dist/i18n/grid.locale-en.js +256 -0
  17. package/dist/i18n/grid.locale-es.js +202 -0
  18. package/dist/i18n/grid.locale-fa.js +211 -0
  19. package/dist/i18n/grid.locale-fi.js +201 -0
  20. package/dist/i18n/grid.locale-fr.js +197 -0
  21. package/dist/i18n/grid.locale-gl.js +197 -0
  22. package/dist/i18n/grid.locale-he.js +198 -0
  23. package/dist/i18n/grid.locale-hr.js +231 -0
  24. package/dist/i18n/grid.locale-hu.js +196 -0
  25. package/dist/i18n/grid.locale-id.js +238 -0
  26. package/dist/i18n/grid.locale-is.js +197 -0
  27. package/dist/i18n/grid.locale-it.js +189 -0
  28. package/dist/i18n/grid.locale-ja.js +203 -0
  29. package/dist/i18n/grid.locale-kr.js +194 -0
  30. package/dist/i18n/grid.locale-lt.js +199 -0
  31. package/dist/i18n/grid.locale-me.js +198 -0
  32. package/dist/i18n/grid.locale-nl.js +208 -0
  33. package/dist/i18n/grid.locale-no.js +180 -0
  34. package/dist/i18n/grid.locale-pl.js +204 -0
  35. package/dist/i18n/grid.locale-pt-br.js +210 -0
  36. package/dist/i18n/grid.locale-pt.js +196 -0
  37. package/dist/i18n/grid.locale-ro.js +210 -0
  38. package/dist/i18n/grid.locale-ru.js +196 -0
  39. package/dist/i18n/grid.locale-sk.js +198 -0
  40. package/dist/i18n/grid.locale-sl.js +230 -0
  41. package/dist/i18n/grid.locale-sr.js +199 -0
  42. package/dist/i18n/grid.locale-sv.js +198 -0
  43. package/dist/i18n/grid.locale-th.js +195 -0
  44. package/dist/i18n/grid.locale-tr.js +197 -0
  45. package/dist/i18n/grid.locale-tw.js +199 -0
  46. package/dist/i18n/grid.locale-ua.js +199 -0
  47. package/dist/i18n/grid.locale-vi.js +238 -0
  48. package/dist/i18n/min/grid.locale-ar.js +10 -0
  49. package/dist/i18n/min/grid.locale-ar.js.map +1 -0
  50. package/dist/i18n/min/grid.locale-bg.js +10 -0
  51. package/dist/i18n/min/grid.locale-bg.js.map +1 -0
  52. package/dist/i18n/min/grid.locale-ca.js +15 -0
  53. package/dist/i18n/min/grid.locale-ca.js.map +1 -0
  54. package/dist/i18n/min/grid.locale-cn.js +10 -0
  55. package/dist/i18n/min/grid.locale-cn.js.map +1 -0
  56. package/dist/i18n/min/grid.locale-cs.js +11 -0
  57. package/dist/i18n/min/grid.locale-cs.js.map +1 -0
  58. package/dist/i18n/min/grid.locale-da.js +10 -0
  59. package/dist/i18n/min/grid.locale-da.js.map +1 -0
  60. package/dist/i18n/min/grid.locale-de.js +21 -0
  61. package/dist/i18n/min/grid.locale-de.js.map +1 -0
  62. package/dist/i18n/min/grid.locale-el.js +10 -0
  63. package/dist/i18n/min/grid.locale-el.js.map +1 -0
  64. package/dist/i18n/min/grid.locale-en.js +11 -0
  65. package/dist/i18n/min/grid.locale-en.js.map +1 -0
  66. package/dist/i18n/min/grid.locale-es.js +16 -0
  67. package/dist/i18n/min/grid.locale-es.js.map +1 -0
  68. package/dist/i18n/min/grid.locale-fa.js +8 -0
  69. package/dist/i18n/min/grid.locale-fa.js.map +1 -0
  70. package/dist/i18n/min/grid.locale-fi.js +11 -0
  71. package/dist/i18n/min/grid.locale-fi.js.map +1 -0
  72. package/dist/i18n/min/grid.locale-fr.js +10 -0
  73. package/dist/i18n/min/grid.locale-fr.js.map +1 -0
  74. package/dist/i18n/min/grid.locale-gl.js +9 -0
  75. package/dist/i18n/min/grid.locale-gl.js.map +1 -0
  76. package/dist/i18n/min/grid.locale-he.js +10 -0
  77. package/dist/i18n/min/grid.locale-he.js.map +1 -0
  78. package/dist/i18n/min/grid.locale-hr.js +11 -0
  79. package/dist/i18n/min/grid.locale-hr.js.map +1 -0
  80. package/dist/i18n/min/grid.locale-hu.js +10 -0
  81. package/dist/i18n/min/grid.locale-hu.js.map +1 -0
  82. package/dist/i18n/min/grid.locale-id.js +10 -0
  83. package/dist/i18n/min/grid.locale-id.js.map +1 -0
  84. package/dist/i18n/min/grid.locale-is.js +9 -0
  85. package/dist/i18n/min/grid.locale-is.js.map +1 -0
  86. package/dist/i18n/min/grid.locale-it.js +2 -0
  87. package/dist/i18n/min/grid.locale-it.js.map +1 -0
  88. package/dist/i18n/min/grid.locale-ja.js +10 -0
  89. package/dist/i18n/min/grid.locale-ja.js.map +1 -0
  90. package/dist/i18n/min/grid.locale-kr.js +2 -0
  91. package/dist/i18n/min/grid.locale-kr.js.map +1 -0
  92. package/dist/i18n/min/grid.locale-lt.js +10 -0
  93. package/dist/i18n/min/grid.locale-lt.js.map +1 -0
  94. package/dist/i18n/min/grid.locale-me.js +10 -0
  95. package/dist/i18n/min/grid.locale-me.js.map +1 -0
  96. package/dist/i18n/min/grid.locale-nl.js +2 -0
  97. package/dist/i18n/min/grid.locale-nl.js.map +1 -0
  98. package/dist/i18n/min/grid.locale-no.js +2 -0
  99. package/dist/i18n/min/grid.locale-no.js.map +1 -0
  100. package/dist/i18n/min/grid.locale-pl.js +18 -0
  101. package/dist/i18n/min/grid.locale-pl.js.map +1 -0
  102. package/dist/i18n/min/grid.locale-pt-br.js +21 -0
  103. package/dist/i18n/min/grid.locale-pt-br.js.map +1 -0
  104. package/dist/i18n/min/grid.locale-pt.js +9 -0
  105. package/dist/i18n/min/grid.locale-pt.js.map +1 -0
  106. package/dist/i18n/min/grid.locale-ro.js +10 -0
  107. package/dist/i18n/min/grid.locale-ro.js.map +1 -0
  108. package/dist/i18n/min/grid.locale-ru.js +10 -0
  109. package/dist/i18n/min/grid.locale-ru.js.map +1 -0
  110. package/dist/i18n/min/grid.locale-sk.js +10 -0
  111. package/dist/i18n/min/grid.locale-sk.js.map +1 -0
  112. package/dist/i18n/min/grid.locale-sr.js +10 -0
  113. package/dist/i18n/min/grid.locale-sr.js.map +1 -0
  114. package/dist/i18n/min/grid.locale-sv.js +10 -0
  115. package/dist/i18n/min/grid.locale-sv.js.map +1 -0
  116. package/dist/i18n/min/grid.locale-th.js +10 -0
  117. package/dist/i18n/min/grid.locale-th.js.map +1 -0
  118. package/dist/i18n/min/grid.locale-tr.js +10 -0
  119. package/dist/i18n/min/grid.locale-tr.js.map +1 -0
  120. package/dist/i18n/min/grid.locale-tw.js +11 -0
  121. package/dist/i18n/min/grid.locale-tw.js.map +1 -0
  122. package/dist/i18n/min/grid.locale-ua.js +10 -0
  123. package/dist/i18n/min/grid.locale-ua.js.map +1 -0
  124. package/dist/i18n/min/grid.locale-vi.js +10 -0
  125. package/dist/i18n/min/grid.locale-vi.js.map +1 -0
  126. package/dist/jquery.jqgrid.min.js +11 -0
  127. package/dist/jquery.jqgrid.min.js.map +1 -0
  128. package/{js/jquery.jqgrid.src.js.1 → dist/jquery.jqgrid.src.js} +1 -1
  129. package/dist/modules/grid.base.js +8518 -0
  130. package/dist/modules/grid.celledit.js +673 -0
  131. package/dist/modules/grid.common.js +844 -0
  132. package/dist/modules/grid.custom.js +1795 -0
  133. package/dist/modules/grid.filter.js +897 -0
  134. package/dist/modules/grid.formedit.js +2537 -0
  135. package/dist/modules/grid.grouping.js +737 -0
  136. package/dist/modules/grid.import.js +251 -0
  137. package/dist/modules/grid.inlinedit.js +784 -0
  138. package/dist/modules/grid.jqueryui.js +965 -0
  139. package/dist/modules/grid.pivot.js +862 -0
  140. package/dist/modules/grid.subgrid.js +379 -0
  141. package/dist/modules/grid.tbltogrid.js +141 -0
  142. package/dist/modules/grid.treegrid.js +683 -0
  143. package/dist/modules/jqdnr.js +188 -0
  144. package/dist/modules/jqmodal.js +292 -0
  145. package/dist/modules/jquery.fmatter.js +1061 -0
  146. package/dist/modules/jsonxml.js +343 -0
  147. package/dist/modules/min/grid.base.js +11 -0
  148. package/dist/modules/min/grid.base.js.map +1 -0
  149. package/dist/modules/min/grid.celledit.js +2 -0
  150. package/dist/modules/min/grid.celledit.js.map +1 -0
  151. package/dist/modules/min/grid.common.js +2 -0
  152. package/dist/modules/min/grid.common.js.map +1 -0
  153. package/dist/modules/min/grid.custom.js +2 -0
  154. package/dist/modules/min/grid.custom.js.map +1 -0
  155. package/dist/modules/min/grid.filter.js +2 -0
  156. package/dist/modules/min/grid.filter.js.map +1 -0
  157. package/dist/modules/min/grid.formedit.js +2 -0
  158. package/dist/modules/min/grid.formedit.js.map +1 -0
  159. package/dist/modules/min/grid.grouping.js +2 -0
  160. package/dist/modules/min/grid.grouping.js.map +1 -0
  161. package/dist/modules/min/grid.import.js +2 -0
  162. package/dist/modules/min/grid.import.js.map +1 -0
  163. package/dist/modules/min/grid.inlinedit.js +2 -0
  164. package/dist/modules/min/grid.inlinedit.js.map +1 -0
  165. package/dist/modules/min/grid.jqueryui.js +2 -0
  166. package/dist/modules/min/grid.jqueryui.js.map +1 -0
  167. package/dist/modules/min/grid.pivot.js +2 -0
  168. package/dist/modules/min/grid.pivot.js.map +1 -0
  169. package/dist/modules/min/grid.subgrid.js +2 -0
  170. package/dist/modules/min/grid.subgrid.js.map +1 -0
  171. package/dist/modules/min/grid.tbltogrid.js +2 -0
  172. package/dist/modules/min/grid.tbltogrid.js.map +1 -0
  173. package/dist/modules/min/grid.treegrid.js +2 -0
  174. package/dist/modules/min/grid.treegrid.js.map +1 -0
  175. package/dist/modules/min/jqdnr.js +2 -0
  176. package/dist/modules/min/jqdnr.js.map +1 -0
  177. package/dist/modules/min/jqmodal.js +2 -0
  178. package/dist/modules/min/jqmodal.js.map +1 -0
  179. package/dist/modules/min/jquery.fmatter.js +2 -0
  180. package/dist/modules/min/jquery.fmatter.js.map +1 -0
  181. package/dist/modules/min/jsonxml.js +2 -0
  182. package/dist/modules/min/jsonxml.js.map +1 -0
  183. package/dist/plugins/css/ui.multiselect.css +30 -0
  184. package/dist/plugins/css/ui.multiselect.min.css +2 -0
  185. package/dist/plugins/css/ui.multiselect.min.css.map +1 -0
  186. package/dist/plugins/grid.odata.js +1313 -0
  187. package/dist/plugins/jqgrid_download.js +109 -0
  188. package/dist/plugins/jquery.contextmenu-ui.js +304 -0
  189. package/dist/plugins/jquery.contextmenu.js +174 -0
  190. package/dist/plugins/jquery.createcontexmenufromnavigatorbuttons.js +172 -0
  191. package/dist/plugins/jquery.jqgrid.showhidecolumnmenu.js +201 -0
  192. package/dist/plugins/min/grid.odata.js +11 -0
  193. package/dist/plugins/min/grid.odata.js.map +1 -0
  194. package/dist/plugins/min/jquery.contextmenu-ui.js +26 -0
  195. package/dist/plugins/min/jquery.contextmenu-ui.js.map +1 -0
  196. package/dist/plugins/min/jquery.contextmenu.js +19 -0
  197. package/dist/plugins/min/jquery.contextmenu.js.map +1 -0
  198. package/dist/plugins/min/jquery.createcontexmenufromnavigatorbuttons.js +12 -0
  199. package/dist/plugins/min/jquery.createcontexmenufromnavigatorbuttons.js.map +1 -0
  200. package/dist/plugins/min/jquery.jqgrid.showhidecolumnmenu.js +10 -0
  201. package/dist/plugins/min/jquery.jqgrid.showhidecolumnmenu.js.map +1 -0
  202. package/dist/plugins/min/ui.multiselect.js +30 -0
  203. package/dist/plugins/min/ui.multiselect.js.map +1 -0
  204. package/dist/plugins/ui.multiselect.js +389 -0
  205. package/dist/ts/free-jqgrid.d.ts +2132 -0
  206. package/js/jquery.jqgrid.min.js +1 -1
  207. package/js/jquery.jqgrid.min.js.map +1 -1
  208. package/js/jquery.jqgrid.src.js +8 -3
  209. package/libre-jqgrid-4.17.4.tgz +0 -0
  210. package/package.json +1 -1
  211. package/.github/workflows/npm.yml +0 -47
@@ -0,0 +1,196 @@
1
+ /**
2
+ * @license jqGrid Portuguese Translation
3
+ * Tradução da jqGrid em Portugues por Frederico Carvalho, http://www.eyeviewdesign.pt
4
+ * Dual licensed under the MIT and GPL licenses:
5
+ * http://www.opensource.org/licenses/mit-license.php
6
+ * http://www.gnu.org/licenses/gpl.html
7
+ **/
8
+
9
+ /*jslint white: true */
10
+ /*global jQuery, module, require */
11
+ (function (factory) {
12
+ "use strict";
13
+ if (typeof define === "function" && define.amd) {
14
+ // AMD. Register as an anonymous module.
15
+ define(["jquery"], factory);
16
+ } else if (typeof module === "object" && module.exports) {
17
+ // Node/CommonJS
18
+ module.exports = function (root, $) {
19
+ if ($ === undefined) {
20
+ // require("jquery") returns a factory that requires window to
21
+ // build a jQuery instance, we normalize how we use modules
22
+ // that require this pattern but the window provided is a noop
23
+ // if it's defined (how jquery works)
24
+ $ = typeof window !== "undefined" ?
25
+ require("jquery") :
26
+ require("jquery")(root || window);
27
+ }
28
+ factory($);
29
+ return $;
30
+ };
31
+ } else {
32
+ // Browser globals
33
+ factory(jQuery);
34
+ }
35
+ }(function ($) {
36
+ "use strict";
37
+ var locInfo = {
38
+ isRTL: false,
39
+ defaults: {
40
+ recordtext: "View {0} - {1} of {2}",
41
+ emptyrecords: "No records to view",
42
+ loadtext: "A carregar...",
43
+ pgtext: "Página {0} de {1}",
44
+ pgfirst: "First Page",
45
+ pglast: "Last Page",
46
+ pgnext: "Next Page",
47
+ pgprev: "Previous Page",
48
+ pgrecs: "Records per Page",
49
+ showhide: "Toggle Expand Collapse Grid",
50
+ savetext: "A guardar..."
51
+ },
52
+ search: {
53
+ caption: "Busca...",
54
+ Find: "Procurar",
55
+ Reset: "Limpar",
56
+ odata: [
57
+ { oper: "eq", text: "equal" },
58
+ { oper: "ne", text: "not equal" },
59
+ { oper: "lt", text: "less" },
60
+ { oper: "le", text: "less or equal" },
61
+ { oper: "gt", text: "greater" },
62
+ { oper: "ge", text: "greater or equal" },
63
+ { oper: "bw", text: "begins with" },
64
+ { oper: "bn", text: "does not begin with" },
65
+ { oper: "in", text: "is in" },
66
+ { oper: "ni", text: "is not in" },
67
+ { oper: "ew", text: "ends with" },
68
+ { oper: "en", text: "does not end with" },
69
+ { oper: "cn", text: "contains" },
70
+ { oper: "nc", text: "does not contain" },
71
+ { oper: "nu", text: "is null" },
72
+ { oper: "nn", text: "is not null" }
73
+ ],
74
+ groupOps: [
75
+ { op: "AND", text: "all" },
76
+ { op: "OR", text: "any" }
77
+ ],
78
+ addGroupTitle: "Add subgroup",
79
+ deleteGroupTitle: "Delete group",
80
+ addRuleTitle: "Add rule",
81
+ deleteRuleTitle: "Delete rule",
82
+ operandTitle: "Click to select search operation.",
83
+ resetTitle: "Reset Search Value"
84
+ },
85
+ edit: {
86
+ addCaption: "Adicionar Registo",
87
+ editCaption: "Modificar Registo",
88
+ bSubmit: "Submeter",
89
+ bCancel: "Cancelar",
90
+ bClose: "Fechar",
91
+ saveData: "Data has been changed! Save changes?",
92
+ bYes: "Yes",
93
+ bNo: "No",
94
+ bExit: "Cancel",
95
+ msg: {
96
+ required: "Campo obrigatório",
97
+ number: "Por favor, introduza um numero",
98
+ minValue: "O valor deve ser maior ou igual que",
99
+ maxValue: "O valor deve ser menor ou igual a",
100
+ email: "Não é um endereço de email válido",
101
+ integer: "Por favor, introduza um numero inteiro",
102
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
103
+ nodefined: " is not defined!",
104
+ novalue: " return value is required!",
105
+ customarray: "Custom function should return array!",
106
+ customfcheck: "Custom function should be present in case of custom checking!"
107
+ }
108
+ },
109
+ view: {
110
+ caption: "View Record",
111
+ bClose: "Close"
112
+ },
113
+ del: {
114
+ caption: "Eliminar",
115
+ msg: "Deseja eliminar o(s) registo(s) seleccionado(s)?",
116
+ bSubmit: "Eliminar",
117
+ bCancel: "Cancelar"
118
+ },
119
+ nav: {
120
+ edittext: "",
121
+ edittitle: "Modificar registo seleccionado",
122
+ addtext: "",
123
+ addtitle: "Adicionar novo registo",
124
+ deltext: "",
125
+ deltitle: "Eliminar registo seleccionado",
126
+ searchtext: "",
127
+ searchtitle: "Procurar",
128
+ refreshtext: "",
129
+ refreshtitle: "Actualizar",
130
+ alertcap: "Aviso",
131
+ alerttext: "Por favor, seleccione um registo",
132
+ viewtext: "",
133
+ viewtitle: "View selected row",
134
+ savetext: "",
135
+ savetitle: "Save row",
136
+ canceltext: "",
137
+ canceltitle: "Cancel row editing"
138
+ },
139
+ col: {
140
+ caption: "Mostrar/Ocultar Colunas",
141
+ bSubmit: "Enviar",
142
+ bCancel: "Cancelar"
143
+ },
144
+ errors: {
145
+ errcap: "Erro",
146
+ nourl: "Não especificou um url",
147
+ norecords: "Não existem dados para processar",
148
+ model: "Tamanho do colNames <> colModel!"
149
+ },
150
+ formatter: {
151
+ integer: { thousandsSeparator: " ", defaultValue: "0" },
152
+ number: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: "0.00" },
153
+ currency: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00" },
154
+ date: {
155
+ dayNames: [
156
+ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb",
157
+ "Domingo", "Segunda-Feira", "Terça-Feira", "Quarta-Feira", "Quinta-Feira", "Sexta-Feira", "Sábado"
158
+ ],
159
+ monthNames: [
160
+ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez",
161
+ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
162
+ ],
163
+ AmPm: ["am", "pm", "AM", "PM"],
164
+ S: function (j) {
165
+ return j < 11 || j > 13 ? ["º", "º", "º", "º"][Math.min((j - 1) % 10, 3)] : "º";
166
+ },
167
+ srcformat: "Y-m-d",
168
+ newformat: "d/m/Y",
169
+ masks: {
170
+ ShortDate: "n/j/Y",
171
+ LongDate: "l, F d, Y",
172
+ FullDateTime: "l, F d, Y g:i:s A",
173
+ MonthDay: "F d",
174
+ ShortTime: "g:i A",
175
+ LongTime: "g:i:s A",
176
+ YearMonth: "F, Y"
177
+ }
178
+ }
179
+ }
180
+ };
181
+ $.jgrid = $.jgrid || {};
182
+ $.extend(true, $.jgrid, {
183
+ defaults: {
184
+ locale: "pt"
185
+ },
186
+ locales: {
187
+ // In general the property name is free, but it's recommended to use the names based on
188
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
189
+ // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
190
+ // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
191
+ // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
192
+ pt: $.extend({}, locInfo, { name: "Português", nameEnglish: "Portuguese" }),
193
+ "pt-PT": $.extend({}, locInfo, { name: "português (Portugal)", nameEnglish: "Portuguese (Portugal)" })
194
+ }
195
+ });
196
+ }));
@@ -0,0 +1,210 @@
1
+ /**
2
+ * @license jqGrid Romanian Translation
3
+ * Alexandru Emil Lupu contact@alecslupu.ro
4
+ * http://www.alecslupu.ro/
5
+ * Dual licensed under the MIT and GPL licenses:
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ * http://www.gnu.org/licenses/gpl.html
8
+ **/
9
+
10
+ /*jslint white: true */
11
+ /*global jQuery, module, require */
12
+ (function (factory) {
13
+ "use strict";
14
+ if (typeof define === "function" && define.amd) {
15
+ // AMD. Register as an anonymous module.
16
+ define(["jquery"], factory);
17
+ } else if (typeof module === "object" && module.exports) {
18
+ // Node/CommonJS
19
+ module.exports = function (root, $) {
20
+ if ($ === undefined) {
21
+ // require("jquery") returns a factory that requires window to
22
+ // build a jQuery instance, we normalize how we use modules
23
+ // that require this pattern but the window provided is a noop
24
+ // if it's defined (how jquery works)
25
+ $ = typeof window !== "undefined" ?
26
+ require("jquery") :
27
+ require("jquery")(root || window);
28
+ }
29
+ factory($);
30
+ return $;
31
+ };
32
+ } else {
33
+ // Browser globals
34
+ factory(jQuery);
35
+ }
36
+ }(function ($) {
37
+ "use strict";
38
+ var locInfo = {
39
+ isRTL: false,
40
+ defaults: {
41
+ recordtext: "Vizualizare {0} - {1} din {2}",
42
+ emptyrecords: "Nu există înregistrări de vizualizat",
43
+ loadtext: "Încărcare...",
44
+ pgtext: "Pagina {0} din {1}",
45
+ pgfirst: "First Page",
46
+ pglast: "Last Page",
47
+ pgnext: "Next Page",
48
+ pgprev: "Previous Page",
49
+ pgrecs: "Records per Page",
50
+ showhide: "Toggle Expand Collapse Grid",
51
+ savetext: "Salvare..."
52
+ },
53
+ search: {
54
+ caption: "Caută...",
55
+ Find: "Caută",
56
+ Reset: "Resetare",
57
+ odata: [
58
+ { oper: "eq", text: "egal" },
59
+ { oper: "ne", text: "diferit" },
60
+ { oper: "lt", text: "mai mic" },
61
+ { oper: "le", text: "mai mic sau egal" },
62
+ { oper: "gt", text: "mai mare" },
63
+ { oper: "ge", text: "mai mare sau egal" },
64
+ { oper: "bw", text: "începe cu" },
65
+ { oper: "bn", text: "nu începe cu" },
66
+ { oper: "in", text: "se găsește în" },
67
+ { oper: "ni", text: "nu se găsește în" },
68
+ { oper: "ew", text: "se termină cu" },
69
+ { oper: "en", text: "nu se termină cu" },
70
+ { oper: "cn", text: "conține" },
71
+ { oper: "nc", text: "" },
72
+ { oper: "nu", text: "is null" },
73
+ { oper: "nn", text: "is not null" }
74
+ ],
75
+ groupOps: [
76
+ { op: "AND", text: "toate" },
77
+ { op: "OR", text: "oricare" }
78
+ ],
79
+ addGroupTitle: "Add subgroup",
80
+ deleteGroupTitle: "Delete group",
81
+ addRuleTitle: "Add rule",
82
+ deleteRuleTitle: "Delete rule",
83
+ operandTitle: "Click to select search operation.",
84
+ resetTitle: "Reset Search Value"
85
+ },
86
+ edit: {
87
+ addCaption: "Adăugare înregistrare",
88
+ editCaption: "Modificare înregistrare",
89
+ bSubmit: "Salvează",
90
+ bCancel: "Anulare",
91
+ bClose: "Închide",
92
+ saveData: "Informațiile au fost modificate! Salvați modificările?",
93
+ bYes: "Da",
94
+ bNo: "Nu",
95
+ bExit: "Anulare",
96
+ msg: {
97
+ required: "Câmpul este obligatoriu",
98
+ number: "Vă rugăm introduceți un număr valid",
99
+ minValue: "valoarea trebuie sa fie mai mare sau egală cu",
100
+ maxValue: "valoarea trebuie sa fie mai mică sau egală cu",
101
+ email: "nu este o adresă de e-mail validă",
102
+ integer: "Vă rugăm introduceți un număr valid",
103
+ date: "Vă rugăm să introduceți o dată validă",
104
+ url: "Nu este un URL valid. Prefixul este necesar('http://' or 'https://')",
105
+ nodefined: " is not defined!",
106
+ novalue: " return value is required!",
107
+ customarray: "Custom function should return array!",
108
+ customfcheck: "Custom function should be present in case of custom checking!"
109
+ }
110
+ },
111
+ view: {
112
+ caption: "Vizualizare înregistrare",
113
+ bClose: "Închidere"
114
+ },
115
+ del: {
116
+ caption: "Ștegere",
117
+ msg: "Ștergeți înregistrarea (înregistrările) selectate?",
118
+ bSubmit: "Șterge",
119
+ bCancel: "Anulare"
120
+ },
121
+ nav: {
122
+ edittext: "",
123
+ edittitle: "Modifică rândul selectat",
124
+ addtext: "",
125
+ addtitle: "Adaugă rând nou",
126
+ deltext: "",
127
+ deltitle: "Șterge rândul selectat",
128
+ searchtext: "",
129
+ searchtitle: "Căutare înregistrări",
130
+ refreshtext: "",
131
+ refreshtitle: "Reîncarcare Grid",
132
+ alertcap: "Avertisment",
133
+ alerttext: "Vă rugăm să selectați un rând",
134
+ viewtext: "",
135
+ viewtitle: "Vizualizează rândul selectat",
136
+ savetext: "",
137
+ savetitle: "Save row",
138
+ canceltext: "",
139
+ canceltitle: "Cancel row editing"
140
+ },
141
+ col: {
142
+ caption: "Arată/Ascunde coloanele",
143
+ bSubmit: "Salvează",
144
+ bCancel: "Anulare"
145
+ },
146
+ errors: {
147
+ errcap: "Eroare",
148
+ nourl: "Niciun url nu este setat",
149
+ norecords: "Nu sunt înregistrări de procesat",
150
+ model: "Lungimea colNames <> colModel!"
151
+ },
152
+ formatter: {
153
+ integer: { thousandsSeparator: " ", defaultValue: "0" },
154
+ number: { decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: "0,00" },
155
+ currency: { decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0,00" },
156
+ date: {
157
+ dayNames: [
158
+ "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm",
159
+ "Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"
160
+ ],
161
+ monthNames: [
162
+ "Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec",
163
+ "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"
164
+ ],
165
+ AmPm: ["am", "pm", "AM", "PM"],
166
+ /*
167
+ Here is a problem in romanian:
168
+ M / F
169
+ 1st = primul / prima
170
+ 2nd = Al doilea / A doua
171
+ 3rd = Al treilea / A treia
172
+ 4th = Al patrulea/ A patra
173
+ 5th = Al cincilea / A cincea
174
+ 6th = Al șaselea / A șasea
175
+ 7th = Al șaptelea / A șaptea
176
+ ....
177
+ */
178
+ S: function (j) {
179
+ return j < 11 || j > 13 ? ["st", "nd", "rd", "th"][Math.min((j - 1) % 10, 3)] : "th";
180
+ },
181
+ srcformat: "Y-m-d",
182
+ newformat: "d/m/Y",
183
+ masks: {
184
+ ShortDate: "n/j/Y",
185
+ LongDate: "l, F d, Y",
186
+ FullDateTime: "l, F d, Y g:i:s A",
187
+ MonthDay: "F d",
188
+ ShortTime: "g:i A",
189
+ LongTime: "g:i:s A",
190
+ YearMonth: "F, Y"
191
+ }
192
+ }
193
+ }
194
+ };
195
+ $.jgrid = $.jgrid || {};
196
+ $.extend(true, $.jgrid, {
197
+ defaults: {
198
+ locale: "ro"
199
+ },
200
+ locales: {
201
+ // In general the property name is free, but it's recommended to use the names based on
202
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
203
+ // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
204
+ // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
205
+ // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
206
+ ro: $.extend({}, locInfo, { name: "română", nameEnglish: "Romanian" }),
207
+ "ro-RO": $.extend({}, locInfo, { name: "română (România)", nameEnglish: "Romanian (Romania)" })
208
+ }
209
+ });
210
+ }));
@@ -0,0 +1,196 @@
1
+ /**
2
+ * @license jqGrid Russian Translation v1.0 02.07.2009 based on translation by Alexey Kanaev, v1.1 21.01.2009 (http://softcore.com.ru) and 07.01.2015 (http://smartcore.ru)
3
+ * Sergey Dyagovchenko
4
+ * http://d.sumy.ua
5
+ * Dual licensed under the MIT and GPL licenses:
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ * http://www.gnu.org/licenses/gpl.html
8
+ **/
9
+
10
+ /*jslint white: true */
11
+ /*global jQuery, module, require */
12
+ (function (factory) {
13
+ "use strict";
14
+ if (typeof define === "function" && define.amd) {
15
+ // AMD. Register as an anonymous module.
16
+ define(["jquery"], factory);
17
+ } else if (typeof module === "object" && module.exports) {
18
+ // Node/CommonJS
19
+ module.exports = function (root, $) {
20
+ if ($ === undefined) {
21
+ // require("jquery") returns a factory that requires window to
22
+ // build a jQuery instance, we normalize how we use modules
23
+ // that require this pattern but the window provided is a noop
24
+ // if it's defined (how jquery works)
25
+ $ = typeof window !== "undefined" ?
26
+ require("jquery") :
27
+ require("jquery")(root || window);
28
+ }
29
+ factory($);
30
+ return $;
31
+ };
32
+ } else {
33
+ // Browser globals
34
+ factory(jQuery);
35
+ }
36
+ }(function ($) {
37
+ "use strict";
38
+ var locInfo = {
39
+ isRTL: false,
40
+ defaults: {
41
+ recordtext: "Просмотр {0} - {1} из {2}",
42
+ emptyrecords: "Нет записей для просмотра",
43
+ loadtext: "Загрузка...",
44
+ pgtext: "Стр. {0} из {1}",
45
+ pgfirst: "Первая стр.",
46
+ pglast: "Последняя стр.",
47
+ pgnext: "След. стр.",
48
+ pgprev: "Пред. стр.",
49
+ pgrecs: "Записей на стр.",
50
+ showhide: "Показать/скрыть таблицу",
51
+ savetext: "Сохранение..."
52
+ },
53
+ search: {
54
+ caption: "Поиск...",
55
+ Find: "Найти",
56
+ Reset: "Сброс",
57
+ odata: [
58
+ { oper: "eq", text: "равно" },
59
+ { oper: "ne", text: "не равно" },
60
+ { oper: "lt", text: "меньше" },
61
+ { oper: "le", text: "меньше или равно" },
62
+ { oper: "gt", text: "больше" },
63
+ { oper: "ge", text: "больше или равно" },
64
+ { oper: "bw", text: "начинается с" },
65
+ { oper: "bn", text: "не начинается с" },
66
+ { oper: "in", text: "находится в" },
67
+ { oper: "ni", text: "не находится в" },
68
+ { oper: "ew", text: "заканчивается на" },
69
+ { oper: "en", text: "не заканчивается на" },
70
+ { oper: "cn", text: "содержит" },
71
+ { oper: "nc", text: "не содержит" },
72
+ { oper: "nu", text: "равно NULL" },
73
+ { oper: "nn", text: "не равно NULL" }
74
+ ],
75
+ groupOps: [
76
+ { op: "AND", text: "все" },
77
+ { op: "OR", text: "любой" }
78
+ ],
79
+ addGroupTitle: "Добавить группу",
80
+ deleteGroupTitle: "Удалить группу",
81
+ addRuleTitle: "Добавить правило",
82
+ deleteRuleTitle: "Удалить правило",
83
+ operandTitle: "Выбрать операцию поиска",
84
+ resetTitle: "Сбросить"
85
+ },
86
+ edit: {
87
+ addCaption: "Добавить запись",
88
+ editCaption: "Редактировать запись",
89
+ bSubmit: "Сохранить",
90
+ bCancel: "Отмена",
91
+ bClose: "Закрыть",
92
+ saveData: "Данные были измененны! Сохранить изменения?",
93
+ bYes: "Да",
94
+ bNo: "Нет",
95
+ bExit: "Отмена",
96
+ msg: {
97
+ required: "Поле является обязательным",
98
+ number: "Пожалуйста, введите правильное число",
99
+ minValue: "значение должно быть больше либо равно",
100
+ maxValue: "значение должно быть меньше либо равно",
101
+ email: "некорректное значение e-mail",
102
+ integer: "Пожалуйста, введите целое число",
103
+ date: "Пожалуйста, введите правильную дату",
104
+ url: "неверная ссылка. Необходимо ввести префикс ('http://' или 'https://')",
105
+ nodefined: " не определено!",
106
+ novalue: " возвращаемое значение обязательно!",
107
+ customarray: "Пользовательская функция должна возвращать массив!",
108
+ customfcheck: "Пользовательская функция должна присутствовать в случаи пользовательской проверки!"
109
+ }
110
+ },
111
+ view: {
112
+ caption: "Просмотр записи",
113
+ bClose: "Закрыть"
114
+ },
115
+ del: {
116
+ caption: "Удалить",
117
+ msg: "Удалить выбранную запись(и)?",
118
+ bSubmit: "Удалить",
119
+ bCancel: "Отмена"
120
+ },
121
+ nav: {
122
+ edittext: "",
123
+ edittitle: "Редактировать выбранную запись",
124
+ addtext: "",
125
+ addtitle: "Добавить новую запись",
126
+ deltext: "",
127
+ deltitle: "Удалить выбранную запись",
128
+ searchtext: "",
129
+ searchtitle: "Найти записи",
130
+ refreshtext: "",
131
+ refreshtitle: "Обновить таблицу",
132
+ alertcap: "Внимание",
133
+ alerttext: "Пожалуйста, выберите запись",
134
+ viewtext: "",
135
+ viewtitle: "Просмотреть выбранную запись",
136
+ savetext: "",
137
+ savetitle: "Сохранить запись",
138
+ canceltext: "",
139
+ canceltitle: "Отмена изменений"
140
+ },
141
+ col: {
142
+ caption: "Показать/скрыть столбцы",
143
+ bSubmit: "Сохранить",
144
+ bCancel: "Отмена"
145
+ },
146
+ errors: {
147
+ errcap: "Ошибка",
148
+ nourl: "URL не установлен",
149
+ norecords: "Нет записей для обработки",
150
+ model: "Число полей не соответствует числу столбцов таблицы!"
151
+ },
152
+ formatter: {
153
+ integer: { thousandsSeparator: " ", defaultValue: "0" },
154
+ number: { decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: "0,00" },
155
+ currency: { decimalSeparator: ",", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0,00" },
156
+ date: {
157
+ dayNames: [
158
+ "Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб",
159
+ "Воскресение", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"
160
+ ],
161
+ monthNames: [
162
+ "Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек",
163
+ "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"
164
+ ],
165
+ AmPm: ["am", "pm", "AM", "PM"],
166
+ S: function () { return ""; },
167
+ srcformat: "Y-m-d",
168
+ newformat: "d.m.Y",
169
+ masks: {
170
+ ShortDate: "n.j.Y",
171
+ LongDate: "l, F d, Y",
172
+ FullDateTime: "l, F d, Y G:i:s",
173
+ MonthDay: "F d",
174
+ ShortTime: "G:i",
175
+ LongTime: "G:i:s",
176
+ YearMonth: "F, Y"
177
+ }
178
+ }
179
+ }
180
+ };
181
+ $.jgrid = $.jgrid || {};
182
+ $.extend(true, $.jgrid, {
183
+ defaults: {
184
+ locale: "ru"
185
+ },
186
+ locales: {
187
+ // In general the property name is free, but it's recommended to use the names based on
188
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
189
+ // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
190
+ // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
191
+ // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
192
+ ru: $.extend({}, locInfo, { name: "русский", nameEnglish: "Russian" }),
193
+ "ru-RU": $.extend({}, locInfo, { name: "русский (Россия)", nameEnglish: "Russian (Russia)" })
194
+ }
195
+ });
196
+ }));