jsf.js_next_gen 4.0.0-beta-16 → 4.0.0-beta-18
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/README.md +24 -0
- package/dist/docs/assets/highlight.css +21 -0
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/index.html +15 -0
- package/dist/window/faces-development.js +29 -4
- 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.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 +22 -5
- 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.br +0 -0
- package/dist/window/jsf.js.gz +0 -0
- package/dist/window/jsf.js.map +1 -1
- package/package.json +1 -1
- package/src/main/java/com/example/jsfs_js_ts/DecoratedFacesJS.java +14 -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 +173 -0
- package/src/main/typescript/api/_api.ts +11 -13
- package/src/main/typescript/api/faces.ts +11 -6
- package/src/main/typescript/api/jsf.ts +5 -8
- package/src/main/typescript/impl/AjaxImpl.ts +1 -2
- package/src/main/typescript/impl/PushImpl.ts +1 -3
- package/src/main/typescript/impl/core/Const.ts +0 -3
- package/src/main/typescript/impl/util/ExtDomQuery.ts +1 -1
- package/src/main/typescript/impl/util/Lang.ts +3 -4
- package/src/main/typescript/impl/xhrCore/ErrorData.ts +1 -2
- package/src/main/typescript/impl/xhrCore/EventData.ts +1 -1
- package/src/main/typescript/impl/xhrCore/ResponseProcessor.ts +1 -2
- package/src/main/typescript/impl/xhrCore/XhrRequest.ts +0 -1
- package/src/main/typescript/myfaces/OamSubmit.ts +5 -8
- package/src/main/typescript/test/frameworkBase/_ext/monadish/DomQueryTest.spec.ts +2 -2
- package/src/main/typescript/test/impl/ImplTest.spec.ts +2 -1
- package/src/main/typescript/test/impl/ImplTest_23.spec.ts +4 -3
- package/src/main/typescript/test/queue/AsynchronousQueueTest.spec.ts +2 -2
- package/src/main/typescript/test/xhrCore/EventTests.spec.ts +2 -2
- package/src/main/typescript/test/xhrCore/FileUploadTest.spec.ts +2 -2
- package/src/main/typescript/test/xhrCore/RequestParamsTest.spec.ts +2 -2
- package/src/main/typescript/test/xhrCore/RequestTest.spec.ts +5 -4
- package/src/main/typescript/test/xhrCore/RequestTest_23.spec.ts +7 -4
- package/src/main/typescript/test/xhrCore/ResponseTest.spec.ts +2 -2
- package/src/main/typescript/test/xhrCore/ResponseTest23.spec.ts +2 -2
- package/src/main/typescript/test/xhrCore/ShadowDomTest.spec.ts +2 -2
- package/src/main/typescript/test/xhrCore/WebsocketTest.ts +2 -2
- package/src/main/typescript/test/xhrCore/XhrFormDataTest.spec.ts +2 -2
- package/src/main/typescript/tsconfig.json +6 -3
- package/target/api/_api.js +0 -2
- package/target/api/_api.js.map +1 -1
- package/target/api/faces.js +8 -1
- package/target/api/faces.js.map +1 -1
- package/target/api/jsf.js +1 -2
- package/target/api/jsf.js.map +1 -1
- package/target/impl/AjaxImpl.js.map +1 -1
- package/target/impl/PushImpl.js +1 -0
- package/target/impl/PushImpl.js.map +1 -1
- package/target/impl/core/Const.js.map +1 -1
- package/target/impl/util/Lang.js +0 -1
- package/target/impl/util/Lang.js.map +1 -1
- package/target/impl/xhrCore/ErrorData.js.map +1 -1
- package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
- package/target/impl/xhrCore/XhrRequest.js +9 -0
- package/target/impl/xhrCore/XhrRequest.js.map +1 -1
- package/target/myfaces/OamSubmit.js +11 -0
- package/target/myfaces/OamSubmit.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js.map +1 -1
- package/target/test/impl/ImplTest.spec.js.map +1 -1
- package/target/test/impl/ImplTest_23.spec.js.map +1 -1
- package/target/test/queue/AsynchronousQueueTest.spec.js.map +1 -1
- package/target/test/xhrCore/EventTests.spec.js.map +1 -1
- package/target/test/xhrCore/FileUploadTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestTest.spec.js +1 -0
- package/target/test/xhrCore/RequestTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestTest_23.spec.js +2 -0
- package/target/test/xhrCore/RequestTest_23.spec.js.map +1 -1
- package/target/test/xhrCore/ResponseTest.spec.js.map +1 -1
- package/target/test/xhrCore/ResponseTest23.spec.js.map +1 -1
- package/target/test/xhrCore/ShadowDomTest.spec.js.map +1 -1
- package/target/test/xhrCore/WebsocketTest.js.map +1 -1
- package/target/test/xhrCore/XhrFormDataTest.spec.js.map +1 -1
- package/target/types/index.js +18 -0
- package/target/types/index.js.map +1 -0
- package/src/main/types/typedefs.d.ts +0 -68
package/README.md
CHANGED
|
@@ -159,3 +159,27 @@ I can reintroduce them, if there is real demand.
|
|
|
159
159
|
But the size and maintainability tradeoff, compared to what they
|
|
160
160
|
bring was not worth it to keep them anymore.
|
|
161
161
|
|
|
162
|
+
|
|
163
|
+
* Mapping file support
|
|
164
|
+
|
|
165
|
+
The original implementation had various builds to support easier debugging (split, combined, compressed)
|
|
166
|
+
|
|
167
|
+
We now have only two builds prod and development.
|
|
168
|
+
However I have introduced a mapping file support.
|
|
169
|
+
To enable this support you have to reference the FacesJSMappingDecorator unless the mapping file
|
|
170
|
+
is reachable via the normal request (mapping files are bundled).
|
|
171
|
+
This works for normal includes, but if you include the jsf.js in a resource library you have to use
|
|
172
|
+
the decorator provided.
|
|
173
|
+
|
|
174
|
+
Usage *faces-config.xml*
|
|
175
|
+
```xml
|
|
176
|
+
|
|
177
|
+
<application>
|
|
178
|
+
<resource-handler>com.example.jsfs_js_ts.FacesJSMapFileResourceWrapper</resource-handler>
|
|
179
|
+
</application>
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
This resource decorator detects automatically a faces*.js file coming from a resource library
|
|
183
|
+
and adjusts the references in the resource accordingly to the request patterns
|
|
184
|
+
|
|
185
|
+
|
|
@@ -1,22 +1,43 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
--light-hl-0: #800000;
|
|
3
|
+
--dark-hl-0: #808080;
|
|
4
|
+
--light-hl-1: #800000;
|
|
5
|
+
--dark-hl-1: #569CD6;
|
|
6
|
+
--light-hl-2: #000000;
|
|
7
|
+
--dark-hl-2: #D4D4D4;
|
|
2
8
|
--light-code-background: #FFFFFF;
|
|
3
9
|
--dark-code-background: #1E1E1E;
|
|
4
10
|
}
|
|
5
11
|
|
|
6
12
|
@media (prefers-color-scheme: light) { :root {
|
|
13
|
+
--hl-0: var(--light-hl-0);
|
|
14
|
+
--hl-1: var(--light-hl-1);
|
|
15
|
+
--hl-2: var(--light-hl-2);
|
|
7
16
|
--code-background: var(--light-code-background);
|
|
8
17
|
} }
|
|
9
18
|
|
|
10
19
|
@media (prefers-color-scheme: dark) { :root {
|
|
20
|
+
--hl-0: var(--dark-hl-0);
|
|
21
|
+
--hl-1: var(--dark-hl-1);
|
|
22
|
+
--hl-2: var(--dark-hl-2);
|
|
11
23
|
--code-background: var(--dark-code-background);
|
|
12
24
|
} }
|
|
13
25
|
|
|
14
26
|
:root[data-theme='light'] {
|
|
27
|
+
--hl-0: var(--light-hl-0);
|
|
28
|
+
--hl-1: var(--light-hl-1);
|
|
29
|
+
--hl-2: var(--light-hl-2);
|
|
15
30
|
--code-background: var(--light-code-background);
|
|
16
31
|
}
|
|
17
32
|
|
|
18
33
|
:root[data-theme='dark'] {
|
|
34
|
+
--hl-0: var(--dark-hl-0);
|
|
35
|
+
--hl-1: var(--dark-hl-1);
|
|
36
|
+
--hl-2: var(--dark-hl-2);
|
|
19
37
|
--code-background: var(--dark-code-background);
|
|
20
38
|
}
|
|
21
39
|
|
|
40
|
+
.hl-0 { color: var(--hl-0); }
|
|
41
|
+
.hl-1 { color: var(--hl-1); }
|
|
42
|
+
.hl-2 { color: var(--hl-2); }
|
|
22
43
|
pre, code { background: var(--code-background); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.searchData = JSON.parse("{\"kinds\":{\"4\":\"Namespace\",\"32\":\"Variable\",\"64\":\"Function\"},\"rows\":[{\"kind\":4,\"name\":\"faces\",\"url\":\"modules/faces.html\",\"classes\":\"tsd-kind-namespace\"},{\"kind\":64,\"name\":\"getProjectStage\",\"url\":\"functions/faces.getProjectStage.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"getViewState\",\"url\":\"functions/faces.getViewState.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"getClientWindow\",\"url\":\"functions/faces.getClientWindow.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":32,\"name\":\"
|
|
1
|
+
window.searchData = JSON.parse("{\"kinds\":{\"4\":\"Namespace\",\"32\":\"Variable\",\"64\":\"Function\"},\"rows\":[{\"kind\":4,\"name\":\"faces\",\"url\":\"modules/faces.html\",\"classes\":\"tsd-kind-namespace\"},{\"kind\":64,\"name\":\"getProjectStage\",\"url\":\"functions/faces.getProjectStage.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"getViewState\",\"url\":\"functions/faces.getViewState.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"getClientWindow\",\"url\":\"functions/faces.getClientWindow.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":32,\"name\":\"specversion\",\"url\":\"variables/faces.specversion.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":32,\"name\":\"implversion\",\"url\":\"variables/faces.implversion.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":32,\"name\":\"separatorchar\",\"url\":\"variables/faces.separatorchar.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":32,\"name\":\"contextpath\",\"url\":\"variables/faces.contextpath.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":4,\"name\":\"ajax\",\"url\":\"modules/faces.ajax.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"request\",\"url\":\"functions/faces.ajax.request.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.ajax\"},{\"kind\":64,\"name\":\"response\",\"url\":\"functions/faces.ajax.response.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.ajax\"},{\"kind\":64,\"name\":\"addOnError\",\"url\":\"functions/faces.ajax.addOnError.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.ajax\"},{\"kind\":64,\"name\":\"addOnEvent\",\"url\":\"functions/faces.ajax.addOnEvent.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.ajax\"},{\"kind\":4,\"name\":\"util\",\"url\":\"modules/faces.util.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"chain\",\"url\":\"functions/faces.util.chain.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.util\"},{\"kind\":4,\"name\":\"push\",\"url\":\"modules/faces.push.html\",\"classes\":\"tsd-kind-namespace tsd-parent-kind-namespace\",\"parent\":\"faces\"},{\"kind\":64,\"name\":\"init\",\"url\":\"functions/faces.push.init.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.push\"},{\"kind\":64,\"name\":\"open\",\"url\":\"functions/faces.push.open.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.push\"},{\"kind\":64,\"name\":\"close\",\"url\":\"functions/faces.push.close.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"faces.push\"},{\"kind\":4,\"name\":\"myfaces\",\"url\":\"modules/myfaces.html\",\"classes\":\"tsd-kind-namespace\"},{\"kind\":64,\"name\":\"ab\",\"url\":\"functions/myfaces.ab.html\",\"classes\":\"tsd-kind-function tsd-parent-kind-namespace\",\"parent\":\"myfaces\"},{\"kind\":32,\"name\":\"oam\",\"url\":\"variables/myfaces.oam.html\",\"classes\":\"tsd-kind-variable tsd-parent-kind-namespace\",\"parent\":\"myfaces\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,27.3]],[\"comment/0\",[]],[\"name/1\",[1,27.3]],[\"comment/1\",[]],[\"name/2\",[2,27.3]],[\"comment/2\",[]],[\"name/3\",[3,27.3]],[\"comment/3\",[]],[\"name/4\",[4,27.3]],[\"comment/4\",[]],[\"name/5\",[5,27.3]],[\"comment/5\",[]],[\"name/6\",[6,27.3]],[\"comment/6\",[]],[\"name/7\",[7,27.3]],[\"comment/7\",[]],[\"name/8\",[8,27.3]],[\"comment/8\",[]],[\"name/9\",[9,27.3]],[\"comment/9\",[]],[\"name/10\",[10,27.3]],[\"comment/10\",[]],[\"name/11\",[11,27.3]],[\"comment/11\",[]],[\"name/12\",[12,27.3]],[\"comment/12\",[]],[\"name/13\",[13,27.3]],[\"comment/13\",[]],[\"name/14\",[14,27.3]],[\"comment/14\",[]],[\"name/15\",[15,27.3]],[\"comment/15\",[]],[\"name/16\",[16,27.3]],[\"comment/16\",[]],[\"name/17\",[17,27.3]],[\"comment/17\",[]],[\"name/18\",[18,27.3]],[\"comment/18\",[]],[\"name/19\",[19,27.3]],[\"comment/19\",[]],[\"name/20\",[20,27.3]],[\"comment/20\",[]],[\"name/21\",[21,27.3]],[\"comment/21\",[]]],\"invertedIndex\":[[\"ab\",{\"_index\":20,\"name\":{\"20\":{}},\"comment\":{}}],[\"addonerror\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"addonevent\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"ajax\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"chain\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"close\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}],[\"contextpath\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"faces\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"getclientwindow\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"getprojectstage\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"getviewstate\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"implversion\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"init\",{\"_index\":16,\"name\":{\"16\":{}},\"comment\":{}}],[\"myfaces\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"oam\",{\"_index\":21,\"name\":{\"21\":{}},\"comment\":{}}],[\"open\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"push\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"request\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"response\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"separatorchar\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"specversion\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"util\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
|
package/dist/docs/index.html
CHANGED
|
@@ -172,6 +172,21 @@ For the time being all client side errors are reported in english.
|
|
|
172
172
|
I can reintroduce them, if there is real demand.
|
|
173
173
|
But the size and maintainability tradeoff, compared to what they
|
|
174
174
|
bring was not worth it to keep them anymore.</p>
|
|
175
|
+
<ul>
|
|
176
|
+
<li>Mapping file support</li>
|
|
177
|
+
</ul>
|
|
178
|
+
<p>The original implementation had various builds to support easier debugging (split, combined, compressed)</p>
|
|
179
|
+
<p>We now have only two builds prod and development.
|
|
180
|
+
However I have introduced a mapping file support.
|
|
181
|
+
To enable this support you have to reference the FacesJSMappingDecorator unless the mapping file
|
|
182
|
+
is reachable via the normal request (mapping files are bundled).
|
|
183
|
+
This works for normal includes, but if you include the jsf.js in a resource library you have to use
|
|
184
|
+
the decorator provided.</p>
|
|
185
|
+
<p>Usage <em>faces-config.xml</em></p>
|
|
186
|
+
<pre><code class="language-xml"><br/><span class="hl-0"><</span><span class="hl-1">application</span><span class="hl-0">></span><br/><span class="hl-2"> </span><span class="hl-0"><</span><span class="hl-1">resource-handler</span><span class="hl-0">></span><span class="hl-2">com.example.jsfs_js_ts.FacesJSMapFileResourceWrapper</span><span class="hl-0"></</span><span class="hl-1">resource-handler</span><span class="hl-0">></span><br/><span class="hl-0"></</span><span class="hl-1">application</span><span class="hl-0">></span>
|
|
187
|
+
</code></pre>
|
|
188
|
+
<p>This resource decorator detects automatically a faces*.js file coming from a resource library
|
|
189
|
+
and adjusts the references in the resource accordingly to the request patterns</p>
|
|
175
190
|
</div></div>
|
|
176
191
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
177
192
|
<div class="tsd-navigation settings">
|
|
@@ -3549,7 +3549,6 @@ const Const_1 = __webpack_require__(/*! ../impl/core/Const */ "./src/main/typesc
|
|
|
3549
3549
|
//as per spec requirement
|
|
3550
3550
|
var faces;
|
|
3551
3551
|
(function (faces) {
|
|
3552
|
-
faces.contextpath = '#{facesContext.externalContext.requestContextPath}';
|
|
3553
3552
|
/**
|
|
3554
3553
|
* Version of the implementation for the faces.ts.
|
|
3555
3554
|
* <p />
|
|
@@ -3649,7 +3648,6 @@ var faces;
|
|
|
3649
3648
|
*/
|
|
3650
3649
|
function request(element, event, options) {
|
|
3651
3650
|
AjaxImpl_1.Implementation.request(element, event, options);
|
|
3652
|
-
//Implementation.getInstance().requestInternal(element, event, options);
|
|
3653
3651
|
}
|
|
3654
3652
|
ajax.request = request;
|
|
3655
3653
|
/**
|
|
@@ -4445,6 +4443,7 @@ exports.PushImpl = void 0;
|
|
|
4445
4443
|
//TODO still work in progress
|
|
4446
4444
|
//this is a 1:1 port for the time being
|
|
4447
4445
|
const Const_1 = __webpack_require__(/*! ./core/Const */ "./src/main/typescript/impl/core/Const.ts");
|
|
4446
|
+
;
|
|
4448
4447
|
/**
|
|
4449
4448
|
* Implementation class for the push functionality
|
|
4450
4449
|
*/
|
|
@@ -5648,7 +5647,6 @@ var ExtLang;
|
|
|
5648
5647
|
ExtLang.getLocalOrGlobalConfig = getLocalOrGlobalConfig;
|
|
5649
5648
|
/**
|
|
5650
5649
|
* assert that the form exists and throw an exception in the case it does not
|
|
5651
|
-
* (TODO move this into the assertions)
|
|
5652
5650
|
*
|
|
5653
5651
|
* @param form the form to check for
|
|
5654
5652
|
*/
|
|
@@ -6915,6 +6913,15 @@ const Lang_1 = __webpack_require__(/*! ../util/Lang */ "./src/main/typescript/im
|
|
|
6915
6913
|
const Const_1 = __webpack_require__(/*! ../core/Const */ "./src/main/typescript/impl/core/Const.ts");
|
|
6916
6914
|
const RequestDataResolver_1 = __webpack_require__(/*! ./RequestDataResolver */ "./src/main/typescript/impl/xhrCore/RequestDataResolver.ts");
|
|
6917
6915
|
var failSaveExecute = Lang_1.ExtLang.failSaveExecute;
|
|
6916
|
+
/**
|
|
6917
|
+
* Faces XHR Request Wrapper
|
|
6918
|
+
* as Asyncrunnable for our Asynchronous queue
|
|
6919
|
+
*
|
|
6920
|
+
* The idea is that we basically just enqueue
|
|
6921
|
+
* a single ajax request into our queue
|
|
6922
|
+
* and let the queue do the processing.
|
|
6923
|
+
*
|
|
6924
|
+
*/
|
|
6918
6925
|
class XhrRequest {
|
|
6919
6926
|
/**
|
|
6920
6927
|
* Reqired Parameters
|
|
@@ -7212,6 +7219,17 @@ exports.XhrRequest = XhrRequest;
|
|
|
7212
7219
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7213
7220
|
exports.oam = void 0;
|
|
7214
7221
|
const mona_dish_1 = __webpack_require__(/*! mona-dish */ "./node_modules/mona-dish/src/main/typescript/index_core.ts");
|
|
7222
|
+
/**
|
|
7223
|
+
* legacy code to enable various aspects
|
|
7224
|
+
* of myfaces, used to be rendered inline
|
|
7225
|
+
* for jsf 2.0 we can externalize it into its own custom resource
|
|
7226
|
+
*
|
|
7227
|
+
* note this is a straight 1:1 port from the existing codebase
|
|
7228
|
+
* (not too much work has been spent here, the important thing is, that
|
|
7229
|
+
* the namespace and functions need to be kept intact for legacy code)
|
|
7230
|
+
*
|
|
7231
|
+
* we might move the code over in the future, but for now a straight 1:1 port suffices
|
|
7232
|
+
*/
|
|
7215
7233
|
var oam;
|
|
7216
7234
|
(function (oam) {
|
|
7217
7235
|
/**
|
|
@@ -7351,7 +7369,6 @@ var exports = __webpack_exports__;
|
|
|
7351
7369
|
* See the License for the specific language governing permissions and
|
|
7352
7370
|
* limitations under the License.
|
|
7353
7371
|
*/
|
|
7354
|
-
///<reference types='../../types/typedefs'/>
|
|
7355
7372
|
|
|
7356
7373
|
var _a, _b, _c;
|
|
7357
7374
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -7359,6 +7376,14 @@ exports.myfaces = exports.faces = void 0;
|
|
|
7359
7376
|
/**
|
|
7360
7377
|
* faces.js init layer which provides as per spec the proper
|
|
7361
7378
|
* window namespace if it does not exist already
|
|
7379
|
+
*
|
|
7380
|
+
* The idea is that we use a small shim on top of
|
|
7381
|
+
* the implementation to provide the window namespace.
|
|
7382
|
+
* The implementation itself is in a protected namespace
|
|
7383
|
+
* which will be bound by the build system
|
|
7384
|
+
*
|
|
7385
|
+
* The documentation nevertheless targets the _api file, which
|
|
7386
|
+
* hosts the full api
|
|
7362
7387
|
*/
|
|
7363
7388
|
if (!window.faces) {
|
|
7364
7389
|
//we lazily load the code to prevent ram bloat
|
|
Binary file
|
|
Binary file
|