@airpower/web 0.2.19 → 0.2.22
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 +3 -3
- package/dist/components/button/index.d.ts +0 -1
- package/dist/components/dialog/Dialog.vue.d.ts +2 -2
- package/dist/components/dialog/index.d.ts +0 -2
- package/dist/components/form/FormField.vue.d.ts +9 -9
- package/dist/components/frame/Frame.vue.d.ts +2 -2
- package/dist/components/image/Image.vue.d.ts +18 -18
- package/dist/components/input/Input.vue.d.ts +9 -9
- package/dist/components/input/index.d.ts +0 -1
- package/dist/components/menu/ChildMenu.vue.d.ts +2 -2
- package/dist/components/menu/Menu.vue.d.ts +2 -2
- package/dist/components/menu/index.d.ts +0 -1
- package/dist/components/money/Money.vue.d.ts +3 -3
- package/dist/components/money/index.d.ts +0 -1
- package/dist/components/page/Page.vue.d.ts +3 -2
- package/dist/components/panel/Panel.vue.d.ts +1 -1
- package/dist/components/payload/Payload.vue.d.ts +2 -2
- package/dist/components/payload/index.d.ts +1 -1
- package/dist/components/phone/Call.vue.d.ts +1 -1
- package/dist/components/select/Select.vue.d.ts +3 -3
- package/dist/components/select/Selector.vue.d.ts +6 -2
- package/dist/components/table/Table.vue.d.ts +16 -10
- package/dist/components/table/component/ColumnSelector.vue.d.ts +2 -2
- package/dist/components/table/component/CopyColumn.vue.d.ts +2 -2
- package/dist/components/table/component/EnumColumn.vue.d.ts +3 -3
- package/dist/components/table/component/Export.vue.d.ts +1 -1
- package/dist/components/table/useTableButton.d.ts +1 -1
- package/dist/components/table/useTableColumn.d.ts +3 -2
- package/dist/components/table/useTableSelect.d.ts +1 -1
- package/dist/components/tree/TreeBox.vue.d.ts +5 -5
- package/dist/components/upload/Upload.vue.d.ts +10 -10
- 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 +5 -1
- package/dist/config/WebConstant.d.ts +15 -0
- package/dist/{curd/decorator → decorator}/@Field/Field.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Field/IFieldConfig.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Form/Form.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Form/IFormField.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Search/ISearchField.d.ts +1 -1
- package/dist/{curd/decorator → decorator}/@Search/Search.d.ts +2 -2
- package/dist/{curd/decorator → decorator}/@Table/IElementTableColumn.d.ts +1 -1
- package/dist/{curd/decorator → decorator}/@Table/ITableColumn.d.ts +1 -1
- package/dist/{curd/decorator → decorator}/@Table/Table.d.ts +2 -2
- package/dist/{components/dialog → dialog}/DialogProps.d.ts +1 -1
- package/dist/{components/dialog → dialog}/DialogUtil.d.ts +4 -4
- package/dist/{curd/hooks → hooks}/detail/IDetailOption.d.ts +1 -1
- package/dist/{curd/hooks → hooks}/detail/IDetailResult.d.ts +2 -2
- package/dist/{curd/hooks → hooks}/detail/useDetail.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/editor/IEditorOption.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/editor/IEditorResult.d.ts +4 -4
- package/dist/{curd/hooks → hooks}/editor/useEditor.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/table/base/IBaseTableOption.d.ts +2 -2
- package/dist/{curd/hooks → hooks}/table/base/IBaseTableResult.d.ts +6 -3
- package/dist/{curd/hooks → hooks}/table/base/useBaseTable.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/table/list/ITableOption.d.ts +2 -2
- package/dist/{curd/hooks → hooks}/table/list/ITableResult.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/table/list/useTable.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/table/selector/ISelectorOption.d.ts +2 -2
- package/dist/{curd/hooks → hooks}/table/selector/ISelectorResult.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/table/selector/useSelector.d.ts +3 -2
- package/dist/{curd/hooks → hooks}/table/tree/ITableTreeOption.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/table/tree/ITableTreeResult.d.ts +3 -3
- package/dist/{curd/hooks → hooks}/table/tree/useTableTree.d.ts +4 -3
- package/dist/{util/http → http}/Http.d.ts +3 -9
- package/dist/{util/http → http}/type.d.ts +2 -1
- package/dist/index.d.ts +78 -4
- package/dist/{components/menu → interface}/IMenu.d.ts +1 -1
- package/dist/{curd/model/tree → interface}/ITree.d.ts +1 -1
- package/dist/{components/upload → interface}/IUploadProps.d.ts +2 -2
- package/dist/main.js +18420 -10680
- package/dist/{base → model}/RootEntity.d.ts +1 -1
- package/dist/{curd/model → model}/export/ExportModel.d.ts +1 -1
- package/dist/{curd/model → model}/query/QueryRequest.d.ts +1 -1
- package/dist/{curd/model → model}/query/QueryRequestPage.d.ts +1 -1
- package/dist/{curd/model → model}/query/QueryResponsePage.d.ts +1 -1
- package/dist/{util/permission → permission}/PermissionUtil.d.ts +1 -5
- package/dist/{util/router → router}/RouterUtil.d.ts +1 -1
- package/dist/{curd → service}/AbstractCurdService.d.ts +5 -3
- package/dist/{base → service}/AbstractService.d.ts +1 -1
- package/dist/{curd → service}/type.d.ts +1 -1
- package/dist/tests/App.vue.d.ts +2 -0
- package/dist/tests/main.d.ts +1 -0
- package/dist/{components/button/type.d.ts → type/index.d.ts} +7 -0
- package/dist/{util/validator → validator}/WebValidator.d.ts +2 -2
- package/dist/{util/validator → validator}/type.d.ts +1 -1
- package/dist/web.css +143 -143
- package/package.json +1 -1
- package/dist/base/index.d.ts +0 -4
- package/dist/components/money/type.d.ts +0 -1
- package/dist/config/index.d.ts +0 -1
- package/dist/curd/decorator/@Field/index.d.ts +0 -3
- package/dist/curd/decorator/@Form/index.d.ts +0 -3
- package/dist/curd/decorator/@Model/index.d.ts +0 -2
- package/dist/curd/decorator/@Search/index.d.ts +0 -2
- package/dist/curd/decorator/@Table/index.d.ts +0 -4
- package/dist/curd/decorator/common/index.d.ts +0 -1
- package/dist/curd/decorator/index.d.ts +0 -6
- package/dist/curd/hooks/detail/index.d.ts +0 -3
- package/dist/curd/hooks/editor/index.d.ts +0 -3
- package/dist/curd/hooks/index.d.ts +0 -3
- package/dist/curd/hooks/table/base/index.d.ts +0 -3
- package/dist/curd/hooks/table/index.d.ts +0 -4
- package/dist/curd/hooks/table/list/index.d.ts +0 -3
- package/dist/curd/hooks/table/selector/index.d.ts +0 -3
- package/dist/curd/hooks/table/tree/index.d.ts +0 -3
- package/dist/curd/index.d.ts +0 -5
- package/dist/curd/model/export/index.d.ts +0 -1
- package/dist/curd/model/index.d.ts +0 -3
- package/dist/curd/model/query/index.d.ts +0 -6
- package/dist/curd/model/tree/index.d.ts +0 -1
- package/dist/util/enum/index.d.ts +0 -5
- package/dist/util/feedback/index.d.ts +0 -2
- package/dist/util/file/index.d.ts +0 -2
- package/dist/util/http/enum/index.d.ts +0 -4
- package/dist/util/http/index.d.ts +0 -4
- package/dist/util/i18n/index.d.ts +0 -1
- package/dist/util/index.d.ts +0 -8
- package/dist/util/permission/index.d.ts +0 -2
- package/dist/util/router/index.d.ts +0 -1
- package/dist/util/validator/index.d.ts +0 -2
- /package/dist/{curd/decorator → decorator}/@Field/type.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/@Form/FormTrim.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/@Model/IModelConfig.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/@Model/Model.d.ts +0 -0
- /package/dist/{curd/decorator/@Table/TableType.d.ts → decorator/@Table/type.d.ts} +0 -0
- /package/dist/{curd/decorator → decorator}/common/IBaseField.d.ts +0 -0
- /package/dist/{components/input → enum}/DateTimeType.d.ts +0 -0
- /package/dist/{util/enum → enum}/DisableEnum.d.ts +0 -0
- /package/dist/{util/enum → enum}/IWebEnum.d.ts +0 -0
- /package/dist/{util/enum → enum}/WebColor.d.ts +0 -0
- /package/dist/{util/enum → enum}/WebEnum.d.ts +0 -0
- /package/dist/{util/enum → enum}/type.d.ts +0 -0
- /package/dist/{util/feedback → feedback}/FeedbackUtil.d.ts +0 -0
- /package/dist/{util/feedback → feedback}/type.d.ts +0 -0
- /package/dist/{util/file → file}/WebFileUtil.d.ts +0 -0
- /package/dist/{util/http → http}/HttpResponse.d.ts +0 -0
- /package/dist/{util/http → http}/enum/HttpContentType.d.ts +0 -0
- /package/dist/{util/http → http}/enum/HttpHeader.d.ts +0 -0
- /package/dist/{util/http → http}/enum/HttpMethod.d.ts +0 -0
- /package/dist/{util/http → http}/enum/HttpStatus.d.ts +0 -0
- /package/dist/{util/i18n → i18n}/WebI18n.d.ts +0 -0
- /package/dist/{base → interface}/IEntity.d.ts +0 -0
- /package/dist/{util/file → interface}/IFile.d.ts +0 -0
- /package/dist/{components/payload → interface}/IPayload.d.ts +0 -0
- /package/dist/{components/user → interface}/IUser.d.ts +0 -0
- /package/dist/{base → model}/RootModel.d.ts +0 -0
- /package/dist/{curd/model → model}/query/QueryPage.d.ts +0 -0
- /package/dist/{curd/model → model}/query/QuerySort.d.ts +0 -0
- /package/dist/{curd/model → model}/query/type.d.ts +0 -0
- /package/dist/{util/permission → permission}/PermissionAction.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IJson, ITransformerConstructor } from '@airpower/transformer';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { IFile } from '../../interface/IFile';
|
|
3
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
4
4
|
declare const _default: <F extends IFile & 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<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{
|
|
6
6
|
title: string;
|
|
@@ -9,31 +9,31 @@ declare const _default: <F extends IFile & RootEntity>(__VLS_props: NonNullable<
|
|
|
9
9
|
confirmText: string;
|
|
10
10
|
onConfirm: (file: F | null) => void;
|
|
11
11
|
onCancel: Function;
|
|
12
|
+
extensions: string[];
|
|
13
|
+
uploadUrl: string;
|
|
14
|
+
tips: string;
|
|
12
15
|
onCustomConfirm: Function;
|
|
13
16
|
onCustomSuccess: Function;
|
|
14
17
|
maxSize: number;
|
|
15
18
|
uploadName: string;
|
|
16
19
|
uploadSuccess: string;
|
|
17
|
-
uploadUrl: string;
|
|
18
|
-
extensions: string[];
|
|
19
|
-
tips: string;
|
|
20
20
|
}> & Omit<{
|
|
21
21
|
readonly title: string;
|
|
22
22
|
readonly data: IJson<any>;
|
|
23
23
|
readonly header: IJson<any>;
|
|
24
24
|
readonly onConfirm: (file: F | null) => void;
|
|
25
25
|
readonly onCancel: Function;
|
|
26
|
+
readonly entity: ITransformerConstructor<F>;
|
|
27
|
+
readonly extensions: string[];
|
|
28
|
+
readonly uploadUrl: string;
|
|
29
|
+
readonly tips: string;
|
|
26
30
|
readonly onCustomConfirm: Function;
|
|
27
31
|
readonly onCustomSuccess: Function;
|
|
28
32
|
readonly maxSize: number;
|
|
29
33
|
readonly uploadName: string;
|
|
30
34
|
readonly uploadSuccess: string;
|
|
31
|
-
readonly uploadUrl: string;
|
|
32
|
-
readonly extensions: string[];
|
|
33
|
-
readonly entity: ITransformerConstructor<F>;
|
|
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" | "
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { MoneyDirection } from '../
|
|
1
|
+
import { MoneyDirection } from '../type';
|
|
2
2
|
/**
|
|
3
3
|
* # 全局配置
|
|
4
4
|
*
|
|
@@ -236,6 +236,10 @@ export declare class WebConfig {
|
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
238
|
};
|
|
239
|
+
/**
|
|
240
|
+
* ### 权限缓存 `Key`
|
|
241
|
+
*/
|
|
242
|
+
static permissionCacheKey: string;
|
|
239
243
|
/**
|
|
240
244
|
* ### 接口根地址
|
|
241
245
|
* 以 `/` 结尾
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EnumKey } from '@airpower/enum/dist/enum/type';
|
|
2
2
|
import { DecoratorTarget, ITransformerConstructor } from '@airpower/transformer';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { WebEnumConstructor } from '../../enum/type';
|
|
4
|
+
import { RootModel } from '../../model/RootModel';
|
|
5
5
|
import { IFieldConfig } from './IFieldConfig';
|
|
6
6
|
import { FieldConfigOptionalKey } from './type';
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EnumKey } from '@airpower/enum/dist/enum/type';
|
|
2
|
-
import { WebEnumConstructor } from '
|
|
3
|
-
import { IBaseField } from '../common';
|
|
2
|
+
import { WebEnumConstructor } from '../../enum/type';
|
|
3
|
+
import { IBaseField } from '../common/IBaseField';
|
|
4
4
|
/**
|
|
5
5
|
* # 字段配置
|
|
6
6
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DecoratorTarget, ITransformerConstructor } from '@airpower/transformer';
|
|
2
|
-
import { RootModel } from '
|
|
3
|
-
import { FieldConfigOptionalKey } from '../@Field';
|
|
2
|
+
import { RootModel } from '../../model/RootModel';
|
|
3
|
+
import { FieldConfigOptionalKey } from '../@Field/type';
|
|
4
4
|
import { IFormField } from './IFormField';
|
|
5
5
|
/**
|
|
6
6
|
* ### 标记该字段可用于表单配置
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DateTimeFormatter } from '@airpower/util';
|
|
2
|
-
import { DateTimeType } from '
|
|
3
|
-
import { IBaseField } from '../common';
|
|
2
|
+
import { DateTimeType } from '../../enum/DateTimeType';
|
|
3
|
+
import { IBaseField } from '../common/IBaseField';
|
|
4
4
|
import { FormTrim } from './FormTrim';
|
|
5
5
|
/**
|
|
6
6
|
* # 表单的字段配置接口
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DecoratorTarget, ITransformerConstructor } from '@airpower/transformer';
|
|
2
|
-
import { RootModel } from '
|
|
3
|
-
import { FieldConfigOptionalKey } from '../@Field';
|
|
2
|
+
import { RootModel } from '../../model/RootModel';
|
|
3
|
+
import { FieldConfigOptionalKey } from '../@Field/type';
|
|
4
4
|
import { ISearchField } from './ISearchField';
|
|
5
5
|
/**
|
|
6
6
|
* ### 标记该字段可用于表单配置
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DecoratorTarget, ITransformerConstructor } from '@airpower/transformer';
|
|
2
|
-
import { RootModel } from '
|
|
3
|
-
import { FieldConfigOptionalKey } from '../@Field';
|
|
2
|
+
import { RootModel } from '../../model/RootModel';
|
|
3
|
+
import { FieldConfigOptionalKey } from '../@Field/type';
|
|
4
4
|
import { ITableColumn } from './ITableColumn';
|
|
5
5
|
/**
|
|
6
6
|
* ### 为属性标记是表格字段
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IJson } from '@airpower/transformer';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { IFile } from '../interface/IFile';
|
|
4
|
+
import { IUploadProps } from '../interface/IUploadProps';
|
|
5
|
+
import { ExportModel } from '../model/export/ExportModel';
|
|
6
|
+
import { RootEntity } from '../model/RootEntity';
|
|
7
7
|
/**
|
|
8
8
|
* # 弹窗工具类
|
|
9
9
|
* @author Hamm.cn
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { RootEntity } from '
|
|
3
|
-
import { AbstractCurdService } from '../../
|
|
2
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
3
|
+
import { AbstractCurdService } from '../../service/AbstractCurdService';
|
|
4
4
|
/**
|
|
5
5
|
* # 详情的 `Hook` 标准返回
|
|
6
6
|
* @author Hamm.cn
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IJson } from '@airpower/transformer';
|
|
2
|
-
import { RootEntity } from '
|
|
3
|
-
import { AbstractCurdService
|
|
2
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
3
|
+
import { AbstractCurdService } from '../../service/AbstractCurdService';
|
|
4
|
+
import { CurdServiceConstructor } from '../../service/type';
|
|
4
5
|
import { IDetailOption } from './IDetailOption';
|
|
5
6
|
import { IDetailResult } from './IDetailResult';
|
|
6
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RootEntity } from '
|
|
2
|
-
import { WebValidateRule } from '
|
|
3
|
-
import { IDetailOption } from '../detail';
|
|
1
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
2
|
+
import { WebValidateRule } from '../../validator/type';
|
|
3
|
+
import { IDetailOption } from '../detail/IDetailOption';
|
|
4
4
|
/**
|
|
5
5
|
* # `Editor` 的 `Hook` 可选配置
|
|
6
6
|
* @author Hamm.cn
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FormInstance } from 'element-plus';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
-
import { RootEntity } from '
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { IDetailResult } from '../detail';
|
|
3
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
4
|
+
import { AbstractCurdService } from '../../service/AbstractCurdService';
|
|
5
|
+
import { WebValidateRule } from '../../validator/type';
|
|
6
|
+
import { IDetailResult } from '../detail/IDetailResult';
|
|
7
7
|
/**
|
|
8
8
|
* # `Editor` 的 `Hook` 标准返回
|
|
9
9
|
* @author Hamm.cn
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IJson } from '@airpower/transformer';
|
|
2
|
-
import { RootEntity } from '
|
|
3
|
-
import { AbstractCurdService
|
|
2
|
+
import { RootEntity } from '../../model/RootEntity';
|
|
3
|
+
import { AbstractCurdService } from '../../service/AbstractCurdService';
|
|
4
|
+
import { CurdServiceConstructor } from '../../service/type';
|
|
4
5
|
import { IEditorOption } from './IEditorOption';
|
|
5
6
|
import { IEditorResult } from './IEditorResult';
|
|
6
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { QueryRequestPage } from '../../../model/query/QueryRequestPage';
|
|
3
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
4
4
|
/**
|
|
5
5
|
* # 表格相关的根级配置项
|
|
6
6
|
* @author Hamm.cn
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { QueryPage } from '../../../model/query/QueryPage';
|
|
3
|
+
import { QueryRequestPage } from '../../../model/query/QueryRequestPage';
|
|
4
|
+
import { QueryResponsePage } from '../../../model/query/QueryResponsePage';
|
|
5
|
+
import { QuerySort } from '../../../model/query/QuerySort';
|
|
6
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
7
|
+
import { AbstractCurdService } from '../../../service/AbstractCurdService';
|
|
5
8
|
/**
|
|
6
9
|
* # `TableHook` 的基础返回结构
|
|
7
10
|
* @author Hamm.cn
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { RootEntity } from '
|
|
2
|
-
import { AbstractCurdService
|
|
1
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
2
|
+
import { AbstractCurdService } from '../../../service/AbstractCurdService';
|
|
3
|
+
import { CurdServiceConstructor } from '../../../service/type';
|
|
3
4
|
import { IBaseTableOption } from './IBaseTableOption';
|
|
4
5
|
import { IBaseTableResult } from './IBaseTableResult';
|
|
5
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootEntity } from '
|
|
2
|
-
import { IBaseTableOption } from '../base';
|
|
1
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
2
|
+
import { IBaseTableOption } from '../base/IBaseTableOption';
|
|
3
3
|
/**
|
|
4
4
|
* # `TableList` 的 `Hook` 可选配置
|
|
5
5
|
* @author Hamm.cn
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RootEntity } from '
|
|
2
|
-
import { AbstractCurdService } from '../../../
|
|
3
|
-
import { IBaseTableResult } from '../base';
|
|
1
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
2
|
+
import { AbstractCurdService } from '../../../service/AbstractCurdService';
|
|
3
|
+
import { IBaseTableResult } from '../base/IBaseTableResult';
|
|
4
4
|
/**
|
|
5
5
|
* # 表格的 `Hook` 标准返回
|
|
6
6
|
* @author Hamm.cn
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { RootEntity } from '
|
|
2
|
-
import { AbstractCurdService
|
|
1
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
2
|
+
import { AbstractCurdService } from '../../../service/AbstractCurdService';
|
|
3
|
+
import { CurdServiceConstructor } from '../../../service/type';
|
|
3
4
|
import { ITableOption } from './ITableOption';
|
|
4
5
|
import { ITableResult } from './ITableResult';
|
|
5
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootEntity } from '
|
|
2
|
-
import { IBaseTableOption } from '../base';
|
|
1
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
2
|
+
import { IBaseTableOption } from '../base/IBaseTableOption';
|
|
3
3
|
/**
|
|
4
4
|
* # `Selector` 的 `Hook` 可选配置
|
|
5
5
|
* @author Hamm.cn
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { RootEntity } from '
|
|
3
|
-
import { AbstractCurdService } from '../../../
|
|
4
|
-
import { IBaseTableResult } from '../base';
|
|
2
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
3
|
+
import { AbstractCurdService } from '../../../service/AbstractCurdService';
|
|
4
|
+
import { IBaseTableResult } from '../base/IBaseTableResult';
|
|
5
5
|
/**
|
|
6
6
|
* # 选择器 `Hook` 的标准返回
|
|
7
7
|
* @author Hamm.cn
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { IJson } from '@airpower/transformer';
|
|
2
|
-
import { RootEntity } from '
|
|
3
|
-
import { AbstractCurdService
|
|
2
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
3
|
+
import { AbstractCurdService } from '../../../service/AbstractCurdService';
|
|
4
|
+
import { CurdServiceConstructor } from '../../../service/type';
|
|
4
5
|
import { ISelectorOption } from './ISelectorOption';
|
|
5
6
|
import { ISelectorResult } from './ISelectorResult';
|
|
6
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ITableOption } from '../list';
|
|
1
|
+
import { ITree } from '../../../interface/ITree';
|
|
2
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
3
|
+
import { ITableOption } from '../list/ITableOption';
|
|
4
4
|
/**
|
|
5
5
|
* # `TableTreeList` 的 `Hook` 可选配置
|
|
6
6
|
* @author Hamm.cn
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RootEntity } from '
|
|
2
|
-
import { AbstractCurdService } from '../../../
|
|
3
|
-
import { ITableResult } from '../list';
|
|
1
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
2
|
+
import { AbstractCurdService } from '../../../service/AbstractCurdService';
|
|
3
|
+
import { ITableResult } from '../list/ITableResult';
|
|
4
4
|
/**
|
|
5
5
|
* # 树表格的 `Hook` 标准返回
|
|
6
6
|
* @author Hamm.cn
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { ITree } from '../../../interface/ITree';
|
|
2
|
+
import { RootEntity } from '../../../model/RootEntity';
|
|
3
|
+
import { AbstractCurdService } from '../../../service/AbstractCurdService';
|
|
4
|
+
import { CurdServiceConstructor } from '../../../service/type';
|
|
4
5
|
import { ITableTreeOption } from './ITableTreeOption';
|
|
5
6
|
import { ITableTreeResult } from './ITableTreeResult';
|
|
6
7
|
/**
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { IJson, ITransformerConstructor, Transformer } from '@airpower/transformer';
|
|
2
|
-
import { HttpContentType
|
|
2
|
+
import { HttpContentType } from './enum/HttpContentType';
|
|
3
|
+
import { HttpHeader } from './enum/HttpHeader';
|
|
4
|
+
import { HttpMethod } from './enum/HttpMethod';
|
|
3
5
|
import { HttpResponse } from './HttpResponse';
|
|
4
6
|
/**
|
|
5
7
|
* # 网络请求类
|
|
@@ -7,14 +9,6 @@ import { HttpResponse } from './HttpResponse';
|
|
|
7
9
|
* @author Hamm.cn
|
|
8
10
|
*/
|
|
9
11
|
export declare class Http {
|
|
10
|
-
/**
|
|
11
|
-
* ### HTTP 请求前缀
|
|
12
|
-
*/
|
|
13
|
-
static readonly PREFIX_HTTP = "http://";
|
|
14
|
-
/**
|
|
15
|
-
* ### HTTPS 请求前缀
|
|
16
|
-
*/
|
|
17
|
-
static readonly PREFIX_HTTPS = "https://";
|
|
18
12
|
/**
|
|
19
13
|
* ### 请求方法
|
|
20
14
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,80 @@
|
|
|
1
|
-
export * from './base';
|
|
2
1
|
export * from './components';
|
|
3
|
-
export * from './config';
|
|
4
|
-
export * from './
|
|
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';
|
|
5
77
|
export * from './shared';
|
|
6
|
-
export * from './
|
|
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 { RootEntity } from '
|
|
3
|
-
import { IFile } from '
|
|
2
|
+
import { RootEntity } from '../model/RootEntity';
|
|
3
|
+
import { IFile } from './IFile';
|
|
4
4
|
/**
|
|
5
5
|
* # 上传配置项
|
|
6
6
|
* @author Hamm.cn
|