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,230 @@
1
+ /**
2
+ * @license jqGrid Slovenian Translation
3
+ * created by Nimesin info@nimesin.com
4
+ *
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: "Spregled {0} - {1} od {2}",
42
+ emptyrecords: "Ni zapisa",
43
+ loadtext: "Nalaganje...",
44
+ pgtext: "Stran {0} od {1}",
45
+ pgfirst: "Prva stran",
46
+ pglast: "Zadnja stran",
47
+ pgnext: "Naslednja stran",
48
+ pgprev: "Prejšnja stran",
49
+ pgrecs: "zapisi na stran",
50
+ showhide: "Promijeni širenje/skupljanje grida",
51
+ savetext: "Shranim..."
52
+ },
53
+ search: {
54
+ caption: "Iskanje...",
55
+ Find: "Najti",
56
+ Reset: "Ponastavi",
57
+ odata: [
58
+ { oper: "eq", text: "enak" },
59
+ { oper: "ne", text: "ni enak" },
60
+ { oper: "lt", text: "manj" },
61
+ { oper: "le", text: "manj ali enako" },
62
+ { oper: "gt", text: "večje" },
63
+ { oper: "ge", text: "večje ali enako" },
64
+ { oper: "bw", text: "začne z" },
65
+ { oper: "bn", text: "ne začne z " },
66
+ { oper: "in", text: "je v" },
67
+ { oper: "ni", text: "ni v" },
68
+ { oper: "ew", text: "konča z" },
69
+ { oper: "en", text: "ne konča z" },
70
+ { oper: "cn", text: "vsebuje" },
71
+ { oper: "nc", text: "ne vsebuje" },
72
+ { oper: "nu", text: "je prazno" },
73
+ { oper: "nn", text: "ni prazno" }
74
+ ],
75
+ groupOps: [
76
+ { op: "AND", text: "vse" },
77
+ { op: "OR", text: "ali" }
78
+ ],
79
+ addGroupTitle: "Dodaj podskupino",
80
+ deleteGroupTitle: "Izbriši skupino",
81
+ addRuleTitle: "Dodaj pravilo",
82
+ deleteRuleTitle: "Izbriši pravilo",
83
+ operandTitle: "Kliknite, da izberete operacijo iskanja.",
84
+ resetTitle: "Ponastavi vrednost iskanja"
85
+ },
86
+ edit: {
87
+ addCaption: "Dodaj zapis",
88
+ editCaption: "Urejanje zapisa",
89
+ bSubmit: "Shrani",
90
+ bCancel: "Prekliči",
91
+ bClose: "Zapri",
92
+ saveData: "Podatki so spremenjeni! Shrani spremembe?",
93
+ bYes: "Ja",
94
+ bNo: "Ne",
95
+ bExit: "Prekliči",
96
+ msg: {
97
+ required: "Polje je obvezno",
98
+ number: "Prosim, vnesite veljavno številko",
99
+ minValue: "Vrednost mora biti večja ali enaka ",
100
+ maxValue: "Vrednost mora biti manjša ali enaka",
101
+ email: "Ni veljavna e-pošta",
102
+ integer: "Prosim, vnesite veljavno celoštevilčno vrednost (integer)",
103
+ date: "Prosim, vnesite veljavno datumsko vrednost ",
104
+ url: "Ni ispraven URL. Potrebna je predpona ('http://' or 'https://')",
105
+ nodefined: " ni definiran!",
106
+ novalue: " zahtevani podatek je obvezen!",
107
+ customarray: "Opcionalna funkcija mora vrniti matriko (array)!",
108
+ customfcheck: "Opcionalna funkcija mora biti prisotna!"
109
+
110
+ }
111
+ },
112
+ view: {
113
+ caption: "Oglej zapis",
114
+ bClose: "Zapri"
115
+ },
116
+ del: {
117
+ caption: "Izbriši",
118
+ msg: "Izbrišite izbrane zapise?",
119
+ bSubmit: "Izbriši",
120
+ bCancel: "Prekliči"
121
+ },
122
+ nav: {
123
+ edittext: "",
124
+ edittitle: "Uredite izbrano vrstico",
125
+ addtext: "",
126
+ addtitle: "Dodaj novo vrstico",
127
+ deltext: "",
128
+ deltitle: "Izbriši novo vrstico",
129
+ searchtext: "",
130
+ searchtitle: "Poišči zapise",
131
+ refreshtext: "",
132
+ refreshtitle: "Osveži mrežo",
133
+ alertcap: "Opozorilo",
134
+ alerttext: "Prosim, izberite vrstico",
135
+ viewtext: "",
136
+ viewtitle: "Oglej izbrane vrstice",
137
+ savetext: "",
138
+ savetitle: "Shrani vrstico",
139
+ canceltext: "",
140
+ canceltitle: "Prekliči urejanje vrstic"
141
+ },
142
+ col: {
143
+ caption: "Izberite stolpce",
144
+ bSubmit: "V redu",
145
+ bCancel: "Prekliči"
146
+ },
147
+ errors: {
148
+ errcap: "Napaka",
149
+ nourl: "Ni URL-ja",
150
+ norecords: "Ni podatkov za obdelavu",
151
+ model: "colNames in colModel imajo drugačno dolžino!"
152
+ },
153
+ formatter: {
154
+ integer: { thousandsSeparator: ".", defaultValue: "0" },
155
+ number: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: "0,00" },
156
+ currency: { decimalSeparator: ",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0,00" },
157
+ date: {
158
+ dayNames: [
159
+ "Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob",
160
+ "nedelja", "ponedeljek", "torek", "sreda", "četrtek", "petek", "sobota"
161
+ ],
162
+ monthNames: [
163
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec",
164
+ "januar", "februar", "marec", "april", "maj", "junij", "julij", "avgust", "september", "oktober", "november", "december"
165
+ ],
166
+ AmPm: ["am", "pm", "AM", "PM"],
167
+ S: function () { return ""; },
168
+ srcformat: "Y-m-d",
169
+ newformat: "d.m.Y.",
170
+ masks: {
171
+ // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
172
+ // and see http://docs.jquery.com/UI/Datepicker/formatDate
173
+ // and https://github.com/jquery/globalize#dates for alternative formats used frequently
174
+ // short date:
175
+ // d - Day of the month, 2 digits with leading zeros
176
+ // m - Numeric representation of a month, with leading zeros
177
+ // Y - A full numeric representation of a year, 4 digits
178
+ ShortDate: "d.m.Y.", // in jQuery UI Datepicker: "dd.mm.yy."
179
+ // long date:
180
+ // l - A full textual representation of the day of the week
181
+ // j - Day of the month without leading zeros
182
+ // F - A full textual representation of a month
183
+ // Y - A full numeric representation of a year, 4 digits
184
+ LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
185
+ // long date with long time:
186
+ // l - A full textual representation of the day of the week
187
+ // j - Day of the month without leading zeros
188
+ // F - A full textual representation of a month
189
+ // Y - A full numeric representation of a year, 4 digits
190
+ // H - 24-hour format of an hour with leading zeros
191
+ // i - Minutes with leading zeros
192
+ // s - Seconds, with leading zeros
193
+ FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
194
+ // month day:
195
+ // d - Day of the month, 2 digits with leading zeros
196
+ // F - A full textual representation of a month
197
+ MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
198
+ // short time (without seconds)
199
+ // H - 24-hour format of an hour with leading zeros
200
+ // i - Minutes with leading zeros
201
+ ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
202
+ // long time (with seconds)
203
+ // H - 24-hour format of an hour with leading zeros
204
+ // i - Minutes with leading zeros
205
+ // s - Seconds, with leading zeros
206
+ LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
207
+ // month with year
208
+ // F - A full textual representation of a month
209
+ // Y - A full numeric representation of a year, 4 digits
210
+ YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
211
+ }
212
+ }
213
+ }
214
+ };
215
+ $.jgrid = $.jgrid || {};
216
+ $.extend(true, $.jgrid, {
217
+ defaults: {
218
+ locale: "sl"
219
+ },
220
+ locales: {
221
+ // In general the property name is free, but it's recommended to use the names based on
222
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
223
+ // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
224
+ // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
225
+ // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
226
+ sl: $.extend({}, locInfo, { name: "slovenski", nameEnglish: "Slovenian" }),
227
+ "sl-SI": $.extend({}, locInfo, { name: "slovenski (Slovenija)", nameEnglish: "Slovenian (Slovenia)" })
228
+ }
229
+ });
230
+ }));
@@ -0,0 +1,199 @@
1
+ /**
2
+ * @license jqGrid Serbian Translation
3
+ * Александар Миловац(Aleksandar Milovac) aleksandar.milovac@gmail.com
4
+ * http://trirand.com/blog/
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: "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: "једнако" },
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: "is null" },
73
+ { oper: "nn", text: "is not null" }
74
+ ],
75
+ groupOps: [
76
+ { op: "И", text: "сви" },
77
+ { op: "ИЛИ", text: "сваки" }
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: "Податак је измењен! Сачувај измене?",
93
+ bYes: "Да",
94
+ bNo: "Не",
95
+ bExit: "Одустани",
96
+ msg: {
97
+ required: "Поље је обавезно",
98
+ number: "Молим, унесите исправан број",
99
+ minValue: "вредност мора бити већа од или једнака са ",
100
+ maxValue: "вредност мора бити мања од или једнака са",
101
+ email: "није исправна имејл адреса",
102
+ integer: "Молим, унесите исправну целобројну вредност ",
103
+ date: "Молим, унесите исправан датум",
104
+ url: "није исправан УРЛ. Потребан је префикс ('http://' or 'https://')",
105
+ nodefined: " није дефинисан!",
106
+ novalue: " захтевана је повратна вредност!",
107
+ customarray: "Custom function should return array!",
108
+ customfcheck: "Custom function should be present in case of custom checking!"
109
+
110
+ }
111
+ },
112
+ view: {
113
+ caption: "Погледај запис",
114
+ bClose: "Затвори"
115
+ },
116
+ del: {
117
+ caption: "Избриши",
118
+ msg: "Избриши изабран(е) запис(е)?",
119
+ bSubmit: "Ибриши",
120
+ bCancel: "Одбаци"
121
+ },
122
+ nav: {
123
+ edittext: "",
124
+ edittitle: "Измени изабрани ред",
125
+ addtext: "",
126
+ addtitle: "Додај нови ред",
127
+ deltext: "",
128
+ deltitle: "Избриши изабран ред",
129
+ searchtext: "",
130
+ searchtitle: "Нађи записе",
131
+ refreshtext: "",
132
+ refreshtitle: "Поново учитај податке",
133
+ alertcap: "Упозорење",
134
+ alerttext: "Молим, изаберите ред",
135
+ viewtext: "",
136
+ viewtitle: "Погледај изабрани ред",
137
+ savetext: "",
138
+ savetitle: "Save row",
139
+ canceltext: "",
140
+ canceltitle: "Cancel row editing"
141
+ },
142
+ col: {
143
+ caption: "Изабери колоне",
144
+ bSubmit: "ОК",
145
+ bCancel: "Одбаци"
146
+ },
147
+ errors: {
148
+ errcap: "Грешка",
149
+ nourl: "Није постављен URL",
150
+ norecords: "Нема записа за обраду",
151
+ model: "Дужина модела colNames <> colModel!"
152
+ },
153
+ formatter: {
154
+ integer: { thousandsSeparator: " ", defaultValue: "0" },
155
+ number: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: "0.00" },
156
+ currency: { decimalSeparator: ".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix: "", defaultValue: "0.00" },
157
+ date: {
158
+ dayNames: [
159
+ "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб",
160
+ "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота"
161
+ ],
162
+ monthNames: [
163
+ "Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец",
164
+ "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"
165
+ ],
166
+ AmPm: ["am", "pm", "AM", "PM"],
167
+ S: function (j) {
168
+ return j < 11 || j > 13 ? ["st", "nd", "rd", "th"][Math.min((j - 1) % 10, 3)] : "th";
169
+ },
170
+ srcformat: "Y-m-d",
171
+ newformat: "d/m/Y",
172
+ masks: {
173
+ ShortDate: "n/j/Y",
174
+ LongDate: "l, F d, Y",
175
+ FullDateTime: "l, F d, Y g:i:s A",
176
+ MonthDay: "F d",
177
+ ShortTime: "g:i A",
178
+ LongTime: "g:i:s A",
179
+ YearMonth: "F, Y"
180
+ }
181
+ }
182
+ }
183
+ };
184
+ $.jgrid = $.jgrid || {};
185
+ $.extend(true, $.jgrid, {
186
+ defaults: {
187
+ locale: "sr"
188
+ },
189
+ locales: {
190
+ // In general the property name is free, but it's recommended to use the names based on
191
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
192
+ // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
193
+ // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
194
+ // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
195
+ sr: $.extend({}, locInfo, { name: "српски", nameEnglish: "Serbian" }),
196
+ "sr-Cyrl": $.extend({}, locInfo, { name: "српски", nameEnglish: "Serbian (Cyrillic)" })
197
+ }
198
+ });
199
+ }));
@@ -0,0 +1,198 @@
1
+ /**
2
+ * @license jqGrid Swedish Translation
3
+ * Harald Normann harald.normann@wts.se, harald.normann@gmail.com
4
+ * http://www.worldteamsoftware.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: "Visar {0} - {1} av {2}",
42
+ emptyrecords: "Det finns inga poster att visa",
43
+ loadtext: "Laddar...",
44
+ pgtext: "Sida {0} av {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: "Sparar..."
52
+ },
53
+ search: {
54
+ caption: "Sök Poster - Ange sökvillkor",
55
+ Find: "Sök",
56
+ Reset: "Nollställ Villkor",
57
+ odata: [
58
+ { oper: "eq", text: "lika" },
59
+ { oper: "ne", text: "ej lika" },
60
+ { oper: "lt", text: "mindre" },
61
+ { oper: "le", text: "mindre eller lika" },
62
+ { oper: "gt", text: "större" },
63
+ { oper: "ge", text: "större eller lika" },
64
+ { oper: "bw", text: "börjar med" },
65
+ { oper: "bn", text: "börjar inte med" },
66
+ { oper: "in", text: "tillhör" },
67
+ { oper: "ni", text: "tillhör inte" },
68
+ { oper: "ew", text: "slutar med" },
69
+ { oper: "en", text: "slutar inte med" },
70
+ { oper: "cn", text: "innehåller" },
71
+ { oper: "nc", text: "innehåller inte" },
72
+ { oper: "nu", text: "is null" },
73
+ { oper: "nn", text: "is not null" }
74
+ ],
75
+ groupOps: [
76
+ { op: "AND", text: "alla" },
77
+ { op: "OR", text: "eller" }
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: "Ny Post",
88
+ editCaption: "Redigera Post",
89
+ bSubmit: "Spara",
90
+ bCancel: "Avbryt",
91
+ bClose: "Stäng",
92
+ saveData: "Data har ändrats! Spara förändringar?",
93
+ bYes: "Ja",
94
+ bNo: "Nej",
95
+ bExit: "Avbryt",
96
+ msg: {
97
+ required: "Fältet är obligatoriskt",
98
+ number: "Välj korrekt nummer",
99
+ minValue: "värdet måste vara större än eller lika med",
100
+ maxValue: "värdet måste vara mindre än eller lika med",
101
+ email: "är inte korrekt e-post adress",
102
+ integer: "Var god ange korrekt heltal",
103
+ date: "Var god ange korrekt datum",
104
+ url: "är inte en korrekt URL. Prefix måste anges ('http://' or 'https://')",
105
+ nodefined: " är inte definierad!",
106
+ novalue: " returvärde måste anges!",
107
+ customarray: "Custom funktion måste returnera en vektor!",
108
+ customfcheck: "Custom funktion måste finnas om Custom kontroll sker!"
109
+ }
110
+ },
111
+ view: {
112
+ caption: "Visa Post",
113
+ bClose: "Stäng"
114
+ },
115
+ del: {
116
+ caption: "Radera",
117
+ msg: "Radera markerad(e) post(er)?",
118
+ bSubmit: "Radera",
119
+ bCancel: "Avbryt"
120
+ },
121
+ nav: {
122
+ edittext: "",
123
+ edittitle: "Redigera markerad rad",
124
+ addtext: "",
125
+ addtitle: "Skapa ny post",
126
+ deltext: "",
127
+ deltitle: "Radera markerad rad",
128
+ searchtext: "",
129
+ searchtitle: "Sök poster",
130
+ refreshtext: "",
131
+ refreshtitle: "Uppdatera data",
132
+ alertcap: "Varning",
133
+ alerttext: "Ingen rad är markerad",
134
+ viewtext: "",
135
+ viewtitle: "Visa markerad rad",
136
+ savetext: "",
137
+ savetitle: "Save row",
138
+ canceltext: "",
139
+ canceltitle: "Cancel row editing"
140
+ },
141
+ col: {
142
+ caption: "Välj Kolumner",
143
+ bSubmit: "OK",
144
+ bCancel: "Avbryt"
145
+ },
146
+ errors: {
147
+ errcap: "Fel",
148
+ nourl: "URL saknas",
149
+ norecords: "Det finns inga poster att bearbeta",
150
+ model: "Antal 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: "Kr", defaultValue: "0,00" },
156
+ date: {
157
+ dayNames: [
158
+ "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör",
159
+ "Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"
160
+ ],
161
+ monthNames: [
162
+ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec",
163
+ "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"
164
+ ],
165
+ AmPm: ["fm", "em", "FM", "EM"],
166
+ S: function (j) {
167
+ return j < 11 || j > 13 ? ["st", "nd", "rd", "th"][Math.min((j - 1) % 10, 3)] : "th";
168
+ },
169
+ srcformat: "Y-m-d",
170
+ newformat: "Y-m-d",
171
+ masks: {
172
+ ShortDate: "n/j/Y",
173
+ LongDate: "l, F d, Y",
174
+ FullDateTime: "l, F d, Y g:i:s A",
175
+ MonthDay: "F d",
176
+ ShortTime: "g:i A",
177
+ LongTime: "g:i:s A",
178
+ YearMonth: "F, Y"
179
+ }
180
+ }
181
+ }
182
+ };
183
+ $.jgrid = $.jgrid || {};
184
+ $.extend(true, $.jgrid, {
185
+ defaults: {
186
+ locale: "sv"
187
+ },
188
+ locales: {
189
+ // In general the property name is free, but it's recommended to use the names based on
190
+ // http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
191
+ // http://rishida.net/utils/subtags/ and RFC 5646. See Appendix A of RFC 5646 for examples.
192
+ // One can use the lang attribute to specify language tags in HTML, and the xml:lang attribute for XML
193
+ // if it exists. See http://www.w3.org/International/articles/language-tags/#extlang
194
+ sv: $.extend({}, locInfo, { name: "svenska", nameEnglish: "Swedish" }),
195
+ "sv-SE": $.extend({}, locInfo, { name: "svenska (Sverige)", nameEnglish: "Swedish (Sweden)" })
196
+ }
197
+ });
198
+ }));