@kengic/vue 0.32.8 → 0.32.9

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.
@@ -36,6 +36,13 @@ declare type IKgConfigParameter = {
36
36
  $i18n$DefaultLocale?: IKgLocale;
37
37
  app: App<Element>;
38
38
  axios: any;
39
+ /**
40
+ * <p>获取后端服务地址.</p>
41
+ * <p>后端服务地址默认是通过反向代理来进行配置的, 无需手动设置. 在某些场景下需要手动配置后端服务地址, 则需要提供该方法</p>
42
+ *
43
+ * @return 后端服务地址.
44
+ */
45
+ getApiUrl?: () => string | null | undefined;
39
46
  i18n?: {
40
47
  /**
41
48
  * 语言数据.
@@ -516,6 +516,11 @@ declare const KG: {
516
516
  * <p>在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.</p>
517
517
  */
518
518
  __KG__CUSTOM_ROW_ID__: string;
519
+ /**
520
+ * <p>获取后端服务地址.</p>
521
+ * <p>后端服务地址默认是通过反向代理来进行配置的, 无需手动设置. 在某些场景下需要手动配置后端服务地址, 则需要提供该方法</p>
522
+ */
523
+ __KG__GET_API_URL__: string;
519
524
  __KG__NULL__: string;
520
525
  /**
521
526
  * 在表格内创建时, 空白行的临时主键.
@@ -1099,6 +1104,11 @@ declare const KG_CONST: {
1099
1104
  * <p>在「查询条件」「提交字段」「表格视图」中, 用户可以自己添加额外的行, 作为「查询字段」「提交字段」「表格的列」, 本常量用来作为该行的 ID.</p>
1100
1105
  */
1101
1106
  __KG__CUSTOM_ROW_ID__: string;
1107
+ /**
1108
+ * <p>获取后端服务地址.</p>
1109
+ * <p>后端服务地址默认是通过反向代理来进行配置的, 无需手动设置. 在某些场景下需要手动配置后端服务地址, 则需要提供该方法</p>
1110
+ */
1111
+ __KG__GET_API_URL__: string;
1102
1112
  __KG__NULL__: string;
1103
1113
  /**
1104
1114
  * 在表格内创建时, 空白行的临时主键.
@@ -6,7 +6,7 @@ import { CreateAxiosOptions } from './axiosTransform';
6
6
  */
7
7
  export declare class VAxios {
8
8
  private axiosInstance;
9
- private readonly options;
9
+ readonly options: CreateAxiosOptions;
10
10
  constructor(options: CreateAxiosOptions);
11
11
  /**
12
12
  * @description: Create axios instance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.32.8",
3
+ "version": "0.32.9",
4
4
  "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
5
5
  "engines": {
6
6
  "node": "24.14.1",
@@ -21,14 +21,14 @@
21
21
  "bump-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to--luotao.smartfactory.product.wms.wms--dev-3.2.ts",
22
22
  "bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && tsx script/bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
23
23
  "copy-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--dev-3.2.ts",
24
+ "copy-to--luotao--smartfactory.product.wms.wms--hiway": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--hiway.ts",
25
+ "copy-to--luotao--smartfactory.product.wms.wms--project-zonsen-ducar": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-zonsen-ducar.ts",
24
26
  "copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
25
27
  "copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-test": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-test.ts",
26
28
  "copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-integration": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-integration.ts",
27
29
  "copy-to--luotao--smartfactory.product.simulator--main": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.simulator--main.ts",
28
30
  "copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
29
- "copy-to--luotao--smartfactory.product.wms.wms--hiway": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--hiway.ts",
30
31
  "copy-to--luotao--smartfactory.tyre.product-cp.view--FMS3.2": "npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.product-cp.view--FMS3.2.ts",
31
- "copy-to--luotao--smartfactory.product.wms.wms--project-zonsen-ducar": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-zonsen-ducar.ts",
32
32
  "----- --------------------------------------------": "",
33
33
  "bump--major": "npm run use-node && tsx script/bump.ts major",
34
34
  "bump--minor": "npm run use-node && tsx script/bump.ts minor",