@maxtropy/v-components 0.1.10-beta.0 → 0.1.10-beta.1
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.
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
readonly title: StringConstructor;
|
|
3
|
+
readonly confirmButtonText: StringConstructor;
|
|
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>;
|
|
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
|
+
readonly iconColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>;
|
|
9
|
+
readonly hideIcon: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
10
|
+
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
11
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
12
|
+
readonly persistent: BooleanConstructor;
|
|
13
|
+
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
confirm: (e: MouseEvent) => boolean;
|
|
16
|
+
cancel: (e: MouseEvent) => boolean;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
readonly title: StringConstructor;
|
|
19
|
+
readonly confirmButtonText: StringConstructor;
|
|
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>;
|
|
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
|
+
readonly iconColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>;
|
|
25
|
+
readonly hideIcon: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
26
|
+
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
27
|
+
readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
28
|
+
readonly persistent: BooleanConstructor;
|
|
29
|
+
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 150, boolean>;
|
|
30
|
+
}>> & {
|
|
31
|
+
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
32
|
+
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
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
|
+
readonly width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
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>;
|
|
39
|
+
readonly iconColor: string;
|
|
40
|
+
readonly hideIcon: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
41
|
+
readonly hideAfter: number;
|
|
42
|
+
readonly persistent: boolean;
|
|
43
|
+
}, {}>, {
|
|
44
|
+
reference?(_: {}): any;
|
|
45
|
+
}>;
|
|
46
|
+
export default _default;
|
|
47
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { UserInfo } from '../api/user';
|
|
1
|
+
import { UserInfo, UserConfig } from '../api/user';
|
|
2
2
|
import { MenuItemProps } from '../common/entity';
|
|
3
3
|
export declare const getTenantCurrent: () => import("../common/subject").ISubjectHolder<UserInfo>;
|
|
4
4
|
export declare function refreshCurrrent(callback?: () => void): void;
|
|
5
|
-
export declare const getSystemConfig: () => import("../common/subject").ISubjectHolder<
|
|
6
|
-
export declare function useCurrent(callback?: (current?: UserInfo) => void): void;
|
|
5
|
+
export declare const getSystemConfig: () => import("../common/subject").ISubjectHolder<UserConfig | null>;
|
|
6
|
+
export declare function useCurrent(callback?: (current?: UserInfo, config?: UserConfig | null) => void): void;
|
|
7
7
|
export declare function useStaffList(callback?: (staffList?: any) => void): void;
|
|
8
8
|
export declare const getMenuCurrent: () => import("../common/subject").ISubjectHolder<MenuItemProps[]>;
|
|
9
9
|
export declare function useMenuList(callback: (menuList?: MenuItemProps[]) => void): void;
|