@maxtropy/v-components 0.1.10-beta.1 → 0.1.10-beta.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.
Files changed (29) hide show
  1. package/dist/mx-vcomponents.es.js +11182 -9091
  2. package/dist/style.css +1 -1
  3. package/dist/types/assets/svg/InfoSvg.vue.d.ts +2 -0
  4. package/dist/types/components/alert/MxAlert.vue.d.ts +42 -1
  5. package/dist/types/components/alert/index.d.ts +1 -1
  6. package/dist/types/components/button/MxButton.vue.d.ts +3 -3
  7. package/dist/types/components/checkbox/index.d.ts +1 -1
  8. package/dist/types/components/datePicker/MxDatePicker.vue.d.ts +43 -1
  9. package/dist/types/components/dialog/MxDialog.vue.d.ts +1 -0
  10. package/dist/types/components/dropdown/MxDropdown.vue.d.ts +3 -3
  11. package/dist/types/components/ellipsisSpan/MxEllipsisSpan.vue.d.ts +42 -0
  12. package/dist/types/components/ellipsisSpan/index.d.ts +7 -0
  13. package/dist/types/components/empty/MxEmpty.vue.d.ts +7 -0
  14. package/dist/types/components/empty/index.d.ts +7 -0
  15. package/dist/types/components/index.d.ts +6 -1
  16. package/dist/types/components/messageBox/message.vue.d.ts +1 -0
  17. package/dist/types/components/popconfirm/MxPopconfirm.vue.d.ts +9 -9
  18. package/dist/types/components/steps/MxStep.vue.d.ts +7 -0
  19. package/dist/types/components/steps/MxSteps.vue.d.ts +29 -0
  20. package/dist/types/components/steps/index.d.ts +99 -0
  21. package/dist/types/components/tag/MxTag.vue.d.ts +40 -0
  22. package/dist/types/components/tag/index.d.ts +7 -0
  23. package/dist/types/components/timePicker/MxTimePicker.vue.d.ts +43 -1
  24. package/dist/types/components/upload/MxUpload.vue.d.ts +111 -0
  25. package/dist/types/components/upload/index.d.ts +7 -0
  26. package/dist/types/components/upload/upload.d.ts +139 -0
  27. package/dist/types/components/upload/uploadList.vue.d.ts +15 -0
  28. package/dist/types/components/upload/use-handlers.d.ts +13 -0
  29. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -1,4 +1,45 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<string | number, (_: {}) => any>>>;
1
+ export declare const TypeComponentsMap: {
2
+ success: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
3
+ warning: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
+ error: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
5
+ info: import("vue").Raw<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
6
+ };
7
+ export declare const keysOf: <T extends object>(object: T) => string[];
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
9
+ type: {
10
+ type: StringConstructor;
11
+ values: string[];
12
+ default: string;
13
+ };
14
+ title: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ showIcon: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ type: {
24
+ type: StringConstructor;
25
+ values: string[];
26
+ default: string;
27
+ };
28
+ title: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ showIcon: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ }>>, {
37
+ title: string;
38
+ type: string;
39
+ showIcon: boolean;
40
+ }, {}>, Partial<Record<string | number, (_: {}) => any>> & {
41
+ title?(_: {}): any;
42
+ }>;
2
43
  export default _default;
3
44
  declare type __VLS_WithTemplateSlots<T, S> = T & {
4
45
  new (): {
@@ -1,7 +1,7 @@
1
1
  import MxAlert from './MxAlert.vue';
2
2
  declare module 'vue' {
3
3
  interface GlobalComponents {
4
- MxTooltip: typeof MxAlert;
4
+ MxAlert: typeof MxAlert;
5
5
  }
6
6
  }
7
7
  export default MxAlert;
@@ -1,7 +1,7 @@
1
1
  import { type PropType } from 'vue';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  type: {
4
- type: PropType<"" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed">;
4
+ type: PropType<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed">;
5
5
  validator: (value: string) => boolean;
6
6
  default: string;
7
7
  };
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
15
  };
16
16
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  type: {
18
- type: PropType<"" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed">;
18
+ type: PropType<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed">;
19
19
  validator: (value: string) => boolean;
20
20
  default: string;
21
21
  };
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
30
30
  }>> & {
31
31
  onClick?: ((...args: any[]) => any) | undefined;
32
32
  }, {
33
- type: "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed";
33
+ type: "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed";
34
34
  props: Record<string, any>;
35
35
  wait: number;
36
36
  }, {}>, Partial<Record<string | number, (_: {}) => any>>>;
