libre-jqgrid 4.15.9

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 (421) hide show
  1. package/.github/workflows/npm.yml +23 -0
  2. package/.jscsrc +13 -0
  3. package/LICENSE +674 -0
  4. package/LICENSE.md +304 -0
  5. package/README.md +2 -0
  6. package/bower.json +53 -0
  7. package/css/ui.jqgrid.css +1618 -0
  8. package/css/ui.jqgrid.min.css +4 -0
  9. package/css/ui.jqgrid.min.css.map +1 -0
  10. package/dist/css/ui.jqgrid.css +1618 -0
  11. package/dist/css/ui.jqgrid.min.css +4 -0
  12. package/dist/css/ui.jqgrid.min.css.map +1 -0
  13. package/dist/i18n/grid.locale-ar.js +198 -0
  14. package/dist/i18n/grid.locale-bg.js +201 -0
  15. package/dist/i18n/grid.locale-bs.js +230 -0
  16. package/dist/i18n/grid.locale-ca.js +204 -0
  17. package/dist/i18n/grid.locale-cn.js +237 -0
  18. package/dist/i18n/grid.locale-cs.js +197 -0
  19. package/dist/i18n/grid.locale-da.js +196 -0
  20. package/dist/i18n/grid.locale-de.js +240 -0
  21. package/dist/i18n/grid.locale-el.js +195 -0
  22. package/dist/i18n/grid.locale-en.js +256 -0
  23. package/dist/i18n/grid.locale-es.js +202 -0
  24. package/dist/i18n/grid.locale-fa.js +211 -0
  25. package/dist/i18n/grid.locale-fi.js +201 -0
  26. package/dist/i18n/grid.locale-fr.js +197 -0
  27. package/dist/i18n/grid.locale-gl.js +197 -0
  28. package/dist/i18n/grid.locale-he.js +198 -0
  29. package/dist/i18n/grid.locale-hr.js +231 -0
  30. package/dist/i18n/grid.locale-hu.js +196 -0
  31. package/dist/i18n/grid.locale-id.js +238 -0
  32. package/dist/i18n/grid.locale-is.js +197 -0
  33. package/dist/i18n/grid.locale-it.js +189 -0
  34. package/dist/i18n/grid.locale-ja.js +203 -0
  35. package/dist/i18n/grid.locale-kr.js +194 -0
  36. package/dist/i18n/grid.locale-lt.js +199 -0
  37. package/dist/i18n/grid.locale-me.js +198 -0
  38. package/dist/i18n/grid.locale-nl.js +208 -0
  39. package/dist/i18n/grid.locale-no.js +180 -0
  40. package/dist/i18n/grid.locale-pl.js +204 -0
  41. package/dist/i18n/grid.locale-pt-br.js +210 -0
  42. package/dist/i18n/grid.locale-pt.js +196 -0
  43. package/dist/i18n/grid.locale-ro.js +210 -0
  44. package/dist/i18n/grid.locale-ru.js +196 -0
  45. package/dist/i18n/grid.locale-sk.js +198 -0
  46. package/dist/i18n/grid.locale-sl.js +230 -0
  47. package/dist/i18n/grid.locale-sr.js +199 -0
  48. package/dist/i18n/grid.locale-sv.js +198 -0
  49. package/dist/i18n/grid.locale-th.js +195 -0
  50. package/dist/i18n/grid.locale-tr.js +197 -0
  51. package/dist/i18n/grid.locale-tw.js +199 -0
  52. package/dist/i18n/grid.locale-ua.js +199 -0
  53. package/dist/i18n/grid.locale-vi.js +238 -0
  54. package/dist/i18n/min/grid.locale-ar.js +10 -0
  55. package/dist/i18n/min/grid.locale-ar.js.map +1 -0
  56. package/dist/i18n/min/grid.locale-bg.js +10 -0
  57. package/dist/i18n/min/grid.locale-bg.js.map +1 -0
  58. package/dist/i18n/min/grid.locale-ca.js +15 -0
  59. package/dist/i18n/min/grid.locale-ca.js.map +1 -0
  60. package/dist/i18n/min/grid.locale-cn.js +10 -0
  61. package/dist/i18n/min/grid.locale-cn.js.map +1 -0
  62. package/dist/i18n/min/grid.locale-cs.js +11 -0
  63. package/dist/i18n/min/grid.locale-cs.js.map +1 -0
  64. package/dist/i18n/min/grid.locale-da.js +10 -0
  65. package/dist/i18n/min/grid.locale-da.js.map +1 -0
  66. package/dist/i18n/min/grid.locale-de.js +21 -0
  67. package/dist/i18n/min/grid.locale-de.js.map +1 -0
  68. package/dist/i18n/min/grid.locale-el.js +10 -0
  69. package/dist/i18n/min/grid.locale-el.js.map +1 -0
  70. package/dist/i18n/min/grid.locale-en.js +11 -0
  71. package/dist/i18n/min/grid.locale-en.js.map +1 -0
  72. package/dist/i18n/min/grid.locale-es.js +16 -0
  73. package/dist/i18n/min/grid.locale-es.js.map +1 -0
  74. package/dist/i18n/min/grid.locale-fa.js +8 -0
  75. package/dist/i18n/min/grid.locale-fa.js.map +1 -0
  76. package/dist/i18n/min/grid.locale-fi.js +11 -0
  77. package/dist/i18n/min/grid.locale-fi.js.map +1 -0
  78. package/dist/i18n/min/grid.locale-fr.js +10 -0
  79. package/dist/i18n/min/grid.locale-fr.js.map +1 -0
  80. package/dist/i18n/min/grid.locale-gl.js +9 -0
  81. package/dist/i18n/min/grid.locale-gl.js.map +1 -0
  82. package/dist/i18n/min/grid.locale-he.js +10 -0
  83. package/dist/i18n/min/grid.locale-he.js.map +1 -0
  84. package/dist/i18n/min/grid.locale-hr.js +11 -0
  85. package/dist/i18n/min/grid.locale-hr.js.map +1 -0
  86. package/dist/i18n/min/grid.locale-hu.js +10 -0
  87. package/dist/i18n/min/grid.locale-hu.js.map +1 -0
  88. package/dist/i18n/min/grid.locale-id.js +10 -0
  89. package/dist/i18n/min/grid.locale-id.js.map +1 -0
  90. package/dist/i18n/min/grid.locale-is.js +9 -0
  91. package/dist/i18n/min/grid.locale-is.js.map +1 -0
  92. package/dist/i18n/min/grid.locale-it.js +2 -0
  93. package/dist/i18n/min/grid.locale-it.js.map +1 -0
  94. package/dist/i18n/min/grid.locale-ja.js +10 -0
  95. package/dist/i18n/min/grid.locale-ja.js.map +1 -0
  96. package/dist/i18n/min/grid.locale-kr.js +2 -0
  97. package/dist/i18n/min/grid.locale-kr.js.map +1 -0
  98. package/dist/i18n/min/grid.locale-lt.js +10 -0
  99. package/dist/i18n/min/grid.locale-lt.js.map +1 -0
  100. package/dist/i18n/min/grid.locale-me.js +10 -0
  101. package/dist/i18n/min/grid.locale-me.js.map +1 -0
  102. package/dist/i18n/min/grid.locale-nl.js +2 -0
  103. package/dist/i18n/min/grid.locale-nl.js.map +1 -0
  104. package/dist/i18n/min/grid.locale-no.js +2 -0
  105. package/dist/i18n/min/grid.locale-no.js.map +1 -0
  106. package/dist/i18n/min/grid.locale-pl.js +18 -0
  107. package/dist/i18n/min/grid.locale-pl.js.map +1 -0
  108. package/dist/i18n/min/grid.locale-pt-br.js +21 -0
  109. package/dist/i18n/min/grid.locale-pt-br.js.map +1 -0
  110. package/dist/i18n/min/grid.locale-pt.js +9 -0
  111. package/dist/i18n/min/grid.locale-pt.js.map +1 -0
  112. package/dist/i18n/min/grid.locale-ro.js +10 -0
  113. package/dist/i18n/min/grid.locale-ro.js.map +1 -0
  114. package/dist/i18n/min/grid.locale-ru.js +10 -0
  115. package/dist/i18n/min/grid.locale-ru.js.map +1 -0
  116. package/dist/i18n/min/grid.locale-sk.js +10 -0
  117. package/dist/i18n/min/grid.locale-sk.js.map +1 -0
  118. package/dist/i18n/min/grid.locale-sr.js +10 -0
  119. package/dist/i18n/min/grid.locale-sr.js.map +1 -0
  120. package/dist/i18n/min/grid.locale-sv.js +10 -0
  121. package/dist/i18n/min/grid.locale-sv.js.map +1 -0
  122. package/dist/i18n/min/grid.locale-th.js +10 -0
  123. package/dist/i18n/min/grid.locale-th.js.map +1 -0
  124. package/dist/i18n/min/grid.locale-tr.js +10 -0
  125. package/dist/i18n/min/grid.locale-tr.js.map +1 -0
  126. package/dist/i18n/min/grid.locale-tw.js +11 -0
  127. package/dist/i18n/min/grid.locale-tw.js.map +1 -0
  128. package/dist/i18n/min/grid.locale-ua.js +10 -0
  129. package/dist/i18n/min/grid.locale-ua.js.map +1 -0
  130. package/dist/i18n/min/grid.locale-vi.js +10 -0
  131. package/dist/i18n/min/grid.locale-vi.js.map +1 -0
  132. package/dist/jquery.jqgrid.min.js +21144 -0
  133. package/dist/jquery.jqgrid.min.js.map +1 -0
  134. package/dist/jquery.jqgrid.src.js +21144 -0
  135. package/dist/modules/grid.base.js +8518 -0
  136. package/dist/modules/grid.celledit.js +673 -0
  137. package/dist/modules/grid.common.js +844 -0
  138. package/dist/modules/grid.custom.js +1795 -0
  139. package/dist/modules/grid.filter.js +897 -0
  140. package/dist/modules/grid.formedit.js +2537 -0
  141. package/dist/modules/grid.grouping.js +737 -0
  142. package/dist/modules/grid.import.js +251 -0
  143. package/dist/modules/grid.inlinedit.js +784 -0
  144. package/dist/modules/grid.jqueryui.js +965 -0
  145. package/dist/modules/grid.pivot.js +862 -0
  146. package/dist/modules/grid.subgrid.js +379 -0
  147. package/dist/modules/grid.tbltogrid.js +141 -0
  148. package/dist/modules/grid.treegrid.js +683 -0
  149. package/dist/modules/jqdnr.js +188 -0
  150. package/dist/modules/jqmodal.js +292 -0
  151. package/dist/modules/jquery.fmatter.js +1061 -0
  152. package/dist/modules/jsonxml.js +343 -0
  153. package/dist/modules/min/grid.base.js +11 -0
  154. package/dist/modules/min/grid.base.js.map +1 -0
  155. package/dist/modules/min/grid.celledit.js +2 -0
  156. package/dist/modules/min/grid.celledit.js.map +1 -0
  157. package/dist/modules/min/grid.common.js +2 -0
  158. package/dist/modules/min/grid.common.js.map +1 -0
  159. package/dist/modules/min/grid.custom.js +2 -0
  160. package/dist/modules/min/grid.custom.js.map +1 -0
  161. package/dist/modules/min/grid.filter.js +2 -0
  162. package/dist/modules/min/grid.filter.js.map +1 -0
  163. package/dist/modules/min/grid.formedit.js +2 -0
  164. package/dist/modules/min/grid.formedit.js.map +1 -0
  165. package/dist/modules/min/grid.grouping.js +2 -0
  166. package/dist/modules/min/grid.grouping.js.map +1 -0
  167. package/dist/modules/min/grid.import.js +2 -0
  168. package/dist/modules/min/grid.import.js.map +1 -0
  169. package/dist/modules/min/grid.inlinedit.js +2 -0
  170. package/dist/modules/min/grid.inlinedit.js.map +1 -0
  171. package/dist/modules/min/grid.jqueryui.js +2 -0
  172. package/dist/modules/min/grid.jqueryui.js.map +1 -0
  173. package/dist/modules/min/grid.pivot.js +2 -0
  174. package/dist/modules/min/grid.pivot.js.map +1 -0
  175. package/dist/modules/min/grid.subgrid.js +2 -0
  176. package/dist/modules/min/grid.subgrid.js.map +1 -0
  177. package/dist/modules/min/grid.tbltogrid.js +2 -0
  178. package/dist/modules/min/grid.tbltogrid.js.map +1 -0
  179. package/dist/modules/min/grid.treegrid.js +2 -0
  180. package/dist/modules/min/grid.treegrid.js.map +1 -0
  181. package/dist/modules/min/jqdnr.js +2 -0
  182. package/dist/modules/min/jqdnr.js.map +1 -0
  183. package/dist/modules/min/jqmodal.js +2 -0
  184. package/dist/modules/min/jqmodal.js.map +1 -0
  185. package/dist/modules/min/jquery.fmatter.js +2 -0
  186. package/dist/modules/min/jquery.fmatter.js.map +1 -0
  187. package/dist/modules/min/jsonxml.js +2 -0
  188. package/dist/modules/min/jsonxml.js.map +1 -0
  189. package/dist/plugins/css/ui.multiselect.css +30 -0
  190. package/dist/plugins/css/ui.multiselect.min.css +2 -0
  191. package/dist/plugins/css/ui.multiselect.min.css.map +1 -0
  192. package/dist/plugins/grid.odata.js +1313 -0
  193. package/dist/plugins/jqgrid_download.js +109 -0
  194. package/dist/plugins/jquery.contextmenu-ui.js +304 -0
  195. package/dist/plugins/jquery.contextmenu.js +174 -0
  196. package/dist/plugins/jquery.createcontexmenufromnavigatorbuttons.js +172 -0
  197. package/dist/plugins/jquery.jqgrid.showhidecolumnmenu.js +201 -0
  198. package/dist/plugins/min/grid.odata.js +11 -0
  199. package/dist/plugins/min/grid.odata.js.map +1 -0
  200. package/dist/plugins/min/jquery.contextmenu-ui.js +26 -0
  201. package/dist/plugins/min/jquery.contextmenu-ui.js.map +1 -0
  202. package/dist/plugins/min/jquery.contextmenu.js +19 -0
  203. package/dist/plugins/min/jquery.contextmenu.js.map +1 -0
  204. package/dist/plugins/min/jquery.createcontexmenufromnavigatorbuttons.js +12 -0
  205. package/dist/plugins/min/jquery.createcontexmenufromnavigatorbuttons.js.map +1 -0
  206. package/dist/plugins/min/jquery.jqgrid.showhidecolumnmenu.js +10 -0
  207. package/dist/plugins/min/jquery.jqgrid.showhidecolumnmenu.js.map +1 -0
  208. package/dist/plugins/min/ui.multiselect.js +30 -0
  209. package/dist/plugins/min/ui.multiselect.js.map +1 -0
  210. package/dist/plugins/ui.multiselect.js +389 -0
  211. package/dist/ts/free-jqgrid.d.ts +2132 -0
  212. package/github /workflows/npm.yml +23 -0
  213. package/gruntfile.js +397 -0
  214. package/js/grid.base.js +8518 -0
  215. package/js/grid.celledit.js +673 -0
  216. package/js/grid.common.js +844 -0
  217. package/js/grid.custom.js +1795 -0
  218. package/js/grid.filter.js +897 -0
  219. package/js/grid.formedit.js +2537 -0
  220. package/js/grid.grouping.js +737 -0
  221. package/js/grid.import.js +251 -0
  222. package/js/grid.inlinedit.js +784 -0
  223. package/js/grid.jqueryui.js +965 -0
  224. package/js/grid.pivot.js +862 -0
  225. package/js/grid.subgrid.js +379 -0
  226. package/js/grid.tbltogrid.js +141 -0
  227. package/js/grid.treegrid.js +683 -0
  228. package/js/i18n/grid.locale-ar.js +198 -0
  229. package/js/i18n/grid.locale-bg.js +201 -0
  230. package/js/i18n/grid.locale-bs.js +230 -0
  231. package/js/i18n/grid.locale-ca.js +204 -0
  232. package/js/i18n/grid.locale-cn.js +237 -0
  233. package/js/i18n/grid.locale-cs.js +197 -0
  234. package/js/i18n/grid.locale-da.js +196 -0
  235. package/js/i18n/grid.locale-de.js +240 -0
  236. package/js/i18n/grid.locale-el.js +195 -0
  237. package/js/i18n/grid.locale-en.js +256 -0
  238. package/js/i18n/grid.locale-es.js +202 -0
  239. package/js/i18n/grid.locale-fa.js +211 -0
  240. package/js/i18n/grid.locale-fi.js +201 -0
  241. package/js/i18n/grid.locale-fr.js +197 -0
  242. package/js/i18n/grid.locale-gl.js +197 -0
  243. package/js/i18n/grid.locale-he.js +198 -0
  244. package/js/i18n/grid.locale-hr.js +231 -0
  245. package/js/i18n/grid.locale-hu.js +196 -0
  246. package/js/i18n/grid.locale-id.js +238 -0
  247. package/js/i18n/grid.locale-is.js +197 -0
  248. package/js/i18n/grid.locale-it.js +189 -0
  249. package/js/i18n/grid.locale-ja.js +203 -0
  250. package/js/i18n/grid.locale-kr.js +194 -0
  251. package/js/i18n/grid.locale-lt.js +199 -0
  252. package/js/i18n/grid.locale-me.js +198 -0
  253. package/js/i18n/grid.locale-nl.js +208 -0
  254. package/js/i18n/grid.locale-no.js +180 -0
  255. package/js/i18n/grid.locale-pl.js +204 -0
  256. package/js/i18n/grid.locale-pt-br.js +210 -0
  257. package/js/i18n/grid.locale-pt.js +196 -0
  258. package/js/i18n/grid.locale-ro.js +210 -0
  259. package/js/i18n/grid.locale-ru.js +196 -0
  260. package/js/i18n/grid.locale-sk.js +198 -0
  261. package/js/i18n/grid.locale-sl.js +230 -0
  262. package/js/i18n/grid.locale-sr.js +199 -0
  263. package/js/i18n/grid.locale-sv.js +198 -0
  264. package/js/i18n/grid.locale-th.js +195 -0
  265. package/js/i18n/grid.locale-tr.js +197 -0
  266. package/js/i18n/grid.locale-tw.js +199 -0
  267. package/js/i18n/grid.locale-ua.js +199 -0
  268. package/js/i18n/grid.locale-vi.js +238 -0
  269. package/js/i18n/min/grid.locale-ar.js +10 -0
  270. package/js/i18n/min/grid.locale-ar.js.map +1 -0
  271. package/js/i18n/min/grid.locale-bg.js +10 -0
  272. package/js/i18n/min/grid.locale-bg.js.map +1 -0
  273. package/js/i18n/min/grid.locale-ca.js +15 -0
  274. package/js/i18n/min/grid.locale-ca.js.map +1 -0
  275. package/js/i18n/min/grid.locale-cn.js +10 -0
  276. package/js/i18n/min/grid.locale-cn.js.map +1 -0
  277. package/js/i18n/min/grid.locale-cs.js +11 -0
  278. package/js/i18n/min/grid.locale-cs.js.map +1 -0
  279. package/js/i18n/min/grid.locale-da.js +10 -0
  280. package/js/i18n/min/grid.locale-da.js.map +1 -0
  281. package/js/i18n/min/grid.locale-de.js +21 -0
  282. package/js/i18n/min/grid.locale-de.js.map +1 -0
  283. package/js/i18n/min/grid.locale-el.js +10 -0
  284. package/js/i18n/min/grid.locale-el.js.map +1 -0
  285. package/js/i18n/min/grid.locale-en.js +11 -0
  286. package/js/i18n/min/grid.locale-en.js.map +1 -0
  287. package/js/i18n/min/grid.locale-es.js +16 -0
  288. package/js/i18n/min/grid.locale-es.js.map +1 -0
  289. package/js/i18n/min/grid.locale-fa.js +8 -0
  290. package/js/i18n/min/grid.locale-fa.js.map +1 -0
  291. package/js/i18n/min/grid.locale-fi.js +11 -0
  292. package/js/i18n/min/grid.locale-fi.js.map +1 -0
  293. package/js/i18n/min/grid.locale-fr.js +10 -0
  294. package/js/i18n/min/grid.locale-fr.js.map +1 -0
  295. package/js/i18n/min/grid.locale-gl.js +9 -0
  296. package/js/i18n/min/grid.locale-gl.js.map +1 -0
  297. package/js/i18n/min/grid.locale-he.js +10 -0
  298. package/js/i18n/min/grid.locale-he.js.map +1 -0
  299. package/js/i18n/min/grid.locale-hr.js +11 -0
  300. package/js/i18n/min/grid.locale-hr.js.map +1 -0
  301. package/js/i18n/min/grid.locale-hu.js +10 -0
  302. package/js/i18n/min/grid.locale-hu.js.map +1 -0
  303. package/js/i18n/min/grid.locale-id.js +10 -0
  304. package/js/i18n/min/grid.locale-id.js.map +1 -0
  305. package/js/i18n/min/grid.locale-is.js +9 -0
  306. package/js/i18n/min/grid.locale-is.js.map +1 -0
  307. package/js/i18n/min/grid.locale-it.js +2 -0
  308. package/js/i18n/min/grid.locale-it.js.map +1 -0
  309. package/js/i18n/min/grid.locale-ja.js +10 -0
  310. package/js/i18n/min/grid.locale-ja.js.map +1 -0
  311. package/js/i18n/min/grid.locale-kr.js +2 -0
  312. package/js/i18n/min/grid.locale-kr.js.map +1 -0
  313. package/js/i18n/min/grid.locale-lt.js +10 -0
  314. package/js/i18n/min/grid.locale-lt.js.map +1 -0
  315. package/js/i18n/min/grid.locale-me.js +10 -0
  316. package/js/i18n/min/grid.locale-me.js.map +1 -0
  317. package/js/i18n/min/grid.locale-nl.js +2 -0
  318. package/js/i18n/min/grid.locale-nl.js.map +1 -0
  319. package/js/i18n/min/grid.locale-no.js +2 -0
  320. package/js/i18n/min/grid.locale-no.js.map +1 -0
  321. package/js/i18n/min/grid.locale-pl.js +18 -0
  322. package/js/i18n/min/grid.locale-pl.js.map +1 -0
  323. package/js/i18n/min/grid.locale-pt-br.js +21 -0
  324. package/js/i18n/min/grid.locale-pt-br.js.map +1 -0
  325. package/js/i18n/min/grid.locale-pt.js +9 -0
  326. package/js/i18n/min/grid.locale-pt.js.map +1 -0
  327. package/js/i18n/min/grid.locale-ro.js +10 -0
  328. package/js/i18n/min/grid.locale-ro.js.map +1 -0
  329. package/js/i18n/min/grid.locale-ru.js +10 -0
  330. package/js/i18n/min/grid.locale-ru.js.map +1 -0
  331. package/js/i18n/min/grid.locale-sk.js +10 -0
  332. package/js/i18n/min/grid.locale-sk.js.map +1 -0
  333. package/js/i18n/min/grid.locale-sr.js +10 -0
  334. package/js/i18n/min/grid.locale-sr.js.map +1 -0
  335. package/js/i18n/min/grid.locale-sv.js +10 -0
  336. package/js/i18n/min/grid.locale-sv.js.map +1 -0
  337. package/js/i18n/min/grid.locale-th.js +10 -0
  338. package/js/i18n/min/grid.locale-th.js.map +1 -0
  339. package/js/i18n/min/grid.locale-tr.js +10 -0
  340. package/js/i18n/min/grid.locale-tr.js.map +1 -0
  341. package/js/i18n/min/grid.locale-tw.js +11 -0
  342. package/js/i18n/min/grid.locale-tw.js.map +1 -0
  343. package/js/i18n/min/grid.locale-ua.js +10 -0
  344. package/js/i18n/min/grid.locale-ua.js.map +1 -0
  345. package/js/i18n/min/grid.locale-vi.js +10 -0
  346. package/js/i18n/min/grid.locale-vi.js.map +1 -0
  347. package/js/jqdnr.js +188 -0
  348. package/js/jqmodal.js +292 -0
  349. package/js/jquery.fmatter.js +1061 -0
  350. package/js/jquery.jqgrid.min.js +11 -0
  351. package/js/jquery.jqgrid.min.js.map +1 -0
  352. package/js/jquery.jqgrid.src.js +21144 -0
  353. package/js/jsonxml.js +343 -0
  354. package/js/min/grid.base.js +11 -0
  355. package/js/min/grid.base.js.map +1 -0
  356. package/js/min/grid.celledit.js +2 -0
  357. package/js/min/grid.celledit.js.map +1 -0
  358. package/js/min/grid.common.js +2 -0
  359. package/js/min/grid.common.js.map +1 -0
  360. package/js/min/grid.custom.js +2 -0
  361. package/js/min/grid.custom.js.map +1 -0
  362. package/js/min/grid.filter.js +2 -0
  363. package/js/min/grid.filter.js.map +1 -0
  364. package/js/min/grid.formedit.js +2 -0
  365. package/js/min/grid.formedit.js.map +1 -0
  366. package/js/min/grid.grouping.js +2 -0
  367. package/js/min/grid.grouping.js.map +1 -0
  368. package/js/min/grid.import.js +2 -0
  369. package/js/min/grid.import.js.map +1 -0
  370. package/js/min/grid.inlinedit.js +2 -0
  371. package/js/min/grid.inlinedit.js.map +1 -0
  372. package/js/min/grid.jqueryui.js +2 -0
  373. package/js/min/grid.jqueryui.js.map +1 -0
  374. package/js/min/grid.pivot.js +2 -0
  375. package/js/min/grid.pivot.js.map +1 -0
  376. package/js/min/grid.subgrid.js +2 -0
  377. package/js/min/grid.subgrid.js.map +1 -0
  378. package/js/min/grid.tbltogrid.js +2 -0
  379. package/js/min/grid.tbltogrid.js.map +1 -0
  380. package/js/min/grid.treegrid.js +2 -0
  381. package/js/min/grid.treegrid.js.map +1 -0
  382. package/js/min/jqdnr.js +2 -0
  383. package/js/min/jqdnr.js.map +1 -0
  384. package/js/min/jqmodal.js +2 -0
  385. package/js/min/jqmodal.js.map +1 -0
  386. package/js/min/jquery.fmatter.js +2 -0
  387. package/js/min/jquery.fmatter.js.map +1 -0
  388. package/js/min/jsonxml.js +2 -0
  389. package/js/min/jsonxml.js.map +1 -0
  390. package/package.json +79 -0
  391. package/plugins/css/ui.multiselect.css +30 -0
  392. package/plugins/css/ui.multiselect.min.css +2 -0
  393. package/plugins/css/ui.multiselect.min.css.map +1 -0
  394. package/plugins/grid.odata.js +1313 -0
  395. package/plugins/jqgrid_download.js +109 -0
  396. package/plugins/jquery.contextmenu-ui.js +304 -0
  397. package/plugins/jquery.contextmenu.js +174 -0
  398. package/plugins/jquery.createcontexmenufromnavigatorbuttons.js +172 -0
  399. package/plugins/jquery.jqgrid.showhidecolumnmenu.js +201 -0
  400. package/plugins/min/grid.odata.js +11 -0
  401. package/plugins/min/grid.odata.js.map +1 -0
  402. package/plugins/min/jquery.contextmenu-ui.js +26 -0
  403. package/plugins/min/jquery.contextmenu-ui.js.map +1 -0
  404. package/plugins/min/jquery.contextmenu.js +19 -0
  405. package/plugins/min/jquery.contextmenu.js.map +1 -0
  406. package/plugins/min/jquery.createcontexmenufromnavigatorbuttons.js +12 -0
  407. package/plugins/min/jquery.createcontexmenufromnavigatorbuttons.js.map +1 -0
  408. package/plugins/min/jquery.jqgrid.showhidecolumnmenu.js +10 -0
  409. package/plugins/min/jquery.jqgrid.showhidecolumnmenu.js.map +1 -0
  410. package/plugins/min/ui.multiselect.js +30 -0
  411. package/plugins/min/ui.multiselect.js.map +1 -0
  412. package/plugins/ui.multiselect.js +389 -0
  413. package/tests/fillingTest.htm +210 -0
  414. package/ts/free-jqgrid.d.ts +2132 -0
  415. package/ts/tests/README.txt +4 -0
  416. package/ts/tests/test.html +50 -0
  417. package/ts/tests/test.js +55 -0
  418. package/ts/tests/test.js.map +1 -0
  419. package/ts/tests/test.ts +149 -0
  420. package/ts/tests/tsconfig.json +7 -0
  421. package/tslint.json +20 -0
