jsf.js_next_gen 1.0.0-beta-20 → 4.0.0-beta-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) 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 +12 -0
  9. package/dist/docs/assets/search.js +1 -1
  10. package/dist/docs/functions/{jsf.ajax.addOnError.html → faces.ajax.addOnError.html} +11 -11
  11. package/dist/docs/functions/{jsf.ajax.addOnEvent.html → faces.ajax.addOnEvent.html} +11 -11
  12. package/dist/docs/functions/{jsf.ajax.request.html → faces.ajax.request.html} +11 -11
  13. package/dist/docs/functions/{jsf.ajax.response.html → faces.ajax.response.html} +11 -11
  14. package/dist/docs/functions/{jsf.getClientWindow.html → faces.getClientWindow.html} +12 -12
  15. package/dist/docs/functions/{jsf.getProjectStage.html → faces.getProjectStage.html} +13 -13
  16. package/dist/docs/functions/{jsf.getViewState.html → faces.getViewState.html} +13 -13
  17. package/dist/docs/functions/{jsf.push.close.html → faces.push.close.html} +10 -10
  18. package/dist/docs/functions/{jsf.push.init.html → faces.push.init.html} +10 -10
  19. package/dist/docs/functions/{jsf.push.open.html → faces.push.open.html} +10 -10
  20. package/dist/docs/functions/{jsf.util.chain.html → faces.util.chain.html} +8 -8
  21. package/dist/docs/functions/myfaces.ab.html +6 -6
  22. package/dist/docs/index.html +13 -4
  23. package/dist/docs/modules/{jsf.ajax.html → faces.ajax.html} +14 -14
  24. package/dist/docs/modules/{jsf.html → faces.html} +22 -22
  25. package/dist/docs/modules/{jsf.push.html → faces.push.html} +12 -12
  26. package/dist/docs/modules/{jsf.util.html → faces.util.html} +8 -8
  27. package/dist/docs/modules/myfaces.html +4 -4
  28. package/dist/docs/modules.html +5 -5
  29. package/dist/docs/variables/{jsf.implversion.html → faces.implversion.html} +12 -12
  30. package/dist/docs/variables/{jsf.separatorchar.html → faces.separatorchar.html} +12 -12
  31. package/dist/docs/variables/{jsf.specversion.html → faces.specversion.html} +13 -13
  32. package/dist/docs/variables/myfaces.oam.html +4 -4
  33. package/dist/window/faces-development.js +7699 -0
  34. package/dist/window/faces-development.js.br +0 -0
  35. package/dist/window/faces-development.js.gz +0 -0
  36. package/dist/window/faces-development.js.map +1 -0
  37. package/dist/window/faces.js +3 -0
  38. package/dist/window/faces.js.LICENSE.txt +70 -0
  39. package/dist/window/faces.js.br +0 -0
  40. package/dist/window/faces.js.gz +0 -0
  41. package/dist/window/faces.js.map +1 -0
  42. package/dist/window/jsf-development.js +244 -150
  43. package/dist/window/jsf-development.js.br +0 -0
  44. package/dist/window/jsf-development.js.gz +0 -0
  45. package/dist/window/jsf-development.js.map +1 -1
  46. package/dist/window/jsf.js +2 -1
  47. package/dist/window/jsf.js.LICENSE.txt +70 -0
  48. package/dist/window/jsf.js.br +0 -0
  49. package/dist/window/jsf.js.gz +0 -0
  50. package/dist/window/jsf.js.map +1 -1
  51. package/package.json +6 -6
  52. package/src/main/types/typedefs.d.ts +2 -0
  53. package/src/main/typescript/api/{Jsf.ts → faces.ts} +15 -11
  54. package/src/main/typescript/api/jsf.ts +30 -0
  55. package/src/main/typescript/impl/AjaxImpl.ts +18 -16
  56. package/src/main/typescript/impl/PushImpl.ts +4 -4
  57. package/src/main/typescript/impl/core/Const.ts +53 -15
  58. package/src/main/typescript/impl/core/ImplTypes.ts +1 -1
  59. package/src/main/typescript/impl/i18n/Messages.ts +2 -2
  60. package/src/main/typescript/impl/util/Assertions.ts +2 -2
  61. package/src/main/typescript/impl/util/AsyncQueue.ts +1 -1
  62. package/src/main/typescript/impl/util/AsyncRunnable.ts +1 -1
  63. package/src/main/typescript/impl/util/ExtDomQuery.ts +33 -22
  64. package/src/main/typescript/impl/util/IListener.ts +1 -1
  65. package/src/main/typescript/impl/util/Lang.ts +1 -1
  66. package/src/main/typescript/impl/xhrCore/ErrorData.ts +1 -1
  67. package/src/main/typescript/impl/xhrCore/EventData.ts +3 -2
  68. package/src/main/typescript/impl/xhrCore/IResponseProcessor.ts +1 -1
  69. package/src/main/typescript/impl/xhrCore/RequestDataResolver.ts +2 -2
  70. package/src/main/typescript/impl/xhrCore/ResonseDataResolver.ts +1 -1
  71. package/src/main/typescript/impl/xhrCore/Response.ts +3 -3
  72. package/src/main/typescript/impl/xhrCore/ResponseProcessor.ts +5 -3
  73. package/src/main/typescript/impl/xhrCore/XhrFormData.ts +3 -3
  74. package/src/main/typescript/impl/xhrCore/XhrRequest.ts +5 -6
  75. package/src/main/typescript/myfaces/OamSubmit.ts +1 -2
  76. package/src/main/typescript/test/frameworkBase/_ext/monadish/DomQueryTest.spec.ts +1 -1
  77. package/src/main/typescript/test/frameworkBase/_ext/monadish/LangTest.spec.ts +1 -1
  78. package/src/main/typescript/test/frameworkBase/_ext/monadish/MappingProbes.ts +1 -1
  79. package/src/main/typescript/test/frameworkBase/_ext/monadish/MappingTest.spec.ts +1 -1
  80. package/src/main/typescript/test/frameworkBase/_ext/monadish/MonadTest.spec.ts +1 -1
  81. package/src/main/typescript/test/frameworkBase/_ext/monadish/StreamTest.spec.ts +1 -1
  82. package/src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts +59 -28
  83. package/src/main/typescript/test/frameworkBase/_ext/shared/XmlResponses.ts +4 -4
  84. package/src/main/typescript/test/impl/ImplTest.spec.ts +13 -13
  85. package/src/main/typescript/test/impl/ImplTest_23.spec.ts +134 -0
  86. package/src/main/typescript/test/impl/SeparatorCharsTest.spec.ts +7 -4
  87. package/src/main/typescript/test/myfaces/OamSubmit.spec.ts +1 -1
  88. package/src/main/typescript/test/queue/AsynchronousProbe.ts +1 -1
  89. package/src/main/typescript/test/queue/AsynchronousQueueTest.spec.ts +2 -2
  90. package/src/main/typescript/test/xhrCore/EventTests.spec.ts +8 -8
  91. package/src/main/typescript/test/xhrCore/FakeWebsocket.ts +1 -1
  92. package/src/main/typescript/test/xhrCore/FileUploadTest.spec.ts +6 -6
  93. package/src/main/typescript/test/xhrCore/RequestParamsTest.spec.ts +23 -23
  94. package/src/main/typescript/test/xhrCore/RequestTest.spec.ts +12 -12
  95. package/src/main/typescript/test/xhrCore/ResponseTest.spec.ts +27 -27
  96. package/src/main/typescript/test/xhrCore/ShadowDomTest.spec.ts +4 -6
  97. package/src/main/typescript/test/xhrCore/WebsocketTest.ts +9 -9
  98. package/src/main/typescript/test/xhrCore/XhrFormDataTest.spec.ts +1 -1
  99. package/src/main/typescript/tsconfig-typedoc.json +1 -1
  100. package/src/test/resources/jsf-development.js +1 -1
  101. package/target/api/Jsf.js +17 -245
  102. package/target/api/Jsf.js.map +1 -1
  103. package/target/api/faces.js +265 -0
  104. package/target/api/faces.js.map +1 -0
  105. package/target/impl/AjaxImpl.js +15 -14
  106. package/target/impl/AjaxImpl.js.map +1 -1
  107. package/target/impl/PushImpl.js +4 -4
  108. package/target/impl/PushImpl.js.map +1 -1
  109. package/target/impl/core/Const.js +52 -15
  110. package/target/impl/core/Const.js.map +1 -1
  111. package/target/impl/core/ImplTypes.js +1 -1
  112. package/target/impl/i18n/Messages.js +2 -2
  113. package/target/impl/i18n/Messages.js.map +1 -1
  114. package/target/impl/util/Assertions.js +2 -2
  115. package/target/impl/util/Assertions.js.map +1 -1
  116. package/target/impl/util/AsyncRunnable.js +1 -1
  117. package/target/impl/util/ExtDomQuery.js +28 -17
  118. package/target/impl/util/ExtDomQuery.js.map +1 -1
  119. package/target/impl/util/Lang.js +1 -1
  120. package/target/impl/xhrCore/ErrorData.js +1 -1
  121. package/target/impl/xhrCore/EventData.js +3 -2
  122. package/target/impl/xhrCore/EventData.js.map +1 -1
  123. package/target/impl/xhrCore/RequestDataResolver.js +2 -2
  124. package/target/impl/xhrCore/ResonseDataResolver.js +1 -1
  125. package/target/impl/xhrCore/Response.js +3 -3
  126. package/target/impl/xhrCore/ResponseProcessor.js +11 -11
  127. package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
  128. package/target/impl/xhrCore/XhrFormData.js +3 -3
  129. package/target/impl/xhrCore/XhrRequest.js +5 -4
  130. package/target/impl/xhrCore/XhrRequest.js.map +1 -1
  131. package/target/myfaces/OamSubmit.js +1 -2
  132. package/target/myfaces/OamSubmit.js.map +1 -1
  133. package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js +1 -1
  134. package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js +1 -1
  135. package/target/test/frameworkBase/_ext/monadish/MappingProbes.js +1 -1
  136. package/target/test/frameworkBase/_ext/monadish/MappingTest.spec.js +1 -1
  137. package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js +1 -1
  138. package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js +1 -1
  139. package/target/test/frameworkBase/_ext/shared/StandardInits.js +64 -26
  140. package/target/test/frameworkBase/_ext/shared/StandardInits.js.map +1 -1
  141. package/target/test/frameworkBase/_ext/shared/XmlResponses.js +4 -4
  142. package/target/test/frameworkBase/_ext/shared/XmlResponses.js.map +1 -1
  143. package/target/test/impl/ImplTest.spec.js +54 -13
  144. package/target/test/impl/ImplTest.spec.js.map +1 -1
  145. package/target/test/impl/ImplTest_23.spec.js +165 -0
  146. package/target/test/impl/ImplTest_23.spec.js.map +1 -0
  147. package/target/test/impl/ImplTest_23.spec_.js +165 -0
  148. package/target/test/impl/ImplTest_23.spec_.js.map +1 -0
  149. package/target/test/impl/SeparatorCharsTest.spec.js +7 -3
  150. package/target/test/impl/SeparatorCharsTest.spec.js.map +1 -1
  151. package/target/test/myfaces/OamSubmit.spec.js +1 -1
  152. package/target/test/queue/AsynchronousProbe.js +1 -1
  153. package/target/test/queue/AsynchronousQueueTest.spec.js +2 -2
  154. package/target/test/queue/AsynchronousQueueTest.spec.js.map +1 -1
  155. package/target/test/xhrCore/EventTests.spec.js +7 -7
  156. package/target/test/xhrCore/EventTests.spec.js.map +1 -1
  157. package/target/test/xhrCore/FakeWebsocket.js +1 -1
  158. package/target/test/xhrCore/FileUploadTest.spec.js +5 -5
  159. package/target/test/xhrCore/FileUploadTest.spec.js.map +1 -1
  160. package/target/test/xhrCore/RequestParamsTest.spec.js +23 -23
  161. package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
  162. package/target/test/xhrCore/RequestTest.spec.js +11 -11
  163. package/target/test/xhrCore/RequestTest.spec.js.map +1 -1
  164. package/target/test/xhrCore/ResponseTest.spec.js +22 -22
  165. package/target/test/xhrCore/ResponseTest.spec.js.map +1 -1
  166. package/target/test/xhrCore/ShadowDomTest.spec.js +3 -4
  167. package/target/test/xhrCore/ShadowDomTest.spec.js.map +1 -1
  168. package/target/test/xhrCore/WebsocketTest.js +8 -8
  169. package/target/test/xhrCore/WebsocketTest.js.map +1 -1
  170. package/target/test/xhrCore/XhrFormDataTest.spec.js +1 -1
  171. package/webpack.config.ts +23 -4
  172. package/integrationdeploy.cmd +0 -4
  173. package/integrationsdeploy.sh +0 -5
  174. package/remap.js +0 -44
  175. package/remap.js.map +0 -1
  176. package/webpack.config.js +0 -68
  177. package/webpack.config.js.map +0 -1
