@kengic/vue 0.31.6-beta.0 → 0.31.7

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.
@@ -1,8 +1,5 @@
1
1
  import { Ref, UnwrapRef } from 'vue';
2
2
  import { KgSubmitProps } from './KgSubmit';
3
- export declare function useFormModel(): {
4
- model: Ref<Record<string, any>>;
5
- };
6
3
  export declare type IUseResizeObserver = {};
7
4
  export declare function _useResizeObserver(kgFormRef: Ref<UnwrapRef<HTMLDivElement | null>>): IUseResizeObserver;
8
5
  export declare function _useTitle(): {
@@ -401,7 +401,7 @@ declare const KG: {
401
401
  __KG__CREATE_ROW_ID__: string;
402
402
  /**
403
403
  * 用户添加的行.
404
- * 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
404
+ * <p>在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.</p>
405
405
  */
406
406
  __KG__CUSTOM_ROW_ID__: string;
407
407
  __KG__NULL__: string;
@@ -866,7 +866,7 @@ declare const KG_CONST: {
866
866
  __KG__CREATE_ROW_ID__: string;
867
867
  /**
868
868
  * 用户添加的行.
869
- * 在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.
869
+ * <p>在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.</p>
870
870
  */
871
871
  __KG__CUSTOM_ROW_ID__: string;
872
872
  __KG__NULL__: string;
@@ -10,8 +10,8 @@ export declare const getProps: () => {
10
10
  };
11
11
  export declare type IKgPageDdaCreateBasicSqlModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
12
12
  /**
13
- * <p>创建--第 1 步:SQL 弹窗,</p>
14
- * <p>由于 SQL 语句可能会非常长, 在页面中无法完全显示, 因此可以单独在该弹窗中编辑 SQL 语句,</p>
13
+ * 系统管理--DDA--创建--查询语句编辑弹窗.
14
+ * <p>由于查询语句可能会非常长, 在页面中无法完全显示, 因此可以单独在该弹窗中编辑.</p>
15
15
  */
16
16
  export declare const KgPageDdaCreateBasicSqlModal: import("vue").DefineComponent<{
17
17
  visible: PropType<boolean>;
@@ -2,7 +2,7 @@ import { ExtractPropTypes } from 'vue';
2
2
  export declare const getProps: () => any;
3
3
  export declare type IKgPageDdaCreateBasicProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
4
  /**
5
- * 创建--基础信息.
5
+ * 系统管理--DDA--创建--基础信息.
6
6
  */
7
7
  export declare const KgPageDdaCreateBasic: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
8
8
  [x: string]: any;
@@ -1,6 +1,9 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
2
  export declare const getProps: () => any;
3
3
  export declare type IKgPageDdaCreateTableProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
4
+ /**
5
+ * 系统管理--DDA--创建--表格视图.
6
+ */
4
7
  export declare const KgPageDdaCreateTable: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
5
8
  [x: string]: any;
6
9
  }>;
@@ -10,7 +10,7 @@ export declare const getProps: () => {
10
10
  };
11
11
  export declare type KgPageDdaCreateProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
12
12
  /**
13
- * 创建.
13
+ * 系统管理--DDA--创建.
14
14
  */
15
15
  export declare const KgPageDdaCreate: import("vue").DefineComponent<{
16
16
  /**
@@ -14,12 +14,14 @@ interface IHttpClient {
14
14
  */
15
15
  declare function kgConfigHttpClient(httpClient: IHttpClient | null): void;
16
16
  /**
17
- * 获取 httpClient 实例.
17
+ * 请求参数.
18
18
  */
19
- declare function httpClient(): IHttpClient;
20
19
  interface IRequestConfig<P = Record<string, any>, D = Record<string, any>> extends AxiosRequestConfig<D> {
21
20
  params?: P;
22
21
  }
22
+ /**
23
+ * 请求配置.
24
+ */
23
25
  interface IRequestOption {
24
26
  /**
25
27
  * 接口地址,如果保留为空,则使用默认值
@@ -95,4 +97,8 @@ interface IRequestOption {
95
97
  }
96
98
  /** @deprecated 已弃用, 请使用 {@link IRequestOption} */
97
99
  declare type IRequestOptions = IRequestOption;
100
+ /**
101
+ * 获取 httpClient 实例.
102
+ */
103
+ declare function httpClient(): IHttpClient;
98
104
  export { kgConfigHttpClient, httpClient, type IRequestConfig, type IRequestOption, type IRequestOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.31.6-beta.0",
3
+ "version": "0.31.7",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",