@kengic/vue 0.32.25 → 0.32.27-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.
@@ -2,7 +2,7 @@ import { ____DEBUG____, ____ERROR____, ____INFO_____, ____WARN_____, IKgEventLis
2
2
  import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
3
3
  import dayjs, { Dayjs } from 'dayjs';
4
4
  import { Slots } from 'vue';
5
- import { IKgVarButtonModalProperties } from '../model';
5
+ import { type IKgVarButtonModalProperties } from '../model';
6
6
  import { Menu } from '../project';
7
7
  /**
8
8
  * 工具方法.
@@ -79,28 +79,6 @@ export declare class KgUtil {
79
79
  * @param $dayjs dayjs.
80
80
  */
81
81
  static parseParams(params: Record<string, any> | null | undefined, formID?: string | null, $dayjs?: typeof dayjs): Record<string, any>;
82
- /**
83
- * 处理请求参数: 解析字符串类型的参数值.
84
- *
85
- * <ol>
86
- * <li>替换动态参数, '动态参数'需要被替换成实际的值, 动态参数定义参考 {@link KG__DYNAMIC_PARAM }.</li>
87
- * </ol>
88
- *
89
- * @param param.$dayjs dayjs.
90
- * @param param.formID 界面标识.
91
- * @param param.value 参数的原始值.
92
- * @param param.varName 变量名称.
93
- */
94
- private static parseParamsFromString;
95
- /**
96
- * 处理请求参数: 解析 Dayjs 类型的参数值.
97
- *
98
- * @param param.formID 界面标识.
99
- * @param param.isPad 是否补齐日期格式. 即将 `YYYY-MM-DD` 补齐为 `YYYY-MM-DD 00:00:00`, 将 `HH:mm:ss` 补齐为 `1900-01-01 HH:mm:ss`.
100
- * @param param.key 属性名.
101
- * @param param.value 参数的原始值.
102
- */
103
- private static parseParamsFromDayjs;
104
82
  /**
105
83
  * <p>确认弹窗.</p>
106
84
  * <p>设置了多个属性的默认值, 简化使用.</p>
@@ -290,11 +268,10 @@ export declare class KgUtil {
290
268
  static isCloneFid(fid: string | null | undefined): boolean;
291
269
  /**
292
270
  * <p>获取查询请求相关的请求头.</p>
293
- * <p>根据查询条件拼接 SQL 语句片段.</p>
294
271
  * <p>根据查询参数拼接 SQL, 格式如下: `WHERE ... ORDER BY ...`, 每一个片段会单独作为一个属性返回.</p>
295
272
  * <ul>
296
- * <li>如果 dynamicQueryOperatorModel 传值, 表示直接使用传入的 dynamicQueryOperatorModel 作为高级查询操作符.</li>
297
- * <li>如果 dynamicQueryOperatorModel 没有传值, 但是 formID 传值, 表示通过变量配置获取高级查询操作符.</li>
273
+ * <li>如果 dynamicQueryOperatorModel 有值, 表示直接使用传入的 dynamicQueryOperatorModel 作为高级查询操作符.</li>
274
+ * <li>如果 dynamicQueryOperatorModel 无值, 但是 formID 有值, 表示通过变量配置获取高级查询操作符.</li>
298
275
  * </ul>
299
276
  *
300
277
  * @param param.$dayjs dayjs.
@@ -302,6 +279,7 @@ export declare class KgUtil {
302
279
  * @param param.formID 界面标识.
303
280
  * @param param.kgSearchFormID 查询条件的界面标识.
304
281
  * @param param.params 请求参数.
282
+ * @param param.whID 当前仓库编号.
305
283
  */
306
284
  static getQueryHeaders(param: {
307
285
  $dayjs?: typeof dayjs;
@@ -309,6 +287,7 @@ export declare class KgUtil {
309
287
  formID: string | null | undefined;
310
288
  kgSearchFormID?: string | null | undefined;
311
289
  params: Record<string, any> | null | undefined;
290
+ whID?: string | null | undefined;
312
291
  }): {
313
292
  /** @deprecated 已废弃, 请使用 operatorRecordJSON */
314
293
  operatorObjectJSON: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.32.25",
3
+ "version": "0.32.27-beta.0",
4
4
  "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
5
5
  "engines": {
6
6
  "node": "24.14.1",
@@ -50,7 +50,7 @@
50
50
  "kg-vue": "bin/bin.mjs"
51
51
  },
52
52
  "peerDependencies": {
53
- "vue": "^3.2.43"
53
+ "vue": "~3.2.43"
54
54
  },
55
55
  "dependencies": {
56
56
  "@ant-design/colors": "6.0.0",
@@ -63,7 +63,7 @@
63
63
  "@iconify-icons/mdi": "1.2.48",
64
64
  "@iconify-icons/ph": "1.2.5",
65
65
  "@iconify/vue": "4.1.2",
66
- "@kengic/core": "0.0.9",
66
+ "@kengic/core": "0.0.10-beta.5",
67
67
  "@kengic/pont": "2.1.3",
68
68
  "@rys-fe/vite-plugin-theme": "0.8.6",
69
69
  "@thymine/xunee": "0.4.9-beta.47",