@moluoxixi/ajax-package 0.0.11
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.
Potentially problematic release.
This version of @moluoxixi/ajax-package might be problematic. Click here for more details.
- package/README.md +1016 -0
- package/es/SystemErrorDialog.d.ts +125 -0
- package/es/_types/api.d.ts +26 -0
- package/es/_types/emits.d.ts +6 -0
- package/es/_types/index.d.ts +4 -0
- package/es/_types/props.d.ts +13 -0
- package/es/_utils/index.d.ts +3 -0
- package/es/_utils/messageWrapper.d.ts +35 -0
- package/es/_utils/notificationWrapper.d.ts +8 -0
- package/es/_utils/systemErrorInfo.d.ts +6 -0
- package/es/class.d.ts +29 -0
- package/es/index.d.ts +4 -0
- package/es/index.mjs +12912 -0
- package/es/netseriver.d.ts +12 -0
- package/package.json +33 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseApiConfig, vueAxiosPluginType, vueHttpServiceType } from './_types/index';
|
|
2
|
+
import { default as BaseApi } from './class';
|
|
3
|
+
declare global {
|
|
4
|
+
interface Window {
|
|
5
|
+
$http?: vueHttpServiceType;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
declare function createHttpService(options?: BaseApiConfig): BaseApi;
|
|
9
|
+
declare const VueAxiosPlugin: vueAxiosPluginType;
|
|
10
|
+
declare function getHttpService(options?: BaseApiConfig): BaseApi;
|
|
11
|
+
export default VueAxiosPlugin;
|
|
12
|
+
export { createHttpService, getHttpService };
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@moluoxixi/ajax-package",
|
|
3
|
+
"version": "0.0.11",
|
|
4
|
+
"description": "AjaxPackage 组件",
|
|
5
|
+
"sideEffects": [
|
|
6
|
+
"*.css",
|
|
7
|
+
"*.scss"
|
|
8
|
+
],
|
|
9
|
+
"peerDependencies": {
|
|
10
|
+
"vue": "3.5.19"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {},
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"module": "es/index.mjs",
|
|
18
|
+
"types": "es/index.d.ts",
|
|
19
|
+
"exports": {
|
|
20
|
+
"./es": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./es/index.d.ts",
|
|
23
|
+
"default": "./es/index.mjs"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
".": {
|
|
27
|
+
"import": {
|
|
28
|
+
"types": "./es/index.d.ts",
|
|
29
|
+
"default": "./es/index.mjs"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|