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
|
@@ -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, _d, _e;
|
|
7357
7374
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
@@ -7362,7 +7379,7 @@ exports.myfaces = exports.jsf = void 0;
|
|
|
7362
7379
|
* if this file is included then the code falls back with its namespaces
|
|
7363
7380
|
* on jsf2.3 or earlier level, for 4.0+ please include faces.js
|
|
7364
7381
|
*/
|
|
7365
|
-
if (!window.jsf) {
|
|
7382
|
+
if (!(window === null || window === void 0 ? void 0 : window.jsf)) {
|
|
7366
7383
|
const faces = (__webpack_require__(/*! ./_api */ "./src/main/typescript/api/_api.ts").faces);
|
|
7367
7384
|
window['jsf'] = (_a = window === null || window === void 0 ? void 0 : window.jsf) !== null && _a !== void 0 ? _a : faces;
|
|
7368
7385
|
window.jsf.specversion = 230000;
|
|
Binary file
|
|
Binary file
|