jsf.js_next_gen 4.0.0-RC.2 → 4.0.0-RC.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/docs/functions/myfaces.ab.html +2 -2
- package/dist/window/faces-development.js +2749 -2039
- 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 +2754 -2044
- 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 +7 -7
- package/src/main/typescript/@types/definitions/index.d.ts +16 -1
- package/src/main/typescript/api/_api.ts +1 -1
- package/src/main/typescript/impl/AjaxImpl.ts +22 -2
- package/src/main/typescript/impl/core/Const.ts +2 -0
- package/src/main/typescript/impl/util/AsyncQueue.ts +1 -1
- package/src/main/typescript/impl/xhrCore/RequestDataResolver.ts +2 -2
- package/src/main/typescript/myfaces/OamSubmit.ts +11 -10
- package/src/main/typescript/test/xhrCore/OamSubmitTest.spec.ts +117 -0
- package/src/main/typescript/test/xhrCore/RequestTest.spec.ts +166 -8
- package/src/main/typescript/tsconfig.json +1 -1
- package/target/api/_api.js +25 -11
- package/target/api/_api.js.map +1 -1
- package/target/api/faces.js +4 -4
- package/target/api/faces.js.map +1 -1
- package/target/api/jsf.js +9 -9
- package/target/api/jsf.js.map +1 -1
- package/target/impl/AjaxImpl.js +79 -53
- package/target/impl/AjaxImpl.js.map +1 -1
- package/target/impl/PushImpl.js +48 -45
- package/target/impl/PushImpl.js.map +1 -1
- package/target/impl/core/Const.js +5 -4
- package/target/impl/core/Const.js.map +1 -1
- package/target/impl/core/ImplTypes.js +14 -9
- package/target/impl/core/ImplTypes.js.map +1 -1
- package/target/impl/i18n/Messages.js +4 -3
- package/target/impl/i18n/Messages.js.map +1 -1
- package/target/impl/util/Assertions.js +18 -9
- package/target/impl/util/Assertions.js.map +1 -1
- package/target/impl/util/AsyncQueue.js +36 -28
- package/target/impl/util/AsyncQueue.js.map +1 -1
- package/target/impl/util/ExtDomQuery.js +219 -144
- package/target/impl/util/ExtDomQuery.js.map +1 -1
- package/target/impl/util/Lang.js +28 -21
- package/target/impl/util/Lang.js.map +1 -1
- package/target/impl/xhrCore/ErrorData.js +61 -36
- package/target/impl/xhrCore/ErrorData.js.map +1 -1
- package/target/impl/xhrCore/EventData.js +13 -10
- package/target/impl/xhrCore/EventData.js.map +1 -1
- package/target/impl/xhrCore/RequestDataResolver.js +18 -16
- package/target/impl/xhrCore/RequestDataResolver.js.map +1 -1
- package/target/impl/xhrCore/ResonseDataResolver.js +16 -16
- package/target/impl/xhrCore/ResonseDataResolver.js.map +1 -1
- package/target/impl/xhrCore/Response.js +16 -16
- package/target/impl/xhrCore/Response.js.map +1 -1
- package/target/impl/xhrCore/ResponseProcessor.js +133 -119
- package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
- package/target/impl/xhrCore/XhrFormData.js +106 -72
- package/target/impl/xhrCore/XhrFormData.js.map +1 -1
- package/target/impl/xhrCore/XhrRequest.js +95 -85
- package/target/impl/xhrCore/XhrRequest.js.map +1 -1
- package/target/myfaces/OamSubmit.js +24 -20
- package/target/myfaces/OamSubmit.js.map +1 -1
- package/target/test/frameworkBase/LangTest.spec.js +32 -46
- package/target/test/frameworkBase/LangTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js +228 -238
- package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js +31 -45
- package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/MappingProbes.js +33 -24
- package/target/test/frameworkBase/_ext/monadish/MappingProbes.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/MappingTest.spec.js +8 -8
- package/target/test/frameworkBase/_ext/monadish/MappingTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js +31 -31
- package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js +48 -50
- package/target/test/frameworkBase/_ext/monadish/StreamTest.spec.js.map +1 -1
- package/target/test/frameworkBase/_ext/shared/StandardInits.js +132 -247
- package/target/test/frameworkBase/_ext/shared/StandardInits.js.map +1 -1
- package/target/test/frameworkBase/_ext/shared/XmlResponses.js +22 -199
- package/target/test/frameworkBase/_ext/shared/XmlResponses.js.map +1 -1
- package/target/test/impl/ImplTest.spec.js +59 -32
- package/target/test/impl/ImplTest.spec.js.map +1 -1
- package/target/test/impl/ImplTest_23.spec.js +59 -32
- package/target/test/impl/ImplTest_23.spec.js.map +1 -1
- package/target/test/impl/SeparatorCharsTest.spec.js +17 -17
- package/target/test/impl/SeparatorCharsTest.spec.js.map +1 -1
- package/target/test/myfaces/OamSubmit.spec.js +25 -25
- package/target/test/myfaces/OamSubmit.spec.js.map +1 -1
- package/target/test/queue/AsynchronousProbe.js +29 -23
- package/target/test/queue/AsynchronousProbe.js.map +1 -1
- package/target/test/queue/AsynchronousQueueTest.spec.js +70 -39
- package/target/test/queue/AsynchronousQueueTest.spec.js.map +1 -1
- package/target/test/xhrCore/EventTests.spec.js +73 -42
- package/target/test/xhrCore/EventTests.spec.js.map +1 -1
- package/target/test/xhrCore/FakeWebsocket.js +16 -14
- package/target/test/xhrCore/FakeWebsocket.js.map +1 -1
- package/target/test/xhrCore/FileUploadTest.spec.js +77 -46
- package/target/test/xhrCore/FileUploadTest.spec.js.map +1 -1
- package/target/test/xhrCore/OamSubmitTest.spec.js +154 -0
- package/target/test/xhrCore/OamSubmitTest.spec.js.map +1 -0
- package/target/test/xhrCore/RequestParamsTest.spec.js +68 -37
- package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestTest.spec.js +264 -85
- package/target/test/xhrCore/RequestTest.spec.js.map +1 -1
- package/target/test/xhrCore/RequestTest_23.spec.js +140 -93
- package/target/test/xhrCore/RequestTest_23.spec.js.map +1 -1
- package/target/test/xhrCore/ResponseTest.spec.js +91 -122
- package/target/test/xhrCore/ResponseTest.spec.js.map +1 -1
- package/target/test/xhrCore/ResponseTest23.spec.js +83 -114
- package/target/test/xhrCore/ResponseTest23.spec.js.map +1 -1
- package/target/test/xhrCore/ShadowDomTest.spec.js +61 -30
- package/target/test/xhrCore/ShadowDomTest.spec.js.map +1 -1
- package/target/test/xhrCore/WebsocketTest.js +93 -60
- package/target/test/xhrCore/WebsocketTest.js.map +1 -1
- package/target/test/xhrCore/XhrFormDataTest.spec.js +15 -41
- package/target/test/xhrCore/XhrFormDataTest.spec.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/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +0 -4
- package/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +0 -4
- package/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst +0 -1
- package/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst +0 -1
- package/target/surefire-reports/TEST-com.example.jsfs_js_ts.JsfsJsTsApplicationTests.xml +0 -78
- package/target/surefire-reports/com.example.jsfs_js_ts.JsfsJsTsApplicationTests.txt +0 -7
- 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 +0 -24
- package/target/test-classes/jsf-development.js +0 -3559
- 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 +0 -1
- package/target/test-classes/jsf.js +0 -3
- package/target/test-classes/jsf.js.br +0 -0
- package/target/test-classes/jsf.js.gz +0 -0
|
@@ -46,9 +46,36 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
46
46
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
50
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
51
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
52
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
53
|
+
function step(op) {
|
|
54
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
55
|
+
while (_) try {
|
|
56
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
57
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
58
|
+
switch (op[0]) {
|
|
59
|
+
case 0: case 1: t = op; break;
|
|
60
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
61
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
62
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
63
|
+
default:
|
|
64
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
65
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
66
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
67
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
68
|
+
if (t[2]) _.ops.pop();
|
|
69
|
+
_.trys.pop(); continue;
|
|
70
|
+
}
|
|
71
|
+
op = body.call(thisArg, _);
|
|
72
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
73
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
74
|
+
}
|
|
75
|
+
};
|
|
49
76
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
77
|
exports.StandardInits = void 0;
|
|
51
|
-
|
|
78
|
+
var mona_dish_1 = require("mona-dish");
|
|
52
79
|
/**
|
|
53
80
|
* helpers with various init and html patterns
|
|
54
81
|
*
|
|
@@ -64,95 +91,25 @@ const mona_dish_1 = require("mona-dish");
|
|
|
64
91
|
*/
|
|
65
92
|
var StandardInits;
|
|
66
93
|
(function (StandardInits) {
|
|
67
|
-
StandardInits.HTML_DEFAULT =
|
|
68
|
-
<html lang
|
|
69
|
-
<head>
|
|
70
|
-
<meta charset="UTF-8">
|
|
71
|
-
<title>Title</title>
|
|
72
|
-
</head>
|
|
73
|
-
<body>
|
|
74
|
-
<div id="id_1"></div>
|
|
75
|
-
<div id="id_2" booga="blarg"></div>
|
|
76
|
-
<div id="id_3"></div>
|
|
77
|
-
<div id="id_4"></div>
|
|
78
|
-
</body>
|
|
79
|
-
</html>`;
|
|
80
|
-
StandardInits.HTML_SHADOW = `<!DOCTYPE html>
|
|
81
|
-
<html lang="en">
|
|
82
|
-
<head>
|
|
83
|
-
<meta charset="UTF-8">
|
|
84
|
-
<title>Title</title>
|
|
85
|
-
</head>
|
|
86
|
-
<body>
|
|
87
|
-
<form id="blarg">
|
|
88
|
-
<input type="text" id="blarg:input_1" name="blarg:input_1" value="input_1_val"></input>
|
|
89
|
-
<input type="hidden" id="jakarta.faces.ViewState" name="jakarta.faces.ViewState" value="blubbblubblubb"></input>
|
|
90
|
-
<input type="button" id="blarg:input_2" name="blarg:input_2" value="input_1_val"></input>
|
|
91
|
-
<div id="shadowDomArea">
|
|
92
|
-
<input type="button" id="blarg:input_3" name="blarg:input_3" value="input_3_val"></input>
|
|
93
|
-
</div>
|
|
94
|
-
</form>
|
|
95
|
-
</body>
|
|
96
|
-
</html>`;
|
|
94
|
+
StandardInits.HTML_DEFAULT = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>Title</title>\n</head>\n<body>\n<div id=\"id_1\"></div>\n<div id=\"id_2\" booga=\"blarg\"></div>\n<div id=\"id_3\"></div>\n<div id=\"id_4\"></div>\n</body>\n</html>";
|
|
95
|
+
StandardInits.HTML_SHADOW = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>Title</title>\n</head>\n<body>\n<form id=\"blarg\">\n <input type=\"text\" id=\"blarg:input_1\" name=\"blarg:input_1\" value=\"input_1_val\"></input>\n <input type=\"hidden\" id=\"jakarta.faces.ViewState\" name=\"jakarta.faces.ViewState\" value=\"blubbblubblubb\"></input>\n <input type=\"button\" id=\"blarg:input_2\" name=\"blarg:input_2\" value=\"input_1_val\"></input>\n <div id=\"shadowDomArea\">\n <input type=\"button\" id=\"blarg:input_3\" name=\"blarg:input_3\" value=\"input_3_val\"></input>\n </div>\n</form>\n</body>\n</html>";
|
|
97
96
|
/**
|
|
98
97
|
* a page simulating basically a simple faces form
|
|
99
98
|
*/
|
|
100
|
-
|
|
101
|
-
<html lang="en">
|
|
102
|
-
<head>
|
|
103
|
-
<meta charset="UTF-8">
|
|
104
|
-
<title>Title</title>
|
|
105
|
-
</head>
|
|
106
|
-
<body>
|
|
107
|
-
<form id="blarg">
|
|
108
|
-
<input type="text" id="input_1" name="input_1" value="input_1_val"></input>
|
|
109
|
-
<input type="hidden" id="jakarta.faces.ViewState" name="jakarta.faces.ViewState" value="blubbblubblubb"></input>
|
|
110
|
-
<input type="button" id="input_2" name="input_2" value="input_1_val"></input>
|
|
111
|
-
</form>
|
|
112
|
-
</body>
|
|
113
|
-
</html>`;
|
|
99
|
+
var HTML_FORM_DEFAULT = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>Title</title>\n</head>\n<body>\n<form id=\"blarg\">\n <input type=\"text\" id=\"input_1\" name=\"input_1\" value=\"input_1_val\"></input>\n <input type=\"hidden\" id=\"jakarta.faces.ViewState\" name=\"jakarta.faces.ViewState\" value=\"blubbblubblubb\"></input>\n <input type=\"button\" id=\"input_2\" name=\"input_2\" value=\"input_1_val\"></input>\n</form>\n</body>\n</html>";
|
|
114
100
|
/**
|
|
115
101
|
* a page simulating basically a simple faces form
|
|
116
102
|
*/
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
<head>
|
|
120
|
-
<meta charset="UTF-8">
|
|
121
|
-
<title>Title</title>
|
|
122
|
-
</head>
|
|
123
|
-
<body>
|
|
124
|
-
<form id="blarg" enctype="multipart/form-data">
|
|
125
|
-
<input type="file" id="fíleupload"></input>
|
|
126
|
-
<input type="text" id="input_1" name="input_1" value="input_1_val"></input>
|
|
127
|
-
<input type="hidden" id="jakarta.faces.ViewState" name="jakarta.faces.ViewState" value="blubbblubblubb"></input>
|
|
128
|
-
<input type="button" id="input_2" name="input_2" value="input_1_val"></input>
|
|
129
|
-
</form>
|
|
130
|
-
</body>
|
|
131
|
-
</html>`;
|
|
132
|
-
StandardInits.STD_XML = `<?xml version="1.0" encoding="utf-8"?><partial-response><changes><update id="value_1"><![CDATA[<span id="out1">2</span>]]></update><update id="jakarta.faces.ViewState"><![CDATA[j_id1:j_id3]]></update></changes></partial-response>`;
|
|
103
|
+
var HTML_FILE_FORM_DEFAULT = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>Title</title>\n</head>\n<body>\n<form id=\"blarg\" enctype=\"multipart/form-data\">\n <input type=\"file\" id=\"f\u00EDleupload\"></input>\n <input type=\"text\" id=\"input_1\" name=\"input_1\" value=\"input_1_val\"></input>\n <input type=\"hidden\" id=\"jakarta.faces.ViewState\" name=\"jakarta.faces.ViewState\" value=\"blubbblubblubb\"></input>\n <input type=\"button\" id=\"input_2\" name=\"input_2\" value=\"input_1_val\"></input>\n</form>\n</body>\n</html>";
|
|
104
|
+
StandardInits.STD_XML = "<?xml version=\"1.0\" encoding=\"utf-8\"?><partial-response><changes><update id=\"value_1\"><![CDATA[<span id=\"out1\">2</span>]]></update><update id=\"jakarta.faces.ViewState\"><![CDATA[j_id1:j_id3]]></update></changes></partial-response>";
|
|
133
105
|
/**
|
|
134
106
|
* a page containing a faces.js input with a new separator char
|
|
135
107
|
* @param separatorChar
|
|
136
108
|
* @constructor
|
|
137
109
|
*/
|
|
138
|
-
function HTML_DEFAULT_SEPARATOR_CHAR(separatorChar, IS_40
|
|
139
|
-
|
|
140
|
-
<html lang
|
|
141
|
-
<head>
|
|
142
|
-
<meta charset="UTF-8">
|
|
143
|
-
<title>Title</title>
|
|
144
|
-
<script type="text/javascript"
|
|
145
|
-
src="/wfmportal/${IS_40 ? 'jakarta' : 'javax'}.faces.resource/${IS_40 ? 'faces' : 'jsf'}.js.jsf?ln=jakarta.faces&separator=${separatorChar}"></script>
|
|
146
|
-
</head>
|
|
147
|
-
<body>
|
|
148
|
-
<form id="blarg">
|
|
149
|
-
<input type="text" id="input_1" name="input_1"/>
|
|
150
|
-
<input type="button" id="input_2" name="input_2"/>
|
|
151
|
-
</form>
|
|
152
|
-
</body>
|
|
153
|
-
</html>
|
|
154
|
-
|
|
155
|
-
`;
|
|
110
|
+
function HTML_DEFAULT_SEPARATOR_CHAR(separatorChar, IS_40) {
|
|
111
|
+
if (IS_40 === void 0) { IS_40 = true; }
|
|
112
|
+
return "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>Title</title>\n <script type=\"text/javascript\"\n src=\"/wfmportal/".concat(IS_40 ? 'jakarta' : 'javax', ".faces.resource/").concat(IS_40 ? 'faces' : 'jsf', ".js.jsf?ln=jakarta.faces&separator=").concat(separatorChar, "\"></script>\n</head>\n<body>\n<form id=\"blarg\">\n <input type=\"text\" id=\"input_1\" name=\"input_1\"/>\n <input type=\"button\" id=\"input_2\" name=\"input_2\"/>\n</form>\n</body>\n</html>\n \n ");
|
|
156
113
|
}
|
|
157
114
|
/**
|
|
158
115
|
* This is a standardized small page mockup
|
|
@@ -161,116 +118,18 @@ var StandardInits;
|
|
|
161
118
|
*
|
|
162
119
|
* We get the jsf out of the way and basically simulate what the browser sees
|
|
163
120
|
*/
|
|
164
|
-
StandardInits.PROTOCOL_PAGE =
|
|
165
|
-
<html lang="en">
|
|
166
|
-
<head>
|
|
167
|
-
<meta charset="UTF-8">
|
|
168
|
-
<title>Title</title>
|
|
169
|
-
</head>
|
|
170
|
-
<body>
|
|
171
|
-
<h2>protocol testcase1</h2>
|
|
172
|
-
|
|
173
|
-
<div id="centerDiv">
|
|
174
|
-
|
|
175
|
-
<h1>Selenium Testprobe for insert update delete and attribute change</h1>
|
|
176
|
-
|
|
177
|
-
<h2>This test tests all aspects of the protocol, under xhr and iframe conditions</h2>
|
|
178
|
-
|
|
179
|
-
<div id="testResults">
|
|
180
|
-
|
|
181
|
-
<h3>Test Results</h3>
|
|
182
|
-
|
|
183
|
-
<div id="evalarea1">eval area 1 triggered by eval</div>
|
|
184
|
-
|
|
185
|
-
<div id="evalarea2">eval area 2 triggered by update</div>
|
|
186
|
-
|
|
187
|
-
<div id="evalarea3">eval area 3 triggered by insert</div>
|
|
188
|
-
|
|
189
|
-
<div id="evalarea4">eval area 4 triggered by a click on the changed attributes area</div>
|
|
190
|
-
|
|
191
|
-
<div id="changesArea">update insert area</div>
|
|
192
|
-
|
|
193
|
-
<div id="deleteable">delete area will be deleted once you press the delete button</div>
|
|
194
|
-
|
|
195
|
-
<div id="attributeChange">attributes changes area</div>
|
|
196
|
-
|
|
197
|
-
<div id="resource_area_1"></div>
|
|
198
|
-
<div id="resource_area_2"></div>
|
|
199
|
-
<div id="resource_area_3"></div>
|
|
200
|
-
<div id="nonce_result"></div>
|
|
201
|
-
|
|
202
|
-
</div>
|
|
203
|
-
|
|
204
|
-
<h2>Call actions via normal ppr</h2>
|
|
205
|
-
|
|
206
|
-
<form id="form1" action="boog.html">
|
|
207
|
-
|
|
208
|
-
<input type="hidden" id="jakarta.faces.ViewState" name="jakarta.faces.ViewState" value="blubbblubblubb"></input>
|
|
209
|
-
|
|
210
|
-
<input type="button" id="cmd_eval" value="eval"
|
|
211
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'eval1');"/>
|
|
212
|
-
|
|
213
|
-
<input type="button" id="cmd_update_insert" value="update insert"
|
|
214
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'updateinsert1');"/>
|
|
215
|
-
|
|
216
|
-
<input type="button" id="cmd_simple_resource" value="simple resource"
|
|
217
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'simpleresource');"/>
|
|
218
|
-
|
|
219
|
-
<input type="button" id="cmd_complex_resource" value="complex resource"
|
|
220
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'complex_resource');"/>
|
|
221
|
-
|
|
222
|
-
<input type="button" id="cmd_complex_resource2" value="complex resource2"
|
|
223
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'complex_resource2');"/>
|
|
224
|
-
|
|
225
|
-
<input type="button" id="cmd_update_insert2" value="update insert second protocol path"
|
|
226
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'updateinsert2');"/>
|
|
227
|
-
|
|
228
|
-
<input type="button" id="cmd_delete" value="delete"
|
|
229
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'delete1');"/>
|
|
230
|
-
|
|
231
|
-
<input type="button" id="cmd_replace" value="Replace Body"
|
|
232
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'body_replace1');"/>
|
|
233
|
-
|
|
234
|
-
<input type="button" id="cmd_attributeschange" value="change attributes"
|
|
235
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'attributes');"/>
|
|
236
|
-
|
|
237
|
-
<input type="button" id="cmd_illegalresponse" value="illegal response, error trigger"
|
|
238
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'illegalResponse');"/>
|
|
239
|
-
|
|
240
|
-
<input type="button" id="cmd_viewstate" value="Viewstate only update trigger"
|
|
241
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'viewstate');"/>
|
|
242
|
-
|
|
243
|
-
<input type="button" id="cmd_error" value="Server error with error response"
|
|
244
|
-
onclick="emitPPR(this, ('undefined' == typeof event)? null: event, 'errors');"/>
|
|
245
|
-
|
|
246
|
-
<input type="button" id="cmd_error_component" value="Error: no component given"
|
|
247
|
-
onclick="(window.faces || window.jsf).ajax.request(null, event, {}); return false"/>
|
|
248
|
-
|
|
249
|
-
</form>
|
|
250
|
-
|
|
251
|
-
<script type="text/javascript">
|
|
252
|
-
document.getElementById("evalarea1").innerHTML = "booga";
|
|
253
|
-
|
|
254
|
-
var target = "./test.mockup";
|
|
255
|
-
|
|
256
|
-
function emitPPR(source, event, action, useIframe, formName) {
|
|
257
|
-
document.getElementById(formName || "form1").action = target;
|
|
258
|
-
|
|
259
|
-
(window?.faces ?? window.jsf).ajax.request(/*String|Dom Node*/ source, /*|EVENT|*/ (window.event) ? window.event : event, /*{|OPTIONS|}*/ {op: action});
|
|
260
|
-
}
|
|
261
|
-
</script>
|
|
262
|
-
</div>
|
|
263
|
-
</body>`;
|
|
121
|
+
StandardInits.PROTOCOL_PAGE = "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"UTF-8\">\n <title>Title</title>\n</head>\n<body>\n<h2>protocol testcase1</h2>\n\n<div id=\"centerDiv\">\n\n <h1>Selenium Testprobe for insert update delete and attribute change</h1>\n\n <h2>This test tests all aspects of the protocol, under xhr and iframe conditions</h2>\n\n <div id=\"testResults\">\n \n <h3>Test Results</h3>\n\n <div id=\"evalarea1\">eval area 1 triggered by eval</div>\n \n <div id=\"evalarea2\">eval area 2 triggered by update</div>\n \n <div id=\"evalarea3\">eval area 3 triggered by insert</div>\n \n <div id=\"evalarea4\">eval area 4 triggered by a click on the changed attributes area</div>\n\n <div id=\"changesArea\">update insert area</div>\n \n <div id=\"deleteable\">delete area will be deleted once you press the delete button</div>\n \n <div id=\"attributeChange\">attributes changes area</div>\n \n <div id=\"resource_area_1\"></div>\n <div id=\"resource_area_2\"></div>\n <div id=\"resource_area_3\"></div>\n <div id=\"nonce_result\"></div>\n \n </div>\n\n <h2>Call actions via normal ppr</h2>\n\n <form id=\"form1\" action=\"boog.html\">\n \n <input type=\"hidden\" id=\"jakarta.faces.ViewState\" name=\"jakarta.faces.ViewState\" value=\"blubbblubblubb\"></input>\n \n <input type=\"button\" id=\"cmd_eval\" value=\"eval\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'eval1');\"/>\n \n <input type=\"button\" id=\"cmd_update_insert\" value=\"update insert\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'updateinsert1');\"/>\n\n <input type=\"button\" id=\"cmd_simple_resource\" value=\"simple resource\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'simpleresource');\"/>\n\n <input type=\"button\" id=\"cmd_complex_resource\" value=\"complex resource\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'complex_resource');\"/>\n \n <input type=\"button\" id=\"cmd_complex_resource2\" value=\"complex resource2\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'complex_resource2');\"/> \n \n <input type=\"button\" id=\"cmd_update_insert2\" value=\"update insert second protocol path\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'updateinsert2');\"/>\n\n <input type=\"button\" id=\"cmd_delete\" value=\"delete\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'delete1');\"/>\n\n <input type=\"button\" id=\"cmd_replace\" value=\"Replace Body\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'body_replace1');\"/>\n\n <input type=\"button\" id=\"cmd_attributeschange\" value=\"change attributes\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'attributes');\"/>\n\n <input type=\"button\" id=\"cmd_illegalresponse\" value=\"illegal response, error trigger\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'illegalResponse');\"/>\n\n <input type=\"button\" id=\"cmd_viewstate\" value=\"Viewstate only update trigger\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'viewstate');\"/>\n\n <input type=\"button\" id=\"cmd_error\" value=\"Server error with error response\"\n onclick=\"emitPPR(this, ('undefined' == typeof event)? null: event, 'errors');\"/>\n\n <input type=\"button\" id=\"cmd_error_component\" value=\"Error: no component given\"\n onclick=\"(window.faces || window.jsf).ajax.request(null, event, {}); return false\"/>\n\n </form>\n\n <script type=\"text/javascript\">\n document.getElementById(\"evalarea1\").innerHTML = \"booga\";\n\n var target = \"./test.mockup\";\n\n function emitPPR(source, event, action, useIframe, formName) {\n document.getElementById(formName || \"form1\").action = target;\n\n (window?.faces ?? window.jsf).ajax.request(/*String|Dom Node*/ source, /*|EVENT|*/ (window.event) ? window.event : event, /*{|OPTIONS|}*/ {op: action});\n }\n </script>\n</div>\n</body>";
|
|
264
122
|
function basicXML() {
|
|
265
123
|
return new window.DOMParser().parseFromString(StandardInits.STD_XML, "text/xml");
|
|
266
124
|
}
|
|
267
125
|
StandardInits.basicXML = basicXML;
|
|
268
|
-
function standardInit(scope, initFunc
|
|
126
|
+
function standardInit(scope, initFunc) {
|
|
127
|
+
if (initFunc === void 0) { initFunc = defaultHtml; }
|
|
269
128
|
global.navigator = {
|
|
270
129
|
language: "en-En"
|
|
271
130
|
};
|
|
272
|
-
return initFunc(false).then((closeFunc)
|
|
273
|
-
scope.currentTest.closeIt = ()
|
|
131
|
+
return initFunc(false).then(function (closeFunc) {
|
|
132
|
+
scope.currentTest.closeIt = function () {
|
|
274
133
|
closeFunc();
|
|
275
134
|
delete global.navigator;
|
|
276
135
|
};
|
|
@@ -281,47 +140,55 @@ var StandardInits;
|
|
|
281
140
|
scope.currentTest.closeIt();
|
|
282
141
|
}
|
|
283
142
|
StandardInits.standardClose = standardClose;
|
|
284
|
-
function defaultHtml(withJsf
|
|
143
|
+
function defaultHtml(withJsf) {
|
|
144
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
285
145
|
return init(StandardInits.HTML_DEFAULT, withJsf);
|
|
286
146
|
}
|
|
287
147
|
StandardInits.defaultHtml = defaultHtml;
|
|
288
|
-
function defaultHtml_23(withJsf
|
|
148
|
+
function defaultHtml_23(withJsf) {
|
|
149
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
289
150
|
return init(StandardInits.HTML_DEFAULT.replace(/jakarta/gi, "javax"), withJsf, false);
|
|
290
151
|
}
|
|
291
152
|
StandardInits.defaultHtml_23 = defaultHtml_23;
|
|
292
|
-
function defaultMyFaces(withJsf
|
|
153
|
+
function defaultMyFaces(withJsf) {
|
|
154
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
293
155
|
return init(HTML_FORM_DEFAULT, withJsf);
|
|
294
156
|
}
|
|
295
157
|
StandardInits.defaultMyFaces = defaultMyFaces;
|
|
296
|
-
function defaultMyFaces23(withJsf
|
|
158
|
+
function defaultMyFaces23(withJsf) {
|
|
159
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
297
160
|
return init(HTML_FORM_DEFAULT.replace(/jakarta/gi, "javax"), withJsf, false);
|
|
298
161
|
}
|
|
299
162
|
StandardInits.defaultMyFaces23 = defaultMyFaces23;
|
|
300
|
-
function defaultFileForm(withJsf
|
|
163
|
+
function defaultFileForm(withJsf) {
|
|
164
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
301
165
|
return init(HTML_FILE_FORM_DEFAULT, withJsf);
|
|
302
166
|
}
|
|
303
167
|
StandardInits.defaultFileForm = defaultFileForm;
|
|
304
|
-
function defaultFileForm_23(withJsf
|
|
168
|
+
function defaultFileForm_23(withJsf) {
|
|
169
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
305
170
|
return init(HTML_FILE_FORM_DEFAULT.replace(/jakarta/gi, "javax"), withJsf, false);
|
|
306
171
|
}
|
|
307
172
|
StandardInits.defaultFileForm_23 = defaultFileForm_23;
|
|
308
|
-
function shadowDomMyFaces(withJsf
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
shadow
|
|
312
|
-
<input type
|
|
313
|
-
<div id="shadowContent">before update</div>
|
|
314
|
-
`;
|
|
173
|
+
function shadowDomMyFaces(withJsf) {
|
|
174
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
175
|
+
return init(StandardInits.HTML_SHADOW, withJsf).then(function (close) {
|
|
176
|
+
var shadow = mona_dish_1.DomQuery.byId(window.document).byId("shadowDomArea").attachShadow();
|
|
177
|
+
shadow.innerHtml = "\n <input type=\"button\" id=\"input_3\" name=\"input_3\" value=\"input_3_val\" ></input>\n <div id=\"shadowContent\">before update</div>\n ";
|
|
315
178
|
return close;
|
|
316
179
|
});
|
|
317
180
|
}
|
|
318
181
|
StandardInits.shadowDomMyFaces = shadowDomMyFaces;
|
|
319
|
-
function protocolPage(withJsf
|
|
182
|
+
function protocolPage(withJsf, IS_40) {
|
|
183
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
184
|
+
if (IS_40 === void 0) { IS_40 = true; }
|
|
320
185
|
return init((IS_40) ? StandardInits.PROTOCOL_PAGE : StandardInits.PROTOCOL_PAGE.replace(/jakarta/gi, "javax"), withJsf, IS_40);
|
|
321
186
|
}
|
|
322
187
|
StandardInits.protocolPage = protocolPage;
|
|
323
|
-
function defaultSeparatorChar(separatorChar, withJsf
|
|
324
|
-
|
|
188
|
+
function defaultSeparatorChar(separatorChar, withJsf, IS_40) {
|
|
189
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
190
|
+
if (IS_40 === void 0) { IS_40 = true; }
|
|
191
|
+
var template = HTML_DEFAULT_SEPARATOR_CHAR(separatorChar, IS_40);
|
|
325
192
|
return init(template, withJsf);
|
|
326
193
|
}
|
|
327
194
|
StandardInits.defaultSeparatorChar = defaultSeparatorChar;
|
|
@@ -338,7 +205,7 @@ var StandardInits;
|
|
|
338
205
|
* @param data
|
|
339
206
|
* @param Implementation
|
|
340
207
|
*/
|
|
341
|
-
|
|
208
|
+
var applyJsfToGlobals = function (data, Implementation, PushImpl) {
|
|
342
209
|
var _a, _b;
|
|
343
210
|
global.faces = data.faces;
|
|
344
211
|
global.myfaces = data.myfaces;
|
|
@@ -350,7 +217,7 @@ var StandardInits;
|
|
|
350
217
|
global.DOMParser = (_a = global === null || global === void 0 ? void 0 : global.DOMParser) !== null && _a !== void 0 ? _a : window.DOMParser;
|
|
351
218
|
global.document = (_b = global === null || global === void 0 ? void 0 : global.document) !== null && _b !== void 0 ? _b : window.document;
|
|
352
219
|
};
|
|
353
|
-
|
|
220
|
+
var applyJsfToGlobals23 = function (data, Implementation, PushImpl) {
|
|
354
221
|
var _a, _b;
|
|
355
222
|
global.jsf = data.jsf;
|
|
356
223
|
global.myfaces = data.myfaces;
|
|
@@ -368,42 +235,47 @@ var StandardInits;
|
|
|
368
235
|
* @param clean
|
|
369
236
|
* @param template
|
|
370
237
|
*/
|
|
371
|
-
|
|
372
|
-
return __awaiter(this, void 0, void 0, function
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
238
|
+
var initJSDOM = function (template) {
|
|
239
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
240
|
+
return __generator(this, function (_a) {
|
|
241
|
+
// @ts-ignore
|
|
242
|
+
return [2 /*return*/, Promise.resolve().then(function () { return __importStar(require('jsdom-global')); }).then(function (domIt) {
|
|
243
|
+
var _a, _b;
|
|
244
|
+
var params = {
|
|
245
|
+
contentType: "text/html",
|
|
246
|
+
runScripts: "dangerously",
|
|
247
|
+
resources: "usable",
|
|
248
|
+
url: "file://".concat(__dirname, "/index.html")
|
|
249
|
+
};
|
|
250
|
+
//we have two different apis depending whether we allow module interop with sinon or not
|
|
251
|
+
return (_b = ((_a = domIt === null || domIt === void 0 ? void 0 : domIt.default) !== null && _a !== void 0 ? _a : domIt)) === null || _b === void 0 ? void 0 : _b(template, params);
|
|
252
|
+
})];
|
|
384
253
|
});
|
|
385
254
|
});
|
|
386
255
|
};
|
|
387
256
|
/**
|
|
388
257
|
* init the jsf subsystem
|
|
389
258
|
*/
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
return
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
259
|
+
var initJSF = function (IS_40) {
|
|
260
|
+
if (IS_40 === void 0) { IS_40 = true; }
|
|
261
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
262
|
+
var facesImport;
|
|
263
|
+
return __generator(this, function (_a) {
|
|
264
|
+
facesImport = IS_40 ? Promise.resolve().then(function () { return __importStar(require("../../../../api/faces")); }) : Promise.resolve().then(function () { return __importStar(require("../../../../api/jsf")); });
|
|
265
|
+
return [2 /*return*/, facesImport.then(function (data) {
|
|
266
|
+
var Implementation = require("../../../../impl/AjaxImpl");
|
|
267
|
+
var PushImpl = require("../../../../impl/PushImpl");
|
|
268
|
+
IS_40 ? applyJsfToGlobals(data, Implementation, PushImpl) : applyJsfToGlobals23(data, Implementation, PushImpl);
|
|
269
|
+
}).catch(function (err) {
|
|
270
|
+
console.error(err);
|
|
271
|
+
})];
|
|
400
272
|
});
|
|
401
273
|
});
|
|
402
274
|
};
|
|
403
275
|
/**
|
|
404
276
|
* lets clean up some old data which might interfere
|
|
405
277
|
*/
|
|
406
|
-
|
|
278
|
+
var resetGlobals = function () {
|
|
407
279
|
var _a, _b;
|
|
408
280
|
(_a = global === null || global === void 0 ? void 0 : global.Implementation) === null || _a === void 0 ? void 0 : _a.reset();
|
|
409
281
|
(_b = global === null || global === void 0 ? void 0 : global.PushImpl) === null || _b === void 0 ? void 0 : _b.reset();
|
|
@@ -419,29 +291,42 @@ var StandardInits;
|
|
|
419
291
|
* @param template
|
|
420
292
|
* @param withJsf
|
|
421
293
|
*/
|
|
422
|
-
function init(template, withJsf
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
294
|
+
function init(template, withJsf, IS_JSF_40) {
|
|
295
|
+
if (withJsf === void 0) { withJsf = true; }
|
|
296
|
+
if (IS_JSF_40 === void 0) { IS_JSF_40 = true; }
|
|
297
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
298
|
+
var clean;
|
|
299
|
+
return __generator(this, function (_a) {
|
|
300
|
+
switch (_a.label) {
|
|
301
|
+
case 0:
|
|
302
|
+
clean = null;
|
|
303
|
+
if (!withJsf) return [3 /*break*/, 3];
|
|
304
|
+
resetGlobals();
|
|
305
|
+
// @ts-ignore
|
|
306
|
+
return [4 /*yield*/, initJSDOM(template).then(function (data) { return clean = data; })];
|
|
307
|
+
case 1:
|
|
308
|
+
// @ts-ignore
|
|
309
|
+
_a.sent();
|
|
310
|
+
return [4 /*yield*/, initJSF(IS_JSF_40)];
|
|
311
|
+
case 2:
|
|
312
|
+
_a.sent();
|
|
313
|
+
return [3 /*break*/, 5];
|
|
314
|
+
case 3:
|
|
315
|
+
// @ts-ignore
|
|
316
|
+
return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('jsdom-global')); }).then(function (domIt) {
|
|
317
|
+
var _a, _b;
|
|
318
|
+
clean = (_b = ((_a = domIt === null || domIt === void 0 ? void 0 : domIt.default) !== null && _a !== void 0 ? _a : domIt)) === null || _b === void 0 ? void 0 : _b(template);
|
|
319
|
+
})];
|
|
320
|
+
case 4:
|
|
321
|
+
// @ts-ignore
|
|
322
|
+
_a.sent();
|
|
323
|
+
_a.label = 5;
|
|
324
|
+
case 5:
|
|
325
|
+
//the async is returning a promise on the caller level
|
|
326
|
+
//which gets the return value on once done
|
|
327
|
+
return [2 /*return*/, clean];
|
|
328
|
+
}
|
|
329
|
+
});
|
|
445
330
|
});
|
|
446
331
|
}
|
|
447
332
|
})(StandardInits = exports.StandardInits || (exports.StandardInits = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardInits.js","sourceRoot":"","sources":["../../../../../src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"StandardInits.js","sourceRoot":"","sources":["../../../../../src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,uCAAmC;AAQnC;;;;;;;;;;;;GAYG;AACH,IAAc,aAAa,CAqY1B;AArYD,WAAc,aAAa;IAEV,0BAAY,GAAG,4PAYxB,CAAC;IAGQ,yBAAW,GAAG,2oBAgBvB,CAAC;IAEL;;OAEG;IACH,IAAM,iBAAiB,GAAG,wdAatB,CAAC;IAIL;;OAEG;IACH,IAAM,sBAAsB,GAAG,kjBAc3B,CAAC;IAIQ,qBAAO,GAAG,iPAAuO,CAAC;IAE/P;;;;OAIG;IACH,SAAS,2BAA2B,CAAC,aAAqB,EAAE,K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