@@ -0,0 +1,195 @@
1
+ /**
2
+ * @license jqGrid Greek (el) Translation
3
+ * Alex Cicovic
4
+ * http://www.alexcicovic.com
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: "View {0} - {1} of {2}",
42
+ emptyrecords: "No records to view",
43
+ loadtext: "Φόρτωση...",
44
+ pgtext: "Page {0} of {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: "Αποθήκευση..."
52
+ },
53
+ search: {
54
+ caption: "Αναζήτηση...",
55
+ Find: "Εύρεση",
56
+ Reset: "Επαναφορά",
57
+ odata: [
58
+ { oper: "eq", text: "equal" },
59
+ { oper: "ne", text: "not equal" },
60
+ { oper: "lt", text: "less" },
61
+ { oper: "le", text: "less or equal" },
62
+ { oper: "gt", text: "greater" },
63
+ { oper: "ge", text: "greater or equal" },
64
+ { oper: "bw", text: "begins with" },
65
+ { oper: "bn", text: "does not begin with" },
66
+ { oper: "in", text: "is in" },
67
+ { oper: "ni", text: "is not in" },
68
+ { oper: "ew", text: "ends with" },
69
+ { oper: "en", text: "does not end with" },
70
+ { oper: "cn", text: "contains" },
71
+ { oper: "nc", text: "does not contain" },
72
+ { oper: "nu", text: "is null" },
73
+ { oper: "nn", text: "is not null" }
74
+ ],
75
+ groupOps: [
76
+ { op: "AND", text: "all" },
77
+ { op: "OR", text: "any" }
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: "Εισαγωγή Εγγραφής",
88
+ editCaption: "Επεξεργασία Εγγραφής",
89
+ bSubmit: "Καταχώρηση",
90
+ bCancel: "Άκυρο",
91
+ bClose: "Κλείσιμο",
92
+ saveData: "Data has been changed! Save changes?",
93
+ bYes: "Yes",
94
+ bNo: "No",
95
+ bExit: "Cancel",
96
+ msg: {
97
+ required: "Το πεδίο είναι απαραίτητο",
98
+ number: "Το πεδίο δέχεται μόνο αριθμούς",
99
+ minValue: "Η τιμή πρέπει να είναι μεγαλύτερη ή ίση του ",
100
+ maxValue: "Η τιμή πρέπει να είναι μικρότερη ή ίση του ",
101
+ email: "Η διεύθυνση e-mail δεν είναι έγκυρη",
102
+ integer: "Το πεδίο δέχεται μόνο ακέραιους αριθμούς",
103
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
104
+ nodefined: " is not defined!",
105
+ novalue: " return value is required!",
106
+ customarray: "Custom function should return array!",
107
+ customfcheck: "Custom function should be present in case of custom checking!"
108
+ }
109
+ },
110
+ view: {
111
+ caption: "View Record",
112
+ bClose: "Close"
113
+ },
114
+ del: {
115
+ caption: "Διαγραφή",
116
+ msg: "Διαγραφή των επιλεγμένων εγγραφών;",
117
+ bSubmit: "Ναι",
118
+ bCancel: "Άκυρο"
119
+ },
120
+ nav: {
121
+ edittext: "",
122
+ edittitle: "Επεξεργασία επιλεγμένης εγγραφής",
123
+ addtext: "",
124
+ addtitle: "Εισαγωγή νέας εγγραφής",
125
+ deltext: "",
126
+ deltitle: "Διαγραφή επιλεγμένης εγγραφής",
127
+ searchtext: "",
128
+ searchtitle: "Εύρεση Εγγραφών",
129
+ refreshtext: "",
130
+ refreshtitle: "Ανανέωση Πίνακα",
131
+ alertcap: "Προσοχή",
132
+ alerttext: "Δεν έχετε επιλέξει εγγραφή",
133
+ viewtext: "",
134
+ viewtitle: "View selected row",
135
+ savetext: "",
136
+ savetitle: "Save row",
137
+ canceltext: "",
138
+ canceltitle: "Cancel row editing"
139
+ },
140
+ col: {
141
+ caption: "Εμφάνιση / Απόκρυψη Στηλών",
142
+ bSubmit: "ΟΚ",
143
+ bCancel: "Άκυρο"
144
+ },
145
+ errors: {
146
+ errcap: "Σφάλμα",
147
+ nourl: "Δεν έχει δοθεί διεύθυνση χειρισμού για τη συγκεκριμένη ενέργεια",
148
+ norecords: "Δεν υπάρχουν εγγραφές προς επεξεργασία",
149
+ model: "Άνισος αριθμός πεδίων colNames/colModel!"
150
+ },
151
+ formatter: {
152
+ integer: { thousandsSeparator: " ", defaultValue: "0" },
153
+ number: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: "0.00" },
154
+ currency: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00" },
155
+ date: {
156
+ dayNames: [
157
+ "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ",
158
+ "Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"
159
+ ],
160
+ monthNames: [
161
+ "Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ",
162
+ "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"
163
+ ],
164
+ AmPm: ["πμ", "μμ", "ΠΜ", "ΜΜ"],
165
+ S: function (j) {return j === 1 || j > 1 ? ["η"][Math.min((j - 1) % 10, 3)] : "";},
166
+ srcformat: "Y-m-d",
167
+ newformat: "d/m/Y",
168
+ masks: {
169
+ ShortDate: "n/j/Y",
170
+ LongDate: "l, F d, Y",
171
+ FullDateTime: "l, F d, Y g:i:s A",
172
+ MonthDay: "F d",
173
+ ShortTime: "g:i A",
174
+ LongTime: "g:i:s A",
175
+ YearMonth: "F, Y"
176
+ }
177
+ }
178
+ }
179
+ };
180
+ $.jgrid = $.jgrid || {};
181
+ $.extend(true, $.jgrid, {
182
+ defaults: {
183
+ locale: "el"
184
+ },
185
+ locales: {
186
+ // In general the property name is free, but it's recommended to use the names based on
187
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
188
+ // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
189
+ // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
190
+ // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
191
+ el: $.extend({}, locInfo, { name: "Ελληνικά", nameEnglish: "Greek" }),
192
+ "el-GR": $.extend({}, locInfo, { name: "Ελληνικά (Ελλάδα)", nameEnglish: "Greek (Greece)" })
193
+ }
194
+ });
195
+ }));
@@ -0,0 +1,256 @@
1
+ /**
2
+ * @license jqGrid English Translation
3
+ * Tony Tomov tony@trirand.com
4
+ * modified by Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
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
+
11
+ /*jslint white: true */
12
+ /*global jQuery, module, require */
13
+ (function (factory) {
14
+ "use strict";
15
+ if (typeof define === "function" && define.amd) {
16
+ // AMD. Register as an anonymous module.
17
+ define(["jquery"], factory);
18
+ } else if (typeof module === "object" && module.exports) {
19
+ // Node/CommonJS
20
+ module.exports = function (root, $) {
21
+ if ($ === undefined) {
22
+ // require("jquery") returns a factory that requires window to
23
+ // build a jQuery instance, we normalize how we use modules
24
+ // that require this pattern but the window provided is a noop
25
+ // if it's defined (how jquery works)
26
+ $ = typeof window !== "undefined" ?
27
+ require("jquery") :
28
+ require("jquery")(root || window);
29
+ }
30
+ factory($);
31
+ return $;
32
+ };
33
+ } else {
34
+ // Browser globals
35
+ factory(jQuery);
36
+ }
37
+ }(function ($) {
38
+ "use strict";
39
+ var locInfo = {
40
+ name: "English (United States)",
41
+ nameEnglish: "English (United States)",
42
+ isRTL: false,
43
+ defaults: {
44
+ recordtext: "View {0} - {1} of {2}",
45
+ emptyrecords: "No records to view",
46
+ loadtext: "Loading...",
47
+ pgtext: "Page {0} of {1}",
48
+ pgfirst: "First Page",
49
+ pglast: "Last Page",
50
+ pgnext: "Next Page",
51
+ pgprev: "Previous Page",
52
+ pgrecs: "Records per Page",
53
+ showhide: "Toggle Expand Collapse Grid",
54
+ savetext: "Saving..."
55
+ },
56
+ search: {
57
+ caption: "Search...",
58
+ Find: "Find",
59
+ Reset: "Reset",
60
+ odata: [
61
+ { oper: "eq", text: "equal" },
62
+ { oper: "ne", text: "not equal" },
63
+ { oper: "lt", text: "less" },
64
+ { oper: "le", text: "less or equal" },
65
+ { oper: "gt", text: "greater" },
66
+ { oper: "ge", text: "greater or equal" },
67
+ { oper: "bw", text: "begins with" },
68
+ { oper: "bn", text: "does not begin with" },
69
+ { oper: "in", text: "is in" },
70
+ { oper: "ni", text: "is not in" },
71
+ { oper: "ew", text: "ends with" },
72
+ { oper: "en", text: "does not end with" },
73
+ { oper: "cn", text: "contains" },
74
+ { oper: "nc", text: "does not contain" },
75
+ { oper: "nu", text: "is null" },
76
+ { oper: "nn", text: "is not null" }
77
+ ],
78
+ groupOps: [
79
+ { op: "AND", text: "all" },
80
+ { op: "OR", text: "any" }
81
+ ],
82
+ addGroupTitle: "Add subgroup",
83
+ deleteGroupTitle: "Delete group",
84
+ addRuleTitle: "Add rule",
85
+ deleteRuleTitle: "Delete rule",
86
+ operandTitle: "Click to select search operation.",
87
+ resetTitle: "Reset Search Value"
88
+ },
89
+ edit: {
90
+ addCaption: "Add Record",
91
+ editCaption: "Edit Record",
92
+ bSubmit: "Submit",
93
+ bCancel: "Cancel",
94
+ bClose: "Close",
95
+ saveData: "Data has been changed! Save changes?",
96
+ bYes: "Yes",
97
+ bNo: "No",
98
+ bExit: "Cancel",
99
+ msg: {
100
+ required: "Field is required",
101
+ number: "Please, enter valid number",
102
+ minValue: "value must be greater than or equal to ",
103
+ maxValue: "value must be less than or equal to",
104
+ email: "is not a valid e-mail",
105
+ integer: "Please, enter valid integer value",
106
+ date: "Please, enter valid date value",
107
+ url: "is not a valid URL. Prefix required ('http://' or 'https://')",
108
+ nodefined: " is not defined!",
109
+ novalue: " return value is required!",
110
+ customarray: "Custom function should return array!",
111
+ customfcheck: "Custom function should be present in case of custom checking!"
112
+ }
113
+ },
114
+ view: {
115
+ caption: "View Record",
116
+ bClose: "Close"
117
+ },
118
+ del: {
119
+ caption: "Delete",
120
+ msg: "Delete selected record(s)?",
121
+ bSubmit: "Delete",
122
+ bCancel: "Cancel"
123
+ },
124
+ nav: {
125
+ edittext: "",
126
+ edittitle: "Edit selected row",
127
+ addtext: "",
128
+ addtitle: "Add new row",
129
+ deltext: "",
130
+ deltitle: "Delete selected row",
131
+ searchtext: "",
132
+ searchtitle: "Find records",
133
+ refreshtext: "",
134
+ refreshtitle: "Reload Grid",
135
+ alertcap: "Warning",
136
+ alerttext: "Please, select row",
137
+ viewtext: "",
138
+ viewtitle: "View selected row",
139
+ savetext: "",
140
+ savetitle: "Save row",
141
+ canceltext: "",
142
+ canceltitle: "Cancel row editing"
143
+ },
144
+ col: {
145
+ caption: "Select columns",
146
+ bSubmit: "Ok",
147
+ bCancel: "Cancel"
148
+ },
149
+ errors: {
150
+ errcap: "Error",
151
+ nourl: "No url is set",
152
+ norecords: "No records to process",
153
+ model: "Length of colNames <> colModel!"
154
+ },
155
+ formatter: {
156
+ integer: {
157
+ thousandsSeparator: ",",
158
+ defaultValue: "0"
159
+ },
160
+ number: {
161
+ decimalSeparator: ".",
162
+ thousandsSeparator: ",",
163
+ decimalPlaces: 2,
164
+ defaultValue: "0.00"
165
+ },
166
+ currency: {
167
+ decimalSeparator: ".",
168
+ thousandsSeparator: ",",
169
+ decimalPlaces: 2,
170
+ prefix: "",
171
+ suffix: "",
172
+ defaultValue: "0.00"
173
+ },
174
+ date: {
175
+ dayNames: [
176
+ "Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat",
177
+ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"
178
+ ],
179
+ monthNames: [
180
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
181
+ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
182
+ ],
183
+ AmPm: ["am", "pm", "AM", "PM"],
184
+ S: function (j) {
185
+ var ending = ["st", "nd", "rd", "th"];
186
+ return j < 11 || j > 13 ? ending[Math.min((j - 1) % 10, 3)] : "th";
187
+ },
188
+ srcformat: "Y-m-d",
189
+ newformat: "n/j/Y",
190
+ masks: {
191
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
192
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
193
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
194
+ // one can find on https://github.com/jquery/globalize/tree/master/lib/cultures many
195
+ // information about date, time, numbers and currency formats used in different countries
196
+ // one should just convert the information in PHP format
197
+ // short date:
198
+ // n - Numeric representation of a month, without leading zeros
199
+ // j - Day of the month without leading zeros
200
+ // Y - A full numeric representation of a year, 4 digits
201
+ // example: 3/1/2012 which means 1 March 2012
202
+ ShortDate: "n/j/Y", // in jQuery UI Datepicker: "M/d/yyyy"
203
+ // long date:
204
+ // l - A full textual representation of the day of the week
205
+ // F - A full textual representation of a month
206
+ // d - Day of the month, 2 digits with leading zeros
207
+ // Y - A full numeric representation of a year, 4 digits
208
+ LongDate: "l, F d, Y", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy"
209
+ // long date with long time:
210
+ // l - A full textual representation of the day of the week
211
+ // F - A full textual representation of a month
212
+ // d - Day of the month, 2 digits with leading zeros
213
+ // Y - A full numeric representation of a year, 4 digits
214
+ // g - 12-hour format of an hour without leading zeros
215
+ // i - Minutes with leading zeros
216
+ // s - Seconds, with leading zeros
217
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
218
+ FullDateTime: "l, F d, Y g:i:s A", // in jQuery UI Datepicker: "dddd, MMMM dd, yyyy h:mm:ss tt"
219
+ // month day:
220
+ // F - A full textual representation of a month
221
+ // d - Day of the month, 2 digits with leading zeros
222
+ MonthDay: "F d", // in jQuery UI Datepicker: "MMMM dd"
223
+ // short time (without seconds)
224
+ // g - 12-hour format of an hour without leading zeros
225
+ // i - Minutes with leading zeros
226
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
227
+ ShortTime: "g:i A", // in jQuery UI Datepicker: "h:mm tt"
228
+ // long time (with seconds)
229
+ // g - 12-hour format of an hour without leading zeros
230
+ // i - Minutes with leading zeros
231
+ // s - Seconds, with leading zeros
232
+ // A - Uppercase Ante meridiem and Post meridiem (AM or PM)
233
+ LongTime: "g:i:s A", // in jQuery UI Datepicker: "h:mm:ss tt"
234
+ // month with year
235
+ // Y - A full numeric representation of a year, 4 digits
236
+ // F - A full textual representation of a month
237
+ YearMonth: "F, Y" // in jQuery UI Datepicker: "MMMM, yyyy"
238
+ }
239
+ }
240
+ }
241
+ };
242
+ $.jgrid = $.jgrid || {};
243
+ $.extend(true, $.jgrid, {
244
+ defaults: {
245
+ locale: "en-US"
246
+ },
247
+ locales: {
248
+ // In general the property name is free, but it's recommended to use the names based on
249
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
250
+ // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
251
+ // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
252
+ // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
253
+ "en-US": locInfo
254
+ }
255
+ });
256
+ }));
@@ -0,0 +1,202 @@
1
+ /**
2
+ * @license jqGrid Spanish Translation
3
+ * Traduccion jqGrid en Español por Yamil Bracho
4
+ *
5
+ * Traduccion corregida y ampliada por Faserline, S.L.
6
+ * http://www.faserline.com
7
+ *
8
+ * Traducción corregida y ampliada por Marc lobato
9
+ * http://www.navigatecms.com
10
+ *
11
+ * Dual licensed under the MIT and GPL licenses:
12
+ * http://www.opensource.org/licenses/mit-license.php
13
+ * http://www.gnu.org/licenses/gpl.html
14
+ **/
15
+
16
+ /*jslint white: true */
17
+ /*global jQuery, module, require */
18
+ (function (factory) {
19
+ "use strict";
20
+ if (typeof define === "function" && define.amd) {
21
+ // AMD. Register as an anonymous module.
22
+ define(["jquery"], factory);
23
+ } else if (typeof module === "object" && module.exports) {
24
+ // Node/CommonJS
25
+ module.exports = function (root, $) {
26
+ if ($ === undefined) {
27
+ // require("jquery") returns a factory that requires window to
28
+ // build a jQuery instance, we normalize how we use modules
29
+ // that require this pattern but the window provided is a noop
30
+ // if it's defined (how jquery works)
31
+ $ = typeof window !== "undefined" ?
32
+ require("jquery") :
33
+ require("jquery")(root || window);
34
+ }
35
+ factory($);
36
+ return $;
37
+ };
38
+ } else {
39
+ // Browser globals
40
+ factory(jQuery);
41
+ }
42
+ }(function ($) {
43
+ "use strict";
44
+ var locInfo = {
45
+ isRTL: false,
46
+ defaults: {
47
+ recordtext: "Mostrando {0} - {1} de {2}",
48
+ emptyrecords: "Sin registros que mostrar",
49
+ loadtext: "Cargando...",
50
+ pgtext: "Página {0} de {1}",
51
+ pgfirst: "Primera página",
52
+ pglast: "Última página",
53
+ pgnext: "Página siguiente",
54
+ pgprev: "Página anterior",
55
+ pgrecs: "Registros por página",
56
+ showhide: "Alternar expandir/colapsar la tabla",
57
+ savetext: "Guardando..."
58
+ },
59
+ search: {
60
+ caption: "Búsqueda...",
61
+ Find: "Buscar",
62
+ Reset: "Limpiar",
63
+ odata: [
64
+ { oper: "eq", text: "igual" },
65
+ { oper: "ne", text: "no igual a" },
66
+ { oper: "lt", text: "menor que" },
67
+ { oper: "le", text: "menor o igual que" },
68
+ { oper: "gt", text: "mayor que" },
69
+ { oper: "ge", text: "mayor o igual a" },
70
+ { oper: "bw", text: "empieza por" },
71
+ { oper: "bn", text: "no empieza por" },
72
+ { oper: "in", text: "está en" },
73
+ { oper: "ni", text: "no está en" },
74
+ { oper: "ew", text: "termina por" },
75
+ { oper: "en", text: "no termina por" },
76
+ { oper: "cn", text: "contiene" },
77
+ { oper: "nc", text: "no contiene" },
78
+ { oper: "nu", text: "es nulo" },
79
+ { oper: "nn", text: "no es nulo" }
80
+ ],
81
+ groupOps: [
82
+ { op: "AND", text: "todo" },
83
+ { op: "OR", text: "cualquier" }
84
+ ],
85
+ addGroupTitle: "Crear subgrupo",
86
+ deleteGroupTitle: "Eliminar grupo",
87
+ addRuleTitle: "Crear regla",
88
+ deleteRuleTitle: "Eliminar regla",
89
+ operandTitle: "Clic para seleccionar la operación de búsqueda.",
90
+ resetTitle: "Reiniciar valor de búsqueda"
91
+ },
92
+ edit: {
93
+ addCaption: "Agregar registro",
94
+ editCaption: "Modificar registro",
95
+ bSubmit: "Guardar",
96
+ bCancel: "Cancelar",
97
+ bClose: "Cerrar",
98
+ saveData: "Se han modificado los datos, ¿guardar cambios?",
99
+ bYes: "Si",
100
+ bNo: "No",
101
+ bExit: "Cancelar",
102
+ msg: {
103
+ required: "Campo obligatorio",
104
+ number: "Introduzca un número",
105
+ minValue: "El valor debe ser mayor o igual a ",
106
+ maxValue: "El valor debe ser menor o igual a ",
107
+ email: "no es una dirección de correo válida",
108
+ integer: "Introduzca un valor entero",
109
+ date: "Introduza una fecha correcta ",
110
+ url: "no es una URL válida. Prefijo requerido ('http://' or 'https://')",
111
+ nodefined: " no está definido.",
112
+ novalue: " valor de retorno es requerido.",
113
+ customarray: "La función personalizada debe devolver un array.",
114
+ customfcheck: "La función personalizada debe estar presente en el caso de validación personalizada."
115
+ }
116
+ },
117
+ view: {
118
+ caption: "Consultar registro",
119
+ bClose: "Cerrar"
120
+ },
121
+ del: {
122
+ caption: "Eliminar",
123
+ msg: "¿Desea eliminar los registros seleccionados?",
124
+ bSubmit: "Eliminar",
125
+ bCancel: "Cancelar"
126
+ },
127
+ nav: {
128
+ edittext: "",
129
+ edittitle: "Modificar fila seleccionada",
130
+ addtext: "",
131
+ addtitle: "Agregar nueva fila",
132
+ deltext: "",
133
+ deltitle: "Eliminar fila seleccionada",
134
+ searchtext: "",
135
+ searchtitle: "Buscar información",
136
+ refreshtext: "",
137
+ refreshtitle: "Recargar datos",
138
+ alertcap: "Aviso",
139
+ alerttext: "Seleccione una fila",
140
+ viewtext: "",
141
+ viewtitle: "Ver fila seleccionada",
142
+ savetext: "",
143
+ savetitle: "Guardar fila",
144
+ canceltext: "",
145
+ canceltitle: "Cancelar edición de fila"
146
+ },
147
+ col: {
148
+ caption: "Mostrar/ocultar columnas",
149
+ bSubmit: "Enviar",
150
+ bCancel: "Cancelar"
151
+ },
152
+ errors: {
153
+ errcap: "Error",
154
+ nourl: "No se ha especificado ninguna URL",
155
+ norecords: "No hay datos para procesar",
156
+ model: "Las columnas de nombres son diferentes de las columnas de modelo"
157
+ },
158
+ formatter: {
159
+ integer: { thousandsSeparator: ".", defaultValue: "0" },
160
+ number: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: "0,00" },
161
+ currency: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0,00" },
162
+ date: {
163
+ dayNames: [
164
+ "Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa",
165
+ "Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado"
166
+ ],
167
+ monthNames: [
168
+ "Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic",
169
+ "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
170
+ ],
171
+ AmPm: ["am", "pm", "AM", "PM"],
172
+ S: function (j) {return j < 11 || j > 13 ? ["st", "nd", "rd", "th"][Math.min((j - 1) % 10, 3)] : "th";},
173
+ srcformat: "Y-m-d",
174
+ newformat: "d-m-Y",
175
+ masks: {
176
+ ShortDate: "n/j/Y",
177
+ LongDate: "l, F d, Y",
178
+ FullDateTime: "l, F d, Y g:i:s A",
179
+ MonthDay: "F d",
180
+ ShortTime: "g:i A",
181
+ LongTime: "g:i:s A",
182
+ YearMonth: "F, Y"
183
+ }
184
+ }
185
+ }
186
+ };
187
+ $.jgrid = $.jgrid || {};
188
+ $.extend(true, $.jgrid, {
189
+ defaults: {
190
+ locale: "es"
191
+ },
192
+ locales: {
193
+ // In general the property name is free, but it's recommended to use the names based on
194
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
195
+ // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
196
+ // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
197
+ // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
198
+ es: $.extend({}, locInfo, { name: "español", nameEnglish: "Spanish" }),
199
+ "es-ES": $.extend({}, locInfo, { name: "Español (España)", nameEnglish: "Spanish (Spain)" })
200
+ }
201
+ });
202
+ }));