@@ -201,7 +201,7 @@ export declare const MxCheckboxButton: import("element-plus/es/utils").SFCWithIn
201
201
  checkboxGroup: ({
202
202
  modelValue?: import("vue").WritableComputedRef<any> | undefined;
203
203
  changeEvent?: ((...args: any) => any) | undefined;
204
- } & import("vue").ToRefs<Pick<import("element-plus").CheckboxGroupProps, "fill" | "size" | "disabled" | "validateEvent" | "min" | "max" | "textColor">>) | undefined;
204
+ } & import("vue").ToRefs<Pick<import("element-plus").CheckboxGroupProps, "fill" | "max" | "min" | "size" | "disabled" | "validateEvent" | "textColor">>) | undefined;
205
205
  ns: {
206
206
  namespace: import("vue").ComputedRef<string>;
207
207
  b: (blockSuffix?: string | undefined) => string;
@@ -1,4 +1,46 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<string | number, (_: {}) => any>>>;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ placeholder: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ startPlaceholder: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ endPlaceholder: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ hasRangeSwitchBtn: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click-left" | "click-right")[], "click-left" | "click-right", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ placeholder: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ startPlaceholder: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ endPlaceholder: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ hasRangeSwitchBtn: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ }>> & {
36
+ "onClick-left"?: ((...args: any[]) => any) | undefined;
37
+ "onClick-right"?: ((...args: any[]) => any) | undefined;
38
+ }, {
39
+ placeholder: string;
40
+ startPlaceholder: string;
41
+ endPlaceholder: string;
42
+ hasRangeSwitchBtn: boolean;
43
+ }, {}>, Partial<Record<string | number, (_: {}) => any>>>;
2
44
  export default _default;
3
45
  declare type __VLS_WithTemplateSlots<T, S> = T & {
4
46
  new (): {
@@ -25,6 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
25
25
  bodyScroll: boolean;
26
26
  }, {}>, {
27
27
  default?(_: {}): any;
28
+ footer?(_: {}): any;
28
29
  }>;
29
30
  export default _default;
30
31
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import { Component, PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  type: {
4
- type: PropType<"" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed">;
4
+ type: PropType<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed">;
5
5
  validator: (value: string) => boolean;
6
6
  default: string;
7
7
  };
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
29
29
  };
30
30
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
31
31
  type: {
32
- type: PropType<"" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed">;
32
+ type: PropType<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed">;
33
33
  validator: (value: string) => boolean;
34
34
  default: string;
35
35
  };
@@ -57,7 +57,7 @@ declare const _default: import("vue").DefineComponent<{
57
57
  };
58
58
  }>>, {
59
59
  link: boolean;
60
- type: "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed";
60
+ type: "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed";
61
61
  options: {
62
62
  name: string;
63
63
  command: string | number | object;
@@ -0,0 +1,42 @@
1
+ import { PropType, Component } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ value: {
4
+ type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
5
+ default: string;
6
+ };
7
+ className: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ avatar: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ defaultValue: {
16
+ type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
17
+ default: string;
18
+ };
19
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ value: {
21
+ type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
22
+ default: string;
23
+ };
24
+ className: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ avatar: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ defaultValue: {
33
+ type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
34
+ default: string;
35
+ };
36
+ }>>, {
37
+ defaultValue: string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
38
+ value: string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
39
+ className: string;
40
+ avatar: string;
41
+ }, {}>;
42
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import MxEllipsisSpan from './MxEllipsisSpan.vue';
2
+ declare module 'vue' {
3
+ interface GlobalComponents {
4
+ MxEllipsisSpan: typeof MxEllipsisSpan;
5
+ }
6
+ }
7
+ export default MxEllipsisSpan;
@@ -0,0 +1,7 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<string | number, (_: {}) => any>>>;
2
+ export default _default;
3
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
4
+ new (): {
5
+ $slots: S;
6
+ };
7
+ };
@@ -0,0 +1,7 @@
1
+ import MxEmpty from './MxEmpty.vue';
2
+ declare module 'vue' {
3
+ interface GlobalComponents {
4
+ MxEmpty: typeof MxEmpty;
5
+ }
6
+ }
7
+ export default MxEmpty;
@@ -21,7 +21,12 @@ import MxDatePicker from './datePicker';
21
21
  import MxTimePicker from './timePicker';
22
22
  import MxTree from './tree';
23
23
  import MxTreeSelect from './treeselect';
