@airpower/web 0.2.20 → 0.2.23
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/dist/components/button/Button.vue.d.ts +1 -1
- package/dist/components/button/index.d.ts +0 -1
- package/dist/components/input/index.d.ts +0 -1
- package/dist/components/menu/ChildMenu.vue.d.ts +1 -1
- package/dist/components/menu/Menu.vue.d.ts +2 -2
- package/dist/components/money/Money.vue.d.ts +1 -1
- package/dist/components/money/index.d.ts +0 -1
- package/dist/components/phone/Call.vue.d.ts +1 -1
- package/dist/components/table/component/Export.vue.d.ts +5 -5
- package/dist/components/upload/Upload.vue.d.ts +3 -3
- package/dist/components/upload/index.d.ts +0 -1
- package/dist/components/user/User.vue.d.ts +1 -1
- package/dist/components/user/index.d.ts +0 -1
- package/dist/config/WebConfig.d.ts +1 -1
- package/dist/decorator/@Form/IFormField.d.ts +1 -1
- package/dist/decorator/@Table/IElementTableColumn.d.ts +1 -1
- package/dist/dialog/DialogUtil.d.ts +1 -1
- package/dist/index.d.ts +80 -0
- package/dist/{components/upload → interface}/IUploadProps.d.ts +2 -2
- package/dist/main.js +19809 -0
- package/dist/tests/main.d.ts +0 -1
- package/dist/{components/button/type.d.ts → type/index.d.ts} +7 -0
- package/dist/web.css +1091 -1
- package/package.json +1 -1
- package/dist/components/money/type.d.ts +0 -1
- package/dist/tests/App.vue.d.ts +0 -2
- /package/dist/decorator/@Table/{TableType.d.ts → type.d.ts} +0 -0
- /package/dist/{components/input → enum}/DateTimeType.d.ts +0 -0
- /package/dist/{components/user → interface}/IUser.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootEntity } from '../../base';
|
|
2
1
|
import { IMenu } from '../../interface/IMenu';
|
|
2
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
3
3
|
declare const _default: <T extends IMenu & RootEntity>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly menuList: T[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IMenu } from '../../interface/IMenu';
|
|
2
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
3
3
|
declare const _default: <T extends IMenu & RootEntity>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
5
5
|
uniqueOpened: boolean;
|
|
@@ -50,7 +50,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
50
50
|
param: string;
|
|
51
51
|
onConfirm: (data?: unknown) => void;
|
|
52
52
|
onCancel: () => void;
|
|
53
|
-
tips: string;
|
|
54
53
|
onCallback: () => void;
|
|
54
|
+
tips: string;
|
|
55
55
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
56
56
|
export default _default;
|
|
@@ -14,8 +14,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
};
|
|
15
15
|
} & {
|
|
16
16
|
param: {
|
|
17
|
-
type: import('vue').PropType<ExportModel<import('
|
|
18
|
-
default: ExportModel<import('
|
|
17
|
+
type: import('vue').PropType<ExportModel<import('../../..').QueryRequest<import('../../..').RootEntity>>>;
|
|
18
|
+
default: ExportModel<import('../../..').QueryRequest<import('../../..').RootEntity>> | null;
|
|
19
19
|
};
|
|
20
20
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
21
21
|
onConfirm: {
|
|
@@ -32,11 +32,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
32
32
|
};
|
|
33
33
|
} & {
|
|
34
34
|
param: {
|
|
35
|
-
type: import('vue').PropType<ExportModel<import('
|
|
36
|
-
default: ExportModel<import('
|
|
35
|
+
type: import('vue').PropType<ExportModel<import('../../..').QueryRequest<import('../../..').RootEntity>>>;
|
|
36
|
+
default: ExportModel<import('../../..').QueryRequest<import('../../..').RootEntity>> | null;
|
|
37
37
|
};
|
|
38
38
|
}>> & Readonly<{}>, {
|
|
39
|
-
param: ExportModel<import('
|
|
39
|
+
param: ExportModel<import('../../..').QueryRequest<import('../../..').RootEntity>>;
|
|
40
40
|
onConfirm: (data?: unknown) => void;
|
|
41
41
|
onCancel: () => void;
|
|
42
42
|
onCallback: () => void;
|
|
@@ -11,12 +11,12 @@ declare const _default: <F extends IFile & RootEntity>(__VLS_props: NonNullable<
|
|
|
11
11
|
onCancel: Function;
|
|
12
12
|
extensions: string[];
|
|
13
13
|
uploadUrl: string;
|
|
14
|
+
tips: string;
|
|
14
15
|
onCustomConfirm: Function;
|
|
15
16
|
onCustomSuccess: Function;
|
|
16
17
|
maxSize: number;
|
|
17
18
|
uploadName: string;
|
|
18
19
|
uploadSuccess: string;
|
|
19
|
-
tips: string;
|
|
20
20
|
}> & Omit<{
|
|
21
21
|
readonly title: string;
|
|
22
22
|
readonly data: IJson<any>;
|
|
@@ -26,14 +26,14 @@ declare const _default: <F extends IFile & RootEntity>(__VLS_props: NonNullable<
|
|
|
26
26
|
readonly entity: ITransformerConstructor<F>;
|
|
27
27
|
readonly extensions: string[];
|
|
28
28
|
readonly uploadUrl: string;
|
|
29
|
+
readonly tips: string;
|
|
29
30
|
readonly onCustomConfirm: Function;
|
|
30
31
|
readonly onCustomSuccess: Function;
|
|
31
32
|
readonly maxSize: number;
|
|
32
33
|
readonly uploadName: string;
|
|
33
34
|
readonly uploadSuccess: string;
|
|
34
|
-
readonly tips: string;
|
|
35
35
|
readonly confirmText?: string | undefined;
|
|
36
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "data" | "header" | "confirmText" | "onConfirm" | "onCancel" | "extensions" | "uploadUrl" | "onCustomConfirm" | "onCustomSuccess" | "maxSize" | "uploadName" | "uploadSuccess"
|
|
36
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "data" | "header" | "confirmText" | "onConfirm" | "onCancel" | "extensions" | "uploadUrl" | "tips" | "onCustomConfirm" | "onCustomSuccess" | "maxSize" | "uploadName" | "uploadSuccess">, "entity" | ("title" | "data" | "header" | "confirmText" | "onConfirm" | "onCancel" | "extensions" | "uploadUrl" | "tips" | "onCustomConfirm" | "onCustomSuccess" | "maxSize" | "uploadName" | "uploadSuccess")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
37
37
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
38
38
|
attrs: any;
|
|
39
39
|
slots: {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IJson } from '@airpower/transformer';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
import { IUploadProps } from '../components/upload';
|
|
4
3
|
import { IFile } from '../interface/IFile';
|
|
4
|
+
import { IUploadProps } from '../interface/IUploadProps';
|
|
5
5
|
import { ExportModel } from '../model/export/ExportModel';
|
|
6
6
|
import { RootEntity } from '../model/RootEntity';
|
|
7
7
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './config/WebConfig';
|
|
3
|
+
export * from './decorator/@Field/Field';
|
|
4
|
+
export * from './decorator/@Field/IFieldConfig';
|
|
5
|
+
export * from './decorator/@Field/type';
|
|
6
|
+
export * from './decorator/@Form/Form';
|
|
7
|
+
export * from './decorator/@Form/FormTrim';
|
|
8
|
+
export * from './decorator/@Form/IFormField';
|
|
9
|
+
export * from './decorator/@Model/IModelConfig';
|
|
10
|
+
export * from './decorator/@Model/Model';
|
|
11
|
+
export * from './decorator/@Search/ISearchField';
|
|
12
|
+
export * from './decorator/@Search/Search';
|
|
13
|
+
export * from './decorator/@Table/ITableColumn';
|
|
14
|
+
export * from './decorator/@Table/ITableColumn';
|
|
15
|
+
export * from './decorator/@Table/Table';
|
|
16
|
+
export * from './decorator/@Table/type';
|
|
17
|
+
export * from './decorator/common/IBaseField';
|
|
18
|
+
export * from './dialog/DialogProps';
|
|
19
|
+
export * from './dialog/DialogUtil';
|
|
20
|
+
export * from './enum/DateTimeType';
|
|
21
|
+
export * from './enum/DisableEnum';
|
|
22
|
+
export * from './enum/IWebEnum';
|
|
23
|
+
export * from './enum/type';
|
|
24
|
+
export * from './enum/WebColor';
|
|
25
|
+
export * from './enum/WebEnum';
|
|
26
|
+
export * from './feedback/FeedbackUtil';
|
|
27
|
+
export * from './feedback/type';
|
|
28
|
+
export * from './file/WebFileUtil';
|
|
29
|
+
export * from './hooks/detail/IDetailOption';
|
|
30
|
+
export * from './hooks/detail/IDetailResult';
|
|
31
|
+
export * from './hooks/detail/useDetail';
|
|
32
|
+
export * from './hooks/editor/IEditorOption';
|
|
33
|
+
export * from './hooks/editor/IEditorResult';
|
|
34
|
+
export * from './hooks/editor/useEditor';
|
|
35
|
+
export * from './hooks/table/base/IBaseTableOption';
|
|
36
|
+
export * from './hooks/table/base/IBaseTableResult';
|
|
37
|
+
export * from './hooks/table/base/useBaseTable';
|
|
38
|
+
export * from './hooks/table/list/ITableOption';
|
|
39
|
+
export * from './hooks/table/list/ITableResult';
|
|
40
|
+
export * from './hooks/table/list/useTable';
|
|
41
|
+
export * from './hooks/table/selector/ISelectorOption';
|
|
42
|
+
export * from './hooks/table/selector/ISelectorResult';
|
|
43
|
+
export * from './hooks/table/selector/useSelector';
|
|
44
|
+
export * from './hooks/table/tree/ITableTreeOption';
|
|
45
|
+
export * from './hooks/table/tree/ITableTreeResult';
|
|
46
|
+
export * from './hooks/table/tree/useTableTree';
|
|
47
|
+
export * from './http/enum/HttpContentType';
|
|
48
|
+
export * from './http/enum/HttpHeader';
|
|
49
|
+
export * from './http/enum/HttpMethod';
|
|
50
|
+
export * from './http/enum/HttpStatus';
|
|
51
|
+
export * from './http/Http';
|
|
52
|
+
export * from './http/HttpResponse';
|
|
53
|
+
export * from './http/type';
|
|
54
|
+
export * from './i18n/WebI18n';
|
|
55
|
+
export * from './interface/IEntity';
|
|
56
|
+
export * from './interface/IFile';
|
|
57
|
+
export * from './interface/IMenu';
|
|
58
|
+
export * from './interface/IPayload';
|
|
59
|
+
export * from './interface/ITree';
|
|
60
|
+
export * from './interface/IUploadProps';
|
|
61
|
+
export * from './interface/IUser';
|
|
62
|
+
export * from './model/export/ExportModel';
|
|
63
|
+
export * from './model/query/QueryPage';
|
|
64
|
+
export * from './model/query/QueryRequest';
|
|
65
|
+
export * from './model/query/QueryRequestPage';
|
|
66
|
+
export * from './model/query/QueryResponsePage';
|
|
67
|
+
export * from './model/query/QuerySort';
|
|
68
|
+
export * from './model/query/type';
|
|
69
|
+
export * from './model/RootEntity';
|
|
70
|
+
export * from './model/RootModel';
|
|
71
|
+
export * from './permission/PermissionAction';
|
|
72
|
+
export * from './permission/PermissionUtil';
|
|
73
|
+
export * from './router/RouterUtil';
|
|
74
|
+
export * from './service/AbstractCurdService';
|
|
75
|
+
export * from './service/AbstractService';
|
|
76
|
+
export * from './service/type';
|
|
77
|
+
export * from './shared';
|
|
78
|
+
export * from './type';
|
|
79
|
+
export * from './validator/type';
|
|
80
|
+
export * from './validator/WebValidator';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IJson, ITransformerConstructor } from '@airpower/transformer';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { RootEntity } from '../model/RootEntity';
|
|
3
|
+
import { IFile } from './IFile';
|
|
4
4
|
/**
|
|
5
5
|
* # 上传配置项
|
|
6
6
|
* @author Hamm.cn
|