@airpower/web 0.2.19 → 0.2.20
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 +2 -2
- 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/menu/ChildMenu.vue.d.ts +1 -1
- package/dist/components/menu/index.d.ts +0 -1
- package/dist/components/money/Money.vue.d.ts +2 -2
- 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/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 +6 -6
- 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/IUploadProps.d.ts +2 -2
- package/dist/components/upload/Upload.vue.d.ts +8 -8
- package/dist/config/WebConfig.d.ts +4 -0
- 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/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 +0 -6
- package/dist/{components/menu → interface}/IMenu.d.ts +1 -1
- package/dist/{curd/model/tree → interface}/ITree.d.ts +1 -1
- package/dist/main.js +0 -12069
- 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/{util/validator → validator}/WebValidator.d.ts +2 -2
- package/dist/{util/validator → validator}/type.d.ts +1 -1
- package/dist/web.css +1 -1091
- package/package.json +1 -1
- package/dist/base/index.d.ts +0 -4
- 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 → decorator}/@Table/IElementTableColumn.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/@Table/TableType.d.ts +0 -0
- /package/dist/{curd/decorator → decorator}/common/IBaseField.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/{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,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 '../../components';
|
|
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 { IUploadProps } from '../components/upload';
|
|
4
|
+
import { IFile } from '../interface/IFile';
|
|
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