jsf.js_next_gen 4.0.4-beta.7 → 4.0.4-beta.8

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.
Files changed (130) hide show
  1. package/dist/window/faces-development.js +139 -143
  2. package/dist/window/faces-development.js.map +1 -1
  3. package/dist/window/faces.js +1 -1
  4. package/dist/window/faces.js.map +1 -1
  5. package/dist/window/jsf-development.js +139 -143
  6. package/dist/window/jsf-development.js.map +1 -1
  7. package/dist/window/jsf.js +1 -1
  8. package/dist/window/jsf.js.map +1 -1
  9. package/package.json +6 -6
  10. package/src/main/typescript/api/_api.ts +2 -2
  11. package/src/main/typescript/impl/AjaxImpl.ts +5 -5
  12. package/src/main/typescript/impl/util/Assertions.ts +1 -1
  13. package/src/main/typescript/impl/util/Lang.ts +2 -2
  14. package/src/main/typescript/impl/util/XhrQueueController.ts +1 -1
  15. package/src/main/typescript/impl/xhrCore/ErrorData.ts +1 -1
  16. package/src/main/typescript/impl/xhrCore/RequestDataResolver.ts +1 -1
  17. package/src/main/typescript/impl/xhrCore/ResponseProcessor.ts +5 -5
  18. package/src/main/typescript/impl/xhrCore/XhrFormData.ts +1 -1
  19. package/src/main/typescript/impl/xhrCore/XhrRequest.ts +1 -1
  20. package/src/main/typescript/myfaces/OamSubmit.ts +1 -1
  21. package/src/main/typescript/test/api/MyFacesABTest.spec.ts +1 -1
  22. package/src/main/typescript/test/frameworkBase/LangTest.spec.ts +11 -14
  23. package/src/main/typescript/test/frameworkBase/_ext/monadish/DomQueryTest.spec.ts +8 -10
  24. package/src/main/typescript/test/frameworkBase/_ext/monadish/LangTest.spec.ts +6 -2
  25. package/src/main/typescript/test/frameworkBase/_ext/monadish/MappingProbes.ts +9 -9
  26. package/src/main/typescript/test/frameworkBase/_ext/monadish/MonadTest.spec.ts +5 -4
  27. package/src/main/typescript/test/frameworkBase/_ext/shared/StandardInits.ts +30 -30
  28. package/src/main/typescript/test/impl/ImplTest.spec.ts +2 -2
  29. package/src/main/typescript/test/impl/ImplTest_23.spec.ts +2 -2
  30. package/src/main/typescript/test/impl/SeparatorCharsTest.spec.ts +2 -2
  31. package/src/main/typescript/test/impl/util/ExtDomQueryTest.spec.ts +1 -1
  32. package/src/main/typescript/test/myfaces/OamSubmit.spec.ts +4 -4
  33. package/src/main/typescript/test/myfaces/OnLoad.spec.ts +1 -1
  34. package/src/main/typescript/test/queue/AsynchronousQueueTest.spec.ts +4 -4
  35. package/src/main/typescript/test/xhrCore/ClientWindow.spec.ts +3 -3
  36. package/src/main/typescript/test/xhrCore/ErrorChainTest.spec.ts +4 -4
  37. package/src/main/typescript/test/xhrCore/EventTests.spec.ts +3 -3
  38. package/src/main/typescript/test/xhrCore/FileUploadTest.spec.ts +3 -3
  39. package/src/main/typescript/test/xhrCore/NamespacesRequestTest.spec.ts +5 -5
  40. package/src/main/typescript/test/xhrCore/OamSubmitTest.spec.ts +4 -4
  41. package/src/main/typescript/test/xhrCore/RequestParamsTest.spec.ts +5 -5
  42. package/src/main/typescript/test/xhrCore/RequestTest.spec.ts +10 -10
  43. package/src/main/typescript/test/xhrCore/RequestTest_23.spec.ts +9 -9
  44. package/src/main/typescript/test/xhrCore/ResponseTest.spec.ts +23 -23
  45. package/src/main/typescript/test/xhrCore/ResponseTest23.spec.ts +25 -25
  46. package/src/main/typescript/test/xhrCore/ShadowDomTest.spec.ts +3 -3
  47. package/src/main/typescript/test/xhrCore/TobagoFileUploadTest.spec.ts +3 -3
  48. package/src/main/typescript/test/xhrCore/WebsocketTest.ts +8 -8
  49. package/src/main/typescript/test/xhrCore/XhrFormDataTest.spec.ts +10 -10
  50. package/src/main/typescript/test/xhrCore/XhrRequestProgress.spec.ts +3 -3
  51. package/target/api/_api.js.map +1 -1
  52. package/target/impl/AjaxImpl.js +5 -5
  53. package/target/impl/AjaxImpl.js.map +1 -1
  54. package/target/impl/util/Assertions.js.map +1 -1
  55. package/target/impl/util/Lang.js.map +1 -1
  56. package/target/impl/util/XhrQueueController.js +1 -1
  57. package/target/impl/util/XhrQueueController.js.map +1 -1
  58. package/target/impl/xhrCore/ErrorData.js +1 -1
  59. package/target/impl/xhrCore/ErrorData.js.map +1 -1
  60. package/target/impl/xhrCore/RequestDataResolver.js.map +1 -1
  61. package/target/impl/xhrCore/ResponseProcessor.js +2 -2
  62. package/target/impl/xhrCore/ResponseProcessor.js.map +1 -1
  63. package/target/impl/xhrCore/XhrFormData.js +1 -1
  64. package/target/impl/xhrCore/XhrFormData.js.map +1 -1
  65. package/target/impl/xhrCore/XhrRequest.js +1 -1
  66. package/target/impl/xhrCore/XhrRequest.js.map +1 -1
  67. package/target/myfaces/OamSubmit.js +1 -1
  68. package/target/myfaces/OamSubmit.js.map +1 -1
  69. package/target/test/api/MyFacesABTest.spec.js +1 -1
  70. package/target/test/api/MyFacesABTest.spec.js.map +1 -1
  71. package/target/test/frameworkBase/LangTest.spec.js +8 -11
  72. package/target/test/frameworkBase/LangTest.spec.js.map +1 -1
  73. package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js +3 -5
  74. package/target/test/frameworkBase/_ext/monadish/DomQueryTest.spec.js.map +1 -1
  75. package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js +15 -8
  76. package/target/test/frameworkBase/_ext/monadish/LangTest.spec.js.map +1 -1
  77. package/target/test/frameworkBase/_ext/monadish/MappingProbes.js.map +1 -1
  78. package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js +44 -40
  79. package/target/test/frameworkBase/_ext/monadish/MonadTest.spec.js.map +1 -1
  80. package/target/test/frameworkBase/_ext/shared/StandardInits.js.map +1 -1
  81. package/target/test/impl/ImplTest.spec.js +1 -1
  82. package/target/test/impl/ImplTest.spec.js.map +1 -1
  83. package/target/test/impl/ImplTest_23.spec.js +1 -1
  84. package/target/test/impl/ImplTest_23.spec.js.map +1 -1
  85. package/target/test/impl/SeparatorCharsTest.spec.js +2 -2
  86. package/target/test/impl/SeparatorCharsTest.spec.js.map +1 -1
  87. package/target/test/impl/util/ExtDomQueryTest.spec.js +1 -1
  88. package/target/test/impl/util/ExtDomQueryTest.spec.js.map +1 -1
  89. package/target/test/myfaces/OamSubmit.spec.js +4 -4
  90. package/target/test/myfaces/OamSubmit.spec.js.map +1 -1
  91. package/target/test/myfaces/OnLoad.spec.js +1 -1
  92. package/target/test/myfaces/OnLoad.spec.js.map +1 -1
  93. package/target/test/queue/AsynchronousQueueTest.spec.js +1 -1
  94. package/target/test/queue/AsynchronousQueueTest.spec.js.map +1 -1
  95. package/target/test/xhrCore/ClientWindow.spec.js.map +1 -1
  96. package/target/test/xhrCore/ErrorChainTest.spec.js +1 -1
  97. package/target/test/xhrCore/ErrorChainTest.spec.js.map +1 -1
  98. package/target/test/xhrCore/EventTests.spec.js +1 -1
  99. package/target/test/xhrCore/EventTests.spec.js.map +1 -1
  100. package/target/test/xhrCore/FileUploadTest.spec.js +1 -1
  101. package/target/test/xhrCore/FileUploadTest.spec.js.map +1 -1
  102. package/target/test/xhrCore/NamespacesRequestTest.spec.js +2 -2
  103. package/target/test/xhrCore/NamespacesRequestTest.spec.js.map +1 -1
  104. package/target/test/xhrCore/OamSubmitTest.spec.js +1 -1
  105. package/target/test/xhrCore/OamSubmitTest.spec.js.map +1 -1
  106. package/target/test/xhrCore/RequestParamsTest.spec.js +2 -2
  107. package/target/test/xhrCore/RequestParamsTest.spec.js.map +1 -1
  108. package/target/test/xhrCore/RequestTest.spec.js +4 -4
  109. package/target/test/xhrCore/RequestTest.spec.js.map +1 -1
  110. package/target/test/xhrCore/RequestTest_23.spec.js +3 -3
  111. package/target/test/xhrCore/RequestTest_23.spec.js.map +1 -1
  112. package/target/test/xhrCore/ResponseTest.spec.js +1 -1
  113. package/target/test/xhrCore/ResponseTest.spec.js.map +1 -1
  114. package/target/test/xhrCore/ResponseTest23.spec.js +3 -2
  115. package/target/test/xhrCore/ResponseTest23.spec.js.map +1 -1
  116. package/target/test/xhrCore/ShadowDomTest.spec.js +1 -1
  117. package/target/test/xhrCore/ShadowDomTest.spec.js.map +1 -1
  118. package/target/test/xhrCore/TobagoFileUploadTest.spec.js +1 -1
  119. package/target/test/xhrCore/TobagoFileUploadTest.spec.js.map +1 -1
  120. package/target/test/xhrCore/WebsocketTest.js +2 -2
  121. package/target/test/xhrCore/WebsocketTest.js.map +1 -1
  122. package/target/test/xhrCore/XhrFormDataTest.spec.js +1 -1
  123. package/target/test/xhrCore/XhrFormDataTest.spec.js.map +1 -1
  124. package/target/test/xhrCore/XhrRequestProgress.spec.js +1 -1
  125. package/target/test/xhrCore/XhrRequestProgress.spec.js.map +1 -1
  126. package/dist/main.js +0 -14
  127. package/remap.js +0 -44
  128. package/remap.js.map +0 -1
  129. package/webpack.config.js +0 -54
  130. package/webpack.config.js.map +0 -1