24
- export { MxInput, MxButton, MxSwitch, MxSelect, MxOption, MxOptionGroup, MxRadio, MxCheckbox, MxCheckboxButton, MxCheckboxGroup, SwitchStaff, HeadNavigation, SiderMenu, UserContent, SystemContent, BreadCrumb, BasicLayout, AuthorizedPermission, usePermission, useStaffTitle, useIntegratedAuthorityList, MxTooltip, MxDropdown, MxDialog, MxSlider, MxDatePicker, MxTimePicker, MxTree, MxTreeSelect, };
24
+ import MxUpload from './upload';
25
+ import MxEllipsisSpan from './ellipsisSpan';
26
+ import MxEmpty from './empty';
27
+ import MxSteps, { MxStep } from './steps';
28
+ import MxTag from './tag';
29
+ export { MxInput, MxButton, MxSwitch, MxSelect, MxOption, MxOptionGroup, MxRadio, MxCheckbox, MxCheckboxButton, MxCheckboxGroup, SwitchStaff, HeadNavigation, SiderMenu, UserContent, SystemContent, BreadCrumb, BasicLayout, AuthorizedPermission, usePermission, useStaffTitle, useIntegratedAuthorityList, MxTooltip, MxDropdown, MxDialog, MxSlider, MxDatePicker, MxTimePicker, MxTree, MxTreeSelect, MxUpload, MxEllipsisSpan, MxEmpty, MxSteps, MxStep, MxTag, };
25
30
  declare const _default: {
26
31
  install: any;
27
32
  };
@@ -7,6 +7,7 @@ interface Props {
7
7
  cancelButtonText?: string;
8
8
  closeOnClickModal?: boolean;
9
9
  onVanish: () => void;
10
+ close: () => void;
10
11
  }
11
12
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
13
  showCancelButton: boolean;
@@ -2,8 +2,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  readonly title: StringConstructor;
3
3
  readonly confirmButtonText: StringConstructor;
4
4
  readonly cancelButtonText: StringConstructor;
5
- readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
6
- readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger", unknown, "text", boolean>;
5
+ readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "primary", boolean>;
6
+ readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "text", boolean>;
7
7
  readonly icon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, boolean>;
8
8
  readonly iconColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>;
9
9
  readonly hideIcon: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -18,8 +18,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
18
  readonly title: StringConstructor;
19
19
  readonly confirmButtonText: StringConstructor;
20
20
  readonly cancelButtonText: StringConstructor;
21
- readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
22
- readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger", unknown, "text", boolean>;
21
+ readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "primary", boolean>;
22
+ readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "text", boolean>;
23
23
  readonly icon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, boolean>;
24
24
  readonly iconColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>;
25
25
  readonly hideIcon: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -31,15 +31,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
31
31
  onConfirm?: ((e: MouseEvent) => any) | undefined;
32
32
  onCancel?: ((e: MouseEvent) => any) | undefined;
33
33
  }, {
34
- readonly icon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
35
34
  readonly width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
35
+ readonly icon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
36
36
  readonly teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
37
- readonly confirmButtonType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
38
- readonly cancelButtonType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
37
+ readonly persistent: boolean;
38
+ readonly hideAfter: number;
39
+ readonly confirmButtonType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
40
+ readonly cancelButtonType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
39
41
  readonly iconColor: string;
40
42
  readonly hideIcon: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
41
- readonly hideAfter: number;
42
- readonly persistent: boolean;
43
43
  }, {}>, {
44
44
  reference?(_: {}): any;
45
45
  }>;
