jsf.js_next_gen 4.0.0-beta-23 → 4.0.0
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/.nyc_output/09ca9ebc-2305-4357-8db9-48ddfc7dfde2.json +1 -0
- package/.nyc_output/7c496a14-166e-4aa5-85b9-47b22b055ad8.json +1 -0
- package/.nyc_output/processinfo/09ca9ebc-2305-4357-8db9-48ddfc7dfde2.json +1 -0
- package/.nyc_output/processinfo/7c496a14-166e-4aa5-85b9-47b22b055ad8.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/README.md +7 -22
- package/dist/docs/assets/main.js +56 -52
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/assets/style.css +23 -0
- package/dist/docs/functions/faces.ajax.addOnError.html +6 -4
- package/dist/docs/functions/faces.ajax.addOnEvent.html +2 -0
- package/dist/docs/functions/faces.ajax.request.html +7 -7
- package/dist/docs/functions/faces.ajax.response.html +0 -1
- package/dist/docs/functions/faces.push.close.html +4 -2
- package/dist/docs/functions/faces.push.init.html +19 -7
- package/dist/docs/functions/faces.push.open.html +4 -2
- package/dist/docs/functions/faces.util.chain.html +3 -3
- package/dist/docs/functions/myfaces.ab.html +9 -4
- package/dist/docs/functions/myfaces.onOnDomReady.html +72 -0
- package/dist/docs/index.html +7 -18
- package/dist/docs/modules/myfaces.html +3 -1
- package/dist/docs/variables/myfaces.oam.html +2 -1
- package/dist/window/faces-development.js +2147 -1779
- 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 -1
- package/dist/window/faces.js +1 -1
- package/dist/window/faces.js.LICENSE.txt +17 -2
- package/dist/window/faces.js.br +0 -0
- package/dist/window/faces.js.gz +0 -0
- package/dist/window/faces.js.map +1 -1
- package/dist/window/jsf-development.js +2156 -1777
- 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 +1 -1
- package/dist/window/jsf.js.LICENSE.txt +17 -2
- 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 +19 -18
- package/pom.xml +1 -1
- package/src/main/test.xml +23 -0
- package/src/main/typescript/@types/definitions/index.d.ts +24 -7
- package/src/main/typescript/api/_api.ts +79 -37
- package/src/main/typescript/api/jsf.ts +18 -0
- package/src/main/typescript/impl/AjaxImpl.ts +168 -78
- package/src/main/typescript/impl/PushImpl.ts +63 -38
- package/src/main/typescript/impl/core/Const.ts +52 -39
- package/src/main/typescript/impl/util/Assertions.ts +16 -8
- package/src/main/typescript/impl/util/AsyncQueue.ts +1 -1
- package/src/main/typescript/impl/util/AsyncRunnable.ts +4 -4
- package/src/main/typescript/impl/util/ExtDomQuery.ts +58 -45
- package/src/main/typescript/impl/util/FileUtils.ts +104 -0
- package/src/main/typescript/impl/util/HiddenInputBuilder.ts +89 -0
- package/src/main/typescript/impl/util/Lang.ts +30 -31
- package/src/main/typescript/impl/xhrCore/ErrorData.ts +15 -10
- package/src/main/typescript/impl/xhrCore/EventData.ts +2 -2
- package/src/main/typescript/impl/xhrCore/IResponseProcessor.ts +25 -11
- package/src/main/typescript/impl/xhrCore/RequestDataResolver.ts +78 -32
- package/src/main/typescript/impl/xhrCore/ResonseDataResolver.ts +10 -10
- package/src/main/typescript/impl/xhrCore/Response.ts +66 -49
- package/src/main/typescript/impl/xhrCore/ResponseProcessor.ts +202 -131
- package/src/main/typescript/impl/xhrCore/XhrFormData.ts +79 -166
- package/src/main/typescript/impl/xhrCore/XhrRequest.ts +80 -68
- package/src/main/typescript/myfaces/OamSubmit.ts +29 -13
- package/src/main/typescript/test/frameworkBase/_ext/monadish/DomQueryTest.spec.ts +19 -22
- package/src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts +108 -1
- package/src/main/typescript/test/frameworkBase/_ext/shared/XmlResponses.ts +40 -1
- package/src/main/typescript/test/impl/ImplTest.spec.ts +3 -3
- package/src/main/typescript/test/impl/ImplTest_23.spec.ts +3 -7
- package/src/main/typescript/test/xhrCore/EventTests.spec.ts +1 -1
- package/src/main/typescript/test/xhrCore/FileUploadTest.spec.ts +5 -2
- package/src/main/typescript/test/xhrCore/NamespacesRequestTest.spec.ts +203 -0
- package/src/main/typescript/test/xhrCore/OamSubmitTest.spec.ts +177 -0
- package/src/main/typescript/test/xhrCore/RequestParamsTest.spec.ts +158 -17
- package/src/main/typescript/test/xhrCore/RequestTest.spec.ts +242 -11
- package/src/main/typescript/test/xhrCore/RequestTest_23.spec.ts +39 -3
- package/src/main/typescript/test/xhrCore/ResponseTest.spec.ts +373 -35
- package/src/main/typescript/test/xhrCore/ResponseTest23.spec.ts +43 -9
- package/src/main/typescript/test/xhrCore/TobagoFileUploadTest.spec.ts +109 -0
- package/src/main/typescript/test/xhrCore/XhrFormDataTest.spec.ts +67 -49
- package/src/main/typescript/test.xml +6 -0
- package/src/main/typescript/tsconfig.json +1 -1
- package/src/test/resources/jsf-development.js +1 -1
- package/src/tmp/test.html +12 -88
- package/target/api/_api.js +72 -31
- package/target/api/_api.js.map +1 -1
- package/target/api/jsf.js +11 -0
- package/target/api/jsf.js.map +1 -1
- 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 +144 -59
- package/target/impl/AjaxImpl.js.map +1 -1
- package/target/impl/PushImpl.js +66 -35
- package/target/impl/PushImpl.js.map +1 -1
- package/target/impl/core/Const.js +51 -38
- package/target/impl/core/Const.js.map +1 -1
- package/target/impl/core/Context.js +10 -0
- package/target/impl/core/Context.js.map +1 -0
- package/target/impl/util/Assertions.js +12 -7
- package/target/impl/util/Assertions.js.map +1 -1
- package/target/impl/util/AsyncQueue.js.map +1 -1
- package/target/impl/util/ExtDomQuery.js +58 -40
- package/target/impl/util/ExtDomQuery.js.map +1 -1
- package/target/impl/util/FileUtils.js +96 -0
- package/target/impl/util/FileUtils.js.map +1 -0
- package/target/impl/util/HiddenElementBuilder.js +7 -0
- package/target/impl/util/HiddenElementBuilder.js.map +1 -0
- package/target/impl/util/HiddenInputBuilder.js +79 -0
- package/target/impl/util/HiddenInputBuilder.js.map +1 -0
- package/target/impl/util/Lang.js +29 -30
- package/target/impl/util/Lang.js.map +1 -1
- package/target/impl/util/URLCodec.js +77 -0
- package/target/impl/util/URLCodec.js.map +1 -0
- package/target/impl/util/XhrQueueController.js +82 -0
- package/target/impl/util/XhrQueueController.js.map +1 -0
- package/target/impl/xhrCore/ErrorData.js +10 -8
- package/target/impl/xhrCore/ErrorData.js.map +1 -1
- package/target/impl/xhrCore/EventData.js +1 -1
- package/target/impl/xhrCore/EventData.js.map +1 -1
- package/target/impl/xhrCore/RequestContext.js +11 -0
- package/target/impl/xhrCore/RequestContext.js.map +1 -0
- package/target/impl/xhrCore/RequestDataResolver.js +70 -23
- package/target/impl/xhrCore/RequestDataResolver.js.map +1 -1
- package/target/impl/xhrCore/ResonseDataResolver.js +9 -9
- package/target/impl/xhrCore/ResonseDataResolver.js.map +1 -1
- package/target/impl/xhrCore/Response.js +44 -29
- package/target/impl/xhrCore/Response.js.map +1 -1
- package/target/impl/xhrCore/ResponseProcessor.js +182 -116
- package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
- package/target/impl/xhrCore/XhrFormData.js +68 -156
- package/target/impl/xhrCore/XhrFormData.js.map +1 -1
- package/target/impl/xhrCore/XhrQueHandler.js +11 -0
- package/target/impl/xhrCore/XhrQueHandler.js.map +1 -0
- package/target/impl/xhrCore/XhrQueueController.js +62 -0
- package/target/impl/xhrCore/XhrQueueController.js.map +1 -0
- package/target/impl/xhrCore/XhrRequest.js +68 -59
- package/target/impl/xhrCore/XhrRequest.js.map +1 -1
- package/target/myfaces/OamSubmit.js +23 -14
- package/target/myfaces/OamSubmit.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js +16 -16
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/ExtendedArrayTest.spec.js +76 -0
- package/target/test/frameworkBase/_ext/monadish/ExtendedArrayTest.spec.js.map +1 -0
- package/target/test/frameworkBase/_ext/monadish/markups/tobago-with-header.js +925 -0
- package/target/test/frameworkBase/_ext/monadish/markups/tobago-with-header.js.map +1 -0
- package/target/test/frameworkBase/_ext/monadish/markups/tobago-without-header.js +112 -0
- package/target/test/frameworkBase/_ext/monadish/markups/tobago-without-header.js.map +1 -0
- package/target/test/frameworkBase/_ext/shared/StandardInits.js +100 -1
- package/target/test/frameworkBase/_ext/shared/StandardInits.js.map +1 -1
- package/target/test/frameworkBase/_ext/shared/XmlResponses.js +37 -1
- package/target/test/frameworkBase/_ext/shared/XmlResponses.js.map +1 -1
- package/target/test/impl/ImplTest.spec.js +2 -2
- package/target/test/impl/ImplTest.spec.js.map +1 -1
- package/target/test/impl/ImplTest_23.spec.js +2 -2
- package/target/test/impl/ImplTest_23.spec.js.map +1 -1
- package/target/test/myfaces/OnLoadSpec.js +57 -0
- package/target/test/myfaces/OnLoadSpec.js.map +1 -0
- package/target/test/xhrCore/EventTests.spec.js +1 -1
- package/target/test/xhrCore/EventTests.spec.js.map +1 -1
- package/target/test/xhrCore/FileUploadTest.spec.js +2 -1
- package/target/test/xhrCore/FileUploadTest.spec.js.map +1 -1
- package/target/test/xhrCore/NamespacesRequestTest.spec.js +204 -0
- package/target/test/xhrCore/NamespacesRequestTest.spec.js.map +1 -0
- package/target/test/xhrCore/OamSubmitTest.spec.js +180 -0
- package/target/test/xhrCore/OamSubmitTest.spec.js.map +1 -0
- package/target/test/xhrCore/RequestParamsTest.spec.js +142 -10
- package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestTest.spec.js +217 -9
- package/target/test/xhrCore/RequestTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestTest_23.spec.js +34 -2
- package/target/test/xhrCore/RequestTest_23.spec.js.map +1 -1
- package/target/test/xhrCore/ResponseTest.spec.js +308 -24
- package/target/test/xhrCore/ResponseTest.spec.js.map +1 -1
- package/target/test/xhrCore/ResponseTest23.spec.js +38 -8
- package/target/test/xhrCore/ResponseTest23.spec.js.map +1 -1
- package/target/test/xhrCore/TobagoFileUploadTest.spec.js +128 -0
- package/target/test/xhrCore/TobagoFileUploadTest.spec.js.map +1 -0
- package/target/test/xhrCore/XhrFormDataTest.spec.js +57 -34
- package/target/test/xhrCore/XhrFormDataTest.spec.js.map +1 -1
- package/target/test-classes/.gz +0 -0
- package/target/test-classes/com/example/jsfs_js_ts/JsfsJsTsApplicationTests.class +0 -0
- package/target/test-classes/fileuploadtest.html +24 -0
- package/target/test-classes/jsf-development.js +3559 -0
- package/target/test-classes/jsf-development.js.br +0 -0
- package/target/test-classes/jsf-development.js.gz +0 -0
- package/target/test-classes/jsf-development.js.map +1 -0
- package/target/test-classes/jsf.js +3 -0
- package/target/test-classes/jsf.js.br +0 -0
- package/target/test-classes/jsf.js.gz +0 -0
- package/tmp.xml +36 -0
- package/.nyc_output/2303b649-59d9-485c-9228-73b0ec8787a7.json +0 -1
- package/.nyc_output/756f2f03-c85b-4cdb-9b92-5799eb45ef1e.json +0 -1
- package/.nyc_output/processinfo/2303b649-59d9-485c-9228-73b0ec8787a7.json +0 -1
- package/.nyc_output/processinfo/756f2f03-c85b-4cdb-9b92-5799eb45ef1e.json +0 -1
- package/target/types/index.js +0 -18
- package/target/types/index.js.map +0 -1
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
<h1>Function request</h1></div>
|
|
20
20
|
<section class="tsd-panel">
|
|
21
21
|
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
22
|
-
<li class="tsd-signature tsd-anchor-link" id="request">request<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Element</span>, event<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Event</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">
|
|
22
|
+
<li class="tsd-signature tsd-anchor-link" id="request">request<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Element</span>, event<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Event</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Options</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#request" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
23
23
|
<li class="tsd-description">
|
|
24
24
|
<div class="tsd-comment tsd-typography"><p>this function has to send the ajax requests</p>
|
|
25
|
-
<p>following
|
|
25
|
+
<p>following request conditions must be met:</p>
|
|
26
26
|
<ul>
|
|
27
|
-
<li> the
|
|
28
|
-
<li> the
|
|
29
|
-
<li> the
|
|
30
|
-
<li> all requests must be queued with a client side
|
|
27
|
+
<li> the request must be sent asynchronously! </li>
|
|
28
|
+
<li> the request must be a POST!!! request </li>
|
|
29
|
+
<li> the request url must be the form action attribute </li>
|
|
30
|
+
<li> all requests must be queued with a client side request queue to ensure the request ordering!</li>
|
|
31
31
|
</ul></div>
|
|
32
32
|
<div class="tsd-parameters">
|
|
33
33
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<li>
|
|
38
38
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> event: <span class="tsd-signature-type">Event</span></h5></li>
|
|
39
39
|
<li>
|
|
40
|
-
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">
|
|
40
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <span class="tsd-signature-type">Options</span></h5>
|
|
41
41
|
<div class="tsd-comment tsd-typography"><p>: map of options being pushed into the ajax cycle</p>
|
|
42
42
|
</div></li></ul></div>
|
|
43
43
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
<li>
|
|
34
34
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> context: <span class="tsd-signature-type">Context</span></h5>
|
|
35
35
|
<div class="tsd-comment tsd-typography"><p>the request context</p>
|
|
36
|
-
<p>TODO add info on what can be in the context</p>
|
|
37
36
|
</div></li></ul></div>
|
|
38
37
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
39
38
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
@@ -23,13 +23,15 @@
|
|
|
23
23
|
<li class="tsd-description">
|
|
24
24
|
<div class="tsd-comment tsd-typography"><p>Close the web socket on the given channel.</p>
|
|
25
25
|
|
|
26
|
-
<h3>Throws</h3><p>
|
|
26
|
+
<h3>Throws</h3><p>Error is thrown, if the channel is unknown.</p>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="tsd-parameters">
|
|
29
29
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
30
30
|
<ul class="tsd-parameter-list">
|
|
31
31
|
<li>
|
|
32
|
-
<h5>socketClientId: <span class="tsd-signature-type">string</span></h5
|
|
32
|
+
<h5>socketClientId: <span class="tsd-signature-type">string</span></h5>
|
|
33
|
+
<div class="tsd-comment tsd-typography"><p>The id of the web socket client.</p>
|
|
34
|
+
</div></li></ul></div>
|
|
33
35
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
34
36
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
35
37
|
<div class="tsd-navigation settings">
|
|
@@ -19,17 +19,23 @@
|
|
|
19
19
|
<h1>Function init</h1></div>
|
|
20
20
|
<section class="tsd-panel">
|
|
21
21
|
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
22
|
-
<li class="tsd-signature tsd-anchor-link" id="init">init<span class="tsd-signature-symbol">(</span>socketClientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>,
|
|
22
|
+
<li class="tsd-signature tsd-anchor-link" id="init">init<span class="tsd-signature-symbol">(</span>socketClientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, channel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, onopen<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span>, onmessage<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span>, onerror<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span>, onclose<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span>, behaviors<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, autoConnect<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#init" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
23
23
|
<li class="tsd-description">
|
|
24
24
|
<div class="tsd-parameters">
|
|
25
25
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
26
26
|
<ul class="tsd-parameter-list">
|
|
27
27
|
<li>
|
|
28
|
-
<h5>socketClientId: <span class="tsd-signature-type">string</span></h5
|
|
28
|
+
<h5>socketClientId: <span class="tsd-signature-type">string</span></h5>
|
|
29
|
+
<div class="tsd-comment tsd-typography"><p>the sockets client identifier</p>
|
|
30
|
+
</div></li>
|
|
29
31
|
<li>
|
|
30
|
-
<h5>
|
|
32
|
+
<h5>url: <span class="tsd-signature-type">string</span></h5>
|
|
33
|
+
<div class="tsd-comment tsd-typography"><p>the uri to reach the socket</p>
|
|
34
|
+
</div></li>
|
|
31
35
|
<li>
|
|
32
|
-
<h5>channel: <span class="tsd-signature-type">string</span></h5
|
|
36
|
+
<h5>channel: <span class="tsd-signature-type">string</span></h5>
|
|
37
|
+
<div class="tsd-comment tsd-typography"><p>the channel name/id</p>
|
|
38
|
+
</div></li>
|
|
33
39
|
<li>
|
|
34
40
|
<h5>onopen: <span class="tsd-signature-type">Function</span></h5>
|
|
35
41
|
<div class="tsd-comment tsd-typography"><p>The function to be invoked when the web socket is opened.</p>
|
|
@@ -39,14 +45,20 @@
|
|
|
39
45
|
<div class="tsd-comment tsd-typography"><p>The function to be invoked when a message is received.</p>
|
|
40
46
|
</div></li>
|
|
41
47
|
<li>
|
|
48
|
+
<h5>onerror: <span class="tsd-signature-type">Function</span></h5>
|
|
49
|
+
<div class="tsd-comment tsd-typography"><p>The function to be invoked when an error occurs.</p>
|
|
50
|
+
</div></li>
|
|
51
|
+
<li>
|
|
42
52
|
<h5>onclose: <span class="tsd-signature-type">Function</span></h5>
|
|
43
53
|
<div class="tsd-comment tsd-typography"><p>The function to be invoked when the web socket is closed.</p>
|
|
44
54
|
</div></li>
|
|
45
55
|
<li>
|
|
46
|
-
<h5>
|
|
56
|
+
<h5>behaviors: <span class="tsd-signature-type">any</span></h5>
|
|
57
|
+
<div class="tsd-comment tsd-typography"><p>functions which are invoked whenever a message is received</p>
|
|
58
|
+
</div></li>
|
|
47
59
|
<li>
|
|
48
|
-
<h5>
|
|
49
|
-
<div class="tsd-comment tsd-typography"><p>Whether or not to
|
|
60
|
+
<h5>autoConnect: <span class="tsd-signature-type">boolean</span></h5>
|
|
61
|
+
<div class="tsd-comment tsd-typography"><p>Whether or not to automatically open the socket. Defaults to <code>false</code>.</p>
|
|
50
62
|
</div></li></ul></div>
|
|
51
63
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
52
64
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
@@ -23,13 +23,15 @@
|
|
|
23
23
|
<li class="tsd-description">
|
|
24
24
|
<div class="tsd-comment tsd-typography"><p>Open the web socket on the given channel.</p>
|
|
25
25
|
|
|
26
|
-
<h3>Throws</h3><p>
|
|
26
|
+
<h3>Throws</h3><p>Error is thrown, if the channel is unknown.</p>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="tsd-parameters">
|
|
29
29
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
30
30
|
<ul class="tsd-parameter-list">
|
|
31
31
|
<li>
|
|
32
|
-
<h5>socketClientId: <span class="tsd-signature-type">string</span></h5
|
|
32
|
+
<h5>socketClientId: <span class="tsd-signature-type">string</span></h5>
|
|
33
|
+
<div class="tsd-comment tsd-typography"><p>The name of the web socket channel.</p>
|
|
34
|
+
</div></li></ul></div>
|
|
33
35
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
34
36
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
35
37
|
<div class="tsd-navigation settings">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<h1>Function chain</h1></div>
|
|
20
20
|
<section class="tsd-panel">
|
|
21
21
|
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
22
|
-
<li class="tsd-signature tsd-anchor-link" id="chain">chain<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">
|
|
22
|
+
<li class="tsd-signature tsd-anchor-link" id="chain">chain<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLElement</span>, event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span>, <span class="tsd-signature-symbol">...</span>funcs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#chain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
23
23
|
<li class="tsd-description">
|
|
24
24
|
<div class="tsd-comment tsd-typography"><p>varargs function which executes a chain of code (functions or any other code)</p>
|
|
25
25
|
<p>if any of the code returns false, the execution
|
|
@@ -31,9 +31,9 @@ is terminated prematurely skipping the rest of the code!</p>
|
|
|
31
31
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
32
32
|
<ul class="tsd-parameter-list">
|
|
33
33
|
<li>
|
|
34
|
-
<h5>source: <span class="tsd-signature-type">
|
|
34
|
+
<h5>source: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLElement</span></h5></li>
|
|
35
35
|
<li>
|
|
36
|
-
<h5>event: <span class="tsd-signature-type">
|
|
36
|
+
<h5>event: <span class="tsd-signature-type">Event</span></h5></li>
|
|
37
37
|
<li>
|
|
38
38
|
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span>funcs: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
39
39
|
<div class="tsd-comment tsd-typography"><p>... arbitrary array of functions or strings</p>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<h1>Function ab</h1></div>
|
|
19
19
|
<section class="tsd-panel">
|
|
20
20
|
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
21
|
-
<li class="tsd-signature tsd-anchor-link" id="ab">ab<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Element</span>, event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span>, eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, execute<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, render<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">
|
|
21
|
+
<li class="tsd-signature tsd-anchor-link" id="ab">ab<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Element</span>, event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span>, eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, execute<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, render<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Options</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#ab" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
22
22
|
<li class="tsd-description">
|
|
23
23
|
<div class="tsd-comment tsd-typography"><p>AB function similar to mojarra and Primefaces
|
|
24
24
|
not part of the spec but a convenience accessor method
|
|
@@ -44,9 +44,13 @@ Code provided by Thomas Andraschko</p>
|
|
|
44
44
|
<div class="tsd-comment tsd-typography"><p>execute list as passed down in faces.ajax.request</p>
|
|
45
45
|
</div></li>
|
|
46
46
|
<li>
|
|
47
|
-
<h5>render: <span class="tsd-signature-type">string</span></h5
|
|
47
|
+
<h5>render: <span class="tsd-signature-type">string</span></h5>
|
|
48
|
+
<div class="tsd-comment tsd-typography"><p>the render list as string</p>
|
|
49
|
+
</div></li>
|
|
48
50
|
<li>
|
|
49
|
-
<h5>options: <span class="tsd-signature-type">
|
|
51
|
+
<h5>options: <span class="tsd-signature-type">Options</span><span class="tsd-signature-symbol"> = {}</span></h5>
|
|
52
|
+
<div class="tsd-comment tsd-typography"><p>the options which need to be mered in</p>
|
|
53
|
+
</div></li></ul></div>
|
|
50
54
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
51
55
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
52
56
|
<div class="tsd-navigation settings">
|
|
@@ -75,7 +79,8 @@ Code provided by Thomas Andraschko</p>
|
|
|
75
79
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
76
80
|
<ul>
|
|
77
81
|
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/myfaces.oam.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>oam</a></li>
|
|
78
|
-
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="myfaces.ab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>ab</a></li
|
|
82
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="myfaces.ab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>ab</a></li>
|
|
83
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="myfaces.onOnDomReady.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>on<wbr/>On<wbr/>Dom<wbr/>Ready</a></li></ul></nav></div></div>
|
|
79
84
|
<div class="container tsd-generator">
|
|
80
85
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
81
86
|
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>onOnDomReady | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
7
|
+
<ul class="results">
|
|
8
|
+
<li class="state loading">Preparing search index...</li>
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
|
+
<div class="container container-main">
|
|
12
|
+
<div class="col-8 col-content">
|
|
13
|
+
<div class="tsd-page-title">
|
|
14
|
+
<ul class="tsd-breadcrumb">
|
|
15
|
+
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
16
|
+
<li><a href="../modules/myfaces.html">myfaces</a></li>
|
|
17
|
+
<li><a href="myfaces.onOnDomReady.html">onOnDomReady</a></li></ul>
|
|
18
|
+
<h1>Function onOnDomReady</h1></div>
|
|
19
|
+
<section class="tsd-panel">
|
|
20
|
+
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
21
|
+
<li class="tsd-signature tsd-anchor-link" id="onOnDomReady">on<wbr/>On<wbr/>Dom<wbr/>Ready<span class="tsd-signature-symbol">(</span>executionFunc<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#onOnDomReady" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
22
|
+
<li class="tsd-description">
|
|
23
|
+
<div class="tsd-comment tsd-typography"><p>Helper function in the myfaces namespace to handle document ready properly for the load case
|
|
24
|
+
the ajax case, does not need proper treatment, since it is deferred anyway.
|
|
25
|
+
Used by command script as helper function!</p>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="tsd-parameters">
|
|
28
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
29
|
+
<ul class="tsd-parameter-list">
|
|
30
|
+
<li>
|
|
31
|
+
<h5>executionFunc: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h5>
|
|
32
|
+
<div class="tsd-comment tsd-typography"><p>the function to be executed upon ready</p>
|
|
33
|
+
</div>
|
|
34
|
+
<ul class="tsd-parameters">
|
|
35
|
+
<li class="tsd-parameter-signature">
|
|
36
|
+
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
37
|
+
<li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
38
|
+
<li class="tsd-description">
|
|
39
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul></div>
|
|
40
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
41
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
42
|
+
<div class="tsd-navigation settings">
|
|
43
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
44
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
|
45
|
+
<div class="tsd-accordion-details">
|
|
46
|
+
<div class="tsd-filter-visibility">
|
|
47
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
48
|
+
<ul id="tsd-filter-options">
|
|
49
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
50
|
+
<div class="tsd-theme-toggle">
|
|
51
|
+
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
52
|
+
<nav class="tsd-navigation primary">
|
|
53
|
+
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
54
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
55
|
+
<div class="tsd-accordion-details">
|
|
56
|
+
<ul>
|
|
57
|
+
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
58
|
+
<ul>
|
|
59
|
+
<li class="tsd-kind-namespace"><a href="../modules/faces.html">faces</a>
|
|
60
|
+
<ul>
|
|
61
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.ajax.html">ajax</a></li>
|
|
62
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.push.html">push</a></li>
|
|
63
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/faces.util.html">util</a></li></ul></li>
|
|
64
|
+
<li class="current tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
65
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
66
|
+
<ul>
|
|
67
|
+
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/myfaces.oam.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>oam</a></li>
|
|
68
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="myfaces.ab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>ab</a></li>
|
|
69
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="myfaces.onOnDomReady.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>on<wbr/>On<wbr/>Dom<wbr/>Ready</a></li></ul></nav></div></div>
|
|
70
|
+
<div class="container tsd-generator">
|
|
71
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
72
|
+
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
package/dist/docs/index.html
CHANGED
|
@@ -44,24 +44,13 @@ where I just ran a set of 20 integration tests on macro scale.</p>
|
|
|
44
44
|
<a href="#status" id="status" style="color: inherit; text-decoration: none;">
|
|
45
45
|
<h2>Status</h2>
|
|
46
46
|
</a>
|
|
47
|
-
<p>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
<p>Addition, for the integration in MyFaces, the api level has been
|
|
55
|
-
uplifted to Jakarta Faces 4.0
|
|
56
|
-
Note, this introduces some breaking changes, jsf jas been replaced with jakarta
|
|
57
|
-
and javax has been replaced by faces
|
|
58
|
-
so javax.faces.request becomes jakarta.faces.request</p>
|
|
59
|
-
<p>Note, a shim layer for backwards compatibility has been provided
|
|
60
|
-
you simply just need to load the generated. jsf.js file which goes down to 2.3 compatibility level
|
|
61
|
-
while loading faces.js will provide 4.0 compatibility</p>
|
|
62
|
-
<p>For this reason the version now also in the npm package is 4.0.x
|
|
63
|
-
(the pre changes code can still be reached in the 2.3 branch although
|
|
64
|
-
this branch is basically legacy, given we have the SHIM layer doing both)</p>
|
|
47
|
+
<p>We now have a stable version!
|
|
48
|
+
The current stable version (and first stable version is 4.0)
|
|
49
|
+
Why 4.0 and not 1.0?
|
|
50
|
+
The reason for this is, it is faces 4.0 compliant (but also faces 2.3 compliant)
|
|
51
|
+
and also used in MyFaces 4.0.
|
|
52
|
+
In order to avoid version confusion the projects stable version always will be in
|
|
53
|
+
sync with the Faces implementation level it provides now and in the future.</p>
|
|
65
54
|
|
|
66
55
|
<a href="#special-info" id="special-info" style="color: inherit; text-decoration: none;">
|
|
67
56
|
<h3>Special info</h3>
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
<section class="tsd-index-section">
|
|
26
26
|
<h3 class="tsd-index-heading">Functions</h3>
|
|
27
27
|
<div class="tsd-index-list"><a href="../functions/myfaces.ab.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>ab</span></a>
|
|
28
|
+
<a href="../functions/myfaces.onOnDomReady.html" class="tsd-index-link tsd-kind-function tsd-parent-kind-namespace"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>on<wbr/>On<wbr/>Dom<wbr/>Ready</span></a>
|
|
28
29
|
</div></section></section></section></div>
|
|
29
30
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
30
31
|
<div class="tsd-navigation settings">
|
|
@@ -53,7 +54,8 @@
|
|
|
53
54
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
54
55
|
<ul>
|
|
55
56
|
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/myfaces.oam.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>oam</a></li>
|
|
56
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/myfaces.ab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ab</a></li
|
|
57
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/myfaces.ab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>ab</a></li>
|
|
58
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/myfaces.onOnDomReady.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>on<wbr/>On<wbr/>Dom<wbr/>Ready</a></li></ul></nav></div></div>
|
|
57
59
|
<div class="container tsd-generator">
|
|
58
60
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
59
61
|
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
47
47
|
<ul>
|
|
48
48
|
<li class="current tsd-kind-variable tsd-parent-kind-namespace"><a href="myfaces.oam.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>oam</a></li>
|
|
49
|
-
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/myfaces.ab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>ab</a></li
|
|
49
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/myfaces.ab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>ab</a></li>
|
|
50
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="../functions/myfaces.onOnDomReady.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>on<wbr/>On<wbr/>Dom<wbr/>Ready</a></li></ul></nav></div></div>
|
|
50
51
|
<div class="container tsd-generator">
|
|
51
52
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
52
53
|
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|