@maxtropy/v-components 0.1.16-beta.20 → 0.1.16-beta.22
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/mx-vcomponents.es.js +5029 -4860
- package/dist/style.css +1 -1
- package/dist/types/components/filter/MxFilter.vue.d.ts +12 -3
- package/dist/types/components/formContent/FormContent.vue.d.ts +53 -0
- package/dist/types/components/formContent/index.d.ts +7 -0
- package/dist/types/components/formTitle/FormTitle.vue.d.ts +26 -0
- package/dist/types/components/formTitle/index.d.ts +7 -0
- package/dist/types/components/index.d.ts +4 -1
- package/dist/types/components/subContent/SubContent.vue.d.ts +39 -0
- package/dist/types/components/subContent/index.d.ts +7 -0
- package/package.json +5 -4
|
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: FunctionConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
model: {
|
|
7
7
|
type: ObjectConstructor;
|
|
8
8
|
default: () => {};
|
|
9
9
|
};
|
|
@@ -27,12 +27,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
+
isPageFilter: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
30
34
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
35
|
onFinish: {
|
|
32
36
|
type: FunctionConstructor;
|
|
33
37
|
required: true;
|
|
34
38
|
};
|
|
35
|
-
|
|
39
|
+
model: {
|
|
36
40
|
type: ObjectConstructor;
|
|
37
41
|
default: () => {};
|
|
38
42
|
};
|
|
@@ -56,12 +60,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
60
|
type: BooleanConstructor;
|
|
57
61
|
default: boolean;
|
|
58
62
|
};
|
|
63
|
+
isPageFilter: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
59
67
|
}>>, {
|
|
60
68
|
onReset: Function;
|
|
61
|
-
|
|
69
|
+
model: Record<string, any>;
|
|
62
70
|
collapseOpen: boolean;
|
|
63
71
|
colSpan: number;
|
|
64
72
|
rules: Record<string, any>;
|
|
65
73
|
hasClear: boolean;
|
|
74
|
+
isPageFilter: boolean;
|
|
66
75
|
}, {}>;
|
|
67
76
|
export default _default;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { VNodeChild } from 'vue';
|
|
2
|
+
interface FormContentProps {
|
|
3
|
+
/**
|
|
4
|
+
* @description 标题
|
|
5
|
+
*/
|
|
6
|
+
title?: string | VNodeChild;
|
|
7
|
+
/**
|
|
8
|
+
* @description 窄边框
|
|
9
|
+
*/
|
|
10
|
+
narrow?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @description 额外内容展示,与 title 同行展示
|
|
13
|
+
*/
|
|
14
|
+
extraContent?: string | VNodeChild;
|
|
15
|
+
/**
|
|
16
|
+
* @description CSS 样式
|
|
17
|
+
*/
|
|
18
|
+
style?: Record<string, any>;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormContentProps>, {
|
|
21
|
+
narrow: boolean;
|
|
22
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormContentProps>, {
|
|
23
|
+
narrow: boolean;
|
|
24
|
+
}>>>, {
|
|
25
|
+
narrow: boolean;
|
|
26
|
+
}, {}>, {
|
|
27
|
+
title?(_: {}): any;
|
|
28
|
+
extra?(_: {}): any;
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
}>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_WithDefaults<P, D> = {
|
|
42
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
+
default: D[K];
|
|
44
|
+
}> : P[K];
|
|
45
|
+
};
|
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
type __VLS_Prettify<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { VNodeChild } from 'vue';
|
|
2
|
+
interface FormTitleProps {
|
|
3
|
+
title?: string | VNodeChild;
|
|
4
|
+
extraContent?: string | VNodeChild;
|
|
5
|
+
style?: Record<string, any>;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FormTitleProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FormTitleProps>>>, {}, {}>, {
|
|
9
|
+
title?(_: {}): any;
|
|
10
|
+
extra?(_: {}): any;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -37,7 +37,10 @@ import MxTimeSelect from './timeselect';
|
|
|
37
37
|
import MxCascader from './cascader';
|
|
38
38
|
import MxFilter from './filter';
|
|
39
39
|
import MxWrapper from './wrapper';
|
|
40
|
-
|
|
40
|
+
import MxFormContent from './formContent';
|
|
41
|
+
import MxFormTitle from './formTitle';
|
|
42
|
+
import MxSubContent from './subContent';
|
|
43
|
+
export { MxInput, MxInputNumber, MxButton, MxSwitch, MxSelect, MxOption, MxOptionGroup, MxRadio, MxRadioGroup, MxRadioButton, MxCheckbox, MxCheckboxButton, MxCheckboxGroup, SwitchStaff, HeadNavigation, SiderMenu, UserContent, SystemContent, BreadCrumb, BasicLayout, AuthorizedPermission, usePermission, useStaffTitle, useIntegratedAuthorityList, MxTooltip, MxDropdown, MxDropDownItem, MxDropDownMenu, MxAlert, MxDialog, MxSlider, MxDatePicker, MxTimePicker, MxPopconfirm, MxTree, MxTreeSelect, MxUpload, MxEllipsisSpan, MxEmpty, MxSteps, MxStep, MxTag, MxTable, MxTableColumn, MxPagination, MxForm, MxFormItem, MxTabs, MxTabPane, MxTimeSelect, MxCascader, MxFilter, MxWrapper, MxFormContent, MxFormTitle, MxSubContent, };
|
|
41
44
|
declare const _default: {
|
|
42
45
|
install: any;
|
|
43
46
|
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { VNodeChild } from 'vue';
|
|
2
|
+
interface SubContentProps {
|
|
3
|
+
/**
|
|
4
|
+
* @description 标题
|
|
5
|
+
*/
|
|
6
|
+
title?: string | VNodeChild;
|
|
7
|
+
/**
|
|
8
|
+
* @description 额外内容展示,与 title 同行展示
|
|
9
|
+
*/
|
|
10
|
+
extraContent?: string | VNodeChild;
|
|
11
|
+
/**
|
|
12
|
+
* @description CSS 样式
|
|
13
|
+
*/
|
|
14
|
+
style?: Record<string, any>;
|
|
15
|
+
/**
|
|
16
|
+
* @description 自定义 class
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<SubContentProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SubContentProps>>>, {}, {}>, {
|
|
21
|
+
title?(_: {}): any;
|
|
22
|
+
extra?(_: {}): any;
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxtropy/v-components",
|
|
3
|
-
"version": "0.1.16-beta.
|
|
3
|
+
"version": "0.1.16-beta.22",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@commitlint/cli": "^16.3.0",
|
|
41
41
|
"@commitlint/config-conventional": "^16.2.4",
|
|
42
|
-
"@types/node": "^17.0.45",
|
|
43
42
|
"@types/js-cookie": "^3.0.2",
|
|
43
|
+
"@types/node": "^17.0.45",
|
|
44
44
|
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
45
45
|
"@typescript-eslint/parser": "^5.59.5",
|
|
46
46
|
"@vitejs/plugin-vue": "^4.2.1",
|
|
@@ -70,11 +70,12 @@
|
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@element-plus/icons-vue": "^2.3.1",
|
|
72
72
|
"@types/lodash-es": "^4.17.7",
|
|
73
|
+
"classnames": "^2.5.1",
|
|
73
74
|
"element-plus": ">=2.3.4",
|
|
75
|
+
"js-cookie": "^3.0.1",
|
|
74
76
|
"lodash-es": ">=4",
|
|
75
77
|
"rxjs": ">=7.8.0",
|
|
76
|
-
"js-cookie": "^3.0.1",
|
|
77
78
|
"vue": ">=3.2.0",
|
|
78
79
|
"vue-router": ">=4"
|
|
79
80
|
}
|
|
80
|
-
}
|
|
81
|
+
}
|