@@ -1,4 +1,4 @@
1
- /* Licensed to the Apache Software Foundation (ASF) under one or more
1
+ /*! Licensed to the Apache Software Foundation (ASF) under one or more
2
2
  * contributor license agreements. See the NOTICE file distributed with
3
3
  * this work for additional information regarding copyright ownership.
4
4
  * The ASF licenses this file to you under the Apache License, Version 2.0
@@ -25,7 +25,7 @@ import protocolPage = StandardInits.protocolPage;
25
25
  import {DQ} from "mona-dish";
26
26
  import {Optional} from "mona-dish";
27
27
 
28
- declare var jsf: any;
28
+ declare var faces: any;
29
29
  declare var Implementation: any;
30
30
 
31
31
  /**
@@ -205,7 +205,7 @@ describe('Tests of the various aspects of the response protocol functionality',
205
205
  DQ.byId("cmd_viewstate").click();
206
206
 
207
207
  this.respond(XmlResponses.VIEWSTATE_1);
208
- let viewStateElem = DQ.byId('javax.faces.ViewState');
208
+ let viewStateElem = DQ.byId('jakarta.faces.ViewState');
209
209
  expect(viewStateElem.inputValue.value == "hello world").to.be.true;
210
210
  });
211
211
 
@@ -235,7 +235,7 @@ describe('Tests of the various aspects of the response protocol functionality',
235
235
  /*js full submit form, coming from the integration tests*/
