@kengic/vue 0.25.2-beta.1 → 0.25.2
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.
@@ -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;
|
@@ -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.2
|
3
|
+
"version": "0.25.2",
|
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",
|