@kengic/vue 0.32.8-beta.2 → 0.32.9-beta.0

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.
@@ -16,4 +16,4 @@ export declare function leftVarProfileDetailColumns(fid$Host: string, fid: strin
16
16
  */
17
17
  export declare function rightVarProfileDetailColumns(fid$Host: string, fid: string): ColumnsType<any>;
18
18
  export declare type IUseDragRow = {};
19
- export declare function _useDragToSortRow(hostFid: string | null | undefined, varProfileDetails: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
19
+ export declare function _useDragToSortRow(fid$Host: string | null | undefined, allVarProfileDetailList$: Ref<UnwrapRef<Array<VarProfileDetail>>>, transferRightRowList$: Ref<UnwrapRef<Array<VarProfileDetail>>>): IUseDragRow;
@@ -214,6 +214,13 @@ export interface PermissionState {
214
214
  }
215
215
  export interface IUseKgStoreGetters {
216
216
  I18N: Record<string, any>;
217
+ /**
218
+ * <p>获取后端服务地址.</p>
219
+ * <p>后端服务地址默认是通过反向代理来进行配置的, 无需手动设置. 在某些场景下需要手动配置后端服务地址, 则需要提供该方法</p>
220
+ *
221
+ * @return 后端服务地址.
222
+ */
223
+ getApiUrl: (() => string | null | undefined) | null;
217
224
  /**
218
225
  * 根据 codeName 和 codeValue 获取当前语言下的某个描述.
219
226
  */
@@ -298,6 +305,7 @@ export interface IUseKgStoreActions {
298
305
  codeName: string | null | undefined;
299
306
  descriptionList: Array<DescriptionDTO>;
300
307
  }): void;
308
+ setGetApiUrl(getApiUrl?: (() => string | null | undefined) | null): void;
301
309
  setI18N(I18N?: Record<string, any>): void;
302
310
  setI18n(i18n: any): void;
303
311
  setOption(option: IKgOption): void;
@@ -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
  * 语言数据.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.32.8-beta.2",
3
+ "version": "0.32.9-beta.0",
4
4
  "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
5
5
  "engines": {
6
6
  "node": "24.14.1",