Ui5 version (#761)

* ui5 version

* update

* update

* update version
This commit is contained in:
oblomov 2024-01-05 13:50:20 +01:00 committed by GitHub
parent 896112fef6
commit 621c890358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 30 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2023 abap2UI5
Copyright (c) 2024 abap2UI5
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

42
package-lock.json generated
View File

@ -9,16 +9,16 @@
"version": "1.0.0",
"license": "MIT",
"devDependencies": {
"@abaplint/cli": "^2.103.7",
"@abaplint/cli": "^2.105.6",
"@abaplint/database-sqlite": "^2.7.119",
"@abaplint/runtime": "^2.7.135",
"@abaplint/transpiler-cli": "^2.7.135"
"@abaplint/runtime": "^2.7.139",
"@abaplint/transpiler-cli": "^2.7.139"
}
},
"node_modules/@abaplint/cli": {
"version": "2.103.7",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.103.7.tgz",
"integrity": "sha512-cIf4PBrvk85SZ+EZnKQOEVXe9G0SWKT03K2pp/+P6mCO08bw4sRi0aNeJsMaSp9/iwuWqno6J7s01c0Ua6uUGg==",
"version": "2.105.6",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.105.6.tgz",
"integrity": "sha512-TYh1zEuA+ezwnkH7ypRlEFE4/2KRlH3BmXiqrDpYpWWpwpmpuzBsvC09RoyzKg5BSK64sgL9W2+H9v4j09404g==",
"dev": true,
"bin": {
"abaplint": "abaplint"
@ -40,9 +40,9 @@
}
},
"node_modules/@abaplint/runtime": {
"version": "2.7.135",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.7.135.tgz",
"integrity": "sha512-8zqoSSIpAJk/wZ1PhtVIy6rYbWZe6hv9A+WjCXS1sI4TVrW/lsZgHRshpNDBxpwITGu85yK1EPYNTmJCO7JhnQ==",
"version": "2.7.139",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.7.139.tgz",
"integrity": "sha512-WISQMHiS9wCmYwvL1psHMm+z7iaWM2YELW3Potnzh3ZalNAGPj8WRG6YdmGYFHyv2+RJhRz9SmTUDPR710gBIA==",
"dev": true,
"dependencies": {
"temporal-polyfill": "^0.1.1"
@ -52,9 +52,9 @@
}
},
"node_modules/@abaplint/transpiler-cli": {
"version": "2.7.135",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.7.135.tgz",
"integrity": "sha512-cG6j4P/CQaphkHGQjtXW1v3xVskV+Kk37efgLNnz3Sf8bhgMGTRYc5OdEGBTqT4Awe6WQg66P78tHw04lJuObg==",
"version": "2.7.139",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.7.139.tgz",
"integrity": "sha512-Bjs0t+NetiYfxcTJrBDNFhBp7WJMAQYklUWGwbIDliADfPf4DwA9t7Zrq7Jq70N3gIKoPMmxKjB+MSrlCGoWSw==",
"dev": true,
"bin": {
"abap_transpile": "abap_transpile"
@ -87,9 +87,9 @@
},
"dependencies": {
"@abaplint/cli": {
"version": "2.103.7",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.103.7.tgz",
"integrity": "sha512-cIf4PBrvk85SZ+EZnKQOEVXe9G0SWKT03K2pp/+P6mCO08bw4sRi0aNeJsMaSp9/iwuWqno6J7s01c0Ua6uUGg==",
"version": "2.105.6",
"resolved": "https://registry.npmjs.org/@abaplint/cli/-/cli-2.105.6.tgz",
"integrity": "sha512-TYh1zEuA+ezwnkH7ypRlEFE4/2KRlH3BmXiqrDpYpWWpwpmpuzBsvC09RoyzKg5BSK64sgL9W2+H9v4j09404g==",
"dev": true
},
"@abaplint/database-sqlite": {
@ -102,18 +102,18 @@
}
},
"@abaplint/runtime": {
"version": "2.7.135",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.7.135.tgz",
"integrity": "sha512-8zqoSSIpAJk/wZ1PhtVIy6rYbWZe6hv9A+WjCXS1sI4TVrW/lsZgHRshpNDBxpwITGu85yK1EPYNTmJCO7JhnQ==",
"version": "2.7.139",
"resolved": "https://registry.npmjs.org/@abaplint/runtime/-/runtime-2.7.139.tgz",
"integrity": "sha512-WISQMHiS9wCmYwvL1psHMm+z7iaWM2YELW3Potnzh3ZalNAGPj8WRG6YdmGYFHyv2+RJhRz9SmTUDPR710gBIA==",
"dev": true,
"requires": {
"temporal-polyfill": "^0.1.1"
}
},
"@abaplint/transpiler-cli": {
"version": "2.7.135",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.7.135.tgz",
"integrity": "sha512-cG6j4P/CQaphkHGQjtXW1v3xVskV+Kk37efgLNnz3Sf8bhgMGTRYc5OdEGBTqT4Awe6WQg66P78tHw04lJuObg==",
"version": "2.7.139",
"resolved": "https://registry.npmjs.org/@abaplint/transpiler-cli/-/transpiler-cli-2.7.139.tgz",
"integrity": "sha512-Bjs0t+NetiYfxcTJrBDNFhBp7WJMAQYklUWGwbIDliADfPf4DwA9t7Zrq7Jq70N3gIKoPMmxKjB+MSrlCGoWSw==",
"dev": true
},
"sql.js": {

View File

@ -19,9 +19,9 @@
},
"homepage": "https://github.com/abap2UI5/abap2UI5#readme",
"devDependencies": {
"@abaplint/cli": "^2.103.7",
"@abaplint/cli": "^2.105.6",
"@abaplint/database-sqlite": "^2.7.119",
"@abaplint/runtime": "^2.7.135",
"@abaplint/transpiler-cli": "^2.7.135"
"@abaplint/runtime": "^2.7.139",
"@abaplint/transpiler-cli": "^2.7.139"
}
}

