@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.
Files changed (152) hide show
  1. package/dist/components/button/Button.vue.d.ts +3 -3
  2. package/dist/components/button/index.d.ts +0 -1
  3. package/dist/components/dialog/Dialog.vue.d.ts +2 -2
  4. package/dist/components/dialog/index.d.ts +0 -2
  5. package/dist/components/form/FormField.vue.d.ts +9 -9
  6. package/dist/components/frame/Frame.vue.d.ts +2 -2
  7. package/dist/components/image/Image.vue.d.ts +18 -18
  8. package/dist/components/input/Input.vue.d.ts +9 -9
  9. package/dist/components/input/index.d.ts +0 -1
  10. package/dist/components/menu/ChildMenu.vue.d.ts +2 -2
  11. package/dist/components/menu/Menu.vue.d.ts +2 -2
  12. package/dist/components/menu/index.d.ts +0 -1
  13. package/dist/components/money/Money.vue.d.ts +3 -3
  14. package/dist/components/money/index.d.ts +0 -1
  15. package/dist/components/page/Page.vue.d.ts +3 -2
  16. package/dist/components/panel/Panel.vue.d.ts +1 -1
  17. package/dist/components/payload/Payload.vue.d.ts +2 -2
  18. package/dist/components/payload/index.d.ts +1 -1
  19. package/dist/components/phone/Call.vue.d.ts +1 -1
  20. package/dist/components/select/Select.vue.d.ts +3 -3
  21. package/dist/components/select/Selector.vue.d.ts +6 -2
  22. package/dist/components/table/Table.vue.d.ts +16 -10
  23. package/dist/components/table/component/ColumnSelector.vue.d.ts +2 -2
  24. package/dist/components/table/component/CopyColumn.vue.d.ts +2 -2
  25. package/dist/components/table/component/EnumColumn.vue.d.ts +3 -3
  26. package/dist/components/table/component/Export.vue.d.ts +1 -1
  27. package/dist/components/table/useTableButton.d.ts +1 -1
  28. package/dist/components/table/useTableColumn.d.ts +3 -2
  29. package/dist/components/table/useTableSelect.d.ts +1 -1
  30. package/dist/components/tree/TreeBox.vue.d.ts +5 -5
  31. package/dist/components/upload/Upload.vue.d.ts +10 -10
  32. package/dist/components/upload/index.d.ts +0 -1
  33. package/dist/components/user/User.vue.d.ts +1 -1
  34. package/dist/components/user/index.d.ts +0 -1
  35. package/dist/config/WebConfig.d.ts +5 -1
  36. package/dist/config/WebConstant.d.ts +15 -0
  37. package/dist/{curd/decorator → decorator}/@Field/Field.d.ts +2 -2
  38. package/dist/{curd/decorator → decorator}/@Field/IFieldConfig.d.ts +2 -2
  39. package/dist/{curd/decorator → decorator}/@Form/Form.d.ts +2 -2
  40. package/dist/{curd/decorator → decorator}/@Form/IFormField.d.ts +2 -2
  41. package/dist/{curd/decorator → decorator}/@Search/ISearchField.d.ts +1 -1
  42. package/dist/{curd/decorator → decorator}/@Search/Search.d.ts +2 -2
  43. package/dist/{curd/decorator → decorator}/@Table/IElementTableColumn.d.ts +1 -1
  44. package/dist/{curd/decorator → decorator}/@Table/ITableColumn.d.ts +1 -1
  45. package/dist/{curd/decorator → decorator}/@Table/Table.d.ts +2 -2
  46. package/dist/{components/dialog → dialog}/DialogProps.d.ts +1 -1
  47. package/dist/{components/dialog → dialog}/DialogUtil.d.ts +4 -4
  48. package/dist/{curd/hooks → hooks}/detail/IDetailOption.d.ts +1 -1
  49. package/dist/{curd/hooks → hooks}/detail/IDetailResult.d.ts +2 -2
  50. package/dist/{curd/hooks → hooks}/detail/useDetail.d.ts +3 -2
  51. package/dist/{curd/hooks → hooks}/editor/IEditorOption.d.ts +3 -3
  52. package/dist/{curd/hooks → hooks}/editor/IEditorResult.d.ts +4 -4
  53. package/dist/{curd/hooks → hooks}/editor/useEditor.d.ts +3 -2
  54. package/dist/{curd/hooks → hooks}/table/base/IBaseTableOption.d.ts +2 -2
  55. package/dist/{curd/hooks → hooks}/table/base/IBaseTableResult.d.ts +6 -3
  56. package/dist/{curd/hooks → hooks}/table/base/useBaseTable.d.ts +3 -2
  57. package/dist/{curd/hooks → hooks}/table/list/ITableOption.d.ts +2 -2
  58. package/dist/{curd/hooks → hooks}/table/list/ITableResult.d.ts +3 -3
  59. package/dist/{curd/hooks → hooks}/table/list/useTable.d.ts +3 -2
  60. package/dist/{curd/hooks → hooks}/table/selector/ISelectorOption.d.ts +2 -2
  61. package/dist/{curd/hooks → hooks}/table/selector/ISelectorResult.d.ts +3 -3
  62. package/dist/{curd/hooks → hooks}/table/selector/useSelector.d.ts +3 -2
  63. package/dist/{curd/hooks → hooks}/table/tree/ITableTreeOption.d.ts +3 -3
  64. package/dist/{curd/hooks → hooks}/table/tree/ITableTreeResult.d.ts +3 -3
  65. package/dist/{curd/hooks → hooks}/table/tree/useTableTree.d.ts +4 -3
  66. package/dist/{util/http → http}/Http.d.ts +3 -9
  67. package/dist/{util/http → http}/type.d.ts +2 -1
  68. package/dist/index.d.ts +78 -4
  69. package/dist/{components/menu → interface}/IMenu.d.ts +1 -1
  70. package/dist/{curd/model/tree → interface}/ITree.d.ts +1 -1
  71. package/dist/{components/upload → interface}/IUploadProps.d.ts +2 -2
  72. package/dist/main.js +18420 -10680
  73. package/dist/{base → model}/RootEntity.d.ts +1 -1
  74. package/dist/{curd/model → model}/export/ExportModel.d.ts +1 -1
  75. package/dist/{curd/model → model}/query/QueryRequest.d.ts +1 -1
  76. package/dist/{curd/model → model}/query/QueryRequestPage.d.ts +1 -1
  77. package/dist/{curd/model → model}/query/QueryResponsePage.d.ts +1 -1
  78. package/dist/{util/permission → permission}/PermissionUtil.d.ts +1 -5
  79. package/dist/{util/router → router}/RouterUtil.d.ts +1 -1
  80. package/dist/{curd → service}/AbstractCurdService.d.ts +5 -3
  81. package/dist/{base → service}/AbstractService.d.ts +1 -1
  82. package/dist/{curd → service}/type.d.ts +1 -1
  83. package/dist/tests/App.vue.d.ts +2 -0
  84. package/dist/tests/main.d.ts +1 -0
  85. package/dist/{components/button/type.d.ts → type/index.d.ts} +7 -0
  86. package/dist/{util/validator → validator}/WebValidator.d.ts +2 -2
  87. package/dist/{util/validator → validator}/type.d.ts +1 -1
  88. package/dist/web.css +143 -143
  89. package/package.json +1 -1
  90. package/dist/base/index.d.ts +0 -4
  91. package/dist/components/money/type.d.ts +0 -1
  92. package/dist/config/index.d.ts +0 -1
  93. package/dist/curd/decorator/@Field/index.d.ts +0 -3
  94. package/dist/curd/decorator/@Form/index.d.ts +0 -3
  95. package/dist/curd/decorator/@Model/index.d.ts +0 -2
  96. package/dist/curd/decorator/@Search/index.d.ts +0 -2
  97. package/dist/curd/decorator/@Table/index.d.ts +0 -4
  98. package/dist/curd/decorator/common/index.d.ts +0 -1
  99. package/dist/curd/decorator/index.d.ts +0 -6
  100. package/dist/curd/hooks/detail/index.d.ts +0 -3
  101. package/dist/curd/hooks/editor/index.d.ts +0 -3
  102. package/dist/curd/hooks/index.d.ts +0 -3
  103. package/dist/curd/hooks/table/base/index.d.ts +0 -3
  104. package/dist/curd/hooks/table/index.d.ts +0 -4
  105. package/dist/curd/hooks/table/list/index.d.ts +0 -3
  106. package/dist/curd/hooks/table/selector/index.d.ts +0 -3
  107. package/dist/curd/hooks/table/tree/index.d.ts +0 -3
  108. package/dist/curd/index.d.ts +0 -5
  109. package/dist/curd/model/export/index.d.ts +0 -1
  110. package/dist/curd/model/index.d.ts +0 -3
  111. package/dist/curd/model/query/index.d.ts +0 -6
  112. package/dist/curd/model/tree/index.d.ts +0 -1
  113. package/dist/util/enum/index.d.ts +0 -5
  114. package/dist/util/feedback/index.d.ts +0 -2
  115. package/dist/util/file/index.d.ts +0 -2
  116. package/dist/util/http/enum/index.d.ts +0 -4
  117. package/dist/util/http/index.d.ts +0 -4
  118. package/dist/util/i18n/index.d.ts +0 -1
  119. package/dist/util/index.d.ts +0 -8
  120. package/dist/util/permission/index.d.ts +0 -2
  121. package/dist/util/router/index.d.ts +0 -1
  122. package/dist/util/validator/index.d.ts +0 -2
  123. /package/dist/{curd/decorator → decorator}/@Field/type.d.ts +0 -0
  124. /package/dist/{curd/decorator → decorator}/@Form/FormTrim.d.ts +0 -0
  125. /package/dist/{curd/decorator → decorator}/@Model/IModelConfig.d.ts +0 -0
  126. /package/dist/{curd/decorator → decorator}/@Model/Model.d.ts +0 -0
  127. /package/dist/{curd/decorator/@Table/TableType.d.ts → decorator/@Table/type.d.ts} +0 -0
  128. /package/dist/{curd/decorator → decorator}/common/IBaseField.d.ts +0 -0
  129. /package/dist/{components/input → enum}/DateTimeType.d.ts +0 -0
  130. /package/dist/{util/enum → enum}/DisableEnum.d.ts +0 -0
  131. /package/dist/{util/enum → enum}/IWebEnum.d.ts +0 -0
  132. /package/dist/{util/enum → enum}/WebColor.d.ts +0 -0
  133. /package/dist/{util/enum → enum}/WebEnum.d.ts +0 -0
  134. /package/dist/{util/enum → enum}/type.d.ts +0 -0
  135. /package/dist/{util/feedback → feedback}/FeedbackUtil.d.ts +0 -0
  136. /package/dist/{util/feedback → feedback}/type.d.ts +0 -0
  137. /package/dist/{util/file → file}/WebFileUtil.d.ts +0 -0
  138. /package/dist/{util/http → http}/HttpResponse.d.ts +0 -0
  139. /package/dist/{util/http → http}/enum/HttpContentType.d.ts +0 -0
  140. /package/dist/{util/http → http}/enum/HttpHeader.d.ts +0 -0
  141. /package/dist/{util/http → http}/enum/HttpMethod.d.ts +0 -0
  142. /package/dist/{util/http → http}/enum/HttpStatus.d.ts +0 -0
  143. /package/dist/{util/i18n → i18n}/WebI18n.d.ts +0 -0
  144. /package/dist/{base → interface}/IEntity.d.ts +0 -0
  145. /package/dist/{util/file → interface}/IFile.d.ts +0 -0
  146. /package/dist/{components/payload → interface}/IPayload.d.ts +0 -0
  147. /package/dist/{components/user → interface}/IUser.d.ts +0 -0
  148. /package/dist/{base → model}/RootModel.d.ts +0 -0
  149. /package/dist/{curd/model → model}/query/QueryPage.d.ts +0 -0
  150. /package/dist/{curd/model → model}/query/QuerySort.d.ts +0 -0
  151. /package/dist/{curd/model → model}/query/type.d.ts +0 -0
  152. /package/dist/{util/permission → permission}/PermissionAction.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { IEntity } from './IEntity';