236
236
  window.document.body.innerHTML = `<form id="j_id__v_0" name="j_id__v_0" method="post" action="/IntegrationJSTest/integrationtestsjasmine/test7-eventtest.jsf"
237
237
  enctype="application/x-www-form-urlencoded"><span id="updatePanel">hello world</span><a href="#"
238
- onclick="return jsf.util.chain(this, event,'return false;', 'return myfaces.ab(\'j_id_1l\',\'updateTrigger\');');"
238
+ onclick="return faces.util.chain(this, event,'return false;', 'return myfaces.ab(\'j_id_1l\',\'updateTrigger\');');"
239
239
  id="updateTrigger"
240
240
  name="updateTrigger"
241
241
  class="updateTrigger">[Press
@@ -243,7 +243,7 @@ describe('Tests of the various aspects of the response protocol functionality',
243
243
  </form>`;
244
244
 
245
245
 
246
- jsf.ajax.request(window.document.getElementById("updateTrigger"), null, {
246
+ faces.ajax.request(window.document.getElementById("updateTrigger"), null, {
247
247
  render: "updatePanel",
248
248
  execute: "updatePanel updateTrigger"
249
249
  });
@@ -253,15 +253,15 @@ describe('Tests of the various aspects of the response protocol functionality',
253
253
  <partial-response id="j_id__v_0">
254
254
  <changes>
255
255
  <update id="updatePanel"><![CDATA[<span id="updatePanel">hello world</span>]]></update>
256
- <update id="j_id__v_0:javax.faces.ViewState:1"><![CDATA[RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD]]></update>
256
+ <update id="j_id__v_0:jakarta.faces.ViewState:1"><![CDATA[RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD]]></update>
257
257
  </changes>
258
258
  </partial-response>`);
259
259
 
260
260
 
261
- expect(DQ.byId("javax.faces.ViewState").isAbsent()).to.be.false;
261
+ expect(DQ.byId("jakarta.faces.ViewState").isAbsent()).to.be.false;
262
262
 
263
- expect((<HTMLInputElement>document.getElementById("javax.faces.ViewState")).value == "RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD").to.be.true;
264
- expect(DQ.byId("javax.faces.ViewState").inputValue.value == "RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD").to.be.true;
263
+ expect((<HTMLInputElement>document.getElementById("jakarta.faces.ViewState")).value == "RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD").to.be.true;
264
+ expect(DQ.byId("jakarta.faces.ViewState").inputValue.value == "RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD").to.be.true;
265
265
  });
266
266
 
267
267
 
@@ -272,7 +272,7 @@ describe('Tests of the various aspects of the response protocol functionality',
272
272
  /*js full submit form, coming from the integration tests*/
273
273
  window.document.body.innerHTML = `<form id="j_id__v_0" name="j_id__v_0" method="post" action="/IntegrationJSTest/integrationtestsjasmine/test7-eventtest.jsf"
274
274
  enctype="application/x-www-form-urlencoded"><span id="updatePanel">hello world</span><a href="#"
275
- onclick="return jsf.util.chain(this, event,'return false;', 'return myfaces.ab(\'j_id_1l\',\'updateTrigger\');');"
275
+ onclick="return faces.util.chain(this, event,'return false;', 'return myfaces.ab(\'j_id_1l\',\'updateTrigger\');');"
276
276
  id="updateTrigger"
277
277
  name="updateTrigger"
278
278
  class="updateTrigger">[Press
@@ -280,7 +280,7 @@ describe('Tests of the various aspects of the response protocol functionality',
280
280
  </form>`;
281
281
 
282
282
 
283
- jsf.ajax.request(window.document.getElementById("updateTrigger"), null, {
283
+ faces.ajax.request(window.document.getElementById("updateTrigger"), null, {
284
284
  render: "updatePanel",
285
285
  execute: "updatePanel updateTrigger"
286
286
  });
@@ -290,17 +290,17 @@ describe('Tests of the various aspects of the response protocol functionality',
290
290
  <partial-response id="j_id__v_0">
291
291
  <changes>
292
292
  <update id="updatePanel"><![CDATA[<span id="updatePanel">hello world</span>]]></update>
293
- <update id="j_id__v_0:javax.faces.ViewState:1"><![CDATA[RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD]]><!--
293
+ <update id="j_id__v_0:jakarta.faces.ViewState:1"><![CDATA[RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD]]><!--
294
294
  Some random junk which is sent by the server
295
295
  --></update>
296
296
  </changes>
297
297
  </partial-response>`);
298
298
 
299
299
 
300
- expect(DQ.byId("javax.faces.ViewState").isAbsent()).to.be.false;
300
+ expect(DQ.byId("jakarta.faces.ViewState").isAbsent()).to.be.false;
301
301
 
302
- expect((<HTMLInputElement>document.getElementById("javax.faces.ViewState")).value == "RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD").to.be.true;
303
- expect(DQ.byId("javax.faces.ViewState").inputValue.value == "RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD").to.be.true;
302
+ expect((<HTMLInputElement>document.getElementById("jakarta.faces.ViewState")).value == "RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD").to.be.true;
303
+ expect(DQ.byId("jakarta.faces.ViewState").inputValue.value == "RTUyRDI0NzE4QzAxM0E5RDAwMDAwMDVD").to.be.true;
304
304
  });
305
305
 
306
306
 
@@ -312,7 +312,7 @@ describe('Tests of the various aspects of the response protocol functionality',
312
312
  it("must have updated the client window tag properly", function () {
313
313
  window.document.body.innerHTML = `<tobago-page locale='en' class='container-fluid' id='page'>
314
314
  <form action='/IntegrationJSTest/integrationtestsjasmine/tobago-jfwid-test.jsf' id='page::form' method='post' accept-charset='UTF-8' data-tobago-context-path=''>
315
- <input type='hidden' name='javax.faces.source' id='javax.faces.source' disabled='disabled'>
315
+ <input type='hidden' name='jakarta.faces.source' id='jakarta.faces.source' disabled='disabled'>
316
316
  <tobago-focus id='page::lastFocusId'>
317
317
  <input type='hidden' name='page::lastFocusId' id='page::lastFocusId::field'>
318
318
  </tobago-focus>
@@ -326,19 +326,19 @@ describe('Tests of the various aspects of the response protocol functionality',
326
326
  </div>
327
327
  <div class='tobago-page-menuStore'></div>
328
328
  <span id='page::jsf-state-container'>
329
- <input type='hidden' name='javax.faces.ViewState' id='j_id__v_0:javax.faces.ViewState:1' value='RkExQ0Q1NTYzOTNCNzg0RjAwMDAwMDE4' autocomplete='off'>
330
- <input type='hidden' name='javax.faces.RenderKitId' value='tobago'>
331
- <input type='hidden' id='j_id__v_0:javax.faces.ClientWindow:1' name='javax.faces.ClientWindow' value='5m10kooxi'>
329
+ <input type='hidden' name='jakarta.faces.ViewState' id='j_id__v_0:jakarta.faces.ViewState:1' value='RkExQ0Q1NTYzOTNCNzg0RjAwMDAwMDE4' autocomplete='off'>
330
+ <input type='hidden' name='jakarta.faces.RenderKitId' value='tobago'>
331
+ <input type='hidden' id='j_id__v_0:jakarta.faces.ClientWindow:1' name='jakarta.faces.ClientWindow' value='5m10kooxi'>
332
332
  </span>
333
333
  </form>
334
334
  </tobago-page>`;
335
335
 
336
336
  expect(DQ.querySelectorAll("#page\\:output tobago-out").textContent() === "").to.be.true;
337
- expect(DQ.byId("j_id__v_0:javax.faces.ViewState:1").isAbsent()).to.be.false;
338
- expect(DQ.byId("j_id__v_0:javax.faces.ClientWindow:1").isAbsent()).to.be.false;
337
+ expect(DQ.byId("j_id__v_0:jakarta.faces.ViewState:1").isAbsent()).to.be.false;
338
+ expect(DQ.byId("j_id__v_0:jakarta.faces.ClientWindow:1").isAbsent()).to.be.false;
339
339
 
340
- jsf.ajax.request(window.document.getElementById("page:input"), "change", {
341
- "javax.faces.behavior.event": "change",
340
+ faces.ajax.request(window.document.getElementById("page:input"), "change", {
341
+ "jakarta.faces.behavior.event": "change",
342
342
  execute: "page:input",
343
343
  render: "page:output"
344
344
  });
@@ -351,16 +351,16 @@ describe('Tests of the various aspects of the response protocol functionality',
351
351
  <tobago-out class='form-control-plaintext'>Alice</tobago-out>
352
352
  </div>]]>
353
353
  </update>
354
- <update id='j_id__v_0:javax.faces.ViewState:1'><![CDATA[MDQwQzkxNkU0MTg0RTQxRjAwMDAwMDE3]]>
354
+ <update id='j_id__v_0:jakarta.faces.ViewState:1'><![CDATA[MDQwQzkxNkU0MTg0RTQxRjAwMDAwMDE3]]>
355
355
  </update>
356
- <update id='j_id__v_0:javax.faces.ClientWindow:1'><![CDATA[5m10kooxg]]>
356
+ <update id='j_id__v_0:jakarta.faces.ClientWindow:1'><![CDATA[5m10kooxg]]>
357
357
  </update>
358
358
  </changes>
359
359
  </partial-response>`);
360
360
 
361
361
  expect(DQ.querySelectorAll("#page\\:output tobago-out").textContent() === "Alice").to.be.true;
362
- expect(DQ.byId("j_id__v_0:javax.faces.ViewState:1").isAbsent()).to.be.false;
363
- expect(DQ.byId("j_id__v_0:javax.faces.ClientWindow:1").isAbsent()).to.be.false;
362
+ expect(DQ.byId("j_id__v_0:jakarta.faces.ViewState:1").isAbsent()).to.be.false;
363
+ expect(DQ.byId("j_id__v_0:jakarta.faces.ClientWindow:1").isAbsent()).to.be.false;
364
364
  });
365
365
 
366
366
 
@@ -1,4 +1,4 @@
1
- /* Licensed to the Apache Software Foundation (ASF) under one or more
1
+ /*! Licensed to the Apache Software Foundation (ASF) under one or more
2
2
  * contributor license agreements. See the NOTICE file distributed with
3
3
  * this work for additional information regarding copyright ownership.
4
4
  * The ASF licenses this file to you under the Apache License, Version 2.0
@@ -28,9 +28,8 @@ import shadowDomMyFaces = StandardInits.shadowDomMyFaces;
28
28
 
29
29
  sinon.reset();
30
30
 
31
- declare var jsf: any;
32
31
  declare var Implementation: any;
33
-
32
+ declare const window: any;
34
33
 
35
34
  describe('shadow dom testsuite', () => {
36
35
 
@@ -68,14 +67,13 @@ describe('shadow dom testsuite', () => {
68
67
 
69
68
 
70
69
  it("shadow dom behavior tested", function() {
71
- const Impl = Implementation;
72
70
  //const addRequestToQueue = sinon.stub(Impl.queueHandler, "addRequestToQueue");
73
71
 
74
72
  expect(DomQuery.querySelectorAll("#shadowDomArea").length).to.eq(1);
75
73
  expect(DomQuery.querySelectorAll("* /shadow/ #shadowContent").length).to.eq(1);
76
74
 
77
75
  DomQuery.byId("blarg:input_1", true).addEventListener("click", (event: Event) => {
78
- jsf.ajax.request(event.target, event, {render: 'shadowContent', execute: '@this'})
76
+ window.faces.ajax.request(event.target, event, {render: 'shadowContent', execute: '@this'})
79
77
  }).click();
80
78
  this.respond(XmlResponses.SHADOW_DOM_UPDATE);
81
79
 
@@ -94,7 +92,7 @@ describe('shadow dom testsuite', () => {
94
92
 
95
93
 
96
94
  DomQuery.byId("input_3", true).addEventListener("click", (event: Event) => {
97
- jsf.ajax.request(event.target, event, {render: 'shadowContent', execute: '@this'})
95
+ window.faces.ajax.request(event.target, event, {render: 'shadowContent', execute: '@this'});
98
96
  }).click();
99
97
  this.respond(XmlResponses.SHADOW_DOM_UPDATE);
100
98
 
@@ -1,4 +1,4 @@
1
- /* Licensed to the Apache Software Foundation (ASF) under one or more
1
+ /*! Licensed to the Apache Software Foundation (ASF) under one or more
2
2
  * contributor license agreements. See the NOTICE file distributed with
3
3
  * this work for additional information regarding copyright ownership.
4
4
  * The ASF licenses this file to you under the Apache License, Version 2.0
@@ -25,7 +25,7 @@ import {Lang} from "mona-dish";
25
25
  import {FakeWebsocket} from "./FakeWebsocket";
26
26
  import assertType = Lang.assertType;
27
27
 
28
- declare var jsf: any;
28
+ declare var faces: any;
29
29
 
30
30
  describe('Tests the jsf websocket client side api on high level (generic test without any myfaces dependencies', function () {
31
31
 
@@ -43,7 +43,7 @@ describe('Tests the jsf websocket client side api on high level (generic test wi
43
43
  (<any>global).XMLHttpRequest = this.xhr;
44
44
  (<any>window).XMLHttpRequest = this.xhr;
45
45
 
46
- this.jsfAjaxResponse = sinon.stub((<any>global).jsf.ajax, "response");
46
+ this.jsfAjaxResponse = sinon.stub((<any>global).faces.ajax, "response");
47
47
 
48
48
  this.fakeWebsocket = new FakeWebsocket();
49
49
  this.socket = sinon.stub(window, 'WebSocket').returns(this.fakeWebsocket);
@@ -86,7 +86,7 @@ describe('Tests the jsf websocket client side api on high level (generic test wi
86
86
 
87
87
  try {
88
88
 
89
- jsf.push.init("clientId1", "booga.ws", "mychannel", () => {
89
+ faces.push.init("clientId1", "booga.ws", "mychannel", () => {
90
90
  done();
91
91
  },
92
92
  () => {
@@ -127,7 +127,7 @@ describe('Tests the jsf websocket client side api on high level (generic test wi
127
127
  let msg = null;
128
128
  let cnl = null;
129
129
  new Promise((resolve, reject) => {
130
- jsf.push.init("blarg", "booga.ws", "mychannel", () => {
130
+ faces.push.init("blarg", "booga.ws", "mychannel", () => {
131
131
  openCalled = true;
132
132
  this.fakeWebsocket._respond({data: '"booga"'});
133
133
  },
@@ -155,7 +155,7 @@ describe('Tests the jsf websocket client side api on high level (generic test wi
155
155
 
156
156
  expect(closeCalled, "websocket still open").to.be.false;
157
157
 
158
- jsf.push.close("blarg");
158
+ faces.push.close("blarg");
159
159
  expect(closeCalled, "websocket now closed").to.be.true;
160
160
 
161
161
 
@@ -175,7 +175,7 @@ describe('Tests the jsf websocket client side api on high level (generic test wi
175
175
  let msg = null;
176
176
  let cnl = null;
177
177
  new Promise((resolve, reject) => {
178
- jsf.push.init("blarg", "booga.ws", "mychannel", () => {
178
+ faces.push.init("blarg", "booga.ws", "mychannel", () => {
179
179
  openCalled = true;
180
180
  this.fakeWebsocket._respond({data: '"booga"'});
181
181
  },
@@ -192,7 +192,7 @@ describe('Tests the jsf websocket client side api on high level (generic test wi
192
192
  "",
193
193
  false
194
194
  );
195
- jsf.push.open("blarg");
195
+ faces.push.open("blarg");
196
196
  }).then(() => {
197
197
  expect(openCalled, "Open must have been called due to open").to.be.true;
198
198
 
@@ -202,7 +202,7 @@ describe('Tests the jsf websocket client side api on high level (generic test wi
202
202
 
203
203
  expect(closeCalled, "websocket still open").to.be.false;
204
204
 
205
- jsf.push.close("blarg");
205
+ faces.push.close("blarg");
206
206
  expect(closeCalled, "websocket now closed").to.be.true;
207
207
 
208
208
 
@@ -1,4 +1,4 @@
1
- /* Licensed to the Apache Software Foundation (ASF) under one or more
1
+ /*! Licensed to the Apache Software Foundation (ASF) under one or more
2
2
  * contributor license agreements. See the NOTICE file distributed with
3
3
  * this work for additional information regarding copyright ownership.
4
4
  * The ASF licenses this file to you under the Apache License, Version 2.0
@@ -8,7 +8,7 @@ Special config to generate the tsdocs
8
8
 
9
9
  },
10
10
  "typedocOptions": {
11
- "entryPoints": ["api/Jsf.ts"],
11
+ "entryPoints": ["api/faces.ts"],
12
12
  "out": "../../../dist/docs",
13
13
  "externalPattern": "**/node_modules/**",
14
14
  "exclude": "**/{node_modules,test,doc,impl,myfaces}/**/*",
@@ -14,7 +14,7 @@
14
14
 
15
15
  /***/ "./src/main/typescript/api/Jsf.ts":
16
16
  /*!****************************************!*\
17
- !*** ./src/main/typescript/api/Jsf.ts ***!
17
+ !*** ./src/main/typescript/api/faces.ts ***!
18
18
  \****************************************/
19
19
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
20
20
 
package/target/api/Jsf.js CHANGED
@@ -1,5 +1,8 @@
1
1
  "use strict";
2
- /* Licensed to the Apache Software Foundation (ASF) under one or more
2
+ var _a;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.jsf = void 0;
5
+ /*! Licensed to the Apache Software Foundation (ASF) under one or more
3
6
  * contributor license agreements. See the NOTICE file distributed with
4
7
  * this work for additional information regarding copyright ownership.
5
8
  * The ASF licenses this file to you under the Apache License, Version 2.0
@@ -14,247 +17,16 @@
14
17
  * See the License for the specific language governing permissions and
15
18
  * limitations under the License.
16
19
  */
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
- Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.myfaces = exports.jsf = void 0;
28
- ///<reference types='../../types/typedefs'/>
29
- var AjaxImpl_1 = require("../impl/AjaxImpl");
30
- var PushImpl_1 = require("../impl/PushImpl");
31
- var OamSubmit_1 = require("../myfaces/OamSubmit");
32
- //declare const Implementation: any;
33
- var jsf;
34
- (function (jsf) {
35
- "use strict";
36
- /*
37
- * Version of the implementation for the jsf.js.
38
- * <p />
39
- * as specified within the jsf specifications jsf.html:
40
- * <ul>
41
- * <li>left two digits major release number</li>
42
- * <li>middle two digits minor spec release number</li>
43
- * <li>right two digits bug release number</li>
44
- * </ul>
45
- * @constant
46
- */
47
- jsf.specversion = 220000;
48
- /**
49
- * Implementation version as specified within the jsf specification.
50
- * <p />
51
- * A number increased with every implementation version
52
- * and reset by moving to a new spec release number
53
- *
54
- * @constant
55
- */
56
- jsf.implversion = 0;
57
- /**
58
- * SeparatorChar as defined by UINamingContainer.getNamingContainerSeparatorChar()
59
- * @type {Char}
60
- */
61
- jsf.separatorchar = getSeparatorChar();
62
- /**
63
- * This method is responsible for the return of a given project stage as defined
64
- * by the jsf specification.
65
- * <p/>
66
- * Valid return values are:
67
- * <ul>
68
- * <li>&quot;Production&quot;</li>
69
- * <li>&quot;Development&quot;</li>
70
- * <li>&quot;SystemTest&quot;</li>
71
- * <li>&quot;UnitTest&quot;</li>
72
- * </li>
73
- *
74
- * @return {String} the current project state emitted by the server side method:
75
- * <i>javax.faces.application.Application.getProjectStage()</i>
76
- */
77
- function getProjectStage() {
78
- return AjaxImpl_1.Implementation.getProjectStage();
79
- }
80
- jsf.getProjectStage = getProjectStage;
81
- /**
82
- * collect and encode data for a given form element (must be of type form)
83
- * find the javax.faces.ViewState element and encode its value as well!
84
- * return a concatenated string of the encoded values!
85
- *
86
- * @throws an exception in case of the given element not being of type form!
87
- * https://issues.apache.org/jira/browse/MYFACES-2110
88
- */
89
- function getViewState(formElement) {
90
- return AjaxImpl_1.Implementation.getViewState(formElement);
91
- }
92
- jsf.getViewState = getViewState;
93
- /**
94
- * returns the window identifier for the given node / window
95
- * @return the window identifier or null if none is found
96
- * @param rootNode
97
- */
98
- function getClientWindow(rootNode) {
99
- return AjaxImpl_1.Implementation.getClientWindow(rootNode);
100
- }
101
- jsf.getClientWindow = getClientWindow;
102
- //private helper functions
103
- function getSeparatorChar() {
104
- return AjaxImpl_1.Implementation.getSeparatorChar();
105
- }
106
- var ajax;
107
- (function (ajax) {
108
- "use strict";
109
- /**
110
- * this function has to send the ajax requests
111
- *
112
- * following requestInternal conditions must be met:
113
- * <ul>
114
- * <li> the requestInternal must be sent asynchronously! </li>
115
- * <li> the requestInternal must be a POST!!! requestInternal </li>
116
- * <li> the requestInternal url must be the form action attribute </li>
117
- * <li> all requests must be queued with a client side requestInternal queue to ensure the requestInternal ordering!</li>
118
- * </ul>
119
- *
120
- * @param {String|Node} element: any dom element no matter being it html or jsf, from which the event is emitted
121
- * @param {EVENT} event: any javascript event supported by that object
122
- * @param {Map} options : map of options being pushed into the ajax cycle
123
- */
124
- function request(element, event, options) {
125
- AjaxImpl_1.Implementation.request(element, event, options);
126
- //Implementation.getInstance().requestInternal(element, event, options);
127
- }
128
- ajax.request = request;
129
- /**
130
- * response handler
131
- * @param request the request object having triggered this response
132
- * @param context the request context
133
- *
134
- * TODO add info on what can be in the context
135
- */
136
- function response(request, context) {
137
- AjaxImpl_1.Implementation.response(request, context);
138
- }
139
- ajax.response = response;
140
- /**
141
- * Adds an error handler to our global error queue.
142
- * the error handler must be of the format <i>function errorListener(&lt;errorData&gt;)</i>
143
- * with errorData being of following format:
144
- * <ul>
145
- * <li> errorData.type : &quot;error&quot;</li>
146
- * <li> errorData.status : the error status message</li>
147
- * <li> errorData.serverErrorName : the server error name in case of a server error</li>
148
- * <li> errorData.serverErrorMessage : the server error message in case of a server error</li>
149
- * <li> errorData.source : the issuing source element which triggered the requestInternal </li>
150
- * <li> eventData.responseCode: the response code (aka http requestInternal response code, 401 etc...) </li>
151
- * <li> eventData.responseText: the requestInternal response text </li>
152
- * <li> eventData.responseXML: the requestInternal response xml </li>
153
- * </ul>
154
- *
155
- * @param {function} errorListener error handler must be of the format <i>function errorListener(&lt;errorData&gt;)</i>
156
- */
157
- function addOnError(errorFunc) {
158
- AjaxImpl_1.Implementation.addOnError(errorFunc);
159
- }
160
- ajax.addOnError = addOnError;
161
- /**
162
- * Adds a global event listener to the ajax event queue. The event listener must be a function
163
- * of following format: <i>function eventListener(&lt;eventData&gt;)</i>
164
- *
165
- * @param {function} eventListener event must be of the format <i>function eventListener(&lt;eventData&gt;)</i>
166
- */
167
- function addOnEvent(eventFunc) {
168
- AjaxImpl_1.Implementation.addOnEvent(eventFunc);
169
- }
170
- ajax.addOnEvent = addOnEvent;
171
- })(ajax = jsf.ajax || (jsf.ajax = {}));
172
- var util;
173
- (function (util) {
174
- /**
175
- * varargs function which executes a chain of code (functions or any other code)
176
- *
177
- * if any of the code returns false, the execution
178
- * is terminated prematurely skipping the rest of the code!
179
- *
180
- * @param {DomNode} source, the callee object
181
- * @param {Event} event, the event object of the callee event triggering this function
182
- * @param funcs ... arbitrary array of functions or strings
183
- * @returns true if the chain has succeeded false otherwise
184
- */
185
- function chain(source, event) {
186
- var funcs = [];
187
- for (var _i = 2; _i < arguments.length; _i++) {
188
- funcs[_i - 2] = arguments[_i];
189
- }
190
- return AjaxImpl_1.Implementation.chain.apply(AjaxImpl_1.Implementation, __spreadArray([source, event], funcs, false));
191
- }
192
- util.chain = chain;
193
- })(util = jsf.util || (jsf.util = {}));
194
- var push;
195
- (function (push) {
196
- /**
197
- * @param {function} onopen The function to be invoked when the web socket is opened.
198
- * @param {function} onmessage The function to be invoked when a message is received.
199
- * @param {function} onclose The function to be invoked when the web socket is closed.
200
- * @param {boolean} autoconnect Whether or not to immediately open the socket. Defaults to <code>false</code>.
201
- */
202
- function init(socketClientId, uri, channel, onopen, onmessage, onclose, behaviorScripts, autoconnect) {
203
- PushImpl_1.PushImpl.init(socketClientId, uri, channel, onopen, onmessage, onclose, behaviorScripts, autoconnect);
204
- }
205
- push.init = init;
206
- /**
207
- * Open the web socket on the given channel.
208
- * @param {string} channel The name of the web socket channel.
209
- * @throws {Error} When channel is unknown.
210
- */
211
- function open(socketClientId) {
212
- PushImpl_1.PushImpl.open(socketClientId);
213
- }
214
- push.open = open;
215
- /**
216
- * Close the web socket on the given channel.
217
- * @param {string} channel The name of the web socket channel.
218
- * @throws {Error} When channel is unknown.
219
- */
220
- function close(socketClientId) {
221
- PushImpl_1.PushImpl.close(socketClientId);
222
- }
223
- push.close = close;
224
- })(push = jsf.push || (jsf.push = {}));
225
- })(jsf = exports.jsf || (exports.jsf = {}));
226
- //fullfill the window contract for the myfaces namespace
227
- var myfaces;
228
- (function (myfaces) {
229
- /**
230
- * AB function similar to mojarra and Primefaces
231
- * not part of the spec but a convenience accessor method
232
- * Code provided by Thomas Andraschko
233
- *
234
- * @param source the event source
235
- * @param event the event
236
- * @param eventName event name for java.javax.faces.behavior.evemnt
237
- * @param execute execute list as passed down in jsf.ajax.request
238
- * @param render
239
- * @param options
240
- */
241
- function ab(source, event, eventName, execute, render, options) {
242
- if (options === void 0) { options = {}; }
243
- if (eventName) {
244
- options["javax.faces.behavior.event"] = eventName;
245
- }
246
- if (execute) {
247
- options["execute"] = execute;
248
- }
249
- if (render) {
250
- options["render"] = render;
251
- }
252
- jsf.ajax.request(source, event, options);
253
- }
254
- myfaces.ab = ab;
255
- /**
256
- * legacy oam functions
257
- */
258
- myfaces.oam = OamSubmit_1.oam;
259
- })(myfaces = exports.myfaces || (exports.myfaces = {}));
260
- //# sourceMappingURL=Jsf.js.map
20
+ var faces_1 = require("./faces");
21
+ var Const_1 = require("../impl/core/Const");
22
+ /**
23
+ * jsf.js back compatibility shim layer
24
+ * the entire namespace for jsf and javax still is provided
25
+ */
26
+ if (!window.jsf) {
27
+ window['jsf'] = (_a = window === null || window === void 0 ? void 0 : window.jsf) !== null && _a !== void 0 ? _a : faces_1.faces;
28
+ window.jsf.specversion = 230000;
29
+ (0, Const_1.remapNamespacesFor23)();
30
+ }
31
+ exports.js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