View File

@ -21,7 +21,8 @@ CLASS z2ui5_cl_fw_http_handler DEFINITION
json_model_limit TYPE string DEFAULT '100'
PREFERRED PARAMETER t_config
RETURNING
VALUE(r_result) TYPE string.
VALUE(r_result) TYPE string
##NEEDED.
PROTECTED SECTION.
CLASS-METHODS get_js
@ -437,8 +438,8 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
DATA(lt_config) = t_config.
IF lt_config IS INITIAL.
lt_config = VALUE #(
( n = `src` v = `https://sdk.openui5.org/nightly/2/resources/sap-ui-core.js` )
* ( n = `src` v = `https://sdk.openui5.org/resources/sap-ui-cachebuster/sap-ui-core.js` )
* ( n = `src` v = `https://sdk.openui5.org/nightly/2/resources/sap-ui-core.js` )
( n = `src` v = `https://sdk.openui5.org/resources/sap-ui-cachebuster/sap-ui-core.js` )
* ( n = `src` v = `https://ui5.sap.com/1.120.0/resources/sap-ui-core.js` )
( n = `data-sap-ui-theme` v = `sap_horizon` )
( n = `data-sap-ui-async` v = `true` )
@ -490,12 +491,12 @@ CLASS Z2UI5_CL_FW_HTTP_HANDLER IMPLEMENTATION.
lv_add_js && |\n| &&
` sap.z2ui5.JSON_MODEL_LIMIT = ` && json_model_limit && `;`.
IF check_debugging = abap_true.
* IF check_debugging = abap_true.
r_result = r_result && `` &&
z2ui5_cl_fw_cc_debugging_tools=>get_js( ) &&
` sap.ui.require(["z2ui5/DebuggingTools","z2ui5/Controller"], (DebuggingTools) => { sap.z2ui5.DebuggingTools = new DebuggingTools(); ` && |\n| &&
` });`.
ENDIF.
* ENDIF.
r_result = r_result && ` ` && |\n| &&
`</script>` && |\n| &&
`<abc/></body></html>`.