- Added new JS public/js/RESTClient.js as axios wrapper

- composer.json: added axios from github
- Added new directory application/components/extensions/
- Added new utility function findResource to application/helpers/hlp_common_helper.php
- Now the library libraries/FilterCmptLib loads the component definition php files from the extensions
- views/system/logs/logsViewer now includes axios and restclient, removed the includes for ajaxlib and jQueryUI
- Added includes for the RESTClient and axios to views/templates/FHC-Common and views/templates/FHC-Footer
- Improved component js/components/Fetch
- Components public/js/components/Filter.js and public/js/components/Navigation.js now they are making use of the Fetch component or/and the RESTClient
This commit is contained in:
Paolo
2022-07-04 19:25:16 +02:00
parent 32daed2ad2
commit 60b3be3d64
11 changed files with 512 additions and 140 deletions
+3 -3
View File
@@ -43,8 +43,8 @@
"name": "axios/axios",
"version": "0.27.2",
"dist": {
"url": "https://unpkg.com/axios@0.27.2/dist/axios.min.js",
"type": "file"
"url": "https://github.com/axios/axios/archive/refs/tags/v0.27.2.zip",
"type": "zip"
}
}
},
@@ -343,7 +343,7 @@
"afarkas/html5shiv": "3.7.*",
"alvaro-prieto/colresizable": "1.6",
"axios/axios": "0.27.2",
"axios/axios": "0.27.*",
"blackrockdigital/startbootstrap-sb-admin-2": "3.3.*",
"borgar/textile-js": "2.0.4",