jsf.js_next_gen 1.0.0-beta-20 → 4.0.0-RC.1

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 (343) hide show
  1. package/.mocharc.json +2 -1
  2. package/.nyc_output/2303b649-59d9-485c-9228-73b0ec8787a7.json +1 -0
  3. package/.nyc_output/756f2f03-c85b-4cdb-9b92-5799eb45ef1e.json +1 -0
  4. package/.nyc_output/processinfo/2303b649-59d9-485c-9228-73b0ec8787a7.json +1 -0
  5. package/.nyc_output/processinfo/756f2f03-c85b-4cdb-9b92-5799eb45ef1e.json +1 -0
  6. package/.nyc_output/processinfo/index.json +1 -0
  7. package/.nycrc +2 -1
  8. package/README.md +78 -24
  9. package/dist/docs/assets/highlight.css +21 -0
  10. package/dist/docs/assets/search.js +1 -1
  11. package/dist/docs/assets/style.css +34 -2
  12. package/dist/docs/functions/{jsf.ajax.addOnError.html → faces.ajax.addOnError.html} +15 -13
  13. package/dist/docs/functions/{jsf.ajax.addOnEvent.html → faces.ajax.addOnEvent.html} +15 -13
  14. package/dist/docs/functions/{jsf.ajax.request.html → faces.ajax.request.html} +15 -13
  15. package/dist/docs/functions/{jsf.ajax.response.html → faces.ajax.response.html} +15 -13
  16. package/dist/docs/functions/{jsf.getClientWindow.html → faces.getClientWindow.html} +17 -14
  17. package/dist/docs/functions/{jsf.getProjectStage.html → faces.getProjectStage.html} +18 -15
  18. package/dist/docs/functions/{jsf.getViewState.html → faces.getViewState.html} +18 -15
  19. package/dist/docs/functions/{jsf.push.close.html → faces.push.close.html} +15 -13
  20. package/dist/docs/functions/{jsf.push.init.html → faces.push.init.html} +29 -19
  21. package/dist/docs/functions/{jsf.push.open.html → faces.push.open.html} +15 -13
  22. package/dist/docs/functions/{jsf.util.chain.html → faces.util.chain.html} +12 -10
  23. package/dist/docs/functions/myfaces.ab.html +10 -8
  24. package/dist/docs/index.html +71 -29
  25. package/dist/docs/modules/{jsf.ajax.html → faces.ajax.html} +18 -16
  26. package/dist/docs/modules/faces.html +75 -0
  27. package/dist/docs/modules/{jsf.push.html → faces.push.html} +16 -14
  28. package/dist/docs/modules/{jsf.util.html → faces.util.html} +12 -10
  29. package/dist/docs/modules/myfaces.html +8 -6
  30. package/dist/docs/modules.html +9 -7
  31. package/dist/docs/variables/faces.contextpath.html +57 -0
  32. package/dist/docs/variables/{jsf.implversion.html → faces.implversion.html} +17 -14
  33. package/dist/docs/variables/{jsf.separatorchar.html → faces.separatorchar.html} +18 -15
  34. package/dist/docs/variables/faces.specversion.html +64 -0
  35. package/dist/docs/variables/myfaces.oam.html +8 -6
  36. package/dist/window/faces-development.js +7688 -0
  37. package/dist/window/faces-development.js.br +0 -0
  38. package/dist/window/faces-development.js.gz +0 -0
  39. package/dist/window/faces-development.js.map +1 -0
  40. package/dist/window/faces.js +3 -0
  41. package/dist/window/faces.js.LICENSE.txt +87 -0
  42. package/dist/window/faces.js.br +0 -0
  43. package/dist/window/faces.js.gz +0 -0
  44. package/dist/window/faces.js.map +1 -0
  45. package/dist/window/jsf-development.js +3011 -2963
  46. package/dist/window/jsf-development.js.br +0 -0
  47. package/dist/window/jsf-development.js.gz +0 -0
  48. package/dist/window/jsf-development.js.map +1 -1
  49. package/dist/window/jsf.js +2 -1
  50. package/dist/window/jsf.js.LICENSE.txt +87 -0
  51. package/dist/window/jsf.js.br +0 -0
  52. package/dist/window/jsf.js.gz +0 -0
  53. package/dist/window/jsf.js.map +1 -1
  54. package/package.json +12 -12
  55. package/pom.xml +14 -0
  56. package/src/main/java/com/example/jsfs_js_ts/DecoratedFacesJS.java +94 -0
  57. package/src/main/java/com/example/jsfs_js_ts/DecoratingResourceHandlerWrapper.java +54 -0
  58. package/src/main/java/com/example/jsfs_js_ts/FacesJSMapFileResourceWrapper.java +57 -0
  59. package/src/main/java/com/example/jsfs_js_ts/FacesJSMappingDecorator.java +138 -0
  60. package/src/main/typescript/@types/definitions/index.d.ts +147 -0
  61. package/src/main/typescript/api/{Jsf.ts → _api.ts} +61 -49
  62. package/src/main/typescript/api/faces.ts +44 -0
  63. package/src/main/typescript/api/jsf.ts +43 -0
  64. package/src/main/typescript/impl/AjaxImpl.ts +39 -42
  65. package/src/main/typescript/impl/PushImpl.ts +27 -30
  66. package/src/main/typescript/impl/core/Const.ts +38 -16
  67. package/src/main/typescript/impl/core/ImplTypes.ts +1 -1
  68. package/src/main/typescript/impl/i18n/Messages.ts +2 -2
  69. package/src/main/typescript/impl/util/Assertions.ts +3 -3
  70. package/src/main/typescript/impl/util/AsyncQueue.ts +1 -1
  71. package/src/main/typescript/impl/util/AsyncRunnable.ts +5 -5
  72. package/src/main/typescript/impl/util/ExtDomQuery.ts +200 -48
  73. package/src/main/typescript/impl/util/IListener.ts +1 -1
  74. package/src/main/typescript/impl/util/Lang.ts +25 -25
  75. package/src/main/typescript/impl/xhrCore/ErrorData.ts +2 -3
  76. package/src/main/typescript/impl/xhrCore/EventData.ts +4 -3
  77. package/src/main/typescript/impl/xhrCore/IResponseProcessor.ts +19 -11
  78. package/src/main/typescript/impl/xhrCore/RequestDataResolver.ts +15 -14
  79. package/src/main/typescript/impl/xhrCore/ResonseDataResolver.ts +15 -11
  80. package/src/main/typescript/impl/xhrCore/Response.ts +30 -24
  81. package/src/main/typescript/impl/xhrCore/ResponseProcessor.ts +69 -49
  82. package/src/main/typescript/impl/xhrCore/XhrFormData.ts +9 -7
  83. package/src/main/typescript/impl/xhrCore/XhrRequest.ts +76 -60
  84. package/src/main/typescript/myfaces/OamSubmit.ts +12 -15
  85. package/src/main/typescript/test/frameworkBase/_ext/monadish/DomQueryTest.spec.ts +277 -65
  86. package/src/main/typescript/test/frameworkBase/_ext/monadish/LangTest.spec.ts +1 -1
  87. package/src/main/typescript/test/frameworkBase/_ext/monadish/MappingProbes.ts +1 -1
  88. package/src/main/typescript/test/frameworkBase/_ext/monadish/MappingTest.spec.ts +1 -1
  89. package/src/main/typescript/test/frameworkBase/_ext/monadish/MonadTest.spec.ts +1 -1
  90. package/src/main/typescript/test/frameworkBase/_ext/monadish/StreamTest.spec.ts +1 -1
  91. package/src/main/typescript/test/frameworkBase/_ext/monadish/fixtures/test.js +1 -0
  92. package/src/main/typescript/test/frameworkBase/_ext/monadish/fixtures/test2.js +1 -0
  93. package/src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts +75 -30
  94. package/src/main/typescript/test/frameworkBase/_ext/shared/XmlResponses.ts +44 -4
  95. package/src/main/typescript/test/impl/ImplTest.spec.ts +18 -22
  96. package/src/main/typescript/test/impl/ImplTest_23.spec.ts +129 -0
  97. package/src/main/typescript/test/impl/SeparatorCharsTest.spec.ts +7 -6
  98. package/src/main/typescript/test/myfaces/OamSubmit.spec.ts +15 -24
  99. package/src/main/typescript/test/queue/AsynchronousProbe.ts +1 -1
  100. package/src/main/typescript/test/queue/AsynchronousQueueTest.spec.ts +4 -4
  101. package/src/main/typescript/test/xhrCore/EventTests.spec.ts +15 -23
  102. package/src/main/typescript/test/xhrCore/FakeWebsocket.ts +3 -3
  103. package/src/main/typescript/test/xhrCore/FileUploadTest.spec.ts +7 -32
  104. package/src/main/typescript/test/xhrCore/RequestParamsTest.spec.ts +16 -37
  105. package/src/main/typescript/test/xhrCore/RequestTest.spec.ts +17 -16
  106. package/src/main/typescript/test/xhrCore/RequestTest_23.spec.ts +364 -0
  107. package/src/main/typescript/test/xhrCore/ResponseTest.spec.ts +102 -47
  108. package/src/main/typescript/test/xhrCore/ResponseTest23.spec.ts +362 -0
  109. package/src/main/typescript/test/xhrCore/ShadowDomTest.spec.ts +6 -9
  110. package/src/main/typescript/test/xhrCore/WebsocketTest.ts +15 -15
  111. package/src/main/typescript/test/xhrCore/XhrFormDataTest.spec.ts +3 -3
  112. package/{target/main/typescript/impl/util/AsyncRunnable.js → src/main/typescript/test/xhrCore/fixtures/addedViewHead1.js} +4 -6
  113. package/src/main/typescript/test/xhrCore/fixtures/addedViewHead2.css +18 -0
  114. package/src/main/typescript/test/xhrCore/fixtures/addedViewHead2.js +16 -0
  115. package/src/main/typescript/test/xhrCore/fixtures/addedViewHead3.js +16 -0
  116. package/src/main/typescript/test/xhrCore/fixtures/nonce_script.js +16 -0
  117. package/src/main/typescript/tsconfig-typedoc.json +17 -1
  118. package/src/main/typescript/tsconfig.json +23 -5
  119. package/src/test/resources/jsf-development.js +1 -1
  120. package/src/test.html +75 -0
  121. package/src/tmp/test.html +92 -0
  122. package/target/api/{Jsf.js → _api.js} +68 -70
  123. package/target/api/_api.js.map +1 -0
  124. package/target/api/faces.js +45 -0
  125. package/target/api/faces.js.map +1 -0
  126. package/target/api/jsf.js +45 -0
  127. package/target/api/jsf.js.map +1 -0
  128. package/target/classes/com/example/jsfs_js_ts/DecoratedFacesJS.class +0 -0
  129. package/target/classes/com/example/jsfs_js_ts/DecoratingResourceHandlerWrapper.class +0 -0
  130. package/target/classes/com/example/jsfs_js_ts/FacesJSMapFileResourceWrapper.class +0 -0
  131. package/target/classes/com/example/jsfs_js_ts/FacesJSMappingDecorator.class +0 -0
  132. package/target/impl/AjaxImpl.js +85 -93
  133. package/target/impl/AjaxImpl.js.map +1 -1
  134. package/target/impl/PushImpl.js +63 -64
  135. package/target/impl/PushImpl.js.map +1 -1
  136. package/target/impl/core/Const.js +38 -19
  137. package/target/impl/core/Const.js.map +1 -1
  138. package/target/impl/core/ImplTypes.js +10 -15
  139. package/target/impl/core/ImplTypes.js.map +1 -1
  140. package/target/impl/i18n/Messages.js +5 -6
  141. package/target/impl/i18n/Messages.js.map +1 -1
  142. package/target/impl/util/Assertions.js +12 -21
  143. package/target/impl/util/Assertions.js.map +1 -1
  144. package/target/impl/util/AsyncQueue.js +28 -36
  145. package/target/impl/util/AsyncQueue.js.map +1 -1
  146. package/target/impl/util/AsyncRunnable.js +1 -1
  147. package/target/impl/util/ExtDomQuery.js +235 -138
  148. package/target/impl/util/ExtDomQuery.js.map +1 -1
  149. package/target/impl/util/Lang.js +43 -50
  150. package/target/impl/util/Lang.js.map +1 -1
  151. package/target/impl/xhrCore/ErrorData.js +37 -62
  152. package/target/impl/xhrCore/ErrorData.js.map +1 -1
  153. package/target/impl/xhrCore/EventData.js +12 -14
  154. package/target/impl/xhrCore/EventData.js.map +1 -1
  155. package/target/impl/xhrCore/RequestDataResolver.js +27 -29
  156. package/target/impl/xhrCore/RequestDataResolver.js.map +1 -1
  157. package/target/impl/xhrCore/ResonseDataResolver.js +25 -23
  158. package/target/impl/xhrCore/ResonseDataResolver.js.map +1 -1
  159. package/target/impl/xhrCore/Response.js +40 -36
  160. package/target/impl/xhrCore/Response.js.map +1 -1
  161. package/target/impl/xhrCore/ResponseProcessor.js +165 -167
  162. package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
  163. package/target/impl/xhrCore/XhrFormData.js +75 -103
  164. package/target/impl/xhrCore/XhrFormData.js.map +1 -1
  165. package/target/impl/xhrCore/XhrRequest.js +160 -145
  166. package/target/impl/xhrCore/XhrRequest.js.map +1 -1
  167. package/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
  168. package/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
  169. package/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst +1 -0
  170. package/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +1 -0
  171. package/target/myfaces/OamSubmit.js +32 -20
  172. package/target/myfaces/OamSubmit.js.map +1 -1
  173. package/target/surefire-reports/TEST-com.example.jsfs_js_ts.JsfsJsTsApplicationTests.xml +78 -0
  174. package/target/surefire-reports/com.example.jsfs_js_ts.JsfsJsTsApplicationTests.txt +7 -0
  175. package/target/test/frameworkBase/LangTest.spec.js +46 -32
  176. package/target/test/frameworkBase/LangTest.spec.js.map +1 -1
  177. package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js +372 -134
  178. package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js.map +1 -1
  179. package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js +46 -32
  180. package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js.map +1 -1
  181. package/target/test/frameworkBase/_ext/monadish/MappingProbes.js +25 -34
  182. package/target/test/frameworkBase/_ext/monadish/MappingProbes.js.map +1 -1
  183. package/target/test/frameworkBase/_ext/monadish/MappingTest.spec.js +9 -9
  184. package/target/test/frameworkBase/_ext/monadish/MappingTest.spec.js.map +1 -1
  185. package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js +32 -32
  186. package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js.map +1 -1
  187. package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js +51 -49
  188. package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js.map +1 -1
  189. package/target/test/frameworkBase/_ext/shared/StandardInits.js +277 -124
  190. package/target/test/frameworkBase/_ext/shared/StandardInits.js.map +1 -1
  191. package/target/test/frameworkBase/_ext/shared/XmlResponses.js +199 -18
  192. package/target/test/frameworkBase/_ext/shared/XmlResponses.js.map +1 -1
  193. package/target/test/impl/ImplTest.spec.js +45 -33
  194. package/target/test/impl/ImplTest.spec.js.map +1 -1
  195. package/target/test/impl/ImplTest_23.spec.js +133 -0
  196. package/target/test/impl/ImplTest_23.spec.js.map +1 -0
  197. package/target/test/impl/SeparatorCharsTest.spec.js +22 -20
  198. package/target/test/impl/SeparatorCharsTest.spec.js.map +1 -1
  199. package/target/test/myfaces/OamSubmit.spec.js +35 -42
  200. package/target/test/myfaces/OamSubmit.spec.js.map +1 -1
  201. package/target/test/queue/AsynchronousProbe.js +24 -30
  202. package/target/test/queue/AsynchronousProbe.js.map +1 -1
  203. package/target/test/queue/AsynchronousQueueTest.spec.js +40 -71
  204. package/target/test/queue/AsynchronousQueueTest.spec.js.map +1 -1
  205. package/target/test/xhrCore/EventTests.spec.js +47 -83
  206. package/target/test/xhrCore/EventTests.spec.js.map +1 -1
  207. package/target/test/xhrCore/FakeWebsocket.js +15 -17
  208. package/target/test/xhrCore/FakeWebsocket.js.map +1 -1
  209. package/target/test/xhrCore/FileUploadTest.spec.js +50 -91
  210. package/target/test/xhrCore/FileUploadTest.spec.js.map +1 -1
  211. package/target/test/xhrCore/RequestParamsTest.spec.js +49 -98
  212. package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
  213. package/target/test/xhrCore/RequestTest.spec.js +84 -120
  214. package/target/test/xhrCore/RequestTest.spec.js.map +1 -1
  215. package/target/test/{typescript/xhrCore/RequestTest.js → xhrCore/RequestTest_23.spec.js} +142 -127
  216. package/target/test/xhrCore/RequestTest_23.spec.js.map +1 -0
  217. package/target/test/xhrCore/ResponseTest.spec.js +183 -105
  218. package/target/test/xhrCore/ResponseTest.spec.js.map +1 -1
  219. package/target/test/xhrCore/ResponseTest23.spec.js +312 -0
  220. package/target/test/xhrCore/ResponseTest23.spec.js.map +1 -0
  221. package/target/test/xhrCore/ShadowDomTest.spec.js +33 -66
  222. package/target/test/xhrCore/ShadowDomTest.spec.js.map +1 -1
  223. package/target/test/xhrCore/WebsocketTest.js +64 -97
  224. package/target/test/xhrCore/WebsocketTest.js.map +1 -1
  225. package/target/test/xhrCore/XhrFormDataTest.spec.js +42 -16
  226. package/target/test/xhrCore/XhrFormDataTest.spec.js.map +1 -1
  227. package/target/test-classes/jsf-development.js +452 -3674
  228. package/target/test-classes/jsf.js +1 -1
  229. package/target/test-classes/jsf.js.br +0 -0
  230. package/target/test-classes/jsf.js.gz +0 -0
  231. package/webpack.config.js +7 -4
  232. package/webpack.config.js.map +1 -1
  233. package/webpack.config.ts +23 -4
  234. package/dist/docs/modules/jsf.html +0 -71
  235. package/dist/docs/variables/jsf.specversion.html +0 -52
  236. package/integrationdeploy.cmd +0 -4
  237. package/integrationsdeploy.sh +0 -5
  238. package/remap.js +0 -44
  239. package/remap.js.map +0 -1
  240. package/src/main/java/com/example/jsfs_js_ts/JsfsJsTsApplication.java +0 -12
  241. package/src/main/types/typedefs.d.ts +0 -66
  242. package/target/api/Jsf.js.map +0 -1
  243. package/target/classes/com/example/jsfs_js_ts/JsfsJsTsApplication.class +0 -0
  244. package/target/impl/util/ListenerQueue.js +0 -3
  245. package/target/impl/util/ListenerQueue.js.map +0 -1
  246. package/target/main/typescript/api/Jsf.js +0 -258
  247. package/target/main/typescript/api/Jsf.js.map +0 -1
  248. package/target/main/typescript/impl/AjaxImpl.js +0 -569
  249. package/target/main/typescript/impl/AjaxImpl.js.map +0 -1
  250. package/target/main/typescript/impl/PushImpl.js +0 -215
  251. package/target/main/typescript/impl/PushImpl.js.map +0 -1
  252. package/target/main/typescript/impl/core/Const.js +0 -135
  253. package/target/main/typescript/impl/core/Const.js.map +0 -1
  254. package/target/main/typescript/impl/core/ImplTypes.js +0 -43
  255. package/target/main/typescript/impl/core/ImplTypes.js.map +0 -1
  256. package/target/main/typescript/impl/i18n/Messages.js +0 -114
  257. package/target/main/typescript/impl/i18n/Messages.js.map +0 -1
  258. package/target/main/typescript/impl/util/Assertions.js +0 -90
  259. package/target/main/typescript/impl/util/Assertions.js.map +0 -1
  260. package/target/main/typescript/impl/util/AsyncQueue.js +0 -104
  261. package/target/main/typescript/impl/util/AsyncQueue.js.map +0 -1
  262. package/target/main/typescript/impl/util/AsyncRunnable.js.map +0 -1
  263. package/target/main/typescript/impl/util/ExtDomQuery.js +0 -129
  264. package/target/main/typescript/impl/util/ExtDomQuery.js.map +0 -1
  265. package/target/main/typescript/impl/util/Lang.js +0 -215
  266. package/target/main/typescript/impl/util/Lang.js.map +0 -1
  267. package/target/main/typescript/impl/util/ListenerQueue.js +0 -3
  268. package/target/main/typescript/impl/util/ListenerQueue.js.map +0 -1
  269. package/target/main/typescript/impl/xhrCore/ErrorData.js +0 -89
  270. package/target/main/typescript/impl/xhrCore/ErrorData.js.map +0 -1
  271. package/target/main/typescript/impl/xhrCore/EventData.js +0 -30
  272. package/target/main/typescript/impl/xhrCore/EventData.js.map +0 -1
  273. package/target/main/typescript/impl/xhrCore/IResponseProcessor.js +0 -3
  274. package/target/main/typescript/impl/xhrCore/IResponseProcessor.js.map +0 -1
  275. package/target/main/typescript/impl/xhrCore/RequestDataResolver.js +0 -143
  276. package/target/main/typescript/impl/xhrCore/RequestDataResolver.js.map +0 -1
  277. package/target/main/typescript/impl/xhrCore/ResonseDataResolver.js +0 -103
  278. package/target/main/typescript/impl/xhrCore/ResonseDataResolver.js.map +0 -1
  279. package/target/main/typescript/impl/xhrCore/Response.js +0 -167
  280. package/target/main/typescript/impl/xhrCore/Response.js.map +0 -1
  281. package/target/main/typescript/impl/xhrCore/ResponseProcessor.js +0 -368
  282. package/target/main/typescript/impl/xhrCore/ResponseProcessor.js.map +0 -1
  283. package/target/main/typescript/impl/xhrCore/XhrFormData.js +0 -272
  284. package/target/main/typescript/impl/xhrCore/XhrFormData.js.map +0 -1
  285. package/target/main/typescript/impl/xhrCore/XhrRequest.js +0 -281
  286. package/target/main/typescript/impl/xhrCore/XhrRequest.js.map +0 -1
  287. package/target/test/frameworkBase/_ext/monadish/DomQueryTest.js +0 -293
  288. package/target/test/frameworkBase/_ext/monadish/DomQueryTest.js.map +0 -1
  289. package/target/test/frameworkBase/_ext/monadish/LangTest.js +0 -89
  290. package/target/test/frameworkBase/_ext/monadish/LangTest.js.map +0 -1
  291. package/target/test/frameworkBase/_ext/monadish/MappingTest.js +0 -39
  292. package/target/test/frameworkBase/_ext/monadish/MappingTest.js.map +0 -1
  293. package/target/test/frameworkBase/_ext/monadish/MonadTest.js +0 -155
  294. package/target/test/frameworkBase/_ext/monadish/MonadTest.js.map +0 -1
  295. package/target/test/frameworkBase/_ext/monadish/StreamTest.js +0 -176
  296. package/target/test/frameworkBase/_ext/monadish/StreamTest.js.map +0 -1
  297. package/target/test/frameworkBase/_ext/monadish/XmlQueryTest.js +0 -1
  298. package/target/test/frameworkBase/_ext/monadish/XmlQueryTest.js.map +0 -1
  299. package/target/test/typescript/frameworkBase/LangTest.js +0 -112
  300. package/target/test/typescript/frameworkBase/LangTest.js.map +0 -1
  301. package/target/test/typescript/frameworkBase/_ext/monadish/DomQueryTest.js +0 -293
  302. package/target/test/typescript/frameworkBase/_ext/monadish/DomQueryTest.js.map +0 -1
  303. package/target/test/typescript/frameworkBase/_ext/monadish/LangTest.js +0 -89
  304. package/target/test/typescript/frameworkBase/_ext/monadish/LangTest.js.map +0 -1
  305. package/target/test/typescript/frameworkBase/_ext/monadish/MappingProbes.js +0 -115
  306. package/target/test/typescript/frameworkBase/_ext/monadish/MappingProbes.js.map +0 -1
  307. package/target/test/typescript/frameworkBase/_ext/monadish/MappingTest.js +0 -39
  308. package/target/test/typescript/frameworkBase/_ext/monadish/MappingTest.js.map +0 -1
  309. package/target/test/typescript/frameworkBase/_ext/monadish/MonadTest.js +0 -155
  310. package/target/test/typescript/frameworkBase/_ext/monadish/MonadTest.js.map +0 -1
  311. package/target/test/typescript/frameworkBase/_ext/monadish/StreamTest.js +0 -176
  312. package/target/test/typescript/frameworkBase/_ext/monadish/StreamTest.js.map +0 -1
  313. package/target/test/typescript/frameworkBase/_ext/monadish/XmlQueryTest.js +0 -1
  314. package/target/test/typescript/frameworkBase/_ext/monadish/XmlQueryTest.js.map +0 -1
  315. package/target/test/typescript/frameworkBase/_ext/shared/StandardInits.js +0 -264
  316. package/target/test/typescript/frameworkBase/_ext/shared/StandardInits.js.map +0 -1
  317. package/target/test/typescript/frameworkBase/_ext/shared/XmlResponses.js +0 -23
  318. package/target/test/typescript/frameworkBase/_ext/shared/XmlResponses.js.map +0 -1
  319. package/target/test/typescript/impl/ImplTest.js +0 -98
  320. package/target/test/typescript/impl/ImplTest.js.map +0 -1
  321. package/target/test/typescript/impl/SeparatorCharsTest.js +0 -72
  322. package/target/test/typescript/impl/SeparatorCharsTest.js.map +0 -1
  323. package/target/test/typescript/queue/AsynchronousProbe.js +0 -99
  324. package/target/test/typescript/queue/AsynchronousProbe.js.map +0 -1
  325. package/target/test/typescript/queue/AsynchronousQueueTest.js +0 -130
  326. package/target/test/typescript/queue/AsynchronousQueueTest.js.map +0 -1
  327. package/target/test/typescript/xhrCore/EventTests.js +0 -155
  328. package/target/test/typescript/xhrCore/EventTests.js.map +0 -1
  329. package/target/test/typescript/xhrCore/FakeWebsocket.js +0 -25
  330. package/target/test/typescript/xhrCore/FakeWebsocket.js.map +0 -1
  331. package/target/test/typescript/xhrCore/FileUploadTest.js +0 -166
  332. package/target/test/typescript/xhrCore/FileUploadTest.js.map +0 -1
  333. package/target/test/typescript/xhrCore/RequestParamsTest.js +0 -151
  334. package/target/test/typescript/xhrCore/RequestParamsTest.js.map +0 -1
  335. package/target/test/typescript/xhrCore/RequestTest.js.map +0 -1
  336. package/target/test/typescript/xhrCore/ResponseTest.js +0 -257
  337. package/target/test/typescript/xhrCore/ResponseTest.js.map +0 -1
  338. package/target/test/typescript/xhrCore/ShadowDomTest.js +0 -122
  339. package/target/test/typescript/xhrCore/ShadowDomTest.js.map +0 -1
  340. package/target/test/typescript/xhrCore/WebsocketTest.js +0 -182
  341. package/target/test/typescript/xhrCore/WebsocketTest.js.map +0 -1
  342. package/target/test/typescript/xhrCore/XhrFormDataTest.js +0 -58
  343. package/target/test/typescript/xhrCore/XhrFormDataTest.js.map +0 -1
