@maxtropy/v-components 0.1.17-beta.3 → 0.1.17-beta.5
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 +1461 -1363
- package/dist/style.css +1 -1
- package/dist/types/components/dropdown/MxDropdown.vue.d.ts +12 -4
- package/dist/types/components/dropdown/index.d.ts +6 -4
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/components/select/MxSelect.vue.d.ts +12500 -1
- package/dist/types/components/treeselect/MxTreeSelect.vue.d.ts +74 -1
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ type OptionType = {
|
|
|
6
6
|
divided?: boolean;
|
|
7
7
|
icon?: string | Component;
|
|
8
8
|
};
|
|
9
|
-
declare const _default: import("vue").DefineComponent<{
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
10
10
|
type: {
|
|
11
11
|
type: PropType<"" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed">;
|
|
12
12
|
validator: (value: string) => boolean;
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
};
|
|
23
23
|
options: {
|
|
24
24
|
type: PropType<OptionType[]>;
|
|
25
|
-
|
|
25
|
+
default: () => never[];
|
|
26
26
|
};
|
|
27
27
|
perIcon: {
|
|
28
28
|
type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
};
|
|
49
49
|
options: {
|
|
50
50
|
type: PropType<OptionType[]>;
|
|
51
|
-
|
|
51
|
+
default: () => never[];
|
|
52
52
|
};
|
|
53
53
|
perIcon: {
|
|
54
54
|
type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
@@ -62,7 +62,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
link: boolean;
|
|
63
63
|
type: "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed";
|
|
64
64
|
disabled: boolean;
|
|
65
|
+
options: OptionType[];
|
|
65
66
|
menuName: string;
|
|
66
67
|
perIcon: string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
67
|
-
}, {}
|
|
68
|
+
}, {}>, {
|
|
69
|
+
default?(_: {}): any;
|
|
70
|
+
}>;
|
|
68
71
|
export default _default;
|
|
72
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import MxDropdown from './MxDropdown.vue';
|
|
2
|
+
import DropdownMenu from './MxDropDownMenu.vue';
|
|
3
|
+
import DropdownItem from './MxDropDownItem.vue';
|
|
2
4
|
declare module 'vue' {
|
|
3
5
|
interface GlobalComponents {
|
|
4
6
|
MxDropdown: typeof MxDropdown;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
MxDropdownMenu: typeof DropdownMenu;
|
|
8
|
+
MxDropdownItem: typeof DropdownItem;
|
|
7
9
|
}
|
|
8
10
|
}
|
|
9
11
|
export default MxDropdown;
|
|
10
|
-
export declare const
|
|
12
|
+
export declare const MxDropdownMenu: {
|
|
11
13
|
new (...args: any[]): {
|
|
12
14
|
$: import("vue").ComponentInternalInstance;
|
|
13
15
|
$data: {};
|
|
@@ -97,7 +99,7 @@ export declare const MxDropDownMenu: {
|
|
|
97
99
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
98
100
|
$slots: Partial<Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
99
101
|
});
|
|
100
|
-
export declare const
|
|
102
|
+
export declare const MxDropdownItem: {
|
|
101
103
|
new (...args: any[]): {
|
|
102
104
|
$: import("vue").ComponentInternalInstance;
|
|
103
105
|
$data: {};
|
|
@@ -15,7 +15,7 @@ import BasicLayout from './basiclayout';
|
|
|
15
15
|
import AuthorizedPermission from './authorizedpermission';
|
|
16
16
|
import { usePermission, useStaffTitle, useIntegratedAuthorityList } from '../utils/hooks';
|
|
17
17
|
import MxTooltip from './tooltip';
|
|
18
|
-
import MxDropdown, {
|
|
18
|
+
import MxDropdown, { MxDropdownItem, MxDropdownMenu } from './dropdown';
|
|
19
19
|
import MxDialog from './dialog';
|
|
20
20
|
import MxAlert from './alert';
|
|
21
21
|
import MxTabs, { MxTabPane } from './tabs';
|
|
@@ -41,7 +41,7 @@ import MxFormContent from './formContent';
|
|
|
41
41
|
import MxFormTitle from './formTitle';
|
|
42
42
|
import MxSubContent from './subContent';
|
|
43
43
|
import MxAutocomplete from './autocomplete';
|
|
44
|
-
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,
|
|
44
|
+
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, MxAutocomplete, };
|
|
45
45
|
declare const _default: {
|
|
46
46
|
install: any;
|
|
47
47
|
};
|