1
+ import { IEntity } from '../interface/IEntity';
2
2
  import { RootModel } from './RootModel';
3
3
  /**
4
4
  * # 实体模型
@@ -1,4 +1,4 @@
1
- import { QueryRequest } from '../query';
1
+ import { QueryRequest } from '../query/QueryRequest';
2
2
  import { Transformer } from '@airpower/transformer';
3
3
  /**
4
4
  * # 导出的数据模型
@@ -1,5 +1,5 @@
1
1
  import { ITransformerConstructor, Transformer } from '@airpower/transformer';
2
- import { RootEntity } from '../../../base';
2
+ import { RootEntity } from '../RootEntity';
3
3
  import { QuerySort } from './QuerySort';
4
4
  /**
5
5
  * # 请求类
@@ -1,4 +1,4 @@
1
- import { RootEntity } from '../../../base';
1
+ import { RootEntity } from '../RootEntity';
2
2
  import { QueryPage } from './QueryPage';
3
3
  import { QueryRequest } from './QueryRequest';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { RootEntity } from '../../../base';
1
+ import { RootEntity } from '../RootEntity';
2
2
  import { Transformer } from '@airpower/transformer';
3
3
  import { QueryPage } from './QueryPage';
4
4
  import { QuerySort } from './QuerySort';
@@ -1,15 +1,11 @@
1
1
  import { ITransformerConstructor } from '@airpower/transformer';
2
- import { RootEntity } from '../../base';
2
+ import { RootEntity } from '../model/RootEntity';
3
3
  import { PermissionAction } from './PermissionAction';
4
4
  /**
5
5
  * # 权限标识处理类
6
6
  * @author Hamm.cn
7
7
  */