@@ -0,0 +1,7 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<string | number, (_: {}) => any>>>;
2
+ export default _default;
3
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
4
+ new (): {
5
+ $slots: S;
6
+ };
7
+ };
@@ -0,0 +1,29 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ size: {
4
+ type: PropType<"default" | "small">;
5
+ default: string;
6
+ };
7
+ progressDot: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ size: {
13
+ type: PropType<"default" | "small">;
14
+ default: string;
15
+ };
16
+ progressDot: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ }>>, {
21
+ size: "default" | "small";
22
+ progressDot: boolean;
23
+ }, {}>, Partial<Record<string | number, (_: {}) => any>>>;
24
+ export default _default;
25
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,99 @@
1
+ import MxSteps from './MxSteps.vue';
2
+ import Step from './MxStep.vue';
3
+ declare module 'vue' {
4
+ interface GlobalComponents {
5
+ MxSteps: typeof MxSteps;
6
+ MxStep: typeof Step;
7
+ }
8
+ }
9
+ export default MxSteps;
10
+ export declare const MxStep: {
11
+ new (...args: any[]): {
12
+ $: import("vue").ComponentInternalInstance;
13
+ $data: {};
14
+ $props: {
15
+ key?: string | number | symbol | undefined;
16
+ ref?: import("vue").VNodeRef | undefined;
17
+ ref_for?: boolean | undefined;
18
+ ref_key?: string | undefined;
19
+ onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
20
+ [key: string]: any;
21
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
22
+ [key: string]: any;
23
+ }>) => void)[] | undefined;
24
+ onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
+ [key: string]: any;
26
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
+ [key: string]: any;
28
+ }>) => void)[] | undefined;
29
+ onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
+ [key: string]: any;
31
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
32
+ [key: string]: any;
33
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
34
+ [key: string]: any;
35
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
36
+ [key: string]: any;
37
+ }>) => void)[] | undefined;
38
+ onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
+ [key: string]: any;
40
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
+ [key: string]: any;
42
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
+ [key: string]: any;
44
+ }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
+ [key: string]: any;
46
+ }>) => void)[] | undefined;
47
+ onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
+ [key: string]: any;
49
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
+ [key: string]: any;
51
+ }>) => void)[] | undefined;
52
+ onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
55
+ [key: string]: any;
56
+ }>) => void)[] | undefined;
57
+ class?: unknown;
58
+ style?: unknown;
59
+ };
60
+ $attrs: {
61
+ [x: string]: unknown;
62
+ };
63
+ $refs: {
64
+ [x: string]: unknown;
65
+ };
66
+ $slots: Readonly<{
67
+ [name: string]: import("vue").Slot<any> | undefined;
68
+ }>;
69
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
70
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
71
+ $emit: (event: string, ...args: any[]) => void;
72
+ $el: any;
73
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
74
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
75
+ created?: ((() => void) | (() => void)[]) | undefined;
76
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
77
+ mounted?: ((() => void) | (() => void)[]) | undefined;
78
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
79
+ updated?: ((() => void) | (() => void)[]) | undefined;
80
+ activated?: ((() => void) | (() => void)[]) | undefined;
81
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
82
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
83
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
84
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
85
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
86
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
87
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
88
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
89
+ };
90
+ $forceUpdate: () => void;
91
+ $nextTick: typeof import("vue").nextTick;
92
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
93
+ } & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
94
+ __isFragment?: undefined;
95
+ __isTeleport?: undefined;
96
+ __isSuspense?: undefined;
97
+ } & 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
+ $slots: Partial<Record<string | number, (_: {}) => any>>;
99
+ });
@@ -0,0 +1,40 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ type: {
4
+ type: PropType<"" | "info" | "success" | "warning" | "primary" | "danger" | "dashed" | "invalid">;
5
+ validator: (value: string) => boolean;
6
+ default: string;
7
+ };
8
+ disabled: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ color: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ type: {
18
+ type: PropType<"" | "info" | "success" | "warning" | "primary" | "danger" | "dashed" | "invalid">;
19
+ validator: (value: string) => boolean;
20
+ default: string;
21
+ };
22
+ disabled: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ color: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ }>>, {
31
+ color: string;
32
+ type: "" | "info" | "success" | "warning" | "primary" | "danger" | "dashed" | "invalid";
33
+ disabled: boolean;
34
+ }, {}>, Partial<Record<string | number, (_: {}) => any>>>;
35
+ export default _default;
36
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1,7 @@
1
+ import MxTag from './MxTag.vue';
2
+ declare module 'vue' {
3
+ interface GlobalComponents {
4
+ MxTag: typeof MxTag;
5
+ }
6
+ }
7
+ export default MxTag;
@@ -1,4 +1,46 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<string | number, (_: {}) => any>>>;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ placeholder: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ startPlaceholder: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ endPlaceholder: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ hasRangeSwitchBtn: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click-left" | "click-right")[], "click-left" | "click-right", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ placeholder: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ startPlaceholder: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ endPlaceholder: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ hasRangeSwitchBtn: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ }>> & {
36
+ "onClick-left"?: ((...args: any[]) => any) | undefined;
37
+ "onClick-right"?: ((...args: any[]) => any) | undefined;
38
+ }, {
39
+ placeholder: string;
40
+ startPlaceholder: string;
41
+ endPlaceholder: string;
42
+ hasRangeSwitchBtn: boolean;
43
+ }, {}>, Partial<Record<string | number, (_: {}) => any>>>;
2
44
  export default _default;
3
45
  declare type __VLS_WithTemplateSlots<T, S> = T & {
4
46
  new (): {