@@ -1,31 +1,7 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
18
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
19
- if (ar || !(i in from)) {
20
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
21
- ar[i] = from[i];
22
- }
23
- }
24
- return to.concat(ar || Array.prototype.slice.call(from));
25
- };
26
2
  Object.defineProperty(exports, "__esModule", { value: true });
27
3
  exports.XhrFormData = void 0;
28
- /* Licensed to the Apache Software Foundation (ASF) under one or more
4
+ /*! Licensed to the Apache Software Foundation (ASF) under one or more
29
5
  * contributor license agreements. See the NOTICE file distributed with
30
6
  * this work for additional information regarding copyright ownership.
31
7
  * The ASF licenses this file to you under the Apache License, Version 2.0
@@ -40,35 +16,35 @@ exports.XhrFormData = void 0;
40
16
  * See the License for the specific language governing permissions and
41
17
  * limitations under the License.
42
18
  */
43
- var mona_dish_1 = require("mona-dish");
44
- var Const_1 = require("../core/Const");
19
+ const mona_dish_1 = require("mona-dish");
20
+ const Const_1 = require("../core/Const");
45
21
  var isString = mona_dish_1.Lang.isString;
22
+ const ExtDomQuery_1 = require("../util/ExtDomQuery");
46
23
  /**
47
24
  * A unified form data class
48
25
  * which builds upon our configuration.
49
26
  *
50
27
  * We cannot use standard html5 forms everywhere
51
28
  * due to api constraints on the HTML Form object in IE11
52
- * and due to the url encoding constraint given by the jsf.js spec
29
+ * and due to the url encoding constraint given by the faces.js spec
53
30
  *
54
31
  * probably only one needed and one overlay!
55
32
  * the entire file input storing probably is redundant now
56
33
  * that dom query has been fixed //TODO check this
57
34
  */
