jsf.js_next_gen 1.0.0-beta-17 → 1.0.0-beta-19
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/docs/assets/search.js +1 -1
- package/dist/docs/functions/myfaces.ab.html +1 -0
- package/dist/docs/modules/myfaces.html +5 -0
- package/dist/docs/variables/myfaces.oam.html +50 -0
- package/dist/window/jsf-development.js +500 -205
- package/dist/window/jsf-development.js.map +1 -1
- package/dist/window/jsf.js +2 -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 +1 -1
- package/remap.js +1 -1
- package/remap.js.map +1 -1
- package/remap.ts +1 -1
- package/src/main/typescript/api/Jsf.ts +8 -10
- package/src/main/typescript/impl/AjaxImpl.ts +85 -49
- package/src/main/typescript/impl/PushImpl.ts +16 -0
- package/src/main/typescript/impl/util/Assertions.ts +15 -0
- package/src/main/typescript/impl/util/AsyncQueue.ts +45 -17
- package/src/main/typescript/impl/util/AsyncRunnable.ts +5 -3
- package/src/main/typescript/impl/util/ExtDomQuery.ts +23 -8
- package/src/main/typescript/impl/util/IListener.ts +18 -0
- package/src/main/typescript/impl/xhrCore/ErrorData.ts +15 -0
- package/src/main/typescript/impl/xhrCore/EventData.ts +17 -2
- package/src/main/typescript/impl/xhrCore/IResponseProcessor.ts +15 -0
- package/src/main/typescript/impl/xhrCore/RequestDataResolver.ts +3 -3
- package/src/main/typescript/impl/xhrCore/ResonseDataResolver.ts +3 -3
- package/src/main/typescript/impl/xhrCore/Response.ts +5 -6
- package/src/main/typescript/impl/xhrCore/ResponseProcessor.ts +31 -11
- package/src/main/typescript/impl/xhrCore/XhrFormData.ts +86 -90
- package/src/main/typescript/impl/xhrCore/XhrRequest.ts +34 -28
- package/src/main/typescript/myfaces/OamSubmit.ts +151 -0
- package/src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts +4 -0
- package/src/main/typescript/test/myfaces/OamSubmit.spec.ts +50 -0
- package/src/main/typescript/test/xhrCore/FakeWebsocket.ts +15 -0
- package/src/main/typescript/test/xhrCore/FileUploadTest.spec.ts +15 -0
- package/src/main/typescript/test/xhrCore/RequestParamsTest.spec.ts +15 -0
- package/src/main/typescript/test/xhrCore/WebsocketTest.ts +15 -0
- package/target/api/Jsf.js +6 -5
- package/target/api/Jsf.js.map +1 -1
- package/target/impl/AjaxImpl.js +80 -39
- package/target/impl/AjaxImpl.js.map +1 -1
- package/target/impl/PushImpl.js +17 -2
- package/target/impl/PushImpl.js.map +1 -1
- package/target/impl/util/Assertions.js +15 -0
- package/target/impl/util/Assertions.js.map +1 -1
- package/target/impl/util/AsyncQueue.js +28 -15
- package/target/impl/util/AsyncQueue.js.map +1 -1
- package/target/impl/util/ExtDomQuery.js +22 -7
- package/target/impl/util/ExtDomQuery.js.map +1 -1
- package/target/impl/util/IListener.js +3 -0
- package/target/impl/util/IListener.js.map +1 -0
- package/target/impl/xhrCore/ErrorData.js +15 -0
- package/target/impl/xhrCore/ErrorData.js.map +1 -1
- package/target/impl/xhrCore/EventData.js +17 -2
- package/target/impl/xhrCore/EventData.js.map +1 -1
- package/target/impl/xhrCore/RequestDataResolver.js +3 -3
- package/target/impl/xhrCore/RequestDataResolver.js.map +1 -1
- package/target/impl/xhrCore/ResonseDataResolver.js +3 -3
- package/target/impl/xhrCore/ResonseDataResolver.js.map +1 -1
- package/target/impl/xhrCore/Response.js +5 -5
- package/target/impl/xhrCore/Response.js.map +1 -1
- package/target/impl/xhrCore/ResponseProcessor.js +31 -9
- package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
- package/target/impl/xhrCore/XhrFormData.js +86 -88
- package/target/impl/xhrCore/XhrFormData.js.map +1 -1
- package/target/impl/xhrCore/XhrRequest.js +32 -27
- package/target/impl/xhrCore/XhrRequest.js.map +1 -1
- package/target/myfaces/OamSubmit.js +128 -0
- package/target/myfaces/OamSubmit.js.map +1 -0
- package/target/test/frameworkBase/_ext/shared/StandardInits.js +3 -0
- package/target/test/frameworkBase/_ext/shared/StandardInits.js.map +1 -1
- package/target/test/myfaces/OamSubmit.spec.js +46 -0
- package/target/test/myfaces/OamSubmit.spec.js.map +1 -0
- package/target/test/xhrCore/FakeWebsocket.js +15 -0
- package/target/test/xhrCore/FakeWebsocket.js.map +1 -1
- package/target/test/xhrCore/FileUploadTest.spec.js +15 -0
- package/target/test/xhrCore/FileUploadTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestParamsTest.spec.js +15 -0
- package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
- package/target/test/xhrCore/WebsocketTest.js +15 -0
- package/target/test/xhrCore/WebsocketTest.js.map +1 -1
- package/webpack.config.js +0 -7
- package/webpack.config.js.map +1 -1
- package/webpack.config.ts +0 -7
- package/src/main/typescript/impl/util/ListenerQueue.ts +0 -3
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with
|
|
3
|
+
* this work for additional information regarding copyright ownership.
|
|
4
|
+
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
5
|
+
* (the "License"); you may not use this file except in compliance with
|
|
6
|
+
* the License. You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* legacy code to enable various aspects
|
|
19
|
+
* of myfaces, used to be rendered inline
|
|
20
|
+
* for jsf 2.0 we can externalized it into its own custom resource
|
|
21
|
+
*
|
|
22
|
+
* note this is a straight 1:1 port from the existing codebase
|
|
23
|
+
* (not too much work has been spent here, the important thing is, that
|
|
24
|
+
* the namespace and functions need to be kept intact for legacy code)
|
|
25
|
+
*
|
|
26
|
+
* we might move the code over in the future, but for now a straight 1:1 port suffices
|
|
27
|
+
*/
|
|
28
|
+
declare const window: any;
|
|
29
|
+
declare const myfaces: any;
|
|
30
|
+
|
|
31
|
+
export module oam {
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* sets a hidden input field
|
|
35
|
+
* @param formname the formName
|
|
36
|
+
* @param name the hidden field
|
|
37
|
+
* @param value the value to be rendered
|
|
38
|
+
*/
|
|
39
|
+
export const setHiddenInput = function (formname, name, value) {
|
|
40
|
+
let form: HTMLFormElement = document.forms[formname];
|
|
41
|
+
if (typeof form == 'undefined') {
|
|
42
|
+
form = document.getElementById(formname) as HTMLFormElement;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (typeof form.elements[name] != 'undefined' && (form.elements[name].nodeName == 'INPUT' || form.elements[name].nodeName == 'input')) {
|
|
46
|
+
(form.elements[name] as HTMLInputElement).value = value;
|
|
47
|
+
} else {
|
|
48
|
+
let newInput = document.createElement('input');
|
|
49
|
+
newInput.setAttribute('type', 'hidden');
|
|
50
|
+
newInput.setAttribute('id', name);
|
|
51
|
+
newInput.setAttribute('name', name);
|
|
52
|
+
newInput.setAttribute('value', value);
|
|
53
|
+
form.appendChild(newInput);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* clears a hidden input field
|
|
59
|
+
*
|
|
60
|
+
* @param formname formName for the input
|
|
61
|
+
* @param name the name of the input field
|
|
62
|
+
*/
|
|
63
|
+
export const clearHiddenInput = function (formname: string, name: string) {
|
|
64
|
+
let form: HTMLFormElement = document.forms[formname];
|
|
65
|
+
|
|
66
|
+
if (typeof form == 'undefined') {
|
|
67
|
+
form = document.getElementById(formname) as HTMLFormElement;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
let hInput = form.elements[name];
|
|
71
|
+
if (typeof hInput != 'undefined') {
|
|
72
|
+
form.removeChild(hInput);
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// noinspection JSUnusedGlobalSymbols
|
|
77
|
+
/**
|
|
78
|
+
* does special form submit remapping
|
|
79
|
+
* remaps the issuing command link into something
|
|
80
|
+
* the decode of the command link on the server can understand
|
|
81
|
+
*
|
|
82
|
+
* @param formName
|
|
83
|
+
* @param linkId
|
|
84
|
+
* @param target
|
|
85
|
+
* @param params
|
|
86
|
+
*/
|
|
87
|
+
export const submitForm = function (formName: string, linkId: string, target: HTMLElement, params: { [key: string]: any }) {
|
|
88
|
+
|
|
89
|
+
let clearFn = 'clearFormHiddenParams_' + formName.replace(/-/g, '\$:').replace(/:/g, '_');
|
|
90
|
+
if (typeof window[clearFn] == 'function') {
|
|
91
|
+
window[clearFn](formName);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
let form = document.forms[formName];
|
|
95
|
+
if (typeof form == 'undefined') {
|
|
96
|
+
form = document.getElementById(formName);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
//autoscroll code
|
|
100
|
+
if ((window as any)?.myfaces?.core?.config.autoScroll && typeof (window as any)?.getScrolling != 'undefined') {
|
|
101
|
+
myfaces.oam.setHiddenInput(formName, 'autoScroll', window?.getScrolling());
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
let oldTarget = form.target;
|
|
105
|
+
if (target != null) {
|
|
106
|
+
form.target = target;
|
|
107
|
+
}
|
|
108
|
+
if ((typeof params != 'undefined') && params != null) {
|
|
109
|
+
for (let i = 0, param; (param = params[i]); i++) {
|
|
110
|
+
myfaces.oam.setHiddenInput(formName, param[0], param[1]);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
myfaces.oam.setHiddenInput(formName, formName + ':' + '_idcl', linkId);
|
|
116
|
+
|
|
117
|
+
if (form.onsubmit) {
|
|
118
|
+
let result = form.onsubmit();
|
|
119
|
+
if ((typeof result == 'undefined') || result) {
|
|
120
|
+
try {
|
|
121
|
+
form.submit();
|
|
122
|
+
} catch (e) {
|
|
123
|
+
if (window.console) {
|
|
124
|
+
console.error(e);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
} else {
|
|
130
|
+
try {
|
|
131
|
+
form.submit();
|
|
132
|
+
} catch (e) {
|
|
133
|
+
if (window.console) {
|
|
134
|
+
console.error(e);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
form.target = oldTarget;
|
|
140
|
+
if ((typeof params != 'undefined') && params != null) {
|
|
141
|
+
|
|
142
|
+
for (let i = 0, param; (param = params[i]); i++) {
|
|
143
|
+
myfaces.oam.clearHiddenInput(formName, param[0], param[1]);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
myfaces.oam.clearHiddenInput(formName, formName + ':' + '_idcl', linkId);
|
|
149
|
+
return false;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
@@ -19,6 +19,7 @@ import {DomQuery} from "mona-dish";
|
|
|
19
19
|
|
|
20
20
|
declare let global;
|
|
21
21
|
declare let jsf: any;
|
|
22
|
+
declare let myfaces: any;
|
|
22
23
|
|
|
23
24
|
/**
|
|
24
25
|
* helpers with various init and html patterns
|
|
@@ -298,7 +299,9 @@ export module StandardInits {
|
|
|
298
299
|
*/
|
|
299
300
|
let applyJsfToGlobals = function (data, Implementation, PushImpl) {
|
|
300
301
|
(<any>global).jsf = data.jsf;
|
|
302
|
+
(<any>global).myfaces = data.myfaces;
|
|
301
303
|
(<any>global).window.jsf = data.jsf;
|
|
304
|
+
(<any>global).window.myfaces = data.myfaces;
|
|
302
305
|
(<any>global).Implementation = Implementation.Implementation;
|
|
303
306
|
(<any>global).PushImpl = PushImpl.PushImpl;
|
|
304
307
|
//bypass a bug on windows jsdom, domparser not an auto global but on window only
|
|
@@ -343,6 +346,7 @@ export module StandardInits {
|
|
|
343
346
|
(<any>global)?.PushImpl?.reset();
|
|
344
347
|
|
|
345
348
|
delete (<any>global).jsf;
|
|
349
|
+
delete (<any>global).myfaces;
|
|
346
350
|
delete (<any>global).Implementation;
|
|
347
351
|
delete (<any>global).PushImpl;
|
|
348
352
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with
|
|
3
|
+
* this work for additional information regarding copyright ownership.
|
|
4
|
+
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
5
|
+
* (the "License"); you may not use this file except in compliance with
|
|
6
|
+
* the License. You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {describe, it} from "mocha";
|
|
18
|
+
import * as sinon from "sinon";
|
|
19
|
+
import {expect} from "chai";
|
|
20
|
+
import {StandardInits} from "../frameworkBase/_ext/shared/StandardInits";
|
|
21
|
+
import defaultMyFaces = StandardInits.defaultMyFaces;
|
|
22
|
+
|
|
23
|
+
declare var jsf: any;
|
|
24
|
+
declare var Implementation: any;
|
|
25
|
+
|
|
26
|
+
let issueStdReq = function (element) {
|
|
27
|
+
jsf.ajax.request(element, null, {
|
|
28
|
+
execute: "input_1",
|
|
29
|
+
render: "@form",
|
|
30
|
+
pass1: "pass1",
|
|
31
|
+
pass2: "pass2"
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* specialized tests testing the xhr core behavior when it hits the xmlHttpRequest object
|
|
36
|
+
*/
|
|
37
|
+
describe('Tests on the xhr core when it starts to call the request', function () {
|
|
38
|
+
|
|
39
|
+
beforeEach(() => {
|
|
40
|
+
return defaultMyFaces();
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
it('namespace must exist', function() {
|
|
44
|
+
expect(!!global?.myfaces?.oam).to.eq(true);
|
|
45
|
+
expect(!!global?.myfaces?.oam?.setHiddenInput).to.eq(true);
|
|
46
|
+
expect(!!global?.myfaces?.oam?.clearHiddenInput).to.eq(true);
|
|
47
|
+
expect(!!global?.myfaces?.oam?.submitForm).to.eq(true);
|
|
48
|
+
});
|
|
49
|
+
// further tests will follow if needed, for now the namespace must be restored
|
|
50
|
+
});
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with
|
|
3
|
+
* this work for additional information regarding copyright ownership.
|
|
4
|
+
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
5
|
+
* (the "License"); you may not use this file except in compliance with
|
|
6
|
+
* the License. You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
export class FakeWebsocket {
|
|
2
17
|
|
|
3
18
|
onopen: Function = () => {}
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with
|
|
3
|
+
* this work for additional information regarding copyright ownership.
|
|
4
|
+
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
5
|
+
* (the "License"); you may not use this file except in compliance with
|
|
6
|
+
* the License. You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import {describe, it} from "mocha";
|
|
2
17
|
import * as sinon from "sinon";
|
|
3
18
|
import {expect} from "chai";
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with
|
|
3
|
+
* this work for additional information regarding copyright ownership.
|
|
4
|
+
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
5
|
+
* (the "License"); you may not use this file except in compliance with
|
|
6
|
+
* the License. You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import * as sinon from "sinon";
|
|
2
17
|
import {Implementation} from "../../impl/AjaxImpl";
|
|
3
18
|
import {StandardInits} from "../frameworkBase/_ext/shared/StandardInits";
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2
|
+
* contributor license agreements. See the NOTICE file distributed with
|
|
3
|
+
* this work for additional information regarding copyright ownership.
|
|
4
|
+
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
5
|
+
* (the "License"); you may not use this file except in compliance with
|
|
6
|
+
* the License. You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
1
16
|
import {describe} from "mocha";
|
|
2
17
|
import * as sinon from "sinon";
|
|
3
18
|
import {StandardInits} from "../frameworkBase/_ext/shared/StandardInits";
|
package/target/api/Jsf.js
CHANGED
|
@@ -28,6 +28,7 @@ exports.myfaces = exports.jsf = void 0;
|
|
|
28
28
|
///<reference types='../../types/typedefs'/>
|
|
29
29
|
var AjaxImpl_1 = require("../impl/AjaxImpl");
|
|
30
30
|
var PushImpl_1 = require("../impl/PushImpl");
|
|
31
|
+
var OamSubmit_1 = require("../myfaces/OamSubmit");
|
|
31
32
|
//declare const Implementation: any;
|
|
32
33
|
var jsf;
|
|
33
34
|
(function (jsf) {
|
|
@@ -221,12 +222,8 @@ var jsf;
|
|
|
221
222
|
}
|
|
222
223
|
push.close = close;
|
|
223
224
|
})(push = jsf.push || (jsf.push = {}));
|
|
224
|
-
//We hook the old namespace system into our npm system
|
|
225
|
-
//if ("undefined" == window.jsf) {
|
|
226
|
-
// window.jsf = jsf;
|
|
227
|
-
//}
|
|
228
225
|
})(jsf = exports.jsf || (exports.jsf = {}));
|
|
229
|
-
//fullfill the window contract
|
|
226
|
+
//fullfill the window contract for the myfaces namespace
|
|
230
227
|
var myfaces;
|
|
231
228
|
(function (myfaces) {
|
|
232
229
|
/**
|
|
@@ -255,5 +252,9 @@ var myfaces;
|
|
|
255
252
|
jsf.ajax.request(source, event, options);
|
|
256
253
|
}
|
|
257
254
|
myfaces.ab = ab;
|
|
255
|
+
/**
|
|
256
|
+
* legacy oam functions
|
|
257
|
+
*/
|
|
258
|
+
myfaces.oam = OamSubmit_1.oam;
|
|
258
259
|
})(myfaces = exports.myfaces || (exports.myfaces = {}));
|
|
259
260
|
//# sourceMappingURL=Jsf.js.map
|
package/target/api/Jsf.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Jsf.js","sourceRoot":"","sources":["../../src/main/typescript/api/Jsf.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;AAEH,4CAA4C;AAE5C,6CAAgD;AAChD,6CAA0C;
|
|
1
|
+
{"version":3,"file":"Jsf.js","sourceRoot":"","sources":["../../src/main/typescript/api/Jsf.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;AAEH,4CAA4C;AAE5C,6CAAgD;AAChD,6CAA0C;AAC1C,kDAAiD;AAGjD,oCAAoC;AAEpC,IAAc,GAAG,CAsMhB;AAtMD,WAAc,GAAG;IACb,YAAY,CAAC;IAEb;;;;;;;;;;OAUG;IACQ,eAAW,GAAG,MAAM,CAAC;IAChC;;;;;;;OAOG;IACQ,eAAW,GAAG,CAAC,CAAC;IAE3B;;;OAGG;IACQ,iBAAa,GAAG,gBAAgB,EAAE,CAAC;IAE9C;;;;;;;;;;;;;;OAcG;IACH,SAAgB,eAAe;QAC3B,OAAO,yBAAc,CAAC,eAAe,EAAE,CAAC;IAC5C,CAAC;IAFe,mBAAe,kBAE9B,CAAA;IAED;;;;;;;OAOG;IACH,SAAgB,YAAY,CAAC,WAA6B;QACtD,OAAO,yBAAc,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACpD,CAAC;IAFe,gBAAY,eAE3B,CAAA;IAED;;;;OAIG;IACH,SAAgB,eAAe,CAAC,QAA2B;QACvD,OAAO,yB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QAAQ,CAAC,GAAG,MAAM,CAAC;SAC9B;QAED,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IAZe,UAAE,KAYjB,CAAA;IAED;;OAEG;IACU,WAAG,GAAG,eAAI,CAAC;AAC5B,CAAC,EAhCa,OAAO,GAAP,eAAO,KAAP,eAAO,QAgCpB"}
|
package/target/impl/AjaxImpl.js
CHANGED
|
@@ -62,6 +62,54 @@ var BlockFilter;
|
|
|
62
62
|
*/
|
|
63
63
|
var Implementation;
|
|
64
64
|
(function (Implementation) {
|
|
65
|
+
/*
|
|
66
|
+
Small internal explanation, this code is optimized for readability
|
|
67
|
+
and cuts off a ton of old legacy code.
|
|
68
|
+
Aka older browsers are not supported anymore.
|
|
69
|
+
We use a self written helper library to keep the number of exernal
|
|
70
|
+
code dependencies down.
|
|
71
|
+
The library is called mona-dish and started as a small sideproject of mine
|
|
72
|
+
it provides following
|
|
73
|
+
|
|
74
|
+
a) Monad like structures for querying because this keeps the code denser and adds abstractions
|
|
75
|
+
that always was the strong point of jquery and it still is better in this regard than what ecmascript provides
|
|
76
|
+
|
|
77
|
+
b) Streams and lazystreams like java has, a pull like construct, ecmascript does not have anything like Lazystreams.
|
|
78
|
+
Another option would have been rxjs but that would have introduced a code dependency and probably more code. We might
|
|
79
|
+
move to RXJS if the need arises however. But for now I would rather stick with my small self grown library which works
|
|
80
|
+
quite well and where I can patch quickly (I have used it in several industrial projects, so it works well
|
|
81
|
+
and is heavily fortified by unit tests (140 testcases as time of writing this))
|
|
82
|
+
|
|
83
|
+
c) A neutral json like configuration which allows assignments of arbitrary values with reduce code which then can be
|
|
84
|
+
transformed into different data representations
|
|
85
|
+
|
|
86
|
+
examples:
|
|
87
|
+
internalCtx.assign(MYPARAM, CTX_PARAM_SRC_FRM_ID).value = form.id.value;
|
|
88
|
+
passes a value into context.MYPARAM.CTX_PARAM_SRC_FRM_ID
|
|
89
|
+
|
|
90
|
+
basically an abbreviation for
|
|
91
|
+
|
|
92
|
+
internalCtxt[MYPARAM] = internalCtxt?.[MYPARAM] ? internalCtxt[MYPARAM] : {};
|
|
93
|
+
internalCtxt[MYPARAM][CTX_PARAM_SRC_FRM_ID] = internalCtxt?.[MYPARAM][CTX_PARAM_SRC_FRM_ID] ? internalCtxt[MYPARAM][CTX_PARAM_SRC_FRM_ID] : {};
|
|
94
|
+
internalCtxt[MYPARAM][CTX_PARAM_SRC_FRM_ID] = form.id.value;
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
internalCtx.assign(condition, MYPARAM, CTX_PARAM_SRC_FRM_ID).value = form.id.value;
|
|
98
|
+
passes a value into context.MYPARAM.CTX_PARAM_SRC_FRM_ID if condition === true otherwise it is ignored
|
|
99
|
+
|
|
100
|
+
abbreviates:
|
|
101
|
+
if(condition) {
|
|
102
|
+
internalCtxt[MYPARAM] = internalCtxt?.[MYPARAM] ? internalCtxt[MYPARAM] : {};
|
|
103
|
+
internalCtxt[MYPARAM][CTX_PARAM_SRC_FRM_ID] = internalCtxt?.[MYPARAM][CTX_PARAM_SRC_FRM_ID] ? internalCtxt[MYPARAM][CTX_PARAM_SRC_FRM_ID] : {};
|
|
104
|
+
internalCtxt[MYPARAM][CTX_PARAM_SRC_FRM_ID] = form.id.value;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
d) Optional constructs, while under heavy debate we only use them lightly where the api requires it from mona-dish
|
|
109
|
+
|
|
110
|
+
Note the inclusion of this library uses a reduced build which only includes the part of it, which we really use
|
|
111
|
+
|
|
112
|
+
*/
|
|
65
113
|
var trim = mona_dish_1.Lang.trim;
|
|
66
114
|
var getMessage = Lang_1.ExtLang.getMessage;
|
|
67
115
|
var getGlobalConfig = Lang_1.ExtLang.getGlobalConfig;
|
|
@@ -131,8 +179,9 @@ var Implementation;
|
|
|
131
179
|
funcs[_i - 2] = arguments[_i];
|
|
132
180
|
}
|
|
133
181
|
return mona_dish_1.LazyStream.of.apply(mona_dish_1.LazyStream, funcs).map(function (func) { return resolveAndExecute(source, event, func); })
|
|
134
|
-
// we use the return false == stop as an early stop
|
|
182
|
+
// we use the return false == stop as an early stop, onElem stops at the first false
|
|
135
183
|
.onElem(function (opResult) { return opResult; })
|
|
184
|
+
//last ensures we run until the first false is returned
|
|
136
185
|
.last().value;
|
|
137
186
|
}
|
|
138
187
|
Implementation.chain = chain;
|
|
@@ -158,14 +207,25 @@ var Implementation;
|
|
|
158
207
|
var _a, _b, _c;
|
|
159
208
|
var _d = (0, RequestDataResolver_1.resolveDefaults)(event, opts, el), resolvedEvent = _d.resolvedEvent, options = _d.options, elem = _d.elem, elementId = _d.elementId, requestCtx = _d.requestCtx, internalCtx = _d.internalCtx, windowId = _d.windowId, isResetValues = _d.isResetValues;
|
|
160
209
|
Assertions_1.Assertions.assertRequestIntegrity(options, elem);
|
|
210
|
+
/**
|
|
211
|
+
* fetch the parent form
|
|
212
|
+
*
|
|
213
|
+
* note we also add an override possibility here
|
|
214
|
+
* so that people can use dummy forms and work
|
|
215
|
+
* with detached objects
|
|
216
|
+
*/
|
|
217
|
+
var form = (0, RequestDataResolver_1.resolveForm)(requestCtx, elem, resolvedEvent);
|
|
218
|
+
var formId = form.id.value;
|
|
219
|
+
var delay = (0, RequestDataResolver_1.resolveDelay)(options);
|
|
220
|
+
var timeout = (0, RequestDataResolver_1.resolveTimeout)(options);
|
|
161
221
|
requestCtx.assignIf(!!windowId, Const_1.P_WINDOW_ID).value = windowId;
|
|
162
222
|
requestCtx.assign(Const_1.CTX_PARAM_PASS_THR).value = filterPassthroughValues(options.value);
|
|
163
223
|
requestCtx.assignIf(!!resolvedEvent, Const_1.CTX_PARAM_PASS_THR, Const_1.P_EVT).value = resolvedEvent === null || resolvedEvent === void 0 ? void 0 : resolvedEvent.type;
|
|
164
224
|
/**
|
|
165
225
|
* ajax pass through context with the source
|
|
166
|
-
*
|
|
226
|
+
* onresolved Event and onerror Event
|
|
167
227
|
*/
|
|
168
|
-
requestCtx.assign(Const_1.SOURCE).value = elementId
|
|
228
|
+
requestCtx.assign(Const_1.SOURCE).value = elementId;
|
|
169
229
|
/**
|
|
170
230
|
* on resolvedEvent and onError...
|
|
171
231
|
* those values will be traversed later on
|
|
@@ -177,26 +237,14 @@ var Implementation;
|
|
|
177
237
|
* lets drag the myfaces config params also in
|
|
178
238
|
*/
|
|
179
239
|
requestCtx.assign(Const_1.MYFACES).value = (_c = options.value) === null || _c === void 0 ? void 0 : _c.myfaces;
|
|
180
|
-
/**
|
|
181
|
-
* fetch the parent form
|
|
182
|
-
*
|
|
183
|
-
* note we also add an override possibility here
|
|
184
|
-
* so that people can use dummy forms and work
|
|
185
|
-
* with detached objects
|
|
186
|
-
*/
|
|
187
|
-
var form = (0, RequestDataResolver_1.resolveForm)(requestCtx, elem, resolvedEvent);
|
|
188
240
|
/**
|
|
189
241
|
* binding contract the javax.faces.source must be set
|
|
190
242
|
*/
|
|
191
|
-
requestCtx.assign(Const_1.CTX_PARAM_PASS_THR, Const_1.P_PARTIAL_SOURCE).value = elementId
|
|
243
|
+
requestCtx.assign(Const_1.CTX_PARAM_PASS_THR, Const_1.P_PARTIAL_SOURCE).value = elementId;
|
|
192
244
|
/**
|
|
193
245
|
* javax.faces.partial.ajax must be set to true
|
|
194
246
|
*/
|
|
195
247
|
requestCtx.assign(Const_1.CTX_PARAM_PASS_THR, Const_1.P_AJAX).value = true;
|
|
196
|
-
/**
|
|
197
|
-
* binding contract the javax.faces.source must be set
|
|
198
|
-
*/
|
|
199
|
-
requestCtx.assign(Const_1.CTX_PARAM_PASS_THR, Const_1.P_PARTIAL_SOURCE).value = elementId.value;
|
|
200
248
|
/**
|
|
201
249
|
* if resetValues is set to true
|
|
202
250
|
* then we have to set javax.faces.resetValues as well
|
|
@@ -205,22 +253,20 @@ var Implementation;
|
|
|
205
253
|
* the specs jsdoc
|
|
206
254
|
*/
|
|
207
255
|
requestCtx.assignIf(isResetValues, Const_1.CTX_PARAM_PASS_THR, Const_1.P_RESET_VALUES).value = true;
|
|
208
|
-
//additional meta information to speed things up, note internal non jsf
|
|
209
|
-
//pass through options are stored under _mfInternal in the context
|
|
210
|
-
internalCtx.assign(Const_1.CTX_PARAM_SRC_FRM_ID).value =
|
|
211
|
-
|
|
256
|
+
// additional meta information to speed things up, note internal non jsf
|
|
257
|
+
// pass through options are stored under _mfInternal in the context
|
|
258
|
+
internalCtx.assign(Const_1.CTX_PARAM_SRC_FRM_ID).value = formId;
|
|
259
|
+
// mojarra compatibility, mojarra is sending the form id as well
|
|
260
|
+
// this is not documented behavior but can be determined by running
|
|
261
|
+
// mojarra under blackbox conditions.
|
|
262
|
+
// I assume it does the same as our formId_submit=1 so leaving it out
|
|
263
|
+
// won't hurt but for the sake of compatibility we are going to add it
|
|
264
|
+
requestCtx.assign(Const_1.CTX_PARAM_PASS_THR, formId).value = formId;
|
|
265
|
+
internalCtx.assign(Const_1.CTX_PARAM_SRC_CTL_ID).value = elementId;
|
|
212
266
|
internalCtx.assign(Const_1.CTX_PARAM_TR_TYPE).value = Const_1.REQ_TYPE_POST;
|
|
213
|
-
//mojarra compatibility, mojarra is sending the form id as well
|
|
214
|
-
//this is not documented behavior but can be determined by running
|
|
215
|
-
//mojarra under blackbox conditions
|
|
216
|
-
//i assume it does the same as our formId_submit=1 so leaving it out
|
|
217
|
-
//wont hurt but for the sake of compatibility we are going to add it
|
|
218
|
-
requestCtx.assign(Const_1.CTX_PARAM_PASS_THR, form.id.value).value = form.id.value;
|
|
219
267
|
assignClientWindowId(form, requestCtx);
|
|
220
|
-
assignExecute(options, requestCtx, form, elementId
|
|
221
|
-
assignRender(options, requestCtx, form, elementId
|
|
222
|
-
var delay = (0, RequestDataResolver_1.resolveDelay)(options);
|
|
223
|
-
var timeout = (0, RequestDataResolver_1.resolveTimeout)(options);
|
|
268
|
+
assignExecute(options, requestCtx, form, elementId);
|
|
269
|
+
assignRender(options, requestCtx, form, elementId);
|
|
224
270
|
//now we enqueue the request as asynchronous runnable into our request
|
|
225
271
|
//queue and let the queue take over the rest
|
|
226
272
|
Implementation.queueHandler.addRequestToQueue(elem, form, requestCtx, internalCtx, delay, timeout);
|
|
@@ -242,7 +288,6 @@ var Implementation;
|
|
|
242
288
|
* @param errorListener the error listener handler
|
|
243
289
|
*/
|
|
244
290
|
function addOnError(errorListener) {
|
|
245
|
-
/*error handling already done in the assert of the queue*/
|
|
246
291
|
errorQueue.push(errorListener);
|
|
247
292
|
}
|
|
248
293
|
Implementation.addOnError = addOnError;
|
|
@@ -252,7 +297,6 @@ var Implementation;
|
|
|
252
297
|
* @param eventListener the event listener handler
|
|
253
298
|
*/
|
|
254
299
|
function addOnEvent(eventListener) {
|
|
255
|
-
/*error handling already done in the assert of the queue*/
|
|
256
300
|
eventQueue.push(eventListener);
|
|
257
301
|
}
|
|
258
302
|
Implementation.addOnEvent = addOnEvent;
|
|
@@ -405,7 +449,7 @@ var Implementation;
|
|
|
405
449
|
Implementation.getViewState = getViewState;
|
|
406
450
|
/**
|
|
407
451
|
* this at the first sight looks like a weird construct, but we need to do it this way
|
|
408
|
-
* for testing, we cannot proxy addRequestToQueue from the testing frameworks directly
|
|
452
|
+
* for testing, we cannot proxy addRequestToQueue from the testing frameworks directly,
|
|
409
453
|
* but we need to keep it under unit tests.
|
|
410
454
|
*/
|
|
411
455
|
Implementation.queueHandler = {
|
|
@@ -496,11 +540,8 @@ var Implementation;
|
|
|
496
540
|
var iterValues = (userValues) ? trim(userValues).split(/\s+/gi) : [];
|
|
497
541
|
var ret = [];
|
|
498
542
|
var processed = {};
|
|
499
|
-
//
|
|
500
|
-
//
|
|
501
|
-
//this is more readable than the old indexed based solution
|
|
502
|
-
//and not really slower because we had to build up the index in our old solution
|
|
503
|
-
//anyway
|
|
543
|
+
// in this case we do not use lazy stream because it wont bring any code reduction
|
|
544
|
+
// or speedup
|
|
504
545
|
for (var cnt = 0; cnt < iterValues.length; cnt++) {
|
|
505
546
|
//avoid doubles
|
|
506
547
|
if (iterValues[cnt] in processed) {
|
|
@@ -568,7 +609,7 @@ var Implementation;
|
|
|
568
609
|
}
|
|
569
610
|
else {
|
|
570
611
|
//either a function or a string can be passed in case of a string we have to wrap it into another function
|
|
571
|
-
//it
|
|
612
|
+
//it is not a plain executable code but a definition
|
|
572
613
|
var sourceCode = trim(func);
|
|
573
614
|
if (sourceCode.indexOf("function ") == 0) {
|
|
574
615
|
sourceCode = "return ".concat(sourceCode, " (event)");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AjaxImpl.js","sourceRoot":"","sources":["../../src/main/typescript/impl/AjaxImpl.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,+CAA4C;AAC5C,mDAAgD;AAChD,gDAAoD;AACpD,uCAA8F;AAC9F,gDAA6C;AAC7C,qDAAkD;AAClD,kDAA+C;AAC/C,iDAA8C;AAE9C,oCAAoC;AACpC,sCAyBsB;AACtB,qEAKuC;AAKvC;;GAEG;AACH,IAAK,aAKJ;AALD,WAAK,aAAa;IACd,0CAAyB,CAAA;IACzB,4CAA2B,CAAA;IAC3B,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;AACzB,CAAC,EALI,aAAa,KAAb,aAAa,QAKjB;AAED;;;GAGG;AACH,IAAK,WASJ;AATD,WAAK,WAAW;IACZ,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;AACzB,CAAC,EATI,WAAW,KAAX,WAAW,QASf;AAED;;;;;;;GAOG;AACH,IAAc,cAAc,CAmjB3B;AAnjBD,WAAc,cAAc;IAExB,IAAO,IAAI,GAAG,gBAAI,CAAC,IAAI,CAAC;IACxB,IAAO,UAAU,GAAG,cAAO,CAAC,UAAU,CAAC;IACvC,IAAO,eAAe,GAAG,cAAO,CAAC,eAAe,CAAC;IACjD,IAAO,M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AKG;IACH,SAAS,uBAAuB,CAAC,UAAmB;QAChD,gEAAgE;QAChE,WAAW;QACX,OAAO,kBAAM,CAAC,OAAO,CAAC,UAAU,CAAC;aAC5B,MAAM,CAAC,UAAA,IAAI,IAAI,OAAA,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,WAAW,CAAC,EAAzB,CAAyB,CAAC;aACzC,OAAO,CAAC,IAAI,+BAAmB,EAAE,CAAC,CAAC;IAC5C,CAAC;IAED,SAAS,mBAAmB;;QACxB,OAAQ,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAG,eAAO,CAAC,0CAAE,MAAM,mCAAI,EAAE,CAAC;IAC5C,CAAC;IAED;;;;;;;;OAQG;IACH,SAAS,iBAAiB,CAAC,MAAW,EAAE,KAAY,EAAE,IAAuB;QACzE,IAAI,QAAQ,IAAI,OAAO,IAAI,EAAE;YACzB,mEAAmE;YACnE,OAAkB,IAAK,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,KAAK,CAAC;SACzD;aAAM;YACH,0GAA0G;YAC1G,oDAAoD;YACpD,IAAI,UAAU,GAAG,IAAI,CAAS,IAAI,CAAC,CAAC;YACpC,IAAI,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE;gBACtC,UAAU,GAAG,iBAAU,UAAU,aAAU,CAAC;aAC/C;YACD,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,KAAK,CAAC;SAC1E;IACL,CAAC;AACL,CAAC,EAvlBa,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAulB3B"}
|
package/target/impl/PushImpl.js
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
*
|
|
2
|
+
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
3
|
+
* contributor license agreements. See the NOTICE file distributed with
|
|
4
|
+
* this work for additional information regarding copyright ownership.
|
|
5
|
+
* The ASF licenses this file to you under the Apache License, Version 2.0
|
|
6
|
+
* (the "License"); you may not use this file except in compliance with
|
|
7
|
+
* the License. You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
4
16
|
*/
|
|
5
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
18
|
exports.PushImpl = void 0;
|
|
19
|
+
/**
|
|
20
|
+
* Typescript port of the jsf.push part in the myfaces implementation
|
|
21
|
+
*/
|
|
7
22
|
//TODO still work in progress
|
|
8
23
|
//this is a 1:1 port for the time being
|
|
9
24
|
var Jsf_1 = require("../api/Jsf");
|