jsf.js_next_gen 1.0.0-beta-19 → 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.
- package/.mocharc.json +2 -1
- package/.nyc_output/2303b649-59d9-485c-9228-73b0ec8787a7.json +1 -0
- package/.nyc_output/756f2f03-c85b-4cdb-9b92-5799eb45ef1e.json +1 -0
- package/.nyc_output/processinfo/2303b649-59d9-485c-9228-73b0ec8787a7.json +1 -0
- package/.nyc_output/processinfo/756f2f03-c85b-4cdb-9b92-5799eb45ef1e.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/.nycrc +2 -1
- package/README.md +81 -24
- package/dist/docs/assets/highlight.css +21 -0
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/assets/style.css +34 -2
- package/dist/docs/functions/{jsf.ajax.addOnError.html → faces.ajax.addOnError.html} +15 -13
- package/dist/docs/functions/{jsf.ajax.addOnEvent.html → faces.ajax.addOnEvent.html} +15 -13
- package/dist/docs/functions/{jsf.ajax.request.html → faces.ajax.request.html} +15 -13
- package/dist/docs/functions/{jsf.ajax.response.html → faces.ajax.response.html} +15 -13
- package/dist/docs/functions/{jsf.getClientWindow.html → faces.getClientWindow.html} +17 -14
- package/dist/docs/functions/{jsf.getProjectStage.html → faces.getProjectStage.html} +18 -15
- package/dist/docs/functions/{jsf.getViewState.html → faces.getViewState.html} +18 -15
- package/dist/docs/functions/{jsf.push.close.html → faces.push.close.html} +15 -13
- package/dist/docs/functions/{jsf.push.init.html → faces.push.init.html} +29 -19
- package/dist/docs/functions/{jsf.push.open.html → faces.push.open.html} +15 -13
- package/dist/docs/functions/{jsf.util.chain.html → faces.util.chain.html} +12 -10
- package/dist/docs/functions/myfaces.ab.html +10 -8
- package/dist/docs/index.html +74 -29
- package/dist/docs/modules/{jsf.ajax.html → faces.ajax.html} +18 -16
- package/dist/docs/modules/faces.html +75 -0
- package/dist/docs/modules/{jsf.push.html → faces.push.html} +16 -14
- package/dist/docs/modules/{jsf.util.html → faces.util.html} +12 -10
- package/dist/docs/modules/myfaces.html +8 -6
- package/dist/docs/modules.html +9 -7
- package/dist/docs/variables/faces.contextpath.html +57 -0
- package/dist/docs/variables/{jsf.implversion.html → faces.implversion.html} +17 -14
- package/dist/docs/variables/{jsf.separatorchar.html → faces.separatorchar.html} +18 -15
- package/dist/docs/variables/faces.specversion.html +64 -0
- package/dist/docs/variables/myfaces.oam.html +8 -6
- package/dist/window/faces-development.js +7688 -0
- package/dist/window/faces-development.js.br +0 -0
- package/dist/window/faces-development.js.gz +0 -0
- package/dist/window/faces-development.js.map +1 -0
- package/dist/window/faces.js +3 -0
- package/dist/window/faces.js.LICENSE.txt +87 -0
- package/dist/window/faces.js.br +0 -0
- package/dist/window/faces.js.gz +0 -0
- package/dist/window/faces.js.map +1 -0
- package/dist/window/jsf-development.js +3043 -3018
- package/dist/window/jsf-development.js.br +0 -0
- package/dist/window/jsf-development.js.gz +0 -0
- package/dist/window/jsf-development.js.map +1 -1
- package/dist/window/jsf.js +2 -1
- package/dist/window/jsf.js.LICENSE.txt +87 -0
- package/dist/window/jsf.js.br +0 -0
- package/dist/window/jsf.js.gz +0 -0
- package/dist/window/jsf.js.map +1 -1
- package/package.json +12 -12
- package/pom.xml +14 -0
- package/src/main/java/com/example/jsfs_js_ts/DecoratedFacesJS.java +94 -0
- package/src/main/java/com/example/jsfs_js_ts/DecoratingResourceHandlerWrapper.java +54 -0
- package/src/main/java/com/example/jsfs_js_ts/FacesJSMapFileResourceWrapper.java +57 -0
- package/src/main/java/com/example/jsfs_js_ts/FacesJSMappingDecorator.java +138 -0
- package/src/main/typescript/@types/definitions/index.d.ts +147 -0
- package/src/main/typescript/api/{Jsf.ts → _api.ts} +61 -49
- package/src/main/typescript/api/faces.ts +44 -0
- package/src/main/typescript/api/jsf.ts +43 -0
- package/src/main/typescript/impl/AjaxImpl.ts +39 -42
- package/src/main/typescript/impl/PushImpl.ts +27 -30
- package/src/main/typescript/impl/core/Const.ts +38 -16
- package/src/main/typescript/impl/core/ImplTypes.ts +1 -1
- package/src/main/typescript/impl/i18n/Messages.ts +2 -2
- package/src/main/typescript/impl/util/Assertions.ts +3 -3
- package/src/main/typescript/impl/util/AsyncQueue.ts +1 -1
- package/src/main/typescript/impl/util/AsyncRunnable.ts +5 -5
- package/src/main/typescript/impl/util/ExtDomQuery.ts +200 -48
- package/src/main/typescript/impl/util/IListener.ts +1 -1
- package/src/main/typescript/impl/util/Lang.ts +25 -25
- package/src/main/typescript/impl/xhrCore/ErrorData.ts +2 -3
- package/src/main/typescript/impl/xhrCore/EventData.ts +4 -3
- package/src/main/typescript/impl/xhrCore/IResponseProcessor.ts +19 -11
- package/src/main/typescript/impl/xhrCore/RequestDataResolver.ts +15 -14
- package/src/main/typescript/impl/xhrCore/ResonseDataResolver.ts +15 -11
- package/src/main/typescript/impl/xhrCore/Response.ts +30 -24
- package/src/main/typescript/impl/xhrCore/ResponseProcessor.ts +69 -49
- package/src/main/typescript/impl/xhrCore/XhrFormData.ts +9 -7
- package/src/main/typescript/impl/xhrCore/XhrRequest.ts +76 -60
- package/src/main/typescript/myfaces/OamSubmit.ts +51 -86
- package/src/main/typescript/test/frameworkBase/_ext/monadish/DomQueryTest.spec.ts +277 -65
- package/src/main/typescript/test/frameworkBase/_ext/monadish/LangTest.spec.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/MappingProbes.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/MappingTest.spec.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/MonadTest.spec.ts +1 -6
- package/src/main/typescript/test/frameworkBase/_ext/monadish/StreamTest.spec.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/fixtures/test.js +1 -0
- package/src/main/typescript/test/frameworkBase/_ext/monadish/fixtures/test2.js +1 -0
- package/src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts +78 -33
- package/src/main/typescript/test/frameworkBase/_ext/shared/XmlResponses.ts +44 -4
- package/src/main/typescript/test/impl/ImplTest.spec.ts +18 -22
- package/src/main/typescript/test/impl/ImplTest_23.spec.ts +129 -0
- package/src/main/typescript/test/impl/SeparatorCharsTest.spec.ts +7 -7
- package/src/main/typescript/test/myfaces/OamSubmit.spec.ts +99 -17
- package/src/main/typescript/test/queue/AsynchronousProbe.ts +1 -1
- package/src/main/typescript/test/queue/AsynchronousQueueTest.spec.ts +4 -4
- package/src/main/typescript/test/xhrCore/EventTests.spec.ts +15 -23
- package/src/main/typescript/test/xhrCore/FakeWebsocket.ts +3 -3
- package/src/main/typescript/test/xhrCore/FileUploadTest.spec.ts +7 -32
- package/src/main/typescript/test/xhrCore/RequestParamsTest.spec.ts +16 -37
- package/src/main/typescript/test/xhrCore/RequestTest.spec.ts +17 -16
- package/src/main/typescript/test/xhrCore/RequestTest_23.spec.ts +364 -0
- package/src/main/typescript/test/xhrCore/ResponseTest.spec.ts +102 -47
- package/src/main/typescript/test/xhrCore/ResponseTest23.spec.ts +362 -0
- package/src/main/typescript/test/xhrCore/ShadowDomTest.spec.ts +6 -9
- package/src/main/typescript/test/xhrCore/WebsocketTest.ts +15 -15
- package/src/main/typescript/test/xhrCore/XhrFormDataTest.spec.ts +3 -3
- package/{target/main/typescript/impl/util/AsyncRunnable.js → src/main/typescript/test/xhrCore/fixtures/addedViewHead1.js} +4 -6
- package/src/main/typescript/test/xhrCore/fixtures/addedViewHead2.css +18 -0
- package/src/main/typescript/test/xhrCore/fixtures/addedViewHead2.js +16 -0
- package/src/main/typescript/test/xhrCore/fixtures/addedViewHead3.js +16 -0
- package/src/main/typescript/test/xhrCore/fixtures/nonce_script.js +16 -0
- package/src/main/typescript/tsconfig-typedoc.json +17 -1
- package/src/main/typescript/tsconfig.json +24 -5
- package/src/test/resources/jsf-development.js +1 -1
- package/src/test.html +75 -0
- package/src/tmp/test.html +92 -0
- package/target/api/{Jsf.js → _api.js} +68 -70
- package/target/api/_api.js.map +1 -0
- package/target/api/faces.js +45 -0
- package/target/api/faces.js.map +1 -0
- package/target/api/jsf.js +45 -0
- package/target/api/jsf.js.map +1 -0
- package/target/classes/com/example/jsfs_js_ts/DecoratedFacesJS.class +0 -0
- package/target/classes/com/example/jsfs_js_ts/DecoratingResourceHandlerWrapper.class +0 -0
- package/target/classes/com/example/jsfs_js_ts/FacesJSMapFileResourceWrapper.class +0 -0
- package/target/classes/com/example/jsfs_js_ts/FacesJSMappingDecorator.class +0 -0
- package/target/impl/AjaxImpl.js +85 -93
- package/target/impl/AjaxImpl.js.map +1 -1
- package/target/impl/PushImpl.js +63 -64
- package/target/impl/PushImpl.js.map +1 -1
- package/target/impl/core/Const.js +38 -19
- package/target/impl/core/Const.js.map +1 -1
- package/target/impl/core/ImplTypes.js +10 -15
- package/target/impl/core/ImplTypes.js.map +1 -1
- package/target/impl/i18n/Messages.js +5 -6
- package/target/impl/i18n/Messages.js.map +1 -1
- package/target/impl/util/Assertions.js +12 -21
- package/target/impl/util/Assertions.js.map +1 -1
- package/target/impl/util/AsyncQueue.js +28 -36
- package/target/impl/util/AsyncQueue.js.map +1 -1
- package/target/impl/util/AsyncRunnable.js +1 -1
- package/target/impl/util/ExtDomQuery.js +235 -138
- package/target/impl/util/ExtDomQuery.js.map +1 -1
- package/target/impl/util/Lang.js +43 -50
- package/target/impl/util/Lang.js.map +1 -1
- package/target/impl/xhrCore/ErrorData.js +37 -62
- package/target/impl/xhrCore/ErrorData.js.map +1 -1
- package/target/impl/xhrCore/EventData.js +12 -14
- package/target/impl/xhrCore/EventData.js.map +1 -1
- package/target/impl/xhrCore/RequestDataResolver.js +27 -29
- package/target/impl/xhrCore/RequestDataResolver.js.map +1 -1
- package/target/impl/xhrCore/ResonseDataResolver.js +25 -23
- package/target/impl/xhrCore/ResonseDataResolver.js.map +1 -1
- package/target/impl/xhrCore/Response.js +40 -36
- package/target/impl/xhrCore/Response.js.map +1 -1
- package/target/impl/xhrCore/ResponseProcessor.js +165 -167
- package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
- package/target/impl/xhrCore/XhrFormData.js +75 -103
- package/target/impl/xhrCore/XhrFormData.js.map +1 -1
- package/target/impl/xhrCore/XhrRequest.js +160 -145
- package/target/impl/xhrCore/XhrRequest.js.map +1 -1
- package/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
- package/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +4 -0
- package/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst +1 -0
- package/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +1 -0
- package/target/myfaces/OamSubmit.js +63 -74
- package/target/myfaces/OamSubmit.js.map +1 -1
- package/target/surefire-reports/TEST-com.example.jsfs_js_ts.JsfsJsTsApplicationTests.xml +78 -0
- package/target/surefire-reports/com.example.jsfs_js_ts.JsfsJsTsApplicationTests.txt +7 -0
- package/target/test/frameworkBase/LangTest.spec.js +46 -32
- package/target/test/frameworkBase/LangTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js +372 -111
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js +46 -32
- package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/MappingProbes.js +25 -34
- package/target/test/frameworkBase/_ext/monadish/MappingProbes.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/MappingTest.spec.js +9 -9
- package/target/test/frameworkBase/_ext/monadish/MappingTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js +32 -37
- package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js +51 -49
- package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/shared/StandardInits.js +300 -121
- package/target/test/frameworkBase/_ext/shared/StandardInits.js.map +1 -1
- package/target/test/frameworkBase/_ext/shared/XmlResponses.js +199 -18
- package/target/test/frameworkBase/_ext/shared/XmlResponses.js.map +1 -1
- package/target/test/impl/ImplTest.spec.js +68 -33
- package/target/test/impl/ImplTest.spec.js.map +1 -1
- package/target/test/impl/ImplTest_23.spec.js +133 -0
- package/target/test/impl/ImplTest_23.spec.js.map +1 -0
- package/target/test/impl/SeparatorCharsTest.spec.js +45 -21
- package/target/test/impl/SeparatorCharsTest.spec.js.map +1 -1
- package/target/test/myfaces/OamSubmit.spec.js +90 -18
- package/target/test/myfaces/OamSubmit.spec.js.map +1 -1
- package/target/test/queue/AsynchronousProbe.js +24 -30
- package/target/test/queue/AsynchronousProbe.js.map +1 -1
- package/target/test/queue/AsynchronousQueueTest.spec.js +63 -71
- package/target/test/queue/AsynchronousQueueTest.spec.js.map +1 -1
- package/target/test/xhrCore/EventTests.spec.js +70 -83
- package/target/test/xhrCore/EventTests.spec.js.map +1 -1
- package/target/test/xhrCore/FakeWebsocket.js +15 -17
- package/target/test/xhrCore/FakeWebsocket.js.map +1 -1
- package/target/test/xhrCore/FileUploadTest.spec.js +73 -91
- package/target/test/xhrCore/FileUploadTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestParamsTest.spec.js +72 -98
- package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestTest.spec.js +107 -120
- package/target/test/xhrCore/RequestTest.spec.js.map +1 -1
- package/target/test/{typescript/xhrCore/RequestTest.js → xhrCore/RequestTest_23.spec.js} +142 -127
- package/target/test/xhrCore/RequestTest_23.spec.js.map +1 -0
- package/target/test/xhrCore/ResponseTest.spec.js +206 -105
- package/target/test/xhrCore/ResponseTest.spec.js.map +1 -1
- package/target/test/xhrCore/ResponseTest23.spec.js +312 -0
- package/target/test/xhrCore/ResponseTest23.spec.js.map +1 -0
- package/target/test/xhrCore/ShadowDomTest.spec.js +56 -66
- package/target/test/xhrCore/ShadowDomTest.spec.js.map +1 -1
- package/target/test/xhrCore/WebsocketTest.js +87 -97
- package/target/test/xhrCore/WebsocketTest.js.map +1 -1
- package/target/test/xhrCore/XhrFormDataTest.spec.js +65 -16
- package/target/test/xhrCore/XhrFormDataTest.spec.js.map +1 -1
- package/target/test-classes/jsf-development.js +452 -3674
- package/target/test-classes/jsf.js +1 -1
- package/target/test-classes/jsf.js.br +0 -0
- package/target/test-classes/jsf.js.gz +0 -0
- package/webpack.config.js +7 -4
- package/webpack.config.js.map +1 -1
- package/webpack.config.ts +23 -4
- package/dist/docs/modules/jsf.html +0 -71
- package/dist/docs/variables/jsf.specversion.html +0 -52
- package/integrationdeploy.cmd +0 -4
- package/integrationsdeploy.sh +0 -5
- package/remap.js +0 -44
- package/remap.js.map +0 -1
- package/src/main/java/com/example/jsfs_js_ts/JsfsJsTsApplication.java +0 -12
- package/src/main/types/typedefs.d.ts +0 -66
- package/target/api/Jsf.js.map +0 -1
- package/target/classes/com/example/jsfs_js_ts/JsfsJsTsApplication.class +0 -0
- package/target/impl/util/ListenerQueue.js +0 -3
- package/target/impl/util/ListenerQueue.js.map +0 -1
- package/target/main/typescript/api/Jsf.js +0 -258
- package/target/main/typescript/api/Jsf.js.map +0 -1
- package/target/main/typescript/impl/AjaxImpl.js +0 -569
- package/target/main/typescript/impl/AjaxImpl.js.map +0 -1
- package/target/main/typescript/impl/PushImpl.js +0 -215
- package/target/main/typescript/impl/PushImpl.js.map +0 -1
- package/target/main/typescript/impl/core/Const.js +0 -135
- package/target/main/typescript/impl/core/Const.js.map +0 -1
- package/target/main/typescript/impl/core/ImplTypes.js +0 -43
- package/target/main/typescript/impl/core/ImplTypes.js.map +0 -1
- package/target/main/typescript/impl/i18n/Messages.js +0 -114
- package/target/main/typescript/impl/i18n/Messages.js.map +0 -1
- package/target/main/typescript/impl/util/Assertions.js +0 -90
- package/target/main/typescript/impl/util/Assertions.js.map +0 -1
- package/target/main/typescript/impl/util/AsyncQueue.js +0 -104
- package/target/main/typescript/impl/util/AsyncQueue.js.map +0 -1
- package/target/main/typescript/impl/util/AsyncRunnable.js.map +0 -1
- package/target/main/typescript/impl/util/ExtDomQuery.js +0 -129
- package/target/main/typescript/impl/util/ExtDomQuery.js.map +0 -1
- package/target/main/typescript/impl/util/Lang.js +0 -215
- package/target/main/typescript/impl/util/Lang.js.map +0 -1
- package/target/main/typescript/impl/util/ListenerQueue.js +0 -3
- package/target/main/typescript/impl/util/ListenerQueue.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/ErrorData.js +0 -89
- package/target/main/typescript/impl/xhrCore/ErrorData.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/EventData.js +0 -30
- package/target/main/typescript/impl/xhrCore/EventData.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/IResponseProcessor.js +0 -3
- package/target/main/typescript/impl/xhrCore/IResponseProcessor.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/RequestDataResolver.js +0 -143
- package/target/main/typescript/impl/xhrCore/RequestDataResolver.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/ResonseDataResolver.js +0 -103
- package/target/main/typescript/impl/xhrCore/ResonseDataResolver.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/Response.js +0 -167
- package/target/main/typescript/impl/xhrCore/Response.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/ResponseProcessor.js +0 -368
- package/target/main/typescript/impl/xhrCore/ResponseProcessor.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/XhrFormData.js +0 -272
- package/target/main/typescript/impl/xhrCore/XhrFormData.js.map +0 -1
- package/target/main/typescript/impl/xhrCore/XhrRequest.js +0 -281
- package/target/main/typescript/impl/xhrCore/XhrRequest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.js +0 -293
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/LangTest.js +0 -89
- package/target/test/frameworkBase/_ext/monadish/LangTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/MappingTest.js +0 -39
- package/target/test/frameworkBase/_ext/monadish/MappingTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/MonadTest.js +0 -155
- package/target/test/frameworkBase/_ext/monadish/MonadTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/StreamTest.js +0 -176
- package/target/test/frameworkBase/_ext/monadish/StreamTest.js.map +0 -1
- package/target/test/frameworkBase/_ext/monadish/XmlQueryTest.js +0 -1
- package/target/test/frameworkBase/_ext/monadish/XmlQueryTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/LangTest.js +0 -112
- package/target/test/typescript/frameworkBase/LangTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/DomQueryTest.js +0 -293
- package/target/test/typescript/frameworkBase/_ext/monadish/DomQueryTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/LangTest.js +0 -89
- package/target/test/typescript/frameworkBase/_ext/monadish/LangTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/MappingProbes.js +0 -115
- package/target/test/typescript/frameworkBase/_ext/monadish/MappingProbes.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/MappingTest.js +0 -39
- package/target/test/typescript/frameworkBase/_ext/monadish/MappingTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/MonadTest.js +0 -155
- package/target/test/typescript/frameworkBase/_ext/monadish/MonadTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/StreamTest.js +0 -176
- package/target/test/typescript/frameworkBase/_ext/monadish/StreamTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/XmlQueryTest.js +0 -1
- package/target/test/typescript/frameworkBase/_ext/monadish/XmlQueryTest.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/shared/StandardInits.js +0 -264
- package/target/test/typescript/frameworkBase/_ext/shared/StandardInits.js.map +0 -1
- package/target/test/typescript/frameworkBase/_ext/shared/XmlResponses.js +0 -23
- package/target/test/typescript/frameworkBase/_ext/shared/XmlResponses.js.map +0 -1
- package/target/test/typescript/impl/ImplTest.js +0 -98
- package/target/test/typescript/impl/ImplTest.js.map +0 -1
- package/target/test/typescript/impl/SeparatorCharsTest.js +0 -72
- package/target/test/typescript/impl/SeparatorCharsTest.js.map +0 -1
- package/target/test/typescript/queue/AsynchronousProbe.js +0 -99
- package/target/test/typescript/queue/AsynchronousProbe.js.map +0 -1
- package/target/test/typescript/queue/AsynchronousQueueTest.js +0 -130
- package/target/test/typescript/queue/AsynchronousQueueTest.js.map +0 -1
- package/target/test/typescript/xhrCore/EventTests.js +0 -155
- package/target/test/typescript/xhrCore/EventTests.js.map +0 -1
- package/target/test/typescript/xhrCore/FakeWebsocket.js +0 -25
- package/target/test/typescript/xhrCore/FakeWebsocket.js.map +0 -1
- package/target/test/typescript/xhrCore/FileUploadTest.js +0 -166
- package/target/test/typescript/xhrCore/FileUploadTest.js.map +0 -1
- package/target/test/typescript/xhrCore/RequestParamsTest.js +0 -151
- package/target/test/typescript/xhrCore/RequestParamsTest.js.map +0 -1
- package/target/test/typescript/xhrCore/RequestTest.js.map +0 -1
- package/target/test/typescript/xhrCore/ResponseTest.js +0 -257
- package/target/test/typescript/xhrCore/ResponseTest.js.map +0 -1
- package/target/test/typescript/xhrCore/ShadowDomTest.js +0 -122
- package/target/test/typescript/xhrCore/ShadowDomTest.js.map +0 -1
- package/target/test/typescript/xhrCore/WebsocketTest.js +0 -182
- package/target/test/typescript/xhrCore/WebsocketTest.js.map +0 -1
- package/target/test/typescript/xhrCore/XhrFormDataTest.js +0 -58
- 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
|
-
|
|
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
|
-
|
|
44
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
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
|
-
|
|
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
|
-
|
|
60
|
+
this.assignEncodedString(this.dataSource);
|
|
85
61
|
}
|
|
86
62
|
else {
|
|
87
|
-
|
|
63
|
+
this.applyFormDataToConfig();
|
|
88
64
|
}
|
|
89
65
|
if ('undefined' != typeof viewState) {
|
|
90
|
-
|
|
66
|
+
this.assignEncodedString(viewState);
|
|
91
67
|
}
|
|
92
68
|
if (executes) {
|
|
93
|
-
|
|
69
|
+
this.postInit(...executes);
|
|
94
70
|
}
|
|
95
|
-
return _this;
|
|
96
71
|
}
|
|
97
72
|
/**
|
|
98
|
-
* generic post init code, for now, this
|
|
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
|
-
|
|
102
|
-
|
|
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
|
|
83
|
+
return this.dataSource.querySelectorAllDeep("input[type='file']");
|
|
113
84
|
}
|
|
114
85
|
else {
|
|
115
|
-
|
|
116
|
-
return
|
|
86
|
+
let element = mona_dish_1.DQ.byId(id, true);
|
|
87
|
+
return this.getFileInputs(element);
|
|
117
88
|
}
|
|
118
89
|
};
|
|
119
|
-
|
|
90
|
+
let inputExists = (item) => {
|
|
120
91
|
return item.isPresent();
|
|
121
92
|
};
|
|
122
|
-
this.isMultipartRequest = mona_dish_1.LazyStream.of
|
|
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
|
-
|
|
132
|
-
|
|
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
|
-
|
|
112
|
+
assignEncodedString(encoded) {
|
|
141
113
|
// this code filters out empty strings as key value pairs
|
|
142
|
-
|
|
143
|
-
.filter(
|
|
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
|
-
|
|
152
|
-
|
|
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
|
|
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(
|
|
163
|
-
.each(
|
|
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
|
-
|
|
174
|
-
|
|
147
|
+
toFormData() {
|
|
148
|
+
let ret = new FormData();
|
|
175
149
|
this.appendInputs(ret);
|
|
176
150
|
return ret;
|
|
177
|
-
}
|
|
178
|
-
|
|
151
|
+
}
|
|
152
|
+
resolveSubmitIdentifier(elem) {
|
|
179
153
|
var _a;
|
|
180
|
-
|
|
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
|
-
|
|
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
|
-
|
|
196
|
-
.
|
|
197
|
-
.map(
|
|
198
|
-
|
|
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
|
-
|
|
209
|
-
|
|
210
|
-
.filter(
|
|
211
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
241
|
-
|
|
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
|
|
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
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
mona_dish_1.Stream.of
|
|
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
|
-
|
|
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":"
|
|
1
|
+
{"version":3,"file":"XhrFormData.js","sourceRoot":"","sources":["../../../src/main/typescript/impl/xhrCore/XhrFormData.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;GAcG;AACH,yCAA+E;AAC/E,yCAA4E;AAC5E,IAAO,QAAQ,GAAG,gBAAI,CAAC,QAAQ,CAAC;AAChC,qDAA8C;AAG9C;;;;;;;;;;;GAWG;AACH,MAAa,WAAY,SAAQ,kBAAM;IAUnC;;;;;;;OAOG;IACH,YAAoB,UAAuB,EAAE,SAAkB,EAAE,QAAmB,EAAU,UAAqB;QAC/G,KAAK,CAAC,EAAE,CAAC,CAAC;QADM,eAAU,GAAV,UAAU,CAAa;QAAmD,eAAU,GAAV,UAAU,CAAW;QAjBnH;;;;;;WAMG;QACH,uBAAkB,GAAY,KAAK,CAAC;QAYhC,0DAA0D;QAC1D,iEAAiE;QACjE,4BAA4B;QAC5B,IAAI,QAAQ,CAAC,UAAU,CAAC,EAAE;YACtB,IAAI,CAAC,mBAAmB,CAAS,IAAI,CAAC,UAAU,CAAC,CAAC;SACrD;aAAM;YACH,IAAI,CAAC,qBAAqB,EAAE,CAAC;SAChC;QACD,IAAG,WAAW,IAAI,OAAO,SAAS,EAAE;YAChC,IAAI,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAA;SACtC;QACD,IAAG,QAAQ,EAAE;YACT,IAAI,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC;SAC9B;IACL,CAAC;IAED;;;;OAIG;IACH,QAAQ,CAAC,GAAG,QAAuB;QAC/B,IAAI,UAAU,GAAG,CAAC,EAAU,EAAM,EAAE;YAChC,IAAI,EAAE,IAAI,iBAAS,EAAE;gBACjB,OAAO,cAAE,CAAC,oBAAoB,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