8
8
  export declare class PermissionUtil {
9
- /**
10
- * ### 权限缓存 `Key`
11
- */
12
- static permissionKey: string;
13
9
  /**
14
10
  * ### 权限列表
15
11
  */
@@ -1,5 +1,5 @@
1
1
  import { Router, RouteRecordRaw } from 'vue-router';
2
- import { IMenu } from '../../components';
2
+ import { IMenu } from '../interface/IMenu';
3
3
  /**
4
4
  * # `Vue` 路由助手
5
5
  * @author Hamm.cn
@@ -1,8 +1,10 @@
1
1
  import { ITransformerConstructor } from '@airpower/transformer';
2
- import { RootEntity, AbstractService } from '../base';
3
- import { WebValidateRule } from '../util';
4
- import { QueryRequest, QueryResponsePage } from './model';
2
+ import { QueryRequest } from '../model/query/QueryRequest';
3
+ import { RootEntity } from '../model/RootEntity';
4
+ import { WebValidateRule } from '../validator/type';
5
5
  import { CurdServiceConstructor } from './type';
6
+ import { QueryResponsePage } from '../model/query/QueryResponsePage';
7
+ import { AbstractService } from './AbstractService';
6
8
  /**
7
9
  * # 实体 `API` 服务超类
8
10
  * 包含了常用的增删改查等方法
@@ -1,6 +1,6 @@
1
1
  import { ITransformerConstructor, Transformer } from '@airpower/transformer';
2
2
  import { Ref } from 'vue';
3
- import { Http } from '../util';
3
+ import { Http } from '../http/Http';
4
4
  /**
5
5
  * # `API` 服务超类
6
6
  * @author Hamm.cn
@@ -1,4 +1,4 @@
1
- import { RootEntity } from '../base';
1
+ import { RootEntity } from '../model/RootEntity';
2
2
  import { AbstractCurdService } from './AbstractCurdService';
3
3
  /**
4
4
  * ### 服务构造器类型
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1,8 @@
1
+ /**
2
+ * ### 按钮图标
3
+ */
1
4
  export type ButtonIcon = 'ADD' | 'EDIT' | 'SEARCH' | 'CLOCK' | 'DELETE' | 'LINK' | 'LOCK' | 'UNLOCK' | 'CHECK' | 'CLOSE' | 'SETTING' | 'WARNING' | 'COPY' | 'IMPORT' | 'EXPORT' | '';
5
+ /**
6
+ * ### 金额方向
7
+ */
8
+ export type MoneyDirection = 'up' | 'down' | 'round';
@@ -1,5 +1,5 @@
1
- import { RootEntity } from '../../base';
2
- import { AbstractCurdService } from '../../curd';
1
+ import { RootEntity } from '../model/RootEntity';
2
+ import { AbstractCurdService } from '../service/AbstractCurdService';
3
3
  import { WebValidateRule, WebValidatorCallback, WebValidatorTarget, WebValidatorTrigger, WebValidatorType } from './type';
4
4
  /**
5
5
  * # 表单验证
@@ -1,4 +1,4 @@
1
- import { RootEntity } from '../../base';
1
+ import { RootEntity } from '../model/RootEntity';
2
2
  import { WebValidator } from './WebValidator';
3
3
  /**
4
4
  * ### 验证器数据类型