@kengic/vue 0.27.1-beta.2 → 0.27.1-beta.4
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.
- package/dist/kengic-vue.js +7175 -7095
- package/dist/project/build/generate/icon/index.ts +2 -5
- package/dist/project/build/script/buildConf.ts +1 -1
- package/dist/project/build/script/postBuild.ts +1 -1
- package/dist/src/component/KgAppSelect/{index.hooks.d.ts → KgAppSelect.hooks.d.ts} +4 -3
- package/dist/src/component/KgAppSelect/{index.store.d.ts → KgAppSelect.store.d.ts} +3 -2
- package/dist/src/component/KgAppSelect/index.d.ts +2 -2
- package/dist/src/component/KgButton/{index.hooks.d.ts → KgButton.hooks.d.ts} +2 -2
- package/dist/src/component/KgButton/{index.store.d.ts → KgButton.store.d.ts} +1 -1
- package/dist/src/component/KgButton/index.d.ts +2 -2
- package/dist/src/component/KgCanvas/{index.hooks.d.ts → KgCanvas.hooks.d.ts} +2 -2
- package/dist/src/component/KgCanvas/index.d.ts +1 -1
- package/dist/src/component/KgForm/{index.hooks.d.ts → KgForm.hooks.d.ts} +2 -2
- package/dist/src/component/KgForm/{index.store.d.ts → KgForm.store.d.ts} +1 -1
- package/dist/src/component/KgForm/index.d.ts +2 -2
- package/dist/src/component/KgForm.Item/KgForm.Item.d.ts +5 -5
- package/dist/src/component/KgForm.Item/KgForm.Item.service.d.ts +1 -1
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +7 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +7 -9
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Date.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.DateRange.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Image.d.ts +11 -7
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Input.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.InputPassword.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +5 -9
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.d.ts +5 -7
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Select.service.d.ts +1 -1
- package/dist/src/component/KgForm.Item/components/KgForm.Item.Switch.d.ts +5 -5
- package/dist/src/component/KgForm.Item/components/KgForm.Item.TextArea.d.ts +5 -5
- package/dist/src/component/KgForm.Item/index.d.ts +1 -1
- package/dist/src/component/KgLayoutHeader/index.d.ts +1 -1
- package/dist/src/component/KgSearch/{index.hooks.d.ts → KgSearch.hooks.d.ts} +2 -2
- package/dist/src/component/KgSearch/{index.store.d.ts → KgSearch.store.d.ts} +1 -1
- package/dist/src/component/KgSearch/index.d.ts +2 -2
- package/dist/src/component/KgSubmit/{index.event.d.ts → KgSubmit.event.d.ts} +10 -10
- package/dist/src/component/KgSubmit/{index.hooks.d.ts → KgSubmit.hooks.d.ts} +9 -9
- package/dist/src/component/KgSubmit/{index.store.d.ts → KgSubmit.store.d.ts} +16 -16
- package/dist/src/component/KgSubmit/index.d.ts +3 -3
- package/dist/src/component/KgTable/{index.event.d.ts → KgTable.event.d.ts} +1 -1
- package/dist/src/component/KgTable/{index.hooks.d.ts → KgTable.hooks.d.ts} +2 -2
- package/dist/src/component/KgTable/KgTable.service.d.ts +1 -1
- package/dist/src/component/KgTable/{index.store.d.ts → KgTable.store.d.ts} +2 -2
- package/dist/src/component/KgTable/components/KgTable.BodyCell.d.ts +1 -1
- package/dist/src/component/KgTable/index.d.ts +3 -3
- package/dist/src/component/KgVar/KgVar.d.ts +1 -1
- package/dist/src/component/KgVar/{index.hooks.d.ts → KgVar.hooks.d.ts} +4 -4
- package/dist/src/component/KgVar/{index.store.d.ts → KgVar.store.d.ts} +2 -2
- package/dist/src/component/KgVar/{index.vm.d.ts → KgVar.vm.d.ts} +1 -1
- package/dist/src/component/KgVar/KgVarFactory.d.ts +8 -8
- package/dist/src/component/KgVar/index.d.ts +3 -3
- package/dist/src/component/KgVarConfig/{index.hooks.d.ts → KgVarConfig.hooks.d.ts} +1 -1
- package/dist/src/component/KgVarConfig/index.d.ts +2 -2
- package/dist/src/component/KgWarehouse/{index.hooks.d.ts → KgWarehouse.hooks.d.ts} +1 -1
- package/dist/src/component/KgWarehouse/index.d.ts +3 -3
- package/dist/src/config/index.store.d.ts +2 -1
- package/dist/src/const/index.vm.d.ts +76 -12
- package/dist/src/page/KgPageDda/components/KgPageDda.Create.store.d.ts +1 -1
- package/dist/src/util/kg-route.util.d.ts +2 -1
- package/dist/src/util/kg.util.d.ts +8 -15
- package/package.json +1 -1
- /package/dist/src/component/KgAppSelect/{index.event.d.ts → KgAppSelect.event.d.ts} +0 -0
- /package/dist/src/component/KgButton/{index.event.d.ts → KgButton.event.d.ts} +0 -0
- /package/dist/src/component/KgCanvas/{index.event.d.ts → KgCanvas.event.d.ts} +0 -0
- /package/dist/src/component/KgCanvas/{index.store.d.ts → KgCanvas.store.d.ts} +0 -0
- /package/dist/src/component/KgCanvas/{index.vm.d.ts → KgCanvas.vm.d.ts} +0 -0
- /package/dist/src/component/KgForm/{index.event.d.ts → KgForm.event.d.ts} +0 -0
- /package/dist/src/component/KgForm/{index.vm.d.ts → KgForm.vm.d.ts} +0 -0
- /package/dist/src/component/KgForm.Item/{index.vm.d.ts → KgForm.Item.vm.d.ts} +0 -0
- /package/dist/src/component/KgLayoutHeader/{index.hooks.d.ts → KgLayoutHeader.hooks.d.ts} +0 -0
- /package/dist/src/component/KgModal/{index.vm.d.ts → KgModal.vm.d.ts} +0 -0
- /package/dist/src/component/KgSearch/{index.event.d.ts → KgSearch.event.d.ts} +0 -0
- /package/dist/src/component/KgSearch/{index.vm.d.ts → KgSearch.vm.d.ts} +0 -0
- /package/dist/src/component/KgSubmit/{index.vm.d.ts → KgSubmit.vm.d.ts} +0 -0
- /package/dist/src/component/KgTable/{index.vm.d.ts → KgTable.vm.d.ts} +0 -0
- /package/dist/src/component/KgVar/{index.event.d.ts → KgVar.event.d.ts} +0 -0
- /package/dist/src/component/KgVar/{index.store.service.d.ts → KgVar.store.service.d.ts} +0 -0
- /package/dist/src/component/KgVarConfig/{index.store.d.ts → KgVarConfig.store.d.ts} +0 -0
- /package/dist/src/component/KgVarConfig/{index.vm.d.ts → KgVarConfig.vm.d.ts} +0 -0
- /package/dist/src/component/KgWarehouse/{index.guard.d.ts → KgWarehouse.guard.d.ts} +0 -0
- /package/dist/src/component/KgWarehouse/{index.store.d.ts → KgWarehouse.store.d.ts} +0 -0
- /package/dist/src/page/KgPageDda/{index.vm.d.ts → KgPageDda.vm.d.ts} +0 -0
|
@@ -386,6 +386,82 @@ export declare const enum KG__VAR_SUBMIT_CONFIG__LABEL_COLUMN_UNIT {
|
|
|
386
386
|
*/
|
|
387
387
|
PX = "PX"
|
|
388
388
|
}
|
|
389
|
+
/**
|
|
390
|
+
* 动态参数.
|
|
391
|
+
*/
|
|
392
|
+
export declare const KG__DYNAMIC_PARAM: {
|
|
393
|
+
/**
|
|
394
|
+
* 空字符串.
|
|
395
|
+
*/
|
|
396
|
+
EMPTY_STRING: string;
|
|
397
|
+
/**
|
|
398
|
+
* 当前语言.
|
|
399
|
+
*/
|
|
400
|
+
LOCALE: string;
|
|
401
|
+
/**
|
|
402
|
+
* 当前时间.
|
|
403
|
+
*/
|
|
404
|
+
NOW: string;
|
|
405
|
+
/**
|
|
406
|
+
* 当前勾选行对应的属性.
|
|
407
|
+
*/
|
|
408
|
+
ROW: string;
|
|
409
|
+
/**
|
|
410
|
+
* 当前用户.
|
|
411
|
+
*/
|
|
412
|
+
USER: string;
|
|
413
|
+
/**
|
|
414
|
+
* 当前仓库编号.
|
|
415
|
+
*/
|
|
416
|
+
WAREHOUSE: string;
|
|
417
|
+
/**
|
|
418
|
+
* 当前工作区.
|
|
419
|
+
*/
|
|
420
|
+
WORK_AREA: string;
|
|
421
|
+
/**
|
|
422
|
+
* 当前工作站.
|
|
423
|
+
*/
|
|
424
|
+
WORK_STATION: string;
|
|
425
|
+
};
|
|
426
|
+
export declare const KG__DYNAMIC_PARAM_LIST: string[];
|
|
427
|
+
/**
|
|
428
|
+
* 动态参数, 在首尾添加了 # 字符.
|
|
429
|
+
*/
|
|
430
|
+
export declare const KG__DYNAMIC_PARAM_HASH: {
|
|
431
|
+
/**
|
|
432
|
+
* 空字符串.
|
|
433
|
+
*/
|
|
434
|
+
EMPTY_STRING: string;
|
|
435
|
+
/**
|
|
436
|
+
* 当前语言.
|
|
437
|
+
*/
|
|
438
|
+
LOCALE: string;
|
|
439
|
+
/**
|
|
440
|
+
* 当前时间.
|
|
441
|
+
*/
|
|
442
|
+
NOW: string;
|
|
443
|
+
/**
|
|
444
|
+
* 当前勾选行对应的属性.
|
|
445
|
+
*/
|
|
446
|
+
ROW: string;
|
|
447
|
+
/**
|
|
448
|
+
* 当前用户.
|
|
449
|
+
*/
|
|
450
|
+
USER: string;
|
|
451
|
+
/**
|
|
452
|
+
* 当前仓库编号.
|
|
453
|
+
*/
|
|
454
|
+
WAREHOUSE: string;
|
|
455
|
+
/**
|
|
456
|
+
* 当前工作区.
|
|
457
|
+
*/
|
|
458
|
+
WORK_AREA: string;
|
|
459
|
+
/**
|
|
460
|
+
* 当前工作站.
|
|
461
|
+
*/
|
|
462
|
+
WORK_STATION: string;
|
|
463
|
+
};
|
|
464
|
+
export declare const KG__DYNAMIC_PARAM_HASH_LIST: string[];
|
|
389
465
|
/**
|
|
390
466
|
* 栅格布局宽度.
|
|
391
467
|
*/
|
|
@@ -509,18 +585,6 @@ export declare const KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS";
|
|
|
509
585
|
export declare const KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS";
|
|
510
586
|
/** 模块菜单的临时ID:PDA. */
|
|
511
587
|
export declare const KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA";
|
|
512
|
-
/** 菜单. */
|
|
513
|
-
export interface Menu {
|
|
514
|
-
id: string;
|
|
515
|
-
app: string | null;
|
|
516
|
-
name: string;
|
|
517
|
-
title: string;
|
|
518
|
-
path?: string;
|
|
519
|
-
icon?: string;
|
|
520
|
-
hideMenu?: boolean;
|
|
521
|
-
children?: Menu[];
|
|
522
|
-
[key: string]: any;
|
|
523
|
-
}
|
|
524
588
|
/**
|
|
525
589
|
* 按钮确认弹窗的参数.
|
|
526
590
|
* <p>对应于 {@link VarButton#modal_props} 字段.</p>
|
|
@@ -919,7 +919,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
|
919
919
|
formID: string;
|
|
920
920
|
frmNam: string;
|
|
921
921
|
}) => void;
|
|
922
|
-
}, "getVarButtons" | "
|
|
922
|
+
}, "getVarButtons" | "getIsLoading" | "getCreateVarDdaQuery" | "getFrmId" | "getResultSetMetadataColumns">>, Pick<{
|
|
923
923
|
createVarButton: (button: VarButton) => void;
|
|
924
924
|
updateVarConfigDescription: (param: {
|
|
925
925
|
varName: string | null | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { KG_APP
|
|
1
|
+
import { KG_APP } from '../const';
|
|
2
|
+
import { Menu } from '../project/src/router/types';
|
|
2
3
|
export declare class KgRouteUtil {
|
|
3
4
|
/** @deprecated 已弃用, 请使用 KgUtil 中的同名方法. */
|
|
4
5
|
static addOnlineRoutesForAllApps(routes: any[]): any[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
|
2
2
|
import dayjs, { Dayjs } from 'dayjs';
|
|
3
|
-
import { IKgVarButtonModalProperties, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE, KG_APP
|
|
3
|
+
import { IKgVarButtonModalProperties, KG__VAR_CONFIG_CONTROL__CONTROL_TYPE, KG_APP } from '../const';
|
|
4
|
+
import { Menu } from '../project/src/router/types';
|
|
4
5
|
/**
|
|
5
6
|
* 工具方法.
|
|
6
7
|
*/
|
|
@@ -45,17 +46,7 @@ export declare class KgUtil {
|
|
|
45
46
|
* 处理请求参数: 解析字符串类型的参数值.
|
|
46
47
|
*
|
|
47
48
|
* <ol>
|
|
48
|
-
* <li
|
|
49
|
-
* <ul>
|
|
50
|
-
* <li>{WAREHOUSE}: 当前仓库编号</li>
|
|
51
|
-
* <li>{WORK_STATION}: 当前工作站</li>
|
|
52
|
-
* <li>{WORK_AREA}: 当前工作区</li>
|
|
53
|
-
* <li>{LOCALE}: 当前语言</li>
|
|
54
|
-
* <li>{NOW}: 当前时间</li>
|
|
55
|
-
* <li>{USER}: 当前用户</li>
|
|
56
|
-
* <li>{ROW}: 当前勾选行对应的属性</li>
|
|
57
|
-
* </ul>
|
|
58
|
-
* </li>
|
|
49
|
+
* <li>替换动态参数, '动态参数'需要被替换成实际的值, 动态参数定义参考 {@link KG__DYNAMIC_PARAM }.</li>
|
|
59
50
|
* </ol>
|
|
60
51
|
*
|
|
61
52
|
* @param param.$dayjs dayjs.
|
|
@@ -229,16 +220,18 @@ export declare class KgUtil {
|
|
|
229
220
|
*
|
|
230
221
|
* @param param.$dayjs dayjs.
|
|
231
222
|
* @param param.buttonVarName 「变量配置:表单控件」所属的按钮的变量名称.
|
|
223
|
+
* @param param.defaultValue 原始的默认值.
|
|
232
224
|
* @param param.formID 界面标识.
|
|
233
|
-
* @param param.
|
|
225
|
+
* @param param.isParseDynamicParam 是否替换动态参数. 默认为 true.
|
|
234
226
|
* @param param.varName 变量名称.
|
|
235
227
|
* @return {} 转换之后的值.
|
|
236
228
|
*/
|
|
237
|
-
static
|
|
229
|
+
static transformVarSubmitDetailDefaultValue(param: {
|
|
238
230
|
$dayjs: typeof dayjs;
|
|
239
231
|
buttonVarName: string | null | undefined;
|
|
232
|
+
defaultValue: any;
|
|
240
233
|
formID: string;
|
|
241
|
-
|
|
234
|
+
isParseDynamicParam?: boolean;
|
|
242
235
|
varName: string;
|
|
243
236
|
}): any;
|
|
244
237
|
/**
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|