@kengic/vue 0.25.2-beta.2 → 0.25.3-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +673 -651
- package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +4 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +2 -0
- package/dist/src/components/KgVar/index.hooks.d.ts +0 -2
- package/dist/src/components/KgVar/index.store.d.ts +0 -8
- package/dist/src/consts/index.vm.d.ts +15 -5
- package/package.json +1 -1
@@ -5,6 +5,10 @@ export declare function _useFormRules(props: KgFormItemProps): {
|
|
5
5
|
formRules: import("vue").ComputedRef<RuleObject[]>;
|
6
6
|
isFormRulesChange: import("vue").Ref<boolean>;
|
7
7
|
};
|
8
|
+
/**
|
9
|
+
*
|
10
|
+
* @param props
|
11
|
+
*/
|
8
12
|
export declare function useKgFormItem<T = Record<string, any>>(props?: KgFormItemProps): {
|
9
13
|
/** 控件类型. */
|
10
14
|
controlType: import("vue").ComputedRef<string | null | undefined>;
|
@@ -19,6 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
19
19
|
type: import("vue").PropType<boolean>;
|
20
20
|
default: boolean;
|
21
21
|
};
|
22
|
+
/** 是否全选. */
|
22
23
|
kgAllowClear: {
|
23
24
|
type: import("vue").PropType<boolean>;
|
24
25
|
default: undefined;
|
@@ -60,6 +61,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
60
61
|
type: import("vue").PropType<boolean>;
|
61
62
|
default: boolean;
|
62
63
|
};
|
64
|
+
/** 是否全选. */
|
63
65
|
kgAllowClear: {
|
64
66
|
type: import("vue").PropType<boolean>;
|
65
67
|
default: undefined;
|
@@ -112,8 +112,6 @@ export declare type IUseKgVar = {
|
|
112
112
|
}): Promise<void>;
|
113
113
|
/** 状态数据. */
|
114
114
|
store: IKgVarStore;
|
115
|
-
/** 系统的 VarGridDetail 列表. */
|
116
|
-
systemVarGridDetails: ComputedRef<ReturnType<IKgVarStore['getSystemVarGridDetails']>>;
|
117
115
|
/**
|
118
116
|
* 翻译变量. 响应式的.
|
119
117
|
*
|
@@ -90,14 +90,6 @@ export interface IUseKgVarStoreGetters {
|
|
90
90
|
*/
|
91
91
|
getLevel(): (formID: string | null | undefined) => number;
|
92
92
|
getParent(): (formID: string | null | undefined) => IUseKgVar | null;
|
93
|
-
/**
|
94
|
-
* 获取系统的 VarGridDetail 列表, 即 customLevel 为 0 的 VarGridMaster 下面的所有 VarGridDetail.
|
95
|
-
*/
|
96
|
-
getSystemVarGridDetails(): (formID: string | null | undefined) => Array<VarGridDetail> | null;
|
97
|
-
/**
|
98
|
-
* 获取系统的 VarProfileDetail 列表, 即 customLevel 为 0 的 VarProfileMaster 下面的所有 VarProfileDetail.
|
99
|
-
*/
|
100
|
-
getSystemVarProfileDetails(): (formID: string | null | undefined) => Array<VarProfileDetail> | null;
|
101
93
|
/**
|
102
94
|
* 和 var_nam 获取 VarButton.
|
103
95
|
*/
|
@@ -543,13 +543,23 @@ export interface IKgVarSubmitConfigProperties {
|
|
543
543
|
*/
|
544
544
|
export interface IKgVarConfigControlControlProperties {
|
545
545
|
CHECKBOX_GROUP: {
|
546
|
+
/**
|
547
|
+
* <p>要排除的数据.</p>
|
548
|
+
* <p>这些数据会从列表数据中移除.</p>
|
549
|
+
*/
|
550
|
+
excludeValues?: Array<any>;
|
546
551
|
/**
|
547
552
|
* 数据项的宽度.
|
553
|
+
*
|
548
554
|
* @default 24
|
549
555
|
*/
|
550
556
|
span?: number;
|
551
|
-
/**
|
552
|
-
|
557
|
+
/**
|
558
|
+
* 是否显示「全选」.
|
559
|
+
*
|
560
|
+
* @default true
|
561
|
+
*/
|
562
|
+
isShowSelectAll?: boolean;
|
553
563
|
};
|
554
564
|
DATE_RANGE: {
|
555
565
|
/**
|
@@ -562,17 +572,17 @@ export interface IKgVarConfigControlControlProperties {
|
|
562
572
|
};
|
563
573
|
IMAGE: {
|
564
574
|
/**
|
565
|
-
*
|
575
|
+
* 高度.
|
566
576
|
*
|
567
577
|
* @default 100
|
568
578
|
*/
|
569
|
-
|
579
|
+
height?: number;
|
570
580
|
/**
|
571
581
|
* 宽度.
|
572
582
|
*
|
573
583
|
* @default 100
|
574
584
|
*/
|
575
|
-
|
585
|
+
width?: number;
|
576
586
|
};
|
577
587
|
RADIO_GROUP: {
|
578
588
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.25.
|
3
|
+
"version": "0.25.3-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",
|