keli-ui 0.0.16 → 0.0.18
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/keli-ui.css +1 -1
- package/dist/keli-ui.js +22 -5
- package/dist/keli-ui.umd.cjs +1 -1
- package/dist/types/packages/FormComponents/FormInputNumber/FormInputNumber.vue.d.ts +3 -3
- package/dist/types/packages/FormComponents/FormSelectAsync/FormSelectAsyncClient.vue.d.ts +3 -3
- package/dist/types/packages/FormComponents/FormSelectAsync/FormSelectAsyncMobile.vue.d.ts +3 -3
- package/dist/types/packages/FormComponents/FormSelectAsync/index.d.ts +3 -3
- package/dist/types/packages/FormComponents/FormText/FormText.vue.d.ts +3 -3
- package/dist/types/packages/index.d.ts +18 -1
- package/dist/types/packages/types/button.d.ts +1 -0
- package/dist/types/packages/types/componentFrame.d.ts +3 -1
- package/dist/types/packages/types/formFrame.d.ts +5 -1
- package/dist/types/packages/types/queryFrame.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11
11
|
type: PropType<FormFrame>;
|
|
12
12
|
};
|
|
13
13
|
mittId: {
|
|
14
|
-
type:
|
|
14
|
+
type: any;
|
|
15
15
|
required: false;
|
|
16
16
|
default: () => any;
|
|
17
17
|
};
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
31
|
type: PropType<FormFrame>;
|
|
32
32
|
};
|
|
33
33
|
mittId: {
|
|
34
|
-
type:
|
|
34
|
+
type: any;
|
|
35
35
|
required: false;
|
|
36
36
|
default: () => any;
|
|
37
37
|
};
|
|
@@ -42,6 +42,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
42
42
|
onGetComponentValue?: (...args: any[]) => any;
|
|
43
43
|
}>, {
|
|
44
44
|
value: number;
|
|
45
|
-
mittId:
|
|
45
|
+
mittId: any;
|
|
46
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
47
|
export default _default;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
};
|
|
16
16
|
mittId: {
|
|
17
|
-
type:
|
|
17
|
+
type: any;
|
|
18
18
|
required: false;
|
|
19
19
|
default: () => any;
|
|
20
20
|
};
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
};
|
|
41
41
|
mittId: {
|
|
42
|
-
type:
|
|
42
|
+
type: any;
|
|
43
43
|
required: false;
|
|
44
44
|
default: () => any;
|
|
45
45
|
};
|
|
@@ -50,6 +50,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
50
50
|
onGetComponentValue?: (componentValue: any, callback: (val: any) => void) => any;
|
|
51
51
|
}>, {
|
|
52
52
|
value: any;
|
|
53
|
-
mittId:
|
|
53
|
+
mittId: any;
|
|
54
54
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
55
55
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
type: StringConstructor;
|
|
16
16
|
};
|
|
17
17
|
mittId: {
|
|
18
|
-
type:
|
|
18
|
+
type: any;
|
|
19
19
|
required: false;
|
|
20
20
|
default: () => any;
|
|
21
21
|
};
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
};
|
|
41
41
|
mittId: {
|
|
42
|
-
type:
|
|
42
|
+
type: any;
|
|
43
43
|
required: false;
|
|
44
44
|
default: () => any;
|
|
45
45
|
};
|
|
@@ -50,6 +50,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
50
50
|
onGetComponentValue?: (...args: any[]) => any;
|
|
51
51
|
}>, {
|
|
52
52
|
value: any;
|
|
53
|
-
mittId:
|
|
53
|
+
mittId: any;
|
|
54
54
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
55
55
|
export default _default;
|
|
@@ -13,7 +13,7 @@ declare const KeFormSelectAsync: import("vue").DefineComponent<import("vue").Ext
|
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
};
|
|
15
15
|
mittId: {
|
|
16
|
-
type:
|
|
16
|
+
type: any;
|
|
17
17
|
required: false;
|
|
18
18
|
default: () => any;
|
|
19
19
|
};
|
|
@@ -37,7 +37,7 @@ declare const KeFormSelectAsync: import("vue").DefineComponent<import("vue").Ext
|
|
|
37
37
|
type: StringConstructor;
|
|
38
38
|
};
|
|
39
39
|
mittId: {
|
|
40
|
-
type:
|
|
40
|
+
type: any;
|
|
41
41
|
required: false;
|
|
42
42
|
default: () => any;
|
|
43
43
|
};
|
|
@@ -48,6 +48,6 @@ declare const KeFormSelectAsync: import("vue").DefineComponent<import("vue").Ext
|
|
|
48
48
|
onGetComponentValue?: (...args: any[]) => any;
|
|
49
49
|
}>, {
|
|
50
50
|
value: any;
|
|
51
|
-
mittId:
|
|
51
|
+
mittId: any;
|
|
52
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
53
|
export default KeFormSelectAsync;
|
|
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10
10
|
type: PropType<FormFrame>;
|
|
11
11
|
};
|
|
12
12
|
mittId: {
|
|
13
|
-
type:
|
|
13
|
+
type: any;
|
|
14
14
|
required: false;
|
|
15
15
|
default: () => any;
|
|
16
16
|
};
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
26
|
type: PropType<FormFrame>;
|
|
27
27
|
};
|
|
28
28
|
mittId: {
|
|
29
|
-
type:
|
|
29
|
+
type: any;
|
|
30
30
|
required: false;
|
|
31
31
|
default: () => any;
|
|
32
32
|
};
|
|
@@ -34,6 +34,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
"onUpdate:value"?: (value: any) => any;
|
|
35
35
|
}>, {
|
|
36
36
|
value: string;
|
|
37
|
-
mittId:
|
|
37
|
+
mittId: any;
|
|
38
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
39
|
export default _default;
|
|
@@ -15,12 +15,29 @@ import KeQueryInput from './QueryComponents/QueryInput';
|
|
|
15
15
|
import KeQueryInputLike from './QueryComponents/QueryInputLike';
|
|
16
16
|
import KeQuerySelect from './QueryComponents/QuerySelect';
|
|
17
17
|
import KeToolBar from './ToolBar';
|
|
18
|
+
import KeFormCascaderAsync from './FormComponents/FormCascaderAsync';
|
|
19
|
+
import KeFormCheckBoxAsync from './FormComponents/FormCheckBoxAsync';
|
|
20
|
+
import KeFormCodeEditor from './FormComponents/FormCodeEditor';
|
|
21
|
+
import KeFormDatePicker from './FormComponents/FormDatePicker';
|
|
22
|
+
import KeFormDivider from './FormComponents/FormDivider';
|
|
23
|
+
import KeFormDateTimePicker from './FormComponents/FormDateTimePicker';
|
|
24
|
+
import KeFormDynamicTable from './FormComponents/FormDynamicTable';
|
|
25
|
+
import KeFormInput from './FormComponents/FormInput';
|
|
26
|
+
import KeFormInputNumber from './FormComponents/FormInputNumber';
|
|
27
|
+
import KeFormRadio from './FormComponents/FormRadio';
|
|
28
|
+
import KeFormRender from './FormComponents/FormRender';
|
|
29
|
+
import KeFormSelect from './FormComponents/FormSelect';
|
|
30
|
+
import KeFormSelectAsync from './FormComponents/FormSelectAsync';
|
|
31
|
+
import KeFormSelectRemote from './FormComponents/FormSelectRemote';
|
|
32
|
+
import KeFormSwitch from './FormComponents/FormSwitch';
|
|
33
|
+
import KeFormText from './FormComponents/FormText';
|
|
34
|
+
import KeFormTextArea from './FormComponents/FormTextArea';
|
|
18
35
|
declare const install: (app: App) => Promise<void>;
|
|
19
36
|
declare const _default: {
|
|
20
37
|
install: (app: App) => Promise<void>;
|
|
21
38
|
};
|
|
22
39
|
export default _default;
|
|
23
|
-
export { install, KeTableRender, KeTableCardRender, KeTableTreeRender, KeTableCheckBoxAsync, KeTableInput, KeTableInputNumber, KeTableSelect, KeTableSelectAsync, KeTableSwitch, KeQueryBar, KeQueryDateTime, KeQueryInput, KeQueryInputLike, KeQuerySelect, KeToolBar };
|
|
40
|
+
export { install, KeTableRender, KeTableCardRender, KeTableTreeRender, KeTableCheckBoxAsync, KeTableInput, KeTableInputNumber, KeTableSelect, KeTableSelectAsync, KeTableSwitch, KeQueryBar, KeQueryDateTime, KeQueryInput, KeQueryInputLike, KeQuerySelect, KeToolBar, KeFormCascaderAsync, KeFormCheckBoxAsync, KeFormCodeEditor, KeFormDatePicker, KeFormDivider, KeFormDateTimePicker, KeFormDynamicTable, KeFormInput, KeFormInputNumber, KeFormRadio, KeFormRender, KeFormSelect, KeFormSelectAsync, KeFormSelectRemote, KeFormSwitch, KeFormText, KeFormTextArea };
|
|
24
41
|
export * from '../utils';
|
|
25
42
|
export type * from './types';
|
|
26
43
|
export * from 'vxe-table';
|
|
@@ -20,4 +20,6 @@ export interface OptionInterface {
|
|
|
20
20
|
children?: OptionInterface[];
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export type HttpMethod = 'delete' | 'get' | 'head' | 'patch' | 'post' | 'put';
|
|
23
|
+
export type HttpMethod = 'delete' | 'get' | 'head' | 'patch' | 'post' | 'put';
|
|
24
|
+
|
|
25
|
+
export type Size = 'small' | 'default' | 'large';
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import type { ComponentFrame, HttpMethod, OptionInterface } from './componentFrame';
|
|
1
|
+
import type { ComponentFrame, HttpMethod, OptionInterface, Size } from './componentFrame';
|
|
2
|
+
|
|
3
|
+
type LabelPosition = 'left' | 'right';
|
|
4
|
+
|
|
5
|
+
type FormLayout = 'horizontal' | 'inline' | 'vertical';
|
|
2
6
|
|
|
3
7
|
export interface FormFrame extends ComponentFrame {
|
|
4
8
|
/** 表单编辑器 */
|