package/remap.js DELETED
@@ -1,44 +0,0 @@
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
- * we are remapping the mappings in our dist file, to meet the expected
18
- * jsf loading criteria...
19
- * luckily we can use more than one source map entry
20
- * so either one is found and the other is not
21
- */
22
- //the replace in file plugin meets our system independent grep/awk criteria
23
- //does pretty much what grep and awk do on unix systems
24
- var replace = require('replace-in-file');
25
- // we ned to fetch the proper argument
26
- var args = process.argv.slice(2);
27
- // and remap it into our proper option
28
- var buildStage = (args[0] == "--development") ? "-development" : "";
29
- console.log("fixing mapping file references for jsf");
30
- var option = {
31
- //development
32
- files: 'dist/**/*.js',
33
- from: (buildStage == "-development") ? /jsf-development.js\.map/g : /jsf.js\.map/g,
34
- to: "jsf".concat(buildStage, ".js.map\n//# sourceMappingURL=jsf").concat(buildStage, ".js.map.jsf?ln=javax.faces")
35
- };
36
- try {
37
- var result = replace.sync(option);
38
- console.log("mapping file references fixed!");
39
- console.log('Replacement results:', result);
40
- }
41
- catch (error) {
42
- console.error('Error occurred:', error);
43
- }
44
- //# sourceMappingURL=remap.js.map
package/remap.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"remap.js","sourceRoot":"","sources":["remap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;;GAKG;AAEH,2EAA2E;AAC3E,uDAAuD;AACvD,IAAM,OAAO,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAE3C,sCAAsC;AACtC,IAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC,sCAAsC;AACtC,IAAM,UAAU,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,eAAe,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;AACtE,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,CAAC;AAEtD,IAAI,MAAM,GAAG;IACT,aAAa;IACb,KAAK,EAAE,cAAc;IACrB,IAAI,EAAE,CAAC,UAAU,IAAI,cAAc,CAAC,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,cAAc;IAClF,EAAE,EAAE,aAAM,UAAU,8CAAoC,UAAU,+BAA4B;CACjG,CAAA;AAED,IAAI;IACA,IAAM,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACpC,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC;IAC9C,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;CAC/C;AAAC,OAAO,KAAK,EAAE;IACZ,OAAO,CAAC,KAAK,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC;CAC3C"}
package/webpack.config.js DELETED
@@ -1,54 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var path = require("path");
4
- /**
5
- * we need to define the export in a function
6
- * because the mode parameter is passed down via the argv
7
- *
8
- * @param env the environment
9
- * @param argv the arguments list
10
- */
11
- function build(env, argv) {
12
- var _a;
13
- var libraryTarget = (_a = env.TARGET_TYPE) !== null && _a !== void 0 ? _a : "window";
14
- var config = {
15
- context: __dirname,
16
- entry: {
17
- jsf: path.resolve(__dirname, "./src/main/typescript/api/jsf.ts"),
18
- faces: path.resolve("./src/main/typescript/api/faces.ts")
19
- },
20
- devtool: "source-map",
21
- output: {
22
- path: path.resolve(__dirname, './dist/' + libraryTarget),
23
- libraryTarget: libraryTarget,
24
- filename: (argv.mode == "production") ? "[name].js" : "[name]-development.js"
25
- },
26
- resolve: {
27
- extensions: [".tsx", ".ts", ".json"],
28
- alias: {
29
- /*we load the reduced core, because there are some parts we simply do not need*/
30
- //"mona-dish": path.resolve(__dirname, "node_modules/mona-dish/dist/js/commonjs/index_core.js")
31
- "mona-dish": path.resolve(__dirname, "node_modules/mona-dish/src/main/typescript/index_core.ts")
32
- }
33
- },
34
- externals: {
35
- "rxjs": "RxJS"
36
- },
37
- module: {
38
- rules: [
39
- // all files with a '.ts' or '.tsx' extension will be handled by 'ts-loader'
40
- {
41
- test: /\.tsx?$/, use: [{
42
- loader: "ts-loader",
43
- options: {
44
- allowTsInNodeModules: true
45
- }
46
- }]
47
- }
48
- ]
49
- }
50
- };
51
- return config;
52
- }
53
- exports.default = build;
54
- //# sourceMappingURL=webpack.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"webpack.config.js","sourceRoot":"","sources":["webpack.config.ts"],"names":[],"mappings":";;AAiBA,2BAA4B;AAI5B;;;;;;GAMG;AACH,SAAS,KAAK,CAAC,GAA2B,EAAE,IAA4B;;IAEpE,IAAI,aAAa,G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