58
- var XhrFormData = /** @class */ (function (_super) {
59
- __extends(XhrFormData, _super);
35
+ class XhrFormData extends mona_dish_1.Config {
60
36
  /**
61
37
  * data collector from a given form
62
38
  *
63
39
  * @param dataSource either a form as DomQuery object or an encoded url string
64
- * @param viewState the form view state or an external viewstate coming in as string
40
+ * @param viewState the form view state or an external viewState coming in as string
65
41
  * @param executes the executes id list for the elements to being processed
66
42
  * @param partialIds partial ids to collect, to reduce the data sent down
67
43
  */
68
- function XhrFormData(dataSource, viewState, executes, partialIds) {
69
- var _this = _super.call(this, {}) || this;
70
- _this.dataSource = dataSource;
71
- _this.partialIds = partialIds;
44
+ constructor(dataSource, viewState, executes, partialIds) {
45
+ super({});
46
+ this.dataSource = dataSource;
47
+ this.partialIds = partialIds;
72
48
  /**
73
49
  * Checks if the given datasource is a multipart request source
74
50
  * multipart is only needed if one of the executes is a file input
@@ -76,80 +52,76 @@ var XhrFormData = /** @class */ (function (_super) {
76
52
  * and need special handling. With file submits we have to send a formData object
77
53
  * instead of an encoded string files cannot be sent that way
78
54
  */
79
- _this.isMultipartRequest = false;
55
+ this.isMultipartRequest = false;
80
56
  //a call to getViewState before must pass the encoded line
81
57
  //a call from getViewState passes the form element as datasource,
82
58
  //so we have two call points
83
59
  if (isString(dataSource)) {
84
- _this.assignEncodedString(_this.dataSource);
60
+ this.assignEncodedString(this.dataSource);
85
61
  }
86
62
  else {
87
- _this.applyFormDataToConfig();
63
+ this.applyFormDataToConfig();
88
64
  }
89
65
  if ('undefined' != typeof viewState) {
90
- _this.assignEncodedString(viewState);
66
+ this.assignEncodedString(viewState);
91
67
  }
92
68
  if (executes) {
93
- _this.postInit.apply(_this, executes);
69
+ this.postInit(...executes);
94
70
  }
95
- return _this;
96
71
  }
97
72
  /**
98
- * generic post init code, for now, this peforms some post assign data post processing
99
- * @param executes
73
+ * generic post init code, for now, this performs some post assign data post-processing
74
+ * @param executes the executable dom nodes which need to be processed into the form data, which we can send
75
+ * in our ajax request
100
76
  */
101
- XhrFormData.prototype.postInit = function () {
102
- var _this = this;
103
- var executes = [];
104
- for (var _i = 0; _i < arguments.length; _i++) {
105
- executes[_i] = arguments[_i];
106
- }
107
- var fetchInput = function (id) {
77
+ postInit(...executes) {
78
+ let fetchInput = (id) => {
108
79
  if (id == Const_1.IDENT_ALL) {
109
80
  return mona_dish_1.DQ.querySelectorAllDeep("input[type='file']");
110
81
  }
111
82
  else if (id == Const_1.IDENT_FORM) {
112
- return _this.dataSource.querySelectorAllDeep("input[type='file']");
83
+ return this.dataSource.querySelectorAllDeep("input[type='file']");
113
84
  }
114
85
  else {
115
- var element = mona_dish_1.DQ.byId(id, true);
116
- return _this.getFileInputs(element);
86
+ let element = mona_dish_1.DQ.byId(id, true);
87
+ return this.getFileInputs(element);
117
88
  }
118
89
  };
119
- var inputExists = function (item) {
90
+ let inputExists = (item) => {
120
91
  return item.isPresent();
121
92
  };
122
- this.isMultipartRequest = mona_dish_1.LazyStream.of.apply(mona_dish_1.LazyStream, executes).map(fetchInput)
93
+ this.isMultipartRequest = mona_dish_1.LazyStream.of(...executes)
94
+ .map(fetchInput)
123
95
  .filter(inputExists)
124
96
  .first().isPresent();
125
- };
97
+ }
126
98
  /**
127
99
  * special case view state handling
128
100
  *
129
101
  * @param form the form holding the view state value
130
102
  */
131
- XhrFormData.prototype.applyViewState = function (form) {
132
- var viewState = form.byId(Const_1.P_VIEWSTATE, true).inputValue;
103
+ applyViewState(form) {
104
+ let viewState = form.byId(Const_1.P_VIEWSTATE, true).inputValue;
133
105
  this.appendIf(viewState.isPresent(), Const_1.P_VIEWSTATE).value = viewState.value;
134
- };
106
+ }
135
107
  /**
136
108
  * assigns an url encoded string to this xhrFormData object
137
109
  * as key value entry
138
110
  * @param encoded
139
111
  */
140
- XhrFormData.prototype.assignEncodedString = function (encoded) {
112
+ assignEncodedString(encoded) {
141
113
  // this code filters out empty strings as key value pairs
142
- var keyValueEntries = decodeURIComponent(encoded).split(/&/gi)
143
- .filter(function (item) { return !!(item || '')
144
- .replace(/\s+/g, ''); });
114
+ let keyValueEntries = decodeURIComponent(encoded).split(/&/gi)
115
+ .filter(item => !!(item || '')
116
+ .replace(/\s+/g, ''));
145
117
  this.assignString(keyValueEntries);
146
- };
118
+ }
147
119
  /**
148
120
  * assign a set of key value pairs passed as array ['key=val1', 'key2=val2']
149
121
  * @param keyValueEntries
150
122
  */
151
- XhrFormData.prototype.assignString = function (keyValueEntries) {
152
- var toMerge = new mona_dish_1.Config({});
123
+ assignString(keyValueEntries) {
124
+ let toMerge = new ExtDomQuery_1.ExtConfig({});
153
125
  function splitToKeyVal(line) {
154
126
  return line.split(/=(.*)/gi);
155
127
  }
@@ -157,71 +129,72 @@ var XhrFormData = /** @class */ (function (_super) {
157
129
  var _a, _b;
158
130
  return keyVal.length < 3 ? [(_a = keyVal === null || keyVal === void 0 ? void 0 : keyVal[0]) !== null && _a !== void 0 ? _a : [], (_b = keyVal === null || keyVal === void 0 ? void 0 : keyVal[1]) !== null && _b !== void 0 ? _b : []] : keyVal;
159
131
  }
160
- mona_dish_1.Stream.of.apply(mona_dish_1.Stream, keyValueEntries).map(function (line) { return splitToKeyVal(line); })
132
+ mona_dish_1.Stream.of(...keyValueEntries)
133
+ //split only the first =
134
+ .map(line => splitToKeyVal(line))
161
135
  //special case of having keys without values
162
- .map(function (keyVal) { return fixKeyWithoutVal(keyVal); })
163
- .each(function (keyVal) {
136
+ .map(keyVal => fixKeyWithoutVal(keyVal))
137
+ .each(keyVal => {
164
138
  var _a, _b;
165
139
  toMerge.append(keyVal[0]).value = (_b = (_a = keyVal === null || keyVal === void 0 ? void 0 : keyVal.splice(1)) === null || _a === void 0 ? void 0 : _a.join("")) !== null && _b !== void 0 ? _b : "";
166
140
  });
167
141
  //merge with overwrite but no append! (aka no double entries are allowed)
168
142
  this.shallowMerge(toMerge);
169
- };
143
+ }
170
144
  /**
171
145
  * @returns a Form data representation, this is needed for file submits
172
146
  */
173
- XhrFormData.prototype.toFormData = function () {
174
- var ret = new FormData();
147
+ toFormData() {
148
+ let ret = new FormData();
175
149
  this.appendInputs(ret);
176
150
  return ret;
177
- };
178
- XhrFormData.prototype.resolveSubmitIdentifier = function (elem) {
151
+ }
152
+ resolveSubmitIdentifier(elem) {
179
153
  var _a;
180
- var identifier = elem.name;
154
+ let identifier = elem.name;
181
155
  identifier = (((_a = elem === null || elem === void 0 ? void 0 : elem.name) !== null && _a !== void 0 ? _a : "").replace(/s+/gi, "") == "") ? elem.id : identifier;
182
156
  return identifier;
183
- };
157
+ }
184
158
  /**
185
159
  * returns an encoded string representation of our xhr form data
186
160
  *
187
161
  * @param defaultStr optional default value if nothing is there to encode
188
162
  */
189
- XhrFormData.prototype.toString = function (defaultStr) {
190
- var _this = this;
191
- if (defaultStr === void 0) { defaultStr = Const_1.EMPTY_STR; }
163
+ toString(defaultStr = Const_1.EMPTY_STR) {
192
164
  if (this.isAbsent()) {
193
165
  return defaultStr;
194
166
  }
195
- var entries = mona_dish_1.LazyStream.of.apply(mona_dish_1.LazyStream, Object.keys(this.value)).filter(function (key) { return _this.value.hasOwnProperty(key); })
196
- .flatMap(function (key) { return mona_dish_1.Stream.of.apply(mona_dish_1.Stream, _this.value[key]).map(function (val) { return [key, val]; }).collect(new mona_dish_1.ArrayCollector()); })
197
- .map(function (keyVal) {
198
- return "".concat(encodeURIComponent(keyVal[0]), "=").concat(encodeURIComponent(keyVal[1]));
167
+ let entries = mona_dish_1.LazyStream.of(...Object.keys(this.value))
168
+ .filter(key => this.value.hasOwnProperty(key))
169
+ .flatMap(key => mona_dish_1.Stream.of(...this.value[key]).map(val => [key, val]).collect(new mona_dish_1.ArrayCollector()))
170
+ .map(keyVal => {
171
+ return `${encodeURIComponent(keyVal[0])}=${encodeURIComponent(keyVal[1])}`;
199
172
  })
200
173
  .collect(new mona_dish_1.ArrayCollector());
201
174
  return entries.join("&");
202
- };
175
+ }
203
176
  /**
204
177
  * helper to fetch all file inputs from as given root element
205
178
  * @param rootElement
206
179
  * @private
207
180
  */
208
- XhrFormData.prototype.getFileInputs = function (rootElement) {
209
- var rootFileInputs = rootElement
210
- .filter(function (elem) { return elem.matchesSelector("input[type='file']"); });
211
- var childFileInputs = rootElement
181
+ getFileInputs(rootElement) {
182
+ const rootFileInputs = rootElement
183
+ .filter(elem => elem.matchesSelector("input[type='file']"));
184
+ const childFileInputs = rootElement
212
185
  .querySelectorAll("input[type='file']");
213
186
  return rootFileInputs.concat(childFileInputs);
214
- };
187
+ }
215
188
  /**
216
189
  * encode the given fields and apply the view state
217
190
  * @private
218
191
  */
219
- XhrFormData.prototype.applyFormDataToConfig = function () {
192
+ applyFormDataToConfig() {
220
193
  //encode and append the issuing item if not a partial ids array of ids is passed
221
194
  /*
222
195
  * Spec. 13.3.1
223
196
  * Collect and encode input elements.
224
- * Additionally the hidden element javax.faces.ViewState
197
+ * Additionally the hidden element jakarta.faces.ViewState
225
198
  * Enhancement partial page submit
226
199
  *
227
200
  */
@@ -230,20 +203,20 @@ var XhrFormData = /** @class */ (function (_super) {
230
203
  return;
231
204
  }
232
205
  this.applyViewState(this.dataSource);
233
- };
206
+ }
234
207
  /**
235
208
  * determines fields to submit
236
209
  * @param {Object} targetBuf - the target form buffer receiving the data
237
210
  * @param {Node} parentItem - form element item is nested in
238
211
  * @param {Array} partialIds - ids fo PPS
239
212
  */
240
- XhrFormData.prototype.encodeSubmittableFields = function (targetBuf, parentItem, partialIds) {
241
- var toEncode = null;
213
+ encodeSubmittableFields(targetBuf, parentItem, partialIds) {
214
+ let toEncode = null;
242
215
  if (this.partialIds && this.partialIds.length) {
243
216
  // in case of our myfaces reduced ppr we
244
217
  // only submit the partials
245
218
  this._value = {};
246
- toEncode = new (mona_dish_1.DQ.bind.apply(mona_dish_1.DQ, __spreadArray([void 0], this.partialIds, false)))();
219
+ toEncode = new mona_dish_1.DQ(...this.partialIds);
247
220
  }
248
221
  else {
249
222
  if (parentItem.isAbsent())
@@ -252,14 +225,13 @@ var XhrFormData = /** @class */ (function (_super) {
252
225
  }
253
226
  //lets encode the form elements
254
227
  this.shallowMerge(toEncode.deepElements.encodeFormElement());
255
- };
256
- XhrFormData.prototype.appendInputs = function (ret) {
257
- var _this = this;
258
- mona_dish_1.Stream.of.apply(mona_dish_1.Stream, Object.keys(this.value)).each(function (key) {
259
- mona_dish_1.Stream.of.apply(mona_dish_1.Stream, _this.value[key]).each(function (item) { return ret.append(key, item); });
228
+ }
229
+ appendInputs(ret) {
230
+ mona_dish_1.Stream.of(...Object.keys(this.value))
231
+ .each(key => {
232
+ mona_dish_1.Stream.of(...this.value[key]).each(item => ret.append(key, item));
260
233
  });
261
- };
262
- return XhrFormData;
263
- }(mona_dish_1.Config));
234
+ }
235
+ }
264
236
  exports.XhrFormData = XhrFormData;
265
237
  //# sourceMappingURL=XhrFormData.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"XhrFormData.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/xhrCore/XhrFormData.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,uCAA+E;AAC/E,uCAA4E;AAC5E,IAAO,QAAQ,GAAG,gBAAI,CAAC,QAAQ,CAAC;AAGhC;;;;;;;;;;;GAWG;AACH;IAAiC,+BAAM;IAUnC;;;;;;;OAOG;IACH,qBAAoB,UAAuB,EAAE,SAAkB,EAAE,QAAmB,EAAU,UAAqB;QAAnH,YACI,kBAAM,EAAE,CAAC,SAeZ;QAhBmB,gBAAU,GAAV,UAAU,CAAa;QAAmD,gBAAU,GAAV,UAAU,CAAW;QAjBnH;;;;;;WAMG;QACH,wBAAkB,GAAY,KAAK,CAAC;QAYhC,0DAA0D;QAC1D,iEAAiE;QACjE,4BAA4B;QAC5B,IAAI,QAAQ,CAAC,UAAU,CAAC,EAAE;YACtB,KAAI,CAAC,mBAAmB,CAAS,KAAI,CAAC,UAAU,CAAC,CAAC;SACrD;aAAM;YACH,KAAI,CAAC,qBAAqB,EAAE,CAAC;SAChC;QACD,IAAG,WAAW,IAAI,OAAO,SAAS,EAAE;YAChC,KAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAA;SACtC;QACD,IAAG,QAAQ,EAAE;YACT,KAAI,CAAC,QAAQ,OAAb,KAAI,EAAa,QAAQ,EAAE;SAC9B;;IACL,CAAC;IAED;;;OAGG;IACH,8BAAQ,GAAR;QAAA,iBAqBC;QArBQ,kBAA0B;aAA1B,UAA0B,EAA1B,qBAA0B,EAA1B,IAA0B;YAA1B,6BAA0B;;QAC/B,IAAI,UAAU,GAAG,UAAC,EAAU;YACxB,IAAI,EAAE,IAAI,iBAAS,EAAE;gBACjB,OAA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