@antsoo-lib/components 0.1.15 → 0.1.16
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.
- package/package.json +3 -3
- package/dist/es/result/index.d.ts +0 -66
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antsoo-lib/components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.16",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"vue": "^3.5.0",
|
|
42
42
|
"lodash-es": "^4.17.15",
|
|
43
43
|
"dayjs": "^1.11.15",
|
|
44
|
-
"@antsoo-lib/
|
|
45
|
-
"@antsoo-lib/
|
|
44
|
+
"@antsoo-lib/utils": "0.1.2",
|
|
45
|
+
"@antsoo-lib/icons": "0.1.1"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@ant-design/colors": "^7.2.1",
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { ExtractPropTypes, Plugin, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import { CustomSlotsType, VueNode } from '../_util/type';
|
|
3
|
-
import { default as noFound } from './noFound';
|
|
4
|
-
import { default as serverError } from './serverError';
|
|
5
|
-
import { default as unauthorized } from './unauthorized';
|
|
6
|
-
import { VueTypeValidableDef } from 'vue-types';
|
|
7
|
-
export declare const IconMap: {
|
|
8
|
-
success: any;
|
|
9
|
-
error: any;
|
|
10
|
-
info: any;
|
|
11
|
-
warning: any;
|
|
12
|
-
};
|
|
13
|
-
export declare const ExceptionMap: {
|
|
14
|
-
'404': () => import("vue/jsx-runtime").JSX.Element;
|
|
15
|
-
'500': () => import("vue/jsx-runtime").JSX.Element;
|
|
16
|
-
'403': () => import("vue/jsx-runtime").JSX.Element;
|
|
17
|
-
};
|
|
18
|
-
export type ExceptionStatusType = 403 | 404 | 500 | '403' | '404' | '500';
|
|
19
|
-
export type ResultStatusType = ExceptionStatusType | keyof typeof IconMap;
|
|
20
|
-
export declare const resultProps: () => {
|
|
21
|
-
prefixCls: StringConstructor;
|
|
22
|
-
icon: VueTypeValidableDef<any>;
|
|
23
|
-
status: {
|
|
24
|
-
type: PropType<ResultStatusType>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
title: VueTypeValidableDef<any>;
|
|
28
|
-
subTitle: VueTypeValidableDef<any>;
|
|
29
|
-
extra: VueTypeValidableDef<any>;
|
|
30
|
-
};
|
|
31
|
-
export type ResultProps = Partial<ExtractPropTypes<ReturnType<typeof resultProps>>>;
|
|
32
|
-
declare const Result: DefineComponent<ExtractPropTypes<{
|
|
33
|
-
prefixCls: StringConstructor;
|
|
34
|
-
icon: VueTypeValidableDef<any>;
|
|
35
|
-
status: {
|
|
36
|
-
type: PropType<ResultStatusType>;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
title: VueTypeValidableDef<any>;
|
|
40
|
-
subTitle: VueTypeValidableDef<any>;
|
|
41
|
-
extra: VueTypeValidableDef<any>;
|
|
42
|
-
}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
43
|
-
prefixCls: StringConstructor;
|
|
44
|
-
icon: VueTypeValidableDef<any>;
|
|
45
|
-
status: {
|
|
46
|
-
type: PropType<ResultStatusType>;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
title: VueTypeValidableDef<any>;
|
|
50
|
-
subTitle: VueTypeValidableDef<any>;
|
|
51
|
-
extra: VueTypeValidableDef<any>;
|
|
52
|
-
}>> & Readonly<{}>, {
|
|
53
|
-
status: ResultStatusType;
|
|
54
|
-
}, CustomSlotsType<{
|
|
55
|
-
title?: any;
|
|
56
|
-
subTitle?: any;
|
|
57
|
-
icon?: any;
|
|
58
|
-
extra?: any;
|
|
59
|
-
default?: any;
|
|
60
|
-
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
61
|
-
declare const _default: typeof Result & Plugin & {
|
|
62
|
-
readonly PRESENTED_IMAGE_403: typeof unauthorized;
|
|
63
|
-
readonly PRESENTED_IMAGE_404: typeof noFound;
|
|
64
|
-
readonly PRESENTED_IMAGE_500: typeof serverError;
|
|
65
|
-
};
|
|
66
|
-
export default _default;
|