jsf.js_next_gen 4.0.1-beta.4 → 4.0.1-beta.5
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/dist/window/faces-development.js +5 -5
- 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 +5 -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/typescript/impl/util/FileUtils.ts +1 -1
- package/src/main/typescript/impl/xhrCore/ResponseProcessor.ts +4 -4
- package/src/main/typescript/test/frameworkBase/_ext/monadish/DomQueryTest.spec.ts +1 -1
- package/src/main/typescript/test/frameworkBase/_ext/monadish/fixtures/blank.css +15 -0
- package/src/main/typescript/test/frameworkBase/_ext/monadish/fixtures/test.js +15 -0
- package/src/main/typescript/test/frameworkBase/_ext/monadish/fixtures/test2.js +15 -0
- package/src/main/typescript/test/frameworkBase/_ext/shared/fixtures/jakarta.faces.resource/faces.js.jsf +15 -0
- package/target/impl/util/FileUtils.js +1 -1
- package/target/impl/util/FileUtils.js.map +1 -1
- package/target/impl/xhrCore/ResponseProcessor.js +2 -2
- package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js +138 -138
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js.map +1 -1
|
@@ -162,7 +162,7 @@ function alloc(arr, length, defaultVal = {}) {
|
|
|
162
162
|
arr.push(...toAdd);
|
|
163
163
|
}
|
|
164
164
|
function flattenAccessPath(accessPath) {
|
|
165
|
-
return accessPath.flatMap(path => path.split("["))
|
|
165
|
+
return new Es2019Array_1.Es2019Array(...accessPath).flatMap(path => path.split("["))
|
|
166
166
|
.map(path => path.indexOf("]") != -1 ? "[" + path : path)
|
|
167
167
|
.filter(path => path != "");
|
|
168
168
|
}
|
|
@@ -256,7 +256,7 @@ exports.simpleShallowMerge = simpleShallowMerge;
|
|
|
256
256
|
*/
|
|
257
257
|
function shallowMerge(overwrite = true, withAppend = false, ...assocArrays) {
|
|
258
258
|
let target = {};
|
|
259
|
-
assocArrays.map(arr => {
|
|
259
|
+
new Es2019Array_1.Es2019Array(...assocArrays).map(arr => {
|
|
260
260
|
return { arr, keys: Object.keys(arr) };
|
|
261
261
|
}).forEach(({ arr, keys }) => {
|
|
262
262
|
keys.forEach(key => {
|
|
@@ -6128,7 +6128,7 @@ function resolveViewState(parentItem) {
|
|
|
6128
6128
|
function getFormInputsAsArr(parentItem) {
|
|
6129
6129
|
const standardInputs = resolveViewState(parentItem);
|
|
6130
6130
|
const fileInputs = resolveFiles(parentItem);
|
|
6131
|
-
return standardInputs.concat(
|
|
6131
|
+
return standardInputs.concat(fileInputs);
|
|
6132
6132
|
}
|
|
6133
6133
|
exports.getFormInputsAsArr = getFormInputsAsArr;
|
|
6134
6134
|
|
|
@@ -7340,8 +7340,8 @@ class ResponseProcessor {
|
|
|
7340
7340
|
const nodesToAdd = (shadowHead.tagName.value === "HEAD") ? shadowHead.childNodes : shadowHead;
|
|
7341
7341
|
// this is stored for "post" processing
|
|
7342
7342
|
// after the rest of the "physical build up", head before body
|
|
7343
|
-
const scriptElements = nodesToAdd.
|
|
7344
|
-
.filter(item => scriptTags.indexOf(item.tagName.orElse("").value) != -1)
|
|
7343
|
+
const scriptElements = new mona_dish_1.DomQuery(...nodesToAdd.asArray
|
|
7344
|
+
.filter(item => scriptTags.indexOf(item.tagName.orElse("").value) != -1));
|
|
7345
7345
|
this.addToHeadDeferred(scriptElements);
|
|
7346
7346
|
}
|
|
7347
7347
|
addToHeadDeferred(newElements) {
|
|
Binary file
|
|
Binary file
|