aotrautils 0.0.1833 → 0.0.1835
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.
- aotrautils/aotrautils.build.js +13 -18
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (04/04/2026-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (04/04/2026-23:59:00)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5140,7 +5140,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5140
5140
|
|
|
5141
5141
|
|
|
5142
5142
|
|
|
5143
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (04/04/2026-
|
|
5143
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (04/04/2026-23:59:00)»*/
|
|
5144
5144
|
/*-----------------------------------------------------------------------------*/
|
|
5145
5145
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5146
5146
|
*
|
|
@@ -5818,11 +5818,6 @@ function escapeHTML(str){
|
|
|
5818
5818
|
}
|
|
5819
5819
|
|
|
5820
5820
|
|
|
5821
|
-
window.startsWithUpperCase=(str)=>{
|
|
5822
|
-
if(nothing(str)) return false;
|
|
5823
|
-
return str[0].toUpperCase()===str[0];
|
|
5824
|
-
}
|
|
5825
|
-
|
|
5826
5821
|
function getTextWordsExtract(textStrParam, wordsNumber,/* OPTIONAL */wordPositionOffset){
|
|
5827
5822
|
|
|
5828
5823
|
if (wordsNumber <= 0)
|
|
@@ -13225,7 +13220,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13225
13220
|
|
|
13226
13221
|
|
|
13227
13222
|
|
|
13228
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (04/04/2026-
|
|
13223
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (04/04/2026-23:59:00)»*/
|
|
13229
13224
|
/*-----------------------------------------------------------------------------*/
|
|
13230
13225
|
|
|
13231
13226
|
|
|
@@ -13980,7 +13975,7 @@ window.getSunShadowProjectedPoint=function(originalPoint,angleDegreesParam,groun
|
|
|
13980
13975
|
}
|
|
13981
13976
|
|
|
13982
13977
|
|
|
13983
|
-
window.isInZone=function(point, zone,
|
|
13978
|
+
window.isInZone=function(point, zone, center={x:"center",y:"center",z:"center"}, zoneOffsets=null, invertYAxis=false, zooms=null){
|
|
13984
13979
|
|
|
13985
13980
|
if(!center){
|
|
13986
13981
|
center={x:"center",y:"center",z:"center"}
|
|
@@ -14554,10 +14549,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14554
14549
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14555
14550
|
|
|
14556
14551
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14557
|
-
/*utils 3D library associated with aotra version : «1_29072022-2359 (04/04/2026-
|
|
14552
|
+
/*utils 3D library associated with aotra version : «1_29072022-2359 (04/04/2026-23:59:00)»*/
|
|
14558
14553
|
/*-----------------------------------------------------------------------------*/
|
|
14559
14554
|
|
|
14560
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (04/04/2026-
|
|
14555
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (04/04/2026-23:59:00)»*/
|
|
14561
14556
|
/*-----------------------------------------------------------------------------*/
|
|
14562
14557
|
|
|
14563
14558
|
|
|
@@ -14703,7 +14698,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
|
14703
14698
|
|
|
14704
14699
|
|
|
14705
14700
|
|
|
14706
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (04/04/2026-
|
|
14701
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (04/04/2026-23:59:00)»*/
|
|
14707
14702
|
/*-----------------------------------------------------------------------------*/
|
|
14708
14703
|
|
|
14709
14704
|
|
|
@@ -17017,9 +17012,7 @@ performHTTPRequest=function(completeURL, httpMethod="GET", headers={}, requestBo
|
|
|
17017
17012
|
};
|
|
17018
17013
|
|
|
17019
17014
|
|
|
17020
|
-
|
|
17021
|
-
|
|
17022
|
-
replacePathVariablesNamesWithValuesIfPossible=function(apiURL, namedArgs){
|
|
17015
|
+
window.replacePathVariablesNamesWithValuesIfPossible=function(apiURL, namedArgs){
|
|
17023
17016
|
let result=apiURL;
|
|
17024
17017
|
foreach(namedArgs,(namedArgValue, namedArgKey)=>{
|
|
17025
17018
|
result=result.replace("{"+namedArgKey+"}",namedArgValue);
|
|
@@ -17027,7 +17020,7 @@ replacePathVariablesNamesWithValuesIfPossible=function(apiURL, namedArgs){
|
|
|
17027
17020
|
return result;
|
|
17028
17021
|
};
|
|
17029
17022
|
|
|
17030
|
-
appendGetParameters=function(apiURL, namedArgsParam){
|
|
17023
|
+
window.appendGetParameters=function(apiURL, namedArgsParam){
|
|
17031
17024
|
if(nothing(namedArgsParam)) return "";
|
|
17032
17025
|
try{
|
|
17033
17026
|
|
|
@@ -17049,8 +17042,10 @@ appendGetParameters=function(apiURL, namedArgsParam){
|
|
|
17049
17042
|
};
|
|
17050
17043
|
|
|
17051
17044
|
|
|
17052
|
-
|
|
17053
|
-
|
|
17045
|
+
window.startsWithUpperCase=(str)=>{
|
|
17046
|
+
if(nothing(str)) return false;
|
|
17047
|
+
return str[0].toUpperCase()===str[0];
|
|
17048
|
+
}
|
|
17054
17049
|
|
|
17055
17050
|
|
|
17056
17051
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1835",
|
|
4
4
|
"main": "aotrautils.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|