@kengic/vue 0.26.4 → 0.26.5-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,20 +13,6 @@ export declare class KgVarUtil {
13
13
  static parseRequestParamsToJSON(params: string | null | undefined): Record<string, any>;
14
14
  /**
15
15
  * <p>根据控件类型, 将表单控件的默认值转换为合法的值.</p>
16
- * <ul>
17
- * <li>
18
- * {NOW}
19
- * <p>当前时间(YYYY-MM-DD HH:mm:ss)</p>
20
- * </li>
21
- * <li>
22
- * {USER}
23
- * <p>当前登录的用户名.</p>
24
- * </li>
25
- * <li>
26
- * {ROW}
27
- * <p>当前勾选后对应的属性.</p>
28
- * </li>
29
- * </ul>
30
16
  *
31
17
  * @param param.$dayjs dayjs.
32
18
  * @param param.buttonVarName 「变量配置:表单控件」所属的按钮的变量名称.
@@ -49,13 +49,24 @@ export declare class KgUtil {
49
49
  * <ul>
50
50
  * <li>{WAREHOUSE}: 当前仓库编号</li>
51
51
  * <li>{LOCALE}: 当前语言</li>
52
+ * <li>{NOW}: 当前时间</li>
53
+ * <li>{USER}: 当前用户</li>
54
+ * <li>{ROW}: 当前勾选行对应的属性</li>
52
55
  * </ul>
53
56
  * </li>
54
57
  * </ol>
55
58
  *
56
- * @param value 参数的原始值.
59
+ * @param param.$dayjs dayjs.
60
+ * @param param.formID 界面标识.
61
+ * @param param.value 参数的原始值.
62
+ * @param param.varName 变量名称.
57
63
  */
58
- static parseParamFromString(value: string): string;
64
+ static parseParamFromString(param: {
65
+ $dayjs?: typeof dayjs;
66
+ formID?: string | null;
67
+ value: string;
68
+ varName?: string | null;
69
+ }): string;
59
70
  /**
60
71
  * 处理请求参数: 解析 Dayjs 类型的参数值.
61
72
  * @param param.formID 界面标识.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.26.4",
3
+ "version": "0.26.5-beta.0",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",